arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.07075cs.SE
收藏

基于主动自动机学习的IoT通信模型测试

Model-Based Testing IoT Communication via Active Automata Learning

Martin Tappler, Bernhard K. Aichernig, Roderick Bloem

摘要:

本文提出了一种基于学习的方法来检测反应式系统中的故障。该技术是基于推断模型的多个实现的一个共同的规范,这是成对的交叉检查等价。等同性的任何反例都被标记为可疑,必须手动分析。因此,可以以半自动的方式找到可能的故障,而无需事先建模。我们通过案例研究表明,该方法是有效的。对于本案例研究,我们进行了实验,在实验中我们学习了MQTT代理/服务器(物联网中使用的协议)的五种实现的模型。检查这些模型,我们发现了几个违反MQTT规范的地方。除了一个之外,所有考虑的实现都显示出错误的行为。在分析中,我们讨论了有效性和我们面临的问题。

英文摘要:

This paper presents a learning-based approach to detecting failures in reactive systems. The technique is based on inferring models of multiple implementations of a common specification which are pair-wise cross-checked for equivalence. Any counterexample to equivalence is flagged as suspicious and has to be analysed manually. Hence, it is possible to find possible failures in a semi-automatic way without prior modelling. We show that the approach is effective by means of a case study. For this case study, we carried out experiments in which we learned models of five implementations of MQTT brokers/servers, a protocol used in the Internet of Things. Examining these models, we found several violations of the MQTT specification. All but one of the considered implementations showed faulty behaviour. In the analysis, we discuss effectiveness and also issues we faced.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑