JPH0561612A - Magnetic tape controller - Google Patents

Magnetic tape controller

Info

Publication number
JPH0561612A
JPH0561612A JP22546491A JP22546491A JPH0561612A JP H0561612 A JPH0561612 A JP H0561612A JP 22546491 A JP22546491 A JP 22546491A JP 22546491 A JP22546491 A JP 22546491A JP H0561612 A JPH0561612 A JP H0561612A
Authority
JP
Japan
Prior art keywords
data
circuit
magnetic tape
write
compressed
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
JP22546491A
Other languages
Japanese (ja)
Inventor
Seiji Miyaoka
省二 宮岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Software Shikoku Ltd
Original Assignee
NEC Software Shikoku Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP22546491A priority Critical patent/JPH0561612A/en
Publication of JPH0561612A publication Critical patent/JPH0561612A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the writing of error data generated due to a failure of an internal circuit in a magnetic tape control device in a magnetic tape, to quickly detect the failure of the internal circuit and to improve the reliability of the control device. CONSTITUTION:At the time of writing, write data transferred from a master device 20 are modulated to a write format in the magnetic tape by a writing circuit 1 and the modulated data are compressed by a data compressing circuit 2 in accordance with regulated algorithm and sent to a magnetic tape device 30. A selector 6 selects a write data bus 5 connected from the circuit 1 under control by a main control part 7 and inputs the selected bus 5 to a reading circuit 3, which sends the input data to a data extending circuit 4 to check whether the compressed data formed by the circuit 2 can be correctly extended in accordance with the regulated algorithm or not. At the time of reading, read data sent from the device 30 are inputted to the circuit 3 through the selector 6 and extended by the circuit 4 and then the extended data are transferred to the device 20.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、磁気テープ制御装置に
関し、特に書込み/読出しデータの圧縮技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape controller, and more particularly to a write / read data compression technique.

【0002】[0002]

【従来の技術】従来、この種の磁気テープ制御装置は、
書込み時は上位装置から送られてきたデータをデータ圧
縮回路で圧縮して磁気テープ装置に送り、読出し時は磁
気テープ装置から読み出した圧縮データをデータ伸張回
路にて伸張し、上位装置へ送っている。
2. Description of the Related Art Conventionally, a magnetic tape controller of this type is
When writing, the data sent from the host device is compressed by the data compression circuit and sent to the magnetic tape device. When reading, the compressed data read from the magnetic tape device is expanded by the data expansion circuit and sent to the host device. There is.

【0003】[0003]

【発明が解決しようとする課題】上述したように従来の
磁気テープ制御装置は、データ圧縮回路に故障が発生し
たとき、この誤りを検出する機能が存在しないため、誤
った圧縮データをそのまま磁気テープ装置に送り、テー
プ上に記録しており、再生時に初めてこの誤りを検出し
て気がつき、その対処処置に時間がかかり、磁気テープ
制御装置の信頼性が低減するという欠点がある。
As described above, the conventional magnetic tape control device does not have a function of detecting an error when a failure occurs in the data compression circuit, and therefore, the erroneous compressed data is directly recorded on the magnetic tape. Since it is sent to the device and recorded on a tape, this error is detected and noticed only at the time of reproduction, and it takes time to deal with the error and the reliability of the magnetic tape control device is reduced.

【0004】本発明の目的は、ライト回路の出力をリー
ド回路に直接入力するためのライトデータバスを備え、
データ書込み時にデータ圧縮回路の出力の圧縮データを
データ伸張回路に入力することにより、上記の欠点を解
消し、磁気テープ制御装置内部の回路の故障によって発
生した誤ったデータの磁気テープへの書込みを未然に防
止することができると同時に、内部回路の故障をいち早
く検出することができ、磁気テープ制御装置の信頼性を
向上できる磁気テープ制御装置を提供することにある。
An object of the present invention is to provide a write data bus for directly inputting the output of the write circuit to the read circuit,
By inputting the compressed data output from the data compression circuit to the data expansion circuit at the time of data writing, the above-mentioned drawbacks are eliminated, and incorrect data written to the magnetic tape due to a circuit failure inside the magnetic tape control device can be written. It is an object of the present invention to provide a magnetic tape control device that can be prevented in advance, at the same time can detect an internal circuit failure promptly, and can improve the reliability of the magnetic tape control device.

【0005】[0005]

【課題を解決するための手段】本発明の磁気テープ制御
装置は、上位装置から転送される書込みデータを定めら
れたアルゴリズムに従って圧縮を行うデータ圧縮回路
と、データ圧縮回路で圧縮された圧縮データを書き込ま
れた磁気テープ装置からの読出し動作時に圧縮データの
伸張を行うデータ伸張回路とを有する磁気テープ制御装
置において、データ書込み時にデータ圧縮回路の出力の
圧縮データをデータ伸張回路に入力している。
A magnetic tape controller according to the present invention compresses write data transferred from a host device according to a predetermined algorithm, and a compressed data compressed by the data compression circuit. In a magnetic tape controller having a data expansion circuit that expands compressed data during a read operation from a written magnetic tape device, the compressed data output from the data compression circuit is input to the data expansion circuit when writing data.

【0006】[0006]

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

【0007】図1は本発明の一実施例の磁気テープ制御
装置のブロック図である。
FIG. 1 is a block diagram of a magnetic tape controller according to an embodiment of the present invention.

【0008】図1において、磁気テープ制御装置10
は、上位装置20から転送された書込みデータの磁気テ
ープ上への書込みを制御するライト回路1と、書込みデ
ータの圧縮を行うデータ圧縮回路2と、磁気テープ装置
30から送られてきた読出しデータを制御し上位装置2
0へ転送するリード回路3と、圧縮された読出しデータ
の伸張を行うデータ伸張回路4と、書込みデータを直接
リード回路3へ入力するためのセレクタ6と、装置全体
の動作制御を行う主制御部7とから構成されている。
In FIG. 1, a magnetic tape controller 10
Is a write circuit 1 that controls writing of write data transferred from the host device 20 onto the magnetic tape, a data compression circuit 2 that compresses the write data, and read data sent from the magnetic tape device 30. Controlled host device 2
0, a read circuit 3 for transferring data to 0, a data expansion circuit 4 for expanding compressed read data, a selector 6 for directly inputting write data to the read circuit 3, and a main control unit for controlling the operation of the entire apparatus. 7 and 7.

【0009】次に、本実施例の磁気テープ制御装置の全
体的動作を説明する。書込み時には、上位装置20から
転送されてくる書込みデータは、ライト回路1で磁気テ
ープ上への書込みフォーマットに変調され、データ圧縮
回路2にて規定のアルゴリズムに従って圧縮され、磁気
テープ装置30に送られる。そして、主制御部7の制御
によりセレクタ6において、ライト回路1からのライト
データバス5が選択され、リード回路3へ入力される。
入力されたデータは、データ伸張回路4へ送られ、デー
タ圧縮回路2によって生成された圧縮データが規定のア
ルゴリズムに従って誤り無く伸張できるかをチェックす
る。一方、読出し時には、磁気テープ装置30から送ら
れてきた読出しデータは、セレクタ6を通してリード回
路3に入力される。さらに、データ伸張回路4によって
データの伸張が行われた後、上位装置20へ転送され
る。次に、本実施例の磁気テープ制御装置の具体的動作
を説明する。上位装置20から転送されてきた書込みデ
ータは、ライト回路1で磁気テープ上への書込みフォー
マットに変調され、データ圧縮回路2に送られる。デー
タ圧縮回路2が故障により規定のアルゴリズムに従った
圧縮データが生成されなかったとする。そうすると、こ
の不正な圧縮データの正否は、データ圧縮回路2自身及
びライト回路1、磁気テープ装置30では認識されない
ため、そのまま磁気テープ上に記録される。書込み時に
は、主制御部7がセレクタ6により、ライト回路1から
のライトデータパス5が選択されるため、不正な圧縮デ
ータは磁気テープ装置30に送られると同時に、リード
回路3に入力される。リード回路3に入力された不正な
圧縮データは、データ伸張回路4へ送られ、規定のデー
タ伸張アルゴリズムに従ってデータの伸張を行おうとす
る。ところが、圧縮データが不正であるため、正しいデ
ータの伸張が行われず、不正な伸張データがリード回路
3に送られる。リード回路3に入力された伸張データは
主制御部7によって不正な伸張データであることが認識
される。これにより、主制御部7は、データ圧縮回路2
あるいはデータ伸張回路4に異常が検出されたことと、
磁気テープ上に記録されたデータが正しくないことを上
位装置20に報告する。
Next, the overall operation of the magnetic tape controller of this embodiment will be described. At the time of writing, write data transferred from the host device 20 is modulated by the write circuit 1 into a write format on the magnetic tape, compressed by the data compression circuit 2 according to a prescribed algorithm, and sent to the magnetic tape device 30. .. Then, the write data bus 5 from the write circuit 1 is selected by the selector 6 under the control of the main control unit 7 and input to the read circuit 3.
The input data is sent to the data decompression circuit 4, and it is checked whether the compressed data generated by the data compression circuit 2 can be decompressed without error according to a prescribed algorithm. On the other hand, at the time of reading, the read data sent from the magnetic tape device 30 is input to the read circuit 3 through the selector 6. Further, the data is expanded by the data expansion circuit 4, and then transferred to the higher-level device 20. Next, a specific operation of the magnetic tape controller of this embodiment will be described. The write data transferred from the host device 20 is modulated by the write circuit 1 into a write format on the magnetic tape and sent to the data compression circuit 2. It is assumed that the data compression circuit 2 fails to generate compressed data according to the specified algorithm. Then, the validity of the illegal compressed data is not recognized by the data compression circuit 2 itself, the write circuit 1, and the magnetic tape device 30, and is recorded on the magnetic tape as it is. At the time of writing, the main controller 7 selects the write data path 5 from the write circuit 1 by the selector 6, so that the incorrect compressed data is sent to the magnetic tape device 30 and at the same time input to the read circuit 3. The illegal compressed data input to the read circuit 3 is sent to the data decompression circuit 4 and attempts to decompress the data in accordance with a prescribed data decompression algorithm. However, since the compressed data is incorrect, the correct data is not expanded, and the incorrect expanded data is sent to the read circuit 3. The decompressed data input to the read circuit 3 is recognized by the main control unit 7 as illegal decompressed data. As a result, the main control unit 7 causes the data compression circuit 2
Or if an abnormality is detected in the data expansion circuit 4,
It reports to the host device 20 that the data recorded on the magnetic tape is incorrect.

【0010】[0010]

【発明の効果】以上説明したように、本発明の磁気テー
プ制御装置は、ライト回路の出力をリード回路に直接入
力するためのライトデータバスを備え、データ書込み時
にデータ圧縮回路の出力の圧縮データをデータ伸張回路
に入力することにより、磁気テープ制御装置内部の回路
の故障によって発生した誤ったデータの磁気テープへの
書込みを未然に防止することができると同時に、内部回
路の故障をいち早く検出することができ、磁気テープ制
御装置の信頼性を向上できるという効果がある。
As described above, the magnetic tape control device of the present invention has the write data bus for directly inputting the output of the write circuit to the read circuit, and the compressed data output from the data compression circuit at the time of writing the data. By inputting to the data decompression circuit, it is possible to prevent erroneous data from being written to the magnetic tape due to a failure of a circuit inside the magnetic tape control device, and at the same time, detect an internal circuit failure promptly. Therefore, there is an effect that the reliability of the magnetic tape control device can be improved.

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

【図1】本発明の一実施例の磁気テープ制御装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a magnetic tape controller according to an embodiment of the present invention.

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

1 ライト回路 2 データ圧縮回路 3 リード回路 4 データ伸張回路 5 ライトデータバス 6 セレクタ 10 磁気テープ制御装置 20 上位装置 30 磁気テープ装置 1 write circuit 2 data compression circuit 3 read circuit 4 data decompression circuit 5 write data bus 6 selector 10 magnetic tape control device 20 host device 30 magnetic tape device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から転送される書込みデータを
定められたアルゴリズムに従って圧縮を行うデータ圧縮
回路と、前記データ圧縮回路で圧縮された圧縮データを
書き込まれた磁気テープ装置からの読出し動作時に前記
圧縮データの伸張を行うデータ伸張回路とを有する磁気
テープ制御装置において、データ書込み時に前記データ
圧縮回路の出力の圧縮データを前記データ伸張回路に入
力することを特徴とする磁気テープ制御装置。
1. A data compression circuit for compressing write data transferred from a host device according to a predetermined algorithm, and a read operation from a magnetic tape device in which the compressed data compressed by the data compression circuit is written. A magnetic tape controller having a data expansion circuit for expanding compressed data, wherein the compressed data output from the data compression circuit is input to the data expansion circuit when writing data.
JP22546491A 1991-09-05 1991-09-05 Magnetic tape controller Pending JPH0561612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22546491A JPH0561612A (en) 1991-09-05 1991-09-05 Magnetic tape controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22546491A JPH0561612A (en) 1991-09-05 1991-09-05 Magnetic tape controller

Publications (1)

Publication Number Publication Date
JPH0561612A true JPH0561612A (en) 1993-03-12

Family

ID=16829740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22546491A Pending JPH0561612A (en) 1991-09-05 1991-09-05 Magnetic tape controller

Country Status (1)

Country Link
JP (1) JPH0561612A (en)

Similar Documents

Publication Publication Date Title
JPH05303539A (en) Disk controller
JPH0561612A (en) Magnetic tape controller
JPH04141868A (en) Magnetic tape controller
JP2581426B2 (en) Electronic disk drive
JPH0664858B2 (en) Reading circuit diagnostic method
JPS5834578Y2 (en) data writing device
JPH0431129B2 (en)
JPS6297178A (en) Magnetic tape memory device
JPS58223860A (en) Magnetic disk controller
JP2609768B2 (en) Error detection method for control information read data
JP2856408B2 (en) Magnetic tape processing device
JPH05217303A (en) Magnetic disk device
JPH02210672A (en) Data writing error detector
JPH0644699A (en) Controller for floppy disk drive controller and floppy disk drive therefor
JPS62214561A (en) Checking system of encoder
JPH0713704A (en) Magnetic disk controller
JPH02278448A (en) Memory control circuit
JPH04369711A (en) Electronic disk sub-system
JPS61173351A (en) Printing device
JPS59198590A (en) Magnetic bubble memory device controller
JPH01236419A (en) Magnetic disk device
JPH1050004A (en) Magnetic disk control device
JPH0556109A (en) Data processor
JPH05128019A (en) Method for testing operation status of input/ output system
JPS59121560A (en) Read control system of floppy disc