Software upgrading method and software upgrading device

A software upgrade and library file technology, applied in the computer field, can solve the problems of large network traffic occupied by updates and inconvenience for users

Active Publication Date: 2012-08-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF1 Cites 50 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
  • Software upgrading method and software upgrading device
  • Software upgrading method and software upgrading 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 a software upgrading device which are used for solving the problems that update of application software of a mobile terminal occupies large network flow and is complex and inconvenient. Function codes finishing concrete program functions in a main program are extracted and packaged to form an implementation class, a call interface is abstracted, and the main program calls the implementation class through the call interface so as to finish the concrete program functions. When the function codes need updating, the main program acquires an implementation class of a new version, and the implementation class of an old version is replaced with the implementation class of the new version. When the software is updated, users only need to download code files of part of logic from a server so as to replace original code logic, and because updated content is only a subset of overall program codes, the occupied network flow is small. Under a silent update mode, the software automatically finishes an upgrading process during the software using process of the users, and accordingly the aim of silent update is achieved.

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