簡易檢索 / 詳目顯示

研究生: 游勁秋
Chin-Chiu Yu
論文名稱: 運用點對點網路傳輸之影像廣播系統實作
Implementation of a IP Video BroadcastingSystem on P2P Network
指導教授: 陳建中
Jiann-Jone Chen
口試委員: 蘇順豐
Shun-Feng Su
蔡超人
Chau-Ren Tsai
鍾聖倫
Sheng-Luen Chung
張峯誠
none
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2010
畢業學年度: 98
語文別: 中文
論文頁數: 79
中文關鍵詞: P2PStreamingIPTVALM
外文關鍵詞: P2P, Streaming, IPTV, ALM
相關次數: 點閱:181下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在傳統主從式(Server/Client)網路架構中,多媒體串流廣播服務所需要的網路頻寬較大,儘管伺服器端網路傳輸頻寬再大,但往往受限於客戶端同時連線的節點數目增加影響,伺服器端網路容易出現壅塞現象,故客戶端無法接收到一定品質的多媒體串流服務。雖然IP-Multicast協定可以降低伺服器端網路頻寬供給的需求,但在現實網路中,為了防止濫用網路服務和惡意網路攻擊,大部分路由器都關閉IP-Multicast協定的支援。而使用應用層群播(Application Layer Multicast, ALM)方式傳輸是解決這問題的另一途徑。本論文主要在利用ALM網路群播方式,設計並實作一點對點網路影像廣播系統名為Peer to Peer Internet Protocol Video Broadcasting System,簡稱IPVB。該系統利用點對點網路技術優點建構一串流群播樹,充份利用客戶端節點的網路資源來分散伺服器因客戶端節點同時連線數目過多時所造成的沉重負荷,使得所有客戶端節點皆可接收一定品質的多媒體串流服務。另外又針對串流廣播的數位內容,設計相關資訊安全保護機制如數位權利管理(Digital Rights Management, DRM)對使用者身份認證管理、通用加擾演算法(Common Scrambling Algorithm, CSA)對串流中的資訊予以加擾保護等。


    In traditional Server and Client network architectures, multimedia streaming
    service needs a large of network bandwidth for a better quality of service. Despite a large network bandwidth at server side, the effective network bandwidth could be consumed quickly when a large number of client nodes simultaneously connect to the server. So the client nodes are not guaranteed to receive a certain quality of multimedia streaming services. In general, IP-Multicast protocol can alleviate the demands of network bandwidth of server side; however in real networks, in order to prevent abuse of network services and malicious network attacks, most routers are limited to closed IP-Multicast protocol support. An alternative to solve this problem is the way of Application Layer Multicast transmission. Based on the network multicast technology of Application Layer Multicast, this thesis designs and implements of a P2P network video broadcasting system, called IPVB. Utilizing the benefits of P2P networking technology to construct a streaming multicast tree, this system takes full advantage of the network resources of client nodes to spread the heavy load of server when an excessive number of connections from client nodes are occur. As a result, all client nodes could receive certain quality multimedia streaming services. The system has an additional of advantage of security protection mechanisms for streaming digital content such as user authentication and streaming information scrambling protection.

    中文摘要 I ABSTRACT II 誌謝 III 目錄 IV 圖目錄 VIII 表目錄 XII 第一章 緒論 1 1.1 研究背景與動機 1 1.2 研究方法概述 3 1.3 論文架構 5 第二章 相關研究 6 2.1 點對點網路模型(PEER TO PEER, P2P) 6 2.1.1 集中式點對點網路(Centralized P2P) 6 2.1.2 純分散式點對點網路(Pure Decentralized P2P) 7 2.1.3 混合式點對點網路(Hybrid P2P) 8 2.1.4 結構化式點對點網路架構(Structured P2P) 9 2.1.5 點對點網路架構與節點的角色劃分 10 2.2 網路傳輸模式 11 2.2.1 IP單點傳播(IP Unicast) 11 2.2.2 IP廣播(IP Broadcast) 12 2.2.3 IP群(組)播(IP Multicast) 13 2.2.4 應用層群播(Application Layer Multicast, ALM) 14 2.2.5 重疊網(Overlay Network) 14 2.3 點對點網路群播 15 2.3.1 單群播樹的點對點網路 16 2.3.1.1 NICE 17 2.3.1.2 ZigZag 18 2.3.1.3 PeerCast 19 2.3.2 多群播樹的點對點網路 20 2.3.2.1 CoopNet(Cooperative Network) 20 2.3.2.2 SplitStream 21 2.3.2.3 P2PCast 22 2.3.3 Gossip演算法的網狀點對點網路 22 2.3.3.1 CoopStreaming 23 2.3.3.2 DONet 23 2.4 H.264/AVC 24 2.4.1 網路提取層(Network Abstraction Layer, NAL) 24 2.4.2 視訊編碼層(Video Coding Layer, VCL) 26 2.5 數位權利管理(DIGITAL RIGHTS MANAGEMENT, DRM) 27 2.5.1 典型的DRM模型 28 2.5.2 DES加密演算法(Data Encryption Standard) 29 2.5.3 RSA演算法 29 2.5.4 數位簽章演算法(Digital Signature Algorithm, DSA) 30 2.5.5 通用加擾運算法(Common Scrambling Algorithm, CSA) 31 第三章 系統設計 33 3.1 IPVB系統基本架構 33 3.2 多媒體串流廣播伺服器 36 3.2.1 內容伺服器(Content Server) 37 3.2.2 串流伺服器(Streaming Server) 38 3.2.3 節點管理伺服器(Peer Management Server) 38 3.2.3.1 MPAT演算法 39 3.2.3.2 MPAT演算法參數定義 41 3.2.3.3 節點加入 43 3.2.3.4 節點離開與子節點重新連線 44 3.2.3.5 動態調整群播樹 46 3.3 安全認證機制 50 3.3.1 資料庫伺服器(Data Base Server) 50 3.3.2 數位權利管理伺服器(DRM Server) 50 3.4 客戶端系統 51 第四章 系統實作與分析 53 4.1 系統實作 53 4.1.1 系統程式框架 53 4.1.2 節點通訊埠 56 4.2 系統程式介面說明 57 4.2.1 資料伺服器 57 4.2.2 數位權利伺服器 58 4.2.3 多媒體串流廣播伺服器 59 4.2.3.1 多媒體串流廣播伺服器-Console 60 4.2.3.2 多媒體串流廣播伺服器-Advanced Controls 62 4.2.3.3 多媒體串流廣播伺服器-Tree View 63 4.2.4 客戶端系統程式 63 4.3 系統程式執行流程分析 65 4.3.1 群組網路建立與節點加入群組網路流程 65 4.3.2 節點離開群組網路 67 4.3.3 客戶端節點網路資訊更新與節點列表維護 68 4.3.4 發送串流廣播服務通知流程 69 4.3.5 接收串流廣播服務流程 70 4.3.6 停止串流廣播服務流程 71 4.3.7 重新申請串流廣播服務流程 72 第五章 結論及未來發展 74 5.1 結論 74 5.2 未來發展 75 參考文獻 76

    [1] Cachelogic Research, http://www.cachelogic.com/research/slide1.php
    [2] T. Wiegand, G. J. Sullivan, G. Bjøntegaard and A. Luthra, Overview of the H.264/AVC video coding standard, IEEE Trans. Circuits Systems Video Technology, vol. 13, no. 7, pp. 560-576, July 2003.
    [3] 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.
    [4] 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.
    [5] 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.
    [6] B. Pourebrahimi, K. Bertels and S. Vassiliadis, “A survey of Peer-to-Peer networks,”the 16th Annual Workshop on Circuits, 2005.
    [7] Napster, http://www.napster.com
    [8] Gnutella Forums, http://www.gnutellaforums.com/
    [9] M. Ripeanu, I. Foster and A. Iamnitchi,“Mapping the gnutella network: properties of large-scale peer-to-peer systems and implications for system design,”IEEE
    Internet Computing Journal, 6(1), 2002.
    [10] Freenet, http://freenetproject.org/index.html
    [11] I. Clarke, O. Sandberg, B. Wiley and T. W. Hong, eenet: a distributed anonymous information storage and retrieval system,”Lecture Notes in Computer
    Science, 2009:46+,2001.
    [12] Kazaa, http://www.kazaa.com
    [13] N. S. Good and A. Krekelberg,“Usability and privacy: a study of kazaa p2p file-sharing,”In CHI ’03: Proceedings of the conference on Human factors in computing systems, pages 137–144, ACM Press, 2003.
    [14] Chord, http://pdos.csail.mit.edu/chord/
    [15] I. Stoica, R. Morris, D. Karger, F. Kaashoek and H. Balakrishnan,“Chord: a scalable peer-to-peer lookup service for internet applications,”in Proc. ACM
    SIGCOMM Conference, pp. 149-160, 2001.
    [16] IRIS, http://project-iris.net/
    [17] S. Ratnasamy, P. Francis, M. Handley, R. Karp and S. Shenker, "A scalable content addressable network," 2000.
    [18] Tapestry project, http://current.cs.ucsb.edu/projects/chimera/
    [19] B. Y. Zhao, L. Huang, J. Stribling, S. C. Rhea, A. D. Joseph and J. D. Kubiatowicz,“Tapestry: A Resilient Global-Scale Overlay for Service Deployment,”IEEE journal on selected areas in communications, vol. 22, no 1, JAN. 2004.
    [20] Pastry project, http://www.freepastry.org/
    [21] A. Rowstron and P. Druschel,“Pastry: Scalable, decentralized object location and routing for large-scale peer-to-peer systems,”Microsoft Research Ltd, St. George
    House, 1 Guildhall Street, Cambridge, CB2 3NH, UK.
    [22] W. R .Stevens, TCP/IP Illustrated, vol. 1, Addision-Wesley, pp. 169-186, 1994.
    [23] B. A. Forouzan,“TCP/IP Protocol Suite,3e,”McGrawHill.
    [24] M. Hosseini, D. T. Ahmed, S. Shirmohammadi and N. D. Georganas,“A survey of application-layer multicast protocols,”IEEE Communications Surveys & Tutorials,
    vol. 9, Issue 3, pp. 58-74, 2007.
    [25] Microsoft, http://www.microsoft.com/
    [26] Apple, http:// www.apple.com/
    [27] RealNetworks, http://www.realnetworks.com/
    [28] A. Agrawal and H. Casanova,“Clustering hosts in p2p and global computing platforms,”in Proc. CCGRID, pp. 367–373, 2003.
    [29] L. Ramaswamy, B. Gedik, and L. Liu,“Connectivity based node clustering in decentralized peer-to-peer networks,”in Peer-to-Peer Computing, pp. 66–73, 2003.
    [30] X. Jiang, Y. Dong, D. Xu and B. Bhargava,“GUNSTREAM: A P2P MEDIA STREAMING PROTOTYPE,”Department of Computer Sciences, 2003.
    [31] S. Banerjee, B. Bhattacharjee and C. Kommareddy, “Scalable application layer multicast,”in Proceedings of the 2002 conference on Applications, technologies,
    architectures, and protocols for computer communications, pp. 205-217, 2002.
    [32] 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.
    [33] Peercast, http://www.peercast.org/
    [34] Deshpande, Hrishikesh, Bawa, Mayank, G. Molina and Hector,“Streaming Live Media over Peers,”Technical Report, Stanford InfoLab, 2002.
    [35] CoopNet, http://research.microsoft.com/en-us/um/people/padmanab/projects/coopnet/
    [36] V. N. Padmanabhan, H. J. Wang, P. A. Chou and K. Sripanidkulchai,“Distributing streaming media content using cooperative networking,”in Proc. ACM NOSSDAV, 2002.
    [37] SplitStream, https://research.microsoft.com/en-us/um/people/antr/splitstream/
    [38] M. Castro, P. Druschel, A. Rowstron, A. M. Kermarrec, A. Singh and A. Nandi,“SplitStream: High-Bandwidth Multicast in Cooperative Environments,”Microsoft Research, 2003.
    [39] A. Nicolosi and S. Annapureddy,“P2PCast: A Peer-to-Peer Multicast Scheme for Streaming Data,”IRIS student workshop, MIT, 2003.
    [40] Microsoft Research, http://research.microsoft.com/en-us/
    [41] A. Rowstron, A. M. Kermarrec, M. Castro and P. Druschel,“SCRIBE: The design of a large-scale event notification infrastructure,”Microsoft Research, 2001.
    [42] A. J. Ganesh, A. M. Kemarrec and L. Massoulie,“Peer-to-peer membership management for gossip-based protocols,” IEEE Trans. Comput., vol. 52, no. 2, Feb. 2003.
    [43] X. Zhang, J. Liu, B. Li, and T. S. P. Yum.”Coolstreaming/DONet: A data-driven overlay network for live media streaming,”IEEE INFOCOM ’05, 2005.
    [44]“Advanced Video Coding for Generic Audiovisual Services”Joint Video Team of ISO/IEC and ITU-T, March 2005.
    [45] S. Ueda, Y. Shinzaki, H. Shigeno and K. Okada, “H.264/AVC stream authentication at the network abstraction layer,”IEEE Information Assurance and Security Workshop, pp. 302-308, 2007.
    [46] D. T. Nguyen, M. Shaltev and J. Ostermann,“Error concealment in the network abstraction layer for the scalability extension of H.264/AVC,”IEEE Communication and Electronics, pp. 274-278, Oct. 2006.
    [47] S. R. Subramanya and B. K. Yi,“Digital Rights Managements,”IEEE Potentials, vol. 25, Issue 2, pp. 31–34, March-April 2006.
    [48] B. Pourebrahimi, K. Bertels, and S. Vassiliadis,“A survey of Peer-to-Peer networks,”The 16th Annual Workshop on Circuits, 2005.
    [49] Q. Liu, R. S. Naini and N. P. Sheppard,“Digital rights management for content distribution,” in Proc. the Australasian information security workshop conference, vol. 21, pp. 49-58, 2003.
    [50] H. Guo,“Digital rights management (DRM) using XrML,”
    http://www.tml.hut.fi/Studies/T-110.501/2001/papers/guo.heng.pdf, reference date June 2007.
    [51]“DATA ENCRYPTION STANDARD (DES),”U.S. DEPARTMENT OF
    COMMERCE/National Institute of Standards and Technology, Oct. 25, 1999
    [52]“Digital Signature Standard (DSS), ”Information Technology Laboratory National Institute of Standards and Technology Gaithersburg, June 2009.
    [53] WPPN, http://technet.microsoft.com/en-us/network/bb545868.aspx
    [54] JXTA, http://jxta.kenai.com/
    [55] SUN, http://tw.sun.com/
    [56] http://technet.microsoft.com/zh-tw/library/bb457079(en-us).aspx#EEAA
    [57] VLC, http://www.videolan.org/vlc/
    [58] DirectShow, http://directshownet.sourceforge.net/index.html

    QR CODE