Research and Implementation of UML State Machine Diagram to C Code Generator Based on MDA

Author
FengZuo
Advisor
WuBo , HeHongWei
School
Xi'an University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
78
Citations
0

Request the full text

Abstract

With the extensive application of the object-oriented approach to software development , model-driven architecture (MDA, Modeling Driven Architecture) is converted to the model , the model for the core organization of the whole system development process , software design and development is one important way . Code generation MDA development approach last session, has an important value in engineering . UML static structure model - based code generation, at home and abroad have appeared mature application , however, there is little dynamic structural model code generation tool . This paper analyzes based on model-driven software development process , the state machine was designed and implemented C code generator to solve the problem of the dynamic structure of the model code generation . Builder with the QEP ( level event handler ) state machine code conversion technology to develop the state machine to the C language mapping rules , oAW (open Architecture Ware) code automatically generated technology to achieve system state machine model to the the system underlying framework C code conversion . The article focuses on the state machine to the design of the C language mapping rules and achieve Builder integrated development environment , and generators were white-box testing , the test results meet the expected target to meet the needs .

Table of contents

Abstract 3-4 Abstract 4-8 first chapter 8-14 1.1 Background and significance - 9 1.2 research status 9-11 1.2.1 Foreign Development the domestic development 10-11 1.2.2 < br /> 1.3 this study 11-12 1.4 chapters arranged 12-14 Chapter II technology 14-22 2.1 model driven framework About 14-17 2.1.1 MDA basic concept 14-15 2.1.2 MDA Ghost model 15-16 <br / > 2.1.3 MDA-based software development process 16-17 2.2 UML Profile 17-20 2.2.1 metamodel mechanism 18-19 2.2.2 Profile extension mechanism 19-20 2.3 UML model-driven framework supports 20-21 2.4 Summary 21-22 <br / > Chapter state machine code generator needs analysis and overall design 22-30 3.1 state machine code generation technology roadmap 22-26 3.1.1 code generate technical analysis 22-24 3.1.2 state machine code to achieve technical analysis 24-26 3.2 state machine code generator overall demand 26-27 3.3 state machine code generator use case model nbsp the 27 3.4 state machine code generator overall design; 27-29 3.5 Summary 29 -30 Chapter IV state machine code generator detailed design the 30-42 4.1 state machine mapping rules 30-32 4.1.1 state machine semantics 30 4.1.2 state machine C language mapping rules the map 30-31 4.1.3 C language state machine instructions 31-32 the 4.2 state mapping rules nbsp 32-34 4.2.1 state semantics; 32 4.2.2 C language state mapping rules 32-34 4.2 the map .3 state C language description 34 4.3 concurrent composite state mapping rules 34-37 4.3.1 concurrent composite state semantics 34-36 4.3.2 concurrent composite state C language mapping rules 36-37 4.3.3 concurrent composite state C the language mappings Description 37 4.4 pseudo-state mapping rules 37-39 4.4.1 pseudo state semantics the 37-38 4.4.2 pseudo-state C language mapping rules 38-39 4.5 conversion , event mapping rules 39-40 4.5.1 conversion event semantics 39-40 4.5.2 conversion events C language mapping rules 40 < br /> 4.6 guardianship conditions, the effect of mapping rules 40-41 4.6.1 custody conditions, the effect of semantic 40-41 4.6.2 custody conditions, the effect of the C language mapping rules 41 4.7 Summary 41-42 Chapter state machine code generator to achieve 42-56 5.1 state machine code generator achieve overall 42-44 5.1.1 state machine code generator development environment 42 5.1.2 state machine code generator structure 42-43 < br /> 5.1.3 state machine code generation process the 43-44 5.2 state machine code generator basic configuration to achieve 44-45 the 5.2.1 model data parser achieve the 44 5.2.2 basic set of tools to achieve 44 5.2.3 configuration file to achieve 44-45 5.3 state machine code generation templates the 45-53 5.3.1 state machine code generation template structure 46-47 5.3.2 state machine code generation template execution flow nbsp the; 47-48 5.3.3 state machine state elements in code generation 48-50 pseudo-state elements code generator 5.3.4 state machine 50-52 5.3.5 conversion elements of the state machine code generated 52-53 5.4 state machine code generator integrated into the development environment to achieve 53-54 5.5 Summary 54-56 Chapter VI state machine code generator running and testing 56-64 6.1 state machine code generator run results 56-57 6.1.1 runtime environment 56 6.1.2 operating results 56-57 6.2 state machine code generator test results and analysis 57-63 6.2.1 state machine calculator the 58-60 6.2.2 state machine history 60-61 6.2.3 state machine fork_join 61-63 6.2.4 Test results 63 6.3 Summary 63-64 Chapter VII Summary and Outlook the 64-66 7.1 work summarizes 64- 7.2 Future Prospects the 64-66 Acknowledgements 66-68 Reference 68-70 Appendix A model instance 70-75

Related dissertations

  1. Research on Transformation Rule Modeling and Rule Code Generation
    SunZheng ·Chongqing University ·2012 ·Master's thesis
  2. Design and Implementation of MDA-based Code Generator for Embedded Software
  3. Design and Implementation of WEB Information System Based on MDA
    ZhangXiaoFeng ·Shanghai Jiaotong University ·2011 ·Master's thesis
  4. Model-based development of integrated computing domain-oriented method
  5. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  6. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  7. Research on Specialized Rule Engine Component Based on MDA
  8. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis
  9. Analysis of Design and Implementation of B2C E-business Store System
  10. Designing and Implementing for Guizhou Huaxi Guest House Information Management System
  11. Design and implementation of the Qilu Petrochemical Industries Co bidding management system
  12. Design and implementation of hotel management system based on UML
  13. Design and Implementation of Personnel Management System of University
    WangJianLong ·Shandong University ·2013 ·Master's thesis
  14. The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
    WangFeng ·Shandong University ·2013 ·Master's thesis
  15. Design and Implement of Telematics System Service Center Subsystem
    WangHuaChen ·Northeastern University ·2013 ·Master's thesis
  16. The Design and Realization of Motor Vehicle Pre-registration System
    ZhangFuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  17. Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
    SunQing ·Shanghai Jiaotong University ·2013 ·Master's thesis
  18. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  19. The architecture of B/S auto repair technical support system design and Implementation Based on
  20. Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
    LiChunLong ·Sun Yat-sen University ·2013 ·Master's thesis