JPH04238566A - Inter-multi-processor bus communication system - Google Patents

Inter-multi-processor bus communication system

Info

Publication number
JPH04238566A
JPH04238566A JP609691A JP609691A JPH04238566A JP H04238566 A JPH04238566 A JP H04238566A JP 609691 A JP609691 A JP 609691A JP 609691 A JP609691 A JP 609691A JP H04238566 A JPH04238566 A JP H04238566A
Authority
JP
Japan
Prior art keywords
system bus
processor
common memory
receiving
reception
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
JP609691A
Other languages
Japanese (ja)
Inventor
Hiroshi Nagakubo
長久保 博司
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP609691A priority Critical patent/JPH04238566A/en
Publication of JPH04238566A publication Critical patent/JPH04238566A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the efficiency for using a system bus, and to increase the transfer capacity of the system bus by obtaining the right of using of the system bus after knowing the completion of preparation of a receiving side by a common memory. CONSTITUTION:When a processor 10 receives a receiving request, the receiving preparation is completed, and this information is written in a prescribed area of a common memory 20. On the other hand, when a transmitting request is received, receiving preparation completion information of the prescribed area of the common memory 20 is confirmed, and thereafter, data is transmitted to a system bus 30. In such a way, the receiving preparation completion information is stored in the prescribed area of the common memory 20 in order that a transmitting side processor can recognize a receivable state of a receiving side processor. By referring to this completion information, the transmitting side processor 10 can know a state of the receiving side processor without using the system bus 30, and only at the time of being receivable, the right of using of the system bus 30 is obtained, and a data transfer can surely be executed.

Description

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

【0001】0001

【産業上の利用分野】本発明は、複数のプロセッサ間を
システムバスで接続し、さらに各プロセッサから共通に
アクセス可能な共通メモリを有するマルチプロセッサ間
バス通信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor bus communication system that connects a plurality of processors via a system bus and further includes a common memory that can be commonly accessed by each processor.

【0002】0002

【従来の技術】従来、この種のマルチプロセッサ間バス
通信方式は、送信側プロセッサから受信側プロセッサに
システムバスを介してデータを転送する際、データ転送
を実行する前に、受信側プロセッサが受信可能状態にあ
るかどうかを調べる。
[Prior Art] Conventionally, in this type of multiprocessor bus communication system, when data is transferred from a sending processor to a receiving processor via a system bus, the receiving processor Check whether it is possible.

【0003】この手順について、図3に図2を併せ参照
して説明する。図2は通常のマルチプロセッサ方式の一
例を示すブロック図、また図3は従来の一例を示すフロ
ーチャートである。
This procedure will be explained with reference to FIG. 3 and FIG. 2 together. FIG. 2 is a block diagram showing an example of a normal multiprocessor system, and FIG. 3 is a flowchart showing an example of the conventional method.

【0004】まず、図2に示すように、複数のプロセッ
サモジュール10は共通メモリ20に接続して共通デー
タの書き込みおよび読み出しをする一方、一つのシステ
ムバス30でデータの送受信を実行する。
First, as shown in FIG. 2, a plurality of processor modules 10 are connected to a common memory 20 to write and read common data, while transmitting and receiving data using one system bus 30.

【0005】プロセッサモジュール10はローカルメモ
リ11,中央処理装置12,共通メモリインタフェイス
13およびシステムバスプロセッサ14を有し、内部バ
ス15がそれぞれを連結して情報授受する。
The processor module 10 has a local memory 11, a central processing unit 12, a common memory interface 13, and a system bus processor 14, and an internal bus 15 connects each of them to exchange information.

【0006】ローカルメモリ11および中央処理装置1
2は通常の意味の装置であり、共通メモリインタフェイ
ス13は共通メモリ20を呼び出して情報の書き込み/
読み出しをする。
Local memory 11 and central processing unit 1
2 is a device in the usual sense, and a common memory interface 13 calls the common memory 20 to write/write information.
Read out.

【0007】システムバスプロセッサ14は内部バッフ
ァをもち、システムバス30に接続する。
System bus processor 14 has an internal buffer and is connected to system bus 30.

【0008】図3に示すように、中央処理装置12から
送信要求を受け付け(201)したシステムバスプロセ
ッサ14は、ローカルメモリ11から内部バッファ16
にデータを読み込み(202)システムバス30の使用
権を獲得(203)する。次いで、システムバスプロセ
ッサ14はシステムバス30に送信コマンドを送信(2
04)し、受信側からの信号を待つ。
As shown in FIG. 3, the system bus processor 14 receives a transmission request from the central processing unit 12 (201) and transfers data from the local memory 11 to the internal buffer 16.
(202) and acquires the right to use the system bus 30 (203). Next, the system bus processor 14 sends a send command to the system bus 30 (2
04) and waits for a signal from the receiving side.

【0009】手順204により、システムバス30を介
して受信側から承認信号を受信(205)したとき、シ
ステムバスプロセッサ14はシステムバス30を介して
データ転送(206)する。データ転送手順206の終
了でシステムバスの使用権は解放(207)される。
According to step 204, when receiving an acknowledgment signal from the receiving side via the system bus 30 (205), the system bus processor 14 transfers data via the system bus 30 (206). At the end of the data transfer procedure 206, the right to use the system bus is released (207).

【0010】手順205で不承認信号を受信したとき、
システムバスプロセッサ14はシステムバスの使用権を
解放し、任意の時限を経てから再びシステムバスの使用
権獲得の手順203へ戻る。
[0010] When a disapproval signal is received in step 205,
The system bus processor 14 releases the right to use the system bus, and returns to procedure 203 for acquiring the right to use the system bus again after an arbitrary time limit has elapsed.

【0011】一方、中央処理装置12から受信要求を受
け付け(211)したシステムバスプロセッサ14は、
受信の準備(212)をして、送信コマンドの到着を待
つ。
On the other hand, the system bus processor 14, which has received the reception request from the central processing unit 12 (211),
It prepares for reception (212) and waits for the arrival of a transmission command.

【0012】送信コマンドをシステムバス30を介して
受信(213)したとき、受信準備が完了(214)の
場合に、システムバスプロセッサ14は承認信号をシス
テムバス30を介して送信(215)する。
[0012] When receiving the transmission command via the system bus 30 (213), if the reception preparation is completed (214), the system bus processor 14 transmits an acknowledge signal via the system bus 30 (215).

【0013】承認信号の送信により、システムバス30
を介してデータを受信するので、システムバスプロセッ
サ14はまず内部バッファ16に受信データを一時記憶
したのちローカルメモリ11に転送し格納(216)す
る。
[0013] By sending the acknowledge signal, system bus 30
Since the system bus processor 14 receives data via the internal buffer 16, the system bus processor 14 first temporarily stores the received data in the internal buffer 16, and then transfers and stores it in the local memory 11 (216).

【0014】手順214で受信準備が完了できない場合
、送信側へ不承認信号が送信(221)される。
[0014] If reception preparations cannot be completed in step 214, a disapproval signal is transmitted to the transmitting side (221).

【0015】[0015]

【発明が解決しようとする課題】上述した従来のマルチ
プロセッサ間バス通信方式は、送信側のプロセッサがシ
ステムバスを介してデータを転送する際に、いったんシ
ステムバスの使用権を獲得してからシステムバスを介し
て送信コマンドを送り、受信側より返送される信号が不
承認信号の場合は受信準備未完了と判断し、システムバ
スの使用権をいったん解放し、任意のタイミングを取っ
てから再びシステムバスの使用権を獲得し、送信コマド
を送る処理を繰り返すので、システムバスの使用率が受
信側のシステムバスプロセッサの状態に依存して高くな
るという欠点がある。
[Problems to be Solved by the Invention] In the conventional multiprocessor bus communication method described above, when the transmitting processor transfers data via the system bus, it first acquires the right to use the system bus, and then transfers data to the system bus. A transmission command is sent via the bus, and if the signal returned from the receiving side is a disapproval signal, it is determined that the reception preparation is not complete, the right to use the system bus is released, and the system bus is returned to the system bus at an arbitrary timing. Since the process of acquiring the usage right and sending the transmission command is repeated, there is a drawback that the usage rate of the system bus becomes high depending on the state of the system bus processor on the receiving side.

【0016】本発明の目的は、受信準備完了を確認した
のちシステムバスの使用権を獲得する手順とすることに
より、上記欠点を解消するマルチプロセッサ間バス通信
方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a multiprocessor bus communication system that eliminates the above-mentioned drawbacks by establishing a procedure for acquiring the right to use the system bus after confirming that reception preparation is complete.

【0017】[0017]

【課題を解決するための手段】本発明によるマルチプロ
セッサ間バス通信方式は、複数のプロセッサが一つのシ
ステムバスを介してデータを相互に送受信するマルチプ
ロセッサ間バス通信方式において、複数の前記プロセッ
サが呼び出して情報の出し入れをする一つの共通メモリ
を有し、前記プロセッサが受信要求を受け付けたとき受
信準備を完了して受信準備完了情報を前記共通メモリの
所定領域に書き込む一方、送信要求があるとき前記共通
メモリの所定領域の受信準備完了情報を確認したのち前
記システムバスにデータを送信する。
[Means for Solving the Problems] A multiprocessor bus communication system according to the present invention is an interprocessor bus communication system in which a plurality of processors mutually transmit and receive data via one system bus. The processor has one common memory that is called to input and output information, and when the processor receives a reception request, it completes reception preparation and writes reception preparation completion information to a predetermined area of the common memory, and when there is a transmission request, After confirming reception preparation completion information in a predetermined area of the common memory, data is transmitted to the system bus.

【0018】[0018]

【実施例】次に本発明について図1および図2を併せ参
照して説明する。図1は本発明の一実施例を示すフロー
チャート、また図2は通常のマルチプロセッサ方式の一
例を示すブロック図である。
Embodiments Next, the present invention will be explained with reference to FIGS. 1 and 2. FIG. 1 is a flowchart showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a normal multiprocessor system.

【0019】図2については、従来の技術の項で既に説
明したのでここでの説明は省略する。
Since FIG. 2 has already been explained in the section of the prior art, its explanation will be omitted here.

【0020】図1に示すように、まず送信処理について
は、システムバスプロセッサ14が中央処理装置12か
らの送信要求を受けつける(101)と、ローカルメモ
リ11から内部バッファ16にデータを読み込み(10
2)、受信側の状態を見るために共通メモリ20上の受
信準備完了情報を検索し(103)、受信準備完了にな
るのを待ち合わせる(104)。システムバスプロセッ
サ14は、受信準備完了になると共通メモリ20上の該
当する情報を初期状態にクリア処理し(105)、シス
テムバス30の使用権を獲得し(106)たのち、シス
テムバス30経由で受信側のシステムバスプロセッサに
データ転送(107)を開始する。そして、転送終了時
にシステムバスプロセッサ14はシステムバス30の使
用権を解放して(108)送信処理は終了する。
As shown in FIG. 1, first, regarding transmission processing, the system bus processor 14 receives a transmission request from the central processing unit 12 (101), and then reads data from the local memory 11 into the internal buffer 16 (101).
2) Search for reception preparation completion information on the common memory 20 in order to check the status of the reception side (103), and wait for reception preparation completion (104). When the system bus processor 14 is ready for reception, it clears the corresponding information on the common memory 20 to its initial state (105), acquires the right to use the system bus 30 (106), and then transfers the information via the system bus 30. Data transfer (107) is started to the system bus processor on the receiving side. Then, at the end of the transfer, the system bus processor 14 releases the right to use the system bus 30 (108), and the transmission process ends.

【0021】次に受信処理については、送信処理と同様
に、まずシステムバスプロセッサ14が中央処理装置1
2からの受信要求を受けつける(111)。次に、シス
テムバスプロセッサ14は、受信要求に対するデータを
送信側のシステムバスプロセッサからシステムバス30
経由で受信できるか内部バッファ16などを調べて受信
準備し(112)、受信準備完了になるのを待ち合わせ
る(113)。
Next, regarding reception processing, as in the transmission processing, first the system bus processor 14 is connected to the central processing unit 1.
The reception request from 2 is accepted (111). Next, the system bus processor 14 transfers the data in response to the reception request from the transmitting system bus processor to the system bus 30.
It checks the internal buffer 16 to see if it can be received via the network, prepares for reception (112), and waits for reception preparation to be completed (113).

【0022】そして、システムバスプロセッサ16は受
信準備完了になったとき、共通メモリ20上に受信準備
完了情報を書き込み(114)、システムバス30経由
で送信側システムバスプロセッサから送られてくるデー
タを待ち、データを受信したとき内部バッファ16に一
時記憶したのち、受信側のローカルメモリ11に転送格
納し(115)て、受信処理を終了する。
When the system bus processor 16 becomes ready for reception, it writes reception preparation completion information on the common memory 20 (114) and receives the data sent from the transmitting system bus processor via the system bus 30. After waiting, when the data is received, it is temporarily stored in the internal buffer 16, and then transferred and stored in the local memory 11 on the receiving side (115), and the receiving process is ended.

【0023】本実施例ではマルチプロセッサを構成する
プロセッサとしてプロセッサモジュールという名称を使
用し、また機能ブロックを図示して説明したが、機能の
ブロック構成は分散併合の形式が多く、上記説明が本発
明を限定するものではない。
In this embodiment, the name processor module is used as a processor constituting a multiprocessor, and the functional blocks are illustrated and explained. However, the functional block configuration is often in the form of distributed merging, and the above explanation does not apply to the present invention. It is not limited to.

【0024】[0024]

【発明の効果】以上説明したように本発明は、送信側プ
ロセッサが受信側プロセッサの受信可能状態を認識する
ために、共通メモリの所定領域に受信準備完了情報を記
憶し、この完了情報を索引することにより、システムバ
スを使用せずに送信側プロセッサが受信側プロセッサの
状態を知ることができ、受信側プロセッサが受信可能で
ある時のみシステムバスの使用権を獲得して確実にデー
タ転送を行うことができるので、従来にくらべて、シス
テムバスの使用率を下げることで、システムバス自体の
転送容量を増大できる効果がある。
As described above, the present invention stores reception preparation completion information in a predetermined area of a common memory and indexes this completion information in order for the sending processor to recognize the reception ready state of the receiving processor. This allows the sending processor to know the status of the receiving processor without using the system bus, and acquires the right to use the system bus only when the receiving processor is ready to receive data, ensuring data transfer. This has the effect of increasing the transfer capacity of the system bus itself by lowering the usage rate of the system bus compared to the conventional method.

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

【図1】本発明のマルチプロセッサ間バス通信方式の一
実施例を示すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of a multiprocessor bus communication method according to the present invention.

【図2】通常のマルチプロセッサ方式の一例を示す機能
ブロック図である。
FIG. 2 is a functional block diagram showing an example of a normal multiprocessor system.

【図3】従来の一例を示すフローチャートである。FIG. 3 is a flowchart showing a conventional example.

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

10    プロセッサモジュール(プロセッサ)11
    ローカルメモリ 12    中央処理装置 14    システムバスプロセッサ 20    共通メモリ 30    システムバス
10 Processor module (processor) 11
Local memory 12 Central processing unit 14 System bus processor 20 Common memory 30 System bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数のプロセッサが一つのシステムバ
スを介してデータを相互に送受信するマルチプロセッサ
間バス通信方式において、複数の前記プロセッサが呼び
出して情報の出し入れをする一つの共通メモリを有し、
前記プロセッサが受信要求を受け付けたとき受信準備を
完了して受信準備完了情報を前記共通メモリの所定領域
に書き込む一方、送信要求があるとき前記共通メモリの
所定領域の受信準備完了情報を確認したのち前記システ
ムバスにデータを送信することを特徴とするマルチプロ
セッサ間バス通信方式。
1. A multiprocessor bus communication system in which a plurality of processors mutually transmit and receive data via one system bus, comprising one common memory that the plurality of processors call to read and write information,
When the processor receives a reception request, it completes reception preparation and writes reception preparation completion information in a predetermined area of the common memory, and when there is a transmission request, it confirms reception preparation completion information in a predetermined area of the common memory. A multiprocessor bus communication method, characterized in that data is transmitted to the system bus.
JP609691A 1991-01-23 1991-01-23 Inter-multi-processor bus communication system Pending JPH04238566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP609691A JPH04238566A (en) 1991-01-23 1991-01-23 Inter-multi-processor bus communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP609691A JPH04238566A (en) 1991-01-23 1991-01-23 Inter-multi-processor bus communication system

Publications (1)

Publication Number Publication Date
JPH04238566A true JPH04238566A (en) 1992-08-26

Family

ID=11628981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP609691A Pending JPH04238566A (en) 1991-01-23 1991-01-23 Inter-multi-processor bus communication system

Country Status (1)

Country Link
JP (1) JPH04238566A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471870A (en) * 2019-08-14 2019-11-19 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the storage medium of multisystem operation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471870A (en) * 2019-08-14 2019-11-19 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the storage medium of multisystem operation

Similar Documents

Publication Publication Date Title
JPH0337221B2 (en)
JPH04238566A (en) Inter-multi-processor bus communication system
JPS5833970B2 (en) Inter-processor communication method
JPH054040Y2 (en)
KR950009763B1 (en) A method of data transmission and synchronization between two cpu's
JP2825914B2 (en) Communication system between processors
JPS6126706B2 (en)
JP3213030B2 (en) Communication control method
EP0055763B1 (en) Input/output processor and method of communication for data processing system
JPH02270432A (en) D-channel protocol multiplex processing system for isdn
JPS59119439A (en) Buffer busy avoiding system
JPH04353959A (en) Data reception system for distributed type file transfer program
JPS59132257A (en) System for transferring common bus information
JPS60109351A (en) Data exchange device
JPH07109599B2 (en) Information transfer device for processing system
JPH1115803A (en) Method for transmitting/receiving data in parallel computer
JPH04156030A (en) Acceleration system for data transfer by linkage of data
JPH0253816B2 (en)
JPH0478249A (en) Communication control method
JPH04220847A (en) Inter-computer communication system
JPH0243655A (en) Data transfer device
JPS62262541A (en) Common memory access exclusive control system
JPS6029987B2 (en) Data transfer control method
JPH02182062A (en) Communication control system and communication adaptor
JPH0734190B2 (en) Communication control device in data transmission system