Management of application entities
US-11886434-B1 · Jan 30, 2024 · US
US11907164B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11907164-B2 |
| Application number | US-202117325112-A |
| Country | US |
| Kind code | B2 |
| Filing date | May 19, 2021 |
| Priority date | Apr 28, 2019 |
| Publication date | Feb 20, 2024 |
| Grant date | Feb 20, 2024 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
This application relates to a file loading method performed at an electronic device, and a non-transitory computer-readable storage medium thereof. The method including: receiving, in response to a user operation, an instruction for loading a target file; determining an associated feature of at least one piece of resource information in the target file; determining a type of the resource information according to the associated feature of the resource information; and loading the resource information by using a loading algorithm corresponding to the type of the resource information.
Opening claim text (preview).
What is claimed is: 1. A file loading method performed at an electronic device, the method comprising: receiving, in response to a user operation, an instruction for loading a target file; determining an associated feature of at least one piece of resource information in the target file, wherein the associated feature indicates an amount of internal memory occupied by the resource information; determining a type of the resource information according to the associated feature of the resource information; and loading the resource information by using a loading algorithm corresponding to the type of the resource information. 2. The method according to claim 1 , further comprising determining the loading algorithm based on the type of the resource information. 3. The method according to claim 1 , wherein the determining a type of the resource information according to the associated feature of the resource information comprises: determining the type of the resource information according to the amount of the occupied internal memory, the type of the resource information comprising a first type and a second type, an amount of internal memory occupied by resource information of the first type being less than an amount of internal memory occupied by resource information of the second type. 4. The method according to claim 1 , wherein the determining an associated feature of at least one piece of resource information in the target file comprises: obtaining a read frequency of reading the resource information in an internal memory; and using the read frequency as the associated feature of the resource information. 5. The method according to claim 4 , wherein the determining a type of the resource information according to the associated feature of the resource information comprises: determining the type of the resource information according to a magnitude of the read frequency, the type of the resource information comprising a first type and a second type, a read frequency of resource information of the first type being greater than a read frequency of resource information of the second type. 6. The method according to claim 1 , further comprising: presetting a maximum quantity of cache blocks in the internal memory as a first quantity, wherein when the type of the resource information is a first type, the loading the resource information by using a loading algorithm corresponding to the type of the resource information comprises: increasing the quantity of cache blocks from the first quantity to a second quantity; and loading the resource information of the first type based on the second quantity of cache blocks; and when the type of the resource information is the second type, the loading the resource information by using a loading algorithm corresponding to the type of the resource information comprises: loading the resource information of the second type based on the first quantity of cache blocks. 7. The method according to claim 6 , further comprising: setting the quantity of cache blocks from the second quantity back to the first quantity after the loading of the resource information of the first type is completed. 8. The method according to claim 6 , wherein the increasing the quantity of cache blocks from the first quantity to a second quantity comprises: adding a cache block quantity control function at an engine layer to enable a logic layer to adjust a value of the maximum quantity of cache blocks to the first quantity or the second quantity according to the cache block quantity control function. 9. An electronic device, comprising a processor and a memory, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor to perform a plurality of operations including: receiving, in response to a user operation, an instruction for loading a target file; determining an associated feature of at least one piece of resource information in the target file, wherein the associated feature indicates an amount of internal memory occupied by the resource information; determining a type of the resource information according to the associated feature of the resource information; and loading the resource information by using a loading algorithm corresponding to the type of the resource information. 10. The electronic device according to claim 9 , wherein the loading algorithm is determined based on the type of the resource information. 11. The electronic device according to claim 9 , wherein the determining a type of the resource information according to the associated feature of the resource information comprises: determining the type of the resource information according to the amount of the occupied internal memory, the type of the resource information comprising a first type and a second type, an amount of internal memory occupied by resource information of the first type being less than an amount of internal memory occupied by resource information of the second type. 12. The electronic device according to claim 9 , wherein the determining an associated feature of at least one piece of resource information in the target file comprises: obtaining a read frequency of reading the resource information in an internal memory; and using the read frequency as the associated feature of the resource information. 13. The electronic device according to claim 12 , wherein the determining a type of the resource information according to the associated feature of the resource information comprises: determining the type of the resource information according to a magnitude of the read frequency, the type of the resource information comprising a first type and a second type, a read frequency of resource information of the first type being greater than a read frequency of resource information of the second type. 14. The electronic device according to claim 9 , wherein the plurality of operations further comprise: presetting a maximum quantity of cache blocks in the internal memory as a first quantity, wherein when the type of the resource information is a first type, the loading the resource information by using a loading algorithm corresponding to the type of the resource information comprises: increasing the quantity of cache blocks from the first quantity to a second quantity; and loading the resource information of the first type based on the second quantity of cache blocks; and when the type of the resource information is the second type, the loading the resource information by using a loading algorithm corresponding to the type of the resource information comprises: loading the resource information of the second type based on the first quantity of cache blocks. 15. The electronic device according to claim 14 , wherein the plurality of operations further comprise: setting the quantity of cache blocks from the second quantity back to the first quantity after the loading of the resource information of the first type is completed. 16. The electronic device according to claim 14 , wherein the increasing the quantity of cache blocks from the first quantity to a second quantity comprises: adding a cache block quantity control function at an engine layer to enable a logic layer to adjust a value of the maximum quantity of cache blocks to the first quantity or the second quantity according to the cache block quantity control function. 17. A non-transitory computer-readable storage medium, the storage medium storing at least one instruction, the at least one instruction being loaded and executed by a processo
Caching, prefetching or hoarding of files · CPC title
File or folder operations, e.g. details of user interfaces specifically adapted to file systems · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.