CN103595807B - A kind of data synchronization updating method and device - Google Patents

A kind of data synchronization updating method and device Download PDF

Info

Publication number
CN103595807B
CN103595807B CN201310589715.0A CN201310589715A CN103595807B CN 103595807 B CN103595807 B CN 103595807B CN 201310589715 A CN201310589715 A CN 201310589715A CN 103595807 B CN103595807 B CN 103595807B
Authority
CN
China
Prior art keywords
data
business datum
updated
datum system
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310589715.0A
Other languages
Chinese (zh)
Other versions
CN103595807A (en
Inventor
张冏
胡俊
吴平凡
王焰炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201310589715.0A priority Critical patent/CN103595807B/en
Publication of CN103595807A publication Critical patent/CN103595807A/en
Application granted granted Critical
Publication of CN103595807B publication Critical patent/CN103595807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to data processing field, particularly a kind of data synchronization updating method and device, comprising: when the data monitoring specified type change, preserve the content of described data and the modification information corresponding with described data; Judge whether current business data system has propelling movement authority; When judging that current business data system has propelling movement authority, obtain object business datum system set; Object business datum system set comprises the information of one or more object business datum system; The data changed are carried out processing the generation to be updated data corresponding with object business datum system by the information of the change information that the content according to the data preserved is corresponding with described data and object business datum system; The data to be updated generated are sent to the object business datum system corresponding with it, so that each object business datum system is receiving the laggard row data update process of described data to be updated. The inventive method efficiency height, accuracy are strong, security height.

Description

A kind of data synchronization updating method and device
Technical field
The present invention relates to data processing field, particularly relate to a kind of data synchronization updating method and device.
Background technology
In financial business field, due to the impact of the supervision law between different country or area and country's region factor, it is desired to arrange independent application software system in different country or area. Application software data among systems between different countries and regions is independent of one another, with the business data processing requirement of satisfied locality.
For the business system of large-scale transnational group in branch office of various countries, when unifying when needing the data to a certain type to change, then the process simultaneously carrying out data change between multiple business system can be related to. In prior art, when relating to multiple business systematic unity and carry out operation of data modification, it is necessary to the staff of each country or regional business system manually successively safeguards each system. Maintenance time length, maintenance cost height that this kind of mode needs, safeguard that efficiency is low, and the mode of manual maintenance often makes the mistake rate height.
Summary of the invention
For solving the problems of the technologies described above, embodiments providing a kind of data synchronization updating method and device, it is possible to automatically complete the Data Update between each business datum system with synchronous, it is not necessary to manual maintenance, efficiency height, accuracy are strong, security height.
Technical scheme is as follows:
First aspect according to embodiments of the present invention, discloses a kind of data synchronization updating method, and described method comprises:
When the data monitoring specified type change, preserve the content of described data and the modification information corresponding with described data;
Judge whether current business data system has propelling movement authority;
When judging that current business data system has propelling movement authority, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum system;
The data changed are carried out processing the generation to be updated data corresponding with object business datum system by the information of the change information that the content according to the data preserved is corresponding with described data and described object business datum system;
The data to be updated generated are sent to the object business datum system corresponding with it, so that described each object business datum system is receiving the laggard row data update process of described data to be updated.
In conjunction with a first aspect of the present invention, the present invention has the first possible implementation, and wherein, described method also comprises:
Pre-setting synchronized update parameter, described synchronized update parameter comprises: more new data type, has the information of the business datum system pushing authority, object business datum system set.
In conjunction with the first possible implementation of a first aspect of the present invention and the present invention, the present invention has the 2nd kind of possible implementation, and wherein, the data of monitoring specified type change and comprise:
When data change, obtain the type of the data changed, the data type of the described data changed and the more new data type pre-set being compared, if it is determined that data type is identical, then the data determining to monitor specified type change; Or
The data having an identical type with the more new data type pre-set being monitored, when the data that more new data type that is described and that pre-set has identical type change, then the data determining to monitor specified type change.
In conjunction with the first possible implementation of a first aspect of the present invention and the present invention, the present invention has the third possible implementation, wherein, described judge current business data system whether have push authority comprise:
Obtain the information of current business system, the information of described current business system and the information with the business datum system pushing authority pre-set are compared, if identical, then determines that current business data system has propelling movement authority.
In conjunction with a first aspect of the present invention, the present invention has the 4th kind of possible implementation, wherein, the data changed are carried out processing the one or more step of below the generation data comprise to be updated corresponding with object business datum system by the information of the described change information corresponding with described data according to the content of the data preserved and described object business datum system:
The data changed are carried out data validity inspection;
The data changed are carried out the comparison process of data key values, when the key value of the data changed meets default range of key values, then determines that described data are data to be updated;
The data changed are processed by the system parameter message according to object business datum system, to generate the information corresponding with the system parameter of described object business datum system;
The data changed are processed by the time-zone information according to object business datum system, to generate the information that the time-zone information with described object business datum system meets.
In conjunction with a first aspect of the present invention, the present invention has the 5th kind of possible implementation, and wherein, before the data to be updated generated are sent to the object business datum system corresponding with it, described method also comprises:
Obtain the system state of object business datum system, whether the system state judging described object business datum system is default system state, if, then perform the data to be updated generated are sent to the step before the object business datum system corresponding with it, and by the status indication of data to be updated for pushing state; If not, then by the status indication of data to be updated for postpone propelling movement state.
In conjunction with a first aspect of the present invention, the present invention has the 6th kind of possible implementation, and wherein, described method also comprises:
Receive the data to be updated that other business datum systems send;
Judge described data to be updated from business datum system whether there is propelling movement authority;
When judge described data to be updated from business datum system have push authority time, according to the corresponding relation of the data type pre-set with more new paragon, obtain the more new paragon corresponding with described data to be updated and described data to be updated are carried out update process.
Second aspect according to embodiments of the present invention, discloses a kind of data synchronization updating device, and described device comprises:
Whether monitoring module, change for monitoring the data of specified type;
Preserve module, during for changing when the data monitoring specified type, preserve the content of described data and the modification information corresponding with described data;
Synchronous processing module, for judging whether current business data system has propelling movement authority; When judging that current business data system has propelling movement authority, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum system; The data changed are carried out processing the generation to be updated data corresponding with object business datum system by the information of the change information that the content according to the data preserved is corresponding with described data and described object business datum system; The data to be updated generated are sent to the object business datum system corresponding with it, so that described each object business datum system is receiving the laggard row data update process of described data to be updated.
In conjunction with a second aspect of the present invention, the present invention has the 7th kind of possible implementation, and wherein, described device also comprises:
Arranging module, for pre-setting synchronized update parameter, described synchronized update parameter comprises: more new data type, has the information of the business datum system pushing authority, object business datum system set.
In conjunction with a second aspect of the present invention, the present invention has the 8th kind of possible implementation, and wherein, described device also comprises:
Data Update processing module, for receiving the data to be updated that other business datum systems send; Judge described data to be updated from business datum system whether there is propelling movement authority; When judge described data to be updated from business datum system have push authority time, according to the corresponding relation of the data type pre-set with more new paragon, obtain the more new paragon corresponding with described data to be updated and described data to be updated are carried out update process.
The useful effect of an aspect of the embodiment of the present invention is: when the data monitoring specified type change, and preserves the content of described data and the modification information corresponding with described data; Judge whether current business data system has propelling movement authority; When judging that current business data system has propelling movement authority, obtaining object business datum system set, the data changed are carried out processing the generation to be updated data corresponding with object business datum system by the change information corresponding with described data according to the content of the data preserved and the information of described object business datum system; The data to be updated generated are sent to the object business datum system corresponding with it, so that described each object business datum system is receiving the laggard row data update process of described data to be updated. In the present invention, owing to pre-setting the type of more new data, the business datum system information with propelling movement authority, object business datum system information, by the monitoring of the data to specified type, then can automatically trigger when monitoring data and change and carry out data syn-chronization propelling movement process by having the business datum system pushing authority to other business datum systems, improve the efficiency of data synchronization updating, and ensure that accuracy and the security of data synchronization updating.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The data synchronization updating method first embodiment schematic diagram that Fig. 1 provides for the embodiment of the present invention;
Data synchronization updating method the 2nd embodiment schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The data synchronization updating device schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The data synchronization updating method that Fig. 4 provides for the embodiment of the present invention and application of installation scene schematic diagram.
Embodiment
For solving the problems of the technologies described above, embodiments providing a kind of data synchronization updating method and device, it is possible to automatically complete the Data Update between each business datum system with synchronous, it is not necessary to manual maintenance, efficiency height, accuracy are strong, security height.
In order to make those skilled in the art understand the technical scheme in the present invention better, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, should belong to the scope of protection of the invention.
See Fig. 1, it it is the data synchronization updating method first embodiment schematic diagram that the embodiment of the present invention provides.
The Data Update that data synchronization updating method provided by the invention can be applied between each data service system is with synchronous. Specifically, data synchronization updating method provided by the invention can be applied in data synchronization updating device, and described data synchronization updating device can be arranged in each business datum system. When any one has the data generation renewal of the business datum system pushing authority, then can realize the automatically synchronous and renewal of the data of each business datum system.
S101, when the data monitoring specified type change, preserves the content of described data and the modification information corresponding with described data.
In embodiments of the present invention, data synchronization updating device can comprise and arranges module, and for pre-setting synchronized update parameter, described synchronized update parameter comprises: more new data type, the information with the business datum system pushing authority, object business datum system set.
During specific implementation, user or system can pre-set the type of more new data, are used to specify and carry out monitoring and the type of synchronous data. Such as, it is possible to pre-set and carry out monitoring and the data type of synchronized update is system country code parameter, language parameter, account class shape parameter etc.
User or system can also arrange the information having the business datum system pushing authority and have the business datum system pushing authority described in preservation. Wherein, having the business datum system pushing authority is the initiator of data synchronization updating, only has the business datum system with propelling movement authority just to have and carries out data-pushing and synchronous authority to other business datum systems. User or system can also have the business system pushing authority by setting change, and preserve the information with the business datum system pushing authority after change. Wherein, there are title, No. ID, one or more in code information that the information of business datum system pushing authority can comprise business datum system.Such as, in banking business data system, it is possible to specify the initiator with branch and the Data Update pushing authority is " Singapore Branch, Ltd. ", it is possible to point line number preserving Singapore Branch, Ltd. is as having the business datum system information pushing authority.
Further, user or system can also arrange object business datum system set, and wherein, described object business datum system set comprises the information of one or more object business datum system. That is, user or system can push and synchronous scope by specific data in object business datum system set. Such as, can specific data propelling movement be region, Asia-Pacific branch with synchronous scope in object data service system set, and in data service system set, preserve the information of each object business datum system, such as can comprise point line number of each branch (such as Tokyo branch, Soul branch, Bangkok branch etc.), time-zone information, system parameter message etc.
In a kind of possible implementation, the data of monitoring specified type change and comprise: when data change, obtain the type of the data changed, the data type of the described data changed and the more new data type pre-set are compared, if it is determined that data type is identical, then the data determining to monitor specified type change. Such as, the data type pre-setting renewal is system country code parameter, language parameter and account class shape parameter, when increase when system has monitored data, delete, amendment etc. operates, then obtain the data type changed, whether the type of data judging change is one of system country code parameter, language parameter and account class shape parameter, if it does, then determine that the data monitoring specified type change; If, then any operation can not do not triggered.
In the implementation of another possibility, the data of monitoring specified type change and comprise: the data having an identical type with the more new data type pre-set monitored, when the data that more new data type that is described and that pre-set has identical type change, then the data determining to monitor specified type change. In this implementation, it is different from former implementation, only the data of specified type is monitored. Such as only monitoring for system country code parameter, language parameter, account class shape parameter what pre-set, when described data change, then the data determining to monitor specified type change.
When the data monitoring specified type change, preserve the content of described data and the modification information corresponding with described data. Wherein, the modification information that data are corresponding can comprise the key value etc. of change time of business datum, change state (such as newly-increased, amendment, deletion etc.), business datum.
S102, judges whether current business data system has propelling movement authority.
During specific implementation, the information that there is the business datum system pushing authority owing to pre-setting, when the data monitoring specified type change, then obtain the information of current business system, the information of described current business system and the information with the business datum system pushing authority pre-set are compared, if identical, then determine that current business data system has propelling movement authority. Such as, when pre-set have push authority bank be Singapore Branch, Ltd., when the data of the specified type of Singapore Branch, Ltd. change, system can obtain point line number of Singapore Branch, Ltd., compare with the bank pushing authority that has pre-set, identical through comparing discovery information, then determine that current business data system and Singapore Branch, Ltd. have propelling movement authority.Such as, when the data of the specified type of Tokyo branch change, data synchronization updating device (is arranged in Tokyo branch system) point line number that can obtain Tokyo branch, compare with a point line number for the Singapore Branch, Ltd. pre-set, judgement information is inconsistent, then can not initiate synchronized push, namely can not carry out follow-up propelling movement process.
S103, when judging that current business data system has propelling movement authority, obtains object business datum system set; Described object business datum system set comprises the information of one or more object business datum system.
During specific implementation, it is possible to pre-set object business datum system set and be used to specify data-pushing and synchronous scope. When judge current business data system have push authority time, then obtain the information of object business datum system, such as, can comprise the title of service data information, ID, system parameter, time-zone information etc.
S104, the data changed are carried out processing the generation to be updated data corresponding with object business datum system by the change information corresponding with described data according to the content of the data preserved and the information of described object business datum system.
During specific implementation, the data changed are carried out the process generation to be updated data corresponding with object business datum system by the information of the described change information corresponding with described data according to the content of the data preserved and described object business datum system can comprise following one or more step:
(1) data changed are carried out data validity inspection. Wherein, the validity of data is checked, it is possible to pre-set validity condition, according to default validity conditional log according to verifying.
(2) data changed are carried out the comparison process of data key values, when the key value of the data changed meets default range of key values, then determines that described data are data to be updated. Such as, pre-setting range of key values, described range of key values can comprise between the initiator of key value, it is also possible to is the set comprising effective key value. The data changed are carried out data key values and compares process, namely judge in whether its key value size is in default key value initiator or judge whether described key value is the key value in effective key value set. If the key value of described data meets default range of key values, then determine that it is the data to be updated that can push to other systems, and it is performed other respective handling.
(3) data changed are processed by system parameter message according to object business datum system, to generate the information corresponding with the system parameter of described object business datum system. During specific implementation, according to the information of the object business datum system determined, the data changed are processed into the information that the system parameter of object business datum system is corresponding. Such as, when generating data to be updated, it is possible to such as can comprise point information such as line number, mechanism number according to the system parameter of object business datum system and generate the information corresponding with each object data system. Namely the data to be updated generated are corresponding with each object business datum system, when each object business datum system receives data to be updated, then without the need to data to be updated are carried out special processing, namely can upgrade according to predetermined more new paragon.
(4) data changed are processed by time-zone information according to object business datum system, to generate the information that the time-zone information with described object business datum system meets.
Owing to the region at each business datum system place exists time zones differences, the working hour is inconsistent, in order to ensure the accuracy of more new data, in embodiments of the present invention, it is possible to the data changed processed according to time-zone information. In embodiments of the present invention, time-piece is set, saves the time-zone information of each business datum system. Time-piece is used for judging when specific data (such as system parameter) upgrades, each business datum system local specific data real entry-into-force time, ageing for recording parameters renewal. When generating data to be updated, then the time-zone information according to object business datum system is needed the data changed to be processed, to generate the information that the time-zone information with described object business datum system meets. Such as, when interest rate parameter changes, owing to needing the time carrying out specifying to upgrade, and the time zone upgrading the business datum system that namely initiator has propelling movement authority is likely inconsistent with the time zone of other business datum systems, at this moment, when generating the time of other object business datum systems, then need to consider the impact in time zone, convert thereof into the time that language object business datum system is corresponding, so that interest rate parameter comes into force according to the different time in the business datum system of different areas. Meanwhile, time-piece can also control the accounting date of local system.
The data to be updated generated are sent to the object business datum system corresponding with it, so that each object business datum system is receiving the laggard row data update process of described data to be updated by S105.
After generating the data to be updated corresponding with each object business datum system, namely according to the information of each object business datum system comprised in object business datum system, to its synchronization replication data. After each object business datum system receives the to be updated data corresponding with it, then carry out Data Update process. Wherein, it is possible to pre-setting the corresponding relation of data type with more new paragon, each object data service system, after receiving data to be updated, then can upgrade according to the more new paragon of correspondence according to the type of data to be updated. Such as, more new paragon can comprise more new paragon and night more new paragon or upgrade immediately or postpone more new paragon etc. on business day. For descriptive information or Back ground Informations such as similar country code parameter, language parameter, then the mode that can upgrade or upgrade immediately corresponding business day. For interest rate parameter can corresponding night more new paragon or postpone more new paragon. Wherein, the actual entry-into-force time that more new paragon specifies parameter or Data Update to be updated is postponed.
In the first embodiment of the invention, owing to pre-setting the type of more new data, the business datum system information with propelling movement authority, object business datum system information, by the monitoring of the data to specified type, then can automatically trigger when monitoring data and change and carry out data syn-chronization propelling movement process by having the business datum system pushing authority to other business datum systems, improve the efficiency of data synchronization updating, and judge ensure that accuracy and the security of data synchronization updating by pushing authority.
See Fig. 2, it it is data synchronization updating method the 2nd embodiment schematic diagram that the embodiment of the present invention provides.
The data synchronization updating method provided in second embodiment of the invention can be applied in each business datum system, described business datum system can be the business datum system with propelling movement authority specified, it is also possible to be that other do not have the business datum system pushing authority.
S201, pre-sets synchronized update parameter.
Wherein, arrange synchronized update parameter can comprise:
(1) information that there is the business datum system pushing authority and there is described in preservation the business datum system pushing authority is pre-set. Such as can arrange the initiator with branch and the Data Update pushing authority is " Singapore Branch, Ltd. ", it is possible to point line number preserving Singapore Branch, Ltd. is as having the business datum system information pushing authority.
(2) more new data type is pre-set. Such as can pre-set and carry out monitoring and the data type of synchronized update is system country code parameter, language parameter, account class shape parameter etc.
(3) pre-set the range of transmission of more new data, namely object business datum system is set, such as Asia-Pacific branch.
(4) mode of renewal is pre-set. The mode upgraded can comprise business day more new paragon, night more new paragon, come into force more new paragon, postpone the more new paragon etc. that comes into force.
After being provided with synchronized update parameter, when the specified type with the business datum system (such as Singapore Branch, Ltd.) pushing authority specified business datum (such as country code parameter, language parameter, one or more in account class shape parameter) change time, then the data synchronization updating device of the present invention is sending data to be updated to the object business datum system (such as each Asia-Pacific branch) specified, and upgrades according to the more new paragon pre-set by each object business datum system acceptance data to be updated.
S202, whether the data of monitoring specified type change.
In this embodiment of the present invention, the PMCG table in quantitative check system database, with triggering synchronous mechanism, can be kept in PROC table through the data (data of the specified type namely monitored) differentiated. Wherein, PROC table is used for the data content of storage change and the modification information corresponding with described data. Wherein, the modification information that data are corresponding can comprise the key value of data, change time, change state etc. In embodiments of the present invention, whether change by monitoring the data of specified type, the trigger data replicate run when data change, with by appointing system namely have push authority system change in real time, accurately preserve, to ensure the accuracy to other system propelling datas.
S203, when the data monitoring specified type change, preserves the content of described data and the modification information corresponding with described data.
S204, judges whether current business data system has propelling movement authority.
During specific implementation, owing to data synchronization updating device provided by the invention can be arranged in any business datum system, and the data synchronization updating device in each business datum system is all identical. Therefore, repeat to push to ensure security, the accuracy of more new data and avoid, need to judge whether current business data system has propelling movement authority only there is the system pushing authority and just can initiate the operation to other business datum system propelling datas. Such as, current business data system is the business datum system of Tokyo branch, and the business datum system with propelling movement authority that system is specified is the business datum system of Singapore Branch, Ltd., then when the business datum of the specified type of Tokyo branch occurs to upgrade, then can not trigger the synchronized update of business datum to other business datum systems and transmission, only carry out Data Update in Tokyo branch and come into force.
S205, when judging that current business data system has propelling movement authority, obtains object business datum system set.
Wherein, object business datum system set contains the range of transmission of more new data. In order to avoid data repeat push, when the business datum system that the current business datum system with propelling movement authority specified is Singapore Branch, Ltd., after Singapore Branch, Ltd. judges oneself to have propelling movement authority, and the range of transmission of the more new data that object business datum system is specified is region, Asia-Pacific branch, owing to the specific data of Singapore Branch, Ltd. upgrades, then the data synchronization updating device in the present invention then can be skipped or omitted data changes and initiates Hang Ji Singapore Branch, Ltd. automatically, and to other regions, Asia-Pacific except Singapore Branch, Ltd. except propelling datas in lines.
S206, the data changed are carried out processing the generation to be updated data corresponding with object business datum system by the change information corresponding with described data according to the content of the data preserved and the information of described object business datum system.
Specific implementation can with reference to the processing mode of previous embodiment.
The data to be updated generated are sent to the object business datum system corresponding with it by S207.
Mentioning above, data synchronization updating method provided by the invention and device can be applied in any business datum system, therefore further comprises the reception to the data to be updated from other business datum systems and treating processes.
After step S207, data-updating method provided by the invention can also comprise:
S208, receives the data to be updated that other business datum systems send.
S209, judge described data to be updated from business datum system whether there is propelling movement authority.
In this embodiment, the business datum system receiving data to be updated also needs to carry out authority judgement process. During specific implementation, the business datum system receiving data to be updated needs to judge whether the business datum system that namely Data Update initiator sends data to be updated has propelling movement authority. Specifically, the business datum system receiving data to be updated is according to the business datum system information with propelling movement authority pre-set, the information sending the business datum system of data to be updated and the business datum system information pushing authority that has preset are compared, if identical, then the business datum system determining to send data to be updated has propelling movement authority. If it is determined that the business datum system sending data to be updated has propelling movement authority, then enter step S210. Otherwise, the business datum system receiving data to be updated then can not preserve data to be updated, abandons the business datum of reception. Thus can preserve the security of data synchronization updating.
S210, when judge described data to be updated from business datum system have push authority time, according to the corresponding relation of the data type pre-set with more new paragon, obtain the more new paragon corresponding with described data to be updated and described data to be updated are carried out update process.
Such as, more new paragon can comprise more new paragon and night more new paragon or upgrade immediately or postpone more new paragon etc. on business day. For descriptive information or Back ground Informations such as similar country code parameter, language parameter, then the mode that can upgrade or upgrade immediately corresponding business day. For interest rate parameter can corresponding night more new paragon or postpone more new paragon. Wherein, the actual entry-into-force time that more new paragon specifies parameter or Data Update to be updated is postponed.
Further, after business datum system carries out update process, it is necessary to record and return more new state to data receiver to be updated, more new state comprises and is updated successfully or upgrades failure. Each business datum system all can display data more new state, and display reminding information. Determine the need of again asking to send more new data or seek technical support by the business personnel of each business datum system.
In second embodiment of the invention, by monitoring the specified type data of specified services data system, when it changes, then according to the object business datum system information pre-set, the automatic renewal completing data is with synchronous.Method provided by the invention can be implemented in the change of any system, namely can realize the change of other business datum systems, and the data of each business datum system are separate, and meets the requirement of local supervision. Method provided by the invention by achieving the automatic synchronized update of data to the setting of data type, scope, authority, it is not necessary to artificial repeated labor, and ensure that the efficiency of Data Update, security and accuracy.
The data synchronization updating device schematic diagram that Fig. 3 provides for the embodiment of the present invention.
Second aspect according to embodiments of the present invention, discloses a kind of data synchronization updating device, comprising:
Whether monitoring module 301, change for monitoring the data of specified type.
Preserve module 302, during for changing when the data monitoring specified type, preserve the content of described data and the modification information corresponding with described data.
Synchronous processing module 303, for judging whether current business data system has propelling movement authority; When judging that current business data system has propelling movement authority, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum system; The data changed are carried out processing the generation to be updated data corresponding with object business datum system by the information of the change information that the content according to the data preserved is corresponding with described data and described object business datum system; The data to be updated generated are sent to the object business datum system corresponding with it, so that described each object business datum system is receiving the laggard row data update process of described data to be updated.
Further, described device also comprises:
Arranging module, for pre-setting synchronized update parameter, described synchronized update parameter comprises: more new data type, has the information of the business datum system pushing authority, object business datum system set.
Further, monitoring module is specifically for when data change, obtain the type of the data changed, the data type of the described data changed and the more new data type pre-set are compared, if it is determined that data type is identical, then the data determining to monitor specified type change.
Further, described monitoring module is specifically for monitoring the data having an identical type with the more new data type pre-set, when the data that more new data type that is described and that pre-set has identical type change, then the data determining to monitor specified type change.
Further, described synchronous processing module comprises the first judging unit, the first acquiring unit, data processing unit, transmission unit, wherein, described first judging unit specifically for:
Obtain the information of current business system, the information of described current business system and the information with the business datum system pushing authority pre-set are compared, if identical, then determines that current business data system has propelling movement authority.
Further, described synchronous processing module comprises the first judging unit, the first acquiring unit, data processing unit, transmission unit, and wherein said data processing unit comprises:
First data processing subelement, for carrying out data validity inspection to the data changed;
2nd data processing subelement, for the data changed carry out the comparison process of data key values, when the key value of the data changed meets default range of key values, then determines that described data are data to be updated;
3rd data processing subelement, for processing the data changed according to the system parameter message of object business datum system, to generate the information corresponding with the system parameter of described object business datum system;
4th data processing subelement, for processing the data changed according to the time-zone information of object business datum system, to generate the information that the time-zone information with described object business datum system meets.
Further, described device also comprises:
2nd judging unit, for obtaining the system state of object business datum system, whether the system state judging described object business datum system is default system state, if, then enter transmission unit, and by the status indication of data to be updated for pushing state; If not, then by the status indication of data to be updated for postpone propelling movement state.
Further, described device also comprises:
Data Update processing module, for receiving the data to be updated that other business datum systems send; Judge described data to be updated from business datum system whether there is propelling movement authority; When judge described data to be updated from business datum system have push authority time, according to the corresponding relation of the data type pre-set with more new paragon, obtain the more new paragon corresponding with described data to be updated and described data to be updated carried out update process
See Fig. 4, the data synchronization updating method provided for the embodiment of the present invention and application of installation scene schematic diagram.
Apply in scene the present invention one, comprise multiple business datum system, wherein business datum system 1 does not have the business datum system pushing authority, and business datum system 2,3,4 is the business datum system and object business datum system that do not have and push authority. Data synchronization updating device provided by the invention can be arranged in each business datum system. When data synchronization updating device preserves the data of change when the data monitoring specified type change, and when judging that current business data system is the default business datum system with propelling movement authority, then processing the data changed to generate the to be updated data corresponding with object business datum system, send is to each object business datum system. Thus, it is achieved that the synchronized update between each business datum system. Certainly, it will be understood by those skilled in the art that, it is possible to there is the system pushing authority by user or system variation.
It should be noted that, herein, the such as relational terms of first and second grades and so on is only used for separating an entity or operation with another entity or operational zone, and not necessarily requires or imply to there is any this kind of actual relation or sequentially between these entities or operation. And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, so that comprise the process of a series of key element, method, article or equipment not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise the key element intrinsic for this kind of process, method, article or equipment. When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The present invention can describe in the general context of computer executable instructions, such as programmodule.Generally, programmodule comprises execution particular task or realizes the routine of particular abstract data type, program, object, assembly, data structure etc. Can also practice in a distributed computing environment, in these distributed computing environment, execute the task by the remote processing devices being connected by network of communication. In a distributed computing environment, programmodule can be arranged in the local and remote computer-readable storage medium comprising storing device.
Each embodiment in this specification sheets all adopts the mode gone forward one by one to describe, and what between each embodiment, identical similar part illustrated see, each embodiment emphasis mutually is the difference with other embodiments. Especially, for device embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates see the part of embodiment of the method. Device embodiment described above is only schematic, the wherein said module illustrated as separating component can or may not be physically separates, parts as module display can be or may not be physics module, namely can be positioned at a place, or can also be distributed in multiple network module. Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme. Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The above is only the specific embodiment of the present invention; it is noted that for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a data synchronization updating method, it is characterised in that, described method comprises:
When the data monitoring specified type change, preserve the content of described data and the modification information corresponding with described data;
Judge whether current business data system has propelling movement authority;
When judging that current business data system has propelling movement authority, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum system;
The data changed are carried out processing the generation to be updated data corresponding with object business datum system by the information of the modification information that the content according to the data preserved is corresponding with described data and described object business datum system;
The data to be updated generated are sent to the object business datum system corresponding with it, so that each object business datum system is receiving the laggard row data update process of described data to be updated;
Wherein, the data changed are carried out processing the one or more step of below the generation data comprise to be updated corresponding with object business datum system by the information of the described modification information corresponding with described data according to the content of the data preserved and described object business datum system:
The data changed are carried out data validity inspection;
The data changed are carried out the comparison process of data key values, when the key value of the data changed meets default range of key values, then determines that described data are data to be updated;
The data changed are processed by the system parameter message according to object business datum system, to generate the information corresponding with the system parameter of described object business datum system;
The data changed are processed by the time-zone information according to object business datum system, to generate the information that the time-zone information with described object business datum system meets.
2. method according to claim 1, it is characterised in that, described method also comprises:
Pre-setting synchronized update parameter, described synchronized update parameter comprises: more new data type, has the information of the business datum system pushing authority, object business datum system set.
3. method according to claim 1 and 2, it is characterised in that, the data of monitoring specified type change and comprise:
When data change, obtain the type of the data changed, the data type of the described data changed and the more new data type pre-set being compared, if it is determined that data type is identical, then the data determining to monitor specified type change; Or
The data having an identical type with the more new data type pre-set being monitored, when the data that more new data type that is described and that pre-set has identical type change, then the data determining to monitor specified type change.
4. method according to claim 1 and 2, it is characterised in that, described judge current business data system whether have push authority comprise:
Obtain the information of current business system, the information of described current business system and the information with the business datum system pushing authority pre-set are compared, if identical, then determines that current business data system has propelling movement authority.
5. method according to claim 1, it is characterised in that, before the data to be updated generated are sent to the object business datum system corresponding with it, described method also comprises:
Obtain the system state of object business datum system, whether the system state judging described object business datum system is default system state, if, then perform the step that the data to be updated generated are sent to the object business datum system corresponding with it, and by the status indication of data to be updated for pushing state; If not, then by the status indication of data to be updated for postpone propelling movement state.
6. method according to claim 1, it is characterised in that, described method also comprises:
Receive the data to be updated that other business datum systems send;
Judge described data to be updated from business datum system whether there is propelling movement authority;
When judge described data to be updated from business datum system have push authority time, according to the corresponding relation of the data type pre-set with more new paragon, obtain the more new paragon corresponding with described data to be updated and described data to be updated are carried out update process.
7. a data synchronization updating device, it is characterised in that, described device comprises:
Whether monitoring module, change for monitoring the data of specified type;
Preserve module, during for changing when the data monitoring specified type, preserve the content of described data and the modification information corresponding with described data;
Synchronous processing module, for judging whether current business data system has propelling movement authority; When judging that current business data system has propelling movement authority, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum system; The data changed are carried out processing the generation to be updated data corresponding with object business datum system by the information of the modification information that the content according to the data preserved is corresponding with described data and described object business datum system;The data to be updated generated are sent to the object business datum system corresponding with it, so that described each object business datum system is receiving the laggard row data update process of described data to be updated; Wherein, the data changed are carried out processing the one or more step of below the generation data comprise to be updated corresponding with object business datum system by the information of the described modification information corresponding with described data according to the content of the data preserved and described object business datum system: the data changed are carried out data validity inspection; The data changed are carried out the comparison process of data key values, when the key value of the data changed meets default range of key values, then determines that described data are data to be updated; The data changed are processed by the system parameter message according to object business datum system, to generate the information corresponding with the system parameter of described object business datum system; The data changed are processed by the time-zone information according to object business datum system, to generate the information that the time-zone information with described object business datum system meets.
8. device according to claim 7, it is characterised in that, described device also comprises:
Arranging module, for pre-setting synchronized update parameter, described synchronized update parameter comprises: more new data type, has the information of the business datum system pushing authority, object business datum system set.
9. device according to claim 7, it is characterised in that, described device also comprises:
Data Update processing module, for receiving the data to be updated that other business datum systems send; Judge described data to be updated from business datum system whether there is propelling movement authority; When judge described data to be updated from business datum system have push authority time, according to the corresponding relation of the data type pre-set with more new paragon, obtain the more new paragon corresponding with described data to be updated and described data to be updated are carried out update process.
CN201310589715.0A 2013-11-20 2013-11-20 A kind of data synchronization updating method and device Active CN103595807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310589715.0A CN103595807B (en) 2013-11-20 2013-11-20 A kind of data synchronization updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310589715.0A CN103595807B (en) 2013-11-20 2013-11-20 A kind of data synchronization updating method and device

Publications (2)

Publication Number Publication Date
CN103595807A CN103595807A (en) 2014-02-19
CN103595807B true CN103595807B (en) 2016-06-15

Family

ID=50085786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310589715.0A Active CN103595807B (en) 2013-11-20 2013-11-20 A kind of data synchronization updating method and device

Country Status (1)

Country Link
CN (1) CN103595807B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156094B (en) * 2015-04-01 2019-09-17 阿里巴巴集团控股有限公司 A kind of the teledata synchronous method and device of database
CN105868361A (en) * 2016-03-29 2016-08-17 中国银行股份有限公司 Data updating method and device
CN107295032B (en) * 2016-03-30 2020-12-04 阿里巴巴集团控股有限公司 Data synchronization method and equipment for data center
CN107295043B (en) * 2016-03-31 2021-02-02 阿里巴巴集团控股有限公司 Method and equipment for migrating users
CN106021349A (en) * 2016-05-09 2016-10-12 中国银行股份有限公司 A foreign exchange data submitting method and device
CN105864865B (en) * 2016-05-12 2019-09-17 Tcl集团股份有限公司 A kind of autosynchronous control method of electric heater temperature and system
CN107395384A (en) 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 Versions of data comparison method and device between across time zone website
CN107959699A (en) * 2016-10-18 2018-04-24 中车株洲电力机车研究所有限公司 A kind of WebSocket data delivery systems and method based on Stream Processing
CN106921733B (en) * 2017-02-08 2020-08-14 阿里巴巴集团控股有限公司 Cluster notification pushing method and device and electronic equipment
CN107168714A (en) * 2017-05-24 2017-09-15 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the storage device of system update
CN107391620A (en) * 2017-07-06 2017-11-24 天脉聚源(北京)传媒科技有限公司 A kind of method and device for handling collaboration update abnormal
CN109857747B (en) * 2018-12-18 2021-07-13 百度在线网络技术(北京)有限公司 Data synchronous updating method, system and computer equipment
CN111984661B (en) * 2020-08-20 2023-09-19 中国银行股份有限公司 Data uploading method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1225511A1 (en) * 1999-04-22 2002-07-24 Cai Co., Ltd. Method and system for file management in distributed environment
CN103077453A (en) * 2012-12-31 2013-05-01 南京烽火星空通信发展有限公司 Method and system for analyzing data by multiple-people cooperative work
CN103281313A (en) * 2013-05-14 2013-09-04 成都交大光芒科技股份有限公司 Distribution-based authority management method for rail transportation integrated monitoring and controlling system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1225511A1 (en) * 1999-04-22 2002-07-24 Cai Co., Ltd. Method and system for file management in distributed environment
CN103077453A (en) * 2012-12-31 2013-05-01 南京烽火星空通信发展有限公司 Method and system for analyzing data by multiple-people cooperative work
CN103281313A (en) * 2013-05-14 2013-09-04 成都交大光芒科技股份有限公司 Distribution-based authority management method for rail transportation integrated monitoring and controlling system

Also Published As

Publication number Publication date
CN103595807A (en) 2014-02-19

Similar Documents

Publication Publication Date Title
CN103595807B (en) A kind of data synchronization updating method and device
US9176728B1 (en) Global software deployment/remediation management and associated analytics
CN111399873B (en) Model updating method and device
CN105487980B (en) The method and device that repairing applications are operating abnormally
CN111352759B (en) Alarm root cause judging method and device
CN109840262B (en) Data statistical method and related device
CN103019879A (en) Method and system for processing crash information of browser
CN110555150B (en) Data monitoring method, device, equipment and storage medium
CN103716384A (en) Method and device for realizing cloud storage data synchronization in cross-data-center manner
US9031905B2 (en) Data synchronization
CN105426128A (en) Index maintenance method and device
CN105069138A (en) Association analysis system and method
CN107846322A (en) A kind of monitoring system of self-service device
CN104486393A (en) Resource configuration and recycling method and resource configuration and recycling system
CN113032281B (en) Method and device for acquiring code coverage rate in real time
CN116149713B (en) Program upgrading method and device for all-level equipment under tree-type heterogeneous network
CN109240916A (en) Information output controlling method, device and computer readable storage medium
CN109426514A (en) Automatization of service dispositions method, device, electronic equipment and storage medium
CN111385613B (en) Television system repairing method, storage medium and application server
CN110852571A (en) House resource management method for franchisee, computer-readable storage medium, and server
CN106204031A (en) card application processing method and device
CN105100205A (en) System updating method, server and electronic equipment
CN111488117A (en) Method, electronic device, and computer-readable medium for managing metadata
CN115061947A (en) Resource management method, device, equipment and storage medium
US20170366567A1 (en) Methods and apparatuses for obtaining and delivering mobile terminal security information based on a cloud service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant