260 likes | 304 Views
Wireless Application Protocol (WAP). Definition of WAP. Wireless application protocol (WAP) is an application environment and set of communication protocols for wireless devices designed to enable access to the Internet and advanced telephony services to the wireless community .
E N D
Definition of WAP Wireless application protocol (WAP) is an application environment and set of communication protocols for wireless devices designed to enable access to the Internet and advanced telephony services to the wireless community. • Develop By WAP Forum, Summer 1997 • WAP 1.0 Standard, 1998 • Open Standard • Industry-Wide Specification • WAP 2.0 Standard, 2002
What is WAP • WAP – The Wireless Application Protocol • Makes it possible to access the Internet via wireless devices such as mobile phones, PDAs etc. • Set of rules governing transmission/reception of data by wireless devices (e.g. mobile phones)
Limitations of Internet for Wireless Applications • Traditional Internet applications cannot run on mobile devices because of the following limitations: • Low bandwidth network • High Latency network • Limited connection stability • Small display size • Limited input facility • Limited memory • Limited processing power
Limitations of Internet for Wireless Applications • Low bandwidth • Size of an HTML page, including graphics … 20 KB • Download time (56Kbps modem) … 3 s • Bandwidth of wireless network … 9.6Kbps • Download time for data on one page … 17 s • High latency • At the expiry of retransmission timer value, the TCP layer resends the packet of data • An average latency in a wireless network is around ½ s but can be as high as 10s • This can cause a lot of retransmission causing severe congestion
Limitations of Internet for Wireless Applications • Limited connection stability • Small display size • Limited input facility • Limited memory • Limited processing power
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 initiated content push
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 )
Client Web Server WAP Gateway WML CGI Scripts etc. WML Encoder WML-Script WSP/WTP HTTP WML Decks with WML-Script WMLScript Compiler WTAI Protocol Adapters Content Etc. WAP Architecture
1 7 4 2 3 Request Encrypted URL Request HTTP Request xxx wml Client Web Server WAP Gateway WML Encoder,Decoder CGI Scripts etc. WML-Script WML Decks with WML-Script HTTP Response xxx wml WMLScript Compiler Response Encrypted WML Content WTAI Protocol Adapters 5 Content 6 Etc. How It Works Static file or CGI Output WML HTTP WAP
Wireless Session Layer (WSP) Wireless Transport Layer Security (WTLS) Internet and WAP architecture Internet Wireless Application Protocol Other Services and Applications HTML JavaScript™ Wireless ApplicationEnvironment (WAE) HTTP Wireless Transaction Protocol (WTP) TLS - SSL TCP/IP UDP/IP Wireless Datagram Protocol (WDP) Bearers: UDP PDC-P R-Data Packet Etc... SMS USSD CSD
WAP & Standards • Submit specifications for adoption by appropriate industry and standards bodies • Good relationships with standards bodies • Several Liaisons with ETSI • ETSI / WAP compliance profile for GSM and UMTS. • CTIA official Liaison Officer to the WAP Forum • WAP is actively working with the W3C and IETF
Wireless Session Service Access Point Wireless Session Protocol Wireless Transaction Service Access Point Wireless Transaction Protocol Transport Service Access Point (TSAP) Wireless Datagram Protocol Bearer Service D Bearer Service C WCMP Bearer Service B Bearer Service A Physical Layer Air Link Technology WAP Protocol Stack • Developed by • Wireless Protocols Group (WPG) • A WAP technical working group.
WAP Protocols Recall the ISO OSI model: • WAE (Wireless Application Environment): WML, WML Script • WSP (Wireless Session Protocol) and WTP (Wireless • Transaction Protocol): together provide session layer services • connection oriented sessions or connectionless sessions. Reliable • sessions can be resumed. • WTLS (Wireless Transport Layer Security) (Optional)
WAP Protocol Stack - WSP • Provides shared state between client and server used to optimize content transfer • Provides semantics and mechanisms based on HTTP 1.1 • Enhancements for WAE, wireless networks and “low-end” devices • Enhancements beyond HTTP • Binary header encoding • Confirmed and non-confirmed data push • Capability negotiation • Suspend and resume • Connectionless service
WAP Protocol Stack - WSP • Binary header encoding • Compact binary encoding of headers, content type identifiers and other well-known textual or structured values • Reduces the data actually sent over the network • Capabilities • Message Size, client and server • Protocol Options: Confirmed Push Facility, Push Facility, Session Suspend Facility, Acknowledgement headers • Maximum Outstanding Requests • Extended Methods • Header Code Pages • Suspend & Resume • Allows the release of underlying bearer resources
WAP Protocol Stack - WSP • Connection & Connectionless service • Connection-mode • Long-lived communication • Benefits of the session state • Reliability • Connectionless • Stateless applications • No session creation overhead • No reliability overhead
WAP Protocol Stack - WTP • Reliable data transfer based on request/reply paradigm • No explicit connection setup or tear down • Data carried in first packet of protocol exchange • Seeks to reduce 3-way handshake on initial request • Supports • retransmission of lost packets • selective-retransmission • segmentation / re-assembly • port number addressing (UDP ports numbers) • flow control • abort function for outstanding requests • concatenation of PDUs • Message oriented (not stream)
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
WAP Protocol Stack - WDP • WDP provides a connection-less, unreliable datagram service • WDP is adapted to each particular wireless network to provide the generic datagram transport. • The basic datagram service is fundamental to all wireless networks and makes it possible to utilize WAP everywhere • Replaced by UDP when used over an IP network layer. • WDP over IP is UDP/IP • Uses the Service Primitive • T-UnitData.req .ind
WAP Protocol Stack - Bearer support • GSM SMS, USSD, C-S Data, GPRS • IS-136 R-Data, C-S Data, Packet • CDMA SMS, C-S Data • PDC C-S Data, Packet • PHS C-S Data • CDPD • iDEN SMS, C-S Data, Packet • FLEX and ReFLEX • DataTAC
WAP: 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
FUTURE OF WAP • Will WAP comply with Third Generation wireless standards? • Yes, WAP has been designed to be as independent as possible from the underlying network technology. • Is WAP necessary with higher bandwidth 3G networks? • Even as bandwidths increase, the cost of that bandwidth does not fall to zero. These costs result from higher power usage in the terminals, higher costs in the radio sections, greater use of RF spectrum, and increased network loading. In addition, the original constraints WAP was designed for -- intermittent coverage, small screens, low power consumption, wide scalability over bearers and devices, and one-handed operation -- are still valid in 3G networks. Finally, we can expect the bandwidth required by application users to steadily increase. Therefore, there is still a need to optimize the device and network resources for wireless environments. We can expect WAP to optimize support for multimedia applications that continue to be relevant.
FUTURE OF WAP • If WAP is very successful in mass-markets on 2.5G networks, 3G networks may be needed purely for capacity relief. • The reasons to migrate to WAP technology • Network operators are behind WAP • With minimal risk and investment, WAP enables operators to decrease churn, cut costs, and increase revenues by improving existing, value-added services and offering exciting new informational services. • Why are equipment manufacturers interested in WAP? • Being a global open specification suite, WAP has generated the critical mass for manufacturers. This has opened up new product and marketing opportunities in the wireless industry and provides new revenue to participating companies.
ADVANTAGES • open standard, vendor independent • network-standard independent • transport mechanism–optimized for wireless data bearers • application downloaded from the server, enabling fast service creation and introduction, as opposed to embedded software
DISADVANTAGES of WAP • Small screens: For web phones, there's an incredibly small viewing area; palmtops are barely better. • Speed of access: All devices have slow access. • Limited or fragmented availability: Wireless web access is sporadic in many areas and entirely unavailable in other areas. • Price: Many technology limitations are being addressed by higher-end devices and services. But the entry price for a good wireless web palmtop with decent display, keyboard, and speed is easily $700 to $900, not including monthly access. • Lack of user habit: It takes some patience and overcoming the learning curve to get the hang of it -- connecting, putting in an address, typing. Users just aren't used to the idea and protocol yet.