DOI QR코드

DOI QR Code

A Study of Automatic Code Generation for TMO-based Real-time Object Model

TMO 기반의 실시간 객체 모델의 코드 자동생성기법 연구

  • 석미희 (LG전자 HA사업부 제어연구소) ;
  • 류호동 (경북대학교 전자전기컴퓨터학부) ;
  • 이우진 (경북대학교 IT대학 컴퓨터학부)
  • Received : 2011.11.09
  • Accepted : 2012.01.08
  • Published : 2012.04.30

Abstract

In recently years, distributed real-time software has performed important roles in various areas. Real-time applications should be performed with satisfying strict constraints on response time. Usually real-time applications are developed on the real-time supporting middleware such as TMO(Time-triggered, Message-triggered Object), CORBA/RT, and RTAI. However, it is not easy to develop applications using them since these real-time middleware are unfamiliar to programmers. In this paper, we propose an automatic code generator for real-time application based on TMO in order to reduce development costs. For increasing or reflecting the characteristics of TMO into the design model, SpM and SvM methods are added into the class diagram, which have time constraints as their properties. And behaviors of them are represented as separated regions on state machine diagram in different abstract level. These diagrams are inputted into TMO-based code automatic generator, which generates details of the TMO class. Our approach has advantages for decreasing effort and time for making real time software by automatically generating TMO codes without detailed knowledge of TMO.

최근에 분산 실시간 소프트웨어가 다양한 분야에서 중요한 역할을 담당하고 있다. 실시간 소프트웨어는 반응 시간에 대한 시간제약성을 만족하여야 함으로 TMO(Time-triggered, Message-triggered Object), CORBA/RT, RTAI 등과 같은 미들웨어를 이용하여야 한다. 하지만 이러한 실시간 미들웨어에 친숙하지 않은 프로그래머들은 실시간 소프트웨어 개발에 어려움이 있다. 이 연구에서는 이러한 미들웨어에 대한 전문지식 없이도 실시간 소프트웨어 개발이 가능하도록 TMO 기반의 자동 코드 생성 도구를 제안하고자 한다. TMO 특성을 설계 모델에 반영하기 위해, 시간제약사항을 포함하는 SpM과 SvM 메소드를 클래스 다이어그램에 추가하고 상태 머신 다이어그램의 독립 영역으로 분할하여 이들의 행위를 표현한다. TMO 기반 코드 생성기는 이러한 모델 정보를 입력받아서 TMO 클래스 코드를 생성한다. 이러한 자동생성 접근 방법은 TMO에 대한 전문지식이 없더라도 실시간 소프트웨어를 생성할 수 있어, 소프트웨어 개발에 소요되는 비용과 시간을 줄이는 장점이 있다.

Keywords

References

  1. Xiaolin Hu, Zeigler, B.P., "Model continuity in the design of dynamic distributed real-time systems," IEEE Transactions on Systems, Man and Cybernetics, Part A: Systems and Humans, Vol.35, No.6, pp.867-878, 2005. https://doi.org/10.1109/TSMCA.2005.851283
  2. OMG, Real-time CORBA Specification, version 1.2, 2005.
  3. DREAM Laboratory, University of California, "TMOSL_Manual_v4_2_2," http://dream.eng.uci.edu/TMOdownload/, 2007.
  4. RTAI, the Real time Application Interface for Linux from DIAPM, http://www.rtai.org/
  5. Jung-Guk Kim, Moon Hae Kim, "TMO-eCos: An eCos-based Real-time Micro Operating System Supporting Execution of a TMO Structured Program," International Symposium on Object-Oriented Real-Time Distributed Computing, 2005.
  6. Douglass, Bruce Powel, "실시간 UML", 3판, Addison-Wesley, 2004.
  7. D. Regep, F. Kordon, "Using MetaScribe to prototype a UML to C++/Ada95 code generator," 11th International Workshop on Rapid System Prototyping, pp.128-133, 2000.
  8. M. Usman, A.Nadeem, Tai-hoon Kim, "UJECTOR: A Tool for Executable Code Generation from UML Models," 2008 Advanced Software Engineering and Its Applications, pp.165-170, 2008.
  9. T.G. Moreira, M.A. Wehrmeister, C.E. Pereira, J.-F. Petin, E. Levrat, "Automatic code generation for embedded systems: From UML specifications to VHDL code," 8th IEEE International Conference on Industrial Informatics (INDIN), pp.1085-1090, 2010.
  10. L.B. Brisolara, M.F.S. Oliveira, R. Redin, L.C. Lamb, F. Wagner, "Using UML as Front-end for Heterogeneous Software Code Generation Strategies," Design, Automation and Test in Europe, pp.504-509, 2008.
  11. Rational Rhapsody, http://www.ibm.com/software/awdtools/rhapsody/
  12. L.carnevali, D.D'Amico, L.Ridi, E.Vicario, "Automatic Code Generation from Real-Time Systems Specifications," International Symposium on Rapid System Prototyping, 2009.
  13. G.Bucci, L.Sassoli, E.vicario, "ORIS: a tool for state-space analysis of real-time preemptive systems," International Conference on the Quantitative Evaluation of Systems, 2004.
  14. OMG, Unified Modeling Language: Superstructure, version 2.1.1, 2007.
  15. OMG, UML Profile for Schedulability, Performance, and Time Specification, 2002.
  16. Eclipse.org Home, www.eclipse.org
  17. Eclipse, Graphical Modeling Framework, www.eclipse.org/gmf
  18. 박인수, 이정선, 조성래, 정우영, 이우진, "AUTOSAR 기반 차량용 소프트웨어 컴포넌트 모델링 도구", 정보처리학회논문지 A, 제17-A권, 제4호, pp.203-212, 2010년 8월.