JPH0485645A - Data transmission speed switching system - Google Patents

Data transmission speed switching system

Info

Publication number
JPH0485645A
JPH0485645A JP20225190A JP20225190A JPH0485645A JP H0485645 A JPH0485645 A JP H0485645A JP 20225190 A JP20225190 A JP 20225190A JP 20225190 A JP20225190 A JP 20225190A JP H0485645 A JPH0485645 A JP H0485645A
Authority
JP
Japan
Prior art keywords
data
buffer
amount
transfer
speed
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
Application number
JP20225190A
Other languages
Japanese (ja)
Inventor
Toshiyuki Kasada
笠田 利行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20225190A priority Critical patent/JPH0485645A/en
Publication of JPH0485645A publication Critical patent/JPH0485645A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent generating of the state of buffer full or buffer empty during data transmission by switching and controlling the data transmission speed with a channel device so as to be within the prescribed range based on the amount of data of the data buffer by command unit. CONSTITUTION:A data transmission speed switching means 18 is provided to switch the data transmission speed with an upper channel device to plural steps. At the time of the data transmission from the upper channel device 10 to an external storage device 14, as the amount of buffer data is increased, the transmission speed is switched to a low-speed side. At the time of data transmission from the external storage device 14 to the upper channel device 10, as the amount of the data buffer is increased, the transmission speed is switched to a high-speed side. Thus, the fluctuation of the amount of buffer data during transmission is restrained within the prescribed range, and the interruption of the transmission caused by the buffer full or the buffer empty is prevented.

Description

【発明の詳細な説明】[Detailed description of the invention] 【概要】【overview】

ホストチャネル装置からの転送データを圧縮してデータ
バッファに格納した後に磁気テープ記憶装置等の外部記
憶装置に転送し、一方、外部記憶装置からの転送データ
はデータバッファに格納した後に伸長してホストチャネ
ル装置に転送するデータ転送制御装置の転送速度切替方
式に関し、バッファ容量を増加せずに連続データ転送を
継続することを目的とし、 上位チャネル装置から外部記憶装置へのデータ転送の際
にはバッファデータ量が多くなるほど低速側の転送速度
に切替え、逆に外部記憶装置から上位チャネル装置への
データ転送の際にはバッファデータ量が多くなるほど高
速側の転送速度に切替え、転送中のバッファデータ量の
変動を所定範囲に抑えてバッファフル又はバツファユン
ブテイによる転送中断を回避するように構成する。
The data transferred from the host channel device is compressed and stored in a data buffer before being transferred to an external storage device such as a magnetic tape storage device. On the other hand, the data transferred from the external storage device is stored in the data buffer and then decompressed and sent to the host. Regarding the transfer speed switching method of the data transfer control device that transfers data to the channel device, the purpose is to continue continuous data transfer without increasing the buffer capacity. As the amount of data increases, the transfer speed is switched to a lower speed. Conversely, when transferring data from an external storage device to an upper channel device, as the amount of buffered data increases, the transfer speed is switched to a higher speed. The configuration is such that fluctuations in the data are suppressed within a predetermined range to avoid interruption of transfer due to buffer full or buffer fullness.

【産業上の利用分野】[Industrial application field]

本発明は、ホスト側チャネル装置き磁気テープ装置等の
外部記憶装置との間のデータ転送につき、ホスト側から
の転送デー・夕を圧縮した後にデータバッファを介し5
て転送し、また外部記憶装置からの転送データはデータ
バッファに格納した後に伸長し7て転送する場合のデー
タ転送速度切替方式に関する。 ホスト側チャネル装置と磁気テープ装置に設りた磁気テ
ープ制御装置によるデータ転送にあ1)では、チャネル
装置からの転送データ(ライトデータ)は所定の信号形
式に圧縮し、た後にデータバッファを介L2て転送j7
、−力、磁気う“−ブ装置からの転送データ(リードデ
ータ)はバッファで受〕jた後に伸長[7てチャネル装
置側に転送1.”Cいる。 し、か[,2、データを圧縮又は伸長j9、た後に転送
d−ることから、受信データ量と送信デ・・少量との間
に差を生シ:、このZを吸収するためにデ・−タバッフ
ァを設i歩でいるが、圧縮及び伸長ににるγ・−少量i
t %の内容により変化4−るため、転送中1.ソくツ
ファ・フル或いはバッファ・ゴンブデーイを生し2、デ
ータ転送が中断や磁気テープ装置でのストリミング・ス
トップ(連続処理の停止)を起こす。 この問題はバッフr容量の増加で対応できるが、容量を
増加するとエラー発生時のリカバリ処理のために使用す
るホストのメ(り領域の増加を招き、従って、データバ
ッファの容量を増加させず(,8連続転送できる方式が
望まれる。
The present invention compresses the data transferred from the host side and then transfers the data to and from an external storage device such as a magnetic tape device with a channel device on the host side.
The present invention relates to a data transfer speed switching system in which transfer data from an external storage device is stored in a data buffer and then decompressed and transferred. In data transfer between the host-side channel device and the magnetic tape controller installed in the magnetic tape device (1), the transfer data (write data) from the channel device is compressed into a predetermined signal format, and then transferred via the data buffer. L2 transfer j7
After receiving the transfer data (read data) from the magnetic wave device in the buffer, it is decompressed and transferred to the channel device side. However, since the data is compressed or expanded (j9) and then transferred (d), there is a difference between the amount of received data and the small amount of data sent.・I have set up a data buffer, but there is a small amount of γ required for compression and decompression.
During transfer, 1. This causes a buffer full or buffer block 2, which causes data transfer to be interrupted and the magnetic tape device to stop streaming (stopping continuous processing). This problem can be solved by increasing the buffer r capacity, but increasing the capacity will increase the memory space of the host used for recovery processing in the event of an error. Therefore, without increasing the data buffer capacity, , 8 continuous transfer is desired.

【従来の技術] 従来、第5図に示すホスト側の=fヤネル装置10と外
部記憶装置としての磁気デーブ装置14の間に設置jら
れた磁気テープ制御装置100によるデータ転送制御に
あっては、チャネル装rR,ioからのコマンドを受1
.1またコマンド制御部30による制御のもとに、チャ
ネル装置10から磁気テープ装置1−4に対するライト
データに・ついては磁気テ−プ制御装置100内のデー
タ転送制御部32(ご続いて設けたデータ圧縮伸長回路
22で所定の信号形式に圧縮しまた後にデータバッファ
16を介し2て転送している。また磁気テープ装置14
からのリードデータについでは、−旦、磁気テープ制御
装置100のデータバッファ16に格納し、た後にデー
タ圧縮伸長回路22で伸長し、データ転送制御部32に
よりチャネル装置10に転送【、ている。 このようなデータの圧縮或いは伸長を伴うデータ転送に
あっては、例えばライトデータの圧縮転送では、受信デ
ータ量に対し圧縮により送信データ量が低減し、またリ
ードデータの伸長転送では、受信データ量に対し伸長に
より送信データ量が増加し、この送受信データ量の差を
吸収できるように磁気テープ制御部fit 1.00内
にデータバッファ16を設け、データ転送を中断し、な
いようにし5゛Cいる。 【発明が解決しようとする課題] しかしながら、圧縮或いは伸長による受信i!・−夕量
と送信データ量との差が大きくなると、i′−タバッフ
ァ」6では吸収し切れずにバッフト・フル或いはバッフ
ァ・エンブーゲイ状態が発生L、チャネル装置1−0と
のデータ転送の一時中断や磁気テープ装置14のストリ
ーミング・ストップを起こし、データ転送に時間がかか
って(7ま・う。 この問題を解決するためにはデータバッファI6を大容
量化すればよいが、データ書込時のJ−ラー発生に対す
るリカバリ処理に問題を生ずる。即ち、ホスト側には書
込エラー発生時のリカバリ処理のためデータバッファ容
量分のメモリ領域を確保してデータバッファ1.6内の
未書込みデータを該メモリ領域へ吸い上げ、エラー発生
時のリカバリ処理で再度データ転送できるようにしでい
る。 このためデータバッファの大容量化に伴ってホスト側の
リカバリ用メモリ領域が増大し、リカバリ処理にも時間
がかかる間独があった。 本発明は、このような従来の
問題点に鑑みでなされたもので、バッファ容量を増加せ
ずに連続データ転送を継続できるデータ転送速度切替方
式を提供することを目的とする。 【課題を解決するための手段】 第1図は本発明の原理説明図である。 まず本発明は、上位チャネル装置10からの転送データ
を圧縮してデータバッファ16に格納しまた後に外部記
憶装置14、例えば磁気テープ装置に転送し1、−力、
外部記憶装置1−4からの転送データをデータバッファ
1Gに格納した後に伸長して」−位ヂャネル装置10に
転送するデータ転送制御装置を対象としたデータ転送速
度切替方式を対象とする。 即ち、本発明のデータ転送速度切替方式にあっては、上
位チャネル装置10との間のデータ転送速度を複数段階
に切替えるデータ転送速度切替1段1,8と、上位チャ
ネル装置10から外部記憶装置14へのデータ転送の際
にはバッフlデータ量が多くなるほど低速側の転送速度
に切替え、外部記憶装置14から上位チャネル装置10
・\のr・−夕転送の際にはベツファアー・夕景が多く
なるほど高速側の転送速度に切替える制御手段]8とを
設けたことを特徴とする。 例えば制御手段18は、データバッファ量に応じてデー
タ転送速度を低速、中速度、高速の3段階に切替える。
[Prior Art] Conventionally, in data transfer control by a magnetic tape control device 100 installed between a =f Yarnel device 10 on the host side and a magnetic tape device 14 as an external storage device shown in FIG. , receives commands from channel device rR,io1
.. 1. Also, under the control of the command control unit 30, write data from the channel device 10 to the magnetic tape device 1-4 is transferred to the data transfer control unit 32 in the magnetic tape control device 100 (sequentially provided data The compression/expansion circuit 22 compresses the signal into a predetermined signal format, and later transfers the signal via the data buffer 16. Also, the magnetic tape device 14
The read data from is first stored in the data buffer 16 of the magnetic tape control device 100, then decompressed by the data compression/decompression circuit 22, and transferred to the channel device 10 by the data transfer control section 32. In data transfer that involves compression or expansion of data, for example, in compressed transfer of write data, the amount of transmitted data is reduced by compression compared to the amount of received data, and in decompressed transfer of read data, the amount of received data is However, the amount of transmitted data increases due to expansion, and in order to absorb this difference in the amount of transmitted and received data, a data buffer 16 is provided in the magnetic tape control unit FIT 1.00 to interrupt data transfer and prevent it from occurring. There is. [Problems to be Solved by the Invention] However, the received i! - When the difference between the data amount and the amount of data to be transmitted becomes large, the data cannot be absorbed completely in the i'-ta buffer 6, and a buffer full or buffer emboggy state occurs. Interruption or streaming stop of the magnetic tape device 14 may occur, and data transfer may take a long time (7 minutes).In order to solve this problem, it is possible to increase the capacity of the data buffer I6, but This causes a problem in the recovery process when a write error occurs.In other words, the host side reserves a memory area equal to the data buffer capacity for the recovery process when a write error occurs, and the unwritten data in the data buffer 1.6 is saved. data is transferred to the corresponding memory area so that the data can be transferred again during recovery processing when an error occurs.As a result, as the capacity of the data buffer increases, the memory area for recovery on the host side increases, and the recovery processing also takes longer. The present invention was made in view of such conventional problems, and aims to provide a data transfer rate switching method that allows continuous data transfer without increasing the buffer capacity. [Means for Solving the Problems] Fig. 1 is a diagram explaining the principle of the present invention. First, the present invention compresses transfer data from an upper channel device 10 and stores it in a data buffer 16. Afterwards, the data is transferred to an external storage device 14, for example, a magnetic tape device.
The present invention is directed to a data transfer rate switching system for a data transfer control device that stores transfer data from an external storage device 1-4 in a data buffer 1G, decompresses it, and transfers it to a channel device 10. That is, in the data transfer rate switching method of the present invention, there is a data transfer rate switching stage 1, 8 that switches the data transfer rate between the upper channel device 10 and the external storage device in a plurality of stages, and When transferring data to the external storage device 14, as the amount of data in the buffer increases, the transfer speed is switched to a lower speed side.
・\r・-Control means for switching to a higher transfer speed as the number of sunset scenes increases during evening transfer] 8. For example, the control means 18 switches the data transfer speed to three levels: low speed, medium speed, and high speed, depending on the amount of data buffer.

【作用】[Effect]

このような構成を備えた本発明のデータ転送速度切替方
式によれば、コマンド単位にデータバッファのデータ量
に基づいてチャネル装置との間のデータ転送速度を所定
の範囲内に収まるように切替制御し、データバッファの
容量を増加することなく、データ転送の途中でバッファ
フル或いはバッファ・エンプティ状態を発生せず、チャ
ネル装置とのデータ転送の中断させたり磁気テープ装置
のストリーミング・ストップさせることを確実に防止で
きる。
According to the data transfer rate switching method of the present invention having such a configuration, switching control is performed for each command based on the amount of data in the data buffer so that the data transfer rate with the channel device is within a predetermined range. without increasing the data buffer capacity, ensuring that a buffer full or empty state does not occur during data transfer, interrupting data transfer with a channel device, or stopping streaming of a magnetic tape device. can be prevented.

【実施例】【Example】

第2図は本発明の一実施例を示した実施例構成図である
。 第2図におい゛乙1−0はホスト側のチャネル装置、1
4は外部記憶装置としての磁気テープ装置であり、チャ
ネル装置10と磁気テープ装置14との間には両者間で
データを転送するためのデータ転送制御装置として磁気
テープ制御装置100を設けている。 磁気テープ制御装置100にはデータ転送速度切替部1
8が設けられ、この実施例にあっては、チャネル装置1
0との間のデータ転送速度を1゜5 M B / Sと
する低速のデータ転送制御部341、チャネル装置10
との間のデータ転送速度を3、OMB/Sとする中速の
データ転送制御部34−2及びチャネル装mioとの間
のデータ転送速度を4.5MB/Sとする高速のデータ
転送制御部34−3の3つを設けており、これらデータ
転送制御部34−1〜34−3はデータ転送速度切替回
路36により切替選択される。データ転送速度切替回路
36に続いてはデータ圧縮伸長回路22が設けられ、チ
ャネル装置10から磁気テープ装置14に対するライト
データを所定の信号形式に圧縮し、逆に磁気テープ装置
14からチャネル装置10に対するリードデータを伸長
する。データ圧縮伸長回路22に続いてはデータバッフ
ァ16が設けられ、データバッファ]−6と磁気テープ
装置14との間でライトデータまたはリードデータのや
り取りを行うようにしている。これら磁気テープ制御装
置100に設けられたデータ転送系の各回路はコマンド
制御部20による制御を受ける。コマンド制御部20に
対してはチャネル装置10より適宜のアクセスコマンド
が与えられ、このアクセスコマンドを解読して磁気テー
プ装置14に制御信号を出力する。また、コマンド制御
部20はライトデータの転送時にはデータ圧縮伸長回路
22にデータ圧縮動作を指示し、一方、す−ドデータ転
送時にはデータ伸長動作を指示する。 更にコマンド制御部20はデータバッファ16のデータ
量に応じてチャネル装置10との間のデータ転送速度を
切替制御する制御手段としての機能を有する。 この実施例にあっては、第3図(a)に示すように、デ
ータバッファ16にロワーレベルとアッパレベルの2つ
のデータ量の閾値レベルを設定しており、データバッフ
ァ16に格納された斜線部で示すデータ量とロワーレベ
ル及びアッパレベルを比較し、データ量がロワーレベル
及びアッパレベルに達したか否かを示ずロワーレベル検
出信号及びアッパレベル検出信号をコマンド制御部20
に5えている。 このように、データバッファ16に設定したロワーレベ
ル及びアッパレベルに対しコマンド制御部20は第3図
(b)に示すデータ転送速度の切替えを行う。 即ち、チャネル装置10からのデータを圧縮して磁気テ
ープ装@14に転送するライト時にあっては、データバ
ッファ16のデータ量がロワーレベル未満であれば最も
高い4.5MB/Sの転送速度に切替え、ロワーレベル
以トでアッパレベル未満のときは中間の3.0MB/S
のデータ転送速度に切替え、更にアッパレベル以上では
最も遅い]、 、  5 M B / Sのデータ転送
速度に切替える。 これに対し磁気テープ装置14からのリードデータを伸
長してチャネル装置1−0に転送するり一ド時にあって
は、ロワーレベル未満のときは最も遅い1.5MB/S
のデータ転送速度とし、ロワーレベル以上でアッパレベ
ル未満のときには中間の3.QMB/Sのデータ転送速
度とし、更にアッパレベル以」二となったときには最も
速い4.5MB/Sのデータ転送速度に切替える。 この第3図に示したデータバッファ16のデータ量と転
送速度の対応関係は、第4図に示す転送速度切替フ[]
−をコマンド制御部20が実行することにより実現され
る。 次に、第2図の実施例の動作を説明する。 今、チャネル装置10より磁気テープ制御装置100の
コマンド制御部20にライトコマンドが発行されたとす
ると、コマンド制御部20はコマンド解析によりライト
動作のための制御信号を磁気テープ装置14に出力し、
同時にデータ圧縮伸長回路20をデータ圧縮動作状態と
する。データバッファ16がエンプティとなっている転
送開始時にあっては、コマンド制御部20はデータ転送
速度切替回路36に例えばデータ転送速度3.0MB/
Sへの切替えを指令し、データ転送制御部34−2を使
用したライトデータの転送を開始する。チャネル装置1
10からデータ転送制御部34−2に3.0MB/Sの
速度で転送されたライトデータはデータ転送速度切替回
路36を介してデータ圧縮伸長回路22で圧縮され、デ
ータバッファ16に順次格納される。コマンド制御部2
0はデータバッファ16に対するデータ格納量が例えば
ロワーレベルに達したか否か監視しており、データ量が
ロワーレベルに達すると磁気テープ装置14に対するデ
ータバッファ16からのライトデータの転送を開始する
。 このようなライトデータの転送中に、例えばデータバッ
ファ16からの送り出しデータ量に対しデータ圧縮伸長
回路22による圧縮データの格納量が多くなった場合に
は、データバッファ1.6内のデータ量が徐々に増加し
、アッパレベルを越えるようになる。データバッファ1
6のデータ量がアッパレベルを越えると、コマンド制御
部20はデータ転送速度切替回路36に、より低速のデ
ータ転送速度1..5MB/Sへの切替えを指示し7、
データ転送制御部34−1が選択され、チャネル装置1
0からのデータ転送速度はそれまでの3゜0MB/Sか
ら半分の1.5MB/Sに低下jる。 このため、データ圧縮伸長回路22からデータバッファ
16に入力するデータ量が減少し、アッパレベルを越え
たデ〜り量は徐々に減少してアッパレベルとロワーレベ
ルの間に収まるようになる。 逆にデータバッファ16からの転送データ量に対しデー
タ圧縮伸長回路22からのデータ量が少なくなった場合
には、データバッフアJ6内のデータ量は徐々に減少し
、ロワーレベルを下回るようになる。データ量がロワー
レベルを下回るとコマンド制御部20は、それ以上のデ
ータ量の減少を防ぐためにデータ転送速度切替回路36
に対し、より高速のデータ転送速度4゜5 M B /
 Sへの切替えを指示し2、データ転送制御部34−3
が有効となって、減少したデータ量はロワーレベルとア
ッパレベルの間に回復するようになる。 このようなコマンド制御部20によるデータバッファ1
6のデータ量に基づいたチャネル装置10との間のデー
タ転送速度の切替えは、コマンド単位にデータバッファ
16のデータ量に基づいて転送速度を切替えるようにす
る。 このため、ライトデータの転送時にあっては、データバ
ッファ]−6のデータ量はロワーレベルとアッパレベル
の間に収まり、データ転送中にバッファ・フルとなって
チャネル装置10からのデータ転送が中断したり、バッ
ファ・エンプティとなって磁気テープ装置14がストリ
ーミング・ストップを起こしてしまうことを確実に防止
できる。 一方、リード時にあっては、ライト時とは逆にデータバ
ッファ16のデータ量が多くなる程、チャネル装置」0
に対するデータ転送速度をより高い速度に切替える。即
ち、データ転送速度が中間の3.OMB/Sの状態でデ
ータバッファ16のデータ量が減少してロワーレベル未
満となったときには1.!5MB/Sのデータ転送速度
をもつデータ転送制御部14−1に切替えてデータバッ
ファ16のデータ量の減少を抑える。逆に、データバッ
ファ16のデータ量が増加してアッパレベルを越えた場
合には3.0MB/Sから、より高いデータ転送速度4
.5 M B / Sに切替え、データバッファ1,6
のデータ量の増加を抑え込む。このため、リード時にあ
ってもデータバッファ1Gのデータ量はロワーレベルと
アッパレベルの範囲に収められ、データバッファ16の
バッファ・フルあるいはバッファ・エンプティの発生を
防止し5、チャネル装置10との間のデータ転送の中断
あるいは磁気テープ装置1−4のストリーミング・スト
ップを防止できる。 尚、上記の実施例はチャネル装置」0との間のデータ転
送速度を低速、中速、高速の3段階に切替える場合を例
にとるものであったが必要に応じて2段階あるいは4段
階以上の適宜の切替段数としてもよい。勿論、3段階と
した上記の実施例における転送速度の数値は一例を示し
たもので、これに限定されるものではない。 [発明の効果コ 以上説明してきたように本発明によれば、データバッフ
ァの容量を増加させることなく、データバッファのデー
タ量に応じたデータ転送速度の切替えで、データ転送中
のバッファ・フルあるいはバッファ・エンプティによる
データ転送の中断あるいは外部記憶装置として磁気テー
プ装置を使用した際のストリーミング・ストップの発生
を未然に防止でき、データ転送効率を向上することがで
きる。
FIG. 2 is a block diagram showing an embodiment of the present invention. In Figure 2, Otsu 1-0 is the channel device on the host side, 1
4 is a magnetic tape device as an external storage device, and a magnetic tape control device 100 is provided between the channel device 10 and the magnetic tape device 14 as a data transfer control device for transferring data between the two. The magnetic tape control device 100 includes a data transfer rate switching unit 1.
8 is provided, and in this embodiment, the channel device 1
A low-speed data transfer control unit 341 and a channel device 10 with a data transfer rate of 1°5 MB/S between
A medium-speed data transfer control unit 34-2 that has a data transfer rate of 3.0MB/S with the channel device and a high-speed data transfer control unit that has a data transfer rate of 4.5MB/S with the channel device mio. 34-3 are provided, and these data transfer control units 34-1 to 34-3 are switched and selected by a data transfer rate switching circuit 36. A data compression/expansion circuit 22 is provided following the data transfer rate switching circuit 36, which compresses write data from the channel device 10 to the magnetic tape device 14 into a predetermined signal format, and conversely compresses write data from the magnetic tape device 14 to the channel device 10. Extend read data. A data buffer 16 is provided following the data compression/expansion circuit 22, and write data or read data is exchanged between the data buffer 1-6 and the magnetic tape device 14. Each circuit of the data transfer system provided in the magnetic tape control device 100 is controlled by the command control section 20. An appropriate access command is given to the command control section 20 from the channel device 10, and the command control section 20 decodes this access command and outputs a control signal to the magnetic tape device 14. Further, the command control section 20 instructs the data compression/expansion circuit 22 to perform a data compression operation when transferring write data, and on the other hand, instructs a data expansion operation when transferring write data. Furthermore, the command control section 20 has a function as a control means for switching and controlling the data transfer rate with the channel device 10 according to the amount of data in the data buffer 16. In this embodiment, as shown in FIG. 3(a), the data buffer 16 is set with two data amount threshold levels, a lower level and an upper level, and the diagonal lines stored in the data buffer 16 are The command control unit 20 compares the data amount indicated by the lower level and the upper level and sends the lower level detection signal and the upper level detection signal without indicating whether the data amount has reached the lower level or upper level.
5. In this way, the command control unit 20 switches the data transfer speed as shown in FIG. 3(b) for the lower level and upper level set in the data buffer 16. That is, at the time of writing, in which data from the channel device 10 is compressed and transferred to the magnetic tape device @14, if the amount of data in the data buffer 16 is less than the lower level, the transfer rate is the highest, 4.5 MB/S. Switching, if lower level or higher and lower than upper level, middle 3.0MB/S
, and further switches to a data transfer rate of 5 MB/S, which is the slowest for upper level and above. On the other hand, when read data from the magnetic tape device 14 is decompressed and transferred to the channel device 1-0, the slowest speed is 1.5MB/S when the data is below the lower level.
When the data transfer rate is higher than the lower level and lower than the upper level, the data transfer rate is set to 3. The data transfer rate is set to QMB/S, and when the level is lower than the upper level, the data transfer rate is switched to the fastest data transfer rate of 4.5MB/S. The correspondence between the amount of data in the data buffer 16 and the transfer speed shown in FIG.
- is realized by the command control unit 20 executing. Next, the operation of the embodiment shown in FIG. 2 will be explained. Now, if a write command is issued from the channel device 10 to the command control unit 20 of the magnetic tape control device 100, the command control unit 20 outputs a control signal for a write operation to the magnetic tape device 14 by analyzing the command.
At the same time, the data compression/expansion circuit 20 is brought into a data compression operating state. At the start of transfer when the data buffer 16 is empty, the command control unit 20 sets the data transfer rate switching circuit 36 to, for example, a data transfer rate of 3.0 MB/
A command is given to switch to S, and the transfer of write data using the data transfer control unit 34-2 is started. Channel device 1
The write data transferred from the data transfer controller 10 to the data transfer controller 34-2 at a rate of 3.0 MB/S is compressed by the data compression/expansion circuit 22 via the data transfer rate switching circuit 36, and sequentially stored in the data buffer 16. . Command control unit 2
0 monitors whether the amount of data stored in the data buffer 16 has reached, for example, a lower level, and when the amount of data reaches the lower level, starts transferring write data from the data buffer 16 to the magnetic tape device 14. During such write data transfer, for example, if the amount of compressed data stored by the data compression/expansion circuit 22 becomes larger than the amount of data sent out from the data buffer 16, the amount of data in the data buffer 1.6 becomes larger. Gradually increases to exceed upper level. data buffer 1
When the data amount of 1.6 exceeds the upper level, the command control unit 20 causes the data transfer rate switching circuit 36 to switch to a lower data transfer rate of 1.6. .. Instruct to switch to 5MB/S 7,
The data transfer control unit 34-1 is selected, and the channel device 1
The data transfer speed from 0 to 0 has been reduced to 1.5 MB/S, which is half of the previous 3.0 MB/S. Therefore, the amount of data input from the data compression/expansion circuit 22 to the data buffer 16 decreases, and the amount of data exceeding the upper level gradually decreases to fall between the upper level and the lower level. Conversely, when the amount of data from the data compression/expansion circuit 22 becomes smaller than the amount of data transferred from the data buffer 16, the amount of data in the data buffer J6 gradually decreases and becomes below the lower level. When the amount of data falls below the lower level, the command control unit 20 controls the data transfer rate switching circuit 36 to prevent the amount of data from decreasing further.
Faster data transfer rate of 4°5 MB/
2, and the data transfer control unit 34-3
becomes effective, and the reduced data amount will be recovered between the lower and upper levels. The data buffer 1 by such a command control unit 20
The switching of the data transfer rate with the channel device 10 based on the data amount of 6 is performed by switching the transfer rate based on the data amount of the data buffer 16 for each command. Therefore, when transferring write data, the amount of data in the data buffer ]-6 falls between the lower level and the upper level, and the buffer becomes full during data transfer, causing data transfer from the channel device 10 to be interrupted. It is possible to reliably prevent the magnetic tape device 14 from causing a streaming stop due to the buffer becoming empty. On the other hand, when reading, contrary to when writing, the larger the amount of data in the data buffer 16, the more the channel device "0"
Switch the data transfer rate to a higher rate. In other words, 3. with an intermediate data transfer rate. When the amount of data in the data buffer 16 decreases to below the lower level in the OMB/S state, 1. ! Switching to the data transfer control unit 14-1 having a data transfer rate of 5 MB/S suppresses a decrease in the amount of data in the data buffer 16. Conversely, when the amount of data in the data buffer 16 increases and exceeds the upper level, the data transfer rate increases from 3.0 MB/S to 4.
.. Switch to 5 MB/S, data buffer 1, 6
control the increase in the amount of data. Therefore, even during reading, the amount of data in the data buffer 1G is kept within the range between the lower level and the upper level, preventing the data buffer 16 from becoming full or empty. Interruption of data transfer or streaming stop of the magnetic tape device 1-4 can be prevented. The above embodiment takes as an example the case where the data transfer speed with the channel device "0" is switched to three stages: low speed, medium speed, and high speed, but it can be changed to two stages or four stages or more as necessary. The number of switching stages may be set as appropriate. Of course, the numerical values of the transfer speed in the three-stage embodiment described above are merely an example, and the present invention is not limited thereto. [Effects of the Invention] As explained above, according to the present invention, the data transfer rate can be changed according to the amount of data in the data buffer without increasing the capacity of the data buffer, so that the buffer is full or not during data transfer. Interruption of data transfer due to empty buffers or streaming stop when using a magnetic tape device as an external storage device can be prevented, and data transfer efficiency can be improved.

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

第1図は本発明の原理説明図: 第2図は本発明の実施例構成図; 第3図は本発明のバッファデータ量と転送速度の対応図
; 第4図は本発明の転送速度切替フロー図;第5図は従来
方式の構成図である。 図中、 14 : 16 : 1.8: 20 。 22 : 36 : 上位チャネル装置(チャネル装置) 外部記憶装置(磁気テープ装置) データバッファ 転送速度切替手段 制御手段(コマンド制御部) データ圧縮伸長回路 1〜34−3:データ転送制御部 データ転送速度切替回路
Fig. 1 is a diagram explaining the principle of the present invention; Fig. 2 is a configuration diagram of an embodiment of the present invention; Fig. 3 is a correspondence diagram of the buffer data amount and transfer rate of the present invention; Fig. 4 is a transfer rate switching diagram of the present invention. Flowchart; FIG. 5 is a block diagram of the conventional system. In the figure, 14:16:1.8:20. 22: 36: Upper channel device (channel device) External storage device (magnetic tape device) Data buffer transfer speed switching means control means (command control section) Data compression/expansion circuits 1 to 34-3: Data transfer control section Data transfer speed switching circuit

Claims (2)

【特許請求の範囲】[Claims] (1)上位チャネル装置(10)からの転送データを圧
縮してデータバッファ(16)に格納した後に外部記憶
装置(14)に転送し、一方、外部記憶装置(14)か
らの転送データを前記データバッファ(16)に格納し
た後に伸長して前記上位チャネル装置(10)に転送す
るデータ転送制御装置に於いて、 前記上位チャネル装置(10)との間のデータ転送速度
を複数段階に切替えるデータ転送速度切替手段(18)
と; 上位チャネル装置(10)から外部記憶装置(14)へ
のデータ転送の際にはバッファデータ量が多くなるほど
低速側の転送速度に切替え、外部記憶装置(14)から
上位チャネル装置(10)へのデータ転送の際にはバッ
ファデータ量が多くなるほど高速側の転送速度に切替え
る制御手段(18)と; を設けたことを特徴とするデータ転送速度切替方式。
(1) The transfer data from the upper channel device (10) is compressed and stored in the data buffer (16), and then transferred to the external storage device (14), while the transfer data from the external storage device (14) is compressed and stored in the data buffer (16). In a data transfer control device that stores data in a data buffer (16), decompresses it, and transfers it to the upper channel device (10), the data transfer rate with the upper channel device (10) is switched to multiple stages. Transfer speed switching means (18)
When transferring data from the upper channel device (10) to the external storage device (14), as the amount of buffered data increases, the transfer speed is switched to a lower speed side, and the transfer speed is switched from the external storage device (14) to the upper channel device (10). 1. A data transfer rate switching system comprising: a control means (18) for switching to a higher transfer rate as the amount of buffered data increases during data transfer to;
(2)前記制御手段(18)は、データバッファ量に応
じてデータ転送速度を低速、中速度、高速の3段階に切
替えることを特徴とする請求項1記載データ転送速度切
替方式。
(2) The data transfer rate switching system according to claim 1, wherein the control means (18) switches the data transfer rate into three stages: low speed, medium speed, and high speed, depending on the amount of data buffer.
JP20225190A 1990-07-30 1990-07-30 Data transmission speed switching system Pending JPH0485645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20225190A JPH0485645A (en) 1990-07-30 1990-07-30 Data transmission speed switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20225190A JPH0485645A (en) 1990-07-30 1990-07-30 Data transmission speed switching system

Publications (1)

Publication Number Publication Date
JPH0485645A true JPH0485645A (en) 1992-03-18

Family

ID=16454453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20225190A Pending JPH0485645A (en) 1990-07-30 1990-07-30 Data transmission speed switching system

Country Status (1)

Country Link
JP (1) JPH0485645A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5844694A (en) * 1994-01-26 1998-12-01 Canon Kabushiki Kaisha Facsimile apparatus
US7114086B2 (en) * 2002-01-04 2006-09-26 Ati Technologies, Inc. System for reduced power consumption by monitoring instruction buffer and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5844694A (en) * 1994-01-26 1998-12-01 Canon Kabushiki Kaisha Facsimile apparatus
US7114086B2 (en) * 2002-01-04 2006-09-26 Ati Technologies, Inc. System for reduced power consumption by monitoring instruction buffer and method thereof

Similar Documents

Publication Publication Date Title
JP2923702B2 (en) Storage device and data restoration method thereof
JPH09212310A (en) Method for compressing selectively data arriving at tape drive and data storage device
JPH0969031A (en) Disk array subsystem
JPH04236589A (en) Data processing system provided with cd-rom drive
JPH0485645A (en) Data transmission speed switching system
JP2912349B1 (en) Disk array control method and disk array device
JP2000276305A (en) Disk array device
US6418508B1 (en) Information storage controller for controlling the reading/writing of information to and from a plurality of magnetic disks and an external device
JPH0573413A (en) Cache memory data controller
JPH08171459A (en) Information processing system
JP2577705B2 (en) Image compression / expansion apparatus and control method thereof
JP2009093225A (en) Storage control device, method, program, and storage device
JPH09212311A (en) Disk array device
JP3172873B2 (en) Storage device
JP3815625B2 (en) EXTERNAL STORAGE DEVICE AND EXTERNAL STORAGE DEVICE DATA TRANSFER CONTROL METHOD
JPH0713909A (en) Data transfer rate controller
JPH07334281A (en) Scsi connector
JP3172872B2 (en) Storage device and data restoration method thereof
JP2581434B2 (en) Disk controller
JPH076093A (en) Storage controller
JPH04364553A (en) Disk controller
JPS635421A (en) Interruption timing control system
JPH02201529A (en) Magnetic tape controller
JP2000011540A (en) Magnetic tape control device with compression mechanism
JP2560920B2 (en) File data backup method