Summary of the invention
Problem and shortage at prior art exists the object of the present invention is to provide a kind of radiation image networked coordination check system and its implementation.It can realize that the multi-user carries out synchronously or the asynchronous cooperation operation a width of cloth suspicion image simultaneously, and can transform existing application software easily, has good versatility and dirigibility.
In order to realize the foregoing invention purpose, technical scheme of the present invention realizes as follows:
Radiation image networked coordination check system, its design feature are, comprise that one is equipped with the main Investigation server of server application and the inspection terminal that Duo Tai is equipped with client applications, Client Agent software.Described main Investigation server is by synchronous and the asynchronous operation and the solicited message of each inspection terminal of network regulation, and itself also can be used as the inspection terminal described main Investigation server.The collaborative work engine is formed in Client Agent storehouse on main Investigation server and the distributed inspection terminal, and the collaborative work engine provides the necessary network information transmission of collaborative work and guarantees the logic flow decision-making of inspection information correctness.During collaborative the inspection, carry out initialization earlier, send the request of initiation to main Investigation server by the inspection terminal of initiating the user.Main Investigation server sends information to relevant inspection terminal, confirms that the back sends inspection primary data information by the initiation user to main Investigation server and begins inspection work.
The operational mode of above-mentioned client applications, Client Agent software is that compact set becomes the mode or the application model of hierarchy.
The implementation method of radiation image networked coordination check system the steps include: 1) main Investigation server and the initialization of helping to examine end application; 2) client applications of inspection terminal sends the request of initiation by calling the Client Agent storehouse to main Investigation server; 3) after main Investigation server receives that request is initiated in inspection, send message request to relevant inspection terminal user, and wait for inspection terminal user's affirmation; 4) when each inspection terminal user passes the affirmation of oneself back in official hour after, main Investigation server is effectively helped to examine the terminal user to all and is sent the affirmation message that inspection is set up.Initiate the user after receiving acknowledge message, beginning sends inspection primary data information to server.After effective inspection terminal user returned confirmation, main Investigation server began to help to examine initial work; 5) main Investigation server transmits inspection task information to effective inspection terminal user, selects different Network Transmission modes according to inspection terminal user's quantity with the network distribution mode; 6) inspection is carried out.
The described Network Transmission mode of the step 5) of above-mentioned implementation method comprises multicast and clean culture.Step 6) in the above-mentioned implementation method comprises the steps: 1) classification of inspection operation; 2) transmission of inspection operation; 3) decision-making of inspection operation; 4) execution of inspection operation.
Because main Investigation server of the present invention is regulated and control synchronous and the asynchronous operation and the solicited message of each inspection terminal, each inspection terminal user can carry out synchronously or asynchronous operation a width of cloth suspicion image simultaneously by main Investigation server, in checking process, can have new user to add at any time, system can provide user authority management.And the outer user of inspection group can inquire about inspection progress and result at any time.And consider transformation, will realize that crew-served protocol engine has carried out independent design, carry out organically integratedly, improved the versatility of system with the image check system to other application software.
Embodiment
Referring to Fig. 1, radiation image networked coordination check system comprises that one is equipped with the main Investigation server 1 of server application and the inspection terminal 2 that Duo Tai is equipped with client applications, Client Agent software.Described main Investigation server 1 is by synchronous and the asynchronous operation and the solicited message of each inspection terminal 2 of network regulation, and described main Investigation server 1 itself also can be used as inspection terminal 2.The communication mechanism of client applications and main Investigation server 1 is provided by the Client Agent storehouse.The collaborative work engine is formed in Client Agent storehouse on main Investigation server 1 and the distributed inspection terminal 2.The collaborative work engine mainly provides the necessary network information transmission of collaborative work and guarantees the logic flow decision-making of inspection information correctness.The client applications of process secondary development can exchange inspection information with main Investigation server by calling the Client Agent storehouse, for collaborative work provides master data information, and accepts the object information of collaborative work engine.
The operational mode of above-mentioned client applications, Client Agent software is that compact set becomes the mode or the application model of hierarchy.When operational mode adopts compact set to become the mode, Client Agent software offers client applications with each communication function of synergism engine in the mode in storehouse, directly realizes and help to examine the server communication by the power function that calls in the storehouse through the client applications of secondary development.When operational mode adopted the application model of hierarchy, client applications and Client Agent software program moved respectively, and client applications carries out communication by Client Agent software and main Investigation server 1.The efficient height that compact set becomes the mode, compact conformation.The application model of hierarchy can realize the flexible topology of network, and Client Agent software can operate in respectively on the different operating system platforms with client software.
Referring to Fig. 2, the implementation method of radiation image networked coordination check system, the steps include: 1) main Investigation server and the initialization of helping to examine end application, the modularity registration is adopted in Client Agent storehouse on the inspection terminal, client applications can call it in the secondary development program of oneself, and client applications is in inspection server end registrer application information; 2) client applications of inspection terminal sends the request of initiation by calling the Client Agent storehouse to main Investigation server, comprises the description of inspection task in the request, needs the necessary descriptors such as user of inviting; 3) after main Investigation server receives that request is initiated in inspection, send message request to relevant inspection terminal user, and wait for inspection terminal user's affirmation; 4) when each inspection terminal user passes the affirmation of oneself back in official hour after, main Investigation server is effectively helped to examine the terminal user to all and is sent the affirmation message that inspection is set up.Initiate the user after receiving acknowledge message, beginning sends inspection primary data information to server.After effective inspection terminal user returned confirmation, main Investigation server began to help to examine initial work; 5) main Investigation server transmits inspection task information to effective inspection terminal user, selects different Network Transmission modes according to inspection terminal user's quantity with the network distribution mode; 6) inspection is carried out.
Above-mentioned steps 5) described Network Transmission mode comprises multicast and clean culture.Multicast: can also solve the defective that broadcasting can not be striden route so that multi-user collaborative work effectively utilizes the network bandwidth.Can be so that the user collaborative working range be more extensive.Clean culture: for number of users seldom, perhaps the user applies in the middle of collaborative work is carried out adds, and can adopt mode of unicast.
Referring to Fig. 3, step 6) comprises the steps: 1 in the above-mentioned implementation method) help to examine the classification of operating: the inspection operation comprises synchronous operation and asynchronous operation.2) transmission of inspection operation: in order to guarantee to operate the reliability of transmission, because service data packet network data seldom, so adopt clean culture Tcp/Ip mode to transmit.The user who needs submit operation sends to server with the request of oneself by calling the Client Agent storehouse, and carries out different forwardings, decision process by server according to the type of inspection.3) decision-making of inspection operation: when the synchronous operation mode,, therefore at every turn can only have a valid function to carry out because each user need keep the consistance of data.When each user proposes different operations, need be according to the selection of making a strategic decision of certain mode and principle.Can adopt the user to vote or the mode of supvr decision-making.After the result of decision is come out, it is notified to validated user.4) execution of inspection operation: during the synchronous operation mode, after each effective client-side program is received the result of decision, it is carried out in this locality.During asynchronous system, the user carries out record with other users' operation information in this locality, for browse operation.In addition, the present invention also possesses following subsidiary function:
1. inspection inquiry: in the middle of inspection is carried out, the running status that the user can inquire about current each inspection by the inspection master server at any time.
2. user authority management: system can carry out registered user's management on server.And define grid data encryption information strengthens security performance when the inspection initialization.
When the present invention used, a certain user ran into the suspicion image information that the individual can't determine, when needing other people to assist, can send inspection to main Investigation server 1 by customer's representative's module and set up request, the subsidiary simultaneously user profile that needs application for help.
When the present invention uses, after inspection is set up, initiate the user and the suspicion image of this locality need be sent to the effective inspection terminal client that participates in inspection.Because differ in each inspection terminal client network node position, network environment also has nothing in common with each other, so can adopt mode that clean culture or multicast combine to realize best network performance.
When the present invention used, after the inspection initialization procedure finished, the inspection terminal user can submit the operation of oneself to.The inspection operation is divided into synchronous operation and asynchronous operation.Synchronous operation: a valid function can only be arranged at every turn, and the image information between the inspection terminal client need keep consistency.Asynchronous operation: each inspection terminal client can independently be operated target image, and other inspection terminal clients can be known the content of operation in real time, and can be with the flow process of operation in this simulation.
In the synchronous operation process, a plurality of inspection terminal clients propositions different operating separately may appear, need the negotiation of further making a strategic decision between the inspection terminal client.According to the present invention, the information of inspection terminal client distributed decision making can be provided, can adopt modes such as ballot, the appointment of high authority inspection terminal client, and good exchange mechanism is provided.
Carry out to occur in the process helping to examine terminal client in inspection because the situation that network or other reasons accident go offline.According to the present invention, main Investigation server is when receiving that not the inspection terminal client is confirmed answer or received that the inspection terminal client withdraws from the inspection request, send notice can for current effective inspection terminal client, each inspection terminal client can upgrade present inspection user state information.
In the inspection process, other inspection terminal clients may be had and existing inspection information need be inquired about, according to the present invention, because each inspection client all needs main Investigation server to regulate and control coordination, so relevant information can be inquired about by main Investigation server.
In the inspection process, may have other inspection terminal client applications and add an existing inspection, according to the present invention, new inspection terminal client can be to the main Investigation server application, after obtaining the positive response of current validated user, to help to examine initialization information and current inspection running status by main Investigation server and send to new adding inspection terminal client, each effectively helps to examine terminal client also can upgrade current inspection terminal client status information.After new inspection terminal client adition process finished, inspection can be proceeded.
In the inspection process, may be because certain situation, the inspection terminal client that has needs to help to examine synchronously again initialization information or inspection status information, according to the present invention, the inspection terminal client of application inspection can send request to main Investigation server, after the affirmation that obtains current effective inspection terminal client, effectively help to examine terminal client by main Investigation server to other by application inspection terminal client and send initialization information and inspection status information.The inspection foundation and the initialization procedure of this function front are similar a bit.