Journal of Systems Engineering and Electronics ›› 2012, Vol. 23 ›› Issue (2): 276-285.doi: 10.1109/JSEE.2012.00035

• SOFTWARE ALGORITHM AND SIMULATION • Previous Articles     Next Articles

Real-time embedded software testing method based on extended finite state machine

Yongfeng Yin1,*, Bin Liu1, and Hongying Ni2   

  1. 1. School of Reliability and Systems Engineering, Beihang University, Beijing 100191, P. R. China;
    2. National Key Laboratory of Science and Technology on Avionics System Integration, Shanghai 200233, P. R. China
  • Online:2012-04-20 Published:2010-01-03

Abstract:

The reliability of real-time embedded software directly determines the reliability of the whole real-time embedded system, and the effective software testing is an important way to ensure software quality and reliability. Based on the analysis of the characteristics of real-time embedded software, the formal method is introduced into the real-time embedded software testing field and the real-time extended finite state machine (RT-EFSM) model is studied firstly. Then, the time zone division method of real-time embedded system is presented and the definition and description methods of time-constrained transition equivalence class (timeCTEC) are presented. Furthermore, the approaches of the testing sequence and test case generation are put forward. Finally, the proposed method is applied to a typical avionics realtime embedded software testing practice and the examples of the timeCTEC, testing sequences and test cases are given. With the analysis of the testing result, the application verification shows that the proposed method can effectively describe the real-time embedded software state transition characteristics and real-time requirements and play the advantages of the formal methods in accuracy, effectiveness and the automation supporting. Combined with the testing platform, the real-time, closed loop and automated simulation testing for real-time embedded software can be realized effectively.