IP Library Granted Patent US 11,481,130
Granted Patent B2
US 11,481,130 · App. 17/028,173 · Granted Oct 25, 2022

Method, electronic device and computer program product for processing operation commands

Inventors: Zhibin Zhang (Chengdu, CN); Yalan Kuang (Chengdu, CN)
Assignee: EMC IP Holding Company LLC
G06F3/064G06F3/0604G06F3/0673G06F16/2291
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,481,130
App. No.
17/028,173
Granted
Oct 25, 2022
Kind
B2
Abstract

Techniques involve determining a target identifier of an operation command if a type of the operation command is determined to be a target type, the target type indicating that the operation command is a command for acquiring data. The techniques further involve executing the operation command to acquire a target data block if it is determined that the target identifier does not exist in a historical mapping relationship between stored data blocks and identifiers of historical operation commands for the stored data blocks. The techniques further involve storing the target data block and a target mapping relationship between the target data block and the target identifier in a storage space for storing the stored data blocks and the historical mapping relationship. Accordingly, different types of commands can be quickly distinguished, thereby reducing the time for processing commands of a target type, reducing the bandwidth consumed, and improving processing efficiency.

Claims (51)

1. A method for processing an operation command, comprising:

determining a type of a received operation command;

determining a target identifier of the received operation command if it is determined that the type of the received operation command indicates that the received operation command is a command for acquiring data;

executing the received operation command to acquire a target data block if it is determined that the target identifier does not exist in a historical mapping relationship between stored data blocks and identifiers of historical operation commands for the stored data blocks; and

storing the target data block and a target mapping relationship between the target data block and the target identifier in a storage space for storing the stored data blocks and the historical mapping relationship.

2. The method according to claim 1 , wherein storing the target data block and the target mapping relationship comprises:

determining whether the stored data blocks in the storage space comprise the target data block; and

storing the target mapping relationship if it is determined that the stored data blocks comprise the target data block.

3. The method according to claim 2 , further comprising:

determining whether the storage space is full if it is determined that the stored data blocks do not comprise the target data block;

storing the target data block and the target mapping relationship in the storage space if it is determined that the storage space is not full; and

adjusting the storage space to store the target data block and the target mapping relationship if it is determined that the storage space is full.

4. The method according to claim 3 , wherein adjusting the storage space comprises:

determining the number of uses of the target data block and remaining duration during which the target data block can be saved in the storage space;

determining a priority of the target data block based on the number of uses and the remaining duration; and

deleting, if it is determined that the priority of the target data block is higher than a priority of at least one of the stored data blocks, the at least one stored data block and its corresponding mapping relationship from the storage space to store the target data block and the target mapping relationship.

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

acquiring a target data block corresponding to the target identifier based on the historical mapping relationship if it is determined that the target identifier exists in the historical mapping relationship.

6. The method according to claim 1 , wherein determining the type comprises:

inputting the operation command into a classification model to determine the type of the operation command.

7. The method according to claim 1 , wherein determining the target identifier comprises:

performing a hash operation on content in the operation command to determine the target identifier.

8. An electronic device, comprising:

at least one processor; and

a memory coupled to the at least one processor and having instructions stored thereon, wherein when executed by the at least one processor, the instructions cause the device to perform actions comprising:

determining a type of a received operation command;

determining a target identifier of the received operation command if it is determined that the type of the received operation command indicates that the received operation command is a command for acquiring data;

executing the received operation command to acquire a target data block if it is determined that the target identifier does not exist in a historical mapping relationship between stored data blocks and identifiers of historical operation commands for the stored data blocks; and

storing the target data block and a target mapping relationship between the target data block and the target identifier in a storage space for storing the stored data blocks and the historical mapping relationship.

9. The electronic device according to claim 8 , wherein storing the target data block and the target mapping relationship comprises:

determining whether the stored data blocks in the storage space comprise the target data block; and

storing the target mapping relationship if it is determined that the stored data blocks comprise the target data block.

10. The electronic device according to claim 9 , wherein the actions further comprise:

determining whether the storage space is full if it is determined that the stored data blocks do not comprise the target data block;

storing the target data block and the target mapping relationship in the storage space if it is determined that the storage space is not full; and

adjusting the storage space to store the target data block and the target mapping relationship if it is determined that the storage space is full.

11. The electronic device according to claim 10 , wherein adjusting the storage space comprises:

determining the number of uses of the target data block and remaining duration during which the target data block can be saved in the storage space;

determining a priority of the target data block based on the number of uses and the remaining duration; and

deleting, if it is determined that the priority of the target data block is higher than a priority of at least one of the stored data blocks, the at least one stored data block and its corresponding mapping relationship from the storage space to store the target data block and the target mapping relationship.

12. The electronic device according to claim 8 , wherein the actions further comprise:

acquiring a target data block corresponding to the target identifier based on the historical mapping relationship if it is determined that the target identifier exists in the historical mapping relationship.

13. The electronic device according to claim 8 , wherein determining the type comprises:

inputting the operation command into a classification model to determine the type of the operation command.

14. The electronic device according to claim 8 , wherein determining the target identifier comprises:

performing a hash operation on content in the operation command to determine the target identifier.

15. A computer program product having a non-transitory computer readable medium which stores a set of instructions to process an operation command; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

determining a type of a received operation command;

determining a target identifier of the received operation command if it is determined that the type of the received operation command indicates that the received operation command is a command for acquiring data;

executing the received operation command to acquire a target data block if it is determined that the target identifier does not exist in a historical mapping relationship between stored data blocks and identifiers of historical operation commands for the stored data blocks; and

storing the target data block and a target mapping relationship between the target data block and the target identifier in a storage space for storing the stored data blocks and the historical mapping relationship.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0523) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0664 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0434) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0740 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0609) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 062021/0570 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 17, 2022
From: BOOTH, ROBERT C.; HEBBLEWHITE, HARRY
To: ASEKO, INC.
Reel/Frame 059930/0597 →
RELEASE OF SECURITY INTEREST AT REEL 054591 FRAME 0471 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0463 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2021
From: ZHANG, ZHIBIN; KUANG, YALAN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 054817/0337 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0523 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 054475/0609 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0434 →
SECURITY AGREEMENT Recorded Nov 13, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 054591/0471 →