1. Mobile Device on the WWW 2. WAP, WML and WMLScript Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt 3. Measurement, Management and Control via the WWW Universität Karlsruhe Fakultät für Informatik Institut für Telematik Wintersemester 2000/2001 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite1 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite3 � what is different? � devices have usually smaller and low-quality displays � devices may not have audio output � processing power is compared to a PC smaller � often wireless networks with smaller bandwidth � devices are used at different locations and in different situations � aim: despite these restrictions it should be possible to access content from the Internet � approaches ( http://www.w3.org/Mobile/Activity ) : Chapter 7: Mobile and Ubiquitous WWW � devices can tell the server there capabilities Composite Capability/Preference Profile (CC/PP) http://www.w3.org/TR/NOTE-CCPP/ http://www.w3.org/TR/NOTE-CCPPexchange � servers can provide location depended information Point Of Interest eXchange Language (POIX) http://www.w3.org/TR/poix/ NaVigation Markup Language (NVML) http://www.w3.org/TR/NVML Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite2 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite4
Composite Capabilitiy/Preference Profile (CC/PP) (3) Composite Capabilitiy/Preference Profile (CC/PP) (1) Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite5 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite7 Composite Capabilitiy/Preference Profile (CC/PP) (2) 1. Mobile Device on the WWW 2. WAP, WML and WMLScript 3. Measurement, Management and Control via the WWW Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite6 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite8
� requirements and goals � Wireless Application Environment � network-neutral application environment; � WML Microbrowser � for narrow-band wireless devices; � WMLScript Virtual Machine � WMLScript Standard Library � with an Internet/WWW programming model; � Wireless Telephony Application Interface � and a high degree of interoperability � WAP Content Types � initial focus on phones � slow bearers � Wireless Protocols � small memory � Wireless Session Protocol (WSP) � limited CPU � Wireless Transport Layer Security (WTLS) � small screen � Wireless Transaction Protocol (WTP) � Wireless Datagram Protocol (WDP) � limited input model � Wireless network interface definitions Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite9 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite11 � mobile phones bring in new requirements that are not � first generation regarded in current Internet/WWW Technologies � architecture (application model, browser, gateway, content � to ease the development and deployment WAP should be server) � WML – XML based display language based on standard WWW-Technologies � WMLScript (scripting language) � content can be provided on a standard HTTP1.1 Web server � WTA (telephony services API and architecture) � to generate dynamic resources CGI, ASP, NSAPI, JAVA, Servlets, � content formats (data exchange, WML, WMLScript, WMBP) etc. can be used. � WML is based on XML � in the future (now?) � adapted to the requirements for mobile communication � user agent profiling (content customized for device) � Optimized for wireless communication, e.g. data compression � push model (network-initiated content delivery) � WML is build to suit the specific need of the UI of a mobile phone � Performance Enhancements (Caching, etc.) and other small user interfaces � a standard is required for interoperability Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite10 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite12
Wireless Application Protocol Wireless Application HTML Other Services and Environment (WAE) Applications JavaScript Session Layer (WSP) HTTP Client Web Server WAP Gateway Transaction Layer (WTP) WML with WML-Script CGI WML Encoder WML Decks Scripts WML- WSP/WTP HTTP Security Layer (WTLS) TLS - SSL etc. WMLScript Script Compiler WTAI Transport Layer (WDP) Protocol Adapters Content Etc. TCP/IP UDP/IP Bearers: SMS USSD CSD IS-136 CDMA CDPD PDC-P Etc.. Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite13 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite15 � tag-based browsing language (XML-DTD) � screen management (text, images) � data input (text, selection lists, etc.) � hyperlinks & navigation support � inherits technology from HDML and HTML � deck/card metaphor � document is a deck that can contain multiple cards Client WAP Application Server � user interactions are split into cards � navigation occurs between cards with WML-Script WML WML Encoder Application WML Decks � explicit inter-card navigation model WML- Logic WMLScript � hyperlinks WSP/WTP Script Compiler � UI event handling � history WTAI Protocol Adapters Content � timer Etc. � state management and variables � reduce network traffic � results in better caching Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite14 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite16
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC " -//WAPFORUM//DTD WML 1.1//EN" "http://www. wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="welcome" title="TV-Control"> <do type="ACCEPT" label="Remote Control"> <go href="#progCard"/> <?xml version="1.0"?> </do> prolog <!DOCTYPE wml PUBLIC " -//WAPFORUM//DTD WML 1.1//EN" <p>TV Remote Control</p> <p><anchor>Use the remote control! "http://www.wapforum.org/DTD/wml_1.1.xml"> <go href="#progCard"/> <wml> </anchor></p> <card id="welcome" title="Card 1"> <p><anchor>Provided by TecO <do type="ACCEPT" label="Goto Card2"> <go href="http://wap.teco.edu"/> navigation <go href="#Card2"/> </anchor></p> </do> </card> <p>Text is here</p> <card id="progCard " title="Program"> card <do type="ACCEPT„ label="select TV"> <p><anchor>Provided by TecO <go href="/cgi/tv.pl?p=$(P)"/> <go href="http://wap.teco.edu"/> </do> </anchor></p> <p>Select the Program: deck </card> <select name="P"> <option value="ard">ARD</option> <card id="Card2" title="Card 2"> <option value="zdf">ZDF</option> <option value="pro7">Pro7</option> <do type="ACCEPT"> <option value="sat1">Sat1</option> variables <go href="/cgi/age.pl?a=$(a)"/> <option value="3sat">3Sat</option> </do> <option value="rtl">RTL</option> <p>your Age <option value="rtl2">RTL2</option> input <input format="*N" name="a" title="Age:"/></p> <option value="srtl">S-RTL</option> </card> <option value="arte">ARTE</option> </wml> </select></p> </card> </wml> Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite17 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite19 � define actions/events that are common to all card <wml> <template> First Card <do type="OPTIONS" LABEL="TecO"> <go href="http://wap.teco.edu/"/> </do> _____________ </template> Next TecO <card id="card1"> <do type= "accept" label="Next"> <GO URL="card2"/> </do> Second Card First Card </card> <card id="card2"> _____________ Second Card Options TecO </card> </wml> Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite18 Prof. Dr. Dr. h.c. mult. Gerhard Krüger, Albrecht Schmidt: Web Engineering, WS99/00 Seite20
Recommend
More recommend