JP5214685B2 - Information collection device, information collection program, and building management system - Google Patents

Information collection device, information collection program, and building management system Download PDF

Info

Publication number
JP5214685B2
JP5214685B2 JP2010201330A JP2010201330A JP5214685B2 JP 5214685 B2 JP5214685 B2 JP 5214685B2 JP 2010201330 A JP2010201330 A JP 2010201330A JP 2010201330 A JP2010201330 A JP 2010201330A JP 5214685 B2 JP5214685 B2 JP 5214685B2
Authority
JP
Japan
Prior art keywords
population
unit
request
controller
process data
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.)
Expired - Fee Related
Application number
JP2010201330A
Other languages
Japanese (ja)
Other versions
JP2012059000A (en
Inventor
子 雄 金
良 恵 介 米
川 智 則 前
村 信 孝 西
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2010201330A priority Critical patent/JP5214685B2/en
Publication of JP2012059000A publication Critical patent/JP2012059000A/en
Application granted granted Critical
Publication of JP5214685B2 publication Critical patent/JP5214685B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明の実施形態は、情報収集装置、情報収集プログラム、及びビル管理システムに関する。   Embodiments described herein relate generally to an information collection apparatus, an information collection program, and a building management system.

ビルや工場などの大型の建物には、建物内の空調や照明などの設備機器の状態を監視制御するため、ビル管理システムが導入されている。従来のビル管理システムは、設備機器の監視制御を目的とする、監視端末と設備機器によって構成される閉鎖的なシステムであった。近年では、ビルの省エネや価値向上を目的とし、ビル管理システムを、OAシステムや物理セキュリティシステム等の外部システムと連携する事例が増えている。これにより、例えば、設備機器の稼働状態をパソコンのモニタ上に表示することができる。また、入退室管理システムと連携することで、部屋の空調や照明の消し忘れを防止することができる。また、スケジュール管理システムと連携することで、会議室の空調を自動的に運転監視できる。   In large buildings such as buildings and factories, a building management system is introduced in order to monitor and control the state of equipment such as air conditioning and lighting in the building. A conventional building management system is a closed system composed of a monitoring terminal and equipment for the purpose of monitoring and controlling equipment. In recent years, there are an increasing number of cases in which building management systems are linked with external systems such as OA systems and physical security systems for the purpose of building energy conservation and value enhancement. Thereby, for example, the operating state of the equipment can be displayed on the monitor of the personal computer. Also, by cooperating with the entrance / exit management system, it is possible to prevent forgetting to turn off the air conditioning or lighting of the room. In addition, by cooperating with the schedule management system, the air conditioning of the conference room can be automatically monitored.

外部システムはビル管理システムに対してリクエストを送信し、設備機器の状態情報(プロセスデータ)を取得する。例えば、空調のプロセスデータには、電源のON/OFF値や、設定温度値などがある。このような、外部システムによって発生する処理は、従来のビル管理システムには無かった処理であり、BEMSの負荷を増やす可能性がある。従来のビル管理システムは、数人のビル管理者ユーザから利用されることを想定しているが、外部システムと連携する場合は、数百・数千人規模のビル居住者から利用される可能性がある。ビル居住者の利用方法を正確に想定することは困難である。また、ビル管理システムの設計時には想定していなかった外部システムと、後々、連携する場合もある。そのため、外部システムとの連携は、ビル管理システムに対する負荷見積もりを困難にする。   The external system transmits a request to the building management system, and acquires state information (process data) of the equipment. For example, the process data for air conditioning includes a power ON / OFF value and a set temperature value. Such a process generated by the external system is a process that was not found in the conventional building management system, and may increase the load on the BEMS. The conventional building management system is supposed to be used by several building administrator users, but when linked with external systems, it can be used by hundreds or thousands of building residents. There is sex. It is difficult to accurately assume the usage of building residents. In some cases, it will be linked later with an external system that was not assumed when designing the building management system. Therefore, the linkage with the external system makes it difficult to estimate the load on the building management system.

外部システムとの連携による想定外の負荷発生を避けるための方法として、プロセスデータのクローリングとキャッシングがある。クローリングとは、プロセスデータを一定周期で収集(クロール)することである。キャッシングとは、クローリングしたプロセスデータを一定期間、蓄積(キャッシュ)することである。このクローリングとキャッシングを行う装置は、ゲートウェイ(以下GWと記載する)と呼ばれる。   Process data crawling and caching are methods for avoiding unexpected loads due to linkage with external systems. Crawling is the collection (crawl) of process data at regular intervals. Caching is to accumulate (cache) crawled process data for a certain period. A device that performs this crawling and caching is called a gateway (hereinafter referred to as GW).

GWを利用することで、ビル管理システムの負荷を見積もることが可能となる。すなわち、GWがクローリングを行うことによって発生する負荷が、ビル管理システムに新たに発生する負荷となる。GWはプロセスデータをキャッシュしているため、外部システムからのリクエストは、GWのみで処理できる。外部システムが多くのリクエストを送信したとしても、ビル管理システムに発生する負荷は、GWのクローリングによる負荷のみである。   By using the GW, it is possible to estimate the load of the building management system. That is, the load generated when the GW performs crawling is a load newly generated in the building management system. Since the GW caches process data, a request from an external system can be processed only by the GW. Even if the external system sends many requests, the load generated in the building management system is only the load caused by crawling of the GW.

クローリングを行うにあたり、クローリングの際のリクエストの送信頻度(リクエストレート)が高すぎると、ビル管理システムの負荷が高くなるため、負荷を許容範囲内に抑えつつ、できるだけ高いリクエストレートを達成することが課題となる。クローリングのリクエストを処理するのは、ビル管理システムにおけるIPコントローラであるため、クローリングによる負荷は、IPコントローラに生じる。従って、IPコントローラの負荷を把握し、出来るだけ高いリクエストレートを達成することが求められる。   When performing crawling, if the transmission frequency (request rate) of requests during crawling is too high, the load on the building management system will increase. Therefore, it is possible to achieve the highest possible request rate while keeping the load within an allowable range. It becomes a problem. Since the crawling request is processed by the IP controller in the building management system, a load due to crawling is generated in the IP controller. Therefore, it is required to grasp the load of the IP controller and achieve a request rate as high as possible.

機器の負荷状態を推定して、リクエストレートを調節する手法として、複数のウェブサーバの負荷状態を通信性能から推定する技術が知られている。具体的には、監視装置が、負荷推定用リクエストを各ウェブサーバへ送り、それに対するレスポンスが返ってくるまでの応答時間(Round Trip Time、以下RTT)を計測する。そして、RTTの統計値が閾値を超えた場合に、そのウェブサーバが高負荷な状態であると判断し、そのウェブサーバへのリクエストレートを下げる。以下、RTTの計測、及びRTTの統計値と閾値との比較を、負荷推定処理と呼ぶ。   As a technique for estimating a load state of a device and adjusting a request rate, a technique for estimating load states of a plurality of web servers from communication performance is known. Specifically, the monitoring device sends a load estimation request to each web server and measures a response time (Round Trip Time, hereinafter RTT) until a response to the request is returned. Then, when the RTT statistical value exceeds the threshold, it is determined that the web server is in a high load state, and the request rate to the web server is lowered. Hereinafter, the RTT measurement and the comparison between the RTT statistical value and the threshold value are referred to as load estimation processing.

このような負荷推定処理を、そのまま設備ネットワークに適用することは難しい。これは、常に、一定期間内に得られたRTTから統計値を計算すること、すなわち統計値を計算する際の母集団が一定数であることに起因する。以下、詳細を説明する。   It is difficult to apply such a load estimation process to an equipment network as it is. This is because the statistical value is always calculated from the RTT obtained within a certain period, that is, the population when the statistical value is calculated is constant. Details will be described below.

例えば、従来の手法では、RTTの統計値として、常に過去5回の負荷推定処理で計測されたRTTの平均値を計算する。ウェブサーバが高負荷な状態(高負荷状態)になると、RTTが増加する。以下、高負荷状態において計測したRTTのことを異常RTTと呼ぶ。ウェブサーバが高負荷状態になった後、負荷推定処理を1回実施した場合、過去5回中、1回のRTTが異常RTTとなる。しかし、過去5回中、4回のRTTは正常時の応答時間であるため、この時点では統計値(平均値)が閾値を超えない可能性がある。   For example, in the conventional method, the average value of the RTT measured by the past five load estimation processes is always calculated as the RTT statistical value. When the web server is in a high load state (high load state), the RTT increases. Hereinafter, the RTT measured in a high load state is referred to as an abnormal RTT. When the load estimation process is performed once after the web server is in a high load state, one RTT in the past five times becomes an abnormal RTT. However, since the RTT of 4 times in the past 5 times is a response time at the normal time, there is a possibility that the statistical value (average value) does not exceed the threshold value at this time.

さらに負荷推定処理を1回実施した場合、過去5回中、2回のRTTが異常RTTとなるが、3回のRTTは正常時の応答時間であるため、この時点でも統計値(平均値)が閾値を超えない可能性が高い。さらに負荷推定処理を1回実施し、過去5回中、3回のRTTが異常RTTとなると、統計値(平均値)が閾値を超え、ウェブサーバが高負荷であると監視装置により判断されると考えられる。   Further, when the load estimation process is performed once, out of the past 5 times, 2 RTTs are abnormal RTTs, but since 3 RTTs are normal response times, statistical values (average values) are also present at this point. Is likely not to exceed the threshold. Furthermore, when the load estimation process is performed once and 3 times of RTTs in the past 5 times become abnormal RTTs, the statistical value (average value) exceeds the threshold value, and the monitoring device determines that the web server has a high load. it is conceivable that.

このように、従来の負荷推定処理では、統計値計算の母集団が一定であるため、ウェブサーバが高負荷状態になった後、負荷推定処理を数回実施しないと、高負荷であることが判断されない。   As described above, in the conventional load estimation process, since the statistical value calculation population is constant, the load may be high unless the load estimation process is performed several times after the web server is in a high load state. Not judged.

しかし、設備ネットワークのIPコントローラは、ウェブサーバ向けのハードウェアに比べて低スペックである。また、ウェブサーバと異なり、冗長化構成を取っていない場合もある。従って、高負荷状態をできるだけ早く検出する必要がある。   However, the IP controller of the equipment network has a lower specification than the hardware for the web server. In addition, unlike a web server, there may be no redundant configuration. Therefore, it is necessary to detect a high load state as soon as possible.

従来の負荷推定処理を、そのまま設備ネットワークに適用すると、IPコントローラが高負荷状態になった後に、負荷推定処理を数回実施しないとIPコントローラが高負荷状態であることが判断されないため、リクエストレートの低下が遅れ、IPコントローラの高負荷状態が長引くという問題があった。   If the conventional load estimation process is applied to the equipment network as it is, the request rate cannot be determined unless the load estimation process is performed several times after the IP controller is in a high load state. There was a problem that the drop in the IP controller was delayed and the high load state of the IP controller was prolonged.

特開2006−178698号公報JP 2006-178698 A

本発明は、設備ネットワークにおけるIPコントローラの高負荷状態を速やかに検出し、過度な負荷がかかることを防止できる情報収集装置、情報収集プログラム、及びビル管理システムを提供することを目的とする。   An object of the present invention is to provide an information collection device, an information collection program, and a building management system that can quickly detect a high load state of an IP controller in an equipment network and prevent an excessive load.

本実施形態によれば、情報収集装置は、リクエストレートに基づいてIPコントローラへリクエストを送信し、前記IPコントローラから前記リクエストに対応したプロセスデータを受信する収集部と、前記収集部による前記プロセスデータの受信毎に、前記リクエストの送信から前記プロセスデータの受信までに要した応答時間を記憶する記憶部と、前記IPコントローラから出力される警報情報を取得する取得部と、を備える。情報収集装置は、さらに、前記取得部による前記警報情報の取得頻度が所定値を超えるか否か判定する判定部と、前記取得頻度が前記所定値以下の場合に、前記記憶部から第1母集団となる複数の応答時間を取り出して統計値を計算し、前記取得頻度が前記所定値を超える場合に、前記記憶部から前記第1母集団より小さい第2母集団となる応答時間を取り出して統計値を計算する計算部と、前記統計値が所定の閾値より大きい場合に、前記リクエストレートを小さくするように制御する制御部と、を備える。   According to this embodiment, the information collection device transmits a request to the IP controller based on the request rate, receives the process data corresponding to the request from the IP controller, and the process data by the collection unit A storage unit that stores a response time required from the transmission of the request to the reception of the process data, and an acquisition unit that acquires alarm information output from the IP controller. The information collection device further includes: a determination unit that determines whether or not the acquisition frequency of the alarm information by the acquisition unit exceeds a predetermined value; and the first mother from the storage unit when the acquisition frequency is equal to or less than the predetermined value. A statistical value is calculated by taking out a plurality of response times as a group, and when the acquisition frequency exceeds the predetermined value, a response time as a second population smaller than the first population is extracted from the storage unit A calculation unit that calculates a statistical value; and a control unit that controls the request rate to be reduced when the statistical value is greater than a predetermined threshold.

本発明の第1の実施形態に係るビル管理システムの概略構成図である。1 is a schematic configuration diagram of a building management system according to a first embodiment of the present invention. 同第1の実施形態に係る情報収集装置の概略構成図である。It is a schematic block diagram of the information collection apparatus which concerns on the 1st Embodiment. RTT記憶部のデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format of a RTT memory | storage part. 同第1の実施形態に係る母集団の変更の一例を示す図である。It is a figure which shows an example of the change of the population which concerns on the 1st Embodiment. 比較例による母集団を示す図である。It is a figure which shows the population by a comparative example. 同第1の実施形態に係るプロセスデータ収集処理を説明するフローチャートである。It is a flowchart explaining the process data collection process which concerns on the 1st Embodiment. 同第1の実施形態に係るRTT統計値計算処理を説明するフローチャートである。It is a flowchart explaining the RTT statistical value calculation process which concerns on the 1st embodiment. 同第1の実施形態に係る警報情報取得処理を説明するフローチャートである。It is a flowchart explaining the alarm information acquisition process which concerns on the 1st embodiment. 本発明の第2の実施形態に係る情報収集装置の概略構成図である。It is a schematic block diagram of the information collection device which concerns on the 2nd Embodiment of this invention. 同第2の実施形態に係るアライブチェック部の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the alive check part which concerns on the said 2nd Embodiment. 変形例によるRTT統計値計算処理を説明するフローチャートである。It is a flowchart explaining the RTT statistic value calculation process by a modification.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施形態)図1に本発明の第1の実施形態に係るビル管理システムの概略構成を示す。ビル管理システムは、複数の設備機器300と、それぞれ複数の設備機器300の状態情報(プロセスデータ)を取得する複数のIPコントローラ200と、IPコントローラ200からプロセスデータを収集する情報収集装置100と、IPコントローラ200からプロセスデータを受け取り設備機器300の状態を監視制御する監視端末400とを備える。   (First Embodiment) FIG. 1 shows a schematic configuration of a building management system according to a first embodiment of the present invention. The building management system includes a plurality of facility devices 300, a plurality of IP controllers 200 that respectively obtain state information (process data) of the plurality of facility devices 300, an information collection device 100 that collects process data from the IP controller 200, And a monitoring terminal 400 that receives process data from the IP controller 200 and monitors and controls the state of the equipment 300.

設備機器300は、例えば空調や照明である。設備機器300のプロセスデータは、例えば、空調の電源のオン/オフ値や、設定温度値、照明のオン/オフ値である。   The equipment 300 is air conditioning or lighting, for example. The process data of the facility device 300 is, for example, an air conditioner power on / off value, a set temperature value, and an illumination on / off value.

IPコントローラ200は、情報収集装置100からリクエストを受け付けると、リクエストに対応したプロセスデータを情報収集装置100へ送信する。また、IPコントローラ200は、監視端末400からのリクエストに応じて、監視端末400へプロセスデータを送信する。また、IPコントローラ200は、高負荷状態のときに警報情報を出力する。警報情報は、例えば空調の温度設定時や、災害等の緊急時など、様々なタイミングで出力される。   When receiving a request from the information collecting apparatus 100, the IP controller 200 transmits process data corresponding to the request to the information collecting apparatus 100. Further, the IP controller 200 transmits process data to the monitoring terminal 400 in response to a request from the monitoring terminal 400. The IP controller 200 outputs alarm information when in a high load state. The alarm information is output at various timings, for example, when setting the temperature of the air conditioner or in an emergency such as a disaster.

情報収集装置100は、プロセスデータを要求するリクエストを各IPコントローラ200へ送信し、各IPコントローラ200からプロセスデータを収集する。また、情報収集装置100は、外部システム500からリクエストを受け付けると、収集したプロセスデータを外部システム500へ送信する。情報収集装置100は、ゲートウェイとも呼ばれる。   The information collecting apparatus 100 transmits a request for requesting process data to each IP controller 200 and collects process data from each IP controller 200. Further, when the information collection apparatus 100 receives a request from the external system 500, the information collection apparatus 100 transmits the collected process data to the external system 500. The information collection device 100 is also called a gateway.

図2に情報収集装置100の概略構成を示す。情報収集装置100は、IPコントローラ200へリクエストを送信し、IPコントローラ200からプロセスデータを収集するプロセスデータ収集部110と、収集されたプロセスデータを記憶するプロセスデータ記憶部140と、リクエストの送信からプロセスデータの受信までに要した応答時間(Round Trip Time、以下RTT)を記憶するRTT記憶部150と、IPコントローラ200から出力された警報情報を取得する警報情報取得部160と、IPコントローラ200において警報が多発している状況か否かを判定する警報多発判定部170と、IPコントローラ200毎にRTTの統計値を計算するRTT統計値計算部130と、プロセスデータ収集部110がIPコントローラ200へリクエストを送信する間隔(リクエストレート)を制御するレート制御部120と、を備える。   FIG. 2 shows a schematic configuration of the information collecting apparatus 100. The information collection device 100 transmits a request to the IP controller 200, collects process data from the IP controller 200, a process data storage unit 140 that stores the collected process data, and a request transmission. In the IP controller 200, the RTT storage unit 150 that stores a response time (Round Trip Time, hereinafter referred to as RTT) required to receive the process data, the alarm information acquisition unit 160 that acquires the alarm information output from the IP controller 200, The alarm frequent occurrence determination unit 170 that determines whether or not there are frequent alarms, the RTT statistical value calculation unit 130 that calculates the RTT statistical value for each IP controller 200, and the process data collection unit 110 to the IP controller 200 Interval for sending requests (request level Includes a rate control unit 120 for controlling the g), the.

また、情報収集装置100は、外部システム500(図1参照)からリクエストを受信する受信部191と、受信したリクエストを処理し、外部システム500に要求されているプロセスデータをプロセスデータ記憶部140から取り出すリクエスト処理部193と、リクエスト処理部193がプロセスデータ記憶部140から取り出したプロセスデータを外部システム500へ送信する送信部192とをさらに備える。   In addition, the information collecting apparatus 100 receives a request from the external system 500 (see FIG. 1), processes the received request, and sends process data requested by the external system 500 from the process data storage unit 140. A request processing unit 193 to be extracted and a transmission unit 192 that transmits the process data extracted from the process data storage unit 140 by the request processing unit 193 to the external system 500 are further provided.

プロセスデータ収集部110は、設定されたリクエストレートに基づいて、各IPコントローラ200からプロセスデータをクロールし、収集したプロセスデータをプロセスデータ記憶部140に追加する。クロールとは、プロセスデータを一定周期で収集することである。以下、複数のIPコントローラ200のうち、j番目のIPコントローラ200jに対するリクエストレートを、Rj(リクエスト/秒)と表記する。つまり、IPコントローラ200jに対するリクエストの送信間隔Ij(秒)は、1/Rjとなる。なお、jは1以上かつIPコントローラ200の個数以下の整数である。   The process data collection unit 110 crawls process data from each IP controller 200 based on the set request rate, and adds the collected process data to the process data storage unit 140. Crawling means collecting process data at regular intervals. Hereinafter, the request rate for the j-th IP controller 200j among the plurality of IP controllers 200 is denoted as Rj (request / second). That is, the request transmission interval Ij (seconds) to the IP controller 200j is 1 / Rj. Note that j is an integer greater than or equal to 1 and less than or equal to the number of IP controllers 200.

また、プロセスデータ収集部110は、リクエストを送信してから、プロセスデータ(レスポンス)を受信するまでの時間(RTT)を計算し、RTT記憶部150に追加する。   Further, the process data collection unit 110 calculates a time (RTT) from when the request is transmitted until the process data (response) is received, and adds the calculated time (RTT) to the RTT storage unit 150.

プロセスデータ記憶部140は、プロセスデータ収集部110により追加されたプロセスデータを予め設定された一定時間だけ記憶する。   The process data storage unit 140 stores the process data added by the process data collection unit 110 for a predetermined time.

RTT記憶部150は、IPコントローラ200毎に、RTTを一定時間C1(秒)記憶する。C1をRTT記憶期間と呼ぶ。RTT記憶期間C1は、各IPコントローラに共通の値である。RTT記憶部150のデータフォーマットの一例を図3に示す。RTT記憶期間C1は、あらかじめ設定された値であり、リクエスト送信間隔Ijに比べて、十分大きな値とする。従って、RTT記憶部150は、IPコントローラ200jに対するプロセスデータ収集時のRTTを、C1/Ij(除算の剰余は切り捨て)個記憶する。   The RTT storage unit 150 stores the RTT for a predetermined time C1 (seconds) for each IP controller 200. C1 is called the RTT storage period. The RTT storage period C1 is a value common to each IP controller. An example of the data format of the RTT storage unit 150 is shown in FIG. The RTT storage period C1 is a value set in advance, and is a sufficiently large value compared to the request transmission interval Ij. Therefore, the RTT storage unit 150 stores CTT / Ij (division remainder is rounded down) RTT at the time of process data collection for the IP controller 200j.

警報情報取得部160は、IPコントローラ200が発信する警報情報を受信し、警報多発判定部170に通知する。   The alarm information acquisition unit 160 receives alarm information transmitted from the IP controller 200 and notifies the alarm frequent occurrence determination unit 170 of the alarm information.

警報多発判定部170は、警報情報取得部160からの通知を受け、警報情報取得部160による警報情報取得頻度が所定値を超えるか否かに基づいて、警報が多発している状況にあるか否かを判定する。警報多発判定部170は、例えば、所定時間内に所定数を超える警報が発信されている場合、警報が多発している状況にある(非定常状態である)と判定する。警報多発判定部170は、判定結果をRTT統計値計算部に130に通知する。判定を行うタイミングは、警報情報を受けたタイミングでもよいし、一定間隔ごとでもよい。   The alarm frequent occurrence determination unit 170 receives the notification from the alarm information acquisition unit 160, and whether the alarm is frequently generated based on whether or not the alarm information acquisition frequency by the alarm information acquisition unit 160 exceeds a predetermined value. Determine whether or not. For example, when an alarm exceeding a predetermined number is transmitted within a predetermined time, the alarm frequent occurrence determination unit 170 determines that the alarm is frequently occurring (in an unsteady state). The frequent alarm determination unit 170 notifies the determination result to the RTT statistical value calculation unit 130. The timing for performing the determination may be the timing at which the alarm information is received or may be at regular intervals.

RTT統計値計算部130は、RTT記憶部150に記憶されている複数のRTTを取り出し、IPコントローラ200毎に、RTTの統計値を計算する。RTT統計値計算部130がRTT記憶部150から取り出す複数のRTTが、統計値計算の母集団となる。RTTの統計値を計算する間隔(秒)は、IPコントローラ200毎に設定される。例えば、IPコントローラ200jに対する統計値計算間隔を、リクエスト送信間隔Ijと等しくしてもよい。この場合、RTT記憶部150にRTTが追加される度に、IPコントローラ200jについて、RTTの統計値Sjを計算することになる。   The RTT statistical value calculation unit 130 extracts a plurality of RTTs stored in the RTT storage unit 150 and calculates an RTT statistical value for each IP controller 200. A plurality of RTTs extracted from the RTT storage unit 150 by the RTT statistical value calculation unit 130 become a statistical value calculation population. The interval (seconds) for calculating the RTT statistical value is set for each IP controller 200. For example, the statistical value calculation interval for the IP controller 200j may be equal to the request transmission interval Ij. In this case, every time an RTT is added to the RTT storage unit 150, an RTT statistical value Sj is calculated for the IP controller 200j.

統計値Sjを計算する際の、母集団U1の初期設定は、各IPコントローラ200に共通とする。母集団U1は、個数で設定してもよいし、期間で設定してもよい。個数で設定する場合は、例えば、過去5個のRTTを母集団として、統計値Sjを計算する。一方、期間で設定する場合は、例えば、過去1分間におけるRTTを母集団として、統計値Sjを計算する。統計値Sjには、例えば平均値、標準偏差値、最大値、合計値などを用いることができる。   The initial setting of the population U1 when calculating the statistical value Sj is common to each IP controller 200. The population U1 may be set by the number or may be set by the period. When setting by the number, for example, the statistical value Sj is calculated using the past five RTTs as a population. On the other hand, when the period is set, for example, the statistical value Sj is calculated using the RTT in the past one minute as a population. As the statistical value Sj, for example, an average value, a standard deviation value, a maximum value, a total value, or the like can be used.

RTT統計値計算部130は、警報多発判定部170からの通知に基づいて、統計値Sjを計算する際の母集団を、初期設定の母集団U1より小さい母集団U2に変更する。母集団が個数で設定されている場合、母集団U2は、母集団U1より少ない個数のRTTとなる。また、母集団が期間で設定されている場合、母集団U2は、母集団U1より短い期間におけるRTTとなる。   Based on the notification from the frequent alarm determination unit 170, the RTT statistical value calculation unit 130 changes the population used when calculating the statistical value Sj to a population U2 smaller than the default population U1. When the population is set by the number, the population U2 has a smaller number of RTTs than the population U1. Further, when the population is set by a period, the population U2 has an RTT in a period shorter than the population U1.

母集団の変更例を図4に示す。図4に示す例では、母集団をRTTの個数で設定し、母集団U1は過去5個のRTT、母集団U2は過去3個のRTTとし、統計値Sjは平均値とする。   An example of changing the population is shown in FIG. In the example shown in FIG. 4, the population is set by the number of RTTs, the population U1 is the past five RTTs, the population U2 is the past three RTTs, and the statistical value Sj is an average value.

IPコントローラ200jが定常状態の場合は、図4(a)に示すように、過去5個のRTTを用いて統計値Sjが計算される。一方、IPコントローラ200jが非定常状態(警報多発状況)の場合は、図4(b)に示すように、過去3個のRTTを用いて統計値Sjが計算される。   When the IP controller 200j is in a steady state, the statistical value Sj is calculated using the past five RTTs as shown in FIG. On the other hand, when the IP controller 200j is in an unsteady state (alarm frequent occurrence situation), as shown in FIG. 4B, the statistical value Sj is calculated using the past three RTTs.

このように、IPコントローラ200jが非定常状態(警報多発状況)の場合に、母集団を小さくすることで、大きくなったRTTの影響を統計値Sjに速やかに反映させることができる。   As described above, when the IP controller 200j is in an unsteady state (alarm occurrence state), the influence of the increased RTT can be quickly reflected in the statistical value Sj by reducing the population.

RTT統計値計算部130は、算出した統計値Sjをレート制御部120に通知する。   The RTT statistical value calculation unit 130 notifies the rate control unit 120 of the calculated statistical value Sj.

レート制御部120は、RTT統計値計算部130から通知された統計値Sjに基づいて、リクエストレートRjを制御する。例えば、レート制御部120は、統計値Sjと閾値Bとを比較し、統計値Sjの方が大きい場合は、IPコントローラ200jが高負荷状態にあると判断して、リクエストレートRjを小さくするようにプロセスデータ収集部110を制御する。   The rate control unit 120 controls the request rate Rj based on the statistical value Sj notified from the RTT statistical value calculation unit 130. For example, the rate control unit 120 compares the statistical value Sj with the threshold value B, and if the statistical value Sj is larger, the rate controller 120 determines that the IP controller 200j is in a high load state and decreases the request rate Rj. The process data collection unit 110 is controlled.

図5に、比較例によるRTTの統計値計算方法を示す。この比較例では、母集団の変更は行わず、常に過去5回のRTTを用いて統計値を計算するものとする。また、ここでは、4回目のRTT計測の後に、IPコントローラが非定常状態に遷移した場合を想定している。   FIG. 5 shows an RTT statistical value calculation method according to a comparative example. In this comparative example, the statistical value is always calculated using the RTT of the past five times without changing the population. Here, it is assumed that the IP controller transitions to an unsteady state after the fourth RTT measurement.

図5に示すように、5回目のRTTは、1〜4回目のRTTよりも大きな値となっている。これは、非定常状態に遷移し、IPコントローラの負荷が高くなっているためだと推定される。しかし、5回目の計測後の時点でRTT統計値を計算しても、5個中4個のRTTは定常状態のRTTであるため、レート制御部120における閾値Bとの比較処理において、統計値が閾値Bを超える可能性は低い。6回目の計測後でも、5個中3個のRTTは定常状態のRTTであるため、レート制御部120における閾値Bとの比較処理において、統計値が閾値Bを超える可能性は依然として低い。そのため、レート制御部120がリクエストレートを下げるタイミングが遅くなる。   As shown in FIG. 5, the fifth RTT is larger than the first to fourth RTT. This is presumed to be due to a transition to an unsteady state and a high load on the IP controller. However, even if the RTT statistical value is calculated after the fifth measurement, four of the five RTTs are steady-state RTTs. Therefore, in the comparison process with the threshold value B in the rate control unit 120, the statistical value Is less likely to exceed the threshold B. Even after the sixth measurement, three out of five RTTs are steady-state RTTs, and therefore the possibility that the statistical value exceeds the threshold B in the comparison process with the threshold B in the rate control unit 120 is still low. Therefore, the timing at which the rate control unit 120 lowers the request rate is delayed.

一方、本実施形態では、IPコントローラの非定常状態において、母集団を小さくする。図4(b)では、IPコントローラの非定常状態において、RTT統計値の母集団を過去3回のRTTとしている。これにより、6回目の計測後には、3個中2個のRTTが大きな値となり、レート制御部120における閾値Bとの比較処理において、統計値が閾値Bを超える可能性が高くなる。すなわち、6回目の計測後に、リクエストレートを下げることが可能となる。   On the other hand, in this embodiment, the population is reduced in the unsteady state of the IP controller. In FIG. 4B, in the non-steady state of the IP controller, the population of RTT statistics values is set to the past three RTTs. As a result, after the sixth measurement, two of the three RTTs have large values, and there is a high possibility that the statistical value exceeds the threshold value B in the comparison process with the threshold value B in the rate control unit 120. That is, the request rate can be lowered after the sixth measurement.

このように、本実施形態では、IPコントローラ200jが非定常状態(警報多発状況)の場合に、統計値Sj計算時の母集団を小さくするため、統計値SjにはRTTの変化(増加)が速やかに反映される。そのため、レート制御部120は、IPコントローラ200jが高負荷状態であることを速やかに検出し、リクエストレートRjを下げて、IPコントローラ200jの高負荷状態が長引くことを防止できる。   As described above, in this embodiment, when the IP controller 200j is in a non-steady state (alarm occurrence state), the statistical value Sj has a change (increase) in RTT in order to reduce the population at the time of calculating the statistical value Sj. Reflected promptly. Therefore, the rate control unit 120 can quickly detect that the IP controller 200j is in a high load state, lower the request rate Rj, and prevent the IP controller 200j from prolonging the high load state.

上述のように、情報収集装置100の主な処理は、プロセスデータ収集処理と、RTT統計値計算処理と、警報情報取得処理の3つである。以下、それぞれの処理についてフローチャートと共に説明する。   As described above, there are three main processes of the information collection apparatus 100: process data collection process, RTT statistical value calculation process, and alarm information acquisition process. Hereinafter, each process will be described together with flowcharts.

図6を用いて、プロセスデータ収集部110により実行されるプロセスデータ収集処理を説明する。   The process data collection process executed by the process data collection unit 110 will be described with reference to FIG.

(ステップS101)IPコントローラ200jに設定されているリクエストレートRjの初期値に基づいて、プロセスデータのクローリングを開始する。1回のクロール(IPコントローラ200jが管理する設備機器300のプロセスデータを一通り取得する処理)において、どの設備機器300のプロセスデータから取得するかの順番は、例えば設備IDから決めてもよいし、設備種別ごとにグループ化してから決めてもよい。ただし、一度決めた順番は変更しない。それにより、同一設備のプロセスデータを、一定間隔で収集できる。   (Step S101) Based on the initial value of the request rate Rj set in the IP controller 200j, crawling of process data is started. In one crawl (a process of acquiring the process data of the equipment 300 managed by the IP controller 200j), the order in which the equipment 300 of the process data is acquired may be determined from, for example, the equipment ID. It may be determined after grouping for each equipment type. However, the order once decided is not changed. Thereby, process data of the same equipment can be collected at regular intervals.

(ステップS102)リクエストによって得られたプロセスデータを、プロセスデータ記憶部140に追加する。   (Step S102) The process data obtained by the request is added to the process data storage unit 140.

(ステップS103)リクエストごとに計算したRTTを、RTT記憶部150に追加する。ここで、リクエストを送信してから、プロセスデータ(レスポンス)を受信するまでの時間を、そのままRTTとしてもよいが、何らかの演算を施した値をRTTとしてもよい。例えば、各リクエストで収集するプロセスデータの数が異なる場合、レスポンス受信時刻とリクエスト送信時刻の差を、今回のリクエストで取得したプロセスデータ数で割った値をRTTとしてもよい。   (Step S103) The RTT calculated for each request is added to the RTT storage unit 150. Here, the time from when the request is transmitted to when the process data (response) is received may be directly used as the RTT, or a value obtained by performing some calculation may be used as the RTT. For example, when the number of process data collected for each request is different, RTT may be a value obtained by dividing the difference between the response reception time and the request transmission time by the number of process data acquired in the current request.

(ステップS104)レート制御部120からリクエストレートRjを下げられた場合は、ステップS105へ進み、下げられていない場合はステップS106へ進む。   (Step S104) If the request rate Rj is lowered from the rate control unit 120, the process proceeds to step S105, and if not, the process proceeds to step S106.

(ステップS105)リクエストレートRjが変更される。なお、リクエストレートRjの下げ幅は、予め設定されていてもよいし、レート制御部120がその都度決定してもよい。   (Step S105) The request rate Rj is changed. Note that the reduction rate of the request rate Rj may be set in advance or may be determined by the rate control unit 120 each time.

(ステップS106)処理を継続する場合はステップS102に戻り、クローリングを実施する。   (Step S106) When the process is continued, the process returns to Step S102 to perform crawling.

次に、図7を用いて、RTT統計値計算処理を説明する。   Next, the RTT statistical value calculation process will be described with reference to FIG.

(ステップS201)RTT統計値計算部130が、統計値を計算するための計算スレッドを生成する。IPコントローラ200と同数のスレッドが生成される。   (Step S201) The RTT statistical value calculation unit 130 generates a calculation thread for calculating the statistical value. The same number of threads as the IP controller 200 are generated.

(ステップS202)各計算スレッドに、各IPコントローラ200が割り当てられる。   (Step S202) Each IP controller 200 is assigned to each calculation thread.

(ステップS203)各計算スレッドに、RTT統計値計算の母集団U1が設定される。ここでは、母集団の設定方法として「個数による設定」が選択される。もちろん、別の設定方法を選択してもよい。
(ステップS204)各計算スレッドに、RTT統計値の計算間隔が割り当てられる。ここでは、計算間隔として、IPコントローラ200jの担当スレッドに対して、リクエスト送信間隔Ijを割り当てる。もちろん、別の間隔を割り当ててもよい。
(Step S203) The population U1 of RTT statistical value calculation is set for each calculation thread. Here, “setting by number” is selected as the population setting method. Of course, another setting method may be selected.
(Step S204) An RTT statistical value calculation interval is assigned to each calculation thread. Here, the request transmission interval Ij is assigned to the thread in charge of the IP controller 200j as the calculation interval. Of course, another interval may be assigned.

(ステップS205)各計算スレッドが、時間Ijが経過するたびに、RTT記憶部150から、対応するIPコントローラ200のRTTを取得する。ここでは、過去U1個のRTT(RTT群)が取得される。   (Step S <b> 205) Each time the time Ij elapses, each calculation thread acquires the RTT of the corresponding IP controller 200 from the RTT storage unit 150. Here, the past U1 RTTs (RTT groups) are acquired.

(ステップS206)各計算スレッドが、取得したRTT群を用いて、統計値Sjを計算する。ここでは、統計値として標準偏差値が求められるものとする。   (Step S206) Each calculation thread calculates the statistical value Sj using the acquired RTT group. Here, it is assumed that a standard deviation value is obtained as a statistical value.

(ステップS207)各計算スレッドが、計算した統計値Sjを、レート制御部120に通知する。   (Step S207) Each calculation thread notifies the calculated statistical value Sj to the rate control unit 120.

(ステップS208)レート制御部120が、RTT統計値計算部130の計算スレッドから通知された統計値Sjと、あらかじめ設定されている閾値Bとを比較する。統計値Sjが閾値Bを超える場合はステップS209へ進み、超えない場合はステップS211へ進む。   (Step S208) The rate control unit 120 compares the statistical value Sj notified from the calculation thread of the RTT statistical value calculation unit 130 with a preset threshold value B. If the statistical value Sj exceeds the threshold B, the process proceeds to step S209, and if not, the process proceeds to step S211.

(ステップS209)レート制御部120が、プロセスデータ収集部110にリクエストレートRjを下げるよう通知する。   (Step S209) The rate control unit 120 notifies the process data collection unit 110 to decrease the request rate Rj.

(ステップS210)プロセスデータ収集部110は、レート制御部120から通知を受けると、IPコントローラ200jに対するリクエストレートRjの値を下げる。リクエストレートRjの下げ幅は、固定値でもよいし、統計値Sjと閾値Bの差から動的に決定してもよい。   (Step S210) Upon receiving notification from the rate control unit 120, the process data collection unit 110 decreases the value of the request rate Rj for the IP controller 200j. The reduction rate of the request rate Rj may be a fixed value, or may be dynamically determined from the difference between the statistical value Sj and the threshold value B.

(ステップS211)処理を継続する場合はステップS205に戻る。   (Step S211) When the process is continued, the process returns to Step S205.

なお、RTT統計値計算部130は、警報多発判定部170から、警報多発の通知を受けた場合、各スレッドに、RTT統計値の母集団U2を設定する。ここで設定する母集団U2は、初期状態にて設定した母集団U1よりも小さい値である。母集団U2は、あらかじめ設定されている固定値でもよいし、警報の発生頻度から動的に計算してもよい。母集団をU1からU2に変更するスレッドは、警報情報を高頻度に出力しているIPコントローラ200に対応するものだけでもよいし、すべてのスレッドとしてもよい。   The RTT statistical value calculation unit 130 sets a population U2 of RTT statistical values in each thread when receiving a notification of frequent occurrence of alarms from the frequent occurrence determination unit 170. The population U2 set here is a value smaller than the population U1 set in the initial state. The population U2 may be a fixed value set in advance, or may be dynamically calculated from the alarm occurrence frequency. The threads that change the population from U1 to U2 may be only those corresponding to the IP controller 200 that outputs alarm information at a high frequency, or may be all threads.

母集団を小さくすることで、大きくなったRTTの影響を速やかに統計値に反映させることができる。すなわち、IPコントローラの負荷が高くなり、RTT値が大きくなった場合に、統計値が大きく変化し、閾値Bを超える可能性が高くなる。   By reducing the population, the effect of the increased RTT can be quickly reflected in the statistical values. That is, when the load on the IP controller increases and the RTT value increases, the statistical value changes greatly, and the possibility that the threshold value B will be exceeded increases.

RTT統計値計算部130は、警報多発の通知を受けてから一定時間が経過した場合に、各スレッドのRTT統計値の母集団U2を元の母集団U1に戻す。この一定時間は、あらかじめ設定されている固定値でもよいし、警報の発生頻度などから動的に計算してもよい。   The RTT statistical value calculation unit 130 returns the population U2 of the RTT statistical values of each thread to the original population U1 when a certain time has elapsed after receiving the notice of frequent occurrence of alarms. This fixed time may be a fixed value set in advance, or may be dynamically calculated from an alarm occurrence frequency or the like.

続いて、図8を用いて、警報情報取得処理を説明する。   Next, the alarm information acquisition process will be described with reference to FIG.

(ステップS301)警報情報取得部160が、IPコントローラ200の発信する警報情報を待ち受ける。例えば監視端末400とIPコントローラ200が、BACnet/IPによる通信を行っている場合、警報情報は、IPコントローラ200からブロードキャスト送信される。警報情報取得部160は、定期的にIPコントローラ200に、警報発生の有無を問い合わせてもよい。   (Step S301) The alarm information acquisition unit 160 waits for alarm information transmitted from the IP controller 200. For example, when the monitoring terminal 400 and the IP controller 200 are performing communication using BACnet / IP, the alarm information is broadcast from the IP controller 200. The alarm information acquisition unit 160 may periodically inquire of the IP controller 200 whether or not an alarm has occurred.

(ステップS302)警報情報取得部160が、警報情報を取得し、警報多発判定部170に通知する。   (Step S302) The alarm information acquisition unit 160 acquires the alarm information and notifies the alarm frequent occurrence determination unit 170.

(ステップS303)警報多発判定部170が、受け取った警報情報を、現在時刻と関連付けて記憶する。   (Step S303) The frequent alarm determination unit 170 stores the received alarm information in association with the current time.

(ステップS304)警報多発判定部170が、所定時間T1の間に受け取った警報情報の数と、閾値Nとを比較する。ここで所定時間T1及び閾値Nは、あらかじめ設定されている固定値でもよいし、過去の警報発生傾向などから動的に計算してもよい。所定時間T1の間に受け取った警報情報の数が閾値Nを超えている場合はステップS305へ進み、超えていない場合はステップS306へ進む。   (Step S304) The alarm frequent occurrence determination unit 170 compares the number of alarm information received during the predetermined time T1 with the threshold value N. Here, the predetermined time T1 and the threshold value N may be fixed values set in advance, or may be dynamically calculated based on past alarm generation tendency or the like. If the number of alarm information received during the predetermined time T1 exceeds the threshold N, the process proceeds to step S305, and if not, the process proceeds to step S306.

(ステップS305)警報多発判定部170が、RTT統計値計算部130に対して、警報多発状態になったことを通知する。   (Step S305) The alarm frequent occurrence determination unit 170 notifies the RTT statistical value calculation unit 130 that the alarm frequent occurrence state has occurred.

(ステップS306)警報多発判定部170が、所定時間T2よりも過去に受け取った警報情報を破棄する。所定時間T2は、あらかじめ設定されている固定値でもよいし、過去の警報発生傾向などから動的に計算してもよい。   (Step S306) The alarm frequent occurrence determination unit 170 discards alarm information received in the past from the predetermined time T2. The predetermined time T2 may be a fixed value set in advance, or may be dynamically calculated from a past alarm generation tendency or the like.

(ステップS307)処理を継続する場合はステップS301に戻る。   (Step S307) When the process is continued, the process returns to Step S301.

このように、本実施形態によれば、警報が多発して、IPコントローラ200の負荷が通常時よりも高くなっている状態において、RTT統計値の算出に用いられるRTTの母集団を小さくすることで、RTT値の増加を統計値に速やかに反映させる。そのため、速やかにリクエストレートを下げることができ、IPコントローラ200に過度の負荷がかかることを防止できる。   As described above, according to the present embodiment, the RTT population used for calculating the RTT statistics value is reduced in a state where the alarm occurs frequently and the load of the IP controller 200 is higher than normal. Thus, the increase in the RTT value is promptly reflected in the statistical value. Therefore, the request rate can be quickly reduced, and an excessive load on the IP controller 200 can be prevented.

(第2の実施形態)図9に本発明の第2の実施形態に係る情報収集装置100の概略構成を示す。本実施形態は、図1に示す第1の実施形態と比較して、監視端末の新規参入を検知するアライブチェック部180を備える点が異なる。図9において、図2に示す第1の実施形態と同一部分には同一符号を付して説明を省略する
IPコントローラ200の負荷を高める要因として、警報多発以外に、監視端末400の新規参入がある。監視端末400の新規参入には、実際に新たな監視端末400が接続される場合の他に、監視端末400の電源がオフからオンに切り替わる場合も含まれる。
(Second Embodiment) FIG. 9 shows a schematic configuration of an information collecting apparatus 100 according to a second embodiment of the present invention. This embodiment is different from the first embodiment shown in FIG. 1 in that it includes an alive check unit 180 that detects a new entry of a monitoring terminal. In FIG. 9, the same parts as those of the first embodiment shown in FIG. 2 are denoted by the same reference numerals, and the description thereof is omitted. is there. The new entry of the monitoring terminal 400 includes not only the case where the new monitoring terminal 400 is actually connected, but also the case where the power of the monitoring terminal 400 is switched from off to on.

監視端末400は、参入処理の一部として、現状把握のために、多くのリクエストをIPコントローラ200に送り、プロセスデータを取得する。そのため、監視端末400の新規参入に伴い、IPコントローラ200の負荷が高まる。   As a part of the entry process, the monitoring terminal 400 sends many requests to the IP controller 200 to acquire the process data in order to grasp the current state. Therefore, the load of the IP controller 200 increases with the new entry of the monitoring terminal 400.

本実施形態では、アライブチェック部180が、監視端末400の新規参入を検知した場合に、統計値算出のための母集団を変更し、母集団を一時的に小さくすることで、速やかにリクエストレートを下げる。   In the present embodiment, when the alive check unit 180 detects a new entry of the monitoring terminal 400, the request rate is promptly changed by changing the population for calculating statistical values and temporarily reducing the population. Lower.

アライブチェック部180は、監視端末400の新規参入を検出すると、RTT統計値計算部130に通知する。監視端末400の新規参入は、定期的にアライブチェックのパケットを送信するなどして確認することができる。例えば、BACnet/IPが利用されている場合、定期的にWho−Isメッセージをブロードキャストする方法がある。I−Amメッセージが返ってきた場合に、監視端末400がビル管理システムに参入したと判断できる。また、定期的に監視端末400のIPアドレスに対して、pingを送信する方法もある。   When the alive check unit 180 detects a new entry of the monitoring terminal 400, the alive check unit 180 notifies the RTT statistical value calculation unit 130. New entry of the monitoring terminal 400 can be confirmed by periodically transmitting an alive check packet. For example, when BACnet / IP is used, there is a method of periodically broadcasting a Who-Is message. When the I-Am message is returned, it can be determined that the monitoring terminal 400 has entered the building management system. There is also a method of periodically sending a ping to the IP address of the monitoring terminal 400.

また、以下のようにして、監視端末400の参入処理が完了したことを検知することができる。例えば、BACnet/IPが利用されている場合は、参入処理を行っている監視端末400が、EventNotificationメッセージによって参入処理のフェーズを通知するため、アライブチェック部180は、そのメッセージを受信することで、参入処理の完了を検知できる。また、監視端末400の参入を検知してから、あらかじめ設定された一定時間が経過した場合に、参入処理が完了したと判断してもよい。   Further, it is possible to detect that the entry process of the monitoring terminal 400 is completed as follows. For example, when BACnet / IP is used, since the monitoring terminal 400 performing the entry process notifies the entry process phase using the EventNotification message, the alive check unit 180 receives the message, Completion of entry processing can be detected. Alternatively, it may be determined that the entry process has been completed when a predetermined time has elapsed since the entry of the monitoring terminal 400 has been detected.

図10を用いてアライブチェック部180の動作についてさらに説明する。   The operation of the alive check unit 180 will be further described with reference to FIG.

(ステップS401)アライブチェック部180が、監視端末400の新規参入を検知した場合はステップS402に進む。   (Step S401) When the alive check unit 180 detects a new entry of the monitoring terminal 400, the process proceeds to Step S402.

(ステップS402)アライブチェック部180が、監視端末400の新規参入を、RTT統計値計算部130に通知する。   (Step S402) The alive check unit 180 notifies the RTT statistical value calculation unit 130 of the new entry of the monitoring terminal 400.

(ステップS403)アライブチェック部180が、監視端末400の参入処理の完了を待つ。監視端末400の参入処理が完了したことを確認するとステップS404へ進む。   (Step S403) The alive check unit 180 waits for completion of the entry process of the monitoring terminal 400. If it is confirmed that the entry process of the monitoring terminal 400 is completed, the process proceeds to step S404.

(ステップS404)アライブチェック部180が、監視端末の参入処理が完了したことを、RTT統計値計算部130に通知する。   (Step S404) The alive check unit 180 notifies the RTT statistical value calculation unit 130 that the entry process of the monitoring terminal is completed.

(ステップS405)処理を継続する場合はステップS401に戻る。   (Step S405) When the process is continued, the process returns to Step S401.

RTT統計値計算部130は、警報多発判定部170から警報多発の通知を受けた場合、各スレッドのRTT統計値の母集団の値を小さくする。ここで、小さくする値をM1とする。M1は、あらかじめ設定されている固定値でもよいし、警報の発生頻度から動的に計算してもよい。   The RTT statistical value calculation unit 130 decreases the population value of the RTT statistical value of each thread when receiving the notification of the frequent occurrence of the alarm from the frequent occurrence determination unit 170. Here, the value to be reduced is M1. M1 may be a fixed value set in advance, or may be dynamically calculated from the alarm occurrence frequency.

RTT統計値計算部130は、警報多発の通知を受けてから一定時間T3が経過した場合、RTT統計値計算部130は、各スレッドのRTT統計値の母集団の値を、M1だけ大きくし、母集団を元に戻す。一定時間T3は、あらかじめ設定されている固定値でもよいし、警報の発生頻度などから動的に計算してもよい。   When a certain time T3 has elapsed since receiving the notification of frequent alarms, the RTT statistical value calculation unit 130 increases the population value of the RTT statistical value of each thread by M1, Restore the population. The fixed time T3 may be a fixed value set in advance, or may be dynamically calculated from an alarm occurrence frequency or the like.

RTT統計値計算部130は、アライブチェック部180から監視端末400の新規参入の通知を受けた場合、各スレッドのRTT統計値の母集団の値を小さくする。ここで、小さくする値をM2とする。M2の決定方法は、あらかじめ設定されている固定値でもよいし、監視点数などから動的に計算してもよい。M2とM1は同じ値でもよいし、異なる値でもよい。   When receiving the notification of new entry of the monitoring terminal 400 from the alive check unit 180, the RTT statistical value calculation unit 130 decreases the population value of the RTT statistical value of each thread. Here, the value to be reduced is M2. The determination method of M2 may be a fixed value set in advance, or may be dynamically calculated from the number of monitoring points. M2 and M1 may be the same value or different values.

RTT統計値計算部130は、アライブチェック部180から監視端末400の参入処理の完了通知を受けた場合、各スレッドのRTT統計値の母集団の値を、M2だけ大きくし、元に戻す。   When the RTT statistical value calculation unit 130 receives a notification of completion of the entry process of the monitoring terminal 400 from the alive check unit 180, the RTT statistical value calculation unit 130 increases the population value of the RTT statistical value of each thread by M2, and restores the original value.

このように、本実施形態では、警報が多発した場合と、監視端末400が参入した場合に、IPコントローラ200の負荷が定常時よりも高くなっている状態において、統計値母集団を小さくすることで、RTT値の増加の影響を統計値に速やかに反映させて、リクエストレートを下げることができる。これにより、IPコントローラ200に、過度な負荷がかかることを防止できる。   As described above, in the present embodiment, when the alarm occurs frequently and when the monitoring terminal 400 enters, the statistical population is reduced in a state where the load of the IP controller 200 is higher than that in the steady state. Thus, the request rate can be lowered by promptly reflecting the influence of the increase in the RTT value on the statistical value. Thereby, it is possible to prevent the IP controller 200 from being excessively loaded.

RTT統計値計算部130は、警報多発と監視端末参入が同時に発生した場合に、母集団を(M1+M2)だけ小さくしてもよい。つまり、警報多発のみが発生している場合や、監視端末参入のみが発生している場合よりも、母集団を小さくする。これにより、RTTの値の増加の影響をさらに速やかに統計値に反映させて、リクエストレートを下げることができる。   The RTT statistical value calculation unit 130 may reduce the population by (M1 + M2) when frequent alarms and entry into the monitoring terminal occur at the same time. That is, the population is made smaller than when only frequent alarms occur or when only surveillance terminal entry occurs. Thereby, the influence of the increase in the RTT value can be reflected in the statistical value more quickly, and the request rate can be lowered.

上記第1、第2の実施形態において、複数のIPコントローラ200の性能差を考慮して、レート制御部120において統計値と比較される閾値をIPコントローラ200毎に用意してもよい。   In the first and second embodiments, the threshold value to be compared with the statistical value in the rate control unit 120 may be prepared for each IP controller 200 in consideration of the performance difference between the plurality of IP controllers 200.

ビル管理システムを構成する複数のIPコントローラ200は、全て同一の性能を発揮するとは限らず、またハードウェアが異なる場合もある。この場合、IPコントローラ200の負荷は等しくても、IPコントローラ200によって、RTTの絶対値に差が生じたり、RTTのばらつきに差が生じたりする。すなわち、IPコントローラ200の性能が異なると、RTTの統計値に差が生じる。このとき、リクエストレートを下げるか否か決定するために統計値と比較される閾値が1つしかないとすると、負荷が等しいにもかかわらず、あるIPコントローラのRTT統計値は閾値を超えるが、あるIPコントローラのRTT統計値は閾値を超えないということになる。このような問題は、IPコントローラ200jごとに閾値Bjを用意することで解決できる。   The plurality of IP controllers 200 constituting the building management system may not all exhibit the same performance, and may have different hardware. In this case, even if the load of the IP controller 200 is equal, the IP controller 200 causes a difference in the absolute value of the RTT or a difference in the variation of the RTT. That is, if the performance of the IP controller 200 is different, a difference occurs in the RTT statistical value. At this time, if there is only one threshold that is compared with the statistic to determine whether to reduce the request rate, the RTT statistic of a certain IP controller will exceed the threshold despite the equal load, This means that the RTT statistics value of a certain IP controller does not exceed the threshold value. Such a problem can be solved by preparing a threshold Bj for each IP controller 200j.

複数の閾値を用意した場合のRTT統計値計算処理を図11に示す。図11におけるステップS501〜S507、S509〜S511は、図7におけるS201〜S207、S209〜S211と同様であるため、説明を省略する。   FIG. 11 shows an RTT statistical value calculation process when a plurality of threshold values are prepared. Steps S501 to S507 and S509 to S511 in FIG. 11 are the same as S201 to S207 and S209 to S211 in FIG.

(ステップS508)レート制御部120が、RTT統計値計算部130のスレッドから通知された統計値Sjと、あらかじめ設定されている閾値Bjとを比較する。統計値Sjが閾値Bjを超える場合はステップS509へ進み、超えない場合はステップS511へ進む。   (Step S508) The rate control unit 120 compares the statistical value Sj notified from the thread of the RTT statistical value calculation unit 130 with a preset threshold value Bj. If the statistical value Sj exceeds the threshold value Bj, the process proceeds to step S509, and if not, the process proceeds to step S511.

なお、ステップS510において、リクエストレートRjの下げ幅は、IPコントローラ200jの性能を考慮して算出するようにしてもよい。   In step S510, the reduction rate of the request rate Rj may be calculated in consideration of the performance of the IP controller 200j.

このように、IPコントローラの性能を考慮し、IPコントローラ毎にリクエストレート制御のための閾値Bjを設定することで、性能に応じたリクエストレート制御を実現できる。   Thus, by considering the performance of the IP controller, setting the threshold value Bj for request rate control for each IP controller makes it possible to realize request rate control according to the performance.

上述した実施形態で説明した情報収集装置100の少なくとも一部は、ハードウェアで構成してもよいし、ソフトウェアで構成してもよい。ソフトウェアで構成する場合には、情報収集装置100の少なくとも一部の機能を実現するプログラムをフレキシブルディスクやCD−ROM等の記録媒体に収納し、コンピュータに読み込ませて実行させてもよい。記録媒体は、磁気ディスクや光ディスク等の着脱可能なものに限定されず、ハードディスク装置やメモリなどの固定型の記録媒体でもよい。   At least a part of the information collection apparatus 100 described in the above-described embodiment may be configured by hardware or software. When configured by software, a program for realizing at least a part of the functions of the information collecting apparatus 100 may be stored in a recording medium such as a flexible disk or a CD-ROM, and read and executed by a computer. The recording medium is not limited to a removable medium such as a magnetic disk or an optical disk, but may be a fixed recording medium such as a hard disk device or a memory.

また、情報収集装置100の少なくとも一部の機能を実現するプログラムを、インターネット等の通信回線(無線通信も含む)を介して頒布してもよい。さらに、同プログラムを暗号化したり、変調をかけたり、圧縮した状態で、インターネット等の有線回線や無線回線を介して、あるいは記録媒体に収納して頒布してもよい。   Further, a program that realizes at least a part of the functions of the information collecting apparatus 100 may be distributed via a communication line (including wireless communication) such as the Internet. Further, the program may be distributed in a state where the program is encrypted, modulated or compressed, and stored in a recording medium via a wired line such as the Internet or a wireless line.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

100 情報収集装置(GW:ゲートウェイ)
110 プロセスデータ収集部
120 レート制御部
130 RTT統計値計算部
140 RTT記憶部
150 プロセスデータ記憶部
160 警報情報取得部
170 警報多発判定部
180 アライブチェック部
191 受信部
192 送信部
193 リクエスト処理部
200 IPコントローラ
300 設備機器
400 監視端末
500 外部システム
100 Information collection device (GW: Gateway)
110 process data collection unit 120 rate control unit 130 RTT statistical value calculation unit 140 RTT storage unit 150 process data storage unit 160 alarm information acquisition unit 170 alarm frequent occurrence determination unit 180 alive check unit 191 reception unit 192 transmission unit 193 request processing unit 200 IP Controller 300 Equipment 400 Monitoring terminal 500 External system

Claims (9)

リクエストレートに基づいてIPコントローラへリクエストを送信し、前記IPコントローラから前記リクエストに対応したプロセスデータを受信する収集部と、
前記収集部による前記プロセスデータの受信毎に、前記リクエストの送信から前記プロセスデータの受信までに要した応答時間を記憶する記憶部と、
前記IPコントローラから出力される警報情報を取得する取得部と、
前記取得部による前記警報情報の取得頻度が所定値を超えるか否か判定する判定部と、
前記取得頻度が前記所定値以下の場合に、前記記憶部から第1母集団となる複数の応答時間を取り出して統計値を計算し、前記取得頻度が前記所定値を超える場合に、前記記憶部から前記第1母集団より小さい第2母集団となる応答時間を取り出して統計値を計算する計算部と、
前記統計値が所定の閾値より大きい場合に、前記リクエストレートを小さくするように制御する制御部と、
を備える情報収集装置。
A collection unit that transmits a request to the IP controller based on a request rate, and receives process data corresponding to the request from the IP controller;
A storage unit that stores response time required from transmission of the request to reception of the process data every time the process data is received by the collection unit;
An acquisition unit for acquiring alarm information output from the IP controller;
A determination unit that determines whether the acquisition frequency of the alarm information by the acquisition unit exceeds a predetermined value;
When the acquisition frequency is less than or equal to the predetermined value, a plurality of response times that are the first population are extracted from the storage unit to calculate a statistical value, and when the acquisition frequency exceeds the predetermined value, the storage unit Calculating a statistical value by taking out a response time to be a second population smaller than the first population from the first population,
A control unit that controls to reduce the request rate when the statistical value is greater than a predetermined threshold;
An information collecting apparatus comprising:
前記IPコントローラから前記プロセスデータを取得する監視端末の新規参入と、前記監視端末による参入処理の完了とを検知する検知部をさらに備え、
前記計算部は、
前記検知部が前記監視端末の新規参入を検知する前は、前記記憶部から前記第1母集団となる複数の応答時間を取り出して統計値を計算し、
前記検知部が前記監視端末の新規参入を検知した後、前記参入処理の完了を検知するまでの間は、前記記憶部から前記第1母集団より小さい第3母集団となる応答時間を取り出して統計値を計算し、
前記検知部が前記参入処理の完了を検知した後は、前記記憶部から前記第1母集団となる複数の応答時間を取り出して統計値を計算することを特徴とする請求項1に記載の情報収集装置。
A detection unit that detects new entry of a monitoring terminal that acquires the process data from the IP controller and completion of entry processing by the monitoring terminal;
The calculator is
Before the detection unit detects a new entry of the monitoring terminal, a plurality of response times to be the first population is extracted from the storage unit, and a statistical value is calculated.
After the detection unit detects a new entry of the monitoring terminal, a response time that is a third population smaller than the first population is extracted from the storage unit until the completion of the entry process is detected. Calculate statistics,
2. The information according to claim 1, wherein after the detection unit detects completion of the entry process, a plurality of response times as the first population are extracted from the storage unit and a statistical value is calculated. Collection device.
前記計算部は、前記検知部が前記監視端末の新規参入を検知した後、前記参入処理の完了を検知するまでの間に、前記取得頻度が前記所定値を超えた場合は、前記記憶部から前記第2母集団及び前記第3母集団より小さい第4母集団となる応答時間を取り出して統計値を計算することを特徴とする請求項2に記載の情報収集装置。   When the acquisition frequency exceeds the predetermined value after the detection unit detects a new entry of the monitoring terminal and before the completion of the entry process is detected, from the storage unit The information collection device according to claim 2, wherein a statistical value is calculated by extracting a response time that is a fourth population smaller than the second population and the third population. 前記収集部は、複数のIPコントローラへリクエストを送信してプロセスデータを受信し、
前記計算部はIPコントローラ毎に前記統計値を計算し、
前記制御部は、前記統計値が、対応するIPコントローラに設定された閾値より大きい場合に、当該IPコントローラに対するリクエストレートを小さくするように制御することを特徴とする請求項1乃至3のいずれかに記載の情報収集装置。
The collection unit transmits a request to a plurality of IP controllers and receives process data,
The calculation unit calculates the statistical value for each IP controller,
4. The control unit according to claim 1, wherein, when the statistical value is larger than a threshold set in the corresponding IP controller, the control unit controls the request rate for the IP controller to be reduced. 5. The information collection device described in 1.
前記計算部は、前記第1母集団としてU1個(U1は2以上の整数)の応答時間を取り出し、前記第2母集団としてU2個(U2は1≦U2<U1を満たす整数)の応答時間を取り出すことを特徴とする請求項1乃至4のいずれかに記載の情報収集装置。   The calculation unit extracts U1 (U1 is an integer of 2 or more) response times as the first population, and U2 (U2 is an integer satisfying 1 ≦ U2 <U1) as the second population. The information collection device according to claim 1, wherein the information collection device extracts the information. 前記計算部は、前記第1母集団として第1所定時間内に前記記憶部に追加された応答時間を取り出し、前記第2母集団として前記第1所定時間より短い第2所定時間内に前記記憶部に追加された応答時間を取り出すことを特徴とする請求項1乃至4のいずれかに記載の情報収集装置。   The calculation unit extracts a response time added to the storage unit within a first predetermined time as the first population, and stores the response time as a second population within a second predetermined time shorter than the first predetermined time. The information collection device according to claim 1, wherein a response time added to the unit is extracted. 前記収集部が受信したプロセスデータを記憶する第2記憶部と、
外部システムからリクエストを受信する受信部と、
前記受信部が受信したリクエストに基づいて前記第2記憶部からプロセスデータを取り出すリクエスト処理部と、
前記リクエスト処理部が前記第2記憶部から取り出したプロセスデータを前記外部システムへ送信する送信部と、
をさらに備えることを特徴とする請求項1乃至6のいずれかに記載の情報収集装置。
A second storage unit for storing process data received by the collection unit;
A receiver for receiving a request from an external system;
A request processing unit for retrieving process data from the second storage unit based on the request received by the receiving unit;
A transmission unit that transmits the process data retrieved from the second storage unit by the request processing unit to the external system;
The information collecting apparatus according to claim 1, further comprising:
リクエストレートに基づいてIPコントローラへリクエストを送信するステップと、
前記IPコントローラから前記リクエストに対応したプロセスデータを受信するステップと、
前記プロセスデータの受信毎に、前記リクエストの送信から前記プロセスデータの受信までに要した応答時間を記憶部に追加するステップと、
前記IPコントローラから出力される警報情報を取得するステップと、
前記警報情報の取得頻度が所定値を超えるか否か判定するステップと、
前記取得頻度が前記所定値以下の場合に、前記記憶部から第1母集団となる複数の応答時間を取り出して統計値を計算し、前記取得頻度が前記所定値を超える場合に、前記記憶部から前記第1母集団より小さい第2母集団となる応答時間を取り出して統計値を計算するステップと、
前記統計値が所定の閾値より大きい場合に、前記リクエストレートを小さくするように制御するステップと、
をコンピュータに実行させる情報収集プログラム。
Sending a request to the IP controller based on the request rate;
Receiving process data corresponding to the request from the IP controller;
Adding a response time required from the transmission of the request to the reception of the process data to the storage unit every time the process data is received;
Obtaining alarm information output from the IP controller;
Determining whether the alarm information acquisition frequency exceeds a predetermined value;
When the acquisition frequency is less than or equal to the predetermined value, a plurality of response times that are the first population are extracted from the storage unit to calculate a statistical value, and when the acquisition frequency exceeds the predetermined value, the storage unit Taking a response time to be a second population smaller than the first population and calculating a statistical value;
Controlling to reduce the request rate when the statistical value is greater than a predetermined threshold;
Information collection program that causes a computer to execute
請求項1乃至7のいずれかに記載の情報収集装置と、
複数の設備機器と、
前記複数の設備機器からプロセスデータを取得し、前記情報収集装置から受け付けたリクエストに基づいて、前記情報収集装置へプロセスデータを送信するIPコントローラと、
を備えるビル管理システム。
An information collection device according to any one of claims 1 to 7,
Multiple equipment and
An IP controller that acquires process data from the plurality of equipment and transmits process data to the information collection device based on a request received from the information collection device;
Building management system with.
JP2010201330A 2010-09-08 2010-09-08 Information collection device, information collection program, and building management system Expired - Fee Related JP5214685B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010201330A JP5214685B2 (en) 2010-09-08 2010-09-08 Information collection device, information collection program, and building management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010201330A JP5214685B2 (en) 2010-09-08 2010-09-08 Information collection device, information collection program, and building management system

Publications (2)

Publication Number Publication Date
JP2012059000A JP2012059000A (en) 2012-03-22
JP5214685B2 true JP5214685B2 (en) 2013-06-19

Family

ID=46056024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010201330A Expired - Fee Related JP5214685B2 (en) 2010-09-08 2010-09-08 Information collection device, information collection program, and building management system

Country Status (1)

Country Link
JP (1) JP5214685B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6042681B2 (en) * 2012-09-27 2016-12-14 株式会社日立システムズ Control device, control method, and control program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5127528B2 (en) * 2008-03-26 2013-01-23 株式会社東芝 Gateway device, control command processing method, and program

Also Published As

Publication number Publication date
JP2012059000A (en) 2012-03-22

Similar Documents

Publication Publication Date Title
US9231823B2 (en) Method and system for detecting failures of network nodes
JP5418250B2 (en) Abnormality detection apparatus, program, and abnormality detection method
JP6378057B2 (en) Connection control device, connection control method, connection control system, and computer program
US20170155560A1 (en) Management systems for managing resources of servers and management methods thereof
JP5406362B2 (en) Monitoring system, apparatus and method
JP4984162B2 (en) Monitoring control method and monitoring control apparatus
CN107294864B (en) Method for reducing network congestion of Internet of things and router
JP2008054127A (en) Gateway device, data aggregating device, data aggregation system, data transmission method and program
JP5214685B2 (en) Information collection device, information collection program, and building management system
JP4901796B2 (en) Log level collection apparatus and log level collection method
JP5214686B2 (en) Information collection device, information collection program, and building management system
WO2015129211A1 (en) Network control method and system
US20240073156A1 (en) Detecting shortfalls in an agreement between a publisher and a subscriber
CN109561482B (en) Data acquisition method, data acquisition device and intelligent terminal
JP2011013870A (en) Load distribution system
JP5364600B2 (en) Monitoring control system, monitored control device and server
JP6196591B2 (en) Backoff control method and backoff control device
JP2011065469A (en) Distributed file system and node start-up method in distributed file system
US20140114614A1 (en) Remote monitoring system, remote monitoring apparatus, communication apparatus, and remote monitoring method
JP5964762B2 (en) Operation system, alarm monitoring method, and program for causing computer of operation system to execute alarm monitoring method
JP2019062413A (en) Remote monitoring system
JP2014216764A (en) Gateway device and program
JP2015026420A (en) Illumination gateway device
JP2011118512A (en) Home equipment management system and home equipment management method
KR102024306B1 (en) A risk information spread system for guranteeing reliable emergency service

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130227

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160308

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees