Data caching method and device

A data caching and caching technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problem of high dependence and achieve the effect of improving the dependence situation

Inactive Publication Date: 2016-01-27
GUANGZHOU SHIRUI ELECTRONICS
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a data caching method and device, aiming at overcoming the problem that the existing mobile terminal is highly dependent on the network w

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 device
  • Data caching method and device
  • Data caching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Embodiment 1 of the present invention discloses a data caching method. The method is applied to electronic devices, for example, it can be specifically applied to mobile devices such as smart phones and tablet computers. Refer to figure 1 , the method may include the following steps:

[0048] S101: Determine whether the electronic device meets a preset cache enablement condition; the cache enablement condition includes: the electronic device establishes a connection with a server.

[0049] In order to solve the problem that the mobile terminal is highly dependent on the network environment when experiencing network data services in the prior art, this application considers that when the mobile terminal meets the preset conditions (such as the mobile terminal establishes a connection with the network in a predetermined way), Obtain and cache the required network data on the mobile terminal in advance, so as to provide support for the subsequent experience of network-side...

Embodiment 2

[0060] In this example, refer to figure 2 , the data caching method may also include the following steps:

[0061] S201: Determine whether the electronic device meets a preset cache closing condition;

[0062] S202: Stop obtaining the data content of the target object from the server if the condition for disabling the cache is met.

[0063] This embodiment continues to supplement the method of Embodiment 1. When the mobile terminal meets the cache opening condition and obtains and caches the required network data from the network server based on the current network connection, this embodiment adds a cache closing method. In the judging link, when the mobile terminal is detected in real time and judged to meet the preset cache closing condition, the current network data acquisition and cache operations are stopped.

[0064] Specifically, the condition for disabling the cache may be that the number of cached web pages or traffic consumption reaches a corresponding set thresho...

Embodiment 3

[0066] In this example, refer to image 3 , the data caching method may also include the following steps:

[0067] S301: Determine whether the electronic device meets a preset cache clearing condition;

[0068] S302: If the cache clearing condition is met, clear the data content of the target object from the electronic device.

[0069] The cache of network data needs to occupy the storage space of the mobile terminal. Based on this, this embodiment adds a cache clearing strategy for network data. Specifically, this embodiment presets the cache clearing conditions and detects in real time whether the mobile terminal meets the cache clearing conditions, so as to realize timely clearing of network data in the cache area of ​​the mobile terminal to ensure that the mobile terminal has sufficient cache space , to support the update cache process of subsequent network data.

[0070] Wherein, the cache clearing condition may be that the time interval between the current moment and ...

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 device, and the method and device can be applied to various mobile end electronic devices. The method comprises the following steps: firstly judging whether an electronic device accords with a preset caching starting condition, wherein the caching starting condition comprises that connection is established between the electronic device and a server; and obtaining the data content of a preset target object from the server and carrying out caching by utilizing the connection established between the electronic device and the server when the electronic device accords with the caching starting condition. According to the data caching method and device, the required network data is previously obtained and cached at the mobile end when the mobile end satisfies the preset condition (for example, connection is established between the mobile end and the network), so that support is provided for the experience of network end data service under network-free environment or relatively bad network environment; therefore, the data caching method and device has the advantages of improving the network dependency condition of the mobile end and the follow-up users can use the cached network data without depending on the network.

Description

technical field [0001] The invention belongs to the technical field of mobile terminal network caching, and in particular relates to a data caching method and device. Background technique [0002] At present, the mobile terminal needs to connect to the network in real time to experience various data services provided by the network terminal, such as browsing the web, etc. At the same time, the mobile terminal has high requirements for the network during the data service experience process. For example, when browsing the web, there will be problems such as freezing, no response, and slow loading speed. Therefore, in the prior art, when the mobile terminal experiences the data service of the network terminal, the degree of dependence on the network is relatively high. [0003] Based on this, the art needs to provide a technology to improve the dependence of the mobile terminal on the network, so as to provide support for the mobile terminal to experience the data service of t...

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
IPC IPC(8): G06F17/30
CPCG06F16/9574
Inventor 王东杰刘创招
Owner GUANGZHOU SHIRUI ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products