Patent ID: 7899935

Claim:
A method for data synchronization, comprising: collecting data to be collected into a buffer in a unit of transaction from a source application according to source application information subscribed by a target application when a change occurs in the source application data, adding a transaction ID and operation sequence number field to the operational procedure information of each line of collection record when the data is written to the buffer; sending the data collected to the target application or directly inserting the data collected into a target database; wherein before the process of sending the data collected to the target application or directly inserting the data collected into a target database, the method further comprises: converting the source application data collected into data that can be identified by the target application according to a preset mapping and converting rule; wherein the process of converting the source application data collected into data that can be identified by the target application according to a preset mapping and converting rule comprises: obtaining the subscriber information corresponding to the data in the buffer according to a pre-established collecting rule, wherein the collecting rule comprises target application information, source application information subscribed by the target application and information of data to be collected; obtaining the corresponding mapping and converting rule according to the subscriber information; and mapping the data in the buffer and converting the source application data into data that can be identified by the target application according to the mapping and converting rule.