JPS6355089B2 - - Google Patents

Info

Publication number
JPS6355089B2
JPS6355089B2 JP58155409A JP15540983A JPS6355089B2 JP S6355089 B2 JPS6355089 B2 JP S6355089B2 JP 58155409 A JP58155409 A JP 58155409A JP 15540983 A JP15540983 A JP 15540983A JP S6355089 B2 JPS6355089 B2 JP S6355089B2
Authority
JP
Japan
Prior art keywords
partial
reset
processing unit
central processing
processing
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
Application number
JP58155409A
Other languages
Japanese (ja)
Other versions
JPS6048546A (en
Inventor
Kunio Takada
Susumu Hanaoka
Akihiko Ichikawa
Toshuki Sakai
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 JP58155409A priority Critical patent/JPS6048546A/en
Publication of JPS6048546A publication Critical patent/JPS6048546A/en
Publication of JPS6355089B2 publication Critical patent/JPS6355089B2/ja
Granted 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

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は情報処理システムに係り、特に暴走状
態となつた中央処理装置をリセツトした場合に、
中断された部分処理から再開可能とするリセツト
方式に関す。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to an information processing system, and in particular, when a central processing unit that has gone into a runaway state is reset,
This invention relates to a reset method that allows restarting from an interrupted partial process.

(b) 従来技術と問題点 第1図はこの種情報処理システムにおける従来
あるリセツト方式の一例を示す図であり、第2図
は第1図における処理過程の一例を示す図であ
る。第1図において、中央処理装置CPUは記憶
装置MEMに順次アドレスaを伝達し、抽出され
るデータdに基づき所定の処理を実行する。中央
処理装置CPUの実行する全処理過程は第2図に
示される如く、3個の部分処理J1,J2および
J3から構成される。また中央処理装置CPUは、
全処理過程において必ず監視時限回路TMにアク
セス信号acを伝達する。監視時限回路TMは、中
央処理装置CPUからアクセス信号acを伝達され
た後所定時間以内に再びアクセス信号acを伝達
されぬ場合に、中央処理装置CPUが暴走状態に
陥つたと判断し、中央処理装置CPUに対してリ
セツト信号rstを伝達する。中央処理装置CPUが
正常に部分処理J1乃至J3を実行している場合
には、中央処理装置CPUは前記所定時間以内に
アクセス信号acを監視時限回路TMに伝達してい
るが、中央処理装置CPUが部分処理J1乃至J
3を実行中に暴走状態に陥ると、何時迄も監視時
限回路TMにアクセス信号acを伝達しなくなる
為、監視時限回路TMは前記所定時間経過後に中
央処理装置CPUにリセツト信号rstを伝達する。
リセツト信号rstを伝達された中央処理装置CPU
はリセツト状態となり、暴走状態により破壊され
た可能性のある記憶装置MEMの記憶内容、並び
に中央処理装置CPUの図示されぬ内蔵レジスタ
の蓄積内容を総て初期設定した後、再び最初の部
分処理J1から再開する。
(b) Prior Art and Problems FIG. 1 is a diagram showing an example of a conventional reset method in this type of information processing system, and FIG. 2 is a diagram showing an example of the processing process in FIG. 1. In FIG. 1, the central processing unit CPU sequentially transmits addresses a to the storage device MEM and executes predetermined processing based on extracted data d. The entire processing process executed by the central processing unit CPU consists of three partial processes J1, J2 and J3, as shown in FIG. In addition, the central processing unit CPU is
The access signal ac is always transmitted to the monitoring time limit circuit TM during the entire processing process. The monitoring time limit circuit TM determines that the central processing unit CPU has fallen into a runaway state when the access signal ac is not transmitted again within a predetermined time after receiving the access signal ac from the central processing unit CPU, and A reset signal rst is transmitted to the device CPU. When the central processing unit CPU is normally executing partial processing J1 to J3, the central processing unit CPU transmits the access signal ac to the monitoring time circuit TM within the predetermined time; is partial processing J1 to J
If a runaway condition occurs during execution of step 3, the access signal ac will not be transmitted to the monitoring time limit circuit TM until any time, so the monitor time limit circuit TM will transmit the reset signal rst to the central processing unit CPU after the predetermined time has elapsed.
Central processing unit CPU to which reset signal rst is transmitted
enters a reset state, and after initializing all the memory contents of the storage device MEM that may have been destroyed due to the runaway state and the accumulated contents of the built-in registers (not shown) of the central processing unit CPU, the first partial processing J1 is started again. Restart from.

以上の説明から明らかな如く、従来あるリセツ
ト方式においては、暴走状態に陥つた為に監視時
限回路TMからリセツト信号rstを伝達され、リ
セツト状態となつた中央処理装置CPUは、必ず
最初の部分処理J1から再開する為、暴走状態発
生以前の処理過程と継続性が維持出来ぬ欠点があ
つた。なお一旦処理を中断した後、中断された処
理から再開する手段として、記憶装置MEM内に
格納されている割込プログラムをリセツト信号
rstにより起動することも考慮されるが、記憶装
置MEMの記憶内容が不確定となる暴走状態にお
いては、かかる割込処理による再開が成功する保
証は無い。
As is clear from the above explanation, in the conventional reset method, the central processing unit CPU that has entered the reset state after receiving the reset signal rst from the monitoring time limit circuit TM due to a runaway state always performs the first partial processing. Since the process restarted from J1, there was a drawback that continuity with the processing process before the runaway state could not be maintained. Note that once a process is interrupted, a reset signal is sent to the interrupt program stored in the storage device MEM as a means of restarting from the interrupted process.
Although starting by rst is considered, in a runaway state where the storage contents of the storage device MEM are uncertain, there is no guarantee that restarting by such interrupt processing will be successful.

(c) 発明の目的 本発明の目的は、前述の如き従来あるリセツト
方式の欠点を除去し、暴走状態発生以前の処理過
程に極力継続した再開を可能とする手段を実現す
ることに在る。
(c) Object of the Invention The object of the present invention is to eliminate the drawbacks of the conventional reset method as described above, and to realize a means that allows restarting as much as possible the processing process before the occurrence of the runaway state.

(d) 発明の構成 この目的は、全処理過程が複数の部分処理から
なり、前記部分処理を中央処理装置が実行する際
に、前記中央処理装置の動作状態を監視し、暴走
状態を検出した場合に前記中央処理装置を強制的
にリセツトさせる監視回路を具備する情報処理シ
ステムにおいて、前記部分処理の実行に先立つて
前記中央処理装置から送出される予め定められた
キーワードを識別するキーワード識別部と、前記
中央処理装置からキーワード送出後に送出される
部分処理開始通知に対応するリセツトアドレスを
選択して設定するレジスタ手段とを設け、前記監
視回路によるリセツト後は前記レジスタ手段に設
定中のアドレスに基づき中断された前記部分処理
から再開することにより達成される。
(d) Structure of the Invention The object is to monitor the operating state of the central processing unit and detect a runaway state when the entire processing process consists of a plurality of partial processes, and when the central processing unit executes the partial processes. In the information processing system, the information processing system includes a monitoring circuit that forcibly resets the central processing unit when the central processing unit is configured to perform the partial processing, and a keyword identification unit that identifies a predetermined keyword sent from the central processing unit prior to execution of the partial processing. and register means for selecting and setting a reset address corresponding to the partial processing start notification sent after the keyword is sent from the central processing unit, and after the reset by the monitoring circuit, the reset address is set in the register means based on the address being set in the register means. This is achieved by restarting the interrupted partial processing.

(e) 発明の実施例 以下、本発明の一実施例を図面により説明す
る。第3図は本発明の一実施例によるリセツト方
式を示す図であり、第4図は第1図における処理
過程の一例を示す図である。なお、全図を通じて
同一符号は同一対象物を示す。第3図において
は、キーワード識別部KY、リセツトアドレスセ
レクタSELおよびリセツトアドレスレジスタ
REGが中央処理装置CPUのポートP1およびP
2に接続されている。第3図および第4図におい
て、中央処理装置CPUは第1図における如く部
分処理J1を開始するに先立ち、ポートP1から
キーワード識別部KYに予め定められたキーワー
ドを伝達した後、リセツトアドレスセレクタSEL
に部分処理J1の開始を通知する。リセツトアド
レスセレクタSELは、部分処理J1に対応して予
め定められたリセツトアドレスa1を選択し、リ
セツトアドレスレジスタREGに設定する。以上
のリセツトアドレス設定処理S1が完了した後、
中央処理装置CPUは部分処理J1を開始する。
部分処理J1を終了後、部分処理J2を開始する
に先立ち、中央処理装置CPUはポートP1から
キーワード識別部KYに前記キーワードを伝達し
た後、リセツトアドレスセレクタSELに部分処理
J2の開始を通知する。リセツトアドレスセレク
タSELは、部分処理J2に対応して予め定められ
たリセツトアドレスa2を選択し、リセツトアド
レスレジスタREGに設定する。以上のリセツト
アドレス設定処理S2が完了した後、中央処理装
置CPUは部分処理J2を開始する。部分処理J
2を終了後、部分処理J3を開始するに先立ち、
中央処理装置CPUはポートP1からキーワード
識別部KYに前記キーワードを伝達した後、リセ
ツトアドレスセレクタSELに部分処理J3を開始
を通知する。リセツトアドレスセレクタSELは、
部分処理J3に対応して予め定められたリセツト
アドレスa3を選択し、リセツトアドレスレジス
タREGに設定する。以上のリセツトアドレス設
定処理S3が完了した後、中央処理装置CPUは
部分処理J3を開始する。かかる過程で、中央処
理装置CPUが例えば部分処理J3を実行中に暴
走状態に陥ると、記憶装置MEMの記憶内容、或
いは中央処理装置CPUの内蔵レジスタの蓄積内
容は総て破壊される恐れが有るが、リセツトアド
レスセレクタSELおよびリセツトアドレスレジス
タREGはキーワード識別部KYにより保護されて
いる為、リセツトアドレスレジスタREGに設定
中のリセツトアドレスa3は破壊されること無く
保持される。監視時限回路TMが第1図における
と同様の過程でリセツト信号rstを中央処理装置
CPUに伝達すると、中央処理装置CPUはリセツ
トアドレスレジスタREGを参照し、リセツトア
ドレス設定処理S3においてリセツトアドレスレ
ジスタREGに設定されたリセツトアドレスa3
を抽出し、記憶装置MEMおよび内蔵レジスタ類
を初期設定した後、対応する部分処理J3から再
開する。
(e) Embodiment of the invention An embodiment of the invention will be described below with reference to the drawings. FIG. 3 is a diagram showing a reset method according to an embodiment of the present invention, and FIG. 4 is a diagram showing an example of the processing process in FIG. 1. Note that the same reference numerals indicate the same objects throughout the figures. In Figure 3, the keyword identification section KY, reset address selector SEL, and reset address register are shown.
REG is central processing unit CPU ports P1 and P
Connected to 2. 3 and 4, before starting partial processing J1 as shown in FIG. 1, the central processing unit CPU transmits a predetermined keyword from port P1 to keyword identification section KY, and then transmits a predetermined keyword to reset address selector SEL.
The start of partial processing J1 is notified to . The reset address selector SEL selects a predetermined reset address a1 corresponding to the partial process J1 and sets it in the reset address register REG. After the above reset address setting process S1 is completed,
The central processing unit CPU starts partial processing J1.
After finishing the partial process J1 and before starting the partial process J2, the central processing unit CPU transmits the keyword from the port P1 to the keyword identifying section KY, and then notifies the reset address selector SEL of the start of the partial process J2. The reset address selector SEL selects a predetermined reset address a2 corresponding to the partial process J2 and sets it in the reset address register REG. After the above reset address setting processing S2 is completed, the central processing unit CPU starts partial processing J2. Partial processing J
After completing 2, before starting partial processing J3,
After transmitting the keyword to the keyword identification unit KY from port P1, the central processing unit CPU notifies the reset address selector SEL to start partial processing J3. The reset address selector SEL is
A predetermined reset address a3 corresponding to partial processing J3 is selected and set in the reset address register REG. After the above reset address setting process S3 is completed, the central processing unit CPU starts partial process J3. In this process, if the central processing unit CPU falls into a runaway state while executing partial processing J3, for example, there is a risk that the memory contents of the storage device MEM or the accumulated contents of the built-in registers of the central processing unit CPU will be destroyed. However, since the reset address selector SEL and the reset address register REG are protected by the keyword identification unit KY, the reset address a3 being set in the reset address register REG is held without being destroyed. The monitoring time limit circuit TM sends the reset signal rst to the central processing unit in the same process as in Fig. 1.
When transmitted to the CPU, the central processing unit CPU refers to the reset address register REG and sets the reset address a3 set in the reset address register REG in the reset address setting process S3.
After extracting and initializing the storage device MEM and built-in registers, the process resumes from the corresponding partial process J3.

以上の説明から明らかな如く、本実施例によれ
ば、部分処理J3を実行中に暴走状態に陥り、監
視時限回路TMからリセツト信号rstを伝達され
た中央処理装置CPUはリセツトアドレスレジス
タREGを参照し、部分処理J3開始に先立ちリ
セツトアドレス設定処理S3により設定され、暴
走状態においても破壊されること無く保持された
リセツトアドレスa3に基づき部分処理J3から
再開する。従つて暴走状態発生以前の部分処理J
3と継続性が保たれる。
As is clear from the above explanation, according to this embodiment, the central processing unit CPU, which falls into a runaway state while executing partial processing J3 and receives the reset signal rst from the monitoring time limit circuit TM, refers to the reset address register REG. However, the process restarts from the partial process J3 based on the reset address a3, which is set by the reset address setting process S3 prior to the start of the partial process J3 and is maintained without being destroyed even in a runaway state. Therefore, partial processing J before the runaway state occurs
3 and continuity is maintained.

なお、第3図および第4図はあく迄本発明の一
実施例に過ぎず、例えば暴走状態は部分処理J3
を実行中に発生するものに限定されることは無
く、部分処理J1およびJ2を実行中に発生する
ことも考慮されるが、何れの場合にも本発明の効
果は変わらない。また中央処理装置CPUの全処
理過程は三つの部分処理J1乃至J3により構成
されるものに限定されることは無く、他に幾多の
変形が考慮されるが、何れの場合にも本発明の効
果は変らない。更に情報処理システムの構成は図
示されるものに限定されぬことは言う迄も無い。
Note that FIGS. 3 and 4 are only one embodiment of the present invention, and for example, a runaway state can be handled by partial processing J3.
The present invention is not limited to what occurs during the execution of J1 and J2, and may occur during the execution of the partial processes J1 and J2, but the effects of the present invention remain the same in either case. Further, the entire processing process of the central processing unit CPU is not limited to one consisting of three partial processes J1 to J3, and many other modifications may be considered, but the effects of the present invention can be achieved in any case. remains unchanged. Furthermore, it goes without saying that the configuration of the information processing system is not limited to what is illustrated.

(f) 発明の効果 以上、本発明によれば、前記情報処理システム
において、リセツト状態となつた中央処理装置は
暴走状態発生以前に実行中の部分処理から再開す
ることが出来、処理の継続性が達成される。
(f) Effects of the Invention As described above, according to the present invention, in the information processing system, the central processing unit that has entered the reset state can restart from the partial processing that was being executed before the runaway state occurred, thereby improving the continuity of processing. is achieved.

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

第1図は従来あるリセツト方式の一例を示す
図、第2図は第1図における処理過程の一例を示
す図、第3図は本発明の一実施例によるリセツト
方式を示す図、第4図は第3図における処理過程
の一例を示す図である。 図において、aはアドレス、a1乃至a3はリ
セツトアドレス、acはアクセス信号、CPUは中
央処理装置、dはデータ、J1乃至J3は部分処
理、KYはキーワード識別部、MEMは記憶装置、
P1およびP2はポート、REGはリセツトアド
レスレジスタ、rstはリセツト信号、S1乃至S
3はリセツトアドレス設定処理、SELはリセツト
アドレスセレクタ、TMは監視時限回路、を示
す。
FIG. 1 is a diagram showing an example of a conventional reset method, FIG. 2 is a diagram showing an example of the processing process in FIG. 1, FIG. 3 is a diagram showing a reset method according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of the processing process in FIG. 3. FIG. In the figure, a is an address, a1 to a3 are reset addresses, ac is an access signal, CPU is a central processing unit, d is data, J1 to J3 are partial processing, KY is a keyword identification unit, MEM is a storage device,
P1 and P2 are ports, REG is a reset address register, rst is a reset signal, S1 to S
3 represents a reset address setting process, SEL represents a reset address selector, and TM represents a monitoring time limit circuit.

Claims (1)

【特許請求の範囲】 1 全処理過程が複数の部分処理からなり、前記
部分処理を中央処理装置が実行する際に、前記中
央処理装置の動作状態を監視し、暴走状態を検出
した場合に前記中央処理装置を強制的にリセツト
させる監視回路を具備する情報処理システムにお
いて、 前記部分処理の実行に先立つて前記中央処理装
置から送出される予め定められたキーワードを識
別するキーワード識別部と、前記中央処理装置か
らキーワード送出後に送出される部分処理開始通
知に対応するリセツトアドレスを選択して設定す
るレジスタ手段とを設け、 前記監視回路によるリセツト後は前記レジスタ
手段に設定中のアドレスに基づき中断された前記
部分処理から再開することを特徴とするリセツト
方式。
[Scope of Claims] 1. The entire processing process consists of a plurality of partial processes, and when the central processing unit executes the partial processes, the operating state of the central processing unit is monitored, and if a runaway state is detected, the above-mentioned In an information processing system comprising a monitoring circuit for forcibly resetting a central processing unit, the keyword identification unit identifies a predetermined keyword sent from the central processing unit prior to execution of the partial processing; and register means for selecting and setting a reset address corresponding to a partial processing start notification sent after the keyword is sent from the processing device, and after the reset by the monitoring circuit, the processing is interrupted based on the address being set in the register means. A reset method characterized by restarting from the partial processing.
JP58155409A 1983-08-25 1983-08-25 Resetting system Granted JPS6048546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58155409A JPS6048546A (en) 1983-08-25 1983-08-25 Resetting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58155409A JPS6048546A (en) 1983-08-25 1983-08-25 Resetting system

Publications (2)

Publication Number Publication Date
JPS6048546A JPS6048546A (en) 1985-03-16
JPS6355089B2 true JPS6355089B2 (en) 1988-11-01

Family

ID=15605349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58155409A Granted JPS6048546A (en) 1983-08-25 1983-08-25 Resetting system

Country Status (1)

Country Link
JP (1) JPS6048546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01281128A (en) * 1988-05-02 1989-11-13 Daiken Trade & Ind Co Ltd Assembly for dehumidification

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5332646A (en) * 1976-09-08 1978-03-28 Hitachi Ltd Reexecutionable electronic computer
JPS57164343A (en) * 1981-03-31 1982-10-08 Fujitsu Ltd Check point save system
JPS58114251A (en) * 1981-12-28 1983-07-07 Nec Corp Data processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5332646A (en) * 1976-09-08 1978-03-28 Hitachi Ltd Reexecutionable electronic computer
JPS57164343A (en) * 1981-03-31 1982-10-08 Fujitsu Ltd Check point save system
JPS58114251A (en) * 1981-12-28 1983-07-07 Nec Corp Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01281128A (en) * 1988-05-02 1989-11-13 Daiken Trade & Ind Co Ltd Assembly for dehumidification

Also Published As

Publication number Publication date
JPS6048546A (en) 1985-03-16

Similar Documents

Publication Publication Date Title
EP0319034A2 (en) Method of recovering failure of online control program
US7975188B2 (en) Restoration device for BIOS stall failures and method and computer program product for the same
EP0486304B1 (en) Initialising computer systems
CN114064132A (en) System downtime recovery method, device, equipment and system
EP1640865A2 (en) Process management system
US7721083B2 (en) CPU runaway determination circuit and CPU runaway determination method
US4839895A (en) Early failure detection system for multiprocessor system
JP2013254379A (en) Information communication device and operation log storage method when the device hangs up
CN115904793B (en) Memory transfer method, system and chip based on multi-core heterogeneous system
JPS6355089B2 (en)
JP2965075B2 (en) Program execution status monitoring method
KR20210113595A (en) Anomaly handling method, terminal device and storage medium
EP0509479B1 (en) Multiprocessor system
JPH1153225A (en) Fault processor
JP4633553B2 (en) Debug system, debugging method and program
JPH05216855A (en) Multi-cpu control system
JPH09212470A (en) Multiprocessor system
JP2882459B2 (en) Error information collection test system
JP2574938B2 (en) System startup method
JPH0244436A (en) Information processing monitoring system
JPS61221850A (en) Loading system for reinitialization program
CN113835761A (en) Operating system starting method and electronic equipment
JPH0827748B2 (en) Memory information automatic collection device
CN116860546A (en) Log storage method, vehicle-mounted equipment, storage medium and chip
JP2005078123A (en) Failure detection system and method and its program