Embodiment
Method first embodiment
Fig. 1 is the flow chart of electronic medical information processing method first embodiment of the present invention.As shown in Figure 1, the method for present embodiment comprises:
User ID is obtained in the identification from the medical information migration request that first data center of subordinate sends of step 101, the first intermediate data center;
Step 102, judge in the first intermediate overall identification tabulation be stored in the first intermediate data center whether have described user ID, if exist, then execution in step 104, otherwise execution in step 103;
Step 103, the first intermediate data center send to higher level data center with this medical information migration request;
Step 104, the first intermediate data center obtain corresponding medical information from second data center of subordinate corresponding with described user ID;
Step 105, the first intermediate data center send to first data center of subordinate with this medical information.
The method that present embodiment provides can realize sharing of medical information between the hospital.Specifically, the patient of each prescription on individual diagnosis has unique user ID that registration is obtained in first data center of subordinate or second data center of subordinate.This data center of first subordinate can be regarded as the data center that prefecture-level hospitals different under the same province safeguards with second data center of subordinate.When the doctor checks the medical information corresponding with a certain prescription on individual diagnosis patient in first data center of subordinate, do not find corresponding user ID, promptly this patient did not register in first data center of subordinate, so first data center of subordinate will send to the medical information migration request of carrying this user ID the first intermediate data center.
This first intermediate data center can be considered to be the data center that provincial hospital is safeguarded, has wherein stored all patients' that registered in first data center of subordinate that is under the jurisdiction of this first intermediate data center and second data center of subordinate user ID.As required, the first intermediate data center can also connect the data center of more subordinates except first data center of subordinate and second data center of subordinate down.
This first intermediate data center discerns from this medical information migration request and obtains this user ID, tabulate according to the first intermediate overall identification that this user ID inquiry is stored in this first intermediate data center, judge in this first intermediate overall identification tabulation whether have this user ID.If exist, then the first intermediate data center can judge this user ID according to this user ID and belongs to second data center of subordinate, can obtain corresponding medical information from this data center of second subordinate, and the medical information that gets access to is fed back to first data center of subordinate; If there is no, illustrate that then this user ID do not register in this first intermediate data center, then this first intermediate data center medical information migration request that just will carry this user ID sends to higher level data center.This higher level data center can be regarded as the data center that national hospital safeguards, has wherein stored the data center that is included in each provincial hospital, i.e. all user ID of registering in the first intermediate data center or the how intermediate data center.Therefore, by asking this higher level data center can assist this first intermediate data center to obtain the medical information corresponding with this user ID from other data centers.
When present embodiment does not inquire the medical information corresponding with user ID in first data center of subordinate, ask the first intermediate data center to assist to obtain corresponding medical information, and the first intermediate data center can transfer corresponding medical information according to user ID from second data center of subordinate, and the medical information that obtains fed back to first data center of subordinate, in first data center of subordinate, do not store under the situation of this user ID, this first intermediate data center can also ask more senior, the higher level data center that has stored the more users sign obtains corresponding medical information, thereby has realized the shared of medical information between other data centers in first data center of subordinate and the network; All user ID of in first data center of subordinate and second data center of subordinate, registering have been stored in this first intermediate data center, therefore can dispatch the medical information that is stored in the medical information in first data center of subordinate and be stored in second data center of subordinate, also can ask the higher level center that the medical information that is stored in other data centers is dispatched, thereby realize the exchange of medical information and the unified monitoring of medical information and the function of management.
Method second embodiment
Fig. 2 is the flow chart of electronic medical information processing method second embodiment of the present invention.As shown in Figure 2, present embodiment, may further include before execution in step 101 based on electronic medical information processing method first embodiment of the present invention:
Step 106, the inquiry of first data center of subordinate be first subordinate overall identification tabulation of storage wherein;
Step 107, judge in overall identification tabulation of this first subordinate whether have the user ID that receives;
If exist, then execution in step 108, otherwise execution in step 109;
Step 108, first data center of subordinate extract corresponding medical information;
The medical information migration request that user ID will be carried by step 109, first data center of subordinate sends to the first intermediate data center.
Specifically, first data center of subordinate within it portion can safeguard one first subordinate overall identification tabulation.Can be stored in the whole patients' that registered in this data center of first subordinate user ID in this first subordinate overall identification tabulation.
In actual applications, when the patient removes this data center of first subordinate place hospital admission, the user ID that can show him, whether first data center of subordinate can this patient's of inquiry user ID exist in this first subordinate overall identification tabulation, promptly whether this user ID was registered in this data center of first subordinate, if exist, then first data center of subordinate need not ask the first intermediate data center can directly obtain the medical information corresponding with this patient; If there is no, then this data center of first subordinate inquiry just needs the request first intermediate data center to assist to obtain corresponding medical information less than this patient's medical information.
In addition, before execution in step 104, can also comprise:
Step 110, second data center of subordinate extract the medical information corresponding with user ID, send this medical information to the first intermediate data center, and tabulate according to second subordinate's overall identification that user ID updates stored in second data center of subordinate.
Specifically, second data center of subordinate is after the medical information migration request that receives the transmission of the first intermediate data center, can from this medical information migration request, obtain the user ID of the medical information that will extract, and extract corresponding medical information, and this medical information is sent to the first intermediate data center according to this user ID.Simultaneously, this data center of second subordinate also wants updated stored second subordinate overall identification tabulation therein.Stored the user ID of in second data center of subordinate, registering in this second subordinate overall identification tabulation, after the pairing medical information of handle and user ID extracts away, second data center of subordinate will be with this user ID deletion from this second subordinate overall identification tabulation, and promptly user ID and corresponding medical information are moved out from this data center of second subordinate.
Further, before execution in step 105, can also comprise:
Step 111, the first intermediate data center upgrade the first intermediate overall identification tabulation according to user ID;
Step 112, send the first intermediate backup information, so that the first intermediate Backup Data center is stored in this first intermediate Backup Data in the heart the first middle rank backup overall identification tabulation according to the first intermediate overall identification list update after upgrading to the first intermediate Backup Data center.
Specifically, this first intermediate data center has also safeguarded the first intermediate overall identification tabulation therein, stored the user ID of registering in connected all data centers of subordinate in this first intermediate overall identification tabulation, data center of connected here subordinate is first data center of subordinate and second data center of subordinate.When medical information when second data center of subordinate moves to first data center of subordinate by the first intermediate data center, the first intermediate data center need upgrade the relative users sign of storage in its first intermediate overall identification tabulation according to this user ID, and the medical information corresponding with this user ID moved in first data center of subordinate to upgrade in time.
In addition, the first intermediate data center also will carry out back-up processing in the heart with the first intermediate overall identification tabulation after upgrading in the first intermediate Backup Data, promptly send the first intermediate backup information to the first intermediate Backup Data center.This first intermediate Backup Data center replaces the function of this first intermediate data center in the time of can breaking down in the first intermediate data center.Therefore, first of the storage intermediate backup overall identification tabulation in the heart can be synchronous with the first intermediate overall identification tabulation in the first intermediate data center according to the first intermediate backup information that receives in this first intermediate Backup Data.
Need to prove that above-mentioned steps 111 and step 112 also can be carried out after step 105.
In the present embodiment, first data center of subordinate can judge by first subordinate overall identification tabulation of inquiring about its maintenance whether user ID is registered, if there is not registration can also ask the first intermediate data center to assist to obtain the medical information corresponding with this user ID; When second data center of subordinate after the first intermediate data center provides the medical information corresponding with requesting users sign, second data center of subordinate need upgrade the overall identification tabulation of second subordinate, the first intermediate data center also will upgrade the first intermediate overall identification tabulation according to this user ID, thereby after finishing the scheduling operation of medical information, realize the renewal of user ID ownership place; In addition, the first intermediate data center also will be according in the heart the first middle rank backup overall identification tabulation in the first intermediate overall identification list update first intermediate Backup Data after upgrading, guarantee when there is fault in the first intermediate data center with this, the first intermediate Backup Data center can substitute the first intermediate data center and finish its function, thus the stability of safeguards system.
Method the 3rd embodiment
Fig. 3 is the flow chart of electronic medical information processing method the 3rd embodiment of the present invention.As shown in Figure 3, present embodiment, can also comprise after execution of step 105 based on electronic medical information processing method first embodiment of the present invention:
Step 113, higher level data center discern from medical information transfer request and obtain user ID, determine the address information of the second intermediate data center corresponding, the medical information migration request is sent to the second intermediate data center according to this address information with this user ID;
Higher level data center can be connected with a plurality of intermediate data centers, and the data center that promptly national hospital safeguards can be connected with the data center that a plurality of provincial hospitals are safeguarded.It is the second intermediate data center in a plurality of intermediate data centers that higher level data center can determine corresponding with this user ID according to the user ID in the medical information migration request, and according to the address information of this second intermediate data center this medical information migration request is sent to the second intermediate data center.
Step 114, the second intermediate data center discern from medical information transfer request and obtain user ID, and this medical information migration request is sent to the three subordinate data center corresponding with this user ID;
The medical information migration request can further be handed down to the 3rd corresponding data center of subordinate in the second intermediate data center.
Step 115, the 3rd data center of subordinate discern from medical information transfer request and obtain user ID, extract the medical information corresponding with user ID, send this medical information to the second intermediate data center, and tabulate according to the 3rd subordinate's overall identification that this user ID updates stored in the 3rd data center of subordinate;
All user ID of in the 3rd data center of subordinate, registering have been stored in the overall identification tabulation of the 3rd subordinate, after the 3rd data center of subordinate handle and the pairing medical information of user ID send to the second intermediate data center, the 3rd data center of subordinate will be with this user ID deletion from the overall identification tabulation of the 3rd subordinate, and promptly user ID and corresponding medical information are moved out from this data center of second subordinate.
Step 116, the second intermediate data center tabulate according to the second intermediate overall identification that user ID is upgraded wherein storage, send the second intermediate backup information to the second intermediate Backup Data center, and medical information is sent to higher level data center;
This second intermediate Backup Data center can make the second intermediate Backup Data center be stored in the second intermediate Backup Data in the heart the second middle rank backup overall identification tabulation according to the second intermediate overall identification list update after upgrading, thus realize in the middle of the second intermediate overall identification tabulation and the second middle rank backup overall identification tabulation synchronously.
Need to prove, the second intermediate data center upgrades the second intermediate overall identification tabulation of wherein storage, and sending the step of the second intermediate backup information can not have sequencing with the step that medical information is sent to higher level data center to the second intermediate Backup Data center on execution sequence.
Step 117, higher level data center tabulate according to higher level's overall identification that user ID is upgraded wherein storage, send higher level's backup information to higher level's Backup Data center, and medical information is sent to the first intermediate data center;
This higher level's backup information can make higher level's Backup Data center back up the overall identification tabulation according to the higher level that the higher level's overall identification list update after upgrading is stored in higher level's Backup Data in the heart, thereby realizes that tabulation of higher level's overall identification and higher level back up synchronous between the overall identification tabulation.
Need to prove, higher level data center tabulates according to higher level's overall identification that user ID is upgraded wherein storage, and sending the step of higher level's backup information can not have sequencing with the step that medical information is sent to the first intermediate data center to higher level's Backup Data center on execution sequence.
Step 118, the first intermediate data center tabulate according to the first intermediate overall identification that this user ID is upgraded wherein storage, send the first intermediate backup information to the first intermediate Backup Data center, and this medical information is sent to first data center of subordinate;
The first intermediate backup information can make the first intermediate Backup Data center be stored in the first intermediate Backup Data in the heart the first middle rank backup overall identification tabulation according to the first intermediate overall identification list update after upgrading, thereby realizes synchronous between the first intermediate overall identification tabulation and the first middle rank backup overall identification tabulation.
Need to prove, the first intermediate data center tabulates according to the first intermediate overall identification that this user ID is upgraded wherein storage, and sending the step of the first intermediate backup information can not have sequencing with the step that this medical information is sent to first data center of subordinate to the first intermediate Backup Data center on execution sequence.
Step 119, first data center of subordinate receive this medical information, and upgrade the overall identification tabulation of first subordinate according to this user ID.
Upgrade the overall identification tabulation of first subordinate according to this user ID after, represent that promptly the pairing medical information of this user ID has been moved in first data center of subordinate.
In the present embodiment, higher level data center can determine the second corresponding intermediate data center according to user ID, and the second intermediate data center can obtain medical information and send to higher level data center from the 3rd data center of subordinate of correspondence; Higher level data center feeds back to the medical information that gets access to the first intermediate data center that sends the medical information migration request again, and the first intermediate data center is transmitted to this medical information first data center of subordinate again, finishes the migration of medical information with this; Be sent in the process of first data center of subordinate by the 3rd data center of subordinate, the second intermediate data center, higher level data center and first this path of intermediate data center at medical information, every through a data center, current data center all will safeguard the overall identification tabulation of wherein storage according to user ID, thus the current attaching information of the medical information corresponding that upgraded in time with this user ID; In addition, the first intermediate data center, the second intermediate data center and higher level data center send backup information to the data backup center corresponding with it respectively, therefore, when the first intermediate data center, the second intermediate data center or higher level data center break down, can carry out function by corresponding data backup center reliably, thereby guarantee the stability of system.
Method the 4th embodiment
Fig. 4 is the flow chart of electronic medical information processing method the 4th embodiment of the present invention.As shown in Figure 4, present embodiment can further include before step 101 based on electronic medical information processing method first embodiment of the present invention:
Step 120, second data center of subordinate carry out location registration process to user ID, and in the first intermediate data center and higher level data center user ID are carried out location registration process.
Above-mentioned step of in the first intermediate data center and higher level data center user ID being carried out location registration process can specifically comprise: second data center of subordinate sends the register requirement of carrying user ID to the first intermediate data center, the first intermediate data center discerns from register requirement and obtains user ID then, user ID is sent to higher level data center, and in the first intermediate overall identification tabulation, add user ID; At last, add user ID in higher level's overall identification tabulation that higher level data center stores therein.
Second data center of subordinate can carry out location registration process to the user ID that receives, and the patient that this process makes each go to a doctor in second data center of subordinate can obtain a unique user ID; Second data center of subordinate sends to the first intermediate data center and higher level data center with this user ID, the user ID that makes the patient get access to all is unique in all data centers, and can know all that by the first intermediate data center and higher level data center the medical information ownership corresponding with this user ID is in second data center of subordinate.Present embodiment only is illustrated to be registered as example in second data center of subordinate, and the process of carrying out location registration process in first data center of subordinate is similar with it.
In addition, present embodiment can further include:
Step 121, the first intermediate data center send the first middle rank registration backup information to the first intermediate Backup Data center, and higher level data center sends the higher level to higher level's Backup Data center and registers backup information;
The first middle rank registration backup information can make things convenient for the first intermediate Backup Data center to upgrade the first middle rank backup overall identification tabulation of wherein storage according to this first middle rank registration backup information; Higher level's Backup Data center according to this higher level register the higher level that backup information upgrades wherein storage and back up the overall identification tabulation.
Step 122, the first intermediate Backup Data center judge whether receive first state information that the first intermediate data center sends in Preset Time, if then execution in step 123, otherwise, execution in step 124;
This first state information is the state information that keeps heartbeat between the first intermediate data center and the first intermediate Backup Data center.The first intermediate Backup Data center can be by judging that whether receiving this first state information in Preset Time judges whether the work at present of the first intermediate data center is normal.
Step 123, next bar first state information of reception that continues to wait for;
If the operating state of the first intermediate data center is normal, then the first intermediate Backup Data center promptly can receive this first state information in Preset Time, and this first intermediate Backup Data center can be accepted one first state information and carry out timing by the mode of counter O reset is docked again.
Step 124, the level that makes progress data center, first data center of subordinate and second data center of subordinate send first handover information;
Can make progress a grade data center, first data center of subordinate and second data center of subordinate of this first handover information sends switching command, and it is higher level data center, first data center of subordinate and second subordinate's data center services that the indication first intermediate Backup Data center of will adopting replaces the first intermediate data center.
Step 125, judge that when the first intermediate Backup Data center when receiving first state information again in Preset Time, the first an intermediate Backup Data center upwards level data center, first data center of subordinate and second data center of subordinate sends first recovering information.
When the first intermediate Backup Data center receives first state information again in Preset Time, the fault that the first intermediate data center is described is got rid of, can carry out work by restore funcitons, then the first intermediate Backup Data center is with regard to upwards a level data center, first data center of subordinate and second data center of subordinate send first recovering information, this first recovering information can be indicated the functional rehabilitation with the first intermediate data center, provides service for higher level data center, first data center of subordinate and second data center of subordinate again.
Above-mentioned steps 121~step 125 both can be carried out before step 101~step 105, also can carry out after step 101~step 105 again, and this does not influence the function that method realized of present embodiment.And present embodiment is that example is illustrated with the first intermediate data center and the first intermediate Backup Data center to the greatest extent, and the implementation procedure at the second intermediate data center and the second intermediate Backup Data center similarly.
In addition, present embodiment can also comprise the process that switch at higher level data center and higher level's Backup Data center, specifically comprises:
Higher level's Backup Data center judges whether receive second state information that higher level data center sends in Preset Time, if, then continue to wait for to receive next bar second state information, otherwise, second handover information sent to the first intermediate data center.
This second state information is the state information that keeps heartbeat between higher level data center and the higher level's Backup Data center.Higher level's Backup Data center can be by judging that whether receiving this state information in Preset Time judges whether the work at present of higher level data center is normal.When receiving second state information in Preset Time, then this higher level data center continues as the first intermediate data center and serves, if do not receive, then this higher level data center can send second handover information to the first intermediate data center.This second handover information can send switching command to the first intermediate data center, and it is the first intermediate data center services that indication will adopt higher level's Backup Data center to replace higher level data center.
When the judgement of higher level's Backup Data center received second state information again in Preset Time, the mind-set described first intermediate data center sent second recovering information in higher level's Backup Data.
When higher level's Backup Data center receives second state information again in Preset Time, the fault that data center is described is got rid of, can carry out work by restore funcitons, then higher level's Backup Data center just sends first recovering information to the first intermediate data center, with the functional rehabilitation of higher level data center, indicate this higher level data center to provide service for the first intermediate data center again.
Need to prove, present embodiment only higher level data center connected an intermediate data center promptly the first intermediate data center be that example is illustrated, this higher level data center also can connect other intermediate data centers as the second intermediate data center etc.When higher level data center switched to higher level's Backup Data center, other intermediate data centers also can receive second handover information as the second intermediate data center, in like manner also can receive second recovering information.
In summary, in the present embodiment, higher level data center has higher level's Backup Data center, middle rank data center has intermediate Backup Data center, guarantee when higher level data center or intermediate data center break down, can switch to higher level's Backup Data center or intermediate Backup Data center respectively with this, and in time notify connected other data centers, on the basis of realizing data centers at different levels information sharing, further make whole electron medical treatment information network reach the effect of working stability.
First embodiment of system
Fig. 5 is the structural representation of electron medical treatment information processing system first embodiment of the present invention.As shown in Figure 5, the system of present embodiment comprises: first data center of subordinate 1,2, first intermediate data center 3 and the higher level data center 4 of second data center of subordinate.Wherein, first data center of subordinate 1 is used to send the medical information migration request of carrying user ID and receives the medical information corresponding with user ID; The first intermediate data center 3 is used for judging according to the medical information migration request whether the first intermediate overall identification of the first intermediate data center, 3 storages exists this user ID in tabulating, when existing, obtain corresponding medical information, and medical information is sent to first data center of subordinate 1 according to this user ID; Second data center of subordinate 2 is used for providing medical information to the first intermediate data center 3; Higher level data center 4 is used for receiving the medical information migration request that the first intermediate data center 3 sends when there is not this user ID in the first intermediate overall identification tabulation.
Specifically, in the network architecture of reality, the whole nation is provided with a higher level data center 4, and this higher level data center 4 is exactly the data center of a national level, and all electron medical treatment users' of the storage whole nation user represents and the address information of intermediate data center in the higher level data center 4; Each province is provided with an intermediate data center, and this middle rank data center is provincial data center, and Fig. 5 is an example with the first intermediate data center 3 of certain province only; First intermediate 3 storage all the electron medical treatment users' of this province of data center the user ID and the address information of data center of subordinate; The first intermediate data center 3 is connected with higher level data center 4; Each districts and cities is provided with data center of one or more subordinate, and this data center of subordinate is prefecture-level data center, and Fig. 5 only is connected with first data center of subordinate 1 for 3 times with the first intermediate data center and second data center of subordinate 2 is that example describes; User's user ID and corresponding medical information under first data center of subordinate 1 and 2 storages of second data center of subordinate, first data center of subordinate 1 is not connected each other with second data center of subordinate 2.
Suppose that a prescription on individual diagnosis patient has unique user ID that registration is obtained in second data center of subordinate 2.When the doctor checks the medical information corresponding with this prescription on individual diagnosis patient in first data center of subordinate 1, just search less than corresponding user ID and medical information, because this patient did not register in first data center of subordinate 1, so first data center of subordinate 1 will send to the medical information migration request of carrying this user ID the first intermediate data center 3.Stored all patients' that registered in first data center of subordinate 1 and second data center of subordinate 2 user ID in this first intermediate data center 3.
This first intermediate data center 3 discerns from this medical information migration request and obtains this user ID, tabulate according to the first intermediate overall identification that this user ID inquiry is stored in this first intermediate data center 3, judge in this first intermediate overall identification tabulation whether have this user ID.If exist, then the first intermediate data center 3 can judge this user ID according to this user ID and belongs to second data center of subordinate 2, can obtain corresponding medical information from this data center of second subordinate 2.Then, this first intermediate data center 3 feeds back to first data center of subordinate 1 with the medical information that gets access to.If there is no, illustrate that then this user ID do not register in this first intermediate data center 3, then this first intermediate data center 3 medical information migration request that just will carry this user ID sends to higher level data center 4.Because this higher level data center 4 is the data center that national hospital safeguards, has wherein stored the data center that is included in each provincial hospital, i.e. all user ID of registering in the first intermediate data center 3 or the how intermediate data center.Therefore, by asking this higher level data center 4 can assist this first intermediate data center 3 to obtain the medical information corresponding with this user ID from other data centers.
When present embodiment does not inquire the medical information corresponding with user ID in first data center of subordinate, ask the first intermediate data center to assist to obtain corresponding medical information, and the first intermediate data center can transfer corresponding medical information according to user ID from second data center of subordinate, and the medical information that obtains fed back to first data center of subordinate, in first data center of subordinate, do not store under the situation of this user ID, this first intermediate data center can also ask more senior, the higher level data center that has stored the more users sign obtains corresponding medical information, thereby has realized the shared of medical information between other data centers in first data center of subordinate and the network; All user ID of in first data center of subordinate and second data center of subordinate, registering have been stored in this first intermediate data center, therefore can dispatch the medical information that is stored in the medical information in first data center of subordinate and be stored in second data center of subordinate, also can ask the higher level center that the medical information that is stored in other data centers is dispatched, thereby realize the exchange of medical information and the unified monitoring of medical information and the function of management.
Second embodiment of system
Fig. 6 is the structural representation of electron medical treatment information processing system second embodiment of the present invention.As shown in Figure 6, the system of present embodiment is on the basis of electron medical treatment information processing system first embodiment of the present invention.Further comprise: the second intermediate data center 5, the 3rd data center of subordinate 7, the second intermediate Backup Data center 8,6, the first intermediate Backup Data center and higher level's Backup Data center 9.Wherein, the second intermediate data center 5 is used to receive the medical information migration request that higher level data center 4 sends according to user ID, and the medical information corresponding with user ID sent to higher level data center 4, so that higher level data center 4 sends to the first intermediate data center 3 with medical information; The 3rd data center of subordinate 6 is used for providing medical information to the second intermediate data center 5; The first intermediate Backup Data center 7 is used to receive the first intermediate backup information, the first middle rank registration backup information and first state information that the first intermediate data center 3 sends, and upwards a level data center 4, first data center of subordinate 1 and second data center of subordinate 2 send first handover information when not receiving first state information in Preset Time; The second intermediate Backup Data center 8 is used to receive the second intermediate backup information, second middle rank registration backup information and the third state information that the second intermediate data center 5 sends, and upwards level data center 4 and the 3rd data center of subordinate 6 send the 3rd handover information when not receiving third state information in Preset Time; Higher level's Backup Data center 9 is used to receive higher level's backup information, the higher level that higher level data center 4 sends and registers the backup information and second state information, and sends second handover information to the first intermediate data center 3 and the second intermediate data center 5 when not receiving second state information in Preset Time.
Specifically, when the first intermediate data center 3 does not find corresponding user ID, this user ID promptly is described not in this registration inside the province, therefore, the first intermediate data center 3 sends the medical information migration request of carrying this user ID with regard to the level data center 4 that makes progress.Owing to stored the user ID that all user's registrations are obtained in this higher level data center 4, therefore higher level data center 4 can determine that this user ID registers according to this user ID under the second intermediate data center, 5 pairing provinces, and this higher level data center 4 is about to the medical information migration request and sends to the second intermediate data center 5.This second intermediate data center 5 can judge that according to this user ID this user ID belongs to the 3rd data center of subordinate 6, therefore the second intermediate data center 5 is about to this medical information migration request and sends to the 3rd data center of subordinate 6, the 3rd data center of subordinate 6 can provide corresponding medical information to the second intermediate data center 5, and the second intermediate data center 5 can send to higher level data center 4 with this medical information.Higher level data center 4 is about to this medical information and transfers to the first intermediate data center 3 then, and the last first intermediate data center 3 feeds back to this medical information first data center of subordinate 1 again, thereby has finished the migration of medical information and share.
In addition, 4, the first intermediate data center 3 of higher level data center and the second intermediate data center 5 all have corresponding Backup Data center, i.e. 7 the and second intermediate Backup Data center 8,9, the first intermediate Backup Data center, higher level's Backup Data center.
The first intermediate data center 3 regularly sends the first intermediate backup information, the first middle rank registration backup information and first state information to the first intermediate Backup Data center 7.This first intermediate backup information indicates this first intermediate Backup Data center 7 to carry out back-up processing when the migration that has medical information, back-up processing is carried out according to new user ID in this first middle rank registration backup information, first intermediate Backup Data center 7 of indicating when having the new registration user, this first state information first intermediate Backup Data center 7 of indicating knows whether the current first intermediate data center 3 operating states are normal, if the first intermediate Backup Data center 7 does not receive first state information in Preset Time, grade data center 4 that will make progress, this first intermediate Backup Data center 7, first data center of subordinate 1 and second data center of subordinate 2 send first handover information, and the indication first intermediate Backup Data center 7 of will adopting replaces the first intermediate data center 3 to be higher level data center 4, first data center of subordinate 1 and 2 services of second data center of subordinate.
The second intermediate data center 5 regularly sends the second intermediate backup information, second middle rank registration backup information and the third state information to the second intermediate Backup Data center 8.The function class of the function of this second intermediate backup information, the second middle rank registration backup information and third state information and the above-mentioned first intermediate backup information, the first middle rank registration backup information and first state information is not seemingly being given unnecessary details.When the second intermediate Backup Data center 8 does not receive third state information in Preset Time, upwards level data center 4 and the 3rd data center of subordinate 6 send the 3rd handover information, the effect that acts on above-mentioned first handover information of the 3rd handover information is similar, repeats no more.
Higher level data center 4 regularly registers the backup information and second state information to higher level's Backup Data center 9 transmission higher level backup informations, higher level, the function class of its effect and the above-mentioned first intermediate backup information, the first middle rank registration backup information and first state information is not seemingly being given unnecessary details.When higher level's Backup Data center 9 does not receive second state information in Preset Time, send second handover information to the first intermediate data center 3 and the second intermediate data center 5, this second handover information can send switching command to the first intermediate data center 3 and the second intermediate data center 5, and it is the first intermediate data center 3 and 5 services of the second intermediate data center that indication will adopt higher level's Backup Data center 9 to replace higher level data center 4.
In summary, in the present embodiment, higher level data center has higher level's Backup Data center, middle rank data center has intermediate Backup Data center, guarantee when higher level data center or intermediate data center break down, can switch to higher level's Backup Data center or intermediate Backup Data center respectively with this, and in time notify connected other data centers, on the basis of realizing data centers at different levels information sharing, further make whole electron medical treatment information network reach the effect of working stability.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.