Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data caching method and system for mobile equipment client

A data cache, mobile device technology, applied in transmission systems, electrical components, input/output to record carriers, etc., can solve problems such as interface loading stuck, poor user experience, high disk access rate, etc., to improve fluency , The user experience is good, the effect of preventing interface blocking

Active Publication Date: 2015-06-03
CHENDU PINGUO TECH CO LTD
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] There is a big defect in this method, that is, the access rate to the disk is high. When the network status is unstable, it is easy to appear the phenomenon of interface loading freeze, and the user experience is still not good.

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
  • Data caching method and system for mobile equipment client

Examples

Experimental program
Comparison scheme
Effect test

no. 3 example

[0059] On the basis of the second embodiment, a step of registering a system memory shortage warning message is also included, and when the warning message is received, the second-level cache area is released. Preferably, when step 4 is executed for the first time after the program is started, message registration is performed first. The system mentioned here refers to the operating system on the mobile terminal. The second-level cache is mainly used to store pictures. Since pictures take up a lot of storage space, when the memory is insufficient, directly releasing the second-level cache can effectively prevent the program from crashing due to insufficient memory.

no. 4 example

[0061] On the basis of the above-mentioned embodiments, step 1 is modified: when sending a data request to the server to obtain the latest data required for the current interface display, at the same time send a request for the data volume threshold returned by the server. For example, if the client requests the server to return 20 pieces of data, the server will return the latest data according to the data volume threshold. The advantage of this is that the client can determine the amount of data returned by the server at one time according to actual needs, which can not only ensure the smoothness of the system, but also make full use of system resources.

[0062] The present invention also provides a soft system corresponding to the above method steps one by one.

no. 1 example

[0063] The first embodiment of the soft system includes:

[0064] The startup module is used to first send a data request to the server to obtain the latest data required for the current interface display after the client program is started, and at the same time query the historical entity data required for the last updated display interface in the first-level cache , if the historical entity data is stored in the first-level cache area, trigger the first-level cache unit.

[0065] The entity data update module is configured to parse the latest data and convert it into corresponding entity data after the server returns the latest data, and store the entity data in the first-level cache to update the historical entity data therein. The first level cache area is located in the disk.

[0066] The first-level cache unit is used to check whether the entity data in the first-level cache area contains image data-related information, such as the URL of the picture, and if so, pass th...

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 discloses a data caching method and a data caching system for a mobile equipment client, and aims to reduce the disk access rate when cached data is required to be used. The data caching method and the data caching system are characterized in that the latest updated historical entity data required by a display interface is stored in a first-level cache region, and pictures in the historical entity data are stored in a second-level cache region and a third-level cache region. After a client program is started, a data request is transmitted to a server to acquire the latest data required by current interface display, and meanwhile, the interface is displayed according to the latest updated historical entity data required by the display interface and the pictures in three caches.

Description

technical field [0001] The invention relates to a data cache technology, in particular to a data cache method for a mobile device client. Background technique [0002] Technical terms in the text: [0003] URL: Uniform Resource Locator, which is a concise representation of the location and access method of resources that can be obtained from the Internet, and is the address of standard resources on the Internet; [0004] Hash algorithm: a function that compresses a message of any length into a fixed-length message digest; [0005] MD5 algorithm: information-digest algorithm 5; [0006] Thread: A scheduling unit that runs a program. [0007] Almost all clients of current mobile devices have network requests, and when users use the client software when there is no network or the network is extremely unstable, at this time, the traditional method is to prompt the user that the current network is unavailable, and the interface will no longer display content, and such an expe...

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 Applications(China)
IPC IPC(8): H04L29/06H04L29/08G06F3/06
CPCH04L67/568
Inventor 赵一峰
Owner CHENDU PINGUO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products