CN103516735A - Method and apparatus for upgrading network node - Google Patents

Method and apparatus for upgrading network node Download PDF

Info

Publication number
CN103516735A
CN103516735A CN201210204573.7A CN201210204573A CN103516735A CN 103516735 A CN103516735 A CN 103516735A CN 201210204573 A CN201210204573 A CN 201210204573A CN 103516735 A CN103516735 A CN 103516735A
Authority
CN
China
Prior art keywords
upgrade
upgrading
command code
node
server
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
CN201210204573.7A
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 CN201210204573.7A priority Critical patent/CN103516735A/en
Publication of CN103516735A publication Critical patent/CN103516735A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method for upgrading a network node and an apparatus for upgrading the network node. The method includes the following steps that: an upgrade server receives an upgrade task transmitted by a client, wherein the upgrade task includes an upgrade node and the upgrade steps of the upgrade node; the upgrade server obtains the upgrade agent of the upgrade node, and searches a stored corresponding relationship between the type of the upgrade node and a command code set so as to obtain the command code set corresponding to the type of the upgrade node, wherein the command code set includes command codes corresponding to the upgrade steps; and the upgrade server transmits the command codes corresponding to the upgrade steps to the upgrade agent which executes the upgrade of the upgrade node according to the command codes. According to the embodiment of the invention, the upgrade server directly searches and obtains the corresponding command code set according to the type of the upgrade node, such that the upgrade of the upgrade node can be performed, and therefore, the upgrade of different types of network nodes can be realized.

Description

A kind of method and device of network node upgrading
Technical field
The present invention relates to the upgrading of node in communication network, be specifically related to the method and apparatus of the upgrading of all types of network nodes.
Background technology
In existing communication network, in view of the continuous increase of business and the potential problems of existing operating software etc., need to frequently upgrade to the software of all types of device nodes in network.Current network element node upgrading mode mainly comprises two kinds of artificial upgrading and small area network automatically updating methods.
Artificial upgrading needs engineering maintenance personnel to understand in advance current operation version environment, be ready to target version to be upgraded, after arriving at scene, according to tediously long upgrading guiding book, operate, step is comparatively numerous and diverse, and to having relatively high expectations of operating personnel, and whole fallibility hand-manipulated is higher, failed rollback causes upgrading, and rollback is exactly almost the inverse operation of upgrading, therefore, that manual upgrading has is time-consuming, effort, the easy shortcoming such as make mistakes.
Small area network automatically updating method, by a server stores software redaction, the software to be upgraded operating on node to be upgraded removes to check the software version on this server termly, if meet escalation ladder requirement, the software to be upgraded on this node goes download new software version to complete escalation process automatically, or the software waiting for server to be upgraded operating on node to be upgraded issues software update information, and automatically from server download new software version, completes upgrading after receiving software update information.The method has been avoided the shortcoming of artificial upgrading, but too automation, be unfavorable for that network maintenance staff monitors and the grasp of crucial upgrading point position, once go wrong, engineering maintenance personnel are difficult to get involved in time, and the upgrading of upgrade node order, upgrading are uncontrollable opportunity, can not meet the requirement of multinode echelon upgrading.
Various defects for above-mentioned node upgrading mode, number of patent application is that 200610067050 Chinese patent application " system of integrating remote automatic upgrade software and method thereof " provides a kind of remote upgrade method to network element node, this scheme realizes remote upgrade by client, server and upgrading agency's framework form, by pre-defined, transmitting order to lower levels file, to network element node, and then the mode of progressively controlling is upgraded.But, this mode relates generally to the upgrading of the network element node of same type, and then upgrade step must well issue by document definition in advance simultaneously, in order to realize the control to escalation process, each upgrade step needs to feed back to client, by user, is determined whether to need to continue to carry out.Number of patent application is that 200810141637 Chinese patent application " a kind of remote upgrade device of network element software and method " provides the another kind of remote upgrade method to network element node, this scheme is carried out dynamic update by conditions such as judgement network element version, number of routes and traffic carrying capacitys, but this mode only relates to the remote upgrade of same type network element node in communication network, and by dynamic judgement route and traffic carrying capacity, upgrade flexibly, be unfavorable for monitoring and key point grasp.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of network node upgrading, realizes the upgrading to various types of networks node.
To achieve these goals, the embodiment of the present invention provides a kind of method of network node upgrading, comprising:
Upgrade server receives the upgrading task that client sends, and described upgrading task comprises the upgrade step of upgrade node and described upgrade node;
Described upgrade server obtains the upgrading agency of described upgrade node, and according to the type of described upgrade node, search the type of upgrade node and the corresponding relation of command code collection of storage, obtain the command code collection corresponding with the type of described upgrade node, described command code collection comprises the command code corresponding with described upgrade step;
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency, by described upgrading agency, according to described command code, carries out the upgrading to described upgrade node.
Described upgrade server also comprises before sending the command code corresponding with described upgrade step to described upgrading agency:
Described upgrade server searches according to the corresponding relation of self memory command code and attribute information the attribute information that obtains described command code, when described attribute information shows that described upgrade step is committed step, described upgrade server suspends the described command code of transmission, and to described client transmit operation request, according to replying of described client, continue or stop escalation process.
The method also comprises: described upgrade server software version to all types of nodes before escalation process is registered, and stores Description of ××× (Release name) file and the address information of described software version;
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency and comprises: when described upgrade step is the download of version bag, described upgrade server, according to the Description of ××× (Release name) ff of described software version version bag to be downloaded, is carried at the address information of the described version bag finding in described command code and sends to described upgrading agency.
Described upgrade step comprise following one or more: version bag is downloaded, check after inspection before upgrading, data backup, upgrading, upgrading, rollback.
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency and comprises:
When existing, a plurality of promotion conditions are identical and when belonging to same host and controlling the upgrade node of upgrading, described upgrade server issues after the command code of described a plurality of upgrade node is merged and asynchronous acceptance is returned.Described upgrade server is the buffering area that the Node configuration of each type is corresponding,
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency and comprises: the United Dispatching thread of described upgrade server is sent to described command code with described upgrading and acts on behalf of corresponding buffering area, by the daemon thread of described buffering area, described command code is acted on behalf of and is sent to described upgrading.
The embodiment of the present invention also provides a kind of upgrade server, comprising:
Receiving element, the upgrading task sending for receiving client, described upgrading task comprises the upgrade step of upgrade node and described upgrade node;
Processing unit, for obtaining the upgrading agency of described upgrade node, and according to the type of described upgrade node, search the type of upgrade node and the corresponding relation of command code collection of storage, obtain the command code collection corresponding with the type of described upgrade node, described command code collection comprises the command code corresponding with described upgrade step;
Transmitting element, for sending the command code corresponding with described upgrade step to described upgrading agency, carries out the upgrading to described upgrade node by described upgrading agency according to described command code.
Described processing unit comprises:
Attribute information obtains subelement, for searching with the corresponding relation of attribute information the attribute information that obtains the described command code corresponding with described upgrade step according to the command code of described upgrade server storage;
Attribute information is processed subelement, for when described attribute information shows that described upgrade step is committed step, notify described transmitting element to suspend and send described command code, and to described client transmit operation request, according to replying of described client, continue or stop escalation process.
This upgrade server also comprises registering unit, for the software version to all types of nodes before escalation process, registers, and stores Description of ××× (Release name) file and the address information of described software version;
Described transmitting element also for: when described upgrade step is that version bag is when download, according to the Description of ××× (Release name) ff of described software version version bag to be downloaded, the address information of the described version bag finding is carried in described command code and is sent to described upgrading agency.
Described transmitting element also for:
When existing a plurality of promotion conditions identical and when belonging to same host and controlling the upgrade node of upgrading, after being merged, the command code of described a plurality of upgrade node issues and asynchronous acceptance is returned.This upgrade server also comprises buffer cell, is used to the buffering area corresponding to Node configuration of each type;
Described transmitting element comprises:
United Dispatching thread subelement, for being sent to described command code with described upgrading and acting on behalf of corresponding buffering area;
Daemon thread subelement, sends to described upgrading agency for the command code that described buffering area is received.
Method and the device of the network node upgrading that the embodiment of the present invention provides, according to the type of network node, corresponding command code collection is set, by upgrade server, according to the type of upgrade node, search and obtain corresponding command code collection, according to upgrade step, the concentrated command code of command code is sent to upgrading agency, by upgrading, agency carries out the upgrading to upgrade node, has realized the upgrading to different type network node.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method for the network node upgrading that provides of the embodiment of the present invention;
Fig. 2 is upgrade-system structural representation in the method for the network node upgrading that provides of the embodiment of the present invention;
Fig. 3 is the scheduling flow schematic diagram of single upgrading task in the method for the network node upgrading that provides of the embodiment of the present invention;
Fig. 4 is the instantiation procedure schematic diagram that adopts the method for the network node upgrading that the embodiment of the present invention provides;
Fig. 5-Fig. 8 is the structural representation of the upgrade server that provides of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
The embodiment of the present invention provides a kind of method of network node upgrading, be applied to comprise in the network of client, upgrade server, upgrading agency and upgrade node, wherein, the node that upgrade node need to be upgraded for software on it, upgrade server is the server for upgrade node is upgraded.As shown in Figure 1, the method comprises:
Step 101, upgrade server receives the upgrading task that client sends, and described upgrading task comprises the upgrade step of upgrade node and described upgrade node.
When user expects to upgrade certain upgrade node, user can log in by client, then creates upgrading task, selects the upgrade step of upgrade node and this upgrade node the task of upgrading to send to upgrade server.User also can arrange other upgrade parameter outside upgrade step by client, such as update time, the upgrade frequency of failure, the failed alert if etc. of upgrading at most.
Step 102, described upgrade server obtains the upgrading agency of described upgrade node, and according to the type of described upgrade node, search the type of upgrade node and the corresponding relation of command code collection of storage, obtain the command code collection corresponding with the type of described upgrade node, described command code collection comprises the command code corresponding with described upgrade step.
The corresponding upgrading agency of each upgrade node, upgrade server storage upgrade node and upgrading agency's corresponding relation, searches the upgrading agency who obtains its correspondence according to the upgrade node in upgrading task.The corresponding command code collection of each type upgrade node, each command code is concentrated and is comprised a plurality of command codes, the corresponding upgrade step of each command code.
Step 103, described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency, by described upgrading agency, according to described command code, carries out the upgrading to described upgrade node.
The scheme providing in order to clearly demonstrate the embodiment of the present invention, illustrates upgrading agency's configuration, the configuration of command code below.
Upgrading agency's configuration
The embodiment of the present invention adopts client, server, upgrading agency's framework to carry out the upgrading of network node.Client and server can unified plan, and for upgrading agency, dissimilar node position is different with escalation policy, and agency is not identical yet in upgrading, and example is upgrade-system structure as shown in Figure 2, must complete the deployment that all kinds upgrading is acted on behalf of before upgrading.
The type of node can be set flexibly according to actual networking situation, and the type that node for example can be set in operator's network is three classes: base station controller, base station, communication terminal.The network node of take is set to operating maintenance module network element node, other network element nodes are example, and respective upgrades agency be respectively:
A) operating maintenance module network element node, considers that the upgrading of operating maintenance module need be carried out shut-down operation, and newly-increased application program is as its upgrading agency;
B) other network element node upgradings, other network element nodes are managed by operating maintenance module, and while considering upgrading, operational module normally moves, and can assigned operation maintenance module be upgrading agency.
In upgrade server side, for known various types of upgradings agencies define configuration, the mode by configuration file defines, and when upgrade server starts for the first time, configuration file is loaded.The information of configuration file specifically comprises: upgrading Agent Type, upgrading agent address, port numbers, command execution mode, execution result echo plex mode etc.The upgrade step order of all types of nodes is carried out associated with corresponding upgrading agency, before concrete upgrade step command scheduling, must first according to Map Searching, to the upgrading of respective upgrades Agent Type and deployment in advance, act on behalf of, upgrade server is issued to concrete upgrading agency by upgrade command and progressively completes upgrading.
The configuration of command code
In the embodiment of the present invention, upgrade command is the form realization with command code, the corresponding command code collection of each type upgrade node, and each command code is concentrated corresponding a set of upgrading command code, the corresponding upgrade step of each command code.
Preferably, command code shows different rows by attribute information and is, upgrade server, when concrete this upgrade step of scheduled for executing, is first searched this command code property parameters, finds respective upgrades agency issue upgrading order according to the attribute information of command code.When the bright current upgrade step of AIT is committed step, upgrade server suspends the corresponding command code of transmission, and to client transmit operation request, according to replying of client, continues or stop escalation process.
The attribute information example of command code is as follows:
Command code attribute Implication
sequence Execution sequence
isKeyOp Whether key operation
isDefaultSelect Whether acquiescence is chosen
agentInfo Respective upgrades agency
isWrap Whether pack
preDepend Forward direction relies on
backDepend Backward dependence
timeout Overtime
group Command group
Table 1
The present invention's support to upgrade command sets extension definition, carries out command property expansion according to service needed server and respective upgrades agency.Upgrading for newly-increased type node, only need the affiliated upgrading agency of definition, command code collection and corresponding upgrade step command code, configuration order code association attributes, and upgrading agency can support this order, upgrade-system is seldom developed can scheduled for executing, meets the telecommunication node upgrading under different occasions.
Complete upgrading life cycle can comprise: various inspections after various inspections, data backup, upgrading, upgrading before upgrading, rollback (rollback automatically after comprising unsuccessfully, the rollback after upgrading successfully).Preferably, the embodiment of the present invention is that all types of nodes configure one group of upgrading order that covers whole upgrading flow process, for example:
Node type 1-> version bag is downloaded, inspections before upgrading, resource status inspection, alarm collection, upgrading preparation, data backup, upgrading, version activate, check after upgrading, alarm collection, upgrading confirmation, rollback after resource status inspection after upgrading, upgrading;
Node type 2-> upgrade step 1, upgrade step 2 ..., upgrade step n.
Preferably, in the embodiment of the present invention, the node needed software version of upgrading is managed concentratedly, upgrade server software version to all types of nodes before escalation process is registered, Description of ××× (Release name) file and the address information of storing software version, when the upgrade step in step 103 is the download of version bag, upgrade server, according to the Description of ××× (Release name) ff of software version version bag to be downloaded, is carried at the address information of the version bag finding in command code and sends and download to upgrading agency.
For example, can configure for the software version of dissimilar node unified version bag description document, each version bag is corresponding one by one with this description document, and this description document is issued along with the issue of version bag, can XML or property file mode organize.The attribute definition example of this version bag description document is as table 2.
Attribute Implication
swPackageName Version bag name
neType Node type
Product Standard
Version Version number
verDescribe Description of ××× (Release name)
compatVer Compatible version
additionalInfo Other information
Table 2
All software version unifications are for example left in, on file server (ftp server), before upgrading, upgrade server is registered the software version of each type node, registration content at least comprises: the Description of ××× (Release name) file of software version and address information (for example FTPURL on the ftp server of software version place), complete mapping registration one to one.Upgrade server also can by interface command complete and true network element between the inquiry of version bag, increase, delete function, when upgrading particular type node, can filter and obtain applicable target version by the compatibility relation of source version and target version.When all types of upgrading agencies receive version bag download command, according to the address information of the software version wherein carrying, carry out version download.
The scheduling flow of the single upgrading task of the network node the upgrading below embodiment of the present invention being provided describes.
This upgrading task is created by client, and upgrade server completes upgrading by centralized management, scheduling upgrading task, and during scheduling, task status is according to implementation status conversion mutually, and specifically as shown in Figure 3, the detailed operating procedure example of this upgrading task is as follows:
1, client creates upgrading task, enters and treats starting state; Comprise: select upgrade node, upgrade parameter is set, chooses upgrade step.
2, upgrade server starts upgrading task, enters running status, starts upgrading.
3, upgrade server is carried out upgrade step successively; Upgrade server is acted on behalf of transmitting order to lower levels code according to command code attribute to upgrading, receives the command code execution result that upgrading agency returns.After current step runs succeeded, automatically perform next step, if do not arrive the step time of implementation point arranging, wait for.
4, upgrade server suspends upgrading task, waits for that user clearly initiates to continue; The trigger condition of suspending upgrading task comprises: committed step, the artificial time-out etc. of initiating are carried out unsuccessfully, run into arbitrary steps.
5, task suspension verification; Comprise: fail step, carry out details, return results annex, whether run into committed step etc., this verification information is sent to client by upgrade server.
6, user clearly initiates to continue operation, and upgrade server continues to carry out successively upgrade step.
7, upgrading tasks carrying finishes, and upgrading completes, and derives upgrading form.
In telecommunication management network, type node is various, for realizing maximum batch, parallel upgrade, preferably, the method of the network node upgrading that the embodiment of the present invention provides can be carried out batch upgrade, in step 103, have that a plurality of promotion conditions are identical and when belonging to same host and controlling the upgrade node of upgrading, upgrade server issues after the command code of a plurality of upgrade node is merged and asynchronous acceptance is returned.
Concrete, this batch upgrade can be realized by following method:
1, the client of upgrade-system, upgrade server provide the batch of upgrading task to control function, concentrate and present, and create in batches, start, suspend, continue, stop upgrading task in batches, realize batch operation and issue.
When 2, upgrade server adopts upgrading, merge the strategy unpacking after packing, upgrading and realize the upgrading of network element node in enormous quantities of the same type in system.Concrete, upgrade server after the network element updating order of some is merged together packing issue and asynchronous acceptance return, preferably, the condition of upgrade server merging upgrading order comprises: upgrade node type is identical, whether the identical ,Yuan Ji target version of upgrading command code this shop is identical and upgrade node belongs to same host.Upgrade server can and be specified the time of staying to generate corresponding command code according to network element number and be issued in batches, when the updating result of returning is acted on behalf of in reception upgrading, upgrade server is according to corresponding network element ID, the whole result of returning is unpacked, parse the sub-result of network element one by one and return to client.
Command scheduling logic while 3, upgrading in view of dissimilar node and upgrading agency are all different, upgrade server is the buffering area that the Node configuration of each type is corresponding, United Dispatching thread issues upgrading command code Zhi Ge buffering area, daemon thread on You Ge buffering area carries out two times scheduling processing again, command code is sent to respective upgrades agency, thus, the mode that upgrade server adopts buffering distribution queue to add daemon thread guarantees to dispatch does not block, does not conflict.
The instantiation procedure of the method that the network node that providing the employing embodiment of the present invention below provides is upgraded.Wherein, the version to be upgraded of all types of nodes obtains, and respectively upgrading agency has disposed, and as shown in Figure 4, this process comprises:
1, the target version of uploading type node to be upgraded, to FTP version server, comprises version bag, the Description of ××× (Release name) file of target version.
2, at upgrade server registration target version; The Description of ××× (Release name) file that comprises target version, FTPURL address, version place.
3, client creates upgrading task; Comprise: select node to be upgraded, upgrade parameter is set, choose upgrade step.
4, upgrade server starts upgrading task, carries out successively and selects step.
When 5, arbitrary steps is carried out failure or runs into committed step, task automatic pause, waits for that client initiates to continue operation, thereby controls upgrading task, comprises time-out, continues, reforms, stops etc.Task is normally carried out the end end of upgrading.
6, upgrade information is checked, in upgrading tasks carrying process, user checks task aggregate scheduling, current step, current step progress, current step execution detail, related accessories etc. by client.
7, updating result presents, and upgrading tasks carrying finishes to present in rear derivation upgrading report set.
The method of the network node upgrading that the embodiment of the present invention provides, according to the type of network node, corresponding command code collection is set, by upgrade server, according to the type of upgrade node, search and obtain corresponding command code collection, according to upgrade step, the concentrated command code of command code is sent to upgrading agency, by upgrading, agency carries out the upgrading to upgrade node, has realized the upgrading to different type network node.
Technical conceive based on identical with above embodiment of the method, the embodiment of the present invention also provides a kind of upgrade server, as shown in Figure 5, comprising:
Receiving element 10, the upgrading task sending for receiving client, described upgrading task comprises the upgrade step of upgrade node and described upgrade node;
Processing unit 20, for obtaining the upgrading agency of described upgrade node, and according to the type of described upgrade node, search the type of upgrade node and the corresponding relation of command code collection of storage, obtain the command code collection corresponding with the type of described upgrade node, described command code collection comprises the command code corresponding with described upgrade step;
Transmitting element 30, for sending the command code corresponding with described upgrade step to described upgrading agency, carries out the upgrading to described upgrade node by described upgrading agency according to described command code.
As shown in Figure 6, preferred, described processing unit 20 comprises:
Attribute information obtains subelement 21, for searching with the corresponding relation of attribute information the attribute information that obtains the described command code corresponding with described upgrade step according to the command code of described upgrade server storage;
Attribute information is processed subelement 22, for when described attribute information shows that described upgrade step is committed step, notify described transmitting element to suspend and send described command code, and to described client transmit operation request, according to replying of described client, continue or stop escalation process.
As shown in Figure 7, preferred, this upgrade server also comprises registering unit 40, for the software version to all types of nodes before escalation process, registers, and stores Description of ××× (Release name) file and the address information of described software version;
Described transmitting element 30 also for: when described upgrade step is that version bag is when download, according to the Description of ××× (Release name) ff of described software version version bag to be downloaded, the address information of the described version bag finding is carried in described command code and is sent to described upgrading agency.
Described transmitting element 30 also for:
When existing a plurality of promotion conditions identical and when belonging to same host and controlling the upgrade node of upgrading, after being merged, the command code of described a plurality of upgrade node issues and asynchronous acceptance is returned.As shown in Figure 8, preferred, this upgrade server also comprises buffer cell 50, is used to the buffering area corresponding to Node configuration of each type;
Described transmitting element 30 comprises:
United Dispatching thread subelement 31, for being sent to described command code with described upgrading and acting on behalf of corresponding buffering area;
Daemon thread subelement 32, sends to described upgrading agency for the command code that described buffering area is received.
The device of the network node upgrading that the embodiment of the present invention provides, according to the type of network node, corresponding command code collection is set, by upgrade server, according to the type of upgrade node, search and obtain corresponding command code collection, according to upgrade step, the concentrated command code of command code is sent to upgrading agency, by upgrading, agency carries out the upgrading to upgrade node, has realized the upgrading to different type network node.
One of ordinary skill in the art will appreciate that all or part of step in said method can come instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (11)

1. a method for network node upgrading, is characterized in that, comprising:
Upgrade server receives the upgrading task that client sends, and described upgrading task comprises the upgrade step of upgrade node and described upgrade node;
Described upgrade server obtains the upgrading agency of described upgrade node, and according to the type of described upgrade node, search the type of upgrade node and the corresponding relation of command code collection of storage, obtain the command code collection corresponding with the type of described upgrade node, described command code collection comprises the command code corresponding with described upgrade step;
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency, by described upgrading agency, according to described command code, carries out the upgrading to described upgrade node.
2. the method for claim 1, is characterized in that, described upgrade server also comprises before sending the command code corresponding with described upgrade step to described upgrading agency:
Described upgrade server searches according to the corresponding relation of self memory command code and attribute information the attribute information that obtains described command code, when described attribute information shows that described upgrade step is committed step, described upgrade server suspends the described command code of transmission, and to described client transmit operation request, according to replying of described client, continue or stop escalation process.
3. the method for claim 1, is characterized in that, also comprises: described upgrade server software version to all types of nodes before escalation process is registered, and stores Description of ××× (Release name) file and the address information of described software version;
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency and comprises: when described upgrade step is the download of version bag, described upgrade server, according to the Description of ××× (Release name) ff of described software version version bag to be downloaded, is carried at the address information of the described version bag finding in described command code and sends to described upgrading agency.
4. the method for claim 1, is characterized in that, described upgrade step comprise following one or more: version bag is downloaded, check after inspection before upgrading, data backup, upgrading, upgrading, rollback.
5. the method as described in claim 1-4 any one, is characterized in that, described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency and comprises:
When existing, a plurality of promotion conditions are identical and when belonging to same host and controlling the upgrade node of upgrading, described upgrade server issues after the command code of described a plurality of upgrade node is merged and asynchronous acceptance is returned.
6. the method as described in claim 1-4 any one, is characterized in that, buffering area corresponding to Node configuration that described upgrade server is each type,
Described upgrade server sends the command code corresponding with described upgrade step to described upgrading agency and comprises: the United Dispatching thread of described upgrade server is sent to described command code with described upgrading and acts on behalf of corresponding buffering area, by the daemon thread of described buffering area, described command code is acted on behalf of and is sent to described upgrading.
7. a upgrade server, is characterized in that, comprising:
Receiving element, the upgrading task sending for receiving client, described upgrading task comprises the upgrade step of upgrade node and described upgrade node;
Processing unit, for obtaining the upgrading agency of described upgrade node, and according to the type of described upgrade node, search the type of upgrade node and the corresponding relation of command code collection of storage, obtain the command code collection corresponding with the type of described upgrade node, described command code collection comprises the command code corresponding with described upgrade step;
Transmitting element, for sending the command code corresponding with described upgrade step to described upgrading agency, carries out the upgrading to described upgrade node by described upgrading agency according to described command code.
8. upgrade server as claimed in claim 7, is characterized in that, described processing unit comprises:
Attribute information obtains subelement, for searching with the corresponding relation of attribute information the attribute information that obtains the described command code corresponding with described upgrade step according to the command code of described upgrade server storage;
Attribute information is processed subelement, for when described attribute information shows that described upgrade step is committed step, notify described transmitting element to suspend and send described command code, and to described client transmit operation request, according to replying of described client, continue or stop escalation process.
9. upgrade server as claimed in claim 7, is characterized in that, also comprises registering unit, for the software version to all types of nodes before escalation process, registers, and stores Description of ××× (Release name) file and the address information of described software version;
Described transmitting element also for: when described upgrade step is that version bag is when download, according to the Description of ××× (Release name) ff of described software version version bag to be downloaded, the address information of the described version bag finding is carried in described command code and is sent to described upgrading agency.
10. the upgrade server as described in claim 7-9 any one, is characterized in that, described transmitting element also for:
When existing a plurality of promotion conditions identical and when belonging to same host and controlling the upgrade node of upgrading, after being merged, the command code of described a plurality of upgrade node issues and asynchronous acceptance is returned.
11. upgrade servers as described in claim 7-9 any one, is characterized in that, also comprise buffer cell, are used to the buffering area corresponding to Node configuration of each type;
Described transmitting element comprises:
United Dispatching thread subelement, for being sent to described command code with described upgrading and acting on behalf of corresponding buffering area;
Daemon thread subelement, sends to described upgrading agency for the command code that described buffering area is received.
CN201210204573.7A 2012-06-20 2012-06-20 Method and apparatus for upgrading network node Pending CN103516735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210204573.7A CN103516735A (en) 2012-06-20 2012-06-20 Method and apparatus for upgrading network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210204573.7A CN103516735A (en) 2012-06-20 2012-06-20 Method and apparatus for upgrading network node

Publications (1)

Publication Number Publication Date
CN103516735A true CN103516735A (en) 2014-01-15

Family

ID=49898767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210204573.7A Pending CN103516735A (en) 2012-06-20 2012-06-20 Method and apparatus for upgrading network node

Country Status (1)

Country Link
CN (1) CN103516735A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850416A (en) * 2014-02-18 2015-08-19 ***通信集团公司 Upgrading system, method and device and cloud computing node
CN106533757A (en) * 2016-11-09 2017-03-22 上海斐讯数据通信技术有限公司 Method and device for upgrading cloud terminal equipment in batches
WO2017143905A1 (en) * 2016-02-25 2017-08-31 华为技术有限公司 Online upgrade method, device and system
CN107580050A (en) * 2017-09-05 2018-01-12 成都知道创宇信息技术有限公司 A kind of server rolls back method during generation server 500
CN109271184A (en) * 2018-08-28 2019-01-25 苏州浪潮智能软件有限公司 A method of based on remote upgrade version security protection
CN109862107A (en) * 2019-03-05 2019-06-07 上海博泰悦臻网络技术服务有限公司 Multithread scheduling specifies upgrade method, server-side and client
CN112394957A (en) * 2019-08-16 2021-02-23 顺丰科技有限公司 Server upgrading method and device, server and storage medium
CN112579358A (en) * 2020-12-22 2021-03-30 深圳市科力锐科技有限公司 Backup point detection method, device, equipment and storage medium
CN113110854A (en) * 2021-03-29 2021-07-13 深圳华锐金融技术股份有限公司 Service upgrading method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030208569A1 (en) * 2000-04-14 2003-11-06 O'brien Michael D System and method for upgrading networked devices
CN1859125A (en) * 2006-03-31 2006-11-08 华为技术有限公司 System and its method for central remote automatic upgrading software
CN101026464A (en) * 2006-02-25 2007-08-29 宇龙计算机通信科技(深圳)有限公司 Wireless terminal wireless upgrding method and wireless upgrading system
CN101159601A (en) * 2007-10-26 2008-04-09 上海华为技术有限公司 System, device and method for updating network element
CN101217678A (en) * 2007-12-28 2008-07-09 华为技术有限公司 System upgrade method, system and device
CN101710288A (en) * 2009-11-27 2010-05-19 成都市华为赛门铁克科技有限公司 Upgrade processing method and system, upgrade server and upgrade device
CN102065139A (en) * 2010-11-25 2011-05-18 青岛海信信芯科技有限公司 Software upgrading method and device and multimedia terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030208569A1 (en) * 2000-04-14 2003-11-06 O'brien Michael D System and method for upgrading networked devices
CN101026464A (en) * 2006-02-25 2007-08-29 宇龙计算机通信科技(深圳)有限公司 Wireless terminal wireless upgrding method and wireless upgrading system
CN1859125A (en) * 2006-03-31 2006-11-08 华为技术有限公司 System and its method for central remote automatic upgrading software
CN101159601A (en) * 2007-10-26 2008-04-09 上海华为技术有限公司 System, device and method for updating network element
CN101217678A (en) * 2007-12-28 2008-07-09 华为技术有限公司 System upgrade method, system and device
CN101710288A (en) * 2009-11-27 2010-05-19 成都市华为赛门铁克科技有限公司 Upgrade processing method and system, upgrade server and upgrade device
CN102065139A (en) * 2010-11-25 2011-05-18 青岛海信信芯科技有限公司 Software upgrading method and device and multimedia terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850416A (en) * 2014-02-18 2015-08-19 ***通信集团公司 Upgrading system, method and device and cloud computing node
CN104850416B (en) * 2014-02-18 2019-01-08 ***通信集团公司 A kind of upgrade-system, method, apparatus and cloud computing node
WO2017143905A1 (en) * 2016-02-25 2017-08-31 华为技术有限公司 Online upgrade method, device and system
US10999139B2 (en) 2016-02-25 2021-05-04 Huawei Technologies Co., Ltd. Online upgrade method, apparatus, and system
CN106533757A (en) * 2016-11-09 2017-03-22 上海斐讯数据通信技术有限公司 Method and device for upgrading cloud terminal equipment in batches
CN107580050A (en) * 2017-09-05 2018-01-12 成都知道创宇信息技术有限公司 A kind of server rolls back method during generation server 500
CN109271184A (en) * 2018-08-28 2019-01-25 苏州浪潮智能软件有限公司 A method of based on remote upgrade version security protection
CN109862107A (en) * 2019-03-05 2019-06-07 上海博泰悦臻网络技术服务有限公司 Multithread scheduling specifies upgrade method, server-side and client
CN112394957A (en) * 2019-08-16 2021-02-23 顺丰科技有限公司 Server upgrading method and device, server and storage medium
CN112579358A (en) * 2020-12-22 2021-03-30 深圳市科力锐科技有限公司 Backup point detection method, device, equipment and storage medium
CN112579358B (en) * 2020-12-22 2024-03-22 深圳市科力锐科技有限公司 Backup point detection method, device, equipment and storage medium
CN113110854A (en) * 2021-03-29 2021-07-13 深圳华锐金融技术股份有限公司 Service upgrading method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103516735A (en) Method and apparatus for upgrading network node
CN108924217B (en) Automatic deployment method of distributed cloud system
CN111897638B (en) Distributed task scheduling method and system
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN106874189B (en) Method for realizing automatic test system of power grid real-time database system
CN104021078B (en) Software supervision device and method
CN104104572A (en) Automatic deploying method and device for switch in SDN network
CN107479984B (en) Distributed spatial data processing system based on message
CN111880497A (en) Intelligent manufacturing equipment control system based on container
CN102710436A (en) Network equipment management method, device, relative equipment and system
CN115640110B (en) Distributed cloud computing system scheduling method and device
CN109656755A (en) The method and system of detection device state
CN105871568B (en) Software upgrading method and system
JP5268589B2 (en) Information processing apparatus and information processing apparatus operating method
CN103186536A (en) Method and system for scheduling data shearing devices
CN102082816B (en) File transmission method and transmission engines and network elements
CN113296795A (en) Application deployment method, device, equipment, storage medium and program product
JP5809743B2 (en) Method for providing heterogeneous system data in a distributed system
CN114697334B (en) Method and device for executing scheduling task
CN113824801B (en) Intelligent integration terminal unified access management component system
CN103914339A (en) Server management system and server management method
CN114090050A (en) Robot software remote automatic updating method, system and related products
US9860112B2 (en) Techniques for synchronizing operations between regions when a network connection fails
KR102302302B1 (en) Ultra-Small Disposable IoT Service Infrastructure
CN108650320B (en) Method for synchronizing configuration files of isomorphic cascading equipment in cluster environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140115

RJ01 Rejection of invention patent application after publication