1 / 35

以 SIP Phone 為基礎之跨平台側錄監聽與分析系統

以 SIP Phone 為基礎之跨平台側錄監聽與分析系統. 學生:王謙志 指導教授:柯開維 教授 日期: 2010.07.27. Outline. Motivation & Goal Background Java SIP Protocol Implementation of the System System Environment of Network System Architecture Flow Chart of Packet Analysis RTP Record System UI Conclusion & Future Works Demo.

fathi
Télécharger la présentation

以 SIP Phone 為基礎之跨平台側錄監聽與分析系統

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 以SIP Phone為基礎之跨平台側錄監聽與分析系統 學生:王謙志 指導教授:柯開維教授 日期:2010.07.27

  2. Outline • Motivation & Goal • Background • Java • SIP Protocol • Implementation of the System • System Environment of Network • System Architecture • Flow Chart of Packet Analysis • RTPRecord • System UI • Conclusion & Future Works • Demo

  3. Motivation • VoIP (Voice over Internet Protocol)是目前網際網路上的相當流行且應用非常普及的一種服務,VoIP透過將音訊數位化處理後壓縮編碼,然後藉由封包透過封包交換網路來傳輸到目的端。此種方式可大幅節省通話費用,常用應用於跨國公司的通信以及客服中心等。 • VoIP Protocol: • SIP(Session Initiation Protocol) • H.323

  4. Goal • 本論文的目標是設計一個針對SIP協定之網路電話的監控與錄音系統 • 其預計達成目標如下 • 可還原通話實況 • 可紀錄通話歷程 • 可查詢通話紀錄 • 可監控點對點通話 • 可監控通話轉移 • 可監控會議通話 • 可同時監控大量通話

  5. Background • Java • Java API • Jpcap • JMF • Java Sound • SIP Standard Protocol • RTP

  6. Java • JAVA • Byte Code • JVM • Support Network Programming • 本系統是以JAVA程式 語言為基礎所開發的

  7. Java API • Application Programming Interface • Reuse and Extend • Easy and fast to Implement • Use Jpcap, JMF and Java Sound Java 2主要API

  8. Jpcap • 提供Java對底層網路數據控制的能力 • 允許Java應用程式進行網路封包的擷取或發送 • 使用libpcap and Winpcap,使其能夠跨平台的運作

  9. Jpcap JpcapProcess Model

  10. JMF • Java Media Framework • 提供對聲音和影像等多媒體內容的擷取、撥放和編碼 JMFProcess Model

  11. JAVASound • Java Sound API是屬於低階 (low-level) 的API • 提供Java應用程式針對聲音操作的控制能力,包括音源資料的擷取、錄製與播放,例如:音頻混頻器、MIDI合成器,或是其他音頻和MIDI設備、文件讀取、文件寫入、聲音格式轉換等。 • 本系統使用Java Sound API達成即時監聽功能

  12. SIP Protocol • RFC 2543, March 1999 • RFC 3261, June 2002 • 屬於Client/Server的架構 • 可分為User Agent、 Proxy Server、Redirect Server、Registrar Server、Location Server等五個部分

  13. SIP網路電話運作流程

  14. SIP Request Messages

  15. SIP Response Messages

  16. RTP

  17. RTP Payload Type

  18. Implementation of the System • System Environment of Network • System Architecture • Flow Chart of Packet Analysis • RTPRecord • System UI

  19. System Environment of Network

  20. System Architecture

  21. Flow Chart of Packet Analysis

  22. P to P Call Flow chart

  23. INVITE Request

  24. 200 OK Response

  25. 通話紀錄參數

  26. RTP Record • 將封包按順序重組,不考慮Delay 網路實際情形 錄音設計

  27. 編碼還原 • 編碼格式為PCMU(G.711 u-law 64k bps) • 解碼後的格式為Linear PCM (16bits) • 必須先解碼後才能合成 否則無法正確解碼 • 合成方法為將解碼後的兩個封包儲存區內的資料一個單位一個單位的相加

  28. User Interface

  29. 即時監聽展示圖

  30. 通話紀錄查詢

  31. 查詢結果展示

  32. Conclusion and Future Work • Conclusions • 本論文成功實作了一個針對SIP網路電話的錄音監控系統 • 本系統可跨平台運作 • 本系統可以分析多種通話型態,且同時監控大量通話 • 本系統可Real Time監聽雙方通話內容 • 本系統可透過網路連上資料庫查詢通話歷程 • Future Work • 透過系統進行掛斷SIP網路電話或轉接等行為之功能 • 語音聲紋辨識 • 語氣音調字彙分析

  33. Demo • 單通電話與即時監聽測試 • 點對點通話 • 通話轉移 • 會議通話 • 多通電話混合壓力測試 • 64通點對點通話 +16通通話轉移 +16通會議通話 • 通話紀錄查詢測試

  34. Thanks for your attention

  35. Q & A

More Related