PowerPoint 簡報

Download Report

Transcript PowerPoint 簡報

校園無線網路技術與應用發展
Sheng-Tzong Cheng
鄭憲宗
2015/7/17
[email protected]
http://plato.iie.ncku.edu.tw
06-2757575 ext. 62529
1
成大資訊 鄭憲宗
Outline


2015/7/17
無線區域網路 ─ IEEE 802.11
無線應用通訊協定 ─ WAP
2
成大資訊 鄭憲宗
無線區域網路通訊協定
Wireless Local Area Network
(IEEE 802.11)
2015/7/17
3
成大資訊 鄭憲宗
無線區域網路標準-IEEE
802.11


Specifies a single Medium Access Control (MAC)
sublayer and 3 Physical Layer Specifications.
Stations can operate in two configurations :



Three PHY specifications



2015/7/17
Ad-hoc mode
Infrastructure mode
Frequency Hopping Spread Spectrum (FHSS).
Direct Sequence Spread Spectrum (DSSS).
Infrared PHY.
4
成大資訊 鄭憲宗
IEEE 802.11規範
Application Layer

IEEE Project 802 Charter:




Local & Metropolitan Area Network
1Mbps to 100Mbps and higher
2 lower layers of 7 Layer OSI
Reference Model
IEEE 802.11 Working GroupData
Link
scope:
Layer
Wireless connectivity for fixed,
portable and moving stations within
a limited area
 Appear to higher layer (LLC) the
2015/7/17same as existing 802 standards
.
.
.
Network Layer
LLC
MAC

IEEE
802.11
Physical Layer
5
成大資訊 鄭憲宗
IEEE 802.11架構

1997/6/26通過成為IEEE 802系列標準
Logical Link Control
Media Access Control
Infrared
Physical Layer
2015/7/17
FHSS
Physical Layer
DSSS
Physical Layer
6
成大資訊 鄭憲宗
Ad Hoc網路
• One Basic Service Set
• Directed Connection
• Limited Coverage Area
2015/7/17
7
成大資訊 鄭憲宗
Infrastructure網路
Existing
Wired LAN
Other
LANs
Distribution System
AP
AP
BSS
Basic
Service
Set
Extend Service Set
2015/7/17
8
成大資訊 鄭憲宗
Infrastructure網路 (cont.)







Access Point and Mobile Station
Distributed System Interconnect Multiple Cells via Access
Points to form a single network
Extends Wireless Coverage Area
Multiple Basic Service Sets connected together form an
Extended Service Set
Allow Mobile Station to access fixed resource
Support Roaming for Mobile Stations via Access Point
Point Coordination Function, Power Management, Time
Synchronization support through Access Point
2015/7/17
9
成大資訊 鄭憲宗
IEEE 802.11 Services



Provides services with the following
functionality: roaming within a ESS, multiple
data rates in BSSs and Power Management.
The MAC protocol is Carrier Sense Multiple
Access with Collision Avoidance (CSMA/CA)
MAC services





2015/7/17
Association service
Authentication service
Distribution service
Integration service
Deauthentication/Deassociation service
10
成大資訊 鄭憲宗
Spread Spectrum Technology

DSSS(Direct Sequence Spread Spectrum)




FHSS(Frequency Hopping Spread Spectrum)





11channels
PN-code長度為11-bit
展頻寬度為11MHz
78 hop sequences
頻帶範圍為1MHz,
跳頻的頻率為每秒2.5次
Infrared Ray
發展趨勢:DHSS往高速無線區域網路系統發展,適合辦
公室環境使用;FHSS會往低價網路應用發展,提供SOHO
及家庭應用、或周邊設備之無線網路連結。
11
2015/7/17
成大資訊 鄭憲宗
直接序列展頻(DSSS)
2015/7/17
12
成大資訊 鄭憲宗
跳頻展頻(FHSS)
2015/7/17
13
成大資訊 鄭憲宗
IEEE 802.11 TGa


The TGa is working on the high data-rate
extension in the 5 GHz band, project 802.11a,
was able to produce a new draft standard that
has the support of at least 80 % of the members.
TGa is looking at a candidate for worldwide
standardization!
2015/7/17
14
成大資訊 鄭憲宗
IEEE 802.11 TGa (cont.)



2015/7/17
The specifications of the Physical Layer
encompass data rates from 6 Mbit/s up to 54
Mbit/s, with 20 MHz spacing between adjacent
channels.
All implementations are required to support 6,
12 and 24 Mbit/s. Optional extensions are for
9, 18, 36, 48 and 54Mbit/s.
The multi-rate mechanism of the MAC protocol
ensures that all devices communicate with
each other at the best data rate in the present
channel.
15
成大資訊 鄭憲宗
IEEE 802.11 TGb


2015/7/17
The TGb is working on the extension of the 1
and 2 Mbit/s data rates in the 2.45 GHz band
with 5.5 and 11 Mbit/s has reached a technical
compromise solution to improve the coexistence and interoperability characteristics
between options.
The multi-rate mechanism warrants that the 11
Mbit/s operation can switch back to 5.5Mbit/s.
Stations that are even further could switch
back to the 2 and 1 Mbit/s capabilities of the
DSSS modulation.
16
成大資訊 鄭憲宗
CSMA/CD (LAN)
3.
Send data if the medium is sensed “idle”
If collides with other host(s),
then backoff for a random number of
times
Re-send data later
2015/7/17
17
1.
2.
成大資訊 鄭憲宗
Hidden Terminal Problem
data
A
2015/7/17
B
data
C
18
成大資訊 鄭憲宗
Solution to HTP
Request
A
B
C
Grant
2015/7/17
19
成大資訊 鄭憲宗
Detection of Collision
Request
A
2015/7/17
B
Request
C
20
成大資訊 鄭憲宗
Collision Avoidance
D
Request
A
A is Grant
2015/7/17
B
C
A is Grant
21
成大資訊 鄭憲宗
RTS/CTS/data/ACK and NAV
setting
2015/7/17
22
成大資訊 鄭憲宗
Some IFS relationships and
basic access method
2015/7/17
23
成大資訊 鄭憲宗
Random backoff time





2015/7/17
Backoff time = INT(CW *
Random())*aSlotTime
INT(x) : 小於或等於x的最大整數
CW(contention window parameter ) : 介於
CWmin和Cwmax間的整數 , CW依序遞增的順
序為(7,15,31,63,127,255,255,255……)
Random() : 介於0到1間的實數
aSlotTime : 傳送器開啟延遲 + 媒介傳遞延遲
+ 媒介忙碌偵測反應時間
24
成大資訊 鄭憲宗
An example of exponential
increase of CW
2015/7/17
25
成大資訊 鄭憲宗
Backoff procedure
2015/7/17
26
成大資訊 鄭憲宗
Transmission of a multifragment MPDU using SIFS
2015/7/17
27
成大資訊 鄭憲宗
RTS/CTS with fragmented
MSDU
2015/7/17
28
成大資訊 鄭憲宗
RTS/CTS with transmitter priority
and missed acknowledgment
2015/7/17
29
成大資訊 鄭憲宗
Direct data/ACK MPDU
2015/7/17
30
成大資訊 鄭憲宗
無線區域網路軟體技術架構
Network
Applications
WLAN
Management
Utility
File
Transfer
E-Mail
Mobile IP
SNMP
Agent
2015/7/17
Security
Mobile
Data
Distributed
Service
Socket Interface
Network Driver (NDIS)
Embedded
Control
Software
WLAN
Platform
Remote
Access
Media Access Control
U-NII or ISM band
DSSS
FHSS
ETSI
DECT
31
成大資訊 鄭憲宗
無線應用通訊協定
Wireless Application Protocol
(WAP)
2015/7/17
32
成大資訊 鄭憲宗
無線上網趨勢

日本NTT的DoCoMo 於2/1999推出無線上網服務,
一年內累積3百萬用戶,每週增加10萬人

WAP Forum於1997年成立,至1999年12月全世界
有200家無線通訊事業成為會員(95%市場之相關業
者投入)

1999年,WAP是手機使用者最熱門話題之一
2015/7/17
33
成大資訊 鄭憲宗
無線上網趨勢

(續)
1999年在台灣銷售180萬隻手機前兩大廠─ Motorola
於 2000上半年WAP手機佔40% ,下半年100%投入;
Nokia 則佔30%。

國內新上市的手機六到七成內建WAP功能

台灣已超過1000萬人有行動手機,而PC上網人數約
3至4百萬

語音:數據─95% : 5% (2000) ; 40% : 60% (2005)
2015/7/17
34
成大資訊 鄭憲宗
全球無線通訊用戶成長
2015/7/17
35
成大資訊 鄭憲宗
預估未來WAP手機的佔有率
2015/7/17
36
成大資訊 鄭憲宗
2015/7/17
37
成大資訊 鄭憲宗
2015/7/17
38
成大資訊 鄭憲宗
手持型元件之延革
2015/7/17
39
成大資訊 鄭憲宗
2015/7/17
40
成大資訊 鄭憲宗
What’s WAP for?



2015/7/17
bring the internet content and advanced
services to 後PC 時代之users
create a global wireless protocol to work
across differing wireless network
technologies
enable applications to scale across a variety
of transport options and device types
41
成大資訊 鄭憲宗
What is defined in WAP?





2015/7/17
Micro-Browser
Scripting to enhance MS capabilities
WTA/WTAI for telephone functionality (e.g.
call chains)
Content Formats
 business card (vCard )
 calendar event (vCalendar )
Layered Telecommunication Stack
42
成大資訊 鄭憲宗
Comparison
Wired Internet
HTML
JavaScript
HTTP
Wireless Network
Application
Layer
Wireless Application
Environment (WAE)
Wireless Transaction
Protocol (WTP)
Security
Layer
Transport
Layer
TCP/IP
UDP/IP
Network
Layer
Applications
Wireless Session
Protocol (WSP)
Session
Layer
Transaction
Layer
TLS - SSL
Other Services
and
Wireless Transport
Layer Security (WTLS)
Datagrams(UDP/IP)
Datagrams (WDP)
Wireless Bearers:
SMS
USSD CSD
IS-136 CDMA
IDEN
CDPD PDC-P
GPRS
WAP
2015/7/17
gateway
43
成大資訊 鄭憲宗
2015/7/17
44
成大資訊 鄭憲宗
Goals for WTP (WAP v1.1)




2015/7/17
a common interface to physical transport
mechanisms
provide a port- based abstract interface to
upper layer protocols
allow applications designed independent
from specific transports
extensible to a variety of digital wireless
networks and future transport options
45
成大資訊 鄭憲宗
Goals for WTP (cont.)



supports connection- oriented, transaction,
and datagram modes
optimize for narrow to medium bandwidth
channels
to be capable of implementation in a low
memory footprint, suitable for standard or
low- IQ handsets
2015/7/17
46
成大資訊 鄭憲宗
Requirements for WTP




WTP/ C provides a reliable connectionoriented service to the upper layer
WTP/ T provides a reliable transactionoriented service suitable for web browsing
WTP/ D provides a datagram service
lightweight : implementable in <= 10Kb
(low memory / computational needs)
2015/7/17
47
成大資訊 鄭憲宗
WTP/D features
(WDP in WAP v 1.2)



WTP/ D (Datagram) provides a connectionless, unreliable datagram service
WTP/ D is replaced by UDP when used over
an IP network layer.
uses the Service Primitive

2015/7/17
T- UnitData. req .ind
48
成大資訊 鄭憲宗
WAP v 1.2
Wireless Application
Environment (WAE
Other Services
and
)
Applications
Wireless Session
Protocol (WSP)
Wireless Transaction
Protocol (WTP)
Wireless Transport
Layer Security (WTLS)
Datagrams
(UDP/IP)
Datagrams
(WDP)
Wireless Bearers:
SMS
2015/7/17
USSD
CSD
IS -136
CDMA
IDEN
CDPD
PDC -P
GPRS
49
成大資訊 鄭憲宗
WTP/T features
(WTP in WAP v 1.2)




WTP/ T (Transaction) provides 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
2015/7/17
50
成大資訊 鄭憲宗
WTP/T features (cont.)



2015/7/17
supports
 retransmission of lost packets
 selective- retransmission
 segmentation / re- assembly
 port number addressing (specific to WTP/ T)
 flow control
message oriented (not stream)
supports an Abort function for outstanding
requests
51
成大資訊 鄭憲宗
Wireless Session Protocol



WSP/ B provides upper layers with session
services and management
WSP/ B Provides semantics and
mechanisms based on HTTP 1.1
WSP provides means to :




2015/7/17
establish a reliable session from client to server
agree on common level of protocol functionality by
capability negotiation
compact encoding
suspend and resume
52
成大資訊 鄭憲宗
WSP features





2015/7/17
HTTP 1.1 functionality
Exchange of client and server session
headers
Interrupt mechanism for transactions in
process
Content Push from server to client
Negotiation for multiple, simultaneous
asynchronous transactions
53
成大資訊 鄭憲宗
WTLS Record Protocol

4 record protocol clients:





handshake protocol
change cipher spec protocol
alert protocol
application data protocol
WTLS connection state : the operating
environment for record protocol


2015/7/17
The
The
The
The
compression/ encryption algorithm
MAC algorithm -- keys
54
成大資訊 鄭憲宗
Record Protocol Usage

Handshake protocol



Change cipher spec protocol



Signal transitions in ciphering strategies
sent before verifying finished message
Alert protocol

2015/7/17
Negotiate secure attributes of a secure session
authentication, security parameter settings
convey the severity of the message and a description
of the alert
55
Wireless Application
Environment
(WAE)



An Internet (WWW) programming model
Vendor- controlled MMI
Initial focus on phones





2015/7/17
成大資訊 鄭憲宗
Slow bearers
Small memory
Limited CPU
Small screen
Limited input model
56
成大資訊 鄭憲宗
WAE Components
• Architecture
– Application model
– Browser, Gateway, Content Server
• WML (Wireless Markup Language)
– Display language
• WMLScript
– Scripting language
•Content Formats
– Data exchange
2015/7/17
57
成大資訊 鄭憲宗
WAE In- Device Architecture
2015/7/17
58
成大資訊 鄭憲宗
WML

Tag- based browsing language:





Screen management (text, images)
Data input (text, selection lists, etc.)
Hyperlinks & navigation support
Syntax: W3C XML (SGML derivative)
Inherits technology from HDML and HTML
2015/7/17
59
成大資訊 鄭憲宗
WML (cont.)

Card metaphor



State management and variables



Reduce network traffic
Results in better caching
Explicit inter- card navigation model


2015/7/17
User interactions are split into cards
Navigation occurs between cards

Hyperlinks
UI Event handling
History
60
成大資訊 鄭憲宗
WML Example
<?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="main">
<do type="accept">
<go href="#ecard"/>
</do>
<p>Welcome!</p>
</card>
<card id="ecard">
<do type="accept">
<go href="#ecard N=$(N);S=$(S)" />
</do>
<p>
Enter name: <input name="N"/>
speed:
<select name="S">
<option value="0">Fast</option>
<option value="1">Slow</option>
</select>
</p>
</card>
2015/7/17 </wml>
61
成大資訊 鄭憲宗
WMLScript

Scripting language:




Derived from JavaScript™
Integrated with WML


2015/7/17
Procedural logic, loops, conditionals, etc.
Optimized for small- memory, small- cpu
devices
Powerful extension mechanism
Reduces overall network traffic
62
成大資訊 鄭憲宗
WMLScript (cont.)

Bytecode-based virtual machine




Compiler in network


2015/7/17
Stack-oriented design
ROM-able
Designed for simple, low-impact
implementation
Better network bandwidth use
Better use of terminal memory/ cpu
63
成大資訊 鄭憲宗
2015/7/17
64
成大資訊 鄭憲宗
2015/7/17
65
成大資訊 鄭憲宗
2015/7/17
66
成大資訊 鄭憲宗
WAP Gateway
2015/7/17
67
成大資訊 鄭憲宗
WAP Application Server
2015/7/17
68
成大資訊 鄭憲宗
2015/7/17
69
成大資訊 鄭憲宗
WAP Push Technology
Push Overthe-Air
Protocol
Push
Access
Protocol
WAP Client
Push
Initiator
Push Proxy
Gateway
2015/7/17
70
成大資訊 鄭憲宗
WAP怎麼了?

歐洲在兩年內至少應有10億隻WAP手機,實際上只
有六百萬之使用量(according to IDC)

T-Mobile:1% out of 1300萬人採購上網手機。1%
者有1/3從未上網,大部份人一週上網不到一次(北
歐情形較佳)

影響WAP三大因素(訊通國際):連線速度慢、通信
費用高、服務項目少
2015/7/17
71
成大資訊 鄭憲宗
WAP整體環境

手機製造業

電信系統業者

ISP

設備供應商

網路軟體業者
 提供個人的、即時的、必須的資訊內容
2015/7/17
72
成大資訊 鄭憲宗
2015/7/17
73
成大資訊 鄭憲宗
2015/7/17
74
成大資訊 鄭憲宗
行動圖書館操作模式
2015/7/17
75
成大資訊 鄭憲宗
行動網路圖書館示意圖
2015/7/17
76
成大資訊 鄭憲宗
行動網路圖書館架構
2015/7/17
77
成大資訊 鄭憲宗
行動圖書館運作流程
2015/7/17
78
成大資訊 鄭憲宗
行動圖書館服務功能
2015/7/17
79
成大資訊 鄭憲宗
行動圖書館優點







2015/7/17
穩定強大的後端資料庫
友善使用者的DBA管理介面
跨平台執行之服務程式
充滿創意之各項行動圖書館服務
自行架設之WAP Gateway Server
伺服器皆採用開放原始碼之Linux作業系統
革命性跨介面存取的多元圖書館
80
成大資訊 鄭憲宗
行動圖書館網頁範例
2015/7/17
81
成大資訊 鄭憲宗
Technology Support






2015/7/17
跨元件(介面)資訊存取
個人化資訊服務
智慧型資料傳輸
高效能執行平台
高可靠度系統支援
生物特徵辨識
82