Font Size: a A A

Study Of ICD-Based Automatic Code Generation Technology

Posted on:2009-04-05Degree:MasterType:Thesis
Country:ChinaCandidate:X X HuFull Text:PDF
GTID:2178360278961495Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The ideas of Engineering and Code Reuse advocated by Software Engineering have make the Automatic Code Generation(ACG) been the new area of software scientific research. Aerospace Engineering's system is very complex, the interface that in-system and among systems has been one of the key factors that can affect a project's success. For achieving the interfaces'coherent description, China's aerospace systems have introduced the method of electronic interface control document (ICD). In the testing system's development, it's necessary to manually write interface communication procedure or device simulation procedure. After the investigation of domestic and foreign research related with aerospace field, we decide to realize the code generation system of interface communication and device simulation by ACG technology based on ICD.At first, the paper analyses the system's requirements, and gets the structure of interface communication and equipment simulation procedures. Based on the analysis, using the model-driven ACG technology, we design the generator system's architecture and function modules, and build these modules'model, include the ICD model, IDIR model, the Knowledge base model and Type library model. For the generation of device simulation procedure, we design the In-Device Interface Relationship description (IDIR), and realize the second conversion method from relationship description to status realization. Then, paper does detailed structure analysis for every modules, and design the modules formation, include interface communication generation scheme and device simulation generation scheme. At last, we use the object-oriented and Component-based programming technology, design the specific algorithms for these code generation modules, eventually realized the code generator.The paper also does a verification effort to the AGC system, and the results have shown that the code generator could achieve the aims of good features with interface communication and equipment simulation, and the value index of quality, efficiency and abstract are all achieved expected aims, and using automatic code generator can greatly improve the development efficiency of interface communication and device simulation procedures.
Keywords/Search Tags:ICD, Model Driven Architecture, Automatic Code Generation, Interface Communications, Device Simulation
PDF Full Text Request
Related items