TUDelft Knowledge Based Systems Group Zuidplantsoen 4 2628 BZ Delft, The Netherlands Roland van der Put Léon Rothkrantz Routing in packet switched networks.

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

Mobile Ad-hoc Network Simulator: mobile AntNet R. Hekmat * (CACTUS TermiNet - TU Delft/EWI/NAS) and Radovan Milosevic (MSc student) Mobile Ad-hoc networks.
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
Data and Computer Communications
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
Jaringan Komputer Lanjut Packet Switching Network.
An Energy Efficient Routing Protocol for Cluster-Based Wireless Sensor Networks Using Ant Colony Optimization Ali-Asghar Salehpour, Babak Mirmobin, Ali.
Data and Computer Communications Ninth Edition by William Stallings Chapter 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth.
Ant Colony Optimization. Brief introduction to ACO Ant colony optimization = ACO. Ants are capable of remarkably efficient discovery of short paths during.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Routing Strategies Fixed Routing
An Analysis of the Optimum Node Density for Ad hoc Mobile Networks Elizabeth M. Royer, P. Michael Melliar-Smith and Louise E. Moser Presented by Aki Happonen.
EE 4272Spring, 2003 Chapter 10 Packet Switching Packet Switching Principles  Switching Techniques  Packet Size  Comparison of Circuit Switching & Packet.
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Mobile Agents for Adaptive Routing Presented by Hong-Jiun Chen & Manu Prasanna Gianni Di Caro & Marco Dorigo.
Computer Networks The Data Link / Network Layer Functions: Routing
Data Communications Packet Switching.
CMPT 401 Summer 2007 Dr. Alexandra Fedorova Lecture XVII: Distributed Systems Algorithms Inspired by Biology.
Improving Robustness in Distributed Systems Jeremy Russell Software Engineering Honours Project.
Teknik Routing Pertemuan 20 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Investigation of antnet routing algorithm by employing multiple ant colonies for packet switched networks to overcome the stagnation problem Firat Tekiner.
Ant Colonies As Logistic Processes Optimizers
Ants-based Routing Marc Heissenbüttel University of Berne
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
IP layer restoration and network planning based on virtual protection cycles 2000 IEEE Journal on Selected Areas in Communications Reporter: Jyun-Yong.
Ant Colony Optimization Optimisation Methods. Overview.
CMPT Dr. Alexandra Fedorova Lecture XVII: Distributed Systems Algorithms Inspired by Biology.
Packet Switching EE3900 Data Communications and LANs Packet Switching Slide 1.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Swarm Intelligent Networking Martin Roth Cornell University Wednesday, April 23, 2003.
Algorithms for Self-Organization and Adaptive Service Placement in Dynamic Distributed Systems Artur Andrzejak, Sven Graupner,Vadim Kotov, Holger Trinks.
Data Communications and Networking
Chapter 13: WAN Technologies and Routing 1. LAN vs. WAN 2. Packet switch 3. Forming a WAN 4. Addressing in WAN 5. Routing in WAN 6. Modeling WAN using.
Data Communications & Computer Networks
Distributed Quality-of-Service Routing of Best Constrained Shortest Paths. Abdelhamid MELLOUK, Said HOCEINI, Farid BAGUENINE, Mustapha CHEURFA Computers.
Mobile IP Performance Issues in Practice. Introduction What is Mobile IP? –Mobile IP is a technology that allows a "mobile node" (MN) to change its point.
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS 2007 (TPDS 2007)
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Chapter 12 Routing in Switched Networks. Routing in Packet Switched Network  key design issue for (packet) switched networks  select route across network.
Mediamatics / Knowledge based systems Dynamic vehicle routing using Ant Based Control Ronald Kroon Leon Rothkrantz Delft University of Technology October.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
Multicast Routing Algorithms n Multicast routing n Flooding and Spanning Tree n Forward Shortest Path algorithm n Reversed Path Forwarding (RPF) algorithms.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Computer Networks with Internet Technology William Stallings
CSCI 465 D ata Communications and Networks Lecture 15 Martin van Bommel CSCI 465 Data Communications & Networks 1.
The Network Layer.
Multiplexing FDM & TDM. Multiplexing When two communicating nodes are connected through a media, it generally happens that bandwidth of media is several.
Data Communications and Networking Chapter 11 Routing in Switched Networks References: Book Chapters 12.1, 12.3 Data and Computer Communications, 8th edition.
InterConnection Network Topologies to Minimize graph diameter: Low Diameter Regular graphs and Physical Wire Length Constrained networks Nilesh Choudhury.
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
William Stallings Data and Computer Communications 7th Edition
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
GridNets 2006 – October 1 st Grid Resource Management by means of Ant Colony Optimization Gustavo Sousa Pavani and Helio Waldman Optical Networking Laboratory.
The Ant System Optimization by a colony of cooperating agents.
M ulti m edia c omputing laboratory Biologically Inspired Cooperative Routing for Wireless Mobile Sensor Networks S. S. Iyengar, Hsiao-Chun Wu, N. Balakrishnan,
Biologically Inspired Computation Ant Colony Optimisation.
A Bandwidth Scheduling Algorithm Based on Minimum Interference Traffic in Mesh Mode Xu-Yajing, Li-ZhiTao, Zhong-XiuFang and Xu-HuiMin International Conference.
Using Ant Agents to Combine Reactive and Proactive strategies for Routing in Mobile Ad Hoc Networks Fredrick Ducatelle, Gianni di caro, and Luca Maria.
Distance Vector Routing
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
William Stallings Data and Computer Communications
Introduction to Wireless Sensor Networks
Lecture XVII: Distributed Systems Algorithms Inspired by Biology
Firat Tekiner (Phd Student) Z. Ghassemlooy
Data and Computer Communications
PRESENTATION COMPUTER NETWORKS
   Storage Space Allocation at Marine Container Terminals Using Ant-based Control by Omor Sharif and Nathan Huynh Session 677: Innovations in intermodal.
Presentation transcript:

TUDelft Knowledge Based Systems Group Zuidplantsoen BZ Delft, The Netherlands Roland van der Put Léon Rothkrantz Routing in packet switched networks using agents

TUDelft

TUDelft 3 Circuit Switching Versus Packet Switching Networks  Circuit Switching Networks On request a route from source to destination is initialized according to the routing tables in the network switching centers (or nodes) and a fixed number of resources is allocated for some time  Packet Switching Networks A message is sent as a packet from one node to another, no fixed connection is made between source and destination

TUDelft 4 Applications of Artificial Life  The symmetric and asymmetric travelling salesman problems.  The sequential ordering problems.  Quadratic assignment problems.  Vehicle routing problems.  Scheduling problems.  Graph colouring problems.  Partitioning problems.  Real functions optimisation problems

TUDelft 5 Adaptive and Non-adaptive Routing  Adaptive Routing The routes adapt automatically to changes in network load and network failures  Non-adaptive Routing Routing decisions are made off-line and downloaded to the switching nodes of the network

TUDelft 6 Centralised and Decentralised Routing  Centralised Routing There is a central controller in the network. The network nodes send periodically information about their states to the controller. According to this information the controller calculates better routes from every node to every other node in the network and sends the resulting routing tables to the nodes.  Decentralised Routing Instead of one very complex program there may consist simple interacting entities.

TUDelft 7 The Network Model  The network model used is a graph of n nodes, each of which has several attributes: –a node identifier –a capacity; this is the number of simultaneous calls that the node can handle –a routing table with ( n -1) entries, one for each node in the network. Each entry tells us which is the next node on the route to the destination node concerned –a probability of being the end node (either source or destination) of a call –a spare capacity. This is the percentage of the capacity that is still available on the node

TUDelft 8 Local Control Versus Global Control  Local knowledge and behaviour on micro level results in behaviour ( and knowledge ? ) on meso-, macro level  Global supervision and local behaviour

TUDelft 9 Finding the Shortest Route  Trail laying by ants  Sensing pheromones  Probability of choice of route depends on concentration of pheromones and on random choice  Local interaction of ants results in higher level behaviour

TUDelft 10 Pheromone Trails and Probability Tables At every node a packet is directed to the route with the highest probability

TUDelft 11 Basic Principles for Ant- based Control Systems  Ants are regularly launched with random destination on every part of the system  Ants walks randomly according to probabilities in pheromone tables for their particular destination  Ants update the probabilities in the pheromone table for the location they were launched from, by increasing the probability of selection of their previous location by subsequent ants  The increase in these probabilities is a decreasing function of the age of the ant, and of the original probability

TUDelft 12 Basic Principles for Ant- based Control Systems (continued)  This probability increase could also be a function of penalties or rewards the ant has gathered on its way  The ants get delayed on parts of the system that are heavily used  The ants could eventually be penalised or rewarded as a function of local system utilisation  To avoid overtraining through freezing of pheromone trails, some noise can be added to the behaviour of the ants

TUDelft 13 Parameters of Ant-based Control Systems  The speed of the ants  The times at which ants get launched  The probabilities are updated with decreasing function of age  The delay in time steps is given to the ant is an increasing function of the spare capacity s of the node

TUDelft 14 Circuit and Packet Switched Networks and Algorithm  Circuit Network –Cost function is spare capacity in nodes –Backward agent algorithm is implemented  Packet Switched Network –Cost function is the trip time –Adapted backward agent algorithm is implemented –Forward/backward agent algorithm is implemented

TUDelft 15 Forward and Backward Algorithm  At regular intervals, from every network node s, a forward agent is launched with a random destination d:F sd. This agent has a memory that is updated with a new information at every node k that it visits. The identifier k of the visited node and the time elapsed since its launch time to arrive at this node k is added to the memory. This results in a list of (k, t k )-pairs in the memory of the agent.  Each traveling agent selects the link to the next node using the probabilities in the probability table. Next nodes that have already been visited by this agent are filtered out in the agents copy and the new, temporary probability distribution is normalised to 1. Only this agent uses this new, temporary probability distribution. The probability table in this node is updated.  If an agent is forced to return in an already visited node, the agent backtracks to the previous node. The duration of this cycle is subtracted from the trip times calculated after this cycle

TUDelft 16 Forward and Backward Algorithm (continued)  When the destination node d is reached, the agent F sd generates a backward agent: B ds. The forward agent transfers all its memory to the backward agent and then it will destroy itself. During the transfer of the memory, all cycles in the agent’s path are filtered out.  The backward agent travels from the destination node d to the source node s along the same path as the forward agent, but in the opposite direction. It uses its memory to know the path, so it does not use the probability table.  The backward agent (with previous node f) updates the probability table in the current node k. The probability p df associated with node f and destination node is d is incremented and the probabilities p dx associated with other next nodes x for the same destination node d are decremented.

TUDelft 17 Path of Forward and Backward Agents  Choice of route of packets depends on probability tables  Agents are launched at each node at every time step with a random destination node  Forward agents collect the data  Backward agents update corresponding probability tables in the associated direction  The algorithm uses the trip times as a cost function instead of spare capacity in nodes

TUDelft 18 Flow Chart of the Agent Algorithm

TUDelft 19 Updating the Probability Tabels P new,f - the new probability P old,f - the old probability  P - the (probability) increase

TUDelft 20 Shortest paths  The agents will bias towards the shortest (least expensive) paths because of the following three reasons: –shorter routes will be completed earlier than longer routes and thus attract other agents to their source nodes first –shorter routes involve fewer branches, so the number of agents will be larger than on longer routes with more branches –agents traveling shorter routes will be younger when they arrive. They will therefore influence the probability tables more than the older agents that traveled a longer route do

TUDelft 21 Asymmetrical networks  A network is called asymmetrical when one or more links have a different capacity from A to B than from B to A  With the forward/backward agent algorithm, the average age of agents remains about constant.  With the classical agent algorithm there is an increasing average age of agents

TUDelft 22 Workbench and Simulation of Ant Behaviour

TUDelft 23 Network Topology  The nodes know about each other by means of algorithm that broadcasts information about a node to its neighbouring nodes. The nodes receiving this information broadcast it to their neighbouring nodes and so on. A node does not broadcast information if it receives the information for the second time to prevent duplicates. After a few steps with this algorithm, all nodes in the network know about each other and the algorithm terminates.  Each time a node is added or removed from network, a new broadcast is started. This broadcast sends the information about the addition or removal of a node to all other nodes in the network. This allows for dynamic changes in the network topology.

TUDelft 24 Detailed Node Information

TUDelft 25 Parameters and Statistics  Number of agents in the network.  Number of packets in the network.  Average age of agents.  Average age of packets.  Network throughput.  Number of arrived packets.  Number of packets lost.

TUDelft 26

TUDelft 27

TUDelft 28 Conclusions  The forward/backward agent algorithm proved to be very robust and efficient algorithm for routing in packet switched network  The forward/backward agent algorithm performed better then the backward agent algorithm  The forward/backward agent algorithm is capable of handling asymmetrical networks  The forward/backward agent algorithm respond quickly to changes in the topology of the network

TUDelft 29 Future Work  Improvements of the forward/backward agent algorithm –the agent will have a penalty related to the amount of buffer space in a visited node –the packets choose the nodes with the highest or the second highest probability –to balance the load more equally the algorithm could apply a threshold probability and choose one of the next node with a probability above this threshold

TUDelft 30 Semantic Network; Directed Graph Menu 1Menu 2Menu 3 cheesesalamitomatospicyonionsmallmediumlarge

TUDelft 31 Frames