Int J Performability Eng ›› 2017, Vol. 13 ›› Issue (8): 1183-1194.doi: 10.23940/ijpe.17.08.p2.11831194

• Original articles • Previous Articles     Next Articles

Modeling and Optimizing CPS Software Testing based on Petri Nets

Liqiong Chena, b, Guisheng Fanc, and Huiqun Yuc   

  1. aDepartment of Computer Science and Information Engineering, Shanghai Institute of Technology, Shanghai 200235, China
    bShanghai Key Laboratory of Computer Software Evaluating and Testing, Shanghai 201112, China
    cDepartment of Computer Science and Engineering East China University of Science and Technology, Shanghai 200237, China

Abstract: Software testing is an important means to ensure the quality of software. However, there is a lack of effective modeling and optimization of CPS software testing. In this paper, Petri nets are used to model the underlying devices, components, connectors and test cases of CPS software. Aspect oriented programming extracts the crosscutting concerns of CPS software testing. The behaviors and their relationships are described based on AOP, and a weaving mechanism is used to dynamically integrate these models into the test model of CPS. The correctness of the model is analyzed by using the operation semantics and related theories of Petri nets. Based on the state space of constructed model, a strategy is proposed to dynamically select the test suite. The experiment results show that this method can effectively describe the CPS software testing process, which can improve the quality of software testing.


Submitted on September 29, 2017; Revised on November 12, 2017; Accepted on November 23, 2017
References: 17