Asynchronous replication method, device and system

A technology for asynchronous replication and synchronization of messages, which is applied in the storage field and can solve problems such as uncontrollable synchronization time and invalid synchronization.

Active Publication Date: 2017-04-26
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide an asynchronous replication method, device, and system to solve the problems of uncontrollable synchronization time and invalid synchronization during asynchronous replication of objects between the primary data center and the standby data center 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
  • Asynchronous replication method, device and system
  • Asynchronous replication method, device and system
  • Asynchronous replication method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0189] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments.

[0190] figure 1 The flow chart of Embodiment 1 of the asynchronous replication method provided by the present invention, as shown in figure 1 As shown, the method embodiment includes:

[0191] S101. The primary data center receives a write request sent by the user equipment, and the write request includes data to be written;

[0192] S102. The master data center generates object metadata and object data corresponding to the data to be written, and stores the object data and the object metadata, the object metadata includes an object identifier, an...

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 an asynchronous replication method, apparatus and system. The method comprises: a main data center receiving a write request sent by a user equipment, the write request comprising data to be written; the main data center generating object metadata and object data corresponding to the data to be written, and storing the object data and object metadata, the object metadata comprising an object identification, and the object data being the same as the data to be written; the main data center sending a first synchronization message to a backup data center, the first synchronization message comprising the object metadata; the main data center receiving a synchronization request sent by the backup data center, the synchronization request comprising the object identification; and the main data center sending a second synchronization message to the backup data center according to the synchronization request, the second synchronization message comprising the object data corresponding to the object identification comprised in the synchronization request. The method solves the problem that time of object access in a backup data center by a user is uncontrollable.

Description

technical field [0001] Embodiments of the present invention relate to storage technologies, and in particular to an object storage-based asynchronous replication method, device and system among multiple data centers. Background technique [0002] Object storage services are generally used in large-scale data storage services, such as Internet mass content, backup and other services. An object is the basic unit of object storage, including object metadata and object data. Multiple Data Center (MDC for short) provides flexible data replication strategy and data redundancy strategy to ensure the continuity of business operations. Synchronization of data between data centers usually adopts asynchronous replication: data is successfully written to the user in the primary data center (DC1), and then the data is successfully written to the user, and then synchronized to the standby data center (DC2) in the background. [0003] In the existing technology, when object data is async...

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 & AuthorityPatents(China)
IPC IPC(8): H04L29/08H04L7/00
CPCG06F11/2097
Inventor项锐张伦
OwnerHUAWEI TECH CO LTD