Networks: L16 1 WAP : Wireless Application Protocol a standard developed by the WAP Forum : –Nokia, Ericsson, Motorola et al. –www.wapforum.org – now consolidated.

Slides:



Advertisements
Similar presentations
Wireless Markup Language
Advertisements

Mobile Communication MMS.
Wireless & Mobile Communications Chapter 8: Support for Mobility  File systems  Data bases  WWW and Mobility  WAP - Wireless Application Protocol.
Mobile IP and Wireless Application Protocol
CCNA – Network Fundamentals
By: Christopher M. Logan Date: April 19, 2001.
"CSC8530 Distributed Systems", Summer WAP Overview Amarnath Chitti.
Wireless Application Protocol and i-Mode By Sridevi Madduri Swetha Kucherlapati Sharrmila Jeyachandran.
Wireless Application Protocol John Bollen MBA 651.
CM2502 E-Business Mobile Services. Desktop restrictions Mobile technologies Bluetooth WAP Summary.
Presentation on WAP …Keerti Sharma August 2002.
Mobile IP and Wireless Application Protocol
WAP: Wireless Application Protocol Mike Mc Ardle ACSG April, 2005.
WAP Wireless Application Protocol CSI 668 Professor Meihua, Chen Presented by Min, Wu April 04,2001.
WAP/ WML Author :Hsien-Pang Tsai. Outlines Introduction WAP Architecture WML Conclusion Reference.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Wireless Application Protocol (WAP) Reference: Chapter 12, section 2, Wireless Communications and Networks, by William Stallings, Prentice Hall.
Network and Internet Security
Understand WML Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University.
An Introduction to WAP/WML. What is WAP? WAP stands for Wireless Application Protocol. WAP is for handheld devices such as mobile phones. WAP is designed.
UNIT 4 MOBILE TCP/IP & WAP.
Submitted by:- Amanat Dabla ,C1 IT,final yr. Neeru ,C1 IT,final yr.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
WAP and WML The Wireless Application Protocol  WAP architecture  WML document structure  WML syntax Basic document syntax Layout Text formatting Images.
WML Wireless Markup Language Presented by: Richa Saxena Roll no
CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in.
WAP (Wireless Application Protocol). W – World W – Wide W -- Web W – World W – Wide W – Wireless W -- Web The Two Paradigms.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
World Wide Web and mobility Protocol (HTTP, Hypertext Transfer Protocol) and language (HTML, Hypertext Markup Language) of the Web have not been designed.
Using Cocoon Page 2 Ovidiu Predescu April 5th, 2001 Using Cocoon to build Web sites for wireless devices Ovidiu Predescu Hewlett Packard ApacheCon 2001.
Using Cocoon Page 2 Ovidiu Predescu April 5th, 2001 Using Cocoon to build Web sites for wireless devices Ovidiu Predescu Hewlett Packard ApacheCon 2001.
WML What is WML? WML stands for Wireless Markup Language. It is a mark-up language inherited from HTML, but WML is based on XML, so it is much stricter.
Ericsson Competence Solutions Rev A16/11/011 Mobile Learning Course for R380 and R520 Presented by Michelle Almeida Course Structure Design Guidelines.
TECHNICAL SEMINAR Presented by :- Satya Prakash Pattnaik TECHNICAL SEMINAR By Satya Prakash Pattnaik EC Under the guidance of Mr.
University of the Western Cape Chapter 12: The Transport Layer.
1 FAQ’S ABOUT WAP Presented By Abhilash Pillai CSCI 5939-Independent Study.
FYP: LYU0001 Wireless-based Mobile E-Commerce on the Web Supervisor: Prof. Michael R. Lyu By: Tony, Wat Hong Fai Harris, Yan Wai Keung.
WIRELESS APPLICATION PROTOCOL Definition It is universal, open standard developed by the WAP Forum to provide mobile users of wireless phones and other.
Wireless Application Protocol. WAP- Wireless Application Protocol Gateway WAP WEB Server Content Browser HTTP IPWAP Deck WML.
Wireless Application Protocol Overview Owen Sullivan Worldzap WAP Forum.
Wireless Application Protocol “Wireless application protocol (WAP) is an application environment and set of communication protocols for wireless devices.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 23 - Wireless Internet and m- Business Outline 23.1 Introduction 23.2 M-Business 23.3 Identifying.
Wireless Application Protocol CSCI 465 Nathaniel Samson Alison White Steve MacNeil Michael Pyne James Snow.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Presented By: Dixit Wadhwani B.TECH 3 rd YEAR, CSE 07CS Sir Padampat Singnania University Technical Seminar on Wireless Markup Language Guided By:
IT 284 Unit 4 Seminar.
Components of the WAP Standard Layers of WAP divided into 3 groups Bearer Adaptation Hides the differences in the signaling and channel protocols used.
Security Standards. IEEE IEEE 802 committee for LAN standards IEEE formed in 1990’s – charter to develop a protocol & transmission specifications.
WAP – Wireless Application Protocol RAJEEV GOPALAKRISHNA CS590F Fall 2000.
WAP Architecture Presented by, Nithya Inbamani. WAP Background Wireless Application Protocol – secure specification. Wireless Application Protocol – secure.
WML & WML Script Presented by Kelvin Liu 01/06/2000.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
Presentation Title 1 1/27/2016 Lucent Technologies - Proprietary Voice Interface On Wireless Applications Protocol A PDA Implementation Sherif Abdou Qiru.
The OSI Model A Framework for Communications David A. Abarca July 19, 2005.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Wireless Application Protocol (WAP) William Thau CSC 8560 Dr. L. Cassel.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Network Infrastructure Services Supporting WAP Clients
Mobile IP and Wireless Application Protocol
Mobile IP and Wireless Application Protocol
WAP.
M-Commerce Wireless Markup Language (WML) By Prof T.R. Vaidyanathan.
CSCI {4,6}900: Ubiquitous Computing
Presentation transcript:

Networks: L16 1 WAP : Wireless Application Protocol a standard developed by the WAP Forum : –Nokia, Ericsson, Motorola et al. – – now consolidated into the Open Mobile Alliancewww.wapforum.org Internet services for users of mobile devices to be accessible over bearer services on all standard cellular systems –GSM, TDMA & CDMA (USA), GPRS, 3G systems etc. »e.g. the GSM CSD (Circuit Switched Data) bearer service ­the most widely used GSM data service providing a data rate of 9.6kbs ­with error correction and flow control defines a layered communications protocol –including an application environment –using a client-server approach incorporates a simple microbrowser into the mobile device –only requires the limited resources a mobile can provide –puts intelligence into WAP gateways rather than the mobile

Networks: L16 2 Wireless Application Environment (WAE) –includes a microbrowser for the WAP Markup Language WML –WML better adapted to mobile device constraints than HTML »has to cope with small screen sizes and low data rate »less concerned with visual aspects of document rendering ­and interactive elements e.g. buttons »more concerned with functionality ­microbrowser can choose its own appropriate representation of the WML »XML compliant with its own DTD Document Type Definition –also includes a micro Virtual Machine »for the microbrowser’s scripting language, WMLScript, to execute in »suited to the memory and CPU constraints of a mobile device –WMLScript derived from ECMAScript – a standard scripting language »as is Javascript –support for standard content types, including vCard and vCalendar »used for communicating phonebook and calendar data between applications –the top level of the WAP protocol stack

Networks: L16 3 Architecture –World Wide Web : –WAP model :

Networks: L16 4 interposed proxy gateway : –protocol adapters to translate between WAP protocols and Web protocols used to access network services »e.g. HTML to WML –encoding and compilation of WML and WMLScript from text to binary –binary format minimises the amount of data to be sent over the network »much more efficient than HTTP servers for PCs –reduces the amount of processing that the mobile needs to perform push technology also incorporated : –delivery of content without previous user interaction –a WAP session opened automatically by the network –e.g. stock market prices, SMS-type messages but longer

Networks: L16 5 WAP 1.0 protocol stack : gateway configuration :

Networks: L16 6 Wireless Session protocol –responsible for managing the session between mobile and server –supports a connection-oriented service above the WTP transaction protocol –and a connectionless services operating above the WDP datagram protocol »can be secure or non-secure –includes the ability to suspend and resume sessions »important because connections may be dropped and need reconnecting later to continue the session from where it left off ­e.g. out of reception area, entering a railway tunnel etc. »support for long-lived sessions –session setup involves negotiation of the nature and capability of the mobile and the server »not needed for connectionless service –transmits session and content headers »define character sets, language, mobile device profile –handles coding and decoding of content

Networks: L16 7 Wireless Transaction protocol –provides a request/reply based reliable transport mechanism : »selective retransmission of lost or corrupted messages »message concatenation of PDUs into transport SDUs »an abort capability ­where a message can be sent to the server to indicate that the results of any processing underway are no longer required –three classes of transport defined : »class 0 : an unreliable, stateless connection like UDP ­no result is communicated and abort function not supported »class 1 : a reliable stateful transport ­supports retransmission but does not transmit a result; abort supported »class 2 : reliable and stateful ­returns a result for every message sent ­also supports a hold on reply as a result which indicates that the server is busy processing the request

Networks: L16 8 Wireless Transport Layer Security –provides secure transmission of data across the air network –based on SSL, Secure Sockets Level protocol –supports privacy, message integrity and authentication –includes key exchange methods, certificates, symmetric and asymmetric encryption algorithms and signature functions –has been criticised for allowing weak encryption algorithms Transport Layer –preferred transport layer is UDP over IP but many mobile networks do not support this –the Wireless Datagram protocol used instead –provides a connectionless non-reliable transport protocol –message segmentation and reassembly –UDP-type port numbers –uses a Wireless Control Message Protocol, similar to ICMP, to signal error conditions

Networks: L16 9 WAP 2.0 standard –convergence with the Internet –motivated by emergence of high-speed networks, 3G etc. that provide IP support directly to the mobile –adds other enhanced features : »enhanced push functionality and user agent profiles »tools for advanced telephony applications »external functionality interface for applications outside the defined WAE capabilities

Networks: L16 10 WML : WAP Markup Language –based on a deck of cards metaphor »a document is analogous to a deck »a card is equivalent to an individual screen or unit of display –a deck is the unit of transmission between gateway and mobile –focuses on semantics of an element rather than rendering »allows implementation of rendering to be tailored to capabilities of the mobile

Networks: L16 11 –supports text and images, user interaction, navigation, variables etc. –layout and presentation hints can be given –templates to specify characteristics to be applied to all cards in the deck –navigation between cards in a deck and between decks »through URL hyperlinks or history »a URL taken to be the first card in a deck ­other cards can be referenced using fragment anchors –tasks bound to events and triggered by user interaction »onenterbackward, onenterforward events for navigating back and forth »onpick event triggered when user picks an item from a list »ontimer causes a jump to a URL when a timer expires etc. –tasks associated with WML elements »e.g. a element indicates navigation to a URI »a element in an of type oneventforward in a element binds the element to the oneventforward for that card

Networks: L16 12 –microbrowser maintains a context that can contain variables »variable names start with a $ –variable substitution allows for cards to be customised on the mobile –set by a element, an element or a element »an element specifies a text entry object »a element gives a choice from a list of options, possibly hierarchically –a element is used to set the value of a timer on entry to a card »in tenths of a second –links specified with or –tables specified with, and elements –etc.

Networks: L16 13 Examples of WML –the document prologue : –defining a template : »results in the Back option being displayed on each card in the deck »the element associates the label Back with the task <!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN” <do type=“goBack” name=“goBack” label=“Back”>

Networks: L16 14 –defining a card : –using anchors : 1. Market Indices 2. Portfolio Valuation.... Portfolio Service

Networks: L16 15 –using input fields : Please enter: Account No Security Code

Networks: L16 16 an animation example using WML and WMLScript : <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "

Networks: L16 17 extern function main() { var image = WMLBrowser.getVar("image"); var curTime = WMLBrowser.getVar("napTime"); var napTime = Lang.parseInt(curTime); Console.println("***********Animation Vars***********"); Console.println("Image: " + image); Console.println("Nap Time: " + napTime); //reduce napTime; at zero, animation is complete napTime = napTime - 2; WMLBrowser.setVar("napTime", napTime); if (napTime > 0) { if (image == "animate1.bmp") { WMLBrowser.setVar("image", "animate2.bmp"); WMLBrowser.setVar("snore", "zZ"); } //if animate1.bmp else { WMLBrowser.setVar("image", "animate1.bmp"); WMLBrowser.setVar("snore", "Zz"); } //else WMLBrowser.refresh(); } //if napTime > 0 else { WMLBrowser.setVar("image", "animate3.bmp"); WMLBrowser.setVar("snore", "Hhhhnnnyyy?"); WMLBrowser.refresh(); } } //main()

Networks: L16 18 The file animate.wml consists of a single card. When the user selects the Run Animation option, the WML sets the variable time to a beginning value of 20 seconds and sets the initial image file value: After 20 seconds, the ontimer event fires and the WML calls the main() function in animated.wmls: The main() function reduces the time variable by 2 seconds, swaps the image file, and returns the new time and image file variable values to the UP.Browser. The card then displays the new image: The process is repeated each time the ontimer event fires until the time variable's value drops to zero.

Networks: L16 19 The image and time processing take place in animated.wmls which defines one external function: extern function main() The main function initializes its own variables to the values the WML card set using the WMLBrowser library function getVar: var image = WMLBrowser.getVar("image"); var curTime = WMLBrowser.getVar("napTime"); var napTime = Lang.parseInt(curTime); The last line in this block converts the string value derived from time to an integer value that the main function can use to alter the value of the variable. The next block reduces the value of remainingTime by 2 and assigns the new value to the WML variable time using the WMLBrowser.setVar function. This sequence controls both the interval between image file swapping and ensures that the animation stops when remainingTime drops to zero. //reduce napTime; at zero, animation is complete napTime = napTime - 2; WMLBrowser.setVar("napTime", napTime);

Networks: L16 20 The last block tests remainingTime for a value greater than zero. If remainingTime is greater than zero, the next few lines test the current value of the image variable, swap the bitmap file accordingly, and set the image variable to the new value using the WMLBrowser.setVar function. After the image file swap is complete, WMLBrowser.refresh function refreshes the variables, causing the user's display to be updated with the new image file and also updating the time variable. if (napTime > 0) { if (image == "animate1.bmp") { WMLBrowser.setVar("image", "animate2.bmp"); WMLBrowser.setVar("snore", "zZ"); } //if animate1.bmp else { WMLBrowser.setVar("image", "animate1.bmp"); WMLBrowser.setVar("snore", "Zz"); } //else WMLBrowser.refresh(); } //if napTime > 0 When remainingTime drops to zero, no processing occurs and the timer loop ends.