Generating Reduced Test Model of Embedded Software using Partial Order Techniques

부분순서 관계를 이용한 내장 소프트웨어의 축소된 테스트 모델 생성

  • 이남희 (한국과학기술원 전자전산학과) ;
  • 차성덕 (한국과학기술원 전자전산학과)
  • Published : 2003.12.01

Abstract

In [1] we proposed a method to generate a test model (GFSM) from a set of scenarios of embedded software. Each scenario describes the interaction sequences for an external input event. Although these external events are generated and accepted alternatively and concurrently by embedded software, we considered only the alternative relations. In this paper, we describe an improved algorithm to generate GFSM from concurrent scenarios, and propose methods to reduce the number of transitions in the GFSM. The first is the synchronous interpretation of message passing instead of asynchronous one considering the real behavior of tasks in embedded software. The others apply the partial order techniques to the GFSM using independent regions. We apply the method to generate a reduced GFSM of embedded software running on a digital TV.

[1]에서 우리는 내장 소프트웨어의 시나리오들을 합성하여 테스트 모델 (GFSM)을 구하는 방법을 제안하였다. 이때 사용된 각각의 시나리오는 내장 소프트웨어가 받아들이는 외부 입력 사건에 대한 태스크들 사이의 상호작용을 기술하고 있다. 외부 입력 사건은 선택적 또는 병행적으로 발생할 수 있는데, [1]에서는 선택적인 관계만을 고려하였다. 본 논문에서는 병행적 시나리오들을 합성하여 GFSM을 생성할 때 발생하는 전이 수의 급격한 증가를 줄이기 위한 방법을 제안한다. 비동기적 메시지 전송을 수행하는 태스크들의 행위를 보존하도록 하면서 동기적으로 해석함으로써 GFSM의 전이 수를 줄이고, 또한 시나리오 기술에 사용된 MSC 명세로부터 독립 구역을 자동으로 찾아내어 인터리빙의 수를 줄이는 방법을 제안한다. 독립 구역은 최종 시스템의 상태에 변화를 주지 않는 메시지 전송들을 포함한다. 제안된 방법을 디지털 TV 소프트웨어의 시나리오에 적용하여 전이 수의 감소 효과를 얻을 수 있었다.

Keywords

References

  1. 이남희, 김태효, 차성덕, 신석종, 홍인표, 박기웅. '태스크 상호작용 테스팅을 위한 MSC 명세로부터의 전체 유한 상태 기계 생성', 정보과학회 논문지: 소프트웨어 및 응용, Vol. 28, No. 9 pages 634-648, 2001
  2. G. Luo, G. Bochmann, and A. Petrenko. 'Test Selection Based on Communication Nondeterministic Finite-State machines Using a Generalized 쩨-Method'. IEEE Transactions on Software Engineering, Vol. 20, pages 149-162, 1994 https://doi.org/10.1109/32.265636
  3. H.S. Hong, Y.G. Kim, S.D. Cha, D.H. Bae, and H. Ural. 'A Test Sequence Selection Method for Statecharts', Journal of Software Testing, Verification, and Reliability, Vol. 10, No. 4, pages 203-227, 2000 https://doi.org/10.1002/1099-1689(200012)10:4<203::AID-STVR212>3.0.CO;2-2
  4. S. Sorne, R. Dssouli, and J. Vaucher, 'Toward an Automation of Requirement Engineering'. Journal of Computing and Information, Vol. 2, No.1, pages 1110-1132, 1996
  5. Recommendation Z.120. 'Message Sequence Chart (MSC 2000)'. Technical report, ITU-T, 2000
  6. Recommendation Z.120 Annex B. 'Formal Semantics of Message Sequence Charts'. Technical report, ITU-T, 1998
  7. P. Godefroid. Partial Order Methods for the Verification of Concurrent Systems: An Approach to the State Explosion Problem. Lecture Notes in Computer Science, Vol. 1032, Springer-Verlag, Berlin, 1996
  8. R. Alur, R.K. Brayton, T.A. Henzinger, S. Qadeer, and S.K. Rajamani. Partial-Order Reduction in Symbolic State Space Exploration. In Proc. of the Conference on Computer Aided Verification (CAV'97), LNCS 1254, pages 340-351. Springer-Verlag, 1997
  9. G.J. Holzmann. The Model Checker SPIN. IEEE Transactions on Software Engineering, 23(5):279-295, 1997 https://doi.org/10.1109/32.588521
  10. S. Leue and P.B. Ladkin. 'Implementing and Verifying MSC Specifications Using Promela/XSpin'. In Proc. of the DIMACS Workshop SPIN96, the 2nd International Workshop on the SPIN Verification System, pages 65-89, 1997
  11. E. Bounumova, V. Levin, O. Basbugoglu, and K. Inan. A Verification Engine for SDL Specification of Communication Protocols. In Proc. of the First Symposium on Computer Networks, pages 16-25, Springer-Verlag, 1996
  12. D. Peled. Ten Years of Partial order Reduction. In LNCS 1427, pages 17-28. Springer-Verlag, 1998
  13. R. Kurshan, V. Levin, M. Minea, D. Peled, and H. Yenigun. Static Partial Order Reduction. In Proc. of 4th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS'98), LNCS 1384, pages 345-357. Springer-Verlag, 1998
  14. J. Whittle and J. Schumann. 'Generating State-chart Design from Scenarios', In International Conference on Software Engineering (ICSE), 2000
  15. D. Harel and H. Kugler. 'Synthesizing State-Based Object Systems from LSC Specifications.' Foundations of Computer Science, Vol. 13, No. 1, 2002
  16. R. Alur, G.J. Holzmann, and D. Reld. 'An Analyzer for Message Sequence Charts'. Software Concept and Tools, Vol. 17, No.2, pages 70-77, 1996
  17. ATSC T3/S13 Doc. 010. 'Data Broadcast Specification'. Technical report, ATSC, 1999
  18. ATSC Doc. A/65. 'Program and System Information Protocol for Terrestrial Broadcast and cable'. Technical report, ATSC, 1997