A software upgrade method and device

A software upgrade and library file technology, applied in the computer field, can solve problems such as user inconvenience and large network traffic occupied by the update.

Active Publication Date: 2016-06-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the main purpose of the present invention is to provide a software upgrade method and device, which is used to solve the problem that the application software update of the mobile terminal takes up a lot of network traffic, and the user needs to download and update manually frequently, which brings inconvenience to the user. question

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
  • A software upgrade method and device
  • A software upgrade method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The basic idea of ​​the present invention is to extract the function codes with silent update requirements in the main program, define them as implementation classes, call these implementation classes through the interface in the main program, and assemble these implementation classes corresponding to the function codes together Realize the overall function of the program. The present invention puts the implementation class in the library file. When the corresponding function code in the main program needs to be updated, the main program does not need to be updated as a whole. It only needs to define a new implementation class corresponding to the function code based on the interface. , and send the library file containing the new implementation class to the main program of the client, and the main program loads the new implementation class through the interface to complete the upgrade of the corresponding function code. Through the present invention, the update granula...

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 discloses a software upgrading method and device, which are used to solve the problems that the updating of application software of a mobile terminal occupies a large amount of network traffic, and the updating is cumbersome and inconvenient. The present invention extracts the function code that completes the specific program function in the main program, encapsulates it to form an implementation class, and abstracts the call interface, and the main program calls the implementation class through the call interface to complete the specific program function; When the function code needs to be upgraded, the main program obtains a new version of the implementation class, and replaces the old version of the implementation class with the new version of the implementation class. When the software of the present invention is upgraded, it only needs to download part of the logic code files from the server to replace the original code logic. Since the updated content is only a subset of the overall program code, the occupied network traffic is small. In the silent upgrade mode, the software automatically completes the upgrade process while the user is using the software, so as to achieve the purpose of silent update.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a software upgrading method and device. Background technique [0002] At present, the application software based on the operating system of the mobile terminal usually adopts an overall update method when updating, that is, the complete update package is directly placed in the application software online store or officially provided for download, and the mobile terminal first uninstalls the old version of the application software. Then download and install the new version of the application software. Such a defect is that the traffic occupied by the overall update of the application software is too large, and the user needs to frequently download and update manually, which brings inconvenience to the user. [0003] Taking the Android system as an example, the Android system itself provides a set of program update mechanism. By publishing the program to the appmarket, the user ...

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): G06F9/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