CN103702276B - A kind of complex task collaborative service method in wireless sensor network based on sub-clustering - Google Patents
A kind of complex task collaborative service method in wireless sensor network based on sub-clustering Download PDFInfo
- Publication number
- CN103702276B CN103702276B CN201310733028.1A CN201310733028A CN103702276B CN 103702276 B CN103702276 B CN 103702276B CN 201310733028 A CN201310733028 A CN 201310733028A CN 103702276 B CN103702276 B CN 103702276B
- Authority
- CN
- China
- Prior art keywords
- bunch
- task
- node
- cluster
- energy
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000008569 process Effects 0.000 claims abstract description 38
- 230000009191 jumping Effects 0.000 claims description 20
- 238000005265 energy consumption Methods 0.000 claims description 10
- 239000000203 mixture Substances 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000011156 evaluation Methods 0.000 claims description 6
- 238000005457 optimization Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000009472 formulation Methods 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000000295 complement effect Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to a kind of complex task collaborative service method in wireless sensor network based on sub-clustering, its step includes: 1. complex task layering, according to task DAG figure, it is carried out layering and divides, and the most successively distributes during task distribution;2. center cluster bunch head is by member node in task distributes to center cluster in selected layer;If 3. center cluster bunch energy expenditure degree exceedes setting threshold value, center cluster request periphery one jumps bunch assist process, bunch energy expenditure degree not less than threshold value bunch as the cooperative cluster of center cluster.4. untreated task is distributed to cooperative cluster by center cluster, it is ensured that cooperative cluster energy expenditure degree difference minimum.5. in cooperative cluster assigns the task to bunch, member node processes.With it, the complex task sub-clustering in network can be processed, task treatment effeciency, balance network load can be improved, extend network life.
Description
Technical field
The invention belongs to wireless multimedia sensor network field, specifically the present invention relates to a kind of based on sub-clustering wireless
The method of complex task collaborative service in sensor network, processes the complex task sub-clustering in network, can improve task and process
Efficiency, balance network load, extend network life.
Background technology
Along with wireless sensor network application requirement of real-time is more and more higher, task complexity is increasing, due to sensing
Device individual node resource-constrained, if considerable task is distributed to single node and completed, easily causes this node energy and exhausts, therefore
The problem of node energy consumption balance becomes a key issue of wireless sensor network.One given complex task, resolves into
Multiple subtasks, and distribute to different sensor nodes go process, multinode cooperates, and jointly completes task, Ke Yijie
About node energy, raising systematic function.
Task distribution is the important research problem of wireless sensor network, and different task allocative decisions causes tasks carrying
The required traffic is different with amount of calculation, thus affects the energy expenditure of tasks carrying, for reducing energy expenditure, extends network raw
The life cycle needs to design efficient task allocative decision.
Pertinent literature is as follows:
1,2005, Y.Yu et al. was at " Energy-Balanced Task Allocation for Collaborative
Processing in Wireless Sensor Networks " propose the task allocation algorithms of a kind of balancing energy, this calculation
Method meet minimize energy expenditure while reach the purpose of balancing energy.The communication issue of multiple wireless channels is built by they
Mould, and propose to utilize heuritic approach to provide a feasible solution.
2,2009, Sekhar et al. was at " A state-space search approach for optimizing
Reliability and cost of execution in distributed sensor networks " a kind of base of middle proposition
In A* algorithm, this algorithm assigns the task to a large amount of sensor node, simultaneously takes account of the energy constraint problem of node, it is proposed that
Greedy A* algorithm (Greedy A*) reduces the complexity of A* algorithm optimal distributing scheme.By optimization problem is formulated
And the value arranging specific parameter μ and λ is analyzed.
But, the distribution of above task is all completed by same node with communicating, and so easily causes individual node energy
Too much consume;At task allocated phase, it is not easy to ensure that the parallelization of task processes, do not embody the real-time of application.
3,2009, Li Zhigang et al. formed at isomorphism node in " the effective task allocation algorithms of the sensor network energy "
Proposing a kind of effective task allocation algorithms of the energy in network, assessment of tasks is perception task collection and process task by this algorithm
Collection, therefore task distribution is also divided into perception task distribution and process task two stages of distribution, and process task is assigned as secondary
One-zero programming problem, and distributed hierarchical optimization allocation algorithm is proposed, it is achieved that it is energy-optimised that task processes, but does not beg for
How opinion shortens task processes the time.
Summary of the invention
The technical problem to be solved is: the complex task sub-clustering in network processed, and processes for improving task
Efficiency, balance network load, extend network life.The present invention is achieved by the following technical solutions, the concrete step of the present invention
Rapid as follows:
Step one: task is layered, carries out layering according to task DAG figure to it and divides, during task distribution the most successively
Distribution, every layer is distributed some tasks;
Step 2: after the event of task occurs, incident point place bunch as center cluster, bunch head of center cluster is by layer
Task is allocated;
Step 3: when bunch dump energy of center cluster is than less than setting threshold value, then jump a bunch transmission solicited message to periphery one,
If periphery one is jumped bunch dump energy and is not less than threshold value than, then accept request, as the cooperative cluster of center cluster;Described center cluster with
Periphery one jumps a bunch formation cooperation cluster, and bunch head of periphery one jumping bunch accepts the arrangement of center cluster bunch head;
Step 4: untreated task is distributed to cooperative cluster by center cluster, ensures the balancing energy of each cooperative cluster during distribution,
Dump energy is than difference minimum;
Step 5: in cooperative cluster assigns the task to bunch, member node processes.
In above-mentioned steps one, that task carries out the process that layering divides is as follows for DAG figure according to task: entrance task divides
For ground floor, if a certain subtask forerunner's maximum layer is k, then this subtask is divided into k+1 layer.
Above-mentioned steps three judging, center cluster accepts after new task dump energy than whether less than the calculating setting threshold value
Journey is as follows:
(3a) calculate bunch present energy and consume Ccluster(i): bunch present energy consumption refers to certain bunch of current existing task
Energy expenditure sum;
(3b) bunch total surplus energy is calculatedBunch total surplus energy be bunch in the dump energy sum of all nodes;
(3c) bunch total primary power is calculatedBunch total primary power be bunch in the primary power sum of all nodes;
(3d) calculate bunch dump energy and compare Rcluster(i): a bunch dump energy ratio is that total surplus energy deducts current energy in this bunch
Amount consumes the ratio with bunch total primary power,
In above-mentioned steps five bunch in the evaluation procedure of member node service ability as follows:
(4a) degree of belief reliability of node processing task is calculatedi,Represent that node i processes the success of task
Number of times, usesRepresent the total degree of node i accumulated process task, then the degree of belief of node i process task can be expressed as
(4b) calculate residue energy of node and compare residuali,Represent the dump energy of node i,Represent node
The primary power of i, node i dump energy compares residualiIt it is exactly the dump energy ratio with the primary power of node i of node i
Value, it may be assumed that
(4c) service ability of node is calculated: node i service ability can be expressed as by equation below Wherein alpha+beta=1, α >=0, β >=0.
In above-mentioned steps five bunch in member node categorizing process as follows:
(5a) in general bunch, member node is divided into three classifications, and a category node is to have service ability, and service ability is strong
Node set, two category nodes are to have service ability, and the node set that service ability is general, and three category nodes are temporarily without service energy
The node set of power;
(5b) node classification initializes: if residue energy of node ratio is less than setting threshold value r, then it is assumed that node is temporarily without clothes
Business ability, this category node returns the node that is divided three classes;In bunch, in addition to three category nodes, remaining node is considered there is service ability node,
Calculating has service ability node serve ability and sorts, and having the node division of a% before in service ability node is a category node, a ∈
[0,100], the node division outside a category node, three category nodes is two category nodes;If there being service ability node number to be less than
Or equal to two, then will have service ability node universal formulation is a category node;
(5c) node classification dynamically adjusts: after each layer of task has processed, will to bunch in member node classification weight
New division, calculates residue energy of node ratio, is saved as three classes less than the node division setting threshold value r by residue energy of node ratio
Point, calculates and has service ability node serve ability and sort, be divided into respective classes according to its service ability.
In above-mentioned steps three, the evaluation procedure of the service ability size of periphery one jumping bunch is as follows:
(6a) bunch service ability and a category node, the quantity of two category nodes, a category node, the service ability of two category nodes,
Bunch dump energy ratio is relevant.
(6b) assume that the service ability of bunch cluster (k) interior joint i is expressed as capacityi, one type
Node number is N1, two category node numbers are N2, then a bunch capability list is shown as Wherein, G1 represents one
Category node, G2 represents two category nodes, ω1+ω2=1, ω1>=0, ω2>=0, Rcluster(k)Represent the residual energy of bunch cluster (k)
Amount ratio, bunch dump energy that r sets compares threshold value.
Concretely comprising the following steps of composition cooperative cluster in above-mentioned steps three:
(7a) ground floor task distributes to center cluster, while ground floor task processes, carries out second layer task distribution;
If (7b) dump energy of center cluster is than less than setting threshold value, then in being no longer allocated to task unallocated in layer
The heart bunch, center cluster jumps a bunch request cooperation to periphery one, and periphery one is jumped bunch according to self situation, bunch provides centered by choosing whether
Service, if periphery one jumps bunch dump energy, ratio is less than or equal to set threshold value, then refusal provides service, periphery one jumping bunch residue
Energy than more than setting threshold value, then can provide service, and self bunch service ability value is returned to center cluster;
If being (7c) n with layer unallocated task number, in periphery one is jumped bunch, select bunch service ability bunch making at front n
For alternative cooperative cluster, n task is assigned in n alternative cooperative cluster, it is ensured that the dump energy of each bunch is than difference as far as possible
Little, and assign to task number on each bunch less than bunch in the number of a category node;
If (7d) number of center cluster periphery one jumping bunch is all made less than unallocated task number, the jumping bunch of the most all peripheries one
For alternative cooperative cluster;
If (7e) center cluster periphery one jumping bunch all refuses to provide service, then center cluster periphery two jumps a bunch transmission message, asks
Ask periphery two to jump bunch assistance to complete;
(7f) after this layer of task is assigned to bunch, bunch head in task being assigned to bunch, member node performs, and carries out one simultaneously
Layer task distribution, until all tasks are assigned.
In above-mentioned steps four, untreated task is distributed to the specific requirement of cooperative cluster by center cluster: have n task task1,
task2,…,taskn, m cooperative cluster clouster1,clouster2,…,cloustermComplete this n task, kth bunch
The energy expenditure completing this n task is respectively Ck1,Ck2,…,Ckn, and the dump energy of m cooperative cluster is than respectively R1,
R2,…,Rm, the primary power of each bunch is respectivelyN task is distributed to m cooperative cluster
Complete so that it is less, to reach the energy balance than difference that each cooperative cluster completes the dump energy after task;
Assuming that each task is only completed by a cooperative cluster, a cooperative cluster can complete multiple task;
xij=1 represents that jth task is completed by i-th cooperative cluster, xij=0 represents that jth task is not complete by i-th bunch
Become, CijRepresent that i-th cooperative cluster completes the energy expenditure of jth task, i=1,2 ..., m, j=1,2 ..., n, make X=
(xij)m×nMatrix for logger task distribution condition;
Then completing this n task, the energy expenditure of cooperative cluster is
The dump energy of cooperative cluster is
Bunch dump energy ratio be
The average residual energy ratio of m cooperative cluster is approximately
Seek xijMake
The least, wherein
I.e. solve following one-zero programming problem
xij∈{0,1}
By the solution of above-mentioned optimization problem, can obtain distributing to n task the task distribution side that m cooperative cluster completes
Case, and the dump energy after making each cooperative cluster complete task differs the least than as far as possible, thus ensure balancing energy.
In above-mentioned steps two, what task in selected layer was allocated by center cluster bunch head concretely comprises the following steps:
(9a) subtask is allocated by the order that center cluster bunch head arrives according to task, is sent by mission bit stream to be allocated
To a category node;
(9b) after a category node receives message, check task description, decide whether to process according to self-energy consumption degree
This task, if energy expenditure degree exceedes setting threshold value, then refusal provides service, if energy expenditure degree is not less than setting threshold
Value, then provide service, and calculated this task estimation time, estimated energy consumption, these two information are returned bunch heads;
(9c) bunch head is according to a category node return information, selects the node of energy expenditure minimum as tasks carrying node;
If (9d) category node all refuses to provide service, then bunch head sends message to two category nodes, in two category nodes
Select service available node.
The invention have the benefit that compared with prior art, the invention provides a kind of wireless sensing based on sub-clustering
Complex task collaborative service method in device network, single bunch when cannot complete complex task, to periphery bunch request cooperation, composition association
Work bunch, completes complex task jointly, whether bunch dump energy is used for participating in the threshold of cooperation, thus balances each bunch of energy,
Extend network lifecycle;Dump energy ratio and execution Mission Success rate according to bunch interior nodes calculate node serve ability, right
Node is classified, thus the service ability obtained bunch, by the performance quantified bunch, improves task allocative efficiency and completes matter
Amount.
Accompanying drawing explanation
Fig. 1: bunch interior nodes classification process figure
Fig. 2: task is assigned to cooperative cluster flow chart
Fig. 3: a bunch head assigns the task to a bunch interior nodes flow chart
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, 2, 3, in a kind of sensor network based on bunch complex task decomposition method, its step includes:
Step one: task is layered, carries out layering according to task DAG figure to it and divides, during task distribution the most successively
Distribution, every layer is distributed some bunches;
Step 2: after the event of task occurs, incident point place bunch as center cluster, bunch head of center cluster is by layer
Task is allocated;
Step 3: when bunch dump energy of center cluster is than less than setting threshold value, then jump a bunch transmission solicited message to periphery one,
If periphery one is jumped bunch dump energy and is not less than threshold value than, then accept request, as the cooperative cluster of center cluster;Described center cluster with
Periphery one jumps a bunch formation cooperation cluster, and bunch head of periphery one jumping bunch accepts the arrangement of center cluster bunch head;
Step 4: untreated task is distributed to cooperative cluster by center cluster, ensures the balancing energy of each cooperative cluster during distribution,
Dump energy is than difference minimum;
Step 5: in cooperative cluster assigns the task to bunch, member node processes.
In above-mentioned steps one, that task carries out the process that layering divides is as follows for DAG figure according to task: entrance task divides
For ground floor, if a certain subtask forerunner's maximum layer is k, then this subtask is divided into k+1 layer.
Above-mentioned steps three judging, center cluster accepts after new task dump energy than whether less than the calculating setting threshold value
Journey is as follows:
(3a) calculate bunch present energy and consume Ccluster(i): bunch present energy consumption refers to certain bunch of current existing task
Energy expenditure sum;
(3b) bunch total surplus energy is calculatedBunch total surplus energy be bunch in the dump energy sum of all nodes;
(3c) bunch total primary power is calculatedBunch total primary power be bunch in the primary power sum of all nodes;
(3d) calculate bunch dump energy and compare Rcluster(i): a bunch dump energy ratio is that total surplus energy deducts current energy in this bunch
Amount consumes the ratio with bunch total primary power,
In above-mentioned steps five bunch in the evaluation procedure of member node service ability as follows:
(4a) degree of belief reliability of node processing task is calculatedi,Represent that node i processes the one-tenth of task
Merit number of times, usesRepresent the total degree of node i accumulated process task, then the degree of belief of node i process task can be expressed as
(4b) calculate residue energy of node and compare residuali,Represent the dump energy of node i,Represent joint
The primary power of some i, node i dump energy compares residualiIt it is exactly the dump energy primary power with node i of node i
Ratio, it may be assumed that
(4c) service ability of node is calculated: node i service ability can be expressed as by equation below Wherein alpha+beta=1, α >=0, β >=0.
In above-mentioned steps five bunch in member node categorizing process as follows:
(5a) in general bunch, member node is divided into three classifications, and a category node is to have service ability, and service ability is strong
Node set, two category nodes are to have service ability, and the node set that service ability is general, and three category nodes are temporarily without service energy
The node set of power;
(5b) node classification initializes: if residue energy of node ratio is less than setting threshold value r, then it is assumed that node is temporarily without clothes
Business ability, this category node returns the node that is divided three classes;In bunch, in addition to three category nodes, remaining node is considered there is service ability node,
Calculating has service ability node serve ability and sorts, and having the node division of a% before in service ability node is a category node, a ∈
[0,100], the node division outside a category node, three category nodes is two category nodes;If there being service ability node number to be less than
Or equal to two, then will have service ability node universal formulation is a category node.
(5c) node classification dynamically adjusts: after each layer of task has processed, will to bunch in member node classification weight
New division, calculates residue energy of node ratio, is saved as three classes less than the node division setting threshold value r by residue energy of node ratio
Point, calculates and has service ability node serve ability and sort, be divided into respective classes according to its service ability.
In above-mentioned steps three, the evaluation procedure of the service ability size of periphery one jumping bunch is as follows:
(6a) bunch service ability and a category node, the quantity of two category nodes, a category node, the service ability of two category nodes,
Bunch dump energy ratio is relevant.
(6b) assume that the service ability of bunch cluster (k) interior joint i is expressed as capacityi, one type node
Number is N1, two category node numbers are N2, then a bunch capability list is shown as Wherein, G1 represents one
Category node, G2 represents two category nodes, ω1+ω2=1, ω1>=0, ω2>=0, Rcluster(k)Represent the residual energy of bunch cluster (k)
Amount ratio, bunch dump energy that r sets compares threshold value.
Concretely comprising the following steps of composition cooperative cluster in above-mentioned steps three:
(7a) ground floor task distributes to center cluster, while ground floor task processes, carries out second layer task distribution;
If (7b) dump energy of center cluster is than less than setting threshold value, then in being no longer allocated to task unallocated in layer
The heart bunch, center cluster jumps a bunch request cooperation to periphery one, and periphery one is jumped bunch according to self situation, bunch provides centered by choosing whether
Service, if periphery one jumps bunch dump energy, ratio is less than or equal to set threshold value, then refusal provides service, periphery one jumping bunch residue
Energy than more than setting threshold value, then can provide service, and self bunch service ability value is returned to center cluster;
If being (7c) n with layer unallocated task number, in periphery one is jumped bunch, select bunch service ability bunch making at front n
For alternative cooperative cluster, n task is assigned in n alternative cooperative cluster, it is ensured that the dump energy of each bunch is than difference as far as possible
Little, and assign to task number on each bunch less than bunch in the number of a category node;
If (7d) number of center cluster periphery one jumping bunch is all made less than unallocated task number, the jumping bunch of the most all peripheries one
For alternative cooperative cluster;
If (7e) center cluster periphery one jumping bunch all refuses to provide service, then center cluster periphery two jumps a bunch transmission message, asks
Ask periphery two to jump bunch assistance to complete;
(7f) after this layer of task is assigned to bunch, bunch head in task being assigned to bunch, member node performs, and carries out one simultaneously
Layer task distribution, until all tasks are assigned.
In above-mentioned steps four, untreated task is distributed to the specific requirement of cooperative cluster by center cluster: have n task task1,
task2,…,taskn, m cooperative cluster clouster1,clouster2,…,cloustermComplete this n task, kth bunch
The energy expenditure completing this n task is respectively Ck1,Ck2,…,Ckn, and the dump energy of m cooperative cluster is than respectively R1,
R2,…,Rm, the primary power of each bunch is respectivelyN task is distributed to m cooperative cluster
Complete so that it is less, to reach the energy balance than difference that each cooperative cluster completes the dump energy after task;
Assuming that each task is only completed by a cooperative cluster, a cooperative cluster can complete multiple task;
xij=1 represents that jth task is completed by i-th cooperative cluster, xij=0 represents that jth task is not complete by i-th bunch
Become, CijRepresent that i-th cooperative cluster completes the energy expenditure of jth task, i=1,2 ..., m, j=1,2 ..., n, make X=
(xij)m×nMatrix for logger task distribution condition;
Then completing this n task, the energy expenditure of cooperative cluster is
The dump energy of cooperative cluster is
Bunch dump energy ratio be
The average residual energy ratio of m cooperative cluster is approximately
Seek xijMake
The least, wherein
I.e. solve following one-zero programming problem
xij∈{0,1}
By the solution of above-mentioned optimization problem, can obtain distributing to n task the task distribution side that m cooperative cluster completes
Case, and the dump energy after making each cooperative cluster complete task differs the least than as far as possible, thus ensure balancing energy.
In above-mentioned steps two, what task in selected layer was allocated by center cluster bunch head concretely comprises the following steps:
(9a) subtask is allocated by the order that center cluster bunch head arrives according to task, is sent by mission bit stream to be allocated
To a category node;
(9b) after a category node receives message, check task description, decide whether to process according to self-energy consumption degree
This task, if energy expenditure degree exceedes setting threshold value, then refusal provides service, if energy expenditure degree is not less than setting threshold
Value, then provide service, and calculated this task estimation time, estimated energy consumption, these two information are returned bunch heads;
(9c) bunch head is according to a category node return information, selects the node of energy expenditure minimum as tasks carrying node;
If (9d) category node all refuses to provide service, then bunch head sends message to two category nodes, in two category nodes
Select service available node.
The above, be only presently preferred embodiments of the present invention, and the present invention not makees any pro forma restriction, though
So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any technology people being familiar with this specialty
Member, in the range of without departing from technical solution of the present invention, when the technology contents of available the disclosure above makes a little change or modification
For the Equivalent embodiments of equivalent variations, as long as being the content without departing from technical solution of the present invention, the technical spirit of the foundation present invention
Any simple modification, equivalent variations and the modification being made above example, all still falls within the range of technical solution of the present invention.
Claims (9)
1. complex task collaborative service method in a wireless sensor network based on sub-clustering, it is characterised in that: its step is such as
Under:
Step one: task is layered, carries out layering according to task DAG figure to it and divides, and the most successively distributes during task distribution,
Every layer is distributed some tasks;
Step 2: after the event of task occurs, incident point place bunch as center cluster, bunch head of center cluster is by task in layer
It is allocated;
Step 3: when bunch dump energy of center cluster is than less than setting threshold value, then jump a bunch transmission solicited message to periphery one, if
Periphery one is jumped bunch dump energy and is not less than threshold value than, then accept request, as the cooperative cluster of center cluster;Described center cluster and periphery
One jumps a bunch formation cooperation cluster, and bunch head of periphery one jumping bunch accepts the arrangement of center cluster bunch head;
Step 4: untreated task is distributed to cooperative cluster by center cluster, ensures the balancing energy of each cooperative cluster during distribution, residue
Energy is than difference minimum;
Step 5: in cooperative cluster assigns the task to bunch, member node processes.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: in described step one, that task carries out the process that layering divides is as follows for DAG figure according to task: entrance task is drawn
Being divided into ground floor, if a certain subtask forerunner's maximum layer is k, then this subtask is divided into k+1 layer.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: described step 3 judging, center cluster accepts after new task dump energy than whether less than the calculating setting threshold value
Process is as follows:
(3a) calculate bunch present energy and consume Ccluster(i): bunch present energy consumption refers to the energy of certain bunch of current existing task
Amount consumes sum;
(3b) bunch total surplus energy is calculatedBunch total surplus energy be bunch in the dump energy sum of all nodes;
(3c) bunch total primary power is calculatedBunch total primary power be bunch in the primary power sum of all nodes;
(3d) calculate bunch dump energy and compare Rcluster(i): a bunch dump energy ratio is that total surplus energy deducts present energy and disappears in this bunch
Consume the ratio with bunch total primary power,。
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: in described step 5 bunch in the evaluation procedure of member node service ability as follows:
(4a) degree of belief reliability of node processing task is calculatedi,Represent that node i processes the success time of task
Number, usesRepresent the total degree of node i accumulated process task, then the degree of belief of node i process task is expressed asreliabilityi∈[0,1];
(4b) calculate residue energy of node and compare residuali,Represent the dump energy of node i,Represent at the beginning of node i
Beginning energy, node i dump energy compares residualiIt is exactly the dump energy ratio with the primary power of node i of node i, it may be assumed that
(4c) service ability of node is calculated: node i service ability equation below is expressed asWherein alpha+beta=1, α >=0, β >=0.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: in described step 5 bunch in member node categorizing process as follows:
(5a) in general bunch, member node is divided into three classifications, and a category node is to have service ability, and the node that service ability is strong
Set, two category nodes are to have service ability, and the node set that service ability is general, and three category nodes are temporarily without service ability
Node set;
(5b) node classification initializes: if residue energy of node ratio is less than setting threshold value r, then it is assumed that node is temporarily without service energy
Power, this category node returns the node that is divided three classes;In bunch, in addition to three category nodes, remaining node is considered there is service ability node, calculates
Having service ability node serve ability and sort, having the node division of a% before in service ability node is a category node, a ∈ [0,
100], the node division outside a category node, three category nodes is two category nodes;If have service ability node number less than or etc.
In two, then will have service ability node universal formulation is a category node;
(5c) node classification dynamically adjusts: after each layer of task has processed, will to bunch in member node classification again draw
Point, calculate residue energy of node ratio, by residue energy of node ratio less than setting the node division of threshold value r as three category nodes, meter
Calculation has service ability node serve ability and sorts, and is divided into respective classes according to its service ability.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: in described step 3, the evaluation procedure of the service ability size of periphery one jumping bunch is as follows:
(6a) bunch service ability and a category node, the quantity of two category nodes, a category node, the service ability of two category nodes, bunch surplus
Complementary energy ratio is relevant;
(6b) assume that the service ability of bunch cluster (k) interior joint i is expressed as capacityi, one type saves
Point number is N1, two category node numbers are N2, then a bunch capability list is shown asWherein, G1 represents one
Category node, G2 represents two category nodes, ω1+ω2=1, ω1>=0, ω2>=0, Rcluster(k)Represent the residual energy of bunch cluster (k)
Amount ratio, r is that bunch dump energy set compares threshold value.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: concretely comprising the following steps of the composition cooperative cluster in described step 3:
(7a) ground floor task distributes to center cluster, while ground floor task processes, carries out second layer task distribution;
If (7b) dump energy of center cluster is than less than setting threshold value, then it is no longer allocated to center with task unallocated in layer
Bunch, center cluster is to periphery one jumping bunch request cooperation, and periphery one jumping bunch is according to the situation of self, and centered by choosing whether, a bunch offer takes
Business, if periphery one jumps bunch dump energy, ratio is less than or equal to set threshold value, then refusal provides service, periphery one jumping bunch residual energy
Amount ratio more than setting threshold value, then provides service, and self bunch service ability value is returned to center cluster;
If being (7c) n with layer unallocated task number, in periphery one is jumped bunch, select bunch conduct at front n of bunch service ability
Alternative cooperative cluster, is assigned to n task in n alternative cooperative cluster, it is ensured that the dump energy of each bunch is less than difference,
And assign to task number on each bunch less than bunch in the number of a category node;
If (7d) number of center cluster periphery one jumping bunch is less than unallocated task number, the jumping bunch of the most all peripheries one is all as standby
Select cooperative cluster;
If (7e) center cluster periphery one jumping bunch all refuses to provide service, then center cluster periphery two jumps a bunch transmission message, asks week
Limit two is jumped bunch assistance and is completed;
(7f) after this layer of task is assigned to bunch, bunch head in task being assigned to bunch, member node performs, and carries out next layer simultaneously
Task is distributed, until all tasks are assigned.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 7,
It is characterized in that: untreated task is distributed to the specific requirement of cooperative cluster by the center cluster in described step 4: have n task
task1,task2,…,taskn, m cooperative cluster clouster1,clouster2,…,cloustermComplete this n task,
I-th bunch completes the energy expenditure of this n task and is respectively Ci1,Ci2,…,Cin, and the dump energy score of m cooperative cluster
Wei R1,R2,…,Rm, the primary power of each bunch is respectivelyN task is distributed to m association
Work bunch completes so that it is less, to reach the energy balance than difference that each cooperative cluster completes the dump energy after task;
Assuming that each task is only completed by a cooperative cluster, a cooperative cluster completes multiple task;
xij=1 represents that jth task is completed by i-th cooperative cluster, xij=0 represents that jth task is not completed by i-th bunch, Cij
Represent that i-th cooperative cluster completes the energy expenditure of jth task, i=1,2 ..., m, j=1,2 ..., n, make X=(xij)m×nFor
The matrix of logger task distribution condition;Then completing this n task, the energy expenditure of cooperative cluster is
The dump energy of cooperative cluster is
Bunch dump energy ratio be
The average residual energy ratio of m cooperative cluster is approximately
Seek xijMake
The least, wherein bi=Ri-R0,
I.e. solve following one-zero programming problem
xij∈{0,1}
By the solution of above-mentioned optimization problem, obtain distributing to n task the task allocative decision that m cooperative cluster completes, and make
Obtain the dump energy after each cooperative cluster completes task and differ the least than as far as possible, thus ensure balancing energy.
Complex task collaborative service method in a kind of wireless sensor network based on sub-clustering the most according to claim 1,
It is characterized in that: in described step 2, what task in selected layer was allocated by center cluster bunch head concretely comprises the following steps:
(9a) subtask is allocated by the order that center cluster bunch head arrives according to task, and mission bit stream to be allocated is sent to one
Category node;
(9b) after a category node receives message, check task description, decide whether to process this according to self-energy consumption degree
Business, if energy expenditure degree exceedes setting threshold value, then refusal provides service, if energy expenditure degree is not less than setting threshold value, then
Service is provided, and has calculated this task estimation time, estimated energy consumption, these two information are returned bunch heads;
(9c) bunch head is according to a category node return information, selects the node of energy expenditure minimum as tasks carrying node;
If (9d) category node all refuses to provide service, then bunch head sends message to two category nodes, selects in two category nodes
The node of service is provided.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310733028.1A CN103702276B (en) | 2013-12-26 | 2013-12-26 | A kind of complex task collaborative service method in wireless sensor network based on sub-clustering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310733028.1A CN103702276B (en) | 2013-12-26 | 2013-12-26 | A kind of complex task collaborative service method in wireless sensor network based on sub-clustering |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103702276A CN103702276A (en) | 2014-04-02 |
CN103702276B true CN103702276B (en) | 2016-09-28 |
Family
ID=50363652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310733028.1A Expired - Fee Related CN103702276B (en) | 2013-12-26 | 2013-12-26 | A kind of complex task collaborative service method in wireless sensor network based on sub-clustering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103702276B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105764066B (en) * | 2016-01-29 | 2018-10-16 | 江苏省电力公司南京供电公司 | A kind of cooperation covering method towards distribution information Perception |
CN106304232B (en) * | 2016-08-08 | 2019-09-24 | 北京邮电大学 | A kind of communication means and device of base station dormancy |
CN106572185A (en) * | 2016-11-10 | 2017-04-19 | 北京邮电大学 | Method and apparatus for cooperative work of nodes in mobile Internet system |
CN106900007B (en) * | 2017-01-25 | 2020-01-03 | 扬州大学 | Overlapping clustering-oriented complex task allocation method for wireless sensor network |
CN108985622B (en) * | 2018-07-13 | 2020-08-04 | 清华大学 | Power system sparse matrix parallel solving method and system based on DAG |
CN111669325B (en) * | 2020-06-09 | 2022-01-25 | 南京邮电大学 | Hybrid energy center cluster method based on energy supply |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647250A (en) * | 2012-03-06 | 2012-08-22 | 上海大学 | Cooperative communication method based on clustering sphere decoding in virtual MIMO (Multiple-Input Multiple-Output) |
-
2013
- 2013-12-26 CN CN201310733028.1A patent/CN103702276B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647250A (en) * | 2012-03-06 | 2012-08-22 | 上海大学 | Cooperative communication method based on clustering sphere decoding in virtual MIMO (Multiple-Input Multiple-Output) |
Non-Patent Citations (1)
Title |
---|
《矿井无线传感器网络非均匀分簇路由算法研究》;王峰;《太原理工大学学报》;20120930;第43卷(第5期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103702276A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103702276B (en) | A kind of complex task collaborative service method in wireless sensor network based on sub-clustering | |
CN108171353A (en) | A kind of electric vehicle charging reservation matching process based on timeslice | |
Nikolić et al. | A simultaneous transit network design and frequency setting: Computing with bees | |
Sungur et al. | A model and algorithm for the courier delivery problem with uncertainty | |
CN111611062B (en) | Cloud-edge collaborative hierarchical computing method and cloud-edge collaborative hierarchical computing system | |
CN111311115B (en) | Group task allocation method based on space crowdsourcing social influence preference | |
Arslan et al. | A rational reasoning method from fuzzy perceptions in route choice | |
CN104077634B (en) | active-reactive type dynamic project scheduling method based on multi-objective optimization | |
Li et al. | Deploying autonomous mobile lockers in a two-echelon parcel operation | |
CN106095555A (en) | Executor's method for scheduling task in WSAN based on ant group algorithm | |
CN102081754A (en) | Multi-expert dynamic coordination judging method and intellectualized aid decision support system | |
Fielbaum et al. | How to split the costs and charge the travellers sharing a ride? aligning system’s optimum with users’ equilibrium | |
Arslan et al. | A rational approach to handling fuzzy perceptions in route choice | |
CN106502790A (en) | A kind of task distribution optimization method based on data distribution | |
CN104506576A (en) | Wireless sensor network and node task migration method thereof | |
Alonso-Meijide et al. | Computing Banzhaf–Coleman and Shapley–Shubik power indices with incompatible players | |
CN109450587B (en) | Spectrum integration processing method, device and storage medium | |
Duan et al. | Addressing the urban-scale vehicle assignment and rebalancing problems in shared autonomous vehicle system while simultaneously considering immediate, reservation, shareable, and unshareable requests | |
Wang et al. | Particle swarm optimization with genetic evolution for task offloading in device-edge-cloud collaborative computing | |
Zak et al. | Multiple criteria optimization method for the vehicle assignment problem in a bus transportation company | |
Sánchez-Ansola et al. | School Bus Routing Problem with Fuzzy Walking Distance. | |
CN104869154A (en) | Distributed resource scheduling method for balancing resource credibility and user satisfaction | |
Bouman et al. | Capacity, information and minority games in public transport | |
CN116579575A (en) | Dynamic scheduling decision method for space-time efficient matching and sharing of supply and demand electric motorcades | |
Qiao et al. | Matching game approach for charging scheduling in vehicle-to-grid networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160928 |