IP Library Granted Patent US 12,001,289
Granted Patent B2
US 12,001,289 · App. 17/771,614 · Granted Jun 4, 2024

Data recovery method, apparatus and device, and readable storage medium

Inventors: Yinlong Xu (Shandong, CN); Xiangrui Meng (Shandong, CN)
Assignee: Inspur Electronic Information Industry Co., Ltd.
G06F11/1448G06F2201/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,001,289
App. No.
17/771,614
Granted
Jun 4, 2024
Kind
B2
Abstract

A data recovery method, apparatus and device, and a readable storage medium are provided. The method comprises: receiving and analyzing a data recovery request, and obtaining a total cluster data recovery amount and a total local data recovery amount; determining a basic recovery speed by means of the total cluster data recovery amount and the total local data recovery amount; performing data recovery, and compiling statistics on a proportion of recovered small files within a specified number of recovery periods; and adjusting the basic recovery speed by means of the proportion of the small files, and performing data recovery according to the adjusted basic recovery speed. In the method, a basic recovery speed can be adjusted in accordance with the small file recovery proportion, such that the overall efficiency of data recovery can be improved, and the influence on a front-end service of a user can also be reduced.

Claims (42)

1. A data recovery method, comprising:

receiving and analyzing a data recovery request sent by a monitoring node, and obtaining a total cluster data recovery amount and a total local data recovery amount;

determining a basic recovery speed by means of the total cluster data recovery amount and the total local data recovery amount;

performing data recovery according to the basic recovery speed, and compiling statistics on a proportion of recovered small files within a specified number of recovery periods; and

adjusting the basic recovery speed by means of the proportion of the small files, and performing data recovery according to the adjusted basic recovery speed;

wherein performing data recovery according to the basic recovery speed comprises:

determining whether the data recovery speed in the current recovery period is greater than the basic recovery speed;

if the data recovery speed in the current recovery period is greater than the basic recovery speed, stopping data recovery for the current recovery period;

if the data recovery speed in the current recovery period is not greater than the basic recovery speed, continuing data recovery.

2. The data recovery method of claim 1 , wherein determining a basic recovery speed by means of the total cluster data recovery amount and the total local data recovery amount comprises:

communicating and interacting with the monitoring node, to determine a cluster recovery speed;

calculating a ratio of the total local data recovery amount to the total cluster data recovery amount; and

using the product of the cluster recovery speed and the ratio as the basic recovery speed.

3. The data recovery method of claim 1 , wherein adjusting the basic recovery speed by means of the proportion of the small files comprises:

up-regulating the basic recovery speed when the proportion of the small files is greater than a first threshold; and

down-regulating the basic recovery speed when the proportion of the small files is less than a second threshold.

4. The data recovery method of claim 3 , wherein up-regulating the basic recovery speed comprises:

increasing the number of objects recovered simultaneously, and increasing the number of objects allowed to be recovered in a single recovery period.

5. The data recovery method of claim 3 , wherein down-regulating the basic recovery speed comprises:

decreasing the number of objects recovered simultaneously, and decreasing the number of objects allowed to be recovered in a single recovery period.

6. The data recovery method of claim 1 , wherein before receiving and analyzing a data recovery request sent by a monitoring node, the method further comprises:

when a storage cluster is in failure, feeding back failure information to the monitoring node, such that the monitoring node may compile statistics on the total cluster data recovery amount and determine the total local data recovery amount based on the failure information.

7. A data recovery device, comprising:

a memory, configured to store computer programs; and

a processor, configured to implement, when executing the computer programs, a data recovery method comprising the steps of:

receiving and analyzing a data recovery request sent by a monitoring node, and obtaining a total cluster data recovery amount and a total local data recovery amount;

determining a basic recovery speed by means of the total cluster data recovery amount and the total local data recovery amount;

performing data recovery according to the basic recovery speed, and compiling statistics on a proportion of recovered small files within a specified number of recovery periods; and

adjusting the basic recovery speed by means of the proportion of the small files, and performing data recovery according to the adjusted basic recovery speed;

wherein performing data recovery according to the basic recovery speed comprises:

determining whether the data recovery speed in the current recovery period is greater than the basic recovery speed;

if the data recovery speed in the current recovery period is greater than the basic recovery speed, stopping data recovery for the current recovery period;

if the data recovery speed in the current recovery period is not greater than the basic recovery speed, continuing data recovery.

8. A readable storage medium, wherein the readable storage medium stores a computer program, and the computer program implements, when being executed by the processor, a data recovery method comprising the steps of:

receiving and analyzing a data recovery request sent by a monitoring node, and obtaining a total cluster data recovery amount and a total local data recovery amount;

determining a basic recovery speed by means of the total cluster data recovery amount and the total local data recovery amount;

performing data recovery according to the basic recovery speed, and compiling statistics on a proportion of recovered small files within a specified number of recovery periods; and

adjusting the basic recovery speed by means of the proportion of the small files, and performing data recovery according to the adjusted basic recovery speed;

wherein performing data recovery according to the basic recovery speed comprises:

determining whether the data recovery speed in the current recovery period is greater than the basic recovery speed;

if the data recovery speed in the current recovery period is greater than the basic recovery speed, stopping data recovery for the current recovery period;

if the data recovery speed in the current recovery period is not greater than the basic recovery speed, continuing data recovery.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 25, 2022
From: XU, YINLONG; MENG, XIANGRUI
To: INSPUR ELECTRONIC INFORMATION INDUSTRY CO., LTD.
Reel/Frame 059698/0333 →
Priority Claims (1)
CN 201911025159.8 · Oct 25, 2019 · national
Continuity (1)
Related Publication 20220413965A1 · Dec 29, 2022