JPH02201672A - Monitoring device for fault of terminal equipment - Google Patents

Monitoring device for fault of terminal equipment

Info

Publication number
JPH02201672A
JPH02201672A JP1021058A JP2105889A JPH02201672A JP H02201672 A JPH02201672 A JP H02201672A JP 1021058 A JP1021058 A JP 1021058A JP 2105889 A JP2105889 A JP 2105889A JP H02201672 A JPH02201672 A JP H02201672A
Authority
JP
Japan
Prior art keywords
time
monitoring time
input
monitoring
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1021058A
Other languages
Japanese (ja)
Inventor
Noriyuki Hasebe
長谷部 則幸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP1021058A priority Critical patent/JPH02201672A/en
Publication of JPH02201672A publication Critical patent/JPH02201672A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To promptly detect the no-response fault of terminal equipment by sampling a necessary time when control data are inputted/outputted between a CPU and the terminal equipment normally, and determining a monitoring time. CONSTITUTION:An input/output control detecting part 11, an input/output necessary time counting part 12, and the monitoring time setting part 13 are provided. At the time of the input/output repeated between the CPU and the terminal equipment in a first mode, the maximum value of the input/output necessary time in a certain range is obtained as a monitoring time maximum value, in a second mode at the time of deciding the normality of the terminal equipment, the necessary time is fetched as sampling data, the monitoring time optimum value is determined with the use of the newest constant value, and it is used for the monitor of the terminal equipment fault. Only when the necessary time exceeds the monitoring time optimum value, the monitoring time maximum value obtained in the first mode is used for the monitoring time instead of the optimum value, and the terminal equipment is finally decided. Thus the terminal equipment can be efficiently decided.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は、各種の計算機システムにおける端末装置、
更には計算機システムと通信回線を介して接続される端
末装置の無応答障害を監視するための端末装置障害監視
装置に関する。
[Detailed Description of the Invention] [Purpose of the Invention (Industrial Application Field) This invention provides a terminal device in various computer systems;
The present invention further relates to a terminal device failure monitoring device for monitoring non-response failures in terminal devices connected to a computer system via a communication line.

(従来の技術) 従来、端末装置の無応答障害の監視は、全て計算機シス
テムの中心を成すCPUのソフトウェア処理に依存して
いた。即ち従来は、CPUから端末装置までの間に介在
する全ての装置について、これらの装置が動作すること
による遅延時間を考慮しく=予めソフトウェア上に遅延
監視時間を設定しておき、この状態で応答時間に対する
ソフトウェアによる時間計測を行って上記の遅延監視時
間と比較し、設定値以上の遅延か発生すると無応答障害
と判定し、処置をしていた。ここで、ソフトウェア−L
に予め設定しておく遅延監視時間は、計算機システムの
負荷状況、およびCPU、端末装置間に介在する装置の
動作状況、更には端末装置固有の動作時間等が充分に考
慮されたものでなければならず、したかってそれぞれの
最大値に余裕度を加味して設定されるために最適化が困
難で、必要以上に大きい値となってしまうことか多かっ
た。この場合、端末装置の無応答障害の検出に多大な時
間を要し、障害に対して迅速な処置をとることができな
かった。また、上記遅延監視時間は、ハードウェアの改
良やソフトウェアの変更かあった場合、その都度見向し
て再設定されなければならなかった。更に、上記監視時
間の設定は経験や試行錯誤によって行イっれており、煩
雑であって効率が悪かった。
(Prior Art) Conventionally, monitoring of non-response failures in terminal devices has relied entirely on software processing of a CPU, which forms the center of a computer system. In other words, conventionally, for all the devices intervening between the CPU and the terminal device, the delay time due to the operation of these devices should be taken into consideration = the delay monitoring time was set in advance on the software, and the response was made in this state. Time was measured using software and compared with the delay monitoring time described above, and if a delay exceeding a set value occurred, it was determined to be a non-response failure and a countermeasure was taken. Here, software-L
The delay monitoring time set in advance must be one that takes into account the load status of the computer system, the operating status of devices intervening between the CPU and terminal equipment, and the operating time specific to the terminal equipment. However, since each maximum value is set with margins taken into consideration, optimization is difficult, and values often end up being larger than necessary. In this case, it takes a great deal of time to detect a non-response failure in the terminal device, making it impossible to take prompt action against the failure. Further, the delay monitoring time has to be reset each time there is an improvement in the hardware or a change in the software. Furthermore, the monitoring time is set based on experience or trial and error, which is complicated and inefficient.

(発明が解決しようとする課題) 」二連したように従来は、端末装置の無応答監視に適用
される遅延監視時間が、CPU、端末装置間に介在する
各種装置の動作による遅延時間等を考慮して、経験や試
行錯誤により必要以上に余裕をもって設定されるので、
最適化が困難であり、端末装置の無応答障害の監視に多
大な時間を要し障害に対する迅速な処置がとれないとい
う問題、更にはハードウェアの改良やソフトウェアの変
更等に伴って−I−記監視時間の再設定が必要となるた
め煩雑であるという問題があった。更に従来は、無応答
監視かソフトウェア処理によって行われるため、特に端
末装置の接続数が多い場合にはCPUの負担が大きくな
るという問題もあった。
(Problems to be Solved by the Invention) As mentioned above, in the past, the delay monitoring time applied to non-response monitoring of terminal devices was based on the delay time due to the operation of various devices interposed between the CPU and the terminal devices. In consideration, the settings are set with more leeway than necessary through experience and trial and error.
The problem is that optimization is difficult, it takes a lot of time to monitor unresponsive failures in terminal devices, and it is not possible to take prompt measures against failures.Furthermore, with improvements in hardware and changes in software, etc. There is a problem in that the monitoring time must be reset, which is cumbersome. Furthermore, in the past, since non-response monitoring was performed or software processing was performed, there was a problem in that the load on the CPU increased, especially when a large number of terminal devices were connected.

したがってこの発明の解決すべき課題は、計算機システ
ムに接続されている端末装置の無応答障害監視に適用さ
れる監視時間を自動的に設定でき、しかも同時間の最適
化を図ることができ、更に−に記無応答障害監視がソフ
トウェア処理によらずに行えるようにすることである。
Therefore, the problem to be solved by this invention is that it is possible to automatically set the monitoring time applied to the non-response failure monitoring of a terminal device connected to a computer system, and also to optimize the same time. - To enable non-response failure monitoring to be performed without software processing.

[発明の構成] (課題を解決するための手段) この発明は、計算機システムの中心を成すCPUと端末
装置間の制御データ入出力の開始および終了を検出する
入出力制御検出手段と、この入出力制御検出手段の検出
結果に応じ、上記入出力の開始から終γまでの所要時間
(即ち端末装置応答時間)を計数する入出力所要時間計
数手段と、端末装置の障害検出の基準となる監視時間が
設定され、この監視時間と入出力制御時間計数手段によ
って計数される入出力開始からの所要時間とを比較し、
この比較結果に応じて端末装置障害を判定する判定手段
と、この判定手段の判定に供される監視時間を設定する
ための監視時間設定手段であって、監視時間最大値を保
持すると共に、上記判定手段によって端末装置正常が判
定される毎に上記所要時間を最適監視時間決定用のサン
プリングデータとして内部保持する監視時間設定手段と
を設け、監視時間最大値を決定するための第1モトの期
間においては、監視時間設定手段は判定手段によって端
末装置正常が判定され、且つその際のサンプリングデー
タ(所要時間)が自身で保持している監視時間最大値よ
り大きい場合に同デタを新たに監視時間最大値として保
持し7、通常の端末装置監視を行うための第2モードの
期間においては、監視時間設定手段は入出力制御検出手
段によって入出力の開始が検出される毎に、最新の所定
回数分のサンプリングデータ(所要時間)をもとに決定
される監視時間の最適値を判定手段に設定し、この監視
時間最適値を入出力開始からの所要時間が越えた場合に
、この監視時間最適値に代えて内部保持している監視時
間最大値を判定手段に設定し、判定手段は上記入出力開
始からの所要時間が上記監視時間最大値を越えた場合に
端末装置の障害発生を最終判定するようにしたことを特
徴とするものである。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides input/output control detection means for detecting the start and end of control data input/output between a CPU forming the center of a computer system and a terminal device; Input/output required time counting means for counting the time required from the start of the input/output to the end γ (i.e., terminal device response time) according to the detection result of the output control detecting means, and monitoring that serves as a reference for detecting failures in the terminal device. A time is set, and this monitoring time is compared with the time required from the start of input/output counted by the input/output control time counting means,
A determining means for determining a terminal device failure according to the comparison result, and a monitoring time setting means for setting a monitoring time used for determination by this determining means, which retains a maximum value of the monitoring time and monitoring time setting means for internally retaining the required time as sampling data for determining the optimum monitoring time each time the terminal device is determined to be normal by the determining means; In this case, when the terminal device is determined to be normal by the determining means and the sampling data (required time) at that time is larger than the maximum value of the monitoring time held by itself, the monitoring time setting means sets the same data as a new monitoring time. During the second mode for normal terminal device monitoring, the monitoring time setting means sets the latest predetermined number of times each time the start of input/output is detected by the input/output control detection means. The optimum value of the monitoring time determined based on the sampling data (required time) of The internally held maximum monitoring time value is set in the determination means instead of the value, and the determination means makes a final determination that a failure has occurred in the terminal device when the time required from the start of input/output exceeds the maximum monitoring time value. It is characterized by the fact that it is made to do so.

(作用) 上記の構成によれば、第1モードにおいて繰返し行われ
るCPU、端末装置間の入出力において、その所要時間
のうちある範囲で最大のものを監視時間最大値として求
めておき、第2モードでは、端末装置の正常判定毎に、
その際1の所要時間をサンプリングデータとして取込み
、この取込んだデータのうちの最新の所定数を用いて監
視時間最適値を決定して、端末装置障害監視に用い、入
出力開始からの所要時間がこの監視時間最適値を越えた
場合だけ、この最適値に代えて第1モードで求めておい
た監視時間最大値を監視時間として用い、端末装置障害
の最終判定を行うようにしているので、始めから上記の
最大値より、も更に大きな値を監視時間として用いる必
要があった従来に比べて端末装置障害判定が効率的に行
える。
(Function) According to the above configuration, in the input/output between the CPU and the terminal device that is repeatedly performed in the first mode, the maximum time within a certain range is determined as the maximum monitoring time value, and the second mode, each time the terminal device is determined to be normal,
At that time, the required time of step 1 is imported as sampling data, and the latest predetermined number of the imported data is used to determine the optimum monitoring time value, which is used for terminal device failure monitoring, and the required time from the start of input/output is determined. Only when exceeds this optimum monitoring time value, the maximum monitoring time obtained in the first mode is used as the monitoring time instead of this optimum value, and the final determination of a terminal device failure is made. The terminal device fault determination can be performed more efficiently than in the past, in which it was necessary to use a value even larger than the above-mentioned maximum value as the monitoring time from the beginning.

(実施例) 第1図はこの発明の一実施例に係る端末装置障害監視装
置のブロック構成図である。同図において、10は例え
ば特定の端末装置(図示せず)の無応答障害を監視する
ための端末装置障害監視装置、30はCPU (図示せ
ず)と端末装置間のブタ(例えば制御データ)の入出力
に供されるCPUの入出力バス30である。端末装置障
害監視装置10は入出力バス30に接続されて用いられ
る。
(Embodiment) FIG. 1 is a block diagram of a terminal device failure monitoring device according to an embodiment of the present invention. In the figure, 10 is a terminal device failure monitoring device for monitoring a non-response failure of a specific terminal device (not shown), and 30 is a plug (for example, control data) between a CPU (not shown) and the terminal device. This is an input/output bus 30 of the CPU used for input/output of the CPU. The terminal device failure monitoring device 10 is connected to an input/output bus 30 for use.

端末装置障害監視装置10において、11は入出力バス
30上でCPUと特定の端末装置との間で制御デ夕の入
出力が行われていること、特に制御ブタ入出力の開始お
よび終了を検出する入出力制御検出部、12は入出力制
御検出部11の検出結果に応じて対応する入出力所要時
間を計数する入出力所要時間計数部、13は無応答障害
の監視に適用する遅延監視時間の最適値を設定するため
の監視時間設定部である。この監視時間設定部13は、
監視時間の現在の最適値、過去の最大値、および最大値
を統計的に求めるためにサンプリングされる複数回分の
所要時間のデータ(所要時間サンプリングデータ)を保
持するようになっている。
In the terminal device failure monitoring device 10, 11 detects that input/output of control data is being performed between the CPU and a specific terminal device on the input/output bus 30, and in particular detects the start and end of control input/output. 12 is an input/output required time counter that counts the corresponding input/output time according to the detection result of the input/output control detector 11; 13 is a delay monitoring time applied to monitoring non-response failures; This is a monitoring time setting section for setting the optimum value of . This monitoring time setting section 13 is
The current optimum value of the monitoring time, the past maximum value, and data on the required time for multiple times sampled to statistically determine the maximum value (required time sampling data) are held.

14は入出力所要時間計数部12によって計数された端
末装置の入出力所要時間と監視時間設定部13によって
設定される監視時間とを比較して、端末装置(の入出力
所要時間)が正常か否かを判定する判定部、15は判定
部14に対して監視時間最大値のサンプリングの開始/
終了を通知するためのスイッチ、16は監視時間設定部
13に監視時間の初期値(初期最適値および初期最大値
)を設定することを指示するためのスイッチである。1
7はCPUが監視時間設定部13に監視時間の初期値(
初期最適値および初期最大値)を設定することを指示す
るための入出力バス30に接続された指示ライン、18
は入出力バス30から入出力制御検出部11への信号入
力ラインである。19は入出力制御検出部11の検出結
果を入出力所要時間計数部12へ伝達するためのライン
、20は入出力制御検出部11の検出結果を判定部14
へ伝達するためのラインである。21は入出力所要時間
計数部12の計数結果を監視時間設定部13に伝達する
ためのライン、22は入出力所要時間計数部12の計数
結果を判定部14に伝達するためのラインである。23
は監視時間設定部13における監視時間の設定値を判定
部14に伝達するためのライン、24は判定部14から
監視時間設定部13に対して監視時間設定値の更新を指
示するためのライン、25は判定部14の判定結果を入
出力バス30に伝達してCPUに通知するためのライン
である。
14 compares the required input/output time of the terminal device counted by the required input/output time counting section 12 with the monitoring time set by the monitoring time setting section 13, and determines whether the terminal device (the required input/output time) is normal. A determining unit 15 determines whether or not the determining unit 14 starts sampling the maximum monitoring time.
A switch 16 for notifying the end is a switch for instructing the monitoring time setting unit 13 to set initial values (initial optimum value and initial maximum value) of the monitoring time. 1
7, the CPU sets the initial value of the monitoring time (
an instruction line 18 connected to the input/output bus 30 for instructing to set the initial optimum value and the initial maximum value;
is a signal input line from the input/output bus 30 to the input/output control detection section 11. 19 is a line for transmitting the detection result of the input/output control detection section 11 to the input/output time counting section 12; 20 is a line for transmitting the detection result of the input/output control detection section 11 to the determination section 14;
This is the line for transmitting information to. 21 is a line for transmitting the counting result of the input/output required time counting section 12 to the monitoring time setting section 13; 22 is a line for transmitting the counting result of the input/output required time counting section 12 to the determining section 14. 23
24 is a line for transmitting the monitoring time setting value in the monitoring time setting section 13 to the determining section 14; 24 is a line for instructing the monitoring time setting section 13 to update the monitoring time setting value from the determining section 14; Reference numeral 25 is a line for transmitting the judgment result of the judgment unit 14 to the input/output bus 30 and notifying the CPU.

次に、第1図の構成における監視時間最大値のサンプリ
ングについて説明する。
Next, sampling of the maximum monitoring time in the configuration shown in FIG. 1 will be explained.

まず、ユーザ操作等によってスイッチ15がオンされる
と、判定部14に対して監視時間最大値のサンプリング
(最大値サンプリングモード)であることが通知される
。この状態で、例えばユーザ操作でスイッチ16かオン
されることにより、監視時間設定部13に監視時間の初
期値設定が指示され、ユーザ指定の初期最適値(仮の最
適値)および初期最大値(仮の最大値)が図示せぬパス
を介して監視時間設定部13内部に設定保持される。こ
こで、初期最大値としては目標値が、初期最適値として
は目標値より小さな値が適宜選ばれる。この初期値設定
は、CPUから入出力バス30およびライン17を介し
て指示することもでき、その際には入出力バス30を介
して設定値が監視時間設定部13に与えられる。
First, when the switch 15 is turned on by a user operation or the like, the determination unit 14 is notified that sampling of the maximum monitoring time is being performed (maximum value sampling mode). In this state, for example, by turning on the switch 16 by a user operation, the monitoring time setting section 13 is instructed to set the initial value of the monitoring time, and the initial optimal value (temporary optimal value) and initial maximum value ( (temporary maximum value) is set and held inside the monitoring time setting section 13 via a path not shown. Here, a target value is appropriately selected as the initial maximum value, and a value smaller than the target value is appropriately selected as the initial optimum value. This initial value setting can also be instructed from the CPU via the input/output bus 30 and line 17, in which case the set value is given to the monitoring time setting section 13 via the input/output bus 30.

以上の状態において、入出力バス30上に、CPUから
特定の端末装置に対する何等かの入出力要求(を示ず制
御データ)が出現すると、入出力制御検出部11は、の
状態を信号入力ライン18を介して検出する。入出/J
制御検出部11はCPUから端末装置Nに対Aるべ出力
要求の発生、即ち制御チー′;−入出力の開始を検出す
ると、入出力所要時間計数部1′2(ごx=r Lでル
制御子−タ入出力の所要時間の計数開始をシイ−1)]
を介[、て指示し、更に判定部14に文・t L、て制
御デ°−クベ出力の所要時間の正常7/宜常の判定開始
をライン2oを介して指示する。
In the above state, when an input/output request (not control data) from the CPU to a specific terminal device appears on the input/output bus 30, the input/output control detection unit 11 detects the state of the signal input line. 18. In/Out/J
When the control detection unit 11 detects the occurrence of an output request from the CPU to the terminal device N, that is, the start of input/output, the control detection unit 11 detects the start of input/output from the CPU to the terminal device N, and then outputs the required input/output time counting unit 1'2 (for x=rL). Start counting the time required for input/output of the controller controller.
It instructs the determination unit 14 to start determining whether the required time for outputting the control data is normal or not through line 2o.

判定部14は、く−イ・ソチ1:うがオンの場合に入出
力制御検出部11から判定開始が指示されると、まず監
視時間設定部13に2寸して監視時間として初期最適値
を設定するこ、にをライン24を介して要求する。
When the determination unit 14 receives an instruction to start determination from the input/output control detection unit 11 when the gargle is on, the determination unit 14 first sets the monitoring time setting unit 13 by 2 seconds and sets the initial optimal value as the monitoring time. request via line 24 to set the .

こねにより監視時間設定部13は、初期最適値を監視時
間としζニライン23経由で判定部14に設定するさて
、入出力所史・時間別数部12は入出力制御検出部11
から計数開始か指示されると、制御データ入出力の所要
時間の計数を開始し、その計数結果(所要時間)を例え
ば一定時間間隔で、ライン21を介して監視時間設定部
1ニーIに出力すると共に、う、イン22を介して判定
部14に出力する。判定部14は入出力所要時間計数部
12から出力される所要時間と監視時間設定部13によ
って設定されている監視時間(ここでは初期最適値)と
を常時比較している。この状態で制御データ入出力か終
了し、入出力制御検出部11がその旨を検出すると、入
出力所要時間計数部12および判定部14に入出力終了
を通知する。入出力所要時間計数部12は入出力制御検
出部11からの入出力終了通知により入出力所要時間の
計数を中止する。また判定部14は、入出力制御検出部
11から入出力終了が通知された場合、所要時間≦監視
時間であれば、正常終了として判定を中止すると共に、
監視時間設定部13に対して今回の所要時間(正常終了
時までの入出力所要時間)のサンプリングをライン24
を介して指示する。これにより監視時間設定部13は、
入出力所要時間計数部12から与えられている所要時間
(今回の所要時間)を内部の例えばリングバッファ(図
示せず)に格納する。このリングバッファは最大n個の
所要口、シ間(のデータ)を格納することが可能であり
、その領域はリング状(サイクリック)に用いられる。
As a result, the monitoring time setting section 13 sets the initial optimal value as the monitoring time to the determination section 14 via the ζ line 23.The input/output station history/hourly number section 12 sets the initial optimum value as the monitoring time to the input/output control detection section 11.
When instructed to start counting, it starts counting the time required for inputting and outputting control data, and outputs the counting result (required time) to the monitoring time setting unit 1 knee I via line 21 at fixed time intervals, for example. At the same time, it is output to the determination unit 14 via the input 22. The determining unit 14 constantly compares the required time outputted from the input/output required time counting unit 12 and the monitoring time (here, the initial optimum value) set by the monitoring time setting unit 13. When the control data input/output ends in this state and the input/output control detection section 11 detects this, it notifies the input/output time counting section 12 and the determination section 14 of the end of the input/output. The required input/output time counter 12 stops counting the required input/output time upon receiving the input/output end notification from the input/output control detection unit 11. Further, when the determination unit 14 is notified of input/output completion from the input/output control detection unit 11, if the required time≦monitoring time, the determination unit 14 terminates the determination as normal termination, and
Sampling of the current required time (input/output time required until normal termination) is sent to the monitoring time setting unit 13 on the line 24.
Direct through. As a result, the monitoring time setting section 13
The required time (current required time) given by the input/output required time counting section 12 is stored in an internal ring buffer (not shown), for example. This ring buffer can store (data) for a maximum of n required ports and spaces, and its area is used in a ring shape (cyclically).

一方、入出力制御検出部11によって入出力終了が検出
されないうちに(制御データ入出力か終了しないうちに
)所要時間〉監視時間となった場合、判定部14は監視
遅延状態に入ったことを判定し、その旨をライン25、
入出力バス30を介してCPUへ通知する。また判定部
14は、監視時間設定部13に対し、監視時間設定値と
して最大値を設定するようにライン、24を介して要求
する。これにより監視時間設定部13は、内部に保持し
ている監視時間最大値(ここでは初期最大値、即ち1」
標値)を監視時間としてライン23を介して判定部14
に設定する。
On the other hand, if the required time>monitoring time is reached before the input/output completion is detected by the input/output control detection unit 11 (before the control data input/output is completed), the determination unit 14 determines that the monitoring delay state has entered. Judgment and indicate that on line 25,
The CPU is notified via the input/output bus 30. The determination unit 14 also requests the monitoring time setting unit 13 via line 24 to set the maximum value as the monitoring time setting value. As a result, the monitoring time setting unit 13 sets the internally held maximum monitoring time value (in this case, the initial maximum value, that is, 1).
The determination unit 14 via the line 23 uses the target value) as the monitoring time.
Set to .

判定部14は、監視時間設定部13による監視時間設定
が行われると、新たに設定された監視時間(最大値)を
用いて、入出力所要時間計数部12から与えられる所要
時間との比較を継続する。その後制御データ入出力が正
常に終了したならば、判定部14は判定を中止すると共
に、監視時間設定部13に対して今回の所要時間のサン
プリングをライン24を介して指示する。これに対して
、新たに設定された監視時間(最大値)を基準としても
所要時間〉監視時間となった場合には、判定部14はC
PUに対してライン25、入出力バス30を介して更に
比較判定処理(監視)を継続する通知を行う。
When the monitoring time is set by the monitoring time setting unit 13, the determining unit 14 uses the newly set monitoring time (maximum value) to compare it with the required time given from the input/output required time counting unit 12. continue. After that, when the control data input/output is normally completed, the determining section 14 stops the determination and instructs the monitoring time setting section 13 to sample the current required time via the line 24. On the other hand, if the newly set monitoring time (maximum value) becomes the required time>monitoring time, the determination unit 14
A notification is sent to the PU via the line 25 and the input/output bus 30 to continue the comparison/judgment process (monitoring).

また判定部14は、監視時間設定部13に対し、監視時
間設定値として新たな最大値の仮設定(監視時間設定部
13が保持している最大値の何倍かの値の設定)を要求
する。これにより監視時間設定部13は、要求された値
(最大値の何倍かの値)を監視時間としてライン23を
介して判定部14に設定する。
The determination unit 14 also requests the monitoring time setting unit 13 to provisionally set a new maximum value as the monitoring time setting value (setting a value several times the maximum value held by the monitoring time setting unit 13). do. Thereby, the monitoring time setting unit 13 sets the requested value (a value several times the maximum value) as the monitoring time in the determining unit 14 via the line 23.

判定部14は、監視時間設定部13による監視時間設定
が行われると、新たに設定された監視時間(最大値の何
倍かの値)を用いて、入出力所要時間計数部12から与
えられる所要時間との比較を継続する。その後制御デー
タ入出力が正常に終了したならば、判定部14は判定を
中止すると共に、監視時間設定部13に対して、今回の
所要時間のサンプリングと、監視時間設定部13に保持
されている監視時間最大値を今回の所要時間に更新する
こととを指示する。これにより監視時間設定部13では
今回の所要時間がリングバッファに格納されると共に、
今回の所要時間がそれまでの監視時間最大値に代えて新
たな監視時間最大値として保持される。これに対し、仮
設定値(最大値の何倍かの値)を基準としても所要時間
〉監視時間となった場合には、判定部■4はCPUに対
してライン25、入出力バス30を介して端末装置無応
答障害を通知する。
When the monitoring time is set by the monitoring time setting unit 13, the determining unit 14 uses the newly set monitoring time (a value that is several times the maximum value) and is given from the input/output time counting unit 12. Continue to compare the required time. After that, if the control data input/output is completed normally, the determination unit 14 stops the determination, and also sends the monitoring time setting unit 13 a sample of the current required time and the information held in the monitoring time setting unit 13. Instructs to update the maximum monitoring time to the current required time. As a result, the monitoring time setting unit 13 stores the current required time in the ring buffer, and
The current required time is held as the new maximum monitoring time in place of the previous maximum monitoring time. On the other hand, if the required time>monitoring time is reached even with the provisional setting value (a value several times the maximum value) as a reference, the judgment unit 4 sends the line 25 and input/output bus 30 to the CPU. A terminal device non-response failure is notified via the terminal device.

以上の動作は入出力制御が行われる毎に繰返される。そ
して、一連の入出力制御が終了した段階でスイッチ15
がオフされると、判定部14に対して監視時間最大値の
サンプリング終了が通知され、その時点において監視時
間設定部13に保持されている最大値がサンプリングさ
れた監視時間最大値となる。
The above operations are repeated every time input/output control is performed. Then, when a series of input/output controls are completed, the switch 15
When it is turned off, the determination section 14 is notified that sampling of the maximum monitoring time has ended, and the maximum value held in the monitoring time setting section 13 at that point becomes the maximum sampled monitoring time.

次に監視時間最大値サンプリング後の通常の運用につい
て説明する。
Next, normal operation after sampling the maximum monitoring time will be explained.

まず、通常の運用では、入出力制御検出部11および入
出力所要時間計数部12の動作は前記した最大値サンプ
リングの場合と同様であるか、監視時間設定部13およ
び判定部14の動作は次のように異なる。即ち判定部1
4は、スイッチ15がオフされている状態(通常モード
)で入出力制御検出部11からライン20経由で判定開
始が指示されると、監視時間設定部13に対して監視時
間最適値の設定をライン24を介して要求する。これに
より監視時間設定部13は、リングバッファに格納され
ている最新のn回分の所要時間のサンプリングデータを
もとに、統計的に今回の監視時間最適値を予測し、この
予測最適値を監視時間として判定部14に設定する。こ
の状態で判定部14は、上記監視時間設定部13によっ
て設定された監視時間(ここでは監視時間設定部13に
よって予測された最適値)と入出力所要時間計数部12
から与えられる所要時間との比較判定を行う。
First, in normal operation, the operations of the input/output control detecting section 11 and the input/output required time counting section 12 are the same as in the case of maximum value sampling described above, or the operations of the monitoring time setting section 13 and the determining section 14 are as follows. Different like. That is, determination section 1
4 causes the monitoring time setting unit 13 to set the optimum monitoring time value when the input/output control detection unit 11 instructs the start of determination via the line 20 while the switch 15 is off (normal mode). request via line 24. As a result, the monitoring time setting unit 13 statistically predicts the current optimal monitoring time value based on the sampling data of the latest n times of required time stored in the ring buffer, and monitors this predicted optimal value. The time is set in the determination unit 14. In this state, the determination unit 14 uses the monitoring time set by the monitoring time setting unit 13 (in this case, the optimum value predicted by the monitoring time setting unit 13) and the input/output time counting unit 12.
Compare and judge the required time given by .

もし制御データ入出力が正常に終了し、所要時間≦監視
時間となった場合には、判定部14は判定を中止すると
共に、監視時間設定部13に対して今回の所要時間のサ
ンプリングを指示し、CPUには何も通知しない。これ
に対して所要時間〉監視時間となった場合には、判定部
14は端末装置の無応答障害発生と監視遅延状態に入っ
たことをCPUに通知し、更に監視時間設定部13に対
してライン24経由で監視時間最大値の設定を要求する
If the control data input/output ends normally and the required time≦monitoring time, the determining unit 14 cancels the determination and instructs the monitoring time setting unit 13 to sample the current required time. , nothing is notified to the CPU. On the other hand, if the required time>monitoring time is reached, the determining unit 14 notifies the CPU that a non-response failure has occurred in the terminal device and that the monitoring delay state has been entered, and further notifies the monitoring time setting unit 13 A request is made via line 24 to set the maximum monitoring time.

監視時間設定部13は、判定部14から監視時間最大値
の設定要求があれば、現最大値(最大値サンプリングで
求めた最大値)をライン23を介して判定部14に設定
する。判定部14は、この監視時間最大値を用いて入出
力所要時間計数部12がら与えられる所要時間との比較
を継続する。その後制御デタ入出力が正常に終了すれば
、判定部14は判定を中止すると共に、監視時間設定部
13に対して今回の所要時間のサンプリングを指示し、
CPUに対する障害発生通知をキャンセルする。これに
対して、新たに設定された最大値を基準としても所要時
間〉監視時間となった場合には、判定部14はCPUに
対、して再度障害発生を通知する。
The monitoring time setting unit 13 sets the current maximum value (the maximum value obtained by maximum value sampling) to the determining unit 14 via the line 23 when there is a request from the determining unit 14 to set the maximum monitoring time value. The determining unit 14 continues to compare the required time given by the input/output required time counting unit 12 using this maximum monitoring time. After that, if the control data input/output ends normally, the determination unit 14 stops the determination and instructs the monitoring time setting unit 13 to sample the current required time,
Cancel failure notification to CPU. On the other hand, if the required time>monitoring time is reached even with the newly set maximum value as a reference, the determination unit 14 notifies the CPU of the occurrence of a failure again.

なお、第1図の端末装置障害監視装置1oは特定の端末
装置の無応答障害の監視に用いられるため、CPUを利
用する端末装置が複数の場合には端末装置数の端末装置
障害監視装Wl(lを各端末装置に対応させて設ければ
よい。また入出力制御検出部ifにCPUとの間で入出
力を行っている端末装置を識別し、その端末装置名を判
定部14または監視時間設定部I3に通知する機能を設
けると共に、監視時間設定部13に各端末装置毎に障害
監視用のデータ(最適値、最大値、統計用のサンプリン
グデータ)を保持し、その保持データのうち現在入出力
中の端末装置に対応するデータを判定部14に設定する
機能を設けることにより、1台の端末装置障害監視装置
で複数の端末装置の障害監視を行うことも可能である。
Note that since the terminal device failure monitoring device 1o in FIG. (l may be provided corresponding to each terminal device. Also, the input/output control detecting section if identifies the terminal device that is performing input/output with the CPU, and the terminal device name is sent to the determining section 14 or the monitor In addition to providing a function to notify the time setting unit I3, the monitoring time setting unit 13 retains data for failure monitoring (optimal value, maximum value, sampling data for statistics) for each terminal device, and among the retained data, By providing the determination unit 14 with a function of setting data corresponding to the terminal device currently being input/output, it is possible to monitor a plurality of terminal devices for failure with one terminal device failure monitoring device.

[発明の効果] 以」二詳述したようにこの発明によれば、次に列挙する
作用効果を奏することができる。
[Effects of the Invention] As described in detail below, according to the present invention, the following effects can be achieved.

■ CPUと端末装置との間で制御データ入出力が正常
に行われた場合のその所要時間をサンプリングして、監
視時間を決定するようにしているので、CPUから端末
装置までの間に存在する装置の遅延時間や、端末装置固
有の動作時間を意識することなく端末装置に固有の監視
時間の最適化を図ることができ、端末装置の無応答障害
を迅速に検出できる。
■ Since the monitoring time is determined by sampling the time required when control data input/output is normally performed between the CPU and the terminal device, there is no data between the CPU and the terminal device. It is possible to optimize the monitoring time specific to a terminal device without being aware of the delay time of the device or the operation time specific to the terminal device, and it is possible to quickly detect a non-response failure of the terminal device.

■ 端末装置障害監視におけるCPUの負倚が軽減され
、ソフトウェア処理による無駄な応答監視処理を無くす
ことができる。
(2) The load on the CPU in monitoring failures in terminal devices is reduced, and wasteful response monitoring processing by software processing can be eliminated.

■ハードウェアの改良およびソフI・ウェア変更に伴う
監視時間の再設定が簡単に行える。
■ Monitoring time can be easily reset due to hardware improvements and software changes.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例に係る端末装置障害監視装
置のブロック構成図である。 10・・・端末装置障害監視装置、11・・入出力制御
検出部、12・・・入出力所要時間計数部、13・・・
監視時間設定部、14・・・判定部、15. te・・
・スイッチ、30・・・入出力バス。 出願人代理人 弁理士 鈴江武彦
FIG. 1 is a block diagram of a terminal device failure monitoring device according to an embodiment of the present invention. 10... Terminal device failure monitoring device, 11... Input/output control detection section, 12... Input/output required time counting section, 13...
Monitoring time setting section, 14...judgment section, 15. Te...
・Switch, 30...Input/output bus. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】 計算機システムの中心を成すCPUと端末装置間の制御
データ入出力の開始および終了を検出する入出力制御検
出手段と、この入出力制御検出手段の検出結果に応じ、
上記入出力の開始から終了までの所要時間を計数する入
出力所要時間計数手段と、上記端末装置の無応答障害検
出の基準となる監視時間が設定され、この監視時間と上
記入出力制御時間計数手段によって計数される上記入出
力開始からの所要時間とを比較し、この比較結果に応じ
て上記端末装置の障害を判定する判定手段と、この判定
手段の判定に供される上記監視時間を設定するための監
視時間設定手段であって、監視時間最大値を保持すると
共に、上記判定手段によって上記端末装置が正常である
ことが判定される毎に、上記所要時間を最適監視時間決
定用のサンプリングデータとして内部保持する監視時間
設定手段と、監視時間最大値を決定するための第1モー
ドと通常の端末装置監視を行うための第2モードとを切
替え設定するためのモード設定手段とを具備し、 上記モード設定手段によって上記第1モードに設定され
ている場合、上記監視時間設定手段は上記判定手段によ
って上記端末装置が正常であることが判定され、且つそ
の際のサンプリングデータである上記所要時間が自身で
保持している上記監視時間最大値より大きい場合に同所
要時間を新たに監視時間最大値として保持し、 上記モード設定手段によって上記第2モードに設定され
ている場合、上記監視時間設定手段は上記入出力制御検
出手段によって上記入出力の開始が検出される毎に、最
新の所定回数分の上記サンプリングデータをもとに決定
される監視時間の最適値を上記判定手段に設定し、この
監視時間最適値を上記入出力所要時間計数手段によって
計数される入出力開始からの所要時間が越えたことが上
記判定手段によって判定されたならば、この監視時間最
適値に代えて内部保持している上記監視時間最大値を上
記判定手段に設定し、上記判定手段は上記入出力所要時
間計数手段によって計数される入出力開始からの所要時
間が上記監視時間設定手段によって設定された上記監視
時間最大値を越えた場合に、上記端末装置の障害発生を
最終判定することを特徴とする端末装置障害監視装置。
[Scope of Claims] Input/output control detection means for detecting the start and end of control data input/output between a CPU forming the center of a computer system and a terminal device, and according to the detection result of the input/output control detection means,
An input/output time counting means for counting the time required from the start to the end of the input/output, and a monitoring time serving as a reference for detecting a non-response failure of the terminal device are set, and this monitoring time and the input/output control time counting means are set. determining means for comparing the time required from the start of input/output counted by the means and determining a failure of the terminal device according to the comparison result; and setting the monitoring time used for the determination by the determining means. monitoring time setting means for holding a maximum monitoring time value, and sampling the required time for determining the optimum monitoring time each time the terminal device is determined to be normal by the determining means; It is equipped with a monitoring time setting means that is internally held as data, and a mode setting means for switching and setting between a first mode for determining the maximum monitoring time value and a second mode for performing normal terminal device monitoring. When the first mode is set by the mode setting means, the monitoring time setting means determines that the terminal device is normal by the determining means, and the required time is the sampling data at that time. is larger than the maximum monitoring time held by itself, the same required time is held as a new maximum monitoring time, and if the second mode is set by the mode setting means, the monitoring time setting is set to the second mode by the mode setting means. The means sets, in the determination means, an optimum value of the monitoring time determined based on the latest sampling data for a predetermined number of times, each time the start of the input/output is detected by the input/output control detection means; If the determination means determines that the required time from the start of input/output counted by the input/output time counting means exceeds this optimal value for monitoring time, the optimal value for monitoring time is internally held instead of the optimal value for monitoring time. The determination means sets the maximum value of the monitoring time set by the monitoring time setting means to the maximum value of the monitoring time set by the monitoring time setting means. A terminal device failure monitoring device characterized in that, when a maximum value is exceeded, a final determination is made as to whether a failure has occurred in the terminal device.
JP1021058A 1989-01-31 1989-01-31 Monitoring device for fault of terminal equipment Pending JPH02201672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1021058A JPH02201672A (en) 1989-01-31 1989-01-31 Monitoring device for fault of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1021058A JPH02201672A (en) 1989-01-31 1989-01-31 Monitoring device for fault of terminal equipment

Publications (1)

Publication Number Publication Date
JPH02201672A true JPH02201672A (en) 1990-08-09

Family

ID=12044305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1021058A Pending JPH02201672A (en) 1989-01-31 1989-01-31 Monitoring device for fault of terminal equipment

Country Status (1)

Country Link
JP (1) JPH02201672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050560A (en) * 2004-06-07 2006-02-16 Microsoft Corp System and method for optimizing network communication in response to network condition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050560A (en) * 2004-06-07 2006-02-16 Microsoft Corp System and method for optimizing network communication in response to network condition

Similar Documents

Publication Publication Date Title
JPH02201672A (en) Monitoring device for fault of terminal equipment
JPH08102755A (en) Method for monitoring station to be controlled
WO2001013584A1 (en) Data distribution system
KR100250888B1 (en) Network detection device of distributed control system
JPH02281343A (en) Cpu operation monitor system
JPH02122730A (en) Signal line terminating system
JPS61244151A (en) Detection system for trouble interruption
JP2865047B2 (en) Bus monitoring method
JPS61169036A (en) System supervisory device
JPH07334433A (en) Bus controller
KR0135389B1 (en) Transmitter
JPH0334738A (en) Test processing system for communication channel
JPH04207441A (en) Fault detection method for data transmission controller
JPH04256156A (en) Processor load decentralization system
JPH04274646A (en) Status notice system
JPS63282557A (en) Load information transmission system for central controller
JPH01184564A (en) Bus monitoring circuit
JPH01116749A (en) Data transfer control system
JPH0535460B2 (en)
JP2001043148A (en) Microprocessor
JPH06343194A (en) Monitoring and controlling device
JPH02211742A (en) Line connection system
JPH02281396A (en) Abnormality informing equipment
JPH04260255A (en) Data transmitter
JPH01134655A (en) On-line system trouble supervising system