JPH0827768B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH0827768B2
JPH0827768B2 JP1188269A JP18826989A JPH0827768B2 JP H0827768 B2 JPH0827768 B2 JP H0827768B2 JP 1188269 A JP1188269 A JP 1188269A JP 18826989 A JP18826989 A JP 18826989A JP H0827768 B2 JPH0827768 B2 JP H0827768B2
Authority
JP
Japan
Prior art keywords
space
message
request message
processing unit
receiving
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.)
Expired - Lifetime
Application number
JP1188269A
Other languages
Japanese (ja)
Other versions
JPH0352048A (en
Inventor
和子 渡辺
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1188269A priority Critical patent/JPH0827768B2/en
Publication of JPH0352048A publication Critical patent/JPH0352048A/en
Publication of JPH0827768B2 publication Critical patent/JPH0827768B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 オペレーティングシステムのカーネルによるデータ処
理装置に関し, メッセージ通信を行う者へのフォールトトレラント機
能実現のための負担を軽くすることを目的とし, 送信空間と複数の受信空間の間のメッセージの送受信
を媒介手段を介して行うデータ処理装置の当該媒介手段
において, 送信空間から受信空間への要求メッセージを記憶する
記憶手段と, 受信空間のひとつに異常を検出した場合,当該検出前
に送信空間から受信した当該異常の発生した受信空間宛
の要求メッセージと識別情報とを他の受信空間に再送信
すると共に当該識別情報を記憶する再送信手段と, 当該他の受信空間から当該要求メッセージに対する返
信メッセージと共に識別情報を受け取る受信手段と, 当該返信メッセージの識別情報と前記要求メッセージ
の識別情報とが一致するか否かを判定する判定手段と, 当該判定結果が一致の場合前記送信空間に対し当該返
信メッセージを送信し,当該判定結果が不一致の場合前
記再送信手段に再送信を行わせ,当該再送信が所定の基
準を満たしたときに当該処理を止める返信制御手段とを
含むように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A data processing device using a kernel of an operating system is provided with a transmission space and a plurality of reception spaces for the purpose of lightening a burden on a person who performs message communication for realizing a fault tolerant function. In the mediating means of the data processing device for transmitting and receiving messages between the two via the mediating means, when an abnormality is detected in one of the storage means and the receiving means for storing the request message from the transmission space to the reception space, Retransmitting means for retransmitting the request message addressed to the receiving space in which the abnormality has occurred and the identification information received from the transmitting space before detection to another receiving space and storing the identifying information, and from the other receiving space. Receiving means for receiving the identification information together with the reply message to the request message, and the reply message of the reply message. Determining means for determining whether or not the different information and the identification information of the request message match, and if the determination result is the same, the reply message is transmitted to the transmission space, and if the determination result is not the same, It is configured to include a reply control unit that causes the retransmission unit to perform the retransmission and stops the process when the retransmission satisfies a predetermined criterion.

〔産業上の利用分野〕[Industrial applications]

本発明はデータ処理装置に関し,更に詳しくは,オペ
レーティングシステムのカーネルによるデータ処理装置
に関する。
The present invention relates to a data processing device, and more particularly to a data processing device using an operating system kernel.

データ処理システムにおけるデータの送受信は,メッ
セージの形で行われる。そこで,このメッセージの送受
信については,フォールトトレラント(FT)機能,即
ち,システムに異常が発生してもネットワークに対して
サービスを停止することなく提供し続ける機能が実現さ
れている。
Data is transmitted and received in the data processing system in the form of messages. Therefore, with regard to the transmission and reception of this message, a fault tolerant (FT) function, that is, a function of continuously providing the service to the network without stopping even if an abnormality occurs in the system is realized.

〔従来の技術〕[Conventional technology]

第4図は従来技術説明図であり,従来のメッセージの
再送処理について示している。
FIG. 4 is an explanatory view of a conventional technique and shows a conventional message retransmission process.

第4図において,1は送信空間,2はカーネル,3は受信空
間,31は受信空間3のうちの現用空間,32は受信空間3の
うちの待機空間である。
In FIG. 4, 1 is a transmission space, 2 is a kernel, 3 is a reception space, 31 is an active space in the reception space 3, and 32 is a standby space in the reception space 3.

処理プログラム又はプロセスの如き送信側,即ち送信
空間1が処理を要求するメッセージ(要求メッセージ)
をオペレーティングシステムのカーネル(核)2を介し
て,他の処理プログラム又はプロセスの如き受信側,即
ち,受信空間3のうちの現在活動中の空間(現用空間3
1)に送信する(図中)。
A message (request message) that the sender, such as a processing program or process, requests the processing by the sending space 1.
Via the kernel (core) 2 of the operating system, the receiving side such as another processing program or process, that is, the currently active space of the receiving space 3 (active space 3
Send to 1) (in the figure).

この後,メッセージの処理中に現用空間31にクラッシ
ュの如き異常が発生した場合(図中),現用空間31を
監視しているカーネル2がクラッシュの発生を送信空間
1に通知し,送信空間1がこれを受信する(図中)。
また,クラッシュの発生により,現用空間31が,これと
対(2重化)とされた受信空間3である待機空間32に切
り替わり,活動する(図中)。
After that, if an abnormality such as a crash occurs in the active space 31 during message processing (in the figure), the kernel 2 monitoring the active space 31 notifies the transmit space 1 of the occurrence of the crash, and the transmit space 1 Receives this (in the figure).
Further, due to the occurrence of the crash, the active space 31 is switched to the standby space 32, which is the reception space 3 paired with this (duplex), and is active (in the figure).

クラッシュの発生を知った送信空間1は,要求メッセ
ージをカーネル2を介して,現在活動している受信空間
である待機空間32に再送信する(図中)。
The transmission space 1 which has learned the occurrence of the crash retransmits the request message via the kernel 2 to the standby space 32 which is the currently active reception space (in the figure).

待機空間32は,要求メッセージを受信し,処理を完了
すると共に,送信空間1に対してカーネル2を介して返
信メッセージを送信し(図中),送信空間1はこれを
受信する(図中)。
The standby space 32 receives the request message and completes the processing, and at the same time, sends a reply message to the transmission space 1 via the kernel 2 (in the figure), and the transmission space 1 receives this (in the figure). .

以上のように,現用空間31におけるクラッシュに対し
てのフォールトトレラント機能が主として送信空間1に
よって実現されている。
As described above, the transmission space 1 mainly realizes the fault tolerant function against the crash in the working space 31.

また,現用空間31におけるクラッシュの原因が入力依
存バグ等の如く受信側の処理プログラム中のバグに在る
場合には,待機空間32においても同一のクラッシュが発
生し,正常に処理できない。この結果,クラッシュない
し要求メッセージの再送信が繰り返される(無限)ルー
プが発生する可能性がある。そこで,再送信前にループ
検出処理を行い(図中),ループ回数が所定の値を越
えた場合に適当な処理を行ってループを解消している。
If the cause of the crash in the active space 31 is a bug in the processing program on the receiving side such as an input-dependent bug, the same crash occurs in the standby space 32 and normal processing cannot be performed. As a result, a crash or an infinite loop in which request messages are retransmitted may occur. Therefore, loop detection processing is performed before retransmission (in the figure), and when the number of loops exceeds a predetermined value, appropriate processing is performed to eliminate the loop.

従って,前記ループに対するフォールトトレラント機
能が送信空間1によって実現されている。
Therefore, the fault tolerant function for the loop is realized by the transmission space 1.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

前述の従来技術によれば,クラッシュに基づく受信空
間の切り替えとクラッシュ通知とを認識して要求メッセ
ージを再送信する処理(図中)は,送信空間1が行わ
なければならない。一方,再送信された要求メッセージ
の内容については,これを使用する側,即ち受信側(受
信空間3)で管理しなければならない。従って,受信側
は2度目以降に受信した要求メッセージの内容が最初の
ものと同一か否かをチェックする機能を持たなければな
らない。また,前述の如くループが発生する可能性があ
るので,これに対するループ検出を送信空間1が行う必
要がある。
According to the above-mentioned conventional technique, the transmission space 1 must perform the process (in the figure) of recognizing the switching of the receiving space based on the crash and the notification of the crash and retransmitting the request message. On the other hand, the content of the retransmitted request message must be managed by the side using the request message, that is, the receiving side (reception space 3). Therefore, the receiving side must have a function of checking whether the content of the request message received after the second time is the same as the first one. Further, as described above, a loop may occur, and therefore the transmission space 1 needs to perform loop detection for this.

このように従来,メッセージの送受信についてのフォ
ールトトレラント機能は,メッセージ通信を行う者,即
ち送信空間1及び受信空間3(処理プログラム又はプロ
セス)によって実現されるものであった。即ち,メッセ
ージ通信を行う者,特に送信空間1から見た場合,フォ
ールトトレラント化のための要求メッセージの再送信が
自動的に行われるような構成とはなっていない。このた
め,メッセージ通信を行う者にとって,フォールトトレ
ラント機能実現のための負担が大きいという問題があっ
た。
As described above, conventionally, the fault tolerant function for message transmission / reception has been realized by a person who performs message communication, that is, the transmission space 1 and the reception space 3 (processing program or process). That is, from the viewpoint of a person who performs message communication, especially from the transmission space 1, the request message for fault-tolerant is not automatically retransmitted. For this reason, there is a problem that a person who performs message communication has a heavy load for realizing the fault tolerant function.

本発明は,メッセージ通信を行う者へのフォールトト
レラント機能実現のための負担を軽くしたデータ処理装
置を提供することを目的とする。
It is an object of the present invention to provide a data processing device that reduces the burden on a person who performs message communication for realizing a fault tolerant function.

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

第1図は本発明の原理構成図であり,本発明によるデ
ータ処理装置を示している。
FIG. 1 is a principle block diagram of the present invention, showing a data processing device according to the present invention.

第1図において,1は送信空間,2はカーネル,3は受信空
間,21は自動再送処理部,22は返信メッセージ監視処理
部,23はループ検出処理部,31は受信空間3のうちの現用
空間,32は受信空間3のうちの待機空間である。
In FIG. 1, 1 is a transmission space, 2 is a kernel, 3 is a reception space, 21 is an automatic re-transmission processing unit, 22 is a reply message monitoring processing unit, 23 is a loop detection processing unit, 31 is an active part of the reception space 3. Space 32 is a standby space in the reception space 3.

送信空間1は,カーネル2を介して,受信空間3へ要
求メッセージ(処理を要求するメッセージ)を送信す
る。
The transmission space 1 transmits a request message (a message requesting processing) to the reception space 3 via the kernel 2.

受信空間3は,要求メッセージを受信した場合に当該
要求メッセージで要求された処理を行う。そして,処理
を完了したら,受信空間3は,カーネル2を介して,送
信空間1へ要求メッセージに対する返信メッセージを送
信する。これにより,処理の完了が通知される。受信空
間3は,クラッシュ等の異常の発生に備えて2重化され
ており,現在活動中の空間である現用空間31と待機中の
空間である待機空間32とからなる。受信空間3の現用空
間31に異常が発生した場合には,受信空間3が現用空間
31から待機空間32に切り替えられた後に,受信空間3で
ある待機空間32に要求メッセージが再送信され,要求さ
れた処理を完遂させることができる。
When receiving the request message, the reception space 3 performs the processing requested by the request message. Then, when the processing is completed, the reception space 3 transmits a reply message to the request message to the transmission space 1 via the kernel 2. This notifies the completion of processing. The reception space 3 is duplicated in preparation for the occurrence of an abnormality such as a crash, and is composed of an active space 31 which is a space currently active and a standby space 32 which is a standby space. If an abnormality occurs in the working space 31 of the receiving space 3, the receiving space 3 becomes the working space.
After switching from 31 to the standby space 32, the request message is retransmitted to the standby space 32, which is the receiving space 3, and the requested processing can be completed.

カーネル2は,前述の要求メッセージ及び返信メッセ
ージの返信等のメッセージ通信についてのサービスを行
うと共に,要求メッセージの自動再送処理を行う。この
ために,自動再送処理部21,返信メッセージ監視処理部2
2及びループ検出処理部23がカーネル2中に設けられ
る。
The kernel 2 performs a service regarding message communication such as replying to the request message and the reply message described above, and also performs an automatic resending process of the request message. For this reason, the automatic resend processing unit 21 and the reply message monitoring processing unit 2
2 and the loop detection processing unit 23 are provided in the kernel 2.

自動再送処理部21は,受信空間3の現用空間31にクラ
ッシュ等の異常が発生したこと,及びこれにより前述の
如き空間の切り替えがあったことを認識する。そして,
当該異常の発生より先に,送信空間1から受信空間3へ
送信された要求メッセージについて,受信空間3の待機
空間(現用空間とされている)32へ再送信する。
The automatic retransmission processing unit 21 recognizes that an abnormality such as a crash has occurred in the working space 31 of the reception space 3 and that the space has been switched as described above. And
The request message transmitted from the transmission space 1 to the reception space 3 prior to the occurrence of the abnormality is retransmitted to the standby space (currently used space) 32 of the reception space 3.

返信メッセージ監視処理部22は,返信メッセージの監
視を行う。そして,要求メッセージの再送信が行われた
場合には,受信空間3(現用空間31及び/又は待機空間
32)から送信された返信メッセージのうち正しいもの,
即ち,最も近い時刻に再送信した要求メッセージに対す
る返信メッセージのみを選択し,これを送信空間1に送
信する。
The reply message monitoring processor 22 monitors reply messages. When the request message is retransmitted, the reception space 3 (active space 31 and / or standby space)
32) The correct reply message sent from
That is, only the reply message to the request message retransmitted at the closest time is selected and transmitted to the transmission space 1.

ループ検出処理部23は,要求メッセージの再送信の際
に,受信空間3でのクラッシュ等の異常の発生ないし要
求メッセージの再送信が繰り返されるループの検出を行
う。
When the request message is retransmitted, the loop detection processing unit 23 detects a loop in which an abnormality such as a crash occurs in the reception space 3 or the request message is retransmitted repeatedly.

〔作用〕[Action]

カーネル2は,送信空間1が受信空間3の現用空間31
を宛先として送信した要求メッセージを受取り,これを
現用空間31へ送る。この時,自動再送処理部21は,要求
メッセージを複写して保存する。
In the kernel 2, the transmission space 1 is the active space 31 of the reception space 3
Receives the request message sent to the destination and sends it to the working space 31. At this time, the automatic resend processing unit 21 copies and saves the request message.

現用空間31においてクラッシュ等の異常が発生しない
場合,現用空間31は要求された処理を完了したら要求メ
ッセージに対する返信メッセージを送信空間1を宛先と
して送信する。これを受け取ったカーネル2の返信メッ
セージ監視処理部22は,当該返信メッセージが正しいも
のであることを認識し,これを送信空間1に送る。
When an abnormality such as a crash does not occur in the working space 31, the working space 31 sends a reply message to the request message with the sending space 1 as a destination when the requested processing is completed. The reply message monitoring processing unit 22 of the kernel 2 which received this recognizes that the reply message is correct and sends it to the transmission space 1.

現用空間31においてクラッシュ等の異常が発生した場
合,現用空間31から待機空間32への切り替えが行われ
る。
When an abnormality such as a crash occurs in the working space 31, the working space 31 is switched to the standby space 32.

自動再送処理部21は,異常の発生及び空間の切り替え
があったことを認識すると,保存している要求メッセー
ジを待機空間32に対して送る。従って,要求メッセージ
の同一性を保ちつつ,かつ送信空間1に何の負担も与え
ることなく,要求メッセージを再送信できる。
When the automatic resending processing unit 21 recognizes that an abnormality has occurred and the space has been switched, it sends the stored request message to the standby space 32. Therefore, the request message can be retransmitted while maintaining the identity of the request message and without imposing any burden on the transmission space 1.

この再送信の際,ループ検出処理部23が,ループの検
出を行うと共に,ループの解消等の必要な処理を行う。
このようにカーネル2の自動再送処理部21が再送信を行
うのに伴ってカーネル2のループ検出処理部23がループ
検出を行うので,ループ検出を確実に行うと共に,送信
空間1への負担を無くすことができる。
At the time of this retransmission, the loop detection processing unit 23 detects a loop and performs necessary processing such as loop cancellation.
As described above, since the loop detection processing unit 23 of the kernel 2 performs the loop detection as the automatic retransmission processing unit 21 of the kernel 2 performs the retransmission, the loop detection is surely performed and the load on the transmission space 1 is reduced. It can be lost.

再送信が行われた後,受信空間3においてクラッシュ
等の異常が発生しなければ,要求された処理の完了に伴
って受信空間3(現用空間31及び/又は待機空間32)か
ら,再送信された要求メッセージに対する返信メッセー
ジが送信される。一方,クラッシュ等の異常が発生のタ
イミングによっては,クラッシュ前の要求メッセージに
対する返信メッセージが送信されるような場合がある。
このような場合において,返信メッセージ監視処理部22
は,最も近い時刻に再送信された要求メッセージに対す
る返信メッセージを選択し,これを送信空間1に送信す
る。従って送信空間1は1つの要求メッセージに対する
返信メッセージを1つだけ受信することになるので,受
信空間3の異常について全く意識する必要がない。
If no abnormality such as a crash occurs in the receiving space 3 after the retransmission is performed, the retransmission is performed from the receiving space 3 (active space 31 and / or standby space 32) upon completion of the requested processing. A reply message to the request message is sent. On the other hand, depending on the timing of occurrence of an abnormality such as a crash, a reply message to the request message before the crash may be transmitted.
In such a case, the reply message monitoring processing unit 22
Selects a reply message to the request message retransmitted at the closest time and sends it to the transmission space 1. Therefore, since the transmission space 1 receives only one reply message for one request message, it is not necessary to pay attention to the abnormality of the reception space 3.

このように,カーネル2によって,フォールトトレラ
ント化のための要求メッセージの再送信及びその際の要
求メッセージの同一性の保障が行われるので,送信空間
1及び受信空間3の負担を小さくできる。
In this way, the kernel 2 retransmits the request message for fault tolerance and guarantees the identity of the request message at that time, so that the load on the transmission space 1 and the reception space 3 can be reduced.

〔実施例〕〔Example〕

第2図は実施例説明図であり,データ処理装置を示し
ている。
FIG. 2 is an explanatory diagram of the embodiment and shows a data processing device.

第2図において,11は自動再送付き要求メッセージ送
信処理部(要求メッセージ送信処理部),12は返信メッ
セージ受信処理部,24は複写領域,33は返信メッセージ送
信処理部である。
In FIG. 2, 11 is a request message transmission processing unit with automatic retransmission (request message transmission processing unit), 12 is a reply message reception processing unit, 24 is a copy area, and 33 is a reply message transmission processing unit.

送信空間1及び受信空間3は,メッセージベースシス
テムである図示のデータ処理装置において,メッセージ
通信を行う者であり,例えば処理プログラム,プロセ
ス,中央処理装置,端末等である。
The transmission space 1 and the reception space 3 are persons who perform message communication in the illustrated data processing device which is a message-based system, and are, for example, processing programs, processes, central processing units, terminals and the like.

メッセージ通信の送信側である送信空間1は,要求メ
ッセージ送信処理部11及び返信メッセージ受信処理部12
を備える。
The transmission space 1 which is the transmission side of the message communication includes a request message transmission processing unit 11 and a reply message reception processing unit 12
Is provided.

要求メッセージ送信処理部11は,ユーザの指定に応じ
て,要求メッセージを自動再送(要求)付き,又は自動
再送付きでないものとしたうえで,その送信処理を行
う。前者は,カーネル2に対して,要求メッセージにつ
いての自動再送処理を依頼するためのものである。従っ
て,受信空間3の現用空間31にクラッシュが発生した場
合でも(ループ回数が少なければ),返信メッセージを
受け取ることができる。一方,後者は要求メッセージの
みを送信するものである。従って前記クラッシュ発生の
場合には,受信空間3に対する当該処理要求は中止され
る。
The request message transmission processing unit 11 determines whether the request message is automatically retransmitted (requested) or not automatically retransmitted according to the user's designation, and then performs the transmission process. The former is for requesting the kernel 2 to perform an automatic retransmission process for a request message. Therefore, even if a crash occurs in the working space 31 of the receiving space 3 (if the number of loops is small), the reply message can be received. On the other hand, the latter sends only the request message. Therefore, when the crash occurs, the processing request for the reception space 3 is stopped.

返信メッセージ受信処理部12は,要求メッセージの自
動再送処理が行われた場合でも,返信メッセージ監視処
理部22によって選択された正しい1つの返信メッセージ
のみを受信する。また自動再送付きでない要求メッセー
ジが送信された場合には,返信メッセージ受信処理部12
は,クラッシュが発生した時にはクラッシュ通知を受取
る。これにより,通信メッセージを持つ状態が解かれ
る。
The reply message reception processing unit 12 receives only one correct reply message selected by the reply message monitoring processing unit 22 even when the automatic resend processing of the request message is performed. If a request message without automatic retransmission is sent, the reply message reception processing unit 12
Receives a crash notification when a crash occurs. As a result, the state having the communication message is released.

メッセージ通信の受信側である受信空間3は,現用空
間31にクラッシュが発生しても直ちに待機空間32によっ
て活動を続行できるように2重化される。従って待機空
間32は現用空間31と同一の論理構成であり,返信メッセ
ージ送信処理部33は待機空間32と同様に現用空間31にも
存在する。現用空間31と待機空間32との切り替えは,カ
ーネル2又はオペレーティングシステムによって行われ
る。
The receiving space 3 which is the receiving side of the message communication is duplicated so that even if a crash occurs in the active space 31, the standby space 32 can immediately continue the activity. Therefore, the standby space 32 has the same logical configuration as the active space 31, and the reply message transmission processing unit 33 exists in the active space 31 as well as the standby space 32. Switching between the active space 31 and the standby space 32 is performed by the kernel 2 or the operating system.

返信メッセージ送信処理部33は,当該空間における処
理に従って,返信メッセージを送信する。
The reply message transmission processing unit 33 transmits a reply message according to the processing in the space.

カーネル2は,オペレーティングシステムの核又はス
ーパバイザである。
The kernel 2 is the core or supervisor of the operating system.

自動再送処理部21は,要求メッセージ送信処理部11か
ら送信された要求メッセージを受取り,これを受信空間
3に送る。この時,この要求メッセージが自動再送付き
か否かを識別し,自動再送付きである場合に当該要求メ
ッセージをカーネル2内の複写領域24に複写し保存す
る。そして,当該要求メッセージに何回目の送信である
かを示す再送回数を付加したうえで,これを受信空間3
に送る。最初の送信の時は再送回数=0とされる。な
お,要求メッセージが自動再送付きでない場合には,前
記複写及び再送回数の付加は行われない。
The automatic retransmission processing unit 21 receives the request message transmitted from the request message transmission processing unit 11 and sends it to the reception space 3. At this time, it is identified whether or not this request message has automatic retransmission, and when it has automatic retransmission, the request message is copied and saved in the copy area 24 in the kernel 2. Then, after adding the number of retransmissions indicating the number of times of transmission to the request message, this is added to the reception space 3
Send to At the time of the first transmission, the number of retransmissions = 0. If the request message does not have automatic retransmission, the copying and addition of the number of retransmissions are not performed.

また,自動再送処理部21は,受信空間3(現用空間3
1)でクラッシュが発生した場合,複写領域24から要求
メッセージを取り出し,これを受信空間3(待機空間3
2)へ再送信する。この時,再送回数を+1だけカウン
トアップして,これを要求メッセージに付加する。
In addition, the automatic retransmission processing unit 21 is configured to receive the reception space 3 (active space 3
When a crash occurs in 1), the request message is extracted from the copy area 24 and is received in the receiving space 3 (standby space 3
2) Resend to. At this time, the number of retransmissions is incremented by +1 and added to the request message.

この再送信の際に,これに先立ってループ検出処理部
23がループ検出を行う。即ち,再送回数が2以上であれ
ばループが構成されている可能性がある。そこで,ルー
プ検出処理部23は,再送回数即ちループ回数とみなし,
これが予め定めた値を越えているか否かを調べ,越えて
いる場合にはループを解消するための処理を行う。
At the time of this retransmission, prior to this, the loop detection processing unit
23 performs loop detection. That is, if the number of retransmissions is 2 or more, a loop may be formed. Therefore, the loop detection processing unit 23 regards the number of retransmissions, that is, the number of loops,
It is checked whether or not this exceeds a predetermined value, and if it exceeds, a process for eliminating the loop is performed.

返信メッセージ監視処理部22は,返信メッセージ送信
処理部33から送信された返信メッセージを受取り,これ
を返信メッセージ受信処理部12へ送る。この時,この返
信メッセージが前述の如く正しいものか否かが調べられ
る。このために,要求メッセージ内の再送回数と返信メ
ッセージ内の再送回数とを照合する。返信メッセージ送
信処理部33が返信メッセージに再送回数(その返信メッ
セージの対応する要求メッセージに付加されていた再送
回数)を付加したうえで,これを送信する。返信メッセ
ージ監視処理部22は,このようにして得られる2つの再
送回数が一致した場合(再送回数を付加することが本発
明にいう識別情報を付加していることに該当する)に
は,当該返信メッセージは正しい(最も近い時刻に再送
信した要求メッセージに対するもの)と判断して,これ
を送信空間1へ送る。再送回数が不一致の場合には,当
該返信メッセージの送信空間1への送信は行わない。
The reply message monitoring processing unit 22 receives the reply message transmitted from the reply message transmitting processing unit 33 and sends it to the reply message receiving processing unit 12. At this time, it is checked whether or not this reply message is correct as described above. For this purpose, the number of retransmissions in the request message is compared with the number of retransmissions in the reply message. The reply message transmission processing unit 33 adds the number of resends to the reply message (the number of resends added to the request message corresponding to the reply message), and then sends the reply message. In the case where the two retransmitted times thus obtained match (the addition of the retransmitted times corresponds to the addition of the identification information referred to in the present invention), the reply message monitoring processing unit 22 concerned The reply message is judged to be correct (for the request message retransmitted at the closest time) and is sent to the transmission space 1. If the number of retransmissions does not match, the reply message is not transmitted to the transmission space 1.

第3図は,メッセージ自動再送処理部フローである。 FIG. 3 is a flow chart of the automatic message resend processing unit.

自動再送処理部21が,送信空間1からの要求メッセー
ジを受取り,自動再送付きかを調べる。
The automatic retransmission processing unit 21 receives the request message from the transmission space 1 and checks whether automatic retransmission is included.

自動再送処理部21が,自動再送付きの場合に当該要求
メッセージを複写領域24に複写する。自動再送付きでな
い場合には,複写は行わない。
The automatic resend processing unit 21 copies the request message to the copy area 24 when the automatic resending is included. If automatic resending is not included, copying will not be performed.

自動再送処理部21が,再送付き要求時に再送回数を付
加した要求メッセージを現用空間31に送信する。
The automatic retransmission processing unit 21 transmits to the active space 31 a request message to which the number of times of retransmission is added at the time of request with retransmission.

返信メッセージ監視処理部22が,受信空間3(待機空
間32)からのクラッシュ通知を受信し,自動再送処理部
21及びループ検出処理部23に通知する。即ち,前記自動
再送付きの場合,クラッシュ通知が送信空間1に送られ
ることはない。前記自動再送付きでない場合,後述の処
理が行われる。
The reply message monitoring processing unit 22 receives the crash notification from the receiving space 3 (standby space 32), and the automatic resending processing unit
21 and the loop detection processing unit 23 are notified. That is, in the case of the automatic resending, the crash notification is not sent to the transmission space 1. When the automatic retransmission is not included, the processing described later is performed.

ループ検出処理部23が,ループ検出処理を行い,再送
回数が所定の値を越えていないかを調べる。
The loop detection processing unit 23 performs loop detection processing to check whether the number of retransmissions exceeds a predetermined value.

所定の値を越えていない場合,この旨の通知を受けた
自動再送処理部21が,再送回数を+1だけカウントアッ
プする。そしてこの後,処理即ち,要求メッセージの
再送信が行われる。
When it does not exceed the predetermined value, the automatic retransmission processing unit 21 that has received the notification to that effect counts up the number of retransmissions by +1. Then, after this, the process, that is, the request message is retransmitted.

所定の値を越えている場合,後述の処理が行われ
る。また,ループ回数オーバのエラーメッセージを送信
空間1は受信する。
If it exceeds the predetermined value, the processing described later is performed. Further, the transmission space 1 receives an error message indicating that the number of loops has been exceeded.

返信メッセージ監視処理部22が,受信空間3からの返
信メッセージを受信する。
The reply message monitoring processor 22 receives the reply message from the receiving space 3.

返信メッセージ監視処理部22が,返信メッセージにつ
いて再送回数が一致するかを調べる。
The reply message monitoring processing unit 22 checks whether the resend times of the reply message match.

一致しない場合,以下の処理及びを行うことなく
処理を終了し,返信メッセージの受信を持つ。
If they do not match, the processing is terminated without performing the following processing and the reception of the reply message is performed.

一致する場合,再送信の必要がなくなったので,複写
領域24が返信メッセージ監視処理部22により解放され
る。
If they match, it is not necessary to retransmit, and the copy area 24 is released by the reply message monitoring processing unit 22.

なお,処理において再送回数が所定の値を越えてい
る場合にも,それ以上の再送信は行われないので,複写
領域24が解放される。
Even when the number of retransmissions exceeds a predetermined value in the processing, no further retransmission is performed, so the copy area 24 is released.

返信メッセージ監視処理部22が返信メッセージを受信
し,これを宛先である送信空間1へ送信する。
The reply message monitoring processor 22 receives the reply message and transmits it to the transmission space 1 which is the destination.

なお,要求メッセージが自動再送付きでない場合,ク
ラッシュ通知を受信した時はクラッシュ通知メッセージ
の受信処理を行い,返信メッセージを受信した時は当該
返信メッセージの受信処理が行われる。
If the request message does not have automatic resending, the crash notification message is received when the crash notification is received, and the reply message is received when the reply message is received.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,受信空間に異
常が発生した場合にこれを送信空間に意識させることな
くカーネルにより要求メッセージの自動再送信を行うの
で,メッセージ通信のフォールトトレラント機能を容易
に実現でき,また,このための負担がメッセージ通信を
行う送信空間及び受信空間にかからないようにすること
ができる。
As described above, according to the present invention, when an abnormality occurs in the receiving space, the request message is automatically retransmitted by the kernel without being aware of this in the transmitting space. Therefore, the fault tolerant function of message communication can be facilitated. In addition, the burden for this can be prevented from being applied to the sending space and the receiving space for message communication.

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

第1図は本発明の原理構成図, 第2図は実施例説明図, 第3図はメッセージ自動再送処理フロー, 第4図は従来技術説明図。 1は送信空間,2はカーネル,3は受信空間,21は自動再送
処理部,22は返信メッセージ監視処理部,23はループ検出
処理部,31は受信空間3のうちの現用空間,32は受信空間
3のうちの待機空間である。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is an explanatory diagram of an embodiment, FIG. 3 is a message automatic retransmission processing flow, and FIG. 1 is a transmission space, 2 is a kernel, 3 is a reception space, 21 is an automatic retransmission processing unit, 22 is a reply message monitoring processing unit, 23 is a loop detection processing unit, 31 is an active space in the reception space 3, 32 is reception It is a standby space in the space 3.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】送信空間と複数の受信空間の間のメッセー
ジの送受信を媒介手段を介して行うデータ処理装置の当
該媒介手段において, 送信空間から受信空間への要求メッセージを記憶する記
憶手段と, 受信空間のひとつに異常を検出した場合,当該検出前に
送信空間から受信した当該異常の発生した受信空間宛の
要求メッセージと識別情報とを他の受信空間に再送信す
ると共に当該識別情報を記憶する再送信手段と, 当該他の受信空間から当該要求メッセージに対する返信
メッセージと共に識別情報を受け取る受信手段と, 当該返信メッセージの識別情報と前記要求メッセージの
識別情報とが一致するか否かを判定する判定手段と, 当該判定結果が一致の場合前記送信空間に対し当該返信
メッセージを送信し,当該判定結果が不一致の場合前記
再送信手段に再送信を行わせ,当該再送信が所定の基準
を満たしたときに当該処理を止める返信制御手段とを含
む ことを特徴とするデータ処理装置。
1. A storage means for storing a request message from a transmission space to a reception space, in the mediating means of a data processing device for transmitting and receiving a message between a transmission space and a plurality of reception spaces via the mediating means. When an abnormality is detected in one of the receiving spaces, the request message and the identification information, which are received from the transmitting space before the detection and addressed to the receiving space in which the abnormality has occurred, are retransmitted to another receiving space and the identifying information is stored. Retransmitting means, receiving means for receiving identification information together with a reply message to the request message from the other receiving space, and determining whether or not the identification information of the reply message and the identification information of the request message match. If the judgment means and the judgment result match, the reply message is transmitted to the transmission space, and if the judgment result does not match. Wherein to perform the retransmission to the retransmission means, data processing apparatus, characterized in that the retransmission and a return control means for stopping the process when satisfying a predetermined criterion.
JP1188269A 1989-07-20 1989-07-20 Data processing device Expired - Lifetime JPH0827768B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1188269A JPH0827768B2 (en) 1989-07-20 1989-07-20 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1188269A JPH0827768B2 (en) 1989-07-20 1989-07-20 Data processing device

Publications (2)

Publication Number Publication Date
JPH0352048A JPH0352048A (en) 1991-03-06
JPH0827768B2 true JPH0827768B2 (en) 1996-03-21

Family

ID=16220716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1188269A Expired - Lifetime JPH0827768B2 (en) 1989-07-20 1989-07-20 Data processing device

Country Status (1)

Country Link
JP (1) JPH0827768B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4645388B2 (en) 2005-09-26 2011-03-09 日立工機株式会社 Centrifuge

Also Published As

Publication number Publication date
JPH0352048A (en) 1991-03-06

Similar Documents

Publication Publication Date Title
JP2635068B2 (en) Network communication method
EP0409578B1 (en) Data communication method and system with cyclic sequence of acknowledgements
US8675472B2 (en) Method and apparatus for network management system
US20060085669A1 (en) System and method for supporting automatic protection switching between multiple node pairs using common agent architecture
JP2864741B2 (en) Communication system that guarantees data integrity
JPH10136053A (en) Data retransmitting method in recognition-type information transfer
JPH0827768B2 (en) Data processing device
JPH0341522A (en) Message missing detecting and processing system
JP6182779B1 (en) Transfer device, transfer method, and program
JPH01833A (en) data transmission equipment
US5896413A (en) Apparatus for and method of transmitting data
CN111417116B (en) Communication method and system adapted through ATT, read-write and exception handling
JP6207710B1 (en) Transfer control device, transfer control method, and program
JP2576076B2 (en) Message rescue method for data communication system
JPH03117242A (en) Retrial method for data transmission
JP3990742B2 (en) Message processing system
JPS5814780B2 (en) Recovery control method for multiple information frame failures
JP2756733B2 (en) Information processing device
JPH05292149A (en) Retransmission control system for abnormal data
JPS63267039A (en) Network system
JPH07212359A (en) Multi-spot data transfer device
JPH05298270A (en) Data transmission method
JP2000358122A (en) Fax transmission equipment
JPH04120896A (en) Information control system for remote supervisory and controlling device
JPH0831072B2 (en) Message attribute detection processing method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080321

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090321

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100321

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20100321

Year of fee payment: 14