Upload
hindusthankamal
View
235
Download
0
Embed Size (px)
Citation preview
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 1/25
WIRELESS APPLICATION PROTOCOL
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 2/25
OUTLINE
Mobile applicationsHow are mobile/wireless environments
different?
What is WAP?WAP ArchitectureWAE (WML/WMLScript)WTA Framework
WAP Push ServicesWAP Protocol StackHype v/s RealityReferences and Resources
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 3/25
THE ORIGIN OF WAP
Many Successes with No Success
Analog Modem Technologies Enhanced Throughtput Cellular by AT & T
Enhanced Control Cellular
Wireless Middleware Solutions Secureway Wireless Gateway from IBM.
ExpressQ from NetTech systems.
Handheld Device Markup languages (HDML)
Handheld Device Transport Protocol (HDTP)
AirMobile from Motorola
Narrowband Sockets from Nokia and Intel.
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 4/25
MOBILE APPLICATIONS - 1
Vehiclestransmission of news, road condition etcad-hoc network with near vehicles to prevent
accidents
Emergenciesearly transmission of patient data to the hospitalad-hoc network in case of earthquakes, cyclonesmilitary ...
Traveling salesmendirect access to central customer filesconsistent databases for all agentsmobile office
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 5/25
MOBILE APPLICATIONS - 2
Web accessoutdoor Internet access intelligent travel guide with up-to-date
location dependent information
Information servicespush: stock quotes; pull: nearest cash ATM
Disconnected operationsfile-system caching for off-line workmobile agents, e.g., shopping
Entertainmentgames, etc
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 6/25
VARIABILITY OF THE MOBILEENVIRONMENT
Connectivity• connected
• semi-connected
(asymmetric)• weakly connected
• disconnected
Mobile Device Capability• form factor
• GUI• multimedia
• real-time multimedia
Mobility• stationary• nomadic (pedestrian speed)• mobile (vehicular speed)
• roaming (mobile across networks)
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 7/25
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 forcommunication; ignore end-system characteristics
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 8/25
WWW
Enhanced browsers
client-aware support for mobilityProxiesClient proxy: pre-fetching, caching, off-line useNetwork proxy: adaptive content transformation for
connectionsClient and network proxy
Enhanced serversserver-aware support for mobilityserve the content in multiple ways, depending on
client capabilitiesNew protocols/languagesWAP/WML
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 9/25
(WAP)
Empowers mobile users with wireless devices to easily access and
interact with information and services. A “standard” created by wireless and Internet companies to enable
Internet access from a cellular phone
wapforum.org:
co-founded by Ericsson, Motorola, Nokia, Phone.com
450 members in 2000, comprise of Handset manufacturers,Wireless service providers, ISPs, Software companies in thewireless industry
Goalsdeliver Internet services to mobile devices enable applications to scale across a variety of transport options
and device types independence from wireless network standardsGSM, CDMA IS-95, TDMA IS-136, 3G systems (UMTS, W-CDMA)
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 10/25
WAP: MAIN FEATURES
Browser
“Micro browser”, similar to existing web browsers Markup language
Similar to HTML, adapted to mobile devices
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
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 11/25
INTERNET MODEL
HTMLHTTP
TLS/SSL TCP/IP
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 12/25
Web Server
Content
CGI
Scripts
etc.
WMLDe ck
s
withWM
L-Script
WAP Gateway
WML Encoder
WMLScript
Compiler Protocol Adapters
Client
WML
WML-
Script
WTAI
Etc.
HTTPWSP/WTP
WAP ARCHITECTURE
Source: WAP Forum
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 13/25
WAP Application Server
Content
Application
Logic
WMLDecks
withWML-Script
WML Encoder
WMLScript
Compiler
Protocol Adapters
ClientWML
WML-
Script
WTAI
Etc.
WSP/WTP
WAP APPLICATION SERVER
Source: WAP Forum
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 14/25
WAP ARCHITECTURE
Another look
Key Components• Origin/Web Server
• WAP Gateway/Proxy• WAP Protocol Stack• Micro Browser• WML/WML Script• Transcoders• WTA
Source: WAP Forum
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 15/25
WAP: NETWORK ELEMENTS
wireless networkfixed network
WAP
proxy
WTA
server
filter/WAP
proxyweb
server
filter
PSTN
Internet
Binary WML: binary file format for clients
Binary WML
Binary WML
Binary WML
HTML
HTML
HTML WML
WMLHTML
Source: Schiller
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 16/25
WAP SPECIFIES
Wireless Application Environment
WML Microbrowser WMLScript Virtual Machine WMLScript Standard Library Wireless Telephony Application Interface (WTAI) WAP content types
Wireless Protocol Stack
Wireless Session Protocol (WSP) Wireless Transport Layer Security (WTLS) Wireless Transaction Protocol (WTP) Wireless Datagram Protocol (WDP) Wireless network interface definitions
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 17/25
WAP STACK
MicroBrowser (WML,WMLScript, WTA, WTAI)
Runs on top of WDPProvided lightweight X-orientedservice• Unreliable 1-way request• Reliable 1-way/2-wayreq./response
Lightweight SSLUses WIM/PKI-Cards
Datagram service ondifferent bearersConvergence between
bearer services
Different Wireless Tech.
Source: WAP Forum
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 18/25
WAP STACK
WAE (Wireless Application Environment):
Architecture: application model, browser, gateway, server WML: XML-Syntax, based on card stacks, variables, ... WTA: telephone services, such as call control, phone book etc.
WSP (Wireless Session Protocol): Provides HTTP 1.1 functionality
Supports session management, security, etc. WTP (Wireless Transaction Protocol): Provides reliable message transfer mechanisms Based on ideas from TCP/RPC
WTLS (Wireless Transport Layer Security):
Provides data integrity, privacy, authentication functions Based on ideas from TLS/SSL
WDP (Wireless Datagram Protocol): Provides transport layer functions Based on ideas from UDP
Content encoding, optimized for low-bandwidth channels, simpledevices
WHY WAP?
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 19/25
WHY WAP?
Wireless networks and phones
have specific needs and requirements
not addressed by existing Internet technologies
WAP
Enables any data transport TCP/IP, UDP/IP, GUTS (IS-135/6), SMS, or USSD.
Optimizes the content and air-link protocols
Utilizes plain Web HTTP 1.1 servers leverages existing development methodologiesutilizes standard Internet markup language technology (XML)all WML content is accessed via HTTP 1.1 requests
WML UI components map well onto existing mobile phone userinterfacesno re-education of the end-users leveraging market penetration of mobile devices
Several modular entities together form a fully compliant Internetentity
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 20/25
WHY IS HTTP/HTML NOTENOUGH?
Big pipe - small pipe syndrome
Wireless network<HTML>
<HEAD>
<TITLE>NNN Interactive</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="1800,
URL=/index.html">
</HEAD><BODY BGCOLOR="#FFFFFF"
BACKGROUND="/images/9607/bgbar5.gif" LINK="#0A3990"
ALINK="#FF0000" VLINK="#FF0000" TEXT="000000"
ONLOAD="if(parent.frames.length!
=0)top.location='http://nnn.com';">
<A NAME="#top"></A>
<TABLE WIDTH=599 BORDER="0">
<TR ALIGN=LEFT>
<TD WIDTH=117 VALIGN=TOP ALIGN=LEFT>
<HTML>
<HEAD>
<TITLE>NNN
Intera
ctive<
/TITLE
>
<META
HTTP-
EQUIV=
"Refre
sh"
CONTEN
T="180
0,
URL=/i
ndex.html">
Internet<WML>
<CARD>
<DO TYPE="ACCEPT">
<GO URL="/submit?Name=$N"/>
</DO>
Enter name:<INPUT TYPE="TEXT" KEY="N"/>
</CARD>
</WML>
010011
010011
110110
010011
011011
011101
010010
011010
Content encoding
HTTP/HTML WAP
Source: WAP Forum
WAP “KILLER” APPLICATIONS
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 21/25
WAP: “KILLER” APPLICATIONS
Location-based services Real-time traffic reporting, Event/restaurant recommendation
Enterprise solutions Email access, Database access, “global” intranet access Information updates “pushed” to WAP devices
Financial services Banking, Bill-paying, Stock trading, Funds transfers
Travel services Schedules and rescheduling, Reservations
Gaming and Entertainment Online, real-time, multi-player games Downloadable horoscopes, cartoons, quotes, advice
M-Commerce Shopping on the go Instant comparison shopping Location-based special offers and sales
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 22/25
WIRELESS APPLICATION ENVIRONMENT
(WAE)
Goals
device and network independent applicationenvironment
for low-bandwidth, wireless devicesconsiderations of slow links, limited memory, low
computing power, small display, simple userinterface (compared to desktops)
integrated Internet/WWW programming modelhigh interoperability
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 23/25
WAE COMPONENTS
Architecture Application model, Microbrowser, Gateway, Server
User Agents
WML/WTA/Others
content formats: vCard, vCalendar, Wireless Bitmap,
WML, ... 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)
Proxy (Method/Push)
WAE LOGICAL MODEL
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 24/25
Origin Servers
WAE: LOGICAL MODEL
web
server
other contentserver
Gateway Client
other
WAE
user agents
WMLuser agent
WTA
user agent
Push proxy
encodedrequest
request
encoded
response
with
content
response
with
content
push
content
encoded
push
content
Method proxy
encoders
&
decoders
8/8/2019 WAP Overview
http://slidepdf.com/reader/full/wap-overview 25/25
WAP MICROBROWSER
Optimized for wireless devicesMinimal RAM, ROM, Display, CPU
and keysProvides consistent service UI
across devicesProvides Internet compatibilityEnables wide array of available
content and applications