跳到主要內容

簡易檢索 / 詳目顯示

研究生: 邱柏鈞
Po-Chun Chiu
論文名稱: 基於DDS通訊協定之QoS驗證與優化模擬系統
An emulation system for DDS QoS validation and performance optimization
指導教授: 王尉任
Wei-Jen Wang
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 資訊工程學系
Department of Computer Science & Information Engineering
論文出版年: 2020
畢業學年度: 108
語文別: 中文
論文頁數: 101
中文關鍵詞: 物聯網DDSQoS 策略驗證QoS 策略優化模擬系統
外文關鍵詞: IOT, DDS, QoS validation, QoS recommendations, emulation platform
相關次數: 點閱:12下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   隨著工業物聯網技術的興起,在大型物聯網系統中,傳統點對點 (Point-to-Point) 的網路傳輸容易讓系統變成複雜的結構體系。因此,使用 Publishe/Subscribe 的通訊架構能夠減少系統的複雜度,而且易於設計與維護龐大的物聯網系統。Object Management Group (OMG) 提出基於 Publishe/Subscribe 通訊架構的 Data Distribution Serivce (DDS) 標準,它提供豐富的 QoS 策略,能夠針對不同情境的系統進行配置。但是由於 QoS 策略的複雜性導致容易錯誤地調整其參數,造成設備無法正常通訊的情況,也無法容易地調校系統的效能。
      故本研究為基於 DDS 通訊協定提出一套模擬平台,為了降低調校 QoS 策略的門檻,該平台能夠藉由一個基於 YAML 的 DDS 系統描述語言設定通訊架構,並且驗證 QoS 策略的一致性與相容性同時降低設定 QoS 策略錯誤的機率。此外,基於 DDS模擬的效能報告,提供效能 Reliability 與 Timeliness 的 QoS 策略優化建議,藉此提升 DDS 系統的效能。


    With the rise of industrial Internet of Things technology, in large-scale Internet of Things systems, traditional point-to-point network transmission is easy to make the system into a complex relationship. Therefore, using the publisher/subscriber communication architecture can reduce the complexity of the system, and it is easy to design and maintain a huge IoT system. Object Management Group (OMG) proposes the Data Distribution Serivce (DDS) standard based on the publish/subscribe communication architecture, which provides rich QoS policies and can be configured for systems in different scenarios. However, due to the complexity of the QoS policy, it is easy to adjust its parameters incorrectly, resulting in the situation that the device cannot communicate normally, and the performance of the system cannot be easily adjusted.
    Therefore, this study proposes an emulation platform based on the DDS communication protocol. In order to lower the threshold for tuning QoS policies, the platform can set the communication architecture through a YAML-based DDS system description and verify the consistency and compatibility of QoS policies. At the same time reduce the probability of setting QoS policy error. In addition, based on the performance report of DDS emulation, it provides recommendations for QoS policies optimization of performance Reliability and Timeliness, thereby improving the performance of the DDS system.

    摘要 i Abstract ii 目錄 iii 圖目錄 vi 表目錄 viii 一、 緒論 1 1-1. 研究背景 1 1-2. 背景知識 2 1-2-1. Data Distribution Service 2 1-2-2. Publish/Subscribe 2 1-2-3. Quality of Service (QoS) 3 1-2-4. Reliability 與 Timeliness 問題 4 1-3. 研究動機與目標 5 1-4. 論文架構 6 二、 系統設計 7 2-1. DDS System Abstract Language 7 2-1-1. YAML 8 2-1-2. DSAL 9 2-1-3. 定義 QoS 策略 9 2-1-4. 定義 DDS 實體 10 2-1-5. 定義 DDS 通訊架構 11 2-2. DDS 通訊架構視覺化 13 2-2-1. Canvas 13 2-2-2. 視覺化 Topic 13 2-2-3. 視覺化 Device 14 2-2-4. 視覺化 Publisher 14 2-2-5. 視覺化 Subscriber 14 2-2-6. 視覺化 Data Writer 15 2-2-7. 視覺化 Data Reader 15 2-3. DDS Eulation 設計 16 2-3-1. Master-slave 架構 16 2-3-2. Emulation 狀態 16 2-3-3. Redis 17 2-3-4. Redis 資料表 18 2-3-5. Emulation 運行設計 19 2-3-6. 管理 Emulation 任務 20 2-4. Emulation 效能報告 20 2-4-1. Emulation 運行報告 21 2-4-2. 運行報告整合實作 24 2-5. QoS 策略建議 26 三、 實驗與結果 29 3-1. 系統概觀 29 3-1-1. DSAL 管理模組 29 3-1-2. Emulation 管理模組 33 3-1-3. Emulation 效能報告管理模組 35 3-1-4. QoS 策略建議模組 36 3-2. QoS 一致性驗證 37 3-2-1. 驗證 Durability Service QoS 37 3-2-2. 驗證 Lifespan QoS 38 3-2-3. 驗證 Resource Limits QoS 39 3-2-4. 驗證 Resource Limits, History QoS 39 3-2-5. 驗證 Time Based Filter, Deadline QoS 40 3-3. QoS 相容性驗證 41 3-3-1. 驗證 Deadline QoS 41 3-3-2. 驗證 Destination Order QoS 42 3-3-3. 驗證 Durability QoS 43 3-3-4. 驗證 Latency Budget QoS 44 3-3-5. 驗證 Liveliness QoS 45 3-3-6. 驗證 Ownership QoS 46 3-3-7. 驗證 Presentation QoS 47 3-3-8. 驗證 Reliability QoS 48 3-4. 基於 QoS 的效能優化實驗 49 3-4-1. 實驗環境與佈署 49 3-4-2. 實驗一 49 3-4-3. 實驗二 50 3-4-4. 實驗三 52 四、 相關研究 54 五、 結論與未來研究方向 55 六、 參考資料 56

    [1] T. Guesmi, R. Rekik, S. Hasnaoui, and H. Rezig, “Design and Performance of DDS-based Middleware for Real- Time Control Systems,” p. 13, 2007.
    [2] J. Yang, K. Sandstrom, T. Nolte, and M. Behnam, “Data Distribution Service for industrial automation,” in Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012), Krakow, Poland, Sep. 2012, pp. 1–8, doi: 10.1109/ETFA.2012.6489544.
    [3] G. Pardo-Castellote, “OMG Data-Distribution Service: architectural overview,” in 23rd International Conference on Distributed Computing Systems Workshops, 2003. Proceedings., May 2003, pp. 200–206, doi: 10.1109/ICDCSW.2003.1203555.
    [4] M. Pradhan, F. Gokgoz, N. Bau, and D. Ota, “Approach towards application of commercial off-the-shelf Internet of Things devices in the military domain,” in 2016 IEEE 3rd World Forum on Internet of Things (WF-IoT), Reston, VA, USA, Dec. 2016, pp. 245–250, doi: 10.1109/WF-IoT.2016.7845516.
    [5] B. Tekinerdogan, Ö. Köksal, and T. Çelik, “Data Distribution Service-Based Architecture Design for the Internet of Things Systems,” in Connected Environments for the Internet of Things: Challenges and Solutions, Z. Mahmood, Ed. Cham: Springer International Publishing, 2017, pp. 269–285.
    [6] “Vortex Data Distribution Service | DDS.” https://www.adlinktech.com/en/data-distribution-service.
    [7] “RTI | DDS.” https://www.rti.com/.
    [8] Y. Huang and H. Garcia-Molina, “Publish/Subscribe in a Mobile Environment,” Wirel. Netw., vol. 10, no. 6, pp. 643–652, Nov. 2004, doi: 10.1023/B:WINE.0000044025.64654.65.
    [9] A. Corsaro, L. Querzoni, S. Scipioni, S. T. Piergiovanni, and A. Virgillito, “Quality of Service in Publish/Subscribe Middleware,” p. 20.
    [10] Pratomo Adinegoro, “Optimizing Data Reliability and Data Timeliness on DDS based System Using QoS Policy Setting with Resource Constraint,” National Central University, 2020.
    [11] S.-C. LIN, “QoS Configuration Validation and System Emulation for IoT Systems based on Data Distribution Service Protocol.pdf,” National Central University, 2019.
    [12] B.-K. Oren, E. Clark, and döt N. Ingy, “YAML Ain’t Markup Language (YAMLTM).pdf.” Oct. 2009, [Online]. Available: https://yaml.org/spec/cvs/spec.pdf.
    [13] X. Li and Z. Bao, “Performance Characterization of Web Applications with HTML5 Enhancements,” in 2014 IEEE 12th International Conference on Dependable, Autonomic and Secure Computing, Dalian, China, Aug. 2014, pp. 252–258, doi: 10.1109/DASC.2014.52.
    [14] “Redis.” https://redis.io/.
    [15] Chang-Wen, Zhang, “Emulating IoT Applications based on Data Distribution Service Protocol,” National Central University, 2018.
    [16] K. Karenos, W. D. Pauw, and H. Lei, “A Topic-Based Visualization Tool for Distributed Publish/Subscribe Messaging,” in 2011 IEEE/IPSJ International Symposium on Applications and the Internet, Munich, Germany, Jul. 2011, pp. 65–74, doi: 10.1109/SAINT.2011.19.
    [17] J. Hoffert, D. Schmidt, and A. Gokhale, “DQML: A Modeling Language for Configuring Distributed Publish/Subscribe Quality of Service Policies,” in On the Move to Meaningful Internet Systems: OTM 2008, Berlin, Heidelberg, 2008, pp. 515–534.
    [18] A. Ledeczi et al., “The Generic Modeling Environment,” p. 7.
    [19] J. F. Ingles-Romero, A. Romero-Garces, C. Vicente-Chicote, and J. Martinez, “A Model-Driven Approach to Enable Adaptive QoS in DDS-Based Middleware,” IEEE Trans. Emerg. Top. Comput. Intell., vol. 1, no. 3, pp. 176–187, Jun. 2017, doi: 10.1109/TETCI.2017.2669187.

    QR CODE
    :::