摘要
针对高层体系结构(HLA)仿真结果数据日益增多,数据类型多变以及数据关系极其复杂的情况,介绍了利用HLA中对象模型模板(OMT)文件创建数据库关系表的通用方法。根据一般关系表的创建过程,分析了利用OMT文件中的数据定义,分别确定数据库关系表名称、字段名以及字段类型的原理。对OMT中类名过长及重复的问题,设计采用映射表的处理方法。对OMT文件中比较复杂的定义类型,包括多粒度或变粒度下简单数据类型、复杂数据类型以及嵌套复杂数据类型,详细分析了其对应的建表设计方案。最后根据实际仿真的需要,说明了关系表附加字段的选取过程。根据上述思路,设计开发了对应的工程软件,软件的成功应用证明了设计方案的有效性。
Because of the steadily increasing, multi- variant and more complex High Level Architecture (HLA) simulation data, the paper introduces a general method for creating database relational tables using Object Model Template (OMT) file in HLA. Based on the normal process of creating relational tables, it analyzes the process of choosing relational table name, field name and field data type according to the definitions in OMT files. It utilizes map tables to resolve the problem of over - length and iterative class name in OMT files. For the more complex definition types in OMT files, including simple data type, complex data type and nesting complex data type of multi - car- dinality or variant cardinality, it explains the corresponding design schema. Finally, it introduces the course of picking up additional fields depending on practical simulation demand. It develops the related software based on above mentioned consideration. The successful application of the software proves the effectiveness of the whole design.
出处
《计算机仿真》
CSCD
2006年第5期119-122,共4页
Computer Simulation
关键词
仿真结果数据
层体系结构
象模型模板
度
Simulation result data
High level architecture (HLA)
Object model template (OMT)
Cardinality