Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6362779B2 - - Google Patents
[go: Go Back, main page]

JPS6362779B2 - - Google Patents

Info

Publication number
JPS6362779B2
JPS6362779B2 JP57075688A JP7568882A JPS6362779B2 JP S6362779 B2 JPS6362779 B2 JP S6362779B2 JP 57075688 A JP57075688 A JP 57075688A JP 7568882 A JP7568882 A JP 7568882A JP S6362779 B2 JPS6362779 B2 JP S6362779B2
Authority
JP
Japan
Prior art keywords
subchannel
communication
processor
address
frame
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
Application number
JP57075688A
Other languages
Japanese (ja)
Other versions
JPS58192159A (en
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 filed Critical
Priority to JP57075688A priority Critical patent/JPS58192159A/en
Publication of JPS58192159A publication Critical patent/JPS58192159A/en
Publication of JPS6362779B2 publication Critical patent/JPS6362779B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 本発明は、線状バスやリング状バスのシリアル
バスに複数のプロセツサが接続された情報処理シ
ステムなどにおけるプロセツサ間通信方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an interprocessor communication system in an information processing system or the like in which a plurality of processors are connected to a serial bus such as a linear bus or a ring bus.

従来、シリアルバスに複数のプロセツサが接続
された情報処理システム等におけるプロセツサ間
通信は、通信制御プログラムが管理する送受信バ
ツフア間で一旦データ転送を行い、割込み等を契
機に同バツフアよりユーザプログラム領域へ該デ
ータを移送する方式が一般的である。第1図は、
この従来のプロセツサ間通信方式の一例を示した
もので、10及び11はプロセツサ、12はタス
ク、13は通信用バツフア、14はプロセツサ間
接続装置、15はシリアルバス(リング状バス)、
16は通信窓口である。
Conventionally, inter-processor communication in information processing systems, etc. in which multiple processors are connected to a serial bus involves first transferring data between a sending/receiving buffer managed by a communication control program, and then transferring data from the same buffer to the user program area in response to an interrupt, etc. A method of transferring this data is common. Figure 1 shows
This figure shows an example of this conventional inter-processor communication system, in which 10 and 11 are processors, 12 is a task, 13 is a communication buffer, 14 is an inter-processor connection device, 15 is a serial bus (ring bus),
16 is a communication window.

第1図の動作を説明すると、各タスク12から
の送信データは、通信制御プログラムが管理する
通信用バツフア13は一旦格納される。プロセツ
サ間接続装置14が空状態で通信用バツフア13
に送信データがある場合、プロセツサは該バツフ
ア内から一つの送信データを取り出し、プロセツ
サ間接続装置14に通信窓口16を通じて通信要
求を行う。送信データはシリアルバス15をへて
通信先プロセツサの通信用バツフア13に格納さ
れる。通信先プロセツサは該データ内の通信先タ
スク番号にもとづき該当タスクを起動する。該タ
スク12は通信用バツフア13に格納されている
送信データを自己のデータ作業領域に読み込む。
To explain the operation of FIG. 1, the transmission data from each task 12 is temporarily stored in the communication buffer 13 managed by the communication control program. When the inter-processor connection device 14 is empty, the communication buffer 13
If there is data to be transmitted, the processor takes out one piece of data to be transmitted from the buffer and makes a communication request to the inter-processor connection device 14 through the communication window 16. The transmitted data is stored in the communication buffer 13 of the communication destination processor via the serial bus 15. The communication destination processor starts the corresponding task based on the communication destination task number in the data. The task 12 reads the transmission data stored in the communication buffer 13 into its own data work area.

この第1図の方式の欠点は、送受信バツフア管
理、割込み処理、データ移送等による通信処理オ
ーバヘツドが、特に高トラヒツク、長データ転送
になる程、大きくなることである。
The disadvantage of the method shown in FIG. 1 is that the communication processing overhead due to transmission/reception buffer management, interrupt processing, data transfer, etc. increases, especially as the traffic becomes higher and the longer the data is transferred.

一方、チヤネル結合された1対1のプロセツサ
間通信においては、通信元と通信先のタスク間で
はつた論理的な通信バス(論理バス)を、直接、
プロセツサ間接続装置に設けた複数のサブチヤネ
ル中の1個に対応づけ、該サブチヤネルを介して
タスク間のダイレクト通信を行うことにより、上
記欠点をなくし、且つ、チヤネルをアイドル状態
にしたままで、プロセツサ間接続装置でサブチヤ
ネル対応に相手からの通信を待合わせることので
きる通信待合せ機能を用いて、各サブチヤネル対
応の多重通信を行うことにより、通信の高速化を
可能にする方式が知られている。第2図はこの方
式を説明する図で、17はサブチヤネル、18は
プロセツサ間接続装置、19はプロセツサ間接続
装置のサブチヤネルであり、その他は第1図と同
じである。
On the other hand, in channel-coupled one-to-one processor-to-processor communication, the logical communication bus (logical bus) between the communication source and communication destination tasks is directly connected.
By associating tasks with one of a plurality of subchannels provided in the interprocessor connection device and performing direct communication between tasks via the subchannel, the above disadvantages can be eliminated, and the processor can be connected while the channel is in an idle state. A method is known in which high-speed communication is possible by performing multiplex communication corresponding to each subchannel using a communication waiting function that allows an interconnection device to wait for communication from the other party corresponding to each subchannel. FIG. 2 is a diagram explaining this system, in which 17 is a subchannel, 18 is an interprocessor connection device, and 19 is a subchannel of the interprocessor connection device, and the other features are the same as in FIG.

第2図の動作を説明すると、各タスク12から
の通信要求は、通信待合せコマンド(専用コマン
ド)により、17は各サブチヤネル対応にプロセ
ツサ間接続装置18のサブチヤネル19で通信元
プロセツサのチヤネルをアイドル状態にして待ち
合わされる。その後、通信先プロセツサからの該
サブチヤネルに対する通信待合せコマンドの発行
により同期がとれたら、通信元、通信先それぞれ
のチヤネルで、待合せコマンドをREAD、
WRITE系コマンドとコマンドチエインしてデー
タ転送を開始する。本方式によれば、起動時の通
信先への非同期割込みをなくすことができる。
To explain the operation of FIG. 2, a communication request from each task 12 is made by a communication waiting command (dedicated command), and the task 17 puts the channel of the communication source processor into an idle state in the subchannel 19 of the interprocessor connection device 18 corresponding to each subchannel. We met at the hotel. After that, when synchronization is achieved by issuing a communication waiting command to the subchannel from the communication destination processor, the waiting command is read, read, and
Starts data transfer by chaining with the WRITE command. According to this method, it is possible to eliminate asynchronous interrupts to the communication destination at startup.

ところで、第2図に示すチヤネル結合された1
対のプロセツサ間通信方式を、n台のプロセツサ
間で互いに通信を行うn対n通信システムにその
まゝ適用すると、n(n−1)/2個のプロセツ
サ間接続装置が必要となり、コスト高や、拡張
性・柔軟性に欠ける等の欠点がある。
By the way, the channel-coupled 1 shown in FIG.
If the communication method between a pair of processors is directly applied to an n-to-n communication system in which n processors communicate with each other, n(n-1)/2 inter-processor connection devices will be required, resulting in high costs. It has drawbacks such as lack of expandability and flexibility.

本発明は、これらの欠点を除去するため、1対
1プロセツサ間通信における複数サブチヤネルを
用いた多重通信機能を、シリアルバスを介したn
対n通信に拡張して適用すると共に、本拡張に伴
うソフトウエアの作成負担増大、通信処理オーバ
ヘツド増大をおさえて、1対1通信と同等の通信
手順、通信効率にてn対n通信を実現するための
ハードウエアサポート機構について提案するもの
である。以下、本発明を図面により詳細に説明す
る。
In order to eliminate these drawbacks, the present invention has proposed a multiplex communication function using multiple subchannels in one-to-one processor communication using a serial bus.
In addition to being expanded and applied to n-to-n communication, this expansion suppresses the increase in software creation burden and communication processing overhead, and realizes n-to-n communication with the same communication procedures and communication efficiency as one-to-one communication. This paper proposes a hardware support mechanism for this purpose. Hereinafter, the present invention will be explained in detail with reference to the drawings.

第3図は本発明によるn対nプロセツサ間通信
方式の一実施例である。第3図において、プロセ
ツサ10,11内の各タスク12は、通信制御プ
ログラムによりプロセツサ並びにプロセツサ間接
続装置20のサブチヤネル17,21と1対1に
対応づけられている。プロセツサ間接続装置20
内には、各サブチヤネル対応に通信先プロセツサ
アドレス、通信先のプロセツサ間接続装置サブチ
ヤネルアドレス、サブチヤネル使用状態を設定、
記憶する機能を有する。複数のプロセツサはプロ
セツサ間接続装置20を介してシリアルバス15
に接続され、相互に通信可能である。
FIG. 3 shows an embodiment of the n-to-n processor communication system according to the present invention. In FIG. 3, each task 12 in the processors 10, 11 is in one-to-one correspondence with the subchannels 17, 21 of the processor and interprocessor connection device 20 by a communication control program. Inter-processor connection device 20
For each subchannel, set the communication destination processor address, the communication destination interprocessor connection device subchannel address, and the subchannel usage status.
It has a memorizing function. A plurality of processors are connected to a serial bus 15 via an interprocessor connection device 20.
are connected to and can communicate with each other.

さて、シリアルバスを介したn対n通信システ
ムに、複数サブチヤネルを用いてタスク間のダイ
レクト転送が可能な多重通信方式を適用する場
合、通信元タスクを自プロセツサ間接続装置内の
1サブチヤネルと対応づけ、通信先タスクを通信
先のプロセツサ間接続装置内の1サブチヤネルと
対応づけ、且つ、上記選択した通信元プロセツサ
間接続装置サブチヤネルに通信先プロセツサ間接
続装置サブチヤネルとの対応関係を確立した上
で、通信を行うことが必要である。また、通信に
あたつては、前記対応づけにより確定した自プロ
セツサ間接続装置サブチヤネルアドレス(以下
SBA(S)と称す)、通信先プロセツサアドレス
(以下DAと称す)、通信先プロセツサ間接続装置
サブチヤネルアドレス(以下SBA(D)と称す)を
通信アドレス情報として指定する必要がある。
Now, when applying a multiplex communication method that allows direct transfer between tasks using multiple subchannels to an n-to-n communication system via a serial bus, the communication source task corresponds to one subchannel in the own processor-to-processor connection device. , the communication destination task is associated with one subchannel in the communication destination interprocessor connection device, and a correspondence relationship is established between the communication source interprocessor connection device subchannel selected above and the communication destination interprocessor connection device subchannel. , it is necessary to communicate. In addition, for communication, the subchannel address of the inter-processor connection device (hereinafter referred to as
It is necessary to specify the communication destination processor address (hereinafter referred to as DA), the communication destination inter-processor connection device subchannel address (hereinafter referred to as SBA(D)) as communication address information.

一方、1対1通信システムにおいては、タスク
とサブチヤネルとの対応づけはn対n通信システ
ムと同様だが、DAとSBA(D)の指定が不要で、当
然、SBA(S)とSBA(D)との対応づけも不要であ
る。
On the other hand, in a one-to-one communication system, the correspondence between tasks and subchannels is the same as in the n-to-n communication system, but there is no need to specify DA and SBA (D), and naturally SBA (S) and SBA (D) It is also unnecessary to make a correspondence with

さらに、現行のチヤネル仕様では、通信アドレ
ス情報としてはデバイスアドレス語(DAW)の
IODアドレス域で1個だけ指定できるものが多
く、これら既存のプロセツサのシリアルバス接続
を対象とした場合、SBA(S)を上記DAWで指
定するとすれば、DA、SBA(D)はI/Oコマンド
のデータで指定するか、コマンドを複数連続して
発行し、そのDAWのIODアドレス域の情報を総
合して指定するかによることが必要となる。
Furthermore, the current channel specifications require device address word (DAW) as communication address information.
In many cases, only one can be specified in the IOD address area, and when targeting the serial bus connection of these existing processors, if SBA (S) is specified in the above DAW, DA and SBA (D) are I/O It is necessary to specify it using command data, or to issue multiple commands in succession and specify the IOD address area information of the DAW as a whole.

以上のことから、n対n通信システムにおける
主たる問題点として、通信起動時のSBA(S)、
DA、SBA(D)指定に要する通信オーバヘツド、通
信アドレス指定に関して従来の1対1通信インタ
フエースとの互換がとれないこと、SBA(S)と
SBA(D)との対応管理をすべてソフト制御で行う
のはソフト作成に要する負担が大きいこと等があ
げられる。
From the above, the main problems in n-to-n communication systems are SBA (S) at the time of communication startup,
The communication overhead required for DA and SBA(D) specification, and the incompatibility with conventional one-to-one communication interfaces regarding communication address specification, and the fact that SBA(S) and
Managing correspondence with SBA(D) through software control requires a large burden on software creation.

この為、本発明においては通信を以下の2段階
で行い、且つ、SBA(S)とSBA(D)との対応関係
確立を受信側のプロセツサ間接続装置で自動的に
行う機能をサポートすることにより、上記問題点
の解決を可能とする手法を提案するものである。
Therefore, in the present invention, communication is performed in the following two steps, and a function is supported to automatically establish a correspondence relationship between SBA(S) and SBA(D) on the interprocessor connection device on the receiving side. This paper proposes a method that can solve the above problems.

〔第1段階の動作〕 SBA(S)とDA+SBA(D)との対応関係をプロ
セツサ間接続装置内の管理テーブル(以下CTBL
と称す)に格納する。このCTBL格納方法は主と
して以下の2つに大別できる。
[First stage operation] The correspondence between SBA(S) and DA+SBA(D) is stored in the management table (hereafter CTBL) in the interprocessor connection device.
). This CTBL storage method can be roughly divided into the following two types.

(A) SBA(S)とDA+SBA(D)との対応関係がソ
フト制御により確立している場合; CTBL設定専用コマンド(CMDAと称す)
により該対応関係をCTBLに格納する。第4図
にCTBL設定の実現方法を示す。第4図におい
て、10,11はそれぞれプロセツサA、プロ
セツサB、12はタスク、20はプロセツサ間
接続装置、30はプロセツサ間接続装置20の
CTBL、DSBはデバイス状態バイト、CE/DE
はチヤネル終了/デバイス終了、CTBL中の
STATUSはCTBLの状態を表わす。
(A) When the correspondence between SBA (S) and DA + SBA (D) is established by software control; CTBL setting dedicated command (referred to as CMDA)
The corresponding relationship is stored in CTBL. Figure 4 shows how to implement CTBL settings. In FIG. 4, 10 and 11 are processors A and B, respectively, 12 is a task, 20 is an inter-processor connection device, and 30 is an inter-processor connection device 20.
CTBL, DSB are device status bytes, CE/DE
indicates channel termination/device termination, during CTBL
STATUS represents the state of CTBL.

プロセツサAのサブチヤネルaとプロセツサ
Bのサブチヤネルbがそれぞれ通信元タスクと
通信先タスクとに対応づけられているとする
と、プロセツサA側では、サブチヤネルaに対
するコマンド(CMDA)発行時、CMDAのデ
ータとして自プロセツサ間接続装置にDA(=
B)並びにSBA(D)(=b)を送りCTBLに格
納する。
Assuming that subchannel a of processor A and subchannel b of processor B are associated with a communication source task and a communication destination task, respectively, when processor A issues a command (CMDA) to subchannel a, DA (=
B) and SBA(D) (=b) are sent and stored in CTBL.

一方、プロセツサB側では、サブチヤネルb
に対するコマンド(CMDA)発行時、CMDA
のデータとして自プロセツサ間接続装置はDA
(=A)並びにSBA(D)(=a)を送りCTBLに
格納する。
On the other hand, on the processor B side, subchannel b
When issuing a command (CMDA) to CMDA
As data, the inter-processor connection device is DA.
(=A) and SBA(D) (=a) are sent and stored in CTBL.

なお、上記CTBL設定の他の実現例として、
いずれか一方のプロセツサ側から通信フレーム
により通信先のプロセツサ間接続装置のCTBL
をも設定する方法もある。
In addition, as another implementation example of the above CTBL settings,
CTBL of the communication destination inter-processor connection device by communication frame from either processor side.
There is also a way to set .

(B) SBA(S)とDA+SBA(D)との対応関係が確
立していない場合; 通信パス確立指示コマンド(CMDBと称す)
を発行して、通信により受信側のプロセツサ間
接続装置を起動して未使用のサブチヤネルを自
動選択し、該選択により得られたSBA(S)と
DA+SBA(D)との対応関係を受信側プロセツサ
間接続装置のCTBLに設定すると共に、該コマ
ンドの応答フレームにより、該対応関係を通信
元プロセツサ間接続装置に通知し、該装置の
CTBLにも設定する。
(B) When the correspondence between SBA(S) and DA+SBA(D) is not established; Communication path establishment instruction command (referred to as CMDB)
is issued, the inter-processor connection device on the receiving side is activated through communication, automatically selects an unused subchannel, and the SBA(S) obtained by the selection is
The correspondence relationship between DA + SBA (D) is set in the CTBL of the receiving side inter-processor connection device, and the correspondence relationship is notified to the communication source inter-processor connection device by the response frame of the command, and the communication source inter-processor connection device is notified of the correspondence relationship.
Also set in CTBL.

第5図は本プロセツサ間通信で使用する通信
フレームのフオーマツトで、Fはフラグシーケ
ンス(01111110)、DAは通信先プロセツサア
ドレス、SAは通信先プロセツサアドレス、C
はバス制御コマンド、SBAはプロセツサ間接
続装置サブチヤネルアドレス(Dは通信先、S
は通信元)、FCSはフレームチエツクシーケン
スを示す。コマンド又はコマンド応答はデータ
部で指定する。
Figure 5 shows the format of the communication frame used in this inter-processor communication, where F is the flag sequence (01111110), DA is the communication destination processor address, SA is the communication destination processor address, and C
is the bus control command, SBA is the interprocessor connection device subchannel address (D is the communication destination, S
is the communication source), and FCS is the frame check sequence. The command or command response is specified in the data section.

第6図は本ケースにおける通信パス確立動作
を説明する図である。第6図において、40は
通信フレーム、50は通信パス確立指示発行時
の受信側プロセツサ間接続装置サブチヤネルア
ドレス(特殊アドレス指定)、60は通信制御
プログラムより上位のソフト間で通信リンクを
はる為に必要な論理パス等の制御情報、70は
CMDBに対する応答、80は非同期割込発生
を通知するアテンシヨン割込み、90は受信フ
レームで指示された相手プロセツサアドレス+
プロセツサ間接続装置サブチヤネルアドレス並
びに該フレームデータ部の内容を読取るコマン
ド(SENSEコマンドと称す)である。その他
は第4図と同じである。
FIG. 6 is a diagram illustrating the communication path establishment operation in this case. In FIG. 6, 40 is a communication frame, 50 is a subchannel address (special address designation) of a connecting device between processors on the receiving side when a communication path establishment instruction is issued, and 60 is a communication link between software higher than the communication control program. The control information 70 such as logical paths necessary for
Response to CMDB, 80 is an attention interrupt that notifies the occurrence of an asynchronous interrupt, 90 is the destination processor address specified in the received frame +
This command (referred to as SENSE command) reads the interprocessor connection device subchannel address and the contents of the frame data section. Other details are the same as in Figure 4.

なお、他の実施例として、CMDB発行時は
本コマンドのデータで#を指定せず、受信側で
も、CMDBコマンドであれば、SBA(D)(=#)
には関係なく通信パス確立指示とみなして、以
後は第6図の実現例と同様の動作を行う方法も
考えられる。
As another example, when issuing CMDB, do not specify # in the data of this command, and on the receiving side, if it is a CMDB command, SBA(D) (=#)
It is also conceivable to regard this as an instruction to establish a communication path regardless of the situation, and to perform the same operations as in the implementation example shown in FIG. 6 thereafter.

〔第2段階の動作〕 各タスクからの通信要求に従つて、1対1通信
の場合と同様に通信アドレス情報としてDAWの
IODアドレス域で、通信制御プログラムが該タス
ク対応に割付けたSBA(S)を指定して通信起動
を行う。プロセツサ間接続装置は該通信起動を受
付けると、第1段階でSBA(S)とDA+SBA(D)
との対応関係を設定したCTBLを索引し、該
SBA(S)対応するDA並びにSBA(D)を通信先ア
ドレス情報として通信フレームに設定し、該フレ
ームを送信バツフアに格納する。その後はシリア
ルバスを介したデータリンクレベルのプロセツサ
間通信制御手順に従つて、通信フレームの送受信
を行う。
[Second stage operation] According to the communication request from each task, the DAW's communication address information is sent as communication address information in the same way as in the case of one-to-one communication.
In the IOD address area, the communication control program specifies the SBA(S) assigned to the task and starts communication. When the inter-processor connection device accepts the communication start, in the first step SBA (S) and DA + SBA (D) are connected.
The CTBL for which the correspondence relationship is set is indexed, and the corresponding
The DA corresponding to SBA(S) and SBA(D) are set in a communication frame as communication destination address information, and the frame is stored in the transmission buffer. Thereafter, communication frames are transmitted and received in accordance with the inter-processor communication control procedure at the data link level via the serial bus.

第7図は本発明を適用したプロセツサ間接続装
置の一実施例のブロツク図である。以下、第7図
を用いて前記通信動作を、送信時、受信時に分け
てより具体的に説明する。
FIG. 7 is a block diagram of an embodiment of an inter-processor connection device to which the present invention is applied. Hereinafter, the communication operation will be explained in more detail using FIG. 7, dividing it into transmission and reception.

送信時の通信動作 PAR204は該当プロセツサの固有アドレス
を保持するプロセツサアドレスレジスタで、常
時、該当アドレス値が設定されている。CMD2
05、DAR206は、それぞれ上位装置よりの
コマンド、通信先のプロセツサアドレス(DA)
およびプロセツサ間接続装置サブチヤネルアドレ
ス(SBA(D))を保持するレジスタである。
Communication operation during transmission PAR 204 is a processor address register that holds the unique address of the corresponding processor, and the corresponding address value is always set. CMD2
05, DAR206 is the command from the host device and the processor address (DA) of the communication destination, respectively.
and a register that holds the interprocessor connection device subchannel address (SBA(D)).

I/Oインタフエース制御部(IOIC)203
の制御下で、入力バス(INBUS)201を介し
て上位装置よりのコマンド、起動サブチヤネルア
ドレスをそれぞれCMD205、SBA210に設
定し、通信制御部(CC)211を起動する。CC
211はCMD205の内容をチエツクし、
CTBL設定コマンド又は通信バス確立指示コマン
ドの場合、それぞれDA並びにSBA(D)のサブチヤ
ネル(SBCH)208内のCTBL、DAR206
への設定をIOIC203に依頼する。IOIC203
はこの依頼に従い、該コマンドのデータのうち、
あらかじめ上記アドレス指定用にとり決めた部分
をそれぞれSBCH208内CTBL、DAR206
に設定する。
I/O interface control unit (IOIC) 203
Under the control of the controller, a command from the host device and a startup subchannel address are set in the CMD 205 and SBA 210, respectively, via the input bus (INBUS) 201, and the communication control unit (CC) 211 is activated. CC
211 checks the contents of CMD205,
In the case of a CTBL setting command or a communication bus establishment instruction command, CTBL and DAR 206 in the subchannel (SBCH) 208 of DA and SBA (D), respectively.
Request the IOIC203 to configure the settings. IOIC203
In accordance with this request, among the data of the command,
The parts determined in advance for the above address specification are respectively set to CTBL in SBCH208 and DAR206.
Set to .

CTBL設定コマンド又は通信パス確立指示コマ
ンド以外の場合は、SBA210で示すアドレス
にてSBCH208を索引し、その索引結果をサブ
チヤネルアクセス出力レジスタ(SBOR)209
に出力する。CC211はSBOR209の内容を
調べ、SBA210に示すサブチヤネル(=SBA
(S))に対応するDA並びにSBA(D)が正常に設定
されている場合は、SBOR209から通信先の該
アドレスをDAR206に設定する。SBOR20
9の出力結果が上記以外の場合、その状態を
DSB213に設定し、その旨をIOIC203に報
告する。
If the command is not a CTBL setting command or a communication path establishment instruction command, the SBCH 208 is indexed using the address indicated by the SBA 210, and the index result is sent to the subchannel access output register (SBOR) 209.
Output to. CC211 examines the contents of SBOR209 and selects the subchannel (=SBA) shown in SBA210.
If the DA and SBA(D) corresponding to (S)) are set normally, the corresponding address of the communication destination is set in the DAR 206 from the SBOR 209. SBOR20
If the output result of step 9 is other than the above, the state is
Set in DSB 213 and report that to IOIC 203.

上記SBCH208索引後のSBA210で示す
サブチヤネルの状態は、サブチヤネル入力レジス
タ(SBIR)207を介してSBCH208に書込
まれる。
The state of the subchannel indicated by SBA 210 after the SBCH 208 index is written to the SBCH 208 via the subchannel input register (SBIR) 207.

CC211は、これら通信起動が正常に行われ
た場合、PAR204、CMD205、DAR20
6、SBA210およびIOIC203を起動し、送
信フレーム作成に必要なデータを送信バツフア
(SBUF)217に送つて該フレームを作成し、
送信キユーにつなぐ。
CC211 will send PAR204, CMD205, and DAR20 if these communication startups are performed normally.
6. Start up the SBA 210 and IOIC 203, send the data necessary to create a transmission frame to the transmission buffer (SBUF) 217, and create the frame.
Connect to send queue.

以後は転送制御部(TRC)219の制御下で
シリアルバス223に送り出される。
Thereafter, it is sent to the serial bus 223 under the control of the transfer control unit (TRC) 219.

受信時の通信動作 シリアルバス222より受取つたフレームを
TRC219の制御下で受信バツフア(RBUF)
218に格納し、特にデータ部の先頭バイト(コ
マンド、応答情報等が格納)および該フレームの
SBA(D)域の情報を、それぞれデータレジスタ
(DR)214、サブチヤネルアドレスレジスタ
(SAR)216に設定し、CC211を起動する。
CC211はDR214の内容をチエツクし、通信
パス確立指示コマンドの場合は、SAR216の
内容をチエツクし、該内容が特殊サブチヤネルア
ドレスレジスタ(SSAR)215にあらかじめ設
定した内容と同一か否かをチエツクし、同一の場
合は前記サブチヤネル自動選択機構(SAS機構)
212を用いて、該通信用に使用可能な空きサブ
チヤネルを選択し、その結果をSBA210に設
定する。
Communication operation during reception The frame received from the serial bus 222 is
Receive buffer (RBUF) under control of TRC219
218, especially the first byte of the data part (commands, response information, etc. are stored) and the frame's
Information in the SBA(D) area is set in the data register (DR) 214 and subchannel address register (SAR) 216, respectively, and the CC 211 is activated.
CC211 checks the contents of DR214, and in the case of a communication path establishment instruction command, checks the contents of SAR216, and checks whether the contents are the same as the contents set in advance in the special subchannel address register (SSAR) 215. , if they are the same, the subchannel automatic selection mechanism (SAS mechanism)
212 is used to select an available free subchannel for the communication, and the result is set in the SBA 210.

その後、RBUF218より該フレームのSA、
SBA(S)を、SBCH208内のCTBLのSBA2
10に示すサブチヤネルアドレス域に、それぞれ
DA、SBA(D)として書込み、SBOR209で正常
書込み確認後、通信パス確立をSBIR207を介
してSBCH208に書込む。又、通信パス確立を
通信元へ応答するためのフレーム作成を行い
SBUF217に格納する。
After that, the SA of the frame from RBUF218,
SBA(S), SBA2 of CTBL in SBCH208
In the subchannel address area shown in 10, respectively.
Write as DA, SBA(D), and after confirming normal writing with SBOR 209, write communication path establishment to SBCH 208 via SBIR 207. It also creates a frame to respond to the communication source to establish a communication path.
Store in SBUF217.

SARとSSARの内容が同一でない場合、及び、
DR214の内容が通信パス確立指示コマンドで
ない場合は、SAR216の内容をそのままSBA
210に設定し、SBCH208のSBA2の内容
で示すサブチヤネル域の状態をチエツクし、コマ
ンドの種類に応じた所定の応答フレームを作成し
て、SBUF217に格納する。又、該サブチヤネ
ルの状態をSBIR207を介して再設定する。
DR214の内容等により上位装置とインタフエ
ースをもつ必要がある場合は、その旨をIOIC2
03に報告する。
If the contents of SAR and SSAR are not the same, and
If the content of DR214 is not a communication path establishment instruction command, the content of SAR216 is sent directly to SBA.
210, checks the status of the subchannel area indicated by the contents of SBA2 of SBCH 208, creates a predetermined response frame according to the type of command, and stores it in SBUF 217. Also, the state of the subchannel is reset via the SBIR 207.
If it is necessary to have an interface with the host device due to the contents of DR214, etc., please indicate this in IOIC2.
Report on 03.

上記サブチヤネル自動選択機構(SAS機構)
212の動作フローを第8図に示す。
The above subchannel automatic selection mechanism (SAS mechanism)
The operation flow of 212 is shown in FIG.

なお、これまでの説明ではプロセツサ間接続装
置はチヤネル配下の装置との位置づけを記述した
が、本装置をチヤネル機能を含んだかたちで実現
することも可能である。
Although the above description has described the positioning of the interprocessor connection device as a device under a channel, it is also possible to implement this device in a form that includes a channel function.

以上説明したように、本発明によれば、チヤネ
ル結合された1対1プロセツサ間通信において、
複数サブチヤネルを用いた多重通信機能を活用し
て、タスク間のダイレクト通信等により通信オー
バヘツド低減を実現した手法を、CTBLおよび
SAS機構を用いてシリアルバスを介してn対n
通信に適用することにより、上記1対1通信と
ほゞ等価な通信手順にて、ソフトウエア作成負担
の少ない、高効率のn対nプロセツサ間通信を実
現できる利点がある。
As explained above, according to the present invention, in channel-coupled one-to-one processor communication,
CTBL and
n-to-n via serial bus using SAS mechanism
By applying it to communication, there is an advantage that highly efficient n-to-n processor communication can be realized with a communication procedure that is almost equivalent to the one-to-one communication described above, with less burden on software creation.

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

第1図は従来のシリアルバスを介したn対nプ
ロセツサ間通信方式の構成図、第2図はチヤネル
結合された1対1プロセツサ間通信方式の構成
図、第3図は本発明のシリアルバスを介したn対
nプロセツサ間通信方式の一実施例の構成図、第
4図は本発明においてソフト制御により確立した
通信パス情報をプロセツサ間接続装置のCTBLに
設定する方法を説明する図、第5図はシリアルバ
ス上をプロセツサ間で送受される通信フレーム形
式を示す図、第6図はSAS機構を用いた通信パ
ス確立方法を説明する図、第7図は本発明を適用
したプロセツサ間接続装置の一実施例の構成図、
第8図は第7図におけるプロセツサ間接続装置の
SAS機構の動作フロー図である。 10,11……プロセツサ、12……タスク、
13……通信用バツフア、14,18,20……
プロセツサ間接続装置、15……シリアルバス、
16……通信窓口、17……サブチヤネル、1
9,21……プロセツサ間接続装置のサブチヤネ
ル。
FIG. 1 is a block diagram of a conventional communication system between n to n processors via a serial bus, FIG. FIG. 4 is a block diagram of an embodiment of a communication system between n to n processors via a Figure 5 is a diagram showing the communication frame format sent and received between processors on a serial bus, Figure 6 is a diagram explaining a communication path establishment method using the SAS mechanism, and Figure 7 is a diagram showing the connection between processors to which the present invention is applied. A configuration diagram of an embodiment of the device,
Figure 8 shows the interprocessor connection device in Figure 7.
It is an operation flow diagram of the SAS mechanism. 10, 11...Processor, 12...Task,
13... Communication buffer, 14, 18, 20...
Inter-processor connection device, 15...serial bus,
16...Communication window, 17...Subchannel, 1
9, 21...Subchannel of interprocessor connection device.

Claims (1)

【特許請求の範囲】[Claims] 1 複数プロセツサがシリアルバスを介して相互
接続され、各プロセツサが対等に他プロセツサに
通信を行うことのできる情報処理システムにおい
て、プロセツサの入出力動作を司どるチヤネルと
シリアルバス間にプロセツサ間接続装置を設け、
この接続装置に、チヤネルの多重動作の単位であ
るサブチヤネルと1対1に対応するサブチヤネル
を複数個設けると共に、各サブチヤネル対応に該
サブチヤネルを用いて通信を行う通信先プロセツ
サアドレス、通信先のプロセツサ間接続装置サブ
チヤネルアドレス、入出力コマンド、データ長な
どのチヤネルからの指示情報および該サブチヤネ
ル状態を記憶する手段、チヤネルから起動された
自プロセツサ間接続装置のサブチヤネルアドレス
を基に通信先プロセツサアドレス、通信先のプロ
セツサ間接続装置サブチヤネルアドレスを該記憶
部より読出す手段、前記指示情報にもとづきプロ
セツサ間通信用フレームを組立てる手段、該フレ
ームをシリアルバスへ送出する手段、シリアルバ
スから該フレームを受信する手段、該フレーム受
信時、フリーム内容のチエツクを行い、該内容が
通信パス確立のための受信側サブチヤネル選択指
示の場合は、前記記憶部の各サブチヤネル使用状
態を調べ、空き状態のサブチヤネルを選択して、
該記憶部に選択したサブチヤネルに対応する通信
相手のプロセツサアドレス並びにプロセツサ間接
続装置サブチヤネルアドレスを書込み、該サブチ
ヤネルを通信パス確立状態にすると共に通信パス
確立の応答フレームを組立て、チヤネルとプロセ
ツサ間接続装置とのインタフエース制御部を起動
する手段、上記受信側サブチヤネル選択指示の送
出元が該指示に対する応答フレーム受信時は、受
信側で確立した通信元プロセツサ間接続装置サブ
チヤネルアドレスを該記憶部に書込む手段、上記
受信側サブチヤネル選択指示又はその応答用フレ
ーム以外の場合は、受信フレームで指示されたサ
ブチヤネル対応に、チヤネルとプロセツサ間接続
装置とのインタフエース制御部を起動し、該フレ
ーム指示内容に従つた処理をして、処理結果を該
フレームに対する応答フレームとして組立て、前
記記憶部の該サブチヤネル域の状態を更新する手
段を具備し、送信側と受信側とのプロセツサ間接
続装置の一対のサブチヤネル対応に通信パスをは
つて多重にデータの送受信を行うことを特徴とす
るプロセツサ間通信方式。
1. In an information processing system in which multiple processors are interconnected via a serial bus and each processor can communicate with other processors on an equal basis, an inter-processor connection device is provided between a channel that controls the input/output operations of the processors and the serial bus. established,
This connection device is provided with a plurality of subchannels that have a one-to-one correspondence with a subchannel that is a unit of channel multiplexing operation, and also includes a communication destination processor address and a communication destination processor address for communication using the subchannel for each subchannel. Means for storing instruction information from a channel such as subchannel address, input/output command, data length, and the subchannel status, and a means for storing the subchannel address of the interprocessor interconnection device started from the channel, means for reading the address and subchannel address of the interprocessor connection device of the communication destination from the storage unit; means for assembling a frame for interprocessor communication based on the instruction information; means for sending the frame to the serial bus; and means for sending the frame from the serial bus. When receiving the frame, the frame content is checked, and if the content is an instruction to select a subchannel on the receiving side for establishing a communication path, the usage status of each subchannel in the storage unit is checked, and an empty subchannel is selected. Select
The processor address of the communication partner and the subchannel address of the interprocessor connection device corresponding to the selected subchannel are written in the storage section, the subchannel is placed in the communication path establishment state, and a response frame for establishing the communication path is assembled, and the communication between the channel and the processor is performed. Means for activating an interface control unit with a connecting device, when the sender of the receiving side subchannel selection instruction receives a response frame to the instruction, storing the communication source inter-processor connecting device subchannel address established on the receiving side in the storage unit. In the case of a frame other than the receiving side subchannel selection instruction or its response frame, the interface control unit between the channel and the processor connection device is activated corresponding to the subchannel specified in the received frame, and the frame instruction is a pair of processor-to-processor connection devices between a sending side and a receiving side, comprising means for processing according to the contents, assembling the processing result as a response frame to the frame, and updating the state of the subchannel area of the storage section; An inter-processor communication method characterized by multiplexing data transmission and reception by providing communication paths corresponding to subchannels.
JP57075688A 1982-05-06 1982-05-06 Communication system among processors Granted JPS58192159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57075688A JPS58192159A (en) 1982-05-06 1982-05-06 Communication system among processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57075688A JPS58192159A (en) 1982-05-06 1982-05-06 Communication system among processors

Publications (2)

Publication Number Publication Date
JPS58192159A JPS58192159A (en) 1983-11-09
JPS6362779B2 true JPS6362779B2 (en) 1988-12-05

Family

ID=13583385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57075688A Granted JPS58192159A (en) 1982-05-06 1982-05-06 Communication system among processors

Country Status (1)

Country Link
JP (1) JPS58192159A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6272053A (en) * 1985-09-25 1987-04-02 Nec Corp Processor unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4207609A (en) * 1978-05-08 1980-06-10 International Business Machines Corporation Method and means for path independent device reservation and reconnection in a multi-CPU and shared device access system
JPS589978B2 (en) * 1978-10-30 1983-02-23 株式会社日立製作所 Computer network configuration method
JPS578828A (en) * 1980-06-18 1982-01-18 Fujitsu Ltd Communication system between computer systems

Also Published As

Publication number Publication date
JPS58192159A (en) 1983-11-09

Similar Documents

Publication Publication Date Title
US5063494A (en) Programmable data communications controller
US5907684A (en) Independent channel coupled to be shared by multiple physical processing nodes with each node characterized as having its own memory, CPU and operating system image
US6728803B1 (en) Interconnection architecture for managing multiple low bandwidth connections over a high bandwidth link
JPS6118053A (en) Data processing system
US20140136781A1 (en) Storage system
US20070006020A1 (en) Inter-host data transfer method, program, and system
KR920004771B1 (en) Work related message flow control method and communication management device
JPH07143202A (en) Method for constituting system, method for constituting device, controller and system
JPH10301795A (en) Virtual computer system
JPS6362779B2 (en)
JPH11149387A (en) Shared device control method and device for implementing the same
JP6885635B1 (en) Information processing device, information processing method and program for information processing device
KR920004061B1 (en) System for I / O Control System Reconfiguration
JPH0142011B2 (en)
JPH11252150A (en) Network connection device and network connection control method
JPS63128837A (en) Line controller
JPH0650488B2 (en) Communication controller
CN119003413A (en) Data transmission method, microprocessor architecture and computer equipment
JPH0528079A (en) Memory management device in communication system
JPS5830256A (en) Communication controller
JPH01142962A (en) Data transfer control system
JPH0823854B2 (en) Control device
JPH0458344A (en) Extension storage device
JPH0583416A (en) Real-time information transfer control method
JPS6382536A (en) Channel device