Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

42
© Oxford University Press 2007. All rights reserved. 1 Wireless LAN, Mobile Internet Connectivity, and Personal Area Network Lesson 03 Wireless Application Protocol (WAP1.1 and 2.0) Architecture

Transcript of Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

Page 1: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 1

Wireless LAN, Mobile Internet Connectivity, and Personal Area Network

Lesson 03Wireless Application Protocol (WAP1.1

and 2.0) Architecture

Page 2: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 2

Wireless Application Protocol

• Offers open development platform for applications

• WAP 2.0 and WAP 1.1

Page 3: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 3

Hypertext Transfer Protocol (HTTP)

• Hypertext means a text which can embed the links to any other text, image, audio clip, or video clip through the URLs and hence enable navigation through these URLs

• HTTP transfers a hypertext, text, data, or voice tagged using HTML

• Similarly, WAP transfers a text written in WML (wireless markup language)

Page 4: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 4

WAP 1.1

• Two sets of software1. WAE (wireless application environment)2. WAE services

Page 5: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 5

Wireless Application Environment (WAE) 1.1

Page 6: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 6

WAE in WAP 1.1

• WML [Refer Lesson 5 for details]• WBXML• WTA• WMLScript• Data formats─ vCard 2.1, vCalendar 1.0,

address book, and pictures (jpg, gif, …)• User agent

Page 7: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 7

WBXML

• WAP 1.1 provides for communication of client with gateway or proxy using WBXML

• XML and WML page document are not compact

• WBXML specification in binary representation so that XML or XML-based language─ transmitted and received in compact format

Page 8: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 8

WBXML

• A binary number can represent a tag in place of characters

• Another binary number can represent an attribute in place of characters

• For example, attribute ID needs two characters

• It is represented by a single byte• Attribute title needs five characters• It is also represented by a single byte

Page 9: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 9

Wireless Telephony Application (WTA ) Protocol

• Call set up• call accept• call forwarding• caller line ID• connected line ID• closed user group• multiparty groupings

Page 10: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 10

Wireless Telephony Application (WTA ) Protocol

• call waiting• call barring• operator restrictions• call charge advice• contacts entry in phone book• call hold

Page 11: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 11

Wireless Telephony Application (WTA ) Protocol

• conferencing• ring tones• speed dial• telephone/fax• SMS up to 160 characters• emergency number, MMSgif, jpg, wbmp,

teletext, and videotext access

Page 12: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 12

WATI (WTA interface)

• WATI provides the interfaces the features using WML browser

• A WTA URI can be wtai://wap.mcard: followed by a telephone number

• Identical to port number specifications provided in the URL

Page 13: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 13

WTA URI

• Example: wtai://wap.mcard: followed by a telephone number

• Identical to port number specifications provided in the URL

Page 14: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 14

Wireless Telephony Application (WTA ) Server

• Server can push the WMLScript or deck contents

Page 15: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 15

Wireless Telephony Application (WTA ) event handler

• A WTA event handler can handle WTA events

• Example of an event─ change in data-field content

Page 16: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 16

Wireless Telephony Application (WTA )

• A persistent storage interface helps in storing the data on device when the content is modified. WTA also provides security interface

• Only authorised gateway or proxy can access the data at the server

Page 17: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 17

User Agent

• Software used by the user to give input using VUI (voice user interface)

• GUI (graphic user interface) • To interact with mini browser (browser with

limited screen size)• Executes the WMLScript at the client and

displays the results• Displays the WML decks received as

response from the server

Page 18: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 18

User Agent Profile

• Provides small screen device characteristics, font, and display capabilities

• Enhances the input capabilities, for example, the use of T9 keypad, stylus, and touch screen is enabled

Page 19: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 19

Data formats for data displayed on a mobile device

• vCard 2.1 is the format for visiting card• vCalendar 1.0 is the format for calendar• Also a mobile device provides pictogram

which is a small picture of very low resolution that cannot be split and can be placed along with the text

• Pictogram used for displaying logo

Page 20: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 20

WAE 2.0

• WAE 1.1• XHTML-MP • HTTP• HTML Browser

Page 21: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 21

WAP 2.0

• Wireless protocol for synchronization of WAP client computers and WAP or HTTP server

• Derived from the architecture of the synchronization between HTTP client (browser) and the HTTP server (web server) in wired Internet

• WAP 2.0 has backward compatibility and supports WAP 1.1 devices

Page 22: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 22

WAP2.0

• Wireless Session layers and Wireless Transport protocol layers not required in case of WAE XHTML-MP or HTML

Page 23: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 23

WAP 1.1 and WAP 2.0 Protocol Layers

Page 24: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 24

Synchronization in WAP 1.1 and WAP 2.0

• Remote service provider pre-configuring of the device for provisioning of services

• Used for data synchronization between server and mobile devices

• WAP 2.0 uses SyncML for Remote service provider pre-configuring of the device for provisioning of services

• WAP 2.0 uses SyncML for data synchronization between server and mobile devices

Page 25: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 25

WAP 1.1 Gateway

• Required for protocol conversions between two endsmobile client device and HTTP server

• Required for iWMLScript (Internet WML script) compilation into CGI script which runs at the HTTP server to get HTML response which is sent to the client application

Page 26: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 26

WAP 1.1 Gateway

• Gateway converts WAE 1.1, WSP, WTP, WTLS, and UDP layers encoded data packets into the HTTP, TLS (in HTTPS), and UDP layers encoded data packets when the device transmits data to server

• Does decoding when the server sends data to client through the gateway

Page 27: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 27

WAP 2.0

• WAP 1.1 gateway encoders and decoders not required in WAP 2.0

• A WAP gateway connects WAP client to HTTP servers

• HTTP server serves the websites on the Internet

• HTTP layer in TCP/IP protocol suite acts as application layer protocol when connecting to Internet on a wired network

Page 28: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 28

WAP Push-Proxy Gateway

• WAP 2.0 uses XHTML-MP (Extensible Hypertext Markup Language Mobile Profile) in place of WML

• Therefore encoding and compilation is not required and only a WAP 2.0 proxy suffices

Page 29: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 29

Architecture for communication between a WAP client and HTTP

Page 30: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 30

Running of application in a Mobile device WAE

• A WML card containing a client-request is transmitted and is decoded at the gateway

• After decoding, the gateway communicates the request to the server in HTML format

• The server generates an HTML response by employing the method(s) which run at the server

Page 31: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 31

Running of application in a Mobile device WAE

• The response is encoded in WML form at the gateway

• The gateway transmits the WML response to mobile-device client which runs an application after parsing the WML

• The application uses the methods which run at the client

Page 32: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 32

WAP Push-Proxy Gateway

• HTTP web servers function in pull mode• That is, an HTTP client application sends

a request to the server and the HTTP server sends the response

• Mobile device applications require data dissemination by server in push mode, pull mode, and push-pull hybrid mode

Page 33: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 33

WAP Push-Proxy Gateway

• A WAP 2.0 proxy is required for pull mode• A push-proxy gateway is used to

exchange data packets between a mobile device through wired Internet and Web servers. The role of WAP 2.0 gateway is restricted to provisioning for push and pull mode services from the servers

Page 34: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 34

WAP 2.0

• Have three important features over WAP 1.1

1. SyncML synchronization2. WAP push service3. MMS service

Page 35: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 35

SyncML Synchronization in WAP 2.0

• Remote service provider pre-configuring of the device for provisioning of services

• Used for data synchronization between server and mobile devices

Page 36: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 36

WAP 1.1 architecture

• Does not provide HTTP-TLS-TCP-IP layers at the WAP client for interacting with the WAP gateway

• TLS (transport layer security)─ a security protocol

Page 37: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 37

WAP 1.1

• WAP gateway, therefore, uses a decoder for sending request to web HTTP server and an encoder for sending response to WAP client

Page 38: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 38

WAP gateway

• WAP gateway provides access to the wireless and wired networks and also builds caches due to frequent disconnections in the wireless environment

• Ensures security in wireless and wired networks

Page 39: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 39

WAP gateway

• An HTTP server environment provides only pull mode service but WAP gateway has provisions for both push and pull mode services from the servers

• Pull mode means client sends a request and pulls the data from server as a response

Page 40: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 40

Summary

• WAP 2.0 and WAP 1.1 application development platforms

• WAP transfers a text written in WML (wireless markup language)

• WAP gateway required for protocol conversions and iWMLScript (Internet WML script) compilation into CGI script

• WBXML…

Page 41: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 41

…Summary

• WTA• User Agent• Special data format for WAP • WAP 2.0 uses XHTML-MP (Extensible

Hypertext Markup Language Mobile Profile) in place of WML

• Encoding and compilation not required and only a WAP 2.0 proxy suffices

Page 42: Wireless LAN, Mobile Internet Connectivity, and Personal Area ...

© Oxford University Press 2007. All rights reserved. 42

End of Lesson 03Wireless Application Protocol (WAP1.1

and 2.0) Architecture