簡易檢索 / 詳目顯示

研究生: 陳柏如
Chen, Po-Ju
論文名稱: 具容錯能力的MP4叢集隨選視訊伺服器研究
Design and Implement of a PC-Cluster based Fault -Tolerant MP4 Video-on-Demand Server
指導教授: 朱治平
Chu, Chih-Ping
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2004
畢業學年度: 92
語文別: 中文
論文頁數: 61
中文關鍵詞: 容錯隨選視訊伺服器叢集
外文關鍵詞: Fault-Tolerance, MP4, PC-Cluster, Video-on-Demand Server
相關次數: 點閱:64下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   一個優質的隨選視訊伺服器除了提供使用者影片播放需求外,保持穩定不間斷的視訊服務也是相當重要的課題之一。本論文目的在設計一個具有容錯(Fault Tolerance)能力的MP4叢集隨選視訊伺服器,並提出一個影片配置策略來提高系統負載平衡效能。其中MP4叢集隨選視訊伺服器由負責分配系統負載的負載平衡伺服器及負責儲存影片並處理存取媒體資料請求的視訊伺服器構成。
      本論文中分別針對負載平衡伺服器及視訊伺服器提出適當的容錯處理機制,在此機制中,負載平衡伺服器使用「備援負載平衡伺服器」方式回復錯誤,當錯誤發生時,啟動備援的負載平衡伺服器,並轉移故障負載平衡伺服器上的工作;視訊伺服器,則是利用系統中其他仍正常運作的視訊伺服器來有效分擔故障視訊伺服器工作的方式回復錯誤。
      另外,本論文針對改善系統負載平衡效能方面,提出一個影片配置策略,將影片一熱門程度分類,不同等級的影片複製不同份數分散放置在叢集隨選視訊系統中的視訊伺服器上,此策略可以更有效分散熱門影片的需求,進而達到較佳的系統負載平衡效能。

      For a high quality Video-on-Demand(VoD) server, it is important not only to support on-line playback operations, but also to provide stable and uninterrupted streaming service. In this thesis, we design and implement a PC-cluster based fault-tolerant MP4 Video-on-Demand server with a video stream placement strategy to improve the balance of system loads. Our architecture comprises load balance servers for balancing system loads and video servers for video file storage and video streams delivery.
      In our architecture, we propose fault-tolerant mechanism to both load balance servers and video servers. Load balance server provides fault-tolerant capability by a redundant load balance server. When a fault occurs, the backup load balance server takes over jobs on the failed server to achieve fault-tolerance. Video servers provide fault-tolerant capability by transfering jobs of the failed video server to the rest of surviving video servers.
      A video stream placement strategy is also proposed in this thesis to share and balance the loads among video servers. We classify videos according to video popularity into 3 categories (i.e. hot、normal、and cold). Then we replicate video files to different amount of copies according to the category they belong to and then distribute these replicas to other video servers. This strategy can effectively distribute requests for some very hot videos to more video servers and therefore can improve the balance of system loads.

    第一章 緒論 1 1.1 研究動機與目的 1 1.2 研究內容 2 1.3 論文章節編排 3 第二章 背景知識 4 2.1 電腦叢集系統 4 2.2 串流伺服器 5 2.2.1 RTSP通訊協定 7 2.2.2 RTP及RTCP通訊協定 9 2.2.3 MP4檔案格式 10 2.3 容錯機制 13 2.3.1 廣泛性系統容錯處理機制 13 2.3.1.1 容錯規則 14 2.3.1.2 Redundancy機制 15 2.3.2 隨選視訊伺服器容錯機制 17 2.4 負載平衡 18 第三章 具容錯能力的MP4叢集隨選視訊伺服器設計與實作 23 3.1 串流伺服器 23 3.1.1 QTSS系統架構 23 3.1.2 QTSS串流服務運作流程 25 3.1.3 負載平衡演算法 27 3.2 具容錯能力的串流伺服器 28 3.2.1 擴充需求分析 28 3.2.2 負載平衡伺服器容錯機制 30 3.2.2.1 RTSP需求重新導向機制 30 3.2.2.2 容錯機制說明 32 3.2.2.3 定義容錯傳輸封包 35 3.2.2.4 負載平衡伺服器容錯實作流程 35 3.2.3 視訊伺服器容錯機制 38 3.2.3.1 容錯機制說明 38 3.2.3.2 定義容錯傳輸封包 41 3.2.3.3 視訊伺服器容錯實作流程 42 3.2.4 改善負載平衡機制 44 3.2.4.1 影片配置策略 44 第四章 具容錯能力的MP4叢集隨選視訊伺服器系統運作與分析 49 4.1 系統運作 49 4.1.1 系統測試硬體環境 49 4.1.2 負載平衡伺服器容錯測試 49 4.1.3 視訊伺服器容錯測試 52 4.2 系統特性 55 第五章 結論及未來研究方向 57 5.1 結論 57 5.2 未來研究方向 57 參考文獻 59

    [1] A. Dan, D. Sitaram, P. Shahabuddin, ”Scheduling Policies for an On-Demand Video Server with Batching”, Proceedings of ACM Multimedia, October 1994

    [2] Apple Computer Inc., QuickTime Developer Connection, http://developer.apple.com/quicktime/

    [3] Apple Computer Inc., “QuickTime File Format Specification”, http://developer.apple.com/documentation/QuickTime/PDF/QTFileFormat.pdf, 2000

    [4] Apple Computer Inc., “QuickTime Streaming”, http://developer.apple.com/documentation/QuickTime/PDF/QTStreaming.pdf, February 2002

    [5] Cristian F., “Understanding Fault-Tolerance Distributed Systems.”, Communications of the ACM, vol. 34 no. 2, Feb 1991

    [6] David Singer, William Belknap, Guido Franceschini (Editors),” ISO Media File format specification”, ISO/IEC JTC1/SC29/WG11, 23 July 2001

    [7] H. Schukzrinne, A. Rao, R. Lanphier, ”Real Time Streaming Protocol(RTSP)”, RFC2326,April 1998

    [8] H. Schukzrinne, S. Casner, R. Frederick, V.Jacobson, ”RTP: A Transport Protocol for Real-Time Applications”, RFC3550-RTP, July 2003

    [9] M. Handley, V. Jacobson, “SDP:Session Description Protocol”, RFC2327, April 1998

    [10] P. Srisuresh, D. Gan, ”Load Sharing using IP Network Address Translation(LSNAT)”, RFC 2391, August 1998

    [11] Richard B. Bunt, Dreak L. Eager, Gregory M. Oster, Carey L.Williamson, “Achieving Load Balance and Effective Caching in Clustered Web Servers”, University of Saskatchewan, January 20,1999

    [12] Shang Rong Tsai, “Distributed Systems”, “http://turtle.ee.ncku.edu.tw/~homework/nfs/title.htm” Department of Electrical Engineering, National Cheng-Kung University

    [13] “The Encyclopedia of Networking and Telecommunications”,
    http://www.linktionary.com/re/fault_tolerance.html

    [14] Yu-Pin Chen, “A Fault-Tolerant Video-on-Demand Server”, Department of Computer Science, National Chiao-Tung University, 1998

    [15] Wen-Shih Hung, “An Effective Data Placement Scheme For Supporting Fault-Tolerance in Distributed Video Server Environment”, Department of Computer Science, National Chiao-Tung University, 1999

    [16] Walter L. Heimerdinger, Charles B. Weinstock, ”A Conceptual Framework for System Fault Tolerance”, Software Engineering Institute, CMU/SEI-92-TR-33, October 1992

    [17] 王春火, “具容錯能力之分散式Linux叢集伺服器系統”, 國立成功大學電機工程學系, 2002

    [18] 林偉元, “電腦叢集上QuickTime Streaming Server(QTSS)研究”, 國立成功大學資訊工程研究所, 2003

    [19] 邱柏凱, “建構於個人電腦叢集上MP4隨選視訊系統之設計與實作”,國立成功大學資訊工程研究所, 2003

    [20] 顏培如, “具容錯能力之隨選視訊伺服器架構”,真理大學數理科學研究所, 2003

    下載圖示 校內:立即公開
    校外:2004-08-12公開
    QR CODE