IP Library Granted Patent US 10,628,050
Granted Patent B2
US 10,628,050 · App. 15/946,484 · Granted Apr 21, 2020

Data processing method and apparatus

Inventor: Xiong Luo (Chengdu, CN)
Assignee: Huawei Technologies Co., Ltd.
G06F3/0611G06F3/067G06F3/0644G06F3/0659H04L29/08H04L67/1097
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 10,628,050
App. No.
15/946,484
Granted
Apr 21, 2020
Kind
B2
Abstract

A data processing technology is provided, and is applied to a partition management device. The partition management device stores a partition view, the partition view records a correspondence between an ID of a current partition and an address of a storage disk, and a total quantity of current partitions may be less than a total quantity of final partitions.

Claims (53)

1. A method, comprising:

managing, by a partition management controller, a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks;

determining, by the partition management controller, that an additional one or more storage disks have been added to the cluster of storage disks;

when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, splitting, by the partition management controller, at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and

allocating, by the partition management controller, the at least one additional partition to a second plurality of storage disks in the cluster of storage disks.

2. The method according to claim 1 , wherein:

each partition of the plurality of current partitions after splitting corresponds to at least one final partition.

3. The method according to claim 2 , wherein after allocating the at least one additional partition, the method further comprises:

receiving a first visiting to the final partition; and

transforming the first visiting to a second visiting to a current partition, the current partition corresponding to the final partition of the first visiting.

4. The method according to claim 1 , wherein:

the first condition is a first value; and

the second condition is a second value.

5. The method according to claim 1 , wherein:

the new total quantity of current partitions for the first plurality of storage disks in the cluster of storage disks after the splitting is no more than a preset quantity of final partitions.

6. The method according to claim 1 , wherein:

IDs of the plurality of current partitions for the first plurality of storage disks in the cluster of storage disks after the splitting are continuous natural numbers.

7. A device, comprising:

a processor; and

a computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:

managing a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks;

determining that an additional one or more storage disks have been added to the cluster of storage disks;

when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, splitting at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and

allocating the at least one additional partition to a second plurality of storage disks in the cluster of storage disks.

8. The device according to claim 7 , wherein:

each partition of the plurality of current partitions after splitting corresponds to at least one final partition.

9. The device according to claim 8 , wherein the program further includes instructions for:

receiving a first visiting to the final partition; and

transforming the first visiting to a second visiting to a current partition, the current partition corresponding to the final partition of the first visiting.

10. The device according to claim 7 , wherein:

the first condition is a first value; and

the second condition is a second value.

11. The device according to claim 7 , wherein:

the new total quantity of current partitions for the first plurality of storage disks in the cluster of storage disks after splitting is no more than a preset quantity of final partitions.

12. The device according to claim 7 , wherein:

IDs of the plurality of current partitions for the first plurality of storage disks in the cluster of storage disks after the splitting are continuous natural numbers.

13. A non-transitory computer readable medium storing instructions that, when executed by one or more processors, causes a device to:

manage a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks;

determine that an additional one or more storage disks have been added to the cluster of storage disks;

when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, split at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and

allocate the at least one additional partition to a second plurality of storage disks in the cluster of storage disks.

14. The medium according to claim 13 , wherein:

each partition of the plurality of current partitions after the splitting corresponds to at least one final partition.

15. The medium according to claim 14 , wherein the instructions, when executed by the one or more processors, further causes the device to:

receive a first visiting to the final partition; and

transform the first visiting to a second visiting to a current partition, the current partition corresponding to the final partition of the first visiting.

16. The medium according to claim 13 , wherein:

the first condition is a first value; and

the second condition is a second value.

17. The medium according to claim 13 , wherein:

the new total quantity of current partitions for the first plurality of storage disks in the cluster of storage disks after splitting is no more than a preset quantity of final partitions.

18. The medium according to claim 13 , wherein:

IDs of the plurality of current partitions for the first plurality of storage disks in the cluster of storage disks after splitting are continuous natural numbers.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 10, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: XFUSION DIGITAL TECHNOLOGIES CO., LTD.
Reel/Frame 058682/0312 →
Continuity (3)
Continuation 15587051 · May 4, 2017
Continuation PCTCN2014090299 · Nov 5, 2014
Related Publication 20180225048A1 · Aug 9, 2018