電機資訊學院: 資訊工程學研究所指導教授: 許永真蔡博倫Tsai, Bo-LungBo-LungTsai2017-03-032018-07-052017-03-032018-07-052015http://ntur.lib.ntu.edu.tw//handle/246246/275362物聯網將生活中的物品連上網路,帶來了資訊分享與操控的便利性。然而,現有的編程方法仍然阻礙終端使用者利用這些好處。如何能讓使用者不用程式語言或是訓練學習模型,我提出示範物品之間的實際運作,以及背後探勘隱藏的模式來編程物聯網。本論文描述一個系統從感測器和控制器收集之資料萃取出事件-狀態-行動規則為主的程式,以及與狀態機計算模型的關聯。最後本論文透過比較實際案例來證實系統的實用性與適用範圍。The Internet of Things (IoT) connects massive daily things to conventional Internet networks, bringing the benefit to get information from or control those things with ease. However, current programming solutions still hinder the end-users to take advantage of the emerging technology. Instead of asking them to write programs or to train models, I proposed to program IoT by demonstrating how the things should work explicitly and combine the frequent patterns discovered implicitly. This paper presents a system to generate Event-Condition-Action rules from the data collected from the sensors and the actuators and relate the mining to the computation model, Finite State Machine. The results and comparison study are presented to show the feasibility and the limitation of the system.論文使用權限: 不同意授權物聯網示範編程事件-狀態-行動規則探勘模式狀態機Internet of ThingsProgramming by DemonstrationEvent- Condition-Action rulePattern DiscoveryFinite State Machine於示範中萃取事件-狀態-行動規則以編程物聯網之研究Programming Internet of Things by Mining of Event-Condition-Action Rules from Demonstrationthesis