JP2000339179A - Inter-process communication system in computer system - Google Patents

Inter-process communication system in computer system

Info

Publication number
JP2000339179A
JP2000339179A JP11147628A JP14762899A JP2000339179A JP 2000339179 A JP2000339179 A JP 2000339179A JP 11147628 A JP11147628 A JP 11147628A JP 14762899 A JP14762899 A JP 14762899A JP 2000339179 A JP2000339179 A JP 2000339179A
Authority
JP
Japan
Prior art keywords
message
shared memory
semaphore
inter
processes
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
JP11147628A
Other languages
Japanese (ja)
Inventor
Toru Kakinuma
徹 柿沼
Hikari Seshiyaka
光 瀬社家
Masaya Koyabu
正哉 小薮
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.)
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co 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 Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP11147628A priority Critical patent/JP2000339179A/en
Publication of JP2000339179A publication Critical patent/JP2000339179A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the generation of a congestion state, and to prevent the delay of a message even at the time of temporarily receiving a plurality of message transmission requests from a plurality of user processes. SOLUTION: In this system, shared memories 111 and 112 for writing messages, and pipes 121 and 122 with names for recording the leading addresses of the messages written in the shared memories 111 and 112 as message identifiers, and semaphores 131 and 132 for operating exclusive control to the shared memories 111 and 112 according to the increase and decrease of semaphore values are provided among respective processes 101-103.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テム、例えば通信装置(NE)を監視、運用するオペレ
ーティングシステムにおいて、大量のメッセージをプロ
セス間で送受信するプロセス間通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-process communication system for transmitting and receiving a large number of messages between processes in a computer system, for example, an operating system for monitoring and operating a communication device (NE).

【0002】[0002]

【従来の技術】近年、コンピュータシステムにおいて、
異なる機能を有する複数のプロセス間で相互にデータ、
メッセージの送受信を行って自プロセス、相手プロセス
の機能を活用するためのプロセス間通信が盛んに行われ
ている。
2. Description of the Related Art In recent years, in computer systems,
Mutual data between multiple processes with different functions,
Inter-process communication for transmitting and receiving messages and utilizing the functions of the own process and the other process is actively performed.

【0003】かかる従来のコンピュータシステムにおけ
るプロセス間通信システムでは、各プロセスに通信制御
機能を備えなくてもプロセス間でメッセージ等の送受信
が行えるようにするため、オペレーティングシステム内
に通信制御プロセスを備え、この通信制御プロセスによ
り、システム内の全てのプロセス間通信を実現してい
る。
In such a conventional inter-process communication system of a computer system, a communication control process is provided in an operating system so that messages can be transmitted and received between processes without having a communication control function in each process. By this communication control process, communication between all processes in the system is realized.

【0004】[0004]

【発明が解決しようとする課題】しかし、かかる従来の
コンピュータシステムにおけるプロセス間通信システム
では、このように通信制御プロセスを介してプロセス間
通信が行われているので、多数のメッセージ送信要求を
多数のユーザプロセスからほぼ同時に受けたとき、輻輳
状態に陥るおそれがある。
However, in the conventional inter-process communication system in the computer system, since the inter-process communication is performed through the communication control process, a large number of message transmission requests are issued to a large number of messages. When they are received from the user process almost simultaneously, there is a risk of falling into a congestion state.

【0005】特に、通信装置(NE)を監視、運用する
オペレーティングシステムでは、通信装置の故障等によ
り通信装置からの自律メッセージが多発したとき、ある
いは通信装置に向けて保守コマンドを投入し、通信装置
から大量のコマンド応答を受信したときは、このような
輻輳状態が想定される。
Particularly, in an operating system for monitoring and operating a communication device (NE), when an autonomous message from the communication device frequently occurs due to a failure of the communication device or the like, or when a maintenance command is input to the communication device, Such a congestion state is assumed when a large amount of command responses are received from the.

【0006】また、通信制御プロセスは、自律メッセー
ジ、コマンド応答だけを扱っているのではなく、オペレ
ーティングシステム内でもメッセージの送受信も行って
いる。このため、このような輻輳状態に陥ったとき、通
信制御プロセスへのメッセージ送信要求を行っても、そ
の通知が遅延してしまうことになる。
The communication control process not only handles autonomous messages and command responses, but also transmits and receives messages within the operating system. Therefore, when such a congestion occurs, even if a message transmission request is issued to the communication control process, the notification is delayed.

【0007】従って、通信制御プロセスを介さなくても
行えるような通信については、できるだけプロセス間で
直接通信を行えるようになれば、このような輻輳状態に
陥ることはなく、メッセージの遅延も発生しなくなる。
[0007] Therefore, as for the communication that can be performed without the intervention of the communication control process, if the communication can be performed directly between the processes as much as possible, such a congestion state does not occur and a message delay occurs. Disappears.

【0008】[0008]

【課題を解決するための手段】本発明は以上の点を解決
するため次の構成を採用する。 〈構成1〉請求項1の発明に係るコンピュータシステム
のプロセス間通信システムは、各プロセス間でメッセー
ジ通信を行うコンピュータシステムにおけるプロセス間
通信システムにおいて、各プロセスがメッセージの書き
込み、読み込みを行うための共有メモリと、該共有メモ
リに書き込まれたメッセージの先頭アドレスをメッセー
ジ識別子として記録するための名前付きパイプと、メッ
セージ送信側のプロセスから受信側プロセスへの送信を
行うとき、共有メモリ、名前付きパイプにメッセージ、
メッセージ識別子を書き込み、メッセージ識別子に従っ
て共有メモリからメッセージを読み出して受信側プロセ
スへ送信する制御手段と、を備えたものである。
The present invention employs the following structure to solve the above problems. <Configuration 1> An inter-process communication system for a computer system according to the first aspect of the present invention is an inter-process communication system in a computer system for performing message communication between processes, wherein each process writes and reads messages. A memory, a named pipe for recording the head address of the message written in the shared memory as a message identifier, and a shared memory and a named pipe when transmitting from the message transmitting process to the receiving process. message,
Control means for writing the message identifier, reading the message from the shared memory according to the message identifier, and transmitting the message to the receiving process.

【0009】〈構成2〉請求項2の発明に係るコンピュ
ータシステムのプロセス間通信システムでは、前記制御
手段が、セマフォ値を書き換えて共有メモリへの排他制
御を行うセマフォである。
<Configuration 2> In the inter-process communication system of the computer system according to the second aspect of the present invention, the control means is a semaphore that rewrites a semaphore value and performs exclusive control on a shared memory.

【0010】〈構成3〉請求項3の発明に係るコンピュ
ータシステムのプロセス間通信システムでは、共有メモ
リを操作するための共有メモリキー及びセマフォを操作
するためのセマフォキーを保存する環境ファイルを備え
ている。
<Configuration 3> The inter-process communication system of the computer system according to the third aspect of the present invention includes an environment file for storing a shared memory key for operating a shared memory and a semaphore key for operating a semaphore. I have.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を具体
例を用いて説明する。 〈具体例1〉具体例1は、各プロセス間に共有メモリを
備え、この共有メモリにメッセージの書き込み、読み込
みを行うことによりプロセス間通信を行うようにしたも
のである。図1は、具体例1のプロセス間通信システム
の構成を示すブロック図、図2は、具体例1の全体構成
を示すブロック図、図3は、具体例1のハードウェア構
成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below using specific examples. <Specific Example 1> In specific example 1, a shared memory is provided between processes, and messages are written to and read from the shared memory to perform inter-process communication. FIG. 1 is a block diagram showing the configuration of the inter-process communication system of the first embodiment, FIG. 2 is a block diagram showing the entire configuration of the first embodiment, and FIG. 3 is a block diagram showing the hardware configuration of the first embodiment. is there.

【0012】図3に示すように、コンピュータシステム
は、通信装置(NE)1、制御装置2、磁気ディスク装
置(図中、「HD」と記す。)3、メモリ(図中、「M
M」と記す。)4、インタフェース(図中、「I/O」
と記す。)5、を回線6に接続することにより構成され
ている。
As shown in FIG. 3, the computer system comprises a communication device (NE) 1, a control device 2, a magnetic disk device (denoted as “HD” in the drawing) 3, and a memory (M in the drawing).
M ”. ) 4, Interface ("I / O" in the figure)
It is written. 5) is connected to a line 6.

【0013】通信装置(NE)1は、オペレーティング
システム100によって監視、運用される装置であり、
オペレーティングシステム100は、例えば、通信装置
1に異常が発生したときに通信装置1から自律メッセー
ジを受信し、また、保守の際、保守コマンドを通信装置
1に投入して通信装置1からコマンド応答を受信する。
The communication device (NE) 1 is a device monitored and operated by the operating system 100,
The operating system 100 receives, for example, an autonomous message from the communication device 1 when an abnormality occurs in the communication device 1, and inputs a maintenance command to the communication device 1 to perform a command response from the communication device 1 during maintenance. Receive.

【0014】このオペレーティングシステム100に
は、図2に示すように、送信プロセス(以後、単に「プ
ロセス」と記す。)101〜103、通信制御プロセス
140、メッセージ151,152等が生成される。
In the operating system 100, as shown in FIG. 2, transmission processes (hereinafter, simply referred to as "processes") 101 to 103, a communication control process 140, messages 151, 152, and the like are generated.

【0015】プロセス101〜103は、NE1からの
自律メッセージ、コマンド応答を処理するものである。
尚、生成するプロセス数は3つに限るものではない。通
信制御プロセス140は、システム内に生成されたメッ
セージ151,152間の通信を実現するためのプロセ
スであり、受信処理部141、送信処理部142、メッ
セージキュー143を備えて構成される。
The processes 101 to 103 process autonomous messages and command responses from the NE 1.
Note that the number of processes to be generated is not limited to three. The communication control process 140 is a process for realizing communication between the messages 151 and 152 generated in the system, and includes a reception processing unit 141, a transmission processing unit 142, and a message queue 143.

【0016】受信処理部141は、メッセージ151を
受信するブロックであり、送信処理部142はメッセー
ジ152に処理を伝達するブロックである。メッセージ
キュー143は、処理の待ち合わせ制御を行う待ち行列
である。
The reception processing unit 141 is a block for receiving the message 151, and the transmission processing unit 142 is a block for transmitting processing to the message 152. The message queue 143 is a queue for performing processing queuing control.

【0017】オペレーティングシステム100は、プロ
セスの初期起動時、図1に示すように、共有メモリ11
1,112、名前付きパイプ121、122、セマフォ
131,132を生成する。
At the time of the initial startup of the process, the operating system 100, as shown in FIG.
1, 112, named pipes 121 and 122, and semaphores 131 and 132 are generated.

【0018】各プロセス101〜103間には、共有メ
モリ111、112が配置される。この共有メモリ11
1、112は、2つのプロセスからのメッセージの読み
書きを双方向で行うためのメモリである。名前付きパイ
プ121,122は、受信側プロセスのプロセス番号を
示す。
[0018] Shared memories 111 and 112 are arranged between the processes 101 to 103. This shared memory 11
Reference numerals 1 and 112 denote memories for reading and writing messages from two processes in two directions. The named pipes 121 and 122 indicate the process numbers of the receiving processes.

【0019】セマフォ131、132は、共有メモリ1
11,112へのアクセスが同時に行われないように共
有メモリ111,112への排他制御を行う制御手段で
あり、このセマフォ131、132によってメッセージ
の信頼性が保障される。セマフォ131、132は、例
えばセマフォ値を「0」にセットして共有メモリ11
1,112をロックし、「1」にセットしてロックを解
除、即ち、アンロックする。
The semaphores 131 and 132 are shared memory 1
The semaphores 131 and 132 are control units that perform exclusive control on the shared memories 111 and 112 so that accesses to the shared memories 11 and 112 are not performed at the same time. The semaphores 131 and 132 set the semaphore value to “0”, for example, and
1, 112 are locked and set to "1" to release the lock, that is, unlock.

【0020】例えば、セマフォ131がプロセス101
の共有メモリ111への書き込み時に共有メモリ111
をロックしたときは、他のプロセスから共有メモリ11
1に書き込みを行うことはできず、プロセス101だけ
が共有メモリ111への書き込みを行える。尚、セマフ
ォ131、132の初期値は「1」にセットされる。
For example, when the semaphore 131
When writing to the shared memory 111
Locks the shared memory 11 from another process.
1 cannot be written, and only the process 101 can write to the shared memory 111. Note that the initial values of the semaphores 131 and 132 are set to “1”.

【0021】共有メモリ111,112、セマフォ13
1,132の生成又は操作を行うためには、一つのコン
ピュータシステムにおいてユニークな番号として共有メ
モリキー、セマフォキーを付与する必要がある。
Shared memories 111 and 112, semaphore 13
In order to generate or operate 1,132, it is necessary to assign a shared memory key and a semaphore key as unique numbers in one computer system.

【0022】具体例1では、コンピュータシステム内に
環境ファイルを備え、この環境ファイルに共有メモリキ
ー、セマフォキーを環境ファイルに格納しておく。図4
は、その環境ファイルの一例を示す説明図である。この
環境ファイルはいつでも参照可能である。従って、共有
メモリ、セマフォの操作を送信側、受信側で行える。
In the first embodiment, an environment file is provided in the computer system, and a shared memory key and a semaphore key are stored in the environment file in the environment file. FIG.
Is an explanatory diagram showing an example of the environment file. This environment file is always available. Therefore, the operation of the shared memory and the semaphore can be performed on the transmission side and the reception side.

【0023】尚、メッセージを送受信するプロセスが複
数存在するときは、共有メモリキー、セマフォキーを使
用するプロセス名を、この環境ファイルで設定してお
き、プロセス名と使用する共有メモリキー、セマフォキ
ーとの対応付けをしておく。これにより、機能が変更さ
れた場合に、大量にメッセージを送受信するプロセスを
増減又は変更したときでも、この環境ファイルだけを修
正すればよい。但し、この環境ファイルを備えなくても
メッセージの送受信は行える。
When there are a plurality of processes for transmitting and receiving a message, a process name using the shared memory key and the semaphore key is set in this environment file, and the process name and the shared memory key and the semaphore key are used. Is associated with. Thus, when the function is changed, even when the number of processes for transmitting and receiving a large number of messages is increased or decreased or changed, only the environment file needs to be corrected. However, messages can be sent and received without this environment file.

【0024】〈動作〉尚、具体例1では、プロセス10
1,102を、それぞれメッセージの送信側、受信側と
して説明するが、この具体例1に限定されるものではな
い。
<Operation> In the specific example 1, the process 10
1, 102 will be described as a message transmitting side and a message receiving side, respectively, but are not limited to the specific example 1.

【0025】メッセージの送受信に使用する共有メモリ
111,112、名前付きパイプ121,122、セマ
フォ131,132はプロセス102の初期起動時に生
成される。プロセス102は、プロセス101からのメ
ッセージを受信するまで待機する。
The shared memories 111 and 112, the named pipes 121 and 122, and the semaphores 131 and 132 used for transmitting and receiving messages are generated when the process 102 is initially started. The process 102 waits until a message from the process 101 is received.

【0026】尚、セマフォ131のセマフォ値は前述の
ように「0」になっている。また、プロセス101,1
02に対応する共有メモリキー、セマフォキーが環境フ
ァイルから取り出され、共有メモリ111,112、セ
マフォ131,132の操作を行えるようになる。
The semaphore value of the semaphore 131 is "0" as described above. Also, processes 101 and 1
The shared memory key and the semaphore key corresponding to 02 are extracted from the environment file, and the operations of the shared memories 111 and 112 and the semaphores 131 and 132 can be performed.

【0027】図5は、具体例1のメッセージ送信動作を
示すフローチャートである。ステップ(図中、「S」と
記す。)1では、通信装置1に例えば異常が発生したと
き、あるいは保守コマンドを投入したとき、通信装置1
から自律メッセージ又はコマンド応答を受信する。この
自律メッセージ、コマンド応答に応じて、プロセス10
2の機能を活用する必要性が生じたときは、ステップ2
に進む。
FIG. 5 is a flowchart showing the message transmission operation of the first embodiment. In step (denoted by “S” in the figure) 1, when an error occurs in the communication device 1 or when a maintenance command is input, for example,
Receive an autonomous message or a command response from In response to this autonomous message and command response, the process 10
If it becomes necessary to utilize the function of step 2,
Proceed to.

【0028】ステップ2では、セマフォ131のセマフ
ォ値を「0」にセットして共有メモリ111をロック
し、他のプロセス102から共有メモリ111に書き込
みを行えないようにする。
In step 2, the semaphore value of the semaphore 131 is set to "0" to lock the shared memory 111 so that other processes 102 cannot write to the shared memory 111.

【0029】尚、既にセマフォ値が「0」になっている
ときは、他のセマフォによって共有メモリ111がロッ
クされているので、共有メモリ111への書き込みを行
うことはできず、このときは、セマフォ値が「1」にな
るまで待機する。
When the semaphore value is already "0", writing to the shared memory 111 cannot be performed because the shared memory 111 is locked by another semaphore. Wait until the semaphore value becomes “1”.

【0030】ステップ3では、メッセージの共有メモリ
111への書き込みを行う。共有メモリ111への書き
込みが終了したときはステップ4に進む。ステップ4で
は、セマフォ値を「1」にセットして共有メモリ111
をアンロックする。
In step 3, a message is written to the shared memory 111. When the writing to the shared memory 111 is completed, the process proceeds to step 4. In step 4, the semaphore value is set to “1” and the shared memory 111
To unlock.

【0031】ステップ5では、書き込んだメッセージの
先頭アドレスをメッセージ識別子として名前付きパイプ
121に溜め込む。このようにして下位のプロセス10
2がメッセージを受信できるようになる。
In step 5, the head address of the written message is stored in the named pipe 121 as a message identifier. In this way, the lower process 10
2 can receive the message.

【0032】図6は、具体例1のメッセージ受信動作を
示すフローチャートである。ステップ11では、メッセ
ージを受信できる状態にセットする。ステップ12で
は、名前付きパイプ121から、プロセス101によっ
て溜め込まれたメッセージ識別子を取り出す。
FIG. 6 is a flowchart showing the message receiving operation of the first embodiment. In step 11, the state is set so that the message can be received. In step 12, the message identifier stored by the process 101 is extracted from the named pipe 121.

【0033】ステップ13では、送信時と同様に、セマ
フォ131のセマフォ値を「0」にセットして共有メモ
リ111をロックする。これにより、受信時においても
メッセージの信頼性が保障される。尚、既にセマフォ値
が「0」になっているときは、プロセス101によるメ
ッセージ送信時と同様に、セマフォ値が「1」になるま
で待機する。
In step 13, the semaphore value of the semaphore 131 is set to "0" and the shared memory 111 is locked, as in the case of transmission. This ensures the reliability of the message even at the time of reception. If the semaphore value is already “0”, the process waits until the semaphore value becomes “1” as in the case of the message transmission by the process 101.

【0034】ステップ14では、名前付きパイプ121
から取り出したメッセージ識別子に従って共有メモリ1
11からメッセージを読み込む。メッセージの読み込み
が終了したときは、ステップ15に進み、セマフォ13
1のセマフォ値を「1」にセットする。これにより、共
有メモリ111のロックは解除され、他のプロセスが共
有メモリ111に対して書き込み等を行えるようにな
る。このようにしてプロセス間通信が実行される。
In step 14, the named pipe 121
Shared memory 1 according to the message identifier retrieved from
The message is read from 11. When the reading of the message is completed, the process proceeds to step 15 and the semaphore 13
Set the semaphore value of 1 to "1". As a result, the lock of the shared memory 111 is released, and another process can write to the shared memory 111. In this way, inter-process communication is performed.

【0035】〈具体例1の効果〉以上、説明したように
具体例1によれば、プロセス101〜103間に共有メ
モリ111,112を生成するようにしたので、通信装
置1からの自律メッセージ又はコマンド応答を受信した
ときは、通信制御プロセス140を介さずに各プロセス
間101〜103で直接通信を行うようにしたので、多
くのユーザプロセスから多数のメッセージの送信要求が
あったとき、通信装置1からの自律メッセージあるいは
コマンド応答が多発したときでも輻輳状態になることを
防止することができ、オペレーティングシステム100
内等でのメッセージ通信の遅延も防止できる。
<Effect of Specific Example 1> According to the specific example 1 as described above, the shared memories 111 and 112 are generated between the processes 101 to 103, so that the autonomous message from the communication device 1 or When a command response is received, communication is directly performed between the processes 101 to 103 without going through the communication control process 140. Therefore, when a large number of message transmission requests are issued from many user processes, the communication device 1 can be prevented from becoming congested even when an autonomous message or command response from the OS 1 frequently occurs.
It is also possible to prevent delays in message communication inside and the like.

【0036】また、セマフォ131,132により共有
メモリ111,112への排他制御を行うようにしたの
で、複数のプロセスからメッセージの書き込み、読み込
み要求が同時に行われても共有メモリ111,112へ
のアクセスは同時に行われず、メッセージに対する信頼
性が向上する。
Also, since the semaphores 131 and 132 perform exclusive control on the shared memories 111 and 112, access to the shared memories 111 and 112 is performed even when a plurality of processes write and read requests for messages at the same time. Are not performed at the same time, and the reliability of the message is improved.

【0037】さらに、環境ファイルを備え、この環境フ
ァイルに共有メモリキー、セマフォキーを格納するよう
にしたので、機能の変更などによって、メッセージを送
受信するプロセスの増減又は変更があっても、この環境
ファイルだけを修正すれば、プロセス間通信処理を変更
しなくても対応が可能となるため、特に大量のデータを
扱うシステムに有利である。
Further, since an environment file is provided and the shared memory key and the semaphore key are stored in this environment file, even if the number of processes for transmitting and receiving messages is increased or decreased due to a change in function, this environment file is used. If only the file is modified, it is possible to cope without changing the inter-process communication processing, which is particularly advantageous for a system handling a large amount of data.

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

【図1】具体例1のプロセス間通信システムの構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an inter-process communication system of a specific example 1.

【図2】具体例1の全体構成を示すブロック図である。FIG. 2 is a block diagram illustrating an entire configuration of a specific example 1.

【図3】具体例1のハードウェア構成を示すブロック図
である。
FIG. 3 is a block diagram illustrating a hardware configuration of a specific example 1.

【図4】具体例1の環境ファイルの一例を示す説明図で
ある。
FIG. 4 is an explanatory diagram illustrating an example of an environment file of a specific example 1.

【図5】具体例1のメッセージ送信動作を示すフローチ
ャートである。
FIG. 5 is a flowchart illustrating a message transmission operation of the first specific example.

【図6】具体例1のメッセージ受信動作を示すフローチ
ャートである。
FIG. 6 is a flowchart illustrating a message receiving operation according to the first embodiment.

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

1 通信装置(NE) 100 オペレーティングシステム 111,112 共有メモリ 121,122 名前付きパイプ 131,132 セマフォ 1 Communication device (NE) 100 Operating system 111, 112 Shared memory 121, 122 Named pipe 131, 132 Semaphore

フロントページの続き (72)発明者 瀬社家 光 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 (72)発明者 小薮 正哉 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 Fターム(参考) 5B098 AA09 GA04 GB14 GD04 GD15Continuing on the front page (72) Inventor Hikari Sesha 3-2-1, Nishi-Shinjuku, Shinjuku-ku, Tokyo Japan Telegraph and Telephone Corporation (72) Inventor Masaya Koyabu 3-9-1, Nishi-Shinjuku, Shinjuku-ku, Tokyo Nippon Telegraph and Telephone Corporation F-term (reference) 5B098 AA09 GA04 GB14 GD04 GD15

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 各プロセス間でメッセージ通信を行うコ
ンピュータシステムにおけるプロセス間通信システムに
おいて、 各プロセスがメッセージの書き込み、読み込みを行うた
めの共有メモリと、 該共有メモリに書き込まれたメッセージの先頭アドレス
をメッセージ識別子として記録するための名前付きパイ
プと、 メッセージ送信側のプロセスから受信側プロセスへの送
信を行うとき、共有メモリ、名前付きパイプにメッセー
ジ、メッセージ識別子を書き込み、メッセージ識別子に
従って共有メモリからメッセージを読み出して受信側プ
ロセスへ送信する制御手段と、を備えたことを特徴とす
るコンピュータシステムにおけるプロセス間通信システ
ム。
An inter-process communication system in a computer system for performing message communication between processes, a shared memory for each process to write and read a message, and a start address of the message written to the shared memory. A named pipe for recording as a message identifier and a message and a message identifier are written to the shared memory and named pipe when sending from the message sending process to the receiving process, and the message is written from the shared memory according to the message identifier. Control means for reading and transmitting to a receiving process.
【請求項2】 前記制御手段は、セマフォ値を書き換え
て共有メモリへの排他制御を行うセマフォであることを
特徴とする請求項1に記載のコンピュータシステムにお
けるプロセス間通信システム。
2. The inter-process communication system according to claim 1, wherein the control unit is a semaphore that rewrites a semaphore value to perform exclusive control on a shared memory.
【請求項3】 共有メモリを操作するための共有メモリ
キー及びセマフォを操作するためのセマフォキーを保存
する環境ファイルを備えたことを特徴とする請求項2に
記載のコンピュータシステムにおけるプロセス間通信シ
ステム。
3. The inter-process communication system according to claim 2, further comprising an environment file for storing a shared memory key for operating the shared memory and a semaphore key for operating the semaphore. .
JP11147628A 1999-05-27 1999-05-27 Inter-process communication system in computer system Pending JP2000339179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11147628A JP2000339179A (en) 1999-05-27 1999-05-27 Inter-process communication system in computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11147628A JP2000339179A (en) 1999-05-27 1999-05-27 Inter-process communication system in computer system

Publications (1)

Publication Number Publication Date
JP2000339179A true JP2000339179A (en) 2000-12-08

Family

ID=15434636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11147628A Pending JP2000339179A (en) 1999-05-27 1999-05-27 Inter-process communication system in computer system

Country Status (1)

Country Link
JP (1) JP2000339179A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012105560A1 (en) * 2011-01-31 2012-08-09 独立行政法人海洋研究開発機構 Node
EP3779735A1 (en) 2019-07-22 2021-02-17 Fujitsu Limited Information processing program, information processing method, and information processing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012105560A1 (en) * 2011-01-31 2012-08-09 独立行政法人海洋研究開発機構 Node
US9280403B2 (en) 2011-01-31 2016-03-08 Japan Agency For Marine-Earth Science And Technology Node including a CPU which is connected to other nodes constituting a computer system
EP3779735A1 (en) 2019-07-22 2021-02-17 Fujitsu Limited Information processing program, information processing method, and information processing apparatus
US11625517B2 (en) 2019-07-22 2023-04-11 Fujitsu Limited Information processing method, and information processing apparatus

Similar Documents

Publication Publication Date Title
JP2512678B2 (en) Data processing system
JP3807250B2 (en) Cluster system, computer and program
JP2004302713A (en) Storage system and its control method
KR20180071967A (en) Data processing
JP3825692B2 (en) Method and apparatus for handling invalidation requests for processors not present in a computer system
JP4188446B2 (en) Data exchange apparatus and method
JPH07262151A (en) Parallel processor system and packet abandoning method adapted to this system
JP2000112866A (en) Improvement of input/output performance by storing packeted operation information in local memory
JP2000339179A (en) Inter-process communication system in computer system
JP2007334668A (en) Memory dumping method, cluster system, node constituting the system, and program
US7336657B2 (en) Inter-nodal data transfer system and data transfer apparatus
JP2710587B2 (en) Information processing system
JP6631370B2 (en) Microcomputer and electronic control unit
JPH10187523A (en) Method and system for sharing terminal information for loosely coupled system
JP3252464B2 (en) Virtual computer system
JP2001344222A (en) Computer system
JPH0323026B2 (en)
JP4193754B2 (en) Data duplication method and program
JPH07152651A (en) Method and device for information processing
JP2856150B2 (en) Transaction history recording system
JP3056169B2 (en) Data transmission / reception method and method
JP3594952B2 (en) A link between the central system and the satellite system to perform operations of the central system
JP2752834B2 (en) Data transfer device
JP2000020489A (en) Data transfer device for computer
JP2000330949A (en) Method and device for paging control over virtual storage system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040809

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040831