簡易檢索 / 詳目顯示

研究生: 吳旭康
Xu-Kang Wu
論文名稱: 資料分佈式服務於物聯網飲水機系統之實現
Implementation of Data Distribution Service on IoT-enabled Water Dispenser System
指導教授: 鄭瑞光
Ray-Guang Cheng
黃琴雅
CHIN-YA HUANG
口試委員: 郭富彥
鄭瑞光
黃琴雅
王瑞堂
許獻聰
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2020
畢業學年度: 108
語文別: 中文
論文頁數: 69
中文關鍵詞: 物聯網數據分發服務超文本傳輸協定
外文關鍵詞: IoT, DDS, HTTP
相關次數: 點閱:174下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文採用資料分佈式服務(Data Distribution Service, DDS)傳輸協定,取代現有飲水機系統之超文本傳輸協定(Hyper Text Transfer Protocol, HTTP),以解決HTTP 之資料傳輸延遲過高所造成資料 取樣筆數不足的問題。採用 DDS 雖可降低傳輸延遲並可提高資料取樣筆數,但需解決 DDS 不支援非關聯式資料庫、傳輸時會佔用過多記憶體導致裝置停機,以及提高資料取樣筆數後造成資料庫過載等議題。針對上述議題,本論文自行開發可執行於 DDS 訂閱方的非關聯式資料庫驅動程式以及可根據記憶體用量自動重啟裝置的程式,並提出可依資料變動頻率來選擇的 DDS 發佈/訂閱傳輸機制。相較於採用 HTTP 傳輸協定的系統,平均資料傳輸延遲從 659.4 毫秒降到 8.6 毫秒,取樣時間由 30 秒降至 1 秒但實際傳輸的資料量僅增為 12.1 倍


    Abstract —This paper uses the Data Distribution Service (DDS) transfer protocol to replace the Hyper Text Transfer Protocol (HTTP) of the existing water dispenser system to solve the problem of insufficient data sampling caused by the high data transmission delay of HTTP. Although the use of DDS can reduce the transmission delay and increase the number of data samplings, it needs to solve the problems that DDS does not support non-associated databases, it will occupy too much memory during transmission and cause the device to be shut down, and increasing the number of data samplings will cause database overload. In order to correct the above mentioned issues, this paper proposes and develops a non-associative database driver that can be executed by DDS subscribers, a program that can automatically restart the device according to memory usage, and proposes DDS publish/subscribe transmission that can be selected according to the frequency of data changes mechanism.
    Compared with the system using the HTTP transmission protocol, the average data
    transmission delay is reduced from 659.4 milliseconds to 8.6 milliseconds, and the sampling period is reduced from 30 seconds to 1 second, but the actual amount of data transferred only increases to 12.1 times.

    論文摘要....4 目錄....7 圖目錄.... 8 表目錄.... 10 第 1 章 緒論.... 11 1.1 研究動機與目的.... 11 1.2 背景介紹.... 16 1.2.1 IoT-enabled 飲水機介紹.... 16 1.2.2 主從式架構與發佈/訂閱機制.... 17 1.2.3 DDS 背景.... 20 1.2.4 RTI-DDS.... 27 1.3 章節提要.... 30 第 2 章 系統架構.... 31 2.1 限制與挑戰.... 31 2.2 系統架構圖.... 33 2.3 DDS 建置流程.... 36 2.3.1 DDS 使用 API 與設置 QoS 步驟.... 41 第 3 章 系統實作與結果.... 44 3.1 實驗規格.... 44 3.2 實驗步驟.... 45 3.2.1 實驗流程.... 46 3.2.2 DDS 協定傳輸成果.... 47 3.2.3 資料欄位分類.... 52 3.2.4 DDS 分類後改變傳送方法以及加入 QoS.... 55 第 4 章 結論與未來展望.... 64 參考文獻.... 65

    [1] 賀眾牌,“賀眾牌飲水機”[Online].
    [2] Yu-Ting Cheng., “Estimating Drinking Water Consumption of IoT Dispenser System,” M.S. thesis, Electronic and Computer Engineering Dept. NTUST., Taiwan, 2019. Accessed on: 26, 07, 2019.
    [3] I-Chi Liu., “Dispenser Management Platform for Pay-per-liter Service,” M.S. thesis, Electronic and Computer Engineering Dept. NTUST., Taiwan, 2019. Accessed on: 1, 11, 2019.
    [4] Al-Madani, B.; Al-Roubaiey, A.; Baig Z.A. Real-Time QoS-Aware Video Streaming: A Comparative and Experimental Study. Adv. Multimedia.2014, 2014.
    [5] H. T. Le, T. Nguyen, N. P. Ngoc, A. T. Pham and T. C. Thang, "HTTP/2 push-based low-delay live streaming over mobile networks with stream termination", IEEE Trans. Circuits Syst. Video Technol., Sep. 2018.
    [6] Pan Wei, Zhiguo Hong and Minyong Shi, "Performance Analysis of HTTP and FTP Based on OPNET", ICIS 2016 Okayama Japan, June. 2016.
    [7] Nguyen Quoc Uy ; Vu Hoai Nam. A comparison of AMQP and MQTT protocols for Internet of Things., 2019 6th NAFOSTED Conference on Information and Computer Science (NICS), Dec. 2019.
    [8] A. Al-Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari and M. Ayyash, "Internet of Things: A survey on enabling technologies protocols and applications", IEEE Commun. Surveys Tuts. 4th Quart. 2015.
    [9] Muneer Bani Yassein ; Mohammed Q. Shatnawi ; Shadi Aljwarneh ; Razan Al-Hatmi, “Internet of Things: Survey and open issues of MQTT protocol”, 2017 International Conference on Engineering & MIS (ICEMIS), May. 2017.
    [10] Muneer Bani Yassein ; Mohammed Q. Shatnawi ; Dua' Al-zoubi, “Application layer protocols for the Internet of Things: A survey ”, 2016 International Conference on Engineering & MIS (ICEMIS), IEEE ICEMIS, Sep. 2016.
    [11] Syed Rameez Ullah Kakakhel ; Tomi Westerlund ; Masoud Daneshtalab ; Zhuo Zou ; Juha Plosila ; Hannu Tenh, “A Qualitative Comparison Model for Application Layer IoT Protocols”, 2019 Fourth International Conference on Fog and Mobile Edge Computing, IEEE FMEC, June. 2019.
    [12] J. Dizdarević, F. Carpio, A. Jukan and X. Masip-Bruin, "A survey of communication protocols for internet of things and related challenges of fog and cloud computing integration", ACM Comput. Surv., vol. 51, Feb. 2019.
    [13] N. Naik. “Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP”, In Proceedings of the 2017 IEEE International Systems Engineering Symposium, IEEE ISSE, Oct. 2017.
    [14] J. Lin, W. Yu, N. Zhang, X. Yang, H. Zhang and W. Zhao, "A survey on Internet of Things:Architecture enabling technologies security and privacy and applications", IEEE Internet Things, Oct. 2017.
    [15] Object Management Group (OMG), "Data Distribution Service for Real-time Systems",[Online].Available: http://www.omg.org/spec/DDS/1.2.
    [16] Bellavista, P.; Corradi, A.; Foschini, L.; Pernafini, “A.Data distribution service (DDS): a performance comparison of OpenSplice and RTI implementations”, Proceedings of the 18th IEEE Symposium on Computers and Communications, IEEE ISCC, July 2013.
    [17] Object Management Group (OMG), "Data Distribution Service"
    [18] Domain explanation, Data Distribution Service (DDS) Community,
    [19] Participant explanation, Data Distribution Service (DDS) Community
    [20] Datawriter explanation, Data Distribution Service (DDS) Community
    [21] Real-Time Innovations (RTI),” An Introduction to Connext DDS”
    [22] Real-Time Innovations (RTI), ” What is a Databus? ”
    [23] P. Urien, "Securing the IoT With TLS/DTLS Server Stacks Embedded In Secure Elements: An ePlug Usecase", 2017 14th IEEE Annual Consumer Communications & Networking Conference (CCNC), IEEE CCNC, 2017.
    [24] P. Urien, "Introducing TLS/DTLS Secure Access Modules for IoT frameworks: Concepts and experiments", IEEE ISCC, 2017.
    [25] OMGwiki,”ddsi_rtp”
    [26] Alexandru Kampmann ; Andreas Wüstenberg ; Bassam Alrifaee ; Stefan Kowalewski, "A Portable Implementation of the Real-Time Publish-Subscribe Protocol for Microcontrollers in Distributed Robotic Applications", 2019 IEEE Intelligent Transportation Systems Conference (ITSC)
    [27] Real-Time Innovations (RTI) (2013), “RTI Core Libraries And Utilities Users Manual”
    [28] Open source DDS, ” opendds”
    [29] Open source DDS, ”Eprosima”
    [30] Open source DDS, ”Kongsberg”
    [31] Open source DDS, ”Remedy”
    [32] Enterprise DDS, ”CoreDX”
    [33] Enterprise DDS,”RTI”
    [34] Enterprise DDS,”Adlinktech”
    [35] Object Management Group (OMG), “DDSI-RTPS-V2.2”
    [36] Object Management Group (OMG), “DDSI-RTPS-V2.3”
    [37] Real-Time Innovations (RTI),”Reduce Risk Through Performance and Availability”
    [38] C. Esposito, S. Russo and D. Di Crescenzo, "Performance assessment of OMG compliant data distribution middleware", Proc. IEEE IPDPS, 2008.
    [39] Dave Seltz, March 29, 2018, “When is Open Source the Right Solution? Open DDS vs RTI DDS”
    [40] Real-Time Innovations (RTI),” Comprehensive Summary of QoS Policies”
    [41] Object Management Group (OMG), “Updated Data Distribution Service Final Adopted specification”
    [42] Real-Time Innovations (RTI),” RTI Connext DDS API Reference”
    [43] Object Management Group (OMG), “IDL”
    [44] Real-Time Innovations (RTI),” RTI Connext DDS Secure”

    QR CODE