JPS59114662A - Message transmitting device - Google Patents

Message transmitting device

Info

Publication number
JPS59114662A
JPS59114662A JP22517682A JP22517682A JPS59114662A JP S59114662 A JPS59114662 A JP S59114662A JP 22517682 A JP22517682 A JP 22517682A JP 22517682 A JP22517682 A JP 22517682A JP S59114662 A JPS59114662 A JP S59114662A
Authority
JP
Japan
Prior art keywords
message
processor
reception
processors
adaptor
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
JP22517682A
Other languages
Japanese (ja)
Inventor
Tetsuo Omiya
大宮 哲夫
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
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP22517682A priority Critical patent/JPS59114662A/en
Publication of JPS59114662A publication Critical patent/JPS59114662A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To attain the broadcast communication with high efficiency and reliability for a composite processor system by confirming whether the reception signals corresponding to the number of processors of the reception side are counted. CONSTITUTION:When a processor 42 is incapable of receiving messages, a ready flag 304 of an adaptor 32 of the processor 42 is reset. The message transmitted from a processor 41 is not set to a reception register 302 of the adaptor 32, and no reception signal is produced from a reception signal generator 305. The processor 41 senses for a fixed period a reception counter circuit 306 of an adaptor 31 and detects the failure of transmission of messages. Therefore the processor 41 clears the circuit 306 of the adaptor 31 to transmit the message again. In this message transmission state, the message is sent again also to a processor 43 which received the message in a normal way.

Description

【発明の詳細な説明】 本発明は複合プロセッサシステムにおけるメツセージ送
信装置に関するものである。。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a message transmitting device in a multiprocessor system. .

近年、安価々プロセッサを複数台結合し、信頼性、高速
性に勝れた計算機システムを実現するいわゆる複合プロ
セッサシステムの開発が各所で行なわれ大きな成果を上
げている。
In recent years, so-called composite processor systems have been developed in various places, which combine multiple processors at low cost to realize a computer system with excellent reliability and high speed, and have achieved great results.

この様な複合プロセッサにおいては1台のプロセッサか
ら他のすべてのプロセッサに対し同時に同一のデータを
送信するいわゆるブロードキャスト通信機能が必要と々
る。つまり複数のプロセッサが互に協調し7て1つのジ
ョブあるいはタスクを実行する際、各プロセッサ間の同
期をとる事が必要不可決の条件となる。
Such a complex processor requires a so-called broadcast communication function that allows one processor to simultaneously transmit the same data to all other processors. In other words, when a plurality of processors cooperate with each other to execute one job or task, synchronization among the processors is an essential condition.

従来この種の方式としては1台のプロセッサから他のす
べてのプロセッサに対し1回あるいは数回データを送信
したシ、又一方1台のプロセッサから他のプロセッサの
各々に対し1台毎にデータ送信のためのリンクをつくシ
メッセージ送信の確認をとシながらメツセージを送信す
る方法がある。
Conventionally, this type of method involves transmitting data from one processor to all other processors once or several times, or transmitting data from one processor to each of the other processors one by one. There is a way to send a message while creating a link and confirming that the message has been sent.

前者の例は送信先のプロセッサの受信状態を確認し々い
のでメツセージの受信もれあるいはメツセージの壊失等
危険性が高い。又後者の例では1送効率がきわめて悪い
欠点を有す。
In the former example, since the receiving state of the destination processor must be checked frequently, there is a high risk that the message may not be received or the message may be destroyed. Furthermore, the latter example has the disadvantage that the single feed efficiency is extremely poor.

本発明の目的は上記種々の欠点に鑑みなされだもので効
率の良いしかも信頼性の高いブロードキャスト通信手段
を実現するメツセージ送信装置を提供するものである。
SUMMARY OF THE INVENTION In view of the various drawbacks mentioned above, it is an object of the present invention to provide a message transmitting device that realizes an efficient and highly reliable broadcast communication means.

以下図面によシ本発明装置の詳細を説明する。The details of the apparatus of the present invention will be explained below with reference to the drawings.

第1図は本発明装置の一実施例を示すメツセージ送信装
置の構成図である。プロセッサ41〜4Nは各々のアダ
プタ31〜3Nを介し、メツセージを送受信するための
データバス10とコントロール信号を転送するだめのコ
ントロールバス20を介し、各々並列に接続される。
FIG. 1 is a block diagram of a message transmitting device showing an embodiment of the device of the present invention. The processors 41-4N are connected in parallel via respective adapters 31-3N, a data bus 10 for transmitting and receiving messages, and a control bus 20 for transferring control signals.

第2図は前記メツセージ送信装置を構成するアダプタの
構成図である。アダプタ30は送信レジスタ301 、
受信レジスタ302、レディフラグ304、受信信号発
生器305、受信計数回路306、デコーダ303によ
って構成される。送信レジスタ3ox紘送信メツセージ
を一時スドアするためのレジスタであり、又受信レジス
タ302は送信されてきたデータをストアするためのも
のである。レディフラグ304はプロセッサのデータ受
信可能状態を示すフラグであり、プロセッサが受信可能
状態の時、プロセッサからのレディフラグセット命令に
よシセットされ、又受信不能状態の時、プロセッサから
のレディフラグリセット命令によシリセットされるもの
である。
FIG. 2 is a diagram showing the configuration of an adapter constituting the message transmitting device. The adapter 30 has a transmission register 301,
It is composed of a reception register 302, a ready flag 304, a reception signal generator 305, a reception counter circuit 306, and a decoder 303. The transmission register 302 is a register for temporarily storing transmitted messages, and the reception register 302 is for storing transmitted data. The ready flag 304 is a flag indicating the data receivable state of the processor, and when the processor is in the receivable state, it is set by a ready flag set command from the processor, and when the processor is in the receivable state, it is set by a ready flag reset command from the processor. It is reset by

受信信号発生器305は、プロセッサが受信状態の時、
つまレディフラグ304がリセットされている時メツセ
ージが送信されてきた際、コントロールバス20に受信
信号を出力するものである。受信計数回路306はプロ
セッサがメツセージを送信した後、受信先のプロセッサ
が該メツセージを受(iした際にコントロールバス20
を介して送られて来る受信信号を処理するものである。
When the processor is in the reception state, the reception signal generator 305
When a message is sent while the ready flag 304 is reset, a reception signal is output to the control bus 20. After a processor transmits a message, the reception counting circuit 306 controls the control bus 20 when the receiving processor receives the message (i).
It processes the received signals sent through the .

つまシこの受信計数回路306は、メツセージ送信後一
定期間計数処理が可能とカシ、メツセージを送信したプ
ロセッサは送信先のプロセッサに対応する受信信号数を
チェックする。さらにデコーダ803はプロセッサから
の各秤命令をデコードしアダプタ内の各装置を制御する
各種制御信号を発生するものである1、 次に本発明装置の動作を説明するためにプロセッサ41
からプロセッサ42及びプロセッサ43に同一のメツセ
ージを送(iする例を示す。
The reception counting circuit 306 is capable of counting for a certain period of time after a message is sent, and the processor that sent the message checks the number of received signals corresponding to the destination processor. Furthermore, the decoder 803 decodes each scale command from the processor and generates various control signals for controlling each device in the adapter 1. Next, to explain the operation of the device of the present invention, the processor 41
An example is shown in which the same message is sent (i) to the processor 42 and the processor 43.

プロセッサ41はアダプタ31の送信レジスタ301に
送信メツセージをセットし、さらにメツセージ送信命令
を出力する。メツセージ送信命令はアダプタ31のデコ
ーダ303によシブコードされ、その制御信号が送信レ
ジスタ301の自答をデータバス10にa:′1力する
。プロセッサ43がデータ受信可能な状態であればアダ
プタ32及びアタツク33のレディフラグ304がセッ
トされておシ、プロセッサ41から送信されたメツセー
ジはプロセッサ42及びプロセッサ43の各々のアダプ
タの受信レジスタ302にセットされる。従ってプロセ
ッサ42及びプロセッサ43はメツセージ入力命令によ
り各々の受信レジスタ30zからメツセージを取シ込む
。一方メッセージを送信したプロセッサ41はアダプタ
31の受信計数回路306を一定期間センスして受信先
のプロセッサ数に対応する受信信号が計数されたかを確
認しメツセージ送信を終了する。−)まシプロセッサ4
1からプロセッサ42及び43に正しくメツセージが送
信された場合、プロセッサ41のアダプタ33内の受信
計数回路306は2を示す。
The processor 41 sets a transmission message in the transmission register 301 of the adapter 31, and further outputs a message transmission command. The message transmission command is subcoded by the decoder 303 of the adapter 31, and its control signal outputs the response of the transmission register 301 to the data bus 10 a:'1. If the processor 43 is ready to receive data, the ready flags 304 of the adapters 32 and 33 are set, and the message sent from the processor 41 is set in the reception register 302 of each adapter of the processors 42 and 43. be done. Accordingly, processor 42 and processor 43 receive messages from their respective receiving registers 30z in response to message input commands. On the other hand, the processor 41 that sent the message senses the reception counting circuit 306 of the adapter 31 for a certain period of time, checks whether the reception signal corresponding to the number of processors at the reception destination has been counted, and ends the message transmission. -) Mashi Processor 4
If the message is correctly transmitted from 1 to the processors 42 and 43, the reception counting circuit 306 in the adapter 33 of the processor 41 will indicate 2.

次に前述した例においてプロセッサ42が受信できない
場合を説明する。この場合プロセッサ42のアダプタ3
2のレディフラグ304はリセットされておシ、処理装
置41みらメツセージが送信されると処理装置42のア
ダプタ32の受信レジスタ302にはメツセージがキッ
トされず受信信号発生器305からは受信信号は発生し
ない。プロセッサ41はアダプタ31の受信計数回路3
06を一定期間センスしてメツセージ送信の不成功を検
出する。
Next, a case will be described in which the processor 42 cannot receive signals in the example described above. In this case adapter 3 of processor 42
The ready flag 304 of No. 2 is reset, and when the message is sent from the processing device 41, the message is not stored in the receiving register 302 of the adapter 32 of the processing device 42, and the receiving signal is not sent from the receiving signal generator 305. Does not occur. The processor 41 is the reception counting circuit 3 of the adapter 31.
06 for a certain period of time to detect failure in message transmission.

従ってプロセッサ41はアダプタ31の受信計数回路3
06をクリアして再びメツセージを送信する。この様に
プロセッサ42が受信可能状態になシ、確実にメツセー
ジを受信するまで何回でも上述のシーフェンスが繰シ返
されプロセッサ41からメツセージが送信される。なお
、とのメツセージ送信状態では正常にメツセージを、受
信したプロセッサ43にも再度メツセージが送信される
Therefore, the processor 41 is connected to the reception counting circuit 3 of the adapter 31.
Clear 06 and send the message again. In this manner, the processor 42 is in a receivable state, and the above-described sea fencing is repeated as many times as necessary until the message is reliably received, and the message is transmitted from the processor 41. Note that in the message sending state, the message is normally sent again to the processor 43 that received the message.

この場合、プロセッサ43はプロセッサ41からのメツ
セージを受信し、メツセージによって指示される処理が
実行される。
In this case, the processor 43 receives the message from the processor 41 and executes the process instructed by the message.

従ってプロセッサ43に再度メツセージが転送されると
プロセッサ43は同じ処理を繰り返す事になる。つまシ
この考えはプロセッサ間の同期をとる事を意味する。
Therefore, when the message is transferred to the processor 43 again, the processor 43 repeats the same process. This idea means synchronizing the processors.

以上の説明では3台のプロセッサ間で1対2のブロード
キャスト通信の例を示したが、N台のプロセッサ間で1
対(N−1)のブロードキャスト通信の例も同様である
In the above explanation, an example of one-to-two broadcast communication was shown between three processors, but one-to-two broadcast communication between N processors is
The same applies to the example of broadcast communication for pair (N-1).

なお前述の説明ではメツセージの送信に限ったがメツセ
ージのかわシにコントロール信号等コマンド情報を用い
ても何らさしつかえガい。
Note that although the above explanation was limited to message transmission, there is no problem in using command information such as a control signal to replace the message.

又2つ以上のプロセッサから上述の様なブロードキャス
ト通信が行なわれる場合にはメツセージ送信は完了しな
い。この場合、一定期間メツセージを送信した後、送信
プロセッサ自身が受信プロセッサになる様にすればよい
Furthermore, when two or more processors perform broadcast communication as described above, message transmission is not completed. In this case, the transmitting processor itself may become the receiving processor after transmitting the message for a certain period of time.

なお本発明ではデータバス10のデッドロック処理機構
については述べなかったが実際の装置では付加されるこ
とは当然の事である。
Although the present invention does not describe a deadlock processing mechanism for the data bus 10, it is a matter of course that it is added in an actual device.

以上説明した様に、複合プロセッサシステムにおけるデ
ータ通信において効率の良いしかも信頼性の高いブロー
ドキャスト通信が実現できるメツセージ送信装置を提供
するもので実用に供してきわめて有効である。
As described above, the present invention provides a message transmitting device that can realize efficient and highly reliable broadcast communication in data communication in a multiprocessor system, and is extremely effective in practical use.

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

第1図は本発明装置にかかるメツセージ送信装置の一実
施例を示す構成図、第2図は本発明装置にかかるメツセ
ージ送信装置を構成するアダプタの構成図である。 図において、10・・・・・・データバス、20・・・
・・・コントロールバス、31〜3N・・−・・・7 
p−7’夕、41〜4N・−・・・・プロセッサ、30
1・−・・・・送信データレジスタ、302・・・・・
・受信レジスタ、303・・・・・・デコーダ、304
・・・・・・レディフラグ、305・・・・・・未承認
信号発生器、306・・・・・・受信計数回路である。 第1図 第2図
FIG. 1 is a block diagram showing an embodiment of a message transmitting apparatus according to the present invention, and FIG. 2 is a block diagram showing an adapter constituting the message transmitting apparatus according to the present invention. In the figure, 10... data bus, 20...
...Control bus, 31~3N...7
p-7' evening, 41-4N---processor, 30
1... Transmission data register, 302...
・Reception register, 303... Decoder, 304
... Ready flag, 305 ... Unauthorized signal generator, 306 ... Reception counting circuit. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 情報を転送する第1のバスと制御信号を転送する第2の
バスに各々並列に複数のプロセッサを接続し、前記複数
のプロセッサには前記第1のバスを介して前記プロセッ
サ間で互いにメツセージを授受する機能と前記第1のバ
スを介して送信されたメツセージを受信したプロセッサ
は前記第2のバスを介して前記メツセージを発信したプ
ロセッサに対し受信信号を送信する機能とを有し、前記
プロセッサの1台から前記他のすべてのプロセッサに同
一のメツセージを送信した際、前記他のすべてのプロセ
ッサからの受信信号を計数し、該プロセッサ数の受信信
号に満たない場合、前記同一のメツセージを再度送信し
前記メツセージ受信プロセッサ数の受信信号を受信する
まで前記メツセージを送信し続けることを%徴とするメ
ツセージ送信装置。
A plurality of processors are connected in parallel to a first bus for transferring information and a second bus for transferring control signals, and the plurality of processors are configured to send messages to each other via the first bus. The processor that has received the message transmitted via the first bus has the function of sending and receiving the message and the function of transmitting a reception signal to the processor that has transmitted the message via the second bus, and the processor When the same message is sent from one of the processors to all the other processors, the received signals from all the other processors are counted, and if the received signals are less than the number of processors, the same message is sent again. A message transmitting device whose characteristic is to continue transmitting the message until it receives the same number of reception signals as the number of message reception processors.
JP22517682A 1982-12-22 1982-12-22 Message transmitting device Pending JPS59114662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22517682A JPS59114662A (en) 1982-12-22 1982-12-22 Message transmitting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22517682A JPS59114662A (en) 1982-12-22 1982-12-22 Message transmitting device

Publications (1)

Publication Number Publication Date
JPS59114662A true JPS59114662A (en) 1984-07-02

Family

ID=16825141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22517682A Pending JPS59114662A (en) 1982-12-22 1982-12-22 Message transmitting device

Country Status (1)

Country Link
JP (1) JPS59114662A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08241288A (en) * 1994-09-06 1996-09-17 Sgs Thomson Microelectron Sa Multitask processing system and image-processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08241288A (en) * 1994-09-06 1996-09-17 Sgs Thomson Microelectron Sa Multitask processing system and image-processing system

Similar Documents

Publication Publication Date Title
JPS59127133A (en) Data transmitting system
US6170003B1 (en) Apparatus and method for communicating messages between data processing nodes using remote reading of message queues
JPH0654911B2 (en) Method and apparatus for transferring mastership
JPS5713530A (en) Data transfer fault processing system
JPS59114662A (en) Message transmitting device
JPS59114663A (en) Data transmitting device
JPS6124739B2 (en)
JPS5840859B2 (en) data communication system
JPS58182778A (en) Decentralized processing system
JPS62219056A (en) Data transmitter
JPH0344465B2 (en)
JPS62219057A (en) Data transmitter
JPS6145271B2 (en)
JPS6058746A (en) Ring automatic confirming system
JP3127939B2 (en) Event information transmission device
JPS6257337A (en) Data transmission equipment
JPS63193254A (en) Common input/output bus
JPH04148262A (en) Multi-address transfer device
JPS62293453A (en) Multiple bus system data processor
Agrawal et al. Multicomputer communication system
JPS60112339A (en) Informing system for fault of circular data bus
JPS60134367A (en) Communication system between plural processors
JPH04362835A (en) Data transfer method
JPS63182761A (en) Bus diagnozing system
JPS63280362A (en) Data processing system