JP2937871B2 - Polling monitoring method - Google Patents

Polling monitoring method

Info

Publication number
JP2937871B2
JP2937871B2 JP8186853A JP18685396A JP2937871B2 JP 2937871 B2 JP2937871 B2 JP 2937871B2 JP 8186853 A JP8186853 A JP 8186853A JP 18685396 A JP18685396 A JP 18685396A JP 2937871 B2 JP2937871 B2 JP 2937871B2
Authority
JP
Japan
Prior art keywords
monitored
monitored device
monitoring
connection
position number
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
JP8186853A
Other languages
Japanese (ja)
Other versions
JPH1023046A (en
Inventor
孝次 坂腰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Mobile Communications Ltd
Original Assignee
NEC Mobile Communications 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 NEC Mobile Communications Ltd filed Critical NEC Mobile Communications Ltd
Priority to JP8186853A priority Critical patent/JP2937871B2/en
Publication of JPH1023046A publication Critical patent/JPH1023046A/en
Application granted granted Critical
Publication of JP2937871B2 publication Critical patent/JP2937871B2/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 polling system for monitoring the presence or absence of a response from a plurality of monitored devices by a monitoring device, and transmitting an error report for the monitored device having no response from the monitoring device to a higher-level device. Related to monitoring method.

【0002】[0002]

【従来の技術】特開平3−296349号公報には、次
のような監視方法が開示されている。まず、制御局(監
視局)は従属局(被監視局)に対しポーリングを行い、
これにより各従属局は自局選択が否かを確認する。続い
て、自局選択と判断した当該従属局は、相手局である制
御局に対して送信要求を行う。次に、当該従属局は、送
信データが有るか否かを調べ、有る場合には、制御局か
らの送信可を待ち、送信可となったとき、テキストを送
信する。一方、送信データが無いと判定された場合に
は、制御局からの送信可を待ち、送信可となったとき、
伝送終了符号を送信する。制御局のダウンにより送信可
とならないときは、故障と判断して異常処理を行う。こ
の場合、相手局の応答時間を予測することにより、この
予測時間を経過したときに相手局故障と判断する。
2. Description of the Related Art Japanese Patent Laid-Open Publication No. 3-296349 discloses the following monitoring method. First, the control station (monitoring station) polls the subordinate station (monitored station),
Thereby, each dependent station confirms whether or not its own station has been selected. Subsequently, the dependent station, which has been selected as its own station, makes a transmission request to the control station, which is the partner station. Next, the dependent station checks whether or not there is transmission data, and if so, waits for transmission permission from the control station, and transmits text when transmission is possible. On the other hand, if it is determined that there is no transmission data, it waits for transmission permission from the control station.
Transmit the transmission end code. If transmission is not possible due to the down of the control station, it is determined that a failure has occurred and abnormal processing is performed. In this case, by estimating the response time of the partner station, it is determined that the partner station has failed when the predicted time has elapsed.

【0003】[0003]

【発明が解決しようとする課題】しかし、この従来技術
では、監視局(制御局)に対して被監視局(従属局)が
未接続の場合、ポーリングに対する応答を受け取ること
ができないので、監視装置は被監視装置又は回線上に異
常が発生したものと誤認識し、上位装置に対して不要な
エラー報告を送信するという問題点がある。
However, in this prior art, when the monitored station (dependent station) is not connected to the monitoring station (control station), a response to polling cannot be received. Has a problem that an error report is erroneously recognized as having occurred on a monitored device or a line, and an unnecessary error report is transmitted to a higher-level device.

【0004】本発明の課題は、監視局に対して被監視局
が未接続の場合のこのような不要なエラー報告の送信を
防止することにある。
An object of the present invention is to prevent transmission of such an unnecessary error report when the monitored station is not connected to the monitoring station.

【0005】[0005]

【課題を解決するための手段】本発明では、監視装置の
記憶部に、各被監視装置毎の接続の有無を記憶するため
のテーブルを被監視装置の接続位置番号毎に設けてお
く。
According to the present invention, a table for storing the presence or absence of connection of each monitored device is provided in the storage unit of the monitoring device for each connection position number of the monitored device.

【0006】監視装置は、被監視装置へポーリングとし
て定期的に状態要求を送信し、その送信時に被監視装置
毎の個別のタイマーを起動する。被監視装置は、監視装
置から状態要求を受信すると応答として状態報告を送信
し、その際に自己の接続位置番号に対応したテーブルを
指定する。監視装置は、状態報告を受信した被監視装置
については、その被監視装置が指定した接続位置番号に
対応するテーブルに、接続有りを設定するとともに、そ
の被監視装置に対応したタイマーを停止させてタイムア
ウトしないようにし、状態報告の応答の無い被監視装置
については、その被監視装置に対応したタイマーがタイ
ムアウトした時をもって応答否受信として、その被監視
装置の接続位置番号に対応したテーブルを参照し、その
内容が接続有りの場合には、上位装置へ回線を介してエ
ラー報告を送信するが、接続無しの場合にはエラー報告
は行わない。
The monitoring device periodically transmits a status request as polling to the monitored device, and activates an individual timer for each monitored device at the time of transmission. The monitored device transmits a status report as a response when receiving the status request from the monitoring device, and specifies a table corresponding to its own connection position number at that time. For the monitored device that has received the status report, the monitoring device sets connection to the table corresponding to the connection position number designated by the monitored device, and stops the timer corresponding to the monitored device. For a monitored device that has not responded to the status report, the time-out of the timer corresponding to the monitored device is regarded as a response non-reception, and the table corresponding to the connection position number of the monitored device is referred to. If the contents are connected, an error report is transmitted to the host device via the line, but if there is no connection, no error report is made.

【0007】[0007]

【発明の実施の形態】次に、本発明の実施の形態を図面
に基づいて詳述する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0008】図1は、本発明による監視方法を実現する
システム構成のブロック図である。このシステムは、1
台の監視装置1に対して複数台の被監視装置2が回線3
により接続され、また監視装置1には上位装置4が回線
5により接続されている。監視装置1には、制御部6の
他に記憶部7が備えられている。
FIG. 1 is a block diagram of a system configuration for realizing a monitoring method according to the present invention. This system is
A plurality of monitored devices 2 are connected to the
The monitoring device 1 is connected to a host device 4 via a line 5. The monitoring device 1 includes a storage unit 7 in addition to the control unit 6.

【0009】この記憶部7には、図2に示すように、被
監視装置2が接続可能な最大数n個と同数のテーブル8
が用意され、その配列は被監視装置2の接続位置と対応
している。すなわち、第1番目のテーブルは接続位置番
号1の被監視装置に対応し、第2番目のテーブルは接続
位置番号2の被監視装置に対応し、以下同様にして第n
番目のテーブルは接続位置番号nの被監視装置に対応し
ている。そして、各被監視装置2は、監視装置1からの
状態要求に対して応答する状態報告の際に、自己の接続
位置番号に対応したテーブルを指定する。状態報告を受
信した監視装置1は、指定された接続位置番号を参照し
て該当するテーブルに接続状態の有無(接続と未接続)
を設定する。初期値は接続無し(未接続)に設定されて
いる。
As shown in FIG. 2, the storage unit 7 has the same number of tables 8 as the maximum number n connectable to the monitored device 2.
Are prepared, and the arrangement corresponds to the connection position of the monitored device 2. That is, the first table corresponds to the monitored device having the connection position number 1, the second table corresponds to the monitored device having the connection position number 2, and so on.
The third table corresponds to the monitored device with the connection position number n. Then, each monitored device 2 specifies a table corresponding to its own connection position number when reporting a status in response to a status request from the monitoring device 1. The monitoring device 1 that has received the status report refers to the specified connection position number and determines whether or not the corresponding table has a connection status (connected or not connected).
Set. The initial value is set to no connection (not connected).

【0010】監視装置1は、回線3を介して被監視装置
2へポーリングとして定期的に状態要求を送信し、その
送信時に被監視装置2毎の個別のタイマーを起動する。
被監視装置2は、監視装置1から状態要求を受信すると
応答として状態報告を送信し、その際に自己の接続位置
番号に対応したテーブル8を指定する。監視装置1は、
状態報告を受信した被監視装置2については、その被監
視装置2の接続位置番号に対応したテーブル8に、接続
状態であること(接続有り)を設定するとともに、その
被監視装置2に対応したタイマーを停止させる。従っ
て、状態報告の応答が有った被監視装置2のタイマーは
タイムアウトしない。
The monitoring device 1 periodically transmits a status request as polling to the monitored device 2 via the line 3 and activates an individual timer for each monitored device 2 at the time of transmission.
Upon receiving the status request from the monitoring device 1, the monitored device 2 transmits a status report as a response, and specifies the table 8 corresponding to its own connection position number at that time. The monitoring device 1
Regarding the monitored device 2 that has received the status report, the connection status (with connection) is set in the table 8 corresponding to the connection position number of the monitored device 2, and the monitored device 2 is also supported. Stop the timer. Therefore, the timer of the monitored device 2 that has received the status report response does not time out.

【0011】一方、状態報告の応答の無い被監視装置2
については、その被監視装置2に対応したタイマーがタ
イムアウトした時をもって応答否受信とし、その被監視
装置2の接続位置番号に対応したテーブル8を参照した
結果、当該被監視装置2が接続されていた場合には、上
位装置4へ回線5を介してエラー報告を送信するが、接
続されていない場合にはエラー報告は行わない。
On the other hand, the monitored device 2 having no response to the status report
Regarding the above, when the timer corresponding to the monitored device 2 has timed out, the response is not received, and as a result of referring to the table 8 corresponding to the connection position number of the monitored device 2, the monitored device 2 is connected. In this case, an error report is transmitted to the host device 4 via the line 5, but if no connection is made, no error report is made.

【0012】図3は、監視装置1のポーリング時の動作
を示すフローチャートである。同図において、監視装置
1は被監視装置2に対して状態要求を送信し(ステップ
S1)、その後、所定時間(タイマーの設定時間)状態
報告の受信待ちを行い(ステップS2)、状態報告が受
信できた場合(ステップS3でYES)は、上記のよう
にテーブル8に当該被監視装置2が接続されている旨を
記憶する(ステップS4)。状態報告が受信できなかっ
た場合(ステップS3でNO)は、当該被監視装置2の
テーブル8を参照して当該被監視装置2が接続されてい
るか否か判断し(ステップS5)、接続されていれば、
上位装置4に対するエラー報告を送信する(ステップS
6)。接続されていなければ(未接続)、エラー報告を
送信は行わない。
FIG. 3 is a flowchart showing the operation of the monitoring apparatus 1 at the time of polling. In the figure, the monitoring device 1 transmits a status request to the monitored device 2 (step S1), and then waits for reception of a status report for a predetermined time (time set by a timer) (step S2). If received (YES in step S3), the fact that the monitored device 2 is connected is stored in the table 8 as described above (step S4). When the status report has not been received (NO in step S3), it is determined whether or not the monitored device 2 is connected with reference to the table 8 of the monitored device 2 (step S5), and the monitoring device 2 is connected. If
An error report is transmitted to the host device 4 (step S
6). If not connected (not connected), no error report is sent.

【0013】図4は本発明による動作を示すシーケンス
図である。システム立ち上げから、監視装置1が被監視
装置2より最初の状態報告を受信するまでの間、状態要
求に対して状態報告が未受信の場合、被監視装置2が未
接続であると認識し、被監視装置2が未接続であると認
識し、上位装置4に対するエラー報告を行わない。その
後、被監視装置2が接続されて状態要求を受信すると、
監視装置1は監視処理を開始し、以後の状態要求に対す
る状態報告が未受信の場合、当該被監視装置2又は回線
3に異常が発生したものと認識し、上位装置4にエラー
報告を行う。
FIG. 4 is a sequence diagram showing the operation according to the present invention. If the status report has not been received in response to the status request from the start of the system until the monitoring device 1 receives the first status report from the monitored device 2, the monitoring device 2 recognizes that the monitored device 2 is not connected. , The monitored device 2 recognizes that it is not connected, and does not report an error to the host device 4. Thereafter, when the monitored device 2 is connected and receives a status request,
The monitoring device 1 starts the monitoring process. If a status report for a subsequent status request has not been received, the monitoring device 1 recognizes that an abnormality has occurred in the monitored device 2 or the line 3 and reports an error to the host device 4.

【0014】[0014]

【発明の効果】以上説明したように、本発明の監視方法
は、ポーリングに対する被監視装置からの最初の応答の
有無の監視結果に基づいて各被監視装置毎の接続の有無
を記憶し、その記憶内容を次のポーリング時に参照し
て、当該被監視装置が接続有りで監視結果が応答無しの
ときは、当該被監視装置のためのエラー報告を上位装置
へ送信し、記憶内容が接続無しで監視結果が応答無しの
ときはエラー報告を送信しないので、被監視装置が未接
続の場合の不要なエラー報告の送信を省くことができ
る。
As described above, the monitoring method of the present invention stores the presence / absence of connection of each monitored device based on the result of monitoring the first response from the monitored device to polling. The storage contents are referred to at the next polling, and if the monitored device is connected and the monitoring result is not responding, an error report for the monitored device is transmitted to the higher-level device, and the stored contents are not connected. Since the error report is not transmitted when the monitoring result is no response, unnecessary transmission of the error report when the monitored device is not connected can be omitted.

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

【図1】本発明による監視方法を実現するシステムの構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a system for realizing a monitoring method according to the present invention.

【図2】図1に示した監視装置の記憶部のテーブル構成
図である。
FIG. 2 is a table configuration diagram of a storage unit of the monitoring device shown in FIG.

【図3】監視装置のポーリング時の動作を示すフローチ
ャートである。
FIG. 3 is a flowchart illustrating an operation of the monitoring device at the time of polling.

【図4】本発明による監視方法の動作を示すシーケンス
図である。
FIG. 4 is a sequence diagram showing the operation of the monitoring method according to the present invention.

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

1 監視装置 2 被監視装置 3 監視装置と被監視装置間の回線 4 上位装置 5 監視装置と上位装置間の回線 6 制御部 7 記憶部 8 テーブル REFERENCE SIGNS LIST 1 monitoring device 2 monitored device 3 line between monitoring device and monitored device 4 host device 5 line between monitoring device and host device 6 control unit 7 storage unit 8 table

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の被監視装置からの応答の有無を監
視装置で監視し、応答が無い被監視装置のためのエラー
報告を監視装置から上位装置へ送信するポーリング式監
視方法であって、前記監視装置の記憶部に、各被監視装
置毎の接続の有無を記憶するためのテーブルを被監視装
置の接続位置番号毎に設け、監視装置は、被監視装置へ
ポーリングとして定期的に状態要求を送信し、その送信
時に被監視装置毎の個別のタイマーを起動し、被監視装
置は、監視装置から状態要求を受信すると応答として状
態報告を送信し、その際に自己の接続位置番号に対応し
たテーブルを指定し、監視装置は、状態報告を受信した
被監視装置については、その被監視装置が指定した接続
位置番号に対応するテーブルに、接続有りを設定すると
ともに、その被監視装置に対応したタイマーを停止させ
てタイムアウトしないようにし、状態報告の応答の無い
被監視装置については、その被監視装置に対応したタイ
マーがタイムアウトした時をもって応答否受信として、
その被監視装置の接続位置番号に対応したテーブルを参
照し、その内容が接続有りの場合には、上位装置へ回線
を介してエラー報告を送信するが、接続無しの場合には
エラー報告は行わない、ことを特徴とするポーリング式
監視方法。
1. A polling-type monitoring method for monitoring presence / absence of a response from a plurality of monitored devices by a monitoring device, and transmitting an error report for the monitored device having no response from the monitoring device to a higher-level device. In the storage unit of the monitoring device, a table for storing the presence or absence of connection of each monitored device is provided for each connection position number of the monitored device, and the monitoring device periodically sends a status request to the monitored device as polling. And starts an individual timer for each monitored device at the time of transmission. When the monitored device receives a status request from the monitoring device, it sends a status report as a response and responds to its own connection position number. For the monitored device that has received the status report, the monitoring device sets connection to the table corresponding to the connection position number specified by the monitored device, and sets the monitored Stop the timer corresponding to the device so as not to time out, and for the monitored device that has not responded to the status report, when the timer corresponding to the monitored device times out,
Referring to the table corresponding to the connection position number of the monitored device, if the content is connected, an error report is transmitted to the higher-level device via the line, but if there is no connection, the error report is performed. No polling-type monitoring method.
JP8186853A 1996-06-28 1996-06-28 Polling monitoring method Expired - Fee Related JP2937871B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8186853A JP2937871B2 (en) 1996-06-28 1996-06-28 Polling monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8186853A JP2937871B2 (en) 1996-06-28 1996-06-28 Polling monitoring method

Publications (2)

Publication Number Publication Date
JPH1023046A JPH1023046A (en) 1998-01-23
JP2937871B2 true JP2937871B2 (en) 1999-08-23

Family

ID=16195802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8186853A Expired - Fee Related JP2937871B2 (en) 1996-06-28 1996-06-28 Polling monitoring method

Country Status (1)

Country Link
JP (1) JP2937871B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944654B1 (en) * 1999-11-01 2005-09-13 Emc Corporation Multiple storage array control
JP6187508B2 (en) * 2015-03-09 2017-08-30 日本電気株式会社 Control device, bus circuit, method, and program

Also Published As

Publication number Publication date
JPH1023046A (en) 1998-01-23

Similar Documents

Publication Publication Date Title
JP2937871B2 (en) Polling monitoring method
JP3077610B2 (en) In-device monitoring and control system
KR100525677B1 (en) Apparatus and method for duplication of communication control module
JPH04503434A (en) How to monitor computer networks
JP3419979B2 (en) Device state management method and data communication system
JP3137183B2 (en) Communication system and its monitoring data delivery confirmation method
JP3294256B2 (en) Data communication method and device
JP3884335B2 (en) Parent-child transmission method and storage medium used for parent-child transmission method
JP2735681B2 (en) Remote monitoring device
JP2541502B2 (en) Control message transmission / reception method
JPH04129346A (en) Communication system provided with duplicate address detection function
JPS6279554A (en) Data communication system
JPH1023098A (en) Communication controller
KR100193839B1 (en) Line module controller and method for processing redundant messages
JPS63267039A (en) Network system
JPH0319057A (en) Health check signal transmission control system for communication controller
JPH04129443A (en) Information exchange system
JPH06334701A (en) System for controlling remote application of power supply
JP2000049783A (en) Network management method and system therefor
JPH066942A (en) Method and apparatus for inputting power system information
JPH01298833A (en) Token protection system in token passing transmission
JPH0420039A (en) Data transmitter
JP2001168938A (en) Multi-link controller and multi-link control method
JPH05143491A (en) Device health check system
JPH09181754A (en) Communication control system and communication control method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090611

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees