Title: What is Mobile Computing?
1- What is Mobile Computing?
- Wireless Communication Systems
- Mobile Communication Systems Architecture
- Key Technologies of Mobile Computing
- Applications
2Key Technologies of Mobile Computing
- Positioning
- Mobility management
- Routing
- Mobile agent
3Positioning Needs of Pedestrains
?????GPS,??????? ???????indoor????,???????
4(No Transcript)
5Positioning Technologies
- Concepts of positioning
- Satellite-based solutions
- Network-based solutions
- IMU-based solutions
6Concepts of Positioning
??????????
?????survey network infrastructure, BS????,????
????,??????????(??)???????
7Comparisons of Positioning Technologies
- Satellite-based solutions
- higher hardware cost (terminal-based positioning)
- function well in outdoor environments??????????
- example GPS, A-GPS, D-GPS
- Network-based solutions
- need communication infrastructure e.g. base
station - more suitable in indoor environments?infrastruct
ure??????? - example WiFi, PHS, GSM
8- IMU (Inertial Measurement Unit)-based solutions
- extra hardware costG-sensor (?????) ?M-sensor
(????) - without any infrastructure support
- inherently accumulated errors???????????????,???
????? - usually operate as auxiliary component
9Satellite-Based Solutions
- Triangulation (Trilateration)
- triangulation??GPS?BS??,??TOA (Time of
Arrival)??,?????????????? - trilateration a method for determining the
intersections of three sphere surfaces given the
centers and radii of the three spheres. - measure distances or angles of at least three
reference points - usually need specific hardware supports
- widely used in many positioning systems, such as
GPS
10GPS
- GPS
- distance is measured by time of arrival
(ToA)?????????????????,???????????? - need very precise time synchronization
- 1µs time shift will result in 300m distance error
- GPS systems
- USA GPS
- Russia GLONASS
- Europe Galileo
- China Beidou
11Data Transferred from Satellites
- Constellation ??,????,????? of 24 satellites
- L1 frequency for civilian use
- L2 frequency for military and government use
- 1500 bits/frame, 50bps (pretty low)????????frame
??????,????GPS????????? - Time of week, TOW
12Data Transferred from Satellites
- Broadcast Ephemeris ??????(?????)?? (accurate
position) - Almanac ????
- At least 30 sec. for first fix????30
sec????,??????????,??????LBS??30 sec????
13AGPS (Assisted GPS)
- GPSs weaknesses
- TTFF (Time To First Fix) of GPS gt 30 seconds
(average case 23 min) - signal cannot be correctly received in buildings
or sheltered areas - Possible solutions
- A-GPS
- ??BS??????,????????
- FCC a preferred solution for E911
- operators no need to change telecommunication
infrastructure
14AGPS Concept
15Positioning Errors of GPS
- Standard Positioning Service (SPS)
- C/A-Code (Coarse/Acquisition Code)
- SA (Selective Availability)
- ??2000??US Army?????SA??,?????150m
- ??2000??,??SA??,??????25m,??????????,?????????LBS?
?????? - horizontal accuracy 100m
- vertical accuracy 156m
- commercial use
16- Deviation is more than 5 meters
- weather error
- multipath error
- GDOP (Geometric Dilution of Precision)
- receiver error
- Ephemeris error
- SA (Selective Availability)
- cycle slips
17DGPS (Differential GPS)
- Goal increase the accuracy of positions derived
from GPS receivers - Use base receivers with known locations nearby
the GPS receivers to achieve high positioning
accuracy (lt 5m)??????????,????????????,??????(co
rrections)????????
18- The cost of build-in GPS chip is more than 10 of
the material cost of mobile phones - The number of mobile phones equipped with GPS
19OBSERVATION
- Americans time spent
- indoors 89
- transport 6
- outdoors 5
20Network-Based Postioning
- Properties
- need communication infrastructure
- more suitable in indoor environments
- example WiFi, PHS, GSM
- Site survey
- deployment of base stations
- radio map
- Categories
- cell-ID
- triangulation / trilateration
- fingerprinting
21Cell-ID Localization
Error 200m1km
- User????BS
- ??????site survey??BS??
- Cell-ID localization????,????(?????????)
22Triangulation Localization
Problems propagation attenuation, multipath
- ??????????????
- ??????BS????,????,???????
- ?????????,??multipath???
23Fingerprinting Localization
Indoor is better, error 3m
1. ??2000?,Microsoft Lab??, ????????? 2.
?????site survey,???????, ?????????????BS????
(Radio Pattern) 3. ????????DB (??????
?????) 4. ?????Skyhook Wireless Technology
Used in Revolutionary iPhone and iPod touch
(????802.11??) 5. ??????indoor (?????3m),
???????????????
24IMU-Based Positioning
- Properties
- without any infrastructure support
- inherently accumulated errors
- usually operate as auxiliary component
- Extra hardware cost
- inertia reference
- relative acceleration (G-Sensor ?????,
Pedometer ?????? Function) - relative angle (M-Sensor ????, Compass Function)
25Summary of Positioning Technologies
- A reliable and ubiquitous positioning technology
is the key factor of LBS - There is no dominating positioning technology
- Hybrid positioning may be the answer
26SMS for Location
- Simple format for mobile phones short message
service ?????? - Google Maps and Google Latitude support announce
location via SMS (proprietary format). - Source ???????GPS?????????????
27OPEN GeoSMS
- Examples
- OMIA,12504.8015,N12133.9766,E1101,02-81018898,
?????????? - GeoSMS/22502.01,N12133.851,EP101/02-81018898/?
????????? - Source ???????GPS?????????????
28Application Car Accident Insurance Process
29Key Technologies of Mobile Computing
- Positioning
- Mobility management
- Routing
- Mobile agent
30Mobile Management Cellular System
31GSM System Architecture
32GSM Location Area Hierarchy
33Handoff
34Inter-LA Registration
35Inter-MSC Registration
36Inter-VLR Registration
37Call Origination Procedure
38Call Termination Procedure
39Mobile Management Mobile IPv4
- Mobility issues in IP Networks
- once a mobile terminal moves to a new subnet, a
correspondent node needs to use the mobiles new
IP address - it is difficult to force every possible
correspondent node to keep track when a mobile
terminal may change its IP address and what the
mobiles new address will be - changing IP address will cause on-going TCP
sessions to break
40- Mobility management should
- ensure on-going TCP connection does not break
- restore quickly if TCP connection breaks
41Home Network
- Home address
- a globally unique and routable IP address
- preconfigured or dynamically assigned
- Home network
- the network whose network address prefix matches
that of the mobile terminals home address - Home agent (HA)
- maintain up-to-date location information for the
mobile - intercept packets addressed to the mobiles home
address - tunnel packets to the mobiles current location
42Note Network Prefix
Class A Network (/8 Prefixes) Class B Networks
(/16 Prefixes) Class C Networks (/24 Prefixes)
43- IP addresses are divided into three different
classes - each of the following figure defines
different-sized network and host parts - there are also class D addresses specify a
multicast group, and class E addresses that are
currently unused - in all cases, the address is 32 bits long
44IP addresses (a) class A (b) class B (c) class
C
45- the class of an IP address is identified in the
most significant few bits - if the first bit is 0, it is a class A address
- if the first bit is 1 and the second is 0, it is
a class B - if the first two bits are 1 and the third is 0,
it is a class C address - of the approximately 4 billion ( 232)possible IP
addresses - one-half are class A
- one-quarter are class B
- one-eighth are class C
46- Class A addresses
- 7 bits for the network part and 24 bits for the
host part - 126 ( 27-2) class A networks (0 and 127 are
reserved) - each network can accommodate up to 224-2 (about
16 million) hosts (again, two are reserved
values) - Class B addresses
- 14 bits for the network part and 16 bits for the
host part - 65,534 ( 216-2) hosts
47- Class C addresses
- 21 bits for the network part and 8 bits for the
host part - 2,097,152 ( 22l) class C networks
- 254 hosts (host identifier 255 is reserved for
broadcast, and 0 is not a valid host number)
48- IP addresses are written as four decimal integers
separated by dots - each integer represents the decimal value
contained in 1 byte ( 0255) of the address,
starting at the most significant - eg., 171.69.210.245
- Internet domain names (DNS)
- also hierarchical
- domain names tend to be ASCII strings separated
by dots, e.g., cs.nccu.edu.tw
49Foreign Network
- Care-of Address (CoA)
- assigned to the mobile by the foreign network
- a mobile uses its CoA to receive IP packets in
the foreign network
50- Foreign agent (FA)
- provides CoAs and other necessary configuration
information (e.g., address of default IP router)
to visiting mobiles - de-tunnels packets from the tunnel sent from a
visiting mobiles HA and then delivers the
packets to the visiting mobile - acts as the IP default router for packets sent by
visiting mobile terminals - helps visiting mobiles to determine whether they
have moved into a different network
51Two Types of COAs in MIPv4
- Foreign Agent CoA
- an IP address of a FA
- each FA is responsible for providing FA CoAs to
visiting mobiles - when FA CoA is used, the mobiles HA tunnels the
packets to the mobiles current FA that addressed
to the mobiles home address - the FA will then de-tunnel the packets and
deliver them to the mobile
52(No Transcript)
53- Co-located CoA
- a CoA acquired by a mobile terminal through any
method external to Mobile IP - example, a mobile may use the Dynamic Host
Configuration Protocol (DHCP) to obtain a
temporary address dynamically - the mobile terminals HA tunnels the packets
addressed to the mobiles home address directly
to the mobile itself these packets do not have
to go through any FA
54(No Transcript)
55Key Technologies of Mobile Computing
- Positioning
- Mobility management
- Routing
- Mobile agent
56Ad Hoc Routing Protocols
- Ad hoc routing protocols must deal with
- high power consumption
- low bandwidth
- high error rates
- Ad hoc routing protocols category
- table-driven
- source-initiated (demand-driven)
57Ad hoc routing protocols
Source-initiated on-demand
Table-driven
DSDV
WRP
AODV
LMR
ABR
DSR
CGSR
SSR
TORA
58Table-Driven Routing Protocols
- Table-driven routing protocols
- maintain consistent, up-to-date routing
information - require each node to maintain one or more tables
to store routing information - Protocols
- Destination-Sequenced Distance-Vector Routing
(DSDV) - Clusterhead Gateway Switch Routing (CGSR)
- Wireless Routing Protocol (WRP)
59Source-Initiated On-Demand Routing Protocols
- Source-initiated on-demand routing protocols
- creates routes only when desired by the source
node - Some routing scheme
- Ad Hoc On-Demand Distance Vector Routing (AODV)
- Dynamic Source Routing (DSR)
- Temporally Ordered Routing Algorithm (TORA)
- Associativity-Based Routing (ABR)
- Signal Stability Routing (SSR)
60Ad Hoc On-Demand Distance Vector Routing (AODV)
- A source node initiates a path discovery process
when - desires to send a message
- does not already have a valid route
- Path discovery
- broadcasts a route request (RREQ) packet to its
neighbors - neighbors then forward the request to their
neighbors until either the destination or an
intermediate node with a "fresh enough" route to
the destination is located
61Propagation of the PREQ
62- RREQ RREP
- intermediate nodes record the address of the
neighbor from which the first copy of the
broadcast packet is received - if additional copies of the same RREQ are later
received, these packets are discarded - once the RREQ reaches the destination, the
destination node responds by unicasting a route
reply (RREP) packet back - if a route entry is not used within the specified
lifetime, the route will be deleted
63Path of the RREP to the Source
64Key Technologies of Mobile Computing
- Positioning
- Mobility management
- Routing
- Mobile agent
65What is a Mobile Agent?
- Mobile Agent (Intelligent Message)
- an electronic message carries a computer program
either procedural or declarative - it can be executed by the receiving servers on
behalf of the originating client - the program in the message can instruct a
receiving server to forward the message to
another server continuously in a pipeline fashion
66Mobile Agent Model
67- The agent model is based on the concepts of
places and agents - places
- places provide the environment for executing
mobile agents - a place is entirely located on a single node of
the underlying network - an agent system consists of a number of these
places
68- agents
- mobile agents are active entities, which may move
from place to place to meet other agents and to
access the places' services - an agent can be identified by a globally unique
agent identifier, which is generated at the
agent's creation time and is not changed
throughout its life - communication between agents may be local or
global
69Example of a Mobile Agent
- ??l ??????
- ??2 ?????????(airline A)?????
- ??3 ????????????????????????
- ??4 ????AVIS?????????
- ??5 ?????????,?????????????,?????
- ??6 ?????????????????
- ??7 ???????????,?????????????
- ??8 ??????????(PC?smart phone?)
- ??9 ???????
- ??10 ??????
70Mobile Agent Itinery
71Classification of Agents in a Mobile Agent System
- Mobile agents
- Service agents
- system services
- application-level services
72Types of Agents Communication
- Agent / service agent interaction client/server
- Mobile agent / mobile agent interaction
peer-to-peer - Anonymous agent group interaction
- User / agent interaction
73Agent / Service Agent Interaction
- Service agents are the representatives of
services in the agent world, the style of
interaction is typically client/server - Services are requested by issuing requests,
results are reported by responses - An RPC-like communication mechanism should be
provided
74Client Server Paradigm
75Mobile Agent / Mobile Agent Interaction
- The rule of the communication partners in this
type are peer-to-peer rather than client/server - Each mobile agent has its own agenda and hence
initiates and controls its interactions according
to its needs and goals
76Mobile Agent Paradigm
77Why Mobile Agents for Mobile Computing?
- Resolve the problems with wireless communications
- noisy
- expensive
- low bandwidth
- unreliable (intermittent connection)
- limited battery life
- Scalable clients
78- Resource optimization
- if an agent's goals require extensive
communication with a particular resource on the
network, moving closer to the resource can reduce
or eliminate network traffic, allowing the agent
to perform its duties more quickly - Distributed parallel processing
- agents can move to lightly loaded machines when
necessary and delegate subtasks to other mobile
agents, allowing true parallel processing
79- Reliability
- mobility and autonomy allow an agent to move from
its point of origin into a network and continue
to operate, even if the originating device is
temporarily or permanently disconnected from the
network - by doing so, the agent can provide services and
satisfy predefined goals without user intervention
80Mobile Agent Systems