Detailed description of the invention
Below, will be described in detail with reference to accompanying drawings each embodiment of the present invention.
Referring now to Figure 1A, it illustrates the structural representation of the communication system according to one embodiment of the invention. As shown in Figure 1A, communication system 10 includes server 100 and client 200. Client 200 can pass through network wirelessly or non-wirelessly (such as, the Internet, mobile communications network etc.) communicate with server 100, server 100 can be connected with the production control system 500 for controlling pharmaceutical production being arranged in the sterile workshop producing medicine.
As shown in Figure 1B, server 100 includes: the upper computer software 102 of current production lot information and current formulation information for obtaining each medicine of pharmaceutical producing enterprise from the slave computer (not shown) of production control system 500, for obtaining the pharmaceutical production report messages of pharmaceutical producing enterprise from the slave computer (not shown) of production control system 500 (such as, history production capacity information, history batch information, history formula information, important manufacturing parameter trend data etc.) upper computer software 104, the upper computer software 106 of real-time production capacity information and status information of equipment for obtaining each pharmaceutical production equipment from the slave computer (not shown) of production control system 500, for obtaining the upper computer software 108 of the failure diagnosis information of each slave computer from the slave computer (not shown) of production control system 500. wherein, the failure diagnosis information of acquired pharmaceutical production report messages and each slave computer is stored in the database 150 by upper computer software 104 and upper computer software 108.
Additionally, as shown in Figure 1B, server 100 also includes the network service module 162,164,166 and 168 realized according to network service (WebService) specification. Network service is a kind of far call technology across programming language and spanning operation system platform, and it adopts HTTP (HTTP) transmit data and adopt extensible markup language (XML) form to carry out encapsulation of data. Network service module 162 for obtaining the current production lot information of medicine of pharmaceutical producing enterprise and current formulation information and be encapsulated into XML format and export by connecting for the object of process control and embed (OPC:OLEforProcessControl) agreement from upper computer software 102. Network service module 164 for obtaining the pharmaceutical production report messages of pharmaceutical producing enterprise (such as from data base 150, history production capacity information, history batch information, history formula information, important manufacturing parameter trend data etc.), utilize acquired information form report data and the report data formed is packaged into XML format exports. Network service module 166 is used for being obtained the real-time production capacity information of the pharmaceutical production equipment of production control system 500 and status information of equipment by OPC agreement from upper computer software 106 and being encapsulated into XML format exporting. Network service module 168 for obtaining the failure diagnosis information of the slave computer of production control system 500 and being encapsulated into XML format and export from data base 150.
When receiving client 200 and calling, by the HTTP expression sent, the request message that one of them network service module of network service module 162,164,166 and 168 obtains information, server 100 calls this one of them network service module and is packaged into the information of XML format to provide and is sent to client 200 by HTTP.
Client 200 can be the intelligent terminal with communication capacity that desk-top server, notebook computer, mobile phone etc. carry operating system. As shown in Figure 1 C, client 200 has application 202,204,206 and 208, and they can be the program utilizing various different programming language to realize under different software platforms.
Application 202 is for when production management personnel want current production lot information and the current formulation information consulting certain medicine of pharmaceutical producing enterprise, represent that calling network service module 162 obtains the current production lot information of this certain medicine and the request message of current formulation information by HTTP to server 100 transmission, and when being received current production lot information and the current formulation information of this certain medicine being packaged into XML format from server 100 by HTTP, the current production lot information of this certain medicine and current formulation information are removed the XML format backward production management personnel of encapsulation present.
Application 204 is for when production management personnel want the pharmaceutical production report messages obtaining pharmaceutical producing enterprise, represent that calling network service module 164 obtains the request message of pharmaceutical production report messages by HTTP to server 100 transmission, and when being received the report data of the pharmaceutical production report messages being packaged into XML format from server 100 by HTTP, this report data is removed XML format and encapsulates backward production management personnel and present.
Application 206 is for when equipment management personnel or production management personnel want real-time production capacity information and the status information of equipment obtaining certain the pharmaceutical production equipment in production control system 500, represent that calling network service module 166 obtains the real-time production capacity information of this certain pharmaceutical production equipment and the request message of status information of equipment by HTTP to server 100 transmission, and when being received real-time production capacity information and the status information of equipment of this certain the pharmaceutical production equipment being packaged into XML format from server 100 by HTTP, removed the XML format backward equipment management personnel of encapsulation or production management personnel are presented.
Application 208 is for when equipment management personnel or equipment manufacturer's service engineer want the failure diagnosis information obtaining certain slave computer in production control system 500, send expression by HTTP to server 100 and call the request message that network service module 168 obtains the failure diagnosis information of this certain slave computer, and when being received the failure diagnosis information of this certain slave computer being packaged into XML format from server 100 by HTTP, removed XML format and encapsulate backward equipment management personnel or equipment manufacturer's service engineer presents.
Referring now to Fig. 2, it illustrates the flow chart of the communication means according to one embodiment of the invention. Below in conjunction with Figure 1A-1C, the method shown in Fig. 2 is described.
As shown in Figure 2, in step S200, when production management personnel want current production lot information and the current formulation information of certain medicine of acquisition pharmaceutical producing enterprise, production management personnel want the pharmaceutical production report messages obtaining pharmaceutical producing enterprise, equipment management personnel or production management personnel want the real-time production capacity information and the status information of equipment that obtain certain the pharmaceutical production equipment in the production control system 500 of pharmaceutical producing enterprise, or when equipment management personnel or equipment manufacturer's service engineer want the failure diagnosis information obtaining certain slave computer in the production control system 500 of pharmaceutical producing enterprise, the application 202 of client 200, 204, respective application T in 206 and 208 sends the network service module 162 representing invoking server 100 by HTTP to server 100, 164, corresponding network service module K in 166 and 168 obtains the request message of information.
Specifically, if production management personnel want the current production lot information and the current formulation information that obtain certain medicine of pharmaceutical producing enterprise, then the application 202 of client 200 sends, to server 100, the network service module 162 represented in invoking server 100 by HTTP and obtains the current production lot information of this certain medicine and the request message of current formulation information; If production management personnel want the pharmaceutical production report messages obtaining pharmaceutical producing enterprise, then the application 204 in client 200 sends the request message representing that the network service module 164 of invoking server 100 obtains pharmaceutical production report messages by HTTP to server 100; If equipment management personnel or production management personnel want the real-time production capacity information and the status information of equipment that obtain certain the pharmaceutical production equipment in the production control system 500 of pharmaceutical producing enterprise, then the application 206 in client 200 sends, to server 100, the network service module 166 represented in invoking server 100 by HTTP and obtains the real-time production capacity information of this certain pharmaceutical production equipment and the request message of status information of equipment; And, if equipment management personnel or equipment manufacturer's service engineer want the failure diagnosis information obtaining certain slave computer in the production control system 500 of pharmaceutical producing enterprise, then the application 208 in client 200 sends, to server 100, the request message that the network service module 168 represented in invoking server 100 obtains the failure diagnosis information of this certain slave computer by HTTP.
In step S204, server 100 receives expression by HTTP from client 200 and calls the request message of network service module K acquisition corresponding information.
In step S208, server 100 calls network service module K and provides the corresponding information being packaged into XML format.
Specifically, if received request message indicates that the request message of the current production lot information and current formulation information to obtain certain medicine of the network service module 162 in invoking server 100, then server 100 calls network service module 162 and provides current production lot information and the current formulation information of this certain medicine being packaged into XML format; If received request message indicates that the network service module 164 in invoking server 100 is to obtain the request message of pharmaceutical production report messages, then server 100 calls network service module 164 and provides the report data of the pharmaceutical production report messages being packaged into XML format; If received request message indicates that the request message of the real-time production capacity information and status information of equipment to obtain certain the pharmaceutical production equipment in production control system 500 of the network service module 166 in invoking server 100, then server 100 calls network service module 166 and provides real-time production capacity information and the status information of equipment of this certain the pharmaceutical production equipment being packaged into XML format; And, if received request message indicates that the network service module 168 in invoking server 100 is to obtain the request message of the failure diagnosis information of certain slave computer in production control system 500, then server 100 calls network service module 168 and provides the failure diagnosis information of this certain slave computer being packaged into XML format.
In step S212, server 100 sends the network service module K information being packaged into XML format provided by HTTP to client 200.
In step S216, after receiving, from server 100, the information being packaged into XML format by HTTP, the application T in client 200 removes the XML format encapsulation of the information received.
Application T in step S220, client 200 presents the information removing XML format encapsulation to production management personnel, equipment management personnel or equipment manufacturer's service engineer.
Can be seen that from the description above, owing to embodiments of the invention adopt server-client architecture to production management personnel, equipment management personnel provides the information relevant to pharmaceutical production with equipment manufacturer's service engineer, that is: server includes the network service module for providing the information relevant to pharmaceutical production, production management personnel, equipment management personnel utilizes with equipment manufacturer's service engineer client to be connected to server by network and obtains the information relevant to pharmaceutical production from network service module, therefore, production management personnel, equipment management personnel need not enter the sterile workshop producing medicine and not affect normal production of medicine and just can use or consult the information relevant to pharmaceutical production with equipment manufacturer's service engineer.
In addition, the network service module being used for providing the information relevant to pharmaceutical production included by server realizes according to web service specifications, therefore, in client, the application for obtaining the information relevant to pharmaceutical production from the network service module of server can utilize any programming language to realize under any software platform, this allow to cross-platform with across programming language to provide the application of information relevant to pharmaceutical production for the network service module acquisition from server in client.
Other modification
Skilled artisan would appreciate that, although in the above embodiments, network service module 162 and 166 directly obtains the current production lot information of medicine and the real-time production capacity information of current formulation information and pharmaceutical production equipment and status information of equipment respectively by OPC agreement from upper computer software 102 and 106, but, the invention is not limited in this. in some other embodiment of the present invention, can also be: upper computer software 102 obtains the current production lot information of medicine and current formulation information and is stored in file W1, upper computer software 106 obtains the real-time production capacity information of pharmaceutical production equipment and status information of equipment and is stored in file W2, then, network service module 162 obtains the current production lot information of medicine and current formulation information from file W1 and is encapsulated into XML format and exports when called upon, and, network service module 166 obtains the real-time production capacity information of pharmaceutical production equipment and status information of equipment from file W2 and is encapsulated into XML format and exports when called upon.
Although it will be appreciated by those skilled in the art that in the above embodiments, network service module 162,164,166,168 and upper computer software 102,104,106,108 all include in same server 100, but, the invention is not limited in this. In some other embodiment of the present invention, network service module 162,164,166,168 can also lay respectively in different servers from upper computer software 102,104,106,108.
Although it will be appreciated by those skilled in the art that in the above embodiments, each of network service module 164 and 168 is only connected to obtain required information with a data base 150, but, the invention is not limited in this. In some other embodiment of the present invention, if each required information of network service module 164 and 168 is stored in multiple data base, then each of network service module 164 and 168 can also be connected to obtain required information with multiple data bases.
Although it will be appreciated by those skilled in the art that in the above embodiments, network service module 162 with 166 each only communicate to obtain required information with a upper computer software, but, the invention is not limited in this. In some other embodiment of the present invention, if network service module 162 and 166 each required information need provided by multiple upper computer softwares, then network service module 164 with 168 each can also communicate to obtain required information with multiple upper computer softwares.
It will be appreciated by those skilled in the art that to guarantee data security, it is possible to adopt various safety measure to guarantee the secure communication between client 200 and server 100. Such as, can can from before server 100 acquisition information in client 200, first client 200 needs to utilize VPN (virtual private network) (VPN:VirtualPrivateNetwork) account to log on server 100, and then the communication between client 200 and server 100 needs to be transmitted based on VPN agreement.
Skilled artisan would appreciate that, although in the above embodiments, each of the failure diagnosis information these four information of the current production lot information of medicine and current formulation information, pharmaceutical production report messages, the real-time production capacity information of pharmaceutical production equipment and status information of equipment and slave computer is obtained by one of them upper computer software (upper computer software 102, upper computer software 104, upper computer software 106 or upper computer software 108), but, the invention is not limited in this. In some other embodiment of the present invention, these four information can also only be obtained by a upper computer software. That is, the function of upper computer software 102, upper computer software 104, upper computer software 106 and these four upper computer softwares of upper computer software 108 realizes in a upper computer software.
Skilled artisan would appreciate that, although in the above embodiments, the information relevant to medicine manufacture is the failure diagnosis information these four information of the current production lot information of medicine and current formulation information, pharmaceutical production report messages, the real-time production capacity information of pharmaceutical production equipment and status information of equipment and slave computer, and server 100 correspondingly includes four network service module 162,164,166,168 for providing these four information, but, the invention is not limited in this. In some other embodiment of the present invention, the information relevant to medicine manufacture can also be the one of which of above four kinds of information, two or three; Or, the information relevant to medicine manufacture can also be in addition to other type of relevant with the medicine manufacture information outside above four kinds of information; Or, the information relevant to medicine manufacture includes the information that at least one and at least one other type of and medicine manufacture in above four kinds of information is relevant. Correspondingly, server 100 includes at least one network service module, and each network service module provides the information that the one of which being packaged into XML format is relevant to medicine manufacture.
Although it will be appreciated by those skilled in the art that in the above embodiments, the information relevant to medicine manufacture only is undertaken consulting and using by production management personnel, equipment management personnel and equipment manufacturer's service engineer, but, the invention is not limited in this. In some other embodiment of the present invention, the information relevant to medicine manufacture can consult and use the information relevant with medicine manufacture anyone uses and consults by being licensed.
Referring now to Fig. 3, it illustrates the schematic diagram of the communicator according to this one embodiment of the invention. Communicator shown in Fig. 3 may be mounted in server 100, and can be realized by software mode.
As it is shown on figure 3, communicator 300 includes at least one according to the network service module 310 of web service specifications realization and controls module 320. Each network service module in this at least one network service module 310 is packaged into the different information relevant from pharmaceutical production of expandable mark language XML form for providing. Control module 320 for when communicator 300 is received from client 200 by HTTP and to represent request message that the appointment network service module called this at least one network service module 310 obtains information, call this appointment network service module to provide the information being packaged into described XML format, and by HTTP, the information being packaged into described XML format that this appointment network service module provides is sent to client 200.
Wherein, the one or more network service module in this at least one network service module 310 are configured to: obtain the information relevant to pharmaceutical production from data base or file, and are encapsulated into XML format and export.
Wherein, the one or more network service module in this at least one network service module 310 are configured to: obtain the information relevant to pharmaceutical production from other software by OPC agreement, and are encapsulated into XML format and export.
Referring now to Fig. 4, it illustrates the schematic diagram of the server according to this one embodiment of the invention. As shown in Figure 4, server 400 includes memorizer 410 and the processor 420 that can couple with memorizer 410, and wherein, memorizer 410 is for performing to control the operation that module 320 performs.
Embodiments of the invention also provide for a kind of machine readable media, and it has executable instruction, make machine perform the operation performed by processor 420 when this executable instruction is performed.
Although describing the present invention above with reference to specific embodiment, but the scope of the present invention being not limited to details herein shown. When not necessarily departing from the ultimate principle of the present invention, can making various amendment for these details, these amendments are all within the scope of the present invention.