Research on the Key Technology of Executable Metamodel
- Author
- LanQingGuo
- Advisor
- LiuShuFen
- School
- Jilin University
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Doctoral dissertation
- Year
- 2006
- Downloads
- 482
- Citations
- 10
- Model Driven Architecture
- Executable meta-model
- Modeling Language Design
- Surface syntax
- Abstract syntax
- Semantics
Abstract
Nowadays software engineers must be faced with complexity, diversity and changeduring software development. MDA proposed by OMG aims at these difficult problems.Complexity can be contend with abstracting the real world problem and then constructingcorresponding problem domain models, since these models were expressed in a modelinglanguage which is independent of implementation details, diversity can be handled bytransforming these platform independent models into platform specific model using modeltransformation tools. Change, such as the change of system requirement and implementationtechnology, will be manged or reduced by modifying model and (or) configuring relevantmodel transform tools. Different model language are needed according to different domains,and constructing a one-size-fits-all model is impossible. The executable metamodel can beused to specify models of different requirements and define them in a unified way. All of themodel languages in existence are poor in semantics, and thus all relevant applications, such asmodel transformation, cannot be specified precisely with them. The executable metamodel is asemantically rich model language, so other models extended from it also obtain the precise andperformable semantics. The executable application model can be validated, tested, emulatedbefore it is realized. The executable ability of model is elementary for model transformationapplication and other relevant application.The research on the key technology of executable metamodel, based on OMG’s MOF,introduce the language engineering method to study the key technology for execution,furthermore, based on the result, study the relative technology to specify metamodel’smodeling facility which specifies other executable model. Executable metamodel adoptmodeling language design pattern to design. This pattern includes two relationships to twomutual exclusive parts. One is modeling abstract syntax and surface syntax respectively, Theother is modeling abstract syntax model and semantic domain model repecitively from relativeconcepte of model and instance. Then, with the mapping of concepts between abstract syntaxand semantic domain, the semantics of model language are devised. The method, adoptingmodel language to devise model and specifying model language semantics, which is based thefact, that the explaining and being explained relationship in model level and instance levelrepectively, can be used to specify any abstract level model semantics.Compared with the concrete expression of notion (surface syntax), abstract syntaxemphasizes the abstract expression of notion, does not concern what is presented to the usersor the meaning of the components. Abstract syntax of executable metamodel mainly specifiesthe concepts of executable metamodel and well-formed relationship between the concepts.EMOF (Essential MOF model) only provides the abstract syntax model element of specifyingstatic concept of language. In this article, EMOF is extended by adding new types of concept,expression, primitive behavior, compound behavior, link behavior, message and exceptionextension, and thus constructs the most refined executable core (meta-kernel model language)is constructed. From the extension of this meta-kernel model language, many other usefullanguages can be constructed, such as the meta-constraint language which is used to restrictthe favorable relationship of abstract syntax model, meta-grammar language that can specifyany model language grammars, and the meta-diagram language, used to specify other modellanguage diagrammatic syntax.Surface syntax specifies the symbol of modeling language. The common-used surfacesyntax of a modeling language includes textual surface syntax and diagrammatic surfacesyntax. Executable metamodel provides both the textual surface syntax and the diagrammaticsurface syntax, and with the text description of diagrammatic syntax, unifies the textualsurface syntax and diagrammatic surface syntax. The extended BNF grammar is used inexecutable metamodel to specify its text syntax rules. This extended BNF is named asmeta-grammar language. With the synthesis of concept instances of abstract syntax model, itcan build the mapping relationship between surface syntax and abstract syntax, which enablesthe concept of abstract syntax modeling to be conveniently used in surface syntax and increasethe efficiency of adopting model language surface syntax for different domain experts. For thepurpose of improve the efficiency of build the language grammar, in the article, a quasi-quotemechanism is studied which is used to retrieve their abstract syntax corresponding the existingtextual syntax. With the quasi-quote mechanism, the abstract syntax of text syntax elementwhich has been built by the system can be reused to construct new syntax element. No matterconstructing the abstract syntax straightly or with the help of quasi-quote mechanism, theoriginal text syntax is not retained that lead to the result that the text syntax is lost, and thedetails of the original syntax is often used when the reverse transformation from abstractsyntax to text syntax is done, especially when debugging a model. Syntax sugar supports this.New syntax element can be constructed by transform to existing element with the syntax sugar.The desugar operation performs to create an instance of a new syntax category when thematamodel is computing or compiling on the instance. By leaving the desugaring step to thelast possible moment, the structure of the original syntax construct is retained as long aspossible. The diagrammatic syntax of executable modeling language is achieved fromextending the diagram exchang metamodel for UML (DIU), which shows the abstractexpression of UML diagrammatic syntax. The diagrammatic syntax’ construction is dynamicand incrementally process, so is the interpretion from diagrammatic syntax to abstract syntax.This process is different from textual syntax interpretation process. The diagrammatic syntaxcannot be interpretted in batch. The dynamic and incrementally interpretation of diagrammaticsyntax may be solved using observer pattern in practice, but it lead to high coupling betweendiagrammatic syntax and abstract syntax. In this article the problem is solved the problem inmapping way.The semantics of executable metamodel is specified by establishing the mapping betweenthe concept of abstract syntax model and the abstract semantics domain, which is similar to thedenotational semantics. The root element of abstract syntax in executable metamodel inheritsthe ability of abstract the concept “object” in abstract semantics domain by reflection, whichmakes the executable metamodel obtain the self-described ability. The virtual machine ofexecutable metamodel expresses the concept of abstract semantic domain in meta-kernelmodel language in the form of the instruction of virtual machine, the executable semantics ofexecutable metamodel in the form of abstract state-machine. Executable metamodel can beused to construct other modeling language. In this article, the metamodeling approach of otheroften-used formal semantics such as denotational semantics, translational semantics,operational semantics and extensional semantics is also introduced. With these methods, wecan build other modeling language from extending the executable metamodel. The chosen ofdifferent kinds of semantics metamodeling approachs depends on the type of modelinglanguage defined. Denotational semantics is suitable for a declarative and non-executabledescription. If a language has concepts that need to be evaluated, executed or instantiated thenthey should be modelled using an operational, translational or extensional approach. Atranslational approach can be used if a concept is a form of syntax sugar of more primitiveconcepts apparently;an extensional approach can be used if the concept need reserving andexisting concept may be reused;an operational approach can be used to build an interpreter ifthere is no means to reuse existing concept easily.Through the research on modeling language design pattern, abstract syntax, surfacesyntax, and semantics of the executable metamodel, we develop a metamodel language systemthat is used to validate the executable model language. The system bootstraps itself by the bootfile written by the executable model language and initializes performable environment of itsvirtual machine. This performable environment gives meta-kernel language, meta-constraintlanguage, meta-grammar language and meta-diagram language based on Java swing. It hasbeen proved in practice that the executable metamodel enable modeler to construct modellanguages for different domain in a highly efficient way and these model languages can beexecuted in a virtual way, used for validation and used for simulating an concrete application.Moreover, the model transformation language, which can be used transform platformindependent model into platform specific model, can be constructed based on the executablemetamodel.In conclusion, the achievement of this dissertation enrichs the executable metamodeltheory and makes the applied research on the executable metamodel theory progress. It is ofgreat theory significance and practice value. It provides effective methods and means for theresearch on the executable metamodel and its integration development environment.
Table of contents
The first chapter 8-19
1.1 Background 8-9
1.2 MDA specification overview and issues 9-15
1.2.1 MDA 10-11
1.2.2 UML 11-12
1.2.3 MOF 12-13
1.2.4 QVT 13 -15
1.2.5 issues Summary 15
1.3 main content 15-17
1.4 Research significance 17
1.4.1 practical significance 17
1.4.2 theoretical significance 17
1.5 subject background 17
1.6 the dissertation structure of 17-19 <br / > Chapter II Research brief 19-26
2.1 executable UML the 2.2 Element Modeling 19-21
21-22 <br / > 2.3 language extensions technology 22-24
2.4 Language Integrated 24-25
2.5 Summary 25-26
Chapter executable the theoretical basis of the model 26-73
3.1 metamodel 26
the 3.2 executable yuan model structure needs 26-29
3.3 model language design mode the 29-32
3.3.1 concept 29-30
3.3.2 OCL design mode 30-31
3.3.3 Summary 31-32
3.4 abstract syntax model 32-43
3.4.1 the concept of abstract syntax model nbsp 32-33
3.4.2 Abstract Syntax build process ; 33-36
3.4.3 Abstract Syntax build cases nbsp 36-41
3.4.4 MOF abstract syntax model; 41-42
3.4.5 Summary 42-43
3.5 surface syntax 43-61
3.5.1 text syntax 43-51
3.5.2 Graph grammars 51-61
3.5.3 Summary 61
3.6 semantic 61-72
3.6.1 semantic concepts 61-62
3.6.2 Semantic demand 62
3.6.3 semantic and meta-model the 62-63
3.6.4 per layer structure and semantics 63-64
3.6.5 yuan semantic modeling method the 64-72
3.6.6 use the principles of the semantic approach 72
3.7 Summary 72-73 < br /> Chapter executable metamodel design 73-110
the 4.1 executable yuan model package structure the 73-74
4.2, $ languages ?? extension of the concept of the static model 74-102
4.2.1 74-79
4.2.2 Dynamic model concept expansion 79-96
4.2.3 text surface syntax of 96-102
4.3 Elements Constrains language 102-105
4.3.1 expression extension 102-103
the 4.3.2 text surface syntax 103-105
4.4 gram language 105-109
4.4.1 abstract syntax model 105-107
4.4.2 text surface syntax 107-109
4.5 Summary 109-110
Chapter executable metamodel achieve 110-132
5.1 MLS Overview 110 - 111
5.2 MLS critical to achieve 111-119
5.2.1 virtual machines are found; 111-117
5.2.2 executable metamodel critical to achieve 117-119
5.3 a telecom network management application examples 5.3.1 Topology Modeling Language 119-131
120-131
5.4 Summary 131 -132
Chapter Summary and Outlook to References 132-134
134-139
pursuing PhD during the academic and other achievements 139-141
Summary 141-144
ABSTRACT 144-148
Acknowledgements 148
Related dissertations
- Research on Model Driven Software Development Method and Implementation Technology
- Research on Specialized Rule Engine Component Based on MDA
- Design and Implementation of Enterprise Information System Integrated Supervision Platform
- The Development of N170Component for Visual Word Cognitong in an Artificial Language Training Study
- "Image" and "semantic" -- on the film "the Nanjing massacre"
- Comparative Study on the Compound Word between Japanese and Korean
- A Study of Chinese EFL Learners' Use of Synonyms
- Cognitive Study of English VC Compound Adjectives
- Cognitive Analysis of the Semantics of English Subjunctive Mood
- Interactive Relationship between Syntax and Semantics in Parallel-Structure English Proverbs
- The Study on Chinese Onomatopoeia and Its Implications on Oral Chinese Teaching
- New Uasage of "Bei" under the Impact of Network
- "A B" construction research
- "Zutangji" of the Linkage Structure Research
- Affix "family" and "the party" "fans", "control" research
- Systematic Research on the Universal Quantifier "Yige+Noun Phrase"
- An Investigation on the Combination Forms of Modern Chinese and English Reciprocal Verbs Based on the Language Cropus
- Study on the Sentence of "(NP1)+V+得+(NP2)+VP" in Modern Chinese
- The Contrastive Study of Yes No Questions in Chinese and Vietnamese
- The Multiple Investigation of Scope Adverb "Daduo"