JP2001142385A - System and method for distributed simulation - Google Patents

System and method for distributed simulation

Info

Publication number
JP2001142385A
JP2001142385A JP32146199A JP32146199A JP2001142385A JP 2001142385 A JP2001142385 A JP 2001142385A JP 32146199 A JP32146199 A JP 32146199A JP 32146199 A JP32146199 A JP 32146199A JP 2001142385 A JP2001142385 A JP 2001142385A
Authority
JP
Japan
Prior art keywords
time
event log
file
simulation
checkpoint
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.)
Pending
Application number
JP32146199A
Other languages
Japanese (ja)
Inventor
Shoichi Furuichi
昌一 古市
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP32146199A priority Critical patent/JP2001142385A/en
Publication of JP2001142385A publication Critical patent/JP2001142385A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a system and method for distributed simulation capable of easily reproducing an optional picture seen by a player when simulation is executed at the time of restoring the internal state of simulation. SOLUTION: This system/method is provided with a training environment simulator 2 for simulation, a player terminal 3 for displaying a simulated result in real time on a player 7, a recording and reproducing device 4 for recording and reproducing simulation and an integrated control device 1 for executing integrated control of the whole system. The device 4 has a check point file 410 for retaining the whole contents of simulation at a prescribed time on the basis of a recording and retaining condition 405 previously set by the operator 6 and an event log file 411 for retaining the difference of a simulated state until execution of next retention.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は,分散シミュレー
ション方法及び分散シミュレーションシステムに関し、
特に、一人以上のプレイヤがそれぞれ異なる表示端末上
の画面を見ながら同一の仮想訓練環境を共有して対象業
務の訓練を行うための分散シミュレーション方法及び分
散シミュレーションシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed simulation method and a distributed simulation system,
In particular, the present invention relates to a distributed simulation method and a distributed simulation system in which one or more players share the same virtual training environment while training screens on different display terminals to train a target task.

【0002】[0002]

【従来の技術】図14は、例えば特開平5−27661
号公報(任意再現可能なシミュレータ)に開示された、
シミュレーション実行中に、シミュレーション全内部状
態とオペレータの操作履歴を定期的にファイルに保存す
ることにより、保存した任意の時刻の状態の再現を高速
に行うことができる従来のシミュレーション装置を示し
たブロック図である。
2. Description of the Related Art FIG.
No. (Simulator that can be reproduced arbitrarily)
A block diagram showing a conventional simulation device that can quickly reproduce a saved state at an arbitrary time by periodically saving the entire internal state of the simulation and the operation history of the operator to a file during the execution of the simulation. It is.

【0003】図において、500は後述の状態データ記
録装置及び操作入力データ記録装置の記録動作の制御を
行うデータ記憶制御装置、501は後述の模擬演算装置
の動作中の状態が記録される状態データ記録装置、50
2はオペレータにより操作されて操作入力データが生成
される操作装置、503は操作入力データに従って模擬
演算を実行する模擬演算装置、504は各種の処理及び
模擬を表示する表示装置、505は操作入力データが記
録される操作入力データ記録装置である。
In FIG. 1, reference numeral 500 denotes a data storage control device for controlling a recording operation of a state data recording device and an operation input data recording device, which will be described later; Recording device, 50
Reference numeral 2 denotes an operation device that is operated by an operator to generate operation input data, 503 denotes a simulation device that executes a simulation operation in accordance with the operation input data, 504 denotes a display device that displays various processes and simulations, and 505 denotes operation input data. Is recorded in the operation input data recording device.

【0004】動作について説明する。シミュレーション
時、模擬演算装置503は、オペレータの操作する操作
装置502からの各データに基づいて模擬演算を実行
し、さらに最小演算間隔で同期信号を定期的に出力す
る。データ記憶制御装置500はこの同期信号を入力
し、装置内に格納された処理プログラムを実行すること
により、状態データ記録装置501及び操作入力データ
記録装置505を起動し、模擬演算装置503の各デー
タを記録させる。シミュレーション終了後に、データ記
憶制御装置500にオペレータからの再現開始時刻が入
力されると、模擬演算装置503は、入力された再現開
始時刻に対応した状態データを初期値として、また、操
作入力データを時系列の入力データとして入力し、シミ
ュレーションの再現を行う。
The operation will be described. At the time of simulation, the simulation operation device 503 executes a simulation operation based on each data from the operation device 502 operated by the operator, and periodically outputs a synchronization signal at a minimum operation interval. The data storage control device 500 receives the synchronization signal, executes the processing program stored in the device, activates the state data recording device 501 and the operation input data recording device 505, and stores the data in the simulation operation device 503. Is recorded. After the simulation is completed, when the reproduction start time is input from the operator to the data storage control device 500, the simulation processing device 503 sets the state data corresponding to the input reproduction start time as an initial value, and sets the operation input data to Input as time-series input data and reproduce simulation.

【0005】この従来のシミュレーション装置を利用し
て訓練用分散シミュレーションシステムを構成した場
合、任意の論理時刻の状態を再現するためには、模擬演
算装置503が出力する同期信号によるデータの記録周
期を充分小さくすれば良い。
[0005] When a distributed simulation system for training is constructed using this conventional simulation apparatus, in order to reproduce a state at an arbitrary logic time, the data recording cycle based on the synchronization signal output from the simulation operation apparatus 503 is required. What is necessary is just to make it small enough.

【0006】[0006]

【発明が解決しようとする課題】上記のような従来のシ
ミュレーション装置においては、これを用いて訓練用分
散シミュレーションシステムを構成した場合、訓練後に
任意の論理時刻におけるシミュレーションの内部状態を
復元するためには、データの記録周期を充分小さくする
必要があるが、その場合、保存のために要する処理がシ
ミュレーションの実行に影響してしまうため、データの
記録周期は一定以上に小さくすることができないという
問題点があった。
In the conventional simulation apparatus as described above, when a distributed simulation system for training is constructed using the same, it is necessary to restore the internal state of the simulation at an arbitrary logic time after the training. However, it is necessary to make the data recording cycle sufficiently short, but in that case, the processing required for storage affects the execution of the simulation, so that the data recording cycle cannot be made shorter than a certain value. There was a point.

【0007】また、データの記録周期を充分小さくした
場合の他の問題として、記録するデータ量が大きくなっ
てしまうという問題点があった。
Another problem when the data recording cycle is made sufficiently short is that the amount of data to be recorded becomes large.

【0008】これらの理由から、データの記録周期を小
さくできないため、記録結果を時系列で再生してアニメ
ーション表示するようにすると、保存されてない時刻の
状態は表示できないか、あるいは補間処理を行うため、
訓練時に訓練生(プレイヤ)が見た画面と同様の画面を
再生することは困難であるという問題点があった。
For these reasons, the recording cycle of data cannot be shortened. Therefore, if the recorded result is reproduced in a time series and displayed as an animation, the state of the time that has not been saved cannot be displayed or interpolation processing is performed. For,
There is a problem that it is difficult to reproduce a screen similar to the screen seen by the trainee (player) during training.

【0009】この発明は、かかる問題点を解決するため
になされたもので、記録すべきシミュレータの内部状態
に対し、記録するか否かを決める「記録条件」と、ファ
イルに書出すタイミングを決める「保存条件」とを設定
することができ、また、ある論理時刻におけるシステム
の状態を全て保存するチェックポイントファイルと、チ
ェックポイントファイルを保存した以降のシステムの内
部状態の変化の差分だけを保存するイベントログファイ
ルとを備え、これら2種類のファイルを用いて、模擬実
施中には記録保存処理によるシミュレーションの処理に
対する影響が少なく、かつ、記録するデータ量を低く抑
えることができ、模擬実施後には効率良く再生処理を行
え、模擬実施時にプレイヤが見た画面と同様の画面の再
生が確実にかつ容易に可能な分散シミュレーション方法
及びシステムを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and determines a "recording condition" for determining whether or not to record, and a timing for writing to a file, with respect to an internal state of a simulator to be recorded. A "save condition" can be set, and only a difference between a checkpoint file that saves all system states at a certain logical time and a change in the internal state of the system after the checkpoint file is saved is saved. An event log file is provided, and by using these two types of files, during the simulation, the effect of the recording and saving process on the simulation process is small, and the amount of data to be recorded can be kept low. The reproduction process can be performed efficiently, and the reproduction of the screen similar to the screen seen by the player at the time of the simulation is performed reliably and in a satisfactory manner. And to provide a distributed simulation method and system capable to.

【0010】[0010]

【課題を解決するための手段】この発明は、仮想環境を
模擬する模擬手段と、模擬手段により模擬された結果を
リアルタイムで表示する1台以上の表示手段と、模擬の
内容を記録保存するための条件を設定する記録保存条件
設定手段と、条件に基づいて模擬の内容全てをチェック
ポイントファイルに保存するチェックポイントファイル
手段と、チェックポイントファイルに保存を行った時刻
から次の保存を行う時刻までの間の模擬の内容の変化の
差分だけをイベントログファイルに保存するイベントロ
グファイル手段と、保存された上記チェックポイントフ
ァイル及びイベントログファイルを用いて、任意の時刻
における模擬の内容を再生して表示手段に表示するため
の再生手段と、システム全体の統合管理を行うための統
合管理手段と、を備えた分散シミュレーションシステム
である。
SUMMARY OF THE INVENTION The present invention provides a simulating means for simulating a virtual environment, one or more display means for displaying a result simulated by the simulating means in real time, and a means for recording and storing the contents of the simulation. Record storage condition setting means for setting the conditions of the above, checkpoint file means for storing all the contents of the simulation in the checkpoint file based on the conditions, and from the time when the checkpoint file is stored to the time when the next storage is performed Using the event log file means for storing only the difference in the change of the simulation content between the event log file and the saved checkpoint file and event log file, reproducing the simulation content at an arbitrary time Playback means for displaying on the display means and integrated management means for performing integrated management of the entire system; Is an example was distributed simulation system.

【0011】また、統合管理手段が、再生手段と表示手
段とに対して、再生の開始時刻と保存されたチェックポ
イントファイル及びイベントログファイルを指定し、再
生手段が出力したデータを論理時刻を同期させて表示手
段上へ表示するための制御機構を備えている。
Further, the integrated management means designates the reproduction start time and the stored checkpoint file and event log file for the reproduction means and the display means, and synchronizes the data output by the reproduction means with the logical time. And a control mechanism for displaying on the display means.

【0012】また、記録保存条件設定手段が、模擬の内
容のうち、いずれをチェックポイントファイル及びイベ
ントログファイルにそれぞれ記録するか否かを決める記
録条件を設定する記録条件設定部と、チェックポイント
ファイル及びイベントログファイルに書き出すタイミン
グをそれぞれ決める保存条件を設定する保存条件設定部
と、を備えている。
A recording condition setting unit for setting a recording condition for determining which of the simulated contents is to be recorded in the checkpoint file and the event log file, respectively; And a storage condition setting unit for setting storage conditions for determining the timing of writing to the event log file.

【0013】また、チェックポイントファイルに保存す
る前に、データを一時的に格納するチェックポイントバ
ッファと、イベントログファイルに保存する前に、デー
タを一時的に格納するイベントログバッファと、をさら
に備え、模擬の毎時刻の状態変化は、上記チェックポイ
ントバッファに書き込まれると同時にイベントログバッ
ファに書き込まれ、次の時刻における同じ属性のデータ
の状態変化に関しては、チェックポイントバッファでは
上書きし、イベントログバッファでは追加書き込みし、
以上の処理を繰り返して、イベントログファイルに関す
る記録保存条件を満たした時点でイベントログファイル
に書き込みし、チェックポイントファイルに関する記録
保存条件を満たした時点でチェックポイントファイルに
書き出す。
In addition, the apparatus further comprises a checkpoint buffer for temporarily storing data before storing the data in the checkpoint file, and an event log buffer for temporarily storing data before storing the data in the event log file. The simulated status change at each time is written to the above-mentioned checkpoint buffer and simultaneously written to the event log buffer, and the status change of the data of the same attribute at the next time is overwritten by the checkpoint buffer, and the event log buffer Let's write additional
By repeating the above processing, the data is written to the event log file when the recording storage condition for the event log file is satisfied, and is written to the checkpoint file when the recording storage condition for the checkpoint file is satisfied.

【0014】また、イベントログファイル内に、各時刻
毎に、変更があった状態を示す識別子と、模擬の新しい
状態を示す値とを格納する。
An identifier indicating a changed state and a value indicating a simulated new state are stored in the event log file at each time.

【0015】また、イベントログファイル内に、さら
に、各時刻毎に、模擬の1つ前の時刻の過去の状態を示
す値を格納する。
In the event log file, a value indicating a past state at a time immediately before the simulation is stored for each time.

【0016】また、再生手段が、統合管理手段上で指定
される再生の開始時刻を受信する受信部と、開始時刻よ
り以前の最も新しい時刻に保存されたチェックポイント
ファイルを検索する検索部と、検索したチェックポイン
トファイルの保存時刻以降のイベントログファイルの識
別子及び新しい状態を示す値を用いて、正方向に模擬の
状態を再現していくことにより開始時刻の状態を再現し
て、再生開始状態を作成する再生開始状態作成部と、統
合管理手段から出力される時刻同期信号に同期させて、
イベントログファイルから毎時刻の模擬の内容の変化を
送信して、同じく統合管理手段からの時刻同期信号に同
期して動作する表示手段上に表示することにより再生を
行う再生部と、を備えている。
A reproducing unit for receiving a reproduction start time designated on the integrated management unit; a retrieval unit for retrieving a checkpoint file stored at the latest time before the start time; Using the identifier of the event log file after the save time of the searched checkpoint file and the value indicating the new state, the state of the start time is reproduced by reproducing the simulated state in the forward direction, and the reproduction start state And a playback start state creation unit for creating a time synchronization signal output from the integrated management means,
A reproduction unit that transmits a change in the content of the simulation at each time from the event log file and performs reproduction by displaying the change on the display unit that also operates in synchronization with the time synchronization signal from the integrated management unit. I have.

【0017】また、再生手段が、統合管理手段上で指定
される再生の開始時刻を受信する受信部と、開始時刻よ
り以降の最も新しい時刻に保存されたチェックポイント
ファイルを検索する検索部と、検索したチェックポイン
トファイルの保存時刻以前のイベントログファイルの識
別子、新しい状態を示す値及び過去の状態を示す値を用
いて、逆方向に模擬の状態を再現していくことにより開
始時刻の状態を再現して、再生開始状態を作成する再生
開始状態作成部と、統合管理手段から出力される時刻同
期信号に同期させて、イベントログファイルの識別子及
び新しい状態を示す値から毎時刻の模擬の内容の変化を
送信して、同じく統合管理手段からの時刻同期信号に同
期して動作する表示手段上に表示することにより再生を
行う再生部と、を備えている。
A reproducing unit for receiving a reproduction start time specified on the integrated management unit; a retrieval unit for retrieving a checkpoint file stored at the latest time after the start time; Using the identifier of the event log file before the save time of the searched checkpoint file, the value indicating the new state, and the value indicating the past state, the state of the start time is reproduced by reproducing the simulated state in the reverse direction. The reproduction start state creation unit that reproduces and creates the reproduction start state, and the contents of the simulation at each time from the identifier of the event log file and the value indicating the new state in synchronization with the time synchronization signal output from the integrated management means. And a reproduction unit for reproducing by transmitting the change of the information and displaying the same on a display unit operating in synchronization with the time synchronization signal from the integrated management unit. Eteiru.

【0018】また、チェックポイントファイル手段とイ
ベントログファイル手段とを同数のそれぞれ複数個ずつ
設けて、記録保存条件設定手段により各々に対して別の
記録条件を与えて模擬の内容の保存を行う。
Also, a plurality of checkpoint file means and event log file means are provided in the same number, respectively, and different recording conditions are given to each of them by the recording and storage condition setting means to store the contents of the simulation.

【0019】また、複数個ずつ設けられたチェックポイ
ントファイル手段及びイベントログファイル手段の各対
に対して1つずつ再生手段を設けて、各再生手段を同期
させて、別の記録条件で保存されたチェックポイントフ
ァイル及びイベントログファイルを再生することによ
り、同一の仮想環境を再生する。
Also, one reproducing means is provided for each pair of a plurality of checkpoint file means and event log file means, and the reproducing means are synchronized and stored under different recording conditions. By reproducing the checkpoint file and the event log file, the same virtual environment is reproduced.

【0020】また、複数個ずつ設けられたチェックポイ
ントファイル手段及びイベントログファイル手段の各々
に対して、記録保存条件設定手段により保存条件として
異なる保存周期を指定することにより、それぞれ保存タ
イミングの異なる記録データが保存される。
Also, by setting different storage periods as storage conditions by the storage setting condition setting means for each of the plurality of checkpoint file means and event log file means provided, the recording conditions having different storage timings are different. The data is saved.

【0021】また、この発明は、仮想環境を模擬する模
擬工程と、模擬工程により模擬された結果をリアルタイ
ムで1台以上の表示装置に表示する表示工程と、模擬の
内容を記録保存するための条件を設定する記録保存条件
設定工程と、条件に基づいて模擬の内容全てをチェック
ポイントファイルに保存するチェックポイントファイル
工程と、チェックポイントファイルに保存を行った時刻
から次の保存を行う時刻までの間の模擬の内容の変化の
差分だけをイベントログファイルに保存するイベントロ
グファイル工程と、保存されたチェックポイントファイ
ル及びイベントログファイルを用いて、任意の時刻にお
ける模擬の内容を再生して表示装置に表示する再生工程
と、時刻同期信号を出力してシステム全体の統合管理を
行うための統合管理工程と、を備えた分散シミュレーシ
ョン方法である。
Further, the present invention provides a simulation step of simulating a virtual environment, a display step of displaying a result simulated by the simulation step on one or more display devices in real time, and a step of recording and storing the contents of the simulation. A record storage condition setting process for setting conditions, a checkpoint file process for storing all the contents of the simulation in a checkpoint file based on the conditions, and a checkpoint file process from the time when the checkpoint file is saved to the time when the next save is performed. An event log file process of storing only a difference between changes in the contents of the simulation between the event log files, and a display device that reproduces the contents of the simulation at an arbitrary time by using the stored checkpoint file and the event log file. And the integrated pipe for outputting the time synchronization signal for integrated management of the entire system A step, a distributed simulation method with a.

【0022】また、統合管理工程において、再生工程と
表示工程とに対して、再生の開始時刻と保存されたチェ
ックポイントファイル及びイベントログファイルを指定
し、再生工程において出力したデータを論理時刻を同期
させて表示装置上へ表示するための制御機構を備えてい
る。
In the integrated management step, the reproduction start time and the stored checkpoint file and event log file are designated for the reproduction step and the display step, and the data output in the reproduction step is synchronized with the logical time. And a control mechanism for displaying on the display device.

【0023】また、記録保存条件設定工程が、模擬の内
容のうち、いずれをチェックポイントファイル及びイベ
ントログファイルにそれぞれ記録するか否かを決める記
録条件を設定する記録条件設定ステップと、チェックポ
イントファイル及びイベントログファイルに書き出すタ
イミングをそれぞれ決める保存条件を設定する保存条件
設定ステップと、を備えている。
The recording and storage condition setting step includes a recording condition setting step of setting recording conditions for determining which of the simulated contents is to be recorded in the checkpoint file and the event log file, respectively. And a storage condition setting step of setting storage conditions for determining the timing of writing to the event log file.

【0024】また、チェックポイントファイルに保存す
る前に、データを一時的に格納するチェックポイントバ
ッファ工程と、イベントログファイルに保存する前に、
データを一時的に格納するイベントログバッファ工程
と、をさらに備え、模擬の毎時刻の状態変化は、チェッ
クポイントバッファに書き込まれると同時にイベントロ
グバッファに書き込まれ、次の時刻における同じ属性の
データの状態変化に関しては、チェックポイントバッフ
ァでは上書きし、イベントログバッファでは追加書き込
みし、以上の処理を繰り返して、イベントログファイル
に関する記録保存条件を満たした時点でイベントログフ
ァイルに書き込みし、チェックポイントファイルに関す
る上記記録保存条件を満たした時点でチェックポイント
ファイルに書き出す。
A checkpoint buffer step for temporarily storing data before storing the data in the checkpoint file;
An event log buffering step of temporarily storing data, wherein the simulated state change at each time is written to the checkpoint buffer and simultaneously to the event log buffer, and data of the same attribute at the next time is written. Regarding status changes, overwrite in the checkpoint buffer, write additionally in the event log buffer, repeat the above process, write to the event log file when the record storage condition for the event log file is satisfied, and write to the checkpoint file. When the above record storage condition is satisfied, the data is written to the checkpoint file.

【0025】また、イベントログファイル工程におい
て、イベントログファイル内に、各時刻毎に、変更があ
った状態を示す識別子と、模擬の新しい状態を示す値と
を格納する。
In the event log file process, an identifier indicating a changed state and a value indicating a simulated new state are stored in the event log file at each time.

【0026】また、イベントログファイル工程におい
て、イベントログファイル内に、さらに、各時刻毎に、
模擬の1つ前の時刻の過去の状態を示す値を格納する。
In the event log file step, the event log file further includes, at each time,
A value indicating a past state at a time immediately before the simulation is stored.

【0027】また、再生工程が、指定された再生の開始
時刻を受信する受信ステップと、開始時刻より以前の最
も新しい時刻に保存されたチェックポイントファイルを
検索する検索ステップと、検索したチェックポイントフ
ァイルの保存時刻以降のイベントログファイルの識別子
及び新しい状態を示す値を用いて、正方向に模擬の状態
を再現していくことにより開始時刻の状態を再現して、
再生開始状態を作成する再生開始状態作成ステップと、
統合管理工程において出力される時刻同期信号に同期さ
せて、イベントログファイルから毎時刻の模擬の内容の
変化を送信して、同じく時刻同期信号に同期して動作す
る表示装置上に表示することにより再生を行う再生ステ
ップと、を備えている。
The reproducing step includes a receiving step of receiving a designated reproduction start time, a retrieval step of retrieving a checkpoint file stored at the newest time before the start time, and a retrieved checkpoint file. Using the identifier of the event log file after the save time and the value indicating the new state, the state of the start time is reproduced by reproducing the simulated state in the forward direction,
A playback start state creation step of creating a playback start state;
By synchronizing with the time synchronization signal output in the integrated management process, transmitting the change of the simulated content at each time from the event log file, and displaying the change on the display device which also operates in synchronization with the time synchronization signal And a reproduction step of performing reproduction.

【0028】また、再生工程が、指定された再生の開始
時刻を受信する受信ステップと、開始時刻より以降の最
も新しい時刻に保存されたチェックポイントファイルを
検索する検索ステップと、検索したチェックポイントフ
ァイルの保存時刻以前のイベントログファイルの識別
子、新しい状態を示す値及び過去の状態を示す値を用い
て、逆方向に模擬の状態を再現していくことにより開始
時刻の状態を再現して、再生開始状態を作成する再生開
始状態作成ステップと、統合管理工程において出力され
る時刻同期信号に同期させて、イベントログファイルの
識別子及び新しい状態を示す値から毎時刻の模擬の内容
の変化を送信して、同じく時刻同期信号に同期して動作
する表示装置上に表示することにより再生を行う再生ス
テップと、を備えている。
The reproducing step includes a receiving step of receiving a designated reproduction start time, a retrieval step of retrieving a checkpoint file stored at the latest time after the start time, and a retrieved checkpoint file. Using the identifier of the event log file before the save time, the value indicating the new state, and the value indicating the past state, the simulated state is reproduced in the reverse direction to reproduce the state at the start time, and reproduced. A reproduction start state creation step for creating a start state, and a change in the contents of the simulation at each time are transmitted from the identifier of the event log file and the value indicating the new state in synchronization with the time synchronization signal output in the integrated management process. A reproduction step of performing reproduction by displaying on a display device also operating in synchronization with the time synchronization signal. That.

【0029】また、チェックポイントファイル及びイベ
ントログファイルが同数のそれぞれ複数個ずつ設けられ
て、記録保存条件設定工程により各々に対して別の記録
条件を与えて模擬の内容の保存を行う。
Also, a plurality of checkpoint files and event log files are provided in the same number, and different recording conditions are given to each of them in the recording storage condition setting step to store the simulated contents.

【0030】また、複数個ずつ設けられたチェックポイ
ントファイル及びイベントログファイルの各対に対して
1つずつ再生装置を設けて、各再生装置を同期させて、
別の記録条件で保存されたチェックポイントファイル及
びイベントログファイルを再生することにより、同一の
仮想環境を再生する。
Also, one playback device is provided for each pair of the checkpoint file and the event log file provided in plurals, and the playback devices are synchronized with each other.
By reproducing the checkpoint file and the event log file stored under different recording conditions, the same virtual environment is reproduced.

【0031】また、複数個ずつ設けられたチェックポイ
ントファイル及びイベントログファイルの各々に対し
て、記録保存条件設定工程により保存条件として異なる
保存周期を指定することにより、それぞれ保存タイミン
グの異なる記録データが保存される。
Also, by designating different storage periods as storage conditions in the storage condition setting step for each of the plurality of checkpoint files and event log files, recording data having different storage timings can be obtained. Will be saved.

【0032】[0032]

【発明の実施の形態】実施の形態1.図1はこの発明の
実施の形態1による分散シミュレーションシステムの構
成を示すブロック図である。図1において、1は、オペ
レータが操作し、後述する各装置2〜4が互いに強調動
作して分散シミュレーションを行うように制御を行う統
合管理装置、2は訓練の模擬シミュレーションを行う訓
練環境模擬装置、3はプレイヤが操作するプレイヤ端
末、4は訓練時の訓練環境模擬装置の状況の記録及び再
生動作を行う記録再生装置、5はこれらの装置1〜4を
接続しているローカルエリアネットワーク(以下、LA
Nとする)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a block diagram showing a configuration of a distributed simulation system according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 1 denotes an integrated management device that is operated by an operator and controls each of devices 2 to 4 described below to perform a distributed simulation by emphasizing each other, and 2 denotes a training environment simulation device that performs a simulation simulation of training. 3, a player terminal operated by the player; 4, a recording / reproducing device for recording and reproducing the status of the training environment simulator during training; and 5, a local area network (hereinafter, referred to as a network) connecting these devices 1-4. , LA
N).

【0033】また、図1において、6は、統合管理装置
1を操作するオペレータを示し、訓練の開始や終了、記
録の開始や終了、再生の開始や終了など、訓練システム
全体の操作を行う。また、7はプレイヤ端末3を操作し
て訓練を行うプレイヤを示し、プレイヤ端末3上のアニ
メーション表示装置311の上で仮想訓練環境の状況を
見、入力装置310を用いてコマンドを入力することに
よって訓練に参加する。
In FIG. 1, reference numeral 6 denotes an operator who operates the integrated management apparatus 1, and performs operations of the entire training system such as starting and ending of training, starting and ending of recording, and starting and ending of reproduction. Reference numeral 7 denotes a player who performs training by operating the player terminal 3, sees the status of the virtual training environment on the animation display device 311 on the player terminal 3, and inputs a command using the input device 310. Participate in training.

【0034】各装置1〜4は、図のように、LAN5を
介して接続され、統合管理装置1上の分散シミュレーシ
ョン制御機構100の管理の下、各装置2〜4上の分散
シミュレーション制御機構200、300、400を介
して、互いに協調処理を行うことによって、分散シミュ
レーションシステムを構成する。
Each of the devices 1 to 4 is connected via a LAN 5 as shown in the figure, and under the control of the distributed simulation control device 100 on the integrated management device 1, the distributed simulation control device 200 on each of the devices 2 to 4 is controlled. , 300, and 400 to form a distributed simulation system by performing cooperative processing with each other.

【0035】ここで、図1においては、訓練環境模擬装
置2、プレイヤ端末3、及び、記録再生装置4は、それ
ぞれ1台づつ接続されているが、図中に記載のように、
目的や運用に応じて1台以上を接続してシステムを構成
するようにする。
Here, in FIG. 1, the training environment simulation device 2, the player terminal 3, and the recording / reproducing device 4 are connected one by one, but as shown in FIG.
A system is configured by connecting one or more devices according to the purpose and operation.

【0036】分散シミュレーション制御機能は、例え
ば、2000年に標準化予定のIEEE1516(Draf
t standard for Modeling and Simulation HLA - Feder
ate Interface Specification-, http://www.sisostds.
org/stdsdev/hla/, 1999)にて規定される、分散シミュ
レーション接続アーキテクチャHLA(High Level Arc
hitecture)仕様、あるいは同等の仕様に基づくものと
する。
The distributed simulation control function is described in, for example, IEEE 1516 (Draf
t standard for Modeling and Simulation HLA-Feder
ate Interface Specification-, http: //www.sisostds.
org / stdsdev / hla /, 1999), a distributed simulation connection architecture HLA (High Level Arc)
hitecture) specifications or equivalent.

【0037】HLA仕様においては、各装置はRTI
(Run Time Infrastructure)という基盤ソフトウェア
との間で通信する。図1においては、各装置上の分散シ
ミュレーション制御機構全体100、200、300、
400がRTIに相当し、統合管理装置1上の100が
全体の管理と制御を行う。
In the HLA specification, each device is RTI
(Run Time Infrastructure). In FIG. 1, the entire distributed simulation control mechanism 100, 200, 300,
400 corresponds to the RTI, and 100 on the integrated management device 1 performs overall management and control.

【0038】各装置上のアプリケーションプログラム
は、各制御プログラム101、201、301、401
の管理の下で動作し、外部装置との通信や同期の機能も
各制御プログラムが司る。
The application programs on each device include the control programs 101, 201, 301, 401
Each control program also operates under the management of the external device, and functions of communication and synchronization with external devices.

【0039】ここで、図1に示すように分散シミュレー
ション制御機構を用いる場合には、各制御プログラム1
01、201、301、401は、分散シミュレーショ
ン制御機構100、200、300、400との間での
み通信あるいは関数呼び出しを行えばよく、その際、通
信や同期を行う相手の装置を意識する必要がない。
Here, when the distributed simulation control mechanism is used as shown in FIG.
01, 201, 301, and 401 only need to communicate or call functions with the distributed simulation control mechanisms 100, 200, 300, and 400. In this case, it is necessary to be aware of the partner device that performs communication and synchronization. Absent.

【0040】一方、従来のように分散シミュレーション
制御機構を利用しない場合、すなわち、例えば、HLA
仕様を使わない場合には、例えば、TCP/IPのソケ
ット通信機構等システムが用意する各種の通信機構を制
御プログラムが利用することになるが、この場合、各制
御プログラムは通信相手を明示的に指定してデータ交換
したり、時刻の同期相手を明示的に指定して時刻の同期
を行う必要があり、制御プログラムの構造は複雑となる
ため、分散シミュレーション制御機構を用いることが望
ましい。
On the other hand, when the distributed simulation control mechanism is not used as in the prior art, that is, for example, when the HLA
If the specifications are not used, for example, the control program uses various communication mechanisms prepared by the system such as a TCP / IP socket communication mechanism. In this case, each control program explicitly specifies a communication partner. Since it is necessary to perform data exchange by designating, or to explicitly designate a time synchronization partner, time synchronization is performed, and the structure of the control program becomes complicated. Therefore, it is desirable to use a distributed simulation control mechanism.

【0041】なお、ここではHLA仕様を例として挙げ
たが、他の同様な分散シミュレーション接続仕様を用い
てもよく、その場合でも同様である。
Although the HLA specification has been described as an example here, another similar distributed simulation connection specification may be used, and the same applies in that case.

【0042】次に、各装置1〜4につき、その構成をさ
らに詳しく説明する。
Next, the structure of each of the devices 1 to 4 will be described in more detail.

【0043】まず、統合管理装置1は、分散シミュレー
ション制御機構100、制御プログラム101、統合管
理プログラム102、および、データ領域103から構
成されている。分散シミュレーション制御機構100に
ついては上述したため、ここでは説明を省略する。デー
タ領域103は、統合管理装置1で必要な種々のデータ
が格納されているものである。
First, the integrated management device 1 includes a distributed simulation control mechanism 100, a control program 101, an integrated management program 102, and a data area 103. Since the distributed simulation control mechanism 100 has been described above, the description is omitted here. The data area 103 stores various data required by the integrated management device 1.

【0044】統合管理プログラム102は、分散シミュ
レーションシステム全体の管理を行い、オペレータ6か
らの入力操作により、システム全体の起動/中断/終
了、記録再生装置4に対する記録保存条件の設定、記録
の開始/停止、再生の開始/停止等の制御を行うプログ
ラムである。
The integrated management program 102 manages the entire distributed simulation system, and starts / stops / ends the entire system, sets recording / storage conditions for the recording / reproducing device 4, and starts / stops recording by an input operation from the operator 6. This is a program for controlling stop, start / stop of reproduction, and the like.

【0045】制御プログラム101は、上述したよう
に、統合管理装置1上の各アプリケーションプログラム
の動作の制御を行う。すなわち、統合管理装置1内で閉
じた制御はすべて制御プログラム101のみの管理下で
行われる。また、他の装置との通信や同期処理が必要な
場合は、制御プログラム101を介して分散シミュレー
ション制御機構100に処理を依頼すると、各装置2〜
4上の分散シミュレーション制御機構200〜400同
士が協調処理して、システム全体を制御する。
The control program 101 controls the operation of each application program on the integrated management device 1 as described above. That is, all controls closed in the integrated management apparatus 1 are performed under the control of only the control program 101. If communication or synchronization with another device is required, a request is issued to the distributed simulation control mechanism 100 via the control program 101, and each of the devices 2 to
4 cooperate with each other to control the entire system.

【0046】次に、訓練環境模擬装置2は、分散シミュ
レーション制御機構200、制御プログラム201、訓
練環境模擬プログラム202、および、データ領域20
3から構成されている。
Next, the training environment simulation device 2 includes a distributed simulation control mechanism 200, a control program 201, a training environment simulation program 202, and a data area 20.
3 is comprised.

【0047】訓練環境模擬プログラム202は、制御プ
ログラム201の制御の下で、訓練に必要な仮想訓練環
境の模擬を行う。模擬した結果は、訓練環境模擬プログ
ラム202がデータ領域203に書き込む。他の装置と
の時刻の同期、及び、データ送信は、分散シミュレーシ
ョン制御機構200により行われる。
The training environment simulation program 202 simulates a virtual training environment required for training under the control of the control program 201. The simulation result is written in the data area 203 by the training environment simulation program 202. The time synchronization with other devices and the data transmission are performed by the distributed simulation control mechanism 200.

【0048】訓練環境模擬装置2が二台以上の複数個か
ら構成されている場合は、上記各装置1〜4間の時刻同
期やデータ交換と同様に、複数の訓練環境模擬装置2の
各分散シミュレーション制御機構200により装置間の
時刻の同期とデータ交換が行われ、複数の訓練環境模擬
装置2全体で一つの仮想訓練環境の模擬を行う。
When the training environment simulating device 2 is composed of two or more devices, each distributed environment of the plurality of training environment simulating devices 2 is used similarly to the time synchronization and data exchange between the devices 1 to 4 described above. The simulation control mechanism 200 synchronizes time and exchanges data between the devices, and simulates one virtual training environment with the plurality of training environment simulation devices 2 as a whole.

【0049】プレイヤ端末3は、分散シミュレーション
制御機構300、制御プログラム301、入力制御プロ
グラム302、アニメーション表示プログラム303、
データ領域304、入力装置310、および、アニメー
ション表示装置311から構成されている。
The player terminal 3 includes a distributed simulation control mechanism 300, a control program 301, an input control program 302, an animation display program 303,
It comprises a data area 304, an input device 310, and an animation display device 311.

【0050】入力制御プログラム302は、制御プログ
ラム301の制御の下で、プレイヤ7が入力装置310
を使った入力を処理する。入力した内容に応じて分散シ
ミュレーション制御200は他の装置との時刻の同期と
データ送信を行い、訓練環境模擬装置2で模擬される訓
練環境にプレイヤ7が参加するための手段を提供する。
Under the control of the control program 301, the input control program 302 allows the player 7
Process input using. The distributed simulation control 200 synchronizes the time with another device and transmits data according to the input contents, and provides a means for the player 7 to participate in the training environment simulated by the training environment simulation device 2.

【0051】また、アニメーション表示プログラム30
3は、制御プログラム301の制御の下で、プレイヤ7
に対して仮想訓練環境の状況を、アニメーション表示装
置311に、アニメーション表示する機能を提供する。
プレイヤ7の画面表示のために必要なシミュレーション
の情報は、分散シミュレーション制御管理機構300に
より逐一通知され、データ領域304に書き込まれる。
従って、アニメーション表示プログラム303は、同一
装置3内の情報のみを使ってアニメーション表示すれば
良い。
The animation display program 30
3 is the player 7 under the control of the control program 301.
The animation display device 311 is provided with a function of displaying the status of the virtual training environment on the animation display device 311.
Simulation information necessary for displaying the screen of the player 7 is notified one by one by the distributed simulation control management mechanism 300 and written into the data area 304.
Therefore, the animation display program 303 may display an animation using only information in the same device 3.

【0052】記録再生装置4は、訓練の実行中には訓練
環境模擬装置2がシミュレーションしている内部状態の
記録を取ってファイルに保存し、訓練終了後には保存し
たファイルを使って訓練時の状況を再生する処理を行う
ものであり、図のように、分散シミュレーション制御機
構400、制御プログラム401、記録プログラム40
2、再生プログラム403、データ領域404、チェッ
クポイントファイル410、及び、イベントログファイ
ル411から構成されている。データ領域404内に
は、図のように、記録保存条件405が設けられてい
る。
The recording / reproducing apparatus 4 takes a record of the internal state simulated by the training environment simulating apparatus 2 during execution of the training and saves it in a file. A process for reproducing a situation is performed. As shown in the figure, a distributed simulation control mechanism 400, a control program 401, a recording program 40
2, a playback program 403, a data area 404, a checkpoint file 410, and an event log file 411. In the data area 404, a record storage condition 405 is provided as shown in the figure.

【0053】記録プログラム402は、分散シミュレー
ション制御機構400により受信した訓練環境模擬装置
2が模擬した結果を用い、記録保存条件405の条件に
応じて訓練実行中の各内部情報を記録し、ファイルに保
存する。なお、記録保存条件405は、オペレータ6に
よりネットワークを介して設定されるものである。
The recording program 402 uses the results simulated by the training environment simulation device 2 received by the distributed simulation control mechanism 400 to record each piece of internal information during the execution of the training in accordance with the recording and storage conditions 405, and stores the information in a file. save. Note that the record storage conditions 405 are set by the operator 6 via a network.

【0054】すなわち、記録実行の際には、実行前に統
合管理装置6を操作するオペレータ6が、ネットワーク
を介して、データ領域404に格納される記録保存条件
405を設定し、記録実行時には記録保存条件405に
従って記録プログラムが記録保存するものとする。記録
保存条件405は、記録すべきシミュレーションの内部
状態に対し、いずれを記録するか否かを決める「記録条
件」と、ファイルに書き出すタイミングを決める「保存
条件」とを設定することができる。
That is, at the time of recording execution, the operator 6 who operates the integrated management device 6 before the execution sets the recording preservation conditions 405 stored in the data area 404 via the network. It is assumed that the recording program records and saves according to the storage condition 405. As the recording / storing condition 405, for the internal state of the simulation to be recorded, “recording conditions” for determining which is to be recorded and “storing conditions” for determining the timing of writing to a file can be set.

【0055】記録保存結果は、ある論理時刻におけるシ
ミュレーション内部の状態を全て格納するチェックポイ
ントファイル410と、チェックポイントファイル41
0を保存してから次のチェックポイントファイル410
を保存するまでの間の内部状態の変化の差分だけを格納
するイベントログファイル411に格納される。
The result of recording and storage includes a checkpoint file 410 for storing all the internal states of the simulation at a certain logical time, and a checkpoint file 41.
0 and then the next checkpoint file 410
Is stored in the event log file 411 that stores only the difference between changes in the internal state until the file is saved.

【0056】また、再生プログラム403は、過去の記
録ファイルを用いてシミュレーションの内部状態を復元
し、その結果は分散シミュレーション制御機構400を
介して他の装置1〜3にデータが送信される。
The reproduction program 403 restores the internal state of the simulation using the past recording file, and the result is transmitted to the other apparatuses 1 to 3 via the distributed simulation control mechanism 400.

【0057】次に、上記構成に係る動作について説明す
る。まず、訓練用分散シミュレーションシステムにおけ
る基本的な処理内容とデータの流れを説明する。説明を
簡単にするため、ここでは 航空管制の訓練用シミュレ
ーションシステムを例としてとりあげる。図2と図3に
は、動作を説明するために図1の一部を簡略化して示し
た訓練用分散シミュレーションシステムを示しており、
図2は訓練実行時、図3は訓練再生時を示している。
Next, the operation according to the above configuration will be described. First, the basic processing contents and data flow in the distributed simulation system for training will be described. For simplicity of explanation, we will use a simulation system for training air traffic control as an example. FIGS. 2 and 3 show a training distributed simulation system in which a part of FIG. 1 is simplified for explaining the operation.
FIG. 2 shows the time of training execution, and FIG. 3 shows the time of training regeneration.

【0058】図2及び図3のシステムは、統合管理装置
1、訓練環境模擬装置2、プレイヤ端末3、および、記
録再生装置4から構成される。
The system shown in FIGS. 2 and 3 comprises an integrated management device 1, a training environment simulation device 2, a player terminal 3, and a recording / reproducing device 4.

【0059】訓練の内容としては、訓練環境模擬装置2
の上では、訓練空域を飛行中の航空機の運動模擬を行う
とする。プレイヤ7は、プレイヤ端末3の画面に表示さ
れた飛行中の航空機のアニメーション表示を見ながら、
航空機に対して管制指示を送ることにより、航空管制指
示の訓練を行うものとする。
The contents of the training are as follows.
Above, simulate the motion of an aircraft flying in the training airspace. The player 7 looks at the animation display of the aircraft in flight displayed on the screen of the player terminal 3,
Training of air traffic control instructions shall be conducted by sending air traffic control instructions to aircraft.

【0060】まず、図2を用いて記録を取りながら訓練
を実施する場合の動作について説明する。
First, the operation in the case of performing training while recording will be described with reference to FIG.

【0061】訓練開始前、図2の中のオペレータ6は
統合管理装置1を操作して訓練の記録・保存のための条
件を設定する。記録保存条件405には、チェックポイ
ントファイル記録条件4051(ここでは図示せず、図
7参照、以下同じ)、チェックポイントファイル保存条
件4052、イベントログファイル記録条件4053及
びイベントログファイル保存条件4054の4種類があ
る。各記録・保存条件は、記録再生装置4に格納される
(図1の符号405)。なお、各条件の具体例について
は後述する。
Before starting the training, the operator 6 in FIG.
By operating the integrated management device 1, conditions for recording and storing training are set. The recording storage conditions 405 include four checkpoint file recording conditions 4051 (not shown here, see FIG. 7; the same applies hereinafter), checkpoint file storage conditions 4052, event log file recording conditions 4053, and event log file storage conditions 4054. There are types. Each recording / storing condition is stored in the recording / reproducing device 4 (reference numeral 405 in FIG. 1). A specific example of each condition will be described later.

【0062】訓練実行時、オペレータ6は統合管理装置
1を操作して各装置2、3、4の実行を開始する。実行
を開始すると、各装置上の制御プログラム(図1の符号
101、201、301、401)と、分散シミュレー
ション制御機構(図1の符号100、200、300、
400)は次のように動作する。
At the time of training execution, the operator 6 operates the integrated management device 1 to start execution of each device 2, 3, 4. When the execution is started, the control programs (101, 201, 301, and 401 in FIG. 1) on each device and the distributed simulation control mechanism (100, 200, 300, and
400) operates as follows.

【0063】ここで、データの流れをわかりやすくする
ため、図4及び図5には各装置間のデータの流れを示す
タイムチャートを示す。以下、図2と図4及び図5を使
って説明する。
Here, in order to make the flow of data easy to understand, FIGS. 4 and 5 are time charts showing the flow of data between the devices. Hereinafter, description will be made with reference to FIG. 2, FIG. 4 and FIG.

【0064】訓練環境模擬装置2の上では、図4に示す
ように、装置2上で訓練環境模擬プログラム202によ
り模擬するシミュレーションの内部状態のうち、装置2
の外部に対して提供可能なデータの一覧を制御プログラ
ム201に通知(1000)し、次に制御プログラム2
01が分散シミュレーション制御機構200に宣言する
(1001)。すると、分散シミュレーション制御機構
200は、構成する全装置1,3,4の上の分散シミュ
レーション制御機構100,300,400にブロード
キャストする(1002,1003,1004)。
On the training environment simulation device 2, as shown in FIG. 4, among the internal states of the simulation simulated by the training environment simulation program 202 on the device 2,
The control program 201 is notified of a list of data that can be provided to the outside of the control program 201 (1000).
01 declares to the distributed simulation control mechanism 200 (1001). Then, the distributed simulation control mechanism 200 broadcasts to the distributed simulation control mechanisms 100, 300, and 400 on all the constituent devices 1, 3, and 4 (1002, 1003, and 1004).

【0065】HLA仕様では1001の通信を「公開
(publish)」と呼び、各装置が他の装置に対して公開
可能なデータを、分散シミュレーション制御機構に宣言
するためのものとして標準仕様に規定されている。
In the HLA specification, the communication 1001 is called “publish”, and is defined in the standard specification as a data for each device to declare to the distributed simulation control mechanism data that can be released to other devices. ing.

【0066】なお、この例では分散シミュレーション制
御機構200が他の分散シミュレーション制御機構10
0、300、400にブロードキャストしているが、1
001の通信を、まず統合管理装置1の分散シミュレー
ション制御機構100に送るものにし、分散シミュレー
ション制御機構100が、残りの他の装置3及び4の分
散シミュレーション制御機構300と400にブロード
キャストしても同じことである。
In this example, the distributed simulation control mechanism 200 is different from the other distributed simulation control mechanisms 10.
Broadcast to 0, 300, 400, but 1
001 communication is first sent to the distributed simulation control mechanism 100 of the integrated management apparatus 1, and the same applies even if the distributed simulation control mechanism 100 broadcasts to the distributed simulation control mechanisms 300 and 400 of the remaining other apparatuses 3 and 4. That is.

【0067】また、訓練環境模擬プログラム202によ
り、他の装置1,3,4上で模擬されるシミュレーショ
ンの内部状態のうち、装置2が受信を希望するデータの
一覧を、制御プログラム201に通知し(1005)、
制御プログラム201が分散シミュレーション制御機構
200に宣言する(1006)。すると、分散シミュレ
ーション制御機構200は、構成する全装置1,3,4
の上の分散シミュレーション制御機構100,300,
400にブロードキャストする(1007,1008,
1009)。
Further, the training environment simulation program 202 notifies the control program 201 of a list of data that the apparatus 2 desires to receive among the internal states of the simulation simulated on the other apparatuses 1, 3, and 4. (1005),
The control program 201 declares to the distributed simulation control mechanism 200 (1006). Then, the distributed simulation control mechanism 200 transmits all the constituent devices 1, 3, 4
Simulation control mechanisms 100, 300,
Broadcast to 400 (1007, 1008,
1009).

【0068】HLA仕様では1006の通信を「購読
(subscribe)」と呼び、他の装置から得られるデータ
のうち、その装置が興味あるデータを、分散シミュレー
ション制御機構に宣言するためのものとして標準仕様に
規定されている。
In the HLA specification, the communication 1006 is called a “subscribe”, and among the data obtained from another device, the data which the device is interested in is declared to the distributed simulation control mechanism as a standard specification. Stipulated.

【0069】訓練環境模擬装置2は、以上の通信完了
後、次の時刻の処理が可能である旨を、訓練環境模擬プ
ログラム202により、制御プログラム201に通知し
(1010)、次に、制御プログラム201が分散シミ
ュレーション制御機構200に通知(1011)する。
すると、分散シミュレーション制御機構200が、分散
シミュレーション全体の時刻同期を管理する統合管理装
置1の上の分散シミュレーション制御機構100へ通知
(1012)する。
After completion of the above communication, the training environment simulation device 2 notifies the control program 201 by the training environment simulation program 202 that processing at the next time is possible (1010). 201 notifies the distributed simulation control mechanism 200 (1011).
Then, the distributed simulation control mechanism 200 notifies the distributed simulation control mechanism 100 on the integrated management device 1 that manages the time synchronization of the entire distributed simulation (1012).

【0070】信号1011を送信した後、制御プログラ
ム201は次の時刻への進行の許可通知が来るまで待
つ。分散シミュレーション制御機構200は、引き続
き、他の装置1,3,4上の分散シミュレーション制御
装置100,300,400と協調動作を続ける。
After transmitting the signal 1011, the control program 201 waits for a notice of permission to proceed to the next time. The distributed simulation control mechanism 200 continues to cooperate with the distributed simulation control devices 100, 300, and 400 on the other devices 1, 3, and 4.

【0071】HLA仕様では、1011の通信を「時刻
進行要求(time advance request)」と呼ぶ。
In the HLA specification, the communication 1011 is called a "time advance request".

【0072】プレイヤ端末3上では、装置3上で表示す
るために必要なシミュレーションの内部状態の一覧を、
制御プログラム301により、分散シミュレーション制
御機構300に対して通知(1013、HLA仕様では
「購読」と呼ぶ)し、次に、分散シミュレーション制御
機構300が、構成する全装置1,2,4の上の分散シ
ミュレーション制御機構100,200,400にブロ
ードキャストする(1014,1015,1016)。
On the player terminal 3, a list of internal states of the simulation necessary for displaying on the device 3 is
The control program 301 notifies the distributed simulation control mechanism 300 (1013, referred to as "subscribe" in the HLA specification). Broadcast to the distributed simulation control mechanisms 100, 200, 400 (1014, 1015, 1016).

【0073】また、プレイヤ7の入力コマンドのうち、
装置3の外部に提供可能なコマンドの一覧を、制御プロ
グラム301により、分散シミュレーション制御機構3
00に対して通知(1017、HLA仕様では「公開」
と呼ぶ)し、次の時刻の処理が可能である旨を通知(1
021、HLA仕様では「時刻進行要求」と呼ぶ)す
る。なお、分散シミュレーション制御機構300は、1
017の通信を受信したら、構成する全装置1,2,4
の上の分散シミュレーション制御機構100,200,
400にブロードキャストし(1018,1019,1
020)、また、1021の通信を受信したら、分散シ
ミュレーション全体の時刻同期を管理する統合管理装置
1の上の分散シミュレーション制御機構100へ通知
(1022)する。
Further, among the input commands of the player 7,
A list of commands that can be provided to the outside of the device 3 is provided by the control program 301 to the distributed simulation control mechanism 3.
Notification to 00 (1017, "open" in HLA specifications)
) And notify that processing at the next time is possible (1
021, which is referred to as “time progress request” in the HLA specification). Note that the distributed simulation control mechanism 300
When the communication of 017 is received, all the constituent devices 1, 2, 4
Simulation control mechanisms 100, 200,
400 (1018, 1019, 1
020) Also, upon receiving the communication of 1021, it notifies the distributed simulation control mechanism 100 on the integrated management device 1 that manages the time synchronization of the entire distributed simulation (1022).

【0074】記録再生装置4の上では、図5に示すよう
に、上記で説明したオペレータ6により与えられた記録
条件により、記録すべきシミュレーションの内部状態の
一覧を、制御プログラム401により、分散シミュレー
ション制御機構400に対して通知(1023、HLA
仕様では「購読」と呼ぶ)し、次の時刻の処理が可能で
ある旨を通知(1027、HLA仕様では「時刻進行要
求」)する。なお、これらの場合も、上述と同様に、分
散シミュレーション制御機構400は、1023の通信
を受信したら、構成する全装置1,2,3の上の分散シ
ミュレーション制御機構100,200,300にブロ
ードキャストし(1024,1025,1026)、ま
た、1027の通信を受信したら、分散シミュレーショ
ン全体の時刻同期を管理する統合管理装置1の上の分散
シミュレーション制御機構100へ通知(1028)す
る。
On the recording / reproducing apparatus 4, as shown in FIG. 5, according to the recording conditions given by the operator 6 described above, a list of the internal states of the simulation to be recorded is distributed by the control program 401 to the distributed simulation. Notification to the control mechanism 400 (1023, HLA
In the specification, this is called “subscription”), and a notification that processing at the next time is possible (1027, “time advance request” in the HLA specification) is made. Also in these cases, similarly to the above, upon receiving the communication of 1023, the distributed simulation control mechanism 400 broadcasts it to the distributed simulation control mechanisms 100, 200, and 300 on all the constituent devices 1, 2, and 3. (1024, 1025, 1026) When the communication of 1027 is received, it notifies the distributed simulation control mechanism 100 on the integrated management device 1 that manages the time synchronization of the entire distributed simulation (1028).

【0075】次に、各装置間のデータの流れを説明す
る。訓練実行開始後、統合管理装置1の分散シミュレー
ション制御機構100は、各装置2、3、4に対して時
刻進行が可能な次の論理時刻を通知(1029、103
0、1031、HLA仕様では「時刻進行許可」と呼
ぶ)する。受信した各装置2,3,4は許可された論理
時刻まで処理を行って(2000、2001、200
2)、時刻進行要求した後、次の時刻進行許可が到着す
るのを待つ。
Next, the flow of data between the devices will be described. After the start of the training, the distributed simulation control mechanism 100 of the integrated management apparatus 1 notifies each of the apparatuses 2, 3, and 4 of the next logical time at which the time can advance (1029, 103).
0, 1031, referred to as “time advance permission” in the HLA specification). Each of the received devices 2, 3, and 4 performs processing until the permitted logical time (2000, 2001, 200
2) After the time advance request, wait for the next time advance permission to arrive.

【0076】訓練環境模擬装置2は、2003で示す処
理において一時刻分の航空機の運動を模擬し、模擬した
結果、変更のあった状態は、分散シミュレーション制御
機構200に対して通知(1032、HLA仕様では
「状態変更通知」(update attribute value))する。
The training environment simulation apparatus 2 simulates the motion of the aircraft for one time in the processing indicated by 2003, and notifies the distributed simulation control mechanism 200 of the changed state as a result of the simulation (1032, HLA). According to the specification, "status change notification" (update attribute value) is issued.

【0077】この例では、この状態変更を知りたいのが
プレイヤ端末3と記録再生装置4とすると、分散シミュ
レーション制御機構200は、各装置3及び4の分散シ
ミュレーション制御機構300と400に対して状態変
更があった旨を通知(1033と1034、HLA仕様
では「状態反映通知」(reflect attribute value))
する。
In this example, if it is the player terminal 3 and the recording / reproducing device 4 that want to know this state change, the distributed simulation control mechanism 200 sends the state to the distributed simulation control mechanisms 300 and 400 of the respective devices 3 and 4. Notify that there has been a change (1033 and 1034, "status reflection notification" (reflect attribute value) in the HLA specification)
I do.

【0078】状態変化を受信したプレイヤ端末3は、2
004で示す処理において、アニメーション表示装置
(図1の符号311)にその状況をアニメーション表示
する。
When the player terminal 3 receives the state change,
In the process indicated by 004, the situation is displayed as an animation on the animation display device (311 in FIG. 1).

【0079】以上のように、図2に示す矢印150のよ
うに、毎時刻、訓練環境模擬装置2は訓練環境を模擬
し、その結果はプレイヤ端末3に通知されて、アニメー
ション表示した画面をプレイヤ7は見ることができる。
As described above, the training environment simulating apparatus 2 simulates the training environment every time as indicated by the arrow 150 shown in FIG. 2, and the result is notified to the player terminal 3 and the animation-displayed screen is displayed on the player terminal 3. 7 can be seen.

【0080】同様に、記録再生装置4は、2005で示
す処理において状態の記録処理を行い、保存条件が満た
された時にはチェックポイントファイル(図1の符号4
10)あるいはイベントログファイル(図1の符号41
1)に保存する。
Similarly, the recording / reproducing apparatus 4 performs the state recording processing in the processing indicated by 2005, and when the storage conditions are satisfied, the checkpoint file (reference numeral 4 in FIG. 1)
10) or an event log file (reference numeral 41 in FIG. 1)
Save in 1).

【0081】ここで、チェックポイントファイル410
とは、その時刻における訓練環境模擬装置2の内部状態
のうち、チェックポイントファイル記録条件に指定した
全ての状態を格納したファイルである。
Here, the checkpoint file 410
Is a file storing all the states specified in the checkpoint file recording conditions among the internal states of the training environment simulation device 2 at that time.

【0082】また、イベントログファイル411とは、
チェックポイントファイル410を保存してから次のチ
ェックポイントファイル410を保存するまでの間のシ
ミュレーションの内部状態の変化記録を格納したファイ
ルである。
The event log file 411 is
This is a file in which a change record of the internal state of the simulation between the time when the checkpoint file 410 is stored and the time when the next checkpoint file 410 is stored is stored.

【0083】次に、図3を用いて訓練実施後に再生する
場合の動作について説明する。訓練実行後、再生開始前
に、図3の中のオペレータ6は統合管理装置1を操作し
て再生を開始する論理時刻を入力し、再生開始時刻が記
録再生装置4に書き込まれる。記録再生装置4は、再生
開始時刻を例えばT(start)とした場合、T(start) >
= T(chk_saved)の条件を満たす時刻T(chk_saved)に
保存されたチェックポイントファイル410を検索す
る。次に、時刻T(chk_saved)から保存されたイベント
ログファイル411を検索する。この2つのファイルか
ら、時刻T(start)のシミュレーションの内部状態を復
元する。
Next, the operation in the case of regenerating after the training is performed will be described with reference to FIG. After the training is executed and before the reproduction is started, the operator 6 in FIG. 3 operates the integrated management apparatus 1 to input a logical time at which the reproduction is started, and the reproduction start time is written in the recording / reproducing apparatus 4. When the reproduction start time is T (start), for example, T (start)>
= Search the checkpoint file 410 stored at the time T (chk_saved) satisfying the condition of T (chk_saved). Next, the event log file 411 saved from the time T (chk_saved) is searched. From these two files, the internal state of the simulation at time T (start) is restored.

【0084】次に、記録再生装置4は、復元したシミュ
レーションの内部状態を使って、訓練実行時には訓練環
境模擬装置2が状態更新を行っていたかわりに、記録再
生装置4が状態更新を行うことができるよう、装置4の
外部に対して提供可能なデータの一覧を、制御プログラ
ム401により、分散シミュレーション制御機構400
に対して通知する(1035、HLA仕様では「公開」
と呼ぶ)。次に、分散シミュレーション制御機構400
が、構成する全装置1,2,3の上の分散シミュレーシ
ョン制御機構100,200,300にブロードキャス
トする(1036,1037,1038)。
Next, the recording / reproducing apparatus 4 uses the restored internal state of the simulation to perform the state update by the recording / reproducing apparatus 4 instead of the state updating by the training environment simulation apparatus 2 at the time of training execution. A list of data that can be provided to the outside of the device 4 is provided by the control program 401 so that the distributed simulation control mechanism 400
(1035, "open" in HLA specifications)
). Next, the distributed simulation control mechanism 400
Broadcasts to the distributed simulation control mechanisms 100, 200, and 300 on all the constituent devices 1, 2, and 3 (1036, 1037, 1038).

【0085】一方、プレイヤ端末3の上では訓練実行時
と全く同様に、装置3上で表示するために必要なシミュ
レーションの内部状態の一覧を、制御プログラム301
により、分散シミュレーション制御機構300に対して
通知する(1039、HLA仕様では購読と呼ぶ)。次
に、分散シミュレーション制御機構300が、構成する
全装置1,2の上の分散シミュレーション制御機構10
0,200にブロードキャストする(1040,104
1)。
On the other hand, on the player terminal 3, a list of internal states of the simulation necessary for displaying on the device 3 is stored in the control program
To the distributed simulation control mechanism 300 (1039, called a subscription in the HLA specification). Next, the distributed simulation control mechanism 300 controls the distributed simulation control mechanism 10 on all the constituent devices 1 and 2.
Broadcast to 0,200 (1040,104
1).

【0086】各装置(1、3、4)上で以上の前処理が
完了すると、統合管理装置1は、装置4と3に対して次
に実行して良い時刻を通知する(1042、1043、
HLA仕様では「時刻進行許可」と呼ぶ)。すると、記
録再生装置4の上では2006の処理の部分でチェック
ポイントファイルとイベントログファイルを用いて許可
された時刻までのシミュレーションの状態復元を行い、
状態変化のあった内部状態は、分散シミュレーション制
御機構400に対して状態変化を通知する(1043、
HLA仕様では「状態変化通知」)。
When the above-mentioned preprocessing is completed on each device (1, 3, 4), the integrated management device 1 notifies the devices 4 and 3 of the next executable time (1042, 1043,
In the HLA specification, this is called "time advance permission." Then, on the recording / reproducing apparatus 4, the state of the simulation is restored up to the permitted time by using the checkpoint file and the event log file in the processing of 2006,
The internal state having the state change notifies the distributed simulation control mechanism 400 of the state change (1043,
"Status change notification" in the HLA specification).

【0087】次に、分散シミュレーション制御機構40
0は、プレイヤ端末3の分散シミュレーション制御機構
300に対してこの状態変化を通知し(1044、HL
A仕様では「状態反映通知」と呼ぶ)、これを受け取っ
たプレイヤ端末3は、2007の処理において、表示端
末上にアニメーション表示を行う。
Next, the distributed simulation control mechanism 40
0 notifies the distributed simulation control mechanism 300 of the player terminal 3 of this state change (1044, HL
In the A specification, this is referred to as a “state reflection notification”), and the player terminal 3 that has received the notification performs an animation display on the display terminal in the process of 2007.

【0088】再生実行中、統合管理装置1の上ではオペ
レータ6の操作により、再生をポーズしたり、再度別の
論理時刻を指定したりすることができるものとする。
During the execution of the reproduction, it is assumed that the reproduction can be paused or another logical time can be specified again by the operation of the operator 6 on the integrated management device 1.

【0089】記録再生装置4に対して設定可能な記録・
保存条件としては、例えば以下のようなものが考えられ
る。
Recording / reproducing that can be set for the recording / reproducing device 4
For example, the following can be considered as storage conditions.

【0090】1)チェックポイントファイルの記録条
件: ・オペレータ6が選んだ、再生時に表示したい状態。
1) Recording condition of checkpoint file: A state selected by the operator 6 and desired to be displayed during reproduction.

【0091】2)チェックポイントファイル保存条件 ・あらかじめオペレータ6が選択したイベントが発生し
た時。 ・システムの負荷が低い時。 ・チェックポイントファイル記録用のメモリの使用量が
一定の限度を越えた時。 ・総記録イベント数が一定の数を越えた時。
2) Checkpoint file storage conditions-When an event selected by the operator 6 in advance occurs. -When the system load is low. -When the amount of memory used for recording checkpoint files exceeds a certain limit.・ When the total number of recorded events exceeds a certain number.

【0092】3)イベントログファイル記録条件 ・前の時刻からの変化量が一定の割合を越えた時。3) Event log file recording conditions: When the amount of change from the previous time exceeds a certain ratio.

【0093】4)イベントログファイル保存条件 ・毎時刻。 ・前回ファイルに保存してからの記録イベント数が一定
の数を越えた時。 ・イベントログ記録用のメモリの使用量が一定の限度を
越えた時。
4) Event log file storage conditions: Every hour. -When the number of recorded events since the last save to a file exceeds a certain number. -When the amount of memory used for event log recording exceeds a certain limit.

【0094】他にも様々な記録・保存条件が考えられ、
本装置においては、パラメタ化あるいは定式化可能な条
件を指定することにより、様々な記録・保存条件に対応
可能であることを特徴とする。
Various other recording and storage conditions can be considered.
This apparatus is characterized in that various recording and storage conditions can be handled by designating conditions that can be parameterized or formulated.

【0095】以上のように、本発明によれば、記録すべ
きシミュレータの内部状態に対し、記録するか否かを決
める「記録条件」と、ファイルに書出すタイミングを決
める「保存条件」とを設定することができ、また、ある
論理時刻におけるシステムの状態を全て保存するチェッ
クポイントファイルと、チェックポイントファイルを保
存した以降のシステムの内部状態の変化を保存するイベ
ントログファイルとを備え、これら2種類のファイルを
用いて、訓練実施中には記録保存処理によるシミュレー
ションの処理に対する影響が少なく、訓練実施後には効
率良く再生処理を行なうことができるという効果が得ら
れる。
As described above, according to the present invention, for the internal state of the simulator to be recorded, "recording conditions" for determining whether or not to record and "storing conditions" for determining the timing of writing to a file are defined. A checkpoint file that stores all system states at a certain logical time; and an event log file that stores changes in the internal state of the system after the checkpoint file is stored. Using the type of file, there is an effect that during the training, there is little effect on the simulation processing due to the record preservation processing, and after the training, the reproduction processing can be performed efficiently.

【0096】実施の形態2.図7は、本発明の記録再生
装置4部分の構成を示した拡大図である。記録再生装置
4内のデータ領域404には、図のように、記録保存条
件405、チェックポイントバッファ406、イベント
ログバッファ407が設けられている。なお、図の簡略
化のため、図1では示してある制御プログラム401等
の図示はここでは省略した。記録保存条件405には、
実施の形態1で上述したように、チェックポイントファ
イル記録条件4051、チェックポイントファイル保存
条件4052、イベントログファイル記録条件4053
及びイベントログファイル保存条件4054の4種類が
含まれている。他の構成については、上述の実施の形態
1で説明したものと同様であるため、ここではその説明
を省略する。
Embodiment 2 FIG. 7 is an enlarged view showing the configuration of the recording / reproducing device 4 of the present invention. In the data area 404 in the recording / reproducing apparatus 4, a recording / storing condition 405, a checkpoint buffer 406, and an event log buffer 407 are provided as shown in the figure. For simplification of the drawing, illustration of the control program 401 and the like shown in FIG. 1 is omitted here. The record storage conditions 405 include:
As described in the first embodiment, the checkpoint file recording condition 4051, the checkpoint file storage condition 4052, and the event log file recording condition 4053.
And event log file storage conditions 4054. The other configuration is the same as that described in the first embodiment, and a description thereof will not be repeated.

【0097】チェックポイントバッファ406は、毎時
刻、状態の変化があったシミュレーションの内部状態を
一旦格納しておくために使われ、チェックポイントファ
イル保存条件4052が満たされた時には、チェックポ
イントファイル410に書出される。なお、シミュレー
ションの内部状態1個に対し、バッファ内でのエントリ
は1個で、上書きすることにより、毎時刻、最新の状態
を格納しておくことができる。
The checkpoint buffer 406 is used to temporarily store the internal state of the simulation in which the state has changed every time. When the checkpoint file storage condition 4052 is satisfied, the checkpoint buffer 410 stores the checkpoint buffer 410. Written out. Note that one entry in the buffer is provided for one internal state of the simulation, and the latest state can be stored every time by overwriting.

【0098】イベントログバッファ407は、毎時刻、
状態の変化があったシミュレーションの内部状態を一旦
格納しておくために使われる点はチェックポイントバッ
ファ406と同じであるが、シミュレーションの内部状
態1個に対し、各時刻毎に複数のエントリがある点が異
なる。イベントログバッファ407は、イベントログ保
存条件4054が満たされた時に、イベントログファイ
ル411に書出される。
[0098] The event log buffer 407 stores
The point used to temporarily store the internal state of the simulation in which the state has changed is the same as that of the checkpoint buffer 406, but there is a plurality of entries at each time for one internal state of the simulation. The points are different. The event log buffer 407 is written to the event log file 411 when the event log storage condition 4054 is satisfied.

【0099】図8にはチェックポイントバッファ406
の構成例を示す。図に示すように、チェックポイントバ
ッファ406は、保存するシミュレーションの論理時刻
を示すヘッダーの部分40600と、保存するオブジェ
クトの識別子と属性と値の組を格納する本体の部分40
610から構成される。なお、ヘッダー40600に
は、図のように、論理時刻とポインタに関するデータが
含まれている。
FIG. 8 shows a checkpoint buffer 406.
An example of the configuration will be described. As shown in the figure, the checkpoint buffer 406 includes a header portion 40600 indicating the logical time of the simulation to be saved, and a main body portion 40 storing the set of the identifier, attribute, and value of the object to be saved.
610. The header 40600 includes data on the logical time and the pointer as shown in the figure.

【0100】図9にはイベントログバッファ407の構
成例を示す。図に示すように、イベントログバッファ4
07は、イベントの発生した時刻を格納するヘッダーの
部分40700と、イベントが発生したオブジェクトの
識別子と属性とイベントのタイプと変更後の値の組を格
納する本体の部分40710から構成される。
FIG. 9 shows an example of the configuration of the event log buffer 407. As shown in the figure, the event log buffer 4
07 includes a header portion 40700 for storing the time at which the event occurred, and a main body portion 40710 for storing a set of an identifier, an attribute, an event type, and a changed value of the object at which the event occurred.

【0101】上述した従来例のように、チェックポイン
トバッファがない場合には、チェックポイントファイル
へ書き込む際、シミュレーション内部の状態を収集する
ためにシステム全体の実行を一旦中断する必要があり、
訓練中の重要な部分で中断された場合には、訓練に対し
て大きな影響がある。
As in the conventional example described above, when there is no checkpoint buffer, execution of the entire system needs to be temporarily interrupted in order to collect the internal state of the simulation when writing to the checkpoint file.
If interrupted at a significant point during training, there is a significant impact on training.

【0102】しかし、本発明においては、チェックポイ
ントバッファを設けることにより、毎時刻上書きするこ
とにより、チェックポイントバッファ上に最新の状態を
格納しておくので、チェックポイントファイルへ書き込
む際には、シミュレーション内部の状態の収集が不要で
あり、ファイルに書き込むだけの手間で行えるため、シ
ステムを中断する必要がなくなり、訓練に対する影響が
少ない。更に、保存条件を効率良く設定することによ
り、訓練に対する悪影響を更に回避することが可能とな
る。
However, according to the present invention, the latest state is stored in the checkpoint buffer by overwriting every time by providing the checkpoint buffer. Since it is not necessary to collect the internal state, and it is possible to simply perform writing to a file, there is no need to interrupt the system, and the effect on training is small. Furthermore, by setting the storage conditions efficiently, it is possible to further avoid adverse effects on training.

【0103】実施の形態3.この実施の形態において
は、上述の実施の形態2で示したイベントログバッファ
407の本体部分40710に格納されるイベントタイ
プの例について説明する。図10の41110の表に
は、イベントログに記録するイベントのタイプの実施例
を示す。表41110からわかる通り、NEW、MO
D、TRMの3種類のイベントからイベントログは構成
される。各イベントのタイプの意味は以下の通りであ
る。
Embodiment 3 In this embodiment, an example of an event type stored in the main body portion 40710 of the event log buffer 407 described in the second embodiment will be described. The table of 41110 in FIG. 10 shows an example of the type of event to be recorded in the event log. As can be seen from Table 41110, NEW, MO
An event log is composed of three types of events D and TRM. The meaning of each event type is as follows.

【0104】NEW: 識別子と属性で示されるオブジ
ェクトが生成された。 MOD: 識別子と属性で示されるオブジェクトの値が
変更された。変更後の値のみを保存する。 TRM: 識別子と属性で示されるオブジェクトが消滅
した。
NEW: An object indicated by an identifier and an attribute has been generated. MOD: The value of the object indicated by the identifier and the attribute has been changed. Save only the changed value. TRM: The object indicated by the identifier and the attribute has disappeared.

【0105】図10の41111と41112は、イベ
ントログバッファ及びイベントログファイルに書出した
例を示す。各属性に対して保存する値は一つで、変更後
の新しい状態の値を格納するものである。これにより、
この実施の形態においては、再生時に時刻を正方向(時
刻の増加方向)に進めてログファイルを再生することが
可能となる。
[0105] Reference numerals 41111 and 41112 in FIG. 10 show examples of writing to the event log buffer and the event log file. One value is stored for each attribute, and the value of the new state after the change is stored. This allows
In this embodiment, the log file can be played back with the time advanced in the forward direction (time increasing direction) during playback.

【0106】実施の形態4.この実施の形態において
は、上述の実施の形態2で示したイベントログバッファ
407の本体部分40710に格納されるイベントタイ
プの他の例について説明する。図11の41120の表
には、イベントログに記録するイベントのタイプの実施
例を示す。表41120からわかる通り、NEW、MO
D、TRMの3種類のイベントからイベントログは構成
される。各イベントのタイプの意味は以下の通りであ
る。
Embodiment 4 In this embodiment, another example of the event type stored in the main body portion 40710 of the event log buffer 407 described in the second embodiment will be described. The table of 41120 in FIG. 11 shows an example of the type of event to be recorded in the event log. As can be seen from Table 41120, NEW, MO
An event log is composed of three types of events D and TRM. The meaning of each event type is as follows.

【0107】NEW: 識別子と属性で示されるオブジ
ェクトが生成された。 MOD: 識別子と属性で示されるオブジェクトの値が
変更された。変更前の値と変更後の値を保存する。 TRM: 識別子と属性で示されるオブジェクトが消滅
した。
NEW: An object indicated by an identifier and an attribute has been generated. MOD: The value of the object indicated by the identifier and the attribute has been changed. Save the old and new values. TRM: The object indicated by the identifier and the attribute has disappeared.

【0108】図11の41121と41122は、イベ
ントログバッファ及びイベントログファイルに書出した
例を示す。各属性に対して保存する値は、変更前の値と
変更後の値のペアで、これにより、再生時に時刻を逆方
向(時刻の減少方向)に進めてログファイルを再生する
ことが可能となる。
[0108] Reference numerals 41121 and 41122 in Fig. 11 show examples of writing to the event log buffer and the event log file. The value to be stored for each attribute is a pair of the value before change and the value after change. This makes it possible to play the log file forward in the reverse direction (time decreasing direction) during playback. Become.

【0109】実施の形態5.図12には、記録時に各論
理時刻において作成される本発明のチェックポイントフ
ァイルとイベントログファイルの例を示す。図12にお
いて、4101〜4104はチェックポイントファイ
ル、4111〜4113はイベントログファイル、10
はa〜gの7個の模擬対象オブジェクトである。
Embodiment 5 FIG. FIG. 12 shows an example of a checkpoint file and an event log file of the present invention created at each logical time during recording. 12, reference numerals 4101 to 4104 denote checkpoint files, 4111 to 4113 denote event log files, 10
Are seven simulation target objects a to g.

【0110】ここで、チェックポイントファイル410
1、4102、4103、4104は、それぞれ、論理
時刻T0、T20、T30、T40の時に作成されるも
のとする。また、イベントログファイルは、論理時刻T
20、T30、T40の時に、それぞれ、T0〜T2
0、T20〜T30、T30〜T40の間の各オブジェ
クトの状態変化が、それぞれ、イベントログファイル4
111、4112、4113として作成されるものとす
る。ここで、イベントの構成とイベントファイルの構成
は、図10に従うとする。
Here, checkpoint file 410
1, 4102, 4103, and 4104 are created at logical times T0, T20, T30, and T40, respectively. The event log file stores the logical time T
20, T30 and T40, respectively, T0 to T2
0, T20 to T30, and the state change of each object during T30 to T40, respectively.
111, 4112, and 4113. Here, it is assumed that the configuration of the event and the configuration of the event file conform to FIG.

【0111】ここで、再生実行時にオペレータ6はT1
0の時刻から再生するよう入力したとする。このとき、
記録再生装置4は、保存してあるチェックポイントファ
イルのうち、時刻T10より時刻の古いチェックポイン
トファイルを検索し、その結果、4101のファイルを
選択する。
Here, at the time of executing reproduction, the operator 6
It is assumed that an input is made to start reproduction from time 0. At this time,
The recording / reproducing apparatus 4 searches the stored checkpoint file for a checkpoint file older than the time T10, and as a result, selects the file 4101.

【0112】次に、時刻T10から記録を開始されたイ
ベントログファイルを検索し、その結果、4111を選
択する。続いて、4101と4111を用いて、時刻T
10の時のシミュレーションの内部状態を復元し、それ
以降の再生処理を開始する。
Next, the event log file whose recording has been started from time T10 is searched, and as a result, 4111 is selected. Subsequently, the time T is calculated using 4101 and 4111.
The internal state of the simulation at 10 is restored, and the subsequent reproduction processing is started.

【0113】以上のように、本発明によれば、予め与え
た条件を満たした時刻においては、チェックポイントフ
ァイルを保存しておき、その時刻の状態復元を行え、さ
らに、イベントログファイルを用いてこの時刻以降の任
意の時刻の状態の復元も行うことができるので、プレイ
ヤ7が訓練時に見た画面と同様の画面を容易に再生する
ことができるという効果が得られる。
As described above, according to the present invention, at a time satisfying a predetermined condition, the checkpoint file is stored, the state at that time can be restored, and the event log file can be used. Since the state at an arbitrary time after this time can also be restored, an effect is obtained that a screen similar to the screen seen by the player 7 during training can be easily reproduced.

【0114】実施の形態6.この実施の形態において
は、図12において、イベントの構成とイベントファイ
ルの構成は図11に従うとする。
Embodiment 6 FIG. In this embodiment, the configuration of the event and the configuration of the event file in FIG. 12 are based on FIG.

【0115】ここで、再生実行時にオペレータ6は、図
12のT15の時刻から再生するよう入力したとする。
このとき、記録再生装置4は、保存してあるチェックポ
イントファイルのうち、時刻T15から最も論理時刻の
差の小さいチェックポイントファイルを検索し、その結
果、時刻T20のファイル4102が選択される。
Here, it is assumed that the operator 6 inputs the reproduction from the time T15 in FIG. 12 during the reproduction.
At this time, the recording / reproducing device 4 searches the stored checkpoint file for the checkpoint file having the smallest difference in the logical time from the time T15, and as a result, the file 4102 at the time T20 is selected.

【0116】次に、時刻T15を含むイベントログファ
イルを検索し、その結果、T0〜T20のイベントログ
ファイル4111を選択する。続いて、チェックポイン
トファイル4102の時刻T20の時のシミュレーショ
ンの内部状態を復元し、続いて、イベントログファイル
4111を用いて一時刻ずつ逆方向に状態の復元を行
う。
Next, the event log file including the time T15 is searched, and as a result, the event log file 4111 of T0 to T20 is selected. Subsequently, the internal state of the simulation at the time T20 in the checkpoint file 4102 is restored, and then the state is restored in the reverse direction one by one using the event log file 4111.

【0117】なお、この実施の形態においては、逆方向
に復元を行う例について述べたが、その場合に限らず、
最も論理時刻の差の小さいチェックポイントファイル
が、再生を始めたい時刻T15よりも古いチェックポイ
ントファイルであった場合には、一時刻ずつ正方向に状
態の復元を行う。
In this embodiment, an example has been described in which restoration is performed in the reverse direction. However, the present invention is not limited to this case.
If the checkpoint file having the smallest logical time difference is a checkpoint file older than the time T15 at which reproduction is to be started, the state is restored in the forward direction one time at a time.

【0118】以上のように、本発明のこの実施の形態に
よれば、予め与えた条件を満たした時刻においては、チ
ェックポイントファイルを保存しておき、その時刻の状
態復元を行え、さらに、イベントログファイルを用いて
この時刻から前方及び後方の任意の時刻の状態の復元も
行うことができるので、プレイヤ7が訓練時に見た画面
と同様の画面を容易に再生することができ、さらに、利
便性が向上するという効果が得られる。
As described above, according to this embodiment of the present invention, the checkpoint file is saved at a time satisfying a predetermined condition, and the state at that time can be restored. Since the log file can also be used to restore the state at any time before and after this time, a screen similar to the screen that the player 7 saw during training can be easily reproduced, and further, convenience is provided. The effect that the property is improved is obtained.

【0119】実施の形態7.図13は、記録再生装置を
2台接続した場合のシステム構成例を示す。図におい
て、4aと4bは2つの記録再生装置を示し、機能的に
は全く同一のものである。それぞれ、チェックポイント
ファイル410a及び410bと、イベントログファイ
ル411a及び411bとを記録・保存するが、例え
ば、各記録条件は以下のように異なるとする。
Embodiment 7 FIG. FIG. 13 shows a system configuration example when two recording / reproducing devices are connected. In the figure, reference numerals 4a and 4b denote two recording / reproducing apparatuses, which are completely identical in function. Checkpoint files 410a and 410b and event log files 411a and 411b are recorded and stored, respectively. For example, it is assumed that recording conditions are different as follows.

【0120】1)記録再生装置4aのチェックポイント
ファイル410aとイベントログファイル411aの記
録条件:記録・保存するオブジェクトの識別子番号が0
〜100番のもの 2)記録再生装置4bのチェックポイントファイル41
0bとイベントログファイル411bの記録条件:記録
・保存するオブジェクトの識別子番号が100番以降の
もの
1) Recording condition of checkpoint file 410a and event log file 411a of recording / reproducing apparatus 4a: identifier number of object to be recorded / stored is 0
2) Checkpoint file 41 of recording / reproducing device 4b
0b and the recording condition of the event log file 411b: the identifier number of the object to be recorded / stored is 100 or later

【0121】このように、本実施の形態においては、記
録再生装置4毎に別の情報を記録することにより、一台
の記録再生装置を使う場合と比べて、各記録ファイル上
に保存するデータ量を減らすことができると共に、記録
時に保存のために要する処理の負荷を分散できるという
効果が得られる。
As described above, according to the present embodiment, different information is recorded for each recording / reproducing device 4, so that the data to be stored on each recording file is different from the case where one recording / reproducing device is used. The effect is obtained that the amount can be reduced and the load of processing required for storage at the time of recording can be dispersed.

【0122】実施の形態8.図13に示すように記録再
生装置を2台接続し、各記録再生装置上では上記に示し
た記録条件1)、2)のような、それぞれ異なる記録条
件で記録を実行した場合を考える。
Embodiment 8 FIG. It is assumed that two recording / reproducing devices are connected as shown in FIG. 13 and recording is performed under different recording conditions such as the recording conditions 1) and 2) described above on each recording / reproducing device.

【0123】記録・保存条件に従って記録したチェック
ポイントファイルとイベントログファイルが、それぞれ
2つずつ作成される。
Two checkpoint files and two event log files are recorded according to the recording / storing conditions.

【0124】再生の実行開始前、2台の記録再生装置は
それぞれが記録保存したファイルをベースに、上述した
方法を使って再生実行のための準備を分散シミュレーシ
ョン装置に対して行う。
Before starting the execution of the reproduction, the two recording / reproducing apparatuses make preparations for the execution of the reproduction to the distributed simulation apparatus using the method described above, based on the files recorded and stored.

【0125】統合管理装置1が2台の記録再生装置に再
生実行開始を指示すると、各装置上の分散シミュレーシ
ョン管理機構の働きにより、各装置間で時刻の同期がと
られて再生処理が行われる。
When the integrated management device 1 instructs the two recording / playback devices to start playback, the distributed simulation management mechanism on each device synchronizes the time between the devices and performs the playback process. .

【0126】再生中のシミュレーションの様子はプレイ
ヤ端末3で見ることができるが、1台の記録再生装置上
で再生が実行された場合と、2台の装置上で実行された
場合で画面上に再生される表示に差はなく、あたかも一
台の装置上で実行されているようにプレイヤ端末3上で
は認識される。
The state of the simulation during the reproduction can be seen on the player terminal 3. The reproduction is executed on one recording / reproducing apparatus and the reproduction is executed on two apparatuses. There is no difference in the display to be reproduced, and it is recognized on the player terminal 3 as if it is being executed on one device.

【0127】このように、複数の記録再生装置を同時に
再生処理させて分散シミュレーション管理機構の働きに
より時刻を同期して動作することにより、複数の記録再
生装置で記録保存したファイルを、同じシステム上で再
生することが可能であり、また、再生のための処理を負
荷分散することができるという効果が得られる。
As described above, the files recorded and stored by the plurality of recording / reproducing apparatuses are recorded on the same system by simultaneously reproducing the plurality of recording / reproducing apparatuses and operating in synchronization with the operation of the distributed simulation management mechanism. And the processing for reproduction can be load-balanced.

【0128】実施の形態9.図13に示すように記録再
生装置を2台接続し、上記の実施の形態とは異なり、各
記録再生装置上で同一の記録条件を用いるものとする。
ただし保存条件は例えば以下のように異なるものとす
る。
Embodiment 9 FIG. As shown in FIG. 13, two recording / reproducing devices are connected, and unlike the above embodiment, the same recording conditions are used on each recording / reproducing device.
However, the storage conditions are different, for example, as follows.

【0129】3)記録再生装置4aのチェックポイント
ファイル410aとイベントログファイル411aの記
録条件:記録開始時刻は論理時刻のゼロから、記録する
間隔は毎100論理時刻おき。
3) Recording conditions for the checkpoint file 410a and the event log file 411a of the recording / reproducing apparatus 4a: the recording start time is from logical time zero, and the recording interval is every 100 logical times.

【0130】4)記録再生装置4bのチェックポイント
ファイル410bとイベントログファイル411bの記
録条件:記録開始時刻は論理時刻の50から、記録する
間隔は毎100論理時刻おき。
4) Recording conditions of the checkpoint file 410b and the event log file 411b of the recording / reproducing apparatus 4b: the recording start time is 50 logical times, and the recording interval is every 100 logical times.

【0131】すると、各記録再生装置上ではチェックポ
イントファイルは100論理時刻毎に保存されている
が、2台の記録再生装置双方のデータをあわせると、5
0論理時刻毎のチェックポイントファイルが利用可能で
ある。
Then, on each recording / reproducing device, the checkpoint file is stored every 100 logical times, but when the data of both recording / reproducing devices are combined, 5 points are obtained.
A checkpoint file for every 0 logical time is available.

【0132】従って、再生時頭出し処理の際、記録再生
装置1台の場合と比べると、頭出しに要する時間を短縮
できるという効果が得られる。
Accordingly, the effect of shortening the time required for cueing in the cueing process during reproduction can be obtained as compared with the case of a single recording / reproducing apparatus.

【0133】[0133]

【発明の効果】この発明は、仮想環境を模擬する模擬手
段と、模擬手段により模擬された結果をリアルタイムで
表示する1台以上の表示手段と、模擬の内容を記録保存
するための条件を設定する記録保存条件設定手段と、条
件に基づいて模擬の内容全てをチェックポイントファイ
ルに保存するチェックポイントファイル手段と、チェッ
クポイントファイルに保存を行った時刻から次の保存を
行う時刻までの間の模擬の内容の変化の差分だけをイベ
ントログファイルに保存するイベントログファイル手段
と、保存された上記チェックポイントファイル及びイベ
ントログファイルを用いて、任意の時刻における模擬の
内容を再生して表示手段に表示するための再生手段と、
システム全体の統合管理を行うための統合管理手段と、
を備えた分散シミュレーションシステムであるので、記
録すべきシミュレータの内部状態に対し、記録保存する
ための記録保存条件を設定することができ、また、ある
論理時刻におけるシステムの状態を全て保存するチェッ
クポイントファイルと、チェックポイントファイルを保
存した以降のシステムの内部状態の変化を保存するイベ
ントログファイルとを備え、これら2種類のファイルを
用いて保存及び再生を行うので、ファイルに保存する頻
度を減らすことができ、訓練実施中には記録保存処理に
よるシミュレーションの処理に対する影響が少なく、訓
練実施後には効率良く再生処理を行なうことができると
いう効果が得られる。
According to the present invention, a simulating means for simulating a virtual environment, at least one display means for displaying a result simulated by the simulating means in real time, and conditions for recording and saving the contents of the simulation are set. A record storage condition setting means, a check point file means for storing all the contents of the simulation based on the conditions in a check point file, and a simulation from a time when the check point file is saved to a time when the next save is performed. Using the event log file means for storing only the difference in the change of the contents of the event log file in the event log file, and the contents of the simulation at an arbitrary time by using the saved checkpoint file and event log file, and displaying them on the display means Playback means for performing
Integrated management means for performing integrated management of the entire system;
Since it is a distributed simulation system equipped with a simulator, it is possible to set recording and preservation conditions for recording and preserving the internal state of the simulator to be recorded, and checkpoints for preserving all system states at a certain logical time A file and an event log file for saving changes in the internal state of the system after saving the checkpoint file. Since saving and playback are performed using these two types of files, the frequency of saving to a file can be reduced. During the training, there is little effect on the simulation processing by the record preservation processing, and the effect is obtained that the reproduction processing can be performed efficiently after the training.

【0134】また、統合管理手段が、再生手段と表示手
段とに対して、再生の開始時刻と保存されたチェックポ
イントファイル及びイベントログファイルを指定し、再
生手段が出力したデータを論理時刻を同期させて表示手
段上へ表示するための制御機構を備えているので、表示
手段は、再生手段が毎時刻変化させる状態を、時刻を同
期してモニタすることにより画面に表示するようにした
ので、論理的に正確な訓練実施時と同じ内容の表示画面
を容易に再生することができるという効果が得られる。
Further, the integrated management means designates the playback start time and the stored checkpoint file and event log file for the playback means and the display means, and synchronizes the data output by the playback means with the logical time. Since the display means has a control mechanism for displaying it on the display means, the display means displays the state of the reproduction means changing every time on the screen by monitoring the time in synchronization. An effect is obtained that a display screen having the same content as that at the time of conducting a logically accurate training can be easily reproduced.

【0135】また、記録保存条件設定手段が、模擬の内
容のうち、いずれをチェックポイントファイル及びイベ
ントログファイルにそれぞれ記録するか否かを決める記
録条件を設定する記録条件設定部と、チェックポイント
ファイル及びイベントログファイルに書き出すタイミン
グをそれぞれ決める保存条件を設定する保存条件設定部
と、を備えているので、目的等に合わせて条件を適当に
定めることにより、効率良くデータを保存することがで
き、良好なシミュレーションの再生を行うことができ
る。
A recording condition setting unit for setting a recording condition for determining which of the simulated contents is to be recorded in the checkpoint file and the event log file, respectively; And a storage condition setting unit for setting storage conditions that determine the timing of writing to the event log file, so that the data can be efficiently saved by appropriately setting the conditions according to the purpose and the like, Good reproduction of the simulation can be performed.

【0136】また、チェックポイントファイルに保存す
る前に、データを一時的に格納するチェックポイントバ
ッファと、イベントログファイルに保存する前に、デー
タを一時的に格納するイベントログバッファと、をさら
に備え、模擬の毎時刻の状態変化は、上記チェックポイ
ントバッファに書き込まれると同時にイベントログバッ
ファに書き込まれ、次の時刻における同じ属性のデータ
の状態変化に関しては、チェックポイントバッファでは
上書きし、イベントログバッファでは追加書き込みし、
以上の処理を繰り返して、イベントログファイルに関す
る記録保存条件を満たした時点でイベントログファイル
に書き込みし、チェックポイントファイルに関する記録
保存条件を満たした時点でチェックポイントファイルに
書き出すようにしたので、チェックポイントファイル及
びイベントログファイルへ書き込む際に、システムを中
断させるようなシミュレーション内部の状態の収集が不
要であり、ファイルに書き込むだけの手間で行えるた
め、シミュレーションの実行に与える影響をさらに少な
くすることができるという効果が得られる。
Further, a checkpoint buffer for temporarily storing data before storing it in the checkpoint file, and an event log buffer for temporarily storing data before storing the data in the event log file are further provided. The simulated status change at each time is written to the above-mentioned checkpoint buffer and simultaneously written to the event log buffer, and the status change of the data of the same attribute at the next time is overwritten by the checkpoint buffer, and the event log buffer is overwritten. Let's write additional
The above process is repeated to write to the event log file when the record storage condition for the event log file is satisfied, and to write to the checkpoint file when the record storage condition for the checkpoint file is satisfied. When writing to a file and an event log file, it is not necessary to collect the internal state of the simulation that interrupts the system, and it is possible to perform the work just by writing to the file, so that the influence on the execution of the simulation can be further reduced. The effect is obtained.

【0137】また、イベントログファイル内に、各時刻
毎に、変更があった状態を示す識別子と、模擬の新しい
状態を示す値とを格納するようにしたので、再生時に時
刻を正方向(時刻の増加方向)に進めてログファイルを
再生することができるという効果が得られる。
Further, the identifier indicating the changed state and the value indicating the simulated new state are stored in the event log file for each time, so that the time is shifted in the forward direction (time And the log file can be played back.

【0138】また、イベントログファイル内に、さら
に、各時刻毎に、模擬の1つ前の時刻の過去の状態を示
す値を格納するようにしたので、再生時に時刻を逆方向
(時刻の減少方向)に進めてログファイルを再生するこ
とができるという効果が得られる。
Further, since the value indicating the past state of the time immediately before the simulation is stored for each time in the event log file, the time is reversed in the reproduction (the time decreases). Direction) and the log file can be reproduced.

【0139】また、再生手段が、統合管理手段上で指定
される再生の開始時刻を受信する受信部と、開始時刻よ
り以前の最も新しい時刻に保存されたチェックポイント
ファイルを検索する検索部と、検索したチェックポイン
トファイルの保存時刻以降のイベントログファイルの識
別子及び新しい状態を示す値を用いて、正方向に模擬の
状態を再現していくことにより開始時刻の状態を再現し
て、再生開始状態を作成する再生開始状態作成部と、統
合管理手段から出力される時刻同期信号に同期させて、
イベントログファイルから毎時刻の模擬の内容の変化を
送信して、同じく統合管理手段からの時刻同期信号に同
期して動作する表示手段上に表示することにより再生を
行う再生部と、を備えているので、予め与えた条件を満
たした時刻においては、チェックポイントファイルを保
存しておき、その時刻の状態復元を行え、さらに、イベ
ントログファイルを用いてこの時刻以降の任意の時刻の
状態の復元も行うことができるので、シミュレーション
実行時に見た画面と同様の画面を容易に再生することが
できるという効果が得られる。
[0139] Further, the reproducing means includes: a receiving section for receiving a reproduction start time designated on the integrated management means; a retrieval section for retrieving a checkpoint file stored at the newest time before the start time; Using the identifier of the event log file after the save time of the searched checkpoint file and the value indicating the new state, the state of the start time is reproduced by reproducing the simulated state in the forward direction, and the reproduction start state And a playback start state creation unit for creating a time synchronization signal output from the integrated management means,
A reproduction unit that transmits a change in the content of the simulation at each time from the event log file and performs reproduction by displaying the change on the display unit that also operates in synchronization with the time synchronization signal from the integrated management unit. At a time that satisfies the conditions given in advance, the checkpoint file is saved and the state can be restored at that time. Furthermore, the state at any time after this time can be restored using the event log file. Can be performed, so that an effect is obtained that a screen similar to the screen seen at the time of executing the simulation can be easily reproduced.

【0140】また、再生手段が、統合管理手段上で指定
される再生の開始時刻を受信する受信部と、開始時刻よ
り以降の最も新しい時刻に保存されたチェックポイント
ファイルを検索する検索部と、検索したチェックポイン
トファイルの保存時刻以前のイベントログファイルの識
別子、新しい状態を示す値及び過去の状態を示す値を用
いて、逆方向に模擬の状態を再現していくことにより開
始時刻の状態を再現して、再生開始状態を作成する再生
開始状態作成部と、統合管理手段から出力される時刻同
期信号に同期させて、イベントログファイルの識別子及
び新しい状態を示す値から毎時刻の模擬の内容の変化を
送信して、同じく統合管理手段からの時刻同期信号に同
期して動作する表示手段上に表示することにより再生を
行う再生部と、を備えているので、予め与えた条件を満
たした時刻においては、チェックポイントファイルを保
存しておき、その時刻の状態復元を行え、さらに、イベ
ントログファイルを用いてこの時刻から前方及び後方の
任意の時刻の状態の復元も行うことができるので、シミ
ュレーション実行時に見た画面と同様の画面を容易に再
生することができ、さらに、利便性が向上するという効
果が得られる。
[0140] Further, the reproducing means includes: a receiving section for receiving a reproduction start time designated on the integrated management means; a retrieval section for retrieving a checkpoint file stored at the latest time after the start time; Using the identifier of the event log file before the save time of the searched checkpoint file, the value indicating the new state, and the value indicating the past state, the state of the start time is reproduced by reproducing the simulated state in the reverse direction. The reproduction start state creation unit that reproduces and creates the reproduction start state, and the contents of the simulation at each time from the identifier of the event log file and the value indicating the new state in synchronization with the time synchronization signal output from the integrated management means. And a reproduction unit for reproducing by transmitting the change of the information and displaying the same on a display unit operating in synchronization with the time synchronization signal from the integrated management unit. At a time that satisfies the conditions given in advance, the checkpoint file is saved, the state at that time can be restored, and any time before and after this time can be set using the event log file. Can be restored, so that a screen similar to the screen seen at the time of executing the simulation can be easily reproduced, and the effect of improving convenience can be obtained.

【0141】また、チェックポイントファイル手段とイ
ベントログファイル手段とを同数のそれぞれ複数個ずつ
設けて、記録保存条件設定手段により各々に対して別の
記録条件を与えて模擬の内容の保存を行うようにしたの
で、ファイル手段ごとに別の情報を記録することによ
り、1つのファイル手段を使う場合に比べて、各ファイ
ルに保存するデータ量を減らすことができ、さらに、記
録時においても、保存のために要する処理の負荷を分散
できるという効果が得られる。
Further, the same number of checkpoint file means and event log file means are provided in a plural number, respectively, and different recording conditions are given to each of them by the recording / storing condition setting means to store the contents of the simulation. By recording different information for each file means, the amount of data to be stored in each file can be reduced as compared with the case of using one file means. The effect that the load of the processing required can be distributed.

【0142】また、複数個ずつ設けられたチェックポイ
ントファイル手段及びイベントログファイル手段の各対
に対して1つずつ再生手段を設けて、各再生手段を同期
させて、別の記録条件で保存されたチェックポイントフ
ァイル及びイベントログファイルを再生することによ
り、同一の仮想環境を再生するようにしたので、複数の
再生手段を同時に再生処理させて時刻を同期させて動作
させることにより、複数のファイルに記録保存したデー
タを同じシステム上で再生することが可能であり、ま
た、再生のための処理を負荷分散することができるとい
う効果が得られる。
Further, one reproducing means is provided for each pair of a plurality of checkpoint file means and event log file means, and the reproducing means are synchronized and stored under different recording conditions. The same virtual environment is played by playing back the checkpoint file and the event log file that have been played back. The recorded data can be reproduced on the same system, and the processing for reproduction can be load-balanced.

【0143】また、複数個ずつ設けられたチェックポイ
ントファイル手段及びイベントログファイル手段の各々
に対して、記録保存条件設定手段により保存条件として
異なる保存周期を指定することにより、それぞれ保存タ
イミングの異なる記録データが保存されるようにしたの
で、複数個のファイルのデータを合わせると、保存周期
が短くなり、情報が多くなるとともに、再生時の頭出し
に要する時間を短縮することができるという効果が得ら
れる。
By specifying different storage periods as storage conditions by the recording storage condition setting unit for each of the plurality of checkpoint file units and event log file units, recording at different storage timings is performed. Since the data is saved, combining the data of multiple files shortens the saving cycle, increases the information, and shortens the time required for cueing during playback. Can be

【0144】また、この発明は、仮想環境を模擬する模
擬工程と、模擬工程により模擬された結果をリアルタイ
ムで1台以上の表示装置に表示する表示工程と、模擬の
内容を記録保存するための条件を設定する記録保存条件
設定工程と、条件に基づいて模擬の内容全てをチェック
ポイントファイルに保存するチェックポイントファイル
工程と、チェックポイントファイルに保存を行った時刻
から次の保存を行う時刻までの間の模擬の内容の変化の
差分だけをイベントログファイルに保存するイベントロ
グファイル工程と、保存されたチェックポイントファイ
ル及びイベントログファイルを用いて、任意の時刻にお
ける模擬の内容を再生して表示装置に表示する再生工程
と、時刻同期信号を出力してシステム全体の統合管理を
行うための統合管理工程と、を備えた分散シミュレーシ
ョン方法であるので、記録すべきシミュレータの内部状
態に対し、記録保存するための記録保存条件を設定する
ことができ、また、ある論理時刻におけるシステムの状
態を全て保存するチェックポイントファイルと、チェッ
クポイントファイルを保存した以降のシステムの内部状
態の変化を保存するイベントログファイルとを備え、こ
れら2種類のファイルを用いて保存及び再生を行うの
で、ファイルに保存する頻度を減らすことができ、訓練
実施中には記録保存処理によるシミュレーションの処理
に対する影響が少なく、訓練実施後には効率良く再生処
理を行なうことができるという効果が得られる。
Further, the present invention provides a simulation step for simulating a virtual environment, a display step for displaying the result simulated by the simulation step on one or more display devices in real time, and a method for recording and storing the contents of the simulation. A record storage condition setting process for setting conditions, a checkpoint file process for storing all the contents of the simulation in a checkpoint file based on the conditions, and a checkpoint file process from the time when the checkpoint file is saved to the time when the next save is performed An event log file process of storing only a difference between changes in the contents of the simulation between the event log files, and a display device that reproduces the contents of the simulation at an arbitrary time by using the stored checkpoint file and the event log file. And the integrated pipe for outputting the time synchronization signal for integrated management of the entire system And the process, the recording and preservation conditions for recording and preserving the internal state of the simulator to be recorded can be set, and all the system states at a certain logical time can be stored. A checkpoint file to be saved and an event log file to save changes in the internal state of the system after the checkpoint file is saved. Since the two types of files are used for saving and playback, the frequency of saving to the file During the training, there is little effect on the simulation processing due to the record preservation processing, and the effect is obtained that the reproduction processing can be performed efficiently after the training.

【0145】また、統合管理工程において、再生工程と
表示工程とに対して、再生の開始時刻と保存されたチェ
ックポイントファイル及びイベントログファイルを指定
し、再生工程において出力したデータを論理時刻を同期
させて表示装置上へ表示するための制御機構を備えてい
るので、表示装置は、再生工程が毎時刻変化させる状態
を、時刻を同期してモニタすることにより画面に表示す
るようにしたので、論理的に正確な訓練実施時と同じ内
容の表示画面を容易に再生することができるという効果
が得られる。
In the integrated management process, the playback start time and the stored checkpoint file and event log file are designated for the playback process and the display process, and the data output in the playback process are synchronized with the logical time. Since the display device has a control mechanism for displaying it on the display device, the display device displays the state of the reproduction process changing every time on the screen by monitoring the time in synchronization. An effect is obtained that a display screen having the same content as that at the time of conducting a logically accurate training can be easily reproduced.

【0146】また、記録保存条件設定工程が、模擬の内
容のうち、いずれをチェックポイントファイル及びイベ
ントログファイルにそれぞれ記録するか否かを決める記
録条件を設定する記録条件設定ステップと、チェックポ
イントファイル及びイベントログファイルに書き出すタ
イミングをそれぞれ決める保存条件を設定する保存条件
設定ステップと、を備えているので、目的等に合わせて
条件を適当に定めることにより、効率良くデータを保存
することができ、良好なシミュレーションの再生を行う
ことができる。
The recording condition setting step includes a recording condition setting step of setting recording conditions for determining which of the simulation contents is to be recorded in the checkpoint file and the event log file, respectively. And a storage condition setting step of setting storage conditions that determine the timing of writing to the event log file, respectively, so that the data can be efficiently saved by appropriately setting the conditions according to the purpose and the like. Good reproduction of the simulation can be performed.

【0147】また、チェックポイントファイルに保存す
る前に、データを一時的に格納するチェックポイントバ
ッファ工程と、イベントログファイルに保存する前に、
データを一時的に格納するイベントログバッファ工程
と、をさらに備え、模擬の毎時刻の状態変化は、チェッ
クポイントバッファに書き込まれると同時にイベントロ
グバッファに書き込まれ、次の時刻における同じ属性の
データの状態変化に関しては、チェックポイントバッフ
ァでは上書きし、イベントログバッファでは追加書き込
みし、以上の処理を繰り返して、イベントログファイル
に関する記録保存条件を満たした時点でイベントログフ
ァイルに書き込みし、チェックポイントファイルに関す
る上記記録保存条件を満たした時点でチェックポイント
ファイルに書き出すようにしたので、チェックポイント
ファイル及びイベントログファイルへ書き込む際に、シ
ステムを中断させるようなシミュレーション内部の状態
の収集が不要であり、ファイルに書き込むだけの手間で
行えるため、シミュレーションの実行に与える影響をさ
らに少なくすることができるという効果が得られる。
A checkpoint buffer step for temporarily storing data before storing the data in the checkpoint file, and a checkpoint buffering step for storing the data in the event log file.
An event log buffering step of temporarily storing data, wherein the simulated state change at each time is written to the checkpoint buffer and simultaneously to the event log buffer, and data of the same attribute at the next time is written. Regarding status changes, overwrite in the checkpoint buffer, write additionally in the event log buffer, repeat the above process, write to the event log file when the record storage condition for the event log file is satisfied, and write to the checkpoint file. Since the data is written to the checkpoint file when the above record storage conditions are satisfied, it is not necessary to collect the internal state of the simulation that interrupts the system when writing to the checkpoint file and event log file. Because performed only effort to write the file, there is an advantage that it is possible to further reduce the impact on the execution of the simulation.

【0148】また、イベントログファイル工程におい
て、イベントログファイル内に、各時刻毎に、変更があ
った状態を示す識別子と、模擬の新しい状態を示す値と
を格納するようにしたので、再生時に時刻を正方向(時
刻の増加方向)に進めてログファイルを再生することが
できるという効果が得られる。
In the event log file process, an identifier indicating a changed state and a value indicating a simulated new state are stored in the event log file at each time. The effect is obtained that the log file can be reproduced with the time advanced in the forward direction (time increasing direction).

【0149】また、イベントログファイル工程におい
て、イベントログファイル内に、さらに、各時刻毎に、
模擬の1つ前の時刻の過去の状態を示す値を格納するよ
うにしたので、再生時に時刻を逆方向(時刻の減少方
向)に進めてログファイルを再生することができるとい
う効果が得られる。
Further, in the event log file step, the event log file further includes:
Since the value indicating the past state of the time immediately before the simulation is stored, it is possible to obtain the effect that the log file can be reproduced by moving the time in the reverse direction (time decreasing direction) during reproduction. .

【0150】また、再生工程が、指定された再生の開始
時刻を受信する受信ステップと、開始時刻より以前の最
も新しい時刻に保存されたチェックポイントファイルを
検索する検索ステップと、検索したチェックポイントフ
ァイルの保存時刻以降のイベントログファイルの識別子
及び新しい状態を示す値を用いて、正方向に模擬の状態
を再現していくことにより開始時刻の状態を再現して、
再生開始状態を作成する再生開始状態作成ステップと、
統合管理工程において出力される時刻同期信号に同期さ
せて、イベントログファイルから毎時刻の模擬の内容の
変化を送信して、同じく時刻同期信号に同期して動作す
る表示装置上に表示することにより再生を行う再生ステ
ップと、を備えているので、予め与えた条件を満たした
時刻においては、チェックポイントファイルを保存して
おき、その時刻の状態復元を行え、さらに、イベントロ
グファイルを用いてこの時刻以降の任意の時刻の状態の
復元も行うことができるので、シミュレーション実行時
に見た画面と同様の画面を容易に再生することができる
という効果が得られる。
The reproducing step includes a receiving step of receiving a designated reproduction start time, a retrieval step of retrieving a checkpoint file stored at the newest time before the start time, and a retrieval step of the retrieved checkpoint file. Using the identifier of the event log file after the save time and the value indicating the new state, the state of the start time is reproduced by reproducing the simulated state in the forward direction,
A playback start state creation step of creating a playback start state;
By synchronizing with the time synchronization signal output in the integrated management process, transmitting the change of the simulated content at each time from the event log file, and displaying the change on the display device which also operates in synchronization with the time synchronization signal And a playback step for performing playback, so that at a time that satisfies the conditions given in advance, a checkpoint file is saved, the state can be restored at that time, and furthermore, this event can be restored using the event log file. Since the state at an arbitrary time after the time can also be restored, an effect is obtained that a screen similar to the screen seen at the time of executing the simulation can be easily reproduced.

【0151】また、再生工程が、指定された再生の開始
時刻を受信する受信ステップと、開始時刻より以降の最
も新しい時刻に保存されたチェックポイントファイルを
検索する検索ステップと、検索したチェックポイントフ
ァイルの保存時刻以前のイベントログファイルの識別
子、新しい状態を示す値及び過去の状態を示す値を用い
て、逆方向に模擬の状態を再現していくことにより開始
時刻の状態を再現して、再生開始状態を作成する再生開
始状態作成ステップと、統合管理工程において出力され
る時刻同期信号に同期させて、イベントログファイルの
識別子及び新しい状態を示す値から毎時刻の模擬の内容
の変化を送信して、同じく時刻同期信号に同期して動作
する表示装置上に表示することにより再生を行う再生ス
テップと、を備えているので、予め与えた条件を満たし
た時刻においては、チェックポイントファイルを保存し
ておき、その時刻の状態復元を行え、さらに、イベント
ログファイルを用いてこの時刻から前方及び後方の任意
の時刻の状態の復元も行うことができるので、シミュレ
ーション実行時に見た画面と同様の画面を容易に再生す
ることができ、さらに、利便性が向上するという効果が
得られる。
The reproducing step includes a receiving step of receiving a designated reproduction start time, a retrieval step of retrieving a checkpoint file stored at the latest time after the start time, and a retrieval step of the retrieved checkpoint file. Using the identifier of the event log file before the save time, the value indicating the new state, and the value indicating the past state, the simulated state is reproduced in the reverse direction to reproduce the state at the start time, and reproduced. A reproduction start state creation step for creating a start state, and a change in the contents of the simulation at each time are transmitted from the identifier of the event log file and the value indicating the new state in synchronization with the time synchronization signal output in the integrated management process. A reproduction step of performing reproduction by displaying on a display device also operating in synchronization with the time synchronization signal. Therefore, at a time that satisfies the condition given in advance, the checkpoint file is saved, the state at that time can be restored, and further, using the event log file, any time before and after this time can be set. Since the state can be restored, a screen similar to the screen seen at the time of executing the simulation can be easily reproduced, and the effect that convenience is improved can be obtained.

【0152】また、チェックポイントファイル及びイベ
ントログファイルが同数のそれぞれ複数個ずつ設けられ
て、記録保存条件設定工程により各々に対して別の記録
条件を与えて模擬の内容の保存を行うようにしたので、
ファイルごとに別の情報を記録することにより、1つの
ファイルを使う場合に比べて、各ファイルに保存するデ
ータ量を減らすことができ、さらに、記録時において
も、保存のために要する処理の負荷を分散できるという
効果が得られる。
Further, the same number of checkpoint files and event log files are provided, respectively, and the simulated contents are stored by giving different recording conditions to each of them in the recording storage condition setting step. So
By recording different information for each file, the amount of data to be stored in each file can be reduced as compared with the case where one file is used, and the processing load required for storage during recording is also reduced. Can be dispersed.

【0153】また、複数個ずつ設けられたチェックポイ
ントファイル及びイベントログファイルの各対に対して
1つずつ再生装置を設けて、各再生装置を同期させて、
別の記録条件で保存されたチェックポイントファイル及
びイベントログファイルを再生することにより、同一の
仮想環境を再生するようにしたので、複数の再生装置を
同時に再生処理させて時刻を同期させて動作させること
により、複数のファイルに記録保存したデータを同じシ
ステム上で再生することが可能であり、また、再生のた
めの処理を負荷分散することができるという効果が得ら
れる。
Further, one playback device is provided for each pair of a plurality of checkpoint files and event log files, and the playback devices are synchronized with each other.
Since the same virtual environment is reproduced by reproducing the checkpoint file and the event log file stored under different recording conditions, a plurality of reproducing apparatuses are simultaneously reproduced and operated in synchronization of time. As a result, it is possible to reproduce data recorded and stored in a plurality of files on the same system, and it is possible to obtain an effect that the processing for reproduction can be load-balanced.

【0154】また、複数個ずつ設けられたチェックポイ
ントファイル及びイベントログファイルの各々に対し
て、記録保存条件設定工程により保存条件として異なる
保存周期を指定することにより、それぞれ保存タイミン
グの異なる記録データが保存されるようにしたので、複
数個のファイルのデータを合わせると、保存周期が短く
なり、情報が多くなるとともに、再生時の頭出しに要す
る時間を短縮することができるという効果が得られる。
By specifying different storage periods as storage conditions in the storage condition setting step for each of the plurality of checkpoint files and event log files, recording data having different storage timings can be obtained. Since the data is stored, when the data of a plurality of files are combined, the storage cycle is shortened, the information is increased, and the time required for cueing at the time of reproduction can be shortened.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の分散シミュレーションシステムの構
成を示したブロック図である。
FIG. 1 is a block diagram showing a configuration of a distributed simulation system according to the present invention.

【図2】 図1のシステムにおいて、シミュレーション
の内部状態の保存を行いながらシミュレーションを行う
場合(訓練実行時)を示した概略ブロック図である。
FIG. 2 is a schematic block diagram showing a case where a simulation is performed (at the time of training execution) while saving the internal state of the simulation in the system of FIG. 1;

【図3】 図1のシステムにおいて、シミュレーション
の内部状態の再生を行う場合(訓練再生時)を示した概
略ブロック図である。
FIG. 3 is a schematic block diagram showing a case where a simulation internal state is reproduced (during training reproduction) in the system of FIG. 1;

【図4】 図1のシステムにおいて、シミュレーション
の内部状態の保存を行いながらシミュレーションを行う
場合(訓練実行時)のデータの流れを示したタイムチャ
ートである。
FIG. 4 is a time chart showing a data flow in a case where a simulation is performed (at the time of training execution) while the internal state of the simulation is stored in the system of FIG. 1;

【図5】 図1のシステムにおいて、シミュレーション
の内部状態の保存を行いながらシミュレーションを行う
場合(訓練実行時)のデータの流れを示した図4の続き
のタイムチャートである。
FIG. 5 is a time chart subsequent to FIG. 4 showing a flow of data in a case where the simulation is performed while the internal state of the simulation is stored in the system of FIG. 1 (during training).

【図6】 図1のシステムにおいて、シミュレーション
の内部状態の再生を行う場合(訓練再生時)のデータの
流れを示したタイムチャートである。
FIG. 6 is a time chart showing a data flow when reproducing the internal state of the simulation (during training reproduction) in the system of FIG. 1;

【図7】 本発明の実施の形態2における分散シミュレ
ーションシステムの記録再生装置の構成を示したブロッ
ク図である。
FIG. 7 is a block diagram showing a configuration of a recording / reproducing device of a distributed simulation system according to Embodiment 2 of the present invention.

【図8】 実施の形態2における記録再生装置に設けら
れたチェックポイントバッファの構成例を示した構成図
である。
FIG. 8 is a configuration diagram showing a configuration example of a checkpoint buffer provided in a recording / reproducing device according to Embodiment 2.

【図9】 実施の形態2における記録再生装置に設けら
れたイベントログバッファの構成例を示した構成図であ
る。
FIG. 9 is a configuration diagram showing a configuration example of an event log buffer provided in the recording / reproduction device according to the second embodiment.

【図10】 本発明の実施の形態3におけるイベントロ
グファイルに記録するイベントのタイプとイベントログ
ファイルの構成例を示した図である。
FIG. 10 is a diagram illustrating types of events recorded in an event log file and a configuration example of the event log file according to the third embodiment of the present invention.

【図11】 本発明の実施の形態4におけるイベントロ
グファイルに記録するイベントのタイプとイベントログ
ファイルの構成例を示した図である。
FIG. 11 is a diagram illustrating types of events recorded in an event log file and a configuration example of the event log file according to the fourth embodiment of the present invention.

【図12】 本発明の実施の形態5〜6における各論理
時刻に作成されるチェックポイントファイル及びイベン
トログファイルを示した説明図である。
FIG. 12 is an explanatory diagram showing a checkpoint file and an event log file created at each logical time according to the fifth to sixth embodiments of the present invention.

【図13】 本発明の実施の形態7〜9における記録再
生装置を複数台接続した場合の分散シミュレーションシ
ステムの構成を示したブロック図である。
FIG. 13 is a block diagram showing a configuration of a distributed simulation system when a plurality of recording / reproducing apparatuses according to Embodiments 7 to 9 of the present invention are connected.

【図14】 従来のシミュレーション装置の構成を示し
たブロック図である。
FIG. 14 is a block diagram showing a configuration of a conventional simulation device.

【符号の説明】 1 統合管理装置、2 訓練環境模擬装置、3 プレイ
ヤ端末、4 記録再生装置、5 LAN、6 オペレー
タ、7 プレイヤ(訓練生)、100,200,30
0,400 分散シミュレーション制御機構、101,
201,301,401 制御プログラム、102 統
合管理プログラム、103,203,304,404
データ領域、202 訓練環境模擬プログラム、302
入力制御プログラム、303 アニメーション表示プ
ログラム、310 入力装置、311 アニメーション
表示装置、402 記録プログラム、403 再生プロ
グラム、406 チェックポイントバッファ、407
イベントログバッファ、410 チェックポイントファ
イル、411 イベントログファイル。
[Description of Signs] 1 integrated management device, 2 training environment simulation device, 3 player terminal, 4 recording / reproducing device, 5 LAN, 6 operator, 7 player (trainee), 100, 200, 30
0,400 distributed simulation control mechanism, 101,
201, 301, 401 control program, 102 integrated management program, 103, 203, 304, 404
Data area, 202 Training environment simulation program, 302
Input control program, 303 animation display program, 310 input device, 311 animation display device, 402 recording program, 403 reproduction program, 406 checkpoint buffer, 407
Event log buffer, 410 checkpoint file, 411 event log file.

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 仮想環境を模擬する模擬手段と、 上記模擬手段により模擬された結果をリアルタイムで表
示する1台以上の表示手段と、 上記模擬の内容を記録保存するための条件を設定する記
録保存条件設定手段と、 上記条件に基づいて上記模擬の内容全てをチェックポイ
ントファイルに保存するチェックポイントファイル手段
と、 上記チェックポイントファイルに保存を行った時刻から
次の保存を行う時刻までの間の上記模擬の内容の変化の
差分だけをイベントログファイルに保存するイベントロ
グファイル手段と、 保存された上記チェックポイントファイル及び上記イベ
ントログファイルを用いて、任意の時刻における上記模
擬の内容を再生して上記表示手段に表示するための再生
手段と、 システム全体の統合管理を行うための統合管理手段と、 を備えたことを特徴とする分散シミュレーションシステ
ム。
1. A simulation means for simulating a virtual environment, at least one display means for displaying a result simulated by the simulation means in real time, and a record for setting conditions for recording and saving the contents of the simulation Storage condition setting means; checkpoint file means for storing all of the contents of the simulation in a checkpoint file based on the conditions; and a time period from the time when the checkpoint file is saved to the time when the next save is performed. An event log file means for storing only the difference in the change of the simulation content in an event log file; and using the saved checkpoint file and the event log file to reproduce the simulation content at an arbitrary time. Playback means for displaying on the display means, and an integrated pipe for integrated management of the entire system A distributed simulation system, comprising:
【請求項2】 上記統合管理手段が、上記再生手段と上
記表示手段とに対して、再生の開始時刻と保存された上
記チェックポイントファイル及び上記イベントログファ
イルを指定し、上記再生手段が出力したデータを論理時
刻を同期させて上記表示手段上へ表示するための制御機
構を備えていることを特徴とする請求項1記載の分散シ
ミュレーションシステム。
2. The integrated management means designates a playback start time and the stored checkpoint file and event log file to the playback means and the display means, and outputs the playback means and the event log file. 2. The distributed simulation system according to claim 1, further comprising a control mechanism for displaying data on said display means in synchronization with a logical time.
【請求項3】 上記記録保存条件設定手段が、 上記模擬の内容のうち、いずれを上記チェックポイント
ファイル及び上記イベントログファイルにそれぞれ記録
するか否かを決める記録条件を設定する記録条件設定部
と、 上記チェックポイントファイル及び上記イベントログフ
ァイルに書き出すタイミングをそれぞれ決める保存条件
を設定する保存条件設定部と、 を備えたことを特徴とする請求項1または2に記載の分
散シミュレーションシステム。
3. A recording condition setting unit for setting a recording condition for deciding which of the contents of the simulation is to be recorded in the checkpoint file and the event log file, respectively. 3. The distributed simulation system according to claim 1, further comprising: a storage condition setting unit configured to set a storage condition that determines a timing of writing to the checkpoint file and the event log file. 4.
【請求項4】 上記チェックポイントファイルに保存す
る前に、データを一時的に格納するチェックポイントバ
ッファと、 上記イベントログファイルに保存する前に、データを一
時的に格納するイベントログバッファと、をさらに備
え、 上記模擬の毎時刻の状態変化は、上記チェックポイント
バッファに書き込まれると同時にイベントログバッファ
に書き込まれ、 次の時刻における同じ属性のデータの状態変化に関して
は、上記チェックポイントバッファでは上書きし、上記
イベントログバッファでは追加書き込みし、 以上の処理を繰り返して、 イベントログファイルに関する上記記録保存条件を満た
した時点で上記イベントログファイルに書き込みし、 チェックポイントファイルに関する上記記録保存条件を
満たした時点で上記チェックポイントファイルに書き出
す、ことを特徴とする請求項1または3に記載の分散シ
ミュレーションシステム。
4. A checkpoint buffer for temporarily storing data before storing in the checkpoint file, and an event log buffer for temporarily storing data before storing in the event log file. Further, the state change at each time of the simulation is written to the event log buffer at the same time as being written to the checkpoint buffer, and the state change of data having the same attribute at the next time is overwritten by the checkpoint buffer. In the event log buffer, additional writing is performed, and the above processing is repeated. When the above-described recording storage condition regarding the event log file is satisfied, the above-described event storage is performed. With above check The distributed simulation system according to claim 1, wherein the system is written to a point file.
【請求項5】 上記イベントログファイル内に、 各時刻毎に、変更があった状態を示す識別子と、上記模
擬の新しい状態を示す値とを格納することを特徴とする
請求項1ないし4のいずれかに記載の分散シミュレーシ
ョンシステム。
5. The event log file according to claim 1, wherein an identifier indicating a changed state and a value indicating a simulated new state are stored at each time. The distributed simulation system according to any one of the above.
【請求項6】 上記イベントログファイル内に、さら
に、 各時刻毎に、上記模擬の1つ前の時刻の過去の状態を示
す値を格納することを特徴とする請求項5記載の分散シ
ミュレーションシステム。
6. The distributed simulation system according to claim 5, wherein a value indicating a past state at a time immediately before the simulation is stored for each time in the event log file. .
【請求項7】 上記再生手段が、 上記統合管理手段上で指定される再生の開始時刻を受信
する受信部と、 上記開始時刻より以前の最も新しい時刻に保存された上
記チェックポイントファイルを検索する検索部と、 検索した上記チェックポイントファイルの保存時刻以降
の上記イベントログファイルの上記識別子及び上記新し
い状態を示す値を用いて、正方向に上記模擬の状態を再
現していくことにより上記開始時刻の状態を再現して、
再生開始状態を作成する再生開始状態作成部と、 上記統合管理手段から出力される時刻同期信号に同期さ
せて、上記イベントログファイルから毎時刻の上記模擬
の内容の変化を送信して、同じく上記統合管理手段から
の上記時刻同期信号に同期して動作する上記表示手段上
に表示することにより再生を行う再生部と、 を備えたことを特徴とする請求項5記載の分散シミュレ
ーションシステム。
7. The reproduction means, wherein the reproduction means receives a reproduction start time designated on the integrated management means, and retrieves the checkpoint file stored at the latest time before the start time. A search unit and the start time by reproducing the simulated state in the forward direction using the identifier of the event log file and the value indicating the new state after the storage time of the searched checkpoint file. Reproduce the state of
A playback start state creation unit for creating a playback start state; and synchronizing with a time synchronization signal output from the integrated management means, transmitting a change in the simulated content every time from the event log file, and 6. The distributed simulation system according to claim 5, further comprising: a reproducing unit that performs reproduction by displaying on the display unit that operates in synchronization with the time synchronization signal from the integrated management unit.
【請求項8】 上記再生手段が、 上記統合管理手段上で指定される再生の開始時刻を受信
する受信部と、 上記開始時刻より以降の最も新しい時刻に保存された上
記チェックポイントファイルを検索する検索部と、 検索した上記チェックポイントファイルの保存時刻以前
の上記イベントログファイルの上記識別子、上記新しい
状態を示す値及び上記過去の状態を示す値を用いて、逆
方向に上記模擬の状態を再現していくことにより上記開
始時刻の状態を再現して、再生開始状態を作成する再生
開始状態作成部と、 上記統合管理手段から出力される時刻同期信号に同期さ
せて、上記イベントログファイルの上記識別子及び上記
新しい状態を示す値から毎時刻の上記模擬の内容の変化
を送信して、同じく上記統合管理手段からの上記時刻同
期信号に同期して動作する上記表示手段上に表示するこ
とにより再生を行う再生部と、 を備えたことを特徴とする請求項6記載の分散シミュレ
ーションシステム。
8. The reproduction means, wherein the reproduction means receives a reproduction start time specified on the integrated management means, and retrieves the checkpoint file stored at the latest time after the start time. Using the search unit and the identifier of the event log file before the storage time of the searched checkpoint file, the value indicating the new state, and the value indicating the past state, reproduce the simulated state in the reverse direction The reproduction start state is reproduced by reproducing the state of the start time, and a reproduction start state generation unit for generating a reproduction start state is synchronized with a time synchronization signal output from the integrated management means. A change in the content of the simulation at each time is transmitted from the identifier and the value indicating the new state, and the time synchronization signal is also transmitted from the integrated management means. Distributed Simulation system according to claim 6, characterized in that it and a reproducing unit for reproducing by displaying on said display means operating synchronously.
【請求項9】 上記チェックポイントファイル手段と上
記イベントログファイル手段とを同数のそれぞれ複数個
ずつ設けて、 上記記録保存条件設定手段により各々に対して別の記録
条件を与えて上記模擬の内容の保存を行うことを特徴と
する請求項1ないし8のいずれかに記載の分散シミュレ
ーションシステム。
9. The same number of the checkpoint file means and the plurality of the event log file means are provided, and a different recording condition is given to each of them by the recording / save condition setting means. 9. The distributed simulation system according to claim 1, wherein the distributed simulation is performed.
【請求項10】 複数個ずつ設けられた上記チェックポ
イントファイル手段及び上記イベントログファイル手段
の各対に対して1つずつ再生手段を設けて、各上記再生
手段を同期させて、別の記録条件で保存された上記チェ
ックポイントファイル及び上記イベントログファイルを
再生することにより、同一の仮想環境を再生することを
特徴とする請求項9記載の分散シミュレーションシステ
ム。
10. A reproducing unit is provided for each pair of the checkpoint file unit and the event log file unit provided in plurals, and the reproducing units are synchronized to set different recording conditions. 10. The distributed simulation system according to claim 9, wherein the same virtual environment is reproduced by reproducing the checkpoint file and the event log file saved in step (a).
【請求項11】 複数個ずつ設けられた上記チェックポ
イントファイル手段及び上記イベントログファイル手段
の各々に対して、上記記録保存条件設定手段により保存
条件として異なる保存周期を指定することにより、それ
ぞれ保存タイミングの異なる記録データが保存されるこ
とを特徴とする請求項9または10に記載の分散シミュ
レーションシステム。
11. A storage timing for each of a plurality of checkpoint file means and a plurality of event log file means provided by the recording / storage condition setting means as different storage conditions. The distributed simulation system according to claim 9, wherein different pieces of recorded data are stored.
【請求項12】 仮想環境を模擬する模擬工程と、 上記模擬工程により模擬された結果をリアルタイムで1
台以上の表示装置に表示する表示工程と、 上記模擬の内容を記録保存するための条件を設定する記
録保存条件設定工程と、 上記条件に基づいて上記模擬の内容全てをチェックポイ
ントファイルに保存するチェックポイントファイル工程
と、 上記チェックポイントファイルに保存を行った時刻から
次の保存を行う時刻までの間の上記模擬の内容の変化の
差分だけをイベントログファイルに保存するイベントロ
グファイル工程と、 保存された上記チェックポイントファイル及び上記イベ
ントログファイルを用いて、任意の時刻における上記模
擬の内容を再生して上記表示装置に表示する再生工程
と、 時刻同期信号を出力してシステム全体の統合管理を行う
ための統合管理工程と、 を備えたことを特徴とする分散シミュレーション方法。
12. A simulation step for simulating a virtual environment, and a result simulated by the simulation step is stored in real time as one
A display step of displaying on more than one display device; a record storage condition setting step of setting conditions for recording and storing the contents of the simulation; and storing all the contents of the simulation in a checkpoint file based on the conditions. A checkpoint file process, and an event log file process of storing only a difference in the change of the content of the simulation from the time at which the checkpoint file was saved to the time of the next save to an event log file; A reproducing step of reproducing the simulated content at an arbitrary time and displaying the simulated content at an arbitrary time on the display device by using the checkpoint file and the event log file, and outputting a time synchronization signal to perform integrated management of the entire system. A distributed simulation method, comprising: an integrated management step for performing.
【請求項13】 上記統合管理工程において、上記再生
工程と上記表示工程とに対して、再生の開始時刻と保存
された上記チェックポイントファイル及び上記イベント
ログファイルを指定し、上記再生工程において出力した
データを論理時刻を同期させて上記表示装置上へ表示す
るための制御機構を備えていることを特徴とする請求項
12記載の分散シミュレーション方法。
13. In the integrated management step, a reproduction start time, the stored checkpoint file and the event log file are designated for the reproduction step and the display step, and output in the reproduction step. 13. The distributed simulation method according to claim 12, further comprising a control mechanism for displaying data on the display device in synchronization with a logical time.
【請求項14】 上記記録保存条件設定工程が、 上記模擬の内容のうち、いずれを上記チェックポイント
ファイル及び上記イベントログファイルにそれぞれ記録
するか否かを決める記録条件を設定する記録条件設定ス
テップと、 上記チェックポイントファイル及び上記イベントログフ
ァイルに書き出すタイミングをそれぞれ決める保存条件
を設定する保存条件設定ステップと、 を備えたことを特徴とする請求項12または13に記載
の分散シミュレーション方法。
14. A recording condition setting step for setting a recording condition for determining which of the contents of the simulation is to be recorded in the checkpoint file and the event log file, respectively. 14. The distributed simulation method according to claim 12, further comprising: a storage condition setting step of setting storage conditions for determining timings of writing the check point file and the event log file.
【請求項15】 上記チェックポイントファイルに保存
する前に、データを一時的に格納するチェックポイント
バッファ工程と、 上記イベントログファイルに保存する前に、データを一
時的に格納するイベントログバッファ工程と、をさらに
備え、 上記模擬の毎時刻の状態変化は、上記チェックポイント
バッファに書き込まれると同時にイベントログバッファ
に書き込まれ、 次の時刻における同じ属性のデータの状態変化に関して
は、上記チェックポイントバッファでは上書きし、上記
イベントログバッファでは追加書き込みし、 以上の処理を繰り返して、 イベントログファイルに関する上記記録保存条件を満た
した時点で上記イベントログファイルに書き込みし、 チェックポイントファイルに関する上記記録保存条件を
満たした時点で上記チェックポイントファイルに書き出
す、ことを特徴とする請求項12または14に記載の分
散シミュレーション方法。
15. A checkpoint buffer step for temporarily storing data before storing the data in the checkpoint file; and an event log buffer step for storing data temporarily before storing the data in the event log file. The state change at each time of the simulation is simultaneously written to the event log buffer at the same time as being written to the checkpoint buffer. Regarding the state change of data having the same attribute at the next time, the checkpoint buffer Overwrite and additionally write in the event log buffer, repeat the above process, write to the event log file when the above record storage condition for the event log file is satisfied, and satisfy the above record storage condition for the checkpoint file At the time 15. The distributed simulation method according to claim 12, wherein the data is written to a checkpoint file.
【請求項16】 上記イベントログファイル工程におい
て、 上記イベントログファイル内に、各時刻毎に、変更があ
った状態を示す識別子と、上記模擬の新しい状態を示す
値とを格納することを特徴とする請求項12ないし15
のいずれかに記載の分散シミュレーション方法。
16. In the event log file step, an identifier indicating a changed state and a value indicating a simulated new state are stored in the event log file at each time. Claims 12 to 15
3. The dispersion simulation method according to claim 1.
【請求項17】 上記イベントログファイル工程におい
て、 上記イベントログファイル内に、さらに、 各時刻毎に、上記模擬の1つ前の時刻の過去の状態を示
す値を格納することを特徴とする請求項16記載の分散
シミュレーション方法。
17. In the event log file step, a value indicating a past state of a time immediately before the simulation is stored for each time in the event log file. Item 18. The dispersion simulation method according to Item 16.
【請求項18】 上記再生工程が、 指定された再生の開始時刻を受信する受信ステップと、 上記開始時刻より以前の最も新しい時刻に保存された上
記チェックポイントファイルを検索する検索ステップ
と、 検索した上記チェックポイントファイルの保存時刻以降
の上記イベントログファイルの上記識別子及び上記新し
い状態を示す値を用いて、正方向に上記模擬の状態を再
現していくことにより上記開始時刻の状態を再現して、
再生開始状態を作成する再生開始状態作成ステップと、 上記統合管理工程において出力される時刻同期信号に同
期させて、上記イベントログファイルから毎時刻の上記
模擬の内容の変化を送信して、同じく上記時刻同期信号
に同期して動作する上記表示装置上に表示することによ
り再生を行う再生ステップと、 を備えたことを特徴とする請求項16記載の分散シミュ
レーション方法。
18. The reproducing step, comprising: a receiving step of receiving a designated reproduction start time; a retrieval step of retrieving the checkpoint file stored at the newest time before the start time; Using the identifier of the event log file and the value indicating the new state after the save time of the checkpoint file, the state of the start time is reproduced by reproducing the simulated state in the forward direction. ,
A reproduction start state creation step of creating a reproduction start state, and synchronizing with a time synchronization signal output in the integrated management step, transmitting a change in the content of the simulation at each time from the event log file, and 17. The dispersion simulation method according to claim 16, further comprising: a reproduction step of performing reproduction by displaying on the display device operating in synchronization with a time synchronization signal.
【請求項19】 上記再生工程が、 指定された再生の開始時刻を受信する受信ステップと、 上記開始時刻より以降の最も新しい時刻に保存された上
記チェックポイントファイルを検索する検索ステップ
と、 検索した上記チェックポイントファイルの保存時刻以前
の上記イベントログファイルの上記識別子、上記新しい
状態を示す値及び上記過去の状態を示す値を用いて、逆
方向に上記模擬の状態を再現していくことにより上記開
始時刻の状態を再現して、再生開始状態を作成する再生
開始状態作成ステップと、 上記統合管理工程において出力される時刻同期信号に同
期させて、上記イベントログファイルの上記識別子及び
上記新しい状態を示す値から毎時刻の上記模擬の内容の
変化を送信して、同じく上記時刻同期信号に同期して動
作する上記表示装置上に表示することにより再生を行う
再生ステップと、 を備えたことを特徴とする請求項17記載の分散シミュ
レーション方法。
19. The reproducing step, comprising: a receiving step of receiving a designated reproduction start time; a retrieval step of retrieving the checkpoint file stored at the latest time after the start time; By using the identifier of the event log file before the storage time of the checkpoint file, the value indicating the new state, and the value indicating the past state, the simulation state is reproduced in the reverse direction, thereby A reproduction start state creation step of reproducing a state of a start time to create a reproduction start state; and synchronizing with the time synchronization signal output in the integrated management step, the identifier of the event log file and the new state are A change in the content of the simulation at each time is transmitted from the indicated value, and the same operation is performed in synchronization with the time synchronization signal. Distributed Simulation method according to claim 17, characterized in that and a reproduction step of reproducing by displaying on a serial display device.
【請求項20】 上記チェックポイントファイル及び上
記イベントログファイルが同数のそれぞれ複数個ずつ設
けられて、 上記記録保存条件設定工程により各々に対して別の記録
条件を与えて上記模擬の内容の保存を行うことを特徴と
する請求項12ないし19のいずれかに記載の分散シミ
ュレーション方法。
20. The same number of checkpoint files and the same number of event log files are provided, respectively, and the simulated contents are stored by giving different recording conditions to each of them in the recording storage condition setting step. 20. The distributed simulation method according to claim 12, wherein the distributed simulation is performed.
【請求項21】 複数個ずつ設けられた上記チェックポ
イントファイル及び上記イベントログファイルの各対に
対して1つずつ再生装置を設けて、各上記再生装置を同
期させて、別の記録条件で保存された上記チェックポイ
ントファイル及び上記イベントログファイルを再生する
ことにより、同一の仮想環境を再生することを特徴とす
る請求項20記載の分散シミュレーション方法。
21. A reproduction device is provided for each pair of the checkpoint file and the event log file provided in plurals, and the reproduction devices are synchronized and stored under different recording conditions. 21. The distributed simulation method according to claim 20, wherein the same virtual environment is reproduced by reproducing the created checkpoint file and the event log file.
【請求項22】 複数個ずつ設けられた上記チェックポ
イントファイル及び上記イベントログファイルの各々に
対して、上記記録保存条件設定工程により保存条件とし
て異なる保存周期を指定することにより、それぞれ保存
タイミングの異なる記録データが保存されることを特徴
とする請求項20または21に記載の分散シミュレーシ
ョン方法。
22. Specifying different storage cycles as storage conditions in the recording and storage condition setting step for each of the plurality of checkpoint files and the event log files provided, so that the storage timings are different. 22. The distributed simulation method according to claim 20, wherein recorded data is stored.
JP32146199A 1999-11-11 1999-11-11 System and method for distributed simulation Pending JP2001142385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32146199A JP2001142385A (en) 1999-11-11 1999-11-11 System and method for distributed simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32146199A JP2001142385A (en) 1999-11-11 1999-11-11 System and method for distributed simulation

Publications (1)

Publication Number Publication Date
JP2001142385A true JP2001142385A (en) 2001-05-25

Family

ID=18132836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32146199A Pending JP2001142385A (en) 1999-11-11 1999-11-11 System and method for distributed simulation

Country Status (1)

Country Link
JP (1) JP2001142385A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260795B2 (en) * 2004-12-20 2007-08-21 Synopsys, Inc. Method and apparatus for integrating a simulation log into a verification environment
CN103531051A (en) * 2013-10-21 2014-01-22 武汉湾流新技术有限公司 Method and simulator for virtual reality training of crane operation
KR20160081480A (en) * 2014-12-31 2016-07-08 주식회사 포스코아이씨티 Virtual Factory Simulation System and Virtual Factory Simulation Method for Providing Integrated Simulation Environment
JP7361103B2 (en) 2018-09-19 2023-10-13 インターナショナル・ビジネス・マシーンズ・コーポレーション A decentralized platform for computation and trusted verification

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260795B2 (en) * 2004-12-20 2007-08-21 Synopsys, Inc. Method and apparatus for integrating a simulation log into a verification environment
CN103531051A (en) * 2013-10-21 2014-01-22 武汉湾流新技术有限公司 Method and simulator for virtual reality training of crane operation
KR20160081480A (en) * 2014-12-31 2016-07-08 주식회사 포스코아이씨티 Virtual Factory Simulation System and Virtual Factory Simulation Method for Providing Integrated Simulation Environment
KR101646421B1 (en) * 2014-12-31 2016-08-12 주식회사 포스코아이씨티 Virtual Factory Simulation System and Virtual Factory Simulation Method for Providing Integrated Simulation Environment
JP7361103B2 (en) 2018-09-19 2023-10-13 インターナショナル・ビジネス・マシーンズ・コーポレーション A decentralized platform for computation and trusted verification

Similar Documents

Publication Publication Date Title
US6097885A (en) Digital system simulation
US7020722B2 (en) Synchronization of distributed simulation nodes by keeping timestep schedulers in lockstep
US20040030747A1 (en) Method and apparatus for generating an operation or processing load
JP3290548B2 (en) Logic simulator using hierarchical checkpoints
JPS62502151A (en) Array for simulating computer functions of large computer systems
WO2007093985A2 (en) Real time simulating method and system
JP6615551B2 (en) Simulation apparatus and module thereof, simulation method and program
JP4290266B2 (en) Parallel and distributed simulation system and parallel and distributed simulation method
JP2001142385A (en) System and method for distributed simulation
JPH0973425A (en) Client simulator
JP2001282327A (en) Simulation system and simulator and management server and recording medium
KR102395540B1 (en) Device and method for storing and playing simulation files
JPH0789267B2 (en) Data editing / presentation method and device
US5784591A (en) Parallel simulator for semiconductor integrated circuit
CA3007173C (en) Simulation of an asset including message playback using nested hash tables
JPH05101015A (en) Device and method for simulation
JP2001282328A (en) Simulation system and simulator and managing device and recording medium
JPH1023107A (en) Communication simulator and communication simulating method
JP2000235564A (en) Remote cooperative training method and recording medium recording remote cooperative training program for lecturer's terminal and trainee's terminal
JP2001060241A (en) Scheduling of non-integer simulation time for simulation of mixture signal
JP3621833B2 (en) Video display device and driving training simulator video device
Cooper TSPN [sub UI]: a petri net model for specifying user interactions in multimedia presentations
JPH03250225A (en) Logical simulation environment setting system
CN112637659A (en) Media audio playing method, device and system
JP2021182207A (en) Simulation system, simulation method and simulation program for control program for programmable controller (plc)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090507

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090908