CN101482828A - Universal distributed vision simulation system based on HLA and its implementing method - Google Patents
Universal distributed vision simulation system based on HLA and its implementing method Download PDFInfo
- Publication number
- CN101482828A CN101482828A CNA2009100782652A CN200910078265A CN101482828A CN 101482828 A CN101482828 A CN 101482828A CN A2009100782652 A CNA2009100782652 A CN A2009100782652A CN 200910078265 A CN200910078265 A CN 200910078265A CN 101482828 A CN101482828 A CN 101482828A
- Authority
- CN
- China
- Prior art keywords
- module
- entity
- class
- performance
- object class
- 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.)
- Granted
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to a general distributed visual simulating system based on HLA and a realizing method thereof. The method is managed by multithread which comprises three threads: a main control thread, a network intercepting thread and a visual representing thread. The method specially comprises the following steps: actuating the main control thread, and actuating the network intercepting thread after obtaining the added federal information; intercepting the added federal information by the network intercepting thread, when object class and object class property, alternative class and alternative class parameter are received, executing mistake detection, and analyzing to representing command for storing into a representing command buffer alignment; actuating the visible representing thread, searching in the representing command buffer alignment, taking out the representing command to be processed, calling a corresponding entity, executing the representing command; and when the representing command buffer alignment is empty, executing the special representing effect of entity and updating the scene. The system of the invention has versatility, is not required to recompile network interface, and furthermore does not generate the phenomena of content distortion, jumping screen, etc. which are caused by data lost.
Description
Technical field
The present invention relates to the computer simulation technique field, particularly relate to universal distributed vision simulation system meter its implementation based on HLA.
Background technology
Scene Simulation is on the basis of numerical simulation, represents process of simulation or result with figure and animation, the dynamic display technology of three-dimensional model is applied to the graphic presentation of simulated training, virtual reality and other real Time Dynamic Simulation systems.Scene Simulation combined with the distribution interactive emulation technology complex gigantic system is carried out network modelling and emulation, the entity that is distributed in different regions and personnel are connected in the public virtual environment carry out emulation, for simulation process and simulation result provide a kind of form of expression intuitively, can give the user with very strong feeling of immersion, be with a wide range of applications in a plurality of fields.
In the distributed interactive simulation, High Level Architecture (High Level Architecture is called for short HLA) standard has been accepted as international simulation standard.More both at home and abroad, but the interface function exploitation that this type systematic directly provides based on HLA mostly to the vision emulation system research of setting up based on the HLA standard, need the developer to grasp various service interface functions in the HLA standard, the development time is longer.In addition, because the object class that comprises in the distribution interactive simulation system is numerous, number of entities changes, make the vision emulation system of realizing in this way also exist the not strong problem of versatility, also there are three-dimensional scenic refreshing frequency and the unmatched problem of network data receive frequency in the prior art simultaneously, cause loss of data phenomenons such as the distortion of scene performing content, picture jump to occur easily.
At present, also there is not a kind of universal distributed vision simulation system implementation method based on HLA.
Summary of the invention
The objective of the invention is to overcome the defective of prior art, a kind of universal distributed vision simulation system based on HLA is provided, object class and object class attribute, interactive class and interactive class parameter that this system defines by employing, and scene is managed by entity, need not to write again network interface, have stronger versatility, and phenomenons such as the distortion of scene performing content, picture jump can not occur because of loss of data.
Another object of the present invention is to provide a kind of implementation method of the universal distributed vision simulation system based on HLA.
Above-mentioned purpose of the present invention is achieved by following technical solution:
A kind of universal distributed vision simulation system based on HLA is characterized in that comprising Network Interface Module, performance order buffer module, and entity supervisor module, the call back function module, control module and visual representing module,
Network Interface Module: the instruction according to control module is carried out federal adding and is cancelled; Definition, issue and the order of object class and object class attribute, interactive class and interactive class parameter; The error correction of object class and object class attribute, interactive class and interactive class parameter, and the object class behind the error correction and object class attribute, interactive class and interactive class parameter be transferred to performance order buffer module;
Performance order buffer module: receive object class and object class attribute, interactive class and the interactive class parameter of Network Interface Module conveying, it is resolved to the performance order, the processing of visual representing module schedules is waited in the row buffering of going forward side by side storage;
Entity supervisor module: defining virtual attributes of entities information, and pseudo-entity managed and safeguard, for the visual representing module invokes;
The call back function module: special representing effect of entity in the entity supervisor module is defined, carry out for the visual representing module, purpose is the verisimilitude of enhanced scene;
Control module: carry out alternately with the user, response user operation starts the network data interface module according to customer requirements, and sends adding federation or cancel federal instruction to the network data interface module; Call visual representing module controls scene according to customer requirements;
Visual representing module: call performance order buffer module, obtain pending performance order, according to described performance order, call entity supervisor module again, carry out the performance order; Carry out the special representing effect of entity that defines in the call back function module, the performance virtual scene; According to customer requirements control scene in the control module.
In above-mentioned universal distributed vision simulation system based on HLA, Network Interface Module comprises interface definition and network data exchange, and wherein interface definition defines object class and object class attribute, interactive class and the interactive class parameter of ordering from HLA/RTI; Network data exchange is for to order, to receive object class and object class attribute, interactive class and interactive class parameter to the HLA/RTI network, and it is carried out error correction.
In above-mentioned universal distributed vision simulation system based on HLA, performance order buffer module comprises data parsing and performance command buffer alignment, and data parsing is for to resolve to the performance order that the visual representing module can be discerned with network data; The performance command buffer alignment cushions described performance order.
In above-mentioned universal distributed vision simulation system based on HLA, entity supervisor module comprises entity class and entity management device, wherein entity class defining virtual attributes of entities information; The entity management device manages and safeguards described pseudo-entity, comprises newly-built, deletion and inquiry.
In above-mentioned universal distributed vision simulation system based on HLA, control module comprises window message, control script and Control Engine, and wherein window message is responsible for carrying out alternately with the user, the relative users operation; The characteristics design scenario changeover program of the concrete emulation content of this basis of control pin; Control Engine starts Network Interface Module according to customer requirements, send to the network data interface module and to add federal or cancel federal instruction, and call the visual representing module according to the occurrence condition of the customer requirements of window message and control script and carry out scene control.
At above-mentioned universal distributed vision simulation system based on HLA, it is characterized in that described visual representing module comprises environment data base, moulding database and visualization engine, wherein:
Environment data base: storage makes up the required physical environment information of virtual scene;
Moulding database: geometric modeling and the texture information of preserving pseudo-entity;
Visualization engine: call performance order buffer module, obtain pending performance order, again according to described performance order, call entity supervisor module, carry out the performance order, when being sky, pending performance order carries out the special representing effect of entity that defines in the call back function module simultaneously, the performance virtual scene; According to customer requirements control scene in the control module.
A kind of implementation method of the universal distributed vision simulation system based on HLA is characterized in that being multiple line distance management, comprises three threads: control main thread, network intercepting thread and visual representing thread, and concrete implementation method is as follows:
(1) behind the system initialization, the start-up control main thread starts network intercepting thread after the control main thread obtains to add federal information from the user window interface;
(2) network intercepting thread is intercepted the federal information that is added, after receiving object class and object class attribute, interactive class and interactive class parameter, object class and object class attribute, interactive class and interactive class parameter are carried out error detection occurs, and the data parsing after the described detection is performance order, and deposit the performance command buffer alignment in;
(3) start the visual representing thread, visual representing thread search performance command buffer alignment when having pending performance order, is taken out pending performance order, calls corresponding entity action, carries out the performance order;
(4) when the performance command buffer alignment was sky, special representing effect of entity described in the visual representing thread execution step (3) was carried out scene update.
The present invention compared with prior art has following beneficial effect:
(1) adopts object class and object class attribute, interactive class and the interactive class parameter define, under the object class of distributing emulation system, situation that number of entities changes, need not to write again network interface; Simultaneity factor adopts entity supervisor module, by entity scene is managed, and makes native system have versatility.
(2) adopt the performance command buffer alignment, solved three-dimensional scenic refreshing frequency and the unmatched problem of network data receive frequency, can the factor certificate not lose phenomenons such as the distortion of scene performing content, picture jump occur.
(3) adopted the multiple line distance management technology, active balance the workload of Network Interface Module, control module, visual representing module, the running efficiency of system height.
(4) customization of support to showing, the exploitation of novel entities special efficacy is supported in the call back function storehouse, and functional modules is also supported new three-dimensional modeling exploitation, and system has good reusability and extendability.
Description of drawings
Fig. 1 is emulate system architecture figure of the present invention;
Fig. 2 is the Network Interface Module workflow diagram in the analogue system of the present invention;
Fig. 3 is the performance order buffer module process chart in the analogue system of the present invention;
Fig. 4 is the entity supervisor module process chart in the analogue system of the present invention;
Fig. 5 is the control module process chart in the analogue system of the present invention;
Fig. 6 is the visual representing module routine figure in the analogue system of the present invention;
Fig. 7 is the thread work process flow diagram of analogue system of the present invention;
Fig. 8 is analogue system implementation figure of the present invention.
Embodiment
Be illustrated in figure 1 as emulate system architecture figure of the present invention, comprise Network Interface Module, performance order buffer module, entity supervisor module, call back function module, control module and visual representing module.
Network Interface Module is made up of interface definition and network data exchange, and its function is for carrying out the adding of emulation federation according to the instruction of control module and cancelling; Definition, issue and the order of object class and object class attribute, interactive class and interactive class parameter; The error correction of object class and object class attribute, interactive class and interactive class parameter, and give performance order buffer module with the data transmission behind the error correction.Wherein interface definition is for defining from object class and object class attribute, interactive class and the interactive class parameter that HLA/RTI orders vision emulation system, the data essential according to distributed vision simulation system design, these data messages are fixed as and need go up object class, the interactive class of ordering from HLA/RTI (Run Time Infrastructure, architecture during operation).In HLA, object class is abstract to the group objects with common features or attribute, the set of relationship in the object class structure of HLA object model is then clear and definite federation or the member's scope between each object class.In the distributed vision simulation all pseudo-entities are all ordered identical attribute, therefore only need design one class object class, the object class structural table is as shown in table 1 below:
Table 1
The object class structural table |
ObjectRoot SimEntity |
Being described as follows shown in the table 2 of object class attribute, these attribute informations can satisfy the demand of pseudo-entity being carried out dynamic drafting.
Table 2
In HLA, be meant that alternately certain or some object among the member produces, the action that can exert an influence to the object among other members.By interactive class structural table and interaction parameter thereof hierarchical relationship between the interactive class, the at length various information of communication between the recording interactive example can be described clearly.Table 3 and table 4 be the design with closely-related interactive class of distributed vision simulation system and parameter separately thereof.
Table 3
The interactive class structural drawing |
Init3D Fx InteractionRoot Ack TNow |
Table 4
Mutual class name parameter parameter declaration remarks |
Entity num number of entities initialization interactive class p_entity_data entity information p_entity_data is that the Init3D north_dir of this entity institute refers to other information that Beijiao comprises, whether need to confirm to claim as physical name need_ack, the icon title stFxType event type special efficacy interactive class szOwnerId incident entity title incident entity title of entity correspondence refers to take place the entity of incident Fx szTargetId event object title, the event object title refers to the object entity that this fDelayTime performance time-event takes place, as follows |
U additional parameter structure Ack src_name transmit leg name confirmation interactive class dst_name take over party title TNow tnow simulation clock simulation clock interactive class |
Network data exchange is for to order, to receive object class and object class attribute, interactive class and interactive class parameter to the HLA/RTI network, and it is carried out error correction, and gives performance order buffer module with network data transmission.
The workflow of Network Interface Module as shown in Figure 2, the user adds different emulation federations by specifying different fed files, when network interface initialization federal member data, create RTIAmbassador object rtiAmb, FederateAmbassador object fedAmb, add in the federation by creating connecting object, carry out object class and object class attribute simultaneously, the issue of interactive class and interactive class parameter and order, start intercepting thread then, begin to intercept the representation of data in the HLA/RTI network, after receiving data, data are carried out transferring to after the error detection occurs performance order buffer module handle, otherwise emulation stops, stop network intercepting thread.
Fig. 3 is performance order buffer module process chart in the analogue system of the present invention, performance order buffer module is made up of data parsing and performance command buffer alignment, the responsible performance order that data parsing can be discerned for the visual representing module, and every frame three-dimensional scenic is refreshed the performance order that receives before finishing carries out buffer-stored, guarantee can factor according to not losing phenomenons such as the distortion of scene performing content, picture jump occur.
Data parsing then is according to the network data that receives, and with the performance order that these data parsings can be discerned for the visual representing module, the design of performance command type is as shown in table 5 below, and the operation requirement of visual representing module has been satisfied in these orders.
Table 5
The performance command buffer alignment is a dynamic memory block, and is only relevant with the free memory of system, can not be subjected to the influence of other factors, and this buffer queue satisfies the principle of first in first out, can well guarantee to show sequential.Because what comes into a driver's performance process has related to a large amount of entity (40-50), and is very many through the entity status information and the event information data of Network Transmission.And three-dimensional representation all has a fixing refreshing frequency to come the more displaying contents of new scene, and refreshing frequency and hardware have substantial connection.When the receive frequency of data is higher than the refreshing frequency of three-dimensional scenic far away, can not guarantee that the data that receive are reflected on the three-dimensional representation at once.The performance command buffer alignment can solve the problem that occurs loss of data in this process, and a certain frame of scene is between the next frame, and by the data that the network data interface receives, all the form with the performance order is kept in this buffer queue.The introducing of buffer queue can well guarantee to receive the integrality of data, thereby guarantees the correctness of emulation sequential.
The course of work of performance order buffer module after receiving data message from Network Interface Module, is transformed into the performance order that the visual representing module can be discerned through data parsing, and adds the performance command buffer alignment to as shown in Figure 3; When scene refreshed, the visual representing module was taken out the performance order successively and is handled from the buffering formation, simultaneously the releasing memory space.
Entity supervisor module among the present invention comprises entity class and entity management device, and the management maintenance function of pseudo-entity mainly is provided, for the visual representing module invokes.
The dynamic object that the entity representative exists in scene has certain three-dimensional representation form and action.Entity class is responsible for defining virtual attributes of entities information, with the HLA object class corresponding actions of consistent attribute and support target class is arranged.System has defined an entity base class for all entity class, defined these pseudo-entities publicly-owned some attribute informations and function, all related entity class of what comes into a driver's performance are all derived from by this base class.Entity class requires press entity base class interface and works out when realizing, so that calling of unifying of entity management device.The entity management device mainly manages and safeguards pseudo-entity, comprises newly-built, renewal, deletion and inquiry etc.The entity management device realizes that by the list of entities class list of entities class is made up of with relevant tabulation handling function a list of entities.
Entity supervisor module and network data interface module are independent, also make whole visualization system highly versatile, when application background changes, realize that new entity class can provide the support to the different application background.
The course of work of entity supervisor module as shown in Figure 4, the visual representing module is called the interface of entity management device according to the entity name parameter in the performance order, obtains concrete pseudo-entity, then entity is operated accordingly and handled, wherein entity 1 is the example of entity class to entity N.
Call back function module among the present invention comprises the call back function of some special entity special representing effect in the three-dimensional representation process, is responsible for all special efficacys corresponding with entity class and defines.Be used for these special expression effects are realized, add in the three-dimensional scenic verisimilitude of enhanced scene to by the Vega readjustment.
In the three-dimensional representation process, the expression effect of entity special efficacy particularly, the special-effect (special effects) that visual software Vega itself is comprised can not satisfy the demand of performance, and this just needs these special expression effects of exploitation separately, and then adds in the three-dimensional scenic.The customization of special-effect is mainly constructed based on the Special Effects module of Vega.For every kind of effect of directly calling for system, it is actually by one or more basic special efficacys and constitutes, for example, the rocket firing effect, may be exactly to form,, also need to carry out real-time rendering with OpenGL for some special-effect by flame effect and flight haze effect etc.And exist certain time sequence to concern between these effects, who is first subsequently, duration etc. all is must be predetermined, system can not call these effects one by one and make up performance, therefore the system that is necessary for provides an effect banks that encapsulation is good and complete, can directly be the system call performance, guarantee the independence and the integrality of this module.
Entity action special efficacy may be to be combined by a plurality of basic special efficacys, so the special efficacy constructive process of entity is generally followed following steps:
1. the customization of basic special efficacy: define various basic blasts, flame, smog, effects such as fragment;
2. basic special efficacy name and attribute customization: for these basic special efficacy definition unique names, so that the correctness of calling and deleting of system; Define color, life cycle, enlargement factor and the possible attributes such as time delay of basic special efficacy according to demand;
3. make up basic special efficacy and definition sequential relationship: make up required basic special efficacy, and provide their sequential relationship;
4. define synthetic special efficacy attribute: be that it creates unique sign name, use the manifestation mode of special efficacy object to define special efficacy, and special efficacy is joined in the scene, make it simultaneously attached on the corresponding entity;
5. self-defined special efficacy: use OpenGL real-time rendering special efficacy as required.
Basic special efficacy all is defined in the adf file, creates a corresponding call back function administrative class respectively according to the entity class that derives from, and relevant all special efficacys with this entity are carried out unified management.
Control module among the present invention comprises Control Engine, window message and three parts of control script, is responsible for carrying out alternately with the user, and response user operation is called visual representing module controls scene according to customer requirements; Start the network data interface module.Wherein window message provides response function to user's window operation information, is responsible for carrying out alternately with the user response user operation; The characteristics design scenario changeover program of the concrete emulation content of this basis of control pin is so that effectively observe scene content; Control Engine is a steering logic, start Network Interface Module according to customer requirements, send the instruction that adds federation or cancel federation to the network data interface module, and call the visual representing module according to the type of window message with the occurrence condition of controlling script and carry out scene control.
The workflow of control module according to user's the window message and the message parse of this process of control pin Control Engine, judges whether to satisfy trigger condition as shown in Figure 5, calls the visual representing module and controls scene if satisfy.
Visual representing module among the present invention is made up of visualization engine, environment data base and moulding database three parts based on Vega, mainly is responsible for the performance of virtual scene.The environmental data library storage the needed physical environment information of structure virtual scene; The moulding database has been preserved the geometric modeling and the texture information of all pseudo-entities; Visualization engine then is the crucial bridge that emulated data and control information are embodied in virtual scene, on basis, Vega visualized graphs storehouse, realize, by calling demonstration and the scheduling that the Vega built-in function comes organizing scenario, can directly on output device, show, visualization engine is by calling performance order buffer module in practical operation, obtain pending performance order, again according to described performance order, call entity supervisor module, carry out the performance order, when being sky, pending performance order carries out the special representing effect of entity that defines in the call back function module simultaneously, the performance virtual scene; Visualization engine also is responsible for for example switching between global scene or the tracing display to entity according to customer requirements according to customer requirements control scene in the control module simultaneously.
The course of work of visual representing module when the scene frame update begins, is called performance order buffer module as shown in Figure 6, and scanning performance command buffer alignment is searched the order that whether exists needs to handle.When the performance command buffer alignment is not sky, obtain pending performance order, call entity supervisor module, carry out the performance order; After the performance command buffer alignment empties, carry out defined readjustment in the call back function module, by the Vega visualization engine, more new scene carries out the figure cutting to scene simultaneously.
Analogue system of the present invention adopts multiple line distance management when realizing, comprise three threads during operation: based on the control main thread of MFC, HLA/RTI network intercepting thread with based on the visual representing thread of Vega.Be illustrated in figure 7 as multithreading workflow diagram of the present invention, concrete implementation method is as follows:
(1) behind the system initialization, the start-up control main thread starts network intercepting thread after the control main thread obtains to add federal information from the user window interface;
(2) network intercepting thread is intercepted the federal information that is added, after receiving object class and object class attribute, interactive class and interactive class parameter, object class and object class attribute, interactive class and interactive class parameter are carried out error detection occurs, and the data parsing after the described detection is performance order, and deposit the performance command buffer alignment in;
(3) start the visual representing thread, visual representing thread search performance command buffer alignment when having pending performance order, is taken out pending performance order, calls corresponding entity action, carries out the performance order;
(4) when the performance command buffer alignment was sky, special representing effect of entity described in the visual representing thread execution step (3) was carried out scene update.
The concrete implementation of total system of the present invention behind the system initialization, is controlled main thread and is promptly started as shown in Figure 8, after control module obtains to add federal information from window interface, calls Network Interface Module and adds federation execution, starts network intercepting thread simultaneously.After network intercepting thread is started working, can intercept the federation that is added always, after Network Interface Module receives object class and object class attribute, interactive class and interactive class parameter, carry out error detection occurs and object class and object class attribute, interactive class and interactive class supplemental characteristic are sent to performance order buffer module.Performance order buffer module for the performance order, deposits above-mentioned data parsing in the performance command buffer alignment.When the visual representing thread begins the scene frame update, search the performance command buffer alignment, when having the performance order, the visual representing module is taken out the performance order that needs processing, call entity supervisor module, carry out the performance order, entity is operated and handled, wherein entity supervisor module manages and safeguards its list of entities that comprises according to entity title and other information.After emptying the performance command buffer alignment, the visual representing module is carried out defined readjustment in the call back function module, and promptly the entity special representing effect is called the Vega visualization engine, more new scene.In this process, control module is responsible for carrying out alternately with the user, and the response user operates, and calls visual representing module controls scene according to customer requirements.
The above; only be the embodiment of the best of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.
The content that is not described in detail in the instructions of the present invention belongs to this area professional and technical personnel's known technology.
Claims (7)
1, a kind of universal distributed vision simulation system based on HLA is characterized in that: comprise Network Interface Module, and performance order buffer module, entity supervisor module, the call back function module, control module and visual representing module,
Network Interface Module: the instruction according to control module is carried out federal adding and is cancelled; Definition, issue and the order of object class and object class attribute, interactive class and interactive class parameter; The error correction of object class and object class attribute, interactive class and interactive class parameter, and the object class behind the error correction and object class attribute, interactive class and interactive class parameter be transferred to performance order buffer module;
Performance order buffer module: receive object class and object class attribute, interactive class and the interactive class parameter of Network Interface Module conveying, it is resolved to the performance order, the processing of visual representing module schedules is waited in the row buffering of going forward side by side storage;
Entity supervisor module: defining virtual attributes of entities information, and pseudo-entity managed and safeguard, for the visual representing module invokes;
The call back function module: the special representing effect to pseudo-entity in the entity supervisor module defines, and carries out for the visual representing module;
Control module: carry out alternately with the user, response user operation starts the network data interface module according to customer requirements, and sends adding federation or cancel federal instruction to the network data interface module; Call visual representing module controls scene according to customer requirements;
Visual representing module: call performance order buffer module, obtain pending performance order, according to described performance order, call entity supervisor module again, carry out the performance order; Carry out the special representing effect of entity that defines in the call back function module, the performance virtual scene; According to customer requirements control scene in the control module.
2, a kind of universal distributed vision simulation system according to claim 1 based on HLA, it is characterized in that: described Network Interface Module comprises interface definition and network data exchange, and wherein interface definition defines object class and object class attribute, interactive class and the interactive class parameter of ordering from HLA/RTI; Network data exchange is for to order, to issue object class and object class attribute, interactive class and interactive class parameter to HLA/RTI, it is carried out error correction, and the object class behind the error correction and object class attribute, interactive class and interactive class parameter are transferred to performance order buffer module; Instruction according to control module is carried out federal adding and is cancelled.
3, a kind of universal distributed vision simulation system according to claim 1 based on HLA, it is characterized in that: described performance order buffer module comprises data parsing and performance command buffer alignment, and data parsing resolves to the performance order that the visual representing module can be discerned with object class and object class attribute, interactive class and interactive class parameter; The performance command buffer alignment is carried out buffer-stored with described performance order.
4, a kind of universal distributed vision simulation system according to claim 1 based on HLA, it is characterized in that: described entity supervisor module comprises entity class and entity management device, wherein entity class defining virtual attributes of entities information; The entity management device manages and safeguards described pseudo-entity, comprise newly-built, upgrade, deletion and inquiry.
5, a kind of universal distributed vision simulation system according to claim 1 based on HLA, it is characterized in that: described control module comprises window message, control script and Control Engine, wherein window message is responsible for carrying out alternately with the user, the relative users operation; The characteristics design scenario changeover program of the concrete emulation content of this basis of control pin; Control Engine starts Network Interface Module according to customer requirements, send to the network data interface module and to add federal or cancel federal instruction, and call the visual representing module according to the occurrence condition of the customer requirements of window message and control script and carry out scene control.
6, a kind of universal distributed vision simulation system according to claim 1 based on HLA, it is characterized in that: described visual representing module comprises environment data base, moulding database and visualization engine, wherein:
Environment data base: storage makes up the required physical environment information of virtual scene;
Moulding database: geometric modeling and the texture information of preserving pseudo-entity;
Visualization engine: call performance order buffer module, obtain pending performance order, again according to described performance order, call entity supervisor module, carry out the performance order, when being sky, pending performance order carries out the special representing effect of entity that defines in the call back function module simultaneously, the performance virtual scene; According to customer requirements control scene in the control module.
7, a kind of implementation method of the universal distributed vision simulation system based on HLA is characterized in that: be multiple line distance management, comprise three threads: control main thread, network intercepting thread and visual representing thread, and concrete implementation method is as follows:
(1) behind the system initialization, the start-up control main thread starts network intercepting thread after the control main thread obtains to add federal information from the user window interface;
(2) network intercepting thread is intercepted the federal information that is added, after receiving object class and object class attribute, interactive class and interactive class parameter, object class and object class attribute, interactive class and interactive class parameter are carried out error detection occurs, and the data parsing after the described error detection occurs is performance order, deposit the performance command buffer alignment in;
(3) start the visual representing thread, visual representing thread search performance command buffer alignment when having pending performance order, is taken out pending performance order, calls corresponding entity and carries out the performance order;
(4) when the performance command buffer alignment was sky, special representing effect of entity described in the visual representing thread execution step (3) was carried out scene update.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100782652A CN101482828B (en) | 2009-02-24 | 2009-02-24 | Universal distributed vision simulation system based on HLA and its implementing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100782652A CN101482828B (en) | 2009-02-24 | 2009-02-24 | Universal distributed vision simulation system based on HLA and its implementing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101482828A true CN101482828A (en) | 2009-07-15 |
CN101482828B CN101482828B (en) | 2011-08-17 |
Family
ID=40879954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100782652A Expired - Fee Related CN101482828B (en) | 2009-02-24 | 2009-02-24 | Universal distributed vision simulation system based on HLA and its implementing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101482828B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013189A (en) * | 2010-12-16 | 2011-04-13 | 成都西麦克虚拟现实电子技术有限公司 | General flight simulation engine |
CN102065090A (en) * | 2010-12-30 | 2011-05-18 | 中国科学院长春光学精密机械与物理研究所 | Real-time communication control and storage method of high-frame-frequency mass data |
CN102158524A (en) * | 2010-12-30 | 2011-08-17 | 北京像素软件科技股份有限公司 | Rendering-based distributed behavior control system |
CN102508692A (en) * | 2011-09-28 | 2012-06-20 | 天津大学 | Simulation and verification method of control method of near space aircraft |
CN102508439A (en) * | 2011-11-18 | 2012-06-20 | 天津大学 | HLA (High Level Architecture)-based multi-unmmaned aerial vehicle distributed simulation method |
CN102542091A (en) * | 2010-12-30 | 2012-07-04 | 中国科学院沈阳自动化研究所 | Realization method for software simulation platform in photoelectric imaging process |
CN104239631A (en) * | 2014-09-10 | 2014-12-24 | 中国运载火箭技术研究院 | Distributed simulation image synchronizing system based on HLA (High Level Architecture) |
CN106648658A (en) * | 2016-12-21 | 2017-05-10 | 北京航空航天大学 | Simulation method for actual/ virtual/ constructive-oriented hybrid system |
CN108153164A (en) * | 2016-12-05 | 2018-06-12 | 北京仿真中心 | A kind of management-control method of more HLA federations simulation run |
CN114816803A (en) * | 2022-06-28 | 2022-07-29 | 航天宏图信息技术股份有限公司 | Distributed simulation communication message processing method and device |
-
2009
- 2009-02-24 CN CN2009100782652A patent/CN101482828B/en not_active Expired - Fee Related
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013189A (en) * | 2010-12-16 | 2011-04-13 | 成都西麦克虚拟现实电子技术有限公司 | General flight simulation engine |
CN102065090A (en) * | 2010-12-30 | 2011-05-18 | 中国科学院长春光学精密机械与物理研究所 | Real-time communication control and storage method of high-frame-frequency mass data |
CN102158524A (en) * | 2010-12-30 | 2011-08-17 | 北京像素软件科技股份有限公司 | Rendering-based distributed behavior control system |
CN102542091A (en) * | 2010-12-30 | 2012-07-04 | 中国科学院沈阳自动化研究所 | Realization method for software simulation platform in photoelectric imaging process |
CN102065090B (en) * | 2010-12-30 | 2013-01-23 | 中国科学院长春光学精密机械与物理研究所 | Real-time communication control and storage method of high-frame-frequency mass data |
CN102542091B (en) * | 2010-12-30 | 2013-06-05 | 中国科学院沈阳自动化研究所 | Realization method for software simulation platform in photoelectric imaging process |
CN102508692A (en) * | 2011-09-28 | 2012-06-20 | 天津大学 | Simulation and verification method of control method of near space aircraft |
CN102508692B (en) * | 2011-09-28 | 2014-03-12 | 天津大学 | Simulation and verification method of control method of near space aircraft |
CN102508439B (en) * | 2011-11-18 | 2013-07-24 | 天津大学 | HLA (High Level Architecture)-based multi-unmmaned aerial vehicle distributed simulation method |
CN102508439A (en) * | 2011-11-18 | 2012-06-20 | 天津大学 | HLA (High Level Architecture)-based multi-unmmaned aerial vehicle distributed simulation method |
CN104239631A (en) * | 2014-09-10 | 2014-12-24 | 中国运载火箭技术研究院 | Distributed simulation image synchronizing system based on HLA (High Level Architecture) |
CN104239631B (en) * | 2014-09-10 | 2017-04-05 | 中国运载火箭技术研究院 | A kind of distributed emulation image synchronizing system based on HLA |
CN108153164A (en) * | 2016-12-05 | 2018-06-12 | 北京仿真中心 | A kind of management-control method of more HLA federations simulation run |
CN106648658A (en) * | 2016-12-21 | 2017-05-10 | 北京航空航天大学 | Simulation method for actual/ virtual/ constructive-oriented hybrid system |
CN106648658B (en) * | 2016-12-21 | 2019-08-27 | 北京航空航天大学 | Emulation mode towards live/virtual/construction hybrid system |
CN114816803A (en) * | 2022-06-28 | 2022-07-29 | 航天宏图信息技术股份有限公司 | Distributed simulation communication message processing method and device |
CN114816803B (en) * | 2022-06-28 | 2022-09-23 | 航天宏图信息技术股份有限公司 | Distributed simulation communication message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN101482828B (en) | 2011-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101482828B (en) | Universal distributed vision simulation system based on HLA and its implementing method | |
US10956013B2 (en) | User interface for automated flows within a cloud based developmental platform | |
US20180324051A1 (en) | User interface for automated flows within a cloud based developmental platform | |
CN105138602B (en) | A kind of construction system and its application method of three-dimensional collaborative platform | |
CN110442965A (en) | Railway customer service information machine room implementation management system and method based on BIM | |
CN100527169C (en) | Three-dimensional scene real-time drafting framework and drafting method | |
US10101972B1 (en) | Data modelling and flow engine for building automated flows within a cloud based developmental platform | |
CN107016170A (en) | A kind of LED lamp three-dimensional customization emulation mode based on WebGL | |
US20050065951A1 (en) | Visualization of commonalities in data from different sources | |
CN101482817B (en) | Large-particle Java component assembly method based on black box | |
CN110855482A (en) | Three-dimensional dynamic communication network analog simulation method, system and storage medium | |
CN103593181A (en) | Configurable distributed three-dimensional scene simulating system | |
CN102609248A (en) | Integrated avionics system modeling and simulation platform based on MDA (model driven architecture) | |
CN102609985A (en) | Three-dimensional power station graphic platform | |
CN108536964A (en) | Storage medium, satellite constellation covering performance simulating analysis and its system | |
CN102915232A (en) | 3D (three-dimensional) controls interaction method and communication terminal | |
US20210248278A1 (en) | Process architecture modeling platform | |
CN110471648A (en) | A kind of implementation method of the distributed CI/CD based on asynchronous mechanism | |
CN105354376A (en) | Method and system for interaction between BIM based multi-dimensional data and OA database | |
CN109766373A (en) | Electric network data methods of exhibiting and computer readable storage medium | |
CN103942092A (en) | HLA co-simulation method supporting LabView graphical programming | |
CN109544703B (en) | Data center Web3D model loading method easy to realize interaction | |
CN109960212A (en) | Task sending method and device | |
CN117275306A (en) | Space systematized application training simulation system and training method | |
CN102081521A (en) | General development platform of military hardware operation interface |
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 |
Granted publication date: 20110817 Termination date: 20200224 |
|
CF01 | Termination of patent right due to non-payment of annual fee |