CN101667972B - Power communication network service routing method and device - Google Patents

Power communication network service routing method and device Download PDF

Info

Publication number
CN101667972B
CN101667972B CN2009101805242A CN200910180524A CN101667972B CN 101667972 B CN101667972 B CN 101667972B CN 2009101805242 A CN2009101805242 A CN 2009101805242A CN 200910180524 A CN200910180524 A CN 200910180524A CN 101667972 B CN101667972 B CN 101667972B
Authority
CN
China
Prior art keywords
node
pheromones
ant
link
route
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.)
Active
Application number
CN2009101805242A
Other languages
Chinese (zh)
Other versions
CN101667972A (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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing University of Posts and Telecommunications
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing University of Posts and Telecommunications
China Electric Power Research Institute Co Ltd CEPRI
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 State Grid Information and Telecommunication Co Ltd, Beijing University of Posts and Telecommunications, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN2009101805242A priority Critical patent/CN101667972B/en
Publication of CN101667972A publication Critical patent/CN101667972A/en
Application granted granted Critical
Publication of CN101667972B publication Critical patent/CN101667972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a power communication network service routing method and a device, and the method comprises the following steps: A. generating an object optimization function according to a network optimization object; B. determining an initial node of a service and taking the initial node as the current node; C utilizing the ant colony algorithm for calculating the transition probabilities of all chains which are connected with the current node, while the transition probabilities are obtained by the calculation according to information elements on all the current chains; D. selectingthe next jump node as the current node according to the transition probabilities; E. judging whether the selected next jump node is a destination node or not of the service or not; if so, taking the selected next jump node as the current node, determining the information elements on all the current chains according to the object optimization function, and then repeatedly implementing the step C to the step E; and otherwise, generating the routing which corresponds to the service according to the initial node of the service and all the selected next jump nodes. The method and the device can ensure the optimal performances of the multi-service routing in a power communication network.

Description

Power communication network service routing method and equipment
Technical field
The present invention relates to the powerline network technical field, be specifically related to a kind of power communication network service routing method and equipment.
Background technology
The planning of service path in the powerline network is meant under network environment and the definite condition of traffic matrix; with certain optimization aim; for each the professional evaluation work in the traffic matrix or protection route and reasonable disposition resource, satisfying the construction cost that minimizes network under the prerequisite of business demand.This problem itself is the multi-objective optimization question of a complexity, and the conventional method of head it off is generally integral linear programming method and some heuristics.Wherein integral linear programming method has higher time complexity, is therefore replaced by heuritic approach gradually in actual applications.
When the service path in the powerline network was planned, though can use for reference plan of operation method in the existing communication network, these methods all had its limitation.Such as, the integral linear programming method lacks the control to the search volume, so time complexity is higher relatively, and application difficult; And that genetic algorithm produces the similarity of separating between generations is higher, therefore is absorbed in locally optimal solution easily; The model of Artificial Immune Algorithm is simple, be easy to realize, but performance relative with portability a little less than; The ability of searching optimum of simulated annealing is stronger, and can jump out locally optimal solution effectively, but amount of calculation is bigger, the algorithm time complexity is higher, convergence rate is slow and have the problem of losing approximate optimal solution easily, therefore often can't satisfy the requirement that network need return many routes.
Summary of the invention
The embodiment of the invention provides a kind of power communication network service routing method and equipment, satisfying the parallel computation of multi-service route in the powerline network, and the best performance of the work of assurance route.
For this reason, the embodiment of the invention provides following technical scheme:
A kind of power communication network service routing method may further comprise the steps:
A, generate the objective optimization function according to network optimization target;
B, determine professional start node, and with it as present node;
The transition probability of C, each bar link of utilizing ant group algorithm to calculate to link to each other with present node, described transition probability is to calculate according to the pheromones on current each bar link;
D, the described transition probability of foundation are selected next-hop node;
Whether the next-hop node that E, judgement are selected is the destination node of described business; If, then with the next-hop node selected as present node, and determine pheromones on current each bar link according to described objective optimization function, repeated execution of steps C is to step e then; Otherwise, generate the route of corresponding described business according to the start node of business and all next-hop nodes of selecting.
A kind of power communication network service route device comprises:
The majorized function generation unit is used for generating the objective optimization function according to network optimization target;
The node selected cell is used for determining professional start node, and with its present node as ant group place;
The pheromones determining unit is used for determining pheromones on each bar link according to described objective optimization function;
The transition probability computing unit utilizes ant group algorithm to calculate the transition probability of each the bar link that links to each other with described present node, and described transition probability is to calculate according to the pheromones on current each bar link;
Described node selected cell also is used for determining next-hop node according to described transition probability, and with its present node as ant group place;
The route generation unit is used for generating according to the start node of business and all next-hop nodes of selecting the route of corresponding described business;
Judging unit is used to judge whether the next-hop node that described node selected cell is selected is the destination node of described business, if not, then notifies described pheromones determining unit to determine pheromones on current each bar link according to described objective optimization function; If then notify start node and all next-hop nodes of the selecting route that generate corresponding described business of described route generation unit according to business.
Power communication network service routing method that the embodiment of the invention provides and device are used for reference the search principle of separating of ant group algorithm, generate the objective optimization function according to network optimization target; Utilize in the ant group algorithm computing service routing procedure, determine pheromones on current each bar link according to described objective optimization function, according to the pheromones on current each bar link, the transition probability of each bar link that calculating links to each other with present node, select next-hop node according to described transition probability, realize the planning of multi-service route in the powerline network, and the best performance of the work of assurance route.
Description of drawings
Fig. 1 is the flow chart of embodiment of the invention power communication network service routing method;
Fig. 2 utilizes ant group algorithm to generate the flow chart of professional route in the embodiment of the invention;
Fig. 3 is a kind of structural representation of embodiment of the invention power communication network service route device.
Embodiment
In order to make those skilled in the art person understand the scheme of the embodiment of the invention better, the embodiment of the invention is described in further detail below in conjunction with drawings and embodiments.
At first the basic principle of ant group algorithm is done simple declaration below.
Ant group algorithm is emerging a kind of bionical evolution algorithm in the optimization field, and this algorithm adopts distributed parallel computer system, easily combines with additive method, has stronger robustness.Ant group algorithm comprises two root phases: laundering period and cooperation stage, in the laundering period, each candidate constantly adjusts self structure according to the information of accumulation; In the cooperation stage, by information interchange, better to separate between the candidate solution in the hope of producing performance, this is similar to the study mechanism of learning automaton.
The principle of ant group discovery shortest path and mechanism mainly are according to some local messages and utilize simple rule to make a strategic decision: at first, allow the ant can avoiding obstacles, secondly, allow ant find food, just need allow they travel through on the space have a few; Once more, if allow ant find the shortest path, need to calculate all possible path and their size of comparison so.Based on rule have:
1, scope: the observed scope of ant is a grid world, and it is speed radius (generally being 3) that ant has a parameter, and it can observed scope be exactly 3*3 the grid world so, and mobile distance is also within this scope.
2, environment: the environment at ant place is a virtual world, and barrier is wherein arranged, and other ant is arranged, also has pheromones, information have two kinds, and a kind of is to find the ant of the food food information element under spilling, and a kind of is the pheromones that finds the ant of the nest nest under spilling.Each ant all only can the interior environmental information of its scope of perception.Environment allows pheromones disappear with certain speed.
3, the rule of looking for food: can seek whether food is arranged in the scope of perception every ant, if having just directly in the past.Otherwise see if there is pheromones, and relatively in can the scope of perception which point pheromones maximum, like this, it is just walked towards the many places of pheromones, and how every ant can make mistakes with small probability, thereby is not that the past maximum point of pheromones moves.Ant looks for the rule of nest with top the same, and only it is made a response to the pheromones of nest, and to the plain no reaction of food information.
4, move rule: every ant all plain maximum direction of orientation information moves, and, when around when not having pheromones to guide, ant can go down according to the motion of own original travel direction inertia, and, a little disturbance is at random arranged in travel direction.In order to prevent that the ant original place from turn-taking, it can remember which point of just having passed by recently, if passing by recently more down of finding to walk, it will avoid as far as possible.
5, keep away the barrier rule: if the direction that ant will be moved has barrier to block, its meeting another direction of selection at random, and have pheromones to guide, its can be according to the regular behavior of looking for food.
6, sow the pheromones rule: every ant is spread the pheromones of sending out when just finding food or nest maximum, and along with it walks distance far away, the pheromones of sowing is fewer and feweri.
Embodiment of the invention power communication network service routing method is used for reference the search principle of separating of ant group algorithm, generates the objective optimization function according to network optimization target; Determine pheromones on each bar link according to described objective optimization function; Calculate the transition probability of each the bar link that links to each other with professional starting point according to described pheromones; And, realize the planning of multi-service route in the powerline network, and the best performance of the work of assurance route according to described transition probability selection next-hop node.
As shown in Figure 1, be the flow chart of embodiment of the invention power communication network service routing method, may further comprise the steps:
Step 101 generates the objective optimization function according to network optimization target.
Such as, be optimization aim with the economy, then when modeling (promptly generating majorized function), need consider network link cost and network node cost.Because it is very little that network operation under normal circumstances and wear and tear expense are compared with construction cost, generally can ignore in the planning stage, so the main construction cost of considering network in the model.Wherein, link cost is relevant with the cost of unit length optical fiber, and the node cost is relevant with the unit cost with the structure of node place switching equipment.
Suppose known network topology for directed graph G (V, F), wherein V and F represent the node set and the link set of network respectively, | F| represents the total network links number.W represents the set of single fiber wavelength, | W| represents single fiber wavelength sum.The total construction cost of C (G) expression the whole network, C V(G) the total construction cost of expression the whole network node, C F(G) the total construction cost of expression total network links, then the optimization aim function is minC (G), then:
C(G)=C F(G)+C V(G) (1)
If ∀ f ij ∈ F ( i , j ∈ V ) , D (f Ij) expression optical fiber f IjLength, α is the weight factor of link cost, then C F(G) can be expressed as:
C F ( G ) = α Σ f ij ∈ F d ( f ij ) - - - ( 2 )
The total construction cost C of the whole network node V(G) mainly comprise multiplexed/demodulation multiplexer cost, optical cross-matrix cost and wavelength shifter cost, β, γ and η represent the weight factor of above three costs respectively.C V(G) can be expressed as:
C V ( G ) = C V MUX ( G ) + C V OXC ( G ) + C V WC ( G ) - - - ( 3 )
Wherein, C V MUX(G) expression node place multiplexed/total cost of demodulation multiplexer, multiplexed/demodulation multiplexer is divided into the multiplexed/demodulation multiplexer of road wavelength about local and non-this locality.The former number is relevant with professional number in the road up and down at local node place and single fiber maximum wavelength number, and the latter's number is relevant with the fiber port number at node place; C V OXC(G) cost of expression node place optical cross-matrix; C V WC(G) total cost of expression node place wavelength shifter.
If ∀ v ∈ V , TU vBeing illustrated in the professional number of setting out on a journey in node v place, promptly is the professional number of source node with node v; TD vBeing illustrated in the professional number on road under the node v place, promptly is the professional number of destination node with node v, then C V MUX(G) can be expressed as:
Suppose that the optical cross-matrix of intranodal is made up of the cascade of 2*2 optical switch, then node v place input/outbound port number is K vOptical cross-connection equipment need by Individual 2*2 optical switch is formed, then C V OXC(G) can be expressed as:
C V OXC ( G ) = γ Σ v ∈ V ( K v 2 log 2 K v ) - - - ( 5 )
Suppose that network possesses the long ability to transform of all-wave, the number of node place wavelength shifter is relevant with straight-through professional number with this underground road.Use TH vThe straight-through professional number in expression node v place, then C Wc(G) can be expressed as:
C V WC ( G ) = η Σ v ∈ V ( TD v + TH v ) - - - ( 6 )
Comprehensive above-mentioned every cost, the total construction cost function of the whole network is:
Figure G2009101805242D00066
Promptly with formula (7) as majorized function.Certainly, the embodiment of the invention is not limited in above-mentioned majorized function, according to the difference of applied environment and purpose, can also generate other majorized functions according to actual needs.
Step 102 is determined professional start node, and with it as present node.
Step 103 utilizes ant group algorithm to calculate the transition probability of each the bar link that links to each other with present node, and described transition probability is to calculate according to the pheromones on current each bar link.
Step 104, the described transition probability of foundation are selected next-hop node.
Need avoid the generation of route ring when calculating route, therefore need set up effective taboo table update mechanism provides strictness for ant group's path point selection foundation for business.
The scale of supposing the ant group is m, f Ij∈ F, i, j ∈ V, ant k (1≤k≤when m) selecting the direction of next jumping at the node i place, τ k(i, j) (i j) goes up residual pheromone concentration to the expression link.δ IjExpression link (i, visibility j), δ Ij=1/d (f Ij).λ 1Relative importance (the λ of pheromone concentration during the expression routing 1〉=0), λ 2Relative importance (the λ of expression visibility 2〉=0), definition p k(i, j) for ant k transfers to the transition probability of j node by the i node, then:
p k ( i , j ) = τ k λ 1 ( i , j ) δ ij λ 2 Σ r ∈ allowed k τ k λ 1 ( i , r ) δ ir λ 2 j ∈ allowed k 0 else - - - ( 8 )
Wherein, allowed k=0,1,2 ..., | V|-1}-tabu k, be the current node set that can select as next-hop node of ant k, promptly the also node set of process not of direct connected link mutually and ant, tabu are arranged with node i kTaboo table for ant k.Initial time, the pheromone concentration on each paths equate, are constant C, and ant k selects next step route according to the transition probability on each bar adjacent link in motion process, and upgrade the taboo table.
Step 105 judges whether the next-hop node of selecting is the destination node of described business; If then execution in step 107; Otherwise execution in step 106.
Step 106 as present node, and is determined pheromones on current each bar link according to described objective optimization function with the next-hop node selected, returns step 103 then.
Step 107 generates the route of corresponding described business according to the start node of business and all next-hop nodes of selecting.
In embodiments of the present invention, ant group algorithm is used for the planning in power communication network service path, the no longer single length according to selected path of ant is upgraded the pheromone concentration on the respective link, upgrades pheromone concentration on the link but calculate the optimization aim that finishes the back network in road according to this.
Particularly, can decide the pheromones increment according to the optimization aim of current network (building the total cost value), and change, thereby influence the path point selection of follow-up ant process formula along with the variation of iterations such as the whole network.As time goes on, pheromones residual in the network can be volatilized gradually, the persistence of pheromones on parameter ρ (0≤ρ<1) the expression network link, and then 1-ρ represents the disappearance degree of pheromone concentration.
In embodiments of the present invention, can utilize improved pheromones increment method of adjustment and/or pheromones update method to upgrade the link information element.Following three kinds of modes are specifically arranged:
1. the increment of computing information element at first, as follows:
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function; h kBe the jumping figure of k the selected route of ant, f (h k) be the weighting function of pheromones increment, be defined as follows:
f ( h k ) = h D h k h k ≤ h max 0 h k > h max , - - - ( 10 )
Wherein, h DFor to adopt dijkstra's algorithm be the shortest path that calculates of current business by jumping figure, h MaxBe predetermined threshold.
By weighted, less each the bar link that route comprised of jumping figure that is calculated by ant group algorithm will obtain more relatively pheromones gain; The pheromones that each bar link that route comprised that jumping figure is bigger increases is then less relatively.When the jumping figure of certain bar route surpasses threshold value h MaxThe time, the pheromones increment of each bar link that this route comprised is zero, has controlled the length of the route that single ant process calculates so effectively.Hop count threshold value h MaxValue can grid of reference scale, such as, can define h MaxBe 3 times of shortest path jumping figure between current business sourcesink node, i.e. h Max=3h D
Then, adjust pheromone concentration on each bar link as follows:
τ′ k(i,j)=ρτ k(i,j)+Δτ k(i,j),0≤ρ<1, (11)
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link.
2. the increment of computing information element at first, as follows:
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function;
Then, adjust pheromone concentration on each bar link as follows:
&tau; k &prime; ( i , j ) = [ &rho; &tau; k ( i , j ) ] &omega; 1 + [ &Delta; &tau; k ( i , j ) ] &omega; 2 , 0 &le; &rho; < 1 , - - - ( 13 )
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link, ω 1And ω 2Be weighted factor.
3. according to the increment of above-mentioned formula (9) computing information element, and adjust pheromone concentration on each bar link according to above-mentioned formula (13).
Wherein, ω 1Effect be the better solutions that finds in the bounding algorithm initial stage search stage comparatively blindly, make the pheromones increase on these better paths slower, prevent that algorithm is absorbed in locally optimal solution too early, has enlarged the hunting zone; And in the algorithm later stage, because the pace of change of power function is greater than the pace of change of linear function, better the pheromones pace of change on the path is also accelerated thereupon, thereby has accelerated the convergence rate in algorithm later stage.ω 2Effect be the increasing degree of control single pheromones.As target function value C (G k) during significant change, τ k' (i, variation j) will be more obvious, thus the raising better solutions comprises the pheromones increment on the link, the dynamic modified solutions direction of search.If make ω 1>ω 2, then algorithm is more paid close attention to ability of searching optimum, avoids converging to too early on the locally optimal solution; And if make ω 1<ω 2, then algorithm is more paid close attention to convergence rate, can revise the direction of search and convergence in time when more excellent separating occurring faster.
Embodiment of the invention power communication network service routing method is used for reference the search principle of separating of ant group algorithm, generates the objective optimization function according to network optimization target; Determine pheromones on each bar link according to described objective optimization function; Calculate the transition probability of each the bar link that links to each other with professional starting point according to described pheromones; Utilize ant group algorithm to determine professional route according to described transition probability, realize the planning of professional route in the powerline network.
Further, the embodiment of the invention is improved the computational methods of pheromones increment and the update mechanism of pheromones, in the calculating of pheromones increment, consider the influence of hop count to network performance, adopted based on the pheromones increment of jumping figure and adjusted strategy, and, realized dynamic adjustment to the route solution space direction of search by the pheromones increment that every ant brought is carried out the jumping figure weighting; Simultaneously when upgrading the link information element, two have been introduced greater than 1 Weighted Index, make in initial operating stage search phase constraint better solutions comparatively blindly, prevent to converge to too early on the locally optimal solution, and expansion search volume, and, add rapid convergence in the amplitude of variation of moving later stage increasing pheromones increment, improve the search efficiency of understanding.
As shown in Figure 2, be to utilize ant group algorithm to generate the particular flow sheet of professional route in the embodiment of the invention.
Be that example describes with a business below, may further comprise the steps:
Step 201, input new business;
Step 202 is carried out initialization, comprising: arrangement network topology data, and initialization ant swarm parameter, it is A that ant group number is set m, the number of every group of ant is A n, (m=A m* A n), the professional chained list T of initialization c, node chain Table V cWith link chained list F c, each chained list last bit is end with the sky; With link chained list F cIn the plain concentration of initial information of all links be changed to constant C (C>0), the plain increment of initialization information is 0, the taboo table tabu of each ant of initialization kBe empty (1≤k≤m), the cyclic variable j of ant group is set Ant=1, ant cyclic variable i in the group Ant=1.
Step 203 places the source node s place of current business, wherein k=A with k ant n* (j Ant-1)+i Ant
Step 204 for the transition probability of k ant by above-mentioned formula (8) calculating and present node adjacent link, and is selected next-hop node.
Step 205 judges that whether current transferable node set is empty, i.e. allowed whether k=Null; If then execution in step 213; Otherwise execution in step 206.
Step 206 judges whether this node is professional destination node; If then execution in step 207; Otherwise execution in step 214.
Step 207, current ant k is that current business is selected a route, this route is carried out calculating the target function value of this moment after the wavelength resource preassignment, and calculate the pheromones increment of link that this route is passed through.
When distributing wavelength resource, can adopt initial hit strategy (First Fit), promptly, select first the idle wavelength in first optical fiber that has idle wavelength according to the order of optical fiber and wavelength numbering, distribute to business.
Step 208, the ant cyclic variable adds 1 in will organizing, i.e. i Ant=i Ant+ 1.
Step 209 judges that whether the ant cyclic variable promptly judges whether i greater than this group ant number in the group Ant>A nIf then execution in step 210; Otherwise execution in step 215.
Step 210, the selected route of that ant of the pheromones increment maximum of bringing for network in this group is found out in the loop ends of this group ant, and upgrades this route according to formula (11) or formula (13) and comprise pheromone concentration on the link; And ant group cyclic variable added 1, even j Ant=j Ant+ 1, i Ant=1.
Whether step 211 judges ant group cyclic variable greater than the ant group number, i.e. j whether Ant>A mIf then execution in step 212; Otherwise execution in step 216.
Step 212, the ant loop ends determines that the route that converges to promptly is the current business final route, and utilizes the initial hit strategy to be current business route assignment wavelength.
When the route of determining to converge to, can stay the pheromones increment size separately by all ants that successfully calculate professional route relatively determines, particularly, the route that ant calculated that can select to stay pheromones increment maximum is the route of current business.
Step 213 is judged this ant death, empties taboo table tabu k, go to step 208 then.
Step 214 adds the taboo table tabu that ant k carries with present node and selected next-hop node kIn, ant k advances, and returns step 204 then.
Step 215 empties taboo table tabu k, should the shared wavelength resource of business preassignment in the releasing network; Return step 203 then, begin the routing process of next ant.
Step 216 empties taboo table tabu k, should the shared wavelength resource of business preassignment in the releasing network, return step 203 then, begin the circulation of next group ant.
Certainly,, can repeat above-mentioned flow process, be embodied as a plurality of professional professional routes that generate if the situation of a plurality of service concurrences is arranged.
As seen, the embodiment of the invention is used for reference the search principle of separating of ant group algorithm, and proposes improved pheromones update mechanism, and fast convergence rate is also controlled, and the tropism is strong for the solution space searcher, is applicable to the economy planning problem that solves power telecom network.This method has relatively stronger robustness, positive feedback and good distributed parallel computing capability simultaneously, can satisfy the parallel computation of many professional routes, and itself also has the high similarity with the network routing procedure, therefore is easy to transplant realize.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Correspondingly, the embodiment of the invention also provides a kind of power communication network service route device.As shown in Figure 3, be a kind of structural representation of this device.
In this embodiment, described device comprises: majorized function generation unit 301, node selected cell 302, pheromones determining unit 303, transition probability computing unit 304, route generation unit 305, judging unit 306.Wherein:
Majorized function generation unit 301 is used for generating the objective optimization function according to network optimization target;
Node selected cell 302 is used for determining professional start node, and with its present node as ant group place;
Pheromones determining unit 303 is used for determining pheromones on each bar link according to described objective optimization function;
Transition probability computing unit 304 utilizes ant group algorithm to calculate the transition probability of each the bar link that links to each other with described present node, and described transition probability is to calculate according to the pheromones on current each bar link;
Described node selected cell 302 also is used for determining next-hop node according to described transition probability, and with its present node as ant group place;
Route generation unit 305 is used for generating according to the start node of business and all next-hop nodes of selecting the route of corresponding described business;
Judging unit 306, be used to judge whether the next-hop node that described node selected cell 302 is selected is the destination node of described business, if not, then notify described pheromones determining unit 303 to determine pheromones on current each bar link according to described objective optimization function; If then notify start node and all next-hop nodes of the selecting route that generate corresponding described business of described route generation unit 305 according to business.
Wherein, majorized function generation unit 301 can be according to the path planning needs, can generate corresponding objective optimization function with different network optimization targets, such as, when being optimization aim with the economy, need need consider network link cost and network node cost when modeling (promptly generating majorized function), in this application, majorized function generation unit 301 specifically can generate objective optimization function: minC (G)=C as follows F(G)+C V(G), wherein, C F(G) be the total construction cost of total network links, C V(G) be the total construction cost of the whole network node.Description in detailed process such as the front embodiment of the invention power communication network service routing method does not repeat them here.
In embodiments of the present invention, described pheromones determining unit 303 can have multiple implementation, such as:
A kind of embodiment of described pheromones determining unit 303 comprises: the plain concentration of the first incremental computations subelement and the first information is adjusted subelement.Wherein:
The described first incremental computations subelement is used for the increment of computing information element as follows:
Figure G2009101805242D00141
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function; h kBe the jumping figure of k the selected route of ant, f (h k) be the weighting function of pheromones increment, be defined as follows:
f ( h k ) = h D h k h k &le; h max 0 h k > h max ,
Wherein, h DFor to adopt dijkstra's algorithm be the shortest path that calculates of current business by jumping figure, h MaxBe predetermined threshold;
The plain concentration of the described first information is adjusted subelement, is used for adjusting as follows the pheromone concentration on each bar link:
τ′ k(i,j)=ρτ k(i,j)+Δτ k(i,j),0≤ρ<1,
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link.
A kind of embodiment of described pheromones determining unit 303 comprises: the second incremental computations subelement and second pheromone concentration are adjusted subelement.Wherein:
Described second increment is determined subelement, is used for the increment of computing information element as follows:
Figure G2009101805242D00143
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function;
Described second pheromone concentration is adjusted subelement, is used for adjusting as follows the pheromone concentration on each bar link:
&tau; k &prime; ( i , j ) = [ &rho; &tau; k ( i , j ) ] &omega; 1 + [ &Delta; &tau; k ( i , j ) ] &omega; 2 , 0 &le; &rho; < 1 ,
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link, ω 1And ω 2Be weighted factor.
Certainly, the another kind of embodiment of described pheromones determining unit 303 can also comprise: described first incremental computations subelement and described second pheromone concentration are adjusted subelement.
In embodiments of the present invention, described transition probability computing unit 304 specifically is used to utilize following formula to calculate the transition probability of each the bar link that links to each other with professional starting point:
p k ( i , j ) = &tau; k &lambda; 1 ( i , j ) &delta; ij &lambda; 2 &Sigma; r &Element; allowed k &tau; k &lambda; 1 ( i , r ) &delta; ir &lambda; 2 j &Element; allowed k 0 else , λ 1≥0,λ 2≥0,
Wherein, p k(i j) transfers to the transition probability of j node, δ for ant k by the i node IjExpression link (i, visibility j), δ Ij=1/d (f Ij), λ 1The relative importance of pheromone concentration during the expression routing, λ 3The relative importance of expression visibility, allowed k=0,1,2 ..., | V|-1}-tabu k, for the also node set of process not of direct connected link mutually and ant, tabu being arranged with node i kTaboo table for ant k.
The detailed process of utilizing embodiment of the invention power communication network service route device to generate professional route can not repeat them here with reference to the description in the embodiment of the invention power communication network service routing method of front.
Embodiment of the invention power communication network service route device is used for reference the search principle of separating of ant group algorithm, generates the objective optimization function according to network optimization target; Determine pheromones on each bar link according to described objective optimization function; Calculate the transition probability of each the bar link that links to each other with professional starting point according to described pheromones; And, realize the planning of multi-service route in the powerline network, and the best performance of the work of assurance route according to described transition probability selection next-hop node.
More than the embodiment of the invention is described in detail, used embodiment herein the present invention set forth, the explanation of above embodiment just is used for help understanding method and apparatus of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a power communication network service routing method is characterized in that, may further comprise the steps:
A, generate objective optimization function m inC (G)=C according to network optimization target F(G)+C V(G), wherein, C F(G) be the total construction cost of total network links, C V(G) be the total construction cost of the whole network node;
B, determine professional start node, and with it as present node;
The transition probability of C, each bar link of utilizing ant group algorithm to calculate to link to each other with present node, described transition probability is to calculate according to the pheromones on current each bar link;
D, the described transition probability of foundation are selected next-hop node;
Whether the next-hop node that E, judgement are selected is the destination node of described business; If, then with the next-hop node selected as present node, and determine pheromones on current each bar link according to described objective optimization function, repeated execution of steps C is to step e then; Otherwise, generate the route of corresponding described business according to the start node of business and all next-hop nodes of selecting.
2. method according to claim 1 is characterized in that, describedly determines that according to described objective optimization function the pheromones on current each bar link comprises:
The increment of computing information element as follows:
Figure FDA0000069646080000011
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function; h kBe the jumping figure of k the selected route of ant, f (h k) be the weighting function of pheromones increment, be defined as follows:
f ( h k ) = h D h k h k &le; h max 0 h k > h max ,
Wherein, h DFor to adopt dijkstra's algorithm be the shortest path that calculates of current business by jumping figure, h MaxBe predetermined threshold;
Adjust the pheromone concentration on each bar link as follows:
τ′ k(i,j)=ρτ k(i,j)+Δτ k(i,j),0≤ρ<1,
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link.
3. method according to claim 2 is characterized in that, described h MaxBe 3 times of shortest path jumping figure between current business sourcesink node.
4. method according to claim 1 is characterized in that, describedly determines that according to described objective optimization function the pheromones on current each bar link comprises:
The increment of computing information element as follows:
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function;
Adjust the pheromone concentration on each bar link as follows:
&tau; k &prime; ( i , j ) = [ &rho;&tau; k ( i , j ) ] &omega; 1 + [ &Delta;&tau; k ( i , j ) ] &omega; 2 , 0 &le; &rho; < 1 ,
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link, ω 1And ω 2Be weighted factor.
5. method according to claim 4 is characterized in that, described method also comprises:
When needs are considered ability of searching optimum, set ω 1>ω 2
When needs are considered convergence rate, set ω 1<ω 2
6. according to claim 2 or 4 described methods, it is characterized in that the described transition probability that calculates each the bar link that links to each other with professional starting point according to described pheromones comprises:
Utilize following formula to calculate the transition probability of each the bar link that links to each other with professional starting point:
p k ( i , j ) = &tau; k &lambda; 1 ( i , j ) &delta; ij &lambda; 2 &Sigma; r &Element; allowed k &tau; k &lambda; 1 ( i , r ) &delta; ir &lambda; 2 j &Element; allowed k 0 else , &lambda; 1 &GreaterEqual; 0 , &lambda; 2 &GreaterEqual; 0 ,
Wherein, p k(i j) transfers to the transition probability of j node, δ for ant k by the i node IjExpression link (i, visibility j), δ Ij=1/d (f Ij), λ 1The relative importance of pheromone concentration during the expression routing, λ 2The relative importance of expression visibility, allowed k=0,1,2 ..., | V|-1}-tabu k, for the also node set of process not of direct connected link mutually and ant, tabu being arranged with node i kTaboo table for ant k.
7. a power communication network service route device is characterized in that, comprising:
The majorized function generation unit is used for generating objective optimization function m inC (G)=C according to network optimization target F(G)+C V(G), wherein, C F(G) be the total construction cost of total network links, C V(G) be the total construction cost of the whole network node;
The node selected cell is used for determining professional start node, and with its present node as ant group place;
The pheromones determining unit is used for determining pheromones on each bar link according to described objective optimization function;
The transition probability computing unit utilizes ant group algorithm to calculate the transition probability of each the bar link that links to each other with described present node, and described transition probability is to calculate according to the pheromones on current each bar link;
Described node selected cell also is used for determining next-hop node according to described transition probability, and with its present node as ant group place;
The route generation unit is used for generating according to the start node of business and all next-hop nodes of selecting the route of corresponding described business;
Judging unit is used to judge whether the next-hop node that described node selected cell is selected is the destination node of described business, if not, then notifies described pheromones determining unit to determine pheromones on current each bar link according to described objective optimization function; If then notify start node and all next-hop nodes of the selecting route that generate corresponding described business of described route generation unit according to business.
8. device according to claim 7 is characterized in that, described pheromones determining unit comprises:
The first incremental computations subelement is used for the increment of computing information element as follows:
Figure FDA0000069646080000041
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function; h kBe the jumping figure of k the selected route of ant, f (h k) be the weighting function of pheromones increment, be defined as follows:
f ( h k ) = h D h k h k &le; h max 0 h k > h max ,
Wherein, h DFor to adopt dijkstra's algorithm be the shortest path that calculates of current business by jumping figure, h MaxBe predetermined threshold;
The plain concentration of the first information is adjusted subelement, is used for adjusting as follows the pheromone concentration on each bar link:
τ′ k(i,j)=ρτ k(i,j)+Δτ k(i,j),0≤ρ<1,
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link.
9. device according to claim 7 is characterized in that, described pheromones determining unit comprises:
Second increment is determined subelement, is used for the increment of computing information element as follows:
Wherein, Δ τ k(i, j) k ant of expression stayed link f in this circulation IjOn the increment of pheromones; Q is one and embodies the constant that the unit ant stays track quantity; G kRepresent that k ant is the network topology after current business calculates a route and Resources allocation, C (G k) be current network topology G kThe objective optimization function;
Second pheromone concentration is adjusted subelement, is used for adjusting as follows the pheromone concentration on each bar link:
&tau; k &prime; ( i , j ) = [ &rho;&tau; k ( i , j ) ] &omega; 1 + [ &Delta;&tau; k ( i , j ) ] &omega; 2 , 0 &le; &rho; < 1 ,
Wherein, τ k(i, j) and τ ' k(i j) represents before this pheromones renewal respectively and link f after upgrading IjOn pheromone concentration, ρ represents the persistence of pheromones on the link, ω 1And ω 2Be weighted factor.
10. according to Claim 8 or 9 described devices, it is characterized in that,
Described transition probability computing unit specifically is used to utilize following formula to calculate the transition probability of each the bar link that links to each other with professional starting point:
p k ( i , j ) = &tau; k &lambda; 1 ( i , j ) &delta; ij &lambda; 2 &Sigma; r &Element; allowed k &tau; k &lambda; 1 ( i , r ) &delta; ir &lambda; 2 j &Element; allowed k 0 else , &lambda; 1 &GreaterEqual; 0 , &lambda; 2 &GreaterEqual; 0 ,
Wherein, p k(i j) transfers to the transition probability of j node, δ for ant k by the i node IjExpression link (i, visibility j), δ Ij=1/d (f Ij), λ 1The relative importance of pheromone concentration during the expression routing, λ 2The relative importance of expression visibility, allowed k=0,1,2 ..., | V|-1}-tabu k, for the also node set of process not of direct connected link mutually and ant, tabu being arranged with node i kTaboo table for ant k.
CN2009101805242A 2009-10-19 2009-10-19 Power communication network service routing method and device Active CN101667972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101805242A CN101667972B (en) 2009-10-19 2009-10-19 Power communication network service routing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101805242A CN101667972B (en) 2009-10-19 2009-10-19 Power communication network service routing method and device

Publications (2)

Publication Number Publication Date
CN101667972A CN101667972A (en) 2010-03-10
CN101667972B true CN101667972B (en) 2011-09-28

Family

ID=41804417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101805242A Active CN101667972B (en) 2009-10-19 2009-10-19 Power communication network service routing method and device

Country Status (1)

Country Link
CN (1) CN101667972B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055242B (en) * 2010-12-03 2013-08-28 湖州电力局 Power grid model based communication link tracking method
CN102904811B (en) * 2012-10-29 2016-02-24 广东电网公司电力调度控制中心 Towards route selection method and the system of power business
CN103490933B (en) * 2013-09-27 2017-07-14 国家电网公司 A kind of service protection restoration methods containing Dominator
CN103634842B (en) * 2013-12-20 2016-09-21 大连大学 Method for routing between a kind of distributed satellite network group
CN104283789B (en) * 2014-09-19 2016-04-13 深圳市腾讯计算机系统有限公司 Route convergent method and system
US20160099859A1 (en) * 2014-10-06 2016-04-07 Futurewei Technologies, Inc. Reverse Path Validation for Source Routed Networks
CN104617985B (en) * 2014-12-31 2017-09-19 北京邮电大学 Power telecom network line optimization method and device based on ant group algorithm
CN106330477A (en) * 2015-06-16 2017-01-11 中兴通讯股份有限公司 Ethernet service configuration method, configuration device and network management
CN105069698B (en) * 2015-07-31 2019-02-22 许继集团有限公司 Path searching method therefor, device and electric system based on ant group algorithm
CN106230615A (en) * 2016-07-18 2016-12-14 国家电网公司 A kind of business work order activating method based on intelligence route searching
CN106230724B (en) * 2016-09-28 2019-04-05 华北电力科学研究院有限责任公司 Power telecom network route computing method
CN106600049A (en) * 2016-12-09 2017-04-26 国网北京市电力公司 Path generation method and apparatus thereof
CN107864093A (en) * 2017-09-19 2018-03-30 贵州电网有限责任公司 A kind of multilayer union route and Survivability Strategy based on economic factors
CN108337174B (en) * 2017-12-27 2020-10-23 瑞斯康达科技发展股份有限公司 Method and device for searching end-to-end service route of transmission network and storage medium
CN108551661A (en) * 2018-04-19 2018-09-18 南京邮电大学 A kind of efficiency optimal method based on the connection prediction of Ant Routing algorithm
CN108737011B (en) * 2018-06-15 2019-08-06 西安电子科技大学 The Wavelength allocation method of reduction crosstalk based on ant group algorithm
CN109005589B (en) * 2018-07-03 2023-04-07 上海理工大学 Method and equipment for spectrum resource allocation
CN110856232B (en) * 2019-11-12 2022-02-08 全球能源互联网研究院有限公司 Relay selection and frequency distribution method and device for electric power wireless private network
CN110808911B (en) * 2019-11-13 2022-05-17 天津津航计算技术研究所 Networking communication routing method based on ant colony pheromone
CN111245719B (en) * 2020-01-02 2021-12-31 湖南大学 Ant colony optimization-based erasure coding storage system data updating method
CN111555978B (en) * 2020-04-24 2021-09-07 中南大学 SDN routing arrangement method with energy saving and service quality guarantee functions in smart grid

Also Published As

Publication number Publication date
CN101667972A (en) 2010-03-10

Similar Documents

Publication Publication Date Title
CN101667972B (en) Power communication network service routing method and device
Wang et al. Adaptive Traffic Signal Control for large-scale scenario with Cooperative Group-based Multi-agent reinforcement learning
US9818297B2 (en) Multi-agent reinforcement learning for integrated and networked adaptive traffic signal control
Bazzan et al. Learning in groups of traffic signals
Kumar et al. Ant colony optimization for multi-purpose reservoir operation
Patel et al. A hybrid ACO/PSO based algorithm for QoS multicast routing problem
Stützle et al. A concise overview of applications of ant colony optimization
CN106250650A (en) The resource allocation and optimization method of model in high flux emulation
Sun et al. Optimization deployment of wireless sensor networks based on culture–ant colony algorithm
Zou et al. Energy-efficient roadside unit scheduling for maintaining connectivity in vehicle ad-hoc network
CN103763363A (en) Cloud storage system and file copy deployment method based on cloud storage system
Renfrew et al. Traffic signal optimization using ant colony algorithm
Saha et al. An approach to wide area WDM optical network design using genetic algorithm
Alsajri et al. A review on the recent application of Jaya optimization algorithm
CN101944157A (en) Biological intelligence scheduling method for simulation grid system
Cong et al. A new ant colony routing approach with a trade-off between system and user optimum
CN116169776A (en) Cloud edge cooperative artificial intelligent regulation and control method, system, medium and equipment for electric power system
Bazzan et al. To adapt or not to adapt–consequences of adapting driver and traffic light agents
Singh et al. Artificial bee colony algorithm with uniform mutation
Daoui et al. Mobility prediction based on an ant system
CN114726434B (en) Millisecond-level rapid path-finding method suitable for large-scale optical network
Li et al. Swarm-intelligence-based routing and wavelength assignment in optical satellite networks
CN114722546A (en) Planning method, device and equipment for water supply pipe network layout path and storage medium
Huibregtse et al. Robust optimization of evacuation instructions, applied to capacity, hazard pattern, demand, and compliance uncertainty
Rinaldi et al. Centralized and decomposed anticipatory Model Predictive Control for network-wide Ramp Metering

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
ASS Succession or assignment of patent right

Owner name: STATE ELECTRIC NET CROP.

Free format text: FORMER OWNER: STATE GRID INFORMATION + TELECOMMUNICATION CO., LTD.

Effective date: 20120820

Owner name: STATE GRID INFORMATION + TELECOMMUNICATION CO., LT

Free format text: FORMER OWNER: BEIJING UNIVERSITY OF POSTS AND TELECOMMUNICATIONS CHINA ELECTRIC POWER RESEARCH INSTITUTE

Effective date: 20120820

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100761 XUANWU, BEIJING TO: 100031 XICHENG, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20120820

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Patentee after: State Grid Corporation of China

Patentee after: State Grid Information & Telecommunication Co.,Ltd.

Patentee after: Beijing University of Posts and Telecommunications

Patentee after: China Electric Power Research Institute

Address before: 100761 Beijing Xuanwu District city two, Baiguang Road

Patentee before: State Grid Information & Telecommunication Co.,Ltd.

Patentee before: Beijing University of Posts and Telecommunications

Patentee before: China Electric Power Research Institute

CP01 Change in the name or title of a patent holder

Address after: 100031 No. 86 West Chang'an Avenue, Beijing, Xicheng District

Patentee after: STATE GRID CORPORATION OF CHINA

Patentee after: State Grid Information & Telecommunication Co.,Ltd.

Patentee after: Beijing University of Posts and Telecommunications

Patentee after: CHINA ELECTRIC POWER RESEARCH INSTITUTE Co.,Ltd.

Address before: 100031 No. 86 West Chang'an Avenue, Beijing, Xicheng District

Patentee before: State Grid Corporation of China

Patentee before: State Grid Information & Telecommunication Co.,Ltd.

Patentee before: Beijing University of Posts and Telecommunications

Patentee before: China Electric Power Research Institute

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230419

Address after: 100031 No. 86 West Chang'an Avenue, Beijing, Xicheng District

Patentee after: STATE GRID CORPORATION OF CHINA

Patentee after: STATE GRID INFORMATION & TELECOMMUNICATION BRANCH

Patentee after: Beijing University of Posts and Telecommunications

Patentee after: CHINA ELECTRIC POWER RESEARCH INSTITUTE Co.,Ltd.

Address before: 100031 No. 86 West Chang'an Avenue, Beijing, Xicheng District

Patentee before: STATE GRID CORPORATION OF CHINA

Patentee before: State Grid Information & Telecommunication Co.,Ltd.

Patentee before: Beijing University of Posts and Telecommunications

Patentee before: CHINA ELECTRIC POWER RESEARCH INSTITUTE Co.,Ltd.