System and method for pre-storing small data files into a page-cache and performing reading and writing to the page cache during booting

US9710283B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9710283-B2
Application numberUS-201514751223-A
CountryUS
Kind codeB2
Filing dateJun 26, 2015
Priority dateJun 26, 2014
Publication dateJul 18, 2017
Grant dateJul 18, 2017

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.

A data processing method during a boot procedure of a smart device is provided. The data processing method includes: when a data request is detected during the boot procedure of the smart device, looking up whether a page cache pre-storing a small data file required for booting includes requested data of the data request, the small data file being file having a data amount smaller than a predetermined threshold; when the page cache includes the requested data, determining whether the data request is a data reading request or a data writing request; when the data request is the data reading request, duplicating the requested from the page cache to a system memory according to the data request. A boot time can be reduced through the above method.

First claim

Opening claim text (preview).

What is claimed is: 1. A data processing method during a boot procedure of a smart device, comprising: when a data request is detected in the boot procedure of the smart device, looking up whether a page cache pre-storing a small data file required for booting includes requested data of the data request, the small data file being a file having a data amount smaller than a predetermined threshold; when the page cache includes the requested data of the data request, determining whether the data request is a data reading request or a data writing request; and when the data request is the data reading request, duplicating the requested data from the page cache to a system memory according to the data request, wherein duplicating the requested data to the system memory according to the data request comprises: when the page cache includes a part of data of the requested data, if the part of data included in the page cache comprises a beginning section of data of the requested data or an ending section of data of the requested data of the data request, duplicating the part of data included to the data request, and reading a part of data of the requested data not included from an external memory; if the part of data included in the page cache comprises a middle section or fragments of the requested data of the data request, directly deleting the part of data included in the page cache, and reading the requested data from the external memory; when the page cache does not include the requested data and the data request is the data reading request, reading the requested data from an external memory. 2. The data processing method according to claim 1 , further comprising: obtaining the small data file required for booting, and consecutively storing the small data file into the page cache. 3. The data processing method according to claim 2 , wherein the step of consecutively storing the small data file into the page cache comprises: storing the small data file in form of pages into the page cache, and managing all pages stored in the page cache in form of a radix tree. 4. The data processing method according to claim 3 , wherein the step of managing all of the pages stored in the page cache in form of the radix tree comprises: connecting all of the pages in the page cache to a bidirectional chain list. 5. The data processing method according to claim 2 , further comprising: when the system memory is insufficient, prompting the page cache to release the pages in an appointed quantity, the pages in the appointed quantity being the pages in the appointed quantity from a header of a bidirectional chain list. 6. The data processing method according to claim 5 , wherein the step of prompting the page cache to release the pages in the appointed quantity comprises: prompting the page cache to delete the pages in the appointed quantity from the bidirectional chain list, and to delete the pages in the appointed quantity from the radix tree. 7. The data processing method according to claim 1 , wherein the step of reading the requested data from the external memory comprises: when a data amount of the requested data is smaller than the threshold, reading data in an amount of the predetermined threshold including the requested data from the external memory, duplicating the requested data from the read data of the predetermined threshold, and adding the remaining data to the page cache; when the data amount of requested data is greater than the threshold, directly reading and duplicating the requested data from the external memory to the system memory according to the data request. 8. The data processing method according to claim 1 , further comprising: when the page cache includes the requested data of the data request and the data request is the data writing request, deleting the requested data included in the page cache, and writing the requested data of the data request to an external memory; when the page cache does not include the requested data and the data request is the data writing request, directly writing the requested data to the external memory. 9. A smart device comprising a processor, the processor configured to: look up whether a page cache pre-storing a small data file required for booting includes requested data of a data request when the data request is detected in the boot procedure of the smart device, the small data file being a file having a data amount smaller than a predetermined threshold; determine whether the data request is a data reading request or a data writing request when the page cache includes the requested data of the data request; and duplicate the requested data from the page cache to a system memory according to the data request when it is determined that that the data request is the data reading request, wherein when the page cache includes a part of data of the requested data, if the part of data included in the page cache comprises a beginning section of data of the requested data or an ending section of data of the requested data of the data request, the processor is further configured to duplicate the part of data included to the data request, and read a part of data in the requested data not included from an external memory; if the part of data included in the page cache comprises a middle section or fragments of the requested data of the data request, the processor is further configured to directly delete the part of data included in the page cache, and read the requested data from the external memory; when the page cache does not include the requested data and the data request is the data reading request, the processor is further configured to read the requested data from an external memory. 10. The smart device according to claim 9 , wherein the processor is further configured to obtain the small data file required for booting and consecutively store the small data file to the page cache. 11. The smart device according to claim 10 , wherein the processor is further configured to store the small data file in form of pages into the page cache, and manage all pages stored in the page cache in form of a radix tree. 12. The smart device according to claim 11 , wherein the processor is further configured to connect all of the pages in the page cache to a bidirectional chain list. 13. The smart device according to claim 10 , wherein the processor is further configured to prompt the pages in an appointed quantity when the system memory is insufficient, wherein the pages in the appointed quantity are the pages in the appointed quantity from a header of a bidirectional chain list. 14. The smart device according to claim 13 , wherein the processor is further configured to delete the pages in the appointed quantity from the bidirectional chain list, and delete the pages in the appointed quantity from the radix tree. 15. The smart device according to claim 10 , wherein when the page cache includes the requested data of the data request and the data request is the data writing request, the processor is further configured to delete the requested data included in the page cache, and write the requested data of the data request to an external memory; when the page cache does not include the requested data and the data request is the data writing request, the processor is further configured to directly write the requested data to the external memory. 16. The smart device according to claim 9 , wherein when a data amount of the requested data is smaller than the threshold, the processor is further configured to read data in an amount of the predetermined threshold including the requ

Assignees

Inventors

Classifications

  • G06F9/4401Primary

    Bootstrapping (security arrangements therefor G06F21/57) · CPC title

  • G06F9/445Primary

    Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57) · CPC title

  • Metadata, control data · CPC title

  • Performance improvement · CPC title

  • Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module (address formation of the next microinstruction G06F9/26; masking faults in memories by using spares or by reconfiguring G11C29/70) · 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 US9710283B2 cover?
A data processing method during a boot procedure of a smart device is provided. The data processing method includes: when a data request is detected during the boot procedure of the smart device, looking up whether a page cache pre-storing a small data file required for booting includes requested data of the data request, the small data file being file having a data amount smaller than a predet…
Who is the assignee on this patent?
Mstar Semiconductor Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/4401. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 18 2017 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).