IP Library › Granted Patent US 12,182,402
Granted Patent B2
US 12,182,402 · App. 17/722,795 · Granted Dec 31, 2024

Data access method and apparatus, and first computing device

Inventors: Tao Li (Hangzhou, CN); Victor Gissin (Hod Hasharon, IL); Haixin Yu (Hangzhou, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F3/0608G06F3/0631G06F3/0683
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,182,402
App. No.
17/722,795
Granted
Dec 31, 2024
Kind
B2
Abstract

A data access method implemented by a first computing device includes receiving a second write operation command sent by a second computing device, where the second write operation command is obtained after the second computing device preprocesses a first write operation command generated by a host, and the first write operation command is used to write to-be-written data into a storage pool, and performing a data processing operation on the to-be-written data according to the second write operation command, wherein the first computing device writes processed to-be-written data into the storage pool.

Claims (70)

1. A method implemented by a first computing device and comprising:

obtaining, from a host, a first write operation command for writing to-be-written data into a storage pool coupled to the first computing device through a network interface card;

receiving, from a second computing device, a second write operation command that is based on preprocessing of the first write operation command;

performing a data processing operation on the to-be-written data according to the second write operation command to obtain processed to-be-written data; and

in response to the data processing operation, enabling the network interface card to:

read the processed to-be-written data;

write the processed to-be-written data into the storage pool;

receive, from the storage pool, a write complete command; and

send, to second computing device, the write complete command.

2. The method of claim 1 , wherein performing the data processing operation comprises performing one or more of erasure coding, data integrity field protection, or encryption on the to-be-written data according to the second write operation command.

3. The method of claim 1 , wherein the processed to-be-written data comprises verification data of the to-be-written data, and wherein writing the processed to-be-written data comprises:

storing the verification data in a memory of the first computing device; and

enabling the network interface card to dump the verification data from the memory to the storage pool.

4. The method of claim 3 , wherein the processed to-be-written data comprises the to-be-written data, and wherein before performing the data processing operation, the method further comprises dumping the to-be-written data from the host to the memory, and wherein writing the processed to-be-written data further comprises enabling the network interface card to dump the to-be-written data from the memory to the storage pool.

5. The method of claim 3 , wherein the processed to-be-written data further comprises the to-be-written data, and wherein writing the processed to-be-written data comprises enabling the network interface card to dump the to-be-written data from the host to the storage pool.

6. The method of claim 1 , wherein before receiving the second write operation command, the method further comprises sending the first write operation command to the second computing device.

7. The method of claim 6 , further comprising:

receiving a plurality of write operation commands comprising the first write operation command; and

sorting, before sending the first write operation command, the write operation commands according to a policy,

wherein sending the first write operation command comprises sending the first write operation command to the second computing device based on a position of the first write operation command among the write operation commands after the sorting.

8. The method of claim 1 , further comprising:

obtaining, from the host, a first read operation command for reading read data from the storage pool;

receiving the read data according to a second read operation command of the second computing device that is based on preprocessing of the first read operation command; and

forwarding the read data to the host.

9. The method of claim 8 , further comprising:

receiving a plurality of read operation commands comprising the first read operation command;

sorting, before receiving the read data, the read operation commands according to a policy; and

sending the first read operation command to the second computing device based on a position of the first read operation command among the read operation commands after the sorting.

10. A first computing device comprising:

a transceiver configured to:

receive, from a host, a first write operation command for writing to-be-written data into a storage pool coupled to the first computing device through a network interface card; and

receive, from a second computing device, a second write operation command that is based on preprocessing the first write operation command; and

a processor coupled to the transceiver and configured to:

perform a data processing operation on the to-be-written data according to the second write operation command to obtain processed to-be-written data; and

in response to the data processing operation, enable the network interface card to:

read the processed to-be-written data;

write the processed to-be-written data into the storage pool;

receive, from the storage pool, a write complete command; and

send, to second computing device, the write complete command.

11. The first computing device of claim 10 , wherein in a manner to perform the data processing operation, the processor is further configured to perform one or more of erasure coding, data integrity field protection, or encryption on the to-be-written data according to the second write operation command.

12. The first computing device of claim 10 , wherein the processed to-be-written data comprises verification data of the to-be-written data, and wherein the processor is further configured to:

store the verification data in a memory of the first computing device; and

enable the network interface card to dump the verification data from the memory to the storage pool.

13. The first computing device of claim 12 , wherein the processed to-be-written data further comprises the to-be-written data, and wherein the processor is further configured to:

dump the to-be-written data from the host to the memory; and

enable the network interface card to dump the to-be-written data from the memory to the storage pool.

14. The first computing device of claim 12 , wherein the processed to-be-written data further comprises the to-be-written data, and wherein the processor is further configured to enable the network interface card to dump the to-be-written data from the host to the storage pool.

15. The first computing device of claim 10 , wherein the processor is further configured to send the first write operation command to the second computing device.

16. The first computing device of claim 15 , wherein the processor is further configured to:

receive a plurality of write operation commands comprising the first write operation command;

sort, before sending the first write operation command, the plurality of write operation commands according to a policy; and

send the first write operation command to the second computing device based on a position of the first write operation command among the write operation commands after the sorting.

17. The first computing device of claim 10 , wherein the processor is further configured to:

obtain, from the host, a first read operation command for reading read data from the storage pool;

receive the read data according to a second read operation command of the second computing device that is based on preprocessing the first read operation command; and

forward the read data to the host.

18. The first computing device of claim 17 , wherein the processor is further configured to:

receive a plurality of read operation commands comprising the first read operation command;

sort, before receiving the read data, the plurality of read operation commands according to a policy; and

send the first read operation command to the second computing device based on a position of the first read operation command among the read operation commands after the sorting.

19. A computer program product comprising instructions that are stored on a computer-readable storage medium, and that when executed by a processor, cause a first computing device to:

obtain, from a host, a first write operation command for writing to-be-written data into a storage pool coupled to the first computing device through a network interface card;

receive, from a second computing device, a second write operation command that is based on preprocessing the first write operation command;

perform a data processing operation on the to-be-written data according to the second write operation command to obtain processed to-be-written data; and

in response to the data processing operation, enable the network interface card to:

read the processed to-be-written data;

write the processed to-be-written data into the storage pool;

receive, from the storage pool, a write complete command; and

send, to second computing device, the write complete command.

20. The computer program product of claim 19 , wherein in a manner to perform the data processing operation, the instructions further cause the first computing device to perform one or more of erasure coding, data integrity field protection, or encryption on the to-be-written data according to the second write operation command.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 13, 2022
From: LI, TAO; GISSIN, VICTOR; YU, HAIXIN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 061075/0258 →
Priority Claims (1)
CN 201910995668.7 · Oct 18, 2019 · national
Continuity (2)
Continuation PCTCN2020120977 · Oct 14, 2020
Related Publication 20220244861A1 · Aug 4, 2022