JP6917939B2 - Data provider - Google Patents
Data provider Download PDFInfo
- Publication number
- JP6917939B2 JP6917939B2 JP2018063539A JP2018063539A JP6917939B2 JP 6917939 B2 JP6917939 B2 JP 6917939B2 JP 2018063539 A JP2018063539 A JP 2018063539A JP 2018063539 A JP2018063539 A JP 2018063539A JP 6917939 B2 JP6917939 B2 JP 6917939B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- service
- series
- unit
- value
- 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
- Testing And Monitoring For Control Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、データ提供装置およびデータ提供方法に関する。 The present invention relates to a data providing device and a data providing method.
近年、いわゆるビッグデータを活用したサービスの提供を目的として、工場設備や現場の機器などから収集した現場データの一括管理・提供が可能なデータ処理装置が提案されている。 In recent years, for the purpose of providing services utilizing so-called big data, a data processing device capable of collectively managing and providing on-site data collected from factory equipment and on-site equipment has been proposed.
現場データは、工場内で計測された電力量を可視化したり、ラインごとの製品の生産数から稼働率を取得したりするサービス(以下、これを単に「サービス」と呼ぶ)で利用される。ところが、現場データは、それぞれ種類や特性が異なるため、現場データをサービスで利用するには、それぞれの現場データを適切に前処理し、サービスが利用可能な形式で提供する必要がある。 The site data is used in a service that visualizes the amount of electric energy measured in the factory and obtains the operating rate from the number of products produced for each line (hereinafter, this is simply referred to as "service"). However, since each site data has different types and characteristics, in order to use the site data in a service, it is necessary to appropriately preprocess each site data and provide it in a format in which the service can be used.
そこで、特許文献1では、複数の異なる周期で取得されたデータを組み合わせ、組み合わせたデータの不足値を補間することにより、統合された時系列データを生成する技術が開示されている。特許文献2では、上述の補間処理において、求めたいデータ系列値の性質に合わせて補間処理を選択し、取得された時系列データを統合して任意の時間における時系列データを生成する技術が展開されている。
Therefore,
ところで、工場設備等から収集される現場データは、取得周期や時刻精度、さらには欠測値の有無など、それぞれ特性が異なる。このため、それぞれの現場データの時刻のみを利用してデータを統合すると、不足値や不揃いな値を含む統合データとなり、サービスで利用することが困難な場合がある。 By the way, on-site data collected from factory equipment and the like have different characteristics such as acquisition cycle, time accuracy, and presence / absence of missing values. For this reason, if the data is integrated using only the time of each site data, it becomes integrated data including insufficient values and irregular values, and it may be difficult to use it in the service.
さらに、サービスが要求するデータの特性も様々であるため、サービス利用者は、サービスで複数の現場システムの現場データを適切に扱うことができるよう、現場システムごとにデータを整形する必要がある。 Furthermore, since the characteristics of the data required by the service vary, the service user needs to format the data for each site system so that the service can appropriately handle the site data of a plurality of site systems.
しかしながら、特許文献1,2に開示された技術では、サービス利用者が、現場システムで取得された現場データの意味を十分理解しており、現場データ自身に適切な前処理が施されていることを前提としている。現場データの意味とは、例えば、現場システムの時刻精度の違いや、異常値が記録された場合の定義等を含む。ところが、サービス利用者が現場データの意味を十分に理解してサービスを利用しているとは限らない。サービス利用者が現場データの意味を十分に理解していない場合は、現場データの意味を理解してサービスで利用可能な形式にデータを整形する前処理が必要となる。
However, in the techniques disclosed in
本発明は、上記問題に鑑みてなされたもので、その目的は、データ処理に対応するデータを効率よく提供することのできるようにしたデータ提供装置およびデータ提供方法を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a data providing device and a data providing method capable of efficiently providing data corresponding to data processing.
上記課題を解決すべく、本発明に従うデータ提供装置は、データ処理装置からの要求に応じてデータを提供するデータ提供装置であって、現場装置からデータを取得するデータ取得部と、データ処理装置で使用される所定のデータの仕様を示す仕様説明情報に基づいて、データ処理装置で実行されるデータ処理に対応する所定のテーブルを生成し、データ取得部から取得されるデータまたは当該データに基づいて生成されるデータのいずれかを所定のテーブルへ設定することにより、所定のデータを生成し、生成された所定のデータをデータ処理装置へ提供するデータ生成部と、を備える。 In order to solve the above problems, the data providing device according to the present invention is a data providing device that provides data in response to a request from the data processing device, and is a data acquisition unit that acquires data from a field device and a data processing device. Based on the specification description information indicating the specifications of the predetermined data used in, a predetermined table corresponding to the data processing executed by the data processing device is generated, and the data acquired from the data acquisition unit or based on the data. It is provided with a data generation unit that generates predetermined data by setting any of the generated data in a predetermined table and provides the generated predetermined data to a data processing apparatus.
本発明によれば、データ処理装置で実行されるデータ処理に対応する所定のテーブルを生成し、その所定のテーブルにデータを設定することにより、データ処理装置で使用される所定のデータを生成することができる。 According to the present invention, a predetermined table corresponding to data processing executed by a data processing device is generated, and by setting data in the predetermined table, predetermined data used in the data processing device is generated. be able to.
以下、図面に基づいて、本発明の実施の形態を説明する。本実施形態のデータ提供装置1は、データ処理装置2がデータ処理200を実行しやすいように、データ処理200に応じたデータセット(所定のデータ)を用意する。データ提供装置1は、まず最初に、データ処理装置2の要求に基づいて所定のデータの構成(仕様または形式と呼ぶこともできる)を定義し、その次に、現場装置3から取得されるデータを所定のデータの構成に適合させる。すなわち、本実施形態では、データ提供先の要求する形式(構成、仕様)に応じて、現場データを調整する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. The
図1は、本実施形態に係るデータ提供装置1を含むデータ統合システムの全体概要を示す説明図である。データ提供装置1は、例えば、発電所、化学プラント、製鉄所、機械式農場といった各種の現場4に適用することができる。
FIG. 1 is an explanatory diagram showing an overall outline of a data integration system including the
データ提供装置1は、データ処理装置2からの要求に応じて、現場4内の現場装置3から取得したデータを取得し、取得したデータをデータ処理装置2の要求に応じた形態に整えて提供する。データ提供装置1は、例えば、データ生成部11と、仕様説明情報管理部12と、データ取得部13とを備える。
The
データ生成部11は、データ処理装置2の求める形式のデータを生成して、データ処理装置2へ供給する機能である。データ生成部11は、データ処理200に対応する形式(仕様)を有する所定のテーブル41に、現場装置3から取得した現場データ42または現場データ42から生成されるデータのいずれかを設定する。これにより、データ生成部11は、データ処理装置2の求める所定のデータ(データセット)を生成して、データ処理装置2へ提供する。
The
データ生成部11は、所定のテーブル41を生成するテーブル生成部F10と、テーブル41の空欄またはテーブル41の生成に使用する中間段階のテーブルの空欄に対し、現場データ42または現場データ42に基づくデータのいずれかを設定する設定部F11〜F13とを備える。
The
第1設定部F11は、データ取得部13により現場装置3から取得される現場データ42の不足値を設定する。第2設定部F12は、第1設定部F11により前記不足値が設定された現場データ42について、所定のデータの基準となるデータ系列(基準データ系列)の各値に対応するように、基準データ系列に対応付けられる他のデータ系列のデータを設定する。第3設定部F13は、第2設定部F12により設定することのできなかった不足値を設定する。
The first setting unit F11 sets a shortage value of the
「情報管理部」としての仕様説明情報管理部12は、データ処理装置2で使用される所定のデータの仕様(形式)を規定する仕様説明情報を管理する機能である。仕様説明情報管理部12は、例えばサービス利用者から入力される情報を仕様説明情報として記憶し、管理する。
Specification explanation
データ取得部13は、データ生成部11からの指示により、現場装置3からデータ(現場データ)を取得する機能である。
The
データ処理装置2は、データ処理200を実行する計算機である。データ処理200には、例えば、異常の予兆診断処理、故障判定処理、寿命予測処理、稼働状態予測処理、プロセス監視処理といったデータ解析を行う処理が含まれる。データ処理200は、これらの例示した処理以外の処理を行ってもよい。
The
現場装置3は、現場4に配置される。現場装置3は、例えば、時間、温度、湿度、流量、圧力、色彩、硬度、液面レベル、回転数、電圧、電流、周波数、照度、気圧、長さ、pH、音の大きさなどの各種物理量(心理物理量を含めてもよい)を検出し、データ提供装置1へ送信する。現場装置3の検出する物理量を、検出対象、センサデータ、パラメータと呼ぶこともできる。各現場装置3は、それぞれの特性(取得周期、時刻精度、欠落値の有無等)に応じた現場データ42を記録し、記録された現場データ42をデータ取得部13へ送信する。
The
現場装置3は、データ提供装置1からの要求に応じて現場データ42を送信してもよいし、所定の周期または所定のイベント発生時に現場データ42を送信してもよい。送信の方法が異なる現場装置3が同一の現場4に混在してもよい。
The
なお、図1では、一つのデータ提供装置1が一つの現場4内の一つ以上の現場装置3に対応付けられる場合を示すが、これに限らず、一つのデータ提供装置1が複数の現場4に分散された複数の現場装置3に対応付けられてもよい。
Note that FIG. 1 shows a case where one
このように、図1に示すデータ提供装置1は、現場装置3から取得した現場データ42と、データ処理200に提供するデータの仕様説明情報とを用いて、データ処理200の要求に応じた所定のデータを生成する。
As described above, the
本実施形態のデータ提供装置1は、データ処理200で使用されるデータの仕様説明情報に基づいて、所定のデータの基準となる基準データ系列およびその値を決定し、さらに基準データ系列に対応付ける他のデータ系列を選択する。これにより、所定のデータを生成するための所定のテーブルが作成される。
The
データ提供装置1は、基準データ系列の各値に対応するように、他のデータ系列の値を決定する。欠落値や、基準データ系列の値に直接対応する値(データ)が存在しない場合、設定部F11〜F13は、それらの欠落した値または存在しない値を設定する。これにより、所定のテーブルが作成される。
The
したがって、本実施形態によれば、データ処理装置2のデータ処理200を利用するサービス利用者は、各現場装置3のデータ特性に依存せずに、必要なデータをデータ提供装置1から得ることができる。本実施形態によれば、データ処理200(情報処理サービス)に対応させるべく現場データを整形するための工数を削減することができ、使い勝手と作業効率の高いデータ提供装置を実現できる。
Therefore, according to the present embodiment, the service user who uses the
図2〜図16を用いて第1実施例を説明する。図2は、データ提供装置1を含むデータ統合システムの全体構成を示す。
The first embodiment will be described with reference to FIGS. 2 to 16. FIG. 2 shows the overall configuration of the data integration system including the
データ統合システムは、例えば、サービス端末20と、説明情報設定端末21と、データ提供装置10と、現場システム30とを備える。図1との対応関係を説明する。データ提供装置10はデータ提供装置1に、サービス端末20はサービス端末2に、現場システム30は現場装置3に、それぞれ対応する。データ生成部11はデータ生成指示部112およびサービスデータ生成部113に、仕様説明情報管理部12は説明情報登録部122と管理画面生成部123と説明情報管理部124とに対応する。データ取得部13はクエリ生成部114とクエリ実行制御部115とデータ受信部116とに対応する。情報処理サービス200は、図1のデータ処理200を言い換えたものである。
The data integration system includes, for example, a
次に、通信接続の構成を説明する。各サービス端末20とデータ提供装置10とは、通信路CN1により接続され、相互にデータを通信することが可能である。説明情報設定端末21とデータ提供装置10とは、通信路CN2により双方向通信可能に接続されている。データ提供装置10と現場システム30とは通信路CN3を介して双方向通信可能に接続されている。
Next, the configuration of the communication connection will be described. Each
通信路CNとしては、例えば、組織内のローカルエリアネットワーク(LAN)やインターネット等を用いてもよい。専用回線を使用してもよい。通信路CNは、有線通信または無線通信のいずれでもよい。通信路CN1〜CN3のうちいずれか複数または全部を共通の通信路として構成することもできる。 As the communication path CN, for example, a local area network (LAN) in the organization, the Internet, or the like may be used. A dedicated line may be used. The communication path CN may be either wired communication or wireless communication. Any one or all of the communication paths CN1 to CN3 may be configured as a common communication path.
「データ処理装置」の例であるサービス端末20は、「データ処理」としての情報処理サービス200を実行する。以下、情報処理サービスをサービスと略記する。サービス200としては、上述の通り、予兆診断処理、故障判定処理、寿命予測処理、稼働状態予測処理、プロセス監視処理といったデータ解析処理を挙げることができる。各サービス端末20は、少なくとも一つのサービス200を実行させることができる。一つのサービス端末20で異なる複数のサービス200を実行させてもよい。あるいは、同一のサービス200を複数のサービス端末20上で実行させてもよい。
The
サービス端末20は、通信路CN1を介してデータ提供装置10にデータ取得要求を送信し、サービス200で必要なデータをデータ提供装置10から取得する。データ取得の詳細処理フローについては図9にて後述する。サービス端末20は、例えば、「サービスA」、「サービスB」といったサービス毎に構成することができる。図中では、エンドユーザ(サービス利用者)にサービスAを提供可能なサービス端末20を「サービス端末A」と表示している。同様に、エンドユーザにサービスBを提供可能なサービス端末20を「サービス端末B」と表示している。
The
説明情報設定端末21は、データ提供装置10に登録される「仕様説明情報」としてのサービステーブル説明情報およびサービスデータ系列説明情報に対する操作を行う端末である。操作には、例えば、登録、編集、削除がある。説明情報設定端末21は、サービス端末20と共用でもよい。すなわち、一つのコンピュータ端末をサービス端末20および説明情報設定端末21として使用する構成でもよい。
The explanatory
サービステーブル説明情報は、サービス端末20がデータ提供装置10に要求するサービスデータ(以下、「サービステーブル」と呼ぶ)を説明する情報であり、例えばサービスデータを生成するときに基準とするデータ系列の情報、データ粒度、等を含む。
The service table explanation information is information for explaining the service data (hereinafter, referred to as "service table") requested by the
サービスデータ系列説明情報は、サービスデータを構成するデータ系列(以下、「サービスデータ系列」と呼ぶ)を説明する情報である。サービスデータ系列説明情報は、例えば、サービスデータとそれを生成する元となる現場データとを対応付ける情報と、前値補間や線形補間などデータ補間処理の補間ルールと、平均値や相関値などのデータ系列作成処理における系列値の決定ルール等とを含む。サービスデータは「所定のデータ」に対応し、サービステーブルは「所定のテーブル」に対応する。 The service data series explanatory information is information for explaining a data series (hereinafter, referred to as "service data series") constituting the service data. The service data series explanation information includes, for example, information that associates service data with field data that is the source of the service data, interpolation rules for data interpolation processing such as pre-value interpolation and linear interpolation, and data such as average value and correlation value. Includes rules for determining series values in the series creation process. The service data corresponds to "predetermined data", and the service table corresponds to "predetermined table".
データ提供装置10は、サービス端末20からのデータ取得要求(サービスデータ取得要求)を受け付けると、サービスデータ生成に必要な現場データを現場システム30から取得し、サービステーブル説明情報とサービスデータ系列説明情報とに基づいてデータ変換することによりサービスデータを生成する。そして、データ提供装置10は、生成されたサービスデータを、データ要求元のサービス端末20に送信する。
When the
データ提供装置10は、例えば、データアクセスインターフェース(図中、インターフェースをI/Fと略記)111と、データ生成指示部112と、サービスデータ生成部113と、クエリ生成部114と、クエリ実行制御部115と、データ受信部116と、通信インターフェース117と、説明情報アクセスインターフェース121と、説明情報登録部122と、管理画面生成部123と、説明情報管理部124と、サービステーブル説明情報管理テーブル125と、サービスデータ系列説明情報管理テーブル126とを含んでいる。
The
データアクセスインターフェース111は、サービス端末20からのデータ取得要求を受け付けるインターフェースと、サービス端末20へデータを提供するインターフェースとの両方を実現する。データアクセスインターフェース111としては、例えばWebAPI(Web Application Programming Interface)のREST等を用いることができる。
The data access interface 111 realizes both an interface for receiving a data acquisition request from the
データ生成指示部112は、サービス端末20から要求されたサービスデータを生成する機能ブロックである。データ生成指示部112は、例えば、説明情報管理部124を経由して、サービステーブル説明情報管理テーブル125およびサービスデータ系列説明情報管理テーブル126(以下、この2つの管理テーブルを「各説明情報管理テーブル」と呼ぶ)の情報を参照する。データ生成指示部112は、参照した情報に基づき、現場システム30から必要な現場データを取得すべく、クエリ生成部114に対してクエリ生成を要求する。そして、データ生成指示部112は、データ受信部116を経由して現場システム30から現場データを取得し、取得された現場データに対するデータ変換処理をサービスデータ生成部113へ指示する。これらの詳細な処理フローについては、図9にて説明する。
The data
サービスデータ生成部113は、データ生成指示部112からのデータ変換要求に従ってデータを変換する機能ブロックである。この機能ブロックの詳細については、図4にて説明する。
The service
クエリ生成部114は、データ生成指示部112からのクエリ生成要求に従い、現場システム30から現場データを取得するためのクエリを生成し、生成したクエリの実行をクエリ実行制御部115に対して指示する機能ブロックである。
The query generation unit 114 generates a query for acquiring the site data from the
クエリ実行制御部115は、クエリ生成部114からのクエリ実行指示に従い、通信インターフェース117を経由して現場システム30に対してクエリを発行する機能ブロックである。
The query
データ受信部116は、前記クエリに対する現場システム30からの応答である現場データを通信インターフェース117を介して受信し、データ生成指示部112に渡す機能ブロックである。
The
通信インターフェース117は、現場システム30と通信路CN3を介して通信するためのインターフェースを提供する。
The
説明情報アクセスインターフェース121は、説明情報設定端末21からデータ取得要求を受け付けるインターフェースと、説明情報設定端末21へデータを提供するインターフェースとを実現する。説明情報アクセスインターフェース121としては、例えばWebAPIのRESTなどがある。
The explanatory
説明情報登録部122は、説明情報設定端末21から受信した各種説明情報の登録・変更・削除要求に応じて、各説明情報管理テーブル125,126に対する情報の登録・変更・削除を行う機能ブロックである。
The explanatory
管理画面生成部123は、説明情報設定端末21からの説明情報管理画面要求に応じて、各説明情報管理テーブル125,126の情報を取得し、説明情報管理画面を生成する機能ブロックである。
The management
説明情報管理部124は、各説明情報管理テーブル125,126を管理する機能ブロックである。説明情報管理部124は、データ生成指示部112や説明情報登録部122からの要求に応じて、各説明情報管理テーブル125,126に対するデータの登録・変更・削除などを行う。
The explanatory
サービステーブル説明情報管理テーブル125は、サービステーブル説明情報を管理するテーブルである。詳細なテーブル構成は図5にて説明する。 The service table explanation information management table 125 is a table that manages the service table explanation information. A detailed table configuration will be described with reference to FIG.
サービスデータ系列説明情報管理テーブル126は、サービスデータ系列説明情報を管理するテーブルである。詳細なテーブル構成は図6にて説明する。 The service data series explanation information management table 126 is a table for managing the service data series explanation information. A detailed table configuration will be described with reference to FIG.
「現場装置」としての現場システム30は、データ提供装置10から要求された現場データを、通信路CN3を介してデータ提供装置10へ送信する。現場システム30は、例えば、データ提供装置10と現場システム30とを接続するゲートウェイ311と、センサ群313と、それらセンサ313を制御するコントローラ312と、センサ313がセンシングした現場データを蓄積する現場データ格納部314とを備える。
The
図3を用いて、データ提供装置10のハードウェア構成を説明する。データ提供装置10は、例えば、各種処理を行うホストCPU(Central Processing Unit)101と、ホストメモリ102と、記憶装置103と、通信インターフェース104と、周辺インターフェース105と、バス106とを備える。ホストCPU101、ホストメモリ102、記憶装置103、通信インターフェース104、周辺インターフェース105は、バス106を介して接続され、相互に情報をやり取り可能となっている。
The hardware configuration of the
ホストCPU101は、記憶装置103に保持された所定のコンピュータプログラムを実行する演算装置である。ホストCPU101が所定のコンピュータプログラムを実行することにより、図2で述べたデータ提供装置10の各機能が実現される。
The
ホストメモリ102は、ホストCPU101が上述のコンピュータプログラムを実行する際に、ワーキングメモリおよび入出力データの一時バッファとして用いられる揮発性記憶装置である。
The
記憶装置103は、例えば、磁気ディスク装置、フラッシュROM(Read Only Memory)等から構成され、OS(オペレーティングシステム)、各種ドライバ、各種アプリケーションプログラム等のコンピュータプログラムと、これらコンピュータプログラムで使用される各種情報(例えば、管理者または保守者によって設定される情報等)とを格納している。
The
通信インターフェース104は、データ提供装置10が通信路CN1〜CN3を介してサービス端末20や説明情報設定端末21や現場システム30と通信を行う際のインターフェースを提供する。通信インターフェース104は、2つ以上あっても構わない。
The
周辺インターフェース105は、周辺装置をデータ提供装置10に接続するインターフェースである。周辺装置としては、例えばマウス、キーボード、モニタディスプレイ、プリンタ等の入出力装置や、USB(Universal Serial Bus)メモリ等の外部ストレージ等がある。
The
図4は、サービスデータ生成部113の内部構成のブロック図である。サービスデータ生成部113は、例えば、基準データ系列決定部1131と、現場データ不足値決定部1132と、サービスデータ系列値決定部1133と、サービスデータ系列不足値決定部1134とを備える。
FIG. 4 is a block diagram of the internal configuration of the service
基準データ系列決定部1131は、サービスデータ生成に際して基準とするデータ系列を決定する機能ブロックである。 The reference data sequence determination unit 1131 is a functional block that determines a reference data sequence when generating service data.
現場データ不足値決定部1132は、各説明情報管理テーブル125,126の説明情報に基づき、受信した現場データの不足値を決定する機能ブロックである。不足値には、例えば、欠測値や異常値等を含む。
The site data shortage
サービスデータ系列値決定部1133は、現場データ不足値決定部1132によって生成された現場データと各説明情報管理テーブル125,126の説明情報とに基づき、サービスデータ系列値を決定する機能ブロックである。
The service data series
サービスデータ系列不足値決定部1134は、サービスデータ系列値決定部1133において決定されなかった値を決定する機能ブロックである。これら4つの機能ブロックの処理フローについては、図10〜図13にて説明する。
The service data series shortage
図5は、サービステーブル説明情報管理テーブル125の構成を示す。サービステーブル説明情報管理テーブル125は、サービステーブルの基準データ系列を決定するための情報を管理する。すなわち、サービステーブル説明情報管理テーブル125は、例えば、サービステーブル名1251と、基準データ系列名1252と、データ粒度1253と、オフセット1254と、開始値1255と、終了値1256との各情報を格納する。
FIG. 5 shows the configuration of the service table explanatory information management table 125. The service table description information management table 125 manages information for determining a reference data series of the service table. That is, the service table explanation information management table 125 stores, for example, each information of the
サービステーブル名1251の列には、サービステーブルを一意に識別するための名前が格納されている。サービステーブル名1251には、例えば、「サービスAで利用するテーブルA」のように、各サービステーブルを識別するための情報(ID、名称等)が格納されている。
In the column of the
基準データ系列名1252の列には、サービステーブル生成にあたって基準とするデータ系列の情報が格納される。基準データ系列の名前として、サービスデータ系列説明情報管理テーブル126に格納されている情報から選択することができる。あるいは、サービスデータ系列説明情報管理テーブル126に格納されている情報以外の、現場データに存在するデータ系列の名前を基準データ系列の名前として選択してもよい。
In the column of the reference
データ粒度1253の列には、基準データ系列名1252で指定された基準データ系列のデータ粒度の情報が格納される。例えば、基準データ系列が「時系列」であれば、時刻粒度「3秒」などが格納される。
The
オフセット1254の列は、基準となる値からの差を意味する値(以下、「オフセット」と呼ぶ)が格納されている。オフセット1254は、基準データ系列を決定する際に、データ粒度1253とともに必要となる情報である。オフセット1254は、データ粒度1253の範囲内で指定される。
The column of offset 1254 stores a value (hereinafter, referred to as "offset") meaning a difference from the reference value. The offset 1254 is information that is needed along with the
例えば、基準データ系列1252としてある時系列データが指定され、データ粒度1253が「5秒」に設定されている場合を説明する。この場合、基準となる値は「0」を基準としてデータ粒度「5秒」を繰り返し加算した値となる。すなわち、「毎分0秒」「毎分5秒」「毎分10秒」等となる。なお、上記の例ではデータ粒度1253とオフセット1254とによって基準データ系列の値を決めているが、後述する開始値1255および終了値1256の指定によってデータ系列の値を決定することもできる。
For example, a case where a certain time series data is specified as the
開始値1255と終了値1256には、基準データ系列の開始値と終了値とがそれぞれ格納されている。例えば、基準データ系列が「時系列」であれば、時刻「2018−01−01 0:00:00」などの値が格納される。
The
符号1257で示すレコードは、サービステーブル説明情報の一例である。これは「サービステーブルA」の基準データ系列として、サービスデータ系列説明情報管理テーブル126に格納されているデータ系列の中から「時刻A」を選択し、それは開始時刻「2018−01−01 0:00:00」から、取得した現場データの最新レコードの時刻までの、データ粒度「1秒」、オフセット「0秒」の時系列であることを示している。
The record indicated by
なお、基準データ系列の決定にあたっては、データ系列を指定する代わりに、データ系列を一意に決定できるような情報を与えてもよい。例えば、符号1258で示すレコードでは、基準データ系列は「時系列」であり、それは開始時刻「2018−01−07 12:00:00」から、終了時刻「2018−01−07 12:10:00」までの、時刻粒度「5秒」、オフセット「1秒」の時系列であることを示している。
In determining the reference data series, instead of specifying the data series, information that can uniquely determine the data series may be given. For example, in the record indicated by
さらに、列1252〜1256は、基準データ系列が一意に決まるように指定されなければならない。例えば、データ粒度1253は指定されているが、オフセット1254が指定されていない場合、基準データ系列の値は、オフセットが指定可能な範囲で任意の値を取り得る。そのため、この場合はオフセットを指定する必要がある。一方で、基準データ系列が一意に決まるように指定することができれば、列1252〜1256の一部情報を設定しなくてもよい。
In addition, columns 1252-1256 must be designated so that the reference data series is uniquely determined. For example, if the
図6は、サービスデータ系列説明情報管理テーブル126の構成を示す。サービスデータ系列説明情報管理テーブル126は、例えば、サービステーブル名1261と、サービスデータ系列名1262と、現場データ名1263と、現場データ不足値決定ルール1264と、サービスデータ系列値決定ルール1265と、サービスデータ系列不足値決定ルール1266との各情報を格納している。
FIG. 6 shows the configuration of the service data series explanatory information management table 126. The service data series explanation information management table 126 includes, for example, a
サービスデータ系列名1262の列には、サービステーブルの各列を一意に識別するための名前が格納されている。
The column of the service
現場データ名1263の列には、サービスデータを生成する前の現場データを一意に識別するためのデータ名が格納されている。
In the column of the
現場データ不足値決定ルール1264の列には、現場データ名1263で指定された現場データの不足値を決定するルールが格納されている。現場データの不足値を決定するルールは、現場データが欠損していたり、異常を示すデータが格納されていた場合に適用される。例えば、決定ルール1264が「固定値補間 固定値:0」の場合、現場データの不足値に「0」を代入する。決定ルール1264では、異常値を判定する条件等のように、現場データ不足値決定ルールを適用するための条件を追加で設定してもよい。
In the column of the site data shortage
サービスデータ系列値決定ルール1265の列には、サービスデータ系列名1262の系列値を決定するためのルールが格納される。例えば、決定ルール1265が「線形補間」、現場データの「2018−01−01 0:00:00」の値が「100」、「2018−01−01 0:00:10」の値が「200」である場合、サービスデータ系列の「2018−01−01 0:00:05」の値は「150」に決定される。
In the column of the service data series
サービスデータ系列不足値決定ルール1266の列には、決定ルール1265を適用してサービスデータ系列を生成した結果、サービスデータ系列値が不足した場合に適用されるルールが設定される。
In the column of the service data series shortage
例えば、決定ルール1266が「前値補間」の場合、サービスデータ系列の不足値には、不足値の時刻よりも早い時刻から、不足値の時刻に最も近い時刻の値と同じ値が代入される。例えば、データ粒度が「5秒」であり、「2018−01−01 0:00:05」の値が不足している場合、前値である「2018−01−01 0:00:00」の値が代入される。その前値が存在しない場合は、さらに一つ前の「2017−12−31 23:59:55」の値が代入される。その値も存在しない場合は、さらにデータ粒度単位で時刻を遡り、存在する値が不足値として代入される。
For example, when the
符号1267のレコードは、サービスデータ系列説明情報126の一例である。この情報には、「現場システムFS(1)センサSS(1)」のデータから、「サービスAテーブルA」「データd1」を生成するためのルールが記載されている。これらの決定ルールの詳細については、図11〜図13にて説明する。
The record of
なお、決定ルール1264〜1266は、これらルールのすべてもしくは一部を設定しないこともできる。 It should be noted that the determination rules 1264 to 1266 may not set all or part of these rules.
図7,図8を用いて、説明情報設定端末21が図4,図6に示した各種説明情報125,126を管理するための管理画面について説明する。
A management screen for the explanatory
図7は、サービステーブル説明情報登録画面G10の一例である。本画面G10は、サービス利用者であるエンドユーザが説明情報設定端末21を用いて、サービステーブルを登録・変更・削除するために用いるユーザインターフェースである。以下、サービス利用者であるエンドユーザをユーザと呼ぶことがある。
FIG. 7 is an example of the service table explanation information registration screen G10. This screen G10 is a user interface used by an end user who is a service user to register / change / delete a service table using the explanatory
画面G10は、例えば、サービステーブル名選択部G100と、登録/更新 確定ボタンG101と、サービステーブル名入力部G102と、基準データ系列選択部G103と、データ粒度入力部G104と、オフセット入力部G105と、開始値入力部G106と、終了値入力部G107と、追加/更新ボタンG108と、サービステーブル説明情報表示部G109と、編集ボタンG110と、削除ボタンG111とを含む。 The screen G10 includes, for example, a service table name selection unit G100, a registration / update confirmation button G101, a service table name input unit G102, a reference data series selection unit G103, a data granularity input unit G104, and an offset input unit G105. , The start value input unit G106, the end value input unit G107, the add / update button G108, the service table explanation information display unit G109, the edit button G110, and the delete button G111 are included.
サービステーブル名選択部G100は、説明情報125を編集するサービステーブルを選択するためのインターフェースである。ユーザは、サービステーブル名選択部G100において、サービステーブル名を直接入力して指定してもよいし、あるいは、既に登録されているサービステーブルの一覧から選択してもよい。
The service table name selection unit G100 is an interface for selecting a service table for editing the
登録/更新 確定ボタンG101は、画面G10で登録・変更・削除を行った結果を確定するためのインターフェースである。確定されると、図5に示す説明情報管理テーブル125の情報が更新される。 The registration / update confirmation button G101 is an interface for confirming the result of registration / change / deletion on the screen G10. When confirmed, the information in the explanatory information management table 125 shown in FIG. 5 is updated.
サービステーブル名入力部G102は、新たにサービステーブルを追加したり、あるいは、既に登録されているサービステーブルの名前を変更する際に、サービステーブル名を決定するためのインターフェースである。 The service table name input unit G102 is an interface for determining the service table name when a new service table is added or the name of the already registered service table is changed.
基準データ系列選択部G103は、サービステーブルの生成に際して基準データ系列を選択するためのインターフェースである。選択部G103では、各種説明情報管理テーブル125,126に登録されている名前の一覧から選択する。なお、基準データ系列を指定しなくても基準データ系列が一意に決定される場合は、例えば、「時系列」等のように、基準データ系列の種別を選択できるようにしてもよい。 The reference data series selection unit G103 is an interface for selecting a reference data series when generating a service table. The selection unit G103 selects from a list of names registered in various explanatory information management tables 125 and 126. If the reference data series is uniquely determined without specifying the reference data series, the type of the reference data series may be selected, for example, "time series".
データ粒度入力部G104およびオフセット入力部G105は、基準データ系列選択部G103で選択された基準データ系列の、データ粒度およびオフセットを入力するためのインターフェースである。 The data particle size input unit G104 and the offset input unit G105 are interfaces for inputting the data particle size and the offset of the reference data series selected by the reference data series selection unit G103.
開始値入力部G106および終了値入力部G107は、基準データ系列選択部G103で選択された基準データ系列の、開始値および終了値を入力するためのインターフェースである。開始値および終了値は、基準データ系列の範囲を決定する際に用いられる。 The start value input unit G106 and the end value input unit G107 are interfaces for inputting the start value and the end value of the reference data series selected by the reference data series selection unit G103. The start and end values are used in determining the range of the reference data series.
追加/更新ボタンG108は、入力部G102〜G107に入力された結果を登録したり、更新したりする際に用いられるインターフェースである。サービステーブル名選択部G100にてサービステーブルが選択されていない状態で追加/更新ボタンG108が押下されると、サービステーブル説明情報表示部G109に新たなサービステーブル説明情報の行が追加される。これに対し、サービステーブル名選択部G100にてサービステーブルが選択された状態でボタンG108が押下されると、サービステーブル説明情報表示部G109では該当するサービステーブル説明情報の行が更新される。 The add / update button G108 is an interface used when registering or updating the results input to the input units G102 to G107. When the add / update button G108 is pressed while the service table is not selected in the service table name selection unit G100, a new line of service table explanation information is added to the service table explanation information display unit G109. On the other hand, when the button G108 is pressed while the service table is selected by the service table name selection unit G100, the service table explanation information display unit G109 updates the line of the corresponding service table explanation information.
サービステーブル説明情報表示部G109は、現在登録されているサービステーブル説明情報を表示するためのインターフェースである。 The service table explanation information display unit G109 is an interface for displaying the currently registered service table explanation information.
編集ボタンG110は、各サービステーブルのサービスデータ系列説明情報の編集を行う場合に用いられるインターフェースである。ユーザは、表示部G109の各行の編集ボタンG110を押下することにより、該当するサービステーブルのサービスデータ系列説明情報を編集できる。さらにユーザは、後述する図8のサービスデータ系列説明情報登録画面G20にて、各種操作を行うことができる。 The edit button G110 is an interface used when editing the service data series explanatory information of each service table. The user can edit the service data series explanatory information of the corresponding service table by pressing the edit button G110 of each line of the display unit G109. Further, the user can perform various operations on the service data series explanation information registration screen G20 of FIG. 8 which will be described later.
削除ボタンG111は、サービステーブル説明情報表示部G109にて各サービステーブルを削除するためのインターフェースである。ユーザが、表示部G109の各行の削除ボタンG111を押下することにより、該当するサービステーブル説明情報が表示部G109から削除される。 The delete button G111 is an interface for deleting each service table on the service table explanation information display unit G109. When the user presses the delete button G111 of each row of the display unit G109, the corresponding service table explanatory information is deleted from the display unit G109.
図8は、サービスデータ系列説明情報登録画面G20の一例である。本画面G20は、ユーザが説明情報設定端末21を用いて、サービスデータ系列説明情報を登録・変更・削除するために用いるユーザインターフェースである。
FIG. 8 is an example of the service data series explanation information registration screen G20. This screen G20 is a user interface used by the user to register / change / delete service data series explanatory information using the explanatory
画面G20は、例えば、サービスデータ系列名選択部G200と、登録/更新 確定ボタンG201と、サービスデータ系列名入力部G202と、現場データ選択部G203と、現場データ不足値決定ルール選択部G204と、サービスデータ系列値決定ルール選択部G205と、サービスデータ系列不足値決定ルール選択部G206と、追加/更新ボタンG207と、サービステーブル説明情報表示部G208と、サービスデータ系列説明情報表示部G209と、削除ボタン712とを含む。 The screen G20 includes, for example, a service data series name selection unit G200, a registration / update confirmation button G201, a service data series name input unit G202, a site data selection unit G203, a site data shortage value determination rule selection unit G204, and the like. Service data series value determination rule selection unit G205, service data series shortage value determination rule selection unit G206, add / update button G207, service table explanation information display unit G208, service data series explanation information display unit G209, and deletion Includes button 712 and.
サービスデータ系列名選択部G200は、説明情報を編集するサービスデータ系列を選択するためのインターフェースである。ユーザは、サービスデータ系列名を直接入力して指定してもよいし、あるいは、既に登録されているサービステーブルの一覧から選択してもよい。 The service data series name selection unit G200 is an interface for selecting a service data series for editing explanatory information. The user may directly enter and specify the service data series name, or may select from a list of service tables already registered.
登録/更新 確定ボタンG201は、本画面G20で登録・変更・削除を行った結果を確定するためのインターフェースである。確定されると、図6のテーブル126で管理されている説明情報管理テーブル126の情報が更新される。 The registration / update confirmation button G201 is an interface for confirming the result of registration / change / deletion on the main screen G20. When confirmed, the information in the explanatory information management table 126 managed in the table 126 in FIG. 6 is updated.
サービスデータ系列名入力部G202は、新たにサービスデータ系列をサービステーブルに追加したり、あるいは、既に登録されているサービスデータ系列の名前を変更したりする際に、サービスデータ系列名を決定するためのインターフェースである。 The service data series name input unit G202 determines the service data series name when a new service data series is added to the service table or when the name of the already registered service data series is changed. Interface.
現場データ選択部G203は、サービスデータ系列名入力部G202に入力されたサービスデータ系列を生成するための現場データを指定する際に用いられるインターフェースである。 The site data selection unit G203 is an interface used when designating site data for generating the service data series input to the service data series name input unit G202.
現場データ不足値決定ルール選択部G204、サービスデータ系列値決定ルール選択部G205、サービスデータ系列不足値決定ルール選択部G206は、上述の決定ルール1264,1265,1266を選択するためのインターフェースである。これらの決定ルールの詳細については、図11〜図13にて説明する。
The site data shortage value determination rule selection unit G204, the service data series value determination rule selection unit G205, and the service data series shortage value determination rule selection unit G206 are interfaces for selecting the above-mentioned
追加/更新ボタンG207は、入力部G202〜G206に入力された結果を追加・更新する際に用いられるインターフェースである。サービスデータ系列名選択部G200において、サービスデータ系列が選択されていない状態で追加/更新ボタンG207が押下されると、サービスデータ系列説明情報表示部G209に新たなサービスデータ系列説明情報の行が追加される。サービスデータ系列名選択部G200おいて、サービスデータ系列が選択された状態でボタンG207が押下されると、サービスデータ系列説明情報表示部G209では、該当するサービスデータ系列説明情報の行が更新される。 The add / update button G207 is an interface used when adding / updating the results input to the input units G202 to G206. When the add / update button G207 is pressed in the service data series name selection unit G200 when the service data series is not selected, a new line of service data series explanation information is added to the service data series explanation information display unit G209. Will be done. In the service data series name selection unit G200, when the button G207 is pressed while the service data series is selected, the service data series explanation information display unit G209 updates the line of the corresponding service data series explanation information. ..
サービステーブル説明情報表示部G208は、現在表示されているサービスデータ系列説明情報が属するサービステーブル説明情報を表示するインターフェースである。 The service table explanation information display unit G208 is an interface for displaying the service table explanation information to which the currently displayed service data series explanation information belongs.
サービスデータ系列説明情報表示部G209は、現在登録されているサービステーブル説明情報を表示するインターフェースである。なお、サービスデータ系列説明情報表示部G209では、基準データ系列に設定されているサービスデータ系列の決定ルールの設定および削除を不可能としてもよい。基準データ系列が変更されると、設定されていたサービスデータ系列の各決定ルールの決定及び削除が可能となるようにしてもよい。 The service data series explanation information display unit G209 is an interface for displaying the currently registered service table explanation information. The service data series explanation information display unit G209 may not be able to set or delete the service data series determination rule set in the reference data series. When the reference data series is changed, it may be possible to determine and delete each determination rule of the set service data series.
削除ボタンG210は、ユーザがサービスデータ系列説明情報表示部G209において、各サービスデータ系列を削除するためのインターフェースである。ユーザが表示部G209の各行の削除ボタンG210を押下すると、該当するサービスデータ系列説明情報が表示部G209から削除される。 The delete button G210 is an interface for the user to delete each service data series in the service data series explanation information display unit G209. When the user presses the delete button G210 of each line of the display unit G209, the corresponding service data series explanatory information is deleted from the display unit G209.
図9〜図15を用いて、データ提供装置10の各種処理フローを説明する。図9は、データ提供装置10がサービス端末20にサービスデータを提供する処理を示すフローチャートである。本処理は、サービス端末20がデータ提供装置10に対して、サービスデータを要求した際に実行される。
Various processing flows of the
データ提供装置10のデータ生成指示部112は、データアクセスインターフェース111経由でサービス端末20からサービスデータ取得要求を受信すると(S10:YES)、本処理が開始される。データ生成指示部112は、サービスデータ要求に含まれる、サービステーブル名とサービステーブルデータ系列名とを説明情報管理部124に渡し、各説明情報管理テーブル125,126から、当該サービスデータに関する説明情報の一覧を取得する(S11)。
When the data
データ生成指示部112は、ステップS11で取得された説明情報から、サービスデータ生成に必要な現場データの一覧を生成する(S12)。
The data
データ生成指示部112は、現場システム30から、必要な現場データを取得する(S13)。例えば、データ生成指示部112は、データ取得のためのクエリ生成をクエリ生成部114に指示する。生成されたクエリがクエリ制御実行部108で実行されることにより、データ生成指示部112は、通信インターフェース117およびデータ受信部116経由で、現場システム30から現場データを取得することができる。
The data
データ生成指示部112は、サービスデータ生成部113に対して、現場システム30から取得された現場データと各種説明情報125,126とを渡し、データ生成処理の開始を要求する(S14)。ステップS14の詳細は図10にて説明する。
The data
最後に、データ生成指示部112は、サービスデータ生成部113によって生成されたサービスデータをサービス端末20に返信する(S15)。
Finally, the data
図10は、データ生成指示部112がサービスデータ生成部113にサービスデータ生成を要求した際の、サービスデータ生成部113の処理フローを説明したフローチャートである。
FIG. 10 is a flowchart illustrating a processing flow of the service
データ生成指示部112がサービスデータ生成部113に対して、現場データと各種説明情報125,126とを渡すと、サービスデータ生成部113は、現場データを、時系列をキーとして一つのデータに結合する(S21)。
When the data
時系列をキーとすることについて説明する。例えば、異なる2つのセンサ313から取得された現場データについて、同時刻に取得された値が存在する場合、これらの2つの値を並べて1つの行を生成する。一方の現場データにのみ存在する時刻の値は、一方の値のみ記載し、他方の値は空とした行を生成する。これらの作業を繰り返すことで、ステップS21を実行する。なお、キーとするデータ系列を別途設定することで、現場データを結合してもよい。
The time series is used as a key. For example, for field data acquired from two
サービスデータ生成部113は、サービステーブル説明情報管理テーブル125を参照することにより、ステップS21で結合した現場データの中から、基準となるデータ系列を決定する(S22)。
The service
サービスデータ生成部113は、サービステーブル説明情報管理テーブル125を参照して、ステップS22で決定したデータ系列の値を生成することにより、基準となるデータ系列を生成する(S23)。
The service
サービスデータ生成部113は、サービスデータに含まれるサービスデータ系列ごとに(S24)、ステップS25〜S27による3段階の決定フローを実行して、各サービスデータ系列の値を決定する。ステップS25〜S27では、サービスデータ系列説明情報126に含まれる決定ルール1264〜1266を参照して、それぞれの決定処理を実施する。
The service
ただし、決定ルール1264〜1266の全てが実施されるとは限らない。一部のルールのみが実施され、他のルールは実施されないこともあり得る。各決定フローの詳細については図11〜図13にて説明する。 However, not all of the decision rules 1264 to 1266 are implemented. It is possible that only some rules will be enforced and others will not. Details of each determination flow will be described with reference to FIGS. 11 to 13.
図11は、上述の3段階の決定フローのうち、最初に実行される現場データ不足値決定フロー(S25)を説明するフローチャートである。 FIG. 11 is a flowchart illustrating a field data shortage value determination flow (S25) that is executed first among the above-mentioned three-stage determination flows.
サービスデータ生成部113は、現場データの不足値を決定するルールが設定されているか確認する(S31)。現場データの不足値を決定するルールが設定されていない場合(S31:NO)、図10のデータ生成処理に戻り、サービスデータ系列決定フロー(S26)に移行する。
The service
現場データの不足値を決定するルールが設定されている場合(S31:YES)、サービスデータ生成部113は、現場データのすべての系列点に値が存在するかどうかを確認する(S32)。
When the rule for determining the shortage value of the site data is set (S31: YES), the service
すべての系列点に値が存在する場合(S32:YES)、サービスデータ生成部113は、図10の処理に戻り、サービスデータ系列決定フロー(S26)に移行する。
When there are values in all the sequence points (S32: YES), the service
値の存在しない系列点がある場合(S32:NO)、サービスデータ生成部113は、現場データのデータ系列に存在する値と現場データ不足値決定ルールとを参照することにより、現場データの値が存在しない系列点の値を作成する(S33)。そして、サービスデータ生成部113は、図10の処理に戻り、サービスデータ系列決定フロー(S26)へ移行する。ここで、現場データの不足値の決定に際して参照するデータ系列の値は、値を作成する対象となるデータ系列自身のものでもよいし、値を作成する対象となるデータ系列以外の他のデータ系列の値でもよい。
When there is a series point where the value does not exist (S32: NO), the service
図12は、上述の3段階の決定フローのうち、2段階目に実行されるサービスデータ系列値決定フロー(S26)を示すフローチャートである。 FIG. 12 is a flowchart showing a service data series value determination flow (S26) executed in the second stage of the above-mentioned three-stage determination flow.
サービスデータ生成部113は、サービスデータ系列ごとに、サービスデータの系列値を決定するルールが設定されているか判定する(S41)。
The service
サービスデータの系列値を決定するルールが設定されていない場合(S41:NO)、サービスデータ生成部113は、図10の処理に戻り、サービスデータ系列の不足値を決定するフロー(S27)へ移行する。
When the rule for determining the series value of the service data is not set (S41: NO), the service
これに対し、サービスデータの系列値を決定するルールが設定されている場合(S41:YES)、サービスデータ生成部113は、図10のステップS22で取得した説明情報125に含まれる、基準データ系列、データ粒度、オフセット、開始値、終了値を参照し、サービスデータ系列値を決定するための値を抽出する(S42)。
On the other hand, when the rule for determining the series value of the service data is set (S41: YES), the service
ステップS42について詳述する。例えば、基準データ系列「時刻A」、データ粒度「5秒」、オフセット「0秒」、開始値「2017−01−01 00:00:00」、終了値「なし」を例に挙げて説明する。 Step S42 will be described in detail. For example, the reference data series "time A", the data particle size "5 seconds", the offset "0 seconds", the start value "2017-01-01 00:00:00", and the end value "none" will be described as examples. ..
サービスデータの各系列点の値を決定する値として、各系列点の時刻が含まれる5秒間のデータを現場データのデータ系列から抽出する。この5秒間は、オフセットによって決まり、この場合は毎分0秒を基準として決定される。例えば、毎分0秒〜4秒、5秒〜9秒、10秒〜14秒等である。ただし、抽出対象は、「2017−01−01 00:00:00」から、時刻Aの最新時刻のレコードまでである。上記の例では、サービスデータ系列値を決定する値がデータ粒度とオフセットとによって「5秒間」と決まる。これに代えて、サービスデータ系列説明情報管理テーブル126に、サービスデータ系列値を決定するための値を抽出する範囲を登録することにより、サービスデータ系列値を決定するための値を決定してもよい。 As a value for determining the value of each series point of the service data, data for 5 seconds including the time of each series point is extracted from the data series of the site data. This 5 seconds is determined by the offset, and in this case, it is determined based on 0 seconds per minute. For example, 0 seconds to 4 seconds per minute, 5 seconds to 9 seconds, 10 seconds to 14 seconds, and the like. However, the extraction target is from "2017-01-01 00:00:00" to the record of the latest time at time A. In the above example, the value that determines the service data series value is determined to be "5 seconds" by the data particle size and the offset. Instead of this, even if the value for determining the service data series value is determined by registering the range for extracting the value for determining the service data series value in the service data series explanation information management table 126. good.
ステップS42の実行後、サービスデータ生成部113は、ステップS42で抽出された値とサービスデータ系列値決定ルールとを参照し、サービスデータ系列値を決定する(S43)。例えば、ある1つの系列点の値を決定するとき、「2017−01−01 00:00:00」〜「2017−01−01 00:00:04」の範囲でデータ系列値が抽出される。サービスデータ系列値決定ルールに「線形補間」が設定されていた場合、サービスデータ生成部113は、抽出された値を用いて線形近似を行うことにより、系列点の時刻に基づいて値を決定する。
After the execution of step S42, the service
ステップS42,S43を実行することで、サービスデータ生成部113は、現場データに記録された時刻を補正することができる。ステップS43の実行後、サービスデータ生成部113は、図10に示す処理に戻り、サービスデータ系列不足値決定フロー(S27)へ移行する。
By executing steps S42 and S43, the service
図13は、上述の3段階の決定フローのうち、3段階目に実行されるサービスデータ系列不足値決定フロー(S27)を説明したフローチャートである。 FIG. 13 is a flowchart illustrating a service data series shortage value determination flow (S27) executed in the third stage of the above-mentioned three-stage determination flow.
サービスデータ生成部113は、サービスデータ系列の不足値を決定するルールが設定されているか確認する(S51)。サービスデータ系列の不足値を決定するルールが設定されていない場合(S51:NO)、図10のデータ生成処理に戻る。
The service
サービスデータ系列の不足値を決定するルールが設定されている場合(S51:YES)、サービスデータ生成部113は、サービスデータのすべての系列点に値が存在するかどうかを確認する(S52)。すべての系列点に値が存在する場合(S52:YES)、サービスデータ生成部113は、図10の処理に戻る。
When the rule for determining the shortage value of the service data series is set (S51: YES), the service
これに対し、値の存在しない系列点がある場合(S52:NO)、サービスデータ生成部113は、サービスデータのデータ系列に存在する値とサービスデータ系列不足値決定ルールとを参照することにより、サービスデータの値が存在しない系列点の値を作成する(S53)。そして、サービスデータ生成部113は、図10の処理に戻る。
On the other hand, when there is a series point where the value does not exist (S52: NO), the service
図14は、ユーザが説明情報設定端末21を用いてサービステーブル説明情報125を登録する際の処理フローを説明したフローチャートである。
FIG. 14 is a flowchart illustrating a processing flow when the user registers the service table
データ提供装置10の管理画面生成部123は、説明情報アクセスインターフェース121を介して、説明情報設定端末21から説明情報登録を行うためのサービステーブル説明情報登録画面の要求を受信すると、本処理が開始される。管理画面生成部123は、説明情報管理部124に対してサービステーブル説明情報の一覧を要求することにより、サービステーブル説明情報管理テーブル125に保持されている説明情報一覧を取得する(S61)。
When the management
管理画面生成部123は、ステップS61で取得した説明情報一覧を元に、サービステーブル説明情報を登録するための画面G10を生成する(S62)。管理画面生成部123は、説明情報アクセスインターフェース121を介して説明情報設定端末21に、説明情報登録画面G10を返信する(S63)。
The management
ユーザが、説明情報設定端末21を用いて説明情報登録画面G10へ入力すると、説明情報設定端末21から画面に入力された情報がデータ提供装置10へ送信される。管理画面生成部123は、ユーザによる画面G10への入力を検知する(S64)。
When the user inputs to the explanatory information registration screen G10 using the explanatory
管理画面生成部123は、画面入力が「登録/更新 確定」、すなわち、図7の登録/更新 確定ボタンG101が押下されたかどうかを確認する(S65)。「登録/更新 確定」のボタンG101が押下された場合(S65:YES)、ステップS73へ進む。
The management
これに対し、「登録/更新 確定」のボタンG101が押下されていない場合(S65:NO)、管理画面生成部123は、ユーザによる画面入力が「追加/更新 or 削除」であるか判定する(S66)。すなわち、管理画面生成部123は、図7の追加/更新ボタンG108、または削除ボタンG111がユーザにより押下されたかどうかを判定する(S66)。
On the other hand, when the "Registration / Update Confirmation" button G101 is not pressed (S65: NO), the management
ユーザによる画面入力が「追加/更新 or 削除」である場合、管理画面生成部123は、ユーザの操作に応じて、説明情報表示部G109の一覧情報が更新された画面G10を作成し、説明情報設定端末21に更新後の画面G10を返す(S67)。そして、ステップS64へ戻り、再度ユーザの画面入力を待ち受ける。
When the screen input by the user is "addition / update or deletion", the management
これに対し、ユーザによる画面入力が「追加/更新 or 削除」ではない場合(S66:NO)、管理画面生成部123は、ユーザによる画面入力が「編集」であるか、すなわち、図7の編集ボタンG110が押下されたか判定する(S68)。
On the other hand, when the screen input by the user is not "add / update or delete" (S66: NO), the management
ユーザによる画面入力が「編集」の場合(S68:YES)、サービスデータ系列説明情報を登録する際の処理フローを実行する(S69)。そしてS64へ戻り、再度ユーザの画面入力を待ち受ける。ステップS69の詳細は、図15にて説明する。 When the screen input by the user is "edit" (S68: YES), the processing flow for registering the service data series explanation information is executed (S69). Then, the process returns to S64 and waits for the user's screen input again. Details of step S69 will be described with reference to FIG.
ユーザによる画面入力が「編集」ではない場合(S68:NO)、管理画面生成部123は、ユーザが入力した入力情報に関連する情報を各種説明情報管理テーブル125,126から検索し(S70)、関連情報が存在するか確認する(S71)。関連情報が無ければ(S71:NO)、ステップS64へ戻り、ユーザの画面入力を待ち受ける。これに対し、関連情報が見つかったら(S71:YES)、見つかった情報を元に画面G10を更新し、説明情報設定端末21に更新された画面G10を返信する(S72)。
When the screen input by the user is not "edit" (S68: NO), the management
ステップS70〜S72の一例を説明する。ユーザからの入力が図7のサービステーブル名選択部G100である場合、管理画面生成部123は、選択されたテーブルで管理されている基準データ系列名、データ粒度、オフセット、開始値、終了値をサービステーブル説明情報管理テーブル125から取得する。そして、管理画面生成部123は、入力部G103〜G107に表示されるように画面G10を更新した後、ステップS64へ戻り、再度ユーザからの画面入力を待ち受ける。
An example of steps S70 to S72 will be described. When the input from the user is the service table name selection unit G100 of FIG. 7, the management
ステップS65にて、ユーザからの入力が「登録/更新 確定」の場合(S65:YES)、管理画面生成部123は、ユーザが画面上で更新した情報一式を説明情報登録部122へ渡し、サービステーブル説明情報管理テーブル125を更新させる(S73)。
In step S65, when the input from the user is "registration / update confirmation" (S65: YES), the management
図15は、ユーザが説明情報設定端末21を用いてサービスデータ系列説明情報を登録する際の処理フローを説明したフローチャートである。
FIG. 15 is a flowchart illustrating a processing flow when a user registers service data series explanatory information using the explanatory
データ提供装置10の管理画面生成部123は、説明情報アクセスインターフェース121を介して説明情報設定端末21から、説明情報登録を行うためのサービスデータ系列説明情報登録画面G20の要求を受信すると、説明情報管理部124に対してサービスデータ系列説明情報一覧を要求する(S81)。これにより、管理画面生成部123は、サービスデータ系列説明情報管理テーブル125に保持されている説明情報一覧を取得する(S81)。
When the management
管理画面生成部123は、取得した説明情報一覧を元に、サービスデータ系列説明情報登録画面G20を生成する(S82)。管理画面生成部123は、説明情報アクセスインターフェース121を介して説明情報設定端末21へ、説明情報登録画面G20を返信する(S83)。
The management
ユーザが説明情報設定端末21を用いて説明情報登録画面に対して入力すると、説明情報設定端末21からデータ提供装置10へ画面入力情報が送信される。これにより、管理画面生成部123は、ユーザによる画面入力を検知する(S84)。
When the user inputs to the explanatory information registration screen using the explanatory
管理画面生成部123は、画面入力が「登録/更新 確定」であるか、すなわち、図8の登録/更新 確定ボタンG201が押下されたか判定する(S85)。「登録/更新 確定」の場合(S85:YES)、後述のステップS91へ進む。
The management
ユーザによる画面入力が「登録/更新 確定」ではない場合(S85:NO)、管理画面生成部123は、ユーザによる画面入力が「追加/更新 or 削除」であるか、すなわち、図8の追加/更新ボタンG207、または削除ボタンG210のいずれかが押下されたか判定する(S86)。
When the screen input by the user is not "registration / update confirmation" (S85: NO), the management
ユーザによる画面入力が「追加/更新 or 削除」である場合(S86:YES)、管理画面生成部123は、ユーザの操作に応じて、サービスデータ系列説明情報示部G209の一覧情報が更新された画面G20を作成し、説明情報設定端末21へ更新後の画面G20を返信する(S87)。そして、管理画面生成部123は、ステップS84へ戻り、再度ユーザによる画面入力を待ち受ける。
When the screen input by the user is "addition / update or deletion" (S86: YES), the management
画面入力が「追加/更新 or 削除」ではない場合(S86:NO)、管理画面生成部123は、ユーザが入力した情報に関連する情報を各種説明情報管理テーブル125,126から検索し(S88)、関連情報が存在するか判定する(S89)。
When the screen input is not "addition / update or deletion" (S86: NO), the management
関連情報が無ければ(S89:NO)、管理画面生成部123はステップS84へ戻り、ユーザの画面入力を待ち受ける。関連情報が見つかった場合(S89:YES)、管理画面生成部123は、見つかった情報を元に画面G20を更新し、説明情報設定端末21に対して、更新された画面G20を返信する(S90)。
If there is no related information (S89: NO), the management
ステップS88〜S90の例を説明する。ユーザの入力が図8のサービスデータ系列名選択部G200である場合、選択されたテーブルで管理されている現場データ名および各決定ルールをサービスデータ系列説明情報管理テーブル126から取得し、入力部G202〜G206に表示されるように画面G20を更新した後、ステップS84へ戻る。 An example of steps S88 to S90 will be described. When the user's input is the service data series name selection unit G200 of FIG. 8, the site data name and each determination rule managed in the selected table are acquired from the service data series explanation information management table 126, and the input unit G202 After updating the screen G20 so as to be displayed in ~ G206, the process returns to step S84.
ユーザ入力が「登録/更新 確定」の場合(S85:YES)、管理画面生成部123は、ユーザが画面上で更新した情報一式を説明情報登録部122に渡して、サービスデータ系列説明情報管理テーブル126を更新させる(S91)。
When the user input is "registration / update confirmation" (S85: YES), the management
図16を用いて、本実施例に係るデータ提供方法の効果を説明する。図16(1)は、本実施例が適用されない場合(比較例)を示す。図16(2)は、本実施例が適用される場合を示す。比較例は、本実施例により得られる効果をわかりやすく説明するための例でり、従来技術して開示されたものではない。 The effect of the data providing method according to this embodiment will be described with reference to FIG. FIG. 16 (1) shows a case (comparative example) to which this embodiment is not applied. FIG. 16 (2) shows a case where this embodiment is applied. The comparative example is an example for explaining the effect obtained by this example in an easy-to-understand manner, and is not disclosed in the prior art.
図16(1)では、基準となるデータ系列を「時刻A」とし、現場データ42(1)〜42(3)の時刻を用いて、サービスデータ41(1)を生成している。また、図16(1)では、現場データの時刻補正や値の補正を行わずに、各現場データ42(1)〜42(2)を結合している。したがって、基準データ系列の値はまちまちとなり、かつ、データに不足値や不揃いな値が存在したサービスデータ41(1)が生成される、このような値の間隔が不揃いで、かつ欠落値も多いサービスデータ41(1)では、サービス200での利用に支障を生じるおそれがある。
In FIG. 16 (1), the reference data series is set to "time A", and the service data 41 (1) is generated using the times of the site data 42 (1) to 42 (3). Further, in FIG. 16 (1), the site data 42 (1) to 42 (2) are combined without performing time correction or value correction of the site data. Therefore, the values of the reference data series are different, and service data 41 (1) in which there are insufficient values or irregular values in the data is generated. Such values are not spaced and there are many missing values. The service data 41 (1) may interfere with the use of the
これに対し、本実施例の適用される図16(2)を説明する。図16(2)も基準となるデータ系列を「時刻A」とする。データ提供装置10は、現場データ42(1)〜42(3)と各種説明情報とを用いて、図10〜図13に示す処理フローを実行することにより、サービスデータ41(2)を生成する。
On the other hand, FIG. 16 (2) to which this embodiment is applied will be described. Also in FIG. 16 (2), the reference data series is defined as "time A". The
サービスデータ42(2)の生成に用いられる各種説明情報は、図5,図6に示す各種説明情報管理テーブル125,126に格納されている。本実施例の方法にしたがえば、現場データ42(1)〜42(3)の特性の相違を吸収してサービスデータ41(2)を整形することができ、サービス200での利用に適したサービスデータ41(2)を効率よく生成することができる。すなわち、時刻精度や欠測値、異常値等の現場データの特性がそれぞれ異なり、さらにサービス200が要求するデータの特性が異なる場合であっても、本実施例に係るデータ提供装置10は、それらの特性の違いを吸収して、サービス200が要求する形にデータを整形することができる。このため、本実施例によれば、サービス200に応じた現場データを整形するための工数を削減することができ、効率よくサービスデータを生成することができ、ユーザの使い勝手も向上する。
Various explanatory information used for generating the service data 42 (2) is stored in the various explanatory information management tables 125 and 126 shown in FIGS. 5 and 6. According to the method of this embodiment, the service data 41 (2) can be shaped by absorbing the difference in the characteristics of the site data 42 (1) to 42 (3), which is suitable for use in the
なお、本発明は、上述した実施形態に限定されない。当業者であれば、本発明の範囲内で、種々の追加や変更等を行うことができる。上述の実施形態において、添付図面に図示した構成例に限定されない。本発明の目的を達成する範囲内で、実施形態の構成や処理方法は適宜変更することが可能である。 The present invention is not limited to the above-described embodiment. A person skilled in the art can make various additions and changes within the scope of the present invention. In the above-described embodiment, the configuration is not limited to the configuration example shown in the accompanying drawings. The configuration and processing method of the embodiment can be appropriately changed within the range of achieving the object of the present invention.
また、本発明の各構成要素は、任意に取捨選択することができ、取捨選択した構成を具備する発明も本発明に含まれる。さらに特許請求の範囲に記載された構成は、特許請求の範囲で明示している組合せ以外にも組み合わせることができる。 In addition, each component of the present invention can be arbitrarily selected, and an invention having the selected configuration is also included in the present invention. Further, the configurations described in the claims can be combined in addition to the combinations specified in the claims.
1:データ提供装置、2:データ処理装置、3:現場装置、4:現場、10:データ提供装置、11:データ生成部、12:仕様説明情報管理部、13:データ取得部、20:サービス端末、21:説明情報設定端末、30:現場システム、112:データ生成指示部、113:サービスデータ生成部、122:説明情報登録部、123:管理画面生成部、124:説明情報管理部、125:サービスデータ説明情報管理テーブル、126:サービスデータ系列説明情報管理テーブル 1: Data providing device 2: Data processing device 3: On-site equipment 4: On-site 10: Data providing device, 11: Data generation unit, 12: Specification explanation information management unit, 13: Data acquisition unit, 20: Service Terminal, 21: Explanation information setting terminal, 30: Field system, 112: Data generation instruction unit, 113: Service data generation unit, 122: Explanation information registration unit, 123: Management screen generation unit, 124: Explanation information management unit, 125 : Service data explanation information management table, 126: Service data series explanation information management table
Claims (7)
現場装置からデータを取得するデータ取得部と、
前記データ処理装置で使用される所定のデータの仕様を示す仕様説明情報に基づいて、前記データ処理装置で実行されるデータ処理に対応する所定のテーブルを生成し、前記データ取得部から取得されるデータまたは当該データに基づいて生成されるデータのいずれかを前記所定のテーブルへ設定することにより、前記所定のデータを生成し、前記生成された所定のデータを前記データ処理装置へ提供するデータ生成部と、
前記仕様説明情報を管理する情報管理部を備え、
前記情報管理部は、前記仕様説明情報を登録するための情報登録部を提供する
データ提供装置。 A data providing device that provides data in response to a request from a data processing device.
A data acquisition unit that acquires data from on-site equipment,
Based on the specification explanation information indicating the specifications of the predetermined data used in the data processing device, a predetermined table corresponding to the data processing executed by the data processing device is generated and acquired from the data acquisition unit. Data generation that generates the predetermined data by setting either the data or the data generated based on the data in the predetermined table and provides the generated predetermined data to the data processing apparatus. Department and
It is equipped with an information management unit that manages the specification explanation information.
The information management unit is a data providing device that provides an information registration unit for registering the specification explanation information.
前記所定のデータの基準となるデータ系列である基準データ系列と、前記基準データ系列に対応付けられる少なくとも一つの他のデータ系列とを備えており、前記他のデータ系列には前記基準データ系列の持つ各値に対応するデータが設定される、
請求項1に記載のデータ提供装置。 The predetermined table
A reference data series, which is a data series that serves as a reference for the predetermined data, and at least one other data series associated with the reference data series are provided, and the other data series includes the reference data series of the reference data series. Data corresponding to each value to have is set,
The data providing device according to claim 1.
請求項2に記載のデータ提供装置。 The data generation unit has a first setting unit that sets a shortage value of data acquired from the field apparatus by the data acquisition unit.
The data providing device according to claim 2.
請求項3に記載のデータ提供装置。 The data generation unit sets the data of the other data series so as to correspond to the respective values of the reference data series with respect to the data for which the shortage value is set by the first setting unit. Have,
The data providing device according to claim 3.
請求項4に記載のデータ提供装置。 The data generation unit has a third setting unit for setting a shortage value that could not be set by the second setting unit.
The data providing device according to claim 4.
前記データ取得部により前記現場装置から取得されるデータの不足値を設定する第1設定部と、
前記基準データ系列の前記各値に対応するように、前記他のデータ系列のデータを設定する第2設定部と、
の少なくともいずれか一つを備える、
請求項2に記載のデータ提供装置。 The data generation unit
A first setting unit that sets a shortage value of data acquired from the field device by the data acquisition unit, and
A second setting unit that sets data of the other data series so as to correspond to each value of the reference data series, and
With at least one of
The data providing device according to claim 2.
請求項2に記載のデータ提供装置。 Before SL information registration unit, the second description information indicating a first registration unit for registering the first description information indicating a configuration of said predetermined table, the contents of the other data sequence included in the predetermined table Including a second registration section for registering
The data providing device according to claim 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018063539A JP6917939B2 (en) | 2018-03-29 | 2018-03-29 | Data provider |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018063539A JP6917939B2 (en) | 2018-03-29 | 2018-03-29 | Data provider |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019175205A JP2019175205A (en) | 2019-10-10 |
| JP6917939B2 true JP6917939B2 (en) | 2021-08-11 |
Family
ID=68168940
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018063539A Active JP6917939B2 (en) | 2018-03-29 | 2018-03-29 | Data provider |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6917939B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7688544B2 (en) * | 2021-09-02 | 2025-06-04 | 株式会社日立製作所 | Data providing device, data providing system and data providing method |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08137545A (en) * | 1994-11-07 | 1996-05-31 | Toshiba Corp | Plant monitoring equipment |
| JPH1031512A (en) * | 1996-07-16 | 1998-02-03 | Mitsubishi Electric Corp | Monitoring system |
| JP2001117949A (en) * | 1999-10-15 | 2001-04-27 | Yokogawa Electric Corp | Data processing system |
| US20070219751A1 (en) * | 2006-03-17 | 2007-09-20 | Jonathan Huang | Sensor network data alignment with post-process resampling |
| JP5461224B2 (en) * | 2010-02-23 | 2014-04-02 | 日本電信電話株式会社 | Interpolation apparatus, interpolation method and program |
| JP5533820B2 (en) * | 2011-08-22 | 2014-06-25 | 富士通株式会社 | Sensor information management system, sensor information management method, sensor information management program |
-
2018
- 2018-03-29 JP JP2018063539A patent/JP6917939B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019175205A (en) | 2019-10-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6749453B2 (en) | Systems, methods, products and programs for providing search services to process control systems | |
| US10795343B2 (en) | Data providing apparatus and data providing method | |
| JP5850033B2 (en) | Field device management apparatus, device information display method, computer program, and recording medium | |
| KR101824762B1 (en) | Information processing device, processing system, processing method, and computer-readable storage medium having program | |
| CN111708682B (en) | Data prediction method, device, equipment and storage medium | |
| US20150222731A1 (en) | Computer, guide information providing method and recording medium | |
| TW201508503A (en) | Server, terminal, service method, and program | |
| CN113268695A (en) | Data embedding point processing method and device and related equipment | |
| US10565224B2 (en) | Data provision apparatus and data provision method | |
| CN108885444B (en) | Information management apparatus, information management method, and information management system | |
| JP6917939B2 (en) | Data provider | |
| JP2018072958A5 (en) | ||
| WO2012101275A1 (en) | Dynamic annotation in user information system of ir camera | |
| JP2013257685A (en) | Device management device, device management method, and device management program | |
| JP2017068418A (en) | Plan support system and plan support method | |
| KR101565499B1 (en) | Data processing apparatus, data processing program, recording medium | |
| CN117806597A (en) | Component rendering method, electronic device and storage medium | |
| JP2015162200A (en) | File management device | |
| JP7688544B2 (en) | Data providing device, data providing system and data providing method | |
| JP2016031757A (en) | Control system and control method | |
| JP2019191931A (en) | Information processing system, input value verification support program, and input value verification program | |
| WO2017183265A1 (en) | Database building device, database building method, and database building program | |
| JP2020091670A (en) | Cooperation system and cooperation method | |
| JP2013143034A (en) | Terminal and patrol route calculation program | |
| JP2005099937A (en) | Search data structure of document information about industrial property, recording medium with search data structure recorded, and apparatus, system, method, and program for search of document information about industrial property, and recording medium with program recorded |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200323 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210210 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210406 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210602 |
|
| 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: 20210706 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210720 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6917939 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |