Invention content
The present invention is based on the above problem, it is proposed that a kind of multidimensional mirror image data Managed Solution makes the number of primary database
It is cooperateed with according to the data with regional data base, uniquely determines a certain identity data.
In view of this, according to an aspect of the present invention, it proposes a kind of management servers, including:Communication unit receives
Numeric field data from multiple mirror image servers, and the format conversion result of processor is distributed to corresponding mirror image server;Institute
Processor is stated, the numeric field data is handled according to pre-defined rule, according to the data conversion template of storage by handling result
Format conversion is to meet the format of the mirror image server requirement.
Since the format of each numeric field data is different, field is different, and valid data are different, it is therefore desirable to according to default rule
Then these numeric field datas are handled, the primary database data of the management server of standard is obtained, i.e., will indicate common identity
Different form data processing obtains the identity data of standard and generates unique mark to identify the identity data of the standard, Yi Jitong
The unique mark is crossed to be associated with the identity data of above-mentioned different form data and the standard, and by the unique mark and accordingly
Numeric field data carry out format conversion, be converted into meeting the format of mirror image server requirement so that mirror image server is former without changing
Data structure can be kept cooperateing with the data of management server.Each mirror image server can call management server, by this
Unique mark determines identity data.
In the above-mentioned technical solutions, it is preferred that the processor is additionally operable to the regional data base according to the mirror image server
The correspondence of data structure standard of data structure standard and the primary database generate the data conversion template.
Since the data structure between different mirror image servers is different, in management server, for each
Mirror image server has corresponding data conversion template, can form change data template set.
In the above-mentioned technical solutions, it is preferred that the communication unit is made by message distribution mode and daily record ways of distribution
The data of the primary database of the management server are synchronous with the holding of the data of the regional data base of the mirror image server.
The processor is additionally operable to indicate that various forms of data of common identity generate to obtain standard identity data, and
The standard identity data are identified with unique mark, to obtain the handling result.
In the above-mentioned technical solutions, it is preferred that can also include memory, preserve distributed recorder and rollback record.Pass through
Distributed recorder can determine which mirror image server is management server cooperateed with, by rollback record can determine management server with
Which mirror image server carries out data collaborative not successfully.
According to another aspect of the present invention, it is also proposed that a kind of multidimensional mirroring service system, including it is multiple as any of the above-described
The primary database of management server described in technical solution, a management server in multiple management servers is surplus
The primary database of the regional data base of remaining management server or the remaining management server is one management server
Regional data base.The respiratory sensation of primary database, i.e., one of primary database is supported to can be used as one of another primary database
Domain.
According to another aspect of the invention, it is also proposed that a kind of multidimensional mirror image data management method, including:Management server
It identifies the numeric field data from least one mirror image server, the numeric field data is handled according to pre-defined rule;According to described
The format conversion of handling result is to meet the lattice of corresponding mirror image server requirement by the data conversion template of management server storage
Formula;Format conversion result is distributed to the corresponding mirror image server.
Since the format of each numeric field data is different, field is different, and valid data are different, it is therefore desirable to according to default rule
Then these numeric field datas are handled, the primary database data of the management server of standard is obtained, i.e., will indicate common identity
Different form data processing obtains the identity data of standard and generates unique mark to identify the identity data of the standard, Yi Jitong
The unique mark is crossed to be associated with the identity data of above-mentioned different form data and the standard, and by the unique mark and accordingly
Numeric field data carry out format conversion, be converted into meeting the format of mirror image server requirement so that mirror image server is former without changing
Data structure can be kept cooperateing with the data of management server.Each mirror image server can call management server, by this
Unique mark determines identity data.
The process handled the numeric field data according to pre-defined rule includes:It will indicate the not similar shape of common identity
The data of formula generate to obtain standard identity data, and the standard identity data are identified with unique mark, to obtain the place
Manage result.
In the above-mentioned technical solutions, it is preferred that according to the data structure standard of the regional data base of the mirror image server with
The correspondence of the data structure standard of the primary database generates the data conversion template.
Since the data structure between different mirror image servers is different, in management server, for each
Mirror image server has corresponding data conversion template, can form change data template set.
In the above-mentioned technical solutions, it is preferred that the management service is made by message distribution mode and daily record ways of distribution
The data of the primary database of device are synchronous with the holding of the data of the regional data base of the mirror image server.
In the above-mentioned technical solutions, it is preferred that preserve distributed recorder and rollback record.Management is can determine by distributed recorder
Which mirror image server server has cooperateed with, by rollback record can determine management server and which mirror image server not at
Work(carries out data collaborative.
In any of the above-described technical solution, it is preferred that the primary database of the management server is other management servers
Regional data base or other management servers primary database be the management server regional data base.
For the same object, different systems has different representations, in order to determine that these different representations are
No to be directed to the same object, technical scheme of the present invention is using management server come at the numeric field data to these different systems
Reason, analyzes the different expression of the same object, and by these data collaboratives to different systems, makes these systems that can call pipe
Server is managed, unique identities are determined by management server, and without extending original system, so that it may to realize identity really
Fixed, perfect system function also improves the stability of system.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
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, including:Communication unit 102, reception comes from
The numeric field data of multiple mirror image servers, and the format conversion result of processor is distributed to corresponding mirror image server;The place
Device 104 is managed, the numeric field data is handled according to pre-defined rule, according to the data conversion template of storage by the lattice of handling result
Formula is converted to the format for meeting the mirror image server requirement.
Since the format of each numeric field data is different, field is different, and valid data are different, it is therefore desirable to according to default rule
Then these numeric field datas are handled, the primary database data of the management server of standard is obtained, i.e., will indicate common identity
Different form data processing obtains the identity data of standard and generates unique mark to identify the identity data of the standard, Yi Jitong
The unique mark is crossed to be associated with the identity data of above-mentioned different form data and the standard, and by the unique mark and accordingly
Numeric field data carry out format conversion, be converted into meeting the format of mirror image server requirement so that mirror image server is former without changing
Data structure can be kept cooperateing with the data of management server.Each mirror image server can call management server, by this
Unique mark determines identity data.
In the above-mentioned technical solutions, it is preferred that the processor 104 is additionally operable to the numeric field data according to the mirror image server
The data structure standard in library and the correspondence of the data structure standard of the primary database generate the data conversion template.
Since the data structure between different mirror image servers is different, in management server, for each
Mirror image server has corresponding data conversion template, can form change data template set.
In the above-mentioned technical solutions, it is preferred that the communication unit 102 passes through message distribution mode and daily record ways of distribution
Keep the data of the primary database of the management server synchronous with the holding of the data of the regional data base of the mirror image server.
In the above-mentioned technical solutions, it is preferred that can also include memory 106, preserve distributed recorder and rollback record.It is logical
It crosses distributed recorder and can determine which mirror image server is management server cooperateed with, management server can determine by rollback record
Data collaborative is carried out not successfully with for which mirror image server.Since for the same object, different systems has different expressions
Mode, in order to determine whether these different representations are directed to the same object, using management server come to these not homologys
The numeric field data of system is handled, and the different expression of the same object are analyzed, and these data collaboratives are made to different systems
These systems can call management server, determine unique identities by management server, and without extending original system, so that it may
To realize the determination of identity, perfect system function also improves the stability of system.
Fig. 2 shows the schematic diagrames of multidimensional mirroring service system according to an embodiment of the invention.
As shown in Fig. 2, multidimensional mirroring service system 200 according to an embodiment of the invention, including it is multiple as any of the above-described
Management server 100 described in technical solution, the primary database of a management server in multiple management servers
It is the regional data base of remaining management server or the primary database of the remaining management server is one management service
The regional data base of device.The respiratory sensation of primary database, i.e., one of primary database is supported to can be used as another primary database
One domain.
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 includes mirroring service interface, multiple mirror image servers 300 can be managed, are being cured
Treatment field, which can be clinic system, in hospital system, Physical Examination System etc., due to the patient information of each system
Patient identity cannot be uniquely determined in disunity, it is therefore desirable to which management server 100 assists in the same trouble between different system
Person's identity.Management server 100 obtains the numeric field data of such as clinic system, Physical Examination System first, identifies corresponding patient's body
Part data, handle the data identified, by treated data conversion at the number for the call format for meeting clinic system
According to, and the data are synchronized to clinic system;By treated data conversion at the data for the call format for meeting Physical Examination System,
And the data are synchronized to Physical Examination System.
Illustrate multidimensional mirror image data processing procedure according to the present invention by example of medical data below.
Such as the patient assessment's information recorded in clinic system is:According to field outpatient service number, name, gender, age, body
Part card number, the section office that register, the information for contacting phone number, the following information of data arrangement:M032T033432, king five, man,
31,110234198209090038,03,13901202312;Related data is sent to two mirror image servers, and one is PACS
The data server of medical imaging section office, one is in the data server of CDR clinical data total management systems.Wherein PACS
In system, need to record outpatient service number, name, gender, date of birth, the section office that register, the data for contacting phone number;And clinical number
The comprehensive information of interrecord structure, including admission number, outpatient service number, surname, name, gender, identity card are then needed according to total management system
The information such as number, the section office that register, contact phone number, nationality, nationality.
Data format mapping table in clinic system to PACS system is expressed as:
In above-described embodiment, pass through Src attribute values in item(With the relevant attribute value of clinic system)With Des attribute values
(With the relevant attribute value of PACS system)It is matched, and realizes the conversion between two data, what is stated after exp equatioies is
The intermediate expression of conversion(Such as " getBirthday ($ src) ").Wherein expression is sky, then it represents that without processing;Expression
Formula is not empty, indicates from Src intermediate values to the desired value for being converted to Des, then to need conversion process.In above-described embodiment,
Change ($ src) indicates to need, the corresponding sex types of Src, to match the sex types in the libraries PACS;getBirthday($
Src it) indicates to need from correspond in ID card No. extraction date of birth information in src;GetName ($ src) is indicated from the section that registers
The ID of room obtains corresponding name and is saved in Des nodes;StringFormat ($ src) expressions are needed to the cell-phone number in src
Code is reformatted, used here as " format of 000-0000-0000 " converted.
All it is being transformed into Des data in Src for record in above-mentioned exp, needs by data format, length, deformation etc.
Processing procedure needs the kinematic function used to call expression formula.
Above structure mapping table completes the data conversion of Src to Des, for data in clinic system to CDR clinics
Data comprehensive management system is also the same.
This mode realizes a kind of synchronous mirror of data, completely the same with traditional data format, utilizes well
The data storage of existing system, and realize synchronous to reach the effect of data image preservation.
Fig. 4 shows the flow chart 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, may comprise steps of:
Step 402, management server identifies the numeric field data from multiple mirror image servers, is carried out to the numeric field data according to pre-defined rule
Processing;Step 404, the data conversion template stored according to the management server is by the format conversion of handling result to meet
State the format of mirror image server requirement;Step 406, format conversion result is distributed to corresponding mirror image server.
Since the format of each numeric field data is different, field is different, and valid data are different, it is therefore desirable to according to default rule
Then these numeric field datas are handled, the primary database data of the management server of standard is obtained, i.e., will indicate common identity
Different form data processing obtains the identity data of standard and generates unique mark to identify the identity data of the standard, Yi Jitong
The unique mark is crossed to be associated with the identity data of above-mentioned different form data and the standard, and by the unique mark and accordingly
Numeric field data carry out format conversion, be converted into meeting the format of mirror image server requirement so that mirror image server is former without changing
Data structure can be kept cooperateing with the data of management server.Each mirror image server can call management server, by this
Unique mark determines identity data.
The setting rule can be that the value of a certain field in extraction numeric field data illustrates these numeric field datas if value is identical
Indicate the same identity.
In the above-mentioned technical solutions, it is preferred that according to the data structure standard of the regional data base of the mirror image server with
The correspondence of the data structure standard of the primary database generates the data conversion template.
Since the data structure between different mirror image servers is different, in management server, for each
Mirror image server has corresponding data conversion template, can form change data template set.
In the above-mentioned technical solutions, it is preferred that the management service is made by message distribution mode and daily record ways of distribution
The data of the primary database of device are synchronous with the holding of the data of the regional data base of the mirror image server.
In the above-mentioned technical solutions, it is preferred that preserve distributed recorder and rollback record.Management is can determine by distributed recorder
Which mirror image server server has cooperateed with, by rollback record can determine management server and which mirror image server not at
Work(carries out data collaborative.
In any of the above-described technical solution, it is preferred that the primary database of the management server is other management servers
Regional data base or other management servers primary database be the management server regional data base.
Fig. 5 shows the flow chart of multidimensional mirroring service method according to still another embodiment of the invention.
As shown in figure 5, in step 502, mirror image data is identified, such as clinic system, extract patient identity letter
Breath.In step 504, the mirror image data identified is handled according to pre-defined rule.In step 506, judge whether to point
Hair service, if desired, then enter step 508, if not needing, terminate the flow.
In step 508, judging that treated, whether mirror image data needs format conversion, if the format of the mirror image data is not inconsistent
The call format of such as Physical Examination System is closed, then needing to carry out format conversion, 510 is entered step, otherwise enters step 512.
In step 510, various template is saved in management server, i.e., in management server primary database format with it is more
The conversion module of kind regional data base format.
Need will treated mirror image data is sent to Physical Examination System when, then extract primary database format conversion to body
The conversion module of the regional data base format of check system, by the conversion module, to treated, mirror image data carries out format conversion.
In step 512, by the data distribution after format conversion to corresponding mirror image server.For example, outpatient service system will be met
The data distribution of the call format of system is to clinic system;The data distribution of the call format of Physical Examination System will be met to physical examination system
System.
In step 514, judge whether data distribute and terminate, if so, continuing with, return to step 506, otherwise, terminates
The flow.
The field standard of the primary database of management server can be set and need extended field, which supports history
Record distributes rollback log and data, and can realize respiratory sensation, support asynchronous and synchronous mode, and pass through data duplication side
Formula integrates each numeric field data.
Technical scheme of the present invention is described in detail above in association with attached drawing, for the same object, different systems has not
Same representation, in order to determine whether these different representations are directed to the same object, using management server come to this
The numeric field data of a little different systems is handled, and analyzes the different expression of the same object, and by these data collaboratives to difference
System, make these systems that can call management server, unique identities determined by management server, and original without extending
System, so that it may which, to realize the determination of identity, perfect system function also improves the stability of system.
Term " multiple " refers to two or more, unless otherwise restricted clearly.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.