JPH07230389A - Error processing method and information processor using this method - Google Patents

Error processing method and information processor using this method

Info

Publication number
JPH07230389A
JPH07230389A JP6020421A JP2042194A JPH07230389A JP H07230389 A JPH07230389 A JP H07230389A JP 6020421 A JP6020421 A JP 6020421A JP 2042194 A JP2042194 A JP 2042194A JP H07230389 A JPH07230389 A JP H07230389A
Authority
JP
Japan
Prior art keywords
processing
error
execution
deadlock
type
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.)
Withdrawn
Application number
JP6020421A
Other languages
Japanese (ja)
Inventor
Mieko Nagao
美恵子 長尾
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6020421A priority Critical patent/JPH07230389A/en
Publication of JPH07230389A publication Critical patent/JPH07230389A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the method and the device for error processing which efficiently restart the processing even in the case of the occurrence of error. CONSTITUTION:When a data base update system is started at the time of updating a data base, a picture for the start is displayed (S100). When key input is performed in accordance with the processing thereafter (S101), data is updated in accordance with keys (S104). In this case, error is checked (S105), and it is checked whether the error is dead lock/time-out or not if the error is detected (S106). A message to prompt an operator to reexecution is displayed on the picture displayed at present in the case of dead lock (S108), and the error is displayed on the picture for the start in the case of time-out (S109). Thus, the processing corresponding to the error is performed to efficiently restart the processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばオンラインシス
テムにおいてデッドロック/タイムアウト等のエラーが
発生した場合のエラー処理方法及びそれを用いた情報処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error processing method when an error such as deadlock / timeout occurs in an online system and an information processing apparatus using the error processing method.

【0002】[0002]

【従来の技術】従来、オンラインシステムなどの情報処
理装置においてデッドロック/タイムアウトが発生した
場合には、資源使用に関する他のエラーと同様に実行中
の処理を中止して資源の回復を行い、エラー状況を画面
に表示していた。その後、オペレータによる指示に従っ
て処理開始前の状態に戻していた。
2. Description of the Related Art Conventionally, when a deadlock / time-out occurs in an information processing device such as an online system, like the other errors related to resource use, the process being executed is stopped to recover the resource, and an error occurs. The situation was displayed on the screen. After that, according to the instruction from the operator, the state before the start of processing was returned.

【0003】また、資源使用に関するエラーが発生した
場合は、どのアプリケーションも上述の処理を行うた
め、このエラー処理の手順はサブルーチン化されてい
た。
Further, when an error related to resource use occurs, any application performs the above-mentioned processing, and therefore the error processing procedure is made into a subroutine.

【0004】[0004]

【発明が解決しようとする課題】ところが上記従来例で
は、資源使用に関するエラーが発生した場合には、無条
件で処理全体を中止してしまうため、実行中の処理を続
行することが不可能なエラーが発生した場合は良いが、
デッドロック/タイムアウト等、インターバルをおいた
あと、処理全体を中止しなくともエラーが生じた時点か
らやり直せば正常に処理が行える可能性のある場合も、
処理の最初からオペレーションをやり直さなければなら
ず、二度手間になってしまうという欠点があった。
However, in the above-described conventional example, when an error relating to resource use occurs, the entire process is unconditionally stopped, and it is impossible to continue the process being executed. Good if an error occurs,
Even if there is a possibility that normal processing can be performed by restarting from the time when the error occurred without stopping the entire processing, such as deadlock / timeout, after setting the interval.
The operation had to be redone from the beginning of the process, which had the drawback of being twice the effort.

【0005】また、処理の続行が不可能なエラーが発生
した場合、処理終了後システムからも抜けてしまってい
たので、オペレーションをやり直すためにシステムに入
り直す等余計なオペレーションが必要となり、処理をス
ムーズに進めることができないという欠点があった。
Further, when an error that cannot continue the processing occurs, the system is also exited after the processing is completed, and therefore an extra operation such as re-entering the system is required to redo the operation. There was a drawback that it could not proceed smoothly.

【0006】更に、このような問題を解決するために、
デッドロック/タイムアウトの場合に処理を再実行でき
るようにすると、各種アプリケーションごとに再実行の
起動方法が違う場合があり、従来の汎用サブルーチンを
そのまま修正しても対応しきれないという欠点があっ
た。
Further, in order to solve such a problem,
If the process can be re-executed in case of deadlock / time-out, the re-execution start method may be different for each type of application, and there is a drawback that conventional general-purpose subroutines cannot be modified as they are. .

【0007】本発明は上記従来例に鑑みて成されたもの
で、デッドロック/タイムアウトが発生した場合、その
時点までのオペレーションをやり直すことなく処理を再
実行できるエラー処理方法及びそれを用いた情報処理装
置を提供することを第1の目的とする。
The present invention has been made in view of the above-mentioned conventional example, and when a deadlock / time-out occurs, an error processing method capable of re-executing the process without redoing the operation up to that point and information using the error processing method. A first object is to provide a processing device.

【0008】また、デッドロック/タイムアウト以外の
エラーが発生した場合、オペレーションのやり直しをス
ムーズに行うことができるエラー処理方法及びそれを用
いた情報処理装置を提供することを第2の目的とする。
A second object of the present invention is to provide an error processing method and an information processing apparatus using the error processing method, in which the operation can be redone smoothly when an error other than the deadlock / timeout occurs.

【0009】更に、デッドロック/タイムアウトとその
他のエラーとを意識することなく処理ができるエラー処
理方法及びそれを用いた情報処理装置を提供することを
第3の目的とする。
A third object of the present invention is to provide an error processing method capable of performing processing without being aware of deadlock / timeout and other errors, and an information processing apparatus using the error processing method.

【0010】[0010]

【課題を解決するための手段】上記第1および第2の目
的を達成するために本発明のエラー処理方法は次のよう
な構成から成る。すなわち、表示部を備えたシステムに
おけるデータ処理中のエラー処理方法であって、処理実
行中のエラーの発生を検出する検出工程と、該検出工程
により検出されたエラーの種類を判別する判別工程と、
該判別工程により発生したエラーの種類がデッドロック
またはタイムアウトであると判別された場合に、エラー
を生じる直前の状態から再実行を促す旨を表示する再実
行表示工程と、前記判別工程により発生したエラーの種
類がデッドロックでもタイムアウトでもないと判別され
た場合に、前記処理を中止して前記処理開始時点に復帰
する旨を表示する復帰表示工程とを備える。
In order to achieve the above first and second objects, the error processing method of the present invention has the following configuration. That is, an error processing method during data processing in a system including a display unit, a detection step of detecting the occurrence of an error during processing execution, and a determination step of determining the type of error detected by the detection step. ,
When it is determined that the type of error that has occurred in the determination step is deadlock or timeout, a re-execution display step that displays a message prompting re-execution from the state immediately before the error occurs; When it is determined that the type of error is neither deadlock nor timeout, a return display step of displaying that the processing is stopped and the processing is started again is provided.

【0011】また、上記第1および第2の目的を達成す
るために本発明の情報処理装置は次のような構成から成
る。すなわち、データ処理中に生じるエラーを処理する
情報処理装置であって、処理実行中のエラーの発生を検
出する検出手段と、該検出手段により検出されたエラー
の種類を判別する判別手段と、該判別手段により発生し
たエラーの種類がデッドロックまたはタイムアウトであ
ると判別された場合に、エラーを生じる直前の状態から
再実行を促す旨を表示する再実行表示手段と、前記判別
手段により発生したエラーの種類がデッドロックでもタ
イムアウトでもないと判別された場合に、前記処理を中
止して前記処理開始時点に復帰する旨を表示する復帰表
示手段とを備える。
Further, in order to achieve the above first and second objects, the information processing apparatus of the present invention has the following configuration. That is, an information processing apparatus that processes an error that occurs during data processing, including a detection unit that detects the occurrence of an error during processing execution, a determination unit that determines the type of error detected by the detection unit, and When the type of the error generated by the determination unit is determined to be deadlock or time-out, a re-execution display unit that displays a message prompting re-execution from the state immediately before the error occurs, and an error generated by the determination unit When it is determined that the type is neither deadlock nor time-out, a return display unit that displays that the process is stopped and the process is returned to the start point is provided.

【0012】また、他の態様によれば次のような構成か
ら成る。
According to another aspect, the structure is as follows.

【0013】蓄積されたデータの更新を行うデータベー
スシステムであって、画像を表示する表示手段と、デー
タ更新処理実行中のエラーの発生を検出する検出手段
と、該検出手段により検出されたエラーの種類を判別す
る判別手段と、該判別手段により発生したエラーの種類
がデッドロックまたはタイムアウトであると判別された
場合に、エラーを生じる直前の状態から再実行を促す旨
を前記表示手段により表示する手段と、前記判別手段に
より発生したエラーの種類がデッドロックでもタイムア
ウトでもないと判別された場合に、前記処理を中止して
前記処理開始時点に復帰する旨を前記表示部に表示する
手段とを備え。
A database system for updating accumulated data, including display means for displaying an image, detecting means for detecting occurrence of an error during execution of data update processing, and error detecting means for detecting an error detected by the detecting means. The discriminating means for discriminating the type and, when it is determined that the type of the error generated by the discriminating means is deadlock or time-out, displays on the display means to prompt re-execution from the state immediately before the error occurs. And means for displaying on the display unit that the processing is stopped and the processing is returned to the processing start time when it is determined that the type of error generated by the determination means is neither deadlock nor timeout. Be prepared.

【0014】また、上記第3の目的を達成するために、
次のような構成から成る。
Further, in order to achieve the third object,
It has the following configuration.

【0015】データ処理部によるデータ処理中に生じる
エラーを処理する情報処理装置であって、処理実行中の
エラーの発生を検出する検出手段と、該検出手段により
検出されたエラーの種類を判別する判別手段と、該判別
手段により発生したエラーの種類がデッドロックまたは
タイムアウトであると判別された場合に、エラーを生じ
る直前の状態から再実行を促す旨を表示する再実行表示
手段と、前記判別手段により発生したエラーの種類がデ
ッドロックでもタイムアウトでもないと判別された場合
に、前記処理を中止して前記処理開始時点に復帰する旨
を表示する復帰表示手段と、を有するエラー処理部を備
え、該エラー処理部を複数のデータ処理部により共有す
る。
An information processing apparatus for processing an error occurring during data processing by a data processing unit, wherein a detecting means for detecting occurrence of an error during execution of processing and a kind of error detected by the detecting means are discriminated. A discriminating means, a re-execution displaying means for displaying a message prompting re-execution from a state immediately before the error occurs, when the type of the error generated by the discriminating means is deadlock or timeout; An error processing unit having return display means for displaying that the processing is stopped and the processing is returned to the processing start time when it is determined that the type of error generated by the means is neither deadlock nor timeout. , The error processing unit is shared by a plurality of data processing units.

【0016】[0016]

【作用】上記構成により、発生したエラーに応じて復帰
する状態を変え、デッドロック/タイムアウトの場合に
はエラー発生直前の状態に、他のエラーなら処理前の状
態に戻し、そこから処理を再開させる。
With the above structure, the state of returning is changed according to the error that has occurred, in the case of deadlock / timeout, it returns to the state immediately before the error occurred, and in the case of other errors it returns to the state before processing, and restarts processing from there. Let

【0017】[0017]

【実施例】次に、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0018】図2は、本実施例の情報処理システムの一
例の構成を示すブロック図である。同図において、11
はシステムを制御するCPU、12は処理対象となる資
源であるデータベース、13は入力装置であるキーボー
ド、14は入力項目やメッセージを表示する表示装置、
15はデータやCPU11により実行されるプログラム
を格納するメモリである。
FIG. 2 is a block diagram showing the arrangement of an example of the information processing system of this embodiment. In the figure, 11
Is a CPU that controls the system, 12 is a database that is a resource to be processed, 13 is a keyboard that is an input device, 14 is a display device that displays input items and messages,
Reference numeral 15 is a memory that stores data and a program executed by the CPU 11.

【0019】図1〜図3は、本実施例のシステムにより
実行されるデータベースの検索/更新等の処理手順を示
すフローチャートである。これらのフローチャートの手
順は、メモリ15に格納されたプログラムをCPU11
により実行することで実現される。
FIGS. 1 to 3 are flow charts showing a processing procedure such as database search / update executed by the system of this embodiment. The procedure of these flowcharts is performed by executing the program stored in the memory 15 in the CPU 11
It is realized by executing.

【0020】データベースシステムにおいては、データ
を更新する際には、データ間の意味的な矛盾を生じさせ
ないために、レコードなどを単位とする所定のブロック
単位でデータをロックし、他のプロセスとの同時更新を
防いでいる。更新対象のデータをすべてロックした後、
初めて実際の更新が行われる。データベースシステムに
おけるデッドロックは、例えば、このデータのロックを
行う際に複数のプロセス間で競合が発生し、ロックした
ブロックを持ち合うことなどにより生じる。もちろん他
の資源の持ち合いによって生じることもある。このよう
なデッドロック状態は、しばしば、処理実行中にはデッ
ドロックとして検知されず、処理が遅延して所定時間内
に終了しなかったために生じるタイムアウトエラーとし
て検知される。また、タイムアウトは、デッドロック以
外にも、必要な資源を得ることができなかった場合等に
発生する。
In the database system, when updating data, in order not to cause a semantic contradiction between the data, the data is locked in a predetermined block unit such as a record, and the data is locked with other processes. Preventing simultaneous updates. After locking all the data to be updated,
For the first time, the actual update is done. The deadlock in the database system occurs, for example, when a plurality of processes conflict with each other when locking this data and hold a locked block. Of course, it can also be caused by holding other resources. Such a deadlock state is often not detected as a deadlock during the process execution, but is detected as a time-out error that occurs because the process is delayed and does not end within a predetermined time. In addition to the deadlock, the timeout occurs when necessary resources cannot be obtained.

【0021】本実施例のシステムは、このようなエラー
状態を効率的に解消するものである。
The system of the present embodiment efficiently eliminates such an error state.

【0022】図1を参照すると、本実施例における処理
は、開始画面表示ステップS100と、キー入力ステッ
プS101と、開始画面への戻り指示判定ステップS1
02と、開始画面への戻りステップS103と、入力項
目によるデータベース更新ステップS104と、データ
ベース処理エラー検出ステップS105と、エラー発生
時のデータベースの回復処理ステップS106と、デッ
ドロック/タイムアウト検出ステップS107と、再実
行メッセージ表示ステップS108と、異常終了メッセ
ージ表示ステップS109と、該アプリケーションの先
頭に戻るステップS110とからなる。
Referring to FIG. 1, the process in the present embodiment is performed by a start screen display step S100, a key input step S101, and a return instruction determination step S1 for returning to the start screen.
02, a step S103 of returning to the start screen, a step S104 of updating a database by an input item, a step S105 of detecting a database processing error, a step S106 of recovering a database when an error occurs, a step S107 of detecting a deadlock / timeout, It includes a re-execution message display step S108, an abnormal end message display step S109, and a step S110 of returning to the head of the application.

【0023】図3は、図1の手順において、ステップS
106からステップS109をサブルーチン化(ステッ
プS306)したものである。
FIG. 3 shows a step S in the procedure of FIG.
This is a subroutine (step S306) from step S109 to step S109.

【0024】図4は、図3におけるエラー処理サブルー
チン(ステップS306)の処理を示す流れ図で、図1
のステップS106〜ステップS109に対応してい
る。
FIG. 4 is a flowchart showing the processing of the error processing subroutine (step S306) in FIG.
Corresponding to steps S106 to S109.

【0025】次に、このように構成された本実施例につ
いて、フローチャートの流れに沿って処理内容を説明す
る。
Next, the processing contents of the present embodiment having the above-mentioned configuration will be described along the flow of the flowchart.

【0026】まず、オペレータによりデータベースの検
索/更新などを行うデータベース検索/更新システムが
起動されると、その開始画面を表示装置14に表示し
(ステップS100)、続く入力を待つ。データベース
12更新のためのキーボード13からデータが入力され
ると(ステップS101)、それがCLEARキーかど
うか判定し(ステップS102)、この判定がNOなら
ば入力されたデータに応じてデータベース12の更新を
行う(ステップS104)。この更新処理は、データを
更新する1ないし複数のプロセスから成る。CPU11
はこの更新処理においてエラーの検出を行い(ステップ
S105)、エラーが検出された場合にはデータベース
12に対して回復処理を行う(ステップS106)。
First, when the database search / update system for searching / updating the database is started by the operator, the start screen is displayed on the display device 14 (step S100) and the subsequent input is awaited. When data is input from the keyboard 13 for updating the database 12 (step S101), it is determined whether or not it is the CLEAR key (step S102). If the determination is NO, the database 12 is updated according to the input data. Is performed (step S104). This update process consists of one or a plurality of processes for updating the data. CPU11
Detects an error in this update process (step S105), and if an error is detected, performs a recovery process on the database 12 (step S106).

【0027】更に、検出されたエラーがデッドロック/
タイムアウトかどうか判定し(ステップS107)、デ
ッドロック/タイムアウトならば、現在表示装置14に
表示中の画面に、エラーを生じた処理の再実行を促すメ
ッセージ『現在他で使用中のDBがあります。しばらく
待って、再度実行して下さい』を表示する(ステップS
108)。
Further, the detected error is deadlock /
It is determined whether or not a time-out has occurred (step S107), and if a deadlock / time-out has occurred, a message "There is a DB currently in use by another user" is displayed on the screen currently displayed on the display device 14 to re-execute the processing in which the error occurred. Please wait for a while and try again ”is displayed (step S
108).

【0028】その他のエラーならば、表示装置14に表
示された画面を開始画面に切り替え、エラーメッセージ
『DBに不整合があり、処理が続行できません。CLE
ARで終了して下さい』を表示し(ステップS10
9)、ステップS101に戻る(ステップS110)。
For other errors, the screen displayed on the display device 14 is switched to the start screen, and the error message "There is an inconsistency in the DB and the processing cannot be continued. CLE
Please finish with AR ”is displayed (step S10
9) and returns to step S101 (step S110).

【0029】したがって、デッドロック/タイムアウト
が発生した場合、画面が表示されたままなのであるた
め、その時点までのオペレーションをやり直すことなく
処理を再実行することができる。
Therefore, when a deadlock / timeout occurs, the screen is still displayed, and therefore the process can be re-executed without redoing the operation up to that point.

【0030】一方、デッドロック/タイムアウト以外の
エラーが発生した場合、一連の処理を中止し、表示され
たメッセージに従ってCLEARキーが押されると、ス
テップS102の判定がYESとなり開始画面へ戻る
(ステップS103)。
On the other hand, when an error other than deadlock / timeout occurs, the series of processes is stopped, and if the CLEAR key is pressed in accordance with the displayed message, the determination in step S102 becomes YES and the process returns to the start screen (step S103). ).

【0031】また、図3では、ステップS301〜ステ
ップS305は、図1と同様の処理となり、ステップS
305においてエラーが検出された場合はエラー処理サ
ブルーチンを呼び出す(ステップS306)。エラー処
理サブルーチンでは、図4のステップS401〜S40
4において図1のステップS106〜ステップS109
と同じ処理を行う。その後メインルーチンに戻り、図1
と同様にステップS301に戻る(ステップS30
7)。
Further, in FIG. 3, steps S301 to S305 are the same as those in FIG.
When an error is detected in 305, the error processing subroutine is called (step S306). In the error processing subroutine, steps S401 to S40 in FIG.
4, step S106 to step S109 of FIG.
Perform the same process as. Then return to the main routine,
Similarly to step S301, the process returns to step S301 (step S30).
7).

【0032】したがって、デッドロック/タイムアウト
が発生した場合、画面が表示されたままなのでその時点
までのオペレーションをやり直すことなく処理を再実行
することができる。
Therefore, when a deadlock / time-out occurs, since the screen is still displayed, the process can be re-executed without redoing the operation up to that point.

【0033】一方、デッドロック/タイムアウト以外の
エラーが発生した場合、表示されたメッセージに従って
CLEARキーが押されると、ステップ2に判定がYE
Sとなり開始画面へ戻る(ステップS303)。
On the other hand, if an error other than the deadlock / timeout occurs and the CLEAR key is pressed in accordance with the displayed message, the determination at step 2 is YES.
It becomes S and returns to the start screen (step S303).

【0034】以上説明したように、本実施例のシステム
においては、資源使用に関するエラー発生時に資源の回
復を行い、このエラーを判定し、デッドロック/タイム
と判定した時は現在表示中の画面に処理の再実行を促す
メッセージを表示し、該アプリケーションの先頭に戻る
ことにより、デッドロック/タイムアウトが発生した場
合、画面が表示されたままなのでその時点までのオペレ
ーションをやり直すことなく処理を再実行することがで
きるため、二度手間を省くことができるという効果があ
る。
As described above, in the system of this embodiment, when an error relating to resource use occurs, the resource is recovered, this error is judged, and when the deadlock / time is judged, the currently displayed screen is displayed. When a deadlock / time-out occurs by displaying a message prompting you to re-execute the process, and if a deadlock / time-out occurs, the screen remains displayed and the process is re-executed without redoing the operation up to that point. Therefore, there is an effect that the labor can be saved twice.

【0035】一方、デッドロック/タイムアウト以外の
エラーが発生した場合、画面を開始画面に切り替え、エ
ラーメッセージを表示し、該アプリケーションの先頭に
戻ることにより、メッセージに従って処理すると開始画
面へ戻るため、オペレーションのやり直しがスムーズに
行うことができるという効果がある。
On the other hand, when an error other than deadlock / timeout occurs, the screen is switched to the start screen, an error message is displayed, and the process returns to the start screen by returning to the beginning of the application. There is an effect that the re-doing can be smoothly performed.

【0036】更に、エラー処理部をサブルーチン化すれ
ば、これを使用することで、プログラマーはこれをCA
LLした後にメインプログラムの先頭に戻るようにする
だけで、デッドロック/タイムアウトによる処理の再実
行とその他のエラーによる処理の中止を特に意識するこ
となく切り分けることができるので、プログラミングの
効率化を図り、開発期間を短縮できるという効果もあ
る。
Further, if the error processing section is made into a subroutine, the programmer can use this to execute CA.
By simply returning to the beginning of the main program after LL, it is possible to separate re-execution of processing due to deadlock / timeout and cancellation of processing due to other errors without paying attention to it, thus improving the efficiency of programming. There is also an effect that the development period can be shortened.

【0037】[0037]

【他の実施例】本発明の他の実施例を図2のそれぞれの
構成要素について考える。
Other Embodiments Another embodiment of the present invention will be considered for each component of FIG.

【0038】処理対象となる資源であるデータベース1
2には、データベース以外にファイルやデータセット等
の資源があり、キーボード13には、マウスやタブレッ
ト等各種の情報を入力できる入力装置がある。
Database 1 which is a resource to be processed
2 has resources such as files and data sets other than the database, and the keyboard 13 has an input device such as a mouse and a tablet for inputting various information.

【0039】また、図1,図3については、開始画面へ
の戻り指示はCLEARキーとなっているが、これは、
他のファンクションキーや、キーワードの入力に替える
こともできる。
Also, in FIGS. 1 and 3, the instruction to return to the start screen is the CLEAR key.
You can replace it with other function keys or enter keywords.

【0040】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0041】[0041]

【発明の効果】以上説明したように、本発明のエラー処
理方法及びそれを用いた情報処理装置は、デッドロック
/タイムアウトが発生した場合、その時点までのオペレ
ーションをやり直すことなく処理を再実行できるという
効果がある。
As described above, the error processing method of the present invention and the information processing apparatus using the same can re-execute the processing without redoing the operation up to that point when a deadlock / time-out occurs. There is an effect.

【0042】また、デッドロック/タイムアウト以外の
エラーが発生した場合、オペレーションのやり直しをス
ムーズに行うことができるという効果がある。
Further, when an error other than the deadlock / timeout occurs, the operation can be redone smoothly.

【0043】更に、デッドロック/タイムアウトとその
他のエラーとを意識することなく処理ができるという効
果がある。
Furthermore, there is an effect that processing can be performed without being aware of deadlock / timeout and other errors.

【0044】[0044]

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

【図1】本発明の一実施例の処理を示す流れ図である。FIG. 1 is a flowchart showing a process of an embodiment of the present invention.

【図2】本実施例の情報処理システムの構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of an information processing system of this embodiment.

【図3】本発明の一実施例の処理を示す流れ図である。FIG. 3 is a flowchart showing the processing of an embodiment of the present invention.

【図4】図3におけるエラー処理サブルーチンの処理を
示す流れ図である。
4 is a flowchart showing the processing of an error processing subroutine in FIG.

【符号の説明】[Explanation of symbols]

1 キー入力ステップ 2 開始画面への戻り指示判定ステップ 3 開始画面への戻りステップ 5 資源使用上のエラー検出ステップ 6 資源の回復処理ステップ 7 デッドロック/タイムアウト検出ステップ 8 処理再実行メッセージ表示ステップ 9 エラーメッセージ表示ステップ 10 該アプリケーション先頭への戻りステップ 1 Key input step 2 Return screen judgment step 3 Start screen return step 5 Resource usage error detection step 6 Resource recovery processing step 7 Deadlock / timeout detection step 8 Processing re-execution message display step 9 Error Message display step 10 Step to return to the top of the application

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 表示部を備えたシステムにおけるデータ
処理中のエラー処理方法であって、 処理実行中のエラーの発生を検出する検出工程と、 該検出工程により検出されたエラーの種類を判別する判
別工程と、 該判別工程により発生したエラーの種類がデッドロック
またはタイムアウトであると判別された場合に、エラー
を生じる直前の状態から再実行を促す旨を表示する再実
行表示工程と、 前記判別工程により発生したエラーの種類がデッドロッ
クでもタイムアウトでもないと判別された場合に、前記
処理を中止して前記処理開始時点に復帰する旨を表示す
る復帰表示工程と、を備えることを特徴とするエラー処
理方法。
1. A method for processing an error during data processing in a system having a display unit, the method comprising: a detection step of detecting an error occurrence during processing; and a type of error detected by the detection step. A discriminating step, and a re-execution display step for displaying a message prompting re-execution from a state immediately before the error occurs when it is discriminated that the type of error generated by the discriminating step is deadlock or timeout. When it is determined that the type of error generated by the step is neither deadlock nor timeout, a return display step of displaying that the processing is stopped and the processing is returned to the start point is provided. Error handling method.
【請求項2】 前記データ処理は、データベースを更新
する処理であることを特徴とする請求項1記載のエラー
処理方法。
2. The error processing method according to claim 1, wherein the data processing is processing for updating a database.
【請求項3】 前記再実行表示工程は、エラーが生じた
時点で表示されている画面に、再実行を促すメッセージ
を表示し、前記復帰表示工程は、前記処理開始時の画面
と処理開始を中止する旨のメッセージとを表示すること
を特徴とする請求項1記載のエラー処理方法。
3. The re-execution display step displays a message prompting re-execution on the screen displayed at the time when the error occurs, and the return display step displays the screen at the time of starting the processing and the processing start. 2. The error processing method according to claim 1, further comprising displaying a message for canceling.
【請求項4】 データ処理中に生じるエラーを処理する
情報処理装置であって、 処理実行中のエラーの発生を検出する検出手段と、 該検出手段により検出されたエラーの種類を判別する判
別手段と、 該判別手段により発生したエラーの種類がデッドロック
またはタイムアウトであると判別された場合に、エラー
を生じる直前の状態から再実行を促す旨を表示する再実
行表示手段と、 前記判別手段により発生したエラーの種類がデッドロッ
クでもタイムアウトでもないと判別された場合に、前記
処理を中止して前記処理開始時点に復帰する旨を表示す
る復帰表示手段と、を備えることを特徴とする情報処理
装置。
4. An information processing apparatus for processing an error that occurs during data processing, the detecting means detecting an occurrence of an error during processing execution, and a judging means for judging the type of the error detected by the detecting means. And a re-execution display means for displaying a message prompting re-execution from the state immediately before the error occurs when it is determined that the type of error generated by the determination means is deadlock or timeout. When it is determined that the type of error that has occurred is neither deadlock nor time-out, a return display unit that displays that the processing is stopped and the processing is returned to the start time is provided. apparatus.
【請求項5】 前記データ処理は、データベースを更新
する処理であることを特徴とする請求項4記載の情報処
理装置。
5. The information processing apparatus according to claim 4, wherein the data processing is processing for updating a database.
【請求項6】 前記再実行表示手段は、エラーが生じた
時点で表示されている画面に、再実行を促すメッセージ
を表示し、前記復帰表示手段は、前記処理開始時の画面
と処理開始を中止する旨のメッセージとを表示すること
を特徴とする請求項4記載の情報処理装置。
6. The re-execution display means displays a message prompting re-execution on the screen displayed at the time when the error occurs, and the return display means displays the screen at the time of starting the processing and the processing start. The information processing apparatus according to claim 4, wherein a message to the effect that it is canceled is displayed.
【請求項7】 データ処理部によるデータ処理中に生じ
るエラーを処理する情報処理装置であって、 処理実行中のエラーの発生を検出する検出手段と、 該検出手段により検出されたエラーの種類を判別する判
別手段と、 該判別手段により発生したエラーの種類がデッドロック
またはタイムアウトであると判別された場合に、エラー
を生じる直前の状態から再実行を促す旨を表示する再実
行表示手段と、 前記判別手段により発生したエラーの種類がデッドロッ
クでもタイムアウトでもないと判別された場合に、前記
処理を中止して前記処理開始時点に復帰する旨を表示す
る復帰表示手段と、を有するエラー処理部を備え、該エ
ラー処理部を複数のデータ処理部により共有することを
特徴とする情報処理装置。
7. An information processing apparatus for processing an error occurring during data processing by a data processing unit, comprising: detection means for detecting occurrence of an error during execution of processing; and type of error detected by the detection means. Determination means for determining, and a re-execution display means for displaying a message prompting re-execution from a state immediately before an error occurs when it is determined that the type of error generated by the determination means is deadlock or timeout. An error processing unit having return display means for displaying that the processing is stopped and the processing is returned to the processing start time when it is determined that the type of error generated by the determination means is neither deadlock nor timeout. An information processing apparatus, comprising: the error processing unit, wherein the error processing unit is shared by a plurality of data processing units.
【請求項8】 蓄積されたデータの更新を行うデータベ
ースシステムであって、 画像を表示する表示手段と、 データ更新処理実行中のエラーの発生を検出する検出手
段と、 該検出手段により検出されたエラーの種類を判別する判
別手段と、 該判別手段により発生したエラーの種類がデッドロック
またはタイムアウトであると判別された場合に、エラー
を生じる直前の状態から再実行を促す旨を前記表示手段
により表示する手段と、 前記判別手段により発生したエラーの種類がデッドロッ
クでもタイムアウトでもないと判別された場合に、前記
処理を中止して前記処理開始時点に復帰する旨を前記表
示部に表示する手段と、を備えることを特徴とするデー
タベースシステム。
8. A database system for updating accumulated data, comprising: display means for displaying an image; detecting means for detecting occurrence of an error during execution of data update processing; and detecting means by the detecting means. The discriminating means for discriminating the type of error and the display means for prompting the re-execution from the state immediately before the error occurs when the type of the error generated by the discriminating means is determined to be deadlock or timeout. Means for displaying, and means for displaying on the display unit that the processing is stopped and the processing is returned to the processing start time when it is determined that the type of error generated by the determination means is neither deadlock nor timeout And a database system comprising:
JP6020421A 1994-02-17 1994-02-17 Error processing method and information processor using this method Withdrawn JPH07230389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6020421A JPH07230389A (en) 1994-02-17 1994-02-17 Error processing method and information processor using this method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6020421A JPH07230389A (en) 1994-02-17 1994-02-17 Error processing method and information processor using this method

Publications (1)

Publication Number Publication Date
JPH07230389A true JPH07230389A (en) 1995-08-29

Family

ID=12026576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6020421A Withdrawn JPH07230389A (en) 1994-02-17 1994-02-17 Error processing method and information processor using this method

Country Status (1)

Country Link
JP (1) JPH07230389A (en)

Similar Documents

Publication Publication Date Title
US5664088A (en) Method for deadlock recovery using consistent global checkpoints
JP4283328B2 (en) A method for scheduling and associating events with partially ordered transactions
US9411661B2 (en) Deadlock avoidance
JP2010522932A (en) Bookmarks and configuration files for the installation sequence
US6502122B1 (en) Method and apparatus for executing transaction programs in parallel
JPH09204341A (en) Numbering mechanism, data compatibility confirming mechanism, transaction rerun mechanism and distributed transaction processing system
JPH1115646A (en) Technique information managing system
JP2001014175A (en) System and method for managing job operation and storage medium
JPH07230389A (en) Error processing method and information processor using this method
JP3463020B2 (en) Workflow execution method and apparatus, and recording medium recording workflow execution program
JPH0922369A (en) Illicit operation detection method in kernel of multi-tasking system
JP3516428B2 (en) calculator
JP2000293416A (en) Database processor and storage medium
JPH09269912A (en) Information processing method and information processor
JP3338724B2 (en) Database save method
JPH07146787A (en) Method for retrieving influence program
JPH0789349B2 (en) Message display processing method
JPH07271561A (en) Information processor
JP2004362211A (en) Typical operation automatic processing program and method and typical operation automatic processor
CN114218016A (en) Program breakpoint continuous operation method, device and medium
JPH05324416A (en) System error history saving system
JPS6380335A (en) Starting system for background job
CN117632984A (en) Distributed transaction rollback method, device, equipment and medium
JPS63228341A (en) Program syntax checking system
JPS62113238A (en) Correction system for program of electronic computer system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041008

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20041207