JPH04123162A - Inter-process communication control system - Google Patents
Inter-process communication control systemInfo
- Publication number
- JPH04123162A JPH04123162A JP2243631A JP24363190A JPH04123162A JP H04123162 A JPH04123162 A JP H04123162A JP 2243631 A JP2243631 A JP 2243631A JP 24363190 A JP24363190 A JP 24363190A JP H04123162 A JPH04123162 A JP H04123162A
- Authority
- JP
- Japan
- Prior art keywords
- message
- intermediary
- sender
- location
- destination
- 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
Links
- 238000000034 method Methods 0.000 title claims description 91
- 238000004891 communication Methods 0.000 title claims description 33
- 238000012546 transfer Methods 0.000 claims abstract description 87
- 238000012790 confirmation Methods 0.000 claims abstract description 45
- 238000012545 processing Methods 0.000 claims description 26
- 230000005540 biological transmission Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 5
- 230000015654 memory Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 125000001246 bromo group Chemical group Br* 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、並列、分散処理システムにおけるプロセス間
通信機能の制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for interprocess communication functions in a parallel and distributed processing system.
[従来の技術〕
通信によっであるデータをあるプロセスに送る際に、こ
のプロセスにデータを送る方法を発信元であるプロセス
は知らないとする。ここに、送り先のプロセスへのデー
タの送り方を知っている第3のプロセスがあって、この
プロセスへのデータの送り方は発信元プロセスにも分か
るとすれば、発信元のプロセスは、第3のプロセスにデ
ータを送信して転送を依願することができる。[Prior Art] When sending certain data to a certain process through communication, it is assumed that the source process does not know how to send the data to this process. If there is a third process that knows how to send data to the destination process, and the source process also knows how to send data to this process, then the source process Data can be sent to process No. 3 to request transfer.
つまり、プロセスAがプロセスZにデータを送れなくて
もプロセスBには送ることができ、さらに、プロセスB
はプロセスZにデータを送ることができるならば、プロ
セスAがプロセスBにデータを送ることで、プロセスA
および2間でデータ転送を行うことができる。In other words, even if process A cannot send data to process Z, it can send data to process B.
If process A can send data to process Z, then process A can send data to process B.
and data can be transferred between the two.
前記の例に限らず、プロセスBのように仲介を行うプロ
セスが数多く関与する形の通信を考えることができる。Not limited to the above-mentioned example, it is possible to consider a type of communication in which many processes that mediate, such as process B, are involved.
たとえば、前述の例で、プロセスBからZにデータを送
る代わりに、プロセスC2D、・・・、Yを経由して、
プロセスZに送ることによっても、プロセスAからZへ
の通信を行うことができる。For example, in the above example, instead of sending data from process B to Z, it is sent via processes C2D,...,Y,
Communication from process A to Z can also be performed by sending it to process Z.
この通信において、発信者が必ずしもデータの送信先を
知らなくてよいという性質は、計算機システムを構成す
る各機能単位の独立性を高め、システム全体の設計や構
築、保守を容品にするという利点を持つ。The advantage of this communication is that the sender does not necessarily need to know the destination of the data, which increases the independence of each functional unit that makes up the computer system, making the design, construction, and maintenance of the entire system easier. have.
ところで、上述の通信機能を実現する制御方式としては
、まず通信に関係するすべてのプロセスにデータを渡し
ていく方法が挙げられる。By the way, as a control method for realizing the above-mentioned communication function, first, there is a method of passing data to all processes related to communication.
さらに、仲介者の連鎖をたどることにより到達できるか
ぎりの最先端を求めるデリファレンスという操作も行わ
れる。先の例で言えば、プロセスAはプロセスBにプロ
セスCへの送信手段を尋ね、それによって得た送信手段
によってさらにプロセスCにプロセスDへの送信手段を
尋ねる、という具合に連鎖をたどって、先の方にあるプ
ロセスへの送信手段を得ることをいう。こうして得た送
信手段によって、データの発信者が先の方のプロセスに
直接データを送信することにより、仲介者の連鎖を省略
し、データの転送回数を削減できる。Furthermore, an operation called dereference is also performed to seek the most cutting edge possible by tracing the chain of intermediaries. In the previous example, process A asks process B for a means of sending to process C, and then, using the means of sending obtained thereby, asks process C for a means of sending to process D, and so on, following the chain, It refers to obtaining a means of transmission to a later process. By using the transmission means obtained in this way, the sender of data can directly transmit data to the preceding process, thereby omitting the chain of intermediaries and reducing the number of data transfers.
ただし、連鎖をたどる時点で、連鎖が完成しているとは
限らない。つまり、ある仲介者にその先のプロセスへの
送信手段を尋ねた時、その先のプロセスがまだ決まって
いなかったり、送信先は決まっていても、送信手段をま
だ持っていなかったりすることがありうる。この場合、
連鎖の探索はそこまでにして、このプロセスにデータを
転送する。以鋒、このプロセスに送信先への送信手段が
与えられたならば、転送を継続する。However, the chain is not necessarily complete when it is traced. In other words, when you ask an intermediary how to send data to a destination process, the process may not have been decided yet, or even if the destination has been decided, it may not have the means to send data. sell. in this case,
Stop searching the chain and transfer the data to this process. Then, once this process is given the means to send to the destination, it will continue the transfer.
メモリを一つしか持たない計算機システムの上では、前
述のような従来の制御方式を用いても、通信処理にはあ
まり時間はかからない。なぜなら、そのような計算機シ
ステムでは、データ転送に要する処理時間は小さく、か
つ、転送されるデータの量に関わらず一定だからである
。また、デリファレンスにおいても、小さな手間で送信
手段を男のプロセスに尋ねることができるからである。On a computer system with only one memory, communication processing does not take much time even if the conventional control method described above is used. This is because, in such a computer system, the processing time required for data transfer is small and constant regardless of the amount of data transferred. Also, in dereferencing, it is possible to ask the male process about the transmission means with little effort.
しかし、従来の制御方式は、データ転送に大きな時間を
要するシステムには向かない。たとえは複数のプロセッ
サと、そのそれぞれに付随し他のプロセッサからは直接
、読み書きできないメモリから構成される計算機システ
ムでは、メモリ間でのデータ転送に要する処理時間は大
きく、かつ転送されるデータの量に比例する。したがっ
て、このシステムに従来の制御方式を適用すると、非常
に大きな処理時間が必要になる。However, conventional control methods are not suitable for systems that require a large amount of time to transfer data. For example, in a computer system consisting of multiple processors and memory attached to each processor that cannot be directly read or written by other processors, the processing time required to transfer data between memories is large, and the amount of data transferred is large. is proportional to. Therefore, applying the conventional control method to this system requires a very large amount of processing time.
この処理時間を短縮するためには、データ転送回数を減
らす必要がある。しかし、前述の構成の計算機システム
では、デリファレンスはデータ転送回数を減らす手段と
してあまり有効ではない。In order to shorten this processing time, it is necessary to reduce the number of data transfers. However, in the computer system configured as described above, dereferencing is not very effective as a means of reducing the number of data transfers.
なぜなら、上述の構成の計算機システムでは、デリファ
レンスのために送信手段を尋ねようとすると、そのため
にメモリ間のデータ転送が何回が余計に必要ムこなるか
らである。This is because, in the computer system having the above-described configuration, when attempting to inquire about the transmission means for dereference, data transfer between memories becomes necessary several times.
また、デリファレンスによって削減できるデータ転送回
数は、各プロセスにデータの送信先への送信手段が与え
られる順序によって、大きく変わる。全く削減できない
場合も稀ではない。たとえば、プロセスAからCへの通
信をプロセスBを経由しで行おうとするとき、プロセス
B、C間の送信手段がプロセスA、B間の送信手段より
先に与えられれば、プロセスAはプロセスCへの送信手
段をプロセスBに問い合わせて知ることができ、データ
転送はプロセスAがらCへの1回で済む。Furthermore, the number of data transfers that can be reduced by dereferencing varies greatly depending on the order in which each process is given a means of transmitting data to a destination. It is not rare that it cannot be reduced at all. For example, when trying to communicate from process A to C via process B, if the means of transmission between processes B and C is provided before the means of transmission between processes A and B, then process A will communicate with process C via process B. The method for sending data to process B can be found by inquiring process B, and data transfer only needs to be done once from process A to process C.
しかし、プロセスA、B間の送信手段がプロセスB、C
間の送信手段より先に与えられると、デリファレンスを
行おうとしてもプロセスAはプロセスCへの送信手段を
得られないので、データの転送はAからBへとBからC
への2回生しることになる。これは、デリファレンスを
行わない場合と同じ回数である。However, the transmission means between processes A and B is
If it is given before the means of transmission between processes, process A will not be able to obtain the means of transmission to process C even if it tries to dereference, so the data will be transferred from A to B and from B to C.
This will be his second year at the school. This is the same number of times as when no dereference is performed.
本発明の目的は、このような欠点を除去し、少ない転送
回数でメッセージの転送を可能にするプロセス間通信制
御方式を提供することにある。An object of the present invention is to provide an interprocess communication control method that eliminates such drawbacks and enables message transfer with a small number of transfers.
本発明は、発信者がメツセージの生成および転送を行い
、仲介者が前記発信者より発信されたメツセージあるい
は他の仲介者より再発信されたメツセージの受信ならび
に再転送を行い、受信者がメツセージの受信ならびにメ
ツセージで指定された処理を行うプロセス間通信制御方
式において、発信者は、受信者の位置が未知のときは生
成したメツセージの転送に先だって、受信者の位置をf
+I認するための第1の位置確認メツセージを指定され
た転送先に転送し、
受信者は、前記第1の位置確認メツセージを受信した際
に、前記受信者の位置を知らせる位置通知メツセージを
前記位置確認メッセージの生成者に転送し、
発信者は、前記位置通知メツセージを受信した際に、保
持しているメツセージを前記位置通知メツセージを生成
した受信者に再転送し、仲介者は、再転送先の指定を受
けた際に、前記再転送先に、受信者の位置を確認するた
めの第2の位置確認メツセージを転送し、
仲介者は、前記第1の位置確認メッセージを受信した際
に、受信者の位置が未知のときは、前記位置確認メツセ
ージを保持し続け、
仲介者は、前記位置通知メッセージを受信した際に、保
持しているメツセージを前記位置通知メツセージを生成
した受信者に転送することを特徴としている。In the present invention, a sender generates and forwards a message, an intermediary receives and retransmits a message sent by the sender or a message retransmitted by another intermediary, and a receiver receives the message. In an inter-process communication control method that receives messages and performs processing specified in the message, if the sender's location is unknown, the sender determines the receiver's location f before forwarding the generated message.
+I forwarding a first location confirmation message to a designated forwarding destination, and upon receiving the first location confirmation message, the receiver forwards a location notification message informing the receiver of the location. The sender, upon receiving the location notification message, retransmits the message it holds to the recipient who generated the location notification message, and the intermediary retransmits the message. Upon receiving the recipient's designation, the intermediary forwards a second location confirmation message for confirming the recipient's location to the retransfer destination, and upon receiving the first location confirmation message, the intermediary , when the location of the recipient is unknown, the intermediary continues to hold the location confirmation message, and upon receiving the location notification message, the intermediary transmits the held message to the recipient who generated the location notification message. It is characterized by transfer.
前述した本発明において、発信者は、発信者が生成した
メツセージの転送先が、発信者の所在するプロセッサと
は異なるプロセッサにあるとき、発信者の所在するプロ
セッサ内に新たに仲介者を生成し、この仲介者の再転送
先として前記転送先を指定し、さらに前記仲介者に発信
者が生成したメツセージを転送するのが好適である。In the present invention described above, when the forwarding destination of a message generated by the sender is in a processor different from the processor where the sender is located, the sender creates a new intermediary in the processor where the sender is located. , it is preferable to designate the transfer destination as a re-transfer destination of this intermediary, and further transfer the message generated by the sender to the intermediary.
また、前述した本発明において、発信者は、発信者が生
成したメツセージの転送先が受信者♂判定可能な場合に
は、前記第1の位置確認メッセージの転送と位置通知メ
ッセージの受信を行わずに、タタチニ前記転送先に発信
者が生成したメッセージを転送し、
仲介者は、指定された再転送先が受信者と判又・可能な
場合には、前記第2の位置確認メッセーεの転送と位置
通知メッセージの受信を行わずに、ただちに前記再転送
先に保持しているメッセーうを転送するのが好適である
。Further, in the present invention described above, the sender does not transfer the first location confirmation message and receive the location notification message when the recipient of the message generated by the sender can be determined. , the intermediary forwards the message generated by the sender to the forwarding destination, and the intermediary forwards the second location confirmation message ε if the specified redirection destination is recognized as the recipient. It is preferable to immediately transfer the held message to the retransfer destination without receiving the location notification message.
さらに、前述した本発明において、発信者は、転送しよ
うとするメツセージがある個数以下でシる場合は、前記
第1の位置確認メッセージの転迎と位置通知メッセージ
の受信を行わずに、ただ右に指定された転送先に転送し
ようとするメツセージを転送し、
仲介者は、この仲介者が転送するメツセージ力・ある個
数以下であると判定可能な場合は、前記第2の位置確認
メツセージを転送せず、また前記位置通知メッセージの
受信を待たずに、ただちに指定された再転送先ムこ保持
しているメッセージを転送するのが好適である。Furthermore, in the present invention described above, if the number of messages to be transferred is less than a certain number, the sender simply sends the message to the sender without transferring the first location confirmation message and receiving the location notification message. The intermediary forwards the message to the forwarding destination specified by the intermediary, and if it can be determined that the number of messages to be forwarded by the intermediary is less than a certain number, the intermediary forwards the second location confirmation message. It is preferable to immediately transfer the held message to the specified retransfer destination without waiting for the reception of the location notification message.
(作用〕
第1の発明ムこおいては、メッセージの生成および転送
を行う発信者と、前述の発信者より発信されたメ・ッセ
ージあるいは他の仲介者より再発信されたメツセージの
受信ならびに再転送を行う仲介者と、メツセージの受信
ならびにメッセージで指定された処理を行う受信者のそ
れぞれが、以下のa、b、c、d、e、fに従うように
している。(Operation) In the first invention, there is provided a sender who generates and forwards a message, and a sender who receives and retransmits a message sent by the sender or a message retransmitted by another intermediary. The intermediary who performs the transfer and the receiver who receives the message and processes specified in the message follow the following a, b, c, d, e, and f, respectively.
C発信者は、受信者の位置が未知のときは生成したメツ
セージの転送に先だって、受信者の位置を確認するため
の位置確認メッセージを指定された転送先に転送する。C. When the recipient's location is unknown, the sender forwards a location confirmation message to the designated transfer destination to confirm the recipient's location before forwarding the generated message.
b受信者は、a項に記載の位置確認メツセージを受信し
た際に、前述の受信者の位置を知らせる位置通知メッセ
ージを前述の位置確認メツセージの生成者に転送する。When recipient b receives the location confirmation message described in section a, it forwards a location notification message informing the location of the receiver to the generator of the location confirmation message.
C発信者は、b項に記載の位置通知メッセージを受信し
た際に、保持しているメツセージを前述の位置通知メツ
セージを生成した受信者に再転送する。When the sender C receives the location notification message described in section b, it retransmits the message it holds to the recipient who generated the location notification message.
d仲介者は、再転送先の指令を受けた際に、前述の再転
送先に、受信者の位置を確認するための位置確認メツセ
ージを転送する。When the d intermediary receives an instruction for a retransfer destination, it forwards a location confirmation message for confirming the location of the recipient to the above-mentioned retransfer destination.
e仲介者は、a項に記載の位置確認メツセージを受信し
た際に、受信者の位置が未知のときは、前述の位置確認
メツセージを保持し続ける。When the e-mediator receives the location confirmation message described in section a, if the recipient's location is unknown, the e-mediator continues to hold the location confirmation message.
f仲介者は、b項に記載の位置通知メツセージを受信し
た際に、保持しているメッセージを前述の位置通知メッ
セージを生成した受信者に再転送する。When the f intermediary receives the location notification message described in section b, it retransmits the message it holds to the recipient who generated the location notification message.
第2の発明においては、第1の発明に加えて、発信者が
下記のgに従って振舞うようにしている。In the second invention, in addition to the first invention, the sender behaves according to the following g.
g発信者は、発信者が生成したメツセージの転送先が、
発信者の所在するプロセッサとは異なるプロセッサにあ
るとき、発信者の所在するプロセッサ内に新たに仲介者
を生成し、この仲介者の再転送先として前述の転送先を
指定し、さらに前述の仲介者に発信者が生成したメッセ
ージを転送する。gThe sender must be able to forward the message he/she generated to
When the processor is located in a processor different from the processor where the caller is located, a new intermediary is created in the processor where the caller is located, the above-mentioned transfer destination is specified as the re-transfer destination of this intermediary, and the above-mentioned intermediary is Forward messages generated by the caller to the sender.
第3の発明においては、第1の発明に加えて、発信者と
仲介者がそれぞれ下記のり、iに従って振舞うようにし
ている。In the third invention, in addition to the first invention, the sender and the intermediary each behave in accordance with the following i.
h発信者は、発信者が生成したメッセージの転送先が受
信者と判定可能な場合には、第1の発明に記載の位置!
認メツセージの転送と位置通知メツセージの受信を行わ
ずに、ただちに前述の転送先に発信者が生成したメツセ
ージを転送する。h If the sender can determine that the recipient of the message generated by the sender is the recipient, the sender is at the location described in the first invention!
The message generated by the caller is immediately transferred to the above-mentioned transfer destination without transferring the confirmation message or receiving the location notification message.
i仲介者は、指定された再転送先が受信者と判定可能な
場合には、第1の発明に記載の位置確認メツセージの転
送と位置通知メツセージの受信を行わずに、ただちに前
述の再転送先に保持しているメッセージを転送する。If the specified retransfer destination can be determined to be the recipient, the i-intermediary immediately performs the above retransfer without forwarding the location confirmation message and receiving the location notification message described in the first invention. Forward the previously held messages.
第4の発明においては、第1の発明に加えて、発信者と
仲介者がそれぞれ下記のj、kに従って振舞うようにし
ている。In the fourth invention, in addition to the first invention, the sender and the intermediary behave in accordance with the following j and k, respectively.
j発信者は、転送しようとするメツセージがある個数以
下である場合は、第1の発明に記載の位置確認メツセー
ジの転送と位置通知メツセージの受信を行わずに、ただ
ちに指定された転送先に転送しようとするメツセージを
転送する。j If the number of messages to be forwarded is less than a certain number, the sender immediately forwards the message to the designated forwarding destination without forwarding the location confirmation message and receiving the location notification message as described in the first invention. Forward the message you are trying to forward.
k仲介者は、この仲介者が転送するメッセージがある個
数以下であると判定可能な場合は、第1の発明に記載の
位W確認メッセージを転送せず、また第1の発明に記載
の位置通知メッセージの受信を待たずに、ただちに指定
された再転送先に保持しているメッセージを転送する。If the intermediary can determine that the number of messages to be transferred by this intermediary is less than or equal to a certain number, the intermediary does not transfer the W confirmation message as described in the first invention, and also transfers the confirmation message at the position described in the first invention. To immediately transfer a held message to a specified retransfer destination without waiting for reception of a notification message.
ここで、例えば発信者から受信者に送られるデータの個
数をMとし、ここでデータが経由する仲介者の個数をN
とすると、従来の制御方式において、デリファレンスを
行わない場合、発信者とすべての仲介者が送信先にM個
のデータを転送するので、必要なデータ転送回数は総計
M(N+1)である。Here, for example, the number of data sent from the sender to the receiver is M, and the number of intermediaries through which the data passes is N.
Then, in the conventional control system, if dereferencing is not performed, the sender and all intermediaries transfer M pieces of data to the destination, so the total number of required data transfers is M(N+1).
一方、第1の発明のプロセス間通信制御方式によれば、
発信者とすべての仲介者が合計N+1個の位置確認メッ
セージを送信先に送り、すべての仲介者はこの仲介者を
送信先とする発信者または仲介者から受けとった位置確
認メッセージを合計N個受信者に送り、受信者はすべて
の位置確認、メッセージにたいして1つ位置通知メッセ
ージを合計N+1個送る。さらに、発信者はM個のデー
タを受信者に送るので、データ転送回数は総計3N+2
十Mである。したがって、第1の発明によって、データ
転送回数が削減できる条件は、3 N+2 +M≦M(
N+1)
より
(M−3)N22
となる。すなわち、1つ以上の仲介者を介して5つ以上
のデータを送るか、2つ以上の仲介者を介して4つ以上
のデータを送る場合は、第1の発明によってデータ転送
回数を削減することができる。On the other hand, according to the inter-process communication control method of the first invention,
The caller and all intermediaries send a total of N+1 location messages to the destination, and all intermediaries receive a total of N location messages received from callers or intermediaries that are directed to this intermediary. The receiver sends a total of N+1 location notification messages, one for every location confirmation message. Furthermore, since the sender sends M pieces of data to the receiver, the total number of data transfers is 3N+2
It is 10M. Therefore, according to the first invention, the condition for reducing the number of data transfers is 3 N+2 +M≦M(
N+1) becomes (M-3)N22. That is, when sending five or more pieces of data through one or more intermediaries, or when sending four or more pieces of data through two or more intermediaries, the first invention reduces the number of data transfers. be able to.
デリファレンスを行う場合は、データ転送回数は処理の
実行状況に依存する。つまり、各プロセスに送信先への
送信手段が与えられる順序によって、必要なデータ転送
回数は変わる。When dereferencing is performed, the number of data transfers depends on the processing execution status. In other words, the number of required data transfers changes depending on the order in which each process is provided with a means of transmitting to a destination.
データ転送回数が最も少ない場合には、発信者がすべて
の仲介者に対して送信手段を問い合わせるメツセージを
出し、このそれぞれの問い合わせに対して答えるメツセ
ージが送られ、これに基づいて発信者から受信者にデー
タが転送される。したがって、データ転送回数は総計2
N+Mである。When the number of data transfers is the smallest, the sender sends a message to all intermediaries inquiring about the transmission method, messages are sent in response to each of these inquiries, and based on this, the sender sends a message to all intermediaries asking about the transmission method. data is transferred to. Therefore, the total number of data transfers is 2
N+M.
これは、第1の発明によるデータ転送回数3N十2+M
に比べてN+2回少l0゜
しかし、上述のデータが転送され終った段階で、第1の
発明によれば、この通信に関与したすべての仲介者が受
信者への送信手段を得ているのに対し、デリファレンス
では、受信者への送信手段を得ることができるのは発信
者だけである。つまり、デリファレンスではこれ以鋒い
ずれかの仲介者から受信者にデータを発信する際には、
再び上述の手続きが繰り返されるのに対し、第1の発明
によれば、どの仲介者からもただちに受信者に直接デー
タ転送ができる。This is the number of data transfers 3N+M according to the first invention.
However, according to the first invention, once the above-mentioned data has been transferred, all intermediaries involved in this communication have obtained the means to send it to the recipient. In contrast, with dereferencing, only the sender has the means to send the message to the recipient. In other words, in dereferencing, when sending data from any intermediary to the recipient,
While the above procedure is repeated again, according to the first invention, any intermediary can immediately transfer data directly to the recipient.
また、前述のデリファレンスに必要なデータ転送回数は
最少の場合であり、普通はより多くのデータ転送が必要
になる。これに対し、第1の発明では、常に上述の回数
で通信を行うことができる。Further, the number of data transfers required for the above-mentioned dereference is the minimum, and normally more data transfers are required. On the other hand, in the first invention, communication can always be performed the above-mentioned number of times.
第2の発明である制御方式は、たとえば受信者が定まっ
ていなくても発信者がデータを手放せるようにするため
などの理由により、発信者に受信者の位置が通知される
前に発信者がデータを転送する必要がある場合に、通信
にかかる処理時間を短縮できる。発信者の送信先が別の
ブロモ・ンサにあるとき、従来の方法によれば、発信者
からその送信先へのデータ転送は、大きな処理時間を要
するプロセッサ間転送になる。The second invention, the control method, allows the sender to release the data before the sender is notified of the recipient's location, for example to allow the sender to release the data even if the recipient is unknown. The processing time required for communication can be shortened when data needs to be transferred. When a caller's destination is in another Bromo server, conventional methods result in data transfers from the caller to the destination that are inter-processor transfers that require significant processing time.
一方、第2の発明によれば、発信者と同一プロセッサ内
に仲介者を作り、この仲介者を発信者の送信先とするの
で、発信者からその送信先への転送はプロセッサ内転送
として行うことができる。On the other hand, according to the second invention, an intermediary is created in the same processor as the sender, and this intermediary is used as the sender's destination, so the transfer from the sender to the destination is performed as an intra-processor transfer. be able to.
プロセッサ内通信はプロセッサ間転送に比べてはるかに
短時間で行うことができるので、第2の発明によって通
信にかかる処理時間を短縮できる。Since intra-processor communication can be performed in a much shorter time than inter-processor transfer, the processing time required for communication can be reduced by the second invention.
なお、新しく作った仲介者と発信者の元の送信先の間で
は、発信者の元の送信先が受信者でない限り、第1の発
明の作用によってデータ転送は行われない。Note that data is not transferred between the newly created intermediary and the sender's original destination unless the sender's original destination is the recipient, due to the effect of the first invention.
第1の発明において発信者や仲介者に指定された送信先
が受信者である場合には、従来よりデータ転送回数が増
加するが、第3の発明によれば、この場合にも従来の方
法と同じデータ転送回数で済ませることができる。第1
の発明においてデータの個数が少ない場合は、従来より
データ転送回数が増加するが、第4の発明によれば、こ
の場合も従来と同じデータ転送回数で済ませることがで
きる。In the first invention, when the destination specified by the sender or the intermediary is the receiver, the number of data transfers increases compared to the conventional method, but according to the third invention, the conventional method also applies in this case. The number of data transfers required is the same. 1st
In the fourth invention, when the number of data is small, the number of data transfers is increased compared to the conventional method, but according to the fourth invention, even in this case, the number of data transfers can be the same as the conventional method.
(実施例〕
次に、複数のプロセッサを含む計算機システムでの実施
例を説明する。(Example) Next, an example in a computer system including a plurality of processors will be described.
この実施例では以下の事項を想定している。In this embodiment, the following items are assumed.
a発信者は受信者が通知される前に、発信者が生成した
メツセージを送信先に転送する。a The sender forwards the message he or she has generated to the destination before the recipient is notified.
b複数の発信者または仲介者が同一の仲介者または受信
者を転送先とすることが可能である。b It is possible for multiple callers or intermediaries to forward to the same intermediary or recipient.
aの事項によって、発信者は受信者に直接転送するべき
メツセージを保持しない。また、仲介者がメツセージを
保持することがあり得る。またbの事項によって、仲介
者または受信者は複数の発信者または仲介者からメッセ
ージを送信されることがあり得る。Under point a, the originator does not retain the message to be forwarded directly to the recipient. It is also possible that an intermediary retains the message. Also, according to item b, an intermediary or receiver may be sent messages from multiple senders or intermediaries.
そこで、本実施例では、発信者には受信者の位置を通知
しない。また、仲介者は任意の個数のメッセージを保持
できるようにする。Therefore, in this embodiment, the sender is not notified of the recipient's location. Also, the intermediary can hold any number of messages.
第10図は、前述のシステムにおいて構成される通信路
の例を示している。1,2.3は発信者である。4は受
信者である。5,6,7,8.9は仲介者である。第1
0図中の矢印は、矢の根本にある発信者または仲介者に
矢が指し示す仲介者または受信者が転送先として指定さ
れていることを表している。FIG. 10 shows an example of communication paths configured in the above system. 1, 2.3 are callers. 4 is the recipient. 5, 6, 7, 8.9 are intermediaries. 1st
The arrow in Figure 0 indicates that the sender or intermediary at the base of the arrow indicates that the intermediary or receiver pointed to by the arrow is designated as the transfer destination.
第1図は本発明の手順によって第】O図ムこ示す通信路
による通信を行った場合の最終的に各発信者および仲介
者が保持する転送先を示したものである。FIG. 1 shows the final transfer destination held by each sender and the intermediary when communication is carried out through the communication path shown in FIG.
第8図はメツセージを表すデータ構造を示している。5
0は他のメツセージへのポインタを保持する領域である
。51はメツセージ本体の大きさを保持する領域、52
はメツセージ本体を保持する可変長の領域である。FIG. 8 shows a data structure representing a message. 5
0 is an area that holds pointers to other messages. 51 is an area that holds the size of the message body; 52
is a variable length area that holds the message body.
第5図は仲介者を表すデータ構造を示している。FIG. 5 shows a data structure representing an intermediary.
仲介者は転送先を保持する領域60、メツセージを保持
するリスト構造の先頭へのポインタを保持する領域61
および末尾へのポインタを保持する領域62からなる。The intermediary has an area 60 that holds the forwarding destination, and an area 61 that holds the pointer to the top of the list structure that holds the message.
and an area 62 that holds a pointer to the end.
第7図は仲介者が複数のメツセージを保持する様子を示
している。第7図において、70は仲介者、?1.72
.73.74はメツセージ、50は次のメツセージへの
ポインタを保持する領域、61はリスト構造の先頭への
ポインタを保持する領域、62はリスト構造の末尾への
ポインタを保持する領域である。FIG. 7 shows how a mediator holds multiple messages. In Figure 7, 70 is the intermediary, ? 1.72
.. 73 and 74 are messages, 50 is an area for holding a pointer to the next message, 61 is an area for holding a pointer to the beginning of the list structure, and 62 is an area for holding a pointer to the end of the list structure.
仲介者70はリスト構造によってメツセージ71.72
゜73、74を保持している。The intermediary 70 sends messages 71, 72 using the list structure.
Holds ゜73, 74.
第9図は転送先の位置情報を表すデータ構造である。こ
の構造は転送先へのポインタを保持する領域80と、転
送先が仲介者であるか受信者であるかを示す値を保持す
る領域81からなる。FIG. 9 shows a data structure representing the location information of the transfer destination. This structure consists of an area 80 that holds a pointer to a transfer destination, and an area 81 that holds a value indicating whether the transfer destination is an intermediary or a recipient.
第2図は発信者によるメツセージ発信処理の手順を示す
フローチャートである。第2図において、発信者は発信
するべきメツセージと転送先を表す位置情報が与えられ
ると、ステップ20において転送先が発信者と同一プロ
セッサ内にあるかどうかを転送先の位置情報を見て判別
する。ステップ20における判別結果が「はいJのとき
は、ステップ24において宛先にメツセージを転送する
。ステップ20の判別結果が「いいえ」のときは、ステ
ップ21において仲介者を作成し、この仲介者にステッ
プ22においてメツセージを転送し、ステップ23にお
いて後述する手続きにより転送先を仲介者の転送先とし
て指定する。FIG. 2 is a flowchart showing the procedure of message transmission processing by the sender. In FIG. 2, when the caller is given the message to be sent and the location information representing the forwarding destination, in step 20, the caller determines whether the forwarding destination is in the same processor as the caller by looking at the forwarding destination's location information. do. If the determination result in step 20 is "Yes", the message is forwarded to the destination in step 24.If the determination result in step 20 is "no", an intermediary is created in step 21, and the At step 22, the message is forwarded, and at step 23, the forwarding destination is designated as the intermediary's forwarding destination by a procedure described later.
第3図は仲介者に対する転送先指定処理の手順を示すフ
ローチャートである。第3図において、仲介者は転送先
を表す位置情報が与えられると、ステップ30において
転送先が受信者であるかどうかを判別する。ステップ3
0における判別結果が「はい」の時は、ステップ35に
おいてメツセージを転送先に転送し、ステップ36にお
いてその転送先を保持する。ステップ30における判別
結果が「いいえ」のときは、ステップ31においてメッ
セ−シカ、S本仲介者を送る最後の1つのメッセージで
あるかどうかを判別する。ステップ31における判別結
果が「はい」の時は、ステップ35においてメツセージ
を転送先に転送し、ステップ36においてその転送先を
保持する。ステップ31における判別結果が「いいえ」
の時は、ステップ32において本仲介者の位置情報を含
む位置確認メッセージを前記転送先に送り、ステップ3
3において、位置通知メツセージの到着を待つ。位置通
知メッセージが到着したら、ステップ34においてこの
メツセージに含まれる位置情報が示す仲介者または受信
者を本仲介者の転送先とし、ステップ35においてメッ
セージを転送先に転送し、ステップ36においてその転
送先を保持する。FIG. 3 is a flowchart showing the procedure for specifying a transfer destination for an intermediary. In FIG. 3, when the intermediary is given location information representing the forwarding destination, it determines in step 30 whether the forwarding destination is the recipient. Step 3
If the determination result in step 0 is "yes", the message is forwarded to the forwarding destination in step 35, and the forwarding destination is held in step 36. When the determination result in step 30 is "no", it is determined in step 31 whether or not the message is the last message to be sent by the S-based intermediary. When the determination result in step 31 is "yes", the message is transferred to the forwarding destination in step 35, and the forwarding destination is held in step 36. The determination result in step 31 is “No”
In this case, in step 32, a location confirmation message containing the location information of the intermediary is sent to the forwarding destination, and in step 3
3, wait for the arrival of the location notification message. When the location notification message arrives, in step 34 the intermediary or recipient indicated by the location information included in this message is the forwarding destination of the intermediary, in step 35 the message is forwarded to the forwarding destination, and in step 36 the forwarding destination is hold.
第4図は受信者の受信位置通知処理の手順を表すフロー
チャートである。第4図において、受信者はステップ4
0で位置確認メツセージを受けとると、このメツセージ
に含まれる位置情報が示す発信者または仲介者に、ステ
ップ41において本受信者の位置情報を含む位置通知メ
ツセージを送る。FIG. 4 is a flowchart showing the procedure of the recipient's receiving location notification process. In FIG. 4, the recipient receives step 4.
When the location confirmation message is received in step 41, a location notification message containing the location information of the recipient is sent to the sender or intermediary indicated by the location information included in this message.
第1図は、以上説明した手順によって、実際に第10図
に示したように送信先を指定した際の処理を示す。FIG. 1 shows the process when a destination is actually designated as shown in FIG. 10 according to the procedure described above.
最初に、仲介者8に別のプロセッサにある仲介者9が転
送先として指定されると、仲介者8の位置情報を含んだ
位置確認メツセージ101が仲介者9に送られる。第1
図(a)はここまでの処理が行われた状態を示している
。First, when the mediator 8 specifies a mediator 9 located in another processor as a transfer destination, a location confirmation message 101 containing the location information of the mediator 8 is sent to the mediator 9. 1st
Figure (a) shows the state in which the processing up to this point has been performed.
次に、発信者3が3個のメツセージ110を仲介者8を
転送先として発信すると、発信者3と同しプロセンサに
仲介者7が作られ、メッセージはすべて仲介者7にその
まま送られる。さらに、仲介者7には別のプロセッサに
ある仲介者8が転送先として指定されるので、仲介者7
の位置情報を含んだ位置確認メツセージ102が仲介者
8に送られる。第1回し)はここまでの処理が行われた
手順を示している。Next, when the sender 3 sends three messages 110 to the intermediary 8 as a transfer destination, an intermediary 7 is created in the same processor as the sender 3, and all messages are sent to the intermediary 7 as is. Furthermore, since the intermediary 8 in another processor is designated as the transfer destination for the intermediary 7, the intermediary 7
A location confirmation message 102 containing location information is sent to the intermediary 8. 1) shows the procedure for the processing up to this point.
ここで、仲介者9に受信者が転送先として指定されると
、仲介者9は受信者を転送先として保持し、仲介者9が
保持していた仲介者8の位置情報を含む位置確認メッセ
ージ101が受信者に送られる。第1図(C)はここま
での処理が行われた状態を示している。Here, when the recipient is designated as the transfer destination by the intermediary 9, the intermediary 9 retains the recipient as the transfer destination and sends a location confirmation message containing the position information of the intermediary 8 held by the intermediary 9. 101 is sent to the recipient. FIG. 1(C) shows the state in which the processing up to this point has been performed.
さて、仲介者8の位置情報を含む位置確認メツセージを
受けとった受信者は、仲介者8に受信者の位置情報番含
む位置通知メツセージ103を送る。Now, the receiver who has received the location confirmation message containing the location information of the intermediary 8 sends the location notification message 103 containing the receiver's location information number to the intermediary 8 .
第1図(d)はここまでの処理が行われた状態を示して
いる。FIG. 1(d) shows the state in which the processing up to this point has been performed.
位置通知メツセージを受は取った仲介者8は、この仲介
者が保持していた仲介者7の位置情報を含む位置確認メ
ツセージ102を受信者に送り、受信者を転送先として
保持する。第1図(e)はここまでの処理が行われた状
態を示している。The mediator 8 who received the location notification message sends a location confirmation message 102 containing the location information of the mediator 7 held by the mediator to the recipient, and holds the recipient as the transfer destination. FIG. 1(e) shows the state in which the processing up to this point has been performed.
仲介者7の位置情報を含む位置確認メツセージを受けと
った受信者は、仲介者7に受信者の位置情報を含む位置
通知メッセージを送る。位置通知メツセージを受けとっ
た仲介者7は、この仲介者が保持していた3個のメツセ
ージ110を受信者に送り、受信者を転送先として保持
する。第1図げ)はここまでの処理が行われた状態を示
している。The recipient who has received the location confirmation message containing the location information of the intermediary 7 sends the location notification message containing the receiver's location information to the intermediary 7. The intermediary 7 that received the location notification message sends the three messages 110 held by the intermediary to the recipient, and holds the recipient as a transfer destination. Figure 1) shows the state in which the processing up to this point has been performed.
以上の処理によって、発信者3が生成したメッセージ1
10は仲介者8,9を経由せず、ただ1回のプロセッサ
間通信によって直接受信者4に送られる。また、すべて
の仲介者7,8.9が受信者4の位置情報を得る。Through the above processing, message 1 generated by sender 3
10 is sent directly to the recipient 4 through only one inter-processor communication without going through the intermediaries 8 and 9. Also, all intermediaries 7, 8, and 9 obtain the location information of the recipient 4.
以降、第10図において、仲介者6の転送先として別の
プロセッサにある仲介者8が指定された時には、仲介者
6の位置情報を含む位置通知メツセージが仲介者8に送
られる。仲介者8は受信者を転送先としているので、こ
のメツセージは直ちに受信者に転送され、この返事とし
て受信者は仲介者6に位置通知メツセージを送り、その
結果、仲介者6は受信者を転送先として保持する。Thereafter, in FIG. 10, when a mediator 8 in another processor is specified as a transfer destination of the mediator 6, a location notification message containing the location information of the mediator 6 is sent to the mediator 8. Since the intermediary 8 has the recipient as the forwarding destination, this message is immediately forwarded to the recipient, and in response, the recipient sends a location notification message to the intermediary 6, and as a result, the intermediary 6 transfers the recipient. hold as a destination.
ここで、発信者1が別のプロセッサにある仲介者6にメ
ツセージを1個だけ発信しようとすると、発信者1と同
じプロセッサに仲介者5が作られ、唯一のメツセージは
仲介者5に送られる。そして、仲介者6が仲介者5の転
送先として指定されるが、仲介者5の持つメツセージは
仲介者5の発信する最後の1つのメツセージなので、仲
介者5はそのメツセージを直接、仲介者6に転送する。Here, if caller 1 tries to send only one message to intermediary 6 located in another processor, intermediary 5 will be created in the same processor as sender 1, and the only message will be sent to intermediary 5. . Then, the intermediary 6 is specified as the forwarding destination of the intermediary 5, but since the message held by the intermediary 5 is the last message sent by the intermediary 5, the intermediary 5 directly transfers the message to the intermediary 6. Transfer to.
これを受けとった仲介者6は、すでに受信者を転送先と
して保持しているので、メッセージを直接、受信者に転
送する。The intermediary 6 that has received this message directly forwards the message to the recipient since it already has the recipient as the forwarding destination.
第11図は、以上の処理によって形成される通信路の状
態を示したものである。なお、第11図において、1,
2.3は発信者、4は受信者、5,6゜7.8.9は中
継者、 90.91.92.93.94.95はプロセ
ッサである。FIG. 11 shows the state of the communication path formed by the above processing. In addition, in FIG. 11, 1,
2.3 is the sender, 4 is the receiver, 5,6°7.8.9 is the relay, and 90.91.92.93.94.95 is the processor.
以上、本発明の実施例について述べたが、本発明の実施
例にあたって、前述の実施例で用いたデータ構造は必須
のものではない。たとえば、本発明においては仲介者は
転送先とリスト構造を必ずしも同時に保持する必要はな
いので、仲介者を表すデータ構造は第6図のように転送
先を表す位置情報を保持する領域60と、リスト構造の
先頭を指すポインタ6エを保持する同一の領域とするこ
とができる。これにより、仲介者を表すデータ構造に要
するメモリ領域が削減される。また、メッセージはリス
ト構造で持つ必要はなく、配列に収めても良い。Although the embodiments of the present invention have been described above, the data structures used in the above embodiments are not essential to the embodiments of the present invention. For example, in the present invention, the intermediary does not necessarily need to hold the transfer destination and the list structure at the same time, so the data structure representing the intermediary includes an area 60 holding position information representing the transfer destination as shown in FIG. This can be the same area that holds the pointer 6e pointing to the beginning of the list structure. This reduces the memory space required for data structures representing intermediaries. Also, messages do not need to be stored in a list structure, but may be stored in an array.
以上説明したように、第1の発明によって、仲介者が形
成する通信路が幾つのプロセッサにまたがっていようと
も、発信者が発信したメツセージは、発信者から直接受
信者へ転送されるので、各メツセージの転送回数は1回
で済み、全体としてメツセージ転送回数を削減できる。As explained above, according to the first invention, no matter how many processors the communication path formed by the intermediary is spread over, the message sent by the sender is transferred directly from the sender to the receiver, so that each The number of times the message is transferred is only one time, and the number of times the message is transferred can be reduced overall.
また、第2の発明によれば、第1の発明において発信者
が受信者の位置が通知される前にメッセージを発信する
場合でも、発信者が発信したメツセージは、発信者と同
一のプロセッサ↓こある仲介者から直接受信者に転送さ
れるので、大きな処理時間を要するプロセッサ間転送は
各メツセージごとに1回で済み、通信に要する処理時間
を節減することができる。Further, according to the second invention, even if the sender sends a message before the recipient's location is notified in the first invention, the message sent by the sender is processed by the same processor as the sender ↓ Since the message is transferred directly from an intermediary to the recipient, the inter-processor transfer, which requires a large amount of processing time, only needs to be carried out once for each message, thereby reducing the processing time required for communication.
さらに、第3の発明によれば、第1の発明において発信
者または仲介者に指定された転送先が受信者の場合に、
第1の発明よりさらに少ないメッセージ転送回数で通信
を行うことができる。Further, according to the third invention, when the transfer destination specified by the sender or the intermediary in the first invention is the recipient,
Communication can be performed with an even smaller number of message transfers than in the first invention.
同様に、第4の発明によれば、第1の発明において少数
のメツセージだけを転送する場合に、第1の発明よりさ
らに少ないメツセージ転送回数で通信を行うことができ
る。Similarly, according to the fourth invention, when only a small number of messages are transferred in the first invention, communication can be performed with an even smaller number of message transfers than in the first invention.
第1図は通信路による通信を本発明の手順で行う過程を
示す図、
第2図は発信者によるメツセージ発信処理の手順を表す
フローチャート、
第3図は仲介者による転送先指定時処理の手順を表すフ
ローチャート、
第4図は受信者による位置通知処理の手順を表すフロー
チャート、
第5図は仲介者を表すデータ構造の例を示す図、第6図
は仲介者を表すデータ構造の別の例を示す図、
第7図は複数のメツセージをリスト構造によって保持す
る仲介者の例を示す図、
第8図はメツセージを表すデータ構造の例を示す図、
第9図は位置情報を表すデータ構造の例を示す図、
第10図は発信者と仲介者と受信者からなる通信路の例
を示す図、
第11図は第10図の通信路による通信を本発明の手順
によって行った時に発信者および中継者が保持する転送
先の例を示す図である。
3・・・・・発信者
4・・・・・受信者
7.8.9・・・中継者Fig. 1 is a diagram showing the process of communicating via a communication channel according to the procedure of the present invention, Fig. 2 is a flowchart showing the procedure of message sending processing by the sender, and Fig. 3 is the procedure of processing when a transfer destination is specified by an intermediary. 4 is a flowchart illustrating the procedure of location notification processing by a recipient, 5 is a diagram illustrating an example of a data structure representing an intermediary, and 6 is another example of a data structure representing an intermediary. Figure 7 is a diagram showing an example of an intermediary that holds multiple messages in a list structure, Figure 8 is a diagram showing an example of a data structure representing messages, and Figure 9 is a data structure representing location information. FIG. 10 is a diagram showing an example of a communication path consisting of a sender, an intermediary, and a receiver, and FIG. FIG. 3 is a diagram illustrating an example of transfer destinations held by a person and a relay person. 3...Sender 4...Receiver 7.8.9...Relayer
Claims (4)
介者が前記発信者より発信されたメッセージあるいは他
の仲介者より再発信されたメッセージの受信ならびに再
転送を行い、受信者がメッセージの受信ならびにメッセ
ージで指定された処理を行うプロセス間通信制御方式に
おいて、 発信者は、受信者の位置が未知のときは生成したメッセ
ージの転送に先だって、受信者の位置を確認するための
第1の位置確認メッセージを指定された転送先に転送し
、 受信者は、前記第1の位置確認メッセージを受信した際
に、前記受信者の位置を知らせる位置通知メッセージを
前記位置確認メッセージの生成者に転送し、 発信者は、前記位置通知メッセージを受信した際に、保
持しているメッセージを前記位置通知メッセージを生成
した受信者に再転送し、 仲介者は、再転送先の指定を受けた際に、前記再転送先
に、受信者の位置を確認するための第2の位置確認メッ
セージを転送し、 仲介者は、前記第1の位置確認メッセージを受信した際
に、受信者の位置が未知のときは、前記位置確認メッセ
ージを保持し続け、 仲介者は、前記位置通知メッセージを受信した際に、保
持しているメッセージを前記位置通知メッセージを生成
した受信者に転送することを特徴とするプロセス間通信
制御方式。(1) A sender generates and forwards a message, an intermediary receives and retransmits a message sent by the sender or a message retransmitted by another intermediary, and a receiver receives the message. In addition, in an interprocess communication control method that performs processing specified in a message, when the location of the receiver is unknown, the sender determines the first location to confirm the location of the receiver before forwarding the generated message. forwarding the confirmation message to a specified forwarding destination, and upon receiving the first location confirmation message, the receiver forwards a location notification message informing the location of the receiver to the generator of the location confirmation message. When the sender receives the location notification message, the sender retransmits the message it holds to the recipient who generated the location notification message, and the intermediary, upon receiving the designation of the retransfer destination, forwarding a second location confirmation message for confirming the location of the recipient to the re-transfer destination; continues to hold the location confirmation message, and the intermediary, upon receiving the location notification message, forwards the held message to the recipient who generated the location notification message. Communication control method.
が、発信者の所在するプロセッサとは異なるプロセッサ
にあるとき、発信者の所在するプロセッサ内に新たに仲
介者を生成し、この仲介者の再転送先として前記転送先
を指定し、さらに前記仲介者に発信者が生成したメッセ
ージを転送する請求項1記載のプロセス間通信制御方式
。(2) When the transfer destination of the message generated by the sender is in a processor different from the processor where the sender is located, the sender creates a new intermediary in the processor where the sender is located, and this intermediary 2. The inter-process communication control method according to claim 1, wherein the transfer destination is specified as a re-transfer destination of the sender, and the message generated by the sender is further transferred to the intermediary.
が受信者と判定可能な場合には、前記第1の位置確認メ
ッセージの転送と位置通知メッセージの受信を行わずに
、ただちに前記転送先に発信者が生成したメッセージを
転送し、 仲介者は、指定された再転送先が受信者と判定可能な場
合には、前記第2の位置確認メッセージの転送と位置通
知メッセージの受信を行わずに、ただちに前記再転送先
に保持しているメッセージを転送する請求項1記載のプ
ロセス間通信制御方式。(3) If the sender can determine that the forwarding destination of the message generated by the sender is the recipient, the sender immediately transfers the message without forwarding the first location confirmation message and receiving the location notification message. The intermediary forwards the message generated by the sender first, and if the specified retransfer destination can be determined to be the recipient, the intermediary forwards the second location confirmation message and receives the location notification message. 2. The inter-process communication control method according to claim 1, wherein the held message is immediately transferred to the retransfer destination without retransfer.
数以下である場合は、前記第1の位置確認メッセージの
転送と位置通知メッセージの受信を行わずに、ただちに
指定された転送先に転送しようとするメッセージを転送
し、 仲介者は、この仲介者が転送するメッセージがある個数
以下であると判定可能な場合は、前記第2の位置確認メ
ッセージを転送せず、また前記位置通知メッセージの受
信を待たずに、ただちに指定された再転送先に保持して
いるメッセージを転送する請求項1記載のプロセス間通
信制御方式。(4) If the number of messages to be forwarded is less than a certain number, the sender shall immediately forward the messages to the designated forwarding destination without forwarding the first location confirmation message and receiving the location notification message. If the intermediary can determine that the number of messages to be forwarded by the intermediary is less than or equal to a certain number, the intermediary does not forward the second location confirmation message and does not forward the second location confirmation message, and does not forward the location notification message. 2. The inter-process communication control method according to claim 1, wherein the held message is immediately transferred to a designated retransfer destination without waiting for the retransfer destination.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2243631A JP2652979B2 (en) | 1990-09-13 | 1990-09-13 | Inter-process communication control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2243631A JP2652979B2 (en) | 1990-09-13 | 1990-09-13 | Inter-process communication control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04123162A true JPH04123162A (en) | 1992-04-23 |
| JP2652979B2 JP2652979B2 (en) | 1997-09-10 |
Family
ID=17106698
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2243631A Expired - Lifetime JP2652979B2 (en) | 1990-09-13 | 1990-09-13 | Inter-process communication control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2652979B2 (en) |
-
1990
- 1990-09-13 JP JP2243631A patent/JP2652979B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2652979B2 (en) | 1997-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05342178A (en) | Arbitration circuit and data processor using the circuit | |
| EP3907470B1 (en) | System and method for supporting an operator for navigation | |
| JPH04123162A (en) | Inter-process communication control system | |
| EP0419201B1 (en) | Communication control system between parallel computers | |
| JPH07123108A (en) | Interprocess communication method | |
| JPH055414B2 (en) | ||
| US7191253B1 (en) | Server computer system utilizing an asynchronous messaging technique having separate request and response paths | |
| JPH05324592A (en) | Inter-process communication control system | |
| JPS62126457A (en) | Distributed data processing system | |
| JPH047935A (en) | Multi-address message communication method and message processing unit | |
| JPH01154275A (en) | Control system for communication between parallel computers | |
| JPH0628287A (en) | Synchronous message communication method and synchronous message communication device | |
| JPH05342020A (en) | Inter-task communicating system | |
| JPS62247654A (en) | Terminal control processing system | |
| JP2024088259A (en) | Communications system | |
| JPH06326717A (en) | Bus type communication equipment | |
| JPH0226430A (en) | Multi-address communication processing system | |
| JPS6156544A (en) | Mail delivery control system | |
| JPH04365242A (en) | Electronic information circulating system | |
| JPH04295952A (en) | Message communication equipment for multi-processor system | |
| JPS62272342A (en) | Mail control system | |
| JPH0831871B2 (en) | Network processing system | |
| KR20000067429A (en) | Inter process communication using message routing function in home location register | |
| JPS5824254A (en) | Packet buffer-free system | |
| JPH0630457A (en) | Interprocessor communication device |