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

Model-Checking in the Loop:面向汽车操作系统的基于模型测试

Model-Checking in the Loop Model-Based Testing for Automotive Operating Systems

Toshiaki Aoki, Aritoshi Hata, Kazusato Kanamori, Satoshi Tanaka, Yuta Kawamoto, Yasuhiro Tanase, Masumi Imai, Fumiya Shigemitsu, Masaki Gondo, Tomoji Kishi

AI总结:

本文提出MCIL-MBT集成方法,将操作系统规范的模型检查与基于模型的实现一致性测试迭代结合,并在工业应用中发现传统方法遗漏的缺陷。

摘要:

尽管过去车辆主要通过机械方式进行控制,但随着电子控制技术和性能的进步,越来越多的嵌入式控制系统正被安装和使用。汽车系统由多个供应商开发的众多组件构成。为加速嵌入式控制系统的开发,AUTOSAR等工业标准正被制定,用于汽车系统,包括操作系统与中间件技术的设计。操作系统对于确保汽车系统安全至关重要,是许多汽车应用运行所依赖的基础软件。本文提出一种用于验证汽车操作系统的集成化基于模型方法,称为Model-Checking in the Loop Model-Based Testing(MCIL-MBT)。在MCIL-MBT中,我们首先建立模型,将汽车操作系统的规范形式化,并通过模型检查验证这些规范。随后,使用经过验证的模型开展基于模型的测试,以确保特定操作系统实现与该模型相符。上述验证和测试阶段反复迭代,直到未发现缺陷。该方法已被引入一家汽车系统供应商和一家操作系统厂商。通过该方法,我们成功识别出传统评审和测试方法未能发现的缺陷。

英文摘要:

While vehicles have primarily been controlled through mechanical means in years past, an increasing number of embedded control systems are being installed and used, keeping pace with advances in electronic control technology and performance. Automotive systems consist of multiple components developed by a range of vendors. To accelerate developments in embedded control systems, industrial standards such as AUTOSAR are being defined for automotive systems, including the design of operating system and middleware technologies. Crucial to ensuring the safety of automotive systems, the operating system is foundational software on which many automotive applications are executed. In this paper, we propose an integrated model-based method for verifying automotive operating systems; our method is called Model-Checking in the Loop Model-Based Testing (MCIL-MBT). In MCIL-MBT, we create a model that formalizes specifications of automotive operating systems and verifies the specifications via model-checking. Next, we conduct model-based testing with the verified model to ensure that a specific operating system implementation conforms to the model. These verification and testing stages are iterated over until no flaws are detected. Our method has already been introduced to an automotive system supplier and an operating system vendor. Through our approach, we successfully identified flaws that were not detected by conventional review and testing methods.

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

↑