CN101645801A - Software version upgrading method based on cluster management and order exchange board - Google Patents

Software version upgrading method based on cluster management and order exchange board Download PDF

Info

Publication number
CN101645801A
CN101645801A CN200910167582A CN200910167582A CN101645801A CN 101645801 A CN101645801 A CN 101645801A CN 200910167582 A CN200910167582 A CN 200910167582A CN 200910167582 A CN200910167582 A CN 200910167582A CN 101645801 A CN101645801 A CN 101645801A
Authority
CN
China
Prior art keywords
version
upgrading
type
command switch
machine
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.)
Granted
Application number
CN200910167582A
Other languages
Chinese (zh)
Other versions
CN101645801B (en
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 CN2009101675821A priority Critical patent/CN101645801B/en
Publication of CN101645801A publication Critical patent/CN101645801A/en
Application granted granted Critical
Publication of CN101645801B publication Critical patent/CN101645801B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a software version upgrading method based on cluster management and an order exchange board. In the method, the order exchange board receives the corresponding relationship ofan upgrading device type and software version information from a version server; according to an identification, the order exchange board obtains the information of one or a plurality of non-upgradedmember machines and sends a version upgrading request to one or a plurality of member machines, so that one or a plurality of member machines send the request for downloading an upgrading version to the version server; the order exchange board receives an software version to be upgraded from the version server and sends to the non-upgraded member machines which send the request for downloading anupgrading version to the version server. The technical scheme provided by the invention solves the problems that software version upgrading efficiency is low in the relevant technology and automatic version upgrading function can not be realized, so that the invention can realize automatic software version upgrading and improve the software version upgrading efficiency.

Description

Method for upgrading software version and command switch based on cluster management
Technical field
The present invention relates to the communications field, in particular to a kind of method for upgrading software version and command switch based on cluster management.
Background technology
Along with development of Ethernet technology, the application of Ethernet switch more and more widely, but because Ethernet switch equipment many (especially low side devices), the management of equipment is become a difficult problem, therefore the solution of cluster management has been proposed.The hardware of above-mentioned switch device may belong to different type of hardwares, and therefore required installed software version is also different.
Under the mode of above-mentioned cluster management, the method of the software release upgrade of adopting is at present: all software versions that may use are stored in version server, log on every member machine by command switch then, type according to member machine downloads to member machine from version server by hand with the software that matches, and upgrades the software version of member machine.
There is following problem in above-mentioned method for upgrading software version: the network management personnel need understand the type of every member machine, and manual download version is carried out software upgrading, under the situation huge by the member machine quantity of being managed, greatly increased network management personnel's workload, the inefficiency that makes software release upgrade can't realize the automatic updating function of version.
Summary of the invention
Inefficiency at software release upgrade in the correlation technique, can't realize version the automatic updating function problem and the present invention is proposed, for this reason, main purpose of the present invention is to provide a kind of improved software release upgrade scheme based on cluster management, one of to address the above problem at least.
According to an aspect of the present invention, provide a kind of method for upgrading software version based on cluster management.
Method for upgrading software version based on cluster management according to the present invention is applied to comprise the system of command switch, version server, one or more member machines, this method comprises: command switch receives the device type of the renewal that comes from version server and the corresponding relation of software version information, wherein, corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade; Command switch obtains the information of one or more member machines of not upgrading according to sign, and sends the version updating requests to one or more member machines of not upgrading, so that one or more member machine of not upgrading sends the request of download and upgrade version to version server; Command switch receives and comes from the software version to be upgraded of version server, and is sent to the not upgrading member machine that sends the download and upgrade version request to version server.
According to a further aspect in the invention, provide a kind of command switch.
Command switch according to the present invention comprises: receiving element, be used to receive the device type of the renewal that comes from version server and the corresponding relation of software version information, and reception comes from the software version to be upgraded of version server, wherein, corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade; Acquiring unit is used for obtaining according to sign the information of one or more member machines of not upgrading; Transmitting element, be used for sending the version updating request to one or more member machines of not upgrading, so that one or more member machines of not upgrading send the request of download and upgrade version to version server, and send software versions to be upgraded to one or more member machines of not upgrading.
By the present invention, by the command switch redaction that selection matches according to device type, realized the automatic updating function of software version, solved software release upgrade inefficiency in the correlation technique, can't realize the problem of version automatic updating function, and then can realize the automatic updating of software version, improve the efficient of software release upgrade.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart based on the method for upgrading software version of cluster management according to the embodiment of the invention;
Fig. 2 is according to the device type of the embodiment of the invention and software version matching list;
Fig. 3 is the schematic diagram of cluster management protocol (Group ManagementProtocol the abbreviates GMP as) message format according to the embodiment of the invention;
Fig. 4 is according to the preferred embodiment of the invention based on the flow chart of the method for upgrading software version of cluster management;
Fig. 5 is the structured flowchart based on the command switch of cluster management according to the embodiment of the invention;
Fig. 6 is according to the preferred embodiment of the invention based on the structured flowchart of the command switch of cluster management.
Embodiment
Functional overview
Consider the inefficiency of software release upgrade in the correlation technique, can't realize the problem of the automatic updating function of version, the embodiment of the invention provides a kind of software release upgrade scheme based on cluster management, according to embodiment provided by the invention, at first command switch is created the corresponding relation of device type and software version information; Afterwards corresponding relation is sent to version server with managed together.Command switch receives the device type of the renewal that comes from version server and the corresponding relation of software version information, and wherein, corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade; Command switch obtains the information of one or more member machines of not upgrading according to sign, and sends the version updating requests to one or more member machines of not upgrading, so that one or more member machine of not upgrading sends the request of download and upgrade version to version server; Command switch receives and comes from the software version to be upgraded of version server, and is sent to the not upgrading member machine that sends the download and upgrade version request to version server.
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Method embodiment
According to the embodiment of the invention, at first provide a kind of method for upgrading software version based on cluster management.
Fig. 1 is the flow chart based on the method for upgrading software version of cluster management according to the embodiment of the invention.As shown in Figure 1, the method for upgrading software version based on cluster management according to the embodiment of the invention comprises following processing (step S101-step S105):
Command switch is before setting up the cluster relation, and command switch is created the corresponding relation of device type and software version information; And corresponding relation is sent to version server.
Preferably, command switch is before setting up the cluster relation, hardware and software version type by Neighbor Discovery Protocol and every equipment of collecting topology agreement collection, a device type and software version matching list (being equivalent to corresponding relation) have been created, and send to version server, by the two common maintenance.Matching list adopts the mode of Hash storage, is beneficial to the search efficiency that promotes release type.Afterwards, execution in step S101.
Step S101: command switch receives the device type of the renewal that comes from version server and the corresponding relation of software version information, and wherein, this corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade;
Preferably, the corresponding relation of device type and software version information can upgrade in the following manner: the network management personnel will be added in the corresponding relation by software version corresponding equipment type and software version information to be upgraded in version server.
In specific implementation process, in version server, added the upgraded version of certain device type as the network management personnel after, corresponding equipment type and upgraded version model list item can be interpolated in the corresponding relation (this sentences matching list is example), and type and renewal of the equipment sign (being defaulted as not) are set respectively in the list item of correspondence.After all list items that need upgrade all interpolated matching list, server was handed down to command switch with matching list.
Wherein, above-mentioned matching list specifically can be referring to Fig. 2, and Fig. 2 is according to the device type of the embodiment of the invention and software version matching list.As shown in Figure 2, according to the device type of the embodiment of the invention and the mode of software version matching list employing hash storage, this hash matching list comprises: parameters such as device type, type updating mark, medium access control (Media AccessControl abbreviates MAC as) address, renewal of the equipment sign, operation release type, upgraded version type.For example, device type shown in the figure is A, the type of the type is upgraded the not state of (NO) that is designated, there is the not member machine of upgrading at present in expression, what this device type comprised is that the renewal of the equipment of the member machine of MAC1 is designated the not state of (NO) corresponding to MAC Address, represents that this member machine is a state to be upgraded.The current operation release type of this member machine is A, and release type to be upgraded is A+.
Step S103: command switch obtains the information of one or more member machines of not upgrading according to sign, and to one or more member machines transmission version updating requests of not upgrading, so that one or more member machine of not upgrading sends the request of download and upgrade version to version server;
Preferably, the mentioned order switch information of obtaining one or more member machines of not upgrading according to sign comprises following processing:
(1) command switch is the more state of new logo of the type whether upgraded of each device type of indication of each device type correspondence of keyword search with the device type;
(2) type more the state of new logo search the state of the renewal of the equipment sign whether each member machine of indication of each member machine correspondence that device type comprises upgraded for not the time;
(3) command switch determines that the state of renewal of the equipment sign is in not upgrade status for one or more member machines not.
Preferably, command switch with the media access control MAC address of one or more member machine correspondences of not upgrading, need the upgrading software version information to be encapsulated in to be sent to one or more member machines of not upgrading in the cluster management protocol GMP message.
Wherein, above-mentioned GMP message format can be referring to Fig. 3, and Fig. 3 is the schematic diagram according to the GMP message format of the embodiment of the invention.As shown in Figure 3, this GMP message format is as follows:
(1) version number/role accounts for a byte altogether, and cluster management version number accounts for 4 bits, and the role accounts for 4 bits, and value is command switch, member machine or candidate's machine;
(2) main command sign indicating number and combine from command code and to determine unique type of message, for example the type of message that is provided with of main command sign indicating number is " the candidate switch adds cluster becomes member switch ", then comprise from the type of message of command code setting join request, action types such as authentication request, authentication responses, adding affirmation, configuration information, adding affirmation.Can the unification of main command sign indicating number be set to " version download " type of message, then the type of message from the command code setting comprises action types such as " version updating request ", " version updating success ", " restarting request ", " trap ".
(3) message body: according to the main command sign indicating number with from the correct parsing of command code realization to message body.In above-mentioned steps, after command switch or member machine receive above-mentioned GMP message, resolve message body according to the main command sign indicating number with from the well-determined type of message of command code, thereby carry out associative operation.
In specific implementation process, after command switch receives matching list after the renewal, at first check the type updating mark of certain type equipment correspondence, if " NO " illustrates then in the equipment of this type to have the member machine that does not upgrade that the conflict chain is search downwards successively.If certain MAC Address corresponding equipment updating mark is " YES ", illustrate that this member machine upgrades the version success, otherwise information such as the MAC Address of this member machine, upgraded version model are encapsulated in cluster management protocol (Group Management Protocol as message, abbreviating GMP as) in the message, the mode by clean culture is transmitted to this member machine with " version updating request " message.This member machine sends the tFTP or the FTP request message of download and upgrade version to version server after receiving the GMP message.
Step S105: command switch receives and comes from the software version to be upgraded of version server, and is sent to the not upgrading member machine that sends the download and upgrade version request to version server.
In specific implementation process, version server will be by the upgraded version of command switch to the member machine transmission types coupling that sends request message after receiving request message.
Preferably, software version to be upgraded is sent to after version server sends the not upgrading member machine of download and upgrade version request, can also comprises following processing at command switch:
(1) under the situation of software version failed download to be upgraded, command switch receives and comes from the message that the member machine of not upgrading sends, and in pre-determined number, message is sent to version server and issues again with request, wherein, message is used to indicate the reason of failed download.
For example, if member machine is downloaded software version failure to be upgraded, then send the reason that " trap " message report is failed by command switch to webmaster, the request version server issues again in pre-determined number, downloads software version success to be upgraded until member machine.For example, the number of times that request repeat can be set is restricted to 3 times.3 requests are not all downloaded successfully, and then flow process finishes.
(2) download under the case of successful at software version to be upgraded, command switch receives and comes from the version updating success message that the member machine of not upgrading sends, and wherein, the version updating success message carries the MAC Address of the member machine correspondence of not upgrading;
Preferably, after command switch receives the version updating success message that comes from the member machine transmission of not upgrading, command switch in corresponding relation the MAC Address corresponding equipment more new logo be set to the state that is, and the release type of current operation is set to release type to be upgraded, and the field that the upgraded version type is comprised empties;
Preferably, when all that comprise in a kind of device type were not upgraded member machines all upgrading is finished, the type of command switch this device type correspondence in corresponding relation more new logo was set to the state that is;
Preferably, when the member machine of all devices type correspondence that comprises at corresponding relation was all finished upgrading, command switch was back to version server with corresponding relation.
For example, command switch is after receiving " version updating success " message, " the renewal of the equipment sign " of this MAC Address correspondence can be changed to " YES ", simultaneously " operation release type " be updated to " upgraded version type ", " upgraded version type " empties; After receiving " restarting " request message, command switch issues " restarting " order by the mode of clean culture, time-delay to this member machine.Member machine with restarting equipment, and is written into upgraded version by the path in the configuration file after receiving order, treat the device start success after, set up the cluster relation with command switch again.
Fig. 4 is according to the preferred embodiment of the invention based on the flow chart of the method for upgrading software version of cluster management.As shown in Figure 4, mainly comprise following processing (step S401-step S419) based on the method for upgrading software version of cluster management according to the preferred embodiment of the invention:
Step S401: command switch is before setting up the cluster relation, hardware and software version type by Neighbor Discovery Protocol and every equipment of collecting topology agreement collection, create a device type and software version Hash matching list, and sent to version server, entered step S403;
Step S403: in version server, added the upgraded version of certain device type as the network management personnel after, corresponding equipment type and upgraded version model list item can be interpolated in the matching list, and type and renewal of the equipment sign (being defaulted as not) are set respectively in the list item of correspondence.After all list items that need upgrade all interpolated matching list, server was handed down to command switch with matching list, entered step S405;
Step S405: the software version of the equipment correspondence that type is identical is also identical, so carries out searching of release type with device type as keyword after the matching list of command switch after receiving renewal.For the equipment of same kind since in group system corresponding equipment ID different with MAC Address, " type updating mark " is the state of " NO ", illustrate and have the member machine that does not upgrade in the equipment of this type, conflict chain search " renewal of the equipment sign " downwards successively is the list item of " NO ", and information such as the MAC Address of the list item correspondence that searches, upgraded version model are encapsulated in the GMP message as message, be transmitted to this member machine as " version updating request " message, enter step S407;
Step S407: this member machine is after receiving the GMP message, and tFTP or FTP request message to version server transmission download and upgrade version enter step S409;
Step S409: version server will if member machine is downloaded successfully, enter step S413, otherwise enter step S411 by the upgraded version of command switch to this member machine transmission types coupling after receiving request message;
Step S411: send the reason that " trap " message report is failed by command switch to version server, request issues again, and the number of times of request repeat is restricted to 3 times, enters step S407;
Step S413: the path that upgraded version is preserved writes configuration file, preserves self configuration, sends " version updating success " message and request message that need " restarting " to command switch again, enters step S415;
Step S415: command switch is after receiving " version updating success " message, " the renewal of the equipment sign " of this MAC Address correspondence can be changed to " YES ", simultaneously " operation release type " is updated to " upgraded version type ", " upgraded version type " empties; After receiving " restarting " request message, command switch issues " restarting " order by the mode of clean culture, time-delay to this member machine.Member machine with restarting equipment, and is written into upgraded version by the path in the configuration file after receiving order, treat the device start success after, set up the cluster relation with command switch again.If all member machines of certain type have all been finished the flow process of edition upgrading, enter step S417, otherwise enter step S405;
Step S417: command switch can be changed to " YES " with the type equipment correspondence " type updating mark ", enters the handling process of next type equipment then, if all types equipment is all finished dealing with, enters step S419, otherwise enters step S403;
Step S419: after whole matching list all devices had all been finished the flow process of once upgrading, command switch fed back to version server with matching list, as network management personnel's O﹠M reference information.
By the foregoing description, provide a kind of method for upgrading software version based on cluster management.By the command switch redaction that selection matches according to device type, can realize the automatic updating function of software version.
Device embodiment
According to the embodiment of the invention, also provide a kind of command switch.
Fig. 5 is the structured flowchart based on the command switch of cluster management according to the embodiment of the invention.Fig. 6 is according to the preferred embodiment of the invention based on the structured flowchart of the command switch of cluster management.As shown in Figure 5, the command switch based on cluster management according to the embodiment of the invention comprises: receiving element 1, acquiring unit 2, transmitting element 3.Be described below in conjunction with Fig. 6.
Wherein, receiving element 1, be used to receive the device type of the renewal that comes from version server and the corresponding relation of software version information, and reception comes from the software version to be upgraded of version server, wherein, corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade;
Acquiring unit 2 is connected with receiving element 1, is used for obtaining according to sign the information of one or more member machines of not upgrading;
Preferably, as shown in Figure 6, above-mentioned acquiring unit 2 comprises: first searches module 20, and being used for the device type is the more state of new logo of the type whether upgraded of each device type of indication of each device type correspondence of keyword search; Second searches module 22, be used for type more the state of new logo search the state of the renewal of the equipment sign whether each member machine of indication of each member machine correspondence that device type comprises upgraded for not the time; Determination module 24 is used for determining that the state of renewal of the equipment sign is in not upgrade status for one or more member machines not.
Transmitting element 3, be connected with acquiring unit 2, be used for sending the version updating request to one or more member machines of not upgrading, so that one or more member machines of not upgrading send the request of download and upgrade version to version server, and send software versions to be upgraded to one or more member machines of not upgrading.
Preferably, as shown in Figure 6, the mentioned order switch also comprises: creating unit 4 is used to create the corresponding relation of device type and software version information; Above-mentioned transmitting element 3 also is used for corresponding relation is sent to version server.
Preferably, above-mentioned transmitting element 3, by with the media access control MAC address of one or more member machine correspondences of not upgrading, need the upgrading software version information to be encapsulated in to be sent to one or more member machines of not upgrading in the cluster management protocol GMP message.
Preferably, above-mentioned receiving element 1 also is used for downloading under the case of successful at software version to be upgraded, receives to come from the version updating success message that the member machine of not upgrading sends, wherein, the version updating success message carries the MAC Address of the member machine correspondence of not upgrading; Perhaps, receiving element 1 also is used under the situation of software version failed download to be upgraded, reception comes from the message that the member machine of not upgrading sends, and in pre-determined number, message is sent to version server and issues again with request, wherein, message carries the cause information of failed download.
Preferably, as shown in Figure 6, the mentioned order switch can also comprise: unit 5 is set, be used for downloading under the case of successful at software version to be upgraded, in corresponding relation the MAC Address corresponding equipment more new logo be set to the state that is, and the release type of current operation is set to release type to be upgraded, and the field that the upgraded version type is comprised empties; The above-mentioned unit 5 that is provided with also is used at a kind of device type comprises all member machines of not upgrading when all upgrading is finished, in corresponding relation the type of this device type correspondence more new logo be set to the state that is; Above-mentioned transmitting element 3 when the member machine that also is used for all devices type correspondence that comprises at corresponding relation is all finished upgrading, is back to version server with corresponding relation.
Pass through the foregoing description, a kind of command switch is provided, by mutually combining of receiving element 1, acquiring unit 2, transmitting element 3, can solve software release upgrade inefficiency in the correlation technique, can't realize the problem of version automatic updating function, and then can realize the automatic updating of software version, improve the efficient of software release upgrade.
In sum, pass through the above embodiment of the present invention, method for upgrading software version and the command switch that provide based on cluster management, by the command switch redaction that selection matches according to device type, can solve and adopt the manually mode inefficiency of artificial upgrading in the correlation technique, can't realize the problem of version automatic updating function, and then can realize the automatic updating of software version, improve the efficient of software release upgrade, improve user experience.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. method for upgrading software version based on cluster management is applied to comprise the system of command switch, version server, one or more member machines it is characterized in that described method comprises:
Described command switch receives the device type of the renewal that comes from described version server and the corresponding relation of software version information, and wherein, described corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade;
Described command switch obtains the information of one or more member machines of not upgrading according to described sign, and to described one or more member machines transmission version updating requests of not upgrading, so that described one or more member machine of not upgrading sends the request of download and upgrade version to described version server;
Described command switch receives and comes from the software version to be upgraded of described version server, and is sent to the not upgrading member machine that sends the download and upgrade version request to described version server.
2. method according to claim 1 is characterized in that, receives at described command switch before the corresponding relation of the device type of the renewal that comes from described version server and software version information, and described method also comprises:
Described command switch is created the corresponding relation of device type and software version information;
Described command switch is sent to described version server with described corresponding relation.
3. method according to claim 1 is characterized in that, the information that described command switch obtains one or more member machines of not upgrading according to described sign comprises:
Described command switch is the more state of new logo of the type whether upgraded of each device type of indication of each device type correspondence of keyword search with the device type;
Described type more the state of new logo search the state of the renewal of the equipment sign whether each member machine of indication of each member machine correspondence that described device type comprises upgraded for not the time;
Described command switch determines that the state of described renewal of the equipment sign is in not upgrade status for one or more member machines not.
4. method according to claim 1 is characterized in that, described command switch sends the version updating request to described one or more member machines of not upgrading in the following manner:
Described command switch with the media access control MAC address of described one or more member machine correspondences of not upgrading, need the upgrading software version information to be encapsulated in to be sent to described one or more member machine of not upgrading in the cluster management protocol GMP message.
5. according to each described method among the claim 1-4, it is characterized in that, software version to be upgraded is sent to after described version server sends the not upgrading member machine of download and upgrade version request at described command switch, described method also comprises:
Download under the case of successful at described software version to be upgraded, described command switch receives and comes from the version updating success message that the described member machine of not upgrading sends, wherein, described version updating success message carries the MAC Address of the described member machine correspondence of not upgrading;
Under the situation of described software version failed download to be upgraded, described command switch receives and comes from the message that the described member machine of not upgrading sends, and in pre-determined number, described message is sent to described version server and issues again with request, wherein, described message is used to indicate the reason of failed download.
6. method according to claim 5 is characterized in that, after described command switch received the version updating success message that comes from the described member machine transmission of not upgrading, described method also comprised:
Described command switch in described corresponding relation described MAC Address corresponding equipment more new logo be set to the state that is, and the release type of current operation is set to described release type to be upgraded, the field that the upgraded version type is comprised empties;
When all that comprise in a kind of device type were not upgraded member machines all upgrading is finished, the type of described command switch this device type correspondence in described corresponding relation more new logo was set to the state that is;
When the member machine of all devices type correspondence that comprises at described corresponding relation was all finished upgrading, described command switch was back to described version server with described corresponding relation.
7. a command switch is characterized in that, described command switch comprises:
Receiving element, be used to receive the device type of the renewal that comes from described version server and the corresponding relation of software version information, and reception comes from the software version to be upgraded of described version server, wherein, described corresponding relation carries the sign of indicating each device type and each member machine whether to upgrade;
Acquiring unit is used for obtaining according to described sign the information of one or more member machines of not upgrading;
Transmitting element, be used for sending the version updating request to described one or more member machines of not upgrading, so that described one or more member machine of not upgrading sends the request of download and upgrade version to described version server, and send described software version to be upgraded to described one or more member machines of not upgrading.
8. command switch according to claim 7 is characterized in that,
Described command switch also comprises:
Creating unit is used to create the corresponding relation of device type and software version information;
Described transmitting element, also be used for described corresponding relation is sent to described version server, and by with the media access control MAC address of described one or more member machine correspondences of not upgrading, need the upgrading software version information to be encapsulated in to be sent to described one or more member machine of not upgrading in the cluster management protocol GMP message.
9. command switch according to claim 8 is characterized in that, described acquiring unit comprises:
First searches module, and being used for the device type is the more state of new logo of the type whether upgraded of each device type of indication of each device type correspondence of keyword search;
Second searches module, be used for described type more the state of new logo search the state of the renewal of the equipment sign whether each member machine of indication of each member machine correspondence that described device type comprises upgraded for not the time;
Determination module is used for determining that the state of described renewal of the equipment sign is in not upgrade status for one or more member machines not.
10. according to each described command switch among the claim 7-9, it is characterized in that,
Described receiving element, also be used for downloading under the case of successful at described software version to be upgraded, reception comes from the version updating success message that the described member machine of not upgrading sends, and wherein, described version updating success message carries the MAC Address of the described member machine correspondence of not upgrading; Perhaps,
Described receiving element, also be used under the situation of described software version failed download to be upgraded, reception comes from the message that the described member machine of not upgrading sends, and in pre-determined number, described message is sent to described version server and issues again with request, wherein, described message carries the cause information of failed download.
11. command switch according to claim 10 is characterized in that, described command switch also comprises:
The unit is set, be used for downloading under the case of successful at described software version to be upgraded, in described corresponding relation described MAC Address corresponding equipment more new logo be set to the state that is, and the release type of current operation is set to described release type to be upgraded, and the field that the upgraded version type is comprised empties;
The described unit that is provided with also is used at a kind of device type comprises all member machines of not upgrading when all upgrading is finished, in described corresponding relation the type of this device type correspondence more new logo be set to the state that is;
Described transmitting element when the member machine that also is used for all devices type correspondence that comprises at described corresponding relation is all finished upgrading, is back to described version server with described corresponding relation.
CN2009101675821A 2009-08-27 2009-08-27 Software version upgrading method based on cluster management and order exchanger Expired - Fee Related CN101645801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101675821A CN101645801B (en) 2009-08-27 2009-08-27 Software version upgrading method based on cluster management and order exchanger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101675821A CN101645801B (en) 2009-08-27 2009-08-27 Software version upgrading method based on cluster management and order exchanger

Publications (2)

Publication Number Publication Date
CN101645801A true CN101645801A (en) 2010-02-10
CN101645801B CN101645801B (en) 2012-02-08

Family

ID=41657526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101675821A Expired - Fee Related CN101645801B (en) 2009-08-27 2009-08-27 Software version upgrading method based on cluster management and order exchanger

Country Status (1)

Country Link
CN (1) CN101645801B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873726A (en) * 2010-07-01 2010-10-27 华为终端有限公司 Upgrading method of wireless repeater and wireless access equipment
CN102143506A (en) * 2010-10-20 2011-08-03 华为终端有限公司 Management processing method, management processing device and management processing system for wireless repeater
CN102300200A (en) * 2011-09-08 2011-12-28 中兴通讯股份有限公司 Software version upgrading method, version publishing equipment and mobile terminal
CN102546207A (en) * 2010-12-23 2012-07-04 中兴通讯股份有限公司 Distributed centralized scheduling upgrading method and system for network element software version
CN104079631A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Version management method and related device
CN104601622A (en) * 2013-10-31 2015-05-06 国际商业机器公司 Method and system for deploying cluster
WO2015127850A1 (en) * 2014-02-26 2015-09-03 可牛网络技术(北京)有限公司 Data upgrading method and central server
CN105704241A (en) * 2016-04-06 2016-06-22 浪潮电子信息产业股份有限公司 Client terminal program updating method and system and a service platform
CN105915361A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Group upgrading method and device
CN106126285A (en) * 2016-06-22 2016-11-16 天维尔信息科技股份有限公司 A kind of method for upgrading software and terminal
CN106126286A (en) * 2016-06-22 2016-11-16 天维尔信息科技股份有限公司 A kind of software dispositions method and terminal
CN106357771A (en) * 2016-09-20 2017-01-25 天脉聚源(北京)科技有限公司 State synchronization method and device
CN107147711A (en) * 2017-05-04 2017-09-08 浙江路港互通信息技术有限公司 Application service update method and device
CN107291520A (en) * 2017-08-14 2017-10-24 深圳市兆驰数码科技股份有限公司 A kind of software automatic updating method
CN107479877A (en) * 2017-07-24 2017-12-15 广东智科电子股份有限公司 A kind of heat-pump hot-water controller automatically updating method
CN108200213A (en) * 2018-02-13 2018-06-22 广州云湾信息技术有限公司 O&M method, apparatus and system
CN108712476A (en) * 2018-04-27 2018-10-26 华迪计算机集团有限公司 A kind of method and system carrying out data update based on push technology
CN109299124A (en) * 2018-09-30 2019-02-01 北京字节跳动网络技术有限公司 Method and apparatus for more new model
US10713032B2 (en) * 2016-11-14 2020-07-14 Onkyo Corporation Firmware update system, server, and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8626146B2 (en) * 2003-10-29 2014-01-07 Qualcomm Incorporated Method, software and apparatus for performing actions on a wireless device using action lists and versioning
US8151257B2 (en) * 2007-05-29 2012-04-03 Sap Ag Managing different versions of server components regarding compatibility with collaborating servers
CN101465757B (en) * 2009-01-15 2011-01-12 武汉烽火网络有限责任公司 Method for batch upgrade in cluster network
CN101483568B (en) * 2009-02-04 2012-08-22 华为终端有限公司 Upgrading method, control appliance and system for UPnP equipment
CN101516047B (en) * 2009-04-03 2011-06-08 烽火通信科技股份有限公司 ONU automatic upgrading method in EPON access system

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873726A (en) * 2010-07-01 2010-10-27 华为终端有限公司 Upgrading method of wireless repeater and wireless access equipment
CN102143506A (en) * 2010-10-20 2011-08-03 华为终端有限公司 Management processing method, management processing device and management processing system for wireless repeater
CN102546207A (en) * 2010-12-23 2012-07-04 中兴通讯股份有限公司 Distributed centralized scheduling upgrading method and system for network element software version
CN102546207B (en) * 2010-12-23 2016-04-20 中兴通讯股份有限公司 A kind of method and system of distributed centralization scheduling updating network element software version
CN102300200A (en) * 2011-09-08 2011-12-28 中兴通讯股份有限公司 Software version upgrading method, version publishing equipment and mobile terminal
CN102300200B (en) * 2011-09-08 2018-04-17 中兴通讯股份有限公司 A kind of method of software release upgrade, version distribution apparatus and mobile terminal
CN104601622A (en) * 2013-10-31 2015-05-06 国际商业机器公司 Method and system for deploying cluster
CN104601622B (en) * 2013-10-31 2018-04-17 国际商业机器公司 A kind of method and system for disposing cluster
WO2015127850A1 (en) * 2014-02-26 2015-09-03 可牛网络技术(北京)有限公司 Data upgrading method and central server
CN104079631B (en) * 2014-06-09 2018-10-16 中国建设银行股份有限公司 A kind of method for edition management and relevant apparatus
CN104079631A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Version management method and related device
CN105915361A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Group upgrading method and device
CN105704241A (en) * 2016-04-06 2016-06-22 浪潮电子信息产业股份有限公司 Client terminal program updating method and system and a service platform
CN106126286A (en) * 2016-06-22 2016-11-16 天维尔信息科技股份有限公司 A kind of software dispositions method and terminal
CN106126285A (en) * 2016-06-22 2016-11-16 天维尔信息科技股份有限公司 A kind of method for upgrading software and terminal
CN106357771A (en) * 2016-09-20 2017-01-25 天脉聚源(北京)科技有限公司 State synchronization method and device
CN106357771B (en) * 2016-09-20 2020-03-17 天脉聚源(北京)科技有限公司 State synchronization method and device
US10713032B2 (en) * 2016-11-14 2020-07-14 Onkyo Corporation Firmware update system, server, and electronic device
CN107147711B (en) * 2017-05-04 2020-03-13 浙江数链科技有限公司 Application service updating method and device
CN107147711A (en) * 2017-05-04 2017-09-08 浙江路港互通信息技术有限公司 Application service update method and device
CN107479877A (en) * 2017-07-24 2017-12-15 广东智科电子股份有限公司 A kind of heat-pump hot-water controller automatically updating method
CN107291520A (en) * 2017-08-14 2017-10-24 深圳市兆驰数码科技股份有限公司 A kind of software automatic updating method
CN108200213A (en) * 2018-02-13 2018-06-22 广州云湾信息技术有限公司 O&M method, apparatus and system
CN108712476A (en) * 2018-04-27 2018-10-26 华迪计算机集团有限公司 A kind of method and system carrying out data update based on push technology
CN109299124A (en) * 2018-09-30 2019-02-01 北京字节跳动网络技术有限公司 Method and apparatus for more new model
CN109299124B (en) * 2018-09-30 2021-01-08 北京字节跳动网络技术有限公司 Method and apparatus for updating a model

Also Published As

Publication number Publication date
CN101645801B (en) 2012-02-08

Similar Documents

Publication Publication Date Title
CN101645801B (en) Software version upgrading method based on cluster management and order exchanger
CN101217411B (en) A method, device and system realizing the upgrading of stacking device software
CN100385855C (en) System and its method for central remote automatic upgrading software
CN101552697B (en) Network access apparatus upgrade system and network access apparatus upgrade method
CN102098590B (en) Automatic upgrading method and system of firmware version of optical network unit
CN104604193B (en) The automatic management method and device of network infrastructure with virtual unit environmental functional
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN104503798A (en) Method and device for configuring server
CN104899116B (en) Method, source server, destination server and the system of data backup
CN101789980A (en) Batch upgrading method based on cluster network
CN102202087A (en) Method for identifying storage equipment and system thereof
CN102299814B (en) Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent
CN102710436A (en) Network equipment management method, device, relative equipment and system
CN101951369A (en) Batch terminal upgrading method and system based on automatic discovery
CN106886410A (en) A kind of software version management system
KR20210057149A (en) Smart contract-based data processing method, device and storage medium
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN101675424A (en) Inter-process communication methods and apparatus for building scalable/redundant telecommunications systems
CN104618136B (en) Configuring management method and device for blade server
JP2006113754A (en) Software update device and method
CN101145948A (en) Software upgrade method, device and network element
US20170171355A1 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN104317672A (en) System file repairing method, device and system
CN101197842B (en) Node identity configuration method for processing node in multi-module system, and processing node

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120208

Termination date: 20190827

CF01 Termination of patent right due to non-payment of annual fee