wireless access protocol wireless access protocol wap wap

Wireless Access Protocol Wireless Access Protocol (WAP) (WAP) - PowerPoint PPT Presentation

Wireless Access Protocol Wireless Access Protocol (WAP) (WAP) NiePin & Zhou & Zhou Hu Hu NiePin HUT HUT TML Latoratory Latoratory TML T- -110.456 110.456 T Agenda Agenda WAP Introduction WAP Introduction


  1. Wireless Access Protocol Wireless Access Protocol (WAP) (WAP) NiePin & Zhou & Zhou Hu Hu NiePin HUT HUT TML Latoratory Latoratory TML T- -110.456 110.456 T

  2. Agenda Agenda � WAP Introduction � WAP Introduction � Environment and Limits � Environment and Limits � Protocol Stack Overview � Protocol Stack Overview � Specification � Specification � WAE � WAE � WTLS � WTLS � WTP � WTP � Applied Fields and Future of WAP � Applied Fields and Future of WAP � Conclusion � Conclusion

  3. WAP Introduction WAP Introduction � Goal: To bridge the gap between the mobile � Goal: To bridge the gap between the mobile network and Internet network and Internet � WAP is a global standard produced by WAP � WAP is a global standard produced by WAP forum founded in 1997 with the help of Nokia, forum founded in 1997 with the help of Nokia, Ericsson, Motorola and Unwired Planet. Ericsson, Motorola and Unwired Planet. � There are two different editions: WAP 1.x and � There are two different editions: WAP 1.x and WAP 2.x WAP 2.x � Generally, WAP related technologies are � Generally, WAP related technologies are referenced with counterparts in Internet model referenced with counterparts in Internet model with some changes suitable for mobile network with some changes suitable for mobile network

  4. Environment and Limits Environment and Limits � Environment � Environment � Narrowband (EDGE 80 � Narrowband (EDGE 80- -160kbps, HSCSD: Nokia6610i 160kbps, HSCSD: Nokia6610i- -43.5kbps) 43.5kbps) � High latency � High latency � Typical burst errors � Typical burst errors � Limits � Limits � Week CPU (Intel PXA255 400MHz, bus 200MHz) � Week CPU (Intel PXA255 400MHz, bus 200MHz) � Little memory (Nokia7710 � Little memory (Nokia7710- -90MB internal memory 90MB internal memory 128MB MMC card; Nokia6822--- ---3.5MB internal 3.5MB internal 128MB MMC card; Nokia6822 memory ) memory ) � Limited on electrical power (Nokia6822 � Limited on electrical power (Nokia6822--- ---Talk Time: Talk Time: 3- -8 hours) 8 hours) 3 � Limited user I/O (no keyboard, mouse; few interfaces) � Limited user I/O (no keyboard, mouse; few interfaces)

  5. Protocol Stack (WAP 1.0) Protocol Stack (WAP 1.0) HTML JavaScrip HTTP TLS-SSL TCP/IP

  6. WAP 1.x Communication Model WAP 1.x Communication Model

  7. WAP Gateway WAP Gateway � A main difference between WAP and WWW model. It is � A main difference between WAP and WWW model. It is a logical logical component. component. a � Main Tasks � Main Tasks � Conversion between WML/WAP � Conversion between WML/WAP protocol type and HTML/HTTP/IP type, protocol type and HTML/HTTP/IP type, i.e. Encoding and Decoding i.e. Encoding and Decoding � WMLScript � WMLScript Compiling Compiling � Data Compression for OTA transmission � Data Compression for OTA transmission � Support different trust models � Support different trust models � End � End- -user authentication system user authentication system � Problems � Problems � Data is decrypted and again encrypted here � Data is decrypted and again encrypted here � No end � man � end security � No end- -to to- -end security man- -in in- -the the- -middle middle- -attack attack

  8. Protocol Structure (WAP 2.0) Protocol Structure (WAP 2.0)

  9. WAP 2.x Communication Model WAP 2.x Communication Model � WAP proxy support for TLS tunneling � WAP proxy support for TLS tunneling

  10. WAP 2.x Communication Model WAP 2.x Communication Model � Direct Access � Direct Access

  11. WAP Proxy WAP Proxy � An � An optional optional enhancement enhancement “ “WAP gateway WAP gateway” ” � Main tasks � Main tasks � Protocol gateway translation (backward compatible to � Protocol gateway translation (backward compatible to WAP 1.0) WAP 1.0) � Content encoding � Content encoding and decoding (Compact and decoding (Compact and Binary format) and Binary format) � WP � WP- -TCP and User TCP and User agent profile management agent profile management � Feature enhancement � Feature enhancement (e.g. location, privacy) (e.g. location, privacy) � Relation with � Relation with WAP Gateway WAP Gateway

  12. Specification WAE Specification WAE � A general runtime environment for providing service, � A general runtime environment for providing service, instead of a protocol instead of a protocol � Aim: To enable operators, manufacturers, and content � Aim: To enable operators, manufacturers, and content developers to develop advanced differentiating services developers to develop advanced differentiating services and applications (e.g. microbrowser and applications (e.g. microbrowser, email) , email) � Two basic components � Two basic components--- ---In logical, can be integrated In logical, can be integrated together depending on specific architectures and together depending on specific architectures and environment. environment. � Microbrowser � Microbrowser--- ---facilitates browsing of WAP content facilitates browsing of WAP content � WTA (Wireless Telephony Application) � WTA (Wireless Telephony Application)--- ---an interface to an interface to telephony application (call control, phonebook) telephony application (call control, phonebook) � Examples � Examples � SIM toolkit � SIM toolkit--- ---build applications into smart card build applications into smart card � WinCE � WinCE � � JavaPhone JavaPhone

  13. Microbrowser Microbrowser � A variation of standard browser that � A variation of standard browser that makes minimal demands on hardware, makes minimal demands on hardware, memory and CPU memory and CPU � It can display information written in WML � It can display information written in WML and interpret WMLScript WMLScript files files and interpret � Crippleware � Crippleware, by desktop standards , by desktop standards � Not support cookies � Not support cookies � Not support HTML above version 3.2 � Not support HTML above version 3.2 � Not support frames � Not support frames

  14. WML WML � Based on XML, stricter than HTML (e.g. � Based on XML, stricter than HTML (e.g. case sensitive) case sensitive) � The flow of building WML file: Edit � The flow of building WML file: Edit- - >validate- -> >compile+test compile+test- ->publish >publish >validate � A WML document have multiple pages � A WML document have multiple pages called card card and this page is named and this page is named deck deck called � Reason: Can retrieve the decks at the same � Reason: Can retrieve the decks at the same time, i.e. Each request (a dial- -up session) for up session) for time, i.e. Each request (a dial a deck a deck � A deck is embraced by <xml> � A deck is embraced by <xml>… …</xml> </xml> � A card is embraced by <card> � A card is embraced by <card>… …</card> </card>

  15. WMLScript WMLScript � Based on � Based on ECMAScript ECMAScript, similar to , similar to JavaScript JavaScript � Need to be compiled into byte code on � Need to be compiled into byte code on server- -side before running in side before running in server Microbrowser Microbrowser � Not embedded in the WML decks, but only � Not embedded in the WML decks, but only the references to script URLs the references to script URLs � It can access the UML state model as well � It can access the UML state model as well as the WML variables as the WML variables

  16. Benefits of WAE Benefits of WAE � open standard, vendor independent � open standard, vendor independent � network � network- -standard independent standard independent � transport mechanism � transport mechanism– –optimized for optimized for wireless data bearers wireless data bearers � application downloaded from the server, � application downloaded from the server, enabling fast service creation and enabling fast service creation and introduction, as opposed to embedded introduction, as opposed to embedded software (e.g. Java Applet) software (e.g. Java Applet)

  17. WTLS WTLS � An optional security layer with encryption � An optional security layer with encryption facilities to provide the secure transport facilities to provide the secure transport service service � Symmetric cryptography � Symmetric cryptography--- ---Privacy Privacy � Certificate � Certificate--- ---Authentication Authentication � MAC � MAC--- ---Integrity Integrity � Based on TLS 1.0, modifications are � Based on TLS 1.0, modifications are � Adding datagram support � Adding datagram support � Optimizing data size � Optimizing data size � Select fast algorithms � Select fast algorithms

Recommend


More recommend