CN103399731B - The application process of FED file based on HLA distributed interactive system - Google Patents

The application process of FED file based on HLA distributed interactive system Download PDF

Info

Publication number
CN103399731B
CN103399731B CN201310163615.1A CN201310163615A CN103399731B CN 103399731 B CN103399731 B CN 103399731B CN 201310163615 A CN201310163615 A CN 201310163615A CN 103399731 B CN103399731 B CN 103399731B
Authority
CN
China
Prior art keywords
abstract
class data
fed
interactive
hla
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310163615.1A
Other languages
Chinese (zh)
Other versions
CN103399731A (en
Inventor
李广运
孟红
薛姬荣
任海龙
朱丹
宋毅
李文伟
黄丹
孙勇
易中凯
冯源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ordnance Science and Research Academy of China
Original Assignee
Ordnance Science and Research Academy of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ordnance Science and Research Academy of China filed Critical Ordnance Science and Research Academy of China
Priority to CN201310163615.1A priority Critical patent/CN103399731B/en
Publication of CN103399731A publication Critical patent/CN103399731A/en
Application granted granted Critical
Publication of CN103399731B publication Critical patent/CN103399731B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to transmission and IP distributed interactive system communication technical field, be specifically related to the application process of a kind of FED file based on HLA distributed interactive system.The abstract of concrete data structure is processed by the program, multinomial for the object class in FED file specific object is changed into an abstract attribute, multinomial for interactive class design parameter is changed into an abstract parameter.Relative to traditional scheme, FED file versatility is good, stability is high, coupling is low for this.In the case of without re-creating, edit and revising, be i.e. applicable to other based on HLA distributed interactive system;This general FED file can meet all kinds and any number of data structure;FED file is independent of the concrete data structure of a certain distributed interactive system, and the parsing of concrete data structure is placed in process coding, decreases establishment FED paper work amount, enhances the flexibility of system.

Description

The application process of FED file based on HLA distributed interactive system
Technical field
The present invention relates to transmission and IP distributed interactive system communication technical field, be specifically related to one Plant the application process of FED file based on HLA distributed interactive system.
Background technology
Key issue in distributed interactive systems development process is: multiple DBMS member are each other Between Interoperability and its core system member communication issue to each other.HLA is as building Mould and the High Level Architecture of emulation, its core concept is interoperability and resource recycling, its Distinguishing feature is by run time infrastructure RTI, it is provided that general, relatively independent support clothes Business program, separates system application with the back-up environment of bottom, and systemic-function that will be concrete is real Existing, system operational management separates with bottom communication transmission three, hidden respective realizes details, So that each several part can be developed relatively independently, and the elder generation in respective field can be made full use of Enter technology.
FED file is communication standard based on HLA distributed interactive system, be RTI member it Between communication interface, it describes the version number of HLA standard and becomes with distributed interactive system RTI The data structure interfaces communicated between Yuan.
For current HLA distributed interactive system, in the design process of FED file, existing Technical scheme be: first determine between distributed interactive system process the object class information of communication Concrete data structure and the concrete data structure of Interactive class information, then utilize such as OMDT it The tool software of class carries out creating, edit and revising, and process is loaded down with trivial details, dependence is strong, belongs to A certain specifically based on HLA distributed interactive system federal data execution file.As it is shown in figure 1, It uses object class to possess multiple specific object, and interactive class possesses multiple design parameter, defines non- The most careful, use process is excessively limited to so that autgmentability is poor.Thus, based on such technology The FED file that scheme is formulated has a disadvantage in that
(1) it is completely dependent on a certain specific HLA distributed interactive system due to its concrete data structure System so that its specificity is too high, and coupling is the most too strong, can only be applied to this with limiting to specific HLA distributed interactive system, does not the most possess versatility, and user is distributed at the HLA that exploitation is new During formula interactive system, it is necessary to come according to the data structure of new HLA distributed interactive system completely Reformulate the FED file of correspondence so that development efficiency is low, and repeated work is numerous and diverse, resource Waste is serious.
(2) based on the feature that above-mentioned specificity is too strong, the FED file institute that prior art is formulated Special HLA distributed interactive system is facing new demand and its own system upgrading to be carried out Time, in the face of newly-increased demand characteristic, adaptive change do not supported by original FED file formulated, Meeting after extension is upgraded if the demand of HLA distributed interactive system, it is right to reformulate The FED file answered, equally exists development efficiency low, and repeated work is numerous and diverse, and the wasting of resources is tight The problem of weight.
Summary of the invention
(1) to solve the technical problem that
The technical problem to be solved in the present invention is: how to provide based on HLA distributed interactive system The application process of the FED file of system, ensure that good the leading to of FED file by the program By property, and it is made to possess autgmentability freely.
(2) technical scheme
For solving above-mentioned technical problem, the present invention provides a kind of based on HLA distributed interactive system The application process of the FED file of system, described method comprises the steps:
Step S1: formulate general FED file according to HLA agreement, this general FED literary composition In part, in the object data structure that will be originally formulated based on specific HLA system multiple specifically Attribute unification is an abstract attribute, and by multiple design parameters unification in interaction data structure is One abstract parameter;
Specifically, this general FED file includes object class data and interactive class data, its In, define an abstract attribute and carry the specifying information of object class data interaction, define one Abstract parameter carries the specifying information of interactive class data interaction;Described abstract attribute and abstract ginseng Number is specifying information initial address in internal memory;
Step S2: when described general FED file sends in HLA distributed interactive system, Described object class data and interactive class data are encoded respectively;Specifically, in object class Respectively plus header in data and interactive class data, described header includes: object class data Or the type of the specifying information of interactive class data and length;
Step S3: when described general FED file receives in HLA distributed interactive system, Described object class data and interactive class data are decoded respectively;Specifically, to being received To object class data and interactive class data attached by header be decoded, read it concrete The type of data structure and length, and according to described type and length information, obtain abstract genus The specifying information that property or abstract parameter are positioned.
(3) beneficial effect
Compared with prior art, its key point is to concrete data structure to technical solution of the present invention Abstract process, multinomial for the object class in FED file specific object is changed into one and takes out As attribute, multinomial for the interactive class in FED file design parameter is changed into an abstract parameter. Relative to traditional scheme, FED file versatility is good, stability is high, coupling is low for this.Its In, versatility refers to well in the case of without re-creating, edit and revising, and gets final product horse On be applicable to other based on HLA distributed interactive system;Stability height refers to base, and this leads to All kinds and any number of data structure can be met with FED file;The low finger of coupling It is this FED file concrete data structure of not relying on a certain distributed interactive system, specifically The parsing of data structure is placed in process coding, decreases establishment FED paper work amount, Enhance the flexibility of system.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of FED file data form in prior art.
Fig. 2 is the flow chart of technical solution of the present invention.
Detailed description of the invention
For making the purpose of the present invention, content and advantage clearer, below in conjunction with the accompanying drawings and real Execute example, the detailed description of the invention of the present invention is described in further detail.
Embodiment
The present embodiment provides the application of a kind of FED file based on HLA distributed interactive system Method, as in figure 2 it is shown, described method comprises the steps:
Step S1: formulate general FED file according to HLA agreement, this general FED literary composition Part is compared with existing FED file content, the most only to object class and the use of interactive class Mode is innovated, the object data knot that will be originally formulated based on specific HLA system In structure, the unification of multiple specific objects is an abstract attribute, and by tools multiple in interaction data structure The unification of body parameter is an abstract parameter;
Specifically, this general FED file includes object class data and interactive class data, its In, define an abstract attribute and carry the specifying information of object class data interaction, define one Abstract parameter carries the specifying information of interactive class data interaction;Described abstract attribute and abstract ginseng Number is specifying information initial address in internal memory;
Step S2: when described general FED file sends in HLA distributed interactive system, Described object class data and interactive class data are encoded respectively;Specifically, in object class Respectively plus header in data and interactive class data, described header includes: object class data Or the type of the specifying information of interactive class data and length;
Step S3: when described general FED file receives in HLA distributed interactive system, right Described object class data and interactive class data are decoded respectively;Specifically, to received Object class data and interactive class data attached by header be decoded, read it and specifically count According to type and the length of structure, and according to described type and length information, obtain abstract attribute Or the specifying information that abstract parameter is positioned.
The above is only the preferred embodiment of the present invention, it is noted that lead for this technology For the those of ordinary skill in territory, on the premise of without departing from the technology of the present invention principle, it is also possible to Making some improvement and deformation, these improve and deformation also should be regarded as protection scope of the present invention.

Claims (1)

1. an application process for FED file based on HLA distributed interactive system, its Being characterised by, described method comprises the steps:
Step S1: formulate general FED file according to HLA agreement, this general FED literary composition In part, in the object data structure that will be originally formulated based on specific HLA system multiple specifically Attribute unification is an abstract attribute, and by multiple design parameters unification in interaction data structure is One abstract parameter;
Specifically, this general FED file includes object class data and interactive class data, its In, define an abstract attribute and carry the specifying information of object class data interaction, will FED The multinomial specific object of object class in file changes into an abstract attribute, defines an abstract ginseng Number carries the specifying informations of interactive class data interaction, will interactive class in FED file many Item design parameter changes into an abstract parameter;Described abstract attribute and abstract parameter are concrete letter Breath initial address in internal memory;
Step S2: when described general FED file sends in HLA distributed interactive system, Described object class data and interactive class data are encoded respectively;Specifically, in object class Respectively plus header in data and interactive class data, described header includes: object class data Or the type of the specifying information of interactive class data and length;
Step S3: when described general FED file receives in HLA distributed interactive system, Described object class data and interactive class data are decoded respectively;Specifically, to being received To object class data and interactive class data attached by header be decoded, read it concrete The type of data structure and length, and according to described type and length information, obtain abstract genus The specifying information that property or abstract parameter are positioned.
CN201310163615.1A 2013-05-07 2013-05-07 The application process of FED file based on HLA distributed interactive system Expired - Fee Related CN103399731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310163615.1A CN103399731B (en) 2013-05-07 2013-05-07 The application process of FED file based on HLA distributed interactive system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310163615.1A CN103399731B (en) 2013-05-07 2013-05-07 The application process of FED file based on HLA distributed interactive system

Publications (2)

Publication Number Publication Date
CN103399731A CN103399731A (en) 2013-11-20
CN103399731B true CN103399731B (en) 2016-08-31

Family

ID=49563365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310163615.1A Expired - Fee Related CN103399731B (en) 2013-05-07 2013-05-07 The application process of FED file based on HLA distributed interactive system

Country Status (1)

Country Link
CN (1) CN103399731B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055530A (en) * 2006-12-31 2007-10-17 中国人民解放军63791部队 Embedded type distributed simulation platform based on HLA facing to space flight measurement and control and its realization method
CN101504688A (en) * 2009-03-24 2009-08-12 北京理工大学 HLA based simulation software interaction method
CN102306223A (en) * 2011-08-31 2012-01-04 哈尔滨工程大学 High level architecture (HLA) technology-based ship gas turbine device integrated simulation platform and implementation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055530A (en) * 2006-12-31 2007-10-17 中国人民解放军63791部队 Embedded type distributed simulation platform based on HLA facing to space flight measurement and control and its realization method
CN101504688A (en) * 2009-03-24 2009-08-12 北京理工大学 HLA based simulation software interaction method
CN102306223A (en) * 2011-08-31 2012-01-04 哈尔滨工程大学 High level architecture (HLA) technology-based ship gas turbine device integrated simulation platform and implementation method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾艳丽.基于HLA的联邦开发过程的研究和应用.《中国优秀硕士学位论文全文数据库》.2005, *
王须刚.基于HLA的分布式多平台信息交互及视景仿真系统设计.《中国优秀硕士学位论文全文数据库》.2010, *

Also Published As

Publication number Publication date
CN103399731A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN102981855A (en) Template-based interface autogeneration method and system
CN103064667A (en) Method for controlling hardware equipment based on JavaScript extension
WO2019047441A1 (en) Communication optimization method and system
CN103346902B (en) The method and system of data acquisition scheduling
CN107633125B (en) Simulation system parallelism identification method based on weighted directed graph
CN105912339A (en) development and integration method and system
CN101841515A (en) Target variable protocol data unit codec code automatic generation implementation method
CN105930138B (en) A kind of message treatment method and device
CN102981823B (en) A kind of domain driven development plug-in system
CN105138603A (en) Oracle database migration tool for carrying out migration from HP-UX platform to K-UX platform
CN103218706A (en) Method and device for generating workflow file and executing method and system for generating workflow file
CN103399735A (en) Method for developing intermediate layer of remote function call interface
CN103077039A (en) Software development platform for embedded industrial control instrument
CN103294599A (en) Cloud-based method for cross test of embedded software
CN105159974A (en) Method for automatically generating cross-data-source web service
CN104834715A (en) Website generating method and system based on components and container
CN103473105A (en) Realizing method of online code completion function
CN103399731B (en) The application process of FED file based on HLA distributed interactive system
CN103425490A (en) Management method based on running object data in CRM system
CN101620592A (en) Method for storing data by combination of PDF and XML
CN103257883A (en) Web based wireless sensing network remote stimulation system
CN105592097B (en) A kind of client-based asynchronous interactive information approach
CN102262703A (en) Method for constructing figure and RDF (Radio Direction Finder) model for designing intelligent transformer substation
CN105260821A (en) Method for rapidly constructing energy efficiency evaluation service for high-energy-consumption electricity enterprise
CN101145959A (en) A method and system for automatic realization of network management function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160831

Termination date: 20180507