[go: up one dir, main page]

JP4639675B2 - Device monitoring device and device monitoring system - Google Patents

Device monitoring device and device monitoring system Download PDF

Info

Publication number
JP4639675B2
JP4639675B2 JP2004211634A JP2004211634A JP4639675B2 JP 4639675 B2 JP4639675 B2 JP 4639675B2 JP 2004211634 A JP2004211634 A JP 2004211634A JP 2004211634 A JP2004211634 A JP 2004211634A JP 4639675 B2 JP4639675 B2 JP 4639675B2
Authority
JP
Japan
Prior art keywords
monitoring
mode
information
processing unit
sub
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
JP2004211634A
Other languages
Japanese (ja)
Other versions
JP2006033592A (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.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works 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 Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2004211634A priority Critical patent/JP4639675B2/en
Publication of JP2006033592A publication Critical patent/JP2006033592A/en
Application granted granted Critical
Publication of JP4639675B2 publication Critical patent/JP4639675B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、1又は複数の機器から監視情報を取得することによって該1又は複数の機器を集中的に監視する機器監視装置に関し、特に、主機が異常であると認定した場合に該主機を後援することができる機器監視装置に関する。そして、このような機器監視装置を備える機器監視システムに関する。   The present invention relates to a device monitoring apparatus that centrally monitors one or more devices by acquiring monitoring information from one or more devices, and particularly supports the main device when the main device is found to be abnormal. The present invention relates to a device monitoring apparatus capable of performing the above. And it is related with an equipment monitoring system provided with such an equipment monitoring device.

集合住宅、庁舎、ホール、商業ビル、オフィスビル及び工場等の建物には、照明機器、空調機器、計測機器及び防犯機器等の様々な機器が設置されている。近年では、通信技術等の進展により、これら機器は、通信線によって相互に接続されることによってネットワーク化され、さらに機器監視装置がネットワークに接続されて集中的に監視されるようになっている。このような技術の一つとして特許文献1に記載の電力計測システムや特許文献2に記載の誘導灯自動点検システムがある。   In buildings such as apartment houses, government buildings, halls, commercial buildings, office buildings and factories, various devices such as lighting devices, air conditioning devices, measuring devices and security devices are installed. In recent years, due to advances in communication technology and the like, these devices are networked by being connected to each other via communication lines, and further, device monitoring devices are connected to the network and are centrally monitored. As one of such techniques, there is a power measurement system described in Patent Document 1 and a guide light automatic inspection system described in Patent Document 2.

この特許文献1に記載の電力計測システムは、負荷である複数の計測対象機器と、複数の計測対象機器ごとに設けられ計測対象機器における電力等の電力諸量を計測する複数の電力計測装置と、計測対象機器の各種状態監視や各種制御出力を行う監視制御端末と、電力計測装置から電力諸量データを収集すると共に監視制御端末から各種状態監視データを収集して帳票作成、グラフ化及び運転時間積算等を行うデータ処理装置とを備えて構成される。このデータ処理装置は、複数の電力計測装置及び監視制御端末と通信線で接続され、RS485によって複数の電力計測装置及び監視制御端末と通信を行って、電力諸量データや各種状態監視データ(監視情報の一例)を収集している。   The power measurement system described in Patent Document 1 includes a plurality of measurement target devices that are loads, and a plurality of power measurement devices that are provided for each of the plurality of measurement target devices and measure various amounts of power such as power in the measurement target devices. , Monitor and control terminals that monitor various statuses of the measurement target devices and various control outputs, collect power quantity data from the power measurement device, collect various status monitoring data from the monitor and control terminals, create forms, graph and operate And a data processing device that performs time integration and the like. This data processing device is connected to a plurality of power measurement devices and monitoring control terminals through communication lines, and communicates with the plurality of power measurement devices and monitoring control terminals by RS485 to provide various amounts of power data and various state monitoring data (monitoring). An example of information is collected.

また、特許文献2に記載の誘導灯自動点検システムは、非常時に非常用電源を用いてランプを点灯可能であってこれらランプや非常用電源の状態を自動的に点検可能な複数の誘導灯自動点検装置と、誘導灯自動点検装置に対し点検命令や送信したり点検状態の監視を行う誘導灯制御監視盤とを備えて構成される。誘導灯制御監視盤は、通信線で複数の誘導灯自動点検装置と接続され、RS485によって複数の誘導灯自動点検装置と通信を行って、誘導灯自動点検装置に対し点検命令を送信し点検結果(監視情報の一例)を受信して蓄積している。
特開2003−315385号公報 特開2004−111347号公報
In addition, the automatic guide light inspection system described in Patent Document 2 can automatically turn on a lamp using an emergency power source in an emergency, and can automatically check the status of these lamps and the emergency power source. An inspection device and a guide light control / monitoring panel for transmitting an inspection command to the guide light automatic inspection device and transmitting the inspection light and monitoring the inspection state are configured. The guide light control monitoring panel is connected to a plurality of guide light automatic inspection devices via communication lines, communicates with a plurality of guide light automatic inspection devices by RS485, transmits an inspection command to the guide light automatic inspection device, and results of inspection (An example of monitoring information) is received and accumulated.
JP 2003-315385 A JP 2004-111347 A

ところで、背景技術に係るデータ処理装置や誘導灯制御監視盤等の機器監視装置に支障が生じたり通信上の障害が生じたりメンテナンス(maintenance、保守)の必要が生じたりした場合等の機器監視装置に異常が生じた際に、その間、背景技術に係る電力計測システムや誘導灯自動点検システム等の機器監視システムでは、機器監視装置が背景技術に係る計測対象機器や誘導灯自動点検装置等の機器から監視情報を収集することができず、その間の監視情報が欠損してしまう。   By the way, the equipment monitoring device when the equipment monitoring device such as the data processing device and the guide light control monitoring panel related to the background technology has trouble, the communication trouble occurs, or the maintenance (maintenance) is necessary. In the meantime, in the equipment monitoring system such as the power measurement system and the guide light automatic inspection system according to the background technology, the equipment monitoring device is the equipment to be measured and the equipment such as the guide light automatic inspection device according to the background technology. Monitoring information cannot be collected from the monitoring information, and monitoring information during that time is lost.

また、機器監視装置に異常が生じた場合に機器監視装置を後援する後援用の機器監視装置を機器監視システムに設けることが考え得るが、機器監視システムの導入時にこのような後援用の機器監視装置を設けることは、コスト増になってしまう。そのため、施主に機器監視システムの導入に対するインセンティブ(incentive、誘因)を働かせるためには、機器監視システムの導入後に後付けで後援用の機器監視装置を機器監視システムに導入可能であることが望ましい。   In addition, when an abnormality occurs in the device monitoring device, it may be possible to provide the device monitoring system with a sponsored device monitoring device that supports the device monitoring device. Providing the device increases the cost. Therefore, in order to make the owner incentive (incentive) for the introduction of the device monitoring system, it is desirable that a device monitoring device for support can be introduced into the device monitoring system as a retrofit after the introduction of the device monitoring system.

さらに、このような後援用の機器監視装置を機器監視システムに最初からあるいは後付けで導入する際に、後援対象の機器監視装置と同様に機器に関する情報等を、施工者等のユーザは、後援用の機器監視装置に入力する必要があるが、機器の個数が増加するに従って入力ミスが生じやすくまたその入力の手間が煩わしいという不都合も生じる。   Furthermore, when such a sponsored device monitoring device is introduced into the device monitoring system from the beginning or as a retrofit, information on the device, etc., as with the sponsored device monitoring device, is supported by a user such as a constructor. However, as the number of devices increases, an input error is likely to occur, and the trouble of input is troublesome.

本発明は、上述の事情に鑑みて為された発明であり、後援対象の機器監視装置が異常であると認定した場合に該機器監視装置を後援することができる機器監視装置を提供することを目的とする。また、機器監視システムの導入後に後付けで導入可能な機器監視装置を提供することを目的とする。さらにまた、入力ミスを無くすと共に入力の手間を省略可能な機器監視装置を提供することを目的とする。そして、このような機器監視装置を備える機器監視システムを提供することを目的とする。   This invention is an invention made | formed in view of the above-mentioned situation, and provides the apparatus monitoring apparatus which can support this apparatus monitoring apparatus, when it recognizes that the apparatus monitoring apparatus of support object is abnormal. Objective. It is another object of the present invention to provide a device monitoring apparatus that can be installed after installation of the device monitoring system. It is another object of the present invention to provide a device monitoring apparatus that can eliminate input mistakes and can save input labor. And it aims at providing the equipment monitoring system provided with such an equipment monitoring device.

上述の目的を達成するために、本発明の一態様に係る機器監視装置は、監視対象の機器を監視する機器監視装置であって前記監視対象の機器と通信を行うための第1通信部と、前記監視対象の機器に関する監視情報を蓄積する監視サーバと通信を行うための第2通信部と、メインモード及びサブモードの何れか一方のモードを示すモード情報を記憶するモード情報記憶部と、前記モード情報がメインモードである場合に、前記第1通信部を用いて前記監視対象の機器から監視情報を収集し、該収集した監視情報を前記監視サーバに前記第2通信部を用いて送信するメインモード処理部と、前記モード情報がサブモードである場合に、前記モード情報がメインモードである機器監視装置の異常を認識すると、この異常が生じた機器監視装置に代行して、前記第1通信部を用いて前記監視対象の機器から監視情報を収集し、該収集した監視情報を前記監視サーバに前記第2通信部を用いて送信するサブモード処理部と、前記モード情報がメインモードを示す場合には前記メインモード処理部を起動する一方、前記モード情報がサブモードを示す場合には前記サブモード処理部を起動する起動処理部とを備えることを特徴とする。 To achieve the above object, the equipment monitoring device according to one embodiment of the present invention is an equipment monitoring device for monitoring equipment monitored, first communication unit for communicating with the monitoring target device A second communication unit for communicating with a monitoring server that accumulates monitoring information related to the device to be monitored, and a mode information storage unit that stores mode information indicating either the main mode or the sub mode. When the mode information is the main mode, the monitoring information is collected from the monitoring target device using the first communication unit, and the collected monitoring information is collected to the monitoring server using the second communication unit. a main mode processing unit for transmitting, when the mode information is sub-mode, if the mode information to recognize the abnormality of the equipment monitoring device is a main mode, this abnormality occurs equipment monitoring device On the line, and the sub-mode processing unit that transmits the first using the communication unit collects monitoring information from the monitored devices, the monitoring information the collection by using the second communication unit to the monitoring server, while the mode information is to indicate main mode activates the main mode processing unit, when the mode information indicates a sub-mode and characterized in that it comprises a boot processing unit for activating the sub-mode processing unit To do.

そして、上述の機器監視装置において、前記サブモード処理部は、前記モード情報がメインモードである機器監視装置に対し自機の状態を確認させるための状態確認要求信号を送信してその応答に基づいて、前記モード情報がメインモードである機器監視装置が異常であるか否かを判断し、前記メインモード処理部は、前記状態確認要求信号を受信した場合に、自機の状態を確認すると共にその結果を示す応答信号を前記状態確認要求信号の送信元に返信することを特徴とする。 Then, in the above-mentioned equipment monitoring device, the sub-mode processing unit, based on the response by sending a status confirmation request signal for confirming the state of own apparatus with respect to the equipment monitoring device wherein the mode information is the main mode Te, together with the mode information equipment monitoring device, which is the main mode is judged whether it is abnormal, the main mode processing unit, when receiving the state confirmation request signal, checks the state of its own A response signal indicating the result is returned to the transmission source of the state confirmation request signal.

また、上述の機器監視装置において、前記サブモード処理部は、前記モード情報がメインモードである機器監視装置と前記監視対象の機器との間における通信の有無に基づいて、前記モード情報がメインモードである機器監視装置が異常であるか否かを判断することを特徴とする。 Further, in the above-mentioned equipment monitoring device, the sub-mode processing unit, said mode information based on the presence or absence of communication between the equipment monitoring device, which is the main mode and the monitored device, wherein the mode information is the main mode It is characterized by determining whether or not the device monitoring device is abnormal.

さらに、上述の機器監視装置において、前記監視情報を記憶するための監視情報記憶部をさらに備え、前記サブモード処理部は、該収集した監視情報をさらに前記監視情報記憶部に記憶すると共に、前記モード情報がメインモードである機器監視装置が異常であると認識した後に正常であると認識した場合に、前記異常と認識した時から前記正常と認識する時までの間に前記監視対象の機器から収集した監視情報を、前記モード情報がメインモードである機器監視装置にさらに送信し、前記メインモード処理部は、該収集した監視情報をさらに前記監視情報記憶部に記憶すると共に、前記監視対象の機器から収集した監視情報を前記モード情報がサブモードである機器監視装置から受信した場合に、該受信した監視情報を前記監視情報記憶部にさらに記憶することを特徴とする。 Further, in the above-mentioned equipment monitoring device, further comprising monitoring information storage unit for storing the monitoring information, the sub-mode processing unit is configured to further store the monitoring information storage unit monitoring information the collection, the When the device monitoring device whose mode information is the main mode is recognized as normal after recognizing that it is abnormal, from the device to be monitored between the time when it is recognized as normal and the time when it is recognized as normal The collected monitoring information is further transmitted to the device monitoring apparatus whose mode information is the main mode , and the main mode processing unit further stores the collected monitoring information in the monitoring information storage unit, and If the monitoring information collected from the device the mode information received from the equipment monitoring device is a sub-mode, the monitoring information thus received the monitoring information storage unit Characterized in that it further stores.

また、上述の機器監視装置において、前記起動処理部は、前記サブモード処理部を起動する際に、前記モード情報がメインモードである機器監視装置から前記監視対象の機器に関する情報及び前記監視サーバに関する情報を取得することを特徴とする。 Further, in the above-mentioned equipment monitoring device, the activation processing unit, when starting the sub-mode processing unit, an information and the monitoring server about the monitored device from the mode information equipment monitoring device is the main mode It is characterized by acquiring information.

そして、本発明の一態様に係る、1又は複数の機器と、前記1又は複数の機器を監視対象の機器とする2個の機器監視装置と、前記2個の機器監視装置から前記1又は複数の機器における監視情報を収集可能であって、該収集した監視情報を蓄積する監視サーバとを備える機器監視システムは、前記2個の機器監視装置がそれら上述の何れかにおける機器監視装置であることを特徴とする。   According to one aspect of the present invention, one or more devices, two device monitoring devices that use the one or more devices as devices to be monitored, and one or more of the two device monitoring devices. In a device monitoring system capable of collecting monitoring information on the devices, and including a monitoring server that accumulates the collected monitoring information, the two device monitoring devices are device monitoring devices in any of the above-described cases. It is characterized by.

このような構成の機器監視装置では、モード情報記憶部は、メインモード及びサブモードの何れか一方のモードを示すモード情報を記憶し、メインモード処理部は、第1通信部を用いて監視対象の機器から監視情報を収集し、この収集した監視情報を監視サーバに第2通信部を用いて送信し、サブモード処理部は、メインモードに設定されている機器監視装置が異常であると認識した場合に、第1通信部を用いて監視対象の機器から監視情報を収集し、この収集した監視情報を監視サーバに第2通信部を用いて送信し、そして、起動処理部は、モード情報がメインモードを示す場合にはメインモード処理部を起動する一方、モード情報がサブモードを示す場合にはサブモード処理部を起動する。   In the device monitoring apparatus having such a configuration, the mode information storage unit stores mode information indicating one of the main mode and the sub mode, and the main mode processing unit is monitored using the first communication unit. Monitoring information is collected from other devices, and the collected monitoring information is transmitted to the monitoring server using the second communication unit, and the sub-mode processing unit recognizes that the device monitoring device set to the main mode is abnormal. In this case, the monitoring information is collected from the monitoring target device using the first communication unit, and the collected monitoring information is transmitted to the monitoring server using the second communication unit. When the mode information indicates the main mode, the main mode processing unit is activated. On the other hand, when the mode information indicates the sub mode, the sub mode processing unit is activated.

このため、機器を監視する機器監視システムにこのような構成のメインモードの機器監視装置及びサブモードの機器監視装置を備えることによって、メインモードの機器監視装置に異常が生じたとしても、サブモードの機器監視装置がそれを検出し、メインモードの機器監視装置に代行して機器から監視情報を収集して監視サーバに送信することができる。従って、監視サーバは、メインモードの機器監視装置に異常が生じたとしても監視情報の欠落が生じることがない。   For this reason, even if an abnormality occurs in the main mode device monitoring apparatus by including the main mode device monitoring device and the sub mode device monitoring device having such a configuration in the device monitoring system that monitors the device, the sub mode The device monitoring device can detect this, collect monitoring information from the device on behalf of the device monitoring device in the main mode, and transmit it to the monitoring server. Therefore, the monitoring server does not lose monitoring information even if an abnormality occurs in the main mode device monitoring apparatus.

また、機器監視装置は、メインモード処理部及びサブモード処理部を備えるので、機器監視システムの導入時には1個の機器監視装置を備えさせ、これをメインモードで動作させることによって機器監視システムとして運用することができる一方、必要に応じて後付けでさらに1個の機器監視装置を機器監視システムに備えさせることができる。そして、追加の機器監視装置をサブモードで動作させることによって、メインモードの機器監視装置を後援させることができる。   In addition, since the device monitoring device includes a main mode processing unit and a sub-mode processing unit, when the device monitoring system is introduced, one device monitoring device is provided and operated as a device monitoring system by operating in the main mode. On the other hand, if necessary, one device monitoring apparatus can be provided in the device monitoring system as a retrofit. And the apparatus monitoring apparatus of a main mode can be sponsored by operating an additional apparatus monitoring apparatus in sub mode.

以下、本発明に係る実施形態を図面に基づいて説明する。なお、各図において同一の符号を付した構成は、同一の構成であることを示し、その説明を省略する。
(第1の実施形態の構成)
図1は、機器監視システムの構成を示す図である。図2は、機器監視装置の構成を示すブロック図である。図3は、監視情報を登録する監視情報テーブルの構成を示す図である。
Embodiments according to the present invention will be described below with reference to the drawings. In addition, the structure which attached | subjected the same code | symbol in each figure shows that it is the same structure, The description is abbreviate | omitted.
(Configuration of the first embodiment)
FIG. 1 is a diagram illustrating a configuration of a device monitoring system. FIG. 2 is a block diagram illustrating a configuration of the device monitoring apparatus. FIG. 3 is a diagram showing a configuration of a monitoring information table for registering monitoring information.

図1において、機器監視システム1は、1又は複数の機器11から監視情報を収集するための下位のネットワーク(以下、「下位NT」と略記する。)2と、下位NT2で収集された機器11の監視情報を収集して蓄積するための上位のネットワーク(以下、「上位NT」と略記する。)3とを備えて構成される。下位NT2は、複数の機器監視装置10(10−a、10−b)と1又は複数の機器11(11−a、11−b、・・・)と、これら複数の機器監視装置10及び1又は複数の機器11を通信可能に相互に接続する通信線12とを備えて構成されるローカルエリアネットワークである。上位NT3は、複数の機器監視装置10と、監視サーバ16と、閲覧用端末装置17と、これら複数の機器監視装置10、監視サーバ16及び閲覧用端末装置17を通信可能に相互に接続する通信線18とを備えて構成されるネットワークである。   In FIG. 1, the device monitoring system 1 includes a lower network (hereinafter abbreviated as “lower NT”) 2 for collecting monitoring information from one or more devices 11, and a device 11 collected by the lower NT 2. And a higher-order network (hereinafter abbreviated as “upper NT”) 3 for collecting and accumulating the monitoring information. The lower NT2 includes a plurality of device monitoring devices 10 (10-a, 10-b), one or more devices 11 (11-a, 11-b,...), And a plurality of these device monitoring devices 10 and 1. Or it is a local area network comprised including the communication line 12 which mutually connects the some apparatus 11 so that communication is possible. The host NT3 is a communication that interconnects the plurality of device monitoring devices 10, the monitoring server 16, the browsing terminal device 17, and the plurality of device monitoring devices 10, the monitoring server 16, and the browsing terminal device 17 in a communicable manner. A network including the line 18.

なお、本明細書において、総称する場合にはアルファベットの添え字を省略した参照符号で示し、個別の構成を指す場合にはアルファベットの添え字を付した参照符号で示す。   In addition, in this specification, when referring generically, it shows with the reference symbol which abbreviate | omitted the alphabetic suffix, and when referring to an individual structure, it shows with the reference symbol which attached | subjected the alphabetic suffix.

機器11は、電気をエネルギー源として稼動する装置であり、機器監視装置10の監視対象である。機器11は、例えば、機器監視装置10と通信線12を介して通信を行う通信部と、機器11の機能を実行する機能部とを備えて構成され、機能部で検出したデータや機能部の状態(例えば、電源のオン・オフ、稼動状態、故障状態等)に関するデータを通信部を用いて機器監視装置10に送信する。機能部は、機器11が、例えば、電気の使用量を計量する電力メータである場合には、電力の使用量を計量する計量機能である。機器11は、電力メータの他に、例えば、ガスの使用量を計量するガスメータ、及び、水道の使用量を計量する水道メータ等の計量メータ、照明器具及び空調装置等の住戸環境やオフィス環境等を調整する装置、防犯センサ、煙センサ、温度センサ及び湿度センサ等のセンサ、誘導灯及び非常灯等の防災設備等である。   The device 11 is a device that operates using electricity as an energy source, and is a monitoring target of the device monitoring device 10. The device 11 includes, for example, a communication unit that communicates with the device monitoring apparatus 10 via the communication line 12, and a functional unit that executes the function of the device 11, and includes data detected by the functional unit and data of the functional unit. Data on the state (for example, power on / off, operating state, failure state, etc.) is transmitted to the device monitoring apparatus 10 using the communication unit. For example, when the device 11 is a power meter that measures the amount of electricity used, the function unit is a metering function that measures the amount of power used. In addition to the power meter, the device 11 is, for example, a gas meter that measures the amount of gas used, a meter such as a water meter that measures the amount of water used, a dwelling environment such as a lighting fixture and an air conditioner, or an office environment. Devices such as crime prevention sensors, smoke sensors, temperature sensors and humidity sensors, disaster prevention equipment such as guide lights and emergency lights.

機器監視装置10は、1又は複数の機器11から監視情報を取得することによって1又は複数の機器11を集中的に監視すると共に、この収集した機器11の監視情報を監視サーバ16に送信する装置である。機器監視装置10は、例えば、図2に示すように、制御部101と、上位ネットワーク通信インタフェース部(以下、「上位NT通信インタフェース部」と略記する。)102と、記憶部103と、下位ネットワーク通信インタフェース部(以下、「下位NT通信インタフェース部」と略記する。)104と、これら制御部101、上位NT通信インタフェース部102、記憶部103及び下位NT通信インタフェース部104は、データを相互に交換することができるようにバス105にそれぞれ接続される。   The device monitoring device 10 is a device that centrally monitors one or more devices 11 by acquiring monitoring information from one or more devices 11 and transmits the collected monitoring information of the devices 11 to the monitoring server 16. It is. For example, as illustrated in FIG. 2, the device monitoring apparatus 10 includes a control unit 101, an upper network communication interface unit (hereinafter, abbreviated as “upper NT communication interface unit”) 102, a storage unit 103, and a lower network. The communication interface unit (hereinafter abbreviated as “lower NT communication interface unit”) 104, these control unit 101, upper NT communication interface unit 102, storage unit 103, and lower NT communication interface unit 104 exchange data with each other. Are connected to the bus 105 respectively.

監視情報は、機器監視システム1の監視目的に応じた情報であり、機器11の機能部で検出したデータや機能部の状態(例えば、電源のオン・オフ、稼動状態、故障状態等)に関するデータである。例えば、機器監視システム1の監視目的が負荷の消費電力量である場合には、機器11は、電力メータであり、監視情報は、電力メータの電力量である。また例えば、機器監視システム1の監視目的が照明器具の点灯状態である場合には、機器11は、照明器具であり、監視情報は、照明器具のオン・オフである。また例えば、機器監視システム1の監視目的がエアーコンディショナの稼動状態である場合には、機器11は、エアーコンディショナであり、監視情報は、エアーコンディショナの設定温度及び設定風量等である。また例えば、機器監視システム1の監視目的が防犯である場合には、機器11は、防犯センサであり、監視情報は、防犯センサの発報の有無である。   The monitoring information is information according to the monitoring purpose of the device monitoring system 1, and is data relating to data detected by the functional unit of the device 11 and a state of the functional unit (for example, power on / off, operating state, failure state, etc.). It is. For example, when the monitoring purpose of the device monitoring system 1 is the power consumption amount of the load, the device 11 is a power meter, and the monitoring information is the power amount of the power meter. Further, for example, when the monitoring purpose of the device monitoring system 1 is the lighting state of the lighting fixture, the device 11 is the lighting fixture, and the monitoring information is on / off of the lighting fixture. Further, for example, when the monitoring purpose of the device monitoring system 1 is the operating condition of the air conditioner, the device 11 is an air conditioner, and the monitoring information is a set temperature and a set air volume of the air conditioner. Also, for example, when the monitoring purpose of the device monitoring system 1 is crime prevention, the device 11 is a crime prevention sensor, and the monitoring information is the presence / absence of a security sensor report.

上位NT通信インタフェース部102は、上位NT3における通信を行うための回路であり、制御部101からのデータを上位NT3の通信プロトコルに従った通信信号を生成すると共に上位NT3からの通信信号を制御部101が処理可能な形式のデータに変換する。上位NT通信インタフェース部102は、本実施形態では、例えば、所謂インターネットプロトコル群を用いて通信を行うための通信インタフェースカードである。   The upper NT communication interface unit 102 is a circuit for performing communication in the upper NT3. The upper NT communication interface unit 102 generates a communication signal according to the communication protocol of the upper NT3 from the data from the control unit 101 and controls the communication signal from the upper NT3. 101 converts the data into a format that can be processed. In this embodiment, the upper NT communication interface unit 102 is a communication interface card for performing communication using a so-called Internet protocol group, for example.

下位NT通信インタフェース部104は、下位NT2における通信を行うための回路であり、制御部101からのデータを下位NT2の通信プロトコルに従った通信信号を生成すると共に下位NT2からの通信信号を制御部101が処理可能な形式のデータに変換する。下位NT通信インタフェース部104は、本実施形態では、例えば、RS485のシリアル通信回路である。   The lower NT communication interface unit 104 is a circuit for performing communication in the lower NT2, generates a communication signal according to the communication protocol of the lower NT2 from the data from the control unit 101, and controls the communication signal from the lower NT2 101 converts the data into a format that can be processed. In the present embodiment, the lower NT communication interface unit 104 is, for example, an RS485 serial communication circuit.

制御部101は、例えば、マイクロプロセッサ及びその周辺回路を備えて構成され、機能的に、メインモード処理部111、サブモード処理部112、起動処理部113、初期設定処理部114及びカレンダ部115を備えると共に、通信プログラムや制御プログラム等の各プログラムによって上位NT通信インタフェース部102、下位NT通信インタフェース部104及び記憶部103を当該機能に応じてそれぞれ制御する。   The control unit 101 includes, for example, a microprocessor and its peripheral circuits, and functionally includes a main mode processing unit 111, a sub mode processing unit 112, a startup processing unit 113, an initial setting processing unit 114, and a calendar unit 115. In addition, the upper NT communication interface unit 102, the lower NT communication interface unit 104, and the storage unit 103 are controlled according to the function by each program such as a communication program and a control program.

メインモード処理部111は、当該機器監視装置10がメインモードに設定されている場合に起動し、後述の動作によって1又は複数の機器11から監視情報を取得して記憶部103に記憶すると共に、この収集した機器11の監視情報を監視サーバ16に送信する。   The main mode processing unit 111 is activated when the device monitoring apparatus 10 is set to the main mode, acquires monitoring information from one or a plurality of devices 11 by an operation described later, stores the monitoring information in the storage unit 103, and The collected monitoring information of the device 11 is transmitted to the monitoring server 16.

サブモード処理部112は、当該機器監視装置10がサブモードに設定されている場合に起動する。サブモード処理部112は、メインモードの機器監視装置10の稼動状態を監視して該メインモードの機器監視装置10に異常が発生したと認識した場合に、後述の動作によって1又は複数の機器11からデータを取得して記憶部103に記憶すると共に、この収集した機器11の監視情報を監視サーバ16に送信する。そして、サブモード処理部112は、メインモードの機器監視装置10の稼動状態を監視して該メインモードの機器監視装置10が異常状態から正常状態へ復旧したと認識した場合に、後述の動作によって1又は複数の機器11から監視情報を取得して記憶部103に記憶していた機器11の監視情報を該メインモードの機器監視装置10に送信する。   The sub mode processing unit 112 is activated when the device monitoring apparatus 10 is set to the sub mode. When the sub-mode processing unit 112 monitors the operating state of the main-mode device monitoring device 10 and recognizes that an abnormality has occurred in the main-mode device monitoring device 10, the sub-mode processing unit 112 performs one or more devices 11 by an operation described later. Is acquired and stored in the storage unit 103, and the collected monitoring information of the device 11 is transmitted to the monitoring server 16. When the sub-mode processing unit 112 monitors the operating state of the main-mode device monitoring apparatus 10 and recognizes that the main-mode device monitoring apparatus 10 has recovered from the abnormal state to the normal state, The monitoring information of the device 11 acquired from the one or more devices 11 and stored in the storage unit 103 is transmitted to the device monitoring apparatus 10 in the main mode.

このように、モードは、本実施形態では、少なくともメインモードとサブモードとを備え、メインモードは、後述の動作によって1又は複数の機器11から監視情報を取得して記憶部103に記憶すると共に、この収集した機器11の監視情報を監視サーバ16に送信するように機器監視装置10を主に動作させるモードであり、そして、サブモードは、メインモードの機器監視装置10に異常が発生したと認識した場合に、後述の動作によって1又は複数の機器11から監視情報を取得して記憶部103に記憶すると共に、この収集した機器11の監視情報を監視サーバ16に送信するように機器監視装置10を主に動作させるモードである。即ち、サブモードは、このサブモードの機器監視装置10にメインモードの機器監視装置10を後援させるモードである。   As described above, in this embodiment, the mode includes at least the main mode and the sub mode, and the main mode acquires monitoring information from one or a plurality of devices 11 by an operation described later and stores the monitoring information in the storage unit 103. This is a mode in which the device monitoring apparatus 10 is mainly operated so as to transmit the collected monitoring information of the device 11 to the monitoring server 16, and the sub mode indicates that an abnormality has occurred in the device monitoring apparatus 10 in the main mode. When the device monitoring apparatus recognizes the monitoring information from one or a plurality of devices 11 and stores it in the storage unit 103 and transmits the collected monitoring information of the device 11 to the monitoring server 16 when it recognizes. 10 is a mode in which 10 is mainly operated. In other words, the sub mode is a mode in which the device monitoring apparatus 10 in the main mode is sponsored by the device monitoring apparatus 10 in the sub mode.

起動処理部113は、当該機器監視装置10の電源がオンされる等の当該機器監視装置10が動作を開始した場合に起動され、後述の動作によって当該機器監視装置10のモードの設定、設定されたモードに応じた準備処理を行う。   The activation processing unit 113 is activated when the device monitoring apparatus 10 starts operating such as when the power of the device monitoring apparatus 10 is turned on, and the mode setting of the device monitoring apparatus 10 is set and set by the operation described later. Prepare for the selected mode.

初期設定処理部114は、後述の動作によって、基本情報や動作情報の入力設定等の初期設定を行うHTTPサーバである。カレンダ部115は、時の経過を計って月、日及び時を計る。   The initial setting processing unit 114 is an HTTP server that performs initial settings such as input settings for basic information and operation information through operations described later. The calendar unit 115 measures the month, the day, and the time by measuring the passage of time.

記憶部103は、機能的に、メインモード及びサブモードのうち設定されているモードを示すモード情報を記憶するモード情報記憶部121と、基本情報を記憶する基本情報記憶部122と、動作情報を記憶する動作情報記憶部123と、機器11から取得した機器11の監視情報を登録する監視情報テーブルを記憶する監視情報記憶部124と、初期設定情報を記憶する初期設定情報記憶部125とを備えると共に、起動処理プログラム、メインモード処理プログラム、サブモード処理プログラム、通信プログラム及び制御プログラム等の機器監視装置10を動作させるための各プログラム(不図示)、及び、仮IPアドレス等の各プログラムの実行に係るデータ(不図示)等を記憶する。記憶部103は、例えばワーキングメモリとなるRAM(Random Access Memory)等の揮発性記憶素子、EEPROM(Electrically Erasable Programmable Read Only Memory)等の書換え可能な不揮発性記憶素子、及び、ROM(Read Only Memory)等の不揮発性記憶素子等の半導体記憶素子を備えて構成される。   The storage unit 103 functionally stores a mode information storage unit 121 that stores mode information indicating a set mode among the main mode and the sub mode, a basic information storage unit 122 that stores basic information, and operation information. An operation information storage unit 123 that stores information, a monitoring information storage unit 124 that stores a monitoring information table that registers monitoring information of the device 11 acquired from the device 11, and an initial setting information storage unit 125 that stores initial setting information. In addition, each program (not shown) for operating the device monitoring apparatus 10 such as a startup process program, a main mode process program, a sub-mode process program, a communication program, and a control program, and each program such as a temporary IP address are executed. Data (not shown) and the like related to are stored. The storage unit 103 includes a volatile storage element such as a RAM (Random Access Memory) serving as a working memory, a rewritable nonvolatile storage element such as an EEPROM (Electrically Erasable Programmable Read Only Memory), and a ROM (Read Only Memory). And a semiconductor memory element such as a nonvolatile memory element.

基本情報は、当該機器監視装置10に設定されているIPアドレス、サブネットマスク及びデフォルトゲートウェイのIPアドレス、並びに、メインモードの機器監視装置10のIPアドレスである。   The basic information includes an IP address set in the device monitoring apparatus 10, an IP address of a subnet mask and a default gateway, and an IP address of the device monitoring apparatus 10 in the main mode.

動作情報は、監視サーバ16のIPアドレス及び当該機器監視装置10が監視対象とするべき機器11の情報である。   The operation information is the IP address of the monitoring server 16 and information on the device 11 to be monitored by the device monitoring apparatus 10.

監視情報テーブルは、機器11の監視情報を登録するためのテーブルである。監視情報テーブルは、本実施形態では、例えば、図3に示すように、機器11の監視情報を収集した月、日及び時を登録する収集日時フィールド、及び、機器11の監視情報を登録する機器データフィールドの各フィールドを備えて構成され、機器11の監視情報を収集した月、日及び時ごとにレコードが作成される。そして、収集日時フィールドは、月を登録する月フィールド、日を登録する日フィールド、及び、時を登録する時フィールドの各サブフィールドを備える。機器データフィールドは、機器11ごとに当該機器11の監視情報を登録するために、機器11ごとにサブフィールドが設けられる。また、監視情報テーブルは、例えば1日、1週間、2週間及び1月等の、仕様により規定される所定の期間だけ機器11の監視情報が登録可能なようにレコードが用意され、そのためのメモリ領域が記憶部103に用意される。   The monitoring information table is a table for registering monitoring information of the device 11. In this embodiment, for example, as shown in FIG. 3, the monitoring information table is a collection date / time field for registering the month, date, and time when the monitoring information of the device 11 is collected, and a device that registers the monitoring information of the device 11. Each field of the data field is configured, and a record is created for each month, day, and hour when the monitoring information of the device 11 is collected. The collection date field includes subfields of a month field for registering a month, a date field for registering a day, and a time field for registering a time. In the device data field, a subfield is provided for each device 11 in order to register monitoring information of the device 11 for each device 11. In addition, the monitoring information table has a record prepared so that monitoring information of the device 11 can be registered only for a predetermined period specified by the specification, such as one day, one week, two weeks, and one month. An area is prepared in the storage unit 103.

初期設定情報は、モード情報及び基本情報を入力するために予め用意されるマークアップ言語で記述されたウェブページ(基本情報設定ページ)のファイル、及び、動作情報を入力するために予め用意されるマークアップ言語で記述されたウェブページ(動作情報設定ページ)のファイルである。   The initial setting information is prepared in advance for inputting web page (basic information setting page) files written in a markup language prepared in advance for inputting mode information and basic information, and operation information. A web page (operation information setting page) file described in a markup language.

仮IPアドレスは、基本情報や動作情報の入力設定等の機器監視装置10へ初期設定を行う場合に、初期設定装置(不図示)が機器監視装置10と通信を行うために必要となるIPアドレスであって、例えば製造段階や出荷段階で仮に機器監視装置10に割り当てられる。初期設定装置は、機器監視装置10と通信を行って機器監視装置10の初期設定を行う装置であって、本実施形態では、例えば、通信機能とブラウザを備えたコンピュータである。   The temporary IP address is an IP address that is required for an initial setting device (not shown) to communicate with the device monitoring device 10 when performing initial settings to the device monitoring device 10 such as input settings for basic information and operation information. For example, it is assigned to the device monitoring apparatus 10 at the manufacturing stage or the shipping stage. The initial setting device is a device that performs initial setting of the device monitoring device 10 by communicating with the device monitoring device 10. In the present embodiment, the initial setting device is, for example, a computer having a communication function and a browser.

図1に戻って、本実施形態では、機器監視装置10及び機器11は、RS485のポーリング方式によって通信する。機器監視装置10は、主局として動作し、機器11は、従局として動作する。   Returning to FIG. 1, in the present embodiment, the device monitoring apparatus 10 and the device 11 communicate by the RS485 polling method. The device monitoring apparatus 10 operates as a master station, and the device 11 operates as a slave station.

監視サーバ16は、機器監視装置10から機器11の監視情報を受信して機器11の監視情報を蓄積すると共に、閲覧用端末装置17からの要求に従って機器11の監視情報をこの閲覧用端末装置17に送信するサーバコンピュータである。本実施形態では、上位NT3は、TCP/IP(Transmission Control Protocol/Internet Protocol)に代表される所謂インターネットプロトコル群が利用されており、監視サーバ16は、機器監視装置10及び閲覧用端末装置17とHTTP(Hyper Text Transfer Protocol)を用いて通信している。監視サーバ16が機器監視装置10から機器11の監視情報を受信する場合には、監視サーバ16は、HTTPサーバとして動作すると共に機器監視装置10は、HTTPクライアントとして動作する。そして、監視サーバ16が閲覧用端末装置17へ機器11の監視情報を送信する場合には、監視サーバ16は、HTTPサーバとして動作すると共に閲覧用端末装置17は、HTTPクライアントとして動作する。   The monitoring server 16 receives the monitoring information of the device 11 from the device monitoring device 10 and accumulates the monitoring information of the device 11, and also monitors the monitoring information of the device 11 according to the request from the browsing terminal device 17. Server computer to send to. In the present embodiment, the upper NT 3 uses a so-called Internet protocol group represented by TCP / IP (Transmission Control Protocol / Internet Protocol), and the monitoring server 16 includes the device monitoring device 10 and the browsing terminal device 17. Communication is performed using HTTP (Hyper Text Transfer Protocol). When the monitoring server 16 receives the monitoring information of the device 11 from the device monitoring apparatus 10, the monitoring server 16 operates as an HTTP server and the device monitoring apparatus 10 operates as an HTTP client. When the monitoring server 16 transmits the monitoring information of the device 11 to the browsing terminal device 17, the monitoring server 16 operates as an HTTP server and the browsing terminal device 17 operates as an HTTP client.

閲覧用端末装置17は、監視サーバ16から機器11の監視情報を受信して機器11の監視情報を表示するブラウザ(Browser)を備えたコンピュータである。閲覧用端末装置17は、監視サーバ16から受信した機器11の監視情報を、例えば棒グラフや折れ線グラフや円グラフ等の、解析目的に応じてデータの傾向を視認し易い表示方法で表示する。閲覧用端末装置17は、例えば、ブラウザ等のソフトウェアや通信インターフェース等のハードウェアによってこのような機能を備えた、所謂、ディスクトップパソコン、ノートパソコン、PDA(Personal Digital Assistants)及び移動体通信端末等である。なお、閲覧用端末装置17は、監視サーバ16と一体に構成されていてもよい。   The browsing terminal device 17 is a computer including a browser that receives monitoring information of the device 11 from the monitoring server 16 and displays the monitoring information of the device 11. The browsing terminal device 17 displays the monitoring information of the device 11 received from the monitoring server 16 by a display method such as a bar graph, a line graph, a pie chart, or the like in a display method that facilitates visual recognition of data trends according to the analysis purpose. The browsing terminal device 17 is, for example, a so-called desktop personal computer, notebook personal computer, PDA (Personal Digital Assistants), mobile communication terminal or the like having such a function by software such as a browser or hardware such as a communication interface. It is. Note that the browsing terminal device 17 may be configured integrally with the monitoring server 16.

次に、本実施形態の動作について説明する。
(第1の実施形態の動作)
まず、初期設定処理について説明する。図4は、基本情報設定ページを示す図である。図5は、動作情報設定ページを示す図である。
Next, the operation of this embodiment will be described.
(Operation of the first embodiment)
First, the initial setting process will be described. FIG. 4 is a diagram showing a basic information setting page. FIG. 5 is a diagram showing an operation information setting page.

例えば機器監視システム1の施工時等のように、機器監視システム1の運用を開始する前において、例えば施工者等のユーザは、初期設定装置を機器監視装置10の上位NT通信インタフェース部102に接続し、機器監視装置10の仮IPアドレスを用いてブラウザを起動する。   For example, before starting operation of the equipment monitoring system 1, such as during construction of the equipment monitoring system 1, a user such as a contractor connects the initial setting device to the upper NT communication interface unit 102 of the equipment monitoring device 10. Then, the browser is activated using the temporary IP address of the device monitoring apparatus 10.

仮IPアドレスを用いてアクセスされると、機器監視装置10の制御部101における初期設定処理部114が起動される。初期設定処理部114は、初期設定情報記憶部125に記憶されている基本情報設定ページを初期設定装置に送信する。基本情報設定ページを受信すると、初期設定装置は、基本情報設定ページをブラウザによって表示する。   When accessed using the temporary IP address, the initial setting processing unit 114 in the control unit 101 of the device monitoring apparatus 10 is activated. The initial setting processing unit 114 transmits the basic information setting page stored in the initial setting information storage unit 125 to the initial setting device. When receiving the basic information setting page, the initial setting device displays the basic information setting page by the browser.

例えば、図4に示すように、基本情報設定ページ201は、「基本情報設定画面」というページのタイトルが表示されるタイトル表示領域211と、メインモード及びサブモードのうちから何れか一方のモードを選択して設定するモード選択領域2121、及び、メインモードの機器監視装置10のIPアドレスを入力して設定するメインモード機器端末装置IPアドレス設定領域2122を備えるモード設定領域212と、機器監視装置10の上位NT3で使用されるIPアドレスを入力して設定する自機IPアドレス設定領域2131、サブネットマスクを入力して設定するサブネットマスク設定領域2132、及び、デフォルトゲートウェイのIPアドレスを入力して設定するデフォルトゲートウェイIPアドレス設定領域2133を備えるIPアドレス設定領域213と、これらモード設定領域212及びIPアドレス設定領域213に入力されたデータを機器監視装置10に送信してこれらデータを機器監視装置10に設定させるための設定ボタン214とを備えて構成される。   For example, as shown in FIG. 4, the basic information setting page 201 has a title display area 211 in which the title of the page “basic information setting screen” is displayed, and one of the main mode and the sub mode. A mode setting area 212 including a mode selection area 2121 to be selected and set, a main mode apparatus terminal apparatus IP address setting area 2122 to be set by inputting an IP address of the apparatus monitoring apparatus 10 in the main mode, and the apparatus monitoring apparatus 10 The IP address setting area 2131 for inputting and setting the IP address used in the upper NT3, the subnet mask setting area 2132 for inputting and setting the subnet mask, and the IP address of the default gateway are set. Default gateway IP address setting area 2133 An IP address setting area 213, and a setting button 214 for transmitting the data input to the mode setting area 212 and the IP address setting area 213 to the device monitoring apparatus 10 and causing the device monitoring apparatus 10 to set the data. It is prepared for.

ユーザは、基本情報設定ページが初期設定装置に表示されると、マウスやキーボード等を用いて、機器監視装置10に設定するモード、IPアドレス、サブネットマスク及びデフォルトゲートウェイのIPアドレスを入力すると共に、メインモードの機器監視装置10のIPアドレスを入力し、設定ボタン214を操作する。   When the basic information setting page is displayed on the initial setting device, the user inputs the mode, IP address, subnet mask, and default gateway IP address to be set in the device monitoring device 10 using a mouse, a keyboard, and the like. The IP address of the device monitoring apparatus 10 in the main mode is input and the setting button 214 is operated.

ここで、ユーザは、当該機器監視装置10をメインモードで動作させる場合には、モード選択領域2121においてメインモードを選択して入力し、メインモード機器監視装置IPアドレス設定領域2122に入力することなく、自機IPアドレス設定領域2131に当該機器監視装置10のIPアドレスを入力する。または、モード選択領域2121においてメインモードを選択して入力し、メインモード機器監視装置IPアドレス設定領域2122にも当該機器監視装置10のIPアドレスを入力するように構成してもよい。この場合において、メインモード機器監視装置IPアドレス設定領域2122におけるIPアドレスと自機IPアドレス設定領域2131におけるIPアドレスとは、同一となる。このため、入力ミスや入力の手間を省く観点から、モード選択領域2121においてメインモードが選択された場合にメインモード機器監視装置IPアドレス設定領域2122におけるIPアドレスを自機IPアドレス設定領域2131に自動的に転記するように構成してもよい。   Here, when operating the device monitoring apparatus 10 in the main mode, the user selects and inputs the main mode in the mode selection area 2121 and does not input the main mode apparatus monitoring apparatus IP address setting area 2122. Then, the IP address of the device monitoring apparatus 10 is input to the own device IP address setting area 2131. Alternatively, the main mode may be selected and input in the mode selection area 2121, and the IP address of the apparatus monitoring apparatus 10 may be input to the main mode apparatus monitoring apparatus IP address setting area 2122. In this case, the IP address in the main mode device monitoring apparatus IP address setting area 2122 and the IP address in the own apparatus IP address setting area 2131 are the same. For this reason, from the viewpoint of saving input mistakes and input trouble, when the main mode is selected in the mode selection area 2121, the IP address in the main mode device monitoring apparatus IP address setting area 2122 is automatically transferred to the own apparatus IP address setting area 2131. You may comprise so that it may transcribe | transfer.

一方、ユーザは、当該機器監視装置10をサブモードで動作させる場合には、モード選択領域2121においてサブモードを選択して入力し、メインモード機器監視装置IPアドレス設定領域2122にメインモードに割り当てられた機器監視装置10のIPアドレスを入力し、自機IPアドレス設定領域2131に当該機器監視装置10のIPアドレスを入力する。   On the other hand, when operating the device monitoring apparatus 10 in the sub mode, the user selects and inputs the sub mode in the mode selection area 2121 and is assigned to the main mode in the main mode apparatus monitoring apparatus IP address setting area 2122. The IP address of the device monitoring apparatus 10 is input, and the IP address of the device monitoring apparatus 10 is input to the own device IP address setting area 2131.

設定ボタン214が操作されると、初期設定装置は、入力されているモード、メインモードの機器監視装置10のIPアドレス、IPアドレス、サブネットマスク及びデフォルトゲートウェイのIPアドレスを機器監視装置10に送信する。初期設定処理部114は、初期設定装置から受信したこれらモード、メインモードの機器監視装置10のIPアドレス、IPアドレス、サブネットマスク及びデフォルトゲートウェイのIPアドレスをモード情報及び基本情報としてモード情報記憶部121及び基本情報記憶部122にそれぞれ記憶する。   When the setting button 214 is operated, the initial setting device transmits the input mode, the IP address of the device monitoring device 10 in the main mode, the IP address, the subnet mask, and the IP address of the default gateway to the device monitoring device 10. . The initial setting processing unit 114 receives the mode information received from the initial setting device, the IP address, the IP address, the subnet mask, and the IP address of the default gateway of the device monitoring device 10 in the main mode as mode information and basic information. And the basic information storage unit 122 respectively.

そして、モードがメインモードであると判断すると、初期設定処理部114は、初期設定情報記憶部125に記憶されている動作情報設定ページを初期設定装置に送信する。動作情報設定ページを受信すると、初期設定装置は、動作情報設定ページをブラウザによって表示する。なお、モードがサブモードである場合には、初期設定処理部114は、この初期設定処理を終了する。   When determining that the mode is the main mode, the initial setting processing unit 114 transmits the operation information setting page stored in the initial setting information storage unit 125 to the initial setting device. When receiving the operation information setting page, the initial setting device displays the operation information setting page by the browser. When the mode is the sub mode, the initial setting processing unit 114 ends this initial setting processing.

動作情報設定ページ202は、例えば、図5に示すように、「動作情報設定画面」というページのタイトルが表示されるタイトル表示領域221と、監視サーバ16のIPアドレスを入力して設定する監視サーバIPアドレス設定領域222と、当該機器監視装置10が監視対象とすべき機器11を入力して設定する監視対象機器設定領域223と、これら監視サーバIPアドレス設定領域222及び監視対象機器設定領域223に入力されたデータを機器監視装置10に送信してこれらデータを機器監視装置10に設定させるための設定ボタン224とを備えて構成される。監視対象機器設定領域223には、機器11の通信アドレスである機器アドレスを表示する機器アドレスフィールド、監視対象の機器11とする場合にその旨を入力して表示する対象フィールド、及び、監視対象外の機器11とする場合にその旨を入力して表示する対象外フィールドの各フィールド備え、機器アドレスごとにレコードが作成されたテーブルが表示される。機器アドレスフィールドには、本実施形態では下位NT2の通信プロトコルにRS485を採用していることから、0から31までの整数値が記入されており、機器アドレスフィールドに記入されている機器アドレスを持つ機器11が監視の対象又は対象外とされることに応じて対象フィールド又は対象外フィールドにその旨を示す符号、例えば「●」が表示される。図5に示す例では、機器アドレスが「0」、「1」、「2」、「3」、「7」、「8」及び「9」の機器11が監視対象とされ、機器アドレスが「4」、「5」及び「6」の機器11が監視対象外とされている。   For example, as shown in FIG. 5, the operation information setting page 202 includes a title display area 221 in which the title of the page “operation information setting screen” is displayed, and a monitoring server that is set by inputting the IP address of the monitoring server 16. In the IP address setting area 222, the monitoring target apparatus setting area 223 for inputting and setting the apparatus 11 to be monitored by the apparatus monitoring apparatus 10, the monitoring server IP address setting area 222 and the monitoring target apparatus setting area 223 A setting button 224 for transmitting the input data to the device monitoring apparatus 10 and causing the device monitoring apparatus 10 to set the data is configured. In the monitoring target device setting area 223, a device address field for displaying a device address which is a communication address of the device 11, a target field for inputting and displaying the device address to be monitored, and a non-monitoring target When a device 11 is selected, a table in which a record is created for each device address provided for each non-target field to be entered and displayed is displayed. In this embodiment, since RS485 is adopted as the communication protocol of the lower NT2 in this embodiment, an integer value from 0 to 31 is entered, and the device address is entered in the device address field. In response to the device 11 being monitored or excluded, a symbol indicating that, for example, “●” is displayed in the target field or the non-target field. In the example shown in FIG. 5, the devices 11 whose device addresses are “0”, “1”, “2”, “3”, “7”, “8”, and “9” are monitored, and the device address is “ The devices 11 of “4”, “5” and “6” are not monitored.

デフォルトでは実際に接続されているか否かにかかわらず最大接続可能台数全てに対しポーリングするような通信プロトコルにおいて、このように監視対象の機器を指定することによって、実際には未接続である機器アドレスや監視対象としない機器アドレスに対してポーリングを行う無駄を省くことができ、また、ポーリングを行わない機器アドレスに対しては記憶部103に記憶領域を確保する必要がないので、その分だけ記憶部103の記憶領域を有効に活用することができる。   By default, in the communication protocol that polls all the maximum connectable units regardless of whether they are actually connected or not, by specifying the device to be monitored in this way, the device address that is not actually connected In addition, it is possible to eliminate the waste of polling device addresses that are not subject to monitoring, and it is not necessary to secure a storage area in the storage unit 103 for device addresses that are not polled. The storage area of the unit 103 can be used effectively.

ユーザは、動作情報設定ページ202が初期設定装置に表示されると、マウスやキーボード等を用いて、機器監視装置10に設定する監視サーバ16のIPアドレス及び監視対象とするべき機器11を入力し、設定ボタン224を操作する。   When the operation information setting page 202 is displayed on the initial setting device, the user inputs the IP address of the monitoring server 16 to be set in the device monitoring device 10 and the device 11 to be monitored using a mouse or a keyboard. , The setting button 224 is operated.

設定ボタン224が操作されると、初期設定装置は、入力されている監視サーバ16のIPアドレス及び監視対象とするべき機器11の情報を機器監視装置10に送信する。初期設定処理部114は、初期設定装置から受信したこれら監視サーバ16のIPアドレス及び監視対象とするべき機器11の情報を動作情報として動作情報記憶部122に記憶する。そして、初期設定処理部114は、この初期設定処理を終了する。   When the setting button 224 is operated, the initial setting device transmits the input IP address of the monitoring server 16 and information on the device 11 to be monitored to the device monitoring device 10. The initial setting processing unit 114 stores the IP address of the monitoring server 16 received from the initial setting device and information on the device 11 to be monitored in the operation information storage unit 122 as operation information. Then, the initial setting processing unit 114 ends this initial setting processing.

このように動作することによって機器監視装置10には、モードの設定、基本情報の設定及びメインモードが設定された場合には動作情報の設定が行われる。   By operating in this way, the device monitoring apparatus 10 is set with operation information when mode setting, basic information setting, and main mode are set.

次に、起動処理について説明する。図6は、起動処理の動作を示すフローチャートである。   Next, the activation process will be described. FIG. 6 is a flowchart showing the operation of the activation process.

上述の初期設定が終了し、機器監視システム1の施工が完了すると、各装置の電源が投入される。例えばこの機器監視装置10の電源が投入されると、制御部101の起動処理部113が起動される。なお、初期設定処理部114が初期設定処理の終了の際に起動処理部113を起動するように構成してもよい。   When the above initial setting is completed and the construction of the equipment monitoring system 1 is completed, the power of each device is turned on. For example, when the device monitoring apparatus 10 is turned on, the activation processing unit 113 of the control unit 101 is activated. Note that the initial setting processing unit 114 may be configured to start the start processing unit 113 when the initial setting processing ends.

図6において、起動処理部113は、記憶部103の基本情報記憶部122に基本情報が記憶されているか否かをチェックする(S11)。この基本情報のチェックは、例えば、基本情報記憶部122がデフォルトの状態と異なるか否かによって判断される。なお、チェックの結果、基本情報が基本情報記憶部122に記憶されていない場合には、起動処理部113は、施工者等のユーザに基本情報が記憶されていない旨の提示や初期設定処理を促す旨の提示等を行うように構成してもよい。この提示は、例えば、基本情報のチェック結果を表示するLEDを機器監視装置10にさらに備えさせてこのLEDを点灯させたり、LCDを機器監視装置10にさらに備えさせてこのLCDに基本情報のチェック結果を示すメッセージを表示させたりするように構成すればよい。   In FIG. 6, the activation processing unit 113 checks whether basic information is stored in the basic information storage unit 122 of the storage unit 103 (S11). This basic information check is determined, for example, by whether or not the basic information storage unit 122 is different from the default state. If the basic information is not stored in the basic information storage unit 122 as a result of the check, the activation processing unit 113 performs a presentation or initial setting process indicating that the basic information is not stored in a user such as a constructor. You may comprise so that the prompt to the effect etc. may be performed. For example, the device monitoring device 10 is further provided with an LED for displaying the basic information check result, and the LED is turned on, or the device monitoring device 10 is further provided with an LCD to check the basic information. What is necessary is just to comprise so that the message which shows a result may be displayed.

次に、起動処理部113は、モード情報記憶部121に記憶されているモードがメインモードであるか否かを判断する(S12)。   Next, the activation processing unit 113 determines whether or not the mode stored in the mode information storage unit 121 is the main mode (S12).

判断の結果、モードがメインモードである場合(YES)には、起動処理部113は、処理S11と同様に、記憶部103の動作情報記憶部123に動作情報が記憶されているか否かをチェックする(S13)。次に、起動処理部113は、上位NT3における監視サーバ16から現在時刻を示す時刻情報を取得して、その現在時刻をカレンダ部115にセットする(S14)。そして、起動処理部113は、メインモード処理部111を起動し(S15)、この起動処理を終了する。   As a result of the determination, if the mode is the main mode (YES), the activation processing unit 113 checks whether or not the operation information is stored in the operation information storage unit 123 of the storage unit 103, similarly to the process S11. (S13). Next, the activation processing unit 113 acquires time information indicating the current time from the monitoring server 16 in the upper NT3, and sets the current time in the calendar unit 115 (S14). Then, the activation processing unit 113 activates the main mode processing unit 111 (S15), and ends this activation processing.

一方、処理S12の判断の結果、モードがメインモードではない場合(NO)、即ち、モードがサブモードである場合には、基本情報記憶部112のメインモードの機器監視装置10のIPアドレスを用いて、動作情報の送信を要求する旨の情報を収容した通信信号(動作情報取得要求信号)を上位NT3でメインモードで動作する機器監視装置10に送信する(S21)。   On the other hand, if the mode is not the main mode as a result of the determination in step S12 (NO), that is, if the mode is the sub mode, the IP address of the main mode device monitoring apparatus 10 in the basic information storage unit 112 is used. Then, a communication signal (operation information acquisition request signal) containing information requesting transmission of operation information is transmitted to the device monitoring apparatus 10 operating in the main mode at the upper NT3 (S21).

この動作情報取得要求信号を受信した機器監視装置10におけるメインモード処理部111は、記憶部103の動作情報記憶部123に記憶されている動作情報を収容する通信信号(動作情報信号)を返信する。   The main mode processing unit 111 in the device monitoring apparatus 10 that has received the operation information acquisition request signal returns a communication signal (operation information signal) that stores the operation information stored in the operation information storage unit 123 of the storage unit 103. .

この動作情報信号の返信を受信すると、起動処理部113は、動作情報信号に収容されている動作情報を動作情報記憶部123に記憶する(S22)。このようにサブモードに設定された機器監視装置10は、動作情報をメインモードに設定された機器監視装置10から取得するので、施工者等のユーザは、動作情報をメインモードに設定した機器監視装置10のみに入力すればよいから、省力化を図ることができ、サブモードの機器監視装置10において入力ミスが生じる機会がない。また、メインモードの機器監視装置10とサブモードの機器監視装置10との間で、動作情報の齟齬が生じることもない。   When receiving the reply of the operation information signal, the activation processing unit 113 stores the operation information accommodated in the operation information signal in the operation information storage unit 123 (S22). Since the device monitoring device 10 set in the sub mode in this way acquires the operation information from the device monitoring device 10 set in the main mode, a user such as a constructor can monitor the device in which the operation information is set in the main mode. Since it is sufficient to input only to the device 10, labor saving can be achieved, and there is no opportunity for an input error to occur in the device monitoring device 10 in the sub mode. In addition, there is no occurrence of an operation information discrepancy between the main mode device monitoring device 10 and the sub mode device monitoring device 10.

次に、起動処理部113は、処理S11と同様に、動作情報記憶部123に動作情報が記憶されているか否かをチェックする(S23)。次に、起動処理部113は、上位NT3における監視サーバ16から現在時刻を示す時刻情報を取得して、その現在時刻をカレンダ部115にセットする(S24)。そして、起動処理部113は、サブモード処理部111を起動し(S25)、この起動処理を終了する。   Next, the activation processing unit 113 checks whether or not the operation information is stored in the operation information storage unit 123, similarly to the process S11 (S23). Next, the activation processing unit 113 acquires time information indicating the current time from the monitoring server 16 in the upper NT3, and sets the current time in the calendar unit 115 (S24). Then, the activation processing unit 113 activates the sub-mode processing unit 111 (S25), and ends this activation process.

このように動作することによって機器監視装置10は、モード情報記憶部121に記憶されているモード情報に応じてメインモード又はサブモードの何れか一方の機能で起動する。   By operating in this way, the device monitoring apparatus 10 is activated by one of the functions of the main mode and the sub mode according to the mode information stored in the mode information storage unit 121.

ここで、カレンダ部115の時刻合わせは、起動処理で実施するだけでなく、例えば半日に1回や1日に1回や2日に1回等、定期的に実施され、各機器監視装置10間において時間的な同期を略同一にとる。   Here, the time adjustment of the calendar unit 115 is not only performed in the startup process, but is also periodically performed, for example, once every half day, once a day, or once every two days. The time synchronization between them is almost the same.

次に、メインモード処理について説明する。図7は、第1の実施形態におけるメインモード処理を示すフローチャートである。図7において、メインモード処理部111は、起動処理部113によって起動されると、カレンダ部115から現在時刻を取得し、現在時刻が正時であるか否かを判断する(S31)。正時とは、毎時00分である。処理S31は、後述から分かるように、機器監視装置10が機器11から監視情報を収集するタイミングを判断する処理であるから、本実施形態のように正時ごとに機器11から監視情報を収集する場合には、処理S31は、正時であるか否かの判断となるが、30分ごとや6時間ごとや1日ごと等で機器11から監視情報を取得する場合には、これに応じて30分ごとや6時間ごとや1日ごと等の判断となる。   Next, the main mode process will be described. FIG. 7 is a flowchart showing main mode processing in the first embodiment. In FIG. 7, when activated by the activation processing unit 113, the main mode processing unit 111 acquires the current time from the calendar unit 115, and determines whether or not the current time is correct (S31). The hour is 00 minutes every hour. As will be described later, the process S31 is a process for determining the timing at which the device monitoring apparatus 10 collects the monitoring information from the device 11, so that the monitoring information is collected from the device 11 at every hour as in this embodiment. In this case, the process S31 is a determination as to whether it is the hour, but when monitoring information is acquired from the device 11 every 30 minutes, every 6 hours, every day, or the like, Judgment is made every 30 minutes, every 6 hours, or every day.

判断の結果、正時である場合(YES)には、メインモード処理部111は、日またぎであるか否かを判断する。即ち、0時であるか否かを判断する(S32)。判断の結果、日をまたいでいない場合(NO)には、メインモード処理部111は、処理S34を実行する。一方、判断の結果、日をまたいでいる場合(YES)には、メインモード処理部111は、上位NT3における監視サーバ16から現在時刻を示す時刻情報を取得して、その現在時刻をカレンダ部115にセットし(S33)、処理S34を実行する。   As a result of the determination, when it is the hour (YES), the main mode processing unit 111 determines whether or not the date is over. That is, it is determined whether it is 0 o'clock (S32). As a result of the determination, when the date does not cross the day (NO), the main mode processing unit 111 executes the process S34. On the other hand, if the result of the determination is that the date has crossed the day (YES), the main mode processing unit 111 acquires time information indicating the current time from the monitoring server 16 in the higher-order NT3, and the current time is the calendar unit 115. (S33) and process S34 is executed.

処理S34において、メインモード処理部111は、サブモードの機器監視装置10から状態の確認を要求する旨の情報を収容する通信信号(状態確認要求信号)の受信待ちを行って、そして、メインモード処理部111は、上位NT3で状態確認要求信号を受信したか否かを判断する(S35)。ここで、処理S34における状態確認要求信号の受信待ちの時間は、仕様によって決定され、例えば、30秒や45秒や1分等である。   In step S34, the main mode processing unit 111 waits for reception of a communication signal (state confirmation request signal) containing information requesting state confirmation from the device monitoring apparatus 10 in the sub mode, and the main mode. The processing unit 111 determines whether or not the status check request signal is received by the upper NT3 (S35). Here, the reception waiting time of the state confirmation request signal in the process S34 is determined by the specification, and is, for example, 30 seconds, 45 seconds, 1 minute, or the like.

判断の結果、状態確認要求信号を受信しない場合(NO)には、メインモード処理部111は、処理S39を実行する。なお、状態確認要求信号を受信しない場合には、状態確認要求信号の受信待ちのタイムアウト(Timeout)も含む。このようにタイムアウトの場合も含めることによって、取り外されているあるいはオフラインにされている等でメインモードの機器監視装置10のメンテナンスによる異常やメインモードの機器監視装置10及びサブモードの機器監視装置の間に生じた通信上の障害による異常も認識可能である。   As a result of the determination, when the state confirmation request signal is not received (NO), the main mode processing unit 111 executes a process S39. In the case where the status confirmation request signal is not received, a timeout for waiting to receive the status confirmation request signal (Timeout) is also included. By including the time-out case as described above, an abnormality caused by the maintenance of the main-mode device monitoring device 10 due to being removed or being offline, the main-mode device monitoring device 10 and the sub-mode device monitoring device. It is also possible to recognize anomalies due to communication failures that occurred in the meantime.

一方、処理S35における判断の結果、状態確認要求信号を受信した場合(YES)には、メインモード処理部111は、自機の状態を確認する(S36)。この自機の状態の確認は、機器監視装置10が下位NT2で機器11から監視情報を収集することにおいて支障のある状態であるか否かの確認である。この自機の状態の確認は、本実施形態では、例えば、監視情報記憶部124の使用状況のチェック、ワーキングメモリの使用状況のチェック、プロセスの状態のチェック等の自機の状態を確認するCGI(Common Gateway Interface)プログラムを実行することによって行われる。このため、状態確認要求信号は、本実施形態では、HTTPによるこのCGIプログラムの実行要求である。   On the other hand, as a result of the determination in step S35, when the state confirmation request signal is received (YES), the main mode processing unit 111 confirms the state of the own device (S36). The confirmation of the state of the own device is confirmation of whether or not the device monitoring apparatus 10 is in a trouble state in collecting monitoring information from the device 11 at the lower NT2. In this embodiment, the status of the own device is confirmed by, for example, CGI for confirming the status of the own device such as a check of the use status of the monitoring information storage unit 124, a check of the use status of the working memory, and a check of the process status. (Common Gateway Interface) This is done by executing a program. For this reason, in this embodiment, the status confirmation request signal is an execution request for this CGI program by HTTP.

メインモード処理部111は、自機の状態の確認による結果に基づいて自機の状態が正常であるか否かを判断する(S37)。   The main mode processing unit 111 determines whether or not the state of the own device is normal based on the result of confirmation of the state of the own device (S37).

判断の結果、自機の状態が正常である場合(YES)には、メインモード処理部111は、自機の状態が正常である旨を示す情報を収容した通信信号(状態正常信号)を状態確認要求信号の送信元(サブモードの機器監視装置10)に返信する(S38)。   As a result of the determination, if the state of the own device is normal (YES), the main mode processing unit 111 displays a communication signal (state normal signal) containing information indicating that the state of the own device is normal. It returns to the transmission source of the confirmation request signal (sub-mode device monitoring apparatus 10) (S38).

次に、メインモード処理部111は、監視対象の機器11から監視情報を取得する(S39)。より具体的には、メインモード処理部111は、動作情報記憶部123の動作情報を参照し、監視対象である機器11に対し機器11の監視情報の送信を要求する旨の情報を収容した通信信号(データ送信要求信号)を下位NT2に送信する。自機宛てのデータ送信要求信号を受信した機器11は、機器11の監視情報を収容した通信信号(データ返信信号)をデータ送信要求信号の送信元(メインモードの機器監視装置10)に返信する。このデータ返信信号を受信すると、メインモード処理部111は、監視情報をワーキングメモリに一時的に記憶する。こうしてメインモード処理部111は、1個の機器11から監視情報を取得する。   Next, the main mode processing unit 111 acquires monitoring information from the monitoring target device 11 (S39). More specifically, the main mode processing unit 111 refers to the operation information in the operation information storage unit 123, and contains communication information requesting the monitoring target device 11 to transmit the monitoring information of the device 11. A signal (data transmission request signal) is transmitted to the lower NT2. The device 11 that has received the data transmission request signal addressed to itself returns a communication signal (data return signal) containing the monitoring information of the device 11 to the transmission source of the data transmission request signal (device monitoring apparatus 10 in the main mode). . When the data return signal is received, the main mode processing unit 111 temporarily stores the monitoring information in the working memory. In this way, the main mode processing unit 111 acquires monitoring information from one device 11.

次に、メインモード処理部111は、動作情報記憶部123の動作情報に基づいて、監視対象である全ての機器11からデータの取得が完了したか否かを判断する(S40)。判断の結果、監視情報が未取得の機器11がある場合(NO)には、メインモード処理部111は、処理を処理S39に戻す。このような処理S39及び処理S40を実行することにより、メインモード処理部111は、全ての監視対象の機器11から監視情報を取得するまで、動作情報記憶部123の動作情報に基づいて監視対象である機器11に対し順次にポーリングを行うことで機器11から監視情報を収集する。   Next, the main mode processing unit 111 determines whether acquisition of data from all the devices 11 to be monitored is completed based on the operation information in the operation information storage unit 123 (S40). As a result of the determination, if there is a device 11 for which monitoring information has not been acquired (NO), the main mode processing unit 111 returns the process to step S39. By executing such processing S39 and S40, the main mode processing unit 111 is a monitoring target based on the operation information in the operation information storage unit 123 until monitoring information is acquired from all the monitoring target devices 11. Monitoring information is collected from the device 11 by sequentially polling a certain device 11.

一方、処理S40で全ての監視対象の機器11から監視情報を取得済みである場合(YES)には、メインモード処理部111は、ワーキングメモリに一時的に記憶した機器11の監視情報に月、日及び時の情報を付してこれらを監視情報テーブルに登録して監視機器情報記憶部124に記憶する(S41)。   On the other hand, if the monitoring information has been acquired from all the devices 11 to be monitored in the process S40 (YES), the main mode processing unit 111 displays the monitoring information of the device 11 temporarily stored in the working memory in the month, The date and time information is added and registered in the monitoring information table and stored in the monitoring device information storage unit 124 (S41).

そして、メインモード処理部111は、上位NT3で動作情報記憶部123に記憶されている監視サーバ16のIPアドレスを用いて、機器11の監視情報と当該監視情報を収集した月、日及び時の情報とを収容した通信信号(収集データ送信信号)を監視サーバ16に送信し(S42)、処理を処理S31に戻す。   Then, the main mode processing unit 111 uses the IP address of the monitoring server 16 stored in the operation information storage unit 123 in the upper NT3, and collects the monitoring information of the device 11 and the month, day, and time when the monitoring information is collected. A communication signal (collected data transmission signal) containing the information is transmitted to the monitoring server 16 (S42), and the process returns to the process S31.

このようにメインモード処理部111は、自機が正常である場合には、処理S31、処理S32、(処理S33)、処理S34、処理S35、処理S36、処理S37、処理S38、処理S39、処理S40、処理S41及び処理S42を実行することによって、全ての監視対象の機器11から監視情報を収集し、収集した月、日及び時の情報を付して収集した監視情報を監視情報記憶部124に記憶すると共に監視サーバ16に送信する。こうしてメインモードに設定されている機器監視装置10は、機器11を集中的に監視する。   As described above, the main mode processing unit 111 performs processing S31, processing S32, (processing S33), processing S34, processing S35, processing S36, processing S37, processing S38, processing S39, processing when the device itself is normal. By executing S40, S41, and S42, monitoring information is collected from all the devices 11 to be monitored, and the monitoring information collected by adding the collected month, date, and time information to the monitoring information storage unit 124. And transmitted to the monitoring server 16. Thus, the device monitoring apparatus 10 set to the main mode centrally monitors the device 11.

また、処理S37の判断の結果、自機の状態が正常ではない場合(NO)には、メインモード処理部111は、自機の状態が異常である旨を示す情報を収容した通信信号(状態異常信号)を状態確認要求信号の送信元(サブモードの機器監視装置10)に返信し(S43)、処理を処理S31に戻す。   Further, when the state of the own device is not normal as a result of the determination in step S37 (NO), the main mode processing unit 111 stores a communication signal (state that contains information indicating that the state of the own device is abnormal) (Abnormal signal) is returned to the transmission source of the state confirmation request signal (sub-mode device monitoring apparatus 10) (S43), and the process returns to process S31.

この自機の状態が正常ではない場合、即ち、自機の状態が異常である場合は、機器監視装置10が下位NT2で機器11から監視情報を収集することにおいて支障のある状態であり、例えば、制御部101を構成するマイクロプロセッサが過負荷になっている場合、監視情報記憶部124の使用容量が所定値(例えば、90%や94%や98%等)を越えている場合、ワーキングメモリの使用容量が所定値(例えば、75%や80%や85%等)を越えている場合、あるいは、必要なプロセスがサスペンド状態である場合等である。   When the state of the own device is not normal, that is, when the state of the own device is abnormal, the device monitoring apparatus 10 is in a state that hinders collection of monitoring information from the device 11 at the lower NT2, for example, When the microprocessor constituting the control unit 101 is overloaded, when the usage capacity of the monitoring information storage unit 124 exceeds a predetermined value (for example, 90%, 94%, 98%, etc.), the working memory The usage capacity exceeds a predetermined value (for example, 75%, 80%, 85%, etc.), or the necessary process is in a suspended state.

このようにメインモード処理部111は、処理S31、処理S32、(処理S33)、処理S34、処理S35、処理S36、処理S37及び処理S43を実行することによって、自機が異常であることをサブモードの機器監視装置10に通知することができる。   In this way, the main mode processing unit 111 executes the processing S31, processing S32, (processing S33), processing S34, processing S35, processing S36, processing S37, and processing S43, thereby substituting that the own device is abnormal. The device monitoring device 10 in the mode can be notified.

一方、処理S31の判断の結果、正時ではない場合(NO)には、メインモード処理部111は、当該メインモードの機器監視装置10が正常ではないために機器11の監視情報が収集することができずに欠落してしまった監視情報記憶部124における機器11の監視情報を復旧する要求を示す情報を収容する通信信号(データ復旧要求信号)の受信待ちを行って(S51)、そして、メインモード処理部111は、上位NT3でデータ復旧要求信号を受信したか否かを判断する(S52)。ここで、処理S51におけるデータ復旧要求信号の受信待ちの時間は、例えば、30秒や45秒や1分である。   On the other hand, if the result of determination in step S31 is not the correct time (NO), the main mode processing unit 111 collects the monitoring information of the device 11 because the device monitoring device 10 in the main mode is not normal. Waiting for reception of a communication signal (data recovery request signal) containing information indicating a request to recover the monitoring information of the device 11 in the monitoring information storage unit 124 that has been lost due to failure (S51), and The main mode processing unit 111 determines whether or not the data restoration request signal has been received by the upper NT3 (S52). Here, the reception waiting time of the data recovery request signal in the process S51 is, for example, 30 seconds, 45 seconds, or 1 minute.

判断の結果、データ復旧要求信号を受信しない場合(NO)には、メインモード処理部111は、処理S31を実行する。なお、データ復旧要求信号を受信しない場合には、データ復旧要求信号の受信待ちのタイムアウトも含む。一方、判断の結果、データ復旧要求信号を受信した場合(YES)には、メインモード処理部111は、当該メインモードの機器監視装置10が復旧データの受信準備が完了している旨の情報を収容した通信信号(データ復旧準備完了信号)をデータ復旧要求信号の送信元(サブモードの機器監視装置10)に返信する(S53)。欠落したデータの復旧は、当該メインモードの機器監視装置10が機器11の監視を行っていない時間帯に行う必要があることから、復旧データの受信準備の完了は、本実施形態では、少なくとも、当該メインモードの機器監視装置10が全ての監視対象の機器11から監視情報を収集してこの収集した監視情報を監視情報記憶部124に記憶すると共に監視サーバ16に送信した後である。   As a result of the determination, when the data recovery request signal is not received (NO), the main mode processing unit 111 executes the process S31. Note that when a data recovery request signal is not received, a timeout for waiting for reception of the data recovery request signal is included. On the other hand, if the data recovery request signal is received as a result of the determination (YES), the main mode processing unit 111 provides information indicating that the main mode device monitoring apparatus 10 is ready to receive recovery data. The accommodated communication signal (data recovery preparation completion signal) is returned to the data recovery request signal transmission source (sub-mode device monitoring apparatus 10) (S53). Since the recovery of the missing data needs to be performed in a time period when the device monitoring apparatus 10 in the main mode is not monitoring the device 11, the completion of the preparation for receiving the recovered data is at least in this embodiment, This is after the device monitoring apparatus 10 in the main mode collects monitoring information from all the devices 11 to be monitored and stores the collected monitoring information in the monitoring information storage unit 124 and transmits it to the monitoring server 16.

後述のサブモード処理部112の動作説明で詳述するが、サブモードの機器監視装置10は、データ復旧準備完了信号を受信すると、機器11の監視情報の容量に応じて1又は複数に分けて、当該メインモードの機器監視装置10の代わりに機器11から収集した監視情報とこの監視情報を収集した月、日及び時の情報とを収容した通信信号(復旧データ送信信号)を送信し、全てのデータが送信し終わると、データの送信が終了した旨の情報を収容した通信信号(データ送信終了通知信号)を当該メインモードの機器監視装置10に送信する。   As will be described in detail in the operation description of the sub-mode processing unit 112 described later, when receiving the data recovery preparation completion signal, the sub-mode device monitoring apparatus 10 divides it into one or a plurality according to the capacity of the monitoring information of the device 11. The communication signal (recovery data transmission signal) containing the monitoring information collected from the device 11 instead of the device monitoring apparatus 10 in the main mode and the information of the month, date and time when the monitoring information was collected is transmitted. When the data is transmitted, a communication signal (data transmission end notification signal) containing information indicating that the data transmission is completed is transmitted to the device monitoring apparatus 10 in the main mode.

メインモード処理部111は、復旧データ送信信号を受信すると、この復旧データ送信信号に収容されている月、日及び時の情報と機器の監視情報とをワーキングメモリに記憶する(S54)。そして、メインモード処理部111は、データ送信終了通知信号を受信したか否かを判断する(S55)。判断の結果、データ送信終了通知信号を受信していない場合(NO)には、メインモード処理部111は、処理を処理S54に戻して引き続き復旧データ送信信号の受信を行う。一方、判断の結果、データ送信終了通知信号を受信している場合(YES)には、メインモード処理部111は、ワーキングメモリに記憶されている月、日及び時の情報と機器の監視情報とを用いて、機器11の監視情報を収集することができずに欠落してしまった監視情報テーブルにおける機器11の監視情報を復旧し(S56)、処理を処理S31に戻す。ここで、復旧データ送信信号に収容されていた機器11の監視情報と同一時刻の機器11の監視情報が監視情報記憶部124の監視情報テーブルに登録されている場合には、メインモード処理部111は、復旧データ送信信号に収容されていた機器11の監視情報で上書きする。このように上書きしてしまうので、サブモードの機器監視装置10がメインモードの機器監視装置10の異常であるか否かの判断を誤判断したとしても機器監視システム1が機器11を監視することにおいて特に問題とならない。   When the main mode processing unit 111 receives the recovery data transmission signal, the main mode processing unit 111 stores the month, date, and time information accommodated in the recovery data transmission signal and the monitoring information of the device in the working memory (S54). Then, the main mode processing unit 111 determines whether or not a data transmission end notification signal has been received (S55). As a result of the determination, if the data transmission end notification signal has not been received (NO), the main mode processing unit 111 returns the process to step S54 and continues to receive the recovery data transmission signal. On the other hand, as a result of the determination, when the data transmission end notification signal is received (YES), the main mode processing unit 111 includes the month, date, and time information stored in the working memory and the device monitoring information. Is used to recover the monitoring information of the device 11 in the monitoring information table that has been lost because the monitoring information of the device 11 cannot be collected (S56), and the process returns to the processing S31. Here, when the monitoring information of the device 11 at the same time as the monitoring information of the device 11 accommodated in the recovery data transmission signal is registered in the monitoring information table of the monitoring information storage unit 124, the main mode processing unit 111. Is overwritten with the monitoring information of the device 11 accommodated in the recovery data transmission signal. Since the data is overwritten in this way, the device monitoring system 1 monitors the device 11 even if the device monitoring device 10 in the sub mode erroneously determines whether or not the device monitoring device 10 in the main mode is abnormal. There is no particular problem.

このようにメインモード処理部111は、自機が正常である場合に、処理S31、処理S51、処理S52、処理S53、処理S54、処理S55及び処理S56を実行することによって、自機が正常ではなかったために機器11から監視情報を収集することができなかった時間帯における機器11の監視情報をサブモードの機器監視装置10から受信し、機器11の監視情報を収集することができずに欠落してしまった監視情報記憶部124における機器11の監視情報を回復することができる。   As described above, the main mode processing unit 111 executes the process S31, the process S51, the process S52, the process S53, the process S54, the process S55, and the process S56 when the own apparatus is normal. The monitoring information of the device 11 in the time zone when the monitoring information could not be collected from the device 11 because it was not received from the device monitoring device 10 in the sub mode, and the monitoring information of the device 11 could not be collected and was missing The monitoring information of the device 11 in the monitoring information storage unit 124 that has been lost can be recovered.

次に、サブモード処理について説明する。図8は、第1の実施形態におけるサブモード処理を示すフローチャートである。図8において、サブモード処理部112は、起動処理部113によって起動されると、カレンダ部115から現在時刻を取得し、現在時刻が正時であるか否かを判断する(S61)。この処理S61も、上述した処理S31と同様に、機器監視装置10が機器11から監視情報を収集するタイミングを判断する処理である。   Next, sub mode processing will be described. FIG. 8 is a flowchart showing the sub-mode process in the first embodiment. In FIG. 8, when activated by the activation processing unit 113, the sub-mode processing unit 112 acquires the current time from the calendar unit 115 and determines whether or not the current time is on the hour (S61). This process S61 is also a process for determining the timing at which the device monitoring apparatus 10 collects monitoring information from the device 11 as in the above-described process S31.

判断の結果、正時ではない場合(NO)には、サブモード処理部112は、所定時間だけウェイト(wait)を行って(S62)、処理を処理S61に戻す。この所定時間は、仕様によって決定され、この所定時間の長短に応じてこのサブモード処理の1サイクルの実行時間も長短する。   As a result of the determination, if it is not the correct time (NO), the sub-mode processing unit 112 waits for a predetermined time (S62) and returns the process to the process S61. The predetermined time is determined according to the specification, and the execution time of one cycle of the sub-mode process is shortened according to the length of the predetermined time.

一方、判断の結果、正時である場合(YES)には、サブモード処理部112は、日またぎであるか否かを判断する。即ち、0時であるか否かを判断する(S63)。判断の結果、日をまたいでいない場合(NO)には、サブモード処理部112は、処理S65を実行する。一方、判断の結果、日をまたいでいる場合(YES)には、サブモード処理部112は、上位NT3における監視サーバ16から現在時刻を示す時刻情報を取得して、その現在時刻をカレンダ部115にセットし(S64)、処理S65を実行する。   On the other hand, if it is determined that the time is correct (YES), the sub-mode processing unit 112 determines whether or not the date is over. That is, it is determined whether it is 0 o'clock (S63). As a result of the determination, when the date does not cross over (NO), the sub-mode processing unit 112 executes the process S65. On the other hand, if the result of the determination is that the date has crossed the day (YES), the sub-mode processing unit 112 acquires time information indicating the current time from the monitoring server 16 in the higher-order NT3, and the current time is the calendar unit 115. (S64) and process S65 is executed.

処理S65において、サブモード処理部112は、メインモードの機器監視装置10の状態を知るべく、基本情報記憶部122に記憶されているメインモードの機器監視装置10のIPアドレスを用いて、メインモードの機器監視装置10宛てに状態確認要求信号を送信し、その返信を受信待ちする。   In step S65, the sub-mode processing unit 112 uses the IP address of the main-mode device monitoring device 10 stored in the basic information storage unit 122 to know the state of the main-mode device monitoring device 10 in the main mode. A status confirmation request signal is transmitted to the device monitoring apparatus 10 and a reply is awaited.

返信を受信すると、サブモード処理部112は、メインモードの機器監視装置10が異常であるか否かを判断する(S66)。   When receiving the reply, the sub-mode processing unit 112 determines whether or not the device monitoring apparatus 10 in the main mode is abnormal (S66).

判断の結果、メインモードの機器監視装置10が異常である場合、即ち、メインモードの機器監視装置10から状態異常信号を受信した場合(YES)には、サブモード処理部112は、監視対象の機器11からデータを取得する(S67)。なお、メインモードの機器監視装置10が異常である場合には、状態正常信号又は状態異常信号の返信がなく、返信の受信待ちのタイムアウトも含む。上述したように、異常には、メインモードの機器監視装置10が下位NT2で機器11から監視情報を収集することにおいて支障のある状態、メインモードの機器監視装置10及びサブモードの機器監視装置10の間に通信上の障害がある状態、及び、メインモードの機器監視装置10がメンテナンス中である状態を含む。   As a result of the determination, if the device monitoring apparatus 10 in the main mode is abnormal, that is, if a state abnormality signal is received from the device monitoring apparatus 10 in the main mode (YES), the sub-mode processing unit 112 is monitored. Data is acquired from the device 11 (S67). When the main mode device monitoring apparatus 10 is abnormal, there is no reply of the normal state signal or the abnormal state signal, and a timeout for waiting for reception of the reply is included. As described above, in the abnormal state, the main mode device monitoring apparatus 10 has a trouble in collecting monitoring information from the device 11 in the lower NT2, the main mode device monitoring apparatus 10 and the sub mode device monitoring apparatus 10 And a state in which the main mode device monitoring apparatus 10 is under maintenance.

ここで、処理S67をより具体的に説明すると、サブモード処理部112は、動作情報記憶部123の動作情報を参照し、監視対象である機器11に対しデータ送信要求信号を下位NT2に送信する。自機宛てのデータ送信要求信号を受信した機器11は、データ返信信号をデータ送信要求信号の送信元(サブモードの機器監視装置10)に返信する。このデータ返信信号を受信すると、サブモード処理部112は、データをワーキングメモリに一時的に記憶する。こうしてサブモード処理部112は、1個の機器11から監視情報を取得する。   Here, the process S67 will be described more specifically. The sub-mode processing unit 112 refers to the operation information in the operation information storage unit 123, and transmits a data transmission request signal to the lower-order NT2 with respect to the monitoring target device 11. . The device 11 that has received the data transmission request signal addressed to itself transmits a data return signal to the transmission source of the data transmission request signal (sub-mode device monitoring apparatus 10). When the data return signal is received, the sub-mode processing unit 112 temporarily stores the data in the working memory. In this way, the sub-mode processing unit 112 acquires monitoring information from one device 11.

次に、サブモード処理部112は、動作情報記憶部123の動作情報に基づいて、監視対象である全ての機器11からデータの取得が完了したか否かを判断する(S68)。判断の結果、監視情報が未取得の機器11がある場合(NO)には、サブモード処理部112は、処理を処理S67に戻す。このような処理S67及び処理S68を実行することにより、サブモード処理部112は、全ての監視対象の機器11から監視情報を取得するまで、動作情報記憶部123の動作情報に基づいて監視対象である機器11に対し順次にポーリングを行うことで機器11から監視情報を収集する。   Next, based on the operation information stored in the operation information storage unit 123, the sub-mode processing unit 112 determines whether data acquisition from all the devices 11 to be monitored has been completed (S68). As a result of the determination, if there is a device 11 for which monitoring information has not been acquired (NO), the sub-mode processing unit 112 returns the process to step S67. By executing such processing S67 and processing S68, the sub-mode processing unit 112 is the monitoring target based on the operation information in the operation information storage unit 123 until monitoring information is acquired from all the monitoring target devices 11. Monitoring information is collected from the device 11 by sequentially polling a certain device 11.

一方、処理S68で全ての監視対象の機器11から監視情報を取得済みである場合(YES)には、サブモード処理部112は、ワーキングメモリに一時的に記憶した機器11の監視情報に月、日及び時の情報を付して監視機器情報記憶部124に記憶する(S69)。   On the other hand, if the monitoring information has already been acquired from all the devices 11 to be monitored in the process S68 (YES), the sub-mode processing unit 112 adds the monitoring information of the device 11 temporarily stored in the working memory to the month, The date and time information is added and stored in the monitoring device information storage unit 124 (S69).

そして、サブモード処理部112は、上位NT3で動作情報記憶部123に記憶されている管理サーバ16のIPアドレスを用いて、収集データ送信信号を監視サーバ16に送信し(S70)、処理を処理S61に戻す。   Then, the sub-mode processing unit 112 transmits the collected data transmission signal to the monitoring server 16 using the IP address of the management server 16 stored in the operation information storage unit 123 in the upper NT3 (S70), and processes the processing. Return to S61.

このようにサブモード処理部112は、メインモードの機器監視装置10が異常である場合には、処理S61、処理S63、(処理S64)、処理S65、処理S66、処理S67、処理S68、処理S69及び処理S70を実行することによって、全ての監視対象の機器11から監視情報を収集し、月、日及び時の情報を付して収集した監視情報を監視情報記憶部124に記憶すると共に監視サーバ16に送信する。こうしてサブモードに設定されている機器監視装置10は、メインモードの機器監視装置10が異常である場合には、メインモードの機器監視装置10に代行して機器11を集中的に監視する。   As described above, when the device monitoring apparatus 10 in the main mode is abnormal, the sub-mode processing unit 112 performs processing S61, processing S63, (processing S64), processing S65, processing S66, processing S67, processing S68, processing S69. The monitoring information is collected from all the devices 11 to be monitored by executing the process S70, and the monitoring information collected with the month, date and time information is stored in the monitoring information storage unit 124 and the monitoring server 16 to send. In this way, the device monitoring device 10 set to the sub mode centrally monitors the device 11 on behalf of the device monitoring device 10 in the main mode when the device monitoring device 10 in the main mode is abnormal.

また、処理S66の判断の結果、メインモードの機器監視装置10が正常である場合、即ち、メインモードの機器監視装置10から状態正常信号を受信した場合(NO)には、サブモード処理部112は、監視情報記憶部124に機器11の監視情報が存在するか否かを判定することによって、メインモードの機器監視装置10に送信すべき機器11の監視情報があるか否かを判断する(S71)。   If the result of determination in step S66 is that the main mode device monitoring device 10 is normal, that is, if a state normal signal is received from the main mode device monitoring device 10 (NO), the submode processing unit 112 Determines whether there is monitoring information on the device 11 to be transmitted to the device monitoring apparatus 10 in the main mode by determining whether the monitoring information on the device 11 exists in the monitoring information storage unit 124 ( S71).

判断の結果、送信すべき機器11の監視情報がない場合(NO)には、サブモード処理部112は、処理を処理S61に戻す。一方、判断の結果、送信すべき機器11の監視情報がある場合(YES)には、サブモード処理部112は、基本情報記憶部122に記憶されているメインモードの機器監視装置10のIPアドレスを用いて、上位NT3でメインモードの機器監視装置10宛てにデータ復旧要求信号を送信し、その返信を受信待ちする(S72)。   As a result of the determination, if there is no monitoring information of the device 11 to be transmitted (NO), the sub-mode processing unit 112 returns the process to step S61. On the other hand, if there is monitoring information of the device 11 to be transmitted as a result of the determination (YES), the sub-mode processing unit 112 stores the IP address of the main-mode device monitoring device 10 stored in the basic information storage unit 122. Is transmitted to the device monitoring apparatus 10 in the main mode at the upper NT3, and the reply is awaited (S72).

次に、サブモード処理部112は、データ復旧準備完了信号を受信したか否かを判断する(S73)。判断の結果、データ復旧準備完了信号を受信しない場合(NO)には、サブモード処理部112は、処理を処理72に戻す。即ち、サブモード処理部112は、データ復旧準備完了信号を受信するまで繰り返し、上位NT3でメインモードの機器監視装置10宛てにデータ復旧要求信号を送信する。   Next, the sub-mode processing unit 112 determines whether or not a data recovery preparation completion signal has been received (S73). As a result of the determination, when the data recovery preparation completion signal is not received (NO), the sub-mode processing unit 112 returns the process to the process 72. That is, the sub-mode processing unit 112 repeatedly transmits a data recovery request signal to the main mode device monitoring apparatus 10 at the upper NT3 until a data recovery preparation completion signal is received.

一方、判断の結果、データ復旧準備完了信号を受信した場合(YES)には、サブモード処理部112は、監視情報記憶部124に記憶されている機器11の監視情報を復旧データ送信信号のデータサイズに合わせて区切り、復旧データ送信信号を送信する(S74)。   On the other hand, if the data recovery preparation completion signal is received as a result of the determination (YES), the submode processing unit 112 uses the monitoring information of the device 11 stored in the monitoring information storage unit 124 as the data of the recovery data transmission signal. The recovery data transmission signal is transmitted in accordance with the size (S74).

次に、サブモード処理部112は、監視情報記憶部124に記憶されている全ての機器11の監視情報について送信が完了したか否かを判断する(S75)。判断の結果、未送信のデータがある場合(NO)には、サブモード処理部112は、処理を処理74に戻して、引き続き復旧データ送信信号を送信する。一方、判断の結果、全ての機器11の監視情報送信した場合(YES)には、サブモード処理部112は、基本情報記憶部122に記憶されているメインモードの機器監視装置10のIPアドレスを用いて、上位NT3でデータ送信終了通知信号をメインモードの機器監視装置10宛てに送信し(S76)、処理を処理61に戻す。   Next, the sub-mode processing unit 112 determines whether transmission has been completed for the monitoring information of all the devices 11 stored in the monitoring information storage unit 124 (S75). If there is untransmitted data as a result of the determination (NO), the sub-mode processing unit 112 returns the process to the process 74 and continues to transmit the recovery data transmission signal. On the other hand, when the monitoring information of all the devices 11 is transmitted as a result of the determination (YES), the sub-mode processing unit 112 uses the IP address of the main-mode device monitoring apparatus 10 stored in the basic information storage unit 122. The upper NT3 transmits a data transmission end notification signal to the main mode device monitoring apparatus 10 (S76), and returns the process to the process 61.

このようにサブモード処理部112は、メインモードの機器監視装置10が異常となった後に正常に復帰した場合に、処理S61、処理S63、(処理S64)、処理S65、処理S66、処理S71、処理S72、処理S73、処理S74、処理S75及び処理S76を実行することによって、メインモードの機器監視装置10に代行して機器11から収集した監視情報をメインモードの機器監視装置10に送信する。   In this way, when the main mode device monitoring apparatus 10 returns to normal after the main mode device monitoring apparatus 10 becomes abnormal, the sub-mode processing unit 112 performs processing S61, processing S63, (processing S64), processing S65, processing S66, processing S71, By executing step S72, step S73, step S74, step S75, and step S76, the monitoring information collected from the device 11 on behalf of the device monitoring device 10 in the main mode is transmitted to the device monitoring device 10 in the main mode.

次に、上述した機器監視装置10の動作を、通常時、タイムアウトによる異常時、メインモードの機器監視装置における状態確認による異常時及び復旧時に分けて、シーケンス図を用いてより具体的に説明する。   Next, the operation of the device monitoring apparatus 10 described above will be described in more detail using a sequence diagram, divided into a normal time, an abnormality due to a timeout, an abnormality due to a state check in the main mode device monitoring apparatus, and a recovery time. .

図9は、第1の実施形態における通常時における機器監視システムの動作を示すシーケンス図である。図10は、第1の実施形態におけるタイムアウトによる異常時における機器監視システムの動作を示すシーケンス図である。図11は、第1の実施形態におけるメインモードの機器監視装置の状態確認による異常時における機器監視システムの動作を示すシーケンス図である。図12は、第1の実施形態における復旧時における機器監視システムの動作を示すシーケンス図である。   FIG. 9 is a sequence diagram illustrating the operation of the device monitoring system in the normal time according to the first embodiment. FIG. 10 is a sequence diagram illustrating the operation of the device monitoring system when an abnormality occurs due to timeout in the first embodiment. FIG. 11 is a sequence diagram illustrating the operation of the device monitoring system when an abnormality is detected by checking the state of the main mode device monitoring device according to the first embodiment. FIG. 12 is a sequence diagram showing the operation of the device monitoring system at the time of recovery in the first embodiment.

図1において、機器監視装置10−aがメインモードに設定されており、機器監視装置10−bがサブモードに設定されているとして、以下の説明を行う。   In FIG. 1, it is assumed that the device monitoring device 10-a is set to the main mode and the device monitoring device 10-b is set to the sub mode.

従って、初期設定処理では、ユーザは、基本情報設定ページ及び動作情報設定ページを用いて初期設定装置から基本情報及び動作情報を入力する。その結果、初期設定装置によってメインモードを示すモード情報、基本情報及び動作情報が機器監視装置10−aのモード情報記憶部121、基本情報記憶部122及び動作情報記憶部123にそれぞれ記憶され、機器監視装置10−aは、メインモードに設定される。そして、ユーザは、基本情報設定ページを用いて初期設定装置から基本情報を入力する。その結果、初期設定装置によってサブモードを示すモード情報及び基本情報が機器監視装置10−aのモード情報記憶部121及び基本情報記憶部122にそれぞれ記憶され、機器監視装置10−aは、サブモードに設定される。   Accordingly, in the initial setting process, the user inputs basic information and operation information from the initial setting device using the basic information setting page and the operation information setting page. As a result, mode information, basic information, and operation information indicating the main mode are stored in the mode information storage unit 121, basic information storage unit 122, and operation information storage unit 123 of the device monitoring device 10-a by the initial setting device, respectively. The monitoring device 10-a is set to the main mode. Then, the user inputs basic information from the initial setting device using the basic information setting page. As a result, mode information and basic information indicating the sub mode are stored in the mode information storage unit 121 and the basic information storage unit 122 of the device monitoring device 10-a by the initial setting device, respectively, and the device monitoring device 10-a Set to

また、起動処理では、図6において、機器監視装置10−aの制御部101における起動処理部113は、上述した処理S11で基本情報のチェック処理を実行し、処理S12でメインモードと判断する。そのため、機器監視装置10−aの起動処理部113は、処理S13、処理S14及び処理S15を実行することによって、動作情報のチェック処理及びカレンダ部115の時刻合わせ処理を行って、メインモード処理部111を起動する。一方、機器監視装置10−bの制御部101における起動処理部113は、上述した処理S11で基本情報のチェック処理を実行し、処理S12でサブモードと判断する。そのため、機器監視装置10−bの起動処理部113は、処理S21及び処理S22を実行することによって、メインモードの機器監視装置10−aから動作情報を取得して動作情報記憶部123に記憶する。そして、機器監視装置10−bの起動処理部113は、処理S23、処理S24及び処理S25を実行することによって、動作情報のチェック処理及びカレンダ部115の時刻合わせ処理を行って、サブモード処理部112を起動する。こうして機器監視システム1は、運用が開始される。   In the activation process, in FIG. 6, the activation processing unit 113 in the control unit 101 of the device monitoring apparatus 10-a executes the basic information check process in the above-described process S11, and determines the main mode in the process S12. Therefore, the activation processing unit 113 of the device monitoring apparatus 10-a performs processing information check processing and time setting processing of the calendar unit 115 by executing processing S13, processing S14, and processing S15, and the main mode processing unit. 111 is started. On the other hand, the activation processing unit 113 in the control unit 101 of the device monitoring apparatus 10-b executes the basic information check process in the above-described process S11, and determines the sub mode in the process S12. Therefore, the activation processing unit 113 of the device monitoring apparatus 10-b acquires the operation information from the device monitoring apparatus 10-a in the main mode and stores it in the operation information storage unit 123 by executing the processing S21 and the processing S22. . Then, the activation processing unit 113 of the device monitoring apparatus 10-b performs processing information check processing and time setting processing of the calendar unit 115 by executing processing S23, processing S24, and processing S25. 112 is started. Thus, the operation of the device monitoring system 1 is started.

まず、通常時における機器監視装置10の動作について説明する。通常時では、図7乃至図9において、機器監視装置10−aのメインモード処理部111は、上述した処理S31で正時であるか否か判断し、正時ではない場合には処理S51及び処理S52を実行後、処理S31に戻る。一方、機器監視装置10−bのサブモード処理部112は、処理S61で正時であるか否か判断し、正時ではない場合には処理S62を実行後、処理S61に戻る。   First, the operation of the device monitoring apparatus 10 during normal operation will be described. In the normal time, in FIGS. 7 to 9, the main mode processing unit 111 of the device monitoring apparatus 10-a determines whether or not it is the correct time in the above-described process S31. After executing step S52, the process returns to step S31. On the other hand, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines whether or not it is a correct time in the process S61. If not, it returns to the process S61 after executing the process S62.

正時になると、機器監視装置10−aのメインモード処理部111は、処理S31で正時であると判断し、処理S32及び必要に応じて処理S33を実行後、処理S34で状態確認要求信号の受信待ちを行う。   At the correct time, the main mode processing unit 111 of the device monitoring apparatus 10-a determines that it is the correct time in the process S31, and after executing the process S32 and the process S33 as necessary, the status check request signal is output in the process S34. Wait for reception.

一方、機器監視装置10−bのサブモード処理部112は、処理S61で正時であると判断し、処理S62及び必要に応じて処理S63を実行後、処理S65でメインモードの機器監視装置10−aへ状態確認要求信号を送信する。機器監視装置10−aのメインモード処理部111は、処理S35で状態確認要求信号を受信したか否かを判断し、状態確認要求信号を受信すると、処理S36で自機の状態の確認を行って、処理S37で正常か否かを判断する。ここでは、通常時であるから正常と判断され、処理S38で状態確認要求信号の送信元へ状態正常信号を返信する(C11−1)。   On the other hand, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines that it is the hour in the process S61, executes the process S62 and the process S63 as necessary, and then performs the process S65 in the main mode. Send a status confirmation request signal to -a. The main mode processing unit 111 of the device monitoring apparatus 10-a determines whether or not a state confirmation request signal has been received in step S35. When the state confirmation request signal is received, the main mode processing unit 111 confirms the state of the own device in step S36. In step S37, it is determined whether it is normal. Here, since it is normal time, it is determined to be normal, and a status normal signal is returned to the transmission source of the status confirmation request signal in process S38 (C11-1).

そして、機器監視装置10−aのメインモード処理部111は、処理S39及び処理S40で監視対象の全ての機器11から機器11の監視情報を収集し、処理S41で収集した機器11の監視情報を監視情報記憶部124に記憶して保存する(C12−1)。次に、機器監視装置10−aのメインモード処理部111は、、処理S42で収集した機器11の監視情報を監視サーバ16に送信して、処理を処理S31に戻す(C13−1)。   The main mode processing unit 111 of the device monitoring apparatus 10-a collects the monitoring information of the device 11 from all the devices 11 to be monitored in the processing S39 and the processing S40, and collects the monitoring information of the device 11 collected in the processing S41. It memorize | stores and preserve | saves at the monitoring information storage part 124 (C12-1). Next, the main mode processing unit 111 of the device monitoring apparatus 10-a transmits the monitoring information of the device 11 collected in the processing S42 to the monitoring server 16, and returns the processing to the processing S31 (C13-1).

一方、状態正常信号の返信を受信すると、機器監視装置10−bのサブモード処理部112は、処理S66における異常か否かの判断で、正常であると判断するから、処理S71を実行した後に処理をS61に戻す。   On the other hand, when the reply of the normal state signal is received, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines that the abnormality is normal in the process S66. The process returns to S61.

メインモードの機器監視装置10−a及びサブモードの機器監視装置10−bは、通常時ではこのような処理を繰り返し実行し、正時ごとに、サブモードの機器監視装置10−bは、メインモードの機器監視装置10−aにおける異常の有無を監視し(C11−2、C11−3、C11−4、・・・)、メインモードの機器監視装置10−aは、監視対象の全ての機器11から機器11の監視情報を収集し(C12−2、C12−3、C12−4、・・・)、当該機器11の監視情報を監視サーバ16に送信する(C13−2、C13−3、C13−4、・・・)。   The device monitoring device 10-a in the main mode and the device monitoring device 10-b in the sub mode repeatedly execute such processing in the normal time, and the device monitoring device 10-b in the sub mode is The device monitoring apparatus 10-a in the mode is monitored for the presence or absence of an abnormality (C11-2, C11-3, C11-4,...), And the device monitoring apparatus 10-a in the main mode includes all devices to be monitored. 11 collects monitoring information of the device 11 (C12-2, C12-3, C12-4,...), And transmits the monitoring information of the device 11 to the monitoring server 16 (C13-2, C13-3, C13-4, ...).

次に、タイムアウトによる異常時における機器監視装置10の動作について説明する。図7、図8及び図10において、メインモードの機器監視装置10−a及びサブモードの機器監視装置10−bは、通常時における上述の動作を行っているときに(・・・、C11−n−1、C12−n−1、C13−n−1、C11−n、C12−n、C13−n)、メインモードの機器監視装置10−aや上位NT3の通信線18にトラブルTRB(通信上の障害)が発生すると、機器監視装置10−aのメインモード処理部111は、その動作を停止する、あるいは、機器監視装置10−aのメインモード処理部111は、処理S31乃至処理S38の処理を実行することによって、状態正常信号を返信するが、サブモードの機器監視装置10−bまで伝送されない。   Next, the operation of the device monitoring apparatus 10 at the time of abnormality due to timeout will be described. 7, 8, and 10, the main mode device monitoring device 10-a and the sub mode device monitoring device 10-b perform the above-described operation in the normal state (..., C11- n-1, C12-n-1, C13-n-1, C11-n, C12-n, C13-n), trouble TRB (communication in the communication line 18 of the main-mode device monitoring device 10-a and the upper NT3) When the above failure occurs, the main mode processing unit 111 of the device monitoring apparatus 10-a stops its operation, or the main mode processing unit 111 of the device monitoring apparatus 10-a performs steps S31 to S38. By executing the process, the normal state signal is returned, but it is not transmitted to the device monitoring apparatus 10-b in the sub mode.

このため、機器監視装置10−bのサブモード処理部112は、正時になると、処理S61で正時であると判断し、処理S62及び必要に応じて処理S63を実行後、処理S65でメインモードの機器監視装置10−aへ状態確認要求信号を送信するが(C21−1)、処理S66でタイムアウトとなる(C22−1)。この結果、機器監視装置10−bのサブモード処理部112は、処理S67及び処理S68で監視対象の全ての機器11から機器11の監視情報を収集し、処理S69で収集した機器11の監視情報を監視情報記憶部124に記憶して保存する(C23−1)。次に、機器監視装置10−bのサブモード処理部112は、、処理S70で収集した機器11の監視情報を監視サーバ16に送信して、処理を処理S61に戻す(C24−1)。   For this reason, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines that the current time is the current time in the process S61, executes the process S62 and the process S63 as necessary, and then performs the main mode in the process S65. A state confirmation request signal is transmitted to the device monitoring apparatus 10-a (C21-1), but a timeout occurs in step S66 (C22-1). As a result, the sub-mode processing unit 112 of the device monitoring apparatus 10-b collects the monitoring information of the device 11 from all the devices 11 to be monitored in the processing S67 and the processing S68, and the monitoring information of the device 11 collected in the processing S69. Is stored and saved in the monitoring information storage unit 124 (C23-1). Next, the sub-mode processing unit 112 of the device monitoring apparatus 10-b transmits the monitoring information of the device 11 collected in the processing S70 to the monitoring server 16, and returns the processing to the processing S61 (C24-1).

サブモードの機器監視装置10−bは、タイムアウトによる異常時ではこのような処理を繰り返し実行し、正時ごとに、サブモードの機器監視装置10−bは、メインモードの機器監視装置10−aにおける異常の有無を監視し(C21−2、・・・)、監視対象の全ての機器11から機器11の監視情報を収集し(C23−2、・・・)、当該機器11の監視情報を監視サーバ16に送信する(C24−2、・・・)。このようにサブモードの機器監視装置10−bが動作するので、メインモードの機器監視装置10−aに異常が発生したとしても、監視サーバ16は、機器11の監視情報を収集し、蓄積することができる。   The sub-mode device monitoring apparatus 10-b repeatedly executes such processing when an abnormality occurs due to a timeout, and the sub-mode device monitoring apparatus 10-b performs the main mode device monitoring apparatus 10-a every hour. Is monitored (C21-2,...), The monitoring information of the device 11 is collected from all the monitoring target devices 11 (C23-2,...), And the monitoring information of the device 11 is collected. It transmits to the monitoring server 16 (C24-2, ...). Since the device monitoring device 10-b in the sub mode operates in this way, even if an abnormality occurs in the device monitoring device 10-a in the main mode, the monitoring server 16 collects and accumulates monitoring information of the device 11. be able to.

次に、メインモードの機器監視装置の状態確認による異常時における機器監視装置10の動作について説明する。図7、図8及び図11において、メインモードの機器監視装置10−a及びサブモードの機器監視装置10−bは、通常時における上述の動作を行っているときに(・・・、C11−n−1、C12−n−1、C13−n−1、C11−n、C12−n、C13−n)、メインモードの機器監視装置10−aが例えばマイクロプロセッサが過負荷となったためにその状態が正常ではなくなると、以下のように動作することになる。   Next, the operation of the device monitoring apparatus 10 at the time of abnormality due to the state confirmation of the device monitoring apparatus in the main mode will be described. 7, 8, and 11, the main mode device monitoring device 10-a and the sub mode device monitoring device 10-b perform the above-described operation in the normal state (..., C11- n-1, C12-n-1, C13-n-1, C11-n, C12-n, C13-n), and the main mode device monitoring device 10-a is, for example, overloaded with a microprocessor. When the status is not normal, it will operate as follows.

即ち、機器監視装置10−aのメインモード処理部111は、上述した処理S31で正時であるか否か判断し、正時ではない場合には処理S51及び処理S52を実行後、処理S31に戻る。一方、機器監視装置10−bのサブモード処理部112は、処理S61で正時であるか否か判断し、正時ではない場合には処理S62を実行後、処理S61に戻る。   That is, the main mode processing unit 111 of the device monitoring apparatus 10-a determines whether or not it is the current time in the above-described process S31. If not, the process S51 and the process S52 are performed, and then the process proceeds to the process S31. Return. On the other hand, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines whether or not it is a correct time in the process S61. If not, it returns to the process S61 after executing the process S62.

正時になると、機器監視装置10−aのメインモード処理部111は、上述の通常時と同様に、処理S31乃至処理36を実行し、処理S37で正常か否かを判断する。ここでは、異常時であるから正常ではないと判断され、処理S43で状態確認要求信号の送信元へ状態異常信号を返信する(C31−1)。一方、機器監視装置10−bのサブモード処理部112は、上述の通常時と同様に、処理S61乃至処理S65を実行し、処理66で正常か否かを判断する。ここで、状態異常信号の返信を受信するから、機器監視装置10−bのサブモード処理部112は、正常ではないと判断する(C31−1)。   When the hour comes, the main mode processing unit 111 of the device monitoring apparatus 10-a executes processing S31 to processing 36 as in the above-described normal time, and determines whether it is normal in processing S37. Here, since it is an abnormal time, it is determined that it is not normal, and in step S43, a state abnormality signal is returned to the transmission source of the state confirmation request signal (C31-1). On the other hand, the sub-mode processing unit 112 of the device monitoring apparatus 10-b executes the processes S61 to S65 as in the above-described normal time, and determines whether or not the process 66 is normal. Here, since the response of the abnormal state signal is received, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines that it is not normal (C31-1).

この結果、機器監視装置10−bのサブモード処理部112は、処理S67及び処理S68を実行して監視対象の全ての機器11から機器11の監視情報を収集し、処理S69で収集した機器11の監視情報を監視情報記憶部124に記憶して保存する(C32−1)。次に、機器監視装置10−bのサブモード処理部112は、、処理S70で収集した機器11の監視情報を監視サーバ16に送信して、処理を処理S61に戻す(C33−1)。   As a result, the sub-mode processing unit 112 of the device monitoring apparatus 10-b executes processing S67 and processing S68 to collect monitoring information of the devices 11 from all the devices 11 to be monitored, and collects the devices 11 collected in processing S69. Is stored and stored in the monitoring information storage unit 124 (C32-1). Next, the sub-mode processing unit 112 of the device monitoring apparatus 10-b transmits the monitoring information of the device 11 collected in the processing S70 to the monitoring server 16, and returns the processing to the processing S61 (C33-1).

メインモードの機器監視装置10−a及びサブモードの機器監視装置10−bは、メインモードの機器監視装置の状態確認による異常時ではこのような処理を繰り返し実行する。そして、正時ごとに、メインモードの機器監視装置10−aは、自機の状態を確認して状態異常信号をサブモードの機器監視装置10−bに送信する(C31−2、・・・)。一方、サブモードの機器監視装置10−bは、メインモードの機器監視装置10−aにおける異常の有無を監視し(C31−2、・・・)、サブモードの機器監視装置10−bは、監視対象の全ての機器11から機器11の監視情報を収集し(C32−2、・・・)、当該機器11の監視情報を監視サーバ16に送信する(C33−2、・・・)。このようにサブモードの機器監視装置10−bが動作するので、メインモードの機器監視装置10−aが正常ではなくなったとしても、監視サーバ16は、機器11の監視情報を収集し、蓄積することができる。   The device monitoring device 10-a in the main mode and the device monitoring device 10-b in the sub mode repeatedly execute such processing when an abnormality is detected by checking the state of the device monitoring device in the main mode. Then, at every hour, the main mode device monitoring apparatus 10-a confirms the state of the device itself and transmits a state abnormality signal to the sub mode device monitoring device 10-b (C31-2,...). ). On the other hand, the sub-mode device monitoring device 10-b monitors the presence / absence of an abnormality in the main-mode device monitoring device 10-a (C31-2,...), And the sub-mode device monitoring device 10-b The monitoring information of the device 11 is collected from all the devices 11 to be monitored (C32-2,...), And the monitoring information of the device 11 is transmitted to the monitoring server 16 (C33-2,...). Since the device monitoring device 10-b in the sub mode operates in this way, the monitoring server 16 collects and accumulates the monitoring information of the device 11 even if the device monitoring device 10-a in the main mode is not normal. be able to.

次に、復旧時における機器監視装置10の動作について説明する。図7、図8及び図12において、メインモードの機器監視装置10−a及びサブモードの機器監視装置10−bは、通常時における上述の動作を行っているときに(C11−n、C12−n、C13−n)、メインモードの機器監視装置10−aや上位NT3の通信線18にトラブルTRBが発生すると、上述したタイムアウトによる異常時の動作が行われ、サブモードの機器監視装置10−bは、正時ごとに、メインモードの機器監視装置10−aにおける異常の有無を監視し(C21−n−1、C21−n)、監視対象の全ての機器11から機器11の監視情報を収集し(C23−n−1、C23−n)、当該機器11の監視情報を監視サーバ16に送信する(C24−n−1、C24−n)。そして、メインモードの機器監視装置10−aのトラブルが復旧すると、以下のように動作することになる。   Next, the operation of the device monitoring apparatus 10 at the time of recovery will be described. 7, 8, and 12, the main-mode device monitoring device 10-a and the sub-mode device monitoring device 10-b perform the above-described operation at the normal time (C 11 -n, C 12- n, C13-n), when trouble TRB occurs in the main-mode device monitoring device 10-a and the communication line 18 of the higher-order NT3, the above-described operation at the time of abnormality is performed, and the sub-mode device monitoring device 10- b monitors the presence / absence of an abnormality in the main-mode device monitoring apparatus 10-a (C21-n-1, C21-n) at every hour, and displays monitoring information on the devices 11 from all the devices 11 to be monitored. Collect (C23-n-1, C23-n), and send the monitoring information of the device 11 to the monitoring server 16 (C24-n-1, C24-n). When the trouble of the main mode device monitoring apparatus 10-a is recovered, the operation is as follows.

即ち、メインモードの機器監視装置10−aは、トラブルが復旧したので、機器監視装置10−aのメインモード処理部111は、上述した処理S31で正時であるか否か判断し、正時ではない場合には処理S51及び処理S52を実行後、処理S31に戻る。一方、機器監視装置10−bのサブモード処理部112は、処理S61で正時であるか否か判断し、正時ではない場合には処理S62を実行後、処理S61に戻る。   That is, since the device mode monitoring apparatus 10-a in the main mode has recovered from the trouble, the main mode processing unit 111 of the device monitoring apparatus 10-a determines whether or not it is the current time in the above-described process S31. If not, the process returns to the process S31 after executing the processes S51 and S52. On the other hand, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines whether or not it is a correct time in the process S61. If not, it returns to the process S61 after executing the process S62.

正時になると、機器監視装置10−aのメインモード処理部111は、処理S31乃至処理42を実行して通常時の動作を行った後に(C11−n+1、C12−n+1、C13−n+1)、処理S61に戻る。一方、機器監視装置10−bのサブモード処理部112も処理S61乃至処理66を実行して通常時の動作を行うが(C11−n+1)、処理S71でメインモードの機器監視装置10−aに送信すべき機器11の監視情報があると判断され、機器監視装置10−bのサブモード処理部112は、メインモードの機器監視装置10宛てにデータ復旧要求信号を送信し、その返信を受信待ちする。   At the hour, the main mode processing unit 111 of the device monitoring apparatus 10-a performs the normal operation by executing the processing S31 to S42 (C11-n + 1, C12-n + 1, C13-n + 1), and then the processing. Return to S61. On the other hand, the sub-mode processing unit 112 of the device monitoring device 10-b also performs processing S61 to 66 to perform normal operation (C11-n + 1), but in step S71, the sub-mode processing unit 112 changes to the main mode device monitoring device 10-a. When it is determined that there is monitoring information of the device 11 to be transmitted, the sub-mode processing unit 112 of the device monitoring device 10-b transmits a data recovery request signal to the device monitoring device 10 in the main mode and waits for a reply. To do.

そして、機器監視装置10−aのメインモード処理部111は、通常時の動作を行って処理S61に戻ると、処理S51及び処理S52を実行する。この結果、この処理S52でデータ復旧要求信号を受信したと判断し、機器監視装置10−aのメインモード処理部111は、処理S53でデータ復旧要求信号の送信元にデータ復旧準備完了信号を送信する。   And the main mode process part 111 of the apparatus monitoring apparatus 10-a will perform process S51 and process S52, if operation | movement at normal time is performed and it returns to process S61. As a result, it is determined in step S52 that the data recovery request signal has been received, and the main mode processing unit 111 of the device monitoring apparatus 10-a transmits a data recovery preparation completion signal to the transmission source of the data recovery request signal in step S53. To do.

データ復旧準備完了信号の返信を受信すると、機器監視装置10−bのサブモード処理部112は、処理S73でデータ復旧準備完了信号を受信したと判断する。これによってデータ復旧準備完了が確認される(C41)。この結果、機器監視装置10−bのサブモード処理部112は、処理S74及び処理S75を実行することによって、監視情報記憶部124に記憶されている機器11の監視情報を全て1又は複数の復旧データ送信信号でメインモードの機器監視装置10−aに送信する。一方、機器監視装置10−aのメインモード処理部111は、処理S54及び処理S55を実行することによって、トラブルTBRの発生によって欠損した機器11の監視情報を全て1又は複数の復旧データ送信信号でサブモードの機器監視装置10−bから受信する(C42)。   When receiving the reply of the data recovery preparation completion signal, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines that the data recovery preparation completion signal has been received in step S73. Thereby, completion of data recovery preparation is confirmed (C41). As a result, the sub-mode processing unit 112 of the device monitoring apparatus 10-b executes processing S74 and processing S75, thereby restoring all or one or more of the monitoring information of the device 11 stored in the monitoring information storage unit 124. The data transmission signal is transmitted to the device monitoring apparatus 10-a in the main mode. On the other hand, the main mode processing unit 111 of the device monitoring apparatus 10-a executes the processing S54 and the processing S55, so that all the monitoring information of the device 11 lost due to the occurrence of the trouble TBR is one or a plurality of recovery data transmission signals. Received from the device monitoring apparatus 10-b in the sub mode (C42).

そして、全ての機器11の監視情報を送信すると、機器監視装置10−bのサブモード処理部112は、処理S75で全ての機器11の監視情報送信したと判断し、処理S76でデータ送信終了通知信号をメインモードの機器監視装置10宛てに送信し、処理を処理61に戻す。一方、データ送信終了通知信号を受信すると、機器監視装置10−aのメインモード処理部111は、処理S55でデータ送信終了通知信号を受信したと判断し、処理S56で復旧データ送信信号で得た機器11の監視情報で欠損した機器11の監視情報を回復し、処理を処理31に戻す(C43)。   When the monitoring information of all the devices 11 is transmitted, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines that the monitoring information of all the devices 11 has been transmitted in the process S75, and the data transmission end notification is performed in the process S76. A signal is transmitted to the device monitoring apparatus 10 in the main mode, and the process returns to the process 61. On the other hand, when receiving the data transmission end notification signal, the main mode processing unit 111 of the device monitoring apparatus 10-a determines that the data transmission end notification signal has been received in step S55, and obtained in step S56 as the recovery data transmission signal. The monitoring information of the device 11 lost in the monitoring information of the device 11 is recovered, and the process returns to the process 31 (C43).

このようにサブモードの機器監視装置10−bは、メインモードの機器監視装置10−aにトラブルが生じた後にトラブルから復帰した場合に、メインモードの機器監視装置10に代行して機器11から収集した監視情報をメインモードの機器監視装置10に送信する。そして、メインモードの機器監視装置10−aは、サブモードの機器監視装置10−bから送信された機器11の監視情報によって欠損した機器11の監視情報を回復する。   As described above, the sub-mode device monitoring device 10-b starts from the device 11 on behalf of the main-mode device monitoring device 10 when a trouble occurs in the main-mode device monitoring device 10-a and then returns from the trouble. The collected monitoring information is transmitted to the device monitoring apparatus 10 in the main mode. The device monitoring apparatus 10-a in the main mode recovers the monitoring information of the device 11 that has been lost by the monitoring information of the device 11 transmitted from the device monitoring apparatus 10-b in the sub mode.

なお、上述の復旧時の説明では、メインモードの機器監視装置10−aにトラブルが生じた場合について説明したが、他の原因によりメインモードの機器監視装置10−aが異常になった場合も同様である。   In the above description at the time of restoration, the case where a trouble occurs in the main-mode device monitoring apparatus 10-a has been described. However, the main-mode device monitoring apparatus 10-a may become abnormal due to other causes. It is the same.

次に、別の実施形態について説明する。
(第2の実施形態の構成)
第1の実施形態に係る機器監視装置10では、メインモードの機器監視装置10に対するサブモードの機器監視装置10の監視は、サブモード処理部112がメインモードの機器監視装置10に状態確認要求信号を送信してメインモードの機器監視装置10から状態正常信号又は状態異常信号の返信を受信することによって行っていたが、第2の実施形態に係る機器監視装置(符号を10’とする。)では、メインモードの機器監視装置10’に対するサブモードの機器監視装置10’の監視は、サブモード処理部(符号を112’とする。)がメインモードの機器監視装置10’と機器11との間における通信を検知することによって行う。
Next, another embodiment will be described.
(Configuration of Second Embodiment)
In the device monitoring device 10 according to the first embodiment, the sub-mode processing unit 112 monitors the main-mode device monitoring device 10 with respect to the main-mode device monitoring device 10, and the sub-mode processing unit 112 sends a status confirmation request signal to the main-mode device monitoring device 10. The device monitoring device according to the second embodiment (denoted by 10 ') is received by transmitting a state normal signal or a response of a state abnormal signal from the device monitoring device 10 in the main mode. Then, the monitoring of the device monitoring device 10 ′ in the sub mode with respect to the device monitoring device 10 ′ in the main mode is performed by the sub mode processing unit (reference numeral 112 ′) between the device monitoring device 10 ′ in the main mode and the device 11. By detecting communication between them.

メインモードの機器監視装置10’が異常である場合には、メインモードの機器監視装置10’と機器11との間で通信信号が送受信されることがなくなるため、メインモードの機器監視装置10’と機器11との間における通信を監視することによって、メインモードの機器監視装置10’における異常の有無を監視することができる。   If the main mode device monitoring device 10 ′ is abnormal, no communication signal is transmitted and received between the main mode device monitoring device 10 ′ and the device 11, and therefore the main mode device monitoring device 10 ′. By monitoring the communication between the device 11 and the device 11, it is possible to monitor the presence or absence of abnormality in the device monitoring device 10 'in the main mode.

このため、第2の実施形態に係る機器監視装置10’の構成は、制御部101におけるメインモード処理部(符号を111’とする。)及びサブモード処理部112’が後述するように動作することを除き、第1の実施形態と同様であるので、その説明を省略する。   For this reason, in the configuration of the device monitoring apparatus 10 ′ according to the second embodiment, the main mode processing unit (reference numeral 111 ′) and the sub mode processing unit 112 ′ in the control unit 101 operate as described later. Since it is the same as that of 1st Embodiment except that, the description is abbreviate | omitted.

次に、本実施形態の動作について説明する。
(第2の実施形態の動作)
第2の実施形態に係る機器監視装置10’では、メインモードの機器監視装置10’に対するサブモードの機器監視装置10’の監視方法が異なるだけなので、初期設定処理及び起動処理は、第1の実施形態と同様であるので、その説明を省略する。
Next, the operation of this embodiment will be described.
(Operation of Second Embodiment)
In the device monitoring apparatus 10 ′ according to the second embodiment, only the monitoring method of the device monitoring apparatus 10 ′ in the sub mode with respect to the device monitoring apparatus 10 ′ in the main mode is different. Since it is the same as that of embodiment, the description is abbreviate | omitted.

次に、メインモード処理について説明する。図13は、第2の実施形態におけるメインモード処理を示すフローチャートである。第2の実施形態に係る機器監視装置10’では、メインモードの機器監視装置10’に対するサブモードの機器監視装置10’の監視は、サブモードの機器監視装置10’がメインモードの機器監視装置10’と機器11との間における通信を検知することによって行われるので、第1の実施形態に係る機器監視装置10のように、状態確認要求信号の受信待ち、自機の状態の確認及びこの確認結果に応じた状態正常信号又は状態異常信号の送信を行う必要がない。   Next, the main mode process will be described. FIG. 13 is a flowchart showing main mode processing in the second embodiment. In the device monitoring device 10 ′ according to the second embodiment, the sub-mode device monitoring device 10 ′ monitors the main-mode device monitoring device 10 ′ with respect to the main-mode device monitoring device 10 ′. Since it is performed by detecting communication between 10 'and the device 11, like the device monitoring apparatus 10 according to the first embodiment, it waits for reception of a state confirmation request signal, confirms its own state, and this It is not necessary to transmit a state normal signal or a state abnormal signal according to the confirmation result.

即ち、図13に示すように、メインモード処理部111’は、処理S31で正時か否かを判断し、処理S31で正時であると判断すると、処理S32及び必要に応じて処理S33を実行後に、直ちに処理S39、処理S40、処理S41及び処理S42を実行して処理を処理S31に戻す。つまり、メインモード処理部111’は、正時である場合には、必要に応じて時刻合わせを行った後に、処理S39及び処理S40で全ての監視対象の機器11から監視情報を収集し、処理S41で月、日及び時の情報を付して収集した機器11の監視情報を監視情報記憶部124に記憶すると共に処理S42で監視サーバ16に送信する。こうしてメインモードに設定されている機器監視装置10は、機器11を集中的に監視する。   That is, as shown in FIG. 13, the main mode processing unit 111 ′ determines whether or not it is the correct time in the process S31, and determines that it is the correct time in the process S31, the process S32 and the process S33 as necessary. Immediately after execution, processing S39, processing S40, processing S41, and processing S42 are executed, and the processing returns to processing S31. In other words, the main mode processing unit 111 ′ collects monitoring information from all the devices 11 to be monitored in the processing S39 and the processing S40 after adjusting the time as necessary when it is at the correct time. The monitoring information of the device 11 collected with the month, date and time information attached in S41 is stored in the monitoring information storage unit 124 and transmitted to the monitoring server 16 in step S42. Thus, the device monitoring apparatus 10 set to the main mode centrally monitors the device 11.

一方、S31で正時ではないと判断した場合には、メインモード処理部111’は、処理S51乃至処理S56を実行するが、これらの処理は、第1の実施形態と同様であるので、その説明を省略する。   On the other hand, if it is determined in S31 that the time is not correct, the main mode processing unit 111 ′ executes the processes S51 to S56. Since these processes are the same as those in the first embodiment, Description is omitted.

次に、サブモード処理について説明する。図14は、第2の実施形態におけるサブモード処理を示すフローチャートである。第2の実施形態に係る機器監視装置10’では、メインモードの機器監視装置10’に対するサブモードの機器監視装置10’の監視は、サブモードの機器監視装置10’がメインモードの機器監視装置10’と機器11との間における通信を検知することによって行われるので、第1の実施形態に係る機器監視装置10おける状態確認要求信号を送信する処理S65を実行する代わりに、メインモードの機器監視装置10’と機器11との間における通信を検知する処理S81を実行する点を除き、第1の実施形態と同様である。   Next, sub mode processing will be described. FIG. 14 is a flowchart showing sub-mode processing in the second embodiment. In the device monitoring device 10 ′ according to the second embodiment, the sub-mode device monitoring device 10 ′ monitors the main-mode device monitoring device 10 ′ with respect to the main-mode device monitoring device 10 ′. Since this is performed by detecting communication between 10 ′ and the device 11, the device in the main mode is used instead of executing the process S65 of transmitting the status confirmation request signal in the device monitoring apparatus 10 according to the first embodiment. This is the same as the first embodiment except that the process S81 for detecting communication between the monitoring device 10 ′ and the device 11 is executed.

即ち、図14に示すように、サブモード処理部112’は、処理S61で正時か否かを判断し、正時ではないと判断すると処理S62で所定時間のウェイトを実行した後に処理を処理S61に戻す。一方、処理S61で正時であると判断すると、サブモード処理部112’は、処理S63及び必要に応じて処理S64を実行後に、処理S81を実行する。   That is, as shown in FIG. 14, the sub-mode processing unit 112 ′ determines whether or not it is a correct time in the process S61. If it is determined that the time is not correct, the sub-mode processing unit 112 ′ processes the process after executing a predetermined time wait in a process S62. Return to S61. On the other hand, if it is determined in the processing S61 that it is the hour, the sub-mode processing unit 112 'executes the processing S81 after executing the processing S63 and the processing S64 as necessary.

処理S81において、サブモード処理部112’は、所定時間、下位NT2の通信状態を確認し、処理S66を実行する。本実施形態では、下位NT2にRS485を用いるので、サブモード処理部112’は、下位NT通信インタフェース部114がメインモードの機器監視装置10’と機器11との間における通信信号を受信したか否かを判断することによって、これらの間における通信を検知する。検知の結果、所定時間内に通信信号が受信された場合には、サブモード処理部112’は、メインモードの機器監視装置10’が正常であると判断する。一方、検知の結果、所定時間内に通信信号が受信されない場合には、サブモード処理部112’は、メインモードの機器監視装置10’が異常であると判断する。この所定時間は、仕様によって決定されるが、例えば100ミリ秒や200ミリ秒や500ミリ秒等の100ミリ秒のオーダーが採用される。   In step S81, the sub-mode processing unit 112 'checks the communication state of the lower NT2 for a predetermined time, and executes step S66. In this embodiment, since RS485 is used for the lower NT2, the submode processing unit 112 ′ determines whether the lower NT communication interface unit 114 has received a communication signal between the device monitoring apparatus 10 ′ and the device 11 in the main mode. By determining whether or not, communication between these is detected. If a communication signal is received within a predetermined time as a result of the detection, the sub-mode processing unit 112 'determines that the main-mode device monitoring device 10' is normal. On the other hand, if the communication signal is not received within a predetermined time as a result of the detection, the sub-mode processing unit 112 'determines that the main-mode device monitoring device 10' is abnormal. The predetermined time is determined according to the specification, but an order of 100 milliseconds, such as 100 milliseconds, 200 milliseconds, and 500 milliseconds, is employed.

そして、処理S66で異常と判断した場合(YES)には、サブモード処理部112’は、処理S67乃至処理S70を実行するが、これらの処理は、第1の実施形態と同様であるので、その説明を省略する。このようにサブモード処理部112’は、メインモードの機器監視装置10’が異常である場合には、処理S61、処理S63、(処理S64)、処理S81、処理S66、処理S67、処理S68、処理S69及び処理S70を実行することによって、全ての監視対象の機器11から監視情報を収集し、月、日及び時の情報を付して収集した監視情報を監視情報記憶部124に記憶すると共に監視サーバ16に送信する。こうしてサブモードに設定されている機器監視装置10’は、メインモードの機器監視装置10’が異常である場合には、メインモードの機器監視装置10’に代行して機器11を集中的に監視する。   If it is determined that the process is abnormal (YES), the sub-mode processing unit 112 ′ executes processes S67 to S70, which are the same as those in the first embodiment. The description is omitted. As described above, when the main mode device monitoring device 10 ′ is abnormal, the sub-mode processing unit 112 ′ performs processing S61, processing S63, (processing S64), processing S81, processing S66, processing S67, processing S68, By executing the process S69 and the process S70, the monitoring information is collected from all the devices 11 to be monitored, and the monitoring information collected with the month, date and time information is stored in the monitoring information storage unit 124. Transmit to the monitoring server 16. In this way, the device monitoring device 10 ′ set to the sub mode centrally monitors the device 11 on behalf of the device monitoring device 10 ′ in the main mode when the device monitoring device 10 ′ in the main mode is abnormal. To do.

一方、処理S66で異常と判断した場合(NO)には、サブモード処理部112’は、処理S71乃至処理S76を実行するが、これらの処理は、第1の実施形態と同様であるので、その説明を省略する。このようにサブモード処理部112’は、メインモードの機器監視装置10が異常となった後に正常に復帰した場合に、処理S61、処理S63、(処理S64)、処理S81、処理S66、処理S71、処理S72、処理S73、処理S74、処理S75及び処理S76を実行することによって、メインモードの機器監視装置10’に代行して機器11から収集した監視情報をメインモードの機器監視装置10’に送信する。   On the other hand, when it is determined that the process is abnormal (NO), the sub-mode processing unit 112 ′ executes the processes S71 to S76, which are the same as those in the first embodiment. The description is omitted. As described above, when the main mode device monitoring apparatus 10 returns to normal after the main mode device monitoring apparatus 10 becomes abnormal, the sub-mode processing unit 112 ′ performs processing S61, processing S63, (processing S64), processing S81, processing S66, and processing S71. By executing the processing S72, processing S73, processing S74, processing S75 and processing S76, the monitoring information collected from the device 11 on behalf of the main mode device monitoring device 10 ′ is transferred to the main mode device monitoring device 10 ′. Send.

次に、上述した機器監視装置10の動作を、通常時及び異常時に分けて、シーケンス図を用いてより具体的に説明する。なお、復旧時は、第1の実施形態と同様であるので、その説明を省略する。また、初期設定処理及び起動処理も第1の実施形態と同様であるので、その説明を省略する。   Next, the operation of the device monitoring apparatus 10 described above will be described more specifically with reference to a sequence diagram separately for a normal time and an abnormal time. In addition, since it is the same as that of 1st Embodiment at the time of recovery | restoration, the description is abbreviate | omitted. In addition, the initial setting process and the activation process are the same as those in the first embodiment, and a description thereof will be omitted.

図15は、第2の実施形態における通常時及び異常時における機器監視システムの動作を示すシーケンス図である。なお、第1の実施形態と同様に、機器監視装置10−aは、メインモードに設定され、機器監視装置10−bは、サブモードに設定されているとする。   FIG. 15 is a sequence diagram illustrating an operation of the device monitoring system in a normal time and an abnormal time in the second embodiment. As in the first embodiment, it is assumed that the device monitoring device 10-a is set to the main mode and the device monitoring device 10-b is set to the sub mode.

まず、通常時における機器監視装置10’の動作について説明する。通常時では、図13乃至図15において、機器監視装置10’−aのメインモード処理部111’は、上述した処理S31で正時であるか否か判断し、正時ではない場合には処理S51及び処理S52を実行後、処理S31に戻る。一方、機器監視装置10−bのサブモード処理部112は、処理S61で正時であるか否か判断し、正時ではない場合には処理S62を実行後、処理S61に戻る。   First, the operation of the device monitoring apparatus 10 'during normal operation will be described. In the normal time, in FIGS. 13 to 15, the main mode processing unit 111 ′ of the device monitoring apparatus 10 ′ -a determines whether or not it is the normal time in the above-described process S <b> 31. After executing S51 and S52, the process returns to S31. On the other hand, the sub-mode processing unit 112 of the device monitoring apparatus 10-b determines whether or not it is a correct time in the process S61. If not, it returns to the process S61 after executing the process S62.

正時になると、機器監視装置10’−aのメインモード処理部111’は、処理S31で正時であると判断し、処理S32及び必要に応じて処理S33を実行後、処理S39及び処理S40で監視対象の全ての機器11から機器11の監視情報を収集し、処理S41で収集した機器11の監視情報を監視情報記憶部124に記憶して保存する(C51−1)。次に、機器監視装置10’−aのメインモード処理部111’は、、処理S42で収集した機器11の監視情報を監視サーバ16に送信して、処理を処理S31に戻す(C53−1)。   At the correct time, the main mode processing unit 111 ′ of the device monitoring apparatus 10′-a determines that it is the correct time in the process S31, executes the process S32 and the process S33 as necessary, and then performs the process S39 and the process S40. The monitoring information of the device 11 is collected from all the devices 11 to be monitored, and the monitoring information of the device 11 collected in the process S41 is stored and stored in the monitoring information storage unit 124 (C51-1). Next, the main mode processing unit 111 ′ of the device monitoring apparatus 10′-a transmits the monitoring information of the device 11 collected in the processing S42 to the monitoring server 16 and returns the processing to the processing S31 (C53-1). .

一方、機器監視装置10’−bのサブモード処理部112’は、処理S61で正時であると判断し、処理S62及び必要に応じて処理S63を実行後、処理S81で下位NT2の通信状態を確認する(C52−1)。ここでは、通常時であるので、メインモードの機器監視装置10’−aと機器11との間における通信信号が受信され、機器監視装置10’−bのサブモード処理部112’は、処理S66における異常か否かの判断で、正常であると判断するから、処理S71を実行した後に処理をS61に戻す。   On the other hand, the sub-mode processing unit 112 ′ of the device monitoring apparatus 10′-b determines that it is the hour in the process S61, executes the process S62 and the process S63 as necessary, and then performs the communication state of the lower NT2 in the process S81. Is confirmed (C52-1). Here, since it is normal time, a communication signal between the device monitoring device 10′-a in the main mode and the device 11 is received, and the sub-mode processing unit 112 ′ of the device monitoring device 10′-b performs processing S66. In step S71, the process returns to step S61 after executing step S71.

メインモードの機器監視装置10’−a及びサブモードの機器監視装置10’−bは、通常時ではこのような処理を繰り返し実行し、正時ごとに、サブモードの機器監視装置10’−bは、メインモードの機器監視装置10’−aにおける障害の有無を下位NT2の通信状態を確認することによって監視し(C52−1)、メインモードの機器監視装置10’−aは、監視対象の全ての機器11から機器11の監視情報を収集し(C51−1)、当該機器11の監視情報を監視サーバ16に送信する(C53−1)。   The main-mode device monitoring device 10'-a and the sub-mode device monitoring device 10'-b repeatedly execute such processing in normal times, and the sub-mode device monitoring device 10'-b every hour. Monitors the presence / absence of a failure in the main mode device monitoring apparatus 10'-a by confirming the communication state of the lower NT2 (C52-1). The main mode device monitoring apparatus 10'-a The monitoring information of the device 11 is collected from all the devices 11 (C51-1), and the monitoring information of the device 11 is transmitted to the monitoring server 16 (C53-1).

次に、異常時における機器監視装置10’の動作について説明する。図13乃至図15において、メインモードの機器監視装置10’−a及びサブモードの機器監視装置10’−bは、通常時における上述の動作を行っているときに(C51−1、C52−1、C53−1)、メインモードの機器監視装置10’−aに異常が発生すると、メインモードの機器監視装置10’−aと機器11との間で送受信される通信信号がなくなる。   Next, the operation of the device monitoring apparatus 10 'at the time of abnormality will be described. 13 to 15, the main-mode device monitoring device 10′-a and the sub-mode device monitoring device 10′-b perform the above-described operations in the normal state (C51-1, C52-1). , C53-1), when an abnormality occurs in the main mode device monitoring apparatus 10′-a, there is no communication signal transmitted / received between the main mode device monitoring device 10′-a and the device 11.

このため、機器監視装置10’−bのサブモード処理部112’は、正時になると、処理S61で正時であると判断し、処理S62及び必要に応じて処理S63を実行後、処理S81で下位NT2の通信状態の確認を行うが(C52−2)、通信信号が検出されず処理S66で異常と判断する。この結果、機器監視装置10’−bのサブモード処理部112’は、処理S67及び処理S68で監視対象の全ての機器11から機器11の監視情報を収集し、処理S69で収集した機器11の監視情報を監視情報記憶部124に記憶して保存する(C54−1)。次に、機器監視装置10’−bのサブモード処理部112’は、処理S70で収集した機器11の監視情報を監視サーバ16に送信して、処理を処理S61に戻す(C55−1)。   For this reason, the sub-mode processing unit 112 ′ of the device monitoring apparatus 10′-b determines that it is the correct time in the process S61 at the correct time, executes the process S62 and, if necessary, the process S63, and then in the process S81. The communication state of the lower NT2 is confirmed (C52-2), but no communication signal is detected, and it is determined that there is an abnormality in step S66. As a result, the sub-mode processing unit 112 ′ of the device monitoring apparatus 10′-b collects the monitoring information of the device 11 from all the devices 11 to be monitored in the processing S67 and the processing S68, and the device 11 collected in the processing S69. The monitoring information is stored and saved in the monitoring information storage unit 124 (C54-1). Next, the sub-mode processing unit 112 ′ of the device monitoring apparatus 10 ′ -b transmits the monitoring information of the device 11 collected in the process S <b> 70 to the monitoring server 16 and returns the process to the process S <b> 61 (C <b> 55-1).

サブモードの機器監視装置10’−bは、異常時ではこのような処理を繰り返し実行し、正時ごとに、メインモードの機器監視装置10’−aにおける異常の有無を監視し(C52−3、C52−4、・・・)、監視対象の全ての機器11から機器11の監視情報を収集し(C54−2、C54−3、・・・)、当該機器11の監視情報を監視サーバ16に送信する(C55−2、C55−3、・・・)。このようにサブモードの機器監視装置10’−bが動作するので、メインモードの機器監視装置10’−aに異常が発生したとしても、監視サーバ16は、機器11の監視情報を収集し、蓄積することができる。   The sub-mode device monitoring apparatus 10'-b repeatedly executes such processing at the time of abnormality, and monitors the presence / absence of abnormality in the main-mode device monitoring apparatus 10'-a every hour (C52-3). , C52-4,...), Monitoring information of the device 11 is collected from all the devices 11 to be monitored (C54-2, C54-3,...), And the monitoring information of the device 11 is collected by the monitoring server 16. (C55-2, C55-3,...). Since the device monitoring device 10′-b in the sub mode operates in this way, even if an abnormality occurs in the device monitoring device 10′-a in the main mode, the monitoring server 16 collects the monitoring information of the device 11, Can be accumulated.

このように第2の実施形態では、サブモードの機器監視装置10’は、メインモードの機器監視装置10’と機器11との間における通信を検知することによってメインモードの機器監視装置10’における異常の有無を監視するので、メインモードの機器監視装置10’は、サブモードの機器監視装置10’を特に意識することなくその動作を実施することができる。そのため、第2の実施形態に係る機器監視装置10’は、後付けでサブモードの機器監視装置10’として機器監視システム1に組み込まれる場合に好適である。   As described above, in the second embodiment, the sub-mode device monitoring device 10 ′ detects communication between the main-mode device monitoring device 10 ′ and the device 11, thereby detecting the communication in the main mode device monitoring device 10 ′. Since the presence / absence of abnormality is monitored, the main-mode device monitoring device 10 ′ can perform the operation without being particularly aware of the sub-mode device monitoring device 10 ′. Therefore, the device monitoring apparatus 10 ′ according to the second embodiment is suitable for a case where the device monitoring system 10 ′ is installed in the device monitoring system 1 as a sub-mode device monitoring apparatus 10 ′.

機器監視システムの構成を示す図である。It is a figure which shows the structure of an apparatus monitoring system. 機器監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of an apparatus monitoring apparatus. 監視情報を登録する監視情報テーブルの構成を示す図である。It is a figure which shows the structure of the monitoring information table which registers monitoring information. 基本情報設定ページを示す図である。It is a figure which shows a basic information setting page. 動作情報設定ページを示す図である。It is a figure which shows an operation information setting page. 起動処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a starting process. 第1の実施形態におけるメインモード処理を示すフローチャートである。It is a flowchart which shows the main mode process in 1st Embodiment. 第1の実施形態におけるサブモード処理を示すフローチャートである。It is a flowchart which shows the submode process in 1st Embodiment. 第1の実施形態における通常時における機器監視システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the apparatus monitoring system at the normal time in 1st Embodiment. 第1の実施形態におけるタイムアウトによる異常時における機器監視システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the equipment monitoring system at the time of abnormality by timeout in 1st Embodiment. 第1の実施形態におけるメインモードの機器監視装置の状態確認による異常時における機器監視システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the equipment monitoring system at the time of abnormality by the state confirmation of the equipment monitoring apparatus of the main mode in 1st Embodiment. 第1の実施形態における復旧時における機器監視システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the equipment monitoring system at the time of recovery in 1st Embodiment. 第2の実施形態におけるメインモード処理を示すフローチャートである。It is a flowchart which shows the main mode process in 2nd Embodiment. 第2の実施形態におけるサブモード処理を示すフローチャートである。It is a flowchart which shows the submode process in 2nd Embodiment. 第2の実施形態における通常時及び異常時における機器監視システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the apparatus monitoring system at the time of normal time and abnormality in 2nd Embodiment.

符号の説明Explanation of symbols

1 機器監視システム
2 下位のネットワーク
3 上位のネットワーク
10 機器監視装置
16 監視サーバ
101 制御部
102 上位ネットワーク通信インタフェース部(第2通信部の一例)
103 記憶部
104 下位ネットワーク通信インタフェース部(第1通信部の一例)
111、111’ メインモード処理部
112、112’ サブモード処理部
113 起動処理部
114 初期設定処理部
115 カレンダ部
121 モード情報記憶部
122 基本情報記憶部
123 動作情報記憶部
124 監視情報記憶部
125 初期設定情報記憶部
DESCRIPTION OF SYMBOLS 1 Device monitoring system 2 Lower network 3 Upper network 10 Device monitoring apparatus 16 Monitoring server 101 Control part 102 Upper network communication interface part (an example of a 2nd communication part)
103 storage unit 104 lower network communication interface unit (example of first communication unit)
111, 111 ′ Main mode processing unit 112, 112 ′ Sub mode processing unit 113 Startup processing unit 114 Initial setting processing unit 115 Calendar unit 121 Mode information storage unit 122 Basic information storage unit 123 Operation information storage unit 124 Monitoring information storage unit 125 Initial Setting information storage

Claims (6)

監視対象の機器を監視する機器監視装置であって
前記監視対象の機器と通信を行うための第1通信部と、
前記監視対象の機器に関する監視情報を蓄積する監視サーバと通信を行うための第2通信部と、
メインモード及びサブモードの何れか一方のモードを示すモード情報を記憶するモード情報記憶部と、
前記モード情報がメインモードである場合に、前記第1通信部を用いて前記監視対象の機器から監視情報を収集し、該収集した監視情報を前記監視サーバに前記第2通信部を用いて送信するメインモード処理部と、
前記モード情報がサブモードである場合に、前記モード情報がメインモードである機器監視装置の異常を認識すると、この異常が生じた機器監視装置に代行して、前記第1通信部を用いて前記監視対象の機器から監視情報を収集し、該収集した監視情報を前記監視サーバに前記第2通信部を用いて送信するサブモード処理部と、
前記モード情報がメインモードを示す場合には前記メインモード処理部を起動する一方、前記モード情報がサブモードを示す場合には前記サブモード処理部を起動する起動処理部とを備えること
を特徴とする機器監視装置。
A device monitoring device for monitoring a device to be monitored ,
A first communication unit for communicating with the monitored device;
A second communication unit for communicating with a monitoring server that accumulates monitoring information related to the device to be monitored;
A mode information storage unit for storing mode information indicating one of the main mode and the sub mode;
When the mode information is a main mode, the monitoring information is collected from the monitored device using the first communication unit, and the collected monitoring information is transmitted to the monitoring server using the second communication unit. A main mode processing unit to
When the mode information is a sub-mode and the mode information is recognized as an abnormality of the device monitoring device in the main mode, the first communication unit is used instead of the device monitoring device in which the abnormality occurs. A sub-mode processing unit that collects monitoring information from a device to be monitored, and transmits the collected monitoring information to the monitoring server using the second communication unit;
The main mode processing unit is activated when the mode information indicates a main mode, and the activation processing unit is activated to activate the sub mode processing unit when the mode information indicates a sub mode. Equipment monitoring device.
前記サブモード処理部は、前記モード情報がメインモードである機器監視装置に対し自機の状態を確認させるための状態確認要求信号を送信してその応答に基づいて、前記モード情報がメインモードである機器監視装置が異常であるか否かを判断し、
前記メインモード処理部は、前記状態確認要求信号を受信した場合に、自機の状態を確認すると共にその結果を示す応答信号を前記状態確認要求信号の送信元に返信すること
を特徴とする請求項1に記載の機器監視装置。
The sub-mode processing unit, based on the response by sending a status confirmation request signal for confirming the state of own apparatus with respect to the equipment monitoring device wherein the mode information is the main mode, the mode information is the main mode Determine whether a device monitoring device is abnormal,
The main mode processing unit, when receiving the state confirmation request signal, confirms the state of the own device and returns a response signal indicating the result to the transmission source of the state confirmation request signal. Item 1. The device monitoring apparatus according to Item 1.
前記サブモード処理部は、前記モード情報がメインモードである機器監視装置と前記監視対象の機器との間における通信の有無に基づいて、前記モード情報がメインモードである機器監視装置が異常であるか否かを判断すること
を特徴とする請求項1に記載の機器監視装置。
The sub-mode processing unit, said mode information based on the presence or absence of communication between the equipment monitoring device, which is the main mode and the monitored device, said mode information is abnormal equipment monitoring device is the main mode The device monitoring apparatus according to claim 1, wherein it is determined whether or not.
前記監視情報を記憶するための監視情報記憶部をさらに備え、
前記サブモード処理部は、該収集した監視情報をさらに前記監視情報記憶部に記憶すると共に、前記モード情報がメインモードである機器監視装置が異常であると認識した後に正常であると認識した場合に、前記異常と認識した時から前記正常と認識する時までの間に前記監視対象の機器から収集した監視情報を、前記モード情報がメインモードである機器監視装置にさらに送信し、
前記メインモード処理部は、該収集した監視情報をさらに前記監視情報記憶部に記憶すると共に、前記監視対象の機器から収集した監視情報を前記モード情報がサブモードである機器監視装置から受信した場合に、該受信した監視情報を前記監視情報記憶部にさらに記憶すること
を特徴とする請求項1に記載の機器監視装置。
A monitoring information storage unit for storing the monitoring information;
The sub-mode processing unit is configured to further store the monitoring information storage unit monitoring information the collection, if the mode information is recognized to be normal after recognizing the equipment monitoring device, which is the main mode is abnormal in the the collected monitoring information from the monitoring target device, further transmitted to the equipment monitoring device wherein the mode information is the main mode until the time of recognizing a normal from said upon recognizing said abnormality,
The main mode processing unit further stores the collected monitoring information in the monitoring information storage unit, and receives monitoring information collected from the monitored device from a device monitoring apparatus whose mode information is a sub mode. The device monitoring apparatus according to claim 1, further comprising: storing the received monitoring information in the monitoring information storage unit.
前記起動処理部は、前記サブモード処理部を起動する際に、前記モード情報がメインモードである機器監視装置から前記監視対象の機器に関する情報及び前記監視サーバに関する情報を取得すること
を特徴とする請求項1に記載の機器監視装置。
The activation processing unit acquires information on the monitored device and information on the monitoring server from a device monitoring apparatus whose mode information is a main mode when the sub-mode processing unit is activated. The device monitoring apparatus according to claim 1.
1又は複数の機器と、
前記1又は複数の機器を監視対象の機器とする2個の機器監視装置と、
前記2個の機器監視装置から前記1又は複数の機器における監視情報を収集可能であって、該収集した監視情報を蓄積する監視サーバとを備える機器監視システムにおいて、
前記2個の機器監視装置は、請求項1乃至請求項5の何れか1項に記載の機器監視装置であること
を特徴とする機器監視システム。
One or more devices;
Two device monitoring devices that use the one or more devices as devices to be monitored;
In a device monitoring system comprising: a monitoring server capable of collecting monitoring information in the one or a plurality of devices from the two device monitoring devices and storing the collected monitoring information;
The device monitoring system according to any one of claims 1 to 5, wherein the two device monitoring devices are the device monitoring devices according to any one of claims 1 to 5.
JP2004211634A 2004-07-20 2004-07-20 Device monitoring device and device monitoring system Expired - Fee Related JP4639675B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004211634A JP4639675B2 (en) 2004-07-20 2004-07-20 Device monitoring device and device monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004211634A JP4639675B2 (en) 2004-07-20 2004-07-20 Device monitoring device and device monitoring system

Publications (2)

Publication Number Publication Date
JP2006033592A JP2006033592A (en) 2006-02-02
JP4639675B2 true JP4639675B2 (en) 2011-02-23

Family

ID=35899378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004211634A Expired - Fee Related JP4639675B2 (en) 2004-07-20 2004-07-20 Device monitoring device and device monitoring system

Country Status (1)

Country Link
JP (1) JP4639675B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5319926B2 (en) * 2007-08-06 2013-10-16 パナソニック株式会社 Equipment management system
JP5825867B2 (en) * 2011-06-14 2015-12-02 新電元工業株式会社 Monitoring device, monitoring method, monitoring program, and monitoring system
JP2014075060A (en) * 2012-10-05 2014-04-24 Azbil Corp Control apparatus and data restoration method
JP6057759B2 (en) * 2013-02-14 2017-01-11 大阪瓦斯株式会社 Information display system
US10505785B2 (en) * 2016-09-13 2019-12-10 Panasonic Intellectual Property Management Co., Ltd. Terminal monitoring control device for controlling and monitoring a terminal device connected in a network
JP2018046558A (en) * 2016-09-13 2018-03-22 パナソニックIpマネジメント株式会社 Terminal monitoring control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05211689A (en) * 1991-11-27 1993-08-20 Nec Corp Centralized monitor system
JPH0670380A (en) * 1992-08-17 1994-03-11 Mitsubishi Electric Corp Remote controller
JPH10289121A (en) * 1997-04-14 1998-10-27 Sumitomo Sitix Corp Duplex computer system
JP2001331339A (en) * 2000-05-22 2001-11-30 Hitachi Ltd Duplex operation control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05211689A (en) * 1991-11-27 1993-08-20 Nec Corp Centralized monitor system
JPH0670380A (en) * 1992-08-17 1994-03-11 Mitsubishi Electric Corp Remote controller
JPH10289121A (en) * 1997-04-14 1998-10-27 Sumitomo Sitix Corp Duplex computer system
JP2001331339A (en) * 2000-05-22 2001-11-30 Hitachi Ltd Duplex operation control system

Also Published As

Publication number Publication date
JP2006033592A (en) 2006-02-02

Similar Documents

Publication Publication Date Title
CN101645807B (en) Detecting system and method for network online state
JP2009260778A (en) Sensor network gateway, and sensor network system
CN101546180A (en) Information collection apparatus, method, and program
CN111052087B (en) Control system, information processing apparatus, and recording medium
JP2008206135A (en) Remote monitoring apparatus and remote monitoring system
CN102857367A (en) Method for increasing reliability in monitoring systems
JP4639675B2 (en) Device monitoring device and device monitoring system
WO2010143576A1 (en) Link server web air-conditioning monitoring system
JP3643930B2 (en) Management operation system for networked infrastructure equipment and management operation method using the system
JP4936510B2 (en) Fire alarm system
EP2455677B1 (en) Air-conditioning control monitoring device and air-conditioning control monitoring system
JP2010273123A (en) Browser terminal, remote monitoring system, program
JP7409887B2 (en) Data relay equipment and display equipment
JP6112552B2 (en) Information collection system
JP3738682B2 (en) Equipment abnormality detection system
JP2006085623A (en) Web monitoring system, data processing method and monitored apparatus
JP4825439B2 (en) Information collection and distribution device
JP6838568B2 (en) Information processing system and information processing method
JP6058408B2 (en) Monitoring system
JP4483458B2 (en) Device monitoring device and device monitoring system
JPH1188967A (en) Measurement station data collection device
JP2005143055A (en) Terminal control apparatus and terminal control system
JP2005134083A (en) Equipment control system
JPH1031657A (en) Distributed controller
CN114545064B (en) Equipment fault monitoring method, device and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100524

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101115

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4639675

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees