JPH05233482A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH05233482A
JPH05233482A JP4033525A JP3352592A JPH05233482A JP H05233482 A JPH05233482 A JP H05233482A JP 4033525 A JP4033525 A JP 4033525A JP 3352592 A JP3352592 A JP 3352592A JP H05233482 A JPH05233482 A JP H05233482A
Authority
JP
Japan
Prior art keywords
data
data buffer
input
prefetch
transfer
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.)
Granted
Application number
JP4033525A
Other languages
Japanese (ja)
Other versions
JP3364751B2 (en
Inventor
Makoto Okajima
眞 岡島
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP03352592A priority Critical patent/JP3364751B2/en
Publication of JPH05233482A publication Critical patent/JPH05233482A/en
Application granted granted Critical
Publication of JP3364751B2 publication Critical patent/JP3364751B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enable the efficient use of a prefetch data buffer and highly reliable data transfer. CONSTITUTION:This system is equipped with a channel controller having a data buffer control flag group 305 wherein the use state of the prefetch data buffer 302 whose data holding area is divided into unit areas is recorded, a channel control circuit 301 which extracts data transfer performance corresponding to a transfer-destination input/output device from a transfer performance table 308 and sets the data buffer control flag group 305 corresponding to the data transfer performance and also corresponding to the data holding area of the prefetch data buffer 302, and a prefetch data buffer control circuit 303 which specifies the addresses of the prefetch data buffer 302 regarding the transfer-destination input/output device as write and read addresses of memory reply data by referring to the data buffer control flag group 305.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入出力装置がそれぞれ
接続された複数のチャネル装置と、記憶装置から読出さ
れたメモリリプライデータを、データ転送を指示する入
出力命令で指定された転送先入出力装置へ転送させるチ
ャネル制御装置とを有するデータ転送システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of channel devices to which input / output devices are respectively connected, and memory reply data read from a storage device, to which a transfer destination is designated by an input / output command for instructing data transfer. The present invention relates to a data transfer system having a channel controller for transferring to an output device.

【0002】[0002]

【従来の技術】従来のデータ転送システムについて図3
を参照して説明する。
2. Description of the Related Art A conventional data transfer system is shown in FIG.
Will be described.

【0003】図3に示すデータ転送システムは、チャネ
ル制御装置800の配下に、n個のチャネル装置900
1 〜900n を接続した構成のものであり、各チャネル
装置9001 〜900n にはそれぞれ、入出力装置10
001 〜1000n が接続されている。
In the data transfer system shown in FIG. 3, n channel devices 900 are subordinate to a channel control device 800.
1 to 900 n are connected, and the input / output device 10 is connected to each of the channel devices 900 1 to 900 n.
00 1 to 1000 n are connected.

【0004】前記各チャネル装置9001 〜900n
は、何れも同様な構成であり、それぞれ主記憶装置70
0からのリプライデータが格納される、容量固定の先取
りデータバッファ9031 〜903n を備えている。
Each of the channel devices 900 1 to 900 n
Have the same configuration, and the main storage device 70
0 reply data from is stored, and a prefetch data buffer 903 1 ~903 n fixed-size.

【0005】このようなデータ転送装置において、主記
憶装置700と各入出力装置10001 〜1000n
の間でデータ転送を行なう場合、中央処理装置600か
ら入出力命令が発せられ、該入出力命令を受けたチャネ
ル制御装置は、該入出力命令で指定される入出力装置が
接続されているチャネル装置900に対し、データ転送
の実行を指示する。データ転送の実行を指示されたチャ
ネル装置900は、先取りデータバッファ903の容量
の範囲内でメモリリクエストを行ない、入出力装置10
00へ転送する転送データを用意する。データ転送を開
始するのに十分な転送データが先取りデータバッファ9
03に用意できると、I/Oインタフェース制御回路9
04が入出力装置1000へ転送データを転送する。デ
ータ転送が終了すると、チャネル装置900はチャネル
制御装置800へ通知し、通知を受けたチャネル制御装
置800は、中央処理装置600に対し、入出力命令に
関るデータ転送の終了を示す終了報告を送出してチャネ
ル制御装置800の動作を終了する。
In such a data transfer device, when data transfer is performed between the main memory device 700 and each of the input / output devices 1000 1 to 1000 n , an input / output instruction is issued from the central processing unit 600 and the input / output is performed. Upon receiving the instruction, the channel control device instructs the channel device 900 to which the input / output device designated by the input / output command is connected to execute data transfer. The channel device 900 instructed to execute the data transfer makes a memory request within the capacity of the prefetch data buffer 903, and the input / output device 10
The transfer data to be transferred to 00 is prepared. Sufficient transfer data to start data transfer is prefetched data buffer 9
I / O interface control circuit 9
04 transfers the transfer data to the input / output device 1000. When the data transfer is completed, the channel device 900 notifies the channel control device 800, and the notified channel control device 800 sends to the central processing unit 600 an end report indicating the end of the data transfer related to the input / output command. Then, the operation is ended and the operation of the channel control device 800 is ended.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来のデータ転送システムでは、各チャネル装置内部
に設けた先取りデータバッファが大きさ固定のものであ
り、チャネル装置配下に転送性能の異なる入出力装置を
接続した場合には、高い転送性能の入出力装置によるデ
ータ転送に必要な先取りデータバッファを用意すること
になるので、低い転送性能の入出力装置に対してデータ
転送を行なう際、先取りデータバッファに無駄が生じて
しまうという問題点がある。また、近年のデータ転送シ
ステムは益々高速化が進み転送性能の高い入出力装置と
低い入出力装置の組合せが避けられない現状なので、先
取りデータバッファの無駄も増大しているという問題点
がある。さらに、チャネル装置の先取りデータバッファ
に障害が生じると、そのチャネル装置は使用不可能とな
ってしまうという問題点がある。
However, in the above-described conventional data transfer system, the prefetch data buffer provided inside each channel device has a fixed size, and the input / output devices having different transfer performances are subordinate to the channel device. If you connect to the I / O device, the pre-fetch data buffer required for data transfer by the I / O device with high transfer performance will be prepared. There is a problem that waste occurs. In addition, since the data transfer system in recent years has become faster and faster and the combination of input / output devices having high transfer performance and input / output devices having low transfer performance cannot be avoided, there is a problem that the waste of the prefetch data buffer is also increased. Further, if a prefetch data buffer of a channel device fails, the channel device becomes unusable.

【0007】本発明は、上記従来の技術が有する問題点
に鑑みてなされたもので、先取りデータバッファを効率
的に使用でき、信頼性の高いデータ転送を行ない得る、
データ転送システムを提供することを目的としている。
The present invention has been made in view of the problems of the above-mentioned conventional technique, and the prefetch data buffer can be used efficiently, and highly reliable data transfer can be performed.
It is intended to provide a data transfer system.

【0008】[0008]

【課題を解決するための手段】本発明は、入出力装置が
それぞれ接続された複数のチャネル装置と、記憶装置か
ら読出されたメモリリプライデータを、データ転送を指
示する入出力命令で指定された転送先入出力装置へ転送
させるチャネル制御装置とを有するデータ転送システム
において、前記チャネル制御装置が、データ保持領域が
複数の単位領域に分割され、障害発生時用の予備単位領
域が設けられた先取りデータバッファと、前記先取りデ
ータバッファの各単位領域に対応して、該単位領域に前
記メモリリプライデータが格納されているか否かを示す
使用中情報と、前記単位領域に格納されているメモリリ
プライデータの転送先入出力装置を示す入出力情報と、
前記単位領域における障害の発生時に、該単位領域の使
用禁止を示す障害情報とが記録される、複数のデータバ
ッファ管理フラグからなるデータバッファ管理フラグ群
と、前記各入出力装置のデータ転送性能が予め格納され
る転送性能テーブルと、前記入出力命令が発せられた
際、前記転送先入出力装置に対応するデータ転送性能を
前記転送性能テーブルから抽出して、該データ転送性能
に応じた、前記先取りデータバッファのデータ保持領域
に相当するデータバッファ管理フラグに使用中ビットお
よび入出力装置情報をセットし、使用中の前記先取りデ
ータバッファ単位領域に障害が発生した際、前記予備単
位領域のデータバッファ管理フラグに、使用中ビットお
よび入出力装置情報をセットするチャネル制御回路と、
前記データバッファ管理フラグ群を参照して、メモリリ
プライデータの転送先入出力装置について使用中ビット
がセットされているデータバッファ管理フラグに関る前
記先取りデータバッファの単位領域を示すアドレスを、
前記メモリリプライデータの、前記先取りデータバッフ
ァに対する書込みアドレスとして指定するとともに、既
に、前記先取りデータバッファが保持しているメモリリ
プライデータを読出す読出しアドレスを指定する先取り
データバッファ制御回路と、前記先取りデータバッファ
から読出されたメモリリプライデータ参照して、該メモ
リリプライデータが正常か否かを調べ、エラーが発生し
ている場合、該メモリリプライデータが読出された読出
しアドレスに対応する前記単位領域に関るデータバッフ
ァ管理フラグに前記障害情報を記録するエラー検出回路
と、を有するものであり、前記チャネル制御装置のデー
タバッファ管理フラグ群の各データバッファ管理フラグ
それぞれに、先取りデータバッファの単位領域における
障害の発生時に、該単位領域の使用禁止を示す障害情報
がセットされる障害ビットが設けられており、さらに、
前記チャネル制御装置は、前記先取りデータバッファか
ら読出されたメモリリプライデータを参照して、該メモ
リリプライデータが正常か否かを調べ、エラーが発生し
ている場合、該メモリリプライデータが読出された読出
しアドレスに対応する前記単位領域に関るデータバッフ
ァ管理フラグに前記障害情報をセットするエラー検出回
路を有する場合と、前記チャネル制御装置の先取りデー
タバッファに、障害発生時用の予備単位領域が設けられ
ており、前記チャネル制御装置のチャネル制御回路は、
使用中の前記先取りデータバッファ単位領域に障害が発
生した際、前記予備単位領域のデータバッファ管理フラ
グに、使用中ビットおよび入出力装置情報をセットする
場合とがある。
According to the present invention, a plurality of channel devices to which input / output devices are respectively connected and memory reply data read from a storage device are designated by an input / output command for instructing data transfer. In a data transfer system having a channel control device for transferring to a transfer destination input / output device, the channel control device has prefetched data in which a data holding area is divided into a plurality of unit areas and a spare unit area for occurrence of a failure is provided. A buffer, and in-use information indicating whether or not the memory reply data is stored in the unit area, corresponding to each unit area of the prefetch data buffer, and memory reply data stored in the unit area. I / O information indicating the transfer destination I / O device,
When a failure occurs in the unit area, failure information indicating use prohibition of the unit area is recorded, and a data buffer management flag group including a plurality of data buffer management flags and data transfer performance of each of the input / output devices are recorded. A transfer performance table stored in advance and a data transfer performance corresponding to the transfer destination input / output device when the input / output command is issued, are extracted from the transfer performance table, and the prefetch corresponding to the data transfer performance is extracted. When the used bit and the input / output device information are set in the data buffer management flag corresponding to the data holding area of the data buffer, and the failure occurs in the prefetch data buffer unit area being used, the data buffer management of the spare unit area is performed. A channel control circuit that sets a bit in use and input / output device information in a flag,
Referring to the data buffer management flag group, an address indicating a unit area of the prefetch data buffer relating to the data buffer management flag in which a busy bit is set for the transfer destination input / output device of the memory reply data,
A prefetch data buffer control circuit for designating a write address of the memory reply data to the prefetch data buffer and also for designating a read address for reading the memory reply data already held by the prefetch data buffer; By referring to the memory reply data read from the buffer, it is checked whether or not the memory reply data is normal, and if an error occurs, the memory reply data is related to the unit area corresponding to the read address read from. And an error detection circuit for recording the failure information in a data buffer management flag, wherein each data buffer management flag of the data buffer management flag group of the channel control device has a failure in a unit area of the prefetch data buffer. At the occurrence of Fault information indicating the disabling of the unit region is fault bit is provided to be set, further,
The channel control device refers to the memory reply data read from the prefetch data buffer, checks whether the memory reply data is normal, and if an error occurs, the memory reply data is read. A case where an error detection circuit for setting the fault information in a data buffer management flag relating to the unit area corresponding to a read address is provided, and a preparatory data buffer of the channel control device is provided with a spare unit area for occurrence of a fault. The channel control circuit of the channel control device is
In some cases, when a failure occurs in the prefetch data buffer unit area being used, a bit in use and input / output device information are set in the data buffer management flag of the spare unit area.

【0009】[0009]

【作用】本発明のデータ転送システムによれば、チャネ
ル制御装置に設けた先取りデータバッファのデータ保持
領域を分割し、データ転送を行なう入出力装置の転送性
能に応じた使用量で使用して複数の入出力装置で共用す
るので、転送性能に差がある入出力装置が混在するシス
テムにおいても、効率的に前記先取りデータバッファを
使用することができる。
According to the data transfer system of the present invention, the data holding area of the prefetch data buffer provided in the channel controller is divided and used in a plurality of amounts according to the transfer performance of the input / output device for data transfer. The prefetch data buffer can be efficiently used even in a system in which I / O devices having different transfer performances are mixed.

【0010】[0010]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0011】図1は本発明のデータ転送システムの一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the data transfer system of the present invention.

【0012】本実施例のデータ転送システムは、中央処
理装置100と、主記憶装置200と、チャネル制御装
置300と、入出力装置5001 〜500n がそれぞれ
接続されたn個のチャネル装置4001 〜400n とを
備えており、前記主記憶装置200と入出力装置500
1 〜500n との間でデータ転送を行なう。
In the data transfer system of this embodiment, a central processing unit 100, a main storage unit 200, a channel control unit 300, and n channel units 400 1 to which input / output units 500 1 to 500 n are connected respectively. To 400 n , the main storage device 200 and the input / output device 500 are provided.
Data is transferred between 1 and 500 n .

【0013】中央処理装置100は、演算処理を行なう
装置で、入出力処理を行なうときにチャネル制御装置3
00に対して入出力命令1を発行する。また、チャネル
制御装置300の初期設定時に、チャネル制御装置30
0の配下に接続されている全ての入出力装置についての
転送性能情報17をチャネル制御装置300に与える。
The central processing unit 100 is a device for performing arithmetic processing, and when performing input / output processing, the channel control device 3 is used.
Input / output instruction 1 is issued to 00. In addition, when the channel control device 300 is initialized, the channel control device 30
The transfer performance information 17 about all the input / output devices connected under the control of 0 is given to the channel control device 300.

【0014】主記憶装置200は、中央処理装置100
とチャネル制御装置300とに接続されており、チャネ
ル制御装置300から発行される一回のメモリリクエス
ト3に対し、1ワードのメモリリプライ4を送出する。
The main storage device 200 is a central processing unit 100.
And the channel control device 300, the memory reply 4 of 1 word is transmitted for each memory request 3 issued from the channel control device 300.

【0015】チャネル制御装置300は、中央処理装置
100の発行する入出力命令1にしたがって各チャネル
装置4001 〜400n を制御し、主記憶装置200と
入出力装置5001 〜500n との間のデータ転送を行
なう装置である。
The channel control device 300 controls each of the channel devices 400 1 to 400 n in accordance with the input / output instruction 1 issued by the central processing unit 100 so that the main memory device 200 and the input / output devices 500 1 to 500 n are connected to each other. Is a device for transferring data.

【0016】チャネル装置4001 〜400n は、入出
力装置5001 〜500n とのインタフェースを制御す
る装置で、チャネル制御装置300の指示で主記憶装置
200と入出力装置5001 〜500n との間のデータ
転送を行なう。
The channel devices 400 1 to 400 n are devices for controlling the interface with the input / output devices 500 1 to 500 n, and the main storage device 200 and the input / output devices 500 1 to 500 n are instructed by the channel control device 300. Data transfer between.

【0017】ここで、チャネル制御装置300の構成に
ついて説明する。
Here, the configuration of the channel control device 300 will be described.

【0018】本実施例のチャネル制御装置300は、チ
ャネル制御回路301と先取りデータバッファ302と
先取りデータバッファ制御回路303とデータ転送制御
回路304とデータバッファ管理フラグ群305とデー
タ入力レジスタ306とデータ出力レジスタ307と入
出力装置転送性能テーブル308とエラー検出回路30
9とを備えている。
The channel control device 300 of this embodiment comprises a channel control circuit 301, a prefetch data buffer 302, a prefetch data buffer control circuit 303, a data transfer control circuit 304, a data buffer management flag group 305, a data input register 306 and a data output. Register 307, input / output device transfer performance table 308, and error detection circuit 30
9 and 9.

【0019】入出力装置転送性能テーブル308は、初
期設定時に中央処理装置100から転送される入出力装
置5001 〜500n それぞれの転送性能情報17が格
納される。
The input / output device transfer performance table 308 stores transfer performance information 17 of each of the input / output devices 500 1 to 500 n transferred from the central processing unit 100 at the time of initial setting.

【0020】先取りデータバッファ302は、データの
転送に先立って主記憶装置200から読出した転送デー
タが格納されるバッファで、先取りデータバッファ制御
回路303が発する読出しアドレス15、書込みアドレ
ス16で指定される単位領域に対して転送データの読出
し、書込みが行なわれる。
The prefetch data buffer 302 is a buffer for storing transfer data read from the main storage device 200 prior to data transfer, and is designated by a read address 15 and a write address 16 issued by the prefetch data buffer control circuit 303. The transfer data is read and written in the unit area.

【0021】データバッファ管理フラグ群305は、前
記先取りデータバッファ302の単位領域当りに1つの
先取りデータバッファ管理フラグを対応させたものであ
る。ここで、データバッファ管理フラグ群305の各先
取りデータバッファ管理フラグについて、図2を参照し
て説明する。
The data buffer management flag group 305 corresponds to one prefetch data buffer management flag per unit area of the prefetch data buffer 302. Here, each prefetch data buffer management flag of the data buffer management flag group 305 will be described with reference to FIG.

【0022】図2は、先取りデータバッファ管理フラグ
と先取りデータバッファ302の単位領域との関係を示
す図である。
FIG. 2 is a diagram showing the relationship between the prefetch data buffer management flag and the unit area of the prefetch data buffer 302.

【0023】本実施例の先取りデータバッファ管理フラ
グは、先取りデータバッファ302の単位領域に障害が
あるか否かを示す障害ビットと、単位領域を使用中であ
るか否かを示す使用中ビットと、使用中のチャネル装置
を示すチャネル装置番号とで構成されている。
The prefetch data buffer management flag of this embodiment includes a fault bit indicating whether or not there is a fault in the unit area of the prefetch data buffer 302 and a busy bit indicating whether or not the unit area is in use. , And a channel device number indicating the channel device in use.

【0024】障害ビットと使用中ビットが共に“0”の
とき、対応する、先取りデータバッファ302の単位領
域が使用可能の状態であることを示す。また、先取りデ
ータバッファ302は、障害発生時のための予備の単位
領域を備えており、その予備単位領域は、障害が発生し
たときに使用するために、通常、使用中ビットが“1”
(使用不可状態)にセットされている。また、障害ビッ
トには、先取りデータバッファ302の単位領域に障害
が発生したとき、エラー検出回路309によってエラー
検出情報20(“1”)がセットされる。この障害ビッ
トは、一度セットされるとリセットされないフラグであ
る。
When both the fault bit and the in-use bit are "0", it indicates that the corresponding unit area of the prefetch data buffer 302 is available. Further, the prefetch data buffer 302 has a spare unit area for occurrence of a failure, and the spare unit area is normally used when the failure occurs.
It is set to (disabled state). The error detection circuit 309 sets the error detection information 20 (“1”) in the failure bit when a failure occurs in the unit area of the prefetch data buffer 302. This fault bit is a flag that is not reset once set.

【0025】チャネル制御回路301は、中央処理装置
100からの入出力命令1を解読して処理する回路であ
り、該入出力命令1にて指定される入出力装置を示す指
定入出力装置情報18に基づいて該入出力装置の転送性
能情報19を入出力装置転送性能テーブル308から読
出し、その転送性能に応じて先取りデータバッファ30
2の使用単位領域を確保する。
The channel control circuit 301 is a circuit for decoding and processing the input / output instruction 1 from the central processing unit 100, and the designated input / output apparatus information 18 indicating the input / output apparatus designated by the input / output instruction 1. The transfer performance information 19 of the input / output device is read from the input / output device transfer performance table 308 based on the
2. Secure the used unit area of 2.

【0026】この先取りデータバッファ302の使用単
位領域の確保については、チャネル制御回路301は、
前記データバッファ管理フラグ群305を参照して先取
りデータバッファ302の使用状況(使用状況表示信号
10)を監視しており、前記入出力命令1の実行に際
し、必要な先取りデータのワード数から先取りデータバ
ッファ302の単位領域の必要数を割出す。そして、必
要な単位領域に対応する先取りデータバッファ管理フラ
グに、使用するチャネル装置のチャネル装置番号と使用
中ビットをセットする。また、チャネル制御回路301
は、データ転送制御回路304にデータ転送指示8を与
える。さらに、前記先取りデータバッファ302の使用
単位領域を確保した後、対応するチャネル装置に対して
転送開始指示9を送出し、入出力命令1で指定された転
送量のデータ転送が終了すると、中央処理装置100に
対して終了報告2を送出する。
To secure the used unit area of the prefetch data buffer 302, the channel control circuit 301
The usage status (usage status display signal 10) of the prefetch data buffer 302 is monitored with reference to the data buffer management flag group 305, and when the input / output instruction 1 is executed, the prefetch data is read from the number of words of the prefetch data required. The required number of unit areas of the buffer 302 is calculated. Then, the channel device number and the in-use bit of the channel device to be used are set in the prefetch data buffer management flag corresponding to the required unit area. In addition, the channel control circuit 301
Gives a data transfer instruction 8 to the data transfer control circuit 304. Further, after securing the use unit area of the prefetch data buffer 302, the transfer start instruction 9 is sent to the corresponding channel device, and when the data transfer of the transfer amount designated by the input / output instruction 1 is completed, the central processing is performed. The end report 2 is sent to the device 100.

【0027】先取りデータバッファ制御回路303は、
前記データバッファ管理フラグ群305を参照して、使
用できる単位領域に応じて、先取りデータバッファ30
2に対して読出しアドレス15、書込みアドレス16を
指定する。読出しアドレス15、書込みアドレス16
は、データ入力レジスタ306からメモリリプライ受信
信号21を受信した後送出される。さらに、データを転
送する入出力装置に対応するチャネル装置、すなわち使
用中のデータバッファ管理フラグに記録されているチャ
ネル装置番号をチャネル装置番号情報11としてデータ
出力レジスタ307へ送出する。また、前記使用状況表
示信号10にて、データを転送する入出力装置に割当て
られた先取りデータバッファ302の単位領域が一杯に
なったことが示されると、データ転送制御回路304に
リクエスト抑止信号13を出力する。
The prefetch data buffer control circuit 303 is
With reference to the data buffer management flag group 305, the prefetch data buffer 30 is stored according to the usable unit area.
A read address 15 and a write address 16 are designated for 2. Read address 15 and write address 16
Is transmitted after receiving the memory reply reception signal 21 from the data input register 306. Further, the channel device corresponding to the input / output device for transferring the data, that is, the channel device number recorded in the data buffer management flag in use is sent to the data output register 307 as the channel device number information 11. Further, when the usage status display signal 10 indicates that the unit area of the prefetch data buffer 302 assigned to the input / output device for transferring data is full, the request transfer signal 13 is sent to the data transfer control circuit 304. Is output.

【0028】データ転送制御回路304は、チャネル制
御回路301からのデータ転送指示8にしたがって主記
憶装置200をアクセスする回路で、先取りデータバッ
ファ制御回路303からチャネル装置毎のリクエスト抑
止信号13が出力されるまで、前記主記憶装置200に
対して各チャネル装置毎のメモリリクエスト3を送出し
つづける。また、メモリリクエスト3を1回送出する毎
にチャネル装置毎のリクエスト送出信号14を先取りデ
ータバッファ制御回路303へ送信する。
The data transfer control circuit 304 is a circuit for accessing the main memory device 200 in accordance with the data transfer instruction 8 from the channel control circuit 301. The prefetch data buffer control circuit 303 outputs a request inhibit signal 13 for each channel device. Until then, the memory request 3 for each channel device is continuously sent to the main memory device 200. Also, every time the memory request 3 is transmitted, the request transmission signal 14 for each channel device is transmitted to the prefetch data buffer control circuit 303.

【0029】データ入力レジスタ306は、主記憶装置
200からのメモリリプライデータ4を先取りデータバ
ッファ302に書込むためのレジスタであり、該メモリ
リプライデータ4を受信した際、先取りデータバッファ
制御回路303に対してメモリリプライ受信信号21を
送出する。
The data input register 306 is a register for writing the memory reply data 4 from the main storage device 200 into the prefetch data buffer 302. When the memory reply data 4 is received, the prefetch data buffer control circuit 303 receives the data. The memory reply reception signal 21 is transmitted to the memory.

【0030】データ出力レジスタ307は、先取りデー
タバッファ302から読出したデータを、先取りデータ
バッファ制御回路303からのチャネル装置番号情報1
1で指定されたチャネル装置へ送出するためのレジスタ
であり、データ送出が完了した際、データ送出完了信号
12を前記先取りデータバッファ制御回路303へ送出
する。
The data output register 307 transfers the data read from the prefetch data buffer 302 to the channel device number information 1 from the prefetch data buffer control circuit 303.
This is a register for sending to the channel device designated by 1. When the data sending is completed, the data sending completion signal 12 is sent to the prefetch data buffer control circuit 303.

【0031】エラー検出回路309は、先取りデータバ
ッファ302から読出された読出しデータ6を参照して
障害を検出する回路で、一度障害を検出すると、読出し
アドレス15から先取りデータバッファ302の障害発
生領域を判定し、エラー検出信号20を発して障害発生
領域に対応したデータバッファ管理フラグ群305の障
害ビットに“1”をセットする。また、障害発生時に、
中央処理装置100に対してエラー発生報告23を送出
し、チャネル装置4001 〜400n に対してデータ転
送中止信号22を送出する。
The error detection circuit 309 is a circuit for detecting a fault by referring to the read data 6 read from the prefetch data buffer 302. Once the fault is detected, the fault address area of the prefetch data buffer 302 is read from the read address 15. The determination is made, the error detection signal 20 is issued, and "1" is set to the failure bit of the data buffer management flag group 305 corresponding to the failure occurrence area. Also, when a failure occurs,
An error occurrence report 23 is sent to the central processing unit 100, and a data transfer stop signal 22 is sent to the channel devices 400 1 to 400 n .

【0032】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0033】まず、中央処理装置100が、初期設定時
にチャネル制御装置300の配下に接続される入出力装
置の全ての転送性能をチャネル制御装置300に与え
る。
First, the central processing unit 100 gives the channel control device 300 all the transfer performances of the input / output devices connected under the control of the channel control device 300 at the time of initialization.

【0034】その後、中央処理装置100から入出力命
令が発行されると、チャネル制御装置300は入出力命
令1をチャネル制御回路301で解読してデータ転送を
行なう入出力装置を認識し、該入出力装置の転送性能を
確認する。つづいて、チャネル制御回路301が先取り
データバッファ管理フラグ群305の使用中ビットと障
害ビットを参照して、先取りデータバッファ302の使
用状況から、入出力命令1を実行するために使用可能な
単位領域が空いているか否か判定する。その結果、も
し、入出力命令1を実行するのに必要な先取りデータバ
ッファ302の使用単位領域が足りない場合は、中央処
理装置100に対し先取りバッファ・BUSYのため実
行不可能を知らせる。
After that, when an input / output command is issued from the central processing unit 100, the channel control device 300 decodes the input / output command 1 by the channel control circuit 301 and recognizes the input / output device for data transfer. Check the transfer performance of the output device. Subsequently, the channel control circuit 301 refers to the in-use bit and the failure bit of the prefetch data buffer management flag group 305, and determines the unit area that can be used to execute the input / output instruction 1 based on the usage state of the prefetch data buffer 302. It is determined whether or not is empty. As a result, if the used unit area of the prefetch data buffer 302 required to execute the input / output instruction 1 is insufficient, the central processing unit 100 is notified that the prefetch buffer is BUSY and cannot be executed.

【0035】一方、入出力命令1を実行可能な場合は、
チャネル制御回路301が先取りデータバッファ管理フ
ラグ群305にチャネル装置番号と使用中ビット“1”
をセットし、入出力命令1の実行に必要な先取りデータ
バッファ302の使用単位領域を確保する。そして、チ
ャネル制御回路301は入出力命令1で指定された入出
力装置が接続されているチャネル装置に対して転送開始
指示9を発するとともに、データ転送制御回路304に
データ転送指示8を与え、メモリアクセスを開始させ
る。
On the other hand, when the input / output instruction 1 can be executed,
The channel control circuit 301 sets the channel device number and the busy bit “1” in the prefetch data buffer management flag group 305.
Is set, and the unit-of-use area of the prefetch data buffer 302 necessary for executing the input / output instruction 1 is secured. Then, the channel control circuit 301 issues a transfer start instruction 9 to the channel device to which the input / output device designated by the input / output instruction 1 is connected, and also gives the data transfer instruction 8 to the data transfer control circuit 304 so that the memory Start access.

【0036】データ転送指示8を受けたデータ転送制御
回路304は、メモリリクエスト3の送出を開始し、1
回メモリリクエストを行なう毎に先取りデータバッファ
制御回路303へリクエスト送出信号14を送る。
Upon receiving the data transfer instruction 8, the data transfer control circuit 304 starts sending the memory request 3 and
Every time a memory request is made, the request transmission signal 14 is sent to the prefetch data buffer control circuit 303.

【0037】リクエスト送出信号14を受けた先取りデ
ータバッファ制御回路303は、先取りデータバッファ
管理フラグ群305を参照して、データ転送中の入出力
装置のメモリリクエストに対するメモリリプライデータ
が入出力装置に割当てられた、先取りデータバッファ3
02の使用単位領域一杯になると、データ転送制御回路
304に対しリクエスト抑止信号13を出力する。この
リクエスト抑止信号13を受信したデータ転送制御回路
304は、メモリリクエスト3の送出を一時停止する。
Upon receiving the request transmission signal 14, the prefetch data buffer control circuit 303 refers to the prefetch data buffer management flag group 305 and allocates the memory reply data for the memory request of the input / output device during data transfer to the input / output device. Prefetched data buffer 3
When the usage unit area 02 is full, the request inhibition signal 13 is output to the data transfer control circuit 304. The data transfer control circuit 304 that has received the request inhibition signal 13 suspends the transmission of the memory request 3.

【0038】一方、メモリリクエスト3が受付けられる
と、前記メモリリクエスト3に対する主記憶装置200
からのメモリリプライ4がデータ入力レジスタ306に
て受信され、そのとき、該データ入力レジスタ306か
ら、先取りデータバッファ制御回路303に対してメモ
リリプライ受信信号21が送出される。
On the other hand, when the memory request 3 is accepted, the main storage device 200 for the memory request 3 is received.
The memory reply 4 is received by the data input register 306. At that time, the memory reply reception signal 21 is sent from the data input register 306 to the prefetch data buffer control circuit 303.

【0039】先取りデータバッファ制御回路303はメ
モリリプライ受信信号21を受信すると、先取りデータ
バッファ302に対して読出しアドレス15および書込
みアドレス16を送出し、それによって、前記メモリリ
プライ4がメモリリプライデータ5として、前記書込み
アドレス16で指定された領域へ格納されるとともに、
読出しアドレス15にて指定された領域のデータ(読出
しデータ6)が読出されて、データ出力レジスタ307
に格納される。
When the prefetch data buffer control circuit 303 receives the memory reply reception signal 21, the prefetch data buffer control circuit 303 sends out the read address 15 and the write address 16 to the prefetch data buffer 302, whereby the memory reply 4 becomes the memory reply data 5. , Is stored in the area designated by the write address 16, and
The data (read data 6) in the area designated by the read address 15 is read, and the data output register 307
Stored in.

【0040】データ出力レジスタ307は、読出しデー
タ6を受信すると、先取りデータバッファ制御回路30
3からのチャネル装置番号情報11で指定されるチャネ
ル装置へ転送データ7として送出し、その送出が完了す
ると先取りデータバッファ制御回路303に対して、デ
ータ出力の完了を知らせるデータ送出完了信号12を送
出する。
When the data output register 307 receives the read data 6, the prefetch data buffer control circuit 30 receives the read data 6.
3 is sent to the channel device specified by the channel device number information 11 as transfer data 7, and when the sending is completed, the pre-fetch data buffer control circuit 303 is sent a data sending completion signal 12 notifying the completion of data output. To do.

【0041】また、先取りデータバッファ制御回路30
3がリクエスト抑止信号13を発している状態で、デー
タ出力レジスタ307からデータ送出完了信号12を受
信してデータ転送中の入出力装置に割当てられた先取り
データバッファ302の使用単位領域に空きができる
と、リクエスト抑止信号13の送出を止め、データ転送
制御回路304にメモリリクエスト3の送出を再開させ
る。
Further, the prefetch data buffer control circuit 30
3 receives the data transmission completion signal 12 from the data output register 307 while the request inhibition signal 13 is issued, a space is available in the unit usage area of the prefetch data buffer 302 assigned to the input / output device during data transfer. Then, the transmission of the request inhibition signal 13 is stopped, and the data transfer control circuit 304 restarts the transmission of the memory request 3.

【0042】以上の動作を入出力命令1で指定された転
送量が完了するまで繰り返してデータ転送が終了する
と、チャネル制御回路301は中央処理装置100に対
し入出力命令1の終了報告2を出力してチャネル制御装
置300の動作を終了する。また、データ転送中にエラ
ー検出回路309が、先取りデータバッファ302の読
出しデータ6においてエラーを検出すると、該読出しデ
ータ6についての読出しアドレス15から、障害が生じ
たと考えられる先取りデータバッファ302の単位領域
を判定し、対応するバッファ管理フラグ群305の障害
ビットをセットする。さらに、同時に、障害発生時に使
用する予備の単位領域のフラグの使用中ビットをリセッ
トする。また、チャネル制御装置300の配下の全ての
チャネル装置4001 〜400n に対してエラーによる
「データ転送の中止」を示すデータ転送中止信号22を
発するとともに、中央処理装置100に先取りデータバ
ッファ302でのエラーの検出を示すエラー発生報告2
3を通知する。
When the data transfer is completed by repeating the above operation until the transfer amount designated by the input / output instruction 1 is completed, the channel control circuit 301 outputs the end report 2 of the input / output instruction 1 to the central processing unit 100. Then, the operation of the channel control device 300 ends. Further, when the error detection circuit 309 detects an error in the read data 6 of the prefetch data buffer 302 during data transfer, the unit area of the prefetch data buffer 302 in which the failure is considered to occur from the read address 15 for the read data 6 Is determined, and the failure bit of the corresponding buffer management flag group 305 is set. At the same time, the in-use bit of the flag of the spare unit area used when a failure occurs is reset. In addition, the data transfer stop signal 22 indicating “stop of data transfer” due to an error is issued to all the channel devices 400 1 to 400 n under the control of the channel control device 300, and the prefetch data buffer 302 is sent to the central processing unit 100. Error report 2 that indicates the detection of an error
Notify 3.

【0043】このエラー発生報告23を受けた中央処理
装置100は、チャネル制御装置300に対し、再度初
期設定を行ない、データ転送を中止した全ての入出力命
令1の発行を再度行なう。この場合、チャネル制御装置
300が先取りデータバッファ302に使用単位領域を
確保する際、データバッファ管理フラグ群305の障害
ビットがセットされている単位領域をBUSY状態のと
きと同様に使用できなくし、代わりに予備の先取りデー
タバッファ302の領域を使用する。予備の単位領域の
フラグをセットすることにより、障害領域を使用しない
で予備の先取りデータバッファ302の単位領域を使用
して再割付けを行なう。
Receiving the error occurrence report 23, the central processing unit 100 re-initializes the channel control device 300 and issues all the input / output instructions 1 for which the data transfer is stopped again. In this case, when the channel control device 300 secures a used unit area in the prefetch data buffer 302, the unit area in which the failure bit of the data buffer management flag group 305 is set cannot be used as in the BUSY state, and instead, The area of the spare prefetch data buffer 302 is used for. By setting the flag of the spare unit area, the reallocation is performed using the unit area of the spare prefetch data buffer 302 without using the failure area.

【0044】[0044]

【発明の効果】以上説明したように本発明によれば下記
のような効果を奏する。
As described above, the present invention has the following effects.

【0045】(1)転送能力の異なる入出力装置が接続
されている複数のチャネル装置が先取りデータバッファ
を共用し、転送動作を行なう入出力装置の転送能力に応
じて先取りデータバッファの使用量が設定できるので、
転送性能の異なる入出力装置についても前記先取りデー
タバッファを効率よく共用できるとともに、ハードウェ
アを大幅に削減できる。
(1) A plurality of channel devices to which input / output devices having different transfer capacities are connected share a prefetch data buffer, and the amount of use of the prefetch data buffer depends on the transfer capability of the input / output device performing the transfer operation. Because it can be set,
It is possible to efficiently share the prefetch data buffer even with respect to input / output devices having different transfer performances, and to significantly reduce the hardware.

【0046】(2)近年の入出力装置は益々高速化が進
み転送性能の高い入出力装置と、低い入出力装置の競合
が増大しているが、一つの入出力装置の転送動作に割当
てる先取りデータバッファのデータ保持領域の大きさが
可変なので、高速転送対応のチャネル装置を用意してお
けば、チャネル装置の転送性能を意識することなく、転
送性能の高い入出力装置と低い入出力装置を自由に接続
でき、先取りデータバッファにも無駄ができない。
(2) In recent years, the speed of input / output devices has increased and competition for input / output devices with high transfer performance and low input / output devices has increased. The size of the data holding area of the data buffer is variable, so if you prepare a channel device that supports high-speed transfer, you can select I / O devices with high and low transfer performance without being conscious of the transfer performance of the channel device. You can connect freely, and there is no waste in the prefetch data buffer.

【0047】(3)先取りデータバッファの一部に障害
が生じても、その場でチャネル装置の使用が不可能にな
るということが防げるので、装置の信頼性が向上する。
(3) Even if a part of the prefetch data buffer fails, it can be prevented that the channel device cannot be used on the spot, so that the reliability of the device is improved.

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

【図1】本発明のデータ転送システムの一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a data transfer system of the present invention.

【図2】データバッファ管理フラグ群の一例を示す図で
ある。
FIG. 2 is a diagram showing an example of a data buffer management flag group.

【図3】従来のデータ転送システムの一例を示すブロッ
ク図である。
FIG. 3 is a block diagram showing an example of a conventional data transfer system.

【符号の説明】[Explanation of symbols]

100 中央処理装置 200 主記憶装置 300 チャネル制御装置 301 チャネル制御回路 302 先取りデータバッファ 303 先取りデータバッファ制御回路 304 データ転送制御回路 305 データバッファ管理フラグ群 306 データ入力レジスタ 307 データ出力レジスタ 308 入出力装置転送性能テーブル 309 エラー検出回路 400 チャネル装置 500 入出力装置 100 central processing unit 200 main memory 300 channel controller 301 channel control circuit 302 prefetch data buffer 303 prefetch data buffer control circuit 304 data transfer control circuit 305 data buffer management flag group 306 data input register 307 data output register 308 input / output device transfer Performance table 309 Error detection circuit 400 Channel device 500 Input / output device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入出力装置がそれぞれ接続された複数の
チャネル装置と、記憶装置から読出されたメモリリプラ
イデータを、データ転送を指示する入出力命令で指定さ
れた転送先入出力装置へ転送させるチャネル制御装置と
を有するデータ転送システムにおいて、 前記チャネル制御装置が、 データ保持領域が複数の単位領域に分割され、障害発生
時用の予備単位領域が設けられた先取りデータバッファ
と、 前記先取りデータバッファの各単位領域に対応して、該
単位領域に前記メモリリプライデータが格納されている
か否かを示す使用中情報と、前記単位領域に格納されて
いるメモリリプライデータの転送先入出力装置を示す入
出力情報と、前記単位領域における障害の発生時に、該
単位領域の使用禁止を示す障害情報とが記録される、複
数のデータバッファ管理フラグからなるデータバッファ
管理フラグ群と、 前記各入出力装置のデータ転送性能が予め格納される転
送性能テーブルと、 前記入出力命令が発せられた際、前記転送先入出力装置
に対応するデータ転送性能を前記転送性能テーブルから
抽出して、該データ転送性能に応じた、前記先取りデー
タバッファのデータ保持領域に相当するデータバッファ
管理フラグに使用中ビットおよび入出力装置情報をセッ
トし、使用中の前記先取りデータバッファ単位領域に障
害が発生した際、前記予備単位領域のデータバッファ管
理フラグに、使用中ビットおよび入出力装置情報をセッ
トするチャネル制御回路と、 前記データバッファ管理フラグ群を参照して、メモリリ
プライデータの転送先入出力装置について使用中ビット
がセットされているデータバッファ管理フラグに関る前
記先取りデータバッファの単位領域を示すアドレスを、
前記メモリリプライデータの、前記先取りデータバッフ
ァに対する書込みアドレスとして指定するとともに、既
に、前記先取りデータバッファが保持しているメモリリ
プライデータを読出す読出しアドレスを指定する先取り
データバッファ制御回路と、 前記先取りデータバッファから読出されたメモリリプラ
イデータを参照して、該メモリリプライデータが正常か
否かを調べ、エラーが発生している場合、該メモリリプ
ライデータが読出された読出しアドレスに対応する前記
単位領域に関るデータバッファ管理フラグに前記障害情
報を記録するエラー検出回路とを有することを特徴とす
るデータ転送システム。
1. A plurality of channel devices each having an input / output device connected thereto, and a channel for transferring memory reply data read from a storage device to a transfer destination input / output device designated by an input / output instruction instructing data transfer. In the data transfer system having a control device, the channel control device has a prefetch data buffer in which a data holding area is divided into a plurality of unit areas, and a spare unit area for occurrence of a failure is provided; Corresponding to each unit area, in-use information indicating whether or not the memory reply data is stored in the unit area, and input / output indicating a transfer destination input / output device of the memory reply data stored in the unit area Information and failure information indicating prohibition of use of the unit area when a failure occurs in the unit area are recorded. A data buffer management flag group consisting of the data buffer management flags, a transfer performance table in which the data transfer performance of each of the input / output devices is stored in advance, and the transfer destination input / output device corresponding to the input / output command when issued. Extracting the data transfer performance from the transfer performance table, and setting the in-use bit and the input / output device information in the data buffer management flag corresponding to the data holding area of the prefetch data buffer according to the data transfer performance, When a failure occurs in the prefetch data buffer unit area in use, a channel control circuit for setting a used bit and input / output device information in the data buffer management flag of the spare unit area, and the data buffer management flag group As a result, the in-use bit of the I / O device to which the memory reply data is transferred is set. An address of a unit area of Sekiru the prefetch data buffer in the data buffer management flag being,
A prefetch data buffer control circuit for designating a write address of the memory reply data to the prefetch data buffer and also designating a read address for reading the memory reply data already held by the prefetch data buffer; By referring to the memory reply data read from the buffer, it is checked whether or not the memory reply data is normal, and if an error occurs, the memory reply data is stored in the unit area corresponding to the read address read from. A data transfer system comprising: an error detection circuit for recording the failure information in a related data buffer management flag.
JP03352592A 1992-02-20 1992-02-20 Data transfer system Expired - Fee Related JP3364751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03352592A JP3364751B2 (en) 1992-02-20 1992-02-20 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03352592A JP3364751B2 (en) 1992-02-20 1992-02-20 Data transfer system

Publications (2)

Publication Number Publication Date
JPH05233482A true JPH05233482A (en) 1993-09-10
JP3364751B2 JP3364751B2 (en) 2003-01-08

Family

ID=12388965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03352592A Expired - Fee Related JP3364751B2 (en) 1992-02-20 1992-02-20 Data transfer system

Country Status (1)

Country Link
JP (1) JP3364751B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7657711B2 (en) 2003-09-08 2010-02-02 Sony Corporation Dynamic memory bandwidth allocation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7657711B2 (en) 2003-09-08 2010-02-02 Sony Corporation Dynamic memory bandwidth allocation

Also Published As

Publication number Publication date
JP3364751B2 (en) 2003-01-08

Similar Documents

Publication Publication Date Title
US4523275A (en) Cache/disk subsystem with floating entry
EP0333593B1 (en) A data processing system capable of fault diagnosis
US20030056141A1 (en) Control method used in and-gate type system to increase efficiency and lengthen lifetime of use
JPH05233482A (en) Data transfer system
JP3273191B2 (en) Data transfer device
US5590279A (en) Memory data copying apparatus
JP2752834B2 (en) Data transfer device
JP3425355B2 (en) Multiple write storage
JP2826780B2 (en) Data transfer method
JP3259095B2 (en) Data transfer method
EP0358224A2 (en) Semiconductor disk device useful in transaction processing system
JPH09114598A (en) Disk cache device
JPH0131224B2 (en)
JPH07122857B2 (en) Information processing equipment
JPS5917447B2 (en) data channel device
JPH0553914A (en) Disk cache system
JPH0120463B2 (en)
JPS62130425A (en) Disk transfer buffer managing system
JP2001101080A (en) Method for managing dead buffer
JPH0122938B2 (en)
JPS60136852A (en) Control system of information processor
JPS61138344A (en) Debugging system
JPH04245522A (en) Data transfer control method
JP2000259496A (en) Storage device
JPS59121534A (en) Data transfer controlling system

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081101

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081101

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081101

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees