基于设备语义抽象的TAP程序执行异常处理方法

AN EXCEPTION HANDLING APPROACH FOR TAP PROGRAMS BASED ON DEVICE SEMANTIC ABSTRACTION

  • 摘要: 触发-动作编程(Trigger-Action-Programming,TAP)是一种在物联网领域广泛使用的最终用户编程范式,允许用户定义传感器事件发生时执行施动器动作的规则,即TAP程序。其正确执行依赖于设备的可靠运行,然而在真实环境下设备可能存在执行异常。针对TAP程序执行异常问题,基于MAPE-K反馈循环提出一种设备语义抽象的TAP程序执行异常处理方法。通过本体建模和TAP拓展规则进行异常判断,执行动态补偿策略对检测到的异常进行修复。通过仿真实验验证了TAP程序执行异常处理方法的可行性、高效性与可用性。实验结果表明该系统能够以选择替代设备的方式有效地处理所面对的异常,提高程序健壮性及其自适应能力,保障最终用户需求得以实现。

     

    Abstract: The trigger-action programming (TAP) is an end-user programming paradigm widely-used in the field of the IoTs, which allows users to define rules for executing actuator actions when sensor events occur. Its correct execution depends on the reliable operation of the device, however, in real environments, the device may have execution abnormalities. Aimed at the execution exception issue of TAP program, a method for handling exceptions in TAP program based on semantic abstraction of devices and MAPE-K loop is proposed. The exception detection was performed by ontology modeling and TAP expansion rules, and a dynamic compensation strategy was executed to repair the detected exceptions. The feasibility, efficiency, and ease of use of the method were verified by the TAP program exception handling framework. The experimental results show that the system can handle the exceptions faced in an efficient way by selecting alternative devices, improving the program robustness and its self-adaptive capability, and guaranteeing that the end-user requirements are realized.

     

/

返回文章
返回