IP Library Granted Patent US 11,354,055
Granted Patent B2
US 11,354,055 · App. 17/408,610 · Granted Jun 7, 2022

Method and device for dividing storage devices into device groups

Inventor: Xinying Yang (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F3/0644G06F3/067G06F3/0614G06F3/0653G06F3/0659H04L9/0637
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 11,354,055
App. No.
17/408,610
Granted
Jun 7, 2022
Kind
B2
Abstract

Storage devices are divided into subgroups and assigned to subsystems based on data input and data output frequencies of the subsystems. Each subgroup of storage devices is associated with a corresponding subsystem. A subsystem with higher data input and data output frequencies is assigned a higher number of solid state drives than a subsystem with lower data input and data output frequencies.

Claims (56)

1. A computer-implemented method for distributed data storage, the method comprising:

for a blockchain service system comprising N subsystems, wherein N is a positive number greater than 1, wherein a first subsystem of the N subsystems has a function of writing data to a blockchain, and wherein a second subsystem of the N subsystems has a function of reading data that has been stored in the blockchain for at least a predetermined period of time,

determining that the first subsystem has changed to a function different from the function of writing data to the blockchain, or that the second subsystem has changed to a function different from the function of reading data that has been stored in the blockchain for at least the predetermined period of time; and

in response to determining that the first subsystem or the second subsystem has changed to a different function, performing a re-division of the N subsystems of the blockchain service system, wherein performing the re-division comprises:

determining data input and output frequency of each of the N subsystems of the blockchain service system, including based on data input and output since a previous re-division,

dividing a plurality of storage devices into N subgroups, wherein each subgroup includes at least one of the plurality of storage devices, and wherein each of the plurality of storage devices is included in no more than one subgroup of the N subgroups, and

establishing a one-to-one correspondence between the N subsystems and the N subgroups, wherein a subsystem with higher determined data input and output frequency corresponds to a subgroup that includes a number of solid state drives that are greater than or equal to a number of solid state drives included in a subgroup corresponding to a subsystem with lower determined data input and output frequency, and

wherein, while the first subsystem has the function of writing data to the blockchain, a subgroup corresponding to the first subsystem consists of solid state drives.

2. The computer-implemented method of claim 1 , wherein the data input and output frequency is determined by counting a quantity of times a data recording or data retrieving operation is performed by a corresponding subsystem of the N subsystems within a second predetermined period of time, the second predetermined period of time including a time interval since the previous re-division.

3. The computer-implemented method of claim 1 , wherein determining the data input and output frequency of each of the N subsystems of the blockchain service system comprises:

counting, as a counted quantities of times, a quantity of times a third subsystem of the N subsystems performs a data read or data write operation in each of a plurality of consecutive specified time intervals; and

determining an average value of the counted quantities of times.

4. The computer-implemented method of claim 1 , wherein a third subsystem of the N subsystems corresponds to a subgroup comprising a solid state drive and a hard disk drive, and wherein performing the re-division of the blockchain service system comprises:

determining that a portion of service data is stored on the solid state drive of the third subsystem for a second predetermined period of time; and

based on determining that the portion of service data is stored on the solid state drive of the third subsystem for the second predetermined period of time, transferring the portion of service data to the hard disk drive of the third subsystem.

5. The computer-implemented method of claim 1 , comprising:

determining that an amount of service data generated by a third subsystem of the N subsystems is large compared to amounts of service data generated by other subsystems of the N subsystems; and

based on determining that the amount of service data generated by the third subsystem is large, assigning an additional hard disk drive to a subgroup corresponding to the third subsystem.

6. A computer-implemented system for distributed data storage, comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, cause the one or more computers to perform operations comprising:

for a blockchain service system comprising N subsystems, wherein N is a positive number greater than 1, wherein a first subsystem of the N subsystems has a function of writing data to a blockchain, and wherein a second subsystem of the N subsystems has a function of reading data that has been stored in the blockchain for at least a predetermined period of time,

determining that the first subsystem has changed to a function different from the function of writing data to the blockchain, or that the second subsystem has changed to a function different from the function of reading data that has been stored in the blockchain for at least the predetermined period of time; and

in response to determining that the first subsystem or the second subsystem has changed to a different function, performing a re-division of the N subsystems of the blockchain service system, wherein performing the re-division comprises:

determining data input and output frequency of each of the N subsystems of the blockchain service system, including based on data input and output since a previous re-division,

dividing a plurality of storage devices into N subgroups, wherein each subgroup includes at least one of the plurality of storage devices, and wherein each of the plurality of storage devices is included in no more than one subgroup of the N subgroups, and

establishing a one-to-one correspondence between the N subsystems and the N subgroups, wherein a subsystem with higher determined data input and output frequency corresponds to a subgroup that includes a number of solid state drives that are greater than or equal to a number of solid state drives included in a subgroup corresponding to a subsystem with lower determined data input and output frequency, and

wherein, while the first subsystem has the function of writing data to the blockchain, a subgroup corresponding to the first subsystem consists of solid state drives.

7. The computer-implemented system of claim 6 , wherein the data input and output frequency is determined by counting a quantity of times a data recording or data retrieving operation is performed by a corresponding subsystem of the N subsystems within a second predetermined period of time, the second predetermined period of time including a time interval since the previous re-division.

8. The computer-implemented system of claim 6 , wherein determining the data input and output frequency of each of the N subsystems of the blockchain service system comprises:

counting, as a counted quantities of times, a quantity of times a third subsystem of the N subsystems performs a data read or data write operation in each of a plurality of consecutive specified time intervals; and

determining an average value of the counted quantities of times.

9. The computer-implemented system of claim 6 , wherein a third subsystem of the N subsystems corresponds to a subgroup comprising a solid state drive and a hard disk drive, and wherein performing the re-division of the blockchain service system comprises:

determining that a portion of service data is stored on the solid state drive of the third subsystem for a second predetermined period of time; and

based on determining that the portion of service data is stored on the solid state drive of the third subsystem for the second predetermined period of time, transferring the portion of service data to the hard disk drive of the third subsystem.

10. The computer-implemented system of claim 6 , wherein the operations comprise:

determining that an amount of service data generated by a third subsystem of the N subsystems is large compared to amounts of service data generated by other subsystems of the N subsystems; and

based on determining that the amount of service data generated by the third subsystem is large, assigning an additional hard disk drive to a subgroup corresponding to the third subsystem.

11. A non-transitory, computer-readable medium storing one or more instructions that, when executed by a computer system, cause the computer system to perform operations for distributed data storage, comprising:

for a blockchain service system comprising N subsystems, wherein N is a positive number greater than 1, wherein a first subsystem of the N subsystems has a function of writing data to a blockchain, and wherein a second subsystem of the N subsystems has a function of reading data that has been stored in the blockchain for at least a predetermined period of time,

determining that the first subsystem has changed to a function different from the function of writing data to the blockchain, or that the second subsystem has changed to a function different from the function of reading data that has been stored in the blockchain for at least the predetermined period of time; and

in response to determining that the first subsystem or the second subsystem has changed to a different function, performing a re-division of the N subsystems of the blockchain service system, wherein performing the re-division comprises:

determining data input and output frequency of each of the N subsystems of the blockchain service system, including based on data input and output since a previous re-division,

dividing a plurality of storage devices into N subgroups, wherein each subgroup includes at least one of the plurality of storage devices, and wherein each of the plurality of storage devices is included in no more than one subgroup of the N subgroups, and

establishing a one-to-one correspondence between the N subsystems and the N subgroups, wherein a subsystem with higher determined data input and output frequency corresponds to a subgroup that includes a number of solid state drives that are greater than or equal to a number of solid state drives included in a subgroup corresponding to a subsystem with lower determined data input and output frequency, and

wherein, while the first subsystem has the function of writing data to the blockchain, a subgroup corresponding to the first subsystem consists of solid state drives.

12. The non-transitory, computer-readable medium of claim 11 , wherein the data input and output frequency is determined by counting a quantity of times a data recording or data retrieving operation is performed by a corresponding subsystem of the N subsystems within a second predetermined period of time, the second predetermined period of time including a time interval since the previous re-division.

13. The non-transitory, computer-readable medium of claim 11 , wherein determining the data input and output frequency of each of the N subsystems of the blockchain service system comprises:

counting, as a counted quantities of times, a quantity of times a third subsystem of the N subsystems performs a data read or data write operation in each of a plurality of consecutive specified time intervals; and

determining an average value of the counted quantities of times.

14. The non-transitory, computer-readable medium of claim 11 , wherein a third subsystem of the N subsystems corresponds to a subgroup comprising a solid state drive and a hard disk drive, and wherein performing the re-division of the blockchain service system comprises:

determining that a portion of service data is stored on the solid state drive of the third subsystem for a second predetermined period of time; and

based on determining that the portion of service data is stored on the solid state drive of the third subsystem for the second predetermined period of time, transferring the portion of service data to the hard disk drive of the third subsystem.

15. The non-transitory, computer-readable medium of claim 11 , further comprising:

determining that an amount of service data generated by a third subsystem of the N subsystems is large compared to amounts of service data generated by other subsystems of the N subsystems; and

based on determining that the amount of service data generated by the third subsystem is large, assigning an additional hard disk drive to a subgroup corresponding to the third subsystem.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 18, 2025
From: ADVANCED NEW TECHNOLOGIES CO., LTD.
To: ANTCHAIN TECHNOLOGY PTE. LTD.
Reel/Frame 070253/0064 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2021
From: YANG, XINYING
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 057823/0034 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2021
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 057842/0354 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2021
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 057842/0414 →