§ 瀏覽學位論文書目資料
  
系統識別號 U0002-2106201723451600
DOI 10.6846/TKU.2017.00738
論文名稱(中文) 以軟體定義網路實作 HTTP 即時串流之研究與實現
論文名稱(英文) Using Software-Defined Networking to implement real time HTTP Live Streaming Study and Practice
第三語言論文名稱
校院名稱 淡江大學
系所名稱(中文) 資訊管理學系碩士在職專班
系所名稱(英文) On-the-Job Graduate Program in Advanced Information Management
外國學位學校名稱
外國學位學院名稱
外國學位研究所名稱
學年度 105
學期 2
出版年 106
研究生(中文) 陳聰敏
研究生(英文) Tsung-Min Chen
學號 704630101
學位類別 碩士
語言別 繁體中文
第二語言別
口試日期 2017-06-04
論文頁數 42頁
口試委員 指導教授 - 梁德昭(tcliang@mail.tku.edu.tw)
委員 - 黃燕忠(yjhwang@faculty.pccu.edu.tw)
委員 - 徐煥智(shyur@mail.im.tku.edu.tw)
關鍵字(中) 軟體定義網路
服務品質
HTTP即時串流
自適性串流
關鍵字(英) Software-Defined Networking(SDN)
Quality of Service(QoS)
HTTP Live Streaming(HLS)
Adaptive Bitrate Streaming
第三語言關鍵字
學科別分類
中文摘要
本論文建置一個基於HTTP Live Streaming (HLS)的多媒體串流服務平台,探討使用者以自助式方式來調整網路頻寬,調整時,可動態提高網路頻寬、提高即時串流觀賞品質與不中斷即時串流服務之研究。其原理是利用軟體定義網路(Software-Defined Networking, SDN)可程式化設計與網路流量控制,搭配HTTP自適性串流(Adaptive Bitrate Streaming)的技術,能夠依照使用者的網路頻寬來動態調整影音串流的品質。另外建立後台管理平台,同樣利用SDN可程式化設計與網路流量控制方式,管理者可提高使用者的網路頻寬,動態提高使用者的即時串流觀賞品質。實驗結果顯示,本論文所提出之概念能正確運作。
英文摘要
This paper builds a multimedia streaming service platform based on HTTP Live Streaming (HLS), to explore how users can adjust the network bandwidth in a self-help way, dynamically increase the network bandwidth、improve the quality of live streaming、without interruption of live streaming service research.The principle is to use Software-Defined Networking (SDN) programmable design and flow control, with HTTP Adaptive Bitrate Streaming technology, according to the user's network bandwidth to dynamically adjust the quality of audio and video streaming. In addition, established the background management platform, the same use of SDN programmable design and network traffic control, managers can change the user's network bandwidth, dynamically improve the user's live streaming viewing quality. The experimental results show that the concept proposed in this paper can operate correctly.
第三語言摘要
論文目次
第一章 緒論 1
1.1 研究背景與動機 1
1.2 研究目的 3
1.3 論文架構 3
第二章 相關背景與技術 4
2.1 軟體定義網路 4
2.1.1 傳統網路與軟體定義網路 4
2.1.2 軟體定義網路架構 5
2.1.3 OpenFlow架構 6
2.1.4 OpenFlow版本演進 7
2.1.5 OpenFlow Flow Entry 7
2.1.6 Open vSwitch 9
2.1.7 SDN控制器 9
2.2 HTTP Adaptive Bitrate Streaming 10
2.2.1 HTTP Live Streaming 11
2.2.2 Microsoft Smooth Streaming 13
2.2.3 Dynamic Adaptive Streaming over HTTP 13
2.3 相關串流技術 14
2.3.1 Real Time Messaging Protocol 14
2.3.2 Real Time Streaming Protocol 14
2.4 相關文獻 15
第三章 實驗架構與實驗方法 17
3.1 ONOS Controller 17
3.2 Open vSwitch 18
3.3 Video Server 19
3.3.1 HLS串流伺服器 19
3.3.2 HLS播放器 21
3.3.3 使用者前台界面/後台管理界面 21
3.4 即時串流來源 23
3.5 Client使用者端 24
3.6 實驗流程圖 24
第四章 實驗結果 25
4.1 系統架構 25
4.2 硬體規格 25
4.3 系統平台與軟體 26
4.4 實驗環境確認 26
4.4.1 ONOS Controller 26
4.4.2 Open vSwtich 27
4.4.3 Video Server 28
4.4.4 即時串流來源 31
4.4.5 Client使用者端 32
4.5 實驗展示 32
4.5.1 使用者前台界面與SDN整合 32
4.5.2 後台管理界面與SDN整合 35
第五章 結論 38
5.1 研究結果 38
5.2 研究限制 38
5.3 未來研究方向 38
參考文獻 40

表目錄
======================================================
表 2-1三種HTTP自適性串流比較[5] 10
表 4-1 硬體規格表 25
表 4-2 軟體版本 26

圖目錄
======================================================
圖 1-1 CISCO VNI Mobile 2016-2021數據流量分析[13] 1
圖 1-2 傳統與SDN網路的串流品質管理 2
圖 2-1傳統與SDN網路[1] 4
圖 2-2 SDN架構圖[24] 5
圖 2-3 OpenFlow架構圖[19] 6
圖 2-4 OpenFlow Version Roadmap[21] 7
圖 2-5 OpenFlow Flow Entry 欄位結構[19] 7
圖 2-6 OpenFlow封包比對流程[19] 8
圖 2-7 自適性串流概覽[9] 10
圖 2-8 HTTP Live Streaming基本架構圖[10] 11
圖 2-9 HTTP Live Streaming兩層式播放清單架構[7] 12
圖 3-1 本實驗架構圖 17
圖 3-2 Open vSwitch的QoS Queue設定 18
圖 3-3 實驗規劃HLS 自適性與QoS條件 19
圖 3-4 nginx-rtmp模組自適性功能規劃圖 20
圖 3-5 nginx的自適性功能設定 20
圖 3-6 HTML5播放HLS來源位址的語法範例 21
圖 3-7 呼叫ONOS Controller 的REST API範例 22
圖 3-8 使用FFmpeg模擬即時串流來源 23
圖 3-9 實驗流程圖 24
圖 4-1 ONOS Contoller 的Topology畫面 27
圖 4-2 Open vSwitch與Controller連線成功畫面 27
圖 4-3 Open vSwitch查詢QoS與Queue設定畫面 28
圖 4-4 nginx-rtmp模組所轉出HLS相關檔案畫面 28
圖 4-5 nginx-rtmp模組所轉出HLS的第一層播放清單內容 29
圖 4-6 nginx-rtmp模組所轉出HLS的第二層播放清單內容 29
圖 4-7 使用hls.js播放器播放HLS即時串流 30
圖 4-8 使用者前台界面 30
圖 4-9 後台管理者界面 31
圖 4-10 FFmpeg轉檔中畫面 31
圖 4-11 Chrome瀏覽器開啟開發人員工具 32
圖 4-12 瀏覽Low quality 串流品質 32
圖 4-13 Priority 1000的 Flow Entry套用 QoS q0等級 33
圖 4-14 瀏覽mid quality串流品質 33
圖 4-15 Priority 2000的 Flow Entry套用 QoS q1等級 34
圖 4-16 瀏覽high quality 串流品質 34
圖 4-17 Priority 3000的 Flow Entry套用 QoS q2等級 35
圖 4-18 後台管理界面顯示使用者的bandwidth 500Kbps 35
圖 4-19 Priority 1000的 Flow Entry套用 QoS q0等級 36
圖 4-20 後台管理界面可調整線上使用者的bandwidth 36
圖 4-21 後台管理界面查看線上使用者的bandwidth 2Mbps 37
圖 4-22 Priority 3000的 Flow Entry套用 QoS q2等級 37
參考文獻
1.丘文中,2016,《利用軟體定義網路(SDN)搭配資訊安全監控中心(SOC)自動化阻擋惡意活動》,淡江大學資訊管理學系碩士論文。
2.宋俊霖,2015,《應用軟體定義網路建構伺服器叢集負載平衡》,淡江大學資訊管理學系碩士論文。
3.洪徹易,2012,《基於HTTP Live Streaming 技術之實況廣播暨VOD 系統》,國立清華大學資訊工程學系碩士論文。
4.侯坤良、黃靜慧、王木良,2015,《動態自適性HTTP串流架構下媒體服務平台之研究》,第十四屆離島資訊技術與應用研討會,349~354頁。
5.詹智傑,2013,《自適應性串流架構下之視訊影像品質最佳化設計與實作》,台北科技大學資訊工程所碩士論文。
6.賴冠豪,2016,《具備QoS功能之軟體定義後端網路測試場域》,電腦與通訊期刊,第167期:54~61頁。
7.About HTTP Live Streaming https://developer.apple.com/library/content/referencelibrary/GettingStarted/AboutHTTPLiveStreaming/about/about.html, accessed 2017/05/20.
8.Abuteir, R. M., Fladenmuller, A., & Fourmaux, O. 2016, "SDN based architecture to improve video streaming in home networks", In Advanced Information Networking and Applications (AINA), 2016 IEEE 30th International Conference on. IEEE, pp. 220-226.
9.Adaptive bitrate streaming WiKi https://en.wikipedia.org/wiki/Adaptive_bitrate_streaming, accessed 2017/05/20.
10.Apple HLS HTTP Streaming Architecture https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html, accessed 2017/05/20.
11.Big Buck Bunny video                 
https://peach.blender.org/download/, accessed 2017/05/20.
12.Big Buck Bunny WiKi 
https://zh.wikipedia.org/wiki/Big_Buck_Bunny, accessed 2017/05/20.
13.Cisco Visual Networking Index: Global Mobile Data Traffic Forecast Update, 2016–2021 White Paper http://www.cisco.com/c/en/us/solutions/collateral/service-provider/visual-networking-index-vni/mobile-white-paper-c11-520862.html/, accessed 2017/05/20.
14.HTTP live streaming, IETF Internet- Draft, version 22 https://tools.ietf.org/html/draft-pantos-http-live-streaming-22, accessed 2017/05/20.
15.HLS.JS player of dailymotion 
https://github.com/dailymotion/hls.js/, accessed 2017/05/20.
16.Lai, C. F., Hwang, R. H., Chao, H. C., Hassan, M. M., & Alamri, A. 2015, "A buffer-aware HTTP live streaming approach for SDN-enabled 5G wireless networks", IEEE Network, vol. 29, no. 1, pp. 49-55.
17.NGINX-RTMP module 
https://github.com/arut/nginx-rtmp-module, accessed 2017/05/20.
18.McKeown, N., Anderson, T., Balakrishnan, H., Parulkar, G., Peterson, L., Rexford, J., ... & Turner, J. 2008, "OpenFlow: enabling innovation in campus networks", ACM SIGCOMM Computer Communication Review, vol. 38, no. 2, pp. 69-74.
19.ONF,2012,OpenFlow Switch Specification 1.3.0 https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.0.pdf , accessed 2017/05/20.
20.ONOS Wiki 
https://wiki.onosproject.org/display/ONOS/Wiki+Home, accessed 2017/05/20.
21.OpenFlow Version Roadmap 
http://speed.cis.nctu.edu.tw/~ydlin/miscpub/indep_frank.pdf, accessed 2017/05/20.
22.Open vSwitch 
http://openvswitch.org/, accessed 2017/05/20.
23.Quality of Service (QoS) of Open vSwitch 
http://docs.openvswitch.org/en/latest/faq/qos/, accessed 2017/05/20.
24.SDN Architecture 
https://www.sdxcentral.com/resources/sdn/inside-sdn-architecture/, accessed 2017/05/20.
25.Smooth Streaming
http://www.iis.net/downloads/microsoft/smooth-streaming, accessed 2017/05/20.
26.Sodagar, I. 2011, "The mpeg-dash standard for multimedia streaming over the internet", IEEE MultiMedia,vol. 18, no. 4, pp. 62-67.
27.YouTube Live encoder settings, bitrates, and resolutions https://support.google.com/youtube/answer/2853702?hl=en, accessed 2017/05/20.
28.Yu, T. F., Wang, K., & Hsu, Y. H. 2015, "Adaptive routing for video streaming with QoS support over SDN networks", In Information Networking (ICOIN), 2015 International Conference on. IEEE, pp. 318-323.
論文全文使用權限
校內
校內紙本論文立即公開
同意電子論文全文授權校園內公開
校內電子論文立即公開
校外
同意授權
校外電子論文立即公開

如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信