Study on MDA Software Modeling Technology Based on Meta Model
- Author
- HongZuo
- Advisor
- ZengYi
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 224
- Citations
- 7
Abstract
With software applications have been expanding, rising demand experienced one from assembly language to high-level language, from the development of process-oriented to the object-oriented development, development process of software development. In today's complex and volatile application requirements, the traditional software development such as low efficiency of software production, poor portability, interoperability, poor and difficult to maintain. To this end, the Object Management Group (OMG) Model Driven Architecture (Model Driven Architecture, MDA) approach to software development. MDA model, depending on the modeling language for programming languages, PIM to create a platform-independent model to a platform model the PSM model conversion, the resulting application code and test framework. The existing MDA framework needs a description of the general still using natural language instructions, PIM established after manual analysis. MDA ignore the requirements phase, the direct impact on the accuracy of the PIM. To address this issue, this paper proposes a The MDA process improvement that establishing formal demand model, and automatically converted to PIM, so as to realize the full MDA process from requirements. The MDA process improvement to ensure the accuracy of the PIM, and ultimately the consistency of the software and customer demand has important significance. The MDA process improvements for clues on demand model visual representation to the PIM model transformation technology and PIM technology research, and to explore the meta-model in which the application. First, the analysis of the characteristics of the formal B method, and feasibility for demand modeling, formal methods identified using the B method as described in the demand model; then, the design of the demand from the B model to the PIM model transformation framework and conversion of the flow chart. As the the MDA specification for data exchange format XML format, therefore, designed to the B demand model compiler BParser, the transformation of the the B demand model demand XML description file to B. Then, the design the B needs XML description file the meta model MACHINE.ecore and UML class diagram meta model CLASS.ecore. On this basis, the MACHINE.ecore as source element model, the CLASS.ecore as the target element model, a detailed analysis of the model transformation tasks, and design a complete ATL model transformation rules. Achieve the B demand model to the PIM model conversion based on the conversion rules. Then, through an example to show the process and the effect of the conversion model, to verify the correctness of the model based on meta-model conversion ideas, at the same time, further evidence of the feasibility of the MDA process improvement. As for the above model transformation PIM intuitive GMF, based on meta-modeling tools and visualization of PIM technology research, in-depth analysis of the GMF's work mechanism and its general development methodology, design a graphical definition model, tool definition model, mapping model GMF model, and ultimately a UML class diagram modeling tools MyUmlModeler. MyUmlModeler B demand model conversion PIM visual graphic display XML text format is intuitive class diagram, while support for further editing.
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-14
1.1 Background topics 9-11
of 1.2 research status and significance of the topic 11-12
1.2.1 research status 11-12
1.2.2 topic basis and significance
1.3 research content 12-13
1.4 of this article organizational structure 13-14
2 MDA related theory and technology 14-30
the
MDA's 2.1 basic theory 14-18
2.1.1 MDA with the model defined 14
2.1.2 MDA model classification 14-15
2.1.3 PIM with the PSM 15-16
2.1.4 MDA lifecycle 16
2.1.5 MDA development process 16-17
2.1.6 MDA basic structures 17-18
2.2 MDA core specification 18-22
2.2.1 Unified Modeling Language UML 19
2.2.2 meta-object facility MOF 19-21
in 2.2.3 an XML metadata exchange XMI 21-22
2.2.4 Common Warehouse Metamodel CWM 22
2.3 metamodel element modeling 22-24
2.3.1 metamodel defined 22-23
2.3.2 yuan modeling techniques and tools 23-24
2.4 model conversion theory 24-28
2.4.1 model conversion concept 24-26
the 2.4.2 model transformation method 26-27
2.4.3 MDA model transformation framework 27-28
2.5 This chapter Summary 28-30
3 MDA process improvement and requirements modeling method B 30-38
3.1 MDA process improvement and its necessity 30-31
3.2 Formal Methods 31-32
3.3 formalization B Method 32-33
3.4 B requirements modeling feasibility analysis 33
3.5 B abstract machine mechanism for demand modeling 33-37
3.6 This chapter Summary 37-38
the
meta-model-based MDA model conversion technology research 38-70
4.1 B demand model to convert the PIM model overall structure 38-40
4.1.1 B demand model to PIM models transformation framework 38-39
4.1.2 B demand model to the PIM model transformation flowchart and steps 39-40
4.2 BParser.jjt-based B-demand model 40-45
4.2.1 BParser.jjt B language described 40-41
4.2.2 B demand model with UML class diagrams corresponding relationship analysis 41-44
4.2.3 Single machine needs the description specification defined 44
4.2.4 machine needs the description specification defined 44-45
4.3 build the B language compiler BParser 45-51
4.3.1 JavaCC introduction and JJTree 45-47
4.3.2 to build the B language compiler BParser 47
4.3.3 use demand for BParser compile B model 47-48
the
of 4.3.4 B Requirements XML description file format analysis with trimming 48-51
4.4 B needs XML description file meta-model design 51-54
4.4.1 EMF meta model 51-52
4.4.2 B Requirements XML description file element model 52-54
4.5 UML class diagram meta-model design 54-59
4.5.1 OCL auxiliary UML modeling 54-56
4.5.2 UML class diagram element model of the design goals 56
4.5.3 UML class diagram meta-model design 56-59
4.6 based on the design of the ATL model transformation rules 59-64
4.6.1 ATL language and syntax introduced 59-61
ATL transformation rules
4.6.2 metamodel mapping design 61-64
4.7 B demand model to the instance of the PIM model transformation testing 64-68
4.8 This chapter Summary 68-70
5 based on the GMF model of PIM technology research 70-91
5.1 EMF framework 70-71
5.2 GEF framework 71-73
5.3 GMF framework 73-75
5.3.1 GMF framework Introduction 73-74
5.3.2 GMF element model 74
5.3.3 GMF developed general methods 74-75
5.4 UML class diagram the plug MyUmlModeler the design 75-84
the
the 5.4.1 MyUmlModeler design target 75-76
the
of 5.4.2 MyUmlModeler element model of the design 76-78
the
the 5.4.3 domain generation model design 78-79
the
a 5.4.4 graphical definition model design 79-82
5.4.5 tool definition model design 82
the 5.4.6 mapping model design 82-84
5.4.7 generated model design 84
5.5 MyUmlModeler the interface and functionality 84-86
the 5.6 B demand model conversion PIM model visualization instance 86-89
5.7 This chapter Summary 89-91
6 Summary and Outlook 91-93
Acknowledgements 93-94
the
References 94-97
Appendix 97
Related dissertations
- A Pattern Based Model Tansformations
- Study on Software Modeling Technique Based on Model Driven Architecture
- Research on Model Transformation Based on MDA
- A Study on Model Transformation Based on MDA
- Research on Transformation Rule Modeling and Rule Code Generation
- Research on MDA-supported Design Pattern Modeling and Model Transformation
- Research on Model Driven Architecture Based Model Transformation Technologies in Software Engineering
- Modeling and Analyzing Trustworthy Embedded Softwares in Model Driven Architecture
- Research on Key Technologies of Computational Independent Model Driven Reconfiguration of ERP System
- The Analysis and Design of Rural Social Endowment Insurance System Based on MDA
- Business Domain-oriented Model Driven Architecture Expansion and Application
- Study and Implementation of Agricultural Test and Safety Platform Based on MDA
- The Analysis and Design of a Hospital Management System Based on MDA
- Research and Application on the Software Development Method Based on MDA
- Web services development based on model-driven architecture and integration research
- Research of Transformation from PIM to PSM Based on Metamodel
- Research of Model Transformation Method in MDA
- Model Driven Architecture Research
- Research on a Method of Developing University Cadre Management Information System Based on Model Driven Architecture
- Study of the XML-Based Tranformation Technology of PIM to PSM in MDA