VerificationTalk:物聯網應用之正確性驗證系統
VerificationTalk: Verification of IoT Applications
摘要
IoTtalk 等圖形化物聯網裝置管理平台的核心是圖形化的使用者介面(GUI),它可以簡單地描述物聯網裝置間的互動。物聯網應用程式能夠通過拖放裝置並指定它們間的資料流來建立。IoTtalk 還提供了接點函數的功能,可以針對在物聯網裝置間傳輸的數據進行一系列操作及運算。儘管 IoTtalk 提供開發物聯網應用的靈活性,但使用者的錯誤部署(像是連接一些不該有任何資料流的裝置,或是在接點函數上執行錯誤操作,進而影響資料傳輸的穩定性)可能會讓已開發的物聯網應用的可信賴性大打折扣。本篇論文提出了名為 VerificationTalk 的物聯網應用驗證系統,以防止使用者的部署錯誤。VerificationTalk 有兩個子系統:BigraphTalk 和 AFLtalk,分別負責驗證物聯網應用的配置和接點函數。VerificationTalk 還提供執行時即時監控器的機制,能夠及時發現異常資料。當 VerificationTalk 偵測到部署錯誤時,使用者可以使用它提供的回饋資訊進行校正。本篇論文的目的為展示使用者如何使用 VerificationTalk 所提供的驗證機制,以及 VerificationTalk 如何將驗證結果回饋給使用者。本篇論文還評估了 VerificationTalk 的效能,並根據實驗結果保證其效能突出。
At the heart of graphical IoT device management platforms, such as IoTtalk, is a graphical user interface (GUI), which makes it easy to describe interactions between IoT devices. IoT applications are defined by dragging-and-dropping devices and specifying how they are connected. IoTtalk also provides join functions, which can perform some operations on the data transmitted between IoT devices. While IoTtalk is flexible enough to develop a wide range of applications, it often allows too much flexibility, making users possible to connect some devices that should never be linked and perform wrong operations on join functions. We propose VerificationTalk, which provides a comprehensive verification procedure, to prevent users from inappropriate deployments. The VerificationTalk has two subsystems: BigraphTalk and AFLTalk, which are responsible for verifying configuration and join functions, respectively. The VerificationTalk also provides the function of runtime monitor to detect the anomaly timely. As VerificationTalk detects the error, the users can use the feedback from it for debugging. This thesis aims to show how users use the verification mechanisms, and how VerificationTalk displays the verification result. This thesis also evaluates the performance of VerificationTalk and guarantees it performs well.