JPH04278659A - Inter-multiprocessor communication system - Google Patents

Inter-multiprocessor communication system

Info

Publication number
JPH04278659A
JPH04278659A JP4146791A JP4146791A JPH04278659A JP H04278659 A JPH04278659 A JP H04278659A JP 4146791 A JP4146791 A JP 4146791A JP 4146791 A JP4146791 A JP 4146791A JP H04278659 A JPH04278659 A JP H04278659A
Authority
JP
Japan
Prior art keywords
processor
data
transmission request
memory
data transmission
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
JP4146791A
Other languages
Japanese (ja)
Inventor
Yasuhiro Watanabe
康弘 渡辺
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4146791A priority Critical patent/JPH04278659A/en
Publication of JPH04278659A publication Critical patent/JPH04278659A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To minimize the influence of the data transfer speed to the processing ability of a high rank processor by using a processor bus with high efficiency without deteriorating the data transfer speed of the processor bus. CONSTITUTION:Lower rank processors 2 and 3 register the data transmission requests to the transmission request flags 8 and 9 of a high rank processor 1 when these transmission requests are produced. A transmission permission circuit 11 of the processor 1 checks the free state of a data memory 6 for the processor 2, for example, to which a transmission request is previously registered. Then the circuit 11 gives a transmission permission to a data transmission circuit 14 of the processor 2 when the free state of the memory 6 is confirmed. The circuit 14 transfers the data stored in a primary store memory 13 to a less significant processor data memory 6 of the processor 1. A high rank CPU 10 confirms the data transmission request with an interruption when the transmission request is registered to the flag 8 or 9 or scans periodically both flags 8 and 9 in order to discriminate the presence or absence of data in the data memories 6 and 7 for the processors 2 and 3 and to fetch the data.

Description

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

【0001】0001

【産業上の利用分野】本発明はプロセッサ間の通信方式
に関し、特に階層化されたマルチプロセッサ間の通信方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system between processors, and more particularly to a communication system between hierarchical multiprocessors.

【0002】0002

【従来の技術】従来のマルチプロセッサ通信方式は、次
の2つの方式があった。図2に示す第1の方式は、上位
プロセッサ1と下位プロセッサ2,下位プロセッサ3は
、プロセッサバス4と接続している。プロセッサバス4
は、上位プロセッサのメモリバスまたは、I/Oバスま
たは、時分割化されたデータバスで構成されている。 下位プロセッサ2から上位プロセッサ1へのデータ通信
は、上位プロセッサ1が下位プロセッサ2から特定のデ
ータを要求する場合と、下位プロセッサ2ががデータ通
信を要求する場合が考えられるが、いずれの場合にも上
位プロセッサ1の指示により、下位プロセッサ2から上
位プロセッサ1へデータ通信され、下位プロセッサ3に
はデータ通信の権利を与えない方式であり、上位プロセ
ッサ1のデータ通信の窓口は1つであり、下位プロセッ
サ3のデータ通信要求は下位プロセッサ2に関するデー
タ通信が終了後、上位プロセッサ1の送信指示があるま
で待ち状態となる。
2. Description of the Related Art There are the following two types of conventional multiprocessor communication systems. In the first system shown in FIG. 2, an upper processor 1, a lower processor 2, and a lower processor 3 are connected to a processor bus 4. processor bus 4
is composed of a memory bus, an I/O bus, or a time-divided data bus of a higher-level processor. Data communication from the lower processor 2 to the upper processor 1 can be performed in two cases: the upper processor 1 requests specific data from the lower processor 2, and the lower processor 2 requests data communication. In this method, data is communicated from the lower processor 2 to the upper processor 1 according to instructions from the upper processor 1, and the lower processor 3 is not given the right to communicate data, and the upper processor 1 has only one window for data communication. The data communication request from the lower processor 3 is placed in a waiting state until a transmission instruction from the upper processor 1 is received after the data communication regarding the lower processor 2 is completed.

【0003】図3に示す第2の方式は、上位プロセッサ
1と下位プロセッサ2,下位プロセッサ3は、プロセッ
サバス4で接続されている。プロセッサバス4は時分割
伝送路を構成されており、1フレーム内に下位プロセッ
サ2,下位プロセッサ3等複数の下位プロセッサに対し
、各々データ通信用のチャネルが割りあてられており、
複数の下位プロセッサに同時に発生したデータ送信要求
に対し、時分割多重された伝送路を用いて同時にデータ
伝送することにより、データが上位プロセッサの各下位
プロセッサ毎に割り当てられたメモリ5に蓄積され、上
位プロセッサが順次読み込む構成となっていた。
In the second system shown in FIG. 3, an upper processor 1, a lower processor 2, and a lower processor 3 are connected by a processor bus 4. The processor bus 4 is configured as a time-division transmission path, and channels for data communication are allocated to a plurality of lower processors such as lower processor 2 and lower processor 3 within one frame.
By simultaneously transmitting data using time-division multiplexed transmission paths in response to data transmission requests that occur simultaneously to a plurality of lower-level processors, data is stored in the memory 5 allocated to each lower-level processor of the higher-level processor. The configuration was such that the upper processors read sequentially.

【0004】0004

【発明が解決しようとする課題】この従来の第1の方式
では、複数の下位プロセッサに同時にデータ送信要求が
発生した場合でも、上位プロセッサから指定された下位
プロセッサのみがバスの専有権を与えられる方式であり
、データ通信の速度は下位プロセッサの通信速度に依存
し、上位プロセッサの負担となる場合と、上位プロセッ
サが複数の下位プロセッサからのデータ通信を順次処理
するため、下位プロセッサに待ち時間が発生する場合が
あり、システムの処理能力に影響を与えるという問題が
ある。
[Problems to be Solved by the Invention] In this first conventional method, even if data transmission requests are issued to multiple lower processors at the same time, only the lower processor designated by the higher processor is given exclusive rights to the bus. The data communication speed depends on the communication speed of the lower processor, which may place a burden on the upper processor, or the higher processor processes data communication from multiple lower processors sequentially, resulting in latency for the lower processor. This problem can occur and affect the processing capacity of the system.

【0005】また第2方式では下位プロセッサからのデ
ータは上位プロセッサの処理状態に関係なく、上位プロ
セッサ内の受信メモリが空いていれば上位プロセッサに
送られるが、伝送路が時分割されており一つの下位プロ
セッサに割り当てられるチャネル数,下位プロセッサの
数により単位時間当りのデータ伝送容量が減少し、上位
プロセッサのデータ取り込み速度に影響し、システムの
処理能力に影響を与えるという問題がある。
In the second method, data from the lower processor is sent to the upper processor if the reception memory in the upper processor is free, regardless of the processing state of the upper processor; There is a problem in that the data transmission capacity per unit time decreases depending on the number of channels allocated to each lower-level processor and the number of lower-level processors, which affects the data acquisition speed of the higher-level processor and affects the processing capacity of the system.

【0006】本発明の目的は、プロセッサバスのデータ
転送速度を落とさずに、プロセッサバスを効率よく使用
でき、上位プロセッサの処理能力に対するデータ転送速
度の影響を最小限に抑えられるマルチプロセッサ間通信
方式を提供することにある。
An object of the present invention is to provide a multiprocessor communication system that allows efficient use of a processor bus without reducing the data transfer speed of the processor bus, and that minimizes the influence of the data transfer speed on the processing ability of a host processor. Our goal is to provide the following.

【0007】[0007]

【課題を解決するための手段】本発明のマルチプロセッ
サ間通信方式は、上位プロセッサと複数の下位プロセッ
サがプロセッサバスによって接続され、分散処理を実行
するプロセッサシステムにおいて、前記上位プロセッサ
内に前記各下位プロセッサからのデータを蓄積可能なデ
ータメモリと、前記下位プロセッサのデータ送信要求を
前記上位プロセッサに伝達する手段と、前記下位プロセ
ッサのデータ送信要求と前記上位プロセッサ内のデータ
メモリの空き情報とから前記下位プロセッサへのデータ
送信許可を与える手段と、前記下位プロセッサが前記上
位プロセッサへのデータ送信要求を送出する手段と、前
記上位プロセッサへ送信するデータを一旦記憶する一次
記憶メモリと、前記上位プロセッサからの前記データ送
信許可により一次記憶メモリに蓄積した送信データをプ
ロセッサバスを介して前記上位プロセッサへ送出させる
手段とを有する。
Means for Solving the Problems The multiprocessor communication system of the present invention provides a processor system in which an upper processor and a plurality of lower processors are connected by a processor bus to execute distributed processing, in which each of the lower processors is connected to the upper processor. a data memory capable of storing data from a processor; means for transmitting a data transmission request from the lower processor to the upper processor; means for granting data transmission permission to a lower processor; means for the lower processor to send a data transmission request to the upper processor; a primary storage memory for temporarily storing data to be transmitted to the upper processor; and means for transmitting the transmission data accumulated in the primary storage memory to the host processor via the processor bus based on the data transmission permission.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0009】図1は本発明の一実施例を示す下位プロセ
ッサが2台の場合のブロック図である。上位プロセッサ
1の上位CPU10には、下位プロセッサ2及び下位プ
ロセッサ3からのデータ送信要求の有無を蓄積する下位
プロセッサ2用データ送信フラグ8および下位プロセッ
サ3用データ送信フラグ9が接続され、これらのフラグ
の内容は送信許可回路11にも送られている。更に上位
プロセッサ1内には下位プロセッサ2用データメモリ6
と下位プロセッサ3用データメモリ7が設けられている
。下位プロセッサ2は一次蓄積メモリ13と、データ送
出回路14と、送信要求回路15及び下位CPU12か
ら構成され、下位プロセッサ3も同様の構成となってい
る。上位プロセッサ1の下位プロセッサ2用データメモ
リ6と下位プロセッサ3用データメモリ7は、プロセッ
サバス4により下位プロセッサ2,下位プロセッサ3の
一次蓄積メモリ13と接続している。データ送信要求フ
ラグバス16の一方は下位プロセッサ2,下位プロセッ
サ3の送信要求回路15と下位プロセッサ2用データ送
信要求フラグ8,下位プロセッサ3用送信要求フラグ9
と接続し、データ送信要求フラグバス16の他の一方は
上位プロセッサ1の送信許可回路11と下位プロセッサ
2,下位プロセッサ3のデータ送出回路14と接続して
いる。
FIG. 1 is a block diagram showing an embodiment of the present invention when there are two lower processors. Connected to the upper CPU 10 of the upper processor 1 are a data transmission flag 8 for the lower processor 2 and a data transmission flag 9 for the lower processor 3, which store the presence or absence of a data transmission request from the lower processor 2 and the lower processor 3. The contents are also sent to the transmission permission circuit 11. Furthermore, within the upper processor 1 there is a data memory 6 for the lower processor 2.
and a data memory 7 for the lower processor 3. The lower processor 2 includes a primary storage memory 13, a data sending circuit 14, a transmission request circuit 15, and a lower CPU 12, and the lower processor 3 has a similar configuration. The data memory 6 for the lower processor 2 and the data memory 7 for the lower processor 3 of the upper processor 1 are connected to the primary storage memories 13 of the lower processors 2 and 3 via a processor bus 4. One side of the data transmission request flag bus 16 is the transmission request circuit 15 of the lower processor 2 and the lower processor 3, the data transmission request flag 8 for the lower processor 2, and the transmission request flag 9 for the lower processor 3.
The other side of the data transmission request flag bus 16 is connected to the transmission permission circuit 11 of the upper processor 1 and the data sending circuits 14 of the lower processors 2 and 3.

【0010】下位プロセッサ2及び下位プロセッサ3で
同時に上位プロセッサ1へのデータ送信要求が発生した
場合、送信を所望するデータをそれぞれの一次蓄積メモ
リ13に記憶すると共に、各下位プロセッサの下位CP
U12の送信要求回路15を用いて、上位プロセッサ1
内の下位プロセッサ2用データ送信要求フラグ8及び下
位プロセッサ3用データ送信要求フラグ9をセットする
When a data transmission request to the upper processor 1 occurs simultaneously in the lower processor 2 and the lower processor 3, the data desired to be transmitted is stored in each primary storage memory 13, and the lower CP of each lower processor
Using the transmission request circuit 15 of U12, the upper processor 1
The lower processor 2 data transmission request flag 8 and the lower processor 3 data transmission request flag 9 are set.

【0011】上位プロセッサ1の送信許可回路11は例
えば、下位プロセッサ2からのデータ送信要求が先に入
力された場合、下位プロセッサ2用データメモリ6の空
きを判定し、空いている場合には上位CPU10の指示
なしに下位プロセッサ2のデータ送出回路14に送信許
可を与える。下位プロセッサ2のデータ送信回路14は
、下位プロセッサ2の一次蓄積メモリ13を制御し、蓄
積されていたデータをプロセッサバス4を介して下位プ
ロセッサ2用データメモリ6へ転送する。下位プロセッ
サ2からのデータ転送が終了すると上位プロセッサ1の
送信許可回路11は、上位CPU10が下位プロセッサ
2用データメモリ6のデータを取り込むかどうかに無関
係に、プロセッサバス4が空きとなった時点で下位プロ
セッサ3用データメモリ7の空きと下位プロセッサ3用
データ送信要求フラグ9のセット状態とを調べる。その
結果下位プロセッサ3からデータ送信要求が識別された
場合には、送信許可回路11はデータ送信要求フラグバ
ス16を用いて下位プロセッサ3のデータ送出回路14
に送信許可を与え、下位プロセッサ3の一次蓄積メモリ
13からデータを上位プロセッサ1内の下位プロセッサ
3用データメモリ7へ転送させる。
For example, when a data transmission request from the lower processor 2 is inputted first, the transmission permission circuit 11 of the upper processor 1 determines whether the data memory 6 for the lower processor 2 is free, and if it is empty, the upper processor Transmission permission is given to the data sending circuit 14 of the lower processor 2 without instructions from the CPU 10. The data transmission circuit 14 of the lower processor 2 controls the primary storage memory 13 of the lower processor 2 and transfers the stored data to the data memory 6 for the lower processor 2 via the processor bus 4. When the data transfer from the lower processor 2 is completed, the transmission permission circuit 11 of the upper processor 1 is activated as soon as the processor bus 4 becomes empty, regardless of whether the upper CPU 10 takes in the data from the data memory 6 for the lower processor 2. The free space in the data memory 7 for the lower processor 3 and the set state of the data transmission request flag 9 for the lower processor 3 are checked. As a result, if a data transmission request is identified from the lower processor 3, the transmission permission circuit 11 uses the data transmission request flag bus 16 to send the data transmission request to the data transmission circuit 14 of the lower processor 3.
It gives transmission permission to the lower processor 3 and causes the data to be transferred from the primary storage memory 13 of the lower processor 3 to the data memory 7 for the lower processor 3 in the higher processor 1.

【0012】上位CPU10は、下位プロセッサ2用デ
ータ送信要求フラグ8または下位プロセッサ3用データ
送信要求フラグ9に、送信要求フラグがセットされた時
点で、割込みにより送信要求を確認するか、またはデー
タ送信要求フラグを定期的に走査することにより、デー
タメモリ内にデータがあるかどうか判別し、データを取
り込む。
When the transmission request flag is set in the data transmission request flag 8 for the lower processor 2 or the data transmission request flag 9 for the lower processor 3, the upper CPU 10 confirms the transmission request by an interrupt, or cancels the data transmission. By periodically scanning the request flag, it is determined whether the data is present in the data memory and the data is fetched.

【0013】[0013]

【発明の効果】以上説明したように本発明は、上位プロ
セッサ内に各下位プロセッサ用のデータメモリを用意し
、上位プロセッサ内に下位プロセッサのデータ送出を許
可する送信許可回路を設けたことにより、複数のプロセ
ッサが同時にデータ送信要求を出した場合でも、上位プ
ロセッサの動作の如何にかかわらず、プロセッサバスの
空き及び上位プロセッサ内の下位プロセッサ対応のデー
タメモリが空きであれば、下位プロセッサから順次デー
タを上位プロセッサ内のデータメモリに転送可能である
ため、プロセッサバスのデータ転送速度を落とさずにプ
ロセッサバスを効率よく使用できる効果があり、この結
果上位プロセッサはプロセッサバスの状態を意識する必
要はなく、上位プロセッサ内のデータメモリを読むだけ
で良いため、上位プロセッサの処理能力に対するデータ
転送速度の影響を最小限に押えられる効果がある。
As explained above, the present invention provides a data memory for each lower processor in the upper processor, and provides a transmission permission circuit in the upper processor to permit data transmission from the lower processor. Even if multiple processors issue data transmission requests at the same time, regardless of the operation of the upper processor, if the processor bus is free and the data memory corresponding to the lower processor in the upper processor is free, the data will be sent sequentially from the lower processor. can be transferred to the data memory in the upper processor, which has the effect of efficiently using the processor bus without reducing the data transfer speed of the processor bus.As a result, the upper processor does not need to be aware of the state of the processor bus. Since it is only necessary to read the data memory in the upper processor, the effect of data transfer speed on the processing capacity of the upper processor can be minimized.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】マルチプロセッサ間通信方式の従来例を示すブ
ロック図である。
FIG. 2 is a block diagram showing a conventional example of a multiprocessor communication system.

【図3】マルチプロセッサ間通信方式の従来例を示すブ
ロック図である。
FIG. 3 is a block diagram showing a conventional example of a multiprocessor communication system.

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

1    上位プロセッサ 2    下位プロセッサ2 3    下位プロセッサ3 4    プロセッサバス 5    データメモリ 6    下位プロセッサ2用データメモリ7    
下位プロセッサ3用データメモリ8    下位プロセ
ッサ2用データ送信要求フラグ9    下位プロセッ
サ3用データ送信要求フラグ10    上位CPU 11    送信許可回路 12    下位CPU 13    一次蓄積メモリ 14    データ送出回路 15    送信要求回路
1 Upper processor 2 Lower processor 2 3 Lower processor 3 4 Processor bus 5 Data memory 6 Data memory 7 for lower processor 2
Data memory for lower processor 3 8 Data transmission request flag for lower processor 2 9 Data transmission request flag for lower processor 3 10 Upper CPU 11 Transmission permission circuit 12 Lower CPU 13 Primary storage memory 14 Data transmission circuit 15 Transmission request circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  上位プロセッサと複数の下位プロセッ
サがプロセッサバスによって接続され、分散処理を実行
するプロセッサシステムにおいて、前記上位プロセッサ
内に前記各下位プロセッサからのデータを蓄積可能なデ
ータメモリと、前記下位プロセッサのデータ送信要求を
前記上位プロセッサに伝達する手段と、前記下位プロセ
ッサのデータ送信要求と前記上位プロセッサ内のデータ
メモリの空き情報とから前記下位プロセッサへのデータ
送信許可を与える手段と、前記下位プロセッサが前記上
位プロセッサへのデータ送信要求を送出する手段と、前
記上位プロセッサへ送信するデータを一旦記憶する一次
記憶メモリと、前記上位プロセッサからの前記データ送
信許可により一次記憶メモリに蓄積した送信データをプ
ロセッサバスを介して前記上位プロセッサへ送出させる
手段とを有することを特徴とするマルチプロセッサ間通
信方式。
1. A processor system in which an upper processor and a plurality of lower processors are connected by a processor bus and execute distributed processing, wherein the upper processor includes a data memory capable of storing data from each of the lower processors; means for transmitting a data transmission request from a processor to the upper processor; means for granting data transmission permission to the lower processor based on the data transmission request from the lower processor and data memory free information in the upper processor; means for a processor to send a data transmission request to the higher-level processor; a primary storage memory for temporarily storing data to be transmitted to the higher-level processor; and transmission data accumulated in the primary storage memory based on the data transmission permission from the higher-level processor. a multiprocessor communication system, comprising means for sending the above-mentioned host processor to the higher-level processor via a processor bus.
JP4146791A 1991-03-07 1991-03-07 Inter-multiprocessor communication system Pending JPH04278659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4146791A JPH04278659A (en) 1991-03-07 1991-03-07 Inter-multiprocessor communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4146791A JPH04278659A (en) 1991-03-07 1991-03-07 Inter-multiprocessor communication system

Publications (1)

Publication Number Publication Date
JPH04278659A true JPH04278659A (en) 1992-10-05

Family

ID=12609178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4146791A Pending JPH04278659A (en) 1991-03-07 1991-03-07 Inter-multiprocessor communication system

Country Status (1)

Country Link
JP (1) JPH04278659A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8448749B2 (en) 2009-09-14 2013-05-28 Nippon Thompson Co., Ltd. Lubricating apparatus for follower bearing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8448749B2 (en) 2009-09-14 2013-05-28 Nippon Thompson Co., Ltd. Lubricating apparatus for follower bearing

Similar Documents

Publication Publication Date Title
CA1179069A (en) Data transmission apparatus for a multiprocessor system
US5375215A (en) Multiprocessor system having shared memory divided into a plurality of banks with access queues corresponding to each bank
EP0351955B1 (en) Multiprocessor systems with cross-interrogated store-in-caches
US4481572A (en) Multiconfigural computers utilizing a time-shared bus
US4744023A (en) Processor access control arrangement in a multiprocessor system
EP0383475A2 (en) Shared resource arbitration
US5528761A (en) Message passing apparatus for determining if counted acknowledgements from a set of processors are within a defined range
US5574868A (en) Bus grant prediction technique for a split transaction bus in a multiprocessor computer system
US5781927A (en) Main memory arbitration with priority scheduling capability including multiple priorty signal connections
US5958031A (en) Data transmitting/receiving device of a multiprocessor system and method therefor
EP0384621B1 (en) Data transfer operations between two asynchronous buses
US5655102A (en) System and method for piggybacking of read responses on a shared memory multiprocessor bus
KR100630071B1 (en) High speed data transmission method using direct memory access method in multi-processors condition and apparatus therefor
EP0555680A1 (en) A method and apparatus for determining instruction execution ordering in a data processing system
US20040230717A1 (en) Processing device
JPH04278659A (en) Inter-multiprocessor communication system
JP2002024007A (en) Processor system
EP0762293B1 (en) Control device for controlling a connection between an arithmetic processor and a main memory unit
KR960003650B1 (en) Input/output processor for improving computer system performance
KR0164782B1 (en) Multi-interface printer and method thereof
KR100214302B1 (en) High speed data processing method of dma for dsp
JP3126129B2 (en) Priority control device
JP3098550B2 (en) Bus control method
JPS6398049A (en) Bus control system in buffer nullifying processing
JPH01154272A (en) Multiprocessor device