JP5653250B2 - Data analysis support device, data analysis support method and program - Google Patents
Data analysis support device, data analysis support method and program Download PDFInfo
- Publication number
- JP5653250B2 JP5653250B2 JP2011034936A JP2011034936A JP5653250B2 JP 5653250 B2 JP5653250 B2 JP 5653250B2 JP 2011034936 A JP2011034936 A JP 2011034936A JP 2011034936 A JP2011034936 A JP 2011034936A JP 5653250 B2 JP5653250 B2 JP 5653250B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- definition data
- definition
- name
- location
- 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.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、データ分析支援装置、データ分析支援方法及びプログラムに関する。 The present invention relates to a data analysis support device, a data analysis support method, and a program.
計算機の性能向上に伴い、電気所などで観測されたデータを演算式に適用する演算処理が大量に行われている。ある演算結果を他の演算式に適用することも行われており、データの変更や演算式の変更などによる影響は広範囲に及ぶ。データや演算式を変更する場合などには、演算式に用いられるデータを一覧出力し、データの影響が及ぶ範囲などを確認している。このようなデータの視認性を高めたいというニーズがある。 Along with the improvement in the performance of computers, a large amount of arithmetic processing is performed to apply data observed at an electric power station to arithmetic expressions. A certain calculation result is also applied to other calculation expressions, and the influence due to the change of the data or the change of the calculation expression has a wide range. When changing data or arithmetic expressions, a list of data used in the arithmetic expressions is output to check the range of influence of the data. There is a need to improve the visibility of such data.
データの視認性を高めるためにはデータをツリー状に表示することが考えられる。例えば特許文献1では、ツリー構造のデータをツリー表示させる場合に、親要素を親ノードとして表示できないときには、親要素であることを判別可能としつつ、子ノードとして表示することで、下位層の要素をルートノードとして要素全体を表示できるようにしている。
In order to improve the visibility of data, it is conceivable to display the data in a tree shape. For example, in
しかしながら、特許文献1のプログラムではツリー構造のデータを前提としており、演算式に用いられるデータを一覧出力したものはツリー構造のデータではないので、特許文献1のプログラムでは演算式に用いられるデータをツリー状に表示することができない。
However, the program of
本発明は、このような背景を鑑みてなされたものであり、演算式に適用されるデータをツリー状に出力できる、データ分析支援装置、データ分析支援方法及びプログラムを提供することを目的とする。 The present invention has been made in view of such a background, and an object thereof is to provide a data analysis support device, a data analysis support method, and a program capable of outputting data applied to an arithmetic expression in a tree shape. .
上記課題を解決するための本発明の主たる発明は、データの分析を支援する装置であって、1つ以上の第1の変数を含む演算式にデータを代入して結果を算出する演算装置から前記演算式ごとに出力される、前記第1の変数を示す第1のデータIDと、前記結果を代入する第2の変数を示す第2のデータIDと、前記第2の変数に関する場所を特定する場所IDと、を含む定義データの入力を受け付ける定義データ入力部と、前記定義データを記憶する定義データ記憶部と、場所IDの入力を受け付け、前記受け付けた場所IDを含む前記定義データを前記定義データ記憶部から読み出してルートノードとし、前記ルートノードを親ノードとして前記親ノードに含まれる前記第1のデータIDのそれぞれについて、前記第1のデータIDと一致する前記第2のデータIDを含む前記定義データを前記定義データ記憶部から読み出して子ノードとし、前記子ノードのそれぞれを前記親ノードとして前記子ノードの読み出しを繰り返し、前記ルートノードをルートとするツリー状に前記定義データに基づく情報を出力する解析処理部と、を備えることとする。 A main invention of the present invention for solving the above-described problem is an apparatus that supports data analysis, from an arithmetic apparatus that calculates a result by substituting data into an arithmetic expression including one or more first variables. The first data ID indicating the first variable, the second data ID indicating the second variable to which the result is substituted, and the location relating to the second variable are specified for each arithmetic expression. A definition data input unit that receives an input of definition data including a location ID, a definition data storage unit that stores the definition data, an input of a location ID, and the definition data that includes the received location ID Read from the definition data storage unit as a root node, and use the root node as a parent node and each of the first data IDs included in the parent node is identical to the first data ID. The definition data including the second data ID to be read from the definition data storage unit is used as a child node, each of the child nodes is used as the parent node, and reading of the child node is repeated, and the root node is used as a root. An analysis processing unit that outputs information based on the definition data in a tree shape.
また、本発明の記載のデータ分析支援装置では、前記定義データにはさらに、前記結果データを説明する結果名が含まれ、前記解析処理部は、前記定義データに含まれる前記結果名を前記定義データに基づく情報として前記ツリー状に出力するようにしてもよい。 In the data analysis support device according to the present invention, the definition data further includes a result name for explaining the result data, and the analysis processing unit defines the result name included in the definition data as the definition. You may make it output in the said tree form as information based on data.
また、本発明のデータ分析支援装置では、前記定義データにはさらに、前記演算式を示す演算コードが含まれ、前記データ分析支援装置はさらに、前記演算コードに対応づけて、前記演算式を説明する演算名を記憶する演算名記憶部を備え、前記解析処理部は、前記定義データを出力する際に、前記定義データに含まれる前記演算コードに対応する前記演算名を前記演算名記憶部から読み出し、前記結果名に対応づけて前記演算名を出力するようにしてもよい。 In the data analysis support device of the present invention, the definition data further includes an operation code indicating the operation expression, and the data analysis support device further explains the operation expression in association with the operation code. An operation name storage unit that stores an operation name to be stored, and the analysis processing unit outputs the operation name corresponding to the operation code included in the definition data from the operation name storage unit when outputting the definition data. The operation name may be output after being read and associated with the result name.
また、本発明のデータ分析支援装置では、前記場所IDに対応づけて前記場所を説明する場所名を記憶する場所名記憶部をさらに備え、前記解析処理部は、前記定義データを出力する際に、前記定義データに含まれる前記場所IDに対応する前記場所名を前記場所名記憶部から読み出し、前記結果名に対応づけて前記場所名を出力するようにしてもよい。 The data analysis support device of the present invention further includes a place name storage unit that stores a place name that describes the place in association with the place ID, and the analysis processing unit outputs the definition data. The location name corresponding to the location ID included in the definition data may be read from the location name storage unit, and the location name may be output in association with the result name.
また、本発明のデータ分析支援装置であって、前記結果コードの指定を受け付けるコード指定部を備え、前記解析処理部は、前記受け付けた結果コードに対応する前記定義データに基づく情報を出力する際には、前記定義データに基づく情報が強調されるように出力するようにしてもよい。 The data analysis support apparatus according to the present invention further includes a code designating unit that accepts designation of the result code, and the analysis processing unit outputs information based on the definition data corresponding to the accepted result code. May be output so that information based on the definition data is emphasized.
また、本発明のデータ分析支援装置では、前記解析処理部は、前記定義データ記憶部に記憶されている前記定義データのそれぞれについて、前記定義データを前記親ノードとして前記子ノードの読み出しを繰り返していき、前記定義データに基づく情報を前記ツリー状に出力するようにしてもよい。 In the data analysis support device of the present invention, the analysis processing unit repeatedly reads out the child node with the definition data as the parent node for each of the definition data stored in the definition data storage unit. The information based on the definition data may be output in the form of a tree.
また、本発明の他の態様は、データの分析を支援する方法であって、コンピュータが、1つ以上の第1の変数を含む演算式にデータを代入して結果を算出する演算装置から前記演算式ごとに出力される、前記第1の変数を示す第1のデータIDと、前記結果を代入する第2の変数を示す第2のデータIDと、前記第2の変数に関する場所を特定する場所IDと、を含む定義データの入力を受け付け、前記定義データをメモリに記憶し、場所IDの入力を受け付け、前記受け付けた場所IDを含む前記定義データを前記定義データ記憶部から読み出してルートノードとし、前記ルートノードを親ノードとして前記親ノードに含まれる前記第1のデータIDのそれぞれについて、前記第1のデータIDと一致する前記第2のデータIDを含む前記定義データを前記定義データ記憶部から読み出して子ノードとし、前記子ノードのそれぞれを前記親ノードとして前記子ノードの読み出しを繰り返し、前記ルートノードをルートとするツリー状に前記定義データに基づく情報を出力することとする。 According to another aspect of the present invention, there is provided a method for supporting data analysis, wherein a computer substitutes data into an arithmetic expression including one or more first variables to calculate a result from the arithmetic device. The first data ID indicating the first variable, the second data ID indicating the second variable to which the result is substituted, and the location relating to the second variable are specified for each arithmetic expression. Receiving the definition data including the location ID , storing the definition data in the memory, receiving the input of the location ID , and reading the definition data including the received location ID from the definition data storage unit And the second data ID that matches the first data ID for each of the first data IDs included in the parent node with the root node as a parent node. Read the definition data from the definition data storage unit as child nodes, repeat the reading of the child nodes with each of the child nodes as the parent node, and information based on the definition data in a tree shape with the root node as a root It will output.
また、本発明の他の態様は、データの分析を支援するためのプログラムであって、コンピュータに、1つ以上の第1の変数を含む演算式にデータを代入して結果を算出する演算装置から前記演算式ごとに出力される、前記第1の変数を示す第1のデータIDと、前記結果を代入する第2の変数を示す第2のデータIDと、前記第2の変数に関する場所を特定する場所IDと、を含む定義データの入力を受け付けるステップと、前記定義データをメモリに記憶するステップと、場所IDの入力を受け付け、前記受け付けた場所IDを含む前記定義データを前記定義データ記憶部から読み出してルートノードとし、前記ルートノードを親ノードとして前記親ノードに含まれる前記第1のデータIDのそれぞれについて、前記第1のデータIDと一致する前記第2のデータIDを含む前記定義データを前記定義データ記憶部から読み出して子ノードとし、前記子ノードのそれぞれを前記親ノードとして前記子ノードの読み出しを繰り返し、前記ルートノードをルートとするツリー状に前記定義データに基づく情報を出力するステップと、を実行させることとする。 According to another aspect of the present invention, there is provided a program for supporting data analysis, wherein an arithmetic device that calculates a result by substituting data into an arithmetic expression including one or more first variables in a computer The first data ID indicating the first variable, the second data ID indicating the second variable to which the result is substituted, and the location relating to the second variable are output for each arithmetic expression from a step of accepting an input of a definition data including a location ID for identifying, and storing the definition data in memory, accepts the input of the location ID, the definition data store the definition data including the location ID of the accepted Each of the first data IDs included in the parent node with the root node as a parent node. The definition data including the second data ID to be read from the definition data storage unit is used as a child node, each of the child nodes is used as the parent node, and reading of the child node is repeated, and the root node is used as a root. And outputting information based on the definition data in a tree shape.
その他本願が開示する課題やその解決方法については、発明の実施形態の欄及び図面により明らかにされる。 Other problems and solutions to be disclosed by the present application will be made clear by the embodiments of the invention and the drawings.
本発明によれば、演算式に適用されるデータをツリー状に出力することができる。 According to the present invention, data applied to an arithmetic expression can be output in a tree shape.
図1は、本実施形態に係る分析支援装置20を含むコンピュータシステムを説明するための図である。コンピュータシステムには、演算装置10と分析支援装置20とが含まれる。
FIG. 1 is a diagram for explaining a computer system including an
演算装置10は、各種のデータを蓄積し(以下、演算装置10に蓄積されるデータを「蓄積データ」という。)、その蓄積データについて各種の演算を行う。演算は、演算式を用いて行われる。演算式には1つ以上の変数(以下、「パラメタ」という。)が含まれ、演算式のパラメタに蓄積データを代入して、演算式の評価値(以下、「結果データ」という。)を求める。結果データを代入するための変数を単に「結果」という。
The
演算装置10は、例えば、パーソナルコンピュータやワークステーションなどのコンピュータである。演算装置10は、ユーザから演算式やそのパラメタの指定を受け付け、演算式を識別する情報(以下、「演算ID」という。)と、パラメタを識別する識別情報(以下、「パラメタID」という。)と、を含む情報(以下、「演算モデル」という。)を作成する。演算装置10は、演算モデルに含まれるパラメタIDが示す蓄積データを、演算モデルに含まれる演算式のパラメタに適用して結果データを算出する。結果データは、蓄積データとして蓄積される。演算装置10は、演算モデルを表す情報(以下、「定義データ」という。)を出力することができる。
The
分析支援装置20は、演算装置10で出力された定義データを解析して、解析結果を出力する、例えばパーソナルコンピュータやワークステーション、PDA(Personal Digital Assistant)、携帯電話などのコンピュータである。
The
演算装置10にはコネクタ11が備えられ、分析支援装置20にはコネクタ21が備えられる。コネクタ11及びコネクタ21は、例えばUSB(Universal Serial Bus)やRS232Cなどのシリアル通信を行うためのアダプタや、イーサネット(登録商標)や赤外線、無線などによる通信を行うためのアダプタなどである。本実施形態では、コネクタ11及びコネクタ21はUSBに準拠したシリアル通信を行うためのアダプタであるものとする。
The
コネクタ11に可搬型のメモリ30を挿入することで、演算装置10は定義データをメモリ30に書き出すことができる。可搬型のメモリ30は、例えば、フラッシュメモリやハードディスクドライブなどである。定義データが書き込まれたメモリ30をコネクタ21に挿入することで、分析支援装置20は定義データを読み出して解析し出力することができる。
By inserting the
本実施形態の分析支援装置20は、定義データに基づいて、パラメタデータの依存関係を出力しようとするものである。
The
==演算装置10==
図2は演算装置10のハードウェア構成を示す図である。演算装置10は、コネクタ11、CPU101、メモリ102、記憶装置103、入力装置105、出力装置106を備える。記憶装置103は各種のデータやプログラムを記憶する、例えばハードディスクドライブやフラッシュメモリなどである。CPU101は、記憶装置103に記憶されているプログラムをメモリ102に読み出して実行することにより各種の機能を実現する。入力装置105は、データの入力を受け付ける、例えばキーボードやマウス、タッチパネル、マイクロフォンなどである。出力装置106は、データを出力する、例えばディスプレイやプリンタ、スピーカなどである。
==
FIG. 2 is a diagram illustrating a hardware configuration of the
図3は演算装置10のソフトウェア構成を示す図である。演算装置10は演算モデル定義部111、演算処理部112、定義データ出力部113、データ記憶部131、データ名記憶部132、演算モデル記憶部133を備える。なお、演算モデル定義部111、演算処理部112、定義データ出力部113は、CPU101が記憶装置103に記憶されているプログラムをメモリ102に読み出して実行することにより実現され、データ記憶部131、データ名記憶部132、演算モデル記憶部133は、メモリ102や記憶装置103が提供する記憶領域の一部として実現される。
FIG. 3 is a diagram illustrating a software configuration of the
データ記憶部131は、蓄積データを記憶する。蓄積データは、1つのスカラ値であってもよいし、複数のスカラ値を並べたデータ列や、ベクトル値などであってもよい。蓄積データは例えばファイルとして記録することが可能であり、この場合データ記憶部131はファイルシステムとして実装される。なお、データ記憶部131には予め蓄積データが記憶されているものとする。
The
蓄積データには、パラメタまたは結果を識別する識別情報(以下、「データID」という。パラメタを示すデータIDがパラメタIDであり、結果を示すデータIDを「結果ID」という。)と、パラメタまたは結果を表すデータ名とが割り当てられる。データ名記憶部132は、データIDに対応づけてデータ名を記憶する。なお、本実施形態では、蓄積データは電気所ごとのデータであるものとし、データIDには、蓄積データが関連する電気所の識別情報(以下、「電気所ID」という。)が含まれる。データIDの上位3桁は電気所IDであるものとする。
The accumulated data includes identification information for identifying a parameter or a result (hereinafter referred to as “data ID”. A data ID indicating a parameter is a parameter ID, and a data ID indicating a result is referred to as a “result ID”), a parameter or a result A data name representing the result is assigned. The data
演算モデル記憶部133は、演算モデルを記憶する。演算モデルには、演算式を評価した結果を示す結果ID、演算式を示す演算ID、その演算式に含まれるパラメタを示すパラメタIDが含まれる。演算モデルには、パラメタの数だけパラメタIDが含まれることになる。例えば、2つの変数を有する引き算であるy=x1−x2について、演算式x1−x2の演算IDが「0001」、結果yの結果IDが「0002」、パラメタx1のパラメタIDが「0003」、パラメタx2のパラメタIDが「0004」である場合に、演算モデルは、例えば「0001(0002,0003,0004)」などと表現することができる。なお、演算モデルには、一般的な演算式の保存形式を採用することができるが、後述するように、本実施形態では、演算モデルは、結果ID、結果名、演算ID、パラメタID1、・・・、パラメタIDnという項目を有する形式であるものとする。また、演算式には、四則演算に限らず、各種の統計演算等のデータ演算を行うための式とすることができる。
The calculation
演算モデル定義部111は、演算モデルを作成して演算モデル記憶部133に登録する。演算モデル定義部111は、ユーザから演算式やパラメタIDなどの入力を受け付けて演算モデルを作成する。
The calculation
図4は、演算モデル定義部111がユーザからのデータの入力を受け付けるためのユーザインタフェースの一例である画面12を示す図である。画面12には、電気所を選択するためのプルダウンリスト121、結果を表す名称(以下、「結果名」という。)を入力するための入力欄122、演算式を指定するためのプルダウンリスト123、パラメタIDの入力欄123、パラメタデータのデータ名(以下、「パラメタ名」という。)の表示欄125を備える。予め、プルダウンリスト121には利用可能な電気所の名称(以下、「電気所名」という。)が登録されており、プルダウンリスト123には、利用可能な演算式が登録されている。
FIG. 4 is a diagram illustrating a
入力欄122に結果名が入力されると、演算モデル定義部111は、入力欄122に入力された結果名をデータ名記憶部132から検索する。演算モデル定義部111は、結果名が登録されていない場合には、新たなIDを取得し、プルダウンリスト121に選択されている電気所を示す電気所IDと、取得したIDとを結合してデータIDを生成し、生成したデータIDに対応づけて結果名をデータ名記憶部132に登録する。演算モデル定義部111は、結果名が登録されている場合には、対応するデータIDをデータ名記憶部132から取得し、取得したデータIDの上位3桁の電気所IDが示す電気所をプルダウンリスト121から選択する。
When the result name is input to the
入力欄124にパラメタIDが入力されると、演算モデル定義部111はパラメタIDに対応するデータ名をデータ名記憶部132から読み出して表示欄125に表示する。
When the parameter ID is input to the
演算モデル定義部111は、入力欄122に入力された結果名に対応するデータIDを結果IDとし、プルダウンリスト123で選択された演算式を示す演算ID、入力欄124に入力されたパラメタIDを含む演算モデル13を作成し、作成した演算モデル13を演算モデル記憶部133に登録する。
The calculation
演算処理部112は、演算モデルに含まれる演算式に、演算モデルに含まれるデータ名が示すパラメタデータを適用して結果を算出し、算出した結果を蓄積データ記憶部131に蓄積する。演算処理部112は、例えば、蓄積データ記憶部131に新たなデータが登録されたことを検知して、演算モデル記憶部133に登録されている各演算モデルについて、演算モデルに含まれるパラメタIDに対応する蓄積データをパラメタデータとして蓄積データ記憶部131から読み出し、読み出したパラメタデータを、演算モデルに含まれる演算IDが示す演算式に適用して演算結果を算出し、算出した演算結果を、演算モデルに含まれる結果IDが示すデータとして蓄積データ記憶部131に登録する。
The
定義データ出力部113は、演算モデルに基づいて、定義データをメモリ30に書き出す。本実施形態では、定義データ出力部113は、演算モデル記憶部133に記憶されている演算モデルをそのまま定義データとしてメモリ30に書き出すものとするが、例えば演算モデルには、結果IDや演算ID、パラメタIDに代えて結果名や演算式、パラメタ名などを含めるようにしておき、結果名、演算式、パラメタ名に対応する結果ID、演算ID、パラメタIDを定義データに含めて書き出すようにしてもよい。また、演算モデルには、演算処理に必要な各種の情報を含めるようにすることもできるが、定義データ出力部113は、演算モデルに含まれている結果ID、演算ID、パラメタIDのみを抽出して定義データに含めて書き出すようにすることもできる。定義データ出力部113は、ユーザからの指示に応じて定義データをメモリ30に書き出すようにしてもよいし、メモリ30がコネクタ11に挿入されたことを検知して書き出すようにしてもよい。
The definition
以上のように、演算装置10からは定義データがメモリ30に書き出される。ユーザはメモリ30を演算装置10のコネクタ11から外し、分析支援装置20のコネクタ21に接続することで、分析支援装置20において定義データの解析処理を可能とする。
As described above, definition data is written from the
図5は分析支援装置20のハードウェア構成を示す図である。分析支援装置20は、コネクタ21、CPU201、メモリ202、記憶装置203、入力装置205、出力装置206を備える。記憶装置203は各種のデータやプログラムを記憶する、例えばハードディスクドライブやフラッシュメモリなどである。CPU201は、記憶装置203に記憶されているプログラムをメモリ202に読み出して実行することにより各種の機能を実現する。入力装置205は、データの入力を受け付ける、例えばキーボードやマウス、タッチパネル、マイクロフォンなどである。出力装置206は、データを出力する、例えばディスプレイやプリンタ、スピーカなどである。
FIG. 5 is a diagram illustrating a hardware configuration of the
図6は分析支援装置20のソフトウェア構成を示す図である。分析支援装置20は、定義データ取得部211、解析処理部212、定義データ記憶部231、及び名称記憶部232を備えている。なお、定義データ取得部211、解析処理部212は、分析支援装置20が備えるCPU201が記憶装置203に記憶されているプログラムをメモリ202に読み出して実行することにより実現され、定義データ記憶部231、名称記憶部232は、メモリ202や記憶装置203が提供する記憶領域の一部として実現される。
FIG. 6 is a diagram illustrating a software configuration of the
定義データ記憶部231は、定義データを記憶する。図7は、定義データ記憶部231に登録される定義データの構成例を示す図である。本実施形態では、定義データは上述した図4に示す演算モデル13と同じ構成であり、結果ID、結果名及び演算IDと、結果ID及び結果名が示すデータを算出するために必要なパラメタデータの数だけのパラメタIDとが含まれる。
The definition
定義データ取得部211は、メモリ30から定義データを読み出す。定義データ取得部211は、ユーザからの指示に応じて定義データを読み出すものとするが、例えば、メモリ30がコネクタ21に挿入されたことを検知して読み出すようにしてもよい。定義データ取得部211は、読み出した定義データを定義データ記憶部231に登録する。
The definition
名称記憶部232は、電気所名と演算名を管理する。図8は名称記憶部232の構成例を示す図である。名称記憶部232は、電気所IDに対応づけて電気所名を記憶するとともに、演算IDに対応づけて演算式を説明するための情報(以下、「演算名」という。)を記憶する。
The
解析処理部212は、データの関連性を解析して出力する。後述するように、解析処理部212は、データの関連性をツリー形式で表示する。
The
図9は分析支援装置20が表示する画面40の一例を示す図である。画面40には、ボタン401〜404と、電気所IDの入力欄405と、データIDの入力欄406が表示される。ボタン401が押下されると、定義データ取得部211がメモリ30から定義データを読み出す。ボタン401〜404のいずれかが押下されると、データの関連性の表示処理が行われる。
FIG. 9 is a diagram illustrating an example of a
図10は解析処理部212による処理の流れを示す図である。
画面40においてボタン402が押下されると(S501:YES)、解析処理部212は、名称記憶部232に登録されている電気所IDのそれぞれについて、電気所IDが上位3桁に設定された結果IDを定義データ記憶部231から読み出し(S502)、読み出した結果IDのそれぞれについて、後述するノード表示処理を、結果IDを第1引数とし、結果名を第2引数とし、1を第3及び第4引数として呼び出す(S503)。
FIG. 10 is a diagram showing a flow of processing by the
When the
画面40においてボタン403が押下されると(S504:YES)、解析処理部212は、入力欄405に入力された電気所IDが上位3桁に設定された結果IDを定義データ記憶部231から読み出し(S505)、読み出した結果IDのそれぞれについて、後述するノード表示処理を、結果IDを第1引数とし、結果名を第2引数とし、1を第3及び第4引数として呼び出す(S506)。
When the
画面40においてボタン404が押下された場合(S504:NO)、解析処理部212は、入力欄406に入力されたデータIDをIDとして(S507)、後述するノード表示処理を、IDを第1引数とし、結果名を第2引数とし、1を第3及び第4引数を引数として呼び出す(S508)。
When the
図11は、ノード表示処理の流れを示す図である。
解析処理部212は、第1引数をIDとし(S521)、第2引数を親とし(S522)、第3引数をXとし(S523)、第4引数をYとする(S524)。解析処理部212は、結果IDがIDと一致する定義データを定義データ記憶部231から読み出す(S525)。解析処理部212は、IDの上位3桁である電気所IDに対応する電気所名を名称記憶部232232から読み出し(S526)、定義データに含まれている演算IDに対応する演算名を名称記憶部232から読み出す(S527)。解析処理部212は、深さX及び高さYに応じた位置に定義データを出力する(S528)。
FIG. 11 is a diagram showing the flow of the node display process.
The
図12は、解析処理部212が表示する画面41の一例を示す図である。図12の画面41において、深さXが大きくなるほど、右方向に表示位置が移動し、高さYが大きくなるほど下方向に表示位置が移動するように定義データが表示される。画面41では、結果名412の上に電気所名411が表示され、結果名412の下に結果ID413が表示され、結果名412の右に演算名414が表示されている。
FIG. 12 is a diagram illustrating an example of the
解析処理部212は、変数nに1を設定し(S529)、定義データにn番目のパラメタIDが含まれていれば(S530:YES)、定義データに含まれているn番目のパラメタIDをIDとし(S531)、IDを第1引数とし、結果名を第2引数とし、X+1を第3引数とし、Yを第4引数としてノード表示処理を再帰的に呼び出す(S532)。なお、第1引数のIDは、画面41において表示された結果名のオブジェクトを特定するためのオブジェクトIDとしてもよい。解析処理部212は、nをインクリメントし(S533)、Yをインクリメントし(S534)、定義データの結果名から親まで連結線を描画して(S535)、ステップS530からの処理を繰り返す。図41の例では、深さX=1、高さY=1に表示された結果名412と、深さX=2、高さY=1に表示された結果名415とが連結線416で接続されている。
The
解析処理部212は、n番目のパラメタIDが定義データに含まれていない場合に(S530:NO)処理を終了する。
When the nth parameter ID is not included in the definition data (S530: NO), the
以上のようにして、画面40においてボタン402が押下されると、全電気所につき、電気所IDを含む定義データのそれぞれについて、その定義データをルートとする定義データの関連性が、結果名のツリーとして画面41にツリー表示される。ボタン403が押下されると、入力欄405に入力された電気所IDを含む定義データのそれぞれについて、その定義データをルートとする結果名のツリーが画面41に表示され、ボタン404が押下されると、入力欄406に入力されたデータIDに対応する定義データをルートとして結果名のツリーが画面41に表示される。したがって、画面41を見ればユーザは、定義データの関連性を容易に把握することができる。特に、画面41に表示されるツリーは、ルートの結果名が示す結果を算出するためには、ツリーに含まれているルート以外のノードに表示される結果名が示すパラメタが全て必要となることを表しているため、ユーザは画面41のツリーを見ることで、ルートの結果を算出するために必要なデータを容易に確認することができる。例えば、ある結果名のデータの内容に不具合が発見されたような場合には、その結果名をルートとするツリーから、その結果名のデータを算出するために必要なパラメタを確認し、そのパラメタのそれぞれについて不具合の有無を確認していくことができるので、不具合の調査を漏れなく確実にかつ容易に行うことができる。
As described above, when the
また、設備の仕様変更などによって、データに修正を加える場合にも、修正されるデータを算出するために必要なパラメタを容易に確認することができるので、それらのパラメタについても修正を行うことが容易になる。これにより、修正漏れなどの作業ミスを防止することができる。 In addition, even when the data is modified due to changes in equipment specifications, etc., the parameters necessary for calculating the modified data can be easily confirmed, so these parameters can also be modified. It becomes easy. Thereby, work mistakes, such as omission of correction, can be prevented.
また、画面41には演算名も出力されているので、演算式に対する修正を行う場合にも、その影響の及ぶ範囲を容易に把握することができる。
In addition, since the operation name is also output on the
また、ツリーに含まれる各ノードを参照することで、あるパラメタに対して修正を行った場合に、その修正により影響を受ける結果、すなわち、修正されたデータをパラメタデータとして算出される結果データを容易に把握することができる。ここで、例えば、図13に示すように、画面41に結果IDの入力欄421を設け、分析支援装置20は、入力欄421から結果IDの指定を受け付ける結果ID指定部(強調ノード指定部)を備えるようにする。解析処理部212は、入力欄421に入力された結果IDに対応するノードを表示する図11のステップS528において、電気所名や結果名、結果IDなどを強調表示するようにしてもよい。図13の例では、入力欄421に入力された結果IDに対応する、深さX=2における電気所名422、結果名423、及び結果ID424が反転表示されている。このような強調表示により、ユーザは、あるパラメタにより影響される結果を容易に把握することができる。
In addition, by referring to each node included in the tree, when a certain parameter is modified, the result affected by the modification, that is, the result data calculated using the modified data as parameter data It can be easily grasped. Here, for example, as illustrated in FIG. 13, a result
以上、本実施形態について説明したが、上記実施形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物も含まれる。 Although the present embodiment has been described above, the above embodiment is intended to facilitate understanding of the present invention and is not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes equivalents thereof.
例えば、本実施形態では、演算装置10と分析支援装置20とが別のコンピュータであることを想定していたが、演算装置10及び分析支援装置20が1台のコンピュータにより実現されるようにしてもよい。この場合、メモリ30は可搬型のメモリではなく、コンピュータに内蔵されたメモリや二次記憶装置などとして実現するようにしてもよい。
For example, in the present embodiment, it is assumed that the
また、本実施形態では、演算装置10から出力される定義データは、可搬型のメモリ30を介して分析支援装置20に提供されることとしたが、演算装置10と分析支援装置20とを通信ネットワークにより接続し、演算装置10から分析支援装置20に通信ネットワークを介して定義データを送信するようにしてもよい。この場合、例えば、分析支援装置20が定義データを取得するためのリクエストを送信し、演算装置10がこのリクエストに応じて定義データを分析支援装置20に送信するようにしてもよいし、演算装置10において演算処理が行われたり、蓄積データが更新されたりしたタイミングで、あるいは定期的に、定義データを分析支援装置20に送信するようにしてもよい。
In this embodiment, the definition data output from the
また、本実施形態では、画面41の左上をルートとして、右方向に進むほど深い階層となるように定義データが描画されるものとしたが、下方向に進むほど深い階層となるように描画するようにしてもよい。また、右から左に、あるいは下から上にツリーが広がるように描画してもよい。
Further, in this embodiment, the definition data is drawn so that the upper left of the
また、本実施形態では、解析処理部212は、定義データに基づいて直接定義データをツリー表示するものとしたが、定義データ取得部211が定義データをメモリ30から読み出した後、解析処理部212が、定義データに基づいてツリー構造のデータを作成し、作成したツリー構造のデータを定義データ記憶部231に登録するようにしてもよい。この場合、解析処理部212は、図10におけるステップS502〜S503の処理を行い、図11におけるステップS528において、定義データを画面41に表示する代わりに、定義データに親を対応づけて定義データ記憶部231に登録するようにすることができる。また、解析処理部212は、ツリー構造の定義データについて、ツリー構造のデータをツリー状に表示するための一般的な処理により画面41に定義データをツリー表示することができる。
In this embodiment, the
また、本実施形態では、演算装置10が1台であるものとしたが、複数台の演算装置10であってもよい。この場合、分析支援装置20の定義データ取得部211は、複数の演算装置10から出力された定義データをまとめて定義データ記憶部231に登録する。これにより、複数の演算装置10によって行われる演算処理にも対応することができる。また、演算装置10から、複数の演算式のグループについて、グループごとに定義データが出力される場合にも、それらをまとめて定義データ記憶部231に登録することで、異なるグループの定義データについても対応することができる。
In the present embodiment, the number of the
10 演算装置
11 コネクタ
101 CPU
102 メモリ
103 記憶装置
105 入力装置
106 出力装置
111 演算モデル定義部
112 演算処理部
113 定義データ出力部
131 データ記憶部
132 データ名記憶部
133 演算モデル記憶部
20 分析支援装置
21 コネクタ
201 CPU
202 メモリ
203 記憶装置
205 入力装置
206 出力装置
211 定義データ取得部
212 解析処理部
231 定義データ記憶部
232 名称記憶部
30 メモリ
40 画面
41 画面
10
DESCRIPTION OF
202
Claims (8)
1つ以上の第1の変数を含む演算式にデータを代入して結果を算出する演算装置から前記演算式ごとに出力される、前記第1の変数を示す第1のデータIDと、前記結果を代入する第2の変数を示す第2のデータIDと、前記第2の変数に関する場所を特定する場所IDと、を含む定義データの入力を受け付ける定義データ入力部と、
前記定義データを記憶する定義データ記憶部と、
場所IDの入力を受け付け、前記受け付けた場所IDを含む前記定義データを前記定義データ記憶部から読み出してルートノードとし、前記ルートノードを親ノードとして前記親ノードに含まれる前記第1のデータIDのそれぞれについて、前記第1のデータIDと一致する前記第2のデータIDを含む前記定義データを前記定義データ記憶部から読み出して子ノードとし、前記子ノードのそれぞれを前記親ノードとして前記子ノードの読み出しを繰り返し、前記ルートノードをルートとするツリー状に前記定義データに基づく情報を出力する解析処理部と、
を備えることを特徴とするデータ分析支援装置。 A device that supports data analysis,
A first data ID indicating the first variable, which is output for each of the arithmetic expressions, from an arithmetic unit that calculates a result by substituting data into an arithmetic expression including one or more first variables; and the result A definition data input unit that accepts input of definition data including a second data ID indicating a second variable for substituting , and a location ID that specifies a location related to the second variable ;
A definition data storage unit for storing the definition data;
An input of a location ID is received, the definition data including the received location ID is read from the definition data storage unit as a root node, and the root node is a parent node of the first data ID included in the parent node. For each, the definition data including the second data ID that matches the first data ID is read from the definition data storage unit as a child node, and each of the child nodes is set as the parent node of the child node. An analysis processing unit that repeats reading and outputs information based on the definition data in a tree shape having the root node as a root;
A data analysis support apparatus comprising:
前記定義データにはさらに前記第2の変数を説明する結果名が含まれ、
前記解析処理部は、前記定義データに含まれる前記結果名を前記定義データに基づく情報として前記ツリー状に出力すること、
を特徴とするデータ分析支援装置。 The data analysis support device according to claim 1,
The definition data further includes a result name describing the second variable,
The analysis processing unit outputs the result name included in the definition data in the form of a tree as information based on the definition data;
A data analysis support device characterized by the above.
前記定義データにはさらに前記演算式を示す演算IDが含まれ、
前記データ分析支援装置はさらに、前記演算IDに対応づけて前記演算式を説明する演算名を記憶する演算名記憶部を備え、
前記解析処理部は、前記定義データを出力する際に、前記定義データに含まれる前記演算IDに対応する前記演算名を前記演算名記憶部から読み出し、前記結果名に対応づけて前記演算名を出力すること、
を特徴とするデータ分析支援装置。 The data analysis support device according to claim 2,
The definition data further includes a calculation ID indicating the calculation formula,
The data analysis support apparatus further includes a calculation name storage unit that stores a calculation name that explains the calculation formula in association with the calculation ID.
The analysis processing unit, when outputting the definition data, reads the operation name corresponding to the operation ID included in the definition data from the operation name storage unit, and associates the operation name with the result name. Output,
A data analysis support device characterized by the above.
前記場所IDに対応づけて前記場所を説明する場所名を記憶する場所名記憶部をさらに備え、
前記解析処理部は、前記定義データを出力する際に、前記定義データに含まれる前記場所IDに対応する前記場所名を前記場所名記憶部から読み出し、前記結果名に対応づけて前記場所名を出力すること、
を特徴とするデータ分析支援装置。 The data analysis support device according to any one of claims 1 to 3,
Further comprising a location name storage unit for storing the location name describing the location in association with the location ID,
The analysis processing unit, when outputting the definition data, reads the location name corresponding to the location ID included in the definition data from the location name storage unit, and associates the location name with the result name. Output,
A data analysis support device characterized by the above.
前記第2のデータIDの指定を受け付ける強調ノード指定部を備え、
前記解析処理部は、前記受け付けた第2のデータIDを含む前記定義データに基づく情報を出力する際には、前記定義データに基づく情報が強調されるように出力すること、
を特徴とするデータ分析支援装置。 The data analysis support device according to any one of claims 1 to 4,
An emphasis node designation unit that accepts designation of the second data ID;
The analysis processing unit, when outputting information based on the definition data including the received second data ID, outputs so that the information based on the definition data is emphasized,
A data analysis support device characterized by the above.
前記解析処理部は、前記定義データ記憶部に記憶されている前記定義データのそれぞれについて、前記定義データを前記ルートノードとして、前記定義データに基づく情報を前記ツリー状に出力すること、
を備えることを特徴とするデータ分析支援装置。 The data analysis support device according to any one of claims 1 to 5,
The analysis processing unit, for each of the definition data stored in the definition data storage unit, output the information based on the definition data in the form of a tree with the definition data as the root node;
A data analysis support apparatus comprising:
コンピュータが、
1つ以上の第1の変数を含む演算式にデータを代入して結果を算出する演算装置から前記演算式ごとに出力される、前記第1の変数を示す第1のデータIDと、前記結果を代入する第2の変数を示す第2のデータIDと、前記第2の変数に関する場所を特定する場所IDと、を含む定義データの入力を受け付け、
前記定義データをメモリに記憶し、
場所IDの入力を受け付け、前記受け付けた場所IDを含む前記定義データを前記定義データ記憶部から読み出してルートノードとし、前記ルートノードを親ノードとして前記親ノードに含まれる前記第1のデータIDのそれぞれについて、前記第1のデータIDと一致する前記第2のデータIDを含む前記定義データを前記定義データ記憶部から読み出して子ノードとし、前記子ノードのそれぞれを前記親ノードとして前記子ノードの読み出しを繰り返し、前記ルートノードをルートとするツリー状に前記定義データに基づく情報を出力すること、
を特徴とするデータ分析支援方法。 A method for supporting data analysis,
Computer
A first data ID indicating the first variable, which is output for each of the arithmetic expressions, from an arithmetic unit that calculates a result by substituting data into an arithmetic expression including one or more first variables; and the result Receiving definition data including a second data ID indicating a second variable for substituting and a location ID for specifying a location related to the second variable ;
Storing the definition data in a memory;
An input of a location ID is received, the definition data including the received location ID is read from the definition data storage unit as a root node, and the root node is a parent node of the first data ID included in the parent node. For each, the definition data including the second data ID that matches the first data ID is read from the definition data storage unit as a child node, and each of the child nodes is set as the parent node of the child node. Repeating reading and outputting information based on the definition data in a tree shape with the root node as a root;
A data analysis support method characterized by
コンピュータに、
1つ以上の第1の変数を含む演算式にデータを代入して結果を算出する演算装置から前記演算式ごとに出力される、前記第1の変数を示す第1のデータIDと、前記結果を代入する第2の変数を示す第2のデータIDと、前記第2の変数に関する場所を特定する場所IDと、を含む定義データの入力を受け付けるステップと、
前記定義データをメモリに記憶するステップと、
場所IDの入力を受け付け、前記受け付けた場所IDを含む前記定義データを前記定義データ記憶部から読み出してルートノードとし、前記ルートノードを親ノードとして前記親ノードに含まれる前記第1のデータIDのそれぞれについて、前記第1のデータIDと一致する前記第2のデータIDを含む前記定義データを前記定義データ記憶部から読み出して子ノードとし、前記子ノードのそれぞれを前記親ノードとして前記子ノードの読み出しを繰り返し、前記ルートノードをルートとするツリー状に前記定義データに基づく情報を出力するステップと、
を実行させるためのプログラム。 A program for supporting data analysis,
On the computer,
A first data ID indicating the first variable, which is output for each of the arithmetic expressions, from an arithmetic unit that calculates a result by substituting data into an arithmetic expression including one or more first variables; and the result Accepting input of definition data including a second data ID indicating a second variable for substituting and a location ID for specifying a location related to the second variable ;
Storing the definition data in a memory;
An input of a location ID is received, the definition data including the received location ID is read from the definition data storage unit as a root node, and the root node is a parent node of the first data ID included in the parent node. For each, the definition data including the second data ID that matches the first data ID is read from the definition data storage unit as a child node, and each of the child nodes is set as the parent node of the child node. Repeating reading and outputting information based on the definition data in a tree shape with the root node as a root;
A program for running
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011034936A JP5653250B2 (en) | 2011-02-21 | 2011-02-21 | Data analysis support device, data analysis support method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011034936A JP5653250B2 (en) | 2011-02-21 | 2011-02-21 | Data analysis support device, data analysis support method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012173966A JP2012173966A (en) | 2012-09-10 |
JP5653250B2 true JP5653250B2 (en) | 2015-01-14 |
Family
ID=46976825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011034936A Active JP5653250B2 (en) | 2011-02-21 | 2011-02-21 | Data analysis support device, data analysis support method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5653250B2 (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7019A (en) * | 1850-01-15 | Improvement in obstetrical supporters | ||
US3019A (en) * | 1843-03-30 | Hatching chickens | ||
JPH0682333B2 (en) * | 1987-04-27 | 1994-10-19 | 富士通株式会社 | Tree structure editing method |
JPH01243113A (en) * | 1988-03-25 | 1989-09-27 | Hitachi Ltd | Display selection method for tree structure data |
US5428740A (en) * | 1990-10-18 | 1995-06-27 | Ventana Systems, Inc. | Applying successive data group operations to an active data group |
EP0690378A1 (en) * | 1994-06-30 | 1996-01-03 | Tandem Computers Incorporated | Tool and method for diagnosing and correcting errors in a computer programm |
AUPQ966400A0 (en) * | 2000-08-24 | 2000-09-21 | Xemplex Pty Ltd | Method of graphically defining a formula |
JP2007535740A (en) * | 2004-03-23 | 2007-12-06 | アンヘル・パラショス・オルエタ | Managing formulas |
JP2008123125A (en) * | 2006-11-09 | 2008-05-29 | Toshiba Corp | Calculation result comparison device and calculation result comparison method |
JP5224759B2 (en) * | 2007-09-25 | 2013-07-03 | 大日本スクリーン製造株式会社 | Test formula creation support system, test formula creation support method, and test formula creation support program |
-
2011
- 2011-02-21 JP JP2011034936A patent/JP5653250B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012173966A (en) | 2012-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6202215B2 (en) | Information processing apparatus, shelf label management system, control method, and program | |
WO2013161850A1 (en) | Text mining system, text mining method, and program | |
JPWO2016052382A1 (en) | Information processing apparatus, shelf label management system, control method, and program | |
JP4872529B2 (en) | Reverse engineering support method | |
CN102208102A (en) | Image processing apparatus and image processing method | |
WO2007101093A2 (en) | Dynamic data flow and data linking | |
US9600385B2 (en) | Analyzing behavior of a device under test | |
JP5619979B2 (en) | Electronic device including a mind map user interface, and a mind map creation method using the same | |
CN103365555A (en) | Data processing method and system and data collecting method and system | |
US9019247B2 (en) | Modifying information on a hand writable physical medium with a digital pen | |
CN106055526A (en) | Page identification method and apparatus | |
JP5653250B2 (en) | Data analysis support device, data analysis support method and program | |
CN110362688B (en) | Test question labeling method, device and equipment and computer readable storage medium | |
JP2011238159A (en) | Computer system | |
JP6549173B2 (en) | Computer system and text data search method | |
KR101774712B1 (en) | Method for analysis of patent claims and apparatus thereof | |
JP6924168B2 (en) | KPI tree creation support system and KPI tree creation support method | |
EP3591481A1 (en) | Device configuration management apparatus, system, and program | |
JP2009199164A (en) | Document management device, document management method and recording medium | |
JP5634326B2 (en) | Data analysis requirement definition support system, method, and program | |
JP5966892B2 (en) | Management support program, management support apparatus, and management support method | |
JP2014032466A (en) | Complexity calculation device, complexity calculation method, and complexity calculation program | |
JP5202598B2 (en) | Workflow management device and workflow management program | |
JP2011154443A (en) | Information processing system and program | |
US11042564B1 (en) | Transaction associations in waveform displays |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131129 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140522 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140527 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140717 |
|
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: 20141111 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141118 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5653250 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |