JP2020024515A - Data collection state monitoring device, data collection state monitoring method, and data collection state monitoring system - Google Patents

Data collection state monitoring device, data collection state monitoring method, and data collection state monitoring system Download PDF

Info

Publication number
JP2020024515A
JP2020024515A JP2018147867A JP2018147867A JP2020024515A JP 2020024515 A JP2020024515 A JP 2020024515A JP 2018147867 A JP2018147867 A JP 2018147867A JP 2018147867 A JP2018147867 A JP 2018147867A JP 2020024515 A JP2020024515 A JP 2020024515A
Authority
JP
Japan
Prior art keywords
data
collection
data collection
sensor
status
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.)
Granted
Application number
JP2018147867A
Other languages
Japanese (ja)
Other versions
JP7131189B2 (en
Inventor
松永 聡彦
Satohiko Matsunaga
聡彦 松永
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2018147867A priority Critical patent/JP7131189B2/en
Publication of JP2020024515A publication Critical patent/JP2020024515A/en
Application granted granted Critical
Publication of JP7131189B2 publication Critical patent/JP7131189B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To monitor a collection state when data is collected in consideration of a state of a whole data collection system.SOLUTION: A data collection state monitoring device monitors a data collection state of a data collection system including: one or multiple data communication terminals; and a data collection device for collecting data from the respective data communication terminals. The data collection state monitoring device includes: related monitoring object information acquisition means for acquiring operation state information of respective communication devices between the respective data communication terminals and the data collection device; collection data acquisition means for acquiring collection data collected from the respective data communication terminals; and analysis means for analyzing a collection state of collection data in consideration of operation states of the respective communication devices when data is collected in the data collection device, on the basis of at least operation state information of the respective communication devices and collection data.SELECTED DRAWING: Figure 1

Description

本発明は、データ収集状況監視装置、データ収集状況監視方法、及び、データ収集状況監視システムに関する。   The present invention relates to a data collection status monitoring device, a data collection status monitoring method, and a data collection status monitoring system.

近年、さまざまなモノの情報を収集するセンサデータ収集システムがある。センサデータ収集システムにより収集された情報は、例えばアプリケーションに提供されて、アプリケーションが情報を利用して様々なサービスを提供することができる。   In recent years, there is a sensor data collection system that collects information of various things. The information collected by the sensor data collection system is provided to, for example, an application, and the application can use the information to provide various services.

センサデータ収集システムにおいて何らかの異常が生じると、収集するセンサデータのデータ値に影響を与えたり、又センサデータを利用するアプリケーションにも影響を及ぼすことにもなる。そのため、センサデータ収集システムの状態を監視することが求められる。   If any abnormality occurs in the sensor data collection system, the data value of the collected sensor data is affected, and an application that uses the sensor data is also affected. Therefore, it is required to monitor the state of the sensor data collection system.

従来、センサデータ収集システムの状態の監視システムの一例として、非特許文献1に開示されるものがある。非特許文献1の記載技術は、センサデータ収集システムにおける通信機器の状態の遠隔監視する方法であり、特に、ゲートウェイの状態を遠隔で管理する機能である。例えば、非特許文献1の記載技術は、WEB画面上でゲートウェイが正常に起動しているか、または異常が発生しているかを監視する。さらに、遠隔操作でゲートウェイの設定変更をしたり、又はファームウェアの更新をすることが開示されている。   2. Description of the Related Art Conventionally, Non-Patent Document 1 discloses an example of a system for monitoring the state of a sensor data collection system. The technique described in Non-Patent Document 1 is a method for remotely monitoring the state of a communication device in a sensor data collection system, and particularly has a function of remotely managing the state of a gateway. For example, the technology described in Non-Patent Document 1 monitors whether a gateway is normally activated or an abnormality has occurred on a WEB screen. Further, it is disclosed that the setting of the gateway is changed or the firmware is updated by remote control.

ぷらっとホーム株式会社 企業ホームページ、製品情報「AirManege(登録商標) for IoT」、[Online]、検索日2018年3月14日、インターネット<URL;https://openblocks.plathome.co.jp/products/airmanage_for_iot/>Plat Home Co., Ltd. Company website, product information "AirManage (registered trademark) for IoT", [Online], search date March 14, 2018, Internet <URL; https://openblocks.plathome.co.jp/products/ airmanage_for_iot / >

しかしながら、上述したような従来の通信機器の監視方法は、機器毎の状態を管理するものであるが、センサデータ収集システム全体の状態を考慮して監視するものではなかった。   However, the conventional method for monitoring communication devices as described above manages the state of each device, but does not monitor in consideration of the state of the entire sensor data collection system.

例えば、周期的に収集したセンサデータのうち、一部のデータ値に異常があったり、欠測されているデータがあったりすることが考えられる。センサデータのデータ値を平均化してアプリケーションが利用する場合、アプリケーションは各センサのセンサデータがどのような値か知らないため異常を発見しにくいという問題があった。   For example, among the sensor data collected periodically, it is conceivable that some data values are abnormal or missing data is present. When the application uses the data values of the sensor data by averaging them, there is a problem that the application does not know the value of the sensor data of each sensor, and thus it is difficult to find an abnormality.

また例えば、センサデータ収集時に障害が発生した時に、無線通信端末やゲートウェイを再起動させたり設定変更したりすることで復旧することがある。しかし、多数の機器を持つ場合は人がエラーログを見る等して障害内容を分析し、どの機器をどのように制御するかを判断していた。そのため、自動的に迅速かつ最適に障害復旧を行う方法がなかった。   Further, for example, when a failure occurs during sensor data collection, recovery may be performed by restarting the wireless communication terminal or the gateway or changing settings. However, if the user has a large number of devices, a person looks at an error log or the like and analyzes the contents of the failure to determine which device is to be controlled and how. Therefore, there has been no method for automatically and promptly and optimally performing a fault recovery.

さらに例えば、アプリケーションはいつ問題となるレベルの異常となるか、障害復旧するか知ることが困難であった。   Further, for example, it has been difficult to know when an application becomes a problematic level of abnormality or recovers from a failure.

そのため、データ収集システム全体の状態を考慮して、データ収集時の収集状況を監視して、データが収集されるまでの間の機器の状態や収集データのデータ値に応じた判定値を導出したり、経路上の異常時に自動的に最適な復旧を行なうことができるデータ収集状況監視装置、データ収集監視方法及びデータ収集状況監視システムが求められている。   Therefore, taking into account the state of the entire data collection system, monitor the collection status at the time of data collection, and derive a judgment value according to the state of the device until the data is collected and the data value of the collected data. There is a need for a data collection status monitoring device, a data collection monitoring method, and a data collection status monitoring system that can automatically and optimally recover when an error occurs on a route.

かかる課題を解決するために、第1の本発明に係るデータ収集状況監視装置は、1又は複数のデータ通信端末と、各データ通信端末からデータを収集するデータ収集装置とを有するデータ収集システムのデータ収集状況を監視するデータ収集状況監視装置であって、(1)各データ通信端末とデータ収集装置との間の各通信機器の稼働状態情報を取得する関連監視対象情報取得手段と、(2)各データ通信端末から収集した収集データを取得する収集データ取得手段と、(3)少なくとも、各通信機器の稼働状態情報及び収集データに基づいて、データ収集装置におけるデータ収集時の各通信機器の稼働状態を考慮した収集データの収集状況を分析する分析手段とを備えることを特徴とする。   In order to solve such a problem, a data collection status monitoring device according to a first aspect of the present invention is a data collection system having one or more data communication terminals and a data collection device that collects data from each data communication terminal. A data collection status monitoring device for monitoring a data collection status, wherein (1) related monitoring target information obtaining means for obtaining operating status information of each communication device between each data communication terminal and the data collection device; (3) collected data acquisition means for acquiring collected data collected from each data communication terminal; and (3) at least the communication device at the time of data collection in the data collection device based on at least the operation state information and the collected data of each communication device. Analyzing means for analyzing the collection status of the collected data in consideration of the operating state.

第2の本発明に係るデータ収集状況監視方法は、1又は複数のデータ通信端末と、各データ通信端末からデータを収集するデータ収集装置とを有するデータ収集システムのデータ収集状況を監視するデータ収集状況監視方法であって、(1)関連監視対象情報取得手段が、各データ通信端末とデータ収集装置との間の各通信機器の稼働状態情報を取得し、(2)収集データ取得手段が、各データ通信端末から収集した収集データを取得し、(3)分析手段が、少なくとも、各通信機器の稼働状態情報及び収集データに基づいて、データ収集装置におけるデータ収集時の各通信機器の稼働状態を考慮した収集データの収集状況を分析することを特徴とする。   According to a second aspect of the present invention, there is provided a data collection status monitoring method for monitoring a data collection status of a data collection system having one or more data communication terminals and a data collection device for collecting data from each data communication terminal. In the situation monitoring method, (1) the related monitoring target information acquiring means acquires operating state information of each communication device between each data communication terminal and the data collecting device, and (2) the collected data acquiring means: The collected data collected from each data communication terminal is acquired, and (3) the analyzing means performs the operation of each communication device at the time of data collection in the data collection device based on at least the operation status information and the collected data of each communication device. It is characterized by analyzing the collection status of collected data in consideration of the above.

第3の本発明に係るデータ収集状況監視システムは、1又は複数のデータ通信端末と、各データ通信端末からデータを収集するデータ収集装置とを有するデータ収集システムのデータ収集状況を監視するデータ収集状況監視システムであって、(1)各データ通信端末とデータ収集装置との間の各通信機器の稼働状態情報を取得する関連監視対象情報取得手段と、(2)各データ通信端末から収集した収集データを取得する収集データ取得手段と、(3)少なくとも、各通信機器の稼働状態情報及び収集データに基づいて、データ収集装置におけるデータ収集時の各通信機器の稼働状態を考慮した収集データの収集状況を分析する分析手段とを備えることを特徴とする。   A data collection status monitoring system according to a third aspect of the present invention is a data collection system for monitoring a data collection status of a data collection system having one or more data communication terminals and a data collection device for collecting data from each data communication terminal. A status monitoring system, comprising: (1) related monitoring target information acquisition means for acquiring operating state information of each communication device between each data communication terminal and a data collection device; and (2) collection from each data communication terminal. Collecting data acquisition means for acquiring the collected data; and (3) collecting the collected data in consideration of the operation state of each communication device at the time of data collection in the data collection device based on at least the operation state information and the collected data of each communication device. Analyzing means for analyzing the collection status.

本発明によれば、データ収集システム全体の状態を考慮して、データ収集時の収集状況を監視して、データが収集されるまでの間の機器の状態や収集データのデータ値に応じた判定値を導出したり、経路上の異常時に自動的に最適な復旧を行なうことができる。   According to the present invention, the collection status at the time of data collection is monitored in consideration of the state of the entire data collection system, and the judgment is made according to the state of the device and the data value of the collected data until data is collected. It is possible to derive a value and automatically perform an optimal recovery in the event of an abnormality on the route.

第1の実施形態に係るデータ収集状況監視システムの全体構成を示す全体構成図である。1 is an overall configuration diagram illustrating an overall configuration of a data collection status monitoring system according to a first embodiment. 第1の実施形態に係る監視サーバーの内部構成を示す内部構成図である。FIG. 3 is an internal configuration diagram illustrating an internal configuration of the monitoring server according to the first embodiment. 第1の実施形態に係る稼働状態データ、センサデータの流れを示す説明図である。FIG. 3 is an explanatory diagram illustrating a flow of operation state data and sensor data according to the first embodiment. 第1の実施形態に係る監視サーバーにおけるセンサデータ収集状況監視処理の動作を示すフローチャートである。5 is a flowchart illustrating an operation of sensor data collection status monitoring processing in the monitoring server according to the first embodiment. 第1の実施形態に係るセンサデータ収集状況と機器状態の一例を示す説明図である。FIG. 3 is an explanatory diagram illustrating an example of a sensor data collection status and a device status according to the first embodiment. 第2の実施形態に係る監視サーバーの内部構成を示す内部構成図である。FIG. 9 is an internal configuration diagram illustrating an internal configuration of a monitoring server according to a second embodiment. 第2の実施形態に係る監視サーバーにおけるセンサデータ収集状況監視処理の動作を示すフローチャートである。It is a flow chart which shows operation of sensor data collection situation monitoring processing in a monitoring server concerning a 2nd embodiment. 第2の実施形態に係る機器状態情報保存部に保存される状態情報の一例を示す構成図である。FIG. 14 is a configuration diagram illustrating an example of state information stored in a device state information storage unit according to a second embodiment.

(A)第1の実施形態
以下では、本発明に係るデータ収集状況監視装置、データ収集状況監視方法、及び、データ収集状況監視システムの第1の実施形態を、図面を参照して説明する。
(A) First Embodiment Hereinafter, a first embodiment of a data collection status monitoring device, a data collection status monitoring method, and a data collection status monitoring system according to the present invention will be described with reference to the drawings.

(A−1)第1の実施形態の構成
[全体構成]
図1は、第1の実施形態に係るデータ収集状況監視システムの全体構成を示す全体構成図である。
(A-1) Configuration of First Embodiment [Overall Configuration]
FIG. 1 is an overall configuration diagram showing the overall configuration of the data collection status monitoring system according to the first embodiment.

図1において、第1の実施形態に係るデータ収集状況監視システム10は、複数のセンサ通信端末1(1−1〜1−3)、ゲートウェイ2(GW2−1、GW2−2)、データ収集サーバー3、アプリケーション4、モニター端末5、監視サーバー6を有する。   In FIG. 1, a data collection status monitoring system 10 according to the first embodiment includes a plurality of sensor communication terminals 1 (1-1 to 1-3), a gateway 2 (GW2-1, GW2-2), and a data collection server. 3, an application 4, a monitor terminal 5, and a monitoring server 6.

図1において、センサ通信端末1とゲートウェイ2との間のネットワークはセンサネットワークSNである。一般的に、センサネットワークSNの通信方式は、特定小電力無線方式などに代表される低速な無線通信方式を適用することができる。例えば、IEEE802.11a/b/g/nなどに代表される無線ネットワーク規格、若しくは、IEEE802.15.4、Bluetooth(登録商標)、UWBなどの無線通信方式であっても構わない。センサネットワークSNは、基幹ネットワークNTに比べ低速な通信方式である。   In FIG. 1, the network between the sensor communication terminal 1 and the gateway 2 is a sensor network SN. In general, a low-speed wireless communication system represented by a specific low-power wireless system or the like can be applied to the communication system of the sensor network SN. For example, a wireless network standard represented by IEEE 802.11a / b / g / n or a wireless communication system such as IEEE 802.15.4, Bluetooth (registered trademark), or UWB may be used. The sensor network SN is a communication method that is slower than the trunk network NT.

ゲートウェイ2、データ収集サーバー3、アプリケーション4、モニター端末5及び監視サーバー6の間のネットワークは基幹ネットワークNTである。基幹ネットワークNTは、例えば、Ethernet(登録商標)またはInternetである。基幹ネットワークNTは、無線回線であってもよいし、有線回線であってもよい。   The network between the gateway 2, the data collection server 3, the application 4, the monitor terminal 5, and the monitoring server 6 is a backbone network NT. The backbone network NT is, for example, Ethernet (registered trademark) or Internet. The backbone network NT may be a wireless line or a wired line.

センサデータ収集システム7は、データ収集サーバー3が、各ゲートウェイ2を介して、各センサ通信端末1のセンサデータを収集するシステムである。センサデータ収集システム7は、主として、各センサ通信端末1、各ゲートウェイ2及びデータ収集サーバー3を有して構成される。   The sensor data collection system 7 is a system in which the data collection server 3 collects sensor data of each sensor communication terminal 1 via each gateway 2. The sensor data collection system 7 mainly includes each sensor communication terminal 1, each gateway 2, and the data collection server 3.

[センサ通信端末]
センサ通信端末1は、1又は複数のセンサ、通信部を有する。センサ通信端末1は、1種類のセンサのみを有するようにしてもよいし、複数種類のセンサを有するようにしてもよい。また、同じ種類のセンサを複数個有するようにしてもよい。各センサが周期的にセンシングする周期(計測周期)は、センサの種類やシステム運用に応じて決めることができる。
[Sensor communication terminal]
The sensor communication terminal 1 has one or more sensors and a communication unit. The sensor communication terminal 1 may include only one type of sensor, or may include a plurality of types of sensors. Further, a plurality of sensors of the same type may be provided. The cycle (measurement cycle) at which each sensor performs periodic sensing can be determined according to the type of sensor and the system operation.

センサ通信端末1は、内蔵しているセンサがセンシングしたセンサデータを含む情報(パケット)をゲートウェイ2に送信する。ここで、センサデータを含む情報は、センサの識別情報(例えば、センサの種類を示す情報や、予めセンサに付与された識別情報などの一部又は全部)、センサ通信端末1を識別する識別情報(例えば、MACアドレス等)、時刻情報(例えば、センシング時刻等)を含むようにしてもよい。   The sensor communication terminal 1 transmits information (packet) including sensor data sensed by a built-in sensor to the gateway 2. Here, the information including the sensor data includes identification information of the sensor (for example, information indicating the type of the sensor, part or all of identification information previously assigned to the sensor, etc.), and identification information for identifying the sensor communication terminal 1. (E.g., MAC address) and time information (e.g., sensing time) may be included.

また、センサ通信端末1は、自端末内部の稼働状態データを取得する稼働状態取得機能も有している。センサ通信端末1は、自端末の稼働状態データをゲートウェイ2に送信する。ここで、稼働状況データを含む情報は、各センサ通信端末1の識別情報(例えばMACアドレス等)、稼働状況データの獲得時刻を示す時刻情報を含むようにしてもよい。   The sensor communication terminal 1 also has an operation status acquisition function for acquiring operation status data inside the terminal itself. The sensor communication terminal 1 transmits the operation state data of the terminal itself to the gateway 2. Here, the information including the operation status data may include identification information (for example, a MAC address or the like) of each sensor communication terminal 1 and time information indicating the acquisition time of the operation status data.

[ゲートウェイ]
ゲートウェイ2は、センサネットワークSNと、基幹ネットワークNTとの間でデータを中継する機能を有する。ゲートウェイ2は、各センサ通信端末1からセンサデータを含む情報を受信すると、各センサ通信端末1のセンサデータを含む情報をデータ収集サーバー3に送信する。これにより、センサデータをデータ収集サーバー3に与えることができる。
[gateway]
The gateway 2 has a function of relaying data between the sensor network SN and the backbone network NT. When receiving information including sensor data from each sensor communication terminal 1, the gateway 2 transmits information including sensor data of each sensor communication terminal 1 to the data collection server 3. Thereby, sensor data can be given to the data collection server 3.

また、ゲートウェイ2は、自装置内部の稼働状態データを取得する稼働状態取得機能を有する。ゲートウェイ2は、センサネットワークSNを通じて各センサ通信端末1から受信した、各センサ通信端末1の稼働状態データを含む情報を監視サーバー6に送信すると共に、ゲートウェイ1自身の稼働状態データを含む情報も監視サーバー6に送信する。これにより、各センサ通信端末1及びゲートウェイ2の稼働状態データを監視サーバー6に与えることができる。なお、稼働状況データを含む情報は、ゲートウェイ2を識別する識別情報(例えばMACアドレス等)や、稼働状況データの獲得時刻を示す時刻情報等が含まれるようにしてもよい。   Further, the gateway 2 has an operation status acquisition function of acquiring operation status data inside the own device. The gateway 2 transmits the information including the operating state data of each sensor communication terminal 1 received from each sensor communication terminal 1 through the sensor network SN to the monitoring server 6, and also monitors the information including the operating state data of the gateway 1 itself. Send it to server 6. Thereby, the operation state data of each sensor communication terminal 1 and the gateway 2 can be given to the monitoring server 6. The information including the operation status data may include identification information for identifying the gateway 2 (for example, a MAC address or the like), time information indicating the acquisition time of the operation status data, or the like.

ゲートウェイ2が、各センサ通信端末1からセンサデータを含む情報を取得する方法は、様々な方法を広く適用することができる。その一例として、例えば、ゲートウェイ2は、ポーリングパケットのような情報取得要求を定期的(周期的)に各センサ通信端末1に送信し、これを受信した各センサ通信端末1が、ポーリングパケットの応答として、無線通信でセンサデータを含む情報をゲートウェイ2に向けて送信する方法がある。また、別の方法として、各センサ通信端末1がプッシュ通知等により、センサデータを含む情報をゲートウェイ2に向けて送信するようにしてもよい。いずれにしても、ゲートウェイ2は、各センサ通信端末1からセンサデータを含む情報を取得することができる。   As a method for the gateway 2 to acquire information including sensor data from each sensor communication terminal 1, various methods can be widely applied. As an example, for example, the gateway 2 periodically (periodically) transmits an information acquisition request such as a polling packet to each of the sensor communication terminals 1, and each of the sensor communication terminals 1 that has received the request obtains a response to the polling packet. As a method, there is a method of transmitting information including sensor data to the gateway 2 by wireless communication. As another method, each sensor communication terminal 1 may transmit information including sensor data to the gateway 2 by push notification or the like. In any case, the gateway 2 can acquire information including sensor data from each sensor communication terminal 1.

[データ収集サーバー]
データ収集サーバー3は、ゲートウェイ2を介して、各センサ通信端末1からセンサデータを含む情報を収集し、各センサデータを保存(蓄積管理)する。
[Data collection server]
The data collection server 3 collects information including sensor data from each sensor communication terminal 1 via the gateway 2 and stores (stores and manages) each sensor data.

データ収集サーバー3は、各センサデータをアプリケーション4に提供すると共に、各センサ通信端末1から収集した各センサデータを監視サーバー6に送信する。この実施形態では、後述するように、各センサデータのデータ値などに基づいて、センサデータ収集システム7におけるセンサデータ収集状況を監視サーバー6に判断させる。そのため、データ収集サーバー3は、各センサデータを用いた処理を行なわせるためにアプリケーション4に各センサデータを送信すると共に、各センサデータを監視サーバー6に提供(送信)する。   The data collection server 3 provides each sensor data to the application 4 and transmits each sensor data collected from each sensor communication terminal 1 to the monitoring server 6. In this embodiment, as will be described later, the monitoring server 6 is caused to determine the sensor data collection status in the sensor data collection system 7 based on the data value of each sensor data and the like. Therefore, the data collection server 3 transmits each sensor data to the application 4 in order to perform a process using each sensor data, and provides (transmits) each sensor data to the monitoring server 6.

[アプリケーション]
アプリケーション4は、データ収集サーバー3により収集された各センサデータを利用するアプリケーション若しくはアプリケーションを実行する処理部である。
[application]
The application 4 is an application that uses each sensor data collected by the data collection server 3 or a processing unit that executes the application.

例えば、アプリケーション4は、データ収集サーバー3に対して、取得しようとするセンサデータのセンサ識別情報(センサID)を要求する。これを受けて、データ収集サーバー3は、センサIDに対応するセンサデータを、アプリケーション4に提供する。なお、アプリケーション4へのセンサデータの提供方法は、上記方法に限定されるものではなく、様々な方法を適用できる。   For example, the application 4 requests the data collection server 3 for sensor identification information (sensor ID) of the sensor data to be acquired. In response, the data collection server 3 provides the application 4 with sensor data corresponding to the sensor ID. The method of providing the sensor data to the application 4 is not limited to the above method, and various methods can be applied.

アプリケーション4は、各センサデータを利用して機能を提供するものであり、アプリケーション4の機能は特に限定されるものではない。図1では、1つのアプリケーション4のみを表記しているが、それぞれ機能が異なる複数のアプリケーション4としてもよい。   The application 4 provides a function using each sensor data, and the function of the application 4 is not particularly limited. Although only one application 4 is shown in FIG. 1, a plurality of applications 4 having different functions may be used.

アプリケーション4は、後述するように、センサデータ収集システム7におけるセンサデータ収集状況の監視結果を監視サーバー6から受信する。監視サーバー6からの上記監視結果は、後述するように各センサデータの信頼度を含むものであり、アプリケーション4は、上記監視結果を参考にして機能を提供することができる。   The application 4 receives a monitoring result of the sensor data collection status in the sensor data collection system 7 from the monitoring server 6 as described later. The monitoring result from the monitoring server 6 includes the reliability of each sensor data as described later, and the application 4 can provide a function with reference to the monitoring result.

[モニター端末]
モニター端末5は、監視サーバー6において管理される各種データを表示したり、各ゲートウェイ2やデータ収集サーバー3や監視サーバー6等の各装置に対して設定(又は設定変更)をしたり、各ゲートウェイ2や各センサ通信端末1など各機器の稼働状態を表示したりする。これにより、センサデータ収集システム7において異常が生じていること(例えば、機器の異常等)を知ることができるので、復旧等することができる。
[Monitor terminal]
The monitor terminal 5 displays various data managed by the monitoring server 6, sets (or changes settings) for each device such as each gateway 2, the data collection server 3 and the monitoring server 6, and sets each gateway 2. For example, the operating state of each device such as the communication device 2 and each sensor communication terminal 1 is displayed. Accordingly, it is possible to know that an abnormality has occurred in the sensor data collection system 7 (for example, an abnormality of the device), and thus it is possible to recover the sensor data collection system 7.

[監視サーバー]
監視サーバー6は、センサデータ収集システム7におけるセンサデータの収集状況を監視し、対象のセンサデータの収集状況判定値を判定する。監視サーバー6は、監視結果(以下、判定結果とも呼ぶ。)を表示するためにモニター端末5に監視結果に提供したり、アプリケーション4又はデータ収集サーバー3に提供したりする。
[Monitoring server]
The monitoring server 6 monitors the sensor data collection status in the sensor data collection system 7 and determines a target sensor data collection status determination value. The monitoring server 6 provides the monitoring result to the monitor terminal 5 to display the monitoring result (hereinafter also referred to as a determination result), or provides the monitoring result to the application 4 or the data collection server 3.

ここで、収集状況判定値は、データ収集サーバー3により収集されたセンサデータの収集状況や、センサデータが収集される期間のセンサデータの転送経路上の各機器の状態を考慮して、時間毎のセンサデータの信頼性を判定した情報である。この実施形態では、収集状況判定値の一例として、監視サーバー6が、時間毎に、センサデータの信頼度を判定する場合を説明する。   Here, the collection status determination value is determined on an hourly basis in consideration of the collection status of the sensor data collected by the data collection server 3 and the state of each device on the sensor data transfer path during the period in which the sensor data is collected. This is information for determining the reliability of the sensor data. In this embodiment, as an example of the collection status determination value, a case will be described in which the monitoring server 6 determines the reliability of the sensor data every time.

監視サーバー6は、ゲートウェイ2を介して、例えば各センサ通信端末1やゲートウェイ2の稼働状態データを取得する。また、監視サーバー6は、データ収集サーバー3からも稼働状態データを取得する。これにより、センサデータ収集システム7でセンサデータが転送される経路上の各機器の稼働状態を把握することができる。より具体的には、センサデータをセンシングする各センサ通信端末1の稼働状態、センサ通信端末1とゲートウェイ2との間の状態(通信状態)、ゲートウェイ2とデータ収集サーバー3との間の状態(通信状態)等のように、センサデータ収集システム7全体の状態を把握する。   The monitoring server 6 acquires, for example, operating state data of each sensor communication terminal 1 and the gateway 2 via the gateway 2. In addition, the monitoring server 6 acquires operating state data from the data collection server 3. Thereby, the operating state of each device on the path to which the sensor data is transferred by the sensor data collection system 7 can be grasped. More specifically, the operating state of each sensor communication terminal 1 that senses sensor data, the state between the sensor communication terminal 1 and the gateway 2 (communication state), and the state between the gateway 2 and the data collection server 3 ( The state of the entire sensor data collection system 7 is grasped as in (communication state).

また、監視サーバー6は、対象とするセンサデータを獲得するため、データ収集サーバー3から、蓄積管理している各センサデータを取得する。そして、監視サーバー6は、データ収集サーバー3が収集したセンサデータの収集状況や、各センサデータのデータ値の推移を分析する。   Further, the monitoring server 6 acquires each sensor data that is stored and managed from the data collection server 3 in order to acquire target sensor data. Then, the monitoring server 6 analyzes the collection status of the sensor data collected by the data collection server 3 and the transition of the data value of each sensor data.

例えば、センサデータ収集時に異常があったり、センサデータの転送経路上で各機器の状態に異常があったりした場合に、センサデータのデータ値が異常値となってしまったり、センサデータがデータ収集サーバー3に到達しないようなことが生じ得る。そのような場合であっても、アプリケーション4は、事態を知らずに、データ収集サーバー3から提供されたセンサデータを利用することになる。換言すると、センサデータのデータ値が異常であったり、各装置の稼働状態が異常であったりすること等をアプリケーション4は知る術がないので、アプリケーション4はそのままセンサデータを利用することになり得る。   For example, if an error occurs during sensor data collection, or if there is an error in the status of each device on the sensor data transfer path, the data value of the sensor data will become an abnormal value, or the sensor data will not be collected. It may happen that the server 3 is not reached. Even in such a case, the application 4 uses the sensor data provided from the data collection server 3 without knowing the situation. In other words, since the application 4 has no way of knowing that the data value of the sensor data is abnormal or that the operation state of each device is abnormal, the application 4 can use the sensor data as it is. .

そこで、監視サーバー6は、少なくとも、各機器の稼働状態と各センサデータ収集状況等を監視して、センサデータ収集システム7全体の状態を踏まえた各センサデータの信頼度を判定する。そして、この各センサデータの信頼度を含む監視結果を、アプリケーション4やモニター端末5に与えるようにする。   Therefore, the monitoring server 6 monitors at least the operating state of each device and each sensor data collection state, and determines the reliability of each sensor data based on the state of the entire sensor data collection system 7. Then, a monitoring result including the reliability of each sensor data is provided to the application 4 and the monitor terminal 5.

[監視サーバーの内部構成]
図2は、第1の実施形態に係る監視サーバー6の内部構成を示す内部構成図である。
[Internal Configuration of Monitoring Server]
FIG. 2 is an internal configuration diagram showing the internal configuration of the monitoring server 6 according to the first embodiment.

図2において、監視サーバー6は、ルール保存部61、監視データ収集部62、分析部63、監視結果送信部64、関連監視対象収集部65を有する。   2, the monitoring server 6 includes a rule storage unit 61, a monitoring data collection unit 62, an analysis unit 63, a monitoring result transmission unit 64, and a related monitoring target collection unit 65.

なお、監視サーバー6のハードウェア構成は図示しないが、CPU、ROM、RAM、EEPROM、通信装置等を有する装置とする。そして、CPUが、記憶領域に格納されている処理プログラム(例えば、データ収集状況監視プログラム)を実行することで、監視サーバー6の各種機能が実現される。なお、データ収集状況監視プログラムがインストールすることにより、システムが構築されるようにしてもよい。その場合も、データ収集状況監視プログラムは図1に示す各処理部で表すことができる。   The hardware configuration of the monitoring server 6 is not shown, but is assumed to be a device having a CPU, a ROM, a RAM, an EEPROM, a communication device, and the like. Then, various functions of the monitoring server 6 are realized by the CPU executing a processing program (for example, a data collection status monitoring program) stored in the storage area. The system may be configured by installing the data collection status monitoring program. Also in that case, the data collection status monitoring program can be represented by each processing unit shown in FIG.

ルール保存部61は、分析ルール、対象とするセンサ通信端末1の識別情報、データ収集サーバー3の識別情報、対象のセンサデータを経由するゲートウェイ2の識別情報、収集条件等が保存される。   The rule storage unit 61 stores analysis rules, identification information of the target sensor communication terminal 1, identification information of the data collection server 3, identification information of the gateway 2 passing through the target sensor data, collection conditions, and the like.

ルール保存部61には、センサ(例えば、センサID等)、センサ通信端末1やゲートウェイ2等を含む機器に関する情報を指定し、状態判定するための分析ルールが保存される。また、ルール保存部61には、判定結果(監視結果)をどのような場合にどこに通知するかを指定した通知条件や通知先等が含まれる。   The rule storage unit 61 stores analysis rules for specifying information on devices including the sensor (for example, sensor ID or the like), the sensor communication terminal 1, the gateway 2, and the like, and determining the state. In addition, the rule storage unit 61 includes a notification condition, a notification destination, and the like that specify when and where to notify the determination result (monitoring result).

分析ルールは、センサデータ収集システム7における各センサデータの信頼度を判定するために用いられる規則・条件である。以下では、当該分析ルールを、「センサデータ収集状態判定ルール」とも呼ぶ。   The analysis rules are rules and conditions used to determine the reliability of each sensor data in the sensor data collection system 7. Hereinafter, the analysis rule is also referred to as a “sensor data collection state determination rule”.

分析ルールは、分析対象(センサデータ収集状態の判定対象)とするセンサ(例えば、センサID)やセンサデータをセンシングするセンサ通信端末1、更にセンサデータ収集状況に関する条件を含む「収集ルール」、センサデータの信頼度の定義や判定方法に関する「判定ルール」、判定結果(監視結果)の通知条件に関する「通知ルール」を有する。このような分析ルールの詳細な説明は、動作の項で詳細に説明する。   The analysis rules include a sensor (for example, a sensor ID) to be analyzed (a sensor data collection state determination target), a sensor communication terminal 1 for sensing sensor data, a “collection rule” including conditions related to a sensor data collection status, and a sensor. It has a “judgment rule” regarding the definition of data reliability and a judgment method, and a “notification rule” regarding a notification condition of a judgment result (monitoring result). A detailed description of such an analysis rule will be described in detail in the operation section.

分析ルールは、センシングするセンサ通信端末1毎に定義するようにしてもよい。また、センサ通信端末1が複数のセンサを有することもあるので、センサ(例えばセンサID)毎に定義するようにしてもよい。従って、ルール保存部61には、1つの分析ルールだけなく、複数の分析ルールが保存されるようにしてもよい。なお、分析ルールの定義方法は、上記に限定されるものではなく、センサデータの収集期間を指定できるようにしたりしてもよい。   The analysis rule may be defined for each sensor communication terminal 1 that performs sensing. Further, since the sensor communication terminal 1 may have a plurality of sensors, it may be defined for each sensor (for example, sensor ID). Therefore, the rule storage unit 61 may store not only one analysis rule but also a plurality of analysis rules. Note that the method of defining the analysis rule is not limited to the above, and it may be possible to specify the collection period of the sensor data.

監視データ収集部62は、各分析ルールで指定された、対象のセンサデータを収集して保持する。より具体的には、監視データ収集部62は、データ収集サーバー3から、センサ通信端末1−Nの稼働状態データを収集して保持する。   The monitoring data collection unit 62 collects and holds target sensor data specified by each analysis rule. More specifically, the monitoring data collection unit 62 collects and holds the operation state data of the sensor communication terminal 1-N from the data collection server 3.

関連監視対象収集部65は、対象とするセンサデータの転送経路上に存在する各機器の機器状態データを収集し保持する。具体的には、関連監視対象収集部65は、対象のセンサを搭載するセンサ通信端末、ゲートウェイ、データ収集サーバー3の稼働状態データを収集し保持する。複数センサの監視データを共有するようにしてもよい。   The related monitoring target collection unit 65 collects and holds the device state data of each device existing on the transfer path of the target sensor data. Specifically, the related monitoring target collection unit 65 collects and holds the operation state data of the sensor communication terminal, the gateway, and the data collection server 3 on which the target sensor is mounted. The monitoring data of a plurality of sensors may be shared.

分析部63は、ルール保存部61内の各分析ルールに従って、監視データ収集部62や関連監視対象収集部65により収集されたデータを使用して状態判定を行なう。   The analysis unit 63 performs a state determination using the data collected by the monitoring data collection unit 62 and the related monitoring target collection unit 65 according to each analysis rule in the rule storage unit 61.

監視結果送信部64は、ルール保存部61に保存される各分析ルールで指定された通知条件に従って、指定された通知先に、分析部63による判定結果を送信する。   The monitoring result transmission unit 64 transmits the determination result by the analysis unit 63 to the designated notification destination according to the notification conditions specified in each analysis rule stored in the rule storage unit 61.

(A−2)第1の実施形態の動作
次に、第1の実施形態に係るデータ収集状況監視処理の動作を説明する。
(A-2) Operation of First Embodiment Next, the operation of the data collection status monitoring process according to the first embodiment will be described.

なお、以下では、説明を容易にするため、監視サーバー6が、1個のセンサに関するセンサデータ収集状況を監視する場合を例示する。しかし、複数個のセンサのそれぞれのセンサデータ収集状況を並列的に監視することができる。   In the following, for ease of explanation, a case where the monitoring server 6 monitors the sensor data collection status regarding one sensor will be exemplified. However, the sensor data collection status of each of the plurality of sensors can be monitored in parallel.

[稼働状態データ、センサデータの流れ]
図3は、第1の実施形態に係る稼働状態データ、センサデータの流れを示す説明図である。
[Flow of operation status data and sensor data]
FIG. 3 is an explanatory diagram showing a flow of operation state data and sensor data according to the first embodiment.

図3に示すように、各センサ通信端末1や各ゲートウェイ2の稼働状態データは、監視サーバー6に送信される。   As shown in FIG. 3, the operation state data of each sensor communication terminal 1 and each gateway 2 is transmitted to the monitoring server 6.

各センサ通信端末1に搭載されるセンサで観測したセンサデータは、ゲートウェイ2を経由し、データ収集サーバー3に送信されて登録される。そして、データ収集サーバー3において蓄積されているセンサデータの内、状態監視に必要なセンサデータは、データ収集サーバー3から監視サーバー6に送信される。   Sensor data observed by a sensor mounted on each sensor communication terminal 1 is transmitted to the data collection server 3 via the gateway 2 and registered. Then, of the sensor data stored in the data collection server 3, sensor data necessary for state monitoring is transmitted from the data collection server 3 to the monitoring server 6.

監視データの監視サーバー6での取得は、ポーリング方式で取得、または取得開始時に設定制御信号を各装置に送信し、各装置からプッシュ式で周期的に取得する等の方法を適用することができるが、その方式は限定しない。   The monitoring data can be acquired by the monitoring server 6 by a method such as acquiring by a polling method, or transmitting a setting control signal to each device at the start of the acquisition, and periodically acquiring by a push method from each device. However, the method is not limited.

[センサデータ収集状況監視処理]
図4は、第1の実施形態に係る監視サーバー6におけるセンサデータ収集状況監視処理の動作を示すフローチャートである。
[Sensor data collection status monitoring process]
FIG. 4 is a flowchart illustrating the operation of the sensor data collection status monitoring process in the monitoring server 6 according to the first embodiment.

[S101]まず、監視サーバー6において、センサデータ収集状況監視に係る監視対象情報及び分析ルールが設定される。   [S101] First, the monitoring server 6 sets monitoring target information and analysis rules for monitoring sensor data collection status.

ここで、上記監視対象情報の設定の一例を説明する。例えば、アプリケーション4から、センサデータを取得しようとするセンサIDがデータ収集サーバー3に入力されると、データ収集サーバー3は、センサIDを含む情報を監視サーバー6に転送する。これにより、アプリケーション4が利用するセンサデータのセンサIDが監視サーバー6に通知することができる。監視サーバー6は、当該センサIDを監視対象として設定でき、後述する分析ルールに従って当該センサIDのセンサデータ収集状況を判定する。   Here, an example of the setting of the monitoring target information will be described. For example, when a sensor ID for which sensor data is to be obtained is input from the application 4 to the data collection server 3, the data collection server 3 transfers information including the sensor ID to the monitoring server 6. Thereby, the sensor ID of the sensor data used by the application 4 can be notified to the monitoring server 6. The monitoring server 6 can set the sensor ID as a monitoring target, and determines the sensor data collection status of the sensor ID according to an analysis rule described later.

またセンサデータ収集条件も、監視サーバー6に入力される。このセンサデータ収集条件の入力は、センサIDに基づいて予め登録されている条件を呼び出して設定するようにしてもよいし、センサIDに基づいてオペレータが入力するようにしてもよい。つまり、センサIDに基づいて自動的に入力されてもよいし、人の手により入力されるようにしてもよい。   The sensor data collection conditions are also input to the monitoring server 6. The input of the sensor data collection condition may be set by calling a condition registered in advance based on the sensor ID, or may be input by an operator based on the sensor ID. That is, the information may be automatically input based on the sensor ID, or may be manually input.

上記センサデータ収集条件は、センサデータ収集状況を判定する監視サーバー6が収集状況判定をするために必要な条件であり、例えば、収集時間、センサデータ収集頻度等が含まれる。収集時間は、センサデータ収集状況判定に係る期間を示すものであり、センサデータ収集頻度は、監視サーバー6がデータ収集サーバー3からセンサデータを取得する頻度(例えば1秒間に何回等)を示す。センサデータ収集条件は、監視サーバー6が収集状況を判定するために必要な条件であれば、上記に限定されるものではない。   The sensor data collection conditions are conditions necessary for the monitoring server 6 that determines the sensor data collection status to determine the collection status, and include, for example, a collection time, a sensor data collection frequency, and the like. The collection time indicates a period related to the sensor data collection status determination, and the sensor data collection frequency indicates a frequency (for example, how many times a second) the monitoring server 6 acquires sensor data from the data collection server 3. . The sensor data collection conditions are not limited to the above, as long as the conditions are necessary for the monitoring server 6 to determine the collection status.

さらに、対象センサIDのセンサデータ収集に関連する監視対象に関する情報(関連監視対象)も、監視サーバー6に設定される。例えば、センサデータの獲得及び送信をする発信元のセンサ通信端末1−Nから、センサデータの収集先であるデータ収集サーバー3までの経路上の各機器に関する情報が設定される。   Further, information on the monitoring target related to the sensor data collection of the target sensor ID (related monitoring target) is also set in the monitoring server 6. For example, information about each device on the path from the sensor communication terminal 1-N that acquires and transmits sensor data to the data collection server 3 that is the sensor data collection destination is set.

より具体的には、ゲートウェイ2の識別情報(例えばMACアドレス、IPアドレス等)や、当該センサ通信端末1−Nからデータ収集サーバー3までの経路上のネットワーク機器のアドレス情報等が設定される。また、当該センサIDのセンサを搭載しているセンサ通信端末1−Nの識別情報(例えば、MACアドレス等)や、データ収集サーバー3の識別情報(例えば、MACアドレス等)も監視サーバー6も設定される。   More specifically, identification information (for example, a MAC address, an IP address, and the like) of the gateway 2 and address information of a network device on a path from the sensor communication terminal 1-N to the data collection server 3 are set. Also, the identification information (for example, MAC address, etc.) of the sensor communication terminal 1-N equipped with the sensor of the sensor ID, the identification information (for example, MAC address, etc.) of the data collection server 3 and the monitoring server 6 are set. Is done.

そして、監視サーバー6では、ルール保存部61には、分析ルール(センサデータ収集状態判定ルール)が設定される。   In the monitoring server 6, an analysis rule (sensor data collection state determination rule) is set in the rule storage unit 61.

[S102]次に、ルール保存部61に設定された分析ルールのうち、収集ルールに従って、監視データ収集部62は、データ収集サーバー3からセンサデータを収集し保存する。   [S102] Next, among the analysis rules set in the rule storage unit 61, the monitoring data collection unit 62 collects and stores sensor data from the data collection server 3 according to the collection rule.

例えば、センサID等と対応付けて各センサデータを蓄積管理しているデータ収集サーバー3に対して、監視データ収集部62が、対象のセンサデータ特定情報(例えば、センサID、センサ通信端末1−Nの識別情報等)を含む情報を送信する。これを受けて、データ収集サーバー3は、対応するセンサデータを送信することで、監視データ収集部62は、対象とするセンサデータを収集できる。   For example, for a data collection server 3 that accumulates and manages each sensor data in association with a sensor ID or the like, the monitoring data collection unit 62 sends target sensor data identification information (for example, sensor ID, sensor communication terminal 1- N, etc.). In response, the data collection server 3 transmits the corresponding sensor data, so that the monitoring data collection unit 62 can collect the target sensor data.

[S103]また、関連監視対象収集部65は、S101で設定された関連監視対象とする各機器(例えば、センサ通信端末1−N、ゲートウェイ2、データ収集サーバー3等)から稼働状態データを収集し保存する。   [S103] Also, the related monitoring target collection unit 65 collects operation state data from each device (for example, the sensor communication terminal 1-N, the gateway 2, the data collection server 3, etc.) set as the related monitoring target in S101. And save.

例えば、関連監視対象収集部65は、SNMP(Simple Network Management Protocol)マネージャ等として機能し、各機器がSNMPエージェント等として機能し、関連監視対象収集部65が関連監視対象の各機器の稼働状態を管理するようにしてもよい。   For example, the related monitoring target collection unit 65 functions as an SNMP (Simple Network Management Protocol) manager or the like, each device functions as an SNMP agent or the like, and the related monitoring target collection unit 65 checks the operating status of each device that is a related monitoring target. It may be managed.

[S104]分析部63は、ルール保存部61の分析ルールのうち判定ルールに従って、監視データ収集部62により収集されたセンサデータと、関連監視対象収集部65により収集された稼働状態データとに基づいて、当該センサデータ収集状況を分析する。   [S104] The analysis unit 63 is based on the sensor data collected by the monitoring data collection unit 62 and the operating state data collected by the related monitoring target collection unit 65 according to the determination rule among the analysis rules of the rule storage unit 61. Then, the sensor data collection status is analyzed.

監視サーバー6において、判定時間になると(すなわち、センサデータ収集状況の判定に係る収集時間が経過すると)、センサデータ収集状況判定のために必要なセンサデータ、及び、各機器の稼働状態データが必要な数だけあるか否かを判定する。必要数がなければ、センサデータ収集状況が正常でない(すなわち異常発生)と判定する。その判定結果は、例えばセンサデータ収集状況に係る信頼度に反映させる。   In the monitoring server 6, when the determination time comes (that is, when the collection time related to the determination of the sensor data collection status has elapsed), the sensor data necessary for determining the sensor data collection status and the operating state data of each device are required. It is determined whether there is a sufficient number. If the required number does not exist, it is determined that the sensor data collection status is not normal (that is, an abnormality has occurred). The determination result is reflected in, for example, the reliability related to the sensor data collection status.

[S105]分析部63は、ルール保存部61の分析ルールのうち判定ルールに従って、当該センサデータの監視結果を判定する。   [S105] The analysis unit 63 determines a monitoring result of the sensor data according to a determination rule among the analysis rules of the rule storage unit 61.

分析部63は、所定の収集時間内の各機器の稼働状態データから、各機器の稼働状態を捉える。これにより、センサデータ収集システム7における当該センサデータの経路状態が正常な状態か又は異常な状態(例えば、センサ通信端末1−N、ゲートウェイ2等に異常が生じているか等)を分析する。そして、分析部63は、稼働状態データの分析結果に基づいて判定ルールを参照し、センサデータ収集状況に係る信頼度に反映させる。   The analysis unit 63 captures the operating status of each device from the operating status data of each device within a predetermined collection time. This analyzes whether the path state of the sensor data in the sensor data collection system 7 is normal or abnormal (for example, whether an abnormality has occurred in the sensor communication terminal 1-N, the gateway 2, or the like). Then, the analysis unit 63 refers to the determination rule based on the analysis result of the operation state data, and reflects the determination rule on the reliability related to the sensor data collection status.

また、分析部63は、対象のセンサIDのセンサデータの収集状況や、判定時間(収集時間)内のデータ値の時間的な推移を分析する。そして、上記センサデータの収集状況や、センサデータのデータ値の推移の分析結果に基づいて判定ルールを参照して、当該センサデータ収集状況に係る信頼度に反映させる。   In addition, the analysis unit 63 analyzes the collection status of the sensor data of the target sensor ID and the temporal transition of the data value within the determination time (collection time). Then, the determination rule is referred to based on the analysis result of the sensor data collection status and the transition of the data value of the sensor data, and is reflected in the reliability related to the sensor data collection status.

[S106、S107]そして、監視結果送信部64は、ルール保存部61の通知ルールを参照し、通知ルールで規定された通知先(例えば、モニター端末5、アプリケーション4、データ収集サーバー3等)に、判定結果の通知が必要か否かを判定する。   [S106, S107] Then, the monitoring result transmission unit 64 refers to the notification rule in the rule storage unit 61, and sends the notification destination (for example, the monitor terminal 5, the application 4, the data collection server 3, etc.) specified by the notification rule. It is determined whether notification of the determination result is necessary.

そして、判定結果の通知が必要な場合、その通知条件に従った通知先(モニター端末5、アプリケーション4等)に、判定結果が通知される。通知が不要な場合、S108に移行する。   When notification of the determination result is necessary, the notification result (the monitor terminal 5, the application 4, etc.) according to the notification condition is notified of the determination result. When the notification is unnecessary, the process proceeds to S108.

監視者(モニター端末5)への通知方法は、特に限定しない。例えば、電子メールを用いて行なうようにしてもよい。   The method of notifying the monitor (monitor terminal 5) is not particularly limited. For example, you may make it perform using an electronic mail.

アプリケーション4への通知は、監視サーバー6からアプリケーション4に対して行なうようにしてもよい。または、監視サーバー6がデータ収集サーバー3に送信し、データ収集サーバー3が、アプリケーション4に提供するセンサデータに判定結果を付加して、アプリケーションに送信するようにしてもよい。   The notification to the application 4 may be sent from the monitoring server 6 to the application 4. Alternatively, the monitoring server 6 may transmit the data to the data collection server 3, and the data collection server 3 may add the determination result to the sensor data provided to the application 4 and transmit the sensor data to the application.

[S108]S102からS106までの処理について、センサが起動しているか、またはアプリケーション4がセンサデータを利用していれば、S102に移行して、処理を繰り返し行う。   [S108] Regarding the processing from S102 to S106, if the sensor is activated or the application 4 uses the sensor data, the process proceeds to S102 and the processing is repeated.

[センサデータ収集状況監視処理の一例]
次に、図4のフローチャートに沿って、センサデータ収集状況監視処理の一例を例示する。
[Example of sensor data collection status monitoring process]
Next, an example of the sensor data collection status monitoring process will be described with reference to the flowchart of FIG.

ここでは、対象のセンサIDのセンサが定期的にセンシングし、各センサデータが、センサ通信端末1−Nからゲートウェイ2を経由してデータ収集サーバー3に収集される場合の収集状況を判定する。   Here, the sensor of the target sensor ID periodically senses, and the collection status when each sensor data is collected by the data collection server 3 from the sensor communication terminal 1-N via the gateway 2 is determined.

[S101]監視サーバー6には、監視対象情報として、センサID、センサ通信端末1−Nの識別情報(例えばMACアドレス)が設定される。さらに、データ収集サーバー3において、当該センサ通信端末1−Nからセンサデータを収集する収集時間、収集頻度等の収集条件が設定される。   [S101] In the monitoring server 6, a sensor ID and identification information (for example, a MAC address) of the sensor communication terminal 1-N are set as monitoring target information. Further, in the data collection server 3, collection conditions such as a collection time and a collection frequency for collecting sensor data from the sensor communication terminal 1-N are set.

また、監視サーバー6には、関連監視対象のゲートウェイ2の識別情報が、設定される。   In the monitoring server 6, the identification information of the gateway 2 to be monitored is set.

さらに、監視サーバー6には、分析ルール(センサデータ収集状態判定ルール)が設定される。分析ルール(センサデータ収集状態判定ルール)は、以下のような「収集ルール」、「判定ルール」、「通知ルール」を適用する場合を例示する。「収集ルール」、「判定ルール」、「通知ルール」は、それぞれ1個であってもよいし、複数個であってもよい。   Further, an analysis rule (sensor data collection state determination rule) is set in the monitoring server 6. The analysis rule (sensor data collection state determination rule) exemplifies a case where the following “collection rule”, “determination rule”, and “notification rule” are applied. The number of “collection rules”, “judgment rules”, and “notification rules” may be one each, or may be plural.

ここでは、センサデータの信頼度は100の値を基準とする。以下の判定ルールの条件にあう場合に、信頼度の値は減算される。
「収集ルール1」:センサ値(センサID)はセンサ通信端末1−Nに接続されているセンサ。
「収集ルール2」:機器状態は、センサ通信端末1−N、ゲートウェイ2、データ収集サーバー3の稼働状態データに基づいて調べる。
「判定ルール1」:信頼度は正常なら「100」(基準値)。
「判定ルール2」:機器状態が「1」ならばデータ信頼度は「0」。
「判定ルール3」:データ収集エラー1個につき正常値から「10」だけ減算する(信頼度を「−10」とする)。
「判定ルール4」:センサデータのデータ値が所定値A(この例では、「10」と例示する。)以上のデータがあれば、信頼度をさらに「30」だけ減算する(「−30」とする)。
「通知ルール」:「信頼度が前回判定時80以上であり、かつ、今回判定時80未満、または、「信頼度が前回判定時80未満であり、かつ、今回判定時時が80以上ならば」、アプリケーション4に通知する。
Here, the reliability of the sensor data is based on a value of 100. When the condition of the following determination rule is met, the value of the reliability is subtracted.
Collection rule 1”: The sensor value (sensor ID) is a sensor connected to the sensor communication terminal 1-N.
"Collection Rule 2": The device status is checked based on the operation status data of the sensor communication terminal 1-N, the gateway 2, and the data collection server 3.
"Judgment rule 1": "100" (reference value) if the reliability is normal.
"Judgment rule 2": If the device state is "1", the data reliability is "0".
Judgment rule 3”: For each data collection error, “10” is subtracted from the normal value (the reliability is set to “−10”).
"Determination rule 4": If there is data whose sensor data value is equal to or greater than a predetermined value A (in this example, "10"), the reliability is further reduced by "30"("-30"). And).
"Notification rule": "If the reliability is less than 80 at the time of the previous determination and less than 80 at the time of the current determination, or" If the reliability is less than 80 at the time of the previous determination and the time of the current determination is 80 or more, ", The application 4 is notified.

[S102、S103]監視データ収集部62は、データ収集サーバー3から対象のセンサデータを収集し、関連監視対象収集部65は、関連監視対象の各機器の稼働状態データを収集する。   [S102, S103] The monitoring data collection unit 62 collects the target sensor data from the data collection server 3, and the related monitoring target collection unit 65 collects the operation state data of each device of the related monitoring target.

図5は、第1の実施形態に係るセンサデータ収集状況と機器状態の一例を示す説明図である。   FIG. 5 is an explanatory diagram illustrating an example of the sensor data collection status and the device status according to the first embodiment.

図5(A)は、関連監視対象とする各機器の稼働状態データに基づく、機器状態の時間毎の推移を示している。ここでは、対象のセンサ通信端末1−N、ゲートウェイ2、データ収集サーバー3のいずれかに異常がある場合に「1」とし、全ての機器が正常である場合に「0」としている。   FIG. 5A shows a transition of the device status over time based on the operation status data of each device to be related and monitored. Here, “1” is set when any of the target sensor communication terminals 1-N, gateway 2, and data collection server 3 is abnormal, and “0” is set when all devices are normal.

図5(B)は、対象のセンサデータの時間毎のデータ値の推移を示している。なお、図5(A)と図5(B)の時間軸は同期している。センサは、1秒につき10回センシングしているものとする。曲線が途切れている箇所(E1、E2)は収集エラーがあったものとする。アプリケーション4はセンサデータを取得して1秒間の変動量を利用するものとする。   FIG. 5B shows the transition of the data value of the target sensor data over time. Note that the time axes of FIG. 5A and FIG. 5B are synchronized. It is assumed that the sensor senses 10 times per second. It is assumed that a portion where the curve is broken (E1, E2) has an acquisition error. The application 4 acquires sensor data and uses the fluctuation amount for one second.

図5(A)と図5(B)の間に示す矢印(図5(C))は、分析部63がセンサデータ収集状況の判定期間である。センサデータ収集状況の判定期間Tn(nは正の整数)は2秒間とし、分析部63は、1秒毎に過去2秒間の機器状態及びセンサデータのデータ値に基づく収集状況を判定する。   An arrow (FIG. 5C) shown between FIG. 5A and FIG. 5B is a period during which the analyzing unit 63 determines the sensor data collection status. The sensor data collection status determination period Tn (n is a positive integer) is set to 2 seconds, and the analyzer 63 determines the collection status based on the device status and the sensor data values for the past 2 seconds every second.

例えば、判定期間T1の矢印付近に表記されている「0」等の数字は、当該判定期間T1におけるセンサデータの収集エラー個数を示している。上述したように、センサは1秒につき10回センシングしていることから、収集エラー個数が分かる。   For example, a number such as “0” written near the arrow of the determination period T1 indicates the number of sensor data collection errors during the determination period T1. As described above, since the sensor performs sensing 10 times per second, the number of collected errors can be determined.

[S104、S105]分析部63は、2秒間の各判定期間Tnで、センサデータの収集状況を分析し、判定期間Tn毎にセンサデータの信頼度を判定する。   [S104, S105] The analysis unit 63 analyzes the collection status of the sensor data in each determination period Tn of 2 seconds, and determines the reliability of the sensor data for each determination period Tn.

以下では、図5(A)及び図5(B)の判定期間T1〜T9のうち、いくつかの判定期間における信頼度の判定のしかたを例示する。なお、複数の判定ルールのそれぞれが適合しているか否かの判定の仕方は、特に限定されるものではなく、順番に各判定ルールを個別に判断していくようにしてもよい、並列的に判断してもよい。   Hereinafter, a method of determining the reliability in some of the determination periods T1 to T9 of FIGS. 5A and 5B will be described. The method of determining whether or not each of the plurality of determination rules conforms is not particularly limited, and each determination rule may be determined individually in order. You may decide.

[判定期間T1とT8について]
例えば、判定期間T1では、「判定ルール1」より信頼度を「100」とし、機器状態が「0」であるため「判定ルール2」による減算はない。更に収集エラー個数が「0」であるため「判定ルール3」による減算はない。センサデータのデータ値が所定値A(例えば「10」)以上のものはないので「判定ルール4」による減算はない。従って、判定期間T1における信頼度は「100」と判定される。
[About the determination periods T1 and T8]
For example, in the determination period T1, the reliability is set to “100” from “determination rule 1”, and since the device state is “0”, there is no subtraction by “determination rule 2”. Further, since the number of collected errors is “0”, there is no subtraction by “judgment rule 3”. Since there is no sensor data whose data value is equal to or larger than the predetermined value A (for example, “10”), there is no subtraction by “judgment rule 4”. Therefore, the reliability in the determination period T1 is determined to be “100”.

例えば、判定期間T8では、「判定ルール1」より信頼度を「100」とし、機器状態が「0」であるため「判定ルール2」による減算はない。更に収集エラー個数が「0」であるため「判定ルール3」による減算はない。しかし、データ値が所定値A(例えば「10」)以上のセンサデータがあるため、「判定ルール4」により、信頼度を「30」だけ減算する(「−30」とする)。従って、判定期間T8における信頼度は「70」と判定される。なお、判定期間T9も、判定期間T8と同様に信頼度が「70」と判定される。   For example, in the determination period T8, the reliability is set to "100" from the "determination rule 1", and since the device state is "0", there is no subtraction by the "determination rule 2". Further, since the number of collected errors is “0”, there is no subtraction by “judgment rule 3”. However, since there is sensor data whose data value is equal to or larger than the predetermined value A (for example, “10”), the reliability is subtracted by “30” (“−30”) according to “determination rule 4”. Therefore, the reliability in the determination period T8 is determined to be “70”. Note that the reliability is also determined to be “70” in the determination period T9 as in the determination period T8.

ここで、判定期間T1とT8の両方とも、機器状態は正常であり、収集エラーもない状態であるが、判定期間T8において何らかの理由によりセンサが異常値を計測した可能性が高いと判断することができる。このような場合に、センサデータの信頼度を低くして、アプリケーション4に提供することが好ましい。   Here, in both of the determination periods T1 and T8, the device state is normal and there is no collection error, but it is determined that there is a high possibility that the sensor has measured an abnormal value for some reason in the determination period T8. Can be. In such a case, it is preferable that the reliability of the sensor data be reduced and provided to the application 4.

[判定期間T2とT4について]
例えば、判定期間T2では、「判定ルール1」より信頼度を「100」とし、機器状態が「0」であるため「判定ルール2」による減算もない。しかし、E1において、1個のセンサデータの収集エラーがあるので「判定ルール3」により信頼度を「10」だけ減算する(すなわち「−10」とする)。センサデータのデータ値が所定値A(例えば「10」)以上のものはないので、「判定ルール4」による減算はない。従って、判定期間T2における信頼度は「90」と判定される。
[About the determination periods T2 and T4]
For example, in the determination period T2, the reliability is set to "100" from the "determination rule 1", and since the device state is "0", there is no subtraction by the "determination rule 2". However, at E1, since there is an error in collecting one sensor data, the reliability is subtracted by “10” by “judgment rule 3” (ie, “−10”). Since there is no sensor data whose value is equal to or greater than the predetermined value A (for example, “10”), there is no subtraction by “judgment rule 4”. Therefore, the reliability in the determination period T2 is determined to be “90”.

例えば、判定期間T4では、図5(B)のセンサデータ収集状況から分析すると、「判定ルール1」より信頼度を「100」とする。2秒間の判定期間のうち後半部分のE2において、4個のセンサデータの収集エラーがあるため「判定ルール4」により信頼度は「40(=10×4個)」だけ減算する。センサデータのデータ値が所定値A(例えば「10」)以上のものはないので、「判定ルール4」による減算はない。しかし、図5(A)の機器状態が「1」であるため「判定ルール2」により信頼度は「0」となる。なお、判定期間T5も、判定期間T4と同様に信頼度が「0」と判定される。   For example, in the determination period T4, when the analysis is performed based on the sensor data collection status in FIG. 5B, the reliability is set to “100” from “determination rule 1”. Since there are four sensor data collection errors in the latter part E2 of the two-second determination period, the reliability is subtracted by “40 (= 10 × 4)” by “determination rule 4”. Since there is no sensor data whose value is equal to or greater than the predetermined value A (for example, “10”), there is no subtraction by “judgment rule 4”. However, since the device state in FIG. 5A is “1”, the reliability is “0” according to “judgment rule 2”. Note that the reliability is also determined to be “0” in the determination period T5 as in the determination period T4.

ここで、センサデータ収集状況で収集エラーが生じている判定期間T2と判定期間T4とを比べる。   Here, the determination period T2 in which a collection error has occurred in the sensor data collection situation is compared with the determination period T4.

判定期間T2及びT4の両方とも、収集エラーが生じているが、判定期間T2では機器状態が正常であるのに対して、判定期間T4では、機器状態が異常であると判断できる。そうすると、判定期間T4では、機器に異常が発生したり又は不安定な状態で、センサデータが転送されてきたものと考えられ、このような場合にセンサデータの信頼度を低くして、アプリケーション4に提供することが好ましい。   Although a collection error has occurred in both of the determination periods T2 and T4, it can be determined that the device state is normal in the determination period T2 while the device state is abnormal in the determination period T4. Then, in the determination period T4, it is considered that the sensor data has been transferred in a state where an abnormality has occurred or is unstable in the device. In such a case, the reliability of the sensor data is reduced, and the application 4 Is preferably provided.

上述したように、分析部63が、機器状態及びセンサデータのデータ値の推移から、分析ルールに従って各判定期間の信頼度を判定する。そうすると、判定期間T1〜T9の信頼度は、順番に、「100」、「90」、「90」、「0」、「0」、「100」、「100」、「70」、「70」となる。   As described above, the analysis unit 63 determines the reliability of each determination period according to the analysis rule from the transition of the device state and the data value of the sensor data. Then, the reliability of the determination periods T1 to T9 is “100”, “90”, “90”, “0”, “0”, “100”, “100”, “70”, “70” in that order. Becomes

[S106、S107]監視結果送信部64は、分析部63により判定された各判定期間T1〜T9の信頼度から、通知ルールに従って判定結果(監視結果)を通知先に送信する。   [S106, S107] The monitoring result transmission unit 64 transmits the determination result (monitoring result) to the notification destination according to the notification rule based on the reliability of each of the determination periods T1 to T9 determined by the analysis unit 63.

つまり、前回判定時の信頼度と今回判定時の信頼度との比較により、判定期間T4、T6、T8が通知ルールに合致するので、監視結果送信部64は、判定期間T4、T6、T8の監視結果を、アプリケーション4に通知する。   That is, since the determination periods T4, T6, and T8 match the notification rule by comparing the reliability at the previous determination and the reliability at the current determination, the monitoring result transmitting unit 64 determines whether the determination period T4, T6, or T8 The monitoring result is notified to the application 4.

ここで、通知ルールを、例えば、『「信頼度が前回判定時80以上であり、かつ、今回判定時80未満、または、「信頼度が前回判定時80未満であり、かつ、今回判定時時が80以上ならば」、アプリケーション4に通知する。』と定義しているのは、アプリケーション4に信頼度の変動量が大きい時点を知らせることを意図している。例えば、センサデータを利用するアプリケーション4の運用にもよるが、信頼度の変動量が大きい場合、その時点のセンサデータの利用が相応しくないこともある。そのため、第1の実施形態では、信頼度の変動量が大きい時点にアプリケーション4に通知することとしている。なお、上記通知ルールにおける信頼度の値(「80」)は一例であり、これに限定されるものではない。また、上記通知ルールは一例であり、これに限定されるものではなく、アプリケーション4の利用方法に応じて適宜決定するようにしてもよい。   Here, the notification rule may be set to, for example, "" the reliability is 80 or more at the time of the previous determination and less than 80 at the time of the current determination, or "the reliability is less than 80 at the time of the previous determination and at the time of the current determination. Is greater than or equal to 80 ", the application 4 is notified. Is intended to notify the application 4 of the point in time when the reliability fluctuation amount is large. For example, depending on the operation of the application 4 that uses the sensor data, if the amount of change in the reliability is large, the use of the sensor data at that time may not be appropriate. Therefore, in the first embodiment, the application 4 is notified when the amount of change in the reliability is large. Note that the value of the reliability (“80”) in the notification rule is an example, and is not limited to this. Further, the above notification rule is an example, and the present invention is not limited to this. The notification rule may be determined as appropriate according to the usage of the application 4.

アプリケーション4は、信頼度を参照し、センサデータが利用できるかを判定する。例えば、機器異常の通知を受信した判定期間T4の区間から、復旧通知を受信した判定期間T6の開始時までは、アプリケーション4はセンサデータを利用しない等の対応が可能となる。また、再度、機器異常通知を受信した判定期間T8とT9の区間についても、アプリケーション4はセンサデータを利用しないようにすることができる。   The application 4 refers to the reliability and determines whether sensor data can be used. For example, from the section of the determination period T4 in which the notification of the device abnormality is received to the start of the determination period T6 in which the recovery notification is received, the application 4 can take measures such as not using the sensor data. Also, the application 4 can be configured not to use the sensor data in the section between the determination periods T8 and T9 where the device abnormality notification is received again.

(A−3)第1の実施形態の効果
以上のように、第1の実施形態によれば、センサデータと通信機器の稼働状態をセンサデータ収集システムの収集状況センサとして監視サーバーに入力し、センサデータ収集状況を判定するようにした。これにより、センサデータ収集システム全体の状況を考慮しているので、センサデータ収集時の異常時の対応を取りやすくなるという効果が得られる。
(A-3) Effects of the First Embodiment As described above, according to the first embodiment, the sensor data and the operating state of the communication device are input to the monitoring server as the collection status sensor of the sensor data collection system, The sensor data collection status is now determined. Thus, since the situation of the entire sensor data collection system is taken into consideration, an effect is obtained that it is easy to take measures when an abnormality occurs during sensor data collection.

また、センサデータの収集状況をデータの信頼度としてアプリケーションに提供することで、アプリケーションがセンサデータの利用可否を判定しやすくなるという効果が得られる。   Also, by providing the collection status of the sensor data to the application as the reliability of the data, an effect is obtained that the application can easily determine whether the sensor data can be used.

(B)第2の実施形態
[第2の実施形態の基本概念]
例えば、各センサの観測周期や、各センサ通信端末1又はゲートウェイ2の送信周期(センサデータを含む情報の送信周期)などにもよるが、データ収集サーバー3には、ゲートウェイ2を中継して、多くのセンサデータがほぼ同じタイミングで収集される可能性がある。
(B) Second embodiment [Basic concept of second embodiment]
For example, depending on the observation cycle of each sensor, the transmission cycle of each sensor communication terminal 1 or the gateway 2 (the transmission cycle of information including sensor data), the data collection server 3 relays the gateway 2, Many sensor data may be collected at about the same time.

例えば、複数のセンサの各センサデータが同じゲートウェイを経由して転送される場合、当該ゲートウェイの処理負荷が大きくなり、異常が生じたり、処理遅延が生じたりするおそれがある。そうすると、センサデータを含むパケットが欠落したり、消失したりしてしまい、結果的に、データ収集サーバー3におけるセンサデータ収集状況に影響が生じ得る。   For example, when each sensor data of a plurality of sensors is transferred via the same gateway, the processing load of the gateway increases, and there is a possibility that an abnormality may occur or a processing delay may occur. Then, the packet including the sensor data is dropped or lost, and as a result, the sensor data collection status in the data collection server 3 may be affected.

そのため、センサデータ収集システム7のトラフィック量を調整することが要求されるが、センサデータ収集システム7は、センサ種類やセンサの数などが非常に多い。また、データ収集頻度も大きい。そのため、センサデータ収集システム7に対応させるためには、センサ毎のセンサデータ収集状況を考慮することが求められる。   Therefore, it is required to adjust the traffic amount of the sensor data collection system 7, but the sensor data collection system 7 has a very large number of sensors and the number of sensors. Also, the frequency of data collection is high. Therefore, in order to correspond to the sensor data collection system 7, it is necessary to consider a sensor data collection situation for each sensor.

そこで、第2の実施形態は、センサ毎のセンサデータ収集状況を考慮して、中継装置(例えばゲートウェイ等)の異常時若しくは異常前に、データ送信に係る制御を行なうことができるようにしようとするものである。   Therefore, the second embodiment is intended to be able to perform control relating to data transmission at the time of or before an abnormality of a relay device (for example, a gateway) in consideration of the sensor data collection status of each sensor. Is what you do.

(B−1)第2の実施形態の構成
次に、本発明に係るデータ収集状況監視装置、データ収集状況監視方法、及び、データ収集状況監視システムの第2の実施形態を、図面を参照して説明する。
(B-1) Configuration of Second Embodiment Next, a data collection status monitoring device, a data collection status monitoring method, and a data collection status monitoring system according to a second embodiment of the present invention will be described with reference to the drawings. Will be explained.

第2の実施形態は、監視サーバーによるデータ収集状況監視処理が第1の実施形態の処理と異なる。従って、第2の実施形態では、監視サーバーを監視サーバー6Aと表現し、監視サーバー6Aによるデータ収集状況処理を中心に詳細に説明する。なお、第2の実施形態でも図1を用いて説明する。   The second embodiment differs from the first embodiment in the data collection status monitoring process performed by the monitoring server. Therefore, in the second embodiment, the monitoring server is referred to as a monitoring server 6A, and a detailed description will be given focusing on data collection status processing by the monitoring server 6A. The second embodiment will be described with reference to FIG.

監視サーバー6Aは、第1の実施形態の監視サーバー6と同様に、各センサのセンサデータ収集状況を監視し、対象のセンサデータの収集状況判定値を判定する。   The monitoring server 6A monitors the sensor data collection status of each sensor similarly to the monitoring server 6 of the first embodiment, and determines the target sensor data collection status determination value.

また、監視サーバー6Aは、各センサのセンサデータ収集状況や各センサデータの経路や関連監視対象(例えば、ゲートウェイ2等)の稼働状態データなどに基づいて、異常又は処理負荷の大きい関連監視対象を検出する。そして、その関連監視対象を経由しているセンサ又はセンサ通信端末に対して、センサデータ送信に係る制御を行なう。   Further, the monitoring server 6A identifies the abnormal monitoring target or the monitoring target having a large processing load based on the sensor data collection status of each sensor, the route of each sensor data, and the operation status data of the relevant monitoring target (for example, the gateway 2). To detect. Then, control relating to sensor data transmission is performed on a sensor or a sensor communication terminal passing through the relevant monitoring target.

図6は、第2の実施形態に係る監視サーバー6Aの内部構成を示す内部構成図である。   FIG. 6 is an internal configuration diagram illustrating the internal configuration of the monitoring server 6A according to the second embodiment.

図6に示すように、監視サーバー6Aは、ルール保存部61、監視データ収集部62、分析部63、監視結果送信部64、関連監視対象収集部65、経路保存部66、機器状態情報保存部67、制御信号送信部68を有する。   As shown in FIG. 6, the monitoring server 6A includes a rule storage unit 61, a monitoring data collection unit 62, an analysis unit 63, a monitoring result transmission unit 64, a related monitoring target collection unit 65, a route storage unit 66, and a device status information storage unit. 67, a control signal transmitting unit 68 is provided.

経路保存部66は、ルール保存部61に保存される、対象のセンサ通信端末1の識別情報(例えば、MACアドレス、IPアドレスなど)、データ収集サーバー3の識別情報(例えば、MACアドレス、IPアドレスなど)、ゲートウェイ2の識別情報(例えば、MACアドレス、IPアドレスなど)等に基づいて、センサ通信端末1からデータ収集サーバー3までのセンサデータの経路情報を保存する。複数のセンサのセンサデータ収集状況を判断する際、経路保存部66は、センサ毎の経路情報を保存する。例えばセンサ通信端末1とゲートウェイ2とデータ収集サーバー3とを対応つけた経路情報を保存するようにしてもよい。経路保存部66の情報を用い、同一ゲートウェイ2を中継器とするセンサ通信端末1−Nは、関連監視対象収集部65のデータを共有する。   The route storage unit 66 stores identification information (for example, a MAC address and an IP address) of the target sensor communication terminal 1 and identification information (for example, a MAC address and an IP address) of the target sensor communication terminal 1 stored in the rule storage unit 61. And the like, and the route information of the sensor data from the sensor communication terminal 1 to the data collection server 3 is stored based on the identification information of the gateway 2 (for example, MAC address, IP address, etc.). When determining the sensor data collection status of a plurality of sensors, the route storage unit 66 stores the route information for each sensor. For example, route information in which the sensor communication terminal 1, the gateway 2, and the data collection server 3 are associated with each other may be stored. Using the information of the route storage unit 66, the sensor communication terminals 1-N having the same gateway 2 as a relay device share data of the related monitoring target collection unit 65.

機器状態情報保存部67は、各センサのセンサデータ収集に係る経路上の各機器の状態情報(機器状態情報)を保存する。機器状態情報保存部67には、関連監視対象収集部65が収集した関連監視対象の稼働状態データ、監視データ収集部62が収集したセンサデータ収集状況が保存される。また、分析部63が分析した若しくは分析途中の、機器状態に関する情報(図5(A)参照)、センサデータ収集状況に関する情報(図5(B)参照)も保存される。   The device status information storage unit 67 stores status information (device status information) of each device on a path related to sensor data collection of each sensor. The device status information storage unit 67 stores the operation status data of the related monitoring target collected by the related monitoring target collection unit 65 and the sensor data collection status collected by the monitoring data collection unit 62. In addition, information on the device status (see FIG. 5A) analyzed by the analysis unit 63 or during analysis is stored, and information on the sensor data collection status (see FIG. 5B) is also stored.

そして、機器状態情報保存部67は、上記のような各種情報を用いて、各機器の状態情報を導出して保存する。機器状態情報保存部67には、リアルタイムの情報が入力されるので、逐次、各機器の状態情報は更新される。各機器の機器状態情報も、同一ゲートウェイ2を中継器とするセンサ通信端末1の分析時に用いられる分析データを共有するために行なう。   Then, the device status information storage unit 67 derives and stores the status information of each device using the various types of information as described above. Since real-time information is input to the device status information storage unit 67, the status information of each device is sequentially updated. The device status information of each device is also used to share analysis data used when analyzing the sensor communication terminal 1 using the same gateway 2 as a relay.

分析部63は、第1の実施形態と同様にして、分析ルールに従って、センサデータ収集状況と関連監視対象の機器状態とに基づいてセンサデータの信頼度を判定する。また、分析部63は、分析ルールに基づいて、監視結果を、モニター端末5やアプリケーション4等に通知する。   The analysis unit 63 determines the reliability of the sensor data based on the sensor data collection status and the device status of the related monitoring target according to the analysis rule, as in the first embodiment. In addition, the analysis unit 63 notifies the monitor terminal 5 and the application 4 and the like of the monitoring result based on the analysis rule.

また、分析部63は、機器状態情報保存部67の各機器の状態情報を参照して、分析ルールに従って処理負荷が大きい関連監視対象を検出する。そして、機器状態情報保存部67の各機器の状態情報や、経路保存部66のセンサ毎の経路情報を参照して、上記検出した関連監視対象を経路に含んでいるセンサ通信端末1を検出する。このとき、複数のセンサ通信端末1が検出されることもある。   Further, the analysis unit 63 refers to the status information of each device in the device status information storage unit 67 and detects a related monitoring target having a large processing load according to the analysis rule. By referring to the status information of each device in the device status information storage unit 67 and the route information for each sensor in the route storage unit 66, the sensor communication terminal 1 including the detected related monitoring target in the route is detected. . At this time, a plurality of sensor communication terminals 1 may be detected.

分析部63は、検出した各センサ通信端末1やゲートウェイ2を制御対象機器とし、分析ルールに従った制御内容を、制御信号送信部68に与える。これにより、制御対象のセンサ通信端末1やゲートウェイ2を再起動したり、設定変更したりすることができる。すなわち、分析部63は、センサデータ送信処理に関する制御情報(ファームウェア)の設定変更や初期化を図るために、設定変更や初期化のために再起動を指示する。   The analysis unit 63 sets each of the detected sensor communication terminals 1 and the gateway 2 as a control target device, and provides the control content according to the analysis rule to the control signal transmission unit 68. Thereby, the sensor communication terminal 1 and the gateway 2 to be controlled can be restarted or the setting can be changed. That is, the analysis unit 63 instructs a restart for setting change and initialization in order to change and initialize control information (firmware) related to sensor data transmission processing.

制御信号送信部68は、分析部63で決定した制御対象機器及び制御内容を、制御信号に変換し、上記制御対象機器宛に制御信号を送信する。   The control signal transmission unit 68 converts the control target device and the control content determined by the analysis unit 63 into a control signal, and transmits the control signal to the control target device.

(B−2)第2の実施形態の動作
次に、第1の実施形態に係るデータ収集状況監視処理の動作を説明する。
(B-2) Operation of the Second Embodiment Next, the operation of the data collection status monitoring process according to the first embodiment will be described.

[センサデータ収集状況監視処理]
図7は、第2の実施形態に係る監視サーバー6Aにおけるセンサデータ収集状況監視処理の動作を示すフローチャートである。
[Sensor data collection status monitoring process]
FIG. 7 is a flowchart illustrating the operation of the sensor data collection status monitoring process in the monitoring server 6A according to the second embodiment.

以下では、複数のセンサのセンサデータがデータ収集サーバー3に収集されており、監視サーバー6Aは、複数のセンサのセンサデータ収集状況を監視している。   In the following, sensor data of a plurality of sensors is collected by the data collection server 3, and the monitoring server 6A monitors the sensor data collection status of the plurality of sensors.

例えば、図1において、センサ通信端末1−1に搭載されているセンサAのセンサデータの経路は、「センサ通信端末1−1」→「ゲートウェイ2−1」→「データ収集サーバー3」とする。   For example, in FIG. 1, the path of the sensor data of the sensor A mounted on the sensor communication terminal 1-1 is “sensor communication terminal 1-1” → “gateway 2-1” → “data collection server 3”. .

センサ通信端末1−2のセンサBのセンサデータの経路は、「センサ通信端末1−2」→「ゲートウェイ2−1」→「データ収集サーバー3」とする。つまり、センサA及びBは、同一のゲートウェイ2−1を経由する。   The path of the sensor data of the sensor B of the sensor communication terminal 1-2 is “sensor communication terminal 1-2” → “gateway 2-1” → “data collection server 3”. That is, the sensors A and B pass through the same gateway 2-1.

センサ通信端末1−3のセンサCのセンサデータの経路は、「センサ通信端末1−3」→「ゲートウェイ2−2」→「データ収集サーバー3」とする。   The path of the sensor data of the sensor C of the sensor communication terminal 1-3 is “sensor communication terminal 1-3” → “gateway 2-2” → “data collection server 3”.

[S201]第1の実施形態と同様にして、監視サーバー6Aにおいて、センサデータ収集状況監視に係る監視対象情報及び分析ルールが設定される。複数のセンサが監視対象の場合、センサ毎の監視対象情報及び分析ルールが設定される。   [S201] In the same manner as in the first embodiment, the monitoring server 6A sets monitoring target information and analysis rules related to sensor data collection status monitoring. When a plurality of sensors are to be monitored, monitoring target information and analysis rules are set for each sensor.

[S202]次に、ルール保存部61に設定された分析ルールのうち、収集ルールに従って、監視データ収集部62は、データ収集サーバー3からセンサデータを収集し保存する。   [S202] Next, among the analysis rules set in the rule storage unit 61, the monitoring data collection unit 62 collects and stores the sensor data from the data collection server 3 according to the collection rule.

[S203]関連監視対象収集部65は、S101で設定された関連監視対象とする各機器(例えば、センサ通信端末1−N、ゲートウェイ2、データ収集サーバー3等)から稼働状態データを収集し保存する。例えば、関連監視対象収集部65は、SNMPマネージャ等として機能し、各機器がSNMPエージェント等として機能し、関連監視対象収集部65が関連監視対象の各機器の稼働状態を管理する。   [S203] The related monitoring target collection unit 65 collects and stores operating state data from each device (for example, the sensor communication terminal 1-N, the gateway 2, the data collection server 3, etc.) set as the related monitoring target in S101. I do. For example, the related monitoring target collecting unit 65 functions as an SNMP manager or the like, each device functions as an SNMP agent or the like, and the related monitoring target collecting unit 65 manages the operation state of each related monitoring target device.

[S204]機器状態情報保存部67には、関連監視対象収集部65から各機器の稼働状態データや、監視データ収集部62からセンサデータが入力される。   [S204] The operating status data of each device from the related monitoring target collecting unit 65 and the sensor data from the monitoring data collecting unit 62 are input to the device status information storing unit 67.

また、機器状態情報保存部67には、分析部63がセンサデータ収集状況の分析処理により得られたデータも入力される。   Further, the data obtained by the analysis unit 63 by the analysis processing of the sensor data collection status is also input to the device status information storage unit 67.

機器状態情報保存部67は、関連監視対象の各機器の稼働状態データや、分析部63からのデータに基づいて、各センサのセンサ通信端末1、ゲートウェイ2等の経路上の各機器の状態情報を保存する。   The device status information storage unit 67 stores the status information of each device on the path such as the sensor communication terminal 1 and the gateway 2 of each sensor based on the operation status data of each device to be monitored and the data from the analysis unit 63. Save.

図8(A)は、第2の実施形態に係る機器状態情報保存部67に保存される状態情報の一例を示す構成図である。図8(B)は、センサ毎の経路情報を示す図である。   FIG. 8A is a configuration diagram illustrating an example of status information stored in the device status information storage unit 67 according to the second embodiment. FIG. 8B is a diagram illustrating route information for each sensor.

図8(A)の例では、単位時間を1秒としている。各センサ通信端末1(1−1〜1−3)については、データ収集サーバー3が受信した単位時間当たりのセンサデータ数を示している。ゲートウェイ2(2−1、2−2)については、各ゲートウェイ2のCPU使用率を示している。   In the example of FIG. 8A, the unit time is 1 second. For each sensor communication terminal 1 (1-1 to 1-3), the number of sensor data per unit time received by the data collection server 3 is shown. For the gateways 2 (2-1, 2-2), the CPU utilization of each gateway 2 is shown.

なお、機器状態情報保存部67が管理する状態情報は、上記の例に限定されない。例えば、ゲートウェイ2のパケット転送数、受信パケット数、受信エラー数、送信エラー数等を利用するようにしてもよい。   The status information managed by the device status information storage unit 67 is not limited to the above example. For example, the number of packet transfers, the number of received packets, the number of reception errors, the number of transmission errors, and the like of the gateway 2 may be used.

また、機器状態情報保存部67は、過去の各機器の状態情報を参照して、現時点以降の状態を推定する機械学習機能を有するようにしてもよい。例えば、センサ通信端末1−1(センサA)が送信するセンサデータ送信数の推移データ等のように、過去の履歴情報がある場合には、過去の履歴情報を用いて現時点以降の時間毎のセンサデータ数を推定してもよい。またセンサ毎の経路情報や、センサ毎のパケット数などの過去の履歴情報に基づいて、各ゲートウェイ2を通過するパケット数を推定するようにしてもよい。   Further, the device state information storage unit 67 may have a machine learning function of estimating a state after the present time by referring to past state information of each device. For example, when there is past history information, such as transition data of the number of sensor data transmissions transmitted by the sensor communication terminal 1-1 (sensor A), the past history information is used to determine the time of each time since the present time. The number of sensor data may be estimated. Alternatively, the number of packets passing through each gateway 2 may be estimated based on past route information for each sensor or past history information such as the number of packets for each sensor.

分析部63は、関連監視対象収集部65からの各機器の稼働状態データ、監視データ収集部62のセンサデータが入力される。また、分析部63は、機器状態情報保存部67の各機器状態情報も参照することができる。さらに、分析部63は、経路保存部66に保存されているセンサ毎の経路情報も参照できる。   The analysis unit 63 receives the operation state data of each device from the related monitoring target collection unit 65 and the sensor data of the monitoring data collection unit 62. The analysis unit 63 can also refer to each piece of device status information in the device status information storage unit 67. Further, the analysis unit 63 can also refer to the route information for each sensor stored in the route storage unit 66.

分析部63は、第1の実施形態と同様に、収集したセンサデータに基づいてセンサデータのデータ値の推移や、稼働状態データに基づいて機器状態を分析する。複数のセンサを対象とする場合には、センサ毎のセンサデータのデータ値の推移及び機器状態を分析して監視する。   The analyzing unit 63 analyzes the transition of the data value of the sensor data based on the collected sensor data and the device state based on the operating state data, as in the first embodiment. When a plurality of sensors are targeted, a transition of a data value of sensor data and a device state of each sensor are analyzed and monitored.

[S205]分析部63は、機器状態情報保存部67に保存される各機器(例えば、各センサ通信端末1及び各ゲートウェイ2)の状態情報を参照して、分析ルールに該当する関連監視対象を検出する(S205)。   [S205] The analysis unit 63 refers to the status information of each device (for example, each sensor communication terminal 1 and each gateway 2) stored in the device status information storage unit 67 to determine the related monitoring target corresponding to the analysis rule. It is detected (S205).

ここで、分析ルールは、第1の実施形態で説明した、収集ルール、通知ルール等を含むようにしてもよいが、ここでは、状態判定ルールの一例を例示する。   Here, the analysis rule may include the collection rule, the notification rule, and the like described in the first embodiment. Here, an example of the state determination rule is illustrated.

状態判定ルールは、関連監視対象の機器に異常が生じている又は異常が生じ得る状態であることを特定するための条件と、その条件に該当するときの制御内容とが含まれている。   The state determination rule includes a condition for specifying that the related monitoring target device is in a state in which an abnormality has occurred or is in a state in which an abnormality is likely to occur, and a control content when the condition is met.

以下に状態判定ルールの一例を説明する。なお、状態判定ルールは、1個であってもよいし、複数個であってもよく、ここでは2個の状態判定ルールが設定されている場合を例示する。
「状態判定ルール1」:CPU使用率が80%以上ならば、所定時間(例えば3秒間)データ送信回数が1/2になるようセンサ通信端末に制御信号を送信する。
「状態判定ルール2」:ゲートウェイを通過するパケット数が40以上ならば、所定時間(3秒間)データ送信回数が1/2になるようセンサ通信端末に制御信号を送信する。
Hereinafter, an example of the state determination rule will be described. The number of state determination rules may be one or more. Here, a case where two state determination rules are set is exemplified.
"State determination rule 1": If the CPU usage rate is 80% or more, a control signal is transmitted to the sensor communication terminal such that the number of data transmissions becomes 1/2 for a predetermined time (for example, 3 seconds).
"State determination rule 2": If the number of packets passing through the gateway is 40 or more, a control signal is transmitted to the sensor communication terminal so that the number of data transmissions becomes 1/2 for a predetermined time (3 seconds).

なお、「状態判定ルール1」及び「状態判定ルール2」に例示したCPU使用率の閾値や、通過するパケット数の閾値や、所定時間の値、データ送信回数の制御値などは、それぞれ一例であり、これに限定されるものではない。   Note that the threshold values of the CPU usage rate, the threshold value of the number of passing packets, the value of the predetermined time, the control value of the number of data transmissions, and the like exemplified in “Status determination rule 1” and “Status determination rule 2” are each examples. Yes, but not limited to this.

例えば、上記例の場合、分析部63は、図8(A)の機器状態情報を参照して、「状態判定ルール1」と「状態判定ルール2」とのいずれか又は両方に該当する関連監視対象を検出する。   For example, in the case of the above example, the analysis unit 63 refers to the device status information in FIG. 8A and performs the related monitoring corresponding to one or both of “status determination rule 1” and “status determination rule 2”. Detect objects.

また、上記の例では、センサ通信端末のデータ送信回数を半減する場合を例示しているが、これに限定されない。障害復旧のために、再起動させるなどの制御内容であってもよい。   Further, in the above example, the case where the number of data transmissions of the sensor communication terminal is halved is illustrated, but the present invention is not limited to this. Control contents such as restarting for failure recovery may be used.

[S206]分析部63は、状態判定ルールに該当する関連監視対象の機器に接続するセンサ通信端末を特定する。分析部63は、各センサの経路情報等を考慮して、関連監視対象(例えば、ゲートウェイ2)を経路に持つセンサを特定することができる。これにより、制御対象とするセンサ通信端末1を特定することができる。   [S206] The analysis unit 63 specifies a sensor communication terminal connected to the related monitoring target device corresponding to the state determination rule. The analysis unit 63 can specify a sensor having a related monitoring target (for example, the gateway 2) on the route in consideration of route information of each sensor and the like. Thereby, the sensor communication terminal 1 to be controlled can be specified.

[S207、S208、S209]分析部63は、S205及びS206の処理の判定内容を、例えば、データ収集サーバー3に提供するため、分析ルール(例えば、通知ルール)に従って判定結果を通知する。   [S207, S208, S209] The analysis unit 63 notifies a determination result according to an analysis rule (for example, a notification rule) in order to provide the determination contents of the processing of S205 and S206 to, for example, the data collection server 3.

ここでは、分析ルールのうち通知ルールは、第1の実施形態と同様に、判定結果を通知する宛先等を含む通知条件を規定してもよい。例えば、通知ルールの一例として、状態判定ルールに該当する関連監視対象を経路上に持つ1又は複数のセンサがある場合には、各判定結果をデータ収集サーバー3に送信する等としてもよい。   Here, the notification rule among the analysis rules may specify a notification condition including a destination for notifying the determination result, as in the first embodiment. For example, as an example of a notification rule, when there is one or a plurality of sensors having a related monitoring target corresponding to a state determination rule on a route, each determination result may be transmitted to the data collection server 3.

なお、S209では、関連監視対象を経路上に持つ複数のセンサを特定できた場合には、各センサの判定結果を、通知先(例えば、データ収集サーバー3等)に通知する。   In S209, when a plurality of sensors having the related monitoring target on the route can be specified, the determination result of each sensor is notified to a notification destination (for example, the data collection server 3 or the like).

[S210]分析部63は、状態判定ルールに従って、制御対象とする各機器に対して収集設定変更が必要か否かを判定する。   [S210] The analysis unit 63 determines whether or not the collection setting needs to be changed for each device to be controlled according to the state determination rule.

[S211]そして、状態判定ルールに従って、制御対象とする各機器に収集設定変更が必要である場合、制御信号送信部は、分析部63の指示を受けて、制御対象とする各機器を宛先として、状態判定ルールに従った制御内容の制御信号を送信する。   [S211] Then, according to the state determination rule, when the collection setting needs to be changed for each device to be controlled, the control signal transmission unit receives an instruction from the analysis unit 63 and designates each device to be controlled as a destination. , And transmits a control signal having control contents in accordance with the state determination rule.

[S212]S202からS211までの処理について、センサが起動していれば、S202に移行して処理を繰り返し行い、そうでない場合、処理を終了する。   [S212] Regarding the processes from S202 to S211, if the sensor has been activated, the process proceeds to S202, and the process is repeated. Otherwise, the process ends.

[S205〜S212の処理の一例]
以下では、図8(A)の時間経過に従って、分析部63によるS205〜S212の処理を説明する。
[Example of processing in S205 to S212]
Hereinafter, the processing of S205 to S212 by the analysis unit 63 will be described in accordance with the passage of time in FIG.

なお、図8(B)の経路情報より、ゲートウェイ2−1を通過するパケット数は、センサ通信端末1−1及び1−2のセンサデータ数の合計値であり、ゲートウェイ2−2を通過するパケット数は、センサ通信端末1−3のセンサデータ数の値とする。   From the route information in FIG. 8B, the number of packets passing through the gateway 2-1 is the total value of the number of sensor data of the sensor communication terminals 1-1 and 1-2, and passes through the gateway 2-2. The number of packets is the value of the number of sensor data of the sensor communication terminal 1-3.

[時間1〜2]
「時間1」〜「時間2」の時点では、ゲートウェイ2−1及び2−2のCPU使用率は「20%」であるので、「状態判定ルール1」には該当しない。また、ゲートウェイ2−1を通過するパケット数は「10」であり、ゲートウェイ2−2を通過するパケット数も「10」であるので、「状態判定ルール2」に該当しない(S205)。この場合、S207で通知が不要であり、S209で収集設定変更も不要であるため、S212に移行する。
[Time 1-2]
At the time between “time 1” and “time 2”, the CPU usage rates of the gateways 2-1 and 2-2 are “20%”, and thus do not correspond to the “state determination rule 1”. Also, the number of packets passing through the gateway 2-1 is "10" and the number of packets passing through the gateway 2-2 is also "10", and thus does not correspond to "state determination rule 2" (S205). In this case, the notification is not required in S207, and the collection setting change is not required in S209, so the process proceeds to S212.

[時間3]
「時間3」の時点では、ゲートウェイ2−1及び2−2のCPU使用率は「20%」及び「50%」であるので、「状態判定ルール1」には該当しない。ゲートウェイ2−2を通過するパケット数は「10」であるので、「状態判定ルール2」に該当しない。
[Time 3]
At the time “time 3”, the CPU usage rates of the gateways 2-1 and 2-2 are “20%” and “50%”, and thus do not correspond to the “state determination rule 1”. Since the number of packets passing through the gateway 2-2 is “10”, it does not correspond to “state determination rule 2”.

しかし、ゲートウェイ2−1を通過するパケット数は「40」であるので、ゲートウェイ2−1について「状態判定ルール2」が該当する(S205)。   However, since the number of packets passing through the gateway 2-1 is "40", the "state determination rule 2" applies to the gateway 2-1 (S205).

そうすると、分析部63は、経路情報を参照して、ゲートウェイ2−1と接続しているセンサ通信端末1−1及び1−2を特定し(S206)、分析部63は、通知ルールに従って、センサ通信端末1−1及び1−2のそれぞれの判定結果を、データ収集サーバー3等の通知先に送信する(S207、S208、S209)。   Then, the analysis unit 63 refers to the route information and specifies the sensor communication terminals 1-1 and 1-2 connected to the gateway 2-1 (S206), and the analysis unit 63 determines the sensor communication terminal according to the notification rule. The respective determination results of the communication terminals 1-1 and 1-2 are transmitted to notification destinations such as the data collection server 3 (S207, S208, S209).

さらに、分析部63は、「状態判定ルール2」に従って、センサ通信端末1−1及び1−2の両方に対して、センサデータの送信回数を1/2に制御するという内容の制御信号を送信する(S210、S211)。   Further, the analysis unit 63 transmits a control signal indicating that the number of times of transmission of sensor data is controlled to 1 / to both of the sensor communication terminals 1-1 and 1-2 in accordance with “state determination rule 2”. (S210, S211).

このとき、ゲートウェイ2−1に接続するセンサは、2個のセンサA(センサ通信端末1−1)とセンサB(センサ通信端末1−2)がある。そのため、2個のセンサA及びBのうち、いずれかのセンサを選択して、順番に、全てのセンサのセンサ通信端末に対して制御信号を送信するようにする。   At this time, the sensors connected to the gateway 2-1 include two sensors A (sensor communication terminals 1-1) and two sensors B (sensor communication terminals 1-2). Therefore, one of the two sensors A and B is selected, and the control signals are sequentially transmitted to the sensor communication terminals of all the sensors.

例えば、センサAのセンサ通信端末1−1に対して制御信号を送信した後に、センサBのセンサ通信端末1−2に対して制御信号を送信するようにしてもよい。なお、制御信号を送信するために、予め優先度を付しておき、優先度の高い方のセンサ(センサ通信端末)から順に制御信号を送信するようにしてもよい。   For example, after transmitting the control signal to the sensor communication terminal 1-1 of the sensor A, the control signal may be transmitted to the sensor communication terminal 1-2 of the sensor B. In order to transmit the control signal, a priority may be assigned in advance, and the control signal may be transmitted in order from a sensor (sensor communication terminal) having a higher priority.

上記のような制御信号を受信したセンサ通信端末1−1及び1−2は、センサデータの送信数を1/2に減らす。これにより、「時間4」の時点で、センサ通信端末1−1及び1−2のセンサデータ数が半減し、ゲートウェイ2−1を通過するパケット数も減り、処理負荷が軽減される。   The sensor communication terminals 1-1 and 1-2 that have received the control signal as described above reduce the number of transmissions of sensor data to half. As a result, at “time 4”, the number of sensor data of the sensor communication terminals 1-1 and 1-2 is reduced by half, the number of packets passing through the gateway 2-1 is reduced, and the processing load is reduced.

[時間4]
「時間4」の時点では、ゲートウェイ2−1を通過するパケット数は「20」となり、「状態判定ルール2」に該当しない。またゲートウェイ2−2を通過するパケット数は「10」であり「状態判定ルール2」に該当しない。
[Time 4]
At “time 4”, the number of packets passing through the gateway 2-1 is “20”, which does not correspond to “state determination rule 2”. The number of packets passing through the gateway 2-2 is “10”, which does not correspond to “state determination rule 2”.

しかし、ゲートウェイ2−2のCPU使用率は「90%」であるので、「状態判定ルール1」に該当する(S205)。   However, since the CPU usage rate of the gateway 2-2 is “90%”, it corresponds to “state determination rule 1” (S205).

そうすると、分析部63は、経路情報を参照して、ゲートウェイ2−2と接続しているセンサ通信端末1−3を特定し(S206)、分析部63は、通知ルールに従って、センサ通信端末1−3の判定結果を、データ収集サーバー3等の通知先に送信する(S207、S208、S209)。   Then, the analysis unit 63 identifies the sensor communication terminal 1-3 connected to the gateway 2-2 by referring to the route information (S206), and the analysis unit 63 according to the notification rule. The determination result of No. 3 is transmitted to a notification destination such as the data collection server 3 (S207, S208, S209).

さらに、分析部63は、「状態判定ルール1」に従って、センサ通信端末1−3に対して、センサデータの送信回数を1/2に制御するという内容の制御信号を送信する(S210、S211)。   Further, the analysis unit 63 transmits a control signal indicating that the number of times of transmission of the sensor data is controlled to 1 / according to the “state determination rule 1” (S210, S211). .

上記のような制御信号を受信したセンサ通信端末1−3は、センサデータの送信数を1/2に減らす。これにより、「時間5」の時点で、センサ通信端末1−3のセンサデータ数が半減し、ゲートウェイ2−2の処理負荷が軽減される。   The sensor communication terminal 1-3 that has received the control signal as described above reduces the number of transmitted sensor data to に. As a result, at “time 5”, the number of sensor data of the sensor communication terminal 1-3 is reduced by half, and the processing load on the gateway 2-2 is reduced.

[時間6]分析部63は、状態判定ルールに従って、センサ通信端末1−1、1−2に、送信回数を初期値に復帰させるための制御信号を送信する(S210、S211)。   [Time 6] The analysis unit 63 transmits a control signal for returning the number of transmissions to the initial value to the sensor communication terminals 1-1 and 1-2 according to the state determination rule (S210, S211).

[時間7]分析部63は、状態判定ルールに従って、センサ通信端末1−3に、送信回数を初期値に復帰させるための制御信号を送信する(S210、S211)。   [Time 7] The analysis unit 63 transmits a control signal for returning the number of transmissions to the initial value to the sensor communication terminal 1-3 according to the state determination rule (S210, S211).

(B−3)第2の実施形態の効果
以上のように、第2の実施形態によれば、同一ゲートウェイを中継器とする他のセンサ通信端末のセンサ収集状態を考慮することで、異常時にどの機器を制御するかを、自動的に、かつ適正に行うことができるという効果が得られる。
(B-3) Effects of the Second Embodiment As described above, according to the second embodiment, by taking into account the sensor collection state of another sensor communication terminal that uses the same gateway as a relay device, an abnormal state can be achieved. It is possible to obtain an effect that which device is controlled can be controlled automatically and appropriately.

(C)他の実施形態
上述した第1及び第2の実施形態においても種々の変形実施形態を言及したが、以下の変形実施形態にも適用できる。
(C) Other Embodiments In the above-described first and second embodiments, various modified embodiments have been described, but the present invention can be applied to the following modified embodiments.

(C−1)上述した第1の実施形態と、第2の実施形態とを組み合わせた構成としてもよい。つまり、第2の実施形態では、中継器としてのゲートウェイの状態を考慮して、各センサ(センサ通信端末)からの収集設定を制御することを中心に説明したが、監視サーバーが各センサのセンサデータの信頼度を導出して、通知ルールに従った通知先に判定結果を送信するようにしてもよい。   (C-1) A configuration in which the above-described first embodiment and the second embodiment are combined may be adopted. That is, in the second embodiment, the description has been mainly given of controlling the collection setting from each sensor (sensor communication terminal) in consideration of the state of the gateway as a repeater. The reliability of the data may be derived, and the determination result may be transmitted to a notification destination according to the notification rule.

(C−2)上述した第1、第2の実施形態では、監視サーバーが、センサデータ収集システムの監視を行う場合を例示したが、監視サーバーの各処理を行なう装置を分散配置させて分散処理するようにしてもよい。   (C-2) In the above-described first and second embodiments, the case where the monitoring server monitors the sensor data collection system has been described as an example. However, distributed processing is performed by distributing devices that perform each processing of the monitoring server. You may make it.

(C−3)監視サーバーで最適なレートを計算する説明にしたが、センサ、ゲートウェイ等の監視サーバー以外の装置で計算を実行するようにしてもよい。   (C-3) The description has been given of the case where the optimum rate is calculated by the monitoring server, but the calculation may be executed by a device other than the monitoring server, such as a sensor or a gateway.

また、第1、第2の実施形態では、データ収集システムがセンサデータを収集する場合を例示しているが、収集対象のデータはセンサデータ以外のデータに適用するようにしてもよい。   In the first and second embodiments, the case where the data collection system collects sensor data is described as an example. However, the data to be collected may be applied to data other than sensor data.

10…データ収集状況監視システム、1(1−1〜1−3)…センサ通信端末、2(2−1、2−2)…ゲートウェイ、3…データ収集サーバー、4…アプリケーション、5…モニター端末、6、6A…監視サーバー、61…ルール保存部、62…監視データ収集部、63…分析部、64…監視結果送信部、65…関連監視対象収集部、66…経路保存部、67…機器状態情報保存部、68…制御信号送信部。   10 data collection status monitoring system, 1 (1-1 to 1-3) sensor communication terminal, 2 (2-1, 2-2) gateway, 3 data collection server, 4 application, 5 monitor terminal , 6, 6A: monitoring server, 61: rule storage unit, 62: monitoring data collection unit, 63: analysis unit, 64: monitoring result transmission unit, 65: related monitoring target collection unit, 66: route storage unit, 67: device State information storage unit, 68 ... control signal transmission unit.

Claims (13)

1又は複数のデータ通信端末と、上記各データ通信端末からデータを収集するデータ収集装置とを有するデータ収集システムのデータ収集状況を監視するデータ収集状況監視装置であって、
上記各データ通信端末と上記データ収集装置との間の各通信機器の稼働状態情報を取得する関連監視対象情報取得手段と、
上記各データ通信端末から収集した収集データを取得する収集データ取得手段と、
少なくとも、上記各通信機器の稼働状態情報及び上記収集データに基づいて、上記データ収集装置におけるデータ収集時の上記各通信機器の稼働状態を考慮した上記収集データの収集状況を分析する分析手段と
を備えることを特徴とするデータ収集状況監視装置。
A data collection status monitoring device that monitors a data collection status of a data collection system having one or more data communication terminals and a data collection device that collects data from each of the data communication terminals,
Related monitoring target information obtaining means for obtaining operating state information of each communication device between each data communication terminal and the data collection device,
Collection data acquisition means for acquiring collection data collected from each of the data communication terminals,
Analyzing means for analyzing the collection status of the collected data in consideration of the operation status of each communication device at the time of data collection in the data collection device based on at least the operation status information of each communication device and the collected data. A data collection status monitoring device, comprising:
上記分析手段が、上記各通信機器の稼働状態情報及び上記収集データのそれぞれの時間変動を捉えて上記収集データの収集状況を判定し、その判定結果に応じた上記収集データの信頼度を導出するものであることを特徴とする請求項1に記載のデータ収集状況監視装置。   The analysis means determines the collection status of the collected data by capturing the operation state information of each communication device and the time variation of each of the collected data, and derives the reliability of the collected data according to the determination result. The data collection status monitoring device according to claim 1, wherein 上記分析手段が、少なくとも、上記各通信機器の稼働状態情報に基づいて、いずれかの上記通信機器の状態が異常であるときの上記収集データの信頼度を低く評価することを特徴とする請求項2に記載のデータ収集状況監視装置。   The said analysis means evaluates the reliability of the said collection data when the state of any of the said communication apparatuses is abnormal based on at least the operation state information of each said communication apparatus, low. 3. The data collection status monitoring device according to 2. 上記分析手段が、少なくとも、上記収集データのデータ値の時間推移に基づいて、当該データ値が異常と判定されるときの上記収集データの信頼度を低く評価することを特徴とする請求項2又は3に記載のデータ収集状況監視装置。   3. The method according to claim 2, wherein the analysis unit evaluates the reliability of the collected data when the data value is determined to be abnormal based on at least a time transition of the data value of the collected data. 3. The data collection status monitoring device according to 3. 上記分析手段が、少なくとも、上記収集データのデータ値の時間推移に基づいて当該収集データの収集エラーのうち、上記各通信機器の状態が異常であるときには上記収集データの信頼度を低く評価することを特徴とする請求項2〜4のいずれかに記載のデータ収集状況監視装置。   The analyzing means may evaluate the reliability of the collected data to be low when the status of each communication device is abnormal among the collected errors of the collected data based on at least the time transition of the data value of the collected data. The data collection status monitoring device according to any one of claims 2 to 4, wherein 上記分析手段により導出された上記収集データの信頼度を、所定の通知先に送信する監視結果送信手段を備えることを特徴とする請求項2〜5のいずれかに記載のデータ収集状況監視装置。   The data collection status monitoring device according to any one of claims 2 to 5, further comprising a monitoring result transmission unit that transmits a reliability of the collected data derived by the analysis unit to a predetermined notification destination. 上記各センサ通信端末から上記データ収集装置までの上記収集データの経路情報を収集データ毎に保持する経路情報保存手段と、
上記データ収集システムおいて、上記データ収集装置が収集する上記各収集データの経路上に存在する上記各通信機器の稼働状態情報と、収集先である上記各センサ通信端末からの上記収集データの収集状況とを保持する機器状態情報保存手段と
を更に備え、
上記分析手段が、上記各通信機器の稼働状態情報に応じて、上記各センサ通信端末からの上記収集データの収集条件を制御する
ことを特徴とする請求項1に記載のデータ収集状況監視装置。
Path information storage means for holding the path information of the collected data from each of the sensor communication terminals to the data collection device for each collected data,
In the data collection system, operating state information of each of the communication devices existing on the path of each of the collected data collected by the data collection device, and collection of the collected data from each of the sensor communication terminals as collection destinations And device status information storage means for storing the status.
2. The data collection status monitoring device according to claim 1, wherein the analysis unit controls a collection condition of the collected data from each of the sensor communication terminals according to operation state information of each of the communication devices. 3.
上記分析手段は、少なくとも、上記複数のセンサ通信端末からの上記収集データが同一の上記通信機器を経由して中継されているときに、所定方法により、上記複数のセンサ通信端末のそれぞれの収集条件を変更することを特徴とする請求項7に記載のデータ収集状況監視装置。   The analyzing means, at least, when the collected data from the plurality of sensor communication terminals is relayed via the same communication device, by a predetermined method, the collection condition of each of the plurality of sensor communication terminals The data collection status monitoring device according to claim 7, wherein the data collection status is changed. 上記分析手段は、少なくとも、上記収集データを中継している上記各通信機器の処理負荷値と閾値との比較結果に基づいて、上記収集データの収集先である上記センサ通信端末の収集条件を変更することを特徴とする請求項7又は8に記載のデータ収集状況監視装置。   The analysis means changes a collection condition of the sensor communication terminal, which is a collection destination of the collected data, at least based on a comparison result between a processing load value of each of the communication devices relaying the collected data and a threshold value. 9. The data collection status monitoring apparatus according to claim 7, wherein 上記分析手段は、少なくとも、上記各通信機器を通過するデータ量若しくはパケット数に基づいて、上記収集データの収集先である上記センサ通信端末の収集条件を変更することを特徴とする請求項7〜9のいずれかに記載のデータ収集状況監視装置。   The said analysis means changes the collection conditions of the said sensor communication terminal which is the collection destination of the said collected data based on at least the amount of data or the number of packets which pass through each said communication apparatus, The Claims 7- characterized by the above-mentioned. 9. The data collection status monitoring device according to any one of 9. 上記機器状態情報保存手段が、上記データ収集システムおける上記各通信機器の過去の稼働状態情報及び上記各センサ通信端末からの過去の収集状況に基づいて、現時点以降の収集状況を予測した情報を保持することを特徴とする請求項7〜10のいずれかに記載のデータ収集状況監視装置。   The device status information storage unit holds information that predicts a collection status after the current time based on past operation status information of each communication device in the data collection system and past collection status from each of the sensor communication terminals. The data collection status monitoring device according to any one of claims 7 to 10, wherein: 1又は複数のデータ通信端末と、上記各データ通信端末からデータを収集するデータ収集装置とを有するデータ収集システムのデータ収集状況を監視するデータ収集状況監視方法であって、
関連監視対象情報取得手段が、上記各データ通信端末と上記データ収集装置との間の各通信機器の稼働状態情報を取得し、
収集データ取得手段が、上記各データ通信端末から収集した収集データを取得し、
分析手段が、少なくとも、上記各通信機器の稼働状態情報及び上記収集データに基づいて、上記データ収集装置におけるデータ収集時の上記各通信機器の稼働状態を考慮した上記収集データの収集状況を分析する
ことを特徴とするデータ収集状況監視方法。
A data collection status monitoring method for monitoring a data collection status of a data collection system having one or more data communication terminals and a data collection device that collects data from each of the data communication terminals,
Related monitoring target information acquiring means acquires operating state information of each communication device between each of the data communication terminals and the data collection device,
Collecting data acquisition means for acquiring the collected data collected from each of the data communication terminals,
An analysis unit analyzes a collection state of the collected data in consideration of an operation state of each communication device at the time of data collection in the data collection device based on at least the operation state information of each communication device and the collected data. A data collection status monitoring method characterized in that:
1又は複数のデータ通信端末と、上記各データ通信端末からデータを収集するデータ収集装置とを有するデータ収集システムのデータ収集状況を監視するデータ収集状況監視システムであって、
上記各データ通信端末と上記データ収集装置との間の各通信機器の稼働状態情報を取得する関連監視対象情報取得手段と、
上記各データ通信端末から収集した収集データを取得する収集データ取得手段と、
少なくとも、上記各通信機器の稼働状態情報及び上記収集データに基づいて、上記データ収集装置におけるデータ収集時の上記各通信機器の稼働状態を考慮した上記収集データの収集状況を分析する分析手段と
を備えることを特徴とするデータ収集状況監視システム。
A data collection status monitoring system that monitors a data collection status of a data collection system having one or more data communication terminals and a data collection device that collects data from each of the data communication terminals,
Related monitoring target information obtaining means for obtaining operating state information of each communication device between each data communication terminal and the data collection device,
Collection data acquisition means for acquiring collection data collected from each of the data communication terminals,
Analyzing means for analyzing the collection status of the collected data in consideration of the operation status of each communication device at the time of data collection in the data collection device based on at least the operation status information of each communication device and the collected data. A data collection status monitoring system, comprising:
JP2018147867A 2018-08-06 2018-08-06 DATA COLLECTION MONITORING DEVICE, DATA COLLECTION MONITORING METHOD, AND DATA COLLECTION MONITORING SYSTEM Active JP7131189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018147867A JP7131189B2 (en) 2018-08-06 2018-08-06 DATA COLLECTION MONITORING DEVICE, DATA COLLECTION MONITORING METHOD, AND DATA COLLECTION MONITORING SYSTEM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018147867A JP7131189B2 (en) 2018-08-06 2018-08-06 DATA COLLECTION MONITORING DEVICE, DATA COLLECTION MONITORING METHOD, AND DATA COLLECTION MONITORING SYSTEM

Publications (2)

Publication Number Publication Date
JP2020024515A true JP2020024515A (en) 2020-02-13
JP7131189B2 JP7131189B2 (en) 2022-09-06

Family

ID=69618721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018147867A Active JP7131189B2 (en) 2018-08-06 2018-08-06 DATA COLLECTION MONITORING DEVICE, DATA COLLECTION MONITORING METHOD, AND DATA COLLECTION MONITORING SYSTEM

Country Status (1)

Country Link
JP (1) JP7131189B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021240869A1 (en) * 2020-05-28 2021-12-02 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Control method, program, and fraudulent data sensing system
JP2021190982A (en) * 2020-05-28 2021-12-13 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Control method, program, and illegitimate data inspection system
WO2022201290A1 (en) * 2021-03-23 2022-09-29 日本電気株式会社 Communication system, communication device, communication method and recording medium
JP2022169485A (en) * 2021-04-27 2022-11-09 メクサス インコーポレイテッド Remote control solution server for integrated management of internet of things device and 5g/lte wireless router
WO2023238449A1 (en) * 2022-06-10 2023-12-14 株式会社日立製作所 Facility operation assistance device, method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287468A (en) * 2005-03-31 2006-10-19 Saxa Inc Radio terminal device and center device
JP2013055451A (en) * 2011-09-02 2013-03-21 Hitachi Kokusai Electric Inc Radio sensor network system
JP2015220712A (en) * 2014-05-21 2015-12-07 株式会社日立産機システム Computer system, center device, terminal, and communication control method
WO2016189926A1 (en) * 2015-05-27 2016-12-01 日本電気株式会社 Information processing device, information processing method, information processing program, and information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287468A (en) * 2005-03-31 2006-10-19 Saxa Inc Radio terminal device and center device
JP2013055451A (en) * 2011-09-02 2013-03-21 Hitachi Kokusai Electric Inc Radio sensor network system
JP2015220712A (en) * 2014-05-21 2015-12-07 株式会社日立産機システム Computer system, center device, terminal, and communication control method
WO2016189926A1 (en) * 2015-05-27 2016-12-01 日本電気株式会社 Information processing device, information processing method, information processing program, and information processing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021240869A1 (en) * 2020-05-28 2021-12-02 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Control method, program, and fraudulent data sensing system
JP2021190982A (en) * 2020-05-28 2021-12-13 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Control method, program, and illegitimate data inspection system
WO2022201290A1 (en) * 2021-03-23 2022-09-29 日本電気株式会社 Communication system, communication device, communication method and recording medium
JP2022169485A (en) * 2021-04-27 2022-11-09 メクサス インコーポレイテッド Remote control solution server for integrated management of internet of things device and 5g/lte wireless router
WO2023238449A1 (en) * 2022-06-10 2023-12-14 株式会社日立製作所 Facility operation assistance device, method, and program

Also Published As

Publication number Publication date
JP7131189B2 (en) 2022-09-06

Similar Documents

Publication Publication Date Title
JP7131189B2 (en) DATA COLLECTION MONITORING DEVICE, DATA COLLECTION MONITORING METHOD, AND DATA COLLECTION MONITORING SYSTEM
EP3326330B1 (en) Methods, systems, and apparatus to generate information transmission performance alerts
JP4639207B2 (en) Network system, node device and management server
US8356093B2 (en) Apparatus and system for estimating network configuration
US20120163191A1 (en) Network state monitoring system
EP3682595B1 (en) Obtaining local area network diagnostic test results
JP2008015722A (en) Data processing system
JP2011151752A (en) Communication network system including packet transport fault detection function
JP2012039565A (en) Monitoring system, monitoring device, monitoring program and terminal
JP4919935B2 (en) Security system
US11652682B2 (en) Operations management apparatus, operations management system, and operations management method
JP2017017750A (en) PoE POWER FEEDING DEVICE HAVING IP APPARATUS DIAGNOSTIC FUNCTION
JP2007228421A (en) Ip network route diagnosis apparatus and ip network route diagnosis system
JP6024472B2 (en) IP relay device having IP device diagnosis function
US9596559B2 (en) Efficient machine-to-machine data notifications
JP2020170946A (en) Data collection status monitoring device, data collection status monitoring program, data collection status monitoring method, and data collection status monitoring system
JP6272060B2 (en) Node equipment
JP2006325118A (en) Monitored data collection system
US10523469B2 (en) Relay device and communication system
JP2017130820A (en) Communication network detection system
TWM397559U (en) Monitoring system for network quality
Suhonen et al. Remote diagnostics and performance analysis for a wireless sensor network
JP2010245877A (en) System and method for quality management in network, and control program
JP2014150484A (en) Relay device with power feeding function having ip equipment diagnostic function
JP6212871B2 (en) Communication monitoring system, communication monitoring device, communication monitoring program, and communication terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210507

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220506

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: 20220726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220808

R150 Certificate of patent or registration of utility model

Ref document number: 7131189

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150