Design and Implementation on Visual Modeling Which Based on TENA Definition Language
- Author
- MaXianHui
- Advisor
- LiYing
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 6
- Citations
- 0
Abstract
Test and Training Enabling Architecture (TENA) is a common architecture developed by U.S. Department of Defense for test and training community. Its purpose is to achieve interoperability, reusing and composability among ranges, facilities and simulations. Through the study of TENA, the paper presents a virtual test validation framework, which called VTEA(Virtual Test and Evaluation Architecture). VTEA is combined with TENA and CORBA. The advantage of VTEA is to make up for the short-coming of TENA on the real-time support.This paper presents a test-object-framework auto generating system according to object model, a model building tool for this system based on TDL(TENA definition language) and the design of this tool. This software based on TDL is the solution of test-object-farmwork auto generating. And provide a way to speed up the productivity of developers.The key part of this paper is the visualization in the modeling tool. The way of modeling is based on TDL and UML class diagram. TENA object model is usually described in TDL. The benefit of UML modeling is visualization, and providing a way to convert UML to TDL code. And It is good for communication among developers of project modeling. On the other hand, it’s easy to modify, refine and maintain the object model.Taking the difference of the XMI of UML modeling tools into account, this paper provides a solution—use MagicDraw plug-in to achieve our goals. The MagicDraw can be used for drawing UML class diagram for TDL by adding the language feature of TDL into it. Converting the UML class diagrams to TDL code is based on the mapping from UML class diagrams to TDL code. In converting from TDL code to UML class diagram, the primary task of this work is to analysis the AST. We summarise the TDL grammar rules by studying the structure of TDL, and describe it in EBNF. We make the use of the JavaCC for parsing TDL code. By using of the JavaCC, we can get the AST of TDL code, then using the visitor pattern to Traverse the syntax tree in order to generate the UML structure. Finally, we can draw UML class diagrams according to the the MagicDraw drawing component.In the end, the paper examine whether the tool can do the conversion work appropriately through some examples. The results show that the tool performs well and our design is correct.
Table of contents
Summary 3-5
Abstract 5-7
directory 7-9
LIST 9-10
Table directory 10-11
Chapter 1 Introduction 11-19
1.1 research background 11-16
1.2 thesis content and objectives 16-17
1.3 thesis significance 17
1.4 thesis structure 17-18
1.5 Summary 18-19
Chapter 2, the relevant technical foundation 19-30
2.1 TENA metamodel 19-23
2.1.1 TENA metamodel attributes of the elements described 19 - 22
2.1.2 TENA meta-model representation of the main elements 22-23
syntax specification 2.2 TDL language 23
2.3 -based visual modeling TDL the key technology 23-29
2.3.1 compiler technology 24-27
2.3.2 compiler automatically generates tool 27-28
2.3 .3 JavaCC tool 28
2.3.4 visitor pattern 28-29
2.4 Summary 29-30
Chapter 3 test subjects run framework for automatic generation system research and design 30-40
3.1 operating framework automatically generates test object system design 30-32
3.2 operating framework automatically generates test object system solutions program 32-39
3.2.1 TDL -based composition structure of the model building software tools 32-33
3.2.2 TDL -based model to build software tools working mechanism 33-34
3.2.3 TDL model -based software build tool design ideas 34-39
3.3 Summary 39-40
4 Chapter TDL -based visual modeling design ideas 40-55
4.1 TDL language definition module design 41-42
4.2 UML class diagram to code generation module design TDL 42-53
4.2.1 MagicDraw plug-in mechanism 43
to TDL code mapping 4.2.2 UML class diagrams 43-49
4.2.3 UML TDL class diagram to code generation module design 49-53
4.3 TDL code into UML class diagram drawing module design 53-54
4.4 Summary 54 - 55
Chapter 5 of TDL -based visual modeling and verification to achieve 55-69
5.1 TDL language definition module 55-56
5.2 UML class diagram and TDL code into each module 56-64
5.2.1 custom jjt file 57-61
5.2.2 use JavaCC tools to get the abstract syntax tree 61 -. 62
5.2.3 from the abstract syntax tree to the intermediate types 62-63
5.2.4 mapping from the middle to the UML structure type 63-64
5.2.5 draw UML class diagrams from UML structure 64
5.3 instance to verify 64-68
5.4 summary 68-69
Chapter 6 summarizes the Looking 69-71
6.1 Full Summary 69-70
6.2 job Outlook 70-71
References 71-73
master's degree during the main research 73-74
Thanks syntax Specification 74-75
Appendix TDL language 75-81
Related dissertations
- Development of the Visual Modeling Software for Virtual Test System Platform
- Design and Implement of Visual Simulation System Based on OpenGL for Rehabilitation Training
- Research on3D-MTraining and Its Key Technologies
- Design and Research of Modular Reconfigurable Simulation Platform for Robot
- Mapping and Realization of UML model and Panschema model of enterprise development platform
- Preliminary Study of Orchard Monitoring and Planning Model
- Study on Virtual Prototype of Anti-resonant Vibrating Machine and Its Performance Prediction
- Visual Hierarchical Use Case Modeling and Evolution Method Based on Graph Transformation
- Study on Visual Dynamic Modeling Technique of Hydraulic System and Its Realizing Method in Software
- Research on GIS Services Chain Integrated Model and Realization Based on Workflow
- EasyPAB: supporting the development of parallel applications for platforms
- A Statechart Verification Tool for Automotive Electronics-Smart Automata
- Modeling and Function Implementation of Intelligent Tourism Information System
- Application Research on Visualization Modeling Technology in Hydraulic Pressure CAI Simulation Experiment
- Research and Application of the UML language - UML-based data transmission system modeling practice
- The Application of UML to the Evolution Module of Invention Tool
- Theoretical Analysis on Heat Expansion of Steam Turbine Casing and Its Application
- Research and Implementation of the Individualization Teaching Design Modeling
- Pilot Study of Structural Equation Modeling
- Design of Software for Computation of Object Scattering and Analysis of Missile RCS