[go: up one dir, main page]

JP2018010381A - Simulation system, simulation method, and program - Google Patents

Simulation system, simulation method, and program Download PDF

Info

Publication number
JP2018010381A
JP2018010381A JP2016137137A JP2016137137A JP2018010381A JP 2018010381 A JP2018010381 A JP 2018010381A JP 2016137137 A JP2016137137 A JP 2016137137A JP 2016137137 A JP2016137137 A JP 2016137137A JP 2018010381 A JP2018010381 A JP 2018010381A
Authority
JP
Japan
Prior art keywords
data
input
simulation
model
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016137137A
Other languages
Japanese (ja)
Inventor
俊勝 森
Toshikatsu Mori
俊勝 森
知則 元島
Tomonori Motojima
知則 元島
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.)
Kozo Keikaku Engineering Inc
Original Assignee
Kozo Keikaku Engineering Inc
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 Kozo Keikaku Engineering Inc filed Critical Kozo Keikaku Engineering Inc
Priority to JP2016137137A priority Critical patent/JP2018010381A/en
Publication of JP2018010381A publication Critical patent/JP2018010381A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

【課題】計算に必要なデータ、リソース及びシミュレーションモデルを共有することが可能なシミュレーションシステム、シミュレーション方法及びプログラムを提供する【解決手段】シミュレーションシステム100は、予め定義されたデータ構造を有する入力データを提供するデータソース121乃至127、シミュレーションモデルの入力を受け付けるモデル入力部113、シミュレーションモデルの実行に必要な入力データをデータソース121乃至127から取得するモデル制御部131、シミュレーションモデルによる計算を実行し、計算結果として出力データを生成する計算処理制御部133、出力データを出力する結果出力部141とを有する。【選択図】図1A simulation system, a simulation method, and a program capable of sharing data, resources, and a simulation model necessary for calculation are provided. A simulation system includes input data having a predefined data structure. A data source 121 to 127 to be provided; a model input unit 113 that receives an input of a simulation model; a model control unit 131 that acquires input data necessary for executing the simulation model from the data source 121 to 127; A calculation processing control unit 133 that generates output data as a calculation result and a result output unit 141 that outputs output data are included. [Selection] Figure 1

Description

本発明はシミュレーションシステム、シミュレーション方法及びプログラムに関し、特に計算に必要なデータ及びリソースを共有する技術に関する。   The present invention relates to a simulation system, a simulation method, and a program, and more particularly to a technique for sharing data and resources necessary for calculation.

一般に、シミュレーション対象ごとに異なるシミュレータが作成及び使用される。そして従来は、シミュレータが扱うことのできるデータの形式もシミュレータ毎に異なることが一般的であった。そのため、複数の異なるシミュレータを用いてシミュレーションを実施しようとするユーザは、シミュレータごとにそれぞれ異なる形式の入力データを準備する必要があった。また、各シミュレータがシミュレーション結果として出力するデータの形式もまちまちであったため、異なる複数のシミュレータを連携させることが困難であった。複数の異なるシミュレータを連携させようとすれば、例えばシミュレータのユーザ同士が事前にデータの形式や受渡方法等を綿密に取決めておくなど、特別な準備と運用上の工夫とが必要とされていた。   In general, a different simulator is created and used for each simulation target. Conventionally, the format of data that can be handled by a simulator is generally different for each simulator. Therefore, a user who intends to perform a simulation using a plurality of different simulators needs to prepare input data of a different format for each simulator. In addition, since the format of data output as a simulation result by each simulator varies, it is difficult to link different simulators. In order to link multiple different simulators, special preparations and operational measures were required, for example, simulator users carefully decided the data format and delivery method in advance. .

加えて、従来は、シミュレーションを実施するユーザ(典型的には研究者)が、自身の専門とは異なる分野のシミュレータを利用することにも困難性があった。一般に、シミュレーションモデルはユーザの研究分野に関する専門的知見に基づいて作成されるが、従来、専門分野の垣根を超えてそのような知見が共有されることは稀であった。そのため、異なる研究分野に属するユーザ同士がシミュレーションモデルやその計算結果を共同で利用することも困難とされていた。   In addition, conventionally, it has been difficult for a user (typically a researcher) who performs a simulation to use a simulator in a field different from his / her specialty. In general, a simulation model is created on the basis of specialized knowledge about a user's research field, but such knowledge has rarely been shared beyond the boundaries of specialized fields. For this reason, it has been difficult for users belonging to different research fields to use the simulation model and the calculation results together.

この点、特許文献1には、あるサービスの出力データが、他のサービスの入力データとなりうるか否かを評価し、サービス設計者に提示するシステムが開示されている。   In this regard, Patent Document 1 discloses a system that evaluates whether output data of a certain service can become input data of another service and presents it to a service designer.

また、特許文献2には、複数のシミュレーションモデルが、シミュレーションに伴って発生するデータを共通基盤に蓄積するシステムが開示されている。   Further, Patent Document 2 discloses a system in which a plurality of simulation models accumulate data generated along with a simulation on a common base.

特開2007−334627号公報JP 2007-334627 A 特開2003−099698号公報JP 2003-099698 A

特許文献1は、入出力データの形式がサービス間で相違するため、複数のサービスを連携させることが困難であるという課題を示している。しかしながら、特許文献1は、そのデータ形式の異同を評価する手法を提示するにとどまっており、データ形式の相違を解消するための抜本的な方法を開示していない。   Patent Literature 1 shows a problem that it is difficult to link a plurality of services because the format of input / output data differs between services. However, Patent Document 1 only presents a method for evaluating the difference in the data format, and does not disclose a fundamental method for eliminating the difference in the data format.

また、特許文献2は、複数のシミュレータがアクセスできる共通基盤に言及している。しかしながら、その共通基盤は単に各シミュレータがログを記録するために用いられるにとどまっており、各シミュレータ間の連携方法は開示されていない。   Patent Document 2 refers to a common base that can be accessed by a plurality of simulators. However, the common base is merely used for each simulator to record a log, and the cooperation method between each simulator is not disclosed.

本発明は、このような問題点を解決するためになされたものであり、計算に必要なデータ及びリソースを共有することが可能なシミュレーションシステム、シミュレーション方法及びプログラムを提供することを目的とする。   The present invention has been made to solve such problems, and an object thereof is to provide a simulation system, a simulation method, and a program that can share data and resources necessary for calculation.

本発明の一実施形態に係るシミュレーションシステムは、予め定義されたデータ構造を有する入力データを提供するデータソースと、シミュレーションモデルの入力を受け付けるモデル入力部と、前記シミュレーションモデルの実行に必要な前記入力データを前記データソースから取得するモデル制御部と、前記シミュレーションモデルによる計算を実行し、計算結果として出力データを生成する計算処理制御部と、を有するものである。   A simulation system according to an embodiment of the present invention includes a data source that provides input data having a predefined data structure, a model input unit that receives an input of a simulation model, and the input necessary for executing the simulation model. A model control unit that acquires data from the data source; and a calculation processing control unit that executes calculation based on the simulation model and generates output data as a calculation result.

本発明の他の実施形態に係るシミュレーションシステムは、前記データ構造を有するユーザデータの入力を受け付けるユーザデータ入力部をさらに有し、前記データソースは、前記ユーザデータを格納するユーザデータ格納部を含むものである。   A simulation system according to another embodiment of the present invention further includes a user data input unit that receives input of user data having the data structure, and the data source includes a user data storage unit that stores the user data. It is a waste.

本発明の他の実施形態に係るシミュレーションシステムは、前記計算処理制御部は、前記データ構造を有する出力データを出力し、前記データソースは、前記出力データを格納する結果データ格納部を含むものである。   In a simulation system according to another embodiment of the present invention, the calculation processing control unit outputs output data having the data structure, and the data source includes a result data storage unit that stores the output data.

本発明の他の実施形態に係るシミュレーションシステムは、前記データソースは、外部から取得したデータを前記データ構造を有する前記入力データとして提供する外部データ参照部を含むものである。   In the simulation system according to another embodiment of the present invention, the data source includes an external data reference unit that provides externally acquired data as the input data having the data structure.

本発明の他の実施形態に係るシミュレーションシステムは、前記モデル制御部は、前記データソースに含まれる複数の前記入力データ提供手段それぞれから前記入力データを取得するデータアクセス共通インターフェースを有するものである。   In the simulation system according to another embodiment of the present invention, the model control unit has a data access common interface for acquiring the input data from each of the plurality of input data providing means included in the data source.

本発明の他の実施形態に係るシミュレーションシステムは、前記シミュレーションモデルは、前記入力データを取得するためのメソッド呼出しを含み、前記モデル制御部は、前記メソッド呼出しに応じて前記入力データを前記データソースから取得するものである。   In the simulation system according to another embodiment of the present invention, the simulation model includes a method call for obtaining the input data, and the model control unit receives the input data according to the method call as the data source. To get from.

本発明の他の実施形態に係るシミュレーションシステムは、前記計算処理制御部は、前記計算に必要なリソースを動的に割り当てるものである。   In the simulation system according to another embodiment of the present invention, the calculation processing control unit dynamically allocates resources necessary for the calculation.

本発明の他の実施形態に係るシミュレーション方法は、コンピュータが、シミュレーションモデルの入力を受け付けるモデル入力ステップと、前記シミュレーションモデルの実行に必要な、予め定義されたデータ構造を有する入力データを、データソースから取得するモデル制御ステップと、前記シミュレーションモデルによる計算を実行し、計算結果として出力データを生成する計算処理制御ステップと、前記出力データを出力する結果出力ステップと、を有するものである。   A simulation method according to another embodiment of the present invention includes a model input step in which a computer receives an input of a simulation model, and input data having a predefined data structure necessary for executing the simulation model, as a data source A model control step acquired from the above, a calculation processing control step for executing calculation by the simulation model and generating output data as a calculation result, and a result output step for outputting the output data.

本発明の他の実施形態に係るプログラムは、コンピュータに上記シミュレーション方法を実行させるためのプログラムである。   A program according to another embodiment of the present invention is a program for causing a computer to execute the simulation method.

本発明により、計算に必要なデータ及びリソースを共有することが可能なシミュレーションシステム、シミュレーション方法及びプログラムを提供することができる。   According to the present invention, it is possible to provide a simulation system, a simulation method, and a program capable of sharing data and resources necessary for calculation.

本発明の実施の形態にかかるシミュレーションシステム100の構成を示す図である。1 is a diagram showing a configuration of a simulation system 100 according to an embodiment of the present invention. シミュレーションシステム100におけるデータの流れを示す図である。2 is a diagram showing a data flow in a simulation system 100. FIG. シミュレーションシステム100におけるデータの流れを示す図である。2 is a diagram showing a data flow in a simulation system 100. FIG. シミュレーションシステム100の動作を示す図である。2 is a diagram illustrating an operation of a simulation system 100. FIG.

以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。まず、図1を用いて、本発明の実施の形態にかかるシミュレーションシステム100の構成について説明する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. First, the configuration of the simulation system 100 according to the embodiment of the present invention will be described with reference to FIG.

シミュレーションシステム100は、ユーザデータ入力部111、モデル入力部113、ユーザデータ格納部121、内部データ格納部123、外部データ参照部125、結果データ格納部127、モデル制御部131、計算処理制御部133、結果出力部141を有する。   The simulation system 100 includes a user data input unit 111, a model input unit 113, a user data storage unit 121, an internal data storage unit 123, an external data reference unit 125, a result data storage unit 127, a model control unit 131, and a calculation processing control unit 133. And a result output unit 141.

シミュレーションシステム100は、典型的には中央処理装置、記憶装置及び入出力装置を備え、中央処理装置が記憶装置に予め格納されたプログラムを読み出して実行することにより上述の各処理部を論理的に実現する1又は複数の情報処理装置である。シミュレーションシステム100は、好ましくはネットワークを介してユーザに情報処理サービスを提供するクラウドサービスとして構成される。   The simulation system 100 typically includes a central processing unit, a storage device, and an input / output device. The central processing unit reads and executes a program stored in advance in the storage device, thereby logically processing each processing unit described above. One or a plurality of information processing apparatuses to be realized. The simulation system 100 is preferably configured as a cloud service that provides an information processing service to a user via a network.

ユーザデータ入力部111は、図示しないユーザ端末とネットワーク等を介して接続され、ユーザ端末から送信されたユーザデータを受信する。ユーザデータとは、シミュレーションモデルに対して入力可能なデータの1つであって、ユーザ自身により作成されたものをいう。ユーザデータ入力部111は、受信したユーザデータをユーザデータ格納部121に格納する。   The user data input unit 111 is connected to a user terminal (not shown) via a network or the like, and receives user data transmitted from the user terminal. The user data is one of data that can be input to the simulation model and is created by the user himself / herself. The user data input unit 111 stores the received user data in the user data storage unit 121.

ユーザデータ格納部121は、ユーザデータ入力部111が受信したユーザデータを格納する記憶領域である。   The user data storage unit 121 is a storage area for storing user data received by the user data input unit 111.

内部データ格納部123は、予め準備された種々の入力データを格納する記憶領域である。   The internal data storage unit 123 is a storage area for storing various input data prepared in advance.

外部データ参照部125は、ネットワーク等を介して外部公開データを取得する。外部公開データとは、典型的にはセンサネットワーク、IoTシステム又は第三者が運営するサービス等が提供する入力データであって、例えば交通、気象その他のリアルタイムデータ又は統計データ等が含まれ得る。外部データ参照部125は、これらの外部公開データをオンデマンドで又は所定のタイミングで取得し、必要に応じ記憶領域に格納する。また、外部公開データがシミュレーションモデルに入力可能な形式でない場合、外部データ参照部125が外部公開データをシミュレーションモデルに入力可能な形式に変換しても良い。   The external data reference unit 125 acquires external public data via a network or the like. The externally disclosed data is typically input data provided by a sensor network, an IoT system, or a service operated by a third party, and may include, for example, traffic, weather, other real-time data, statistical data, or the like. The external data reference unit 125 acquires these external public data on demand or at a predetermined timing, and stores them in a storage area as necessary. In addition, when the external public data is not in a format that can be input to the simulation model, the external data reference unit 125 may convert the external public data into a format that can be input to the simulation model.

結果データ格納部127は、シミュレーションモデルによる計算結果である出力データを格納する。   The result data storage unit 127 stores output data that is a calculation result of the simulation model.

ここで、ユーザデータ格納部121、内部データ格納部123、外部データ参照部125、結果データ格納部127は全て、予め定義された共通の形式に従って作成されたデータを入力又は出力する。このようにすることで、シミュレーションシステム100においては、シミュレーションモデルに入力されるデータ及びシミュレーションモデルから出力されるデータの構造が規格化される。例えば、規格化されたデータ構造は1以上の変数を含むものとし、各変数の型やサイズ、及び各変数にどのような値をセットすべきかといった規約が予め定義されているものとする。この場合、入力データ及び出力データは、これらの変数に具体的な値が格納されたデータセットとして実現される。これにより、図2に示すように、ユーザデータに代表される入力データを様々なシミュレーションモデルに入力したり、あるシミュレーションモデルからの出力データを他のシミュレーションモデルに対する入力データとして使用したりすることが可能となる。すなわち、入出力データの構造を規格化することで、様々なシミュレーションモデル間でのデータの流通を実現することができる。   Here, the user data storage unit 121, the internal data storage unit 123, the external data reference unit 125, and the result data storage unit 127 all input or output data created according to a common format defined in advance. By doing so, in the simulation system 100, the data input to the simulation model and the structure of the data output from the simulation model are normalized. For example, it is assumed that the standardized data structure includes one or more variables, and rules such as the type and size of each variable and what value should be set for each variable are defined in advance. In this case, the input data and the output data are realized as a data set in which specific values are stored in these variables. Thereby, as shown in FIG. 2, input data represented by user data can be input to various simulation models, or output data from one simulation model can be used as input data for another simulation model. It becomes possible. That is, by standardizing the structure of input / output data, data distribution between various simulation models can be realized.

シミュレーションモデル間でのデータ流通の一例として津波避難のシミュレーション例を示す。まず、津波に関するシミュレーションで利用可能なデータ構造Aを予め定義する。データ構造Aは、津波の到達タイミングを示す変数や津波の大きさを示す変数などを含むものとする。津波シミュレーションモデルが、地盤の断層パラメータ等を入力として津波の挙動の予測計算を実施し、予測結果としてデータa1を出力する。データa1はデータ構造Aに従って作成されたデータセットである。次に、避難シミュレーションモデルが、データa1を入力として人々の避難行動の予測計算を実施し、予測結果を出力する。このように、シミュレーションシステム100によれば、津波シミュレーションモデルと避難シミュレーションモデルとがデータa1を介して連携する。津波シミュレーションモデルと避難シミュレーションモデルという全く異なる研究分野の専門的知見に基づいて作成されたシミュレーションモデル同士であっても、予め設計された共通のデータ構造を媒介として連携させることができる。   An example of tsunami evacuation simulation is shown as an example of data distribution between simulation models. First, a data structure A that can be used in a tsunami simulation is defined in advance. The data structure A includes a variable indicating the arrival timing of the tsunami, a variable indicating the magnitude of the tsunami, and the like. The tsunami simulation model performs prediction calculation of tsunami behavior using ground fault parameters and the like as input, and outputs data a1 as a prediction result. The data a1 is a data set created according to the data structure A. Next, the evacuation simulation model performs prediction calculation of people's evacuation behavior with the data a1 as input, and outputs a prediction result. Thus, according to the simulation system 100, the tsunami simulation model and the evacuation simulation model are linked through the data a1. Even simulation models created based on expert knowledge in completely different research fields, such as a tsunami simulation model and an evacuation simulation model, can be linked through a common data structure designed in advance.

また、例えば街区や建物内における人々の避難行動、道路上における交通行動、店舗内動線等はいずれも異なるシミュレーションモデルを用いて予測できる。しかしながら、これらのモデルにおけるシミュレーション手法はいずれも人々の空間的な行動を予測し、地理空間における道路や建物の位置、標高等のデータ等に規律されるという共通点がある。このような場合は、例えば座標を用いて地理空間を記述したデータ構造Bを予め定義し、データ構造Bに従う入出力データを媒体とすることで、上述のシミュレーションモデルを空間的に連携させることができる。   In addition, for example, evacuation behavior of people in a block or a building, traffic behavior on a road, traffic flow in a store, and the like can be predicted using different simulation models. However, all of the simulation methods in these models have a common point that they predict people's spatial behavior and are regulated by data such as the position of roads and buildings, altitude, etc. in geospace. In such a case, for example, the above-described simulation model can be spatially linked by defining in advance a data structure B describing a geospace using coordinates and using input / output data according to the data structure B as a medium. it can.

モデル入力部113は、図示しないユーザ端末とネットワーク等を介して接続され、ユーザ端末から送信されたシミュレーションモデルを受信する。シミュレーションモデルとは、所定の形式の入力データを使用し、予め定義された手続や計算式等によって何らかの事象を予測し、予測結果を出力データとして出力するプログラムである。モデル入力部113は、受信したシミュレーションモデルをモデル制御131に引渡す。   The model input unit 113 is connected to a user terminal (not shown) via a network or the like, and receives a simulation model transmitted from the user terminal. The simulation model is a program that uses input data in a predetermined format, predicts some event by a predefined procedure or calculation formula, and outputs a prediction result as output data. The model input unit 113 delivers the received simulation model to the model control 131.

モデル制御部131は、シミュレーションモデルを解釈して計算に必要な入力データを特定する。また、モデル制御部131はデータアクセス共通インターフェースを含み、このインターフェースを使用してユーザデータ格納部121、内部データ格納部123、外部データ参照部125又は結果データ格納部127から必要な入力データを取得する。モデル制御部131は、取得したシミュレーションモデル及び入力データを計算処理制御部133に引渡す。   The model control unit 131 identifies input data necessary for calculation by interpreting the simulation model. The model control unit 131 includes a data access common interface, and uses this interface to obtain necessary input data from the user data storage unit 121, the internal data storage unit 123, the external data reference unit 125, or the result data storage unit 127. To do. The model control unit 131 delivers the acquired simulation model and input data to the calculation processing control unit 133.

図3を用いて、データアクセス共通インターフェースの一例について更に説明する。この例のデータアクセス共通インターフェースは、ユーザデータ格納部121、内部データ格納部123、外部データ参照部125及び結果データ格納部127等のデータソースからそれぞれどのような入力データを取得可能であるかを示す情報(シミュレーションパラメータ)を管理している。また、データアクセス共通インターフェースはこれらのデータソースにアクセスし、データソース毎に予め定められた手順を用いて入力データ(シミュレーション利用データ)を取得することができる。データアクセス共通インターフェースは、例えばデータソースがリレーショナルデータベース等で構成されていればSQLを用いてデータを抽出し、あるいは外部サイトによる公開データを取得したい場合は外部データ参照部125に指令して当該サイトのURLからデータを取得させる。   An example of the data access common interface will be further described with reference to FIG. The data access common interface in this example indicates what input data can be obtained from data sources such as the user data storage unit 121, the internal data storage unit 123, the external data reference unit 125, and the result data storage unit 127. Information to be shown (simulation parameters) is managed. Further, the data access common interface can access these data sources and acquire input data (simulation utilization data) using a procedure predetermined for each data source. For example, if the data source is composed of a relational database or the like, the data access common interface extracts data using SQL, or instructs the external data reference unit 125 to obtain public data from an external site by instructing the relevant site. Data is acquired from the URL.

一方、シミュレーションモデルは、データ取得メソッド(図3の例では“DataAccess.getData”)を呼び出すことで入力データを取得する。モデル制御部131は、シミュレーションモデルからデータ取得メソッドが呼び出されると、データアクセス共通インターフェースに該当する入力データを取得させる。データアクセス共通インターフェースは上述の手順で入力データを取得する。このように、本実施の形態によれば、シミュレーションモデルは実際のデータの所在場所を意識することなく所望の入力データを取得できる。換言すれば、ユーザは入力データの所在を意識することなくシミュレーションモデルを作成できる。そして、上述のように入力データは規格化されているので、どのようなデータソースから取得された入力データであっても、ユーザは統一された方法で入力データを取扱うことができる。   On the other hand, the simulation model acquires input data by calling a data acquisition method (“DataAccess.getData” in the example of FIG. 3). When the data acquisition method is called from the simulation model, the model control unit 131 acquires input data corresponding to the data access common interface. The data access common interface acquires input data in the above-described procedure. Thus, according to this embodiment, the simulation model can acquire desired input data without being aware of the location of actual data. In other words, the user can create a simulation model without being aware of the location of the input data. Since the input data is standardized as described above, the user can handle the input data in a unified manner regardless of the input data acquired from any data source.

計算処理制御部133は、シミュレーションモデル及び入力データを用いて計算を実行する。計算処理制御部133は、好ましくは複数の計算機を備え、これらの計算資源を用いて計算を実行する。計算処理制御部133は、例えば並列処理やオートスケールといった公知の技術により、シミュレーションモデルの実行数や処理内容に応じて自動的に計算リソースの配分及び融通を行うことができる。この場合、ユーザはシミュレーションに必要な計算リソースを意識する必要がない。   The calculation processing control unit 133 executes calculation using the simulation model and input data. The calculation processing control unit 133 preferably includes a plurality of computers and executes calculation using these calculation resources. The calculation processing control unit 133 can automatically allocate and interchange calculation resources in accordance with the number of executions of the simulation model and the processing content by a known technique such as parallel processing or auto scaling. In this case, the user does not need to be aware of the computational resources necessary for the simulation.

従来、ユーザはシミュレーションの実行に必要な多大な計算資源を自ら用意する必要があった。一般にシミュレーションモデルが複雑になるほど計算時間は長くなる。多数の計算機を用意すれば計算時間の短縮は可能であるが、定常的に利用するわけではない計算環境を整備及び維持することは、ユーザにとって過大な負担であった。一方、本実施の形態にかかるシミュレーションシステム100は、複数のユーザが共同利用できる計算資源を備える。そして、各ユーザが要求する計算の内容に応じて必要な計算資源を動的に融通する。したがって、ユーザは目的や予算に応じ必要とするだけの計算資源を利用することができる。   Conventionally, a user has to prepare a large amount of calculation resources necessary for executing a simulation. In general, the more complex the simulation model, the longer the calculation time. If a large number of computers are prepared, the calculation time can be shortened, but maintaining and maintaining a calculation environment that is not constantly used has been an excessive burden on the user. On the other hand, the simulation system 100 according to the present embodiment includes a computing resource that can be shared by a plurality of users. Then, necessary calculation resources are dynamically accommodated according to the contents of calculation requested by each user. Therefore, the user can use as many calculation resources as necessary according to the purpose and budget.

計算処理制御部133は、計算結果である出力データを結果データ格納部127に格納する。出力データもまた規格化されたデータ構造に従って作成される。   The calculation processing control unit 133 stores output data that is a calculation result in the result data storage unit 127. The output data is also created according to a standardized data structure.

結果出力部141は、結果データ格納部127に格納された出力データを外部に出力する。例えば出力データをマップ表示、グラフ表示、数値表示等の形でディスプレイ等に表示しても良い。あるいは出力データをテキスト又は他の任意のファイル形式で出力しても良い。   The result output unit 141 outputs the output data stored in the result data storage unit 127 to the outside. For example, the output data may be displayed on a display or the like in the form of map display, graph display, numerical display, or the like. Alternatively, the output data may be output in text or any other file format.

つづいて、図4のフローチャートを用いて、シミュレーションシステム100の動作について説明する。   Next, the operation of the simulation system 100 will be described using the flowchart of FIG.

S101:モデル入力
モデル入力部113は、ユーザ端末から送信されたシミュレーションモデルを受信する。上述のように、典型的なシミュレーションモデルは、入力データを取得するための指令を含んでいる。
S101: Model input The model input unit 113 receives a simulation model transmitted from a user terminal. As described above, a typical simulation model includes a command for acquiring input data.

S102:ユーザデータ入力
ユーザデータ入力部111は、ユーザ端末からユーザデータが送信されたならばこれを受信し、ユーザデータ格納部121に格納する。上述のように、ユーザデータは予め定義された所定のデータ構造を備えるデータである。
S102: User Data Input The user data input unit 111 receives user data transmitted from the user terminal and stores it in the user data storage unit 121. As described above, user data is data having a predetermined data structure defined in advance.

S103:シミュレーション利用データ取得
モデル制御部131は、モデル入力部113が受信したシミュレーションモデルを解釈して、計算に必要な入力データを特定する。典型的には、モデル制御部131は、シミュレーションモデルに記述された上述の指令に基づいて取得すべき入力データを特定できる。データアクセス共通インターフェースが、ユーザデータ格納部121、内部データ格納部123、外部データ参照部125及び結果データ格納部127等のデータソースにアクセスして必要な入力データを取得する。上述のように、取得される入力データは予め定義された所定のデータ構造を備えている。
S103: Acquisition of Simulation Use Data The model control unit 131 interprets the simulation model received by the model input unit 113 and specifies input data necessary for calculation. Typically, the model control unit 131 can specify input data to be acquired based on the above-described command described in the simulation model. The data access common interface accesses data sources such as the user data storage unit 121, the internal data storage unit 123, the external data reference unit 125, the result data storage unit 127, and acquires necessary input data. As described above, the acquired input data has a predetermined data structure defined in advance.

S104:シミュレーション実行
計算処理制御部133は、シミュレーションモデル及びデータアクセス共通インターフェースが取得した入力データを用いて計算を実行する。この際、計算処理制御部133は計算処理に必要な計算資源を動的に割当てることが好ましい。
S104: Simulation Execution The calculation processing control unit 133 executes calculation using input data acquired by the simulation model and the data access common interface. At this time, it is preferable that the calculation processing control unit 133 dynamically allocates calculation resources necessary for the calculation processing.

S105:シミュレーション結果データ格納
計算処理制御部133は、計算結果である出力データを結果データ格納部127に格納する。上述のように、格納される出力データも予め定義された所定のデータ構造を備えている。結果データ格納部127に格納されたデータは、他のシミュレーションモデルに対する入力データとしても利用可能となる。
S105: Simulation Result Data Storage The calculation processing control unit 133 stores output data that is a calculation result in the result data storage unit 127. As described above, the output data to be stored also has a predetermined data structure defined in advance. The data stored in the result data storage unit 127 can be used as input data for other simulation models.

S106:結果出力
結果出力部141は、結果データ格納部127に格納された出力データを外部に出力する。
S106: Result Output The result output unit 141 outputs the output data stored in the result data storage unit 127 to the outside.

本実施の形態においては、ユーザデータ格納部121、内部データ格納部123、外部データ参照部125、結果データ格納部127は全て、共通の形式に従って作成された入力データを供給する。これにより、シミュレーションシステム100のプラットフォーム上で実行されるシミュレーションモデルは、規格化された入出力データを用いることになる。これにより、様々なシミュレーションモデル間でのデータの流通を実現することができ、ユーザ間の連携を促進できる。   In the present embodiment, the user data storage unit 121, the internal data storage unit 123, the external data reference unit 125, and the result data storage unit 127 all supply input data created according to a common format. As a result, the standardized input / output data is used for the simulation model executed on the platform of the simulation system 100. Thereby, data distribution between various simulation models can be realized, and cooperation between users can be promoted.

また、本実施の形態においては、計算処理制御部133が、計算処理に必要な計算リソースを自動的に配分及び融通する。これにより、ユーザは計算リソースを意識することなくシミュレーションを実行することができる。   In the present embodiment, the calculation processing control unit 133 automatically allocates and accommodates calculation resources necessary for calculation processing. As a result, the user can execute the simulation without being aware of the calculation resources.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。本発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention. Within the scope of the present invention, the present invention can be modified with any component of the embodiment or omitted with any component of the embodiment.

例えば、ユーザデータ格納部121、内部データ格納部123、外部データ参照部125又は結果データ格納部127は、入力データだけでなく、様々なシミュレーションモデルから呼出し可能な組込み関数及び計算ライブラリ等を提供しても良い。典型的にはデータアクセス共通インターフェースが入力データと同様の手順でこれらのモジュールを取得できる。   For example, the user data storage unit 121, the internal data storage unit 123, the external data reference unit 125, or the result data storage unit 127 provides not only input data but also built-in functions and calculation libraries that can be called from various simulation models. May be. Typically, the data access common interface can acquire these modules in the same procedure as the input data.

また、ユーザデータ格納部121、内部データ格納部123又は結果データ格納部127は、ユーザが作成したシミュレーションモデルを提供しても良い。典型的にはモデル制御部131が、モデル入力部113から入力されたシミュレーションモデルをこれらの格納部のいずれかに格納する。そして、シミュレーションシステム100は、過去に作成されたシミュレーションモデルを検索するためのインターフェースを備えることで、ユーザが所望のシミュレーションモデルを発見できるよう構成されても良い。これにより、あるユーザが自らの研究分野の専門的知見にもとづいて作成したシミュレーションモデルを、他の分野のユーザも利用できるようになる。すなわち、異なる研究分野に属するユーザ間でシミュレーションモデルを流通させることができる。   The user data storage unit 121, the internal data storage unit 123, or the result data storage unit 127 may provide a simulation model created by the user. Typically, the model control unit 131 stores the simulation model input from the model input unit 113 in any of these storage units. The simulation system 100 may be configured so that a user can find a desired simulation model by providing an interface for searching for a simulation model created in the past. This makes it possible for a user in another field to use a simulation model created by one user based on his / her specialized knowledge in his / her research field. That is, a simulation model can be distributed among users belonging to different research fields.

また、上述の実施の形態では、本発明を主にハードウェア構成として説明したが、これに限定されるものではなく、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。この場合、コンピュータプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non−transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   In the above-described embodiment, the present invention has been mainly described as a hardware configuration. However, the present invention is not limited to this, and arbitrary processing is performed by causing a CPU (Central Processing Unit) to execute a computer program. It can also be realized. In this case, the computer program can be stored and provided to the computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

100 シミュレーションシステム
111 ユーザデータ入力部
113 モデル入力部
121 ユーザデータ格納部
123 内部データ格納部
125 外部データ参照部
127 結果データ格納部
131 モデル制御部
133 計算処理制御部
141 結果出力部
DESCRIPTION OF SYMBOLS 100 Simulation system 111 User data input part 113 Model input part 121 User data storage part 123 Internal data storage part 125 External data reference part 127 Result data storage part 131 Model control part 133 Calculation processing control part 141 Result output part

Claims (9)

予め定義されたデータ構造を有する入力データを提供するデータソースと、
シミュレーションモデルの入力を受け付けるモデル入力部と、
前記シミュレーションモデルの実行に必要な前記入力データを前記データソースから取得するモデル制御部と、
前記シミュレーションモデルによる計算を実行し、計算結果として出力データを生成する計算処理制御部と、
前記出力データを出力する結果出力部と、を有する
シミュレーションシステム。
A data source that provides input data having a predefined data structure;
A model input unit for receiving an input of a simulation model;
A model control unit for acquiring the input data necessary for execution of the simulation model from the data source;
A calculation processing control unit that executes calculation based on the simulation model and generates output data as a calculation result;
And a result output unit for outputting the output data.
前記データ構造を有するユーザデータの入力を受け付けるユーザデータ入力部をさらに有し、
前記データソースは、前記ユーザデータを格納するユーザデータ格納部を含む
請求項1記載のシミュレーションシステム。
A user data input unit that receives input of user data having the data structure;
The simulation system according to claim 1, wherein the data source includes a user data storage unit that stores the user data.
前記計算処理制御部は、前記データ構造を有する出力データを出力し、
前記データソースは、前記出力データを格納する結果データ格納部を含む
請求項1記載のシミュレーションシステム。
The calculation processing control unit outputs output data having the data structure,
The simulation system according to claim 1, wherein the data source includes a result data storage unit that stores the output data.
前記データソースは、外部から取得したデータを前記データ構造を有する前記入力データとして提供する外部データ参照部を含む
請求項1記載のシミュレーションシステム。
The simulation system according to claim 1, wherein the data source includes an external data reference unit that provides externally acquired data as the input data having the data structure.
前記モデル制御部は、前記データソースに含まれる複数の前記入力データ提供手段それぞれから前記入力データを取得するデータアクセス共通インターフェースを有する
請求項1記載のシミュレーションシステム。
The simulation system according to claim 1, wherein the model control unit includes a data access common interface that acquires the input data from each of the plurality of input data providing units included in the data source.
前記シミュレーションモデルは、前記入力データを取得するためのメソッド呼出しを含み、
前記モデル制御部は、前記メソッド呼出しに応じて前記入力データを前記データソースから取得する
請求項1記載のシミュレーションシステム。
The simulation model includes a method call for obtaining the input data,
The simulation system according to claim 1, wherein the model control unit acquires the input data from the data source in response to the method call.
前記計算処理制御部は、前記計算に必要なリソースを動的に割り当てる
請求項1記載のシミュレーションシステム。
The simulation system according to claim 1, wherein the calculation processing control unit dynamically allocates a resource necessary for the calculation.
コンピュータが、
シミュレーションモデルの入力を受け付けるモデル入力ステップと、
前記シミュレーションモデルの実行に必要な、予め定義されたデータ構造を有する入力データを、データソースから取得するモデル制御ステップと、
前記シミュレーションモデルによる計算を実行し、計算結果として出力データを生成する計算処理制御ステップと、
前記出力データを出力する結果出力ステップと、を有する
シミュレーション方法。
Computer
A model input step for receiving an input of a simulation model;
A model control step of acquiring input data having a predefined data structure necessary for execution of the simulation model from a data source;
A calculation processing control step of executing calculation by the simulation model and generating output data as a calculation result;
And a result output step for outputting the output data.
コンピュータに請求項8記載のシミュレーション方法を実行させるためのプログラム。
A program for causing a computer to execute the simulation method according to claim 8.
JP2016137137A 2016-07-11 2016-07-11 Simulation system, simulation method, and program Pending JP2018010381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016137137A JP2018010381A (en) 2016-07-11 2016-07-11 Simulation system, simulation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016137137A JP2018010381A (en) 2016-07-11 2016-07-11 Simulation system, simulation method, and program

Publications (1)

Publication Number Publication Date
JP2018010381A true JP2018010381A (en) 2018-01-18

Family

ID=60994363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016137137A Pending JP2018010381A (en) 2016-07-11 2016-07-11 Simulation system, simulation method, and program

Country Status (1)

Country Link
JP (1) JP2018010381A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536454A (en) * 2021-06-04 2021-10-22 卡斯柯信号有限公司 TACS system performance simulation method, device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916244A (en) * 1995-07-04 1997-01-17 Sanyo Electric Co Ltd Method and device for simulation
JPH10207506A (en) * 1997-01-17 1998-08-07 Sony Corp Virtual factory system and manufacturing management system
US20090125918A1 (en) * 2007-11-13 2009-05-14 Microsoft Corporation Shared sensing system interfaces
JP2011258074A (en) * 2010-06-10 2011-12-22 Fujitsu Ltd Simulation development support device, simulation development support method and program
JP5445722B1 (en) * 2012-09-12 2014-03-19 オムロン株式会社 Data flow control command generation device and sensor management device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916244A (en) * 1995-07-04 1997-01-17 Sanyo Electric Co Ltd Method and device for simulation
JPH10207506A (en) * 1997-01-17 1998-08-07 Sony Corp Virtual factory system and manufacturing management system
US20090125918A1 (en) * 2007-11-13 2009-05-14 Microsoft Corporation Shared sensing system interfaces
JP2011258074A (en) * 2010-06-10 2011-12-22 Fujitsu Ltd Simulation development support device, simulation development support method and program
JP5445722B1 (en) * 2012-09-12 2014-03-19 オムロン株式会社 Data flow control command generation device and sensor management device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536454A (en) * 2021-06-04 2021-10-22 卡斯柯信号有限公司 TACS system performance simulation method, device, electronic equipment and medium
CN113536454B (en) * 2021-06-04 2022-08-30 卡斯柯信号有限公司 TACS system performance simulation method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN107918600B (en) Report development system and method, storage medium and electronic equipment
Agliamzanov et al. Hydrology@ Home: a distributed volunteer computing framework for hydrological research and applications
CN107451109B (en) Report generation method and system
TW202016761A (en) Data processing method, device and equipment
US20170187711A1 (en) Information providing method and device
US11093642B2 (en) Push down policy enforcement
CN111177400A (en) Method and device for associated display of equipment, business and data based on knowledge graph
EP3336778A1 (en) Policy introduced effect prediction apparatus, policy introduced effect prediction program, and policy introduced effect prediction method
CN109086140A (en) The method, apparatus and storage medium of data processing are carried out in block chain
WO2021036449A1 (en) Dimension data processing method and apparatus, computer device, and storage medium
CN112422638A (en) Data real-time stream processing method, system, computer device and storage medium
WO2021008576A1 (en) Context information management method, device, and system, and computer-readable storage medium
CN114327807B (en) Adaptive task scheduling methods, apparatus, and electronic devices for distributed rule engines
US9794743B2 (en) Method for performing distributed geographic event processing and geographic event processing system
US11900269B2 (en) Method and apparatus for managing knowledge base, device and medium
CN105046387A (en) Comprehensive analyzing subsystem of digital city monitoring center and working method thereof
JP2018010381A (en) Simulation system, simulation method, and program
KR20230119543A (en) Method, device and system for recommending matching information for projects tailored to the company's capacity based on artificial intelligence
CN112948099B (en) Task issuing flow method and device, computer equipment and storage medium
CN111949336B (en) Function file adjustment method, device, computer equipment and storage medium
CN116842011B (en) Blood relation analysis methods, apparatus, computer equipment and storage media
US11188526B2 (en) Database query creation
CN115543428A (en) Simulated data generation method and device based on strategy template
WO2016201813A1 (en) Dynamic layout method and system based on android
CN116775276A (en) Distributed computing methods, devices, equipment and storage media

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200812

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20201011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210112

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20210315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220510