Patentable/Patents/US-10817428
US-10817428

Method and electronic device for accessing data

PublishedOctober 27, 2020
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

Various embodiments of the present disclosure generally relate to a method and an electronic device for reading data. Specifically, the method comprises receiving a request for reading the target data, and in response to the request, searching for the target data by searching a data index generated in a cache for reading data. The method further comprises in response to the target data being found, providing the target data. A corresponding system, device and computer program product are also provided.

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method for reading target data, comprising: receiving a request, at a mapping logic unit (MLU), for reading the target data in a cache; searching for the target data by searching a data index generated in the cache for reading data, wherein the MLU is configured to receive a result of the searching for the target data, wherein in response to the target data being unfound in the cache for reading data, sending a mapping for read (MFR) request from the MLU to an application program interface of a common block device file system (CBFS API), wherein in response to receiving the MFR request, sending a read request from the CBFS API to a persistent file data cache (PFDC), wherein in response to receiving the read request at the PFDC, searching for the target data in a HASH structure in the PFDC and returning a result of the searching to the CBFS API; and upon finding the target data, providing the target data to the MLU to complete a read operation.

2

2. The method according to claim 1 , further comprising: updating the data index in the cache for reading data.

3

3. The method according to claim 2 , wherein the updating the data index in the cache for reading data comprises: in response to data being written to the cache for reading data, generating an index entry for the written data; and updating the data index using the index entry.

4

4. The method according to claim 3 , wherein the generating an index entry for the written data comprises: in response to the written data being renamed, generating the index entry based on a file system identifier, an index node identifier and an offset.

5

5. The method according to claim 2 , wherein the updating the data index in the cache for reading data comprises: in response to the target data being stored in a persistent storage device, storing the target data in the cache for reading data; in response to the target data being stored in the cache for reading data, generating an index entry for the target data; and updating the data index using the index entry.

6

6. The method according to claim 1 , wherein the searching for the target data further comprises: in response to the target data being unfound in the cache for reading data, searching the cache for writing data.

7

7. The method according to claim 6 , wherein the searching for the target data further comprises: in response to the target data being unfound in the cache for writing data, searching a persistent storage device.

8

8. An electronic device, comprising: a processor; a memory coupled to the processor and storing instructions to be executed by the processor, the instructions, when executed by the processor, causing the electronic device to perform actions including: receiving a request, at a mapping logic unit (MLU), for reading a target data in a cache; searching for the target data by searching a data index generated in the cache for reading data, wherein the MLU is configured to receive a result of the searching for the target data, wherein in response to the target data being unfound in the cache for reading data, sending a mapping for read (MFR) request from the MLU to an application program interface of a common block device file system (CBFS API), wherein in response to receiving the MFR request, sending a read request from the CBFS API to a persistent file data cache (PFDC), wherein in response to receiving the read request at the PFDC, searching for the target data in a HASH structure in the PFDC and returning a result of the searching to the CBFS API; and upon finding the target data, providing the target data to the MLU to complete a read operation.

9

9. The electronic device according to claim 8 , wherein the actions further includes: updating the data index in the cache for reading data.

10

10. The electronic device according to claim 8 , wherein the updating the data index in the cache for reading data comprises: in response to data being written to the cache for reading data, generating an index entry for the written data; and updating the data index using the index entry.

11

11. The electronic device according to claim 10 , wherein the generating an index entry for the written data comprises: in response to the written data being renamed, generating the index entry based on a file system identifier, an index node identifier and an offset.

12

12. The electronic device according to claim 9 , wherein the updating the data index in the cache for reading data comprises: in response to the target data being stored in a persistent storage device, storing the target data in the cache for reading data; in response to the target data being stored in the cache for reading data, generating an index entry for the target data; and updating the data index using the index entry.

13

13. The electronic device according to claim 8 , wherein the searching for the target data further comprises: in response to the target data being unfound in the cache for reading data, searching the cache for writing data.

14

14. The electronic device according to claim 13 , wherein the searching for the target data further comprises: in response to the target data being unfound in the cache for writing data, searching a persistent storage device.

15

15. A computer program product for reading target data, the computer program product comprising: a non-transitory computer readable medium encoded with computer-executable program code, the code configured to enable the execution of: receiving a request, at a mapping logic unit (MLU), for reading the target data in a cache; searching for the target data by searching a data index generated in the cache for reading data, wherein the MLU is configured to receive a result of the searching for the target data, wherein in response to the target data being unfound in the cache for reading data, sending a mapping for read (MFR) request from the MLU to an application program interface of a common block device file system (CBFS API), wherein in response to receiving the MFR request, sending a read request from the CBFS API to a persistent file data cache (PFDC), wherein in response to receiving the read request at the PFDC, searching for the target data in a HASH structure in the PFDC and returning a result of the searching to the CBFS API; and upon finding the target data, providing the target data to the MLU to complete a read operation.

16

16. The computer program product of claim 15 , wherein the code is further configured to enable the execution of: updating the data index in the cache for reading data.

17

17. The computer program product of claim 16 , wherein the updating the data index in the cache for reading data comprises: in response to data being written to the cache for reading data, generating an index entry for the written data; and updating the data index using the index entry.

18

18. The computer program product of claim 17 , wherein the generating an index entry for the written data comprises: in response to the written data being renamed, generating the index entry based on a file system identifier, an index node identifier and an offset.

19

19. The computer program product of claim 16 , wherein the updating the data index in the cache for reading data comprises: in response to the target data being stored in a persistent storage device, storing the target data in the cache for reading data; in response to the target data being stored in the cache for reading data, generating an index entry for the target data; and updating the data index using the index entry.

20

20. The computer program product of claim 15 , wherein the searching for the target data further comprises: in response to the target data being unfound in the cache for reading data, searching the cache for writing data.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

December 19, 2017

Publication Date

October 27, 2020

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Method and electronic device for accessing data” (US-10817428). https://patentable.app/patents/US-10817428

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.