JPS59229658A - Information processor - Google Patents

Information processor

Info

Publication number
JPS59229658A
JPS59229658A JP58104368A JP10436883A JPS59229658A JP S59229658 A JPS59229658 A JP S59229658A JP 58104368 A JP58104368 A JP 58104368A JP 10436883 A JP10436883 A JP 10436883A JP S59229658 A JPS59229658 A JP S59229658A
Authority
JP
Japan
Prior art keywords
exception
history storage
state history
information
storage means
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
JP58104368A
Other languages
Japanese (ja)
Inventor
Kazuhiko Maekawa
和彦 前川
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 Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58104368A priority Critical patent/JPS59229658A/en
Publication of JPS59229658A publication Critical patent/JPS59229658A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

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

Abstract

PURPOSE:To investigate easily the cause of an incorrect exception by stopping the operation of a status history storage means when the incorrect exception is generated, and reading out information stored in the state history storage means. CONSTITUTION:When an exception detecting part 31 detects an exception during the execution of a program by an operation control part 3, the detected signal is sent to a state history storage control part 34 through an exception detecting part 32 and the operation of the status history storage part 33 is stopped. Subsequently, information stored in the status history storage part 33 is read out and stored in an exception information saving area in a storage part 1. After the completion of reading-out from the state history storage part 33, a diagnosis control part 21 specifies the start of the operation of the state history storage part 33.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置における例外処理に関し、特に状
態履歴記憶手段を使用した例外情報処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to exception processing in an information processing device, and particularly to an exception information processing method using state history storage means.

(従来技術) 従来この種の情報処理装置では、例外を検出すると例外
番号に対応したプログラムルーチンを起動し、以降はす
べてプログラムによる処理を行っていた。例外は、主と
してプログラムのエラーによυ引き起こされるものでお
る。しかし、時にはハードウェアの障害によシ装置が誤
動作し、その結果として例外が発生することもめる。
(Prior Art) Conventionally, in this type of information processing device, when an exception is detected, a program routine corresponding to the exception number is activated, and thereafter all processing is performed by the program. Exceptions are mainly caused by program errors. However, sometimes a hardware failure causes the device to malfunction, resulting in an exception.

したがって、プログラムエラーに起因して例外が発生し
たのであれば、例外によシ起動されたプログラムの処理
によって、そのエラーの原因が明らかになる。しかし、
ハードウェアの障害に起因して例外が発生したのであれ
ば、例外により起動されたプログラムの処理のみでは、
そのエラーの原因を究明することが困難であるという欠
点があった。
Therefore, if an exception occurs due to a program error, the cause of the error becomes clear through the processing of the program started by the exception. but,
If the exception occurred due to a hardware failure, the processing of the program started by the exception alone will not solve the problem.
There was a drawback that it was difficult to investigate the cause of the error.

そこで、例外が発生したときのハードウェアの状態を保
守診断装置にログする方式が提案されていた。しかし、
仮想記憶によシページング処理を行っていると機能的な
例外が多く発生するため、例外が発生するごとに保守診
断装置が動作していたのでは性能が低下してしまうとい
う欠点があった。
Therefore, a method has been proposed in which the state of the hardware when an exception occurs is logged in a maintenance diagnostic device. but,
When paging processing is performed using virtual memory, many functional exceptions occur, so if the maintenance/diagnosis device were to operate every time an exception occurred, performance would deteriorate.

また、ハードウェアの障害により例外が発生したときに
は、その時点での情報も重要であるが、通常は例外が発
生するに至った経過情報がさらに重要であり、従来の装
置においては経過情報を得ることができないという欠点
があった。
In addition, when an exception occurs due to a hardware failure, information at that point is important, but information about the progress that led to the occurrence of the exception is usually even more important, and with conventional equipment, progress information cannot be obtained. The drawback was that it could not be done.

(発明の目的) 本発明の目的は、不正な例外が発生したときに状態履歴
記憶手段の動作を停止場せ、状態履歴記憶手段に記憶さ
れている情報を読出して保持し、プログラムからの指示
によシ前記情報をプログラム処理が可能なエリアに転送
することによシ上記欠点を解決し、不正な例外を発生す
る原因の究明が極めて容易にできるように構成した情報
処理装置を提供することにある。
(Object of the Invention) The object of the present invention is to stop the operation of the state history storage means when an illegal exception occurs, read out and hold the information stored in the state history storage means, and read and hold the information stored in the state history storage means, To provide an information processing device that solves the above drawbacks by transferring the information to an area where it can be processed by a program, and is configured so that it is extremely easy to investigate the cause of an incorrect exception. It is in.

(発明の構成) 本発明によゐ情報処理装置は記憶部と、システム制御部
と、演算制御部と、入出力制御部と、保守診断装置とか
ら成るものであって、上記構成要素に状態履歴手段と、
第1および第2の例外検出手段と、上記状態履歴記憶手
段を制御するための各手段とを含むものである。
(Structure of the Invention) An information processing device according to the present invention is composed of a storage section, a system control section, an arithmetic control section, an input/output control section, and a maintenance/diagnosis device. history means;
It includes first and second exception detection means and means for controlling the state history storage means.

第1の例外検出手段は例外を検出するためのものであシ
、第2の例外検出手段は第1の例外検出手段によシ検出
された例外があらかじめ定められている範−0例外であ
ることを検出するためのものである。
The first exception detection means is for detecting an exception, and the second exception detection means is for detecting an exception such that the exception detected by the first exception detection means is a predetermined range-0 exception. This is to detect that.

一方、状態履歴記憶手段を制御するための各手段は停止
手段と、読出し手段と、保持手段と、開始手段と、移送
手段とを含むものである。
On the other hand, each means for controlling the state history storage means includes a stopping means, a reading means, a holding means, a starting means, and a transferring means.

停止手段は第2の例外検出手段の出力によシ状態履歴記
憶手段の動作を停止させるためのものであシ、読出し手
段は上記動作が停止した状態履歴記憶手段から情報を読
出すためのものである。保持手段は読出された情報を保
持するためのものであシ、開始手段は状態履歴記憶手段
から情報の読出しが組子した後に、状態履歴記憶手段の
動作を開始させるためのものである。移送手段は命令ま
たはコマンドの指示にょシ保持手段よシ記憶部の指示さ
れたエリアへ保持されている情報を移送するためのもの
である。
The stopping means is for stopping the operation of the state history storage means based on the output of the second exception detection means, and the reading means is for reading information from the state history storage means whose operation has stopped. It is. The holding means is for holding the read information, and the starting means is for starting the operation of the state history storage means after the information has been read from the state history storage means. The transfer means is for transferring the information held by the holding means to the designated area of the storage section in response to instructions or commands.

(実施例) 次に本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

本発明の第一の実施例を示す第1図において、1Fi記
憶部、2Fiシステム制御部、3i/′i演算制御部、
4Fi入出力制御部、5Fi保守診断装置、21は診断
制御部、22は記憶部アクセス制御部、31は第1の例
外検出部、32は第2の例外検出部、33Fi状態履歴
記憶部、34Fi状態履M記憶制御部、al”−84は
アドレス信号線、ω1〜ω4は書込みデータ信号線、r
l %i4 Fi読出しデータ信号線、el 、e2 
 *jl  、t2  、t4はそれぞれ制御信号線、
t3は状態履歴記憶部情報読出し信号線をそれぞれ示し
ている。第2図は、第1図に示した配憶部1の構成を詳
細に示した図である。記憶部IFi境界13によυ大き
く分けて2つのエリア11.12に分けられている。エ
リア12は通常プログラムを格納したり、データを格納
したりするエリアで、プログラムによりアクセスするこ
とが可能である。エリア11はマイクロプログラムや情
報処理装置の制御テーブルを格納しているエリアで、こ
のエリアをプログラムから直接アクセスすることはでき
ない。例外情報セーブエリア14Fiエリア11の中に
置かれてあり、大きく2つのエリア141.142に分
けられている。
In FIG. 1 showing the first embodiment of the present invention, a 1Fi storage section, a 2Fi system control section, a 3i/'i calculation control section,
4Fi input/output control unit, 5Fi maintenance diagnosis device, 21 is a diagnosis control unit, 22 is a storage access control unit, 31 is a first exception detection unit, 32 is a second exception detection unit, 33Fi state history storage unit, 34Fi Status register M storage control unit, al''-84 is an address signal line, ω1 to ω4 are write data signal lines, r
l %i4 Fi read data signal line, el, e2
*jl, t2, t4 are control signal lines, respectively.
t3 indicates a state history storage unit information read signal line. FIG. 2 is a diagram showing in detail the configuration of the storage unit 1 shown in FIG. 1. It is roughly divided into two areas 11 and 12 by the storage unit IFi boundary 13. Area 12 is an area where programs or data are normally stored, and can be accessed by the program. Area 11 is an area that stores microprograms and control tables for the information processing device, and cannot be accessed directly from the program. Exception information save area 14 is placed in the Fi area 11 and is roughly divided into two areas 141 and 142.

演算制御部3によってプログラム実行中に%第1の例外
検出部31によシ例外を検出すると、検出信号が制御信
号線elを通って第2の例外検出部32に送出される。
When the arithmetic control section 3 detects an exception by the first exception detection section 31 during program execution, a detection signal is sent to the second exception detection section 32 through the control signal line el.

第1の例外検出部31によシ検出された例外が不正な例
外であるか、あるいは機能的な例外であるかを第2の例
外検出部32によシ調査する。つまシ、例外番号を調査
したときに、ある特定な例外番号群が見出されたならば
、不正々例外が発生したものと検出される。検出された
信号は、制御信号線egを通って状態履歴記憶制御部3
4に送出される。このとき、不正な例外処理を実行する
だめのマイクロプログラムが起動される。このマイクロ
プログラムは演算制御部3の内部のレジスタやスクラッ
チパッドメモリなどの内容を読出し、記憶部1の例外情
報セーブエリア142に格納した後、例外処理プログラ
ムを状態履歴記憶部33の動作の停止指示を制御信号線
t4を介して行うとともに、状態履歴記憶部33の動作
が停止したことを制御信号線t1を通して診断制御部2
1に通知する。状態履歴記憶部33の動作が不正な例外
で停止したことを知ると診断制御部21は状態履歴記憶
部情報読出し信号線tsを介して状態履歴記憶部33に
記憶されている情報を読出し、記憶部10例外情報セー
ブエリア141に格納する。診断制御部21は、状態履
歴記憶部33からの読出しが終了した後、制御信号線t
2を介して状態履歴記憶部33の動作の開始を指示する
The second exception detection section 32 investigates whether the exception detected by the first exception detection section 31 is an invalid exception or a functional exception. Finally, if a specific group of exception numbers is found when examining the exception numbers, it is detected that an unauthorized exception has occurred. The detected signal passes through the control signal line eg to the state history storage control unit 3.
Sent on 4th. At this time, a microprogram that executes illegal exception handling is activated. This microprogram reads the contents of the internal registers and scratchpad memory of the arithmetic control unit 3, stores them in the exception information save area 142 of the storage unit 1, and then instructs the exception handling program to stop the operation of the state history storage unit 33. is carried out via the control signal line t4, and the diagnosis control unit 2 indicates that the operation of the state history storage unit 33 has stopped via the control signal line t1.
Notify 1. Upon learning that the operation of the state history storage section 33 has stopped due to an invalid exception, the diagnostic control section 21 reads out the information stored in the state history storage section 33 via the state history storage section information readout signal line ts, and stores the information. Section 10 stores the exception information in the save area 141. After the diagnostic control unit 21 finishes reading from the state history storage unit 33, the diagnostic control unit 21 connects the control signal line t.
2 to start the operation of the state history storage section 33.

例外によシ起動されたプログラムは、例外状況を調べて
例外を発生したプログラムの続行が不可能であると判断
したときには、このプログラムによシアボート処理を実
行する。プログラムの続行が可能なときには、例外処理
プログラムにより必要な処理を実行した後、例外発生プ
ログラムに起動をかける。一方、例外の発生によりシス
テムの運転続行が不可能であると判断したときには、シ
ステムクラッシュ処理を実行する。プログラムアボート
、システムクラッシュなどの処理ハ、フログラムエラー
に起因して発生する例外によっても引き起こされ、ハー
ドウェアの障害に起因して発生する例外によっても引き
起こされる。通常、ハードウェアの障害は障害検出回路
によシ検出されるが、時には検出されずにデータが誤り
、例外になることもめる。したがって、プログラムアボ
ートあるいはシステムクラッシュなどのルーチンによシ
例外情報セーブエリア14のための読出し命令が発行さ
れ、エリア11にある例外情報がエリア12のなかの任
意のエリア15.16に読出され、他のプログラム環境
情報と共に磁気ディスクへ退避したシ、プリンタに出力
したシされる。エリア11はプログラムによシアクセス
できないため、例外情報セーブエリア14の内容の読出
しのための専用命令が設けである。この命令によればエ
リア14のなかの任意のエリアを指示することができる
。したがって、演算制御部3ではこの命令を実行するマ
イクロプログラムルーチンを起動し、このマイクロプロ
グラムによシ固定エリア14の情報を読出して指示され
たエリア15゜16に書込むことによシ命令機能を実現
している。
When a program started by an exception examines the exception status and determines that it is impossible to continue the program that generated the exception, the program executes a teardown process. If the program can continue, the exception handling program executes the necessary processing and then starts the exception generating program. On the other hand, when it is determined that it is impossible to continue operating the system due to the occurrence of an exception, system crash processing is executed. Processing processes such as program aborts and system crashes are also caused by exceptions that occur due to program errors, and are also caused by exceptions that occur due to hardware failures. Usually, hardware failures are detected by a failure detection circuit, but sometimes they go undetected and result in data errors or exceptions. Therefore, a read command for the exception information save area 14 is issued by a routine such as a program abort or a system crash, and the exception information in area 11 is read out to any area 15 or 16 in area 12. The file is saved to a magnetic disk along with the program environment information, and the file is output to a printer. Since the area 11 cannot be accessed by the program, a dedicated instruction is provided for reading the contents of the exception information save area 14. According to this command, any area within the area 14 can be specified. Therefore, the arithmetic control unit 3 activates a microprogram routine to execute this instruction, and the microprogram reads out the information in the fixed area 14 and writes it to the designated areas 15 and 16, thereby executing the instruction function. It has been realized.

指示されたエリア15がエリア12のなかに存在するか
、否かは常にチェックされている。もし、エリア12の
なかにエリア15が存在しなければ例外として検出され
、状態履歴記憶部33は決められたサンプルタイミング
ごとに決められた情報を記録し続ける。通常、演算制御
部3によシ障害が検出されたときには、状態履歴記憶部
33は動作を停止し、診断制御部21を介して他の障害
情報とともに保守診断装置5によシ続出される。
Whether or not the designated area 15 exists within the area 12 is constantly checked. If area 15 does not exist in area 12, it is detected as an exception, and state history storage section 33 continues to record predetermined information at predetermined sample timings. Normally, when a fault is detected by the arithmetic control section 3, the state history storage section 33 stops operating, and the information is continuously outputted to the maintenance diagnostic device 5 along with other fault information via the diagnostic control section 21.

本実施例では、状態履歴記憶部33から読出された情報
の保持手段として記憶部1を使用したが、診断制御部2
1や保守診断装置5などに保持しても良い。
In this embodiment, the storage unit 1 is used as a storage means for the information read out from the state history storage unit 33, but the diagnostic control unit 2
1 or the maintenance/diagnosis device 5.

(発明の効果) 本発明には以上説明したように、不正な例外が発生した
ときに・性能を低下させる゛ことなく状態履歴記憶装置
の動作を停止させ、記憶されている情報を読出して保持
し、プログラムからの指示によシブログラム処理が可能
なエリアに対してこれを転送するように構成することに
よシ、不正な例外によシブログラムアボートまたはシス
テムクラッシュが発生したときの原因の究明を効率的に
行うことができるという効果がある。
(Effects of the Invention) As explained above, the present invention has the following advantages: When an illegal exception occurs, the operation of the state history storage device is stopped without deteriorating the performance, and the stored information is read and retained. By configuring this to be transferred to an area where siprogram processing is possible according to instructions from the program, it is possible to investigate the cause when a siprogram abort or system crash occurs due to an invalid exception. This has the effect of being able to be carried out efficiently.

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

第1図は、本発明による情報処理装置の一実施例を示す
ブロック図である。 第2図は、第1図に示した記憶部の詳細を示すブロック
図である。 1−・・記憶部 2・・拳システム制御部 3・命・演算制御部 4・・・入出力制御部 5・・・保守診断装置 11〜16,141,142,151,152゜161
.162・の・メモリエリア 13・@ψエリア間境界 21・・・診断制御部 22・・・記憶部アクセス制御部 31.32・・・例外検出部 33・・・状態履歴記憶部 34・・・状態履歴記憶制御部 al  ′a4  、ω1  ”−114、rl ”=
r4  、el 、e2  。 11〜t4  ・・e−・信号線
FIG. 1 is a block diagram showing an embodiment of an information processing apparatus according to the present invention. FIG. 2 is a block diagram showing details of the storage section shown in FIG. 1. 1-...Storage unit 2...Fist system control unit 3-Life/arithmetic control unit 4...Input/output control unit 5...Maintenance diagnosis device 11-16,141,142,151,152゜161
.. 162.Memory area 13.@ψ inter-area boundary 21...Diagnosis control unit 22...Storage access control unit 31.32...Exception detection unit 33...State history storage unit 34... State history storage control unit al ′a4, ω1 ”-114, rl ”=
r4, el, e2. 11~t4...e--signal line

Claims (1)

【特許請求の範囲】 記憶部と、システム制御部と、演算制御部と。 入出力制御部と、保守診断装置とから・成り、状態履歴
記憶手段を備えた情報処理装置において、例外を検出す
るだめの第1の例外検出手段と、第1の例外検出手段に
より検出された例外があらかじめ決められている範畷の
例外であることを検出するための第2の例外検出手段と
、前記第2の例外検出手段の出力によシ前配状態履歴記
憶手段の動作を停止させるための停止手段と、前記動作
が停止した状態履歴記憶手段から情報を読出すだめの読
出し手段と、前記読出された情報を保持するための、保
持手段と、前記状態履歴記憶手段から情報の続出しが紹
了した彼に前記状態履歴記憶手段の動作を開始させるた
めの開始手段と、命令またはコマンドの指示により前記
保持手段より前記記憶部の指示されたエリアへ前記保持
されている情報を移送するための移送手段とを具備した
ことを特徴とする情報処理装置。
[Claims] A storage unit, a system control unit, and an arithmetic control unit. In an information processing device comprising an input/output control unit and a maintenance diagnosis device and equipped with a state history storage means, a first exception detection means for detecting an exception; a second exception detection means for detecting that the exception falls within a predetermined range; and an output of the second exception detection means to stop the operation of the front state history storage means. a reading means for reading information from the state history storage means whose operation has stopped; a holding means for holding the read information; and a continuation of information from the state history storage means. a starting means for causing the state history storage means to start operating the state history storage means; and a start means for causing the state history storage means to start operating the state history storage means, and transferring the stored information from the storage means to a designated area of the storage unit in response to an instruction or a command. An information processing device characterized by comprising: a transfer means for
JP58104368A 1983-06-10 1983-06-10 Information processor Pending JPS59229658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58104368A JPS59229658A (en) 1983-06-10 1983-06-10 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58104368A JPS59229658A (en) 1983-06-10 1983-06-10 Information processor

Publications (1)

Publication Number Publication Date
JPS59229658A true JPS59229658A (en) 1984-12-24

Family

ID=14378865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58104368A Pending JPS59229658A (en) 1983-06-10 1983-06-10 Information processor

Country Status (1)

Country Link
JP (1) JPS59229658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1217527A1 (en) * 2000-12-20 2002-06-26 Seiko Epson Corporation Terminal device and method of controlling transmission in the terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57182860A (en) * 1981-05-06 1982-11-10 Mitsubishi Electric Corp Data processing device
JPS585862A (en) * 1981-07-03 1983-01-13 Fujitsu Ltd Controlling system for history memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57182860A (en) * 1981-05-06 1982-11-10 Mitsubishi Electric Corp Data processing device
JPS585862A (en) * 1981-07-03 1983-01-13 Fujitsu Ltd Controlling system for history memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1217527A1 (en) * 2000-12-20 2002-06-26 Seiko Epson Corporation Terminal device and method of controlling transmission in the terminal device
US6811334B2 (en) 2000-12-20 2004-11-02 Seiko Epson Corporation Transmission control device and transmission control method for a terminal apparatus
US7011461B2 (en) 2000-12-20 2006-03-14 Seiko Epson Corporation Transmission control device and transmission control method for a terminal apparatus

Similar Documents

Publication Publication Date Title
US4740969A (en) Method and apparatus for recovering from hardware faults
RU2137182C1 (en) Execution of data processing instruction
JPH02294739A (en) Fault detecting system
JPS59229658A (en) Information processor
JPS6255173B2 (en)
JPS6146535A (en) Pseudo error setting control system
JP2550708B2 (en) Debug method
JP2624798B2 (en) Processing unit debugging mechanism
JP2786215B2 (en) Restart processing control method
JPS62107354A (en) Microprogram control device
JP2684966B2 (en) I / O processor debug device
JPS59183443A (en) Debug device
JPH0149975B2 (en)
JP2584466B2 (en) Disk controller self-diagnosis method
JPH07152594A (en) Retry control system for control processor
JPH01166140A (en) Information processor diagnosing system
JPS6228841A (en) Input/output processor
JPH0395634A (en) Restart control system for computer system
JPS63193241A (en) Information processor
JPH0769846B2 (en) Error processing circuit verification device
JPH02244232A (en) Information processor
JPS63111547A (en) Memory control system
JPH02122335A (en) Test method for ras circuit
JPH0724033B2 (en) Development support device
JPS61269746A (en) Information processor