JPH07200180A - Data transfer controller - Google Patents
Data transfer controllerInfo
- Publication number
- JPH07200180A JPH07200180A JP5334349A JP33434993A JPH07200180A JP H07200180 A JPH07200180 A JP H07200180A JP 5334349 A JP5334349 A JP 5334349A JP 33434993 A JP33434993 A JP 33434993A JP H07200180 A JPH07200180 A JP H07200180A
- Authority
- JP
- Japan
- Prior art keywords
- data transfer
- memory access
- data
- memory
- block
- 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.)
- Pending
Links
Abstract
(57)【要約】
【目的】 高価なディスク装置を用いることなく大容量
で高速なデータ転送を可能にする。
【構成】 複数のディスク装置と、転送すべきデータを
格納するメモリを有し、ディスクインターフェース制御
手段12a〜12cはディスク装置11a〜11cとの
インターフェースの制御を行い、データ転送要求信号を
出力し、ホストインターフェース制御手段14は上位置
装置とのインターフェースの制御を行い、データ転送要
求信号を出力し、メモリアクセス要求手段13a〜13
cはこのデータ転送要求に応じてメモリ17に対するア
ドレス信号とアクセス要求信号を出力し、同一時に複数
のアクセス要求が存在する場合はメモリアクセス制御手
段16があらかじめ設定された優先順位に基づいて、メ
モリアクセスを許可するメモリアクセス要求手段を選択
し、メモリのアクセスを時分割として各ディスク装置を
並列に動作させることにより、高速なデータ転送が可能
となる。
(57) [Abstract] [Purpose] To enable large-capacity and high-speed data transfer without using an expensive disk device. [Structure] Having a plurality of disk devices and a memory for storing data to be transferred, the disk interface control means 12a to 12c control the interface with the disk devices 11a to 11c and output a data transfer request signal, The host interface control means 14 controls the interface with the upper position device, outputs a data transfer request signal, and memory access request means 13a-13.
c outputs an address signal and an access request signal to the memory 17 in response to the data transfer request, and when there are a plurality of access requests at the same time, the memory access control means 16 outputs the memory based on the preset priority order. High-speed data transfer is possible by selecting a memory access requesting unit that permits access and operating each disk device in parallel with memory access as time division.
Description
【0001】[0001]
【産業上の利用分野】本発明はコンピュータなどの外部
記憶装置に用いられる大容量のデータ転送を制御する装
置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for controlling large-capacity data transfer used in an external storage device such as a computer.
【0002】[0002]
【従来の技術】近年、コンピュータのデータ処理性能の
向上にともない、プログラムやデータの大容量化が進
み、周辺機器として大容量の外部記憶装置の開発が望ま
れている。このような要望に対し、入手可能なディスク
装置を複数台用いることにより記憶容量の大容量化を実
現する外部記憶装置の開発が行われている。2. Description of the Related Art In recent years, as the data processing performance of computers has improved, the capacity of programs and data has increased, and it has been desired to develop a large-capacity external storage device as a peripheral device. In response to such a demand, an external storage device that realizes a large storage capacity by using a plurality of available disk devices has been developed.
【0003】このような複数のディスク装置を用いた外
部記憶装置において、記憶容量の大容量化だけでなくデ
ータ転送の高速化を図る方法も提案されている。たとえ
ば、複数のディスク装置の回転同期を制御するととも
に、回転同期の位相を均等に分散させ、それぞれのディ
スク装置のリード/ライトの開始および終了のタイミン
グをずらすことにより、データバス上のデータ転送の競
合を避けようとするものが提案されている。この従来の
技術に関して図面を用いて説明する。In an external storage device using such a plurality of disk devices, there has been proposed a method of increasing not only the storage capacity but also the speed of data transfer. For example, while controlling the rotation synchronization of a plurality of disk devices, the phases of the rotation synchronization are evenly distributed, and the read / write start and end timings of the respective disk devices are shifted, so that the data transfer on the data bus is prevented. Those trying to avoid competition have been proposed. This conventional technique will be described with reference to the drawings.
【0004】図14は従来の装置の構成図であり、14
1はホストコンピュータ、142は制御装置、143は
データバッファ、144は制御部、145はデータバ
ス、146は制御バス、147はディスク装置、148
は回転同期制御装置、149はデータ分割合成装置であ
る。FIG. 14 is a block diagram of a conventional device.
1 is a host computer, 142 is a control device, 143 is a data buffer, 144 is a control unit, 145 is a data bus, 146 is a control bus, 147 is a disk device, 148.
Is a rotation synchronization control device, and 149 is a data division / synthesis device.
【0005】図15はこの装置において、ディスク装置
を3列に接続した場合のリード時のタイミングチャート
を示したものである。この例においては各ディスク装置
の回転同期の位相を120゜ずらしており、1列目のデ
ィスク装置がディスク媒体からデータをリードし、その
後、データバッファへのデータ転送を行う。並行して2
列目のディスク装置のリードを1列目のリードから12
0゜遅れて行われており、1列目のデータ転送を行った
後、同じく120゜遅れて2列目のデータ転送を開始す
る。同様に3列目のディスク装置についてもデータのリ
ードとデータ転送を行うものであり、回転同期の位相を
均等に分散させることによりデータバスの使用区間の重
複を避けるものである(特開平4−238527)。FIG. 15 is a timing chart at the time of reading when the disk devices are connected in three columns in this device. In this example, the rotational synchronization phase of each disk device is shifted by 120 °, the disk device in the first column reads data from the disk medium, and then transfers the data to the data buffer. 2 in parallel
Read the lead of the disk device in the first row from the lead in the first row to 12
It is carried out with a delay of 0 °, and after the data transfer of the first column, the data transfer of the second column is also started with a delay of 120 °. Similarly, data is read and data is transferred also to the disk device in the third row, and the phases of the rotation synchronization are evenly distributed to avoid duplication of the use section of the data bus. 238527).
【0006】さらに、近年CD(コンパクトディスク)
の安価で大容量の性能が着目され、従来の音楽用途だけ
でなくコンピュータなどのデータディスクとしての利用
が脚光を浴びている。すなわち、CDにプログラムや圧
縮された動画データ、音声データを格納することによ
り、従来の磁気ディスクやフロッピーディスクでは成し
得なかったマルチメディアやゲーム等の新しいアプリケ
ーションの開発が盛んに行われている。Further, in recent years, CD (compact disc)
Attention has been paid to the low-priced and large-capacity performance, and its use as a data disk for computers in addition to conventional music applications is in the limelight. That is, by storing programs, compressed moving image data, and audio data in a CD, new applications such as multimedia and games, which cannot be achieved by conventional magnetic disks and floppy disks, are being actively developed. .
【0007】[0007]
【発明が解決しようとする課題】しかしながら、この従
来の方法では各ディスク装置に対して、位相を均等にず
らした同期回転を制御する装置が必要であり、さらに各
ディスク装置として回転同期のための機能を備えた高価
なディスク装置が必要があることから、装置が高価なも
のとなるという問題があった。However, this conventional method requires a device for controlling the synchronous rotation with the phase evenly shifted for each disk device, and further, as each disk device, for synchronizing rotation. Since an expensive disk device having a function is required, there is a problem that the device becomes expensive.
【0008】また、CDは一般に磁気ディスクに比較し
てデータ転送速度が遅く、CDを利用するアプリケーシ
ョンを開発する場合には、そのデータ転送速度を考慮す
る必要がある。たとえばCDを利用するアプリケーショ
ンの開発過程において、順次作成されるデータを磁気デ
ィスクに格納する場合には、データ確認の工程において
磁気ディスクの高速なデータ転送速度では問題なく再生
される動画や音声が、最終工程でCDにデータを格納し
た場合に、そのデータ転送速度の遅さから動画や音声が
途切れるという場合がある。また、一度だけ書き込み可
能なCDとその書き込み専用装置が近年市販されている
が、膨大な量のデータ作成を要するアプリケーションの
開発において、順次このような一度だけ書き込み可能な
CDを用いたのではアプリケーション作成の費用が非常
に高価なものとなってしまうという問題があった。Further, a CD generally has a lower data transfer rate than a magnetic disk, and it is necessary to consider the data transfer rate when developing an application using the CD. For example, in the process of developing an application that uses a CD, if data that is sequentially created is stored on a magnetic disk, a moving image or sound that can be reproduced without problems at the high data transfer rate of the magnetic disk in the data confirmation step is When data is stored in the CD in the final step, moving images and audio may be interrupted due to the low data transfer rate. In addition, a once-writable CD and a write-only device for the same have been commercially available in recent years. However, in the development of an application that requires creation of an enormous amount of data, it is not possible to use such a once-writable CD sequentially. There was a problem that the cost of creation would be very expensive.
【0009】本発明は上記の問題を解決するもので、第
1に高価なディスク装置を用いることなく大容量で高速
なデータ転送が可能となるデータ転送制御装置を提供す
ること、第2に大容量でかつデータ転送速度の制限が要
求される用途に対して安価なデータ転送制御装置を提供
することを目的としている。The present invention solves the above problems. First, it provides a data transfer control device capable of high-speed data transfer with a large capacity without using an expensive disk device. It is an object of the present invention to provide an inexpensive data transfer control device for an application that requires a limited capacity and a limited data transfer rate.
【0010】[0010]
【課題を解決するための手段】上記課題を解決するため
に、本発明のデータ転送制御装置は、複数のディスク装
置と、前記複数のディスク装置と上位装置との間で転送
すべきデータを格納するメモリと、前記複数のディスク
装置とのインターフェースの制御を行い、データ転送要
求信号を出力するディスクインターフェース制御手段
と、前記ディスクインターフェース制御手段から出力さ
れたデータ転送要求信号に応じて前記メモリに対するア
ドレス信号とアクセス要求信号を出力する第1のメモリ
アクセス要求手段と、上位装置とのインターフェースの
制御を行い、データ転送要求信号を出力するホストイン
ターフェース制御手段と、前記ホストインターフェース
制御手段から出力されたデータ転送要求信号に応じて前
記メモリに対するアドレス信号とアクセス要求信号を出
力する第2のメモリアクセス要求手段と、前記第1のメ
モリアクセス要求手段と前記第2のメモリアクセス要求
手段からのアクセス要求信号とアドレス信号を入力し、
前記メモリと前記第1のメモリアクセス要求手段もしく
は前記第2のメモリアクセス要求手段との間のデータの
入出力を制御するとともに、同一時に複数のアクセス要
求が存在する場合には設定された優先順位に基づいて前
記第1のメモリアクセス要求手段もしくは前記第2のメ
モリアクセス要求手段のいずれかを選択するメモリアク
セス制御手段を備えるものである。In order to solve the above problems, a data transfer control device of the present invention stores a plurality of disk devices and data to be transferred between the plurality of disk devices and a host device. For controlling the interface between the memory and the plurality of disk devices and outputting a data transfer request signal, and an address for the memory according to the data transfer request signal output from the disk interface control means. A first memory access requesting means for outputting a signal and an access requesting signal, a host interface controlling means for controlling an interface with a host device and outputting a data transfer requesting signal, and data output from the host interface controlling means. In response to the transfer request signal, the address for the memory is A second memory access request means for outputting a less signal and an access request signal, an access request signal and an address signal from said first memory access request means and said second memory access request means inputs,
Controls input / output of data between the memory and the first memory access requesting means or the second memory access requesting means, and sets a priority order when a plurality of access requests exist at the same time. Memory access control means for selecting either the first memory access requesting means or the second memory access requesting means based on the above.
【0011】また、本発明のデータ転送制御装置は、メ
モリのアドレス空間をブロック単位で分割し、第1のメ
モリアクセス要求手段と第2のメモリアクセス要求手段
が、データの転送を開始するデータ転送開始信号を入力
し、前記ブロックを選択するブロックアドレス信号をも
とにブロック内のデータ転送を行い、ブロック内のデー
タ転送終了を示すデータ転送終了信号を出力するように
構成され、さらに前記ブロックを選択するブロックアド
レス信号を生成し、前記第1のメモリアクセス要求手段
と第2のメモリアクセス要求手段のそれぞれに前記デー
タ転送開始信号を出力し、前記第1のメモリアクセス要
求手段と第2のメモリアクセス要求手段から前記データ
転送終了信号を入力し、前記第1のメモリアクセス要求
手段と第2のメモリアクセス要求手段のそれぞれがデー
タ転送を行うように転送ブロックの管理を行う手段を設
けたことを特徴とするものである。Further, the data transfer control device of the present invention divides the address space of the memory into blocks, and the first memory access requesting means and the second memory access requesting means start data transfer. A start signal is input, data transfer within a block is performed based on a block address signal that selects the block, and a data transfer end signal indicating the end of data transfer within the block is output. A block address signal to be selected is generated, the data transfer start signal is output to each of the first memory access requesting means and the second memory access requesting means, and the first memory access requesting means and the second memory are output. The data transfer end signal is inputted from the access requesting means, and the first memory access requesting means and the second memory are inputted. It is characterized in that each of the access request means has a means for managing the transfer block to perform data transfer.
【0012】さらに、本発明のデータ転送制御装置は、
転送ブロックを管理する手段がタイマー機能を備え、第
2のアクセス要求手段のブロック内のデータ転送があら
かじめ設定したタイマー値以内の時間に終了した場合に
は、前記タイマー値に達した時点で、次に転送すべきブ
ロックを示すブロックアドレスを出力するとともに、前
記第2のメモリアクセス要求手段にデータ転送開始信号
を出力するように構成されていることを特徴とするもの
である。Further, the data transfer control device of the present invention is
When the means for managing the transfer block has a timer function and the data transfer in the block of the second access request means ends within a preset timer value, when the timer value is reached, the next And a block address indicating a block to be transferred to the second memory access requesting means, and a data transfer start signal to the second memory access requesting means.
【0013】[0013]
【作用】本発明のデータ転送制御装置は、各ディスク装
置と上位装置との間のデータ転送をメモリを介して行う
ものであり、各ディスク装置からのデータ転送要求に応
じて第1のメモリアクセス要求手段が、また上位装置か
らのデータ転送要求に応じて第2のメモリアクセス要求
手段がそれぞれメモリに対するアクセスの要求を行い、
同一時に複数のアクセス要求が存在する場合には、メモ
リアクセス制御手段があらかじめ設定された優先順位に
基づいてメモリをアクセスさせるメモリアクセス要求手
段を選択し、メモリのアクセスを時分割として各ディス
クを並列に動作させることにより高速なデータ転送が可
能となる。The data transfer control device of the present invention transfers data between each disk device and the host device via the memory, and the first memory access is performed in response to a data transfer request from each disk device. The requesting means and the second memory access requesting means respectively make access requests to the memory in response to a data transfer request from the host device,
If there are multiple access requests at the same time, the memory access control means selects the memory access request means for accessing the memory based on the preset priority order, and sets the memory access as time division to parallelize each disk. The high speed data transfer becomes possible by operating the above.
【0014】また、本発明のデータ転送制御装置は、メ
モリのアドレス空間をブロック単位に分割し、第1のメ
モリアクセス要求手段と第2のメモリアクセス要求手段
がブロック内のデータ転送を行い、転送ブロックを管理
する手段が第1のメモリアクセス要求手段と第2のメモ
リアクセス要求手段がそれぞれ転送を行うべきブロック
の選択と転送状況を管理することにより、高速でかつ信
頼性の高いデータ転送の制御が可能となる。Further, in the data transfer control device of the present invention, the address space of the memory is divided into blocks, and the first memory access requesting means and the second memory access requesting means perform the data transfer within the block and transfer the data. The first and second memory access requesting means manage the selection of the block to be transferred and the transfer status, respectively, so that the block managing means controls the data transfer at high speed and with high reliability. Is possible.
【0015】さらに、本発明のデータ転送制御手段は、
転送ブロックを管理する手段がタイマー機能を備え、こ
のタイマー機能を用いてブロック単位で第2のメモリア
クセス要求手段のデータ転送時間を制御することにより
データ転送速度を制限することが可能となる。Further, the data transfer control means of the present invention is
The means for managing the transfer block has a timer function, and the data transfer speed can be limited by controlling the data transfer time of the second memory access requesting means in block units using this timer function.
【0016】[0016]
【実施例】以下本発明の一実施例を図面に基づいて説明
する。まず、大容量でかつ高速なデータ転送速度の実現
を目的とした、本発明の第1の実施例に関して説明す
る。図1は第1の実施例のデータ転送制御装置のブロッ
ク構成図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. First, a first embodiment of the present invention will be described for the purpose of realizing a large capacity and a high data transfer rate. FIG. 1 is a block diagram of the data transfer control device of the first embodiment.
【0017】11はディスク装置であり、本実施例では
SCSIインターフェースを備えた3台の磁気ディスク
装置11a、11b、11cを用いた。12a、12
b、12cは各ディスク装置11a、11b、11cの
インターフェースを制御するディスクインターフェース
制御手段であり、汎用のSCSIプロトコル制御用IC
を用いた。Reference numeral 11 denotes a disk device, and in this embodiment, three magnetic disk devices 11a, 11b and 11c having a SCSI interface were used. 12a, 12
Reference numerals b and 12c are disk interface control means for controlling the interfaces of the disk devices 11a, 11b and 11c, and are general-purpose SCSI protocol control ICs.
Was used.
【0018】13a、13b、13cはディスクインタ
ーフェース制御手段12a、12b、12cのデータ転
送要求に応じてアクセス要求信号を出力する第1のメモ
リアクセス要求手段であり、後述するメモリに対するア
ドレスを生成する機能も備えたものである。Reference numerals 13a, 13b and 13c are first memory access request means for outputting an access request signal in response to a data transfer request of the disk interface control means 12a, 12b and 12c, and a function for generating an address for a memory which will be described later. It is also equipped with.
【0019】14は本装置に対してデータ転送の要求を
行う上位装置(たとえばホストコンピュータ装置)との
インターフェースを制御するホストインターフェース制
御手段であり、本実施例では上位装置とのインターフェ
ースをSCSIインターフェースとし、ディスクインタ
ーフェース制御手段12a、12b、12cと同様にS
CSIプロトコル制御用ICを用いた。Reference numeral 14 denotes a host interface control means for controlling an interface with a host device (for example, a host computer device) that requests data transfer to this device. In this embodiment, the interface with the host device is a SCSI interface. , The disk interface control means 12a, 12b, 12c and S
An IC for controlling the CSI protocol was used.
【0020】15はホストインターフェース制御手段1
4のデータ転送要求に応じてアクセス要求信号を出力す
る第2のメモリアクセス要求手段であり、第1のメモリ
アクセス要求手段13a、13b、13cと同様にメモ
リに対するアドレスを生成する機能を備えたものであ
る。Reference numeral 15 is a host interface control means 1.
No. 4, which is a second memory access requesting means for outputting an access requesting signal in response to the data transfer request, and has a function of generating an address for the memory similarly to the first memory access requesting means 13a, 13b, 13c. Is.
【0021】16は第1のメモリアクセス要求手段13
a、13b、13cと第2のメモリアクセス要求手段1
5のアクセス要求に対して、設定された優先順位に基づ
いて各メモリアクセス要求手段からのアドレスを選択す
るとともに、メモリをアクセスする制御信号を生成する
メモリアクセス制御手段である。Reference numeral 16 is a first memory access request means 13
a, 13b, 13c and second memory access requesting means 1
In response to the access request of No. 5, the memory access control unit selects an address from each memory access request unit based on the set priority and generates a control signal for accessing the memory.
【0022】17はデータを一時的に格納するメモリで
あり、本実施例ではアクセスタイムが70nsecのS
RAMを用いた。18はホストインターフェース制御手
段14を介して本装置に入力される上位装置からのデータ
転送要求のコマンドに応じて、ディスクインターフェー
ス制御手段12a、12b、12cを介して各ディスク
装置11a、11b、11cにコマンドを設定するとと
もに、メモリアクセス制御手段16に対してアクセスに
関する優先順位を設定することにより装置全体の制御を
行う装置制御手段であり、本実施例では汎用のCPUを
用いた。Reference numeral 17 is a memory for temporarily storing data. In the present embodiment, an access time of 70 nsec.
RAM was used. Reference numeral 18 denotes each disk device 11a, 11b, 11c via the disk interface control means 12a, 12b, 12c in response to a data transfer request command from the host device input to the device via the host interface control means 14. This is a device control unit that controls the entire device by setting a command and setting a priority order for access to the memory access control unit 16. In this embodiment, a general-purpose CPU is used.
【0023】本実施例でディスクインターフェース制御
手段12a、12b、12cとして用いたICは、内部
に動作モードや転送データ数などを設定するレジスタを
備え、SCSIデバイスとデータや制御信号の転送を行
うSCSIバスと、SCSIバスで転送されるデータの
入出力を行うようデータ転送要求信号BREQ、データ
転送許可信号BACK、さらにデータBDATバスから
成るデータ転送バスと、内部レジスタの入出力に関する
バスを備えたものである。そして、SCSIバスは各デ
ィスク装置11a、11b、11cと接続され、データ
転送バスは第1のメモリアクセス要求手段13a、13
b、13cと接続され、レジスタの入出力に関するバス
はCPU18と接続される。そして、ディスクインター
フェース制御手段12a、12b、12cはSCSIバ
スを介してバイト単位でデータの入出力が行われると、
BREQ信号とBACK信号を用いたハンドシェイクを
行い、BDATバスで第1のメモリアクセス要求手段1
3a、13b、13cとデータの転送を行う。The IC used as the disk interface control means 12a, 12b, 12c in the present embodiment has a register for setting an operation mode, the number of transfer data, etc. inside, and is a SCSI for transferring data and control signals to and from a SCSI device. A bus, a data transfer request signal BREQ, a data transfer enable signal BACK, and a data transfer bus composed of a data BDAT bus for inputting / outputting data transferred by the SCSI bus, and a bus related to input / output of internal registers Is. The SCSI bus is connected to each disk device 11a, 11b, 11c, and the data transfer bus is the first memory access request means 13a, 13.
b and 13c, and the bus related to the input / output of the register is connected to the CPU 18. When the disk interface control means 12a, 12b, 12c input / output data in byte units via the SCSI bus,
Handshake using the BREQ signal and the BACK signal is performed, and the first memory access requesting means 1 is connected to the BDAT bus.
Data is transferred to 3a, 13b, and 13c.
【0024】同様に、ホストインターフェース制御手段
14のSCSIバスは上位装置と接続され、データ転送
バス(BREQ、BACK、BDAT)は第2のメモリ
アクセス要求手段15と接続され、レジスタの入出力に
関するバスはCPU18と接続され、SCSIバスを介
してバイト単位でデータの入出力が行われると、BRE
Q信号とBACK信号を用いたハンドシェイクを行い、
BDATバスで第2のメモリアクセス要求手段15とデ
ータの転送を行う。Similarly, the SCSI bus of the host interface control means 14 is connected to the host device, the data transfer buses (BREQ, BACK, BDAT) are connected to the second memory access request means 15 and the bus for register input / output. Is connected to the CPU 18, and when data is input and output in byte units via the SCSI bus, the BRE
Perform a handshake using the Q and BACK signals,
Data is transferred to and from the second memory access requesting means 15 via the BDAT bus.
【0025】第1のメモリアクセス要求手段13a、1
3b、13c、および第2のメモリアクセス要求手段1
5は、それぞれメモリ17に対するアドレスXADDを
生成するカウンタと双方向のデータラッチを備えてお
り、それぞれディスクインターフェース制御手段12
a、12b、12c、もしくはホストインターフェース
制御手段15との間でBREQ信号とBACK信号を用
いたハンドシェイクによりデータ転送を行うと、カウン
タの値をインクリメントするとともに、メモリアクセス
制御手段16とXREQ信号とXACK信号を用いたハ
ンドシェイクを行い、XDATバスでデータの転送を行
う。First memory access request means 13a, 1
3b, 13c, and second memory access requesting means 1
Reference numeral 5 includes a counter for generating an address XADD for the memory 17 and a bidirectional data latch, respectively.
a, 12b, 12c, or when data transfer is performed with the host interface control means 15 by handshake using the BREQ signal and the BACK signal, the value of the counter is incremented and the memory access control means 16 and the XREQ signal are transmitted. A handshake is performed using the XACK signal, and data is transferred via the XDAT bus.
【0026】上記のように構成される本実施例のデータ
転送制御装置の動作を説明する。図2はメモリ17から
データを読み出し、ディスクインターフェース制御手段
12a、12b、12cを介してディスク装置11a、
11b、11cにデータを転送する場合のタイミングチ
ャートであり、図3は逆にディスクインターフェース制
御手段12a、12b、12cを介して本装置に入力さ
れたデータをメモリ17に格納する場合のタイミングチ
ャートである。The operation of the data transfer control device of this embodiment configured as described above will be described. In FIG. 2, data is read from the memory 17 and the disk device 11a, via the disk interface control means 12a, 12b, 12c,
11 is a timing chart when transferring data to 11b and 11c, and FIG. 3 is a timing chart when storing data input to this device in the memory 17 via the disk interface control means 12a, 12b and 12c. is there.
【0027】まず、図2を用いてディスク装置11a、
11b、11cにデータを転送する場合に関して説明す
る。SCSIバス上でディスク装置からデータ転送要求
がくるとディスクインターフェース制御手段12a、1
2b、12cはBREQ信号をアクティブ("H" レベ
ル)にして第1のメモリアクセス要求手段13a、13
b、13cに対してデータを要求する。第1のメモリア
クセス要求手段13a、13b、13cはBREQ信号
のアクティブを認識すると有効データをBDATバスに
出力し、BACK信号をアクティブにすることによりデ
ータを出力したことを示す。ディスクインターフェース
制御手段12a、12b、12cはBACK信号のアク
ティブを認識するとBREQ信号をディスアクティ
ブ("L" レベル)としてデータを受け取ったことを示
し、次のデータの転送に備える。First, referring to FIG. 2, the disk device 11a,
A case of transferring data to 11b and 11c will be described. When a data transfer request comes from the disk device on the SCSI bus, the disk interface control means 12a, 1
2b and 12c make the BREQ signal active (“H” level) and the first memory access requesting means 13a and 13
Request data from b and 13c. When the first memory access requesting means 13a, 13b, 13c recognize that the BREQ signal is active, the first memory access requesting means 13a, 13b, 13c outputs valid data to the BDAT bus and activates the BACK signal to output the data. When the disk interface control means 12a, 12b, 12c recognize that the BACK signal is active, they indicate that the BREQ signal has been made inactive ("L" level) and that data has been received, in preparation for the transfer of the next data.
【0028】一方、第1のメモリアクセス要求手段13
a、13b、13cはBREQ信号のディスアクティブ
を認識すると、メモリ17上で次に転送すべきデータが
格納されているアドレスXADDを出力するとともにX
REQ信号をアクティブとしデータを要求する。XRE
Q信号のアクティブを認識したメモリアクセス制御手段
16は、設定された優先順位に応じてアドレスを選択
し、メモリ17に対するアクセスを行い有効データをX
DATバスに出力し、XACK信号をアクティブにする
ことによりデータを出力したことを示す。On the other hand, the first memory access requesting means 13
When a, 13b, and 13c recognize the deactivation of the BREQ signal, they output the address XADD at which the data to be transferred next on the memory 17 is stored and X
Data is requested by making the REQ signal active. XRE
The memory access control means 16 which recognizes the active state of the Q signal selects an address according to the set priority order, accesses the memory 17, and outputs valid data as X.
It indicates that data is output by outputting to the DAT bus and activating the XACK signal.
【0029】さらに、第1のメモリアクセス要求手段1
3a、13b、13cはXACK信号のアクティブを認
識するとXREQ信号をディスアクティブにするととも
に、BACK信号をディスアクティブにすることにより
ディスクインターフェース制御手段12a、12b、1
2cに対して次のデータの準備ができたことを示す。Further, the first memory access requesting means 1
When 3a, 13b, 13c recognize that the XACK signal is active, they deactivate the XREQ signal and deactivate the BACK signal, thereby making the disk interface control means 12a, 12b, 1
2c indicates that the next data is ready.
【0030】上記のシーケンスでメモリ17に格納され
ているデータをSCSIバスを介して各ディスク装置1
1a、11b、11cに転送する。次に、図3を用いて
本装置に入力されたデータをメモリ17に格納する場合
の動作について説明する。The data stored in the memory 17 in the above sequence is transferred to each disk device 1 via the SCSI bus.
Transfer to 1a, 11b, 11c. Next, the operation of storing the data input to this apparatus in the memory 17 will be described with reference to FIG.
【0031】SCSIバスを介してディスク装置11
a、11b、11cからデータが転送されるとディスク
インターフェース制御手段12a、12b、12cはB
DATバスに受け取ったデータを出力し、BREQ信号
をアクティブ("H" レベル)にして第1のメモリアクセ
ス要求手段13a、13b、13cに対してデータを出
力したことを示す。第1のメモリアクセス要求手段13
a、13b、13cはBREQ信号のアクティブを認識
するとBDATバス上の有効データをラッチし、BAC
K信号をアクティブにすることによりデータを入力した
ことを示す。ディスクインターフェース制御手段12
a、12b、12cはBACK信号のアクティブを認識
するとBREQ信号をディスアクティブ("L" レベル)
として次のデータの転送に備える。Disk unit 11 via SCSI bus
When data is transferred from a, 11b, and 11c, the disk interface control means 12a, 12b, and 12c are set to B.
It indicates that the received data is output to the DAT bus, the BREQ signal is activated ("H" level), and the data is output to the first memory access requesting means 13a, 13b, 13c. First memory access requesting means 13
When a, 13b, and 13c recognize that the BREQ signal is active, they latch valid data on the BDAT bus and
Data is input by activating the K signal. Disk interface control means 12
When a, 12b, and 12c recognize that the BACK signal is active, they deactivate the BREQ signal ("L" level).
To prepare for the next data transfer.
【0032】一方、第1のメモリアクセス要求手段13
a、13b、13cは受け取ったデータをXDATバス
上に出力し、メモリ17上で次にデータを格納すべきア
ドレスをXADDバスに出力するとともにXREQ信号
をアクティブとしデータ転送を要求する。XREQ信号
のアクティブを認識したメモリアクセス制御手段16
は、設定された優先順位に応じてアドレスを選択し、X
DATバスから入力した有効データをメモリ17に格納
し、XACK信号をアクティブにすることによりデータ
をメモリ17に格納したことを示す。On the other hand, the first memory access requesting means 13
a, 13b, 13c output the received data on the XDAT bus, output the address on the memory 17 where the next data should be stored to the XADD bus, activate the XREQ signal, and request the data transfer. Memory access control means 16 recognizing the active state of the XREQ signal
Selects an address according to the set priority and X
It shows that the valid data input from the DAT bus is stored in the memory 17, and the data is stored in the memory 17 by activating the XACK signal.
【0033】さらに、第1のメモリアクセス要求手段1
3a、13b、13cはXACK信号のアクティブを認
識するとXREQ信号をディスアクティブにするととも
に、BACK信号をディスアクティブにすることにより
ディスクインターフェース制御手段12a、12b、1
2cに対して次のデータの入力が可能なことを示す。Further, the first memory access requesting means 1
When 3a, 13b, 13c recognize that the XACK signal is active, they deactivate the XREQ signal and deactivate the BACK signal, thereby making the disk interface control means 12a, 12b, 1
2c indicates that the following data can be input.
【0034】上記のシーケンスでSCSIバスを介して
各ディスク装置11a 、11b、11cから転送された
データをメモリ17に格納する。以上、図2、図3を用
いてSCSIバスを介してディスク装置11a 、11
b、11cからメモリアクセス制御手段16までのデー
タ転送の動作に関して説明したが、上位装置とのデータ
転送もホストインターフェース制御手段14と第2のメ
モリアクセス制御手段15により同様に行われる。The data transferred from each disk device 11a, 11b, 11c via the SCSI bus in the above sequence is stored in the memory 17. As described above, referring to FIGS. 2 and 3, the disk devices 11a 1
Although the operation of data transfer from b and 11c to the memory access control means 16 has been described, the data transfer with the host device is similarly performed by the host interface control means 14 and the second memory access control means 15.
【0035】次に、各ディスク装置11a、11b、1
1cの並列動作を可能とするメモリアクセス制御に関し
て説明する。本実施例ではメモリ17に対する複数のア
クセス要求を時分割処理により、動作上問題の無いレベ
ルで並列処理を行う。また、本実施例ではアクセスタイ
ムが70nsecのSRAMをメモリ17として用いて
おり、第1のメモリアクセス要求手段13a、13b、
13c、第2のメモリアクセス要求手段15からのアク
セス要求信号XREQとアクセス許可信号XACKのハ
ンドシェイクに要する時間を含めて100nsecごと
のサイクルに分割し、サイクル単位の時分割によりメモ
リアクセスを制御する構成としている。また、同一サイ
クルで複数のアクセス要求があった場合には、メモリア
クセス制御手段16が設定された優先順位に応じてメモ
リ17に対するアクセスを選択する。上位装置からデー
タが転送されて各ディスク装置11a 、11b、11c
に書き込む場合のメモリアクセスに関するタイミングチ
ャートを図4に、各ディスク装置11a、11b、11
cからデータを読み出して上位装置に転送する場合のメ
モリアクセスに関するタイミングチャートを図5にそれ
ぞれ示す。Next, each disk device 11a, 11b, 1
The memory access control that enables the parallel operation of 1c will be described. In the present embodiment, a plurality of access requests to the memory 17 are time-divisionally processed to perform parallel processing at a level where there is no operational problem. Further, in this embodiment, an SRAM having an access time of 70 nsec is used as the memory 17, and the first memory access requesting means 13a, 13b,
13c, a configuration in which the memory access is controlled by dividing the cycle into 100-nsec cycles including the time required for the handshake of the access request signal XREQ and the access permission signal XACK from the second memory access request means 15, and performing time division in cycle units. I am trying. When there are a plurality of access requests in the same cycle, the memory access control means 16 selects access to the memory 17 according to the set priority. Data is transferred from the host device and each disk device 11a, 11b, 11c
FIG. 4 is a timing chart for memory access when writing data to the disk device 11a, 11b, 11
FIG. 5 shows a timing chart regarding memory access when data is read from c and transferred to a higher-level device.
【0036】本実施例では、上位装置からデータが転送
されて各ディスク装置11a、11b、11cに書き込
む場合、ホストインターフェースに関するアクセス要求
の優先順位を各ディスク装置の転送に関するアクセス要
求の優先順位より上位に設定している。この設定により
図4に示すように、アクセスが競合しないサイクルでは
アクセスを要求したディスク装置、もしくはホストイン
ターフェースに関するメモリアクセスが行われ、アクセ
スが競合するサイクルではホストインターフェースに関
するアクセスを優先して行い、競合したディスク装置の
転送に関するアクセスは次のサイクルで実施される。In this embodiment, when data is transferred from the host device and written to each disk device 11a, 11b, 11c, the priority of the access request for the host interface is higher than the priority of the access request for the transfer of each disk device. Is set to. With this setting, as shown in FIG. 4, in the cycle in which the access does not conflict, the memory access to the disk device or the host interface that requested the access is performed, and in the cycle in which the access conflicts, the access to the host interface is preferentially performed. The access related to the transfer of the disk device is executed in the next cycle.
【0037】逆に各ディスク装置11a、11b、11
cからデータを読み出して上位装置に転送する場合で
は、各ディスク装置の転送に関するアクセス要求の優先
順位をホストインターフェースに関するアクセス要求の
優先順位より上位に設定する。この設定により図5に示
すようにアクセスが競合したサイクルではディスク装置
の転送に関するアクセスを優先して行い、ホストインタ
ーフェースに関するアクセスは次のサイクルで実施され
る。On the contrary, the disk devices 11a, 11b, 11
When the data is read from c and transferred to the higher-level device, the priority of the access request for the transfer of each disk device is set higher than the priority of the access request for the host interface. With this setting, as shown in FIG. 5, in the cycle in which the access conflicts, the access related to the transfer of the disk device is given priority, and the access related to the host interface is executed in the next cycle.
【0038】また、本実施例では上位装置との間で転送
されるデータを2KB(2048バイト)ごとのブロッ
クに分割し、ブロック単位で各ディスク装置にデータを
分散させて格納する構成とした。上位装置とのデータ転
送と各ディスク装置に格納されるデータの関係を図6に
示す。図6の61はホストインターフェース制御手段1
4を介して上位装置と本装置の間で転送されるデータを
示したもので、62、63、64はディスクインターフ
ェース制御手段12a、12b、12cを介して各ディ
スク装置11a、11b、11cにそれぞれ格納される
データを示したものである。すなわち、本実施例では上
位装置との間で転送されるデータを各ディスク装置11
a、11b、11cにブロック単位に分散して格納す
る。また、上位装置にデータを転送する場合には、各デ
ィスク装置11a、11b、11cからブロック単位で
読み出したデータの転送順序を管理して、上位装置に転
送するものである。Further, in the present embodiment, the data transferred to and from the host device is divided into blocks of 2 KB (2048 bytes), and the data is distributed and stored in each disk device in block units. FIG. 6 shows the relationship between the data transfer with the host device and the data stored in each disk device. Reference numeral 61 in FIG. 6 is host interface control means 1.
4 shows the data transferred between the host device and this device via 4, and 62, 63 and 64 are provided to the respective disk devices 11a, 11b and 11c via the disk interface control means 12a, 12b and 12c. It shows the data to be stored. That is, in this embodiment, the data transferred to and from the host device is transferred to each disk device 11
The data is stored in blocks a, 11b, and 11c in blocks. When transferring data to a higher-level device, the transfer order of the data read from each disk device 11a, 11b, 11c in block units is managed and transferred to the higher-level device.
【0039】以上、本実施例の装置構成とその動作につ
いて説明した。次に、上位装置と各ディスク装置の転送
処理の関係について説明する。各ディスク装置11a、
11b、11cに関する転送処理と上位装置との転送処
理の関係を図7に示す。同図(a)は上位装置から転送
されたデータを各ディスク装置に格納する場合であり、
同図(b)は各ディスク装置から読み出したデータを上
位装置に転送する場合で、それぞれ各2.048mse
cサイクルに転送処理されるブロックを示した。本実施
例で用いたディスク装置11a、11b、11cは、そ
れぞれ1MByte/secの転送能力を有しており、
1ブロック(2048バイト)の転送処理にかかる時間
は2.048msecであり、3台のディスク装置の並
列動作により、本装置と上位装置との間で、この2.0
48msecの間に3ブロック分のデータ転送が可能と
なる。The apparatus configuration and operation of this embodiment have been described above. Next, the relationship of transfer processing between the host device and each disk device will be described. Each disk device 11a,
FIG. 7 shows the relationship between the transfer processing for 11b and 11c and the transfer processing for the host device. FIG. 7A shows a case where the data transferred from the host device is stored in each disk device.
FIG. 2B shows the case where the data read from each disk device is transferred to the host device, and each data is 2.048 mse.
The blocks to be transferred in the c cycle are shown. Each of the disk devices 11a, 11b, 11c used in this embodiment has a transfer capacity of 1 MByte / sec.
The time required for transfer processing of one block (2048 bytes) is 2.048 msec.
Data for 3 blocks can be transferred within 48 msec.
【0040】図7に示したように、本実施例ではメモリ
のサイクルタイムに関する時分割処理により、各ディス
ク装置11a、11b、11cの並列動作を可能とし、
各ディスク装置11a、11b、11cが1ブロックの
転送処理を行う時間に、ホストインターフェースでは3
ブロックの転送処理が可能となり、各ディスク装置の3
倍の転送レートが可能となった。As shown in FIG. 7, in the present embodiment, the disk drives 11a, 11b, 11c can be operated in parallel by time division processing relating to the memory cycle time.
At the time when each disk device 11a, 11b, 11c performs the transfer processing of one block, the host interface 3
Block transfer processing becomes possible, and 3 of each disk device
Double transfer rate is possible.
【0041】次に本発明の第2の実施例に関して説明す
る。本発明の第2の実施例はメモリをブロックに分割
し、各ブロックの選択および各ブロック単位のデータ転
送を行う転送ブロックの管理はCPUが行うものであ
る。図8は第2の実施例のデータ転送制御装置のブロッ
ク構成図を示したものである。その構成は第1の実施例
とほぼ同様であるが、第1のメモリアクセス要求手段8
3a、83b、83c、および第2のメモリアクセス要
求手段85にCPU88のI/Oポートを含め、それぞ
れのメモリアクセス要求手段が転送するブロックのブロ
ックアドレスをCPU88が設定するとともに、ブロッ
ク内の転送処理の終了をCPU88が検知することによ
り、各ブロックの選択および各ブロック単位のデータ転
送をCPU88が管理するものである。また、本実施例
ではメモリ87として容量が32KBのSRAMを用
い、1ブロックの容量を2KBとし、16のブロックを
備えるものとした。Next, a second embodiment of the present invention will be described. In the second embodiment of the present invention, the memory is divided into blocks, and the selection of each block and the management of a transfer block for transferring data in each block are performed by the CPU. FIG. 8 is a block diagram of the data transfer control device of the second embodiment. The configuration is almost the same as that of the first embodiment, but the first memory access requesting means 8
3a, 83b, 83c, and the second memory access requesting means 85 including the I / O port of the CPU 88, the CPU 88 sets the block address of the block to be transferred by each memory access requesting means, and the transfer processing within the block. Is detected by the CPU 88, the CPU 88 manages the selection of each block and the data transfer of each block. In the present embodiment, the memory 87 is an SRAM having a capacity of 32 KB, the capacity of one block is 2 KB, and 16 blocks are provided.
【0042】第1のメモリアクセス要求手段83a、8
3b、83c、第2のメモリアクセス要求手段85共通
の内部のブロック構成図を図9に示す。91はシーケン
サであり、ディスクインターフェース制御手段82a、
82b、82c、ホストインターフェース手段84との
BREQ信号、BACK信号を用いたハンドシェイク、
メモリアクセス制御手段86とのXREQ信号、XAC
K信号を用いたハンドシェイク、カウンタに対するクロ
ック供給、さらにカウンタの出力XADD[10..0] を入
力し、ページ内の転送処理の終了を判断し、終了の場合
にI/Oに対してEND信号を出力する機能を備えてい
る。First memory access request means 83a, 8
FIG. 9 shows an internal block configuration diagram common to the third and third memory access requesting means 85. Reference numeral 91 is a sequencer, which is a disk interface control means 82a,
82b and 82c, a handshake using the BREQ signal and the BACK signal with the host interface means 84,
XREQ signal with memory access control means 86, XAC
Handshake using the K signal, clock supply to the counter, and the output XADD [10..0] of the counter are input to determine the end of the transfer processing within the page, and if it is, END the I / O. It has a function to output signals.
【0043】92は双方向のデータラッチであり、ディ
スクインターフェース制御手段82a、82b、82
c、もしくはホストインターフェース手段84とメモリ
アクセス制御手段86との間で転送されるデータをラッ
チする。Reference numeral 92 denotes a bidirectional data latch, which is disk interface control means 82a, 82b, 82.
c, or latches the data transferred between the host interface means 84 and the memory access control means 86.
【0044】93はカウンタであり、シーケンサ91か
ら与えられるクロックに応じてカウントアップし、ブロ
ック内のアドレスXADD[10..0] を出力する。94は
CPU88のI/Oであり、ブロックを選択するブロッ
クアドレスXADD[ 14..11] の出力ポート、シーケ
ンサ91に動作の開始を指示するSTART信号の出力
ポート、ブロック内の転送処理の終了を読みとるEND
信号の入力ポートからなる。Reference numeral 93 is a counter, which counts up according to the clock given from the sequencer 91 and outputs the address XADD [10..0] in the block. Reference numeral 94 denotes an I / O of the CPU 88, an output port of a block address XADD [14..11] for selecting a block, an output port of a START signal for instructing the sequencer 91 to start an operation, and an end of transfer processing in the block. END to read
It consists of a signal input port.
【0045】上記の構成で、第1のメモリアクセス要求
手段83a、83b、83c、第2のメモリアクセス要
求手段85は、それぞれブロック内の転送に関する処理
機能を備えるものである。また、第1のメモリアクセス
要求手段83a、83b、83c、第2のメモリアクセ
ス要求手段85内に備えられたI/O94の入出力ポー
トを通じてブロック単位の転送の制御をCPU88が行
う。With the above configuration, the first memory access requesting means 83a, 83b, 83c and the second memory access requesting means 85 each have a processing function relating to transfer within a block. Further, the CPU 88 controls the transfer in block units through the input / output ports of the I / O 94 provided in the first memory access requesting means 83a, 83b, 83c and the second memory access requesting means 85.
【0046】次に本実施例のデータ転送に関するCPU
88の処理を説明する。上位装置から本装置にデータを
転送し、各ディスク装置に格納する場合のフローチャー
トを図10に、各ディスク装置からデータを読み出し、
上位装置にデータを転送する場合のフローチャートを図
11にそれぞれ示す。Next, the CPU relating to the data transfer of this embodiment
The processing of 88 will be described. FIG. 10 shows a flowchart for transferring data from the host device to this device and storing it in each disk device.
FIG. 11 shows a flowchart for transferring data to the host device.
【0047】上位装置からホストインターフェース制御
手段84を介して本装置にデータライトのコマンドが設
定されると、CPU88は図10に示したサブルーチン
に分岐し、まずS101でコマンドに応じて、ホストイ
ンターフェース制御手段84とディスクインターフェー
ス制御手段82a、82b、82cにデータ転送のため
のパラメータを設定する。When a data write command is set in this device from the host device via the host interface control means 84, the CPU 88 branches to the subroutine shown in FIG. 10, and first in S101, the host interface control is performed in accordance with the command. Parameters for data transfer are set in the means 84 and the disk interface control means 82a, 82b, 82c.
【0048】S102で第2のメモリアクセス要求手段
85のI/Oポートを介してホストインターフェース側
のブロックアドレスを設定し、START信号によりメ
モリ87へのブロック内の転送を開始させる。In S102, the block address on the host interface side is set via the I / O port of the second memory access requesting means 85, and the transfer within the block to the memory 87 is started by the START signal.
【0049】S103では第2のメモリアクセス要求手
段85のI/OポートのEND信号をポーリングするこ
とにより、S102で設定したブロックの転送終了を待
機する。In S103, the END signal of the I / O port of the second memory access requesting means 85 is polled to wait for the transfer end of the block set in S102.
【0050】転送が終了した場合にはS104で第2の
メモリアクセス要求手段85に対して、次に転送すべき
ブロックアドレスを設定し、同様にブロック内の転送を
開始させる。When the transfer is completed, the block address to be transferred next is set to the second memory access requesting means 85 in S104, and the transfer in the block is similarly started.
【0051】S105では第1のメモリアクセス要求手
段に、S103で上位装置からの転送を終えたブロック
のブロックアドレスを設定し、ディスク装置への転送を
開始させる。In S105, the block address of the block for which the transfer from the host device has been completed in S103 is set in the first memory access requesting means, and transfer to the disk device is started.
【0052】S106では第2のメモリアクセス要求手
段85、S107では第1のメモリアクセス要求手段の
I/OポートのEND信号をポーリングし、転送終了を
判断する。In S106, the second memory access requesting means 85 is polled, and in S107, the END signal of the I / O port of the first memory access requesting means is polled to judge the end of transfer.
【0053】S107で第1のメモリアクセス要求手段
のブロックの転送終了を判断すると、S108で第1の
メモリアクセス要求手段に次のブロックを転送させても
良いかを判断する。すなわち、第2のメモリアクセス要
求手段が現在転送しているブロックアドレスから、第1
のメモリアクセス要求手段が次に転送すべきブロックア
ドレスのデータが既にメモリ87に格納されているかを
判断する。既に格納されていれば、次のブロックの転送
が可能な場合であり、S109で次の転送を開始して、
S106に分岐する。しかし、格納されていなければ、
次のブロックの転送ができない場合であることから、S
110で第2のメモリアクセス要求手段の転送終了を待
機し、S111で第2のメモリアクセスに対して次のブ
ロックの転送を開始させて、同様にS106に分岐す
る。When it is judged in S107 that the transfer of the block of the first memory access requesting means is completed, it is judged in S108 whether or not the next block may be transferred to the first memory access requesting means. That is, from the block address currently transferred by the second memory access requesting means, the first
Memory access request means determines whether the data of the block address to be transferred next is already stored in the memory 87. If already stored, the next block can be transferred, and the next transfer is started in S109.
It branches to S106. But if not stored,
Since it is not possible to transfer the next block, S
At 110, the transfer completion of the second memory access requesting means is awaited, at S111, the transfer of the next block is started for the second memory access, and the process similarly branches to S106.
【0054】また、S106で第2のメモリアクセス要
求手段のブロックの転送を判断すると、S112に分岐
し、上位装置からのデータ転送が全て終了したかを判断
し、全ての転送を終了していない場合にはS113に分
岐する。When the transfer of the block of the second memory access requesting means is judged in S106, the process branches to S112 to judge whether or not the data transfer from the host device is completed, and the transfer is not completed. In that case, the process branches to S113.
【0055】S113では第2のメモリアクセス要求手
段に次のブロックを転送させても良いかを判断する。す
なわち、第1のメモリアクセス要求手段が現在転送して
いるブロックアドレスから、ディスク装置に転送を終了
していないブロックに対して上位装置からのデータをオ
ーバーライトしないかを判断する。オーバーライトされ
ない場合にはS114で次の転送を開始させ、S106
に分岐する。しかし、オーバーライトされる場合には、
S115で第1のメモリアクセス要求手段の転送終了を
待機し、S116で第1のメモリアクセス要求手段に対
して次のブロックの転送を開始させて、同様にS106
に分岐する。In S113, it is determined whether the second block may be transferred to the second memory access requesting means. That is, it is determined from the block address currently transferred by the first memory access request means whether or not the data from the higher-level device is overwritten on the block whose transfer has not been completed to the disk device. If not overwritten, the next transfer is started in S114, and S106 is executed.
Branch to. However, if it is overwritten,
In S115, the completion of the transfer of the first memory access requesting means is waited, and in S116, the first memory access requesting means is made to start the transfer of the next block, and similarly S106.
Branch to.
【0056】そして、S112で上位装置からの転送が
全て終了したことを判断すると、S117からS119
のステップでメモリ87に格納されているデータを全て
ディスク装置に格納する処理を行い、サブルーチンを終
了する。When it is determined in S112 that the transfer from the host device has been completed, S117 to S119
In the step, all the data stored in the memory 87 is stored in the disk device, and the subroutine ends.
【0057】上位装置からデータリードのコマンドが設
定された場合にはCPU88は図11に示したサブルー
チンに分岐する。図11に示したサブルーチンはデータ
の転送元がディスク装置であり、転送先が上位装置であ
ることから第1のメモリアクセス要求手段と第2のメモ
リアクセス要求手段の立場が入れ替わるものの、図10
に示したサブルーチンとほぼ同様の処理を行うものであ
る。When a data read command is set from the host device, the CPU 88 branches to the subroutine shown in FIG. In the subroutine shown in FIG. 11, since the data transfer source is the disk device and the transfer destination is the higher-level device, the positions of the first memory access requesting means and the second memory access requesting means are switched, but FIG.
It performs almost the same processing as the subroutine shown in.
【0058】以上説明したように、本実施例のデータ転
送制御装置は上記の構成とCPU88の処理内容によ
り、ブロック単位の転送に関する管理をCPU88が行
うことから、たとえば回転待ちやヘッドのシークに起因
して、ディスク装置が期待する時間内にデータ転送が終
了しない場合や、上位装置側のトラブルによりデータ転
送に時間がかかる場合にもデータ転送の順序を乱すこと
なく信頼性の高いデータ転送の制御が可能となるととも
に、上記のようなトラブルが無い場合には第1の実施例
と同様の高速なデータ転送が可能となった。As described above, in the data transfer control device of the present embodiment, the CPU 88 manages the transfer in block units according to the above configuration and the processing contents of the CPU 88. Therefore, for example, waiting for rotation or seek of the head is caused. Then, even if the data transfer does not end within the time expected by the disk device, or if the data transfer takes time due to a problem on the host device side, reliable data transfer control without disturbing the order of data transfer In addition to the above, it is possible to perform high-speed data transfer similar to that of the first embodiment when there is no trouble as described above.
【0059】次に、本発明の第3の実施例として大容量
とデータ転送速度の制限を可能とするデータ転送制御装
置に関して説明する。本実施例の装置の構成は第2の実
施例で用いたデータ転送制御装置と同様であるが、CP
U88としてタイマー機能を備えたものを用いた。ま
た、CPU88が実行するプログラムに関してタイマー
機能を用いて1部変更を加えた。Next, as a third embodiment of the present invention, a data transfer control device capable of limiting the large capacity and the data transfer speed will be described. The configuration of the device of this embodiment is similar to that of the data transfer control device used in the second embodiment, but CP
U88 having a timer function was used. Further, a part of the program executed by the CPU 88 was changed by using the timer function.
【0060】変更された部分のフローチャートを図12
に示す。同図(a)は図10のS102、図11のS2
05を変更した処理を示すフローチャートである。S3
01ではS102、S205と同様に第2のメモリアク
セス要求手段に対してブロックアドレスを設定し、転送
動作の開始を行っているが、S302で転送速度を制限
するためのタイマーの動作を開始させている。また、同
図(b)は図10のS111、S114、図11のS2
09、S216、S219を変更した処理を示すフロー
チャートである。S401では次のブロックの転送を開
始する前に、設定されたタイマーの値に関してタイマー
終了を判断し、終了していない場合にはデータ転送速度
が要求される制限を越えていることから、タイマー終了
を待機する。そして、S402で第2のメモリアクセス
要求手段に対してブロックアドレスを設定し、転送動作
の開始を行い、S403でS302と同様に次にブロッ
クの転送速度を制限するためのタイマーの動作を開始さ
せるものである。また、本実施例では上位装置へのデー
タ転送速度を2MByte/secとするよう各ブロッ
クの転送でのタイマーの値を1.024msec相当と
した。FIG. 12 is a flowchart of the changed part.
Shown in. 11A shows S102 of FIG. 10 and S2 of FIG.
It is a flowchart which shows the process which changed 05. S3
In 01, the block address is set to the second memory access requesting means and the transfer operation is started as in S102 and S205. In S302, the operation of the timer for limiting the transfer speed is started. There is. Further, FIG. 10B shows S111 and S114 of FIG. 10 and S2 of FIG.
It is a flowchart which shows the process which changed 09, S216, and S219. In S401, before the transfer of the next block is started, it is judged that the timer has ended with respect to the set value of the timer. If not, the data transfer rate exceeds the required limit. To wait. Then, in S402, the block address is set to the second memory access requesting means, the transfer operation is started, and in S403, similarly to S302, the operation of the timer for limiting the transfer speed of the next block is started. It is a thing. Further, in the present embodiment, the value of the timer for the transfer of each block is set to 1.024 msec so that the data transfer rate to the host device is 2 MByte / sec.
【0061】本実施例において、各ディスク装置81
a、81b、81cからデータを読み出して上位装置に
転送する場合の転送処理の関係を図13に示す。図13
に示すように各ディスク装置81a、81b、81cか
らのブロック単位でのデータの読み出し処理は2.04
8msecで終了しているのに対して、上位装置へは3
ブロック(6144バイト)の転送に3.072mse
c要しており、2MByte/secの転送速度が実現
可能となった。In this embodiment, each disk device 81
FIG. 13 shows the relationship of transfer processing when data is read from a, 81b, and 81c and transferred to the higher-level device. FIG.
As shown in FIG. 2, the process of reading data in block units from each disk device 81a, 81b, 81c is 2.04.
It is completed in 8 msec, but 3 to the host device.
3.072 mse for transfer of block (6144 bytes)
c is required, and a transfer rate of 2 MByte / sec can be realized.
【0062】なお、本実施例ではディスク装置を3台用
いる構成としたが、要求されるデータ転送速度が1台の
ディスク装置より低速の場合にはディスクインターフェ
ース制御手段と第1のメモリアクセス要求手段を複数用
いなくとも、SCSIバス上に複数のディスク装置をデ
ィジーチェーンで接続することにより要求される大容量
も含めて実現することが可能である。また、要求される
データ転送速度が1台のディスク装置より高速の場合に
は、並列動作により要求される速度以上の転送速度を実
現することが可能な最低限の台数分のディスクインター
フェース制御手段と第1のメモリアクセス要求手段を用
いて、タイマー機能により転送速度を制限することが可
能となる。Although three disk devices are used in this embodiment, if the required data transfer speed is lower than that of one disk device, the disk interface control means and the first memory access requesting means are used. Even if a plurality of disk drives are not used, a plurality of disk devices can be connected on the SCSI bus in a daisy chain to achieve the required large capacity. Further, when the required data transfer rate is higher than that of one disk device, the minimum number of disk interface control means capable of realizing a transfer rate higher than the speed required by the parallel operation are provided. The transfer rate can be limited by the timer function using the first memory access requesting means.
【0063】さらに、本実施例ではブロックの容量を2
KByteとしたが、本発明はブロックの容量に限定さ
れるものではなく、ブロックの容量をより小さくするこ
とにより、さらに高精度にデータ転送速度の制限を実現
することが可能となる。Further, in this embodiment, the block capacity is set to 2
Although KByte is used, the present invention is not limited to the capacity of the block, and by making the capacity of the block smaller, the data transfer rate can be more accurately limited.
【0064】[0064]
【発明の効果】以上のように、本発明のデータ転送制御
装置によれば、メモリのアクセスを時分割で行うことに
より各ディスク装置を並列に動作させ、各ディスク装置
が1ブロックの転送処理を行う時間に、ホストインター
フェースではディスク装置の台数分のブロックの転送処
理が可能となることから、ディスク装置の台数に比例し
た高速なデータ転送速度を実現することが可能となる。As described above, according to the data transfer control device of the present invention, memory devices are accessed in a time-division manner so that each disk device operates in parallel, and each disk device performs a transfer process of one block. Since the host interface can perform the transfer processing of blocks corresponding to the number of disk devices at the time of performing, it is possible to realize a high-speed data transfer rate proportional to the number of disk devices.
【0065】また、大容量で高速な転送速度を実現する
とともに、ブロック単位で転送に関する制御を行うこと
から、たとえば回転待ちやヘッドのシークに起因して、
各ディスク装置が期待する時間内にデータ転送が終了し
ない場合や、上位装置側のトラブルによりデータ転送に
時間がかかる場合にもデータ転送の順序を乱すことなく
信頼性の高いデータ転送の制御が可能となる。Further, since a large capacity and a high transfer rate are realized and transfer control is performed in block units, for example, due to rotation wait or head seek,
If data transfer does not end within the time expected by each disk device, or if data transfer takes time due to a problem on the host device side, reliable data transfer control can be performed without disturbing the data transfer order. Becomes
【0066】さらに、タイマー機能を用いて上位装置へ
のデータ転送時間をブロック単位で管理することによ
り、大容量と要求されるデータ転送速度の制限を満足す
ることが可能となった。Furthermore, by managing the data transfer time to the host device in block units using the timer function, it has become possible to satisfy the large capacity and the required data transfer speed limit.
【図1】本発明の第1の実施例のデータ転送制御装置の
ブロック構成図FIG. 1 is a block configuration diagram of a data transfer control device according to a first embodiment of the present invention.
【図2】本発明の第1の実施例のデータ転送制御装置に
おけるメモリからディスク装置にデータを転送する場合
のタイミングチャートFIG. 2 is a timing chart when data is transferred from the memory to the disk device in the data transfer control device according to the first embodiment of the present invention.
【図3】本発明の第1の実施例のデータ転送制御装置に
おけるディスク装置からメモリにデータを格納する場合
のタイミングチャートFIG. 3 is a timing chart when data is stored in the memory from the disk device in the data transfer control device according to the first embodiment of the present invention.
【図4】本発明の第1の実施例のデータ転送制御装置に
おける上位装置からディスク装置へデータを転送する際
のメモリアクセスに関するタイミングチャートFIG. 4 is a timing chart regarding memory access when transferring data from a host device to a disk device in the data transfer control device according to the first embodiment of the present invention.
【図5】本発明の第1の実施例のデータ転送制御装置に
おけるディスク装置から上位装置へデータを転送する際
のメモリアクセスに関するタイミングチャートFIG. 5 is a timing chart regarding memory access when transferring data from a disk device to a host device in the data transfer control device according to the first embodiment of the present invention.
【図6】本発明の第1の実施例のデータ転送制御装置に
おいて上位装置から転送されるデータとディスク装置に
格納されるデータの関係を示した図FIG. 6 is a diagram showing a relationship between data transferred from a host device and data stored in a disk device in the data transfer control device according to the first embodiment of the present invention.
【図7】本発明の第1の実施例のデータ転送制御装置に
おいてディスク装置に関する転送処理と上位装置との転
送処理の関係を示した図FIG. 7 is a diagram showing a relationship between a transfer process regarding a disk device and a transfer process between a host device and the data transfer control device according to the first embodiment of the present invention.
【図8】本発明の第2の実施例のデータ転送制御装置の
ブロック構成図FIG. 8 is a block configuration diagram of a data transfer control device according to a second embodiment of the present invention.
【図9】本発明の第2の実施例のデータ転送制御装置に
おけるメモリアクセス要求手段の内部のブロック構成図FIG. 9 is a block diagram showing the internal structure of a memory access requesting unit in the data transfer control device according to the second embodiment of the present invention.
【図10】本発明の第2の実施例のデータ転送制御装置
における上位装置からディスク装置にデータを格納する
場合のフローチャートFIG. 10 is a flowchart for storing data from a host device in the data transfer control device according to the second embodiment of the present invention to a disk device.
【図11】本発明の第2の実施例のデータ転送制御装置
におけるディスク装置から上位装置にデータを転送する
場合のフローチャートFIG. 11 is a flowchart for transferring data from a disk device to a host device in the data transfer control device according to the second embodiment of the present invention.
【図12】本発明の第3の実施例のデータ転送制御装置
における処理の要部を示すフローチャートFIG. 12 is a flowchart showing a main part of processing in the data transfer control device of the third embodiment of the present invention.
【図13】本発明の第3の実施例のデータ転送制御装置
におけるディスク装置と上位装置との転送処理の関係を
示した図FIG. 13 is a diagram showing a relationship of transfer processing between a disk device and a host device in the data transfer control device according to the third embodiment of the present invention.
【図14】従来技術のデータ転送制御装置の構成を示す
ブロック構成図FIG. 14 is a block diagram showing the configuration of a conventional data transfer control device.
【図15】従来技術のデータ転送制御装置における動作
を示すタイミングチャートFIG. 15 is a timing chart showing the operation of the conventional data transfer control device.
【符号の説明】 11a、11b、11c、81a、81b、81c
ディスク装置 12a、12b、12c、82a、82b、82c
ディスクインターフェース制御手段 13a、13b、13c、83a、83b、83c
第1のメモリアクセス要求手段 14、84 ホストインターフェース制御手段 15、85 第2のメモリアクセス要求手段 16、86 メモリアクセス制御手段 17、87 メモリ 18、88 CPU[Explanation of Codes] 11a, 11b, 11c, 81a, 81b, 81c
Disk device 12a, 12b, 12c, 82a, 82b, 82c
Disk interface control means 13a, 13b, 13c, 83a, 83b, 83c
First memory access requesting means 14, 84 Host interface control means 15, 85 Second memory access requesting means 16, 86 Memory access control means 17, 87 Memory 18, 88 CPU
Claims (3)
り、 複数のディスク装置と、 前記複数のディスク装置と上位装置との間で転送すべき
データを格納するメモリと、 前記複数のディスク装置とのインターフェースの制御を
行い、データ転送要求信号を出力するディスクインター
フェース制御手段と、 前記ディスクインターフェース制御手段から出力された
データ転送要求信号に応じて前記メモリに対するアドレ
ス信号とアクセス要求信号を出力する第1のメモリアク
セス要求手段と、 上位装置とのインターフェースの制御を行い、データ転
送要求信号を出力するホストインターフェース制御手段
と、 前記ホストインターフェース制御手段から出力されたデ
ータ転送要求信号に応じて前記メモリに対するアドレス
信号とアクセス要求信号を出力する第2のメモリアクセ
ス要求手段と、 前記第1のメモリアクセス要求手段と前記第2のメモリ
アクセス要求手段からのアクセス要求信号とアドレス信
号を入力し、前記メモリと前記第1のメモリアクセス要
求手段もしくは前記第2のメモリアクセス要求手段との
間のデータの入出力を制御するとともに、同一時に複数
のアクセス要求が存在する場合には設定された優先順位
に基づいて前記第1のメモリアクセス要求手段もしくは
前記第2のメモリアクセス要求手段のいずれかを選択す
るメモリアクセス制御手段を備えたことを特徴とするデ
ータ転送制御装置。1. A plurality of disk devices for transferring data with a host device, a memory for storing data to be transferred between the plurality of disk devices and the host device, and the plurality of disk devices. A disk interface control unit for controlling an interface with the memory unit and outputting a data transfer request signal; and outputting an address signal and an access request signal for the memory according to the data transfer request signal output from the disk interface control unit. No. 1 memory access requesting unit and a host interface controlling unit for controlling an interface with a higher-level device and outputting a data transfer requesting signal, and a memory for the memory according to the data transfer requesting signal output from the host interface controlling unit. Address signal and access request signal Second memory access requesting means for outputting the memory access requesting means and the second memory access requesting means for inputting access request signals and address signals from the second memory access requesting means The input / output of data to / from the requesting means or the second memory access requesting means is controlled, and when there are a plurality of access requests at the same time, the first memory access is performed based on the set priority. A data transfer control device comprising memory access control means for selecting either the request means or the second memory access request means.
分割し、 第1のメモリアクセス要求手段と第2のメモリアクセス
要求手段が、データの転送を開始するデータ転送開始信
号を入力し、前記ブロックを選択するブロックアドレス
信号をもとにブロック内のデータ転送を行い、ブロック
内のデータ転送終了を示すデータ転送終了信号を出力す
るように構成され、 前記ブロックを選択するブロックアドレス信号を生成
し、前記第1のメモリアクセス要求手段と第2のメモリ
アクセス要求手段のそれぞれに前記データ転送開始信号
を出力し、前記第1のメモリアクセス要求手段と第2の
メモリアクセス要求手段から前記データ転送終了信号を
入力し、前記第1のメモリアクセス要求手段と第2のメ
モリアクセス要求手段のそれぞれがデータ転送を行うよ
うに転送ブロックの管理を行う手段を設けたことを特徴
とする請求項1記載のデータ転送制御装置。2. An address space of a memory is divided into blocks, and the first memory access requesting means and the second memory access requesting means input a data transfer start signal for starting data transfer, Data transfer within a block is performed based on a block address signal to be selected, and a data transfer end signal indicating the end of data transfer within the block is output. A block address signal for selecting the block is generated, The data transfer start signal is output to each of the first memory access requesting unit and the second memory access requesting unit, and the data transfer end signal is output from the first memory access requesting unit and the second memory access requesting unit. Input, and each of the first memory access requesting means and the second memory access requesting means transfers data. The data transfer control device according to claim 1, characterized in that a means for managing the transfer block to perform.
機能を備え、第2のアクセス要求手段のブロック内のデ
ータ転送があらかじめ設定したタイマー値以内の時間に
終了した場合には、前記タイマー値に達した時点で、次
に転送すべきブロックを示すブロックアドレスを出力す
るとともに、前記第2のメモリアクセス要求手段にデー
タ転送開始信号を出力するように構成されていることを
特徴とする請求項2記載のデータ転送制御装置。3. The means for managing the transfer block has a timer function, and when the data transfer in the block of the second access requesting means is completed within a preset timer value, the timer value is reached. 3. At that time, a block address indicating a block to be transferred next is output, and a data transfer start signal is output to the second memory access requesting means. Data transfer control device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5334349A JPH07200180A (en) | 1993-12-28 | 1993-12-28 | Data transfer controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5334349A JPH07200180A (en) | 1993-12-28 | 1993-12-28 | Data transfer controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07200180A true JPH07200180A (en) | 1995-08-04 |
Family
ID=18276378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5334349A Pending JPH07200180A (en) | 1993-12-28 | 1993-12-28 | Data transfer controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07200180A (en) |
-
1993
- 1993-12-28 JP JP5334349A patent/JPH07200180A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2868141B2 (en) | Disk array device | |
| JPH0793219A (en) | Information processor | |
| JPH05173932A (en) | Data transfer device | |
| US5996045A (en) | IDE disk drive arrangement that combines the capacity of a master drive and slave drive while hiding the presence of slave drive to a host computer | |
| JP2770901B2 (en) | Disk control method | |
| JP2523715B2 (en) | Magnetic disk drive | |
| JPH07200180A (en) | Data transfer controller | |
| EP0587370A1 (en) | Method and apparatus for software sharing between multiple controllers | |
| JPH0628261A (en) | Data transfer method and device | |
| EP1517246A1 (en) | A method for transferring data and a data transfer interface | |
| JP2866376B2 (en) | Disk array device | |
| JP2963696B2 (en) | Data transfer control system | |
| JPH1185673A (en) | Method and apparatus for controlling shared bus | |
| JPH0567022A (en) | High speed data access system | |
| JP2994917B2 (en) | Storage system | |
| JP2599373B2 (en) | CDROM high-speed reading device | |
| JPS63213018A (en) | external storage controller | |
| JPH05334012A (en) | Large capacity disk controller | |
| JPH08166919A (en) | I / O device sharing system between multiple systems with different protocols | |
| JPH1040213A (en) | DMA data transfer method for information processing device | |
| JPH0143332B2 (en) | ||
| JP2581144B2 (en) | Bus control device | |
| JPH02239348A (en) | Disk cache memory access method | |
| JP2001209577A (en) | Information recording / reproducing device | |
| JP2000330728A (en) | Disk array device, high speed communicating method used for the device and recording medium recording its control program |