JPS58137062A - Hung-up detection system - Google Patents

Hung-up detection system

Info

Publication number
JPS58137062A
JPS58137062A JP57019496A JP1949682A JPS58137062A JP S58137062 A JPS58137062 A JP S58137062A JP 57019496 A JP57019496 A JP 57019496A JP 1949682 A JP1949682 A JP 1949682A JP S58137062 A JPS58137062 A JP S58137062A
Authority
JP
Japan
Prior art keywords
timer
module
stop
control
instruction
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
JP57019496A
Other languages
Japanese (ja)
Inventor
Hiromasa Tsuchiya
土屋 裕正
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57019496A priority Critical patent/JPS58137062A/en
Publication of JPS58137062A publication Critical patent/JPS58137062A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To detect unexpected failures early, by unifying a control program with a module for each function, providing an instruction of timer start and stop at the beginning and end of the module and generating an alarm when the timer is not stopped. CONSTITUTION:Control programs written in an ROM1 are unified into modules for each function as moduleI, II, and a monitor timer 2 monitoring the operating state of each module is provided. A timer drive control instruction A to drive the timer 2 is written at the beginning of each module and a stop instruction B stopping the operation of the timer 2 is written at the end. Each timer value is taken as a value exceeding the estimated maximum until the module is finished. When a timer 2 is not stopped at the instruction B due to any cause and the module set value is elapsed, the timer 2 gives an interruption request signal IRQ to a MPU3 for the report. The MPU3 activates a hung-up detection program 1-1, reads out the detailed information of the hung-up and detects its cause.

Description

【発明の詳細な説明】 (1)  発明の技術分野 この発明はハングアップ検出方式に関し、特にコンビエ
ータデバイス等の装置に内蔵されたマイクロプロ竜ツナ
の制御プログ2ムのハングアップ(Hung Up )
個所を検出してこれを通知するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a hang-up detection method, and in particular to a hang-up detection method for a control program 2 of a MicroPro Dragon Tuna built in a device such as a combiator device.
It detects the location and notifies you of it.

(2) 従来技術と問題点 最近、データ処理装置における各種周辺装置。(2) Conventional technology and problems Recently, various peripheral devices for data processing equipment.

例えば入出力装置等で紘1チップCPUを使用してこれ
をROMに記入し九制御用グログツムで制御することが
行なわれている。このようなものでは1通常その装置を
使用しているときに発生するハード−エラーについては
これに対処するためのエラー処理プログラムが設けられ
ており9発生が予想されるエラーに対しては対策が講じ
られている。しかしながら例えば入出力コネクタが外れ
て信号が送出できなくなるというような予想外の泰故が
発生し九場會には、これに対処する手段が講じられてい
ない丸めに、オペレータが蟲腋装置O異常に気付くまで
は事故の発生が検出できず、し九がってその異常部分を
確認するのに非常に遅く10、そO−にめにその装置が
正常に復帰する(IK暗時間かかるという問題が存在す
る。
For example, a KO1 chip CPU is used in an input/output device, data is written in a ROM, and the data is controlled by a control system. For such devices, 1. there is an error processing program in place to deal with hardware errors that normally occur when using the device, and 9. countermeasures are in place for errors that are expected to occur. It is being taught. However, if an unexpected accident occurs, such as an input/output connector coming off and making it impossible to send out a signal, the 9th floor meeting has no measures in place to deal with this. The occurrence of an accident cannot be detected until it is noticed, and then it is very late to confirm the abnormal part10, and then the device returns to normal (IK dark time problem) exists.

al  幾HOiI的 し九がってこの発明の目的紘このような問題点を改善す
るえめに、予期せざる事故が発生したことを早急に検出
してこれをプロセッサに報告し。
SUMMARY OF THE INVENTION The purpose of the present invention is to promptly detect the occurrence of an unexpected accident and report it to the processor in order to improve this problem.

これによりプ謬セツtは制御プルグラムOどこの部分に
おいて銃記予期せざる事故が発生したのかを検出するよ
うにしたハングアップ検出方式を畿供するもので参る。
As a result, a hang-up detection method is provided for detecting in which part of the control program O an unexpected accident has occurred.

(4)発明の構成 この′ような目的を達成するために、この発明のハング
アップ検出方式では、プロセッサと該プロセッサを制御
する制御用プルグラムが格納される制御用メモリを具備
するデータ処理装置において。
(4) Structure of the Invention In order to achieve the above object, the hang-up detection method of the present invention uses a data processing device equipped with a processor and a control memory in which a control program for controlling the processor is stored. .

起動信号にもとづき起動し停止信号にもとづき停止する
タイマーを設叶、制御用メ毫りにL制御用プログラムを
各機能毎に毫ジュール単位化して設けるとともに、モジ
ュールの初めに前記タイマーを起動させる起動命令を設
け、モジュールの終妙には前記タイマーを停止させる停
止命令を設けて前記タイ!−が停止せずにその設定時間
を経過し九とき異常発生を報告する信号を出力するよう
Kし九ことを特徴とする。
A timer that starts based on the start signal and stops based on the stop signal is provided, and an L control program is provided in units of joules for each function in the control menu, and a start that starts the timer at the beginning of the module. A stop command is provided at the end of the module to stop the timer. - When the set time elapses without stopping, a signal reporting the occurrence of an abnormality is output.

(51発明の実施例 この発明の構成を一実施例にもとづき詳述するに先立ち
、その概略を第1図にもとづき簡単に説明する。
(51st Embodiment of the Invention) Before describing the structure of the present invention in detail based on one embodiment, its outline will be briefly explained based on FIG. 1.

この発明ではROM (Read 0nly Memo
ry ) 1に記入され九制御グログラムをそれぞれ各
機能毎にモジエール単位化して毫ジエール1.モジュー
ル1.4ジ瓢−ル夏・・・とするとともに別に各モジュ
ールの動作状態を監視する監視タイ−r−2を設けてお
く。そして各崎ジュールI、I、I・・・の最初に監視
タイ−v −2を駆動するタイ!−駆動制御命令人を記
入しまた最後に杜監視タイマー2の動作を停止する停止
命令Bが記入されている。そしてζOタイ1−駆動制御
命令人に線監視′タイ賃−20タイマー飯が記入され、
このタイ!−値は当骸啼ジエールが終了するまでの想定
される最大の時間を一見九値でToるT轟 (1−1,
2,・・・)に定められている。
In this invention, ROM (Read Only Memo
ry) The nine control grograms entered in 1 are converted into module units for each function and converted into module 1. Module 1.4 modules are installed, and a monitoring module 2 is separately provided to monitor the operating status of each module. And the tie that drives the monitoring tie-v-2 at the beginning of each Zaki Joule I, I, I...! - A drive control command is entered, and finally a stop command B for stopping the operation of the forest monitoring timer 2 is entered. Then, ζO tie 1 - drive control command person is entered with line monitoring' tie fee - 20 timer meal,
This Thailand! - The value is the maximum expected time until the end of this skeleton, which is apparently a nine-value Todoroki (1-1,
2,...).

したがって装置がROM1に記入され九制御プロダテ五
にもとづき制御されるとき、4ジエールO初めにおいて
監視タイマー2がセットされ、峰ジュールが終了したと
き監視タイマー2が停止し。
Therefore, when the device is controlled based on the nine control products stored in the ROM 1, the watchdog timer 2 is set at the beginning of the fourth hour, and the watchdog timer 2 is stopped when the peak hour ends.

904ジユールの初めにおいて再び監視タイマー2紘竜
ツトされることになる。もしも予期せざる故障が発生し
てそのモジュールにおいてハングアップが生じて制御プ
νグラムが進行せず、監視タイマー2にセットされたタ
イマー値が経過すると。
At the beginning of the 904th cycle, the watchdog timer 2 will be fired again. If an unexpected failure occurs and a hang-up occurs in that module, the control program does not progress and the timer value set in the monitoring timer 2 elapses.

監視タイマー2は割込要求信号IRQをプロセッサに出
力する。これによりプロセッサはハングアップの発生し
たモジュールを検出することができ。
Monitoring timer 2 outputs an interrupt request signal IRQ to the processor. This allows the processor to detect which module has hung up.

これに直ちに対処することが可能となる。This can be dealt with immediately.

以下この発明の一実施例を第2図にもとづき説明する。An embodiment of the present invention will be described below based on FIG. 2.

図中、第1図と同符号部は同一部分を示し、1はROM
、2は監視タイマー、5絋プロセツサ。
In the figure, the same reference numerals as in FIG. 1 indicate the same parts, and 1 indicates the ROM.
, 2 is a monitoring timer, and 5 is a processor.

4はパスで娶る。4 gets married by passing.

ROMIFi、その制御すべき同辺装置の制御プログツ
ムとそのハングアップを検出してこれを処理すゐ丸めの
ハングアップ検出処理プログラム勢が記入されている。
ROMIFi, a control program for the same device to be controlled, and a hang-up detection processing program that detects and processes hang-ups are written.

そしてこの制御プログラムは。And this control program.

第1図に示す如く、各機能毎にモジエール単位化してモ
ジュールI、I、I・・・と細分化されてお凱各毫ジュ
ールの初めKはタイツ−駆動制御命令人が記入され終り
には監視タイ−r −2の停止命令Bが記入されている
。そしてモジュールIKおけるタイマー駆動制御命令ム
KFi監視タイマー2の設定値鶏が記入されており、こ
の設定値T1はこのモジュールlが終了する迄の想定さ
れる最大の時間を趨え九値に定められている。回議にモ
ジュール1、−1・・・におけるそれぞれのタイマー駆
動制御命令人には、モジュール■、■・・・が終了する
迄の想定される最大の時間を超えた値である設定値T雰
As shown in Figure 1, each function is divided into module units and subdivided into modules I, I, I, etc. At the beginning of each module, K is filled in with tights - drive control command, and at the end is A stop command B for monitoring tie-r-2 is written. The set value T1 of the timer drive control command KFi monitoring timer 2 in the module IK is entered, and this set value T1 is set to nine values based on the maximum time expected until this module I finishes. ing. During the discussion, each timer drive control command in modules 1, -1, .

チー・・・が記入されている。Chi... is entered.

監視タイ−v −2は各峰ジュールにおいて異常状■に
もとづくハングアップが発生したと亀これを検出するも
のであって、各毫ジュールI、1.1・・・の最初にお
いてタイマー駆動制御命令人によ抄その指定された設定
値?、 、 T、 、 T、・・・にセットされて起動
され、各モジエール1,1.I・・・の終りにおいて停
止命令Bにより停止されるものである。
The monitoring tie-v-2 detects the occurrence of a hang-up based on the abnormal condition (■) in each peak module, and issues a timer drive control command at the beginning of each module I, 1.1... Is that the specified setting value? , , T, , T, . . . are set and activated, and each module 1, 1 . It is stopped by a stop command B at the end of I....

そして何等かの事情によ抄その設定時間経過したときプ
ロセッサに対して割込要求信号IRQを出力してこれを
報告する。
When the set time elapses due to some circumstances, it outputs an interrupt request signal IRQ to the processor and reports this.

プロセッサ5は周辺装置の全体的な制御を行うものであ
って1例えばマイクロ・プロセラtKより構成されてお
に、タイマー割込み応答部3−1を白鷺している。この
タイ!−割込み応答部3−1は監視タイ!−2から割込
要求信号IRQが伝達されたとき動作してハングアップ
検出処理プログラムへ制御を移し、どの毎ジニールにお
いてハングアップが発生したのかを検出するような動作
を行うものである。
The processor 5 performs overall control of the peripheral devices, and is composed of, for example, a micro processor tK, and also includes a timer interrupt response section 3-1. This Thailand! - Interrupt response unit 3-1 is a monitoring tie! It operates when the interrupt request signal IRQ is transmitted from -2, transfers control to the hang-up detection processing program, and performs an operation to detect at which Geniere a hang-up has occurred.

次に本発明の詳細な説明する。Next, the present invention will be explained in detail.

■ プロセッサ5は2周辺装置を動作するため。■ Because the processor 5 operates two peripheral devices.

ROMIK記入され九制御プ曹グツムにもとづき動作す
る。ここで制御プログラムは、第1図に示すように、モ
ジエールI、1.I・・・に細分化されており、各モジ
ュールの最初にはタイマー駆動制御命令Aが記入されて
いる。し九がって制御プログ2ムが毫ジュール1..I
、I・・・Kしたがって順次制御を行うとき、先ずモジ
ュールlの初めに記入され九タイマー駆動制御命令人に
より監視タイマー2は設定値T1にセットされて起動さ
れる。そしてモジュールlによる動作が正常に行なわれ
るとき、その終りに記入され九停止命令Bにより監視タ
イ−r −2は設定値Txtで経過しないうちに停止さ
れる。そして次の毫ジュール■の初めKおけるタイオー
駆動制御命令人によ抄監視タイマー2は設定値T、にセ
ットされて再び起動され、モジュール■による動作が正
常に行なわれるときその終りに記入された停止命令Bに
より監視タイマー2は停止される。このようKして各モ
ジュールにおける制御動作が正常に遂行されるとき、監
視タイマー2はその設電値まで経時しないうちに停止さ
れ2次の毫ジュールの処理に移行されるO■ しかじ2
例えばモジエール■においてその動作中に予期せざる異
常(例えばコネクタ外れ)が発生すると1%ジュール璽
においてハングアップが発生し、制御プログツムは特定
区分で同一範囲の制御プログラムによる動作を繰返すの
みで制御プログラムはハングアップ発生領域より先に進
行しない。このようなことを繰返すうちに、 **タイ
マー2紘モジユール■の初めのタイマー駆動制御°命令
λにより設定された設定値Tst−経時したとき、プロ
セッサ3に対して割込要求信号IRQを出力する。これ
によりプロセッサ5はタイマー割込み処理部S−1を起
動し、/−ングアツプ検出#l&理プログクム1−1を
動作させる。
It is written in ROMIK and operates based on nine control programs. Here, the control program is as shown in FIG. The timer drive control command A is written at the beginning of each module. Then the control program 2 outputs 1. .. I
, I, . When the operation by the module I is normally performed, the monitoring tie-r-2 is stopped before the set value Txt has elapsed due to the nine stop command B written at the end thereof. Then, at the beginning of the next module ■, the timer drive control controller sets the timer 2 to the set value T, starts it again, and fills in at the end when the operation by the module ■ is normally performed. The monitoring timer 2 is stopped by the stop command B. When the control operation in each module is performed normally in this manner, the monitoring timer 2 is stopped before reaching its set value and the process is shifted to the processing of the second module.
For example, if an unexpected abnormality (for example, a disconnected connector) occurs during the operation of Moziere ■, a hang-up will occur in the 1% joule, and the control program will simply repeat the operation according to the control program in the same range in a specific category. does not progress beyond the area where the hangup occurs. By repeating this process, when the set value Tst set by the initial timer drive control ° command λ of the timer 2 module ■ has elapsed, an interrupt request signal IRQ is output to the processor 3. . As a result, the processor 5 activates the timer interrupt processing section S-1 and operates the /-up detection #1 & processing program 1-1.

■ ハングアップ検出IIJ111プログラムは、ハン
グアップの発生したモジュール番号やその毫ジュールに
おけるハングアップ発生位置、障害発生時におけゐチェ
ック用レジスタの状tS 勢/1ングアツプの詳細情報
を読出し、これを図示省略したメモリに記憶させるとと
もに、オペレータに対してノ1ングアツプの発生を報告
する。オペレータはこのハングアップの発生報告にもと
づき、前記/SSダグツプの詳細情報を読出し、そOW
L因を検出する仁とができる。
■ The hang-up detection IIJ111 program reads the module number where the hang-up occurred, the position where the hang-up occurred in that module, and the status of the check register at the time of failure.This is omitted from the diagram. It is stored in the memory and reports the occurrence of the no-1 up to the operator. Based on this hang-up occurrence report, the operator reads out the detailed information of the /SS Dougup and then
It is possible to detect the L cause.

なお監視タイi−とじてはカウント自アンプ塁のもので
もカウント・ダウン塩のものでもよい。
Incidentally, the monitoring tie i- may be a count own amplifier base or a count down base.

そして各モジュール毎にそのモジュール特有の値に設定
しなくとも、食上ジュール共通の設定値に定めておき、
タイオー駆動制御命令人により起動するように構成して
もよい・ (6)発明の効果 この発明によれば、制御プ曹グラムをモジュール単位化
して細分し、その初めでモジュール・モニター用の監視
タイマーを起動し終りにおいてこれを停止させ、この監
視タイマーが設定値を経時したとき警報を出して障害検
出制御を行わせるように動作させることができるDで、
予期できない障害に対してもこれに対処してそのノ・ン
グアッグ箇所O通知を行うことができる。このようKし
てこO発明によれば、ハードウェア障害にも、7アーム
クエア障害にも対鵡することができる。
Then, instead of setting each module to a value unique to that module, it can be set to a common value for food joules.
(6) Effects of the Invention According to the present invention, the control program is divided into modules and subdivided, and a monitoring timer for the module monitor is set at the beginning. D, which can be operated to start and stop it at the end, issue an alarm when the monitoring timer reaches a set value, and perform fault detection control;
Even in the case of an unexpected failure, it is possible to deal with it and notify the location of the failure. According to the present invention, it is possible to overcome both hardware failures and seven-arm square failures.

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

第11aこの発明のタイi−制御状態説明図を第2図線
この発明の実施例構成国である。 図中、1紘ROM、2は監視タイマー、5紘グIセッt
、4はパスをそれぞれ示す。 特許出願人  富士通株式会社 代理人弁理士 山 谷 晧 榮 才jf!1
Figure 11a is a tie-i control state explanatory diagram of this invention. In the figure, 1 is ROM, 2 is a monitoring timer, and 5 is Hiro I set.
, 4 indicate paths, respectively. Patent applicant Fujitsu Ltd. Representative Patent Attorney Akira Yamatani Eisai jf! 1

Claims (2)

【特許請求の範囲】[Claims] (1) プロ令ツサと皺プロ七ツtを制御する制御用プ
ログラムが格納される制御用メモリを具備するデータ錫
層装置において、起動信号にもとづ會煽動し停止信号に
もとづき停止するタイマーを設け、制御層メ毫りKは制
御用プログラムを各機能毎に4ジ工−ル単位化して設け
るとともIc、 JlジエールO初めに前記タイマーを
起動させる起動命令を設け、篭ジエールの終シに杜前記
タイマーを停止させる停止命令を設けて前記タイマーが
停止せずにその設定時間を経過したとき異常発生を報告
する信号を出力するようにしたことを特徴とするハング
アップ検出方式。
(1) In a data tin layer device equipped with a control memory in which a control program for controlling the pro-controller and wrinkle pro-7t is stored, a timer is used to start the meeting based on a start signal and stop based on a stop signal. The control layer menu K includes a control program divided into 4-gear units for each function, and also provides a start command to start the timer at the beginning of the control layer. A hang-up detection method, characterized in that a stop command is provided to stop the timer, and when the set time elapses without stopping the timer, a signal reporting the occurrence of an abnormality is output.
(2) 前記タイマーはそのプ冑グラムからの書込み指
令にもとづ會タイマー値がセットされるように構成され
ていることを特徴とする特許請求の範囲第(1)項記載
のハングアップ検出方式。
(2) The hang-up detection according to claim (1), wherein the timer is configured such that a timer value is set based on a write command from the program. method.
JP57019496A 1982-02-09 1982-02-09 Hung-up detection system Pending JPS58137062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57019496A JPS58137062A (en) 1982-02-09 1982-02-09 Hung-up detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57019496A JPS58137062A (en) 1982-02-09 1982-02-09 Hung-up detection system

Publications (1)

Publication Number Publication Date
JPS58137062A true JPS58137062A (en) 1983-08-15

Family

ID=12000976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57019496A Pending JPS58137062A (en) 1982-02-09 1982-02-09 Hung-up detection system

Country Status (1)

Country Link
JP (1) JPS58137062A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009301079A (en) * 2008-06-10 2009-12-24 Mitsubishi Electric Corp Electronic computer device and data storage method when software processing delay is detected
EP3199407A4 (en) * 2014-09-25 2018-09-26 NSK Ltd. Control device and control method for on-vehicle electronic apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009301079A (en) * 2008-06-10 2009-12-24 Mitsubishi Electric Corp Electronic computer device and data storage method when software processing delay is detected
EP3199407A4 (en) * 2014-09-25 2018-09-26 NSK Ltd. Control device and control method for on-vehicle electronic apparatus

Similar Documents

Publication Publication Date Title
JPS5868163A (en) System trouble detection system
JPS58137062A (en) Hung-up detection system
JPH0261755A (en) Device for monitoring computer system with two processor
JPS6091415A (en) Digital controller
JPS62236056A (en) Input/output controller for information processing system
JP2744113B2 (en) Computer system
JPS6290068A (en) Auxiliary monitor system
JPS61150027A (en) Timer circuit diagnostic system of serial printer
JPH06348521A (en) Decentralized type controller
JP2749994B2 (en) Numerical control unit
JP2767820B2 (en) Diagnosis device for abnormality monitoring unit
JP2518829Y2 (en) I / O card abnormality detection system
JPS61169036A (en) System supervisory device
JPH03222020A (en) Reset system for multi-micro processor system
JPH01310422A (en) Resetting circuit for microcomputer
JPS6295647A (en) Microprogram controller with run monitoring device
JPS6010666B2 (en) Computer system monitoring method
JPS60195649A (en) Error reporting system of microprogram-controlled type data processor
JPS6277655A (en) Substrate trouble diagnosing circuit for programmable controller
JPS5916302B2 (en) Check device
JPH1160102A (en) Elevator controller
JPS61182107A (en) Digital controller
JPS58114141A (en) Fault reporting system for multimicroprocessor
JPH01116739A (en) Monitor equipment for cpu
JPS6295646A (en) Microprogram controller with run monitoring function