39
WAP/ WML Author :Hsien-Pang Tsai

WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

  • View
    221

  • Download
    3

Embed Size (px)

Citation preview

Page 1: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WAP/ WML

Author :Hsien-Pang Tsai

Page 2: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Outlines

Introduction WAP Architecture WML Conclusion Reference

Page 3: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Outlines

Introduction WAP Architecture WML Conclusion Reference

Page 4: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Wireless Application Protocol (WAP) An specification that empowers mobile

users with wireless devices to easily access and interact with information and services instantly.

Page 5: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Purpose

Bring Internet content and to digital cellular phones.

Create a specification that will work across differing wireless network technologies.

Embrace and extend existing standards and technology wherever appropriate.

Page 6: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WWW Model vs. WAP Model

Page 7: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WAP Push

Real-time applications that send notifications to their usersPoll application servers for new information or

status.Push functionality provides control over the

lifetime of pushed messages, store & forward capabilities at the Push Proxy and control over bearer choice for delivery.

Page 8: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Feature-Enhancing Proxies

Page 9: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Outlines

Introduction WAP Architecture WML Conclusion Reference

Page 10: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WAP Stack Architecture

Page 11: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Protocol Stack

Legacy Protocol LayersOptimized for low bandwidth bearer networks

with relatively long latency. Protocol Layers for Networks Supporting IP

Motivated by the emergence of high-speed wireless networks (e.g. 2.5G and 3G) .

Provide IP support directly to the wireless devices.

Page 12: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Legacy Protocol Layers

Page 13: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WAE:Wireless Application EnvironmentWAP 2.0 provides the foundation for such a m

icro-browser in its markup languages, namely the XHTML Mobile Profile markup language (XHTMLMP).

Enhances the presentation of content by supporting style sheets.

Page 14: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WSP:Wireless Session Protocol, provides the upper-level application layer of WAP with a consistent interface for two session services.connection-modeconnectionless service

Secure datagram Non-secure datagram

Page 15: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WTP: Wireless Transaction Protocol, defined as a light weight transaction oriented protocol for mobile stations and operates efficiently over wireless datagram networks.

Page 16: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WTLS:Wireless Transport Layer Security, designed to provide privacy, data integrity and authentication between two communicating applications.Provides an interface for managing secure co

nnections.Datagram support, optimized handshake and

dynamic key refreshing.

Page 17: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WDP:Wireless Datagram Protocol, a general datagram service, offering a consistent service to the upper layer protocols and communicating transparently over one of the available underlying bearer services.

Page 18: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference
Page 19: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Protocol Layers for Networks Supporting IP

Page 20: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WP-HTTP:Wireless Profiled HTTP, is a profile of HTTP for the wireless environment and is fully interoperable with HTTP/1.1.Message body compression of responses.The establishment of secure tunnels.

Page 21: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

TLS: Transport Layer Security, permit interoperability for secure transactions.

WP-TCP:Wireless Profiled TCP, provides connection-oriented services, which is optimized for wireless environments and is fully interoperable with standard TCP.

Page 22: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference
Page 23: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Dual WAP Stack

WAP 2.0 provides support for both stacks, it should be noted these stacks operate independently.

would not be mixing and matching of protocols in accomplishing an end-to-end transaction.

Page 24: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WAP Network

Page 25: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Outlines

Introduction WAP Architecture WML Conclusion Reference

Page 26: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Wireless Markup Language (WML)

WML2 is a language which extends the XHTML Basic and CSS Mobile Profile.

Optimised for specifying presentation and user interaction on limited capability devices such as mobile phones and other wireless mobile terminals.

Page 27: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

GOAL

There are five goals for WML2:Backward compatibility.Convergence with existing and evolving Intern

et standards.Optimisation of access from small, limited devi

ces.Allowance for the creation of distinct user inter

faces. Internationalisation of the architecture.

Page 28: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

WML2 Document Structure

Page 29: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Ex:

Page 30: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Card & Deck

Page 31: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

User Agent Behaviour

Variables Navigation History Navigation Reference Processing Model Form Processing Reference Model WML2 Event Model

Page 32: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Variables

A WML variable is a name-value pair, where the value is any string in the document character set.

WML variables can be used in the place of strings and are substituted at run-time with their current value.

Page 33: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Navigation History

The user agent history is modelled as a stack of entries that represent the resources in the navigational path the user traversed to arrive at the current location.

Three operations may be performed on the history stack: Reset Push Pop

Page 34: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Navigation Reference Processing Model A task is a navigational directive executed

by the user agent in response to an event such as the activation of a wml:do element or the expiration of a timer.The go taskThe prev taskThe noop taskThe refresh task

Page 35: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Event Model

Intrinsic event: an event generated by the user agent

Extrinsic event: an event sent to the user agent by some external agent

Page 36: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Event Binding

Card-level: the event binding may appear inside a body or wml:card element and specify event-processing behavior for that particular card or body.

Document-level: the event binding may appear inside the html element and specify event-processing behavior for each body/card in the document. A document-level event binding is equivalent to specif

ying the event binding in each body/card.

Page 37: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Ex:

Page 38: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Conclusion

Introduction WAP Architecture WML

Page 39: WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference

Reference

WAP Architecture Spec. [WAP-210-WAPArch-20010712] http://www.wapforum.org

WAP 2.0 White Paper [2002-Jan] http://www.wapforum.org

Wireless Markup Language v2.0 [WAP-238-WML-20010626-p] http://www.wapforum.org /Jan-26-2001

WML 輕鬆打 .wap 手機網站 http://www.class2u.idv.tw/html/wml/index.htm

精通 WAP/WML - 文魁資訊股份有限公司