Embodiment
Below in conjunction with the drawings and specific embodiments, further illustrate the technical scheme of the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method for upgrading software version, Apparatus and system, for by specifying the mode of the scope of upgrade node, produces broadcast inundation while controlling broadcast node upgrading message.
As information gathering network system framework, because of the nonuniformity of its collecting device, so be a key problem in technology point of information gathering network system to seeking the method for specified node upgrading or the upgrading of network node section.Especially when information gathering network system is that because of the transmission particularity demand of wireless communication technology to upgrading message, this has just increased the research and development difficulty of network node software module dynamic update based on wireless communications mode lower time.
Method for upgrading software version in the embodiment of the present invention has versatility, can be applicable to information gathering network system, also can be applicable in the network system of other various multipaths.
Refer to Fig. 1, an embodiment of the method for upgrading software version in the embodiment of the present invention comprises:
101, network management center broadcast upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
Network management center's establishment broadcast packet are containing the broadcast packe upgrading message of upgrade node and confined area thereof, in this upgrading message, at least comprise the information of the path node of upgrading, the information of the confined area of upgrading, software version number and the upgrade data of upgrading, wherein, the information of path node can comprise destination node identify label (ID, Identity), approach node ID collection, source node ID, software version number refers to the object version number of upgrading, upgrade data carries out software release upgrade for node, patch data for current upgrading needs, be generally the variance data of latest edition software data and previous release software data.
It should be noted that, destination node is the node that upgrading message will arrive, approach node is the node of upgrading message approach, source node is the node that sends upgrading message, destination node and approach node are all the nodes of preparing upgrading, confined area represents the transmission coverage of upgrading message, as node one jumping apart from upgrading path or the related region of node of double bounce.
Particularly, the data format of this upgrading message please see the following form:
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 network, in described upgrading message, comprise the ID of the destination node of upgrading, information and the software version number of the ID collection of approach node, confined area, make the node that receives this upgrading message carry out software release upgrade, like this, all genus upgrading message are by way of all nodes in region, all need upgrading message to force to resolve, judged 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, in this upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data, thus, control receives the range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thus avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes.Simultaneously, owing to not needing to indicate one by one by way of network node, so do not increase too many transmission time complexity in the data structure of upgrading message, and automatically processed by these path nodes by way of the upgrading of node resident software, this has just greatly reduced time complexity and the space complexity of the behavior of calculating on network protocol layer, tradition is transferred to Routing Protocol layer by network layer handles event simultaneously and process, it is simplified and has established solid foundation for the interlayer agreement of the network system.
For ease of understanding, with another embodiment, describe the method for upgrading software version in the embodiment of the present invention in detail below, refer to Fig. 2, another embodiment of the method for upgrading software version in the embodiment of the present invention comprises:
201, inquire about the information of the software version of each node, add up described software version lower than the number of nodes of the software version of upgrading;
The information of the software version of network management center's each node of inquiry the whole network, the number of nodes according to software version described in the Information Statistics that inquire lower than the software version of upgrading.
If software version is more than or equal to preset proportion lower than the ratio of the number of nodes of updating software release, perform step 202, if software version is less than preset proportion lower than the ratio of the number of nodes of updating software release, perform step 203.
If 202 software versions are more than or equal to preset proportion lower than the ratio of the number of nodes of updating software release, broadcast upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
If software version is greater than preset proportion lower than the ratio of the number of nodes of updating software release, network management center broadcasts described upgrading message, and wherein, the size of preset proportion is relevant to the practical application situation of nodes, does not do concrete restriction herein.
In the upgrading message that network management center sends, at least comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data, wherein, the information of path node can comprise destination node ID, approach node ID collection, source node ID, software version number refers to the object version number of upgrading, upgrade data carries out software release upgrade for node, for the patch data that current upgrading needs, be generally the variance data of latest edition software data and previous release software data.
It should be noted that, destination node is the node that upgrading message will arrive, approach node is the node of upgrading message approach, source node is the node that sends upgrading message, destination node and approach node are all the nodes of preparing upgrading, confined area represents the transmission coverage of upgrading message, as node one jumping apart from upgrading path or the related region of node of double bounce.
Particularly, the data format of this upgrading message is asked 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, illustrate network management center below and control node upgrading, refer to Fig. 3, for example, the carry out software release upgrade of node M to node 536, can be the carry out software release upgrade of the specified node M of network management center to node 536, also can be that node M starts the software release upgrade of carrying out to node 536, if selected upgrading path is: node M-node 638-node 66-node 51-node 536, in transmitted in packets upgrading message, source node ID is set to M, destination node ID is set to 536, path node ID collection is set to 538, 66, 51, software version number is by the object version number of node 536 upgradings, confined area is set to a jumping region, then this upgrading message grouping is sent.Upgrading message will be covered along network path and be launched by communications, upgrading message by way of all nodes receiving after upgrading message, software version number in upgrading message is carried out to version parsing, if meet upgrade requirement, path node will utilize transfer of data slot time to realize immediately dynamic update, and during transfer of data time slot, upgrading message be continued to broadcast.Allly be transmitted each intermediate node that path covers, comprise apart from the node of upgrading path node one long-jump and all repeat aforesaid operations, until upgrading message arrives destination node.As the node 538 of upgrading on trunk path, node 77, node 9, node 246 apart from its long-jump all will be resolved upgrading message, and will ignore this upgrading message apart from node 6, node 71, the node 136 of its two long-jump, thereby play the effect of controlling broadcast inundation.
If 203 software versions are less than preset proportion lower than the ratio of the number of nodes of updating software release, indicate described software version lower than establishing a communications link between the node of software version of upgrading and its adjacent node;
If software version is less than preset proportion lower than the ratio of the number of nodes of updating software release, represent that in network, software version is less lower than the number of nodes of updating software release, can by with described adjacent node between the upgrading of having communicated by letter, can, by communication upgrading between the regular starter node of described adjacent node, also can lower than communication between the regular starter node of node of updating software release, be upgraded by described software version.
Further, according to node layout and internodal communication quality, indication is lower than establishing a communications link between the node of updating software release and the adjacent node of the described node lower than updating software release, can, by the mode to described adjacent node and/or the described node lower than updating software release transmission indication information, realize indication lower than establishing a communications link between the node of updating software release and the adjacent node of the described node lower than updating software release.
Concrete, described in chosen distance, software version is nearest lower than the node of the software version of upgrading, and with the node communication top-quality adjacent node of described software version lower than the software version of upgrading, as with the described adjacent node establishing a communications link lower than the node of updating software release, guarantee the transmission success rate of upgrade information.
204, indicate described adjacent node lower than the node of updating software release, to send upgrade information to described software version;
After establishing a communications link between this software version is lower than the node of updating software release and this adjacent node, network management center indicates described adjacent node lower than the node of updating software release, to send upgrade information to described software version, described upgrade information is for requiring described software version to carry out software release upgrade lower than the node of the software version of upgrading, to assist described software version to carry out software release upgrade lower than the node of the software version of upgrading, the upgrade data that comprises described adjacent node in described upgrade information, can be by send the mode of indication information to adjacent node, the described adjacent node of realization indication is the node transmission upgrade information lower than updating software release to described software version.
It should be noted that, the software version of described adjacent node is the node lower than the software version of upgrading higher than described software version generally, therefore, conventionally network center specifies by described adjacent node and regularly to described software version, lower than the node of the software version of upgrading, sends upgrade information.
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 receiving, judge whether to have existed the node of software release upgrade;
207, if so, software release upgrade is carried out to the described node that does not complete software release upgrade in the top-quality path of designated communication.
If there is the node of software release upgrade, network management center sends and specifies upgrading message according to the node layout that does not complete software release upgrade, and software release upgrade is carried out to the described node that does not complete software release upgrade in the top-quality path of designated communication.
In data acquisition system, technique scheme can be carried out specified node upgrading, part of nodes or complete trails by way of the synchronous upgrading of node to the software of the data acquisition node on any predefined paths in network, although and the upgrading message of transmitting in escalation process and data still appear in network section with broadcast mode, its broadcast area is because of the limited inundation that there will not be.
In the embodiment of the present invention, add up described software version lower than the number of nodes of the software version of upgrading, if software version is more than or equal to preset proportion lower than the ratio of the number of nodes of updating software release, broadcast upgrading message, the information that comprises the path node of upgrading in this upgrading message, the information of the confined area of upgrading, software version number and the upgrade data of upgrading, thus, control receives the range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thereby avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes, if software version is less than preset proportion lower than the ratio of the number of nodes of updating software release, indicate described software version lower than establishing a communications link between the node of software version of upgrading and its adjacent node, and indicate described adjacent node lower than the node of updating software release, to send upgrade information to described software version, assist it to complete upgrading, finally, according to the upgrading feedback information of node, software release upgrade is not carried out to completing the node of software release upgrade in the top-quality path of designated communication, improve node success rate for upgrading, improve node upgrade mechanism.
Above Shi Cong network management center side is described the method for upgrading software version in the embodiment of the present invention, from node side, the method for upgrading software version the embodiment of the present invention is described below, refer to Fig. 4, another embodiment of the method for upgrading software version in the embodiment of the present invention comprises:
401, node receives and resolves upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
In the upgrading message that node receives and resolves, at least comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data, wherein, the information of path node can comprise destination node ID, approach node ID collection, source node ID, software version number refers to the object version number of upgrading, upgrade data carries out software release upgrade for node, for the patch data that current upgrading needs, be generally the variance data of latest edition software data and previous release software data.
It should be noted that, destination node is the node that upgrading message will arrive, approach node is the node of upgrading message approach, source node is the node that sends upgrading message, destination node and approach node are all the nodes of preparing upgrading, confined area represents the transmission coverage of upgrading message, as node one jumping apart from upgrading path or the related region of node of double bounce.
Particularly, the data format of this upgrading message is asked 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 the node in described confined area, and described software version number is higher than the current software version number of described node, carries out software release upgrade, and broadcasts described upgrading message.
Upgrading message is covered along network path and is launched by communications, node is resolved it after receiving upgrading message, when node is certainly as destination node, or be path node, or belong to the node in confined area, and the software version number in upgrading message is higher than the current software version number of this node, decision node is from the node as needs upgrading, so carry out software release upgrade, utilize transmission data slot interval to realize immediately dynamic update, and in network, broadcast this upgrading message, this upgrading message is continued to send.
In the embodiment of the present invention, node is resolved the upgrading message of receiving, according to the information of the path node of upgrading wherein, the information of the confined area of upgrading, the software version number of upgrading, judge whether described node is the node that needs upgrading, if, according to the upgrade data in upgrading message, carry out software release upgrade, upgrading message due to node reception and transmission, all limited the related range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thereby avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes.
For ease of understanding, refer to Fig. 5, another embodiment of the method for upgrading software version in the embodiment of the present invention comprises:
501, node receives and resolves upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
In the upgrading message that node receives and resolves, at least comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data, wherein, the information of path node can comprise destination node ID, approach node ID collection, source node ID, software version number refers to the object version number of upgrading, upgrade data carries out software release upgrade for node, for the patch data that current upgrading needs, be generally the variance data of latest edition software data and previous release software data.
It should be noted that, destination node is the node that upgrading message will arrive, approach node is the node of upgrading message approach, source node is the node that sends upgrading message, destination node and approach node are all the nodes of preparing upgrading, confined area represents the transmission coverage of upgrading message, as node one jumping apart from upgrading path or the related region of node of double bounce.
If 502 described nodes are described destination node, or be described path node, or belong to the node in described confined area, and described software version number is higher than the current software version number of described node, according to described upgrade data, carry out software release upgrade, and broadcast described upgrading message;
Upgrading message is covered along network path and is launched by communications, node is resolved it after receiving upgrading message, when node is certainly as destination node, or be path node, or belong to the node in confined area, and the software version number in upgrading message is higher than the current software version number of this node, decision node is from the node as needs upgrading, so carry out software release upgrade, utilize transmission data slot interval to realize immediately dynamic update, and in network, broadcast this upgrading message, this upgrading message is continued to send, otherwise, directly to other node transparent transmission upgrading message, and shielding software upgrading window.
Although the approach node on upgrading path is not designated, but this approach node as long as upgrading message is flowed through, this approach node contrasts the software version of the updating software release in upgrading message and this approach node this locality, if described updating software release is higher than the software version of described approach node, carry out software release upgrade, thereby realize network upgrade software upgrading message flow through the auto-update of node.
503, regularly to the adjacent node requesting query node upgrade information of described node, or receive the described node upgrade information that the adjacent node of described node sends, according to described node upgrade information, carry out software release upgrade.
The regular adjacent node requesting query node upgrade information to described node, according to described node upgrade information, carry out software release upgrade, can be specially: regularly the adjacent node to described node sends Query Information, described Query Information is for inquiring about the information of the software version of described adjacent node, receive the query feedback information that described adjacent node sends, described query feedback information comprises: the software version number of described adjacent node and upgrade data, if the software version number of described adjacent node is higher than the software version number of described node, according to described upgrade data, carry out software release upgrade.
Receive the described node upgrade information of the adjacent node transmission of described node, according to described node upgrade information, carry out software release upgrade, be specially: the upgrade information that receives the adjacent node transmission of described node, described upgrade information is used for requiring described node to carry out software release upgrade, the upgrade data that comprises described adjacent node in described upgrade information, carries out software release upgrade according to the upgrade data of described adjacent node.
Network management center's broadcast upgrading message, due to the various interference that exist in network, may cause part of nodes not receive described upgrading message, therefore, can improve the success rate of node upgrading by the above-mentioned mutual assistance escalation process between node.
In the embodiment of the present invention, node is resolved the upgrading message of receiving, according to the information of the path node of upgrading wherein, the information of the confined area of upgrading, the software version number of upgrading, judge whether described node is the node that needs upgrading, if, according to the upgrade data in upgrading message, carry out software release upgrade, upgrading message due to node reception and transmission, all limited the related range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thereby avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes, and improve the success rate of node upgrading by the mutual assistance upgrading between node.
Introduce the software release upgrade device in the embodiment of the present invention below, refer to Fig. 6, an embodiment of the software release upgrade device in the embodiment of the present invention comprises:
Transmitting element 601, for broadcasting upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
Receiving element 602, for the upgrading feedback information of receiving node.
In software release upgrade device in the embodiment of the present invention, the process of function is separately realized in each unit, refers to the particular content of aforementioned middle description embodiment illustrated in fig. 1, repeats no more herein.
In the embodiment of the present invention, transmitting element 601 broadcast upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data, the upgrading feedback information of receiving element 602 receiving nodes, thus, control receives the range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thus avoid because adopting the mode of broadcast to carry out to node broadcast inundation or the broadcast storm that software release upgrade causes.
For ease of understanding, introduce in detail the software release upgrade device in the embodiment of the present invention below, refer to Fig. 7, another embodiment of the software release upgrade device in the embodiment of the present invention comprises:
Transmitting element 701, for broadcasting upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
Receiving element 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, for according to the software version information of described each node of described query unit inquiry, adds up described software version lower than the number of nodes of the software version of upgrading;
Further, transmitting element 701, if be also more than or equal to preset proportion for the ratio of described number of nodes, broadcasts 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, indicate described software version lower than establishing a communications link between the node of software version of upgrading and its adjacent node, described adjacent node is that the described software version of distance is nearest lower than the node of software version of upgrading, and with the node communication top-quality adjacent node of described software version lower than the software version of upgrading;
Indicating member 705, also be used to indicate described adjacent node and lower than the node of the software version of upgrading, send upgrade information to described software version, described upgrade information, for requiring described software version to carry out software release upgrade lower than the node of the software version of upgrading, comprises upgrade data in described upgrade information.
Concrete indicating mode can be that indicating member 705 sends Indication message by transmitting element 701, this Indication message lower than establishing a communications link between the node of software version of upgrading and its adjacent node, and indicates described adjacent node lower than the node of the software version of upgrading, to send upgrade information to described software version for described software version.
Software release upgrade device in the embodiment of the present invention can further include:
Judging unit 706, for according to the upgrading feedback information of the node receiving, judges whether to have existed the node of software release upgrade;
Designating unit 707, if also there is the node of edition upgrading for described judging unit judgement, software release upgrade is carried out to the described node that does not complete software release upgrade in the top-quality path of designated communication.
Concrete specific mode can be that indicating member 705 sends specify message by transmitting element 701, and this specify message is used to specify the best path of communication quality the described node that does not complete software release upgrade is carried out to software release upgrade.
In software release upgrade device in the embodiment of the present invention, the process of function is separately realized in each unit, refers to the particular content of earlier figures 1 and middle description embodiment illustrated in fig. 2, repeats no more herein.
In the embodiment of the present invention, the information of the software version of query unit 703 each nodes of inquiry, statistic unit 704 is according to the software version information of described each node of described query unit inquiry, add up described software version lower 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 proportion, 701 broadcast upgrading message of transmitting element, the information that comprises the path node of upgrading in this upgrading message, the information of the confined area of upgrading, software version number and the upgrade data of upgrading, thus, control receives the range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thereby avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes, if the ratio of described number of nodes is less than described preset proportion, the described software versions of 705 of indicating members indication are lower than establishing a communications link between the node of the software version of upgrading and its adjacent node, then, the described adjacent node of indicating member 705 indication is the node transmission upgrade information lower than the software version of upgrading to described software version, require described software version to carry out software release upgrade lower than the node of the software version of upgrading, the upgrading feedback information of the node that judging unit 706 receives according to receiving element 702, judge whether to have existed the node of software release upgrade, if there is the node of edition upgrading in described judging unit judgement, software release upgrade is carried out to the described node that does not complete software release upgrade in 707 top-quality paths of designated communication of designating unit, improve node success rate for upgrading, improve node upgrade mechanism.
Refer to Fig. 8, another embodiment of the software release upgrade device in the embodiment of the present invention comprises:
Receive information unit 801, for receiving upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
Resolution unit 802, receives for resolving the described upgrading message that information unit 801 receives;
Send information unit 803, if be described destination node for described node, or be described path node, or belong to the node in described confined area, and described software version number is higher than the current software version number of described node, the described upgrade data receiving according to described reception information unit carries out software release upgrade, and broadcasts described upgrading message.
In software release upgrade device in the embodiment of the present invention, the process of function is separately realized in each unit, refers to the particular content of aforementioned middle description embodiment illustrated in fig. 4, repeats no more herein.
In the embodiment of the present invention, reception information list 801 receives upgrading message, the information that comprises the path node of upgrading in described upgrading message, the information of the confined area of upgrading, software version number and the upgrade data of upgrading, resolution unit 802 is resolved described upgrading message, if described node is described destination node, or be described path node, or belong to the node in described confined area, and described software version number is higher than the current software version number of described node, send 803 described upgrade datas that receive according to described reception information unit of information unit and carry out software release upgrade, and broadcast described upgrading message, upgrading message due to node reception and transmission, all limited the related range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thereby avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes.
For ease of understanding, introduce in detail the software release upgrade device in the embodiment of the present invention below, refer to Fig. 9, another embodiment of the software release upgrade device in the embodiment of the present invention comprises:
Receive information unit 901, for receiving upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data;
Resolution unit 902, receives for resolving the described upgrading message that information unit 901 receives;
Send information unit 903, if be described destination node for described node, or be described path node, or belong to the node in described confined area, and described software version number is higher than the current software version number of described node, the described upgrade data receiving according to described reception information unit carries out software release upgrade, and broadcasts described upgrading message.
Further, send information unit 903, also for the regular adjacent node requesting query node upgrade information to described node;
Receive information unit 901, the described node upgrade information also sending for receiving the adjacent node of described node.
It should be noted that, the software version device in the present embodiment also comprises:
Upgrading unit 904, for according to the described node upgrade information of described transmission information unit requesting query, or the described node upgrade information that described reception information unit receives carries out software release upgrade.
Further, send information unit 903, also for the regular adjacent node to described node, send Query Information, described Query Information is for inquiring about the information of the software version of described adjacent node;
Receive information unit 901, the query feedback information also sending for receiving described adjacent node, described query feedback information comprises: the software version number of described adjacent node and upgrade data;
Upgrading unit 904, if the software version number higher than described node for the software version number of described adjacent node also is carried out software release upgrade according to described upgrade data.
Further, receive information unit 901, the upgrade information also sending for receiving the adjacent node of described node, described upgrade information is used for requiring described node to carry out software release upgrade, comprises the upgrade data of described adjacent node in described upgrade information;
Upgrading unit 904, also for carrying out software release upgrade according to the upgrade data of the described adjacent node of described reception information unit reception.
In software release upgrade device in the embodiment of the present invention, the process of function is separately realized in each unit, refers to the particular content of earlier figures 4 and middle description embodiment illustrated in fig. 5, repeats no more herein.
In the embodiment of the present invention, reception information list 901 receives upgrading message, the information that comprises the path node of upgrading in described upgrading message, the information of the confined area of upgrading, software version number and the upgrade data of upgrading, resolution unit 902 is resolved described upgrading message, if described node is described destination node, or be described path node, or belong to the node in described confined area, and described software version number is higher than the current software version number of described node, send 903 described upgrade datas that receive according to described reception information unit of information unit and carry out software release upgrade, and broadcast described upgrading message, upgrading message due to node reception and transmission, all limited the related range of nodes of upgrading message, the upgrading message quantity of propagating in network while reducing upgrading, thereby avoid because adopting the mode of broadcast to send to node broadcast inundation or the broadcast storm that software release upgrade message causes.Send the regular adjacent node requesting query node upgrade information to described node of information unit 903, receive the described node upgrade information that information unit 901 receives the adjacent node transmission of described node, upgrading unit 904 is according to the described node upgrade information of described transmission information unit requesting query, or the described node upgrade information that described reception information unit receives carries out software release upgrade, the success rate of upgrading by this mutual assistance upgrading raising node between node.
The embodiment of the present invention also provides a kind of software release upgrade system, refers to Figure 10, and the software release upgrade system in the present embodiment comprises:
Network management center 1001 and node 1002;
Network management center 1001, for broadcasting upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data; The upgrading feedback information of receiving node;
Node 1002, for receiving and resolve upgrading message, in described upgrading message, comprise the information of the path node of upgrading, the information of the confined area of upgrading, the software version number of upgrading and upgrade data; If described node is described destination node, or be described path node, or belong to the node in described confined area, and described software version number is higher than the current software version number of described node, the described upgrade data receiving according to described reception information unit carries out software release upgrade, and broadcasts described upgrading message.
In software release upgrade system in the embodiment of the present invention, each device is realized the process of function separately, refers to earlier figures 1 to the particular content of middle description embodiment illustrated in fig. 9, repeats no more herein.
It will be appreciated by those skilled in the art that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning 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 described in detail, for those skilled in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.