Meta-modeling Technology and Its Application
- Author
- ChangShanShan
- Advisor
- ZhuJiaGang
- School
- Jiangnan University
- Major
- Computer Software and Theory
- Classification
- TP311.5 Software Engineering
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 66
- Citations
- 0
Abstract
Meta-modeling in UML is one of fatal parts of software generating. The relevant theoryand technology on meta-modeling have been being applied in software generating regionssuch as Domain Specific Language.The technology of automatic generation of meta-modelinstance not only can reduce the difficulty and cost of software development, but also canimprove software development efficiency. First, this paper proposes a graph grammar togenerate an instance, developed the ability to syntax-based language into the languagemeta-model-based techniques. That is, from the meta-model instance of the class diagram toclass diagram of the formal model transformation rules, for instance the automatic generationof the model class diagram technique laid the theoretical foundation. Second, based on thegraph grammar of meta-model instance generation, proposed the corresponding instance ofthe meta-model diagram automatic generation algorithm and proved that the algorithm infigure syntax equivalence. And in the visual UML modeling platform to implement thisalgorithm, has been automatically generated from the UML meta-model instance of a largenumber of expected results. Third, combined the technology of automatic generation ofmeta-model instance, used in the automatic generation of lexical analyzer. Based on the graphgrammar of meta-model instance generation, add a different qualification, you canautomatically generate a large number of different lexical meet the requirements of the lexicalanalyzers, lexical analyzer to improve the development efficiency, and reduce developmentcosts.The main work of this paper is as follows:Firstly, this paper analyses the modeling theory and its research status, Meta-modelingtheory has been widely used in a large number of engineering practice. Display the feasibilityand superiority of the element model. And introduces the latest achievements of meta-modeling–meta-model instance graph grammar, and starting from the angle of application,the paper puts forward the content, element model examples of automatic generationtechnique.Secondly, according to the meta-model instance graph grammar, put forward meta-modelinstance diagram automatic generation algorithm, and proves that the algorithm and graphgrammar equivalence. In this algorithm, the visualization software development environmentin the realization of this algorithm, obtained from the UML element model to automaticallygenerate the large number of examples of the expected results.Thirdly, the meta-model of automatic generation of examples of techniques and compilertheory, applied to the automatic generation of lexical analyzer. According to the automaticstatemachine theory and lexical analyzer theory, finite state automata and the lexical analyzerthat existed between one one corresponding relationship. The one one corresponding relation,in meta-model instance diagram automatic generating algorithm based on constraintconditions were obtained by adding lexical analyzer example diagram automatic generatingalgorithm.
Table of contents
Summary 3-4
Abstract 4-7
first chapter raised questions 7-13
1.1 7-10
1.1.1 element Modeling theory and research status 9
1.1.2 element modeling problems and problem analysis 9-10
1.1.3 metamodel instance autogeneration theoretical analysis starting 10
1.2 research , research methods and research platform research starting 10
1.2.1 herein 10
1.2.2 of this paper and its contents and link content between existing research experimental platform 10
1.2.3 herein 10
1.3 of this paper work Overview and content arrangement research overview 10-13
1.3.1 herein contents 10-11
1.3.2 herein arrangements 11-13 <br class 13-15
2.1.1 with inherited ; / > the second chapter metamodel instance generated illustration grammar IGGG 13-23
2.1 meta-model and its formal description nbsp Figure 13
2.1.2 multiplicity of definitions 13
2.1.3 of class diagrams with multiple inheritance 13-14
2.1 .4 relationship model and metamodel instances and examples of model 14-15
2.2 metamodel instance syntax diagram generation and its formal description 15-22
2.2.1 Dollar the syntax diagram model instance generation 15-18
2.2.2 examples nbsp generator model instance from Figure grammar ; 18-21
formalized 2.2.3 metamodel instance syntax diagram generation Description 21-22
2.3 Summary 22-23
Chapter metamodel instance autogeneration algorithm to prove its equivalence with IGGG 23-43
3.1 metamodel instance autogeneration algorithm 23-27
3.2 metamodel instance autogeneration algorithm with IGGGG equivalence of 27-35
3.2. Figure 1 yuan model instances prove equivalence algorithm to automatically generate and IGGG of 27-31
3.2.2 examples nbsp generator model instance by the algorithm ; 31-35
3.3 metamodel examples autogeneration algorithm program 35-41
3.4 Summary 41-43
Chapter IV syntax diagram method is applied automatically generated lexical analyzer 43-57
4.1 automatic state machine theory and lexical analyzer introduced [29,30,31] 44-46
4.1.1 automatic state machine theory 44-45
4.1.2 automatic finite state machines and regular grammar 45-46
4.1.3 lexical analyzer and regular grammar 46
4.2 methods used in lexical analysis syntax diagram automatically generates 46-49
4.2.1 constraints arising from its model nbsp given lexical analyzer grammar ; 46-48
4.2.2 added to the figure in the syntax IGGG constraints given lexical analyzer model 48-49
4.3 lexical analyzer instance autogeneration algorithm and implementation 49-55
4.3.1 automatically generated lexical analyzer example of FIG. algorithm 49-52
4.3.2 by adding specific examples of constraints generated lexical analyzer syntax diagram element model 52-55
4.4 Summary 55 - 57
Chapter summary and Outlook 57-59
5.1 summarizes 57-58
5.2 Prospects 58-59
Thanks 59-60
References 60-63
Appendix a: in the study published by the author during a master's degree thesis 63-64
Appendix B: Dollar examples of the use of the model generation software and run a screenshot 64-68
Appendix C: examples of meta-model generation software source code 68-89
Related dissertations
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Study on conversion and UML testing and model based on AADL
- Analysis of Design and Implementation of B2C E-business Store System
- Designing and Implementing for Guizhou Huaxi Guest House Information Management System
- Design and implementation of the Qilu Petrochemical Industries Co bidding management system
- Design and implementation of hotel management system based on UML
- Design and Implementation of Personnel Management System of University
- The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
- Design and Implement of Telematics System Service Center Subsystem
- The Design and Realization of Motor Vehicle Pre-registration System
- Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The architecture of B/S auto repair technical support system design and Implementation Based on
- Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
- Design and Implementation of Chengdu Bank Credit Decision Support Information Systems
- Design and Implementation of Sichuan Province Security Technology Center PPE Examining Information Management System
- Based on B/S Mode of Tibetan and Qiang Style Shopping Site Design and Implementation
- Design and Implementation of Staff Education and Training System in Electric Power Bureau of San Ming
- Design and Implementation of Campus Office Platform Based on Android