JPH0429101B2 - - Google Patents

Info

Publication number
JPH0429101B2
JPH0429101B2 JP61007427A JP742786A JPH0429101B2 JP H0429101 B2 JPH0429101 B2 JP H0429101B2 JP 61007427 A JP61007427 A JP 61007427A JP 742786 A JP742786 A JP 742786A JP H0429101 B2 JPH0429101 B2 JP H0429101B2
Authority
JP
Japan
Prior art keywords
data
transfer
channel
control
cycle steal
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
JP61007427A
Other languages
Japanese (ja)
Other versions
JPS62165256A (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 JP61007427A priority Critical patent/JPS62165256A/en
Publication of JPS62165256A publication Critical patent/JPS62165256A/en
Publication of JPH0429101B2 publication Critical patent/JPH0429101B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 〔目次〕 概 要 産業上の利用分野 従来の技術と発明が解決しようとする問題点 問題点を解決するための手段 作 用 実施例 発明の効果 〔概要〕 通信制御処理装置におけるマイクロプログラム
制御のチヤネル接続アダプタにおいて、制御記憶
上のデータバツフア領域を2面の領域(A,B)
に分割し、一方をチヤネルとの転送で使用してい
る時に、他方を主記憶との間のサイクルスチール
転送に使用する為、上記制御記憶上に、該2分割
されたデータバツフア領域の各面(A,B)の終
わりの位置を示すバツフア最終アドレスビツト
と、チヤネルとのデータ転送の終了を指示する転
送ストツプビツトとを設け、チヤネルとのデータ
転送中に、例えば、1バイト転送する毎に、上記
バツフア最終アドレスビツトと、転送ストツプビ
ツトとを監視する手段とを設けることにより、該
監視手段で、上記バツフア最終アドレスビツト、
又は転送ストツプビツトを検出した時、上記マイ
クロプログラムに対する割り込みを発生して、サ
イクルスチールによるデータ転送が可能な領域
(面A,又はB)を認識し、該制御記憶上の上記
2面のデータバツフア領域(A,B)を、チヤネ
ル側とのデータ転送と、主記憶側とのサイクルス
チール転送とで、交互に使用するようにしたもの
である。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art and Problems to be Solved by the Invention Means for Solving the Problems Effects of the Invention Embodiments Effects of the Invention [Summary] Communication control processing In the microprogram-controlled channel connection adapter of the device, the data buffer area on the control memory is divided into two areas (A, B).
When one side is used for transfer with the channel and the other is used for cycle steal transfer between main memory, each side of the divided data buffer area ( A, B) are provided with a buffer final address bit indicating the end position and a transfer stop bit indicating the end of data transfer with the channel. By providing means for monitoring the buffer final address bit and the transfer stop bit, the monitoring means can monitor the buffer final address bit,
Or, when a transfer stop bit is detected, it generates an interrupt to the microprogram, recognizes the area (side A or B) where data can be transferred by cycle steal, and writes the data buffer area (side) of the above two sides on the control memory. A and B) are used alternately for data transfer with the channel side and cycle steal transfer with the main memory side.

〔産業上の利用分野〕[Industrial application field]

本発明は、通信制御処理装置におけるデータ転
送方式に係り、特に、主記憶とチヤネルとの間の
データ転送方式に関する。
The present invention relates to a data transfer method in a communication control processing device, and particularly to a data transfer method between a main memory and a channel.

最近の計算機システムの性能の向上に伴つて、
該計算機システムのオンライン化が促進されてい
る。
With the recent improvement in the performance of computer systems,
The onlineization of computer systems is being promoted.

該オンラインシステムにおいては、ホストシス
テムと、端末装置との間で、データ回線を使用し
たオンラインによるデータ転送が行われている
が、該オンライン化の促進に伴つて、ホストシス
テムで処理すべきデータ量が増加し、該データ回
線の数が増加すると共に、一部の回線には高速の
データ回線も接続されるようになりつつある。
In this online system, data is transferred online between the host system and the terminal device using a data line, but as the online system is promoted, the amount of data that must be processed by the host system is increasing. As the number of data lines increases, high-speed data lines are also being connected to some of the lines.

こうした事情から、該オンラインシステムの要
である通信制御処理装置において、効果的にスル
ープツトを向上させる方策が要求されるようにな
つてきた。
Under these circumstances, there has been a demand for measures to effectively improve throughput in communication control processing devices, which are the core of online systems.

〔従来の技術と発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

第4図は、一般の通信制御処理装置の構成を示
した図であり、第5図は、従来の通信制御処理装
置におけるチヤネル接続アダプタの一例を示した
図であり、第6図は従来の他のデータ転送方式の
例を模式的に示した図である。
FIG. 4 is a diagram showing the configuration of a general communication control processing device, FIG. 5 is a diagram showing an example of a channel connection adapter in a conventional communication control processing device, and FIG. 6 is a diagram showing a conventional communication control processing device. FIG. 7 is a diagram schematically showing an example of another data transfer method.

先ず、第4図、第5図において、通信制御処理
装置の主制御部2、及びチヤネル接続アダプタ1
も、共にマイクロプログラムによつて制御されて
いるものとする。
First, in FIGS. 4 and 5, the main control unit 2 of the communication control processing device and the channel connection adapter 1
It is assumed that both are controlled by microprograms.

そして、ここでは、ホストシステムのチヤネル
と、回線とのデータ転送の内、主記憶からチヤネ
ルへデータを転送する場合を主にして、従来の技
術を説明する。
Here, the conventional technology will be explained, focusing mainly on the case of transferring data from the main memory to the channel among the data transfer between the channel of the host system and the line.

上記主記憶21からチヤネルへのデータ転送動
作においては、該主記憶21上のデータを、先ず
制御記憶11上のデータバツフア110に、制御
プロセツサ12での図示していないハードウエア
制御によるサイクルスチール動作でデータ転送を
行い、続いて、制御プロセツサ12で実行されて
いるマイクロプログラムからの起動で動作するチ
ヤネル接続部13内のハードウエア動作により、
該制御記憶11上の該データバツフア110のデ
ータをチヤネル側に転送するように機能する。
In the data transfer operation from the main memory 21 to the channel, the data in the main memory 21 is first transferred to the data buffer 110 in the control memory 11 by a cycle steal operation under hardware control (not shown) in the control processor 12. The data is transferred, and then, by the hardware operation within the channel connection section 13 that operates upon activation from the microprogram executed by the control processor 12,
It functions to transfer the data in the data buffer 110 on the control memory 11 to the channel side.

この為、図示していないホストシステムからの
入出力命令(SIO)によつて起動された、チヤネ
ル接続アダプタ1内の制御プロセツサ12におけ
るマイクロプログラムは、主記憶21上のデータ
アドレス、転送バイト数、転送方向を指示する
為、上記制御プロセツサ12において、主記憶ア
ドレスレジスタ(MSA)120、バイトカウン
タ(BC)121、及びサイクルスチール制御レ
ジスタ(CSC)122に、それぞれ制御データを
セツトする。
For this reason, a microprogram in the control processor 12 in the channel connection adapter 1 that is started by an input/output instruction (SIO) from a host system (not shown) is configured to determine the data address on the main memory 21, the number of bytes to be transferred, In order to instruct the transfer direction, the control processor 12 sets control data in the main memory address register (MSA) 120, byte counter (BC) 121, and cycle steal control register (CSC) 122, respectively.

この時、該制御記憶11上のデータバツフア1
10の位置を示す為、制御記憶アドレスレジスタ
(CSA)123にもデータがセツトされる。
At this time, the data buffer 1 on the control memory 11
Data is also set in the control storage address register (CSA) 123 to indicate the location of 10.

上記制御プロセツサ12において、該サイクル
スチール動作が、上記サイクルスチール制御レジ
スタ(CSC)122に制御データがセツトされる
ことにより開始されると、制御プロセツサ12で
の命令実行動作は停止し、該制御プロセツサ12
内のハードウエアによる、内部バスを経由した主
記憶21と制御記憶11内の上記データバツフア
110との間のデータ転送動作のみとなる。
In the control processor 12, when the cycle steal operation is started by setting control data in the cycle steal control register (CSC) 122, the instruction execution operation in the control processor 12 is stopped, and the control processor 12
Only the data transfer operation between the main memory 21 and the data buffer 110 in the control memory 11 via the internal bus is performed by the internal hardware.

そして、該サイクルスチール動作が終了する
と、制御プロセツサ12内の図示していない該ハ
ードウエアにより、マイクロプログラムに対して
割り込みを発生し、該マイクロプログラムがこの
割り込みを認識すると、上記データ転送制御部1
32を起動する。
When the cycle steal operation is completed, the hardware (not shown) in the control processor 12 generates an interrupt to the microprogram, and when the microprogram recognizes this interrupt, the data transfer controller 1
Start 32.

該データ転送制御部132においては、制御記
憶11の上記データバツフア110から読み出し
てきた上記サイクルスチールによる転送データ
を、データ保持レジスタ(DB)131を介して
チヤネルにデータ転送を行う。
The data transfer control unit 132 transfers the cycle steal transfer data read from the data buffer 110 of the control memory 11 to the channel via the data holding register (DB) 131.

然しながら、上記従来の主記憶21とチヤネル
との間のデータ転送においては、制御記憶11上
の上記データバツフア110を一面しか持つてい
ない為、チヤネルとの間のデータ転送と、主記憶
21からのサイクルスチールによるデータ転送と
を同時に実行することができないと云う問題があ
つた。
However, in the conventional data transfer between the main memory 21 and the channel, since the data buffer 110 on the control memory 11 has only one side, the data transfer between the channel and the cycle from the main memory 21 is There was a problem that it was not possible to simultaneously perform data transfer using steal.

次に、第6図によつて、上記一面しかないデー
タバツフア110で、チヤネルとの間のデータ転
送と、主記憶21との間のサイクルスチールによ
るデータ転送とを同時に行う、改良されたデータ
転送方式を説明する。
Next, as shown in FIG. 6, there is an improved data transfer method in which the single-sided data buffer 110 performs data transfer to and from the channel and data transfer by cycle stealing to and from the main memory 21 at the same time. Explain.

先ず、当該制御プロセツサ12が特定のマイク
ロプログラムを実行することにより、主記憶アド
レスレジスタ(MSA)120にサイクルスチー
ル開始アドレス(AO)が設定される等して、該
サイクルスチール動作が開始されると、本図aの
斜線で示した領域に、該サイクルスチールによる
転送データが用意され、上記主記憶アドレスレジ
スタ(MSA)120のアドレスがA0A1に変
化する。
First, when the control processor 12 executes a specific microprogram, a cycle steal start address (AO) is set in the main memory address register (MSA) 120, and the cycle steal operation is started. Transfer data due to the cycle steal is prepared in the shaded area in FIG. 1A, and the address of the main memory address register (MSA) 120 changes to A0A1.

この状態において、チヤネル側から、例えば、
リードコマンドが図示していないコマンドレジス
タに設定され、特定のマイクロプログラムが起動
されることにより、該チヤネルとの間のデータ転
送が開始されと、チヤネルに送出するデータの位
置を示すデータバツフアアドレスレジスタ
(DBA)130の内容は、B0から順次変化して
Bnとなる。
In this state, from the channel side, for example,
When a read command is set in a command register (not shown) and a specific microprogram is activated, data transfer to and from the channel is started, and a data buffer address indicating the location of the data to be sent to the channel is set. The contents of register (DBA) 130 change sequentially starting from B0.
Becomes Bn.

この時、Bn<A1の関係が保たれている間、チ
ヤネルへのデータ転送が可能であり、このアドレ
ス比較を比較演算部124で行う。
At this time, while the relationship Bn<A1 is maintained, data transfer to the channel is possible, and this address comparison is performed by the comparison calculation unit 124.

一方、上記のサイクルスチールの2回目の動作
は、本図bで示されている、A1〜A2迄の領域
と、上記チヤネルへのデータ転送が終了している
A0〜A3迄の範囲において、上記チヤネルへのデ
ータ転送と並行して実行することができる。
On the other hand, in the second cycle steal operation described above, the data transfer to the area A1 to A2 and the above channel shown in figure b is completed.
In the range from A0 to A3, it can be executed in parallel with data transfer to the above channels.

従つて、上記比較演算部124では、該Bnと
サイクルスチールアドレスAnとの比較を行い、
Bn>Anの範囲内においてサイクルスチール動作
を実行することができる。
Therefore, the comparison calculation unit 124 compares the Bn with the cycle steal address An,
A cycle steal operation can be performed within the range of Bn>An.

上記の動作を繰り返すことによつて、チヤネル
との間のデータ転送と、サイクルスチールによる
データ転送とを同時に、且つ連続的に行うことが
できる。
By repeating the above operations, data transfer to and from the channel and data transfer by cycle stealing can be performed simultaneously and continuously.

然しながら、この方式においては、上記チヤネ
ルへのデータ転送アドレス(DBA)と、サイク
ルスチールアドレス(MSA)とのアドレス比較
の計算をする為のハードウエア(比較演算部)1
24が必要となり、該比較論理の複雑さが問題と
なつていた。
However, in this method, hardware (comparison calculation unit) 1 is used to calculate the address comparison between the data transfer address (DBA) to the channel and the cycle steal address (MSA).
24 was required, and the complexity of the comparison logic was a problem.

本発明は上記従来の欠点に鑑み、ハードウエア
の大きな増加を伴わないで、且つマイクロプログ
ラムの制御が簡単にできる主記憶とチヤネルとの
間のデータ転送方式を提供することを目的とする
ものである。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional drawbacks, it is an object of the present invention to provide a data transfer method between a main memory and a channel that does not require a large increase in hardware and can be easily controlled by a microprogram. be.

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

第1図は本発明の概念を説明する図である。本
発明においては、マイクロプログラムで制御され
るチヤネル接続アダプタ1内に設けられている、
制御記憶11上のデータバツフア領域110を2
面の領域A面,B面に分割し、一方をチヤネルと
の転送で使用している時に、他方を主記憶21と
の間のサイクルスチール転送に使用する為、上記
制御記憶11上に、該2分割されたデータバツフ
ア領域の各面(A,B)の終わりの位置を示すバ
ツフア最終アドレスビツト111と、チヤネルと
のデータ転送の終了を指示する転送ストツプビツ
ト112とを設け、チヤネルとのデータ転送中
に、例えば、1バイト転送する毎に、上記バツフ
ア最終アドレスビツト111と、転送ストツプビ
ツト112とを監視し、上記バツフア最終アドレ
スビツト111,又は転送ストツプビツト112
を検出した時、上記マイクロプログラムに対する
割り込みを発生して、該割り込みによつて、特定
の割り込み処理に遷移した時点で、次のサイクル
スチールによるデータ転送が可能な領域(面A,
又はB)110を認識し、該制御記憶11上の上
記2面のデータバツフア領域(A,B)110
を、チヤネル側とのデータ転送と、主記憶側との
サイクルスチール転送とで、交互に使用するよう
に構成する。
FIG. 1 is a diagram explaining the concept of the present invention. In the present invention, provided in the channel connection adapter 1 controlled by a microprogram,
The data buffer area 110 on the control memory 11 is
The area of the surface is divided into A side and B side, and when one side is used for transfer with the channel, the other side is used for cycle steal transfer with the main memory 21. A buffer final address bit 111 indicating the end position of each side (A, B) of the divided data buffer area and a transfer stop bit 112 indicating the end of data transfer with the channel are provided. For example, each time one byte is transferred, the buffer final address bit 111 and transfer stop bit 112 are monitored, and the buffer final address bit 111 or transfer stop bit 112 is monitored.
is detected, an interrupt is generated to the microprogram, and when the interrupt transitions to a specific interrupt processing, the area where data transfer is possible by the next cycle steal (plane A,
or B) recognize the data buffer area (A, B) 110 on the two sides of the control memory 11;
is configured to be used alternately for data transfer with the channel side and cycle steal transfer with the main memory side.

上記バツフア最終アドレスビツト111と、転
送ストツプビツト112との監視は、データ転送
制御部132内の監視部132aで行うように構
成する。
The buffer final address bit 111 and transfer stop bit 112 are monitored by a monitoring section 132a within the data transfer control section 132.

〔作用〕[Effect]

即ち、本発明によれば、通信制御処理装置にお
けるマイクロプログラム制御のチヤネル接続アダ
プタにおいて、制御記憶上のデータバツフア領域
を2面の領域(A,B)に分割し、一方をチヤネ
ルとの転送で使用している時に、他方を主記憶と
の間のサイクルスチール転送に使用する為、上記
制御記憶上に、該2分割されたデータバツフア領
域の各面(A,B)の終わりの位置を示すバツフ
ア最終アドレスビツトと、チヤネルとのデータ転
送の終了を指示する転送ストツプビツトとを設
け、チヤネルとのデータ転送中に、例えば、1バ
イト転送する毎に、上記バツフア最終アドレスビ
ツトと、転送ストツプビツトとを監視する手段と
を設けることにより、該監視手段で、上記バツフ
ア最終アドレスビツト、又は転送ストツプビツト
を検出した時、上記マイクロプログラムに対する
割り込みを発生して、サイクルスチールによるデ
ータ転送が可能な領域(面A,又はB)を認識
し、該制御記憶上の上記2面のデータバツフア領
域(A,B)を、チヤネル側とのデータ転送と、
主記憶側とのサイクルスチール転送とで、交互に
使用するようにしたものであるので、ハードウエ
アを余り増加させることなく、通信制御処理装置
と、ホストチヤネルとの間のデータ転送効率を向
上させることができる効果がある。
That is, according to the present invention, in a channel connection adapter controlled by a microprogram in a communication control processing device, the data buffer area on the control memory is divided into two areas (A, B), and one side is used for transfer with the channel. In order to use the other side for cycle steal transfer between the main memory and the main memory, a buffer final buffer indicating the end position of each side (A, B) of the two divided data buffer areas is written on the control memory. An address bit and a transfer stop bit for instructing the end of data transfer with the channel are provided, and the buffer final address bit and transfer stop bit are monitored each time, for example, 1 byte is transferred during data transfer with the channel. By providing means, when the monitoring means detects the buffer final address bit or the transfer stop bit, it generates an interrupt to the microprogram and checks the area (plane A or B), and transfers the data buffer areas (A, B) on the two sides of the control memory to the channel side;
Cycle-steal transfers with the main memory side are used alternately, so data transfer efficiency between the communication control processing unit and the host channel is improved without significantly increasing hardware. There is an effect that can be done.

〔実施例〕〔Example〕

以下本発明の実施例を図面によつて詳述する。
第2図は本発明の一実施例をブロツク図で示した
図であつて、チヤネル接続アダプタの詳細を示し
ており、第3図は本発明によるデータ転送動作を
タイムチヤートで示した図であり、aは主記憶か
らチヤネルへの転送動作を示しており、bは制御
記憶からチヤネルへの転送動作の詳細を示してい
る。
Embodiments of the present invention will be described in detail below with reference to the drawings.
FIG. 2 is a block diagram showing an embodiment of the present invention, showing details of a channel connection adapter, and FIG. 3 is a time chart showing the data transfer operation according to the present invention. , a shows the transfer operation from the main memory to the channel, and b shows details of the transfer operation from the control memory to the channel.

第2図において、制御記憶11上に設けられて
いる2面(A,B)からなるデータバツフア11
0と、該データバツフア110に対応して設けら
れているテーブル領域(A,B)110′内のバ
ツフア最終アドレスビツト111と、転送ストツ
プビツト112と、データ転送制御部132にお
ける、上記バツフア最終アドレスビツト111
と、転送ストツプビツト112とを監視する手段
(監視部)132a、及び関連機構が本発明を実
施するのに必要な機能ブロツクである。尚、全図
を通して同じ符号は同じ対象物を示している。
In FIG. 2, a data buffer 11 consisting of two sides (A, B) provided on a control memory 11
0, the buffer final address bit 111 in the table area (A, B) 110' provided corresponding to the data buffer 110, the transfer stop bit 112, and the buffer final address bit 111 in the data transfer control unit 132.
and the transfer stop bit 112 (monitoring section) 132a, and related mechanisms are functional blocks necessary to implement the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

先ず、従来方式と同じようにして、制御プロセ
ツサ12は制御記憶11から特定のマイクロプロ
グラムを読み出し実行することにより、主記憶2
1上のデータアドレス、転送バイト数、転送方向
を指示する為、当該制御プロセツサ12内の主記
憶アドレスレジスタ(MSA)120、バイトカ
ウンタ(BC)121、及びサイクルスチール制
御レジスタ(CSC)122に、それぞれ制御デー
タをセツトする。
First, in the same manner as in the conventional system, the control processor 12 reads and executes a specific microprogram from the control memory 11, thereby loading the main memory 2.
1, the main memory address register (MSA) 120, byte counter (BC) 121, and cycle steal control register (CSC) 122 in the control processor 12, Set control data for each.

この時、該制御記憶11上のデータバツフア
(A,B面)110の何れかの位置を示す為、制
御記憶アドレスレジスタ(CSA)123にもデ
ータがセツトされる。
At this time, data is also set in a control storage address register (CSA) 123 in order to indicate the location of any one of the data buffers (sides A and B) 110 on the control storage 11.

上記制御プロセツサ12において、該サイクル
スチール動作が、上記サイクルスチール制御レジ
スタ(CSC)122に制御データがセツトされる
ことにより開始されると、制御プロセツサ12で
の命令実行動作は停止し、該制御プロセツサ12
内のハードウエアによる内部バスを介しての主記
憶21と制御記憶11との間のデータ転送動作の
みとなる。
In the control processor 12, when the cycle steal operation is started by setting control data in the cycle steal control register (CSC) 122, the instruction execution operation in the control processor 12 is stopped, and the control processor 12
Only the data transfer operation between the main memory 21 and the control memory 11 is performed by the internal hardware via the internal bus.

そして、該サイクルスチール動作が終了する
と、図示していない該ハードウエアにより、制御
プロセツサ12のマイクロプログラムに対して割
り込みを発生し、マイクロプログラムがこの割り
込みを認識すると、該制御記憶11上のデータバ
ツフア(A,B面)110の何れかに転送されて
いるデータを、チヤネルに対してデータ転送を開
始する動作に移行させる為、データ転送制御部1
32を起動する。
When the cycle steal operation is completed, the hardware (not shown) generates an interrupt to the microprogram of the control processor 12, and when the microprogram recognizes this interrupt, the data buffer ( In order to shift the data being transferred to either side A or B side 110 to the operation of starting data transfer to the channel, the data transfer control unit 1
Start 32.

この時、制御プロセツサ12が実行しいるマイ
クロプログラムは、データバツフアアドレスレジ
スタ(DBA)13に、上記サイクルスチール動
作で転送されてきたデータバツフア(A,B)1
10の何れかの面のアドレスをセツトすると共
に、該制御記憶11のテーブル領域(A,B)1
10′に設けられている上記バツフア最終アドレ
スビツト111と、残りの転送バイト数がデータ
バツフア(A,又はB)110の容量より少なく
なつた場合は、該データバツフア110の途中で
転送動作を終了させる為の転送ストツプビツト1
12を設定する。
At this time, the microprogram executed by the control processor 12 writes the data buffer (A, B) 1 transferred in the cycle steal operation to the data buffer address register (DBA) 13.
10 and table area (A, B) 1 of the control memory 11.
When the buffer final address bit 111 provided at 10' and the number of remaining transfer bytes become less than the capacity of the data buffer (A or B) 110, the transfer operation is terminated midway through the data buffer (A or B) 110. transfer stop bit 1
Set 12.

これらの情報がセツトされて、上記データ転送
制御部132により、チヤネルとの間のデータ転
送が開始されると、第3図bのタイムチヤートで
示したように、データ転送制御部132内のハー
ドウエアが、上記データバツフアアドレスレジス
タ(DBA)13の内容に基づいて、上記データ
バツフア(A,B)110をアクセスして、1回
のデータ転送に必要な、例えば、1バイトのデー
タを読み出し、データ保持レジスタ(DB)13
1を通してチヤネルに転送すると共に、次のサイ
クルで監視部132aが、上記データバツフアア
ドレスレジスタ(DBA)130の特定ビツトを
モデイフアイした内容で、該データバツフア11
0に対応して設けられているテーブル領域(A,
B)110′をアクセスし、上記バツフア最終ア
ドレスビツト111と、転送ストツプビツト11
2の状態を判定し、該ビツトの何れかが、‘オン
’となつていることを検出すると、マイクロプロ
グラムに割り込む。
When these pieces of information are set and the data transfer control section 132 starts data transfer with the channel, as shown in the time chart of FIG. 3b, the hardware in the data transfer control section 132 The software accesses the data buffer (A, B) 110 based on the contents of the data buffer address register (DBA) 13 and reads out, for example, 1 byte of data necessary for one data transfer, Data holding register (DB) 13
1 to the channel, and in the next cycle, the monitoring unit 132a modifies the specific bits of the data buffer address register (DBA) 130 and transfers the data to the data buffer 11.
Table area (A,
B) Access 110' and write the buffer final address bit 111 and transfer stop bit 11.
2, and if any of the bits is detected to be 'on', the microprogram is interrupted.

該割り込みに対してマイクロプログラムは、転
送ストツプビツト112が‘オン’を検出した割
り込みであると認識すると、転送データの終了を
意味するので当該データ転送を終了する処理に入
るが、バツフア最終アドレスビツト111が‘オ
ン’であることを検出した割り込みであると認識
すると、その時点でチヤネルとのデータ転送で使
用していたデータバツフア(A,又はB面)11
0が、次のサイクルスチールによる主記憶21か
らのデータ転送で使用可能になつたと判定して、
該サイクルスチール動作の継続処理に入るように
制御する。
When the microprogram recognizes that the interrupt is an interrupt in which the transfer stop bit 112 is 'on', it means the end of the transfer data, so it starts processing to finish the data transfer, but the buffer final address bit 111 When the interrupt is detected as being 'on', the data buffer (side A or B) 11 used for data transfer with the channel at that time is
0 is now available for data transfer from the main memory 21 by the next cycle steal,
Control is performed to continue the cycle steal operation.

第3図aは、上記のサイクルスチール動作と、
チヤネルへのデータ転送動作をタイムチヤートで
示したもので、がサイクルスチール動作を示
し、がチヤネルへのデータ転送動作を示してい
る。
FIG. 3a shows the cycle steal operation described above,
This is a time chart showing the data transfer operation to the channel, where indicates the cycle steal operation and indicates the data transfer operation to the channel.

本図から明らかなように、本発明によるデータ
転送においては、制御記憶11上の2面のデータ
バツフア(A,B)110がチヤネル側のデータ
転送と、主記憶21からのサイクルスチールによ
るデータ転送とで交互に入れ替わり、データ転送
の連続性が保障される。
As is clear from this figure, in data transfer according to the present invention, two data buffers (A, B) 110 on the control memory 11 are used for data transfer on the channel side and data transfer by cycle stealing from the main memory 21. The data transfer is performed alternately, ensuring continuity of data transfer.

このように、本発明は、主記憶とチヤネルとの
間のデータ転送を行うのに、例えば、制御記憶上
にデータバツフアを2面設けると共に、該データ
バツフアの最終アドレスを示すビツトと、転送デ
ータの終了を示す転送ストツプビツトとを、チヤ
ネルへのデータ転送を1回行う毎に監視し、該ビ
ツトの何れかが‘オン’になつていることを検出
することによつて、データバツフアの使用状態を
判定して、チヤネルとの転送動作と、サイクルス
チール動作とを同時に実行できるようにした所に
特徴がある。
As described above, in order to transfer data between the main memory and the channel, the present invention provides, for example, two data buffers on the control memory, and a bit indicating the final address of the data buffer and a bit indicating the end of the transferred data. The usage status of the data buffer is determined by monitoring the transfer stop bit indicating the data transfer to the channel each time data is transferred to the channel, and detecting that any of the bits is turned on. The feature is that the transfer operation with the channel and the cycle steal operation can be executed at the same time.

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

以上、詳細に説明したように、本発明の通信制
御処理装置におけるデータ転送方式は、通信制御
処理装置におけるマイクロプログラム制御のチヤ
ネル接続アダプタにおいて、制御記憶上のデータ
バツフア領域を2面の領域(A,B)に分割し、
一方をチヤネルとの転送で使用している時に、他
方を主記憶との間のサイクルスチール転送に使用
する為、上記制御記憶上に、該2分割されたデー
タバツフア領域の各面(A,B)の終わりの位置
を示すバツフア最終アドレスビツトと、チヤネル
とのデータ転送の終了を指示する転送ストツプビ
ツトとを設け、チヤネルとのデータ転送中に、例
えば、1バイト転送する毎に、上記バツフア最終
アドレスビツトと、転送ストツプビツトとを監視
する手段とを設けることにより、該監視手段で、
上記バツフア最終アドレスビツト、又は転送スト
ツプビツトを検出した時、上記マイクロプログラ
ムに対する割り込みを発生して、サイクルスチー
ルによるデータ転送が可能な領域(面A,又は
B)を認識し、該制御記憶上の上記2面のデータ
バツフア領域(A,B)を、チヤネル側とのデー
タ転送と、主記憶側とのサイクルスチール転送と
で、交互に使用するようにしたものであるので、
ハードウエアを余り増加させることなく、通信制
御処理装置と、ホストチヤネルとの間のデータ転
送効率を向上させることができる効果がある。
As described above in detail, the data transfer method in the communication control processing device of the present invention is such that the data buffer area on the control memory is divided into two areas (A, B) divided into
When one side is used for transfer with the channel, the other side is used for cycle steal transfer with the main memory, so each side (A, B) of the data buffer area divided into two is placed on the control memory. A buffer final address bit indicating the end position and a transfer stop bit indicating the end of data transfer with the channel are provided, and during data transfer with the channel, for example, each time one byte is transferred, the buffer final address bit is set. and a transfer stop bit, the monitoring means can:
When the buffer final address bit or transfer stop bit is detected, an interrupt is generated to the microprogram, the area (plane A or B) in which data can be transferred by cycle steal is recognized, and the The two data buffer areas (A, B) are used alternately for data transfer with the channel side and cycle steal transfer with the main memory side.
This has the effect of improving data transfer efficiency between the communication control processing device and the host channel without significantly increasing hardware.

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

第1図は本発明の概念を説明する図、第2図は
本発明の一実施例をブロツク図で示した図、第3
図は本発明によるデータ転送動作をタイムチヤー
トで示した図、第4図は一般の通信制御処理装置
の構成を示した図、第5図は従来の通信制御処理
装置におけるチヤネル接続アダプタの一例を示し
た図、第6図は従来の他のデータ転送方式の例を
模式的に示した図、である。 図面において、1はチヤネル接続アダプタ、1
1は制御記憶、110はデータバツフア(A,
B)、12は制御プロセツサ、120は主記憶ア
ドレスレジスタ(MSA)、121はバイトカウン
タ(BC)、122はサイクルスチール制御レジス
タ(CSC)、123は制御記憶アドレスレジスタ
(CSA)、124は比較演算部、13はチヤネル
接続部、130はデータバツフアアドレスレジス
タ(DBA)、131はデータ保持レジスタ
(DB)、132はデータ転送制御部、132aは
監視部、はサイクルスチールによるデータ転
送、はチヤネルへのデータ転送、をそれぞれ示
す。
Fig. 1 is a diagram explaining the concept of the present invention, Fig. 2 is a block diagram showing an embodiment of the invention, and Fig. 3 is a diagram explaining the concept of the present invention.
The figure shows a time chart of the data transfer operation according to the present invention, FIG. 4 shows the configuration of a general communication control processing device, and FIG. 5 shows an example of a channel connection adapter in a conventional communication control processing device. The figure shown in FIG. 6 is a diagram schematically showing an example of another conventional data transfer method. In the drawing, 1 is a channel connection adapter;
1 is a control memory, 110 is a data buffer (A,
B), 12 is a control processor, 120 is a main memory address register (MSA), 121 is a byte counter (BC), 122 is a cycle steal control register (CSC), 123 is a control memory address register (CSA), 124 is a comparison operation 13 is a channel connection part, 130 is a data buffer address register (DBA), 131 is a data holding register (DB), 132 is a data transfer control part, 132a is a monitoring part, data transfer by cycle steal, is to a channel data transfer, respectively.

Claims (1)

【特許請求の範囲】 1 マイクロプログラム制御の通信制御処理装置
であつて、 少なくとも、マイクロプログラム領域と、デー
タバツフア領域110とを定義した制御記憶11
と、 該通信制御処理装置内の主記憶21と、上記制
御記憶11内のデータバツフア領域との間でサイ
クルスチール転送を行う為の、上記主記憶21上
のサイクルスチール開始アドレスを示す主記憶ア
ドレスレジスタ(MSA)120と、 上記制御記憶11上のデータバツフア位置を保
持する制御記憶アドレスレジスタ(CSA)12
3と、 最大転送バイト数を保持するバイトカウンタ
(BC)121と、 サイクルスチール動作を制御するサイクルスチ
ール制御レジスタ(CSC)122と、 チヤネルとの間でのデータ転送のための、上記
制御記憶11上のデータ位置を保持するデータバ
ツフアアドレスレジスタ(DBA)130と、 データを該チヤネルに送出、又は該チヤネルか
らのデータを受信するデータ保持レジスタ
(DB)131とを有する、マイクロプログラム
制御のチヤネル接続アダプタ1において、 該制御記憶11上のデータバツフア領域110
を2面の領域(A,B)に分割し、一方をチヤネ
ルとの転送で使用している時に、他方を主記憶2
1との間のサイクルスチール転送に使用する為、
上記制御記憶11上に、該2分割されたデータバ
ツフア領域の各面の終わりの位置を示すバツフア
最終アドレスビツト111と、チヤネルとのデー
タ転送の終了を指示する転送ストツプビツト11
2とを設け、 チヤネルとのデータ転送中に、nバイト(nは
正の整数)転送する毎に、上記バツフア最終アド
レスビツト111と、転送ストツプビツト112
とを監視する手段132aと、 該監視手段132aで、上記バツフア最終アド
レスビツト111,又は転送ストツプビツト11
2を検出した時、上記マイクロプログラムに対す
る割り込みを発生する手段(INT)とを設け、 該割り込み手段(INT)で生成された割り込
み信号によつて、特定の割り込み処理に遷移した
時点で、次のサイクルスチールによるデータ転送
が可能な領域(面A,又はB)110を認識し、
該制御記憶11上の上記2面(A,B)のデータ
バツフア領域110を、チヤネル側とのデータ転
送と、主記憶側とのサイクルスチール転送とで、
交互に使用するようにしたことを特徴とする通信
制御処理装置におけるデータ転送方式。
[Scope of Claims] 1. A communication control processing device under microprogram control, which includes a control memory 11 that defines at least a microprogram area and a data buffer area 110.
and a main memory address register indicating a cycle steal start address on the main memory 21 for performing cycle steal transfer between the main memory 21 in the communication control processing device and the data buffer area in the control memory 11. (MSA) 120, and a control memory address register (CSA) 12 that holds the data buffer location on the control memory 11.
3, a byte counter (BC) 121 that holds the maximum number of transferred bytes, a cycle steal control register (CSC) 122 that controls the cycle steal operation, and the control memory 11 for data transfer between the channels. A microprogram controlled channel having a data buffer address register (DBA) 130 for holding data locations on the channel, and a data holding register (DB) 131 for sending data to or receiving data from the channel. In the connection adapter 1, the data buffer area 110 on the control memory 11
is divided into two areas (A, B), and when one is used for transfer with the channel, the other is used for main memory 2.
To use for cycle steal transfer between 1 and 1,
On the control memory 11, a buffer final address bit 111 indicating the end position of each side of the divided data buffer area and a transfer stop bit 11 indicating the end of data transfer with the channel are stored.
2, and during data transfer with the channel, the buffer final address bit 111 and transfer stop bit 112 are set every time n bytes (n is a positive integer) are transferred.
means 132a for monitoring the buffer final address bit 111 or transfer stop bit 11 by the monitoring means 132a;
2 is detected, a means (INT) for generating an interrupt to the microprogram is provided, and when the interrupt signal generated by the interrupt means (INT) causes a transition to a specific interrupt processing, the next processing is performed. Recognizing the area (surface A or B) 110 where data transfer by cycle steal is possible,
The data buffer areas 110 on the two sides (A, B) on the control memory 11 are transferred by data transfer with the channel side and cycle steal transfer with the main memory side.
A data transfer method in a communication control processing device characterized in that the data transfer method is used alternately.
JP61007427A 1986-01-17 1986-01-17 Data transfer system of communication control processor Granted JPS62165256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61007427A JPS62165256A (en) 1986-01-17 1986-01-17 Data transfer system of communication control processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61007427A JPS62165256A (en) 1986-01-17 1986-01-17 Data transfer system of communication control processor

Publications (2)

Publication Number Publication Date
JPS62165256A JPS62165256A (en) 1987-07-21
JPH0429101B2 true JPH0429101B2 (en) 1992-05-18

Family

ID=11665560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61007427A Granted JPS62165256A (en) 1986-01-17 1986-01-17 Data transfer system of communication control processor

Country Status (1)

Country Link
JP (1) JPS62165256A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2597632B2 (en) * 1988-03-17 1997-04-09 日本放送協会 Processor shake hand device

Also Published As

Publication number Publication date
JPS62165256A (en) 1987-07-21

Similar Documents

Publication Publication Date Title
US4467447A (en) Information transferring apparatus
US4860244A (en) Buffer system for input/output portion of digital data processing system
EP0451516B1 (en) Improved SCSI device in a small computer system
JP2829091B2 (en) Data processing system
US4271466A (en) Direct memory access control system with byte/word control of data bus
US4495564A (en) Multi sub-channel adapter with single status/address register
EP0275157A2 (en) Direct memory access controlled system
US5761728A (en) Asynchronous access system controlling processing modules making requests to a shared system memory
JPH0429101B2 (en)
JPH1118122A (en) Data transfer system
JP2643931B2 (en) Information processing device
JPH1063617A (en) Serial communication device
JPS6130300B2 (en)
SU1176340A1 (en) Information input-outrut device
EP1193606B1 (en) Apparatus and method for a host port interface unit in a digital signal processing unit
KR970004888B1 (en) Method for controlling double scsi adapter at a time in full electronic switching system
JP2667285B2 (en) Interrupt control device
JPS6367665A (en) Data processor
JPH03220654A (en) Microcomputer
JPH0535693A (en) Data transfer device
JPS6049465A (en) Data transfer method between microcomputers
JPH08137738A (en) Cpu arbitration circuit
JPH0424733B2 (en)
JPH03262063A (en) Bus control circuit for dma transfer
JPS6368954A (en) Information transferring system