Documente Academic
Documente Profesional
Documente Cultură
Overview
Jari Alvinen
Nokia
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 1 / 22-September 1999
Business challenge
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 2 / 22-September 1999
Why is Internet not enough?
… or actually ... "too much" ...
• Big pipe - small pipe syndrome
<HTML>
<HEAD> HTTP/HTML <WML>
<CARD> WAP
<TITLE>NNN Interactive</TITLE> <DO TYPE="ACCEPT">
<META HTTP-EQUIV="Refresh" CONTENT="1800, <GO URL="/submit?Name=$N"/>
URL=/index.html"> </DO>
</HEAD> Enter name:
Internet
<BODY BGCOLOR="#FFFFFF" <INPUT TYPE="TEXT" KEY="N"/>
BACKGROUND="/images/9607/bgbar5.gif" LINK="#0A3990" </CARD>
ALINK="#FF0000" VLINK="#FF0000" TEXT="000000" </WML>
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>
Content encoding
<HTML> 010011
<HEAD> 010011
<TITLE 110110
>NNN 010011
Intera 011011
ctive< 011101
/TITLE 010010
Wireless network
> 011010
<META
HTTP-
EQUIV=
"Refre
sh"
CONTEN
T="180
0,
URL=/i
ndex.h
tml">
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 3 / 22-September 1999
Why is Internet not enough?
… or actually … "too much" ...
• Big screen - small screen syndrome
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 4 / 22-September 1999
Why WAP?
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 5 / 22-September 1999
WAP Forum members
CCL
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 6 / 22-September 1999
What can be done with WAP?
• Information services
• Similar to web browsing
• Small downloadable programs
• WAP script language is based on JavaScript™
• Telephony functionality combined with browser
• Call the airline when your flight is delayed
• Push
• Server initated content push
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 7 / 22-September 1999
What is defined in WAP?
• Layered telecommunication stack including
• Datagrams and Transactions
• Security
• Session
• Micro browser
• Concept that is similar to the Internet browsing
• XML based markup language ( WML )
• Scripting ( WMLS )
• WTA / WTAI
• Access to telephone functionality
• Content formats e.g.
• Service Indication
• Wireless Bitmap ( WBMP )
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 8 / 22-September 1999
WAP Architecture
with WML-Script
WML Encoder CGI
WML Decks
WML- Scripts
WSP/WTP WMLScript HTTP etc.
Script
Compiler
WTAI
Protocol Adapters Content
Etc.
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 9 / 22-September 1999
Internet and WAP architecture
Internet Wireless Application Protocol
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 10 / 22-September 1999
WAP & Standards
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 11 / 22-September 1999
WAP Protocol Stack
Wireless Session Service Access Point
• Developed by
• Wireless Protocols Group Wireless Session Protocol
(WPG)
Wireless Transaction Service Access Point
• A WAP technical working
group.
Wireless Transaction Protocol
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 12 / 22-September 1999
WAP Protocol Stack - WSP
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 13 / 22-September 1999
WAP Protocol Stack - WSP
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 14 / 22-September 1999
WAP Protocol Stack - WSP
• Connectionless
• Stateless applications
• No session creation overhead
• No reliability overhead
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 15 / 22-September 1999
WAP Protocol Stack - WTP
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 16 / 22-September 1999
WAP Protocol Stack - WTP
Client
Client (PDUs) Server
Server
T-TRInvoke.req
Invoke T-TRInvoke.ind
Ack
T-TRInvoke.cnf T-
Result TRInvoke.res
T-TRResult.req
T-TRResult.ind
T-TRResult.res Ack T-TRResult.cnf
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 17 / 22-September 1999
WAP Protocol Stack - WDP
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 18 / 22-September 1999
WAP Protocol Stack - Bearer support
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 19 / 22-September 1999
WAP Protocol Stack - Bearer Example
PPP PPP
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 20 / 22-September 1999
WAP Protocol Stack - Bearer Example
WDP WDP
under development
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 21 / 22-September 1999
WAP Protocol Stack - WTLS
• Specifies a framework for secure connections, using protocol
elements from common Internet security protocols like SSL and
TLS.
• Provides connection security for two communicating applications
• Privacy (encryption)
• Data integrity (MACs)
• Authentication (public-key and symmetric)
• Lightweight and efficient protocol with respect to bandwidth,
memory and processing power
• Employs special adapted mechanisms for wireless usage
• Long lived secure sessions
• Optimised handshake procedures
• Provides simple data reliability for operation over datagram bearers
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 22 / 22-September 1999
Wireless Application Environment ( WAE )
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 23 / 22-September 1999
WAE "Components"
• WML
• Display language
• WMLScript
• Scripting language
• WTA
• Telephony services API and architecture
• Content Formats
• Data exchange
• User Agent Profiling
• Content customized for device
• Push
• Server-initiated content delivery
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 24 / 22-September 1999
WAE - WAP Gateway
with WML-Script
WML Encoder CGI
WML Decks
WML- Scripts
WSP/WTP WMLScript
HTTP etc.
Script
Compiler
WTAI
Protocol Adapters Content
Etc.
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 25 / 22-September 1999
WAE - WAP Application Server
with WML-Script
WML Encoder
Application
WML Decks
WML- WMLScript Logic
WSP/WTP
Script Compiler
WTAI Protocol Adapters Content
Etc.
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 26 / 22-September 1999
WAE - WML
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 27 / 22-September 1999
WAE - WML
• 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
• Reduce network traffic
• Results in better caching
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 28 / 22-September 1999
WAE - WML
<WML>
<CARD>
<DO TYPE=“ACCEPT”>
Navigation <GO URL=“#eCard”/>
Card
</DO
Welcome!
</CARD>
<CARD NAME=“eCard”>
<DO TYPE=“ACCEPT”>
Variables <GO URL=“/submit?N=$(N)&S=$ Deck
(S)”/>
</DO>
Enter name: <INPUT KEY=“N”/>
Choose speed:
Input <SELECT KEY=“S”>
Elements <OPTION VALUE=“0”>Fast</OPTION>
<OPTION VALUE=“1”>Slow</OPTION>
<SELECT>
</CARD>
</WML>
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 29 / 22-September 1999
WAE - WML Script
• Scripting language:
• Procedural logic, loops, conditionals, etc.
• Optimized for small-memory, small-cpu devices
• Derived from JavaScript™
• Integrated with WML
• Powerful extension mechanism
• Reduces overall network traffic
• Bytecode-based virtual machine
• Stack-oriented design
• Designed for simple, low-impact implementation
• Compiler in network
• Better network bandwidth use
• Better use of terminal memory/cpu.
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 30 / 22-September 1999
WAE - WML Script
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 31 / 22-September 1999
WAE - WML Script
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 32 / 22-September 1999
WAE - WTA
• WTA Browser
• Extensions added to standard WML/WMLScript browser
• Exposes additional API (WTAI)
• WTAI includes:
• Call control
• Network text messaging
• Phone book interface
• Indicator control
• Event processing
• WTAI available in WML & WMLScript
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 33 / 22-September 1999
WAE - WTA
<WML>
<CARD>
<DO TYPE=“ACCEPT”>
WTAI Call <GO URL=“wtai:cc/mc;$(N)”/>
</DO>
Input Element Enter phone number:
<INPUT TYPE=“TEXT” KEY=“N”/>
</CARD>
</WML>
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 34 / 22-September 1999
WAE - WTA
function checkNumber(N) {
if (Lang.isInt(N))
WTAI Call WTAI.makeCall(N);
else
Dialog.alert(“Bad phone number”);
}
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 35 / 22-September 1999
WAE - Content Formats
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 36 / 22-September 1999
WAE - Content Formats
<WML>
<CARD>
Hello World!<BR/>
<IMG SRC=“/world.wbmp”
Image Element
ALT=“[Globe]” />
</CARD>
</WML>
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 37 / 22-September 1999
WAE - Push
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 38 / 22-September 1999
WAE - Push Framework
PROTOCOL PROTOCOL
PPG SERVICES
PUSH MESSAGE
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 39 / 22-September 1999
WAE - User Agent Profile (UAPROF)
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 40 / 22-September 1999
Questions ?
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 41 / 22-September 1999
Thank you!
More information:
www.wapforum.org
© 1999 NOKIA, ©1999 Wireless Application Forum, Ltd. WAPXML-99.ppt / 42 / 22-September 1999