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
JPS6231387B2 - - Google Patents
[go: Go Back, main page]

JPS6231387B2 - - Google Patents

Info

Publication number
JPS6231387B2
JPS6231387B2 JP55076285A JP7628580A JPS6231387B2 JP S6231387 B2 JPS6231387 B2 JP S6231387B2 JP 55076285 A JP55076285 A JP 55076285A JP 7628580 A JP7628580 A JP 7628580A JP S6231387 B2 JPS6231387 B2 JP S6231387B2
Authority
JP
Japan
Prior art keywords
link
communication
control
logical
message
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
JP55076285A
Other languages
Japanese (ja)
Other versions
JPS573454A (en
Inventor
Mitsuhiro Ishizaka
Shigeo Nakatsuka
Takane Kakuno
Tachiki Ichihashi
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7628580A priority Critical patent/JPS573454A/en
Publication of JPS573454A publication Critical patent/JPS573454A/en
Publication of JPS6231387B2 publication Critical patent/JPS6231387B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/50Circuit switching systems, i.e. systems in which the path is physically permanent during the communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 この発明はコンピユータ・ネツトワークにおい
てノード(ネツトワークの構成単位をいう)を構
成する計算機の通信プロセス間の論理的な結合を
直接制御することにより、高速かつ高性能なデー
タ転送を実現する通信制御装置(以後この発明で
は通信制御プロセツサとよぶ)に関するものであ
る。
[Detailed Description of the Invention] This invention provides high-speed and high-performance communication by directly controlling the logical connections between the communication processes of computers that constitute nodes (network constituent units) in a computer network. The present invention relates to a communication control device (hereinafter referred to as a communication control processor in this invention) that realizes data transfer.

データ通信の普及に伴い、コンピユータ・ネツ
トワークにおいてフアイル情報など大量のデータ
を相手計算機に転送する要求が強くなつている。
パケツト交換による従来のコンピユータ・ネツト
ワーク上でデータ(一般にはパケツト形式)を転
送するには、パケツトの順序制御・流量制御(フ
ロー制御ともいう)、メツセージのパケツトへの
分割及び逆の合成、送達確認など各種の通信規約
(プロトコル)をソフトウエアで実行するのに、
かなり計算機の演算時間(以降CPUタイムと呼
ぶ)を必要とする。
With the spread of data communications, there is an increasing demand for transferring large amounts of data such as file information to other computers in computer networks.
Transferring data (generally in the form of packets) on a traditional computer network using packet switching involves controlling the order and flow rate of packets (also known as flow control), dividing messages into packets, recombining them, and delivering them. To execute various communication protocols (protocols) such as confirmation using software,
It requires a considerable amount of computer calculation time (hereinafter referred to as CPU time).

プロトコル実行に伴ない付加されるデータ転送
時間の増分を以降、プロトコル・オーバーヘツド
とよぶ。このプロトコル・オーバーヘツドが通信
プロセス(計算機上において通信の対象となる論
理的な実体)間の通信に介在するため、従来の通
信方式では、仮に高速の通信回線を用いてネツト
ワークを構成しても大量データを短時間で送るこ
とができないという欠点があつた。
The increment in data transfer time that is added due to protocol execution is hereinafter referred to as protocol overhead. Because this protocol overhead intervenes in communication between communication processes (logical entities that are the targets of communication on computers), in conventional communication methods, it is difficult to configure a network using high-speed communication lines. However, the disadvantage was that large amounts of data could not be sent in a short period of time.

この欠点を除去する通信方式として注目される
のがランデブー(rendezvous)形のプロセス間
通信方式で、交信する通信プロセス間の同期を同
期待合せポート(一種の通信制御装置)でとつて
メツセージが転送される。この方式では、メツセ
ージが送信側の通信プロセスが管理するバツフア
から受信側の通信プロセスが管理するバツフアに
直接転送されるので、通信プロセス間の結合度が
高いこと、及びメツセージ転送に伴なうプロトコ
ル処理を同期待合せポートで行うので、プロトコ
ル・オーバーヘツドが少ないという利点がある。
A rendezvous type inter-process communication method is attracting attention as a communication method that eliminates this drawback, in which synchronization between communicating communication processes is achieved using a synchronization port (a type of communication control device) and messages are transferred. Ru. In this method, the message is directly transferred from the buffer managed by the sending communication process to the buffer managed by the receiving communication process, so there is a high degree of coupling between the communication processes, and the protocol involved in message transfer is Since the processing is performed at the synchronized port, it has the advantage of less protocol overhead.

しかし、ランデブー形のプロセス間通信方式を
コンピユータ・ネツトワークに採用するには、非
常に多数のプロセスの同期待ち合せを処理する必
要があるが、従来はこの処理を高速に実行できる
具体的な通信制御プロセツサが実現していない。
However, in order to adopt a rendezvous-type inter-process communication method to a computer network, it is necessary to handle synchronization of a very large number of processes. Processor is not realized.

この発明はランデブー形のプロセス間通信方式
において多数の通信プロセスの論理的な結合制御
が瞬時に出来る通信制御プロセツサを提供するこ
とにより、プロトコル・オーバーヘツドの少ない
高性能の計算機ネツトワークを実現することを目
的としたもので、以下図面を用いて説明する。
The present invention aims to realize a high-performance computer network with little protocol overhead by providing a communication control processor that can instantly control the logical connection of a large number of communication processes in a rendezvous type inter-process communication system. The purpose is to explain this using the drawings below.

第1図は、この発明の通信制御プロセツサを適
用した計算機ネツトワークの構成例で、図におい
てCPU1,…,CPU3等CPUは計算機、CCP1
…,CCP3等CCPは通信制御プロセツサ、N1
N2,N3等Nは計算機CPUと通信制御プロセツサ
CCPからなるノード又はノード番号、1a,
…,1c等1は通信回線、P11,P12,…,P33
Pは通信の対象となる論理的(ソフトウエア上
の)実体すなわち通信プロセス、2a,…,2d
等2は通信プロセスPの間を結ぶ論理的な通信路
(以下、これを論理リンクと呼ぶ)である。
Figure 1 shows an example of the configuration of a computer network to which the communication control processor of the present invention is applied .
..., CCP 3 , etc. CCP is a communication control processor, N 1 ,
N 2 , N 3 etc. N is the computer CPU and communication control processor
Node or node number consisting of CCP, 1a,
..., 1c, etc. 1 is a communication line, P 11 , P 12 , ..., P 33 , etc. P is a logical (software) entity to be communicated, that is, a communication process, 2a, ..., 2d
etc. 2 is a logical communication path (hereinafter referred to as a logical link) connecting the communication processes P.

計算機ネツトワークにおける通信とは、上記通
信プロセスP間の情報交換で、一般に通信規約
(以下プロトコルと呼ぶ)を実行する階層化され
た通信プログラムによつてなされる。
Communication in a computer network is information exchange between the communication processes P, and is generally performed by a layered communication program that executes a communication protocol (hereinafter referred to as a protocol).

通信プロトコル・オーバーヘツドを減少させる
には上記の通信プログラムの下位の階層をハード
ウエア化することによつて計算機CPUの負荷を
減ずる方法が最も妥当性がある。
In order to reduce the communication protocol overhead, the most appropriate method is to reduce the load on the computer CPU by converting the lower layer of the communication program into hardware.

この発明の通信制御プロセツサCCPはこの様
な考えに従つてなされたもので、第1図に示す様
に、例えば通信制御プロセツサCCP1は計算機
CPU1上の通信プロセスP11と計算機CPU2上の通
信プロセスP21を結ぶ論理リンク2aと、同様に
論理リンク2bおよび論理リンク2dを直接的に
制御する。
The communication control processor CCP of the present invention was created based on this idea, and as shown in FIG. 1, for example, the communication control processor CCP 1 is a computer
The logical link 2a connecting the communication process P 11 on the CPU 1 and the communication process P 21 on the computer CPU 2 , as well as the logical link 2b and the logical link 2d, are directly controlled.

一般に計算機CPUが扱う通信プロセスPの数
は非常に多く、従つて通信制御プロセツサCCP
は多くの論理リンク2を扱う機能が必要である。
しかも通信プロセスPは計算機CPU上で任意の
時点で生成され、必要な時点で他の計算機CPU
上の通信プロセスPと情報交換し、また消滅する
性格を有するので、通信制御プロセツサCCPは
全ての論理リンクを並列的に多重にかつ高速に処
理できねばならない。
Generally, the number of communication processes P handled by a computer CPU is very large, so the communication control processor CCP
requires the ability to handle many logical links 2.
Moreover, the communication process P is generated at any time on the computer CPU, and is sent to other computer CPUs at the necessary time.
Since the communication control processor CCP has the property of exchanging information with the above communication process P and disappearing, the communication control processor CCP must be able to process all logical links in parallel and multiplexed at high speed.

言い換えると、この発明の通信制御プロセツサ
CCPは従来の通信制御装置〔通信回線1を直接
収容し、転送されるデータの直並列変換、伝送符
号の誤り検出などの基本機能を実行するもので、
物理的な通信媒体〕が有する機能と通信プログラ
ムの下位のプロトコル階層において実行されてい
た通信プロトコル制御機能の両者を提供する。
In other words, the communication control processor of this invention
The CCP is a conventional communication control device [one that directly accommodates the communication line 1 and performs basic functions such as serial-to-parallel conversion of transferred data and error detection of transmission codes.
It provides both the functions possessed by the physical communication medium and the communication protocol control function executed in the lower protocol layer of the communication program.

特に、この発明は通信回線1が高速化された場
合を考慮し、多数の論理リンク2をマイクロプロ
グラム制御により高速に処理する通信方式とこれ
を実行する通信制御プロセツサCCPを提供す
る。
In particular, the present invention takes into consideration the case where the communication line 1 becomes faster, and provides a communication method that processes a large number of logical links 2 at high speed under microprogram control, and a communication control processor CCP that executes this method.

第2図は、この発明の通信制御プロセツサ
CCPの構成例で、MPCはプログラム・メモリPM
及び演算ユニツトALUを含むマイクロプログラ
ム制御部、LMはワーク・メモリWMとリンク制
御テーブルLCT1,LCT2,…,LCToを含むロー
カル・メモリ、8は演算ユニツトALUの演算レ
ジスタ、9はワーク・メモリWM内のリンク・ア
クセス・テーブル、CHXはチヤネル・レジスタ
7を含むチヤネル・インタフエース部、LIAはラ
イン・バツフア10を含むライン・インタフエー
ス・アダプタ、TMはタイマ制御部、DTUはデー
タ転送部、3は計算機入出力インタフエース、6
は入出力ハンドラである。
Figure 2 shows the communication control processor of this invention.
In the CCP configuration example, MPC is program memory PM
LM is a local memory including a work memory WM and link control tables LCT 1 , LCT 2 , ..., LCT o , 8 is a calculation register of the calculation unit ALU, and 9 is a work memory including a calculation unit ALU. Link access table in memory WM, CHX is channel interface section including channel register 7, LIA is line interface adapter including line buffer 10, TM is timer control section, DTU is data transfer section , 3 is a computer input/output interface, 6
is an input/output handler.

通信制御プロセツサCCPが論理リンク2を直
接扱うためには、通信回線1で結ばれた他の通信
制御プロセツサCCPとの間に論理リンク2毎に
独立に実行できる通信規約(プロトコル)を定
め、これをマイクロプログラム制御部MPCが高
速で実行する。
In order for the communication control processor CCP to directly handle the logical link 2, it establishes a communication protocol (protocol) that can be executed independently for each logical link 2 between it and other communication control processors CCP connected via the communication line 1. is executed at high speed by the microprogram control unit MPC.

論理リンク2には次の通信シーケンスが定義さ
れ、それ等は各論理リンク2毎に全く独立に意味
を持つ様にマイクロプログラム制御部MPCは制
御する。第3図はリンク確立フエーズ、第4図は
データ転送フエーズ、第5図はリンク終結フエー
ズのそれぞれ基本的な動きを示す。計算機CPU
から通信制御プロセツサCCPに出力される命令
をオーダ、または通信制御プロセツサCCP間で
渡される命令をリンク・コマンドとよぶ。
The following communication sequences are defined for the logical links 2, and the microprogram control unit MPC controls them so that they have completely independent meanings for each logical link 2. FIG. 3 shows the basic operations of the link establishment phase, FIG. 4 the data transfer phase, and FIG. 5 the link termination phase. computer CPU
The command output from the communication control processor CCP to the communication control processor CCP is called an order, or the command passed between the communication control processors CCP is called a link command.

オーダには次のものがある。 Orders include:

・ CONNECT LINK リンク確立要求 ・ SENSE アテンシヨン割込 (ATTEN.INT)のセンス ・ CONNECT ACCEPT リンク確立要求の受諾 ・ WRITE メツセージのライト指示 ・ READ メツセージのリード指示 ・ DISCONNECT LINK リンク終結要求 ・ DISCONNECT ACCEPT リンク終結要求の受諾 リンクコマンドには次のものがある。・CONNECT LINK Link establishment request ・ SENSE attention interrupt (ATTEN.INT) sense ・CONNECT ACCEPT Acceptance of link establishment request ・WRITE message write instruction ・READ message read instruction ・DISCONNECT LINK Link termination request ・ DISCONNECT ACCEPT Acceptance of link termination request Link commands include:

・ CL リンク接続指示 ・ STS ステータス情報の通知 ・ CA リンク接続受諾通知 ・ WT メツセージ受信指示 ・ RD メツセージ送信指示 ・ INF メツセージの先頭 ・ FIN メツセージの末尾 上記のオーダ及びリンクコマンド以外に計算機
CPUと通信制御プロセツサCCPの間で交換され
る信号には次のものがある。
- CL link connection instruction - STS status information notification - CA link connection acceptance notification - WT message reception instruction - RD message transmission instruction - Start of INF message - End of FIN message In addition to the above orders and link commands, computer
The signals exchanged between the CPU and the communication control processor CCP include the following:

・ C.DATA 制御データ ・ CSW チヤネル状態語 通信制御プロセツサCCP間で転送されるフレ
ームの形式には第6図に示すように2種類あり、
4はリンク制御メツセージを伝える制御フレー
ム、5はメツセージ・フレームである。図におい
てCは上記のリンク・コマンドを挿入するコマン
ド・フイールド、DAは着信アドレス、LNDは着
信リンク番号、SAは発信アドレス、LNSは発信
リンク番号、XCはコマンド拡張フイールド、ST
はステータス・フイールド、LHは転送データ長
表示フイールド、TMはタイマ・フイールド、I
はC.DATAを運ぶフイールド、FCSはフレー
ム・チエツク・シーケンス、MSGはメツセージ
である。
- C.DATA Control data - CSW Channel status word Communication control processor There are two types of frame formats transferred between CCPs, as shown in Figure 6.
4 is a control frame that conveys a link control message, and 5 is a message frame. In the figure, C is the command field to insert the above link command, DA is the called address, LND is the called link number, SA is the calling address, LNS is the calling link number, XC is the command extension field, ST
is the status field, LH is the transfer data length display field, TM is the timer field, I
is the field that carries C.DATA, FCS is the frame check sequence, and MSG is the message.

また第7図は計算機CPUの入出力ハンドラ6
からチヤネル・インタフエース部CHXのチヤネ
ル・レジスタ7に渡されるチヤネル制御語CCW
の形式を示し、ORDはオーダ、LNはリンク番
号、FLAGはチヤネル・プログラム制御情報を記
入するフラグ、TMはオーダ・タイマ、DBFADR
はデータ・バツフア・アドレス、BYCNTはデー
タ・バツフア中で有効なデータのバイトカウント
を示す。
Also, Figure 7 shows input/output handler 6 of the computer CPU.
Channel control word CCW passed from to channel register 7 of channel interface section CHX
Indicates the format, ORD is the order, LN is the link number, FLAG is the flag to write channel program control information, TM is the order timer, DBFADR
is the data buffer address, and BYCNT is the byte count of valid data in the data buffer.

更に第8図は上記チヤネル制御語CCWに対応
して、または通信制御プロセツサCCPが検出し
た割込情報を、計算機CPUのプログラムに通知
するために用いるチヤネル状態語CSWで、図中
PSはプライマリ・スターテス、LNはリンク番
号、SSはセコンダリ・ステータス、CCWADRは
チヤネル状態語CCWの第1アドレスを示すCCW
アドレス、BYCNTはバイトカウントである。
Furthermore, FIG. 8 shows a channel status word CSW used to notify the computer CPU program of interrupt information detected by the communication control processor CCP or corresponding to the channel control word CCW.
PS is the primary status, LN is the link number, SS is the secondary status, and CCWADR is the CCW indicating the first address of the channel status word CCW.
The address, BYCNT, is the byte count.

第1図から第8図を用いて通信シーケンス(第
3図、第4図、第5図)に従つてこの発明の作用
を具体的に説明する。ここでは第1図の通信プロ
セスP11とP21を結ぶ論理リンク2aに注目する。
The operation of the present invention will be specifically explained in accordance with the communication sequences (FIGS. 3, 4, and 5) using FIGS. 1 to 8. Here, attention will be paid to the logical link 2a connecting the communication processes P11 and P21 in FIG.

(i) リンク確立フエーズ 通信プロセスP11が起動され、メツセージ転
送を開始する指示を計算機CPU1上の入出力ハ
ンドラ6に伝達すると、入出口ハンドラ6はリ
ンク確立要求CONNECT LINKオーダをオー
ダORDに有するチヤネル制御語CCW(第7
図)を作成し、チヤネル・プログラム方式とし
て公知の手法で、これをチヤネル・インタフエ
ース部CHXのチヤネル・レジスタ7に渡す。
(i) Link establishment phase When the communication process P11 is activated and transmits an instruction to start message transfer to the input/output handler 6 on the computer CPU 1 , the input/output handler 6 has a link establishment request CONNECT LINK order in the order ORD. Channel control word CCW (7th
) is created and passed to the channel register 7 of the channel interface section CHX using a method known as a channel programming method.

チヤネル・レジスタ7にストアされたチヤネ
ル制御語CCWは、マイクロプログラム制御部
MPCがレジスタ移動命令を実行した時に演算
制御ユニツトALU中の演算レジスタ8に移さ
れる。次いで演算制御ユニツトALUはオーダ
ORDの内容を解読する。この場合
(CONNECT LINKオーダ)には、マイクロプ
ログラム制御部MPCはランダム・アクセス・
メモリRAMから構成されるローカル・メモリ
LM中のワーク・メモリWM中のリンク・アク
セス・テーブル9を調べ未使用のリンク制御テ
ーブルLCTの番号i(i=1,…,nの任意
数)を抽出する。リンク・アクセス・テーブル
9は例えば、ワーク・メモリWMの特定番地に
設けられ、そのビツト位置をリンク制御テーブ
ルLCTの番号と対応させ、論理“1”を使用
中、“0”を未使用と定義するのがよい。この
操作は第3図のリンク確立フエーズ図中では
「LCTi割付け」と記して示されている。
CONNECT LINKオーダに対してリンク制御
テーブルLCTiが割付けられると、リンク・ア
クセス・テーブル9の当該ビツトは二重割当て
を防止するため論理“1”にする。
The channel control word CCW stored in channel register 7 is used by the microprogram control unit.
When the MPC executes a register move instruction, it is moved to the arithmetic register 8 in the arithmetic control unit ALU. Next, the arithmetic control unit ALU is ordered.
Decipher the contents of ORD. In this case (CONNECT LINK order), the microprogram control unit MPC performs random access
Local memory consisting of memory RAM
The link access table 9 in the work memory WM in the LM is checked and the number i (i=1, . . . , an arbitrary number of n) of an unused link control table LCT is extracted. For example, the link access table 9 is provided at a specific address of the work memory WM, and its bit position is made to correspond to the number of the link control table LCT, and logic "1" is defined as being used and "0" is defined as not being used. It is better to do so. This operation is indicated as "LCTi allocation" in the link establishment phase diagram of FIG.
When the link control table LCTi is allocated for a CONNECT LINK order, the corresponding bit in the link access table 9 is set to logic "1" to prevent double allocation.

通信プロセスP11が要求するリンク確立要求
情報はチヤネル制御語CCWのデータ・バツフ
ア・アドレスDBFADRが示す主記憶装置上の
アドレスから始まるデータ・バツフア(図示せ
ず)にバイトカウントBYCNT長だけ格納され
ている。
The link establishment request information requested by the communication process P 11 is stored in the data buffer (not shown) starting from the address on the main memory indicated by the data buffer address DBFADR of the channel control word CCW by the length of the byte count BYCNT. There is.

マイクロプログラム制御部MPCは、リー
ド・オンリー・メモリROMから構成されるプ
ログラム・メモリPMのマイクロプログラムを
実行することにより、上記データ・バツフアか
ら制御データC.DATAをリンク制御テーブル
LCTiに取込む。
The microprogram control unit MPC links the control data C.DATA from the above data buffer to the control table by executing the microprogram in the program memory PM consisting of read-only memory ROM.
Import into LCTi.

制御データC.DATAには、通信プロセスP11
がリンク確立を要求する相手通信プロセスP21
が存在するノード番号N2及びリンク確立を制
御する上で着信側の計算機CPU2のソフトウエ
アに渡す付加情報を含む。
Control data C.DATA contains communication process P 11
The peer communication process P 21 requests link establishment.
contains the node number N 2 where the message exists and additional information to be passed to the software of the computer CPU 2 on the destination side in order to control link establishment.

上述した種々の情報からマイクロプログラム
制御部MPCは制御フレーム4を作成し、ライ
ン・インタフエース・アダプタLIAより通信回
線1aに送出する。このとき制御フレーム4に
おいて、コマンド・フイールドCにはリンク・
コマンドCL、着信アドレスDAには着信ノード
番号N2、発信アドレスSAには発信ノード番号
N1、発信リンク番号LNSにはリンク制御テー
ブルLCTの番号i、転送データ長表示フイー
ルドLHにはフレームのバイト長、タイマ・フ
イールドTMにはチヤネル制御語CCWのオー
ダ・タイマの値TM、情報フイールドIには制
御データC.DATAの内容、ステータス・フイ
ールドSTには通信制御プロセツサCCP1のステ
ータスが乗せられる。この制御フレーム4では
着信リンク番号LNDはまだ意味をもたない。
The microprogram control unit MPC creates a control frame 4 from the various information mentioned above, and sends it to the communication line 1a from the line interface adapter LIA. At this time, in control frame 4, command field C contains link
Command CL, incoming address DA is incoming node number N 2 , outgoing address SA is outgoing node number
N 1 , the originating link number LNS is the number i of the link control table LCT, the transfer data length display field LH is the byte length of the frame, the timer field TM is the order timer value TM of the channel control word CCW, and the information field The content of the control data C.DATA is placed in I, and the status of the communication control processor CCP 1 is placed in the status field ST. In this control frame 4, the incoming link number LND has no meaning yet.

リンク・コマンドCLを有する制御フレーム
4は受信側の通信制御プロセツサCCP2のライ
ン・インタフエース・アダプタLIAのライン・
バツフア10に受信され、ライン・インタフエ
ース・アダプタLIAはコマンド・フイールドC
を識別し、マイクロプログラム制御部MPCに
処理起動をかける。
The control frame 4 with the link command CL is sent to the line interface adapter LIA of the communication control processor CCP 2 on the receiving side.
received by buffer 10 and line interface adapter LIA enters command field C.
is identified, and the microprogram control unit MPC is started to process.

この起動によりマイクロプログラム制御部
MPCの演算ユニツトALUは、前述の送信側の
通信制御プロセツサCCP1におけると同様に、
ワーク・メモリWM中のリンク・アクセス・テ
ーブル9を参照して、未使用のリンク制御テー
ブルLCTのj(j=1,…,nの任意数)を
獲得し、そこに先に受信した制御フレーム4の
発信アドレスSA、発信リンク番号LNS(この
場合にはリンク制御テーブルLCTの番号i)
等をストアする。この操作は第3図のリンク確
立シーケンス図中では「LCTj割付け」と記さ
れている。
This activation causes the microprogram control unit to
The arithmetic unit ALU of the MPC is similar to the communication control processor CCP 1 on the transmission side described above.
Refer to the link access table 9 in the work memory WM to acquire unused link control table LCT j (j = any number of 1, ..., n), and store the previously received control frame there. 4, originating address SA, originating link number LNS (in this case, link control table LCT number i)
Store etc. This operation is written as "LCTj allocation" in the link establishment sequence diagram of FIG.

マイクロプログラム制御部MPCは先の制御
フレーム4のリンク・コマンドCLの応答とし
てリンク・コマンドSTSをコマンド・フイール
ドCに持つ制御フレーム4を作り、通信制御プ
ロセツサCCP1に返送する。この時には着信ア
ドレスDAにはノード番号N1、着信リンク番号
LNDにはリンク制御テーブルLCTの番号i、
発信アドレスSAにはノード番号N2、発信リン
ク番号LNSにはリンク制御テーブルLCTの番
号j、拡張コマンド・フイールドXCには、先
に受信したリンク・コマンドLCに対する応答
(一般には制御フレーム4の受理の可否)、ステ
ータス・フイールドSTには応答理由など通信
制御プロセツサCCP2のステータス等を乗せ、
最後に制御フレーム4の転送誤り検定のために
フレーム・チエツク・シーケンスFCSを付加
して送信する。
The microprogram control unit MPC creates a control frame 4 having the link command STS in the command field C as a response to the link command CL of the previous control frame 4, and sends it back to the communication control processor CCP 1 . At this time, the incoming address DA has the node number N 1 and the incoming link number.
LND contains link control table LCT number i,
The originating address SA contains the node number N 2 , the originating link number LNS contains the number j of the link control table LCT, and the extended command field XC contains the response to the previously received link command LC (generally the acceptance of control frame 4). ), the status field ST contains the status of the communication control processor CCP 2 , such as the response reason, etc.
Finally, a frame check sequence FCS is added to check the transmission error of control frame 4 and transmitted.

一方、通信制御プロセツサCCP2のマイクロ
プログラム制御部MPCは、上記で割付けた
リンク制御テーブルLCTの番号jを、第8図
のチヤネル状態語CSWのリンク番号LNに、ア
テンシヨン割込とその原因を示すフラグをプラ
イマリ・ステータスPS(またはセコンダリ・
ステータスSS)にセツトして、これをチヤネ
ル・インタフエース部CHX経由で計算機CPU2
の主記憶装置(図示せず)のCSWスタツク・
エリアに格納し、アテンシヨン割込ATTEN.
INTを掛ける。
On the other hand, the microprogram control unit MPC of the communication control processor CCP 2 assigns the number j of the link control table LCT assigned above to the link number LN of the channel status word CSW in FIG. 8, indicating the attention interrupt and its cause. Set the flag to primary status PS (or secondary
status SS) and send it to the computer CPU 2 via the channel interface CHX.
CSW stack of main memory (not shown)
Store in area and attention interrupt ATTEN.
Multiply by INT.

この割込ATTEN.INT起動により計算機
CPU2のプログラム(一般には割込処理ルーチ
ン)は上記CSWスタツク・エリアの当該チヤ
ネル状態語CSWを調べ、プログラムはこの割
込みに対応したリンク制御テーブルLCTの番
号jを認知する。次いで入出力ハンドラ6はオ
ーダSENSEをチヤネル制御語CCWのオーダ
ORDに、リンク制御テーブルLCTの番号jを
リンク番号LNに記入し、チヤネル・インタフ
エース部CHXに出する。マイクロプログラム
制御部MPCは、後述する高速テーブル・アク
セス法により、リンク制御テーブルLCTjの内
容すなわち制御データC.DATAをチヤネル制
御語CCWのデータ・バツフア・アドレス
DBFADRが示す主記憶装置の番地から、バイ
ト・カウントBYCNTが指示する語数だけ転入
する。
By starting this interrupt ATTEN.INT, the computer
The program of CPU 2 (generally an interrupt processing routine) examines the channel status word CSW in the CSW stack area, and the program recognizes the number j of the link control table LCT corresponding to this interrupt. Next, the input/output handler 6 sends the order SENSE to the order of the channel control word CCW.
Enter the number j of the link control table LCT in the link number LN in ORD, and send it to the channel interface section CHX. The microprogram control unit MPC uses the high-speed table access method described later to convert the contents of the link control table LCTj, that is, the control data C.DATA, to the data buffer address of the channel control word CCW.
The number of words indicated by the byte count BYCNT is transferred from the main memory address indicated by DBFADR.

上記制御データC.DATAは計算機CPU2のプ
ログラムの内部処理より通信プロセスP
(P21,…,P23)を管理するプログラム(これを
以後通信プロセス管理プログラムと呼ぶ)に渡
される。
The above control data C.DATA is sent to the communication process P from the internal processing of the computer CPU 2 program.
(P 21 , ..., P 23 ) (hereinafter referred to as the communication process management program).

通信プロセス管理プログラムは制御データ
C.DATAを調べることにより、計算機CPU1
通信プロセスP11に対してリンク確立すべき通
信プロセスP21を起動する。通信プロセスP21
リンク確立要求の受諾オーダCONNECT
ACCEPTとリンク制御テーブルLCTの番号j
とを含むチヤネル制御語CCWを(厳密には入
出力ハンドラ6経由で)通信制御プロセツサ
CCP2に渡す。通信制御プロセツサCCP2のマイ
クロプログラム制御部MPCではリンク番号LN
の内容jからリンク制御テーブルLCTjを高速
テーブル・アクセスにより見い出し、マイクロ
プログラム処理により、コマンド・フイールド
Cにリンク・コマンドCA(リンク接続受諾通
知)を、着信アドレスDAにはリンク制御テー
ブルLCTjに記入されていたノード番号N1を、
着信リンク番号LNDにはリンク制御テーブル
LCTの番号iを記入した制御フレーム4を作
り第3図に示すように通信制御プロセツサ
CCP1に送信する。
Communication process management program controls data
By checking C.DATA, the communication process P 21 to establish a link with the communication process P 11 of the computer CPU 1 is activated. Communication process P 21 is an acceptance order of a link establishment request CONNECT
ACCEPT and link control table LCT number j
The communication control processor (strictly speaking, via input/output handler 6)
Pass to CCP 2 . Link number LN in microprogram control section MPC of communication control processor CCP 2
The link control table LCTj is found from the contents j of the link control table LCTj by high-speed table access, and the link command CA (link connection acceptance notification) is entered in the command field C and the incoming address DA is entered in the link control table LCTj by microprogram processing. The node number N 1 that was
Incoming link number LND contains link control table
Create a control frame 4 in which the LCT number i is written and send it to the communication control processor as shown in Figure 3.
Send to CCP 1 .

通信制御プロセツサCCP1においては、上記
制御フレーム4の宛先リンク番号LNDの内容
iを用いて後述する様な高速テーブル・アクセ
ス法によりローカルメモリLM中のリンク制御
テーブルLCTiを見出し、マイクロプログラム
制御部MPC中の演算ユニツトALUが有する演
算レジスタ8にロードする。この内容からマイ
クロプログラム制御部MPCは、リンク制御テ
ーブルLCTの番号iをリンク番号LNに、リン
ク・コマンドCAをステータス(PSまたはSS)
に記入したチヤネル状態語CSWを作り、先に
において通信制御プロセツサCCP1に出され
ていたオーダCONNECT LINKに対して終了
を報告する。この終了報告により通信プロセス
P11は相手プロセスP21を結ぶ論理リンク2aが
確立されたことを知る。
The communication control processor CCP 1 uses the content i of the destination link number LND of the control frame 4 to find the link control table LCTi in the local memory LM by a high-speed table access method as described later, and executes the link control table LCTi in the local memory LM. The calculation register 8 of the internal calculation unit ALU is loaded. Based on this content, the microprogram control unit MPC sets the link control table LCT number i to the link number LN and the link command CA to the status (PS or SS).
Creates a channel status word CSW written in , and reports completion to the order CONNECT LINK that was previously issued to communication control processor CCP 1 . This completion report allows communication process
P 11 learns that the logical link 2a connecting the other process P 21 has been established.

ここで注意すべきことは、この発明において
は論理リンク2は第1図の計算機ネツトワーク
上では、当該通信プロセス例えばP11,P21に対
応したリンク制御テーブルLCTの番号i,j
とノード番号N1,N2の組合せ(N1i,N2j)で
定義され、この組合せは通信制御プロセツサ
CCP1,CCP2においてリンク確立フエーズの段
階で認知されるが、計算機CPUの通信プロセ
スP11及びP21はそれぞれ自己側の通信制御プロ
セツサCCP1及びCCP2が割付けたリンク制御テ
ーブルLCTの番号(それぞれi及びj)のみ
で認知すれば十分であることである。
What should be noted here is that in the present invention, logical link 2 on the computer network shown in FIG .
is defined as the combination of node numbers N 1 and N 2 (N 1 i, N 2 j), and this combination is defined by the communication control processor
This is recognized in the link establishment phase in CCP 1 and CCP 2 , but the communication processes P 11 and P 21 of the computer CPUs receive the link control table LCT number ( It is sufficient to recognize only i and j), respectively.

以後の通信シーケンス(データ転送フエーズ
とリンク終結フエーズ)では、通信プロセス
P11はリンク制御テーブルLCTの番号iを論理
リンク2aのリンク番号iとして、通信プロセ
スP21は同様に番号jを論理リンク2aのリン
ク番号jとして使用する。
In the subsequent communication sequences (data transfer phase and link termination phase), the communication process
P 11 uses the number i of the link control table LCT as the link number i of the logical link 2a, and the communication process P 21 similarly uses the number j as the link number j of the logical link 2a.

(ii) データ転送フエーズ 通信プロセスP11とP21間の論理リンク2aが確
立されると、次の手順でデータ転送がなされる。
(ii) Data Transfer Phase Once the logical link 2a between communication processes P 11 and P 21 is established, data transfer is performed in the following steps.

計算機CPU1の通信プロセスP11は送信データ
を送信データ・バツフア(図示せず)に用意
し、メツセージ・ライト指示WRITEをチヤネ
ル制御語CCWのオーダORDに、また論理リン
ク番号iをリンク番号LNに記入し通信制御プ
ロセツサCCP1に送信起動をかける。この送信
起動は前述と同様にしてリンク制御テーブル
LCTiにストアされる。
The communication process P 11 of the computer CPU 1 prepares the transmission data in a transmission data buffer (not shown), sends the message write instruction WRITE to the order ORD of the channel control word CCW, and sets the logical link number i to the link number LN. Fill in the information and activate communication control processor CCP 1 for transmission. This transmission is started in the same way as above, and the link control table
Stored in LCTi.

計算機CPU2の通信プロセスP21は受信バツフ
ア(図示せず)を用意し、メツセージ・リード
指示READをチヤネル制御語CCWのオーダ
ORDに、論理リンク番号jをリンク番号LNに
記入し、通信制御プロセツサCCP2に受信起動
をかける。通信制御プロセツサCCP2において
は論理リンク番号jにより、リンク制御テーブ
ルLCTjがマイクロプログラム制御部MPCの演
算ユニツトALUの演算レジスタ8にロードさ
れると、上記リンク制御テーブルLCTj中に記
憶されていた着信ノード番号N1,通信制御プ
ロセツサP11から見た論理リンク番号i、発信
ノード番号N2、論理リンク番号j、受信バツ
フアのバイトカウント長BYCNTなど必要な情
報を第6図の制御フレーム4に記入して、通信
制御プロセツサCCP1へ送信する。
The communication process P 21 of the computer CPU 2 prepares a reception buffer (not shown) and sends the message read instruction READ to the order of the channel control word CCW.
Enter the logical link number j in the link number LN in ORD, and activate the communication control processor CCP 2 for reception. In the communication control processor CCP 2 , when the link control table LCTj is loaded into the calculation register 8 of the calculation unit ALU of the microprogram control unit MPC according to the logical link number j, the destination node stored in the link control table LCTj is loaded. Necessary information such as the number N 1 , the logical link number i seen from the communication control processor P 11 , the originating node number N 2 , the logical link number j, and the byte count length BYCNT of the receiving buffer is entered in the control frame 4 in FIG. and sends it to communication control processor CCP 1 .

上記制御フレーム4を受信した通信制御プロ
セツサCCP1では、着信リンク番号LND中の論
理リンク番号iによりリンク制御テーブル
LCTiの内容を演算レジスタ8にロードして、
発信アドレスSA及び発信リンク番号LNSの内
容jがリンク確立フエーズ(第3図)において
このリンク制御テーブルLCTjにストアされた
値と一致することを検定する。更に両通信プロ
セスP11,P21のWRITEオーダとREADオーダ
(これはリンク・コマンドRDに対応する)とマ
ツチングがとれたことを確認する(第4図参
照)。
The communication control processor CCP 1 that received the control frame 4 creates a link control table based on the logical link number i in the incoming link number LND.
Load the contents of LCTi into calculation register 8,
It is verified that the contents j of the originating address SA and the originating link number LNS match the values stored in this link control table LCTj in the link establishment phase (FIG. 3). Furthermore, it is confirmed that the WRITE order and READ order (this corresponds to the link command RD) of both communication processes P 11 and P 21 are matched (see FIG. 4).

通信制御プロセツサCCP1上でこのマツチン
グが確立したことは、通信プロセスP11から通
信プロセスP21にデータを転送する準備が出来
たことすなわち、プロセス間のランデブーが確
立したことを意味する。
Establishment of this matching on the communication control processor CCP 1 means that preparations have been made to transfer data from the communication process P 11 to the communication process P 21 , that is, a rendezvous between the processes has been established.

通信制御プロセツサCCP1はリンク・コマン
ドWTによりメツセージ受信指示を通信制御プ
ロセツサCCP2へ通知し、通信制御プロセツサ
CCP2から受信レデイであることを示すコマン
ド拡張フイールドXC及びリンク・コマンド
SUSを持つ制御フレーム4を受信すると、チヤ
ネル制御語CCWのデータ・バツフア・アドレ
スDBFADRの内容を先頭番地とする計算機
CPU1の主記憶装置からメツセージをバイトカ
ウントBYCNTが示す長さ分だけ取り出し、第
6図のメツセージフレーム5のフオーマツトの
メツセージ・フイールドMSGに挿入して通信
制御プロセツサCCP2へ送る。この時送信メツ
セージは適当な長さに分割し、メツセージ・フ
レーム5のコマンド・フイールドCにはリン
ク・コマンドINFを記入し、最後のメツセー
ジ・フレーム5のコマンド・フイールドCには
リンク・コマンドFINを記入する。受信側の通
信制御プロセツサCCP2においては、受信メツ
セージは、ライン・インタフエース・アダプタ
LIA→データ転送部DTU→チヤネル・インタ
フエース・アダプタCHXを経由して、マイク
ロプログラム制御部MPCの制御により、先に
出されていたREADオーダを有するチヤネル制
御語CCWの指示する主記憶装置の位置に転入
される。
Communication control processor CCP 1 notifies communication control processor CCP 2 of a message reception instruction using link command WT, and then
Command extension field XC and link command indicating ready to receive from CCP 2
When control frame 4 with SUS is received, the computer sets the contents of data buffer address DBFADR of channel control word CCW as the first address.
A message of the length indicated by the byte count BYCNT is retrieved from the main memory of the CPU 1 , inserted into the message field MSG in the format of the message frame 5 shown in FIG. 6, and sent to the communication control processor CCP 2 . At this time, the message to be sent is divided into appropriate lengths, the link command INF is written in the command field C of message frame 5, and the link command FIN is written in the command field C of the last message frame 5. Fill out. In the communication control processor CCP 2 on the receiving side, the received message is sent to the line interface adapter.
The main memory location indicated by the channel control word CCW containing the previously issued READ order is transferred via the LIA → data transfer unit DTU → channel interface adapter CHX, under the control of the microprogram control unit MPC. will be transferred to.

通信制御プロセツサCCP2では、メツセージ
を受信していた過程で生じた事象などはリンク
制御テーブルLCTjにストアするので、その結
果をREADオーダを有するチヤネル制御語
CCWに対応して、チヤネル状態語CSWに記入
して計算機CPU2に報告する。一方リンク・コ
マンドSTSをコマンド・フイールドCにもつ制
御フレーム4によつて通信制御プロセツサ
CCP1に通知し、これも又、WRITEオーダをも
つチヤネル制御語CCWに対応したチヤネル状
態語CSWによつて計算機CPU1に渡される。
In the communication control processor CCP 2 , events that occur during message reception are stored in the link control table LCTj, so the results are stored in the channel control word with READ order.
Corresponding to CCW, the channel status word CSW is filled in and reported to computer CPU 2 . On the other hand, the communication control processor uses the control frame 4 having the link command STS in the command field C.
CCP 1 is notified, which is also passed to computer CPU 1 by channel status word CSW corresponding to channel control word CCW with WRITE order.

一回のデータ転送が終つても、論理リンク2
aは両リンク制御テーブルLCTi及びLCTjによ
つて維持されているので、更に両通信プロセス
P11及びP21の間で任意にメツセージ交換を継続
できる。
Even after one data transfer is completed, the logical link 2
Since a is maintained by both link control tables LCTi and LCTj, both communication processes
Message exchange can be continued between P 11 and P 21 at will.

(iii) リンク終結フエーズ メツセージ交換が終了すると、第5図に示す
ように、通信プロセスP11は入出力ハンドラ6
経由でリンク終結要求DISCONNECT LJNKオ
ーダを通信制御プロセツサCCP1へ出力し、こ
れはリンク・コマンドDLをもつ制御フレーム
4により相手の通信プロセスP21にアテンシヨ
ン割込みATTEN.INTにより伝えられる。
(iii) Link termination phase When the message exchange is completed, the communication process P11 executes the input/output handler 6 as shown in FIG.
A link termination request DISCONNECT LJNK order is output to the communication control processor CCP 1 via the control frame 4 containing the link command DL, and this is transmitted to the communication process P 21 of the other party by the attention interrupt ATTEN.INT.

これに対して通信プロセスP21がリンク終結
要求の受諾DISCONNECT ACCEPTを出力
し、これはリンク・コマンドDAをもつ制御フ
レーム4により通信制御プロセツサCCP1に渡
される。
In response, the communication process P 21 outputs an acceptance of a link termination request DISCONNECT ACCEPT, which is passed to the communication control processor CCP 1 by means of a control frame 4 with a link command DA.

通信制御プロセツサCCP1のマイクロプログ
ラム制御部MPCでは、上記DISCONNECTオ
ーダをもつチヤネル制御語CCWに対応したチ
ヤネル状態語CSWのプライマリ・ステータス
PSにリンク・コマンドDAを受理した事を示す
フラグをセツトして計算機CPU1の通信プロセ
スP11に報告する。
In the microprogram control unit MPC of the communication control processor CCP 1 , the primary status of the channel status word CSW corresponding to the channel control word CCW with the above DISCONNECT order is
A flag indicating that the link command DA has been accepted is set in the PS, and the flag is reported to the communication process P11 of the computer CPU 1 .

また、上記リンク・コマンドDAに対する応
答として通信制御プロセツサCCP1はリンク・
コマンドSTSを通信回線1に送信し、リンク確
立フエーズ(第3図)で通信プロセスP11に割
付けたリンク制御テーブルLCTiを解放し、こ
のリンク制御テーブルLCTiに対応したワーク
メモリWM中のリンク・アクセス・テーブル9
の当該ビツト位置iと未使用(論理“0”)に
戻す。
Also, in response to the link command DA, the communication control processor CCP 1 issues a link command.
Send command STS to communication line 1, release link control table LCTi assigned to communication process P 11 in the link establishment phase (Figure 3), and perform link access in work memory WM corresponding to this link control table LCTi.・Table 9
The relevant bit position i of the bit is returned to unused (logic "0").

リンク・コマンドSTSを受信した通信制御プ
ロセツサCCP2においても同様に、
DISCONNECT ACCEPTオーダを有するチヤ
ネル制御語CCWに対応したチヤネル状態語
CSWにより、リンク終結を実行したことを計
算機CPU2の当該通信プロセスP21に通知し、更
にリンク制御テーブルLCTjを解放する。
Similarly, in the communication control processor CCP 2 that received the link command STS,
Channel status word corresponding to channel control word CCW with order DISCONNECT ACCEPT
The CSW notifies the communication process P 21 of the computer CPU 2 that the link has been terminated, and also releases the link control table LCTj.

この発明の通信制御プロセツサCCPにおいて
は、通信プロセスP間の通信シーケンスを実行す
る上でリンク制御テーブルLCTは重要な働きを
し、非常に頻繁に参照される。例えばリンク確立
(第3図)をし、データ転送(第4図)をn回実
行し、リンク終結(第5図)するまでにリンク制
御テーブルLCTはリンク割付け後からリンク解
放までに論理リンク2毎に少くとも(4n+5)
回実行される。しかも、この発明の通信制御プロ
セツサCCPでは、複数(原理的にかなり多数)
の論理リンク2は独立に確立され、それぞれの論
理リンク2が全く独立に動くように制御されるの
で、データ転送のトラヒツクが大きくなるとリン
ク制御テーブルLCTをアクセスする繁度が相当
大きくなり、マイクロプログラム制御部MPCの
負荷が増大する傾向をもつ。
In the communication control processor CCP of the present invention, the link control table LCT plays an important role in executing the communication sequence between the communication processes P, and is referenced very frequently. For example, after establishing a link (Figure 3), executing data transfer (Figure 4) n times, and terminating the link (Figure 5), the link control table LCT is set to 2 logical links after link allocation and before link release. at least (4n+5) every
Executed times. Moreover, in the communication control processor CCP of this invention, multiple (in principle, quite a large number)
The logical links 2 are established independently, and each logical link 2 is controlled to operate completely independently. Therefore, when the data transfer traffic increases, the frequency of accessing the link control table LCT increases considerably, and the microprogram The load on the control unit MPC tends to increase.

このため、この発明においては複数のリンク制
御テーブルLCTの中からチヤネル制御語CCWお
よび受信した制御フレームに対応したリンク制御
テーブルLCTを第9図の方法で高速にアクセス
する手段を有する。
Therefore, the present invention has means for rapidly accessing the link control table LCT corresponding to the channel control word CCW and the received control frame from among the plurality of link control tables LCT using the method shown in FIG.

第9図はリンク制御テーブルLCTをアクセス
する機構を示し、PREGはプログラム・メモリ
PMの出力レジスタ、AC1,AC2,M,N等は
マイクロプログラムのフイールドでAC1,AC2
はアドレス定数フイールド、M,Nは選択定数、
LMAはローカルメモリLMのアクセス・カウン
タ、A0,…,A11はローカル・メモリLMのアド
レス、SELはセレクタ・ゲート、G1,G2,G
3はゲート、Tはクロツクである。
Figure 9 shows the mechanism for accessing the link control table LCT, where PREG is the program memory
PM output registers, AC1, AC2, M, N, etc. are microprogram fields AC1, AC2
is an address constant field, M, N are selection constants,
LMA is the access counter of local memory LM, A 0 ,..., A 11 is the address of local memory LM, SEL is the selector gate, G1, G2, G
3 is a gate, and T is a clock.

通信回線1から制御フレーム4によりリンク制
御メツセージがライン・インタフエース・アダプ
タLIAのライン・バツフア10に受信されマイク
ロプログラム制御部MPCに起動がかかるとプロ
グラム・メモリPMから第9図のフイールドAC
1,M,AC2,Nを含むマイクロプログラムが
出力レジスタPREGに出力される。ライン・バツ
フア10中の着信リンク番号LND(第3図のリ
ンク確立フエーズでは通信制御プロセツサCCP1
ではi,CCP2ではj)は選択定数Mの値により
ゲートG1が開きローカル・メモリ・アクセス・
カウンタLMAの上位にセツトされる。この時、
選択定数Nによりアドレス定数フイールドAC2
を指定しておくとローカル・メモリLMの上位ア
ドレスA5,…,A11として着信リンク番号LND
が、また下位アドレスA0,…,A4としてアドレ
ス定数フイールドAC2の値が指示される。この
時あるリンク制御テーブル(例えばLCTi)の先
頭アドレスを着信リンク番号LNDと一致する様
にローカル・メモリの番地を割付ければ、着信リ
ンク番号LNDが指定するリンク制御テーブル
LCTiの中のアドレス定数フイールドAC2が指定
する位置のメモリ内容が演算ユニツトALUの演
算レジスタ8にロードできる。
When a link control message is received by the control frame 4 from the communication line 1 to the line buffer 10 of the line interface adapter LIA and the microprogram control unit MPC is activated, the field AC shown in FIG. 9 is sent from the program memory PM.
A microprogram including 1, M, AC2, and N is output to the output register PREG. Incoming link number LND in line buffer 10 (communication control processor CCP 1 in the link establishment phase in Figure 3)
i in CCP 2, j in CCP 2 ), gate G1 opens depending on the value of selection constant M, and local memory access is performed.
It is set at the upper level of counter LMA. At this time,
Address constant field AC2 by selection constant N
If you specify the incoming link number LND as the upper address A 5 , ..., A 11 of local memory LM
However, the value of the address constant field AC2 is also specified as the lower address A 0 , . . . , A 4 . At this time, if you allocate a local memory address so that the start address of a certain link control table (for example, LCTi) matches the incoming link number LND, the link control table specified by the incoming link number LND
The memory contents at the location specified by the address constant field AC2 in LCTi can be loaded into the arithmetic register 8 of the arithmetic unit ALU.

同様に計算機入出力インタフエース3から出力
されたチヤネル制御語CCW中のリンク番号LNに
対応するリンク制御テーブルLCTを選択する場
合は選択定数MよりゲートG2を開き、またマイ
クロプログラム自身がリンク制御テーブルLCT
を選択するときには、ゲートG3を開けばよい。
Similarly, when selecting the link control table LCT corresponding to the link number LN in the channel control word CCW output from the computer input/output interface 3, the gate G2 is opened by the selection constant M, and the microprogram itself LCT
When selecting, it is sufficient to open gate G3.

この様に通信回線1から受信した制御フレーム
4中の着信リンク番号LNDの内容と計算機入出
力チヤネル3から出力されるチヤネル制御語
CCWのリンク番号LNの内容により、ローカル・
メモリLMの上位アドレスA5,…,A11を直接指
定し、プログラム・メモリPMの出力(アドレス
定数フイールドAC2)によりローカル・メモリ
LMの下位アドレスA0,…,A4を直接指定するこ
とにより、マイクロプログラムは一命令でローカ
ル・メモリLM中のリンク制御テーブルLCTの内
容を演算レジスタ8にロードでき、この発明の通
信制御プロセツサCCPの動作効率を高めること
ができる。
In this way, the contents of the incoming link number LND in the control frame 4 received from the communication line 1 and the channel control word output from the computer input/output channel 3
Depending on the contents of the CCW link number LN, the local
Directly specify the upper address A 5 ,..., A 11 of memory LM, and use the output of program memory PM (address constant field AC2) to write to local memory.
By directly specifying the lower addresses A 0 , ..., A 4 of the LM, the microprogram can load the contents of the link control table LCT in the local memory LM into the arithmetic register 8 with one instruction. The operating efficiency of CCP can be increased.

なお、以上では、通信回線を経由して結合され
る計算機ネツトワークについて説明したが、この
発明においては通信制御プロセツサ相互を結合す
る手段の選択は全く任意であつて、その手段に合
わせて、ライン・インタフエース・アダプタLIA
及び転送するフレーム形式等を構成することがで
きる。
Note that although the computer networks connected via communication lines have been described above, in this invention, the means for connecting the communication control processors to each other is completely arbitrary, and the line can be selected depending on the means.・Interface adapter LIA
It is also possible to configure the frame format, etc. to be transferred.

また、通信プロセスとはこの発明を適用した計
算機ネツトワークのソフトウエアにおける通信の
実体に過ぎなく、例えばタスク、またはその集合
体あるいは集合体を扱う通信プログラムなど任意
に定義できる。
Furthermore, the communication process is nothing more than the entity of communication in the computer network software to which the present invention is applied, and can be arbitrarily defined, for example, as a task, an aggregate thereof, or a communication program that handles an aggregate.

以上のようにこの発明に係る通信制御プロセツ
サではネツトワークを構成する計算機のソフトウ
エア上で定義した複数の通信プロセス間の論理的
な通信リンクを直接処理するために、 (1) 各論理リンクごとに独立して、上記論理リン
クを確立および終結する手段を有し、 (2) 論理リンクの確立フエーズにおいて、リンク
確立要求に応じて、ローカル・メモリLM中の
リンク・アクセス・テーブルにより未使用のリ
ンク制御テーブルLCTを割付ける手段と、 (3) 上記割付けたリンク制御テーブルLCTの番
号をリンク番号として相互の通信制御プロセツ
サにおいて認知できる手段と、 (4) 上記割付けたリンク制御テーブルLCTの番
号を上記通信プロセスにチヤネル状態語により
通知する手段により、上記通信プロセスは上記
リンク番号を指定するだけで、通信制御プロセ
ツサが該当する着信側の通信プロセスにデータ
を転送できる手段と、 (5) リンク制御メツセージを運ぶ制御フレーム中
に着信側のリンク番号を挿入して転送すること
により、このリンク番号をアドレスとしてロー
カル・メモリLM中の該当するリンク制御テー
ブルLCTの内容を演算レジスタにロードする
手段と、 (6) 上記通信プロセスからのリンク終結要求によ
り、上記リンク制御テーブルを解放する手段と を有しているので、複数の通信プロセス間の論理
リンクを独立的かつ直接処理することができ、通
信プロトコル・オーバーヘツドの少ない大量デー
タの高速転送に適合した高性能なデータ通信ので
きる計算機ネツトワークを構成できる効果を有す
る。
As described above, in order to directly process the logical communication links between the plurality of communication processes defined on the software of the computers constituting the network, the communication control processor according to the present invention has the following steps: (1) for each logical link; (2) in the logical link establishment phase, in response to a link establishment request, the unused link access table in the local memory LM is means for allocating the link control table LCT; (3) means for recognizing the number of the allocated link control table LCT as a link number in mutual communication control processors; and (4) means for recognizing the number of the allocated link control table LCT as the link number. means for notifying the communication process using a channel status word so that the communication process can transfer data to the corresponding communication process on the receiving side by simply specifying the link number; (5) link control; means for loading the contents of a corresponding link control table LCT in a local memory LM into an arithmetic register using this link number as an address by inserting a link number of a called side into a control frame carrying a message and transmitting the message; (6) Since it has means for releasing the link control table in response to a link termination request from the communication process, logical links between multiple communication processes can be processed independently and directly, and the communication protocol - It has the effect of configuring a computer network capable of high-performance data communication suitable for high-speed transfer of large amounts of data with little overhead.

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

第1図はこの発明の通信制御プロセツサを適用
した計算機ネツトワークの構成例図、第2図は通
信制御プロセツサの構成図、第3図、第4図、第
5図は通信制御プロセツサ間の通信シーケンスを
示し、第3図はリンク確立フエーズを示す図、第
4図はデータ転送フエーズを示す図、第5図はリ
ンク終結フエーズを示す図、第6図は転送フレー
ム形式を示す図、第7図はチヤネル制御語CCW
を示す図、第8図はチヤネル状態語CSWを示す
図、第9図はリンク制御テーブルをアクセスする
機構を示す図である。 図中、CPUは計算機、CCPは通信制御プロセ
ツサ、Nはノードまたはノード番号、1は通信回
線、2は通信プロセスPを結ぶ論理リンク、LM
はリンク制御テーブルLCT及び、リンク・アク
セス・テーブル9を含むワーク・メモリWMを有
するローカル・メモリ、MPCはマイクロプログ
ラム制御部、ALUは演算ユニツト、8は演算レ
ジスタ、CHXはチヤネル・レジスタ7を含むチ
ヤネル・インタフエース部、LIAはライン・バツ
フア10を含むライン・インタフエース・アダプ
タ、DTUはデータ転送部、4は制御フレーム、
5はメツセージ・フレーム、LMAはローカル・
メモリ・アクセス・カウンタ、PREGはプログラ
ム・メモリPMの出力レジスタである。なお、図
中で同一あるいは相当部分には同一符号を付して
示してある。
FIG. 1 is a configuration example diagram of a computer network to which the communication control processor of the present invention is applied, FIG. 2 is a configuration diagram of the communication control processor, and FIGS. 3 shows the link establishment phase, FIG. 4 shows the data transfer phase, FIG. 5 shows the link termination phase, FIG. 6 shows the transfer frame format, and FIG. The figure shows the channel control word CCW
FIG. 8 is a diagram showing the channel status word CSW, and FIG. 9 is a diagram showing a mechanism for accessing the link control table. In the figure, CPU is a computer, CCP is a communication control processor, N is a node or node number, 1 is a communication line, 2 is a logical link connecting communication process P, LM
is a local memory having a link control table LCT and a work memory WM including a link access table 9, MPC is a microprogram control section, ALU is an arithmetic unit, 8 is an arithmetic register, and CHX is a channel register 7. Channel interface unit, LIA is line interface adapter including line buffer 10, DTU is data transfer unit, 4 is control frame,
5 is the message frame, LMA is the local
The memory access counter, PREG, is the output register of the program memory PM. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

Claims (1)

【特許請求の範囲】 1 複数の通信プロセスまたはプログラムをもつ
計算機を通信回線等の結合媒体により相互に結合
して計算機ネツトワークを構成する通信制御プロ
セツサにおいて、上記通信制御プロセツサを、計
算機チヤンネル・インタフエース部と上記結合媒
体に結合されるライン・インタフエース・アダプ
タとを結ぶデータ転送部と、上記通信プロセスの
論理的な通信路である論理リンクに対応して割付
けるリンク制御テーブルと上記リンク制御テーブ
ルの使用状況を示すリンク・アクセス・テーブル
とを有するローカル・メモリと、上記論理リンク
の通信規約を実行するマイクロプログラム制御部
とで構成するとともに、上記マイクロプログラム
制御部で実行される通信規約をリンク確立フエー
ズ、データ転送フエーズおよびリンク終結フエー
ズに定義し、上記通信制御プロセツサは、 (i) 上記リンク確立フエーズにおいて、任意の通
信プロセスからのリンク確立要求に基づいて上
記ローカル・メモリ中の上記リンク・アクセ
ス・テーブルを参照して未使用のリンク制御テ
ーブルの任意の番号i(上記論理リンクの他端
の上記通信制御プロセツサにおいては任意の番
号j)を割当て、この番号i(または番号j)
をリンク番号i(またはリンク番号j)とし
て、上記通信プロセスが存在する上記計算機に
通知すると伴に、リンク制御メツセージにより
互いに他端の上記通信制御プロセツサに対して
リンク番号i(またはリンク番号j)を認知さ
せ、上記論理リンクを上記通信プロセス間に設
定する手段と、 (ii) 上記データ転送フエーズにおいて、論理リン
クで結ばれた上記通信プロセスの一方からのメ
ツセージ送信要求と他方の上記通信プロセスか
らのメツセージの受信要求のマツチングを、上
記マイクロプログラム制御部が上記リンク制御
テーブルを参照することにより検出し、この検
出後メツセージを転送する手段と、 (iii) 上記リンク終結フエーズにおいて、上記当該
通信プロセスからのリンク終結要求に基づい
て、上記リンク確立フエーズにおいて上記論理
リンクに割付けていた上記リンク制御テーブル
iおよびjを解放する手段と、 (iv) 互いに相手の上記リンク番号i(またはリン
ク番号j)を認知した後で交換する上記リンク
制御メツセージ中に、相手の上記通信プロセス
と対応した上記リンク番号j(またはリンク番
号i)を挿入して転送する手段と、 (v) 上記(iv)の手段により、受信した上記リンク制
御メツセージ中の上記リンク番号i(またはリ
ンク番号j)をアドレスとして上記ローカル・
メモリ中の当該リンク制御テーブルi(または
リンク制御テーブルj)の内容を読み出す手段
とを有し、上記計算機ネツトワークの上記通信
プロセス間の通信に対して、上記通信プロセス
が上記リンク番号を指定することで任意に論理
的な通信路を介して該当する通信プロセスへデ
ータ転送するとともに、これらの論理的な通信
路に対して互いに独立かつ並行的に通信規約を
実行するようにしたことを特徴とする通信制御
プロセツサ。
[Scope of Claims] 1. In a communication control processor that configures a computer network by interconnecting computers having a plurality of communication processes or programs through a coupling medium such as a communication line, the communication control processor is connected to a computer channel interface. A data transfer unit that connects the ace unit and the line interface adapter coupled to the coupling medium, a link control table allocated in correspondence with a logical link that is a logical communication path of the communication process, and the link control. It consists of a local memory having a link access table that indicates the usage status of the table, and a microprogram control unit that executes the communication rules for the logical link, and also controls the communication rules that are executed by the microprogram control unit. (i) In the link establishment phase, based on a link establishment request from any communication process, the communication control processor performs the following steps: - Allocate an arbitrary number i (arbitrary number j in the communication control processor at the other end of the logical link) of an unused link control table by referring to the access table, and assign this number i (or number j)
as the link number i (or link number j), and notify the computer where the communication process exists, and send the link number i (or link number j) to the communication control processor at the other end via a link control message. (ii) in the data transfer phase, a message sending request from one of the communication processes connected by the logical link and a message sending request from the other communication process; means for the microprogram control unit to detect matching of message reception requests by referring to the link control table, and to transfer the message after this detection; (iii) in the link termination phase, the communication process (iv) means for releasing the link control tables i and j allocated to the logical link in the link establishment phase based on a link termination request from; and (iv) the link number i (or link number j) of each other. means for inserting and forwarding the link number j (or link number i) corresponding to the communication process of the other party into the link control message exchanged after recognizing the communication process; (v) the means of (iv) above; , the link number i (or link number j) in the received link control message is used as the local address.
means for reading the contents of the link control table i (or link control table j) in memory, and the communication process specifies the link number for communication between the communication processes of the computer network. By doing so, data is transferred to the corresponding communication process via any logical communication path, and communication rules are executed independently and in parallel for these logical communication paths. communication control processor.
JP7628580A 1980-06-06 1980-06-06 Communication control processor Granted JPS573454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7628580A JPS573454A (en) 1980-06-06 1980-06-06 Communication control processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7628580A JPS573454A (en) 1980-06-06 1980-06-06 Communication control processor

Publications (2)

Publication Number Publication Date
JPS573454A JPS573454A (en) 1982-01-08
JPS6231387B2 true JPS6231387B2 (en) 1987-07-08

Family

ID=13601030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7628580A Granted JPS573454A (en) 1980-06-06 1980-06-06 Communication control processor

Country Status (1)

Country Link
JP (1) JPS573454A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59206935A (en) * 1983-05-11 1984-11-22 Mitsubishi Electric Corp Communication controlling and processing device
JPS60241154A (en) * 1984-05-16 1985-11-30 Fujitsu Ltd Multiplex answer telegram control system

Also Published As

Publication number Publication date
JPS573454A (en) 1982-01-08

Similar Documents

Publication Publication Date Title
US10521283B2 (en) In-node aggregation and disaggregation of MPI alltoall and alltoallv collectives
US5931915A (en) Method for processing early arrival messages within a multinode asynchronous data communications system
US7249206B2 (en) Dynamic memory allocation between inbound and outbound buffers in a protocol handler
CN105141603B (en) Communication data transmission method and system
CN111277616A (en) A Data Transmission Method Based on RDMA and Distributed Shared Memory System
CN101539902B (en) DMA device for nodes in multi-computer system and communication method
JPS61289456A (en) Job demand communication for decentralized processing system
WO2022032984A1 (en) Mqtt protocol simulation method and simulation device
CN106357761A (en) Distributed message communication middleware based on real-time operating system realizes software system
CN106953797A (en) A kind of method and apparatus of the RDMA data transfers based on Dynamic link library
CN118200253A (en) RDMA UD transmission-oriented reliable communication method, electronic equipment and readable medium
US6643700B1 (en) Option request protocol
CN115866010B (en) RDMA connection establishment method and device
US6009463A (en) Cooperative service interface with buffer and lock pool sharing, for enhancing message-dialog transfer between network provider and distributed system services
WO2023236589A1 (en) Communication method and related components
JPH05204853A (en) Data processing system, particularly software structure for telecommunication system
US6021430A (en) Output interface method and system for enhanced data transfers via cooperative service interface
JPS6231387B2 (en)
CN119835267A (en) Memory calculation separation storage system and method for improving network transmission efficiency of system
CN116760504B (en) Session synchronization method, device, service node, terminal and readable storage medium
CN115834660B (en) Non-blocking RDMA connection establishment method and device
CN118410001A (en) Method, system, device, product and equipment for data transmission between graphics processing units
JPH11328134A (en) Data transmission / reception method between computers
Li et al. Host-driven in-network aggregation on rdma
CN120751007B (en) Communication proxy transfer module, bandwidth enhancement processing method, device, chip, device, medium, and program