JPS6232824B2 - - Google Patents

Info

Publication number
JPS6232824B2
JPS6232824B2 JP56120208A JP12020881A JPS6232824B2 JP S6232824 B2 JPS6232824 B2 JP S6232824B2 JP 56120208 A JP56120208 A JP 56120208A JP 12020881 A JP12020881 A JP 12020881A JP S6232824 B2 JPS6232824 B2 JP S6232824B2
Authority
JP
Japan
Prior art keywords
data
segment
circuit
error correction
crc check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56120208A
Other languages
Japanese (ja)
Other versions
JPS5823395A (en
Inventor
Kyoo Moroto
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 JP56120208A priority Critical patent/JPS5823395A/en
Publication of JPS5823395A publication Critical patent/JPS5823395A/en
Publication of JPS6232824B2 publication Critical patent/JPS6232824B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Description

【発明の詳細な説明】 本発明はデータ記憶装置特に大容量記憶装置の
誤り制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to error control schemes for data storage devices, particularly mass storage devices.

第1図は回転ヘツドを備え斜走査する大容量記
憶装置に用いる磁気テープのフオーマツトを示
す。
FIG. 1 shows the format of a magnetic tape used in a mass storage device with a rotating head and performing diagonal scanning.

図において1は後記ストライプの識別符号を記
録する識別トラツク2,3,5及び6は磁気テー
プの位置決めに用いるサーボ信号トラツク、4は
データを記録するデータ・ストライプである。デ
ータストライプは13544本あり、1ストライプに
は4Kバイトのデータを記録できる。
In the figure, reference numeral 1 indicates an identification track for recording an identification code of a stripe described later; reference numerals 2, 3, 5 and 6 indicate servo signal tracks used for positioning the magnetic tape; and reference numeral 4 indicates a data stripe for recording data. There are 13,544 data stripes, and each stripe can store 4K bytes of data.

第2図は前記ストライプのビツト構成を示す。
1ストライプは16バイトのバースト信号(BS)、
2バイトのビギニング・マーク(BM)及び20の
セグメントから構成される。各セグメントは15の
セクシヨンから構成され、1セクシヨンは16バイ
トから成る。各セグメントにはセグメント毎にそ
のデータの訂正をおこなうための2種類の誤り訂
正符号(ECC1及びECC2)が設けられ、その
ほか20番目のセグメントには、1ストライプのデ
ータに対する冗長検査による誤り検出のための巡
回符号が設けられる。
FIG. 2 shows the bit structure of the stripe.
One stripe is a 16-byte burst signal (BS),
It consists of a 2-byte beginning mark (BM) and 20 segments. Each segment consists of 15 sections, and each section consists of 16 bytes. Each segment is provided with two types of error correction codes (ECC1 and ECC2) for correcting data in each segment, and the 20th segment is equipped with an error correction code for error detection by redundancy check on data of one stripe. A cyclic code is provided.

このような磁気テープを用いる大容量記憶装置
においては、従来第3図に例示したような読出し
回路を用いてデータの誤り制御をおこなつてい
る。
In such a large capacity storage device using magnetic tape, data error control has conventionally been performed using a readout circuit as illustrated in FIG.

第3図において、11は磁気ヘツド(図示せ
ず)が読取つたデータをデコードするデコード回
路、12はデコードされた誤りを、誤り訂正符号
(ECC1及びECC2)を用いて検出し訂正する誤
り訂正回路、13はデコード回路11の出力及び
誤り訂正回路12の出力を後記2個のセグメン
ト・バツフアのいずれかに送るための入力側選択
回路、14はセグメント毎にデータを一時記憶す
る第1のセグメント・バツフア、15は同じく第
2のセグメント・バツフア、16は第1のセグメ
ント・バツフア14及び第2のセグメント・バツ
フア15の出力を選択して後記読出しレジスタあ
るいは誤り訂正回路に送る出力側選択回路、17
は出力側選択回路16の出力のデータを一時記憶
する読取レジスタ、18は1ストライプのデータ
に対する誤り検出のため、巡回符号による冗長検
査すなわち巡回冗長検査(CRC)をおこなう
CRCチエツク回路である。
In FIG. 3, 11 is a decoding circuit that decodes data read by a magnetic head (not shown), and 12 is an error correction circuit that detects and corrects decoded errors using error correction codes (ECC1 and ECC2). , 13 is an input side selection circuit for sending the output of the decoding circuit 11 and the output of the error correction circuit 12 to either of the two segment buffers described later, and 14 is a first segment buffer that temporarily stores data for each segment. Buffer 15 is also a second segment buffer; 16 is an output side selection circuit which selects the outputs of the first segment buffer 14 and the second segment buffer 15 and sends them to the read register or error correction circuit described later; 17
18 is a read register that temporarily stores the output data of the output side selection circuit 16, and 18 is a redundancy check using a cyclic code, that is, a cyclic redundancy check (CRC) to detect errors in data of one stripe.
This is a CRC check circuit.

第4図は第3図の読出し回路におけるデータ誤
り制御のタイムチヤートであり、Aはデコード回
路11の出力、Bは第1のセグメント・バツフア
14の記憶内容、Cは第2のセグメント・バツフ
ア15の記憶内容、Dは読取りレジスタ17の記
憶内容を示す。SEG1は1番目のセグメントの
データが出力あるいは記憶されるシーケンスを、
SEG1ECCは1番目のセグメントのデータにつ
いて誤り訂正がおこなわれるシーケンスを示す、
(以下同じ)。また1,2,……,22はシーケン
ス番号を示す。
FIG. 4 is a time chart of data error control in the readout circuit of FIG. , and D indicates the storage content of the read register 17. SEG1 is the sequence in which the data of the first segment is output or stored.
SEG1ECC indicates the sequence in which error correction is performed on the data of the first segment.
(same as below). Further, 1, 2, . . . , 22 indicate sequence numbers.

すなわち、デコード回路11の出力は入力側選
択回路13によつて第1のセグメント・バツフア
14及び第2のセグメント・バツフア15に交互
に記憶される。まず1番目のセグメントのデータ
はデコード回路11から選択回路13を経て第1
のセグメント・バツフア14に記憶される。同時
に誤り訂正回路12によりそのセグメントの誤り
検出がおこなわれる。この1番目のセグメントの
データに誤りがある場合には次の第2のタイム・
シーケンを用いてそのセグメントのデータを誤り
訂正回路12にフイード・バツクし誤り訂正がお
こなわれる。
That is, the output of the decoding circuit 11 is alternately stored in the first segment buffer 14 and the second segment buffer 15 by the input side selection circuit 13. First, the data of the first segment is transmitted from the decoding circuit 11 to the selection circuit 13 and then to the first segment.
is stored in the segment buffer 14 of. At the same time, the error correction circuit 12 detects an error in that segment. If there is an error in the data of this first segment, the next second segment
Using the sequence, the data of the segment is fed back to the error correction circuit 12 and error correction is performed.

一方、この第2のタイム・シーケンスにおい
て、2番目のセグメントのデータが第2のセグメ
ント・バツフア15に記憶される。続いて第3の
タイム・シーケンスにおいては誤り訂正の終つた
1番目のセグメントのデータが第1のセグメン
ト・バツフア14から出力側選択回路16を経て
読取りレジスタ17に送り出され3番目のセグメ
ントのデータがセグメント・バツフア14に記憶
される。
Meanwhile, in this second time sequence, the data of the second segment is stored in the second segment buffer 15. Subsequently, in the third time sequence, the data of the first segment after error correction is sent from the first segment buffer 14 to the read register 17 via the output side selection circuit 16, and the data of the third segment is sent out from the first segment buffer 14 to the read register 17. It is stored in the segment buffer 14.

以下同様にして20番目のセグメントのデータま
で続けられる。この間、CRCチエツク回路18
は1ストライプのデータ全体についての誤り検出
をおこなう。したがつてCRCチエツク回路18
による誤り検出が終了するのはデコード回路11
がストライプの最後すなわち20番目のセグメント
のデータをデコードしてから2タイムシーケンス
あとになる。
The process continues in the same manner up to the 20th segment data. During this time, the CRC check circuit 18
performs error detection for the entire data of one stripe. Therefore, the CRC check circuit 18
The error detection is completed by the decoding circuit 11.
is two time sequences after decoding the data of the last or 20th segment of the stripe.

このような大容量記憶装置におけるデータの転
送は次のようにしておこなわれる。
Data transfer in such a mass storage device is performed as follows.

データ書込み命令を実行する場合には、ストラ
イプ毎にまずはじめに磁気テープの識別トラツク
1に記録してあるストライプ識別符号を読み、こ
れを確認したのちにそのデータストライプ4にデ
ータの書込みをおこなう。このとき、第3図示し
た読出し回路によつて、書込んだデータを読取り
その誤り制御をおこなう。その後、磁気テープを
1ストライプ分ステツプ送りして、次のストライ
プ識別符号を読み、以下同様にしてデータの書込
みとその誤り制御をおこなう。(第6図参照) データ読取り命令を実行する場合には、磁気テ
ープのデータストライプ4に記録してあるデータ
を読取り、その誤り制御をおこなうのみで、スト
ライプ識別符号の読取りはおこなわない。
When executing a data write command, the stripe identification code recorded on the identification track 1 of the magnetic tape is first read for each stripe, and after this is confirmed, data is written to the data stripe 4. At this time, the read circuit shown in FIG. 3 reads the written data and performs error control. Thereafter, the magnetic tape is fed in steps by one stripe, the next stripe identification code is read, and data writing and error control are performed in the same manner. (See FIG. 6) When a data read command is executed, the data recorded on the data stripe 4 of the magnetic tape is read and error control is performed, but the stripe identification code is not read.

ところで、データの転送速度を上げるための一
つの方法として、回転ヘツドの回転速度を上げて
データの書込み及び読取り速度を上げる方法があ
るが、そのためには磁気テープを一つのデータス
トライプから次のデータストライプへステツプ送
りする時間もこれに伴つて短くしなければならな
い。このようにすると、データ読取り命令を実行
する場合には比較的時間の余裕があるが、データ
書込み命令を実行する場合には、ストライプ識別
符号を読む必要があるので、その分だけ時間の余
裕が少なくなり、これが回転ヘツドの回転速度を
上げてデータの転送速度を上げることを困難にし
ている。
By the way, one way to increase the data transfer speed is to increase the rotation speed of the rotating head to increase the data writing and reading speed. The time it takes to step to a stripe must be shortened accordingly. In this way, there is a relatively large amount of time when executing a data read command, but when executing a data write command, the stripe identification code must be read, so there is a relatively large amount of time when executing a data write command. This makes it difficult to increase the rotational speed of the rotating head to increase the data transfer rate.

本発明はこのような問題を解決するためになさ
れたものであり、回転ヘツドの回転速度を上げる
ことによつてデータ転送速度を上げることを可能
とするために、データ誤り制御時間を短縮して、
磁気テープのステツプ送り時間に余裕を与えるこ
とを目的とする。
The present invention was made to solve such problems, and in order to increase the data transfer speed by increasing the rotation speed of the rotary head, the data error control time is shortened. ,
The purpose is to provide more time for step feeding of magnetic tape.

すなわち、本発明はデータ記憶装置が書込み命
令を実行中であるか、読取り命令を実行中である
かに応じて、1ストライプのデータ全体に対して
おこなう巡回冗長検査のためのデータ入力径路を
切替えるようにし、書込み命令を実行中のときに
は、第1のセグメントバツフアあるいは第2のセ
グメント・バツフアにデータを記憶するときに、
同時にCRCチエツク回路18による誤り検出を
おこなうことによつて誤り検出終了時期を早め、
これによつて書込み命令実行時の磁気テープのス
テツプ送り時間に余裕を与えるようにしたもので
ある。
That is, the present invention switches the data input path for the cyclic redundancy check performed on the entire data of one stripe depending on whether the data storage device is executing a write command or a read command. and when a write command is being executed, when storing data in the first segment buffer or the second segment buffer,
At the same time, by performing error detection by the CRC check circuit 18, the end time of error detection is brought forward.
This provides ample time for stepping the magnetic tape when executing a write command.

以下、第5図に示す実施例によつて本発明の要
点を具体的に説明する。
Hereinafter, the main points of the present invention will be specifically explained using the embodiment shown in FIG.

第5図において、第3図に用いた符号はそのま
ま適用される。また19はデコード回路11の出
力と読取りレジスタ17の出力のいずれかを選択
してCRCチエツク回路18に供給するCRCチエ
ツク信号選択回路である。
In FIG. 5, the symbols used in FIG. 3 are applied as they are. A CRC check signal selection circuit 19 selects either the output of the decoding circuit 11 or the output of the read register 17 and supplies the selected signal to the CRC check circuit 18.

データ読取り命令を実行する場合には、データ
記憶装置は、データ転送先に対し読取りデータを
保証する必要がある。したがつてCRCチエツク
回路18による誤り検出は従来通りデータ転送の
直前におこなう。このためCRCチエツク信号選
択回路19は読取りレジスタ17の出力を選択し
てCRCチエツク回路18に供給する。
When executing a data read command, the data storage device needs to guarantee the read data to the data transfer destination. Therefore, error detection by the CRC check circuit 18 is performed immediately before data transfer as in the conventional case. Therefore, the CRC check signal selection circuit 19 selects the output of the read register 17 and supplies it to the CRC check circuit 18.

またデータ書込み命令を実行する場合には、デ
ータ記憶装置は書込んだデータの保証をすればよ
いのであるから、CRCチエツク回路18による
誤り検出は従来のように読取りレジスタ17の出
力に対しておこなう必要はなく、読取りデータを
第1のセグメント・バツフア14あるいは第2の
セグメント・バツフア15に送るときにおこなつ
てもよい。このためCRCチエツク信号選択回路
19はデコード回路11の出力を選択してCRC
チエツク回路18に供給する。このようにすれば
ストライプの最終セグメントすなわち20番目のセ
グメントのデータが第2のセグメントバツフア1
5へ送られるとき、CRCチエツク回路18にお
いてストライプ全体のデータに対する誤り検出を
終えることができる。書込み命令を実行する場合
には誤り訂正符号による誤り訂正はおこなわない
ので、これで誤り制御は終つたことになる。すな
わち誤り制御が従来例よりも2タイム・シーケン
ス早く完了する。
Furthermore, when executing a data write command, the data storage device only needs to guarantee the written data, so error detection by the CRC check circuit 18 is performed on the output of the read register 17 as in the conventional case. It is not necessary and may be performed when sending the read data to the first segment buffer 14 or the second segment buffer 15. Therefore, the CRC check signal selection circuit 19 selects the output of the decoding circuit 11 and performs the CRC check signal selection circuit 19.
Supplied to check circuit 18. In this way, the data of the last segment of the stripe, that is, the 20th segment, will be transferred to the second segment buffer 1.
5, the CRC check circuit 18 can complete error detection for the data of the entire stripe. When a write command is executed, error correction using an error correction code is not performed, so this is the end of error control. That is, error control is completed two time sequences earlier than in the conventional example.

上記の実施例においてはCRCチエツク回路を
1個設けているが、書込み命令を実行する場合の
ための専用のCRCチエツク回路を別に備えるこ
とによつても同様に本発明の目的を達することが
できる。
In the above embodiment, one CRC check circuit is provided, but the object of the present invention can also be achieved by separately providing a dedicated CRC check circuit for executing a write command. .

以上説明したように、本発明によればデータ書
込み命令を実行する場合のストライプ毎のデータ
の誤り制御を早く終えることができるので、磁気
テープのステツプ送リに要する時間余裕をその分
だけ増すことができる。このために回転ヘツドの
回転速度を上げ、データ転送速度を上げることが
できる。
As explained above, according to the present invention, data error control for each stripe can be completed quickly when executing a data write command, so the time margin required for step feeding of the magnetic tape can be increased accordingly. I can do it. This allows the rotation speed of the rotary head to be increased and the data transfer rate to be increased.

また、ステツプ送り方式の装置について説明し
たが本発明の効果はテープの送り方法によらない
ことは明らかである。
Furthermore, although a step-feeding type device has been described, it is clear that the effects of the present invention are not dependent on the tape feeding method.

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

第1図は本発明に係る大容量記憶装置に用いる
磁気テープのフオーマツト、第2図は1ストライ
プのデータの構成、第3図は読取り回路の従来
例、第4図はデータ誤り制御タイム・チヤートの
従来例、第5図は本発明による読取り回路の実施
例を示す。第3図および第5図において11はデ
コード回路、12は誤り訂正回路、14は第1の
セグメント・バツフア、15は第2のセグメン
ト・バツフア、17は読出しレジスタ、18は
CRCチエツク回路、19はCRCチエツク信号選
択回路である。第6図はリードヘツドから見たデ
ータを示す。
Fig. 1 shows the format of the magnetic tape used in the mass storage device according to the present invention, Fig. 2 shows the data structure of one stripe, Fig. 3 shows a conventional example of a reading circuit, and Fig. 4 shows a data error control time chart. FIG. 5 shows an embodiment of a reading circuit according to the present invention. 3 and 5, 11 is a decoding circuit, 12 is an error correction circuit, 14 is a first segment buffer, 15 is a second segment buffer, 17 is a read register, and 18 is a
CRC check circuit 19 is a CRC check signal selection circuit. Figure 6 shows the data as seen from the read head.

Claims (1)

【特許請求の範囲】 1 データをセグメントに分け、セグメント毎に
誤り訂正符号を付し、且つ所定数のセグメント毎
に巡回符号を付して書込みと読出しをおこない、 誤り訂正符号による誤り訂正をおこなう誤り訂
正回路12と、 巡回符号による冗長検査をおこなうCRCチエ
ツク回路18と、 前記誤り訂正前または誤り訂正後のデータを前
記セグメント単位に一時記憶する複数個のセグメ
ントバツフア14,15とを設けて、 前記セグメント毎に誤り訂正をおこなうととも
に、前記所定数のセグメント毎に冗長検査をおこ
なうデータ記憶装置において、 CRCチエツク回路18に対するデータ入力径
路をデータ書込み動作時と読出し動作時とに応じ
て切替えるための選択回路19を設け、 読出し動作時には前記誤り訂正後のデータを
CRCチエツク回路18へ供給し、書込み動作時
にはセグメントバツフア14,15への入力デー
タをCRCチエツク回路18へ直接供給すること
によつて、書込み動作時に前記所定数のセグメン
ト毎におこなう誤り制御時間を短縮したことを特
徴とするデータ記憶装置誤り制御方式。
[Claims] 1. Data is divided into segments, an error correction code is attached to each segment, and a cyclic code is attached to each predetermined number of segments for writing and reading, and error correction is performed using the error correction code. An error correction circuit 12, a CRC check circuit 18 that performs a redundancy check using a cyclic code, and a plurality of segment buffers 14 and 15 that temporarily store the data before or after the error correction in units of the segments are provided. In a data storage device that performs error correction for each segment and redundancy check for each of the predetermined number of segments, the data input path to the CRC check circuit 18 is switched depending on data write operation and read operation. A selection circuit 19 is provided to select the error-corrected data during read operation.
By supplying input data to the CRC check circuit 18, and directly supplying the input data to the segment buffers 14 and 15 to the CRC check circuit 18 during a write operation, the error control time to be performed for each predetermined number of segments during a write operation can be reduced. A data storage device error control method characterized in that it is shortened.
JP56120208A 1981-07-31 1981-07-31 Error controlling system for data storage device Granted JPS5823395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56120208A JPS5823395A (en) 1981-07-31 1981-07-31 Error controlling system for data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56120208A JPS5823395A (en) 1981-07-31 1981-07-31 Error controlling system for data storage device

Publications (2)

Publication Number Publication Date
JPS5823395A JPS5823395A (en) 1983-02-12
JPS6232824B2 true JPS6232824B2 (en) 1987-07-16

Family

ID=14780571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56120208A Granted JPS5823395A (en) 1981-07-31 1981-07-31 Error controlling system for data storage device

Country Status (1)

Country Link
JP (1) JPS5823395A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10353606B2 (en) 2017-10-12 2019-07-16 International Business Machines Corporation Partial data replay in a distributed memory buffer system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5496936A (en) * 1977-12-23 1979-07-31 Honeywell Inf Systems Data processing memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5496936A (en) * 1977-12-23 1979-07-31 Honeywell Inf Systems Data processing memory

Also Published As

Publication number Publication date
JPS5823395A (en) 1983-02-12

Similar Documents

Publication Publication Date Title
US5247523A (en) Code error correction apparatus
KR0163566B1 (en) Error correction method
US6661591B1 (en) Disk drive employing sector-reconstruction-interleave sectors each storing redundancy data generated in response to an interleave of data sectors
KR960001486B1 (en) Data recording and the method
KR0133178B1 (en) Apparatus for recording and/or reproducing digital data
US6640326B1 (en) Data set recovery by codeword overlay
JP2854391B2 (en) Method for assembling data groups on DAT tape
US5251077A (en) Method of reading digital data on magnetic tape
JPS63197123A (en) Error correcting and checking device
JP2003141822A (en) Data storage, and apparatus and method for processing read data
AU648866B2 (en) Apparatus for receiving digital data and performing error correction decoding
JP2004095147A (en) Method for writing streaming audio visual data in disk drive
JP2002528839A (en) Rewriting method and apparatus for data storage device
JPH07107782B2 (en) Digital tape recorder
US5586127A (en) Apparatus and method for correcting error in data read from recording medium
JPS6232824B2 (en)
US5153879A (en) Optical recording system
EP0831482A2 (en) Method and apparatus for data storage
JP2600678B2 (en) Digital data playback device
JP3281980B2 (en) Magnetic disk drive
JPH04186559A (en) Readout control system for magnetic tape
KR100328818B1 (en) How to save data in flash memory
JPH0233330Y2 (en)
JP2661067B2 (en) Data recorder
JP2001144628A (en) Data transfer device