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

Method for solving offline caching of web data of mobile terminal

An offline caching and mobile terminal technology, which is applied in the direction of network data retrieval, other database retrieval, special data processing applications, etc., can solve problems such as cache file download errors, incomplete Manifest support, and inability to update resources in time, so as to achieve timely updates and avoid Effects of Compatibility Issues

Inactive Publication Date: 2019-10-22
JIQI CHENGDU TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) The first loading still needs to be connected to the Internet;
[0004] (2) An error in downloading the cached file in the Manifest will affect the loading of subsequent files;
[0005] (3) There are many versions of the Android system, and browsers of lower versions do not fully support Manifest;
[0006] (4) The html page that references the Manifest will also be cached, which may result in failure to update resources in time

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
  • Method for solving offline caching of web data of mobile terminal
  • Method for solving offline caching of web data of mobile terminal
  • Method for solving offline caching of web data of mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0031] Such as figure 1 As shown, the method for solving the offline cache of mobile terminal web data in the embodiment of the present invention includes the following steps:

[0032] Step S1, before the page is officially launched, the resource package and resource list including the new module are released in advance. The mobile app is used every time it is started, check whether the resource package and resource list are updated, if so, download the latest resource package and resource list in advance, and decompress the res...

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 a method for solving the offline caching of the web data of a mobile terminal. The method comprises the following steps that: a mobile terminal app is started to respectively check whether a resource packet and a resource list are updated or not; if so, the latest resource packet and the latest resource list are downloaded in advance, and resources in the resource packet aredecompressed into an offline resource pool; if not, using the current resource packet and the resource list; the Native intercepts the resource request sent by the WebView, analyzes the URL address corresponding to the resource request, and judges whether the requested resource is located in the offline resource list or not; whether the file exists in a local offline resource pool or not is checked; if yes, the requested resource is agented to WebView to be used; if not, the WebView is made to automatically load the resource; and the Native does not intercept the resource request sent by theWebView any more, so that the WebView automatically loads the resources. According to the method, page resources are loaded for the first time without depending on a network. The problem that networking is still needed in existing first-time loading is solved. The real offline caching is achieved. The compatibility problem of an HTML5Manifest file caching mechanism is also avoided.

Description

technical field [0001] The invention relates to the technical field of data caching, in particular to a method for solving offline caching of web data at a mobile terminal. Background technique [0002] HTML5 applications provide caching technology, but currently there are the following deficiencies: [0003] (1) The first loading still needs to be connected to the Internet; [0004] (2) An error in downloading the cached file in the Manifest will affect the loading of subsequent files; [0005] (3) There are many versions of the Android system, and browsers of lower versions do not fully support Manifest; [0006] (4) The html page that references the Manifest will also be cached, which may cause resources not to be updated in time. Contents of the invention [0007] The aim of the present invention is to solve at least one of said technical drawbacks. [0008] For this reason, the object of the present invention is to propose a method for solving the offline caching ...

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): G06F16/957G06F16/958
CPCG06F16/957G06F16/958
Inventor 冯磊邓磊李前勇
Owner JIQI CHENGDU 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