JP3273191B2 - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JP3273191B2
JP3273191B2 JP31627391A JP31627391A JP3273191B2 JP 3273191 B2 JP3273191 B2 JP 3273191B2 JP 31627391 A JP31627391 A JP 31627391A JP 31627391 A JP31627391 A JP 31627391A JP 3273191 B2 JP3273191 B2 JP 3273191B2
Authority
JP
Japan
Prior art keywords
input
data
channel
output
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.)
Expired - Lifetime
Application number
JP31627391A
Other languages
Japanese (ja)
Other versions
JPH05151138A (en
Inventor
眞 岡島
Original Assignee
日本電気エンジニアリング株式会社
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 日本電気エンジニアリング株式会社 filed Critical 日本電気エンジニアリング株式会社
Priority to JP31627391A priority Critical patent/JP3273191B2/en
Publication of JPH05151138A publication Critical patent/JPH05151138A/en
Application granted granted Critical
Publication of JP3273191B2 publication Critical patent/JP3273191B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムのデ
ータ転送装置に関し、特に転送データの先取りデータバ
ッファを有するデータ転送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer device for an information processing system, and more particularly, to a data transfer device having a prefetch data buffer for transfer data.

【0002】[0002]

【従来の技術】従来のこの種のデータ転送装置は、図3
に示すように、中央処理装置100、主記憶装置20
0、n個の入出力装置5001 〜500n 、チャネル制
御装置1000、n個のチャネル装置20001 〜20
00n からなり、各チャネル装置は、それぞれ入力レジ
スタ2100、データ転送制御回路2300、I/Oイ
ンタフェース制御回路2400と、同じ大きさの先取り
データバッファ2200とを有していた。
2. Description of the Related Art A conventional data transfer apparatus of this type is shown in FIG.
As shown in the figure, the central processing unit 100, the main storage device 20
0, n input / output devices 500 1 to 500 n , channel control device 1000, n channel devices 2000 1 to 20
Made 00 n, each channel device had respective input registers 2100, the data transfer control circuit 2300, I / O interface control circuit 2400, a prefetch data buffer 2200 of the same size.

【0003】チャネル制御装置1000は、中央処理装
置100から入出力命令1を受けると、入出力命令1で
指定される入出力装置、例えば入出力装置5001 の接
続されているチャネル装置20001 に対し、データ転
送の実行を信号9により指示する。データ転送の実行を
指示されたチャネル装置20001 は、先取りデータバ
ッファ2200の容量の範囲内で、メモリリクエスト2
4を行い、入出力装置5001 へ転送する転送データを
用意する。データ転送を開始するのに十分な転送データ
が、先取りデータバッファ2200に用意できると、I
/Oインタフェース制御回路2400が、入出力装置5
001 へ転送データを転送する。データ転送が終了する
と、チャネル装置20001 は、チャネル制御装置10
00へ通知し、通知を受けたチャネル制御装置1000
は、中央処理装置100に対し、入出力命令1の終了報
告2を送出してチャネル制御装置1000の動作を終了
する。
[0003] The channel control unit 1000 receives the output instruction 1 from the central processing unit 100, input-output device designated by the input command 1, for example, the channel device 2000 1 connected input and output devices 500 1 On the other hand, execution of data transfer is instructed by a signal 9. The channel device 2000 1 instructed to execute the data transfer performs the memory request 2 within the capacity of the prefetch data buffer 2200.
4 was carried out, to prepare the transfer data to be transferred to the output device 500 1. When enough transfer data to start data transfer is available in the prefetch data buffer 2200,
The I / O interface control circuit 2400 controls the input / output device 5
00 to 1 to transfer the transfer data. When the data transfer is completed, the channel device 2000 1
00 to the channel controller 1000 that has received the notification.
Sends an end report 2 of the input / output instruction 1 to the central processing unit 100 and ends the operation of the channel control device 1000.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のデータ
転送装置は、各チャネル装置内部に一つずつ、大きさ固
定の先取りデータバッファを持っている。そのためにチ
ャネル装置配下に転送性能の異なる入出力装置を接続し
た場合は、高い性能の入出力装置に合わせて転送に必要
な先取りデータバッファを用意することになるので、低
い転送性能の入出力装置に接続されている先取りデータ
バッファに無駄が生じてしまう欠点があった。また、近
年の入出力装置はますます高速化が進み、転送性能の高
い入出力装置と低い入出力装置の組合せが避けられない
現状なので、先取りデータバッファの無駄も増大してい
るという欠点があった。また、チャネル装置の先取りデ
ータバッファに障害が生じると、そのチャネル装置とそ
れに接続された入出力装置とは使用不可能となってしま
うという欠点があった。
The above-mentioned conventional data transfer apparatus has a fixed-size prefetch data buffer inside each channel device. For this reason, if I / O devices with different transfer performances are connected under the channel device, the prefetch data buffer required for transfer will be prepared according to the I / O devices with high performance, so I / O devices with low transfer performance will be prepared. However, there is a disadvantage that the prefetch data buffer connected to the system is wasted. In addition, in recent years, the speed of input / output devices has been further increased, and the combination of input / output devices having high transfer performance and low input / output devices cannot be avoided. Was. Further, when a failure occurs in the prefetch data buffer of the channel device, there is a disadvantage that the channel device and the input / output device connected thereto become unusable.

【0005】本発明の目的は、先取りデータバッファを
入出力装置の転送性能に応じて効率よく利用でき、しか
も先取りデータバッファに障害が発生した場合にもチャ
ネル装置や入出力装置が使用可能なデータ転送装置を提
供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to efficiently use a prefetched data buffer according to the transfer performance of an input / output device, and to enable a channel device or an input / output device to use data even when a failure occurs in the prefetched data buffer. A transfer device is provided.

【0006】[0006]

【課題を解決するための手段】本発明のデータ転送装置
は、各入出力装置のデータ転送性能を示す情報が予め格
納された第1の記憶部と、転送データが格納される複数
の単位領域によって構成されていて入出力命令を受けた
ときは対応する各チャネル装置の使用領域が複数の単位
領域の中から任意に割当てられる1つの先取りデータバ
ッファと、各単位領域の障害フラグを含む使用状況を示
す情報が格納される第2の記憶部と、先取りデータバッ
ファから出力されるデータを各単位領域ごとに検査し、
エラーを検出したときは中央処理装置と複数のチャネル
装置の全部とに通知するとともに、第2の記憶部の該当
する単位領域の障害フラグをオンにするエラー検出回路
と、入出力命令を受けたときに対応する入出力装置が接
続されたチャネル装置のデータ転送用の使用領域とし
て、第1および第2の記憶部を参照して入出力装置のデ
ータ転送性能に応じた数の単位領域を先取りバッファの
使用可能な単位領域の中から選出確保し、入出力命令に
よるデータ転送を制御する制御部とを含むチャネル制御
装置を有する。
According to the present invention, there is provided a data transfer apparatus comprising: a first storage unit in which information indicating data transfer performance of each input / output device is stored in advance; and a plurality of unit areas storing transfer data. And a usage state including a failure flag of each unit area, in which, when an input / output command is received, a corresponding use area of each channel device is arbitrarily assigned from among a plurality of unit areas. A second storage unit in which information indicating is stored, and data output from the prefetch data buffer are checked for each unit area,
When an error is detected, an error detection circuit for notifying the central processing unit and all of the plurality of channel devices, turning on a failure flag of a corresponding unit area in the second storage unit, and receiving an input / output instruction Sometimes, as the use area for data transfer of the channel device to which the corresponding input / output device is connected, the number of unit areas corresponding to the data transfer performance of the input / output device is prefetched by referring to the first and second storage units. And a control unit for selecting and securing the buffer from usable unit areas and controlling data transfer by input / output instructions.

【0007】[0007]

【作用】入出力命令を受けるとチャネル制御装置が、そ
の制御部により第1と第2の記憶部に格納された入出力
装置のデータ転送性能と単位領域の使用状況の情報とを
参照して、その入出力命令に必要な大きさの使用領域を
先取りデータバッファの使用可能な単位領域のいくつか
に割当て、その領域を使用してチャネル装置へのデータ
転送を制御する。このデータ転送中にエラー検出回路が
先取りデータバッファからの出力データを検査し、エラ
ーを検出したときは、中央処理装置と全部のチャネル装
置に通知することによりいったん全てのデータ転送を中
止する。中央処理装置が中止したデータ転送の入出力命
令を再発出すると、制御部が第2の記憶部を参照すると
き、エラーの検出された単位領域を除いて先取りデータ
バッファの使用領域を割当てるので、入出力命令に対応
するチャネル装置と入出力装置を動作させることができ
る。
When the input / output command is received, the channel controller refers to the data transfer performance of the input / output device and the information on the use status of the unit area stored in the first and second storage units by the control unit. A use area having a size necessary for the input / output instruction is allocated to some of the usable unit areas of the prefetch data buffer, and the area is used to control data transfer to the channel device. During this data transfer, the error detection circuit checks the output data from the prefetched data buffer, and if an error is detected, all data transfer is temporarily stopped by notifying the central processing unit and all the channel devices. When the central processing unit reissues the interrupted data transfer I / O command, the control unit allocates the use area of the prefetch data buffer except for the unit area where the error is detected when referring to the second storage unit. The channel device and the input / output device corresponding to the input / output command can be operated.

【0008】[0008]

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

【0009】図1は本発明のデータ転送装置の一実施例
のブロック図、図2は図1の実施例の先取りデータバッ
ファ302とバッファ管理フラグ群305の関係を示す
図である。
FIG. 1 is a block diagram of an embodiment of a data transfer device according to the present invention, and FIG. 2 is a diagram showing a relationship between a prefetch data buffer 302 and a buffer management flag group 305 in the embodiment of FIG.

【0010】本実施例は、図1に示すように、中央処理
装置100と、主記憶装置200と、チャネル制御装置
300と、n個のチャネル装置4001 〜400n と、
n個の入出力装置5001 〜500n とからなる。
In this embodiment, as shown in FIG. 1, a central processing unit 100, a main storage device 200, a channel control device 300, n channel devices 400 1 to 400 n ,
It is composed of n input / output devices 500 1 to 500 n .

【0011】チャネル制御装置300は、n個の単位領
域からなる先取りデータバッファ302と、第2の記憶
部に相当する各単位領域の障害ビットと使用中ビットの
フラグと割当てられたチャネル装置番号とが格納される
バッファ管理フラグ群305と、初期設定時に各入出力
装置5001 〜500nの転送性能が格納される第1の
記憶部に相当する転送性能テーブル308と、先取りデ
ータバッファ302の出力データを検査してエラーを検
出したとき中央処理装置100とチャネル装置4001
〜400n に信号を送るエラー検出回路309と、これ
らを制御する制御部に相当するチャネル制御回路30
1、データバッファ制御回路303、データ転送制御回
路304、および2つのレジスタ306、307とを有
する。
The channel control device 300 includes a prefetch data buffer 302 composed of n unit areas, a failure bit and a busy bit flag of each unit area corresponding to the second storage section, and an assigned channel device number. Are stored, a transfer performance table 308 corresponding to a first storage unit in which transfer performance of each of the input / output devices 500 1 to 500 n is stored at the time of initial setting, and an output of the prefetch data buffer 302. When the data is inspected and an error is detected, the central processing unit 100 and the channel device 400 1
Error detection circuit 309 for sending signals to the control signals 〜400 n and the channel control circuit 30 corresponding to a control unit for controlling these signals.
1, a data buffer control circuit 303, a data transfer control circuit 304, and two registers 306 and 307.

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

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

【0014】チャネル制御装置300は、中央処理装置
100の発行する入出力命令1に従い、チャネル装置4
001 〜400n を制御して主記憶装置200と入出力
装置5001 〜500n との間のデータ転送を行う装置
である。チャネル装置400 1 、4002 、…400n
はそれぞれ入力レジスタ401、チャネルデータ制御回
路402、I/Oインタフェース制御回路403を有
し、入出力装置5001、5002 、…500n とのイ
ンタフェースを制御する装置で、チャネル制御装置30
0の指示で主記憶装置200と入出力装置5001 〜5
00n との間のデータ転送を行う。
The channel control device 300 is a central processing unit.
100 according to the input / output instruction 1 issued by the
001 ~ 400n To input / output to / from main storage device 200
Device 5001 ~ 500n For transferring data to and from
It is. Channel device 400 1 , 400Two , ... 400n 
Are the input register 401 and the channel data control circuit, respectively.
With path 402 and I / O interface control circuit 403
And the input / output device 5001, 500Two , ... 500n With
A device for controlling the interface;
0, the main storage device 200 and the input / output device 5001 ~ 5
00n And data transfer between them.

【0015】チャネル制御回路301は、中央処理装置
100より受信した入出力命令1を解読し処理する回路
で、入出力命令1の指定する入出力装置5001 〜50
nの転送性能を転送性能テーブル308から読みだ
し、入出力装置の転送性能の応じた先取りデータバッフ
ァの使用領域を確保し、さらにデータ転送制御回路30
4とチャネル装置400にデータ転送の指示を与える回
路である。先取りデータバッファ302は、転送に先立
って主記憶装置200から読みだした転送データを格納
するバッファで、データバッファ制御回路303から指
定されたアドレスへ書き込み、読み出しを行うバッファ
である。データバッファ制御回路303は、バッファ管
理フラグ群305を参照して、先取りデータバッファ3
02の使用できる領域に応じて単位領域をデータ転送す
る入出力装置5001 〜500n に割り当て、書き込み
アドレス信号16、読み出しアドレス信号15により先
取りデータバッファ302を制御する。また、データ転
送する入出力装置5001 〜500nに割り当てられた
先取りデータバッファ302の使用領域が一杯になる
と、データ転送制御回路304にリクエスト抑止信号1
3を出力する。データ転送制御回路304は、チャネル
制御回路301のデータ転送指示信号8に従い主記憶装
置200にアクセスする回路で、データバッファ制御回
路303からチャネル毎のリクエスト抑止信号13が出
力されるまで各チャネル装置4001 〜400n 毎のメ
モリリクエスト信号3を送出し続ける。また、メモリリ
クエスト信号3を1回送出するたびにチャネル装置毎の
リクエスト送出信号14をデータバッファ制御回路30
3へ送信する。
The channel control circuit 301 decodes and processes the input / output command 1 received from the central processing unit 100. The input / output devices 500 1 to 50 designated by the input / output command 1 are provided.
0 n read transfer performance from the transfer performance table 308, to secure the used area of the prefetch data buffer corresponding transfer performance of the input-output device, further data transfer control circuit 30
4 and a circuit for giving a data transfer instruction to the channel device 400. The prefetch data buffer 302 is a buffer for storing transfer data read from the main storage device 200 prior to transfer, and is a buffer for writing to and reading from an address specified by the data buffer control circuit 303. The data buffer control circuit 303 refers to the buffer management flag group 305 and
The unit area is allocated to the input / output devices 500 1 to 500 n for transferring data in accordance with the available area 02, and the prefetch data buffer 302 is controlled by the write address signal 16 and the read address signal 15. When the use area of the prefetch data buffer 302 allocated to the input / output devices 500 1 to 500 n for data transfer becomes full, the data transfer control circuit 304 sends a request suppression signal 1 to the data transfer control circuit 304.
3 is output. The data transfer control circuit 304 accesses the main storage device 200 in accordance with the data transfer instruction signal 8 of the channel control circuit 301. The data transfer control circuit 304 controls each channel device 400 until the data buffer control circuit 303 outputs the request suppression signal 13 for each channel. The transmission of the memory request signal 3 every 1 to 400 n is continued. Each time the memory request signal 3 is transmitted once, the request transmission signal 14 for each channel device is transmitted to the data buffer control circuit 30.
Send to 3.

【0016】バッファ管理フラグ群305は、先取りデ
ータバッファ302の単位領域ごとにチャネル装置番号
と使用中ビットと障害ビットで構成される1つのフラグ
が割り当てられており、対応する先取りデータバッファ
302の単位領域がデータ転送に使用中の時は、使用し
ているチャネル装置の番号と使用中ビットの“1”とが
設定され、使用中でない時は使用中ビットが“0”に設
定される。これらのフラグのセット/リセットはチャネ
ル制御回路301が行い、常時先取りデータバッファ3
02の使用状況が表示されている。また、障害ビット
は、正常時は“0”で、対応する先取りデータバッファ
302の単位領域に障害が発生した時、障害ビット
“1”にセットされ、一度セットされると障害回復まで
リセットされないフラグである。障害ビットのセット
は、エラー検出回路309が行う。データ入力レジスタ
306は、主記憶装置200からのメモリリプライデー
タ4を受信して先取りデータバッファ302に書き込む
ためのレジスタである。データ出力レジスタ307は、
先取りデータバッファ302から読み出したデータを、
チャネル装置番号の信号11で指定されたチャネル装置
へ送出するためのレジスタである。転送性能テーブル3
08は、チャネル制御装置300の初期設定時に、中央
処理装置100から与えられた全ての入出力装置の転送
性能を記憶しておくメモリである。エラー検出回路30
9は、先取りデータバッファ302から読み出した読み
出しデータ6の障害を検出する回路で、障害を検出した
時は、読み出しアドレス信号15により先取りデータバ
ッファ302の障害発生領域を判定し、エラー検出信号
20を介し障害発生領域に対応したバッファ管理フラグ
群305の障害ビットを“1”にセットする。
In the buffer management flag group 305, one flag composed of a channel device number, an in-use bit, and a failure bit is assigned to each unit area of the prefetch data buffer 302. When the area is being used for data transfer, the number of the channel device being used and the used bit "1" are set, and when not used, the used bit is set to "0". The setting / resetting of these flags is performed by the channel control circuit 301.
02 is displayed. The failure bit is set to "0" when normal, and is set to "1" when a failure occurs in the corresponding unit area of the prefetch data buffer 302. Once set, the flag is not reset until failure recovery. It is. The error detection circuit 309 sets the failure bit. The data input register 306 is a register for receiving the memory reply data 4 from the main storage device 200 and writing the same in the prefetch data buffer 302. The data output register 307
The data read from the prefetch data buffer 302 is
This is a register for sending to the channel device specified by the signal 11 of the channel device number. Transfer performance table 3
Reference numeral 08 denotes a memory that stores the transfer performance of all the input / output devices provided from the central processing unit 100 when the channel control device 300 is initialized. Error detection circuit 30
Reference numeral 9 denotes a circuit for detecting a failure of the read data 6 read from the prefetch data buffer 302. When a failure is detected, a failure occurrence area of the prefetch data buffer 302 is determined by the read address signal 15, and an error detection signal 20 is output. Then, the failure bit of the buffer management flag group 305 corresponding to the failure occurrence area is set to “1”.

【0017】次に図2を用いて先取りデータバッファ3
02とバッファ管理フラグ群305の関係を説明する。
先取りデータバッファ302の1つの単位領域に1つの
バッファ管理フラグを対応させており、バッファ管理フ
ラグ305は、先取りデータバッファ302の単位領域
に障害があるか否かを示す障害ビットと、単位領域を使
用中であるか否かを示す使用中ビットと、使用している
時のチャネル装置番号とで構成され、障害ビットと使用
中ビットとが共に“0”の時、対応する先取りデータバ
ッファ302の単位領域が使用可能の状態であることを
示す。チャネル制御回路301は、入出力命令1の実行
に必要な先取りデータのワード数から先取りデータバッ
ファ302の単位領域の必要数を割り出し、転送動作に
先だって使用するチャネル装置のチャネル装置番号と使
用中ビットをセットする。転送動作が終了すると速やか
に使用中ビットをリセットする。
Next, the prefetch data buffer 3 will be described with reference to FIG.
02 and the buffer management flag group 305 will be described.
One buffer management flag is associated with one unit area of the prefetch data buffer 302. The buffer management flag 305 includes a failure bit indicating whether or not the unit area of the prefetch data buffer 302 has a fault, and a unit area. When the faulty bit and the busy bit are both "0", the corresponding prefetch data buffer 302 has a busy bit indicating whether or not it is busy and a channel device number at the time of use. Indicates that the unit area is available. The channel control circuit 301 determines the required number of unit areas of the prefetch data buffer 302 from the number of words of prefetch data necessary for executing the input / output instruction 1, and determines the channel device number and the busy bit of the channel device to be used prior to the transfer operation. Is set. When the transfer operation is completed, the busy bit is immediately reset.

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

【0019】まず、中央処理装置100が、初期設定時
にチャネル制御装置300の配下に接続される入出力装
置5001 〜500n の全ての転送性能の情報をチャネ
ル制御装置300に与える。次に、チャネル制御装置3
00に対し入出力命令1を発行すると、チャネル制御装
置300は、入出力命令1をチャネル制御回路301で
解読し、データ転送を行う入出力装置例えば5001
転送性能を確認し、バッファ管理フラグ群305の使用
中ビットと障害ビットを参照して、先取りデータバッフ
ァ302の使用状況から入出力命令1を実行可能な領域
があるかどうか判定し、もし、入出力命令1を実行する
のに必要な先取りデータバッファ302の使用領域が足
りない場合は、中央処理装置100に対し先取りバッフ
ァ・ビジーのため実行不可能を知らせる。もし、入出力
命令1を実行可能な場合は、入出力命令1の実行に必要
な先取りデータバッファ302の使用領域を確保し、そ
の使用領域のバッファ管理フラグ群305のフラグにチ
ャネル装置番号と使用中ビット“1”をセットする。そ
して、入出力命令1で指定された入出力装置500 1
接続されているチャネル装置4001 に対し、信号線9
を介し転送の開始を指示する。また、チャネル制御回路
301は、データ転送制御回路304に転送制御情報8
を与え、メモリアクセスを開始させる。転送制御情報8
を受けたデータ転送制御回路304は、メモリリクエス
ト信号3の送出を開始して、1回メモリリクエストを行
う毎にデータバッファ制御回路303へリクエスト送出
信号14を送る。データバッファ制御回路303は、バ
ッファ管理フラグ群305を参照して、データ転送中の
入出力装置5001 のメモリリクエストが、データ転送
中の入出力装置5001 に割り当てられた先取りデータ
バッファ302の使用領域一杯になると、データ転送制
御回路304に対しリクエスト抑止信号13を出力す
る。データ転送制御回路304は、リクエスト抑止信号
13を受信すると、メモリリクエストの送出を一時停止
する。データ入力レジスタ306は、受信したメモリリ
プライ4のデータを書き込みアドレス信号15の指定す
るアドレスの先取りデータバッファ302に格納し、同
時にデータバッファ制御回路303へ、メモリリプライ
4の受信を通知する。先取りデータバッファ302は、
読み出しアドレス信号16で指定されたアドレスに格納
されているメモリリプライデータをデータ出力レジスタ
307へ出力する。データ出力レジスタ307は、メモ
リリプライデータを受信するとチャネル装置番号の信号
11で指定されるチャネル装置4001 へ送出し、送出
が完了するとデータバッファ制御回路303に対しデー
タ送出信号12を送りデータ出力の完了を知らせる。デ
ータバッファ制御回路303は、データ出力レジスタ3
07からデータ送出信号12を受信し、データ転送中の
入出力装置5001 に割り当てられた先取りデータバッ
ファ302の使用領域に空きができると、リクエスト抑
止信号13を落しデータ転送制御回路304にメモリリ
クエストの送出を続けさせる。以上の動作を入出力命令
1で指定された転送量を完了するまで繰り返し、データ
転送が終了するとチャネル制御回路301は、中央処理
装置100に対し入出力命令1の終了報告2を出力して
チャネル制御装置300の動作を終了する。
First, when the central processing unit 100 is initialized.
Input / output device connected to the channel control device 300
5001 ~ 500n All the transfer performance information
To the controller 300. Next, the channel control device 3
When the input / output instruction 1 is issued to the
The device 300 outputs the input / output instruction 1 by the channel control circuit 301.
An input / output device for decoding and transferring data, for example, 5001 of
Check transfer performance and use buffer management flags 305
Refers to the middle bit and the failure bit, and
Area where the input / output instruction 1 can be executed based on the usage status of the
Judge whether there is, and execute the I / O instruction 1
Required area of the prefetch data buffer 302 required for
If not, the preprocessing buffer is
Informs impossible due to busy. If input and output
Necessary for execution of input / output instruction 1 if instruction 1 can be executed
To secure the use area of the prefetch data buffer 302,
In the buffer management flag group 305 of the
The channel device number and the busy bit "1" are set. So
And the input / output device 500 specified by the input / output instruction 1 1 of
Connected channel device 4001 For signal line 9
To start the transfer via. Also, the channel control circuit
301 indicates to the data transfer control circuit 304 that the transfer control information 8
To start the memory access. Transfer control information 8
The data transfer control circuit 304 having received the
Start of transmission of signal 3 and make a memory request once.
Request to the data buffer control circuit 303 every time
Signal 14 is sent. The data buffer control circuit 303
With reference to the buffer management flag group 305,
I / O device 5001 Memory request for data transfer
I / O device 500 inside1 Prefetch data assigned to
When the used area of the buffer 302 becomes full, the data transfer
Outputs the request suppression signal 13 to the control circuit 304
You. The data transfer control circuit 304 outputs a request suppression signal
13 is received, the transmission of the memory request is suspended.
I do. The data input register 306 stores the received memory
The data of the ply 4 is designated by the write address signal 15.
Address in the prefetch data buffer 302, and
Memory reply to the data buffer control circuit 303
4 is notified. The prefetch data buffer 302
Stored at the address specified by the read address signal 16
Data stored in the memory reply data
307. The data output register 307
When the reply data is received, the signal of the channel device number
Channel device 400 specified by 111 Send to
Is completed, data is sent to the data buffer control circuit 303.
A data transmission signal 12 is sent to notify completion of data output. De
The data buffer control circuit 303 includes a data output register 3
07, the data transmission signal 12 is received, and the
I / O device 5001 Preemption data buffer assigned to
If there is free space in the usage area of the
Stop signal 13 and store data in the data transfer control circuit 304.
Continue sending quests. The above operations are input / output instructions
Repeat until the transfer amount specified in 1 is completed,
When the transfer is completed, the channel control circuit 301
Outputs end report 2 of input / output instruction 1 to device 100
The operation of the channel control device 300 ends.

【0020】また、データ転送中にエラー検出回路30
9が、先取りデータバッファ302の読み出しデータ6
に障害を検出すると、読み出しアドレス信号16から、
先取りデータバッファ302中の該当する単位領域を判
定し、対応するバッファ管理フラグ群305の障害ビッ
トをセットする。また、チャネル制御装置300の配下
の全てのチャネル装置4001 …400n に対し、エラ
ーによるデータ転送の中止を通知し、同時に中央処理装
置100に先取りデータバッファ302でエラーを検出
したことを通知する。通知を受けた中央処理装置100
は、チャネル制御装置300に対し再度初期設定を行
い、データ転送を中止した全ての入出力命令1の発行を
再度行う。この時、チャネル制御装置300は、先取り
データバッファ302の使用領域を確保する際、データ
バッファ管理フラグ群305の障害ビットのセットされ
ている単位領域をビジー状態の時と同様に確保できなく
することにより、障害領域を使用しないで先取りデータ
バッファ302の再割付を行う。
Further, during data transfer, the error detection circuit 30
9 is the read data 6 of the prefetch data buffer 302
When a failure is detected, the read address signal 16
The corresponding unit area in the prefetch data buffer 302 is determined, and the failure bit of the corresponding buffer management flag group 305 is set. Also, all the channel devices 400 1 to 400 n under the control of the channel control device 300 are notified of the stop of the data transfer due to the error, and at the same time, the central processing unit 100 is notified that the prefetch data buffer 302 has detected the error. . Central processing unit 100 notified
Resets the channel controller 300 again and issues again all the I / O instructions 1 whose data transfer has been suspended. At this time, when reserving the used area of the prefetch data buffer 302, the channel control device 300 should not be able to reserve the unit area in which the failure bit of the data buffer management flag group 305 is set as in the busy state. Thus, the prefetch data buffer 302 is reallocated without using the failure area.

【0021】本実施例のデータ転送装置は、n個の単位
領域を有する1つの先取りデータバッファ302をチャ
ネル制御装置300内に設けて、n個のチャネル装置4
00 1 〜400n で共用とし、それらに接続された入出
力装置5001 〜500n のそれぞれの転送性能に応じ
て必要な数の単位領域を入出力命令を受けるたびに割当
て、また、単位領域からの出力データをエラー検出回路
309で検査して、エラー障害が発生した時はその単位
領域を使用禁止とするものであって、従来は低速の入出
力装置を制御するチャネル装置をも含めて全てのチャネ
ル装置2000 1 〜2000n 毎に一率に設けられてい
た高速転送用の大容量の先取りデータバッファ2200
を不要とし、しかも先取りデータバッファ302の単位
領域の障害時には、使用可能な他の単位領域を使用する
ことによりチャネル装置4001〜400n および入出
力装置5001〜500n へのデータ転送が可能とな
る。
The data transfer device of this embodiment has n units.
One prefetch data buffer 302 having an area
And n channel devices 4 provided in the channel control device 300.
00 1 ~ 400n In and out and connected to them
Force device 5001 ~ 500n According to each transfer performance
Allocate the required number of unit areas each time an I / O instruction is received
Output data from the unit area
Inspection at 309, when an error failure occurs, its unit
The area is prohibited to use.
All channels, including those that control
Device 2000 1 ~ 2000n Is provided for each
Large-capacity data buffer 2200 for high-speed transfer
Is unnecessary, and the unit of the prefetch data buffer 302
Use other available unit area in case of area failure
The channel device 4001~ 400n And entry and exit
Force device 5001~ 500n Data transfer to
You.

【発明の効果】以上説明したように本発明は、転送性能
の異なる入出力装置が接続されている複数のチャネル装
置の先取りデータバッファを集中して共用し、入出力装
置の転送性能に応じて先取りデータバッファの使用量を
可変的に割当てることにより、各チャネル装置専用の先
取りデータバッファ回路を削減し、しかもチャネル装置
の転送性能を意識することなく、転送性能の高い入出力
装置と低い入出力装置を自由に接続でき、先取りデータ
バッファを無駄なく効率よく使用できる効果がある。ま
た、先取りデータバッファの一部に障害が生じても、そ
の場でチャネル装置の使用が不可能になるということが
防げるので装置の信頼性が向上するという効果がある。
As described above, according to the present invention, the prefetch data buffers of a plurality of channel devices to which input / output devices having different transfer performances are connected are intensively shared, and according to the transfer performance of the input / output devices. By variably allocating the use amount of the prefetch data buffer, the prefetch data buffer circuit dedicated to each channel device can be reduced, and the I / O device having high transfer performance and the low I / O can be realized without being conscious of the transfer performance of the channel device. The device can be freely connected and the prefetch data buffer can be used efficiently without waste. Further, even if a failure occurs in a part of the prefetch data buffer, it is possible to prevent the channel device from being disabled on the spot, thereby improving the reliability of the device.

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

【図1】本発明のデータ転送装置の一実施例のブロック
図である。
FIG. 1 is a block diagram of an embodiment of a data transfer device according to the present invention.

【図2】図1の先取りデータバッファ302とデータバ
ッファ管理フラグ群305の関係を示す図である。
FIG. 2 is a diagram showing a relationship between a prefetch data buffer 302 and a data buffer management flag group 305 in FIG.

【図3】従来のデータ転送装置の一実施例のブロック図
である。
FIG. 3 is a block diagram of one embodiment of a conventional data transfer device.

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

100 中央処理装置 200 主記憶装置 300 チャネル制御装置 301 チャネル制御回路 302 先取りデータバッファ 303 データバッファ制御回路 304 データ転送制御回路 305 データバッファ回路フラグ群 306 データ入力レジスタ 307 データ出力レジスタ 308 転送性能テーブル 309 エラー検出回路 4001 〜400n チャネル装置 401 入力レジスタ 402 チャネルデータ制御回路 403 I/Oインタフェース制御回路 5001 〜500n 入出力装置 1 入出力命令信号 2 終了報告信号 3 メモリリクエスト信号 4 メモリリプライ信号 5 メモリリプライデータ 6 先取りデータバッファ出力データ 7 転送出力データ 8 データ転送指示信号 9 転送指示信号 10 バッファ使用状況表示信号 11 チャネル装置番号 12 データ送出信号 13 リクエスト抑止信号 14 リクエスト送出信号 15 読み出しアドレス 16 書き込みアドレス 17 入出力装置転送性能情報 18 入出力装置指定 19 入出力装置転送性能 20 エラー検出信号 21 メモリリプライ受診信号 22 データ転送中止信号 23 エラー発生報告 24 チャネルメモリリクエストREFERENCE SIGNS LIST 100 central processing unit 200 main storage device 300 channel control device 301 channel control circuit 302 prefetch data buffer 303 data buffer control circuit 304 data transfer control circuit 305 data buffer circuit flag group 306 data input register 307 data output register 308 transfer performance table 309 error Detection circuit 400 1 to 400 n channel device 401 input register 402 channel data control circuit 403 I / O interface control circuit 500 1 to 500 n input / output device 1 input / output command signal 2 end report signal 3 memory request signal 4 memory reply signal 5 Memory reply data 6 Prefetch data buffer output data 7 Transfer output data 8 Data transfer instruction signal 9 Transfer instruction signal 10 Buffer usage status display signal 11 Channel Reference number 12 Data transmission signal 13 Request suppression signal 14 Request transmission signal 15 Read address 16 Write address 17 I / O device transfer performance information 18 I / O device designation 19 I / O device transfer performance 20 Error detection signal 21 Memory reply reception signal 22 Data transfer Stop signal 23 Error report 24 Channel memory request

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の入出力装置と、前記入出力装置が
接続される複数のチャネル装置と、中央処理装置と、主
記憶装置と、前記チャネル装置と前記主記憶装置との間
に接続されてその間のデータ転送を制御するチャネル制
御装置とからなる情報処理システムのデータ転送装置に
おいて、 前記チャネル制御装置は、前記各入出力装置のデータ転
送性能を示す情報が予め格納された第1の記憶部と、 転送データが格納される複数の単位領域からなり、入出
力命令を受けたときに対応する前記各チャネル装置の使
用領域が前記複数の単位領域の中から任意に割当てられ
る1つの先取りデータバッファと、 前記各単位領域の障害フラグを含む使用状況を示す情報
が格納される第2の記憶部と、 前記先取りデータバッファから出力されるデータを各単
位領域ごとに検査し、エラーを検出したときは前記中央
処理装置と前記複数のチャネル装置の全部とに通知する
とともに、前記第2の記憶部の該当する単位領域の障害
フラグをオンにするエラー検出回路と、 入出力命令を受けたときに対応する入出力装置が接続さ
れたチャネル装置のデータ転送用の使用領域として、前
記第1および第2の記憶部を参照して、前記入出力装置
のデータ転送性能に応じた数の単位領域を前記先取りデ
ータバッファの使用可能な単位領域の中から選出確保
し、前記入出力命令によるデータ転送を制御する制御部
とを有することを特徴とするデータ転送装置。
1. A plurality of input / output devices, a plurality of channel devices to which the input / output devices are connected, a central processing unit, a main storage device, and a connection between the channel device and the main storage device. A data transfer device for an information processing system, comprising: a channel control device that controls data transfer between the input and output devices; wherein the channel control device has a first storage in which information indicating a data transfer performance of each of the input / output devices is stored in advance. And a plurality of unit areas for storing transfer data, and one prefetched data in which a use area of each channel device corresponding to an input / output instruction is arbitrarily allocated from among the plurality of unit areas. A buffer, a second storage unit in which information indicating a use state including a failure flag of each unit area is stored, and data output from the prefetch data buffer. Inspection is performed for each location area, and when an error is detected, the error is notified to the central processing unit and all of the plurality of channel devices, and an error flag for turning on a failure flag of the corresponding unit area in the second storage unit. A detection circuit, and as a use area for data transfer of a channel device to which the corresponding input / output device is connected when receiving the input / output command, referring to the first and second storage units, A controller for selecting and securing a number of unit areas according to the data transfer performance from among the available unit areas of the prefetch data buffer, and controlling data transfer by the input / output command. Transfer device.
JP31627391A 1991-11-29 1991-11-29 Data transfer device Expired - Lifetime JP3273191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31627391A JP3273191B2 (en) 1991-11-29 1991-11-29 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31627391A JP3273191B2 (en) 1991-11-29 1991-11-29 Data transfer device

Publications (2)

Publication Number Publication Date
JPH05151138A JPH05151138A (en) 1993-06-18
JP3273191B2 true JP3273191B2 (en) 2002-04-08

Family

ID=18075269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31627391A Expired - Lifetime JP3273191B2 (en) 1991-11-29 1991-11-29 Data transfer device

Country Status (1)

Country Link
JP (1) JP3273191B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005084907A (en) 2003-09-08 2005-03-31 Sony Corp Memory band control unit

Also Published As

Publication number Publication date
JPH05151138A (en) 1993-06-18

Similar Documents

Publication Publication Date Title
US5121479A (en) Early start mode data transfer apparatus
US4633387A (en) Load balancing in a multiunit system
EP0136560A2 (en) Loosely coupled multiprocessor system capable of transferring a control signal set by the use of a common memory
EP0397476B1 (en) Error logging data storing system
JPS61109164A (en) Bus control
US5005172A (en) Diagnostic system in a data processing system
JPH02310664A (en) Communication system using shared memory
US4347567A (en) Computer system apparatus for improving access to memory by deferring write operations
US4523275A (en) Cache/disk subsystem with floating entry
JPS6120006B2 (en)
JP3273191B2 (en) Data transfer device
JP2807010B2 (en) Tape drive control unit for interconnection between host computer and tape drive and method of operating the same
US20060129714A1 (en) Method and apparatus for transferring data
JPS5837578B2 (en) Channel Sochi
JP3364751B2 (en) Data transfer system
JP2752834B2 (en) Data transfer device
JP2826780B2 (en) Data transfer method
JP3259095B2 (en) Data transfer method
JPS63234316A (en) Exclusive control system for table storage
JPS61206064A (en) Common input output device for controlling multi-computer system
JPH07122857B2 (en) Information processing equipment
JPS6174045A (en) Channel control system in multi-processor system
JPS60142765A (en) Command reception system of transfer device
JPS581449B2 (en) computer complex system
JPS58200323A (en) Input and output processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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: 20080201

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090201

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090201

Year of fee payment: 7

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: 20090201

Year of fee payment: 7

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: 20100201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120201

Year of fee payment: 10

EXPY Cancellation because of completion of term