• No results found

A QoS Routing Algorithm Based on Ant Colony Optimization and Mobile Agent

N/A
N/A
Protected

Academic year: 2021

Share "A QoS Routing Algorithm Based on Ant Colony Optimization and Mobile Agent"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

Procedia Engineering 29 (2012) 1208 – 1212

1877-7058 © 2011 Published by Elsevier Ltd. doi:10.1016/j.proeng.2012.01.114

Available online at www.sciencedirect.com Available online at www.sciencedirect.com

Procedia Engineering 00 (2011) 000–000

Procedia

Engineering

www.elsevier.com/locate/procedia

2012 International Workshop on Information and Electronics Engineering (IWIEE)

A QoS Routing Algorithm Based on Ant Colony

Optimization and Mobile Agent

CAO Huaihu

a

*

School of Information of the Central University Finance and Economics, Beijing, China 100081

Abstract

The current Internet can only provide “best effort” transport service, so it is becoming a very urgent task how to provide QoS guarantees for growing video on demand, multimedia conferencing and other multimedia applications based on the existing network architecture. This paper proposes a QoS routing algorithm based on mobile agent and ant colony (QR2A). The QR2A algorithm combines various constraints and network load conditions with the ant colony algorithm in the pheromone, while not only meets the QoS requirements, and solve the problem of network load balancing effectively, and the algorithm is less cost. Meanwhile, the paper also gives formal description, correctness and convergence analysis of QR2A algorithm. Finally practical effect of the algorithm is verified through by the simulation experiment.

© 2011 Published by Elsevier Ltd. Selection and/or peer-review under responsibility of Harbin University of Science and Technology

Keywords:QoS, Routing algorithm, Ant Colony Optimization,Agent;

1. Introduction

The current Internet can only provide "best effort" transport service, so it is becoming a very urgent task how to provide QoS guarantees for growing video on demand, multimedia conferencing and other multimedia applications based on the existing network architecture[1-3]. This paper presents a QoS routing algorithm based on mobile agent and ant colony (QR2A). The QR2A algorithm combines various constraints and network load conditions with the ant colony algorithm in the pheromone, while not only meets the QoS requirements, and solve the problem of network load balancing effectively, and the

* Corresponding author. Tel.: +86-10-62288663; fax: +86-10-62288663. E-mail address:caohhu@163.com.

Open access under CC BY-NC-ND license.

(2)

algorithm is less cost. Meanwhile, the paper also gives formal description, correctness and convergence analysis of QR2A algorithm. Finally practical effect of the algorithm is verified through by the simulation experiment.

2. Routing mechanisms in the QR2A algorithm 1) State transition rules

According to pheromone and cost of the links, calculate probability selected value in the node routing table. As

j ∈

J

k(i), the probability that the ants select the path (i, j) is defined as following.

⎪ ⎩ ⎪ ⎨ ⎧ ∉ ∈ − + ⋅ − + ⋅ =

∈ ) ( 0 ) ( ] ) 1 ( [ ) 1 ( ) ( i L j i L j p i L l il il ij ij k ij , , ξ α τ α ξ α τ α (1) Where Jk(i)denotes the set that the k ant can choose in the next step.

) ( t

k ij

p

J

k(i)denotes the

probability that the ants select the path (i, j),

τ

ij(t) denotes the pheromone concentration of path (i, j) at

time t, ηij =1/Cij , Cijdenotes the cost of the path (i, j),α和βthe parameter α and β are used to control the importance of the pheromone and the path length[4,5].

2) Refresh rules of the local pheromone

When the ant (agent) forward each a link, refresh the link pheromone concentration on the rule, if the links meet the QoS constraints, the concentration of pheromone is increased , or pheromones are volatile state, reduce the probability that link is selected by ants later. The rule as following

k k ij ij ij

ρ

τ

τ

ϖ

τ

(

1

1

)

+

Δ

(2) 3) Global pheromone refresh rules

when a ant find a path to meet the QoS constraints and return to the source node successfully, the rule will be used to refresh the pheromone concentrations of the entire path. If overall routing costs of the ant is low, then the pheromone concentration increase of the path of will be greater. The rule as following.

d s k d s d s d s C , , , 2 , (1 ) τ τ ρ τ ← − +Δ (3) 3. The specific process of the QR2A algorithm

If there is a connection request, source node is s, destination node is d, where Bw is the minimum

bandwidth requirement for R, Dw is the delay requirement for R. The agent must meet the following

conditions in the process to explore the path P (N is the set of passing nodes). w N n n P l l D ND LD P Delay =

+

≤ ∈ ∈ ) ( (4) l w P l LB B P Bandwidth = ≥ ∈ { } min ) ( (5) Given that each node in the system performs the same routing algorithm. When a source node s receives a connection request from the destination point d with parametersR

(

Bw,Dw

)

, firstly initialize the pheromone table adjphertable[*] and publicphertable[*] of the network each node with initialization pheromone value. To further improve the speed of the algorithm, the nodes that do not meet the bandwidth constraints of all links are cut off before applying ant colony algorithm at each node, and then the QR2A algorithm will achieve as following steps.

(3)

Step 1 Source node generates K agents, each agent has a unique identifier id, set up and initialize the

agent's time-domain agent.Elapstime = 0, node set domain agent.Tabu = {s}, the destination node identification field agent.destNode = d, hops agent.hopCount = 0.

Step 2 Source node s (we may assume that the time period Δ << Dw) send these agents in turn

periodically. Firstly, select the neighbor with the greatest probability as the next node that agent will move to in the pheromone table of the source nodes, (according to the formula(1)) as the agent moves to the next node. if there are multiple maximum selection probability, in which randomly selected.

Step 3 Let the k agent reaches a node v (assuming its predecessor node is u), if v∈agent.Tabu, the

agent returns to the previous node u, and v node will pop up from agent.Tabu, and calculate and refresh pheromone intensity of link (u, v) by local refresh formula (see formula (2)), set

Δ

τ

uvk

=

0

, in this case, pheromone is volatile state. According to the pheromone table, the agent re-select the next node v ' in the u-point, and turned to the beginning of this step. Otherwise, run the next step.

Step 4 If agent.Elapstime+tk (u, v) ≤Dw, then the pheromone intensity of the link (u, v),t is refreshed by the local refresh formula, and data of the agent related is refresh: agent.Elapstime ← agent.Elapstime +

t

k (u, v ), agent.Tabu ← {agent.Tabu, v}, agent.hopCount ← agent.hopCount +1. Also appropriate resource is reserved on the link (u, v), then run the next step. Otherwise, calculate and refresh pheromone intensity of link (u, v) by local refresh formula (see formula (2)), set

Δ

τ

uvk

=

0

, in this case, pheromone is volatile state. failed identify is set in agent.flag to make the agent return along the same route, and also their own reserved resources are released on passing link, go to the step 8.

Step 5 If v = agent.destNode, go to step 7.Otherwise, run the next step.

Step 6 Take node v as the current node, in accordance with pheromone table, select the next node, go

to step 3.

Step 7 After the K agent arrive destination point d, successful identification is set in agent.flag. At this

time the nodes in the agent.Tabu constitutes the path P to meet the QoS constraints. Then according to records of agent.Tabu, the agent node, back to the source node along the same route, and according to a global refresh formula (3), calculate and refresh pheromone intensity of path P.

Step 8 After agent return to the source node s, if kg ≥ m, and agent.flags are of all return agents are

failure identification in the process, that denotes the network can not meet the QoS constraints of the connection request, connection request is denied. If k ≥ m and there are some return agent with successful identification, then there exists some connection request path that meet the QoS constraints. Comparing all the pheromone concentration of all paths explored, the maximum concentration path will be selected, and the resources reserved on the other path will be release. The connection begins to service for data transmission, and the resources on the link will be release after service end, finally algorithm is end.

4. Correctness and convergence analysis

This following theorem will give correctness and convergence proof of QR2A algorithm. Generality, firstly, gives the abstract network graph G = (V, E), with | V | representing the network of nodes, | E | indicating the number of network links, V and E denote a collection of network nodes and links collection.

Theorem: Considering the network G = (V, E), and meeting the following assumptions based on the above proposed QR2A algorithm.

a) There exists only one path P (s, d) that meets the delay constraints

T

s,don the network G from the

source node s to destination node d.

(4)

c) Assumption is path P (s, d) that the agent k finds at time t. Then following conclusions will be drawn.

(1)

lim

( ) =1x Pf t l

, Where x is a finite positive real number (

lim

( )=1x Pf t l

,That shows the proposed algorithm will be able to find QoS path P (s, d) in the limited time)

(2) Its Convergence time does not exceed maximumO

( )

V 3 .

Proof: First, assume the maximum degree of all nodes in the network is

d

max , the maximum

transmission delay of all the links is

d

max' , the maximum process delay of all the links is . If the correct node n was selected, (node n in the path P (s, d)), then the longest time that agent costs to choose the right link is no more than

d

max +

d

max' . Mathematical induction will be use to prove as following.

(1) When an agent is after H-1 hops, assuming the theorem is correct. Know from the above discussion, the maximum time that agent costs to select the next node for the purpose node does not exceed to D× (

d

max +

d

max' ). That is, when t ≤D×(

d

max +

d

max' ),

P

f

( →

t

)

1

is deduced; and because the next node that agent selects to move is independent another node, so the theorem is correct.

(2) Suppose agent after the H-Z hops (Z only take integer and H ≥ Z ≥ 2), the theorem is true. We will show that agent will find the correct next link in the limited time. In fact, the maximum time that agent cost to find a right link does not exceed (| E |-H + Z) × D × (

d

max +

d

max' ), because the time that agent cost to visit over all neighbor nodes is no more than D × (

d

max +

d

max' ), and the agent chooses node independently. Combining these above two steps, the first part of the theorem is proved.

(3) From the above discussion, it is can be drawn that the worst convergence time of agent is | E | × D × (

d

max +

d

max' ), and the maximum node degree D, the maximum link propagation delay (

d

max + '

max

d ) can be made constant as long as the through the appropriate design and access control.

So

(

'

)

(

)

( )

3

max

max d O E D O V

d D

E × × + ≅ ⋅ ≅ , the theorem is proved.

5. Simulation experiment.

5.1. Experimental Design

Fig.1. Network topology Fig.2. compares with genetic algorithm

A simulation experiment is designed to verify the effectiveness of the proposed algorithm. Simulation is under the aglet mobile agent system environment, with the Java programming language tools in LAN.

Fig.1 is network topology that used in the simulation, composing of 13 nodes, each node represents a network node, denoted by a tuple [node-delay], node-delay denotes delay of nodes; each edge denotes the

(5)

link between network nodes, denoted by triples (ld, lbw, lc), that three elements represent the link delay, link remaining bandwidth and link cost.

5.2. Experimental results and analysis

The experiment is used to verify QR2A algorithm performance and compare with genetic algorithm in performance. The following Fig.2. is performance curve that QR2A compare with genetic algorithm in QoS routing.

From Fig. 2 it can be seen that the cost curve of QR2A algorithm is more smooth than genetic algorithm, and the optimal solution (or near-optimal solution) can be find quickly. Although the jitter delay curve is larger slightly, but the delay is less than the genetic algorithm after smooth. There is Little difference between QR2A algorithm and genetic algorithm in the delay jitter.

6. Conclusion

For providing QoS guarantee over the current network architecture, this paper proposes a new QoS routing algorithm based on ant algorithm and mobile agent(QR2A). In QR2A the state transition rule, the local updating rule for the amount of pheromone and the global updating rule for the amount of pheromone in ant algorithm are extended, which combines ants’ pheromone with the requested QoS constraints and load in network, while mobile agents are also used as ants in QR2A to search paths. QR2A both can gain paths satisfying QoS constraints and can solve effectively load balance in network, moreover its computational cost is lower. This paper not only gives formalization description but also analyses the correctness and convergence about QR2A. Finally some simulation experiments are made to validate the algorithm.

Acknowledgements

This research was supported by the Humanities and Social Sciences Foundation of the Ministry of Education in China under grant No. 11YJCZH006, the National Science Foundation of China under grant No. 60970143, National Social Science Foundation of China under grant No. 09CTQ015, 211 Project for Central University of Finance and Economics (the 3rd phase) and Discipline Construction Foundation of Central University of Finance and Economics.

References

[1] Dorigo M, Maniezzo V, Colorni A. Ant system: Optimization by a colony of coorperating agents. IEEE Transactions on Systems, Man, and Cybernetics-Part B[J], 1996,26(1),PP:29~41.

[2] Marco Dorigoa, Christian Blumb. Ant colony optimization theory: A survey. Theoretical Computer Science[J],Volume 344, Issues 2-3,17, November 2005, PP:243~278.

[3] Debasmita Mukherjee, Sriyankar Acharyya. Ant Colony Optimization Technique Applied in Network.Routing Problem International Journal of Computer Applications [J], 2010,Volume 1,No. 15,PP:66-73.

[4] Dongming Zhao, Liang Luo, Kai Zhang. An improved ant colony optimization for the communication network routing problem. Mathematical and Computer Modelling,Volume 52, Issues 11-12, December 2010,PP:1976-1981.

[5] Deqiang Cheng, Yangyang Xun, Ting Zhou,Wenjie Li. An Energy Aware Ant Colony Algorithm for the Routing of Wireless Sensor Networks. Intelligent Computing and Information Science Communications in Computer and Information Science[J], 2011, Volume 134, PP:395-401.

References

Related documents

He presented a paper at ICCF21 with the title “Coupled Calorimetry and Resistivity Measurements, in Conjunction with an Amended and More Complete Phase Diagram of the

The effect of the coarsening of the grid has been compared with fine grid and the results are visualized in the form of different grid figure, further coarsened grid refined on

The results presented in this paper of cost comparison for all three technologies at different waste water treated are shown in Graph no 1, Cost comparison of all

The discussion below against the background of the principle of self-denial focuses on an analysis of John Calvin’s views and its meaning for the faithful in terms of calling and

Chemical Composition of Microcline from the Kingman, Rare Metals and Wagon Bow Pegmatites continued ...138... Chemical Composition of Plagioclase from the Kingman,

Contraceptive use, prevalence and predictors of pregnancy planning among female sex workers in Uganda a cross sectional study RESEARCH ARTICLE Open Access Contraceptive use, prevalence

BioMed CentralBMC Proceedings ss Open AcceProceedings Sex, age and generation effects on genome wide linkage analysis of gene expression in transformed lymphoblasts Jagadish Rangrej1,

daß dieser Kern sich als Produkt eines exponentiell abfallenden Faktors, der einen gewis- sen Agmon-Abstand enth¨ alt, und einer Amplitude, die eine vollst¨ andige