CN107305497A - Version upgrading method and device - Google Patents
Version upgrading method and device Download PDFInfo
- Publication number
- CN107305497A CN107305497A CN201610252355.9A CN201610252355A CN107305497A CN 107305497 A CN107305497 A CN 107305497A CN 201610252355 A CN201610252355 A CN 201610252355A CN 107305497 A CN107305497 A CN 107305497A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- upgraded
- equipment
- upgrade command
- command sequence
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention provides version upgrading method and device, wherein this method includes:Determine the upgrading template of equipment to be upgraded;According to the upgrading template generation upgrade command sequence;The upgrade command sequence is sent to equipment to be upgraded, wherein, the upgrade command sequence is used for the equipment to be upgraded and completes upgrading.By the present invention, the problem of needing to develop the upgrading tool of differentiation for different upgrading scenes is solved, the resource of upgrading scene input and the cost of consuming is reduced.
Description
Technical field
The present invention relates to data network communications field, particularly with regard to version upgrading method and device.
Background technology
In communication equipment area of maintenance often in order to the purpose such as dilatation, solution failure to equipment, it is necessary to carry out edition upgrading.
Because Regional Distribution where equipment is discrete, the features such as quantity is big typically can all provide upgrading tool and maintain easily personnel's progress
Upgrading.Because various reasons, various device types and version such as network layers, the different editions of equipment operation residing for equipment
This has greatest differences in upgrading mode, in order to meet distinct device type, version upgrading requirement, it is necessary to put into
Substantial amounts of resource meets the upgrading tool of different demands to develop, and there are the feelings such as overlapping development, difficult in maintenance, the wasting of resources
Condition.
Communication equipment is typically all managed collectively and safeguarded using network management system, and current part network management system is also provided pair
The ability that institute's maintained equipment is upgraded, but still have carry out feature development for different types of equipment, it is impossible to it is unified
Situations such as Man Machine Interface.
The problem of for needing to develop the upgrading tool of differentiation for different upgrading scenes in correlation technique, prior art is also
Effective solution is not proposed.
The content of the invention
Object of the present invention is to provide version upgrading method and device, solve needs exploitation for different upgrading scenes
The problem of upgrading tool of differentiation.
According to an aspect of the present invention there is provided a kind of version upgrading method, including:Determine the upgrading mould of equipment to be upgraded
Plate;According to the upgrading template generation upgrade command sequence;The upgrade command sequence is sent to equipment to be upgraded, wherein, should
Upgrade command sequence is used for the equipment to be upgraded and completes upgrading.
Further, the upgrading template is determined according to version information, the type of the equipment to be upgraded and upgrading type.
Further, the upgrading type is determined according to the type of the version information and the equipment to be upgraded;According to the version information,
The type of the equipment to be upgraded and the upgrading type determine the upgrading template.
Further, the version upgrading method also includes determining the version information in the following manner:Receiving upgrade command
In the case of, determine the version information in the version information storehouse pre-saved.
Further, the version upgrading method is applied to field of network management.
According to another aspect of the present invention there is provided a kind of version upgrading method, including:Upgrade command sequence is received, wherein,
The upgrade command sequence is the upgrading template generation according to equipment to be upgraded;Completed to upgrade according to the upgrade command sequence.
According to another aspect of the present invention there is provided a kind of edition upgrading device, including:First determining module, for determining
The upgrading template of equipment to be upgraded;Generation module, for according to the upgrading template generation upgrade command sequence;Sending module,
For sending the upgrade command sequence to equipment to be upgraded, wherein, the upgrade command sequence is used for the equipment to be upgraded and completed
Upgrading.
Further, first determining module includes determining unit, for the type according to version information, the equipment to be upgraded
And upgrading type determines the upgrading template.
Further, the edition upgrading device also includes the second determining module, for determining the version information in the following manner:
In the case where receiving upgrade command, the version information is determined in the version information storehouse pre-saved.
According to another aspect of the present invention there is provided a kind of edition upgrading device, applied to field of network management, including receiving module,
For receiving upgrade command sequence, wherein, the upgrade command sequence is the upgrading template generation according to equipment to be upgraded;
Upgraded module, for being completed to upgrade according to the upgrade command sequence.
By the present invention, the technical scheme of use, solve needs to develop the upgrading work of differentiation for different upgrading scenes
The problem of tool, reduce the resource of upgrading scene input and the cost of consuming.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention
Schematic description and description be used for explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart one of version upgrading method according to embodiments of the present invention;
Fig. 2 is the flowchart 2 of version upgrading method according to embodiments of the present invention;
Fig. 3 is the structured flowchart one of edition upgrading device according to embodiments of the present invention;
Fig. 4 is the structured flowchart one of edition upgrading device according to the preferred embodiment of the invention;
Fig. 5 is the structured flowchart two of edition upgrading device according to the preferred embodiment of the invention;
Fig. 6 is the structured flowchart two of edition upgrading device according to embodiments of the present invention;
Fig. 7 is the structured flowchart three of edition upgrading device according to embodiments of the present invention;
Fig. 8 is the flow chart 3 of version upgrading method according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings not conflicted
Under condition, the feature in embodiment and embodiment in the application can be mutually combined.
A kind of version upgrading method and device are provided in the present embodiment, and Fig. 1 is version liter according to embodiments of the present invention
The flow chart one of level method, as shown in figure 1, the flow comprises the following steps:
Step S102, determines the upgrading template of equipment to be upgraded;
Step S104, according to the upgrading template generation upgrade command sequence;
Step S106, the upgrade command sequence is sent to equipment to be upgraded, wherein, the upgrade command sequence is used for
The equipment to be upgraded completes upgrading.
Further, above-mentioned version upgrading method can be used for but be not limited to field of network management.
Alternatively, upgrading template is developed by plant maintenance expert, and specific aim is higher, quality is higher, it is to avoid upgrading tool one
As have software engineer's exploitation of specialty, software engineer to device upgrade and the various abnormal conditions being likely encountered not
It is familiar with, and the upgrading flow solidified influences the universality of upgrading tool.
Alternatively, the upgrading template is determined according to version information, the type of equipment to be upgraded and upgrading type.Enter
One step, upgrading actuator is called and " risen according to the upgrading type, the type of equipment to be upgraded and version information got
Level order maker ", " upgrade command maker " according to above-mentioned upgrading type, the type of equipment to be upgraded, version information,
Retrieve " upgrading formwork module ", determine corresponding Groovy upgradings template, generation " upgrade command sequence " returns to liter
Level actuator.It is alternatively possible to mutually call generation " upgrade command sequence " by JAVA language and Groovy.
Above-mentioned upgrading type can be determined by the type and version information of equipment to be upgraded.
Alternatively, above-mentioned version information is stored in version information storehouse, in the case where receiving upgrade command, from advance
It is stored in version information storehouse and transfers version information to be upgraded.Above-mentioned version information includes hardware and/or software version is believed
Above-mentioned version information, is entered into the corresponding network management system of upgrading embodiment by breath when performing upgrading task.
Alternatively, above-mentioned upgrading template is stored in embodiment system, if not including the upgraded module in embodiment system also,
User needs the upgrading template of newly-increased correspondence target version into embodiment network management system.Alternatively, Groovy can be used
Script facilitates User-defined template as template, paving with visual human-computer interaction interface.
It upgrading tool can be used to perform " key upgrading " it is noted that performing upgrading task, start upgrading actuator
Core component.When it is determined that needing upgrading, user selects network element and target version to be upgraded, then performs " upgrading "
Button, the present embodiment system starts upgrading actuator.In the present embodiment, upgrading actuator provides meter as core component
Upgrading order is calculated, other module interfaces is called, issues specific upgrade command to the ability of equipment to be upgraded.
Equipment to be upgraded is received and performed " upgrade command sequence ", completes whole upgrading flow.Upgrading actuator passes through
TELNET interfaces issue upgrade command to equipment to be upgraded successively, and equipment to be upgraded performs upgrade command, completes upgrading.
By the upgrade command sequence upgrading equipment to be upgraded automatically generated, upgrading tool need not be concerned about specific order, can drop
The development and maintenance cost of low instrument.
According to the present embodiment, service engineer can not judge, directly upgrade, it is to avoid repeatedly upgrading is lost time and increased
The unsuccessful risk brought of upgrading.At the same time, it is to avoid increase human cost and judgement error wind because office point varies
Danger is, it is necessary to upgrade and do not upgrade.According to the present embodiment,
Fig. 2 is the flowchart 2 of version upgrading method according to embodiments of the present invention, as shown in Fig. 2 the flow is included such as
Lower step:
S202, receives upgrade command sequence, wherein, the upgrade command sequence is given birth to according to the upgrading template of equipment to be upgraded
Into;
S204, completes to upgrade according to the upgrade command sequence.
Fig. 3 is the structured flowchart one of edition upgrading device according to embodiments of the present invention, as shown in figure 3, the device includes:
First determining module 32, the upgrading template for determining equipment to be upgraded;
Generation module 34, for according to the upgrading template generation upgrade command sequence;
Sending module 36, for sending the upgrade command sequence to equipment to be upgraded, wherein, the upgrade command sequence is used for
The equipment to be upgraded completes upgrading.
Fig. 4 is the structured flowchart one of edition upgrading device according to the preferred embodiment of the invention, as shown in figure 4, this first
Determining module 32 includes determining unit 42:
Above-mentioned determining unit 42, for determining the liter according to version information, the type of the equipment to be upgraded and upgrading type
Level template.
Fig. 5 is the structured flowchart two of edition upgrading device according to the preferred embodiment of the invention, as shown in figure 5, the version
Update device also includes the second determining module 52:
Second determining module 52, for determining the version information in the following manner:Receiving the situation of upgrade command
Under, determine the version information in the version information storehouse pre-saved.
Fig. 6 is the structured flowchart two of edition upgrading device according to embodiments of the present invention, as shown in fig. 6, applied to webmaster neck
Domain, the device includes:
Receiving module 62, for receiving upgrade command sequence, wherein, the upgrade command sequence is according to equipment to be upgraded
Upgrading template generation;
Upgraded module 64, for being completed to upgrade according to the upgrade command sequence.
The present invention is further described with reference to specific embodiment.
Fig. 7 is the structured flowchart three of edition upgrading device according to embodiments of the present invention, as shown in fig. 7, this method includes
With lower module:
Version information management module 71, upgrading actuator 72, upgrade command maker 73, upgrading formwork module 74, treat
Updating apparatus.Technical proposal that the invention solves the above-mentioned problems comprises the following steps, as shown in Figure 8:
The version information is saved in version information pipe by step S802, input escalation target version information to upgrade-system
Manage module 71;
Step S804, input target version upgrades template to upgrade-system, and the target version is saved in into upgrading template mould
Block 74;
Step S806, user performs " key upgrading " function of human-computer interaction interface, starts upgrading actuator 72;
Step S808, upgrading actuator 72 calls version management module 71 to obtain version information, determines that target device is needed
The type to be upgraded, retrieval upgrading formwork module 74 determines upgrading template, and calls upgrade command maker 73, generates
And send " upgrade command sequence " to equipment to be upgraded;
Step S810, upgrading actuator 72 issues upgrade command sequence to equipment to be upgraded, and equipment completes upgrading.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realizes that they can be concentrated on single computing device, or is distributed in multiple computing devices and is constituted
Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to by they
Storage is performed by computing device in the storage device, and in some cases, can be to be held different from order herein
They, are either fabricated to each integrated circuit modules or will be many in them by the shown or described step of row respectively
Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware
Combined with software.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the technology of this area
For personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made is any
Modification, equivalent substitution, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a kind of version upgrading method, it is characterised in that including:
Determine the upgrading template of equipment to be upgraded;
According to the upgrading template generation upgrade command sequence;
The upgrade command sequence is sent to equipment to be upgraded, wherein, the upgrade command sequence is waited to rise for described
Level equipment completes upgrading.
2. according to the method described in claim 1, it is characterised in that the upgrading template for determining equipment to be upgraded includes:
The upgrading template is determined according to version information, the type of the equipment to be upgraded and upgrading type.
3. method according to claim 2, it is characterised in that according to the version information, the equipment to be upgraded
Type and upgrading type determine that the upgrading template includes:
The upgrading type is determined according to the type of the version information and the equipment to be upgraded;
The upgrading mould is determined according to the version information, the type of the equipment to be upgraded and the upgrading type
Plate.
4. according to the method in claim 2 or 3, it is characterised in that methods described also includes:
The version information is determined in the following manner:
In the case where receiving upgrade command, the version information is determined in the version information storehouse pre-saved.
5. according to the method described in claim 1, it is characterised in that the version upgrading method is applied to field of network management.
6. a kind of version upgrading method, it is characterised in that applied to field of network management, including:
Upgrade command sequence is received, wherein, the upgrade command sequence is given birth to according to the upgrading template of equipment to be upgraded
Into;
Completed to upgrade according to the upgrade command sequence.
7. a kind of edition upgrading device, it is characterised in that including:
First determining module, the upgrading template for determining equipment to be upgraded;
Generation module, for according to the upgrading template generation upgrade command sequence;
Sending module, for sending the upgrade command sequence to equipment to be upgraded, wherein, the upgrade command sequence
Arrange and complete upgrading for the equipment to be upgraded.
8. device according to claim 7, it is characterised in that first determining module includes:
Determining unit, described in being determined according to version information, the type of the equipment to be upgraded and upgrading type
Upgrading template.
9. device according to claim 8, it is characterised in that described device also includes:
Second determining module, for determining the version information in the following manner:Receiving the feelings of upgrade command
Under condition, the version information is determined in the version information storehouse pre-saved.
10. a kind of edition upgrading device, applied to field of network management, it is characterised in that including:
Receiving module, for receiving upgrade command sequence, wherein, the upgrade command sequence is set according to be upgraded
Standby upgrading template generation;
Upgraded module, for being completed to upgrade according to the upgrade command sequence.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610252355.9A CN107305497A (en) | 2016-04-21 | 2016-04-21 | Version upgrading method and device |
PCT/CN2017/074189 WO2017181767A1 (en) | 2016-04-21 | 2017-02-21 | Version update method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610252355.9A CN107305497A (en) | 2016-04-21 | 2016-04-21 | Version upgrading method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107305497A true CN107305497A (en) | 2017-10-31 |
Family
ID=60115677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610252355.9A Withdrawn CN107305497A (en) | 2016-04-21 | 2016-04-21 | Version upgrading method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107305497A (en) |
WO (1) | WO2017181767A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958774A (en) * | 2018-07-13 | 2018-12-07 | 深圳市道通智能航空技术有限公司 | Module updating method and module to be upgraded in UAV system |
CN111240715A (en) * | 2019-12-31 | 2020-06-05 | 兰剑智能科技股份有限公司 | Device upgrading method and device, electronic device and computer readable medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947440A (en) * | 2017-12-21 | 2019-06-28 | 北京长城华冠汽车科技股份有限公司 | A kind of method of calibration and system for controller of battery management system application program update |
CN110308914B (en) * | 2018-03-27 | 2023-08-22 | 阿里巴巴(中国)有限公司 | Upgrade processing method, device, equipment, system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533356A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | A method, a device and a system for realizing software online upgrade |
US20120159467A1 (en) * | 2004-09-27 | 2012-06-21 | Spectra Logic Corporation | Co-existing dedicated system software and read/writeable data storage space on removable media |
CN102736926A (en) * | 2011-04-14 | 2012-10-17 | 中兴通讯股份有限公司 | Upgrade method, device and batch upgrade system based on task template |
CN103995723A (en) * | 2014-05-26 | 2014-08-20 | 惠州华阳通用电子有限公司 | IVI system firmware updating method and device based on mobile storage equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100535860C (en) * | 2007-10-25 | 2009-09-02 | 中兴通讯股份有限公司 | Equipment software upgrade automatic realizing system and method |
CN105224351B (en) * | 2014-06-17 | 2020-09-22 | 中兴通讯股份有限公司 | Rapid configuration implementation method and rapid configuration server |
US9998323B2 (en) * | 2014-09-25 | 2018-06-12 | Bank Of America Corporation | Datacenter configuration management tool |
-
2016
- 2016-04-21 CN CN201610252355.9A patent/CN107305497A/en not_active Withdrawn
-
2017
- 2017-02-21 WO PCT/CN2017/074189 patent/WO2017181767A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120159467A1 (en) * | 2004-09-27 | 2012-06-21 | Spectra Logic Corporation | Co-existing dedicated system software and read/writeable data storage space on removable media |
CN101533356A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | A method, a device and a system for realizing software online upgrade |
CN102736926A (en) * | 2011-04-14 | 2012-10-17 | 中兴通讯股份有限公司 | Upgrade method, device and batch upgrade system based on task template |
CN103995723A (en) * | 2014-05-26 | 2014-08-20 | 惠州华阳通用电子有限公司 | IVI system firmware updating method and device based on mobile storage equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958774A (en) * | 2018-07-13 | 2018-12-07 | 深圳市道通智能航空技术有限公司 | Module updating method and module to be upgraded in UAV system |
CN111240715A (en) * | 2019-12-31 | 2020-06-05 | 兰剑智能科技股份有限公司 | Device upgrading method and device, electronic device and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017181767A1 (en) | 2017-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107305497A (en) | Version upgrading method and device | |
CN102047683B (en) | Dynamic fault analysis for a centrally managed network element in a telecommunications system | |
CN108845910A (en) | Monitoring method, device and the storage medium of extensive micro services system | |
CN108076098A (en) | A kind of method for processing business and system | |
US20150195128A1 (en) | Apparatus and method for supporting configuration management of virtual machine, and apparatus and method for brokering cloud service using the configuration management supporting apparatus | |
CN103701640A (en) | Method and system of using intelligent management terminal to update ODN (optical distribution network) equipment | |
CN102810066A (en) | Terminal adapting method and terminal and server based on terminal characteristic configuration program | |
CN105893055B (en) | Flow engine hardware and software platform triggering method | |
CN111083058B (en) | Content distribution network service flow limiting method and electronic equipment | |
CN103716308A (en) | Multiprotocol platform communication method and multiprotocol platform | |
CN104135378A (en) | Method of management control of Internet of Things gateways and management control entity for Internet of Things gateways | |
CN107493199A (en) | A kind of distributed type assemblies management method and system | |
US9519537B2 (en) | Apparatus, system and method for application log data processing | |
KR101416280B1 (en) | Event handling system and method | |
CN107483297B (en) | Active monitoring system and method for quality of service carried on embedded equipment | |
CN103997523A (en) | Smart city service system based on cloud services and implementation method thereof | |
CN112333065B (en) | Automatic opening method and device for IPRAN Ethernet private line | |
CN105472465A (en) | Set-top box upgrading method and set-top box upgrading device | |
CN106648858A (en) | Interactive management system for C# interface data | |
CN102761443A (en) | Collocation method and device of command lines | |
CN109510730A (en) | Distributed system and its monitoring method, device, electronic equipment and storage medium | |
US7395326B2 (en) | Network management apparatus | |
CN105338058A (en) | Application updating method and device | |
CN103186405A (en) | Method and device for implementing unified control of equipment | |
CN108170488A (en) | A kind of method and device for upgrading plug-in unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |
Application publication date: 20171031 |
|
WW01 | Invention patent application withdrawn after publication |