CN103595807A - Data synchronous updating method and device - Google Patents

Data synchronous updating method and device Download PDF

Info

Publication number
CN103595807A
CN103595807A CN201310589715.0A CN201310589715A CN103595807A CN 103595807 A CN103595807 A CN 103595807A CN 201310589715 A CN201310589715 A CN 201310589715A CN 103595807 A CN103595807 A CN 103595807A
Authority
CN
China
Prior art keywords
data
business datum
updated
change
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.)
Granted
Application number
CN201310589715.0A
Other languages
Chinese (zh)
Other versions
CN103595807B (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

Images

Abstract

The invention relates to the field of date processing, in particular to a data synchronous updating method and device. The data synchronous updating method comprises the steps that when data of the appointed type change, the content of the data and change information corresponding to the data are stored; whether a current service data system has the pushing permission or not is judged; when the current service data system has the pushing permission, a target service data system set is obtained, wherein the target service data system set comprises information of one or more target service data systems; the changed data are processed according to the stored content of the data, the change information corresponding to the data, and the information of the target service data systems, and data to be updated are generated, wherein the data to be updated correspond to the target service data systems; the generated data to be updated are sent to the corresponding target service data systems so that the target service data systems can update and process the data after receiving the data to be updated. The data synchronous updating method is high in efficiency, accuracy and safety performance.

Description

A kind of data synchronization updating method and apparatus
Technical field
The present invention relates to data processing field, particularly relate to a kind of data synchronization updating method and apparatus.
Background technology
In financial business field, due to the impact of the Supervision Legal between country variant or area and national region factor, require, at country variant or area, independently application software system is set.Between the application software system between different countries and regions, data are independent of one another, to meet local business data processing requirement.
Take large-scale transnational group is example in the operation system of various countries branch company, in the time need to unifying to change to the data of a certain type, can relate to the processing of simultaneously carrying out data change between a plurality of operation systems.In prior art, when relating to a plurality of operation system unifications and carry out operation of data modification, need the staff of the operation system of each country manually successively to safeguard each system.Preventive maintenance time that this mode needs is long, maintenance cost is high, maintenance efficiency is low, and the mode of manual maintenance to tend to the rate of making the mistake high.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of data synchronization updating method and apparatus, can automatically complete Data Update between each business datum system and synchronize, and without manual maintenance, efficiency is high, accuracy is strong, safe.
Technical scheme is as follows:
According to the first aspect of the embodiment of the present invention, a kind of data synchronization updating method is disclosed, described method comprises:
When monitoring the data of specified type and 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 judgement current business data system has the authority of propelling movement, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum systems;
According to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system, the data that change are processed to the generation to be updated data corresponding with object business datum system;
The data to be updated that generate 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 processing of described data to be updated.
In conjunction with a first aspect of the present invention, the present invention has the implementation that the first is possible, and wherein, described method also comprises:
Set in advance synchronous undated parameter, described synchronous undated parameter comprises: new data type more, has the information of the business datum system that pushes authority, object business datum system set.
In conjunction with a first aspect of the present invention and the possible implementation of the first of the present invention, the present invention has the possible implementation of the second, and wherein, the data of monitoring specified type change and comprise:
When data change, obtain the type of the data that change, the data type of the described data that change and the more new data type setting in advance are compared, if judgement data type is identical, determine that the data that monitor specified type change; Or
The data more new data type with setting in advance to same type are monitored, and when the described data that have same type with more new data type that set in advance change, determine that the data that monitor specified type change.
In conjunction with a first aspect of the present invention and the possible implementation of the first of the present invention, the present invention has the third possible implementation, wherein, describedly judges whether current business data system has and pushes authority and comprise:
Obtain the information of current business system, the information of described current business system and the information with the business datum system that pushes authority setting in advance are compared, if identical, determine 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, describedly according to the information of the content of the data of preserving, the change information corresponding with described data and described object business datum system, the data that change are processed to data to be updated corresponding to generation and object business datum system and comprise following one or more step:
The data that change are carried out to data validity inspection;
The data that change are carried out to the relatively processing of data key assignments, when the key assignments of the data that change meets default range of key values, determine that described data are data to be updated;
According to the system parameter message of object business datum system, the data that change are processed, to generate the information corresponding with the system parameters of described object business datum system;
According to the time-zone information of object business datum system, the data that change are processed the information meeting with the time-zone information generating with described object business datum system.
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 that generate are sent to the object business datum system corresponding with it, described method also comprises:
Obtain the system mode of object business datum system, whether the system mode that judges described object business datum system is default system mode, if, carry out the data to be updated that generate be 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, by the status indication of data to be updated, be delay 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 the described data to be updated of judgement from business datum system have while pushing authority, according to the corresponding relation of the data type setting in advance and update mode, obtain the update mode corresponding with described data to be updated described data to be updated are upgraded to processing.
According to the second aspect of the embodiment of the present invention, a kind of data synchronization updating device is disclosed, described device comprises:
Whether monitoring module, change for monitoring the data of specified type;
Preserve module, for when monitoring the data of specified type and change, 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 judgement current business data system has the authority of propelling movement, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum systems; According to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system, the data that change are processed to the generation to be updated data corresponding with object business datum system; The data to be updated that generate 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 processing 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:
Module is set, and for setting in advance synchronous undated parameter, described synchronous undated parameter comprises: new data type more, has the information of the business datum system that pushes 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, the data to be updated that send for receiving other business datum systems; Judge described data to be updated from business datum system whether there is propelling movement authority; When the described data to be updated of judgement from business datum system have while pushing authority, according to the corresponding relation of the data type setting in advance and update mode, obtain the update mode corresponding with described data to be updated described data to be updated are upgraded to processing.
The beneficial effect of an aspect of the embodiment of the present invention is: when monitoring the data of specified type and 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 judgement current business data system has the authority of propelling movement, obtain object business datum system set, according to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system, the data that change are processed to the generation to be updated data corresponding with object business datum system; The data to be updated that generate 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 processing of described data to be updated.In the present invention, owing to having set in advance more the type of new data, having there is the business datum system information, the object business datum system information that push authority, by the monitoring to the data of specified type, when monitoring data and change, can automatically trigger by thering is the business datum system that pushes authority and carry out the processing of data synchronized push to other business datum systems, improve the efficiency of data synchronization updating, and guaranteed accuracy and the fail safe 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, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Data synchronization updating method the first embodiment schematic diagram that Fig. 1 provides for the embodiment of the present invention;
Data synchronization updating method the second 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 and apparatus application scenarios schematic diagram that Fig. 4 provides for the embodiment of the present invention.
Embodiment
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of data synchronization updating method and apparatus, can automatically complete Data Update between each business datum system and synchronize, and without manual maintenance, efficiency is high, accuracy is strong, safe.
In order to make those skilled in the art person understand better the technical scheme in the present invention, 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, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
Referring to Fig. 1, data synchronization updating method the first embodiment schematic diagram providing for the embodiment of the present invention.
Data synchronization updating method provided by the invention can be applied to Data Update between each data service system and synchronize.Particularly, 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 that pushes authority, can realize automatic synchronization and the renewal of the data of each business datum system.
S101, when monitoring the data of specified type and 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 module is set, and for setting in advance synchronous undated parameter, described synchronous undated parameter comprises: new data type more, the information with the business datum system that pushes authority, object business datum system set.
During specific implementation, user or system can set in advance the more type of new data, are used to specify and monitor and the type of synchronous data.For example, can set in advance the data type of monitoring and synchronously upgrading is system country code parameter, language parameter, Account Type parameter etc.
User or system can also arrange have push the business datum system of authority and preserve described in there is the information of the business datum system that pushes authority.Wherein, have and push the initiator that the business datum system of authority is data synchronization updating, only have to there is the business datum system that pushes authority and just have to other business datum systems and carry out data-pushing and the authority of synchronizeing.User or system can also have the operation system that pushes authority by change is set, and preserve the information with the business datum system that pushes authority after changing.Wherein, the information that has a business datum system that pushes authority can comprise one or more in the title, No. ID, code information of business datum system.For example, in banking business data system, can specify that to have the branch that pushes authority be the initiator Wei“ Singapore Branch, Ltd. of Data Update ", and the branch sort code that can preserve Singapore Branch, Ltd. is as having the business datum system information that pushes 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 systems.That is to say, user or system can push and the scope of synchronizeing by specific data in object business datum system set.For example, can in the set of destination data operation system, specific data propelling movement be Asia-Pacific region branch with the scope of synchronizeing, and in data service system set, preserve the information of each object business datum system, such as the branch sort code, time-zone information, system parameter message etc. that can comprise each branch (such as Tokyo branch, Soul branch, Bangkok branch 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 that change, the data type of the described data that change and the more new data type setting in advance are compared, if judgement data type is identical, determine that the data that monitor specified type change.For example, the data type that sets in advance renewal is system country code parameter, language parameter and Account Type parameter, when the operations such as system monitoring data increase to having, deletion, modification, obtain the data type changing, whether the type of the data that judgement changes is one of system country code parameter, language parameter and Account Type parameter, if so, determine that the data that monitor specified type change; If not, can not trigger any operation.
In the implementation of another possibility, the data of monitoring specified type change and comprise: the data more new data type with setting in advance to same type are monitored, when the described data that have same type with more new data type that set in advance change, determine that the data that monitor specified type change.In this implementation, be different from front a kind of implementation, only the data of specified type are monitored.For example, only to monitoring for system country code parameter, language parameter, Account Type parameter of setting in advance, when described data change, determine that the data that monitor specified type change.
When the data of monitoring specified type change, preserve the content of described data and the modification information corresponding with described data.Wherein, modification information corresponding to data can comprise the change time, change state (such as newly-increased, modification, deletion etc.) of business datum, the key assignments of business datum etc.
S102, judges whether current business data system has propelling movement authority.
During specific implementation, owing to having set in advance the information with the business datum system that pushes authority, when monitoring the data of specified type and change, obtain the information of current business system, the information of described current business system and the information with the business datum system that pushes authority setting in advance are compared, if identical, determine that current business data system has propelling movement authority.For example, when setting in advance, to have the bank that pushes authority be Singapore Branch, Ltd., when the data of the specified type of Singapore Branch, Ltd. change, system can be obtained the branch sort code of Singapore Branch, Ltd., compare with the bank with propelling movement authority setting in advance, through relatively finding that information is identical, determine that current business data system is that Singapore Branch, Ltd. has propelling movement authority.For example, when the data of Tokyo specified type in lines change, data synchronization updating device (being arranged in Tokyo branch system) can obtain the branch sort code of Tokyo branch, compare with the branch sort code of the Singapore Branch, Ltd. setting in advance, judgement information is inconsistent, can not initiate synchronized push, can not carry out follow-up propelling movement and process.
S103, when judgement current business data system has the authority of propelling movement, obtains object business datum system set; Described object business datum system set comprises the information of one or more object business datum systems.
During specific implementation, can set in advance object business datum system set and be used to specify data-pushing and the scope of synchronizeing.When judgement current business data system has the authority of propelling movement, obtain the information of object business datum system, such as the title, ID, system parameters, time-zone information etc. that can comprise service data information.
S104, processes the generation to be updated data corresponding with object business datum system according to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system to the data that change.
During specific implementation, describedly according to the information of the content of the data of preserving, the change information corresponding with described data and described object business datum system, the data that change are processed to data to be updated corresponding to generation and object business datum system and can comprise following one or more step:
(1) data that change are carried out to data validity inspection.Wherein, the validity of data is tested, can set in advance effectiveness condition, according to default effectiveness condition, data are carried out to verification.
(2) data that change are carried out to the relatively processing of data key assignments, when the key assignments of the data that change meets default range of key values, determine that described data are data to be updated.For example, set in advance range of key values, described range of key values can comprise between the sintering of key assignments, can be also the set that comprises effective key assignments.The data that change are carried out to data key assignments and relatively process, judge in whether its key assignments size is between default key assignments sintering or judge whether described key assignments is the key assignments in effective key assignments set.If the key assignments of described data meets default range of key values, determine that it is the data to be updated that can push to other system, and it is carried out to other respective handling.
(3) according to the system parameter message of object business datum system, the data that change are processed, to generate the information corresponding with the system parameters of described object business datum system.During specific implementation, according to the information of definite object business datum system, the data that change are processed into the information corresponding to system parameters of object business datum system.For example, when generating data to be updated, can be according to the system parameters of object business datum system such as comprising the Information generation information corresponding with each destination data system such as branch sort code, mechanism number.The data to be updated that generate are corresponding with each object business datum system, when each object business datum system is received data to be updated, without data to be updated are carried out to special processing, can upgrade according to predetermined update mode.
(4) according to the time-zone information of object business datum system, the data that change are processed the information meeting with the time-zone information generating with described object business datum system.
Because the region at each business datum system place exists time zone difference, the operating time is inconsistent, in order to guarantee the more accuracy of new data, in embodiments of the present invention, can to the data that change, process according to time-zone information.In embodiments of the present invention, time-piece is set, has preserved the time-zone information of each business datum system.Time-piece is for judgement for example, when specific data (system parameters) upgrades, and the local real entry-into-force time of specific data of each business datum system, that for recording parameters, upgrades is ageing.When generating data to be updated, need according to the time-zone information of object business datum system, the data that change to be processed the information meeting with the time-zone information generating with described object business datum system.For example, when interest rate parameter changes, owing to need to carrying out the time of appointment, upgrade, and upgrade initiator, to have the time zone of the business datum system that pushes authority likely inconsistent with the time zone of other business datum systems, at this moment, when generating the time of other object business datum systems, need to consider the impact in time zone, convert thereof into language object business datum time corresponding to system, so that interest rate parameter comes into force according to the different time in the business datum system of different regions.Meanwhile, time-piece can also be controlled the accounting date of local system.
S105, is sent to the object business datum system corresponding with it by the data to be updated that generate, so that each object business datum system is receiving the laggard row Data Update processing of described data to be updated.
Generate after the data to be updated corresponding with each object business datum system, according to the information of each object business datum system comprising in object business datum system, to its synchronous copy data.When each object business datum system, receive after the data to be updated corresponding with it, carry out Data Update processing.Wherein, can set in advance the corresponding relation of data type and update mode, each destination data operation system, after receiving data to be updated, can be upgraded according to corresponding update mode according to the type of data to be updated.For example, update mode can comprise business day update mode and night update mode or upgrade immediately or postpone update mode etc.For descriptive information or Back ground Informations such as similar country code parameter, language parameter, the mode that can upgrade or upgrade immediately corresponding business day.Can correspondence update mode at night or delay update mode for interest rate parameter.Wherein, postpone the actual entry-into-force time that update mode has been specified parameter or Data Update to be updated.
In first embodiment of the invention, owing to having set in advance more the type of new data, having there is the business datum system information, the object business datum system information that push authority, by the monitoring to the data of specified type, when monitoring data and change, can automatically trigger by thering is the business datum system that pushes authority and carry out the processing of data synchronized push to other business datum systems, improve the efficiency of data synchronization updating, and by pushing authority judgement, guaranteed accuracy and the fail safe of data synchronization updating.
Referring to Fig. 2, data synchronization updating method the second embodiment schematic diagram providing for the embodiment of the present invention.
The data synchronization updating method providing in second embodiment of the invention can be applied in each business datum system, described business datum system can be the business datum system that pushes authority that has of appointment, can be also that other do not have the business datum system that pushes authority.
S201, sets in advance synchronous undated parameter.
Wherein, synchronous undated parameter being set can comprise:
(1) set in advance have push the business datum system of authority and preserve described in there is the information of the business datum system that pushes authority.For example can arrange that to have the branch that pushes authority be the initiator Wei“ Singapore Branch, Ltd. of Data Update ", and the branch sort code that can preserve Singapore Branch, Ltd. is as having the business datum system information that pushes authority.
(2) set in advance more new data type.Such as setting in advance the data type of monitoring and synchronously upgrading, be system country code parameter, language parameter, Account Type parameter etc.
(3) set in advance the more range of transmission of new data, object business datum system is set, for example Asia-Pacific branch.
(4) set in advance the mode of renewal.The mode of upgrading can comprise update mode on business day, night update mode, the update mode that comes into force, postpone to come into force update mode etc.
When setting completes after synchronous undated parameter, for example, for example, when the business datum (one or more in country code parameter, language parameter, Account Type parameter) of specified type that pushes the business datum system (Singapore Branch, Ltd.) of authority when having of appointment changes, data synchronization updating device of the present invention for example, sends data to be updated to the object business datum system of appointment (each Asia-Pacific branch) in meeting, receives data to be updated upgrade according to the update mode setting in advance by each object business datum system.
S202, whether the data of monitoring specified type change.
In this embodiment of the present invention, the PMCG table in regular check system database, with triggering synchronous mechanism, can be kept in PROC table through the data (data of the specified type monitoring) of differentiating.Wherein, PROC table is for the data content of storage change and the modification information corresponding with described data.Wherein, modification information corresponding to data can comprise key assignments, change time, change state of data etc.In embodiments of the present invention, whether the data by monitoring specified type change, trigger data copy operation when data change, with the variation appointing system to the system that pushes authority in real time, preserve exactly, to guarantee to the accuracy of other system propelling data.
S203, when monitoring the data of specified type and 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, because 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, in order to guarantee fail safe, the accuracy of new data more and to avoid repeating pushing, need to judge whether current business data system has propelling movement authority, the system only with propelling movement authority can be initiated to the operation of other business datum system propelling datas.For example, current business data system is the business datum system of Tokyo branch, and the business datum system that the business datum system with propelling movement authority of system appointment is Singapore Branch, Ltd., when the business datum of Tokyo specified type in lines occurs to upgrade, can not trigger business datum to synchronous renewal and the transmission of other business datum systems, only in Tokyo, carry out in lines Data Update and come into force.
S205, when judgement current business data system has the authority of propelling movement, obtains object business datum system set.
Wherein, object business datum system set has comprised the more range of transmission of new data.The propelling movement that repeats for fear of data, when having of current appointment pushes the business datum system that the business datum system of authority is Singapore Branch, Ltd., when Singapore Branch, Ltd.'s judgement oneself has after the authority of propelling movement, and the range of transmission of the more new data of object business datum system appointment is Asia-Pacific region branch, because the specific data of Singapore Branch, Ltd. upgrades, the data synchronization updating device in the present invention can be skipped or other Asia-Pacific regions branch propelling datas outside ,Er Xiangchu Singapore Branch, Ltd. of Hang Ji Singapore Branch, Ltd. are initiated in omitted data change automatically.
S206, processes the generation to be updated data corresponding with object business datum system according to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system to the data that change.
Specific implementation can be with reference to the processing mode of last embodiment.
S207, is sent to the object business datum system corresponding with it by the data to be updated that generate.
Before mention, therefore data synchronization updating method and apparatus provided by the invention can be applied in any business datum system, has also comprised the reception of the data to be updated from other business datum systems and processing procedure.
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 that receives data to be updated also needs to carry out authority judgement and processes.During specific implementation, the business datum system that receives data to be updated need to judge whether the business datum system that Data Update initiator sends data to be updated has propelling movement authority.Particularly, receive the business datum system of data to be updated according to the business datum system information that pushes authority that has setting in advance, the information that sends the business datum system of data to be updated is compared with the business datum system information that default having pushes authority, if identical, determine that the business datum system that sends data to be updated has propelling movement authority.If judgement sends the business datum system of data to be updated, there is propelling movement authority, enter step S210.Otherwise the business datum system that receives data to be updated can not preserved data to be updated, abandons the business datum of reception.Thus can the synchronous fail safe of upgrading of save data.
S210, when the described data to be updated of judgement from business datum system have while pushing authority, according to the corresponding relation of the data type setting in advance and update mode, obtain the update mode corresponding with described data to be updated described data to be updated are upgraded to processing.
For example, update mode can comprise business day update mode and night update mode or upgrade immediately or postpone update mode etc.For descriptive information or Back ground Informations such as similar country code parameter, language parameter, the mode that can upgrade or upgrade immediately corresponding business day.Can correspondence update mode at night or delay update mode for interest rate parameter.Wherein, postpone the actual entry-into-force time that update mode has been specified parameter or Data Update to be updated.
Further, after business datum system is upgraded and processed, need record and return to 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 show Data Update state, and display reminding information.By the business personnel of each business datum system, determine whether to need again to ask to send more new data or seek technical support.
In second embodiment of the invention, by the specified type data of monitoring specified services data system, when it changes, according to the object business datum system information setting in advance, the automatic renewal that completes data with synchronize.Method provided by the invention can realize in the change of system arbitrarily, can realize the change of other business datum systems, and the data of each business datum system is separate, and meets the requirement of local supervision.Method provided by the invention is upgraded by arranging of data type, scope, authority having been realized to the automatic synchronization of data, without artificial repeated labor, and has guaranteed efficiency, fail safe and the accuracy of Data Update.
The data synchronization updating device schematic diagram that Fig. 3 provides for the embodiment of the present invention.
According to the second aspect of the embodiment of the present invention, a kind of data synchronization updating device is disclosed, comprising:
Whether monitoring module 301, change for monitoring the data of specified type.
Preserve module 302, for when monitoring the data of specified type and change, 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 judgement current business data system has the authority of propelling movement, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum systems; According to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system, the data that change are processed to the generation to be updated data corresponding with object business datum system; The data to be updated that generate 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 processing of described data to be updated.
Further, described device also comprises:
Module is set, and for setting in advance synchronous undated parameter, described synchronous undated parameter comprises: new data type more, has the information of the business datum system that pushes authority, object business datum system set.
Further, monitoring module is specifically for when data change, obtain the type of the data that change, the data type of the described data that change and the more new data type setting in advance are compared, if judgement data type is identical, determine that the data that monitor specified type change.
Further, the data that described monitoring module has same type specifically for the more new data type to setting in advance are monitored, when the described data that have same type with more new data type that set in advance change, determine that the data that monitor specified type change.
Further, described synchronous processing module comprises the first judging unit, the first acquiring unit, data processing unit, transmitting element, wherein, described the 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 that pushes authority setting in advance are compared, if identical, determine 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, transmitting element, and wherein said data processing unit comprises:
The first data processing subelement, for carrying out data validity inspection to the data that change;
The second data processing subelement, for the data that change being carried out to the relatively processing of data key assignments, when the key assignments of the data that change meets default range of key values, determines that described data are data to be updated;
The 3rd data processing subelement, for according to the system parameter message of object business datum system, the data that change being processed, to generate the information corresponding with the system parameters of described object business datum system;
The 4th data processing subelement, for according to the time-zone information of object business datum system, the data that change being processed, the information meeting with the time-zone information generating with described object business datum system.
Further, described device also comprises:
The second judging unit, for obtaining the system mode of object business datum system, judge whether the system mode of described object business datum system is default system mode, if, enter transmitting element, and by the status indication of data to be updated for pushing state; If not, by the status indication of data to be updated, be delay propelling movement state.
Further, described device also comprises:
Data Update processing module, the data to be updated that send for receiving other business datum systems; Judge described data to be updated from business datum system whether there is propelling movement authority; When the described data to be updated of judgement from business datum system have while pushing authority, according to the corresponding relation of the data type setting in advance and update mode, obtain the update mode corresponding with described data to be updated described data to be updated upgraded to processing
Referring to Fig. 4, the data synchronization updating method and apparatus application scenarios schematic diagram providing for the embodiment of the present invention.
In application scenarios of the present invention, comprise a plurality of business datum systems, wherein business datum system 1 does not have the business datum system that pushes authority, and business datum system 2,3,4 is that not have the business datum system that pushes authority be object business datum system.Data synchronization updating device provided by the invention can be arranged in each business datum system.When data synchronization updating device is preserved the data that change when the data that monitor specified type change, and judgement current business data system is for default while having the business datum system that pushes authority, the data that change are processed to generate the to be updated data corresponding with object business datum system, and be sent to each object business datum system.Thus, realized the synchronous renewal between each business datum system.Certainly, it will be appreciated by persons skilled in the art that and can there is the system that pushes authority by user or system variation.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), by the teleprocessing equipment being connected by communication network, be executed the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said module as separating component explanation can or can not be also physically to separate, the parts that show as module can be or can not be also physical modules, can be positioned at a place, or also can be distributed on a plurality of mixed-media network modules mixed-medias.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a data synchronization updating method, is characterized in that, described method comprises:
When monitoring the data of specified type and 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 judgement current business data system has the authority of propelling movement, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum systems;
According to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system, the data that change are processed to the generation to be updated data corresponding with object business datum system;
The data to be updated that generate 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 processing of described data to be updated.
2. method according to claim 1, is characterized in that, described method also comprises:
Set in advance synchronous undated parameter, described synchronous undated parameter comprises: new data type more, has the information of the business datum system that pushes authority, object business datum system set.
3. method according to claim 1 and 2, is characterized in that, the data of monitoring specified type change and comprise:
When data change, obtain the type of the data that change, the data type of the described data that change and the more new data type setting in advance are compared, if judgement data type is identical, determine that the data that monitor specified type change; Or
The data more new data type with setting in advance to same type are monitored, and when the described data that have same type with more new data type that set in advance change, determine that the data that monitor specified type change.
4. method according to claim 1 and 2, is characterized in that, describedly judges whether current business data system has and pushes authority and comprise:
Obtain the information of current business system, the information of described current business system and the information with the business datum system that pushes authority setting in advance are compared, if identical, determine that current business data system has propelling movement authority.
5. method according to claim 1, it is characterized in that, describedly according to the information of the content of the data of preserving, the change information corresponding with described data and described object business datum system, the data that change are processed to data to be updated corresponding to generation and object business datum system and comprise following one or more step:
The data that change are carried out to data validity inspection;
The data that change are carried out to the relatively processing of data key assignments, when the key assignments of the data that change meets default range of key values, determine that described data are data to be updated;
According to the system parameter message of object business datum system, the data that change are processed, to generate the information corresponding with the system parameters of described object business datum system;
According to the time-zone information of object business datum system, the data that change are processed the information meeting with the time-zone information generating with described object business datum system.
6. method according to claim 1, is characterized in that, before the data to be updated that generate are sent to the object business datum system corresponding with it, described method also comprises:
Obtain the system mode of object business datum system, whether the system mode that judges described object business datum system is default system mode, if, carry out the step that the data to be updated that generate is 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, by the status indication of data to be updated, be delay propelling movement state.
7. method according to claim 1, is characterized 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 the described data to be updated of judgement from business datum system have while pushing authority, according to the corresponding relation of the data type setting in advance and update mode, obtain the update mode corresponding with described data to be updated described data to be updated are upgraded to processing.
8. a data synchronization updating device, is characterized in that, described device comprises:
Whether monitoring module, change for monitoring the data of specified type;
Preserve module, for when monitoring the data of specified type and change, 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 judgement current business data system has the authority of propelling movement, obtain object business datum system set; Described object business datum system set comprises the information of one or more object business datum systems; According to the content of the data of preserving, the change information corresponding with described data and the information of described object business datum system, the data that change are processed to the generation to be updated data corresponding with object business datum system; The data to be updated that generate 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 processing of described data to be updated.
9. device according to claim 8, is characterized in that, described device also comprises:
Module is set, and for setting in advance synchronous undated parameter, described synchronous undated parameter comprises: new data type more, has the information of the business datum system that pushes authority, object business datum system set.
10. device according to claim 8, is characterized in that, described device also comprises:
Data Update processing module, the data to be updated that send for receiving other business datum systems; Judge described data to be updated from business datum system whether there is propelling movement authority; When the described data to be updated of judgement from business datum system have while pushing authority, according to the corresponding relation of the data type setting in advance and update mode, obtain the update mode corresponding with described data to be updated described data to be updated are upgraded to processing.
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 true CN103595807A (en) 2014-02-19
CN103595807B 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)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868361A (en) * 2016-03-29 2016-08-17 中国银行股份有限公司 Data updating method and device
CN105864865A (en) * 2016-05-12 2016-08-17 Tcl集团股份有限公司 Control method and system for automatic temperature synchronization of electric heaters
WO2016155492A1 (en) * 2015-04-01 2016-10-06 阿里巴巴集团控股有限公司 Remote data synchronization method and apparatus for database
CN106021349A (en) * 2016-05-09 2016-10-12 中国银行股份有限公司 A foreign exchange data submitting method and device
CN106921733A (en) * 2017-02-08 2017-07-04 阿里巴巴集团控股有限公司 Method for pushing, device and electronic equipment that cluster is notified
CN107168714A (en) * 2017-05-24 2017-09-15 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the storage device of system update
CN107295043A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and apparatus migrated to user
CN107295032A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and apparatus of the data syn-chronization of data center
CN107395384A (en) * 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 Versions of data comparison method and device between across time zone website
CN107391620A (en) * 2017-07-06 2017-11-24 天脉聚源(北京)传媒科技有限公司 A kind of method and device for handling collaboration update abnormal
CN107959699A (en) * 2016-10-18 2018-04-24 中车株洲电力机车研究所有限公司 A kind of WebSocket data delivery systems and method based on Stream Processing
CN109857747A (en) * 2018-12-18 2019-06-07 百度在线网络技术(北京)有限公司 Data synchronization updating method, system and computer equipment
CN111984661A (en) * 2020-08-20 2020-11-24 中国银行股份有限公司 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

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10877990B2 (en) 2015-04-01 2020-12-29 Advanced New Technologies Co., Ltd. Remote database synchronization
WO2016155492A1 (en) * 2015-04-01 2016-10-06 阿里巴巴集团控股有限公司 Remote data synchronization method and apparatus for 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
CN107295032A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and apparatus of the data syn-chronization of data center
CN107295043A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and apparatus migrated to user
CN106021349A (en) * 2016-05-09 2016-10-12 中国银行股份有限公司 A foreign exchange data submitting method and device
CN105864865A (en) * 2016-05-12 2016-08-17 Tcl集团股份有限公司 Control method and system for automatic temperature synchronization of electric heaters
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
US10924549B2 (en) 2016-05-17 2021-02-16 Advanced New Technologies Co., Ltd. Method and device for data version comparison between trans-time zone sites
US10805391B2 (en) 2016-05-17 2020-10-13 Alibaba Group Holding Limited Method and device for data version comparison between trans-time zone sites
US10834187B2 (en) 2016-05-17 2020-11-10 Advanced New Technologies Co., Ltd. Method and device for data version comparison between trans-time zone sites
CN107959699A (en) * 2016-10-18 2018-04-24 中车株洲电力机车研究所有限公司 A kind of WebSocket data delivery systems and method based on Stream Processing
CN106921733A (en) * 2017-02-08 2017-07-04 阿里巴巴集团控股有限公司 Method for pushing, device and electronic equipment that cluster is notified
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
CN109857747A (en) * 2018-12-18 2019-06-07 百度在线网络技术(北京)有限公司 Data synchronization updating method, system and computer equipment
CN109857747B (en) * 2018-12-18 2021-07-13 百度在线网络技术(北京)有限公司 Data synchronous updating method, system and computer equipment
CN111984661A (en) * 2020-08-20 2020-11-24 中国银行股份有限公司 Data uploading method and device
CN111984661B (en) * 2020-08-20 2023-09-19 中国银行股份有限公司 Data uploading method and device

Also Published As

Publication number Publication date
CN103595807B (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN103595807A (en) Data synchronous updating method and device
EP2850540B1 (en) Mechanism, system and methodfor synchronising devices
CN111399873B (en) Model updating method and device
CN111352759B (en) Alarm root cause judging method and device
CN110188103A (en) Data account checking method, device, equipment and storage medium
CN103019879A (en) Method and system for processing crash information of browser
EP2933726B1 (en) Apparatus, system and method for application log data processing
US20170199903A1 (en) System for backing out data
CN110555150B (en) Data monitoring method, device, equipment and storage medium
CN107302564B (en) event information processing method and device, computer equipment and storage medium
CN109144785A (en) Method and apparatus for Backup Data
CN110808839B (en) Processing method, device, equipment and medium for block chain abnormal data
CN105787709A (en) Method of synchronizing multiple system accounts
CN108508477B (en) Seismic data acquisition system and method
CN106648994A (en) Method, equipment and system for backup operation on log
WO2012012515A2 (en) System and method for managing data on an occasionally connected mobile device
CN105915343A (en) Registered user off line activation method and system
CN103716384A (en) Method and device for realizing cloud storage data synchronization in cross-data-center manner
CN107819745B (en) Method and device for defending against abnormal traffic
CN109241247A (en) The problem of multiparty collaboration project processing method, system and server
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
CN108986556A (en) A kind of aircraft remote technology clearance method, apparatus and smart machine
CN113127564A (en) Parameter synchronization method and device
KR20150124653A (en) System for monitoring and controling electric power system for process verification
CN106204031A (en) card application processing method and device

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