patents.google.com

CN103532922B - A kind of method for upgrading software version, Apparatus and system - Google Patents

  • ️Wed Dec 21 2016

Detailed description of the invention

The technical scheme of the embodiment of the present invention is further illustrated below in conjunction with the accompanying drawings with specific embodiment, it is clear that Described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on this Embodiment in invention, the institute that those skilled in the art are obtained under not making creative work premise There are other embodiments, broadly fall into the scope of protection of the invention.

Embodiments provide a kind of method for upgrading software version, Apparatus and system, for by referring to Determine the mode of the scope of upgrade node, control to produce during broadcast node upgrading message broadcast flooding.

As information gathering network system framework, because of the nonuniformity of its collecting device, so to seeking to refer to The method determining node upgrading or the upgrading of network node section is a key problem in technology of information gathering network system Point.Especially when under information gathering network system is based on wireless communications mode, because of wireless communication technology Transmission particularity demand to upgrading message, this adds increased grinding of network node software module dynamic update Degree of raising difficult questions.

Method for upgrading software version in the embodiment of the present invention has versatility, can be applicable to information gathering net Network system, it is possible to be applied in the network system of other various multipaths.

Referring to Fig. 1, an embodiment of the method for upgrading software version in the embodiment of the present invention includes:

101, network management center's broadcast upgrading message, comprises the letter of the path node of upgrading in described upgrading message Breath, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Network management center creates and broadcast packet is containing upgrade node and the broadcast packe upgrading message of confined area thereof, In this upgrading message including at least upgrading the information of path node, upgrading confined area information, The software version number of upgrading and upgrading data, wherein, the information of path node can include destination node body Part mark (ID, Identity), approach node ID collection, source node ID, software version number refers to upgrading Purpose version number, upgrading data carry out software release upgrade for node, the patch needed for current upgrading Data, usually latest edition software data and the variance data of previous release software data.

It should be noted that the destination node node that to be upgrading message to be arrived, approach node is upgrading The node of message approach, source node is the node sending upgrading message, and destination node and approach node are all Preparing the node of upgrading, confined area represents the transmission coverage of upgrading message, such as distance upgrading path In node one jump or region involved by the node of double bounce.

Specifically, the data form of this upgrading message please see table:

Beginning flag source node ID destination node ID approach node ID collection confined area upgrading message field software version number end mark

Network management center broadcasts upgrading message in a network, comprises the destination node of upgrading in described upgrading message ID, the ID collection of approach node, the information of confined area and software version number so that receive this upgrading The node of message carries out software release upgrade, so, all genus upgrading message by way of all nodes in region, It is required for carrying out upgrading message forcing to resolve, judges whether to belong to the node of upgrading.

102, the upgrading feedback information of receiving node;

Network management center receives the upgrading feedback information of network node, obtains the software upgrade information of node.

In the embodiment of the present invention, network management center broadcasts upgrading message because of the software version of upgrade node, This upgrading message comprises the information of the confined area of the information of the path node of upgrading, upgrading, upgrading Software version number and upgrading data, thus, control to receive the range of nodes of upgrading message, reduce upgrading Time in network propagate upgrading message quantity, thus avoid because of use broadcast mode to node send soft Broadcast flooding that part edition upgrading message is caused or broadcast storm.Simultaneously as be not required to refer to one by one Bright by way of network node, so not increasing the too many transmission time in the data structure of upgrading message Complexity, and automatically process by these path nodes by way of the upgrading of node resident software, this subtracts the most significantly Lack time complexity and the space complexity calculating behavior on network protocol layer, simultaneously tradition by network Layer process event is transferred to Routing Protocol layer and is processed, and it is established in order to the interlayer agreement of the network system simplifies Solid foundation.

For ease of understanding, describe the software version liter in the embodiment of the present invention in detail with another embodiment below Level method, refers to Fig. 2, another embodiment bag of the method for upgrading software version in the embodiment of the present invention Include:

201, inquire about the information of the software version of each node, add up the described software version software less than upgrading The number of nodes of version;

The information of the software version of each node of the whole network is inquired about by network management center, according to the Information Statistics institute inquired State the software version number of nodes less than the software version of upgrading.

If software version is more than or equal to preset proportion less than the ratio of the number of nodes of updating software release, then Perform step 202, if software version is less than preset ratio less than the ratio of the number of nodes of updating software release Example, then perform step 203.

If 202 software versions are more than or equal to preset ratio less than the ratio of the number of nodes of updating software release Example, then broadcast upgrading message, comprises the information of the path node of upgrading, upgrading in described upgrading message The information of confined area, the software version number of upgrading and upgrading data;

If software version is more than preset proportion, in webmaster less than the ratio of the number of nodes of updating software release The heart then broadcasts described upgrading message, wherein, the size of preset proportion and the actual application shape of nodes Condition is correlated with, and is not especially limited herein.

Including at least the information of path node, being subject to of upgrading of upgrading in the upgrading message that network management center sends The limit information in region, the software version number of upgrading and upgrading data, wherein, the information of path node is permissible Including destination node ID, approach node ID collection, source node ID, software version number refers to the purpose of upgrading Version number, upgrading data carry out software release upgrade for node, the patch data needed for current upgrading, Usually latest edition software data and the variance data of previous release software data.

It should be noted that the destination node node that to be upgrading message to be arrived, approach node is upgrading The node of message approach, source node is the node sending upgrading message, and destination node and approach node are all Preparing the node of upgrading, confined area represents the transmission coverage of upgrading message, such as distance upgrading path In node one jump or region involved by the node of double bounce.

Specifically, the data form of this upgrading message asks for an interview table 1:

Table 1

Beginning flag source node ID destination node ID approach node ID collection confined area upgrading message field software version number end mark

For ease of understanding, network management center is exemplified below and controls node upgrading, refer to Fig. 3, such as, Node M carries out software release upgrade to node 536, can be that network management center specifies node M to node 536 carry out software release upgrade, it is also possible to be that node M starts node 536 is carried out software version Upgrading, if selected upgrading path is: node M-node 638-node 66-node 51-joint Point 536, then be set to M in packet transmission upgrading message by source node ID, and destination node ID is arranged Being 536, path node ID collection is set to 538,66,51, and software version number is for upgrade node 536 Purpose version number, confined area is set to a jumping region, then this upgrading message packet transmission be gone out. Upgrading message will by communications cover along network path launch, upgrading message by way of all nodes After receiving upgrading message, the software version number in upgrading message is carried out version parsing, if meeting liter Level demand, then path node will utilize data transmission slots interval to realize dynamic update immediately, and in data During transmission time slot, upgrading message is continued broadcast.All it is transmitted each intermediate node that path is covered, Aforesaid operations is all repeated, until upgrading message arrives purpose including the node away from upgrading path node one long-jump Till node.Such as the node 538 on trunk path of upgrading, the node 77 away from its long-jump, node 9, joint Upgrading message 246 will be resolved by point, and node 6 away from its two long-jump, node 71, node 136 This upgrading message will be ignored, thus play the effect controlling broadcast flooding.

If 203 software versions are less than preset proportion less than the ratio of the number of nodes of updating software release, then Indicate and set up communication link between described software version node and its adjacent node less than the software version of upgrading Connect;

If software version is less than preset proportion less than the ratio of the number of nodes of updating software release, then it represents that In network, software version is less less than the number of nodes of updating software release, can by with described adjacent node Between communicated upgrading, can be by communication upgrading between described adjacent node regular starter node, it is also possible to by Described software version is less than communication upgrading between the regular starter node of node of updating software release.

Further, according to node layout and internodal communication quality, instruction is less than updating software release Node and described less than between the adjacent node of the node of updating software release set up communication connection, can lead to Cross the mode sending instruction information to described adjacent node and/or the described node less than updating software release, Realize instruction and be less than node and the adjacent segments of the described node less than updating software release of updating software release Communication connection is set up between point.

Concrete, software version described in chosen distance is nearest less than the node of the software version of upgrading, and with Described software version less than the top-quality adjacent node of node communication of software version of upgrading, as with The described node less than updating software release sets up the adjacent node of communication connection, it is ensured that the biography of upgrade information Defeated success rate.

204, described adjacent node is indicated to send liter to described software version less than the node of updating software release Level information;

Communication connection is set up between this software version node and this adjacent node less than updating software release After, network management center indicates described adjacent node to send out less than the node of updating software release to described software version Sending upgrade information, described upgrade information is for requiring the described software version joint less than the software version of upgrading Point carries out software release upgrade, to assist described software version to carry out less than the node of the software version of upgrading Software release upgrade, comprises the upgrading data of described adjacent node in described upgrade information, can be by phase Neighbors sends the mode of instruction information, it is achieved indicate described adjacent node to described software version less than rising The node of level software version sends upgrade information.

It should be noted that the software version of described adjacent node is generally greater than described software version less than rising The node of the software version of level, therefore, usual network center specifies by described adjacent node periodically to described Software version sends upgrade information less than the node of the software version of upgrading.

205, the upgrading feedback information of receiving node;

The upgrading feedback information of network management center's receiving node, obtains the software upgrade information of node.

206, according to the upgrading feedback information of the node received, it may be judged whether exist and be not fully complete software version The node of upgrading;

207, the path that the most then appointment communication quality is best is to the described joint being not fully complete software release upgrade Point carries out software release upgrade.

If there is the node being not fully complete software release upgrade, then network management center is according to being not fully complete software version liter The node layout of level sends and specifies upgrading message, it is intended that the best path of communication quality to described be not fully complete soft The node of part edition upgrading carries out software release upgrade.

In data collecting system, technique scheme can be on any predefined paths in network The software of data acquisition node carry out specifying node upgrading, part of nodes or complete trails by way of node same Step upgrading, although and upgrading message and the data transmitted in escalation process still occur in net with broadcast mode In network section, but its broadcast area floods without appearance because of limited.

In the embodiment of the present invention, add up the described software version number of nodes less than the software version of upgrading, If software version is more than or equal to preset proportion less than the ratio of the number of nodes of updating software release, then broadcast Upgrading message, comprises the confined area of the information of the path node of upgrading, upgrading in this upgrading message Information, the software version number of upgrading and upgrading data, thus, control to receive the node model of upgrading message Enclose, the upgrading message quantity propagated in network when reducing upgrading, thus avoid the mode because using broadcast Broadcast flooding or the broadcast storm that software release upgrade message is caused is sent, if software version is low to node Ratio in the number of nodes of updating software release is less than preset proportion, it indicates that described software version is less than Set up communication connection between node and its adjacent node of the software version of upgrading, and indicate described adjacent segments Point sends upgrade information to described software version less than the node of updating software release, assists it to complete upgrading, Finally, according to the upgrading feedback information of node, it is intended that the best path of communication quality is to being not fully complete software version The node of this upgrading carries out software release upgrade, improves node success rate for upgrading, improves node upgrade mechanism.

Be above the method for upgrading software version describing the embodiment of the present invention from network management center side, below from Node side describes the method for upgrading software version in the embodiment of the present invention, refers to Fig. 4, the embodiment of the present invention In another embodiment of method for upgrading software version include:

401, node receives and parses through upgrading message, comprises the path node of upgrading in described upgrading message Information, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Including at least the information of path node, the upgrading of upgrading in the upgrading message that node receives and parses through The information of confined area, the software version number of upgrading and upgrading data, wherein, the information of path node can To include destination node ID, approach node ID collection, source node ID, software version number refers to the mesh of upgrading Version number, upgrading data carry out software release upgrade for node, the patch number needed for current upgrading According to, usually latest edition software data and the variance data of previous release software data.

It should be noted that the destination node node that to be upgrading message to be arrived, approach node is upgrading The node of message approach, source node is the node sending upgrading message, and destination node and approach node are all Preparing the node of upgrading, confined area represents the transmission coverage of upgrading message, such as distance upgrading path In node one jump or region involved by the node of double bounce.

Specifically, the data form of this upgrading message asks for an interview table 2:

Table 2

Beginning flag source node ID destination node ID approach node ID collection confined area upgrading message field software version number end mark

If 402 described nodes are described destination node, or are described path node, or belong to described limited Node in region, and described software version number is higher than the current software version number of described node, then carry out Software release upgrade, and broadcast described upgrading message.

Upgrading message is covered by communications to be launched along network path, and node is right after receiving upgrading message It resolves, node for the purpose of node self, or is path node, or belongs in confined area Software version number in node, and upgrading message higher than the current software version number of this node, then judges joint Point is from the node as needs upgrading, in being by software release upgrade, utilizes transmission data slot interval Realize dynamic update immediately, and broadcast this upgrading message in a network, continue to send out by this upgrading message Go.

In the embodiment of the present invention, node resolves the upgrading message received, and saves according to the path of upgrading therein The information of point, the information of confined area of upgrading, the software version number of upgrading, it is judged that whether described node For needing the node of upgrading, the most then carry out software release upgrade according to the upgrading data in upgrading message, The upgrading message receiving due to node and sending, all limits the range of nodes involved by upgrading message, subtracts The upgrading message quantity propagated in network during upgrading less, thus avoid the mode because using broadcast to node Send broadcast flooding or broadcast storm that software release upgrade message is caused.

For ease of understanding, refer to Fig. 5, another of the method for upgrading software version in the embodiment of the present invention Embodiment includes:

501, node receives and parses through upgrading message, comprises the path node of upgrading in described upgrading message Information, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Including at least the information of path node, the upgrading of upgrading in the upgrading message that node receives and parses through The information of confined area, the software version number of upgrading and upgrading data, wherein, the information of path node can To include destination node ID, approach node ID collection, source node ID, software version number refers to the mesh of upgrading Version number, upgrading data carry out software release upgrade for node, the patch number needed for current upgrading According to, usually latest edition software data and the variance data of previous release software data.

It should be noted that the destination node node that to be upgrading message to be arrived, approach node is upgrading The node of message approach, source node is the node sending upgrading message, and destination node and approach node are all Preparing the node of upgrading, confined area represents the transmission coverage of upgrading message, such as distance upgrading path In node one jump or region involved by the node of double bounce.

If 502 described nodes are described destination node, or are described path node, or belong to described limited Node in region, and described software version number is higher than the current software version number of described node, then basis Described upgrading data carry out software release upgrade, and broadcast described upgrading message;

Upgrading message is covered by communications to be launched along network path, and node is right after receiving upgrading message It resolves, node for the purpose of node self, or is path node, or belongs in confined area Software version number in node, and upgrading message higher than the current software version number of this node, then judges joint Point is from the node as needs upgrading, in being by software release upgrade, utilizes transmission data slot interval Realize dynamic update immediately, and broadcast this upgrading message in a network, continue to send out by this upgrading message Go, otherwise, then directly to other node transparent transmission upgrading message, and shield software upgrading window.

Although the approach node on upgrading path is not designated, but as long as upgrading message flows through this approach node, Software version local with this approach node for updating software release in upgrading message is carried out by this approach node Contrast, if described updating software release is higher than the software version of described approach node, then carries out software version Upgrading, thus realize network upgrade software upgrading message and flow through the automatic upgrading of node.

503, periodically to the adjacent node requesting query node upgrade information of described node, or described joint is received The described node upgrade information that the adjacent node of point sends, carries out software version according to described node upgrade information This upgrading.

Periodically to the adjacent node requesting query node upgrade information of described node, upgrade according to described node Information carries out software release upgrade, can be particularly as follows: periodically send inquiry letter to the adjacent node of described node Breath, described Query Information, for inquiring about the information of the software version of described adjacent node, receives described adjacent The query feedback information that node sends, described query feedback information includes: the software version of described adjacent node This number and upgrading data, if the software version number of described adjacent node is higher than the software version number of described node, Then carry out software release upgrade according to described upgrading data.

Receive the described node upgrade information that the adjacent node of described node sends, upgrade according to described node Information carries out software release upgrade, particularly as follows: the upgrade information that the adjacent node receiving described node sends, Described upgrade information is used for requiring that described node carries out software release upgrade, comprises institute in described upgrade information State the upgrading data of adjacent node, carry out software release upgrade according to the upgrading data of described adjacent node.

Network management center's broadcast upgrading message, due to various interference present in network, is likely to result in part joint Point does not receives described upgrading message, therefore, and can by the above-mentioned mutual assistance escalation process between node Improve the success rate of node upgrading.

In the embodiment of the present invention, node resolves the upgrading message received, and saves according to the path of upgrading therein The information of point, the information of confined area of upgrading, the software version number of upgrading, it is judged that whether described node For needing the node of upgrading, the most then carry out software release upgrade according to the upgrading data in upgrading message, The upgrading message receiving due to node and sending, all limits the range of nodes involved by upgrading message, subtracts The upgrading message quantity propagated in network during upgrading less, thus avoid the mode because using broadcast to node Send broadcast flooding or broadcast storm that software release upgrade message is caused, and by between node Upgrading is mutually assisted to improve the success rate of node upgrading.

The software release upgrade device being described below in the embodiment of the present invention, refers to Fig. 6, and the present invention implements One embodiment of the software release upgrade device in example includes:

Transmitting element 601, is used for broadcasting upgrading message, comprises the path node of upgrading in described upgrading message Information, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Receive unit 602, for the upgrading feedback information of receiving node.

In software release upgrade device in the embodiment of the present invention, each unit realizes the process of respective function, please Seeing the particular content described in aforementioned embodiment illustrated in fig. 1, here is omitted.

In the embodiment of the present invention, transmitting element 601 broadcasts upgrading message, comprises liter in described upgrading message The information of path node, the information of confined area of upgrading, the software version number of upgrading and the ascending series of level According to, receive the upgrading feedback information of unit 602 receiving node, thus, control to receive upgrading message Range of nodes, the upgrading message quantity propagated in network when reducing upgrading, thus avoid because using broadcast Mode node is carried out broadcast flooding or the broadcast storm that software release upgrade is caused.

For ease of understanding, the software release upgrade device being described in detail below in the embodiment of the present invention, please join Readding Fig. 7, another embodiment of the software release upgrade device in the embodiment of the present invention includes:

Transmitting element 701, is used for broadcasting upgrading message, comprises the path node of upgrading in described upgrading message Information, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Receive unit 702, for the upgrading feedback information of receiving node.

It should be noted that the software release upgrade device in the embodiment of the present invention can further include:

Query unit 703, for inquiring about the information of the software version of each node;

Statistic unit 704, the software version letter of the described each node for inquiring about according to described query unit Breath, adds up the described software version number of nodes less than the software version of upgrading;

Further, transmitting element 701, if being additionally operable to the ratio of described number of nodes more than or equal to preset ratio Example, then broadcast upgrading message.

Software release upgrade device in the embodiment of the present invention can further include:

Indicating member 705, if the ratio for described number of nodes is less than described preset proportion, it indicates that institute State software version less than setting up communication connection, institute between node and its adjacent node of the software version of upgrading It is nearest less than the node of the software version of upgrading apart from described software version for stating adjacent node, and with described Software version is less than the top-quality adjacent node of node communication of the software version of upgrading;

Indicating member 705, is additionally operable to indicate described adjacent node to described software version less than the software upgraded The node of version sends upgrade information, and described upgrade information is for requiring that described software version is less than upgrading The node of software version carries out software release upgrade, comprises upgrading data in described upgrade information.

Concrete indicating mode may refer to show that unit 705 sends instruction message by transmitting element 701, Between node and its adjacent node of the software version that this instruction message is less than upgrading for described software version Set up communication connection, and indicate described adjacent node to described software version less than the software version upgraded Node sends upgrade information.

Software release upgrade device in the embodiment of the present invention can further include:

Judging unit 706, for the upgrading feedback information according to the node received, it may be judged whether exist not Complete the node of software release upgrade;

Designating unit 707, judges to there is the node being not fully complete edition upgrading if being additionally operable to described judging unit, The path then specifying communication quality best carries out software version to the described node being not fully complete software release upgrade Upgrading.

Concrete specific mode may refer to show that unit 705 is sent by transmitting element 701 and specifies message, The path that this appointment message is used for specifying communication quality best is to the described node being not fully complete software release upgrade Carry out software release upgrade.

In software release upgrade device in the embodiment of the present invention, each unit realizes the process of respective function, please Seeing the particular content described in earlier figures 1 and embodiment illustrated in fig. 2, here is omitted.

In the embodiment of the present invention, query unit 703 inquires about the information of the software version of each node, and statistics is single The software version information of described each node that unit 704 is inquired about according to described query unit, adds up described software Version is less than the number of nodes of the software version of upgrading, if the ratio of described number of nodes is more than or equal to preset Ratio, transmitting element 701 is then broadcasted upgrading message, is comprised the path node of upgrading in this upgrading message Information, the information of confined area of upgrading, the software version number of upgrading and upgrading data, thus, control Receive the range of nodes of upgrading message, the upgrading message quantity propagated in network when reducing upgrading, from And avoid because of use broadcast mode to node send software release upgrade message caused broadcast flooding or Broadcast storm, if the ratio of described number of nodes is less than described preset proportion, indicating member 705 then indicates Described software version communicates to connect less than setting up between node and its adjacent node of the software version of upgrading, Then, indicating member 705 indicates described adjacent node to described software version less than the software version upgraded Node send upgrade information, it is desirable to described software version carries out soft less than the node of software version of upgrading Part edition upgrading, it is judged that the upgrading feedback information of the node that unit 706 receives according to reception unit 702, Judge whether to be not fully complete the node of software release upgrade, if described judging unit judges that existence is not fully complete The node of edition upgrading, it is intended that unit 707 then specify the best path of communication quality to described be not fully complete soft The node of part edition upgrading carries out software release upgrade, improves node success rate for upgrading, improves node upgrading Mechanism.

Referring to Fig. 8, another embodiment of the software release upgrade device in the embodiment of the present invention includes:

Receive information unit 801, be used for receiving upgrading message, described upgrading message comprises the path of upgrading The information of node, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Resolution unit 802, receives, for resolving, the described upgrading message that information unit 801 receives;

Sending information unit 803, if being described destination node for described node, or being described path node, Or belong to the node in described confined area, and described software version number is higher than the Current software of described node Version number, then carry out software release upgrade according to the described upgrading data of described reception information unit reception, And broadcast described upgrading message.

In software release upgrade device in the embodiment of the present invention, each unit realizes the process of respective function, please Seeing the particular content described in aforementioned embodiment illustrated in fig. 4, here is omitted.

In the embodiment of the present invention, receive information list 801 and receive upgrading message, described upgrading message comprises The information of path node, the information of confined area of upgrading, the software version number of upgrading and the upgrading of upgrading Data, resolution unit 802 resolves described upgrading message, if described node is described destination node, or is Described path node, or belong to the node in described confined area, and described software version number is higher than described The current software version number of node, sends information unit 803 then according to described reception information unit reception Described upgrading data carry out software release upgrade, and broadcast described upgrading message, receive due to node and send out The upgrading message sent, all limits the range of nodes involved by upgrading message, during minimizing upgrading in network The upgrading message quantity propagated, thus avoid because using the mode of broadcast to send software release upgrade to node Broadcast flooding that message is caused or broadcast storm.

For ease of understanding, the software release upgrade device being described in detail below in the embodiment of the present invention, please join Readding Fig. 9, the further embodiment of the software release upgrade device in the embodiment of the present invention includes:

Receive information unit 901, be used for receiving upgrading message, described upgrading message comprises the path of upgrading The information of node, the information of confined area of upgrading, the software version number of upgrading and upgrading data;

Resolution unit 902, receives, for resolving, the described upgrading message that information unit 901 receives;

Sending information unit 903, if being described destination node for described node, or being described path node, Or belong to the node in described confined area, and described software version number is higher than the Current software of described node Version number, then carry out software release upgrade according to the described upgrading data of described reception information unit reception, And broadcast described upgrading message.

Further, send information unit 903, be additionally operable to periodically ask to look into the adjacent node of described node Ask node upgrade information;

Receive information unit 901, be additionally operable to receive the described node upgrading that the adjacent node of described node sends Information.

It should be noted that the software version device in the present embodiment also includes:

Upgrade unit 904, upgrades for the described node according to described transmission information unit requesting query and believes Cease, or the described node upgrade information of described reception information unit reception carries out software release upgrade.

Further, send information unit 903, be additionally operable to periodically send to the adjacent node of described node look into Inquiry information, described Query Information is for inquiring about the information of the software version of described adjacent node;

Receive information unit 901, be additionally operable to receive the query feedback information that described adjacent node sends, described Query feedback information includes: the software version number of described adjacent node and upgrading data;

Upgrade unit 904, if being additionally operable to the software version number software higher than described node of described adjacent node Version number, then carry out software release upgrade according to described upgrading data.

Further, receive information unit 901, be additionally operable to receive what the adjacent node of described node sent Upgrade information, described upgrade information is used for requiring that described node carries out software release upgrade, and described upgrading is believed Breath comprises the upgrading data of described adjacent node;

Upgrade unit 904, is additionally operable to the upgrading of described adjacent node according to described reception information unit reception Data carry out software release upgrade.

In software release upgrade device in the embodiment of the present invention, each unit realizes the process of respective function, please Seeing the particular content described in earlier figures 4 and embodiment illustrated in fig. 5, here is omitted.

In the embodiment of the present invention, receive information list 901 and receive upgrading message, described upgrading message comprises The information of path node, the information of confined area of upgrading, the software version number of upgrading and the upgrading of upgrading Data, resolution unit 902 resolves described upgrading message, if described node is described destination node, or is Described path node, or belong to the node in described confined area, and described software version number is higher than described The current software version number of node, sends information unit 903 then according to described reception information unit reception Described upgrading data carry out software release upgrade, and broadcast described upgrading message, receive due to node and send out The upgrading message sent, all limits the range of nodes involved by upgrading message, during minimizing upgrading in network The upgrading message quantity propagated, thus avoid because using the mode of broadcast to send software release upgrade to node Broadcast flooding that message is caused or broadcast storm.Send information unit 903 periodically to the phase of described node Neighbors requesting query node upgrade information, receives information unit 901 and receives the adjacent node of described node The described node upgrade information sent, upgrade unit 904 is according to described transmission information unit requesting query Described node upgrade information, or the described node upgrade information of described reception information unit reception carries out software Edition upgrading, improves the success rate of node upgrading by this mutual assistance upgrading between node.

The embodiment of the present invention additionally provides a kind of software release upgrade system, refers to Figure 10, the present embodiment In software release upgrade system include:

Network management center 1001 and node 1002;

Network management center 1001, is used for broadcasting upgrading message, comprises the path joint of upgrading in described upgrading message The information of point, the information of confined area of upgrading, the software version number of upgrading and upgrading data;Receive joint The upgrading feedback information of point;

Node 1002, is used for receiving and parsing through upgrading message, comprises the path of upgrading in described upgrading message The information of node, the information of confined area of upgrading, the software version number of upgrading and upgrading data;If institute Stating node is described destination node, or is described path node, or belongs to the node in described confined area, And described software version number is higher than the current software version number of described node, then according to described reception information list The described upgrading data that unit receives carry out software release upgrade, and broadcast described upgrading message.

In software release upgrade system in the embodiment of the present invention, each device realizes the process of respective function, please Seeing the particular content described in earlier figures 1 to embodiment illustrated in fig. 9, here is omitted.

It will be appreciated by those skilled in the art that all or part of step realizing in above-described embodiment method is can Completing instructing relevant hardware by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..

Above a kind of method for upgrading software version provided by the present invention, Apparatus and system are carried out in detail Introduce, for those skilled in the art, according to the thought of the embodiment of the present invention, in detailed description of the invention And all will change in range of application, in sum, this specification content should not be construed as this Bright restriction.