Docsity

Mobile Applications - Mobile Communications - Lecture Slides, Slides of Mobile Communication Systems

Partial preview of the text

Download Mobile Applications - Mobile Communications - Lecture Slides and more Slides Mobile Communication Systems in PDF only on Docsity!

Mobile Applications

• Cellular Networks

– Email/Web/Location services

– Intranet application access

– Wireless application protocol

• Wireless LANs

– Client-Server adaptations

– Disconnected operations

• Ad-hoc Networks

– Vehicular applications

– Emergencies

• Data broadcasting

• Mobile agents

Docsity.com

Variability of the Mobile Environment

Connectivity

  • connected
  • semi-connected

(asymmetric)

  • weakly connected
  • disconnected

Mobile Device Capability

  • form factor
  • Windows based GUI
  • multimedia
  • real-time multimedia

Mobility

  • stationary
  • nomadic (pedestrian speed)
  • mobile (vehicular speed)
  • roaming (mobile across networks)

Source: HelalDocsity.com

Mobile Applications - 2

• Web access

– outdoor Internet access

– intelligent travel guide with up-to-date location

dependent information

• Information services

– push: stock quotes; pull: nearest cash ATM

– find nearest printer (Jini services)

• Disconnected operations

– file-system caching for off-line work

– mobile agents, e.g., shopping

• Entertainment

– ad-hoc networks for multi user games

Docsity.com

World Wide Web and Mobility

HTTP/HTML have not been designed for mobile applications/devices

• HTTP 1.0 characteristics

– designed for large bandwidth, low delay

– stateless, client/server, request/response communication

– connection oriented, one connection per request

– TCP 3-way handshake, DNS lookup overheads

– big protocol headers, uncompressed content transfer

– primitive caching (often disabled, dynamic objects)

– security problems (using SSL/TLS with proxies)

• HTML characteristics

– designed for computers with “high” performance, color

high-resolution display, mouse, hard disk

– typically, web pages optimized for design, not for

communication; ignore end-system characteristics

Docsity.com

Wireless Application Protocol

  • wapforum.org: co-founded by Ericsson, Motorola, Nokia, Phone.com
  • Goals
    • deliver Internet services to mobile devices
    • independence from wireless network standards
    • GSM, CDMA IS-95, TDMA IS-136, 3G systems (UMTS, W-CDMA)
  • Browser
    • “Micro browser”, similar to existing web browsers
  • Script language
    • Similar to Javascript, adapted to mobile devices
  • Gateway
    • Transition from wireless to wired world
  • Server
    • “Wap/Origin server”, similar to existing web servers
  • Protocol layers
    • Transport layer, security layer, session layer etc.
  • Telephony application interface
    • Access to telephony functions Docsity.com

WAP: Reference model and

protocols

Bearers (GSM, CDPD, ...)

Security Layer (WTLS)

Session Layer (WSP)

Application Layer (WAE)

TCP/IP,^ Transport Layer (WDP) UDP/IP, media

SSL/TLS

HTML, Java

HTTP

Internet WAP

WAE comprises WML (Wireless Markup Language), WML Script, WTAI etc.

Source: Schiller

Transaction Layer (WTP)

additional services and applications

WCMP
A-SAP
S-SAP
TR-SAP
SEC-SAP
T-SAP

Docsity.com

WAP: Network elements

fixed network wireless network

WAP

proxy

WTA

server

filter/ WAP web proxy server

filter

PSTN

Internet

Binary WML: binary file format for clients

Binary WML

Binary WML

Binary WML

HTML
HTML
HTML WML
HTML^ WML

Source: SchillerDocsity.com

Origin Servers

WAE: Logical model

web server

other content server

Gateway Client

other WAE user agents

WML

user agent

WTA

user agent

encoders & decoders

encoded request

request

encoded response with content

response with content

push content

encoded push content

Source: SchillerDocsity.com

WML: Example

•
•
•
  • This is a simple first card!
  • On the next you can choose ...
  • ... your favorite pizza:

Source: SchillerDocsity.com

Application Adaptations for Mobility

  • System-transparent, application-transparent
    • the conventional, “ unaware ” client/server model
  • System-aware, application-transparent
    • the client/proxy/server model
    • the disconnected operation model
  • System-transparent, application-aware
    • dynamic client/server model
    • data broadcasting/caching
  • System-aware, application-aware
    • the mobile agent model

Docsity.com

Web Proxy in WebExpress

The WebExpress Intercept Model

Source: HelalDocsity.com

Disconnected Operations: File

Systems

  • Goals
    • Efficient/transparent access to shared files within a mobile environment
    • Support for disconnected operations while maintaining data consistency
    • Standard file systems (e.g., NFS) are very inefficient, almost unusable
  • Approaches
    • Replication of data (copying, cloning, caching)
    • Getting data in advance (hoarding, pre-fetching)
  • Main problem: consistency
    • Typical mechanisms: strong consistency (via atomic updates)
      • Invalidation of caches through a server
      • Cannot be used in mobile environments
      • Mobile computer may not be connected to network
  • One solution: weak consistency
    • Tolerate occasional inconsistencies
    • Apply conflict resolution strategies subsequently
    • Use version numbering, time-stamps (content independent)
    • Use dependency graphs (content dependent)

Docsity.com

File Systems - Coda

  • Hoarding
    • user can pre-determine a file list

with priorities

  • contents of the cache determined

by the list and LRU strategy

  • explicit pre-fetching possible
  • periodic updating
  • Consistency
  • asynchronous, background

comparison of files

  • system weighs speed of updating

against minimization of network

traffic

  • Cache misses
    • function of file size and bandwidth
    • modeling of user patience: how

long can a user wait for data

without an error message?

  • States of a client

hoarding

write disconnected

emulating

disconnection

disconnection

connection

strong connection weak connection

Source: SchillerDocsity.com

Mobile Data Management

  • Maximize query capacity of servers, minimize energy/query at client
    • asymmetric links (high b/w from server to client; low b/w from client to

server)!

  • Pull data delivery: clients demand, servers respond
    • clients request (validate) data by sending uplink messages to server
  • Push data delivery: servers broadcast data, clients listen
    • servers push data (and validation reports) through a broadcast channel,to

a community of clients

  • data are selected based on profiles and registration in each cell
  • client energy is saved by needing receive mode only
  • scales to any number of clients
  • Push and Pull data dissemination: Sharing the channel
  • Selective Broadcast: Servers broadcast "hot" information only
  • On-demand Broadcast: Servers choose the next item based on requests

Docsity.com