A Novel Approach To Automatic Code Generation For Automatic Train Protection

Xiangxian Chen,Panfeng Liu,Xinxi Qiu,Hai Huang,Huilong Duan
2012-01-01
Abstract:The Model-Driven Development (MDD) method has been proposed to solve the problem of high error rates in the conventional manual implementation of software. This paper focuses on the modeling of a common framework for an Automatic Train Protection (ATP) system with an MDD method, which includes interface, architecture and function models. The purpose of this approach, which combines the source file and template, is to perform automatic code generation. The source file is generated based on the model that is established using the MDD method; thus, its logic is guaranteed to be correct and the template is customized according to the coding style of the model. A toolkit to automatically generate code for an ATP system is also developed, which allows the entire development process to be automated.
What problem does this paper attempt to address?