English  |  正體中文  |  简体中文  |  Post-Print筆數 : 27 |  Items with full text/Total items : 113318/144297 (79%)
Visitors : 51100147      Online Users : 942
RC Version 6.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version
    政大機構典藏 > 資訊學院 > 資訊科學系 > 學位論文 >  Item 140.119/141639
    Please use this identifier to cite or link to this item: https://nccur.lib.nccu.edu.tw/handle/140.119/141639


    Title: MQTT端點到端點間的訊息確保送達機制
    An End-to-End Exactly-Once Message Delivery Extension for MQTT
    Authors: 廖宇凡
    Liao, Yu-Fan
    Contributors: 廖峻鋒
    Liao, Chun-Feng
    廖宇凡
    Liao, Yu-Fan
    Keywords: 物聯網
    MQTT
    服務品質
    Internet of Things
    MQTT
    QoS
    Date: 2022
    Issue Date: 2022-09-02 15:05:06 (UTC+8)
    Abstract: 近年來物聯網相關技術快速發展,硬體成本不斷的降低,大量感測器(Sensors)與致動器(Actautors)在生活中被使用,這些感測器能將環境中的相關資訊透過較輕量的傳輸協定發送到擁有足夠運算能力的主機,再藉由主機中的邏輯去推動制動器做相應的動作或是通知使用者關切的訊息。其中, MQTT(Message Queuing Telemetry Transport)協定是目前被廣泛使用的物聯網通訊協定。目前 MQTT 雖然能提供 QoS (Quality of Service) 依照使用情境動態調整訊息傳送品質以增進效能。其中, QoS-1雖可確保訊息送達,然而訊息可能重覆傳送,而QoS-2 能做到保證訊息送達恰好一次。但QoS-2的保證送達語意容易造成開發人員誤解,因為其保證送達僅限於端點與Broker之間的傳輸,但開發人員通常預期為端點至端點的傳輸,有鑑於此,本研究提出QoS-2的改進機制,在與MQTT5.0 規格相容的前提下,設計端點到端點的確保送達機制,並讓發送端與接收端能夠以自身需求配置參數,達到更有效率的溝通,並實作一個合規的MQTT Broker 來驗證正確性,最後也將透過一系列的效能實驗檢驗此設計所產生的效能影響。
    With the reduction of hardware production costs in recent years, the influence of IoT and related technologies is expanding rapidly. In an IoT-enabled smart environment, a considerable amount of sensors and actuators are utilized in everyday lives. The sensors take advantage of specialized protocols, which transport information to edge servers. The edge server then performs corresponding actions or notifies the user through messages based on the received data. Among the specialized transportation protocols, MQTT (Message Queuing Telemetry Transport) is one of the most widely utilized protocols. MQTT provides Quality of Service (QoS), which dynamically adjusts the quality of the message to enhance performance. QoS-1 ensures that message is delivered at least once at the cost of duplicating messages. As QoS-2 guarantees, the message is received only once by the recipient. However, the promise of QoS-2 can be misleading to developers; since the assurance is limited to the scope of node-broker, not node-broker-node (end-to-end). Based on this observation, this thesis aims to investigate enhancement strategies to realize end-to-end guarantee delivery; with the compatibility of MQTT 5.0. The proposed design is flexible in that both the receiver and sender can customize the transportation quality based on their needs in a non-invasive way and is compatible with other MQTT clients at the same time. A prototype of the enhanced MQTT broker is implemented to verify the functions of the proposed enhancement. Finally, a series of experiments are conducted to investigate the performance of the design.
    Reference: [1] J. Gubbi, R. Buyya, S. Marusic, and M. Palaniswami, "Internet of Things (IoT): A vision, architectural elements, and future directions," ArXiv, vol. abs/1207.0203, 2013.
    [2] M. B. Yassein and M. Q. Shatnawi, "Application layer protocols for the Internet of Things: A survey," in 2016 International Conference on Engineering & MIS (ICEMIS), 2016: IEEE, pp. 1-4.
    [3] R. J. Cohn, R. Coppen, A. Banks, and R. Gupta, "MQTT version 3.1," ed, 2014.
    [4] Z. Shelby, K. Hartke, and C. Bormann, "The constrained application protocol (CoAP)," 2070-1721, 2014.
    [5] S. Vinoski, "Advanced message queuing protocol," IEEE Internet Computing, vol. 10, no. 6, pp. 87-89, 2006.
    [6] G. Pardo-Castellote, "Omg data-distribution service: Architectural overview," in 23rd International Conference on Distributed Computing Systems Workshops, 2003. Proceedings., 2003: IEEE, pp. 200-206.
    [7] D. Thangavel, X. Ma, A. Valera, H.-X. Tan, and C. K.-Y. Tan, "Performance evaluation of MQTT and CoAP via a common middleware," in 2014 IEEE ninth international conference on intelligent sensors, sensor networks and information processing (ISSNIP), 2014: IEEE, pp. 1-6.
    [8] J. E. Luzuriaga, M. Perez, P. Boronat, J. C. Cano, C. Calafate, and P. Manzoni, "A comparative evaluation of AMQP and MQTT protocols over unstable and mobile networks," in 2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC), 2015: IEEE, pp. 931-936.
    [9] C. Zhou and X. Zhang, "Toward the Internet of Things application and management: A practical approach," in Proceeding of IEEE International Symposium on a World of Wireless, Mobile and Multimedia Networks 2014, 2014: IEEE, pp. 1-6.
    [10] O. Standard, "MQTT Version 5.0," Retrieved June, vol. 22, p. 2020, 2019.
    [11] R. K. Kodali and K. S. Mahesh, "A low cost implementation of MQTT using ESP8266," in 2016 2nd International Conference on Contemporary Computing and Informatics (IC3I), 2016: IEEE, pp. 404-408.
    [12] R. K. Kodali, "An implementation of MQTT using CC3200," in 2016 International Conference on Control, Instrumentation, Communication and Computational Technologies (ICCICCT), 2016: IEEE, pp. 582-587.
    [13] W. Pipatsakulroj, V. Visoottiviseth, and R. Takano, "muMQ: A lightweight and scalable MQTT broker," in 2017 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN), 2017: IEEE, pp. 1-6.
    [14] M. Singh, M. Rajan, V. Shivraj, and P. Balamuralidhar, "Secure mqtt for internet of things (iot)," in 2015 fifth international conference on communication systems and network technologies, 2015: IEEE, pp. 746-751.
    [15] P. Bellavista and A. Zanni, "Towards better scalability for IoT-cloud interactions via combined exploitation of MQTT and CoAP," in 2016 IEEE 2nd International Forum on Research and Technologies for Society and Industry Leveraging a better tomorrow (RTSI), 2016: IEEE, pp. 1-6.
    [16] H.-C. Jo and H.-W. Jin, "Adaptive periodic communication over MQTT for large-scale cyber-physical systems," in 2015 IEEE 3rd International Conference on Cyber-Physical Systems, Networks, and Applications, 2015: IEEE, pp. 66-69.
    [17] R. Banno, J. Sun, M. Fujita, S. Takeuchi, and K. Shudo, "Dissemination of edge-heavy data on heterogeneous MQTT brokers," in 2017 IEEE 6th International Conference on Cloud Networking (CloudNet), 2017: IEEE, pp. 1-7.
    [18] X. Wu and N. Li, "Improvements of MQTT Retain Message Storage Mechanism," in 2018 2nd IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), 2018: IEEE, pp. 957-961.
    [19] N. Tantitharanukul, K. Osathanunkul, K. Hantrakul, P. Pramokchon, and P. Khoenkaw, "MQTT-topics management system for sharing of open data," in 2017 International Conference on Digital Arts, Media and Technology (ICDAMT), 2017: IEEE, pp. 62-65.
    [20] M. Iglesias-Urkia, A. Orive, M. Barcelo, A. Moran, J. Bilbao, and A. Urbieta, "Towards a lightweight protocol for Industry 4.0: An implementation based benchmark," in 2017 IEEE International Workshop of Electronics, Control, Measurement, Signals and their Application to Mechatronics (ECMSM), 2017: IEEE, pp. 1-6.
    [21] R. Bryce, T. Shaw, and G. Srivastava, "Mqtt-g: A publish/subscribe protocol with geolocation," in 2018 41st international conference on telecommunications and signal processing (TSP), 2018: IEEE, pp. 1-4.
    [22] D. Happ and A. Wolisz, "Limitations of the Pub/Sub pattern for cloud based IoT and their implications," in 2016 Cloudification of the Internet of Things (CIoT), 2016: IEEE, pp. 1-6.
    [23] R. Giambona, A. E. Redondi, and M. Cesana, "MQTT+ Enhanced Syntax and Broker Functionalities for Data Filtering, Processing and Aggregation," in Proceedings of the 14th ACM International Symposium on QoS and Security for Wireless and Mobile Networks, 2018, pp. 77-84.
    [24] C.-F. Liao and P.-Y. Chen, "ROSA: Resource-Oriented service management schemes for web of things in a smart home," Sensors, vol. 17, no. 10, p. 2159, 2017.
    Description: 碩士
    國立政治大學
    資訊科學系
    107753014
    Source URI: http://thesis.lib.nccu.edu.tw/record/#G0107753014
    Data Type: thesis
    DOI: 10.6814/NCCU202201378
    Appears in Collections:[資訊科學系] 學位論文

    Files in This Item:

    File Description SizeFormat
    301401.pdf3653KbAdobe PDF20View/Open


    All items in 政大典藏 are protected by copyright, with all rights reserved.


    社群 sharing

    著作權政策宣告 Copyright Announcement
    1.本網站之數位內容為國立政治大學所收錄之機構典藏,無償提供學術研究與公眾教育等公益性使用,惟仍請適度,合理使用本網站之內容,以尊重著作權人之權益。商業上之利用,則請先取得著作權人之授權。
    The digital content of this website is part of National Chengchi University Institutional Repository. It provides free access to academic research and public education for non-commercial use. Please utilize it in a proper and reasonable manner and respect the rights of copyright owners. For commercial use, please obtain authorization from the copyright owner in advance.

    2.本網站之製作,已盡力防止侵害著作權人之權益,如仍發現本網站之數位內容有侵害著作權人權益情事者,請權利人通知本網站維護人員(nccur@nccu.edu.tw),維護人員將立即採取移除該數位著作等補救措施。
    NCCU Institutional Repository is made to protect the interests of copyright owners. If you believe that any material on the website infringes copyright, please contact our staff(nccur@nccu.edu.tw). We will remove the work from the repository and investigate your claim.
    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - Feedback