IP Library Granted Patent US 12,360,709
Granted Patent B2
US 12,360,709 · App. 18/684,941 · Granted Jul 15, 2025

Distributed storage space management method, computing device and storage medium

Inventor: Jun Piao (Hangzhou, CN)
Assignee: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
G06F3/067G06F3/0604G06F3/0644G06F3/0655
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,360,709
App. No.
18/684,941
Granted
Jul 15, 2025
Kind
B2
Abstract

A distributed storage space management method, a computing device and a storage medium are provided. An embodiment is applied to a hardware smart card, which is deployed on a local host as a local hardware smart card. A corresponding storage space is partitioned for a local virtual device from a pre-configured storage device; the partitioned storage space is simulated to generate a simulated storage device corresponding to the local virtual device, for use by the local virtual device. A storage space application request of a remote hardware smart card is received, and according to the request, a corresponding storage space is partitioned for a remote virtual device from the pre-configured storage device, so that the partitioned storage space is simulated by means of the remote hardware smart card to generate a simulated storage device corresponding to the remote virtual device, for use by the remote virtual device.

Claims (61)

1. A distributed storage space management method, applied to a hardware smart card, wherein the hardware smart card is deployed on a local host as a local hardware smart card, and the local host is deployed with a local virtual device, the method comprises:

partitioning a corresponding storage space for the local virtual device from a pre- configured storage device;

simulating the partitioned storage space to generate a simulated storage device corresponding to the local virtual device, for use by the local virtual device; and

receiving a storage space application request of a remote hardware smart card, and partitioning, according to the storage space application request, a corresponding storage space for a remote virtual device from the pre-configured storage device, so that the partitioned storage space is simulated by means of the remote hardware smart card on the basis of the storage space partitioned by the local hardware smart card to generate a simulated storage device corresponding to the remote virtual device, for use by the remote virtual device.

2. The method according to claim 1 , wherein the hardware smart card is deployed with a namespace manager, and the method further comprises:

the partitioning the corresponding storage space for the local virtual device from the pre-configured storage device comprises: partitioning, by means of the namespace manager, the corresponding storage space for the local virtual device from the pre-configured storage device; and

the partitioning the corresponding storage space for the remote virtual device from the pre- configured storage device comprises: partitioning, by means of the namespace manager, the corresponding storage space for the remote virtual device from the pre-configured storage device.

3. The method according to claim 1 , wherein the hardware smart card comprises a network protocol chip, and the method further comprises:

receiving, by means of the local hardware smart card, read and write data sent by the network protocol chip of the remote hardware smart card, wherein the read and write data is encapsulated based on a network protocol corresponding to the network protocol chip; and

acquiring, by means of the network protocol chip of the local hardware smart card, read and write data from the encapsulated read and write data, so that the local hardware smart card performs data reading and writing in a corresponding storage space based on the read and write data.

4. The method according to claim 3 , wherein the pre-configured storage device is a storage device that meets a pre-configured interface protocol, the network protocol corresponding to the network protocol chip corresponds to the pre-configured interface protocol, and the read and write data are encapsulated based on the network protocol and the pre-configured interface protocol; and the method further comprises:

receiving, by means of the local hardware smart card, the read and write data that is sent by the network protocol chip of the remote hardware smart card and is encapsulated based on the pre-configured interface protocol and the network protocol; and

by means of the network protocol chip of the local hardware smart card, acquiring, from the encapsulated read and write data, read and write data encapsulated based on the pre-configured interface protocol, to perform data reading and writing in a storage space corresponding to the pre-configured storage device according to the read and write data encapsulated based on the pre-configured interface protocol.

5. The method according to claim 4 , wherein the hardware smart card comprises a bus switch; by means of the bus switch, at least one pre-configured storage device is deployed to the local hardware smart card; and

the method further comprises: delivering, by means of the bus switch, the encapsulated read and write data to the pre-configured storage device, to achieve data reading and writing in the corresponding storage space.

6. The method according to claim 1 , wherein the simulating the partitioned storage space to generate the simulated storage device corresponding to the local virtual device comprises:

simulating, by means of the local hardware smart card, the partitioned storage space to generate a simulated storage device meeting a pre-configured interface protocol, and providing the corresponding simulated storage device to the local virtual device by means of a bus of the local host.

7. The method according to claim 1 , further comprising:

receiving, according to a direct memory access mode, read and write data sent through a corresponding driver by the local virtual device, the driver meeting a pre-configured interface protocol and encapsulating the corresponding read and write data by means of the pre-configured interface protocol to send the read and write data; and

delivering, by means of a bus switch, the read and write data encapsulated according to the pre-configured interface protocol to the pre-configured storage device, to achieve data reading and writing in a corresponding storage space.

8. The method according to claim 2 , wherein the namespace manager comprises a local namespace for recording a usage state of a pre-configured storage device corresponding to the local hardware smart card, and a remote namespace for recording a usage state of a pre-configured storage device corresponding to the remote hardware smart card; and

the method further comprises:

when a storage space in the pre-configured storage device corresponding to the local hardware smart card is less than a threshold, determining, by means of the remote namespace, a remote hardware smart card that is able to meet a current storage space demand, and sending a storage space application request to a corresponding remote hardware smart card, to partition a corresponding storage space for the local virtual device from the pre-configured storage device corresponding to the remote hardware smart card.

9. The method according to claim 8 , wherein the hardware smart card is deployed with a coherence manager; and the method further comprises: locking, by means of the coherence manager, the corresponding storage space for the local virtual device according to the storage space application request, so that other hardware smart cards cannot occupy the corresponding storage space.

10. The method according to claim 1 , wherein the hardware smart card deploys a cluster manager for managing hardware smart cards in a corresponding cluster; and

the method further comprises: acquiring, by means of the cluster manager, health states of remote hardware smart cards in the corresponding cluster, wherein the health state refers to whether a running state of the remote hardware smart card is normal;

when acquiring, by means of the cluster manager, a remote hardware smart card with the health state being abnormal in the corresponding cluster, removing the abnormal remote hardware smart card;

acquiring and recording, by means of the cluster manager, a newly added remote hardware smart card in the corresponding cluster and a corresponding health state; and

acquiring, by means of the cluster manager, usage states of pre-configured storage devices corresponding to the remote hardware smart cards, so that remote namespaces record the usage states.

11. The method according to claim 1 , further comprising:

receiving a storage space release request of the remote hardware smart card, and releasing, according to the storage space release request, the corresponding storage space partitioned for the remote virtual device from the pre-configured storage device, so that the corresponding simulated storage device is destroyed by means of the remote hardware smart card.

12. A computing device, comprising: a memory and a processor, wherein:

the memory is used for storing a computer program; and

the processor executes the computer program to:

partition a corresponding storage space for a local virtual device from a pre-configured storage device;

simulate the partitioned storage space to generate a simulated storage device corresponding to the local virtual device, for use by the local virtual device; and

receive a storage space application request of a remote hardware smart card, and partition, according to the storage space application request, a corresponding storage space for a remote virtual device from the pre-configured storage device, so that the partitioned storage space is simulated by means of the remote hardware smart card on the basis of the storage space partitioned by the local hardware smart card to generate a simulated storage device corresponding to the remote virtual device, for use by the remote virtual device.

13. A non-transitory computer-readable storage medium storing a computer program that, when executed by one or more processors, causes the one or more processors to implement steps in the method of claim 1 .

14. The computing device according to claim 12 , wherein the hardware smart card is deployed with a namespace manager, and

wherein the processor executes the computer program to:

partition, by means of the namespace manager, the corresponding storage space for the local virtual device from the pre-configured storage device; and

partition, by means of the namespace manager, the corresponding storage space for the remote virtual device from the pre-configured storage device.

15. The computing device according to claim 12 , wherein the hardware smart card comprises a network protocol chip, and

wherein the processor executes the computer program to:

receive, by means of the local hardware smart card, read and write data sent by the network protocol chip of the remote hardware smart card, wherein the read and write data is encapsulated based on a network protocol corresponding to the network protocol chip; and

acquire, by means of the network protocol chip of the local hardware smart card, read and write data from the encapsulated read and write data, so that the local hardware smart card performs data reading and writing in a corresponding storage space based on the read and write data.

16. The computing device according to claim 15 , wherein the pre-configured storage device is a storage device that meets a pre-configured interface protocol, the network protocol corresponding to the network protocol chip corresponds to the pre-configured interface protocol, and the read and write data are encapsulated based on the network protocol and the pre-configured interface protocol, and

wherein the processor executes the computer program to:

receive, by means of the local hardware smart card, the read and write data that is sent by the network protocol chip of the remote hardware smart card and is encapsulated based on the pre-configured interface protocol and the network protocol; and

by means of the network protocol chip of the local hardware smart card, acquire, from the encapsulated read and write data, read and write data encapsulated based on the pre-configured interface protocol, to perform data reading and writing in a storage space corresponding to the pre-configured storage device according to the read and write data encapsulated based on the pre-configured interface protocol.

17. The computing device according to claim 16 , wherein the hardware smart card comprises a bus switch; by means of the bus switch, at least one pre-configured storage device is deployed to the local hardware smart card, and

wherein the processor executes the computer program to:

deliver, by means of the bus switch, the encapsulated read and write data to the pre-configured storage device, to achieve data reading and writing in the corresponding storage space.

18. The computing device according to claim 12 , wherein the processor executes the computer program to:

simulate, by means of the local hardware smart card, the partitioned storage space to generate a simulated storage device meeting a pre-configured interface protocol, and provide the corresponding simulated storage device to the local virtual device by means of a bus of the local host.

19. The computing device according to claim 12 , wherein the processor executes the computer program to:

receive, according to a direct memory access mode, read and write data sent through a corresponding driver by the local virtual device, the driver meeting a pre-configured interface protocol and encapsulating the corresponding read and write data by means of the pre-configured interface protocol to send the read and write data; and

deliver, by means of a bus switch, the read and write data encapsulated according to the pre-configured interface protocol to the pre-configured storage device, to achieve data reading and writing in a corresponding storage space.

20. The computing device according to claim 14 , wherein the namespace manager comprises a local namespace for recording a usage state of a pre-configured storage device corresponding to the local hardware smart card, and a remote namespace for recording a usage state of a pre-configured storage device corresponding to the remote hardware smart card, and

wherein the processor executes the computer program to:

when a storage space in the pre-configured storage device corresponding to the local hardware smart card is less than a threshold, determine, by means of the remote namespace, a remote hardware smart card that is able to meet a current storage space demand, and send a storage space application request to a corresponding remote hardware smart card, to partition a corresponding storage space for the local virtual device from the pre-configured storage device corresponding to the remote hardware smart card.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 30, 2026
From: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075366/0376 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 26, 2024
From: PIAO, JUN
To: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD
Reel/Frame 068790/0691 →
Priority Claims (1)
CN 202210068450.9 · Jan 20, 2022 · national
Continuity (1)
Related Publication 20240361959A1 · Oct 31, 2024
References Cited (16)
US 10531592B1 · Jau · 2020 [cited by examiner]
US 20150317091A1 · Hussain et al. · 2015 [cited by applicant]
US 20170075856A1 · Suzue · 2017 [cited by examiner]
US 20180032249A1 · Makhervaks · 2018 [cited by examiner]
US 20190146675A1 · Subramanian · 2019 [cited by examiner]
US 20210081312A1 · Coury · 2021 [cited by examiner]
US 20210240353A1 · Guan · 2021 [cited by examiner]
US 20220100544A1 · Voltz · 2022 [cited by examiner]
US 20220206962A1 · Kim · 2022 [cited by examiner]
US 20230305977A1 · Glimcher · 2023 [cited by examiner]
CN 109496296A · 2019 [cited by applicant]
CN 109582592A · 2019 [cited by applicant]
CN 111722786A · 2020 [cited by applicant]
CN 114089926A · 2022 [cited by applicant]
International Search Report for PCT/CN2023/071809 entitled “Distributed Storage Space Management Method, Computing Device and Storage Medium”, dated Apr. 21, 2023 (5 pages including English-language translation). [cited by applicant]
Written Opinion for PCT/CN2023/071809 entitled “Distributed Storage Space Management Method, Computing Device and Storage Medium”, dated Apr. 21, 2023 (5 pages). [cited by applicant]