arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2102.11491cs.CRcs.NE
收藏

数据驱动的网络物理系统测试

Data Driven Testing of Cyber Physical Systems

Dmytro Humeniuk, Giuliano Antoniol, Foutse Khomh

摘要:

消费级网络物理系统(CPS)正在成为我们生活中不可或缺的一部分,自动化和简化日常任务。事实上,由于硬件、网络和软件之间的复杂交互,开发和测试这样的系统是一项具有挑战性的任务。已经提出了各种质量保证和测试策略。部署前测试最常见的方法是对系统进行建模,并在循环中使用模型或软件运行模拟。在实践中,大多数情况下,测试是针对少量的模拟运行的,这些模拟是根据工程师的领域知识和经验选择的。在本文中,我们提出了一种方法来自动生成故障揭示测试用例的CPS。我们已经在Python中实现了我们的方法,使用标准框架,并使用它来生成违反温度约束的场景,用于智能恒温器,作为我们物联网测试平台的一部分。从管理智能建筑的应用程序中收集的数据已用于在不断变化的条件下学习环境模型。建议的方法使我们能够识别几个坑失败,场景(即,环境条件和输入),其中系统的行为不符合预期。

英文摘要:

Consumer grade cyber-physical systems (CPS) are becoming an integral part of our life, automatizing and simplifying everyday tasks. Indeed, due to complex interactions between hardware, networking and software, developing and testing such systems is known to be a challenging task. Various quality assurance and testing strategies have been proposed. The most common approach for pre-deployment testing is to model the system and run simulations with models or software in the loop. In practice, most often, tests are run for a small number of simulations, which are selected based on the engineers' domain knowledge and experience. In this paper we propose an approach to automatically generate fault-revealing test cases for CPS. We have implemented our approach in Python, using standard frameworks and used it to generate scenarios violating temperature constraints for a smart thermostat implemented as a part of our IoT testbed. Data collected from an application managing a smart building have been used to learn models of the environment under ever changing conditions. The suggested approach allowed us to identify several pit-fails, scenarios (i.e., environment conditions and inputs), where the system behaves not as expected.

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

↑