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

Update method of terminal application, server, and terminal

A technology of terminal application and update method, applied in the field of communication, can solve the problems of high failure rate, long update waiting time, large memory occupation, etc., and achieve the effects of high synthesis rate, short update waiting time, and small memory occupation

Active Publication Date: 2017-01-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide a method for updating terminal applications, a server and a terminal, which can solve the technical problems in the prior art such as long waiting time for updating, large memory usage, and high synthesis failure rate.

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
  • Update method of terminal application, server, and terminal
  • Update method of terminal application, server, and terminal
  • Update method of terminal application, server, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] see figure 2 , which is a schematic diagram of the workflow of the update method of the terminal application. It is applied on the server side to generate and provide the differential patch package of the terminal application.

[0047] In step S20, the query update information sent by the terminal is received.

[0048] It is understandable that the steps after receiving can also be refined as:

[0049] (1) Judging whether there is updated data;

[0050] (2) When it is determined that there is no update data, push no update information or do not push to the terminal; and

[0051] (3) When it is determined that the terminal application has update data, step S21 is executed.

[0052] In step S21, update information for describing update data is pushed to the terminal, and the update information includes a new version number of the APK in the server.

[0053] It can be understood that the update data is codes, plug-ins, patches or other executable files for updating the...

Embodiment 2

[0082] see Figure 4 , shows the block diagram of the server. The server 20 includes: a storage module 21 , a receiving module 22 , a judgment module 23 , a push module 24 , and a patch package module 25 .

[0083] Wherein, the storage module 21 is configured to store the update data as APKs of different versions of the terminal application according to the update time.

[0084] The receiving module 22 is configured to receive query update information sent by the terminal.

[0085] The judging module 23 is connected to the receiving module 22 and the storage module 21, and is used for judging whether there is update data, in order to respond to the query update information.

[0086] The push module 24, connected to the judging module 23 and the storage module 21, is used to determine that if there is no update data, push no update information or push to the terminal; The update information is used to describe the update data, and the update information includes the new vers...

Embodiment 3

[0104] see Figure 5 , which is a schematic diagram of the workflow of the update method of the terminal application. It is applied on the terminal side to receive and install the difference patch package of the terminal application.

[0105] In step S51, query update information is sent to the server.

[0106] In step S52, update information of the terminal application is acquired from the server, the update information includes a new version number of the differential patch package. Wherein, the new version number of the differential patch package has a corresponding relationship with the new version number of the APK in the server.

[0107] In step S53, a trigger control is generated according to the update information, and a patch package download request is sent to the server through the trigger control, and the patch package download request includes an old version number of the terminal application.

[0108] In step S54, download the patch package fragments from the ...

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 an update method of a terminal application, a server, and a terminal. The method includes steps: pushing update information used for describing update data to a terminal when it is determined that the update data exists in the terminal application, wherein the update information comprises a new version number of an APK in the server; receiving a fixing pack downloading request sent by the terminal according to the update information, wherein the fixing pack downloading request comprises an old version number of the terminal application; generating a difference fixing pack according to an old APK corresponding to the old version number and a new APK corresponding to the new version number, wherein the difference fixing pack comprises a plurality of fixing pack fragments; and sending the fixing pack fragments to the terminal so that the terminal can update the terminal application according to the fixing pack fragments. According to the method, the server, and the terminal, the APKs of the new version and the old version are analyzed, formed sub-file items are compared one by one, the difference fixing pack is generated, update is realized by employing the difference fixing pack fragments, the update waiting time is short, the memory occupation is small, and the synthesis rate is high.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a method for updating terminal applications, a server, and a terminal. Background technique [0002] During the use of software systems, various types of problems will be exposed, such as imperfect functions and security holes. Generally, the above-mentioned problems are solved by releasing a patch package by the server and updating by the terminal. [0003] The existing update methods are as follows: (1) the terminal sends query update request information; (2) the server returns the update information; (3) the terminal patch package request information; (4) the server returns the patch package to the server; (5) the terminal will The local original package and the patch package are synthesized to generate a new package. [0004] However, the existing update method has technical problems such as long waiting time for update, large memory usage, and high synthe...

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/08
CPCH04L67/125H04L67/55
Inventor 曹飞樊华恒张俊王梓茗耿玉美涂海龙余光镇廖媛周翔马迅郭宗飞曹荣丽
Owner TENCENT TECH (SHENZHEN) 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