JPH061454B2 - Communication method between processors - Google Patents
Communication method between processorsInfo
- Publication number
- JPH061454B2 JPH061454B2 JP60159638A JP15963885A JPH061454B2 JP H061454 B2 JPH061454 B2 JP H061454B2 JP 60159638 A JP60159638 A JP 60159638A JP 15963885 A JP15963885 A JP 15963885A JP H061454 B2 JPH061454 B2 JP H061454B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- address
- sub
- frame
- subchannel
- 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.)
- Expired - Lifetime
Links
Landscapes
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Description
【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、複数プロセッサ間の通信方式に係わり、特に
複数のプロセッサ間のタスク間で直接データ転送を可能
にする通信方式に関するものである。Description: TECHNICAL FIELD The present invention relates to a communication method between a plurality of processors, and more particularly to a communication method that enables direct data transfer between tasks between a plurality of processors.
第4図に従来のプロセッサ間通信方式の一構成例を示
す。第4図において、プロセッサ10,11,12内の
各タスク17は、それぞれチャネル20,21,22の
サブチャネル16と1対1に対応付けられている。一
方、プロセッサ間接続装置14はチャネルインタフェー
ス15によりプロセッサ10,11,12のチャネル2
0,21,22に接続されている。プロセッサ間接続装
置14内には、各サブチャネル対応に送信先プロセッサ
アドレス、送信先サブチャネルアドレスおよびパス設定
状態を記憶する機能が具備されている。このプロセッサ
間接続装置14を介して、複数のプロセッサが任意のト
ボロジーの伝送路13により相互に接続されている。な
お、各サブチャネルは1対1で接続されている。FIG. 4 shows a configuration example of a conventional interprocessor communication system. In FIG. 4, each task 17 in the processors 10, 11, 12 is associated with the sub-channel 16 of the channels 20, 21, 22 in a one-to-one correspondence. On the other hand, the inter-processor connection device 14 uses the channel interface 15 to connect the channels 2 of the processors 10, 11 and 12.
It is connected to 0, 21, 22. The interprocessor connection device 14 has a function of storing a destination processor address, a destination subchannel address, and a path setting state for each subchannel. A plurality of processors are connected to each other via the inter-processor connection device 14 by a transmission path 13 having an arbitrary topology. In addition, each sub-channel is connected one-to-one.
サブチャネル間のデータ転送は、次の手順で行われる。
送信側のプロセッサ間接続装置14では、送信先アドレ
スを指定する指令を受け付け、該I/Oアドレス(該サ
ブチャネルアドレス)に対応した記憶域に送信先プロセ
ッサアドレス、送信先サブチャネルアドレスを設定し、
該サブチャネルをアドレス設定状態にする。受信側のプ
ロセッサ間接続装置14でも同様のアドレス設定を行
う。データ転送要求発生時、送信側のプロセッサ間接続
装置14は、チャネルからデータ転送依頼を受けると、
指定サブチャネルアドレスに対応した記憶域から送信先
プロセッサアドレス、送信先サブチャネルアドレスを読
み出し、送信フレームを組み立て、伝送路へ該データを
送出する。もし、記憶域にアドレスが設定されていない
場合、チャネルにエラーを報告する。受信側のプロセッ
サ間接続装置14では、伝送路からフレームを受信する
と、フレーム内で指定される送信先サブチャネルアドレ
スに対応した記憶領域の状態情報をチェックし、受信可
能ならば、チャネルの該当サブチャネルに対してデータ
の受信を要求する。もし、受信が不可能ならその旨を送
信元へ報告する。Data transfer between sub-channels is performed by the following procedure.
The inter-processor connection device 14 on the transmission side receives a command for designating a destination address, and sets the destination processor address and the destination sub channel address in the storage area corresponding to the I / O address (the sub channel address). ,
The sub-channel is set to the address setting state. The same address setting is performed in the inter-processor connection device 14 on the receiving side. When a data transfer request occurs, the inter-processor connection device 14 on the transmission side receives a data transfer request from the channel,
The destination processor address and destination subchannel address are read from the storage area corresponding to the designated subchannel address, a transmission frame is assembled, and the data is sent to the transmission path. If the address is not set in storage, it reports an error to the channel. When the inter-processor connection device 14 on the receiving side receives a frame from the transmission path, it checks the status information of the storage area corresponding to the destination sub-channel address specified in the frame, and if it is receivable, the corresponding sub-channel of the channel is checked. Request the channel to receive data. If the reception is impossible, the fact is reported to the sender.
このように、従来方式では、データ転送を行う前のシス
テム立ち上げ時に、予め送信側と受信側両方のパス設定
状態を記憶する記憶域の1つに相手プロセッサアドレ
ス、相手サブチャネルアドレスを設定して置く必要があ
る。すなわち、予め1対1のサブチャネル対を設定して
おくものである。そのため、同報通信やデータ回覧用の
データグラム通信など頻度の低い通信まで予めサブチャ
ネル対を設定しておくことになるため、サブチャネル対
の使用が非効率であり、サブチャネル対の不足が問題と
なる欠点がある。As described above, in the conventional method, the partner processor address and the partner subchannel address are set in advance in one of the storage areas for storing the path setting states of both the transmitting side and the receiving side when the system is started up before data transfer. Need to put. That is, one to one sub-channel pair is set in advance. Therefore, since subchannel pairs are set in advance even for infrequent communications such as broadcast communication and datagram communication for data circulation, the use of subchannel pairs is inefficient, and there is a shortage of subchannel pairs. There are some drawbacks.
〔発明の目的〕 本発明の目的は、複数プロセッサ間の通信方式におい
て、限られた数のサブチャネルを有効に利用するとゝも
に、データグラム通信での受信側HOSTでのデータ受
信準備を前もって行えるようにすることにある。[Object of the Invention] An object of the present invention is to effectively use a limited number of sub-channels in a communication system between a plurality of processors, and to prepare for data reception at a receiving side HOST in datagram communication in advance. Is to be able to do it.
本発明は、従来のあらかじめ1対1の固定的サブチャネ
ル対を設定したデータ転送モード(相手固定モード)の
他に、データ転送の都度、サブチャネル対を設定、解放
してデータ転送を行うモード(相手浮動モード)を設け
る。各サブチャネルは、これら2種類のモードのどちら
かにあらかじめ設定されているものとし、通信はモード
を選択して行う。The present invention is a mode in which, in addition to the conventional data transfer mode in which a fixed one-to-one sub-channel pair is set in advance (fixed partner mode), a sub-channel pair is set and released each time data is transferred to perform data transfer. (Opposite floating mode) is provided. Each sub-channel is preset to one of these two types of modes, and communication is performed by selecting the mode.
相手固定モードのサブチャネルは、送信側および受信側
のプロセッサ間接続装置で予めサブチャネル対を設定し
ておくが、相手浮動モードのサブチャネルは、システム
立ち上げ時、送信側および受信側で予めサブチャネル対
(パス)を設定せず、データ転送の都度、送信側のプロ
セッサ間接続装置でパス設定状態記憶域にコマンドによ
り、設定し、その後、直ちにデータを送信する。データ
受信側のプロセッサ間接続装置では、受信したフレーム
から使用サブチャネルを見て、相手浮動モードの場合
は、データ受信時、パス設定状態記憶域の内容に基づい
たパスチェック(指定された送信元サブチャネルアドレ
ス以外は拒絶する。)をせず、受信フレームのアドレス
情報に基づいてパスを設定し、プロセッサからのリード
パス情報コマンド(RPコマンド)によりパス情報(送
信元アドレス、送信元サブチャネルアドレス)をプロセ
ッサに送る。その後、プロセッサからのリードコマンド
によりプロセッサへ受信データを送る。The fixed channel sub-channel is set in advance by the inter-processor connection device on the transmitting side and the receiving side, but the floating channel sub-channel is set on the transmitting side and the receiving side at system startup. A sub-channel pair (path) is not set, and each time data is transferred, it is set in the path setting state storage area by a command in the inter-processor connection device on the transmitting side, and then data is immediately transmitted. The inter-processor connection device on the data receiving side looks at the sub-channel used from the received frame, and in the case of the partner floating mode, at the time of data reception, the path check based on the contents of the path setting state storage area (specified source Other than the sub-channel address is rejected.), The path is set based on the address information of the received frame, and the path information (source address, source sub-channel address) is set by the read path information command (RP command) from the processor. To the processor. Then, the received data is sent to the processor by the read command from the processor.
従来の技術とは、パス設定をシステム立ち上げ時に予め
行わず、データ転送時にパス設定を行うモードがある点
が異なる。This is different from the conventional technique in that there is a mode in which path setting is not performed in advance at system startup and path setting is performed during data transfer.
第1図は本発明の一実施例の構成図である。基本的な構
成は第4図と同様であるが、例えば、サブチャネル16
−5を他のサブチャネル16−1に1対1で固定的に結
合することはせず、一つにデータ転送が終了した時点で
別のサブチャネル16−10と結合できるようにする。
このため、プロセッサ間結合装置14には次の機能を持
たせる。FIG. 1 is a block diagram of an embodiment of the present invention. The basic structure is the same as that shown in FIG.
-5 is not fixedly coupled to the other sub-channel 16-1 in a one-to-one manner, but is allowed to be coupled to another sub-channel 16-10 at the end of data transfer.
Therefore, the interprocessor coupling device 14 has the following functions.
システム立ち上げ時、各サブチャネルを相手固定モー
ドと相手浮動モードに割り当てておく。When starting the system, each sub-channel is assigned to fixed partner mode and partner floating mode.
相手固定モードのサブチャネルの記憶領域に対して
は、相手サブチャネルを書き込んでおいて予めサブチャ
ネル対を設定しておく。相手浮動モードのサブチャネル
に対しては、この設定は行わない。The partner subchannel is written in the storage area of the subchannel in the partner fixed mode, and a subchannel pair is set in advance. This setting is not performed for the sub-channel in the partner floating mode.
相手固定モードでのデータ転送動作機能は、従来の通
りである。The data transfer operation function in the fixed partner mode is as conventional.
相手浮動モードでのデータ転送動作機能は、以下の通
りである。The data transfer operation function in the partner floating mode is as follows.
イ.データ転送要求発生時、まず送信先アドレスを設定
する指令を受け付け、そのI/Oアドレス(サブチャネ
ルアドレス)に対応した記憶領域に送信先プロセッサア
ドレス、送信先サブチャネルを設定し、該当サブチャネ
ルをアドレス設定状態にする。I. When a data transfer request occurs, first receive a command to set the destination address, set the destination processor address and destination subchannel in the memory area corresponding to the I / O address (subchannel address), and set the corresponding subchannel. Enter the address setting state.
ロ.チャネルからデータ転送依頼を受けると、指定サブ
チャネルアドレスに対応した記憶域から送信先アドレ
ス、及び送信先サブチャネルアドレスを読み出し、WR
IRE要求送信フレームを組み立て、伝送路へ該データ
を送出する。B. When a data transfer request is received from the channel, the destination address and destination subchannel address are read from the storage area corresponding to the designated subchannel address, and WR
An IRE request transmission frame is assembled and the data is transmitted to the transmission line.
ハ.伝送路からWRITE要求フレームを受信すると、
フレーム内で指定される送信先サブチャネルアドレスに
対応した記憶領域の状態情報をチェックし、状態がRE
AD表示であり、該サブチャネルが使用中でなく受信可
能ならば、該記憶領域に送信元プロセッサアドレスと送
信元サブチャネルアドレスを書き込み、送信元に対し同
期通知を行うフレームを伝送路に送出する。該サブチャ
ネルが使用中であれば、その旨送信元へ報告する。C. When a WRITE request frame is received from the transmission line,
The status information of the storage area corresponding to the destination subchannel address specified in the frame is checked and the status is RE
If it is AD display and the subchannel is not in use and can be received, the source processor address and the source subchannel address are written in the storage area, and a frame for sending a synchronization notification to the source is sent to the transmission path. . If the sub-channel is in use, the fact is reported to the transmission source.
ニ.伝送路から同期フレームを受信すると、チャネルに
対しデータの送信を要求し、該データをフレーム化して
伝送路へ送出する。D. When the synchronization frame is received from the transmission line, the channel is requested to send data, the data is framed and sent to the transmission line.
ホ.伝送路からデータフレームを受信すると、チャネル
の該当サブチャネルに対してパス情報(送信元プロセッ
サアドレス、送信元サブチャネルアドレス)の受信を要
求する。パス情報の受信終了後、チャネルの該当サブチ
ャネルに対してデータの受信を要求する。E. When the data frame is received from the transmission path, the subchannel corresponding to the channel is requested to receive the path information (source processor address, source subchannel address). After receiving the path information, the sub-channel of the channel is requested to receive data.
第2図は本発明を適用したプロセッサ間接続装置の一実
施例であり、I/Oインタフェース制御部201、入出
力データ(IOD)レジスタ202、コマンド(CM
D)レジスタ203、デバイス状態(DSB)レジスタ
204、装置制御部205、サブチャネルテーブル20
6、データリンク制御部208、指示(IR)レジスタ
209、データバッファ210、報告(SR)レジスタ
211などで構成される。サブチャネルテーブル206
は、当該プロセッサ間接続装置に接続されるチャネルの
各サブチャネル対応に、通信パスを設定するための相手
プロセッサアドレス(DPCI)、相手サブチャネルア
ドレス(DSBC)および該パス設定状態(STA)を
記憶する領域を有している。FIG. 2 shows an embodiment of an interprocessor connection device to which the present invention is applied, which is an I / O interface control unit 201, an input / output data (IOD) register 202, a command (CM).
D) register 203, device status (DSB) register 204, device control unit 205, sub-channel table 20
6, a data link control unit 208, an instruction (IR) register 209, a data buffer 210, a report (SR) register 211, and the like. Subchannel table 206
Stores a partner processor address (DPCI) for setting a communication path, a partner subchannel address (DSBC), and the path setting status (STA) for each subchannel of the channel connected to the interprocessor connection device. Has an area to
以下、第3図の通信例に基づき、第2図を中心に転送動
作を説明する。相手固定モードのデータ転送動作例は、
従来の方法と同じなので、こゝでは相手浮動モードの場
合のみ説明する。なお、第3図において、左端のHOS
Tは、第1図のプロセッサ10に、RCI#Aは該プロ
セッサ10と接続されているプロセッサ間接続装置14
に、又、右端のHOSTは第1図のプロセッサ11に、
RCT#Bは該プロセッサ11と接続されているプロセ
ッサ間接続装置14に対応するものとする。Hereinafter, the transfer operation will be described based on the communication example of FIG. 3 with a focus on FIG. An example of data transfer operation in fixed partner mode is
Since it is the same as the conventional method, only the case of the partner floating mode will be explained here. Incidentally, in FIG. 3, the HOS at the left end
T is the processor 10 in FIG. 1, and RCI # A is the inter-processor connection device 14 connected to the processor 10.
Also, the HOST at the right end is the processor 11 of FIG.
RCT # B corresponds to the inter-processor connection device 14 connected to the processor 11.
HOSTからのI/Oアドレス#1(サブチャネルアド
レス#i)に対するパス設定指令(例えばSETコマン
ド)を受け付けたプロセッサ間接続装置PCI#Aは、
I/Oインタフェース制御部201によりチャネルから
I/Oアドレスおよび動作指令が送られて来たことを知
ると、I/Oアドレス#iはIODレジスタ202に、
動作指令SETはCMDレジスタ223に設定し、起動
結果をDSBレジスタ204に設定してチャネルに報告
する。装置制御部205は、引き続きチャネルから送信
先プロセッサアドレス(DPCI)#B、サブチャネル
アドレス(DSBC)#jが送られてくると、IODレ
ジスタ202で指定されるサブチャネルテーブル206
のサブチャネル#iに該送信先アドレス#B,#jおよ
びパス設定表示を設定し、該設定が正常に終ると、DS
Bレジスタ204にチャネル終了(CE)、デバイス終
了(DE)を設定して、チャネルへパス設定動作が正常
に終了したことを報告する。The inter-processor connection device PCI # A that has received a path setting command (for example, a SET command) for the I / O address # 1 (subchannel address #i) from the HOST,
When the I / O interface controller 201 knows that the I / O address and the operation command have been sent from the channel, the I / O address #i is stored in the IOD register 202.
The operation command SET is set in the CMD register 223, and the activation result is set in the DSB register 204 and reported to the channel. When the destination processor address (DPCI) #B and the sub channel address (DSBC) #j are continuously sent from the channel, the device control unit 205 receives the sub channel table 206 designated by the IOD register 202.
When the destination addresses #B and #j and the path setting display are set to the sub-channel #i of the
Channel end (CE) and device end (DE) are set in the B register 204, and it is reported to the channel that the path setting operation has been completed normally.
続いて転送動作の指令に移る。データはPCI#Aから
PCI#Bに転送されたものとする。PCI#B側のH
OSTプロセッサ上のタスクは、全てのサブチャネルに
RPコマンド(パス情報の読み込みコマンド)の先行読
み込み指令を行い、PCI#A側のHOSTプロセッサ
のタスクは、転送要求が発生した時点で対応サブチャネ
ルにWRITEコマンドの書き込み要求を行う。先行読
み込みは多重処理により全てのサブチャネルに対して次
のように行われる。あるRPコマンドが発行されると、
PCI#BのCMDレジスタ203にRPコマンドが入
り、指定されたサブチャネルアドレスがIODレジスタ
202に設定される。第3図では、サブチャネルアドレ
ス#jが指定される場合を示している。装置制御部20
5はIODレジスタ202に指定されるサブチャネルテ
ーブル206の該当サブチャネル#jの状態領域(ST
A)207にREAD要求があったことを設定し、DS
Bレジスタ204にコマンド再試行要求(RET)表示
(SM,CE,UC)を行い、I/Oインタフェース制
御部201に報告動作を行うように指示する。Then, the transfer operation command is given. It is assumed that the data is transferred from PCI #A to PCI #B. H on the PCI # B side
The task on the OST processor issues an advance read command of the RP command (path information read command) to all the sub-channels, and the task of the HOST processor on the PCI #A side changes to the corresponding sub-channels when the transfer request occurs. Make a write request for a WRITE command. Pre-reading is performed as follows for all sub-channels by multiple processing. When a certain RP command is issued,
The RP command is entered in the CMD register 203 of PCI # B, and the designated sub-channel address is set in the IOD register 202. FIG. 3 shows a case where the sub-channel address #j is designated. Device control unit 20
5 is a status area (ST) of the corresponding subchannel #j of the subchannel table 206 designated by the IOD register 202.
A) Set that 207 had a READ request, and set DS
A command retry request (RET) display (SM, CE, UC) is displayed in the B register 204, and the I / O interface control unit 201 is instructed to perform the reporting operation.
一方、PCI#AにWRITEコマンドが発行される
と、上記と同様にして、CMDレジスタ203にWRI
TEが、IODレジスタ202に#iが設定される。装
置制御装置205はWRITE要求があったことをIO
Dレジスタ202で指定されるサブチャネルテーブル2
06の該当サブチャネル#iに登録するとゝもに、デー
タリンク制御部208への指示レジスタ209にWRI
TE要求を設定する。データリンク制御部208は該指
示レジスタ209、IODレジスタ202、サブチャネ
ルテーブル206の情報に基づき、第3図の送信要求フ
レーム301を組立て、ループ状伝送路13へ送出する
とゝもに、DSBレジスタ204にコマンド用再試行要
求(RET)表示(SM,CE,UC)を行い、I/O
インタフェース制御部201に報告動作を行うよう指示
する。On the other hand, when a WRITE command is issued to PCI # A, the WRITE is sent to the CMD register 203 in the same manner as above.
TE and #i are set in the IOD register 202. The device control unit 205 informs the IO that the WRITE request has been made.
Subchannel table 2 specified by D register 202
When it is registered in the corresponding sub-channel #i of 06, the WRI is written in the instruction register 209 to the data link control unit 208.
Set TE request. The data link control unit 208 assembles the transmission request frame 301 shown in FIG. 3 based on the information in the instruction register 209, the IOD register 202, and the sub-channel table 206, and sends it to the loop transmission line 13. The command retry request (RET) display (SM, CE, UC) is displayed on the I / O
The interface control unit 201 is instructed to perform the reporting operation.
送信要求フレーム301を受信したPCI#Bのデータ
リンク制御部208は、該フレームをデータバッファ2
10にバッファリングして、フレーム内の送信先サブチ
ャネルアドレス#jをIODレジスタ202に、WRI
TE要求を報告レジスタ211に入れる。装置制御部2
05は、該IODレジスタ202で指定されるサブチャ
ネルアドレスが浮動モードであることを確認し、パスチ
ェック(サブチャネルテーブル206の該サブチャネル
に書き込まれたものかどうかをチェック)せずに、サブ
チャネルテーブル206の該当サブチヤネル#jの状態
領域(STA)に登録されている場態情報がREAD表
示でデータ受信が可能なことを確認すると、送信元プロ
セッサアドレス#A、サブチャネルアドレス#iをサブ
チャネルテーブル206のサブチャネル#jに書き込
み、相手プロセッサにデータ送信要求通知を行うため
に、指示レジスタ209に同期表示(M)を行い、第3図
の同期報告フレーム302をPCI#Aに送出するよう
データリンク制御部208に指示する。データリンク制
御部208は転送制御部212にフレーム構成に必要な
データ要求を行い、フレームを組み立てながらループ状
伝送路13へ送出する。Upon receiving the transmission request frame 301, the data link control unit 208 of PCI # B sends the frame to the data buffer 2
10 and buffer the destination sub-channel address #j in the frame in the IOD register 202 and WRI.
Place the TE request in the report register 211. Device control unit 2
05 confirms that the sub-channel address specified by the IOD register 202 is in the floating mode, and checks the sub-channel without performing a path check (whether the sub-channel of the sub-channel table 206 is written). When it is confirmed that the status information registered in the status area (STA) of the corresponding sub-channel #j of the channel table 206 can be received by READ display, the transmission source processor address #A and the sub-channel address #i are set as sub-addresses. In order to write to the sub-channel #j of the channel table 206, to notify the other processor of the data transmission request, the instruction register 209 is synchronously displayed (M), and the synchronous report frame 302 of FIG. 3 is sent to PCI #A. The data link control unit 208 is instructed to do so. The data link control unit 208 requests the transfer control unit 212 for data required for frame construction, and sends the data to the loop transmission line 13 while assembling the frame.
同期フレームを受信したPCI#Aのデータリンク制御
部208は、該フレームをデータバッファ210にバッ
ファリングし、フレーム内の送信先サブチャネルアドレ
ス#iをIODレジスタ202に、同期表示(M)を報告
レジスタ211に設定する。装置制御部205は、同期
報告を受けたことを自プロセッサへ報告するため、DS
Bレジスタ204にデバイス終了(DE)を設定してI
/Oインタフェース制御部201へ報告動作を指示す
る。デハイス終了(DE)により、PCI#Aに対して
チャネルからコマンドリトライ指示が行われ、WRIT
Eコマンドが送られてくる。PCI#AのI/Oインタ
フェース制御部201は、コマンドリトライにより送ら
れてきたWRITEコマンド及びIODアドレス#iを
CMDレジスタ203及びIODレジスタ202に設定
する。装置制御部205は、IODレジスタ202で指
定されるサブチャネルテーブル206の該当サブチャネ
ル#iのSTA207をチェックして、パスが設定され
ており、WRITE系で同期が完了していると、起動が
正常に行われたことを示すため、DSBレジスタ204
にオール"0"を設定してI/Oインタフェース制御部2
01に報告動作を指示し、WRITEデータの転送に移
行する。転送制御部212は、チャネルから送られてき
たデータをデータバッファ210へバッファリングす
る。また、データリング制御部208は指示レジスタ2
09、IODレジスタ202、サブチャネルテーブル2
06、データバッファ210の情報により、第3図で示
すデータフレーム303を組み立て、ループ状伝送路1
3へ送出する。Upon receiving the synchronization frame, the data link control unit 208 of PCI #A buffers the frame in the data buffer 210, reports the destination subchannel address #i in the frame to the IOD register 202, and reports synchronization indication (M). Set in the register 211. Since the device control unit 205 reports to the own processor that the synchronization report has been received,
Set device end (DE) to B register 204
Instructs the / O interface control unit 201 to perform a reporting operation. Upon completion of the de-high speed (DE), a command retry instruction is issued from the channel to PCI # A, and WRIT
E command is sent. The PCI # A I / O interface control unit 201 sets the WRITE command and IOD address #i sent by the command retry in the CMD register 203 and the IOD register 202. The device control unit 205 checks the STA 207 of the corresponding sub-channel #i of the sub-channel table 206 specified by the IOD register 202, and if the path is set and the synchronization is completed in the WRITE system, the activation is started. The DSB register 204 indicates that the operation was successful.
Set all "0" to I / O interface controller 2
01 is instructed to perform a reporting operation, and the process proceeds to transfer of WRITE data. The transfer control unit 212 buffers the data sent from the channel in the data buffer 210. Further, the data ring control unit 208 uses the instruction register 2
09, IOD register 202, sub-channel table 2
06, information of the data buffer 210 is used to assemble the data frame 303 shown in FIG.
Send to 3.
ループ伝送路16からデータフレーム303を受信した
PCI#Bのデータリンク制御部208は、該フレーム
の送信先サブチャネルアドレス#jをIODレジスタ2
02に、データ転送であることを報告レジスタ211に
設定し、受信フレームをデータバッファ210にバッフ
ァリングする。装置制御部205はIODレジスタ20
2で指定されるサブチャネルテーブル206の該当サブ
チャネル#jをチェックし、その状態領域(STA)2
07にパス設定表示、READ系、同期完了表示がなさ
れており、送信元プロセッサアドレス#A、サブチャネ
ルアドレス#iが受信フレームで指定されたものと一致
していれば、RPコマンド再起動(リトライ)を促すた
め、DSBレジスタ204にデバイス終了(DE)表示
を行い、I/Oインタフェース制御部201に報告動作
を指示する。デバイス終了(DE)によりPCI#Bに
対してチャネルからコマンドリトライ指示が行われ、R
Pコマンドが送られてくる。PCI#BのI/Oインタ
フェース制御部201は、コマンドリトライで送られて
きたコマンド及びIODアドレス#jをCMDレジスタ
203及びIODレジスタ202に設定する。装置制御
部205はIODレジスタ202で指定されるサブチャ
ネルテーブル206の該当サブチャネル#jのSTA2
07をチェックして、パスが設定されており、READ
系で同期が完了していると、起動が正常に行われたこと
を示すため、DSBレジスタ204にオール"0"を設定
してI/Oインタフェース制御部201に起動報告動作
を指示し、パス情報読み込み動作に移行する。読み込み
動作終了後、正常終了報告をするため、DSBレジスタ
204にチャネル終了(DE)、デバイス終了(DE)
表示を行い、I/Oインタフェース制御部201に報告
動作を指示する。Upon receiving the data frame 303 from the loop transmission line 16, the data link control unit 208 of PCI #B sets the transmission destination sub-channel address #j of the frame to the IOD register 2
In 02, the data transfer is set in the report register 211, and the received frame is buffered in the data buffer 210. The device control unit 205 uses the IOD register 20.
2 checks the corresponding sub-channel #j of the sub-channel table 206 designated by 2 and its status area (STA) 2
If the path setting display, the READ system, and the synchronization completion display are displayed in 07 and the source processor address #A and the sub channel address #i match those specified in the received frame, the RP command restart (retry) is performed. Device end (DE) is displayed on the DSB register 204 and the I / O interface control unit 201 is instructed to perform a reporting operation. Upon device end (DE), a command retry instruction is issued from the channel to PCI # B, and R
P command is sent. The PCI #B I / O interface control unit 201 sets the command and IOD address #j sent by the command retry in the CMD register 203 and the IOD register 202. The device control unit 205 uses the STA2 of the corresponding subchannel #j of the subchannel table 206 designated by the IOD register 202.
Check 07, the path is set, READ
When synchronization is completed in the system, it indicates that the startup has been normally performed. Therefore, all "0" is set in the DSB register 204 to instruct the I / O interface control unit 201 to perform the startup report operation, Move to information reading operation. After the read operation is completed, the channel end (DE) and device end (DE) are written to the DSB register 204 to report the normal end.
The display is performed and the I / O interface control unit 201 is instructed to perform the reporting operation.
次にCE,DEを受け取ったPCI#Bのチャネルから
READコマンドが送られて来る。REAコマンドがP
CI#Bに入ると、PDI#BのCMDれジスタ203
にこのコマンドが入り、IODレジスタ202に指定レ
ジスタアドレス#jが設定される。装置制御部205
は、起動が正常に行われたことを示すため、DSBレジ
スタ204にオール"0"を設定してI/Oインタフェー
ス制御部201に起動報告動作を指示し、受信データの
READ動作に移行する。転送動作終了後、正常終了報
告するため、DSBレジスタ204にCE,DE表示を
行い、I/Oインタフェース制御部201に報告動作を
指示する。これと同時に、装置制御部205は、正常に
データを受信したことを相手プロセッサに報告するた
め、指示レジスタ209にACK表示を行い、データリ
ンク制御部208は第3図で示すACKフレーム304
を相手プロセッサへ送るよう指示する。そして、サブチ
ャネルテーブル206の対応アドレス部#jの内容を初
期の状態にもどす。Next, a READ command is sent from the PCI # B channel that has received CE and DE. REA command is P
When entering CI # B, the CMD register 203 of PDI # B
This command is entered in and the designated register address #j is set in the IOD register 202. Device control unit 205
Indicates that the activation is normally performed, all "0" is set in the DSB register 204 to instruct the I / O interface control unit 201 to perform the activation reporting operation, and the operation shifts to the READ operation of the reception data. After the transfer operation is completed, CE and DE are displayed in the DSB register 204 to report the normal end, and the I / O interface control unit 201 is instructed to perform the report operation. At the same time, the device control unit 205 displays ACK in the instruction register 209 in order to report to the partner processor that data has been normally received, and the data link control unit 208 causes the ACK frame 304 shown in FIG.
To send to the other processor. Then, the contents of the corresponding address part #j of the sub-channel table 206 are returned to the initial state.
PCI#Aもデータ送信後、PCI#BからACKフレ
ーム304を受信すると、装置制御部205はIODレ
ジスタ202の内容と受信ACKフレーム303の送信
先アドレスが一致しているかチェックする。該アドレス
が一致していて、ACKフレームから設定された報告レ
ジスタ211の内容が正常終了ならば、正常終了したこ
とを自プロセッサに報告するため、DSBレジスタ20
4にCE,DEを設定して、I/Oインタフェース制御
部201に報告動作を指示する。また、サブチャネルテ
ーブル206の対応アドレス#iの状態を初期の状態に
もどす。When the PCI # A also receives the ACK frame 304 from the PCI # B after transmitting the data, the device control unit 205 checks whether the contents of the IOD register 202 and the transmission destination address of the reception ACK frame 303 match. If the addresses match and the content of the report register 211 set from the ACK frame ends normally, the DSB register 20
CE and DE are set in 4, and the I / O interface control unit 201 is instructed to perform a reporting operation. Also, the state of the corresponding address #i in the sub-channel table 206 is returned to the initial state.
こゝでは、本方式についてループ状伝送路を一例として
説明を行ったが、バス形、スター形等どのようなトボロ
ジーの伝送路でも適用可能である。Although a loop-shaped transmission line has been described as an example of this system here, any tobology transmission line such as a bus type or a star type can be applied.
以上説明したように、本発明によれば、予めシステム立
ち上げ時パス設定を行ってデータ転送を行うモードの
他、予めシステム立ち上げ時パス設定を行わずにデータ
転送時にパス設定を行うモードも設けたゝめ、限られた
数のサブチャネルの有効利用や同報通信、データグラム
通信等の一時的な通信に対するサブチャネルの有効利用
が可能であるという利点、および、受信側でデータを受
信開始する前にパス情報をHOSTが知ることができる
ので、HOST側で受信データ格納領域を予め割り付け
出来る等、受信準備が可能であるという利点がある。As described above, according to the present invention, in addition to a mode in which a path is set in advance at system startup and data transfer is performed, a mode in which a path is set at data transfer without performing path setting at system startup in advance is also provided. The advantage is that the limited number of sub-channels can be effectively used and sub-channels can be effectively used for temporary communication such as broadcast communication and datagram communication, and the receiving side can receive data. Since the HOST can know the path information before the start, there is an advantage that the reception data storage area can be allocated in advance on the HOST side and the preparation for reception is possible.
第1図は本発明によるプロセッサ間通信方式の一実施例
を示す図、第2図は第1図におけるプロセッサ間接続装
置の詳細図、第3図は本発明方式による通信例を示す
図、第4図は従来のプロセッサ間通信方式の構成例を示
す図である。 10,11,12…プロセッサ、 20,21,22…チャネル、 13…伝送路、 14…プロセッサ間接続装置、 16…サブチャネル、 17…タスク。FIG. 1 is a diagram showing an embodiment of an interprocessor communication system according to the present invention, FIG. 2 is a detailed diagram of an interprocessor connection device in FIG. 1, and FIG. 3 is a diagram showing a communication example according to the present invention system. FIG. 4 is a diagram showing a configuration example of a conventional interprocessor communication system. 10, 11, 12 ... Processor, 20, 21, 22 ... Channel, 13 ... Transmission path, 14 ... Inter-processor connection device, 16 ... Sub-channel, 17 ... Task.
Claims (1)
続した情報処理システムにおいて、前記プロセッサと前
記伝送路の間にプロセッサ間接続装置を設置し、該プロ
セッサ間接続装置に、前記プロセッサの入出力動作を司
るチャネルのサブチャネル対応に通信パスを設定するた
めの送信先プロセッサアドレス、送信先サブチャネルア
ドレスおよび該バス設定状態を記憶する記憶手段と、1
対1の固定的サブチャネル対で通信を行うモード(以
下、相手固定モードという)と随時任意の相手サブチャ
ネルと通信を行うモード(以下、相手浮動モードとい
う)を指定する手段と、相手浮動モードで前記チャネル
からあるサブチャネルへの転送要求を受け付け、前記記
憶手段の該当サブチャネルに送信先プロセッサアドレ
ス、送信先サブチャネルアドレスを設定する手段と、前
記記憶手段の情報に基づいて送信フレームを組み立て、
伝送路へ送出する手段と、伝送路から該フレームを受信
し、該フレーム中で指定された送信元プロセッサアドレ
スおよび送信元サブチャネルアドレスを記憶手段に設定
し、送信元に対し同期通知を行うフレームを伝送路に送
出する手段と、伝送路から同期フレームを受信し、これ
を期にチャネルに対しデータ送信を要求し送信データフ
レームを伝送路に送出する手段と、伝送路からのデータ
受信で、最初のデータフレームを受信直後、パス設定状
態記憶中の当該サブチャネル内の送信元プロセッサアド
レス及び送信元サブチャネルアドレスを該フレーム中で
指定されたチャネル内のサブチャネルへ送信する手段
と、該フレーム中で指定されたチャネル内のサブチャネ
ルへ受信データフレームを送信する手段とを設けたこと
を特徴とするプロセッサ間通信方式。1. An information processing system in which a plurality of processors are interconnected by a transmission line, wherein an interprocessor connection device is installed between the processor and the transmission line, and the processor input / output of the processor is provided in the interprocessor connection device. Storage means for storing a destination processor address, a destination subchannel address, and the bus setting state for setting a communication path corresponding to the subchannel of the channel that controls the operation;
A means for designating a mode in which a pair of fixed sub-channels of pair 1 are used for communication (hereinafter referred to as partner fixed mode) and a mode for communicating with an arbitrary partner sub-channel (hereinafter referred to as partner floating mode), and a partner floating mode And a means for receiving a transfer request from the channel to a certain sub-channel, setting a destination processor address and a destination sub-channel address in the corresponding sub-channel of the storage means, and assembling a transmission frame based on the information in the storage means. ,
A means for sending to the transmission path and a frame for receiving the frame from the transmission path, setting the source processor address and the source subchannel address specified in the frame in the storage means, and notifying the source of synchronization. Means for sending to the transmission path, a means for receiving a synchronization frame from the transmission path, requesting data transmission to the channel in response to this, and sending out a transmission data frame to the transmission path, and receiving data from the transmission path, Immediately after receiving the first data frame, means for transmitting the source processor address and the source subchannel address in the subchannel stored in the path setting state to the subchannel in the channel specified in the frame; Means for transmitting a received data frame to a sub-channel within a channel specified in Support inter-communication system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60159638A JPH061454B2 (en) | 1985-07-19 | 1985-07-19 | Communication method between processors |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60159638A JPH061454B2 (en) | 1985-07-19 | 1985-07-19 | Communication method between processors |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6220055A JPS6220055A (en) | 1987-01-28 |
| JPH061454B2 true JPH061454B2 (en) | 1994-01-05 |
Family
ID=15698086
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60159638A Expired - Lifetime JPH061454B2 (en) | 1985-07-19 | 1985-07-19 | Communication method between processors |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH061454B2 (en) |
-
1985
- 1985-07-19 JP JP60159638A patent/JPH061454B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6220055A (en) | 1987-01-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR19980086584A (en) | Advanced mode transfer method and mechanism between systems | |
| KR920009449B1 (en) | Common Bus Control Method and System | |
| JPH061454B2 (en) | Communication method between processors | |
| JPS58158732A (en) | Communication system between processors | |
| JPS6266359A (en) | Communication system between processor | |
| JPS6222169A (en) | Inter-processor communication system | |
| JPS6222168A (en) | Communication system for inter-processor | |
| JP3799741B2 (en) | Bus controller | |
| JPH01229542A (en) | Data transmission equipment using lan | |
| JPH054040Y2 (en) | ||
| JPS6068763A (en) | Picture information controller | |
| JPH10207829A (en) | Bus controller | |
| JP3217086B2 (en) | Message Communication Method between Standby Controller and Message Device in Redundant System | |
| JPS63128837A (en) | Line controller | |
| JPH063938B2 (en) | Data transfer buffer system | |
| JPS58222634A (en) | Polling transmission system | |
| JP2666782B2 (en) | Multiple bus control system | |
| JPS61294506A (en) | High-speed PIO transmission method in programmable controller | |
| JP2735078B2 (en) | Communication control method | |
| JP2778408B2 (en) | Management device | |
| JPS6248838A (en) | Information collection system | |
| JPS58222635A (en) | Polling transmission system | |
| JPH054708B2 (en) | ||
| JPS6260044A (en) | Communication controller | |
| JPS6074836A (en) | Data transfer system |