IP Library Granted Patent US 12,216,544
Granted Patent B2
US 12,216,544 · App. 17/546,319 · Granted Feb 4, 2025

Data replication method, apparatus, and system

Inventors: Xiuwu Wang (Chengdu, CN); Ji Ouyang (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F11/1446G06F11/14G06F11/1451G06F11/2074G06F16/27G06F11/1461G06F11/1464G06F11/2066G06F2201/84
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,216,544
App. No.
17/546,319
Granted
Feb 4, 2025
Kind
B2
Abstract

A data replication method includes obtaining differential data information corresponding to differential data, where the differential data information includes a storage address of the differential data, and a determining value of the differential data. The data replication method comprises replicating the differential data from the primary volume to the secondary volume according to the storage address of the differential data that is located in the primary volume when the determining value is not less than a preset threshold. The data replication method comprises taking a snapshot for the primary volume when the determining value is less than the preset threshold and replicating the differential data to the secondary volume.

Claims (33)

1. A data replication method, comprising:

obtaining a usage status comprising a ratio of a data amount of incoming data at a first device and a bandwidth for replication between the first device and a second device, wherein a replication manner to replicate data from the first device to the second device is based on the usage status and a preset threshold;

taking a snapshot for the first device from the second device and replicating the data to the second device according to the snapshot when the ratio is less than the preset threshold; and

replicating, according to a storage address of the data that is located in the first device, the data from the first device to the second device without a snapshot operation when the ratio is not less than the preset threshold and taking no snapshot for the first device until the ratio decreases to be less than the preset threshold.

2. The data replication method of claim 1 , wherein the usage status further comprises the data amount of incoming data at the first device and the bandwidth for replication between the first device and the second device.

3. The data replication method of claim 1 , wherein the usage status comprises the data amount of incoming data at the first device.

4. The data replication method of claim 1 , wherein one of the two kinds of replication manners is taking the snapshot on differential data differentiating the first device from the second device.

5. The data replication method of claim 4 , wherein the snapshot is a copy-on-write (COW) snapshot or a split-mirror snapshot.

6. The data replication method of claim 1 , further comprising obtaining a time required for the replication as the ratio.

7. The data replication method of claim 1 , further comprising recording the bandwidth.

8. The data replication method of claim 1 , wherein replicating the data further comprises performing each round of data replication according to a sequence in which a data replication pointer points from a start address in the first device to an end address in the second device.

9. An electronic device, comprising:

a memory configured to store a program; and

a processor coupled to the memory and configured to execute the program to cause the electronic device to:

obtain a usage status comprising a ratio of a data amount of incoming data at a first device and a bandwidth for replication between the first device and a second device wherein a replication manner to replicate data from the first device to the second device is based on the usage status and a preset threshold;

take a snapshot for the first device from the second device and replicating the data to the second device according to the snapshot when the ratio is less than the preset threshold; and

replicate, according to a storage address of the data that is located in the first device, the data from the first device to the second device without a snapshot operation when the ratio is not less than the preset threshold and take no snapshot for the first device until the ratio decreases to be less than the preset threshold.

10. The electronic device of claim 9 , wherein the usage status further comprises the data amount of incoming data at the first device and the bandwidth for replication between the first device and the second device.

11. The electronic device of claim 9 , wherein the usage status comprises the data amount of incoming data at the first device.

12. The electronic device of claim 9 , wherein one of the two kinds of replication manners is taking the snapshot on differential data differentiating the first device from the second device.

13. The electronic device of claim 12 , wherein the snapshot is a copy-on-write (COW) snapshot or a split-mirror snapshot.

14. The electronic device of claim 9 , wherein the processor is further configured to obtain a time required for the replication as the ratio.

15. The electronic device of claim 9 , wherein the processor is further configured to record the bandwidth.

16. A storage system, comprising:

a second device; and

a first device communicatively coupled to the second device and configured to:

obtain a usage status comprising a ratio of a data amount of incoming data at the first device and a bandwidth for replication between the first device and the second device wherein a replication manner to replicate data from the first device to the second device is based on the usage status and a preset threshold; and

replicate, according to a storage address of the data that is located in the first device, the data from the first device to the second device without a snapshot operation when the ratio is not less than the preset threshold and take no snapshot for the first device until the ratio decreases to be less than the preset threshold.

17. The storage system of claim 16 , wherein the usage status further comprises the data amount of incoming data at the first device and the bandwidth for replication between the first device and the second device.

18. The storage system of claim 16 , wherein the usage status comprises the data amount of incoming data at the first device.

19. The storage system of claim 16 , wherein one of the two kinds of replication manners is taking the snapshot on differential data differentiating the first device from the second device.

20. The storage system of claim 19 , wherein the snapshot is a copy-on-write (COW) snapshot or a split-mirror snapshot.

21. The storage system of claim 16 , wherein the first device is further configured to obtain a time required for the replication as the ratio.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2021
From: WANG, XIUWU; OUYANG, JI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 058345/0249 →
Continuity (4)
Continuation 17381733 · Jul 21, 2021
Continuation 15405996 · Jan 13, 2017
Continuation PCTCN2014082229 · Jul 15, 2014
Related Publication 20220100609A1 · Mar 31, 2022
References Cited (38)
US 8250033B1 · De Souter et al. · 2012 [cited by applicant]
US 11238009B1 · Dhakras · 2022 [cited by examiner]
US 20040260894A1 · Kephane et al. · 2004 [cited by applicant]
US 20050102480A1 · Yagisawa et al. · 2005 [cited by applicant]
US 20050172092A1 · Lam et al. · 2005 [cited by applicant]
US 20050216682A1 · Shinozaki et al. · 2005 [cited by applicant]
US 20060277376A1 · Watanabe et al. · 2006 [cited by applicant]
US 20090164608A1 · Komaki · 2009 [cited by applicant]
US 20090222499A1 · Tan et al. · 2009 [cited by applicant]
US 20090240899A1 · Akagawa et al. · 2009 [cited by applicant]
US 20090265520A1 · Geng et al. · 2009 [cited by applicant]
US 20110029748A1 · Nakamura et al. · 2011 [cited by applicant]
US 20110276539A1 · Thiam · 2011 [cited by applicant]
US 20110295809A1 · Tatebe · 2011 [cited by examiner]
US 20110295811A1 · Cherkasova · 2011 [cited by applicant]
US 20120079326A1 · Riegel · 2012 [cited by applicant]
US 20120131583A1 · Cherkasova · 2012 [cited by applicant]
US 20120233123A1 · Shisheng et al. · 2012 [cited by applicant]
US 20120331248A1 · Kono · 2012 [cited by applicant]
US 20130085995A1 · Mostachetti · 2013 [cited by applicant]
US 20130086345A1 · Endoh et al. · 2013 [cited by applicant]
US 20130145110A1 · Mogi et al. · 2013 [cited by applicant]
US 20130198449A1 · Belluomini · 2013 [cited by applicant]
US 20130311923A1 · Spivak · 2013 [cited by applicant]
US 20150339148A1 · Zheng · 2015 [cited by examiner]
CN 1704903A · 2005 [cited by applicant]
CN 101266565A · 2008 [cited by applicant]
CN 103617096A · 2014 [cited by applicant]
EP 1693756B1 · 2007 [cited by applicant]
JP 2006235737A · 2006 [cited by applicant]
JP 2006338250A · 2006 [cited by applicant]
JP 2007241623A · 2007 [cited by applicant]
JP 2007334913A · 2007 [cited by applicant]
JP 2009157471A · 2009 [cited by applicant]
JP 2009230383A · 2009 [cited by applicant]
JP 2011034164A · 2011 [cited by applicant]
WO 9820419A1 · 1998 [cited by applicant]
Merchant, A., et al., Performance Analysis of Dynamic Finite Versioning for Concurrent Transaction and Query Processing, XP058221958, Performance Evaluation Review, vol. 20, No. 1, Jun. 1992, pp. 103-114. [cited by applicant]