JPS6232816B2 - - Google Patents

Info

Publication number
JPS6232816B2
JPS6232816B2 JP56214560A JP21456081A JPS6232816B2 JP S6232816 B2 JPS6232816 B2 JP S6232816B2 JP 56214560 A JP56214560 A JP 56214560A JP 21456081 A JP21456081 A JP 21456081A JP S6232816 B2 JPS6232816 B2 JP S6232816B2
Authority
JP
Japan
Prior art keywords
trace
processing
data
time
abnormality
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
JP56214560A
Other languages
Japanese (ja)
Other versions
JPS58112147A (en
Inventor
Yoshinori Maeda
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 JP56214560A priority Critical patent/JPS58112147A/en
Publication of JPS58112147A publication Critical patent/JPS58112147A/en
Publication of JPS6232816B2 publication Critical patent/JPS6232816B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明は、データ処理システムにおいて、障害
発生時の解析に使用する情報を収集するためのト
レース処理制御方式に関し、特にデータ処理の過
程で異常データを検出したときに、自動的にトレ
ース処理機能の起動あるいは停止を行なうトレー
ス処理制御方式に関する。
[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention relates to a trace processing control method for collecting information used for analysis when a failure occurs in a data processing system, and particularly relates to a trace processing control method for collecting information used for analysis when a failure occurs in a data processing system. The present invention relates to a trace processing control method that automatically starts or stops a trace processing function when data is detected.

(2) 従来技術と問題点 従来、データ処理システムにおけるトレース機
能は、障害が発生した場合の障害発生状況の再現
テストにおける情報収集や、機器の新規構成ある
いは増設、変更を行なつた場合の、接続テスト時
の情報収集などのために使用され、通常のシステ
ム運用中には使用されることがなかつた。したが
つて、システム運用中に再現性のある障害が何度
も起きた場合にも、そのときの状況は記録される
ことがなく、あとで再び障害発生時の状況を設定
してからトレース機能を起動し、障害状況診断の
ための必要情報を収集するということを行なつて
いた。また、このような操作は、ユーザーにとつ
てかなりの負担となる点で問題があつた。
(2) Prior art and problems Traditionally, trace functions in data processing systems have been used to collect information in a reproduction test of the failure situation when a failure occurs, and to collect information when a new configuration, expansion, or change of equipment is performed. It was used to collect information during connection tests, and was never used during normal system operation. Therefore, even if a reproducible failure occurs many times during system operation, the situation at that time will not be recorded, and the situation at the time of failure will be set again later before the trace function , and collected the necessary information for diagnosing the failure situation. Further, such operations pose a problem in that they place a considerable burden on the user.

(3) 発明の目的 本発明は、このため、再現性がある可能性の高
い障害に対して、早期にトレース機能を起動して
情報を収集し、早期の障害解析を可能にするとと
もに、トレース機能の起動を自動化することによ
り、ユーザの負担を軽減することを目的とするも
のである。
(3) Purpose of the Invention For this reason, the present invention enables early activation of the trace function to collect information for failures that are likely to be reproducible, enables early failure analysis, and The purpose is to reduce the burden on the user by automating the activation of functions.

(4) 発明の構成 本発明は、上述した目的を達成するための構成
として、データ処理システムにおいて、データ処
理異常を検出するためのデータ解析手段と、デー
タ処理における処理経過情報を収集するためのト
レース処理手段と、時間監視機能を有しトレース
処理手段の起動および停止を制御するトレース機
能制御手段とをそなえ、該トレース機能制御手段
は、上記データ解析手段が異常を検出したときに
上記トレース処理手段を起動し、そして一定時間
内に上記データ解析手段が再び異常を検出したと
きあるいは再び異常を検出することなく上記一定
時間が経過したときに、該トレース処理手段の機
能を停止させる制御を行ない、再現性のある障害
のトレースデータを効率的に作成可能にすること
を特徴としている。
(4) Structure of the Invention The present invention, as a structure for achieving the above-mentioned object, includes a data analysis means for detecting data processing abnormalities and a data analysis means for collecting processing progress information in data processing in a data processing system. The trace processing means is provided with a trace processing means and a trace function control means that has a time monitoring function and controls starting and stopping of the trace processing means, and the trace function control means performs the trace processing when the data analysis means detects an abnormality. Control is performed to start the trace processing means and to stop the function of the trace processing means when the data analysis means detects an abnormality again within a certain period of time or when the certain period of time has elapsed without detecting an abnormality again. , is characterized by the ability to efficiently create reproducible fault trace data.

第1図は、上記の構成の説明図である。図にお
いて、1はデータ処理システム内の処理データ、
2はデータの異常を検出するデータ解析手段、3
はスイツチで、4の通常処理手段のみの処理状態
と5のトレース処理手段を機能させた処理状態
とを切換える作用をもち、6は該スイツチ3の
切換えを制御するトレース機能制御手段をそれぞ
れ示している。
FIG. 1 is an explanatory diagram of the above configuration. In the figure, 1 indicates processing data in the data processing system;
2 is a data analysis means for detecting abnormalities in data; 3
is a switch which has the function of switching between the processing state of only the normal processing means 4 and the processing state where the trace processing means 5 is activated, and 6 indicates trace function control means for controlling switching of the switch 3. There is.

システムの正常処理状態においては、スイツチ
3が側にあり、トレース処理なしの通常処理が
行なわれている。データ解析手段2は、処理デー
タ1中に何らかの異常状態を検出すると、異常検
出信号をトレース機能制御手段6に送る。
In the normal processing state of the system, switch 3 is on the side, and normal processing without trace processing is performed. When the data analysis means 2 detects any abnormal state in the processed data 1, it sends an abnormality detection signal to the trace function control means 6.

トレース機能制御手段6は、データ解析手段2
からの異常検出信号が1回目のものか2回目のも
のかを調べ、1回目のものであれば、スイツチ3
を側に切換えて、トレース処理手段5を起動し
て該手段を機能状態に置く。この結果、以後に行
なわれるデータ処理については処理経過情報の収
集が行なわれる。またこのとき、トレース機能制
御手段6は、異常発生後の一定期間処理状態を監
視するため、処理経過情報を収集する時間Tを設
定する。時間Tが経過したとき、トレース処理を
停止するためにスイツチ3を側に切換え、通常
処理状態に戻す。また、時間Tの途中において、
データ解析手段2が再び異常データを検出した場
合には、異常解析にもつとも有効な情報である異
常発生直前の処理経過情報をすでに収集していた
ものと判断されるので、このときもその後のトレ
ース処理を停止する制御を行なう。
The trace function control means 6 is the data analysis means 2
Check whether the abnormality detection signal from is the first or second time, and if it is the first time, switch 3
is switched to the side and the trace processing means 5 is activated to put it into a functional state. As a result, processing progress information is collected for subsequent data processing. Also, at this time, the trace function control means 6 sets a time T for collecting processing progress information in order to monitor the processing state for a certain period of time after the occurrence of an abnormality. When the time T has elapsed, the switch 3 is turned to the side to stop the trace processing, and the normal processing state is returned. Also, in the middle of time T,
If the data analysis means 2 detects abnormal data again, it is determined that it has already collected processing progress information immediately before the abnormality occurrence, which is useful information for abnormality analysis, so that subsequent tracing Performs control to stop processing.

(5) 発明の実施例 以下に、本発明を実施例にしたがつて説明す
る。第2図は、本発明の1実施例である通信制御
処理装置CCPのブロツク構成図である。本実施
例は、従来方式のコマンドを用いたトレース処理
の起動、停止機能に、更に、本発明に基づく自動
的なトレース処理の起動、停止機能を併せて構成
したものである。
(5) Examples of the invention The present invention will be described below using examples. FIG. 2 is a block diagram of a communication control processing device CCP which is an embodiment of the present invention. The present embodiment has a configuration in which the conventional function of starting and stopping trace processing using commands is combined with the function of automatically starting and stopping trace processing based on the present invention.

図において、7は割込み制御を行なう割込みハ
ンドラであり、割込み入力があつたとき、システ
ムがトレース中の機能状態であるか、また割込み
原因が、異常検出によるのか、トレース起動コマ
ンド入力、あるいはトレース終了コマンドによる
のか、更には通常のCCP処理サービス要求によ
るのか、を識別し、それぞれについて適切な制御
手段に制御を渡す機能をもつ。
In the figure, 7 is an interrupt handler that performs interrupt control, and when an interrupt input is received, the system is in the functional state of tracing, and whether the cause of the interrupt is due to abnormality detection, whether the trace start command is input, or whether the trace has ended. It has the function of identifying whether it is a command or a normal CCP processing service request, and passing control to the appropriate control means for each.

また、8はCCPの通常処理および異常検出時
のリカバリ処理などの主制御を行なう制御部、9
はCCPの処理について制御部8と連動して時間
監視を行なう時間監視部である。
In addition, 8 is a control unit that performs main control such as normal processing of the CCP and recovery processing when an abnormality is detected;
is a time monitoring unit that monitors time in conjunction with the control unit 8 regarding CCP processing.

10はトレース起動処理部であり、非トレース
中の通常状態で異常検出があつた場合あるいはト
レース起動コマンドが入力された場合に、内部の
トレース中表示フラグを“1”に設定してトレー
ス処理を起動し、また異常検出による起動の場合
には、トレース処理を行なう期間を一定時間以内
に設定するため、時間監視部9に対する時間監視
要求を行なう。
Reference numeral 10 denotes a trace start processing unit, which sets an internal trace display flag to "1" and starts trace processing when an abnormality is detected in the normal state during non-trace or when a trace start command is input. In the case of activation due to abnormality detection, a time monitoring request is made to the time monitoring unit 9 in order to set the period for performing trace processing within a certain period of time.

11はトレース処理部であり、すでにトレース
起動処理が行なわれてトレース中表示フラグが
“1”に設定されているとき、割込み入力があつ
た場合、その割込み原因が異常検出でなければト
レース処理を行ない、トレースデータを、メモリ
のトレースデータ格納域に格納する。しかし、割
込み原因が異常検出であつた場合には、すでに異
常発生に関連する有効なトレースデータが収集さ
れているものとして、トレース処理を終了させ
る。
Reference numeral 11 denotes a trace processing unit, which executes trace processing if an interrupt input is received when trace start processing has already been performed and the tracing display flag is set to “1”, unless the cause of the interrupt is an abnormality detected. and store the trace data in the trace data storage area of memory. However, if the cause of the interrupt is abnormality detection, it is assumed that valid trace data related to the occurrence of the abnormality has already been collected, and the trace processing is terminated.

12はトレース終了処理部であり、上記したト
レース中における異常検出の場合と、異常検出に
よりトレース処理起動を行ない、一定のトレース
処理時間を時間監視部9に設定して、その時間が
経過した場合と、コマンドによりトレース処理終
了が指示された場合との3つの場合において、ト
レース終了処理を行なう。トレース終了処理によ
り、トレース起動処理部10から時間監視部9に
対して出された時間監視要求のクリアと、トレー
ス中表示フラグのクリアとが行なわれる。
Reference numeral 12 denotes a trace end processing unit, which is used in the case of detecting an abnormality during tracing as described above, and in the case of starting trace processing due to abnormality detection and setting a certain trace processing time in the time monitoring unit 9, and when that time has elapsed. Trace termination processing is performed in three cases: (1) and (3) when termination of trace processing is instructed by a command. The trace end process clears the time monitoring request issued from the trace start processing unit 10 to the time monitoring unit 9 and clears the tracing display flag.

13は、メモリのトレースデータ格納域であ
る。
13 is a trace data storage area of memory.

動作において、非トレース中に異常検出割込み
入力があつた場合、あるいはトレース起動コマン
ドが入力された場合に、トレース起動が行なわれ
る。その後は、CCPに対する処理サービス要求
割込みがある毎に、トレース処理部11によるト
レース処理と制御部8による通常処理の制御ルー
トで処理が行なわれ、トレースデータの収集がな
される。
In operation, tracing is activated when an abnormality detection interrupt input is received during non-tracing or when a trace activation command is input. Thereafter, each time there is a processing service request interrupt for the CCP, processing is performed through the control route of trace processing by the trace processing unit 11 and normal processing by the control unit 8, and trace data is collected.

トレース処理の終了は、トレース処理終了部1
2について前述したように、最初の異常検出によ
り割込みハンドラ7がトレース処理を自動的に起
動した後、2回目の異常検出があつたときあるい
は時間監視部9が一定時間経過を検出したとき
と、外部からのトレース起動コマンドによりトレ
ース処理を起動した後に最初の異常検出があつた
ときかトレース終了コマンドが入力されたときと
に行なわれる。
The trace processing is terminated by the trace processing termination section 1.
As described above in connection with 2, after the interrupt handler 7 automatically starts tracing processing due to the first abnormality detection, when a second abnormality is detected or when the time monitoring unit 9 detects that a certain period of time has elapsed; This is performed when the first abnormality is detected after trace processing is started by an external trace start command, or when a trace end command is input.

トレース終了処理部12がトレース中表示フラ
グをクリアした後は、割込みハンドラ7が再び異
常検出あるいはトレース起動コマンドによる割込
み入力を受入れるまで、通常処理が行なわれる。
After the trace end processing unit 12 clears the tracing display flag, normal processing is performed until the interrupt handler 7 again accepts an interrupt input due to abnormality detection or a trace start command.

トレース処理において収集すべき情報の種類お
よび収集時間は、ユーザーが別途任意に指定する
ことができる。
The type of information to be collected in the trace process and the collection time can be separately specified by the user.

なお、本実施例では、トレース処理の起動を、
異常検出またはトレース起動コマンドの入力に限
つているが、これに一定時間間隔でトレース処理
の起動、停止を繰り返す自動的な時間割込み起動
を加えることができる。そして、このトレース処
理起動中に異常検出が生じたとき、第2図の実施
例の場合と同様にトレース処理を終了し、また上
記した時間割込みによるトレース起動は中断する
ようにすれば、実運用にさほど影響を与えること
なく、障害監視システムを構成することができ
る。
Note that in this embodiment, starting the trace processing is
Although this is limited to abnormality detection or input of a trace start command, it is possible to add an automatic time interrupt start that repeatedly starts and stops trace processing at fixed time intervals. Then, when an abnormality is detected during the start of the trace process, the trace process is terminated as in the embodiment shown in FIG. 2, and the trace start due to the above-mentioned time interrupt is interrupted. A fault monitoring system can be configured without significantly affecting the system.

(6) 発明の効果 本発明により、再現性の高い障害に対して、シ
ステム運用中に自動的に情報収集ができるため、
従来よりも有効性の高い情報を早期に入手するこ
とができ、そのため障害解析も早く行なうことが
可能となる。更に、トレース処理の起動が自動化
されるため、ユーザの負担が軽減される。
(6) Effects of the invention According to the present invention, information can be automatically collected during system operation regarding highly reproducible failures.
Information that is more effective than before can be obtained earlier, and failure analysis can therefore be performed more quickly. Furthermore, since the activation of trace processing is automated, the burden on the user is reduced.

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

第1図は本発明の構成の説明図、第2図は本発
明実施例のブロツク構成図である。 図において、1は処理データ、2はデータ解析
手段、3はスイツチ、4は通常処理手段、5はト
レース処理手段、6はトレース機能制御手段、を
それぞれ表わす。
FIG. 1 is an explanatory diagram of the configuration of the present invention, and FIG. 2 is a block configuration diagram of an embodiment of the present invention. In the figure, 1 represents processing data, 2 data analysis means, 3 a switch, 4 normal processing means, 5 trace processing means, and 6 trace function control means.

Claims (1)

【特許請求の範囲】[Claims] 1 データ処理システムにおいて、データ処理異
常を検出するためのデータ解析手段と、データ処
理における処理経過情報を収集するためのトレー
ス処理手段と、時間監視機能を有しトレース処理
手段の起動および停止を制御するトレース機能制
御手段とをそなえ、該トレース機能制御手段は、
上記データ解析手段が異常を検出したときに上記
トレース処理手段を起動し、そして一定時間内に
上記データ解析手段が再び異常を検出したときあ
るいは再び異常を検出することなく上記一定時間
が経過したときに、該トレース処理手段の機能を
停止させる制御を行ない、再現性のある障害のト
レースデータを効率的に作成可能にすることを特
徴とする自動トレース処理制御方式。
1. In a data processing system, a data analysis means for detecting data processing abnormalities, a trace processing means for collecting processing progress information in data processing, and a time monitoring function that controls starting and stopping of the trace processing means. a trace function control means, the trace function control means comprising:
When the data analysis means detects an abnormality, the trace processing means is activated, and when the data analysis means detects an abnormality again within a certain period of time, or when the certain period of time has elapsed without detecting an abnormality again. An automatic trace processing control method, characterized in that it performs control to stop the function of the trace processing means, thereby making it possible to efficiently create reproducible fault trace data.
JP56214560A 1981-12-25 1981-12-25 Automatic trace process controlling system Granted JPS58112147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56214560A JPS58112147A (en) 1981-12-25 1981-12-25 Automatic trace process controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56214560A JPS58112147A (en) 1981-12-25 1981-12-25 Automatic trace process controlling system

Publications (2)

Publication Number Publication Date
JPS58112147A JPS58112147A (en) 1983-07-04
JPS6232816B2 true JPS6232816B2 (en) 1987-07-16

Family

ID=16657741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56214560A Granted JPS58112147A (en) 1981-12-25 1981-12-25 Automatic trace process controlling system

Country Status (1)

Country Link
JP (1) JPS58112147A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005292932A (en) * 2004-03-31 2005-10-20 Saxa Inc Device for acquiring log information
JP2007257085A (en) 2006-03-20 2007-10-04 Ricoh Co Ltd Apparatus remote monitor system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54148449A (en) * 1978-05-15 1979-11-20 Fujitsu Ltd Tracer
JPS5530729A (en) * 1978-08-22 1980-03-04 Nec Corp Action career memory system for logic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54148449A (en) * 1978-05-15 1979-11-20 Fujitsu Ltd Tracer
JPS5530729A (en) * 1978-08-22 1980-03-04 Nec Corp Action career memory system for logic device

Also Published As

Publication number Publication date
JPS58112147A (en) 1983-07-04

Similar Documents

Publication Publication Date Title
CA1166748A (en) Unmanned diagnostic communications system for computer controlled machine tools
JPS59123058A (en) Machine check processing system
JPS6232816B2 (en)
JPH0962626A (en) On-line testing method of decentralized processing system
JPS62286131A (en) Automatic selfdiagnosing system for information processor
JPH06342387A (en) Fault information gathering system of information processor
JPS62139050A (en) Instruction test system by control of maintenance and diagnosis processor
JPH01134637A (en) Supervising system for information in stall processing system
JPH05191496A (en) Fault diagnostic system
JPS6155748A (en) Electronic computer system
JP2998793B2 (en) Test method for information processing equipment
JPH07248810A (en) Numerical controller
JPH0458337A (en) Device diagnostic system
JP2831480B2 (en) Information processing device failure detection method
JPS6349805B2 (en)
JP2684966B2 (en) I / O processor debug device
JPH0212538A (en) Automatic memory dump system
JPH02306362A (en) Multiprocessor system
JPH04273355A (en) Automatic collection system for communication information
JPH0342749A (en) Input/output controller
JPH01166140A (en) Information processor diagnosing system
JPH03156646A (en) Output system for fault information
JPH03147146A (en) Fault data collecting system
JPS59119455A (en) Fault detecting system of microprocessor
JPH05127951A (en) Fault processing system