Method, electronic device, and computer program product for data processing

US11500577B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11500577-B2
Application numberUS-202117146819-A
CountryUS
Kind codeB2
Filing dateJan 12, 2021
Priority dateDec 17, 2020
Publication dateNov 15, 2022
Grant dateNov 15, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present disclosure relate to a method, an electronic device, and a computer program product for data processing. According to an exemplary implementation of the present disclosure, a method for data processing includes: determining a type of target data associated with an access request, the type including at least one of: computation data type, recovery data type, and hot data type; selecting, based on the type, a target access mode of a storage device associated with the target data from a direct access mode and a block device mode; and causing the storage device to access the target data in the target access mode. As a result, good management of quality of service can be achieved for storage devices.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for data processing, comprising: determining a type of target data associated with an access request, the type of the target data comprising at least one of a computation data type, a recovery data type, or a hot data type; selecting, based on the type of the target data, a target access mode of a storage device associated with the target data from a direct access mode and a block device mode; and causing the storage device to access the target data in the target access mode, wherein selecting the target access mode comprises: if the type is the computation data type, selecting the direct access mode as the target access mode; and if the type is the recovery data type and the hot data type, selecting the block device mode as the target access mode, wherein selecting the block device mode as the target access mode comprises determining a synchronous block device mode combined with direct memory access as the target access mode if the type is the recovery data type. 2. The method according to claim 1 , wherein the computation data type is a type of data that affects a computation speed of a task being performed, the recovery data type is a type of data used to restore an interrupted task, and the hot data type is a type of data whose access frequency exceeds a threshold frequency. 3. The method according to claim 1 , wherein the computation data type comprises at least one of: a register data type, a metadata type, or an index table type. 4. The method according to claim 1 , wherein selecting the block device mode as the target access mode further comprises: if the type is the hot data type, determining an asynchronous block device mode combined with direct memory access as the target access mode. 5. The method according to claim 1 , wherein the target access mode is the block device mode, and the method further comprises: determining a priority of the access request based on at least one of the type, a service level associated with a user who initiated the access request, and a platform that initiated the access request; determining a queue corresponding to the access request based on the priority; and putting the access request into the queue. 6. The method according to claim 5 , wherein causing the storage device to access the target data in the target access mode comprises: acquiring the access request from the queue during polling of the queue; and causing the storage device to access the target data with a predetermined bandwidth during a predetermined time slice in the target access mode, the predetermined time slice and the predetermined bandwidth being determined based on the priority. 7. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions, which when executed by the at least one processing unit, cause the device to perform actions, the actions comprising: determining a type of target data associated with an access request, the type of the target data comprising at least one of a computation data type, a recovery data type, or a hot data type; selecting, based on the type of the target data, a target access mode of a storage device associated with the target data from a direct access mode and a block device mode; and causing the storage device to access the target data in the target access mode, wherein selecting the target access mode comprises: if the type is the computation data type, selecting the direct access mode as the target access mode; and if the type is the recovery data type and the hot data type, selecting the block device mode as the target access mode, wherein selecting the block device mode as the target access mode comprises: if the type is the recovery data type, determining a synchronous block device mode combined with direct memory access as the target access mode; and if the type is the hot data type, determining an asynchronous block device mode combined with direct memory access as the target access mode. 8. The device according to claim 7 , wherein the computation data type is a type of data that affects a computation speed of a task being performed, the recovery data type is a type of data used to restore an interrupted task, and the hot data type is a type of data whose access frequency exceeds a threshold frequency. 9. The device according to claim 7 , wherein the computation data type comprises at least one of: a register data type, a metadata type, or an index table type. 10. The device according to claim 7 , wherein selecting the block device mode as the target access mode further comprises: if the type is the hot data type, determining an asynchronous block device mode combined with direct memory access as the target access mode. 11. The device according to claim 7 , wherein the target access mode is the block device mode, and the method further comprises: determining a priority of the access request based on at least one of the type, a service level associated with a user who initiated the access request, and a platform that initiated the access request; determining a queue corresponding to the access request based on the priority; and putting the access request into the queue. 12. The device according to claim 11 , wherein causing the storage device to access the target data in the target access mode comprises: acquiring the access request from the queue during polling of the queue; and causing the storage device to access the target data with a predetermined bandwidth during a predetermined time slice in the target access mode, the predetermined time slice and the predetermined bandwidth being determined based on the priority. 13. A non-transitory computer-readable medium including machine-executable instructions, which when executed by a machine, cause the machine to perform actions, the actions comprising: determining a type of target data associated with an access request, the type of the target data comprising at least one of a computation data type, a recovery data type, or a hot data type; selecting, based on the type of the target data, a target access mode of a storage device associated with the target data from a direct access mode and a block device mode; and causing the storage device to access the target data in the target access mode, wherein selecting the target access mode comprises: if the type is the computation data type, selecting the direct access mode as the target access mode; and if the type is the recovery data type and the hot data type, selecting the block device mode as the target access mode, wherein selecting the block device mode as the target access mode comprises determining a synchronous block device mode combined with direct memory access as the target access mode if the type is the recovery data type. 14. The computer-readable medium according to claim 13 , wherein the computation data type is a type of data that affects a computation speed of a task being performed, the recovery data type is a type of data used to restore an interrupted task, and the hot data type is a type of data whose access frequency exceeds a threshold frequency. 15. The computer-readable medium according to claim 13 , wherein the computation data type comprises at least one of: a register data type, a metadata type, or an index table type. 16. The computer-readable medium according to claim 13 , wherein selecting the block device mode as the target access mode further comprises: if the type is the hot data type, determinin

Assignees

Inventors

Classifications

  • by allocating resources to storage systems · CPC title

  • Disk arrays, e.g. RAID, JBOD · CPC title

  • In-line storage system · CPC title

  • by changing the path, e.g. traffic rerouting, path reconfiguration · CPC title

  • Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11500577B2 cover?
Embodiments of the present disclosure relate to a method, an electronic device, and a computer program product for data processing. According to an exemplary implementation of the present disclosure, a method for data processing includes: determining a type of target data associated with an access request, the type including at least one of: computation data type, recovery data type, and hot da…
Who is the assignee on this patent?
Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F3/0634. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 15 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).