研究生: |
彭脩舜 Peng, Shiu-Shun |
---|---|
論文名稱: |
P2P 影音串流服務之可擴充性遞送系統研製 Design and Implementation of Scalable Delivering System for P2P Based Video Streaming Service |
指導教授: |
黃能富
Huang, Nen-Fu |
口試委員: |
石維寬
Wei-Kuan Shih 陳俊良 Jiann-Liang Chen |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 通訊工程研究所 Communications Engineering |
論文出版年: | 2014 |
畢業學年度: | 102 |
語文別: | 英文 |
論文頁數: | 54 |
中文關鍵詞: | 網路點對點傳輸 、負載平衡 |
外文關鍵詞: | P2P Network, Load-balancing |
相關次數: | 點閱:4 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
近年來,隨著網路影音串流應用的服務和需求量日益增加,高畫質且穩定的影音串流傳輸品質逐漸成為眾多服務平台的共同目標與課題之一。因此使用點對點網路傳輸(P2P Network)技術以降低高畫質影音傳輸時所需的網路頻寬和服務伺服器負載量即成為了一個熱門的議題。然而為了讓在影音平台上之使用者皆能擁有良好的串流服務品質,P2P串流伺服器必需花費大量的硬體(CPU,RAM等)和網路頻寬資源以動態維護P2P網路拓樸(Topology)的完整性。由於單一台伺服器之硬體和網路環境僅能負荷服務一定數量的使用者,倘若觀看人數超出單台串流伺服器之最大負荷人數,串流提供者必須準備或租用多台伺服器以分散其大量使用者所產生的負載需求。雖然現今的雲端技術可以透過花費些許租金以取得其虛擬機器以減少硬體設備的成本需求,但倘若租借過多的伺服器而線上的使用者人數不如預期,則會導致服務成本和資源上的浪費。對於串流服務提供者而言,很難在服務開始之前完全掌握其欲接受服務的人數規模,如何即時且彈性地依照目前的使用人數規模來調整伺服器的使用數量就成了一個不可忽視的議題之一。在此篇文中,我們提出一個能在P2P網路環境中達到負載平衡的即時管理系統以根據不同的使用者人數和網路情況對伺服器的使用做適當地調整。首先,我們建立一個管理伺服器以便隨時監控和更新每一台串流伺服器於目前的資源使用數據,並且掌握目前可以提供服務之伺服器的最新情況。進一步地,我們於管理伺服器上設計一套新的串流伺服器負載評估方法以計算每一台串流伺服器的資源使用量數據來分別其伺服器的負載程度。除此之外,我們在管理伺服器上提出一套演算法以對每一台P2P伺服器的負載程度資料進行處理和分配使用者至P2P伺服器。為了驗證我們所設計出來的系統,在本篇論文中我們也在實際網路環境中設計了許多不同的測試實驗並透過分析實驗結果來驗證我們系統的可行性和完整性。
Video streaming applications have become increasingly widespread in today’s Internet. The high-definition (HD) video technology has also been applied for the speech and ball game live broadcasting. For reducing the heavy bandwidth requirement, Peer-to-Peer (P2P) transmission technology is widely applied to video streaming services. The most advantage of P2P transmission is the ability to conserve bandwidth and reduce server load. Nevertheless, it is difficult to correctly and efficiently maintain the P2P network topology when a large number of users join to the group. Moreover, the streaming server’s loading is heavy in order to keep the quality of services (QoS) with a large number of users. Although streaming providers can solve this problem easily by renting more hardware servers or virtual devices, the streaming broadcast cost is also increased by using more streaming servers.
In this thesis, a novel central control system is proposed to efficiently manage the P2P streaming servers to provide scalable and stable streaming service for a large number of users. First, a managing device called “manager server” is proposed to monitor the condition of each streaming server. Next, a loading condition evaluation method is implemented on the manager server to analyze each P2P server’s resources utilization. Moreover, two load balancing operations are offered to dynamically partition the peers into P2P servers to keep the whole system and service as stable as possible. Various experiments are conducted to evaluate the performance and scalability of the proposed system. Experimental results indicate that the proposed system architecture and the load balancing mechanisms work well for 2Mbps video streaming source with different number of joining peers.
[1] PPLive, http://www.pptv.com/
[2] Skype, http://www.skype.com/
[3] BitTorrent, http://www.bittorrent.com/
[4] PPStream, http://www.pps.tv/
[5] Chuan Wu, Baochun Li and Shuqiao Zhao, “On Dynamic Server Provisioning in Multichannel P2P Live Streaming”, IEEE/ACM Transactions on Networking (Volume:19 , Issue: 5 ), Oct. 2011, pp. 1317 – 1330.
[6] ZhiHui Lu, XiaoHong Gao, SiJia Huang and Yi Huang, “Scalable and Reliable Live Streaming Service through Coordinating CDN and P2P”, 2011 IEEE 17th International Conference on Parallel and Distributed Systems (ICPADS) , 7-9 Dec. 2011, pp. 581 – 588.
[7] Javier Cervi˜no, Pedro Rodr’ıguez, Irena Trajkovska, Alberto Mozo, and Joaqu’ın Salvach’ua, “Testing a Cloud Provider Network for Hybrid P2P and Cloud Streaming Architectures”, 2011 IEEE 4th International Conference on Cloud Computing, July 2011, pp. 356 – 363.
[8] Ginhung Wang and Kuochen Wang, “An Efficient Hybrid P2P MMOG Cloud Architecture for Dynamic Load Management”, 2012 International Conference on Information Networking (ICOIN), 1-3 Feb. 2012, pp. 199 – 204.
[9] Ming Xu and Jihong Guan, “Routing Based Load Balancing for Unstructured P2P Networks”, Future Generation Communication and Networking (FGCN 2007), 6-8 Dec. 2007, pp. 332 – 337.
[10] Yingwu Zhu and Yiming Hu, “Towards Efficient Load Balancing in Structured P2P Systems”, Parallel and Distributed Processing Symposium, 2004. Proceedings. 18th International, 26-30 April 2004, pp. 1-10.
[11] Di Wu, Ye Tian and Kam-Wing Ng, “Achieving Resilient and Efficient Load Balancing in DHT-based P2P Systems”, Proceedings 2006 31st IEEE Conference on Local Computer Networks, 14-16 Nov. 2006, pp. 115 – 122.
[12] Mirrezaei, S.I., Shahparian, J. and Ghodsi, M. , “A Topology-Aware Load Balancing Algorithm for P2P Systems”, ICDIM 2009. Fourth International Conference on Digital Information Management, 2009. 1-4 Nov. 2009, pp. 1 – 6.
[13] Bin Wang and Qing-guo Shen,“ID Management and Allocation Algorithm for P2P Load Balancing”, 2010 12th IEEE International Conference on Communication Technology (ICCT), 11-14 Nov. 2010, pp. 1232 – 1235.
[14] Apache Software Foundation, http://www.apache.org/
[15] Java Servlet, http://docs.oracle.com/javaee/6/tutorial/doc/bnafd.html
[16] JavaServer Pages, http://www.oracle.com/technetwork/java/javaee/jsp/index.html
[17] MySQL, http://www.mysql.com/
[18] Chi-Yao Hsu “Design and Implementation of a Multiple Video Streaming System for Low Latency P2P Architecture”, Master Dissertation, Taipei, Taiwan, Department of Computer Science, National Tsing Hua University, 2012.
[19] Yeh-Sheng Lin “Design and Implementation of a Low-Latency Peer-to-Peer Protocol for Multimedia Video Streaming Broadcasting”, Master Dissertation, Taipei, Taiwan, Department of Computer Science, National Tsing Hua University, 2010.
[20] Hsin-Wei Wu “The Design and Implementation of Server Structure for a P2P Video Streaming Delivering System with Guaranteed Latency”, Master Dissertation, Taipei, Taiwan, Department of Computer Science, National Tsing Hua University, 2013.
[21] Zong-Yo Li “The Design and Implementation of Peer Structure for a P2P Video Streaming Delivering System with Guaranteed Latency”, Master Dissertation, Taipei, Taiwan, Department of Computer Science, National Tsing Hua University, 2013.
[22] Real-Time Messaging Protocol, http://www.ietf.org/rfc/rfc3550.txt
[23] Red5 Media Server, http://www.red5.org/
[24] Open Broadcaster Software (OBS), http://obsproject.com/
[25] Adobe Flash Player, http://www.adobe.com/tw/products/flashplayer.html
[26] JW player, http://www.longtailvideo.com/jw-player/
[27] Xun Zhu, Hongtao Deng, Zheng Chen and Hongyun Yang, “Design of Large-scale Video Surveillance System based on P2P Streaming”, 2011 3rd International Workshop on Intelligent Systems and Applications (ISA), 28-29 May 2011, pp. 1 – 4.
[28] Bracciale, L., Lo Piccolo, F., Luzzi, D., Salsano, S., Bianchi, G., and Blefari-Melazzi, N., “A push-based scheduling algorithm for large scale P2P live streaming”, 13-15 Feb. 2008, pp. 1 – 7.
[29] Nen-Fu Huang, Tzu-Chien Wang, Ming-Hung Wang and Shiu-Shun Peng, “ARMS: An agent-based real-time monitoring system for large scale P2P video streaming platforms”, 2011 17th Asia-Pacific Conference on Communications (APCC), 2-5 Oct. 2011, pp. 405 – 410.
[30] Nen-Fu Huang, Ming-Hung Wang, Tzu-Chien Wang and Shiu-Shun Peng, “Measuring QoE/QoS of large scale P2P IPTV service”, 2011 13th Asia-Pacific Network Operations and Management Symposium (APNOMS), Taipei, Taiwan, 21-23 Sept. 2011.
[31] Kreitz, G. and Niemela, F., “Spotify -- Large Scale, Low Latency, P2P Music-on-Demand Streaming”, 2010 IEEE Tenth International Conference on Peer-to-Peer Computing (P2P), 25-27 Aug. 2010, pp. 1 – 10.
[32] Couto da Silva, A.P., Leonardi, E., Mellia, M. and Meo, M., “Chunk Distribution in Mesh-Based Large-Scale P2P Streaming Systems: A Fluid Approach”, IEEE Transactions on Parallel and Distributed Systems (Volume:22 , Issue: 3 ), March 2011, pp. 451 – 463.