Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of multidimensional mirror image data Managed Solution, and the data of master data base and the data of regional data base are worked in coordination with, unique definite a certain identity data.
In view of this, according to an aspect of the present invention, proposed a kind of management server, having comprised: communication unit receives the numeric field data from a plurality of mirror image servers, and the format conversion result of processor is distributed to corresponding mirror image server; Described processor, processed described numeric field data according to pre-defined rule, according to the data-switching template of storage, by the format conversion of result, is to meet the form that described mirror image server requires.
Because the form of each numeric field data is different, field is different, valid data are different, therefore need to these numeric field datas, be processed according to preset rules, obtain the master data base data of the management server of standard, be about to mean that the multi-form data processing of common identity obtains the identity data of standard and generates the identity data that unique identification identifies this standard, and the identity data that comes associated above-mentioned multi-form data and this standard by this unique identification, and this unique identification and corresponding numeric field data are carried out to format conversion, convert the form that meets the mirror image server requirement to, make mirror image server just can keep collaborative with the data of management server without changing former data structure.Each mirror image server can call management server, by this unique identification data that determine one's identity.
In technique scheme, preferred, described processor also generates described data-switching template for the corresponding relation of the data structure standard of the data structure standard of the regional data base according to described mirror image server and described master data base.
Because the data structure between different mirror image servers is different, therefore, in management server, for each mirror image server, there is corresponding data-switching template, can form the set of translation data template.
In technique scheme, preferred, described communication unit makes the data of the master data base of described management server keep synchronizeing with the data of the regional data base of described mirror image server by message distribution mode and daily record ways of distribution.
Described processor also generates and obtains the standard identity data for the multi-form data that will mean common identity, and identifies described standard identity data with unique identification, to obtain described result.
In technique scheme, preferred, can also comprise storer, preserve distributed recorder and rollback record.Can determine by distributed recorder which mirror image server management server has worked in coordination with, by rollback, record and can determine that management server and which mirror image server successfully do not carry out data collaborative.
According to a further aspect in the invention, a kind of multidimensional mirroring service system has also been proposed, comprise the management server described in a plurality of as above-mentioned arbitrary technical scheme, the master data base of a management server in a plurality of described management servers is the regional data base of residue management server, or the master data base of described residue management server is the regional data base of a described management server.Support the multistage association of master data base, one of them master data base can be used as a territory of another master data base.
According to another aspect of the invention, also proposed a kind of multidimensional mirror image data management method, having comprised: management server identification, from the numeric field data of at least one mirror image server, is processed described numeric field data according to pre-defined rule; According to the data-switching template of described management server stores, by the format conversion of result, be to meet the form that corresponding mirror image server requires; The format conversion result is distributed to described corresponding mirror image server.
Because the form of each numeric field data is different, field is different, valid data are different, therefore need to these numeric field datas, be processed according to preset rules, obtain the master data base data of the management server of standard, be about to mean that the multi-form data processing of common identity obtains the identity data of standard and generates the identity data that unique identification identifies this standard, and the identity data that comes associated above-mentioned multi-form data and this standard by this unique identification, and this unique identification and corresponding numeric field data are carried out to format conversion, convert the form that meets the mirror image server requirement to, make mirror image server just can keep collaborative with the data of management server without changing former data structure.Each mirror image server can call management server, by this unique identification data that determine one's identity.
The described process of described numeric field data being processed according to pre-defined rule comprises: the multi-form data generation that will mean common identity obtains the standard identity data, and identifies described standard identity data with unique identification, to obtain described result.
In technique scheme, preferred, generate described data-switching template according to the corresponding relation of the data structure standard of the data structure standard of the regional data base of described mirror image server and described master data base.
Because the data structure between different mirror image servers is different, therefore, in management server, for each mirror image server, there is corresponding data-switching template, can form the set of translation data template.
In technique scheme, preferred, by message distribution mode and daily record ways of distribution, make the data of the master data base of described management server keep synchronizeing with the data of the regional data base of described mirror image server.
In technique scheme, preferred, preserve distributed recorder and rollback record.Can determine by distributed recorder which mirror image server management server has worked in coordination with, by rollback, record and can determine that management server and which mirror image server successfully do not carry out data collaborative.
In above-mentioned arbitrary technical scheme, preferred, the master data base of described management server is the regional data base of other management servers, or the master data base of described other management servers is regional data bases of described management server.
For same object, different systems has different expression modes, in order to determine that whether these different expression modes are for same object, technical scheme of the present invention adopts management server to be processed the numeric field data of these different systems, the difference that analyzes same object is expressed, and by these data collaboratives to different systems, make these systems can call management server, determine unique identity by management server, and without the expansion original system, just can realize determining of identity, perfect systemic-function, also improved the stability of system.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that do not conflict, the application's embodiment and the feature in embodiment can combine mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subject to the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of management server according to an embodiment of the invention.
As shown in Figure 1, management server 100 according to an embodiment of the invention, comprising: communication unit 102 receives the numeric field data from a plurality of mirror image servers, and the format conversion result of processor is distributed to corresponding mirror image server; Described processor 104, processed described numeric field data according to pre-defined rule, according to the data-switching template of storage, by the format conversion of result, is to meet the form that described mirror image server requires.
Because the form of each numeric field data is different, field is different, valid data are different, therefore need to these numeric field datas, be processed according to preset rules, obtain the master data base data of the management server of standard, be about to mean that the multi-form data processing of common identity obtains the identity data of standard and generates the identity data that unique identification identifies this standard, and the identity data that comes associated above-mentioned multi-form data and this standard by this unique identification, and this unique identification and corresponding numeric field data are carried out to format conversion, convert the form that meets the mirror image server requirement to, make mirror image server just can keep collaborative with the data of management server without changing former data structure.Each mirror image server can call management server, by this unique identification data that determine one's identity.
In technique scheme, preferred, described processor 104 also generates described data-switching template for the corresponding relation of the data structure standard of the data structure standard of the regional data base according to described mirror image server and described master data base.
Because the data structure between different mirror image servers is different, therefore, in management server, for each mirror image server, there is corresponding data-switching template, can form the set of translation data template.
In technique scheme, preferred, described communication unit 102 makes the data of the master data base of described management server keep synchronizeing with the data of the regional data base of described mirror image server by message distribution mode and daily record ways of distribution.
In technique scheme, preferred, can also comprise storer 106, preserve distributed recorder and rollback record.Can determine by distributed recorder which mirror image server management server has worked in coordination with, by rollback, record and can determine that management server and which mirror image server successfully do not carry out data collaborative.Due to for same object, different systems has different expression modes, in order to determine that whether these different expression modes are for same object, adopt management server to be processed the numeric field data of these different systems, the difference that analyzes same object is expressed, and by these data collaboratives to different systems, make these systems can call management server, determine unique identity by management server, and without the expansion original system, just can realize determining of identity, perfect systemic-function, also improved the stability of system.
Fig. 2 shows the schematic diagram of multidimensional mirroring service system according to an embodiment of the invention.
As shown in Figure 2, multidimensional mirroring service system 200 according to an embodiment of the invention, comprise the management server 100 described in a plurality of as above-mentioned arbitrary technical scheme, the master data base of a management server in a plurality of described management servers is the regional data base of residue management server, or the master data base of described residue management server is the regional data base of a described management server.Support the multistage association of master data base, one of them master data base can be used as a territory of another master data base.
Fig. 3 shows the schematic diagram of multidimensional mirroring service system according to still another embodiment of the invention.
As shown in Figure 3, management server 100 comprises the mirroring service interface, can manage a plurality of mirror image servers 300, at medical field, this mirror image server 300 can be clinic system, be in hospital system, Physical Examination System etc., due to the patient information disunity of each system, can not unique definite patient identity, therefore need management server 100 to help to determine the same patient identity between different system.At first management server 100 obtains for example numeric field data of clinic system, Physical Examination System, identify corresponding patient identity data, the data that identify are processed, the data-switching after processing is become to meet the data of the call format of clinic system, and these data are synchronized to clinic system; Data-switching after processing is become to meet the data of the call format of Physical Examination System, and these data are synchronized to Physical Examination System.
Below take medical data as example explanation according to multidimensional mirror image data processing procedure of the present invention.
The patient's diagnosis information for example recorded in clinic system is: according to the information of field outpatient service number, name, sex, age, ID (identity number) card No., the section office that register, contact phone number, the following information of data ordering: M032T033432, the king five, the man, 31,110234198209090038,03,13901202312; Related data sends to two mirror image servers, and one is the data server of PACS medical imaging section office, and one is in the data server of CDR clinical data total management system.Wherein in the PACS system, need to record the data of outpatient service number, name, sex, date of birth, the section office that register, contact phone number; The clinical data total management system needs the comprehensive information of interrecord structure, comprises the information such as admission number, outpatient service number, surname, name, sex, ID (identity number) card No., the section office that register, contact phone number, nationality, nationality.
Clinic system is expressed as to the data layout mapping table in the PACS system:
In above-described embodiment, by Src property value in item (property value relevant to clinic system) and Des property value (with the property value of PACS System Dependent), mated, and realize the conversion between two data, what after the exp equation, explain is the intermediate expression (for example " getBirthday (src) ") of conversion.Wherein expression is empty, means without processing; Expression formula is not empty, means from the Src intermediate value to the desired value that is converted to Des, needs conversion process.In above-described embodiment, change ($ src) means sex types that need to be corresponding Src, the sex types in coupling PACS storehouse; GetBirthday (src) means to extract date of birth information in corresponding ID (identity number) card No. from src; GetName ($ src) means that obtaining corresponding name from the ID of the section office that register is saved in the Des node; StringFormat ($ src) means to carry out reformatting to the phone number in src, uses here " 000-0000-0000 " form changed.
Be all being transformed in the Des data at Src of record in above-mentioned exp, need the kinematic function that need to use through processing procedures such as data layout, length, distortion to call expression formula.
The said structure mapping table, completed the data-switching of Src to Des, for data in clinic system, to CDR clinical data total management system, is also the same.
This mode has realized a kind of synchronous mirror of data, in full accord with traditional data layout, has well utilized the data storage of existing system, and has realized the effect of synchronously preserving to reach data image.
Fig. 4 shows the process flow diagram of multidimensional mirroring service method according to an embodiment of the invention.
As shown in Figure 4, multidimensional mirror image data management method according to an embodiment of the invention can comprise the following steps: step 402, and management server identification, from the numeric field data of a plurality of mirror image servers, is processed described numeric field data according to pre-defined rule; Step 404 is to meet the form that described mirror image server requires according to the data-switching template of described management server stores by the format conversion of result; Step 406, be distributed to corresponding mirror image server by the format conversion result.
Because the form of each numeric field data is different, field is different, valid data are different, therefore need to these numeric field datas, be processed according to preset rules, obtain the master data base data of the management server of standard, be about to mean that the multi-form data processing of common identity obtains the identity data of standard and generates the identity data that unique identification identifies this standard, and the identity data that comes associated above-mentioned multi-form data and this standard by this unique identification, and this unique identification and corresponding numeric field data are carried out to format conversion, convert the form that meets the mirror image server requirement to, make mirror image server just can keep collaborative with the data of management server without changing former data structure.Each mirror image server can call management server, by this unique identification data that determine one's identity.
This setting rule can be to extract the value of a certain field in numeric field data, if be worth identically, illustrates that these numeric field datas mean same identity.
In technique scheme, preferred, generate described data-switching template according to the corresponding relation of the data structure standard of the data structure standard of the regional data base of described mirror image server and described master data base.
Because the data structure between different mirror image servers is different, therefore, in management server, for each mirror image server, there is corresponding data-switching template, can form the set of translation data template.
In technique scheme, preferred, by message distribution mode and daily record ways of distribution, make the data of the master data base of described management server keep synchronizeing with the data of the regional data base of described mirror image server.
In technique scheme, preferred, preserve distributed recorder and rollback record.Can determine by distributed recorder which mirror image server management server has worked in coordination with, by rollback, record and can determine that management server and which mirror image server successfully do not carry out data collaborative.
In above-mentioned arbitrary technical scheme, preferred, the master data base of described management server is the regional data base of other management servers, or the master data base of described other management servers is regional data bases of described management server.
Fig. 5 shows the process flow diagram of multidimensional mirroring service method according to still another embodiment of the invention.
As shown in Figure 5, in step 502, identify mirror image data, for example, for clinic system, extract patient identity information.In step 504, according to pre-defined rule, the mirror image data identified is processed.In step 506, judge whether to carry out distribution services, if need, enter step 508, if do not need, finish this flow process.
In step 508, whether the mirror image data after judgement is processed needs format conversion, if the form of this mirror image data does not meet for example call format of Physical Examination System, needs so to carry out format conversion, enters step 510, otherwise enters step 512.
In step 510, preserved various template in management server, i.e. the conversion module of master data base form and multiple regional data base form in management server.
In the time the mirror image data after processing need to being sent to Physical Examination System, extract the conversion module of master data base format conversion to the regional data base form of Physical Examination System, by this conversion module, the mirror image data after processing is carried out to format conversion.
In step 512, by the extremely corresponding mirror image server of the Data dissemination after format conversion.For example, will meet the Data dissemination of call format of clinic system to clinic system; To meet the Data dissemination of call format of Physical Examination System to Physical Examination System.
In step 514, judge whether data distribute end, if, continue to process, get back to step 506, otherwise, finish this flow process.
Can arrange management server master data base field standard and need extended field, this management server is supported historical record, distributes rollback log and data, and can realize multistage association, support the asynchronous and synchronous mode, and by integrated each numeric field data of data Replica mode.
More than be described with reference to the accompanying drawings technical scheme of the present invention, for same object, different systems has different expression modes, in order to determine that whether these different expression modes are for same object, adopt management server to be processed the numeric field data of these different systems, the difference that analyzes same object is expressed, and by these data collaboratives to different systems, make these systems can call management server, determine unique identity by management server, and without the expansion original system, just can realize determining of identity, perfect systemic-function, also improved the stability of system.
Term " a plurality of " refers to two or more, unless clear and definite restriction separately arranged.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.