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

Data synchronization method and related equipment among multiple data centers

A multi-data center and data synchronization technology, which is applied in the direction of data error detection, electrical digital data processing, and response error generation, can solve the problem of increasing the burden on the main data center and increasing the data center data. Issues such as inconsistent time windows and implementation complexity

Active Publication Date: 2019-06-28
CHENGDU HUAWEI TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the above synchronization method, after the data recovery in the primary data center is completed, the standby data center first merges the logs and then synchronizes the data with the primary data center. That is, the data synchronization is divided into three processes, which increases the data Inconsistent time windows and implementation complexity
At the same time, when the primary data center performs data recovery, it needs to interact with all other backups, and this action can only be completed on the primary data center, which increases the burden on the primary data center

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 related equipment among multiple data centers
  • Data synchronization method and related equipment among multiple data centers
  • Data synchronization method and related equipment among multiple data centers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0095] Embodiments of the present invention will be described below with reference to the accompanying drawings.

[0096] see figure 1 , in one embodiment of the present invention, a distributed storage system 100 is provided, including a plurality of data centers 10 in mutual backup relationship, each of the data centers 10 includes at least one cluster 11, and each of the clusters 11 includes Multiple nodes 111 for storing data. Wherein, each of the clusters 11 manages the plurality of nodes 111 through LVS (Linux Virtual Server, Linux virtual server), and uniformly provides an IP address externally for data communication with external clients. The storage is shared among the nodes 111 in each cluster 11. When the cluster 11 receives a data read and write request sent by an external client, the LVS uses a random algorithm to route it to one of the nodes 111 in the cluster 11.

[0097] It can be understood that the plurality of data centers 10 in backup relationship may inc...

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

Embodiments of the present invention provide a data synchronization method among multiple data centers. The method comprises: obtaining a state of a log in any node of any cluster, when the log is in a completion state, obtaining sequence identifiers of descriptions in a write failure state in the logs of each cluster and a largest sequence identifier in the logs of each cluster in the multiple data center, and further determining a final state of each description and a current state of the description in each cluster; and according to the final state and the current state, determining data synchronization operations required by each cluster for the description, and triggering a corresponding cluster to perform data synchronization operation. In addition, the embodiments of the present invention also provide a data synchronization apparatus among multiple data centers and a distributed storage system. The synchronization method provided by the embodiments of the present invention can realize data synchronization between among data centers at the same time, and can effectively shorten the time window of unsynchronized data among multiple data centers.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data synchronization method among multiple data centers and related equipment. Background technique [0002] In order to ensure the reliability of data in the data center, in the event of natural disasters such as fires and earthquakes, to ensure that data is not lost, or to reduce losses as much as possible, multiple data centers can be mutually disaster recovery and backup. Data will be replicated between multiple data centers, generally using synchronous replication. However, when a data center fails, in order to ensure the continuity of the upper-layer business, when a data center fails, services can still be provided normally. At this time, the data The replication of data is changed from synchronous to asynchronous, and when data is asynchronously replicated among multiple data centers, how to ensure data consistency is the primary issue related to the reliability of...

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): G06F11/14
CPCG06F11/1448G06F11/1464
Inventor 罗治文
Owner CHENGDU HUAWEI TECH