JPH042981B2 - - Google Patents
Info
- Publication number
- JPH042981B2 JPH042981B2 JP5764181A JP5764181A JPH042981B2 JP H042981 B2 JPH042981 B2 JP H042981B2 JP 5764181 A JP5764181 A JP 5764181A JP 5764181 A JP5764181 A JP 5764181A JP H042981 B2 JPH042981 B2 JP H042981B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- input
- output
- data transfer
- bus
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Description
【発明の詳細な説明】
本発明は、データ転送制御装置に係り、特にデ
ータ転送速度が異なる複数の入出力装置を一括し
て制御する入出力制御装置の一部分として働かせ
る場合に適用して好適なデータ転送制御装置に係
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer control device, and is particularly suitable for application when working as a part of an input/output control device that collectively controls a plurality of input/output devices having different data transfer speeds. It concerns a data transfer control device.
近年の電子計算機システムにおける入出力動作
は、主記憶内のチヤネル・コマンド・ワードをチ
ヤネル装置が中央処理装置とは別個に実行するこ
とによつて制御されている。従つて、中央処理装
置は入出力動作を制御する負担から解放され、プ
ログラムを効率的に実行することができる。 Input/output operations in modern electronic computer systems are controlled by channel devices executing channel command words in main memory separately from the central processing unit. Therefore, the central processing unit is freed from the burden of controlling input/output operations and can efficiently execute programs.
これに対して、チヤネル装置は入出力装置を対
象とするデータ転送に加えて、入出力動作をも制
御するため、大きな負担を強いられる。 On the other hand, channel devices are forced to carry a heavy burden because they control input/output operations in addition to data transfer for input/output devices.
とりわけ、入出力装置の台数が多く、また、上
記チヤネル・コマンド・ワードの構成・機能が複
雑である大きな情報処理システムにおいては、上
記チヤネル装置の負担は一層大きなものとなつて
いる。 Particularly in large information processing systems in which the number of input/output devices is large and the configurations and functions of the channels, commands, and words are complex, the burden on the channel devices becomes even greater.
そこで、従来このようなチヤネル装置の負担を
軽減するため、入出力装置の制御は入出力制御装
置によりその一部分を肩代りされている。 Conventionally, in order to reduce the burden on such channel devices, a part of the control of the input/output devices has been taken over by an input/output control device.
また、チヤネル装置に多数の入出力装置、特に
磁気デイスク装置のような高いデータ転送速度を
有する入出力装置群が接続されていて、チヤネル
装置の応答速度がこれら入出力装置群に対して不
足し、データ転送要求があつてから転送が行われ
る迄の応答が間に合わないような場合には、これ
を補償するためデータ転送内容を一時的に格納す
るデータ・バツフア回路がしばしば使用される。 Also, when a channel device is connected to a large number of input/output devices, especially a group of input/output devices with high data transfer rates such as magnetic disk devices, the response speed of the channel device may be insufficient for these input/output devices. In cases where the response from the time a data transfer request is received until the time the data transfer is performed is not in time, a data buffer circuit is often used to temporarily store the data transfer contents in order to compensate for this.
すなわち、上記磁気デイスク装置等において
は、磁気記録媒体の回転によつてクロツク信号が
得られ、これに同期してデータの書込みを行つて
おり、このとき書込むべきデータをチヤネル装置
に要求し、この要求後一定時間以内にデータを得
たときのみ媒体上の規定位置へのデータの書込が
可能である。従つて、上記データ要求の都度一定
時間以内にチヤネル装置が応答することができな
い場合には、上記データ要求に先立つてデータを
上記データ・バツフア回路に蓄積し、これによつ
てチヤネル装置に替つて該データ・バツフア回路
から磁気デイスク装置が要求するデータを送出す
るようになつている。この結果、データ・バツフ
ア回路が磁気デイスク装置からのデータ要求に対
して高速に応答すれば、チヤネル装置は磁気デイ
スク装置とは非同期で動作することにより、また
多重処理量の変動によつて、たまたま上記データ
要求に対して応答が一時的に遅れるようなことが
あつても問題とはならない。 That is, in the magnetic disk device described above, a clock signal is obtained by the rotation of the magnetic recording medium, and data is written in synchronization with this clock signal. At this time, data to be written is requested from the channel device, Data can be written to a specified position on the medium only when data is obtained within a certain period of time after this request. Therefore, if the channel device is unable to respond within a certain period of time each time the data request is made, the data is stored in the data buffer circuit prior to the data request, thereby replacing the channel device. Data requested by the magnetic disk device is sent from the data buffer circuit. As a result, if the data buffer circuit responds quickly to data requests from the magnetic disk device, the channel device operates asynchronously with the magnetic disk device, and due to fluctuations in the amount of multiprocessing, Even if the response to the above data request is temporarily delayed, it is not a problem.
また、上記データ・バツフア回路とチヤネル装
置間のデータ転送は該データ・バツフア回路と磁
気デイスク装置等の入出力装置間のデータ転送と
非同期となり、独立に行うことができる。 Further, data transfer between the data buffer circuit and the channel device is asynchronous with data transfer between the data buffer circuit and an input/output device such as a magnetic disk device, and can be performed independently.
ところで、従来このデータ・バツフア回路とチ
ヤネル装置間のデータ転送の制御は一般的にイン
タロツク方式によつて行なわれている。 Incidentally, conventionally, control of data transfer between the data buffer circuit and the channel device has generally been performed using an interlock system.
第1図はこのインタロツク方式を説明するため
の図であり、また第2図は第1図に示すインタロ
ツク方式において用いられるデータ信号、制御信
号が伝達されるインタフエース信号線を示す図で
ある。 FIG. 1 is a diagram for explaining this interlock system, and FIG. 2 is a diagram showing interface signal lines through which data signals and control signals used in the interlock system shown in FIG. 1 are transmitted.
第2図中、10はチヤネル装置、20はデータ
バツフア回路を含んだ入出力制御装置、BUSは
双方向データバス、TGI1,TGI2,TGO1,
TGO2はコントロール・バスを構成するタグイ
ン、タグアウト線で、これらのタグイン、タグア
ウト線はデータ・バスの方向によつて異なる機能
を有する。すなわち、チヤネル装置10から入出
力制御装置20へデータを送出する場合には、タ
グイン線TGI1,TGI2は交互にデータ要求を表わ
すリクエスト信号R1,R2を伝えると共に、タグ
アウト線TGO1,TGO2はデータバスBUS上にデ
ータが存在する(チヤネル装置から送出中)こと
を表わすセンデイング信号S1,S2を伝え、またチ
ヤネル装置10へ入出力制御装置20からデータ
を送出する場合には前記タグイン線TGI1,TGI2
は交互にデータバスBUS上に入出力制御装置2
0から送出中のデータが存在することを表わすセ
ンデイング信号を伝えると共に、タグアウト線
TGO1,TGO2はチヤネル装置10がデータバス
BUS上のデータを受領中であることを表わすレ
シーブ信号を伝える。 In FIG. 2, 10 is a channel device, 20 is an input/output control device including a data buffer circuit, BUS is a bidirectional data bus, TGI 1 , TGI 2 , TGO 1 ,
TGO 2 is a tag-in/tag-out line that constitutes the control bus, and these tag-in/tag-out lines have different functions depending on the direction of the data bus. That is, when sending data from the channel device 10 to the input/output control device 20, the tag-in lines TGI 1 and TGI 2 alternately transmit request signals R 1 and R 2 representing data requests, and the tag-out line TGO 1 , TGO 2 transmits sending signals S 1 and S 2 indicating that data exists on the data bus BUS (being sent from the channel device), and also transmits sending signals S 1 and S 2 when data is sent from the input/output control device 20 to the channel device 10. are the tag-in lines TGI 1 and TGI 2
are alternately connected to the input/output control device 2 on the data bus BUS.
In addition to transmitting a sending signal indicating that there is data being sent from 0, the tagout line
For TGO 1 and TGO 2 , the channel device 10 is a data bus.
Sends a receive signal indicating that data on the BUS is being received.
いま、一例として第1図に従つて、チヤネル装
置10から入出力制御装置20へデータを転送す
る場合につき、上記インタロツク方式を具体的に
説明する。 Now, as an example, referring to FIG. 1, the above-mentioned interlock system will be specifically explained in the case where data is transferred from the channel device 10 to the input/output control device 20.
まず、同図1に示すようにリクエスト信号R1
がタグイン線TGI1を介して入出力制御装置20
からチヤネル装置10へ与えられる。すると、こ
の信号R1は矢印iで示すように信号テーブル上
の遅延およびチヤネル装置での応答動作時間を経
て、同図5に示すようにチヤネル装置からデータ
バス上に1番目のデータD1を送出させる。そし
て、データ・バス上のデータD1が確定する所定
期後に同図2に示すようにセンデイング信号S1が
立上る。 First, as shown in FIG. 1, the request signal R 1
is connected to the input/output control device 20 via the tag-in line TGI 1 .
to the channel device 10. Then, this signal R 1 goes through a delay on the signal table and a response operation time in the channel device as shown by arrow i, and then the first data D 1 is transferred from the channel device onto the data bus as shown in FIG. 5. send it out. Then, after a predetermined period when the data D1 on the data bus is finalized, the sending signal S1 rises as shown in FIG.
このセンデイング信号S1はタグアウト線TGO1
を介して入出力制御装置20に伝えられこれによ
り矢印jで示すようにリクエスト信号R1の送出
を停止させる。すると、リクエスト信号R1の送
出が停止されたことが矢印lで示すようにチヤネ
ル装置10に伝わり、同図2に示すセンデイング
信号S1の送出を停止させる。 This sending signal S 1 is connected to the tagout line TGO 1
is transmitted to the input/output control device 20 via the input/output controller 20, thereby stopping the sending of the request signal R1 as shown by arrow j. Then, the fact that the sending of the request signal R1 has been stopped is transmitted to the channel device 10 as shown by arrow l, and the sending of the sending signal S1 shown in FIG. 2 is stopped.
また、このリクエスト信号R1の送出停止は同
図3に示す2番目のデータ要求に対応するリクエ
スト信号R2のタグイン線TGI2への送出を矢印k
で示すように呼び起す。このリクエスト信号R2
に対する応答は、同図4に示すようにタグアウト
線TGO2におけるセンデイング信号S2によつて、
同図1,2間の各矢印i〜kで示す応答動作と全
く同様に行われる。 Furthermore, to stop the sending of the request signal R1 , the sending of the request signal R2 corresponding to the second data request shown in FIG.
Invoke as shown. This request signal R 2
As shown in FIG . 4, the response to
The response operations are performed in exactly the same manner as the response operations shown by the arrows i to k between FIG. 1 and 2.
このような動作により、入出力装置はデータ要
求を送出してから、その応答としてのデータ送出
を確認するデータ要求を継続させることになり、
また、チヤネル装置はデータ要求を受けてからデ
ータ送出を開始しこの要求が終つたことを確認し
てデータ送出を終了させて次のデータ要求に応答
することになる。従つて第1図矢印i,jで示す
ような応答に費される時間が1回のデータ転送、
時間となり、この逆数がデータ転送速度となる。
そして、上記矢印i,jで示す応答の所要時間
は、インタフエースケーブル上を信号が伝達され
る所要時間を含んだものとなるので、データ転送
速度がインタフエースケーブル長に依存すること
になる。この結果、高いデータ転送速度を有する
入出力装置を制御する入出力制御装置はそのイン
タフエースケーブル長をある程度以上長くするこ
とができない制限を受けるか、さもなければ、非
常に大容量のデータバツフア回路を設けかつ入出
力装置のアクセス頻度を強制的に制限しなければ
ならない不都合があつた。 This operation causes the input/output device to send a data request and then continue with a data request that confirms the data sending in response.
Further, the channel device starts data transmission after receiving a data request, confirms that this request has been completed, finishes data transmission, and responds to the next data request. Therefore, the time spent on responses as shown by arrows i and j in FIG.
time, and the reciprocal of this is the data transfer rate.
The time required for the response indicated by the arrows i and j includes the time required for the signal to be transmitted on the interface cable, so the data transfer rate depends on the length of the interface cable. As a result, input/output controllers that control input/output devices with high data transfer rates are restricted from increasing the length of their interface cables beyond a certain level, or are otherwise required to use very large capacity data buffer circuits. In addition, there was an inconvenience in that it was necessary to forcibly limit the access frequency of the input/output device.
これを回避するためには、第1図における矢印
j、で示す応答確認を待たず、一定期間だけデー
タ要求を行う必要があるが、このように矢印j,
で示す応答確認を行わないものをオフセツト・イ
ンタロツクと称せられ、従来から例えば低速のデ
ータ転送速度をもつ入出力装置に対するデータ転
送の制御に適用されている。 In order to avoid this, it is necessary to request data only for a certain period of time without waiting for the response confirmation shown by arrow j in FIG.
The system in which no response confirmation is performed is called an offset interlock, and has conventionally been applied to control data transfer to input/output devices having low data transfer speeds, for example.
しかしながら、このオフセツト・インタロツク
方式は入出力制御装置とチヤネル装置との間のデ
ータ転送にそのまま流用すると、入出力制御装置
に接続される最大のデータ転送速度を有する入出
力装置のデータ転送速度をもつてチヤネル装置
と、データ・バツフア回路との間でデータ転送を
行う必要がある。 However, if this offset interlock method is used as is for data transfer between an input/output control device and a channel device, the data transfer rate will be the same as that of the input/output device that has the maximum data transfer rate connected to the input/output control device. It is necessary to transfer data between the channel device and the data buffer circuit.
従つて、低速のデータ転送速度を有する入出力
装置にデータを転送する場合には、データ・バツ
フア回路への入力速度が大で出力速度が小である
ような状態が生じ、データ・バツフア回路の効率
的な使用が困難となる不便があつた。 Therefore, when data is transferred to an input/output device having a low data transfer speed, a situation occurs in which the input speed to the data buffer circuit is high and the output speed is low, and the data buffer circuit is There was an inconvenience that made it difficult to use it efficiently.
かくして、本発明はこのような不便を解消する
ことを目的としており、この目的はデータ転送速
度の異なる複数の入出力装置とチヤネル装置間の
データ転送を仲介し、該データ転送内容を一時的
に格納するデータ・バツフア回路を備え、前記チ
ヤネル装置と前記入出力装置間のデータ転送を制
御するデータ転送制御装置であつて、データ転送
すべき入出力装置を識別する入出力装置識別手段
と、該入出力装置識別手段の出力によつて前記チ
ヤネル装置と前記データバツフア回路間のデータ
転送速度を、データ転送すべき入出力装置と前記
データバツフア回路間のデータ転送速度と一致さ
せるように転送速度を切換える速度制御手段とを
設けたことによつて達成されるが、以下その一実
施例を図面に従つて詳細に説明する。 Thus, the present invention aims to eliminate such inconvenience, and the purpose is to mediate data transfer between a plurality of input/output devices and channel devices with different data transfer speeds, and temporarily transfer the data transfer contents. A data transfer control device comprising a data buffer circuit for storing data and controlling data transfer between the channel device and the input/output device, the device including input/output device identification means for identifying an input/output device to which data should be transferred; A speed at which the data transfer speed between the channel device and the data buffer circuit is changed to match the data transfer speed between the input/output device to which data is to be transferred and the data buffer circuit based on the output of the input/output device identification means. This is achieved by providing a control means, and one embodiment thereof will be described in detail below with reference to the drawings.
第3図は本発明が実施されるチヤネル装置と複
数の入出力装置とこれらチヤネル装置−入出力装
置間に設けられた入出力制御装置との信号系統を
例示する図、第4図は第3図に示すタグアウト線
TGO1,TGO2およびタグイン線TGI1,TGI2な
らびにデータ・バス上の信号波形を例示する図、
第5図は第3図に示すデータバツフア回路と速度
制御部の詳細な構成を例示する図である。 FIG. 3 is a diagram illustrating a signal system of a channel device in which the present invention is implemented, a plurality of input/output devices, and an input/output control device provided between these channel devices and the input/output devices, and FIG. Tagout line shown in figure
A diagram illustrating TGO 1 , TGO 2 and tag-in lines TGI 1 , TGI 2 and signal waveforms on the data bus,
FIG. 5 is a diagram illustrating the detailed configuration of the data buffer circuit and speed control section shown in FIG. 3.
第3図において、10はチヤネル装置、20は
入出力制御装置、301〜303は複数の入出力装
置、BUSはチヤネル装置10と入出力制御装置
20間に設けられたデータバスで第2図と同一の
もの、同じくTGO1,TGO2,TGI1,TGI2は第
2図に示すタグアウト線TGO1,TGO2タグイン
線TGI1,TGI2と夫々同一機能のもの、BUS′は
入出力制御装置20と複数の入出力装置301〜
303間に設けられたコモン・データ・バス、ITI
はインタフエース・タグ・イン線、ITOはインタ
フエース・タグアウト線である。インタフエー
ス・タグ・イン線はコモン・データーバス
BUS′上でデータが入出力装置301〜303から
入出力制御装置20へ転送されるときには、該コ
モン・データ・バスBUS上にデータが存在する
ことを表わすセンデイング信号を伝え、逆に入出
力制御装置20から入出力装置301〜303へデ
ータが転送されるときにはデータ要求を表わすリ
クエスト信号を伝えるものである。同様にインタ
フエース・タグ・アウト線ITOは入出力装置30
1〜303から入出力制御装置20へデータ転送さ
れるときコモン・データ・バスBUS′上のデータ
を受信中であることを表わすレシーブ信号を伝
え、逆に入出力制御装置20から入出力装置へデ
ータ転送されるときコモン・データ・バス
BUS′上にデータが存在することを表わすセンデ
イング信号を伝えるものである。 In FIG. 3, 10 is a channel device, 20 is an input/output control device, 30 1 to 30 3 are a plurality of input/output devices, and BUS is a data bus provided between the channel device 10 and the input/output control device 20. TGO 1 , TGO 2 , TGI 1 , TGI 2 have the same functions as the tag-out lines TGO 1 , TGO 2 and tag-in lines TGI 1 , TGI 2 shown in Fig. 2, respectively, and BUS' is the input line. Output control device 20 and a plurality of input/output devices 30 1 -
30 3 common data bus, ITI
is the interface tag-in line, and ITO is the interface tag-out line. Interface tag-in line is common data bus
When data is transferred from the input/output devices 30 1 to 30 3 to the input/output control device 20 on the common data bus BUS', a sending signal indicating that data exists on the common data bus BUS is transmitted, and the data is transferred on the common data bus BUS. When data is transferred from the output control device 20 to the input/output devices 30 1 to 30 3 , a request signal representing a data request is transmitted. Similarly, the interface tag out line ITO is the input/output device 30.
When data is transferred from 1 to 30 3 to the input/output control device 20, a receive signal indicating that data on the common data bus BUS' is being received is transmitted, and conversely, from the input/output control device 20 to the input/output device common data bus when data is transferred to
It transmits a sending signal indicating that data exists on BUS'.
また、前記入出力制御装置20はデータ転送を
制御するための構成要素として、データ・バツフ
ア回路21、該データバツフア回路21とデータ
バスBUSとのデータ送受を制御すると共に前記
タグイン線・タグアウト線TGI1,TGI2,TGO1,
TGO2上の信号の送受信を行うデータ転送主制御
回路、該データ転送主制御回路22に所定間隔に
設定されたタイミング信号を与える速度制御タイ
マ25、該速度制御タイマ25に該タイミング信
号Vの設定間隔をデータ転送中の入出力装置の種
別に応じて指示するためにIO識別情報IDを格納
されるレジスタ24およびコモン・データ・バス
BUS′とデータバツフア回路21とデータ送受を
制御すると共に前記インタフエース・タグ・イン
線ITIおよびインタフエースタグアウト線ITO上
の信号の送受を行う入出力インタフエース回路を
有している。 In addition, the input/output control device 20 includes a data buffer circuit 21 as a component for controlling data transfer, and controls data transmission and reception between the data buffer circuit 21 and the data bus BUS, and also controls the tag-in line/tag-out line TGI. 1 , TGI 2 , TGO 1 ,
A data transfer main control circuit that sends and receives signals on the TGO 2 , a speed control timer 25 that provides timing signals set at predetermined intervals to the data transfer main control circuit 22, and setting of the timing signal V in the speed control timer 25. A register 24 in which IO identification information ID is stored and a common data bus to indicate the interval according to the type of input/output device during data transfer.
It has an input/output interface circuit that controls data transmission and reception between BUS' and the data buffer circuit 21, and also transmits and receives signals on the interface tag-in line ITI and interface tag-out line ITO.
さて、入出力装置301〜303に対して入出力
動作を行う場合には、データ転送に先立つて、入
出力装置の選択がチヤネル装置10からのコマン
ドによつて指示される。従つて、これにより選択
された入出力装置の種別を示す情報は入出力制御
装置20に保持され、本発明においては前記IO
識別情報レジスタ24に格納される。そして、デ
ータ転送時にはこのIO識別情報レジスタ24の
内容IDが速度制御タイマ25を制御するので、
該速度制御タイマ25は現在データ転送中の入出
力装置が必要とするデータ転送速度に対応した時
間間隔(速度の逆数により与えられる。)をもつ
たタイミング信号Vを反復して発生する。この結
果、このタイミング信号Vによりデータ転送主制
御回路22はコモンデータバスBUS′上のデータ
転送速度と略一致するデータ転送速度をもつてデ
ータ・バスBUS上のデータ転送を行わしめる。
なお、この両データ・バス上のデータ転送は相互
に非同期であり、かつ両者のタイミングのずれは
遂一変動するものとなつていることは言うまでも
ない。 Now, when performing input/output operations to the input/output devices 30 1 to 30 3 , selection of the input/output device is instructed by a command from the channel device 10 prior to data transfer. Therefore, information indicating the type of input/output device selected thereby is held in the input/output control device 20, and in the present invention, the information indicating the type of the input/output device selected is
It is stored in the identification information register 24. During data transfer, the content ID of this IO identification information register 24 controls the speed control timer 25, so
The speed control timer 25 repeatedly generates a timing signal V having a time interval (given by the reciprocal of the speed) corresponding to the data transfer speed required by the input/output device currently transferring data. As a result, the timing signal V causes the data transfer main control circuit 22 to transfer data on the data bus BUS at a data transfer rate that substantially matches the data transfer rate on the common data bus BUS'.
It goes without saying that the data transfers on both data buses are asynchronous with each other, and the timing difference between them is subject to change.
すなわち、データバツフア回路によりチヤネル
装置の応答の遅速変動を吸収するようになつてい
る。 That is, the data buffer circuit absorbs slow fluctuations in the response of the channel device.
このように、本発明においてはデータバツフア
回路21を介した2つのデータバス上のデータ転
送速度が等しいので、データ・バツフア回路2
1、チヤネル装置10の応答所要時間の最大値以
内に入出力装置が送出し得る(もしくは要求す
る)データの最大個数を格納するだけの記憶容量
をもつだけでよくなる。すなわち、従来のように
データ転送速度差と、データ転送継続時間との積
に比例するような余分な記憶容量が必要でなくな
る。 In this way, in the present invention, since the data transfer speeds on the two data buses via the data buffer circuit 21 are equal, the data buffer circuit 2
1. It is only necessary to have a storage capacity sufficient to store the maximum number of data that can be sent (or requested) by the input/output device within the maximum response time of the channel device 10. In other words, there is no longer a need for an extra storage capacity that is proportional to the product of the data transfer rate difference and the data transfer duration time as in the prior art.
また、本発明においては、オフセツトインタロ
ツク方式が採用されているが、以下その説明を第
4図および第5図に従つて説明する。 Further, the present invention employs an offset interlock system, which will be explained below with reference to FIGS. 4 and 5.
第4図は入出力制御装置からチヤネル装置へデ
ータを転送するときの、各インタフエース信号及
びデータ信号を示しており、詳しくは同図1はタ
グイン線TGI1上のセンデイング信号S1を、同図
2はタグアウト線TGO1上のレシーブ信号R1を、
同図3はタグイン線TGI2上のセンデイング信号
S2を、同図4はタグアウト線TGO2上のレシーブ
信号R2を、同図5はデータ信号を夫々示してい
る。前記センデイング信号S1,S2は共に最小繰返
し周期がTによつて与えられ、この周期Tは後述
するように速度制御タイマ25の出力の最小周期
の2倍となつている。 Figure 4 shows each interface signal and data signal when data is transferred from the input / output control device to the channel device. Figure 2 shows the receive signal R1 on the tagout line TGO1 ,
Figure 3 shows the sending signal on tag-in line TGI 2 .
4 shows the receive signal R 2 on the tag-out line TGO 2 , and FIG. 5 shows the data signal. The sending signals S 1 and S 2 are both given a minimum repetition period by T, and this period T is twice the minimum period of the output of the speed control timer 25, as will be described later.
いま、同図5に示すようにデータ・バス上に最
初のデータD0が送出されると、その直後に同図
1に示すようなセンデイング信号S1がタグイン線
TGI1上で発生する。すると、このセンデイング
信号S1の発生がチヤネル装置に伝えられ、矢印i
で示すようにこのセンデイング信号S1に応答して
レシーブ信号R1がタグアウトバスTGO1上に送出
される。このとき、データバス上のデータD0は
チヤネル装置側の図示しないデータ・バツフアに
既に格納されているので、チヤネル装置はこのデ
ータバツフアからデータの取出しを行う。 Now, when the first data D 0 is sent out on the data bus as shown in Figure 5, immediately after that, the sending signal S 1 as shown in Figure 1 is sent to the tag-in line.
Occurs on TGI 1 . Then, the generation of this sending signal S1 is transmitted to the channel device, and the arrow i
As shown in , a receive signal R 1 is sent onto the tag-out bus TGO 1 in response to this sending signal S 1 . At this time, since data D 0 on the data bus has already been stored in a data buffer (not shown) on the channel device side, the channel device retrieves the data from this data buffer.
また、同図1に示すようにセンデイング信号S1
はレシーブ信号R1の発生を待たず、前記周期T
の略半分だけ継続送出した後、その送出を終了す
る。このセンデイング信号S1の送出終了は矢印k
で示すように次のデータD1の送出を表わす他の
タグイン線TGI2上でのセンデイング信号S2の送
出のきつかけとなると共に、矢印lで示すように
前記レシーブ信号R1の送出終了のきつかけとな
る。更に、このレシーブ信号R1の送出終了は他
のタグアウト線上の次のレシーブ信号R2の送出
を許可する。すなわち、前記2番目のセンデイン
グS2が矢印i′で示すようにチヤネル装置に与えら
れ、かつこの1番目のレシーブ信号R1の送出終
了が矢印mで示すように生じたことを条件とし
て、2番目のレシーブ信号R2が送出される。以
後は、この応答を交互に対を成すタグイン線タグ
アウト線TGI1,TGI2,TGO1,TGO2間で繰返
すようにされる。 In addition, as shown in FIG. 1, the sending signal S 1
does not wait for the generation of the receive signal R1 , and the period T
After continuously transmitting for approximately half of the time, the transmitting is terminated. The end of sending this sending signal S1 is indicated by arrow k.
As shown by arrow 1, it triggers the transmission of the sending signal S2 on the other tag-in line TGI 2 , which indicates the transmission of the next data D1 , and also triggers the transmission of the receive signal R1, as shown by arrow l. It becomes a challenge. Furthermore, the completion of transmission of this receive signal R 1 permits transmission of the next receive signal R 2 on the other tag-out line. That is, on the condition that the second sending S 2 is given to the channel device as shown by arrow i' and the end of sending of the first receive signal R 1 occurs as shown by arrow m. The th receive signal R2 is sent out. Thereafter, this response is alternately repeated between the tag-in and tag-out lines TGI 1 , TGI 2 , TGO 1 , and TGO 2 forming a pair.
次に第4図1,3に示すタグイン線TGI1,
TGI2上の信号を発生する具体的回路を第5図に
従つて説明する。 Next, the tag-in line TGI 1 shown in FIGS. 1 and 3,
A specific circuit for generating signals on TGI 2 will be explained with reference to FIG.
第5図において、21はデータ・バツフア回路
22はデータ転送主制御回路、24はIO識別情
報レジスタ、25は速度制御タイマであり、コモ
ン・データ・バスBUS′、データ・バスBUS、イ
ンタフエースタグイン線ITI、タグイン線TGI1,
TGI2は第3図と同一のものである。 In FIG. 5, 21 is a data buffer circuit, 22 is a data transfer main control circuit, 24 is an IO identification information register, 25 is a speed control timer, common data bus BUS', data bus BUS, interface tag In-line ITI, tag-in line TGI 1 ,
TGI 2 is the same as in Figure 3.
前記データバツフア回路21はバツフアメモリ
BUFとコモン・データ・バスBUS′からのデータ
をバツフアメモリBUFの各番地に振り分ける切
換回路MLTとバツフアメモリBUFの各番地の内
容を選択する選択回路SELとバツフアメモリ
BUFへのデータ格納の都度インタフエース・タ
グ・インITI線からの信号で歩進するインカウン
タCNTiとバツフアメモリBUFからのデータの送
出の都度歩進するアウトカウンタCNToと両カウ
ンタCNTi,CNToの計数値の大小を比較する比
較器CMPとより構成されている。 The data buffer circuit 21 is a buffer memory.
A switching circuit MLT that distributes data from the BUF and common data bus BUS' to each address in the buffer memory BUF, a selection circuit SEL that selects the contents of each address in the buffer memory BUF, and a buffer memory
An in counter CNTi increments with a signal from the interface tag in ITI line each time data is stored in the BUF, an out counter CNTo increments each time data is sent out from the buffer memory BUF, and the counted values of both counters CNTi and CNTo. It is composed of a comparator CMP that compares the magnitude of .
また、前記データ転送主制御回路22はフリツ
プフロツプFFおよびアンドゲートAND1,
AND2を有する。 The data transfer main control circuit 22 also includes a flip-flop FF and an AND gate AND 1 ,
has AND 2 .
なお、第5図には、入出力制御装置20からチ
ヤネル装置10へのデータを転送する場合に使用
される構成のみを示しているが実際には逆方向の
データ転送のために同様な構成が別に設けられ
る。 Although FIG. 5 only shows the configuration used to transfer data from the input/output control device 20 to the channel device 10, a similar configuration is actually used for data transfer in the opposite direction. Separately provided.
動作を説明すると、コモン・データ・バス
BUS′からは入出力装置が送出したデータが切換
回路MLTを介してバツフアメモリBUFに次々と
格納され、このときインカウンタCNTiはデータ
の格納の都度計数内容を+1する。 To explain how it works, the common data bus
Data sent from the input/output device from the BUS' is stored one after another in the buffer memory BUF via the switching circuit MLT, and at this time, the in-counter CNTi increments the count by 1 each time data is stored.
このように増加されたインカウンタCNTiの内
容は、アウトカウンタCNTo内容に比較して大と
なるので、比較器CMPからは“1”が出力され、
従つてアンドゲートAND1,AND2はフリツプフ
ロツプFFの出力を通過させる。フリツプフロツ
プFFの出力は互いに相補的、つまり1方が“1”
のとき他方が“0”となつているので、前記アン
ドゲートAND1,AND2の出力も一方(例えば
TGI1側)が“1”、他方(例えばTGI2側)が
“0”となる。 Since the contents of the in-counter CNTi increased in this way are larger than the contents of the out-counter CNTo, "1" is output from the comparator CMP.
Therefore, the AND gates AND 1 and AND 2 pass the output of the flip-flop FF. The outputs of flip-flop FFs are complementary to each other, that is, one is “1”
When , the other is "0", so the output of the AND gates AND 1 and AND 2 is also one (for example
TGI 1 side) becomes “1” and the other side (for example, TGI 2 side) becomes “0”.
一方、前記比較器CMPの出力“1”は速度制
御タイマ25にも与えられ、これにより速度制御
タイマ25はクロツクO/を計数可能となり、IO
識別情報レジスタ24の内容によつて指示された
目標計数値に達するとき、パルス状のタイミング
信号Vを発生し、自分自身もリセツトされる。そ
して、このタイミング信号Vはフリツプフロツプ
FFを反転させると共にアウトカウンタCNT0を
歩進させる。従つてバツフアメモリBUFからの
次のデータが読出されてデータ・バスBUS上に
送出される。この結果、インカウンタCNTiとア
ウトカウンタCNT0の内容は等しくなる場合には
アンドゲートAND1,AND2の出力は両方とも
“0”となるが、次のデータがコモンデータバス
BUS′からバツフアメモリBUFに格納されている
ときにはインカウンタCNTiの内容は依然として
アウトカウンタCNT0の内容より大であるため、
アンドゲートAND1,AND2からはやはり、フリ
ツプ・フロツプFFの出力、すなわちそれまでの
論理値を反転した内容が出力されることになる。 On the other hand, the output "1" of the comparator CMP is also given to the speed control timer 25, which enables the speed control timer 25 to count the clock O/
When the target count value specified by the contents of the identification information register 24 is reached, a pulse-like timing signal V is generated and the counter itself is reset. This timing signal V is applied to the flip-flop
Inverts FF and increments out counter CNT 0 . The next data from the buffer memory BUF is then read out and sent onto the data bus BUS. As a result, if the contents of the in-counter CNTi and the out-counter CNT 0 become equal, the outputs of the AND gates AND 1 and AND 2 will both be “0”, but the next data will be transferred to the common data bus.
Since the contents of the in-counter CNTi are still greater than the contents of the out-counter CNT 0 when stored from the BUS′ to the buffer memory BUF,
The AND gates AND 1 and AND 2 output the output of the flip-flop FF, that is, the inverted contents of the previous logical values.
本実施例においては、前記速度制御タイマ25
に指示される目標計数値が第4図に示す周期Tの
半分をクロツクO/の周期で割つた値としているの
で、T/2期間毎にデータバスBUS上へのデー
タ送出が行われる。そして、この周期T/2は
IO識別情報レジスタ24の内容によつて入出力
装置のデータ転送速度に相応して設定されるた
め、前記バツフアメモリBUFへのデータの入力
速度と出力速度を略一致させることが可能であ
る。 In this embodiment, the speed control timer 25
Since the target count value instructed by is a value obtained by dividing half of the period T shown in FIG. 4 by the period of the clock O/, data is sent onto the data bus BUS every T/2 period. And this period T/2 is
Since the contents of the IO identification information register 24 are set in accordance with the data transfer speed of the input/output device, it is possible to substantially match the input speed and output speed of data to the buffer memory BUF.
以上説明したように、本発明によれば異なるデ
ータ転送速度を有する複数の入出力装置とデータ
バツフア回路間のデータ転送速度に合わせて、チ
ヤネル装置とデータバツフア回路間のデータ転送
速度を設定することが可能となつたため、チヤネ
ル装置の応答所要時間の最大値以内に入出力装置
が送出若しくは要求し得るデータの最大個数を格
納するだけの記憶容量をもつデータバツフア回路
を用意するだけで良くなり、安価なデータ転送制
御装置を提供することが可能となる。 As explained above, according to the present invention, it is possible to set the data transfer rate between a channel device and a data buffer circuit in accordance with the data transfer rate between a plurality of input/output devices having different data transfer rates and the data buffer circuit. Therefore, it is only necessary to prepare a data buffer circuit with a storage capacity sufficient to store the maximum number of data that can be sent or requested by the input/output device within the maximum response time of the channel device, and it is possible to save data at low cost. It becomes possible to provide a transfer control device.
第1図は従来のインタロツク方式を説明するた
めの図、第2図はチヤネル装置と入出力制御装置
間のデータ転送に使用されるインタフエース信号
を示す図、第3図は発明の実施例におけるインタ
フエース信号および装置構成を示す図、第4図は
本発明により実施されるオフセツトインタロツク
方式の説明図、第5図は本発明のデータ転送制御
に使用される主要部を例示する図である。
R1,R2……リクエスト又はレシーブ信号、S1,
S2……センデイング信号、D1,D2,D3,D4……
データ信号、TGI1,TGI2……タグイン線、
TGO1,TGO2……タグアウト線、BUS……デー
タ・バス、10……チヤネル装置、20……入出
力制御装置、301〜302……入出力装置、21
……データ・バツフア回路、22……データ転送
主制御回路、23……入出力インタフエース回
路、24……IO識別情報レジスタ、25……速
度制御タイマ。
FIG. 1 is a diagram for explaining a conventional interlock system, FIG. 2 is a diagram showing interface signals used for data transfer between a channel device and an input/output control device, and FIG. 3 is a diagram for explaining an embodiment of the invention. FIG. 4 is an explanatory diagram of the offset interlock system implemented by the present invention, and FIG. 5 is a diagram illustrating the main parts used for data transfer control of the present invention. be. R 1 , R 2 ...Request or receive signal, S 1 ,
S 2 ... Sending signal, D 1 , D 2 , D 3 , D 4 ...
Data signal, TGI 1 , TGI 2 ...Tag-in line,
TGO 1 , TGO 2 ... tag-out line, BUS ... data bus, 10 ... channel device, 20 ... input/output control device, 30 1 to 30 2 ... input/output device, 21
...Data buffer circuit, 22...Data transfer main control circuit, 23...I/O interface circuit, 24...IO identification information register, 25...Speed control timer.
Claims (1)
チヤネル装置間のデータ転送を仲介し、該データ
転送内容を一時的に格納するデータ・バツフア回
路を備え、前記チヤネル装置と前記入出力装置間
のデータ転送を制御するデータ転送制御装置であ
つて、 データ転送すべき入出力装置を識別する入出力
装置識別手段と、 該入出力装置識別手段の出力によつて前記チヤ
ネル装置と前記データバツフア回路間のデータ転
送速度を、データ転送すべき入出力装置と前記デ
ータバツフア回路間のデータ転送速度と一致させ
るように転送速度を切換える速度制御手段と、 を設けた事を特徴とするデータ転送制御装置。[Scope of Claims] 1. A data buffer circuit that mediates data transfer between a plurality of input/output devices having different data transfer speeds and a channel device, and temporarily stores the contents of the data transfer; A data transfer control device for controlling data transfer between input/output devices, the device comprising: input/output device identification means for identifying an input/output device to which data should be transferred; and an output from the input/output device identification means to identify the channel device. A data transfer characterized by comprising: speed control means for switching the transfer speed so that the data transfer speed between the data buffer circuits matches the data transfer speed between the input/output device to which data is to be transferred and the data buffer circuit; Control device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5764181A JPS57172438A (en) | 1981-04-16 | 1981-04-16 | Data transfer controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5764181A JPS57172438A (en) | 1981-04-16 | 1981-04-16 | Data transfer controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57172438A JPS57172438A (en) | 1982-10-23 |
| JPH042981B2 true JPH042981B2 (en) | 1992-01-21 |
Family
ID=13061509
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5764181A Granted JPS57172438A (en) | 1981-04-16 | 1981-04-16 | Data transfer controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57172438A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0786854B2 (en) * | 1986-05-19 | 1995-09-20 | 富士通株式会社 | Data transfer control device |
| JPS63182765A (en) * | 1987-01-23 | 1988-07-28 | Fujitsu Ltd | Control system for direct memory access |
-
1981
- 1981-04-16 JP JP5764181A patent/JPS57172438A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57172438A (en) | 1982-10-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4860244A (en) | Buffer system for input/output portion of digital data processing system | |
| US5072420A (en) | FIFO control architecture and method for buffer memory access arbitration | |
| JPS5847050B2 (en) | I/O Interrupt System | |
| US4047157A (en) | Secondary storage facility for data processing | |
| EP0476990B1 (en) | Dynamic bus arbitration | |
| US4602327A (en) | Bus master capable of relinquishing bus on request and retrying bus cycle | |
| US4245307A (en) | Controller for data processing system | |
| EP0380856A2 (en) | Method and apparatus for interfacing a system control unit for a multi-processor | |
| US5584033A (en) | Apparatus and method for burst data transfer employing a pause at fixed data intervals | |
| EP0293860B1 (en) | Peripheral controller and adapter interface | |
| US5394399A (en) | Communication control system | |
| US5007012A (en) | Fly-by data transfer system | |
| JPH042981B2 (en) | ||
| JP2803270B2 (en) | SCSI host adapter circuit | |
| JPS5936773B2 (en) | Local burst transfer control method | |
| JPS6250848B2 (en) | ||
| JP2679440B2 (en) | Information processing device | |
| JP2752456B2 (en) | Channel device | |
| JPS6161432B2 (en) | ||
| JPH04373054A (en) | Filing device controller | |
| US20060031604A1 (en) | DMA transfer apparatus and method of controlling data transfer | |
| JPH02181250A (en) | Arbitrating system for burst transfer of common bus | |
| JPH0642233B2 (en) | Data transfer control method | |
| JPS6019023B2 (en) | data processing equipment | |
| JPS599925B2 (en) | Priority processing method |