JPH07123108A - Interprocess communication method - Google Patents

Interprocess communication method

Info

Publication number
JPH07123108A
JPH07123108A JP5268637A JP26863793A JPH07123108A JP H07123108 A JPH07123108 A JP H07123108A JP 5268637 A JP5268637 A JP 5268637A JP 26863793 A JP26863793 A JP 26863793A JP H07123108 A JPH07123108 A JP H07123108A
Authority
JP
Japan
Prior art keywords
site
port
communication
transfer
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5268637A
Other languages
Japanese (ja)
Inventor
Yoshinori Omuro
善則 大室
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP5268637A priority Critical patent/JPH07123108A/en
Publication of JPH07123108A publication Critical patent/JPH07123108A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

(57)【要約】 【目的】 ポート移送を行なった後でも、煩雑な処理を
せずに効率良くプロセス間通信を可能とする。 【構成】 通常はポートIDにデータを付して、プロセ
スPS0,PS1,PS2間で通信を行なうが、例えば
サイトS1のポート(ローカル番号L11)を、サイト
S2(ローカル番号L21)に移送したときは、サイト
S1,S2に図示のような移送テーブルを作成し、これ
にもとづき通信を行なうことにより、簡単にプロセス間
通信ができるようにする。
(57) [Summary] [Purpose] To enable efficient interprocess communication without complicated processing even after port transfer. [Configuration] Normally, data is added to a port ID and communication is performed between processes PS0, PS1 and PS2. For example, when the port (local number L11) of the site S1 is transferred to the site S2 (local number L21). Creates a transfer table as shown in the sites S1 and S2 and performs communication based on this, so that interprocess communication can be easily performed.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複数のサイトを通信
網を介して互いに結合し、ポートを使用してサイト内ま
たは他サイトとのプロセス(所定の処理単位またはそれ
を実行する処理部)間で通信を行なうようにしたプロセ
ス間通信方法に関する。なお、サイトとは、ここでは1
つ以上の中央処理装置とネットワーク通信装置を備えた
装置を言い、ポートとはプロセス間の通信経路を指すも
のとする。また、ポートの受信権は1つのプロセスしか
持つことはできないが、送信権は複数のプロセスで持つ
ことができる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process in which a plurality of sites are coupled to each other via a communication network, and a port is used to process within the site or with other sites (a predetermined processing unit or a processing unit for executing the processing). The present invention relates to an interprocess communication method for performing communication between processes. Note that the site here is 1
A device including one or more central processing units and network communication devices, and a port refers to a communication path between processes. Also, the port can receive the right to only one process, but can have the send right to a plurality of processes.

【0002】[0002]

【従来の技術】従来、この種のシステムでは、ポート移
送のポータビリティを持たせるため、ポート識別番号
(ID)にサイト番号を含めず、システム全体に通し番
号等のグローバルな値を用いるようにしているのが一般
的である。しかし、このようにするとサイト間の通信の
度に、ポートIDからサイトの位置を求める作業が必要
となり非能率的となる。特に、ポート移送が稀にしか起
こらないようなシステムにおいて顕著となる。一方、ポ
ートIDにサイト番号を含める場合は、ポートIDのサ
イト番号からサイト位置を簡単に知ることができる反
面、ポート移送の際に例えば以下のような煩雑な処理が
必要となる。
2. Description of the Related Art Conventionally, in this type of system, in order to provide port portability, a port identification number (ID) does not include a site number, and a global value such as a serial number is used throughout the system. Is common. However, in this case, it is inefficient because it is necessary to find the position of the site from the port ID each time communication is performed between the sites. In particular, it becomes remarkable in a system in which port transfer rarely occurs. On the other hand, when the site number is included in the port ID, the site position can be easily known from the site number of the port ID, but on the other hand, the following complicated process is required for port transfer.

【0003】(1)ポートIDで示すサイト番号のサイ
トに、メッセージを送る。 (2)受信したサイトが、ポート移送を行なっていて自
サイトにポートが存在しない場合は、“ポート不在”を
送信サイトに返す。 (3)ポート不在を知った送信サイトは、全サイトにブ
ロードキャスト通信(同報通信)により、ポートが移送
された移送先サイトの所在を尋ねる。 (4)移送先サイトが、自サイトにあることを送信サイ
トに知らせる。 (5)移送先サイトを知った送信サイトが、その移送先
サイトに対して再度メッセージを送る。
(1) A message is sent to the site having the site number indicated by the port ID. (2) If the receiving site is performing port transfer and there is no port at its own site, it returns "no port" to the sending site. (3) The transmitting site, which has learned that the port is absent, asks all sites by broadcast communication (broadcast communication) for the location of the transfer destination site to which the port has been transferred. (4) Notify the sending site that the transfer destination site is at its own site. (5) The sending site, which knows the transfer destination site, sends the message again to the transfer destination site.

【0004】[0004]

【発明が解決しようとする課題】つまり、上記のような
方法ではブロードキャスト通信を行なわなければならな
いため、サイトの負担が大きくなるという問題がある。
したがって、この発明の課題はポート移送が行なわれた
場合でも煩雑な処理をすることなく通信ができるように
し、サイトの負担を軽減することにある。
In other words, there is a problem that the burden on the site is increased because broadcast communication must be performed in the above method.
Therefore, an object of the present invention is to enable communication without complicated processing even if port transfer is performed, and reduce the load on the site.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るため、第1の発明では、中央処理装置と通信装置を備
え、所定のプロセスを処理する個々のサイトを通信路を
介して互いに結合し、自サイト内または他サイトとのプ
ロセス間で通信を行なうに当たり、各サイトには予め、
サイト番号とサイト内ローカル番号で表わされる固有の
ポート番号を付しておき、通常はこのポート番号にメッ
セージを付して送信を行ない、ポートを移送をしたとき
は、移送元のサイト番号およびローカル番号と移送先の
サイト番号およびローカル番号を含む移送テーブルを移
送元,移送先の各サイトで作成し、移送されたポートへ
の通信は、メッセージを受信した移送元のサイトが、自
移送テーブルにもとづき移送先のサイトへとメッセージ
を回送して行なうことを特徴としている。
In order to solve such a problem, according to the first invention, a central processing unit and a communication device are provided, and individual sites for processing a predetermined process are coupled to each other via a communication path. However, when communicating between processes within your own site or with other sites,
A unique port number represented by the site number and the local number within the site is given, and normally this port number is sent with a message sent. When the port is transported, the source site number and local A transport table containing the number, the destination site number, and the local number is created at each of the source and destination sites, and the communication to the transported port is performed by the source site receiving the message in its own transport table. The feature is that the message is forwarded to the site of the transfer destination.

【0006】第2の発明では、中央処理装置と通信装置
を備え、所定のプロセスを実行する個々のサイトを通信
路を介して互いに結合し、自サイト内または他サイトと
のプロセス間で通信を行なうに当たり、各サイトには予
め、サイト番号とサイト内ローカル番号で表わされる固
有のポート番号を付しておき、通常はこのポート番号に
メッセージを付して送信を行ない、ポートを移送をした
ときは、移送元のサイト番号およびローカル番号と移送
先のサイト番号およびローカル番号を含む移送テーブル
を移送元,移送先の各サイトで作成し、移送されたポー
トへの通信は、メッセージを受信した移送元のサイト
が、自サイトの移送テーブルから移送先のサイト番号を
抽出し、これをポート移送通知として送信サイトへ通知
し、これを受けた送信サイトがポート移送通知で示され
る番号のサイトに再度メッセージを送信して行なうこと
を特徴としている。
According to a second aspect of the invention, a central processing unit and a communication device are provided, and individual sites that execute a predetermined process are connected to each other via a communication path to allow communication between processes within the own site or with other sites. In doing so, each site is given a unique port number represented by the site number and the local number within the site in advance. Normally, this port number is sent with a message attached and the port is transferred. Creates a transport table containing the source site number and local number and the destination site number and local number at each source and destination site, and the communication to the transported port is the transport that received the message. The original site extracts the site number of the transfer destination from the transfer table of its own site, notifies it to the sending site as a port transfer notification, and sends the received number. Site is characterized by performing sending the message again to the number of the sites indicated by the port transfer notification.

【0007】上記第1,第2の発明においては、前記メ
ッセージを受信したポートは、受信応答としてポートの
実際のポート番号を送信サイトに送信し、これを受信し
た送信サイトでは移送テーブルの修正または新規作成を
行ない、以後の移送ポートへの通信はこの移送テーブル
を用いて行なうことができる。
In the first and second aspects of the invention, the port that receives the message sends the actual port number of the port to the sending site as a reception response, and the sending site that receives the message modifies the transport table or A new creation is performed, and subsequent communication to the transport port can be performed using this transport table.

【0008】[0008]

【作用】ポートIDをサイト番号とサイト内ローカル番
号で管理するとともに、ポートを移送したときは移送
元,移送先の各サイトにその移送元,移送先のサイト番
号とサイト内ローカル番号等を格納した移送テーブルを
作成することにより、簡単な処理でプロセス間通信を可
能とする。
[Operation] The port ID is managed by the site number and the local number within the site, and when the port is transferred, the site numbers of the transfer source and the transfer destination and the local number within the site are stored in the transfer source and transfer destination sites. By creating the transport table described above, interprocess communication can be performed with simple processing.

【0009】[0009]

【実施例】図1はこの発明が適用されるシステムを示す
システム構成図である。同図において、S(S0,S
1,S2)はサイト、PSはプロセス、PTはポート、
NTはネットワーク(通信路)をそれぞれ示す。すなわ
ち、このシステムは複数のサイトS0,S1,S2…を
ネットワークNTにより連結して構成され、各サイトに
はプロセスPSが用意されている。自サイト内または他
サイトとのプロセス間通信は、ポートPTを介して送信
プロセスから受信プロセスにメッセージ(データ)を送
ることにより行なわれる。
1 is a system configuration diagram showing a system to which the present invention is applied. In the figure, S (S0, S
1, S2) is a site, PS is a process, PT is a port,
NT indicates a network (communication path), respectively. That is, this system is configured by connecting a plurality of sites S0, S1, S2 ... By the network NT, and a process PS is prepared at each site. Inter-process communication within the own site or with another site is performed by sending a message (data) from the sending process to the receiving process via the port PT.

【0010】この場合のポートIDは、 ポートID=ポートのサイト番号+(サイト内のポート
の)ローカル番号 として表わされる。また、ポートの受信権は1つのプロ
セスしか持つことができない反面、送信権は複数のプロ
セスが持つことができ、受信されていないメッセージは
ポートにキューイング(待ち行列化)されるものとす
る。
The port ID in this case is represented as follows: port ID = port site number + local number (port within the site) Further, it is assumed that only one process can have the reception right of the port, but a plurality of processes can have the transmission right, and messages that have not been received are queued in the port.

【0011】送信は、メッセージにポートIDを付して
行なわれる。受信されたメッセージは、受信したサイト
番号と受信したポートのサイト上でのローカル番号とか
ら、下記のようなポートIDを求め、これを受信確認の
応答メッセージに含めて送信プロセスへ返送するものと
する。 ポートID=受信したサイト番号+受信したサイト上で
のローカル番号
The transmission is performed by attaching the port ID to the message. From the received site number and the local number on the site of the received port, the received message shall be returned to the sending process by including the following port ID, including it in the response message for receipt confirmation. To do. Port ID = site number received + local number on site received

【0012】以下、(1)通常の通信,(2)ポート移
送および(3)ポート移送後の通信について順に説明す
る。また、各サイトは互いに送信側になったり受信側に
なったりして通信が行なわれるが、送信処理フローを図
6に、受信処理フローを図7に、受信サイト側の応答処
理フローを図8に、さらに、送信サイト側の応答処理フ
ローを図9にそれぞれ示す。
Hereinafter, (1) normal communication, (2) port transfer, and (3) communication after port transfer will be described in order. Further, the respective sites communicate with each other by becoming the transmitting side or the receiving side, and the transmission processing flow is shown in FIG. 6, the reception processing flow is shown in FIG. 7, and the response processing flow on the receiving site side is shown in FIG. Further, FIG. 9 shows the response processing flow on the transmitting site side.

【0013】(1)通常の通信 通常の通信について、図2のようにサイトS0を送信
側、サイトS1を受信側として説明する。 (a)送信 サイトS0のプロセスPS0は、サイトS1のプロセス
PS1に対し、ポートIDとしてサイト番号S1,ロー
カル番号L11としてメッセージを送る。図6のフロー
で示すと、下記,のようになる。 ポートIDが移送テーブルに記録されていない(図6
のステップ601,NO参照)。 ポートIDで示すサイト番号のサイトにメッセージを
送る(図6のステップ603参照)。
(1) Normal Communication Normal communication will be described with the site S0 as the transmitting side and the site S1 as the receiving side as shown in FIG. (A) Transmission The process PS0 of the site S0 sends a message with the site number S1 as the port ID and the local number L11 to the process PS1 of the site S1. The flow shown in FIG. 6 is as follows. The port ID is not recorded in the transfer table (Fig. 6).
Step 601, NO). A message is sent to the site with the site number indicated by the port ID (see step 603 in FIG. 6).

【0014】(b)受信 受信したサイトS1では、受信したポートIDは移送テ
ーブルになく(図7のステップ701,NO参照)、自
サイトのサイト番号(S1)がポートIDのサイト番号
に等しく(図7のステップ703,YES参照)、自サ
イトにポートIDのローカル番号のポート(L11)が
ある(図7のステップ705,YES参照)ので、ポー
トIDのローカル番号のポートにメッセージを送る(キ
ューイングする:図7のステップ708参照)。
(B) Reception At the received site S1, the received port ID is not in the transfer table (see step 701, NO in FIG. 7), and the site number (S1) of its own site is equal to the site number of the port ID ( Since the local site has the port (L11) having the local number of the port ID (see step 703 of FIG. 7), the message is sent to the port of the local number of the port ID (queue). (See step 708 of FIG. 7).

【0015】(c)応答処理 (c−1)受信側サイト 受信したサイトS1のプロセスPS1は、下記のIDを
ポートIDとして、 ポートID=S1(受信したサイト番号)+L11(サ
イトS1上でのローカル番号) 送信サイトS0に対し、上記ポートIDを含めて応答メ
ッセージとして返す(図8参照)。 (c−2)送信側サイト 受信サイトからの応答メッセージのポートIDと、送信
したメッセージのポートIDとが等しいので(図9のス
テップ901,YES参照)、送信プロセスに応答メッ
セージを返す(図9のステップ905参照)。
(C) Response process (c-1) Receiving site The process PS1 of the received site S1 uses the following ID as the port ID, and port ID = S1 (received site number) + L11 (on the site S1) Local number) The port ID is returned to the sending site S0 as a response message (see FIG. 8). (C-2) Transmission side site Since the port ID of the response message from the reception site is the same as the port ID of the transmitted message (see step 901 and YES in FIG. 9), the response message is returned to the transmission process (FIG. 9). Step 905).

【0016】(2)ポート移送 ここでは、サイトS1のポート(ローカル番号L11)
を、サイトS2のポート(ローカル番号L21)に移送
する場合の例について、図3を参照して説明する。 (a)移送元のサイトS1に、(サイト番号S1,ロー
カル番号L11)の移送テーブルを作る。 (b)移送先のサイトS2に、ポートL21を作成す
る。 (c)サイトS2にも、(サイト番号S1,ローカル番
号L11)の移送テーブルを作成する。移送ローカル番
号L21,移送サイト番号NULL(0)の情報も付加
される。 (d)上記(イ)で作成した移送テーブルの移送サイト
番号を、S2にする。 (e)サイトS1のポート(L11)にキューイングさ
れたメッセージを、サイトS2のポート(L21)に移
す。 (f)サイトS1のポート(L11)を削除する。
(2) Port transfer Here, the port of the site S1 (local number L11)
Will be described with reference to FIG. 3 in the case of transferring to the port of the site S2 (local number L21). (A) A transfer table (site number S1, local number L11) is created at the transfer source site S1. (B) A port L21 is created at the transfer destination site S2. (C) A transfer table (site number S1, local number L11) is also created in the site S2. Information on the transfer local number L21 and the transfer site number NULL (0) is also added. (D) The transfer site number of the transfer table created in (a) above is set to S2. (E) The message queued at the port (L11) of the site S1 is moved to the port (L21) of the site S2. (F) Delete the port (L11) of the site S1.

【0017】(3)ポート移送後の通信 上述の如きポート移送が行なわれた後、このポートにメ
ッセージを送る方法としてここでは2通りを想定してお
り、以下、順に説明する。 (a1)送信 送信については、(1)の(a)項に同じである。 (b1)受信 (b1−1)サイトS1 受信したサイトS1では、受信したポートIDは移送テ
ーブルにあり(図7のステップ701,YES参照)、
移送テーブルの移送サイト番号はNULL(0)ではな
いので(図7のステップ702,NO参照)、移送サイ
ト番号で示すサイトにメッセージを送る(図7のステッ
プ707参照)。 (b1−2)サイトS2 受信したサイトS2では、受信したポートIDは移送テ
ーブルにあり(図7のステップ701,YES参照)、
移送テーブルの移送サイト番号はNULL(0)で(図
7のステップ702,YES参照)、移送ローカル番号
のポート(L21)が自サイトにある(図7のステップ
704,YES参照)ので、移送ローカル番号のポート
に対しメッセージを送る(図7のステップ706参
照)。
(3) Communication after Port Transfer After the port transfer as described above is performed, two methods are assumed here for sending a message to this port, which will be described below in order. (A1) Transmission Transmission is the same as in (a) of (1). (B1) Reception (b1-1) Site S1 At the received site S1, the received port ID is in the transfer table (see step 701 in FIG. 7, YES),
Since the transfer site number in the transfer table is not NULL (0) (see step 702, NO in FIG. 7), the message is sent to the site indicated by the transfer site number (see step 707 in FIG. 7). (B1-2) Site S2 At the received site S2, the received port ID is in the transfer table (see step 701 in FIG. 7, YES),
The transfer site number in the transfer table is NULL (0) (see step 702, YES in FIG. 7), and the port (L21) of the transfer local number is at the local site (see step 704, YES in FIG. 7). Send a message to the numbered port (see step 706 in FIG. 7).

【0018】(c1)応答処理 (c1−1)受信サイト側 (1)の(c−1)項に同じ。ただし、この場合の応答
メッセージ中のポートIDは下記のようになる。 ポートID=S2(受信したサイト番号)+L21(サ
イトS2上でのローカル番号) (c1−1)送信サイト側 受信サイトからの応答メッセージのポートIDと、送信
したポートIDが等しくなく(図9のステップ901,
NO参照)、送信したときに移送テーブルを使用してい
ないので(図9のステップ902,NO参照)、新たに
移送テーブルを作成し(図9のステップ904参照)、
送信プロセスに応答メッセージを返す(図9のステップ
905参照)。送信プロセスが応答メッセージを受信し
た後の状態を、図5に示す。なお、送信したときに移送
テーブルを使用しているときは(図9のステップ90
2,YES参照)、その修正を行なう(図9のステップ
903参照)。また、以後の同ポートへの送信は、以上
の如く作成された移送テーブルを使用して行なうものと
する(図6のステップ602参照照)。
(C1) Response process (c1-1) Reception site side Same as (c-1) in (1). However, the port ID in the response message in this case is as follows. Port ID = S2 (received site number) + L21 (local number on site S2) (c1-1) Transmission site side The port ID of the response message from the reception site and the transmitted port ID are not equal (see FIG. 9). Step 901
Since the transfer table is not used at the time of transmission (see NO in step 902 in FIG. 9), a new transfer table is created (see step 904 in FIG. 9).
A response message is returned to the sending process (see step 905 in FIG. 9). The state after the sending process receives the response message is shown in FIG. In addition, when the transfer table is used at the time of transmission (step 90 in FIG. 9).
2, refer to YES), and the correction is performed (refer to step 903 in FIG. 9). Further, the subsequent transmission to the same port is performed using the transfer table created as described above (see step 602 in FIG. 6).

【0019】次に、第2の方法について、図10〜図1
2を参照して説明する。 (a2)送信 (1)の(a)項に同じ。 (b2)受信 (b2−1)サイトS1 受信したサイトS1では、受信したポートIDは移送テ
ーブルにあり(図11のステップ701,YES参
照)、移送テーブルの移送サイト番号はNULL(0)
ではないので(図11のステップ702,NO参照)、
テーブルの移送サイト番号を送信した送信元サイトに
“ポート移送通知”を送る(図11のステップ1107
参照)。なお、図7と図11との相違はこの点にある。 (b2−2)サイトS0 ポート移送通知を受けた送信元サイトは、このポート移
送通知に含まれた移送サイト番号の移送サイトに、再度
送信する(図12参照) (b2−3)サイトS2 サイトS2での処理は、(3)の(b1−2)項と同じ
である。 (c2)応答処理 (3)の(c1)項に同じである。
Next, the second method will be described with reference to FIGS.
2 will be described. (A2) Transmission Same as in (a) of (1). (B2) Reception (b2-1) Site S1 At the received site S1, the received port ID is in the transfer table (see step 701 in FIG. 11, YES), and the transfer site number in the transfer table is NULL (0).
Not (see step 702 of FIG. 11, NO),
A "port transfer notification" is sent to the source site that sent the table transfer site number (step 1107 in FIG. 11).
reference). The difference between FIGS. 7 and 11 lies in this point. (B2-2) Site S0 The source site that has received the port transfer notification transmits again to the transfer site with the transfer site number included in this port transfer notification (see FIG. 12). (B2-3) Site S2 site The process in S2 is the same as the item (b1-2) in (3). (C2) Response process This is the same as the item (c1) in (3).

【0020】[0020]

【発明の効果】この発明によれば、ポートIDをサイト
番号とサイト内ローカル番号で管理するとともに、ポー
トを移送したときは移送テーブルを作成するようにした
ので、サイトの位置を簡単に検出し得るという特徴を生
かしつつ、プロセス間通信を効率良く実現することがで
きる利点が得られる。その結果、特にポート通信を利用
したサーバークライアント方式のプロセスにおいて、サ
ーバを切り換えてクライアントに異なるサービスを提供
する場合や、サーバの置かれたサイトの負荷が大きい場
合に負荷の軽いサイトにサーバを移し(この場合は、プ
ロセスも移送する必要がある)、効率を上げたい場合等
に使用すると便利である。
According to the present invention, the port ID is managed by the site number and the local number within the site, and the transfer table is created when the port is transferred. Therefore, the position of the site can be easily detected. The advantage of being able to realize inter-process communication efficiently while making the best use of the feature of being obtained is obtained. As a result, especially in the server-client method that uses port communication, when the server is switched to provide different services to the client, or when the site where the server is placed is heavily loaded, the server is moved to a lightly loaded site. (In this case, the process also needs to be transferred), and it is convenient to use when efficiency is desired.

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

【図1】この発明が適用されるシステムを示す構成図で
ある。
FIG. 1 is a configuration diagram showing a system to which the present invention is applied.

【図2】通常時の通信方式を説明するための概要図であ
る。
FIG. 2 is a schematic diagram for explaining a communication method in normal time.

【図3】ポート移送後の状態を示す構成図である。FIG. 3 is a configuration diagram showing a state after port transfer.

【図4】ポート移送後の第1の通信方式を説明するため
の説明図である。
FIG. 4 is an explanatory diagram illustrating a first communication method after port transfer.

【図5】受信応答後の状態を示す構成図である。FIG. 5 is a configuration diagram showing a state after a reception response.

【図6】メッセージ送信処理を示すフローチャートであ
る。
FIG. 6 is a flowchart showing a message transmission process.

【図7】メッセージ受信処理を示すフローチャートであ
る。
FIG. 7 is a flowchart showing a message receiving process.

【図8】送信サイト側のメッセージ応答処理を示すフロ
ーチャートである。
FIG. 8 is a flowchart showing a message response process on the transmission site side.

【図9】受信サイト側のメッセージ応答処理を示すフロ
ーチャートである。
FIG. 9 is a flowchart showing a message response process on the receiving site side.

【図10】ポート移送後の第2の通信方式を説明するた
めの説明図である。
FIG. 10 is an explanatory diagram for explaining a second communication method after port transfer.

【図11】第2の通信方式におけるメッセージ受信処理
を示すフローチャートである。
FIG. 11 is a flowchart showing a message receiving process in the second communication method.

【図12】ポート移送受信処理を示すフローチャートで
ある。
FIG. 12 is a flowchart showing a port transfer reception process.

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

S(S0,S1,S2)…サイト、PS,PS0,PS
1,PS2…ブロセス、PT…ポート、NT…ネットワ
ーク(通信路)。
S (S0, S1, S2) ... Site, PS, PS0, PS
1, PS2 ... Process, PT ... Port, NT ... Network (communication path).

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と通信装置を備え、所定の
プロセスを処理する個々のサイトを通信路を介して互い
に結合し、自サイト内または他サイトとのプロセス間で
通信を行なうに当たり、 各サイトには予め、サイト番号とサイト内ローカル番号
で表わされる固有のポート番号を付しておき、通常はこ
のポート番号にメッセージを付して送信を行ない、ポー
トを移送をしたときは、移送元のサイト番号およびロー
カル番号と移送先のサイト番号およびローカル番号を含
む移送テーブルを移送元,移送先の各サイトで作成し、
移送されたポートへの通信は、メッセージを受信した移
送元のサイトが、自移送テーブルにもとづき移送先のサ
イトへとメッセージを回送して行なうことを特徴とする
プロセス間通信方法。
1. A central processing unit and a communication device are provided, wherein individual sites that process a predetermined process are connected to each other via a communication path, and communication is performed between processes within the own site or with other sites. A unique port number represented by the site number and the local number within the site is attached to the site in advance, and usually this port number is sent with a message sent. Create a transport table that includes the site number and local number of and the destination site number and local number at the source and destination sites,
The inter-process communication method is characterized in that the transfer source site receiving the message forwards the message to the transfer destination site based on its own transfer table for communication to the transferred port.
【請求項2】 中央処理装置と通信装置を備え、所定の
プロセスを実行する個々のサイトを通信路を介して互い
に結合し、自サイト内または他サイトとのプロセス間で
通信を行なうに当たり、 各サイトには予め、サイト番号とサイト内ローカル番号
で表わされる固有のポート番号を付しておき、通常はこ
のポート番号にメッセージを付して送信を行ない、ポー
トを移送をしたときは、移送元のサイト番号およびロー
カル番号と移送先のサイト番号およびローカル番号を含
む移送テーブルを移送元,移送先の各サイトで作成し、
移送されたポートへの通信は、メッセージを受信した移
送元のサイトが、自サイトの移送テーブルから移送先の
サイト番号を抽出し、これをポート移送通知として送信
サイトへ通知し、これを受けた送信サイトがポート移送
通知で示される番号のサイトに再度メッセージを送信し
て行なうことを特徴とするプロセス間通信方法。
2. A central processing unit and a communication device are provided, wherein individual sites that execute a predetermined process are connected to each other via a communication path, and communication is performed between processes within the own site or with other sites. A unique port number represented by the site number and the local number within the site is attached to the site in advance, and usually this port number is sent with a message sent. Create a transport table that includes the site number and local number of and the destination site number and local number at the source and destination sites,
For the communication to the port that was transported, the source site that received the message extracts the destination site number from its own transport table, notifies it to the sending site as a port transport notification, and receives it. An inter-process communication method characterized in that the sending site sends the message again to the site of the number indicated by the port transfer notification.
【請求項3】 前記メッセージを受信したポートは、受
信応答としてポートの実際のポート番号を送信サイトに
送信し、これを受信した送信サイトでは移送テーブルの
修正または新規作成を行ない、以後の移送ポートへの通
信はこの移送テーブルを用いて行なうことを特徴とする
請求項1または2のいずれかに記載のプロセス間通信方
法。
3. The port that receives the message sends the actual port number of the port to the sending site as a reception response, and the sending site that receives the message modifies or creates a new transport table, and the subsequent transport port. 3. The interprocess communication method according to claim 1, wherein communication with the process is performed using the transfer table.
JP5268637A 1993-10-27 1993-10-27 Interprocess communication method Pending JPH07123108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5268637A JPH07123108A (en) 1993-10-27 1993-10-27 Interprocess communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5268637A JPH07123108A (en) 1993-10-27 1993-10-27 Interprocess communication method

Publications (1)

Publication Number Publication Date
JPH07123108A true JPH07123108A (en) 1995-05-12

Family

ID=17461322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5268637A Pending JPH07123108A (en) 1993-10-27 1993-10-27 Interprocess communication method

Country Status (1)

Country Link
JP (1) JPH07123108A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09212364A (en) * 1995-12-27 1997-08-15 Internatl Business Mach Corp <Ibm> Method and system for managing object instance at execution
JP2000056995A (en) * 1998-08-04 2000-02-25 Digital Vision Laboratories:Kk Method for moving object and process between nodes connected by network, method for replacing function, and node device having functions thereof
US6345311B1 (en) 1995-12-27 2002-02-05 International Business Machines Corporation Method and system of dynamically moving objects between heterogeneous execution environments
US6421736B1 (en) 1995-12-27 2002-07-16 International Business Machines Corporation Method and system for migrating an object between a split status and a merged status
JP2009096075A (en) * 2007-10-17 2009-05-07 Kuraray Co Ltd Multilayer structure having surface layer made of modified ethylene-vinyl alcohol copolymer and method for producing the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09212364A (en) * 1995-12-27 1997-08-15 Internatl Business Mach Corp <Ibm> Method and system for managing object instance at execution
US6345311B1 (en) 1995-12-27 2002-02-05 International Business Machines Corporation Method and system of dynamically moving objects between heterogeneous execution environments
US6421736B1 (en) 1995-12-27 2002-07-16 International Business Machines Corporation Method and system for migrating an object between a split status and a merged status
US6886167B1 (en) 1995-12-27 2005-04-26 International Business Machines Corporation Method and system for migrating an object between a split status and a merged status
US6895587B2 (en) 1995-12-27 2005-05-17 International Business Machines Corporation Method and system for migrating an object between a split status and a merged status
JP2000056995A (en) * 1998-08-04 2000-02-25 Digital Vision Laboratories:Kk Method for moving object and process between nodes connected by network, method for replacing function, and node device having functions thereof
JP2009096075A (en) * 2007-10-17 2009-05-07 Kuraray Co Ltd Multilayer structure having surface layer made of modified ethylene-vinyl alcohol copolymer and method for producing the same

Similar Documents

Publication Publication Date Title
EP0475080B1 (en) Distributed messaging system and method
JP2000132443A (en) Computer, information sharing system and holding method for identity of replica
CN112527523B (en) Distributed message delivery method and system for high performance computing multi-cloud
US5960178A (en) Queue system and method for point-to-point message passing having a separate table for storing message state and identifier of processor assigned to process the message
CN101431476A (en) Data transmission method based on message queue, server and system
US6477586B1 (en) Remote procedure calls in distributed systems
EP0726663B1 (en) Information processing system and communication method
EP1111850A2 (en) Control and distribution protocol for a portable router framework
US5754856A (en) MVS/ESA message transport system using the XCF coupling facility
CN115134406A (en) Managing inter-service communication
CN117687344B (en) I/O data sharing method, controller and system
JP2001331386A (en) System and method for system configuration preparation support service
KR970002778B1 (en) Method of Sending / Receiving Message between Processors of Intelligent Network Service Control / Management System
JP2000151739A (en) Information processor, distributed processor and network system
JP2000357140A (en) Center-initiative type multistage distribution system performing development from compressed distribution data
CN120723500A (en) Communication method and device
JPH0991234A (en) Workflow system
JPH0381852A (en) Connection control system
KR20000067429A (en) Inter process communication using message routing function in home location register
JPH07143161A (en) E-mail delivery device
JP2011060078A (en) File distribution system, file distribution method and monitored device
JPH04123162A (en) Inter-process communication control system
KR20010083604A (en) Method for building database of configuration in transmitting system
JPH0477146A (en) Multi cast communication method
JPH0448369A (en) Information processor control information updating method in plural central information processor systems