JPH0457256A - Disk processing device - Google Patents

Disk processing device

Info

Publication number
JPH0457256A
JPH0457256A JP16474490A JP16474490A JPH0457256A JP H0457256 A JPH0457256 A JP H0457256A JP 16474490 A JP16474490 A JP 16474490A JP 16474490 A JP16474490 A JP 16474490A JP H0457256 A JPH0457256 A JP H0457256A
Authority
JP
Japan
Prior art keywords
data
crc
circuit
write
disk
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
JP16474490A
Other languages
Japanese (ja)
Inventor
Toru Kawaguchi
徹 川口
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP16474490A priority Critical patent/JPH0457256A/en
Publication of JPH0457256A publication Critical patent/JPH0457256A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To confirm the normality of a data even when executing data compressing recording by checking a CRC after compressing the data outputted from a write CRC generation circuit, writing the data in the disk, reading it and extending it. CONSTITUTION:In a disk processing device 2 to exchange data between a host device 1 and a disk device 3, a write CRC generation circuit 21 is provided to generate the CRC after receiving the data from the host device 1. The final data is outputted after adding the CRC, and after fetching and compressing the data passed through a data compressing write circuit 22 and outputted from the write CRC generation circuit 21, the data is written in the disk device 2. A data extending read circuit 23 reads and extends the written data of the circuit 22, and a read CRC check circuit 24 generates the CRC by the output of the circuit 23, compares the CRC with the CRC output of the circuit 21 and confirms the normality of the data. Thus, even in the case of compressed recording, the normality of data can be confirmed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、上位装置とディスク装置との間でデータの授
受を行うディスク処理装置に係り、特に装置内でデータ
コード変換を行って、データの正常性を確認するチェッ
クを行うディスク処理装置に関するである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a disk processing device that exchanges data between a host device and a disk device, and in particular performs data code conversion within the device to convert data. The present invention relates to a disk processing device that performs a check to confirm the normality of a disk.

〔従来の技術〕[Conventional technology]

従来のディスク処理装置においては、上位装置から送ら
れてくるデータパターンを、そのままディスク装置に書
き込むようになっている。
In conventional disk processing devices, data patterns sent from higher-level devices are written directly into the disk device.

そのため、ディスク処理装置内の入力部で生成したCR
Cと、出力部で生成したCRCとを比較して、処理デー
タの正常性を確認するようにしている。
Therefore, the CR generated at the input section in the disk processing device
The normality of the processed data is confirmed by comparing the C and the CRC generated by the output section.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

今後広く用いられるようになるものと思われる、高密度
記録の一手法であるデータ圧縮記録を行うディスク処理
装置では、ディスク処理装置内において、その入力部と
出力部とでデータパターンが一致しないため、入力部と
出力部でそれぞれCRCを生成して比較しても、データ
の正常性の確認を行うことができない。
In disk processing devices that perform data compression recording, which is a high-density recording method that is expected to become widely used in the future, the data pattern does not match between the input section and the output section within the disk processing device. Even if CRCs are generated and compared at the input section and the output section, it is not possible to confirm the normality of the data.

そのため従来のディスク処理装置の回路構成では、この
ようなデータ圧縮記録を行う場合には、対応することが
できないという問題がある。
Therefore, there is a problem in that the circuit configuration of a conventional disk processing device cannot cope with such data compression recording.

〔発明の目的〕[Purpose of the invention]

本発明は、このような従来技術の課題を解決しようとす
るものである。
The present invention aims to solve these problems of the prior art.

すなわち、本発明は、データ圧縮記録を行う場合にも、
入力部と出力部とのCRCの比較によって、データの正
常性を確認することが可能な、ディスク処理装置を提供
することを目的としている。
That is, the present invention also applies when performing data compression recording.
It is an object of the present invention to provide a disk processing device that can confirm the normality of data by comparing CRCs between an input section and an output section.

書き込みCRC生成回路(21)によって、上位装置(
1)からデータを受けてCRCを生成して、最終データ
にこのCRCを付加して出力し、データ圧縮書き込み回
路(22)によって、書き込みCRC生成回路(21)
から出力されたデータを取り込んで圧縮後、ディスク装
置(2)に書き込み、データ伸張読み取り回路(23)
によって、データ圧縮書き込み回路(22)の書き込み
データを読み取って伸張し、読み取りCRCチェック回
路(24)によって、データ伸張読み取り回路(23)
の出力でCRCを生成して、書き込みCRC生成回路(
21)のCRC出力と比較することによってデータの正
常性を確認する、という構成をとっている。これによっ
て前述した目的を達成しようとするものである。
The write CRC generation circuit (21) allows the host device (
1) receives the data and generates a CRC, adds this CRC to the final data and outputs it.
After taking in the data output from and compressing it, it is written to the disk device (2), and the data decompression/reading circuit (23)
The data compression/writing circuit (22) reads and decompresses the write data, and the read CRC check circuit (24) reads and decompresses the data written in the data compression/writing circuit (23).
Generates a CRC with the output of the write CRC generation circuit (
The normality of the data is confirmed by comparing it with the CRC output of 21). This aims to achieve the above-mentioned purpose.

〔課題を解決するための手段〕[Means to solve the problem]

本発明においては、上位語W(1)とディスク装置(3
)との間でデータの授受を行うディスク処理装置(2)
において、 〔作 用〕 上位装置(1)とディスク装置(3)との間でデータの
授受を行うディスク処理装置(2)において、上位装置
(1)からデータを受けてCRCを生成して、最終デー
タにこのCRCを付加して出力し、このデータを取り込
んで圧縮後、ディスク装置(3)に書き込む。一方、こ
の圧縮された書き込みデータを読み取って伸張し、この
出力でCRCを生成して、書き込み時のCRC出力と比
較することによってデータの正常性を確認するようにし
たので、書き込み時にデータを圧縮して記録を行う場合
にも、入力部と出力部とのCRCの比較によって、デー
タの正常性を確認することが可能となる。
In the present invention, the hypernym W(1) and the disk device (3
) Disk processing device (2) that exchanges data with
[Operation] In the disk processing device (2) that exchanges data between the host device (1) and the disk device (3), receives data from the host device (1) and generates a CRC, This CRC is added to the final data and output, the data is taken in, compressed, and written to the disk device (3). On the other hand, this compressed write data is read and decompressed, a CRC is generated from this output, and the normality of the data is confirmed by comparing it with the CRC output at the time of writing, so the data is compressed at the time of writing. Even when recording is performed, it is possible to confirm the normality of the data by comparing the CRCs of the input section and the output section.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図に基づいて説明する。 An embodiment of the present invention will be described below with reference to FIG.

この第1図において、ディスク処理装置2の上位装置で
ある中央処理装置(CPU)1は、ディスク装置3との
間で相互にデータの授受を行う際の、もとのデータが格
納されており、ディスク処理装置2とは、CPUインタ
フェースバス101を介して接続されている。
In FIG. 1, a central processing unit (CPU) 1, which is a host device of a disk processing device 2, stores original data when exchanging data with a disk device 3. , and the disk processing device 2 are connected via a CPU interface bus 101.

また、CPUIとの間で授受されるデータが記録される
ディスク装置3と、ディスク処理装置2とは、デバイス
インタフェース103で接続され、これによって、デバ
イスサブシステムが構成されている。
Further, the disk device 3 in which data exchanged with the CPU is recorded and the disk processing device 2 are connected through a device interface 103, thereby configuring a device subsystem.

本発明は、上位装置1とディスク装置3との間でデータ
の授受を行うディスク処理装置2において、書き込みC
RC生成回路21を設けて、上位装置1からデータを受
けてCRCを生成して、最終データにこのCRCを付加
して出力し、データ圧縮書き込み回路22を設けて、書
き込みCRC生成回路21から出力されたデータを取り
込んで圧縮後、ディスク装置2に書き込み、データ伸張
読み取り回路23を設けて、データ圧縮書き込み回路2
2の書き込みデータを読み取って伸張し、読み取りCR
Cチェック回路24を設けて、データ伸張読み取り回路
23の出力でCRCを生成して、書き込みCRC生成回
路21のCRC出力と比較することによってデータの正
常性を確認するようにしたものである。
The present invention provides a write C
An RC generation circuit 21 is provided to receive data from the host device 1, generate a CRC, add this CRC to the final data and output it, and a data compression write circuit 22 is provided to output it from the write CRC generation circuit 21. After taking in and compressing the data, it is written to the disk device 2. A data decompression/reading circuit 23 is provided, and a data compression/writing circuit 2 is provided.
Read and expand the write data of 2, read CR
A C check circuit 24 is provided to generate a CRC from the output of the data decompression/read circuit 23 and compare it with the CRC output of the write CRC generation circuit 21 to confirm the normality of the data.

以下、本発明の構成をさらに詳細に説明する。Hereinafter, the configuration of the present invention will be explained in more detail.

ディスク処理装置2において、書き込みCRC生成回路
21は、CPUインタフェースバス101を介して送ら
れてくるデータを入力してCRCを生成して最終データ
まで生成を行い、生成したCRCコードを最終データに
続けて付加して、ライトデータバス102に送出する。
In the disk processing device 2, the write CRC generation circuit 21 inputs data sent via the CPU interface bus 101, generates a CRC, generates the final data, and continues the generated CRC code with the final data. The data is added to the data and sent to the write data bus 102.

データ圧縮書き込み回路22は、ライトデータバス10
2からのデータを、例えば同じデータパターンが続いた
とき圧縮して1データバイトにする等のデータ圧縮処理
を行って、圧縮したデータをデバイスインタフェース1
03に送出すると同時に、データ伸張読み取り回路23
にも入力する。
The data compression write circuit 22 includes a write data bus 10.
The data from 2 is compressed to 1 data byte when the same data pattern continues, and the compressed data is transferred to device interface 1.
At the same time, the data decompression reading circuit 23
Also enter.

データ伸張読み取り回路23は、デバイスインタフェー
ス103の圧縮データを、データ圧縮書き込み回路22
におけると逆の処理によって伸張して、リードデータバ
ス104を経て、読み取りCRCチェンク回路24に入
力する。
The data decompression read circuit 23 transfers compressed data from the device interface 103 to the data compression write circuit 22.
The data is decompressed by the reverse process and input to the read CRC check circuit 24 via the read data bus 104.

読み取りCRCチェック回路24では、先に書き込みC
RC生成回路21で生成したCRCコードと、データ伸
張読み取り回路23で生成したCRCとを比較する。両
CRCが一致した正常処理の場合には、読み取りCRC
チェック回路24の出力は常に0となる。書き込み動作
時には、データ圧縮書き込み回路22からの動作中信号
105によって、読み取りCR,Cチェック回路24か
らデータをQPUパスインタフェース101に出力しな
いようにされる。
The read CRC check circuit 24 first checks the write C
The CRC code generated by the RC generation circuit 21 and the CRC generated by the data decompression reading circuit 23 are compared. In case of normal processing where both CRCs match, read CRC
The output of the check circuit 24 is always 0. During a write operation, the in-operation signal 105 from the data compression write circuit 22 prevents the read CR and C check circuit 24 from outputting data to the QPU path interface 101 .

以下、図に示されたディスク処理装置の動作を説明する
The operation of the disk processing device shown in the figure will be explained below.

いま、CPUIからのデータ群を、ディスク装置3に書
き込む場合には、CPUインタフェース101を経て入
力されるデータを、まず書き込みCRC生成回路21に
おいてCR,C生成用に使用し、そのまま次のデータ圧
縮書き込み回路22へ出力する。
Now, when writing a data group from the CPU to the disk device 3, the data input via the CPU interface 101 is first used in the write CRC generation circuit 21 for CR and C generation, and then used for the next data compression. Output to the write circuit 22.

最終データまでCRC生成を行うと、そのCRC生成コ
ードもデータ群として送出する。データ圧縮書き込み回
路22では、データバイトをパターンチェックして圧縮
できるか否かを判断し、圧縮できるときは圧縮して、出
力データをデバイスインタフェース103に送出する。
When CRC generation is performed up to the final data, the CRC generation code is also sent out as a data group. The data compression write circuit 22 checks the pattern of the data bytes to determine whether the data can be compressed, and if it can be compressed, compresses it and sends the output data to the device interface 103.

ディスク装置3は、デバイスインタフェース103を経
て入力されたデータを記録する。
The disk device 3 records data input via the device interface 103.

データ伸張読み取り回路23では、デバイスインタフェ
ース103における圧縮されたデータを伸張して、CP
UIからの書き込みデータと同じ形に戻して、リードデ
ータバス104を介して読み取りCRCチェック回路2
4に入力する。
The data decompression/reading circuit 23 decompresses the compressed data in the device interface 103 and sends it to the CP
The data is returned to the same form as the write data from the UI, and then read via the read data bus 104 and read by the CRC check circuit 2.
Enter 4.

読み取りCRCチェック回路24では、復元されたデー
タによるCRC生成を最終データまで行い、書き込みC
RC生成回路21からのCRCコードを入力する。一連
のデータ圧縮および伸張が正常に行われていれば、読み
取りCRCチェック回路24の出力は0となり、そうで
ないときは1となる9読み取りCRCチェック回路24
におけるチェック結果は、CPUインタフェース101
を介してCPUIに通知されるので、CPUIはディス
ク処理装置内のデータ転送ハードウェアでのデータの正
常性を確認できる。
The read CRC check circuit 24 generates a CRC using the restored data up to the final data, and then generates a CRC using the restored data.
The CRC code from the RC generation circuit 21 is input. If a series of data compression and expansion are performed normally, the output of the read CRC check circuit 24 is 0, otherwise it is 1.9 Read CRC check circuit 24
The check result in the CPU interface 101
Since the CPUI is notified via the , the CPUI can confirm the normality of the data in the data transfer hardware in the disk processing device.

この場合、データ圧縮書き込み回路22からディスク装
置3に対する書き込み動作中は、データ圧縮書き込み回
路22からの書き込み動作中信号105によって、読み
取りCRCチェック回路24からのチェック結果のデー
タの出力が禁止されるので、CPUIから送出されるデ
ータに悪影響を与えることはない。
In this case, while the data compression write circuit 22 is writing to the disk device 3, the write operation signal 105 from the data compression write circuit 22 prohibits the read CRC check circuit 24 from outputting check result data. , will not adversely affect data sent from the CPUI.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明のディスク処理装置によれば
、ディスク装置への書き込み動作時、データの入力部で
CRCを生成し、ディスク装置にデータを書き込むと同
時に、処理装置内の読み取り回路にもデータを送ってC
RCを生成して入力部で生成したCRCと比較して、C
RCチェックを行うようにしたので、書き込み回路でデ
ータの圧縮処理を行う場合でも、ディスク装置に書き込
まれるデータの正常性を、リアルタイムに確認すること
が可能となる。
As explained above, according to the disk processing device of the present invention, when writing to the disk device, the data input section generates a CRC, and at the same time the data is written to the disk device, the reading circuit in the processing device also generates a CRC. Send the data C
Generate RC and compare it with the CRC generated in the input section.
Since the RC check is performed, even when the write circuit performs data compression processing, it is possible to check the normality of data written to the disk device in real time.

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

第1図は本発明の一実施例を示すブロック図である。 1−上位装置、2−  ディスク処理装置、3・−ディ
スク装置、21−書き込みCRC生成回路、22−・デ
ータ圧縮書き込み回路、23−データ伸張読み取り回路
、24−読み取りCRCチェック回路。 出願人  日 本 電 気 株式会社 代理人  弁理士   高 橋  勇
FIG. 1 is a block diagram showing one embodiment of the present invention. 1-host device, 2-disk processing device, 3-disk device, 21-write CRC generation circuit, 22-data compression write circuit, 23-data decompression read circuit, 24-read CRC check circuit. Applicant Nippon Electric Co., Ltd. Agent Patent Attorney Isamu Takahashi

Claims (1)

【特許請求の範囲】[Claims] (1)、上位装置とディスク装置との間でデータの授受
を行うディスク処理装置において、 上位装置からデータを受けてCRCを生成し、最終デー
タに該CRCを付加して出力する書き込みCRC生成回
路と、該書き込みCRC生成回路から出力されたデータ
を取り込んで圧縮後、ディスク装置に書き込むデータ圧
縮書き込み回路と、該データ圧縮書き込み回路の書き込
みデータを読み取って伸張するデータ伸張読み取り回路
とを備え、 このデータ伸張読み取り回路の出力でCRCを生成して
前記書き込みCRC生成回路のCRC出力と比較するこ
とによってデータの正常性を確認する読み取りCRCチ
ェック回路を装備したことを特徴とするディスク処理装
置。
(1) In a disk processing device that exchanges data between a host device and a disk device, a write CRC generation circuit that receives data from the host device, generates a CRC, adds the CRC to the final data, and outputs it. a data compression/writing circuit that captures data output from the write CRC generation circuit, compresses it, and writes it to a disk device; and a data decompression/read circuit that reads and decompresses the data written by the data compression/writing circuit. A disk processing device characterized in that it is equipped with a read CRC check circuit that generates a CRC using the output of the data decompression read circuit and compares it with the CRC output of the write CRC generation circuit to check the normality of data.
JP16474490A 1990-06-22 1990-06-22 Disk processing device Pending JPH0457256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16474490A JPH0457256A (en) 1990-06-22 1990-06-22 Disk processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16474490A JPH0457256A (en) 1990-06-22 1990-06-22 Disk processing device

Publications (1)

Publication Number Publication Date
JPH0457256A true JPH0457256A (en) 1992-02-25

Family

ID=15799087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16474490A Pending JPH0457256A (en) 1990-06-22 1990-06-22 Disk processing device

Country Status (1)

Country Link
JP (1) JPH0457256A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7870467B2 (en) 2008-04-30 2011-01-11 Kabushiki Kaisha Toshiba Data converter, information recorder, and error detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7870467B2 (en) 2008-04-30 2011-01-11 Kabushiki Kaisha Toshiba Data converter, information recorder, and error detector

Similar Documents

Publication Publication Date Title
US6105154A (en) Multi-bus multi-data transfer protocols controlled by a bus arbiter coupled to a CRC signature compactor
JP2672916B2 (en) Data check method for array disk device
JPH0457256A (en) Disk processing device
JPH04241681A (en) Storage device of compression switching system
JPH04167029A (en) Fault detection and decision device
JPH0497415A (en) Disk processor
JP2695790B2 (en) Image processing system
TWI790506B (en) System for development interface and data transmission method for development interface
JP2843071B2 (en) Logic circuit test apparatus and test method thereof
JP7493001B2 (en) Compression/Decompression Apparatus, Storage System, and Compression/Decompression Method
JPH0635613A (en) Compression/expansion data testing device
JP2002207641A (en) Data transfer circuit and fault detecting method
JP3314387B2 (en) Magnetic tape controller
JP2001060177A (en) Data streamer
JPS61289765A (en) Picture processing system
JPS63149768A (en) Picture information processor
JPH08129510A (en) Memory data correcting device
JP2002116885A (en) Storage device
JPH03164951A (en) File data storing device
JPH0357015A (en) Electronic disk subsystem
JPH0426500B2 (en)
JPH04318754A (en) Communication function check method in picture data recorder
JPH05204552A (en) Data write system
JP2000011540A (en) Magnetic tape control device with compression mechanism
JPH11219323A (en) Data path fault detection method and information processor