JP6337760B2 - Time progress control device, simulator, and distributed simulation system - Google Patents

Time progress control device, simulator, and distributed simulation system Download PDF

Info

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
Application number
JP2014248724A
Other languages
Japanese (ja)
Other versions
JP2016110474A (en
Inventor
修介 渡部
修介 渡部
尾崎 敦夫
敦夫 尾崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2014248724A priority Critical patent/JP6337760B2/en
Publication of JP2016110474A publication Critical patent/JP2016110474A/en
Application granted granted Critical
Publication of JP6337760B2 publication Critical patent/JP6337760B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 Document 1. A defense system simulator in which a radar simulator, a platform simulator, a network simulator, etc. are linked based on HLA (High Level Architecture) which is a standard architecture of a simulation system.

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 Step 1 of FIG. 10, the current time of federate 1 and federate 2 is Ti, and ΔT is 10. Federate 1 uses Send Interaction (SI), which is an RTI interface, to send Ti + 5 TSO message m1 and Ti + 15 TSO message m2 to Federate 2, and to use Time Advance Request, which is an RTI interface. (TAR) is used to make a time advance request to the next cycle time Ti + 10. This time advance request by TAR ensures that federate 1 does not transmit a TSO message of Ti + 10 or less. Next, in Step 2, when Federate 2 makes a time advance request to the next cycle time Ti + 10 using TAR, it is guaranteed that Federate 2 will not transmit a TSO message of Ti + 10 or less. RTI confirms the state of each federation, and determines that there is no possibility that a TSO message having a request time advance of each federation that has made a request for time advance by TAR will be generated in other than m1 sent by federation 1. Based on the determination result, in Step 3, the time advance grant (TAG) that is the RTI interface notifies the federation 1 and the federation 2 of the time advance permission to Ti + 10 that is the request time. For federate 2, the TSO message sent from federation 1 before notification of TAG is the TSO message at the Ti + 5 time below Ti + 10 allowed to proceed by TAG. m1 is delivered by Receive Interaction (RI) which is RTI interface. Since the TSO message m2 is a TSO message at a time Ti + 15 that is later than Ti + 10 permitted to proceed, delivery is suspended until the time of federation 2 becomes Ti + 15 or more. This is because there is still a possibility that future TSO messages will be generated from Ti + 10 at the present time, and the simulation process is performed when TSO messages from other federations in the future from Ti + 10 are indeterminate. This is to prevent a contradiction between federations that occurs. As described above, in the Time Step method, the federation obtains time progression permission at the request time when the time progression request is made, and the TSO message reception at a time later than the permitted time is deferred. To prevent inconsistencies.

次に、図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”. Step 1 and Step 2 in FIG. 11 are the same as Step 1 and Step 2 in FIG. 10 except for Next Message Request (NMR), which is an RTI interface, when the federate 1 and federate 2 make a time advance request. Due to the time advance request by NMR, Federate 1 and Federate 2 guarantee that a TSO message of Ti + 10 or less is not transmitted during the time advance request. In Step 3, RTI checks the status of each federation, and federation 2 determines that there is no possibility of receiving a TSO message with a time less than Ti + 5, which is the time of TSO message m1, and determines the federation 2 permission time. It is determined that Ti + 5 is “the minimum time of the received TSO message”. Federate 1 determines that there is no possibility of receiving a TSO message at a time equal to or lower than Ti + 5 because the permitted time of Federate 2 is Ti + 5, and the permitted time is set to `` Other federated rate It is determined that the current time is Ti + 5. Based on the determination result, the TAG notifies the federation 1 and federation 2 of the time advance permission to Ti + 5. For federate 2, m1 of the TSO messages transmitted from federate 1 is delivered by RI before TAG is notified. Since the TSO message m2 is a TSO message at a time Ti + 15 in the future from Ti + 5 that is allowed to proceed, delivery is suspended until the time of federation 2 becomes Ti + 15 or more. As described above, in the Event Base method, the federation obtains time advance permission at the smallest time among “current time / request time of other federate”, “minimum time of received TSO message”, and “request time”. The reception of TSO messages at a time later than the permitted time is suspended, thereby preventing inconsistencies between federations.

次に、図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. Steps 1 and 2 in FIG. 12 are the same as those in FIGS. 10 and 11 except that when the federation 1 and federation 2 make a time advance request, the time advance request is made using the flush queue request (FQR) that is the RTI interface. Same as Step1 and Step2. Due to the time progression request by FQR, Federate 1 and Federate 2 guarantee that TSO messages of Ti + 10 or less will not be transmitted during the time progression request. In Step 3, RTI checks the status of each federation, determines that federation 2 is no longer able to receive a TSO message at a time below Ti + 5 of m1, and determines the permitted time of federation 2 as `` Receiving TSO message Ti + 5, which is the “minimum time”. Federate 1 determines that there is no possibility of receiving a TSO message at a time equal to or lower than Ti + 5 because the permitted time of Federate 2 is Ti + 5, and the permitted time is set to `` Other federated rate It is determined that the current time is Ti + 5. Based on the determination result, the TAG notifies the federation 1 and federation 2 of the time advance permission to Ti + 5. For federate 2, all TSO messages transmitted from federate 1 are delivered by RI before TAG is notified. The TSO message m2 is a TSO message at a time Ti + 15 in the future from Ti + 5 that is allowed to proceed, and other TSO messages from Ti + 5 to Ti + 15 can be sent to federate 2 from now on However, Federate 2 can speculatively simulate Ti + 15 using TSO message m2 as input information. If a TSO message from Ti + 5 to Ti + 15 is received after speculative execution of Ti + 15 by TSO message m2, speculatively executed simulation processing and its TSO messages sent to other federates can be canceled by the simulation process. As described above, in the Optimistic method, the federation obtains time advance permission at the smallest time among the “current time / request time of other federate”, “minimum time of received TSO message”, and “request time”, It is possible to simulate a speculative future time by receiving a TSO message 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. Patent Document 1 describes a simulation execution method in which a character (object) simulated by a simulator switches a time progression method by a Time Step type Event Base type. FIG. 13 is an example of a distributed simulation system configured by the method described in Patent Document 1. In FIG. 13, four federations of FED1 to FED4 are controlled by RTI. FED1, FED2, and FED3 simulate the Time Step type object, and FED3 from the command station object that FED4 simulates in addition to the Time Step type It is shown that the Event Base type is simulated by receiving the communication (however, here, the time progression of the Optimistic method by FQR is used for the Event Base type object). In other words, FED3 uses the time progression of the Time Step method by TAR and the time progression of the Optimistic method by FQR separately to simulate more precise time accuracy than ΔT by Time Step method for Event Base type objects. . FIG. 14 shows a processing flow in federation and RTI regarding the proper use of TAR and FQR in Patent Document 1. In step 721 in FIG. 14, the federation 3 determines whether or not an event base type object exists in the object that it simulates. If true, the federation 3 makes a time advance request by FQR in step 722. After the time progress by FQR, when federation 3 obtains time progress permission in step 723, it is possible to receive future TSO messages from the permitted time. If the TSO message is managed and it is confirmed in step 725 that the TSO message has been received from all target objects, in step 726, the time is advanced by the Time Step method with the smallest time of the received TSO message as the next request time. Change to a Time Step type object. This process is a loop process, and in the next execution, this object is changed to a Time Step type. Thereafter, in step 730, the object is changed to the Event Base type according to the state. In this way, when an object that advances time by the Event Base method is included in the federation, a TSO message at a future time is received by the Optimistic method, and the TSO message for that object is received from all objects When it becomes clear, the time speed is advanced by the Time Step type, so that the simulation speed can be improved.

IEEE 1516.1-2010 - Standard for Modeling and Simulation High Level Architecture (HLA) - Federate Interface SpecificationIEEE 1516.1-2010-Standard for Modeling and Simulation High Level Architecture (HLA)-Federate Interface Specification 特許第5414332号Patent No. 5414332

背景技術で説明したように従来の分散シミュレーション装置では、フェデレーションに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 step 725 in FIG. 14, and the change to the time step type object in step 726 is not performed. As a result, a state in which the processing of the Time Step method after Step 728 is not performed, and a state in which the simulation speed can be improved by changing to the Time Step method cannot be realized. In this way, in the conventional distributed simulation apparatus, in the environment where there are multiple federations that switch the time progression of the Time Step method and the Event Base method in the federation, the time progression of each federation is smoothly switched from the Event Base method to the Time Step method. There is a problem that simulation speed cannot be improved.

本発明はフェデレーションにフェデレートが複数存在する環境において、複数のフェデレートが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 is a basic configuration diagram of a distributed simulation system according to Embodiment 1 of the present invention. FIG. この発明の実施の形態1に係るネットワークシミュレータとサブシステムシミュレータ間のメッセージ通信例。An example of message communication between the network simulator and the subsystem simulator according to the first embodiment of the present invention. この発明の実施の形態1に係るSoSシミュレータの構成図。The block diagram of the SoS simulator which concerns on Embodiment 1 of this invention. この発明の実施の形態1においてサブシステムシミュレータ300が時刻進行方法を切り替える動作を示す処理フロー。The processing flow which shows the operation | movement which the subsystem simulator 300 switches a time progress method in Embodiment 1 of this invention. この発明の実施の形態1においてサブシステムシミュレータ300が時刻進行方法を切り替える動作を示す処理フローの一部。A part of processing flow which shows the operation | movement which the subsystem simulator 300 switches the time progress method in Embodiment 1 of this invention. この発明の実施の形態1においてサブシステムシミュレータ300が時刻進行方法を切り替える動作を示す処理フローの一部。A part of processing flow which shows the operation | movement which the subsystem simulator 300 switches the time progress method in Embodiment 1 of this invention. この発明の実施の形態2に係るネットワークシミュレータとサブシステムシミュレータ間のメッセージ通信例。An example of message communication between a network simulator and a subsystem simulator according to Embodiment 2 of the present invention. この発明の実施の形態2に係るSoSシミュレータの構成図。The block diagram of the SoS simulator which concerns on Embodiment 2 of this invention. 従来技術における分散シミュレーションシステムアーキテクチャの基本構成図。The basic block diagram of the distributed simulation system architecture in a prior art. 従来技術におけるTime Step法による時刻進行方法。Time progression method by Time Step method in the prior art. 従来技術におけるEvent Base法による時刻進行方法。Time progression method by Event Base method in the prior art. 従来技術におけるOptimistic法による時刻進行方法。Time progression method using the Optimistic method in the prior art. 従来技術によって構成された分散シミュレーションシステムの例。An example of a distributed simulation system configured according to the prior art. 従来技術におけるフェデレート及びRTIでの処理フロー。Processing flow at federation and RTI in the prior art.

以下、この発明の実施の形態について、図面を参照しながら詳細に説明する。
実施の形態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.
Embodiment 1 FIG.
FIG. 1 shows the configuration of an SoS simulator 101 that is a distributed simulation system according to Embodiment 1 of the present invention. Here, the distributed simulation system is a distributed simulation system in which a plurality of simulators cooperate based on logical time. In addition, the SoS simulator 101 is configured as a federation based on HLA, with one or more network simulators and subsystem simulators as federations, respectively. Here, the network simulator performs time progress by the Event Base method in consideration of time accuracy, and the subsystem simulator receives a relatively short time event such as a communication delay time simulated by the network simulator. Only the time progress is performed by the Event Base method, and the time step is performed by the Time Step method in other cases.

図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 Step 1 of FIG. 2, the network communication trigger is first simulated at the time Ti of the subsystem simulator, and the simulation result is a TSO message to the network simulator and transmitted as a communication start message indicating the start of message communication. The time of the TSO message needs to be set to a time that is later than the current time in order to maintain consistency of the time progression of the federation and the delivery order of the TSO message. Also, in order to calculate the communication delay time after the network simulator receives the communication start message, the time of the communication start message is set to the current time plus a time smaller than the communication delay time calculated by the network simulator. There must be. Therefore, as the time of the communication start message, the time obtained by adding epsilon (a minimum value of logical time and not 0) defined by the HLA to the current time is used. In the example of FIG. 2, a positive integer value is taken, and a communication start message is transmitted as a Ti + 1 time message using an epsilon value “1”. Since the network simulator advances the time according to the Event Base method, the Ti + 1 time when the communication start message is received becomes the current time. Next, in Step 2, simulation of the network simulator at Ti + 1 time is performed, and in this example, communication delay time L is calculated as a result of communication success as a result of communication success / failure determination. Finally, in Step 3, the network simulator transmits a communication result message that is a TSO message to the subsystem simulator as a simulation result of the Ti + 1 time. At this time, the time of the communication result message is set to Ti + L, which is a reception time obtained by adding L, which is a communication delay time, to Ti that simulates the trigger of network communication. Note that when the communication failure is determined as a result of the communication success / failure determination, it is not necessary to calculate the communication delay time, and thus the time of the communication result is set to an immediate time such as Ti + 2 time, for example. FIG. 2 illustrates a case in which the subsystem simulator and the network simulator each have one case. However, in the case where there are a plurality of cases, the communication start message and the communication result message are transmitted to all the simulators.

ここで、サブシステムシミュレータは、ネットワークシミュレータからの通信結果メッセージの時刻を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 subsystem simulator 300 performs a simulation processing unit 301 that simulates a simulation target object or event in the subsystem simulator 300, a time progression control device 302 that switches a time progression method according to the situation, and interface processing for RTI. The RTI interface processing unit 303 is configured to perform. The time progress control device 302 of the subsystem simulator 300 includes a communication start detection unit 304 that detects a communication start message, a message list 305 that stores a communication start message detected by the communication start detection unit 304, and a message list 305. It comprises a progress method selection unit 306 that selects a time progression method according to the contents, and a progress control unit 307 that controls the time progression.

次に動作について説明する。図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 subsystem simulator 300 switching the time progression method according to the situation. 4, 5 and 6, the first part of the flowchart, the part following the first part, and the part following the first part are described. First, in step 401 in FIG. 4, the simulation processing unit 301 of the subsystem simulator 300 simulates Ti that is the current time. Next, in step 402, the communication start detection unit 304 detects the communication start message transmitted by the simulation processing unit 301 of the own simulator and another simulator, and registers it in the message list 305. A method for detecting a communication start message transmitted by another simulator will be described in the second embodiment. In step 403, the progress method selection unit 306 determines whether a communication start message is registered in the message list 305.

メッセージリスト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 step 403 is No), the progress method selection unit 306 selects the time step method as the time progress method of the own simulator in step 404. In step 405, the RTI interface unit 303 makes a time advance request to Ti + ΔT by TAR, and in step 406, the RTI interface unit 303 receives time advance permission to Ti + ΔT by TAG. Thereafter, at 420, the simulation processing unit 301 simulates Ti + ΔT at the next cycle time. Thus, when the determination result in step 403 is No, the time is advanced by the Time Step method.

メッセージリスト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 method selection unit 306 selects the Event Base method as the time progress method of the own simulator in Step 407, and FIG. In step 408, the RTI interface unit 303 makes a time advance request to Ti + ΔT by NMR, and in step 409, the RTI interface unit 303 receives time advance permission to Tj by TAG. Here, since Tj is the time progression permission time according to the Event Base method, Tj ≧ Ti and Tj ≦ Ti + ΔT.

次に、図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 step 410 in FIG. 5, before the RTI interface unit 303 receives the TAG at step 409, the progress control unit 307 determines whether or not the communication result message has been delivered from the RTI. When the determination result in step 410 is No, the progress control unit 307 determines whether Tj = Ti + ΔT in the RTI interface unit 303 is true in step 411. If the determination result in step 411 is Yes, the communication result message from the network simulator is determined to be transmitted at a time later than Ti + ΔT, which is the next cycle time of the own simulator. The control unit 307 instructs the simulation processing unit 301, and the simulation processing unit 301 simulates Ti + ΔT at the next cycle time. On the other hand, if the determination result in step 411 is No, it is determined that there is still a possibility that the communication result message from the network simulator is transmitted at a time smaller than Ti + ΔT, which is the next cycle time of the own simulator. Therefore, the progress control unit 307 instructs the RTI interface unit 303 again in step 408, and the RTI interface unit 303 makes a time progress request to Ti + ΔT by NMR.

ステップ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 step 410 is Yes, first, in step 412, the RTI interface unit 303 deletes the communication start message that is the basis of the received communication result message from the message list 305. Next, in step 413, the progress control unit 307 determines whether or not Tj = Ti + ΔT is true in the RTI interface unit 303. If the determination result in step 413 is Yes, it is determined that the communication result message from the network simulator has been transmitted at the same time as Ti + ΔT, which is the next cycle time of the own simulator. Instructs the simulation processing unit 301, and the simulation processing unit 301 simulates Ti + ΔT at the next cycle time. If the determination result in step 413 is No, first, the progress control unit 307 instructs the simulation processing unit 301 in step 414, the simulation processing unit 301 simulates Tj at the next time, and communication starts in step 415. In the detection 304, the communication start message transmitted by the simulation processing unit 301 of the own simulator and the other simulator is detected and registered in the message list 305. However, if a communication start message is not detected in step 415, a new communication start message is not registered in the message list 305. Next, in order to determine whether or not to proceed with the time based on the Event Base method, in step 416, the progress method selection unit 306 determines whether or not a communication start message is registered in the message list 305.

ステップ416の判定結果がYesの場合、自シミュレータは未だネットワークシミュレータからの通信結果メッセージを受信する可能性が残っていると判断されるため、再びステップ408にて進行方法選択部306の指示に従いRTIインタフェース部303がNMRによりTi+ΔTまで時刻進行要求を行う。   If the determination result in step 416 is Yes, it is determined that the simulator still has a possibility of receiving a communication result message from the network simulator. The interface unit 303 makes a time progress request to Ti + ΔT by NMR.

ステップ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 step 416 is No, all communication result messages based on the communication start message already transmitted to the network simulator have been received, and communication result messages with a time smaller than the next cycle time Ti + ΔT are displayed. It is determined that there is no possibility of receiving. Therefore, in step 417 of FIG. 6, the progress method selection unit 306 selects the Time Step method as the time progress method of the simulator, and in step 418, the RTI interface unit 303 uses the TAR to generate Ti The time advance request is made until + ΔT, and in step 419, the RTI interface unit 303 receives the time advance permission to Ti + ΔT by TAG. Thereafter, in step 420, the simulation processing unit 301 simulates Ti + ΔT at the next cycle time.

以上のように、この発明の実施の形態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 start detection unit 304 of the time progress control device 302 of the subsystem simulator 300 is simulated by the simulation processing unit 301 of the own subsystem simulator and the other subsystem simulator. When the start message is detected and the communication start message is detected, the progress method selection unit 306 selects the Event Base method as the time progress method, and the Event Base method until all the communication result messages corresponding to the detected communication start message are received. After the time progress is performed and all communication result messages corresponding to the detected communication start message are received, the progress method selection unit 306 selects the Time Step method as the time progress method. With the above operation, it is possible to simulate the reception event of communication that requires detailed simulation of time accuracy in detail by the Event Base method, and other simulations can be executed in the time period by the Time Step method. Is possible. Since the switching between the Event Base method and the Time Step method is executed according to the detected communication start message, unlike the method of Patent Document 1 cited in the prior art, it is not based on the state of other federations. Even when there are multiple federates that switch the time progression between the method and the Event Base method, the time progression method of the simulator can be smoothly switched between the Time Step method and the Event Base method.

すなわち、この発明の実施の形態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 progress control device 302 according to the first embodiment of the present invention is the time progress control device 302 included in the subsystem simulator 300 that is one simulator in a distributed simulation system in which a plurality of simulators cooperate based on logical time. Then, a communication start detection unit 304 that detects communication start messages of the own simulator and other simulators that are proceeding in time by the Time Step method, and a message list 305 that registers the communication start messages detected by the communication start detection unit 304 And a progress method selection unit 306 that selects either the Time Step method or the Event Base method as the time progress method based on whether or not the communication start message is registered in the message list 305, and a response to the communication start message. When a communication result message is received And a progress control unit 307 that deletes a communication start message corresponding to the communication result message from the message list 305. With such a configuration, the time progression method of the simulator can be switched to the Event Base method only when a communication start message that requires the Event Base method is detected. Also, unlike the method of Patent Document 1 cited in the prior art, it does not depend on other federation states, so it operates even when there are multiple federations that switch the time progression between the Time Step method and the Event Base method. Is possible.

また、この発明の実施の形態1における時刻進行制御装置302の進行方法選択部306はメッセージリスト305に通信開始メッセージが登録されている場合に、Event Base法を時刻進行方法として選択することを特徴とする。時刻進行制御装置302の進行方法選択部306は、メッセージリストに通信開始メッセージが登録されていない場合に、Time Step法を時刻進行方法として選択することを特徴とする。このような構成により、Event Base法が必要となる通信開始メッセージが送信され、通信開始メッセージに対する処理が終了していない区間のみで、Event Base法を用いることが可能となる。   Further, the progress method selection unit 306 of the time progress control device 302 according to the first embodiment of the present invention selects the Event Base method as the time progress method when a communication start message is registered in the message list 305. And The progress method selection unit 306 of the time progress control device 302 selects the Time Step method as the time progress method when the communication start message is not registered in the message list. With such a configuration, a communication start message that requires the Event Base method is transmitted, and the Event Base method can be used only in a section in which processing for the communication start message is not completed.

また、この発明の実施の形態1におけるシミュレータは、模擬対象物体または事象を模擬する模擬処理部301と、分散シミュレーション基盤であるRTIとのインタフェース処理を行うインターフェース処理部303と、時刻進行制御装置302と、を備えたことを特徴とする。このような構成により、複数のシミュレータが論理時刻に基づき連携する分散シミュレーションシステムにおいて、Time Step法とEvent Base法を適宜切り替えて用いることができるシミュレータを得ることができる。   The simulator according to the first embodiment of the present invention includes a simulation processing unit 301 that simulates a simulation target object or event, an interface processing unit 303 that performs interface processing with an RTI that is a distributed simulation base, and a time progression control device 302. And. With such a configuration, in a distributed simulation system in which a plurality of simulators cooperate based on logical time, a simulator that can be used by appropriately switching between the Time Step method and the Event Base method can be obtained.

また、この発明の実施の形態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 subsystem simulator 300 that is a simulator that switches time progress between the Time Step method and the Event Base method, and a network that is a simulator that performs time progress using the Event Base method. And a system simulator. With such a configuration, in a distributed simulation system in which multiple simulators cooperate based on logical time, even when multiple simulators use the Event Base method for time progression, the Time Step method and the Event Base method are switched smoothly and used. A distributed simulation system can be obtained.

実施の形態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 subsystem simulator 1 as a result of the simulation. When the current time of the subsystem simulator 1 is Ti, since the time of the communication start message is a future time, the communication start message is delivered until the subsystem simulator 1 advances the time at a time later than the time of the communication start message. Is put on hold. For this reason, the communication start detection unit 304 of the subsystem simulator 1 cannot detect the normal communication start message delivery as shown in (1) of FIG.

そこで、本実施の形態では、フェデレートの現在時刻に関わらずに配送が行われる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 subsystem simulator 1, and notification that the communication start message has been transmitted is sent. A communication start notification message is transmitted as an RO message. Since the communication start notification message is an RO message, the subsystem simulator 1 can receive this message regardless of the current time and is delivered by RTI. The communication start detection unit 304 of the subsystem simulator 1 detects that the communication start message has been transmitted by receiving the communication start notification message. Note that the detected communication start message is registered in the message list 305 until a communication result message based on the communication start message is received in time progress according to the Event Base method, as in the first embodiment. Further, after the communication start message registered in the message list 305 disappears, the subsystem simulator 1 switches the time progression method from the Event Base method to the Time Step method (the processing of Step 415 and Step 416 in FIG. 5). Therefore, in the situation of (2) in FIG. 7, the subsystem simulator 1 has to detect all the communication start messages at the time between Ti which is the current time and Ti + ΔT which is the next cycle time of itself. . Therefore, when the subsystem simulator 2 makes a time advance request to Ti + ΔT, the subsystem simulator 2 sends a time advance request notification message of the RO message to the subsystem simulator 1 so that the subsystem simulator 2 newly adds up to Ti + ΔT. The subsystem simulator 1 is notified that no message transmission is performed. The subsystem simulator 1 determines that a communication start message at a time up to Ti + ΔT is not generated any more by receiving the time progress request notification message.

以上のように、この発明の実施の形態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 start detection unit 304 of the time progress control device 302 of the subsystem simulator detects the communication start message simulated by the simulation processing unit 301 of the other subsystem simulator. As a method of using a communication start notification message by an RO message and a method of using a time progress request notification message by an RO message as a method of determining that all communication start messages up to the current time + ΔT have been detected. Such a method can be realized by the subsystem simulator 300 including the message transmission unit 308 that transmits the RO message, and the communication start detection unit 304 having a function of receiving the RO message. With the above operation, the communication start detecting unit 304 can detect that a communication start message that is a TSO message at a future time from the current time and that all communication start messages up to the current time + ΔT have been detected. is there. Further, by using the subsystem simulator 300 having both the configurations described in the first embodiment and the second embodiment, it is possible to detect both the communication start message of the own simulator and the other simulator.

このように、この発明の実施の形態2における時刻進行制御装置302は、自シミュレータの通信開始メッセージを論理時刻に依らない配送形式で他のシミュレータに送信するメッセージ送信部308を備えたことを特徴とする。このような構成により、論理時刻に依らずに通信開始メッセージを他のシミュレータに通知することができ、複数のシミュレータがTime Step法とEvent Base法の間で進行時刻の切り替えを行う場合にも各シミュレータが円滑にTime Step法とEvent Base法の間で進行時刻の切り替えを行うことが可能となる。   As described above, the time progress control device 302 according to the second embodiment of the present invention includes the message transmission unit 308 that transmits the communication start message of its own simulator to another simulator in a delivery format that does not depend on the logical time. And With such a configuration, a communication start message can be notified to other simulators regardless of the logical time, and even when multiple simulators switch the progress time between the Time Step method and the Event Base method. The simulator can smoothly switch the progress time between the Time Step method and the Event Base method.

また、この発明の実施の形態2における時刻進行制御装置302は、他のシミュレータから論理時刻に依らない配送形式で送信された通信開始メッセージを受信するメッセージ受信部を備えたことを特徴とする。この構成により、論理時刻に依らずに通信開始メッセージを他のシミュレータから受信することができ、複数のシミュレータがTime Step法とEvent Base法の間で進行時刻の切り替えを行う場合にも各シミュレータが円滑にTime Step法とEvent Base法の間で進行時刻の切り替えを行うことが可能となる。   In addition, the time progress control device 302 according to the second embodiment of the present invention includes a message receiving unit that receives a communication start message transmitted from another simulator in a delivery format that does not depend on logical time. With this configuration, communication start messages can be received from other simulators regardless of the logical time, and even when multiple simulators switch the progress time between the Time Step method and the Event Base method, each simulator It is possible to smoothly switch the progress time between the Time Step method and the Event Base method.

また、この論理時刻に依らない配送形式は、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 Embodiments 1 to 3 of the present invention is included in the present invention.

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または請求項のいずれか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.
前記論理時刻に依らない配送形式は、Received Orderedメッセージによる時刻進行通知メッセージであることを特徴とする請求項または請求項に記載の時刻進行制御装置。 The time progress control device according to claim 2 or 3 , wherein the delivery format not depending on the logical time is a time progress notification message by a Received Ordered message. 模擬対象物体または事象を模擬する模擬処理部と、
分散シミュレーション基盤とのインタフェース処理を行うインタフェース処理部と、
請求項1乃至のいずれか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:
前記他のシミュレータの通信開始メッセージの検出を、High Level ArchitectureのManagement Object Model機能を利用して行うことを特徴とする請求項に記載のシミュレータ。 The simulator according to claim 5 , wherein the communication start message of the other simulator is detected by using a Management Object Model function of High Level Architecture. 時刻進行をTime Step法またはEvent Base法の間で切り替える請求項または請求項に記載のシミュレータと、
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:
JP2014248724A 2014-12-09 2014-12-09 Time progress control device, simulator, and distributed simulation system Expired - Fee Related JP6337760B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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