CN101051946A - Remote soft ware upgrading method - Google Patents

Remote soft ware upgrading method Download PDF

Info

Publication number
CN101051946A
CN101051946A CNA2007101037573A CN200710103757A CN101051946A CN 101051946 A CN101051946 A CN 101051946A CN A2007101037573 A CNA2007101037573 A CN A2007101037573A CN 200710103757 A CN200710103757 A CN 200710103757A CN 101051946 A CN101051946 A CN 101051946A
Authority
CN
China
Prior art keywords
remote
management system
software version
network management
remote equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007101037573A
Other languages
Chinese (zh)
Inventor
张伟良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNA2007101037573A priority Critical patent/CN101051946A/en
Publication of CN101051946A publication Critical patent/CN101051946A/en
Pending legal-status Critical Current

Links

Images

Abstract

The method includes following procedures: network management system (NMS) launches command for preparing remote upgrading software (RUS) to remote device (RD); RD enters ready state for RUS; NMS sends new version software (NVS) to RD; after receiving EVS, RD configures starting up option, and makes configuration as that NVS is the version for next starting up operation, and the old version of software is one-off starting up operation to restart up operation if fault occurs at next starting up operation; NMS launches command for starting up NVS, then RD restarts up to run NVS; if starting up NVS is successful, then NMS instructs RD to start up NVS; thus, when starting up at next time, RD puts NVS into service; if starting up NVS is unsuccessful or error occurs in running procedure, then canceling to take up NVS, and restarting up old version of software and putting old version of software into service. The invention improves expedience and reliability of RUS.

Description

A kind of remote soft ware upgrading method
Technical field
The present invention relates to the embedded communication system technical field, particularly a kind of remote soft ware upgrading method.
Background technology
In embedded communication system, exist remote equipment need carry out software upgrading usually.
Because remote equipment is generally more away from management machine room, point, be in remote districts or near the user, if carry out the field software upgrading, not only workload is big, and can make troubles to the user, and therefore remote equipment being adopted remote software upgrade is a kind of solution easily and effectively.
The general process of remote software upgrade can simply be described as, and network management system downloads to new software version in the remote equipment, and remote equipment switches software version, restarts and enables new software version.
Though the remote software upgrade process is simple, if but in escalation process inconsiderate arriving, as new software version problem is arranged, perhaps new software version and original data configuration are incompatible, may cause the remote upgrade failure, remote equipment can't operate as normal, must just can deal with problems to the remote equipment scene at last.
A kind of safe and reliable remote soft ware upgrading method is provided, prevent that upgrading failure back remote equipment can't operate as normal and can't recover, making remote equipment still can normally move and communicate by letter with network management system, is the major issue that remote software upgrade must be considered.
Summary of the invention
The purpose of this invention is to provide a kind of safe and reliable method for upgrading software, prevent that effectively software upgrading failure back remote equipment can't operate as normal or lose and the getting in touch of network management system, make the remote software upgrade process obtain effective, safe control.
The invention provides a kind of remote soft ware upgrading method, may further comprise the steps:
Step 1, network management system is initiated the remote software upgrade warning order to remote equipment, and remote equipment enters the remote software upgrade standby condition;
Step 2, network management system transmits new software version to remote equipment;
After step 3, remote equipment are obtained new software version, dispose its startupoptions, disposing new software version is the version that starts next time, and startup next time reactivates old software version when breaking down disposable startup is set;
Step 4, network management system is initiated the order of the new software version of startup to remote equipment, and remote equipment is restarted, and starts new software version;
Step 5, if new software version starts successfully, then the new software version of the formal admittance of network management system order remote equipment is enabled new software version during remote equipment startup next time; Start failure or wrong fault occurs in running if next time start to occur new software version, then new software version is admitted in cancellation, restarts and reactivates old software version.
Described step 1 is further comprising the steps of:
Step 11, network management system is provided with first timer after remote equipment is initiated the remote software upgrade warning order;
Step 12, remote equipment are received the remote software upgrade warning order, enter the remote software upgrade standby condition after, to network management system transmitter ready message, second timer is set;
Step 13 if network management system is received above-mentioned ready message before first timer overflows, is then closed first timer, enters step 2, otherwise, stop remote software upgrade.
In the described step 2, network management system also is provided with the 3rd timer after remote equipment transmits new software version.
Described step 3 specifically may further comprise the steps:
Step 31 is obtained new software version if remote equipment is complete before second timer overflows, and then closes second timer, otherwise, stop remote software upgrade;
Step 32, the configuration startupoptions also is provided with the version that new software version started for next time, and the next disposable startup that reactivates old software version when breaking down that starts is set, and sends to network management system and carries out ready message, and the 4th timer is set.
Described step 4 specifically may further comprise the steps:
Step 41 if network management system was received the ready message of execution of remote equipment before the 3rd timer overflows, is then closed the 3rd timer, otherwise, stop remote software upgrade;
Step 42, network management system is provided with the 5th timer after remote equipment initiates to enable the order of new software version;
Step 43 if remote equipment was received mentioned order before the 4th timer overflows, is closed the 4th timer, otherwise, stop remote software upgrade;
Step 44, long-range setting is restarted, and enables new software version, sends the message that is finished to network management system, and the 6th timer is set.
Described step 5 specifically may further comprise the steps:
Step 51 if network management system was received the message that is finished of remote equipment before the 5th timer overflows, is closed the 5th timer, sends the affirmation that is finished to remote equipment, otherwise, stop remote software upgrade;
Step 52 if remote equipment was received the affirmation that is finished of network management system before the 6th timer overflows, is closed the 6th timer, otherwise, stop software upgrading, restart, enable old software version;
Step 53, the ruuning situation of network management system remote diagnosis remote equipment judges whether the new software version operation of remote equipment is successful, if success, then network management system order remote equipment is formal admits new software version, otherwise new software version is admitted in the cancellation of network management system order remote equipment.
After beneficial effect of the present invention was to prevent effectively remote software upgrade failure, remote equipment can't operate as normal or is lost and the getting in touch of network management system.A kind of remote soft ware upgrading method provided by the invention, leading by network management system, remote equipment cooperates, make the remote software upgrade process obtain safe and effective control, even remote software upgrade failure back remote equipment still can operate as normal, avoid the scene to recover remote equipment, thereby improve convenience, the reliability of remote software upgrade.
Description of drawings
Fig. 1 is the schematic diagram of remote soft ware upgrading method of the present invention;
Fig. 2 is the flow chart of the remote soft ware upgrading method of a preferred embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is done to introduce further, but not as a limitation of the invention.
Remote soft ware upgrading method of the present invention comprises the steps: as shown in Figure 1
Step 1, network management system (Management System is called for short MS) is initiated the remote software upgrade warning order to remote equipment (RemoteDevice is called for short RD), and remote equipment enters the remote software upgrade standby condition;
Step 2, network management system transmits new remote software version to remote equipment;
Step 3, remote equipment dispose its startupoptions after obtaining new remote software version, and disposing new software version is the version that starts next time, and startup next time reactivates old software version when breaking down disposable startup is set;
Step 4, the order that network management system is enabled new remote software version to the remote equipment initiation, remote equipment is restarted, and enables new remote software version;
Step 5, if new remote software version starts successfully, then network management system order remote equipment formally is received to new software version with this remote software version, enables new software version during remote equipment startup next time; If new remote software version starts failure or mistake occurs in running, remote equipment is found wrong in the self check process or is restarted under network management system cooperates, then reactivates old software version.
The flow process of the remote soft ware upgrading method of a preferred embodiment of the present invention as shown in Figure 2, comprising the preparatory stage, execution phase and the stage of recognition three phases.
1, the preparatory stage:
Step 11, network management system are provided with timer T1 after remote equipment is initiated the remote software upgrade warning order;
Step 12, remote equipment are received the remote software upgrade warning order, enter the remote software upgrade standby condition after, to network management system transmitter ready message, timer T2 is set;
If step 13 network management system is received above-mentioned ready message before timer T1 overflows, timeing closing device T1 then, otherwise T1 overflows, and network management system stops remote software upgrade.
2, the execution phase:
Step 21, network management system are provided with timer T3 after remote equipment transmits new software version;
Step 22, obtain new software version if remote equipment is complete before timer T2 overflows, timeing closing device T2 then, the configuration startupoptions also is provided with the version that new software version started for next time, and new software version is set to disposable startup, promptly starts next time to reactivate old software version when breaking down, send the ready message of execution to network management system, timer T4 is set, otherwise remote equipment stops remote software upgrade;
Step 23 is if network management system was received the ready message of execution of remote equipment, then timeing closing device T3 before timer T3 overflows, initiate the order enable new software version to remote equipment, timer T5 is set, otherwise remote equipment stops remote software upgrade;
Step 24, if remote equipment was received mentioned order before timer T4 overflows, timeing closing device T4, long-range setting is restarted and is enabled new software version, sends the message that is finished to network management system, and timer T6 is set, otherwise, stop remote software upgrade.
3, the stage of recognition:
Step 31, if network management system was received the message that is finished of remote equipment before timer T5 overflows, timeing closing device T5 sends the affirmation that is finished to remote equipment, otherwise, stop remote software upgrade;
Step 32, if remote equipment was received the affirmation that is finished of network management system before timer T6 overflows, timeing closing device T6, otherwise remote equipment stops software upgrading restarts and enables old software version;
Step 33, the ruuning situation of network management system remote diagnosis remote equipment, whether the new software version operation of judging remote equipment is successful, if the remote equipment operation is normal, then success, then network management system order remote equipment is formal admits new software version, otherwise new software version is admitted in the cancellation of network management system order remote equipment.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; If do not break away from the spirit and scope of the present invention, the present invention is made amendment or is equal to replacement, all should be encompassed in the middle of the protection range of claim of the present invention.

Claims (6)

1. remote soft ware upgrading method is characterized in that may further comprise the steps:
Step 1, network management system is initiated the remote software upgrade warning order to remote equipment, and remote equipment enters the remote software upgrade standby condition;
Step 2, network management system transmits new software version to remote equipment;
After step 3, remote equipment are obtained new software version, dispose its startupoptions, disposing new software version is the version that starts next time, and startup next time reactivates old software version when breaking down disposable startup is set;
Step 4, network management system is initiated the order of the new software version of startup to remote equipment, and remote equipment is restarted, and enables new software version;
Step 5, if new software version starts successfully, then the new software version of the formal admittance of network management system order remote equipment is enabled new software version during remote equipment startup next time; Start failure or wrong fault occurs in running if next time start to occur new software version, then new software version is admitted in cancellation, restarts and reactivates old software version.
2. remote soft ware upgrading method according to claim 1 is characterized in that described step 1 is further comprising the steps of:
Step 11, network management system is provided with first timer after remote equipment is initiated the remote software upgrade warning order;
Step 12, remote equipment are received the remote software upgrade warning order, enter the remote software upgrade standby condition after, to network management system transmitter ready message, second timer is set;
Step 13 if network management system is received above-mentioned ready message before first timer overflows, is then closed first timer, enters step 2, otherwise, stop remote software upgrade.
3. remote soft ware upgrading method according to claim 2 is characterized in that in the described step 2, and network management system also is provided with the 3rd timer after remote equipment transmits new software version.
4. remote soft ware upgrading method according to claim 3 is characterized in that described step 3 specifically may further comprise the steps:
Step 31 is obtained new software version if remote equipment is complete before second timer overflows, and then closes second timer, otherwise, stop remote software upgrade;
Step 32, the configuration startupoptions also is provided with the version that new software version started for next time, and the next disposable startup that reactivates old software version when breaking down that starts is set, and sends to network management system and carries out ready message, and the 4th timer is set.
5. remote soft ware upgrading method according to claim 4 is characterized in that described step 4 specifically may further comprise the steps:
Step 41 if network management system was received the ready message of execution of remote equipment before the 3rd timer overflows, is then closed the 3rd timer, otherwise, stop remote software upgrade;
Step 42, the order that network management system is enabled new software version to the remote equipment initiation is provided with the 5th timer;
Step 43 if remote equipment was received mentioned order before the 4th timer overflows, is closed the 4th timer, otherwise, stop remote software upgrade;
Step 44, long-range setting is restarted, and enables new software version, sends the message that is finished to network management system, and the 6th timer is set.
6. remote soft ware upgrading method according to claim 5 is characterized in that described step 5 specifically may further comprise the steps:
Step 51 if network management system was received the message that is finished of remote equipment before the 5th timer overflows, is closed the 5th timer, sends the affirmation that is finished to remote equipment, otherwise, stop remote software upgrade;
Step 52 if remote equipment was received the affirmation that is finished of network management system before the 6th timer overflows, is closed the 6th timer, otherwise, stop software upgrading, restart, enable old software version;
Step 53, the ruuning situation of network management system remote diagnosis remote equipment judges whether the new software version operation of remote equipment is successful, if success, then network management system order remote equipment is formal admits new software version, otherwise new software version is admitted in the cancellation of network management system order remote equipment.
CNA2007101037573A 2007-05-23 2007-05-23 Remote soft ware upgrading method Pending CN101051946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101037573A CN101051946A (en) 2007-05-23 2007-05-23 Remote soft ware upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101037573A CN101051946A (en) 2007-05-23 2007-05-23 Remote soft ware upgrading method

Publications (1)

Publication Number Publication Date
CN101051946A true CN101051946A (en) 2007-10-10

Family

ID=38783153

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101037573A Pending CN101051946A (en) 2007-05-23 2007-05-23 Remote soft ware upgrading method

Country Status (1)

Country Link
CN (1) CN101051946A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010000142A1 (en) * 2008-06-30 2010-01-07 华为技术有限公司 Distributed network management system and maintenance management method thereof
CN102622252A (en) * 2012-03-08 2012-08-01 神州数码国信信息技术(苏州)有限公司 Automatic upgrading method for meat traceability system
CN102694679A (en) * 2012-05-08 2012-09-26 华为技术有限公司 Method for updating version of network equipment and network equipment
CN102970359A (en) * 2012-11-13 2013-03-13 航天科工深圳(集团)有限公司 Remote upgrade method and device based on main and auxiliary equipment
CN104007994B (en) * 2014-06-11 2015-04-01 焦点科技股份有限公司 Updating method, upgrading method and upgrading system based on strategy storeroom interaction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010000142A1 (en) * 2008-06-30 2010-01-07 华为技术有限公司 Distributed network management system and maintenance management method thereof
CN102622252A (en) * 2012-03-08 2012-08-01 神州数码国信信息技术(苏州)有限公司 Automatic upgrading method for meat traceability system
CN102622252B (en) * 2012-03-08 2015-07-15 神州数码国信信息技术(苏州)有限公司 Automatic upgrading method for meat traceability system
CN102694679A (en) * 2012-05-08 2012-09-26 华为技术有限公司 Method for updating version of network equipment and network equipment
CN102970359A (en) * 2012-11-13 2013-03-13 航天科工深圳(集团)有限公司 Remote upgrade method and device based on main and auxiliary equipment
CN104007994B (en) * 2014-06-11 2015-04-01 焦点科技股份有限公司 Updating method, upgrading method and upgrading system based on strategy storeroom interaction

Similar Documents

Publication Publication Date Title
CN101051946A (en) Remote soft ware upgrading method
CN100525206C (en) Realizing method and system for automatic restoring equipment fault
CN101290587B (en) Realization progress start-up and control process
CN101056205A (en) A management method, system and device based on ATCA architecture-based server
CN1677887A (en) N+1 duplicates data real-time synchronising method
EP2582089A1 (en) System and method for implementing automatic configuration for equipments
WO2015051647A1 (en) Firmware upgrade method and system, upper computer and optical module
CN1842026A (en) Redundancy system
CN105677433A (en) Hot upgrading method and device for server program
CN1051622C (en) Client-server type network
CN105743948A (en) Network version upgrading method and apparatus
CN101593119A (en) A kind of aerial firmware upgrade method of flash memory unit equipment and device monopolized
CN101056209A (en) A maintenance method and device for radio terminal image file
CN102487342A (en) Device and method for controlling virtual internet protocol address binding
WO2009015593A1 (en) System upgrade method, upgrade system and monitoring entity
CN102073523A (en) Method and device for implementing software version synchronization
CN1501726A (en) Mobile communication system exchange state information and operating method thereof
CN1928823A (en) Multiple veneer system and method for implementing synchronous initiation
CN1905480A (en) Base station starting method
CN1157079C (en) Method fyor dynamic remote downloading of small base station program in public handheld telephone system
CN101035022A (en) Network element version switching method and device
CN1856128A (en) Method for realizing double homes of media gateway
CN102111427B (en) Device management session recovery method and system
CN104573487B (en) A kind of terminal real-time positioning system and method based on UEFI
CN100343816C (en) Method of restoring single board software edition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20071010