CN102244840B - Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network - Google Patents

Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network Download PDF

Info

Publication number
CN102244840B
CN102244840B CN201110163689.6A CN201110163689A CN102244840B CN 102244840 B CN102244840 B CN 102244840B CN 201110163689 A CN201110163689 A CN 201110163689A CN 102244840 B CN102244840 B CN 102244840B
Authority
CN
China
Prior art keywords
chromosome
node
channel
limit
path
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
Application number
CN201110163689.6A
Other languages
Chinese (zh)
Other versions
CN102244840A (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.)
Central South University
Original Assignee
Central South 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 Central South University filed Critical Central South University
Priority to CN201110163689.6A priority Critical patent/CN102244840B/en
Publication of CN102244840A publication Critical patent/CN102244840A/en
Application granted granted Critical
Publication of CN102244840B publication Critical patent/CN102244840B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for routing multicasts and allocating frequency spectrums in a cognitive wireless Mesh network, comprising the following steps of: modelling the cognitive wireless Mesh network composed of a static CR-Mesh router into an undirected multi-graph; then, using a genetic algorithm to obtain a channel allocation scheme that a maximum value of path delay is minimum, including initialization; based on a shortest path algorithm, calculating an individual fitness function value; executing selection, crossover and mutation operations; generating the next generation of population; achieving a generation number; and outputting a plurality of steps of an optimal solution. By means of the invention, the problem of routing multicasts and allocating frequency spectrums of a monophyletic node in the cognitive wireless Mesh network can be solved; therefore, the maximum value of the path delay from a source node to all multicast destination nodes is minimum; and the network performance can be effectively improved.

Description

Multicast path in a kind of cognitive radio Mesh network is by reaching frequency spectrum distributing method
Technical field
The invention belongs to the radio network technique field, relate in a kind of cognitive radio Mesh network multicast path by and frequency spectrum distributing method.
Background technology
(Wireless Mesh Network is a kind of static multi-hop transmission network WMN) to wireless Mesh netword, comprises the node of three types at Mesh gateway, Mesh router and Mesh terminal.Mesh router and Mesh gateway have constituted the backbone network of wireless Mesh netword.The Mesh router has routing function, and it has a plurality of wireless transceivers usually.The Mesh gateway not only has the function of Mesh router, and has with Internet by the function that wire cable directly links to each other, and is the bridge between wireless Mesh netword and the Internet.Mesh terminal use's data arrive the Mesh gateway by the multi-hop transmission of Mesh router.Equally, in down link, the data of Mesh gateway arrive the distribution of Mesh terminal realization data by the multi-hop transmission of Mesh router.Wherein multicast is exactly a kind of typical data transmission, and multicast also is that wireless Mesh netword is towards a kind of critical network business of practical application.Such as, video conference, long-distance education, content distribution etc. are that the typical case of Streaming Media multicast uses.
Frequency spectrum (channel) is non-renewable resources a kind of preciousness, limited, growing along with being on the increase of the continuous expansion of coverage, wireless user, access service, and assignable frequency spectrum resource is fewer and feweri.(Cognitive Radio, CR) technology is a kind ofly can effectively alleviate the deficient network of problem technology of frequency spectrum to cognitive radio.
Wireless Mesh netword is as broadband access system of future generation.Cognitive radio technology is applied to the problem that its frequency spectrum of solution lacks in the wireless Mesh netword has potential advantage.Cognitive radio Mesh network (Cognitive Wireless Mesh Network, CWMN) in, each Mesh node (comprising Mesh router, Mesh gateway, Mesh terminal) uses the CR technology.For a Mesh node (CR-Mesh router, CR-Mesh gateway, CR-Mesh terminal general designation CR-Mesh node) that is equipped with CR, it can the perception main system in untapped frequency spectrum, and dynamically be linked into these available spectrum.The present invention does not consider concrete frequency spectrum perception algorithm, be primarily aimed at the CR-Mesh node obtained under available channel and the relevant information condition multicast path by and the spectrum allocation may algorithm.
Multicast is important research field in the wireless Mesh netword as a kind of communication service that can effectively save Internet resources always.In recent years, along with the progress of bottom wireless communication technology and the further investigation of WMNs self, WMNs presents with many radio frequencies, multichannel and many speed (multi-radio multi-channel multi-rate, be called for short MR2-MC) be the brand-new network form of essential characteristic, and obtained some achievements in research.Channel allocation also is the research emphasis of wireless Mesh netword always, and has been proved to be NP completely, has also obtained some achievements in research.
But, achievement in research at multicast and channel allocation in the wireless Mesh netword can not directly apply in the cognitive radio Mesh network, multicast in the cognitive radio Mesh network and channel allocation have following main feature: 1) multicast protocol in the wireless Mesh netword is to be operated in the use fixed channel, and the communications status of channel is known, cognitive radio Mesh network is operated in the environment of dynamic change, 2) the CR-Mesh node uses channel must guarantee PU not to be produced to disturb, 3) the CR-Mesh node can with channel be a subclass of all channels in the wireless environment, and this subclass is dynamic change, 4) isomerism of the available channel in the cognitive radio Mesh network, namely the probability of use of these available channels is different generally speaking.
Multicast path in the cognitive radio Mesh network by with channel allocation be key issue to be solved.
Summary of the invention
Technical problem to be solved by this invention provide in a kind of cognitive radio Mesh network multicast path by and frequency spectrum distributing method, lower multicast by effective spectrum allocation may and postpone, improve network performance, improve the availability of frequency spectrum.
The technical solution of invention is as follows:
Multicast path in a kind of cognitive radio Mesh network is by reaching frequency spectrum distributing method, at first the cognitive radio Mesh network that static CR-Mesh router is formed is modeled as a undirected multigraph G=(V, E, D), wherein V represents the set of CR-Mesh router, E represents to link the set of the Radio Link of two CR-Mesh routers that can intercom mutually, and D represents the set of the transmission delay of Radio Link between two CR-Mesh router nodes, d iThe transmission delay of representing a certain channel i, each node v i∈ V has the set of available channels K of a perception i, d IjExpression node v iWith node v jBetween physical distance, all nodes adopt half-duplex mode work;
K={1,2 ... k}={1,2,3,4,5,6} represent the set of total available channel, Ψ I, jExpression node v iWith node v jIdentical set of available channels, S represents multicast source node, R={r 1, r 2... r mThe set of expression multicast destination node; G '=(V ', E ', D ') represent the simple and connected graph by the G derivation, wherein, V '=V,
Figure BDA0000069001770000021
Figure BDA0000069001770000022
Any two nodes only have a usable wireless link among the G ';
T=(V T, E T) the expression multicast tree, P T(S, r i) among the expression multicast tree T one from S to a certain destination node r iThe path, d LDelay among the expression multicast tree T on the Radio Link L, Delay (P T(S, r i)) among the expression multicast tree T from source node S to destination node r iPath delay, namely Delay ( P T ( S , r i ) ) = Σ L ∈ P T ( S , r i ) d L ;
Take genetic algorithm to ask for the channel assignment scheme of the maximum minimum in path delay then, GEN represents genetic algebra, and step is as follows:
1) initialization genetic algebra counter g=0;
2) initialization population, at first set chromosomal coded representation mode, use length to show a chromosome as the 7 system string lists of n, representing a channel assignment scheme, n=|E ' wherein |=23, the limit number of the simple and connected graph G ' that E ' presentation graphs G derives is numbered from 1 to n to n bar limit among the multicast tree T, and coded representation is X=x 1x 2X n, x i∈ 0}U K, i ∈ 1,2 ..., n} is in chromosome, if x i=0, any channel is not distributed on the limit that is numbered i in the expression multicast tree, and the delay on the Radio Link that this limit is represented will be infinity, if x i=k, k ∈ K illustrates that then the channel of the limit distribution that is numbered i is k;
Chromosome in the population adds up to N, and chromosome j is expressed as C in the population j=c 1(j) c 2(j) ... c n(j), c i(j) ∈ 0}U K, i ∈ 1,2 ..., n}, j ∈ 1,2 ..., N}, the initialization population comprises following steps:
I) initialization chromosome counting device j=0;
Ii) chromosome C jBe initialized as sky, j ∈ 1,2 ..., N};
Iii) initialization chromosome C jLimit counter i=0;
Iv) initialization chromosome C jC i(j) channel on limit is set chromosome C jTwo nodes connecting of i bar limit be v aAnd v b, initialization c then i(j) for belonging to Ψ A, bIf any value in the set is Ψ A, b=Φ, then c i(j)=0, i.e. hinged node v aAnd v bI bar limit do not distribute any channel;
V) the limit counter adds 1, the channel that next bar limit of expression initialization is distributed;
Vi) judge the size of i and n, determine whether the limit that initialization is all, if change step vii; Otherwise, change step I v;
Vii) the chromosome counting device adds 1, the next chromosome of expression initialization;
Viii) judge the size of j and N, determine whether the chromosome that initialization is all, if finish; Otherwise, change step I i;
3) calculating ideal adaptation degree value based on shortest path first is the fitness function value:
Find the solution source node S to the multicast tree of destination node set R based on shortest path first, the delay of Radio Link is designated as the weights on limit, ask the shortest path of source node S all destination nodes in the destination node set R, the peaked inverse in source node S path delay of all destination nodes in the multicast tree is as the value of fitness function;
Chromosome C jThe multicast tree of the correspondence of trying to achieve based on shortest path first is designated as T (j), and all maximums to the path delay of destination node are designated as among the multicast tree T (j):
MD ( C j ) = Max r i ∈ R { Delay ( P T ( j ) ( S , r i ) ) } j∈{1,2,...N};
Chromosome C jFitness function value computing formula be:
F(C j)=1/MD(C j);
4) select operation:
According to the chromosomal adaptive value that fitness function in the step 3) calculates, adopt strategy according to qualifications, the highest individuality of ideal adaptation degree value is directly remained in the progeny population, according to each chromosomal ideal adaptation degree value, be calculated as follows out the relative adaptation value again: p ( C j ) = F ( C j ) Σ i = 1 N F ( C i ) ;
Wherein, p (C j) be this chromosomal selection probability, F (C j) the ideal adaptation degree value of expression chromosome j, N is population size, the population size number is chromosome number;
5) interlace operation:
I) select two chromosome C at random iAnd C j
Ii) judge two chromosome C iAnd C jWhether different, if, then change step I ii, otherwise, step I changeed;
Iii) select an intermediate node v at random aAs the crosspoint, v aBe one arrive all destination nodes in the set of multicast destination node must through intermediate node v a
Iv) multicast destination node counter k=0;
V) with chromosome C iThe middle destination node r that arrives kSubpath With chromosome C jThe middle destination node r that arrives kSubpath
Figure BDA0000069001770000044
Intersect;
Vi) destination node counter k adds 1, and intersection arrives the subpath of next destination node;
Vii) judge whether to have operated the path that arrives all destination nodes, if, finish, otherwise, step v changeed;
6) mutation operation:
I) selective staining body C at random jCarry out mutation operation;
Ii) selective staining body C at random jIn i bar limit carry out mutation operation;
Iii) i bar limit is produced a new channel NewC at random, channel NewC must be two node v that are connected with i bar limit aAnd v bThe channel that all has;
Iv) judge NewC whether with c i(j) do not wait, if, finish, otherwise, step I i changeed;
7) produce population of future generation;
8) the genetic algebra counter adds 1, carries out follow-on genetic manipulation;
9) whether judge genetic algebra greater than GEN, if, change step 10, otherwise, step 3 changeed;
10) output optimal case:
To have the chromosome of maximum adaptation degree value as optimal case, in this chromosome, the maximum in the path delay from source node to all destination nodes is littler than the maximum in the path delay from source node to all destination nodes other chromosomes.
In the step 4, for p (C j) be selected greater than the chromosome of given threshold xi=0.2 and enter the next generation, then be eliminated less than the chromosome of ξ, carry out interlace operation in the step 5, crossover probability p c=0.6; In the step 6, the variation Probability p m=0.05.
Beneficial effect:
The invention solves the multicast path of single source node in the cognitive radio Mesh network by reaching the spectrum allocation may problem, and can realize that source node arrives the maximum minimum in the path delay of all multicast destination nodes, and the average retardation to all destination nodes is also minimum, effectively raises network performance and the availability of frequency spectrum.
The present invention is described in further detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is the schematic diagram of cognitive radio Mesh network model of the present invention;
Fig. 2 is the schematic diagram of the potential interference relationships of the present invention;
Fig. 3 is that multicast path of the present invention is by the flow chart that reaches frequency spectrum distributing method;
Fig. 4 is the flow chart of initialization population of the present invention;
Fig. 5 the present invention is based on the chromosome C that shortest path first is tried to achieve iAnd C jThe schematic diagram of corresponding multicast tree;
Fig. 6 is the flow chart of interlace operation of the present invention;
Fig. 7 is the flow chart of mutation operation of the present invention.
Wherein 1 is chromosome C iBased on the corresponding multicast tree T (i) that shortest path first is tried to achieve, 2 is chromosome C jThe multicast tree T (j) of the correspondence of trying to achieve based on shortest path first.
Embodiment
Below with reference to the drawings and specific embodiments the present invention is described in further details:
Embodiment 1:
In the present embodiment, the set K={1 of available channel, 2,3,4,5,6}.The cognitive radio Mesh network that static CR-Mesh router is formed is modeled as a undirected multigraph G=, and (D), wherein V represents the set of CR-Mesh router for V, E.E represents to link the set of the Radio Link of two CR-Mesh routers that can intercom mutually, the meaning that two CR-Mesh routers can intercom mutually is that two CR-Mesh routers must have an identical available channel at least, and satisfy the constraint of communication distance, when two CR-Mesh routers have a plurality of identical available channel, there are many limits between them, be multi wireless links, so G is the non-directed graph that has multiple limit.D represents the set of the transmission delay of Radio Link between two CR-Mesh router nodes, and the transmission delay of different channels is different, and the transmission delay of supposing channel i is d iEach node v i∈ V has the set of available channels K of a perception iEach node v iAll there is a communication distance d in ∈ V TrWith an interference distance d Ir3d is arranged generally speaking Tr>d Ir>d Tr, d of the present invention Ir=2*d Trd IjExpression node v iWith node v jBetween physical distance.All nodes adopt half-duplex mode work.
Ψ I, jNode is represented v iWith node v jIdentical set of available channels.S represents the multicast source node.R={r 1, r 2... r mExpression multicast destination node.G '=(V ', E ', D ') represent the simple and connected graph by the G derivation, wherein, V '=V,
Figure BDA0000069001770000061
Figure BDA0000069001770000062
Any two nodes only have a usable wireless link among the G '.T=(V T, E T) the expression multicast tree, P T(S, r i) among expression multicast tree (chromosome) T one from S to r iThe path.d LDelay among the expression multicast tree T on the Radio Link L, d LValue be to be determined by the channel that Radio Link L distributes because different channels has different delays.Delay (P T(S, r i)) among the expression multicast tree T from source node S to destination node r iPath delay, namely
Figure BDA0000069001770000063
As shown in Figure 1,10 PU that distributing, 15 CR-Mesh routers.6 available channels are arranged, i.e. K={1,2,3,4,5,6} in the system.The transmission delay of 6 available channels is as shown in the table:
Channel 1 2 3 4 5 6
Postpone (ms) 10 15 19 5 8 3
The channel that main user PU1 takies is 3, the channel that main user PU2 takies is 4, the channel that main user PU3 takies is 6, the channel that main user PU4 takies is 6, and the channel that main user PU5 takies is 4, and the channel that main user PU6 takies is 5, the channel that main user PU7 takies is 5, the channel that main user PU8 takies is 1, and the channel that main user PU9 takies is 5, and the channel that main user PU10 takies is 3.CR-Mesh route (CR-MR) available channel situation is as shown in the table:
CR_MR# K i CR_MR# K i
CR_MR1 {1,2,5} CR_MR9 {1,2,3,4}
CR_MR2 {1,2,4,5,6} CR_MR10 {2,3,6}
CR_MR3 {1,2,3,5} CR_MR11 {1,2,3,4,6}
CR_MR4 {2,4,5} CR_MR12 {1,2,4,6}
CR_MR5 {1,2,3} CR_MR13 {2,3,4,6}
CR_MR6 {2,3,5,6} CR_MR14 {1,2,4,6}
CR_MR7 {1,2,3} CR_MR15 {1,2,4,5,6}
CR_MR8 {1,2,3,4}
The potential interference relationships figure of network topological diagram shown in Figure 1 as shown in Figure 2, the channel that this Radio Link of the value representation on the limit can be used, as being 2/5 on the limit between CR-MR1, the CR-MR4 node, available on expression channel 2 and channel 5 these limits.As can be seen from Figure 2, Radio Link between CR-MR1, the CR-MR4 node, and there is potential interference relationships in the Radio Link between CR-MR4, the CR-MR7 node at channel 2, if namely CR-MR1 uses channel 2 to the Radio Link between the CR-MR4, then CR-MR4 just can not use channel 2 to the Radio Link between the CR-MR7.If earlier to CR-MR1 to the wireless link distribution channel 2 between the CR-MR4, then do not disturbing CR-MR1 under the situation of Radio Link between the CR-MR4, CR-MR4 will not have the channel that can distribute to the Radio Link between the CR-MR7.
The spectrum allocation may problem has been proved to be NP completely, the associating multicast path comprises the spectrum allocation may problem by the problem that reaches spectrum allocation may, therefore multicast path by and the problem of spectrum allocation may also be NP completely, we adopt the genetic algorithm for solving multicast path by and the approximate solution of spectrum allocation may problem.Be illustrated in figure 3 as the multicast path of the present invention's proposition by the flow chart that reaches frequency spectrum distributing method, wherein GEN represents genetic algebra, is that 200. steps are as follows in the present embodiment:
S1-1 initialization genetic algebra counter g=0.
S1-2 initialization population, at first we set chromosomal coded representation mode, use length as n (n=|E ' |, the limit collection of the simple and connected graph G ' that E ' presentation graphs G derives, by n=23 as shown in Figure 2) 7 system string lists show a chromosome, representing a channel assignment scheme, we give, and n bar limit is numbered from 1 to n among the multicast tree T, and coded representation is X=x 1x 2X n, x i∈ 0}U K, i ∈ 1,2 ..., n} is in chromosome, if x i=0, any channel is not distributed on the limit that is numbered i in the expression multicast tree, and so, at this moment, the delay on the Radio Link that this limit is represented will be infinity, if x i=k, k ∈ K illustrates that then the channel of the limit distribution that is numbered i is k.
Determined that we generate initial population at random, as shown in Figure 4 after the chromosomal coded representation mode.We suppose that population number is N, N=80, and chromosome j is expressed as C in the population j=c 1(j) c 2(j) ... c n(j), wherein n is the limit number of simple and connected graph G ', c i(j) ∈ 0}U K, i ∈ 1,2 ..., n}, j ∈ 1,2 ..., N}, N are the chromosome sum in the population.The initialization population comprises following steps:
S2-1 initialization chromosome counting device j=0.
S2-2 chromosome C jBe initialized as sky.
S2-3 initialization chromosome C jLimit counter i=0.
S2-4 initialization chromosome C jC i(j) channel on limit is supposed chromosome C jTwo nodes connecting of i bar limit be v aAnd v b, c then i(j) value of Fen Peiing necessarily belongs to Ψ A, bSet namely must distribution node v aAnd v bAvailable channels all, c i(j) be Ψ A, bIn any one value, if Ψ A, b=Φ, then c i(j)=0, i.e. hinged node v aAnd v bI bar limit do not distribute any channel.
S2-5 limit counter adds 1, and next jumps the channel that the limit is distributed the expression initialization.
S2-6 judges i 〉=n, and whether all limits of initialization if change S2-7; Otherwise, change S2-4.
S2-7 chromosome counting device adds 1, the next chromosome of expression initialization.
S2-8 judges j 〉=N, and whether all chromosome of initialization if finish; Otherwise, change S2-2.
S1-3 calculates ideal adaptation degree value based on shortest path first.
In genetic algorithm, the fitness function value is to weigh the standard of chromosome quality in the population, and it will directly reflect chromosomal performance, according to the size of fitness function value, determines some chromosome to be breeding or to wither away.
The present invention is based on shortest path first and find the solution source node S to the multicast tree of destination node set R, the delay of Radio Link is designated as the weights on limit.Ask source node S to gather the shortest path of all destination nodes among the R to destination node.The peaked inverse in source node S path delay of all destination nodes in the multicast tree is as the value of fitness function.If chromosome C jThe multicast tree of the correspondence of trying to achieve based on shortest path first is designated as T (j), and all maximums to the path delay of destination node are designated as among the multicast tree T (j): MD ( C j ) = Max r i ∈ R { Delay ( P T ( j ) ( s , r i ) ) } j∈{1,2,...N}
Chromosome C jFitness function value computing formula be:
F(C j)=1/MD(C j)
Chromosomal fitness value is more big in N the chromosome, and we think that its performance is more good, and fitness value is more little, and performance is more poor.The maximum of the shortest path of all destination nodes among the set R will determine chromosomal performance from the source node S to the destination node.
Figure 5 shows that chromosome C iAnd C jTwo multicast tree T (i) and the T (j) of the correspondence of trying to achieve based on shortest path first.Suppose that CR-MR1 is source node S, CR-MR13, CR-MR14, CR-MR15 are multicast destination node set R.Shown in multicast tree T (i), be 5 (8) on the limit between CR-MR1 and the CR-MR5, the meaning is that the Radio Link between them uses channel 5, and transmission delay is 8.Source node CR-MR1 to the shortest path length of CR-MR13, CR-MR14, CR-MR15 in T (i) is, 45=8+15+19+3,48=8+15+10+15,41=8+15+10+5+3, in T (j) be, 63=10+19+15+19,47=10+19+15+3,49=10+15+19+5) as shown in the table:
Shortest path length T(i) T(j)
Delay(P T(S,r CR-MR13)) 45 63
Delay(P T(S,r CR-MR14)) 48 47
Delay(P T(S,r CR-MR15)) 41 49
As seen from the above table, F (C i)=1/48, F (C j)=1/63, chromosome C iHave bigger fitness value, show chromosome C iPerformance more good, compare chromosome C jHaving higher probability is selected and enters the next generation.
S1--4 selects operation.Select the main strategy that adopts the fitness value ratio of operation among the present invention.At first the chromosomal adaptive value that calculates according to fitness function adopts strategy according to qualifications then, and the individuality that adaptive value is the highest directly remains in the progeny population.According to each chromosomal adaptive value, be calculated as follows out its relative adaptation value at last:
p ( C j ) = F ( C j ) Σ i = 1 N F ( C i )
P (C j) as this chromosomal selection probability, F (C j) adaptive value of expression chromosome j, N is population size.
The S1-5 interlace operation.The present invention carries out interlace operation and at first selects two chromosome C at random from the population set iAnd C j, select at random all destination nodes in the set of some arrival multicast destination nodes must through intermediate node v a, with node v aFor carrying out interlace operation in the crosspoint.At chromosome C iIn, arrive destination node r kThe path
Figure BDA0000069001770000102
Can regard as
Figure BDA0000069001770000103
With
Figure BDA0000069001770000104
Equally, at chromosome C jIn, arrive destination node r kThe path
Figure BDA0000069001770000105
Can regard as
Figure BDA0000069001770000106
With The interlace operation flow process may further comprise the steps as shown in Figure 6:
S3-1 selects two chromosome C at random iAnd C j
S3-2 judges two chromosome C iAnd C jWhether different, if, then change S3-3, otherwise, S3-1 changeed.
S3-3 selects an intermediate node v at random aAs the crosspoint.
S3-4 multicast destination node counter k=0.
S3-5 is with chromosome C iThe middle destination node r that arrives kSubpath
Figure BDA0000069001770000108
With chromosome C jThe middle destination node r that arrives kSubpath
Figure BDA0000069001770000109
Intersect.
S3-6 destination node counter k adds 1, and intersection arrives the subpath of next destination node.
S3-7 judges whether to have operated the path that arrives all destination nodes, if, finish, otherwise, S3-5 changeed.
The S1-6 mutation operation.The present invention carries out mutation operation selective staining body C at random jCarrying out mutation operation, mainly is to chromosome C jIn the channel value that distributes of certain bar limit make amendment.Chromosome C jBe expressed as C j=c 1(j) c 2(j) ... c n(j), two nodes of i bar limit connection are v aAnd v b, Ψ A, bBe node v aWith node v bIdentical set of available channels.The mutation operation flow process comprises following steps as shown in Figure 7:
S4-1 is selective staining body C at random jCarry out mutation operation.
S4-2 is selective staining body C at random jIn i bar limit carry out mutation operation.
S4-3 produces a new channel NewC at random to i bar limit, and NewC is two node v that i bar limit connects aAnd v bThe channel that all has.
S4-4 judge NewC whether with c i(j) do not wait, if, finish, otherwise, S4-2 changeed.
S1-7 produces population of future generation.Select operation among the S1-4, for p (C j) be selected greater than the chromosome of given threshold xi=0.2 and enter the next generation, then be eliminated less than the chromosome of ξ.Carry out interlace operation among the S1-5, crossover probability p c=0.6.Carry out mutation operation among the S1-6, the variation Probability p m=0.05.
S1-8 genetic algebra counter adds 1, carries out follow-on genetic manipulation.
Whether S1-9 judges genetic algebra greater than GEN=200, if change S1-10; Otherwise, change S1-3.
S1-10 exports optimal case.The chromosome that namely has maximum adaptation degree value will be as the anti-case of optimum.In this chromosome, the maximum in the path delay from source node to all destination nodes is littler than the maximum in the path delay from source node to all destination nodes other chromosomes.
For this example, optimal case is as follows: the routed path from source node CR-MR1 to CR-MR13 and channel allocation situation are: CR-MR1 is 5 to the channel that CR-MR4 distributes, CR-MR4 is 4 to the channel that CR-MR2 distributes, the channel that CR-MR2 distributes to CR-MR6 is that 5, CR-MR6 is 6 to the channel that CR-MR13 distributes; CR-MR1 to routed path and the channel allocation situation of CR-MR14 is: the channel that CR-MR1 distributes to CR-MR5 is that the channel that 1, CR-MR5 distributes to CR-MR8 is that the channel that 2, CR-MR8 distributes to CR-MR11 is that 4, CR-MR11 is 6 to the channel that CR-MR14 distributes; CR-MR1 to routed path and the channel allocation situation of CR-MR15 is: CR-MR1 is 1 to the channel that CR-MR5 distributes, CR-MR5 is 2 to the channel that CR-MR8 distributes, CR-MR8 is 4 to the channel that CR-MR11 distributes, the channel that CR-MR11 distributes to CR-MR12 is that 6, CR-MR12 is 4 to the channel that CR-MR15 distributes.

Claims (2)

  1. Multicast path in the cognitive radio Mesh network by and frequency spectrum distributing method, it is characterized in that, at first the cognitive radio Mesh network that static CR-Mesh router is formed is modeled as a undirected multigraph G=(V, E, D), wherein V represents the set of CR-Mesh router, and E represents to link the set of the Radio Link of two CR-Mesh routers that can intercom mutually, D represents the set of the transmission delay of Radio Link between two CR-Mesh router nodes, d iThe transmission delay of representing a certain channel i, each node v i∈ V has the set of available channels K of a perception i, all nodes adopt half-duplex mode work;
    K={1,2 ... k}={1,2,3,4,5,6} represent the set of total available channel, Ψ I, jExpression node v iWith node v jIdentical set of available channels, S represents multicast source node, R={r 1, r 2... r mThe set of expression multicast destination node; G'=(V', E', the D') simple and connected graph that derived by G of expression, wherein, V'=V,
    Figure FDA00003174140600011
    Any two nodes only have a usable wireless link among the G';
    T=(V T, E T) the expression multicast tree, P T(S, r i) among the expression multicast tree T one from S to a certain destination node r iThe path, d LDelay among the expression multicast tree T on the Radio Link L, Delay (P T(S, r i)) among the expression multicast tree T from source node S to destination node r iPath delay, namely
    Figure FDA00003174140600012
    Take genetic algorithm to ask for the channel assignment scheme of the maximum minimum in path delay then, GEN represents genetic algebra, and step is as follows:
    1) initialization genetic algebra counter g=0;
    2) initialization population, at first set chromosomal coded representation mode, use length to show a chromosome as the 7 system string lists of n, representing a channel assignment scheme, n=|E'|=23 wherein, the limit number of the simple and connected graph G' that E' presentation graphs G derives is numbered from 1 to n to n bar limit among the multicast tree T, and coded representation is X=x 1x 2X n, x i∈ 0} ∪ K, i ∈ 1,2 ..., n} is in chromosome, if x i=0, any channel is not distributed on the limit that is numbered i in the expression multicast tree, and the delay on the Radio Link that this limit is represented will be infinity, if x i=k, k ∈ K illustrates that then the channel of the limit distribution that is numbered i is k;
    Chromosome in the population adds up to N, and chromosome j is expressed as C in the population j=c 1(j) c 2(j) ... c n(j), c i(j) ∈ 0} ∪ K, i ∈ 1,2 ..., n}, j ∈ 1,2 ..., N}, the initialization population comprises following steps:
    ⅰ) initialization chromosome counting device j=0;
    ⅱ) chromosome C jBe initialized as sky, j ∈ 1,2 ..., N};
    ⅲ) initialization chromosome C jLimit counter i=0;
    ⅳ) initialization chromosome C jC i(j) channel on limit is set chromosome C jTwo nodes connecting of i bar limit be v aAnd v b, initialization c then i(j) for belonging to Ψ A, bIf any value in the set is Ψ A, b=Φ, then c i(j)=0, i.e. connected node v aAnd v bI bar limit do not distribute any channel;
    ⅴ) the limit counter adds 1, the channel that next bar limit of expression initialization is distributed;
    ⅵ) size of judgement i and n determines whether the limit that initialization is all, if change step ⅶ; Otherwise, change step ⅳ;
    ⅶ) the chromosome counting device adds 1, the next chromosome of expression initialization;
    ⅷ) size of judgement j and N determines whether the chromosome that initialization is all, if finish; Otherwise, change step ⅱ;
    3) calculating ideal adaptation degree value based on shortest path first is the fitness function value:
    Find the solution source node S to the multicast tree of destination node set R based on shortest path first, the delay of Radio Link is designated as the weights on limit, ask the shortest path of source node S all destination nodes in the destination node set R, the peaked inverse in source node S path delay of all destination nodes in the multicast tree is as the value of fitness function;
    Chromosome C jThe multicast tree of the correspondence of trying to achieve based on shortest path first is designated as T (j), and all maximums to the path delay of destination node are designated as among the multicast tree T (j):
    MD ( C j ) = Max r i ∈ R { Delay ( P T ( j ) ( S , r i ) ) } j ∈ { 1 , 2 , . . . N } ;
    Chromosome C jFitness function value computing formula be:
    F(C j)=1/MD(C j);
    4) select operation:
    According to the chromosomal adaptive value that fitness function in the step 3) calculates, adopt strategy according to qualifications, the highest individuality of ideal adaptation degree value is directly remained in the progeny population, according to each chromosomal ideal adaptation degree value, be calculated as follows out the relative adaptation value again:
    Figure FDA00003174140600031
    Wherein, p (C j) be this chromosomal selection probability, F (C j) the ideal adaptation degree value of expression chromosome j, N is population size, the population size number is chromosome number;
    5) interlace operation:
    ⅰ) select two chromosome C at random iAnd C j
    ⅱ) judge two chromosome C iAnd C jWhether different, if, then change step ⅲ, otherwise, step ⅰ changeed;
    ⅲ) select an intermediate node v at random aAs the crosspoint, v aBe one arrive all destination nodes in the set of multicast destination node must through intermediate node v a
    ⅳ) multicast destination node counter k=0;
    ⅴ) with chromosome C iThe middle destination node r that arrives kSubpath
    Figure FDA00003174140600033
    With chromosome C jThe middle destination node r that arrives kSubpath
    Figure FDA00003174140600032
    Intersect;
    ⅵ) destination node counter k adds 1, and intersection arrives the subpath of next destination node;
    ⅶ) judge whether to have operated the path that arrives all destination nodes, if, finish, otherwise, step ⅴ changeed;
    6) mutation operation:
    ⅰ) selective staining body C at random jCarry out mutation operation;
    ⅱ) selective staining body C at random jIn i bar limit carry out mutation operation;
    ⅲ) i bar limit is produced a new channel NewC at random, channel NewC must be two node v that are connected with i bar limit aAnd v bThe channel that all has;
    ⅳ) judge NewC whether with c i(j) do not wait, if, finish, otherwise, step ⅱ changeed;
    7) produce population of future generation;
    8) the genetic algebra counter adds 1, carries out follow-on genetic manipulation;
    9) whether judge genetic algebra greater than GEN, if, change step 10, otherwise, step 3 changeed;
    10) output optimal case:
    To have the chromosome of maximum adaptation degree value as optimal case, in this chromosome, the maximum in the path delay from source node to all destination nodes is littler than the maximum in the path delay from source node to all destination nodes other chromosomes.
  2. 2. the multicast path in a kind of cognitive radio Mesh network according to claim 1 is characterized in that, in the step 4, for p (C by reaching frequency spectrum distributing method j) be selected greater than the chromosome of given threshold xi=0.2 and enter the next generation, then be eliminated less than the chromosome of ξ, carry out interlace operation in the step 5, crossover probability p c=0.6; In the step 6, the variation Probability p m=0.05.
CN201110163689.6A 2011-06-17 2011-06-17 Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network Expired - Fee Related CN102244840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110163689.6A CN102244840B (en) 2011-06-17 2011-06-17 Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110163689.6A CN102244840B (en) 2011-06-17 2011-06-17 Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network

Publications (2)

Publication Number Publication Date
CN102244840A CN102244840A (en) 2011-11-16
CN102244840B true CN102244840B (en) 2013-09-11

Family

ID=44962612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110163689.6A Expired - Fee Related CN102244840B (en) 2011-06-17 2011-06-17 Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network

Country Status (1)

Country Link
CN (1) CN102244840B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368910B (en) * 2012-03-31 2016-05-25 国际商业机器公司 Virtual radio communications network system and method for building up thereof
CN102711266B (en) * 2012-05-17 2014-08-13 北京邮电大学 Scheduling and resource allocation joint optimization method based on genetic algorithm
CN103595495B (en) * 2013-10-27 2016-02-10 西安电子科技大学 Static traffic stream routing and frequency spectrum resource allocation method in elastic optical network
CN103685020B (en) * 2013-11-25 2017-07-28 重庆邮电大学 A kind of light multicast tree minimum cost method for routing based on genetic algorithm
CN103905246B (en) * 2014-03-06 2017-02-15 西安电子科技大学 Link prediction method based on grouping genetic algorithm
CN106535012B (en) * 2016-11-23 2019-06-07 重庆邮电大学 Efficiency based on genetic algorithm optimization multicast light forest routes frequency spectrum distributing method
CN108632906B (en) * 2017-03-17 2021-10-22 富士通株式会社 Resource allocation device and method for wireless multi-hop network
CN107295081B (en) * 2017-06-21 2020-07-17 东北大学 Combined routing optimization energy supplementing device and energy supplementing method thereof
CN108416419B (en) * 2018-01-31 2021-07-30 重庆邮电大学 WLAN indoor target intrusion detection method based on multivariate signal characteristics
CN109495908B (en) * 2018-12-05 2022-03-11 国网辽宁省电力有限公司大连供电公司 Network optimization method based on LTE wireless and ultra-low power consumption Internet of things wireless fusion
CN110366253B (en) * 2019-06-18 2020-08-11 中国水产科学研究院渔业工程研究所 Channel allocation method, device and storage medium based on cognitive radio network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217497A (en) * 2008-01-18 2008-07-09 北京邮电大学 A path selecting method of wireless mesh network
CN101982992A (en) * 2010-10-30 2011-03-02 鲁东大学 Improved particle swarm-based power control optimization algorithm in cognitive radio network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917985B2 (en) * 2000-03-10 2005-07-12 The Regents Of The University Of California Core assisted mesh protocol for multicast routing in ad-hoc Networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217497A (en) * 2008-01-18 2008-07-09 北京邮电大学 A path selecting method of wireless mesh network
CN101982992A (en) * 2010-10-30 2011-03-02 鲁东大学 Improved particle swarm-based power control optimization algorithm in cognitive radio network

Also Published As

Publication number Publication date
CN102244840A (en) 2011-11-16

Similar Documents

Publication Publication Date Title
CN102244840B (en) Method for routing multicasts and allocating frequency spectrums in cognitive wireless Mesh network
Chen et al. Mobile edge computing based task offloading and resource allocation in 5G ultra-dense networks
Xiong et al. Delay-aware cross-layer design for network utility maximization in multi-hop networks
Medhi et al. Some approaches to solving a multihour broadband network capacity design problem with single-path routing
CN102316594A (en) Method for cross layer resource distribution and grouped dispatch in cognitive wireless network
CN106060851A (en) Secure resource optimization method under congestion control in heterogeneous cloud wireless access network
CN106789744A (en) Handled up resource regulating method with the height that time delay is perceived based on UNE virtualization
CN107086885A (en) A kind of power distribution method for distributing antenna system Energy Efficient of being powered for mixed tensor
CN107343303B (en) Based on the routing optimization method of Duality Decomposition in wireless Mesh netword
CN101808325B (en) Method and device for allocating frequency spectrum
Li et al. Information fusion method of power internet of things based on low-voltage power line and micro-power wireless communication
CN104994508A (en) Cognitive radio mesh network resource distribution and routing method
Fattahi et al. New economic perspectives for resource allocation in wireless networks
CN102595548A (en) Minimum cost multicast route method in cognitive wireless Mesh network
CN109698726A (en) A kind of radio spectrum resources distribution method based on machine learning
CN109818803A (en) A kind of frequency spectrum fragment avoiding method based on machine learning
Wang et al. A renewable energy cooperation scheme for OFDM systems using evolutionary many-objective optimization algorithm
Barpanda et al. Solving large problem instances of the RWA problem using genetic algorithms
Mateus et al. Model and heuristic for a generalized access network design problem
CN108540246A (en) A kind of resource allocation methods of the secondary IoT equipment of IoT sensor networks based on cognitive radio under imperfect channel
CN106211300A (en) The effect of isomery cloud Radio Access Network safe perception energy and power distribution optimization method
Liu et al. A novel fast multi-objective evolutionary algorithm for QoS multicast routing in MANET
Rezaei et al. Online QoS multicast routing in multi-channel multi-radio wireless mesh networks using network coding
CN106209335B (en) A kind of pilot multiplex method for D2D communication system
CN104902516B (en) Flow configuration method and system

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: 20130911

Termination date: 20170617

CF01 Termination of patent right due to non-payment of annual fee