簡易檢索 / 詳目顯示

研究生: 張簡政晟
Chang-Chian, Cheng-Chen
論文名稱: 家庭網路環境下基於UPnP之自動化影音串流及轉送服務容錯
Automatic Media Streaming and Fault Tolerant Service Relay for UPnP-Based Home Networks
指導教授: 蘇銓清
Sue, Chuan-Ching
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 53
中文關鍵詞: 轉送服務容錯家庭網路
外文關鍵詞: Home networking, Service relay, Fault tolerant
相關次數: 點閱:72下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   在資訊傳遞的過程中,透過影音訊號的傳遞是最容易也是最直接的表達方式,隨著無線網路環境的日漸完備,可攜式的影音撥放器在我們的生活上來扮演著一個不可或缺的角色。而在近來熱門的家庭網路環境,我們可以隨時使用用網路服務而不需要人為的設定。也因此,對於一般的使用者而言,使用網路服務也更加的便利了。

      目前市面上有各式各樣的媒體撥放器,如PDA、Notebook、Tablet…等等!然而由於多功能的因素導致價格的提升,也因此單一功能的產品較具有競爭力。於是我們將我們的影音撥放器定位為一個沒有使用商業性的開發軟體、成本低、高效能的單一功能影音撥放器。

      這個系統最主要想呈現的是能夠不經過人為的搜尋,找到一台裡面有使用者喜愛的多媒體資料,進而透過這台伺服器可以將資料透過串流的方式由StrongARM平台上的撥放器來展示;其中這些不必經過人為設定的技術,我們透過UPnP來完成。而整個軟體開發過程完全不採用商業版軟體,而使用網路上的免費軟體來完成,這樣的方式使得軟體開發成本有效的降低。

      另外支援現在市面上所流行的MPEG4的影片,如Divx、Xvid、3ivx…。另外我們也測試出,透過mplayer撥放器所撥出來的影片比之前用VideoLan撥放器的效果還要順暢,因此我們更加堅信我們選用撥放器是個正確的解答。

      在論文的後半段,我們提出一個以UPnP為基礎的轉送服務,提出一個兩層的機制。UPnP是一個很大眾化的中介層軟體,很容易在IP網路上架構一個家庭網路,但以UPnP為基礎的服務會造成一些問題,例如: overloaded services,traffic congestion ,及端點服務的時間延遲。這篇研究的目的就是發展一個有效率的排班策略,和scalable的轉送服務法則。而轉送服務就是可以提供以XML為基礎的列表,並可直接將服務轉送給其他有空閒的服務提供者來提供服務。這篇論文發表了我們提出的兩層的轉送服務機制,並將其設計於UPnP 協定的上面,利用UPnP的主要特色而且延伸了UPnP所額外增加的功能。

     In the process of information transmission, the most easiest and direct express way is transmitting through video and sound signals. With the development of wireless network environment, portable video and music devices play essential roles in our daily life. Moreover, we can access to network service anytime at home without the need for manual configuration in recently popular family network environment. As a result, it is more convenient for common user to access the network service.

     There are various kinds of multimedia devices in the market now, such as PDA, Notebook, Tablet PC, etc. However, all of these players have higher price due to their multi-functions. As a result, single function products become more acceptable by the public. Therefore, we set our multimedia player as a single function player with low cost, high efficiency and non-commercial development software used.

     The primary goal of this system is that we can find a computer with multimedia data that we prefer without manual search. Then we can use the StrongARM Platform player to demonstrate multimedia data by data streaming. The goal can be achieved through UPnP protocol instead of the manual configuration. Besides, the whole process of the software development can be done without any commercial version software; instead, we use free software provided on the internet. As a result, we can effectively reduce the cost of software development. Furthermore, it supports MPEG4, the recently wide-spread data format, such as Divx, Xvid, 3ivx and so on.

     We also find the movie has been played smoother by mplayer than by VideoLan player. Therefore, we are more certain that mplayer is a correct solution.

     In the later part of the thesis, we proposed a two-layer mechanism, which provides transmission service based on UPnP. UPnP is very popular intermediary level software and it is easy to construct a family network in IP network architecture. Nevertheless, service based on UPnP will cause some problems. For example, overloaded services, traffic congestion, and vertex service time delay. The purpose of this thesis is to develop an effective schedule strategy and scalable principle of transmission service. Transmission service can offer a tabulating that takes XML as a basis, and it can also directly transmits task to other idle service provider. This thesis has proposed a two-layer transmission service mechanism, and implemented in UPnP protocol. Finally, we not only take advantage of the UPnP main characteristic but also extend the UPnP extra functions.

    中文摘要 ii Abstract iv Acknowledgements vi List of Tables vii List of Figures viii 1 序論 1 1.1 研究動機 1 1.2 系統簡介 1 1.3 成果與貢獻 1 1.4 整體系統架構 2 1.5 系統規格 4 2 軟硬體規格 5 2.1硬體 5 2.1.1 開發版規格 5 2.1.2 硬體架構介紹 5 2.2軟體 7 2.2.1 Embedded Linux 7 2.2.1.1 Building Embedded Linux 7 2.2.2 GUI- QT-embedded on FrameBuffer 8 2.2.2.1 Qt-embedded V.S. X11 lib 9 3 UPnP&UPnPAV 10 3.1 UPnP 10 3.1.1 UPnP Protocol Stack 10 3.1.2 UPnP State Diagram 11 3.1.2.1 UPnP Control Point State Diagram 11 3.1.2.2 UPnP Device State Diagram 11 3.1.3 UPnP SDK In Embedded Linux 12 3.2 Introduction to UPNP AV 13 3.2.1 UPNP AV Architecture 13 3.2.2 Media Server 13 3.2.3 Media Renderer 14 3.2.4 AV Control Point 15 4 Streaming 16 4.1 Introduction 16 4.2 Streaming Media Overview 16 4.2.1 Streaming format overview 17 4.2.2 Media Server Comparison 18 4.3 Darwin Streaming Server 18 4.3.1 Introduction 18 4.3.2 Building 19 4.3.3 Setup 19 4.4 MPEG4IP 19 4.4.1 Introduction 19 4.4.2 Building 20 4.4.3 Setup 20 4.5 Linux 平台上Streaming環境架構 21 4.6 Embedded Linux 上Streaming架構 22 5 系統實作 23 5.1實驗目標 23 5.2實驗環境 23 5.3 開發流程 24 5.3.1 Cross-Compiler (toolchain) 25 5.3.2 arm-linux kernel 25 5.3.3 Required library building 25 5.3.4 使用CyberLink UPnP SDK – Device 26 5.3.5 使用CyberLink UPnP SDK – Control Point 28 5.3.6 Validate 29 5.4 實驗成果 30 5.4.1 Media Server: 30 5.4.2 Control Point: 31 5.4.3 Media Render: 32 5.4.3.0 進入歡迎畫面 32 5.4.3.1 開啟播放器 33 5.4.3.2 找到media server 33 5.4.3.3 找到所開放的目錄 34 5.4.3.4找到開放目錄裡面的檔案 34 6 UPnP-Based Service Relay 37 6.1 Introduction 37 6.2 Related Work 38 6.2.1 Introduction to UPnP & Web Service 38 UPnP 39 Web Service 39 UPnP How to Work 40 6.3 Service Design Architecture 41 6.3.1 Scenario 41 6.3.2 Service Design 42 6.3.2.1 Service Scheduler 42 6.3.2.2 Service Scheduling Strategy 43 6.3.3 Two-layer Service Relay Approach 46 6.3.3.1 Interior Layer 46 6.3.3.2 Exterior Layer 47 6.4 Experiment Result 48 6.5 Conclusion 49 7 Conclusion & Future Work 51 7.1 Conclusion 51 7.2 Future Work 51 Bibliography 52

    [1] The UPnP Forum http://www.upnp.org search on 2005.06.25
    [2]鄭淙毅 “嵌入式多媒體語音串流之開發” 中華民國九十三年六月 國立中興大學/電機工程學系
    [3]曾宇任 “嵌入式影像傳遞系統之開發” 中華民國九十三年七月 國立中興大學/電機工程學系/
    [4]蔡協甫 “嵌入式系統上影音串流技術之實作” 中華民國九十年六月 國立臺灣大學/資訊工程學研究所
    [5]張建煌 “UPnP網路群組管理機制之研製” 中華民國九十一年六月 國立交通大學/資訊工程系
    [6]李嘉峻“以Linux與Intel StrongARM為基礎之嵌入式動物行為分析平台” 中華民國九十三年六月, 國立成功大學/電機工程學系
    [7] LART http://www.lart.tudelft.nl/ search on 2005.06.25
    [8] BusyBox http://www.busybox.net/ search on 2005.06.25
    [9] SA-1110 http://www.intel.com/design/pca/applicationsprocessors/1110_brf.htm
    search on 2005.06.25
    [10] Mplayer http://www.mplayer.org search on 2005.06.25
    [11] ffmpeg http://ffmpeg.sourceforge.net/index.php search on 2005.06.25
    [12] 胡哲源 Linux C/C++ 視窗程式設計-使用GTK+與QT ,文魁資訊股份有限 公司2002
    [13] Qt Lib http://doc.trolltech.com/3.3/index.html search on 2005.06.25
    [14] Apache.org http://xml.apache.org/ search on 2005.06.25
    [15] The Arm Linux Project http://www.arm.linux.org.uk/ search on 2005.06.25
    [16] Miller, B.A.; Nixon, T.; Tai, C.;Wood, M.D.; Home networking with Universal Plug and Play Communications Magazine, IEEE Volume 39, Issue 12, Dec.2001 Page(s):104 – 109
    [17] Dasgupta, K.; Kalpakis, K.;Maintaining Replicated Redirection Service in Web-based Information System Internet Applications, 2001.WIAPP 2001. Proceedings. The Second IEEE Workshop on 23-24 July 2001 Page(s):143 – 152
    [18] Liang-Jie Zhang ; Bing Li; Tian Chao; Chang, H On demand Web services-based business process composition.; Systems, Man and Cybernetics,2003 . IEEE International Conference onVolume 4, 5-8 Oct. 2003 Page(s):4057 - 4064 vol.4
    [19] Automatically Choosing an IP Address in an Ad-Hoc IPv4 Network , <draft-ietf-dhc-ipv4-autoconfig-04.txt >
    [20] Qiu, J.X.; Mark, J.W.;Service scheduling and CAC for QoS guarantee in future PCS Global Telecommunications Conference, 1998. GLOBECOM 98. The Bridge to Global Integration. IEEEVolume 4, 8-12 Nov. 1998 Page(s):2039 - 2044 vol.4
    [21] Lab http://www.intel.com/technology/upnp/index.htm search on 2005.06.25
    [22] CyberGarage http://www.cybergarage.org/ search on 2005.06.25
    [23] The LibUPnP Project http://upnp.sourceforge.net/ search on 2005.06.25
    [24] Jing Zhang; Mukheriee, B ;A Review of Fault Management in WDM Mesh Networks:Basic Concepts and Research Challenges..; Network, IEEE Volume 18 Issue2, Mar-Apr 2004 Page(s):41- 48

    下載圖示 校內:立即公開
    校外:2005-07-14公開
    QR CODE