CN101710288A - Upgrade processing method and system, upgrade server and upgrade device - Google Patents

Upgrade processing method and system, upgrade server and upgrade device Download PDF

Info

Publication number
CN101710288A
CN101710288A CN200910225679A CN200910225679A CN101710288A CN 101710288 A CN101710288 A CN 101710288A CN 200910225679 A CN200910225679 A CN 200910225679A CN 200910225679 A CN200910225679 A CN 200910225679A CN 101710288 A CN101710288 A CN 101710288A
Authority
CN
China
Prior art keywords
upgrade
upgrading
node
server
control
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
CN200910225679A
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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Symantec Technologies Co Ltd
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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN200910225679A priority Critical patent/CN101710288A/en
Publication of CN101710288A publication Critical patent/CN101710288A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention relates to an upgrade processing method and a system thereof, an upgrade server and an upgrade device. The upgrade processing method comprises: receiving a version downloading command carrying a version identifier issued by the upgrade device; controlling an upgrade node to obtain the upgrade data corresponding to the version identifier from the upgrade device; receiving the upgrade starting command transmitted by the upgrade device, and controlling the upgrade node to apply the upgrade data to upgrade. The embodiment of the invention can ensure the upgrade device not to control the upgrade operation on the upgrade node, the upgrade device and the upgrade node are loosely coupled, the change of one of the upgrade device and the upgrade node can not influence the other, thus improving expandability of the upgrade operation.

Description

Upgrade processing method and system, upgrade server and updating apparatus
Technical field
The embodiment of the invention relates to computing machine and communication technical field, relates in particular to a kind of upgrade processing method and system, upgrade server and updating apparatus.
Background technology
Along with improving constantly of software development and version updating speed, various upgrading processing are also frequent gradually.Fig. 1 is the signaling process figure of prior art upgrading processing process, as shown in Figure 1, updating apparatus has different upgrade interface at different upgrade node, and updating apparatus adopts different steering logics that the escalation process of upgrade node is controlled respectively by each upgrade interface.With to two upgrade node, be that upgrade node 1 and upgrade node 2 are example, the detailed process of upgrading processing is: for upgrade node 1, updating apparatus at first is the required software package of upgrade node 1 download and upgrade, and this software package is sent to upgrade node 1; Updating apparatus sends the upgrading order to upgrade node 1 then, and control upgrade node 1 by the upgrading order and realize upgrading, and should the N bar can be arranged upgrading order, also be like this for the upgrading processing of upgrade node 2.
In realizing process of the present invention, the inventor finds prior art, and there are the following problems at least: in the upgrading processing process, because updating apparatus is corresponding with different upgrade node respectively and control the upgrading processing process of upgrade node, therefore, tight coupling between updating apparatus and the upgrade node, thus cause the extendability of upgrading processing process relatively poor.
Summary of the invention
The embodiment of the invention provides a kind of upgrade processing method and system, upgrade server and updating apparatus, to realize loose coupling between updating apparatus and the upgrade node, improves the extendability of upgrading processing process.
The embodiment of the invention provides a kind of upgrade processing method, comprising:
Receive the version download command that updating apparatus sends, carry version identifier in the described version download command;
The control upgrade node is obtained the upgrade data corresponding with described version identifier from described updating apparatus;
Receive the startup upgrading order that described updating apparatus sends, and control described upgrade node and use described upgrade data and carry out upgrading processing.
The embodiment of the invention provides another kind of upgrade processing method, comprising:
Send the version download command to upgrade server, carry version identifier in the described version download command;
After the described upgrade server control of reception upgrade node is obtained the indication information of the upgrade data corresponding with described version identifier, send to described upgrade server and to start the upgrading order, use described upgrade data and carry out upgrading processing so that described upgrade server is controlled described upgrade node.
The embodiment of the invention provides a kind of upgrade server, comprising: receiver module and control module,
Described receiver module is used to receive the version download command that updating apparatus sends, and carries version identifier in the described version download command;
In described control module, be used to control upgrade node and obtain the upgrade data corresponding with described version identifier from described updating apparatus, and after described receiver module receives the startup upgrading order that described updating apparatus sends, control described upgrade node and use described upgrade data and carry out upgrading processing.
The embodiment of the invention provides a kind of updating apparatus, comprising:
First sending module is used for sending the version download command to upgrade server, carries version identifier in the described version download command;
Second sending module, be used for after described upgrade server control upgrade node is obtained the upgrade data corresponding with described version identifier, send to described upgrade server and to start the upgrading order, use described upgrade data and carry out upgrading processing so that described upgrade server is controlled described upgrade node.
The embodiment of the invention also provides a kind of upgrading processing system, comprising:
Upgrade server and upgrade node,
Described upgrade server is used to receive the version download command that updating apparatus sends, and carries version identifier in the described version download command; Control described upgrade node and obtain the upgrade data corresponding with described version identifier from described updating apparatus; And receive the startup upgrading order that described updating apparatus sends, control described upgrade node and use described upgrade data and carry out upgrading processing;
Described upgrade node is used under the control of described upgrade server, obtains the upgrade data corresponding with described version identifier from described updating apparatus, and uses described upgrade data and carry out upgrading processing.
The embodiment of the invention, can make updating apparatus itself the process that upgrade node is carried out updating operation not carried out any control, be loose coupling between updating apparatus and the upgrade node, any one changes in updating apparatus and the upgrade node, all can not influence the other side, thereby improve the extensibility of updating operation.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the signaling process figure of prior art upgrading processing process;
Fig. 2 is the process flow diagram of an embodiment of upgrade processing method of the present invention;
Fig. 3 is the structural representation of the system of another embodiment application of upgrade processing method of the present invention;
Fig. 4 is the signaling process figure of another embodiment of upgrade processing method of the present invention;
Fig. 5 is the process flow diagram of another embodiment of upgrade processing method of the present invention;
Fig. 6 is the structural representation of an embodiment of upgrade server of the present invention;
Fig. 7 is the structural representation of another embodiment of upgrade server of the present invention;
Fig. 8 is the structural representation of an embodiment of updating apparatus of the present invention;
Fig. 9 is the structural representation of another embodiment of updating apparatus of the present invention;
Figure 10 is the structural representation of a upgrading processing embodiment of system of the present invention;
Figure 11 is the structural representation of upgrading processing another embodiment of system of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 2 is the process flow diagram of an embodiment of upgrade processing method of the present invention, and as shown in Figure 2, the method for present embodiment can comprise:
The version download command that step 201, reception updating apparatus send carries version identifier in the described version download command;
For instance, upgrade server can receive the version download command that updating apparatus sends, and carries version identifier in this version download command.Specifically, when the user need carry out the edition upgrading operation, can send this version download command to upgrade server, thereby trigger the upgrading processing of the corresponding upgrade node of upgrade server control by this version download command by updating apparatus.This version identifier is used for making upgrade server to know this updating operation, and upgrade node need be from the upgrade data of updating apparatus download.
Step 202, control upgrade node are obtained the upgrade data corresponding with described version identifier from described updating apparatus;
In the present embodiment, updating apparatus also can be used as the version server of depositing the needed upgrade data of upgrading processing, therefore, after upgrade server was subjected to the triggering of updating apparatus, promptly the may command upgrade node was obtained the upgrade data corresponding with version identifier from updating apparatus.
Step 203, receive the startup upgrading order that described updating apparatus sends, and control described upgrade node and use described upgrade data and carry out upgrading processing.
After upgrade node was obtained the upgrade data corresponding with version identifier from updating apparatus, updating apparatus can send to upgrade server and start the upgrading order.Upgrade server is after receiving this startup upgrading order, and promptly may command upgrade node application of aforementioned is carried out upgrading processing from the upgrade data that updating apparatus obtains.
Fig. 3 is the structural representation of the system of another embodiment application of upgrade processing method of the present invention, as shown in Figure 3, the thought that present embodiment application upgrade Data-carrying separates with upgrading order control, updating apparatus can carry upgrade data, and the operation that the concrete escalation process of upgrade node is controlled is mainly finished by upgrade server.In Fig. 3, the dotted line that is connected between upgrade server and updating apparatus and the upgrade node represents to transmit between upgrade server and updating apparatus and the upgrade node upgrading control command, between updating apparatus and the upgrade node 1 (as the Operation and Maintenance node) and the solid line that is connected between upgrade node 1 and other upgrade node represent the required upgrade data of transmission updating operation between updating apparatus and the upgrade node.Need to prove, be not limited to annexation shown in Figure 3 between the above-mentioned upgrade node.Updating apparatus receives user's upgrade, trigger upgrade server then and start escalation process, and updating apparatus can also receive upgrading progress, state and report indication and be shown to the user.Upgrade server master control whole upgrade process triggers corresponding upgrade node according to service logic and carries out edition upgrading.Upgrade node from the direct download and upgrade data of updating apparatus, is carried out the concrete upgrading order of this upgrade node under the control of upgrade server, carry out version specific instructions such as switching and version rollback fast.
Therefore, updating apparatus only needs to carry out shirtsleeve operation, for example receive the upgrade that the user sends, send the version download command and start the upgrading order to upgrade server, and the control upgrade node is obtained operation that upgrade data and subsequent control upgrade node carry out upgrading processing according to upgrade data and all transferred to upgrade server and handle.Therefore, the basic function that updating apparatus in the present embodiment only need have common updating apparatus gets final product, make this updating apparatus can be applied to different upgrading environment, and, this updating apparatus both can be used as standalone upgrade equipment and had been disposed independently, also can be deployed in Element management system (Element Management System, hereinafter to be referred as: EMS).And, this updating apparatus only need and upgrade server between carry out the mutual of coarseness signaling, as version download command, startup upgrading order etc., can trigger upgrade server controls the updating operation of upgrade node, thereby make updating apparatus itself directly not control to the process that upgrade node is carried out updating operation, therefore in the present embodiment, be loose coupling between updating apparatus and the upgrade node, any one changes in updating apparatus and the upgrade node, all can not influence the other side, thereby improve the extensibility of updating operation.
The step of another embodiment of upgrade processing method of the present invention and method embodiment shown in Figure 2 is similar, its difference is, the upgrading if upgrade node need link, the described upgrade node of control described in the step 203 is used described upgrade data and is carried out upgrading processing, can comprise: start the distributed upgrading affairs, control described upgrade node and use described upgrade data and carry out upgrading processing, and all upgrade when successful, receive the upgrading that described upgrade transaction submits to and successfully order in described upgrade node.
When needing the interlock upgrading between the upgrade node, upgrade server can start distributed transaction, at this moment, has constituted distributed system between upgrade node and the upgrade server, starts distributed transaction and be equivalent to log-on data storehouse affairs on upgrade server.So-called interlock upgrading is upgrade server as affairs effector and coordinator, has only the success of all upgrading of corresponding upgrade node, the upgrade transaction submission of just upgrading; As long as a upgrade node upgrading failure is arranged, then all upgrade node all need to carry out rollback.If upgrade node does not need the upgrading that links, then upgrade server can be controlled each upgrade node and carries out standalone upgrade.
The step of another embodiment of upgrade processing method of the present invention and method embodiment shown in Figure 2 is similar, its difference is, the described upgrade node of control described in the step 203 is used described upgrade data and is carried out upgrading processing, can comprise: according to the general purpose processor of storage, control that described upgrade node upgrades that preceding inspection, upgrading are carried out, the checking of upgrading back and upgrading rollback; According to special handling procedure, explain the upgrading flow process of carrying out escalation process necessary operations step, and be used to describe each upgrading primitive of updating operation independently in the described upgrading flow process of scheduled for executing, control described upgrade node and use described upgrade data and carry out upgrading processing.
Though the type of upgrade node varies, but flow process from upgrading, difference is little, main upgrading flow process is generally: earlier at some nodes, such as preparing program and the data that upgrading needs on the Operation and Maintenance Unit, then these programs and data load are arrived each upgrade node, such as each veneer of equipment.Difference real in the escalation process is: the step that preparation routine and data need, the operation of execution; The order that program and data load need be followed to each upgrade node, the operation of execution; And the upgrade treatment step after failing, the operation of execution.Therefore, present embodiment can be decomposed into general purpose processor and special handling procedure with the upgrading flow process, wherein, general purpose processor can comprise: control that described upgrade node upgrades that preceding inspection, upgrading are carried out, the universal program of the checking of upgrading back and upgrading rollback, this general purpose processor can be by abstract being cured in the upgrade server highly, thereby form unified upgrading framework; And, can dispose different specific programs at the type of upgrade node for special handling procedure.In the present embodiment, this specific program can be divided into the upgrading flow process and the described upgrading flow process that are used for describing escalation process necessary operations step and be used to describe each independently upgrading primitive of updating operation.Present embodiment can be based on different upgrade node own characteristics, write different upgrading flow processs and upgrading primitive, these upgrading flow processs and upgrading primitive can adopt script to be described, and then these upgrading flow process scripts and upgrading primitive are integrated in the upgrade server.In concrete escalation process, this upgrade server can be under the control of general purpose processor, and the control upgrade node is finished general operation, and for example inspection before the upgrading, upgrading are carried out, the upgrading back is verified and the upgrading rollback; And under the control of special handling procedure, the control upgrade node is finished these upgrade node peculiar updating operation in the upgrading processing process, in finishing these distinctive updating operation processes, upgrade server can explain and carry out the upgrading flow process that upgrading finished in the upgrading primitive of describing in the scheduled for executing flow process.Therefore, the upgrade server of present embodiment can provide unified upgrading the integration environment for the upgrade node under the different frameworks of different platform, can support WINDOWS, UNIX and LINUX environment.
The upgrade processing method of present embodiment, by unified updating apparatus is provided, reduced the training time that the user uses the user of updating apparatus, reduced user's technical ability requirement, and reduced degree of coupling between updating apparatus and the upgrade node, improved the extensibility of upgrading; By unified cross-platform upgrade server, unified secondary development the integration environment is provided for the upgrade node of different platform and different frameworks, shield the upgrading flow process difference and the external interface difference of upgrade node of different nodes, improved the reusing degree of upgrade server.Updating apparatus can be deployed on the EMS flexibly, and the instrument that also can be used as is independently disposed, and upgrade server may operate on UNIX, WINDOWS and the LINUX, disposes the dirigibility of implementing thereby improved upgrading, has reduced the difficulty and the cost of field conduct; Provide distributed transaction mechanism by upgrade server, guarantee the integrality and the consistance of upgrading automatically, improved upgrading reliability and upgrading efficient.
Fig. 4 is the signaling process figure of another embodiment of upgrade processing method of the present invention, and as shown in Figure 4, present embodiment is dual controller with the upgrade node, and promptly master controller and preparation controller are that example describes.The method of present embodiment can comprise:
Step 401, updating apparatus send the version download command to upgrade server;
Carry version identifier in this version download command, this version identifier is used for making upgrade server to know this updating operation, and upgrade node need be from the upgrade data of updating apparatus download.
Step 402, upgrade server send the version download command to master controller;
Step 403, upgrade server send the version download command to preparation controller;
All can carry version identifier in the version download command in the step 402 and 403, thereby make upgrade server control master controller and preparation controller obtain the upgrade data corresponding with this version identifier from updating apparatus.
Step 402 and 403 can not have sequencing.
Step 404, master controller obtain AKU from updating apparatus;
Step 405, preparation controller obtain AKU from updating apparatus;
AKU in the step 404 and 405 is the upgrade data corresponding with version identifier.In obtaining the process of AKU, master controller and preparation controller are as file transfer protocol (FTP) (File TransferProtocol, hereinafter to be referred as: FTP)/Secure File Transfer Protocol (Secure File Transfer Protocol, hereinafter to be referred as: SFTP) client, updating apparatus promptly can be as ftp server, master controller and preparation controller based on FTP/SFTP from updating apparatus download and upgrade data under local assigned catalogue.
Step 404 and 405 can not have sequencing.
Step 406, updating apparatus send to upgrade server and start the upgrading order;
This startup upgrading order can trigger upgrade server control master controller and preparation controller carries out the operation of upgrading processing.
Step 407, upgrade server start upgrade transaction.
Need to prove that present embodiment is if need link upgrading, then step 407 also can start the interlock upgrade transaction for upgrade server.
In order to make the upgrading that can link of master controller and preparation controller, upgrade server can start the interlock upgrade transaction, to the upgrading control that links of master controller and preparation controller, i.e. master controller and the preparation controller success of all upgrading, the upgrade transaction submission of just upgrading; As long as a upgrading failure is arranged in master controller and the preparation controller, then master controller and preparation controller all need to carry out rollback.If master controller and preparation controller do not need the upgrading that links, then upgrade server can be controlled master controller and preparation controller carries out standalone upgrade.
Step 408, upgrade server send the upgrading order to master controller;
Step 409, master controller send the successful feedback information of upgrading to upgrade server after upgrading successfully;
In step 409, if master controller upgrading failure, then upgrade server also needs to control master controller and carries out transaction rollback, the operation of upgrading rollback.
Step 410, upgrade server send the upgrading order to preparation controller;
Step 411, preparation controller send the successful feedback information of upgrading to upgrade server after upgrading successfully;
In step 411, if preparation controller upgrading failure, then upgrade server also needs to control preparation controller and carries out transaction rollback, the operation of upgrading rollback.
Step 412, upgrade server send upgrading to master controller and submit to;
Step 413, upgrade server send upgrading to preparation controller and submit to;
Can there be sequencing between the step 412 and 413;
Step 414, upgrade server end transaction;
Step 415, upgrade server send the successful feedback information of upgrading to updating apparatus.
The upgrade processing method of present embodiment has reduced the degree of coupling between updating apparatus and the upgrade node, has improved the extensibility of upgrading; Upgrade server may operate on UNIX, WINDOWS and the LINUX, by unified cross-platform upgrade server, unified secondary development the integration environment is provided for the upgrade node of different platform and different frameworks; Provide distributed transaction mechanism by upgrade server, guarantee the integrality and the consistance of upgrading automatically, improved upgrading reliability and upgrading efficient.
Fig. 5 is the process flow diagram of another embodiment of upgrade processing method of the present invention, and as shown in Figure 5, the method for present embodiment can comprise:
Step 501, send the version download command, carry version identifier in the described version download command to upgrade server;
For instance, updating apparatus can send the version download command to upgrade server, carries version identifier in this version download command.Specifically, when the user need carry out the edition upgrading operation, can send this version download command to upgrade server, thereby trigger the upgrading processing of the corresponding upgrade node of upgrade server control by this version download command by updating apparatus.This version identifier is used for making upgrade server to know this updating operation, and upgrade node need be from the upgrade data of updating apparatus download.
Step 502, after receiving described upgrade server control upgrade node and obtaining the indication information of the upgrade data corresponding with described version identifier, send to described upgrade server and to start the upgrading order, use described upgrade data and carry out upgrading processing so that described upgrade server is controlled described upgrade node.
In the present embodiment, updating apparatus also can be used as the version server of depositing the needed upgrade data of upgrading processing, therefore, after upgrade server was subjected to the triggering of updating apparatus, promptly the may command upgrade node was obtained the upgrade data corresponding with version identifier from updating apparatus.
After upgrade node was obtained the upgrade data corresponding with version identifier from updating apparatus, updating apparatus can send to upgrade server and start the upgrading order.Upgrade server is after receiving this startup upgrading order, and promptly may command upgrade node application of aforementioned is carried out upgrading processing from the upgrade data that updating apparatus obtains.
In another embodiment of upgrade processing method of the present invention, also comprise: receive and show that described upgrade server uses described upgrade data in the described upgrade node of control and carry out the upgrade status information that sends in the upgrading processing process.
Carry out in the process of upgrading processing in upgrade server control upgrade node, updating apparatus can also receive the upgrade status information that upgrade server sends, the progress of for example upgrading, upgrade status and report indication etc., thus make the user know correlation behavior information in the upgrading processing process by updating apparatus.
In the upgrade processing method of present embodiment, updating apparatus only needs to carry out shirtsleeve operation, for example receive the upgrade that the user sends, send the version download command and start the upgrading order to upgrade server, and the control upgrade node is obtained operation that upgrade data and subsequent control upgrade node carry out upgrading processing according to upgrade data and all transferred to upgrade server and handle.Therefore, the basic function that updating apparatus in the present embodiment only need have common updating apparatus gets final product, and makes this updating apparatus can be applied to different upgrading environment, and, this updating apparatus both can be used as standalone upgrade equipment and had been disposed independently, also can be deployed in EMS.And, this updating apparatus only need and upgrade server between carry out the mutual of coarseness signaling, as version download command, startup upgrading order etc., can trigger upgrade server controls the updating operation of upgrade node, thereby make updating apparatus itself not carry out any control to the process that upgrade node is carried out updating operation, therefore in the present embodiment, be loose coupling between updating apparatus and the upgrade node, any one changes in updating apparatus and the upgrade node, all can not influence the other side, thereby improve the extensibility of updating operation.
Fig. 6 is the structural representation of an embodiment of upgrade server of the present invention, as shown in Figure 6, the upgrade server of present embodiment can comprise: receiver module 11 and control module 12, wherein receiver module 11 is used to receive the version download command that updating apparatus sends, and carries version identifier in the version download command; Control module 12 is used to control upgrade node and obtains the upgrade data corresponding with version identifier from updating apparatus, and receive the startup upgrading order of updating apparatus transmission at receiver module 11 after, control upgrade node application upgrade data are carried out upgrading processing.
In another embodiment of upgrade server of the present invention, the upgrading if upgrade node need link, control module 12 specifically is used to start the distributed upgrading affairs, control upgrade node application upgrade data are carried out upgrading processing, and all upgrade when successful in described upgrade node, send upgrade to described receiver module 11 and successfully order.
Fig. 7 is the structural representation of another embodiment of upgrade server of the present invention, as shown in Figure 7, present embodiment is on the basis of upgrade server shown in Figure 6, also comprise: memory module 13, this memory module 13 is used to store general purpose processor and special handling procedure, controls described upgrade node for described control module according to the general purpose processor of storage and special handling procedure and uses described upgrade data and carry out upgrading processing.Wherein, described general purpose processor can comprise: control that described upgrade node upgrades that preceding inspection, upgrading are carried out, the universal program of the checking of upgrading back and upgrading rollback; Described special handling procedure can comprise corresponding with described upgrade node, the distinctive specific program of described upgrade node.Control module 12 may further include: Interpretation unit 121 and scheduling execution units 122, and wherein Interpretation unit 121 is used for explaining the described upgrading flow process of execution; Scheduling execution units 122 is used for the upgrading primitive of the described upgrading flow process of scheduled for executing, controls described upgrade node and uses described upgrade data and carry out upgrading processing.
Upgrade server in the foregoing description, its realization principle that realizes principle and Fig. 2 and upgrade processing method embodiment shown in Figure 4 is identical, repeats no more.
The upgrade server of present embodiment can make updating apparatus itself the process that upgrade node is carried out updating operation directly not controlled, be loose coupling between updating apparatus and the upgrade node, any one changes in updating apparatus and the upgrade node, all can not influence the other side, thereby improve the extensibility of updating operation.And the upgrade server of present embodiment can provide unified upgrading the integration environment for the upgrade node under the different frameworks of different platform, can support WINDOWS, UNIX and LINUX environment.
Fig. 8 is the structural representation of an embodiment of updating apparatus of the present invention, as shown in Figure 8, the updating apparatus of present embodiment can comprise: first sending module 14 and second sending module 15, wherein, first sending module 14 is used for sending the version download command to upgrade server, carries version identifier in the described version download command; Second sending module 15 is used for after described upgrade server control upgrade node is obtained the upgrade data corresponding with described version identifier, send to described upgrade server and to start the upgrading order, use described upgrade data and carry out upgrading processing so that described upgrade server is controlled described upgrade node.
Fig. 9 is the structural representation of another embodiment of updating apparatus of the present invention, as shown in Figure 9, the updating apparatus of present embodiment is on the basis of updating apparatus shown in Figure 8, also comprise: receive display module 16, this receptions display module 16 is used for receiving and shows that described upgrade server uses described upgrade data and carry out the upgrade status information that the upgrading processing process sends controlling described upgrade node.This upgrade status information can comprise the upgrading progress, upgrade status and report indication etc., thus make the user know correlation behavior information in the upgrading processing process by updating apparatus.
Updating apparatus in the foregoing description only needs to carry out shirtsleeve operation, for example receive the upgrade that the user sends, send the version download command and start the upgrading order to upgrade server, and the control upgrade node is obtained operation that upgrade data and subsequent control upgrade node carry out upgrading processing according to upgrade data and all transferred to upgrade server and handle.Therefore, the basic function that updating apparatus in the present embodiment only need have common updating apparatus gets final product, and makes this updating apparatus can be applied to different upgrading environment, and, this updating apparatus both can be used as standalone upgrade equipment and had been disposed independently, also can be deployed in EMS.And, this updating apparatus only need and upgrade server between carry out the mutual of coarseness signaling, as version download command, startup upgrading order etc., can trigger upgrade server controls the updating operation of upgrade node, thereby make updating apparatus itself not carry out any control to the process that upgrade node is carried out updating operation, therefore in the present embodiment, be loose coupling between updating apparatus and the upgrade node, any one changes in updating apparatus and the upgrade node, all can not influence the other side, thereby improve the extensibility of updating operation.
Figure 10 is the structural representation of a upgrading processing embodiment of system of the present invention, as shown in figure 10, the system of present embodiment can comprise: upgrade server 1 and upgrade node 2, wherein, upgrade server 1 can be used to receive the version download command that updating apparatus sends, and carries version identifier in the version download command; Control described upgrade node 2 and obtain the upgrade data corresponding with described version identifier from described updating apparatus; And receiving the startup upgrading order that updating apparatus sends, control upgrade node 2 application upgrade data are carried out upgrading processing; Upgrade node 2 is used under the control of upgrade server 1, obtains the upgrade data corresponding with described version identifier from updating apparatus, and uses described upgrade data and carry out upgrading processing.
The upgrade node 2 of present embodiment can comprise a plurality of upgrade node, and can link together as required between these upgrade node, so that upgrade server 1 is controlled the upgrading processing of these upgrade node.
Figure 11 is the structural representation of upgrading processing another embodiment of system of the present invention, as shown in figure 11, present embodiment further comprises updating apparatus 3 on the basis of system shown in Figure 10, this updating apparatus 3 is used for sending the version download command and starting the upgrading order to described upgrade server 1.
The system of the foregoing description is identical with the principle of the embodiment of the method and apparatus shown in above-mentioned Fig. 2~9, repeats no more.
The foregoing description has reduced the training time that the user uses updating apparatus by unified updating apparatus is provided, and has reduced user's technical ability requirement, and has reduced the degree of coupling between updating apparatus and the upgrade node, has improved the extensibility of upgrading; By unified cross-platform upgrade server, unified secondary development the integration environment is provided for the upgrade node of different platform and different frameworks, shield the upgrading flow process difference and the external interface difference of upgrade node of different nodes, improved the reusing degree of upgrade server.Updating apparatus can be deployed on the EMS flexibly, and the instrument that also can be used as is independently disposed, and upgrade server may operate on UNIX, WINDOWS and the LINUX, disposes the dirigibility of implementing thereby improved upgrading, has reduced the difficulty and the cost of field conduct; Provide distributed transaction mechanism by upgrade server, guarantee the integrality and the consistance of upgrading automatically, improved upgrading reliability and upgrading efficient.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (12)

1. a upgrade processing method is characterized in that, comprising:
Receive the version download command that updating apparatus sends, carry version identifier in the described version download command;
The control upgrade node is obtained the upgrade data corresponding with described version identifier from described updating apparatus;
Receive the startup upgrading order that described updating apparatus sends, and control described upgrade node and use described upgrade data and carry out upgrading processing.
2. upgrade processing method according to claim 1 is characterized in that, the upgrading if described upgrade node need link, and the described upgrade node of described control is used described upgrade data and is carried out upgrading processing, comprising:
Start the distributed upgrading affairs, control described upgrade node and use described upgrade data and carry out upgrading processing, and all upgrade when successful, receive the upgrading that described upgrade transaction submits to and successfully order in described upgrade node.
3. upgrade processing method according to claim 1 is characterized in that, the described upgrade node of described control is used described upgrade data and carried out upgrading processing, comprising:
According to the general purpose processor of storage, control that described upgrade node upgrades that preceding inspection, upgrading are carried out, the checking of upgrading back and upgrading rollback;
According to special handling procedure, explain to carry out the upgrading flow process, and be used to describe each independently upgrading primitive of updating operation in the described upgrading flow process of scheduled for executing, control described upgrade node and use described upgrade data and carry out upgrading processing.
4. a upgrade processing method is characterized in that, comprising:
Send the version download command to upgrade server, carry version identifier in the described version download command;
After the described upgrade server control of reception upgrade node is obtained the indication information of the upgrade data corresponding with described version identifier, send to described upgrade server and to start the upgrading order, use described upgrade data and carry out upgrading processing so that described upgrade server is controlled described upgrade node.
5. upgrade processing method according to claim 4 is characterized in that, also comprises:
Receive and show that described upgrade server uses described upgrade data in the described upgrade node of control and carry out the upgrade status information that sends in the upgrading processing process.
6. a upgrade server is characterized in that, comprising: receiver module and control module,
Described receiver module is used to receive the version download command that updating apparatus sends, and carries version identifier in the described version download command;
Described control module, be used to control upgrade node and obtain the upgrade data corresponding with described version identifier from described updating apparatus, after described receiver module receives the startup upgrading order that described updating apparatus sends, control described upgrade node and use described upgrade data and carry out upgrading processing.
7. upgrade server according to claim 6, it is characterized in that, the upgrading if described upgrade node need link, described control module specifically is used to start the distributed upgrading affairs, controlling described upgrade node uses described upgrade data and carries out upgrading processing, and all upgrade when successful in described upgrade node, send upgrade to described receiver module and successfully order.
8. according to claim 6 or 7 described upgrade servers, it is characterized in that, also comprise:
Memory module, be used to store general purpose processor and special handling procedure, control described upgrade node for described control module according to the general purpose processor of storage and special handling procedure and use described upgrade data and carry out upgrading processing, described general purpose processor comprises: control that described upgrade node upgrades that preceding inspection, upgrading are carried out, the universal program of the checking of upgrading back and upgrading rollback; Described special handling procedure comprises corresponding with described upgrade node, the distinctive specific program of described upgrade node;
Described control module comprises:
Interpretation unit is used for explaining execution upgrading flow process;
Scheduling execution units is used for the upgrading primitive of the described upgrading flow process of scheduled for executing, controls described upgrade node and uses described upgrade data and carry out upgrading processing.
9. a updating apparatus is characterized in that, comprising:
First sending module is used for sending the version download command to upgrade server, carries version identifier in the described version download command;
Second sending module, be used for after described upgrade server control upgrade node is obtained the upgrade data corresponding with described version identifier, send to described upgrade server and to start the upgrading order, use described upgrade data and carry out upgrading processing so that described upgrade server is controlled described upgrade node.
10. updating apparatus according to claim 9 is characterized in that, also comprises:
Receive display module, be used for receiving and show that described upgrade server uses described upgrade data in the described upgrade node of control and carry out the upgrade status information that the upgrading processing process sends.
11. a upgrading processing system is characterized in that, comprising: upgrade server and upgrade node,
Described upgrade server is used to receive the version download command that updating apparatus sends, and carries version identifier in the described version download command; Control described upgrade node and obtain the upgrade data corresponding with described version identifier from described updating apparatus; And receive the startup upgrading order that described updating apparatus sends, control described upgrade node and use described upgrade data and carry out upgrading processing;
Described upgrade node is used under the control of described upgrade server, obtains the upgrade data corresponding with described version identifier from described updating apparatus, and uses described upgrade data and carry out upgrading processing.
12. upgrading processing according to claim 11 system is characterized in that, also comprises:
Updating apparatus is used for sending described version download command and described startup upgrading order to described upgrade server.
CN200910225679A 2009-11-27 2009-11-27 Upgrade processing method and system, upgrade server and upgrade device Pending CN101710288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910225679A CN101710288A (en) 2009-11-27 2009-11-27 Upgrade processing method and system, upgrade server and upgrade device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910225679A CN101710288A (en) 2009-11-27 2009-11-27 Upgrade processing method and system, upgrade server and upgrade device

Publications (1)

Publication Number Publication Date
CN101710288A true CN101710288A (en) 2010-05-19

Family

ID=42403080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910225679A Pending CN101710288A (en) 2009-11-27 2009-11-27 Upgrade processing method and system, upgrade server and upgrade device

Country Status (1)

Country Link
CN (1) CN101710288A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
CN102609328A (en) * 2012-01-29 2012-07-25 华为终端有限公司 System difference upgrade method and device and mobile terminal
CN102959508A (en) * 2010-06-25 2013-03-06 微软公司 Updating nodes considering service model constraints
CN103294479A (en) * 2013-06-19 2013-09-11 成都市欧冠信息技术有限责任公司 Distribution type transaction processing method and system
CN103516735A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Method and apparatus for upgrading network node
CN103546309A (en) * 2012-09-20 2014-01-29 深圳市友讯达科技发展有限公司 Method, device and system for network node upgrading
CN103970567A (en) * 2014-04-28 2014-08-06 浪潮电子信息产业股份有限公司 Method for online upgrading of cloud storage system firmware
CN104572179A (en) * 2014-12-19 2015-04-29 华为技术有限公司 IAAS (infrastructure as a service) software upgrading method and device
CN104850416A (en) * 2014-02-18 2015-08-19 中国移动通信集团公司 Upgrading system, method and device and cloud computing node
CN106301959A (en) * 2016-10-10 2017-01-04 烽火通信科技股份有限公司 Gateway batch upgrading method based on WINDOWS and LINUX platform and system
US10175969B2 (en) 2014-12-30 2019-01-08 Shenyang Neusoft Medical Systems Co., Ltd. Data processing for upgrading medical equipment
CN111158721A (en) * 2019-12-27 2020-05-15 中国建设银行股份有限公司 Method and device for controlling host computer to upgrade software and data center

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316189A (en) * 2008-05-27 2008-12-03 华为技术有限公司 Method, system and device for upgrading network appliance

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316189A (en) * 2008-05-27 2008-12-03 华为技术有限公司 Method, system and device for upgrading network appliance

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102959508A (en) * 2010-06-25 2013-03-06 微软公司 Updating nodes considering service model constraints
CN102959508B (en) * 2010-06-25 2015-12-16 微软技术许可有限责任公司 Upgrade the node considering service model constraint
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
CN102609328B (en) * 2012-01-29 2015-04-15 华为终端有限公司 System difference upgrade method and device and mobile terminal
CN102609328A (en) * 2012-01-29 2012-07-25 华为终端有限公司 System difference upgrade method and device and mobile terminal
US9804933B2 (en) 2012-01-29 2017-10-31 Huawei Device Co., Ltd. System differential upgrade method, apparatus, and mobile terminal
CN103516735A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Method and apparatus for upgrading network node
CN103546309A (en) * 2012-09-20 2014-01-29 深圳市友讯达科技发展有限公司 Method, device and system for network node upgrading
CN103294479A (en) * 2013-06-19 2013-09-11 成都市欧冠信息技术有限责任公司 Distribution type transaction processing method and system
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
CN103970567A (en) * 2014-04-28 2014-08-06 浪潮电子信息产业股份有限公司 Method for online upgrading of cloud storage system firmware
CN104572179A (en) * 2014-12-19 2015-04-29 华为技术有限公司 IAAS (infrastructure as a service) software upgrading method and device
CN104572179B (en) * 2014-12-19 2018-02-23 华为技术有限公司 A kind of infrastructure is service software upgrade method and apparatus
US10175969B2 (en) 2014-12-30 2019-01-08 Shenyang Neusoft Medical Systems Co., Ltd. Data processing for upgrading medical equipment
CN106301959A (en) * 2016-10-10 2017-01-04 烽火通信科技股份有限公司 Gateway batch upgrading method based on WINDOWS and LINUX platform and system
CN111158721A (en) * 2019-12-27 2020-05-15 中国建设银行股份有限公司 Method and device for controlling host computer to upgrade software and data center

Similar Documents

Publication Publication Date Title
CN101710288A (en) Upgrade processing method and system, upgrade server and upgrade device
CN102065139B (en) Software upgrading method and device and multimedia terminal
US10824416B2 (en) Method and system for a client to server deployment via an online distribution platform
CN110032507B (en) Application program testing method, device and system, electronic equipment and storage medium
US20070266120A1 (en) System and method for handling instructions in a pre-boot execution environment
CN105204880B (en) computer system and setting method of basic input and output system
CN105808278A (en) Client version upgrading method and device
CN106155745A (en) The upgrade method of basic input output system, device and system
CN110532077A (en) Task processing method, device and storage medium
US20030226139A1 (en) System update protocol
CN101316189A (en) Method, system and device for upgrading network appliance
US20220394085A1 (en) Network connection method and device for training participant end of common training model
CN111736866A (en) One-to-one and one-to-many compatible online upgrading method and terminal equipment
CN104158906B (en) A kind of server agent control system and control method
CN110377358A (en) Coprocessor firmware dynamic loading method, system, equipment and storage medium
CN109710291A (en) A kind of aviation O-E Payload software configuration item remote upgrade method
US7051093B1 (en) QNX operation system network auto configuration
CN114095343A (en) Disaster recovery method, device, equipment and storage medium based on double-active system
CN103914339A (en) Server management system and server management method
CN113424153A (en) Automatic operation and maintenance method and device
CN107402896B (en) Method, device and system for bridging between computing devices
CN111124451A (en) Distributed backup upgrading method
KR102333448B1 (en) Apparatus and method for updating software of guided weapon embedded devices
CN116431190B (en) Firmware upgrading method and device, BMC chip, server and medium
WO2016078222A1 (en) Bootstrap transmission method, embedded system and bootstrap transmission system

Legal Events

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

Application publication date: 20100519