Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Incremental multi-replica data synchronization method and system

A data synchronization and multi-copy technology, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of complex rollback mechanism and increase the cost of synchronization implementation, and achieve the effect of simplifying the implementation cost

Active Publication Date: 2017-11-17
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to propose an incremental multi-copy data synchronization method and system to solve the need for additional maintenance of the modification log for the operation records of small files in the prior art, in order to ensure metadata, content data, index information and modification The consistency of the log requires a more complicated rollback mechanism, which increases the cost of synchronization implementation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Incremental multi-replica data synchronization method and system
  • Incremental multi-replica data synchronization method and system
  • Incremental multi-replica data synchronization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] Please refer to the attached figure 1 , figure 1 It is a schematic flowchart of an incremental multi-copy data synchronization method provided by an embodiment of the present invention. Such as figure 1 As shown, the present invention discloses an incremental multi-copy data synchronization method, which specifically includes the following steps:

[0042] S101. Obtain the first operation record of the local copy and the second operation record of the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an incremental multi-replica data synchronization method and system. The method includes the steps that a first operation record of a local replica and a second operation record of a far-end replica are acquired; whether the first operation record and the second operation record are consistent or not is judged; if not, synchronization operation is executed according to inconsistent content in the first operation record and the second operation record to ensure that the local replica and the far-end replica are consistent, and the synchronization progress is recorded. According to the data synchronization method and system, metadata is stored in a metadatabase, and as neither modification of content data nor modification of the metadata involves modification of the metadatabase, incremental synchronization can be achieved according to a modification log of the replica metadatabase; besides, the modification history of large files is deduced according to transaction logs of data, it is not needed to maintain extra log files, on the aspect of consistency, it is only needed to guarantee the consistency of the metadatabase and data files, and thus the implementation cost is greatly lowered.

Description

technical field [0001] The invention relates to the technical field of data synchronous storage, in particular to an incremental multi-copy data synchronization method and system. Background technique [0002] The rapid development of the Internet has produced a large number of pictures, documents and other files. These files are characterized by small size (0-100KB per move) and huge number (hundreds of millions). The traditional POSIX interface file system has been difficult to meet Demand, this is the industry's famous problem of massive small files. [0003] For the problem of massive small files, the common practice in the industry is to merge and store small files into a traditional POSIX file. In addition, in order to ensure the availability and fault tolerance of the system, these small files are usually stored in multiple copies. Multiple copies lead to a basic problem in distributed storage systems, that is, copy consistency. At present, the existing merged stora...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/164G06F16/1756G06F16/2365G06F16/275
Inventor 李杰辉牛立国
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products