Responsive image
博碩士論文 etd-0723107-120545 詳細資訊
Title page for etd-0723107-120545
論文名稱
Title
兼具主從式與點對點式架構之網路電話系統之設計與實作
Design and implementation of a Hybrid Client-Server and Peer-to-Peer VoIP System
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
62
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2007-07-05
繳交日期
Date of Submission
2007-07-23
關鍵字
Keywords
網路電話系統、點對點、混合式
voip system, hybrid, peer-to-peer
統計
Statistics
本論文已被瀏覽 5661 次,被下載 0
The thesis/dissertation has been browsed 5661 times, has been downloaded 0 times.
中文摘要
目前網路電話的主要架構有二,一是點對點式,藉由其天生的分散式架構能輕易的達到高擴展性、耐攻擊性以及高容錯性,大幅減輕過去對伺服器的依賴與在數量上的需求,但基於點(Peer)與點間沒有標準的通訊協定,導致不同架構的客戶端(Peer Client)無法彼此互通,所以往往只能透過本身的點對點式網絡(P2P Network)與另一網域互通,二是現今的主流,主從式(Client-Server)架構,擁有大量的研究資料與實際產品以及標準的通訊協定,是目前最完善的網路電話架構,除了架構簡單、維護容易以及比P2P更低的反應時間(Response Time),更擁有各式多樣化的加值服務,如Voice Mail、多人會談等,Client間只需遵守單一的SIP協定即可與SIP Server進行註冊來使用,其缺點為沒有Server就無法使用和Client的數量受Server的能力牽制。
綜合來說,點對點式與主從式各有其優缺點,沒有絕對的好壞,本論文即是提出一個混合式的觀念,結合主從式和點對點式的優勢,讓使用者可以在一般網路電話環境下採用傳統的SIP Server註冊撥打方式,同時也能在本身所在的區域網路(Local Area Network,簡稱LAN)下建立屬於自己的P2P Network,加上我們提出的DCHS機制,即便在SIP Server維護或故障亦或網路連線中斷不通時,亦能立即使用P2P的優勢來建立一個網路電話群組,使用者可以透過這個機制分享給別人或是取得其它人的通話記錄來撥號給P2P群組以外的使用者。
Abstract
There are two main architectures in VOIP system at present. First is peer-to-peer, it has highly scalable, fault-tolerant and also can lighten the number and reliance of server. But there is no standard protocol between peers with different architecture, cause the clients unable to communication with each other. This problem can be solved by communicating from one P2P network to another. Second is Client-Server, it has mass of research data, lots of actual products, and standard protocol. This architecture is the most perfect one with simple structure, easy to maintain, lower response time than peer-to-peer structure, and has a variety of additional services, for instance Voice Mail, conference call, etc. All the client need is to obey sip standard protocol and it can register to any sip proxy to make a phone call. The disadvantage is no server no use.
These two architectures have both good side and bad side, none of them is absolutely perfect. Our thesis is proposed a all new idea about “Hybrid”, this idea combine P2P and Client-Server architecture together to design a flexible soft phone that can be used is normal condition to register to a proxy, or setup a P2P network instantly in our own local area network. Finally our DCHS Mechanism is workable even when the sip proxy is maintaining or failure the client can use this mechanism to call any other user outside the P2P network by sharing other peers’ call history.
目次 Table of Contents
論文摘要 i
Abstract ii
目錄 iii
圖目錄 iv
表目錄 v
1、導論 1
1.1、研究動機 1
1.2、論文章節 2
2、研究背景 3
2.1、P2P網路架構 3
2.1.1、集中式P2P系統(Centralized P2P System) 3
2.1.2、混合式P2P系統(Hybrid P2P System) 4
2.1.3、純分散式P2P系統(Pure Decentralized P2P System) 5
2.2、發展平台的考量與評估 6
2.2.1、發展平台 6
2.2.2、P2P架構 7
2.2.3、SIP函式庫 7
2.3、視窗點對點網路發展平台 8
2.3.1、何謂視窗點對點網路發展平台 8
2.3.2、進階的視窗點對點網路發展平台 10
2.3.3、圖型的維護、加入與離開 11
2.3.4、偵測與修復破裂的圖 13
2.3.5、搜尋 17
2.4、對等名稱解析通訊協定 18
2.4.1、群集 19
2.4.2、節點名稱與PNRP識別碼 19
2.4.3、名稱解析 21
2.4.4、多層快取 24
2.4.5、快取初始化 25
2.4.6、名稱發佈 26
3、系統架構 27
3.1、系統設計概念 27
3.2、系統架構說明 28
3.3、DCHS模組 29
3.3.1、DCHS的資料結構 30
3.3.2、DCHS學習 31
3.3.3、透過DCHS撥打電話 34
3.3.4、DCHS的回應處理 35
3.4、Discover模組 35
3.5、Graphing模組 37
3.5.1、收到DCHS查詢請求 37
3.5.2、收到DCHS回應 39
3.6、PNRP模組 40
3.6.1、登入(PnrpResigter) 40
3.6.2、登出(PnrpUnregister) 41
3.6.3、解析(PnrpResolve) 42
3.7、RTC模組 43
3.7.1、初始化 43
3.7.2、Session的建立 45
4、實驗 47
4.1、如何撥打PEER網路電話 47
4.2、如何撥打SIP網路電話 50
5、結論 53
參考資料 54
圖目錄
圖 2-1集中式P2P系統 4
圖 2-2混合式P2P系統 5
圖 2-3純分散式P2P系統 6
圖 2-4視窗點對點網路發展平台架構圖 9
圖 2-5 Graph X with 2 basic nodes 13
圖 2-6 Graph X with 6 nodes 15
圖 2-7修復後的Graph X 16
圖 2-8 P2P ID與PNRP ID結構圖 21
圖 2-9基於PNRP的點對點式網路 22
圖 2-10 PNRP ID尋找範例 24
圖 2-11多層式快取範例圖 25
圖 3-1 HybridPSP System Architecture 27
圖 3-2 Block diagram of HybridPSP 28
圖 3-3 DCHS參考範例 30
圖 3-4 雙層排序的舉例 33
圖 3-5 發送DCHS查詢請求 38
圖 3-6 處理DCHS查詢請求 38
圖 3-7 處理DCHS回應 39
圖 4-1點對點的直接呼叫流程 47
圖 4-2在點對點模式中的INVITE請求 48
圖 4-3點對點模式的通話流程 48
圖 4-4在點對點模式中的200 OK狀態 49
圖 4-5在點對點模式中的BYE請求 49
圖 4-6代理呼叫模式的通話流程 50
圖 4-7在代理呼叫模式中的REGISTER請求 51
圖 4-8在代理呼叫模式中的INVITE請求 51
圖 4-9代理呼叫模式的實際通話流程 52
圖 4-10在代理呼叫模式中的BYE請求 52
表目錄
表 2-1各類P2P系統比較列表 6
表 2-2 各類SIP函式庫比較列表 8
參考文獻 References
[1] J. Rosenberg, J. Weinberger, C. Huitema, and R. Mahy. STUN - simple traversal of user datagram protocol (UDP) through network address translators (nats). RFC 3489, Internet Engineering Task Force, Mar. 2003.
[2] J. Rosenberg. Traversal using relay NAT (TURN). Internet Draft draft-rosenberg -midcom-turn-03, Internet Engineering Task Force, Oct. 2003. Work in progress.
[3] J. Rosenberg. Interactive connectivity establishment (ICE): a methodology for network address translator (NAT) traversal for the session initiation protocol (SIP). Internet Draft draft-ietf-mmusic-ice-00, Internet Engineering Task Force, Oct. 2003. Work in progress.
[4] D. Milojicic, V. Kalogeraki, R. M. Lukose, K. Nagaraja, J. Pruyne, B. Richard, S. Rollins, and Z. Xu. Peer-to-peer computing. technical report HPL-2002-57 20020315, Technical Publications Department, HP Labs Research Library, Mar. 2002. http://www.hpl.hp.com/techreports/2002/HPL-2002-57.html.
[5] J. Rosenberg, H. Schulzrinne, G. Camarillo, A. R. Johnston, J. Peterson, R. Sparks, M. Handley, and E. Schooler. SIP:session initiation protocol. RFC 3261, Internet Engineering Task Force, June 2002.
[6] Adrian Moore. An introduction to Microsoft's Peer-to-Peer Graphing technology, November 2005. http://www.codeproject.com/cs/internet/peergraph-introduction.asp
[7] Introduction to Windows Peer-to-Peer Networking. Microsoft, September 2006. http://www.microsoft.com/technet/network/p2p/p2pintro.mspx
[8] Jia-Ming Liang. The Design and Implementation of Integration of Web Page with VOIP System. National Sun Yat-sen University, Kaohsiung, Taiwan, July 2006.
[9] Ross Carter. Microsoft Real-Time Communications: Protocol and Technologies. Microsoft, July 2003. https://www.microsoft.com/technet/prodtechnol/winxppro/ plan/rtcprot.mspx
[10] Adrian Moore. Peer Name Resolution (PNRP). October 2005. http://www.codeproject.com/cs/internet/peernameresolution.asp
[11] Peer Name Resolution Protocol. Microsoft, September 2006. http://www.microsoft.com/technet/network/p2p/pnrp.mspx
[12] 價文康。SIP會談
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:校內校外均不公開 not available
開放時間 Available:
校內 Campus:永不公開 not available
校外 Off-campus:永不公開 not available

您的 IP(校外) 位址是 3.23.92.186
論文開放下載的時間是 校外不公開

Your IP address is 3.23.92.186
This thesis will be available to you on Indicate off-campus access is not available.

紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code