WO2013159586A1 - 分布式仿真数据处理方法及装置 - Google Patents

分布式仿真数据处理方法及装置 Download PDF

Info

Publication number
WO2013159586A1
WO2013159586A1 PCT/CN2013/071334 CN2013071334W WO2013159586A1 WO 2013159586 A1 WO2013159586 A1 WO 2013159586A1 CN 2013071334 W CN2013071334 W CN 2013071334W WO 2013159586 A1 WO2013159586 A1 WO 2013159586A1
Authority
WO
WIPO (PCT)
Prior art keywords
simulation
data
processing module
file
data processing
Prior art date
Application number
PCT/CN2013/071334
Other languages
English (en)
French (fr)
Inventor
黄健
钟荣华
郝建国
龚建兴
陈彬
刘宝宏
鞠儒生
杨健
Original Assignee
中国人民解放军国防科学技术大学
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 中国人民解放军国防科学技术大学 filed Critical 中国人民解放军国防科学技术大学
Publication of WO2013159586A1 publication Critical patent/WO2013159586A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the invention relates to the field of large-scale distributed simulation, and in particular relates to a distributed simulation data processing method and device.
  • Computer simulation is the purpose of analyzing and researching real systems through electronic computers and system models.
  • computer simulation has been widely used in various fields such as scientific research, education, commerce, production and development.
  • distributed simulation techniques are used to link various simulation entities scattered in different geographical locations through a network to complete the simulation of a certain task. It came into being.
  • DoD US Department of Defense
  • HLA high-level architecture
  • the distributed simulation system used to achieve a particular simulation purpose is called a federation, and the federation is made up of several interacting federal members (Federate).
  • Federal members use the entity's model to generate the dynamic behavior of a class of entities in the federation, such as simulating a certain type of entity (car, ship, etc.).
  • the entities between different federation members communicate the supporting platform RTI through distributed simulation.
  • the interactive information contains the state of the entity and the external command, report and other information. They are the complete embodiment of the entire federal situation. Therefore, in order to complete the simulation. After that, the system can be better analyzed and the simulation effect evaluated. This information is collected and saved by a special data acquisition module during the simulation.
  • a complete simulation process is as follows: First, use the desired editing tool to make the desired file, or fine-tune according to the existing desired file to form a new desired file, that is, simulate the system input; The system starts the simulation operation and collects the simulation data during the simulation operation. After the simulation run, the collected simulation data is parsed and converted into various analysis data, including the two-dimensional situation display data, the simulation effect evaluation data, and the simulation process. Indicator statistics and so on; Finally, based on these data playback simulation situation, analysis of indicator statistics and effect evaluation data.
  • the simulation efficiency is not high.
  • a large-scale distributed simulation system takes too much time for a complete simulation process. It takes 1-3 hours for the simulation operation phase and 2-4 hours for the simulation data analysis and processing phase. From the start of the simulation run to the simulation analysis. The resulting data takes 3-7 hours (depending on the specific time spent depending on the specifics).
  • the simulation process is cumbersome.
  • the simulator needs to start the simulation run by operation, then wait for the simulation run to end, and then need to perform the analysis and conversion processing of the collected data again by operation, and then wait for the data conversion to end again, and finally analyze the data, that is, the personnel operation - waiting for the simulation run End - personnel operation - waiting for data conversion to end - The process of the result analysis.
  • the technical problem to be solved by the present invention is to provide a distributed simulation data processing method and apparatus capable of improving the efficiency of the federal system, reducing the time spent on simulation, and simplifying and simulating the operation of the data conversion processing and the federal system.
  • the technical solution adopted by the present invention is:
  • a distributed simulation data processing method the implementation steps are as follows:
  • the data processing module receives the data file, parses and converts the simulation result data, and stores the simulation result data into a simulation database;
  • the detailed steps of saving the collected simulation data fragments into data files and sending them to the data processing module through the network in the step 2) include:
  • the detailed steps of the step 3) include:
  • the data processing module determines whether the data file is an end-of-collection flag file, and if so, exits directly, otherwise executes the next step;
  • the data processing module reads and parses the simulation data in the data file, converts the parsed simulation data into data that meets the requirements of the simulation database format, and stores it in the simulation database, and returns to the execution step 3.1. .
  • the invention also provides a distributed simulation data processing device, comprising:
  • An experimental control module for establishing and initializing a simulation federation and starting simulation before the simulation starts, deregistering the simulation federation and ending the simulation after the simulation is completed;
  • the data acquisition module is configured to simulate the simulation data of each simulation model in real time during the simulation operation, and save the collected simulation data into a data file and output the data through the network;
  • An instruction processing module configured to forward a control command for executing the simulation model, forward the collected simulation data, control the data acquisition module, and each simulation model;
  • a data processing module configured to receive, parse, and convert the data file to obtain simulation result data, and store the simulation result data in the simulation database;
  • the experimental control module and the data acquisition module respectively access the simulation federation, and the data processing module is independent of the simulation federation; the experimental control module is respectively connected to the data acquisition module and the data processing module by the instruction processing module, and the data acquisition module Connected to the data processing module via the network.
  • the data collection module includes a data receiving unit, a data management unit, and a file transmission unit.
  • the data receiving unit accesses a simulation federation, and the control end of the data management unit is connected to the experimental control module through an instruction processing module, and the file transmission is performed.
  • the output end of the unit is connected to the data processing module through a network, and the data receiving unit acquires simulation data by simulating the federation, the data management unit compares the set value according to the received simulation data, and does not receive the simulation end command. And the received simulation data reaches the set value, and the received simulation data is saved to the newly created data file, and the file transmission unit sends the data file to the data processing module.
  • the data processing module includes a data analysis unit and a data conversion unit that are connected to each other, and an input end of the data analysis unit is connected to the data collection module through an instruction processing module, and an output end of the data conversion unit is connected to the simulation database,
  • the data parsing unit reads the data file from the instruction processing module and parses the simulation data in the data file, and the data parsing unit controls whether the data processing directly exits according to whether the data file is an acquisition end flag file; the data conversion unit parses the data
  • the simulation data is converted into data that meets the requirements of the simulation database format and stored in the simulation database.
  • the experimental control module includes a human-machine interaction unit for implementing human-computer interaction, an experimental control unit for performing simulation control according to human-computer interaction instructions, a federal control unit for controlling the simulation federation, and a simulation for transmitting the simulation model.
  • An instruction transmission unit of the control instruction the input end of the experimental control unit is connected to the human-machine interaction unit, and the output end of the experimental control unit is respectively connected to the federal control unit and the instruction transmission unit, and the federal control unit accesses the simulation federation unit
  • the output end of the instruction transmission unit is connected to the instruction processing module.
  • the distributed simulation data processing method of the present invention has the following advantages:
  • the present invention separates the data conversion processing from the federal system by establishing a data processing module independent of the simulation federation, and the data acquisition module collects the simulation data of each simulation model in real time and collects the data.
  • the obtained simulation data fragment is saved as a data file and sent to the data processing module through the network, and the data processing module receives the data file, parses and converts the simulation result data, and stores the simulation result data to the simulation data.
  • the data conversion and data collection use the data file to transfer the simulation data, so that the data conversion module is separated from the simulation federation, and does not affect the running efficiency of the simulation federation.
  • the method of collecting data and parsing the processed data simultaneously reduces the When the simulation starts to the situation and evaluates the completion time of the data conversion, the experiment efficiency can be improved without affecting the efficiency of the simulation federation, and the simulation takes time. After the data conversion is completed, the comprehensive situation can be viewed and the evaluation result can be analyzed.
  • the distributed simulation data processing device of the present invention has a physical structure corresponding to the distributed simulation data processing method described above, and therefore has a technical effect corresponding to the distributed simulation data processing method, and the simulation personnel only need to pass human-computer interaction.
  • the unit can start or stop the simulation, set the simulation automatic end time, and the startup and the end of the entire simulation system process are automatically completed under the control of the experimental management module; after the simulation is started, the simulation personnel only need to wait for the simulation to finish directly viewing the simulation situation. Display and effect evaluation data, the operation of the simulation system is very simple to use.
  • FIG. 1 is a schematic structural diagram of a frame of an apparatus according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a distributed simulation system to which an embodiment of the present invention is applied.
  • FIG. 3 is a schematic diagram of a workflow of a data collection module according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a workflow of a data processing module according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an experimental flow when applied to distributed simulation according to an embodiment of the present invention.
  • the data processing module receives the data file, parses and converts the simulation result data, and stores the simulation result data into the simulation database;
  • the detailed steps of saving the collected simulation data fragments into data files and sending them to the data processing module through the network in steps 2) include: 2. 1) obtaining the size of the received simulation data; 2. 2) receiving the data The size of the simulation data is compared with the set value. If the size of the received simulation data reaches the set value, the received simulation data is saved to the newly created data file, and then the data file is sent to the data processing module, and then the next step is transferred. If the size of the received simulation data does not reach the set value, go directly to the next step; 2. 3) Determine whether the simulation end command is received, if it is received, then Go to the next step, otherwise return to the execution step 2. 1); 2.
  • step 3) Create an acquisition end flag file, send the acquisition end flag file to the data processing module through the network and end the acquisition of simulation data.
  • the detailed steps of step 3) include: 3. 1) the data processing module receives and reads the data file; 3. 2) the data processing module determines whether the data file is an end-of-collection flag file, and if so, exits directly; otherwise, the next step is performed; 3. 3) The data processing module reads and parses the simulation data in the data file, converts the parsed simulation data into data that meets the requirements of the simulation database format, and stores it in the simulation database, and returns to step 3.1.
  • the distributed simulation data processing apparatus of this embodiment includes:
  • the experimental control module 1 is used to establish and initialize the simulation federation and start simulation before the simulation starts, and to cancel the simulation federation and end the simulation after the simulation is completed;
  • the data acquisition module 2 is configured to collect simulation data of each simulation model in real time during simulation operation by simulation, and save the collected simulation data into data files and output through a network;
  • the instruction processing module 3 is configured to forward a control command for executing the simulation model, forward the collected simulation data, control the data acquisition module 2, and each simulation model;
  • the data processing module 4 is configured to receive, parse, and convert the data file to obtain simulation result data, and store the simulation result data in the simulation database;
  • the experiment control module 1 and the data acquisition module 2 respectively access the simulation federation, and the data processing module 4 is independent of the simulation federation; the experimental control module 1 is respectively connected to the data acquisition module 2 and the data processing module 4 through the instruction processing module 3, and the data acquisition module 2
  • the network is connected to the data processing module 4 through a network.
  • the network in this embodiment is specifically in the form of a local area network, and may also be in the form of the Internet. The form is substantially the same as that of the embodiment.
  • the experiment control module 1 is used for human-computer interaction, and issues control commands according to the startup and stop simulation operations of the simulation personnel, and controls system modules of other computer nodes in the simulation system (including the simulation support platform RTI, the simulation member model, Start and stop of the data acquisition module 2, the data processing module 4, and the online statistics module;
  • the data acquisition module 2 is configured to collect simulation data, manage the collected data according to the time sequence, and save the file in the form of a file, and at the same time
  • the collected data file is sent to the data processing module 4;
  • the instruction processing module 3 is configured to receive the control command issued by the experimental control module 1, and execute corresponding processing according to the command, and start a system module on each simulated computer node for accepting data collection.
  • the data acquisition module 4 is used to receive, parse, and transform the simulation data collected by the data acquisition module 2, and convert it into situation display data and statistical evaluation data, and the experiment control module 1 simulates according to the simulation personnel. Start/stop operation, processing to instruction
  • the block 3 issues a control command, and after receiving the command, the command processing module 3 starts a system module such as the data acquisition module 2 and the data processing module 4.
  • the simulation data is collected and saved as a data file, and the instruction processing module 3 is passed.
  • the data file is sent to the data processing module 4, and the collected data and the data processing in this embodiment are synchronously performed.
  • the data processing is also synchronously ended, so that the imitation can be viewed immediately.
  • the situational data and the evaluation result data in the real database so the data processing with large amount of data and large calculation amount does not affect the running speed of the simulation federation, and can improve the running efficiency of the federation and reduce the time spent on the entire simulation process.
  • the experiment control module 1 includes a human-machine interaction unit 11 for implementing human-computer interaction, an experimental control unit 12 for performing simulation control according to human-computer interaction instructions, a federal control unit 13 for controlling the simulation federation, and a simulation model for An instruction transmission unit 14 that sends a simulation control instruction, an input end of the experimental control unit 12 is connected to the human-machine interaction unit 11, and an output end of the experimental control unit 12 is connected to the federal control unit 13 and the instruction transmission unit 14, respectively, and the federal control unit 13 is connected.
  • the output of the instruction transfer unit 14 is coupled to the instruction processing module 3.
  • the human-machine interaction unit 11 is configured to provide a human-computer interaction interface to implement human-computer interaction; the experiment control unit 12 performs a corresponding control process according to the control type submitted by the human-machine interaction unit 11; the federal control unit 13 is configured to create a simulation control member to join The simulation federation realizes monitoring of the simulation federation; the command transmission unit 14 is configured to transmit the control command to the instruction processing module 3, so the simulation personnel only need to pass the human-machine interaction unit 11 to start or stop the simulation and set the simulation automatic end time.
  • the start and end of the entire simulation system process is automatically completed under the control of the experimental management module; after the simulation is started, the simulation personnel only need to wait for the simulation to display the simulation situation display and the effect evaluation data after the simulation is finished, and the operation of the simulation system is very simple.
  • the data collection module 2 includes a data receiving unit 21, a data management unit 22, and a file transfer unit 23.
  • the data receiving unit 21 accesses the simulation federation, and the control end of the data management unit 22 is connected to the experimental control module 1 through the instruction processing module 3, and the file is transmitted.
  • the output end of the unit 23 is connected to the data processing module 4 through a network, and the data receiving unit 21 acquires the simulation data by simulating the federation.
  • the data management unit 22 compares the size of the received simulation data with the set value, and does not receive the simulation end command. And the received simulation data reaches the set value, the received simulation data is saved to the newly created data file, and the file transfer unit 23 sends the data file to the data processing module 4.
  • the simulation data is received from the simulation federation by the data receiving unit 21, the simulation data collected by the data receiving unit 21 is managed by the data management unit 22, the simulation data is saved to the collected data file, and the collected data file is sent by the file transfer unit 23 and
  • the instruction processing module 3 on the computer node where the data processing module 4 is located receives, the data receiving unit 21, the data management unit 22, and the file transfer unit 23 and the simulation model are respectively located in each computer node of the distributed simulation calculation, and both are executed by the same instruction.
  • the processing module 3 is started.
  • the instruction processing module 3 of the present embodiment is specifically arranged according to the number of computer nodes. As shown in FIG. 2, each dashed box in the figure represents a computer node. Therefore, the embodiment includes a plurality of instruction processing modules 3. In addition, the number of computer nodes can be adjusted as needed, thereby flexibly adjusting the number of instruction processing modules 3. For example, the computer node where the data acquisition module 2 is located and the computer node where the simulation model is located are combined as one computer node or the like, and the number of the instruction processing modules 3 is also adaptively changed.
  • the data processing module 4 includes a data analysis unit 41 and a data conversion unit 42 connected to each other.
  • the input end of the data analysis unit 41 is connected to the data acquisition module 2 through the instruction processing module 3, and the output end of the data conversion unit 42 is connected to the simulation database.
  • the data parsing unit 41 reads the data file from the instruction processing module 3 and parses the simulation data in the data file, and the data parsing unit 41 controls whether the data processing directly exits according to whether the data file is an acquisition end flag file; the data conversion unit 42 will parse
  • the subsequent simulation data is converted into data that meets the requirements of the simulation database format and stored in the simulation database.
  • the data processing module 4 of the embodiment is implemented by a separate computer node, and the computer node is connected to the data collection module 2 through a network, and the data parsing unit 41 reads and collects through the instruction processing module 3 inside the computer node where the data processing module 4 is located.
  • the data file and the parsed collected data, the data conversion unit 42 acquires the parsed data from the data parsing unit 41, and converts it into a simulation database.
  • the simulation database in this embodiment includes a situation display database for storing situation display data and an evaluation database for storing effect evaluation data, so the data conversion unit 42 can be specifically divided into two categories: for converting the analytical data into the situation display data.
  • the evaluation data conversion unit for converting the analytical data into the effect evaluation data and saving to the evaluation database; the data processing module 4 can be divided into the situation data processing module and the evaluation data processing module.
  • the data collected by the data acquisition module 2 is synchronized with the data processing of the data processing module 4, but the data processing of the data processing module 4 is not added to the simulation federation, so the entire process can be reduced without affecting the speed of the federation. The time spent.
  • the support platform adopts a distributed simulation support platform RTI
  • the experimental control module 1 and the data acquisition module 2 respectively access the distributed simulation support platform RTI.
  • a computer node includes a plurality of simulation models, and a plurality of simulation models in one computer node are connected to the network through the instruction processing module 3 in the same computer node, and are connected to the experimental control module 1 through the network.
  • the distributed simulation system also includes a simulation model for describing the behavior of the simulated entity (such as a ship, a car, etc.); an online statistical module for real-time statistics of various indicators, displaying statistical results, and saving statistical results to the simulation database;
  • the simulation support platform RTI is used to connect various simulation models, online statistical modules, and data acquisition modules 2 to realize information transfer between models, wherein the simulation model is a model implementation of simulated entities in the simulation system.
  • the experiment control module 1 sends a control command to the instruction processing module 3 via the network, and the instruction processing module 3 starts and stops the simulation model, the data acquisition module 2 and the online statistical module after receiving the control instruction; after the simulation model starts to join the simulation federation, the experiment
  • the control module 1 sends a simulation model initialization script through the simulation support platform RTI, and controls the start, pause, resume, and stop of the simulation run.
  • the data collection of the data acquisition module 2 of the present embodiment is performed simultaneously with the data processing of the data processing module 4, and the data processing module 4 does not participate in the simulation federation, and does not affect the operational efficiency of the simulation federation, wherein the data acquisition module 2
  • the specific process of data collection is:
  • Step A the data acquisition module 2 is started by the instruction processing module 3;
  • Step A2 the data acquisition module 2 completes the initial setting according to the startup parameters, and joins the simulation federation;
  • Step A3 receiving simulation data
  • Step A4 determining whether the collected data amount reaches the set value, and if yes, saving the data to the newly created data file, and Send the data file to the data processing module 4 through the network, and then go to the next step. If the data volume does not reach the set value, go directly to the next step;
  • Step A5 determining whether the simulation stop command is received, if yes, proceeding to the next step, otherwise returning to step A3;
  • Step A6 creating an end of collection flag file, and sending the file to the data processing module 4;
  • Step A7 exiting the simulation federation, the data acquisition module 2 automatically ends the process.
  • the specific process of data processing of the data processing module 4 is:
  • Step Bl the data processing module 4 is started by the instruction processing module 3;
  • Step B2 waiting for the first data file to be collected
  • Step B3 reading the data file, determining whether it is an acquisition end flag file, if yes, the data processing module 4 automatically ends the process, otherwise proceeds to the next step;
  • Step B4 reading the simulation data in the data file, and parsing the data by using the data parsing unit 41;
  • Step B5 the data conversion unit 42 converts the parsed simulation data into the simulation database
  • step B6 the next collected data file is awaited, and when the next collected data file arrives, the process proceeds to step B3.
  • Step Cl the simulation personnel operate the experimental control module 1, and start the simulation;
  • Step C2 the experiment control module 1 creates a simulation federation, and sends a startup command to each instruction processing module 3 through the network, where the startup module includes system module information and startup parameters that need to be started;
  • Step C3 After receiving the startup command, the instruction processing module 3 on each computer node starts the corresponding system module according to the parameters in the command;
  • Step C4 each system module is completed according to startup and initialization, and the data acquisition module 2, the simulation model is added to the simulation federation according to the startup parameters;
  • step C5 the experiment control module 1 parses the desired script file, and sends the script to different simulation models through the simulation federation; in step C6, each simulation model receives the script to complete initialization, and passes the simulation federation report to the experimental control module 1, the experimental control module. 1 issue a simulation start command by simulating the federation;
  • Step C7 the simulation starts running, the simulation model starts to perform model calculation, and the data acquisition module 2 starts collecting data.
  • the data acquisition module 2 generates the collected data file and sends it to the data processing module 4 via the network;
  • Step C8 the experiment control module 1 detects that the simulation end time has been reached or the simulation personnel stops the simulation, and the experiment control module 1 issues a simulation stop command by simulating the federal;
  • Step C9 After the simulation model receives the simulation stop command and exits the simulation federation, the experimental control module 1 cancels the simulation federation, and issues an end simulation model process command through the network, which is received and executed by the instruction processing module 3;
  • Step C10 the data collection module 2 generates an acquisition end flag file, and sends it to the data processing module 4, and then automatically knots The bundle process, the data processing module 4 automatically ends the process after completing the data processing task;
  • Step Cl l the simulator begins to analyze the simulation results.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种分布式仿真数据处理方法及装置,方法步骤如下:1)建立并初始化仿真联邦,建立独立于仿真联邦的数据处理模块,启动仿真;2)在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿真数据,将采集得到的仿真数据分片保存为数据文件并通过网络发送至所述数据处理模块;3)所述数据处理模块接收所述数据文件并进行解析、转换得到仿真结果数据并将所述仿真结果数据存储至仿真数据库中;4)注销仿真联邦,结束仿真;装置包括:实验控制模块,数据采集模块,指令处理模块和独立于仿真联邦的数据处理模块。本发明数据转化处理与联邦***分离、能够提高联邦***运行效率、减少仿真花费时间,仿真操作简单方便。

Description

分布式仿真数据处理方法及装置
【技术领域】
本发明涉及大型分布式仿真领域, 具体涉及一种分布式仿真数据处理方法及装置。
【背景技术】
计算机仿真是通过电子计算机、 利用***模型对真实***进行试验以达到分析和研究的 目的, 近年来计算机仿真已经广泛应用于科研、 教育、 商业、 生产开发等各个领域。 随着复 杂大***仿真应用的不断扩展以及仿真器的物理分布性的限制, 为了将分散在不同地理位置 上的各种仿真实体通过网络联系在一起共同完成某项任务的模拟,分布式仿真技术应运而生。 1995 年, 为了提高仿真***的互操作性及仿真组件的可重用性, 美国国防部 (DoD)在其建模 与仿真大纲中提出了新一代分布式仿真标准高层体系结构 (High Level Architecture,HLA)。
在 HLA体系中,将用于达到某一特定仿真目的的分布式仿真***称为联邦 (Federation),而 联邦是由若干个相互作用的联邦成员 (Federate)构成。 联邦成员通过实体的模型来产生联邦中 某一类实体的动态行为,如仿真某类实体 (汽车、 舰船等)。 不同联邦成员间的实体通过分布式 仿真运行支撑平台 RTI来传递交互信息, 这些交互信息包含了实体的状态以及对外命令、 报 告等信息, 它们是整个联邦态势的完整体现, 因此, 为了在仿真完成后能够更好地分析***、 评估仿真效果, 这些信息在仿真过程中由专门的数据采集模块采集并保存。
在现有的分布式仿真***中, 一个完整的仿真过程为: 首先利用想定编辑工具制作想定 文件, 或者根据已有的想定文件进行微调形成新的想定文件, 即仿真***输入; 然后将想定 输入***开始仿真运行, 在仿真运行的过程中采集仿真数据; 仿真运行结束后将采集的仿真 数据进行解析并转化为各种分析数据, 包括二三维态势显示数据、 仿真效果评估数据、 仿真 过程各项指标统计数据等等; 最后根据这些数据回放仿真态势, 分析指标统计数据和效果评 估数据。
但是, 现有技术的分布式仿真执行方案存在以下不足:
首先, 仿真效率不高。 一个大型分布式仿真***一次完整的仿真过程需要花费过多的时 间, 仿真运行阶段需要花费 1-3个小时, 在仿真数据解析处理阶段需要 2-4个小时, 从开始 仿真运行至仿真人员分析结果数据需要 3-7个小时 (根据想定的不同具体花费时间不同)。
其次, 仿真过程比较繁琐。 仿真人员需要通过操作来开始仿真运行, 然后等待仿真运行 结束, 然后再次需要通过操作来进行采集数据的解析转化处理, 然后再次等待数据转化结束, 最后才能分析数据, 即人员操作——等待仿真运行结束——人员操作——等待数据转化结束 —结果分析的过程。
【发明内容】
本发明要解决的技术问题是提供一种数据转化处理与联邦***分离,能够提高联邦***运 行效率、 减少仿真花费时间, 仿真操作简单方便的分布式仿真数据处理方法及装置。
为了解决上述技术问题, 本发明采用的技术方案为:
一种分布式仿真数据处理方法, 其实施步骤如下:
1 ) 建立并初始化仿真联邦, 建立独立于仿真联邦的数据处理模块, 启动仿真;
2 )在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿真数据, 将采集得到的仿 真数据分片保存为数据文件并通过网络发送至所述数据处理模块;
3 )所述数据处理模块接收所述数据文件并进行解析、转换得到仿真结果数据并将所述仿 真结果数据存储至仿真数据库中;
4) 注销仿真联邦, 结束仿真。
作为本发明上述分布式仿真数据处理方法的进一步改进:
所述步骤 2 ) 中将采集得到的仿真数据分片保存为数据文件并通过网络发送至数据处理 模块的详细步骤包括:
2. 1 ) 获取已接收仿真数据的大小;
2. 2 )将已接收仿真数据的大小与设定值进行比较, 如果已接收仿真数据的大小达到设定 值则将已接收仿真数据保存至新建的数据文件, 然后将所述数据文件发送给数据处理模块, 然后转入下一步; 如果已接收仿真数据的大小没有达到设定值则直接转入下一步;
2. 3 ) 判断是否收到仿真结束命令, 如果收到则转入下一步, 否则返回执行步骤 2. 1 );
2. 4)创建采集结束标志文件, 将采集结束标志文件通过网络发送至数据处理模块并结束 采集仿真数据。
所述步骤 3 ) 的详细步骤包括:
3. 1 ) 所述数据处理模块接收并读取数据文件;
3. 2 )所述数据处理模块判断数据文件是否为采集结束标志文件, 如果是则直接退出, 否 则执行下一步;
3. 3 )所述数据处理模块读取并解析数据文件中的仿真数据, 将解析后的仿真数据进行转 化为符合仿真数据库格式要求的数据并存储至仿真数据库中, 返回执行步骤 3. 1 )。
本发明还提供一种分布式仿真数据处理装置, 包括:
实验控制模块, 用于在仿真开始前建立并初始化仿真联邦及启动仿真、 在仿真完成后注 销仿真联邦及结束仿真; 数据采集模块,用于在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿真数据、 将采集得到的仿真数据分片保存为数据文件并通过网络输出;
指令处理模块, 用于转发执行仿真模型的控制命令、 转发采集的仿真数据、 控制数据采 集模块以及各个仿真模型;
数据处理模块, 用于接收、 解析、 转换数据文件得到仿真结果数据并将所述仿真结果数 据存储至仿真数据库中;
所述实验控制模块、 数据采集模块分别接入仿真联邦, 所述数据处理模块独立于仿真联 邦; 所述实验控制模块通过指令处理模块分别与数据采集模块、 数据处理模块相连, 所述数 据采集模块通过网络与数据处理模块相连。
作为本发明分布式仿真数据处理装置的进一步改进:
所述数据采集模块包括数据接收单元、 数据管理单元和文件传输单元, 所述数据接收单 元接入仿真联邦, 所述数据管理单元的控制端通过指令处理模块与实验控制模块相连, 所述 文件传输单元的输出端通过网络与数据处理模块相连, 所述数据接收单元通过仿真联邦获取 仿真数据, 所述数据管理单元根据已接收仿真数据的大小与设定值进行比较、 在未接收到仿 真结束命令且已接收仿真数据的大小达到设定值则将已接收仿真数据保存至新建的数据文 件, 所述文件传输单元将所述数据文件发送给数据处理模块。
所述数据处理模块包括相互连接的数据解析单元和数据转化单元, 所述数据解析单元的 输入端通过指令处理模块与数据采集模块相连, 所述数据转化单元的输出端与仿真数据库相 连, 所述数据解析单元读取来自指令处理模块的数据文件并解析数据文件中的仿真数据, 且 数据解析单元根据数据文件是否为采集结束标志文件控制数据处理是否直接退出; 所述数据 转化单元将解析后的仿真数据进行转化为符合仿真数据库格式要求的数据并存储至仿真数据 库中。
所述实验控制模块包括用于实现人机交互的人机交互单元、 用于根据人机交互指令进行 仿真控制的实验控制单元、 用于控制仿真联邦的联邦控制单元以及用于向仿真模型发送仿真 控制指令的指令传输单元, 所述实验控制单元的输入端与人机交互单元相连, 所述实验控制 单元的输出端分别与联邦控制单元、 指令传输单元相连, 所述联邦控制单元接入仿真联邦, 所述指令传输单元的输出端与指令处理模块相连。
本发明的分布式仿真数据处理方法具有下述优点: 本发明通过建立独立于仿真联邦的数 据处理模块使数据转化处理与联邦***分离, 由数据采集模块实时采集各个仿真模型的仿真 数据并将采集得到的仿真数据分片保存为数据文件并通过网络发送至数据处理模块, 数据处 理模块接收数据文件并进行解析、 转换得到仿真结果数据并将仿真结果数据存储至仿真数据 库中, 数据转化与数据采集之间采用数据文件的方式传递仿真数据, 使数据转化模块脱离仿 真联邦, 不影响仿真联邦的运行效率, 同时通过采集数据与解析处理数据同时进行的方式, 减少从仿真开始至态势及评估数据转化完成的时间, 能够在不影响仿真联邦运行效率的条件 下提高实验效率, 减少仿真花费时间, 在数据转化完成后即可查看综合态势、 分析评估结果。
本发明的分布式仿真数据处理装置由于具有与前述分布式仿真数据处理方法相对应的物 理结构, 因此也具有与分布式仿真数据处理方法相对应的技术效果, 而且仿真人员只需要通 过人机交互单元就能够启动或停止仿真、 设定仿真自动结束时间, 整个仿真***进程的启动 和结束在实验管理模块的控制下自动完成; 在仿真启动后, 仿真人员只需要等待仿真结束后 直接查看仿真态势显示及效果评估数据, 仿真***的操作使用非常简单。
【附图说明】
图 1为本发明实施例装置的框架结构示意图。
图 2为应用本发明实施例的分布式仿真***的结构示意图。
图 3为本发明实施例数据采集模块的工作流程示意图。
图 4为本发明实施例数据处理模块的工作流程示意图。
图 5为本发明实施例应用于分布式仿真时的实验流程示意图。
图例说明: 1、 实验控制模块; 11、 人机交互单元; 12、 实验控制单元; 13、 联邦控制单 元; 14、 指令传输单元; 2、 数据采集模块; 21、 数据接收单元; 22、 数据管理单元; 23、 文 件传输单元; 3、 指令处理模块; 4、 数据处理模块; 41、 数据解析单元; 42、 数据转化单元。 【具体实施方式】
本实施例分布式仿真数据处理方法的实施步骤如下:
1 ) 建立并初始化仿真联邦, 建立独立于仿真联邦的数据处理模块, 启动仿真;
2 )在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿真数据, 将采集得到的仿 真数据分片保存为数据文件并通过网络发送至数据处理模块;
3 )数据处理模块接收数据文件并进行解析、转换得到仿真结果数据并将仿真结果数据存 储至仿真数据库中;
4) 注销仿真联邦, 结束仿真。
其中, 步骤 2 ) 中将采集得到的仿真数据分片保存为数据文件并通过网络发送至数据处 理模块的详细步骤包括: 2. 1 ) 获取已接收仿真数据的大小; 2. 2 ) 将已接收仿真数据的大小 与设定值进行比较, 如果已接收仿真数据的大小达到设定值则将已接收仿真数据保存至新建 的数据文件, 然后将数据文件发送给数据处理模块, 然后转入下一步; 如果已接收仿真数据 的大小没有达到设定值则直接转入下一步; 2. 3 )判断是否收到仿真结束命令, 如果收到则转 入下一步, 否则返回执行步骤 2. 1 ); 2. 4 ) 创建采集结束标志文件, 将采集结束标志文件通 过网络发送至数据处理模块并结束采集仿真数据。 步骤 3 ) 的详细步骤包括: 3. 1 ) 数据处理 模块接收并读取数据文件; 3. 2 )数据处理模块判断数据文件是否为采集结束标志文件, 如果 是则直接退出, 否则执行下一步; 3. 3 )数据处理模块读取并解析数据文件中的仿真数据, 将 解析后的仿真数据进行转化为符合仿真数据库格式要求的数据并存储至仿真数据库中, 返回 执行步骤 3. 1 )。
如图 1和图 2所示, 本实施例的分布式仿真数据处理装置包括:
实验控制模块 1, 用于在仿真开始前建立并初始化仿真联邦及启动仿真、 在仿真完成后 注销仿真联邦及结束仿真;
数据采集模块 2, 用于在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿真数 据、 将采集得到的仿真数据分片保存为数据文件并通过网络输出;
指令处理模块 3, 用于转发执行仿真模型的控制命令、 转发采集的仿真数据、 控制数据 采集模块 2以及各个仿真模型;
数据处理模块 4, 用于接收、 解析、 转换数据文件得到仿真结果数据并将仿真结果数据 存储至仿真数据库中;
实验控制模块 1、 数据采集模块 2分别接入仿真联邦, 数据处理模块 4独立于仿真联邦; 实验控制模块 1通过指令处理模块 3分别与数据采集模块 2、 数据处理模块 4相连, 数据采 集模块 2通过网络与数据处理模块 4相连, 本实施例的网络具体是指通过局域网, 此外也可 以通过互联网的形式, 其形式与本实施例基本相同。
本实施例中, 实验控制模块 1用于人机交互, 根据仿真人员的启动、 停止仿真操作发出 控制指令, 控制仿真***中的其他计算机节点的***模块 (包括仿真支撑平台 RTI、 仿真成 员模型、 数据采集模块 2、 数据处理模块 4及在线统计模块等) 的启动和停止; 数据采集模 块 2用于采集仿真数据, 根据时间顺序将采集的数据分片管理, 并以文件的形式保存, 同时 将采集的数据文件发送给数据处理模块 4; 指令处理模块 3用于接收实验控制模块 1发出的 控制命令, 并根据命令执行相应的处理, 启动各个仿真计算机节点上的***模块, 用于接受 数据采集模块 2传出的采集数据文件; 数据处理模块 4用于接收、 解析、 转化数据采集模块 2采集的仿真数据, 将其转化为态势显示数据和统计评估数据, 实验控制模块 1根据仿真人 员的仿真启动 /停止操作, 向指令处理模块 3发出控制指令, 指令处理模块 3接收到指令后启 动数据采集模块 2、 数据处理模块 4等***模块, 数据采集模块 2启动后开始采集仿真数据 并保存为数据文件, 并通过指令处理模块 3将数据文件发送给数据处理模块 4, 本实施例的 采集数据和数据处理同步进行, 在仿真结束后数据处理也同步结束, 从而立即就可以查看仿 真数据库中的态势数据和评估结果数据, 因此数据量大、 计算量大的数据处理不会影响仿真 联邦的运行速度, 能够提高联邦的运行效率、 减少整个仿真过程所花费的时间。
实验控制模块 1包括用于实现人机交互的人机交互单元 11、 用于根据人机交互指令进行 仿真控制的实验控制单元 12、 用于控制仿真联邦的联邦控制单元 13 以及用于向仿真模型发 送仿真控制指令的指令传输单元 14, 实验控制单元 12的输入端与人机交互单元 11相连, 实 验控制单元 12的输出端分别与联邦控制单元 13、 指令传输单元 14相连, 联邦控制单元 13 接入仿真联邦, 指令传输单元 14的输出端与指令处理模块 3相连。 人机交互单元 11用于提 供人机交互界面, 实现人机交互; 实验控制单元 12根据人机交互单元 11提交的控制类型, 执行相应的控制处理; 联邦控制单元 13用于创建仿真控制成员加入仿真联邦, 实现对仿真联 邦的监控; 指令传输单元 14用于向指令处理模块 3传输控制命令, 因此仿真人员只需要通过 人机交互单元 11就能够启动或停止仿真、设定仿真自动结束时间, 整个仿真***进程的启动 和结束在实验管理模块的控制下自动完成; 在仿真启动后仿真人员只需要等待仿真结束后直 接查看仿真态势显示及效果评估数据, 仿真***的操作使用非常简单。
数据采集模块 2包括数据接收单元 21、 数据管理单元 22和文件传输单元 23, 数据接收 单元 21接入仿真联邦, 数据管理单元 22的控制端通过指令处理模块 3与实验控制模块 1相 连, 文件传输单元 23的输出端通过网络与数据处理模块 4相连, 数据接收单元 21通过仿真 联邦获取仿真数据, 数据管理单元 22根据已接收仿真数据的大小与设定值进行比较、在未接 收到仿真结束命令且已接收仿真数据的大小达到设定值则将已接收仿真数据保存至新建的数 据文件, 文件传输单元 23将数据文件发送给数据处理模块 4。本实施例通过数据接收单元 21 从仿真联邦中接收仿真数据、 通过数据管理单元 22管理数据接收单元 21采集的仿真数据, 保存仿真数据至采集数据文件, 通过文件传输单元 23发送采集数据文件并由数据处理模块 4 所在的计算机节点上的指令处理模块 3接收, 数据接收单元 21、 数据管理单元 22和文件传 输单元 23与仿真模型分别位于分布式仿真计算的各个计算机节点内,都由同一个指令处理模 块 3启动。
本实施例的指令处理模块 3具体根据计算机节点的数量进行布置。 如图 2所示, 图中每一 个虚线框代表一个计算机节点, 因此本实施例包含多个指令处理模块 3, 此外也可以根据需要 调整计算机节点的数量, 从而灵活调整指令处理模块 3的数量, 例如将数据采集模块 2所在的 计算机节点和仿真模型所在的计算机节点进行合并作为一个计算机节点等等, 此时指令处理 模块 3的数量也会适应地发生变化。
数据处理模块 4包括相互连接的数据解析单元 41和数据转化单元 42,数据解析单元 41的输 入端通过指令处理模块 3与数据采集模块 2相连,数据转化单元 42的输出端与仿真数据库相连, 数据解析单元 41读取来自指令处理模块 3的数据文件并解析数据文件中的仿真数据,且数据解 析单元 41根据数据文件是否为采集结束标志文件控制数据处理是否直接退出; 数据转化单元 42将解析后的仿真数据进行转化为符合仿真数据库格式要求的数据并存储至仿真数据库中。 本实施例的数据处理模块 4通过一个独立的计算机节点实现,且该计算机节点通过网络与数据 采集模块 2相连, 数据解析单元 41通过数据处理模块 4所在计算机节点内部的指令处理模块 3 读取采集数据文件、 解析采集数据, 数据转化单元 42从数据解析单元 41获取解析数据, 经转 化处理后导入仿真数据库。 本实施例中仿真数据库包括用于存储态势显示数据的态势显示数 据库和用于存储效果评估数据的评估数据库, 因此数据转化单元 42具体可分为两类: 用于将 解析数据转化为态势显示数据并保存至态势显示数据库的态势数据转化单元、 用于将解析数 据转化为效果评估数据并保存至评估数据库的评估数据转化单元;数据处理模块 4可以分为态 势数据处理模块和评估数据处理模块,本实施例通过将数据采集模块 2的采集数据与数据处理 模块 4的数据处理同步进行, 但数据处理模块 4的数据处理不加入仿真联邦, 所以能够在不影 响联邦运行速度的情况下减少整个过程所花的时间。
如图 2所示, 本实施例的分布式仿真***中, 支撑平台采用分布式仿真支撑平台 RTI, 实 验控制模块 1、数据采集模块 2分别接入分布式仿真支撑平台 RTI。一个计算机节点内包含多个 仿真模型,且一个计算机节点内的多个仿真模型通过同一计算机节点内的指令处理模块 3连接 网络, 与实验控制模块 1通过网络相连。 分布式仿真***还包括, 仿真模型, 用于描述仿真实 体的行为 (如舰船、 汽车等); 在线统计模块, 用于实时统计各项指标, 展现统计结果, 保存 统计结果至仿真数据库; 分布式仿真支撑平台 RTI, 用于连接各个仿真模型、 在线统计模块、 数据采集模块 2, 实现模型间的信息传递, 其中仿真模型是仿真***中模拟实体的模型实现。 实验控制模块 1发出控制指令经网络传输至指令处理模块 3,指令处理模块 3接收到控制指令后 启动、 停止仿真模型、 数据采集模块 2和在线统计模块; 在仿真模型启动加入仿真联邦后, 实 验控制模块 1通过仿真支撑平台 RTI发送仿真模型初始化脚本, 并控制仿真运行的开始、暂停、 继续和停止。
如图 3所示, 本实施例数据采集模块 2的数据采集与数据处理模块 4的数据处理同时进行, 数据处理模块 4不加入仿真联邦, 不影响仿真联邦的运行效率, 其中数据采集模块 2的数据采 集具体流程为:
步骤 Al, 数据采集模块 2被指令处理模块 3启动;
步骤 A2, 数据采集模块 2根据启动参数, 完成初始化设置, 加入仿真联邦;
步骤 A3, 接收仿真数据;
步骤 A4, 判断采集的数据量是否达到设定值, 若达到则将数据保存至新建数据文件, 并 将数据文件通过网络发送至数据处理模块 4, 然后转入下一步, 若数据量没有达到设定值, 则 直接进入下一步;
步骤 A5, 判断是否接收到仿真停止命令, 若是则进入下一步, 否则回到步骤 A3;
步骤 A6, 创建采集结束标志文件, 并将文件发送至数据处理模块 4;
步骤 A7, 退出仿真联邦, 数据采集模块 2自动结束进程。
如图 4所示, 数据处理模块 4的数据处理具体流程为:
步骤 Bl, 数据处理模块 4被指令处理模块 3启动;
步骤 B2, 等待第一个采集数据文件;
步骤 B3, 读取数据文件, 判断是否为采集结束标志文件, 若是则数据处理模块 4自动结束 进程, 否则进入下一步;
步骤 B4, 读取数据文件中的仿真数据, 利用数据解析单元 41解析数据;
步骤 B5, 数据转化单元 42转化解析的仿真数据, 导入仿真数据库;
步骤 B6, 等待下一采集数据文件, 下一采集数据文件到达时转入步骤 B3。
如图 5所示, 本实施例进行仿真实验的具体操作流程如下:
步骤 Cl, 仿真人员操作实验控制模块 1, 启动仿真;
步骤 C2, 实验控制模块 1创建仿真联邦, 通过网络向各个指令处理模块 3发送启动命令, 在启动命令中包含了需要启动的***模块信息和启动参数;
步骤 C3, 各个计算机节点上的指令处理模块 3接收到启动命令后, 根据命令中参数启动相 应的***模块;
步骤 C4, 各个***模块根据启动并初始化完成, 数据采集模块 2、仿真模型根据启动参数 加入仿真联邦;
步骤 C5,实验控制模块 1解析想定脚本文件,将脚本通过仿真联邦发送给不同的仿真模型; 步骤 C6,各个仿真模型接收脚本完成初始化,并通过仿真联邦返回报告至实验控制模块 1, 实验控制模块 1通过仿真联邦发出仿真开始命令;
步骤 C7, 仿真开始运行, 仿真模型开始进行模型计算, 数据采集模块 2开始采集数据, 在 仿真运行过程中, 数据采集模块 2生成采集的数据文件并经网络发送至数据处理模块 4;
步骤 C8, 实验控制模块 1检测已到设定仿真结束时间或者仿真人员操作停止仿真, 实验控 制模块 1通过仿真联邦发出仿真停止命令;
步骤 C9, 仿真模型接收到仿真停止命令后退出仿真联邦, 实验控制模块 1注销仿真联邦, 通过网络发出结束仿真模型进程命令, 由指令处理模块 3接收并执行;
步骤 C10, 数据采集模块 2生成采集结束标志文件, 并发送给数据处理模块 4, 然后自动结 束进程, 数据处理模块 4完成数据处理任务后自动结束进程;
步骤 Cl l, 仿真人员开始分析仿真结果。
以上所述仅是本发明的优选实施方式, 本发明的保护范围并不仅局限于上述实施例, 凡 属于本发明思路下的技术方案均属于本发明的保护范围。 应当指出, 对于本技术领域的普通 技术人员来说, 在不脱离本发明原理前提下的若干改进和润饰, 这些改进和润饰也应视为本 发明的保护范围。

Claims

权 利 要 求
1、 一种分布式仿真数据处理方法, 其特征在于, 实施步骤如下:
1 ) 建立并初始化仿真联邦, 建立独立于仿真联邦的数据处理模块, 启动仿真; 2 ) 在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿真数据, 将采集得到 的仿真数据分片保存为数据文件并通过网络发送至所述数据处理模块;
3 ) 所述数据处理模块接收所述数据文件并进行解析、 转换得到仿真结果数据并将所 述仿真结果数据存储至仿真数据库中;
4) 注销仿真联邦, 结束仿真。
2、 根据权利要求 1所述的分布式仿真数据处理方法, 其特征在于, 所述步骤 2) 中将 采集得到的仿真数据分片保存为数据文件并通过网络发送至数据处理模块的详细步骤包 括:
2.1 ) 获取已接收仿真数据的大小;
2.2)将已接收仿真数据的大小与设定值进行比较, 如果已接收仿真数据的大小达到设 定值则将已接收仿真数据保存至新建的数据文件, 然后将所述数据文件发送给数据处理模 块, 然后转入下一步; 如果已接收仿真数据的大小没有达到设定值则直接转入下一步;
2.3 ) 判断是否收到仿真结束命令, 如果收到则转入下一步, 否则返回执行步骤 2.1 );
2.4)创建采集结束标志文件, 将采集结束标志文件通过网络发送至数据处理模块并结 束采集仿真数据。
3、 根据权利要求 2所述的分布式仿真数据处理方法, 其特征在于, 所述步骤 3 ) 的详 细步骤包括:
3.1 ) 所述数据处理模块接收并读取数据文件;
3.2) 所述数据处理模块判断数据文件是否为采集结束标志文件, 如果是则直接退出, 否则执行下一步;
3.3 )所述数据处理模块读取并解析数据文件中的仿真数据, 将解析后的仿真数据进行 转化为符合仿真数据库格式要求的数据并存储至仿真数据库中, 返回执行步骤 3.1 )。
4、 一种分布式仿真数据处理装置, 其特征在于, 包括:
实验控制模块 (1 ), 用于在仿真开始前建立并初始化仿真联邦及启动仿真、 在仿真完 成后注销仿真联邦及结束仿真;
数据采集模块 (2), 用于在仿真运行过程中通过仿真联邦实时采集各个仿真模型的仿 真数据、 将采集得到的仿真数据分片保存刃 又件并通过网络输出;
指令处理模块 (3 ), 用于转发执行仿真模型的控制命令、 转发采集的仿真数据、 控制 数据采集模块 (2) 以及各个仿真模型;
数据处理模块 (4), 用于接收、 解析、 转换数据文件得到仿真结果数据并将所述仿真 结果数据存储至仿真数据库中;
所述实验控制模块 (1 )、 数据采集模块 (2) 分别接入仿真联邦, 所述数据处理模块 (4) 独立于仿真联邦; 所述实验控制模块 (1 ) 通过指令处理模块 (3 ) 分别与数据采集 模块(2)、数据处理模块(4)相连, 所述数据采集模块(2)通过网络与数据处理模块(4) 相连。
5、 根据权利要求 4所述的分布式仿真数据处理装置, 其特征在于: 所述数据采集模 块 (2) 包括数据接收单元 (21 )、 数据管理单元 (22) 和文件传输单元 (23 ), 所述数据 接收单元 (21 ) 接入仿真联邦, 所述数据管理单元 (22) 的控制端通过指令处理模块 (3 ) 与实验控制模块 (1 ) 相连, 所述文件传输单元 (23 ) 的输出端通过网络与数据处理模块 (4)相连, 所述数据接收单元(21 )通过仿真联邦获取仿真数据, 所述数据管理单元(22) 根据已接收仿真数据的大小与设定值进行比较、 在未接收到仿真结束命令且已接收仿真数 据的大小达到设定值则将已接收仿真数据保存至新建的数据文件,所述文件传输单元(23 ) 将所述数据文件发送给数据处理模块 (4)。
6、 根据权利要求 5 所述的分布式仿真数据处理装置, 其特征在于: 所述数据处理模 块(4)包括相互连接的数据解析单元(41 )和数据转化单元(42),所述数据解析单元(41 ) 的输入端通过指令处理模块 (3 ) 与数据采集模块 (2) 相连, 所述数据转化单元 (42) 的 输出端与仿真数据库相连, 所述数据解析单元 (41 ) 读取来自指令处理模块 (3 ) 的数据 文件并解析数据文件中的仿真数据, 且数据解析单元 (41 ) 根据数据文件是否为采集结束 标志文件控制数据处理是否直接退出; 所述数据转化单元 (42) 将解析后的仿真数据进行 转化为符合仿真数据库格式要求的数据并存储至仿真数据库中。
7、 根据权利要求 4或 5或 6所述的分布式仿真数据处理装置, 其特征在于: 所述实 验控制模块 (1 ) 包括用于实现人机交互的人机交互单元 (11 )、 用于根据人机交互指令进 行仿真控制的实验控制单元 (12)、 用于控制仿真联邦的联邦控制单元 (13 ) 以及用于向 仿真模型发送仿真控制指令的指令传输单元 (14), 所述实验控制单元 (12) 的输入端与 人机交互单元 (11 ) 相连, 所述实验控制单元 (12) 的输出端分别与联邦控制单元 (13 )、 指令传输单元(14)相连,所述联邦控制单元(13 )接入仿真联邦,所述指令传输单元(14) 的输出端与指令处理模块 (3 ) 相连。
PCT/CN2013/071334 2012-04-24 2013-02-04 分布式仿真数据处理方法及装置 WO2013159586A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210121615.0 2012-04-24
CN2012101216150A CN102708232B (zh) 2012-04-24 2012-04-24 分布式仿真数据处理方法及装置

Publications (1)

Publication Number Publication Date
WO2013159586A1 true WO2013159586A1 (zh) 2013-10-31

Family

ID=46900995

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/071334 WO2013159586A1 (zh) 2012-04-24 2013-02-04 分布式仿真数据处理方法及装置

Country Status (2)

Country Link
CN (1) CN102708232B (zh)
WO (1) WO2013159586A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838912B (zh) * 2013-12-20 2016-08-31 北京瑞风协同科技股份有限公司 一种多领域协同工作***
CN112639734A (zh) * 2020-12-10 2021-04-09 华为技术有限公司 仿真任务调度方法、执行方法、仿真实现方法及装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708232B (zh) * 2012-04-24 2013-06-19 中国人民解放军国防科学技术大学 分布式仿真数据处理方法及装置
CN103442038B (zh) * 2013-08-12 2019-08-06 北京理工大学 一种主从分布式协作运行的hla仿真管控
CN103793281A (zh) * 2014-01-24 2014-05-14 北京仿真中心 一种计算密集型仿真任务的负载均衡方法
CN105069265B (zh) * 2015-09-08 2018-04-20 武汉大学 实现atp电力***仿真计算模型自动生成运行的***
CN105893680B (zh) * 2016-04-01 2019-08-09 国网北京市电力公司 数据处理的方法和装置
CN107943618B (zh) * 2017-11-27 2021-01-05 北京华如科技股份有限公司 仿真***的数据快速恢复方法及存储介质
CN113759749B (zh) * 2020-06-02 2024-05-03 青岛海信日立空调***有限公司 一种冷水机组仿真***

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014137A (zh) * 2010-12-13 2011-04-13 哈尔滨工业大学 一种基于hla的通用分布式数据记录装置和方法
CN102708232A (zh) * 2012-04-24 2012-10-03 中国人民解放军国防科学技术大学 分布式仿真数据处理方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8463839B2 (en) * 2000-03-28 2013-06-11 Cybernet Systems Corporation Distributed computing environment
JP2004094738A (ja) * 2002-09-02 2004-03-25 Toshiba Corp 分散型シミュレーションシステム
CN100547553C (zh) * 2007-12-07 2009-10-07 华中科技大学 基于仿真网格的仿真场景自动部署方法
CN101256599B (zh) * 2008-03-07 2010-06-23 华中科技大学 基于网格的分布仿真平台数据收集***

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014137A (zh) * 2010-12-13 2011-04-13 哈尔滨工业大学 一种基于hla的通用分布式数据记录装置和方法
CN102708232A (zh) * 2012-04-24 2012-10-03 中国人民解放军国防科学技术大学 分布式仿真数据处理方法及装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEN, BIN: "The research of federation observation method and design of tool based on simulation system of HLA", CHINESE MASTER'S THESES FULL-TEXT DATABASE, 30 November 2006 (2006-11-30), pages 1 - 34 *
HUANG, JIAN ET AL.: "The research and application of HLA-based distributed simulation environment KD-HLA", JOURNAL OF SYSTEM SIMULATION, vol. 16, no. 2, 29 February 2004 (2004-02-29), pages 214 - 221 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838912B (zh) * 2013-12-20 2016-08-31 北京瑞风协同科技股份有限公司 一种多领域协同工作***
CN112639734A (zh) * 2020-12-10 2021-04-09 华为技术有限公司 仿真任务调度方法、执行方法、仿真实现方法及装置
CN112639734B (zh) * 2020-12-10 2022-02-11 华为技术有限公司 仿真任务调度方法、执行方法、仿真实现方法及装置

Also Published As

Publication number Publication date
CN102708232B (zh) 2013-06-19
CN102708232A (zh) 2012-10-03

Similar Documents

Publication Publication Date Title
WO2013159586A1 (zh) 分布式仿真数据处理方法及装置
JP3574231B2 (ja) 計算機ネットワークのシミュレータ装置
CN106155906B (zh) 一种银行主机内部测试***及方法
CN103634154B (zh) 网络状态的模拟***及其模拟方法
CN107784152A (zh) 包括多个模拟器的模拟
CN105955208B (zh) 一种基于云平台的网络机器人数据控制***
CN103442038B (zh) 一种主从分布式协作运行的hla仿真管控
CN111985102A (zh) 一种多源异构模型分布式集成仿真方法及***
WO2022120717A1 (zh) 仿真任务调度方法、执行方法、仿真实现方法及装置
CN103970031B (zh) 一种卫星模拟器集成仿真***及仿真方法
CN101819724A (zh) 基于scorm的虚拟训练软件平台
KR102199810B1 (ko) 전문가 경험지식을 활용하는 가상훈련 평가 분석 시스템 및 그 방법
CN104504175A (zh) 航天器装配仿真***及仿真方法
CN114707236A (zh) 一种基于模型的虚实结合仿真试验方法
CN106934105B (zh) 一种基于rtds的稳控闭环仿真***
CN106982140A (zh) 一种信息流仿真方法及***
CN114115898B (zh) 一种智能融合终端微应用软件框架
CN110635943A (zh) 基于Spark计算框架的网络传输过程的网络流量仿真***
CN115019595B (zh) 基于航电仿真i/o管理的训练模拟器实现方法及***
AU2021102525A4 (en) Virtuality and Reality Combination Remote Experiment Teaching Information Processing System, Method and Intelligent Terminal
CN102075523A (zh) 一种用于动车组网络控制逻辑验证的仿真装置
CN211016024U (zh) 一种用于车辆驾驶仿真的虚拟现实仿真***
CN104239630A (zh) 一种支持试验设计的仿真调度***
CN107273618A (zh) 用于仿真模型之间信息传输的方法和装置
CN104834613A (zh) 用以存取虚拟机的计算机***及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13781125

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13781125

Country of ref document: EP

Kind code of ref document: A1