Fdocuments - in Wireless Application Protocol
Fdocuments - in Wireless Application Protocol
Protocol &
Wireless Markup
Language
Meng Gan
Institute of
Telematics
University of
3/11/200
1
Karlsruhe 1
Overvie
w
■ Motivation
■ WAP
■ WML
■ Applicatio
ns
■ Conclusio
3/11/200 WAP&WM 2
1 L
Motivati
on
■ Advances of mobile
communication systems,
especically GSM
■ Phenomenal growth of handy, PDA
3/11/200 WAP&WM 3
1 L
Wireless
Communication
3/11/200 WAP&WM 4
1 L
M-
Commerce
3/11/200 WAP&WM 5
1 L
Applicatio
ns
3/11/200 WAP&WM 6
1 L
PC +
Internet
■ High performance PC
HTTP
■ Document format: HTML
3/11/200 WAP&WM 7
1 L
Problems with Wireless
Networks
■ Low bandwidth
■ High latency and jitter
rate
■ Low connection stability
3/11/200 WAP&WM 8
1 L
Problems with Wireless
Terminals (Handy,
PDA,...)
■ Small screen, limited display
capability
■ One-finger navigation
■ Limited RAM/ROM
3/11/200 WAP&WM 9
1 L
Solutio
ns
■ Internet access via handheld
3/11/200 WAP&WM 10
1 L
WAP-
Forum
■ http://www.wapforum.org
■ A consortium of hardware,
software, service and other
wireless-industry vendors
■ Founded in June 1997
3/11/200 WAP&WM 11
1 L
WAP Overview
(I)Designed to address small devices‘
■
technical limitations
■ Work with a variety of wireless
platforms
■ Offer a scalable, extensible protocol
stack
■ Designed to solve some of the problems
3/11/200 WAP&WM 13
1 L
WAP Overview
(III)
■ Client/Server approach
WAP Gateways
3/11/200 WAP&WM 14
1 L
WAP Service
Model
3/11/200 WAP&WM 15
1 L
How It
Works
3/11/200 WAP&WM 17
1 L
WAP Network
Elements Fixed Network Mobile Network
HTML WML
HTML
filte Binary WML
r/
web HTML WAP
prox
serve y
r
WTA Binary
server WML
PSTN
Binary WML: binary file format for
3/11/200 clients
WAP&WM 18
1 L
WAP Reference
Model
Internet WAP
network technologies
■ Offers a common interface for higher layer
protocols
■ Allows for transparent communication using
■ Goals of WDP
■ Create a worldwide interoperable transport system
■ Privacy
■ prevention of tapping
■ Authentication
■ creation of authenticated relations between a
data
■ WTLS
■ Based on the TLS (Transport Layer Security) protocol
layer 3
■ Supports peer-to-peer, client/server and multicast applications
■ Low memory requirements, suited to simple devices (< 10kbyte )
■ Efficient for wireless transmission
■ Segmentation/reassembly
■ Selective retransmission
■ Header compression
3/11/200 WAP&WM 22
1 L
WSP - Wireless Session
Protocol
■ HTTP 1.1 functionality
■ Request/reply, content type
negotiation, ...
■ support of client/server, transactions,
push technology
■ key management, authentication,
(interruption, resume,...)
3/11/200 WAP&WM 23
1 L
WAE - Wireless
Application
Environment
■ Goals
■ Network independent application environment for low-bandwidth,
wireless devices
■ Integrated Internet/WWW programming model with high
interoperability
■ Requirements
■ Device and network independent, international support
■ Manufacturers can determine look-and-feel, user interface
■ Considerations of slow links, limited memory, low computing
power, small display, simple user interface (compared to
desktop computers)
■ Components
■ Architecture: application model, browser, gateway, server
■ 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,
3/11/200 WAP&WM 24
... (accessible from WML/WMLScript)
1 L
■ Content formats: vCard, vCalendar, Wireless Bitmap, WML, ...
Examples for WAP
protocol stacks
WAE user agent WAP standardization
UDP WDP
UDP WDP UDP WDP
IP non IP
(GPRS, ...) (SMS, ...) IP non IP IP non IP
(GPRS, ...) (SMS, ...) (GPRS, ...) (SMS, ...)
typical WAP
pure data
application
application
with complete
with/without
stac
protocol
3/11/200 k WAP&WM additional security 2
1 L 4
Network Example
#1 WAP Gateway
3/11/200 WAP&WM 26
1 L
Network Example
#2 WAP Application
Server
3/11/200 WAP&WM 27
1 L
Payload vs.
Overhead
3/11/200 WAP&WM 28
1 L
HTML and mobile
devices
■ HTML
■ designed for computers with “high” performance, color high-
resolution display, mouse, hard disk
■ typically, web pages optimized for design, not for
communication
■ Mobile devices
■ often only small, low-resolution displays, very limited input
interfaces (small touch-pads, soft-keyboards)
■ Additional “features”
■ animated GIF, Java AWT, Frames, ActiveX Controls,
Shockwave, movie clips, audio, ...
■ many web pages assume true color, multimedia support, high-
resolution and many plug-ins
■ Based on XML
■ WML enables small and flexible
3/11/200 WAP&WM 30
1 L
WML
(I)
■ Tag-based browsing language
etc.)
■ Hyperlinks and navigation
support
■ W3C XML-based language
■ Inherits technology from HDML
3/11/200 WAP&WM 31
1 and HTML L
WML
(II)
■ Card metaphor
■ User interactions are split into
cards
■ Navigation occurs between cards
■ Explicit inter-card navigation
model
■ Hyperlinks
■ UI event handling
■ History
■ State management and
variables
3/11/200 WAP&WM 32
1 ■ Reduce networkL traffic
WML Example
(I)
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML
1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id=„no1“ title="Image">
<p>
This is an image
<img src="../images/stickman.wbmp"
alt="stickman" />
in a paragraph
</p>
</card>
</wml>
3/11/200 WAP&WM 33
1 L
WML Example
(II)
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML
1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="School">
<do type="accept" label="Answer">
<go href="#card2"/>
</do>
<p>
<select name="name">
<option value="HTML">HTML School</option>
<option value="XML">XML School</option>
<option
</select> value="WAP">WAP School</option>
</p>
</card>
<card id="card2" title="Answer">
<p>
You selected: $(name)
</p>
</card>
</wml>
3/11/200 WAP&WM 34
1 L
WMLScri
ptWMLScript is the scripting language
■
JavaScript language
■ WML scripts are not embedded in the
3/11/200 WAP&WM 36
1 L
Contents
Provision
3/11/200 WAP&WM 37
1 L
Implementati
on
■ Nokia Activ Software
Suite
■ Phone.com UP.Link
Server
■ Kannel
■ http://www.kannel.org
■ Open Source Project
3/11/200 WAP&WM 38
1 L
Test WAP on
PC
■ Virtual WAPJAG
■ http://virtual.wapjag.com
■ http://virtual.wapjag.com/?url=wa
p.n-
tv.de
3/11/200 WAP&WM 39
1 L
Useful WAP
sites:
■ WAP sites catalog
■ http://www.wap.de/Katalog/index.
html
■ News
■ wap.n-tv.de
■ wap.tagesschau.de
■ Information
■ wap.lufthansa.de
■ wap.bahn.de
■ Search engine
■ wap.fireball.de
3/11/200 WAP&WM 40
1 L
Possible
Applications
M-commerce - shopping, tickets, micro-payments
■
bills
■ Enterprise access - inventory, shipment/sales
updates, email
■ M-care - customer service, payment status, account
updates
■ Entertainment - games, gambling, interactive
multi-player events
■ Messaging - communication and collaboration
3/11/200 WAP&WM 42
1 L
Corporate
Applications
■Job Dispatch ■ File Transfer
■ Remote Point Of ■ Web Browsing
Sale ■ Document Sharing
■ Customer Service ■ Collaborative
■ Remote Monitoring Working
Such As Meter ■ Audio
Reading ■ Still Images
■ Vehicle Positioning ■ Moving Images
■ Corporate Email ■ Home Automation
■ Remote LAN Access
3/11/200 WAP&WM 43
1 L
WAP 2.0 - the
Next
Generation
■XHTML (with backwards
compatibility to WML)
■ TCP
■ Color graphics
■ Animation
■ Large file downloading
■ Location-smart services
■ Streaming media
■ Data synchronization with desktop
PIM
3/11/200 WAP&WM 44
1 L
But, What is Actually
WAP
■Where are the phones
■ Wasn‘t actually possible
■ Challenges
■ Will it offer appealing content
■ Will it be obsolete by other technologies
■ What happens if „Thin-Client“ becomes
more powerful
■ What happens if more bandwidths are
available
3/11/200 WAP&WM 45
1 L