Data synchronous method and node and storage service cluster

A storage service and data synchronization technology, applied in the field of communication, can solve problems such as waste of computing resources, and achieve the effect of reducing the number of synchronizations and saving computing resources

Inactive Publication Date: 2014-02-05
深圳市金蝶精斗云网络科技有限公司
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a data synchronization method, a node and a storage service cluster, which can solve the problem of waste of computing resources

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
  • Data synchronous method and node and storage service cluster
  • Data synchronous method and node and storage service cluster
  • Data synchronous method and node and storage service cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Embodiments of the present invention provide a data synchronization method, a node, and a storage service cluster, which can reduce the number of object synchronizations, thereby saving computing resources.

[0017] Please refer to figure 1 , an embodiment of the data synchronization method in the embodiment of the present invention includes:

[0018] 101. The slave node in the storage service cluster receives the request for acquiring the first object sent by the client;

[0019] In this embodiment, the slave node may receive the request for obtaining the first object sent by the client, where the request for obtaining the first object includes the identifier of the first object. In the prior art, the object is a set of data, and each The object has a unique identifier, and the update of the object is only the update of the value of the data, but the identifier will not change.

[0020] 102. When the slave node stores the first object and the version number of the fi...

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 embodiment of the invention discloses a data synchronous method, a node and a storage service cluster. The method comprises the steps that the node receives a request sent by a client side for obtaining a first object, when the first object and a version number of the first object are stored in the node, the version number of the first object stored in a main node is inquired according to an identifier of the first object of the node, whether the version number of the first object stored in the node is identical with the first version number, inquired from the main node, of the first object is judged from the node, and if not, the first object and the version number of the first object stored in the node are synchronously updated into the first object and the first version number in the main node. Accordingly, when the client terminal needs to read the object, the node determines update of the object by comparing the version number of the object stored in the node with the version number of the object stored in the main node, and synchronously updates the updated object, and therefore times of synchronization of the object can be reduced, and computing resources are saved.

Description

technical field [0001] The invention relates to the communication field, in particular to a data synchronization method, a node and a storage service cluster. Background technique [0002] In the existing storage service cluster, the data synchronization method of each node is broadcast synchronization. For example, when an object is updated in node 1, node 1 will notify other nodes that store the object that the object has been updated, so that other The node storing the object can be synchronized with the node data, but since it cannot be guaranteed that the object in each node will be accessed and read, the broadcast synchronization causes a waste of computing resources. The computing resources mainly include: bandwidth , processor and input and output resources. Contents of the invention [0003] The invention provides a data synchronization method, a node and a storage service cluster, which can solve the problem of waste of computing resources. [0004] The data sy...

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): H04L29/08
Inventor 张科
Owner 深圳市金蝶精斗云网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products