JP6337760B2 - Time progress control device, simulator, and distributed simulation system - Google Patents
Time progress control device, simulator, and distributed simulation system Download PDFInfo
- Publication number
- JP6337760B2 JP6337760B2 JP2014248724A JP2014248724A JP6337760B2 JP 6337760 B2 JP6337760 B2 JP 6337760B2 JP 2014248724 A JP2014248724 A JP 2014248724A JP 2014248724 A JP2014248724 A JP 2014248724A JP 6337760 B2 JP6337760 B2 JP 6337760B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- message
- simulator
- communication start
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004088 simulation Methods 0.000 title claims description 83
- 238000000034 method Methods 0.000 claims description 206
- 238000004891 communication Methods 0.000 claims description 162
- 238000012545 processing Methods 0.000 claims description 38
- 238000001514 detection method Methods 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000007726 management method Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 9
- 230000003993 interaction Effects 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 101100280944 Pisum sativum PETF gene Proteins 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000013065 commercial product Substances 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000007123 defense Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
この発明は、分散シミュレーションシステムにおける時刻進行制御装置及びシミュレータ、及び分散シミュレーションシステムに関する。 The present invention relates to a time progress control device and simulator in a distributed simulation system, and a distributed simulation system.
ネットワークによって多数のサブシステムが連接された大規模システムをSoS(System of Systems)システムと呼ぶ。SoSシステムの機能・性能の評価は、対象が大規模かつ複雑なため、ネットワークシミュレータおよびサブシステムシミュレータといった異種・複数のシミュレータを連接した分散シミュレーションシステムとして構築されたSoSシミュレータが用いられることが多い。代表的なSoSシステムには、衛星、レーダサイト、航空機、艦艇、車両、地上設備等がデータリンク等のネットワークで連携する防衛システムが挙げられ、そのSoSシミュレータとしては、非特許文献1に挙げる分散シミュレーションシステムの標準アーキテクチャであるHLA(High Level Architecture)に基づき、レーダシミュレータ、プラットフォームシミュレータ、ネットワークシミュレータ等が連携する防衛システムシミュレータが挙げられる。
A large-scale system in which a large number of subsystems are connected by a network is called a SoS (System of Systems) system. The evaluation of the function and performance of the SoS system is often carried out using a SoS simulator constructed as a distributed simulation system in which different types of simulators such as a network simulator and a subsystem simulator are connected, because the target is large and complex. A typical SoS system includes a defense system in which satellites, radar sites, aircraft, ships, vehicles, ground equipment, and the like cooperate with each other via a network such as a data link. The SoS simulator includes a distributed system described in Non-Patent
SoSシミュレータにおいて、模擬の対象となるSoSシステムの機能・性能を高精度に評価する上で重要な課題は、SoSシミュレータを構成する各シミュレータの時刻同期である。各シミュレータは互いに独立して動作するため、個々のシミュレータが模擬する内容およびシミュレータの入出力データの時刻が同期しないと、正しいシミュレーション結果を得ることができない。このような分散シミュレーションでは、シミュレータ間の同期に実時間の時刻値を用いると、シミュレータを実行している複数計算機の時計誤差や負荷状況の差異等の影響により正しい同期がとれないため、一般的にはシミュレーションの進捗度を変数として表現した論理時刻が用いられる。HLAでは、シミュレータ間の論理時刻を同期する機能としてTime Management Serviceが規定されている。ここでは、背景技術としてHLAによる時刻同期機能について説明する。 In the SoS simulator, an important issue in evaluating the function / performance of the SoS system to be simulated with high accuracy is the time synchronization of each simulator constituting the SoS simulator. Since the simulators operate independently of each other, correct simulation results cannot be obtained unless the contents simulated by the individual simulators and the input / output data times of the simulators are synchronized. In such distributed simulations, if real-time time values are used for synchronization between simulators, correct synchronization cannot be achieved due to the effects of clock errors and load status differences among multiple computers running the simulator. The logical time expressing the progress of simulation as a variable is used for. In HLA, Time Management Service is defined as a function for synchronizing logical time between simulators. Here, the time synchronization function based on HLA will be described as background art.
まず、HLAによる分散シミュレーションシステムアーキテクチャを図9に示す。HLAでは、シミュレーションシステム全体をフェデレーション(901)と呼び、分散実行される模擬処理などのプログラムをフェデレート(902)と呼ぶ。そして、シミュレーションの実行中に行われる、フェデレーション全体の実行制御や、フェデレートが他フェデレートに送信するメッセージ通信制御などの共通機能を、Run-Time Infrastructure(RTI)(903)という分散シミュレーション基盤が提供する。 First, the distributed simulation system architecture by HLA is shown in FIG. In HLA, the entire simulation system is called federation (901), and a program such as simulation processing that is executed in a distributed manner is called federation (902). A distributed simulation infrastructure called Run-Time Infrastructure (RTI) (903) provides common functions such as execution control of the entire federation and message communication control that the federation sends to other federations, which are performed during the execution of the simulation. .
HLAのTime Management Serviceは、RTIがフェデレートに対して提供する機能として規定されており、フェデレートの現在時刻を、他フェデレートから送られる時刻付きのTime Stamp Ordered(TSO)メッセージを受信する可能性に基づき制御する機能である。Time Management Serviceでは主に次の2つの機能が規定されている。
(1)フェデレートがRTIに対して要求する時刻進行要求およびRTIがフェデレートに許可する進行時刻許可の制御
(2)フェデレートがRTIに対して時刻進行要求を要求してから進行時刻許可を許可されるまでの間にRTIからそのフェデレートに配送される、他フェデレートからのTSOメッセージの配送制御
HLA's Time Management Service is specified as a function that RTI provides for federation, and the current time of federation is based on the possibility of receiving Time Stamp Ordered (TSO) messages with time sent from other federations. It is a function to control. The Time Management Service mainly defines the following two functions.
(1) Control of time advance request requested by federation to RTI and progress time permission control permitted by RTI to federate (2) Progress time permission is permitted after federation requests time advance request from RTI Control of TSO messages from other federations that are delivered from RTI to that federation
HLAでは、この(1)(2)の機能について、Time Step法、Event Base法、Optimistic法の3種類の時刻進行方法を、フェデレートが選択可能としている。なお、1つのフェデレーションの中で、異なる時刻進行方法を用いたフェデレートが混在していても良い。この3種類の時刻進行方法について図10、図11、図12の例を用いて説明する。なお、HLAにおける時刻進行方法では、図10、図11、図12で示されるパラメータの他にLookahead(フェデレートが現在時刻からTSOメッセージを送信しないことを保証する時間:例えば現在時刻が10かつLookaheadが5の場合、15未満の時刻のTSOメッセージを送信しないことを保証する)というパラメータを使用するが、図10、図11、図12では簡単化のためにLookaheadが0の場合を例に説明する。 In the HLA, with respect to the functions (1) and (2), the federation can be selected from three types of time progression methods: Time Step method, Event Base method, and Optimistic method. Note that federations using different time progression methods may be mixed in one federation. These three types of time advancement methods will be described with reference to the examples of FIGS. In addition, in the time progression method in HLA, in addition to the parameters shown in FIG. 10, FIG. 11, and FIG. 12, Lookahead (time that ensures that the federation will not transmit a TSO message from the current time: for example, the current time is 10 and In the case of 5, a parameter that guarantees that a TSO message with a time less than 15 will not be transmitted is used. However, in FIG. 10, FIG. 11, and FIG. .
まず、図10を用いてTime Step法による時刻進行の例を説明する。Time Step法は、フェデレートの時刻進行を模擬周期(ΔT)によって進める方式である。図10のStep1において、フェデレート1およびフェデレート2の現在時刻はTiでありΔTは10である。フェデレート1は、RTIのインタフェースであるSend Interaction(SI)を用いて、Ti+5のTSOメッセージm1およびTi+15のTSOメッセージm2をフェデレート2に対して送信し、RTIのインタフェースであるTime Advance Request(TAR)を用いて、次周期時刻Ti+10へ時刻進行要求を行っている。このTARによる時刻進行要求により、フェデレート1はTi+10以下のTSOメッセージを送信しないことを保証する。次に、Step2において、フェデレート2が、TARを用いて、次周期時刻Ti+10へ時刻進行要求を行うと、フェデレート2もTi+10以下のTSOメッセージを送信しないことを保証することになるため、RTIは各フェデレートの状態を確認し、TARで時刻進行要求を行った各フェデレートの要求時刻以下のTSOメッセージが、フェデレート1が送信したm1以外に発生する可能性が無くなったことを判定する。この判定結果により、Step3において、RTIのインタフェースであるTime Advance Grant(TAG)により、フェデレート1、フェデレート2に対して、要求時刻であるTi+10への時刻進行許可が通知される。なお、フェデレート2に対しては、TAGが通知される前に、フェデレート1から送信されていたTSOメッセージのうち、TAGによって進行が許可されたTi+10以下のTi+5時刻のTSOメッセージであるm1がRTIのインタフェースであるReceive Interaction(RI)により配送される。TSOメッセージm2は、進行が許可されたTi+10より将来の時刻Ti+15のTSOメッセージのため、フェデレート2の時刻がTi+15以上になるまで配送が保留される。これは、現時点でTi+10より将来のTSOメッセージが発生する可能性が未だ残っており、Ti+10より将来の時刻の他フェデレートからのTSOメッセージが不確定な状態で模擬処理を行うことにより発生する、フェデレート間の矛盾を防ぐためである。以上のように、Time Step法では、フェデレートは時刻進行要求を行った要求時刻で時刻進行許可を得ると共に、許可された時刻よりも将来の時刻のTSOメッセージ受信が保留されることで、フェデレート間の矛盾発生を防止する。
First, an example of time progression by the Time Step method will be described with reference to FIG. The Time Step method is a method in which the time progress of federation is advanced by a simulated period (ΔT). In
次に、図11を用いてEvent Base法の時刻進行の例を説明する。Event Base法は、フェデレートの時刻進行を、「他フェデレートの現在時刻/要求時刻」、「受信するTSOメッセージの最小時刻」、「要求時刻」の中の最も小さい時刻によって進める方式である。図11のStep1、Step2は、フェデレート1およびフェデレート2が時刻進行要求を行う際に、RTIのインタフェースであるNext Message Request(NMR)以外は、図10のStep1、Step2と同じである。NMRによる時刻進行要求により、フェデレート1、フェデレート2は、時刻進行要求中はTi+10以下のTSOメッセージを送信しないことを保証する。Step3においてRTIは各フェデレートの状態を確認し、フェデレート2はTSOメッセージm1の時刻であるTi+5以下の時刻のTSOメッセージを受信する可能性が無くなったことを判定し、フェデレート2の許可時刻を「受信するTSOメッセージの最小時刻」であるTi+5と判定する。また、フェデレート1は、フェデレート2の許可時刻がTi+5になったことにより、Ti+5以下の時刻のTSOメッセージを受信する可能性が無くなったことを判定し、許可時刻を「他フェデレートの現在時刻」であるTi+5と判定する。この判定結果により、TAGによりフェデレート1、フェデレート2に対して、Ti+5への時刻進行許可が通知される。なお、フェデレート2に対しては、TAGが通知される前に、フェデレート1から送信されていたTSOメッセージのうちm1がRIにより配送される。TSOメッセージm2は、進行が許可されたTi+5より将来の時刻Ti+15のTSOメッセージのため、フェデレート2の時刻がTi+15以上になるまで配送が保留される。以上のように、Event Base法では、フェデレートは「他フェデレートの現在時刻/要求時刻」、「受信するTSOメッセージの最小時刻」、「要求時刻」の中の最も小さい時刻で時刻進行許可を得ると共に、許可された時刻よりも将来の時刻のTSOメッセージ受信が保留されることで、フェデレート間の矛盾発生を防止する。
Next, an example of time progression in the Event Base method will be described with reference to FIG. The Event Base method is a method of advancing the time of federation by the smallest time among “current time / request time of other federate”, “minimum time of received TSO message”, and “request time”.
次に、図12を用いてEvent Base法の拡張であるOptimistic法の時刻進行の例を説明する。Optimistic法は、Event Base法と同様に、フェデレートの時刻進行を、「他フェデレートの現在時刻/要求時刻」、「受信するTSOメッセージの最小時刻」、「要求時刻」の中の最も小さい時刻によって進める方式であるが、Event Base法と異なり、許可された時刻よりも将来の時刻のTSOメッセージ受信も行われる方式である。図12のStep1、Step2は、フェデレート1およびフェデレート2が時刻進行要求を行う際に、RTIのインタフェースであるFlush Queue Request(FQR)を用いて時刻進行要求を行う以外は、図10および図11のStep1、Step2と同じである。FQRによる時刻進行要求により、フェデレート1、フェデレート2は時刻進行要求中はTi+10以下のTSOメッセージを送信しないことを保証する。Step3においてRTIは各フェデレートの状態を確認し、フェデレート2はm1のTi+5以下の時刻のTSOメッセージを受信する可能性が無くなったことを判定し、フェデレート2の許可時刻を「受信するTSOメッセージの最小時刻」であるTi+5と判定する。また、フェデレート1は、フェデレート2の許可時刻がTi+5になったことにより、Ti+5以下の時刻のTSOメッセージを受信する可能性が無くなったことを判定し、許可時刻を「他フェデレートの現在時刻」であるTi+5と判定する。この判定結果により、TAGによりフェデレート1、フェデレート2に対して、Ti+5への時刻進行許可が通知される。なお、フェデレート2に対しては、TAGが通知される前に、フェデレート1から送信されていたTSOメッセージ全てがRIにより配送される。TSOメッセージm2は、進行が許可されたTi+5より将来の時刻Ti+15のTSOメッセージであり、フェデレート2には他にもTi+5からTi+15までのTSOメッセージがこれから送信される可能性が残っているが、フェデレート2はTSOメッセージm2を入力情報としてTi+15の模擬を投機的に実行することが可能である。もし、TSOメッセージm2によるTi+15の模擬を投機的に実行した後で、他のTi+5からTi+15までのTSOメッセージを受信した場合には、投機的に実行した模擬処理と、その模擬処理によって他フェデレートに送信したTSOメッセージを取り消すことができる。以上のように、Optimistic法では、フェデレートは「他フェデレートの現在時刻/要求時刻」、「受信するTSOメッセージの最小時刻」、「要求時刻」の中の最も小さい時刻で時刻進行許可を得ると共に、許可された時刻よりも将来の時刻のTSOメッセージ受信により投機的な将来時刻の模擬を行うことが可能である。
Next, an example of time progression of the Optimistic method, which is an extension of the Event Base method, will be described with reference to FIG. Like the Event Base method, the Optimistic method advances the time progress of the federation by the smallest time among the “current time / request time of other federates”, “minimum time of received TSO message”, and “request time”. Unlike the Event Base method, the TSO message is received at a time later than the permitted time.
次に、SoSシミュレータにおけるTime Step法、Event Base法、Event Base法の拡張であるOptimistic法の課題について述べる。Time Step法は、ΔTに基づき模擬処理が固定的に実行されるため、シミュレーションにおいて発生する事象の時間的な精度(以降、時間精度と略す。)がΔTの大きさに依存する。例えばネットワーク通信遅延のような比較的短時間で発生する事象の影響を、ある精度内でシミュレーションするためには、その精度に合わせてΔTを小さくする必要があるが、そのシミュレータで実行する全ての模擬処理がΔTに併せて実行されるため、無駄な処理が多くなりシミュレーション速度が低下する。このため、一般的にTime Step法は、詳細な時間精度が必要なシミュレータでは利用されない。 Next, the problems of the Optimistic method, which is an extension of the Time Step method, Event Base method, and Event Base method in the SoS simulator, will be described. In the Time Step method, simulation processing is fixedly executed based on ΔT, and therefore the temporal accuracy of events occurring in the simulation (hereinafter abbreviated as time accuracy) depends on the magnitude of ΔT. For example, in order to simulate the effects of events that occur in a relatively short time, such as network communication delays, within a certain accuracy, it is necessary to reduce ΔT according to the accuracy. Since the simulation process is executed along with ΔT, useless processes increase and the simulation speed decreases. For this reason, the Time Step method is generally not used in simulators that require detailed time accuracy.
一方、Event Base法、Optimistic法は、シミュレータが受信するTSOメッセージの最小時刻によって模擬処理の時刻が決定されるため、そのシミュレータの時間精度がΔTで丸められることが無く、高い時間精度で模擬することが可能である。しかし、異なる時刻のTSOメッセージの受信頻度が高いと時刻の進捗が滞るためシミュレーション速度が低下する。このため、一般的にEvent Base法、Optimistic法は、ネットワークシミュレータのような高い時間精度が求められる単機能のシミュレータで利用されるが、複雑な事象を模擬するようなシミュレータではシミュレーション速度が低下するため利用されない。 On the other hand, in the Event Base method and the Optimistic method, since the simulation processing time is determined by the minimum time of the TSO message received by the simulator, the simulator time accuracy is not rounded by ΔT and is simulated with high time accuracy. It is possible. However, if the frequency of receiving TSO messages at different times is high, the progress of the time is delayed and the simulation speed is reduced. For this reason, Event Base and Optimistic methods are generally used in single-function simulators that require high time accuracy, such as network simulators, but simulation speeds are reduced in simulators that simulate complex events. Because it is not used.
そこで、シミュレーション速度を向上するため、シミュレータが模擬する内容に合わせてTime Step法、Event Base法、Optimistic法を使い分ける方法が検討されている。特許文献1では、シミュレータが模擬する登場人物(オブジェクト)がTime Step型Event Base型によって時刻進行方法を切り替えるシミュレーション実行方法が記載されている。図13は、特許文献1に記載の方法によって構成された分散シミュレーションシステムの例である。図13では、FED1〜FED4の4つのフェデレートがRTIによって制御されており、FED1、FED2、FED3はTime Step型オブジェクトを模擬し、FED3がTime Step型の他に、FED4が模擬する指揮所オブジェクトからの通信の受信によってEvent Base型の模擬を行うことを示している(但し、ここではEvent Base型のオブジェクトに対して、FQRによるOptimistic法の時刻進行を用いている)。すなわち、FED3はEvent Base型のオブジェクトに対して、Time Step法によるΔTよりも詳細な時間精度の模擬を行うために、TARによるTime Step法の時刻進行と、FQRによるOptimistic法の時刻進行を使い分ける。図14は特許文献1のTARとFQRの使い分けについてのフェデレート及びRTIでの処理フローを示している。図14のステップ721において、フェデレート3は、自分が模擬するオブジェクトにEvent Base型のオブジェクトが存在するかを判定し真の場合、ステップ722においてフェデレート3はFQRで時刻進行要求を行う。FQRによる時刻進行の後、ステップ723でフェデレート3が時刻進行許可を得た際には、許可時刻より将来のTSOメッセージを受信することが可能なため、ステップ724にてフェデレート3はその全ての受信TSOメッセージを管理し、ステップ725で対象とする全オブジェクトからTSOメッセージを受信したことを確認できた場合、ステップ726でその受信TSOメッセージの最も小さい時刻を次の要求時刻としてTime Step法で時刻進行を行うTime Step型オブジェクトに変更する。この処理はループ処理であり、次の実行ではこのオブジェクトはTime Step型に変更されるため、ステップ728においてTARで時刻進行要求が行われる。その後、ステップ730において状態に応じてオブジェクトをEvent Base型に変更する。このように、フェデレートにEvent Base法により時刻進行を行うオブジェクトが含まれる場合、Optimistic法によって将来時刻のTSOメッセージを受信した場合で、かつ、そのオブジェクトに対するTSOメッセージを対象とする全オブジェクトから受信したことが判明した時にTime Step型によって時刻進行することで、シミュレーション速度を向上することができる。
Therefore, in order to improve the simulation speed, methods that use the Time Step method, the Event Base method, and the Optimistic method according to the content simulated by the simulator are being studied.
背景技術で説明したように従来の分散シミュレーション装置では、フェデレーションにEvent Base型オブジェクトに対してOptimistic法またはTime Step法で時刻進行を行うフェデレートが1つだけ存在する場合は、フェデレートの時刻進行法をEvent Base法からTime Step法に変更することでシミュレーション速度を上げることができる。 As described in the background art, in the conventional distributed simulation apparatus, when there is only one federation that performs time progression by the Optimistic method or Time Step method for the Event Base type object, the federation time progression method is used. The simulation speed can be increased by changing from the Event Base method to the Time Step method.
しかし、フェデレーションにEvent Base法の拡張であるOptimistic法またはTime Step法の切り替え型で時刻進行を行うフェデレートが複数存在する場合、Optimistic法またはTime Step法で時刻進行を行う1つのフェデレートの許可時刻は、Optimistic法またはTime Step法で時刻進行を行う他のフェデレートの現在時刻/要求時刻に応じた時刻に制約される。Optimistic法によるフェデレートの許可時刻は、そのフェデレートに対して許可時刻以下のTSOメッセージを受信する可能性が無いことを保証する時刻であるが、それよりも将来時刻のTSOメッセージが発生するかしないかは確定されない。そのため、図14のステップ725で対象とする全オブジェクトからTSOメッセージを受信したことを確認できる状態とならず、ステップ726のタイムステップ型オブジェクトへの変更が行われない。その結果、ステップ728以降のTime Step法の処理を実施する状態が発生せず、Time Step法への変更によりシミュレーション速度を向上できる状態を実現できない。このように、従来の分散シミュレーション装置では、フェデレーションにTime Step法とEvent Base法の時間進行を切り替えるフェデレートが複数存在する環境において、各フェデレートの時間進行をEvent Base法からTime Step法へ円滑に切り替えることができず、シミュレーション速度を向上できない課題がある。
However, if there are multiple federations that perform time progression by switching between Optimistic method or Time Step method, which is an extension of Event Base method, the permitted time of one federation that performs time progression by Optimistic method or Time Step method is The time is limited to the time according to the current time / requested time of other federations that perform time progression by the Optimistic method or the Time Step method. The federation permitted time by the Optimistic method is a time that guarantees that there is no possibility of receiving a TSO message below the permitted time for that federation, but whether or not a TSO message at a future time is generated. Is not finalized. Therefore, it is not possible to confirm that TSO messages have been received from all target objects in
本発明はフェデレーションにフェデレートが複数存在する環境において、複数のフェデレートがTime Step法とEvent Base法との時間進行を円滑に切り替えることができる分散シミュレーションシステムにおける時刻進行制御装置及びシミュレータ、及び分散シミュレーションシステムを得ることを目的とする。 The present invention relates to a time progress control device and simulator in a distributed simulation system in which a plurality of federations can smoothly switch the time progress between the time step method and the event base method in an environment where there are a plurality of federations in the federation, and the distributed simulation system The purpose is to obtain.
この発明に係る時刻進行制御装置は、複数のシミュレータが論理時刻に基づき連携する分散シミュレーションシステムにおける一のシミュレータに含まれる時刻進行制御装置であって、自シミュレータ及び他のシミュレータの通信開始メッセージを検出する通信開始検出部と、前記通信開始検出部で検出された通信開始メッセージを登録するメッセージリストと、前記メッセージリストに前記通信開始メッセージが登録されている場合に、Event Base法を時刻進行方法として選択し、前記メッセージリストに前記通信開始メッセージが登録されていない場合に、Time Step法を時刻進行方法として選択する進行方法選択部と、前記通信開始メッセージの応答である通信結果メッセージを受信した場合に、当該通信結果メッセージに対応した通信開始メッセージを前記メッセージリストから削除する進行制御部と、を備えたことを特徴とする。
The time progression control device according to the present invention is a time progression control device included in one simulator in a distributed simulation system in which a plurality of simulators cooperate based on logical time, and detects a communication start message of the own simulator and another simulator A communication start detection unit, a message list for registering a communication start message detected by the communication start detection unit, and when the communication start message is registered in the message list , the Event Base method is used as a time progression method. When the communication start message is not registered in the message list, a progress method selection unit that selects a time step method as a time progress method, and a communication result message that is a response to the communication start message is received Communication start message corresponding to the communication result message. And a progress control unit for deleting messages from the message list .
この発明の時刻進行制御装置によれば、Time Step法とEvent Base法との間で時間進行を切り替えるフェデレートが複数存在する場合でも自シミュレータの時刻進行方法をTime Step法とEvent Base法との間で円滑に切り替えることができる。 According to the time progress control device of the present invention, even when there are a plurality of federates for switching the time progress between the Time Step method and the Event Base method, the time progress method of the own simulator is set between the Time Step method and the Event Base method. Can be switched smoothly.
以下、この発明の実施の形態について、図面を参照しながら詳細に説明する。
実施の形態1.
図1に、この発明の実施の形態1に係る分散シミュレーションシステムであるSoSシミュレータ101の構成を示す。ここで、分散シミュレーションシステムは複数のシミュレータが論理時刻に基づき連携する分散シミュレーションシステムである。また、SoSシミュレータ101は、それぞれ1つ以上のネットワークシミュレータとサブシステムシミュレータをフェデレートとして、全体をHLAに基づくフェデレーションとして構成する。ここで、ネットワークシミュレータは、時間精度を考慮してEvent Base法により時刻進行を行い、サブシステムシミュレータは、ネットワークシミュレータによって模擬された通信遅延時間等の比較的短時間の事象を入力とする場合にのみEvent Base法により時刻進行を行い、それ以外の場合はTime Step法によって時刻進行を行う。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 shows the configuration of an
図2に、説明の簡単化のために時刻進行要求および時刻進行許可の状況を省いた、ネットワークシミュレータとサブシステムシミュレータ間のメッセージ通信の例を示す。図2のStep1において、まずサブシステムシミュレータの時刻Tiにおいてネットワーク通信のきっかけが模擬され、その模擬の結果がネットワークシミュレータに対するTSOメッセージでありメッセージの通信開始を示す通信開始メッセージとして送信される。TSOメッセージの時刻は、フェデレートの時刻進行とTSOメッセージの配送順序の一貫性を保つために、現在時刻より将来の時刻を設定する必要がある。また、ネットワークシミュレータが通信開始メッセージを受信した後に通信遅延時間を計算するため、通信開始メッセージの時刻には、現在時刻にネットワークシミュレータが計算する通信遅延時間よりも小さい時間を加算した時刻を設定しなければならない。そこで、通信開始メッセージの時刻として、現在時刻にHLAで規定されているepsilon(論理時間の最小値であり0では無い値)を加算した時刻を使用する。図2の例では、正の整数値をとり、epsilonの値「1」を使用してTi+1時刻のメッセージとして通信開始メッセージを送信する。ネットワークシミュレータはEvent Base法により時刻進行を行うため、通信開始メッセージを受信したTi+1時刻が現在時刻となる。次にStep2において、Ti+1時刻におけるネットワークシミュレータの模擬が行われ、この例では通信成否判定の結果として通信成功で通信遅延時間Lが計算される。最後にStep3において、ネットワークシミュレータはTi+1時刻の模擬結果として、TSOメッセージである通信結果メッセージを、サブシステムシミュレータに対して送信する。この際、通信結果メッセージの時刻は、ネットワーク通信のきっかけが模擬されたTiに、通信遅延時間であるLを加算した受信時刻であるTi+Lが設定される。なお、通信成否判定の結果として通信失敗の場合は通信遅延時間の計算は必要ないため、通信結果の時刻としては例えばTi+2時刻のように即時的な時刻が設定される。図2は、サブシステムシミュレータとネットワークシミュレータが、それぞれ1つのケースを説明したが、複数の場合、通信開始メッセージと通信結果メッセージは、全てのシミュレータに対して送信されるものとする。
FIG. 2 shows an example of message communication between the network simulator and the subsystem simulator in which the time progress request and time progress permission states are omitted for the sake of simplicity. In
ここで、サブシステムシミュレータは、ネットワークシミュレータからの通信結果メッセージの時刻をEvent Base法で許可時刻として得られれば良い。サブシステムシミュレータは通常はTime Step法で時刻進行を行い、ネットワークシミュレータによる通信結果メッセージ発生のきっかけとなる通信開始メッセージを検出した場合のみ、Event Base法に時刻進行方法を切り替えるようにすれば、必要な場合のみEvent Base法に切り替えることで、全体のシミュレーション速度を改善することができる。また、ネットワークシミュレータによる通信結果メッセージ発生のきっかけとなる通信開始メッセージを検出した場合のみ、Event Base法に時刻進行方法を切り替えるようにすれば、Time Step法とEvent Base法の切り替えを円滑に行うことができる。なお、分散シミュレーションシステム内にTime Step法で動作するシミュレータが別に存在する場合にも、この実施の形態1に記載の発明は同様に適用可能である。 Here, the subsystem simulator only needs to obtain the time of the communication result message from the network simulator as the permitted time by the Event Base method. Necessary if the subsystem simulator normally advances the time using the Time Step method and switches the time progression method to the Event Base method only when it detects a communication start message that triggers the generation of a communication result message by the network simulator. Switching to the Event Base method only in such cases can improve the overall simulation speed. Also, if the time progress method is switched to the Event Base method only when a communication start message that triggers the generation of a communication result message by the network simulator is detected, the Time Step method and the Event Base method can be switched smoothly. Can do. Note that the invention described in the first embodiment can also be applied to a case where another simulator operating in the Time Step method exists in the distributed simulation system.
図3は、本発明による分散シミュレーション装置の概要を示したものである。図において、サブシステムシミュレータ300は、そのサブシステムシミュレータ300において模擬対象物体または事象を模擬する模擬処理部301と、状況に応じて時刻進行方法を切り替える時刻進行制御装置302と、RTIに対するインタフェース処理を行うRTIインタフェース処理部303で構成される。また、サブシステムシミュレータ300の時刻進行制御装置302は、通信開始メッセージを検出する通信開始検出部304と、通信開始検出部304が検出した通信開始メッセージを保存するメッセージリスト305と、メッセージリスト305の内容に応じて時刻進行方法を選択する進行方法選択部306と、時刻進行を制御する進行制御部307で構成される。
FIG. 3 shows an outline of a distributed simulation apparatus according to the present invention. In the figure, a
次に動作について説明する。図4、5、6はサブシステムシミュレータ300が状況に応じて時刻進行方法を切り替える動作を示した処理フローである。図4、5、6では、それぞれフローチャートの最初の部分、最初の部分に続く部分、その次に続く部分を記載している。まず、図4のステップ401にて、サブシステムシミュレータ300の模擬処理部301が現在時刻であるTiの模擬を行う。次に、ステップ402にて、通信開始検出部304において自シミュレータの模擬処理部301及び他シミュレータが送信した通信開始メッセージを検出し、メッセージリスト305へ登録する。他シミュレータが送信した通信開始メッセージの検出方法については、実施の形態2で説明する。次にステップ403にて、進行方法選択部306はメッセージリスト305に通信開始メッセージが登録されているか否かの判定を行う。
Next, the operation will be described. 4, 5, and 6 are process flows showing the operation of the
メッセージリスト305に通信開始メッセージが登録されていない(ステップ403の判定結果がNo)場合、ステップ404にて進行方法選択部306が自シミュレータの時刻進行方法としてTime Step法を選択する。また、ステップ405にてRTIインタフェース部303がTARによりTi+ΔTまで時刻進行要求を行い、ステップ406にてRTIインタフェース部303がTAGによりTi+ΔTへの時刻進行許可を受信する。その後、420にて模擬処理部301が次周期時刻のTi+ΔTの模擬を行う。このように、ステップ403の判定結果がNoの場合、Time Step法で時刻進行を行う。
When the communication start message is not registered in the message list 305 (the determination result of
メッセージリスト305に通信開始メッセージが登録されている(ステップ403の判定結果がYes)場合、ステップ407にて進行方法選択部306が自シミュレータの時刻進行方法としてEvent Base法を選択し、図5のステップ408にてRTIインタフェース部303がNMRによりTi+ΔTまで時刻進行要求を行い、ステップ409にてRTIインタフェース部303がTAGによりTjへの時刻進行許可を受信する。ここで、TjはEvent Base法による時刻進行許可時刻であるため、Tj≧TiかつTj ≦ Ti+ΔTである。
When the communication start message is registered in the message list 305 (Yes in Step 403), the progress
次に、図5のステップ410にて、RTIインタフェース部303がステップ409でTAGを受信する前に、RTIから通信結果メッセージが配送されたかどうかの判定が進行制御部307で行われる。ステップ410の判定結果がNoの場合、ステップ411にてRTIインタフェース部303におけるTj = Ti+ΔTが真か否かの判定が進行制御部307で行われる。ステップ411の判定結果がYesの場合、ネットワークシミュレータからの通信結果メッセージは、自シミュレータの次周期時刻であるTi+ΔTよりも将来の時刻に送信されると判断されるため、ステップ420にて進行制御部307が模擬処理部301に指示し、模擬処理部301が次周期時刻のTi+ΔTの模擬を行う。一方、ステップ411の判定結果がNoの場合、ネットワークシミュレータからの通信結果メッセージは、自シミュレータの次周期時刻であるTi+ΔTよりも小さい時刻に送信される可能性が残っていると判断されるため、再びステップ408にて進行制御部307がRTIインタフェース部303に指示し、RTIインタフェース部303がNMRによりTi+ΔTまで時刻進行要求を行う。
Next, at
ステップ410の判定結果がYesの場合、まずステップ412にて、RTIインタフェース部303が、受信した通信結果メッセージの基となった通信開始メッセージを進行制御部307がメッセージリスト305から削除する。次に、ステップ413にて、RTIインタフェース部303においてTj = Ti+ΔTが真か否かの判定が進行制御部307で行われる。ステップ413の判定結果がYesの場合、ネットワークシミュレータからの通信結果メッセージは、自シミュレータの次周期時刻であるTi+ΔTと同時刻に送信されたと判断されるため、ステップ420にて進行制御部307が模擬処理部301に指示し、模擬処理部301が次周期時刻のTi+ΔTの模擬を行う。ステップ413の判定結果がNoの場合、まずステップ414にて進行制御部307が模擬処理部301に指示し、模擬処理部301が次時刻となったTjの模擬を行い、ステップ415にて通信開始検出304において自シミュレータの模擬処理部301及び他シミュレータが送信した通信開始メッセージを検出し、メッセージリスト305へ登録する。ただし、ステップ415で通信開始メッセージが検出されない場合、新たな通信開始メッセージはメッセージリスト305に登録されない。次に、引き続きEvent Base法で時刻進行を行うかどうかを判断するために、ステップ416にて、進行方法選択部306はメッセージリスト305に通信開始メッセージが登録されているかどうかの判定が行う。
If the determination result in
ステップ416の判定結果がYesの場合、自シミュレータは未だネットワークシミュレータからの通信結果メッセージを受信する可能性が残っていると判断されるため、再びステップ408にて進行方法選択部306の指示に従いRTIインタフェース部303がNMRによりTi+ΔTまで時刻進行要求を行う。
If the determination result in
ステップ416の判定結果がNoの場合、既にネットワークシミュレータに対して送信された通信開始メッセージに基づく通信結果メッセージは全て受信されており、次周期時刻であるTi+ΔTより小さな時刻の通信結果メッセージを受信する可能性が無くなったと判断される。そこで、図6のステップ417にて、進行方法選択部306が自シミュレータの時刻進行方法としてTime Step法を選択し、ステップ418にて進行方法選択部306の指示に従いRTIインタフェース部303がTARによりTi+ΔTまで時刻進行要求を行い、ステップ419にてRTIインタフェース部303がTAGによりTi+ΔTへの時刻進行許可を受信する。その後、ステップ420にて模擬処理部301が次周期時刻のTi+ΔTの模擬を行う。
If the determination result in
以上のように、この発明の実施の形態1では、サブシステムシミュレータ300の時刻進行制御装置302の通信開始検出部304が、自サブシステムシミュレータおよび他サブシステムシミュレータの模擬処理部301が模擬した通信開始メッセージを検出し、通信開始メッセージを検出した場合は進行方法選択部306が時刻進行方法としてEvent Base法を選択し、検出した通信開始メッセージに対応する通信結果メッセージを全て受信するまでEvent Base法で時刻進行を行い、検出した通信開始メッセージに対応する通信結果メッセージを全て受信した後は、進行方法選択部306が時刻進行方法としてTime Step法を選択する。以上の動作により、詳細な時間的精度の模擬が必要な通信の受信イベントの模擬はEvent Base法により詳細に実行することができ、それ以外の模擬はTime Step法による時間周期で実行することが可能である。なお、Event Base法とTime Step法の切り替えは、検出した通信開始メッセージに応じて実行するため、従来技術に挙げた特許文献1の方式と異なり、他のフェデレートの状態に基づかないため、Time Step法とEvent Base法との間で時間進行を切り替えるフェデレートが複数存在する場合でも自シミュレータの時刻進行方法をTime Step法とEvent Base法との間で円滑に切り替えることができる。
As described above, in the first embodiment of the present invention, the communication
すなわち、この発明の実施の形態1における時刻進行制御装置302は、複数のシミュレータが論理時刻に基づき連携する分散シミュレーションシステムにおける一のシミュレータであるサブシステムシミュレータ300に含まれる時刻進行制御装置302であって、Time Step法により時刻進行を行っている自シミュレータ及び他のシミュレータの通信開始メッセージを検出する通信開始検出部304と、通信開始検出部304で検出された通信開始メッセージを登録するメッセージリスト305と、メッセージリスト305に通信開始メッセージが登録されているか否かに基づき、Time Step法またはEvent Base法のいずれかを時刻進行方法として選択する進行方法選択部306と、通信開始メッセージの応答である通信結果メッセージを受信した場合に、その通信結果メッセージに対応した通信開始メッセージをメッセージリスト305から削除する進行制御部307と、を備えたことを特徴とする。このような構成により、Event Base法が必要となる通信開始メッセージが検出される場合のみ、自シミュレータの時刻進行方法をEvent Base法に切り替えることができる。また、従来技術に挙げた特許文献1の方式と異なり、他のフェデレートの状態に基づかないため、Time Step法とEvent Base法との間で時間進行を切り替えるフェデレートが複数存在する場合でも動作することが可能である。
That is, the time
また、この発明の実施の形態1における時刻進行制御装置302の進行方法選択部306はメッセージリスト305に通信開始メッセージが登録されている場合に、Event Base法を時刻進行方法として選択することを特徴とする。時刻進行制御装置302の進行方法選択部306は、メッセージリストに通信開始メッセージが登録されていない場合に、Time Step法を時刻進行方法として選択することを特徴とする。このような構成により、Event Base法が必要となる通信開始メッセージが送信され、通信開始メッセージに対する処理が終了していない区間のみで、Event Base法を用いることが可能となる。
Further, the progress
また、この発明の実施の形態1におけるシミュレータは、模擬対象物体または事象を模擬する模擬処理部301と、分散シミュレーション基盤であるRTIとのインタフェース処理を行うインターフェース処理部303と、時刻進行制御装置302と、を備えたことを特徴とする。このような構成により、複数のシミュレータが論理時刻に基づき連携する分散シミュレーションシステムにおいて、Time Step法とEvent Base法を適宜切り替えて用いることができるシミュレータを得ることができる。
The simulator according to the first embodiment of the present invention includes a
また、この発明の実施の形態1における分散シミュレーションシステムは、時刻進行をTime Step法またはEvent Base法の間で切り替えるシミュレータであるサブシステムシミュレータ300と、Event Base法により時刻進行を行うシミュレータであるネットワークシステムシミュレータと、を含むことを特徴とする。このような構成により、複数のシミュレータが論理時刻に基づき連携する分散シミュレーションシステムにおいて、複数のシミュレータがEvent Base法を時刻進行に用いる場合にも、Time Step法とEvent Base法を円滑に切り替えて用いることができる分散シミュレーションシステムを得ることができる。
In addition, the distributed simulation system according to the first embodiment of the present invention includes a
実施の形態2.
実施の形態1では、自シミュレータが送信した通信開始メッセージの検出方法について説明したのに対し、実施の形態2では他シミュレータがネットワークシミュレータに対して送信した通信開始メッセージの検出方法について説明する。
Embodiment 2. FIG.
In the first embodiment, the method for detecting the communication start message transmitted from the own simulator is described. In the second embodiment, the method for detecting the communication start message transmitted from the other simulator to the network simulator is described.
実施の形態2は、サブシステムシミュレータが論理時刻による配送制御を受けないメッセージであるReceived Ordered(RO)メッセージによる通信開始通知メッセージを用いて通信開始メッセージの検出を行う方法について示す。図7に実施の形態2におけるネットワークシミュレータとサブシステムシミュレータ間のメッセージ通信の例を示す。また、図8に本発明の実施の形態2による分散シミュレーション装置の概要を示す。図7の(1)は、通常の通信開始メッセージの配送の例である。他シミュレータであるサブシステムシミュレータ2が現在時刻Tiにおいてネットワーク通信のきっかけを模擬し、その模擬の結果としてTi+1の通信開始メッセージをネットワークシミュレータとサブシステムシミュレータ1に送信する。サブシステムシミュレータ1の現在時刻がTiの場合、通信開始メッセージの時刻が将来の時刻のため、サブシステムシミュレータ1が通信開始メッセージの時刻よりも将来の時刻に時刻進行を行うまで通信開始メッセージの配送は保留される。そのため、図7の(1)のような通常の通信開始メッセージの配送を、サブシステムシミュレータ1の通信開始検出部304は時刻進行を行う前に検知することができない。
Embodiment 2 shows a method of detecting a communication start message using a communication start notification message by a Received Ordered (RO) message, which is a message for which the subsystem simulator does not receive delivery control based on logical time. FIG. 7 shows an example of message communication between the network simulator and the subsystem simulator in the second embodiment. FIG. 8 shows an outline of a distributed simulation apparatus according to Embodiment 2 of the present invention. (1) in FIG. 7 is an example of delivery of a normal communication start message. Subsystem simulator 2, which is another simulator, simulates a network communication trigger at the current time Ti, and transmits a Ti + 1 communication start message to the network simulator and
そこで、本実施の形態では、フェデレートの現在時刻に関わらずに配送が行われるROメッセージを利用して通信開始メッセージが送信されたことを通知する方式を考案した。図7の(2)は、ROメッセージによって通信開始メッセージが送信されたことを通知する処理の例である。まずサブシステムシミュレータ2が現在時刻Tiにおいてネットワーク通信のきっかけを模擬し、その結果としてTi+1の通信開始メッセージをネットワークシミュレータおよびサブシステムシミュレータ1に送信すると共に、通信開始メッセージを送信したことを通知する通信開始通知メッセージをROメッセージとして送信する。通信開始通知メッセージはROメッセージのため、サブシステムシミュレータ1は現在時刻に依らず当メッセージを受信することが可能であり、RTIによって配送される。サブシステムシミュレータ1の通信開始検出部304は、通信開始通知メッセージを受信することにより、通信開始メッセージが送信されたことを検出する。なお、検出された通信開始メッセージは、実施の形態1の場合と同様に、その通信開始メッセージに基づく通信結果メッセージがEvent Base法による時刻進行で受信されるまでメッセージリスト305に登録される。また、メッセージリスト305に登録された通信開始メッセージが無くなった後、サブシステムシミュレータ1はEvent Base法からTime Step法に時刻進行方法を切り替える(図5のステップ415、ステップ416の処理)。そのため、図7の(2)の状況では、サブシステムシミュレータ1は、現在時刻であるTiから自身の次周期時刻であるTi+ΔTまでの間の時刻の通信開始メッセージを全て検出しなければならない。そこで、サブシステムシミュレータ2が、Ti+ΔTに時刻進行要求を行った際に、ROメッセージの時刻進行要求通知メッセージをサブシステムシミュレータ1に送信することで、サブシステムシミュレータ2がTi+ΔTまで新たなメッセージ送信を行わないことをサブシステムシミュレータ1に通知する。サブシステムシミュレータ1は、時刻進行要求通知メッセージの受信により、これ以上Ti+ΔTまでの時刻の通信開始メッセージが発生しないことを判断する。
In view of this, the present embodiment has devised a method for notifying that a communication start message has been transmitted using an RO message that is delivered regardless of the current time of federation. (2) in FIG. 7 is an example of processing for notifying that a communication start message has been transmitted by an RO message. First, the subsystem simulator 2 simulates the trigger of network communication at the current time Ti, and as a result, a communication start message of Ti + 1 is transmitted to the network simulator and the
以上のように、この発明の実施の形態2では、サブシステムシミュレータの時刻進行制御装置302の通信開始検出部304が、他サブシステムシミュレータの模擬処理部301が模擬した通信開始メッセージを検出する方法として、ROメッセージによる通信開始通知メッセージを用いる方法と、現在時刻+ΔTまでの通信開始メッセージを全て検出したことを判断する方法として、ROメッセージによる時刻進行要求通知メッセージを用いる方法を示した。このような方法は、サブシステムシミュレータ300がROメッセージの送信を行うメッセージ送信部308を備え、通信開始検出部304がROメッセージを受信する機能を備えることで可能となる。以上の動作により、通信開始検出部304は、現在時刻より将来時刻のTSOメッセージである通信開始メッセージの検出と、現在時刻+ΔTまでの通信開始メッセージを全て検出したことを判断することが可能である。また、実施の形態1と実施の形態2に記載の構成をともに備えたサブシステムシミュレータ300を用いることで、自シミュレータと他シミュレータの通信開始メッセージをともに検出することが可能となる。
As described above, in the second embodiment of the present invention, the communication
このように、この発明の実施の形態2における時刻進行制御装置302は、自シミュレータの通信開始メッセージを論理時刻に依らない配送形式で他のシミュレータに送信するメッセージ送信部308を備えたことを特徴とする。このような構成により、論理時刻に依らずに通信開始メッセージを他のシミュレータに通知することができ、複数のシミュレータがTime Step法とEvent Base法の間で進行時刻の切り替えを行う場合にも各シミュレータが円滑にTime Step法とEvent Base法の間で進行時刻の切り替えを行うことが可能となる。
As described above, the time
また、この発明の実施の形態2における時刻進行制御装置302は、他のシミュレータから論理時刻に依らない配送形式で送信された通信開始メッセージを受信するメッセージ受信部を備えたことを特徴とする。この構成により、論理時刻に依らずに通信開始メッセージを他のシミュレータから受信することができ、複数のシミュレータがTime Step法とEvent Base法の間で進行時刻の切り替えを行う場合にも各シミュレータが円滑にTime Step法とEvent Base法の間で進行時刻の切り替えを行うことが可能となる。
In addition, the time
また、この論理時刻に依らない配送形式は、Received Orderedメッセージによる時刻進行通知メッセージであることを特徴とする。この構成により、論理時刻に依らずに通信開始メッセージを他のシミュレータに通知することができる。 Further, the delivery format not depending on the logical time is a time progress notification message by a Received Ordered message. With this configuration, a communication start message can be notified to other simulators regardless of the logical time.
実施の形態3.
実施の形態2では、ROメッセージを用いて通信開始メッセージの検出を行う方法を説明したのに対し、実施の形態3では市販品で改造することができないシミュレータにも適用可能なManagement Object Model(MOM)機能を利用して通信開始メッセージの検出を行う方法を説明する。
Embodiment 3 FIG.
In the second embodiment, the method for detecting the communication start message using the RO message has been described, whereas in the third embodiment, the Management Object Model (MOM) that can be applied to a simulator that cannot be modified with a commercial product. ) A method for detecting a communication start message using the function will be described.
実施の形態2で説明したROメッセージを用いて通信開始メッセージの検出を行う方法は、サブシステムシミュレータに、シミュレータの実行制御用のメッセージ送信機能を付加する形になるため、例えば市販品で改造することができないシミュレータに適用することができない。そのようなシミュレータでも通信開始メッセージの検出を可能とする方法として、HLA規約においてRTIの機能として規定されているManagement Object Model(MOM)機能を利用した方法を説明する。 The method of detecting a communication start message using the RO message described in the second embodiment is a form in which a message transmission function for controlling execution of the simulator is added to the subsystem simulator. It cannot be applied to a simulator that cannot. As a method for enabling such a simulator to detect a communication start message, a method using the Management Object Model (MOM) function defined as the RTI function in the HLA protocol will be described.
MOM機能は、RTIによるフェデレーションの監視と、その監視情報をフェデレートに通知するための機能である。MOM機能として定義されているMOM Interaction ClassのHLAobjectRoot. HLAmanager. HLAfederate. HLAreport. HLAreportServiceInvocation(中間の「.」は、右側のInteraction Classが左側のInteraction Classを継承していることを表す。以降、HLAreportServiceInvocationと略す。)は、監視対象となるフェデレートがRTIのインタフェースを利用した際に、そのインタフェースと引数の情報を、ROメッセージとして監視フェデレートにRIによって配送する機能である。サブシステムシミュレータは、HLAreportServiceInvocationを購読することにより、他のフェデレートがRTIに対して呼び出したり、またRTIから呼び出されるインタフェースを実行状況を知ることができるため、通信開始検出部304は他サブシステムシミュレータが送信した通信開始メッセージ送信や時刻進行要求を監視することで、現在時刻より詳細時刻のTSOメッセージである通信開始メッセージの検出と、現在時刻+ΔTへの時刻進行要求による、現在時刻+ΔTまでの全ての通信開始メッセージの検出の判断を行うことが可能でなる。 The MOM function is a function for monitoring federation by RTI and notifying the federation of the monitoring information. HLAobjectRoot.HLAmanager.HLAfederate.HLAreport.HLAreportServiceInvocation of MOM Interaction Class defined as the MOM function (The middle "." Indicates that the Interaction Class on the right inherits the Interaction Class on the left. (Omitted) is a function that, when a federation to be monitored uses an RTI interface, delivers information on the interface and arguments as an RO message to the monitoring federate by RI. By subscribing to the HLAreportServiceInvocation, the subsystem simulator can know the execution status of other federations calling to the RTI and the interface called from the RTI. By monitoring the transmitted communication start message transmission and the time progress request, the communication start message that is a TSO message with detailed time from the current time is detected, and the current time + ΔT until the current time + ΔT due to the time progress request to the current time + ΔT It is possible to determine whether to detect all communication start messages.
しかし、MOM機能のHLAreportServiceInvocationは、監視したいフェデレートおよび監視したいHLA機能を限定することは可能だが、監視対象フェデレートが利用したRTIのインタフェースの情報を大量に送信するため、フェデレーション監視専用でない模擬処理を行うフェデレートがHLAreportServiceInvocationを購読すると、フェデレートの処理負荷が高まり、模擬処理の実行速度が低下する弊害がある。そのため、MOM機能を利用した通信開始メッセージ検出は改造することができないシミュレータのみを対象に利用し、その他のシミュレータに対しては通信開始通知メッセージを用いて通信開始メッセージ検出を行うように、両方の方式を併用する方式も考えられる。 However, the HOMreportServiceInvocation of the MOM function can limit the federation that you want to monitor and the HLA function that you want to monitor, but because it sends a large amount of information on the RTI interface used by the monitored federate, it performs a simulation process that is not dedicated to federation monitoring When the Federate subscribes to HLAreportServiceInvocation, there is an adverse effect that the processing load of the federation increases and the execution speed of the simulation process decreases. For this reason, both communication start message detection using the MOM function is used only for simulators that cannot be modified, and communication start message detection is performed for other simulators using communication start notification messages. A method using both methods is also conceivable.
この発明の実施の形態3におけるシミュレータは、他のシミュレータの通信開始メッセージの検出を、High Level ArchitectureのManagement Object Model機能を利用して行うことを特徴とする。このような構成により、市販品で改造することができないシミュレータにおいても他のシミュレータの通信開始メッセージの検出を行うことが可能となる。 The simulator according to Embodiment 3 of the present invention is characterized in that the communication start message of another simulator is detected by using the Management Object Model function of High Level Architecture. With such a configuration, it is possible to detect a communication start message of another simulator even in a simulator that cannot be modified with a commercial product.
本発明の実施の形態1から3のいかなる組み合わせも本発明に含まれる。
Any combination of
101:SoSシミュレータ、300:サブシステムシミュレータ、301:模擬処理部、302:時刻進行制御装置、303:インタフェース処理部、304:通信開始検出部、305:メッセージリスト、306:進行方法選択部、308:メッセージ送信部、901:フェデレーション、902:フェデレート、903:Run-Time Infrastructure 101: SoS simulator, 300: Subsystem simulator, 301: Simulation processing unit, 302: Time progress control device, 303: Interface processing unit, 304: Communication start detection unit, 305: Message list, 306: Progression method selection unit, 308 : Message transmission unit, 901: Federation, 902: Federate, 903: Run-Time Infrastructure
Claims (7)
自シミュレータ及び他のシミュレータの通信開始メッセージを検出する通信開始検出部と、
前記通信開始検出部で検出された通信開始メッセージを登録するメッセージリストと、
前記メッセージリストに前記通信開始メッセージが登録されている場合に、Event Base法を時刻進行方法として選択し、前記メッセージリストに前記通信開始メッセージが登録されていない場合に、Time Step法を時刻進行方法として選択する進行方法選択部と、
前記通信開始メッセージの応答である通信結果メッセージを受信した場合に、当該通信結果メッセージに対応した通信開始メッセージを前記メッセージリストから削除する進行制御部と、
を備えたことを特徴とする時刻進行制御装置。 A time progression control device included in one simulator in a distributed simulation system in which a plurality of simulators cooperate based on logical time,
A communication start detection unit for detecting a communication start message of the own simulator and another simulator;
A message list for registering a communication start message detected by the communication start detection unit;
When the communication start message is registered in the message list, the Event Base method is selected as the time progression method, and when the communication start message is not registered in the message list, the Time Step method is selected as the time progression method. A progress method selection section to select as,
When a communication result message that is a response to the communication start message is received, a progress control unit that deletes the communication start message corresponding to the communication result message from the message list;
A time progress control device comprising:
ことを特徴とする請求項1に記載の時刻進行制御装置。 The time progress control device according to claim 1, further comprising a message transmission unit that transmits a communication start message of the simulator to another simulator in a delivery format that does not depend on a logical time.
ことを特徴とする請求項1または請求項2のいずれか1項に記載の時刻進行制御装置。 The communication start detection unit any one of claims 1 or claim 2, further comprising a message receiving unit that receives the communication start message transmitted by the delivery format that does not depend on the logical time from other simulators The time progress control device according to 1.
分散シミュレーション基盤とのインタフェース処理を行うインタフェース処理部と、
請求項1乃至4のいずれか1項に記載の時刻進行制御装置と、
を備えたことを特徴とするシミュレータ。 A simulation processing unit for simulating a simulation target object or event;
An interface processing unit for performing interface processing with the distributed simulation platform;
The time progress control device according to any one of claims 1 to 4 ,
A simulator characterized by comprising:
Event Base法により時刻進行を行うシミュレータと、
を含むことを特徴とする分散シミュレーションシステム。 The simulator according to claim 5 or 6 , wherein the time progress is switched between the Time Step method or the Event Base method,
A simulator that uses the Event Base method for time progression,
A distributed simulation system comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014248724A JP6337760B2 (en) | 2014-12-09 | 2014-12-09 | Time progress control device, simulator, and distributed simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014248724A JP6337760B2 (en) | 2014-12-09 | 2014-12-09 | Time progress control device, simulator, and distributed simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016110474A JP2016110474A (en) | 2016-06-20 |
JP6337760B2 true JP6337760B2 (en) | 2018-06-06 |
Family
ID=56124331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014248724A Expired - Fee Related JP6337760B2 (en) | 2014-12-09 | 2014-12-09 | Time progress control device, simulator, and distributed simulation system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6337760B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7620537B2 (en) * | 2004-06-14 | 2009-11-17 | Raytheon Company | Distributed communications effects module |
JP5414332B2 (en) * | 2009-04-09 | 2014-02-12 | 三菱電機株式会社 | Simulation execution method |
-
2014
- 2014-12-09 JP JP2014248724A patent/JP6337760B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2016110474A (en) | 2016-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160248858A1 (en) | Method and Apparatus for Virtualized Network Function Chaining Management | |
CN109324962B (en) | Method and equipment for testing application program based on cloud Internet of things technology | |
CN112632527B (en) | API test method and system for service open platform | |
CN114972594B (en) | Data processing method, device, equipment and medium for meta universe | |
JP2014519642A5 (en) | ||
KR20140098602A (en) | System and method for performing distributed simulation | |
CN109568948A (en) | The motion state synchronous method and device of object in online game | |
GB2513141A (en) | Data processing system with real-time data center air flow simulator | |
CN103108020A (en) | Service collaboration device, service collaboration method, and computer-readable recording medium | |
US9880883B2 (en) | Virtual resource control system determining new allocation of resources at a hub | |
US20170123941A1 (en) | Distributed processing system | |
CN112703485A (en) | Supporting experimental assessment of modifications to computing environments within a distributed system using machine learning methods | |
JP6337760B2 (en) | Time progress control device, simulator, and distributed simulation system | |
US20170180465A1 (en) | Method, information processing apparatuses and non-transitory computer-readable storage medium | |
JP2013206112A5 (en) | ||
JP6198628B2 (en) | Independent control system, independent control device, independent control method and program | |
AU2016250439A1 (en) | Mine planning system | |
JP6063882B2 (en) | Virtual machine placement system and method | |
CN111190685B (en) | Virtual machine quantity testing system, method and device, electronic equipment and storage medium | |
JP2014147003A (en) | ICT resource management device | |
JP2010250684A (en) | Simulation-executing method | |
JP6168799B2 (en) | Virtual computer system | |
JP5414332B2 (en) | Simulation execution method | |
WO2020151110A1 (en) | An information presentation method and apparatus | |
JP6238825B2 (en) | Distributed simulation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180326 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180410 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180423 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6337760 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |