发明名称 Data synchronization using string matching
摘要 The present invention relates to the technical field of data or file synchronization. In particular, the present invention relates to a method and system for data synchronization using character string matching. Provided are a method, computer program product, and system for data synchronization between a source node and target node. An old copy and a new copy of data to be synchronized is received. A block map is generated according to the difference determined using character string matching between the old copy and the new copy. The block map, which includes the position information of unchanged blocks and the position information and contents of changed blocks, is transmitted to a target node.
申请公布号 US9043275(B2) 申请公布日期 2015.05.26
申请号 US201213471296 申请日期 2012.05.14
申请人 International Business Machines Corporation 发明人 Gao Ying M.;Huo Jia;Xiao Hong;Yang Yuan L.;Zhang Kai;Zou Xian
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Sughrue Mion, PLLC 代理人 Sughrue Mion, PLLC
主权项 1. A computer implemented method comprising: receiving an old copy of data and a new copy of data to be synchronized, wherein both the old copy of data and the new copy of data are from a source node on which update to the old copy of data occurs; generating a block map according to the difference determined using character string matching between the old copy of data and the new copy of data, the block map including position information of unchanged blocks and position information and contents of changed blocks; and transmitting the block map to a target node, on which the block map is combined with an old copy of data of the target node to complete the data synchronization, wherein the new copy of data of the source node is an updated version of the old copy of data of the source node; and wherein the generating the block map comprises: determining whether a gap in the block map is less than a minimal gap of a predefined length; when the gap in the block map is less than a minimal gap of a predefined length, marking the gap in the block map directly as a changed block and stopping further processing for character string matching on the gap in the block map.
地址 Armonk NY US