Analysis of interworking functions in heterogeneous networks
Full text
Chair of Communication Networks Aachen University of Technology Prof. Dr.-Ing. B. Walke Diploma Thesis Analysis of Interworking Functions for Heterogeneous Networks of María Rosa Frías González Matriculation Number: 286398 Aachen, April 15, 2009 Supervised by: Prof. Dr.-Ing. B. Walke Dipl.-Ing. Ralf Jennen This publication is meant for internal use only. All rights reserved. No liabilities with respect to its content are accepted. No part of it may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher.
I assure, that this work has been done solely by me without any further help from others except for the offical attendance by the Chair of Communication Networks. The literature used is listed completely in the bibliography. Aachen, April 15, 2009 (María Rosa Frías González)
ABSTRACT Future cellular radio networks will enable mobile terminals to communicate in environments populated by a multitude of devices, technologies and business actors using several radio interfaces. In this environment, one important task is to develop common control functions for elements in such networks. One of today’s challenges is to provide service continuity in those highly heterogeneous networks. The service continuity can be measured in terms of a satisfied user criteria, which consists e.g. of the perceived end to end data packet delay, i.e. transport layer packet delay. The IEEE 802.21 standard focuses on the support of media independent handover for a broad range of technologies, but with strong emphasis on 802 technologies. The Framework Programme (FP)7 European Project OMEGA investigates the performance of home networks, which consist of technologies like Wireless Local Area Networks (WLAN), Hybrid Wireless Optics (HWO) or Power Line Communications (PLC). The aim of this work is to investigate in the context of the OMEGA project, which functions of the IEEE 802.21 standard are needed in order to co-operate in heterogeneous home networks. Subsequently, their performance in terms of QoS evaluation are developed. One of the most important functions is the path selection since it establishes the flow between source and destination and simultaneously, deals with the reservation of resources. In this work an approach for the identification and selection of possible paths using signal flow graphs analytically has been evaluated. The scheme is based on ad hoc networks and the proposed algorithm is Bandwidth Guaranteed Source Routing (BGSR). The analysis provides information about the required delay in the selection and helps to evaluate the influence of the route selection in the uninterrupted provision of service. Another concept to be considered is the path re-selection mechanism. A comparative analysis of centralized and decentralized solutions is developed using SFGs as well and basing the evaluation on the latency of both mechanisms.
KURZFASSUNG Zukünftige Mobilfunknetze ermöglichen es mobilen Endgeräten mit unterschiedlichen Netzen zu kommunizieren. Dabei kann das Endgerät aus einer Vielzahl von verfügbaren Technologien und Netzbetreibern auswählen. Die Kommunikationsnetze müssen hierzu geeignete Kontrollmöglichkeiten zur Verfügung stellen. Eine der größten Herausforderungen ist es, dass den Nutzern unterbrechungsfreie Dienste angeboten werden, während sich das Terminal in einer heterogenen Umgebung bewegt. Dienstspezifische Dienstgüteparameter geben Information darüber, wann ein Dienst eine Unterbrechung als solche wahrnehmen würde. Daher müssen Dienstgüteparameter wie z.B. Paketverzögerung und Durchsatz betrachtet werden. Das Satisfied User Criteria gibt Auskunft darüber, wie zufrieden ein Nutzer während der Diensterbringung ist. Der IEEE 802.21 Media Independent Handover Standard bietet ein Rahmenwerk zur Durchführung von vertikalen und horizontalen Handovern mit einer starken Betonung auf 802 Technologien, bietet jedoch auch Unterstützung für andere zellulare Mobilfunksysteme. Das OMEGA Projekt ist ein Projekt im siebten Rahmenprogramm der Europäischen Union und untersucht die Leistungsfähigkeit von heterogenen, vermaschten Heimnetzen. Dort werden verschiedene Technologien betrachtet, u.a. Wireless Local Area Network (WLAN), Hybrid Wireless Optics (HWO) und Power Line Communications (PLC). Ziel dieser Arbeit ist es, im Kontext des OMEGA Projektes zu untersuchen, welche über die im IEEE 802.21 Standard hinausgehenden Funktionen zur Zusammenarbeit in heterogenen Heimnetzen benötigt werden. Anschließend wird ihre Leistungsfähigkeit hinsichtlich der unterstützten Dienstgüte bewertet. Eine wesentliche Funktionalität ist die Auswahl eines geeigneten Weges zwischen Datenquelle und -senke (Path Selection). Zu diesem Zweck wurde in dieser Arbeit ein Konzept zur Ermittlung und Auswahl von möglichen Pfaden erstellt und mit Hilfe von Signalflussgraphen analytisch bewertet. Das Konzept beruht auf dem von ad hoc Netzen bekannten Bandwidth Guaranteed Source Routing (BGSR) Verfahren. Die Analyse gibt Auskunft darüber, wieviel Zeit die Pfadermittlung und -auswahl benötigt und hilft abzuschätzen, welchen Einfluss die Wegewahl auf die unterbrechungsfreie Diensterbringung hat. Darüber hinaus wird betrachtet, welche Auswirkungen eine zentrale oder dezentrale Wegewahl auf die Diensterbringung besitzt. Dazu werden die beiden Verfahren mit Hilfe von Signalflussgraphen miteinander bezüglich ihrer Signalisierverzögerung verglichen.
CONTENTS Abstract 1 Kurzfassung 2 1 Introduction 5 1.1 Motivation..................................... 5 1.2 ProblemDescription ............................... 6 1.3 SystemConcept.................................. 6 1.3.1 SystemIdea................................ 6 1.3.2 Goals and Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4 Structure ..................................... 7 2 Heterogeneous Home Networks 9 2.1 Overview ..................................... 9 2.2 IEEE 802.21 Media Independent Handover Standard . . . . . . . . . . . . . 10 2.2.1 Overview ................................. 10 2.2.2 802.21Services .............................. 10 2.2.2.1 802.21 Event Service . . . . . . . . . . . . . . . . . . . . . . 10 2.2.2.2 802.21 Command Service . . . . . . . . . . . . . . . . . . . 11 2.2.3 802.21 Network Architecture . . . . . . . . . . . . . . . . . . . . . . 12 2.3 FP7 European Project OMEGA . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3.1 Projectgoal................................ 12 2.3.2 Background................................ 13 2.3.3 Technical approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.3.4 Expectedimpact ............................. 14 3 Convergence Layer and Interworking Functions 15 3.1 Overview ..................................... 15 3.2 Convergence Layer (InterMAC) . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 Use cases of Interworking Functions . . . . . . . . . . . . . . . . . . . . . . . 16 3.3.1 PathScheduling ............................. 17 3.3.2 Loadbalancing.............................. 17 3.3.3 QoS classification and marking . . . . . . . . . . . . . . . . . . . . . 18 3.3.4 Roaming to other home networks . . . . . . . . . . . . . . . . . . . . 19 3.3.5 Admissioncontrol ............................ 19 3.4 Pathselector ................................... 20 3.4.1 Initial assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.2 Bandwidth Guarantee Source Routing Algorithm . . . . . . . . . . . 21 3.4.3 Path selection model . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.4.4 Modes of operation for path re-selection: centralized and decentralized 25
4Contents 4 The Analytical Model 27 4.1 Overview ..................................... 27 4.2 Scenarioofanalysis................................ 27 4.3 Signal Flow Graph Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.4 Delay Generation Function . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.5 Resultsofanalysis ................................ 32 4.6 Comparison between centralized and local repair path re-selection . . . . . . 36 5 Conclusions and Outlook 41 5.1 Theses....................................... 41 5.2 Summary ..................................... 41 5.3 Outlook ...................................... 42 List of Figures 45 List of Tables 47 List of Abbreviations 49 Bibliography 51
CHAPTER 1 Introduction 1.1 Motivation Nowadays, Wireless Access Networks are widely spread and in a constant development basing on the standards of Wireless Fidelity (WiFi), Worlwide Interoperability for Microwave Access (WiMAX) and 3rd Generation Partnership Project (3GPP). After analyzing benefits of 3G and WLAN, it can be observed that combination of both of them will produce a network with competent features to satisfy users’ needs. A continuous connectivity everywhere and at anytime is becoming one of the required aims within heterogeneous networks. Non heterogeneous networks like GSM or GPRS have already good coverage, however there may be better alternatives available depending on the users’ requirements, e.g. higher data rate than available with GPRS needed. For users it is very attractive to have ubiquitous Internet connections especially while on the move. In order to achieve this goal, the deployment of intelligent protocols able to allow transparent handovers between several networks is required. AP WLAN BS 3GPP WiMAX Internet AP WLAN BS 3GPP WiMAX Mobile Node Home Network Figure 1.1: Heterogeneous Network. In many cases, a mobile device is capable to support more than one access network technology and it is also possible to have areas where more than one access technology is available, for instance WLAN Access Point, WiMAX and 3GPP network (see Figure 1.1). The ideal situation is to detect all these access networks around the user, being able to identify the best one taking into account QoS criteria in order to avoid the loss of information. Transparent connectivity requires mobility and compatibility in horizontal and vertical handovers. Heterogeneous one considers the handover between different networks like
61. Introduction WLAN, WiMAX and cellular networks and homogeneous includes handover between PoA (Points of Attachment) like AP (Access Points) in the same WLAN or between BS (Base Stations) WiMAX within the same network. 1.2 Problem Description This work specially focuses on analysing heterogeneous home networks using multiple access technologies, while the connection must continue working. The IEEE 802.21 standard describes the support of media independent handover technologies, but it emphasizes on 802 technologies. The FP7 European Project OMEGA is doing research into home networks like WLAN, HWO or PLC. The challenge is to analyze the interworking functions in heterogeneous home networks, assuming a mobile user equipped with multiple transceivers for different wireless technology standards. Once defined the scenario, it will be possible to evaluate some QoS parameters through the mathematical tool Matlab. Some of the analyzed parameters are: packet delay, jitter, throughput and interruption time of multimedia sessions. After the analysis of QoS criteria, it is possible to determine the level of satisfaction of the user, which is the desired concept since this work focuses on the SUC (Satisfied User Criteria). 1.3 System Concept 1.3.1 System Idea The system consists of a mobile terminal able to connect to different (radio) access technologies. Example of multi-RAT digital home application Office Bedroom WiMax WiMax Wi-Fi BlueTooth W-USB •Extended coverage without additional cabling Bedroom Living Room •Hi g h throu g hput applications •Enables rapid deployment with lower-cost backhaul •Eas y to p rovide covera g e in hard-to-wire areas 6 © 2007 InterDigital Communications Corporation. All rights reserved. yp g •Self-healing, resilient, extensible Figure 1.2: System Idea. [1] Figure 1.2 shows a typical apartment with different devices and wireless technologies which allow the users to communicate with their family reducing any sense of isolation they may have. The present work deals with the analysis of scenarios like this. 1.3.2 Goals and Requirements The development of suitable common control functions in heterogeneous networks has to be carried out. Once defined these functions, some of them will be modelled using SFGs
1.4. Structure 7 and the quantitative analysis of the SUC of users will be done by means of analytical calculations with Matlab. 1.4 Structure The work is subdivided as follows: Chapter 1 describes the topic, the motivation and the problem description. It ends with a description of the goals and requirements of this work. Chapter 2 provides information in order to understand the problem in heterogeneous networks. It starts examining current state of the art IEEE 802.21 standard, afterwards it describes the work of the FP7 European Project OMEGA. Chapter 3 gives a description of the Convergence Layer. Some Interworking Functions are described by means of use cases and finally, the Path Selector, which will be analysed, is presented in detail. Chapter 4 contains the development of the analysis of the Path Selector. The Bandwidth Guarantee Source Routing Algorithm is presented, next the signal flow graphs and the delay generation functions for its analysis are shown. The chapter ends with the analysis of a complete scenario and its subsequent evaluation. Also, an analytical comparison between centralized and decentralized path re-selection is included. Chapter 5 concludes this work and shows a summary. It ends with an outlook for possible future work.
14 2. Heterogeneous Home Networks Project goal The OMEGA project will set a global standard for ultra broadband home area networks. The new standard will enable transmission speeds of one gigabit per second (1 Gbps) via heterogeneous communication technologies, including power line communications and wireless connections. Thus, OMEGA aims to make home area networks as easy to use as electricity from the socket, putting an end to the coverage limitations as well as the wiring clutter in the home. With OMEGA’s gigabit home network, users will get easy access to high-bandwidth information and communication services such as telepresence, 3D gaming, enhanced interactivity, virtual reality, highdefi nition video as well as e-health applications and services for the exchange of user-generated business or multimedia content. within the home. Extending access into the home and to individual devices is the only way to ensure the success of the future Internet. Future home area networks must enrich the lives of users, for example by allowing visual communications with their friends or relatives and by enabling interactive experiences through entertainment. Furthermore, home networks should also support citizens in maintaining their independence as they age, for example by offering remote healthcare and by allowing them to communicate with their family to reduce any sense of isolation they may have. In short, users must have the ability to control their virtual as well as their physical environment via home networks. Users will require such networks to be simple to install, without any new wiring, and easy enough to use so that information services running on the home area network will be just another utility, like electricity, water, and gas. Background Home networks at gigabit speed are a pivotal technology for realising the EU’s vision of the future Internet. The demand for gigabit home networks is driven by the emerging future Internet services running over new high-speed optical access networks and the rapidly growing number of communicating devices in the home. Current home networks suffer from the fact that many devices are limited to gross transmission rates of 54 megabit per second in case of wireless links, or require troublesome wiring to achieve higher rates. Thus, current home networks are at risk of becoming a bottleneck, when fed by high-speed optical access networks, which offer 100 megabit per second or more, both down- and upstream. The future Internet will offer extremely high bandwidth in core and access networks. Home area networks play a key role in realising the benefi ts of this high bandwidth and making it tangible for the users by providing critical access to this infrastructure for end devices Offi ce Bedroom Lounge Bridge Indoor Wireless Optics and/or Radio PLC* or Radio * Power Line Communications ADSL – Asymmetric Digital Subscriber Line FTTH – Fiber To The Home RLL – Radio in the Local Loop Mesh Radio Home Home Gateway Home Gateway Figure 2.4: OMEGA Network. [5] 2.3.4 Expected impact The OMEGA project will provide contributions to standards, especially in the fields of convergence layer, power line wireless optic communications. The aim is to advance standards to a level that allows the interconnection of all home devices within a gigabit home network. OMEGA will demonstrate a proof of concept ultra-broadband home area network on the scale of one apartment and will evaluate roll-out scenarios based on actual services. The results of the project should enable and encourage the development of new advanced integrated services to the benefit of Europe’s ICT industry and economy. The adoption of OMEGA’s results will give all citizens, independently of their technical knowledge, the opportunity to access advanced information and communication services that will enrich their lives at gigabit-speed. This will be particularly relevant for the growing number of elderly people, who will get easy access to services like, for instance, telemedicine and telepresence.
CHAPTER 3 Convergence Layer and Interworking Functions 3.1 Overview A multimode mobile has access to different technologies which differ in data rates, modulation schemes and security parameters. If a mobile device is capable of using multiple DLLs, monitoring and control of functionality are required. With this purpose, the OMEGA project aims to enable the cooperation of communication technologies by developing an InterMAC convergence layer between the different DLLs and the upper layers. After the definition of the InterMAC layer, this chapter shows several Interworking Functions, necessary in order to communicate the InterMAC layers of different devices in heterogeneous networks. Section 3.4 focuses on one of those IWF (path selection) and presents its description. 3.2 Convergence Layer (InterMAC) The InterMAC is the layer that contains adaptation functions both, for data transport and control purposes. It has two main functions: adapting service request from higher layers to the service offered by the Data Link Control and to convert the higher layer packets (PDUs) with variable or possibly fixed size into a fixed size that is used within the DLL. The InterMAC serves as a convergence layer of several link layer technologies for the network layer (IP) as seen in Figure 3.1. In the best case, the user has not more to do than to plug in and/or power on a device. MIH Function Upper Layers (IP, Mobile IP, SIP…) Tech1 Tech2 Tech3 InterMAC Layer Higher layers Adapter 1 Adapter 3Adapter 2 InterMAC Layer Higher layers Tech1 Tech2 Tech3 Adapter 1 Adapter 2 Adapter 3 IWF Event Service Command Service Information Service Lower Layers (802.11, 802.16, 3GPP…) Event Service Command Service Information Service Application Layer Middleware Layer Network Layer InterMAC Layer OPTICAL WIRELESS MAC LAYER RADIO MAC LAYER POWER LINE MAC LAYER N MAC LAYER OW ADAPTER RADIO ADAPTER PLC ADAPTER N ADAPTER OMEGA device Figure 3.1: InterMAC Layer. It is possible to distinguish between several planes:
16 3. Convergence Layer and Interworking Functions •User plane includes functions for transmission of traffic over established connections. •Control plane includes functions for the control of connection establishment, release, and supervision. •Management plane includes functions of: –Configuration: specifying the management of physical resources and how they are included into the configured network. –Accounting: dealing with charging and maintenance costs. –Performance: this function must ensure that the network is tuned to meet its performance requirements in terms of user perceived QoS. –Fault: this function should aid the planning of future network facilities and enhancements. –Security: these functions control access to the network facilities and network management entities. 3.3 Use cases of Interworking Functions In order to communicate the InterMAC layers of OMEGA devices, Interworking Functions are necessary (see 3.2). These functions include QoS support for diverse multimedia applications like video-on-demand or live streaming, online gaming, web browsing, and file exchange. Each of those applications put constraints on the capabilities of the network in terms of acceptable delay, jitter, and throughput. In some cases, the behavior of the network may change due to additional activation of applications, network devices or other non-network devices in the home, e.g. microwave ovens. A smart network would react to those network changes and would try its best to continue the service provisioning as long as possible according to desired QoS policy. For that reason a set of control functions within the network is necessary to allow making changes to the network state. MIH Function Upper Layers (IP, Mobile IP, SIP…) Tech1 Tech2 Tech3 InterMAC Layer Higher layers Adapter 1 Adapter 3Adapter 2 InterMAC Layer Higher layers Tech1 Tech2 Tech3 Adapter 1 Adapter 2 Adapter 3 IWF Event Service Command Service Information Service Lower Layers (802.11, 802.16, 3GPP…) Event Service Command Service Information Service Figure 3.2: Interworking Functions. This section contains the description of some IWF by means of use cases. Use cases are often used in systems engineering as a technique of description due to they overview the functional requirements for a system. Some of its features are mentioned next: •Visualize the idea of the system with the help of a use case diagram.
3.3. Use cases of Interworking Functions 17 •Identify start and end of the use case with the help of triggers and results of the use case. •Create an essential description for each use case. Define the triggers, pre-conditions, and incoming information as well as the results, post-conditions, and outgoing information for each use case. •List of actors, triggers and results. Use cases can be grouped according to the well known architecture of telecommunication networks. Those networks usually consist of a user plane, control plane, and management plane, as it can be noticed in the Figure 3.3. Use cases within the control plane may interact with use cases within the OMEGA management plane. 9Mª Rosa Frías, ComNets, RWTH Aachen University Use Cases Use Cases InterMAC InterMAC Core Use Case <<include>> Use Case OMEGA Management Plane InterMAC User Plane InterMAC Control Plane Use Case Use Case Use Case Figure 3.3: Architecture of Use Cases. A use case defines user needs and behaviours that are not likely to change over time. Focusing on OMEGA networks, a use case is defined by some actors, usually represented by family members and there are non-functional requirements like home settings including floor plans of the house and devices in it. Inside a use case, several situations can be developed, each one covered by a single usage scenario sharing the same constraints (house dimensions, actors and devices) imposed by the use case. Next subsections show different IWF described by means of use cases. It should be noted that next IWF are focused on control and user planes. 3.3.1 Path Scheduling Different flows of data arrive at the user plane and each of them has to be scheduled along the best combination of paths depending on its QoS requirements. The scheduler determines which resources to use depending on the descriptors of class of traffic. 3.3.2 Load balancing When the path from a specific source to a destination is not available, an alternative path is the best option. Most of these paths selection deal with the residual bandwidth as a
18 3. Convergence Layer and Interworking Functions Table 3.1: Path Scheduling Name of the Use Case Path Scheduling Actors Higher layer in the user plane (Data source) Triggers Data arrives at the user plane of the InterMAC Results The best combination of paths is chosen according the class of incoming traffic Pre-conditions There is more than one path between the source and the destination Post-conditions Data is transmitted along the most suitable path depending on QoS Incoming information - Sender Layer 3 - Receiver Layer 3 Address - Descriptor of class of traffic Outcoming information The best combination of paths to reach the endpoint performance metric. With this function, it is possible to balance the load along links in the network choosing an alternative less utilized path. This is a function which can be understood within the interworking function of path scheduling. Table 3.2: Load Balancing Name of the Use Case Load balancing Actors Higher layer in the control plane (Data source) Triggers A link is close to overload Results The overloaded link supports less data than before. The load is balanced between the rest of the links Pre-conditions Some link is overloaded Post-conditions The load is balanced between several links Incoming information Initial load of the links Outcoming information The best combination of paths to reach the endpoint 3.3.3 QoS classification and marking Classification and marking is a system of identifying packets assigning certain parameters within the packet headers in order to group them. Once the traffic is identified, it can be marked or ’coloured’ into groups so that QoS policies can be applied to them. An end-to-end QoS model requires the ability to mark a traffic stream into one of a group of classifications. Each classification incorporates a QoS service level.
3.3. Use cases of Interworking Functions 19 Table 3.3: QoS classification marking Name of the Use Case QoS classification marking Actors Higher layer in the control plane (Data source) Triggers Data arrives at the user plane of the InterMAC Results Packets are marked according their priority (SLA) Pre-conditions Packets Parameters of QoS of data Post-conditions Packets arrive at the destination guaranteing QoS (according to to their priority) Incoming information Data.QoS parameters: priority of the traffic Outcoming information Packets are marked according QoS 3.3.4 Roaming to other home networks When a mobile device is transferred via handover to another HN, the roaming process is required. The new network has to identify which HN belongs to and checking if a roaming agreement between both exists. If it exists, the visited network has to maintain a temporary subscriber record for the device. Table 3.4 shows the use case. Table 3.4: Roaming to other home network Name of the Use Case Roaming to other home network Actors Higher layer in the control plane Triggers The home network has to be changed due to a new location of the device Results Connection to other home network Pre-conditions Device trying to connect to another home network Post-conditions The new home network has to maintain a temporary subscriber record for the device Incoming information - Identifier - Message of request Outcoming information •If the new home network identifies the device and lets the connection: - Internal temporary address to the device •Otherwise: - Rejection to the request 3.3.5 Admission control The admission control checks if it is possible to establish a path between source and destination with the requested QoS. If it is possible, the new connection can access to the network; otherwise, the request is rejected. Use case is described in 3.5
20 3. Convergence Layer and Interworking Functions Table 3.5: Admission control Name of the Use Case Admission control Actors Higher layer in the control plane (Data source) Triggers A new connection wishes to use the network Results Acceptance or rejection of the request Pre-conditions An application requests a connection Post-conditions The network accepts or rejects the connection Incoming information - Traffic - Characteristics of the traffic: Qos required Outcoming information - Acceptance of the request - Rejection of the request 3.4 Path selector The interworking function of path selection has been selected to evaluate its influence in QoS parameters (packet delay, throughput). In order to describe it more detailed, the use-case description in Table 3.6 has been used. Table 3.6: Path Selection Name of the Use Case Path Selection Actors Higher layer in the user plane (Data source) Triggers Load is higher than a threshold (TH), Node is added to a network Results Load of the overloaded link is balanced between the most suitable links Pre-conditions A link is close to overload Post-conditions Load is forwarded by the most suitable links Incoming information Table of links connected to each node and its cost Outcoming information Election of the link with lowest cost 3.4.1 Initial assumptions Initially, a heterogeneous environment with different technologies has been assumed. The first essential task of the function of Path Selector is to find a suitable path or route through the network between the source and the destination that will have the necessary resources available to meet the QoS constraints for the desired service. Figure 3.4 shows an OMEGA Network in which more than one path to reach a destination can be chosen. The aim of the Path Selector is the selection of the most suitable path, which means, that with the lowest cost and available resources. In this work, a QoS routing protocol as proposed by [6] is chosen, specially designed for
3.4. Path selector 21 3Mª Rosa Frías, ComNets, RWTH Aachen University Introduction Introduction Goals: Analysis of Path Selector in heterogeneous networks Evaluation of Satisfied User Criteria (SUC) of Path Selector regarding QoS parameters like packet delay OMEGA Link OMEGA Link Endpoint OMEGA Devices OMEGA Network OMEGA Gateway Internet Devices Technology 2 Technology 1 ISP Core Network Technology 4 Technology 4 OMEGA Extender OMEGA Legacy Device Adapter Legacy Device OMEGA Device Figure 3.4: Path Selection. ad-hoc networks features (battery life, link stability, node congestion state) in order to provide robustness against mobility and wireless channel fluctuations. In the mechanism of the protocol, each node computes for each neighbor a cost function including link stability, available bandwidth, link transmission delay and occupied buffers’ size. Only neighbors with a cost value less than a fixed threshold forward the RREQ packet. The cost function of a path P is given by the formula 3.1. f(P) = a ST AB +bBW +CD+ (1 −a−b−θ)BUF F ERS (3.1) STAB is relative to stability, BW to the available bandwidth, BUFFERS to occupied buffers’s size, CDto the transmission delay (CD= -DELAY x log (p) with p the probability that delay constraint is respected). a, b and θare fixed parameters; their sum is equal to 1. 3.4.2 Bandwidth Guarantee Source Routing Algorithm The proposed algorithm for the Path Selector is BGSR, based on a widely used routing scheme of Ad hoc networks: DSR (Dynamic Source Routing). In this scheme, with admission control, the flooding overload is effectively decreased and with resource reservation, QoS is guaranteed [7]. A detailed description is given by figure 3.5, where S represents the source node and R, each intermediate node. The source node checks that it has a route to the destination and its resources are sufficient. If these conditions are not satisfied, the source node executes the algorithm and waits for a route reply.
22 3. Convergence Layer and Interworking Functions TTL>0 S sends RREQ R receives RREQ Enough resources? Yes No Yes R sends RREP R sends RERR No Figure 3.5: BGSR algorithm. BGSR adopts flooding mechanism. The source node will send RREQ to all adjacent nodes, in these RREQs the resource requirements for the traffic are included. Each intermediate node which has received the RREQ, will rebroadcast it until the RREQ reaches the destination. Before sending RREQ out, each intermediate node will check wether its own available bandwidth is equal to or more than the required bandwidth indicated by bandwidth field of RREQ. If there is not enough bandwidth, the intermediate node will quietly discard this RREQ. If there is enough bandwidth, the intermediate node will check whether the resulted number is more than zero after the Time To Live (TTL) got from RREQ is decreased by one. If the resulted number is less than or equal to zero, the intermediate node will discard this RREQ, otherwise it will send RREQ out after attaching its own address to the end of the original route list and filling the resulted number in TTL field. sour_addr dest_addr request_id route_list bandwidth TTL sour_addr dest_addr request_id route_list bandwidth TTL error sour_addr error request_id error type error dest_addr error node address Figure 3.6: BGSR RREQ format. The RREQ message contains the following entries: •sour_addr: the source address of the traffic; •dest_addr: the destination address of the traffic; •request_id: an ID uniquely representing a request between certain source/destination pair;
3.4. Path selector 23 •bandwidth: the bandwidth requirement of the traffic; •TTL: Time to Live, the maximum acceptable number of hops for the traffic Once the RREQ has reached the destination node, it remains waiting for receiving more messages of request during a timeout. Then, the process of decision will be done: it calculates the total cost of the path, then the lowest cost route is chosen and a RREP carrying this route and the traffic class is unicasted back to the source node. Figure 3.7 shows the entries corresponding to the RREP message. sour_addr dest_addr request_id route_list bandwidth TTL sour_addr dest_addr request_id route_list bandwidth TTL error sour_addr error request_id error type error dest_addr error node address Figure 3.7: BGSR RREP format. Considering the mobility of Ad hoc networks, the resource condition might continuously change. The node, which could provide enough resource for the traffic when RREQ passed, might not provide enough resource for the traffic on the arrival of RREP or the next hop to the source along the route list carried in RREP becomes unreachable. Then, this node will send a Route Error (RERR) back to the destination along the coming route of RREP. When the RREQ does not reach the destination node due to a link failure, an error type ’NEXT HOP UNREACHABLE’ is generated. During the checks, if there are not enough resources, ’NO ENOUGH RESOURCE’ will be the error type and if the maximum acceptable number of hops is exceeded, also a RERR will be sent to the source node in order to notice the error. sour_addr dest_addr request_id route_list bandwidth TTL sour_addr dest_addr request_id route_list bandwidth TTL error sour_addr error request_id error type error dest_addr error node address Figure 3.8: BGSR RERR format. When the RERR is sent back to the destination node, this node will delete all route information items in whose route list field the node indicated by error node address in RERR is included. Then the destination node will check the Route Information Table to select a new route record and resend a RREP with the route information from the first item. A QoS extension for AODV routing packets [8] is used in QS-AODV, it is added to RREQ, RREP and RERR packets to discover and create routes. This QoS extension includes the application bandwidth requirements and a ’session ID’ is used to identify each QoS flow that is established. The session ID and required QoS parameters are recorded in the routing tables to identify different QoS flows. QS-AODV modifies the route discovery and maintenance mechanisms of AODV to provide QoS assurance. QS-AODV limits the broadcast area of the local repair request (see Section 4.6) setting the TTL value to 3.
30 4. The Analytical Model Poa = 1 0 0 0 (4.4) 4.4 Delay Generation Function In order to analyze the mean throughput and delay of ARQ mechanisms, SFGs are used to find the Moment Generating Function (MGF) of the transmission time. Data blocks of fixed size are transmitted over a communication channel with a varying delay. Assuming an unreliable channel with the block error probability p (see Eq. 4.5), the data blocks are delayed randomly by the value D characterized with a Probability Mass Function (PMF). The MGF of D is respectively GD(z)(see Fig. 4.4). p=p12 p12 +p21 (4.5) a delay of z(transmission from node Sto Rin Figure 0.3). In (1−p)of the cases the blocks are successfully transmitted (transition from node Rto A). With a probability of pan error occurs and the block will be retransmitted (transition from node Rvia Bto R) according to the reception of a NACK. S R B z zp p1- A Figure 0.3: Signal Flow Graph of the basic Selective-Repeat ARQ with deterministic transmission delay Dand uniform block error prob. p. The SFG shown in Figure 0.3 can be easily reduced by applying the rules of Figure 0.2 to the MFG of Eq. 0.4. GSR(z) = (1−p)·z 1−pz (0.4) 2.3 Selective-Repeat ARQ Analysis with Varying Transmission Delay using Signal Flow Graphs Data blocks of fixed size are transmitted over a communication channel with a varying delay. Assuming an unreliable channel with the block error probability p. The data blocks are delayed randomly by the value Dcharacterized with a Probability Mass Function (PMF) PD(k). The delay is modeled as a discrete random process of values k∈N. The MGF of Dis respectively GD(z). SASA ≡ )(zGD PD(0) PD(1) z PD(2) z2 PD(i) zi Figure 0.4: Signal Flow Graph of a delayed segment transmission. 4 Figure 4.4: Signal Flow Graph of delayed segment transmission. Figure 4.4 illustrates a transmission of a segment over a channel with the varying delay D using a SFG with nodes ’Sending’ (S) and ’Arrival’ (A). The whole transmission process, from (S) to (A) can be statistically described by the MGF GD(z). To sum up, in order to calculate the packet delay, the delay generation function of the system has to be obtained. Next, the required calculations from which the final obtaining of PDF and CDF will be possible are shown. Equations 4.6-4.9 show the matrix Moment Generating Function (MGF) for Figure . G0(z) = Ga(z)PaPoa (4.6) G1(z) = Ga(z)2Paz−RT OP1aPaPoa (4.7) G2(z) = Ga(z)3Paz−2RT OGa(z)P1aPaP1aPaPoa (4.8) G3(z) = Ga(z)4Paz−3RT OP1aPaP1aPaP1aPaPoa (4.9) The scalar MGF G(z) is obtained from the corresponding matrix MGF by pre-multiplying with the probability vector of transmitting a new block π1and post-multiplying with the column vector of ones. G(z) = π1G(z)1 π11(4.10) with π1=πPoa (4.11)
4.4. Delay Generation Function 31 Firstly, a link with π= (0.9, 0.1) and zRT O of 1 ms is evaluated. This study includes all possible cases of the Path Selector, which means considering zero, one, two and three retransmissions reaching the successful and the failure state. Table 4.1 shows a summary of it. Table 4.1: Delay generation functions Cases of Path Selector Delay Generation Function Case 0: 0 retransmissions G(z)=0.9 z Case 1: 1 retransmission G(z)=0.9z2+0.09 z3 Case 2: 2 retransmissions G(z)=0.9z4+0.09z2+0.009 z5 Case 3: 3 retransmissions with success G(z)=0.9z6+0.09z4+0.009z2+9·10−4 z7 Case 4: 3 retransmissions with failure G(z)=0.9z7+0.09z5+0.009z3+10−4 z8 Once analyzed this simple model, the scenario shown in 4.5 (corresponding to the Home Network shown in Section 4.2) is considered. MSrepresents the gateway; MD, the destination node and M1-M5represent the intermediate nodes of the Home Network. Regarding the path selection, different combination of paths from MSto MDare possible, however this work considers two possibilities: P ath1and P ath2, where P ath1corresponds to the path MS-M1-M2-M3-MDand P ath2consists of MS-M4-M2-M5-MDfrom source to destination. 13Mª Rosa Frías, ComNets, RWTH Aachen University Analysis Figure 4.5: Scenario of evaluation. Given this situation, the aim is obtaining the maximum total time that takes to run the algorithm, which includes: •Time to send the request to the destination •Timeout which corresponds to the time during the destination is waiting for receiving more possible requests. This value has been defined as the estimation of time corresponding to the 90% of the CDF of delay in the longest path, due to in case of being
32 4. The Analytical Model higher, one can consider that the path is not good enough to transmit information through it (see Section 4.5). •Time to send the message of reply to the source. Since the maximum time is being contemplated, next calculations are based on the worst case, this is when each of the links are assumed to be in case 3. Focusing on the scenario of analysis shown in Section 4.2, uncorrelated links are assumed since the hops use different layer 2 tecnhologies. Equations 4.12 and 4.13 show the calculation of the delay generation function corresponding to each of the possible paths from source to destination that have been considered. GP ath1(z) = G1(z)·G2(z)·G3(z)·G4(z)(4.12) GP ath2(z) = G5(z)·G6(z)·G7(z)·G8(z)(4.13) where G1(z), G2(z),G3(z), G4(z), G5(z), G6(z), G7(z) and G8(z) are the delay generation functions of each of the links. After the analysis, values shown in Equation 4.14 have been obtained, where GRREQ is the delay for the request, GRREP represents the delay for the reply and GP S , the delay for path selection. More details about the results are explained in Section 4.5. GRREQ = 31ms;GRREP = 28ms;GP S = 67ms (4.14) 4.5 Results of analysis This section shows the statistical functions of PDF and CDF corresponding to the delay generation functions after the calculations with Matlab. PDF is used in order to analyze how probabilities of an event are distributed, whereas CDF represents the probability of receiving an outcome or a lower one. Firstly, the results obtained from a simple model consisting of a link with a BLER of 0.1 and zRT O of 1 ms are analyzed. The distribution of probabilities is shown in Figure 4.6. After the first try, the probability of success is 0.9 as it can be foreseen by the transition probability p21. If the packet does not reach the destination, a first retransmission is executed 1 ms later, being the probability of success of 0.09 and likewise, for a second retransmission in which case, probability is 0.009. Finally, whether the successful state is reached after the third retransmission the expected probability is 0.0009. After all the possible retransmissions, the failure state is reached with a delay of 8 ms and a probability of 0.0001. As it can be observed, the probability of success is (p12)n·p21 where nis the number of attempts and in case 4, (p12)n·p12.
4.5. Results of analysis 33 0 2 4 6 8 10 12 14 16 18 20 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 PDF Delay (ms) Probability Figure 4.6: PDF of delay for a single link. 0 5 10 15 20 25 30 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Delay (ms) Probability PDF RREQ Figure 4.7: PDF of delay for RREQ via P ath1. Figures 4.7 and 4.8 correspond to the PDF of each of the paths analyzed in section 4.4 (related to the scenario of analysis) considering all the links in case 3. As it can be noticed, the addition of probabilities is one as expected, and probabilities are distributed according to the quality of channel defined by the parameters previously shown. Probability of success delivering RREQ from MSto MDalong the P ath1path is distributed as seen in Figure 4.7. The maximum value is 0.51. The distribution starts at the instant of 4 ms since G0(z)= 1ms and the path consists of four links. At the instant of 31 ms, PDF takes the value of 0.
34 4. The Analytical Model 0 5 10 15 20 25 30 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Delay (ms) Probability PDF RREP Figure 4.8: PDF of delay for RREP. This PDF corresponds to the delay which takes forwarding RREP from MDto MS. The maximum value is 0.51. 28 ms is the maximal time. CDF are depicted by Figures 4.9 and 4.10. The value of time belonging to the maximal CDF is the delay to send a RREQ message, and similarly for the RREP. The maximal value of the CDF is not exactly one for the shown interval due to the maximum of 3 retransmissions which cause infinite delay for some packets. 0 5 10 15 20 25 30 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 X= 8 Y= 0.90833 delay (ms) prob (X < delay) CDF RREQ Figure 4.9: CDF of delay for request. Cumulative Distribution Function corresponding to the delay for request takes a maximum value of 0.9916 for a delay of 31 ms.
4.5. Results of analysis 35 0 5 10 15 20 25 30 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1CDF RREP delay (ms) prob (X < delay) Figure 4.10: CDF of delay for reply. The maximal value of the CDF of delay for reply is similarly, 0.9916. After the graphical analysis, the aim of this work can be fulfilled with the calculation of the total time. Equation 4.15 shows the time of request and the time of reply, taking into account that each of the messages is transmitted through different paths. 0 10 20 30 40 50 60 70 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 TOTAL CDF delay (ms) prob (X < delay) Figure 4.11: CDF of delay for path selection. TRREQ = 31ms;TRREP = 28ms (4.15) As explained in Section 3.4.2, once the RREQ has reached node MD, it waits for a time during which more requests from other paths can be received. This concept has been defined in Section 4.4 and Figure 4.9 shows graphically the origin of this value (8 ms). Equation 4.16 shows the total time and Figure 4.11 illustrates it.
36 4. The Analytical Model TT=TRREQ +TT O +TRREP = 31ms + 8ms + 28ms =67ms (4.16) 4.6 Comparison between centralized and local repair path re-selection As explained in Chapter 3, two modes of operation for path re-selection can be defined. This section analyzes and compares both of them in terms of delay. Focusing on the scenario shown in Figure 3.11 (Section 3.4.4) and assuming the following parameters: zRT O = 1ms, π= (0.9, 0.1) and hop limit set to 3, a fail in link L5 is considered. If a connection between node 1 and node 7 is required, three paths are possible as shown in Figure 4.12. However, only paths P1 and P2 would be available after the failure; P1 is the path which has been analyzed. 1 2 3 4 5 6 7 Internet L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 1 2 3 4 5 6 7 Internet L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 Home Gateway Staircase Home Network P1 P2 P3 Figure 4.12: Home Network with possible paths. As mentioned in Section 3.4.4, the centralized mechanism needs a time required for the error signalling, which involves that node 4 will send a message of error to node 1 in order to notice the failure. Once again, signal flow graph is modelled as seen in Figure 4.13 in order to obtain the value of TRERR. p11 1 2 3 4 p34 p31 p41 p23 R A B C P0 P1 P2 zP zP GB S R p12 1 2 3 4 5 zPSP12 zf P34 zPSP32 zPSP42 zP45 zf P13 p45 5 p12 p21 p22 p11 A B zP P0 P1 zP Figure 4.13: Signal flow graph for the error signalling. Equation 4.17 shows the delay generation function corresponding to the error signalling delay. G(z) = 0.9 z−0.1(4.17) In figure 4.14, PDF of G(z)is depicted, the delay of error signalling can be noticed as 4 ms.
4.6. Comparison between centralized and local repair path re-selection 37 0 2 4 6 8 10 12 14 16 18 20 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 PDF Delay (ms) Probability Figure 4.14: PDF of delay in error signalling. Once the RERR message has reached the gateway (node 1), the flooding of RREQ messages can be initiated. In this case, this message will be forwarded through P1 and P2 due to the failure of L5. Figure 4.15 shows the PDF of the delay generated through path P1 while forwarding messages of request and reply, whereas Figure 4.16 corresponds to the CDF. As previously explained, timeout is defined as the 90% of the CDF, so that in this case it takes the value of 3.5 ms. After the timeout, node 7 sends the RREP to node 1 through P1 assuming that its cost is lower than the cost of P2. Similarly, Figure 4.16 illustrates the delay referred to the RREQ and RREP message (14 ms), in this case also valid for the local repair. Equation 4.18 shows the total time required using the centralized mechanism. 0 2 4 6 8 10 12 14 16 18 20 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 PDF Delay (ms) Probability Figure 4.15: PDF of delay in request and reply in centralized mode. Probability of success delivering RREQ and RREP is distributed as seen in the figure 4.15.
38 4. The Analytical Model The maximum value is 0.81. The distribution starts at the instant of 2 ms since G0(z)= 1ms and the path consists of two links. At the instant of 14 ms, PDF takes the value of 0. 0 5 10 15 20 25 30 35 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1CDF delay (ms) prob (X < delay) Figure 4.16: CDF of delay in request and reply. CDF takes the maximum value (0.9998) when time is 14ms, therefore this is the delay of request and analogously, of reply. TT=TRERR +TRREQ +TT O +TRREP = 4ms + 14ms + 3.5ms + 14ms =35.5ms (4.18) Regarding the decentralized mode, node 4 (upstream node) starts the flooding directly without notifying the failure state to the gateway. Therefore, the total delay for the path re-selection includes the request, timeout and reply processes. The reply is executed via P2 (and not P1) due to the node that initiated the request is included in this path and if it does not receive a RREP after a certain period of time, the local repair request fails and a RERR packet is sent to the source node. Details about corresponding analysis are summarized in Equation 4.19. Figure 4.16 is also valid for the request and reply of the local repair solution since both paths consist also of two links with the same assumed conditions as in the centralized case. Figures 4.17 and 4.18 show the total CDF for both situations. TT=TRREQ +TT O +TRREP = 14ms + 3.5ms + 14ms =31.5ms (4.19)
4.6. Comparison between centralized and local repair path re-selection 39 0 5 10 15 20 25 30 35 40 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 TOTAL CDF centralized delay (ms) prob (X < delay) Figure 4.17: CDF of delay for centralized path re-selection. 0 5 10 15 20 25 30 35 40 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 TOTAL CDF local repair delay (ms) prob (X < delay) Figure 4.18: CDF of delay for local repair. In this analysis, three parameters have been considered: the delay of retransmission, the number of retries and the hop count. As it has been shown, the value of the total delay (Qos parameter evaluated) is function of these conditions, therefore the QoS needs of the different applications can be adapted setting the mentioned parameters.
46 List of Figures
LIST OF TABLES 3.1 PathScheduling.................................. 18 3.2 LoadBalancing.................................. 18 3.3 QoS classification marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.4 Roaming to other home network . . . . . . . . . . . . . . . . . . . . . . . . 19 3.5 Admissioncontrol................................. 20 3.6 PathSelection................................... 20 4.1 Delay generation functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
48 List of Tables
LIST OF ABBREVIATIONS 3GPP 3rd Generation Partnership Project AP Access Point BGSR Bandwidth Guarantee Source Routing BS Base Station CDF Cumulative Density Function CL Convergence Layer DLC Data Link Control DLL Data Link Layer DSR Dynamic Source Routing DSL Digital Subscriber Line FP7 Seventh Research Framework Programme IP Internet Protocol IWF Interworking Function HGI Home Gateway Initiative HMM Hidden Markov Model HN Home Network HNID Home Network Infrastructure Device HWO Hybrid Wireless Optical ICT Information and Communication Technologies L2 Layer 2 LTE Long Term Evolution MAC Medium Access Control MFG Moment Generation Function MICS Media Independent Command Service MIES Media Independent Event Service MIH Media Independent Handover MIHF Media Independent Handover Function MIIS Media Independent Information Service MN Mobile Node OLDA OMEGA Legacy Device Adapter PDF Probability Density Function PDU Packet Data Unit PLC Power Line Communications PMF Probability Mass Function PoA Point of Attachment PoS Point of Service QoS Quality of Service RREQ Route Request RERR Route Error RREP Route Reply SFG Signal Flow Graph SUC Satisfied User Criteria UWB Ultra-Wideband WiFi Wireless Fidelity WiMAX Worldwide Interoperability for Microwave Access WLAN Wireless Local Area Network
50 List of Abbreviations
BIBLIOGRAPHY [1] An Evolutionary Approach for Multi-Radio Access Technology (RAT) Mesh Converged Devices. Catherine Livet, Staff Engineer WLAN Mesh Conference (Paris), April 17-20, 2007. [2] Home Gateway Technical Requirements Version 1.0. Home Gateway Initiative web site http://www.homegatewayinitiative.org/, 2007. [3] IEEE 802.21 Media Independent Handover. IEEE P802.21/D07.10, Draft IEEE Standard for Local and Metropolitan Area Networks: Media Independent Handover Services. August 2007. [4] Ralf Jennen. Media Independent Handover in Heterogeneous Networks. FFV Workshop, 2008. [5] Integrated Project, FP7-ICT. Omega-Home Gigabit Access. www.ict-omega.eu, No. Project number: 213311, January 2008. [6] T.Guerniche Houda Labiod. A QoS Adaptive Source Routing Protocol for Ad Hoc Communications. The 14th IEEE 2003 International Symposium on Personal, Indoor and Mobile Radio Communication Proceedings. [7] Chunjiang WANG Yuan’an LIU Zijian YAN, Hai LIU. A Bandwidth Guarantee Source Routing Algorithm in Ad hoc Wireless Networks (BGSR). [8] C. Perkins and E.M. Royer. “Quality of service for ad hoc on-demand for ad-hoc on-demand distance vector routing" . http://people.nokia.net/ charliep/txt/aodvid/qos.txt October 2004. [9] Sheng-Yan Chuang Michael Pan, Sheng-De Wang. Local Repair Mechanisms for On-Demand Routing in Mobile Ad hoc Networks. Department of Electrical Engineering, National Taiwan University. [10] Samir R. Das Mahesh K. Marina. On-demand Multipath Distance Vector Routing in Ad Hoc Networks. Department of Electrical and Computer Engineering and Computer Science, University of Cincinnati, U.S.A. [11] Bernhard Walke Guido Gehlen. Transport Layer Delay Analysis in Wireless Networks using Signal Flow Graphs. 2007. [12] Guido Gehlen. Mobile Web Services-Concepts, Prototype, and Traffic Performance Analysis. Master’s thesis, 2007.