JPH06168152A - Task degeneracy managing device - Google Patents

Task degeneracy managing device

Info

Publication number
JPH06168152A
JPH06168152A JP4319612A JP31961292A JPH06168152A JP H06168152 A JPH06168152 A JP H06168152A JP 4319612 A JP4319612 A JP 4319612A JP 31961292 A JP31961292 A JP 31961292A JP H06168152 A JPH06168152 A JP H06168152A
Authority
JP
Japan
Prior art keywords
task
input
output
internal
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.)
Granted
Application number
JP4319612A
Other languages
Japanese (ja)
Other versions
JP3231864B2 (en
Inventor
Kagehiro Nagaya
景広 長屋
Makoto Takahashi
誠 高橋
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.)
Toshiba Engineering Corp
Toshiba Corp
Original Assignee
Toshiba Engineering Corp
Toshiba 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 Toshiba Engineering Corp, Toshiba Corp filed Critical Toshiba Engineering Corp
Priority to JP31961292A priority Critical patent/JP3231864B2/en
Publication of JPH06168152A publication Critical patent/JPH06168152A/en
Application granted granted Critical
Publication of JP3231864B2 publication Critical patent/JP3231864B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the influence of abnormality of input/output to a minimum and to improve labor saving when development is performed and maintainability after starting an operation by automatically storing a task to which degeneracy is applied at every input/ output when the abnormality occurs. CONSTITUTION:This device is equipped with task degeneracy memory 4 in which each degenerative input/output is stored, input/output information memory 5 in which corresponding input/output at every task is stored, reference storage 7a, 8 in which a corresponding task at every degenerative input/output stored in the task degeneracy memory 4 out of each task stored in the input/output information memory 5 is stored, a task readout means 10a which reads out the task corresponding to the abnormality from the reference storage means 7a, 8 when input/output abnormality is detected by an input/output controller 2, and a task degeneracy request means 1a which sends out a task degeneracy request in accordance with the task read out at the task readout means 10a to a task execution controller 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入出力に異常がある場
合、この入出力に対応するタスクのみを縮退させるタス
ク縮退管理装置に係わり、特に縮退させるタスクの人手
による設定作業を省略してプログラム開発の効率性及び
運用後の保守性を向上しうるタスク縮退管理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a task degeneracy management device that degenerates only a task corresponding to this input / output when an abnormality occurs in the input / output, and particularly omits manual setting work of the task to be degenerated. The present invention relates to a task degeneracy management device that can improve efficiency of program development and maintainability after operation.

【0002】[0002]

【従来の技術】従来、各種プラント設備の大規模化及び
プロセス制御の複雑化に伴い、当該設備のプロセス制御
を行うプログラマブルコントローラは著しく大容量化す
ると共に、複雑で多岐に亘るプログラムが記憶されてい
る。
2. Description of the Related Art Conventionally, with the increase in scale of various plant equipment and the complexity of process control, the programmable controller for performing process control of the equipment has been significantly increased in capacity, and complicated and diversified programs have been stored. There is.

【0003】ところで、このようなプログラマブルコン
トローラでは、入力及び出力のうちの少なくとも一方
(以下、入出力という)に異常が発生した場合、その異
常がプロセス制御全体に波及して当該プログラムコント
ロ−ラ1台を停止させるという可能性がある。
In such a programmable controller, when an abnormality occurs in at least one of the input and the output (hereinafter referred to as input / output), the abnormality propagates to the entire process control and the program controller 1 concerned. There is a possibility to stop the platform.

【0004】そこで、1つの外部入出力の異常がプロセ
ス制御全体に波及しないよう、当該異常に対応するタス
クのみを停止させるタスク縮退管理技術が考えられてい
る。この種のタスク縮退管理技術では、外部入出力の異
常に対応して縮退させるタスクを予めプログラム上でプ
ログラム作成者が指定することにより、異常の際に、こ
の指定に基づいて当該異常に対応するタスクのみを停止
させることが可能である。
Therefore, a task degeneracy management technique is considered in which only the task corresponding to the abnormality is stopped so that the abnormality of one external input / output does not spread to the entire process control. In this kind of task degeneracy management technology, the program creator designates in advance the task to be degenerated corresponding to the abnormality of the external input / output, and when the abnormality occurs, the abnormality is dealt with based on this designation. It is possible to stop only the task.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、以上の
ようなタスク縮退管理技術では、人手によって縮退させ
るタスクを指定するので、非常に手間が掛かるという問
題がある。
However, in the task degeneracy management technique as described above, a task to be degenerated is manually specified, which is very troublesome.

【0006】例えば、1つの外部入出力の異常に対応し
て縮退させる必要のあるタスクは、様々なタスクで同一
の外部入出力を使用していることが多いために、人手に
よる指定が煩雑である。
[0006] For example, a task that needs to be degenerated in response to an abnormality in one external input / output often uses the same external input / output for various tasks, and therefore manual designation is complicated. is there.

【0007】また、人手による指定では、プラント設
備、プロセス制御方式及び外部入出力の量によってプロ
グラム開発期間やコストが大きく左右されるという問題
がある。さらに、運用後に外部入出力の増減やプログラ
ムの変更等がある場合、適切かつ迅速にプログラムを改
変する保守作業はかなり困難である。
Further, the manual designation has a problem that the program development period and the cost are greatly influenced by the plant equipment, the process control method, and the amount of external input / output. Furthermore, if there is an increase / decrease in external input / output or a change in the program after operation, it is quite difficult to properly and promptly modify the program.

【0008】しかも、縮退させるタスクを指定したプロ
グラムだけでは、縮退させたタスクが復帰しないので、
プログラムコントローラの稼働率が低下するという問題
がある。
Moreover, since the degenerated task cannot be recovered only by the program which specifies the degenerated task,
There is a problem that the operating rate of the program controller decreases.

【0009】本発明は、上記実情を考慮してなされたも
ので、予め入出力毎にその異常の際に縮退させるタスク
を自動的に記憶することにより、入出力の異常の影響を
必要最小限にとどめると共に、開発時の省力性及び運用
後の保守性を向上し得るタスク縮退管理装置を提供する
ことを目的とする。
The present invention has been made in consideration of the above-mentioned circumstances, and automatically stores a task to be degenerated when an abnormality occurs for each input / output, thereby minimizing the influence of the abnormality of the input / output. It is an object of the present invention to provide a task degeneracy management device capable of improving the labor saving during development and the maintainability after the operation as well as the above.

【0010】また、本発明の他の目的は、タスクを縮退
させてから自動的に異常に対する異常回復要求を送出
し、かつ、異常回復の後にタスク復帰要求を送出するこ
とにより、当該異常の回復と縮退したタスクの復帰とを
迅速に行って、タスク実行制御装置の稼働性を向上し得
ることにある。
Another object of the present invention is to recover an abnormality by degenerating a task and then automatically transmitting an abnormality recovery request for an abnormality, and by transmitting a task return request after the abnormality recovery. It is possible to improve the operability of the task execution control device by quickly performing the restoration of the degenerated task.

【0011】[0011]

【課題を解決するための手段】請求項1に対応する発明
は、複数のタスクを実行するタスク実行制御装置及び複
数の入出力を制御する入出力制御装置に接続され、前記
入出力制御装置が異常を検出したとき、当該異常に対応
して前記タスク実行制御装置のタスクの縮退を管理する
タスク縮退管理装置において、前記各入出力のうち、複
数の縮退可入出力が記憶されているタスク縮退メモリ
と、前記各タスク毎に対応する前記各入出力が記憶され
ている入出力情報メモリと、前記入出力情報メモリに記
憶されている各タスクのうち、前記タスク縮退メモリに
記憶されている各縮退可入出力に対応するタスクを記憶
するリファレンス記憶手段と、前記入出力制御装置が入
出力に異常を検出した場合、前記リファレンス記憶手段
から当該異常の入出力に対応するタスクを読出すタスク
読出手段と、前記タスク読出手段で読出したタスクに対
応するタスク縮退要求を前記タスク実行制御装置に送出
するタスク縮退要求手段とを備えたタスク縮退管理装置
である。
The invention according to claim 1 is connected to a task execution control device for executing a plurality of tasks and an input / output control device for controlling a plurality of input / output, wherein the input / output control device is When an abnormality is detected, a task degeneracy management apparatus that manages the degeneracy of tasks of the task execution control apparatus in response to the abnormality, in which a plurality of degeneration-enabled I / Os among the respective I / Os are stored. A memory, an input / output information memory in which each input / output corresponding to each task is stored, and each of the tasks stored in the input / output information memory, each of which is stored in the task degeneracy memory When the input / output controller detects an abnormality in the input / output, the reference storage means for storing the task corresponding to the degenerate input / output and the input / output of the abnormality from the reference storage means. The task degenerate management apparatus comprising: a reading task reading means a task corresponding, and a task degeneration request means for sending a task degenerate request corresponding to the read out task by the task reading means in the task execution control device.

【0012】請求項2に対応する発明は、請求項1に対
応する発明において、前記各タスク毎に対応する内部入
出力が記憶されている内部入出力情報メモリと、前記入
出力情報メモリに記憶されている各タスクのうち、前記
タスク縮退メモリに記憶されている各縮退可入力毎に対
応するタスクを記憶し、かつ、前記内部入出力情報メモ
リから当該記憶したタスク毎に対応する内部出力を検索
すると共に、当該検索した内部出力を内部入力とし、前
記内部入出力情報メモリから当該内部入力毎に対応する
タスクを記憶する内部リファレンス記憶手段と、前記入
出力制御装置が入力に異常を検出した場合、前記内部リ
ファレンス記憶手段から当該異常の入力に対応するタス
クを読出す内部タスク読出手段と、前記内部タスク読出
手段で読出したタスクに対応するタスク縮退要求を前記
タスク実行制御装置に送出する内部タスク縮退要求手段
とを付加したタスク縮退管理装置である。
According to a second aspect of the invention, in the invention according to the first aspect, an internal input / output information memory in which internal input / output corresponding to each task is stored, and the input / output information memory is stored. Of the stored tasks, a task corresponding to each degenerate-allowed input stored in the task degeneracy memory is stored, and an internal output corresponding to each stored task is stored from the internal input / output information memory. The internal reference storage means for storing the task corresponding to each internal input from the internal input / output information memory and the input / output control device detected an abnormality in the input while performing the search In this case, the internal task read means for reading the task corresponding to the input of the abnormality from the internal reference storage means and the task read by the internal task read means. The task degenerate management system obtained by adding an internal task degeneration request means for sending a task degenerate request corresponding to click in the task execution control unit.

【0013】請求項3に対応する発明は、請求項2に対
応する発明において、前記タスク縮退要求手段又は前記
内部タスク縮退要求手段によってタスク縮退要求が送出
された場合、前記入出力制御装置によって異常が検出さ
れた入出力に対応する異常回復要求を前記入出力制御装
置に送出する異常回復要求手段と、前記異常回復要求手
段によって異常回復要求が送出されると共に、当該異常
が回復した場合、前記タスク縮退要求手段又は前記内部
タスク縮退要求手段が送出したタスク縮退要求に対応す
るタスク復帰要求を前記タスク実行制御装置に送出する
タスク復帰要求手段を付加したタスク縮退管理装置であ
る。
According to a third aspect of the invention, in the invention according to the second aspect, when a task degeneration request is sent by the task degeneration requesting means or the internal task degeneration requesting means, the input / output control device causes an abnormality. Is sent to the input / output control device, and an abnormal recovery request is sent by the abnormal recovery requesting means, and when the abnormal condition is recovered, It is a task degeneration management device to which task degeneration requesting means or task restoration requesting means for sending a task restoration request corresponding to a task degeneration request sent by the internal task degeneration requesting means to the task execution control device is added.

【0014】[0014]

【作用】従って、請求項1に対応する発明は以上のよう
な手段を講じたことにより、各入出力のうち、複数の縮
退可入出力が記憶されているタスク縮退メモリ及び各タ
スク毎に対応する各入出力が記憶されている入出力情報
メモリを設け、リファレンス記憶手段では、入出力情報
メモリに記憶されている各タスクのうち、タスク縮退メ
モリに記憶されている各縮退可入出力に対応するタスク
が記憶され、タスク読出手段では、入出力制御装置が入
出力に異常を検出した場合、リファレンス記憶手段から
当該異常の入出力に対応するタスクが読出され、タスク
縮退要求手段では、タスク読出手段で読出したタスクに
対応するタスク縮退要求がタスク実行制御装置に送出さ
れる。
Therefore, the invention corresponding to claim 1 is adapted to the task degeneracy memory in which a plurality of degenerate I / Os are stored and each task by taking the above means. An input / output information memory in which each input / output is stored is provided, and the reference storage unit corresponds to each degenerate input / output stored in the task degeneracy memory among the tasks stored in the input / output information memory. When the input / output control device detects an abnormality in the input / output, the task reading means reads the task corresponding to the input / output of the abnormality, and the task degeneration requesting means reads the task. A task degeneration request corresponding to the task read by the means is sent to the task execution control device.

【0015】これにより、予め入出力毎にその異常の際
に縮退させるタスクを自動的に記憶することにより、入
出力の異常の影響を必要最小限にとどめると共に、開発
時の省力性及び運用後の保守性を向上することができ
る。
Thus, by automatically storing in advance for each input / output the task to be degenerated when an abnormality occurs, the influence of the abnormality of the input / output can be minimized, and labor saving at the time of development and after operation can be achieved. The maintainability of can be improved.

【0016】また、請求項2に対応する発明は、各タス
ク毎に対応する内部入出力が記憶されている内部入出力
情報メモリを設け、内部リファレンス記憶手段では、入
出力情報メモリに記憶されている各タスクのうち、タス
ク縮退メモリに記憶されている各縮退可入力毎に対応す
るタスクが記憶され、かつ、内部入出力情報メモリから
当該記憶したタスク毎に対応する内部出力が検索される
と共に、当該検索された内部出力が内部入力とされて、
内部入出力情報メモリから当該内部入力毎に対応するタ
スクが記憶され、内部タスク読出手段では、入出力制御
装置が入力に異常を検出した場合、内部リファレンス記
憶手段から当該異常の入力に対応するタスクが読出さ
れ、内部タスク縮退要求手段では、内部タスク読出手段
で読出したタスクに対応するタスク縮退要求がタスク実
行制御装置に送出される。これにより、タスク実行装置
内のみで入出力を行うタスクに対しても、前述した効果
と同様の効果を得ることができる。
Further, the invention according to claim 2 is provided with an internal input / output information memory in which internal input / output corresponding to each task is stored, and the internal reference storage means stores the internal input / output information memory. Among the respective tasks, the task corresponding to each degenerate-allowed input stored in the task degeneracy memory is stored, and the internal output corresponding to each stored task is retrieved from the internal input / output information memory. , The searched internal output is taken as internal input,
A task corresponding to each internal input is stored from the internal input / output information memory. In the internal task reading means, when the input / output control device detects an abnormality in the input, the task corresponding to the abnormality input from the internal reference storage means. Is read out, and the internal task degeneration request means sends a task degeneration request corresponding to the task read by the internal task reading means to the task execution control device. This makes it possible to obtain the same effects as those described above even for tasks that perform input / output only within the task execution device.

【0017】また、請求項3に対応する発明は、異常回
復要求手段では、タスク縮退要求手段又は内部タスク縮
退要求手段によってタスク縮退要求が送出された場合、
入出力制御装置によって異常が検出された入出力に対応
する異常回復要求が入出力制御装置に送出され、タスク
復帰要求手段では、異常回復要求手段によって異常回復
要求が送出されると共に、当該異常が回復した場合、タ
スク縮退要求手段または内部タスク縮退要求手段が送出
したタスク縮退要求に対応するタスク復帰要求がタスク
実行制御装置に送出される。
In the invention according to claim 3, in the abnormal recovery request means, when the task degeneration request is sent by the task degeneracy request means or the internal task degeneracy request means,
An abnormality recovery request corresponding to an input / output for which an abnormality is detected by the input / output control device is sent to the input / output control device, and the task recovery request means sends the abnormal recovery request by the abnormal recovery request means and When recovered, a task restoration request corresponding to the task degradation request sent by the task degradation requesting means or the internal task degradation requesting means is sent to the task execution control device.

【0018】このように、タスクを縮退させてから自動
的に異常に対する異常回復要求を送出し、かつ、異常回
復の後にタスク復帰要求を送出することにより、当該異
常の回復と縮退したタスクの復帰とを迅速に行って、タ
スク実行制御装置の稼働性を向上させることができる。
Thus, by degenerating a task, automatically sending an abnormal recovery request for an abnormality, and sending a task return request after the abnormal recovery, the abnormality is recovered and the degenerated task is returned. It is possible to rapidly perform and to improve the operability of the task execution control device.

【0019】[0019]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0020】図1は本発明の一実施例に係るタスク縮退
管理装置の構成を示すブロック図である。このタスク縮
退管理装置においては、管理装置本体1に外部入出力制
御装置2及びタスク実行制御装置3が接続され、外部入
出力制御装置2による外部入出力異常の検出に応動し
て、タスク実行制御装置3が実行する複数のタスクのう
ちで当該異常に対応するタスクのみを縮退させる。
FIG. 1 is a block diagram showing the arrangement of a task degradation management apparatus according to an embodiment of the present invention. In this task degeneration management device, an external input / output control device 2 and a task execution control device 3 are connected to the management device main body 1, and task execution control is performed in response to detection of an external input / output error by the external input / output control device 2. Of the plurality of tasks executed by the device 3, only the task corresponding to the abnormality is degenerated.

【0021】ここで、管理装置本体1は、タスク縮退可
能でそのトリガとなる外部入出力のネーム/アドレスが
登録されているタスク縮退登録ファイル4、タスク毎に
外部入出力のネーム/アドレス/オブジェクト等の情報
が登録されている外部入出力情報ファイル5及びタスク
毎に内部入出力のネーム/アドレス/オブジェクト等の
情報が登録されている内部入出力情報ファイル6を有し
ており、これら各ファイルがリファレンス作成部7に接
続される。
Here, the management apparatus main body 1 is a task degeneracy registration file 4 in which a task degeneracy is possible and an external input / output name / address serving as a trigger is registered, and an external input / output name / address / object for each task. It has an external input / output information file 5 in which information such as information is registered and an internal input / output information file 6 in which information such as internal input / output name / address / object is registered for each task. Is connected to the reference creating unit 7.

【0022】リファレンス作成部7は、外部入出力リフ
ァレンス作成部7a及び内部リファレンス作成部7bか
らなり、上記各ファイル4,5,6内の情報に基づき、
縮退可能な外部入出力に対応してネーム/アドレス/入
出力タスク数/入出力タスク番号列からなるタスク縮退
情報を作成して外部入出力リファレンス記憶部8または
内部入出力リファレンス記憶部9に書込む。
The reference creating unit 7 is composed of an external input / output reference creating unit 7a and an internal reference creating unit 7b, and based on the information in each of the files 4, 5, and 6 described above.
Corresponding to the degenerate external input / output, task degenerate information consisting of name / address / input / output task number / input / output task number sequence is created and written to the external input / output reference storage unit 8 or the internal input / output reference storage unit 9. Put in.

【0023】一方、タスク自動選択部10は、外部入出
力タスク一括選択部10a及び内部入出力一括選択部1
0bからなり、外部入出力制御装置2による入出力異常
の検出に応動して、上記各リファレンス記憶部8,9内
のタスク縮退情報のうちで当該異常に対応するタスク縮
退情報を選択する。
On the other hand, the automatic task selection unit 10 includes an external input / output task batch selection unit 10a and an internal input / output batch selection unit 1
0b, in response to the detection of an input / output abnormality by the external input / output control device 2, the task reduction information corresponding to the abnormality is selected from the task reduction information in each of the reference storage units 8 and 9.

【0024】また、要求制御部11は、タスク縮退要求
部11a、外部入出力異常回復要求部11b及びタスク
復帰要求部11cからなり、タスク自動選択部10によ
り選択されたタスク縮退情報に基づいて、タスク縮退要
求及びタスク復帰要求を作成してタスク実行制御装置3
に送出すると共に、異常回復要求を作成して外部入出力
制御装置2に送出する。次に、以上のように構成された
タスク縮退管理装置の動作を説明する。
The request control unit 11 is composed of a task degeneration request unit 11a, an external input / output abnormality recovery request unit 11b, and a task restoration request unit 11c, and based on the task degeneracy information selected by the task automatic selection unit 10. The task execution control device 3 is created by creating a task reduction request and a task return request.
In addition to sending to the external input / output control device 2, an abnormal recovery request is created and sent to Next, the operation of the task degeneracy management device configured as described above will be described.

【0025】まず、外部入出力リファレンス作成部7a
では、タスク縮退登録ファイル4からタスク縮退可能な
外部入出力のネーム/アドレスが読出されると共に、こ
の外部入出力のネーム/アドレスに基づいて、外部入出
力情報ファイル5から、外部入出力毎にどのタスクで外
部入出力しているかが検索され、当該外部入出力のネー
ム/アドレス,外部入出力毎に幾つのタスクがあるかを
示す入出力タスク数及びタスク縮退するタスクの入出力
タスク番号列が作成されて、それぞれ外部入出力リファ
レンス記憶部8に書込まれる。
First, the external input / output reference creating section 7a
Then, the name / address of the external input / output capable of reducing the task is read from the task reduction registration file 4, and based on the external input / output name / address, from the external input / output information file 5 for each external input / output. It is searched for which task the external input / output is, and the name / address of the external input / output, the number of input / output tasks indicating the number of tasks for each external input / output, and the input / output task number string of the task to be degenerated Are created and written in the external input / output reference storage unit 8, respectively.

【0026】同様に、内部入出力リファレンス作成部7
bでは、タスク縮退登録ファイル4からタスク縮退可能
な外部入力のネーム/アドレスが読出されると共に、こ
の外部入力のネーム/アドレスに基づいて、外部入出力
情報ファイル5からこの外部入力毎にどのタスクで外部
入力しているかが検索され、当該外部入力のネーム/ア
ドレス、外部入力毎の入力タスク数及びタスク番号列が
作成されて、それぞれ内部入出力リファレンス記憶部9
に書込まれる。
Similarly, the internal input / output reference creating unit 7
In b, the name / address of the external input that can reduce the task is read from the task reduction registration file 4, and based on the name / address of the external input, which task is input from the external input / output information file 5 for each external input. It is searched whether the external input is made, and the name / address of the external input, the number of input tasks for each external input, and the task number string are created.
Written in.

【0027】さらに、この内部入出力リファレンス作成
部7bでは、内部入出力情報ファイル6から、上記書込
んだタスク毎にデータをどこへ内部出力しているかが検
索されると共に、この内部出力したデータを内部入力と
していずれかへ内部出力するタスクが再帰的に検索さ
れ、先の入力タスク数と入力タスク番号列に追加されて
内部入出力リファレンス記憶部9に書き込まれる。この
状態で、まず、外部入出力に異常が発生した場合につい
て説明する。
Further, in the internal input / output reference creating section 7b, the internal input / output information file 6 is searched for where the data is internally output for each written task, and the internally output data is output. Is internally retrieved as an internal input to any one of them, and the task is internally recursively searched, added to the previous input task number and input task number string, and written in the internal input / output reference storage unit 9. In this state, first, the case where an abnormality occurs in the external input / output will be described.

【0028】外部入出力に異常が発生すると、外部入出
力制御装置2では、この異常が検出されて該当する外部
入出力のネーム/アドレスを示す異常検出信号がタスク
自動選択部10に送出される。
When an abnormality occurs in the external input / output, the external input / output control device 2 detects the abnormality and sends an abnormality detection signal indicating the name / address of the corresponding external input / output to the task automatic selection section 10. .

【0029】タスク自動選択部10のうち、外部入出力
タスク一括選択部10aでは、この異常検出信号に基づ
いて、異常が検出された外部入出力に対応するタスク縮
退情報が外部入出力リファレンス記憶部8から読出さ
れ、要求制御部11に送出される。
In the external input / output task batch selection unit 10a of the automatic task selection unit 10, the task degeneration information corresponding to the external input / output in which the abnormality is detected is stored in the external input / output reference storage unit based on the abnormality detection signal. It is read from 8 and sent to the request control unit 11.

【0030】また、要求制御部11のうち、タスク縮退
要求部11aでは、このタスク縮退情報のうちで入出力
タスク数及び入出力タスク番号列に基づいて、縮退する
タスクに対応するタスク縮退要求が作成されてタスク実
行制御装置3に送出される。タスク実行制御装置3で
は、このタスク縮退要求に対応するタスクの実行が停止
される。
Further, in the task degeneration request unit 11a of the request control unit 11, a task degeneration request corresponding to the degenerating task is issued based on the number of input / output tasks and the input / output task number sequence in the task degeneration information. It is created and sent to the task execution control device 3. In the task execution control device 3, the execution of the task corresponding to this task degeneration request is stopped.

【0031】また、要求制御部11のうち、外部入出力
異常回復要求部11bでは、当該タスク縮退情報のうち
で外部入出力のネーム/アドレスに基づいて、異常が検
出された外部入出力に対応する異常回復要求が作成され
て外部入出力制御装置2に送出される。この外部入出力
制御装置2では、この異常回復要求に基づいて、異常に
対応する異常回復処理が実行されて異常が回復される。
なお、この異常回復処理は、例えば異常に対応するIC
の初期化処理である。
Further, the external input / output abnormality recovery requesting portion 11b of the request control portion 11 responds to the external input / output in which the abnormality is detected based on the external input / output name / address in the task degeneracy information. An abnormal recovery request is generated and sent to the external input / output control device 2. In the external input / output control device 2, the abnormality recovery processing corresponding to the abnormality is executed based on the abnormality recovery request to recover the abnormality.
It should be noted that this abnormality recovery process is performed by, for example, an IC corresponding to the abnormality.
Is an initialization process of.

【0032】さらに、要求制御部11のうち、タスク復
帰要求部11cでは、異常が回復すると、当該タスク縮
退情報のうちで入出力タスク数及び入出力タスク番号列
に基づいて、縮退したタスクに対応するタスク復帰要求
が作成されてタスク実行制御装置3に送出される。タス
ク実行制御装置3では、このタスク復帰要求に基づい
て、タスクの縮退が解除され、当該タスクが実行され
る。次に、外部入力に異常が発生した場合について説明
する。なお、この場合、前述した外部入出力の異常に対
する動作も並行して行われる。
Further, in the task restoration request unit 11c of the request control unit 11, when the abnormality is recovered, the degenerated task is dealt with based on the number of input / output tasks and the input / output task number sequence in the task reduction information. A task return request to perform is created and sent to the task execution control device 3. In the task execution control device 3, the degeneration of the task is released and the task is executed based on this task return request. Next, a case where an abnormality occurs in the external input will be described. In this case, the operation for the abnormality of the external input / output described above is also performed in parallel.

【0033】外部入力に異常が発生すると、前述同様
に、外部入出力制御装置2では、この異常が検出されて
該当する外部入力のネーム/アドレスを示す異常検出信
号がタスク自動選択部10に送出される。
When an abnormality occurs in the external input, the abnormality is detected in the external input / output control unit 2 and the abnormality detection signal indicating the name / address of the corresponding external input is sent to the task automatic selection unit 10 as described above. To be done.

【0034】タスク自動選択部10のうち、内部入出力
タスク一括選択部10bでは、この異常検出信号に基づ
いて、異常が検出された外部入力に対応するタスク縮退
情報が内部入出力リファレンス記憶部9から読出され、
要求制御部11に送出される。
In the internal input / output task batch selection unit 10b of the automatic task selection unit 10, based on this abnormality detection signal, the task degeneracy information corresponding to the external input in which the abnormality is detected is stored in the internal input / output reference storage unit 9. Read from
It is sent to the request control unit 11.

【0035】以下、同様に要求制御部11では、当該タ
スク縮退情報に基づいて、タスク縮退要求が作成されて
タスク実行制御装置3に送出される。また、このタスク
縮退要求によってタスクが縮退すると、異常回復要求が
作成されて外部入出力制御装置2に送出される。外部入
出力制御装置2では、異常が回復すると、異常回復信号
がタスク復帰要求部11cへ送出される。タスク復帰要
求部11cでは、この異常回復信号によってタスク復帰
要求がタスク実行制御装置に送出される。タスク実行制
御装置3では、タスクの縮退が解除されて当該タスクが
実行される。
Thereafter, similarly, the request control unit 11 creates a task reduction request based on the task reduction information and sends it to the task execution control device 3. When the task is degenerated by this task degeneration request, an abnormal recovery request is created and sent to the external input / output control device 2. In the external input / output control device 2, when the abnormality is recovered, an abnormality recovery signal is sent to the task return request unit 11c. In the task restoration request unit 11c, the task restoration request is sent to the task execution control device by this abnormal recovery signal. In the task execution control device 3, the degeneracy of the task is released and the task is executed.

【0036】上述したように、本実施例によれば、各入
出力のうちの縮退可能な外部入出力が記憶されているタ
スク縮退登録ファイル4、各タスク毎にそれぞれ対応す
る各外部入出力の情報が記憶されている外部入出力情報
ファイル5及び各タスク毎にそれぞれ対応する内部入出
力の情報が記憶されている内部入出力情報ファイル6を
設けている。
As described above, according to this embodiment, the task degeneracy registration file 4 in which the degenerate external input / output of each input / output is stored, and each external input / output corresponding to each task is stored. An external input / output information file 5 in which information is stored and an internal input / output information file 6 in which internal input / output information corresponding to each task is stored are provided.

【0037】これにより、外部入出力リファレンス作成
部7aがタスク縮退登録ファイル4に記憶されている各
縮退可入出力毎に外部入出力情報ファイル5を読出して
それぞれ対応するタスク縮退情報を作成して外部入出力
リファレンス記憶部8に書込む。
As a result, the external input / output reference creating unit 7a reads the external input / output information file 5 for each degradable input / output stored in the task degenerate registration file 4 and creates corresponding task degenerate information. Write to the external input / output reference storage unit 8.

【0038】また、内部入出力リファレンス作成部7b
が、外部入出力情報ファイルに記憶されている各タスク
情報のうち、タスク縮退登録ファイル4に記憶されてい
る各縮退可入力毎に対応するタスク縮退情報を作成して
内部入出力リファレンス記憶部9に書込む。さらに、内
部入出力情報ファイル6からそのタスク縮退情報に対応
する内部出力を検索すると共に、この内部出力を内部入
力とし、内部入出力情報ファイル6から当該内部入力毎
にそれぞれ対応するタスク縮退情報を追加作成して内部
入出力リファレンス記憶部6に書込む。
Further, the internal input / output reference creating section 7b
Of the task information stored in the external input / output information file, the task input / output reference storage unit 9 creates task reduction information corresponding to each reduction-allowed input stored in the task reduction registration file 4. Write to. Further, the internal output corresponding to the task degradation information is searched from the internal input / output information file 6, and this internal output is used as an internal input, and the task degradation information corresponding to each internal input is obtained from the internal input / output information file 6. It is additionally created and written in the internal input / output reference storage unit 6.

【0039】従って、入出力制御装置2が入出力に異常
を検出した場合、外部入出力タスク一括選択部10a
が、外部入出力リファレンス記憶部8から異常に対応す
るタスク縮退情報を読出し、タスク縮退要求部11aが
このタスク縮退情報に対応するタスク縮退要求をタスク
実行制御装置3に送出し、タスク実行制御装置3が、こ
のタスク縮退要求に対応するタスクの実行を停止する。
Therefore, when the input / output control device 2 detects an abnormality in the input / output, the external input / output task batch selection unit 10a.
Reads out the task degradation information corresponding to the abnormality from the external input / output reference storage unit 8, and the task degradation request unit 11a sends a task degradation request corresponding to this task degradation information to the task execution control device 3 3 stops the execution of the task corresponding to this task degeneration request.

【0040】また、入出力制御装置2が入力に異常を検
出した場合、内部入出力タスク一括選択部10bが、内
部入出力リファレンス記憶部9から異常に対応するタス
ク縮退情報を読出し、前述同様にタスク縮退要求部11
aがこのタスク縮退情報に対応するタスク縮退要求をタ
スク実行制御装置3に送出し、タスク実行制御装置3
が、このタスク縮退要求に対応するタスクの実行を停止
する。
When the input / output control device 2 detects an abnormality in the input, the internal input / output task batch selection unit 10b reads out the task degeneracy information corresponding to the abnormality from the internal input / output reference storage unit 9, and the same as described above. Task reduction request unit 11
a sends a task degradation request corresponding to this task degradation information to the task execution control device 3, and the task execution control device 3
Stops the execution of the task corresponding to this task reduction request.

【0041】このように、予め入出力毎にその異常の際
に縮退させるタスクを自動的に記憶することにより、入
出力の異常の際に縮退させるタスクを必要最小限にとど
めてタスク実行制御装置3の稼働性を確保すると共に、
開発時の省力性及び運用後の外部入出力の改変等に対す
る保守性を向上することができる。
As described above, by automatically storing the task to be degenerated in the event of an abnormality for each input / output in advance, the task to be degenerated in the event of an input / output abnormality is minimized to the task execution control apparatus. While ensuring the operability of 3,
It is possible to improve labor-saving during development and maintainability for modification of external input / output after operation.

【0042】また、本実施例では、外部入出力異常回復
要求部11bが、タスク縮退要求部11aによってタス
ク縮退要求が送出された場合、異常が検出された入出力
に対応する異常回復要求が入出力制御装置2に送出さ
れ、タスク復帰要求部11cでは、外部入出力異常回復
要求部11bによって異常回復要求が送出されると共
に、当該異常が回復した場合、タスク縮退要求部11a
が送出したタスク縮退要求に対応するタスク復帰要求が
タスク実行制御装置3に送出される。
Further, in this embodiment, when the external input / output abnormality recovery requesting unit 11b sends a task degradation request by the task degradation requesting unit 11a, an abnormal recovery request corresponding to the input / output in which the abnormality is detected is input. In the task recovery request unit 11c, the external input / output abnormal recovery request unit 11b sends an abnormal recovery request, and when the abnormal condition is recovered, the task degeneration request unit 11a is sent to the output control device 2.
A task return request corresponding to the task degeneration request sent by is sent to the task execution control device 3.

【0043】このように、タスクを縮退させてから自動
的に異常に対する異常回復要求を送出し、かつ、異常回
復の後にタスク復帰要求を送出することにより、当該異
常の回復と縮退したタスクの復帰とを迅速に行って、タ
スク実行制御装置3の稼働性を向上させることができ
る。なお、本発明は、その要旨を逸脱しない範囲で種々
変形して実施できる。
As described above, after the task is degenerated, the abnormal recovery request for the abnormality is automatically transmitted, and the task recovery request is transmitted after the abnormal recovery, thereby recovering the abnormality and recovering the degenerated task. By rapidly performing the above, the operability of the task execution control device 3 can be improved. The present invention can be variously modified and implemented without departing from the scope of the invention.

【0044】[0044]

【発明の効果】以上説明したように本発明は次のような
効果を奏する。
As described above, the present invention has the following effects.

【0045】請求項1及び2の発明は、タスク縮退メモ
リ、入出力情報メモリ及び内部入出力情報メモリを設
け、リファレンス記憶手段及び内部リファレンス記憶手
段が上記各メモリを参照して異常の際に縮退可能なタス
クを記憶し、入出力が異常の際には、タスク読出手段及
び内部タスク読出手段が縮退可能なタスクを読出してタ
スク縮退要求手段が当該タスクの縮退要求を送出するよ
うにしたので、予め入出力毎にその異常の際に縮退させ
るタスクを自動的に記憶することにより、入出力の異常
の影響を必要最小限にとどめると共に、開発時の省力性
及び運用後の保守性を向上できる。
According to the first and second aspects of the present invention, a task degeneracy memory, an input / output information memory and an internal input / output information memory are provided, and the reference storage means and the internal reference storage means refer to each of the memories and degenerate when an abnormality occurs. Possible tasks are stored, and when the input / output is abnormal, the task reading means and the internal task reading means read the degenerate task and the task degeneration request means sends out the degeneration request of the task. By automatically storing the task to be degenerated when an abnormality occurs for each input / output in advance, the effect of the input / output abnormality can be minimized, and labor saving during development and maintainability after operation can be improved. .

【0046】また、請求項3の発明は、異常回復要求手
段がタスク縮退要求の送出に応動して異常回復要求を送
出し、異常が回復した場合、タスク復帰要求手段が上記
縮退要求が送出されたタスクの復帰要求を送出するよう
にしたので、タスクを縮退させてから自動的に異常に対
する異常回復要求を送出し、かつ、異常回復の後にタス
ク復帰要求を送出することにより、当該異常の回復と縮
退したタスクの復帰とを迅速に行って、タスク実行制御
装置の稼働性を向上させることができる。
According to the third aspect of the invention, the abnormality recovery request means sends an abnormal recovery request in response to the sending of the task degeneration request, and when the abnormality is recovered, the task restoration request means sends the degeneration request. Since the task recovery request is sent out, the task is degenerated, the abnormal recovery request for the abnormality is automatically sent, and the task recovery request is sent after the abnormal recovery to recover the abnormality. It is possible to improve the operability of the task execution control device by quickly performing the restoration of the degenerated task.

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

【図1】本発明の一実施例に係るタスク縮退管理装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a task degradation management device according to an embodiment of the present invention.

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

1…管理装置本体、2…外部入出力制御装置、3…タス
ク実行制御装置、4…タスク縮退登録ファイル、5…外
部入出力情報ファイル、6…内部入出力情報ファイル、
7…リファレンス作成部、7a…外部入出力リファレン
ス作成部、7b…内部入出力リファレンス作成部、8…
外部入出力リファレンス記憶部、9…内部入出力リファ
レンス記憶部、10…タスク自動選択部、10a…外部
入出力タスク一括選択部、10b…内部入出力タスク一
括選択部、11…要求制御部、11a…タスク縮退要求
部、11b…外部入出力異常回復要求部、11c…タス
ク復帰要求部。
1 ... Management device main body, 2 ... External input / output control device, 3 ... Task execution control device, 4 ... Task degradation registration file, 5 ... External input / output information file, 6 ... Internal input / output information file,
Reference numeral 7 ... Reference generating unit, 7a ... External input / output reference generating unit, 7b ... Internal input / output reference generating unit, 8 ...
External input / output reference storage unit, 9 ... Internal input / output reference storage unit, 10 ... Task automatic selection unit, 10a ... External input / output task batch selection unit, 10b ... Internal input / output task batch selection unit, 11 ... Request control unit, 11a ... task degeneration request unit, 11b ... external I / O error recovery request unit, 11c ... task return request unit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のタスクを実行するタスク実行制御
装置及び複数の入出力を制御する入出力制御装置に接続
され、前記入出力制御装置が異常を検出したとき、当該
異常に対応して前記タスク実行制御装置のタスクの縮退
を管理するタスク縮退管理装置において、 前記各入出力のうち、複数の縮退可入出力が記憶されて
いるタスク縮退メモリと、 前記各タスク毎に対応する前記各入出力が記憶されてい
る入出力情報メモリと、 前記入出力情報メモリに記憶されている各タスクのう
ち、前記タスク縮退メモリに記憶されている各縮退可入
出力に対応するタスクを記憶するリファレンス記憶手段
と、 前記入出力制御装置が入出力に異常を検出した場合、前
記リファレンス記憶手段から当該異常の入出力に対応す
るタスクを読出すタスク読出手段と、 前記タスク読出手段で読出したタスクに対応するタスク
縮退要求を前記タスク実行制御装置に送出するタスク縮
退要求手段とを備えたことを特徴とするタスク縮退管理
装置。
1. A task execution control device for executing a plurality of tasks and an input / output control device for controlling a plurality of inputs / outputs, and when the input / output control device detects an abnormality, the above-mentioned operation is performed in response to the abnormality. In a task degradation management device that manages task degradation of a task execution control device, a task degradation memory in which a plurality of degenerate I / Os are stored among the respective inputs and outputs, and the respective input corresponding to each task. An input / output information memory in which an output is stored, and a reference storage that stores, among the tasks stored in the input / output information memory, a task corresponding to each shrinkable input / output stored in the task shrinkage memory And a task reading means for reading a task corresponding to the input / output of the abnormality from the reference storage means when the input / output control device detects an abnormality in the input / output. When the task degenerate management apparatus characterized by comprising a task degeneration request means for sending a task degenerate request to the task execution control device corresponding to the read out task by the task reading means.
【請求項2】 請求項1記載のタスク縮退管理装置にお
いて、 前記各タスク毎に対応する内部入出力が記憶されている
内部入出力情報メモリと、 前記入出力情報メモリに記憶されている各タスクのう
ち、前記タスク縮退メモリに記憶されている各縮退可入
力毎に対応するタスクを記憶し、かつ、前記内部入出力
情報メモリから当該記憶したタスク毎に対応する内部出
力を検索すると共に、当該検索した内部出力を内部入力
とし、前記内部入出力情報メモリから当該内部入力毎に
対応するタスクを記憶する内部リファレンス記憶手段
と、 前記入出力制御装置が入力に異常を検出した場合、前記
内部リファレンス記憶手段から当該異常の入力に対応す
るタスクを読出す内部タスク読出手段と、 前記内部タスク読出手段で読出したタスクに対応するタ
スク縮退要求を前記タスク実行制御装置に送出する内部
タスク縮退要求手段とを付加したことを特徴とするタス
ク縮退管理装置。
2. The task degeneracy management device according to claim 1, wherein an internal input / output information memory in which internal input / output corresponding to each task is stored, and each task stored in the input / output information memory Among these, a task corresponding to each degenerate input that is stored in the task degeneracy memory is stored, and an internal output corresponding to each stored task is retrieved from the internal input / output information memory, and An internal reference storage means for storing the task corresponding to each internal input from the internal input / output information memory using the searched internal output as an internal input, and the internal reference when the input / output control device detects an abnormality in the input. An internal task reading means for reading a task corresponding to the input of the abnormality from the storage means, and a task corresponding to the task read by the internal task reading means. Task degenerate management apparatus characterized by the addition of an internal task degeneration request means for sending a task degenerate request to the task execution control device.
【請求項3】 請求項2記載のタスク縮退管理装置にお
いて、 前記タスク縮退要求手段又は前記内部タスク縮退要求手
段によってタスク縮退要求が送出された場合、前記入出
力制御装置によって異常が検出された入出力に対応する
異常回復要求を前記入出力制御装置に送出する異常回復
要求手段と、 前記異常回復要求手段によって異常回復要求が送出され
ると共に、当該異常が回復した場合、前記タスク縮退要
求手段又は前記内部タスク縮退要求手段が送出したタス
ク縮退要求に対応するタスク復帰要求を前記タスク実行
制御装置に送出するタスク復帰要求手段を付加したこと
を特徴とするタスク縮退管理装置。
3. The task degradation management apparatus according to claim 2, wherein when the task degradation request is sent by the task degradation requesting means or the internal task degradation requesting means, an error detected by the input / output control device is detected. Abnormal recovery request means for sending an abnormal recovery request corresponding to the output to the input / output control device; and an abnormal recovery request sent by the abnormal recovery request means, and when the abnormal condition is recovered, the task degeneration request means or A task degeneracy management device further comprising task restoration requesting means for transmitting a task restoration request corresponding to the task degeneration request sent by the internal task degeneration requesting means to the task execution control device.
JP31961292A 1992-11-30 1992-11-30 Task degeneration management device Expired - Lifetime JP3231864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31961292A JP3231864B2 (en) 1992-11-30 1992-11-30 Task degeneration management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31961292A JP3231864B2 (en) 1992-11-30 1992-11-30 Task degeneration management device

Publications (2)

Publication Number Publication Date
JPH06168152A true JPH06168152A (en) 1994-06-14
JP3231864B2 JP3231864B2 (en) 2001-11-26

Family

ID=18112226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31961292A Expired - Lifetime JP3231864B2 (en) 1992-11-30 1992-11-30 Task degeneration management device

Country Status (1)

Country Link
JP (1) JP3231864B2 (en)

Also Published As

Publication number Publication date
JP3231864B2 (en) 2001-11-26

Similar Documents

Publication Publication Date Title
US20050114411A1 (en) Safely restoring previously un-backed up data during system restore of a failing system
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
JPH06168152A (en) Task degeneracy managing device
JPH0594353A (en) Database management system
US6581156B1 (en) Method for recording a data state in a data processing system
JP2002351504A (en) Device for protecting control data
JP2872008B2 (en) Computer system and method for implementing system reduced operation
CN117785554A (en) Device power-down data retention method, system, device and readable storage medium
JPH03244054A (en) Storage protection system
JPS6211920A (en) Command recovery system
JPH0553801A (en) Stack consumption retrieving system
JP2503634B2 (en) Micro program controller
KR100403747B1 (en) Method for correcting program of memory
JP2001051854A (en) Information management system
JPS6250938A (en) Recovering system for main memory resident data base
JPH03246643A (en) Processing for editing dump summary
JPS62284440A (en) Software resource maintenance system for terminal equipment
JP3263987B2 (en) Automatic IPL initial setting processing method
JPH11184728A (en) Debug processing method and device therefor and recording medium for programing and recording the same method
JPH0336635A (en) Fault recovery processing system
JPS61134850A (en) Debugging method of subsequent processor
JPH1027153A (en) Bus transfer device
JPH08235029A (en) Storage method for system fault information
JPS62189544A (en) Information processor
JPH02150194A (en) Collected/distributed data supervising device for communication supervising system

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070914

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120914

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 12