Publications-Theses

Article View/Open

Publication Export

Google ScholarTM

NCCU Library

Citation Infomation

Related Publications in TAIR

題名 適用於數位互動藝術的聚合式BLE-MQTT閘道設計
An Aggregating BLE-MQTT Gateway for Digital Interactive Art
作者 盧威辰
貢獻者 廖峻鋒
盧威辰
關鍵詞 數位互動藝術
BLE
MQTT
聚合式訊息閘道
Digital interactive art
BLE
MQTT
Aggregating gateway
日期 2017
上傳時間 10-Aug-2017 09:58:53 (UTC+8)
摘要 數位互動藝術展演是一種典型的物聯網環境,在這種環境中,舞台和表演者身上經常佈署許多微小感測裝置,這些感測裝置經常透過低功率藍芽(BLE, Bluetooth low energy)做為通訊媒介。隨著藝術表演中使用裝置數量的增加,裝置彼此之間溝通變得更為複雜,也會變得更難管理,尤其訊息在傳送過程中遺失或裝置失效時,開發人員必須花費極大心力尋找錯誤。物聯網應用開發經常使用MQTT(Message Queuing Telemetry Transport)中介軟體進行訊息傳遞與整合,MQTT利用發佈(Publish)與訂閱(Subscribe)架構降低訊息傳遞的複雜度,並提供服務品質(Quality of Service, QoS)、遺囑(Last Will)的保障機制。然而,MQTT主要基於TCP/IP設計,目前無法直接與BLE設備整合,因此本研究提出一個聚合式BLE-MQTT閘道設計,讓BLE裝置能夠如同MQTT Client一般與MQTT Broker進行溝通,且能夠擁有MQTT Client的publish、subscribe功能並也得到QoS、Last will等保障機制,藉以降低開發人員對裝置除錯與管理的負擔。
Digital interactive art is a typical type of IoT system. Usually, there are many sensors deployed on the stage and worn by performers. One popular protocol for implementing intercommunication of sensors in digital interactive art systems is Bluetooth Low Energy (BLE). As the number of sensors used in show increased, the interactions among devices and sensors are getting more complex and thus become harder to manage. Especially when messages lost or sensor fault, the developer must spend a great effort to find the errors. We can use the Publish-Subscribe communication style in MQTT to reduce the complexity of message delivery. Moreover, MQTT provides QoS functionalities. Also, the "Last Will" guarantees that all faults of sensors can be observed and the system can then downgrade gracefully. However, there lacks an efficient and transparent approach for combining MQTT and BLE traffic. Therefore, this paper proposes the design and implementation of an efficient and easy to use BLE-MQTT gateway. The gateway facilitates BLE devices communicate with the MQTT Server as if they are MQTT clients. Also, the QoS and Last Will functions of MQTT are bridged transparently. With this gateway, the developers can largely decrease the burden of debugging and managing the traffic between MQTT and BLE.
參考文獻 H. Huang, H.-C. Huang, C.-F. Liao, Y.-C. Li, T.-C. Tsai, L.-j. Teng, and S. W. Wang, “Future circus: a performer-guided mixed-reality performance art,” in Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing and Proceedings of the 2015 ACM International Symposium on Wearable Computers. ACM, 2015, pp. 551-556.
     [2] Y. Kim and Y. Cho, “SIGCHI extended abstracts: gravity of light,” CHI EA `13, pp. 2967-2970, May. 2013.
     [3] MQ Telemetry Transport (MQTT), “V3.1 Protocol Specification,” 2014.
     [4] U. Hunkeler, H. L. Truong and A. Stanford-Clark, "MQTT-S — A publish/subscribe protocol for Wireless Sensor Networks," Communication Systems Software and Middleware and Workshops, 2008. COMSWARE 2008. 3rd International Conference on, Bangalore, 2008, pp. 791-798.
     [5] MQTT For Sensor Networks (MQTT-SN), “V1.2 Protocol Specification,” 2013.
     [6] Live motion capture at 2014 winter Olympic games closing ceremony, 2014, retrieved May 20, 2015 from https://www.xsens.com/customer-cases/live-motion-capture-2014-winter-olympic-games-closing-ceremony/.
     [7] C. F. Liao, W. C. Lu, K. Chen, Z. Grannan, W. C. Chang and Y. K. Hsiao, "Wise: A Wearable Platform for Performer-Guided Mixed-Reality Interactive Performance Art," 2016 International Conference on Platform Technology and Service (PlatCon), Jeju, 2016, pp. 1-6.
     [8] P. Dhar and P. Gupta, "Intelligent parking Cloud services based on IoT using MQTT protocol," 2016 International Conference on Automatic Control and Dynamic Optimization Techniques (ICACDOT), Pune, 2016, pp. 30-34.
     [9] D. H. Kang et al., "Room Temperature Control and Fire Alarm/Suppression IoT Service Using MQTT on AWS," 2017 International Conference on Platform Technology and Service (PlatCon), Busan, 2017, pp. 1-5.
     [10] D. Yi, F. Binwen, K. Xiaoming and M. Qianqian, "Design and implementation of mobile health monitoring system based on MQTT protocol," 2016 IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi`an, 2016, pp. 1679-1682.
     [11] C. R. Dow, S. Cheng and S. F. Hwang, "A MQTT-based guide and notification service system," 2016 IEEE 7th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, 2016, pp. 1-4.
     [12] E. Felemban, M. Murad, M.A. Manzoor, and A.A. Sheikh, “UniGate: Modular universal wireless gateway,” World Congress on Computer Applications and Information Systems, pp. 1-3, Jan. 2014.
     [13] M. Hawelikar and S. Tamhankar, “A design of Linux based ZigBee and Bluetooth low energy wireless gateway for remote parameter monitoring,” International Conference on Circuit, Power and Computing Technologies, Mar. 2015.
     [14] Zachariah, Thomas, et al. "The internet of things has a gateway problem," Proceedings of the 16th International Workshop on Mobile Computing Systems and Applications. ACM, 2015.
     [15] BLE (Bluetooth LE, Bluetooth Smart ) to WiFi IOT Gateway / Bridge - INGICS TECH- NOLOGY CO., retrieved May 2, 2017 from http:// ingics.en.taiwantrade.com/ product/ ble-bluetooth-le-bluetooth-smart-to-wifi-iot- gateway-bridge-790500.html
描述 碩士
國立政治大學
資訊科學學系
104753009
資料來源 http://thesis.lib.nccu.edu.tw/record/#G0104753009
資料類型 thesis
dc.contributor.advisor 廖峻鋒zh_TW
dc.contributor.author (Authors) 盧威辰zh_TW
dc.creator (作者) 盧威辰zh_TW
dc.date (日期) 2017en_US
dc.date.accessioned 10-Aug-2017 09:58:53 (UTC+8)-
dc.date.available 10-Aug-2017 09:58:53 (UTC+8)-
dc.date.issued (上傳時間) 10-Aug-2017 09:58:53 (UTC+8)-
dc.identifier (Other Identifiers) G0104753009en_US
dc.identifier.uri (URI) http://nccur.lib.nccu.edu.tw/handle/140.119/111786-
dc.description (描述) 碩士zh_TW
dc.description (描述) 國立政治大學zh_TW
dc.description (描述) 資訊科學學系zh_TW
dc.description (描述) 104753009zh_TW
dc.description.abstract (摘要) 數位互動藝術展演是一種典型的物聯網環境,在這種環境中,舞台和表演者身上經常佈署許多微小感測裝置,這些感測裝置經常透過低功率藍芽(BLE, Bluetooth low energy)做為通訊媒介。隨著藝術表演中使用裝置數量的增加,裝置彼此之間溝通變得更為複雜,也會變得更難管理,尤其訊息在傳送過程中遺失或裝置失效時,開發人員必須花費極大心力尋找錯誤。物聯網應用開發經常使用MQTT(Message Queuing Telemetry Transport)中介軟體進行訊息傳遞與整合,MQTT利用發佈(Publish)與訂閱(Subscribe)架構降低訊息傳遞的複雜度,並提供服務品質(Quality of Service, QoS)、遺囑(Last Will)的保障機制。然而,MQTT主要基於TCP/IP設計,目前無法直接與BLE設備整合,因此本研究提出一個聚合式BLE-MQTT閘道設計,讓BLE裝置能夠如同MQTT Client一般與MQTT Broker進行溝通,且能夠擁有MQTT Client的publish、subscribe功能並也得到QoS、Last will等保障機制,藉以降低開發人員對裝置除錯與管理的負擔。zh_TW
dc.description.abstract (摘要) Digital interactive art is a typical type of IoT system. Usually, there are many sensors deployed on the stage and worn by performers. One popular protocol for implementing intercommunication of sensors in digital interactive art systems is Bluetooth Low Energy (BLE). As the number of sensors used in show increased, the interactions among devices and sensors are getting more complex and thus become harder to manage. Especially when messages lost or sensor fault, the developer must spend a great effort to find the errors. We can use the Publish-Subscribe communication style in MQTT to reduce the complexity of message delivery. Moreover, MQTT provides QoS functionalities. Also, the "Last Will" guarantees that all faults of sensors can be observed and the system can then downgrade gracefully. However, there lacks an efficient and transparent approach for combining MQTT and BLE traffic. Therefore, this paper proposes the design and implementation of an efficient and easy to use BLE-MQTT gateway. The gateway facilitates BLE devices communicate with the MQTT Server as if they are MQTT clients. Also, the QoS and Last Will functions of MQTT are bridged transparently. With this gateway, the developers can largely decrease the burden of debugging and managing the traffic between MQTT and BLE.en_US
dc.description.tableofcontents 第1章 緒論 1
     第2章 技術背景與相關研究 6
     2.1技術背景 6
     2.1.1 MQTT(Message Queuing Telemetry Transport) 6
     2.1.2 BLE(Bluetooth Low Energy) 9
     2.2相關研究 9
     第3章 系統架構 13
     3.1系統初始化 19
     3.2訂閱(Subscribe) 19
     3.3發佈(Publish) 20
     3.4遺囑(Last will) 21
     第4章 系統設計 22
     4.1訊息類型編碼 22
     4.2定義訊息格式 23
     4.3與MQTT各功能的對應 24
     4.3.1訂閱(Subscribe) 24
     4.3.2發佈(Publish) 25
     4.3.3服務品質(Quality of Service, QoS) 26
     4.3.4遺囑(Last will) 28
     第5章 系統實作與系統評估 30
     5.1開發環境 30
     5.2系統實作 30
     5.2.1通訊功能 30
     5.2.2閘道功能 37
     5.3系統評估 41
     5.3.1系統應用範例 41
     5.3.2實驗設計 42
     第6章 結論與未來工作 47
     參考文獻 49
     附錄 52
     附錄一 相關發表著作 52
zh_TW
dc.source.uri (資料來源) http://thesis.lib.nccu.edu.tw/record/#G0104753009en_US
dc.subject (關鍵詞) 數位互動藝術zh_TW
dc.subject (關鍵詞) BLEzh_TW
dc.subject (關鍵詞) MQTTzh_TW
dc.subject (關鍵詞) 聚合式訊息閘道zh_TW
dc.subject (關鍵詞) Digital interactive arten_US
dc.subject (關鍵詞) BLEen_US
dc.subject (關鍵詞) MQTTen_US
dc.subject (關鍵詞) Aggregating gatewayen_US
dc.title (題名) 適用於數位互動藝術的聚合式BLE-MQTT閘道設計zh_TW
dc.title (題名) An Aggregating BLE-MQTT Gateway for Digital Interactive Arten_US
dc.type (資料類型) thesisen_US
dc.relation.reference (參考文獻) H. Huang, H.-C. Huang, C.-F. Liao, Y.-C. Li, T.-C. Tsai, L.-j. Teng, and S. W. Wang, “Future circus: a performer-guided mixed-reality performance art,” in Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing and Proceedings of the 2015 ACM International Symposium on Wearable Computers. ACM, 2015, pp. 551-556.
     [2] Y. Kim and Y. Cho, “SIGCHI extended abstracts: gravity of light,” CHI EA `13, pp. 2967-2970, May. 2013.
     [3] MQ Telemetry Transport (MQTT), “V3.1 Protocol Specification,” 2014.
     [4] U. Hunkeler, H. L. Truong and A. Stanford-Clark, "MQTT-S — A publish/subscribe protocol for Wireless Sensor Networks," Communication Systems Software and Middleware and Workshops, 2008. COMSWARE 2008. 3rd International Conference on, Bangalore, 2008, pp. 791-798.
     [5] MQTT For Sensor Networks (MQTT-SN), “V1.2 Protocol Specification,” 2013.
     [6] Live motion capture at 2014 winter Olympic games closing ceremony, 2014, retrieved May 20, 2015 from https://www.xsens.com/customer-cases/live-motion-capture-2014-winter-olympic-games-closing-ceremony/.
     [7] C. F. Liao, W. C. Lu, K. Chen, Z. Grannan, W. C. Chang and Y. K. Hsiao, "Wise: A Wearable Platform for Performer-Guided Mixed-Reality Interactive Performance Art," 2016 International Conference on Platform Technology and Service (PlatCon), Jeju, 2016, pp. 1-6.
     [8] P. Dhar and P. Gupta, "Intelligent parking Cloud services based on IoT using MQTT protocol," 2016 International Conference on Automatic Control and Dynamic Optimization Techniques (ICACDOT), Pune, 2016, pp. 30-34.
     [9] D. H. Kang et al., "Room Temperature Control and Fire Alarm/Suppression IoT Service Using MQTT on AWS," 2017 International Conference on Platform Technology and Service (PlatCon), Busan, 2017, pp. 1-5.
     [10] D. Yi, F. Binwen, K. Xiaoming and M. Qianqian, "Design and implementation of mobile health monitoring system based on MQTT protocol," 2016 IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi`an, 2016, pp. 1679-1682.
     [11] C. R. Dow, S. Cheng and S. F. Hwang, "A MQTT-based guide and notification service system," 2016 IEEE 7th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, 2016, pp. 1-4.
     [12] E. Felemban, M. Murad, M.A. Manzoor, and A.A. Sheikh, “UniGate: Modular universal wireless gateway,” World Congress on Computer Applications and Information Systems, pp. 1-3, Jan. 2014.
     [13] M. Hawelikar and S. Tamhankar, “A design of Linux based ZigBee and Bluetooth low energy wireless gateway for remote parameter monitoring,” International Conference on Circuit, Power and Computing Technologies, Mar. 2015.
     [14] Zachariah, Thomas, et al. "The internet of things has a gateway problem," Proceedings of the 16th International Workshop on Mobile Computing Systems and Applications. ACM, 2015.
     [15] BLE (Bluetooth LE, Bluetooth Smart ) to WiFi IOT Gateway / Bridge - INGICS TECH- NOLOGY CO., retrieved May 2, 2017 from http:// ingics.en.taiwantrade.com/ product/ ble-bluetooth-le-bluetooth-smart-to-wifi-iot- gateway-bridge-790500.html
zh_TW