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

工业信息物理系统测试用例自动生成方法研究

Requirements-Aided Automatic Test Case Generation for Industrial Cyber-physical Systems

Roopak Sinha, Cheng Pang, Gerardo Santillán Martínez, Juha Kuronen, Valeriy Vyatkin

摘要:

工业网络物理系统需要复杂的分布式软件来协调许多异构的机电组件并控制多个物理过程。工业自动化软件通常以模型驱动的方式开发,其中称为工厂模型的物理过程的抽象与控制代码一起共同开发和迭代细化。测试这样的多维系统是非常困难的,因为通常模型可能不准确,与后续的改进不准确对应,并且软件最终必须在真实工厂上进行测试,特别是在核电站等安全关键系统中。本文提出了一个框架,其中高层次的功能需求被用来自动生成测试用例的模型驱动的工程过程中的所有抽象层次的设计。需求最初以自然语言指定,然后使用形式化本体进行分析和指定。然后,在设计和开发阶段,需求本体连同控制器和工厂模型一起被细化,使得测试用例可以在任何阶段自动生成。一个有代表性的工业水处理系统的案例研究说明了所提出的形式主义的优势。CESAR欧洲项目提出的需求元模型用于需求工程,而IEC 61131-3和模型驱动的概念用于设计和开发阶段。从所提出的框架称为REBATE(基于需求的自动测试引擎)的工具是用来生成和执行越来越具体的控制器和工厂模型的测试用例。

英文摘要:

Industrial cyber-physical systems require complex distributed software to orchestrate many heterogeneous mechatronic components and control multiple physical processes. Industrial automation software is typically developed in a model-driven fashion where abstractions of physical processes called plant models are co-developed and iteratively refined along with the control code. Testing such multi-dimensional systems is extremely difficult because often models might not be accurate, do not correspond accurately with subsequent refinements, and the software must eventually be tested on the real plant, especially in safety-critical systems like nuclear plants. This paper proposes a framework wherein high-level functional requirements are used to automatically generate test cases for designs at all abstraction levels in the model-driven engineering process. Requirements are initially specified in natural language and then analyzed and specified using a formalized ontology. The requirements ontology is then refined along with controller and plant models during design and development stages such that test cases can be generated automatically at any stage. A representative industrial water process system case study illustrates the strengths of the proposed formalism. The requirements meta-model proposed by the CESAR European project is used for requirements engineering while IEC 61131-3 and model-driven concepts are used in the design and development phases. A tool resulting from the proposed framework called REBATE (Requirements Based Automatic Testing Engine) is used to generate and execute test cases for increasingly concrete controller and plant models.

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

↑