Unlock instant, AI-driven research and patent intelligence for your innovation.

A method, device and system for data synchronization

A data synchronization and equipment technology, applied in the storage field, can solve the problem of low data synchronization efficiency, and achieve the effect of reducing the load, improving the transmission efficiency and increasing the speed.

Active Publication Date: 2017-03-29
CHINA MOBILE COMM GRP CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0029] The present invention provides a method, device and system for data synchronization, which are used to solve the problem of low data synchronization efficiency when data synchronization is performed between clients in the prior art

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
  • A method, device and system for data synchronization
  • A method, device and system for data synchronization
  • A method, device and system for data synchronization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] like figure 2 As shown, it is a flowchart of a method for data synchronization according to Embodiment 1 of the present invention, and the method includes:

[0056] Step 101: The destination client receives the synchronization message that carries the update object and is sent by the network side.

[0057] Wherein, the update object includes a metadata identifier and an update data identifier.

[0058] In the prior art, storage devices generally use hierarchical storage methods for storing data, that is, a first-level directory contains multiple second-level directories, and the multi-level directories form a directory tree, wherein the root directory of the directory tree is called a metadata identifier; The storage path of data in a directory is called an object, and each object contains a metadata identifier and a data identifier.

[0059] For example, taking two-level storage as an example, the root directory is dir, and a file stored under it is file1, where dir ...

Embodiment 2

[0106] like image 3 As shown, it is a schematic flowchart of a data synchronization method according to the second embodiment of the present invention. The second embodiment of the present invention is a data synchronization method under the same concept as the first embodiment of the present invention.

[0107] Assume that client A, client B, client C and server are included in the same local area network, wherein the server has a resource pool for storing the data in clients A, B and C, whenever the data in the client When a change occurs, a data update message is sent to the server to notify the server to synchronize the updated data.

[0108] Step 201: Receive broadcast data packets.

[0109] Wherein, the data packet includes a client identifier and a metadata identifier.

[0110] Specifically, client A receives data packets broadcast by client B and client C; client B receives data packets broadcast by client A and client C; client C receives broadcasts by client A and...

Embodiment 3

[0124] like Figure 4 As shown, it is a schematic structural diagram of a data synchronization device according to Embodiment 3 of the present invention. The device includes: a receiving module 11, a determining module 12 and a synchronization module 13, wherein:

[0125] a receiving module 11, configured to receive a synchronization message that is sent by the network side and carries an update object, wherein the update object includes a metadata identifier and an update data identifier;

[0126] A determination module 12, configured to determine the source client identifier corresponding to the metadata identifier included in the update object in the received synchronization message according to the correspondence between the locally stored metadata identifier and the client identifier;

[0127] The synchronization module 13 is configured to use the update data identifier included in the update object in the received synchronization message to determine the local data to be...

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 a data synchronization method, data synchronization equipment and a data synchronization system. The data synchronization method comprises the steps that an objective client receives synchronization information of an updated target which contains a metadata mark and an updating data mark and is sent from a network side, and determines a source client mark corresponding to the metadata mark contained in the updated target in the received synchronization information according to the corresponding relation between the metadata mark and the client mark of local storage, the updating data mark contained in the updated target in the received synchronization information is used to determine to-be-updated local data, and updating data corresponding to the updating data mark are obtained from the source client to synchronize the data. Compared with the prior art, the objective client rapidly positions the source client which generates data updating according to the corresponding relation between the metadata mark and the client mark of the local storage, the data synchronization rate is improved, the data network transmission efficiency is improved, and meanwhile, loading of a server can be reduced.

Description

technical field [0001] The present invention relates to the field of storage, and in particular, to a method, device and system for data synchronization. Background technique [0002] Data is an important wealth of human beings. Users and users hope to obtain each other's data information through sharing; or a user uses data information in one device, and hopes to use the data information in other devices at the same time. These needs As a result, a large number of network storage products appear in the prior art, and these network storage products are used to meet the sharing of data information between different users, or the synchronization of data information between different devices of the same user. [0003] Most of these network storage products that appear in real life use the storage architecture between the client and the server. Among them, the server, as a data storage pool, supports users to access anytime and anywhere, and synchronizes the acquired data infor...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 王娟钱岭
Owner CHINA MOBILE COMM GRP CO LTD