Intro to Middleware - Indiana University

Download Report

Transcript Intro to Middleware - Indiana University

ECET 581/CPET/ECET 499
Mobile Computing Technologies & Apps
Mobile Device Connectivity
Protocols
1 of 3
Lecture 14
Paul I-Hai Lin, Professor
Electrical and Computer Engineering Technology
Indiana University-Purdue University Fort Wayne
March 12, 2007
1
Mobile Device Connectivity Protocols

Wireless Protocols
•
•
•
•
•
•
WAP (Wireless Application Protocol)
WML (Wireless Markup Language)
Bluetooth
OBEX (Object Exchange)
WBXML
Mobile Internet Protocols
March 12, 2007
2
Mobile Device Connectivity Protocols

WAP (Wireless Application Protocol)
• WAP Forum, http://www.wapforum.org/
• WAP 2.0,
http://www.openmobilealliance.org/tech/affiliates/wap/
wapindex.html
• Integrates telephony services with browser
technology, interactive Internet access for mobile
handsets
• Typical WAP applications
 Over-the-air e-commerce transactions, online
banking, information provisioning, and messaging
• WAP 2.0 Technical White paper,
www.wapforum.org/what/WAPWhite_Paper1.pdf
March 12, 2007
3
Mobile Device Connectivity Protocols

WAP 2.0
http://www.openmobilealliance.org/tech/affiliates/wap/wap
index.html
•
•
•
•
•
•
•
•
Architecture
Client ID
Client Provisioning
External Functional Interface (EFI)
General Formats
Multimedia Messaging Services (MMS)
Persistence
Push
March 12, 2007
4
Mobile Device Connectivity Protocols

WAP 2.0
•
•
•
•
•
•
Synchronization
User Agent Profile
Wireless Application Environment
Wireless Protocols
Wireless Security
Wireless Telephony Application (WTA)
March 12, 2007
5
Mobile Device Connectivity Protocols

WAP Architecture (client)
•
•
•
•
•
•
Application Layer (WAE)
Session Layer (WSP)
Transaction Layer (WTP)
Security Layer (WTLS)
Transport Layer (WDP)
Bearers (Lowest Transport mechanism)
March 12, 2007
6
Mobile Device Connectivity Protocols

WAP Architecture (client): Bearers (Lowest
Transport mechanism)
• GSM (Global System for Mobile
Communications)
• CDMA
• IP
• UMTS (Universal Mobile Telecommunication
System)
March 12, 2007
7
Mobile Device Connectivity Protocols

WAP Architecture (client): Transport Layer
(WDP)
• Wireless Datagram Protocol (WDP)
• Wireless Control Message Protocol (WCMP)
March 12, 2007
8
Mobile Device Connectivity Protocols

WAP Architecture (client): Transaction
Layer (WTP)
• Equivalent of the TCP layer in the IP stack)
• Class 0 – unreliable one-way messages without
confirmation
• Class 1 – reliable one-way message without
result messages (push Short Message
Services)
• Class 2 – reliable two-way request-response
messages (confirmation, result of a query)
March 12, 2007
9
Mobile Device Connectivity Protocols

WAP Architecture (client): Session Layer
(WSP)
• Connection-Oriented services based on WTP
• Supports HTTP 1.1 functionality and semantics
in a binary-encoded format
March 12, 2007
10
Mobile Device Connectivity Protocols

WAP Architecture (client): Application
Layer (WAE) environment
• Micro-browser
• Displaying WML pages
• Executing WML script
March 12, 2007
11
Mobile Device Connectivity Protocols

WAP Infrastructure
•
•
•
•
Mobile client
A public land mobile network (GMS, etc)
A public telephony network
A WAP gateway


Protocol conversion
Content encoding
• An IP network
• A WAP application server
March 12, 2007
12
Mobile Device Connectivity Protocols

WAP Profile
•
•
•
•
•
•
•
•
•
•
•
Homepage: http://x.yy.xx.xyz/homepage.wml
Connection type
Connection security
Bearer
Dial-up number
IP address
Authentication type
Data call type
Data call speed
User name
Password
March 12, 2007
13
Mobile Device Connectivity Protocols

WAP Security issue
•
•
•
•
End-to-end security
Missing security authentication
Unauthenticated OTP (On-the-Air Provisioning)
Missing Public Key Infrastructure
March 12, 2007
14
Mobile Device Connectivity Protocols

Wireless Markup Language
• An XML markup language
• WML deck

March 12, 2007
A unit transferred from the application or content
server to the mobile device
15
Mobile Device Connectivity Protocols

Wireless Markup Language
<?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=“card1” title=“sample”>
<p> Hello World! </p>
</card>
</wml>
March 12, 2007
16