600 likes | 614 Views
行動多媒體通訊標準參考模式 (Reference Models) 報告者:童曉儒. Outline. Introduction Network-Layer Mobility Transport-Layer Mobility Application-Layer Mobility Conclusion. Introduction.
E N D
行動多媒體通訊標準參考模式(Reference Models) 報告者:童曉儒
Outline • Introduction • Network-Layer Mobility • Transport-Layer Mobility • Application-Layer Mobility • Conclusion
Introduction • Mobility means the ability of a mobile host (MH) to overcome the location-dependent nature of IP address by a suitable translation mechanism, and to send and receive datagrams efficiently from any location.
Network-Layer Mobility Protocol • Macromobility • Macromobility refers to user mobility that is infrequent and also spans considerable space, often between several administrative domain. • Micromobility • Micromobility protocols operate in a restricted administrative domain and provide the MHs within that domain with connections to the core network, while keeping signaling cost, packet loss, and handover latency as low as possible.
Network-Layer Mobility Protocol • Macromobility Protocols • Mobile IP • Micromobility Protocols • Cellular IP (CIP) • Intra Domain Mobility Management Protocol (IDMP)
Mobile IP • Mobile Node (MN) • the node under consideration • Home Agent (HA) • a stationary network node (e.g., a router) at the home network • Foreign Agent (FA) • A network node (e.g. a router) in the foreign network • Care-of Address (COA) • The address in the foreign network • Correspondent Node (CN) • communication partner
MN mobile node CN end-system router Illustration HA Internet router home network (physical home network for the MN) FA foreign network router (current physical network for the MN)
Mobile IP Operations • Basic idea of Mobile IP: a MN acquires a COA in a foreign network from a foreign agent and registers to the home agent; all messages sent to its home address is forwarded by its home agent to its COA • Three steps • discovering home/foreign agents and the care-of address (COA) • registering the care-of address • data transfer using the care-of address
Discovering the Agents and Care-of Address • Mobile IP discovery process • (home or foreign) agent broadcasts advertisements at regular intervals • announce the network • list one or more available care-of addresses • mobile node takes a care-of address • mobile node can also send solicitation to start the process
Registering the Care-of Address • Once a mobile node has a care-of address, its home agent must find out about it • Registration process • mobile node sends a registration request to its home agent with the care-of address information • home agent approves/disapproves the request • home agent adds the necessary information to its routing table • home agent sends a registration reply back to the mobile node
Registration Operations in Mobile IP • MH = Mobile Host HA = Home Agent • FA = Foreign Agent Discussion: what is the major challenge of the registration process?
Data Transfer from the Mobile Node HA 1 MN Internet home network sender FA foreignnetwork 1. Sender sends to the IP address of the receiver as usual, FA works as default router CN receiver
Data Transfer from the Mobile Node HA 2 MN Internet home network 3 receiver foreign network FA 1. Sender sends to the IP address of MN, HA intercepts packet 2. HA tunnels packet to COA, here FA, by encapsulation 3. FA forwards the packetto the MN 1 CN sender
Tunneling Operations in Mobile IP Correspondent Node X
Micromobility Solutions • To reduce signaling load and delay to the home network during movements within one domain • Tunnel-based micro-mobility schemes • Mobile IP regional registration (MIP-RR) • Hierarchical Mobile IP (HMIP) • Intradomain mobility management protocol (IDMP) • Routing-based micro-mobility schemes • Cellular IP (CIP) • Handoff Aware Wireless Access Internet Infrastructure (HAWAII)
Cellular IP • Cellular IP represents a new mobile host protocol • simple, and flexible protocol for highly mobile hosts • CIP supports local mobility & efficiently internet works with Mobile IP
Packets will be first routed to the host's home agent and then tunneled to the gateway Packets transmitted by mobile hosts are first routed to the gateway and from there on to the Internet MOBILE IP The gateway "detunnels'' packets and forwards them toward base stations CELLULAR IP
X : from F X : from C X : from E Internet with Mobile IP E G GW C D A X F R B Cellular IP Handoff X : from D X : from D, E
Handoff • Cellular IP handoff • Hard handoff • Semi handoff • Hard handoff • During the Handoff Latency the downlink packets are lost. • Semi handoff • Improvement over Hard Handoff
Hard-Handoff 1.MN From Old BS to New BS 2.MN send Route Update Packet to GW 3.BSs are refresh RS 4.GW send data packets to MN
Semi soft-Handoff • Improvement over Hard Handoff ; NO packet loss & smooth handoff. • Need for buffering at the cross over point :For smooth handoff
IDMP • IDMP is a two-level generalization of the Mobile IP architecture, with a special node called the mobility agent (MA) providing an MN a domain-wide stable point of packet redirection • It will be independent of any specific solution for global (interdomain) mobility management • IDMP offers intradomain mobility by using multi-CoA • The mobility agent (MA) is similar to a MIP-RR GFA and acts as a domain-wide point for packet redirection • A subnet agent (SA) provides subnet-specific mobility services
IDMP (cont’d) • Local care-of address (LCoA) • This identifies the MN’s attachment to the subnet • Unlike MIP’s CoA, the LCoA in IDMP only has local scope • By updating its MA of any changes in the LCoA, the MN ensures that packets are correctly forwarded within the domain • Global care-of address (GCoA) • This address resolves the MN’s current location only up to a domain-level granularity and hence remains unchanged as long as the MN stays within a single domain • By issuing global binding updates that contain this GCoA, the MN ensures that packet are routed correctly to its present domain
Path setup • At power-up, MN obtains a LCoA from SA • In IDMP’s SA mode, MN must obtain LCoA from Agent Advertisement of its SA • In collocated mode, MN obtains its LCoA from DHCP server • MN receives MA’s CoA, GCoA, from SA or DHCP server • MN informs the MA of its new LCoA using intradomain location update msg and updates its HA with GCOA • Now, packers from remote CN are forwarded to MN’s GCoA and intercepted by MA, tunnels them to MN’s current LCoA
IDMP message flow during the initial intradomain location update
Handoff • MN moves from SA2 to SA3 subnet, MN or SA2 generated movementImminent msg to MA • On reception of this msg, MA multicasts all inbound packets to the entire set of neighboring SA(SA1,SA3) which buffer them in per-MN buffers • When MN performs a subnet-level registration with SA3, SA3 can immediately forward all buffered packets to the MN • Buffered packets at other SAs are discarded after specified time • MN updates the MA with its intra-domain location
Paging • Paging Area • A set of subnets • An idle MN updates its location only if it detects moved out of its current PA • When MA receives packets for a MN which is currently registered but in idle mode, it multicasts Page Solicitation packet to all subnets in current PA • When the dormant MN is paged, it obtains LCoA from the SA to which it is currently attached and sends a location update to the MA • When the MN reregisters with the MA, the buffered packets in the MA are forwarded to the MN
Transport-Layer Mobility • The transport layer maintains the true end-to-end connection, whereas the lower layer is completely ignorant of this end-to-end semantic. • Transport-Layer Mobility Protocol • TCP-Migrate
Sliding windows are used to transmit data stream efficiently and for flow control
TCP-Migrate • Migrate TCBs from established connections • Special SYN packets include a Migrate option • Migrate SYNs do not establish new connections, but migrate previously-established ones • Established connections are referenced by a token • Maintain all old state (sequence space, options, etc.) • Tokens negotiated during initial connection establishment through the use of a Migrate-Permitted option.
TCP-Migrate • After a successful token negotiation, TCP connections may be uniquely identified • < source address, source port, dest address, dest port > • < source address, source port, token >
-TCP Migrate Permitted option -TCP Migrate option TCP Migrate Permitted option TCP Migrate option
TCP Migrate Permitted option • Hosts wishing to initiate a migrateable TCP connection send a Migrate-Permitted option in the initial SYN segment. • the Migrate-Permitted option comes in two variants—the insecure version, of length 3, and the secure version, with length 20. • Computing value of token in the Migrate-Permitted option exchange.
TCP Migrate option • The Migrate option is used to request the migration of a currently open TCP connection to a new address. • It is sent in a SYN segment to a host with which a previously-established connection already exists. • A token • is computed in the Migrate-Permitted option exchange. • is negotiated between both ends during the initial connection establishment. • The previously broken TCP connection can be resumed
Sequence number of host i Sequence number of host j After the initiating host’s reception of the SYN/ACK with the Migrate-Permitted , both hosts can then compute a shared secret key.
Application-Layer Mobility • Session Initiation Protocol (SIP)
Session Initiation Protocol (SIP) • The Session Initiation Protocol (SIP) is gaining aceptance as an application-layer signaling protocol for Internet multimedia and telephony services, as well as for wireless Internet application. • These session include Internet multimedia conference, distance learning , Internet telephone calls , multimedia distribution and similar applications.
Session Initiation Protocol (SIP) • Session can be advertised using multicast protocols such as SAP, electronic mail, news groups, web pages or directories ( LDAP), among others. • SIP transparently supports name mapping and redirection services, allowing the implementation of ISDN and Intelligent Network telephony subscriber services.
Resource Reservation Protocol (RSVP) Real-time protocol (RTP) Session Initiation Protocol (SIP) Real-time Streaming protocol (RSTP) Session Announcement protocol (SAP) Session Description protocol (SDP) Incorporating protocols
User @ host The user part is a user name or a telephone number The host part is either a domain name or a numeric network address SIP Addressing