JPH04322355A - Information exchange device - Google Patents

Information exchange device

Info

Publication number
JPH04322355A
JPH04322355A JP9211391A JP9211391A JPH04322355A JP H04322355 A JPH04322355 A JP H04322355A JP 9211391 A JP9211391 A JP 9211391A JP 9211391 A JP9211391 A JP 9211391A JP H04322355 A JPH04322355 A JP H04322355A
Authority
JP
Japan
Prior art keywords
buffer
message
information
buffers
storage means
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
JP9211391A
Other languages
Japanese (ja)
Inventor
Masao Fujikawa
藤川 昌男
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 JP9211391A priority Critical patent/JPH04322355A/en
Publication of JPH04322355A publication Critical patent/JPH04322355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To improve the delay of processing due to acquisition and return of a buffer on a shared memory area with respect to message exchange. CONSTITUTION:With respect to an information exchange device which stores a message in the buffer on a shared memory area 10 to transfer it from a transmission-side device and a reception-side device at the time of message exchange between two devices 1 and 2 connected to a system bus 20 in a computer system, each of transmission-side and reception-side devices is provided with a storage means B of its own buffer and a buffer management means A, which performs such management that messages are not concentrated to the buffer of one device, independently of each other.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、計算機システム内の
システムバスに接続された2つのデバイス間で情報(以
下メッセ−ジと称する)の交換を行う情報交換装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information exchange device for exchanging information (hereinafter referred to as a message) between two devices connected to a system bus in a computer system.

【0002】0002

【従来の技術】計算機システム内のシステムバスに接続
された2デバイス間のメッセ−ジ交換を行う装置として
、2デバイスが共にリ−ド/ライト可能な共用メモリエ
リアにバッファプ−ル(複数のバッファの集まり)を用
意し、メッセ−ジの送信側デバイスがバッファプ−ル内
の1つのバッファを獲得してメッセ−ジを格納して、受
信側デバイスへそのバッファのアドレスを伝へバッファ
のアクセス権を引き渡すことでメッセ−ジ交換を行うも
のがある。
[Prior Art] As a device for exchanging messages between two devices connected to a system bus in a computer system, a buffer pool (multiple buffers) is stored in a shared memory area that can be read/written by both devices. The device sending the message acquires one buffer in the buffer pool, stores the message, and transmits the address of that buffer to the receiving device. There are some systems that exchange messages by handing over information.

【0003】このような従来の装置ではバッファプ−ル
は共用であるためバッファの獲得・返却を行う場合に、
2デバイス間で使用・未使用バッファについての矛盾の
ない一致した認識を保つ必要がある。そこでバッファプ
−ルの管理情報を共用メモリエリアに配置し、各デバイ
スは共用メモリエリア上の管理情報を参照・操作するこ
とで一致した認識を保つようにしていた。
[0003] In such conventional devices, the buffer pool is shared, so when acquiring and returning buffers,
It is necessary to maintain consistent and consistent recognition of used and unused buffers between two devices. Therefore, management information for the buffer pool is placed in a shared memory area, and each device maintains consistent recognition by referring to and manipulating the management information on the shared memory area.

【0004】0004

【発明が解決しようとする課題】従来例のようにバッフ
ァプ−ルの管理情報を共用メモリエリアに配置する構成
では、共用メモリエリアをシステムバス経由でアクセス
(リ−ド/ライト)する必要がある。しかしながらシス
テムバス経由でのアクセスは速度が遅いため、バッファ
の獲得・返却の際に共用メモリエリアのバッファ管理情
報を参照・操作することは処理時間の遅延を招くという
問題があった。また同一の管理情報をアクセスするため
一方のデバイスがアクセス時は他方のデバイスのアクセ
スを禁止する排他制御を行う必要があり、これも処理時
間の遅延を招く原因であった。
[Problems to be Solved by the Invention] In a conventional configuration in which buffer pool management information is placed in a shared memory area, it is necessary to access (read/write) the shared memory area via the system bus. . However, since access via the system bus is slow, there is a problem in that referencing and manipulating buffer management information in the shared memory area when acquiring and returning buffers causes delays in processing time. Furthermore, in order to access the same management information, it is necessary to perform exclusive control to prohibit access by the other device when one device accesses it, which also causes a delay in processing time.

【0005】この発明は、以上のような従来例の問題点
を解消するためになされたもので、2デバイス間のメッ
セ−ジ交換においてバッファプ−ルのバッファを共用は
するが、バッファ管理情報を共用メモリエリアには配置
しなくても必要な数のバッファをバッファプ−ルから各
デバイス別に確保出来るようにしたことで、バッファ管
理情報をシステムバス経由で参照・操作すること及びそ
の時の2デバイス間での排他制御を不要とし、前記処理
時間の遅延を改善できる情報交換装置の提供を目的とし
ている。
[0005] The present invention has been made to solve the above-mentioned problems of the conventional example, and although the buffer of the buffer pool is shared in message exchange between two devices, the buffer management information is not shared between the two devices. By making it possible to allocate the required number of buffers for each device from the buffer pool without having to place them in the shared memory area, it is possible to refer to and manipulate buffer management information via the system bus, and to easily manage data between two devices at that time. It is an object of the present invention to provide an information exchange device that eliminates the need for exclusive control and can improve the delay in processing time.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、この発明は、計算機システム内でシステムバスに接
続されそれぞれがCPUを有する2つのデバイス間で情
報交換を行う場合に、情報を格納する複数のバッファを
各デバイスの共用メモリエリアにバッファプ−ルとして
用意し、送信側デバイスが情報を前記バッファに格納し
て受信側デバイスへ該バッファを引き渡すことで、相互
のデバイス間での情報の交換を行う情報交換装置におい
て、受信側デバイスが該バッファを次の情報送信の機会
に用いる自己所有のバッファとするために該バッファの
アドレスを記憶する記憶手段と、それぞれのデバイスの
所有するバッファが一定量以上偏った場合にはバッファ
所有数の過多側デバイスから過少側デバイスへ所定数の
バッファの所有権を引き渡すバッファ管理手段とを、そ
れぞれのデバイス側で独立に有するように構成する。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a method for storing information when exchanging information between two devices connected to a system bus in a computer system and each having a CPU. A plurality of buffers are prepared as a buffer pool in the shared memory area of each device, and the sending device stores information in the buffers and passes the buffers to the receiving device, thereby exchanging information between mutual devices. In an information exchange device that performs an exchange, a storage means for storing the address of the buffer so that the receiving device uses the buffer as its own buffer for use at the next opportunity to transmit information, and a buffer owned by each device. Each device is configured to independently have a buffer management means for transferring ownership of a predetermined number of buffers from a device with an excess number of buffers to a device with a small number of buffers if the number of buffers is biased by a certain amount or more.

【0007】[0007]

【作用】以上のような構成としたこの発明に係る情報交
換装置は、バッファの管理情報を各デバイスが独立に有
することでバッファの獲得・返却時にアクセス速度の遅
いシステムバスを介することなくバッファ管理情報の参
照・操作ができ、かつ2デバイス間での排他制御が不要
となる。
[Operation] The information exchange device according to the present invention configured as described above allows buffer management without going through the system bus, which has a slow access speed, when acquiring and returning buffers, since each device has buffer management information independently. Information can be referenced and manipulated, and exclusive control between two devices is not required.

【0008】[0008]

【実施例】以下にこの発明の一実施例を図面に基づいて
説明する。 (構成)図1はこの発明が適用される計算機システムに
おける実施例の全体システム構成図を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. (Configuration) FIG. 1 shows an overall system configuration diagram of an embodiment of a computer system to which the present invention is applied.

【0009】図2は実施例におけるメッセ−ジ交換のバ
ッファプ−ル及びバッファ管理情報の全体構成を示す。 図3は実施例におけるバッファ管理情報の構成を示す。
FIG. 2 shows the overall structure of the buffer pool and buffer management information for message exchange in this embodiment. FIG. 3 shows the structure of buffer management information in the embodiment.

【0010】図4は実施例におけるメッセ−ジ交換用の
バッファ内の情報構成を示す。図5は実施例における動
作の概要フロ−チャ−トである。図6は実施例における
メッセ−ジ送信時の処理フロ−チャ−トである。
FIG. 4 shows the information structure in the message exchange buffer in this embodiment. FIG. 5 is a schematic flowchart of the operation in the embodiment. FIG. 6 is a processing flowchart at the time of message transmission in the embodiment.

【0011】図7は実施例におけるメッセ−ジ受信時の
処理フロ−チャ−トである。図8は実施例におけるバッ
ファの偏り解消処理フロ−チャ−トである。図中、同一
符号は同一または相等部分を表す。
FIG. 7 is a processing flowchart at the time of message reception in this embodiment. FIG. 8 is a flowchart of buffer bias elimination processing in the embodiment. In the figures, the same reference numerals represent the same or equivalent parts.

【0012】図1において、1,2はそれぞれデバイス
であって相互間で情報交換を行うものであり、3,4は
それぞれのデバイスの内部メモリであって制御プログラ
ムおびデ−タが格納されており、5,6はそれぞれのデ
バイスのCPUであって制御プログラムの実行を行う。 10は共用メモリエリアであり、11はバッファプ−ル
であり、20はシステムバスである。Aはバッファ管理
手段であってバッファ管理用の制御プログラムおよびカ
ウンタ等で構成され、Bは記憶手段であってバッファ記
憶用の制御プログラムおよび所有するバッファへのポイ
ンタ等で構成されており、内部メモリ3,4の内部に独
立して設けられている。
In FIG. 1, 1 and 2 are devices that exchange information between each other, and 3 and 4 are internal memories of each device in which control programs and data are stored. 5 and 6 are CPUs of the respective devices and execute control programs. 10 is a shared memory area, 11 is a buffer pool, and 20 is a system bus. A is a buffer management means, which is composed of a control program for buffer management, a counter, etc., and B is a storage means, which is composed of a control program for buffer storage, a pointer to the owned buffer, etc., and is composed of an internal memory. 3 and 4 are provided independently.

【0013】互いにメッセ−ジ交換を行うデバイス1と
デバイス2、及びバッファプ−ル11を配置する共用メ
モリエリア10は、図1のようにシステムバス20に接
続されている。デバイス1及びデバイス2はシステムバ
ス20を介して共用メモリエリア10にアクセス(リ−
ド/ライト)することができる。
A shared memory area 10 in which devices 1 and 2, which exchange messages with each other, and a buffer pool 11 are arranged, is connected to a system bus 20 as shown in FIG. Device 1 and Device 2 access (read) the shared memory area 10 via the system bus 20.
(read/write).

【0014】実施例の機構は、図2のように共用メモリ
エリア10内に形成されたバッファプ−ル11(図2で
はバッファ111〜バッファ118で示されている)、
そのバッファプ−ル11を運用するための各デバイス内
のバッファ管理手段Aおよび記憶手段B、メッセ−ジの
送信と受信を行う通信路となる2本のメッセ−ジキュ−
12と21、及びそれら2本のメッセ−ジキュ−へのポ
インタによって構成されている。
The mechanism of the embodiment includes a buffer pool 11 (indicated by buffers 111 to 118 in FIG. 2) formed in the shared memory area 10 as shown in FIG.
Buffer management means A and storage means B in each device for operating the buffer pool 11, and two message queues that serve as communication paths for sending and receiving messages.
12 and 21, and pointers to those two message queues.

【0015】(動作)以下に図2〜図8に基づいて動作
を説明する。デバイス間で情報を送出する場合の処理手
順の一例は図5に示すように実行される。すなわち、デ
バイス1または2を起動したときに、図5の処理が実行
開始され、先ずステップS1でバッファ管理の初期化処
理を実行し、次いでステップS2に移行して送信か否か
を判定し、送信である場合には、ステップS3に移行し
て図6に示す送信処理を実行してからステップS2に戻
り、送信ではないときには、ステップS4に移行する。
(Operation) The operation will be explained below based on FIGS. 2 to 8. An example of a processing procedure when transmitting information between devices is executed as shown in FIG. That is, when the device 1 or 2 is started, the process shown in FIG. 5 is started, and first, in step S1, buffer management initialization process is executed, and then the process moves to step S2, where it is determined whether or not to send. If it is a transmission, the process moves to step S3 and executes the transmission process shown in FIG. 6, and then returns to step S2; if it is not a transmission, the process moves to step S4.

【0016】このステップS4では、受信か否かを判定
し、受信ではないときには、そのまま前記ステップS2
へ戻る。受信である場合にはステップS5に移行して図
7に示す受信処理を実行してからステップS6に移行す
る。
[0016] In this step S4, it is determined whether or not there is reception, and if it is not reception, the process directly proceeds to step S2.
Return to If it is reception, the process moves to step S5 to execute the reception process shown in FIG. 7, and then moves to step S6.

【0017】このステップS6では、バッファ管理手段
Aにおける所有バッファ数カウンタ2cのカウント値N
が予め設定した最大バッファ数NB を越えたか否かを
判定し、N>NB であるときには、デバイス1及び2
間で所有バッファ数に偏りがあるものと判断してステッ
プS7に移行して図8に示す偏り解消処理を実行し、N
≦NB であるときには、そのまま前記ステップS2に
戻る。
In this step S6, the count value N of the owned buffer number counter 2c in the buffer management means A is
exceeds the preset maximum number of buffers NB, and if N>NB, devices 1 and 2
It is determined that there is a bias in the number of owned buffers among the N
When ≦NB, the process directly returns to step S2.

【0018】以下に、図5の各処理ステップについて詳
細を説明する。 (1)バッファ管理の初期化 共用メモリエリア10を適当なサイズの複数バッファに
分割し複数個数のバッファを生成しバッファプ−ル11
とする。バッファは予め決めてある指定個数にデバイス
1とデバイス2の所有するバッファとして配分して、デ
バイス1とデバイス2内のそれぞれの記憶手段Bに登録
(バッファアドレスを記憶)し、所有するバッファ数も
バッファ管理手段Aに設定する。
Each processing step in FIG. 5 will be explained in detail below. (1) Initializing buffer management Divide the shared memory area 10 into multiple buffers of appropriate size, generate multiple buffers, and create a buffer pool 11.
shall be. The buffers are allocated to a predetermined specified number of buffers owned by device 1 and device 2, and registered (buffer addresses are stored) in storage means B in device 1 and device 2, respectively, and the number of buffers owned is also determined. Set in buffer management means A.

【0019】なお、この実施例では次に使用するバッフ
ァ111と112は予めメッセ−ジキュ−12と21に
1つずつ繋げておく。 (2)メッセ−ジ送信時の処理(図6参照)デバイス1
からデバイス2へメッセ−ジを送信する場合は、ステッ
プ101でデバイス1が自デバイス内にある記憶手段B
からバッファ113のアドレスを獲得する。
In this embodiment, buffers 111 and 112 to be used next are connected in advance to message queues 12 and 21, respectively. (2) Processing when sending a message (see Figure 6) Device 1
When sending a message from device 1 to device 2, in step 101 device 1 sends a message to device
The address of the buffer 113 is acquired from.

【0020】この時、ステップ102でデバイス1にお
ける記憶手段Bの該当する「所有するバッファへのポイ
ンタ」に0を設定してバッファ113を登録削除し、ス
テップ103でバッファ管理手段Aの所有バッファ数カ
ウンタ1cの内容から1を減ずる。
At this time, in step 102, the corresponding "pointer to the owned buffer" of the storage means B in the device 1 is set to 0 to register and delete the buffer 113, and in step 103, the number of owned buffers of the buffer management means A is set to 0. Subtract 1 from the contents of counter 1c.

【0021】デバイス1は、メッセ−ジキュ−12にあ
るバッファ111に、図4に示すバッファ内の情報構成
に従って、ステップ104で後続のバッファへのポイン
タ部にはバッファ113のアドレスを、ステップ105
でメッセ−ジ部には送信するメッセ−ジを格納する。ま
た、ステップ106で送信メッセ−ジキュ−ポインタ1
dには、最後尾バッファとなったバッファ113のアド
レスを格納する。
In step 104, the device 1 writes the address of the buffer 113 in the pointer section to the subsequent buffer in the buffer 111 in the message queue 12, according to the information structure in the buffer shown in FIG.
The message section stores the message to be sent. Also, in step 106, the send message queue pointer 1
The address of the buffer 113, which is the last buffer, is stored in d.

【0022】これにより、バッファ111はメッセ−ジ
として送信メッセ−ジキュ−12に送信されたことにな
り、バッファ113は次のメッセ−ジ格納用に獲得され
、所有するバッファから削除されたことになる。
[0022] This means that buffer 111 has been sent as a message to send message queue 12, buffer 113 has been acquired for storing the next message, and has been deleted from the buffers it owns. Become.

【0023】デバイス2からデバイス1へメッセ−ジを
送信する場合は、上記デバイス1とデバイス2の実行を
メッセ−ジキュ−21に対して逆に行うことになる。 (3)メッセ−ジ受信時の処理(図7参照)前記(2)
でデバイス1によってメッセ−ジを格納され送信された
バッファ111をデバイス2で受信する場合は次のよう
に行われる。
When transmitting a message from device 2 to device 1, the above-mentioned operations for device 1 and device 2 are performed in reverse for message queue 21. (3) Processing when receiving a message (see Figure 7) (2) above
When device 2 receives the buffer 111 in which a message is stored and transmitted by device 1, the process is as follows.

【0024】デバイス2側では、メッセ−ジが送信され
たことを検知すると、ステップ201で受信メッセ−ジ
キュ−ポインタ2eの指すバッファ111からメッセ−
ジを読み取る(検知手段はこの発明の範囲外なので説明
は省略する)。次にステップ202でメッセ−ジを読み
だした後のバッファ111のアドレスは記憶手段Bに自
己所有バッファとして登録し、ステップ203でバッフ
ァ管理手段Aの所有バッファ数カウンタ2cの内容に1
を加える。
On the device 2 side, when it detects that a message has been sent, the message is transferred from the buffer 111 pointed to by the received message queue pointer 2e in step 201.
(The detection means is outside the scope of this invention, so a description thereof will be omitted.) Next, in step 202, the address of the buffer 111 after reading the message is registered in the storage means B as a self-owned buffer, and in step 203, the content of the owned buffer number counter 2c of the buffer management means A is set to 1.
Add.

【0025】デバイス2は、ステップ204でバッファ
111の後続のバッファへのポインタ部(図4参照)か
らバッファ113のアドレスを読みだして、ステップ2
05で受信メッセ−ジキュ−ポインタ2eに先頭のメッ
セ−ジバッファとして設定する。これによりバッファ1
11はデバイス1からデバイス2の所有するバッファに
移動したことになる。
In step 204, the device 2 reads the address of the buffer 113 from the pointer section to the subsequent buffer of the buffer 111 (see FIG. 4), and executes the process in step 2.
At step 05, the received message queue pointer 2e is set as the first message buffer. This causes buffer 1
11 has been moved from device 1 to the buffer owned by device 2.

【0026】ステップ207は、受信メッセ−ジの種別
指定がバッファ返送メッセ−ジである場合(図4参照)
、すなわちバッファの偏り解消処理プログラムが実行さ
れた場合に実行される。
Step 207 is performed when the type of received message is a buffer return message (see FIG. 4).
That is, it is executed when the buffer imbalance elimination processing program is executed.

【0027】デバイス2からデバイス1がメッセ−ジを
受信する場合は、上記デバイス1とデバイス2の実行を
メッセ−ジキュ−21に対して逆に行うことになる。 (4)バッファの偏り解消処理(図8参照)バッファは
、デバイス1,2のいずれかの記憶手段Bに登録される
ため,前記(2),(3)のメッセ−ジ交換動作を行う
内に一方のデバイスに所有バッファが偏って,もう一方
のデバイスにメッセ−ジ交換用のバッファが無くなるお
それがある。これを解消する為にこの発明では以下の動
作を行う。
When device 1 receives a message from device 2, the operations of device 1 and device 2 described above are performed in reverse for message queue 21. (4) Buffer unbalance elimination process (see Figure 8) Since the buffer is registered in storage means B of either device 1 or 2, the message exchange operations in (2) and (3) above are performed. In this case, there is a risk that the buffers owned by one device will be biased, and the other device will not have any buffers for exchanging messages. In order to solve this problem, the present invention performs the following operations.

【0028】前記(3)でバッファを受け取ったデバイ
ス2は、ステップ301で記憶手段Bから返送バッファ
数カウンタ2bにある数だけバッファアドレスを取り出
し、ステップ302でそのアドレス情報をメッセ−ジと
して、またステップ303でバッファ返送メッセ−ジで
あることを指示するコ−ドをメッセ−ジの種別指定とし
て(図4参照)バッファに格納し、前記(2)のバッフ
ァ送信時の動作に従ってデバイス1に該バッファを送信
する。
The device 2 that received the buffer in step (3) extracts buffer addresses as many as the number in the return buffer counter 2b from the storage means B in step 301, and sends the address information as a message in step 302. In step 303, a code indicating that the message is a buffer return message is stored in the buffer as a message type designation (see FIG. 4), and the code is sent to device 1 according to the buffer sending operation described in (2) above. Send buffer.

【0029】この時、デバイス2では、ステップ304
で返送したバッファ数をバッファ管理手段Aの所有する
バッファ数カウンタ2cから減ずる。更にステップ30
5で記憶手段Bから、返送したバッファの登録を削除す
る(図3において所有するバッファへのポインタに0を
設定する)。
At this time, in device 2, step 304
The number of buffers returned is subtracted from the buffer number counter 2c owned by the buffer management means A. Further step 30
In step 5, the registration of the returned buffer is deleted from storage means B (zero is set in the pointer to the owned buffer in FIG. 3).

【0030】デバイス1は、このメッセ−ジを受け取る
と、受信処理プログラムのステップ206でメッセ−ジ
の種別指定がバッファ返送メッセ−ジであることから(
図4参照)ステップ207を実行し、メッセ−ジに格納
されているバッファアドレスを記憶手段Bに登録し、自
己所有バッファとする(図7参照)。
When device 1 receives this message, in step 206 of the reception processing program, since the message type is designated as a buffer return message (
(See FIG. 4) Step 207 is executed, and the buffer address stored in the message is registered in storage means B, making it a self-owned buffer (see FIG. 7).

【0031】これにより所有バッファの偏りを解消し、
デバイス1,2とも一定以上のバッファをバッファ管理
手段A,記憶手段Bにて確保する管理が可能となる。デ
バイス2からデバイス1がメッセ−ジを受信する場合は
、上記デバイス1とデバイス2の実行を逆に行うことに
なる。
[0031] This eliminates the imbalance in owned buffers,
Both the devices 1 and 2 can manage to secure buffers of a certain amount or more in the buffer management means A and the storage means B. When device 1 receives a message from device 2, the above operations of device 1 and device 2 are performed in reverse.

【0032】[0032]

【発明の効果】以上説明したように、この発明では、各
デバイスがバッファ管理手段A,記憶手段Bを独立に持
つことで、共用メモリエリア上のバッファの獲得・返却
時にシステムバスをアクセスすることなしに、また同一
エリアのバッファ管理情報をアクセスしないのでアクセ
ス時のデバイス間での排他制御なしにバッファプ−ルの
管理を可能とするため、情報交換における処理時間の遅
延を改善することができる。
[Effects of the Invention] As explained above, in this invention, each device independently has a buffer management means A and a storage means B, so that it is possible to access the system bus when acquiring and returning a buffer on a shared memory area. Also, since the buffer management information in the same area is not accessed, it is possible to manage the buffer pool without exclusive control between devices at the time of access, and therefore it is possible to improve processing time delays in information exchange.

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

【図1】実施例における全体システム構成図である。FIG. 1 is an overall system configuration diagram in an embodiment.

【図2】実施例におけるバッファプ−ル及びバッファ管
理情報の全体構成図である。
FIG. 2 is an overall configuration diagram of buffer pools and buffer management information in the embodiment.

【図3】実施例におけるバッファ管理情報構成図である
FIG. 3 is a configuration diagram of buffer management information in the embodiment.

【図4】実施例におけるバッファ内の情報構成図である
FIG. 4 is a diagram showing the structure of information in a buffer in the embodiment.

【図5】実施例における動作の概要フロ−チャ−トであ
る。
FIG. 5 is a schematic flowchart of operations in the embodiment.

【図6】実施例におけるメッセ−ジ送信時の処理フロ−
チャ−トである。
[Figure 6] Processing flow when sending a message in the embodiment
It is a chart.

【図7】実施例におけるメッセ−ジ受信時の処理フロ−
チャ−トである。
[Figure 7] Processing flow when receiving a message in the embodiment
It is a chart.

【図8】実施例におけるバッファの偏り解消処理フロ−
チャ−トである。
[Figure 8] Buffer unbalance elimination processing flow in the embodiment
It is a chart.

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

1,2  デバイス 3,4  内部メモリ 5,6  CPU 10    共用メモリエリア 11    バッファプ−ル 20    システムバス A      バッファ管理手段 B      記憶手段 1, 2 Device 3,4 Internal memory 5,6 CPU 10 Shared memory area 11 Buffer pool 20 System bus A Buffer management means B. Storage means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  計算機システム内でシステムバスに接
続されそれぞれがCPUを有する2つのデバイス間で情
報交換を行う場合に、情報を格納する複数のバッファを
各デバイスの共用メモリエリアにバッファプ−ルとして
用意し、送信側デバイスが情報を前記バッファに格納し
て受信側デバイスへ該バッファを引き渡すことで、相互
のデバイス間での情報の交換を行う情報交換装置におい
て、受信側デバイスが該バッファを次の情報送信の機会
に用いる自己所有のバッファとするために該バッファの
アドレスを記憶する記憶手段と、それぞれのデバイスの
所有するバッファが一定量以上偏った場合にはバッファ
所有数の過多側デバイスから過少側デバイスへ所定数の
バッファの所有権を引き渡すバッファ管理手段とを、そ
れぞれのデバイス側で独立に有することを特徴とする情
報交換装置。
Claim 1: When exchanging information between two devices connected to a system bus and each having a CPU in a computer system, a plurality of buffers for storing information are stored in a shared memory area of each device as a buffer pool. In an information exchange apparatus that exchanges information between devices, the sending device stores information in the buffer and passes the buffer to the receiving device. A storage means for storing the address of the buffer in order to make it a self-owned buffer used for the occasion of information transmission, and a storage means for storing the address of the buffer to be used for the occasion of information transmission, and a storage means for storing the address of the buffer to be used for the occasion of information transmission, and a storage means for storing the address of the buffer owned by each device. An information exchange apparatus characterized in that each device independently has a buffer management means for transferring ownership of a predetermined number of buffers to a device with a smaller number of buffers.
JP9211391A 1991-04-23 1991-04-23 Information exchange device Pending JPH04322355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9211391A JPH04322355A (en) 1991-04-23 1991-04-23 Information exchange device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9211391A JPH04322355A (en) 1991-04-23 1991-04-23 Information exchange device

Publications (1)

Publication Number Publication Date
JPH04322355A true JPH04322355A (en) 1992-11-12

Family

ID=14045380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9211391A Pending JPH04322355A (en) 1991-04-23 1991-04-23 Information exchange device

Country Status (1)

Country Link
JP (1) JPH04322355A (en)

Similar Documents

Publication Publication Date Title
US6622193B1 (en) Method and apparatus for synchronizing interrupts in a message passing queue oriented bus system
JP2977688B2 (en) Multi-processing device, method, and processor used for the same
US4419728A (en) Channel interface circuit providing virtual channel number translation and direct memory access
TW544589B (en) Loosely coupled-multi processor server
US5790807A (en) Computer sysem data I/O by reference among CPUS and I/O devices
US8019902B2 (en) Network adapter with shared database for message context information
US20050038941A1 (en) Method and apparatus for accessing a memory
US5915088A (en) Interprocessor messaging system
US20050081202A1 (en) System and method for task queue management of virtual devices using a plurality of processors
JP4317365B2 (en) Method and apparatus for transferring interrupts from a peripheral device to a host computer system
JPH10504665A (en) Method and apparatus for maintaining transaction order and supporting delayed response in a bus bridge
EP0603994B1 (en) Method and apparatus for transferring and processing data
JPH06103155A (en) Method and device for controlling shared memory
JPH02288927A (en) Shared memory management system
US6766358B1 (en) Exchanging messages between computer systems communicatively coupled in a computer system network
US5432910A (en) Coupling apparatus and method for increasing the connection capability of a communication system
JP2736237B2 (en) Remote memory access controller
JPS616759A (en) Multiprocessor system with common memory
US6041328A (en) Tracking availability of elements within a shared list of elements from an index and count mechanism
WO2006061316A2 (en) Transferring data between system and storage in a shared buffer
JPH04322355A (en) Information exchange device
JPH05224956A (en) Inter-process message communication method
US20040103249A1 (en) Memory access over a shared bus
JP3644158B2 (en) Data transmission / reception method in parallel computer
JP2971119B2 (en) High-speed data transfer method in multiple processor system