JPS6266359A - Communication system between processor - Google Patents

Communication system between processor

Info

Publication number
JPS6266359A
JPS6266359A JP60207402A JP20740285A JPS6266359A JP S6266359 A JPS6266359 A JP S6266359A JP 60207402 A JP60207402 A JP 60207402A JP 20740285 A JP20740285 A JP 20740285A JP S6266359 A JPS6266359 A JP S6266359A
Authority
JP
Japan
Prior art keywords
subchannel
address
frame
processor
mode
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
JP60207402A
Other languages
Japanese (ja)
Inventor
Eiichi Uozumi
魚住 栄市
Takayuki Hoshiko
星子 隆幸
Yukio Kimura
行男 木村
Toshio Furukawa
古川 敏夫
Mitsuhiro Yamaga
山鹿 光弘
Hitoshi Kaminomura
神之村 均
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.)
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Hitachi Ltd, NEC Corp, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP60207402A priority Critical patent/JPS6266359A/en
Publication of JPS6266359A publication Critical patent/JPS6266359A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To effectively utilize a limited number of subchannels by providing a mode in which a bus is not set previously when a system is started up and set in data transfer. CONSTITUTION:Subchannels in opposite-processor fixed mode are set previously by a transmission-side and a reception-side interprocessor connecting device 14, but a couple of subchannels in opposite-processor floating mode are not set previously on the transmission and reception sides when the system is started up, but set in a path setting state storage area by the transmission-side connecting device 14 with a command every time data is transferred to transmit data immediately. The data reception side connecting device 14 checks channels in use from a received frame, a path check is not made in the opposite processor floating mode, and a path is set on the basis of the address information of the received frame, so that processors 10, 11, and 12 reads in bus information with a sense command after reading data.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、複数プロセッサ間の通信方式に係わリ、特に
複数のプロセッサ間のタスク間で直接データ転送を可能
にする通信方式に関するものである。
[Detailed description of the invention] [Technical field to which the invention pertains] The present invention relates to a communication method between multiple processors, and particularly to a communication method that enables direct data transfer between tasks between multiple processors. be.

〔従来の技術〕[Conventional technology]

第4図に従来のプロセッサ間通信方式の一構成例を示す
。第4図において、プロセッサ】0,11.12内の各
タスク17は、それぞれチャネル20.21.22のサ
ブチャネル16と1対1に対応付けられている。一方、
プロセッサ間接続装置14はチャネルインタフェース1
5によりプロセッサ10.11.12のチャネル20,
2]。
FIG. 4 shows a configuration example of a conventional inter-processor communication system. In FIG. 4, each task 17 in processors 0, 11.12 has a one-to-one correspondence with a subchannel 16 of channel 20.21.22, respectively. on the other hand,
Inter-processor connection device 14 is channel interface 1
channel 20 of processor 10.11.12 by 5;
2].

22に接続されている。プロセッサ間接続装置14内に
は、各サブチャネル対応に送信先プロセッサアドレス、
送信先サブチャネルアドレスおよびパス設定状態を記憶
する機能が具備されている。
22. In the inter-processor connection device 14, a destination processor address, a destination processor address, and a
A function is provided to store destination subchannel addresses and path setting states.

このプロセッサ間接続装置14を介して、複数のプロセ
ッサが任意のトポロジーの伝送路I3により相互に接続
されている。なお、各サブチャネルは1対1で接続され
ている。
A plurality of processors are interconnected via the inter-processor connection device 14 by a transmission path I3 having an arbitrary topology. Note that each subchannel is connected on a one-to-one basis.

サブチャネル間のデータ転送は、次の手順で行われる。Data transfer between subchannels is performed in the following steps.

送信側のプロセッサ間接続装置14では、送信先アドレ
スを指定する指令を受け付け、該I10アドレス(該サ
ブチャネルアドレス)に対応した記憶域に送信先プロセ
ッサアドレス、送信先サブチャネルアドレスを設定し、
該サブチャネルをアドレス設定状態にする。受信側のプ
ロセッサ間接続装置14でも同様のアドレス設定を行う
The inter-processor connection device 14 on the sending side receives a command specifying the destination address, sets the destination processor address and the destination subchannel address in the storage area corresponding to the I10 address (the subchannel address),
Put the subchannel into address setting state. A similar address setting is performed in the inter-processor connection device 14 on the receiving side.

データ転送要求発生時、送信側のプロセッサ間接続装置
14は、チャネルからデータ転送依頼を受けると、指定
サブチャネルアドレスに対応した記憶域から送信先プロ
セッサアドレス、送信先サブチャネルアドレスを読み出
し、送信フレームを紹み立て、伝送路へ該データを送出
する。もし、記憶域にアドレスが設定されていない場合
、チャネルにエラーを報告する。受信側のプロセッサ間
接続装置14では、伝送路からフレームを受信すると、
フレーム内で指定される送信先サブチャネルアドレスに
対応した記憶領域の状態情報をチェックし、受信可能な
らば、チャネルの該当サブチャネルに対してデータの受
信を要求する。もし、受信が不可能ならその旨を送信元
へ報告する。
When a data transfer request is generated, the inter-processor connection device 14 on the sending side receives a data transfer request from the channel, reads the destination processor address and the destination subchannel address from the storage area corresponding to the specified subchannel address, and frames the transmission frame. and sends the data to the transmission path. If the address is not set in the storage area, an error is reported 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 subchannel address specified in the frame, and if it is receivable, requests the corresponding subchannel of the channel to receive data. If reception is not possible, report this to the sender.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように、従来方式では、データ転送を行う前のシス
テム立ち一]こげ時に、予め送信側と受信側両方のパス
設定状態を記憶する記憶域の1つに相手プロセッサアド
レス、相手サブチャネルアドレスを設定して置く必要が
ある。すなわち、予め1対lのサブチャネル対を設定し
ておくものである。
In this way, in the conventional method, when the system is restarted before data transfer, the other party's processor address and the other party's subchannel address are stored in one of the storage areas that stores the path setting status of both the sending side and the receiving side in advance. It needs to be set. That is, 1:1 subchannel pairs are set in advance.

そのため、同報通信やデータ回覧用のデータグラム通信
など頻度の低い通信まで予めサブチャネル対を設定して
おくことになるため、サブチャネル対の使用が非効率的
であり、サブチャネル対の不足が問題となる欠点がある
Therefore, subchannel pairs must be set in advance for infrequent communications such as broadcast communications and datagram communications for data circulation, resulting in inefficient use of subchannel pairs and a shortage of subchannel pairs. There are drawbacks that pose problems.

本発明の目的は、複数プロセッサ間の通信方式において
、限られた数のサブチャネルを有効に利用することにあ
る。
An object of the present invention is to effectively utilize a limited number of subchannels in a communication system between multiple processors.

〔問題点を解決するための手段及び作用〕本発明は、従
来のあらかじめ1対】の固定的サブチャネル対を設定し
たデータ転送モード(相手固定モード)の他に、データ
転送の都度、サブチー4= ヤネル対を設定、解放してデータ転送を行うモード(相
手浮動モード)を設ける。各サブチャネルは、これら2
種類のモードのどちらかにあらかじめ設定されているも
のとし、通信はモードを選択して行う。
[Means and operations for solving the problem] In addition to the conventional data transfer mode (partner fixed mode) in which fixed sub-channel pairs (one pair) are set in advance, the present invention provides four sub-channels for each data transfer. = Provide a mode (partner floating mode) in which data is transferred by setting and releasing a Janel pair. Each subchannel consists of these two
It is assumed that one of the various modes is set in advance, and communication is performed by selecting the mode.

相手固定モードのサブチャネルは、送信側および受信側
のプロセッサ間接続装置で予めサブチャネル対を設定し
ておくが、相手浮動モードのサブチャネルは、システム
立ち上げ時、送信側および受信側で予めサブチャネル対
(パス)を設定せず、データ転送の都度、送信側のプロ
セッサ間接続装置でパス設定状態記憶域にコマンドによ
り、設定し、その後、直ちにデータを送信する。データ
受信側のプロセッサ間接続装置では、受信したフレーム
から使用サブチャネルを見て、相手浮動モードの場合は
、データ受信時、パス設定状態記憶域の内容に基づいた
パスチェック(指定された送信元サブチャネルアドレス
以外は拒絶する。)をせず、受信フレームのアドレス情
報に基づいてパスを設定し、プロセッサがデータをリー
ド後に(READコマンドにより)、センスコマンドに
よりパス情報を読み込む。なお、パス情報の読み込み終
了までは相手サブチャネルからの次の要求を受け付けな
いものとする。
For subchannels in fixed partner mode, subchannel pairs are set in advance on the interprocessor connection device on the sending and receiving sides, but for subchannels in floating partner mode, pairs are set in advance on the sending and receiving sides at the time of system startup. Instead of setting a subchannel pair (path), each time data is transferred, it is set in the path setting state storage area by a command in the interprocessor connection device on the sending side, and then data is immediately transmitted. The inter-processor connection device on the data receiving side checks the used subchannel from the received frame and, if the other party is in floating mode, performs a path check based on the contents of the path setting status storage area when receiving data. (rejecting addresses other than subchannel addresses), a path is set based on the address information of the received frame, and after the processor reads the data (by the READ command), the path information is read by the sense command. Note that the next request from the other subchannel will not be accepted until the path information has been read.

〔実施例〕〔Example〕

第1図は本発明の一実施例の構成図である。基本的な構
成は第4図と同様であるが、例えば、サブチャネル16
−5を他のサブチャネル16−1に1対1で固定的に結
合することはせず、一つにデータ転送が終了した時点で
別のサブチャネル16−10と結合できるようにする。
FIG. 1 is a block diagram of an embodiment of the present invention. The basic configuration is the same as that in FIG. 4, but for example, subchannel 16
-5 is not fixedly coupled to another subchannel 16-1 on a one-to-one basis, but can be coupled to another subchannel 16-10 when data transfer is completed.

このため、プロセッサ間結合装置14には次の機能を持
たせる。
For this reason, the inter-processor coupling device 14 is provided with the following functions.

■ システム立ち上げ時、各サブチャネルを相手固定モ
ードと相手浮動モードに割り当てておく。
■ When starting up the system, assign each subchannel to fixed partner mode and floating partner mode.

■ 相手固定モードのサブチャネルの記憶領域に対して
は、相手サブチャネルに書き込んでおいて予めサブチャ
ネル対を設定しておく。相手浮動モードのサブチャネル
に対しては、この設定は行わない。
(2) For the storage area of a subchannel in fixed partner mode, write to the partner subchannel and set a subchannel pair in advance. This setting is not performed for subchannels in partner floating mode.

■ 相手固定モードでのデータ転送動作機能は、従来の
通りである。
■ Data transfer operation function in fixed destination mode remains the same as before.

■ 相手浮動モードでのデータ転送動作機能は、以下の
通りである。
■ Data transfer operation functions in partner floating mode are as follows.

イ、データ転送要求発生時、まず送信先アドレスを設定
する指令を受け付け、そのI10アドレス(サブチャネ
ルアドレス)に対応した記憶領域に送信先プロセッサア
ドレス、送信先サブチャネルを設定し、該当サブチャネ
ルをアドレス設定状態にする。
B. When a data transfer request occurs, first accept a command to set the destination address, set the destination processor address and destination subchannel in the storage area corresponding to the I10 address (subchannel address), and then select the corresponding subchannel. Enter the address setting state.

口、チャネルからデータ転送依頼を受けると、指定サブ
チャネルアドレスに対応した記憶域から送信先アドレス
、及び送信先サブチャネルアドレスを読み出し、WRI
RE要求送信フレームを組み立て、伝送路へ該データを
送出する。
When a data transfer request is received from a channel, the destination address and destination subchannel address are read from the storage area corresponding to the specified subchannel address, and the WRI
It assembles an RE request transmission frame and sends the data to the transmission path.

ハ、伝送路からWRITE要求フレームを受信すると、
フレーム内で指定される送信先サブチャネルアドレスに
対応した記憶領域の状態情報をチェックし、状態がRE
AD表示であり、該サブチャネルが使用中でなく受信可
能−7= ならば、該記憶領域に送信元プロセッサアドレスと送信
元サブチャネルアドレスを書き込み、送信元に対し同期
通知を行うフレームを伝送路に送出する。該サブチャネ
ルが使用中であれば、その旨送信元へ報告する。
C. Upon receiving a WRITE request frame from the transmission path,
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 an AD display and the subchannel is not in use and can be received -7, then write the source processor address and the source subchannel address in the storage area, and send the frame that notifies the source of synchronization to the transmission path. Send to. If the subchannel is in use, this fact is reported to the transmission source.

二、伝送路から同期フレームを受信すると、チャネルに
対しデータの送信を要求し、該データをフレーム化して
伝送路へ送出する。
2. When receiving a synchronization frame from the transmission path, it requests the channel to send data, frames the data, and sends it to the transmission path.

ホ、伝送路からデータフレームを受信すると、チャネル
の該当サブチャネルに対してデータの受信を要求する。
E. When a data frame is received from the transmission path, a request is made to the corresponding subchannel of the channel to receive data.

全データを受信終了後、センス指令によりパス設定記憶
域から送信元アドレス、送信元サブチャネルアドレスを
プロセッサ側に読み込む。
After all data has been received, the source address and source subchannel address are read into the processor from the path setting storage area using a sense command.

第2図は本発明を適用したプロセッサ間接続装置の一実
施例であり、I10インタフェース制御部201、入出
力データ(IOD)レジスタ202、コマンド(CM 
D)レジスタ203、デバイス状態(DSB)レジスタ
204、装置制御部205、サブチャネルテーブル20
6.データリン=8= り制御部20B、指示(IR)レジスタ209、データ
バッファ210、報告(SR)レジスタ211などで構
成される。サブチャネルテーブル206は、当該プロセ
ッサ間接続装置に接続されるチャネルの各サブチャネル
対応に、通信パスを設定するための相手プロセッサアド
レス(DPCI)、相手サブチャネルアドレス(D S
 B C)および該パス設定状態(STA)を記憶する
領域を有している。
FIG. 2 shows an embodiment of an inter-processor connection device to which the present invention is applied, which includes an I10 interface control unit 201, an input/output data (IOD) register 202, and a command (CM
D) Register 203, device status (DSB) register 204, device control unit 205, subchannel table 20
6. Data link=8= It is composed of a data link controller 20B, an instruction (IR) register 209, a data buffer 210, a report (SR) register 211, and the like. The subchannel table 206 includes a destination processor address (DPCI) and a destination subchannel address (D S
B C) and an area for storing the path setting status (STA).

以下、第3図の通信例に基づき、第2図を中心に転送動
作を説明する。相手固定モードのデータ転送動作例は、
従来の方法と同じなので、こぎでは相手浮動モードの場
合のみ説明する。なお、第3図において、左端のHO8
Tは、第1図のプロセッサ10に、R,CI#Aは該プ
ロセッサ10と接続されているプロセッサ間接続装置1
4に、又、右端のHO8Tは第1図のプロセッサ11に
、RCT#Bは該プロセッサ11と接続されているプロ
セッサ間接続装置14に対応するものとする。
Hereinafter, based on the communication example shown in FIG. 3, the transfer operation will be explained with reference to FIG. 2. An example of data transfer operation in fixed destination mode is
Since it is the same as the conventional method, only the case of opponent floating mode will be explained here. In addition, in Fig. 3, HO8 at the left end
T is the processor 10 in FIG. 1, and R and CI#A are the inter-processor connection device 1 connected to the processor 10.
4, HO8T at the right end corresponds to the processor 11 in FIG. 1, and RCT#B corresponds to the inter-processor connection device 14 connected to the processor 11.

HO8TからのI10アドレス#1 (サブチャネルア
ドレス#i)に対するパス設定指令(例えばSETコマ
ンド)を受け付けたプロセッサ間接続装置PCT #A
は、I10インタフェース制御部201によりチャネル
からT10アドレスおよび動作指令が送られて来たこと
を知ると、T10アドレスttjはTODレジスタ20
2に、動作指令SETはCMDレジスタ223に設定し
、起動結果をDSBレジスタ204に設定してチャネル
に報告する。装置制御部205は、引き続きチャネルか
ら送信先プロセッサアドレス(DP(1)#B、サブチ
ャネルアドレス(DSBC)#jが送られてくると、T
ODレジスタ202で指定されるサブチャネルテーブル
206のサブチャネル#iに該送信先アドレス#R,#
jおよびパス設定表示を設定し、該設定が正常に終ると
、DSBレジスタ204にチャネル終了(CE)、デバ
イス終了(DE)を設定して、チャネルへパス設定動作
が正常に終了したことを報告する。
Inter-processor connection device PCT #A that received a path setting command (for example, SET command) for I10 address #1 (subchannel address #i) from HO8T
When the I10 interface control unit 201 learns that the T10 address and operation command have been sent from the channel, the T10 address ttj is stored in the TOD register 20.
2, the operation command SET is set in the CMD register 223, the activation result is set in the DSB register 204, and reported to the channel. When the device control unit 205 continues to receive the destination processor address (DP(1) #B and subchannel address (DSBC) #j from the channel,
The destination address #R, # is specified in the subchannel #i of the subchannel table 206 specified by the OD register 202.
j and path setting display, and when the setting is completed normally, sets the channel end (CE) and device end (DE) in the DSB register 204, and reports to the channel that the path setting operation has completed normally. do.

続いて転送動作の指令に移る。データはPCI#Aから
PCI#Bに転送されるものとする。PCIaB側のH
OS Tプロセッサ上のタスクは、全てのサブチャネル
にREADコマンドの先行読み込み指令を行い、PCI
 aA側のHOS Tプロセッサのタスクは、転送要求
が発生した時点で対応サブチャネルにWRTTEコマン
ドの書き込み要求を行う。先行読み込みは多重処理によ
り全てのサブチャネルに対して次のように行われる。あ
るR E A Dコマンドが発行されると、PCT #
BのCMDレジスタ203にREADコマンドが入り、
指定されたサブチャネルアドレスがl0r)レジスタ2
02に設定される。第3図では、サブチャネルアドレス
#jが指定される場合を示している。装置制御部205
はIODレジスタ202で指定されるサブチャネルテー
ブル206の該当サブチャネル#jの状態領域(STA
)207にRE A D要求があったことを設定し、D
SBレジスタ204にコマンド再試行要求(RE T 
>表示(SM、GE、UC)を行い、I10インタフェ
ース制御部201に報告動作を行うように指示する。
Next, the process moves to the transfer operation command. It is assumed that data is transferred from PCI#A to PCI#B. H on PCIaB side
The task on the OS T processor issues a pre-read command of the READ command to all subchannels, and
The task of the HOST processor on the aA side issues a write request for a WRTTE command to the corresponding subchannel when a transfer request occurs. Preliminary reading is performed for all subchannels by multiple processing as follows. When a certain R E A D command is issued, PCT #
A READ command is entered in the CMD register 203 of B,
The specified subchannel address is l0r) register 2
Set to 02. FIG. 3 shows a case where subchannel address #j is specified. Device control unit 205
is the state area (STA) of the corresponding subchannel #j in the subchannel table 206 specified by the IOD register
) 207 to indicate that there was a RE A D request, and
A command retry request (RET) is sent to the SB register 204.
> display (SM, GE, UC) and instructs the I10 interface control unit 201 to perform a reporting operation.

一方、PCr #AにWR1TEコマンドが発行される
と、上記と同様にして、CMDレジスタ203にWRT
TEが、TOr’)レジスタ202に#iが設定される
。装置制御部205はWRI’I’E要求があったこと
をTODレジスタ202で指定されるサブチャネルテー
ブル206の該当サブチャネル#iに登録すると\もに
、データリンク制御部208への指示レジスタ209に
WRITE要求を設定する。データリンク制御部208
は該指示レジスタ209、TODレジスタ202、サブ
チャネルテーブル206の情報に基づき、第3図の送信
要求フレーム301を組立て、ループ状伝送路13へ送
出すると\もに、DSBレジスタ204にコマンド用再
試行要求(RET)表示(SM、CE、1.、JC)を
行い、I10インタフェース制御部201に報告動作を
行うよう指示する。
On the other hand, when the WR1TE command is issued to PCr #A, WRT is written to the CMD register 203 in the same way as above.
TE is set to #i in the TOr' register 202. When the device control unit 205 registers that a WRI'I'E request has been made in the corresponding subchannel #i of the subchannel table 206 specified by the TOD register 202, the device control unit 205 sends an instruction register 209 to the data link control unit 208. Set the WRITE request to . Data link control unit 208
Assembles the transmission request frame 301 shown in FIG. 3 based on the information in the instruction register 209, TOD register 202, and subchannel table 206, and sends it to the loop-shaped transmission path 13. At the same time, it sends the command retry frame to the DSB register 204. A request (RET) is displayed (SM, CE, 1., JC) to instruct the I10 interface control unit 201 to perform a reporting operation.

送信要求フレーム301を受信したPCI #Bのデー
タリンク制御部208は、該フレームをデータバッファ
210にバッファリングして、フレーム内の送信先サブ
チャネルアドレス#jを■0Dレジスタ202に、WR
ITE要求を報告レジスタ211に入れる。装置制御部
205は、該■ODレジスタ202で指定されるサブチ
ャネルアドレスが浮動モードであることを確認し、パス
チェック(サブチャネルテーブル206の該サブチャネ
ルに書き込まれたものかどうかをチェック)せずに、サ
ブチャネルテーブル206の該当サブチャネル#jの状
態領域(STA)に登録されている状態情報がREAD
表示でデータ受信が可能なことを確認すると、送信元プ
ロセッサアドレス#A、サブチャネルアドレス#iをサ
ブチャネルテーブル206のサブチャネル#jに書き込
み、相手プロセッサにデータ送信要求通知を行うために
、指示レジスタ209に同期表示(M)を行い、第3図
の同期報告フレーム302をPCI#Aに送出するよう
データリンク制御部208に指示する。データリンク制
御部208は転送制御部212にフレーム構成に必要な
データ要求を行い、フレームを組み立てながらループ状
伝送路I3へ送出する。
The data link control unit 208 of PCI #B, which received the transmission request frame 301, buffers the frame in the data buffer 210 and writes the transmission destination subchannel address #j in the frame to the 0D register 202 as WR.
Place the ITE request into the report register 211. The device control unit 205 confirms that the subchannel address specified in the OD register 202 is in floating mode, and performs a pass check (checks whether it has been written to the subchannel in the subchannel table 206). The status information registered in the status area (STA) of the corresponding subchannel #j in the subchannel table 206 is read
When the display confirms that data reception is possible, the sender processor address #A and subchannel address #i are written to subchannel #j of the subchannel table 206, and instructions are sent to notify the other processor of a data transmission request. A synchronization indication (M) is made in the register 209, and the data link control unit 208 is instructed to send the synchronization report frame 302 shown in FIG. 3 to PCI#A. The data link control unit 208 requests data necessary for frame configuration from the transfer control unit 212, and sends the frame to the loop-shaped transmission path I3 while assembling the frame.

同期フレームを受信したPCI SAのデータリンク制
御部208は、該フレームをデータバッファ210にバ
ッファリングし、フレーム内の送信先サブチャネルアド
レス#iをTODレジスタ202に、同期表示(M)を
報告レジスタ211に設定する。装置制御部205は、
同期報告を受けたことを自プロセッサへ報告するため、
DSBレジスタ204にデバイス終了(DE)を設定し
てI10インタフェース制御部201へ報告動作を指示
する。デバイス終了(DE)により、PCT#Aに対し
てチャネルからコマンドリトライ指示が行われ、WRI
TEコマンドが送られてくる。
The data link control unit 208 of the PCI SA that received the synchronization frame buffers the frame in the data buffer 210, sends the destination subchannel address #i in the frame to the TOD register 202, and sends the synchronization indication (M) to the report register. Set to 211. The device control unit 205
In order to report to the own processor that the synchronization report has been received,
Device termination (DE) is set in the DSB register 204 to instruct the I10 interface control unit 201 to perform a reporting operation. Due to device termination (DE), a command retry instruction is issued from the channel to PCT#A, and WRI
A TE command is sent.

PCT SAのI10インタフェース制御部201は、
コマンドリトライにより送られてきたWRITEコマン
ド及びTODアドレス#iをCMDレジスタ203及び
TODレジスタ202に設定する。装置制御部205は
、TODレジスタ202で指定されるサブチャネルテー
ブル206の該当サブチャネル#iの5TA207をチ
ェックして、パスが設定されており、WRITE系で同
期が完了していると、起動が正常に行われたことを示す
ため、DSBレジスタ204にオール″0″′を設定し
てI10インタフェース制御部201に報告動作を指示
し、WRITEデータの転送に移行する。
The I10 interface control unit 201 of the PCT SA,
The WRITE command and TOD address #i sent by command retry are set in the CMD register 203 and TOD register 202. The device control unit 205 checks the 5TA 207 of the corresponding subchannel #i in the subchannel table 206 specified by the TOD register 202, and if the path is set and the synchronization is completed in the WRITE system, the startup is started. In order to indicate that the process has been carried out normally, all "0"' are set in the DSB register 204, the I10 interface control unit 201 is instructed to perform a reporting operation, and the process proceeds to the transfer of WRITE data.

転送制御部212は、チャネルから送られてきたデータ
をデータバッファ210ヘバツフアリングする。また、
データリング制御部208は指示レジスタ209、IO
Dレジスタ202、サブチャネルテーブル206、デー
タバッファ210の情報により、第3図で示すデータフ
レーム303を組み立て、ループ状伝送路13へ送出す
る。
The transfer control unit 212 buffers the data sent from the channel to the data buffer 210. Also,
The data ring control unit 208 has an instruction register 209, an IO
The data frame 303 shown in FIG.

ループ伝送路16からデータフレーム303を受信した
PCI#Bのデータリンク制御部208は、該フレーム
の送信先サブチャネルアドレス#jをIODレジスタ2
02に、データ転送であることを報告レジスタ211に
設定し、受信フレームをデータバッファ210にバッフ
ァリングする。
The data link control unit 208 of PCI #B, which received the data frame 303 from the loop transmission path 16, stores the transmission destination subchannel address #j of the frame in the IOD register 2.
02, the report register 211 is set to indicate that it is a data transfer, and the received frame is buffered in the data buffer 210.

装置制御部205はIODレジスタ202で指定される
サブチャネルテーブル206の該当サブチャネル#jを
チェックし、その状態領域(STA)207にパス設定
表示、READ系、同期完了表示がなされており、送信
元プロセッサアドレス#A、サブチャネルアドレス#i
が受信フレームで指定されたものと一致していれば、R
EADコマンド再起動(リトライ)を促すため、DSB
レジスタ204にデバイス終了(DE)表示を行い、I
10インタフェース制御部201に報告動作を指示する
。デバイス終了(DE)により、PCI#Bに対してチ
ャネルからコマンドリトライ指示が行われ、READコ
マンドが送られてくる。PCI#HのI10インタフェ
ース制御部201は、コマンドリトライで送られてきた
コマンド及び■ODアドレス# j ti’cMDレジ
スタ203及びIODレジスタ202に設定する。装置
制御部205はIODレジスタ202で指定されるサブ
チャネルテーブル206の該当サブチャネル#jの5T
A207をチェックして、パスが設定されており、RE
AD系で同期が完了していると、起動が正常に行われた
ことを示すため、DSBレジスタ204にオール110
1yを設定してI10インタフエ−ス制御部201に起
動報告動作を指示し、受信データのREAD動作に移行
する。データ受信動作終了後、正常終了報告をするため
、DSBレジスタ204にチャネル終了(CE)、デバ
イス終了(DE)表示を行い、I10インタフェース制
御部201に報告動作を指示する。これと同時に、装置
制御部205は正常にデータを受信したことを相手プロ
セッサに報告するため、指示レジスタ209にACK表
示を行い、データリンク制御部208は第3図で示すA
CKフレームを相手プロセッサへ送るよう指示する。
The device control unit 205 checks the corresponding subchannel #j in the subchannel table 206 specified by the IOD register 202, and finds that the path setting display, READ system, and synchronization completion display are displayed in the status area (STA) 207. Original processor address #A, subchannel address #i
matches that specified in the received frame, then R
In order to prompt EAD command restart (retry), DSB
Displays device end (DE) in the register 204, and
10 instructs the interface control unit 201 to perform a reporting operation. Upon device termination (DE), a command retry instruction is issued from the channel to PCI#B, and a READ command is sent. The I10 interface control unit 201 of PCI#H sets the command and OD address # j ti'c MD register 203 and IOD register 202 that were sent in the command retry. The device control unit 205 selects 5T of the corresponding subchannel #j in the subchannel table 206 specified by the IOD register 202.
Check A207, path is set and RE
When synchronization is completed in the AD system, all 110 is set in the DSB register 204 to indicate that startup was performed normally.
1y is set to instruct the I10 interface control unit 201 to perform an activation report operation, and the process proceeds to a received data READ operation. After the data reception operation is completed, in order to report normal completion, channel end (CE) and device end (DE) are displayed in the DSB register 204, and the I10 interface control unit 201 is instructed to perform a reporting operation. At the same time, the device control unit 205 displays an ACK in the instruction register 209 in order to report to the other processor that the data has been received normally, and the data link control unit 208
Instructs to send a CK frame to the other processor.

CE、DEを受け取ったPCI #Bのチャネルからは
、コマンドチェイン指示により、センスデバイスコマン
ド(例えば5ENSE  PCI)が送られて来る。セ
ンスデバイスコマンドがPCI#Bに入ると、PCI#
BのCMDレジスタ203にこのコマンドが入り、IO
Dレジスタ202に指定サブチャネルアドレス#jが設
定される。
A sense device command (for example, 5ENSE PCI) is sent from the PCI #B channel that has received CE and DE in accordance with a command chain instruction. When the sense device command enters PCI#B, PCI#
This command enters the CMD register 203 of B, and the IO
Specified subchannel address #j is set in D register 202.

装置制御部205は、起動が正常に行われたことを示す
ため、DSBレジスタ204にオールII OIIを設
定してI10インタフェース制御部201に起動報告動
作を指示し、その後10Dレジスタ202で設定される
サブチャネルデータ206の該当サブチャネル内の相手
アドレス#A、相手サブチャネルアドレス#iを転送す
る。転送動作終了後、正常終了報告をするために、DS
Bレジスタ204にCE、DE表示を行い、T10イン
タフ工−ス制御部201に報告動作を指示する。これと
同時に装置制御部205は、サブチャネル206の対応
アドレス部の内容を初期の状態にもどす。
In order to indicate that the startup has been performed normally, the device control unit 205 sets all II OII in the DSB register 204 and instructs the I10 interface control unit 201 to perform a startup reporting operation, and then sets it in the 10D register 202. The destination address #A and the destination subchannel address #i in the corresponding subchannel of the subchannel data 206 are transferred. After the transfer operation is completed, the DS
CE and DE are displayed in the B register 204, and the T10 interface control unit 201 is instructed to perform a reporting operation. At the same time, the device control unit 205 returns the contents of the corresponding address section of the subchannel 206 to its initial state.

PCI SAもデータ送信後、PC1#BからACKフ
レーム304を受信すると、装置制御部205はIOD
レジスタ202の内容と受信A−G Kフレーム304
の送信先アドレスが一致しているかチェックする。該ア
ドレスが一致していて、ACKフレームから設定された
報告レジスタ211の内容が正常終了ならば、正常終了
したことを自プロセッサに報告するため、DSBレジス
タ204にCE、DEを設定して、I10インタフェー
ス制御部201に報告動作を指示する。また、サブチャ
ネルテーブル206の対応アドレス#iの状態を初期の
状態にもどす。
When the PCI SA also receives an ACK frame 304 from PC1#B after transmitting data, the device control unit 205 sends the IOD
Contents of register 202 and received A-G K frame 304
Check whether the destination addresses match. If the addresses match and the contents of the report register 211 set from the ACK frame indicate normal completion, set CE and DE in the DSB register 204 to report normal completion to the own processor. Instructs the interface control unit 201 to perform a reporting operation. Further, the state of the corresponding address #i in the subchannel table 206 is returned to the initial state.

こNでは、本方式についてループ状伝送路を一例として
説明を行ったが、パス形、スター形等どのようなトポロ
ジーの伝送路でも適用可能である。
Although this method has been described using a loop-shaped transmission path as an example, it is also applicable to transmission paths of any topology, such as path type or star type.

〔発明の効果〕 以上説明したように、本発明によれば、予めシステム立
ち上げ時パス設定を行ってデータ転送を行うモードの他
に、予めシステム立ち上げ時パス設定を行わずにデータ
転送時にパス設定を行うモードを設けた\め、限られた
数のサブチャネルの有効利用や回報通信、データグラム
通信等の一時的な通信に対するサブチャネルの有効利用
が可能であるという利点がある。
[Effects of the Invention] As explained above, according to the present invention, in addition to the mode in which a path is set in advance at system startup and data transfer is performed, there is also a mode in which data is transferred without setting a path in advance at system startup. The provision of a path setting mode has the advantage that a limited number of subchannels can be used effectively, and subchannels can be used effectively for temporary communications such as broadcast communications and datagram communications.

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

第1図は本発明によるプロセッサ間通信方式の一実施例
を示す図、第2図は第1図におけるプロセッサ間接続装
置の詳細図、第3図は本発明方式による通信例を示す図
、第4図は従来のプロセッサ間通信方式の一例を示す図
である。 =19− 10.11.12・・・プロセッサ、 20.21.22・・・チャネル、 】3・・・伝送路、  14・・・プロセッサ間接続装
置、16・・・サブチャネル、  17・・・タスク。
FIG. 1 is a diagram showing an embodiment of the inter-processor communication method according to the present invention, FIG. 2 is a detailed diagram of the inter-processor connection device in FIG. 1, and FIG. FIG. 4 is a diagram showing an example of a conventional inter-processor communication system. =19- 10.11.12...Processor, 20.21.22...Channel, ]3...Transmission line, 14...Inter-processor connection device, 16...Subchannel, 17... ·task.

Claims (1)

【特許請求の範囲】[Claims] (1)複数のプロセッサ間を伝送路により相互接続した
情報処理システムにおいて、前記プロセッサと前記伝送
路の間にプロセッサ間接続装置を設置し、該プロセッサ
間接続装置に、前記プロセッサの入出力動作を司るチャ
ネルのサブチャネル対応に通信パスを設定するための送
信先プロセッサアドレス、送信先サブチャネルアドレス
および該パス設定状態を記憶する記憶手段と、1対1の
固定的サブチャネル対で通信を行うモード(以下、相手
固定モードという)と随時任意の相手サブチャネルと通
信を行うモード(以下、相手浮動モードという)を指定
する手段と、相手浮動モードで前記チャネルからあるサ
ブチャネルへの転送要求を受け付け、前記記憶手段の該
当サブチャネルに送信先プロセッサアドレス、送信先サ
ブチャネルアドレスを設定する手段と、前記記憶手段の
情報に基づいて送信フレームを組み立て、伝送路へ送出
する手段と、伝送路から該フレームを受信し、該フレー
ム中で指定された送信元プロセッサアドレスおよび送信
元サブチャネルアドレスを記憶手段に設定し、送信元に
対し同期通知を行うフレームを伝送路に送出する手段と
、伝送路から同期フレームを受信し、これを期にチャネ
ルに対しデータ送信を要求し送信データフレームを伝送
路に送出する手段と、このフレームを伝送路から受信し
、該受信フレーム中で指定されたチャネル内のサブチャ
ネルへ受信フレームを送信する手段と、受信フレームを
サブチャネルへ送信し終わった後、記憶手段中の当該サ
ブチャネル内の送信元プロセッサアドレス及び送信元サ
ブチャネルアドレスを該フレーム中で指定されたチャネ
ル内のサブチャネルへ送信する手段を設けたことを特徴
とするプロセッサ間通信方式。
(1) In an information processing system in which a plurality of processors are interconnected by a transmission path, an inter-processor connection device is installed between the processors and the transmission path, and the input/output operations of the processors are connected to the inter-processor connection device. Storage means for storing a destination processor address, a destination subchannel address, and the path setting state for setting a communication path corresponding to a subchannel of a channel to be controlled, and a mode for communicating in a one-to-one fixed subchannel pair. (hereinafter referred to as partner fixed mode) and a mode for communicating with any partner subchannel at any time (hereinafter referred to as partner floating mode); and a means for specifying a mode for communicating with any partner subchannel at any time (hereinafter referred to as partner floating mode), and accepting a transfer request from the channel to a certain subchannel in partner floating mode. , means for setting a destination processor address and a destination subchannel address in the corresponding subchannel of the storage means, means for assembling a transmission frame based on the information in the storage means and sending it to the transmission path, means for receiving a frame, setting a source processor address and a source subchannel address specified in the frame in a storage means, and transmitting a frame to a transmission path for notifying the transmission source of synchronization; means for receiving a synchronization frame, requesting data transmission from a channel based on the synchronization frame, and sending a transmission data frame to a transmission path; means for transmitting a received frame to a subchannel; and after transmitting the received frame to a subchannel, a source processor address in the subchannel and a source subchannel address in the storage means are specified in the frame; An inter-processor communication method characterized by providing means for transmitting to a subchannel within a channel.
JP60207402A 1985-09-19 1985-09-19 Communication system between processor Pending JPS6266359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60207402A JPS6266359A (en) 1985-09-19 1985-09-19 Communication system between processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60207402A JPS6266359A (en) 1985-09-19 1985-09-19 Communication system between processor

Publications (1)

Publication Number Publication Date
JPS6266359A true JPS6266359A (en) 1987-03-25

Family

ID=16539146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60207402A Pending JPS6266359A (en) 1985-09-19 1985-09-19 Communication system between processor

Country Status (1)

Country Link
JP (1) JPS6266359A (en)

Similar Documents

Publication Publication Date Title
US5944797A (en) Data mover hardware controlled processing in a commanding system and in a commanded system for controlling frame communications on a link
JPH05509423A (en) High speed flexible source/destination data burst direct memory access controller
JPS63255759A (en) Control system
JPS6266359A (en) Communication system between processor
JPS58158732A (en) Communication system between processors
JPH061454B2 (en) Communication method between processors
JPS6222169A (en) Inter-processor communication system
JPH0158900B2 (en)
JPS6222168A (en) Communication system for inter-processor
JPH11252150A (en) Network connection device and network connection control method
JPS6068763A (en) Picture information controller
JPH01229542A (en) Data transmission equipment using lan
JPH04282938A (en) Communication controller
JPS6154556A (en) Inter-memory data transfer system
JPH0471224B2 (en)
JPS6278639A (en) Memory access system
JPH10207829A (en) Bus controller
JPS58219856A (en) Data communication system
JPS6249742A (en) Data transmitting/receiving system
JPH036766A (en) Multi-address communication system in multi-processor
JPH07105797B2 (en) Polling control transmission processing method of HDLC procedure
JPS6187445A (en) Four-wire type semi-duplex communication system
JPS62192841A (en) Data transmission system
JPH04188350A (en) Memory circuit and decentralized processing system
JPH0253816B2 (en)