32
1 行行行行行行行行行行行行行行 The Study and Implementatio n of Mobile Internet Phone 主主主 : 主主主 主主 :2005.07.15 主主主主 : 主主主 主主

行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

Embed Size (px)

DESCRIPTION

行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone. 主講人 : 李昆達 日期 :2005.07.15 指導教授 : 吳和庭 博士. 綱要. 前言 相關技術背景之探討 軟體實現行動網際網路電話系統 相關演算法探討 未來展望 實機展示. 前言. 寬頻網路 多媒體資料 封包交換 vs 電路交換 依網路傳送品質改變語音編碼格式. 相關技術背景之探討. SIP. RFC 2543, March 1999 RFC 3261, June 2002 Function - PowerPoint PPT Presentation

Citation preview

Page 1: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

1

行動網際網路電話之研製與實現The Study and Implementation of Mo

bile Internet Phone

主講人 : 李昆達日期 :2005.07.15

指導教授 : 吳和庭 博士

Page 2: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

2

綱要前言 相關技術背景之探討 軟體實現行動網際網路電話系統 相關演算法探討未來展望實機展示

Page 3: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

3

前言寬頻網路多媒體資料封包交換 vs 電路交換依網路傳送品質改變語音編碼格式

Page 4: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

4

相關技術背景之探討

Page 5: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

5

SIP

RFC 2543, March 1999

RFC 3261, June 2002

FunctionFind Out IP Address(Location) of use

Session Initiation

Session Management

Page 6: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

6

SIP Architecture

Page 7: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

7

SIP Messages

Request Messages Type Description

REGISTER Registers the user agent

INVITE Initiates a call by inviting user to participate in session

ACK Confirms that the client has received a final response to an INVITE request

CANCEL Cancels a pending request

BYE Indicates termination of the call

OPTIONS Used to query the capabilities of a server

“The SIP INFO Method”, RFC 2976, October 2000.“The Session Initiation Protocol (SIP) UPDATE Method”, RFC 3311, September 2002.

Page 8: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

8

SIP Response Messages Response Messages Type Description

1xx Informational Responsesex. 180 Ringing

2xx Successful Responsesex. 200 OK

3xx Redirection Responsesex. 302 Moved Temporarily

4xx Request Failure Responsesex. 404 Not Found

5xx Server Failure Responsesex. 503 Service Unavailable

6xx Global Failures Responsesex. 600 Busy Everywhere

Page 9: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

9

SIP Operation

Page 10: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

10

RTP/RTCP

RFC 1889, January 1996

RFC 3550, July 2003

Function傳送即時性的資料

Page 11: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

11

RTP Packet Format

Page 12: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

12

RTCP Packet Types

Packet Type Description Value

SR sender report 200

RR receiver report 201

SDES source description item 202

BYE indicates end of participation 203

APP application-specific functions 204

Page 13: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

13

軟體實現行動網際網路電話系統

實作環境介紹開發平台: Windows 2000 、 Windows XP開發環境: Microsoft VC++ 6.0

Page 14: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

14

Proxy Sever System

WSS: 負責網路傳輸PMS: 分析由 WSS

所傳送過來的 message

為何種型態QDS: 對資料庫資料的

增加、刪除、查尋及修改DS: 資料庫系統

Page 15: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

15

UA System

UUS: 提供使用者建立SIP 連線需求及使用者介面RRS: 提供使用者建立RTP/RTCP 連線EDS: 語音編碼WSS: 負責網路傳輸

Page 16: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

16

UA System - UAC/UAS Subsystem

UIS: 提供使用者介面PMS: 來分析由 UIS 所傳送過來的訊息,做適當的處理

Page 17: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

17

UA System

UUS: 提供使用者建立SIP 連線需求及使用者介面RRS: 提供使用者建立RTP/RTCP 連線EDS: 語音編碼WSS: 負責網路傳輸

Page 18: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

18

UA System – RTP/RTCP Subsystem

SMS:RTP/RTCP 連線管理PGS: 封裝 / 解封裝 RTP/RTCP 封包MMS:RTP/RTCP 連線參與者管理

Page 19: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

19

UA System

UUS: 提供使用者建立SIP 連線需求及使用者介面RRS: 提供使用者建立RTP/RTCP 連線EDS: 語音編碼WSS: 負責網路傳輸

Page 20: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

20

UA System –Encoding/Decoding Subsystem

ECS: 語音編碼DCS: 語音解碼

Page 21: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

21

UA System

UUS: 提供使用者建立SIP 連線需求及使用者介面RRS: 提供使用者建立RTP/RTCP 連線EDS: 語音編碼WSS: 負責網路傳輸

Page 22: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

22

UA System –WinSock Subsystem

UWS:SIP 網路傳輸RWS:RTP/RTCP 網路傳輸

Page 23: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

23

相關演算法探討 - 語音編碼( 一 )

(a) PCM

(b) ADPCM

Page 24: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

24

相關演算法探討 - 語音編碼( 二 )

Item Description PCM ADPCM

頻寬需求 高 約 PCM的四分之一

語音品質 佳 差

演算法設計 較易 較難

Page 25: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

25

相關演算法探討 - 網路傳輸品質

Item Description 聽覺評估法 封包遺失率評估法

反應速度 較快 較慢客觀性 較主觀 較客觀演算法設計 較易 需額外的判斷

Page 26: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

26

未來展望更多種類的多媒體資料傳送異質網路的整合 穿越防火牆 (Firewall) 與網路位址轉換 (NAT) 能力的 SIP

與嵌入式系統結合

Page 27: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

27

實機展示 - 環境說明

Page 28: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

28

實機展示 –CASE1: UAC REGISTER

UAC

Proxy Server

1

2

Page 29: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

29

實機展示 –CASE2: UAC UPDATE

1

2

Proxy Server

UAC

Page 30: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

30

實機展示 –CASE3: INVITE

1

4

2

3

UAC

UAS

Proxy Server

Page 31: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

31

實機展示 –CASE4: BYE

1

2

UAC

UAS

Page 32: 行動網際網路電話之研製與實現 The Study and Implementation of Mobile Internet Phone

32

實機展示 –CASE5: CHANGE MODE