| 研究生: |
吳泓澈 Wu, Hung-Che |
|---|---|
| 論文名稱: |
基於WebRTC的去中心化隨插即用即時影像串流管理機制 Decentralized Plug-and-Play Real-Time Video Streaming Management Mechanism Based on WebRTC |
| 指導教授: |
廖峻鋒
Liao, Chun-Feng |
| 口試委員: |
馬尚彬
Ma, Shang-Pin 陸敬互 Lu, Ching-Hu |
| 學位類別: |
碩士
Master |
| 系所名稱: |
資訊學院 - 資訊科學系 Department of Computer Science |
| 論文出版年: | 2024 |
| 畢業學年度: | 112 |
| 語文別: | 中文 |
| 論文頁數: | 41 |
| 中文關鍵詞: | 網頁即時通訊 、mDNS/DNS-SD 、UPnP 、UPnP AV 、RESTful API 、服務發現 |
| 外文關鍵詞: | WebRTC, mDNS/DNS-SD, UPnP, UPnP AV, RESTful API, Service discovery |
| 相關次數: | 點閱:274 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
智慧環境的多媒體共享機制可讓環境中的使用者隨意將各式媒體由其儲存處分享到特定的顯示裝置,此種服務在智慧家庭與智慧辦公室中被廣為應用。 UPnP AV是一種建構在UPnP上的多媒體分享機制,在過去是實現上述共享應用的重要工具之一,然而,近年來人們對於多媒體影像的瀏覽習慣逐漸改變,比起觀看預先錄製的影音內容,使用者更偏好透過瀏覽器獲取即時的直播串流畫面與第三方平台提供的串流影片。在此趨勢下,UPnP AV無法分享即時的影音串流影像成為了此架構的缺陷,且其本身存在資安漏洞、服務發現機制效率不佳等缺點,也讓此通訊協定尚存在改良的空間。有鑒於上述多項議題,本研究試圖提出一個可用於區域網路環境的智慧多媒體串流分享管理機制,此機制於影音串流部分採用與Web相容性良好的WebRTC規範設計,以網頁瀏覽器為主體實現串流功能,令使用者無需下載額外的播放軟體也能輕鬆分享與接收網頁影音內容,而於服務發現部分則採用輕量化且安全規範更完善的mDNS/DNS-SD通訊協定取代UPnP AV架構原先採用的UPnP通訊協定,藉由引入新技術,在實現UPnP AV現有功能的同時,亦改善其缺點,並擴展UPnP AV架構在現今使用情境下的應用範圍。
The multimedia sharing mechanism in smart environments allows users to freely share various media from their storage to specific display devices within the environment. This service is widely used in smart homes and smart offices. UPnP AV is a multimedia sharing mechanism built on top of UPnP, which has been an important tool for implementing the sharing mechanism mentioned above in the past. However, in recent years, people's browsing habits for multimedia content have gradually changed. Users prefer accessing real-time live streams and streaming videos from third-party platforms through browsers rather than watching pre-recorded multimedia content. Under this trend, the inability of UPnP AV to share real-time media streams has become a deficiency in this framework. Additionally, its own security vulnerabilities and inefficient service discovery mechanism have left room for improvement in the protocol.
In light of the above issues, this study attempts to propose a smart media streaming sharing management mechanism suitable for local network environments. For the media streaming part, this mechanism adopts the WebRTC specification, which is highly compatible with the web, to design streaming functions, making web browsers the main entity for implementing streaming capabilities. This allows users to easily share and receive web-based media content without the need to download additional plugin software. For the service discovery part, it adopts the lightweight and more secure mDNS/DNS-SD protocol instead of the UPnP protocol which originally used in the UPnP AV framework. By introducing new technologies, the existing functions of UPnP AV are realized while also addressing its shortcomings and expanding the application scope of the UPnP AV framework in today's usage scenarios.
謝辭 I
摘要 III
Abstract IV
目錄 VI
圖目錄 IX
表目錄 X
第一章 緒論 1
1.1 研究背景 1
1.2 研究動機 2
1.3 研究目標 3
第二章 技術背景 7
2.1 UPnP AV 7
2.1 mDNS 8
2.2 WebRTC 11
第三章 相關研究 18
3.1 WebRTC與服務發現的結合 18
3.2 UPnP AV架構的改良 18
第四章 系統架構 20
4.1 Control Point 20
4.2 串流節點 20
4.3 一對一串流 22
4.4 一對多串流 24
第五章 系統設計 26
5.1 服務發現 26
5.2 信令交換 26
5.3 串流通道劃分 29
第六章 系統評估 30
6.1 實作方式 30
6.2 串流延遲狀況 31
6.3 與UPnP AV對比(影音傳輸) 32
6.4 與UPnP AV對比(通訊前置準備) 33
6.5 成果討論與應用場合 36
第七章 結論 40
參考文獻 41
[1]UPnP Forum, “UPnP A/V Architecture,” UPnP Forum, 2002.
[2]Yi-Hsiu Chiu, Chun-Feng Liao, and Kung Chen, “Transparent Web of Things Discovery in Constrained Networks based on mDNS/DNS-SD,” in International Conference on Platform Technology and Service (PlatCon), August 2021.
[3]Arunan Sivanathan, Daniel Sherratt, Arun Vishwanath, Vijay Sivaraman, and Hassan Habibi Gharakheili, “Low-cost flow-based security solutions for smart-home IoT devices,” in IEEE International Conference on Advanced Networks and Telecommunications Systems (ANTS), November 2016.
[4]S. Cheshire and M. Krochmal, “DNS-Based Service Discovery,” RFC 6763, pp. 1-49, February 2013.
[5]D. Andrew, R. Bryan, B. Maarten, G. John, M. Alan, K. YoonSoo, F. Bruce, and T. Jonathan, “UPnP Device Architecture 2.0,” Document Revision Date: April 17, 2020.
[6]UPnP Forum, “MediaServer Device Template,” UPnP Forum, 2006.
[7]UPnP Forum, “MediaRenderer Device Template,” UPnP Forum, 2006.
[8]Massamba Seck, Baboucar Diatta, Samuel Ouya, Gervais Mendy, and Kokou Gaglou, “Contribution to Improvement of Distance Learning Based on Zeroconf Protocol and an Interactive IPTV,” in International Conference on Interactive Collaborative Learning, pp. 182-192, 2019.
[9]Taein Hwang, Hojin Park, and Euihyun Paik, “Location-aware UPnP AV session manager for smart home,” in First International Conference on Networked Digital Technologies, July 2009.
[10]Ulf Jennehag, Stefan Forsstrom, and Federico V. Fiordigigli, “Low Delay Video Streaming on the Internet of Things Using Raspberry Pi,” 2016.
全文公開日期 2027/07/01