Font Size: a A A

Design And Implementation On Visual Modeling Which Based On TENA Definition Language

Posted on:2013-05-22Degree:MasterType:Thesis
Country:ChinaCandidate:X H MaFull Text:PDF
GTID:2268330395489231Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:TENA, VTEA, Visual modeling, TDL, MagicDraw
PDF Full Text Request
Related items