Summary of the invention
The objective of the invention is to reduce bunch consumption of an energy, prolong the time that leader cluster node is served as bunch head, the life span that also promptly prolongs bunch.
The present invention relates to two classical cluster-dividing methods---minimum ID (Lowest-ID) cluster-dividing method self adaptation weighting as required (AOW) cluster-dividing method.
Minimum ID is one of cluster-dividing method that proposes the earliest, and it is based on the cluster-dividing method of node ID.This method is distributed unique ID for each node, method regulation, the node that has minimum ID in the adjacent node be as bunch head, and one hop neighbor node becomes the member node at this bunch place bunch, and no longer participate in the election of cluster head process, further reduced the number of bunch head.In addition, at some in particular cases, in can consigning to its responsibility bunch, bunch head has the member node of minimum ID.
Minimum ID cluster-dividing method calculates simple, and it is convenient to realize, converges faster.Under mobile environment, bunch first watch of minimum ID method, new frequency was slower, safeguarded that the expense of bunch cost is less.But it does not consider the fairness factor equally, does not consider factors such as load balance yet.This be because, this method tends to select the less node of ID as bunch head, this part node expends too much resource (as energy, disposal ability etc.) owing to serving as bunch head, is unfavorable for prolonging the bulk life time of network.
Self adaptation weighting as required (AOW-Adaptive On-demand Weighting) cluster-dividing method is a kind of cluster-dividing method of considering multiple factor, in this method, each node distributes weights to indicate the degree that is fit to serve as bunch head by a kind of combined weighted method, and weights (Weight) can calculate by a general formula of considering multiple factor:
Weight=a×mobility+b×degree+c×power+d×energy+x (1)
Wherein, mobility represents the mobility of node, and degree represents node degree, and power represents the through-put power of node, and energy represents the dump energy of node.Parameter a, b, c and d are weight factor, and their value is by concrete application and network environment decision, and x represents the influence of other possible factor to combining weights.This method has improved adaptability, flexibility and the versatility of cluster-dividing method.
The comprehensive above-mentioned existing methods characteristics of this method, a kind of new method of bunch head management in Ad Hoc network has been proposed, the minimum ID heuristic of this method utilization is selected a bunch head fast, but leader cluster node can consume excessive power, therefore again bunch in utilize the AOW method to select assistant's node (Assistant Node), and establishing in assistant's node a hop neighbor (except that bunch head) that adds bunch also is bunch interior nodes, Assistant can bunch in handle the data message of its neighbor node, thereby the energy consumption of saving leader cluster node.This method is called the cluster-dividing method (ABCA is Assistant-BasedClustering Algorithm) based on the assistant, and its target is to save the energy of leader cluster node, and equally loaded makes link more stable.
Leader cluster node and bunch initialization adopt minimum ID cluster-dividing method, the purpose of doing like this is to make it possible to fast run-up bunch and select a bunch head, to adapt to the requirement of the quickly networking in some actual environment.After last step sets up, for fear of the too much consumption of a bunch energy, will bunch in carry out choosing of bunch assistant's node.To choosing of assistant's node, take the AOW method, purpose is that load balance preferably can be provided, and avoids upgrading whole network configuration because of bunch consumption of an energy, reduces the expense of bunch maintenance.Because the AOW method itself is utilized comprehensive weights, every index comprehensive can be got up simultaneously, assistant's node of electing like this has good performance, is fit to help the leader cluster node processing information data.Information processing between bunch head is responsible for bunch, assistant's node then help the information processing of bunch head in being responsible for bunch, and the information between them can obtain by mutual interactive information.Assistant's node also has the information of bunch interior nodes simultaneously.It is as shown in Figure 1 cluster structured.
The specific descriptions of ABCA method are as follows:
Suppose that at first the node in the network satisfies following condition:
1) node uses omnidirectional antenna, is operated in semiduplex mode.
2) leader cluster node can use two power modes, uses bigger power be used for bunch between communication, use less power to communicate by letter in being used for bunch.The average power P that receives at range transmission antenna d place
rCan calculate by following formula:
P wherein
0Be the received power near the reference point place, this point and transmitting antenna have one less apart from d
0, n is the path attenuation index.According to this formula, because high-power, must guarantee that therefore bunch head in the network can both receive, and a bunch head spreads all over the whole network, so just will guarantee also can receive this power when d 〉=R (R is a network radius) for communication between being used for bunch.Also have own distinctive received power to calculate under different network models, the implementer can select network model according to concrete network condition, thereby determines powerful numerical value requirement.And low power choice relation to bunch in communication, therefore in the time of will guaranteeing d 〉=r (r is a bunch radius), also can receive this power.
3) each node has unique ID, periodic broadcasting " Hello " message, each node can obtain the information of neighbor node by mutual interactive information, comprise node ID, and the node weights (by mobility, node degree, through-put power and dump energy are formed), node state, node place bunch message (comprise leader cluster node and assistant's node, and this bunch member).
4) cluster-dividing method the term of execution, significant change does not take place in network topology structure.
It is as follows that bunch head of ABCA method and assistant's node are chosen process:
1) utilizes the initialization that minimum ID cluster-dividing method carries out bunch and select a bunch head.
2) each node n passes through periodically mutual " Hello " detection information, determine neighbor node number separately, as its number of degrees dn, and (the desirable number of degrees of node can be emphasized setting in various degree of node degree according to network to calculate its number of degrees and desirable node number of degrees Dideal, for example for Dideal=2 and Dideal=10, the latter more emphasizes node degree) poor, i.e. Dn=|dn-Dideal|.
3) each node n calculate its to all neighbor nodes apart from sum P
n
4) use the average translational speed of each node n to represent mobility M
n
5) because bunch head can consume energy more, the long more energy of time of therefore serving as bunch head will be more little, so can use the time T of each node n as bunch head
nRepresent the energy content of battery that node n has consumed, T
nThe dump energy of more little expression node n is many more, supposes that when initial, each node energy is identical, and a bunch spent energy content of battery is much larger than ordinary node.
6) to each node n calculation combination weights W n=a * D
n+ b * P
n+ c * M
n+ d * T
nWherein, a, b, c, d are weight factor, and a+b+c+d=1, and Mn is an amount of weighing node mobility, and Dn is an amount of weighing node degree, and Pn is an amount of weighing the node through-put power, Tn is an amount of weighing node energy, M
n, D
n, P
nAnd T
nMore little, the expression joint behavior is good more.Then, each node is placed on the Wn that obtains periodically with its node ID and broadcasts to neighbor node in " Hello " message.
7) a bunch hair plays " Weight Inquiry " message, adds up the weights of each node, and the node of therefrom selecting the weights minimum is as assistant's node.
8) assistant's node bunch in a broadcasting bunch of message " Assistant ", announce the assistant's node in oneself being bunch, and its hop neighbor that does not add any bunch also joined this bunch.
9) repeat above step, each node in network or become a bunch head, or all belong to ordinary node or assistant's node of certain bunch.
The method that more than is ABCA is described, and flow chart as shown in Figure 2.
Bunch maintenance of ABCA method is as follows:
The clustering architecture of ABCA cluster-dividing method we can to regard one as be the tree of root with bunch head, as shown in Figure 3.Assistant's node is its two-level node, and ordinary node is a leaf node.After adopting the ABCA cluster-dividing method to form clustering architecture, the node state that we are defined as follows:
CH (Cluster Head): leader cluster node
AN (Assistant Node): assistant's node
ONoCH (Ordinary Neighbor of Cluster Head): one of CH jumps common neighbor node in bunch
ONoAN (Ordinary Neighbor of Assistant Node): one of AN jumps common neighbor node (being that CH needs double bounce to arrive node by AN) in bunch
Its concrete bunch maintenance process is as follows:
1) ONoAN receives the signal strength signal intensity of AN by supervision, observes the separation degree of it and AN with this.(can establish this threshold value is-70dBm when signal strength signal intensity is lower than a certain threshold value, experimental results show that generally when signal strength signal intensity be lower than-during 70dBm, the reception of wireless network has just become unstable with the transmission data) time, then it notifies AN will leave this bunch, this node of AN notice CH will leave this bunch, seek other bunches adding.
2) ONoCH receives the signal strength signal intensity of CH by supervision, observes the separation degree of it and CH with this.(can establish this threshold value is-70dBm when signal strength signal intensity is lower than a certain threshold value, experimental results show that generally when signal strength signal intensity be lower than-during 70dBm, the reception of wireless network has just become unstable with the transmission data), if it is the hop neighbor of AN simultaneously, then by monitoring signal strength signal intensity, decide it to leave this bunch or become ONoAN from AN.When the signal strength signal intensity of AN was higher than threshold value, its state of notice bunch head became ONoAN, otherwise notice bunch head will leave this bunch, seek other bunches adding.
3) AN is by receiving the signal strength signal intensity of CH by supervision, observes the separation degree of it and CH with this.When signal strength signal intensity is lower than a certain threshold value (can establish this threshold value and be-70dBm, experimental results show that generally when signal strength signal intensity be lower than-during 70dBm, the reception of wireless network with send data and just become unstable), AN notifies ONoAN and CH will leave this bunch.CH change neighbor node table, new " Weight Inquiry " message of initiating of laying equal stress on is selected new assistant's node.ONoAN receives that the message of AN also announces to leave this bunch, seeks new bunch adding.
(residue energy of node Et was lower than value when 4) energy that detects oneself as CH was lower than the threshold value of setting
The time, E wherein
0Be node primary power, P
MinBe the minimum power that the node transmission data that drawn when the d=R by formula (2) need be used, P
0Be the received power near the reference point place, this point and transmitting antenna have one less apart from d
0, R is a network radius, n is the path attenuation index, t is the operating time of node), CH notice AN allows it serve as a bunch head, and oneself then transfers assistant's node to, and ONoCH becomes ONoAN, and ONoAN becomes ONoCH, this moment, this bunch member did not still become, and still was tree.If the energy of AN also is lower than this threshold value, then bunch head is announced to dismiss this bunch, and bunch interior nodes all goes to seek new bunch adding.
5) when a node be ONoCH be again ONoAN, then its state is defaulted as ONoCH.
6) node in network is by moving, and when entering in two bunches of scopes simultaneously, it is according to weights its last a hop neighbor node relatively, and the less node place of adding weights bunch becomes this bunch member.
This method is intended to propose new cluster-dividing method thought---band assistant's cluster-dividing method.Because assistant's node is the node of the optimum selected according to the weight size in bunch first hop neighbor, has higher combination property.When the leader cluster node energy was low, assistant's node can be served as the role of its bunch head, and the sub-clustering once more that produces because of bunch consumption of an energy has been avoided in equally loaded, has stablized clustering architecture.