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

Method and device for offline running of HTML5 (hypertext markup language 5) application program in mobile terminal

An application program and mobile terminal technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of long waiting period for users, network connection disconnection, error-prone and other problems, and achieve the reduction of waiting time and start-up The effect of fast and reducing the number of files

Inactive Publication Date: 2012-11-14
北京磊友信息科技有限公司
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since existing mobile terminals are affected by various factors when accessing the Internet, such as traffic restrictions, bandwidth upper limit control, and network connection disconnection caused by wireless signal attenuation, the process of downloading the above data by the mobile terminal Due to many restrictions, it is easy to make mistakes during the download process, and the user waits for a long 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 and device for offline running of HTML5 (hypertext markup language 5) application program in mobile terminal
  • Method and device for offline running of HTML5 (hypertext markup language 5) application program in mobile terminal
  • Method and device for offline running of HTML5 (hypertext markup language 5) application program in mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0022] First please refer to figure 1 , figure 1 It is a flowchart of a specific embodiment of a method for offline operation of an HTML5 application program in a mobile terminal according to the present invention, and the method includes:

[0023] Step S101, start the HTML5 application program on the mobile terminal;

[0024] Step S102, judging whether there are files required for the normal operation of the HTML5 application program in the cache area of ​​the mobile terminal; if the judging result is no, then execute step S103, if the judging result is yes, then execute step S104;

[0025] Step S103, the HTML5 application program downloads the file from the server to the cache area, and then the HTML5 application program calls the file from the cache ...

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 offline running of an HTML5 (hypertext markup language 5) application program in a mobile terminal, which comprises the steps of: starting the HTML5 application program on the mobile terminal, judging whether a file for normal running of the HTML5 application program exists in a cache region of the mobile terminal or not; if the file exists in the cache region, calling the file by the HTML5 application program for normal running of the HTML5 application program; and if the file does not exist in the cache region, downloading a file from a server into the cache region, and calling the file from the cache region by the HTML5 application program for normal running of the HTML5 application program. Correspondingly, the invention also provides the server and a client side. By implementing the method and the device provided by the invention, the frequency of repeated downloading of the file can be reduced, traffic losses can be reduced for the mobile terminal, the startup of offline application of the HTML5 program can be quickened, the waiting time of a user can be decreased, and the running efficiency of the HTML5 program can be increased.

Description

technical field [0001] The invention relates to the field of mobile terminal applications, in particular to a method and device for offline running of HTML5 application programs in mobile terminals. Background technique [0002] HTML5 is a new generation of HTML standard currently being discussed, and it represents the latest development direction in the Web field. In the HTML5 standard, new and diverse content description tags have been added to directly support functions such as form validation, video and audio tags, drag and drop of web page elements, offline storage, and work threads. One of the new features is support for offline application development. [0003] When developers write HTML5 offline applications, they usually use the following functions: [0004] 1. Offline resource caching: There needs to be a way to indicate the resource files needed for the application to work offline. In this way, the browser can cache these files locally when it is online. There...

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): G06F17/30
Inventor 赵霏黄何
Owner 北京磊友信息科技有限公司
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