Terminal application program updating method and system based on Web page

A terminal application and update method technology, applied in the network field, can solve problems such as inability to reuse, waste network traffic, and high threshold for application program upgrades, and achieve the effects of improving page response speed, reducing data volume, and saving network traffic

Active Publication Date: 2013-04-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Native APIs are platform-based and cannot be reused between different platforms
[0005] 2. Every time the application program is modified, the application program needs to be upgraded. Due to factors such as network speed and traffic, the threshold for application program upgrade is relatively high
In this way, the page response speed is affected by the network, and the page needs to be re-pulled every time, wasting network traffic

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
  • Terminal application program updating method and system based on Web page
  • Terminal application program updating method and system based on Web page
  • Terminal application program updating method and system based on Web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the method for updating the terminal application program based on the Web page and the scheme for updating the system clearer, the following describes it in detail in combination with specific embodiments and accompanying drawings.

[0043] Such as figure 1 As shown, in one embodiment, a method for updating a terminal application based on a Web page includes the following steps:

[0044] Step S110, acquiring a display page request of the application program on the terminal.

[0045] The application on the terminal is displayed in the form of a web page, and a display page request needs to be obtained.

[0046] Step S120, acquiring locally stored page data according to the page presentation request.

[0047] According to the page display request, parse the file path of the page stored locally, and obtain the page data from the local storage.

[0048] Step S130, loading and displaying the locally stored page data.

[0049] Load the obtained page data ...

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 relates to a terminal application program updating method and system based on a Web page. The terminal application program updating method comprises the following steps of: obtaining a page presentation request of an application program on a terminal; obtaining locally-stored page data according to the page presentation request; loading and presenting the locally-stored page data; reading locally-stored page vision information, and sending a page updating request comprising the locally-stored page vision information to a Web server; judging a read locally-stored page version is lower than a page version stored on the Web server; if so, receiving returned page version information and page data package stored on the Web server, updating the locally-stored page data and the local page version information, and returning the locally-stored page data and the local page version information back to a step of loading the locally-stored page data and displaying; and otherwise, receiving returned page updating data stored on the Web server, and updating the displayed page data. The network flow is saved; the page response speed is improved; and the content displayed on the terminal can be updated in time.

Description

【Technical field】 [0001] The invention relates to network technology, in particular to a method and system for updating terminal application programs based on Web pages. 【Background technique】 [0002] The traditional way of displaying the application program logic of the smart mobile terminal mainly includes using a native API (Application Programming Interface, application programming interface) to display and using a Web page to display. [0003] Using API to display application logic has the following two shortcomings: [0004] 1. Native APIs are platform-based and cannot be reused between different platforms. [0005] 2. Every time the application program is modified, the application program needs to be upgraded. Due to factors such as network speed and traffic, the threshold for application program upgrade is relatively high. [0006] Using web pages to display application logic, there are two main traditional display methods: [0007] 1. Use the saved local web pag...

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/08G06F9/445
Inventor 孙广成邓小涛刘志浩
Owner TENCENT TECH (SHENZHEN) CO LTD
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