SERVICE DISCOVERY AND MOBILITY MANAGEMENT

Similar documents
CHAPTER 1 INTRODUCTION

Mobility Management 嚴 力 行 高 雄 大 學 資 工 系

6 Mobility Management

Towards Software Defined Cellular Networks

Mobile Devices: Server and Management Lesson 05 Service Discovery

Mobile IP Part I: IPv4

LTE - Can SDN paradigm be applied?

5.0 Network Architecture. 5.1 Internet vs. Intranet 5.2 NAT 5.3 Mobile Network

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

Automatic Configuration and Service Discovery for Networked Smart Devices

Long-Term Evolution. Mobile Telecommunications Networks WMNet Lab

ATCN 2014: SDN - Mobility and SDN: Mobility Management and Mobile Networks

Architecture Overview NCHU CSE LTE - 1

Telecommunication Services Engineering (TSE) Lab. Chapter III 4G Long Term Evolution (LTE) and Evolved Packet Core (EPC)

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Mobility Management for IP-based Mobile Networks

Mobile Routing. When a host moves, its point of attachment in the network changes. This is called a handoff.

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

Socket = an interface connection between two (dissimilar) pipes. OS provides this API to connect applications to networks. home.comcast.

IP and Mobility. Requirements to a Mobile IP. Terminology in Mobile IP

Review: Lecture 1 - Internet History

802.11: Mobility Within Same Subnet

How To Create A Service Discovery Protocol In Java (Java) And Other Networks

The Wireless Network Road Trip

EE6390. Fall Research Report. Mobile IP in General Packet Radio System

Tomás P. de Miguel DIT-UPM. dit UPM

Mobile Networking Concepts and Protocols CNT 5517

Accelerating Service Discovery in Ad-hoc Zero Configuration Networking

3GPP Long Term Evolution: Architecture, Protocols and Interfaces

SURVEY ON MOBILITY MANAGEMENT PROTOCOLS FOR IPv6

Outline. Wireless System Integration WLAN. WAN Technologies ดร. อน นต ผลเพ ม LAN. WAN Server LAN. Wireless System Architecture Protocols

Diameter in the Evolved Packet Core

What communication protocols are used to discover Tesira servers on a network?

Administrivia. CSMA/CA: Recap. Mobility Management. Mobility Management. Channel Partitioning, Random Access and Scheduling

The Ubiquitous Web, UPnP and Smart Homes

How to deal with a thousand nodes: M2M communication over cellular networks. A. Maeder NEC Laboratories Europe andreas.maeder@neclab.

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

Wireless Networks: Network Protocols/Mobile IP

6LoWPAN Technical Overview

This chapter covers the following topics: Characteristics of roaming Layer 2 roaming Layer 3 roaming and an introduction to Mobile IP

Implementing LTE International Data Roaming

Extending Networking to Fit the Cloud

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

LTE Attach and Default Bearer Setup Messaging

Transport and Network Layer

Practical Security Testing for LTE Networks BlackHat Abu Dhabi December 2012 Martyn Ruks & Nils

Session Initiation Protocol Deployment in Ad-Hoc Networks: a Decentralized Approach

IP-based Mobility Management for a Distributed Radio Access Network Architecture. helmut.becker@siemens.com

Final for ECE374 05/06/13 Solution!!

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Mobility Management in DECT/IPv6 Networks

Protocol Signaling Procedures in LTE

IP Networking Untethered

Suitability of existing service discovery protocols for mobile users in an ambient intelligence environment

Security Testing 4G (LTE) Networks 44con 6th September 2012 Martyn Ruks & Nils

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Mobility on IPv6 Networks

Chapter 6: Wireless and Mobile Networks

Multicasting with Mobile IP & The Session Initiation Protocol

Introduction to Mobile IPv6

Personal Firewall Default Rules and Components

NTT DOCOMO Technical Journal. Core Network Infrastructure and Congestion Control Technology for M2M Communications

Mobile IPv6 deployment opportunities in next generation 3GPP networks. I. Guardini E. Demaria M. La Monaca

TECHNICAL NOTE. GoFree WIFI-1 web interface settings. Revision Comment Author Date 0.0a First release James Zhang 10/09/2012

LTE Performance and Analysis using Atoll Simulation

Network: several computers who can communicate. bus. Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb).

Introduction to IP v6

Mapping of Services on Bluetooth Radio Networks

Introducing Reliability and Load Balancing in Mobile IPv6 based Networks

Network Layers. CSC358 - Introduction to Computer Networks

The Extreme Networks Solution for Apple Bonjour Traffic Management A SOLUTION WHITE PAPER

Analysis of Mobile IP in Wireless LANs

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

Implementation of a Lightweight Service Advertisement and Discovery Protocol for Mobile Ad hoc Networks

VXLAN: Scaling Data Center Capacity. White Paper

Network setup and troubleshooting

Infrastructure-less networks

Mobile Computing/ Mobile Networks

Introduction to Computer Networks

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

Life of a Packet CS 640,

Contents. Introduction to Bonjour Overview 5. About Bonjour 6. Domain Naming Conventions 14. Bonjour Operations 18

Connecting to and Setting Up a Network

SSVVP SIP School VVoIP Professional Certification

3G/Wi-Fi Seamless Offload

Deploying IPv6 in 3GPP Networks. Evolving Mobile Broadband from 2G to LTE and Beyond. NSN/Nokia Series

Application Note. Onsight TeamLink And Firewall Detect v6.3

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Transcription:

Objectives: 1) Understanding some popular service discovery protocols 2) Understanding mobility management in WLAN and cellular networks Readings: 1. Fundamentals of Mobile and Pervasive Computing (chapt7) SERVICE DISCOVERY AND MOBILITY MANAGEMENT

Part 1: Service Discovery

Service discovery What is service? Storage, printing, display Allows automatic detection of devices and services offered by these devices in a network Done without human intervention Particularly relevant in mobile settings

Service discovery entities Client (or user): the entity that is interested in finding and using a service Server: the entity that offers the service Directory (or server, broker, central, resolver): a node in the network that hosts partially or entirely the service description information Provider/Server Register Provider/Server Query Directory/registrar Service broker User/Client User/Client

Components Directory repository Centralized Distributed n Hierarchical n Structured P2P n Ad hoc Service description Attribute/value Tree-like XML Ontologies (DAML) Announcement Register Multicast/broadcast Query/Service Access Syntax Ontology Programming language dependency

Requirements for SD Use of descriptive language: services needs to be semantically described Storage of service information Search for services Maintenance against changes in service description Maintenance against topology changes

Some Service Discovery Protocols (SDP) Main Entities Jini SLP UPnP Bluetooth Bonjour Lookup Service, Client, Service Directory Agent, Service Agent, User Agent Control Point, Devices (Services) SDP Client, SDP Server (or both) SDP client, SDP server Service Repository Service Announcement Access to Service Lookup Service DA (directory agent) Discovery/ Join protocol Service proxy object based on RMI Service Description Interface type and attribute matching Adoption Service Registration Service type for discovered service Service type and attribute matching None SDP Server SDP server Multicast advertisement Invoking Action to service Description in XML Not Supported Not Supported Attribute ID and Attribute Value Registration mdns query Domain name

UPnP stack GENA -- General Event Notification Architecture SOAP Simple object access protocol SSDP Simple service discovery protocol

Service Discovery in UPnP The Universal Plug and Play Protocol (UPnP) uses the Simple Service Discovery Protocol (SSDP) to locate the service in IP networks Control point 1 searching Internet advertising Device 1 Control point 2 searching advertising Both searching and advertising use HTTP Multicast. The response uses HTTP Unicast. UPnP targets to home-networking environments. Device 2

Joining and discovery UPnP control points are devices which use UPnP protocols to control UPnP devices UPnP can work with or without control points (lookup service). JOINING: A joining device sends out an advertisement (ssdp:alive) multicast message to advertise its services to control points A control point, if present, can record the advertisement, but other devices might also directly see this multicast message. DISCOVERY: UPnP sends a search (ssdp:discover) multicast message when a new control point is added to a network. Any device that hears this multicast will respond with a unicast response message.

Service description UPnP uses XML to describe device features and capabilities. An advertisement message contains a URL that points to an XML file in the network that describes the UPnP device s capability. By retrieving this XML file, other devices can inspect the advertised device s features and decide whether it is important or relevant to them. XA UPnP description for a service includes a list of actions (control) to which the service responds and a list of variables that model the service s state at runtime Control is expressed as a collection of Simple Object Access Protocol (SOAP) objects and their URLs in the XML file.

An example: A remote UIClient controls a TVDevice 1. UIClient and TVDevice use SSDP to discover each other. 2. UIClient retrieves the TVDevice description and get a list of associated services. 3. UIClient retrieves the service descriptions of interesting services. 4. UIClient starts interacting with TVDevice. UIClient API for Control point Java Virtual Machine Operating system IP Network UPnP IP TVDevice API for Device Java Virtual Machine Operating system IP Network

Service Location Protocol (SLP) An Internet Engineering Task Force (IETF) standard for decentralized, lightweight, and extensible service discovery It uses service URLs, which define the service type and address for a particular service. service:<service-type>://<addrspec> Example: service:printer:lpr://hostname is the service URL for a line printer service available at hostname.

SLP: Actors User Agent (UA) SLP Client communicates with SA or DA to access services Service Agent (SA) Offers services directly or by registering with DA on behalf of application Directory Agent (DA) optional actor to which all services register DA can be discovered either by active or passive discovery SLP messages are transmitted over UDP or TCP

SLP: Service Discovery with DA

SLP: Service Discovery without DA Service Discovery without DA Source: http://www-128.ibm.com/developerworks/linux/library/l-slp/

Bonjour Based on IETF zero configure IP networking (ZeroConf) addressing (allocating IP addresses to hosts) naming (using names to refer to hosts instead of IP addresses) service discovery (finding services on the network automatically) Source: https://developer.apple.com/library/mac/documentation/cocoa/conceptual/ NetServices/NetServices.pdf

Link-local addressing No Central Address Server Pick a Random Address In 169.254.0.0/16 range Communication done locally Can use ARP to check if the address is in use 169.254.1.219 Network 169.254.4.51 Printer 169.254.10.29

mdns DNS-like Protocol Every Host Runs Responder Hosts Pick Own Names Communication over IP Multicast Link-local Resolves to Link-local or Regular Address Naming convention in Bonjour: XYZ-LaserPrinter.local

Browsing Return the list of all available instances of a particular type of service Local caching for past results Who can run Air Play Network I am! I am! 169.254.10.29 XYZ-speaker.local. 169.254.4.51 ABC-speaker.local.

Part 2: Mobility management

Issues Point-of-attachment changes with mobility in infrastructure networks Within the same network Across heterogeneous networks Try to hide the mobility from IP point of view TCP Sockets are specified by the tuples (IP address, port #) Sol: keep it at layer-2 if possible

WLAN

Message exchange *Source: Mishra, An Empirical Analysis of the IEEE 802.11 MAC Layer Handoff Process ~100ms 600ms

Remedy 1 802.11r Can reduce the latency down to 40ms From: Dava Molta, 802.11r: Wireless LAN Fast Roaming, 2007

Remedy 2 Virtual APs All cells share the same channel Each user is assigned an virtual AP upon association The virtual AP is handoff from one physical AP to another as users move Ch. 11 Ch. 6 Ch. 1

Mobile IP Mobile IP protocol allows location-independent routing of IP datagrams on the Internet Three components to standard: indirect routing of datagrams agent discovery registration with home agent

Mobile IP Entities Home! Network! HA! IPv4! Network! Correspondent Node/ FA! Visited! Network! Host That is communicating with the mobile node! Mobile Node!

Mobile IP Entities Mobile Node (MN) The entity that may change its point of attachment from network to network in the Internet n Detects it has moved and registers with best FA Assigned a permanent IP called its home address to which other hosts send packets regardless of MN s location n Since this IP doesn t change it can be used by long-lived applications as MN s location changes Home Agent (HA) This is router with additional functionality Located on home network of MN Does mobility binding of MN s IP with its foreign address Forwards packets to appropriate network when MN is away n Does this through encapsulation

Mobile IP Entities contd. Foreign Agent (FA) Another router with enhanced functionality If MN is away from HA the it uses an FA to send/receive data to/from HA Advertises itself periodically Forward s MN s registration request Decapsulates messages for delivery to MN Care-of-address (COA) Address which identifies MN s current location Sent by FA to HA when MN attaches Usually the IP address of the FA Correspondent Node (CN) End host to which MN is corresponding (eg. a web server)

How does Mobile IP Work? 3. Update MN s address Home! Network! HA! 2. Forward Registration Request 1. Registration Request Mobile Node! FA! Visited! Network! 4. Registration completed 3. Acknowledge regstration IPv4! Network! Correspondent Node That is communicating with the mobile node!

How does Mobile IP Work? (Cont d) Encapsulate packets Home! Network! HA! Send message using MN s permanent address Forward message; decapsulation IP routing FA! Visited! Network! IPv4! Network! Correspondent Node That is communicating with the mobile node! Mobile Node!

Mobile IP Routing in Action foreign-agent-to-mobile packet packet sent by home agent to foreign agent: a packet within a packet dest: 128.119.40.186 dest: 79.129.13.2 dest: 128.119.40.186 Permanent address: 128.119.40.186 dest: 128.119.40.186 packet sent by correspondent Care-of address: 79.129.13.2

Mobile IP Tunneling Across Internet IP header data IP header IP header data

Problems with Mobile IP Suboptimal triangle routing What if MN is in same subnetwork as the CN to which it is communicating and HA is on the other side of the world? n It would be nice if we could directly route packets correspondent node home agent

Route Optimization FA FA Binding Update HA HA a) First Packet to a MN b) Subsequent Packets to a MN FA1 Binding Update FA2 c) First Packet to a MN after hand-off HA

Mobility management in LTE UE 1 enodeb 1 Cellular Core Network MME/PCRF/HSS enodeb 2 S-GW 1 UE: user equipment enodeb: base station S-GW: serving gateway P-GW: packet data network gateway MME: mobility management entity HSS: home subscriber server PCRF: policy charging and rule function UE 2 enodeb 3 S-GW 2 P-GW Internet and Other IP Networks GPRS Tunneling Protocol

LTE Architecture (Cont d) Control Plane! Data Plane! Mobility Management Entity (MME) Home Subscriber Server (HSS) Policy Control and Charging Rules Function (PCRF) enodeb, S- GW and P- GW are involved in session setup, handoff, rou9ng User Equipment (UE) Base Serving Packet Data Network Station Gateway Gateway (enodeb) (S-GW) (P-GW)

Access Procedure Cell Search Base station broadcasts synchronization signals and cell system information (similar to WiFi) UE obtains physical layer information n UE acquires frequency and synchronizes to a cell n Determine the start of the downlink frame n Determine the cell identity Base station UE 1 UE 2 Random access to establish a radio link

Random Access Client Base station Core network Step 1: random access request (pick one of 64 preambles) Step 2: random access response Adjust uplink timing Step 3: transmission of mobile ID Step 4: contention resolution msg Only if UE is not known in Base station If ID in msg matches UE ID, succeed. If collision, ID will not match!

Random Access (Cont d) Why not carrier sensing like WiFi? Base stacon coverage is much larger than WiFi AP UEs most likely cannot hear each other How come base stacon can hear UEs transmissions? Base stacon receivers are much more sensicve and expensive UE 1 Base station UE 2

ConnecCon Setup Session Requests UE to base stacon Base stacon to MME n MME obtains subscriber info from HSS, selects S- GW and P- GW S- GW sends to P- GW n P- GW obtains policy from PCRF UE Session Request S-GW MME P-GW

ConnecCon Setup (Cont d) Session Response Establishes GPRS Tunnels (GTP) between S- GW and P- GW, between S- GW and UE Base stacon allocates radio resources to UE UE MME S-GW P-GW Session Response

Mobility Management Handoff Handoff without change of S-GW No change at P-GW MME Handoff with change of S-GW or MME Inter-technology handoff (LTE to 3G) UE S-GW P-GW

Mobility Management (Cont d) Paging If S-GW receives a packet to a UE in IDLE state, inform MME MME pages UE through base station Paging Request MME UE RRC_IDLE S-GW Packet received P-GW