簡易檢索 / 詳目顯示

研究生: 邱柏凱
Chiu, Po-Kai
論文名稱: 建構於個人電腦叢集上MP4隨選視訊系統之設計與實作
Design and Implement a MP4 Video-on-Demand System based on PC Cluster
指導教授: 朱治平
Chu, Chih-Ping
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2003
畢業學年度: 91
語文別: 中文
論文頁數: 72
中文關鍵詞: 隨選視訊電腦叢集平行計算
外文關鍵詞: MP4, QuickTime, MPEG-4, PC Cluster
相關次數: 點閱:68下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 寬頻網路的普及與MPEG-4壓縮技術的發展促使網際網路上的資訊趨向更多元化的發展,而隨選視訊(Video-on-Demand)便是其中最熱門也最被看好的一項服務。然而,要將現有的影音格式轉換成MPEG-4規格需要非常長的壓縮時間,另外,雖然MPEG-4提高了壓縮比,隨選視訊系統仍需大量的儲存設備來存放影音資料,且目前與MPEG-4相關的硬體設備的價格仍然居高不下。而個人電腦叢集(PC Cluster)系統的架構可同時解決這三種問題。
    本論文利用電腦叢集設計了一套隨選視訊系統,裡頭包含有串流伺服器與平行壓縮程式,並使用高普及率的MP4媒體規格及QuickTime Player當作影片格式與客戶端播放軟體。在MPEG-4壓縮方面該系統設計了一套低成本高效能提升率的平行壓縮架構,在高資料傳輸量之下使用平行輸出/輸入(Parallel I/O)降低整個平行計算過程中各主機等待接收資料的時間進而得到高效能的平行壓縮架構,並透過實驗證明該架構確實擁有較好的效能提升及討論其優缺點。
    在串流伺服器方面該系統採用二階層(Two-Tier)架構,並利用叢集系統高度可擴充性(Scalability)的特性作為串流伺服器中的儲存系統(Storage System),使用資料分散(Data Stripping)的媒體資料儲存方式分散磁碟負載,並討論在不同的硬體環境下該如何建置與擴充該串流伺服器。最後我們利用MySQL做為媒體資訊資料庫並提供一個Web環境的使用者界面與管理界面讓這個系統更容易被使用與管理。

    With the wide deployment of wide-bandwidth network and the advance of the MPEG-4 compression technique, many types of the information service in WWW are developed and provided. Video-on-demand is the hotest and the most potential one among these services. However, it costs a long time to compress a normal video file to a MPEG-4 file. In addition, although the MPEG-4 has the high compression rate, video-on-demand system still needs a great amount of the storage device for storing the video data, and the price of this device is expensive. Fortunately, using PC Cluster to build video-on-demand system can eliminate these issues.
    In this thesis, we develop and design a video-on-demand system based on the PC Cluster. The system includes streaming server and parallel-compressing process. Furthermore, the system adopts a popular MP4 media format and QuickTime Player for the movie format and the player software in the client respectively. We develop a parallel compression technique which has high performance but relatively low cost in the system. The proposed parallel input/output architecture is used to reduce the waiting time of receiving data to the processing of parallel computing for every computer under the high rate of data transforming. That is, we have obtained parallel compression architecture with high performance. From the experimental results, it is indicated that the performance of the parallel compression architecture is better than that with serial input/output parallel compression architectures. Simultaneously, the advantages and defects of the proposed architecture are also shown from the experimental results.
    We adopt a two-tier architecture to construct the streaming server in the proposed system. We use the PC Cluster to be the storage system of the streaming server because it’s scalability characteristic, sharing disk loading by data stripping storage method. We also discuss how to construct and scale this storage system under different hardware environment. Finally, we adopt MySQL database and provide a Web interface for clients and the administrator for the facility and management of the system.

    第一章 緒論 1 第一節 前言 1 第二節 電腦叢集系統 2 第三節 串流伺服器簡介 2 第四節 論文章節編排 3 第二章 背景知識 4 第一節 個人電腦叢集(PC Cluster) 4 2.1.1 電腦叢集系統 4 2.1.2 MPI(Message Passing Interface) 5 第二節 MPEG4平行壓縮 6 2.2.1 MPEG4壓縮 6 2.2.2 MPEG4平行壓縮 7 2.2.2.1 VO partitioning 8 2.2.2.2 VOL partitioning 8 2.2.2.3 GOV partitioning 8 2.2.2.4 Pseudo-GOV partitioning 8 第三節 串流伺服器(Streaming Server)介紹 11 2.3.1 串流服務(streaming services)運作流程 11 2.3.2 串流伺服器(Streaming Server)內部組成 12 2.3.3 通訊協定 13 2.3.4 客戶端播放程式 15 2.3.5 MP4媒體格式 15 第三章 平行壓縮系統架構與實作 19 第一節 環境介紹 19 第二節 平行輸出入電腦叢集建置 20 3.2.1 平行輸出/輸入(Parallel I/O) 20 3.2.2 管線(Pipe)流程 22 3.2.3 再論平行輸出/輸入(Parallel I/O) 24 3.2.4 Master磁碟輸出效能分析 25 3.2.5 總結 25 第三節 平行壓縮系統實作 26 3.3.1 系統簡介 26 3.3.2 Master流程 27 3.3.3 Slave流程 28 3.3.4 資料分割模式 29 第四節 實驗結果 30 第五節 討論 35 第四章 叢集電腦MP4隨選視訊串流伺服器之建構 37 第一節 簡介 37 第二節 叢集串流伺服器建置 39 第三節 串流伺服器系統架構與運作流程 41 4.3.1 串流伺服器架構 41 4.3.2 串流伺服器運作流程 43 4.3.2.1 RTSP Server 43 4.3.2.2 Process Server 46 4.3.2.3 Storage Server 47 4.3.3 VCR-Like功能 47 第四節 系統實作 48 第五節 Web使用者與管理者介面 52 第六節 討論 54 第五章 結論 56 第六章 未來工作 57

    [1] Chao-Tung Yang, Chia-Chen Soong, Shian-Shyong Tseng, “A Study of Multithreaded Programming on Linux SMP Architecture”, The Sixth Workshop on Compiler Techniques for High-Performance Computing,March 16-17, 2000
    [2] Chao-Tung Yang, Chia-Chen Soong, Shian-Shyong Tseng, “A Linux/PVM Cluster on Low Cost SMPs Architecture”, The Sixth Workshop on Compiler Techniques for High-Performance Computing, March 16-17, 2000
    [3] Christoph Bernhardt, Ernst Bierscak, “THE SERVER ARRAY: A SCALABLE VIDEO SERVER ARCHITECTURE”, Chapter 5 in “High-Speed Networking for Multimedia Application”, O. Spaniol, W. Effelsberg, A. Danthine, D. Ferrari, eds., Kluwer, Publ., March 1996
    [4] Dapeng Wu, Yiwei Thomas Hou, Member, Wenwu Zhu, Member, Ya-Qin Zhang, and Jon M. Peha, “Streaming Video over the Internet: Approaches and Directions”, IEEE Transactions on Circuits and System for Video Technology, VOL. 11, No. 3, March 2001
    [5] “Grid Computing”, http://www.globus.org
    [6] Hai Jin, Guang Tan and Song WU, “Clustered Multimedia Servers: Architecture and Storage System”, Internet and Cluster Computing Center, China, 2003
    [7] ISO/IEC,”ISO Media File format specification-MP4 Technology under consideration for ISO/IEC 14496-1:2001/Amd 3”, JTC1/SC29/WG11 MPEG01/N4270-1, July 2001
    [8] Miguel Ribeiro, Oliver Sinnen, Leonel Sousa, “MPEG-4 Natural Video Parallel Implemetation on a Cluster”, RECPAD 2002-12th edition of the Portuguese Conference on Pattern Recognition of APRP - The Portuguese Association for Pattern Recognition
    [9] “MPICH- A Portable Implementation of MPI”, http://www.unix.mcs.anl.gov/mpi/mpich
    [10] Peter S. Pacheco, “A User’s Guide to MPI”, Department of Mathematics University of San Francisco, March 1998

    [11] Renu Tewari, Rajat Mukherjee, Daniel M. Dias, Harrick M. Vin, “Design amd Performance Tradeoffs in Clustered Video Servers”, International Conference on Multimedia Computing and Systems, 1996
    [12] R. Buyya, “High Performance Cluster Computing: System and Architecture”, Vol. 1, Prentice Hall PTR, NJ, 1999
    [13] R. Buyya, “High Performance Cluster Computing: Programming and Applications”, Vol. 2, Prentice Hall PTR, NJ, 1999
    [14] RFC 2327 : “SDP: Session Description Protocol”
    [15] RFC 2326 : “Real Time Streaming Protocol(RTSP)”
    [16] RFC 1889 : “RTP: A Transport Protocol for Real-Time Application”
    [17] Sugih Jamin, Scott J. Shenker, Peter B. Danzig, “Comparison of Measurement-based Admission Control Algorithms for Controlled-Load Service”, EECS Department University of Michigan Ann Arbor, 1997
    [18] The QuickTime Technique Reference Library, “Inside QuickTime: QuickTime File Format”, http://www.quicktime.com , March 2001
    [19] 趙勗辰,”以Sage++發展Web環境之C循序語言自動平行執行環境”,國立成功大學資訊工程研究所,民國90年
    [20] 王宏瑾,”MPEG-4 伺服器與同步機制的設計與實作”,國立台灣大學電機工程研究所,民國88年

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