Professional Documents
Culture Documents
WAP and Wireless WWW
WAP and Wireless WWW
Contents
Introduction
WAP Objectives
WAP Programming Model
WAP Protocol Stacks
WAE (Wireless Application Environment)
WSP (Wireless Session Protocol)
WTP (Wireless Transaction Protocol)
WTLS (Wireless Transaction Layer Security)
WDP (Wireless Datagram Protocol)
Wireless WWW
Introduction
Wireless Application Protocol
Filter
WAP protocol stack
WAP protocol stack
Scalable environment for application
development
Well defined interfaces to other services
WAP protocol stack
Wireless Application Environment (WAE)
Provides model for accessing WWW URLs
Uses uniform resource identifiers (URIs)
Uses WML standard markup language, an
efficient binary encoded form of HTML
Provides a scripting language analogous to
JavaScript
Provides a set of telephony applications
WAP protocol stack
Wireless Session Protocol (WSP)
Push mechanism reduces number of requests
made by client
Push to all registered clients useful in multicast
or broadcast applications
Binary equvalent to HTTP
Sessions can be suspended and reestablished
to save power and avoid overhead
WAP protocol stack
Wireless Transaction Protocol (WTP)
Lightweight version of TCP
Low overhead: no setup or teardown
3 classes of service:
Class 0: unreliable send with no ACK
Class 1: reliable push
Class 2: classical request-data-ACK cycle
WAP protocol stack
Wireless Transport Layer Security (WTLS)
Security between WAP client and WAP server
Features: datagram support, optimized
handshake, dynamic key refeshing
Goals: data integrity, privacy, authentication,
and DoS protection
WAP protocol stack
Wireless Datagram Protocol (WDP)
Defines transport layer
Contains bearer-specific layer that optimizes
data transfer to SMS, USSD, CSD, or CDMA
Wireless control message protocol (WCMP) is
responsible for error-handling
WAP 2.0 and i-mode
i-mode
Packet switched network built on circuit switched
mobile phone network
Billed by the packet
Uses cHTML (compact HTML)
WAP 2.0
Packet switched
Interoperable with WAP 1.0
Billed by connection time
Pull and Push models
Optimizing Web Over Wireless
Low bandwidth
Low reliability
High latency
High cost per byte transferred
Drawbacks of HTTP
lindquist
Optimizations
Caching
- objects are purged after sessions or may persist between them
- persisting objects increase cache hit ratios
- appropriate cache coherency methods are added
Differencing
- different replies to same application server are often different but tend to be
similar
- base object carries fundamental features which do not change across
transactions
- only difference stream computed by server is transmitted for any new
transaction
Optimizations
Protocol reduction
- aims at reducing overhead of repeated set up and tear down of TCP/IP
connections
- a single TCP/IP connection is established between CSI and SSI for entire
session
Header reduction
-HTTP requests have prefixes like capabilities of browser and various content
formats handled by it
- instead, CSI sends this information in first request and SSI records this
information
-for all other requests sent by CSI, SSI automatically inserts this capability into
each packet meant for origin server