隨著工業物聯網技術的成熟與興起,不同設備之間所使用的通訊協定也有了更多 的選擇。而當中 DDS 通訊協定有著強大的功能與豐富的 QoS 策略,透過調整 QoS 策 略能滿足不同的需求與環境。在實際佈署之前,可以先透過 DDS 通訊協定模擬平台測 試所選的 QoS 策略是否合適,然而,DDS 通訊協定的 QoS 策略多而複雜,容易出現 設定錯誤而造成設備之間無法通訊的情況。 故本研究為 DDS 通訊協定模擬平台提出一樣設定工具,它包含一個基於 YAML 的描述語言,用來將基於 DDS 通訊協定的物聯網架構中,設備之間不同的資料流、訊 息發布的頻率、訊息的大小,和 DDS 通訊協定中的各項 QoS 策略等複雜的因素,抽象 化成適合機器和人類閱讀的簡單文字檔案,以及一個 DDS 通訊協定 QoS 策略一致性和 相容性的驗證機制,保證描述語言中的各項 DDS 通訊協定 QoS 策略都是有效且一致 的,並且在本語言經過處理後,可以產生 DDS 模擬平台,IIoT Testbed 的設定檔,協 助執行 DDS 模擬。;With the maturity and rise of IIoT technology, there are more choices in the communication protocols used between different devices. Among of all, the DDS protocol has powerful functions and rich QoS policies and it can adjust different QoS policies to meet different needs and environments. Before the actual deployment, the DDS protocol emulation platform can be used to test whether the selected QoS policy is appropriate. However, the QoS policies of the DDS protocol is complex, and a user is prone to make mistakes when setting QoS policies. Those mistakes may block the communication between devices. Therefore, this thesis proposes a setting tool for the DDS protocol emulation platform. It contains a YAML-based abstract language which is used to abstract the complex factors such as different data flows, message publishing frequencies, message size and the various QoS policies in a IIoT architecture based on the DDS protocol into a simple and readable text document, and a QoS policies consistency and compatibility validation mechanism to ensure that the various QoS policies which was used in an abstract language file are valid and consistent. After being processed, the language can be convert to a configuration file of a DDS emulation platform, IIoT Testbed, and help people to emulate DDS communication.