CN106487550A - A kind of method and apparatus for device software edition upgrading - Google Patents

A kind of method and apparatus for device software edition upgrading Download PDF

Info

Publication number
CN106487550A
CN106487550A CN201510532846.4A CN201510532846A CN106487550A CN 106487550 A CN106487550 A CN 106487550A CN 201510532846 A CN201510532846 A CN 201510532846A CN 106487550 A CN106487550 A CN 106487550A
Authority
CN
China
Prior art keywords
load mode
equipment
master control
network
software
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.)
Withdrawn
Application number
CN201510532846.4A
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 CN201510532846.4A priority Critical patent/CN106487550A/en
Priority to PCT/CN2016/085151 priority patent/WO2017032134A1/en
Publication of CN106487550A publication Critical patent/CN106487550A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and apparatus for device software edition upgrading, it is related to PTN field.Method disclosed by the invention includes:On equipment, master control veneer detects that the persistent period of RST button is restarted in user's pressing;When the persistent period detecting user's pressing RST button being less than setting duration, on described equipment, master control veneer, according to default first load mode, loads software version program, updating software release;When the persistent period detecting user's pressing RST button being more than or equal to setting duration, on described equipment, master control veneer, according to default second load mode, loads software version program, updating software release.The invention also discloses a kind of device for device software edition upgrading.Technical scheme can solve the problems, such as that equipment runs into during restarting loading software release upgrade, can be used for quick management equipment simultaneously.

Description

A kind of method and apparatus for device software edition upgrading
Technical field
The present invention relates to Packet Transport Network (Packet Transport Network, PTN) field, especially relate to And a kind of scheme for device software edition upgrading.
Background technology
Packet Transport Network PTN, emphasizes packet transmission, and traditional transmission net IP (Internet Protocol) is changed, Connection-oriented multi-service transportation.Its advantage may be summarized to be:QoS (Quality of Service) is provided Guarantee, reliability, carrier-class maintenance management, extensibility, safety, standardization etc..And PTN Equipment is then a kind of switching equipment of Packet Transport Network.
In current technology scheme, PTN device software release upgrade has two ways:
1st, local loading:First using remote controlled manner, new software version is uploaded in equipment master control, so After restart master control veneer, in start-up course, equipment automatically loads the new software version uploading, thus reaching liter The purpose of level;
2nd, remote loading:The directly master control veneer of physics PTN device, in restarting procedure, leads to Cross serial interface management equipment is configured, such as the ftp address of remote loading version, user name, password, The parameters such as version program title, directly download new software by way of network loads in start-up course Program version is on equipment, thus reaching the purpose of upgrading.
In above-mentioned second remote loading upgrading mode, equipment operator is restarted in master control veneer During it is necessary to the very first time management serial ports interface on press any key suspend start-up course, then It is respectively provided with the IP address of the loading LCT mouth of equipment, the parameter such as long-range FTP address again;Therefore, exist Currently new separate men from machines laboratory environment or outdoor equipment installation and debugging scene, restart in equipment During serial ports is connected due to inconvenience, or equipment needs hardware to restart to lead to not manipulate simultaneously and set Standby and serial ports interface, or because or cannot know that equipment control IP address has no way of managing equipment, now will Updating software release operation is carried out to equipment, just very difficult.Therefore, present invention is generally directed to leading to Cross the mode that long-range load mode carries out updating software release, improve for above-mentioned produced problem Operation.
Content of the invention
The technical problem to be solved be provide a kind of method for device software edition upgrading and Device, is restarted by asking produced by remote loading mode updating software release with solving existing equipment Topic.
In order to solve above-mentioned technical problem, the invention discloses a kind of side for device software edition upgrading Method, the method at least includes:
On equipment, master control veneer detects that the persistent period of RST button is restarted in user's pressing;
When the persistent period detecting user's pressing RST button being less than setting duration, master control on described equipment Veneer, according to default first load mode, loads software version program, updating software release;
When the persistent period detecting user's pressing RST button being more than or equal to setting duration, described equipment Upper master control veneer, according to default second load mode, loads software version program, updating software release.
Alternatively, in said method, on described equipment master control veneer according to default first load mode, Load software version program, the process of updating software release includes:
On described equipment, master control borad restarts, and master control version acquiescence load mode is configured to network and adds Load mode, master control veneer loads software version program according to the network load mode being configured, software of upgrading Version, wherein, when loading software version program according to network load mode, the parameter of loading is last The secondary parameter working.
Alternatively, in said method, on described equipment master control veneer according to default second load mode, Load software version program, the process of updating software release includes:
On described equipment, master control borad restarts, and master control version acquiescence load mode is configured to network and adds Load mode, change equipment control QX port address is default value, and master control veneer adds according to the network being configured Load mode loads software version program, updating software release, wherein, loads soft according to network load mode During part version program, the parameter of loading is system default parameter.
Alternatively, said method also includes:
When on described equipment, master control veneer loads software version program according to the network load mode being configured, If loading unsuccessfully, on described equipment, master control veneer is restarted automatically, and by master control version acquiescence load mode more It is newly local load mode.
Alternatively, in said method, described equipment is Packet Transport Network PTN device.
The invention also discloses a kind of device for device software edition upgrading, this device at least includes:
Detector unit, the persistent period of RST button is restarted in detection user's pressing;
Upgrading processing unit, when the persistent period detecting user's pressing RST button being less than setting duration, Plate, according to default first load mode, loads software version program, updating software release;
When the persistent period detecting user's pressing RST button being more than or equal to setting duration, according to default The second load mode, load software version program, updating software release.
Alternatively, in said apparatus, described upgrading processing unit, according to default first load mode, Load software version program, updating software release refers to:
Described equipment restarts, and the acquiescence load mode of this equipment is configured to network load mode, Described upgrading processing unit, loads software version program according to the network load mode being configured, and upgrading is soft Part version, wherein, when loading software version program according to network load mode, the parameter of loading is last The parameter once working.
Alternatively, in said apparatus, described upgrading processing unit, according to default second load mode, Load software version program, updating software release refers to:
Described equipment restarts, and the acquiescence load mode of this equipment is configured to network load mode, Change equipment control QX port address is default value, and described upgrading processing unit adds according to the network being configured Load mode loads software version program, updating software release, wherein, loads soft according to network load mode During part version program, the parameter of loading is system default parameter.
Alternatively, in said apparatus, described upgrading processing unit, according to the network loading side being configured When formula loads software version program, if loading unsuccessfully, this equipment is restarted automatically, and this equipment is write from memory Recognize load mode and be updated to local load mode.
Alternatively, said apparatus are placed in Packet Transport Network PTN device.
Technical scheme can solve equipment restart load software release upgrade during run into Problem, can be used for quick management equipment simultaneously.
Brief description
Fig. 1 is that in technical scheme, single keys presses triggering master control veneer restarts flow chart;
Fig. 2 is that in technical scheme, long keying triggering master control veneer restarts flow chart.
Specific embodiment
For making the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing pair Technical solution of the present invention is described in further detail.It should be noted that in the case of not conflicting, this Feature in the embodiment and embodiment of application can arbitrarily be mutually combined.
Embodiment 1
What the application occurred when restarting by remote loading mode updating software release for equipment asks Topic, provides a kind of method for device software edition upgrading, its main thought is:Abundant artificial triggering Key function is restarted that is to say, that bright, the function of restarting key is no longer master control borad on existing equipment master control borad Restart and give tacit consent to original software version that loading equipemtn preserves;But equipment load mode is set automatically Load for network.And it is possible to increase the function that length presses RST key, equipment is set to network loading side Formula, by acquiescenceization LCT load IP address, server ip address, version name, FTP user's name and The parameters such as password;It is referred to as a key and load function.Specifically, the method includes operating as follows:
On equipment, master control veneer detects that the persistent period of RST button is restarted in user's pressing;
When the persistent period detecting user's pressing RST button being less than setting duration, master control veneer on equipment According to default first load mode, load software version program, updating software release;
When the persistent period detecting user's pressing RST button being more than or equal to setting duration, main on equipment Control veneer, according to default second load mode, loads software version program, updating software release.
Specifically, when the persistent period detecting user's pressing RST button being less than setting duration, that is, think Be short press RST key triggering master control veneer restart, now, escalation process as shown in figure 1, include as Lower operation:
Step 101:Triggering restarts button once, and equipment carries out restarting procedure;
Step 102:In start-up course, equipment master control version load mode is defaulted as network instead and adds Carry, the parameter that network loads is then the parameter working for the last time;
Step 103:Equipment loads software version program, if loading successfully from network, equipment liter from network Level software version success, then terminate.If unsuccessful because of other factorses from network load application version, equipment is again Secondary automatically restart, and equipment master control version load mode is changed to local load mode.
, primarily to solving the laboratory environment of separate men from machines, equipment operator cannot be same for this situation When controlling equipment and computer control serial ports interface when run into restart loading problem.
It should also be noted that in restarting procedure, equipment is updated version with network load mode Down operation when, if equipment loads less than corresponding version at server, and carry out attempt load Set point number (such as five times) is still had no result, then equipment is again introduced into restarting flow process.Otherwise equipment adds Carry version success, equipment normally starts, and upgrading terminates.
When often restarting by RST restart key triggering master control veneer, escalation process as shown in Fig. 2 Operate including following:
Step 201:Grown on equipment and restarted by restart key triggering master control veneer;
Step 202:In start-up course, equipment master control version load mode is defaulted as network instead and adds Carry, the parameter that network loads is then default parameterss, and change equipment control QX port address for default value.
In this step, acquiescenceization LCT can also be loaded IP address, server ip address, version name Claim, in the parameter that the parameter setting such as FTP user's name and password loads to equipment.
Step 203:Equipment loads software version program, if loading successfully from network, equipment liter from network Level software version success, then terminate.If unsuccessful because of other factorses from network load application version, equipment is again Secondary automatically restart be changed to local load mode.
This situation is mainly used for field testing or live beginning, makes because of the factor inconvenience such as environment With serial ports or temporarily cannot manage upper equipment (cannot know equipment control address), tester can grow by RST Key, reloads new version, and manages rapidly upper equipment.
In addition, in restarting procedure, equipment is updated the download behaviour of version with network load mode When making, if PTN device loads less than corresponding version at ftp server, and carry out attempting adding Carry set point number (such as five times) still to have no result, then equipment is again introduced into restarting flow process.
And equipment due to load be again introduced into restarting flow process less than corresponding network version when, equipment liter Level failure, to be restarted after, load application version mode can be changed to local load mode, then equipment Normal startup.
It should also be noted that no matter whether equipment upgrades successfully, after equipment restarts, all can be direct It is connected to the LCT port of equipment with netting twine, thus reaching the purpose of management equipment.
The said equipment can be any communication apparatus, for example switching equipment, PTN device etc..
Embodiment 2
The present embodiment provides a kind of device for device software edition upgrading, can be built in any communication and set Standby, this device at least includes following two units.
Detector unit, detection user presses the persistent period of RST button;
Upgrading processing unit, when the persistent period detecting user's pressing RST button being less than setting duration, Plate, according to default first load mode, loads software version program, updating software release;
When the persistent period detecting user's pressing RST button being more than or equal to setting duration, according to default The second load mode, load software version program, updating software release.
Specifically, when the persistent period of detection user pressing RST button is less than and sets duration, equipment is again Start, and the acquiescence load mode of this equipment is configured to network load mode, now, upgrading processing list Unit, loads software version program according to the network load mode that configured, updating software release, wherein, When loading software version program according to network load mode, the parameter of loading is the ginseng working for the last time Number.
When the persistent period of detection user's pressing RST button is more than or equal to setting duration, equipment opens again Dynamic, and this equipment acquiescence load mode is configured to network load mode, change equipment control QX mouth ground Location is default value, and now, upgrading processing unit loads software version according to the network load mode being configured Program, updating software release, wherein, when loading software version program according to network load mode, load Parameter be system default parameter.
It is noted that upgrading processing unit, loading software version according to the network load mode being configured During this program, if loading unsuccessfully, this equipment is restarted automatically, and by this equipment acquiescence load mode more It is newly local load mode, restart.
Equipment involved by the present embodiment can be the equipment such as switch, PTN.
The method that above-described embodiment 1 be can achieve due to the device providing in the present embodiment, therefore this device Other concrete operations can be found in the corresponding contents of above-described embodiment 1, will not be described here.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through program Complete to instruct related hardware, described program can be stored in computer-readable recording medium, such as read-only Memorizer, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use One or more integrated circuits are realizing.Correspondingly, each module/unit in above-described embodiment can adopt The form of hardware is realized, it would however also be possible to employ the form of software function module is realized.The application is not restricted to appoint The combination of the hardware and software of what particular form.
The above, the only preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention Enclose.All any modification, equivalent substitution and improvement within the spirit and principles in the present invention, done etc., Should be included within the scope of the present invention.

Claims (10)

1. a kind of method for device software edition upgrading is it is characterised in that the method at least includes:
On equipment, master control veneer detects that the persistent period of RST button is restarted in user's pressing;
When the persistent period detecting user's pressing RST button being less than setting duration, master control on described equipment Veneer, according to default first load mode, loads software version program, updating software release;
When the persistent period detecting user's pressing RST button being more than or equal to setting duration, described equipment Upper master control veneer, according to default second load mode, loads software version program, updating software release.
2. the method for claim 1 is it is characterised in that master control veneer is according to pre- on described equipment If the first load mode, load software version program, the process of updating software release includes:
On described equipment, master control borad restarts, and master control version acquiescence load mode is configured to network and adds Load mode, master control veneer loads software version program according to the network load mode being configured, software of upgrading Version, wherein, when loading software version program according to network load mode, the parameter of loading is last The secondary parameter working.
3. method as claimed in claim 1 or 2 it is characterised in that on described equipment master control veneer press According to default second load mode, load software version program, the process of updating software release includes:
On described equipment, master control borad restarts, and master control version acquiescence load mode is configured to network and adds Load mode, change equipment control QX port address is default value, and master control veneer adds according to the network being configured Load mode loads software version program, updating software release, wherein, loads soft according to network load mode During part version program, the parameter of loading is system default parameter.
4. method as claimed in claim 3 is it is characterised in that the method also includes:
When on described equipment, master control veneer loads software version program according to the network load mode being configured, If loading unsuccessfully, on described equipment, master control veneer is restarted automatically, and by master control version acquiescence load mode more It is newly local load mode.
5. method as claimed in claim 4 is it is characterised in that described equipment is Packet Transport Network PTN Equipment.
6. a kind of device for device software edition upgrading is it is characterised in that this device at least includes:
Detector unit, the persistent period of RST button is restarted in detection user's pressing;
Upgrading processing unit, when the persistent period detecting user's pressing RST button being less than setting duration, Plate, according to default first load mode, loads software version program, updating software release;
When the persistent period detecting user's pressing RST button being more than or equal to setting duration, according to default The second load mode, load software version program, updating software release.
7. device as claimed in claim 6 is it is characterised in that described upgrading processing unit, according to pre- If the first load mode, load software version program, updating software release refers to:
Described equipment restarts, and the acquiescence load mode of this equipment is configured to network load mode, Described upgrading processing unit, loads software version program according to the network load mode being configured, and upgrading is soft Part version, wherein, when loading software version program according to network load mode, the parameter of loading is last The parameter once working.
8. device as claimed in claims 6 or 7, it is characterised in that described upgrading processing unit, is pressed According to default second load mode, load software version program, updating software release refers to:
Described equipment restarts, and the acquiescence load mode of this equipment is configured to network load mode, Change equipment control QX port address is default value, and described upgrading processing unit adds according to the network being configured Load mode loads software version program, updating software release, wherein, loads soft according to network load mode During part version program, the parameter of loading is system default parameter.
9. device as claimed in claim 8 it is characterised in that
Described upgrading processing unit, when loading software version program according to the network load mode being configured, If loading unsuccessfully, this equipment is restarted automatically, and this equipment acquiescence load mode is updated to local adding Load mode.
10. device as claimed in claim 9 is it is characterised in that described device is placed in Packet Transport Network In PTN device.
CN201510532846.4A 2015-08-26 2015-08-26 A kind of method and apparatus for device software edition upgrading Withdrawn CN106487550A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510532846.4A CN106487550A (en) 2015-08-26 2015-08-26 A kind of method and apparatus for device software edition upgrading
PCT/CN2016/085151 WO2017032134A1 (en) 2015-08-26 2016-06-07 Method and apparatus for device software version upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510532846.4A CN106487550A (en) 2015-08-26 2015-08-26 A kind of method and apparatus for device software edition upgrading

Publications (1)

Publication Number Publication Date
CN106487550A true CN106487550A (en) 2017-03-08

Family

ID=58099560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510532846.4A Withdrawn CN106487550A (en) 2015-08-26 2015-08-26 A kind of method and apparatus for device software edition upgrading

Country Status (2)

Country Link
CN (1) CN106487550A (en)
WO (1) WO2017032134A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399153A (en) * 2019-07-25 2019-11-01 Oppo广东移动通信有限公司 Method for upgrading system, device, terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470615A (en) * 2007-12-28 2009-07-01 技嘉科技股份有限公司 Single-key controlled method for automatically repairing system configuration
CN102073519A (en) * 2010-12-31 2011-05-25 青岛海信宽带多媒体技术有限公司 Software updating method
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN102915246A (en) * 2011-08-05 2013-02-06 联想(北京)有限公司 Terminal device and method of supporting multi-firmware loading
US20140047427A1 (en) * 2012-08-13 2014-02-13 International Business Machines Corporation Concurrent embedded application update and migration
CN104598284A (en) * 2015-02-05 2015-05-06 深圳市成为信息技术有限公司 Method for starting embedded equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470615A (en) * 2007-12-28 2009-07-01 技嘉科技股份有限公司 Single-key controlled method for automatically repairing system configuration
CN102073519A (en) * 2010-12-31 2011-05-25 青岛海信宽带多媒体技术有限公司 Software updating method
CN102915246A (en) * 2011-08-05 2013-02-06 联想(北京)有限公司 Terminal device and method of supporting multi-firmware loading
US20140047427A1 (en) * 2012-08-13 2014-02-13 International Business Machines Corporation Concurrent embedded application update and migration
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN104598284A (en) * 2015-02-05 2015-05-06 深圳市成为信息技术有限公司 Method for starting embedded equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399153A (en) * 2019-07-25 2019-11-01 Oppo广东移动通信有限公司 Method for upgrading system, device, terminal and computer readable storage medium
CN110399153B (en) * 2019-07-25 2023-11-03 Oppo广东移动通信有限公司 System upgrading method, device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2017032134A1 (en) 2017-03-02

Similar Documents

Publication Publication Date Title
EP2555468B1 (en) Device control method, network device and network system
CN100372294C (en) Appratus upgrading method
US20060047785A1 (en) System and method for configuring and managing communication devices
CN101317381A (en) Ability management object maintenance, ability management method, system and terminal
CN103164229A (en) Method and device for clearing progresses of mobile terminal
EP3477894B1 (en) Method and device for controlling virtualized broadband remote access server (vbras), and communication system
CN101156379B (en) Method and system for selecting service quality policy
CN101815005A (en) The network equipment, system and network management
CN113691404A (en) Network repairing method and device of intelligent equipment and intelligent gateway
CN105388861A (en) Method and system for controlling devices in internet of things
CN105528261A (en) Method and system for intelligently outputting debugging information for embedded device
CN106708547A (en) Service plug-in management method and system
CN104378449B (en) A kind of implementation method of virtual IP address
CN106487550A (en) A kind of method and apparatus for device software edition upgrading
CN101783770A (en) Method and system for processing message, service processing board and circuit processing board
CN110912725A (en) Configuration method and configuration device of OpenFlow virtual switch
CN106161532A (en) A kind of orientation method for cleaning based on cloud service and system
CN102892135B (en) Release management method and device of mobile terminal network ports
US11729266B2 (en) Method and device for preventing data misdeletion, storage medium, and product
CN109462423B (en) Method, device, equipment and medium for checking data transmission unit
CN114070738A (en) Equipment configuration auditing method and device
CN107729032A (en) Boot animation update method, intelligent terminal and can storage medium
KR102072135B1 (en) System and method for setting detection of network function virtualization
CN101959223B (en) Self-healing control method and self-healing control device of flow-control transport protocol link failure
CN105282241A (en) Internet of Things equipment control method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170308