JPH03235150A - Interrupting system for processing under execution - Google Patents
Interrupting system for processing under executionInfo
- Publication number
- JPH03235150A JPH03235150A JP3287190A JP3287190A JPH03235150A JP H03235150 A JPH03235150 A JP H03235150A JP 3287190 A JP3287190 A JP 3287190A JP 3287190 A JP3287190 A JP 3287190A JP H03235150 A JPH03235150 A JP H03235150A
- Authority
- JP
- Japan
- Prior art keywords
- operator
- processing
- instruction
- abort
- interruption
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 69
- 238000004891 communication Methods 0.000 claims abstract description 7
- 230000005856 abnormality Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、入出力装置をもつ端末機に関し、特に、各装
置を使用しての入力、出方処理および実行時間が長い処
理に対するオペレータによる中止と、端末機内で実行中
の処理自身による異常検出からの処理中止との2つの中
止契機に対する実行中処理の中止方式に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a terminal device having an input/output device, and in particular, the present invention relates to a terminal device having an input/output device, and in particular, the present invention relates to a terminal device having an input/output device. The present invention relates to a method for canceling a process that is currently being executed in response to two cancellation triggers: termination and termination of the process due to an abnormality detected by the process itself being executed within the terminal.
従来、この種の実行中処理の中止は、オペレータからの
指示による場合と、異常検出による場合の2つの契機が
あるが、何れか1つの条件が発生すると、実行中の処理
状態を管理しているテーブル上では中止処理中状態とし
、中止処理を実行するのみで、中止処理の開始条件を記
憶していないため、最新の中止契機のなった方に合せ、
オペレータに通知していた。Conventionally, there are two triggers for canceling this type of running process: when an instruction is given by the operator, and when an abnormality is detected.When any one of these conditions occurs, the process that is being executed is managed. The table that is currently in the process is in the abort processing state and only executes the abort process, but does not remember the start conditions for the abort process.
The operator was notified.
上述した従来の実行中処理の中止方式では、オペレータ
からの中止指示と、実行中処理の異常検出がほぼ同時に
発生した場合、端末機外部からの中止指示と内部からの
中止指示が競合し、実行中処理の中止は行われるが、オ
ペレータに対し実行処理の完了を通知することができな
い状態が発生する欠点がある。In the conventional method of canceling a process in progress described above, if an instruction to cancel from the operator and an abnormality detection in the process in progress occur at almost the same time, the abort instruction from outside the terminal and the abort instruction from within the terminal conflict and the process is not executed. Although the intermediate processing is canceled, there is a drawback that the operator cannot be notified of the completion of the execution processing.
本発明の目的は、上述した欠点をなくし、オペレータに
対し通知を行なうための手段として、プロセス間通信と
処理中止条件をテーブル化した制御を組合せた実行中処
理の中止方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a method for canceling an ongoing process that combines inter-process communication and control in which process termination conditions are tabulated as a means for notifying an operator. .
本発明は、入出力装置を有する端末機の実行中処理の中
止方式において、実行中処理に対する処理中止指示をオ
ペレータから受取る手段と、処理中止を伝えるプロセス
間通信手段と、中止条件を定義するテーブルと、処理中
止条件を判定する手段と、処理中止を実行する手段とを
具備することを特徴とするものである。The present invention provides a method for canceling a process in progress in a terminal device having an input/output device, including a means for receiving a process abort instruction for a process in progress from an operator, an interprocess communication means for conveying the process abort, and a table for defining the abort conditions. The present invention is characterized by comprising: a means for determining a processing stop condition; and a means for executing the process stop.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の構成図である。この実施例
は、画面入力手段としてのキーボード22、CRTデイ
スプレィ21.マウス23と、画面入力データの格納手
段としての、ブロッピイディスク42.磁気ディクク4
3などの外部記憶と、端末装置本体30内に存在するオ
ペレータからの処理依頼を受ける業務処理プロセス31
.依頼された処理を実行するサーバプロセス331,3
32.333、処理の中止状態を管理する処理中止管理
テーブル32と、文字データ出力手段としてのプリンタ
41より構成される。FIG. 1 is a block diagram of an embodiment of the present invention. This embodiment uses a keyboard 22, a CRT display 21 . A mouse 23 and a floppy disk 42 as a storage means for screen input data. magnetic disc 4
3, etc., and a business processing process 31 that receives processing requests from an operator existing in the terminal device main body 30.
.. Server process 331, 3 that executes the requested process
32 and 333, it is composed of a process abort management table 32 for managing the abort status of processes, and a printer 41 as a character data output means.
処理中止管理テーブルは処理の中止処理を実行する原因
を管理する手段として使用するテーブルであり、オペレ
ータの指示による中止処理か、実行中処理内で検出した
異常による中止処理かを示すフラグを持つ。The process abort management table is a table used as a means for managing the cause of executing a process abort process, and has a flag indicating whether the abort process is due to an instruction from an operator or due to an abnormality detected within the process being executed.
第3図は第1図の実行中処理の中止方式の動作を示すフ
ローチャートである。ステップ1で、オペレータが実行
中処理の中止を指示すると、ステップ2では、処理中止
管理テーブルに処理中止の原因が、オペレータ指示によ
るものであることを設定する。ステップ3では、処理主
体であるサーバプロセスに、業務処理プロセスより処理
の中止を指示する。ステップ4で、オペレータからの指
示とは非同期に、処理を行っているサーバプロセス上で
、異常を検出すると、ステップ5では、処理中止管理テ
ーブルに、処理中止の原因が内部検出によるものでるこ
とを設定する。ステップ6では、処理を中止する処理を
行う。ステップ7では、中止処理が完了し、完了通知を
業務処理プロセスへ行う。ステップ8では中止処理原因
がオペレータ指示によるものか、内部検出によるものか
判定し、ステップ9ではオペレータ指示に対する応答を
、ステップ10では異常検出の旨をオペレータに通知す
る。FIG. 3 is a flowchart showing the operation of the method of canceling the process in progress shown in FIG. In step 1, when the operator instructs to cancel the process being executed, in step 2, it is set in the process abort management table that the cause of the process abort is due to the operator's instruction. In step 3, the business processing process instructs the server process, which is the main processing entity, to stop processing. In step 4, if an abnormality is detected on the server process that is performing processing asynchronously with the instructions from the operator, in step 5, the process abort management table will indicate that the cause of the process abort is due to internal detection. Set. In step 6, a process for canceling the process is performed. In step 7, the cancellation process is completed and a completion notification is sent to the business processing process. In step 8, it is determined whether the cause of the aborted process is due to an operator instruction or internal detection. In step 9, a response to the operator instruction is provided, and in step 10, the operator is notified of the fact that an abnormality has been detected.
以上説明したように本発明は、従来のプロセス間通信に
よる実行中処理の中止手段と、テーブルでの中止指示管
理を組合せ、さらに中止条件をテーブル上で管理するこ
とにより、オペレータからの中止指示が行われた場合、
オペレータへの通知は常にオペレータの指示に対する応
答として行えるという効果を奏する。As explained above, the present invention combines the conventional method of canceling an ongoing process using inter-process communication and the management of cancellation instructions on a table, and furthermore, by managing the cancellation conditions on the table, a cancellation instruction from an operator can be received. If done,
This has the advantage that notification to the operator can always be made in response to the operator's instructions.
第1図は本発明の一実施例の構成図、第2図は第1図の
動作を示すフローチャートである。
21・・・CRTデイスプレィ、22・・・キーボード
、23・・・マウス、30・・・端末装置本体、31・
・・業務処理プロセス、32・・・処理中止管理テーブ
ル、331.332,333・・・サーバプロセス、4
1・・・プリンタ、42・・・フロッピーディスク、4
3・・・磁気ディスク。FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of FIG. 1. 21... CRT display, 22... Keyboard, 23... Mouse, 30... Terminal device body, 31.
... Business processing process, 32 ... Processing cancellation management table, 331, 332, 333 ... Server process, 4
1...Printer, 42...Floppy disk, 4
3...Magnetic disk.
Claims (2)
式において、実行中処理に対する処理中止指示をオペレ
ータから受取る手段と、処理中止を伝えるプロセス間通
信手段と、中止条件を定義するテーブルと、処理中止条
件を判定する手段と、処理中止を実行する手段とを具備
することを特徴とする実行中処理の中止方式。(1) In a method for canceling an ongoing process in a terminal device having an input/output device, a means for receiving an instruction to abort a process in progress from an operator, an inter-process communication means for conveying the abort of the process, and a table defining conditions for canceling the process. 1. A method for aborting an ongoing process, comprising: means for determining a process abort condition; and means for executing a process abort.
をオペレータから受取る手段と、処理中止を伝えるプロ
セス間通信手段と、中止条件を定義するテーブルと、処
理中止条件を判定する手段と、処理中止を実行する手段
とを具備することを特徴とする端末機。(2) an input/output device, a means for receiving a process stop instruction for a process in progress from an operator, an inter-process communication means for conveying process stop, a table for defining a stop condition, a means for determining a process stop condition, and a process. A terminal device characterized by comprising means for executing cancellation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3287190A JPH03235150A (en) | 1990-02-13 | 1990-02-13 | Interrupting system for processing under execution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3287190A JPH03235150A (en) | 1990-02-13 | 1990-02-13 | Interrupting system for processing under execution |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03235150A true JPH03235150A (en) | 1991-10-21 |
Family
ID=12370931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3287190A Pending JPH03235150A (en) | 1990-02-13 | 1990-02-13 | Interrupting system for processing under execution |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03235150A (en) |
-
1990
- 1990-02-13 JP JP3287190A patent/JPH03235150A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR930000592B1 (en) | Task searching apparatus | |
JPH05197568A (en) | Computer system and method of event management | |
US6957363B2 (en) | Method and apparatus for controlling the termination of processes in response to a shutdown command | |
US6594787B1 (en) | Input/output device managed timer process | |
JP3093293B2 (en) | Information processing device interrupt method | |
JPH03235150A (en) | Interrupting system for processing under execution | |
JPS58191045A (en) | Control system of executing time | |
JPS63118949A (en) | Information processor | |
JPS6314236A (en) | Job control system | |
JP3058081B2 (en) | Online transaction processing system | |
JP3490465B2 (en) | Abnormal data processing device | |
JP2504833B2 (en) | Process execution management method | |
JPS62269239A (en) | Control system for cancel/interruption suppression of job | |
JPH052496A (en) | Multi-task monitor | |
JP2615921B2 (en) | Input / output control method in operating system | |
JPH11184712A (en) | Information processor | |
JPH01288954A (en) | Service program execution program for multi-processor system | |
JP2575911B2 (en) | Event monitoring method | |
JPH11327921A (en) | Thread priority controller and thread priority control method in computer system | |
JPH04364545A (en) | Memory dumping system | |
JPH11272516A (en) | Dump output control system | |
JP3220001B2 (en) | System for limiting the number of X terminals | |
JPH04102960A (en) | Multi-cpu control system | |
JPH0546452A (en) | Commitment control system | |
JPH05274242A (en) | Asynchronous input/output demon processing system |