Title :
A Model-Based Approach to Constructing Safe Soft Real-Time Programs for Non-Real-Time Environments
Author :
Senthooran, Ilankaikone ; Watanabe, Takuo
Author_Institution :
Dept. of Comput. Sci., Tokyo Inst. of Technol., Tokyo, Japan
Abstract :
The primary goal of this work is to provide an easy and systematic way of developing safe soft real-time systems. To achieve this goal, we propose a method of generating real-time programs from formally verified models written as systems of timed automata. The models are verified using UPPAAL model checker prior to be processed by our code generators. A characteristic of our code generator is that the generated code runs in a non-real-time environment, i.e., a runtime environment without inherent real-time schedulers. To realize this, the code generator weaves timing checking code fragments within the generated programs. The generated code explicitly checks the real-time clock of its runtime to obey the timing constraints specified in the model. In this paper, we describe how to generate Java/C programs from UPPAAL timed automata and show the benefits of our method using a robot controller case study.
Keywords :
C language; Java; automata theory; formal verification; program compilers; real-time systems; security of data; C programs; Java programs; UPPAAL model checker; UPPAAL timed automata; code generators; formally verified models; model-based approach; nonreal-time environments; real-time clock; real-time schedulers; robot controller; safe soft real-time programs; safe soft real-time systems; Automata; Clocks; Java; Real time systems; Synchronization; Unified modeling language; UPPAAL; code generation; model-based development; real-time systems; timed automata;
Conference_Titel :
Software Engineering, Artificial Intelligence, Networking and Parallel & Distributed Computing (SNPD), 2012 13th ACIS International Conference on
Conference_Location :
Kyoto
Print_ISBN :
978-1-4673-2120-4
DOI :
10.1109/SNPD.2012.115