JPH04141868A - Magnetic tape controller - Google Patents
Magnetic tape controllerInfo
- Publication number
- JPH04141868A JPH04141868A JP2264427A JP26442790A JPH04141868A JP H04141868 A JPH04141868 A JP H04141868A JP 2264427 A JP2264427 A JP 2264427A JP 26442790 A JP26442790 A JP 26442790A JP H04141868 A JPH04141868 A JP H04141868A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- check code
- magnetic tape
- data
- write
- 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
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気テープ制御装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a magnetic tape control device.
従来の磁気テープ制御装置は、記録時は上位装置から送
られてきたデータにチェックコード生成回路で生成され
たデータを付加し、磁気テープ装置に送り、読込み時は
磁気テープ装置から読出したデータをエラーチェック回
路にてチエツクし誤りの検出を行っていた。Conventional magnetic tape control devices add data generated by a check code generation circuit to data sent from a host device when recording, and send the data to the magnetic tape device, and when reading, add data generated by a check code generation circuit to the data sent from the host device, and when reading, add data generated by a check code generation circuit to the data sent from the host device. An error check circuit was used to check and detect errors.
上記した従来の磁気テープ制御装置は、チェックコード
生成回路に故障が発生した時、この誤りを検出する機能
が存在しないため、誤ったチェックコードをそのまま磁
気テープ装置に送りテープ上に記録して再生時に初めて
この誤りを検出するという問題点がある。The conventional magnetic tape control device described above does not have a function to detect an error when a failure occurs in the check code generation circuit, so the erroneous check code is directly sent to the magnetic tape device, recorded on the tape, and played back. There is a problem that sometimes this error is detected for the first time.
本発明の磁気テープ制御装置は、上位装置から転送され
る書込みデータに保証を与えるためにチェックコードを
付加するチェックコード生成回路と、磁気テープ装置か
らの読込み動作において前記チェックコードを用いてデ
ータ誤りを検出するエラーチェック回路とを有する磁気
テープ制御装置において、データ書込み時に前記チェッ
づコード生成回路の出力と前記書込みデータとを官記エ
ラーチェック回路に入力することを特徴としている。The magnetic tape control device of the present invention includes a check code generation circuit that adds a check code to guarantee write data transferred from a host device, and a check code generation circuit that uses the check code to prevent data errors in a read operation from the magnetic tape device. In the magnetic tape control device having an error check circuit for detecting an error, the output of the check code generation circuit and the write data are input to an official error check circuit when writing data.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のブロック図でまる。磁気テ
ープ制御装置10は、上位装置20力ら転送された書込
みデータ21の磁気テープ上への書込みを制御するライ
ト回路lと、書込みデータ21からチェックコードを生
成するチェックコード生成回路2と、磁気テープ装置3
0から達られてきた読出しデータ31を制御し上位装置
20へ転送するリード回路3と、読出しデータ31から
誤りの検出を行うエラーチェック回路4と、ライト回路
1からのデータと磁気テープ装置30からのデータとを
選択しリード回路3へ入力するセレクタ6と、装置全体
の動作制御のための主制御部7とから精成されている。FIG. 1 is a block diagram of one embodiment of the present invention. The magnetic tape control device 10 includes a write circuit 1 that controls writing of write data 21 transferred from the host device 20 onto the magnetic tape, a check code generation circuit 2 that generates a check code from the write data 21, and a magnetic Tape device 3
A read circuit 3 controls the read data 31 received from 0 and transfers it to the host device 20, an error check circuit 4 detects errors from the read data 31, and data from the write circuit 1 and from the magnetic tape device 30. The device is composed of a selector 6 that selects and inputs the data to the read circuit 3, and a main control section 7 that controls the operation of the entire device.
次に、同実施例の動作を説明する。書込み時には、上位
装置20から転送されてくる書込みデータ21は、ライ
ト回路1で磁気テープ上への書込みフォーマットに変調
され、チェックコード生成回路2にてチェックコードが
生成され、書込みデータ21に付加され、チェックコー
ド付書込みデータ11として磁気テープ装置30に送ら
れる。Next, the operation of this embodiment will be explained. During writing, the write data 21 transferred from the host device 20 is modulated into a format for writing onto the magnetic tape by the write circuit 1, and a check code is generated by the check code generation circuit 2 and added to the write data 21. , is sent to the magnetic tape device 30 as write data 11 with a check code.
次に主制御部7からの制御により、セレクタ6を介して
ライト回路1からのチェックコード付書込みデータ11
がリード回路3へ入力さる。入力されたチェックコード
付書込みデータ11は、エラーチェック回路4へ送られ
誤りの有無をチエツクされ、チェックコード生成回路2
によって生成されたチェックコードの誤りの有無をチエ
ツクする。Next, under the control of the main control unit 7, the write data 11 with check code is sent from the write circuit 1 via the selector 6.
is input to the read circuit 3. The input check code attached write data 11 is sent to the error check circuit 4, where it is checked for errors, and then sent to the check code generation circuit 2.
Checks the check code generated by .
一方、読み出し時には、磁気テープ装置3oがら送られ
てきた読出しデータ31が、セレクタ6を介してリード
回路3に入力される。さらに、エラーチェック回路4に
よってデータ誤りチエツクが行われた後に上位装N2o
へ転送される。On the other hand, during reading, read data 31 sent from the magnetic tape device 3o is input to the read circuit 3 via the selector 6. Furthermore, after the data error check is performed by the error check circuit 4, the host device N2o
will be forwarded to.
以上説明したように本発明は、ライト回路の出力をリー
ド回路に入力することにより、磁気テープ制御装置内部
の回路の故障によって発生した誤ったデータを磁気テー
プに書込んでしまうことを未然に防止することができ、
なおかつ内部回路の故障をいち早く検出することができ
る効果がある。As explained above, the present invention prevents erroneous data caused by a circuit failure inside a magnetic tape control device from being written to a magnetic tape by inputting the output of the write circuit to the read circuit. can,
Furthermore, there is an effect that failures in internal circuits can be detected quickly.
第1図は本発明の一実施例のブロック図である。
1・・・ライト回路、2・・・チェックコード生成回路
、3・・・リード回路、4・・・エラーチェック回路、
6・・・セレクタ、7・・・主制御部、1o・・・磁気
テープ制御装置、11・・・チェックコード付書込みデ
ータ、20・・・上位装置、21・・・書込みデータ、
3o・・・磁気テープ装置、31・・・読出しデータ。FIG. 1 is a block diagram of one embodiment of the present invention. 1... Write circuit, 2... Check code generation circuit, 3... Read circuit, 4... Error check circuit,
6... Selector, 7... Main control unit, 1o... Magnetic tape control device, 11... Write data with check code, 20... Host device, 21... Write data,
3o... Magnetic tape device, 31... Read data.
Claims (1)
ためにチェックコードを付加するチェックコード生成回
路と、磁気テープ装置からの読込み動作において前記チ
ェックコードを用いてデータ誤りを検出するエラーチェ
ック回路とを有する磁気テープ制御装置において、デー
タ書込み時に前記チェックコード生成回路の出力と前記
書込みデータとを前記エラーチェック回路に入力するこ
とを特徴とする磁気テープ制御装置。It has a check code generation circuit that adds a check code to guarantee write data transferred from a host device, and an error check circuit that uses the check code to detect data errors in a read operation from a magnetic tape device. 1. A magnetic tape control device, wherein the output of the check code generation circuit and the write data are input to the error check circuit during data writing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2264427A JPH04141868A (en) | 1990-10-01 | 1990-10-01 | Magnetic tape controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2264427A JPH04141868A (en) | 1990-10-01 | 1990-10-01 | Magnetic tape controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04141868A true JPH04141868A (en) | 1992-05-15 |
Family
ID=17403032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2264427A Pending JPH04141868A (en) | 1990-10-01 | 1990-10-01 | Magnetic tape controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04141868A (en) |
-
1990
- 1990-10-01 JP JP2264427A patent/JPH04141868A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS648382B2 (en) | ||
JPH04141868A (en) | Magnetic tape controller | |
JPH0268642A (en) | Memory error detecting system | |
JP2609768B2 (en) | Error detection method for control information read data | |
JPS6155759A (en) | Interface control device | |
JPH0216658A (en) | Memory device | |
JPS58223860A (en) | Magnetic disk controller | |
JPS5818684B2 (en) | Erroneous writing prevention method for magnetic tape control device | |
JP2503981B2 (en) | Peripheral storage | |
JPH07152497A (en) | Disk control device | |
JPH041976A (en) | Magnetic disk device | |
JPH0561612A (en) | Magnetic tape controller | |
JPS5953949A (en) | Patrolling system | |
JPH0535455B2 (en) | ||
JPH02178862A (en) | Information processor | |
JPH02162581A (en) | Magnetic disk controller | |
JPS63298458A (en) | Data transfer circuit | |
JPH033043A (en) | Semiconductor device | |
JPH02123631U (en) | ||
JPS59198590A (en) | Magnetic bubble memory device controller | |
JPH1050004A (en) | Magnetic disk control device | |
JPS6043542B2 (en) | information processing equipment | |
JPH04291427A (en) | Storage subsystem | |
JPH04353935A (en) | Magnetic disk controller | |
JPH04220752A (en) | Input/output device |