引用本文:边寒,陈小红,金芝,张民.基于环境建模的物联网系统TAP规则生成方法.软件学报,2021,32(4):934-952
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3261次   下载 11684 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于环境建模的物联网系统TAP规则生成方法
边寒1, 陈小红1, 金芝2,3, 张民1
1.上海市高可信计算重点实验室(华东师范大学), 上海 200062;2.北京大学 信息科学技术学院 计算机科学与技术系, 北京 100871;3.高可信软件技术教育部重点实验室(北京大学), 北京 100871
摘要:
用户需求是物联网智能服务的根本驱动力,如IFTTT等很多物联网框架允许用户使用简单的触发-命令编程(TAP)规则进行编程,但它们描述的是设备调度程序,并不是用户服务需求.一些物联网系统提出采用面向目标的需求方法,支持服务目标的分解,但很难保证物联网不同服务间的一致性和服务部署的完整性.为了支持正确的“用户编程”并保证用户服务需求的一致性与完整性,提出了基于环境建模的TAP规则自动生成方法,在用户提供的服务需求的基础上,根据环境模型自动推导出所需的系统行为,以检测系统行为的一致性和完整性,并最终自动生成TAP规则,实现从用户服务需求到物联网设备调度的自动生成.构建了物联网应用场景的环境本体以建模环境,并定义了基于环境本体的服务需求的描述方法.另外,针对方法的准确性、效率、性能以及构建环境本体的时间开销,在智能家居场景上进行了评估.结果表明,所提方法的准确性、效率和性能均超过可用阈值,且在需求达到一定数量后,构建环境本体花费的时间可忽略不计.
关键词:  物联网系统  用户服务需求  需求一致性  需求完整性  环境建模
DOI:10.13328/j.cnki.jos.006224
分类号:TP311
基金项目:国家自然科学基金(61620106007,61751210,61872146);国家重点研发计划(2018YFB2101300);上海市科技计划(20ZR1416000)
Approach to Generating TAP Rules in IoT Systems Based on Environment Modeling
BIAN Han1, CHEN Xiao-Hong1, JIN Zhi2,3, ZHANG Min1
1.Shanghai Key Laboratory of Trustworthy Computing (East China Normal University), Shanghai 200062, China;2.Department of Computer Science and Technology, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China;3.Key Laboratory of High Confidence Software Technologies of Ministry of Education (Peking University), Beijing 100871, China
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.
Key words:  Internet of Things  user service requirement  requirements consistency  requirements completeness  environment modeling

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: