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

Software upgrading method and device and software rollback method and device

A software upgrade and software rollback technology, applied in program control devices, electrical components, digital transmission systems, etc., can solve problems such as inability to recognize programs, failure to start normally, affecting the normal function of communication equipment, etc., to achieve rich operations and ensure upgrades /Return the effect of success

Active Publication Date: 2014-09-17
SHANGHAI HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The reliability of software upgrade is very important, but the software upgrade function itself may also have defects. When rolling back, due to compatibility issues (such as file format modification, file path length changes, etc.), the old version software may not be able to recognize the file or read the file generated during the upgrade process. After the program is abnormal and cannot be started normally
The operations described in the upgrade defect avoidance script and the rollback defect avoidance script can only be based on the existing functional interfaces of the old version of the software. If the old version of the software does not support the operations in the upgrade defect avoidance script or rollback defect avoidance The steps cannot be completely executed, and upgrade failure or rollback failure may occur
Furthermore, if the software upgrade fails and cannot be maintained, the software of the communication device will automatically fall back to the old version because the new version of the software cannot be started, but if the old version of the software cannot be started due to compatibility issues, the remote upgrade tool cannot If the communication device is connected, there is no chance to execute the fallback defect avoidance script, which will affect the normal function of the communication device

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 device and software rollback method and device
  • Software upgrading method and device and software rollback method and device
  • Software upgrading method and device and software rollback method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] This embodiment provides a software upgrade method, such as figure 1 Shown, described software upgrading method comprises the steps:

[0030] S101. Receive an upgrade loading instruction sent by the first software.

[0031] Wherein, the first software is the software before the upgrade, the software after the upgrade is the second software, the second software corresponds to the first software, and the version of the second software is higher than the version of the first software, for example, the first software can be Old version software, the second software may be new version software.

[0032] Software on communication devices is updated frequently, for example from an older version to a newer version. After the equipment provider develops a new version of the software, the new version of the software will be released to the equipment server for the communication equipment (such as base station, base station controller, etc.) to download. After the communication...

Embodiment 2

[0058] This embodiment provides a software rollback method, such as Figure 5 shown, including the following steps:

[0059] S301. Receive a fallback loading instruction.

[0060] The old version of the first software was running on the communication device before. After upgrading to the new version of the second software, it may be necessary to roll back to the first software for various reasons: For example, the performance of the new version of the second software is unstable after running for a period of time , the remote upgrade tool sends a rollback command; or the second software does not start normally after the upgrade, etc. Wherein, the second software corresponds to the first software, and the version of the second software is higher than the version of the first software.

[0061] During the software rollback process, the rollback loading instruction is sent by the operating system on the communication device where the first software is located, the second softwa...

Embodiment 3

[0079] This embodiment provides a software upgrade device, such as Figure 7 As shown, it includes a receiving module 10 and an executing module 20 .

[0080] The receiving module 10 is configured to receive an upgrade loading instruction sent by the first software.

[0081] The execution module 20 is used to complete the upgrade from the first software to the second software according to the addition and deletion of files and / or modification of configuration parameters of the second software after the receiving module 10 receives the upgrade loading instruction; wherein, the second software and the first software Correspondingly, and the version of the second software is higher than the version of the first software.

[0082] The execution module 20 is preferably an executable file, which may include an entry function corresponding to the first software, and the execution module 20 may target one or more different versions of the first software.

[0083] The software upgrad...

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 embodiment of the invention discloses a software upgrading method and device and a software rollback method and device. The software upgrading method comprises the following step of: after receiving an upgrade loading command transmitted by first software, adding or deleting files and / or modifying configuration parameters according to second software to finish upgrading from the first software to the second software, wherein the second software corresponds to the first software, and the version of the second software is higher than that of the first software. In the embodiment of the invention, guidance for the operation of the first software is not required to be given by using a remote upgrading tool according to an upgrade / rollback defect avoidance script, and defect avoidance operation needed by upgrade / rollback is independent of the first software and is executed automatically by loading independent of the existing function of the first software, so that a running environment which adapts to the second software / the first software can be allocated, successful upgrade / rollback is ensured, and richer operation can be provided.

Description

technical field [0001] The invention relates to software upgrade technology, in particular to a software upgrade method and device, and a software rollback method and device. Background technique [0002] Upgrading is a basic function of software on communication devices. In order to realize some new functions or overcome the defects of existing software, the software on communication devices will be updated frequently, from old versions to new versions. [0003] After the software is upgraded to a new version, if there is a problem with the new version software that causes the function of the communication device to be abnormal, for example, the performance is not up to standard or some functions have errors, in order to ensure the normal performance of the communication device, the new version software needs to be rolled back to the old version software . [0004] The reliability of software upgrade is very important, but the software upgrade function itself may also have...

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): H04L12/24G06F9/445
Inventor 尚海涛
Owner SHANGHAI HUAWEI TECH 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