Data synchronization method and device and distributed system

A technology of data synchronization and distributed hashing, which is applied in the transmission system, electrical components, etc., and can solve the problems of data synchronization transmission bottleneck effect and poor sealing

Active Publication Date: 2014-12-24
HONOR DEVICE CO LTD
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] To sum up, the methods proposed in the prior art to realize data synchronization of multiple data centers

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 synchronization method and device and distributed system
  • Data synchronization method and device and distributed system
  • Data synchronization method and device and distributed system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0054] Example one:

[0055] The first embodiment of the present invention provides a data synchronization method. A multi-data center includes at least two data centers, each of the at least two data centers includes at least two nodes, and the at least two data centers All service nodes in the at least two data centers are mapped to a distributed hash DHT ring, each continuous value range in the DHT ring corresponds to a service node, and the service in the first data center of the at least two data centers The node has at least one backup node corresponding to a data interval distribution in at least one second data center of the at least two data centers.

[0056] In a specific implementation process, the service node in the first data center of the at least two data centers has at least one backup corresponding to the data interval distribution in at least one second data center of the at least two data centers Node, there are two situations, in which, in the first case, all ...

Example Embodiment

[0159] Example two

[0160] The second embodiment of the present invention provides a data synchronization device, see Figure 7 with Picture 8 , The data synchronization device is respectively connected to each data center in a plurality of data centers. The multiple data centers include at least two data centers, and each of the at least two data centers includes at least two data centers. Nodes, all service nodes in the at least two data centers are mapped to a distributed hash DHT ring, each continuous value range in the DHT ring corresponds to a service node, and the at least two data The service node in the first data center in the center has at least one backup node corresponding to the data interval distribution in at least one second data center of the at least two data centers, and the data synchronization device includes:

[0161] The first obtaining unit 701 is configured to obtain a routing update message indicating to update the routing information of the first data ...

Example Embodiment

[0185] Example three

[0186] The third embodiment of the present invention provides a data synchronization device, see Picture 9 , The data synchronization device is respectively connected to each data center in a plurality of data centers. The multiple data centers include at least two data centers, and each of the at least two data centers includes at least two data centers. Nodes, all service nodes in the at least two data centers are mapped to a distributed hash DHT ring, each continuous value range in the DHT ring corresponds to a service node, and the at least two data The service node in the first data center in the center has at least one backup node corresponding to the data interval distribution in at least one second data center of the at least two data centers, and the data synchronization device includes:

[0187] The memory 901 is configured to store routing table information of each data center in the multiple data centers, and the routing table information include...

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 and device and a distributed system. A management node obtains the route updating information indicating that route information of a first data center and route information of a second data center need to be updated, wherein the route information at least contains the identification information of the first data center, the identification information of the second data center, the standby route information of each node of the first data center and the standby route information of each node of the second data center; the management node adjusts the route information of the first data center and the route information of the second data center according to the route updating information; the management node synchronizes the adjusted route information of the first data center and the adjusted route information of the second data center to the first data center and the second data center, and therefore the first data center and the second data center conduct synchronous transmission on data of all the managed nodes based on the adjusted route information.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a data synchronization method, a data synchronization device and a distributed system. Background technique [0002] With the development of big data technology, in order to effectively solve the problems of risks and access delays caused by data concentration, it is usually based on a distributed system to build a multi-data center including a service data center and a backup data center, and to confirm the above in real time The operating status of each data center in the multi-data center and the servers inside the data center. Taking the service data center as an example, when a certain service data center cannot operate normally, the follow-up user's access will be directed to another normal one based on the principle of proximity. running service data center; and when a server in a certain service data center is not operating normally, follow-up user access is also directed to a...

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/08H04L45/02
CPCH04L69/40H04L67/1095H04L67/1065H04L45/02H04L45/44H04L67/1063
Inventor 沈柯
Owner HONOR DEVICE CO LTD
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