Support the system and method for the eurypalynous real-time data synchronization of multi-protocols
Technical field
The present invention relates to field of data transmission, especially a kind of system and method supporting the eurypalynous real-time data synchronization of multi-protocols.
Background technology
The prosperity of global economy has benefited from the flourish of information technology greatly, Just because of this, information is for all most important current all enterprises, data just day by day become the strategic asset of enterprise, along with data are to the lifting of the importance of business decision, its accuracy, promptness and fail safe also obtain the unprecedented attention of common people.
In the past, business data architecture problems faced is very not complicated, such as company information is generally held in a data center, data and generally runs with batch processing mode with the metering of MB byte, form with the only maximum and the most complicated data of KB byte metering but statistics often postpones, and is commonly single-vendor environment etc. in enterprise.But, along with the intensification gradually of global economic integration degree, the situation that business organization faces is complicated extremely to the greatest extent---and most of enterprise launches cooperation in the business in certain field or even full field, share data mutually, but due to the geographical position difference of each cooperative enterprise, the data message relevant to business event is caused sporadically to be stored in the server of various places, frequent transaction makes the speed of Data distribution8 day by day accelerate, and the surge of data volume and the aggravation of data scatter situation bring larger difficulty to data management.
At present, the data synchronization technology between cooperative enterprise is all for specific data type, carries out single host-host protocol to realize synchronously.But the data that each enterprise preserves are different on form, and the host-host protocol of use is not identical yet, thus causes transfer of data slowly even to stagnate.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of system and method supporting the eurypalynous real-time data synchronization of multi-protocols, can only for the problem of specific data type, single transmission agreement with the data syn-chronization solved between cooperative enterprise.
In order to solve the problem, the invention provides a kind of system supporting the eurypalynous real-time data synchronization of multi-protocols, it is characterized in that, comprising: background synchronization administration module, data acquisition module, data simultaneous module; Wherein,
Described background synchronization administration module, couples mutually with data simultaneous module, for receiving and storing the synchronous customized content of supported data;
Described data acquisition module, couples mutually with described data simultaneous module, for carrying out synchronous information scanning to the needs collected and extracting data, sends to described data simultaneous module after then assembling the data of identical type and same transmission protocol;
Described data simultaneous module, couple mutually with described background synchronization administration module and data acquisition module respectively, for carrying out simultaneous operation to the data after the assembling received according to customized content described in described background synchronization administration module, then export the data synchronously.
Further, wherein, described background synchronization administration module receives and the customized content storing supported data synchronous comprises: data type, host-host protocol, setting parameter, scan period, transfer encoding and failure handling scheme.
Further, wherein, described data acquisition module comprises: acquisition process unit, scanning extraction unit and data assembling unit; Wherein,
Described acquisition process unit, couple mutually with described scanning extraction unit, the needs sent for gathering different passage carry out synchronous information, and judge whether treatment channel occurs data processing is blocked, as occurred, data processing is blocked, then enter wait, the set time according to setting carries out judging whether treatment channel occurs data processing is blocked again; As do not occurred, data processing is blocked, then described needs are carried out synchronous information and send to described scanning extraction unit;
Described scanning extraction unit, couple mutually with described acquisition process unit and data assembling unit, the described needs sent for receiving described acquisition process unit carry out synchronous information and carry out scanning and extracting data, and the data extracted are sent to described data assembling unit;
Described data assembling unit, couples mutually with described scanning extraction unit, after assembling the data of identical type and same transmission protocol, send to described data simultaneous module.
Further, wherein, described data simultaneous module, be further: for the data to the identical type after assembling and same transmission protocol, carry out simultaneous operation according to customized content described in from described background synchronization administration module, as synchronous success, then the data after synchronous are exported; As synchronously unsuccessful, then continue to carry out simultaneous operation according to described customized content.
In order to solve the problem, present invention also offers a kind of method supporting the eurypalynous real-time data synchronization of multi-protocols, it is characterized in that, comprising:
Receive and store the synchronous customized content of supported data;
Synchronous information scanning carried out to the needs collected and extracts data, then the data of identical type and same transmission protocol being assembled;
According to described customized content, simultaneous operation is carried out to the data after described assembling, then exports the data synchronously.
Further, wherein, described reception the customized content storing supported data synchronous comprise: data type, host-host protocol, setting parameter, scan period, transfer encoding and failure handling scheme.
Further, wherein, the described needs to collecting carry out synchronous information scanning and extract data, then assemble the data of identical type and same transmission protocol, are further:
The needs sent for gathering different passage carry out synchronous information, and judge whether treatment channel occurs data processing is blocked, as occurred, data processing is blocked, then enter wait, and the set time according to setting carries out judging whether treatment channel occurs data processing is blocked again; As do not occurred, data processing is blocked, then perform next step;
Described needs are carried out synchronous information to carry out scanning and extracting data;
For described extraction data, the data of identical type and same transmission protocol are assembled.
Further, wherein, described according to described customized content, simultaneous operation is carried out to the data after described assembling, then export synchronous after data, be further:
To the identical type after assembling and the data of same transmission protocol, carry out simultaneous operation according to described customized content, as synchronous success, then the data after synchronous are exported; As synchronously unsuccessful, then continue to carry out simultaneous operation according to described customized content.
Compared with prior art, the system and method for the eurypalynous real-time data synchronization of support multi-protocols of the present invention reaches following effect:
1) adopt the present invention can carry out data syn-chronization customization to the data type of cooperative enterprise and host-host protocol, realize synchronous;
2) the present invention is adopted can to customize different synchronization policies to the feature of cooperative enterprise;
3) mass data is synchronous to adopt the present invention to support, supports the independence of partner's synchrodata;
4) the present invention is adopted effectively can to improve the synchronous accuracy of data among enterprises, promptness.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram supporting the eurypalynous real-time data synchronization of multi-protocols a kind of described in the embodiment of the present invention one;
Fig. 2 is the method flow diagram supporting the eurypalynous real-time data synchronization of multi-protocols a kind of described in the embodiment of the present invention two;
Fig. 3 is the structured flowchart of data acquisition module in the system described in the embodiment of the present invention one;
Fig. 4 is the schematic flow sheet of step 2021 in the method described in the embodiment of the present invention two.
Embodiment
Some vocabulary is employed to censure specific components in the middle of specification and claim.Those skilled in the art should understand, and hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in acceptable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition, " couple " word comprise directly any at this and be indirectly electrically connected means.Therefore, if describe a first device in literary composition to be coupled to one second device, then represent described first device and directly can be electrically connected at described second device, or be indirectly electrically connected to described second device by other devices or connection means.Specification subsequent descriptions is for implementing better embodiment of the present invention, and right described description is to illustrate for the purpose of rule of the present invention, and is not used to limit scope of the present invention.Protection scope of the present invention is when being as the criterion depending on the claims person of defining.
Below in conjunction with accompanying drawing, the present invention is described in further detail, but not as a limitation of the invention.
As shown in Figure 1, be a kind of system construction drawing supporting the eurypalynous real-time data synchronization of multi-protocols described in the embodiment of the present invention one, comprise: background synchronization administration module 10, data acquisition module 11, data simultaneous module 12; Wherein,
Described background synchronization administration module 10, couples mutually with data simultaneous module 12, for receiving and storing the synchronous customized content of supported data.
Described data acquisition module 11, couple mutually with described data simultaneous module 12, for carrying out synchronous information scanning to the needs collected and extracting data, after then the data of identical type and same transmission protocol being assembled, send to described data simultaneous module 12.
Described data simultaneous module 12, couple mutually with described background synchronization administration module 10 and data acquisition module 11 respectively, for carrying out simultaneous operation to the data after the assembling received according to customized content described in described background synchronization administration module 10, then export the data synchronously.
Particularly, described in the embodiment of the present invention one, background synchronization administration module 10 receives and the customized content storing supported data synchronous includes: data type, host-host protocol, setting parameter, scan period, transfer encoding and failure handling scheme.
Data type refers to the combination of some data values in business, for the present invention, below all can as operand: short multimedia message ticket, IVR ticket, bank card pays ticket, user's load value data, customer consumption record etc.Host-host protocol refers to the network transport protocols of computer, the present invention includes Transmission Control Protocol, udp protocol.Setting parameter refers to needs synchronous attribute to set to data, a wherein part can be selected to carry out synchronously, such as IVR ticket, can set the only synchronous ticket time, ticket user number, ticket number, and not do synchronously the duration of call in IVR ticket.Scan period: the time interval setting of extracting data.Transfer encoding: the coded format during transmission that user is arranged, such as GBK, UTF-8 etc.Failure handling scheme: when synchronization failure, carries out maximum N retry synchronously, if still failed, then this synchronizing channel is set to cloudy plug mark
Particularly, as shown in Figure 3, described in the embodiment of the present invention one, data acquisition module 11 comprises: acquisition process unit 101, scanning extraction unit 102 and data assembling unit 103; Wherein,
Described acquisition process unit 101, couple mutually with described scanning extraction unit 102, the needs sent for gathering different passage carry out synchronous information, and judge whether treatment channel occurs data processing is blocked, as occurred, data processing is blocked, then enter wait, the set time according to setting carries out judging whether treatment channel occurs data processing is blocked again; As do not occurred, data processing is blocked, then described needs are carried out synchronous information and send to described scanning extraction unit 102;
Described scanning extraction unit 102, couple mutually with described acquisition process unit 101 and data assembling unit 103, the described needs sent for receiving described acquisition process unit 101 carry out synchronous information and carry out scanning and extracting data, and the data extracted are sent to described data assembling unit 103;
Described data assembling unit 103, couples mutually with described scanning extraction unit 102, after assembling the data of identical type and same transmission protocol, send to described data simultaneous module 12.
Particularly, in the concrete operations of data simultaneous module 12 described in the embodiment of the present invention one be: for the data to the identical type after assembling and same transmission protocol, simultaneous operation is carried out according to customized content described in from described background synchronization administration module 10, as synchronous success, then the data after synchronous are exported; As synchronously unsuccessful, then continue to carry out simultaneous operation according to described customized content.
As shown in Figure 2, be a kind of method flow diagram supporting the eurypalynous real-time data synchronization of multi-protocols described in the embodiment of the present invention two, the method comprises:
Step 201, receives and stores the synchronous customized content of supported data;
Step 202, carries out synchronous information scanning to the needs collected and extracts data, then assembles the data of identical type and same transmission protocol;
Step 203, carries out simultaneous operation to the data after described assembling according to described customized content, then exports the data synchronously.
Particularly, to receive described in step 201 in the embodiment of the present invention two and the customized content storing supported data synchronous includes: data type, host-host protocol, setting parameter, scan period, transfer encoding and failure handling scheme.
Particularly, in the embodiment of the present invention two, in step 202, concrete operations are:
As shown in Figure 4, step 2021, the needs sent for gathering different passage carry out synchronous information, and judge whether treatment channel occurs data processing is blocked, as occurred, data processing is blocked, then enter wait, the set time according to setting carries out judging whether treatment channel occurs data processing is blocked again; As do not occurred, data processing is blocked, then perform next step (step 2022);
Described needs are carried out synchronous information and carry out scanning and extracting data by step 2022;
Step 2023, after the data of identical type and same transmission protocol being assembled, performs step 203.
Particularly, in the embodiment of the present invention two, step 203 concrete operations are: to the identical type after assembling and the data of same transmission protocol, carry out simultaneous operation according to customized content described in step 201, as synchronous success, then the data after synchronous are exported; As synchronously unsuccessful, then continue to carry out simultaneous operation according to described customized content.
Compared with prior art, the system and method for the eurypalynous real-time data synchronization of support multi-protocols of the present invention reaches following effect:
1) adopt the present invention can carry out data syn-chronization customization to the data type of cooperative enterprise and host-host protocol, realize synchronous;
2) the present invention is adopted can to customize different synchronization policies to the feature of cooperative enterprise;
3) mass data is synchronous to adopt the present invention to support, supports the independence of partner's synchrodata;
4) the present invention is adopted effectively can to improve the synchronous accuracy of data among enterprises, promptness.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
Above-mentioned explanation illustrate and describes some preferred embodiments of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection range of claims of the present invention.