Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2022-05-24
CHINA CONSTRUCTION BANK
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in today's iOS system, the buffer mechanism of the iOS operating system can achieve the problem of optimizing the secondary loading of network resources, but such optimization is based on the consumption of limited memory. When the system memory is insufficient, the system will discard some Cache resources. In severe cases, the system will terminate the running of the program, causing the APP to crash and reduce the user experience.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An offline cache loading method and device
  • An offline cache loading method and device
  • An offline cache loading method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an offline cache loading method and device, and relates to the technical field of computing equipment. The offline cache loading method first obtains a network resource loading request including a uniform resource locator of a corresponding resource, and searches the memory for the resource corresponding to the uniform resource locator; if the resource is not found in the memory, the The resource is searched in the external memory, and if the resource is found in the external memory, the resource is loaded into the internal memory. The offline cache loading method realizes the cache and cache reading of resources in the internal memory and external memory in the iOS operating system, improves the utilization rate of the cache, slows down the system memory usage rate, and effectively realizes the offline cache of network resources .

Description

technical field [0001] The present invention relates to the technical field of computing devices, and in particular, to an offline cache loading method and device. Background technique [0002] With the rapid development of Internet technology, more and more data and resources are stored in network cloud devices such as cloud servers. Some programs of current computing device terminals usually need to obtain relevant resources on the network when running. If the network condition is poor, the computing device terminal cannot access the Internet, etc., the program cannot normally obtain relevant resources and cannot run. The network caching mechanism plays an important role in optimizing network response and improving user experience. How a good network program runs smoothly in a complex network environment depends to some extent on the quality of the network caching mechanism. [0003] However, in today's iOS system, the buffering mechanism of the iOS operating system can a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/957G06F16/955
Inventor 羽翼周宇航周康周晓段刚
Owner CHINA CONSTRUCTION BANK