An offline cache loading method and device
An offline caching and loading device technology, applied in other database retrieval, network data retrieval, Web data retrieval using information identifiers, etc., can solve problems such as APP flashback, discarding cache resources, reducing user experience, etc., to slow down the usage rate , increase the amount of resources, improve the effect of cache utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0034] The applicant has found through research that the iOS system network framework protocol upgrades the caching of network resources, and the caching mechanism is implemented by loading resources into memory. When loading new resources, the framework will serialize the resources and store them in the memory according to certain rules. Each time the resources are loaded in the future, the resources already loaded in the memory will be obtained directly from the memory, and there is no need to access the network again. Due to the obvious advantage of the memory access speed, the loading speed of the APP usually increases exponentially when the same resource is loaded for the second time. However, with the existing cache mechanism, when the system memory is insufficient, the system will discard some cache resources. In severe cases, the system will terminate the operation of the program, causing the APP to flash back and reduce the user experience. At the same time, due to the...
no. 2 example
[0058] In order to cooperate with the offline cache loading method provided by the first embodiment of the present invention, the second embodiment of the present invention further provides an offline cache loading apparatus 100 .
[0059] Please refer to Figure 4 , Figure 4 This is a block diagram of an offline cache loading apparatus provided by the second embodiment of the present invention.
[0060] The offline cache loading apparatus 100 includes a network resource loading request acquiring module 110 , a resource searching module 120 and a resource loading module 130 .
[0061] The network resource loading request obtaining module 110 is configured to obtain a network resource loading request, where the network resource loading request includes the uniform resource locator of the corresponding resource.
[0062] The resource searching module 120 is configured to search for the resource corresponding to the uniform resource locator in the memory or external storage. ...
no. 3 example
[0067] In order to implement the above step counting method, a third embodiment of the present invention provides a computing device 200 . Please refer to Figure 5 , Figure 5 It is a schematic diagram of a module of a computing device according to a third embodiment of the present invention.
[0068] The computing device 200 may include an offline cache loading apparatus 100, a memory 201, a storage controller 202, a processor 203, a peripheral interface 204, an input and output unit 205, an audio unit 206, a display unit 207, and a bus for connection of the units. The computing device 200 includes the terminal processing device in the first embodiment of the present invention.
[0069] The elements of the memory 201, the storage controller 202, the processor 203, the peripheral interface 204, the input and output unit 205, the audio unit 206, and the display unit 207 are directly or indirectly electrically connected to each other through a bus to realize data transfer. t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


