在 IoTtalk ControlBoard v2 中優化性能並開發多感測器功能
Optimizing Performance and Developing Multi-Sensor Functionality in IoTtalk ControlBoard v2
摘要
近年來物聯網發展迅速且在各個領域中有越來越廣泛的應用,例如AgriTalk在智慧農業中的應用,讓使用者可以自動管理各項裝置。我們在過去曾經提出一個基於IoTtalk開發並由網頁應用程式實作的雲端自動決策系統 — IoTtalk ControlBoard。使用者可以透過電腦或是行動裝置以網頁的方式快速設定裝置的開啟與關閉條件。
基於過往的ControlBoard,本碩論提出了多項改進。ControlBoard v2擴展了其在感測器上的功能,讓使用者能夠透過網頁設定各項感測器達到開或者關條件的數值,並且可以將多個感測器條件做對應設定的邏輯判斷,以達成更精確和靈活的遙控能力。在提升功能的同時,我們也專注於優化系統的響應時間。經過實驗測試,新系統的響應時間已經大幅降低,例如在使用MQTT協議下的手動開關功能,平均響應時間從ControlBoard v1的1981.99毫秒縮短到ControlBoard v2的77.62毫秒,改善了近二十五倍。同時,新系統在功能上也更為豐富,並且更加符合實際應用的可能性。
基於過往的ControlBoard,本碩論提出了多項改進。ControlBoard v2擴展了其在感測器上的功能,讓使用者能夠透過網頁設定各項感測器達到開或者關條件的數值,並且可以將多個感測器條件做對應設定的邏輯判斷,以達成更精確和靈活的遙控能力。在提升功能的同時,我們也專注於優化系統的響應時間。經過實驗測試,新系統的響應時間已經大幅降低,例如在使用MQTT協議下的手動開關功能,平均響應時間從ControlBoard v1的1981.99毫秒縮短到ControlBoard v2的77.62毫秒,改善了近二十五倍。同時,新系統在功能上也更為豐富,並且更加符合實際應用的可能性。
In recent years, the rapid development and increasingly widespread application of the Internet of Things (IoT) in various fields is evident, such as the utilization of AgriTalk in smart agriculture, allowing users to automatically manage various devices. We have previously proposed a cloud-based automatic decision system implemented by a web application, the IoTtalk ControlBoard, developed based on IoTtalk. Users can swiftly configure the conditions for turning devices on and off through a web page via computers or mobile devices.
Building upon the past ControlBoard, this thesis introduces several improvements. ControlBoard v2 extends its functionality with sensors, allowing users to set the on or off conditions for each sensor via the web and to establish corresponding logical judgments based on multiple sensor conditions, thereby achieving more accurate and flexible remote control capabilities. While enhancing the functionality, we also focus on optimizing the system's response time. After experimental testing, the new system's response time has significantly reduced. For example, the average response time of the manual switch function under the MQTT protocol has been shortened from 1981.99 milliseconds in ControlBoard v1 to 77.62 milliseconds in ControlBoard v2, an improvement of nearly twenty-five times. Simultaneously, the new system is richer in features and more aligned with the potential for practical application.
Building upon the past ControlBoard, this thesis introduces several improvements. ControlBoard v2 extends its functionality with sensors, allowing users to set the on or off conditions for each sensor via the web and to establish corresponding logical judgments based on multiple sensor conditions, thereby achieving more accurate and flexible remote control capabilities. While enhancing the functionality, we also focus on optimizing the system's response time. After experimental testing, the new system's response time has significantly reduced. For example, the average response time of the manual switch function under the MQTT protocol has been shortened from 1981.99 milliseconds in ControlBoard v1 to 77.62 milliseconds in ControlBoard v2, an improvement of nearly twenty-five times. Simultaneously, the new system is richer in features and more aligned with the potential for practical application.