CN103619047A - Opportunistic routing method in multiple-concurrent-flow wireless mesh network - Google Patents

Opportunistic routing method in multiple-concurrent-flow wireless mesh network Download PDF

Info

Publication number
CN103619047A
CN103619047A CN201310648264.3A CN201310648264A CN103619047A CN 103619047 A CN103619047 A CN 103619047A CN 201310648264 A CN201310648264 A CN 201310648264A CN 103619047 A CN103619047 A CN 103619047A
Authority
CN
China
Prior art keywords
forall
node
sigma
stream
link
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
CN201310648264.3A
Other languages
Chinese (zh)
Other versions
CN103619047B (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.)
Hunan University
Original Assignee
Hunan University
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 Hunan University filed Critical Hunan University
Priority to CN201310648264.3A priority Critical patent/CN103619047B/en
Publication of CN103619047A publication Critical patent/CN103619047A/en
Application granted granted Critical
Publication of CN103619047B publication Critical patent/CN103619047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an opportunistic routing method in a multiple-concurrent-flow wireless mesh network. Candidate nodes are used as resources, an opportunistic routing problem in multiple concurrent flows is modeled to be a convex optimization problem on the condition that resource constraint and route constraint are analyzed, and a distributed algorithm for combining candidate node selection and speed distribution is put forward based on a duality and proton gradient method. The algorithm conducts flow speed distribution in an iteration mode, whether nodes are used as the candidate nodes of the flow is judged through speed distribution, and the network throughput is maximized on the premise that fairness is ensured. The experiment results show that compared with an opportunistic routing method based on ETX and EAX indexes, the opportunistic routing method in the multiple-concurrent-flow wireless mesh network can improve more network convergence throughput, and the network convergence throughput is averagely improved by 33.4% and 27.9% compared with the ETX and EAX.

Description

Chance method for routing in a kind of how concurrent stream wireless mesh network
Technical field
The present invention relates to chance route technology in wireless network, refer to especially the chance method for routing in how concurrent stream wireless mesh network.
Background technology
Chance route is routing mode emerging in multi-hop wireless network, and it utilizes wireless medium broadcast nature and multi-user diversity, does not determine in advance the down hop of route, and directly broadcast transmission packet, may have a plurality of neighbor nodes all correctly to receive packet around.Receiving that between the node of packet, carrying out certain coordinates, by one of them from destination node the node of " near " continue forwarding.Certainly not all node all participates in, and chance route is participated in by certain rules selection part wherein, and these selected neighbor nodes are called both candidate nodes or candidate's forward node.Through multi-party verification, with only have a traditional fixed route that presets down hop and compare, the mode of a plurality of both candidate nodes forwarding data of this use of chance route bag more can adapt to insecure wireless link, especially can make full use of the wireless link of remote and high Loss Rate, can obviously promote the end-to-end throughput of multi-hop wireless network, especially wireless mesh network.
Illustrate the basic thought of chance route, in the multi-hop wireless network of chain type as shown in Figure 1, there are 5 nodes, the packet delivery fraction of link (Packet Delivery Ratio, PDR) between value representation two nodes between node on limit, packet is by the correct probability receiving of this link.The computational methods of PDR are within the scope of certain hour, and destination node correctly receives the ratio of all data packet numbers of data packet number and sending node transmission, and distance link packet delivery fraction far away is lower.Node 0 need to send data to node 4.
Adopt traditional route (Traditional Routing, TR) to have multiple different routed path.As node 0 directly sends to node 4 with a jumping, because the loss of link may need to send repeatedly for each bag; Or node 0 sends to node 4 through node 1,2 and 3 with four jumpings, because each bag of multi-hop transmission also needs transmission repeatedly.When node 0 is directly passed to node 4, node 4 may not receive, but because wireless be broadcast medium, node 1,2 even node 3 may correctly be eavesdropped (overhear) to packet, and node 1,2 and 3 whether correctly to eavesdrop packet be separate, i.e. multi-user diversity characteristic.By correctly eavesdroping the node 1 of packet or node 2 or node 3 retransmission data bags, to node 4, should retransmit better than node 0 so.When adopting four jump set when defeated, node 2, node 3 even node 4 may correctly be eavesdroped the partial data bag that node 0 sends to node 1, if node 1 forwards these packets again, to them, have just caused redundancy, cause the waste of channel resource.
Chance route is excavated the otherness between multi-user, make full use of the chance of transmission, do not preset a fixing down hop forward node but set a plurality of both candidate nodes or candidate's forward node (Candidate Forwarder), after sending packet, according to the actual reception packet situation of both candidate nodes, in the both candidate nodes of all correct receptions, the nearest both candidate nodes of chosen distance destination node, as real forward node, reduces to reach the object that the number of transmissions improves throughput.In this example, node 4,3,2 and 1 is all the both candidate nodes of node 0.When node 0 sends after certain packet, node 2 and 1 correct reception but the correctly reception of node 3 and node 4, the node 2 nearest apart from destination node becomes the real forward node of this packet.When node 0 sends after next packet, node 4,2 and 1 all correctly receives, and node 4 is exactly that destination node itself just does not need to forward again.
Existing chance route is generally calculated expected transmission times, expectation transmission time, route effectiveness or the expense producing on all paths that may pass through from source node to destination node, carries out chance Route Selection.But these route indexs are all to carry out Path selection and definite both candidate nodes not considering to flow under distribution situation,, in any flow point cloth and node load situation, selected path is all the same.Locality due to network data flow distribution, the distribution of data flow on time and space is often very inhomogeneous, therefore, do not consider that the Path selection of flow point cloth may cause a plurality of data flow to be concentrated through certain some region, make some both candidate nodes overload and other node free time.
On the one hand, both candidate nodes load imbalance will stop network that the service of Health equity is provided.Heavy duty will exhaust the bandwidth of both candidate nodes, disposal ability and memory source.Once it is congested that the both candidate nodes of overload occurs, and will cause data-bag lost and cache overflow, these nodes become performance bottleneck end to end, cause long delay and throughput to decline.Make full use of in addition untapped idle route and both candidate nodes and can further promote network throughput.Therefore need balanced distribution network both candidate nodes resource.While there is a plurality of concurrent stream on the other hand in network, a node may become the both candidate nodes of many streams, and how this node is many stream services, and node is how the flow rate of every stream service distributes that could to obtain better throughput be unknown problem.These problems can combine by introducing that both candidate nodes is selected and the multithread chance routing algorithm of rate-allocation solves.
Summary of the invention
Technical problem to be solved by this invention is, not enough for prior art, chance method for routing in a kind of how concurrent stream wireless mesh network is provided, and maximization network throughput under the prerequisite that guarantees fairness, can effectively avoid the generation of the stream situation hungry to death that some is distant, jumping figure is more.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: the chance method for routing in a kind of how concurrent stream wireless mesh network, and the method is:
1) by the corresponding one-tenth of a how concurrent stream wireless mesh network non-directed graph G=(V, E), described non-directed graph comprises N node, and wherein V is set of node, and E is the matrix of link between node, has the how concurrent stream of K bar, and source node and destination node are respectively { (s k, d k), k=1..K};
2) set up each network flow throughput λ in how concurrent stream wireless mesh network klong-pending target function model max imize Π k ∈ [ 1 , K ] λ k , max imize Π k ∈ [ 1 , K ] λ k Be equivalent to max imize Σ k ∈ [ 1 , K ] 1 n ( λ k ) :
max imize Σ k ∈ [ 1 , K ] 1 n ( λ k ) s . t . α uv k = β u k * β v k * BH uv , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E Σ v α uv k r k ( u , v ) - Σ w α wu k r k ( w , u ) = h k ( u ) , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V α uv k r k ( u , v ) = r k ( u , v ) ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E Σ k ∈ [ 1 , K ] β u k b k ( u ) + Σ k ∈ [ 1 , K ] Σ v ∈ R ( u ) β v k b k ( v ) ≤ C , ∀ u ≠ s k β u k b k ( u ) = b k ( u ) , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V b k ( u ) * p ( u , v ) ≥ r k ( u , v ) , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E α uv k = { 0,1 } , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E β u k = { 0,1 } , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V 0 ≤ r k ( u , v ) ≤ C , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E 0 ≤ b k ( u ) ≤ C , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V ;
Wherein, s.t. represents constraints; represent the candidate's forward node whether node u flows as k bar, if node u is as candidate's forward node of k bar stream,
Figure BDA0000430300790000043
be 1, otherwise be 0;
Figure BDA0000430300790000044
represent the candidate's forward node whether node v flows as k bar, if node v is as candidate's forward node of k bar stream,
Figure BDA0000430300790000045
be 1, otherwise be 0;
Figure BDA0000430300790000046
represent whether the link between node u and v is that k bar stream is used, if whether the link between node u and v uses as k bar stream,
Figure BDA0000430300790000047
be 1, otherwise be 0; BH uvthe neighborhood that represents node u and v, u and v be BH during neighbours each other uvvalue is 1, otherwise is 0; r k(u, v) represents the flow rate of k bar stream on link (u, v); r k(w, u) represents the flow rate of k bar stream on link (w, u);
Figure BDA0000430300790000048
λ kthe throughput that represents k bar stream; b k(v) be the average broadcast rate of node v; b k(u) be the average broadcast rate of node u,
Figure BDA0000430300790000049
represent whether node u is k bar streaming data at t scheduling time slot,
Figure BDA00004303007900000410
be that 1 expression sends, otherwise
Figure BDA00004303007900000411
be 0; T is scheduling time slot number; C is the capacity of MAC layer; b k(v) be the average broadcast rate of node v; P (u, v) represents the packet delivery fraction of link (u, v);
3) by the equivalent expression of above-mentioned target function model
Figure BDA00004303007900000412
be converted into following Optimized model:
max imize Σ k ∈ [ 1 , K ] 1 n ( λ k ) s . t . b k ( u ) * p ( u , v ) ≥ r k ( u , v ) , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E Σ v r k ( u , v ) - Σ w r k ( w , u ) = h k ( u ) , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V Σ k ∈ [ 1 , K ] b k ( u ) + Σ k ∈ [ 1 , K ] Σ v ∈ R ( u ) b k ( v ) ≤ C , ∀ u ≠ s k 0 ≤ r k ( u , v ) ≤ C , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E 0 ≤ b k ( u ) ≤ C , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V ;
4) above-mentioned Optimized model is converted into following canonical form:
min imize - Σ k ∈ [ 1 , K ] 1 n ( λ k ) s . t . r k ( u , v ) - b k ( u ) * p ( u , v ) ≤ 0 , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E Σ v r k ( u , v ) - Σ w r k ( w , u ) = hk ( u ) , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V Σ k ∈ [ 1 , K ] b k ( u ) + Σ k ∈ [ 1 , K ] Σ v ∈ R ( u ) b k ( v ) - C ≤ 0 , ∀ u ≠ s k ; 0 ≤ r k ( u , v ) ≤ C , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E 0 ≤ b k ( u ) ≤ C , ∀ k ∈ [ 1 , K ] , ∀ u ∈ V
5) initialization, setting i is 0, sets at random initial parameter
Figure BDA0000430300790000053
wherein and x (i)(u) represent respectively
Figure BDA0000430300790000055
with
Figure BDA0000430300790000056
antithesis parameter;
6) setting i is 1;
7) be the model introducing antithesis parameter in step 4), set up Lagrangian, wherein constraints
Figure BDA0000430300790000057
antithesis parameter be x (u), constraints
Figure BDA0000430300790000058
antithesis parameter be y k(u, v), according to the sub-gradient method method for solving of even summation, utilize following formula to upgrade antithesis parameter:
x ( i ) ( u ) = max ( 0 , x ( i - 1 ) ( u ) + η M u ( i - 1 ) ) y f ( i ) ( u , v ) = max ( 0 , y k ( i - 1 ) ( u , v ) + η H ( k , u , v ) ( i - 1 ) ) M u ( i - 1 ) = Σ f ∈ [ 1 , F ] u ≠ s k b k ( i - 1 ) ( u ) + Σ f ∈ [ 1 , F ] Σ v ∈ R ( u ) , u ≠ s k b k ( i - 1 ) ( v ) - C H ( k , u . v ) ( i - 1 ) = r k ( i - 1 ) ( u , v ) - b k ( i - 1 ) ( u ) p ( u , v ) ;
Wherein, x (i-1)(u) and
Figure BDA00004303007900000510
be the antithesis parameter of the i-1 time iteration, η is step-length,
Figure BDA00004303007900000511
be respectively x (u) and y kthe antithesis gradient of (u, v),
Figure BDA00004303007900000512
be the average broadcast rate of node u in the i-1 time iteration, be the flow rate of the i-1 time iteration link (u, v) on k bar stream;
8), according to the antithesis parameter of the i time iteration, calculate the flow rate of k bar stream on link (u, v) in the i time iteration
Figure BDA0000430300790000061
average broadcast rate with node u
Figure BDA0000430300790000062
Figure BDA0000430300790000063
b k ( i ) ( u ) b k ( i - 1 ) ( u ) + 1 2 ϵ ( Σ ( u , v ) ∈ E y k ( i ) ( u , v ) p ( u , v ) - x ( i ) ( u ) u ≠ s k - Σ v ∈ R ( u ) , v ≠ s k x ( i ) ( v ) )
Wherein:
Figure BDA0000430300790000065
it is the flow rate of k bar stream in the i time iteration;
Figure BDA0000430300790000066
π is that k bar stream source node is to any paths of destination node;
Figure BDA0000430300790000067
be the antithesis parameter of the i time iteration link (u, v), the i.e. expense of link (u, v);
Figure BDA0000430300790000068
it is the expense in the path of expense minimum in k bar stream in the i time iteration; If link ( u , v ) ∈ arg min π Σ ( u , v ) ∈ π y k ( i ) ( u , v ) , r k ( i ) ( u , v ) = Γ k i ; Otherwise r k ( i ) ( u , v ) = 0 ;
9) calculate the average flow speed of k bar stream on link (u, v) in the i time iteration
Figure BDA00004303007900000612
Figure BDA00004303007900000613
calculate the mean value of the average broadcast rate of node u in the i time iteration
Figure BDA00004303007900000614
Figure BDA00004303007900000615
twice iteration in judgement front and back whether difference is less than 10 -4, if so, enter 10); Otherwise, make i=i+1, return to 7), until current iteration number of times i is greater than maximum iteration time run, run>0, after being restrained
Figure BDA00004303007900000617
enter 10); ;
10) utilize after convergence
Figure BDA00004303007900000618
according to following formula, obtain maximum target function value
Figure BDA00004303007900000619
Figure BDA00004303007900000620
11) utilize after convergence
Figure BDA00004303007900000621
with
Figure BDA00004303007900000622
according to following formula, obtain
Figure BDA00004303007900000623
with
Figure BDA00004303007900000624
α uv k = 1 , r ~ k ( i ) ( u , v ) ≠ 0 0 , r ~ k ( i ) ( u , v ) = 0 , ∀ k ∈ [ 1 , K ] , ∀ ( u , v ) ∈ E ;
β u k = 1 , b ~ k ( i ) ( u ) ≠ 0 0 , otherwise ∀ k ∈ [ 1 , K ] .
Compared with prior art, the beneficial effect that the present invention has is: method of the present invention can be under the prerequisite that guarantees fairness maximization network throughput, effectively avoid the generation of the stream situation hungry to death that some is distant, jumping figure is more; Method of the present invention has stronger topological independence and stability; Compare with the chance routing mode based on ETX and EAX index, method of the present invention more can promote networks converge throughput, and average specific ETX and EAX improve 33.4% and 27.9%.
Accompanying drawing explanation
Fig. 1 chance route basic principle schematic;
Fig. 2 is the chance Route Selection under how concurrent stream communication scene; Fig. 2 (a) does not consider the chance Route Selection of flow point cloth; Fig. 2 (b) considers the chance Route Selection of flow point cloth;
Fig. 3 is 16 node topology Fig. 1 in the present invention;
Fig. 4 be in the present invention three concurrent stream throughputs with wheel number variation diagram;
Fig. 5 is 16 node topology Fig. 2 in the present invention;
Fig. 6 be in the present invention six concurrent stream throughputs with wheel number variation diagram;
Fig. 7 flows balanced index schematic diagram in the present invention;
Fig. 8 converges throughput in the present invention.
Embodiment
While there is many concurrent stream in wireless mesh network, need to select route and both candidate nodes for all concurrent stream.As shown in Fig. 2 (a), s represents source node, and d represents destination node, and R represents can be used as the intermediate node of both candidate nodes.There are two concurrent streams, respectively from s 0to d 0and s 1to d 1.The source node of every stream, destination node and corresponding used both candidate nodes are gone out by dotted line collimation mark, and solid arrow represents the data flow of article one stream, and dotted arrow represents the data flow of second stream.Because the source and destination node location of two streams is close, they can select identical several nodes as both candidate nodes simultaneously to use ETX or EAX.As Fig. 2 (a), two streams have been selected node R simultaneously 2, R 4, R 7, second stream has also been selected node R 5, node R 1, R 3, R 6, R 8not selected.Cause like this part both candidate nodes idle component both candidate nodes overload, can not fully promote network throughput.Both candidate nodes selection result after consideration flow point cloth is as shown in Fig. 2 (b), and two streams take full advantage of all available both candidate nodes.In addition, be that two nodes that flow service are as R simultaneously 4, reasonable distribution is the time of two stream services, the speed namely forwarding, will reach better throughput performance.Therefore we will solve is how according to stream distributing equilibrium distribution network node and rate resource, guarantees maximize throughput under the fairness prerequisite between data flow.
We become a corresponding nonoriented graph G=(V, E) by this scene description, comprise N node, and wherein V is N set of node, and E is for representing the matrix of link between node.Only have when two internodal link packet delivery fractions are greater than certain threshold value and just think that the direct link between them exists, each other neighbours.That is to say for any link l (u, v) ∈ E and have a corresponding link packet delivery fraction p (u, v), be illustrated in link in noiseless situation and correctly receive packet success rate, this value can be calculated acquisition by propagation model.The link packet delivery fraction of supposing arbitrary node is all independently.A neighbours R (u) who jumps of defined node u is p (u, v)>=P 0node set, P wherein 0<<1.For remaining any node v that does not belong to R (u), link packet delivery fraction is 0, i.e. p (u, v)=0.In wireless mesh network, have K bar stream, source node and destination node are respectively { (s k, d k), i=1..K}.
The problem need solving is for this K bar stream the seek an opportunity path of route and the optimum forwarding rate that each both candidate nodes is every stream, guarantees that the fairness between data flow maximizes the throughput of all streams simultaneously.
We carry out formalized description to this problem, first provide multithread environment chance route restriction and other related constraint, then propose target and the formalization statement of optimized network performance, finally, in order to facilitate problem solving, according to the dependence of parameter, problem is transformed.
1. multithread environment chance route restriction
In network, the source node of every stream, destination node and both candidate nodes form a subgraph, and the node and the link that are included in k bar flow path will form a subgraph G (V k, E k).
With
Figure BDA0000430300790000081
represent the candidate's forward node whether node u flows as k bar.Shown in (1),
Figure BDA0000430300790000082
be defined as: node u is as candidate's forward node of k bar stream,
Figure BDA0000430300790000083
be 1; Otherwise be 0.
Figure BDA0000430300790000084
With
Figure BDA0000430300790000086
represent whether the link between node u and v uses as k bar stream.Shown in (2), whether the link between node u and v uses as k bar stream,
Figure BDA0000430300790000085
be 1; Otherwise be 0.
Figure BDA0000430300790000091
Only have when node u and node v are simultaneously as the forward node of k bar stream, and node u and v be each other during neighbours, the link between node u and v just can be used by k bar stream, shown in (3).
&alpha; uv k = &beta; u k * &beta; v k * BH uv , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E - - - ( 3 )
Wherein, BH uvthe neighborhood that represents node u and v, each other BH during neighbours uvvalue is 1; Otherwise be 0.
2. other related constraint of chance route
1) stream conservation constraint
Each node must meet the constraint of stream conservation, and the flow rate flowing out for the intermediate node of each stream equals the flow rate flowing into.The flow rate that the source node of every stream flows out is the throughput of this stream, and the flow rate that destination node flows into is the throughput of this stream, opposite direction.
&Sigma; v &alpha; uv k r k ( u , v ) - &Sigma; w &alpha; wu k r k ( w , u ) = h k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V - - - ( 4 )
Wherein,
Figure BDA0000430300790000094
represent the flow rate of k bar stream on link (u, v), λ k, s k, d kthe throughput, source node and the destination node that represent respectively k bar stream.
Further, only have the transmission that participates in stream when link, the flow rate on link is not just 0; Otherwise the flow rate one of link is decided to be 0.The available formula of this constraint (5) is expressed:
&alpha; uv k r k ( u , v ) = r k ( u , v ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E - - - ( 5 )
2) MAC layer broadcast rate constraint
Due to the sharing of wireless medium, node is used channel resource according to media access layer protocol sequence or competition.Time and broadcast rate that node occupies channel resource are determined by mac-layer protocol.Consider a uncompetitive MAC broadcast based on time slot, extend to 802.11MAC layer.With
Figure BDA0000430300790000096
(u) represent whether node u is k bar streaming data at t time slot, 1 for sending, otherwise be 0.As node u has neither part nor lot in k bar stream,
Figure BDA0000430300790000101
be 0 o'clock, one is decided to be 0, because node u can be not in office, when groove is k bar streaming data.R (u) represents the node set in node u transmission range.For non-interference, only allow in the transmission range of any moment node u to occur a recipient, comprise it oneself, see formula (6).
Because source node need not receive the data from any node, so need to get rid of source node.
&Sigma; k &Element; [ 1 , K ] &beta; u k B k t ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) &beta; v k B k t ( v ) &le; 1 , &ForAll; u &NotEqual; s k - - - ( 6 )
If consider to exist T(T>0) individual scheduling time slot, according to formula (6), can obtain:
C T &Sigma; t &Element; [ 1 , T ] &Sigma; k &Element; [ 1 , K ] &beta; u k B k t ( u ) + C T &Sigma; t &Element; [ 1 , T ] &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) &beta; v k B k t ( v ) &le; C , &ForAll; u &NotEqual; s k - - - ( 7 )
Wherein, C is that the capacity of MAC layer is the maximum MAC layer broadcast rate of node when noiseless (C has fixedly value, such as 1Mbps, 2Mbps or 11Mbps).The average broadcast rate of node can pass through
Figure BDA0000430300790000105
calculate, formula (7) just can be write as so:
&Sigma; k &Element; [ 1 , K ] &beta; u k b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) &beta; v k b k ( v ) &le; C , &ForAll; u &NotEqual; s k - - - ( 8 )
Further, according to
Figure BDA0000430300790000107
with
Figure BDA0000430300790000108
relation, can obtain b k(u) with
Figure BDA0000430300790000109
relation.Only have the transmission that participates in stream when node, the average broadcast rate of node may not be just 0; Otherwise the average broadcast rate one of node is decided to be 0.The available formula of this constraint (9) represents:
&beta; u k b k ( u ) = b k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V - - - ( 9 )
3) coding bound
The realization of the chance route in the present invention adopts the chance route of band coding as MORE, and the forwarding rate of node is not subject to the impact of transfer sequence, retrained by the link-quality of respective links.Therefore it is long-pending that the actual flow speed of link must be less than average broadcast rate and the link packet delivery fraction of sending node, meets the straight-forward network encoding model in following formula.
b k ( u ) * p ( u , v ) &GreaterEqual; r k ( u , v ) &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E - - - ( 10 )
Wherein, p (u, v) represents the packet delivery fraction of link (u, v).Although this constraint is not very strict, behavior that also can an actual wireless mesh network of approximate description.Although also have more accurate restricted model, but the constraint of index can cause problem to be difficult to separate.
3. problem formalized description
The chance routing issue that the present invention will solve is that, in the wireless mesh network that has K bar stream to exist, by determining chance route and carry out rate-allocation for every stream, the throughput that maximizes all streams also will guarantee the fairness between data flow simultaneously.In order to maximize the aggregate throughput of all-network stream under the prerequisite that can guarantee fairness, and can effectively avoid the generation of the stream situation hungry to death that some is distant, jumping figure is more, our design object function is long-pending for maximizing each network flow throughput, verified, target function adopts product form can reach resource fairness in distribution and maximizes the object of aggregate throughput.But unlike the prior art, prior art is under definite chance routing condition, carry out rate-allocation to reach resource fairness in distribution and to maximize the object of aggregate throughput, and the present invention need to carry out chance Route Selection and rate-allocation simultaneously.
Because
Figure BDA0000430300790000112
can be equivalent to therefore problem of the present invention is can formalized description as follows:
max imize &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) s . t . &alpha; uv k = &beta; u k * &beta; v k * BH uv , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; v &alpha; uv k r k ( u , v ) - &Sigma; w &alpha; wu k r k ( w , u ) = h k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V &alpha; uv k r k ( u , v ) = r k ( u , v ) &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; k &Element; [ 1 , K ] &beta; u k b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) &beta; v k b k ( v ) &le; C , &ForAll; u &NotEqual; s k &beta; u k b k ( u ) = b k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V b k ( u ) * p ( u , v ) &GreaterEqual; r k ( u , v ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &alpha; uv k = 0 or 1 , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &beta; u k = 0 or 1 , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V 0 &le; r k ( u , v ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V --- ( 11 )
Wherein parameter comprises α, β, r, b.Owing to comprising nonlinear constraint in problem, be difficult to solve, we,, by according to the relation between parameter, transform problem.
4. problem transforms
In problem (11), exist two groups of nonlinear restrictions (4) (5) and (8) (9).We,, according to the dependence between approximately intrafascicular parameter, change into linear restriction by them.According in constraint (5)
Figure BDA0000430300790000128
with r krelation between (u, v), constraint (4) and constraint (5) can be write as constraint (12) and (13).Link flow speed is not 0 o'clock, and link has necessarily participated in the transmission of this stream.
&Sigma; v r k ( u , v ) - &Sigma; r k w ( w , u ) = h k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V - - - ( 12 )
&alpha; uv k = 1 , r k ( u , v ) &NotEqual; 0 0 , r k ( u , v ) = 0 , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E - - - ( 13 )
According in constraint (9)
Figure BDA0000430300790000123
with b k(u) relation between, constraint (8) and constraint (9) can be write as constraint (14) and (15).The average broadcast rate of node is not 0 o'clock, and node has necessarily participated in the transmission of this stream.
&Sigma; k &Element; [ 1 , K ] b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) b k ( v ) &le; C , &ForAll; u &NotEqual; s k - - - ( 14 )
Figure BDA0000430300790000125
computing formula be: &beta; u k = 1 , b k ( u ) &NotEqual; 0 0 , otherwise , &ForAll; k &Element; [ 1 , K ] - - - ( 15 )
Revise after constraint, parameter alpha, β is only determined by the value of r and b.So parameter alpha, β can participate in final model, determines after the value of r and b, then determines α, β by constraint (13) and (15).Institute's Constrained is all linear restriction like this, uses previously defined target function, and the problem in (11) can transform as follows:
max imize &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) s . t . ( 10 ) ( 12 ) ( 14 ) 0 &le; r k ( u , v ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E - - - ( 16 ) 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V
Wherein, variable comprises r, b.
Whether whether node is decided and oneself is participated in stream by transmission rate, be flow forwarding.This protruding Optimized model can solve by interior point method, simple method, but this centralized algorithm is inappropriate for wireless mesh network, so we provide a distributed algorithm.
Below set forth the know-why of the distributed algorithm of the present invention:
By analysis pinpoint the problems (16) be protruding optimization problem, there is cumulative decomposability.According to decompositionization thought [15], global optimum's PROBLEM DECOMPOSITION can be solved on each node and link.Then according to the sub-gradient method of even summation, by separating dual problem, obtain the iteration update mode of dual variable.By the dual variable after upgrading, then solve the problem after decomposition, iteration must converge to optimal solution.According to the step solving, design distributed iterative algorithm.
1. based on solving the sub-gradient method of even summation
For obtaining distributed algorithm, first we write as problem (16) the canonical form problem (17) of protruding optimization problem.
min imize - &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) s . t . r k ( u , v ) - b k ( u ) * p ( u , v ) &le; 0 , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; v r k ( u , v ) - &Sigma; w r k ( w , u ) = h k ( u ) &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V &Sigma; k &Element; [ 1 , K ] b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) b k ( v ) - C &le; 0 , &ForAll; u &NotEqual; s k 0 &le; r k ( u , v ) &le; C , &ForAll; k &Element; [ 1 , K ] , ( u , v ) &Element; E 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V - - - ( 17 )
By introducing dual variable, we can be met the Lagrangian of constraint (12) problem (17), as shown in the formula.
L ( r , b , x , y ) = - &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) + &Sigma; ueV x ( u ) ( &Sigma; k &Element; [ 1 , K ] , u &NotEqual; sk b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) , u &NotEqual; s k b k ( v ) - C ) + &Sigma; k &Element; [ 1 , K ] &Sigma; ( u , v ) &Element; E y k ( u , v ) ( r k ( u , v ) - b k ( u ) p ( u , v ) ) = - &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) + &Sigma; k &Element; [ 1 , K ] &Sigma; ( u , v ) &Element; E y k ( u , v ) r k ( u , v ) + &Sigma; k &Element; [ 1 , K ] &Sigma; u &Element; V , u &NotEqual; s k x ( u ) b k ( u ) + &Sigma; k &Element; ( 1 , K ) &Sigma; u &Element; V &Sigma; v &Element; R ( u ) , v &NotEqual; s k x ( v ) b k ( u ) - &Sigma; u &Element; V x ( u ) C - &Sigma; k &Element; [ 1 , K ] &Sigma; ( u , v ) &Element; E y k ( u , v ) b k ( u ) p ( u , v ) - - - ( 18 )
Therefore L (r, b, x, y) can be divided in parameter (r, b), problem (17) can be decomposed into two subproblems:
1) the flow rate subproblem L flowing about k bar 1
min imize - 1 n ( &lambda; k ) + &Sigma; ( u , v ) &Element; E y k ( u , v ) r k ( u , v ) s . t . &Sigma; v r k ( u , v ) - &Sigma; w r k ( w , u ) = h k ( u ) , &ForAll; u &Element; V 0 &le; r k ( u , v ) &le; C , &ForAll; ( u , v ) &Element; E - - - ( 19 )
2) about k bar, flow the average broadcast rate subproblem L of node u 2
min imize b k ( u ) ( x ( u ) u &NotEqual; sk + &Sigma; v &Element; R ( u ) , v &NotEqual; sk x ( v ) - &Sigma; ( u , v ) &Element; E y k ( u , v ) p ( u , v ) ) s . t . 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] - - - ( 20 )
By minimal gradient method, combine solution problem (19) (20) and can obtain a distributed algorithm.
Lagrange duality function is the minimum value of Lagrangian, meets constraint (12).
G ( x , y ) = inf r , b { L ( r , b , x , y ) } - - - ( 21 )
The dual problem of problem (17) is maximize G (x, y).According to the method for Duality Decomposition, can access dual variable.The antithesis parameter of i wheel is upgraded as shown in the formula (22), and the sub-gradient of dual variable is respectively M, H.
&ForAll; u &Element; V , x ( i ) ( u ) = max ( 0 , x ( i - 1 ) ( u ) + &eta; M u ( i - 1 ) ) &ForAll; ( u , v ) &Element; E , y k ( i ) ( u , v ) = max ( 0 , y k ( i - 1 ) ( u , v ) + &eta; H ( k , u , v ) ( i - 1 ) ) - - - ( 22 )
Wherein,
M u ( i - 1 ) = &Sigma; k &Element; [ 1 , K ] , u &NotEqual; s k b k ( i - 1 ) ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) , u &NotEqual; s k b k ( i - 1 ) ( v ) - C H ( k , u , v ) ( i - 1 ) = r k ( i - 1 ) ( u , v ) - b k ( i - 1 ) ( u ) p ( u , v ) - - - ( 23 )
1) subproblem L 1solve
Subproblem L 1target function be strictly convex function, can be based on flow path model [10], be translated into equivalence problem (24).
Figure BDA0000430300790000149
Wherein, P is k bar stream source node s kto destination node d kbetween all single path set, γ k(π) be the flow rate of k bar stream on π path,
Figure BDA0000430300790000146
obviously the optimal solution of this equivalence problem always
Figure BDA0000430300790000147
minimum path, so we can be by y k(u, v) regards the expense of link as, and a problem of selecting minimal-overhead path that Here it is, can obtain by distributed shortest path algorithm.We use Γ krepresent the flow rate in single path, problem just changes into problem (25).
Figure BDA0000430300790000148
Wherein,
Figure BDA0000430300790000151
it is the overhead value in minimal-overhead path.Target function is convex function, and problem is easily solved
Figure BDA0000430300790000152
if link (u, v) is positioned on the path of minimal-overhead, the value that problem (25) is separated so is just in problem (24)
Figure BDA0000430300790000153
value, otherwise in problem (24)
Figure BDA0000430300790000154
be 0.Therefore each article k bar stream can calculate by distributed shortest path algorithm
2) subproblem L 2solve
Subproblem L 2target function be linear, in convergence process, may shake, we add that a part makes it to become strictly convex function, get ε >0 and enough little, make
Figure BDA0000430300790000156
level off to 0, the solution of problem (26) levels off to subproblem L 2(20) solution.
min imizeb k ( i ) ( u ) ( x ( i ) ( u ) u &NotEqual; sk + &Sigma; v &Element; R ( u ) , v &NotEqual; s k x ( i ) ( v ) - &Sigma; ( u , v ) &Element; E y k ( i ) ( u , v ) p ( u , v ) ) + &epsiv; | | b k ( i ) ( u ) - b k ( i - 1 ) ( u ) | | 2 s . t . 0 &le; b k ( i ) ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] - - - ( 26 )
At each, take turns,
Figure BDA0000430300790000158
upgrade as follows:
b k ( i ) ( u ) = b k ( i - 1 ) ( u ) 1 2 &epsiv; ( &Sigma; ( u , v ) &Element; E y k ( i ) ( u , v ) p ( u , v ) - x ( i ) ( u ) u &NotEqual; sk - &Sigma; v &Element; R ( u ) , v &NotEqual; s k x ( i ) ( v ) ) - - - ( 27 )
2. distributed algorithm
Owing to taking turns Solve problems (22) at each, link or be certain stream service, or be not, so
Figure BDA00004303007900001510
value or be 0, or be not 0, can not represent that in a period of time, link is the situation of stream service, so we represent with the mean value of many wheels.Be similarly and represent that a period of time interior nodes is for the situation of stream service, we represent the broadcast rate of node with many wheel mean value.I takes turns average flow rate and average broadcast rate suc as formula shown in (28) (29).
r ~ k ( i ) ( u , v ) = 1 i &Sigma; m = 0 i r k ( m ) ( u , v ) i &GreaterEqual; 1 - - - ( 28 )
b ~ k ( i ) ( u ) = 1 i &Sigma; m = 0 i b k ( m ) ( u ) , i &GreaterEqual; 1 - - - ( 29 )
Solution procedure according to the problems referred to above (16) based on to the sub-gradient method of even summation, the designed complete distributed multithread chance routing algorithm ORMf of the present invention is as shown in table 1.
At i wheel, each node own according to i-1 wheel to neighbours' average broadcast rate and with the flow rate of own relevant link, through type (30) upgrades the antithesis parameter of epicycle, then each node is according to the dual variable (x of epicycle (i), y (i)) solve subproblem L 1equivalence problem (31) determine and the flow rate of own relevant link, by formula (32), solve subproblem L 2the average broadcast rate that determines oneself, then enters next round.
Because each node is preserved every own average broadcast rate (b (u)), and flow rate (r (u of own relevant link of taking turns, v)), the dual variable of oneself (x (u)) and with the dual variable (y (u of own relevant link, v)), according to each node of algorithm, can calculate in local execution algorithm, not need overall information:
1), in step 1, node u calculates dual variable x (i)(u) time, node u needs its average broadcast rate own and a hop neighbor, and there is preservation the average broadcast rate node this locality of self, and the average broadcast rate of a hop neighbor can obtain by neighbor node Local Interaction; Node u calculates and the dual variable of own relevant link at k bar stream
Figure BDA0000430300790000161
time, node u needs the flow rate of own relevant links (u, v) on k bar stream and the broadcast rate of oneself, and all preserve this two classes value node this locality.
2), in step 2.1, node can adopt distributed shortest path algorithm to solve while calculating flow rate by Solve problems (31).Link overhead refers to the value of the antithesis parameter y that link is corresponding.The reason of definition is according to solving subproblem L like this 1, we based on flow path model by problem L 1convert the equivalence problem of path model to.The optimal solution of this equivalence problem always
Figure BDA0000430300790000162
minimum path, so we are by y k(u, v) regards the expense of link as, and a problem of selecting minimal-overhead path that Here it is, can obtain by distributed shortest path algorithm.Utilize distributed shortest path algorithm (as Bellman-ford) by internodal information interaction, node can obtain the expense in path of the minimal-overhead of k bar stream, so just can separate problem (31), obtains flow rate.The average broadcast rate of computing node in step 2.2, according to the dual variable x information of formula (32) node needs one hop neighbor, can collect acquisition by the Local Interaction of neighbor node.
3) initialization value (r of parameter (0), b (0), x (0), y (0)) in span, set at random, also can consult by distributed way.
4) in algorithm, we adopt synchronization mechanism [16], each was taken turns as regular time, and all nodes enter next round simultaneously.In each is taken turns, need to carry out the renewal of antithesis parameter x, y and the calculating of r, b.Wherein in step 1, need to collect the average broadcast rate information of a hop neighbor, need at the most maximum neighbours' number max|R (u) |, V} broadcast cycle of u ∈, R (u) is the set of a hop neighbor; Step 2 need to be carried out the dual variable x information of distributed shortest path algorithm and a hop neighbor.The former needs node number at the most | and V| broadcast cycle, the latter can obtain in step 1 simultaneously.Therefore each time of taking turns be max|R (u) |, V}+|V| broadcast cycle of u ∈.
Table 1 distributed algorithm of the present invention
Figure BDA0000430300790000171
I is since 1 until i>run repeats 1,2:
1. node updates antithesis parameter x (i), y (i)
x ( i ) ( u ) = max ( 0 , x ( i - 1 ) ( u ) + &eta; M u ( i - 1 ) ) y f ( i ) ( u , v ) = max ( 0 , y k ( i - 1 ) ( u , v ) + &eta; H ( k , u , v ) ( i - 1 ) ) M u ( i - 1 ) = &Sigma; f &Element; [ 1 , F ] u &NotEqual; S k b k ( i - 1 ) ( u ) + &Sigma; f &Element; [ 1 , F ] &Sigma; v &Element; R ( u ) , u &NotEqual; S k b k ( i - 1 ) ( v ) - C H ( k , u . v ) ( i - 1 ) = r k ( i - 1 ) ( u , v ) - b k ( i - 1 ) ( u ) p ( u , v ) ;
Wherein, x (i-1)(u) and
Figure BDA0000430300790000173
for last round of antithesis parameter, η is step-length,
Figure BDA0000430300790000174
for the average broadcast rate of last round of node,
Figure BDA0000430300790000175
for the flow rate of last round of link (u, v) on k bar stream.
2. node solves subproblem L1 and L2 acquisition flow rate and average broadcast rate r (i), b (i)
2.1 subproblem L 1solve and obtain r (i)
Solve problems
Figure BDA0000430300790000176
Wherein,
Figure BDA0000430300790000177
for the flow rate of epicycle k bar stream,
Figure BDA0000430300790000178
π is the path of k bar stream,
Figure BDA0000430300790000179
for the antithesis parameter of epicycle is the expense of link,
Figure BDA00004303007900001710
expense for the path of epicycle f bar stream expense minimum.
If link ( u , v ) &Element; arg min &pi; &Sigma; ( u , v ) &Element; &pi; y k ( i ) ( u , v ) , r k ( i ) ( u , v ) = &Gamma; k i ; Otherwise r k ( i ) ( u , v ) = 0
2.2 subproblem L 2solve and obtain b (i)
b k ( i ) ( u ) = b k ( i - 1 ) ( u ) + 1 2 &epsiv; ( &Sigma; ( u , v ) &Element; E y k ( i ) ( u , v ) p ( u , v ) - x ( i ) ( u ) u &NotEqual; s k - &Sigma; v &Element; R ( u ) , v &NotEqual; s k x ( i ) ( v ) ) - - - ( 33 )
5), during algorithm distributed implementation, need to wrap above-mentioned steps 1 by control), 2) in internodal information exchange, be mainly present in route calculation stages.Therefore in network, there is the bag of two types, the control bag calculating for route and the packet of actual data stream.In route calculation stages, for the calculating of algorithm, between node, need exchange message (as the average broadcast rate of a hop neighbor and dual variable x), these information exchanges are crossed to control to wrap and are transmitted.The average broadcast rate that algorithm calculates is after route has been calculated, the speed when packet that node is Business Stream transmits.The broadcast rate of controlling bag adopts constant rate of speed, not affected by calculated speed.After algorithmic statement, will no longer need to carry out computing information mutual, and also just not need to send and control bag.
According to convergence after
Figure BDA0000430300790000181
being worth us can obtain α according to formula (13) and (15), β, and node shows by flow rate and average broadcast rate whether oneself participates in stream, rather than whether decision in advance participate in forwarding data flow, then determines the speed forwarding.
Therefore, the feature of the inventive method is that the method for carrying out by distributed iterative completes the selection of chance route, every wheel in iterative process, iteration distribution node is the flow rate that stream carries out data retransmission, and the node not forwarding for stream in all iterative process is not just as the both candidate nodes of this stream.
The performance of lower surface analysis the inventive method.
Theorem 1 is used method of the present invention (referred to as ORMf), dual variable
Figure BDA0000430300790000182
can converge to an optimum solution x*, y*, and corresponding main optimized variable r* now, b* is the globally optimal solution of problem (17).
Proof:
Because two subproblems (19) of primal problem (17), (26) and its lagrange duality problem (21) meet the condition (strong duality) of strong dual, therefore, we can obtain by designing distributed gradient algorithm solution dual problem the solution of problem.Based on Danskin ' s Theorem [17], can obtain:
&PartialD; ( L ( r ( i ) , b ( i ) , x ( i ) , y ( i ) ) ) &PartialD; x ( i ) ( u ) = &Sigma; k &Element; [ 1 , K ] b k ( i ) ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) , u &NotEqual; s k b k ( i ) ( v ) - C , &ForAll; u &Element; V &PartialD; ( L ( r ( i ) , b ( i ) , x ( i ) , y ( i ) ) ) &PartialD; y k ( i ) ( u , v ) = r k ( i ) ( u , v ) - b k ( i ) ( u ) p ( u , v ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E - - - ( 33 )
Therefore, algorithm Chinese style (30) is the gradient project algorithms (gradient projection algorithm) of separating dual problem (21).Because dual objective function is a convex function, therefore, there is a step-length η, meet
Figure BDA0000430300790000192
can converge to optimum x*, y*.
Further, because two subproblems (19), (26) of primal problem (17) they are a protruding optimization problem and formula (21), have unique solution, so r*, b* is the globally optimal solution of problem.
We illustrate the character of institute's the inventive method by experiment.First assess the convergence of the inventive method, then relatively the inventive method and now methodical performance.The experimental result obtaining in distributed situation shows that method of the present invention can effectively improve network throughput.The random node of placing in the region of 300*300 rice, the delivery ratio needing only between two nodes is greater than P 0(P 0=0.1) just there is a link.The random topology that produces, selects 1 to 8 pair of source node and destination node to forming concurrent stream at random.In ORMf computational process, getting ε is 0.05.The step-length of upgrading is
Figure BDA0000430300790000193
our default convergence threshold is 10 -4, when the absolute difference of the end-to-end throughput of front and back two-wheeled is less than 10 -4just think that algorithm restrains, enter stable state.Propagation model is used shadowing model, and design parameter is as shown in table 2.According to the propagation model parameter of setting, node communication scope is 160 meters.When distance between two points arrives 160 meters, the bag arrival rate between node is only just 0.1, arrives the threshold value P that we set 0.
The setting of table 2 parameter
Figure BDA0000430300790000194
Figure BDA0000430300790000201
Convergence:
We investigate the convergence of the inventive method by the example of two different topologys and concurrent stream number.At node as shown in Figure 3, divide and plant, have three concurrent streams, source node is respectively 1,5,12, and destination node is respectively 15,10, and 14.All nodes adopt broadcast mode to carry out Packet Generation, and business is UDP, as long as allow just to send as possible data.Wherein in method of the present invention, the packet sending speed of source node and the forwarding rate of other node are limited by r and b in algorithm.Every stream throughput with the variation of calculating wheel number as shown in Figure 4, is taken turns after iteration through 290, and the throughput of every stream changes and is all less than 10 -4tend to be steady, algorithmic statement, enters stable state.The throughput of each stream is about respectively 1.72,1.27,1.03Mbps, converges throughput and is about 4.02Mbps.The both candidate nodes that every stream is used under three kinds of different Route Selection modes is in Table 3, and obviously ORMf is used more both candidate nodes than ETX and EAX.Although EAX has also selected a plurality of both candidate nodes, it is in the situation that think identical selection of load of all nodes, selects as far as possible the node that convection current is the most useful.And many streams may all be selected certain identical some node like this.The performance of chance route determines by both candidate nodes, and the inventive method considers the balanced as far as possible all nodes that must distribute in network of the load of stream, and therefore selected both candidate nodes number can be more than EAX.Flow load can be assigned in more both candidate nodes, so can reach higher throughput.
The both candidate nodes of three concurrent streams of table 3
Figure BDA0000430300790000202
Second example is to divide and plant at node as shown in Figure 5, has the situation of six concurrent streams, and source node is respectively 6,5,12,10,13,2, and destination node is respectively 16,3,14, Isosorbide-5-Nitrae, 9.As shown in Figure 6, take turns after iteration through 220, the throughput of every stream changes and is all less than 10 -4tend to be steady, algorithmic statement, enters stable state.The throughput of every stream is about respectively 0.32,0.72,1.50,0.45,0.80,0.59Mbps, converges throughput and is about 4.38Mbps.The both candidate nodes that every stream is used under three kinds of different Route Selection modes is in Table 4, in the time of most of, ORMf is used more both candidate nodes than ETX and EAX, but flow for the last item, ORMf do not have selection itself be source node 6 and 12 as both candidate nodes, to obtain higher throughput.
The both candidate nodes of six concurrent streams of table 4
Figure BDA0000430300790000211
Further, from Fig. 4 and Fig. 6, can find out, no matter in the network topology of three streams or under the network topology of six streams, chance method for routing of the present invention can reach optimum convergence state.And convergence rate and topology distribution and concurrent stream number are irrelevant.This all illustrates that the present invention proposes algorithm and has stronger topological independence and stability.
Performance Ratio is:
We make comparisons ORMf and expected transmission times (ETX) and any the number of transmissions of expectation (EAX).
1)ETX
The ETX of link is the inverse of link packet delivery fraction.Source node is the ETX sum of shortest path uplink to the ETX of destination node.
ETX(u,v)=1/p(u,v) (34)
ETX(s,d)=ETX(s,c)+ETX(c,d) (35)
Wherein, p (u, v) is the packet delivery fraction of link (u, v), and s is source node, and d is destination node, and c is that s is to the down hop of d.Selection is worth little neighbours as candidate's forward node than present node ETX.
2)EAX
EAX has considered that a plurality of both candidate nodes are the contribution that transmission is done, and source node is the EAX weight sum according to priority of all both candidate nodes of source node to the EAX of destination node.As long as at least 1 both candidate nodes is received packet, even if the transmission of source node success can continue to forward.And both candidate nodes only has when the node higher than own priority do not received packet, be just responsible for forwarding, EAX can be expressed as formula (36) iteratively like this,
EAX ( s , d ) = 1 + &Sigma; i EAX ( ci , d ) p i &Pi; j - 1 i - 1 ( 1 - pj ) 1 - &Pi; i &Element; J ( 1 - p i ) - - - ( 36 )
Wherein, s is source node, and d is destination node, and J is both candidate nodes collection, c irepresent the node that J medium priority is i, p irepresent that s is to c ilink packet delivery fraction.In formula (36)
Figure BDA0000430300790000222
represent that s arrives the number of transmissions that both candidate nodes collection J needs, and needs to have at least a node successfully to accept in J.
Figure BDA0000430300790000223
for node c isuccess receives and the high node of priority ratio i not have the successfully probability of reception, EAX (ci, d) expression node c ito the needed chance the number of transmissions of destination node, both long-pending again i summations are exactly to be forwarded to by both candidate nodes collection J the chance the number of transmissions that destination node needs.
Index is relatively the balanced index of stream obtaining under different Route Selection modes and converges throughput.Flow balanced index: being the desired value of definition in 3.3, is the long-pending logarithm of the throughput of all streams.More balanced between the throughput value that all stream obtains, flow balanced desired value larger.Converge throughput: all stream throughput sums.
Random produce 4 topologys, lower random 10 groups of source nodes and the destination node selected of each topology be to forming concurrent stream, and then the 3 kinds of balanced indexs of the obtainable stream of chance routing mode that use in order and converge throughput average.Concurrent flow amount progressively increases since one, until all nodes all become source node or destination node.
Flow balanced index with the variation of concurrent stream number from 1 to 8 as shown in Figure 7.All in all, no matter be in how many situations in concurrent stream number, the harmony of ORMf method is all greater than ETX and EAX.On average, the balanced index of stream that ORMf algorithm produces is than ETX and EAX high 28% and 21.5%.
Converge throughput with the variation of concurrent stream number from 1 to 8 as shown in Figure 8.All in all, along with the data increase of concurrent stream is converged throughput and also progressively increased, few during a little than 5 concurrent stream during except 6 and 7 concurrent stream, this is relevant with the source node destination node position distribution flowing.ORMf algorithm produces converges throughput ratio ETX and EAX high 33.4% and 27.9%.
ORMf distributes for concurrent stream in all available nodes and link, rather than node and the link that by ETX or EAX, to every stream, can use in advance limit, the packet of all like this streams can only be through node and the link that is its selection by ETX or EAX, these have been defined to its node resource of stream of node and link and the distribution of flow rate is all limited, so ORMf can obtain the balanced index of higher stream and converge throughput.

Claims (1)

1. the chance method for routing more than in concurrent stream wireless mesh network, is characterized in that, the method is:
1) by the corresponding one-tenth of a how concurrent stream wireless mesh network non-directed graph G=(V, E), described non-directed graph comprises N node, and wherein V is set of node, and E is the matrix of link between node, has the how concurrent stream of K bar, and source node and destination node are respectively { (s k, d k), k=1..K};
2) set up each network flow throughput λ in how concurrent stream wireless mesh network klong-pending target function model max imize &Pi; k &Element; [ 1 , K ] &lambda; k , max imize &Pi; k &Element; [ 1 , K ] &lambda; k Be equivalent to max imize &Sigma; k &Element; [ 1 , K ] ln ( &lambda; k ) :
max imize &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) s . t . &alpha; uv k = &beta; u k * &beta; v k * BH uv , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; v &alpha; uv k r k ( u , v ) - &Sigma; w &alpha; wu k r k ( w , u ) = h k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V &alpha; uv k r k ( u , v ) = r k ( u , v ) &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; k &Element; [ 1 , K ] &beta; u k b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) &beta; v k b k ( v ) &le; C , &ForAll; u &NotEqual; s k &beta; u k b k ( u ) = b k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V b k ( u ) * p ( u , v ) &GreaterEqual; r k ( u , v ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &alpha; uv k = { 0,1 } , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &beta; u k = { 0,1 } , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V 0 &le; r k ( u , v ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V ;
Wherein, s.t. represents constraints; represent the candidate's forward node whether node u flows as k bar, if node u is as candidate's forward node of k bar stream,
Figure FDA0000430300780000015
be 1, otherwise be 0;
Figure FDA0000430300780000016
represent the candidate's forward node whether node v flows as k bar, if node v is as candidate's forward node of k bar stream, be 1, otherwise be 0;
Figure FDA0000430300780000018
represent whether the link between node u and v is that k bar stream is used, if whether the link between node u and v uses as k bar stream, be 1, otherwise be 0; BH uvthe neighborhood that represents node u and v, u and v be BH during neighbours each other uvvalue is 1, otherwise is 0; r k(u, v) represents the flow rate of k bar stream on link (u, v); r k(w, u) represents the flow rate of k bar stream on link (w, u);
Figure FDA00004303007800000110
λ kthe throughput that represents k bar stream; b k(v) be the average broadcast rate of node v; b k(u) be the average broadcast rate of node u, represent whether node u is k bar streaming data at t scheduling time slot,
Figure FDA0000430300780000022
be that 1 expression sends, otherwise be 0; T is scheduling time slot number; C is the capacity of MAC layer; b k(v) be the average broadcast rate of node v; P (u, v) represents the packet delivery fraction of link (u, v);
3) by the equivalent expression of above-mentioned target function model be converted into following Optimized model:
max imize &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) s . t . b k ( u ) * p ( u , v ) &GreaterEqual; r k ( u , v ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; v r k ( u , v ) - &Sigma; w r k ( w , u ) = h k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V &Sigma; k &Element; [ 1 , K ] b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) b k ( v ) &le; C , &ForAll; u &NotEqual; s k 0 &le; r k ( u , v ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V ;
4) above-mentioned Optimized model is converted into following canonical form:
min imize - &Sigma; k &Element; [ 1 , K ] 1 n ( &lambda; k ) s . t . r k ( u , v ) - b k ( u ) * p ( u , v ) &le; 0 , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E &Sigma; v r k ( u , v ) - &Sigma; w r k ( w , u ) = h k ( u ) , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V &Sigma; k &Element; [ 1 , K ] b k ( u ) + &Sigma; k &Element; [ 1 , K ] &Sigma; v &Element; R ( u ) b k ( v ) - C &le; 0 , &ForAll; u &NotEqual; s k ; 0 &le; r k ( u , v ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E 0 &le; b k ( u ) &le; C , &ForAll; k &Element; [ 1 , K ] , &ForAll; u &Element; V
5) initialization, setting i is 0, sets at random initial parameter
Figure FDA0000430300780000027
wherein
Figure FDA0000430300780000028
with
Figure FDA0000430300780000029
represent respectively
Figure FDA00004303007800000210
with
Figure FDA00004303007800000211
antithesis parameter;
6) setting i is 1;
7) be the model introducing antithesis parameter in step 4), set up Lagrangian, wherein constraints
Figure FDA00004303007800000212
antithesis parameter be x (u), constraints antithesis parameter be y k(u, v), according to the sub-gradient method method for solving of even summation, utilize following formula to upgrade antithesis parameter:
x ( i ) ( u ) = max ( 0 , x ( i - 1 ) ( u ) + &eta; M u ( i - 1 ) ) y f ( i ) ( u , v ) = max ( 0 , y k ( i - 1 ) ( u , v ) + &eta; H ( k , u , v ) ( i - 1 ) ) M u ( i - 1 ) = &Sigma; f &Element; [ 1 , F ] u &NotEqual; s k b k ( i - 1 ) ( u ) + &Sigma; f &Element; [ 1 , F ] &Sigma; v &Element; R ( u ) , u &NotEqual; s k b k ( i - 1 ) ( v ) - C H ( k , u . v ) ( i - 1 ) = r k ( i - 1 ) ( u , v ) - b k ( i - 1 ) ( u ) p ( u , v ) ;
Wherein, x (i-1)(u) and
Figure FDA0000430300780000032
be the antithesis parameter of the i-1 time iteration, η is step-length, η >0;
Figure FDA0000430300780000033
Figure FDA0000430300780000034
be respectively x (u) and y kthe antithesis gradient of (u, v),
Figure FDA0000430300780000035
be the average broadcast rate of node u in the i-1 time iteration, be the flow rate of the i-1 time iteration link (u, v) on k bar stream;
8), according to the antithesis parameter of the i time iteration, calculate the flow rate of k bar stream on link (u, v) in the i time iteration
Figure FDA0000430300780000037
average broadcast rate with node u
Figure FDA0000430300780000038
Figure FDA0000430300780000039
b k ( i ) ( u ) b k ( i - 1 ) ( u ) + 1 2 &epsiv; ( &Sigma; ( u , v ) &Element; E y k ( i ) ( u , v ) p ( u , v ) - x ( i ) ( u ) u &NotEqual; s k - &Sigma; v &Element; R ( u ) , v &NotEqual; s k x ( i ) ( v ) )
Wherein: it is the flow rate of k bar stream in the i time iteration;
Figure FDA00004303007800000312
π is that k bar stream source node is to any paths of destination node;
Figure FDA00004303007800000313
be the antithesis parameter of the i time iteration link (u, v), the i.e. expense of link (u, v);
Figure FDA00004303007800000314
it is the expense in the path of expense minimum in k bar stream in the i time iteration; If link ( u , v ) &Element; arg min &pi; &Sigma; ( u , v ) &Element; &pi; y k ( i ) ( u , v ) , r k ( i ) ( u , v ) = &Gamma; k i ; Otherwise r k ( i ) ( u , v ) = 0 ;
9) calculate the average flow speed of k bar stream on link (u, v) in the i time iteration
Figure FDA00004303007800000318
Figure FDA00004303007800000319
calculate the mean value of the average broadcast rate of node u in the i time iteration
Figure FDA00004303007800000320
Figure FDA00004303007800000321
twice iteration in judgement front and back
Figure FDA00004303007800000322
whether difference is less than 10 -4, if so, enter 10); Otherwise, make i=i+1, return to 7), until current iteration number of times i is greater than maximum iteration time run, run>0, after being restrained
Figure FDA00004303007800000323
enter 10);
10) utilize after convergence
Figure FDA00004303007800000324
according to following formula, obtain maximum target function value
Figure FDA00004303007800000325
Figure FDA00004303007800000326
11) utilize after convergence
Figure FDA00004303007800000327
with
Figure FDA00004303007800000328
according to following formula, obtain
Figure FDA00004303007800000329
with
Figure FDA00004303007800000330
&alpha; uv k = 1 , r ~ k ( i ) ( u , v ) &NotEqual; 0 0 , r ~ k ( i ) ( u , v ) = 0 , &ForAll; k &Element; [ 1 , K ] , &ForAll; ( u , v ) &Element; E ;
&beta; u k = 1 , b ~ k ( i ) ( u ) &NotEqual; 0 0 , otherwise &ForAll; k &Element; [ 1 , K ] .
CN201310648264.3A 2013-12-04 2013-12-04 A kind of chance method for routing in many concurrently stream wireless mesh networks Active CN103619047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310648264.3A CN103619047B (en) 2013-12-04 2013-12-04 A kind of chance method for routing in many concurrently stream wireless mesh networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310648264.3A CN103619047B (en) 2013-12-04 2013-12-04 A kind of chance method for routing in many concurrently stream wireless mesh networks

Publications (2)

Publication Number Publication Date
CN103619047A true CN103619047A (en) 2014-03-05
CN103619047B CN103619047B (en) 2016-08-31

Family

ID=50169750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310648264.3A Active CN103619047B (en) 2013-12-04 2013-12-04 A kind of chance method for routing in many concurrently stream wireless mesh networks

Country Status (1)

Country Link
CN (1) CN103619047B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9497521B2 (en) 2014-04-30 2016-11-15 Ciena Corporation Opportunity based path computation systems and methods in constraint-based routing
CN108183828A (en) * 2018-02-02 2018-06-19 昆明理工大学 A kind of flow control methods based on local radio network topology
CN109120534A (en) * 2018-08-23 2019-01-01 北京理工大学 A kind of stream deviation algorithm for solving multiple commodity flow maximum and concurrently flowing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080002640A1 (en) * 2006-06-30 2008-01-03 Nokia Corporation Opportunistic routing protocol in ad hoc networks
CN102137465A (en) * 2011-03-08 2011-07-27 湖南大学 Channel allocation method suitable for opportunistic routing in multi-radio frequency multi-channel wireless mesh network
CN102970725A (en) * 2012-11-30 2013-03-13 北京理工大学 Mobile opportunity network routing method based on multi-layer community grouping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080002640A1 (en) * 2006-06-30 2008-01-03 Nokia Corporation Opportunistic routing protocol in ad hoc networks
CN102137465A (en) * 2011-03-08 2011-07-27 湖南大学 Channel allocation method suitable for opportunistic routing in multi-radio frequency multi-channel wireless mesh network
CN102970725A (en) * 2012-11-30 2013-03-13 北京理工大学 Mobile opportunity network routing method based on multi-layer community grouping

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HE SHIMING: "Distributed Low-Complexity Channel Assignment for Opportunistic Routing", 《DIGITAL COMMUNICATIONS》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9497521B2 (en) 2014-04-30 2016-11-15 Ciena Corporation Opportunity based path computation systems and methods in constraint-based routing
CN108183828A (en) * 2018-02-02 2018-06-19 昆明理工大学 A kind of flow control methods based on local radio network topology
CN108183828B (en) * 2018-02-02 2021-01-05 昆明理工大学 Flow control method based on local wireless network topology
CN109120534A (en) * 2018-08-23 2019-01-01 北京理工大学 A kind of stream deviation algorithm for solving multiple commodity flow maximum and concurrently flowing
CN109120534B (en) * 2018-08-23 2020-07-28 北京理工大学 Method for solving stream deviation of maximum concurrent stream of multiple commodity streams

Also Published As

Publication number Publication date
CN103619047B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
Tang et al. Survey on machine learning for intelligent end-to-end communication toward 6G: From network access, routing to traffic control and streaming adaption
Jiang et al. Routing protocols for unmanned aerial vehicles
CN110493131B (en) Design method of spatial information network routing strategy under SDN architecture
Alresaini et al. Backpressure with adaptive redundancy (BWAR)
Chouhan et al. Tunicate swarm Grey Wolf optimization for multi-path routing protocol in IoT assisted WSN networks
CN107182074B (en) A kind of routing optimal path choosing method based on Zigbee
CN103262481A (en) Dynamic reroute scheduling in a directed acyclic graph (DAG)
Mahdi et al. An energy-aware and load-balancing routing scheme for wireless sensor networks
Alresaini et al. Backpressure delay enhancement for encounter-based mobile networks while sustaining throughput optimality
Han et al. QMIX aided routing in social-based delay-tolerant networks
CN103906245B (en) A kind of radio sensing network distributed rate control method
CN103619047B (en) A kind of chance method for routing in many concurrently stream wireless mesh networks
CN104469874A (en) Message forwarding method of opportunistic network based on probability centrality
Lodhi et al. Transient Multipath routing protocol for low power and lossy networks.
Cui Data aggregation in wireless sensor networks
Srivastava et al. Implementation of Ant Colony Optimization Algorithm for Load Balancing Routing in MANET Network
Jalade et al. Adaptive deep Runge Kutta Garson’s network with node disjoint local repair protocol based multipath routing in MANET
AlTurki et al. Multimedia ad hoc networks: performance analysis
Kusumamba et al. A reliable cross layer routing scheme (CL-RS) for wireless sensor networks to prolong network lifetime
Pourkabirian et al. Energy-aware, delay-constrained routing in wireless sensor networks through genetic algorithm
Kumari et al. PSO-DQ: An Improved Routing Protocol Based on PSO using Dynamic Queue Mechanism for MANETs.
Batth et al. Performance evaluation of ant colony optimization based routing algorithms for mobile ad hoc networks
CN109150728A (en) Based on the space-sky information network method for routing for assigning temporary empty graph
Rasheed et al. Cluster-quality based hybrid routing for large scale mobile multi-hop networks
Marcel et al. Qos-aware transmission for multimedia applications in manet using aco with fuzzy logic

Legal Events

Date Code Title Description
PB01 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