JP2009232099A - Equipment management system - Google Patents

Equipment management system Download PDF

Info

Publication number
JP2009232099A
JP2009232099A JP2008074241A JP2008074241A JP2009232099A JP 2009232099 A JP2009232099 A JP 2009232099A JP 2008074241 A JP2008074241 A JP 2008074241A JP 2008074241 A JP2008074241 A JP 2008074241A JP 2009232099 A JP2009232099 A JP 2009232099A
Authority
JP
Japan
Prior art keywords
mail
controller
log
notification
maintenance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008074241A
Other languages
Japanese (ja)
Inventor
Yoshihisa Honma
義久 本間
Hideaki Yamaguchi
英亮 山口
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 Electric Works Co Ltd
Original Assignee
Panasonic Electric Works Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Electric Works Co Ltd filed Critical Panasonic Electric Works Co Ltd
Priority to JP2008074241A priority Critical patent/JP2009232099A/en
Publication of JP2009232099A publication Critical patent/JP2009232099A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide equipment management system capable of monitoring the operation state of a controller regardless of an operation by a user. <P>SOLUTION: The controller 1 transmits existence confirmation mail through a mail server 4 to a maintenance server 5 at a fixed transmission interval Ta. The maintenance server 5 detects the reception interval Tb of receiving the existence confirmation mail from the controller 1, and when the reception interval Tb of the existence confirmation mail exceeds the monitoring time Tc for which the fixed delay time is added to the transmission interval Ta, determines that it is system abnormality. When determining that it is the system abnormality, the maintenance server 5 transmits reporting mail reporting the system abnormality to the mail address of a terminal unit 3. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、端末装置からコントローラに送信される電子メールにより、コントローラに接続されている対象機器の制御、監視が可能な機器管理システムに関するものである。   The present invention relates to a device management system capable of controlling and monitoring a target device connected to a controller by an electronic mail transmitted from a terminal device to the controller.

従来から、この種の機器管理システムとして、図11に示すようにメールサーバを接続したネットワーク(インターネット)に対し、宅内の対象機器が接続されたコントローラと、パーソナルコンピュータや携帯電話端末等の端末装置とを接続したものが知られている。この機器管理システムにおいては、対象機器の制御や監視に係る指示を記述した電子メール(以下、指示メールという)を、ユーザが宅外の端末装置からメールサーバを介して宅内のコントローラに送信することにより、コントローラは、指示メールの内容に従って宅内の対象機器の制御や監視を行い、制御結果や監視結果を示す電子メール(以下、応答メールという)を端末装置に返信する(たとえば特許文献1参照)。   Conventionally, as a device management system of this type, as shown in FIG. 11, a controller in which a target device in the house is connected to a network (Internet) connected to a mail server and a terminal device such as a personal computer or a mobile phone terminal. What is connected to is known. In this device management system, a user transmits an electronic mail (hereinafter referred to as an instruction mail) describing an instruction related to control or monitoring of a target device from a terminal device outside the home to a home controller via a mail server. Thus, the controller controls and monitors the target device in the house according to the contents of the instruction mail, and returns an electronic mail (hereinafter referred to as a response mail) indicating the control result and the monitoring result to the terminal device (see, for example, Patent Document 1). .

また、上記機器管理システムにおいて、対象機器としてイベント(たとえば火災など)の発生を検知するセンサを用いた場合には、センサで検知されたイベントをコントローラから端末装置に電子メールにて通知することも可能である。   In the device management system, when a sensor that detects the occurrence of an event (for example, a fire) is used as the target device, the controller may notify the terminal device of the event detected by the sensor by e-mail. Is possible.

ところで、この種の機器管理システムにおいては、コントローラの故障等により機器管理システムが正常に稼働できない状態になると、端末装置から対象機器の制御や監視を行うことは勿論のこと、センサで検知されたイベントを端末装置に通知することも不可能になるので、ユーザはコントローラが正常に動作しているか否かを適宜監視する必要がある。一般的には、ユーザは端末装置からコントローラに対して指示メールを送信したときに、この指示メールに対する応答メールが端末装置で受信されるか否かによって、コントローラが動作しているか否かを確認する。すなわち、端末装置に対して応答メールの返信があった場合には、機器管理システムが正常に稼働しているものと判断される。
特開2006−108927号公報
By the way, in this type of device management system, when the device management system becomes unable to operate normally due to a failure of the controller, it is detected by the sensor as well as controlling and monitoring the target device from the terminal device. Since it becomes impossible to notify the terminal device of the event, the user needs to appropriately monitor whether or not the controller is operating normally. Generally, when a user sends an instruction mail from the terminal device to the controller, the user confirms whether the controller is operating based on whether a response mail for the instruction mail is received by the terminal device. To do. That is, when a response mail is returned to the terminal device, it is determined that the device management system is operating normally.
JP 2006-108927 A

しかしながら、上述したように、応答メールが端末装置で受信されるか否かによってコントローラの動作状態を監視する方法では、コントローラが動作しているか否かを確認する都度、ユーザにおいて端末装置から指示メールを送信する操作が必要になるため不便である。しかも、端末装置から指示メールを送信した時点でのコントローラの動作状態を確認することしかできないので、コントローラの動作状態を頻繁に確認するためには、頻繁に指示メールを送信する必要がありユーザの負担が大きくなる。   However, as described above, in the method of monitoring the operation state of the controller based on whether or not a response mail is received by the terminal device, each time the user confirms whether or not the controller is operating, an instruction mail is sent from the terminal device to the user. It is inconvenient because an operation to send is required. Moreover, since it is only possible to check the operating state of the controller when the instruction mail is transmitted from the terminal device, it is necessary to frequently transmit the instruction mail in order to frequently check the operating state of the controller. The burden increases.

本発明は上記事由に鑑みて為されたものであって、ユーザの操作によらずにコントローラの動作状態を監視することができる機器管理システムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a device management system capable of monitoring the operation state of a controller without depending on a user operation.

請求項1の発明は、対象機器が接続されたコントローラと、コントローラが接続されるネットワークに接続されたメールサーバと、メールサーバを介してコントローラとの間で電子メールの送受信が可能な端末装置とを備え、コントローラが、対象機器の制御または監視を指示する指示メールを端末装置から受信し、当該指示メールの内容に従って対象機器の制御または監視を行う機器管理システムであって、前記ネットワークには、メールサーバを介してコントローラとの間で電子メールの送受信が可能なメンテナンスサーバが接続され、コントローラが、定期的に生存確認メールをメンテナンスサーバ宛に送信する生存確認手段を有し、メンテナンスサーバが、生存確認メールが所定時間以上に亘り受信されなければシステム異常と判断するシステム異常判断手段と、システム異常と判断されたときにシステム異常を報知する報知メールを端末装置宛に送信する異常報知手段とを有することを特徴とする。   The invention of claim 1 includes a controller to which the target device is connected, a mail server connected to a network to which the controller is connected, and a terminal device capable of sending and receiving electronic mail between the controller via the mail server. The controller receives an instruction mail for instructing control or monitoring of the target device from the terminal device, and controls or monitors the target device according to the content of the instruction mail, and the network includes: A maintenance server capable of sending and receiving e-mails to and from the controller via the mail server is connected, and the controller has a life confirmation means for periodically sending a life confirmation mail to the maintenance server. If a survival confirmation email is not received for a specified time, it is determined that the system is abnormal. A system abnormality determination unit that, and having an abnormality informing means for transmitting a notification mail for notifying the system abnormality to the terminal device when it is determined that the system abnormality.

この構成によれば、コントローラが、生存確認手段によって定期的に生存確認メールをメンテナンスサーバに送信し、メンテナンスサーバは、生存確認メールが所定時間以上に亘って受信されなければ、異常報知手段によって端末装置宛にシステム異常を報知する報知メールを自動的に送信することになるので、コントローラの故障等により機器管理システムが正常に稼働できない状態になると、端末装置に報知メールが送信されることでユーザにシステム異常を報知することができる。すなわち、従来のように端末装置から指示メールを送信する操作をユーザが行うことなく、コントローラの動作状態を監視することができるという利点がある。   According to this configuration, the controller periodically transmits a survival confirmation email to the maintenance server by the survival confirmation unit, and the maintenance server sends the terminal by the abnormality notification unit if the survival confirmation email is not received for a predetermined time or more. Since a notification mail for notifying a system abnormality is automatically transmitted to the device, if the device management system cannot be normally operated due to a failure of the controller or the like, the notification mail is transmitted to the terminal device, so that the user It is possible to notify the system abnormality. That is, there is an advantage that the operation state of the controller can be monitored without the user performing an operation of transmitting an instruction mail from the terminal device as in the past.

請求項2の発明は、請求項1の発明において、前記コントローラが、前記メールサーバとの間の通信の履歴を示すメンテナンスログを記憶するログ記憶部と、前記端末装置からログ要求メールを受信すると、メンテナンスログを含むログ通知メールを端末装置宛に送信するログ通知手段とを有することを特徴とする。   According to a second aspect of the present invention, in the first aspect of the invention, the controller receives a log request mail from the log storage unit that stores a maintenance log indicating a history of communication with the mail server, and the terminal device. And log notification means for transmitting a log notification mail including a maintenance log to the terminal device.

この構成によれば、コントローラとメールサーバとの間の通信の履歴を示すメンテナンスログが、端末装置からコントローラへのログ要求メールに応じて端末装置に伝達されることになるので、端末装置においては、任意のタイミングでコントローラとメールサーバとの間の通信状態を確認することができる。   According to this configuration, the maintenance log indicating the history of communication between the controller and the mail server is transmitted to the terminal device in response to the log request mail from the terminal device to the controller. The communication state between the controller and the mail server can be confirmed at an arbitrary timing.

請求項3の発明は、請求項1の発明において、前記コントローラが、前記メールサーバとの間の通信の履歴を示すメンテナンスログを記憶するログ記憶部を有し、前記メンテナンスサーバが、コントローラとメールサーバとの間の通信が復旧したときにコントローラからメンテナンスログを取得するログ取得手段と、メンテナンスログを取得すると当該メンテナンスログに基づいてコントローラがメールサーバに対し最後にアクセスした時刻を抽出し、抽出した時刻を示す状態通知メールを前記端末装置宛に送信する状態通知手段とを有することを特徴とする。   According to a third aspect of the present invention, in the first aspect of the invention, the controller includes a log storage unit that stores a maintenance log indicating a history of communication with the mail server, and the maintenance server includes a controller and a mail. Log acquisition means for acquiring the maintenance log from the controller when communication with the server is restored, and when the maintenance log is acquired, the time when the controller last accessed the mail server is extracted and extracted based on the maintenance log And a status notification means for transmitting a status notification mail indicating the received time to the terminal device.

この構成によれば、コントローラとメールサーバとの間の通信が復旧したときに、コントローラがメールサーバに対し最後にアクセスした時刻が端末装置に通知されることになるので、端末装置においては、コントローラとの通信が復旧した時点で、コントローラとの通信が復旧したこと、並びにコントローラと通信不能であった期間を確認することができる。   According to this configuration, when the communication between the controller and the mail server is restored, the terminal device is notified of the time at which the controller last accessed the mail server. When the communication with the controller is restored, it can be confirmed that the communication with the controller has been restored and the period during which the communication with the controller has been disabled.

請求項4の発明は、請求項1ないし請求項3のいずれかの発明において、前記コントローラが、前記メールサーバとの間の通信異常を検出する通信異常判断手段と、通信異常の検出時に通信異常を報知する通信異常報知手段と、通信異常報知手段の報知を停止させるように操作される復旧用操作部とを有し、一旦通信異常を検出すると、メールサーバとの間の通信が復旧しても復旧用操作部が操作されるまでは通信異常報知手段による報知を継続することを特徴とする。   According to a fourth aspect of the present invention, the controller according to any one of the first to third aspects, wherein the controller detects a communication abnormality between the mail server and a communication abnormality when detecting a communication abnormality. Communication abnormality notifying means for notifying the communication, and a recovery operation unit operated to stop notification of the communication abnormality notifying means, and once communication abnormality is detected, communication with the mail server is recovered. In addition, the notification by the communication abnormality notification means is continued until the operation unit for recovery is operated.

この構成によれば、コントローラとメールサーバとの間の通信異常が一旦検出されると、復旧用操作部が操作されるまでは通信異常報知手段による報知が継続するので、コントローラとメールサーバとの間で通信異常が生じたことをユーザに対して確実に報知することができる。すなわち、たとえばコントローラとメールサーバとの間で通信異常が生じたものの、生存確認メールの送信時点では通信が既に復旧していたためにメンテナンスサーバでシステム異常と判断されないような場合であっても、過去に通信異常が生じたことをユーザに報知することができる。   According to this configuration, once a communication abnormality between the controller and the mail server is detected, the notification by the communication abnormality notification means continues until the recovery operation unit is operated. It is possible to reliably notify the user that a communication abnormality has occurred. That is, for example, even if a communication error has occurred between the controller and the mail server, but the communication has already been recovered at the time of sending the survival confirmation mail, the maintenance server cannot determine that there is a system error. It is possible to notify the user that a communication abnormality has occurred.

請求項5の発明は、請求項2の発明において、前記コントローラが、前記ログ記憶部のメモリ残量が所定値以下になると、前記ログ通知手段から前記メンテナンスサーバ宛に前記ログ通知メールを送信させるとともに、ログ通知メールの送信後にログ記憶部内のメンテナンスログを消去するログ消去手段を有し、メンテナンスサーバが、前記端末装置からログ要求メールを受信すると、ログ通知メールを端末装置宛に送信するログ転送手段を有することを特徴とする。   According to a fifth aspect of the present invention, in the second aspect of the invention, the controller causes the log notification unit to transmit the log notification mail to the maintenance server when the remaining memory capacity of the log storage unit becomes a predetermined value or less. And a log erasing unit for erasing the maintenance log in the log storage unit after transmission of the log notification mail. When the maintenance server receives the log request mail from the terminal device, the log transmits the log notification mail to the terminal device. It has a transfer means.

この構成によれば、メンテナンスログは、ログ記憶部のメモリ残量が所定値以下になると、コントローラからメンテナンスサーバに移され、その後の端末装置からメンテナンスサーバへのログ要求メールに応じて端末装置に伝達されるので、ログ記憶部のメモリ容量が比較的小さくても、メンテナンスログを端末装置に確実に伝達できるという利点がある。   According to this configuration, the maintenance log is transferred from the controller to the maintenance server when the remaining memory capacity of the log storage unit becomes a predetermined value or less, and then sent to the terminal device in response to a log request mail from the terminal device to the maintenance server. Therefore, even if the memory capacity of the log storage unit is relatively small, there is an advantage that the maintenance log can be reliably transmitted to the terminal device.

請求項6の発明は、請求項1ないし請求項5のいずれかの発明において、前記コントローラが、予め設定されている制御用パスワードに前記指示メールに含まれるパスワードが一致した場合にのみ、指示メールの内容に従って前記対象機器の制御または監視を行うものであって、自己と対象機器との少なくとも一方に設けた通知用操作部の操作に応じて、制御用パスワードを示すパスワード通知メールを端末装置宛に送信するパスワード通知手段を有することを特徴とする。   According to a sixth aspect of the present invention, in the invention according to any one of the first to fifth aspects, the controller sends an instruction mail only when a password included in the instruction mail matches a preset control password. The target device is controlled or monitored according to the contents of the password, and a password notification mail indicating the control password is sent to the terminal device in response to an operation of the notification operation unit provided on at least one of the device and the target device. It has the password notification means to transmit to.

この構成によれば、コントローラと対象機器との少なくとも一方に設けた通知用操作部の操作に応じて制御用パスワードが端末装置に通知されるので、ユーザが制御用パスワードを忘れてしまった場合でも、制御用パスワードをユーザに知らせることができ、たとえばコントローラを初期化して新たに制御用パスワードを設定するなどの作業が不要となる。   According to this configuration, since the control password is notified to the terminal device in accordance with the operation of the notification operation unit provided on at least one of the controller and the target device, even if the user forgets the control password Thus, the user can be notified of the control password, and for example, work such as initialization of the controller and setting of a new control password becomes unnecessary.

本発明は、ユーザの操作によることなくコントローラの動作状態を監視することができるという利点がある。   The present invention has an advantage that the operation state of the controller can be monitored without being operated by the user.

(実施形態1)
本実施形態の機器管理システムAは、図2に示すように複数台の対象機器2が接続されたコントローラ1と、パーソナルコンピュータや携帯電話端末等からなる端末装置(ここではパーソナルコンピュータ)3と、コントローラ1や端末装置3との間で電子メールの送受信を行うメールサーバ4およびメンテナンスサーバ5とがネットワーク(インターネット)6に接続された構成を有する。
(Embodiment 1)
As shown in FIG. 2, the device management system A of the present embodiment includes a controller 1 to which a plurality of target devices 2 are connected, a terminal device (here, a personal computer) 3 including a personal computer, a mobile phone terminal, and the like, A mail server 4 and a maintenance server 5 that transmit and receive electronic mail to and from the controller 1 and the terminal device 3 are connected to a network (Internet) 6.

ここにおいて、対象機器2としては照明器具や空調設備などの住宅内に設置された電気機器の他、たとえば不審者の侵入や火災などのイベントの発生を検知するセンサや、防犯カメラやインターホンや電気錠など様々な機器が適用される。これらの対象機器2は、LAN等の宅内ネットワークを介してコントローラ1に接続されており、宅内ネットワークを介してコントローラ1から後述の制御信号を受けると、当該制御信号に応じて自己の動作の制御や動作状態の監視が為されるように構成される。   Here, as the target device 2, in addition to electric devices installed in houses such as lighting equipment and air conditioning equipment, for example, sensors for detecting the occurrence of events such as suspicious intruders and fires, security cameras, intercoms, and electric devices Various devices such as locks are applied. These target devices 2 are connected to the controller 1 via a home network such as a LAN, and when receiving a control signal (to be described later) from the controller 1 via the home network, control of its own operation according to the control signal. And is configured to be monitored for operating conditions.

コントローラ1は、宅内に設置されており、メールサーバ4に対しネットワーク6を介して定期的にアクセスすることで、宅外の端末装置3からメールサーバ4に対しネットワーク6を介して送信された電子メールを受信する。ここで、ユーザは、対象機器2の制御や監視に係る指示要求を記述した電子メール(以下、指示メールという)を、宅外の端末装置3からメールサーバを介してコントローラ1に送信するものとする。しかして、コントローラ1はメールサーバ4にアクセスした際にメールサーバ4内に指示メールがあるか否かを確認し、自己宛の指示メールがあれば当該指示メールを受信する。   The controller 1 is installed in the house, and electronically transmitted from the terminal device 3 outside the house to the mail server 4 via the network 6 by periodically accessing the mail server 4 via the network 6. Receive email. Here, the user transmits an electronic mail (hereinafter referred to as an instruction mail) describing an instruction request related to control or monitoring of the target device 2 from the terminal device 3 outside the home to the controller 1 via the mail server. To do. Thus, when accessing the mail server 4, the controller 1 checks whether or not there is an instruction mail in the mail server 4, and receives the instruction mail if there is an instruction mail addressed to itself.

指示メールを受け取ったコントローラ1は、指示メールの内容に従って自己に接続されている対象機器2に制御信号を送信し、当該制御信号により対象機器2の制御や監視を行う。さらに、コントローラ1は対象機器2の制御結果や監視結果を示す電子メール(以下、応答メールという)を、端末装置3に対しメールサーバ4を介して返信する。また、センサ等の対象機器2においてイベントの発生が検知された場合には、当該対象機器2が接続されているコントローラ1は、対象機器2からの信号を受けて前記イベントの発生を示す電子メールを端末装置3に送信することで、イベントの発生を端末装置3に通知する。なお、コントローラ1はメールサーバ4との間で標準メールプロトコルであるPOP3(Post Office Protocol Ver.3)、SMTP(Simple Mail Transfer Protocol)を用いて電子メールの送受信を行う。   The controller 1 that has received the instruction mail transmits a control signal to the target device 2 connected to the controller 1 according to the content of the instruction mail, and controls and monitors the target device 2 by the control signal. Further, the controller 1 returns an electronic mail (hereinafter referred to as a response mail) indicating the control result or monitoring result of the target device 2 to the terminal device 3 via the mail server 4. When the occurrence of an event is detected in the target device 2 such as a sensor, the controller 1 to which the target device 2 is connected receives the signal from the target device 2 and an e-mail indicating the occurrence of the event Is transmitted to the terminal device 3 to notify the terminal device 3 of the occurrence of the event. The controller 1 transmits and receives e-mails to and from the mail server 4 using standard mail protocols POP3 (Post Office Protocol Ver. 3) and SMTP (Simple Mail Transfer Protocol).

ところで、上述の機器管理システムAにおいては、コントローラ1の故障等によりシステムが正常に稼働できない状態になると、端末装置3からの指示メールによって対象機器2の制御・監視を行うことは勿論のこと、センサ等の対象機器2で検知されたイベントの発生を端末装置3に通知することもできなくなるので、コントローラ1が正常に動作しているか否かの監視(所謂、コントローラ1の生存確認)を適宜行う必要がある。そこで、本実施形態では以下の構成を採用している。   By the way, in the above-described device management system A, when the system becomes unable to operate normally due to a failure of the controller 1, the target device 2 is controlled and monitored by an instruction mail from the terminal device 3. Since the occurrence of an event detected by the target device 2 such as a sensor cannot be notified to the terminal device 3, monitoring of whether the controller 1 is operating normally (so-called confirmation of the existence of the controller 1) is appropriately performed. There is a need to do. Therefore, the present embodiment employs the following configuration.

すなわち、コントローラ1は、正常に動作していることを示すための電子メール(以下、生存確認メールという)を定期的に送信する生存確認手段としての機能を有する。ここで、コントローラ1には、ネットワーク6に接続されたメンテナンスサーバ5のアドレスが予め設定されており、コントローラ1は、図1に示すように前記生存確認メールをメンテナンスサーバ5に対しメールサーバ4を介して一定時間間隔(以下、送信間隔Taという)で送信する。   That is, the controller 1 has a function as a survival confirmation unit that periodically transmits an electronic mail (hereinafter referred to as a survival confirmation mail) to indicate that it is operating normally. Here, the address of the maintenance server 5 connected to the network 6 is set in advance in the controller 1, and the controller 1 sends the survival confirmation mail to the maintenance server 5 as shown in FIG. Via a predetermined time interval (hereinafter referred to as a transmission interval Ta).

メンテナンスサーバ5は、コントローラ1から送信される電子メールの受信処理を行い、コントローラ1からの生存確認メールを受信した時間間隔(以下、受信間隔Tbという)を検出するシステム異常判断手段としての機能を有する。しかして、メンテナンスサーバ5では、生存確認メールの受信間隔Tbが送信間隔Taに一定の遅延時間を付加した時間(以下、監視時間Tcという)を上回ったとき、機器管理システムAが正常に稼働していないものと判断する。つまり、メンテナンスサーバ5は、コントローラ1からの生存確認メールを監視時間Tc以上に亘って受信できなければ、システム異常であると判断する。なお、遅延時間の長さは、コントローラ1とメンテナンスサーバ5との間で電子メールの送受信を行う際に生じ得るタイムラグを見込んで設定される。   The maintenance server 5 performs a process of receiving an e-mail transmitted from the controller 1 and functions as a system abnormality determination unit that detects a time interval (hereinafter referred to as a reception interval Tb) at which a survival confirmation mail from the controller 1 is received. Have. Therefore, in the maintenance server 5, when the reception interval Tb of the survival confirmation mail exceeds the time (hereinafter referred to as the monitoring time Tc) obtained by adding a certain delay time to the transmission interval Ta, the device management system A operates normally. Judge that it is not. That is, if the maintenance server 5 cannot receive the survival confirmation mail from the controller 1 over the monitoring time Tc, it determines that the system is abnormal. Note that the length of the delay time is set in consideration of a time lag that may occur when the electronic mail is transmitted / received between the controller 1 and the maintenance server 5.

さらに、メンテナンスサーバ5は、端末装置3のメールアドレスを記憶するアドレス記憶部(図示せず)を有するとともに、上記システム異常と判断したときに、アドレス記憶部に登録されている端末装置3のメールアドレスにシステム異常を報知する電子メール(以下、報知メールという)を送信する異常報知手段としての機能を具備する。この構成により、コントローラ1からメンテナンスサーバ5に生存確認メールが定期的に送信されなくなると、図1に示すようにシステム異常が発生したものとしてメンテナンスサーバ5から宅外の端末装置3に報知メールが送信される。なお、報知メールの送信先として複数台の端末装置3を設定するようにしてもよく、この場合、アドレス記憶部には複数台の端末装置3のメールアドレスが登録される。   Furthermore, the maintenance server 5 has an address storage unit (not shown) for storing the mail address of the terminal device 3, and the mail of the terminal device 3 registered in the address storage unit when it is determined that the system is abnormal. It has a function as an abnormality notification means for transmitting an e-mail (hereinafter referred to as a notification mail) for notifying a system abnormality to an address. With this configuration, when the survival confirmation mail is not periodically transmitted from the controller 1 to the maintenance server 5, a notification mail is sent from the maintenance server 5 to the terminal device 3 outside the house as a system abnormality has occurred as shown in FIG. Sent. Note that a plurality of terminal devices 3 may be set as notification mail transmission destinations. In this case, the mail addresses of the plurality of terminal devices 3 are registered in the address storage unit.

以上説明した構成の機器管理システムAによれば、コントローラ1の故障やコントローラ1−メンテナンスサーバ5間の通信障害等によりシステムが正常に稼働できないときには、宅外の端末装置3に対してシステム異常を報知する報知メールが自動的に送信されるので、宅外のユーザに対してシステム異常を報知することが可能である。したがって、ユーザにおいては、特に操作しなくともコントローラ1の生存確認を行なうことができ、従来構成のようにユーザがコントローラ1に対して指示メールを送ることでコントローラ1の生存確認を行う場合に比べて、ユーザの負担を軽減することができる。   According to the device management system A having the above-described configuration, when the system cannot operate normally due to a failure of the controller 1 or a communication failure between the controller 1 and the maintenance server 5, a system abnormality is detected with respect to the terminal device 3 outside the house. Since the notification mail for notification is automatically transmitted, it is possible to notify the user outside the home of the system abnormality. Therefore, the user can confirm the existence of the controller 1 without any special operation, and compared with the case where the user confirms the existence of the controller 1 by sending an instruction mail to the controller 1 as in the conventional configuration. Thus, the burden on the user can be reduced.

ここにおいて、コントローラ1の生存確認は、コントローラ1からメンテナンスサーバ5に生存確認メールが送信される度に為されることとなるので、生存確認メールの送信間隔Taを短くすることでコントローラ1の生存確認の頻度を上げることができ、これにより、システム異常の発生を早急にユーザに報知することが可能となる。そのため、ユーザにおいては、システム異常の発生時にコントローラ1の復旧等の措置を早急にとることができる。なお、生存確認メールの送信間隔Taは、たとえば端末装置3のWebブラウザ機能によりコントローラ1に搭載されているWebサーバ機能にアクセスすることで、任意に設定できるようにしてある。   Here, since the survival confirmation of the controller 1 is performed every time a survival confirmation mail is transmitted from the controller 1 to the maintenance server 5, the survival of the controller 1 is reduced by shortening the transmission interval Ta of the survival confirmation mail. The frequency of confirmation can be increased, thereby enabling the user to be notified immediately of the occurrence of a system abnormality. Therefore, the user can immediately take measures such as restoration of the controller 1 when a system abnormality occurs. The survival confirmation mail transmission interval Ta can be arbitrarily set by accessing a Web server function installed in the controller 1 by the Web browser function of the terminal device 3, for example.

また、図示例ではメンテナンスサーバ5に対してコントローラ1を1台のみ接続した例を示しているが、実際には、ネットワーク6を介して複数台のコントローラ1をメンテナンスサーバ5に接続可能である。複数台のコントローラ1が接続される場合、メンテナンスサーバ5は、送信元メールアドレスごとに生存確認メールを抽出し、送信元メールアドレスが同一の生存確認メールについて受信間隔Tbを検出するように構成される。そして、アドレス記憶部においては端末装置3のメールアドレスにコントローラ1のメールアドレスが対応付けられ、メンテナンスサーバ5は、システム異常と判断した場合に、当該判断に係る生存確認メールの送信元のメールアドレスとアドレス記憶部で対応付けられた端末装置3に対して報知メールを送信するように構成される。   In the illustrated example, only one controller 1 is connected to the maintenance server 5, but actually, a plurality of controllers 1 can be connected to the maintenance server 5 via the network 6. When a plurality of controllers 1 are connected, the maintenance server 5 is configured to extract a survival confirmation email for each transmission source email address and detect the reception interval Tb for a survival confirmation email with the same transmission source email address. The Then, in the address storage unit, the mail address of the controller 1 is associated with the mail address of the terminal device 3, and when the maintenance server 5 determines that the system is abnormal, the mail address of the transmission source of the survival confirmation mail related to the determination The notification mail is configured to be transmitted to the terminal device 3 associated with the address storage unit.

ところで、本実施形態においては、コントローラ1はメールサーバ4との間においての通信異常を検出する通信異常判断手段としての機能を具備している。さらに、コントローラ1には、上記通信異常が検出された場合に通信異常をたとえば光によって報知する通信異常報知手段としての機能と、通信異常の報知を停止させるようにユーザによって操作される図示しない復旧用スイッチ(復旧用操作部)とが備わっている。ここで、コントローラ1は、通信異常が一旦検出されると、たとえコントローラ1とメールサーバ4との間で通信が復旧し電子メールの送受信が可能な状態になったとしても、復旧用スイッチが操作されるまでは通信異常の報知を継続するように構成されている。   By the way, in this embodiment, the controller 1 has a function as communication abnormality determination means for detecting a communication abnormality with the mail server 4. Further, the controller 1 has a function as a communication abnormality notification means for notifying the communication abnormality by light, for example, when the communication abnormality is detected, and a restoration (not shown) operated by the user so as to stop the notification of the communication abnormality. Switch (operation part for recovery). Here, once a communication abnormality is detected, the controller 1 operates the recovery switch even if communication between the controller 1 and the mail server 4 is restored and e-mail can be sent and received. Until it is done, it is configured to continue notification of communication abnormality.

具体的に説明すると、コントローラ1は、メールサーバ4へ電子メールを送信する際に、電子メールの送信が正常に完了しなければ(つまり、電子メールの送信エラーが発生すると)、図3に示すように予め定められているリトライ回数(ここでは2回)だけ電子メールの送信を再試行するように構成されている。ここにおいて、ネットワーク6やメールサーバ4の混雑等に起因して一時的に電子メールの送信エラーが生じる可能性があるので、コントローラ1は、この種の一時的な送信エラーを通信異常から除外する目的で、図3のように電子メールの送信エラーが連続してリトライ回数より1回多い回数(ここでは3回)発生したときに限り通信異常と判断するものとする。   Specifically, when the controller 1 transmits an e-mail to the mail server 4, if the e-mail transmission is not completed normally (that is, if an e-mail transmission error occurs), the controller 1 is shown in FIG. As described above, the transmission of the electronic mail is retried for a predetermined number of retries (here, twice). Here, since there is a possibility that an e-mail transmission error may temporarily occur due to congestion of the network 6 or the mail server 4, the controller 1 excludes this type of temporary transmission error from the communication abnormality. For the purpose, as shown in FIG. 3, it is determined that a communication error occurs only when an e-mail transmission error is continuously generated one more time than the number of retries (here, three times).

しかして、コントローラ1とメールサーバ4との間で通信異常が発生すると、コントローラ1に設けた復旧用スイッチがユーザに操作されるまでは、コントローラ1は通信異常を報知し続けることとなるので、通信異常の発生をユーザに対して確実に知らせることが可能である。要するに、一旦通信異常が生じたものの生存確認メールの送信時点では通信が既に復旧していたためにメンテナンスサーバ5でシステム異常と判断されず、且つユーザが帰宅した時点ではコントローラ1が正常に動作しているような場合でもあっても、コントローラ1が通信異常を報知し続けることにより、過去に通信異常が発生したという事実を帰宅したユーザに対し確実に知らせることができる。そして、前記報知を確認したユーザは、復旧用スイッチを操作することで前記報知を終了させることができる。   Thus, when a communication abnormality occurs between the controller 1 and the mail server 4, the controller 1 continues to notify the communication abnormality until the user operates the recovery switch provided in the controller 1. It is possible to reliably notify the user of the occurrence of communication abnormality. In short, although communication abnormality has occurred once, communication has already been recovered at the time of sending the survival confirmation mail, so the maintenance server 5 does not determine that the system is abnormal, and the controller 1 operates normally when the user returns home. Even in such a case, it is possible to reliably notify the user who has returned home of the fact that the communication abnormality has occurred in the past by continuously reporting the communication abnormality. The user who has confirmed the notification can end the notification by operating the recovery switch.

また、本実施形態においては、指示メールにて対象機器2を制御するに当たって、セキュリティ性を向上させるために指示メールの本文に図4に示すように正しいパスワード(図示例では「abc123」)を入力することを必須要件としてある。すなわち、コントローラ1は、所定の制御用パスワードが予め設定されており、指示メールに含まれるパスワードが制御用パスワードに一致する場合にのみ、指示メールの内容に従って対象機器2の制御を行うように構成されている。これにより、正規のユーザ以外の者がコントローラ1に対し指示メールを送信して不正に対象機器2を制御することを阻止できる。   In the present embodiment, when controlling the target device 2 with the instruction mail, the correct password (“abc123” in the illustrated example) is input in the body of the instruction mail as shown in FIG. 4 in order to improve security. It is an essential requirement to do. That is, the controller 1 is configured to control the target device 2 according to the content of the instruction mail only when a predetermined control password is set in advance and the password included in the instruction mail matches the control password. Has been. Thereby, it is possible to prevent a person other than a legitimate user from transmitting the instruction mail to the controller 1 and controlling the target device 2 illegally.

ただし、この構成では、正規のユーザであっても正しいパスワードを指示メールに記述しない限り指示メールにて対象機器2を制御することができないので、ユーザが正しいパスワード(制御用パスワード)を忘れてしまった場合などに対処するため、ユーザに対して制御用パスワードを通知可能な構成を本実施形態では採用している。具体的には、コントローラ1には図示しない通知用スイッチ(通知用操作部)と、この通知用スイッチの操作に応じて、制御用パスワードを通知するための電子メール(以下、パスワード通知メールという)を端末装置3のメールアドレスに送信するパスワード通知手段としての機能とが備わっている。なお、通知用スイッチはコントローラ1本体に設けられるものに限らず、コントローラ1に接続された対象機器2に設けられていてもよい。   However, in this configuration, even if the user is an authorized user, the target device 2 cannot be controlled by the instruction mail unless the correct password is described in the instruction mail. Therefore, the user forgets the correct password (control password). In the present embodiment, a configuration that can notify the user of the control password is adopted in order to cope with the case of the case. Specifically, the controller 1 includes a notification switch (notification operation unit) (not shown), and an e-mail for notifying a control password in accordance with the operation of the notification switch (hereinafter referred to as a password notification mail). And a function as password notifying means for transmitting to the mail address of the terminal device 3. The notification switch is not limited to that provided in the main body of the controller 1 but may be provided in the target device 2 connected to the controller 1.

上記構成によれば、ユーザは、たとえ制御用パスワードを忘れてしまったとしても、コントローラ1の通知用スイッチを操作することで、端末装置3に送信されるパスワード通知メールから制御用パスワードを知ることができる。したがって、たとえばコントローラ1を初期化して制御用パスワードを新たに設定し直すなどの大掛かりな措置をとることなく、機器管理システムAを復旧させることができる。   According to the above configuration, even if the user forgets the control password, the user can know the control password from the password notification mail transmitted to the terminal device 3 by operating the notification switch of the controller 1. Can do. Therefore, for example, the device management system A can be restored without taking a major measure such as initializing the controller 1 and newly setting a control password.

ここで、本実施形態のコントローラ1は、通知用スイッチが操作された時点での各対象機器2の動作状態の組み合わせを考慮してパスワード通知メールを送信するか否かを決定するものとする。つまり、コントローラ1には、図5に示すように各対象機器2の動作状態の組み合わせが登録テーブルとして予め登録されており、コントローラ1は、通知用スイッチの操作時に各対象機器2の動作状態が登録テーブルの内容と一致している場合に限り、パスワード通知メールを送信するものとする。登録テーブルは、コントローラ1に接続された複数台の対象機器(図5では機器1〜機器4)2のそれぞれについて、オン(ON)と、オフ(OFF)と、オン・オフのどちらでもよい(Don’t care)との3種類の動作状態からいずれかを選択することで設定される。なお、登録テーブルは、たとえば端末装置3のWebブラウザ機能によりコントローラ1に搭載されているWebサーバ機能にアクセスすることで任意に設定される。   Here, the controller 1 according to the present embodiment determines whether or not to transmit a password notification mail in consideration of a combination of operation states of each target device 2 when the notification switch is operated. That is, as shown in FIG. 5, combinations of operation states of the target devices 2 are registered in the controller 1 in advance as a registration table, and the controller 1 indicates the operation states of the target devices 2 when the notification switch is operated. Only when it matches the contents of the registration table, a password notification email is sent. The registration table may be ON (ON), OFF (OFF), or ON / OFF for each of a plurality of target devices (device 1 to device 4 in FIG. 5) 2 connected to the controller 1 ( It is set by selecting one of the three types of operation states (Don't care). The registration table is arbitrarily set by accessing a web server function installed in the controller 1 by the web browser function of the terminal device 3, for example.

(実施形態2)
本実施形態の機器管理システムAは、コントローラ1とメールサーバ4との間の通信履歴を示すメンテナンスログを端末装置3で確認できる機能を付与した点が実施形態1の機器管理システムAと相違する。ここにおいて、メンテナンスログはコントローラ1におけるメールサーバアクセスログやネットワーク通信の接続情報を意味しており、ここでは図6に示すように、コントローラ1がメールサーバ4との間で行った通信の履歴(プロトコルおよび通信内容)を当該通信の時刻情報と組にしてメンテナンスログとしてある。
(Embodiment 2)
The device management system A according to the present embodiment is different from the device management system A according to the first embodiment in that a function that allows the terminal device 3 to check a maintenance log indicating a communication history between the controller 1 and the mail server 4 is provided. . Here, the maintenance log means a mail server access log or network communication connection information in the controller 1, and here, as shown in FIG. 6, a history of communications performed by the controller 1 with the mail server 4 ( The protocol and communication content) are paired with the time information of the communication to form a maintenance log.

コントローラ1は、上述のメンテナンスログを記憶するログ記憶部(図示せず)を具備しており、さらに、端末装置3からメンテナンスログを要求する電子メール(以下、ログ要求メールという)を受信すると、ログ記憶部内のメンテナンスログを端末装置3に通知するログ通知手段としての機能を具備している。ここで、コントローラ1は図7に示すようにログ要求メールを受信したときに、ログ要求メールの送信元の端末装置3のメールアドレスに対しメンテナンスログを含む電子メール(以下、ログ通知メールという)を返信することでメンテナンスログを通知する。   The controller 1 includes a log storage unit (not shown) for storing the above-described maintenance log, and further receives an email requesting a maintenance log from the terminal device 3 (hereinafter referred to as a log request email), A function as log notifying means for notifying the terminal device 3 of the maintenance log in the log storage unit is provided. Here, when the controller 1 receives the log request mail as shown in FIG. 7, an e-mail including a maintenance log for the mail address of the terminal device 3 that is the transmission source of the log request mail (hereinafter referred to as a log notification mail). Notify the maintenance log by replying.

この構成によれば、ユーザは端末装置3からコントローラ1に対してログ要求メールを送信することにより、コントローラ1とメールサーバ4との間の通信に係るメンテナンスログを取得することができるので、任意のタイミングで、コントローラ1とメールサーバ4との間の通信状況を確認することが可能である。なお、ここではログ要求メールが端末装置3からコントローラ1に送信される例を示したが、ログ要求メールはメンテナンスサーバ5からコントローラ1に送信されるものであってもよい。この場合、ログ通知メールはログ要求メールの送信元であるメンテナンスサーバ5に返信される。   According to this configuration, the user can acquire a maintenance log related to communication between the controller 1 and the mail server 4 by transmitting a log request mail from the terminal device 3 to the controller 1. It is possible to confirm the communication status between the controller 1 and the mail server 4 at this timing. Although an example in which the log request mail is transmitted from the terminal device 3 to the controller 1 is shown here, the log request mail may be transmitted from the maintenance server 5 to the controller 1. In this case, the log notification mail is returned to the maintenance server 5 that is the transmission source of the log request mail.

ところで、ログ記憶部のメモリ残量が少なくなると、ログ記憶部に新規のメンテナンスログを記憶できなくなる可能性があるので、本実施形態では以下の構成を採用することによりログ記憶部のメモリ残量を確保できるようにしてある。   By the way, if the remaining amount of memory in the log storage unit decreases, there is a possibility that a new maintenance log cannot be stored in the log storage unit. In this embodiment, the remaining amount of memory in the log storage unit is adopted by adopting the following configuration. Can be secured.

すなわち、コントローラ1は、ログ記憶部のメモリ残量を監視し当該メモリ残量が所定値以下になると、メンテナンスサーバ5にログ通知メールを送信するとともに、ログ通知メールの送信後にログ記憶部内のメンテナンスログを消去する機能(ログ消去手段)を具備している。これにより、ログ記憶部のメモリ残量が少なくなると、ログ記憶部内のメンテナンスログはメモリ容量の比較的大きいメンテナンスサーバ5に自動的に移され、ログ記憶部内のメンテナンスログを消去してメモリ残量を増やすことが可能となる。   That is, the controller 1 monitors the remaining amount of memory in the log storage unit, and when the remaining amount of memory falls below a predetermined value, transmits a log notification mail to the maintenance server 5 and maintains the log storage unit after transmitting the log notification mail. A function for erasing logs (log erasing means) is provided. As a result, when the remaining amount of memory in the log storage unit decreases, the maintenance log in the log storage unit is automatically transferred to the maintenance server 5 having a relatively large memory capacity, and the maintenance log in the log storage unit is deleted and the remaining memory amount in the log storage unit is deleted. Can be increased.

さらに、メンテナンスサーバ5においては、端末装置3からのログ要求メールを受信すると、コントローラ1から受信したログ通知メールを端末装置3に送信するログ転送手段としての機能が備わっている。したがって、端末装置3は、コントローラ1とメンテナンスサーバ5との両方に対してログ要求メールを送信することにより、コントローラ1のログ記憶部とメンテナンスサーバ5との少なくとも一方からメンテナンスログを取得することができる。なお、この構成では、端末装置3はログ記憶部のメモリ容量を超えるメンテナンスログをまとめて取得することができ、メンテナンスログの取得に係る通信の頻度を最小限に抑えることができるという利点もある。   Further, the maintenance server 5 has a function as log transfer means for transmitting the log notification mail received from the controller 1 to the terminal device 3 when receiving the log request mail from the terminal device 3. Therefore, the terminal device 3 can acquire a maintenance log from at least one of the log storage unit of the controller 1 and the maintenance server 5 by transmitting a log request mail to both the controller 1 and the maintenance server 5. it can. In addition, in this structure, the terminal device 3 can acquire collectively the maintenance log exceeding the memory capacity of a log memory | storage part, and there also exists an advantage that the frequency of communication concerning acquisition of a maintenance log can be suppressed to the minimum. .

以下、本実施形態の機器管理システムAを構成するコントローラ1の動作について図8のフローチャートを参照して説明する。   Hereinafter, the operation of the controller 1 constituting the device management system A of the present embodiment will be described with reference to the flowchart of FIG.

コントローラ1は、たとえば指示メールの取得などの目的でメールサーバ4との間で通信を行うと(S1)、この通信に関するメンテナンスログを作成してログ記憶部に記憶する(S2)。次に、コントローラ1はログ記憶部のメモリ残量を確認する(S3)。ここで、メモリ残量が所定値以下であれば、ログ通知メールをメンテナンスサーバ5に対して送信し(S4)、その後、ログ記憶部内のメンテナンスログを消去(クリア)する(S5)。一方、メモリ残量が所定値を超えていれば、ステップS4,S5の処理を飛ばして次処理(ここではS1)に移行する。   For example, when the controller 1 communicates with the mail server 4 for the purpose of obtaining an instruction mail (S1), the controller 1 creates a maintenance log relating to this communication and stores it in the log storage unit (S2). Next, the controller 1 checks the remaining memory capacity of the log storage unit (S3). Here, if the remaining memory capacity is equal to or less than the predetermined value, a log notification mail is transmitted to the maintenance server 5 (S4), and thereafter the maintenance log in the log storage unit is erased (cleared) (S5). On the other hand, if the remaining memory capacity exceeds the predetermined value, the process of steps S4 and S5 is skipped and the process proceeds to the next process (S1 in this case).

その他の構成および機能は実施形態1と同様である。   Other configurations and functions are the same as those of the first embodiment.

(実施形態3)
本実施形態の機器管理システムAは、コントローラ1とメールサーバ4との間の通信の復旧時に、メールサーバ4に対するコントローラ1の最終アクセス時刻を端末装置3で確認できる機能を付与した点が実施形態2の機器管理システムAと相違する。
(Embodiment 3)
The device management system A according to the present embodiment is provided with a function that allows the terminal device 3 to confirm the last access time of the controller 1 with respect to the mail server 4 when the communication between the controller 1 and the mail server 4 is restored. 2 is different from the device management system A in FIG.

コントローラ1は、故障等によりメールサーバ4との通信が一旦不可能になると、図9に示すように通信が復旧したとき(図中「停止状態」から「動作状態」に移行したとき)に、前記通信の復旧を示す電子メール(以下、起動通知メールという)をメンテナンスサーバ5に対しメールサーバ4を介して送信する。本実施形態では、コントローラ1の再起動やコントローラ1がネットワーク6に接続されたことを以って、コントローラ1とメールサーバ4との間の通信が復旧したものと判断する。つまり、コントローラ1は自己の起動処理が完了すれば、あるいはネットワーク6への接続状態を監視してネットワーク6への接続が完了すれば、メンテナンスサーバ5に対して起動通知メールを送信する。   When communication with the mail server 4 becomes impossible once due to a failure or the like, the controller 1 recovers as shown in FIG. 9 (when transitioning from “stopped” to “operating” in the figure). An electronic mail indicating the restoration of the communication (hereinafter referred to as an activation notification mail) is transmitted to the maintenance server 5 via the mail server 4. In the present embodiment, it is determined that the communication between the controller 1 and the mail server 4 has been recovered by restarting the controller 1 or connecting the controller 1 to the network 6. That is, the controller 1 transmits a start notification mail to the maintenance server 5 when the start process of the controller 1 is completed or when the connection to the network 6 is completed by monitoring the connection state to the network 6.

メンテナンスサーバ5は起動通知メールを受信すると、図9に示すように、メンテナンスログを要求するログ要求メールをコントローラ1に対して送信し、コントローラ1からメンテナンスログを含むログ通知メールの返信を受けることでメンテナンスログを取得する機能(ログ取得手段)を有する。さらにメンテナンスサーバ5は、メンテナンスログを取得すると、取得したメンテナンスログの解析を行ってコントローラ1がメールサーバ4に最後にアクセスした時刻を抽出し、抽出した時刻を示す電子メール(以下、状態通知メールという)を端末装置3のメールアドレスに送信する状態通知手段としての機能を具備する。   Upon receiving the activation notification mail, the maintenance server 5 transmits a log request mail for requesting a maintenance log to the controller 1 and receives a reply to the log notification mail including the maintenance log from the controller 1 as shown in FIG. Has a function of acquiring a maintenance log (log acquisition means). Further, when the maintenance server 5 acquires the maintenance log, the maintenance server 5 analyzes the acquired maintenance log, extracts the time when the controller 1 last accessed the mail server 4, and an e-mail indicating the extracted time (hereinafter, status notification mail) Is provided as a status notification means for transmitting to the mail address of the terminal device 3.

以上説明した構成によれば、システム異常の原因(コントローラ1の故障等)が解消されてコントローラ1−メールサーバ4間の通信が復旧すると、メールサーバ4に対するコントローラ1の最終アクセス時刻が端末装置3に自動的に通知される。   According to the configuration described above, when the cause of the system abnormality (failure of the controller 1 or the like) is resolved and communication between the controller 1 and the mail server 4 is restored, the last access time of the controller 1 with respect to the mail server 4 is the terminal device 3. Will be automatically notified.

状態通知メールはたとえば図10に示すような形態で端末装置3に送信され、これにより、状態通知メールを受けた端末装置3においては、状態通知メールの本文のうち「システムが稼働状態になりました。」という部分から、コントローラ1との通信が復旧しシステムが稼働状態となったことを確認することができる。さらに、状態通知メールの本文のうち「8月1日 15:00から現在まで、システムは停止状態でした。」という部分から、コントローラ1と通信不能であった期間(以下、システム停止期間という)を確認することができる。つまり、システム停止期間においては、コントローラ1と端末装置3との間で通信不能であるから、対象機器(センサ)2で検知したイベントの発生が端末装置3に通知されていない可能性がある旨をユーザに示唆することができる。   The status notification mail is transmitted to the terminal device 3 in the form as shown in FIG. 10, for example, so that the terminal device 3 that has received the status notification mail has “the system is in an operating state” in the text of the status notification mail. From this part, it can be confirmed that the communication with the controller 1 is restored and the system is in an operating state. Further, from the part of the body of the status notification mail, “The system has been in a suspended state from 15:00 on August 1st to the present.”, The period during which communication with the controller 1 has been disabled (hereinafter referred to as the system suspended period) Can be confirmed. That is, during the system stop period, communication between the controller 1 and the terminal device 3 is not possible, so that the occurrence of an event detected by the target device (sensor) 2 may not be notified to the terminal device 3. Can be suggested to the user.

その他の構成および機能は実施形態2と同様である。   Other configurations and functions are the same as those of the second embodiment.

本発明の実施形態1の動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of Embodiment 1 of this invention. 同上の概略システム構成図である。It is a schematic system block diagram same as the above. 同上の他の動作例を示すシーケンス図である。It is a sequence diagram which shows the other operation example same as the above. 同上で用いる指示メールの例を示す説明図である。It is explanatory drawing which shows the example of the instruction mail used for the same as the above. 同上で用いる登録テーブルの例を示す説明図である。It is explanatory drawing which shows the example of the registration table used above. 本発明の実施形態2で用いるメンテナンスログの例を示す説明図である。It is explanatory drawing which shows the example of the maintenance log used in Embodiment 2 of this invention. 同上の動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example same as the above. 同上で用いるコントローラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the controller used above. 本発明の実施形態3の動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of Embodiment 3 of this invention. 同上で用いる状態通知メールの例を示す説明図である。It is explanatory drawing which shows the example of the status notification mail used above. 従来例の概略システム構成図である。It is a schematic system block diagram of a prior art example.

符号の説明Explanation of symbols

1 コントローラ
2 対象機器
3 端末装置
4 メールサーバ
5 メンテナンスサーバ
6 ネットワーク
A 機器管理システム
1 Controller 2 Target Device 3 Terminal Device 4 Mail Server 5 Maintenance Server 6 Network A Device Management System

Claims (6)

対象機器が接続されたコントローラと、コントローラが接続されるネットワークに接続されたメールサーバと、メールサーバを介してコントローラとの間で電子メールの送受信が可能な端末装置とを備え、コントローラが、対象機器の制御または監視を指示する指示メールを端末装置から受信し、当該指示メールの内容に従って対象機器の制御または監視を行う機器管理システムであって、前記ネットワークには、メールサーバを介してコントローラとの間で電子メールの送受信が可能なメンテナンスサーバが接続され、コントローラは、定期的に生存確認メールをメンテナンスサーバ宛に送信する生存確認手段を有し、メンテナンスサーバは、生存確認メールが所定時間以上に亘り受信されなければシステム異常と判断するシステム異常判断手段と、システム異常と判断されたときにシステム異常を報知する報知メールを端末装置宛に送信する異常報知手段とを有することを特徴とする機器管理システム。   A controller to which the target device is connected, a mail server connected to a network to which the controller is connected, and a terminal device capable of sending and receiving e-mail to and from the controller via the mail server. A device management system that receives an instruction mail for instructing control or monitoring of a device from a terminal device and controls or monitors a target device in accordance with the content of the instruction mail. The network includes a controller via a mail server. A maintenance server that can send and receive e-mails is connected, and the controller has a survival confirmation means that periodically sends a survival confirmation mail to the maintenance server. If it is not received over a period of time, it is determined that the system is abnormal. Device management system, characterized in that it comprises means, and abnormality notification unit for transmitting a notification mail for notifying the system abnormality to the terminal device when it is determined that the system abnormality. 前記コントローラは、前記メールサーバとの間の通信の履歴を示すメンテナンスログを記憶するログ記憶部と、前記端末装置からログ要求メールを受信すると、メンテナンスログを含むログ通知メールを端末装置宛に送信するログ通知手段とを有することを特徴とする請求項1記載の機器管理システム。   The controller, when receiving a log request mail from the terminal device, a log storage unit for storing a maintenance log indicating a history of communication with the mail server, and sending a log notification mail including the maintenance log to the terminal device The device management system according to claim 1, further comprising: a log notification unit configured to perform log notification. 前記コントローラは、前記メールサーバとの間の通信の履歴を示すメンテナンスログを記憶するログ記憶部を有し、前記メンテナンスサーバは、コントローラとメールサーバとの間の通信が復旧したときにコントローラからメンテナンスログを取得するログ取得手段と、メンテナンスログを取得すると当該メンテナンスログに基づいてコントローラがメールサーバに対し最後にアクセスした時刻を抽出し、抽出した時刻を示す状態通知メールを前記端末装置宛に送信する状態通知手段とを有することを特徴とする請求項1記載の機器管理システム。   The controller includes a log storage unit that stores a maintenance log indicating a history of communication with the mail server, and the maintenance server performs maintenance from the controller when communication between the controller and the mail server is restored. Log acquisition means for acquiring the log, and when the maintenance log is acquired, the controller extracts the last access time to the mail server based on the maintenance log, and sends a status notification mail indicating the extracted time to the terminal device 2. The device management system according to claim 1, further comprising state notification means for performing the operation. 前記コントローラは、前記メールサーバとの間の通信異常を検出する通信異常判断手段と、通信異常の検出時に通信異常を報知する通信異常報知手段と、通信異常報知手段の報知を停止させるように操作される復旧用操作部とを有し、一旦通信異常を検出すると、メールサーバとの間の通信が復旧しても復旧用操作部が操作されるまでは通信異常報知手段による報知を継続することを特徴とする請求項1ないし請求項3のいずれか1項に記載の機器管理システム。   The controller operates to stop communication abnormality determining means for detecting communication abnormality with the mail server, communication abnormality notifying means for notifying communication abnormality when detecting a communication abnormality, and communication abnormality notifying means being stopped. Once the communication abnormality is detected, the communication abnormality notification means continues the notification until the recovery operation part is operated even if communication with the mail server is recovered. The device management system according to any one of claims 1 to 3, wherein: 前記コントローラは、前記ログ記憶部のメモリ残量が所定値以下になると、前記ログ通知手段から前記メンテナンスサーバ宛に前記ログ通知メールを送信させるとともに、ログ通知メールの送信後にログ記憶部内のメンテナンスログを消去するログ消去手段を有し、メンテナンスサーバは、前記端末装置からログ要求メールを受信すると、ログ通知メールを端末装置宛に送信するログ転送手段を有することを特徴とする請求項2記載の機器管理システム。   The controller causes the log notification unit to transmit the log notification mail to the maintenance server when the remaining memory capacity of the log storage unit becomes a predetermined value or less, and after the log notification mail is transmitted, the maintenance log in the log storage unit 3. The log erasing unit for erasing the log, and the maintenance server includes a log transfer unit for transmitting a log notification mail to the terminal device when receiving the log request mail from the terminal device. Equipment management system. 前記コントローラは、予め設定されている制御用パスワードに前記指示メールに含まれるパスワードが一致した場合にのみ、指示メールの内容に従って前記対象機器の制御または監視を行うものであって、自己と対象機器との少なくとも一方に設けた通知用操作部の操作に応じて、制御用パスワードを示すパスワード通知メールを端末装置宛に送信するパスワード通知手段を有することを特徴とする請求項1ないし請求項5のいずれか1項に記載の機器管理システム。   The controller controls or monitors the target device according to the content of the instruction mail only when the password included in the instruction mail matches a preset control password, and the controller and the target device 6. A password notification means for transmitting a password notification mail indicating a control password to a terminal device in response to an operation of a notification operation unit provided in at least one of The device management system according to any one of the above.
JP2008074241A 2008-03-21 2008-03-21 Equipment management system Pending JP2009232099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008074241A JP2009232099A (en) 2008-03-21 2008-03-21 Equipment management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008074241A JP2009232099A (en) 2008-03-21 2008-03-21 Equipment management system

Publications (1)

Publication Number Publication Date
JP2009232099A true JP2009232099A (en) 2009-10-08

Family

ID=41247018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008074241A Pending JP2009232099A (en) 2008-03-21 2008-03-21 Equipment management system

Country Status (1)

Country Link
JP (1) JP2009232099A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016151990A (en) * 2015-02-19 2016-08-22 京セラ株式会社 Electric power management device, electric power management method, electric power management system, meter device and authentication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003346269A (en) * 2002-05-27 2003-12-05 Toshiba Eng Co Ltd Monitoring data collection and distribution method and system
JP2004164443A (en) * 2002-11-15 2004-06-10 Hitachi Electronics Service Co Ltd Server and network operation monitoring system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003346269A (en) * 2002-05-27 2003-12-05 Toshiba Eng Co Ltd Monitoring data collection and distribution method and system
JP2004164443A (en) * 2002-11-15 2004-06-10 Hitachi Electronics Service Co Ltd Server and network operation monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016151990A (en) * 2015-02-19 2016-08-22 京セラ株式会社 Electric power management device, electric power management method, electric power management system, meter device and authentication method

Similar Documents

Publication Publication Date Title
US9575476B2 (en) System and method to protect against local control failure using cloud-hosted control system back-up processing
KR101371057B1 (en) Relay communication system and access management apparatus
JP2006285645A (en) Security system, security device, and security method
JP2006067020A (en) Remote monitoring system and method
JP4354206B2 (en) Security system
JP4970208B2 (en) Security device and security system
JP5107631B2 (en) Security system
JP5248694B2 (en) Security device and security system
JP2009232099A (en) Equipment management system
JP2008010924A (en) Automatic restart apparatus for network relaying apparatus
JP2010009462A (en) Server-client system and server switching method thereof
JP2007336180A (en) Remote control system
JP2013089077A (en) Support system of fire alarm facility
JP4991334B2 (en) Equipment monitoring and control system
JP2011090614A (en) Gateway device, management server, and system for monitoring the gateway device
KR100959099B1 (en) Method and Apparatus for alarm transmitting in Building Automation System
JP2008269252A (en) Security system
US20060109103A1 (en) Transmission technique for a portable alarm system
JP4539258B2 (en) Monitoring device
JP4411933B2 (en) Terminal device
JP2008205666A (en) Facility device, client unit, communication system, and communication method
JP7226733B2 (en) SECURITY CENTER AND CONTROL METHOD OF SECURITY CENTER
JP4997256B2 (en) Automatic warning start determination device and automatic warning start determination program
JP2009278328A (en) Facility management system, and terminal controller
JP6784939B2 (en) Network equipment

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100811

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100824

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120710