JP3308925B2 - State monitoring method, state monitoring system, and machine-readable recording medium recording program - Google Patents

State monitoring method, state monitoring system, and machine-readable recording medium recording program

Info

Publication number
JP3308925B2
JP3308925B2 JP06792999A JP6792999A JP3308925B2 JP 3308925 B2 JP3308925 B2 JP 3308925B2 JP 06792999 A JP06792999 A JP 06792999A JP 6792999 A JP6792999 A JP 6792999A JP 3308925 B2 JP3308925 B2 JP 3308925B2
Authority
JP
Japan
Prior art keywords
time
state
state transition
inquiry
monitoring
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
JP06792999A
Other languages
Japanese (ja)
Other versions
JP2000270383A (en
Inventor
顯子 須藤
Original Assignee
エヌイーシーシステムテクノロジー株式会社
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 エヌイーシーシステムテクノロジー株式会社 filed Critical エヌイーシーシステムテクノロジー株式会社
Priority to JP06792999A priority Critical patent/JP3308925B2/en
Publication of JP2000270383A publication Critical patent/JP2000270383A/en
Application granted granted Critical
Publication of JP3308925B2 publication Critical patent/JP3308925B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はネットワークに接続
されている機器の状態を監視する技術に関し、特に、監
視対象装置が所定時間以上連続して同一状態であるか否
かを監視する状態監視技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technology for monitoring the status of devices connected to a network, and more particularly to a status monitoring technology for monitoring whether or not monitored devices are in the same status continuously for a predetermined time or more. About.

【0002】[0002]

【従来の技術】ネットワークに接続されている通信機器
等の監視対象装置の状態を監視し、同一状態が所定時間
以上連続した場合、そのことを管理者等に通知するとい
うことは従来から行われている。このような技術は、例
えば、通信機器の回線切断忘れを監視する場合等に従来
から利用されている。
2. Description of the Related Art Conventionally, the state of a device to be monitored such as a communication device connected to a network is monitored, and when the same state continues for a predetermined time or longer, the fact is notified to an administrator or the like. ing. Such a technique has been conventionally used, for example, when monitoring forgotten line disconnection of a communication device.

【0003】ところで、監視対象装置が所定時間以上連
続して同一状態であるか否かを監視する場合、従来は、
一般に次のようにしている。状態監視装置から監視対象
装置に対して、一定の問い合わせ間隔で現在の状態を問
い合わせる。監視対象装置は、問い合わせが行われる毎
に、自装置の現在の状態を状態監視装置に通知する。状
態監視装置は、監視対象装置から通知された現在の状態
が前回の問い合わせ時に通知された状態と同一である場
合には、監視対象装置の状態が変化していないと見做し
て監視対象装置の同一状態継続時間を問い合わせ間隔だ
け増加させ、同一でない場合には同一状態継続時間を
「0」にする。その後、同一状態継続時間と予め定めら
れている時間とを比較することにより、監視対象装置が
所定時間以上連続して同一状態であるか否かを判断す
る。
When monitoring whether a monitoring target device is in the same state continuously for a predetermined time or more, conventionally,
Generally, it is as follows. The status monitoring device inquires the monitoring target device about the current status at regular intervals. The monitoring target device notifies the status monitoring device of the current status of its own device each time an inquiry is made. If the current status reported from the monitored device is the same as the status reported at the time of the previous inquiry, the status monitoring device determines that the status of the monitored device has not changed, and Are increased by the inquiry interval, and if they are not the same, the same state duration is set to “0”. Thereafter, by comparing the same state continuation time with a predetermined time, it is determined whether or not the monitoring target device is in the same state continuously for a predetermined time or more.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術の
場合は、次の問い合わせを行うまでの間に、監視対象装
置の状態が変化し、また元の状態に戻るというような事
象も検出できるようにするために、問い合わせ間隔を短
くすることが必要であるが、それでも完全には検出でき
ないという問題がある。つまり、監視対象装置が所定時
間以上連続して同一状態でないにもかかわらず、誤って
所定時間以上同一状態が連続していると判断してしまう
場合があるという問題がある。また、問い合わせ間隔を
短くすると、監視対象装置,状態監視装置にかかる負荷
が高くなるという問題もある。尚、監視対象装置の状態
を専用回線を介して状態監視装置に常時通知する技術
(例えば、特開平6−242995号公報)によれば、
誤った判断を行うことは無くなるが、専用回線を設けな
ければならないため、コストが高くなってしまうという
問題がある。
In the case of the above-mentioned prior art, an event that the state of the monitored device changes and returns to the original state can be detected before the next inquiry is made. To do so, it is necessary to shorten the query interval, but there is still a problem that it cannot be detected completely. In other words, there is a problem that even if the monitored device is not in the same state continuously for a predetermined time or more, the same state may be erroneously determined to be continuous for a predetermined time or more. Further, when the inquiry interval is shortened, there is a problem that the load on the monitoring target device and the status monitoring device increases. According to the technology (for example, Japanese Patent Application Laid-Open No. 6-242995) that constantly notifies the status of the monitoring target device to the status monitoring device via a dedicated line,
Although erroneous determination is eliminated, a dedicated line must be provided, resulting in a problem of increased cost.

【0005】そこで、本発明の目的は、監視対象装置が
所定時間以上連続して同一状態でない場合に、誤って所
定時間以上同一状態が連続していると判断することのな
い状態監視技術を、低負荷で実現できるようにすること
にある。
Accordingly, an object of the present invention is to provide a state monitoring technique which does not erroneously determine that the same state continues for a predetermined time or more when the monitored device is not in the same state for a predetermined time or more. The object is to make it possible to realize it with a low load.

【0006】[0006]

【課題を解決するための手段】本発明の状態監視方法
は、上記目的を達成するため、監視対象装置は、自装置
に状態遷移が発生した場合、状態遷移発生時の時刻と状
態遷移後の状態とを含む状態遷移情報を保持し、状態監
視装置から問い合わせがあった場合、保持している最新
の状態遷移情報を前記状態監視装置へ送り、状態監視装
置は、警告時間よりも短い所定の問い合わせ間隔で前記
監視対象装置に対して問い合わせを行って前記監視対象
装置が保持している最新の状態遷移情報を取得し、この
取得した最新の状態遷移情報と今回の問い合わせ時刻と
に基づいて前記監視対象装置が予め定められている警告
時間以上連続して予め定められている警告対象状態にな
っているか否かを判断する。
According to the state monitoring method of the present invention, in order to achieve the above object, when a state transition occurs in its own apparatus, the monitored object apparatus determines the time at which the state transition occurs and the time after the state transition. When state inquiry information is received from the state monitoring device, the latest state transition information being held is sent to the state monitoring device, and the state monitoring device transmits a predetermined state transition time shorter than the warning time. An inquiry is made to the monitored device at an inquiry interval to obtain the latest state transition information held by the monitored device, and based on the obtained latest state transition information and the current inquiry time, It is determined whether or not the monitoring target device is in a predetermined warning target state continuously for a predetermined warning time or longer.

【0007】この方法を実施するのに好適なシステムと
して、本発明の状態監視システムは、監視対象装置が、
状態遷移記録記憶部と、自装置に状態遷移が発生した
時、状態遷移発生時の時刻と状態遷移後の状態とを含む
状態遷移情報を前記状態遷移記録記憶部に格納する状態
遷移検出手段と、前記状態監視装置からの問い合わせに
応答して前記状態遷移記録記憶部に格納されている最新
の状態遷移情報を前記状態監視装置へ送る応答手段とを
備え、状態監視装置が、警告時間よりも短い所定の問い
合わせ間隔で、前記監視対象装置に対して問い合わせを
行って前記監視対象装置の最新の状態遷移情報を取得す
る状態遷移問い合わせ手段と、該状態遷移問い合わせ手
段が取得した最新の状態遷移情報と今回の問い合わせ時
刻とに基づいて前記監視対象装置が予め定められている
警告時間以上連続して予め定められている警告対象状態
になっているか否かを判断する条件判断手段とを備えて
いる。
As a system suitable for carrying out this method, the state monitoring system of the present invention comprises:
A state transition record storage unit, and a state transition detection unit that stores state transition information including a time at the time of the state transition and a state after the state transition in the state transition record storage unit when a state transition occurs in the own device. Response means for transmitting the latest state transition information stored in the state transition record storage unit to the state monitoring device in response to an inquiry from the state monitoring device, wherein the state monitoring device performs State transition inquiry means for making an inquiry to the monitored device at a short predetermined inquiry interval to obtain the latest state transition information of the monitored device; and the latest state transition information acquired by the state transition inquiry means. Whether or not the monitoring target device has been in a predetermined warning target state continuously for a predetermined warning time or more based on the current inquiry time and And a condition determining means for determining.

【0008】この構成に於いては、監視対象装置内の状
態遷移検出手段は、自装置に状態遷移が発生する毎に、
状態遷移発生時の時刻と状態遷移後の状態とを含む状態
遷移情報を状態遷移記録記憶部に格納する。
[0008] In this configuration, the state transition detecting means in the monitoring target device, every time a state transition occurs in its own device,
State transition information including the time when the state transition occurs and the state after the state transition is stored in the state transition record storage unit.

【0009】一方、状態監視装置に於いては、状態遷移
問い合わせ手段が、所定の問い合わせ間隔で監視対象装
置に対して最新の状態遷移情報を問い合わせることによ
り最新の状態遷移情報を取得し、条件判断手段が、状態
遷移問い合わせ手段が取得した最新の状態遷移情報と今
回の問い合わせ時刻とに基づいて監視対象装置が警告時
間以上連続して警告対象状態になっているか否かを判断
する。
On the other hand, in the state monitoring apparatus, the state transition inquiry means obtains the latest state transition information by inquiring the monitored apparatus of the latest state transition information at a predetermined inquiry interval, and determines the condition. The means determines, based on the latest state transition information acquired by the state transition inquiry means and the current inquiry time, whether or not the monitoring target device has been in the warning target state continuously for the warning time or longer.

【0010】また、本発明の状態監視方法は、監視対象
装置でリセットが行われたか否かも考慮して監視対象装
置が警告時間以上連続して警告対象状態であるか否かを
判断することにより、監視対象装置のリセットを無視し
た場合に発生するおそれのある誤った判断結果をなくせ
るようにするため、監視対象装置は、自装置に状態遷移
が発生した場合、状態遷移発生時の時刻と状態遷移後の
状態とを含む状態遷移情報を保持し、自装置に於いてリ
セットが行われた場合、リセットが行われてからの稼働
時間を計測し、状態監視装置から問い合わせがあった場
合、保持,計測している最新の状態遷移情報,稼働時間
を前記状態監視装置へ送り、状態監視装置は、警告時間
よりも短い所定の問い合わせ間隔で前記監視対象装置に
対して問い合わせを行って前記監視対象装置が保持,計
測している最新の状態遷移情報,稼働時間を取得し、今
回の問い合わせ時に取得した稼働時間と前回の問い合わ
せ時に取得した稼働時間とに基づいて、前回の問い合わ
せ時以降に前記監視対象装置に於いてリセットが行われ
ているか否かを判断し、リセットが行われていない場合
には、今回の問い合わせ時に取得した最新の状態遷移情
報と今回の問い合わせ時刻とに基づいて前記監視対象装
置が予め定められている警告時間以上連続して予め定め
られている警告対象状態になっているか否かを判断し、
リセットが行われている場合は、リセットが行われたリ
セット発生時刻と、リセット直後に前記監視対象装置が
とる状態と、今回の問い合わせ時刻とに基づいて前記監
視対象装置が予め定められている警告時間以上連続して
予め定められている警告対象状態になっているか否かを
判断する。
Further, the state monitoring method of the present invention determines whether or not the monitoring target device is in the warning target state continuously for the warning time or more by also considering whether or not the monitoring target device has been reset. In order to eliminate an erroneous determination result that may occur when the reset of the monitored device is ignored, the monitored device determines the time when the status transition occurs when the status transition occurs in the device itself. Holds state transition information including the state after the state transition, if the reset is performed in the own device, measures the operating time since the reset was performed, if there is an inquiry from the state monitoring device, The latest state transition information being held and measured and the operation time are sent to the state monitoring device, and the state monitoring device inquires the monitored device at a predetermined inquiry interval shorter than the warning time. To obtain the latest state transition information and operating time held and measured by the monitoring target device, and perform a previous inquiry based on the operating time obtained at the time of this inquiry and the operating time obtained at the time of the previous inquiry. It is determined whether or not a reset has been performed in the monitoring target device after the time.If the reset has not been performed, the latest state transition information acquired at the time of this inquiry and the current inquiry time are used. It is determined whether or not the monitored device is in a predetermined warning target state continuously for a predetermined warning time or more based on,
If the reset has been performed, a predetermined warning is issued to the monitored device based on the reset occurrence time at which the reset was performed, the state taken by the monitored device immediately after the reset, and the current inquiry time. It is determined whether or not a predetermined warning target state has been continuously present for a time or more.

【0011】この方法を実施するのに好適なシステムと
して、本発明の状態監視システムは、監視対象装置が、
状態遷移記録記憶部と、自装置に状態遷移が発生した
時、状態遷移発生時の時刻と状態遷移後の状態とを含む
状態遷移情報を前記状態遷移記録記憶部に格納する状態
遷移検出手段と、自装置に於いてリセットが発生してか
らの稼働時間を計測する稼働時間計測手段と、前記状態
監視装置からの問い合わせに応答して、前記状態遷移記
録記憶部に格納されている最新の状態遷移情報と前記稼
働時間計測手段が計測している稼働時間とを前記状態監
視装置へ送る応答手段とを備え、状態監視装置が、警告
時間よりも短い所定の問い合わせ間隔で、前記監視対象
装置に対して問い合わせを行って前記監視対象装置の最
新の状態遷移情報および稼働時間を取得すると共に、今
回の問い合わせ時に取得した稼働時間と前回の問い合わ
せ時に取得した稼働時間とに基づいて、前回の問い合わ
せ時以降に前記監視対象装置に於いてリセットが行われ
ているか否かを判断する問い合わせ手段と、該問い合わ
せ手段に於いて、リセットが行われていないと判断され
た場合に於いては、前記問い合わせ手段が今回の問い合
わせ時に取得した最新の状態遷移情報と今回の問い合わ
せ時刻とに基づいて前記監視対象装置が予め定められて
いる警告時間以上連続して予め定められている警告対象
状態になっているか否かを判断し、リセットが行われて
いると判断されている場合に於いては、リセットが行わ
れたリセット発生時刻と、リセット直後に前記監視対象
装置がとる状態と、今回の問い合わせ時刻とに基づいて
前記監視対象装置が予め定められている警告時間以上連
続して予め定められている警告対象状態になっているか
否かを判断する条件判断手段とを備えている。
[0011] As a system suitable for carrying out this method, the condition monitoring system of the present invention comprises:
A state transition record storage unit, and a state transition detection unit that stores state transition information including a time at the time of the state transition and a state after the state transition in the state transition record storage unit when a state transition occurs in the own device. An operating time measuring means for measuring an operating time since a reset has occurred in the own device, and a latest state stored in the state transition record storage unit in response to an inquiry from the state monitoring device. A response unit for transmitting the transition information and the operation time measured by the operation time measurement unit to the state monitoring device, wherein the state monitoring device transmits the operation time to the monitored device at a predetermined inquiry interval shorter than the warning time. Inquiry is performed to obtain the latest state transition information and operation time of the monitored device, and the operation time acquired at the time of this inquiry and the operation acquired at the time of the previous inquiry. Based on the time interval, an inquiry means for determining whether or not the monitoring target device has been reset since the last inquiry, and the inquiry means determines that the reset has not been performed. In this case, based on the latest state transition information obtained at the time of the current inquiry by the inquiry means and the current inquiry time, the monitoring target device is continuously determined for a predetermined warning time or more. It is determined whether or not the state is a warning target state.If it is determined that the reset has been performed, the reset occurrence time at which the reset was performed and the monitoring target device The monitoring target state is continuously determined for a predetermined warning time or longer based on the status and the current inquiry time. And a condition determining means for determining whether it be a.

【0012】この構成に於いては、監視対象装置内の状
態遷移検出手段が、自装置に状態遷移が発生した時、状
態遷移発生時の時刻と状態遷移後の状態とを含む状態遷
移情報を状態遷移記録記憶部に格納し、稼働時間計測手
段が、自装置に於いてリセットが行われてからの稼働時
間を計測する。
In this configuration, the state transition detecting means in the monitored device, when a state transition occurs in its own device, transmits state transition information including the time when the state transition occurred and the state after the state transition. The operation time is stored in the state transition record storage unit, and the operation time measuring unit measures the operation time after the reset is performed in the own device.

【0013】一方、状態監視装置に於いては、問い合わ
せ手段が、所定の問い合わせ間隔で、監視対象装置に対
して問い合わせを行って監視対象装置の最新の状態遷移
情報および稼働時間を取得すると共に、今回の問い合わ
せ時に取得した稼働時間と前回の問い合わせ時に取得し
た稼働時間とに基づいて、前回の問い合わせ時以降に監
視対象装置に於いてリセットが行われているか否かを判
断する。そして、問い合わせ手段に於いて、リセットが
行われていないと判断された場合に於いては、条件判断
手段は、問い合わせ手段が今回の問い合わせ時に取得し
た最新の状態遷移情報と今回の問い合わせ時刻とに基づ
いて監視対象装置が予め定められている警告時間以上連
続して予め定められている警告対象状態になっているか
否かを判断し、リセットが行われていると判断されてい
る場合に於いては、リセットが行われたリセット発生時
刻と、リセット直後に監視対象装置がとる状態と、今回
の問い合わせ時刻とに基づいて前記監視対象装置が予め
定められている警告時間以上連続して予め定められてい
る警告対象状態になっているか否かを判断する。
On the other hand, in the state monitoring device, the inquiry means makes an inquiry to the monitored device at a predetermined inquiry interval to acquire the latest state transition information and operating time of the monitored device, Based on the operation time acquired at the time of this inquiry and the operation time acquired at the time of the previous inquiry, it is determined whether or not the monitoring target device has been reset since the time of the previous inquiry. If the inquiry means determines that the reset has not been performed, the condition determination means compares the latest state transition information acquired by the inquiry means at the time of the current inquiry with the current inquiry time. It is determined whether or not the monitoring target device is in a predetermined warning target state continuously for a predetermined warning time or longer based on the predetermined warning time, and when it is determined that the reset has been performed, Is determined in advance based on the reset occurrence time at which the reset was performed, the state taken by the monitoring target device immediately after the reset, and the current inquiry time, for a predetermined warning time or more for the monitoring target device. It is determined whether or not a warning target state is set.

【0014】[0014]

【発明の実施の形態】次に本発明の実施の形態について
図面を参照して詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0015】図1は本発明の一実施例のブロック図であ
り、複数の監視対象装置1−1〜1−nと、状態監視装
置2と、各装置を相互に接続するネットワーク8とから
構成されている。ネットワーク8は、LAN,公衆回線
等の1対n接続が可能なネットワークである。
FIG. 1 is a block diagram of an embodiment of the present invention, which comprises a plurality of monitored devices 1-1 to 1-n, a status monitoring device 2, and a network 8 for interconnecting the devices. Have been. The network 8 is a network capable of one-to-n connection such as a LAN and a public line.

【0016】監視対象装置1−1は、状態遷移検出手段
11と、状態遷移記録記憶部12と、応答手段13とを
備えている。尚、他の監視対象装置も同様の構成を有し
ている。
The monitored device 1-1 includes a state transition detecting unit 11, a state transition record storage unit 12, and a response unit 13. The other monitored devices have the same configuration.

【0017】状態遷移検出手段11は、監視対象装置1
−1に於いて状態遷移が発生した時、その時刻と遷移後
の状態とを対にした状態遷移情報を状態遷移記録記憶部
12に書き込む機能を有している。尚、状態遷移情報を
状態遷移記録記憶部12に書き込む際の書き込み形式
は、最新の状態遷移情報が状態遷移記録記憶部12に保
存されるのであれば、前回の状態遷移時に書き込んだ状
態遷移情報に上書きする形式でも、既に書き込まれてい
る状態遷移情報に追加する形式であっても良い。また、
既に書き込まれている状態遷移情報に追加して書き込む
形式を採用した場合に於いて、状態遷移記録記憶部12
の記憶容量に制限があるのであれば、一定の件数記録後
に最も古い状態遷移情報を削除したり、もしくは、記録
から一定の時間経過後に削除するようにすればよい。一
定の時間経過後に記録を削除する場合には、記録保持時
間よりも問い合わせの間隔を短く設定する。監視対象装
置1−1〜1−nで記録保持時間以上同じ状態が続く
と、最新の状態遷移記録が保持時間経過のため削除さ
れ、状態遷移記録記憶部12には記録がない状態にな
る。この時、状態遷移問い合わせ手段31が問い合わせ
を行っても取得した情報だけでは、監視対象装置1−1
の現在の状態は不明である。しかし、最新状態記憶部4
1の記録を参照することにより、現在の状態が調べられ
る。監視対象装置1−1〜1−nに、記憶容量上の制限
がある場合にも、連続的に同一状態にあることを監視す
ることができる。
The state transition detecting means 11 is a device to be monitored 1
When a state transition occurs at −1, a function of writing state transition information in which the time and the state after the transition are paired to the state transition record storage unit 12 is provided. When the state transition information is written in the state transition record storage unit 12, if the latest state transition information is stored in the state transition record storage unit 12, the state transition information written in the previous state transition may be used. May be overwritten, or may be added to the already written state transition information. Also,
In the case where a format in which data is written in addition to the already written status transition information is adopted, the status transition record storage unit 12
If the storage capacity is limited, the oldest state transition information may be deleted after a certain number of records have been recorded, or may be deleted after a certain time has elapsed since the recording. If the record is to be deleted after a certain period of time, the inquiry interval is set shorter than the record holding time. If the same state continues for more than the record retention time in the monitored devices 1-1 to 1-n, the latest state transition record is deleted because the retention time has elapsed, and the state transition record storage unit 12 has no record. At this time, even if the state transition inquiring means 31 makes an inquiry, only the acquired information can be used as the monitoring target device 1-1.
The current state of is unknown. However, the latest state storage unit 4
The current status is checked by referring to the record of No. 1. Even when the monitored devices 1-1 to 1-n are limited in storage capacity, it can be continuously monitored that the devices are in the same state.

【0018】応答手段13は、ネットワーク8を介して
加えられる状態監視装置2からの問い合わせに応答し
て、状態遷移記録記憶部12に格納されている最新の状
態遷移情報を状態監視装置2へ送る機能を有している。
The response means 13 sends the latest state transition information stored in the state transition record storage unit 12 to the state monitoring apparatus 2 in response to an inquiry from the state monitoring apparatus 2 applied via the network 8. Has a function.

【0019】状態監視装置2は、コンピュータからなる
データ処理装置3と、記憶装置4と、ディスプレイ装
置,ファクシミリ,ページャ等の出力装置5と、キーボ
ード等の入力装置6と、記録媒体7とを備えている。
The state monitoring device 2 includes a data processing device 3 including a computer, a storage device 4, an output device 5 such as a display device, a facsimile, a pager, an input device 6 such as a keyboard, and a recording medium 7. ing.

【0020】記憶装置4は、最新状態記憶部41と、警
告出力状態記憶部42とを備えている。最新状態記憶部
41は、各監視対象装置1−1〜1−n毎の領域を有
し、各領域にはそれぞれ対応する監視対象装置の最新の
状態遷移情報が格納される。警告出力状態記憶部42
も、各監視対象装置1−1〜1−n毎の領域を有し、各
領域にはそれぞれ対応する監視対象装置に対する警告メ
ッセージ等の警告が現在出力されているか否かを示す情
報が格納される。
The storage device 4 includes a latest status storage unit 41 and a warning output status storage unit 42. The latest state storage unit 41 has an area for each of the monitored devices 1-1 to 1-n, and each area stores the latest state transition information of the corresponding monitored device. Warning output state storage unit 42
Also has an area for each of the monitored devices 1-1 to 1-n, and each area stores information indicating whether a warning such as a warning message for the corresponding monitored device is currently output. You.

【0021】データ処理装置3は、状態遷移問い合わせ
手段31と、条件判断手段32とを備えている。
The data processing device 3 includes state transition inquiry means 31 and condition determination means 32.

【0022】状態遷移問い合わせ手段31は、予め設定
されている問い合わせ間隔T毎に、各監視対象装置1−
1〜1−nを順次処理対象にして、監視対象装置1−i
(1≦i≦n)に最新の状態遷移情報を問い合わせる機
能や、問い合わせに応答して監視対象装置1−iから送
られてきた最新の状態遷移情報に基づいて監視対象装置
1−iの状態が前回の問い合わせ時以降に変化したか否
かを判断する機能や、監視対象装置1−iの状態が変化
している場合には今回の問い合わせによって得た最新の
状態遷移情報を最新状態記憶部41の該当する領域に書
き込む機能や、監視対象装置1−iの状態が変化してい
ない場合には監視対象装置1−iの装置IDを条件判断
手段32に通知する機能等を有する。尚、上記した問い
合わせ間隔Tは、例えば、管理者が入力装置6を用いて
設定するものであり、その値は任意なものにすることが
できる。
The state transition inquiring means 31 sends each monitored device 1-1 at every preset inquiry interval T.
1 to 1-n are sequentially processed, and the monitoring target device 1-i
(1 ≦ i ≦ n) The function of inquiring the latest state transition information and the state of the monitored device 1-i based on the latest state transition information sent from the monitored device 1-i in response to the inquiry. And a function for determining whether or not the status has changed since the previous inquiry, and when the status of the monitored device 1-i has changed, the latest status transition information obtained by the current inquiry is stored in the latest status storage unit. 41, a function for writing to the corresponding area, and a function for notifying the condition determining means 32 of the device ID of the monitored device 1-i when the state of the monitored device 1-i has not changed. The above-mentioned inquiry interval T is set, for example, by the administrator using the input device 6, and its value can be set arbitrarily.

【0023】条件判断手段32は、状態遷移問い合わせ
手段31から監視対象装置1−iの装置IDが通知され
た場合、即ち、監視対象装置1−iの状態が前回の問い
合わせ時から変化していない場合、監視対象装置1−i
の状態が予め設定されている警告対象状態で、且つ警告
対象状態になった時点から現時点(今回の問い合わせ
時)までの時間が予め設定されている警告時間Tk以上
であるか否かを判断する機能や、警告時間Tk以上であ
る場合には、出力装置5に監視対象装置1−iに対する
警告を出力する機能等を有する。尚、上記した警告対象
状態,警告時間Tkは、例えば、管理者が入力装置6を
用いて設定するものであり、その値は任意なものとする
ことができる。但し、警告時間Tkは問い合わせ間隔T
よりも長く、即ちTk>Tとなるようにすることが必要
である。
The condition judging means 32, when notified of the device ID of the monitored device 1-i from the state transition inquiring device 31, ie, the status of the monitored device 1-i has not changed since the previous inquiry. In this case, the monitoring target device 1-i
Is a preset warning target state, and it is determined whether or not the time from when the state becomes the warning target state to the present time (at the time of this inquiry) is equal to or longer than a preset warning time Tk. It has a function and a function of outputting a warning to the monitoring target device 1-i to the output device 5 when the time is equal to or longer than the warning time Tk. Note that the above-mentioned warning target state and warning time Tk are set, for example, by the administrator using the input device 6, and their values can be arbitrary. However, the warning time Tk is the inquiry interval T
Longer, that is, Tk> T.

【0024】データ処理装置3に接続されている記録媒
体7は、ディスク,半導体メモリ,その他の記録媒体で
あり、データ処理装置3を状態監視装置として機能させ
るためのプログラムが記録されている。このプログラム
は、データ処理装置3によって読み取られ、その動作を
制御することで、データ処理装置3上に状態遷移問い合
わせ手段31,条件判断手段32を実現する。
The recording medium 7 connected to the data processing device 3 is a disk, a semiconductor memory, or another recording medium, in which a program for causing the data processing device 3 to function as a state monitoring device is recorded. This program is read by the data processing device 3 and controls its operation to realize the state transition inquiry means 31 and the condition determination means 32 on the data processing device 3.

【0025】図2はデータ処理装置3の処理例を示す流
れ図であり、以下各図を参照して本実施例の動作を説明
する。
FIG. 2 is a flowchart showing a processing example of the data processing device 3, and the operation of this embodiment will be described below with reference to the drawings.

【0026】監視対象装置1−i内の状態遷移検出手段
11は、自装置の状態が遷移したことを検出する毎に、
状態遷移が発生した時刻と遷移後の状態とを対にした状
態遷移情報を状態遷移記録記憶部12に書き込む。
Each time the state transition detecting means 11 in the monitored device 1-i detects that its own device has transitioned,
The state transition information in which the time when the state transition occurs and the state after the transition are paired is written in the state transition record storage unit 12.

【0027】一方、状態監視装置2は、予め設定されて
いる問い合わせ間隔T毎に、図2の流れ図に示す処理を
行う。
On the other hand, the state monitoring apparatus 2 performs the processing shown in the flowchart of FIG. 2 at every preset inquiry interval T.

【0028】ステップA1に於いては、状態遷移問い合
わせ手段31が、ネットワーク8を介して監視対象装置
1−1〜1−nの内の一台(例えば、監視対象装置1−
1)に、最新の状態遷移情報を問い合わせる。
In step A1, the state transition inquiry means 31 sends one of the monitored devices 1-1 to 1-n (for example, the monitored device 1- 1) via the network 8.
Inquire 1) for the latest state transition information.

【0029】監視対象装置1−1内の応答手段13は、
状態監視装置2からの問い合わせを受け付けると、状態
遷移記録記憶部12から最新の状態遷移情報を取り出
し、ネットワーク8を介して状態監視装置2へ送る。
The response means 13 in the monitored device 1-1 is
When an inquiry from the state monitoring device 2 is received, the latest state transition information is extracted from the state transition record storage unit 12 and sent to the state monitoring device 2 via the network 8.

【0030】状態遷移問い合わせ手段31は、監視対象
装置1−1から最新の状態遷移情報が送られてくると、
それに含まれている状態遷移の発生時刻と前回の問い合
わせ時刻とを比較して、前回の問い合わせ以降に、監視
対象装置1−1に於いて状態遷移があったかどうかを判
断する(ステップA2)。
The state transition inquiry means 31 receives the latest state transition information from the monitored device 1-1,
By comparing the time of occurrence of the state transition contained therein with the time of the previous inquiry, it is determined whether or not a state transition has occurred in the monitored device 1-1 since the previous inquiry (step A2).

【0031】そして、状態遷移があった場合(ステップ
A2がYES)は、最新状態記憶部41の監視対象装置
1−1に割り当てられている領域に、最新の状態情報を
書き込む(ステップA3)。その後、状態遷移問い合わ
せ手段31は、警告出力状態記憶部42の監視対象装置
1−1に割り当てられている領域を参照し、現在、監視
対象装置1−1に対する警告を出力装置6に出力してい
るかどうかを調べる(ステップA4)。尚、初期状態に
於いては、警告出力状態記憶部42の各領域には、「警
告未出力」を示す情報が格納されている。
If there is a state transition (YES in step A2), the latest state information is written to the area of the latest state storage unit 41 allocated to the monitored device 1-1 (step A3). Thereafter, the state transition inquiry unit 31 refers to the area allocated to the monitoring target device 1-1 in the warning output status storage unit 42, and outputs a warning for the monitoring target device 1-1 to the output device 6 at present. It is checked whether it is present (step A4). In the initial state, information indicating “not output warning” is stored in each area of the warning output state storage unit 42.

【0032】そして、警告出力中である場合、即ち警告
出力状態記憶部42の該当する領域に「警告出力中」を
示す情報が格納されている場合(ステップA4がYE
S)は、この時点では、監視対象装置1−1に状態遷移
が発生して、連続的な同一状態が解除されているので、
監視対象装置1−1に対する警告を解除する旨の警告解
除メッセージ等を出力装置5に出力し、更に警告出力状
態記憶部42の監視対象装置1−1に割り当てられてい
る領域の内容を「警告未出力」に変更し(ステップA
5,A6)、その後、ステップA7の処理を行う。これ
に対して、「警告出力中」でない場合(ステップA4が
NO)は、直ちにステップA7の処理を行う。
When the warning is being output, that is, when the information indicating "Warning is being output" is stored in the corresponding area of the warning output state storage unit 42 (step A4 is YE).
S) indicates that at this point, a state transition has occurred in the monitored device 1-1, and continuous identical states have been released.
A warning release message or the like to release the warning for the monitored device 1-1 is output to the output device 5, and the contents of the area of the warning output status storage unit 42 assigned to the monitored device 1-1 are displayed as "warning""Notoutput" (step A
5, A6), and then the process of step A7 is performed. On the other hand, if it is not "Warning is being output" (NO in step A4), the process in step A7 is immediately performed.

【0033】前回の問い合わせ時以降に監視対象装置1
−1の状態が遷移している場合には上記した処理が行わ
れるが、遷移していない場合(ステップA2がNO)に
は、次のような処理が行われる。
The monitoring target device 1 after the last inquiry
When the state of -1 has transitioned, the above-described processing is performed. When the state has not transitioned (NO in step A2), the following processing is performed.

【0034】ステップA2の判断結果がNOとなると、
状態遷移問い合わせ手段31は、制御を条件判断手段3
2に渡した後、現在処理対象にしている監視対象装置1
−1の装置IDを通知する(ステップA8)。
If the decision result in the step A2 is NO,
The state transition inquiry means 31 controls the condition
2, the monitoring target device 1 currently being processed
The device ID of -1 is notified (step A8).

【0035】条件判断手段32は、監視対象装置1−1
の装置IDが通知されると、最新状態記憶部41に格納
されている監視対象装置1−1の状態遷移情報を参照
し、今回の問い合わせ時に於ける監視対象装置1−1の
状態が、予め定められている警告対象状態であるか否か
を判断する(ステップA9)。
The condition judging means 32 includes a monitoring target device 1-1.
When the device ID of the monitoring target device 1-1 is notified, the status transition information of the monitoring target device 1-1 stored in the latest status storage unit 41 is referred to, and the status of the monitoring target device 1-1 at the time of this inquiry is determined in advance. It is determined whether or not the state is a predetermined warning target state (step A9).

【0036】そして、監視対象装置1−1の状態が警告
対象状態でない場合(ステップA9がNO)は、状態遷
移問い合わせ手段31に制御を戻す。これに対して、監
視対象装置1−1の状態が警告対象状態であれば(ステ
ップA9がYES)、監視対象装置1−1の状態遷移情
報中の時刻と今回の問い合わせ時の時刻(現在時刻)と
の差分が予め設定されている警告時間Tk以上であるか
否かを判断する(ステップA10)。
If the state of the monitored device 1-1 is not the warning target state (NO in step A9), the control is returned to the state transition inquiry means 31. On the other hand, if the status of the monitored device 1-1 is a warning target status (step A9 is YES), the time in the status transition information of the monitored device 1-1 and the time at the time of this inquiry (current time It is determined whether or not the difference from ()) is equal to or longer than a preset warning time Tk (step A10).

【0037】そして、警告時間Tk以上であると判断し
た場合(ステップA10がYES)は、監視対象装置1
−1に対する警告を出力装置5に出力し、更に、警告出
力状態記憶部42の監視対象装置1−1に割り当てられ
ている領域中の情報を「警告出力中」に変更した後(ス
テップA11,A12)、制御を状態遷移問い合わせ手
段31に戻す。これに対して、警告時間Tk以上でない
と判断した場合(ステップA10がNO)は、直ちに制
御を状態遷移問い合わせ手段31に戻す。
If it is determined that the time is equal to or longer than the warning time Tk (YES in step A10), the monitoring target device 1
-1 is output to the output device 5, and the information in the area assigned to the monitoring target device 1-1 in the warning output state storage unit 42 is changed to "Warning is being output" (step A11, A12), control is returned to the state transition inquiry unit 31. On the other hand, if it is determined that the time is not equal to or longer than the warning time Tk (step A10 is NO), the control is immediately returned to the state transition inquiry means 31.

【0038】状態遷移問い合わせ手段31は、条件判断
手段32から制御を戻された場合,ステップA4の判断
結果がNOの場合およびステップA6の処理が終了した
場合、ステップA7の処理を行う。ステップA7では、
未処理の監視対象装置が存在するか否かを判断する。そ
して、未処理の監視対象装置が存在すると判断した場合
(ステップA7がYES)は、ステップA1の処理に戻
り、未処理の監視対象装置が存在しないと判断した場合
(ステップA7がNO)は、その処理を終了する。
The state transition inquiry means 31 performs the processing of step A7 when the control is returned from the condition determining means 32, when the determination result of step A4 is NO, and when the processing of step A6 is completed. In step A7,
It is determined whether an unprocessed monitoring target device exists. When it is determined that there is an unprocessed monitoring target device (YES in step A7), the process returns to step A1, and when it is determined that there is no unprocessed monitoring target device (step A7 is NO), The process ends.

【0039】次に、具体例を用いて本実施例の動作を説
明する。監視対象装置1−1〜1−nとして、接続時間
に応じた従量課金制の通信回線を用いて通信を行う、長
時間の連続接続には注意を払う必要がある通信機器を想
定する。また、監視対象装置1−1〜1−nは、「接続
状態」と「切断状態」の2つの状態を遷移し、警告対象
状態として「接続状態」、問い合わせ間隔Tとして「2
0分」、警告時間Tkとして「30分」が、管理者によ
って予め設定されているとする。
Next, the operation of this embodiment will be described using a specific example. It is assumed that the monitoring target devices 1-1 to 1-n are communication devices that perform communication using a communication line of a pay-as-you-go system according to a connection time and need to pay attention to a long-time continuous connection. Further, the monitoring target devices 1-1 to 1-n transition between two states of a "connection state" and a "disconnection state", the "connection state" as a warning target state, and "2" as an inquiry interval T.
It is assumed that “0 minutes” and “30 minutes” are set in advance by the administrator as the warning time Tk.

【0040】監視対象装置1−1内の状態遷移記録記憶
部12の内容が図3(A)に示すものであるときに、状
態遷移問い合わせ手段31が、1998年10月1日9
時40分に監視対象装置1−1に対して問い合わせを行
ったとする(ステップA1)。
When the contents of the state transition record storage unit 12 in the monitored device 1-1 are as shown in FIG. 3A, the state transition inquiry means 31
It is assumed that an inquiry is made to the monitoring target device 1-1 at 10:00 (Step A1).

【0041】監視対象装置1−1内の応答手段13は、
この問い合わせに応答して、最新の状態遷移情報「19
98.10.1.9:26 接続」を状態遷移問い合わ
せ手段31に送る。
The response means 13 in the monitored device 1-1 is
In response to this inquiry, the latest state transition information "19
98.10.1.9:26 connection ”to the state transition inquiry means 31.

【0042】状態遷移問い合わせ手段31は、前回の問
い合わせ時刻「1998.10.1.9:20」よりも
最新の状態遷移情報中の時刻「1998.10.1.
9:26」の方が新しいので、前回の問い合わせ時以降
に監視対象装置1−1に状態遷移が発生していると判断
し、最新の状態遷移情報「1998.10.1.9:2
6 接続」を最新状態記憶部41の監視対象装置1−1
に割り当てられている領域に書き込む(ステップA
3)。
The state transition inquiry means 31 outputs the time "1998.10.1. Time" in the latest state transition information from the previous inquiry time "1998.10.1.9:20".
9:26 "is newer, it is determined that a state transition has occurred in the monitored device 1-1 since the last inquiry, and the latest state transition information" 1998.10.10: 1.9: 2 "
6 connection ”is changed to the monitoring target device 1-1 in the latest state storage unit 41.
(Step A)
3).

【0043】その後、問い合わせ間隔「20分」が経過
し、次の問い合わせ時刻「1998.10.1.10:
00」になっても図3(B)に示すように、監視対象装
置1−1中の状態遷移記録記憶部12の内容が変化しな
かったとすると、ステップA2,A9の判断結果がそれ
ぞれNO,YESとなるので、接続状態の継続時間が計
算される(ステップA10)。この例の場合、継続時間
は、「1998.10.1.10:00」−「199
8.10.1.9:26」=34分となるので、警告が
出力されると共に警告出力状態記憶部42の内容が「警
告出力中」に変更される。
Thereafter, the inquiry interval "20 minutes" elapses, and the next inquiry time "1998.10.1.10:
3B, if the contents of the state transition record storage unit 12 in the monitored device 1-1 have not changed, as shown in FIG. 3B, the determination results in steps A2 and A9 are NO and A9, respectively. Since the answer is YES, the duration of the connection state is calculated (step A10). In the case of this example, the duration is “1998.10.10: 00” − “199”.
8.10.1.9:26"=34 minutes, so that a warning is output and the contents of the warning output state storage unit 42 are changed to "Warning is being output".

【0044】次に、本発明の他の実施例について説明す
る。本実施例と図1に示した実施例との主な相違点は、
図1の実施例では、監視対象装置でリセットが行われた
か否かを全く考慮せずに、状態遷移記録記憶部に格納さ
れている最新の状態遷移情報のみに基づいて警告を出力
するか否かを制御しているのに対し、本実施例では、監
視対象装置でリセットが行われたか否かも考慮して警告
を出力するか否かを制御するようにしている点である。
つまり、図1の実施例では、状態遷移記録記憶部に格納
されている状態遷移情報が示す最新の状態遷移時と今回
の問い合わせ時との間に於いてリセットが行われ、同一
連続状態が一旦解除されたとしても、状態遷移情報記憶
部に格納されている最新の状態遷移情報が示す状態遷移
時の時刻と今回の問い合わせ時の時刻との差分に基づい
て警告を発するか否かを制御しているので、上記差分が
警告時間Tk以上で、且つ状態が警告対象状態であれば
警告が発せられてしまう。そこで、本実施例では、監視
対象装置に於いてリセットが行われた場合には、リセッ
ト時刻とリセット直後に監視対象装置がとる状態との対
を最新の状態遷移情報と見做して処理を行うことによ
り、上記した問題点を解決するようにしている。以下、
本発明の他の実施例について詳細に説明する。
Next, another embodiment of the present invention will be described. The main differences between this embodiment and the embodiment shown in FIG.
In the embodiment of FIG. 1, whether or not to output a warning based on only the latest state transition information stored in the state transition record storage unit without considering at all whether or not a reset has been performed in the monitored device. In contrast to this, in the present embodiment, whether or not to output a warning is controlled in consideration of whether or not the monitoring target device has been reset.
That is, in the embodiment of FIG. 1, the reset is performed between the latest state transition indicated by the state transition information stored in the state transition record storage unit and the current inquiry, and the same continuous state is temporarily set. Even if it is released, it controls whether a warning is issued based on the difference between the time at the time of the state transition indicated by the latest state transition information stored in the state transition information storage unit and the time at the time of this inquiry. Therefore, if the difference is equal to or longer than the warning time Tk and the state is the state to be warned, a warning is issued. Therefore, in the present embodiment, when a reset is performed in the monitoring target device, the processing is performed by regarding the pair of the reset time and the status taken by the monitoring target device immediately after the reset as the latest state transition information. By doing so, the above-mentioned problem is solved. Less than,
Another embodiment of the present invention will be described in detail.

【0045】図4は本発明の他の実施例のブロック図で
あり、n台の監視対象装置1−1a〜1−1naと、状
態監視装置2aと、LAN等のネットワーク8とから構
成されている。
FIG. 4 is a block diagram of another embodiment of the present invention, which comprises n monitoring target devices 1-1a to 1-1na, a status monitoring device 2a, and a network 8 such as a LAN. I have.

【0046】監視対象装置1−1aは、図1に示した監
視対象装置1−1が備えている構成に加えて稼働時間計
測手段14,稼働時間記憶部15を備えると共に、応答
手段13の代わりに応答手段13aを備えている。尚、
他の監視対象装置も同様の構成を有している。
The monitored device 1-1a includes an operating time measuring unit 14 and an operating time storage unit 15 in addition to the configuration of the monitored device 1-1 shown in FIG. Is provided with a response means 13a. still,
Other monitoring target devices have the same configuration.

【0047】稼働時間計測手段14は、監視対象装置1
−1aが稼働し始めてからの時間を計測し、稼働時間記
憶部15に格納する機能を有する。つまり、稼働時間計
測手段14は、監視対象装置1−1aが起動或いはリセ
ットされてからの時間を常時計測し、計測結果を稼働時
間として稼働時間記憶部15に格納する機能を有する。
The operating time measuring means 14 is the monitoring target device 1
-1a has a function of measuring the time since the start of operation and storing the time in the operation time storage unit 15. That is, the operating time measuring unit 14 has a function of constantly measuring the time since the monitoring target device 1-1a is started or reset, and storing the measurement result in the operating time storage unit 15 as the operating time.

【0048】応答手段13aは、状態監視装置2aによ
って状態遷移情報が問い合わされた場合には、状態遷移
記録記憶部12に格納されている最新の状態遷移情報を
状態監視装置2aに送り、稼働時間が問い合わされた場
合には、稼働時間記憶部15に格納されている稼働時間
を状態監視装置2aに送る機能を備えている。
When the status monitoring device 2a inquires about the status transition information, the response means 13a sends the latest status transition information stored in the status transition recording storage unit 12 to the status monitoring device 2a, Is sent, the operating time stored in the operating time storage unit 15 is sent to the state monitoring device 2a.

【0049】状態監視装置2aは、データ処理装置3の
代わりにデータ処理装置3aを備えている点,記憶装置
4の代わりに記憶装置4aを備えている点および記録媒
体7の代わりに記録媒体7aを備えている点が図1に示
した状態監視装置2と相違している。
The state monitoring device 2a has a data processing device 3a in place of the data processing device 3, a storage device 4a in place of the storage device 4, and a recording medium 7a in place of the recording medium 7. Is different from the state monitoring device 2 shown in FIG.

【0050】記憶装置4aは、図1に示した記憶装置4
が備えている構成に加えて最新稼働時間記憶部43を備
えている。
The storage device 4a is the same as the storage device 4 shown in FIG.
Is provided with a latest operating time storage unit 43 in addition to the configuration provided in the first embodiment.

【0051】最新稼働時間記憶部43は、監視対象装置
1−1a〜1−na毎の領域を有し、各領域にはそれぞ
れ対応する監視対象装置の稼働時間が格納される。
The latest operating time storage unit 43 has an area for each of the monitored devices 1-1a to 1-na, and each area stores the operating time of the corresponding monitored device.

【0052】データ処理装置3aは、状態遷移問い合わ
せ手段31の代わりに状態遷移問い合わせ手段31aを
備えている点および稼働時間問い合わせ手段33が追加
されている点が図1に示したデータ処理装置3と相違し
ている。
The data processing device 3a is different from the data processing device 3 shown in FIG. 1 in that a state transition inquiry means 31a is provided instead of the state transition inquiry means 31 and an operation time inquiry means 33 is added. Are different.

【0053】稼働時間問い合わせ手段33は、状態遷移
問い合わせ手段31aによって指示された監視対象装置
1−iaに稼働時間を問い合わせる機能や、この問い合
わせに応答して監視対象装置1−iaから送られてきた
稼働時間を状態遷移問い合わせ手段31aに通知する機
能を有する。
The operating time inquiring means 33 has a function of inquiring the monitored device 1-ia of the operating time instructed by the state transition inquiring means 31a, and is transmitted from the monitored device 1-ia in response to the inquiry. It has a function of notifying the operation time to the state transition inquiry means 31a.

【0054】状態遷移問い合わせ手段31aは、図1の
状態遷移問い合わせ手段31が備えている機能に加え
て、下記の機能を有する。
The state transition inquiry means 31a has the following functions in addition to the functions provided in the state transition inquiry means 31 of FIG.

【0055】・稼働時間問い合わせ手段33を用いて監
視対象装置1−iaの稼働時間を取得する機能 ・監視対象装置1−iaから送られてきた状態遷移情報
と前回の問い合わせ時刻とに基づいて、監視対象装置1
−iaの状態が前回の問い合わせ時から変化していない
と判断した場合、稼働時間問い合わせ手段33を用いて
取得した監視対象装置1−iaの稼働時間と最新稼働時
間記憶部43に格納されている監視対象装置1−iaの
稼働時間とを比較することにより、監視対象装置1−i
aが前回の問い合わせ時以降にリセットされているか否
かを判断する機能 ・監視対象装置1−iaが前回の問い合わせ時以降にリ
セットされている場合には、リセット時刻を算出し、算
出したリセット時刻と監視対象装置1−iaがリセット
直後にとる状態との対を、監視対象装置1−iaの最新
の状態遷移情報として最新状態記憶部41に格納する機
A function of acquiring the operating time of the monitored device 1-ia using the operating time inquiry means 33. Based on the state transition information sent from the monitored device 1-ia and the previous inquiry time, Monitored device 1
If it is determined that the state of −ia has not changed from the time of the previous inquiry, the operation time of the monitored device 1-ia acquired by using the operation time inquiry unit 33 and stored in the latest operation time storage unit 43. By comparing the operation time of the monitoring target device 1-ia with the monitoring target device 1-ia,
A function of determining whether or not a has been reset since the last inquiry. If the monitored device 1-ia has been reset since the last inquiry, the reset time is calculated, and the calculated reset time is calculated. A function of storing a pair of the status to be taken immediately after reset by the monitored device 1-ia in the latest status storage unit 41 as the latest status transition information of the monitored device 1-ia.

【0056】記録媒体7aは、ディスク,半導体メモ
リ,その他の記録媒体であり、コンピュータからなるデ
ータ処理装置3aを状態監視装置2aとして機能させる
ためのプログラムが記録されている。このプログラム
は、データ処理装置3aによって読み取られ、データ処
理装置3aの動作を制御することで、データ処理装置3
a上に状態遷移問い合わせ手段31a,条件判断手段3
2,稼働時間問い合わせ手段33を実現する。
The recording medium 7a is a disk, a semiconductor memory, or another recording medium, in which a program for causing the data processing device 3a including a computer to function as the state monitoring device 2a is recorded. This program is read by the data processing device 3a, and by controlling the operation of the data processing device 3a,
a, the state transition inquiry means 31a and the condition determination means 3
2. The operation time inquiry means 33 is realized.

【0057】次に、図5,図6の流れ図を参照して本実
施例の動作を説明する。尚、図5のステップA1〜A1
2の処理は、図2のステップA1〜A12の処理と同様
な処理なので、ここでは詳細な説明は省略する。
Next, the operation of this embodiment will be described with reference to the flowcharts of FIGS. Steps A1 to A1 in FIG.
The process of Step 2 is the same as the process of Steps A1 to A12 in FIG. 2, and thus the detailed description is omitted here.

【0058】状態監視装置2a内の状態遷移問い合わせ
手段31aは、1台の監視対象装置(例えば、監視対象
装置1−1a)に対して最新の状態遷移情報を問い合わ
せ(図5,ステップA1)、この問い合わせに応答して
監視対象装置1−1a内の応答手段13aから最新の状
態遷移情報が送られてくると、稼働時間問い合わせ手段
33を用いて監視対象装置1−1aの稼働時間を問い合
わせる(ステップB1)。
The state transition inquiry means 31a in the state monitoring apparatus 2a inquires one monitored apparatus (for example, the monitored apparatus 1-1a) about the latest state transition information (FIG. 5, step A1). When the latest state transition information is sent from the response unit 13a in the monitored device 1-1a in response to this inquiry, the operating time of the monitored device 1-1a is inquired using the operating time inquiry unit 33 ( Step B1).

【0059】応答手段13aは、稼働時間問い合わせ手
段33からの稼働時間の問い合わせを受け付けると、稼
働時間記憶部15に格納されている稼働時間を稼働時間
問い合わせ手段33に送る。
Upon receiving the inquiry about the operating time from the operating time inquiry means 33, the response means 13a sends the operating time stored in the operating time storage unit 15 to the operating time inquiry means 33.

【0060】状態遷移問い合わせ手段31aは、稼働時
間問い合わせ手段33が稼働時間を取得すると、ステッ
プA1で取得した最新の状態遷移情報と前回の問い合わ
せ時の時刻とに基づいて、前回の問い合わせ時以降に監
視対象装置1−1aの状態が遷移したか否かを判断する
(ステップA2)。
When the operating time inquiring means 33 obtains the operating time, the state transition inquiring means 31a determines whether the operating time has passed since the last inquiring based on the latest state transition information obtained in step A1 and the time of the last inquiring. It is determined whether the state of the monitoring target device 1-1a has transitioned (step A2).

【0061】そして、ステップA2で状態が遷移してい
ると判断した場合は、ステップA3〜A6の処理を行
い、その後、稼働時間問い合わせ手段33がステップB
1で取得した稼働時間を、最新稼働時間記憶部43の監
視対象装置1−1aに対応する領域に書き込む(ステッ
プB8)。このステップB8の処理が終了すると、未処
理の監視対象装置が存在するか否かを判断し(ステップ
A7)、存在する場合はステップA1の処理に戻り、存
在しない場合は処理終了とする。
If it is determined in step A2 that the state has changed, the processing in steps A3 to A6 is performed, and then the operating time inquiry means 33 executes step B
The operating time acquired in step 1 is written in the area corresponding to the monitored device 1-1a in the latest operating time storage unit 43 (step B8). When the process in step B8 is completed, it is determined whether or not there is an unprocessed monitoring target device (step A7). If there is, the process returns to step A1, and if not, the process is terminated.

【0062】これに対して、ステップA2で監視対象装
置1−1aの状態が変化していないと判断した場合は、
状態遷移問い合わせ手段31aは、稼働時間問い合わせ
手段33がステップB1で取得した監視対象装置1−1
aの稼働時間と最新稼働時間記憶部43に格納されてい
る監視対象装置1−1aの稼働時間(前回の問い合わせ
時に取得した稼働時間)とを比較することにより、前回
の問い合わせ時以降に監視対象装置1−1aがリセット
されたか否かを判断する(ステップB2)。即ち、ステ
ップB1で取得した稼働時間の方が短い場合は、リセッ
トされていると判断し、そうでない場合は、リセットさ
れていないと判断する。
On the other hand, if it is determined in step A2 that the state of the monitored device 1-1a has not changed,
The state transition inquiry unit 31a is a monitoring target device 1-1 acquired by the operation time inquiry unit 33 in step B1.
By comparing the operation time of the monitoring target device 1-1a with the operation time of the monitoring target device 1-1a stored in the latest operation time storage unit 43 (the operation time obtained at the time of the previous inquiry), the monitoring target is monitored after the previous inquiry. It is determined whether the device 1-1a has been reset (step B2). That is, if the operation time acquired in step B1 is shorter, it is determined that the operation time has been reset. Otherwise, it is determined that the operation time has not been reset.

【0063】そして、ステップB2に於いて、監視対象
装置1−1aがリセットされていないと判断した場合
は、ステップA8〜A12,B8,A7の処理を行う。
If it is determined in step B2 that the monitored device 1-1a has not been reset, the processing of steps A8 to A12, B8, and A7 is performed.

【0064】これに対して、ステップB2に於いて、監
視対象装置1−1aがリセットされていると判断した場
合は、状態遷移問い合わせ手段31aは、監視対象装置
1−1aに於いてリセットが発生した時刻を算出する
(図6,ステップB3)。このリセット発生時刻は、
(今回の問い合わせ時刻−稼働時間)なる演算を行うこ
とにより、求めることができる。次に、状態遷移問い合
わせ手段31aは、ステップB3で求めたリセット発生
時刻を状態遷移時刻とし、監視対象装置1−1aがリセ
ット直後にとる状態を監視対象装置1−1aの現在の状
態とした状態遷移情報を、監視対象装置1−1aの最新
の状態遷移情報として最新状態記憶部41に格納する
(ステップB4)。
On the other hand, if it is determined in step B2 that the monitored device 1-1a has been reset, the state transition inquiry means 31a determines that a reset has occurred in the monitored device 1-1a. The calculated time is calculated (FIG. 6, step B3). This reset occurrence time is
It can be obtained by performing an operation of (current inquiry time−operating time). Next, the state transition inquiry unit 31a sets the reset occurrence time obtained in step B3 as the state transition time, and sets the state that the monitored device 1-1a takes immediately after the reset as the current state of the monitored device 1-1a. The transition information is stored in the latest state storage unit 41 as the latest state transition information of the monitored device 1-1a (step B4).

【0065】その後、状態遷移問い合わせ手段31a
は、警告出力状態記憶部42に監視対象装置1−1aに
割り当てられている領域を参照し、その内容が「警告出
力中」であるか否かを判断する(ステップB5)。そし
て、「警告出力中」である場合は、出力装置5に、監視
対象装置1−1aに対する警告を解除する旨のメッセー
ジ等を出力し、更に、警告出力状態記憶部42の内容を
「警告未出力」に変更した後、条件判断手段32に制御
を渡して図5のステップA8の処理を行う。これに対し
て、「警告未出力」である場合には、直ちに条件判断手
段32に制御を渡して図5のステップA8の処理を行
う。条件判断手段32は制御を渡されると、ステップA
9〜A12の処理を行い、その後、状態遷移問い合わせ
手段31aに制御を戻す。
Thereafter, the state transition inquiry means 31a
Refers to the area assigned to the monitoring target device 1-1a in the warning output state storage unit 42, and determines whether or not the content is "during warning output" (step B5). If "warning is being output", a message or the like is output to the output device 5 to cancel the warning for the monitoring target device 1-1a. After changing to "output", the control is passed to the condition judging means 32 to perform the process of step A8 in FIG. On the other hand, if "warning has not been output", the control is immediately passed to the condition determining means 32, and the process of step A8 in FIG. 5 is performed. When the control is passed to the condition judging means 32, step A
The processing of 9 to A12 is performed, and thereafter, the control is returned to the state transition inquiry means 31a.

【0066】次に具体例を挙げて、本実施例の動作を説
明する。
Next, the operation of this embodiment will be described with reference to specific examples.

【0067】今、例えば、図7に示すように、1998
年10月1日10時20分に、状態遷移問い合わせ手段
31aが、監視対象装置1−1aに対して最新の状態遷
移情報を問い合わせ(ステップA1)、更に、稼働時間
問い合わせ手段33を用いて監視対象装置1−1aの稼
働時間を問い合わせたとする(ステップB1)。また、
この時点に於ける状態遷移記録記憶部12,稼働時間記
憶部15,最新稼働時間記憶部43の内容が、それぞれ
図7に示すように、「1998年10月1日9時26分
接続」,「10分」,「34時間」であったとする。
また、監視対象装置1−1a〜1−naは、「接続状
態」と「切断状態」の2つの状態を遷移し、警告対象状
態として「接続状態」、問い合わせ間隔Tとして「20
分」、警告時間Tkとして「30分」が、管理者によっ
て予め設定されているとする。
Now, for example, as shown in FIG.
At 10:20 on October 1, 2008, the state transition inquiry unit 31a inquires the monitoring target device 1-1a about the latest state transition information (step A1), and further monitors using the operating time inquiry unit 33. It is assumed that the operation time of the target device 1-1a has been inquired (step B1). Also,
As shown in FIG. 7, the contents of the state transition record storage unit 12, the operation time storage unit 15, and the latest operation time storage unit 43 at this time are “connection at 9:26 on October 1, 1998”, It is assumed that "10 minutes" and "34 hours".
Also, the monitored devices 1-1a to 1-na transition between two states, a "connected state" and a "disconnected state", the "connected state" as a warning target state, and "20" as an inquiry interval T.
It is assumed that “minute” and “30 minutes” are set in advance by the administrator as the warning time Tk.

【0068】ステップB1の処理が終了すると、状態遷
移問い合わせ手段31aは、前回の問い合わせ時以降
に、監視対象装置1−1aに於いて状態遷移が発生して
いるか否かを判断する(図5,ステップA2)。この例
の場合、ステップA1で取得した最新の状態遷移情報
「1998年10月1日9時26分 接続」中の時刻
が、前回の問い合わせ時刻「1998年10月1日10
時00分」よりも前であるので、前回の問い合わせ時以
降に、監視対象装置1−1aに状態が変化していないと
判断する(ステップA2がNO)。
When the process of step B1 is completed, the status transition inquiry means 31a determines whether or not a status transition has occurred in the monitored device 1-1a since the last inquiry (FIG. 5, FIG. 5). Step A2). In the case of this example, the time in the latest state transition information “October 1, 1998 9:26 connection” acquired in step A1 is changed to the previous inquiry time “October 1, 1998 10
Since the time is before "00 minutes", it is determined that the state of the monitoring target device 1-1a has not changed since the last inquiry (step A2 is NO).

【0069】ステップA2の判断結果がNOとなると、
状態遷移問い合わせ手段31aは、前回の問い合わせ以
降に、監視対象装置1−1aがリセットされたか否かを
判断する(ステップB2)。この例の場合、ステップB
1で取得した時間「10分」の方が、最新稼働時間記憶
部43に格納されている稼働時間「34時間」よりも短
いので、リセットされていると判断する(ステップB2
がYES)。
If the decision result in the step A2 is NO,
The state transition inquiry unit 31a determines whether or not the monitored device 1-1a has been reset since the previous inquiry (step B2). In this example, step B
Since the time “10 minutes” obtained in step 1 is shorter than the operation time “34 hours” stored in the latest operation time storage unit 43, it is determined that the time has been reset (step B2).
Is YES).

【0070】ステップB2の判断結果がYESとなる
と、状態遷移問い合わせ手段31aは、リセット発生時
刻を算出する(図6,ステップB3)。この例の場合、
今回の問い合わせ時刻が「1998年10月1日10時
20分」で、監視対象装置1−1aから取得した稼働時
間が「10分」であるので、リセット時刻=(1998
年10月1日10時20分−10分)=1998年10
月1日10時10分となる。
If the decision result in the step B2 is YES, the state transition inquiry means 31a calculates a reset occurrence time (FIG. 6, step B3). In this case,
Since the current inquiry time is “10:20 on October 1, 1998” and the operation time acquired from the monitored device 1-1a is “10 minutes”, the reset time = (1998
(October 1, 10: 20-10) = 1998 October
It will be 10:10 on the 1st of the month.

【0071】その後、状態遷移問い合わせ手段31a
は、リセット時刻「1998年10月1日10時10
分」と監視対象装置1−1aがリセット直後にとる状態
「切断」とを対にした情報を、監視対象装置1−1aの
最新の状態遷移情報として最新状態記憶部41に格納す
る(ステップB4)。
Thereafter, the state transition inquiry means 31a
Is the reset time "10:10 on October 1, 1998
The information that pairs the “minute” and the state “disconnected” that the monitored device 1-1a takes immediately after the reset is stored in the latest state storage unit 41 as the latest state transition information of the monitored device 1-1a (step B4). ).

【0072】次いで、状態遷移問い合わせ手段31a
は、警告出力状態記憶部42に格納されている監視対象
装置1−1aについての情報が「警告出力中」であれ
ば、出力装置5に、監視対象装置1−1aに対する警告
を解除する旨のメッセージを出力すると共に、警告出力
状態記憶部42中の監視対象装置1−1aについての情
報を「警告未出力」に変更し(ステップB6,B7)、
監視対象装置1−1aの装置IDを条件判断手段32に
通知する(図5,ステップA8)。
Next, the state transition inquiry means 31a
If the information on the monitoring target device 1-1a stored in the warning output status storage unit 42 is “during warning output”, the output device 5 cancels the warning for the monitoring target device 1-1a. At the same time as outputting the message, the information on the monitoring target device 1-1a in the warning output state storage unit 42 is changed to “not output warning” (steps B6 and B7),
The device ID of the monitoring target device 1-1a is notified to the condition determining means 32 (FIG. 5, step A8).

【0073】これにより、条件判断手段32は、最新状
態記憶部41の監視対象装置1−1aに割り当てられて
いる領域を参照し、そこに格納されている最新の状態遷
移情報が示す状態が警告対象状態であるか否かを判断す
る(ステップA9)。この例の場合、最新の状態遷移情
報が示す状態は、図7に示すように「切断」であり、警
告対象状態は「接続」であるので、ステップA9の判断
結果はNOとなり、条件判断手段32は、状態遷移問い
合わせ手段31aに制御を戻す。
As a result, the condition judging means 32 refers to the area allocated to the monitored device 1-1a in the latest state storage section 41, and warns the state indicated by the latest state transition information stored therein. It is determined whether the state is the target state (step A9). In the case of this example, the state indicated by the latest state transition information is “disconnected” as shown in FIG. 7, and the state to be warned is “connected”. 32 returns control to the state transition inquiry means 31a.

【0074】制御を戻されると、状態遷移問い合わせ手
段31aは、ステップB1に於いて稼働時間問い合わせ
手段33が取得した稼働時間「10分」を、監視対象装
置1−1aについての情報として最新稼動時間記憶部4
3に格納する。
When the control is returned, the state transition inquiry means 31a uses the operation time "10 minutes" acquired by the operation time inquiry means 33 in step B1 as the latest operation time as information on the monitored device 1-1a. Storage unit 4
3 is stored.

【0075】このように、本実施例では、監視対象装置
1−1aに於いてリセットが行われたことを検出した場
合(図5,ステップB2がYES)、リセット時刻「1
998年10月1日10時10分」とリセット直後に監
視対象装置1−1aがとる状態「切断」との対を、監視
対象装置1−1aの最新の状態遷移情報として最新状態
記憶部41に格納し(図6,ステップB4)、その情報
に基づいて警告を発するか否かを判断するようにしてい
るので(ステップA9,A10)、リセット時から「1
0分」しか経過していない今回の問い合わせ時「199
8年10月1日10時20分」に於いて、誤って警告を
出力してしまうことがない。もし、図1に示した実施例
のように、リセットを全く考慮しないとすると、最新の
状態遷移情報が「1998年10月1日9時26分 接
続」であるとしてステップA9,A10の処理が行われ
てしまうので、監視対象装置1−1aが警告時間「30
分」以上連続して警告対象状態「接続」でないにも関わ
らず、誤って警告が出力されてしまう。
As described above, in this embodiment, when it is detected that the reset has been performed in the monitored device 1-1a (FIG. 5, step B2 is YES), the reset time "1" is set.
A pair of "10:10 on Oct. 1, 998" and the state "disconnected" taken by the monitored device 1-1a immediately after the reset is used as the latest state transition information of the monitored device 1-1a as the latest state storage unit 41. (FIG. 6, step B4), and it is determined whether or not to issue a warning based on the information (steps A9 and A10).
At the time of this inquiry when only "0 minute" has elapsed, "199
At 10:20 on Oct. 1, 2008, a warning is not erroneously output. If the reset is not considered at all as in the embodiment shown in FIG. 1, it is determined that the latest state transition information is “connection at 9:26 on October 1, 1998” and the processing of steps A9 and A10 is performed. The monitoring target device 1-1a sets the warning time “30”.
A warning is erroneously output in spite of the fact that the status is not "connection" for more than "minutes" consecutively.

【0076】[0076]

【発明の効果】第1の効果は、監視対象装置が警告時間
以上連続して警告対象状態でない場合に、誤って警告時
間以上警告対象状態が連続していると判断してしまうこ
とがないという点である。その理由は、監視対象装置が
保持している最新の状態遷移情報(状態遷移の発生時刻
と状態遷移後の状態とを含む)を所定の問い合わせ間隔
で問い合わせ、この問い合わせによって取得した状態遷
移情報と今回の問い合わせ時の時刻とに基づいて、警告
時間以上警告対象状態が連続しているか否かを判断して
いるためである。
The first effect is that when the monitoring target device is not in the state to be warned continuously for more than the warning time, it is not erroneously determined that the state to be warned is longer than the warning time. Is a point. The reason is that the latest state transition information (including the state transition occurrence time and the state after the state transition) held by the monitoring target device is inquired at a predetermined inquiry interval, and the state transition information acquired by this inquiry is This is because, based on the time at the time of this inquiry, it is determined whether or not the warning target state is continuous for the warning time or longer.

【0077】第2の効果は、監視対象装置,状態監視装
置にあまり高い負荷をかけずに、監視対象装置が警告時
間以上連続して警告対象状態であるか否かを判断できる
という点である。その理由は、状態監視装置が行う問い
合わせの間隔を、従来の技術に比較して長くすることが
できるからである。つまり、本発明に於ける問い合わせ
間隔は警告時間よりも短ければよく、次の問い合わせを
行うまでに状態が遷移し、また元の状態に戻るというよ
うな事象も検出することが必要になる従来の技術に比較
して問い合わせ間隔を長くすることができるからであ
る。
The second effect is that it is possible to judge whether or not the monitoring target device is continuously in the warning target state for more than the warning time without applying too much load to the monitoring target device and the status monitoring device. . The reason is that the interval between inquiries made by the state monitoring device can be made longer than in the conventional technique. In other words, the inquiry interval in the present invention may be shorter than the warning time, and it is necessary to detect an event such as a state transition before returning to the next inquiry and a return to the original state. This is because the inquiry interval can be made longer as compared with the technology.

【0078】第3の効果は、監視対象装置でリセットが
行われても、監視対象装置の状態が警告時間以上連続し
て警告対象状態でない場合に、誤って警告時間以上連続
して警告対象状態であると判断することがないという点
である。その理由は、監視対象装置でリセットが行われ
たか否かも考慮して判断を行っているからである。
The third effect is that even if the monitoring target device is reset and the state of the monitoring target device is not the warning target status continuously for the warning time or more, the warning target status is erroneously continued for the warning time or more. Is that it is not determined that The reason is that the determination is made in consideration of whether or not the monitoring target device has been reset.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1のデータ処理装置3の処理例を示す流れ図
である。
FIG. 2 is a flowchart showing a processing example of a data processing device 3 of FIG. 1;

【図3】図1のデータ処理装置3の動作の具体例を説明
するための図である。
FIG. 3 is a diagram for explaining a specific example of the operation of the data processing device 3 of FIG. 1;

【図4】本発明の他の実施例のブロック図である。FIG. 4 is a block diagram of another embodiment of the present invention.

【図5】図4のデータ処理装置3aの処理例を示す流れ
図である。
FIG. 5 is a flowchart showing a processing example of a data processing device 3a of FIG. 4;

【図6】図4のデータ処理装置3aの処理例を示す流れ
図である。
FIG. 6 is a flowchart showing a processing example of a data processing device 3a of FIG. 4;

【図7】図4のデータ処理装置3aの動作の具体例を説
明するための図である。
FIG. 7 is a diagram for explaining a specific example of the operation of the data processing device 3a in FIG. 4;

【符号の説明】[Explanation of symbols]

1−1〜1−n,1−1a〜1−na…監視対象装置 11…状態遷移検出手段 12…状態遷移記録記憶部 13,13a…応答手段 14…稼働時間計測手段 15…稼働時間記憶部 2,2a…状態監視装置 3,3a…データ処理装置 31,31a…状態遷移問い合わせ手段 32…条件判断手段 33…稼働時間問い合わせ手段 4,4a…記憶装置 41…最新状態記憶部 42…最新稼働時間記憶部 43…警告出力状態記憶部 5…出力装置 6…入力装置 7,7a…記録媒体 8…ネットワーク 1-1 to 1-n, 1-1a to 1-na monitoring target device 11 state transition detecting unit 12 state transition recording storage unit 13, 13a response unit 14 operating time measuring unit 15 operating time storage unit 2, 2a State monitoring device 3, 3a Data processing device 31, 31a State transition inquiry means 32 Condition determination means 33 Operation time inquiry means 4, 4a Storage device 41 Latest state storage unit 42 Latest operation time Storage unit 43 Warning output state storage unit 5 Output device 6 Input device 7, 7a Recording medium 8 Network

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 監視対象装置は、自装置に状態遷移が発
生した場合、状態遷移発生時の時刻と状態遷移後の状態
とを含む状態遷移情報を保持し、状態監視装置から問い
合わせがあった場合、保持している最新の状態遷移情報
を前記状態監視装置へ送り、 状態監視装置は、警告時間よりも短い所定の問い合わせ
間隔で前記監視対象装置に対して問い合わせを行って前
記監視対象装置が保持している最新の状態遷移情報を取
得し、この取得した最新の状態遷移情報と今回の問い合
わせ時刻とに基づいて前記監視対象装置が予め定められ
ている警告時間以上連続して予め定められている警告対
象状態になっているか否かを判断することを特徴とする
状態監視方法。
1. When a state transition occurs in the monitoring target apparatus, the monitoring target apparatus retains state transition information including a time when the state transition occurs and a state after the state transition, and receives an inquiry from the state monitoring apparatus. In this case, the latest state transition information held is sent to the state monitoring device, and the state monitoring device makes an inquiry to the monitoring target device at a predetermined inquiry interval shorter than the warning time, and the monitoring target device The latest state transition information held is acquired, and based on the acquired latest state transition information and the current inquiry time, the monitoring target device is continuously determined for a predetermined warning time or longer. A state monitoring method for determining whether or not the state is a warning target state.
【請求項2】 監視対象装置は、自装置に状態遷移が発
生した場合、状態遷移発生時の時刻と状態遷移後の状態
とを含む状態遷移情報を保持し、自装置に於いてリセッ
トが行われた場合、リセットが行われてからの稼働時間
を計測し、状態監視装置から問い合わせがあった場合、
保持,計測している最新の状態遷移情報,稼働時間を前
記状態監視装置へ送り、 状態監視装置は、警告時間よりも短い所定の問い合わせ
間隔で前記監視対象装置に対して問い合わせを行って前
記監視対象装置が保持,計測している最新の状態遷移情
報,稼働時間を取得し、今回の問い合わせ時に取得した
稼働時間と前回の問い合わせ時に取得した稼働時間とに
基づいて、前回の問い合わせ時以降に前記監視対象装置
に於いてリセットが行われているか否かを判断し、リセ
ットが行われていない場合には、今回の問い合わせ時に
取得した最新の状態遷移情報と今回の問い合わせ時刻と
に基づいて前記監視対象装置が予め定められている警告
時間以上連続して予め定められている警告対象状態にな
っているか否かを判断し、リセットが行われている場合
は、リセットが行われたリセット発生時刻と、リセット
直後に前記監視対象装置がとる状態と、今回の問い合わ
せ時刻とに基づいて前記監視対象装置が予め定められて
いる警告時間以上連続して予め定められている警告対象
状態になっているか否かを判断することを特徴とする状
態監視方法。
2. When a state transition occurs in the own apparatus, the monitored apparatus holds state transition information including a time at which the state transition occurred and a state after the state transition, and the monitored apparatus performs a reset. In the case of a reset, the operating time since the reset was performed is measured, and if there is an inquiry from the state monitoring device,
The latest state transition information being held and measured and the operation time are sent to the state monitoring device, and the state monitoring device makes an inquiry to the monitored device at a predetermined inquiry interval shorter than the warning time to perform the monitoring. The latest status transition information and operation time that the target device holds and measures are acquired, and based on the operation time acquired at the time of this inquiry and the operation time acquired at the time of the previous inquiry, It is determined whether or not the monitoring target device has been reset. If the reset has not been performed, the monitoring is performed based on the latest state transition information acquired at the time of this inquiry and the current inquiry time. It is determined whether or not the target device has been in the predetermined warning target state continuously for a predetermined warning time or longer, and the reset has been performed. In this case, based on the reset occurrence time at which the reset was performed, the state taken by the monitored device immediately after the reset, and the current inquiry time, the monitored device continuously continues for a predetermined warning time or more. A state monitoring method, comprising: determining whether or not a warning target state is set in advance.
【請求項3】 自装置に状態遷移が発生した場合、状態
遷移発生時の時刻と状態遷移後の状態とを含む状態遷移
情報を保持し、状態監視装置から問い合わせがあった場
合、保持している最新の状態遷移情報を前記状態監視装
置へ送る監視対象装置と、 警告時間よりも短い所定の問い合わせ間隔で前記監視対
象装置に対して問い合わせを行って前記監視対象装置が
保持している最新の状態遷移情報を取得し、この取得し
た最新の状態遷移情報と今回の問い合わせ時刻とに基づ
いて前記監視対象装置が予め定められている警告時間以
上連続して予め定められている警告対象状態になってい
るか否かを判断する状態監視装置とを備えたことを特徴
とする状態監視システム。
3. When a state transition has occurred in the own apparatus, the apparatus retains state transition information including the time at which the state transition occurred and the state after the state transition, and retains the state transition information when inquired from the state monitoring apparatus. A monitoring target device that sends the latest status transition information to the status monitoring device, and an inquiry to the monitoring target device at a predetermined inquiry interval shorter than the warning time to update the latest monitoring status held by the monitoring target device. State transition information is acquired, and based on the acquired latest state transition information and the current inquiry time, the monitored device enters a predetermined warning target state continuously for a predetermined warning time or longer. A status monitoring system, comprising: a status monitoring device that determines whether or not the status is monitored.
【請求項4】 前記監視対象装置が、 状態遷移記録記憶部と、 自装置に状態遷移が発生した時、状態遷移発生時の時刻
と状態遷移後の状態とを含む状態遷移情報を前記状態遷
移記録記憶部に格納する状態遷移検出手段と、 前記状態監視装置からの問い合わせに応答して前記状態
遷移記録記憶部に格納されている最新の状態遷移情報を
前記状態監視装置へ送る応答手段とを有し、 前記状態監視装置が、 警告時間よりも短い所定の問い合わせ間隔で、前記監視
対象装置に対して問い合わせを行って前記監視対象装置
の最新の状態遷移情報を取得する状態遷移問い合わせ手
段と、 該状態遷移問い合わせ手段が取得した最新の状態遷移情
報と今回の問い合わせ時刻とに基づいて前記監視対象装
置が予め定められている警告時間以上連続して予め定め
られている警告対象状態になっているか否かを判断する
条件判断手段とを有することを特徴とする請求項3記載
の状態監視システム。
4. The state monitoring apparatus according to claim 1, wherein the monitoring target device includes: a state transition record storage unit; and a state transition information including a state transition occurrence time and a state after the state transition when the state transition occurs in the own device. State transition detecting means for storing in a recording storage unit, and response means for transmitting the latest state transition information stored in the state transition recording storage unit to the state monitoring device in response to an inquiry from the state monitoring device. A status transition inquiry unit that obtains the latest status transition information of the monitored device by inquiring the monitored device at a predetermined inquiry interval shorter than the warning time, Based on the latest state transition information obtained by the state transition inquiry means and the current inquiry time, the monitored device is continuously determined for a predetermined warning time or longer. 4. The state monitoring system according to claim 3, further comprising condition determining means for determining whether or not a warning target state is set.
【請求項5】 自装置に状態遷移が発生した場合、状態
遷移発生時の時刻と状態遷移後の状態とを含む状態遷移
情報を保持し、自装置に於いてリセットが行われた場
合、リセットが行われてからの稼働時間を計測し、状態
監視装置から問い合わせがあった場合、保持,計測して
いる最新の状態遷移情報,稼働時間を前記状態監視装置
へ送る監視対象装置と、 警告時間よりも短い所定の問い合わせ間隔で前記監視対
象装置に対して問い合わせを行って前記監視対象装置が
保持,計測している最新の状態遷移情報,稼働時間を取
得し、今回の問い合わせ時に取得した稼働時間と前回の
問い合わせ時に取得した稼働時間とに基づいて、前回の
問い合わせ時以降に前記監視対象装置に於いてリセット
が行われているか否かを判断し、リセットが行われてい
ない場合には、今回の問い合わせ時に取得した最新の状
態遷移情報と今回の問い合わせ時刻とに基づいて前記監
視対象装置が予め定められている警告時間以上連続して
予め定められている警告対象状態になっているか否かを
判断し、リセットが行われている場合は、リセットが行
われたリセット発生時刻と、リセット直後に前記監視対
象装置がとる状態と、今回の問い合わせ時刻とに基づい
て前記監視対象装置が予め定められている警告時間以上
連続して予め定められている警告対象状態になっている
か否かを判断する状態監視装置とを備えたこと特徴とす
る状態監視システム。
5. When a state transition occurs in the own device, state transition information including a time at which the state transition occurs and a state after the state transition is held, and when a reset is performed in the own device, a reset is performed. The status monitoring device that sends the latest status transition information that has been held and measured and the operating time to the status monitoring device, and a warning time. Inquiry is made to the monitored device at a predetermined inquiry interval shorter than that, to obtain the latest state transition information and operating time held and measured by the monitored device, and to obtain the operating time obtained at the time of this inquiry. It is determined whether or not the monitoring target device has been reset since the last inquiry based on the operating time acquired at the time of the previous inquiry and the resetting is performed. If not, based on the latest state transition information obtained at the time of this inquiry and the current inquiry time, the monitoring target device continuously enters a predetermined warning target state for a predetermined warning time or longer. It is determined whether the reset has been performed, and if the reset has been performed, the monitoring is performed based on the reset occurrence time at which the reset was performed, the state taken by the monitoring target device immediately after the reset, and the current inquiry time. A status monitoring system comprising: a status monitoring device that determines whether the target device is in a predetermined warning target state continuously for a predetermined warning time or longer.
【請求項6】 前記監視対象装置が、 状態遷移記録記憶部と、 自装置に状態遷移が発生した時、状態遷移発生時の時刻
と状態遷移後の状態とを含む状態遷移情報を前記状態遷
移記録記憶部に格納する状態遷移検出手段と、 自装置に於いてリセットが発生してからの稼働時間を計
測する稼働時間計測手段と、 前記状態監視装置からの問い合わせに応答して、前記状
態遷移記録記憶部に格納されている最新の状態遷移情報
と前記稼働時間計測手段が計測している稼働時間とを前
記状態監視装置へ送る応答手段とを有し、 前記状態監視装置が、 警告時間よりも短い所定の問い合わせ間隔で、前記監視
対象装置に対して問い合わせを行って前記監視対象装置
の最新の状態遷移情報および稼働時間を取得すると共
に、今回の問い合わせ時に取得した稼働時間と前回の問
い合わせ時に取得した稼働時間とに基づいて、前回の問
い合わせ時以降に前記監視対象装置に於いてリセットが
行われているか否かを判断する問い合わせ手段と、 該問い合わせ手段に於いて、リセットが行われていない
と判断された場合に於いては、前記問い合わせ手段が今
回の問い合わせ時に取得した最新の状態遷移情報と今回
の問い合わせ時刻とに基づいて前記監視対象装置が予め
定められている警告時間以上連続して予め定められてい
る警告対象状態になっているか否かを判断し、リセット
が行われていると判断されている場合に於いては、リセ
ットが行われたリセット発生時刻と、リセット直後に前
記監視対象装置がとる状態と、今回の問い合わせ時刻と
に基づいて前記監視対象装置が予め定められている警告
時間以上連続して予め定められている警告対象状態にな
っているか否かを判断する条件判断手段とを有すること
を特徴とする請求項5記載の状態監視システム。
6. The monitoring target device includes: a state transition record storage unit; and a state transition information including a state transition occurrence time and a state after the state transition when the state transition occurs in the own device. State transition detecting means to be stored in a recording storage unit; operating time measuring means for measuring an operating time after a reset has occurred in its own device; and said state transition in response to an inquiry from the state monitoring device. A response unit that sends the latest state transition information stored in the recording storage unit and the operation time measured by the operation time measurement unit to the state monitoring device, wherein the state monitoring device performs Also, at a short predetermined inquiry interval, an inquiry is made to the monitored device to obtain the latest state transition information and the operating time of the monitored device, and to obtain the information acquired at the time of the current inquiry. Inquiring means for determining whether or not the monitoring target device has been reset since the last inquiry based on the operating time and the operating time obtained at the time of the previous inquiry; and When it is determined that the reset has not been performed, the monitoring target device is determined in advance based on the latest state transition information obtained at the time of the current inquiry by the inquiry means and the current inquiry time. It is determined whether or not a predetermined warning target state has been continuously detected for a warning time or longer, and if it is determined that the reset has been performed, the reset occurrence time at which the reset was performed And a warning time period in which the monitored device is set in advance based on a state taken by the monitored device immediately after reset and a current inquiry time. 6. The state monitoring system according to claim 5, further comprising condition determination means for determining whether or not the state is a predetermined warning target state continuously.
【請求項7】 状態遷移記録記憶部と、自装置に状態遷
移が発生した時、状態遷移発生時の時刻と状態遷移後の
状態とを含む状態遷移情報を前記状態遷移記録記憶部に
格納する状態遷移検出手段と、状態監視装置からの問い
合わせに応答して前記状態遷移記録記憶部に格納されて
いる最新の状態遷移情報を前記状態監視装置へ送る応答
手段とを備えた監視対象装置の状態を監視するコンピュ
ータを、 警告時間よりも短い所定の問い合わせ間隔で、前記監視
対象装置に対して問い合わせを行って前記監視対象装置
の最新の状態遷移情報を取得する状態遷移問い合わせ手
段、 該状態遷移問い合わせ手段が取得した最新の状態遷移情
報と今回の問い合わせ時刻とに基づいて前記監視対象装
置が予め定められている警告時間以上連続して予め定め
られている警告対象状態になっているか否かを判断する
条件判断手段として機能させるためのプログラムを記録
した機械読み取り可能な記録媒体。
7. A state transition record storage unit, and state transition information including a time when a state transition occurs and a state after the state transition when a state transition occurs in the own apparatus, is stored in the state transition record storage unit. A state of the monitored device, comprising: a state transition detection unit; and a response unit that sends the latest state transition information stored in the state transition record storage unit to the state monitoring device in response to an inquiry from the state monitoring device. State transition inquiry means for inquiring the monitored device at a predetermined inquiry interval shorter than the warning time to obtain the latest state transition information of the monitored device; Based on the latest state transition information acquired by the means and the current inquiry time, the monitoring target device is continuously determined for a predetermined warning time or more. Recorded machine-readable recording medium a program for functioning as a condition judgment means for judging whether or not it is warned state are.
【請求項8】 状態遷移記録記憶部と、自装置に状態遷
移が発生した時、状態遷移発生時の時刻と状態遷移後の
状態とを含む状態遷移情報を前記状態遷移記録記憶部に
格納する状態遷移検出手段と、自装置に於いてリセット
が発生してからの稼働時間を計測する稼働時間計測手段
と、状態監視装置からの問い合わせに応答して、前記状
態遷移記録記憶部に格納されている最新の状態遷移情報
と前記稼働時間計測手段が計測している稼働時間とを前
記状態監視装置へ送る応答手段とを備えた監視対象装置
の状態を監視するコンピュータを、 警告時間よりも短い所定の問い合わせ間隔で、前記監視
対象装置に対して問い合わせを行って前記監視対象装置
の最新の状態遷移情報および稼働時間を取得すると共
に、今回の問い合わせ時に取得した稼働時間と前回の問
い合わせ時に取得した稼働時間とに基づいて、前回の問
い合わせ時以降に前記監視対象装置に於いてリセットが
行われているか否かを判断する問い合わせ手段、 該問い合わせ手段に於いて、リセットが行われていない
と判断された場合に於いては、前記問い合わせ手段が今
回の問い合わせ時に取得した最新の状態遷移情報と今回
の問い合わせ時刻とに基づいて前記監視対象装置が予め
定められている警告時間以上連続して予め定められてい
る警告対象状態になっているか否かを判断し、リセット
が行われていると判断されている場合に於いては、リセ
ットが行われたリセット発生時刻と、リセット直後に前
記監視対象装置がとる状態と、今回の問い合わせ時刻と
に基づいて前記監視対象装置が予め定められている警告
時間以上連続して予め定められている警告対象状態にな
っているか否かを判断する条件判断手段として機能させ
るためのプログラムを記録した機械読み取り可能な記録
媒体。
8. A state transition record storage unit, and state transition information including a time when the state transition occurs and a state after the state transition when the state transition occurs in the own apparatus, is stored in the state transition record storage unit. State transition detection means, operation time measurement means for measuring the operation time since the reset occurred in the own device, and response to an inquiry from the state monitoring device, stored in the state transition record storage unit. A computer for monitoring the state of the monitored device, comprising a response unit for transmitting the latest state transition information and the operation time measured by the operation time measurement unit to the state monitoring device. Inquiry to the monitored device at the inquiry interval of to obtain the latest state transition information and the operating time of the monitored device, and the operation acquired at the time of this inquiry. Based on the time and the operating time obtained at the time of the previous inquiry, an inquiry means for determining whether or not the monitoring target device has been reset since the time of the previous inquiry. If it is determined that the monitoring target device has not been performed, the monitoring target device is determined based on the latest state transition information acquired at the time of the current inquiry by the inquiry means and the current inquiry time. It is determined whether or not it is in a predetermined warning target state continuously for a time or more, and when it is determined that the reset has been performed, a reset occurrence time at which the reset was performed, The monitoring target device is at least a predetermined warning time based on the state that the monitoring target device takes immediately after reset and the current inquiry time. Machine-readable recording medium recording a program for functioning as a condition judgment means for judging whether or not it is warned state in which predetermined in connection with.
JP06792999A 1999-03-15 1999-03-15 State monitoring method, state monitoring system, and machine-readable recording medium recording program Expired - Fee Related JP3308925B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06792999A JP3308925B2 (en) 1999-03-15 1999-03-15 State monitoring method, state monitoring system, and machine-readable recording medium recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06792999A JP3308925B2 (en) 1999-03-15 1999-03-15 State monitoring method, state monitoring system, and machine-readable recording medium recording program

Publications (2)

Publication Number Publication Date
JP2000270383A JP2000270383A (en) 2000-09-29
JP3308925B2 true JP3308925B2 (en) 2002-07-29

Family

ID=13359109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06792999A Expired - Fee Related JP3308925B2 (en) 1999-03-15 1999-03-15 State monitoring method, state monitoring system, and machine-readable recording medium recording program

Country Status (1)

Country Link
JP (1) JP3308925B2 (en)

Also Published As

Publication number Publication date
JP2000270383A (en) 2000-09-29

Similar Documents

Publication Publication Date Title
JP3138709B2 (en) Self-diagnosis method and device for electronic control unit for vehicle
US7478273B2 (en) Computer system including active system and redundant system and state acquisition method
JP5191934B2 (en) Status monitoring system and status monitoring method
CN114675791B (en) Disk processing method and system and electronic equipment
JP2793928B2 (en) Recording and playback device
JP3308925B2 (en) State monitoring method, state monitoring system, and machine-readable recording medium recording program
GB2308045A (en) Communication unit switching apparatus
JP2007028118A (en) Failure judging method of node device
JP3687565B2 (en) Log data storage method, log data storage method, and log data storage program
JP2616484B2 (en) Token ring transmission system
KR100429810B1 (en) Diagnosis method and apparatus for peripheral device of host
JP2002259236A (en) Distributed control system and method for collecting data in emergency in this system
JPS5860346A (en) Controlling system for terminal connection status
JPH08286943A (en) Abnormality detector for data processor
JPH11120462A (en) Alarm managing device
JP3446447B2 (en) Message processing method for distributed processing system
JP2713250B2 (en) CPU maintenance system
JP2751861B2 (en) Network system fault detection processing circuit
WO2021028963A1 (en) Abnormality detection device, control method, and program
JPH07334433A (en) Bus controller
JPS5918741B2 (en) Automatic diagnosis method
CN117859161A (en) Hardware-based sensor analysis
JP3439365B2 (en) Node failure detection method for transfer control system and node failure detection method during file transfer
JP2522610B2 (en) Production monitoring system restoration method
JP3042034B2 (en) Failure handling method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees