JPS62219056A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JPS62219056A
JPS62219056A JP61060605A JP6060586A JPS62219056A JP S62219056 A JPS62219056 A JP S62219056A JP 61060605 A JP61060605 A JP 61060605A JP 6060586 A JP6060586 A JP 6060586A JP S62219056 A JPS62219056 A JP S62219056A
Authority
JP
Japan
Prior art keywords
data
processor
bus
adapter
approval
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
JP61060605A
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
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 JP61060605A priority Critical patent/JPS62219056A/en
Publication of JPS62219056A publication Critical patent/JPS62219056A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a highly efficient device with high reliability by providing a transmitting and receiving part exchanging data between other processors through the 1st bus, an approval signal generation part transmitting an approval signal through the 2nd bus and an approval signal counting part and keeping transmitting data until the number of approval signals the same as processors is received. CONSTITUTION:Data transmitted from the 1st processor 41 is set to the reception registers (corresponding to a symbol 312) of adapters 32 and 33 in the 2nd and 3rd processors 42 and 43, and an adapter control part (corresponding to a symbol 313) checks the normalcy of the data. After the normalcy of the data is checked, the adapter control part generates a data reception interruption signal to the processors 42 and 43, and an approval signal generator (corresponding to a symbol 315) in each adapter transmits the approval signal to the 1st adapter 31 in the 1st processor 41 through a control bus 20. The approval signal counter 316 of the 1st adapter 31 in the 1st processor 41 counts the approval signal.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複合プロセッサシステムにおけるデータ送信
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission device in a multiprocessor system.

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

このような複合プロセッサにおいては、1台のプロセッ
サから他のすべてのプロセッサに対し同時に同一のデー
タを送信するいわゆる“ブロードキャスト通信機能”が
必要となる。つまり複数のプロセッサが互いに協調して
1つのジョブあるいはタスクを実行する際、各々のプロ
セッサの同期をとることが必要不可欠の条件となる。
Such a composite 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, it is essential to synchronize each processor.

〔従来の技術〕[Conventional technology]

従来この種のデータ通信方式としては、1台のプロセッ
サから他のすべてのプロセッサに対し1回あるいは数回
データを送信する方法、あるいは1台のプロセッサから
他のプロセッサの各々に対し、1台毎にデータ送信のた
めのリンクを作り、データ送信の確認をとりながらデー
タを送信する方法がある。
Conventionally, this type of data communication 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 method of creating a link for data transmission and confirming the data transmission while transmitting the data.

〔発明が解決しようとする問題点3 1台のプロセッサから他のプロセッサのすべてに送信す
る前者の例では、送信先のプロセッサの受信状態を確認
しないのでデータ受信もれ等の危険性が高い欠点があっ
た。また、プロセッサの1台毎に送信リンクを形成する
後者の例では、データの転送効率がきわめて悪い欠点を
有していた。
[Problem to be solved by the invention 3 In the former example where data is sent from one processor to all other processors, the reception status of the destination processor is not checked, so there is a high risk of data reception failure etc. was there. Furthermore, the latter example in which a transmission link is formed for each processor has the disadvantage that data transfer efficiency is extremely low.

本発明の目的は、転送効率の良い、しかも信頼性の高い
ブロードキャスト通信手段を実現するデータ送信装置を
提供することにある。
An object of the present invention is to provide a data transmitting device that realizes a highly reliable broadcast communication means with good transfer efficiency.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、情報を転送する第1のバスとコントロール信
号を転送する第2のバスとに各々並列に接続された複数
の処理装置を備え、各処理装置は、前記第1のバスを介
して他の処理装置間で互いにデータを授受する送受信部
と、前記第1のバスを介して送信されたデータを受信す
ると前記第2のバスを介して前記データを発信した処理
装置に対し承認信号を送信する承認信号発生部と、他の
すべての処理装置に同一のデータを送信した際、前記他
のすべての処理装置からの承認信号を計数する承認信号
計数部とを有し、前記承認信号計数部での計数が、前記
他のすべての処理装置数の承―信号に満たない場合、前
記同一のデータを再度送信し、前記他のすべての処理装
置数の承認信号を受信するまで前記データを送信し続け
る事を特徴としている。
The present invention includes a plurality of processing devices each connected in parallel to a first bus for transferring information and a second bus for transferring control signals, and each processing device is connected to a first bus for transferring information and a second bus for transferring control signals. a transmitting/receiving unit that exchanges data between other processing devices; and upon receiving data transmitted via the first bus, sends an approval signal to the processing device that transmitted the data via the second bus; an approval signal generating section for transmitting an approval signal; and an approval signal counting section for counting approval signals from all other processing devices when the same data is transmitted to all other processing devices; If the count in the unit is less than the acceptance signals of all the other processing units, it transmits the same data again and continues to transmit the data until it receives the approval signals of all the other processing units. It is characterized by continuous transmission.

〔実施例〕〔Example〕

以下、図面により本発明装置の詳細を説明する。 Hereinafter, details of the device of the present invention will be explained with reference to the drawings.

第1図は本発明装置の一実施例を示すデータ送信装置の
構成図である。第1図において、N個(Nは2以上の整
数)のプロセッサ41〜4Nは各々のアダプタ31〜3
Nを介し、データを送受信するためのデータバス(第1
のバス)10とコントロール信号を転送するためのコン
トロールバス(第2のバス)20に各々並列に接続され
る。
FIG. 1 is a configuration diagram of a data transmitting device showing an embodiment of the device of the present invention. In FIG. 1, N processors 41 to 4N (N is an integer of 2 or more) are connected to respective adapters 31 to 3.
A data bus (first
bus) 10 and a control bus (second bus) 20 for transferring control signals.

第2図は前記データ送信装置の一部分を構成するアダプ
タの構成図である。簡単の為に、第1のアダプタ31に
ついてのみ図示し、他のアダプタの構成は同一なものと
する。第1のアダプタ31は送信レジスタ313.受信
レジスタ31z、レディフラグ314.承認信号発生器
316.承認信号計数器31゜及びアダプタ制御部31
3によって構成される。
FIG. 2 is a configuration diagram of an adapter forming a part of the data transmitting device. For simplicity, only the first adapter 31 is illustrated, and the configurations of the other adapters are assumed to be the same. The first adapter 31 has a transmit register 313 . Reception register 31z, ready flag 314. Approval signal generator 316. Approval signal counter 31° and adapter control unit 31
Consisting of 3.

送信レジスタ3L は送信データを一時格納するための
レジスタであり、又受信レジスタ312は受信データを
格納するものである。レディフラグ314はプロセッサ
のデータ受信可能状態を示すフラグであり、プロセッサ
からのレディフラグセット命令によりセットされ、又受
信不能時、プロセッサからのレディフラグリセット命令
によりリセットされるものである。承認信号発生器31
.は、プロセッサがデータ受信可能時、つまりレディフ
ラグ314がセットされている状態でデータを正常に受
信した際、コントロールバス20に承認信号を出力する
機能を有するものである。承認信号計数器316は、デ
ータを送信した後、コントロールバス20を介して送信
される受信プロセッサからの承認信号数を計数するもの
である。
The transmission register 3L is a register for temporarily storing transmission data, and the reception register 312 is for storing reception data. The ready flag 314 is a flag indicating a data receivable state of the processor, and is set by a ready flag set command from the processor, and is reset by a ready flag reset command from the processor when data cannot be received. Approval signal generator 31
.. has a function of outputting an approval signal to the control bus 20 when the processor is ready to receive data, that is, when data is normally received with the ready flag 314 set. The acknowledgment signal counter 316 counts the number of acknowledgment signals sent from the receiving processor via the control bus 20 after transmitting data.

次に、本発明装置の動作を説明するために、第rのプロ
セッサ41から第2のプロセッサ42及び第3のプロセ
ッサ43に同一のデータを送信する例を示す。
Next, in order to explain the operation of the device of the present invention, an example will be shown in which the same data is transmitted from the r-th processor 41 to the second processor 42 and the third processor 43.

第1のプロセッサ41は第1のアダプタ31の送信レジ
スタ31.に送信データをセットし、さらにデータ送信
命令を出力する。データ送信命令はアダプタ制御部31
3によりデコードされ、その制御信号が送信レジスタ3
11の内容をデータバス10に出力する。このデータバ
ス10に並列接続された第2のプロセッサ42及び第3
のプロセッサ43がデータ受信可能な状態であれば、第
2のアダプタ32及び第3のアダプタ33のレディフラ
グ(314に対応)がセットされており、第1のプロセ
ッサ41から送信されたデータは第2のプロセッサ42
及び第3のプロセッサ43の各々のアダプタ32及び3
3の受信レジスタ(31□に対応)にセットされ、各々
のアダプタ制御部(31,に対応)によってデータの妥
当性がチェックされる。データの妥当性がチェックされ
ると各々のアダプタ制御部は各々のプロセ・ノサ42及
びプロセッサ43に対しデータ受信割込信号を発すると
同時に各々のアダプタ内の承認信号発生器(31,に対
応)より第1のプロセッサ41の第1のアダプタ31に
対しコントロールバス20を介して承認信号を送信する
。この第1のプロセッサ41の第1のアダプタ31の承
認信号計数器31bは、第2のプロセッサ42及び第3
のプロセッサ43の承認信号を計数する。承認信号計数
器316にはあらかじめ送信先のプロセッサ数がセット
されており、所定の値を計数すると第1のプロセッサ4
1に対し送信完了割込信号を発する。この送信完了割込
信号により第1プロセツサ41は、第2プロセツサ42
及び第3プロセツサ43に正常にデータの送信が行われ
た事を確認する。
The first processor 41 transmits the transmit register 31 . of the first adapter 31 . Sets the transmission data to , and outputs a data transmission command. The data transmission command is issued by the adapter control unit 31.
3, and the control signal is sent to the transmit register 3.
11 is output to the data bus 10. A second processor 42 and a third processor are connected in parallel to this data bus 10.
If the processor 43 is in a state where data can be received, the ready flags (corresponding to 314) of the second adapter 32 and the third adapter 33 are set, and the data transmitted from the first processor 41 is 2 processors 42
and the respective adapters 32 and 3 of the third processor 43
3 (corresponding to 31□), and the validity of the data is checked by each adapter control unit (corresponding to 31). Once the validity of the data has been checked, each adapter control section issues a data reception interrupt signal to each processor 42 and processor 43, and at the same time, an acknowledgment signal generator (corresponding to 31) in each adapter. An approval signal is then transmitted to the first adapter 31 of the first processor 41 via the control bus 20 . The approval signal counter 31b of the first adapter 31 of the first processor 41 is connected to the second processor 42 and the third processor 41.
The approval signals of the processors 43 are counted. The number of destination processors is set in advance in the approval signal counter 316, and when a predetermined value is counted, the first processor 4
1, a transmission completion interrupt signal is issued. This transmission completion interrupt signal causes the first processor 41 to interrupt the second processor 42.
Then, it is confirmed that the data has been transmitted normally to the third processor 43.

次に、前述した例において第2プロセツサ42が第1プ
ロセツサ41からのデータを受信できない場合を説明す
る。これは第2プロセツサ42の第2アダプタ32のレ
ディフラグ(314に相当)はリセットされているか、
又は第1プロセツサ41から送られたデータが第2プロ
セツサ42のアダプタ32の受信レジスタにおいてデー
タの妥当性チェックにおいて不合格となった場合である
。この場合、第1プロセツサ41からデータが送信され
ると第2プロセツサ42の第2アダプタ32の承認信号
発生器(31゜に相当)からは承認信号が発せられず、
第1のプロセッサ41のアダプタ31の承認信号計数器
316には、第3のプロセッサ43からの承認信号のみ
の計数がセントされる。この第1アダプタ31の承認信
号計数器31.は一定期間所定の承認信号が返されない
場合、第1プロセツサ41に対しデータ受信不良割込信
号を発する。データ受信不良割込信号を受信した第1プ
ロセツサ41は、データ送信の不成功を知り再度第2プ
ロセツサ42及び第3プロセツサ43にデータを送信す
る。このように送信先のプロセッサ数だけの承認信号が
返される。までデータを送信し続ける。
Next, a case will be described in which the second processor 42 cannot receive data from the first processor 41 in the above-described example. This means that the ready flag (corresponding to 314) of the second adapter 32 of the second processor 42 has been reset.
Or, the data sent from the first processor 41 fails the data validity check in the receiving register of the adapter 32 of the second processor 42. In this case, when data is transmitted from the first processor 41, the approval signal generator (corresponding to 31°) of the second adapter 32 of the second processor 42 does not generate an approval signal.
The approval signal counter 316 of the adapter 31 of the first processor 41 receives a count of only the approval signal from the third processor 43 . The approval signal counter 31 of this first adapter 31. If a predetermined acknowledgment signal is not returned for a certain period of time, it issues a data reception failure interrupt signal to the first processor 41. The first processor 41, which received the data reception failure interrupt signal, learns that the data transmission was unsuccessful and transmits data to the second processor 42 and the third processor 43 again. In this way, as many approval signals as the number of destination processors are returned. Continue to send data until

以上の説明では3台のプロセッサ41〜43間で1対2
のブロードキャスト通信の例を示したが、N台のプロセ
ッサ間で1対(N−1)のブロードキャスト通信の例も
同様に可能である。
In the above explanation, there is a 1:2 ratio between the three processors 41 to 43.
Although an example of broadcast communication has been shown, an example of one pair (N-1) broadcast communication between N processors is also possible.

なお前述の説明ではデータの送信に限ったがデータの代
わりにコントロール信号等コマンド情報を用いても何等
さしつかえない。又2つ以上のプロセッサから上述のよ
うなブロードキャスト通信が行われる場合には、データ
送信が完了しない。
Although the above explanation was limited to data transmission, command information such as a control signal may be used instead of data. Furthermore, when two or more processors perform broadcast communication as described above, data transmission is not completed.

この場合、一定期間データを送信した後、送信プロセッ
サ自身が受信プロセッサになるようにすれば良い。
In this case, the transmitting processor itself may become the receiving processor after transmitting data for a certain period of time.

なお本発明ではデータバス10及びコントロールバス2
0のバス調整機構については言及しなかったが、実際の
装置では付加されることは当然の事である。
Note that in the present invention, the data bus 10 and the control bus 2
Although the 0 bus adjustment mechanism was not mentioned, it is a matter of course that it is added in an actual device.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、複合プロセッサ
システムにおけるデータ通信において、効率の良い、し
かも信頌性の高いブロードキャスト通信が実現できるデ
ータ送信装置を提供することができ実用に供してきわめ
て有効である。
As explained above, according to the present invention, it is possible to provide a data transmission device that can realize efficient and highly reliable broadcast communication in data communication in a multiprocessor system, and is extremely effective in practical use. It is.

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

第1図は本発明にかかるデータ送信装置の一実施例を示
す構成図、 第2図は本発明にかかるデータ送信装置を構成するアダ
プタの構成図である。 10・・・データバス 20・・・コントロールバス 31〜3N・・・アダプタ 41〜4N・・・プロセッサ 31、 、31□・・・レジスタ 313・・・アダプタ制御部 314・・・レディフラグ 31%・・・承認信号発生器 31、・・・承認信号計数器 代理人弁理士   岩  佐  義  幸・ し、−0
−二  −」
FIG. 1 is a configuration diagram showing an embodiment of a data transmission device according to the present invention, and FIG. 2 is a configuration diagram of an adapter that constitutes the data transmission device according to the present invention. 10...Data bus 20...Control bus 31-3N...Adapter 41-4N...Processor 31, , 31□...Register 313...Adapter control unit 314...Ready flag 31% ...Approval signal generator 31, ...Approval signal counter Patent attorney Yoshiyuki Iwasa -0
−2−”

Claims (1)

【特許請求の範囲】[Claims] (1)情報を転送する第1のバスとコントロール信号を
転送する第2のバスとに各々並列に接続された複数の処
理装置を備え、各処理装置は、前記第1のバスを介して
他の処理装置間で互いにデータを授受する送受信部と、
前記第1のバスを介して送信されたデータを受信すると
前記第2のバスを介して前記データを発信した処理装置
に対し承認信号を送信する承認信号発生部と、他のすべ
ての処理装置に同一のデータを送信した際、前記他のす
べての処理装置からの承認信号を計数する承認信号計数
部とを有し、前記承認信号計数部での計数が、前記他の
すべての処理装置数の承認信号に満たない場合、前記同
一のデータを再度送信し、前記他のすべての処理装置数
の承認信号を受信するまで前記データを送信し続ける事
を特徴とするデータ送信装置。
(1) A plurality of processing devices are each connected in parallel to a first bus for transferring information and a second bus for transferring control signals, and each processing device is connected to a second bus for transferring control signals. a transmitting/receiving unit that exchanges data between the processing devices;
an acknowledgment signal generator that, upon receiving the data transmitted via the first bus, transmits an acknowledgment signal to the processing device that transmitted the data via the second bus, and to all other processing devices; and an approval signal counting section that counts approval signals from all of the other processing devices when the same data is transmitted, and the counting by the approval signal counting section is equal to or greater than the number of all of the other processing devices. A data transmitting device characterized in that if the approval signal is not met, the same data is transmitted again, and the data transmission device continues to transmit the data until the approval signals of all the other processing devices are received.
JP61060605A 1986-03-20 1986-03-20 Data transmitter Pending JPS62219056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61060605A JPS62219056A (en) 1986-03-20 1986-03-20 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61060605A JPS62219056A (en) 1986-03-20 1986-03-20 Data transmitter

Publications (1)

Publication Number Publication Date
JPS62219056A true JPS62219056A (en) 1987-09-26

Family

ID=13147050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61060605A Pending JPS62219056A (en) 1986-03-20 1986-03-20 Data transmitter

Country Status (1)

Country Link
JP (1) JPS62219056A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04137163A (en) * 1990-09-28 1992-05-12 Fujitsu Ltd Data transfer method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04137163A (en) * 1990-09-28 1992-05-12 Fujitsu Ltd Data transfer method

Similar Documents

Publication Publication Date Title
US4354267A (en) Data transmission system utilizing loop transmission lines between terminal units
JP2644718B2 (en) Computer system
JPS602813B2 (en) Computer-to-computer communication method and system
JPH02199938A (en) Data transmission error detection system
JPS62219056A (en) Data transmitter
RU2486581C1 (en) Parallel computing circuit with programmable architecture
JPS62219057A (en) Data transmitter
JPS59114662A (en) Message transmitting device
JPS59114663A (en) Data transmitting device
JPS6124739B2 (en)
JPS58182778A (en) Decentralized processing system
JPS615645A (en) Data transmission method
RU2642383C2 (en) Method of information transmission
JP2001142852A (en) Synchronism and communication control device for high- speed parallel computation
SU1078421A2 (en) Data exchange device
JPS6055755A (en) Loop transmitter
JPS62216452A (en) Serial transmission equipment
JPS6257337A (en) Data transmission equipment
SU1425697A1 (en) Computer interface
JPS5848135A (en) Data bus control system
JPS5995643A (en) Interruption data transfer system
JPS6180925A (en) Information collecting system
JPH0395660A (en) System time setting method for plural central processing unit method
JPS62293453A (en) Multiple bus system data processor
JPH0658655B2 (en) Serial I / O method