JPH01253042A - Self-decision system for processing function - Google Patents

Self-decision system for processing function

Info

Publication number
JPH01253042A
JPH01253042A JP63079954A JP7995488A JPH01253042A JP H01253042 A JPH01253042 A JP H01253042A JP 63079954 A JP63079954 A JP 63079954A JP 7995488 A JP7995488 A JP 7995488A JP H01253042 A JPH01253042 A JP H01253042A
Authority
JP
Japan
Prior art keywords
processing
flag
value
self
state
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
JP63079954A
Other languages
Japanese (ja)
Inventor
Koji Shima
志摩 浩司
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
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 filed Critical NEC Corp
Priority to JP63079954A priority Critical patent/JPH01253042A/en
Publication of JPH01253042A publication Critical patent/JPH01253042A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the same abnormal recovery processing from being repeated by storing and displaying the processing state of the system by a prescribed flag, and selecting a processing program to be executed according to the value of the flag. CONSTITUTION:The flag F for storing the processing state of the computer processing system, a self-diagnosis of the processing state is performed to set a value for identifying the processing state in the flag F, and a processing program 100 to be executed is selected according to the value of the flag F. Thus, the prescribed flag F stores and displays the processing state of the computer processing system and the processing program 100 is selected according to the value of the flag F, so proper processing is performed according to the processing state of the system and the same processing is not repeated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータ処理システムの処理機能を自己で
自動的に判定し、異常に対処するための処理機能自己判
定方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a processing function self-judgment method for automatically determining the processing function of a computer processing system by itself and dealing with abnormalities.

〔従来の技術〕[Conventional technology]

一般に、コンピュータ処理システム上で実行される処理
プログラムでは、異常に対する処置として、自己の動作
に異常を検出した場合、■単純に動作を停止する。
Generally, when a processing program executed on a computer processing system detects an abnormality in its own operation, it simply stops its operation.

もしくは ■ある種の異常に対しては所定の異常復旧処理を行う。or ■Perform predetermined abnormality recovery processing for certain types of abnormalities.

といった方式が採用されていた。Such a method was adopted.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

特に、上述の■の方式にあっては、異常復旧処理の完了
の後に再び処理が行えるため非常に有効であるが、異常
の種類によっては全く同じ異常が再現することがあり、
その場合には全く同じ異常復旧処理が行われ、その結果
、同し処理を何回も繰り返してしまうという欠点があっ
た。
In particular, method (■) above is very effective because it allows processing to be performed again after the abnormality recovery process is completed, but depending on the type of abnormality, the exact same abnormality may reappear.
In that case, exactly the same abnormality recovery process is performed, resulting in a drawback that the same process is repeated many times.

本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、異常の種類すなわちシステムの処理
状態に応じて適切な処理を行わせることのできる処理機
能自己判定方式を提供することにある。
The present invention has been proposed in view of the above points, and its purpose is to provide a processing function self-judgment method that can perform appropriate processing depending on the type of abnormality, that is, the processing state of the system. There is a particular thing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、コンピュータ処理
システムの処理状態を記憶するフラグを設け、処理状態
を自己診断して前記フラグに処理状態を識別する値を設
定すると共に、前記フラグの値に応じて実行する処理プ
ログラムを選択するようにしている。
In order to achieve the above object, the present invention provides a flag for storing the processing state of a computer processing system, self-diagnoses the processing state, sets a value for identifying the processing state in the flag, and sets the value of the flag to a value that identifies the processing state. The processing program to be executed is selected accordingly.

〔作用〕[Effect]

本発明の処理機能自己判定方式にあっては、所定のフラ
グがコンピュータ処理システムの処理状態を記憶して表
示し、このフラグの値に応じて実行する処理プログラム
が選択される。
In the processing function self-determination method of the present invention, a predetermined flag stores and displays the processing state of the computer processing system, and a processing program to be executed is selected according to the value of this flag.

〔実施例〕〔Example〕

以下、図面に沿って本発明の実施例につき説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の処理機能自己判定方式の一実施例の概
略構成を示したものである。第1図において、100は
コンピュータ処理システム上で実行される処理プログラ
ムであり、通常処理を行う通常処理プログラム101と
、通常処理もしくは後述の特殊処理の途中で異常が発生
した場合に異常復旧処理を行う異常復旧処理プログラム
102と、通常処理もしくは特殊処理が中IFr(例え
ば停電による強制終了等)された後に中断復旧処理を行
う中断復旧処理プログラム103と、コンピュータ処理
システムに復旧できない異常が存在する場合に特殊処理
を行う特殊処理プログラム104とを含んでいる。なお
、特殊処理とは、例えば本来の通常処理が行う処理の中
の最低限の処理を行う等の、異常のあるコンピュータ処
理システム上であっても安全に実行できる擬似通常処理
等であり、更に具体的には、例えば通常処理が受信した
メツセージを変換して送信するものであれば、特殊処理
はその受信メツセージを捨ててエラー・メツセージを送
信する等の処理である。
FIG. 1 shows a schematic configuration of an embodiment of the processing function self-judgment method of the present invention. In FIG. 1, 100 is a processing program executed on a computer processing system, including a normal processing program 101 that performs normal processing, and a normal processing program 101 that performs abnormality recovery processing when an abnormality occurs during normal processing or special processing to be described later. an abnormality recovery processing program 102 that performs normal processing or special processing, an interruption recovery processing program 103 that performs interruption recovery processing after normal processing or special processing is interrupted (for example, forced termination due to a power outage), and an interruption recovery processing program 103 that performs interruption recovery processing when there is an abnormality in the computer processing system that cannot be recovered. and a special processing program 104 that performs special processing. Note that special processing refers to pseudo-normal processing that can be safely executed even on an abnormal computer processing system, such as performing the minimum processing that is originally performed by normal processing. Specifically, for example, if normal processing involves converting and transmitting a received message, special processing is processing such as discarding the received message and transmitting an error message.

一方、Fはコンピュータ処理システムの処理状態を記憶
しておくためのフラグ、200はコンピュータ処理シス
テムの処理状態を自己診断してフラグFに処理状態を識
別する値を設定すると共に処理を行う前にフラグFを参
照して実行する処理プログラムを選択する機能を有した
処理実行制御部である。なお、フラグFは判定される処
理機能とは独立に記憶されるものであり、例えばEEP
ROMや磁気ディスク等の記憶エリア上に記憶されるも
のである。また、コンピュータ処理システムの処理状態
とフラグFの値との関係、および次回実行される処理と
の関係は第2図のようになっている。
On the other hand, F is a flag for storing the processing state of the computer processing system, and 200 is a flag for self-diagnosing the processing state of the computer processing system and setting a value for identifying the processing state in the flag F, as well as for pre-processing. This is a processing execution control unit that has a function of selecting a processing program to be executed by referring to flag F. Note that the flag F is stored independently of the processing function to be determined; for example, EEP
It is stored on a storage area such as a ROM or a magnetic disk. Further, the relationship between the processing state of the computer processing system and the value of the flag F, and the relationship with the next process to be executed are as shown in FIG.

第3図は上記の実施例の動作を示すフローチャートであ
り、以下、第3図に沿って動作を説明する。
FIG. 3 is a flowchart showing the operation of the above embodiment, and the operation will be explained below with reference to FIG.

処理が開始されると、先ずステップ1,9によりフラグ
Fの値が判断され、F−0(前回が正常終了)であれば
ステップ2、F=1(前回が中断による終了)であれば
ステップ15、F=2.3゜4(前回が異常、中断の後
に復旧不能)であればステップIOに移行する。
When the process starts, the value of flag F is first determined in steps 1 and 9. If F-0 (last time ended normally), step 2, and if F=1 (last time ended due to interruption), step 15. If F=2.3°4 (the previous time was abnormal and cannot be recovered after interruption), proceed to step IO.

ステップ2ではフラグFに1が設定され、ステップ3に
移行して通常処理が行われる。なお、ステップ2でフラ
グFに1を設定するのは、通常処理の途中で停電等によ
り処理が中断した際にフラグFの内容を1とするためで
ある0次いで、ステップ3の通常処理が正常に実行され
ればステップ4からステップ8に移行し、ステップ8で
フラグFに0が設定されて処理を終了する。また、ステ
ップ4で通常処理の途中で異常が検出されればステップ
5に移行して異常復旧処理が行われ、復旧が行われれば
ステップ6からステップ8に移行して正常だったのと同
しに処理を終了する。また、復旧が不能であった場合に
はステップ7に移行し、フラグFに2を設定して処理を
終了する。
In step 2, flag F is set to 1, and the process moves to step 3, where normal processing is performed. Note that the reason why flag F is set to 1 in step 2 is to set the contents of flag F to 1 when normal processing is interrupted due to a power outage, etc. 0 Then, normal processing in step 3 is set to 1. If it is executed, the process moves from step 4 to step 8, and in step 8, the flag F is set to 0, and the process ends. Also, if an abnormality is detected during normal processing in step 4, the process moves to step 5 and abnormality recovery processing is performed, and if recovery is performed, the process moves from step 6 to step 8, which is the same as if it was normal. Processing ends. If recovery is not possible, the process moves to step 7, sets flag F to 2, and ends the process.

一方、ステップ15では中断復旧処理が行われ、復旧が
行われればステップ16からステップ18に移行してフ
ラグFにOが設定されて再びステップlに移行する。ま
た、復旧が不能であった場合にはステップ17に移行し
、フラグFに4を設定して処理を終了する。
On the other hand, in step 15, an interruption recovery process is performed, and if the recovery is performed, the process moves from step 16 to step 18, the flag F is set to O, and the process returns to step l. If recovery is not possible, the process moves to step 17, sets flag F to 4, and ends the process.

一方、ステップ10では特殊処理が行われ、ステップl
Oの特殊処理が正常に実行されればステップ11を通過
してフラグFの値はそのままで処理を終了する。また、
ステップ11で特殊処理の途中で異常が検出されればス
テップ12に移行して異常復旧処理が行われ、復旧が行
われればステツブ13から抜は出し、フラグFの値はそ
のままで処理を終了する。また、復旧が不能であった場
合にはステップ14に移行し、フラグFに3を設定して
処理を終了する。
On the other hand, special processing is performed in step 10, and step l
If the special processing of O is executed normally, step 11 is passed and the processing ends with the value of flag F unchanged. Also,
If an abnormality is detected during the special processing in step 11, the process moves to step 12 and abnormality recovery processing is performed, and if the recovery is performed, the extraction is performed from step 13, and the processing ends with the value of flag F unchanged. . If recovery is not possible, the process moves to step 14, sets flag F to 3, and ends the process.

〔発明の効果〕〔Effect of the invention〕

以上のように本発明の処理機能自己判定方式にあっては
、所定のフラグがシステムの処理状態を記憶して表示し
、このフラグの値に応じて実行する処理プログラムが選
択されるため、常に適切な処理が実行されることになり
、従来のように同じ異常復旧処理が繰り返されるという
不都合がなくなる効果がある。
As described above, in the processing function self-judgment method of the present invention, a predetermined flag memorizes and displays the processing status of the system, and a processing program to be executed is selected according to the value of this flag. Appropriate processing is executed, which has the effect of eliminating the inconvenience of repeating the same abnormality recovery processing as in the past.

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

第1図は本発明の処理機能自己判定方式の一実施例の概
略構成図、 第2図はシステムの処理状態とフラグの内容と次回の処
理との対応関係を示す図および、第3図は第1図の実施
例の動作を示すフローチャートである。 図において、100・・・処理プログラム、101・・
・通常処理プログラム、102・・・異常復旧処理プロ
グラム、103・・・中断処理プログラム、104・・
・特殊処理プログラム、200・・・処理実行制御部、
F・・・フラグ。
FIG. 1 is a schematic configuration diagram of an embodiment of the processing function self-judgment method of the present invention, FIG. 2 is a diagram showing the correspondence between the processing status of the system, the contents of the flag, and the next processing, and FIG. 2 is a flowchart showing the operation of the embodiment of FIG. 1; In the figure, 100...processing program, 101...
- Normal processing program, 102... Abnormal recovery processing program, 103... Interruption processing program, 104...
-Special processing program, 200...processing execution control unit,
F...Flag.

Claims (1)

【特許請求の範囲】 コンピュータ処理システムの処理状態を記憶するフラグ
を設け、 処理状態を自己診断して前記フラグに処理状態を識別す
る値を設定すると共に、 前記フラグの値に応じて実行する処理プログラムを選択
することを特徴とした処理機能自己判定方式。
[Scope of Claims] A flag for storing a processing state of a computer processing system is provided, a value for identifying the processing state is set in the flag by self-diagnosing the processing state, and a process is executed according to the value of the flag. A processing function self-judgment method characterized by program selection.
JP63079954A 1988-03-31 1988-03-31 Self-decision system for processing function Pending JPH01253042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63079954A JPH01253042A (en) 1988-03-31 1988-03-31 Self-decision system for processing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63079954A JPH01253042A (en) 1988-03-31 1988-03-31 Self-decision system for processing function

Publications (1)

Publication Number Publication Date
JPH01253042A true JPH01253042A (en) 1989-10-09

Family

ID=13704704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63079954A Pending JPH01253042A (en) 1988-03-31 1988-03-31 Self-decision system for processing function

Country Status (1)

Country Link
JP (1) JPH01253042A (en)

Similar Documents

Publication Publication Date Title
JPH01253042A (en) Self-decision system for processing function
EP0452080B1 (en) System for controlling restoration from failure in a queue structure of control data
JPS63282857A (en) System for preventing program runaway
JP2902769B2 (en) Robot sequence control method
JPS592156A (en) List output controlling system
JPS62284440A (en) Software resource maintenance system for terminal equipment
JPS5917611A (en) Method for controlling watch dog timer
JP2553490B2 (en) Abnormality detection device for sequence control device
JPS59148961A (en) Monitoring system of operation of processor
JP3153977B2 (en) Information processing device
JPH02244208A (en) Information processor control system
JPH05191496A (en) Fault diagnostic system
JPH08292804A (en) Process fault monitoring method by programmable controller
JPS6053887B2 (en) information processing system
JPH0413728B2 (en)
JPH02280251A (en) System for loading initial program
JPS63136142A (en) Error recovery system for logical unit
JPS6125250A (en) Fault recovery method of information processor
JPH01218872A (en) Printer
JPH02240799A (en) Fault preventive system for pos
JPS6362040A (en) Control system for abnormality ending process
JPH03157738A (en) Error information collecting system in service processor
JPS6341943A (en) Error restoring system for logic unit
JPS63237147A (en) Supervisory system for input/output actions in computer system
JPH03268001A (en) Controller