JPH0457135A - Fault processing system for inter-task communication - Google Patents
Fault processing system for inter-task communicationInfo
- Publication number
- JPH0457135A JPH0457135A JP2166579A JP16657990A JPH0457135A JP H0457135 A JPH0457135 A JP H0457135A JP 2166579 A JP2166579 A JP 2166579A JP 16657990 A JP16657990 A JP 16657990A JP H0457135 A JPH0457135 A JP H0457135A
- Authority
- JP
- Japan
- Prior art keywords
- task
- communication
- queue
- requirement
- communication requirement
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 53
- 238000012544 monitoring process Methods 0.000 claims abstract description 13
- 230000004044 response Effects 0.000 claims abstract description 7
- 238000000034 method Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000010365 information processing Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、複数タスク間で、1ヘランサクシヨンをキュ
ーインタする通信での相手タスクの障害認知及び、1ヘ
ランサクシヨン発行元タスクの障害回復に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to recognition of a fault in a partner task in communication between a plurality of tasks in which a single-order execution is queued, and recovery from a fault in a task that issued the single-order execution.
従来、特開平1−93852公報に記載のように、キュ
ーか’a:<i杯になる以前に、通信要求発行タスクに
通知を行い、要求発行削に、要求発行元で発行を抑止す
る方式となっていた。Conventionally, as described in Japanese Unexamined Patent Application Publication No. 1-93852, there is a method in which a communication request issuing task is notified before the queue reaches 'a: It became.
又、特開昭60−29852では、キューか満杯の時に
、キューの拡大を行う方式もあった。Furthermore, in Japanese Patent Application Laid-Open No. 60-29852, there was a method of enlarging the queue when the queue was full.
従来のタスク間通信は、見かけ」二、通信で要求するキ
ューに制限をつけないように、1・分キュ領域を大きく
とる必要があった。しかし、この方式では、使用可能な
メモリが十分ない時の場合か考慮できなかった。In conventional inter-task communication, it was necessary to have a large 1 minute queue area so as not to limit the number of queues required for communication. However, this method cannot take into account the case where there is not enough memory available.
本発明の1−1的は、使用1可能メモリを小さく押える
ことを1」的に、キューの個数を制限した場合の障害回
復を提供することにある。An object of the present invention is to provide failure recovery when the number of queues is limited, with the aim of keeping usable memory small.
上記目的を達成するために、通信時に固定長のキューを
用い、更に、相手タスクの障害発生をタイマで監視し、
タイムアラ1−時に、発行中の通信要求をリセッ1〜す
る手段と、キューにlされている通信要求をクリアする
手段を設けたものである。In order to achieve the above purpose, a fixed-length queue is used during communication, and a timer is used to monitor the occurrence of failures in the other task.
This system is provided with means for resetting the communication requests currently being issued and means for clearing the communication requests queued at the time of time alarm 1-.
複数タスク間で通信を行う情報処理システムにおいて、
通信要求をキューイングする固定長のキューで通信のス
ケジュールを行い、相手タスクの障害検出時に、通信要
求がキューに登録できないためバンクアップしたタスク
の通信要求をリセッ1へし、更に、相手タスクが動き出
した時に無効な通信型−)、を受はイ・1けることにな
るのでキューをクリアすることで、障害回復ができる。In information processing systems that communicate between multiple tasks,
Communication is scheduled in a fixed-length queue for queuing communication requests, and when a failure is detected in the other task, the communication request of the banked-up task is set to reset 1 because the communication request cannot be registered in the queue, and furthermore, the other task is If the communication type is invalid when it starts moving, it will be sent to I-1, so clearing the queue can recover from failures.
以下、本発明の−・実施例を、第1図により説明する。 Hereinafter, embodiments of the present invention will be described with reference to FIG.
タスク120はタスクIOに対し通信要求201.20
mを出し応答20を待つ。この時、固定長のキュー10
に通信要求がイテ録され、順序をスケジュールされる。Task 120 sends communication request 201.20 to task IO
Issue m and wait for response 20. At this time, the fixed length queue 10
The communication requests are iterated and the order is scheduled.
一方120は、通信要求を出すと、タスク1.00に対
し、タイマ監視を要求するためタイマ監視テーブル50
に、タイマ値60と相手タスクID70と自タスクID
80を組みとして登録する。また、キュー10が、あふ
れた時は、通信要求ハングアップタスクI Dテーブル
30に、要求か登録され、120はハングアップする。On the other hand, when 120 issues a communication request, timer monitoring table 50 is used to request timer monitoring for task 1.00.
, the timer value 60, the other task ID 70, and the own task ID
Register 80 as a group. Furthermore, when the queue 10 overflows, the request is registered in the communication request hangup task ID table 30, and the task 120 hangs up.
通信監視タスク100は、第2図のフローに従って動作
する。通信応答20が来ないためタイムアラI・が発生
したら、50より通信タスクのタスクID70及び80
を求め、80より、30に80と同じIDが登録されて
いるかチエツクする。The communication monitoring task 100 operates according to the flow shown in FIG. If a time lag occurs because the communication response 20 is not received, the communication task IDs 70 and 80 will be changed from 50.
and checks from 80 whether the same ID as 80 is registered in 30.
もし有れば1、該当するタスク(例えば120)の、ハ
ングアップしている通信要求をリセノ1〜する。If there is one, the hung communication request of the corresponding task (for example, 120) is reset.
次に、70より、キュー1.0を求め、発行元タスクI
D301〜30mのうち、80と同一のものを、すべて
クリアする。これにより、201〜20mの通信要求の
うち、120の発行したものがすへてクリアされる。Next, from 70, find the queue 1.0 and issue the issuer task I.
Clear all of D301-30m that are the same as 80. As a result, of the communication requests 201 to 20m, the one issued by 120 is completely cleared.
一方、タイムアラ1〜後に、110がレスポンス20を
返した場合、120は読み捨てる。On the other hand, if 110 returns response 20 after timer 1, 120 is discarded.
以下、タスク月nとタスク12Ωの通信でも同様である
。又キュー10〜1nには、タスク120〜11の要求
が、混在して入っていても当方式で対処できる。The same applies to the communication between task month n and task 12Ω. Further, even if requests for tasks 120 to 11 are mixed and entered in queues 10 to 1n, this method can handle the request.
クリアされた通信要求は、通信監視タスクの持つタイマ
監視テーブルに残っているため引き続きタイマ監視か行
われ、次々にタイムアラ1−になり、同様な処理をくり
返す。Since the cleared communication request remains in the timer monitoring table held by the communication monitoring task, timer monitoring is continued, one after another, and the time alarm 1- occurs, and the same process is repeated.
ハングアンプした通信要求がリセットされることで、タ
スク120は、相手タスクの異常を認知し、相手タスク
との通信を禁止する手段をとればよい。By resetting the hung communication request, the task 120 recognizes the abnormality of the other task, and may take measures to prohibit communication with the other task.
以上のれ(1果、障害処理を考慮した、非同期通信を、
固定長のキューで実現でき、メモリ削減が可能となる。The above results (1) Asynchronous communication considering failure handling,
This can be achieved with a fixed-length queue, allowing for memory reduction.
本発明によれは、複数タスク間の通信に使用する通信要
求キューが小さくできるので、メモリの削減かできる。According to the present invention, since the communication request queue used for communication between multiple tasks can be made small, memory can be reduced.
また、タスク間の通信における障害は、相手タスクのl
’l’ r’;がほどんとであるため、障害時の無用な
り1−ライを行う必要がなくなる。In addition, failures in communication between tasks can occur when the other task's
Since 'l'r'; is almost constant, there is no need to perform an unnecessary 1-lie in the event of a failure.
第1図は本発明の一実施例の情報処理システムにおける
障害処理方式のシステム構成図、第2図は第1図の]、
QOのタスクの処理フロー図である。
10、in・通信要求登録キュー
20 レスポンス、
21・・通信要求のキューへの登録、
22 通信要求のキューよりの取り出し、30・・・
通信要求ハングアップタスクIDt録テーブル、
50・・−タイマ監視テーブル、
60.6k タイマ監視値、
70.7k 相手タスク(110〜111)のタスク
I I)、80.8k 通信発行元タスク(120〜
12Q)のタスクID、
201−20m −2n 1 2 [1m−通信要求、
301−30m−3n 1−3 n m−通信要求タス
クID、40〜4Q・・通信要求がハングアップしてい
るタスクのI D、
100・通信監視タスク、
110〜lln・・通信相手タスク、
篇
図
木 2 図
スクート −FIG. 1 is a system configuration diagram of a failure handling method in an information processing system according to an embodiment of the present invention, and FIG.
FIG. 3 is a processing flow diagram of a QO task. 10, in-communication request registration queue 20 response, 21... registration of communication request in queue, 22 retrieval of communication request from queue, 30...
Communication request hangup task IDt record table, 50...-Timer monitoring table, 60.6k Timer monitoring value, 70.7k Task II of the other task (110-111), 80.8k Communication issuer task (120-111)
12Q) task ID, 201-20m -2n 1 2 [1m-communication request,
301-30m-3n 1-3 nm-Communication request task ID, 40-4Q... ID of the task where the communication request is hung up, 100- Communication monitoring task, 110-lln... Communication partner task, edition Diagram 2 Diagram Scoot −
Claims (1)
けに対し、必ず応答があるタスク間通信において、問い
かけ要求をキューイングする固定長のキューと、タイマ
監視のタイムアウト時にキューのクリア及び通信発行元
をリセットさせる機能を具備することを特徴とするタス
ク間通信の障害処理方式。1. In communication between multiple tasks, in which there is always a response to an inquiry from a request source, there is a fixed-length queue for queuing inquiry requests, and clearing of the queue and communication when timer monitoring times out. A failure handling method for intertask communication characterized by having a function of resetting a publisher.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2166579A JPH0457135A (en) | 1990-06-27 | 1990-06-27 | Fault processing system for inter-task communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2166579A JPH0457135A (en) | 1990-06-27 | 1990-06-27 | Fault processing system for inter-task communication |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0457135A true JPH0457135A (en) | 1992-02-24 |
Family
ID=15833892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2166579A Pending JPH0457135A (en) | 1990-06-27 | 1990-06-27 | Fault processing system for inter-task communication |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0457135A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7774532B2 (en) | 2005-03-03 | 2010-08-10 | Nec Corporation | Processing device, failure recovery method therefor, and failure restoration method |
CN107273229A (en) * | 2017-05-24 | 2017-10-20 | 百富计算机技术(深圳)有限公司 | Handle method, device and computer-readable recording medium abnormal during timer |
-
1990
- 1990-06-27 JP JP2166579A patent/JPH0457135A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7774532B2 (en) | 2005-03-03 | 2010-08-10 | Nec Corporation | Processing device, failure recovery method therefor, and failure restoration method |
CN107273229A (en) * | 2017-05-24 | 2017-10-20 | 百富计算机技术(深圳)有限公司 | Handle method, device and computer-readable recording medium abnormal during timer |
CN107273229B (en) * | 2017-05-24 | 2020-06-26 | 百富计算机技术(深圳)有限公司 | Method, device and computer readable storage medium for processing timer timing exception |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62184544A (en) | Virtual computer system | |
JPH0457135A (en) | Fault processing system for inter-task communication | |
JPS63228335A (en) | Event information and reception processing system in computer system | |
JP2893868B2 (en) | I / O device control method | |
JP2505044B2 (en) | Interrupt control method | |
JPH01258135A (en) | Transaction execution control system | |
JP3058081B2 (en) | Online transaction processing system | |
JPH01144131A (en) | Preference control system for execution of transaction | |
KR100420268B1 (en) | Kernel scheduling method using stacks | |
JPH02118841A (en) | Input queue control system | |
JP2842748B2 (en) | Monitoring and control method for information processing equipment | |
JPS62219055A (en) | Temporary blocking control system for message queue | |
JPH01248240A (en) | Process control system | |
JPS61289796A (en) | Interruption control system for electronic exchange system | |
JPH0457027B2 (en) | ||
JPH02232735A (en) | Transaction waiting system | |
JPS6148744B2 (en) | ||
JPH01214941A (en) | Inter-task communication system | |
JPS63245730A (en) | System for changing lock unit | |
JPH01243158A (en) | Information processor | |
JPS6120170A (en) | Information processing system | |
JPH02309844A (en) | Center equipment | |
JPH02273854A (en) | Interface control system | |
JPH02257225A (en) | Buffer managing device for computer system | |
JPH0217542A (en) | Time control system for real time monitor |