Methods and devices for program updating and starting

A technology for program update and program startup, which is applied in the direction of program control devices, program loading/starting, etc., and can solve problems such as program failure to start normally

Inactive Publication Date: 2014-08-27
GUANGZHOU HUADUO NETWORK TECH
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problem that the program cannot be started normally due to the unstable upgrading of the existing program upgrading method, the present invention proposes a program updating method and its device, which can enable the user to run the program as usual when the program upgrade fails

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
  • Methods and devices for program updating and starting
  • Methods and devices for program updating and starting
  • Methods and devices for program updating and starting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] see figure 1 , figure 1 It is a schematic flow chart of the program update method of the present invention.

[0029] The program update method includes the following steps:

[0030] S101. Acquire an update package of a target program, wherein the program file of the first version of the target program is stored in a first local storage location;

[0031] S102. According to the update package, obtain the program file of the second version of the target program, and save the program file of the second version in a second local storage location;

[0032] S103. Save the first version information and the second version information of the target program in the configuration file of the target program, and the first version information points to the first version program file, and the second version information points to The second version of the program file.

[0033] In the program update method of the present invention, firstly, the update package of the target program ...

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 a method and device for program updating and a method and device for program starting. A first version program file of an object program is stored at a local first storage position, and during updating, first an updating package is obtained to be local; a second version program file is obtained according to the updating package and stored to a local second storage position; a configuration file is set, and first version information and second version information are stored in the configuration file and respectively point to the first version program file and the second version program file. A program file of an older version is not subject to the updating influence, and during the starting, the first version program file or the second version program file can be selected through version information of the configuration file to start the object program. If the program updating fails, the program file of the older version can be selected for starting through the configuration file, normal operation of the object program is maintained, and the urgent need of users is met.

Description

technical field [0001] The invention relates to the technical field of computer program control, in particular to a program updating method and a program updating device, a program starting method and a program starting device. Background technique [0002] The existing computer software program upgrade method usually downloads the update package to the local area, and then clicks to open the update package. When the update package runs, the local old files will be overwritten to complete the upgrade. [0003] However, there is a problem in this upgrade method, that is, in the case of overwriting failure (for example, some files are occupied), some files cannot be upgraded, and the upgrade fails, and the old program is also damaged and cannot be normal. startup, and even abnormal behavior such as crashes. Contents of the invention [0004] Aiming at the problem that the program cannot be started normally due to the unstable upgrading of the existing program upgrading meth...

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 GUANGZHOU HUADUO NETWORK TECH
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