Distributed system and data synchronization method thereof

A distributed system and data synchronization technology, applied in the field of communication, can solve the problems of master node performance and bottlenecks in network bandwidth, and achieve the effect of effective data synchronization, alleviating the demand for network bandwidth, and reducing the burden

Active Publication Date: 2011-04-20
ZTE CORP
View PDF6 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a distributed system and its data synchronization method

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
  • Distributed system and data synchronization method thereof
  • Distributed system and data synchronization method thereof
  • Distributed system and data synchronization method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0028] figure 2 A flowchart showing a data synchronization method for a distributed system according to an embodiment of the present invention, including the following steps:

[0029] Step S10, setting the primary node as the root node, and classifying all the standby nodes into at least two levels subordinate to the root node;

[0030] Step S20, the master node performs data synchronization with its lower-level primary standby node;

[0031] In step S30, the first-level standby node continues to perform data synchronization with the next-level second-level standby node under its jurisdiction until the data synchronization of all standby nodes is completed.

[0032] In this embodiment, the data nodes are connected in a cascaded form. When performing data synchronization, the upper-level node only needs to perform data synchronizat...

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 provides a data synchronization method of a distributed system, comprising the following steps that a main node is set as a root node, and all standby nodes are classified into at least two stages belonging to the root node; the main node carries out data synchronization on the next stage of primary standby node; and the primary standby node continues to carry out the data synchronization on the next stage of secondary standby node managed by the primary standby node until the data synchronization of all the nodes is ended. The invention also provides the distributed system. The invention solves the problems that the performance of the main node and the network bandwidth are easy to generate bottleneck and the data response delay is too long in the prior art, thereby providing an effective data synchronization mode, relieving the burden of the main node, relieving the requirement of the network bandwidth, greatly shortening the data response delay and improving the user experience.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a distributed system and a data synchronization method thereof. Background technique [0002] In a distributed environment, there are a large number of data access requirements. For the sake of data reliability and load sharing, multiple data nodes are often used. [0003] In order to maintain the data consistency of multiple data nodes, two data synchronization methods are generally used at present: active-standby synchronization and peer-to-peer synchronization. Master-standby synchronization (such as figure 1 (shown) means that all data nodes are divided into one primary node and multiple standby nodes. The primary node is readable and writable, while the standby node is read-only. Data modification is synchronized from the primary node to the standby node; peer-to-peer synchronization means that all data nodes are All devices are readable and writable, and data modificati...

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
IPC IPC(8): H04L29/08H04L12/56
Inventor 张晓辉章恩华贺旻捷
Owner ZTE CORP
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