Mobile Computing
Mobile Computing
Introduction
Advances in technology
more computing power in smaller devices flat, lightweight displays with low power consumption new user interfaces due to small dimensions more bandwidth per cubic meter multiple wireless interfaces: wireless LANs, wireless WANs, regional wireless telecommunication networks etc. (overlay networks)
Examples
stationary computer notebook in a hotel wireless LANs in historic buildings Personal Digital Assistant (PDA)
The demand for mobile communication creates the need for integration of wireless networks into existing fixed networks:
local area networks: standardization of IEEE 802.11, ETSI (HIPERLAN) Internet: Mobile IP extension of the internet protocol IP wide area networks: e.g., internetworking of GSM and ISDN
1.3 Applications
Vehicles
transmission of news, road condition, weather, music via DAB personal communication using GSM position via GPS local ad-hoc network with vehicles close-by to prevent accidents, guidance system, redundancy vehicle data (e.g., from busses, high-speed trains) can be transmitted in advance for maintenance
Emergencies
early transmission of patient data to the hospital, current status, first diagnosis replacement of a fixed infrastructure in case of earthquakes, hurricanes, fire etc. crisis, war, ...
1.4 Applications II
Travelling salesmen
direct access to customer files stored in a central location consistent databases for all agents mobile office
Follow-on services
automatic call-forwarding, transmission of the actual workspace to the current location
Information services
push: e.g., current special offers in the supermarket pull: e.g., where is the Black Forrest Cherry Cake?
Support services
caches, intermediate results, state information etc. follow the mobile device through the fixed network
Privacy
who should gain knowledge about the location
Mobile devices
Pager receive only tiny displays simple text messages Sensors, embedded controllers PDA graphical displays character recognition simplified WWW Laptop/Notebook fully functional standard applications
performance
Here electromagnetic waves are of special importance: 1831 Faraday demonstrates electromagnetic induction J. Maxwell (1831-79): theory of electromagnetic Fields, wave equations (1864) H. Hertz (1857-94): demonstrates with an experiment the wave character of electrical transmission through space (1888, in Karlsruhe, Germany, at the location of todays University of Karlsruhe)
Guglielmo Marconi
first demonstration of wireless telegraphy (digital!) long wave transmission, high transmission power necessary (> 200kw)
Wireless voice transmission New York - San Francisco Discovery of short waves by Marconi
reflection at the ionosphere smaller sender and receiver, possible due to the invention of the vacuum tube (1906, Lee DeForest and Robert von Lieben)
1928 many TV broadcast trials (across Atlantic, color TV, TV news) 1933 Frequency modulation (E. H. Armstrong) 1958 A-Netz in Germany
analog, 160MHz, connection setup only from the mobile station, no handover, 80% coverage, 1971 11000 customers
B-Netz in Germany
analog, 160MHz, connection setup from the fixed network too (but location of the mobile station has to be known) available also in A, NL and LUX, 1979 13000 customer in D
Start of the American AMPS (Advanced Mobile Phone System, analog) CT-1 standard (Europe) for cordless telephones
1986
C-Netz in Germany
analog voice transmission, 450MHz, hand-over possible, digital signaling, automatic location of mobile device Was in use until 2000, services: FAX, modem, X.25, e-mail, 98% coverage
Specification of DECT
Digital European Cordless Telephone (today: Digital Enhanced Cordless Telecommunications) 1880-1900MHz, ~100-500m range, 120 duplex channels, 1.2Mbit/s data transmission, voice encryption, authentication, up to several 10000 user/km2, used in more than 50 countries
Start of GSM
in D as D1 and D2, fully digital, 900MHz, 124 channels automatic location, hand-over, cellular roaming in Europe - now worldwide in more than 200 countries services: data with 9.6kbit/s, FAX, voice, ...
1994
E-Netz in Germany
GSM with 1800MHz, smaller cells As Eplus in D (1997 98% coverage of the population)
Iridium
66 satellites (+6 spare), 1.6GHz to the mobile phone
1999 Standardization of additional wireless LANs IEEE standard 802.11b, 2.4-2.5GHz, 11Mbit/s Bluetooth for piconets, 2.4Ghz, <1Mbit/s Decision about IMT-2000 Several members of a family: UMTS, cdma2000, DECT, Start of WAP (Wireless Application Protocol) and i-mode First step towards a unified Internet/mobile communicaiton system Access to many services via the mobile phone 2000 GSM with higher data rates HSCSD offers up to 57,6kbit/s First GPRS trials with up to 50 kbit/s (packet oriented!) UMTS auctions/beauty contests Hype followed by disillusionment (50 B$ payed in Germany for 6 licenses!) 2001 Start of 3G systems Cdma2000 in Korea, UMTS tests in Europe, Foma (almost UMTS) in Japan
Wireless Communication
transmission quality (bandwidth, error rate, delay) modulation, coding, interference media access, regulations ...
Mobility
location dependent services location transparency quality of service support (delay, jitter, security) ...
Portability
power consumption limited computing power, sizes of display, ... usability ...
1.13 Influence of mobile communication to the layer model Application layer Transport layer Network layer Data link layer
service location new applications, multimedia adaptive applications congestion and flow control quality of service addressing, routing, device location hand-over authentication media access multiplexing media access control encryption modulation interference attenuation frequency
Physical layer
Wireless Transmission
1.14Frequencies for mobile communication
1.15 Signals I
physical representation of data function of time and location signal parameters: parameters representing the value of data classification
continuous time/discrete time continuous values/discrete values analog signal = continuous time and continuous values digital signal = discrete time and discrete values
signal parameters of periodic signals: period T, frequency f=1/T, amplitude A, phase shift
sine wave as special periodic signal for a carrier: s(t) = At sin(2 ft t + t)
1.16 Signals II
Composed signals transferred into frequency domain using Fourier transformation Digital signals need
infinite frequencies for perfect transmission modulation with a carrier frequency for transmission (analog signal!)
Radiation and reception of electromagnetic waves, coupling of wires to space for radio transmission Isotropic radiator: equal radiation in all directions (three dimensional) - only a theoretical reference antenna Real antennas always have directive effects (vertically and/or z horizontally) y z Radiation pattern: measurement of radiation around an antenna
y x x
Real antennas are not isotropic radiators but, e.g., dipoles with lengths /4 on car roofs or /2 as Hertzian dipole shape of antenna proportional to wavelength /
4 / 2
simple dipole
side view (xy-plane) Gain: maximum power inside view (yz-plane) the main lobe compared to the the direction of top view (xz-plane) power of an isotropic radiator (with the same average power)
y x
y z
z x
directed antenna
Often used for microwaveview (yz-plane) or base stations for mobile phones side view (xy-plane) side connections top view (xz-plane) (e.g., radio coverage of a valley)
z z
sectorized antenna
Antenna diversity
switched diversity, selection diversity
receiver chooses antenna with largest output
diversity combining
/ / combine output power to produce gain /4 4 2 cophasing needed to avoid cancellation + ground plane
/ 2
/ 2
/ 2
Transmission range
communication possible low error rate
Detection range
detection of the signal possible no communication possible
sender transmission distance detection interference
Interference range
signal may not be detected signal adds to the background noise
Propagation in free space always like light (straight line) Receiving power proportional to 1/d in vacuum much more in real environments (d = distance between sender and receiver) Receiving power additionally influenced by fading (frequency dependent) shadowing reflection at large obstacles refraction depending on the density of a medium scattering at small obstacles diffraction at edges
shadowing
reflection
refraction
scattering
diffraction
Signal can take many different paths between sender and receiver due to reflection, scattering, diffraction
Time dispersion: signal is dispersed over time interference with neighbor symbols, Inter Symbol Interference (ISI) The signal reaches a receiver directly and phase shifted distorted signal depending on the phases of the different parts
Additional changes in
distance to sender obstacles further away slow changes in the average power
Media Access
Can we apply media access methods from fixed networks? Example CSMA/CD
Carrier Sense Multiple Access with Collision Detection send as soon as the medium is free, listen into the medium if a collision occurs (original method in IEEE 802.3)
Hidden terminals
A sends to B, C cannot receive A C wants to send to B, C senses a free medium (CS fails) collision at B, A cannot receive the collision (CD fails) A is hidden for C
If C for example was an arbiter for sending rights, terminal B would drown out terminal A already on the physical layer Also severe problem for CDMA-networks - precise power control needed!
The multiplexing schemes presented in chapter 2 are now used to control medium access!
f
960 MHz
124
1 20 MHz 124
200 kHz
890.2 MHz
Mechanism
random, distributed (no central arbiter), time-multiplex Slotted Aloha additionally uses time-slots, sending must always start at sender A slot boundaries
sender Aloha B sender C t collision
collision
it is important for all stations to keep the reservation list consistent at any point in time and, therefore, all stations have to synchronize from time to time
collision
Aloha
reserved
Aloha
reserved
Aloha
reserved
Aloha
frame5 A C E E B A F D
reservations other stations can use free data-slots for data-slots based on a round-robin scheme
MACA (Multiple Access with Collision Avoidance) uses short signaling packets for collision avoidance
RTS (request to send): a sender request the right to send from a receiver with a short RTS packet before it sends a data packet CTS (clear to send): the receiver grants the right to send as soon as it is ready to receive
Variants of this method can be found in IEEE802.11 as DFWMAC (Distributed Foundation Wireless MAC)
1.36MACA examples
RTS CTS B
RTS
receiver
idle
1.38Polling mechanisms
If one terminal can be heard by all others, this central terminal (a.k.a. base station) can poll all other terminals according to a certain scheme
now all schemes known from fixed networks can be used (typical mainframe - terminal scenario)
Disadvantages:
higher complexity of a receiver (receiver cannot just listen into the medium and start receiving if there is a signal) all signals should have the same strength at a receiver
Advantages:
all terminals can use the same frequency, no planning needed huge code space (e.g. 232 ) compared to frequency space interferences (e.g. white noise) is not coded forward error correction and encryption can be easily integrated
1.41CDMA in theory
Sender A
sends Ad = 1, key Ak = 010011 (assign: 0= -1, 1= +1) sending signal As = Ad * Ak = (-1, +1, -1, -1, +1, +1)
Sender B
sends Bd = 0, key Bk = 110101 (assign: 0= -1, 1= +1) sending signal Bs = Bd * Bk = (-1, -1, +1, -1, +1, -1)
receiving B
Be = (-2, 0, 0, -2, +2, 0) Bk = -2 + 0 + 0 - 2 - 2 + 0 = -6, i.e. 0
Ad
0 1
1 0
0 1
1 0
0 1
0 1
1 1
0 0
0 0
0 0
1 1
0 0
1 0
1 0
0 1
0 1
1 0
1 0
Ak
As
Real systems use much longer keys resulting in a larger distance between single code words in code space.
1
As + Bs
Ad
Ak
Bd
As + Bs
Bk
As + Bs
wrong key K
(As + Bs) *K
(0)
(0)
collision Aloha has only a very low efficiency, CDMA needs complex receivers to be 1 0 1 able sender A to receive different senders with individual codes at the same narrow 0 1 1 band time sender B Idea: use spread spectrum with only one single code (chipping sequence) send for a for spreading for all senders accessing according to aloha shorter period with higher power spread the signal e.g. using the chipping sequence 110101 (CDMA without CD) t Problem: find a chipping sequence with good characteristics
1.47Comparison SDMA/TDMA/FDMA/CDMA
Approach Idea
seg cell
2.1GSM: Overview
GSM
formerly: Groupe Spciale Mobile (founded 1982) now: Global System for Mobile Communication Pan-European standard (ETSI, European Telecommunications Standardisation Institute) simultaneous introduction of essential services in three phases (1991, 1994, 1996) by the European telecommunication administrations (Germany: D1 and D2) seamless roaming within Europe possible today many providers all over the world use GSM (more than 200 countries in Asia, Africa, Europe, Australia, America) more than 1.2 billion subscribers in more than 630 networks more than 75% of all digital mobile phones use GSM (74% total) over 200 million SMS per month in Germany, > 550 billion/year worldwide (> 10% of the revenues for many operators) [be aware: these are only rough numbers]
Communication
mobile, wireless communication; support for voice and data services
Total mobility
international access, chip-card enables use of access points of different providers
Worldwide connectivity
one number, the network handles localization
High capacity
better frequency efficiency, smaller cells, more customers per cell
Security functions
access control, authentication via chip-card and PIN
bearer services MS TE R, S MT Um GSM-PLMN transit network (PSTN, ISDN) tele services source/ destination network TE (U, S, R)
2.6Tele Services I
Telecommunication services that enable voice communication via mobile phones All these basic services have to obey cellular functions, security measurements etc. Offered services
mobile telephony primary goal of GSM was to enable mobile telephony offering the traditional bandwidth of 3.1 kHz Emergency number common number throughout Europe (112); mandatory for all service providers; free of charge; connection with the highest priority (preemption of other connections possible) Multinumbering several ISDN phone numbers per user possible
Additional services
Non-Voice-Teleservices
group 3 fax voice mailbox (implemented in the fixed network supporting the mobile terminals) electronic mail (MHS, Message Handling System, implemented in the fixed network) Short Message Service (SMS) alphanumeric data transmission to/from the mobile terminal (160 characters) using the signaling channel, thus allowing simultaneous use of basic services and SMS (almost ignored in the beginning now the most successful add-on!)
subsystems
RSS (radio subsystem): covers all radio aspects NSS (network and switching subsystem): call forwarding, handover, switching OSS (operation subsystem): management of the network
subsystems
RSS (radio subsystem): covers all radio aspects NSS (network and switching subsystem): call forwarding, handover, switching OSS (operation subsystem): management of the network
2.10Radio subsystem
The Radio Subsystem (RSS) comprises the cellular mobile network up to the switching centers Components
Base Station Subsystem (BSS):
Base Transceiver Station (BTS): radio components including sender, receiver, antenna - if directed antennas are used one BTS can cover several cells Base Station Controller (BSC): switching between BTSs, controlling BTSs, managing of network resources, mapping of radio channels (Um) onto terrestrial channels (A interface) BSS = BSC + sum(BTS) + interconnection Mobile Stations (MS)
cell
use of several carrier frequencies not the same frequency in adjoining cells cell sizes vary from some 100 m up to 35 km depending on user density, geography, transceiver power etc. hexagonal shape of cells is idealized (cells overlap, shapes depend on geography) if a mobile user changes cells handover of the connection to the neighbor cell
Tasks of a BSS are distributed over BSC and BTS BTS comprises radio specific functions BSC is the switching center for radio channels
Terminal for the use of GSM services A mobile station (MS) comprises several functional groups
MT (Mobile Terminal):
offers common functions used by all services the MS offers corresponds to the network termination (NT) of an ISDN access end-point of the radio interface (Um)
TA (Terminal Adapter):
TE (Terminal Equipment):
peripheral device of the MS, offers services to a user does not contain GSM specific functions
Functions Management o Frequency hop Management o Mapping of ter Channel codin Rate adaptatio Encryption and
R S Um
Components
Mobile Services Switching Center (MSC) controls all connections via a separated network to/from a mobile terminal within the domain of the MSC - several BSC can belong to a MSC Databases (important: scalability, high capacity, low delay)
Home Location Register (HLR) central master database containing user data, permanent and semi-permanent data of all subscribers assigned to the HLR (one provider can have several HLRs) Visitor Location Register (VLR) local database for a subset of user data, including data about all user currently in the domain of the VLR
Functions of a MSC
specific functions for paging and call forwarding termination of SS7 (signaling system no. 7) mobility specific signaling location registration and forwarding of location information provision of new services (fax, data calls) support of short message service (SMS) generation and forwarding of accounting and billing information
The OSS (Operation Subsystem) enables centralized operation, management, and maintenance of all GSM subsystems Components
Authentication Center (AUC)
generates user specific authentication parameters on request of a VLR authentication parameters used for authentication of mobile terminals and encryption of user data on the air interface within the GSM system
Security services
access control/authentication
user SIM (Subscriber Identity Module): secret PIN (personal identification number) SIM network: challenge response method
confidentiality
voice and signaling encrypted on the wireless link (after successful authentication)
anonymity
temporary identity TMSI (Temporary Mobile Subscriber Identity) newly assigned at each new location update (LUP) encrypted transmission
secret: A3 and A8 available via the Internet network providers can use stronger mechanisms
2.19DECT
DECT (Digital European Cordless Telephone) standardized by ETSI (ETS 300.175-x) for cordless telephones standard describes air interface between base-station and mobile phone DECT has been renamed for international marketing reasons into Digital Enhanced Cordless Telecommunication Characteristics
frequency: 1880-1990 MHz channels: 120 full duplex duplex mechanism: TDD (Time Division Duplex) with 10 ms frame length multplexing scheme: FDMA with 10 carrier frequencies, TDMA with 2x 12 slots modulation: digital, Gauian Minimum Shift Key (GMSK) power: 10 mW average (max. 250 mW) range: approx. 50 m in buildings, 300 m open space
2.20DECT layers I
Physical layer
modulation/demodulation generation of the physical channel structure with a guaranteed throughput controlling of radio transmission
channel assignment on request of the MAC layer detection of incoming signals sender/receiver synchronization collecting status information for the management plane
MAC layer
maintaining basic services, activating/deactivating physical channels multiplexing of logical channels
e.g., C: signaling, I: user data, P: paging, Q: broadcast
2.21DECT layers II
Network layer
similar to ISDN (Q.931) and GSM (04.08) offers services to request, check, reserve, control, and release resources at the basestation and mobile terminal resources
necessary for a wireless connection necessary for the connection of the DECT system to the fixed network
main tasks
call control: setup, release, negotiation, control call independent services: call forwarding, accounting, call redirecting mobility management: identity management, authentication, management of the location register
Satellite Systems
2.24 Applications
Traditionally
weather satellites radio and TV broadcast satellites military satellites satellites for navigation and localization (e.g., GPS)
Telecommunication
global telephone connections backbone for global networks connections for communication in remote places or underdeveloped areas global mobile communication
2.24 Applications
Traditionally
weather satellites radio and TV broadcast satellites military satellites satellites for navigation and localization (e.g., GPS)
Telecommunication
global telephone connections backbone for global networks connections for communication in remote places or underdeveloped areas global mobile communication
2.25 Basics
Stable orbit
Fg = Fc
r =3
gR 2 (2 f ) 2
2.26 Basics
elliptical or circular orbits complete rotation time depends on distance satellite-earth inclination: angle between orbit and equator elevation: angle between satellite and horizon LOS (Line of Sight) to the satellite necessary for connection
high elevation needed, less absorption due to e.g. buildings
Uplink: connection base station - satellite Downlink: connection satellite - base station typically separated frequencies for uplink and downlink
transponder used for sending/receiving and shifting of frequencies transparent transponder: only shift of frequencies regenerative transponder: additionally signal regeneration
2.27 Orbits I
Four different types of satellite orbits can be identified depending on the shape and diameter of the orbit: GEO: geostationary orbit, ca. 36000 km above earth surface LEO (Low Earth Orbit): ca. 500 - 1500 km MEO (Medium Earth Orbit) or ICO (Intermediate Circular Orbit): ca. 6000 - 20000 km HEO (Highly Elliptical Orbit) elliptical orbits
Orbit 35,786 km distance to earth surface, orbit in equatorial plane (inclination 0) complete rotation exactly one day, satellite is synchronous to earth rotation fix antenna positions, no adjusting necessary satellites typically have a large footprint (up to 34% of earth surface!), therefore difficult to reuse frequencies bad elevations in areas with latitude above 60 due to fixed position above the equator high transmit power needed high latency due to long distance (ca. 275 ms) not useful for global coverage for small mobile phones and data transmission, typically used for radio and TV transmission
Orbit ca. 5000 - 12000 km above earth surface comparison with LEO systems: slower moving satellites less satellites needed simpler system design for many connections no hand-over needed higher latency, ca. 70 - 80 ms higher sending power needed special antennas for small footprints needed Example: ICO (Intermediate Circular Orbit, Inmarsat) start ca. 2000
Bankruptcy, planned joint ventures with Teledesic, Ellipso cancelled again, start planned for 2003
2.31Routing
One solution: inter satellite links (ISL) reduced number of gateways needed forward connections or data packets within the satellite network as long as possible only one uplink and one downlink per direction needed for the connection of two mobile phones Problems: more complex focusing of antennas between satellites high system complexity due to moving routers higher fuel consumption thus shorter lifetime Iridium and Teledesic planned with ISL Other systems use gateways and additionally terrestrial networks
Several additional situations for handover in satellite systems compared to cellular terrestrial mobile phone networks caused by the movement of the satellites
Intra satellite handover
handover from one spot beam to another mobile station still in the footprint of the satellite, but in another cell
Gateway handover
Handover from one gateway to another mobile station still in the footprint of a satellite, but gateway leaves the footprint
Broadcast Systems
Sender
cyclic repetition of data blocks different patterns possible (optimization possible only if the content is known)
flat disk skewed disk multi-disk A A A B A B C B A A C C B A A C A B
Receiver
cost-based strategy: what are the costs for a user (waiting time) if a data block has been requested but is currently not cached application and cache have to know content of data blocks and access patterns of user to optimize
Frequencies
first phase: one out of 32 frequency blocks for terrestrial TV channels 5 to 12 (174 - 230 MHz, 5A - 12D) second phase: one out of 9 frequency blocks in the L-band (1452- 1467.5 MHz, LA - LI)
Sending power: 6.1 kW (VHF, 120 km) or 4 kW (L-band, 30 km) Date-rates: 2.304 Mbit/s (net 1.2 to 1.536 Mbit/s) Modulation: Differential 4-phase modulation (D-QPSK) Audio channels per frequency block: typ. 6, max. 192 kbit/s Digital services: 0.6 - 16 kbit/s (PAD), 24 kbit/s (NPAD)
Stream mode
transparent data transmission with a fixed bit rate
Packet mode
transfer addressable packets
2.38Audio coding
Goal
audio transmission almost with CD quality robust against multipath propagation minimal distortion of audio signals during signal fading
Mechanisms
fully digital audio signals (PCM, 16 Bit, 48 kHz, stereo) MPEG compression of audio signals, compression ratio 1:10 redundancy bits for error detection and correction burst errors typical for radio transmissions, therefore signal interleaving receivers can now correct single bit errors resulting from interference low symbol-rate, many symbols
transmission of digital data using long symbol sequences, separated by guard spaces delayed symbols, e.g., reflection, still remain within the guard space
a DAB ensemble combines audio programs and data services with different requirements for transmission quality and bit rates the standard allows dynamic reconfiguration of the DAB multiplexing scheme (i.e., during transmission) data rates can be variable, DAB can use free capacities for other services the multiplexer performs this kind of bit rate management, therefore, additional services can come from different providers
Solution
common standard for data transmission: MOT important for MOT is the support of data formats used in other multimedia systems (e.g., online services, Internet, CD-ROM) DAB can therefore transmit HTML documents from the WWW with very little additional effort
Bandwidth Effective
Advantages
very flexible within the reception area Ad-hoc networks without previous planning possible (almost) no wiring difficulties (e.g. historic buildings, firewalls) more robust against disasters like, e.g., earthquakes, fire - or users pulling a plug...
Disadvantages
typically very low bandwidth compared to wired networks (1-10 Mbit/s) due to shared medium many proprietary solutions, especially for higher bit-rates, standards take their time (e.g. IEEE 802.11) products have to follow many national restrictions if working wireless, it takes a vary long time to establish global solutions like, e.g., IMT-2000
Infrared
uses IR diodes, diffuse light, multiple reflections (walls, furniture etc.)
Radio
typically using the license free ISM band at 2.4 GHz
Advantages
simple, cheap, available in many mobile devices no licenses needed simple shielding possible
Advantages
experience from wireless WAN and mobile phones can be used coverage of larger areas possible (radio can penetrate walls, furniture etc.)
Disadvantages
interference by sunlight, heat sources etc. many things shield or absorb IR light low bandwidth
Disadvantages
very limited license free frequency bands shielding more difficult, interference with other electrical devices
Example
IrDA (Infrared Data Association) interface available everywhere
Example
Many different products
3.4Bluetooth
History
1994: Ericsson (Mattison/Haartsen), MC-link project Renaming of the project: Bluetooth according to Harald Bltand(was: Gormsen [son ) of Gorm], King of Denmark in the 10th century 1998: foundation of Bluetooth SIG, www.bluetooth.org 1999: erection of a rune stone at Ercisson/Lund ;-) 2001: first consumer products for mass market, spec. version 1.1 released 2005: 5 million chips/week
Routing
based on IP destination address, network prefix (e.g. 129.13.42) determines physical subnet change of physical subnet implies change of IP address to have a topological correct address (standard IP) or needs special entries in the routing tables
Transparency
mobile end-systems keep their IP address continuation of communication after interruption of link possible point of connection to the fixed network can be changed
Compatibility
support of the same layer 2 protocols as IP no changes to current end-systems and routers required mobile end-systems can communicate with fixed systems
Security
authentication of all registration messages
4.2Terminology
Advertisement
HA advertises the IP address of the MN (as for fixed systems), i.e. standard routing information routers adjust their entries, these are stable for a longer time (HA responsible for a MN over a longer period of time) packets to the MN are sent to the HA, independent of changes in COA/FA
0 7 8 15 16 23 24 S B D MGr T x lifetime type = 1 home address home agent COA identification extensions . . .
31
S: simultaneous bindings B: broadcast datagrams D: decapsulation by MN M mininal encapsulation G: GRE encapsulation r: =0, ignored T: reverse tunneling requested x: =0, ignored
4.5Encapsulation
new IP header new data outer header inner header original data
Triangular Routing
sender sends all packets via HA to MN higher latency and network load
Solutions
sender learns the current location of MN direct tunneling to this location HA informs a sender about the location of MN big security problems!
Change of FA
packets on-the-fly during the change can be lost new FA informs old FA to avoid packet loss, old FA now forwards remaining packets to new FA this information also enables the old FA to release resources for the MN
Mobile IP was developed for IPv4, but IPv6 simplifies the protocols
security is integrated and not an add-on, authentication of registration is included COA can be assigned via auto-configuration (DHCPv6 is one candidate), every node has address autoconfiguration no need for a separate FA, all routers perform router advertisement which can be used instead of the special agent advertisement; addresses are always colocated MN can signal a sender directly the COA, sending via HA not needed in this case (automatic path optimization) soft hand-over, i.e. without packet loss, between two subnets is supported
MN sends the new COA to its old router the old router encapsulates all incoming packets for the MN and forwards them to the new COA authentication is always granted
Security
authentication with FA problematic, for the FA typically belongs to another organization no protocol for key management and key distribution has been standardized in the Internet patent and export restrictions
Firewalls
typically mobile IP cannot be used together with firewalls, special set-ups are needed (such as reverse tunneling)
QoS
many new reservations in case of RSVP tunneling makes it hard to give a flow of packets a special treatment needed for the QoS
Security, firewalls, QoS etc. are topics of current research and discussions!
N7
N6
N Device mobility plus 2varying channel quality N3 Separation and merging of networks possible Asymmetric connections possible N4 time = t1 N5
N3
N5
Distance Vector
periodic exchange of messages with all physical neighbors that contain information about who can be reached at what distance selection of the shortest path if several paths available
Link State
periodic notification of all routers about the current state of all physical links router get a complete picture of the network
Example
ARPA packet radio network (1973), DV-Routing every 7.5s exchange of routing tables including link quality updating of tables also by reception of packets routing problems solved with limited flooding
Reasons
Classical approaches from fixed networks fail
Very slow convergence, large overhead
Maximal
Stability of the logical network, battery run-time, time of connectivity
Early work
on demand version: AODV
Expansion of distance vector routing Sequence numbers for all routing updates
assures in-order execution of all updates avoids loops and inconsistencies
Maintaining a path
only while the path is in use one has to make sure that it can be used continuously
Path discovery
broadcast a packet with destination address and unique ID if a station receives a broadcast packet
if the station is the receiver (i.e., has the correct destination address) then return the packet to the sender (path was collected in the packet) if the packet has already been received earlier (identified via ID) then discard the packet otherwise, append own address and broadcast packet
Optimizations
limit broadcasting if maximum diameter of the network is known caching of address lists (i.e. paths) with help of passing packets
stations can use the cached information for path discovery (own paths or paths for other hosts)
Maintaining paths
after sending a packet
wait for a layer 2 acknowledgement (if applicable) listen into the medium to detect if other stations forward the packet (if possible) request an explicit acknowledgement
if a station encounters problems it can inform the sender of a packet or look-up a new path locally
LIR is very simple to implement, only information from direct neighbors is necessary
4.21Motivation I
Research activities
Performance Congestion control Efficient retransmissions
4.22Motivation II
Problems
snooping TCP does not isolate the wireless link as good as I-TCP snooping might be useless depending on encryption schemes
4.25Indirect TCP II
Advantages
no changes in the fixed network necessary, no changes for the hosts (TCP protocol) necessary, all current optimizations to TCP still work transmission errors on the wireless link do not propagate into the fixed network simple to control, mobile TCP is used only for one hop between, e.g., a foreign agent and mobile host therefore, a very fast retransmission of packets is possible, the short delay on the mobile hop is known
Disadvantages
loss of end-to-end semantics, an acknowledgement to a sender does now not any longer mean that a receiver really got a packet, foreign agents might crash higher latency possible due to buffering of data within the foreign agent and forwarding to a new foreign agent
Supervisory host
no caching, no retransmission monitors all packets, if disconnection detected
set sender window size to 0 sender automatically goes into persistent mode
Advantages
maintains semantics, supports disconnection, no buffer forwarding
Disadvantages
loss on wireless link propagated into fixed network adapted TCP on wireless link
Advantage
simple changes result in significant higher performance
Disadvantage
further mix of IP and TCP, no transparent approach
4.28Transmission/time-out freezing
TCP freezing
MAC layer is often able to detect interruption in advance MAC can inform TCP layer of upcoming loss of connection TCP stops sending, but does now not assume a congested link MAC layer signals again if reconnected
Advantage
scheme is independent of data
Disadvantage
TCP on mobile host has to be changed, mechanism depends on MAC layer
Advantage
much higher efficiency
Disadvantage
more complex software in a receiver, more buffer needed at the receiver
TCP phases
connection setup, data transmission, connection release using 3-way-handshake needs 3 packets for setup and release, respectively thus, even short messages need a minimum of 7 packets!
Advantage
efficiency
Disadvantage
requires changed TCP mobility not longer transparent
Approach
Indirect TCP Snooping TCP
Chapter 5
Characteristics
stateless, client/server, request/response needs a connection oriented protocol (TCP), one connection per request (some enhancements in HTTP 1.1) primitive caching and security
Problems
designed for large bandwidth (compared to wireless access) and low delay big and redundant protocol headers (readable for humans, stateless, therefore big headers in ASCII) uncompressed content transfer using TCP
huge overhead per request (3-way-handshake) compared with the content, e.g., of a GET request slow-start problematic
Caching
quite often disabled by information providers to be able to create user profiles, usage statistics etc. dynamic objects cannot be cached
numerous counters, time, date, personalization, ...
today: many user customized pages, dynamically generated on request via CGI, ASP, ...
Mobile devices
often only small, low-resolution displays, very limited input interfaces (small touch-pads, soft-keyboards)
Additional features
animated GIF, Java AWT, Frames, ActiveX Controls, Shockwave, movie clips, audio, ... many web pages assume true color, multimedia support, high-resolution and many plug-ins
Goals
deliver Internet content and enhanced services to mobile devices and users (mobile phones, PDAs) independence from wireless network standards open for everyone to participate, protocol specifications will be proposed to standardization bodies applications should scale well beyond current transport media and device types and should also be applicable to future developments
Platforms
e.g., GSM (900, 1800, 1900), CDMA IS-95, TDMA IS-136, 3rd generation systems (IMT-2000, UMTS, W-CDMA, cdma2000 1x EV-DO, )
Forum
was: WAP Forum, co-founded by Ericsson, Motorola, Nokia, Unwired Planet, further information www.wapforum.org now: Open Mobile Alliance www.openmobilealliance.org (Open Mobile Architecture + WAP Forum + SyncML + )
Goals of WDP
create a worldwide interoperable transport system with the help of WDP adapted to the different underlying technologies transmission services such as SMS, GPRS in GSM might change, new services can replace the old ones
Additionally, WCMP (wireless Control Message Protocol) is used for control/error report (similar to ICMP in the TCP/IP protocol suite)
Goals
data integrity
prevention of changes in data
privacy
prevention of tapping
authentication
creation of authenticated relations between a mobile device and a server
WTLS
is based on the TLS (Transport Layer Security) protocol (former SSL, Secure Sockets Layer) optimized for low-bandwidth communication channels
Goals
different transaction services, offloads applications
application can select reliability, efficiency
supports peer-to-peer, client/server and multicast applications low memory requirements, suited to simple devices (< 10kbyte ) efficient for wireless transmission
segmentation/reassembly selective retransmission header compression optimized connection setup (setup with data transfer)
No explicit connection setup or release is available Services for higher layers are called events
Used Mechanisms
Reliability
Unique transaction identifiers (TID) Acknowledgements Selective retransmission Duplicate removal
Optional: concatenation & separation of messages Optional: segmentation & reassembly of messages Asynchronous transactions Transaction abort, error handling Optimized connection setup (includes data transmission)
support of client/server, transactions, push technology key management, authentication, Internet security services session management (interruption, resume,...)
Open topics
QoS support) Group communication Isochronous media objects management
WSP
Session Management (class 0, 2) Method Invocation (Kl. 2) Error Report Push (class 0) Confirmed Push (class 1) Session suspend/resume (class 0, 2)
Goals
network independent application environment for low-bandwidth, wireless devices integrated Internet/WWW programming model with high interoperability
Requirements
device and network independent, international support manufacturers can determine look-and-feel, user interface considerations of slow links, limited memory, low computing power, small display, simple user interface (compared to desktop computers)
Components
architecture: application model, browser, gateway, server WML: XML-Syntax, based on card stacks, variables, ... WMLScript: procedural, loops, conditions, ... (similar to JavaScript) WTA: telephone services, such as call control, text messages, phone book, ... (accessible from WML/WMLScript) content formats: vCard, vCalendar, Wireless Bitmap, WML, ...
Features
text and images user interaction navigation context management
5.16 WMLScript
Example
calling a number (WML) wtai://wp/mc;07216086415 calling a number (WMLScript) WTAPublic.makeCall("07216086415");