| 研究生: |
吳哲宇 Wu, Che-Yu |
|---|---|
| 論文名稱: |
基於MQTT協定之具安全性工廠環境監測警示系統設計與實現 Design and Implementation of Factory Environment Monitoring and Warning System With Security Based on MQTT Protocol |
| 指導教授: |
廖德祿
Liao, Teh-Lu |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 工程科學系碩士在職專班 Department of Engineering Science (on the job class) |
| 論文出版年: | 2022 |
| 畢業學年度: | 110 |
| 語文別: | 中文 |
| 論文頁數: | 54 |
| 中文關鍵詞: | 物聯網 、MQTT 、資訊安全 、雲端服務 |
| 外文關鍵詞: | Internet Of Thing, MQTT, Security, SPI Mode |
| 相關次數: | 點閱:141 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著物聯網的興起,各行各業的製造商,透過佈署 NodeMCU 於產線或設備上, 形成一個物聯網的架構,進行即時的數據監測,藉此提高產品的良率。然而,近幾年 來,極端氣候的演變越來越劇烈,受到聖嬰現象引起的火災、水災等等事件越來越頻 繁,為了避免此因素,導致存放原物料、半成品或成品的區域遭受異常溫溼度的影響, 以及周圍管線軟化、破損的情況,開始建置環境監測的系統;在傳統型的環境監測系 統,大多採用硬體架構為主進行建置,每建置一個區域的環境監測,需花費高額的費 用且不易變動監測點。因此,本研究提出一個能結合既有監測設備的系統,以及使用 Arduino 單晶片微處理器,搭配溫溼度感測器,藉此降低建置成本,並導入加密演算 法,讓端點設備與伺服器間的資訊傳遞,皆為密文,防止傳輸過中,封包被攔截導致 資訊外流,建構一個具備安全性的物聯網架構。
本研究所使用的終端設備是 ESP32-DevKitC,搭配 DHT22 溫溼度感測器,取得 周遭環境的數據,並且將數據進行 AES(Advanced Encryption Standard,簡稱 AES) 加密後,經由 MQTT(Message Queuing Telemetry Transport 簡稱 MQTT)協定將資 料傳輸至雲端服務,並採用 Docker 技術建置環境監測系統,搭配 Line Notify 的機 制,發送異常警訊通知,實現具備資訊安全、遠端監看和即時通報的目的。
Internet of thing (IOT) has been widely used to monitor environment data from production line in the manufacturing factories and further to improve yield rate in these factories. In the last few years, the El Nino triggered floods, fire etc. natural disasters make raw material, semi-finished product and final product be affected in environment of abnormal temperature and humidity. Therefore, manufacturers deploy a monitoring system around the factory environment. In the design of traditional systems are based on hardware architecture, it needs a lot of money to build, and it is not easy to change monitoring position. This research builds a low-cost system that uses Arduino single-chip microprocessors with sensors and integrates the existing monitoring equipment.
This research uses the end- equipment ESP32-DevKitC and DHT22, that collect environment data and then encrypted the collected data with Advanced Encryption Standard (AES) cipher to obtain the ciphertext. Then, the ciphertext is sent to the cloud sever for application services. The Docker technology is applied to deploy the monitoring and warning system on cloud service, when the system gets warning data, it will send message to conservator by Line Notify. The proposed system implements the remote-monitoring, information security and immediate notification function.
[1] Work Group I 。 AR6 Climate Change : The Physical Science Basis 。 Intergovernmental Panel on Climate Change,2021.08。
[2] 科技部、中央研究院環境變遷研究中心、交通部中央氣象局、臺灣師範大學地 球科學系、國家災害防救科技中心。IPCC 氣候變遷第六次評估報告之科學重點 摘錄與臺灣氣候變遷評析更新報告。臺灣氣候變遷推估資訊與調適知識平台, 2021.08。
[3] 行政院衛生署。藥物製造工廠設廠標準。食品藥物管理署,2013.07。
[4] 行政院衛生署。西藥藥品優良製造規範(第一部)。食品藥物管理署,2018.07。
[5] Microsoft Docs 。 Describe different cloud services 。 取 自 :
https://docs.microsoft.com/EN-US/learn/modules/fundamental-azure-concepts/categories-of-cloud-services。
[6] Milica Lekić, Gordana Gardašević, “IoT sensor integration to Node-RED platform”, 2018 17th International Symposium INFOTEH-JAHORINA (INFOTEH), Apr. 2018。
[7] Docker Documents 。 Overview 。 取 自 : https://docs.docker.com/get-started/overview/。
[8] Apache。APACHE LICENSES。取自:https://www.apache.org/licenses/。
[9] Docker About 。 what-container 。 取 自 : https://www.docker.com/resources/what-container/。
[10] 呂政勳。建置基於mqtt協議之低耦合叢集式推播系統。國立成功大學工程科學系碩士論文,2018.07。
[11] Espressif 。 ESP32-DevKitC V4 Getting Started Guide 。 取 自 : https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html。
[12] DHT22 。 Technical Specification 。 取 自 :https://cdn-shop.adafruit.com/datasheets/Digital+humidity+and+temperature+sensor+AM2302.pdf。
[13] Andrew Banks, Rahul Gupta, “MQTT Version 3.1.1” OASIS Standard, Oct. 2014。
[14] Fauzan Budi Setiawan, Magfirawaty, “Securing Data Communication Through
MQTT Protocol with AES-256 Encryption Algorithm CBC Mode on ESP32-Based Smart Homes”, 2021 International Conference on Computer System, Information Technology, and Electrical Engineering (COSITE), Dec. 2021。
[15] Federal Information Processing Standards 。 Announcingthe ADVANCED ENCRYPTIONSTANDARD (AES)。2001.11。
[16] 陳威豪。AES加解密設計及其FPGA實現。國立台灣科技大學電機工程系碩士 論文,2015.07。
[17] Ohkura NA8100 無紙式記錄器。產品資訊。取自: http://www.aixtech.com.tw/?8,ohkura-na8100-%E7%84%A1%E7%B4%99%E5%B C%8F%E8%A8%98%E9%8C%84%E5%99%A8。
[18] AhmadFali Oklilas, Rido Zulfahmi, Ermatita, Andika Putra Jaya, “Temperature Monitoring System Based on Protocol Message Queue Telemetry Transport (MQTT)”, 2019 International Conference on Informatics, Multimedia, Cyber and Information System (ICIMCIS), Feb. 2020。
[19] Canalys。Global cloud services spend exceeds US$50 billion in Q4 2021。取自: https://www.canalys.com/newsroom/global-cloud-services-Q4-2021。
[20] Biswajeeban Mishra, Attila Kertesz, “The Use of MQTT in M2M and IoT Systems: A Survey”, IEEE Access, vol. 8, pp. 201071 - 201086, Nov. 2020。
[21] Docker Hub。eclipse-mosquitto。取自:https://hub.docker.com/_/eclipse-mosquitto。
[22] Docker Hub。nodered/node-red。取自:https://hub.docker.com/r/nodered/node-red。
[23] Somphop Chanthakit, Choopan Rattanapoka. “MQTT Based Air Quality Monitoring
System using Node MCU and Node-RED”, 2018 Seventh ICT International Student Project Conference (ICT-ISPC), Nov. 2018。
[24] Ravi Kishore Kodali, Sasweth C. Rajanarayanan, Lakshmi Boppana, Samradh Sharma, Ankit Kumar, “Low Cost Smart Home Automation System using Smart Phone”, 2019 IEEE R10 Humanitarian Technology Conference (R10-HTC), Nov. 2019。
[25] Docker Docs。Reference documentation。取自:https://docs.docker.com/reference/。
[26] mosquitto Configures 。 mosquitto.conf manpage 。 取 自 : https://mosquitto.org/man/mosquitto-conf-5.html。
[27] Node-RED Documents。User Guide。取自:https://nodered.org/docs/user-guide/。
[28] 虛 擬 私 人 雲 端 。 虛 擬 私 人 雲 端 定 價 。 取 自 : https://cloud.google.com/vpc/pricing?hl=zh-tw。