JP2013152557A - Metadata attachment apparatus, metadata attachment method and metadata attachment program - Google Patents

Metadata attachment apparatus, metadata attachment method and metadata attachment program Download PDF

Info

Publication number
JP2013152557A
JP2013152557A JP2012012364A JP2012012364A JP2013152557A JP 2013152557 A JP2013152557 A JP 2013152557A JP 2012012364 A JP2012012364 A JP 2012012364A JP 2012012364 A JP2012012364 A JP 2012012364A JP 2013152557 A JP2013152557 A JP 2013152557A
Authority
JP
Japan
Prior art keywords
sensor
attribute information
metadata
cache
cache memory
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
JP2012012364A
Other languages
Japanese (ja)
Inventor
Shunsuke Kurihara
俊介 栗原
Hiroyuki Makino
浩之 牧野
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012012364A priority Critical patent/JP2013152557A/en
Publication of JP2013152557A publication Critical patent/JP2013152557A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Recording Measured Values (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a load of processing for attaching metadata to sensor data.SOLUTION: A data collection section 101 acquires a sensor ID and a sensor value from a sensor information DB 102. The data collection section 101 inquires cache memory 104 whether a cache associated with the acquired sensor ID exists or not. As a result, the data collection section 101 acquires facility configuration information related to the sensor ID from the cache memory 104 and stores the acquired facility configuration information in a pre-analysis information storage DB 106 when the cache exists. The data collection section 101 acquires the facility configuration information related to the sensor ID from a facility configuration information DB 103 when the cache does not exist. Then, the data collection section 101 stores the acquired facility configuration information in the cache memory 104, creates a cache, and stores the facility configuration information related to the sensor ID in the pre-analysis information storage DB 106.

Description

本発明は、メタデータ付与装置、メタデータ付与方法およびメタデータ付与プログラムに関する。   The present invention relates to a metadata grant apparatus, a metadata grant method, and a metadata grant program.

従来、時系列データ(例えば、センサが検出するセンサデータ)に属性情報であるメタデータを付与して格納する技術が知られている。ここでセンサデータのような時系列データは、個々のデータ量は小さくデータの個数が多いという特徴を持つ。また、センサデータは、様々な形式のデータが横断的に検索されることが多く、非定型処理が行われることが多いという特徴を持つ。   2. Description of the Related Art Conventionally, a technique is known in which metadata that is attribute information is added to time-series data (for example, sensor data detected by a sensor) and stored. Here, time-series data such as sensor data is characterized by a small amount of data and a large number of data. In addition, sensor data is characterized in that data in various formats is often searched across and atypical processing is often performed.

このため、従来広く用いられているスキーマフルなRDBMS(Relational Data Base Management System)のRDB(Relational Data Base)にセンサデータを格納した場合には、個数の多いデータが個別の行として格納されることとなる。そして、検索式を用いてRDB内を検索すると、照合する行の数および合致する行の数が膨大になり、RDBMS内部の各データの照合を行う負荷や、結果回答のための行の並びを一時的に蓄える負荷が大きくなっていた。   For this reason, when sensor data is stored in an RDB (Relational Data Base) of a schema-full RDBMS (Relational Data Base Management System) that has been widely used in the past, a large number of data must be stored as individual rows. It becomes. When searching in the RDB using a search expression, the number of lines to be matched and the number of matching lines become enormous, and the load for collating each data in the RDBMS and the line arrangement for answering the results are shown. The load to store temporarily was large.

このように、センサデータをRDBに格納した場合には、個々のデータ量が小さいため、照合する行の数および合致する行の数が膨大となり、負担が大きくなっていた。また、大量のデータを処理するためには負荷分散のためのスケールアウトが求められるが、RDBMSではクラスタリングをすると、高頻度でテーブルがロックされ、データの可用性が減るため、スケールアウトが頭打ちになる場合があった。   As described above, when the sensor data is stored in the RDB, the amount of each data is small, so that the number of lines to be collated and the number of matching lines are enormous, which increases the burden. In addition, in order to process a large amount of data, scale-out for load distribution is required. However, when clustering is performed in RDBMS, the table is locked frequently and the availability of data is reduced, so the scale-out reaches its peak. There was a case.

これらのことから、センサデータをスキーマレスなDBMS(Data Base Management System)に格納し、属性情報であるメタデータをスキーマフルなDBMSに格納するなど、複数のDBMSの組み合わせによるチューニングや異なるDBMS間の効率的なデータの受け渡しをする技術が重要となった。   For these reasons, sensor data is stored in a schemaless DBMS (Data Base Management System), metadata as attribute information is stored in a schema-full DBMS, and tuning by combining a plurality of DBMSs or between different DBMSs. Technology to exchange data efficiently has become important.

このような技術として、例えば、相互に近似するセンサデータをチャンクデータファイルに纏めて格納し、検索処理の処理負荷を低減する技術が知られている(例えば、特許文献1)。   As such a technique, for example, a technique is known in which sensor data that approximate each other is stored together in a chunk data file to reduce the processing load of search processing (for example, Patent Document 1).

特開2011−170791号公報JP 2011-170791 A

しかしながら、上記したセンサデータをスキーマレスなDBMS(Data Base Management System)に格納し、属性情報であるメタデータをスキーマフルなDBMSに格納する技術では、センサデータにメタデータを付与する処理の負荷が大きいという課題があった。つまり、センサデータにメタデータを付与するために、スキーマレスなDBMSからセンサデータを取得し、スキーマフルなDBMSから属性情報を取得する必要があるが、センサデータはデータ数が多いため、照合する行の数および合致する行の数が膨大となる。このため、RDBMS内部の各データの照合を行う負荷や、結果回答のための行の並びを一時的に蓄える負荷が大きい結果、センサデータにメタデータを付与する処理の負荷が大きくなる。   However, in the technology of storing the above sensor data in a schemaless DBMS (Data Base Management System) and storing the metadata as attribute information in the schemaful DBMS, there is a processing load for adding metadata to the sensor data. There was a problem of being big. In other words, in order to give metadata to sensor data, it is necessary to acquire sensor data from a schemaless DBMS and to acquire attribute information from a schemaful DBMS. The number of rows and the number of matching rows is enormous. For this reason, as a result of a large load for collating each data in the RDBMS and a large load for temporarily storing a row of rows for answering results, a load of processing for adding metadata to sensor data increases.

そこで、この発明は、上述した従来技術の課題を解決するためになされたものであり、センサデータにメタデータを付与する処理の負荷を軽減することを目的とする。   Therefore, the present invention has been made to solve the above-described problems of the prior art, and an object thereof is to reduce the processing load for adding metadata to sensor data.

上述した課題を解決し、目的を達成するため、本願に開示するメタデータ付与装置は、センサを一意に識別するセンサ識別子と、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報記憶部と、前記センサが設置された設備に関する属性情報を記憶する設備構成情報記憶部と、前記センサ情報記憶部からセンサ識別子およびセンサ値を取得し、該センサ識別子に対応する属性情報がキャッシュメモリに記憶されているか否かを判定するキャッシュ判定部と、前記キャッシュ判定部によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていないと判定された場合には、前記センサ識別子のセンサに関連する属性情報を前記設備構成情報記憶部から抽出し、抽出した属性情報と前記センサ識別子とを対応付けて前記キャッシュメモリに格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報記憶部に格納するキャッシュ格納部と、前記キャッシュ判定部によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていると判定された場合には、前記センサ識別子に対応する属性情報を前記キャッシュメモリから取得し、該属性情報をメタデータとしてセンサ値に対応付けて前記分析前情報記憶部に格納するメタデータ付与部とを有することを特徴とする。   In order to solve the above-described problems and achieve the object, the metadata providing apparatus disclosed in the present application stores a sensor identifier for uniquely identifying a sensor and a sensor value that the sensor detects every predetermined time in time series. A sensor information storage unit, an equipment configuration information storage unit that stores attribute information about the equipment in which the sensor is installed, and a sensor identifier and a sensor value obtained from the sensor information storage unit, and attribute information corresponding to the sensor identifier A cache determination unit that determines whether or not the attribute information corresponding to the sensor identifier is stored in the cache memory. The attribute information related to the sensor of the identifier is extracted from the facility configuration information storage unit, and the extracted attribute information and the sensor identification Are stored in the cache memory in association with each other, and the extracted attribute information is associated with the sensor value as metadata and stored in the pre-analysis information storage unit, and the sensor identifier is stored in the sensor identifier by the cache determination unit. If it is determined that the corresponding attribute information is stored in the cache memory, the attribute information corresponding to the sensor identifier is acquired from the cache memory, and the attribute information is associated with the sensor value as metadata. And a metadata adding unit for storing in the pre-analysis information storage unit.

また、本願に開示するメタデータ付与方法は、センサを一意に識別するセンサ識別子と、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報記憶部からセンサ識別子およびセンサ値を取得し、該センサ識別子に対応する属性情報がキャッシュメモリに記憶されているか否かを判定するキャッシュ判定工程と、前記キャッシュ判定工程によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていないと判定された場合には、前記センサ識別子のセンサに関連する属性情報を、前記センサが設置された設備に関する属性情報を記憶する設備構成情報記憶部から抽出し、抽出した属性情報と前記センサ識別子とを対応付けて前記キャッシュメモリに格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報記憶部に格納するキャッシュ格納工程と、前記キャッシュ判定工程によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていると判定された場合には、前記センサ識別子に対応する属性情報を前記キャッシュメモリから取得し、該属性情報をメタデータとしてセンサ値に対応付けて前記分析前情報記憶部に格納するメタデータ付与工程とを含むことを特徴とする。   Further, the metadata providing method disclosed in the present application includes a sensor identifier and a sensor value from a sensor information storage unit that stores a sensor identifier that uniquely identifies a sensor and a sensor value that the sensor detects every predetermined time in time series. And determining whether or not attribute information corresponding to the sensor identifier is stored in the cache memory, and attribute information corresponding to the sensor identifier is stored in the cache memory by the cache determination step. If it is determined that the attribute information related to the sensor of the sensor identifier is extracted from the equipment configuration information storage unit that stores the attribute information related to the equipment in which the sensor is installed, the extracted attribute information and the A sensor identifier is associated and stored in the cache memory, and the extracted attribute information is stored in the meta data. A cache storage step of storing data in a pre-analysis information storage unit in association with a sensor value as data, and when the cache determination step determines that attribute information corresponding to the sensor identifier is stored in the cache memory Includes a metadata adding step of acquiring attribute information corresponding to the sensor identifier from the cache memory and storing the attribute information as metadata in association with a sensor value in the pre-analysis information storage unit. And

本願に開示するメタデータ付与プログラムは、センサを一意に識別するセンサ識別子と、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報記憶部からセンサ識別子およびセンサ値を取得し、該センサ識別子に対応する属性情報がキャッシュメモリに記憶されているか否かを判定するキャッシュ判定ステップと、前記キャッシュ判定ステップによって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていないと判定された場合には、前記センサ識別子のセンサに関連する属性情報を、前記センサが設置された設備に関する属性情報を記憶する設備構成情報記憶部から抽出し、抽出した属性情報と前記センサ識別子とを対応付けて前記キャッシュメモリに格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報記憶部に格納するキャッシュ格納ステップと、前記キャッシュ判定ステップによって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていると判定された場合には、前記センサ識別子に対応する属性情報を前記キャッシュメモリから取得し、該属性情報をメタデータとしてセンサ値に対応付けて前記分析前情報記憶部に格納するメタデータ付与ステップとをコンピュータに実行させる。   The metadata providing program disclosed in the present application acquires a sensor identifier and a sensor value from a sensor information storage unit that stores a sensor identifier that uniquely identifies the sensor and a sensor value that the sensor detects every predetermined time in time series. And determining whether or not attribute information corresponding to the sensor identifier is stored in the cache memory, and attribute information corresponding to the sensor identifier is not stored in the cache memory by the cache determining step. If it is determined, the attribute information related to the sensor of the sensor identifier is extracted from the facility configuration information storage unit that stores the attribute information related to the facility where the sensor is installed, and the extracted attribute information and the sensor identifier Are associated and stored in the cache memory, and the extracted attribute information is stored in the cache memory. Storing in the pre-analysis information storage unit in association with the sensor value as metadata, and when determining that the attribute information corresponding to the sensor identifier is stored in the cache memory by the cache determination step In the computer, the attribute information corresponding to the sensor identifier is acquired from the cache memory, and the attribute information is associated with a sensor value as metadata and stored in the pre-analysis information storage unit. Let

本願に開示するメタデータ付与装置、メタデータ付与方法およびメタデータ付与プログラムは、センサデータにメタデータを付与する処理の負荷を軽減するという効果を奏する。   The metadata providing apparatus, the metadata providing method, and the metadata providing program disclosed in the present application have an effect of reducing the processing load for adding metadata to sensor data.

図1は、実施例1に係るメタデータ付与装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating the configuration of the metadata providing apparatus according to the first embodiment. 図2は、センサ情報DBに格納されるデータの一例を示す図である。FIG. 2 is a diagram illustrating an example of data stored in the sensor information DB. 図3は、設備構成情報DBに格納されるデータの一例を示す図である。FIG. 3 is a diagram illustrating an example of data stored in the facility configuration information DB. 図4は、キャッシュメモリに格納されるデータの一例を示す図である。FIG. 4 is a diagram illustrating an example of data stored in the cache memory. 図5は、分析前情報格納DBに格納されるデータの一例を示す図である。FIG. 5 is a diagram illustrating an example of data stored in the pre-analysis information storage DB. 図6は、分析結果情報格納DBに格納されるデータの一例を示す図である。FIG. 6 is a diagram illustrating an example of data stored in the analysis result information storage DB. 図7は、実施例1に係るメタデータ付与装置によるメタデータ付与処理の流れを示すフローチャートである。FIG. 7 is a flowchart illustrating the flow of the metadata providing process performed by the metadata providing apparatus according to the first embodiment. 図8は、実施例1に係るメタデータ付与装置による分析集計処理の流れを示すフローチャートである。FIG. 8 is a flowchart illustrating the flow of analysis and aggregation processing performed by the metadata providing apparatus according to the first embodiment. 図9は、実施例1に係るメタデータ付与装置による情報提示処理の流れを示すフローチャートである。FIG. 9 is a flowchart illustrating the flow of the information presentation process performed by the metadata providing apparatus according to the first embodiment. 図10は、実施例1に係るメタデータ付与装置によるメタデータ付与処理の流れを示すフローチャートである。FIG. 10 is a flowchart illustrating the flow of the metadata providing process performed by the metadata providing apparatus according to the first embodiment. 図11は、メタデータ付与プログラムを実行するコンピュータを示す図である。FIG. 11 is a diagram illustrating a computer that executes a metadata providing program.

以下に添付図面を参照して、この発明に係るメタデータ付与装置、メタデータ付与方法およびメタデータ付与プログラムの実施例を詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。   Exemplary embodiments of a metadata providing apparatus, a metadata providing method, and a metadata providing program according to the present invention will be described below in detail with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments.

以下の実施例では、実施例1に係るメタデータ付与装置の構成および処理の流れを順に説明し、最後に実施例1による効果を説明する。   In the following embodiments, the configuration and processing flow of the metadata providing apparatus according to the first embodiment will be described in order, and finally the effects of the first embodiment will be described.

[メタデータ付与装置の構成]
最初に、図1を用いて、メタデータ付与装置100の構成を説明する。メタデータ付与装置100は、データ収集部101、センサ情報DB(Data Base)102、設備構成情報DB103、キャッシュメモリ104、データ集計部105、分析前情報格納DB106、情報提示部107、分析結果情報格納DB108、キャッシュ除去部109を有する。以下にこれらの各部の処理を説明する。
[Configuration of metadata adding device]
Initially, the structure of the metadata provision apparatus 100 is demonstrated using FIG. The metadata providing apparatus 100 includes a data collection unit 101, a sensor information DB (Data Base) 102, an equipment configuration information DB 103, a cache memory 104, a data totaling unit 105, a pre-analysis information storage DB 106, an information presentation unit 107, and an analysis result information storage. A DB 108 and a cache removing unit 109 are included. The processing of each of these units will be described below.

データ収集部101は、センサ情報DB102(後に図2を用いて詳述)からセンサIDおよびセンサ値(以下、センサIDとセンサ値の組をセンサデータという)を取得し、設備構成情報DB103(後に図3を用いて詳述)またはキャッシュメモリ104(後に図4を用いて詳述)からセンサが設置された設備に関する属性情報(以下では、適宜設備構成情報という)を取得し、属性情報をメタデータとしてセンサ値に対応付けて分析前情報格納DB106(後に図5を用いて詳述)に格納することで、メタデータをセンサデータに付与する。データ収集部101は、キャッシュ判定部101a、キャッシュ格納部101b、メタデータ付与部101cおよびデータ更新部101dを有する。以下にこれらの各部の処理を説明する。   The data collection unit 101 acquires a sensor ID and a sensor value (hereinafter, a combination of the sensor ID and the sensor value is referred to as sensor data) from the sensor information DB 102 (described in detail later with reference to FIG. 2). Attribute information (hereinafter referred to as “equipment configuration information” as appropriate) about the equipment in which the sensor is installed is acquired from the cache memory 104 (detailed using FIG. 3) or the cache memory 104 (detailed later using FIG. 4). By storing the data in the pre-analysis information storage DB 106 (detailed later using FIG. 5) in association with the sensor value as data, metadata is given to the sensor data. The data collection unit 101 includes a cache determination unit 101a, a cache storage unit 101b, a metadata addition unit 101c, and a data update unit 101d. The processing of each of these units will be described below.

キャッシュ判定部101aは、センサ情報DB102からセンサIDおよびセンサ値を取得し、該センサIDに対応する属性情報がキャッシュメモリ104に記憶されているか否かを判定する。   The cache determination unit 101a acquires the sensor ID and sensor value from the sensor information DB 102, and determines whether or not attribute information corresponding to the sensor ID is stored in the cache memory 104.

具体的には、キャッシュ判定部101aは、所定の時間間隔が経過すると、センサ情報DB102からセンサID、センサ値、計測時刻を取得する。そして、キャッシュ判定部101aは、キャッシュメモリ104に取得したセンサIDに紐づくキャッシュがキャッシュメモリ104に存在するかを問い合わせて、キャッシュの存在の有無を判定する。なお、所定の時間間隔が経過したことをトリガとして判定処理を行う場合に限らず、センサがセンサ値を検出したことをトリガとして判定処理を行うようにしてもよい。   Specifically, the cache determination unit 101a acquires a sensor ID, a sensor value, and a measurement time from the sensor information DB 102 when a predetermined time interval elapses. Then, the cache determination unit 101a inquires whether the cache associated with the sensor ID acquired in the cache memory 104 exists in the cache memory 104, and determines whether or not the cache exists. Note that the determination process is not limited to the case where the predetermined time interval has elapsed, and the determination process may be performed using the detection of the sensor value by the sensor as a trigger.

キャッシュ格納部101bは、キャッシュ判定部101aによってセンサIDに対応する属性情報がキャッシュメモリ104に記憶されていないと判定された場合には、センサIDのセンサに関連する属性情報を設備構成情報DB103から抽出し、抽出した属性情報とセンサIDとを対応付けてキャッシュメモリ104に格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報格納DB106に格納する。   When the cache determination unit 101a determines that the attribute information corresponding to the sensor ID is not stored in the cache memory 104, the cache storage unit 101b obtains attribute information related to the sensor with the sensor ID from the facility configuration information DB 103. The extracted attribute information and the sensor ID are associated with each other and stored in the cache memory 104, and the extracted attribute information is associated with the sensor value as metadata and stored in the pre-analysis information storage DB 106.

具体的には、キャッシュ格納部101bは、キャッシュ判定部101aによってセンサIDに対応する属性情報のキャッシュがキャッシュメモリ104に存在しないと判定された場合には、SQL(Structured Query Language)でクエリを投げて、設備構成情報DB103からセンサIDに関連する設備構成情報として、センサが設置されたラックのラックID、センサが設置されたサーバのエリアを示すエリアIDおよびセンサの種類を示すセンサタイプなどのセンサに関連する属性情報を取得する。そして、キャッシュ格納部101bは、取得した設備構成情報をキャッシュメモリ104に格納する。その後、キャッシュ格納部101bは、設備構成情報をメタデータとしてセンサIDに対応付けて分析前情報格納DB106に格納する。   Specifically, the cache storage unit 101b throws a query using SQL (Structured Query Language) when the cache determination unit 101a determines that the cache of attribute information corresponding to the sensor ID does not exist in the cache memory 104. As the equipment configuration information related to the sensor ID from the equipment configuration information DB 103, sensors such as the rack ID of the rack in which the sensor is installed, the area ID indicating the area of the server in which the sensor is installed, and the sensor type indicating the type of sensor Get attribute information related to. Then, the cache storage unit 101b stores the acquired facility configuration information in the cache memory 104. Thereafter, the cache storage unit 101b stores the equipment configuration information in the pre-analysis information storage DB 106 as metadata in association with the sensor ID.

メタデータ付与部101cは、キャッシュ判定部101aによってセンサIDに対応する属性情報がキャッシュメモリ104に記憶されていると判定された場合には、センサIDに対応する属性情報をキャッシュメモリ104から取得し、該属性情報をメタデータとしてセンサ値に対応付けて分析前情報格納DB106に格納する。   When the cache determination unit 101a determines that the attribute information corresponding to the sensor ID is stored in the cache memory 104, the metadata adding unit 101c acquires the attribute information corresponding to the sensor ID from the cache memory 104. The attribute information is stored in the pre-analysis information storage DB 106 as metadata in association with the sensor value.

例えば、メタデータ付与部101cは、キャッシュ判定部101aによってセンサIDに対応する属性情報のキャッシュがキャッシュメモリ104に存在すると判定された場合には、キャッシュメモリ104からセンサIDに関連する設備構成情報として、ラックID、エリアIDおよびセンサタイプなどを取得し、取得した設備構成情報をメタデータとしてセンサID、センサ値および計測時刻と対応付けて分析前情報格納DB106に格納する。   For example, when the cache determination unit 101a determines that the attribute information cache corresponding to the sensor ID exists in the cache memory 104, the metadata adding unit 101c uses the cache memory 104 as the equipment configuration information related to the sensor ID. The rack ID, area ID, sensor type, and the like are acquired, and the acquired equipment configuration information is stored as metadata in the pre-analysis information storage DB 106 in association with the sensor ID, sensor value, and measurement time.

このように、メタデータ付与部101cは、メタデータである設備構成情報のキャッシュがキャッシュメモリ104に存在しない場合には、新たにキャッシュを生成し、次回以降、同一クエリをコールした際にはキャッシュメモリ104からセンサIDに紐付く設備構成情報を取得するので、センサデータにメタデータを付与する処理の負荷を軽減することができる。   As described above, the metadata adding unit 101c generates a new cache when the cache of the equipment configuration information that is the metadata does not exist in the cache memory 104, and caches the next time the same query is called. Since the equipment configuration information associated with the sensor ID is acquired from the memory 104, it is possible to reduce the processing load for adding metadata to the sensor data.

データ更新部101dは、設備構成情報DB103から更新された属性情報を取得し、更新された属性情報をキャッシュメモリ104に格納する。例えば、データ更新部101dは、設備構成情報DB103に格納されたデータが更新されると、後述するキャッシュ除去部109がキャッシュメモリ104のキャッシュをクリアした後に、設備構成情報DB103から更新されたデータを取得し、取得したデータをキャッシュメモリ104に格納する。   The data update unit 101d acquires the updated attribute information from the facility configuration information DB 103, and stores the updated attribute information in the cache memory 104. For example, when the data stored in the facility configuration information DB 103 is updated, the data update unit 101d updates the data updated from the facility configuration information DB 103 after the cache removal unit 109 described later clears the cache in the cache memory 104. The acquired data is stored in the cache memory 104.

センサ情報DB102は、センサを一意に識別するセンサIDと、該センサが所定の時間ごとに検出するセンサ値とを時系列に記憶する。具体的には、センサ情報DB102は、スキーマレスなDBであるKVS(Key-Value Store)などのDBMS(Data Base Management System)であり、センサIDとセンサ値とを対応付けて時系列に記憶する。例えば、センサ情報DB102は、図2に例示するように、センサを一意に識別する「センサID」と、センサが検出する値である「センサ値」と、センサが計測した時刻である「計測時刻」とを対応付けて記憶する。図2の一例を用いて説明すると、センサ情報DB102は、センサID「1」と、センサ値「394」と、計測時刻「12:12:12」とが対応付けて記憶されている。これは、センサID「1」のセンサが、計測時刻「12:12:12」にセンサ値「394」を検出したことを意味している。ここで、センサ値とは、例えばサーバなどの機器の消費電力量、空調機の消費電力量、温度などである。   The sensor information DB 102 stores, in time series, a sensor ID that uniquely identifies the sensor and a sensor value that the sensor detects every predetermined time. Specifically, the sensor information DB 102 is a DBMS (Data Base Management System) such as KVS (Key-Value Store) which is a schemaless DB, and stores the sensor ID and the sensor value in time series. . For example, as illustrated in FIG. 2, the sensor information DB 102 includes a “sensor ID” that uniquely identifies a sensor, a “sensor value” that is a value detected by the sensor, and a “measurement time” that is a time measured by the sensor. Is stored in association with each other. 2, the sensor information DB 102 stores the sensor ID “1”, the sensor value “394”, and the measurement time “12:12:12” in association with each other. This means that the sensor with the sensor ID “1” has detected the sensor value “394” at the measurement time “12:12:12”. Here, the sensor value is, for example, the power consumption of a device such as a server, the power consumption of an air conditioner, temperature, and the like.

設備構成情報DB103は、センサが設置された設備に関する属性情報を記憶する。具体的には、設備構成情報DB103は、スキーマフルなRDBMS(Relational Data Base Management System)で、属性情報を記憶する。例えば、設備構成情報DB103は、図3に例示するように、サーバを収納するラックを一意に識別する「ラックID」と、サーバが設置されたエリアを特定するための「エリアID」と、サーバの機種を示す「サーバ機種」と、ホスト名を示す「ホスト名」と、サーバの物理アドレスを示す「物理アドレス」と、サーバの仮想アドレスを示す「仮想アドレス」と、サーバを管理する者を示す「管理者」と、サーバが設置されている場所を示す「設置場所」と、サーバに設置されているセンサを一意に識別する「センサID」と、センサの種類を示す「センサタイプ」と、を対応付けて記憶する。   The facility configuration information DB 103 stores attribute information related to the facility where the sensor is installed. Specifically, the facility configuration information DB 103 is a schema-full RDBMS (Relational Data Base Management System) and stores attribute information. For example, as illustrated in FIG. 3, the facility configuration information DB 103 includes a “rack ID” that uniquely identifies the rack that houses the server, an “area ID” that identifies the area where the server is installed, "Server model" indicating the model of the server, "Host name" indicating the host name, "Physical address" indicating the physical address of the server, "Virtual address" indicating the virtual address of the server, and the person managing the server "Administrator" indicating, "Installation location" indicating the location where the server is installed, "Sensor ID" uniquely identifying the sensor installed on the server, and "Sensor type" indicating the type of sensor Are stored in association with each other.

キャッシュメモリ104は、センサデータに付与されるメタデータである設備構成情報を記憶する。具体的には、キャッシュメモリ104は、図4に例示するように、センサID、ラックID、エリアID、センサタイプをそれぞれ対応付けて記憶する。なお、ここでキャッシュメモリ104とは、例えば、Memcachedなどが適用されたオンメモリDBである。   The cache memory 104 stores facility configuration information that is metadata attached to sensor data. Specifically, as illustrated in FIG. 4, the cache memory 104 stores a sensor ID, a rack ID, an area ID, and a sensor type in association with each other. Here, the cache memory 104 is an on-memory DB to which, for example, Memcached is applied.

データ集計部105は、分析前情報格納DB106に格納されたセンサ値およびメタデータを取得し、該メタデータを用いて、所定の条件に従ってセンサ値を集計し、集計した結果を分析結果情報格納DB108に格納する。具体的には、データ集計部105は、分析前情報格納DB106からセンサデータと関連するメタデータを取得する。そして、データ集計部105は、取得したメタデータを分析し、所定の条件に応じてセンサデータを集計する。その後、データ集計部105は、集計した結果を分析結果情報格納DB108に格納する。   The data totaling unit 105 acquires the sensor value and metadata stored in the pre-analysis information storage DB 106, uses the metadata to total the sensor value according to a predetermined condition, and the totaled result is the analysis result information storage DB 108. To store. Specifically, the data totaling unit 105 acquires metadata related to sensor data from the pre-analysis information storage DB 106. And the data totaling part 105 analyzes the acquired metadata, and totals sensor data according to predetermined conditions. Thereafter, the data totaling unit 105 stores the totaled results in the analysis result information storage DB 108.

例えば、データ集計部105は、サービスIDをキーにして、サーバが提供するサービス単位でセンサデータを集計する。そして、データ集計部105は、サービス単位で集計されたセンサデータにメタデータを付与した形式の情報を分析結果情報格納DB108に格納する。また、データ集計部105は、ビルIDをキーにして、サーバが設置されているビル単位でセンサデータを集計する。そして、データ集計部105は、ビル単位で集計されたセンサデータにメタデータを付与した形式の情報を分析結果情報格納DB108に格納する。また、同様に、データ集計部105は、サーバが設置されているフロア単位でセンサデータを集計し、サーバが収納されているラック単位でセンサデータを集計し、サーバ単位(装置単位)でセンサデータを集計し、集計されたセンサデータにメタデータを付与した形式の情報を分析結果情報格納DB108に格納する。   For example, the data totaling unit 105 totals the sensor data for each service provided by the server using the service ID as a key. Then, the data totaling unit 105 stores, in the analysis result information storage DB 108, information in a format in which metadata is added to the sensor data totaled in service units. The data totaling unit 105 totals sensor data for each building in which the server is installed, using the building ID as a key. Then, the data totaling unit 105 stores, in the analysis result information storage DB 108, information in a format in which metadata is added to the sensor data totaled for each building. Similarly, the data totaling unit 105 totals sensor data in units of floors where servers are installed, totals sensor data in units of racks in which servers are stored, and sensor data in units of servers (units of devices). Are stored in the analysis result information storage DB 108 in a format in which metadata is added to the totaled sensor data.

分析前情報格納DB106は、センサIDに対応するメタデータを記憶する。具体的には、分析前情報格納DB106は、図5に例示するように、テーブルの名称を示す「テーブル名」と、検索時に指定されるrowkeyを示す「rowkey」と、カラムファミリ名である「column families」とを対応付けて記憶する。図5の例では、rowkeyとして、センサの計測時間「time」、センサID「sensorid」を記憶し、column familiesとして、ラックID「info:rackid」、エリアID「info:areaid」、センサ値「data:sensorvalue」、センサタイプ「option:sensortype」を記憶する。   The pre-analysis information storage DB 106 stores metadata corresponding to the sensor ID. Specifically, as illustrated in FIG. 5, the pre-analysis information storage DB 106 includes a “table name” indicating a table name, a “rowkey” indicating a rowkey specified at the time of search, and a column family name “ “column families” is stored in association with each other. In the example of FIG. 5, the measurement time “time” of the sensor and the sensor ID “sensorid” are stored as rowkeys, the rack ID “info: rackid”, the area ID “info: areaid”, and the sensor value “data” as column families. : Sensor value ”and sensor type“ option: sensor type ”.

情報提示部107は、ID(サービスID、ビルID、エリアID、ラックIDまたは装置ID)と、データのタイプと、計測期間のセットをキーとして指定して、分析結果情報格納DB108からデータを取得し、取得したデータをユーザに表示する。例えば、情報提示部107は、ユーザからエリアID「1」と、データのタイプ「2」(1日単位)と、計測期間「2012年1月1日〜12月31日」をキーとして指定して、分析結果情報格納DB108からデータを取得し、取得したデータをユーザに表示する。   The information presentation unit 107 acquires data from the analysis result information storage DB 108 by specifying an ID (service ID, building ID, area ID, rack ID, or device ID), a data type, and a set of measurement periods as keys. The acquired data is displayed to the user. For example, the information presenting unit 107 designates the area ID “1”, the data type “2” (one day unit), and the measurement period “January 1 to December 31, 2012” as keys from the user. Then, data is acquired from the analysis result information storage DB 108 and the acquired data is displayed to the user.

分析結果情報格納DB108は、分析結果として、所定の条件ごとに集計されたセンサ値とメタデータとの組を記憶する。具体的には、分析結果情報格納DB108は、図6に示すように、テーブルの名称を示す「テーブル名」と、検索時に指定されるrowkeyを示す「rowkey」と、カラムファミリ名である「column families」とを対応付けて記憶する。   The analysis result information storage DB 108 stores a set of sensor values and metadata aggregated for each predetermined condition as an analysis result. Specifically, as shown in FIG. 6, the analysis result information storage DB 108 stores “table name” indicating the name of the table, “rowkey” indicating rowkey specified at the time of search, and “column” which is the column family name. "family" is stored in association with each other.

例えば、分析結果情報格納DB108は、サービス毎、建物毎、エリア毎、ラック毎、装置毎にそれぞれ15分単位、1日単位、1ヶ月単位、1年単位で集計した結果を記憶する。図6の例を用いて説明すると、分析結果情報格納DB108は、テーブル名として、「service_view」、「building_view」、「area_view」、「rack_view」、「facility_view」を記憶する。「service_view」は、サービス単位での情報参照テーブルであり、rowkeyとして、サービスIDである「serviceid」と、計測時間の種類である「type」、センサの計測時間である「time」を記憶する。ここで、「type」が「1」の場合には、10min単位のデータであることを示し、「type」が「2」の場合には、1日単位のデータであることを示し、「type」が「3」の場合には、1ヶ月単位のデータであることを示し、「type」が「4」の場合には、1年単位のデータであることを示している。   For example, the analysis result information storage DB 108 stores the results totaled for each service, each building, each area, each rack, and each device in units of 15 minutes, 1 day, 1 month, and 1 year. Referring to the example of FIG. 6, the analysis result information storage DB 108 stores “service_view”, “building_view”, “area_view”, “rack_view”, and “facility_view” as table names. “Service_view” is an information reference table in service units, and stores “serviceid” that is a service ID, “type” that is the type of measurement time, and “time” that is the measurement time of the sensor as rowkeys. Here, when “type” is “1”, it indicates that the data is in units of 10 minutes, and when “type” is “2”, it indicates that the data is in units of one day, and “type” "3" indicates that the data is in units of one month, and "type" indicates that the data is in units of one year.

キャッシュ除去部109は、設備構成情報DB103に記憶された属性情報が更新された場合には、更新された属性情報に対応するキャッシュメモリ104内の属性情報を除去する。具体的には、キャッシュ除去部109は、設備構成情報DB103に格納されたデータが更新されると、更新されたデータに対応するキャッシュをキャッシュメモリ104から検索し、検索したキャッシュをクリアする。   When the attribute information stored in the facility configuration information DB 103 is updated, the cache removal unit 109 removes the attribute information in the cache memory 104 corresponding to the updated attribute information. Specifically, when the data stored in the facility configuration information DB 103 is updated, the cache removal unit 109 searches the cache memory 104 for a cache corresponding to the updated data, and clears the searched cache.

[メタデータ付与装置による処理]
次に、図7〜図10を用いて、実施例1に係るメタデータ付与装置100による処理を説明する。図7は、実施例1に係るメタデータ付与装置によるメタデータ付与処理の流れを示すフローチャートである。図8は、実施例1に係るメタデータ付与装置による分析集計処理の流れを示すフローチャートである。図9は、実施例1に係るメタデータ付与装置による情報提示処理の流れを示すフローチャートである。図10は、実施例1に係るメタデータ付与装置によるメタデータ付与処理の流れを示すフローチャートである。
[Processing by metadata adding device]
Next, processing performed by the metadata providing apparatus 100 according to the first embodiment will be described with reference to FIGS. FIG. 7 is a flowchart illustrating the flow of the metadata providing process performed by the metadata providing apparatus according to the first embodiment. FIG. 8 is a flowchart illustrating the flow of analysis and aggregation processing performed by the metadata providing apparatus according to the first embodiment. FIG. 9 is a flowchart illustrating the flow of the information presentation process performed by the metadata providing apparatus according to the first embodiment. FIG. 10 is a flowchart illustrating the flow of the metadata providing process performed by the metadata providing apparatus according to the first embodiment.

図7に示すように、データ収集部101は、所定の時間間隔が経過すると、センサ情報DB102からセンサIDとセンサ値とを取得する(ステップS101)。そして、データ収集部101は、キャッシュメモリ104に取得したセンサIDに紐づくキャッシュが存在するかを問い合わせる(ステップS102)。この結果、データ収集部101は、キャッシュが存在する場合には(ステップS103肯定)、キャッシュメモリ104からセンサIDに関連する設備構成情報を取得し(ステップS107)、取得した設備構成情報を分析前結果情報格納DB106に格納する(ステップS106)。   As illustrated in FIG. 7, when a predetermined time interval elapses, the data collection unit 101 acquires a sensor ID and a sensor value from the sensor information DB 102 (step S101). Then, the data collection unit 101 inquires whether there is a cache associated with the acquired sensor ID in the cache memory 104 (step S102). As a result, if the cache exists (Yes at Step S103), the data collection unit 101 acquires the equipment configuration information related to the sensor ID from the cache memory 104 (Step S107), and analyzes the acquired equipment configuration information before analysis. It stores in result information storage DB106 (step S106).

また、データ収集部101は、キャッシュがない場合には(ステップS103否定)、設備構成情報DB103からセンサIDに関連する設備構成情報を取得する(ステップS104)。そして、データ収集部101は、取得した設備構成情報をキャッシュメモリ104に格納して、キャッシュを作成する(ステップS105)。その後、データ収集部101は、センサIDに関連する設備構成情報を分析前情報格納DB106に格納する(ステップS106)。   If there is no cache (No at Step S103), the data collection unit 101 acquires equipment configuration information related to the sensor ID from the equipment configuration information DB 103 (Step S104). Then, the data collection unit 101 stores the acquired equipment configuration information in the cache memory 104, and creates a cache (step S105). Thereafter, the data collection unit 101 stores the equipment configuration information related to the sensor ID in the pre-analysis information storage DB 106 (step S106).

次に、図8を用いて、実施例1に係るメタデータ付与装置100による分析集計処理について説明する。図8に示すように、メタデータ付与装置100のデータ集計部105は、所定の時間間隔が経過すると、分析前情報格納DB106からセンサデータと関連するメタデータを取得する(ステップS201)。そして、データ集計部105は、取得したデータを分析し、所定の条件に応じてセンサデータおよびメタデータを集計する(ステップS202)。その後、集計した結果を分析結果情報格納DB108に格納する(ステップS203)。   Next, with reference to FIG. 8, the analysis and aggregation process performed by the metadata providing apparatus 100 according to the first embodiment will be described. As shown in FIG. 8, when a predetermined time interval elapses, the data totaling unit 105 of the metadata providing apparatus 100 acquires metadata related to sensor data from the pre-analysis information storage DB 106 (step S201). Then, the data totaling unit 105 analyzes the acquired data and totals sensor data and metadata according to a predetermined condition (step S202). Thereafter, the totaled results are stored in the analysis result information storage DB 108 (step S203).

例えば、データ集計部105は、サーバが提供するサービス単位、サーバが設置されているビル単位、サーバが設置されているフロア単位、サーバが収納されているラック単位、または、サーバ単位(装置単位)でセンサデータを集計し、集計した結果を分析結果情報格納DB108に格納する。   For example, the data totaling unit 105 includes a service unit provided by the server, a building unit in which the server is installed, a floor unit in which the server is installed, a rack unit in which the server is stored, or a server unit (device unit). Then, the sensor data is totaled, and the totaled result is stored in the analysis result information storage DB 108.

次に、図9を用いて、実施例1に係るメタデータ付与装置100による情報提示処理について説明する。図9に示すように、情報提示部107は、ユーザから検索用のキーとして、ID(サービスID、ビルID、エリアID、ラックIDまたは装置ID)と、データのタイプと、計測期間のセットを受け付けると、受け付けたキーを指定して、分析結果情報格納DB108からデータを取得する(ステップS301)。そして、情報提示部107は、分析結果情報格納DB108から取得したデータをユーザに表示する(ステップS302)。   Next, the information presentation process by the metadata providing apparatus 100 according to the first embodiment will be described with reference to FIG. As shown in FIG. 9, the information presenting unit 107 sets a set of ID (service ID, building ID, area ID, rack ID, or device ID), data type, and measurement period as a search key from the user. If accepted, the received key is designated and data is acquired from the analysis result information storage DB 108 (step S301). And the information presentation part 107 displays the data acquired from analysis result information storage DB108 to a user (step S302).

例えば、情報提示部107は、ユーザからエリアID「1」と、データのタイプ「2」(1日単位)と、計測期間「2012年1月1日〜12月31日」をキーとして指定して、分析結果情報格納DB108からデータを取得し、取得したデータをユーザに表示する。   For example, the information presenting unit 107 designates the area ID “1”, the data type “2” (one day unit), and the measurement period “January 1 to December 31, 2012” as keys from the user. Then, data is acquired from the analysis result information storage DB 108 and the acquired data is displayed to the user.

次に、図10を用いて、実施例1に係るメタデータ付与装置100による分析集計処理について説明する。図10に示すように、メタデータ付与装置100のキャッシュ除去部109は、設備構成情報DB103に格納されたデータが更新されると(ステップS401肯定)、更新されたデータに対応するキャッシュメモリ104のキャッシュをクリアする(ステップS402)。   Next, with reference to FIG. 10, analysis and aggregation processing by the metadata providing apparatus 100 according to the first embodiment will be described. As shown in FIG. 10, when the data stored in the facility configuration information DB 103 is updated (Yes in step S401), the cache removing unit 109 of the metadata providing apparatus 100 updates the cache memory 104 corresponding to the updated data. The cache is cleared (step S402).

そして、データ収集部101は、設備構成情報DB103から更新されたデータを取得する(ステップS403)。その後、データ収集部101は、取得したデータをキャッシュメモリ104に格納する(ステップS404)。   Then, the data collection unit 101 acquires updated data from the facility configuration information DB 103 (step S403). Thereafter, the data collection unit 101 stores the acquired data in the cache memory 104 (step S404).

[実施例1の効果]
上述してきたように、メタデータ付与装置100は、センサを一意に識別するセンサIDと、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報DB102と、センサが設置された設備に関する属性情報を記憶する設備構成情報DB103とを有する。そして、メタデータ付与装置100は、センサ情報DB102からセンサIDおよびセンサ値を取得し、該センサIDに対応する属性情報がキャッシュメモリ104に記憶されているか否かを判定する。そして、メタデータ付与装置100は、センサIDに対応する属性情報がキャッシュメモリ104に記憶されていないと判定された場合には、センサIDのセンサに関連する属性情報を設備構成情報DB103から抽出し、抽出した属性情報とセンサIDとを対応付けてキャッシュメモリ104に格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報格納DB106に格納する。そして、メタデータ付与装置100は、センサIDに対応する属性情報がキャッシュメモリ104に記憶されていると判定された場合には、センサIDに対応する属性情報を取得し、該属性情報をメタデータとしてセンサ値に対応付けて分析前情報格納DB106に格納する。このため、メタデータである設備構成情報のキャッシュがキャッシュメモリ104に存在しない場合には、新たにキャッシュを生成し、次回以降、同一クエリをコールした際にはセンサIDに紐付く設備構成情報をキャッシュメモリ104から取得できるので、RDBMSである設備構成情報DB103内部の各データの照合を行う負荷及び結果回答のための行の並びを一時的に蓄える負荷を軽減できる結果、センサデータにメタデータを付与する処理の負荷を軽減することが可能である。
[Effect of Example 1]
As described above, the metadata providing apparatus 100 includes a sensor ID that uniquely identifies a sensor, a sensor information DB 102 that stores a sensor value that the sensor detects every predetermined time, and a sensor. And an equipment configuration information DB 103 that stores attribute information related to the installed equipment. Then, the metadata providing apparatus 100 acquires a sensor ID and a sensor value from the sensor information DB 102 and determines whether or not attribute information corresponding to the sensor ID is stored in the cache memory 104. When it is determined that the attribute information corresponding to the sensor ID is not stored in the cache memory 104, the metadata providing apparatus 100 extracts the attribute information related to the sensor with the sensor ID from the facility configuration information DB 103. The extracted attribute information and the sensor ID are stored in the cache memory 104 in association with each other, and the extracted attribute information is stored as metadata in the pre-analysis information storage DB 106 in association with the sensor value. If it is determined that the attribute information corresponding to the sensor ID is stored in the cache memory 104, the metadata providing apparatus 100 acquires the attribute information corresponding to the sensor ID, and uses the attribute information as metadata. And stored in the pre-analysis information storage DB 106 in association with the sensor value. For this reason, if the cache of the equipment configuration information that is metadata does not exist in the cache memory 104, a new cache is generated, and the equipment configuration information associated with the sensor ID is called when the same query is called next time. Since it can be acquired from the cache memory 104, it is possible to reduce the load for collating each data in the equipment configuration information DB 103, which is an RDBMS, and the load for temporarily storing the row of rows for answering results. It is possible to reduce the processing load to be given.

また、実施例1によれば、分析前情報格納DB106に格納されたセンサ値およびメタデータを取得し、該メタデータを用いて、所定の条件に従ってセンサ値を集計し、集計した結果を分析結果情報格納DB108に格納する。このため、付与されたメタデータを利用して、センサデータを解析・集計することが可能である。   Further, according to the first embodiment, the sensor value and metadata stored in the pre-analysis information storage DB 106 are acquired, the sensor value is aggregated according to a predetermined condition using the metadata, and the aggregated result is an analysis result. Store in the information storage DB 108. For this reason, sensor data can be analyzed and aggregated using the given metadata.

また、実施例1によれば、設備構成情報DB103に記憶された属性情報が更新された場合には、更新された属性情報に対応するキャッシュメモリ104内の属性情報を削除し、設備構成情報DB103から更新された属性情報を取得し、更新された属性情報をキャッシュメモリ104に格納する。このため、設備構成情報DB103に記憶された属性情報が更新された場合には、キャッシュメモリ104に格納された属性情報も自動的に最新の情報に更新することが可能である。   According to the first embodiment, when the attribute information stored in the facility configuration information DB 103 is updated, the attribute information in the cache memory 104 corresponding to the updated attribute information is deleted, and the facility configuration information DB 103 is deleted. The updated attribute information is acquired from the cache memory 104 and the updated attribute information is stored in the cache memory 104. For this reason, when the attribute information stored in the equipment configuration information DB 103 is updated, the attribute information stored in the cache memory 104 can also be automatically updated to the latest information.

[システム構成]
また、上記実施例において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
[System configuration]
In addition, among the processes described in the above embodiment, all or a part of the processes described as being automatically performed can be manually performed, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method. In addition, the processing procedures, specific names, and information including various data and parameters shown in the document and drawings can be arbitrarily changed unless otherwise specified.

また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。   Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured.

[プログラム]
また、上記実施例において説明したメタデータ付与装置100が実行する処理をコンピュータが実行可能な言語で記述したプログラムを作成することもできる。例えば、実施例1に係るメタデータ付与装置100が実行する処理をコンピュータが実行可能な言語で記述したメタデータ付与プログラムを作成することもできる。この場合、コンピュータがメタデータ付与プログラムを実行することにより、上記実施例と同様の効果を得ることができる。さらに、かかるメタデータ付与プログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたメタデータ付与プログラムをコンピュータに読み込ませて実行することにより上記実施例1と同様の処理を実現してもよい。以下に、図1に示したメタデータ付与装置100と同様の機能を実現するメタデータ付与プログラムを実行するコンピュータの一例を説明する。
[program]
It is also possible to create a program in which the processing executed by the metadata providing apparatus 100 described in the above embodiment is described in a language that can be executed by a computer. For example, it is possible to create a metadata providing program in which processing executed by the metadata providing apparatus 100 according to the first embodiment is described in a language that can be executed by a computer. In this case, when the computer executes the metadata providing program, the same effect as in the above embodiment can be obtained. Further, the same processing as in the first embodiment is realized by recording the metadata providing program on a computer-readable recording medium, and reading and executing the metadata providing program recorded on the recording medium. May be. Hereinafter, an example of a computer that executes a metadata providing program that realizes the same function as the metadata providing apparatus 100 illustrated in FIG. 1 will be described.

図11は、メタデータ付与プログラムを実行するコンピュータ1000を示す図である。図11に例示するように、コンピュータ1000は、例えば、メモリ1010と、CPU1020と、ハードディスクドライブインタフェース1030と、ディスクドライブインタフェース1040と、シリアルポートインタフェース1050と、ビデオアダプタ1060と、ネットワークインタフェース1070とを有し、これらの各部はバス1080によって接続される。   FIG. 11 is a diagram illustrating a computer 1000 that executes a metadata providing program. As illustrated in FIG. 11, the computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These units are connected by a bus 1080.

メモリ1010は、図11に例示するように、ROM(Read Only Memory)1011及びRAM1012を含む。ROM1011は、例えば、BIOS(Basic Input Output System)等のブートプログラムを記憶する。ハードディスクドライブインタフェース1030は、図11に例示するように、ハードディスクドライブ1031に接続される。ディスクドライブインタフェース1040は、図11に例示するように、ディスクドライブ1041に接続される。例えば磁気ディスクや光ディスク等の着脱可能な記憶媒体が、ディスクドライブに挿入される。シリアルポートインタフェース1050は、図11に例示するように、例えばマウス1051、キーボード1052に接続される。ビデオアダプタ1060は、図11に例示するように、例えばディスプレイ1061に接続される。   The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012 as illustrated in FIG. The ROM 1011 stores a boot program such as BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to the hard disk drive 1031 as illustrated in FIG. The disk drive interface 1040 is connected to the disk drive 1041 as illustrated in FIG. For example, a removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive. The serial port interface 1050 is connected to a mouse 1051 and a keyboard 1052, for example, as illustrated in FIG. The video adapter 1060 is connected to a display 1061, for example, as illustrated in FIG.

ここで、図11に例示するように、ハードディスクドライブ1031は、例えば、OS1091、アプリケーションプログラム1092、プログラムモジュール1093、プログラムデータ1094を記憶する。すなわち、上記のメタデータ付与プログラムは、コンピュータ1000によって実行される指令が記述されたプログラムモジュールとして、例えばハードディスクドライブ1031に記憶される。   Here, as illustrated in FIG. 11, the hard disk drive 1031 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the above-described metadata providing program is stored in, for example, the hard disk drive 1031 as a program module in which a command to be executed by the computer 1000 is described.

また、上記実施例で説明した各種データは、プログラムデータとして、例えばメモリ1010やハードディスクドライブ1031に記憶される。そして、CPU1020が、メモリ1010やハードディスクドライブ1031に記憶されたプログラムモジュール1093やプログラムデータ1094を必要に応じてRAM1012に読み出し、キャッシュ判定手順、キャッシュ格納手順、メタデータ付与手順を実行する。   The various data described in the above embodiment is stored as program data, for example, in the memory 1010 or the hard disk drive 1031. Then, the CPU 1020 reads the program module 1093 and the program data 1094 stored in the memory 1010 and the hard disk drive 1031 to the RAM 1012 as necessary, and executes a cache determination procedure, a cache storage procedure, and a metadata assignment procedure.

なお、メタデータ付与プログラムに係るプログラムモジュール1093やプログラムデータ1094は、ハードディスクドライブ1031に記憶される場合に限られず、例えば着脱可能な記憶媒体に記憶され、ディスクドライブ等を介してCPU1020によって読み出されてもよい。あるいは、メタデータ付与プログラムに係るプログラムモジュール1093やプログラムデータ1094は、ネットワーク(LAN(Local Area Network)、WAN(Wide Area Network)等)を介して接続された他のコンピュータに記憶され、ネットワークインタフェース1070を介してCPU1020によって読み出されてもよい。   Note that the program module 1093 and the program data 1094 related to the metadata providing program are not limited to being stored in the hard disk drive 1031, but are stored in, for example, a removable storage medium and read out by the CPU 1020 via the disk drive or the like. May be. Alternatively, the program module 1093 and the program data 1094 related to the metadata providing program are stored in another computer connected via a network (LAN (Local Area Network), WAN (Wide Area Network), etc.), and the network interface 1070 is stored. It may be read by the CPU 1020 via

100 メタデータ付与装置
101 データ収集部
102 センサ情報DB
103 設備構成情報DB
104 キャッシュメモリ
105 データ集計部
106 分析前情報格納DB
107 情報提示部
108 分析結果情報格納DB
109 キャッシュ除去部
1000 コンピュータ
1010 メモリ
1020 CPU
1030 ハードディスクドライブインタフェース
1040 ディスクドライブインタフェース
1050 シリアルポートインタフェース
1060 ビデオアダプタ
1070 ネットワークインタフェース
1080 バス
1031 ハードディスクドライブ
1041 ディスクドライブ
1051 マウス
1052 キーボード
1061 ディスプレイ
DESCRIPTION OF SYMBOLS 100 Metadata provision apparatus 101 Data collection part 102 Sensor information DB
103 Equipment configuration information DB
104 Cache memory 105 Data totaling unit 106 Pre-analysis information storage DB
107 Information Presentation Unit 108 Analysis Result Information Storage DB
109 Cache Remover 1000 Computer 1010 Memory 1020 CPU
1030 Hard disk drive interface 1040 Disk drive interface 1050 Serial port interface 1060 Video adapter 1070 Network interface 1080 Bus 1031 Hard disk drive 1041 Disk drive 1051 Mouse 1052 Keyboard 1061 Display

Claims (5)

センサを一意に識別するセンサ識別子と、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報記憶部と、
前記センサが設置された設備に関する属性情報を記憶する設備構成情報記憶部と、
前記センサ情報記憶部からセンサ識別子およびセンサ値を取得し、該センサ識別子に対応する属性情報がキャッシュメモリに記憶されているか否かを判定するキャッシュ判定部と、
前記キャッシュ判定部によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていないと判定された場合には、前記センサ識別子のセンサに関連する属性情報を前記設備構成情報記憶部から抽出し、抽出した属性情報と前記センサ識別子とを対応付けて前記キャッシュメモリに格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報記憶部に格納するキャッシュ格納部と、
前記キャッシュ判定部によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていると判定された場合には、前記センサ識別子に対応する属性情報を前記キャッシュメモリから取得し、該属性情報をメタデータとしてセンサ値に対応付けて前記分析前情報記憶部に格納するメタデータ付与部と
を有することを特徴とするメタデータ付与装置。
A sensor identifier that uniquely identifies the sensor, a sensor information storage unit that stores in time series a sensor value that the sensor detects every predetermined time;
A facility configuration information storage unit that stores attribute information related to the facility in which the sensor is installed;
A cache determination unit that acquires a sensor identifier and a sensor value from the sensor information storage unit, and determines whether or not attribute information corresponding to the sensor identifier is stored in a cache memory;
If the cache determination unit determines that the attribute information corresponding to the sensor identifier is not stored in the cache memory, the attribute information related to the sensor of the sensor identifier is extracted from the facility configuration information storage unit. A cache storage unit that stores the extracted attribute information in association with the sensor identifier in the cache memory, and stores the extracted attribute information in the pre-analysis information storage unit in association with the sensor value as metadata;
When the cache determination unit determines that attribute information corresponding to the sensor identifier is stored in the cache memory, the attribute information corresponding to the sensor identifier is acquired from the cache memory, and the attribute information is A metadata providing unit that stores the metadata in association with a sensor value in the pre-analysis information storage unit.
前記分析前情報記憶部に格納されたセンサ値およびメタデータを取得し、該メタデータを用いて、所定の条件に従ってセンサ値を集計し、集計した結果を分析結果情報記憶部に格納するデータ集計部をさらに有することを特徴とする請求項1に記載のメタデータ付与装置。   Data tabulation that acquires sensor values and metadata stored in the pre-analysis information storage unit, tabulates sensor values according to predetermined conditions using the metadata, and stores the tabulated results in the analysis result information storage unit The metadata providing apparatus according to claim 1, further comprising a section. 前記設備構成情報記憶部に記憶された属性情報が更新された場合には、更新された属性情報に対応するキャッシュメモリ内の属性情報を除去するキャッシュ除去部と、
前記設備構成情報記憶部から更新された属性情報を取得し、更新された属性情報を前記キャッシュメモリに格納するデータ更新部と
をさらに有することを特徴とする請求項1または2に記載のメタデータ付与装置。
When the attribute information stored in the facility configuration information storage unit is updated, a cache removal unit that removes the attribute information in the cache memory corresponding to the updated attribute information;
The metadata according to claim 1, further comprising: a data updating unit that acquires updated attribute information from the facility configuration information storage unit and stores the updated attribute information in the cache memory. Granting device.
センサを一意に識別するセンサ識別子と、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報記憶部からセンサ識別子およびセンサ値を取得し、該センサ識別子に対応する属性情報がキャッシュメモリに記憶されているか否かを判定するキャッシュ判定工程と、
前記キャッシュ判定工程によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていないと判定された場合には、前記センサ識別子のセンサに関連する属性情報を、前記センサが設置された設備に関する属性情報を記憶する設備構成情報記憶部から抽出し、抽出した属性情報と前記センサ識別子とを対応付けて前記キャッシュメモリに格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報記憶部に格納するキャッシュ格納工程と、
前記キャッシュ判定工程によって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていると判定された場合には、前記センサ識別子に対応する属性情報を前記キャッシュメモリから取得し、該属性情報をメタデータとしてセンサ値に対応付けて前記分析前情報記憶部に格納するメタデータ付与工程と
を含むことを特徴とするメタデータ付与方法。
Attribute information corresponding to the sensor identifier obtained by acquiring the sensor identifier and the sensor value from a sensor information storage unit that stores the sensor identifier that uniquely identifies the sensor and the sensor value that the sensor detects every predetermined time in time series Cache determination step for determining whether or not is stored in the cache memory;
If it is determined by the cache determination step that attribute information corresponding to the sensor identifier is not stored in the cache memory, attribute information related to the sensor of the sensor identifier is related to the facility where the sensor is installed. The attribute information is extracted from the equipment configuration information storage unit, the extracted attribute information and the sensor identifier are associated with each other and stored in the cache memory, and the extracted attribute information is associated with the sensor value as metadata. A cache storage step of storing in the pre-analysis information storage unit;
If it is determined in the cache determination step that attribute information corresponding to the sensor identifier is stored in the cache memory, attribute information corresponding to the sensor identifier is acquired from the cache memory, and the attribute information is A metadata providing step of storing in the pre-analysis information storage unit in association with a sensor value as metadata.
センサを一意に識別するセンサ識別子と、該センサが所定の時間ごとに検出するセンサ値を時系列に記憶するセンサ情報記憶部からセンサ識別子およびセンサ値を取得し、該センサ識別子に対応する属性情報がキャッシュメモリに記憶されているか否かを判定するキャッシュ判定ステップと、
前記キャッシュ判定ステップによって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていないと判定された場合には、前記センサ識別子のセンサに関連する属性情報を、前記センサが設置された設備に関する属性情報を記憶する設備構成情報記憶部から抽出し、抽出した属性情報と前記センサ識別子とを対応付けて前記キャッシュメモリに格納するとともに、該抽出した属性情報をメタデータとしてセンサ値に対応付けて分析前情報記憶部に格納するキャッシュ格納ステップと、
前記キャッシュ判定ステップによって前記センサ識別子に対応する属性情報が前記キャッシュメモリに記憶されていると判定された場合には、前記センサ識別子に対応する属性情報を前記キャッシュメモリから取得し、該属性情報をメタデータとしてセンサ値に対応付けて前記分析前情報記憶部に格納するメタデータ付与ステップと
をコンピュータに実行させるためのメタデータ付与プログラム。
Attribute information corresponding to the sensor identifier obtained by acquiring the sensor identifier and the sensor value from a sensor information storage unit that stores the sensor identifier that uniquely identifies the sensor and the sensor value that the sensor detects every predetermined time in time series A cache determination step for determining whether or not is stored in the cache memory;
If it is determined in the cache determination step that attribute information corresponding to the sensor identifier is not stored in the cache memory, attribute information related to the sensor of the sensor identifier is related to the facility in which the sensor is installed. The attribute information is extracted from the equipment configuration information storage unit, the extracted attribute information and the sensor identifier are associated with each other and stored in the cache memory, and the extracted attribute information is associated with the sensor value as metadata. A cache storage step for storing in the pre-analysis information storage unit;
If it is determined in the cache determination step that attribute information corresponding to the sensor identifier is stored in the cache memory, attribute information corresponding to the sensor identifier is acquired from the cache memory, and the attribute information is A metadata providing program for causing a computer to execute a metadata providing step of storing in the pre-analysis information storage unit in association with a sensor value as metadata.
JP2012012364A 2012-01-24 2012-01-24 Metadata attachment apparatus, metadata attachment method and metadata attachment program Pending JP2013152557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012012364A JP2013152557A (en) 2012-01-24 2012-01-24 Metadata attachment apparatus, metadata attachment method and metadata attachment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012012364A JP2013152557A (en) 2012-01-24 2012-01-24 Metadata attachment apparatus, metadata attachment method and metadata attachment program

Publications (1)

Publication Number Publication Date
JP2013152557A true JP2013152557A (en) 2013-08-08

Family

ID=49048861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012012364A Pending JP2013152557A (en) 2012-01-24 2012-01-24 Metadata attachment apparatus, metadata attachment method and metadata attachment program

Country Status (1)

Country Link
JP (1) JP2013152557A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016157271A1 (en) * 2015-03-27 2018-02-01 日本電気株式会社 Sensor network system
US10303680B2 (en) 2014-02-07 2019-05-28 Kabushiki Kaisha Toshiba Data processing apparatus and data processing method
WO2020065925A1 (en) * 2018-09-28 2020-04-02 三菱電機株式会社 Server device, data distribution system, data provision method, and program
CN112307094A (en) * 2019-07-26 2021-02-02 北京百度网讯科技有限公司 Automatic driving data reading method and device, computer equipment and storage medium
WO2021166260A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system, and data collection method
WO2021166261A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system and data collection method
US11106558B2 (en) * 2016-11-14 2021-08-31 Omron Corporation Sensor opening test system, sensor opening test management terminal, sensor, sensor opening test method, and computer program
KR102324017B1 (en) * 2020-08-24 2021-11-09 숭실대학교산학협력단 Method for analyzing sensor data of internet of things, apparatus and system for executing the method
JP7294517B1 (en) * 2022-12-27 2023-06-20 横河電機株式会社 CONTROL SYSTEM, CONTROL METHOD OF CONTROL SYSTEM, AND NETWORK SWITCH
JP7311015B1 (en) * 2022-12-27 2023-07-19 横河電機株式会社 CONTROL SYSTEM, CONTROL METHOD OF CONTROL SYSTEM, AND CONTROLLER
WO2023176916A1 (en) * 2022-03-16 2023-09-21 株式会社ラプラス・システム Data structure containing identifier for numerical data, and numerical value management system using same

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10303680B2 (en) 2014-02-07 2019-05-28 Kabushiki Kaisha Toshiba Data processing apparatus and data processing method
JPWO2016157271A1 (en) * 2015-03-27 2018-02-01 日本電気株式会社 Sensor network system
US11106558B2 (en) * 2016-11-14 2021-08-31 Omron Corporation Sensor opening test system, sensor opening test management terminal, sensor, sensor opening test method, and computer program
WO2020065925A1 (en) * 2018-09-28 2020-04-02 三菱電機株式会社 Server device, data distribution system, data provision method, and program
CN112307094A (en) * 2019-07-26 2021-02-02 北京百度网讯科技有限公司 Automatic driving data reading method and device, computer equipment and storage medium
CN112307094B (en) * 2019-07-26 2024-04-02 北京百度网讯科技有限公司 Automatic driving data reading method and device, computer equipment and storage medium
WO2021166260A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system, and data collection method
JPWO2021166261A1 (en) * 2020-02-21 2021-08-26
WO2021166261A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system and data collection method
JP7367840B2 (en) 2020-02-21 2023-10-24 日本電信電話株式会社 Data collection system and data collection method
JP7388534B2 (en) 2020-02-21 2023-11-29 日本電信電話株式会社 Data collection system and data collection method
JPWO2021166260A1 (en) * 2020-02-21 2021-08-26
KR102324017B1 (en) * 2020-08-24 2021-11-09 숭실대학교산학협력단 Method for analyzing sensor data of internet of things, apparatus and system for executing the method
WO2023176916A1 (en) * 2022-03-16 2023-09-21 株式会社ラプラス・システム Data structure containing identifier for numerical data, and numerical value management system using same
JP7294517B1 (en) * 2022-12-27 2023-06-20 横河電機株式会社 CONTROL SYSTEM, CONTROL METHOD OF CONTROL SYSTEM, AND NETWORK SWITCH
JP7311015B1 (en) * 2022-12-27 2023-07-19 横河電機株式会社 CONTROL SYSTEM, CONTROL METHOD OF CONTROL SYSTEM, AND CONTROLLER

Similar Documents

Publication Publication Date Title
JP2013152557A (en) Metadata attachment apparatus, metadata attachment method and metadata attachment program
US7051020B2 (en) Intelligent query re-execution
WO2019085471A1 (en) Database synchronization method, application server, and computer readable storage medium
US20190310970A1 (en) Detecting quasi-identifiers in datasets
US20120310996A1 (en) Rapidly deploying virtual database applications using data model analysis
EP2945079A1 (en) Grid format data viewing and editing environment
JP6042974B2 (en) Data management apparatus, data management method, and non-temporary recording medium
US8090700B2 (en) Method for updating databases
US20170046353A1 (en) Database management system and database management method
US8386445B2 (en) Reorganizing database tables
JP2014048673A (en) Workflow generation server and method
US20150199196A1 (en) Systems and methods for multi-tiered format registration for applications
JP5844895B2 (en) Distributed data search system, distributed data search method, and management computer
JPWO2011111532A1 (en) Database system
CN111339171A (en) Data query method, device and equipment
US9213759B2 (en) System, apparatus, and method for executing a query including boolean and conditional expressions
US11036701B2 (en) Data sampling in a storage system
JP5436309B2 (en) Data processing apparatus, data processing method, and program
US8364722B2 (en) Hosting multiple logical databases contained in physical database
US11023449B2 (en) Method and system to search logs that contain a massive number of entries
CN112783711A (en) Method and storage medium for analyzing program memory on NodeJS
US20220019597A1 (en) Data management device and data management method
US9870404B2 (en) Computer system, data management method, and recording medium storing program
US20180165380A1 (en) Data processing system and data processing method
JP2009223409A (en) Document retrieval system and program