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

Method for updating terminal application, server and terminal

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

Active Publication Date: 2021-01-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 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
  • Method for updating terminal application, server and terminal
  • Method for updating terminal application, server and terminal
  • Method for updating 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 updating method of the terminal application. It is applied to the server side, and is used 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 be further refined as follows:

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

[0050] (2) It is determined that if there is no update data, no update information or no push is pushed 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 the update data is pushed to the terminal, where the update information includes the new version number of the APK in the server.

[0053] It can be understood that the update data is a code, plug-in, patch or other ...

Embodiment 2

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

[0083] 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 the 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 updated data, so as to respond to the query update information.

[0086] The push module 24 is connected to the shown judgment module 23 and the storage module 21, and is used to determine that if there is no update data, push no update information or do not push to the terminal; and when it is determined that the terminal application has update data, push to the term...

Embodiment 3

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

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

[0106] In step S52, update information of the terminal application is obtained from the server, where the update information includes the new version number of the differential patch package. 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, where the patch package download request includes the old version number of the terminal application.

[0108] In step S54, the patch package fragment is d...

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 present invention provides a method for updating a terminal application, a server, and a terminal, including: when determining that there is update data in the terminal application, pushing update information for describing the update data to the terminal, the update information including a new version number of the APK in the server; Receiving the patch package download request sent by the terminal according to the update information, the patch package download request includes the old version number of the terminal application; the difference patch package is generated according to the old APK corresponding to the old version number and the new APK corresponding to the new version number, and the difference patch package It includes a plurality of patch package fragments; sending the patch package fragments to the terminal, so that the terminal updates the terminal application according to the patch package fragments. The present invention analyzes the old and new versions of the APK, compares the formed sub-file items one by one, generates a difference patch package, and updates the difference patch package in a fragmented manner, which has the advantages of short update waiting time and low memory consumption. Small size and high synthesis rate.

Description

technical field [0001] The invention belongs to the field of communication technologies, and in particular relates to a method for updating terminal applications, a server, and a terminal. Background technique [0002] In the process of using the software system, various types of problems will be exposed, such as imperfect functions and security vulnerabilities. Generally, the above-mentioned problems are solved by releasing the patch package by the server and updating by the terminal. [0003] The existing update methods are as follows: (1) the terminal sends request information for querying the update; (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 sends the 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 upd...

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 Patents(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