簡易檢索 / 詳目顯示

研究生: 王鴻明
Hung-ming Wang
論文名稱: 適用於NAT網路環境之P2P-IPTV系統設計與實作
Design and Implementation of a P2P-IPTV System with NAT Traversal
指導教授: 陳建中
Jiann-Jone Chen
口試委員: 杭學鳴
Hsueh-Ming Hang
鍾國亮
Kuo-Liang Chung
郭天穎
Tien-Ying Kuo
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2013
畢業學年度: 101
語文別: 中文
論文頁數: 79
中文關鍵詞: 網路電視內容傳遞網路點對點網路應用層群播NAT穿越
外文關鍵詞: IPTV, CDN Network, P2P Network, ALM, NAT Traversal
相關次數: 點閱:238下載:6
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著多媒體信號處理與網路通信技術的進步,加上新科技暨新服務媒合資通訊、視訊網路、行動語音及影音數據等各種多媒體服務,如何有效整合媒體處理器以及網路資源以提供語音、數據及多媒體通訊服務,變得相當重要。本研究基於多媒體網路發展趨勢與實際需求,整合多媒體編解碼、串流傳輸、數位加解密、頻寬估測及網路位址轉譯(Network Address Translation, NAT)穿越機制等多項關鍵技術,開發具數位權利管理(Digital Rights Management, DRM)之即時媒體中心系統,以建置具安全保護管理之網路電視(Internet Protocol Television, IPTV)系統。本系統整合CDN與 P2P傳輸之協同式架構,進行即時媒體串流服務,並提出實作「多參數調適群播樹」(Multi-Parametered Adaptive Tree, MPAT)演算法,克服因節點加入順序不固定所造成「傳輸瓶頸」。另外,記錄收視服務期間,以節點頻寬、在線時間、中央處理單元(CPU)使用率與節點相對延遲等多參數為依據,動態調整群播樹節點位置,以減少節點斷線頻率以及提升群播樹傳輸的穩定度;實作P2P 亦整合NAT傳輸應用程序(Session Traversal Utilities for NAT, STUN)協定,讓位於NAT後之端點用戶具收視媒體碼流功能之外,亦扮演媒體碼流之傳送者,以達提升整體網路之傳輸效率。實作結果顯示本論文所提出MPAT演算法確實比其他方法較能夠減少群播樹之階層數與傳輸延遲並提升整體穩定度。於系統實作增加NAT穿越功能後,便能使位於NAT後之用戶為整體傳輸網路貢獻頻寬,以提升整體網路使用效率,為此架構系統增加異質網路之使用性。


    With the advance of multimedia codec technologies and Internet prevalence, multimedia becomes one of major information communication tools. Transmitting Tele-Vision signals through Internet Packets, IPTV, becomes the mainstream of Internet multimedia. In this thesis, a complete and secured IPTV system, which comprises media codecs, streaming, encryption/decryption, bandwidth estimation and NAT traversal units, has been developed to meet the application requirement of Internet multimedia. The Content Delivery Network (CDN) and Peer-to-Peer (P2P) networks are integrated to provide the P2P-IPTV service. For streaming live videos, we proposed a Multi-Parametered Adaptive Tree (MPAT) algorithm to solve the bottleneck of dynamic peer linking behavior that would lead to unstable P2P-IPTV quality of service (QoS). To configure the IPTV, we take peer bandwidth capacity, peer online time, CPU utilization and transmission delay, to dynamically adjust the video multicast tree for low-delay P2P-IPTV services, and reduce peer disruption frequency for improving the reliability of the multicast tree. In addition, for transparent P2P-IPTV transmission services, the Session Traversal Utilities for NAT (STUN) protocol is integrated, in which the NAT traversal scheme is implemented to ensure that peers behind the NAT can also streaming out for other peers. Our experiments show that the proposed P2P routing strategy can reduce the transmission delay, and improve the reliability of multicast tree. By integrating the NAT traversal scheme in our system, it achieves the target of transparent P2P-IPTV services that can provide video streaming services over heterogeneous networks.

    摘要 I ABSTRACT II 致謝 III 目錄 IV 圖目錄 VII 表目錄 XII 第一章 緒論 1 1.1 前言 1 1.2 研究背景與動機 1 1.3 研究項目與方法概述 3 1.4 論文架構 5 第二章 背景知識與相關研究探討 6 2.1 媒體碼流之編碼壓縮相關背景知識 6 2.1.1 H.264/AVC 6 2.1.1.1 視訊編碼層(VCL) 6 2.1.1.2 網路提取層(NAL) 7 2.1.2 VLC多媒體播放器 8 2.2 媒體內容與服務之保護相關背景知識 8 2.2.1 數位權利管理(DRM)及智慧財產管理(IPMP) 9 2.2.2 數位電視之條件接取 12 2.2.3 通用加擾演算法(CSA) 13 2.2.4 RSA加密演算法 14 2.3 媒體串流傳輸網路之相關背景知識 15 2.3.1 內容傳遞網路 15 2.3.2 應用層群播 16 2.3.3 點對點串流網路架構 17 2.4 NAT穿越之相關背景知識 19 2.4.1 NAT之運作原理 19 2.4.2 NAT的類型 20 2.4.3 現有NAT穿越技術 21 第三章 本論文之系統架構 24 3.1 本論文之整體系統架構 24 3.2 多媒體串流傳輸功能架構 25 3.3 多媒體串流接收功能架構 26 3.4 媒體內容與服務保護之運作架構 27 3.5 NAT穿越功能架構 29 第四章 本論文之媒體傳輸網路架構 30 4.1 本論文之CDN網路架構 30 4.2 現有樹狀結構P2P傳輸特性分析 31 4.2.1 深度最佳化(depth-optimizing) 31 4.2.2 時間最佳化(time-optimizing) 33 4.3 本論文所提出之多參數調適群播樹演算法 34 4.3.1 期望解決問題之敘述 34 4.3.2 演算法參數定義 35 4.3.3 演算法流程說明 38 4.3.4 節點加入之Peer Join Mode 38 4.3.5 節點位置動態調整之Peer Adaptation Mode 39 4.3.6 節點離開之Peer Leave Mode 49 4.4 本論文之NAT穿越方法 50 4.4.1 一般連接模式 52 4.4.2 反向連接模式 52 4.4.3 打洞連接模式 53 4.4.4 連接埠預測 54 4.5 總結 55 第五章 實驗結果與系統展示 57 5.1 實驗結果 57 5.1.1 本論文之MPAT演算法模擬 57 5.1.1.1 演算法參數模擬 57 5.1.1.2 更新時間模擬 60 5.1.2 與其他方法比較之模擬結果 61 5.1.2.1 群播樹深度與傳輸延遲比較 62 5.1.2.2 群播樹穩定度比較 64 5.1.3 實際系統量測 66 5.2 系統展示 68 5.2.1 數位權利管理伺服器 68 5.2.2 即時媒體串流伺服器 69 5.2.3 權利管理終端用戶系統 70 5.2.4 服務管理伺服器 72 5.2.5 STUN協定伺服器 73 第六章 結論與未來研究探討 74 6.1 結論 74 6.2 未來研究探討 75 參考文獻 76

    [1] 張裕榮,“串流媒體接續中斷時間播放機制”,朝陽科技大學資訊工程系所碩士論文,2006 年。
    [2] 侯俊宇,“突破頻寬/畫質/成本瓶頸網路電視大放送”,新通訊元件,2007 年。 http://www.2cm.com.tw/zoomin_content.asp?sn=0708130005
    [3] A. Hsiao,“突破技術與市場諸多限制IPTV商用化指日可待”,新通訊元件,2007 年。 http://www.2cm.com.tw/markettrend_content.asp?sn=0701011071
    [4] Open IPTV Forum e.V., “Service and Platform Requirements”, [V 2.0] - [2008-12-12]
    [5] Open IPTV Forum e.V., “Functional Architecture”, [V 2.0] - [2009-09-08]
    [6] Open IPTV Forum e.V., “Services and Functions for Release 1”, [V 1.0] - [2007-09-14]
    [7] Open IPTV Forum e.V., “Volume 2 – Media Formats”, [V1.1] - [2009-10-08]
    [8] Open IPTV Forum e.V., “Volume 4 – Protocols”, [V1.1] - [2009-10-08]
    [9] Open IPTV Forum e.V., “Volume 7 – Authentication, Content Protection and Service Protection”, V 1.1 [2009-10-08]
    [10] T. Wiegand et al., “Overview of the H.264/AVC video coding standard,” IEEE Trans. Circuits Systems Video Technology, vol. 13, no. 7, pp. 560-576, July 2003.
    [11] G. J. Sullivan and T. Wiegand, “Video compression-from concepts to the H.264/AVC standard,” Proceedings of the IEEE, vol. 93, no. 1, pp. 18-31, Jan. 2005.
    [12] D. Marpe, T. Wiegard, and G. J. Sullivan, “The H.264/MPEG4 advanced video coding standard and its applications,” IEEE Communications Magazine, vol. 44, no.8, pp. 134-143, Aug. 2006.
    [13] T. Wiegard and G. J. Sullivan, “The H.264/AVC video coding standard,” IEEE Signal Processing Magazine, vol. 24, no. 2, pp. 148-153, Mar. 2007.
    [14] “Advanced Video Coding for Generic Audiovisual Services” Joint Video Team of ISO/IEC and ITU-T, March 2005.
    [15] VideoLAN (VLC Media Player) http://www.videolan.org/
    [16] VLC Media Player Introduction http://www.wikipedia.org/
    [17] S. R. Subramanya and B. K. Yi, “Digital Rights Managements,” IEEE Potentials, vol. 25, Issue 2, pp. 31–34, March-April 2006.
    [18] B. Pourebrahimi, K. Bertels, and S. Vassiliadis, “A survey of Peer-to-Peer networks,” The 16th Annual Workshop on Circuits, 2005.
    [19] Q. Liu, R. S. Naini and N. P. Sheppard, “Digital rights management for content distribution,” in Proc. Australasian information security workshop conference, vol. 21, pp. 49-58, 2003.
    [20] J. Bormans, J. Gelissen and A. Perkis, “MPEG-21: the 21st century multimedia framework,” IEEE Signal Processing Mag., vol. 20, pp. 53-62, March 2003.
    [21] R. Y. Chen and M. van der Schaar, “Resource-driven MPEG-4 FGS for universal multimedia access,” IEEE Int. Conf. on Multimedia & Exp., 2002.
    [22] S. Beilu et al., “Multimedia terminal architecture: an inter-operable approach,” IEEE/ACS Int. Conf. on Computer Systems and Applications, 2008.
    [23] Information Technology:Coding of Audio-Visual Material—Part 13:Intellectual property management and protection extensions, ISO/IEC 14496-13, 2004.
    [24] 趙子宏,“我國數位電視條件接取政策研究”,國立交通大學高階主管管理學程碩士學位論文,2003.
    [25] 陳育毅、蔡孟琳、黃俊一,“適用於集合住宅單位之直播衛星系統的條件式接取機制,” 2008.
    [26] ETSI, “Support for use of scrambling and conditional Access (CA) within digital broadcasting systems,” ETSI Technical Report 289, 1996.
    [27] J.Y. Jung, O.H. Kwon and S.I. Lee, “High speed MPEG-2 TS scrambling system with DVB-common scrambling algorithm,” IEEE Int. Conf. ICACT, 2006.
    [28] R. P. Weinmann, K. Wirt, “Analysis of the DVB common scrambling algorithm,” in Eighth IFIP TC–6 TC–11 Conf. Commun.& Multimedia Security (CMS 2004), 2004.
    [29] William Stallings, Cryptography and Network Security: Principles and Practice 4th ed., Prentice Hall, 2005.
    [30] 溫建宇,“具內容安全保護之P2P-IPTV系統設計與實作”,國立台灣科技大學碩士學位論文,2010。
    [31] Y. Liu, H. Yin, G. Zhu, and X. Liu, “Peer-assisted content delivery network for live streaming: architecture and practice,” IEEE Conf. Networking, Architecture, and Storage, June 2008.
    [32] S. Banerjee, B. Bhattacharjee, and C. Kommareddy, “Scalable application layer multicast,” Int. Conf. Applications, Techno., Architectures, Protocols for Computer Commun., 2002.
    [33] N. Magharei, and R. Rejaie, “Understanding mesh-based peer-to-peer streaming,” in Proc. of Nossdav, May 2006.
    [34] D. A. Tran, K. A. Hua, and T. T. Do, “A peer-to-peer architecture for media streaming,” IEEE J. Sel. Areas Commun., vol. 22, no. 1, pp. 121-133, Jan. 2004.
    [35] D. A. Tran, K. A. Hua, and T. T. Do, “A peer-to-peer architecture for media streaming,” IEEE Journal of Selected Areas in Communications, vol. 22, no. 1, pp. 121-133, Jan. 2004.
    [36] D. A. Tran, K. A. Hua, and T. T. Do, “A peer-to-peer architecture for media streaming,” IEEE J. Sel. Areas Commun., vol. 22, no. 1, pp. 121-133, Jan. 2004.
    [37] Y. Hu et al., “A priority-based hierarchical application layer multicast model,” IEEE Int. Conf. Wireless Communications, Networking and Mobile Computing, Sep. 2009.
    [38] J.-J. Cheng, C.-G. Yan, K.-F. Yu, and J. Ma, “A new live streaming media architecture for peer-to-peer network,” IEEE Conf. Multimedia and Ubiquitous Engineering, 2008.
    [39] P. Baccichet, T. Schierl, T. Wiegand, and B. Girod, “Low-delay peer-to-peer streaming using scalable video coding,” IEEE Packet Video, Lausanne, Switzerland, pp. 173–181, 2007.
    [40] T.-C. Lee, P.-C. Liu, W.-L. Shyu, and C.-Y. Wu, “Live video streaming using P2P and SVC,” IEEE Conf. Management of Converged Multimedia Networks and Services, 2008.
    [41] M. Guo and M. Ammar, “Scalable live video streaming to cooperative clients using time shifting and video patching,” IEEE INFOCOM 2004.
    [42] Y. H. Kim, S.-G. Kang, and H.-S. Kim, “Efficient tree management for resilient overlay multicast,” IEEE Int. Conf. Advanced Communication Technology, Feb. 2009.
    [43] S. Shioda et al., “An efficient network-wide broadcasting based on hop-limited shortest-path trees,” Int. J. Computer and Telecom. Networking, vol. 52, issue 17, Dec. 2008.
    [44] S. Deering and R. Hinden, “Internet protocol, version 6 (IPv6) specification,” December 1998. RFC 2460.
    [45] J. Rosenberg, R. Mahy, P. Matthews, D. Wing, “RFC5389 - Session Traversal Utilities for NAT(STUN),” October 2008.
    [46] J. Rosenberg, C. Huitema, and R. Mahy, “Traversal using relay NAT (TURN),” October 2003. Internet-Draft (Work in Progress).
    [47] L. D'Acunto, J. A. Pouwelse, and H. J. Sips, “A measurement of NAT & firewall characteristics in Peer to Peer systems,” in Proc. 15-th ASCI Conference, June 2009.
    [48] S. Guha and P. Francis, “Characterization and measurement of TCP traversal through NATs and firewalls,” in Proc. 2005 Internet Measurement Conf. (IMC05), October 2005.
    [49] Iperf version 1.7.0 http://pirlwww.lpl.arizona.edu/resources/guide/software/iperf/
    [50] Y. H. Kim, S.-G. Kang, and H.-S. Kim, “Efficient tree management for resilient overlay multicast,” IEEE Int. Conf. Advanced Communication Technology, Feb. 2009.
    [51] G. Tan and S. A. Jarvis, “Improving the fault resilience of overlay multicast for media streaming,” IEEE Trans. Parallel and Distributed Systems, vol. 18, no. 6, 2007.
    [52] M. Guo, M. Ammar, “Scalable live video streaming to cooperative clients using time shifting and video patching,” Proc. of INFOCOM 2004.
    [53] V. N. Padmanabhan, H. J. Wang, P. A. Chou, and K. Sripanidkulchai, “Distributing streaming media content using cooperative networking,” ACM NOSSDAV, May 2002.
    [54] K. Sripanidkulchai, A.Ganjam, B. Maggs and H. Zhang, “The feasibility of supporting large-scale live streaming applications with dynamic application end-points,” Proc. of ACM SIGCOMM, 2004, Portland, Oregon, USA.
    [55] E. Veloso, V. Almeida, W. Meira, A. Bestavros, and S. Jin, “A Hierarchical characterization of a live streaming media workload,” IEEE/ACM Trans. Networking, 12(5), 2004.
    [56] D. Leonard, Z. Yao, V. Rai, and D. Loguinov, “On lifetime-based node failure and stochastic resilience of decentralized Peer-to-Peer networks,” IEEE/ACM Trans. Networking, 2007.
    [57] 林華毅,“具使用者頻寬估測之IPTV系統設計與實作”,國立台灣科技大學碩士學位論文,2010。
    [58] Marlin Community http://www.marlin-community.com/
    [59] M.-H. Hsu, T.-H. Hsiao, and Y.-B. Miao, “An adaptive approach to optimize tree-based overlay for P2P streaming,” Journal Advances in Computer Networks, vol. 1, no. 1, March 2013.
    [60] B. Ford, P. Srisuresh, D. Kegel, “Peer-to-peer communication across network address translators,” in Proceedings of USENIX, 2005.

    QR CODE