CN104469879A - Dynamic k value clustering routing method - Google Patents

Dynamic k value clustering routing method Download PDF

Info

Publication number
CN104469879A
CN104469879A CN201410794524.2A CN201410794524A CN104469879A CN 104469879 A CN104469879 A CN 104469879A CN 201410794524 A CN201410794524 A CN 201410794524A CN 104469879 A CN104469879 A CN 104469879A
Authority
CN
China
Prior art keywords
bunch
node
network
value
head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410794524.2A
Other languages
Chinese (zh)
Other versions
CN104469879B (en
Inventor
吴黎兵
聂雷
杜锦
彭红梅
邹逸飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201410794524.2A priority Critical patent/CN104469879B/en
Publication of CN104469879A publication Critical patent/CN104469879A/en
Application granted granted Critical
Publication of CN104469879B publication Critical patent/CN104469879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • H04W40/10Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources based on available power or energy
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a dynamic k value clustering routing method. According to the method, the clustering structure of a network is partitioned in the first round of each period, the effective k value of the network is calculated according to the current network clustering situation and energy distribution, the clustering structure is kept unchanged in the following k rounds, and only cluster head updating is carried out in a cluster. The k value will be recalculated at the beginning time of each period, and therefore the number of the rounds of the network periods is dynamically changed; influences of poor clustering on the performance of the network can be effectively lowered through dynamical setting of the network clustering periods, the energy utilization rate of network nodes can be improved, and loads of nodes in the cluster can be effectively balanced.

Description

A kind of dynamically k value cluster routing method
Technical field
The present invention relates to Cluster-Based Routing Protocols for Wireless Sensor field, particularly a kind of dynamically k value cluster routing method.
Background technology
In wireless sensor network, distribution sensor node is in a network responsible for gathering the Various types of data in environment, and data are periodically sent to base station.Due to sensor node finite energy, each operation gathering and send data all can consume certain energy.Along with the operation of network, increasing node is dead due to depleted of energy, causes the performance of network constantly to decline and even paralyses.In traditional wireless sensor network, node is all transmit the data of collection by directly carrying out communicating with base station, and energy consumption size and node to base station distance be directly proportional, this process need lot of energy.In order to make node energy more for data acquisition, need to introduce Routing Protocol in wireless sensor network, this also becomes a study hotspot in wireless senser field.
At present existingly a lot carried out based on the energy-saving routing protocol of wireless sensor network, substantially they can be divided into plane Routing Protocol and clustering route protocol from the angle of network topology structure.In plane Routing Protocol, the status of each network node is equality, and they generate route by partial operation each other and information feed back.In this quasi-protocol, destination node sends querying command to the node of monitored area, after the node in monitored area receives querying command, sends Monitoring Data to destination node.Plane Routing Protocol due to each node equal, so network configuration simply, is easily expanded, not easily produce bottleneck effect, but owing to lacking management node, thus the optimization to communication data is lacked, self-organizing collaborative work algorithm is also very complicated, and comparatively slow to network dynamic change reaction speed, typical plane Routing Protocol has SPIN, SAR etc.
Plane of comparing Routing Protocol, the network in clustering route protocol is divided into multiple bunches, and each bunch is made up of ordinary node and leader cluster node.Ordinary node completes the collection of data and data is mail to a bunch head, leader cluster node to be responsible for bunch in the management of member node and data message and data bunch between forward, in addition bunch head can also to coordinate bunch in work between member node.The advantage of clustering route protocol is that bunch head has merged data that node sends and then forwarded, and can greatly reduce the traffic in network, member node function is fairly simple, need not maintaining routing information.Simultaneously with plane road by compared with, more easily overcome sensor node and move the problem brought.
Clustering route protocol can be divided into single-hop clustering route protocol and multi-hop clustering route protocol according to the difference of data transfer mode.The typical feature of single-hop clustering route protocol is: bunch head in network, after collecting the data that each member node sends, directly can send to base station by after data fusion.And in the network using multi-hop clustering route protocol, leader cluster node sends to last layer leader cluster node after the data that member node is sent being merged, data can via the path transmission designed to base station.The typical feature of multi-hop clustering route protocol is, leader cluster node is not only responsible for the transfer of data in this bunch, is also responsible for the transfer of data of lower level node bunch simultaneously.
In the network that have employed single-hop clustering route protocol, the node division of labor in network is clear and definite: ordinary node is responsible for collecting data and is sent the data to the leader cluster node at place bunch, leader cluster node be responsible for receive bunch in member node gather data, and directly send to base station by after data fusion, simultaneously when local choosing bunch, be responsible for selecting new bunch of head, then bunch in broadcast packet containing the message packet of gap information and new bunch of header.
LEACH-C agreement is typical single-hop clustering route protocol.In the network using LEACH-C agreement, base station collect at every turn one take turns the data that all nodes collect after, can sub-clustering again be carried out.Again, during sub-clustering, the information of self must be sent to base station by each node in network, the direct shortcoming of this agreement be exactly frequently clustering operation cause node to consume unnecessary energy.Have researcher to propose LEACH-EB agreement, in LEACH-EB agreement, network cycle expands to 1+k wheel for this reason.Within each cycle, the first round carries out a bunch head and selects and divide network cluster dividing structure, then keeps cluster structured constant at ensuing k wheel, and in each bunch, only carry out bunch first watch new.Effectively can reduce the number of times of network cluster dividing operation in this way, thus extend Network morals.But the k value in LEACH-EB agreement is changeless, owing in infonnation collection process interior joint Energy distribution being variation in real time, the cluster structured of each cycle is change simultaneously, adopts fixed k to be difficult to the demand meeting network dynamic change.
Summary of the invention
The present invention is directed to the deficiency of existing LEACH-EB agreement, propose a kind of dynamically k value cluster routing method.
Technical scheme of the present invention is: a kind of dynamically k value cluster routing method, comprises the steps:
Step 1, at deployment base station, monitored area and sensor node, sensor node is started working and self-organizing forms wireless sensor network;
Step 2, all nodes in network send the packet comprising self-position and dump energy information to base station; After the packet of all nodes is collected in base station, calculate the dump energy mean value E of surviving node in current network average, and select residue energy of node higher than E averagenode alternatively bunch head, generate candidate cluster head set;
Step 3, base station solves best sub-clustering mode, calculates the effective k value of rational network simultaneously, and by these information broadcastings;
Step 4, after the node in network receives the sub-clustering packets of information of base station broadcast, searches bunch head ID at self place bunch; If bunch head ID at self ID and place bunch is identical, then node self is elected as a bunch head, and node travels through a sub-clustering message bag according to bunch head ID simultaneously, the id information of all member node in collection bunch; If node finds certainly as ordinary node after receiving sub-clustering packets of information, so node enters wait state, until receive bunch head broadcast message at place bunch, the distribution time slot of each node in wherein comprising bunch, bunch interior nodes obtains the time slot that self sends data from message packet;
Step 5, enter the stabilization sub stage of transfer of data, bunch interior nodes sends bunch head of data message to place bunch of themselves capture at assigned timeslot, after bunch head receives the data message that all member node send, data are carried out merging and forwarding give base station, after the stabilization sub stage terminates, go to step 6;
Step 6, network has completed the 1st of one-period and has taken turns, and enters local subsequently and selects manifold flow journey, namely keeps cluster structured constant at ensuing k wheel, and in each bunch, only carry out bunch first watch new.7 are gone to step after local choosing bunch terminates;
Step 7, judges that whether nodes is all dead, is terminate current process, otherwise goes to step 2.
As preferably, in described step 3, base station traversal candidate cluster head set, based on member node in all bunches to bunch head square distance and minimum principle, adopts simulated annealing to solve the sub-clustering mode of the best.
As preferably, in described step 3, calculate an effective k value of rational network according to network cluster dividing situation and node energy distribution, the computational methods of described rational network effective k value are as follows:
Suppose there be m bunch in network after the 1st polling bunch completes, bunch numbering be respectively C 1, C 2..., C m, the node number in each bunch is respectively N 1, N 2..., N m, leader cluster node numbering is respectively CH 1, CH 2..., CH m, for the i-th bunch, N in bunch ithe numbering of individual node is respectively C i1, C i2..., in order to the effective k value of computing network, this method introduces the concept of " parallel bunch of head ", " in bunch effective k value " and " the effective k value of network ".
This method serves as the ability of bunch head according to formula (1) computing node;
T ( C ij ) = E ( C ij ) p × D C ij → BS 2 + ( 1 - p ) × D C ij → others - - - ( 1 )
Wherein C ijthe node of j is numbered, T (C in representing the i-th bunch ij) represent node C ijability weights, E (C ij) represent node C ijdump energy, represent node C ijto the distance of base station, represent node C ijto bunch in the quadratic sum of other nodal distances, balance factor p be used for adjustment node to base station distance and node bunch in position node served as to the impact of bunch head, the value of p, between 0 to 1, has simultaneously:
D C ij → others = Σ h = 1 N i D C ij → C ih 2 - - - ( 2 )
Wherein the node being numbered j in representing the i-th bunch is to the distance of node being numbered h.
Define 1. parallel bunches of heads: if node C ijability weights be more than or equal to bunch head CH at place bunch iability weights T (CH i), then this node parallel bunch of head being bunch, namely has T (C ij)>=T (CH i).
Effective k value in defining 2. bunches: in network single bunch can carry out local bunch first watch new number of times be called this bunch bunch in effective k value, if bunch C iparallel bunch of head number be z, so have k (C i)=z.
The parallel bunch of head of in network each bunch is found out, existing hypothesis bunch C according to definition 1 iparallel bunch of head number be z, so bunch C ican carry out local bunch first watch new number of times is z, this method one bunch can be carried out local bunch first watch new number of times as this bunch bunch in effective k value.
When the node of ability maximum weight during bunch head is bunch, the value of z is 0; This method is provided with a lower limit x during effective k value in compute cluster, improvement bunch in effectively k value calculating method is as follows:
k(C i)=max{x,z}(2≤x≤5) (3)
Wherein lower limit x gets the random integers between 2 to 5.
Define 3. network effective k value: in network in one-period all bunches carry out new number of times on bunch first watch, be designated as NK.
By formula (3) to obtain in network each bunch bunch in effective k value, this method using bunch in all nodes to the mean value of base station distance as bunch to the distance of base station, by the ratio square to base station distance maximum bunch in the distance and network of base station bunch, as bunch in effectively k value relative to the weight factor of the effective k value of network.Bunch to the computational methods of base station distance as shown in formula (4):
D ( C i ) = Σ j = 1 N i D C ij → C BS N i ( 4 )
Wherein N irepresent the node number of bunch i, represent node C ijto the distance of base station.
Bunch C ithe computational methods of weight factor are as shown in formula (5);
WF ( C i ) = D 2 ( C i ) D 2 max - - - ( 5 )
Wherein D (C i) represent bunch C ito the distance of base station, D maxto represent in network bunch the maximum to base station distance.
In conjunction with formula (3), (4) and (5), the computing formula deriving network effective k value is as follows:
NK = Σ i = 1 m WF ( C i ) × k ( C i ) m ( 6 )
Wherein WF (C i) represent bunch C iweight factor, k (C i) represent bunch C iparallel bunch of head number.
As preferably, described p span is 0.7 to 0.9.
As preferably, described p value is 0.8.
As preferably, in step 6, described local bunch head renewal process, comprises the steps:
Step 6.1, members list in former bunch of head traversal bunch, according to the ability weights of formula (1) and (2) calculating member node, the node of selective power maximum weight, as new bunch of head, goes to step 6.2;
Step 6.2, former bunch of head broadcasts new bunch of header and gap information, and in bunch, member upgrades corresponding information, then enters the transfer of data stabilization sub stage, goes to step 6.3;
Step 6.3, judges whether the local bunch head renewal rewards theory completing k wheel, is go to step 7, otherwise goes to step 6.1.
Technique effect of the present invention is: a kind of dynamically k value cluster routing method, take turns in the 1st of each cycle and divide the cluster structured of network, then an effective k value of network is calculated in conjunction with current network sub-clustering situation and Energy distribution, and in ensuing k wheel, keep cluster structured constant, bunch in carry out the renewal of bunch head.K value can recalculate when each cycle starts, and therefore the wheel number of network cycle is dynamic change; By dynamically arranging the network cluster dividing cycle, effectively can reduce the bad cluster structured impact on network performance, improving the capacity usage ratio of network node, the load of efficient balance bunch interior nodes.
Accompanying drawing explanation
Fig. 1 is dynamic k value cluster routing method flow chart.
Embodiment
Existing LEACH-EB agreement decreases by being become by the network operation period expansion 1+k to take turns the number of times that information is collected in base station, extend Network morals to a certain extent, but changeless k value is difficult to the demand meeting network dynamic change.The present invention provides a kind of dynamically k value cluster routing method accordingly.Taking turns in the 1st of each cycle adopts LEACH-C agreement to divide network cluster dividing structure, and draw an effective k value of network according to the dynamic k value calculating method that the present invention proposes, then in ensuing k wheel, keep cluster structured constant, bunch in carry out the renewal of bunch head.Wherein, LEACH-C agreement is carried out bunch head based on node location and dump energy and is selected, and this mode makes network cluster dividing structure more reasonable.Meanwhile, the dynamic k value calculating method that the present invention proposes is cluster structured and Energy distribution Network Based, and this makes the network operation cycle can adjust dynamically along with network operation situation.Technical scheme of the present invention is described in detail below in conjunction with embodiment.
The wireless sensor network of the present invention's research is distributed in the square area of a M × M, and formed by the sensor node self-organizing of N number of random distribution, its application scenarios is periodic data acquisition, specifically describes as follows:
(1) base station is positioned at outside observation area, all nodes and base station after deployment all no longer occurrence positions move;
(2) all node isomorphisms and primary power is equal, possess data fusion function;
(3) each node has unique identify label (ID);
(4) all nodes can both one jump to and reach base station;
(5) according to the distance of recipient, node freely can adjust transmitted power to save energy consumption;
(6) link is symmetrical.If known the other side's transmitted power, then node can calculate sender and the distance of self according to received signal strength.
In the network of the present invention's research, there is the element of two types: node and base station.All nodes all have two kinds of patterns: ordinary node pattern and leader cluster node pattern.When node is in ordinary node pattern, is responsible for perception information and the information perceived is sent to bunch head at place bunch.When node is in leader cluster node pattern, the perception information that sends of ordinary node in being responsible for receiving bunch, and information is carried out merging then sending to base station, node also bears the task of selecting new bunch of head when local choosing bunch simultaneously.In the entire network, the selection of the base stations being in charge first round bunch head and the division of network cluster dividing structure, be also responsible for the perception information that reception bunch hair send simultaneously.
As shown in Figure 1, concrete steps are as follows for dynamic k value cluster routing method flow chart:
Step 1, at deployment base station, monitored area and sensor node, sensor node is started working and self-organizing forms wireless sensor network, goes to step 2;
Step 2, all nodes in network send the packet comprising self-position and dump energy information to base station; After the packet of all nodes is collected in base station, calculate the dump energy mean value E of surviving node in current network average, and select residue energy of node higher than E averagenode alternatively bunch head, generate candidate cluster head set, go to step 3;
Step 3, base station solves best sub-clustering mode, calculates the effective k value of rational network simultaneously, and by these information broadcastings.Go to step 4;
First, base station traversal candidate cluster head set, based on member node in all bunches to bunch head square distance and minimum principle, simulated annealing is adopted to solve best sub-clustering mode, and calculate an effective k value of rational network according to network cluster dividing situation and node energy distribution, then sub-clustering information and k value are carried out the whole network broadcast, wherein the effective k value of network calculates according to formula (3), (4), (5) and (6).
(1) calculating of the effective k value of network
Suppose there be m bunch in network after the 1st polling bunch completes, bunch numbering be respectively C 1, C 2..., C m, the node number in each bunch is respectively N 1, N 2..., N m, leader cluster node numbering is respectively CH 1, CH 2..., CH m, for the i-th bunch, N in bunch ithe numbering of individual node is respectively C i1, C i2..., in order to the effective k value of computing network, this method introduces the concept of " parallel bunch of head ", " in bunch effective k value " and " the effective k value of network ".
Research finds, node whether can serve as bunch head mainly by self rest energy, node bunch in position and impact in node to base station distance three, this method devises formula (1) and carrys out the ability that computing node serves as bunch head for this reason.
T ( C ij ) = E ( C ij ) p × D C ij → BS 2 + ( 1 - p ) × D C ij → others - - - ( 1 )
Wherein C ijthe node of j is numbered, joint T (C in representing the i-th bunch ij) represent some C ijability weights, E (C ij) represent the dump energy of node, represent the distance of node to base station, represent node to bunch in the quadratic sum of other nodal distances, p is balance factor, has simultaneously:
D C ij → others = Σ h = 1 N i D C ij → C ih 2 - - - ( 2 )
Wherein the node being numbered j in representing the i-th bunch is to the distance of node being numbered h.
Balance factor p be mainly used for adjustment node to base station distance and node bunch in position node served as to the impact of bunch head, the value of p is between 0 to 1.The energy consumption that node sends data to base station observable index when serving as bunch head collects bunch interior nodes image data is much bigger.Found by Multi simulation running experiment, time between p value 0.7 to 0.9, network operation state is more excellent, and it is 0.8 that the present invention gets p value.
Define 1. parallel bunches of heads: if node C ijability weights be more than or equal to bunch head CH at place bunch iability weights T (CH i), then this node parallel bunch of head being bunch, namely has T (C ij)>=T (CH i).
Effective k value in defining 2. bunches: in network single bunch can carry out local bunch first watch new number of times be called this bunch bunch in effective k value, if bunch C iparallel bunch of head number be z, so have k (C i)=z.
The parallel bunch of head of in network each bunch can be found out, existing hypothesis bunch C according to definition 1 iparallel bunch of head number be z, so bunch C ican carry out local bunch first watch new number of times is z, this method one bunch can be carried out local bunch first watch new number of times as this bunch bunch in effective k value.
When the node of ability maximum weight during bunch head is bunch, the value of z is 0; The ratio accounting for node total number due in network bunch of head number is generally about 5%, when one bunch bunch in effectively k value is 0 time, cause larger impact by effective k value calculating of whole network; Therefore this method is provided with a lower limit x during effective k value in compute cluster, improvement bunch in effectively k value calculating method is as follows:
k(C i)=max{x,z}(2≤x≤5) (3)
Wherein lower limit x gets the random integers between 2 to 5.
Define 3. network effective k value: in network in one-period all bunches carry out new number of times on bunch first watch, be designated as NK.
By formula (3) can to obtain in network each bunch bunch in effective k value, in order to calculate an effective k value of rational network, being evenly distributed of hypothetical network interior joint, the distance bunch arriving base station is far away, and the load of correspondence bunch head is also larger.Network effective k value is larger, and network cycle also increases thereupon, from base station more away from bunch also more at the energy of network single cycle internal consumption, therefore from base station more away from bunch also more responsive to network effective k value.This method using bunch in all nodes to the mean value of base station distance as bunch to the distance of base station, and to the ratio square of base station distance maximum bunch in the distance and network of base station bunch, as bunch in effective k value relative to the weight factor of the effective k value of network.What formula (4) described is bunch computational methods arriving base station distance.
D ( C i ) = Σ j = 1 N i D C ij → C BS N i ( 4 )
Wherein N irepresent the node number of bunch i, represent node C ijto the distance of base station.
Bunch C ithe computational methods of weight factor are as shown in formula (5);
WF ( C i ) = D 2 ( C i ) D 2 max - - - ( 5 )
Wherein D (C i) represent bunch C ito the distance of base station, D maxto represent in network bunch the maximum to base station distance.
In conjunction with formula (3), (4) and (5), the computing formula can deriving network effective k value is as follows:
NK = Σ i = 1 m WF ( C i ) × k ( C i ) m ( 6 )
Wherein WF (C i) represent bunch C iweight factor, k (C i) represent bunch C iparallel bunch of head number.
Step 4, after the node in network receives the sub-clustering packets of information of base station broadcast, searches bunch head ID at self place bunch; If bunch head ID at self ID and place bunch is identical, then node self is elected as a bunch head, and node travels through a sub-clustering message bag according to bunch head ID simultaneously, the id information of all member node in collection bunch; If node finds certainly as ordinary node after receiving sub-clustering packets of information, so node enters wait state, until receive bunch head broadcast message at place bunch, and the distribution time slot of each node in wherein comprising bunch, bunch interior nodes obtains the time slot that self sends data from message packet, goes to step 5;
Step 5, enter the stabilization sub stage of transfer of data, bunch interior nodes sends bunch head of data message to place bunch of themselves capture at assigned timeslot, after bunch head receives the data message that all member node send, data are carried out merging and forwarding give base station, after the stabilization sub stage terminates, go to step 6;
Step 6, network has completed the 1st of one-period and has taken turns, and enters local subsequently and selects manifold flow journey, namely will keep cluster structured constant at ensuing k wheel, and in each bunch, to carry out bunch first watch new.7 are gone to step after local choosing bunch terminates;
Local New Policy on bunch first watch:
When local bunch first watch is new, members list in former bunch of head traversal bunch, according to the ability weights of surviving node in the dump energy of node and position calculation bunch, the node of selective power maximum weight is as new bunch of head.If former bunch of head is elected as new bunch of head, then self member node list new on former bunch of first watch, rejects the node of dead, surviving node distribution time slot in then again be bunch, and bunch in broadcast this gap information; Otherwise if former bunch of head is not new bunch of head, then former bunch of head adopts the time slot of new bunch of head as self time slot, then broadcast packet containing new bunch of head ID and bunch in the message packet of surviving node ID.When bunch in member node receive information after judge whether self is new bunch of head, if it is upgrade self bunch header, traversal message packet to set up bunch in member node list, then enter data transfer phase; If node is not a bunch head, then upgrades self bunch header and according to the time slot of time slot Receive message self, then enter the transfer of data stabilization sub stage.
Step 6 is local bunch head renewal process, can be divided into following little step:
Step 6.1, members list in former bunch of head traversal bunch, according to the ability weights of formula (1) and (2) calculating member node, the node of selective power maximum weight, as new bunch of head, goes to step 6.2;
Step 6.2, former bunch of head broadcasts new bunch of header and gap information, and in bunch, member upgrades corresponding information, then enters the transfer of data stabilization sub stage, goes to step 6.3;
Step 6.3, judges whether the local bunch head renewal rewards theory completing k wheel, is go to step 7, otherwise goes to step 6.1;
Step 7, judges that whether nodes is all dead, is terminate current process, otherwise goes to step 2.
Specific embodiment described in the invention is only to the explanation for example of the present invention's spirit.Those skilled in the art can do various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.

Claims (6)

1. a dynamic k value cluster routing method, is characterized in that, comprise the steps:
Step 1, at deployment base station, monitored area and sensor node, sensor node is started working and self-organizing forms wireless sensor network;
Step 2, all nodes in network send the packet comprising self-position and dump energy information to base station; After the packet of all nodes is collected in base station, calculate the dump energy mean value E of surviving node in current network average, and select residue energy of node higher than E averagenode alternatively bunch head, generate candidate cluster head set;
Step 3, base station solves best sub-clustering mode, calculates the effective k value of rational network simultaneously, and by these information broadcastings;
Step 4, after the node in network receives the sub-clustering packets of information of base station broadcast, searches bunch head ID at self place bunch; If bunch head ID at self ID and place bunch is identical, then node self is elected as a bunch head, and node travels through a sub-clustering message bag according to bunch head ID simultaneously, the id information of all member node in collection bunch; If node finds certainly as ordinary node after receiving sub-clustering packets of information, so node enters wait state, until receive bunch head broadcast message at place bunch, the distribution time slot of each node in wherein comprising bunch, bunch interior nodes obtains the time slot that self sends data from message packet;
Step 5, enter the stabilization sub stage of transfer of data, bunch interior nodes sends bunch head of data message to place bunch of themselves capture at assigned timeslot, after bunch head receives the data message that all member node send, data are carried out merging and being transmitted to base station, after the stabilization sub stage terminates, goes to step 6;
Step 6, network has completed the 1st of one-period and has taken turns, and enters local subsequently and selects manifold flow journey, namely will keep cluster structured constant at ensuing k wheel, and in each bunch, to carry out bunch first watch new; 7 are gone to step after local choosing bunch terminates;
Step 7, judges that whether nodes is all dead, is terminate current process, otherwise goes to step 2.
2. one according to claim 1 dynamic k value cluster routing method, it is characterized in that: in described step 3, base station traversal candidate cluster head set, based on member node in all bunches to bunch head square distance and minimum principle, adopts simulated annealing to solve the sub-clustering mode of the best.
3. one according to claim 1 dynamic k value cluster routing method, it is characterized in that, in described step 3, calculate an effective k value of rational network according to network cluster dividing situation and node energy distribution, the computational methods of described rational network effective k value are as follows:
Suppose there be m bunch in network after the 1st polling bunch completes, bunch numbering be respectively C 1, C 2..., C m, the node number in each bunch is respectively N 1, N 2..., N m, leader cluster node numbering is respectively CH 1, CH 2..., CH m, for the i-th bunch, N in bunch ithe numbering of individual node is respectively C i1, C i2..., in order to the effective k value of computing network, this method introduces the concept of " parallel bunch of head ", " in bunch effective k value " and " the effective k value of network ";
This method serves as the ability of bunch head according to formula (1) computing node;
T ( C ij ) = E ( C ij ) p × D C ij → BS 2 + ( 1 - p ) × D C ij → others - - - ( 1 )
Wherein C ijthe node of j is numbered, joint T (C in representing the i-th bunch ij) represent some C ijability weights, E (C ij) represent the dump energy of node, represent the distance of node to base station, represent node to bunch in the quadratic sum of other nodal distances, p is balance factor, has simultaneously:
D C ij → others = Σ h = 1 N i D C ij → C ih 2 - - - ( 2 )
Wherein the node being numbered j in representing the i-th bunch is to the distance of node being numbered h; Balance factor p be used for adjustment node to base station distance and node bunch in position node served as to the impact of bunch head, the value of p is between 0 to 1;
Define 1. parallel bunches of heads: if node C ijability weights be more than or equal to bunch head CH at place bunch iability weights T (CH i), then this node parallel bunch of head being bunch, namely has T (C ij)>=T (CH i);
Effective k value in defining 2. bunches: in network single bunch can carry out local bunch first watch new number of times be called this bunch bunch in effective k value, if bunch C iparallel bunch of head number be z, so have k (C i)=z;
The parallel bunch of head of in network each bunch is found out, existing hypothesis bunch C according to definition 1 iparallel bunch of head number be z, so bunch C ican carry out local bunch first watch new number of times is z, this method one bunch can be carried out local bunch first watch new number of times as this bunch bunch in effective k value;
When the node of ability maximum weight during bunch head is bunch, the value of z is 0; This method is provided with a lower limit x during effective k value in compute cluster, improvement bunch in effectively k value calculating method is as follows:
k(C i)=max{x,z}(2≤x≤5) (3)
Wherein lower limit x gets the random integers between 2 to 5;
Define 3. network effective k value: in network in one-period all bunches carry out new number of times on bunch first watch, be designated as NK;
By formula (3) to obtain in network each bunch bunch in effective k value, this method using bunch in all nodes to the mean value of base station distance as bunch to the distance of base station, by the ratio square to base station distance maximum bunch in the distance and network of base station bunch, as bunch in effectively k value relative to the weight factor of the effective k value of network; Bunch to the computational methods of base station distance as shown in formula (4);
D ( C i ) = Σ j = 1 N i D C ij → C BC N i - - - ( 4 )
Wherein represent node C ijto the distance of base station;
Bunch C ithe computational methods of weight factor are as shown in formula (5);
WF ( C i ) = D 2 ( C i ) D 2 max - - - ( 5 )
Wherein D (C i) represent bunch C ito the distance of base station, D maxto represent in network bunch the maximum to base station distance;
In conjunction with formula (3), (4) and (5), the computing formula deriving network effective k value is as follows:
NK = Σ i = 1 m WF ( C i ) × k ( C i ) m - - - ( 6 )
Wherein WF (C i) represent bunch C iweight factor, k (C i) represent bunch C iparallel bunch of head number.
4. one according to claim 3 dynamic k value cluster routing method, is characterized in that: described p span is 0.7 to 0.9.
5. one according to claim 3 dynamic k value cluster routing method, is characterized in that: described p value is 0.8.
6. one according to claim 1 dynamic k value cluster routing method, is characterized in that, in step 6, described local bunch head renewal process, comprises the steps:
Step 6.1, members list in former bunch of head traversal bunch, according to the ability weights of formula (1) and (2) calculating member node, the node of selective power maximum weight, as new bunch of head, goes to step 6.2;
Step 6.2, former bunch of head broadcasts new bunch of header and gap information, and in bunch, member upgrades corresponding information, then enters the transfer of data stabilization sub stage, goes to step 6.3;
Step 6.3, judges whether the local bunch head renewal rewards theory completing k wheel, is go to step 7, otherwise goes to step 6.1.
CN201410794524.2A 2014-12-18 2014-12-18 A kind of dynamic k value cluster routing methods Active CN104469879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410794524.2A CN104469879B (en) 2014-12-18 2014-12-18 A kind of dynamic k value cluster routing methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410794524.2A CN104469879B (en) 2014-12-18 2014-12-18 A kind of dynamic k value cluster routing methods

Publications (2)

Publication Number Publication Date
CN104469879A true CN104469879A (en) 2015-03-25
CN104469879B CN104469879B (en) 2018-10-09

Family

ID=52915067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410794524.2A Active CN104469879B (en) 2014-12-18 2014-12-18 A kind of dynamic k value cluster routing methods

Country Status (1)

Country Link
CN (1) CN104469879B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954246A (en) * 2017-05-19 2017-07-14 上海为然环保科技有限公司 A kind of cloud application smart home with domestic electric network intelligent control function
CN106961691A (en) * 2017-03-23 2017-07-18 四川大学 A kind of extension sensing node and the method in satellite/High Altitude Platform integrated network life-span
CN107194182A (en) * 2017-05-27 2017-09-22 深圳众厉电力科技有限公司 health monitoring system based on human body physiological parameter data
CN109511152A (en) * 2018-12-29 2019-03-22 国网辽宁省电力有限公司沈阳供电公司 A kind of balanced cluster-dividing method of terminaloriented communication access net perception monitoring
CN109922511A (en) * 2019-04-29 2019-06-21 中国联合网络通信集团有限公司 Cluster-head node selection method, node clustering method and cluster-head node selection device
CN110167020A (en) * 2019-04-28 2019-08-23 温州晶彩光电有限公司 The encryption method of private data on a kind of intelligent wireless lock network network of dynamic clustering
CN113099508A (en) * 2021-03-16 2021-07-09 西南民族大学 Random centralized self-organizing clustering method and system for wireless mobile node
CN113596951A (en) * 2021-09-02 2021-11-02 哈尔滨工程大学 Wireless sensor network clustering routing method based on quantum reef shark mechanism

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426293A (en) * 2008-12-15 2009-05-06 北京航空航天大学 Partial on demand cluster head replacement method for wireless sensor network clustered routing
CN102970723A (en) * 2012-10-26 2013-03-13 合肥工业大学 Non-uniform clustering routing algorithm with local cluster reconstruction
CN103024849A (en) * 2012-09-27 2013-04-03 西安电子科技大学 LEACH (Low-energy Adaptive Clustering Hierarchy)-based wireless sensor network clustering method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426293A (en) * 2008-12-15 2009-05-06 北京航空航天大学 Partial on demand cluster head replacement method for wireless sensor network clustered routing
CN103024849A (en) * 2012-09-27 2013-04-03 西安电子科技大学 LEACH (Low-energy Adaptive Clustering Hierarchy)-based wireless sensor network clustering method
CN102970723A (en) * 2012-10-26 2013-03-13 合肥工业大学 Non-uniform clustering routing algorithm with local cluster reconstruction

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ANANYA PATRA,SONALI CHOUHAN: "An Approach to Improved Energy Efficient Hybrid Clustering in Wireless Sensor Networks", 《 SIGNAL PROCESSING AND COMMUNICATIONS (SPCOM), 2014 INTERNATIONAL CONFERENCE ON》 *
ZHONG-GAO SUN,ET. AL.: "An Efficient Routing Protocol Based on Two Step Cluster Head Selection for Wireless Sensor Networks", 《WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING, 2009. WICOM "09. 5TH INTERNATIONAL CONFERENCE ON》 *
李辉,刘书吉: "基于节点度和距离的WSN分簇路由算法", 《计算机工程》 *
董婷,等: "传感器网络中基于簇的自适应路由算法", 《计算机应用》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961691A (en) * 2017-03-23 2017-07-18 四川大学 A kind of extension sensing node and the method in satellite/High Altitude Platform integrated network life-span
CN106954246A (en) * 2017-05-19 2017-07-14 上海为然环保科技有限公司 A kind of cloud application smart home with domestic electric network intelligent control function
CN107194182A (en) * 2017-05-27 2017-09-22 深圳众厉电力科技有限公司 health monitoring system based on human body physiological parameter data
CN109511152A (en) * 2018-12-29 2019-03-22 国网辽宁省电力有限公司沈阳供电公司 A kind of balanced cluster-dividing method of terminaloriented communication access net perception monitoring
CN109511152B (en) * 2018-12-29 2022-03-18 国网辽宁省电力有限公司沈阳供电公司 Balanced clustering method for perception monitoring of terminal communication access network
CN110167020A (en) * 2019-04-28 2019-08-23 温州晶彩光电有限公司 The encryption method of private data on a kind of intelligent wireless lock network network of dynamic clustering
CN109922511A (en) * 2019-04-29 2019-06-21 中国联合网络通信集团有限公司 Cluster-head node selection method, node clustering method and cluster-head node selection device
CN113099508A (en) * 2021-03-16 2021-07-09 西南民族大学 Random centralized self-organizing clustering method and system for wireless mobile node
CN113596951A (en) * 2021-09-02 2021-11-02 哈尔滨工程大学 Wireless sensor network clustering routing method based on quantum reef shark mechanism

Also Published As

Publication number Publication date
CN104469879B (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN104469879A (en) Dynamic k value clustering routing method
CN101895956B (en) Data transmission method of multilayer distributed wireless sensor network
CN102572992B (en) Vehicular network RSU (Roadside Unit) deploy method and data forwarding method thereof
CN109862612B (en) Data collection and wireless charging method based on dual-function trolley moving path planning
CN104853395A (en) Multi-sense unequal-radius wireless sensor network route implementing method
CN102036338A (en) Sensor network real-time routing method based on data-driven link estimation
CN102497679B (en) Static clustering algorithm for wireless sensor network
CN104135751B (en) A kind of Uneven Cluster method for routing suitable for subway tunnel
CN104602302B (en) It is a kind of based on cluster structured ZigBee-network balancing energy method for routing
CN105072656A (en) Multi-level heterogeneous wireless sensor network clustering routing method based on K-means clustering and ant colony optimization
CN106454905A (en) Improved hierarchical type multi-link algorithm of wireless sensor network
CN107360612A (en) A kind of data transmission method of the wireless sensor network based on ant colony multipath
CN105848238A (en) IPv6 routing method of wireless sensor networks based on multiple parameters
CN104994020A (en) Predictive energy-efficient clustering routing method based on bee colony optimization algorithm model
Bo et al. An energy aware routing algorithm for software defined wireless sensor networks
CN105188084B (en) A kind of wireless sensor network routing optimization method based on congestion control
CN103701697A (en) Link-quality-based hierarchical routing method
CN102983948A (en) Adaptive clustering transmission method and device for wireless sensor network
CN103037435B (en) Wireless sensor network route protocol
CN111405616A (en) Sensor network route improvement method for intelligent flow allocation and path update
CN101867974A (en) Data acquisition method in hybrid strip sensor network
CN103179631B (en) A kind of choose the method that optimal angle carries out sub-clustering
Liu et al. A Position Sensitive Clustering Algorithm for VANET.
Agrawal et al. Layered clustering routing protocol with overlapping cluster heads in WSN
CN108600981A (en) A kind of radio sensor network data collection method based on tree

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant