基于环境建模的物联网系统TAP规则生成方法
作者:
作者单位:

作者简介:

边寒(1997-),男,学士,CCF学生会员,主要研究领域为物联网,需求工程.
陈小红(1982-),女,博士,副教授,CCF专业会员,主要研究领域为需求工程,形式化方法,安全攸关系统.
金芝(1962-),女,博士,教授,博士生导师,CCF会士,主要研究领域为需求工程,知识工程.
张民(1982-),男,博士,副教授,CCF专业会员,主要研究领域为可信软件理论,形式化方法.

通讯作者:

陈小红,E-mail:xhchen@sei.edu.cn;金芝,E-mail:zhijin@pku.edu.cn

中图分类号:

TP311

基金项目:

国家自然科学基金(61620106007,61751210,61872146);国家重点研发计划(2018YFB2101300);上海市科技计划(20ZR1416000)


Approach to Generating TAP Rules in IoT Systems Based on Environment Modeling
Author:
Affiliation:

Fund Project:

National Natural Science Foundation of China (61620106007, 61751210, 61872146); National Basic Research Program of China (2018YFB2101300); Shanghai Science and Technology Program (20ZR1416000)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    用户需求是物联网智能服务的根本驱动力,如IFTTT等很多物联网框架允许用户使用简单的触发-命令编程(TAP)规则进行编程,但它们描述的是设备调度程序,并不是用户服务需求.一些物联网系统提出采用面向目标的需求方法,支持服务目标的分解,但很难保证物联网不同服务间的一致性和服务部署的完整性.为了支持正确的“用户编程”并保证用户服务需求的一致性与完整性,提出了基于环境建模的TAP规则自动生成方法,在用户提供的服务需求的基础上,根据环境模型自动推导出所需的系统行为,以检测系统行为的一致性和完整性,并最终自动生成TAP规则,实现从用户服务需求到物联网设备调度的自动生成.构建了物联网应用场景的环境本体以建模环境,并定义了基于环境本体的服务需求的描述方法.另外,针对方法的准确性、效率、性能以及构建环境本体的时间开销,在智能家居场景上进行了评估.结果表明,所提方法的准确性、效率和性能均超过可用阈值,且在需求达到一定数量后,构建环境本体花费的时间可忽略不计.

    Abstract:

    User requirements are the fundamental driving force of smart services in Internet of Things (IoT). Today, many IoT frameworks such as IFTTT allow end users to use simple trigger-action programing (TAP) rules for programing. But these rules describe device scheduling instructions instead of user service requirements. Some IoT systems propose goal oriented requirement approaches to support service goal decomposition. But it is difficult to ensure the consistency of different services and completeness of service deployment. In order to achieve correct “user programming” in IoT systems and ensure consistency and completeness of user requirements, this study proposes an environment modeling based automatic approach to generate TAP rules. Based on the service requirements provided by users, required system behaviors are automatically extracted according to the environment model. After checking their consistency and completeness, TAP rules are generated, which realizes automatic generation from user service requirements to device scheduling instructions. The environment ontology of IoT application scenarios is constructed to model the environment, and the description method of service requirements is also defined. Finally, the accuracy, efficiency, performance of the approach and the time cost for building the environment ontology are evaluated with a smart home scenario. The results show that the accuracy, efficiency, and performance of this approach exceed the available threshold, and the time cost in building the environment ontology can be ignored when the number of requirements reaches a certain number.

    参考文献
    相似文献
    引证文献
引用本文

边寒,陈小红,金芝,张民.基于环境建模的物联网系统TAP规则生成方法.软件学报,2021,32(4):934-952

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2020-09-13
  • 最后修改日期:2020-10-26
  • 录用日期:
  • 在线发布日期: 2021-01-22
  • 出版日期: 2021-04-06
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号