JPH11259991A - Device and method for recording/reproducing data, and av server - Google Patents

Device and method for recording/reproducing data, and av server

Info

Publication number
JPH11259991A
JPH11259991A JP10347662A JP34766298A JPH11259991A JP H11259991 A JPH11259991 A JP H11259991A JP 10347662 A JP10347662 A JP 10347662A JP 34766298 A JP34766298 A JP 34766298A JP H11259991 A JPH11259991 A JP H11259991A
Authority
JP
Japan
Prior art keywords
data
recording
error correction
reproducing
divided data
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.)
Granted
Application number
JP10347662A
Other languages
Japanese (ja)
Other versions
JP4110496B2 (en
Inventor
Tokuichi Ito
徳一 伊藤
Satoshi Yonetani
聡 米谷
Masakazu Yoshimoto
正和 吉本
Satoshi Katsuo
聡 勝尾
Jun Yoshikawa
潤 吉川
Satoshi Yuya
聡 油谷
Koichi Sato
晃一 佐藤
Tomohisa Shiga
知久 志賀
Hiroyuki Fujita
裕之 藤田
Masaki Hirose
正樹 広瀬
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP34766298A priority Critical patent/JP4110496B2/en
Publication of JPH11259991A publication Critical patent/JPH11259991A/en
Application granted granted Critical
Publication of JP4110496B2 publication Critical patent/JP4110496B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect and correct a data error even during reallocation, performing reallocation without interrupting the operation of data recording/ reproducing, and to perform data recording/reproducing suited to real time processing. SOLUTION: This device 11 generates a plurality of divided data by dividing input data D1 by a data distributor 22, generates redundant code data P1 and P2 based on Reed Solomon Code by a redundant code generator 26, and these are recorded by HDDs 211 to 21k , 281 and 282 . In reallocation, a CPU 33 excludes HDD for performing reallocation from the recording/reproducing targets of the divided data, and performs reallocation for the HDD for reallocation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ビデオデータやオ
ーディオデータ等を記録、再生するデータ記録再生装置
および方法ならびにAV(オーディオ・ビデオ)サーバ
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording / reproducing apparatus and method for recording and reproducing video data and audio data, and an AV (audio / video) server.

【0002】[0002]

【従来の技術】近年、CATV(ケーブル・テレビジョ
ン)等の普及による情報提供の多チャネル化に伴い、従
来のVTR(ビデオ・テープ・レコーダ)とは異なり、
1台の映像・音声データ記録再生装置から複数の映像・
音声データを同時に再生するという要求が高まりつつあ
る。そして、この要求を満たすために、ハードディスク
等のランダムアクセスが可能な記録再生メディアを使用
して、映像・音声データを記録再生するビデオサーバと
呼ばれる装置が普及しつつある。
2. Description of the Related Art In recent years, with the spread of information channels due to the spread of CATV (cable television) and the like, unlike conventional VTRs (video tape recorders),
Multiple video / audio data from one video / audio data recording / reproducing device
There is an increasing demand for simultaneously reproducing audio data. In order to satisfy this demand, a device called a video server that records and reproduces video and audio data using a random access recording and reproduction medium such as a hard disk is becoming widespread.

【0003】一般的に、例えば放送局内におけるビデオ
サーバにおいては、画質・音質に対する要求から、必要
とされるデータの転送レートが高い上に、長時間のデー
タを記録するために大容量である必要がある。そこで、
映像・音声データを蓄積すると共に並列運転可能な複数
のハードディスク装置を含むデータ記録再生装置を用い
ることによりデータ転送レートの高速化と大容量化を図
る試みや、更にパリティデータを記録しておくことによ
り、万一いずれかのハードディスク装置が故障しても信
頼性を確保できるようにする試みがなされている。これ
により、放送局が提供しようとしている番組の内容や放
送形態により要求されるチャネル数が異なる場合であっ
ても、複数の素材データを分散的に記録しておいて多チ
ャネルの送出を同時に行ったり、同一の素材データを再
生時間をずらして多チャネルで再生することによりニア
・ビデオ・オン・デマンド(NVOD)システムを構築
する等、多様な使用形態に対応し得るマルチチャネルビ
デオサーバを実現することができる。
In general, for example, in a video server in a broadcasting station, a required data transfer rate is high and a large capacity is required for recording long-time data due to requirements for image quality and sound quality. There is. Therefore,
Attempt to increase the data transfer rate and increase the capacity by using a data recording / reproducing device that includes a plurality of hard disk devices that can store video and audio data and operate in parallel, and record parity data Thus, an attempt has been made to ensure reliability even if any hard disk device fails. As a result, even when the number of channels required varies depending on the content of the program or the broadcasting format that the broadcasting station intends to provide, a plurality of material data are recorded in a distributed manner, and simultaneous transmission of multiple channels is performed. Or a multi-channel video server capable of supporting various usage modes, such as constructing a near video on demand (NVOD) system by reproducing the same material data on multiple channels with different reproduction times. be able to.

【0004】このようなマルチチャネルビデオサーバに
用いられるデータ記録再生装置には、1988年にPatt
erson 等により発表された論文の中で提唱されているR
AID(Redundant Arrays of Inexpensive Disks )技
術が使用されている。上記論文の中では、RAIDはR
AID−1からRAID−5まで5つに分類されてい
る。このうち、代表的なものはRAID−1、RAID
−3およびRAID−5である。RAID−1は、2つ
のハードディスクに同じ内容を書き込む方式である。
A data recording / reproducing apparatus used in such a multi-channel video server includes Patt in 1988.
R proposed in a paper published by erson et al.
AID (Redundant Arrays of Inexpensive Disks) technology is used. In the above paper, RAID is R
It is classified into five from AID-1 to RAID-5. Among them, the typical ones are RAID-1, RAID
-3 and RAID-5. RAID-1 is a method of writing the same contents to two hard disks.

【0005】RAID−3は、入力データを一定の長さ
に分割して、複数のハードディスク装置に記録すると共
に、パリティデータを生成して、他の1台のハードディ
スク装置に書き込む方式である。
[0005] RAID-3 is a system in which input data is divided into fixed lengths, recorded on a plurality of hard disk drives, and parity data is generated and written into another hard disk drive.

【0006】図11は、RAID−3を用いたデータ記
録再生装置の構成の一例を示すブロック図である。この
データ記録再生装置101は、入力データを記録するた
めの複数のハードディスク装置(以下、HDDと言
う。)1021 〜102N と(Nは2以上の整数値)
と、冗長符号としてパリティデータPを記録するための
HDD109と、入力データDI を一定の長さに分割し
て複数の分割データを生成し、各分割データを各HDD
1021 〜102N に分配するデータ分配器106と、
データ分配器106より出力される分割データからパリ
ティデータPを生成するためのパリティ生成器107
と、データ分配器106より出力される各分割データを
一時的に保持する入力メモリ1041 〜104N と、パ
リティ生成器107より出力されるパリティデータPを
一時的に保持する入力メモリ108と、それぞれHDD
1021 〜102N ,109に接続され、入力メモリ1
041 〜104N ,108によって保持されたデータの
HDD1021 〜102N ,109への記録とHDD1
021 〜102N ,109からのデータの再生とを制御
するコントローラ1031 〜103N ,110と、各H
DD1021 〜102N ,109から読み出されたデー
タを一時的に保持する出力メモリ1051 〜105N
111と、出力メモリ1051 〜105N ,111によ
って保持されたデータと後述するエラー情報とに基づい
てエラー検出およびエラー訂正を行って分割データの修
復を行うエラー訂正器112と、エラー訂正器112の
出力データを多重化して、出力データDo として出力す
るデータ多重器113と、これら装置全体を制御するC
PU114とを備えている。
FIG. 11 is a block diagram showing an example of the configuration of a data recording / reproducing apparatus using RAID-3. The data recording / reproducing apparatus 101 includes a plurality of hard disk devices (hereinafter, referred to as HDDs) 102 1 to 102 N for recording input data (N is an integer value of 2 or more).
When, the HDD109 for recording parity data P as a redundant code, and divides the input data D I to length to generate a plurality of divided data, each HDD each divided data
A data distributor 106 for distributing to 102 1 to 102 N ;
Parity generator 107 for generating parity data P from the divided data output from data distributor 106
An input memory 104 1 to 104 N for temporarily storing each divided data output from the data distributor 106, an input memory 108 for temporarily storing parity data P output from the parity generator 107, Each HDD
102 1 to 102 N , connected to the input memory 1
Recording the data held by the HDDs 104 1 to 104 N and 108 in the HDDs 102 1 to 102 N and 109 and the HDD 1
Controllers 103 1 to 103 N , 110 for controlling reproduction of data from 02 1 to 102 N , 109;
Output memories 105 1 to 105 N for temporarily holding data read from the DDs 102 1 to 102 N , 109;
111, an error corrector 112 that performs error detection and error correction based on the data held by the output memories 105 1 to 105 N and 111 and error information to be described later to repair the divided data, and an error corrector 112 output data by multiplexing of the data multiplexer 113 to output as the output data D o, C which controls the entire these devices
PU114.

【0007】次に、データ記録再生装置101のデータ
の書き込み動作について説明する。入力データDI は、
データ分配器106に入力されて複数の分割データが生
成され、各分割データは、入力メモリ1041 〜104
N に分配されて一旦記録されると共に、パリティ生成器
107に入力される。このとき、データの分配方法とし
ては、例えば、ビット単位あるいはバイト単位でデータ
列D1,D2,D3,D4,D5,…のように並んでい
るとして、データD1を1台目のHDD1021 に分配
し、データD2を2台目のHDD1022 に分配すると
いうように、データを順番に分配していき、データDN
を最後のN台目のHDD102N に分配し終えたら、再
度、最初のHDD1021 から順にデータを分配してい
く方法がある。
Next, a data write operation of the data recording / reproducing apparatus 101 will be described. Input data D I is,
The divided data is input to the data distributor 106 to generate a plurality of divided data. Each divided data is stored in the input memories 104 1 to 104 1
The data is distributed to N , recorded once, and input to the parity generator 107. At this time, as a data distribution method, for example, the data D1 is distributed to the first HDD 102 Then, the data D2 is distributed to the second HDD 1022, and so on.
Is distributed to the last Nth HDD 102 N , there is a method of again distributing data sequentially from the first HDD 102 1 .

【0008】パリティ生成器107は、データ分配器1
06から出力される分割データに基づいて、パリティデ
ータPを生成して出力する。入力メモリ108は、この
パリティデータPを一旦記録する。その後、各HDD1
021 〜102N ,109のコントローラ1031 〜1
03N ,110は、CPU114の制御に基づいて、入
力メモリ1041 〜104N ,108から分割データお
よびパリティデータPを読み出して、各HDD1021
〜102N ,109に書き込む。
[0008] The parity generator 107 is a data distributor 1
The parity data P is generated and output based on the divided data output from the data 06. The input memory 108 records the parity data P once. After that, each HDD 1
02 1 to 102 N , 109 controllers 103 1 to 1
03 N, 110, under control of the CPU 114, reads the divided data and the parity data P from the input memory 104 1 -104 N, 108, each HDD 102 1
Write to 102 N , 109.

【0009】次に、データ記録再生装置101のデータ
の読み出し動作について説明する。各コントローラ10
1 〜103N ,110は、各HDD1021 〜102
N ,109から分割データおよびパリティデータPを読
み出し、それぞれ出力メモリ1051 〜105N ,11
1に書き込む。このとき、HDD1021 〜102N
109におけるデータの読み出し動作にエラー(以下、
読み出しエラーと言う。)が発生した場合には、その旨
を表すエラー情報が、HDD1021 〜102N ,10
9内の制御部より、ステータスデータとしてコントロー
ラ1031 〜103N ,110に送られ、更に、コント
ローラ1031 〜103N ,110からCPU114
へ、エラー情報Er1 〜ErN ,Erp として送られ
る。
Next, the data reading operation of the data recording / reproducing apparatus 101 will be described. Each controller 10
31 1 to 103 N , 110 are HDDs 102 1 to 102, respectively.
N , 109, the divided data and the parity data P are read out, and the output memories 105 1 to 105 N , 11 are respectively read.
Write to 1. At this time, the HDDs 102 1 to 102 N ,
An error occurred in the data read operation at 109 (hereinafter, referred to as
This is called a read error. ) Occurs, error information indicating that fact is stored in the HDDs 102 1 to 102 N , 10 N.
9 is sent to the controllers 103 1 to 103 N and 110 as status data from the controller 103 1 , and further sent from the controllers 103 1 to 103 N and 110 to the CPU 114.
To, error information Er 1 to Er N, sent as Er p.

【0010】出力メモリ1051 〜105N ,111に
記録された各データは、同期がとられてエラー訂正器1
12に出力される。このとき、読み出しエラーが発生し
ていた場合には、その旨を表すエラー情報が、CPU1
14よりエラー訂正器112に送られる。このエラー情
報は、読み出しエラーが発生したHDDを特定する情報
を含んでいる。エラー訂正器112は、エラー情報とパ
リティデータPとを用いて、分割データを修復して、デ
ータ多重器113に出力する。なお、エラー訂正器11
2によってデータを修復できるのは、1台のHDDで読
み出しエラーがあった場合のみである。複数のHDDで
読み出しエラーがあった場合には、エラー訂正器112
は、エラーの検出はできるが、データの修復はできな
い。データ多重器113は、エラー訂正器112から出
力された分割データを元のデータ列に並べ替えて、出力
データDo として外部へ出力する。
The data recorded in the output memories 105 1 to 105 N and 111 are synchronized with each other, and
12 is output. At this time, if a read error has occurred, error information indicating that
14 to the error corrector 112. This error information includes information for specifying the HDD in which the read error has occurred. The error corrector 112 restores the divided data using the error information and the parity data P, and outputs the restored data to the data multiplexer 113. Note that the error corrector 11
2 can recover data only when there is a read error in one HDD. If there is a read error in a plurality of HDDs, the error corrector 112
Can detect errors, but cannot repair data. The data multiplexer 113 rearranges the divided data output from the error corrector 112 into the original data sequence, and outputs it as output data Do to the outside.

【0011】一方、RAID−5は、データの分割の単
位(ブロック)を大きくして、1つの分割データをデー
タブロックとして1つのHDDに記録すると共に、各H
DDの互いに対応するデータブロックの排他的論理和を
とった結果(パリティデータ)をパリティブロックとし
て他のHDDに記録すると共に、パリティブロックを全
HDDに分散する方式である。
On the other hand, in RAID-5, the unit of data division (block) is increased, one divided data is recorded as a data block in one HDD, and each H
In this system, the result (parity data) of the exclusive OR of the DD corresponding data blocks is recorded as a parity block in another HDD, and the parity block is distributed to all HDDs.

【0012】図12は、RAID−5を用いたデータ記
録再生装置の構成の一例を示すブロック図である。この
データ記録再生装置201は、入力データを記録するた
めの複数のHDD2021 〜202N (Nは2以上の整
数値)と、入力データDI とHDD2021 〜202N
に記録されたデータとに基づいてパリティデータを生成
すると共に、各HDD2021 〜202N から読み出さ
れたデータとエラー情報とに基づいてエラー訂正を行っ
てデータの修復を行うパリティ生成・エラー訂正器21
2と、パリティ生成・エラー訂正器212の出力データ
を一時的に保持する入力メモリ2041 〜204N と、
それぞれHDD2021 〜202N に接続され、入力メ
モリ2041 〜204N によって保持されたデータのH
DD2021 〜202N への記録とHDD2021 〜2
02N からのデータの再生とを制御するコントローラ2
031 〜203N と、各HDD2021 〜202N から
読み出されたデータを一時的に保持する出力メモリ20
1 〜205N と、これら装置全体を制御するCPU2
14とを備えている。なお、HDD2021 〜202N
において読み出しエラーが発生した場合には、その旨を
表すエラー情報が、HDD2021 〜202N 内の制御
部より、ステータスデータとしてコントローラ2031
〜203N に送られ、更に、コントローラ2031 〜2
03N からCPU214へ、エラー情報Er1 〜ErN
として送られる。
FIG. 12 is a block diagram showing an example of the configuration of a data recording / reproducing apparatus using RAID-5. The data recording and reproducing apparatus 201 includes a plurality of HDD 202 1 to 202 N for recording input data (N is 2 or more integer), the input data D I and HDD 202 1 to 202 N
Parity generation and error correction for generating parity data based on the data recorded in the HDD and performing error correction based on the data read from each of the HDDs 202 1 to 202 N and error information to restore the data. Vessel 21
2, input memories 204 1 to 204 N for temporarily holding output data of the parity generation / error corrector 212,
Connected to each HDD 202 1 to 202 N, the data held by the input memory 204 1 to 204 N H
Recording on the DD 202 1 to 202 N and the HDD 202 1 to 2
Controlling the reproduction of data from the 02 N controller 2
03 1 to 203 N and an output memory 20 for temporarily holding data read from each of the HDDs 202 1 to 202 N.
And 5 1 ~205 N, CPU2 for controlling the whole of these devices
14 is provided. Note that the HDDs 202 1 to 202 N
When a read error occurs in the HDD 202 1 to 202 N , the control unit in the HDDs 202 1 to 202 N sends the error information as status data to the controller 203 1.
To 203 N , and further to controllers 203 1 to 203 N
03 N to the CPU 214, the error information Er 1 to Er N
Sent as

【0013】次に、データ記録再生装置201のデータ
の書き込み動作について説明する。例えばHDD202
1 にあるアドレスAにデータDを書き込む場合に、デー
タDに対応するパリティデータPがHDD2022 に記
録されていたとすると、CPU214はHDD2021
から既に記録されているデータD1 を読み出し、HDD
2022 からパリティデータPを読み出すようにコント
ローラ2031 ,2032 を制御する。このとき、パリ
ティ生成・エラー訂正器212は、データD1とパリテ
ィデータPの排他的論理和を計算して、データD1 がな
い状態のパリティデータP1 を復元する。その後、パリ
ティ生成・エラー訂正器212は、データDとパリティ
データP1 との排他的論理和を計算して、新たなパリテ
ィデータP2 を求める。CPU214は、データDをH
DD2021 に書き込み、パリティデータP2 をHDD
2022 に書き込むようにコントローラ2031 ,20
2 を制御する。
Next, a data write operation of the data recording / reproducing apparatus 201 will be described. For example, HDD 202
When writing data D in the address A in the 1, the parity data P corresponding to the data D is to have been recorded in the HDD 202 2, CPU 214 is HDD 202 1
Data D 1 already read from the HDD
The controller 203 1 , 203 2 is controlled so that the parity data P is read from 202 2 . At this time, the parity generation / error corrector 212 calculates the exclusive OR of the data D 1 and the parity data P, and restores the parity data P 1 without the data D 1 . Thereafter, the parity generation / error corrector 212 calculates an exclusive OR of the data D and the parity data P 1 to obtain new parity data P 2 . The CPU 214 sets the data D to H
DD202 1 and parity data P 2 is stored in HDD
Controller 203 1 , 20 so as to write to 202 2
To control the 3 2.

【0014】次に、データ記録再生装置201のデータ
の読み出し動作について説明する。例えばHDD202
1 にあるアドレスAからデータDを読み出す場合は、C
PU214は、HDD2021 からデータDを読み出す
ようにコントローラ2031を制御し、このとき、読み
出しエラーが発生しなければ、HDD2021 から読み
出したデータDを、出力メモリ2051 およびパリティ
生成・エラー訂正器212を経て出力データDo として
出力するようにパリティ生成・エラー訂正器212を制
御する。このとき、パリティ生成・エラー訂正器212
では特に処理を行わない。
Next, the data reading operation of the data recording / reproducing apparatus 201 will be described. For example, HDD 202
To read data D from address A at 1
PU214 controls the controller 203 1 to read the data D from the HDD 202 1, this time, if the read error occurs, the data D read out from the HDD 202 1, output memory 205 1 and a parity generation and error corrector The parity generator / error corrector 212 is controlled so as to output as the output data Do via the 212. At this time, the parity generation / error correction unit 212
No particular processing is performed.

【0015】一方、データ記録再生装置201のデータ
の読み出しが正常に行われなかった場合、例えばHDD
2021 にあるアドレスAからデータDを読み出そうと
したが、欠陥セクタ等によりデータDを読み出すことが
できなかった場合には、CPU214は、コントローラ
2031 よりエラー情報Er1 を受ける。この場合、C
PU214は、他のHDD2022 〜202N の対応す
るアドレスからデータを読み出して、パリティ生成・エ
ラー訂正器212に送り、これらのデータに基づいてパ
リティ生成・エラー訂正器212によってデータDを再
生し、出力データDo として出力するようにパリティ生
成・エラー訂正器212を制御する。
On the other hand, when the data reading of the data recording / reproducing apparatus 201 is not performed normally,
202 was attempting to read the data D from an address A to 1, if it can not be read data D by the defective sector or the like, CPU 214 receives the error information Er 1 from the controller 203 1. In this case, C
The PU 214 reads data from the corresponding addresses of the other HDDs 202 2 to 202 N and sends the data to the parity generation / error correction unit 212. Based on these data, the parity generation / error correction unit 212 reproduces the data D, The parity generator / error corrector 212 is controlled so as to output as the output data Do.

【0016】このように、RAID−5を用いたデータ
記録再生装置201では、入力データの書き込みの際に
は、データブロックの読み出しおよび書き込み、パリテ
ィブロックの読み出しおよび書き込みを行う必要がある
ため、アクセス回数が多くなる。また、データの読み出
しの際にエラーが発生したときには、他のHDDよりデ
ータを読み出してデータを復元するため、やはりアクセ
ス回数が多くなる。従って、RAID−5を用いたデー
タ記録再生装置201は、決まった大きさの論理ブロッ
クをランダムにアクセスする処理には適しているが、リ
アルタイム性が要求される処理には適さない。
As described above, in the data recording / reproducing apparatus 201 using RAID-5, when input data is written, it is necessary to read and write a data block and read and write a parity block. The number increases. Further, when an error occurs during data reading, data is read from another HDD and data is restored, so that the number of accesses also increases. Therefore, the data recording / reproducing apparatus 201 using RAID-5 is suitable for a process of randomly accessing a logical block of a predetermined size, but is not suitable for a process requiring real-time properties.

【0017】一方、RAID−3を用いたデータ記録再
生装置101は、入力データの書き込みは、1回のアク
セスで可能であり、データの読み出し後のエラー訂正も
即座に行うことができる。そのため、RAID−3を用
いたデータ記録再生装置101は、データを高速に記
録、再生する処理に適している。従って、マルチチャネ
ルビデオサーバ等のリアルタイム性が要求される装置で
は、RAID−3を用いたデータ記録再生装置が適して
いる。
On the other hand, in the data recording / reproducing apparatus 101 using RAID-3, writing of input data is possible by one access, and error correction after data reading can be performed immediately. Therefore, the data recording / reproducing apparatus 101 using RAID-3 is suitable for processing for recording and reproducing data at high speed. Therefore, a data recording / reproducing device using RAID-3 is suitable for a device requiring real-time properties such as a multi-channel video server.

【0018】[0018]

【発明が解決しようとする課題】ところで、ハードディ
スク上には、同心円状に複数のトラックが設定され、ト
ラックは放射状に区切られて、データの記録単位である
複数のセクタが設定される。これらのセクタには、デー
タの書き込みや読み出しの際に、常にエラーが発生する
ようなセクタが存在する場合がある。このようなセクタ
は、欠陥セクタと呼ばれ、物理的な傷等により正しくデ
ータの読み出しあるいは書き込みができない状態となっ
ていると考えられる。このような欠陥セクタの発生に備
えて、ハードディスク上に予備のセクタを予め確保して
おき、必要に応じて、欠陥セクタの代わりに予備のセク
タにデータを記録する方法がある。このような予備のセ
クタは代替セクタと呼ばれる。この代替セクタを有する
HDDでは、HDD内の制御部は、欠陥セクタの代わり
に代替セクタが用いられても、上位からは同じセクタ番
号で参照できるように、論理的なセクタ番号(LBA)
と物理的なセクタ番号を対応付ける対応表を内部で持っ
ており、欠陥セクタが発生した場合には、LBAとハー
ドディスク上の記録領域における物理的なセクタ番号と
の対応関係を変える再割り付け処理(Reassign)を行う
ようになっている。
On the hard disk, a plurality of tracks are set concentrically, and the tracks are radially divided to set a plurality of sectors as data recording units. In some of these sectors, there is a sector in which an error always occurs when writing or reading data. Such a sector is called a defective sector, and it is considered that data cannot be read or written correctly due to physical damage or the like. In preparation for such a defective sector, there is a method in which a spare sector is reserved in advance on the hard disk, and data is recorded in the spare sector instead of the defective sector as necessary. Such a spare sector is called a replacement sector. In the HDD having the replacement sector, the control unit in the HDD is configured to provide a logical sector number (LBA) such that even if the replacement sector is used instead of the defective sector, the HDD can be referred to by the same sector number from a higher rank.
Has a correspondence table for associating the LBA with the physical sector number in the recording area on the hard disk when a defective sector occurs. ).

【0019】上述のような再割り付け処理は、比較的長
い時間(数秒)を要し、従来、一般的には、データ記録
再生装置の運用中には行われなかった。しかしながら、
マルチチャネルビデオサーバ等のリアルタイム性が要求
される装置では、再割り付け処理によって装置の運用が
中断するのは好ましくないため、装置の運用中でも再割
り付け処理を行うことができることが望まれる。
The re-allocation process as described above requires a relatively long time (several seconds), and has not been generally performed during the operation of the data recording / reproducing apparatus. However,
In a device such as a multi-channel video server that requires real-time processing, it is not preferable that the operation of the device is interrupted by the re-allocation process.

【0020】そこで、以下で説明するように、データ記
録再生装置の運用中に再割り付け処理を行うことも考え
られる。以下、図11に示したRAID−3を用いたデ
ータ記録再生装置101において、運用中に再割り付け
処理を行うようにした場合の再割り付け処理の動作につ
いて説明する。
Therefore, as described below, it is conceivable to perform the reallocation processing during the operation of the data recording / reproducing apparatus. Hereinafter, the operation of the reallocation processing when the data recording / reproducing apparatus 101 using RAID-3 shown in FIG. 11 performs the reallocation processing during operation will be described.

【0021】ここでは、データ記録再生装置101に対
して、上位の装置から再割り付け処理を行うよう指示が
あったとする。CPU114は、この指示を受けると、
再割り付けを行うHDDにおける書き込み動作および読
み出し動作を停止する。次に、CPU114は、再割り
付けを行うHDDに対して、再割り付けを行うセクタを
指定して、再割り付け処理を開始させる。再割り付け処
理は、前述のように、LBAと物理的なセクタ番号との
対応関係を変えることである。CPU114は、再割り
付け処理中に、書き込みを指示するコマンドを受信した
場合には、再割り付けを行うHDD以外のHDDにおい
て書き込み動作を行わせると共に、再割り付けを行うH
DDと書き込みが指示されたLBAとを記憶しておく。
CPU114は、再割り付け処理中に、読み出しを指示
するコマンドを受信した場合には、再割り付けを行うH
DD以外のHDDにおいて読み出し動作を行わせると共
に、エラー訂正器112に対して、再割り付けを行うH
DDからのデータを無効としてエラー訂正を行うように
指示を与える。CPU114は、再割り付け処理が終了
したら、再割り付けを行うHDDにおける書き込み動作
および読み出し動作の停止を解除する。
Here, it is assumed that the data recording / reproducing apparatus 101 has been instructed by a higher-level apparatus to perform a re-allocation process. Upon receiving this instruction, the CPU 114
The write operation and read operation in the HDD to be reallocated are stopped. Next, the CPU 114 specifies the sector to be reallocated to the HDD to be reallocated, and starts the reallocation process. As described above, the reallocation processing is to change the correspondence between the LBA and the physical sector number. When the CPU 114 receives a command instructing writing during the reallocation processing, the CPU 114 causes the HDD other than the HDD to perform reallocation to perform a write operation and performs H reallocation.
The DD and the LBA to which writing has been instructed are stored.
When receiving a command instructing reading during the reallocation processing, the CPU 114 performs reallocation.
A read operation is performed in an HDD other than the DD, and reallocation is performed to the error corrector 112.
An instruction is issued to invalidate data from the DD and perform error correction. When the reallocation processing is completed, the CPU 114 releases the suspension of the write operation and the read operation in the HDD to be reallocated.

【0022】このように、再割り付け処理を行った後に
は、再割り付け処理を行ったHDDおよびアドレスと、
再割り付け処理における書き込み動作停止中に記憶して
おいたHDDおよびアドレスについて、データを修復す
る必要がある。このような記録媒体(ハードディスク)
における記録領域の一部についてのデータの修復処理
を、本出願において部分再構築処理(部分Rebuild )と
呼ぶ。
As described above, after performing the reallocation processing, the HDD and the address for which the reallocation processing has been performed,
The data needs to be restored for the HDD and the address stored during the stop of the write operation in the reallocation processing. Such a recording medium (hard disk)
Is referred to as a partial rebuilding process (partial Rebuild) in the present application.

【0023】以下、部分再構築処理の動作について説明
する。ここでは、CPU114が、部分再構築処理を行
うべきHDDおよびアドレス(セクタ)を記憶してお
り、そのHDDおよびアドレスについて部分再構築処理
を行うものとする。この部分再構築処理では、まず、C
PU114は、部分再構築処理を行うべきアドレスを指
定して、各コントローラ1031 〜103N ,110に
対して読み出し動作を行わせる。これに応じて、各コン
トローラ1031 〜103N ,110は、各HDD10
1 〜102N ,109より、指定されたアドレスのデ
ータを読み出す。読み出された各データは、出力メモリ
1051 〜105N ,111を経て、エラー訂正器11
2に入力される。このとき、CPU114は、エラー訂
正器112に対して、部分再構築処理を行うべきHDD
から読み出されたデータは使用しないように指示を与え
ておく。エラー訂正器112は、出力メモリ1051
105N ,111より出力されるデータのうち、部分再
構築処理を行うべきHDDから読み出されたデータ以外
のデータを用いて、分割データの修復を行い、修復後の
分割データをデータ多重器113に出力する。データ多
重器113は、エラー訂正器112から出力された分割
データを元のデータ列に並べ替えて、出力データDo
して出力する。次に、CPU114の制御により、デー
タ多重器113からの出力データDo をデータ分配器1
06に入力し、入力データDI の書き込み時と同様の書
き込み動作を行って、部分再構築処理を行うべきHDD
に対して、修復された分割データを書き込んで、部分再
構築処理を終了する。
Hereinafter, the operation of the partial reconstruction process will be described. Here, it is assumed that the CPU 114 stores the HDD and the address (sector) to be subjected to the partial rebuilding process, and performs the partial rebuilding process on the HDD and the address. In this partial reconstruction process, first, C
The PU 114 specifies an address at which the partial reconstruction process is to be performed, and causes each of the controllers 103 1 to 103 N and 110 to perform a read operation. In response to this, each of the controllers 103 1 to 103 N and 110 communicates with each HDD 10
The data at the designated address is read out from 2 1 to 102 N , 109. Each of the read data passes through the output memories 105 1 to 105 N and 111, and passes through the error corrector 11.
2 is input. At this time, the CPU 114 requests the error corrector 112 to perform the partial rebuilding process on the HDD.
Is instructed not to use the data read from the. The error corrector 112 includes output memories 105 1 to 105 1 .
Of the data output from the 105 N and 111, data other than the data read from the HDD to be subjected to the partial rebuilding process is used to restore the divided data, and the restored divided data is copied to the data multiplexer 113. Output to The data multiplexer 113 rearranges the divided data output from the error corrector 112 into the original data sequence, and outputs it as output data Do. Next, the control of the CPU 114, data distributor output data D o from the data multiplexer 113 1
Type 06, by performing the same writing operation and writing the input data D I, to perform the partial reconstruction process HDD
Then, the restored divided data is written to the sub-program, and the partial reconstruction process ends.

【0024】しかしながら、RAID−3を用いたデー
タ記録再生装置101では、再割り付け処理中は、デー
タの誤り検出および訂正の能力のない装置になってしま
うため、運用中に再割り付け処理を行うことは、信頼性
を著しく低下させることになるため、実現が困難であっ
た。
However, in the data recording / reproducing apparatus 101 using RAID-3, the apparatus becomes incapable of detecting and correcting data errors during the reallocation processing. Has been difficult to realize because the reliability is significantly reduced.

【0025】また、部分再構築処理においても、再構築
処理中にデータを修復できるのは、再構築処理を行うべ
きHDD以外の全てのHDDにおいて正しいデータが読
み出せた場合のみであり、もし、再構築処理を行うべき
HDD以外のHDDで、1台でも読み出しエラーがあっ
た場合には、エラー訂正器112では、エラーの検出は
できるが、データの修復はできない。すなわち、RAI
D−3を用いたデータ記録再生装置101では、再構築
処理中は、データの誤り検出および訂正の能力のない装
置になってしまうため、新たな障害が発生するとデータ
を修復することができなくなるという問題点があった。
In the partial rebuilding process, data can be restored during the rebuilding process only when correct data can be read from all HDDs other than the HDD to be rebuilt. If at least one of the HDDs other than the HDD to be reconstructed has a read error, the error corrector 112 can detect the error but cannot recover the data. That is, RAI
In the data recording / reproducing apparatus 101 using the D-3, the apparatus becomes incapable of detecting and correcting data errors during the reconstruction process. Therefore, if a new failure occurs, the data cannot be restored. There was a problem.

【0026】なお、文献「喜連川:最近の二次記憶装
置:ディスアレイ」(情報処理,Vol.34,No5,pp.642-651
(May 1993))に示されるように、RAID−5を拡張
した方式も提案されている。この方式は、リードソロモ
ン符号化に基づいたパリティブロックを2つ用意して、
パリティグループ内で最大2個のHDDの障害に対応可
能としたものである。
The document "Kitsuregawa: Recent Secondary Storage: Disarray" (Information Processing, Vol. 34, No. 5, pp. 642-651)
(May 1993), a system that extends RAID-5 has also been proposed. This method prepares two parity blocks based on Reed-Solomon coding,
It is possible to cope with a failure of up to two HDDs in a parity group.

【0027】しかしながら、このRAID−5を拡張し
た方式では、入力データの書き込み時や、データの読み
出し時にエラーが発生したときには、RAID−5より
もアクセス回数が増えるため、RAID−5以上に、リ
アルタイム性が要求される処理には適さない。従って、
マルチチャネルビデオサーバ等のリアルタイム性が要求
される装置では、上述のRAID−5を拡張した方式を
用いることは困難である。
However, according to the method of extending the RAID-5, when an error occurs at the time of input data writing or data reading, the number of accesses is larger than that of the RAID-5. It is not suitable for processing that requires sexuality. Therefore,
It is difficult for a device such as a multi-channel video server that requires real-time properties to use a method that is an extension of RAID-5 described above.

【0028】本発明はかかる問題点に鑑みてなされたも
ので、その第1の目的は、再割り付け処理中でもデータ
の誤り検出および訂正を可能として、データ記録再生の
運用を中断することなく再割り付け処理を行うことを可
能とし、且つ、リアルタイム性が要求される処理に適し
たデータ記録再生装置および方法ならびにAVサーバを
提供することにある。
The present invention has been made in view of such a problem, and a first object of the present invention is to enable data error detection and correction even during re-allocation processing, thereby realizing re-allocation without interrupting data recording / reproduction operation. It is an object of the present invention to provide a data recording / reproducing apparatus and method, and an AV server that enable processing and are suitable for processing that requires real-time processing.

【0029】本発明の第2の目的は、上記第1の目的に
加え、再割り付け処理後におけるデータの修復処理にお
いてもデータの誤り検出および訂正を可能としたデータ
記録再生装置および方法ならびにAVサーバを提供する
ことにある。
A second object of the present invention is, in addition to the first object, a data recording / reproducing apparatus and method and an AV server which can detect and correct data errors even in data restoration processing after reallocation processing. Is to provide.

【0030】[0030]

【課題を解決するための手段】請求項1記載のデータ記
録再生装置は、入力データを所定単位で分割して得られ
る複数の分割データを複数の第1のノンリニアアクセス
可能な記録媒体にそれぞれ記録するとともに、第1の記
録媒体に記録された分割データを再生する分割データ記
録再生手段と、分割データの誤り訂正符号データを生成
して、第2のノンリニアアクセス可能な記録媒体に複数
の誤り訂正符号データを記録するとともに、第2の記録
媒体に記録された誤り訂正符号データを再生する誤り訂
正符号データ記録再生手段と、第1の記録媒体の記録領
域における論理アドレスと物理アドレスとの対応関係を
変更する再割付け処理を行うべき第1の記録媒体につい
て、分割データ記録再生手段において記録再生を行う他
の第1の記録媒体から除外して、再割付け処理を行わせ
るよう分割データ記録再生手段を制御する再割付け処理
制御手段とを備えたものである。
According to a first aspect of the present invention, there is provided a data recording / reproducing apparatus for recording a plurality of divided data obtained by dividing input data into predetermined units on a plurality of first non-linearly accessible recording media. And a divided data recording / reproducing means for reproducing the divided data recorded on the first recording medium, and generating error correction code data for the divided data, and providing a plurality of error correction codes on a second non-linearly accessible recording medium. An error correction code data recording / reproducing means for recording the code data and reproducing the error correction code data recorded on the second recording medium; and a correspondence relationship between a logical address and a physical address in a recording area of the first recording medium. For the first recording medium on which the reallocation processing for changing the data is to be performed, the other first recording medium on which recording and reproduction are performed by the divided data recording / reproducing means And et excluded, in which a re-allocation process control means for controlling the divided data recording and reproduction means so as to perform the re-allocation process.

【0031】請求項9記載のAVサーバは、外部から入
力された映像および音声データを含むデータを、ノンリ
ニアアクセス可能な記録媒体に記録可能なデータに変換
して出力するとともに、記録媒体から出力されたデータ
を外部に出力可能なフォーマットに変換して出力する複
数の入出力処理手段と、複数の入出力処理手段のそれぞ
れから出力されたデータを所定単位に分割して得られる
複数の分割データを第1のノンリニアアクセス可能な記
録媒体に記録させるとともに、第1の記録媒体に記録さ
れた分割データを再生する分割データ記録再生手段と、
分割データの誤り訂正符号データを生成して第2のノン
リニアアクセス可能な記録媒体に記録させるとともに、
第2の記録媒体に記録された誤り訂正符号データを再生
する誤り訂正符号データ記録再生手段と、第1の記録媒
体の記録領域における論理アドレスと物理アドレスとの
対応関係を変更する再割付け処理を行うべき第1の記録
媒体について、分割データ記録再生手段において記録再
生を行う他の第1の記録媒体から除外して、再割付け処
理を行わせるよう分割データ記録再生手段を制御する再
割付け処理制御手段とを備えたものである。
According to a ninth aspect of the present invention, the AV server converts data including video and audio data input from the outside into data recordable on a non-linearly accessible recording medium, and outputs the converted data. A plurality of input / output processing means for converting the output data into a format which can be output to the outside, and a plurality of divided data obtained by dividing the data output from each of the plurality of input / output processing means into predetermined units. Division data recording / reproduction means for recording on a first non-linearly accessible recording medium and reproducing the division data recorded on the first recording medium;
While generating error correction code data of the divided data and recording it on a second non-linearly accessible recording medium,
Error correction code data recording / reproducing means for reproducing error correction code data recorded on the second recording medium; and reallocation processing for changing the correspondence between logical addresses and physical addresses in the recording area of the first recording medium. Re-allocation processing control for controlling the divided data recording / reproducing means to perform re-allocation processing by excluding the first recording medium to be performed from the other first recording media for performing recording / reproduction in the divided data recording / reproducing means. Means.

【0032】請求項10記載のデータ記録再生方法は、
入力データを所定単位に分割して得られる複数の分割デ
ータを第1のノンリニアアクセス可能な記録媒体に記録
するとともに、分割データに対する複数の誤り訂正符号
データを生成して第2のノンリニアアクセス可能な記録
媒体に記録する第1のステップと、第1のステップで第
1の記録媒体に記録された分割データを再生するととも
に、第2の記録媒体に記録された誤り訂正符号データを
再生する第2のステップと、第1の記録媒体の記録領域
における論理アドレスと物理アドレスとの対応関係を変
更する再割付け処理を行うとき、第1のステップおよび
第2のステップにおいて記録再生を行う他の第1の記録
媒体から除外して、再割付け処理を行う第3のステップ
とを備えたものである。
According to a tenth aspect of the present invention, there is provided a data recording / reproducing method,
A plurality of divided data obtained by dividing the input data into predetermined units is recorded on a first non-linearly accessible recording medium, and a plurality of error correction code data for the divided data is generated to perform a second non-linearly accessible recording. A first step of recording on the recording medium, and a second step of reproducing the divided data recorded on the first recording medium in the first step and reproducing the error correction code data recorded on the second recording medium. When performing the reallocation process for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium, the first and second steps for performing recording and reproduction in the first and second steps are performed. And a third step of performing a reallocation process by excluding from the recording medium.

【0033】請求項1記載のデータ記録再生装置では、
分割データ記録再生手段によって、入力データを所定単
位で分割して得られる複数の分割データが複数の第1の
ノンリニアアクセス可能な記録媒体にそれぞれ記録され
るとともに、第1の記録媒体に記録された分割データが
再生される。また、誤り訂正符号データ記録再生手段に
よって、分割データの誤り訂正符号データが生成され、
第2のノンリニアアクセス可能な記録媒体に複数の誤り
訂正符号データが記録されるとともに、第2の記録媒体
に記録された誤り訂正符号データが再生される。再割付
け処理制御手段によって、第1の記録媒体の記録領域に
おける論理アドレスと物理アドレスとの対応関係を変更
する再割付け処理を行うべき第1の記録媒体について、
分割データ記録再生手段において記録再生を行う他の第
1の記録媒体から除外して、再割付け処理を行わせるよ
う分割データ記録再生手段が制御される。
In the data recording / reproducing apparatus according to the first aspect,
The divided data recording / reproducing means records a plurality of divided data obtained by dividing the input data into predetermined units on a plurality of first non-linearly accessible recording media, respectively, and records the plurality of divided data on the first recording medium. The divided data is reproduced. Further, the error correction code data recording / reproducing means generates error correction code data of the divided data,
A plurality of error correction code data are recorded on a second non-linear accessible recording medium, and the error correction code data recorded on the second recording medium is reproduced. For the first recording medium on which the reallocation processing for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium is to be performed by the reallocation processing control means,
The divided data recording / reproducing means is controlled so that the divided data recording / reproducing means is excluded from other first recording media on which recording / reproducing is performed, and is re-allocated.

【0034】請求項9記載のAVサーバでは、複数の入
出力処理手段によって、外部から入力された映像および
音声データを含むデータが、ノンリニアアクセス可能な
記録媒体に記録可能なデータに変換して出力されるとと
もに、記録媒体から出力されたデータが外部に出力可能
なフォーマットに変換されて出力される。また、分割デ
ータ記録再生手段によって、複数の入出力処理手段のそ
れぞれから出力されたデータを所定単位に分割して得ら
れる複数の分割データが第1のノンリニアアクセス可能
な記録媒体に記録されるとともに、第1の記録媒体に記
録された分割データが再生される。また、誤り訂正符号
データ記録再生手段によって、分割データの誤り訂正符
号データが生成されて第2のノンリニアアクセス可能な
記録媒体に記録されるとともに、第2の記録媒体に記録
された誤り訂正符号データが再生される。また、再割付
け処理制御手段によって、第1の記録媒体の記録領域に
おける論理アドレスと物理アドレスとの対応関係を変更
する再割付け処理を行うべき第1の記録媒体について、
分割データ記録再生手段において記録再生を行う他の第
1の記録媒体から除外して、再割付け処理を行わせるよ
う分割データ記録再生手段が制御される。
In the AV server according to the ninth aspect, data including video and audio data input from outside is converted into data recordable on a non-linearly accessible recording medium and output by a plurality of input / output processing means. At the same time, the data output from the recording medium is converted into a format that can be output to the outside and output. Further, the divided data recording / reproducing means records a plurality of divided data obtained by dividing the data output from each of the plurality of input / output processing means into a predetermined unit on the first non-linearly accessible recording medium. The divided data recorded on the first recording medium is reproduced. The error correction code data recording / reproducing means generates the error correction code data of the divided data and records it on the second non-linearly accessible recording medium, and the error correction code data recorded on the second recording medium. Is played. The reallocation processing control means may perform the reallocation processing for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium.
The divided data recording / reproducing means is controlled so that the divided data recording / reproducing means is excluded from other first recording media on which recording / reproducing is performed, and is re-allocated.

【0035】請求項10記載のデータ記録再生方法で
は、第1のステップによって、入力データを所定単位に
分割して得られる複数の分割データが第1のノンリニア
アクセス可能な記録媒体に記録されるとともに、分割デ
ータに対する複数の誤り訂正符号データが生成されて第
2のノンリニアアクセス可能な記録媒体に記録される。
また、第2のステップによって、第1のステップで第1
の記録媒体に記録された分割データが再生されるととも
に、第2の記録媒体に記録された誤り訂正符号データが
再生される。また、第3のステップによって、第1の記
録媒体の記録領域における論理アドレスと物理アドレス
との対応関係を変更する再割付け処理を行うとき、第1
のステップおよび第2のステップにおいて記録再生を行
う他の第1の記録媒体から除外して、再割付け処理が行
われる。
In the data recording / reproducing method according to the tenth aspect, in the first step, a plurality of divided data obtained by dividing the input data into predetermined units are recorded on the first non-linearly accessible recording medium. A plurality of error correction code data for the divided data is generated and recorded on a second non-linearly accessible recording medium.
Also, the first step is performed in the first step by the second step.
The divided data recorded on the second recording medium is reproduced, and the error correction code data recorded on the second recording medium is reproduced. In the third step, when performing the reallocation process for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium,
The re-allocation process is performed excluding from the other first recording media for performing recording and reproduction in the step and the second step.

【0036】[0036]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0037】図1は、本発明の一実施の形態に係るデー
タ記録再生装置を含むビデオサーバの構成の一例を示す
ブロック図である。このビデオサーバ10は、マルチチ
ャネルビデオサーバとして使用されるものである。この
ビデオサーバ10は、ビデオデータを含むデータの記録
と再生を行う、本実施の形態に係る複数のデータ記録再
生装置(図では、RAIDと記す。)111 〜11
n (nは2以上の整数値)と、各データ記録再生装置1
1 〜11n に記録するデータの入力および各データ記
録再生装置111 〜11n より再生したデータの出力を
行う入出力プロセッサ部12とを備えている。
FIG. 1 is a block diagram showing an example of the configuration of a video server including a data recording / reproducing apparatus according to one embodiment of the present invention. This video server 10 is used as a multi-channel video server. The video server 10 records and reproduces data including video data, and a plurality of data recording / reproducing devices (referred to as RAID in the figure) 11 1 to 11 according to the present embodiment.
n (n is an integer value of 2 or more) and each data recording / reproducing device 1
And an input-output processor unit 12 for outputting data reproduced from 1 1 to 11 n of the data to be recorded to the input and the data recording and reproducing apparatus 11 1 to 11 n.

【0038】入出力プロセッサ部12は、一定時間間隔
を複数に分割した時間的区切りであるタイムスロット単
位で各データ記録再生装置111 〜11n に対するデー
タの記録または再生のためのアクセスを時分割的に実行
する複数の入出力プロセッサ装置(図ではIOPと記
す。)131 〜13m (mは2以上の整数値)と、素材
情報等を管理する管理装置14と、入出力プロセッサ装
置131 〜13m および管理装置14とデータ記録再生
装置111 〜11n との間を接続する上りデータバス1
5および下りデータバス16とを有している。なお、上
りデータバス15および下りデータバス16は、データ
記録再生装置111 〜11n の台数分存在し、1つの上
りデータバス15および1つの下りデータバス16に
は、1つのデータ記録再生装置11i (iは1以上n以
下の任意の整数値)と入出力プロセッサ装置131 〜1
m および管理装置14が接続されている。すなわち、
1つの入出力プロセッサ装置13j (jは1以上m以下
の任意の整数値)および管理装置14は、複数の上りデ
ータバス15および複数の下りデータバス16に接続さ
れている。なお、本実施の形態では、下りデータバス1
6は、入出力プロセッサ装置131 〜13m および管理
装置14からデータ記録再生装置111 〜11nに向か
う方向のデータを転送するためのバスとし、その逆方向
のデータを転送するためのバスを上りデータバス15と
する。
The input-output processor unit 12, when the access for the data recording and reproducing apparatus 11 1 to 11 of data to n recorded or reproduced in a time slot unit is a time-separated by dividing a predetermined time interval into a plurality split I / O processor devices (referred to as IOP in the figure) 13 1 to 13 m (m is an integer value of 2 or more), a management device 14 for managing material information and the like, and an input / output processor device 13 up data bus 1 for connecting a 1 to 13 m and the management apparatus 14 and the data recording and reproducing apparatus 11 1 to 11 n
5 and a downstream data bus 16. The number of data recording / reproducing devices 11 1 to 11 n is equal to the number of data recording / reproducing devices 11 1 to 11 n. One uplink data bus 15 and one downlink data bus 16 have one data recording / reproducing device. 11 i (i is an arbitrary integer value of 1 or more and n or less) and the input / output processor devices 13 1 to 13 1
3 m and the management device 14 are connected. That is,
One input / output processor device 13 j (j is an arbitrary integer value of 1 or more and m or less) and the management device 14 are connected to a plurality of upstream data buses 15 and a plurality of downstream data buses 16. In this embodiment, the downstream data bus 1
6, a bus for transferring the direction of the data directed from the input-output processor apparatus 13 1 to 13 m and the management apparatus 14 to the data recording and reproducing apparatus 11 1 to 11 n, a bus for transferring data in the opposite direction Is an up data bus 15.

【0039】各入出力プロセッサ装置13j は、データ
の記録の際には、ビデオ信号等の入力信号SIj を所定
の形式のデータに変換し、このデータおよびこのデータ
の記録を指示するコマンドを、下りデータバス16を介
して、各データ記録再生装置111 〜11n に送信する
ようになっている。また、各入出力プロセッサ装置13
j は、データの再生の際には、データの再生を指示する
コマンドを、下りデータバス16を介して、各データ記
録再生装置111 〜11n に送信して、各データ記録再
生装置111 〜11n より再生され、上りデータバス1
5を介して転送されたデータを所定の信号に変換して、
出力信号SOj として外部に出力するようになってい
る。
When recording data, each of the input / output processor units 13 j converts an input signal SI j such as a video signal into data of a predetermined format, and transmits this data and a command for recording this data. , via the down data bus 16, and transmits to each of the data recording and reproducing apparatus 11 1 to 11 n. Further, each input / output processor device 13
j, when the data reproduction, a command for instructing reproduction of the data, via the down data bus 16, and transmitted to the data recording and reproducing apparatus 11 1 to 11 n, the data recording and reproducing apparatus 11 1 It reproduced from to 11 n, the uplink data bus 1
5 is converted into a predetermined signal,
And outputs to the outside as an output signal SO j.

【0040】各データ記録再生装置11i は、入力デー
タおよび冗長符号データを記録するための複数のHDD
を備えている。各データ記録再生装置11i は、データ
の記録の際には、下りデータバス16を介して、入出力
プロセッサ装置13j より入力データおよびコマンドを
受信し、入力データを所定単位で分割して複数の分割デ
ータを生成すると共に、入力データに基づいて冗長符号
データを生成し、コマンドに従って、分割データおよび
冗長符号データを複数のHDDに記録するようになって
いる。また、各データ記録再生装置11i は、データの
再生の際には、下りデータバス16を介して、入出力プ
ロセッサ装置13j よりコマンドを受信し、このコマン
ドに従って複数のHDDを制御して、分割データおよび
冗長符号データを再生し、冗長符号データを用いて分割
データに対して誤り訂正処理を行い、この誤り訂正処理
後の分割データを多重化して、出力データとして、上り
データバス15を介して入出力プロセッサ装置13j
対して出力するようになっている。
Each data recording / reproducing device 11 i has a plurality of HDDs for recording input data and redundant code data.
It has. When recording data, each data recording / reproducing device 11 i receives input data and a command from the input / output processor device 13 j via the downlink data bus 16, divides the input data into predetermined units, and , Redundant code data is generated based on the input data, and the divided data and the redundant code data are recorded in a plurality of HDDs in accordance with a command. When data is reproduced, each data recording / reproducing device 11 i receives a command from the input / output processor device 13 j via the downlink data bus 16 and controls a plurality of HDDs according to the command. The divided data and the redundant code data are reproduced, the error correction processing is performed on the divided data using the redundant code data, and the divided data after the error correction processing is multiplexed and output as data through the upstream data bus 15. Output to the input / output processor 13j .

【0041】図2は、本実施の形態に係るデータ記録再
生装置の構成を示すブロック図である。このデータ記録
再生装置11(111 〜11n を代表する。)は、入力
データを記録するための複数のHDD211 〜21K
(Kは2以上の整数値)と、誤り訂正符号データとして
の冗長符号データを記録するための2つのHDD2
1 ,282 と、入力データDI を一定の長さに分割し
て複数の分割データを生成し、各分割データを各HDD
211 〜21K に分配するデータ分配器22と、データ
分配器22より出力される分割データから冗長符号デー
タP1,P2を生成し、出力するための冗長符号生成器
26と、データ分配器22より出力される各分割データ
を一時的に保持する入力メモリ231 〜23K と、冗長
符号生成器26より出力される冗長符号データP1,P
2を一時的に保持する入力メモリ271 ,272 と、そ
れぞれHDD211 〜21K ,281 ,282 に接続さ
れ、入力メモリ231 〜23K ,271 ,272 によっ
て保持されたデータのHDD211 〜21K ,281
282 への記録(以下、書き込みとも言う。)とHDD
211 〜21K ,281 ,282 からのデータの再生
(以下、読み出しとも言う。)とを制御するコントロー
ラ241 〜24K ,291 ,292 と、各HDD211
〜21K ,281 ,282 から読み出されたデータを一
時的に保持する出力メモリ251 〜25K ,301 ,3
2 と、出力メモリ251 〜25K ,301,302
よって保持されたデータと後述するエラー情報とを用い
てエラー検出およびエラー訂正を行って分割データの修
復を行うエラー訂正器31と、エラー訂正器31の出力
データを多重化して、出力データDo として出力するデ
ータ多重器32と、これら装置全体を制御するCPU3
3とを備えている。なお、データ多重器32の出力デー
タは、CPU33の制御により、データ分配器22に入
力することも可能となっている。また、CPU33は、
プログラムが格納されたROM(リード・オンリ・メモ
リ)とワーキングエリアとなるRAM(ランダム・アク
セス・メモリ)とを含んでいる。
FIG. 2 is a block diagram showing a configuration of the data recording / reproducing apparatus according to the present embodiment. The data recording and reproducing apparatus 11 (representing 11 1 to 11 n.) Includes a plurality of HDD 21 1 through 21 K for recording input data and (K is an integer of 2 or more values), as an error correction code data HDDs 2 for recording redundant code data of
8 1, 28 and 2, by dividing the input data D I to length to generate a plurality of divided data, the divided data each HDD
A data distributor 22 for distributing the data to 21 1 to 21 K; a redundant code generator 26 for generating and outputting redundant code data P1 and P2 from the divided data output from the data distributor 22; an input memory 23 1 ~ 23 K for temporarily holding each of the divided data are more output, redundant code data output from the redundant code generator 26 P1, P
An input memory 27 1, 27 2 for temporarily holding the 2, are respectively connected to the HDD 21 1 through 21 K, 28 1, 28 2, data held by the input memory 23 1 ~ 23 K, 27 1, 27 2 HDDs 21 1 to 21 K , 28 1 ,
28 record to 2 (hereinafter also referred to as writing.) And HDD
21 1 through 21 K, 28 1, data from 28 2 reproduction (hereinafter, also referred to as read.) And a controller 24 1 ~24 K, 29 1, 29 2 for controlling the respective HDD 21 1
Through 21 K, 28 1, 28 output memory 25 1 to 25 K for temporarily holding data read from the 2, 30 1, 3
0 2 and an error corrector 31 that performs error detection and error correction using the data held by the output memories 25 1 to 25 K , 30 1 , and 30 2 and error information to be described later to repair the divided data. multiplexes the output data of the error corrector 31, a data multiplexer 32 for outputting as output data D o, and controls the entire these devices CPU3
3 is provided. The output data of the data multiplexer 32 can be input to the data distributor 22 under the control of the CPU 33. Also, the CPU 33
It includes a ROM (Read Only Memory) storing a program and a RAM (Random Access Memory) serving as a working area.

【0042】HDD211 〜21k ,281 ,28
2 は、ランダムアクセス可能な記録媒体であるハードデ
ィスク(磁気ディスク)における任意の記録領域にアク
セスして、ハードディスクに対するデータの記録動作ま
たはデータの再生動作を行うようになっている。また、
HDD211 〜21k ,281 ,282 内の図示しない
制御部は、データの読み出しエラーが発生した場合に
は、その旨を表すエラー情報を、ステータスデータとし
てコントローラ241 〜24K ,291 ,292 に送る
ようになっている。このエラー情報は、更に、コントロ
ーラ241 〜24K ,291 ,292 からCPU33
へ、エラー情報ER1 〜ERK ,ERP1,ERP2として
送られるようになっている。
HDDs 21 1 to 21 k , 28 1 , 28
No. 2 accesses an arbitrary recording area on a hard disk (magnetic disk) which is a recording medium that can be accessed randomly, and performs a data recording operation or a data reproducing operation on the hard disk. Also,
HDD21 1 ~21 k, 28 1, 28 control unit, not shown in the 2, when a read error of data occurs, the controller 24 1 ~24 K, 29 1 error information indicating to that effect, as status data , which is to send in 29 2. This error information further from the controller 24 1 ~24 K, 29 1, 29 2 CPU33
To, and adapted to be sent as error information ER 1 ~ER K, ER P1, ER P2.

【0043】ここで、図8を参照して、ハードディスク
上のフォーマットについて説明する。ハードディスク上
には、同心円状に複数のトラックが設定される。図8で
は、1つのトラックのみを示している。トラックは放射
状に区切られて、データの記録単位である複数のセクタ
が設定される。これらのセクタには、データの書き込み
や読み出しの際に、常にエラーが発生するようなセクタ
が存在する場合がある。このようなセクタは、欠陥セク
タと呼ばれ、物理的な傷等により正しくデータの読み出
しあるいは書き込みができない状態となっていると考え
られる。このような欠陥セクタの発生に備えて、ハード
ディスク上に予備のセクタを予め確保しておき、必要に
応じて、欠陥セクタの代わりに予備のセクタにデータを
記録する方法がある。このような予備のセクタは代替セ
クタと呼ばれる。この代替セクタを有するHDDでは、
HDD内の制御部は、欠陥セクタの代わりに代替セクタ
が用いられても、上位からは同じセクタ番号で参照でき
るように、論理的なセクタ番号(LBA)と物理的なセ
クタ番号を対応付ける対応表を内部で持っている。
Here, the format on the hard disk will be described with reference to FIG. A plurality of tracks are set concentrically on the hard disk. FIG. 8 shows only one track. The track is radially divided, and a plurality of sectors as data recording units are set. In some of these sectors, there is a sector in which an error always occurs when writing or reading data. Such a sector is called a defective sector, and it is considered that data cannot be read or written correctly due to physical damage or the like. In preparation for such a defective sector, there is a method in which a spare sector is reserved in advance on the hard disk, and data is recorded in the spare sector instead of the defective sector as necessary. Such a spare sector is called a replacement sector. In an HDD having this alternative sector,
The control unit in the HDD associates a logical sector number (LBA) with a physical sector number so that the upper sector can refer to the same sector number even when an alternative sector is used instead of a defective sector. Have inside.

【0044】図8に示した例では、1つのトラックに対
して、N個のセクタ(Sector-1〜Sector-N)が物理的に
割り付けられ、更に、2つの代替セクタ(Spare-1 ,Sp
are-2 )が用意されている。図9は、上述の対応表で表
されるLBAと物理的なセクタ番号との対応関係を示し
たものである。欠陥セクタがない正常な場合には、図9
(a)に示したように、LBAと物理的なセクタ番号は
一致している。正常な場合には、HDD内の制御部は、
図9(a)に示した対応関係の対表表に基づいてハード
ディスク上の記録領域を管理している。これに対し、例
えば、セクタSector-5に欠陥がある場合には、セクタSe
ctor-5の代わりに、代替セクタSpare-1が使用される。
この場合、図9(b)に示したように、LBAにおける
“5”に対して、代替セクタSpare-1 が対応付けられ、
HDD内の制御部は、図9(b)に示した対応関係の対
表表に基づいてハードディスク上の記録領域を管理する
ことになる。このように、欠陥セクタの発生に応じて、
LBAと物理的なセクタ番号との対応関係を変えること
を、再割り付け処理(Reassign)と呼ぶ。
In the example shown in FIG. 8, N sectors (Sector-1 to Sector-N) are physically allocated to one track, and two alternative sectors (Spare-1 and Spare-1) are further allocated.
are-2) are available. FIG. 9 shows the correspondence between LBAs and physical sector numbers represented in the above-mentioned correspondence table. FIG. 9 shows a normal case with no defective sectors.
As shown in (a), the LBA and the physical sector number match. If normal, the control unit in the HDD
The recording area on the hard disk is managed based on the correspondence table shown in FIG. 9A. On the other hand, for example, if the sector Sector-5 is defective,
The alternative sector Spare-1 is used instead of ctor-5.
In this case, as shown in FIG. 9B, the alternative sector Spare-1 is associated with “5” in the LBA,
The control unit in the HDD manages the recording area on the hard disk based on the correspondence table shown in FIG. 9B. Thus, according to the occurrence of defective sectors,
Changing the correspondence between LBAs and physical sector numbers is referred to as reassignment processing (Reassign).

【0045】CPU33は、下りデータバス16を介し
て、入出力プロセッサ装置13j よりコマンドを受信
し、このコマンドに従って、コントローラ241 〜24
k ,291 ,292 に指示を与えて、各HDD211
21k ,281 ,282 を制御するようになっている。
また、CPU33は、データの読み出しエラーが発生し
ていた場合には、その旨を表すエラー情報を、エラー訂
正器31に送るようになっている。このエラー情報は、
読み出しエラーが発生したHDDを特定する情報を含ん
でいる。
The CPU33 via the down data bus 16, receives a command from the input-output processor apparatus 13 j, in accordance with this command, the controller 24 1-24
k, 29 1, 29 2 to give the instruction, each HDD21 1 ~
21 k , 28 1 , and 28 2 are controlled.
If a data reading error has occurred, the CPU 33 sends error information indicating the fact to the error corrector 31. This error information
It contains information for identifying the HDD in which a read error has occurred.

【0046】エラー訂正器31は、必要に応じて、CP
U33からのエラー情報と出力メモリ251 〜25K
301 ,302 によって保持されたデータとを用いて、
エラー検出およびエラー訂正を行って分割データの修復
を行って、修復後の分割データをデータ多重器32に出
力するようになっている。データ多重器32は、エラー
訂正器31より出力される分割データを元のデータ列に
並べ替えて、出力データDO として出力するようになっ
ている。
The error corrector 31 outputs a CP
Error information from U33 and output memories 25 1 to 25 K ,
By using the held data by the 30 1, 30 2,
The divided data is restored by performing error detection and error correction, and the restored divided data is output to the data multiplexer 32. Data multiplexer 32 rearranges the divided data output from the error corrector 31 based on the data string, and outputs as output data D O.

【0047】HDD211 〜21K は、本発明における
分割データ記録再生手段に対応し、HDD281 ,28
2 は、本発明における誤り訂正符号データ記録再生手段
に対応し、データ分配器22は、本発明における分割手
段に対応し、冗長符号生成器26は、本発明における誤
り訂正符号データ生成手段に対応し、エラー訂正器31
は、本発明における誤り訂正手段に対応し、データ多重
器32は、本発明における多重化手段に対応する。
The HDDs 21 1 to 21 K correspond to the divided data recording / reproducing means in the present invention, and the HDDs 28 1 , 28 K
2 corresponds to the error correction code data recording / reproducing means of the present invention, the data distributor 22 corresponds to the dividing means of the present invention, and the redundant code generator 26 corresponds to the error correction code data generating means of the present invention. And the error corrector 31
Corresponds to the error correcting means of the present invention, and the data multiplexer 32 corresponds to the multiplexing means of the present invention.

【0048】本実施の形態では、誤り訂正符号として、
複数の分割データの誤り訂正が可能な符号を用いる。こ
のような符号としてBCH符号がある。本実施の形態で
は、誤り訂正符号として、特に、BCH符号の一種であ
るリードソロモン符号を用いる。ここで、リードソロモ
ン符号について簡単に説明する。
In this embodiment, the error correction code is
A code capable of correcting an error of a plurality of divided data is used. There is a BCH code as such a code. In the present embodiment, a Reed-Solomon code, which is a type of BCH code, is used as an error correction code. Here, the Reed-Solomon code will be briefly described.

【0049】まず、リードソロモン符号では、1バイト
すなわち8ビットを1つの数として扱い、00hからF
Fh(hは16進数を表す。)までの256個の数が用
いられ、また、四則演算に関しても整数の世界とは異な
る演算法則が用いられる。
First, in the Reed-Solomon code, one byte, that is, eight bits, is treated as one number, and from 00h to F
256 numbers up to Fh (h represents a hexadecimal number) are used, and an arithmetic rule different from that of the integer world is used for the four arithmetic operations.

【0050】リードソロモン符号では、符号多項式や生
成多項式と呼ばれる多項式が用いられる。ここでは、1
4バイトのデータバイトに対して、2バイトのパリティ
バイトを用いる場合を例にとって説明する。この場合、
14バイトのデータバイトと2バイトのパリティバイト
の合計16バイトをまとめて処理する。そこで、14バ
イトのデータバイトを、それぞれW15,W14,…,W2
とし、2バイトのパリティバイトを、それぞれW1 ,W
0 とする。なお、Wi (iは0から15までの整数値)
は、すべてバイトという形式の00hからFFhまでの
いずれかの数である。
In the Reed-Solomon code, a polynomial called a code polynomial or a generator polynomial is used. Here, 1
An example in which two parity bytes are used for four data bytes will be described. in this case,
A total of 16 bytes of 14 bytes of data bytes and 2 bytes of parity bytes are processed together. Therefore, the data byte of 14 bytes, W 15, respectively, W 14, ..., W 2
And two parity bytes are W 1 and W, respectively.
Set to 0 . W i (i is an integer from 0 to 15)
Is any number from 00h to FFh in the format of all bytes.

【0051】符号多項式W(X)は次の式(1)のよう
に定義される。
The code polynomial W (X) is defined as the following equation (1).

【0052】 W(X)=W15×X15+W14×X14+…+W2 ×X2 +W1 ×X+W0 …(1)W (X) = W 15 × X 15 + W 14 × X 14 + ... + W 2 × X 2 + W 1 × X + W 0 (1)

【0053】なお、Xもバイトという形式の00hから
FFhまでのいずれかの数である。
Note that X is any number from 00h to FFh in a byte format.

【0054】ここで、式(1)のW(X)において、W
1 ×X+W0 は、W15×X15+W14×X14+…+W2 ×
2 を、次の式(2)で表される生成多項式G(X)で
割った余りとして求められる。
Here, in W (X) of equation (1), W
1 × X + W 0 is W 15 × X 15 + W 14 × X 14 + ... + W 2 ×
X 2 is obtained as a remainder when divided by a generator polynomial G (X) represented by the following equation (2).

【0055】 G(X)=(X−02h)×(X−01h) …(2)G (X) = (X-02h) × (X-01h) (2)

【0056】従って、次の式(3)および式(4)が成
り立つように、パリティバイトW1,W0 の値を定め
る。
Therefore, the values of the parity bytes W 1 and W 0 are determined so that the following equations (3) and (4) hold.

【0057】W(02h)=00h …(3) W(01h)=00h …(4)W (02h) = 00h (3) W (01h) = 00h (4)

【0058】リードソロモン符号における符号化では、
このような関係に基づいて、データバイトからパリティ
バイトを求める。
In the coding in the Reed-Solomon code,
A parity byte is obtained from the data bytes based on such a relationship.

【0059】次に、リードソロモン符号における誤り訂
正について説明する。まず、データバイトW15,W14
…,W2 およびパリティバイトW1 ,W0 に対応するデ
ータが、それぞれHDD(15),HDD(14),
…,HDD(1),HDD(0)からV15,V14,…,
1 ,V0 として読み出されたとする。ここで、HDD
(i)の読み出しデータVi における誤りの有無によ
り、読み出しデータVi は次の式(5),(6)によっ
て表される。なお、Ei は誤りの大きさを表す。
Next, error correction in the Reed-Solomon code will be described. First, the data bytes W 15 , W 14 ,
..., data, respectively HDD (15) corresponding to W 2 and parity bytes W 1, W 0, HDD ( 14),
..., HDD (1), V 15 from the HDD (0), V 14, ...,
It is assumed that they are read as V 1 and V 0 . Where HDD
The presence of an error in the read data V i of (i), the read data V i is the following equation (5), represented by (6). E i represents the magnitude of the error.

【0060】 HDD(i)に誤りがない場合:Vi =Wi …(5) HDD(i)に誤りがある場合:Vi =Wi +Ei …(6)When there is no error in HDD (i): V i = W i (5) When there is an error in HDD (i): V i = W i + E i (6)

【0061】次に、符号多項式W(X)に対して、V
(X)を次の式(7)のように定義する。
Next, for the code polynomial W (X), V
(X) is defined as in the following equation (7).

【0062】 V(X)=V15×X15+V14×X14+…+V2 ×X2 +V1 ×X+V0 …(7)V (X) = V 15 × X 15 + V 14 × X 14 +... + V 2 × X 2 + V 1 × X + V 0 (7)

【0063】更に、シンドロームと呼ばれる値S1 ,S
0 を、次の式(8),(9)のように定義する。
Further, values S 1 , S called syndromes
0 is defined as in the following equations (8) and (9).

【0064】S1 =V(02h) …(8) S0 =V(01h) …(9)S 1 = V (02h) (8) S 0 = V (01h) (9)

【0065】ここで、どのHDDの読み出しデータにも
誤りがない場合には、V(X)=W(X)なので、シン
ドロームは次の式(10),(11)のようになる。
Here, if there is no error in the read data of any HDD, since V (X) = W (X), the syndrome is expressed by the following equations (10) and (11).

【0066】S1 =00h …(10) S0 =00h …(11)S 1 = 00h (10) S 0 = 00h (11)

【0067】次に、HDD(i)の読み出しデータに誤
りがあるが、HDD(i)からはエラー情報の通知がな
い場合には、式(6),(7)に基づいて、V(X)=
W(X)+Ei ×Xi となり、シンドロームは次の式
(12),(13)のようになる。
Next, when there is an error in the read data of the HDD (i) but no error information is notified from the HDD (i), V (X ) =
W (X) + E i × X i , and the syndrome is expressed by the following equations (12) and (13).

【0068】 S1 =Ei ×02hi …(12) S0 =Ei ×01hi =Ei …(13)S 1 = E i × 02h i (12) S 0 = E i × 01h i = E i (13)

【0069】従って、式(13)により、誤りの大きさ
i が求まり、この誤りの大きさEi と式(12)とに
よって、どのHDD(i)の読み出しデータが誤りかを
示す添え字iが求まり、これにより、読み出しデータの
誤り訂正が可能となる。これを1誤り訂正と呼ぶ。
[0069] Therefore, the equation (13), Motomari magnitude E i of the error, subscript indicated by the size E i and wherein the error (12), the read data for any HDD (i) is whether the error i is obtained, which enables error correction of read data. This is called one error correction.

【0070】次に、2つのHDD(i)とHDD(j)
(jは0から15までの整数値)の読み出しデータに誤
りがあり、HDD(i)とHDD(j)からエラー情報
の通知があった場合には、式(6),(7)に基づい
て、V(X)=W(X)+Ei×Xi +Ej ×Xj とな
るので、シンドロームは次の式(14),(15)のよ
うになる。
Next, two HDD (i) and HDD (j)
If there is an error in the read data (j is an integer from 0 to 15) and error information is notified from the HDD (i) and the HDD (j), based on the equations (6) and (7), Te, since the V (X) = W (X ) + E i × X i + E j × X j, syndromes following equation (14) and (15).

【0071】 S1 =Ei ×02hi +Ej ×02hj …(14) S0 =Ei ×01hi +Ej ×01hj =Ei +Ej …(15)S 1 = E i × 02h i + E j × 02h j (14) S 0 = E i × 01h i + E j × 01h j = E i + E j (15)

【0072】ここでは、HDD(i)とHDD(j)か
らエラー情報の通知があったものとしているので、添え
字i,jの値は既知である。従って、式(14)におけ
る02hi と02hj の値を計算することができ、Ei
とEj の値は、2元連立方程式により求まり、これによ
り、読み出しデータの誤り訂正が可能となる。これを2
誤り消失訂正と呼ぶ。
Here, since it is assumed that error information has been notified from HDD (i) and HDD (j), the values of subscripts i and j are known. Therefore, the values of 02h i and 02h j in equation (14) can be calculated, and E i
And the values of E j are obtained by a binary simultaneous equation, which enables error correction of read data. This is 2
This is called error erasure correction.

【0073】リードソロモン符号における復号化では、
このようにしてシンドロームの値を求めて、このシンド
ロームの値を用いて、誤りの位置や大きさを求めるよう
になっている。
In decoding in the Reed-Solomon code,
In this way, the value of the syndrome is obtained, and the position and magnitude of the error are obtained using the value of the syndrome.

【0074】なお、以上のリードソロモン符号の説明に
おけるデータバイトW15,W14,…,W2 は、本実施の
形態における分割データに対応し、パリティバイト
1 ,W0 は、本実施の形態における冗長符号データP
1,P2に対応する。
The data bytes W 15 , W 14 ,..., W 2 in the above description of the Reed-Solomon code correspond to the divided data in the present embodiment, and the parity bytes W 1 , W 0 correspond to the present embodiment. Code data P in the form
1, P2.

【0075】次に、本実施の形態に係るデータ記録再生
装置11の動作について説明する。なお、以下の説明
は、本実施の形態に係るデータ記録再生方法の説明を兼
ねている。
Next, the operation of the data recording / reproducing apparatus 11 according to the present embodiment will be described. The following description also serves as a description of the data recording / reproducing method according to the present embodiment.

【0076】まず、データ記録再生装置11の書き込み
動作について説明する。入力データDI は、データ分配
器22に入力されて複数の分割データが生成され、各分
割データは、入力メモリ231 〜23K に分配されて一
旦記録されると共に、冗長符号生成器26に入力され
る。このとき、データの分配方法としては、例えば、ビ
ット単位あるいはバイト単位でデータ列D1,D2,D
3,D4,D5,…のように並んでいるとして、データ
D1を1台目のHDD211 に分配し、データD2を2
台目のHDD212 に分配するというように、データを
順番に分配していき、データDKを最後のK台目のHD
D21K に分配し終えたら、再度、最初のHDD211
から順にデータを分配していく方法がある。
First, the write operation of the data recording / reproducing device 11 will be described. Input data D I is input to the data distributor 22 a plurality of divided data is generated, the divided data is distributed in the input memory 23 1 ~ 23 K with once recorded, the redundant code generator 26 Is entered. At this time, as a data distribution method, for example, data strings D1, D2, D
, D4, D5,..., The data D1 is distributed to the first HDD 211, and the data D2 is
The data is sequentially distributed, for example, distributed to the second HDD 212, and the data DK is distributed to the last K-th HDD 212.
Once it has distributed to the D21 K, again, first of HDD21 1
There is a method of distributing data in order from the beginning.

【0077】冗長符号生成器26は、データ分配器22
から出力される分割データに基づいて、リードソロモン
符号における冗長符号データP1,P2を生成して出力
する。入力メモリ271 ,272 は、この冗長符号デー
タP1,P2を一旦記録する。その後、各HDD211
〜21K ,281 ,282 のコントローラ241 〜24
K ,291 ,292 は、CPU33の制御に基づいて、
入力メモリ231 〜23K ,271 ,272 から分割デ
ータおよび冗長符号データP1,P2を読み出して、各
HDD211 〜21K ,281 ,282 に書き込む。
The redundant code generator 26 is provided with the data distributor 22
The redundant code data P1 and P2 in the Reed-Solomon code are generated and output based on the divided data output from. The input memories 27 1 and 27 2 temporarily record the redundant code data P1 and P2. After that, each HDD 21 1
Controllers 24 1 to 24 of up to 21 K , 28 1 and 28 2
K, 29 1, 29 2, based on the control of the CPU 33,
Reading the input memory 23 1 ~23 K, 27 1, 27 2 divided data and the redundant code data P1, P2 from and writes to the HDD21 1 ~21 K, 28 1, 28 2.

【0078】次に、データ記録再生装置11のデータの
読み出し動作について説明する。CPU33の制御の下
で、各コントローラ241 〜24K ,291 ,29
2 は、各HDD211 〜21K ,281 ,282 から分
割データおよび冗長符号データP1,P2を読み出し、
それぞれ出力メモリ251 〜25K ,301 ,302
書き込む。このとき、HDD211 〜21K ,281
282 において読み出しエラーが発生した場合には、そ
の旨を表すエラー情報が、HDD211 〜21K ,28
1 ,282 内の制御部より、ステータスデータとしてコ
ントローラ241 〜24K ,291 ,292 に送られ、
更に、コントローラ241 〜24K ,291,292
らCPU33へ、エラー情報ER1 〜ERK ,ERP1
ERP2として送られる。
Next, the data reading operation of the data recording / reproducing apparatus 11 will be described. Under the control of the CPU 33, each of the controllers 24 1 to 24 K , 29 1 , 29
2 reads the divided data and the redundant code data P1 and P2 from each of the HDDs 21 1 to 21 K , 28 1 and 28 2 ,
The data is written in the output memories 25 1 to 25 K , 30 1 and 30 2 respectively. At this time, the HDDs 21 1 to 21 K , 28 1 ,
28 when a read error occurs in 2, error information indicating to that effect, HDD 21 1 through 21 K, 28
From the control unit 1, 28 2, sent as status data to the controller 24 1 to 24 K, 29 1, 29 2,
Furthermore, the controller 24 to 1 ~24 K, 29 1, 29 2 from the CPU 33, the error information ER 1 ~ER K, ER P1,
Sent as ER P2 .

【0079】出力メモリ251 〜25K ,301 ,30
2 に記録された各データは、同期がとられてエラー訂正
器31に出力される。このとき、読み出しエラーが発生
していた場合には、その旨を表すエラー情報が、CPU
33よりエラー訂正器31に送られる。このエラー情報
は、読み出しエラーが発生したHDDを特定する情報を
含んでいる。エラー訂正器31は、必要に応じて、エラ
ー情報と冗長符号データP1,P2とに基づいて、分割
データを修復して、データ多重器32に出力する。デー
タ多重器32は、エラー訂正器31から出力された分割
データを元のデータ列に並べ替えて、出力データDo
して外部へ出力する。
Output memories 25 1 to 25 K , 30 1 , 30
Each data recorded in 2 is output to the error corrector 31 in synchronization. At this time, if a read error has occurred, error information indicating that
The signal is sent from 33 to the error corrector 31. This error information includes information for specifying the HDD in which the read error has occurred. The error corrector 31 restores the divided data based on the error information and the redundant code data P1 and P2 as necessary, and outputs the data to the data multiplexer 32. The data multiplexer 32 rearranges the divided data output from the error corrector 31 into the original data sequence, and outputs it as output data Do to the outside.

【0080】本実施の形態では、誤り訂正符号として、
複数の分割データの誤り訂正が可能なリードソロモン符
号を用いているので、以下のような場合に、分割データ
の修復が可能である。
In this embodiment, the error correction code is
Since a Reed-Solomon code capable of correcting an error in a plurality of divided data is used, the divided data can be repaired in the following cases.

【0081】(1)1台のHDDの読み出しデータに誤
りがある場合 この場合は、そのHDDで読み出しエラーが発生した旨
のエラー情報の通知があった場合はもちろん、エラー情
報の通知がなかった場合でも、分割データの修復が可能
である。 (2)2台のHDDの読み出しデータに誤りがあり、且
つそれらのHDDで読み出しエラーが発生した旨のエラ
ー情報の通知があった場合
(1) When there is an error in the read data of one HDD In this case, not only the error information indicating that the read error has occurred in the HDD, but also the error information is not notified. Even in such a case, it is possible to repair the divided data. (2) When there is an error in the read data of the two HDDs and there is notification of error information indicating that a read error has occurred in those HDDs

【0082】ところで、いずれかのHDDにおいて、書
き込み動作においてエラー(以下、書き込みエラーと言
う。)が発生した場合、書き込みエラーが発生したデー
タを修復する必要がある。このような記録媒体(ハード
ディスク)における記録領域の一部についてのデータの
修復処理を、本実施の形態において部分再構築処理(部
分Rebuild )と呼ぶ。また、書き込み動作や読み出し動
作において、いつもエラーとなってしまうような欠陥セ
クタが発生した場合には、前述のように、LBAと物理
的なセクタ番号との対応関係を変える再割り付け処理
(Reassign)を行う必要がある。更に、いずれかのHD
Dが交換された場合には、新しいHDDに元のデータを
再構築していく必要がある。このような記録媒体(ハー
ドディスク)における記録領域全体についてのデータの
修復処理を、本実施の形態において全体再構築処理(全
体Rebuild )と呼ぶ。
When an error (hereinafter referred to as a write error) occurs in a write operation in any of the HDDs, it is necessary to repair the data in which the write error has occurred. The process of restoring data for a part of the recording area on such a recording medium (hard disk) is referred to as a partial rebuild process (partial Rebuild) in the present embodiment. Further, when a defective sector that always causes an error occurs in the write operation or the read operation, as described above, the reassignment process (Reassign) that changes the correspondence between the LBA and the physical sector number. Need to do. In addition, any HD
When D is exchanged, it is necessary to reconstruct the original data in a new HDD. The process of restoring data for the entire recording area on such a recording medium (hard disk) is referred to as an overall rebuild process (entire Rebuild) in the present embodiment.

【0083】以下、上述の部分再構築処理、再割り付け
処理および全体再構築処理を含むデータ記録再生装置1
1の全体的な動作の一例について説明する。以下の例で
は、データ記録再生装置11の動作モードには、通常モ
ードと、再割り付け処理モードと、全体再構築処理モー
ドとがある。通常モードから再割り付け処理モードへの
移行は、通常モードにおいて所定の条件が満たされた場
合や、データ記録再生装置11に対して上位の装置、す
なわち図1における入出力プロセッサ部12からの指示
があった場合に発生する。再割り付け処理モードにおけ
る処理が完了したら、通常モードへ移行する。また、通
常モードから全体再構築処理モードへの移行は、データ
記録再生装置11に対して上位の装置、すなわち図1に
おける入出力プロセッサ部12からの指示があった場合
や、データ記録再生装置11自身が、いずれかのHDD
が交換されたことを検知した場合に発生する。全体再構
築処理モードにおける処理が完了したら、通常モードへ
移行する。
Hereinafter, the data recording / reproducing apparatus 1 including the above-described partial reconstruction processing, reallocation processing, and overall reconstruction processing will be described.
An example of the overall operation of No. 1 will be described. In the following example, the operation modes of the data recording / reproducing apparatus 11 include a normal mode, a reallocation processing mode, and a whole reconstruction processing mode. The transition from the normal mode to the reallocation processing mode is performed when a predetermined condition is satisfied in the normal mode or when an instruction from a higher-level device, that is, the input / output processor unit 12 in FIG. Occurs when there is. When the processing in the reallocation processing mode is completed, the mode shifts to the normal mode. The transition from the normal mode to the entire reconstruction processing mode is performed when the data recording / reproducing device 11 receives an instruction from a higher-level device, that is, the input / output processor unit 12 in FIG. Own HDD
Occurs when it is detected that has been replaced. When the processing in the whole reconstruction processing mode is completed, the mode is shifted to the normal mode.

【0084】図3および図4は、通常モードの1タイム
スロットにおけるデータ記録再生装置11の動作を示す
流れ図である。この動作では、まず、CPU33は、書
き込みを指示するコマンドを受信したか否かを判断し
(ステップS101)、書き込みを指示するコマンドを
受信した場合(Y)は、前述の書き込み動作を行う(ス
テップS102)。CPU33が書き込み指示コマンド
を受信したか否かの判断は、例えば、上位入出力プロセ
ッサ部131 〜136 からバス16を介して転送された
コマンドをCPU33が受信して、このコマンドが書き
込み指示のコマンドであるか否かを判断することによっ
て行うことができる。書き込み動作の終了後、CPU3
3は、各HDD211 〜21K ,281 ,282 からの
情報に基づいて、データの書き込みが成功したか否かを
判断する(ステップS103)。データの書き込みが成
功した場合(Y)には、1タイムスロットにおける動作
を終了する。データの書き込みが失敗した場合(ステッ
プS103;N)には、CPU33は、書き込みが失敗
したHDDおよびアドレスを記憶して(ステップS10
4)、1タイムスロットにおける動作を終了する。
FIGS. 3 and 4 are flowcharts showing the operation of the data recording / reproducing apparatus 11 in one time slot in the normal mode. In this operation, first, the CPU 33 determines whether or not a command to instruct writing has been received (step S101). If a command to instruct writing has been received (Y), the above-described writing operation is performed (step S101). S102). CPU 33 whether the determination has been received write instruction command, for example, the higher the input-output processor unit 13 1 to 13 6 CPU 33 commands transferred via the bus 16 from the received, this command is a write instruction It can be performed by determining whether the command is a command or not. After the end of the write operation, the CPU 3
3, based on the HDD21 1 ~21 K, 28 1, 28 information from 2, to determine whether the writing of data is successful (step S103). If the data writing is successful (Y), the operation in one time slot ends. If the data writing has failed (step S103; N), the CPU 33 stores the HDD and the address where the writing has failed (step S10).
4) The operation in one time slot ends.

【0085】CPU33は、書き込みを指示するコマン
ドを受信していない場合(ステップS101;N)は、
読み出しを指示するコマンドを受信したか否かを判断し
(ステップS105)、読み出しを指示するコマンドを
受信した場合(Y)は、前述の読み出し動作を行う(ス
テップS106)。この読み出しコマンドを受信したか
否かの判断も、上位入出力プロセッサ部131 〜136
からバス16を介して転送されたコマンドをCPU33
が受信することで行うことができる。読み出し動作の終
了後、CPU33は、各HDD211 〜21K ,2
1 ,282 からのエラー情報ER1 〜ERK ,E
P1,ERP2の有無に基づいて、データの読み出しが成
功したか否かを判断する(ステップS107)。データ
の読み出しが成功した場合(Y)には、1タイムスロッ
トにおける動作を終了する。データの読み出しが失敗し
た場合(ステップS107;N)には、CPU33は、
読み出しが失敗したHDDおよびアドレスと、そのHD
Dおよびアドレスにおける読み出し失敗の回数を記憶す
る(ステップS108)。次に、CPU33は、ステッ
プS108で記憶した読み出し失敗の回数が所定値N1
(N1は1以上の任意の整数値)以上か否かを判断し
(ステップS109)、読み出し失敗の回数が所定値N
1以上でなければ(N)、1タイムスロットにおける動
作を終了する。読み出し失敗の回数が所定値N1以上の
場合(Y)、CPU33は、後述する再割り付け処理モ
ードへ移行する(ステップS115)。
When the CPU 33 has not received the command for writing (step S101; N),
It is determined whether a command instructing reading has been received (step S105). If a command instructing reading has been received (Y), the above-described reading operation is performed (step S106). Determination also whether it has received this read command, the higher the input-output processor unit 131-134 6
The command transferred from the CPU 16 via the bus 16
Can be performed by receiving. After completion of the read operation, CPU 33, each HDD 21 1 through 21 K, 2
8 1, 28 error information ER 1 to Er K from 2, E
Based on the presence or absence of R P1, ER P2, it is determined whether the data read is successful (step S107). If the data reading is successful (Y), the operation in one time slot is ended. If the data reading has failed (step S107; N), the CPU 33
HDD and address where reading failed, and the HD
The number of read failures at D and the address is stored (step S108). Next, the CPU 33 determines that the number of read failures stored in step S108 is equal to the predetermined value N1.
(N1 is an arbitrary integer value of 1 or more) is determined (step S109), and the number of read failures is reduced to a predetermined value N.
If it is not one or more (N), the operation in one time slot ends. When the number of read failures is equal to or greater than the predetermined value N1 (Y), the CPU 33 shifts to a reallocation processing mode described later (step S115).

【0086】CPU33は、書き込みを指示するコマン
ドも読み出しを指示するコマンドも受信しなかった場合
(ステップS105;N)には、部分再構築処理を行う
べきHDDおよびアドレスがあるか否かを判断する(ス
テップS110)。ここで、部分再構築処理を行うべき
HDDおよびアドレスには、次の3種類がある。すなわ
ち、第1は、ステップS104で記憶した書き込みが失
敗したHDDおよびアドレスである。第2は、再割り付
け処理を行ったHDDおよびアドレスである。第3は、
後で詳しく説明するが、再割り付け処理における書き込
み動作停止中に記憶しておいたHDDおよびアドレスで
ある。部分再構築処理を行うべきHDDおよびアドレス
は、CPU33が記憶している。なお、部分再構築処理
を行うべきHDDおよびアドレスを、データ記録再生装
置11に対して上位の装置、すなわち図1における入出
力プロセッサ部12が記憶するようにしてもよい。ちな
みに、書き込み指示がなく(ステップS101;N)、
かつ読み出し指示もない(ステップS105;N)とき
は、上位プロセッサ12側からは動作の指示がないとき
である。つまり、割り当てられたタイムスロットで上位
プロセッサ12側が動作するのは、上位からデータの書
き込み指示やデータの読み出し指示があるときで、これ
らの指示がないときは、割り当てられたタイムスロット
での動作がすでに終了しているときである。
When neither a command instructing writing nor a command instructing reading is received (step S105; N), the CPU 33 determines whether or not there is an HDD and an address to be subjected to the partial rebuilding process. (Step S110). Here, there are the following three types of HDDs and addresses to be subjected to the partial reconstruction processing. That is, the first is the HDD and the address where the writing failed in step S104. The second is the HDDs and addresses that have been reallocated. Third,
As will be described in detail later, the HDD and the address stored during the stop of the write operation in the reallocation processing. The CPU 33 stores the HDD and the address at which the partial rebuilding process is to be performed. It should be noted that the HDD and the address at which the partial rebuilding process is to be performed may be stored in a higher-level device than the data recording / reproducing device 11, that is, the input / output processor unit 12 in FIG. Incidentally, there is no write instruction (step S101; N),
Further, when there is no read instruction (step S105; N), there is no operation instruction from the host processor 12 side. In other words, the upper processor 12 operates in the assigned time slot when there is a data write instruction or a data read instruction from the upper level, and when there is no such instruction, the operation in the assigned time slot is performed. It's already finished.

【0087】部分再構築処理を行うべきHDDおよびア
ドレスがない場合(ステップS110;N)は、処理を
終了させる。部分再構築処理を行うべきHDDおよびア
ドレスがある場合(ステップS110;Y)は、部分再
構築処理を行う(ステップS111)。この部分再構築
処理については、後で詳しく説明する。
If there is no HDD and address to perform the partial rebuilding process (step S110; N), the process is terminated. If there is an HDD and an address to be subjected to the partial reconstruction process (step S110; Y), the partial reconstruction process is performed (step S111). This partial reconstruction processing will be described later in detail.

【0088】CPU33は、部分再構築処理の終了後、
部分再構築処理が成功したか否かを判断する(ステップ
S112)。部分再構築処理が成功した場合(Y)は、
処理動作を終了する。部分再構築処理が失敗した場合
(N)には、CPU33は、部分再構築処理が失敗した
HDD、アドレスおよび部分再構築処理が失敗した回数
を記憶する(ステップS113)。次に、CPU33
は、ステップS113で記憶した部分再構築処理の失敗
の回数が所定値N2(N2は1以上の任意の整数値)以
上か否かを判断し(ステップS114)、部分再構築処
理の失敗の回数が所定値N2以上でなければ(N)、1
タイムスロットにおける動作を終了する。部分再構築処
理の失敗の回数が所定値N2以上の場合(Y)、CPU
33は、後述する再割り付け処理モードへ移行する(ス
テップS115)。
After the completion of the partial reconstruction process, the CPU 33
It is determined whether or not the partial reconstruction process has succeeded (step S112). If the partial reconstruction process is successful (Y),
The processing operation ends. If the partial rebuilding process has failed (N), the CPU 33 stores the HDD where the partial rebuilding process failed, the address, and the number of times the partial rebuilding process failed (step S113). Next, the CPU 33
Determines whether the number of failures in the partial reconstruction process stored in step S113 is equal to or greater than a predetermined value N2 (N2 is an arbitrary integer of 1 or more) (step S114), and determines the number of failures in the partial reconstruction process. Is not greater than or equal to a predetermined value N2 (N), 1
The operation in the time slot ends. If the number of failures in the partial reconstruction process is equal to or more than the predetermined value N2 (Y), the CPU
33 shifts to the reallocation processing mode described later (step S115).

【0089】このように、本実施の形態では、部分再構
築処理は、上位側から転送されたデータに対する書き込
み動作や上位側に出力すべき記録されたデータの読み出
し動作を中断することなく、上位からの書き込み指示や
読み出し指示のないタイムスロット、すなわち空き動作
時間において実行される。
As described above, in the present embodiment, the partial rebuilding process is performed without interrupting the writing operation for the data transferred from the upper side or the reading operation of the recorded data to be output to the upper side. It is executed in a time slot without a write instruction or a read instruction from, that is, in an idle operation time.

【0090】次に、図5の流れ図を参照して、部分再構
築処理(ステップS111)について、詳しく説明す
る。この部分再構築処理は、セクタ単位で行われる。こ
の部分再構築処理では、まず、CPU33は、部分再構
築処理を行うべきアドレス(セクタ)を指定して、各コ
ントローラ241 〜24K ,291 ,292 に対して読
み出し動作を行わせる。これに応じて、各コントローラ
241 〜24K ,291,292 は、各HDD211
21K ,281 ,282 より、指定されたアドレスのデ
ータを読み出す(ステップS201)。読み出された各
データは、出力メモリ251 〜25K ,301 ,302
を経て、エラー訂正器31に入力される。このとき、C
PU33は、エラー訂正器31に対して、部分再構築処
理を行うべきHDDから読み出されたデータは使用しな
いように指示を与えておく。エラー訂正器31は、出力
メモリ251 〜25K ,301 ,302 より出力される
データのうち、部分再構築処理を行うべきHDDから読
み出されたデータ以外のデータを用いて、部分データの
修復を行い(ステップS202)、修復後の部分データ
をデータ多重器32に出力する。データ多重器32は、
エラー訂正器31から出力された分割データを元のデー
タ列に並べ替えて、出力データDo として出力する。
Next, the partial reconstruction process (step S111) will be described in detail with reference to the flowchart of FIG. This partial reconstruction process is performed in sector units. In this part reconstruction process, first, CPU 33 specifies the address (sector) to perform the partial reconstruction processing to perform the read operation for each controller 24 1 ~24 K, 29 1, 29 2. In response, the controller 24 1 ~24 K, 29 1, 29 2 , each HDD 21 1 ~
21 K, 28 1, from 28 2 to read the data at the specified address (step S201). The read data are stored in output memories 25 1 to 25 K , 30 1 and 30 2.
Are input to the error corrector 31. At this time, C
The PU 33 instructs the error corrector 31 not to use the data read from the HDD to be subjected to the partial reconstruction processing. Error corrector 31 outputs the memory 25 1 ~25 K, 30 1, 30 2 of the data outputted from, using data other than the data read from the HDD to perform the partial reconstruction process, the partial data Is restored (step S202), and the restored partial data is output to the data multiplexer 32. The data multiplexer 32
The divided data output from the error corrector 31 is rearranged into the original data sequence and output as output data Do.

【0091】次に、CPU33の制御により、データ多
重器32からの出力データDo をデータ分配器22に入
力し、入力データDI の書き込み時と同様の書き込み動
作を行って、部分再構築処理を行うべきHDDに対し
て、修復された部分データを書き込んで(ステップS2
03)、部分再構築処理を終了する。なお、書き込み動
作では、部分再構築処理を行うべきHDDのみにおいて
データの書き込みを行えばよいが、簡易的には、全ての
HDD211 〜21K ,281 ,282 において書き込
みを行ってもよい。
[0091] Next, the control of the CPU 33, receives the output data D o from the data multiplexer 32 to the data distributor 22, by performing the same writing operation and writing the input data D I, partial reconstruction process The repaired partial data is written to the HDD to be subjected to the
03), end the partial restructuring process. In the write operation, partial reconstruction processing may be performed to write data in the HDD only be performed, but in a simplified manner, all the HDD21 1 ~21 K, 28 1, 28 2 may be carried out writing in .

【0092】本実施の形態では、誤り訂正符号として、
複数の分割データの誤り訂正が可能なリードソロモン符
号を用いているので、部分再構築処理中であっても、R
AID−3を用いたデータ記録再生装置と同様のデータ
の誤り検出および訂正の能力を保つことができる。すな
わち、部分再構築処理中に、部分再構築処理を行うべき
HDD以外のもう1台のHDDにおいて読み出しエラー
が発生しても、データを正しく修復することが可能であ
る。
In this embodiment, the error correction code is
Since a Reed-Solomon code capable of correcting an error of a plurality of divided data is used, even if a partial reconstruction process is being performed,
The same data error detection and correction capabilities as those of the data recording / reproducing apparatus using AID-3 can be maintained. That is, even if a read error occurs in another HDD other than the HDD to be subjected to the partial rebuilding process during the partial rebuilding process, the data can be correctly restored.

【0093】なお、上記説明では、部分再構築処理にお
いて、データ多重器32の出力データDo をデータ分配
器22に送って書き込み処理を行うようにしたが、エラ
ー訂正器31より出力される各分割データを各入力メモ
リ231 〜23K および冗長符号生成器26に送って書
き込み処理を行うようにしてもよい。
[0093] In the above description, in the partial reconstruction process, each was to perform a write operation by sending the output data D o of the data multiplexer 32 to the data distributor 22, and is outputted from the error corrector 31 the divided data may be performed write processing is sent to each of the input memory 23 1 ~ 23 K and the redundancy code generator 26.

【0094】また、上記説明では、部分再構築処理を行
うべきHDDおよびアドレスを、CPU33が検知し、
記憶しておくようにしたが、データ記録再生装置11に
対して上位の装置、すなわち図1における入出力プロセ
ッサ部12が、部分再構築処理を行うべきHDDおよび
アドレスを記憶し、データ記録再生装置11に対して、
部分再構築処理を行うべきHDDおよびアドレスを指定
して部分再構築処理の指示を送り、この指示に応じてデ
ータ記録再生装置11が部分再構築処理を行うようにし
てもよい。この場合も、部分再構築処理は、書き込み指
示や読み出し指示のないタイムスロットにおいて実行す
るようにする。
In the above description, the CPU 33 detects the HDD and the address where the partial rebuilding process is to be performed, and
The input / output processor unit 12 shown in FIG. 1 stores the HDD and the address at which the partial rebuilding process is to be performed with respect to the data recording / reproducing apparatus 11. For 11,
An instruction for the partial rebuilding process may be sent by designating the HDD and the address where the partial rebuilding process is to be performed, and the data recording / reproducing apparatus 11 may perform the partial rebuilding process in response to the instruction. Also in this case, the partial rebuilding process is executed in a time slot without a write instruction or a read instruction.

【0095】次に、図6の流れ図を参照して、再割り付
け処理モード時の動作について説明する。なお、通常モ
ードから再割り付け処理モードへの移行は、図3および
図4に示した通常モードにおいて所定の条件が満たされ
た場合(ステップS115)や、データ記録再生装置1
1に対して上位の装置、すなわち図1における入出力プ
ロセッサ部12からの指示があった場合に発生する。
Next, the operation in the reallocation processing mode will be described with reference to the flowchart of FIG. The transition from the normal mode to the reallocation processing mode is performed when a predetermined condition is satisfied (step S115) in the normal mode shown in FIGS.
This occurs when there is an instruction from a higher-level device, namely, the input / output processor unit 12 in FIG.

【0096】再割り付け処理モードの動作では、まず、
CPU33は、再割り付けを行うHDDにおける書き込
み動作および読み出し動作を停止して(ステップS30
1)、再割り付けを行うHDDを分割データの記録再生
対象から除外する。次に、CPU33は、再割り付けを
行うHDDに対して、再割り付けを行うセクタを指定し
て、再割り付け処理を開始させる(ステップS30
2)。なお、再割り付けを行うセクタは、読み出しの失
敗回数がN1以上となったセクタおよび部分再構築処理
の失敗回数がN2以上となったセクタである。再割り付
け処理は、前述のように、LBAと物理的なセクタ番号
との対応関係を変えることである。CPU33は、再割
り付け処理中に、書き込みを指示するコマンドを受信し
た場合には、再割り付けを行うHDD以外のHDDにお
いて書き込み動作を行わせると共に、再割り付けを行う
HDDと書き込みが指示されたLBAとを記憶してお
く。CPU33は、再割り付け処理中に、読み出しを指
示するコマンドを受信した場合には、再割り付けを行う
HDD以外のHDDにおいて読み出し動作を行わせると
共に、エラー訂正器31に対して、再割り付けを行うH
DDからのデータを無効としてエラー訂正を行うように
指示を与える。
In the operation of the reallocation processing mode, first,
The CPU 33 stops the write operation and the read operation in the HDD to be reallocated (step S30).
1) Excluding HDDs to be reallocated from the recording / reproduction targets of the divided data. Next, the CPU 33 specifies a sector to be re-allocated to the HDD to be re-allocated and starts the re-allocation process (step S30).
2). Note that the sectors to be reallocated are the sectors in which the number of read failures is N1 or more and the sectors in which the number of failures in the partial reconstruction process is N2 or more. As described above, the reallocation processing is to change the correspondence between the LBA and the physical sector number. When the CPU 33 receives a command instructing writing during the reallocation processing, the CPU 33 causes the HDD other than the HDD to be reallocated to perform the write operation, and the HDD to be reallocated and the LBA to which the write has been instructed. Is stored. When the CPU 33 receives a command instructing reading during the re-allocation processing, the CPU 33 causes the HDD other than the HDD to be re-allocated to perform a read operation, and performs H re-allocation to the error corrector 31.
An instruction is issued to invalidate data from the DD and perform error correction.

【0097】次に、CPU33は、再割り付け処理が終
了したか否かを判断し(ステップS303)、終了して
いなければ(N)、この判断を繰り返す。再割り付け処
理が終了したら(Y)、再割り付けを行うHDDにおけ
る書き込み動作および読み出し動作の停止を解除し(ス
テップS304)、通常モードへ移行する(ステップS
305)。
Next, the CPU 33 determines whether or not the reallocation processing has been completed (step S303), and if not completed (N), repeats this determination. When the reallocation processing is completed (Y), the suspension of the write operation and the read operation in the HDD to be reallocated is released (step S304), and the mode shifts to the normal mode (step S304).
305).

【0098】このように、本実施の形態では、再割り付
け処理中であっても、書き込み動作や読み出し動作は中
断することなく実行される。しかも、本実施の形態で
は、誤り訂正符号として、複数の分割データの誤り訂正
が可能なリードソロモン符号を用いているので、再割り
付け処理中であっても、RAID−3を用いたデータ記
録再生装置と同様のデータの誤り検出および訂正の能力
を保つことができる。すなわち、再割り付け処理中の読
み出し動作において、再割り付け処理を行っているHD
D以外のもう1台のHDDにおいて読み出しエラーが発
生しても、データを正しく修復することが可能である。
As described above, in the present embodiment, even during the reallocation process, the write operation and the read operation are executed without interruption. Moreover, in the present embodiment, a Reed-Solomon code capable of correcting an error in a plurality of divided data is used as the error correction code. The same data error detection and correction capability as the device can be maintained. That is, in the read operation during the reallocation process, the HD performing the reallocation process
Even if a read error occurs in another HDD other than D, the data can be correctly restored.

【0099】次に、全体再構築処理について説明する。
全体再構築処理は、いずれかのHDDが交換された場合
に実行される。通常モードから全体再構築処理モードへ
の移行は、前述のように、データ記録再生装置11に対
して上位の装置、すなわち図1における入出力プロセッ
サ部12からの指示があった場合や、データ記録再生装
置11自身が、いずれかのHDDが交換されたことを検
知した場合に発生する。入出力プロセッサ部12からの
指示には、全体再構築処理を行うべきHDDを特定する
情報が含まれる。データ記録再生装置11自身が、いず
れかのHDDが交換されたことを検知する方法として
は、次のような方法が用いられる。すなわち、まず、検
知動作は、データ記録再生装置11が起動するときやH
DDを抜き差しするときに、CPU33によって行われ
る。HDDの抜き差しがあったことは、コントローラ2
1 〜24K ,291 ,292 が検知し、CPU33に
伝える。HDDが交換されたか否かの判断は、コントロ
ーラ241 〜24K ,291,292 によって検知され
るHDDのシリアル番号を用いて、あるいはHDDの所
定の領域にHDDの固有の情報を記録しておいて、その
情報を用いて行う。
Next, the whole reconstruction process will be described.
The whole rebuilding process is executed when any one of the HDDs is replaced. As described above, the transition from the normal mode to the whole reconstruction processing mode is performed when the data recording / reproducing apparatus 11 receives an instruction from a higher-level device, that is, the input / output processor unit 12 in FIG. This occurs when the playback device 11 itself detects that any HDD has been replaced. The instruction from the input / output processor unit 12 includes information for specifying the HDD on which the entire rebuilding process is to be performed. The following method is used as a method in which the data recording / reproducing device 11 itself detects that any HDD has been replaced. That is, first, the detection operation is performed when the data recording / reproducing device 11
This is performed by the CPU 33 when inserting and removing the DD. The fact that the HDD has been removed and inserted indicates that the controller 2
4 1 ~24 K, 29 1, 29 2 is detected, transmitted to CPU 33. It determines whether HDD is replaced, using the serial number of the HDD to be detected by the controller 24 1 ~24 K, 29 1, 29 2, or a specific information of the HDD recorded in a predetermined area of the HDD In advance, using that information.

【0100】次に、図7の流れ図を参照して、全体再構
築処理モード時の1タイムスロットにおける動作につい
て説明する。この動作では、まず、CPU33は、書き
込みを指示するコマンドを受信したか否かを判断し(ス
テップS401)、書き込みを指示するコマンドを受信
した場合(Y)は、書き込み動作を行う(ステップS4
02)。このときの書き込み動作は、通常モード時と同
様である。書き込み動作の終了後、CPU33は、各H
DD211 〜21K ,281 ,282 からの情報に基づ
いて、データの書き込みが成功したか否かを判断する
(ステップS403)。データの書き込みが成功した場
合(Y)には、1タイムスロットにおける動作を終了す
る。データの書き込みが失敗した場合(ステップS40
3;N)には、CPU33は、書き込みが失敗したHD
Dおよびアドレスを記憶して(ステップS404)、1
タイムスロットにおける動作を終了する。
Next, the operation in one time slot in the whole reconstruction processing mode will be described with reference to the flowchart of FIG. In this operation, first, the CPU 33 determines whether or not a command for instructing writing has been received (step S401). If a command for instructing writing has been received (Y), a writing operation is performed (step S4).
02). The write operation at this time is the same as in the normal mode. After the end of the write operation, the CPU 33
DD21 based on 1 ~21 K, 28 1, 28 information from 2, to determine whether the writing of data is successful (step S403). If the data writing is successful (Y), the operation in one time slot ends. When data writing has failed (step S40)
3; N) indicates that the CPU 33
D and the address are stored (step S404),
The operation in the time slot ends.

【0101】CPU33は、書き込みを指示するコマン
ドを受信していない場合(ステップS401;N)は、
読み出しを指示するコマンドを受信したか否かを判断し
(ステップS405)、読み出しを指示するコマンドを
受信した場合(Y)は、読み出し動作を行う(ステップ
S406)。ただし、このときの読み出し動作では、C
PU33は、エラー訂正器31に対して、全体再構築処
理を行うべきHDDから読み出されたデータは使用しな
いように指示を与えておく。エラー訂正器31は、出力
メモリ251 〜25K ,301 ,302 より出力される
データのうち、全体再構築処理を行うべきHDDから読
み出されたデータ以外のデータを用いて、部分データの
修復を行い、修復後の部分データをデータ多重器32に
出力する。読み出し動作の終了後、CPU33は、各H
DD211 〜21K ,281 ,282 からのエラー情報
ER1 〜ERK ,ERP1,ERP2の有無に基づいて、デ
ータの読み出しが成功したか否かを判断する(ステップ
S407)。データの読み出しが成功した場合(Y)に
は、1タイムスロットにおける動作を終了する。データ
の読み出しが失敗した場合(ステップS407;N)に
は、CPU33は、読み出しが失敗したHDDおよびア
ドレスと、そのHDDおよびアドレスにおける読み出し
失敗の回数を記憶して(ステップS408)、1タイム
スロットにおける動作を終了する。
When the CPU 33 has not received the command for writing (step S401; N),
It is determined whether or not a command to instruct reading is received (step S405). If a command to instruct reading is received (Y), a reading operation is performed (step S406). However, in the read operation at this time, C
The PU 33 instructs the error corrector 31 not to use the data read from the HDD for which the entire rebuilding process is to be performed. Error corrector 31 outputs the memory 25 1 ~25 K, 30 1, 30 2 of the data outputted from, using data other than the data read from the HDD to perform the entire rebuild process, the partial data Is restored, and the restored partial data is output to the data multiplexer 32. After the end of the read operation, the CPU 33
DD21 1 ~21 K, 28 1, 28 error information ER 1 to Er K from 2, based on the presence or absence of ER P1, ER P2, it is determined whether the data read is successful (step S407). If the data reading is successful (Y), the operation in one time slot is ended. When the data reading has failed (step S407; N), the CPU 33 stores the HDD and the address from which the reading failed and the number of times of the reading failure in the HDD and the address (step S408). End the operation.

【0102】CPU33は、書き込みを指示するコマン
ドも読み出しを指示するコマンドも受信しなかった場合
(ステップS405;N)には、全体再構築処理を行う
(ステップS409)。全体再構築処理は、部分再構築
処理と同様の処理を、ハードディスクの記録領域全体に
ついて行うものである。次に、CPU33は、全体再構
築処理が全て終了したか否かを判断し(ステップS41
0)、全体再構築処理が全て終了していなければ
(N)、1タイムスロットにおける動作を終了する。全
体再構築処理が全て終了したら(Y)、通常モードへ移
行する(ステップS411)。
When neither a command instructing writing nor a command instructing reading is received (step S405; N), the CPU 33 performs an overall rebuilding process (step S409). The whole reconstruction process performs the same process as the partial reconstruction process for the entire recording area of the hard disk. Next, the CPU 33 determines whether or not all the entire rebuilding processes have been completed (step S41).
0), if all the rebuilding processes have not been completed (N), the operation in one time slot is completed. When the entire rebuilding process has been completed (Y), the mode is shifted to the normal mode (step S411).

【0103】このように、本実施の形態では、全体再構
築処理は、書き込み動作や読み出し動作を中断すること
なく、書き込み指示や読み出し指示のないタイムスロッ
トにおいて実行される。
As described above, in the present embodiment, the entire rebuilding process is executed in a time slot without a write instruction or a read instruction without interrupting a write operation or a read operation.

【0104】また、本実施の形態では、誤り訂正符号と
して、複数の分割データの誤り訂正が可能なリードソロ
モン符号を用いているので、全体再構築処理モード中で
あっても、RAID−3を用いたデータ記録再生装置と
同様のデータの誤り検出および訂正の能力を保つことが
できる。すなわち、全体再構築処理中に、全体再構築処
理を行うべきHDD以外のもう1台のHDDにおいて読
み出しエラーが発生しても、データを正しく修復するこ
とが可能である。また、全体再構築処理モード中におけ
る読み出し動作において、全体再構築処理を行うべきH
DD以外のもう1台のHDDにおいて読み出しエラーが
発生した場合も、データを正しく修復することが可能で
ある。
In this embodiment, a Reed-Solomon code capable of correcting an error in a plurality of divided data is used as an error correction code. The same data error detection and correction capabilities as those of the data recording / reproducing apparatus used can be maintained. That is, even if a read error occurs in another HDD other than the HDD for which the entire rebuilding process is to be performed during the entire rebuilding process, the data can be correctly restored. Further, in the read operation during the whole reconstruction processing mode, H to perform the whole reconstruction processing
Even when a read error occurs in another HDD other than the DD, the data can be correctly restored.

【0105】なお、全体再構築処理においても、部分再
構築処理と同様に、修復後のデータの書き込み動作で
は、全体再構築処理を行うべきHDDのみにおいてデー
タの書き込みを行えばよいが、簡易的には、全てのHD
D211 〜21K ,281 ,282 において書き込みを
行ってもよい。
In the whole rebuilding process, similarly to the partial rebuilding process, in the data writing operation after the restoration, the data may be written only in the HDD for which the whole rebuilding process is to be performed. All HD
D21 1 ~21 K, 28 1, 28 may be made to write in two.

【0106】また、上記説明では、全体再構築処理にお
いて、データ多重器32の出力データDo をデータ分配
器22に送って書き込み処理を行うようにしたが、エラ
ー訂正器31より出力される各分割データを各入力メモ
リ231 〜23K および冗長符号生成器26に送って書
き込み処理を行うようにしてもよい。
[0106] In the above description, each of the rebuilding process a whole, but to perform a write operation by sending the output data D o of the data multiplexer 32 to the data distributor 22, and is outputted from the error corrector 31 the divided data may be performed write processing is sent to each of the input memory 23 1 ~ 23 K and the redundancy code generator 26.

【0107】以上説明したように、本実施の形態に係る
データ記録再生装置11では、データの記録時には、入
力データを所定単位で分割して、複数の分割データを生
成すると共に、入力データに基づいて、入力データに対
して複数の分割データの誤り訂正が可能な誤り訂正符号
(リードソロモン符号)による誤り訂正符号データ(冗
長符号データP1,P2)を生成し、これら複数の分割
データおよび誤り訂正符号データをそれぞれ別個のHD
D211 〜21K ,281 ,282 によって記録し、デ
ータの再生時には、各HDD211 〜21K ,281
282 から、複数の分割データと誤り訂正符号データと
を再生し、再生された誤り訂正符号データを用いて、再
生された複数の分割データに対する誤り訂正処理を行
い、この誤り訂正処理後の各分割データを多重化して出
力するようにしている。従って、本実施の形態に係るデ
ータ記録再生装置11は、RAID−3やRAID−5
を用いたデータ記録再生装置に比べてデータの誤り検出
および訂正の能力に優れ、システムの信頼性を向上させ
ることができ、且つ、RAID−3を用いたデータ記録
再生装置と同様に、入力データの書き込みは、1回のア
クセスで可能であり、データの読み出し後のエラー訂正
も即座に行うことができ、リアルタイム性が要求される
処理に適し、マルチチャネルビデオサーバ等のリアルタ
イム性が要求される装置に適している。
As described above, in the data recording / reproducing apparatus 11 according to the present embodiment, when recording data, the input data is divided into predetermined units to generate a plurality of divided data, and based on the input data. To generate error correction code data (redundant code data P1 and P2) based on an error correction code (Reed-Solomon code) capable of correcting a plurality of divided data with respect to input data. Code data is stored in separate HD
D21 1 ~21 K, 28 1, 28 2 by recording, during data reproduction, each HDD21 1 ~21 K, 28 1,
From 28 2, reproduces a plurality of divided data and the error correction code data using the error correction code data reproduced, performs error correction processing for the reproduced plurality of divided data, each after the error correction processing The divided data is multiplexed and output. Therefore, the data recording / reproducing apparatus 11 according to the present embodiment can be used for RAID-3 or RAID-5.
Is superior in data error detection and correction capability as compared with a data recording / reproducing apparatus using a RAID, and can improve the reliability of the system. Can be written in a single access, error correction after data reading can be performed immediately, and it is suitable for processing that requires real-time characteristics, and real-time characteristics such as a multi-channel video server are required. Suitable for equipment.

【0108】具体的には、本実施の形態に係るデータ記
録再生装置11では、2つの分割データの誤り訂正が可
能な冗長符号データP1,P2を生成するようにしたの
で、1台のHDDが故障しても、RAID−3を用いた
データ記録再生装置と同様のデータの誤り検出および訂
正の能力を保つことができる。また、読み出しエラーが
発生せずに、1台のHDDが不正なデータを読み出した
場合でも、それを検知して、データを修復することがで
きる。更に、2台のHDDが不正なデータを読み出した
場合でも、各HDDにおける読み出しエラーが検出され
れば、データを修復することができる。
More specifically, the data recording / reproducing apparatus 11 according to the present embodiment generates redundant code data P1 and P2 capable of correcting the error of two divided data. Even if a failure occurs, the same data error detection and correction capability as that of a data recording / reproducing apparatus using RAID-3 can be maintained. In addition, even when one HDD reads incorrect data without a read error, it can be detected and the data can be restored. Further, even when two HDDs read illegal data, if a read error in each HDD is detected, the data can be restored.

【0109】また、本実施の形態に係るデータ記録再生
装置11によれば、部分再構築処理中であっても、RA
ID−3を用いたデータ記録再生装置と同様のデータの
誤り検出および訂正の能力を保つことができ、システム
の信頼性、保守性を向上させることができる。
Further, according to the data recording / reproducing apparatus 11 according to the present embodiment, even when the partial reconstructing process is being performed, the RA
It is possible to maintain the same data error detection and correction capabilities as those of the data recording / reproducing apparatus using ID-3, and improve the reliability and maintainability of the system.

【0110】更に、本実施の形態に係るデータ記録再生
装置11によれば、部分再構築処理を、書き込み指示や
読み出し指示のないタイムスロットにおいて実行するよ
うにしたので、マルチチャネルビデオサーバ等のリアル
タイム性が要求される装置を運用しながら、部分再構築
処理を行うことができる。
Further, according to the data recording / reproducing apparatus 11 according to the present embodiment, the partial reconstruction processing is executed in a time slot without a write instruction or a read instruction. The partial rebuilding process can be performed while operating a device that requires reliability.

【0111】また、本実施の形態に係るデータ記録再生
装置11によれば、全体再構築処理中であっても、RA
ID−3を用いたデータ記録再生装置と同様のデータの
誤り検出および訂正の能力を保つことができ、システム
の信頼性、保守性を向上させることができる。
Further, according to the data recording / reproducing apparatus 11 according to the present embodiment, even when the entire reconstruction process is being performed, the RA
It is possible to maintain the same data error detection and correction capabilities as those of the data recording / reproducing apparatus using ID-3, and improve the reliability and maintainability of the system.

【0112】更に、本実施の形態に係るデータ記録再生
装置11によれば、全体再構築処理を、書き込み指示や
読み出し指示のないタイムスロットにおいて実行するよ
うにしたので、マルチチャネルビデオサーバ等のリアル
タイム性が要求される装置を運用しながら、全体再構築
処理を行うことができる。
Further, according to the data recording / reproducing apparatus 11 according to the present embodiment, the whole reconstruction processing is executed in a time slot without a write instruction or a read instruction. It is possible to perform the entire rebuilding process while operating a device that requires reliability.

【0113】また、本実施の形態に係るデータ記録再生
装置11によれば、再割り付け処理中であっても、書き
込み動作や読み出し動作を中断することなく実行するよ
うにしたので、マルチチャネルビデオサーバ等のリアル
タイム性が要求される装置を運用しながら、再割り付け
処理を行うことができる。
Further, according to the data recording / reproducing apparatus 11 according to the present embodiment, the write operation and the read operation are executed without interruption even during the reallocation processing. The reallocation process can be performed while operating a device that requires real-time processing such as the above.

【0114】更に、本実施の形態に係るデータ記録再生
装置11によれば、再割り付け処理中であっても、RA
ID−3を用いたデータ記録再生装置と同様のデータの
誤り検出および訂正の能力を保つことができ、システム
の信頼性、保守性を向上させることができる。
Further, according to the data recording / reproducing apparatus 11 according to the present embodiment, even if the reallocation process is being performed, the RA
It is possible to maintain the same data error detection and correction capabilities as those of the data recording / reproducing apparatus using ID-3, and improve the reliability and maintainability of the system.

【0115】最後に、図10を参照して、本実施の形態
に係るデータ記録再生装置とRAID−3を用いたデー
タ記録再生装置とで信頼性を比較した結果の一例につい
て説明する。この例では、本実施の形態に係るデータ記
録再生装置は、14台の分割データ記録用のHDDと2
台のリードソロモン符号による冗長符号データ記録用の
HDDとを備えた構成としている。これに対し、RAI
D−3を用いたデータ記録再生装置は、7台の分割デー
タ記録用のHDDと1台のパリティデータ記録用のHD
Dとを1組とし、この組み合わせを2組設けた構成とし
ている。この例では、本実施の形態に係るデータ記録再
生装置とRAID−3を用いたデータ記録再生装置と
は、共に16台のHDDを使用しておりハードウェアの
規模が同等であり、且つ冗長度も共に8分の1で等しく
なっている。
Finally, with reference to FIG. 10, an example of a result of comparing reliability between the data recording / reproducing apparatus according to the present embodiment and a data recording / reproducing apparatus using RAID-3 will be described. In this example, the data recording / reproducing apparatus according to the present embodiment includes 14 divided data recording HDDs and 2 HDDs.
And an HDD for recording redundant code data using one Reed-Solomon code. In contrast, RAI
A data recording / reproducing apparatus using D-3 includes seven HDDs for recording divided data and one HDD for recording parity data.
D and one set, and two sets of this combination are provided. In this example, the data recording / reproducing apparatus according to the present embodiment and the data recording / reproducing apparatus using RAID-3 both use 16 HDDs, have the same hardware scale, and have redundancy. Are equal in one eighth.

【0116】図10において、横軸は、HDD単体での
エラー発生確率PU を表し、縦軸はデータ記録再生装置
全体でのエラー発生確率PS を表している。また、図1
0において、符号R6で示した線は、本実施の形態に係
るデータ記録再生装置におけるHDD単体でのエラー発
生確率PU と装置全体でのエラー発生確率PS との関係
を表し、符号R3で示した線は、RAID−3を用いた
データ記録再生装置におけるHDD単体でのエラー発生
確率PU と装置全体でのエラー発生確率PS との関係を
表している。
In FIG. 10, the horizontal axis represents the error occurrence probability P U of the HDD alone, and the vertical axis represents the error occurrence probability P S of the entire data recording / reproducing apparatus. FIG.
At 0, the line indicated by reference numeral R6 represents a relationship between the error occurrence probability P S of the entire error occurrence probability P U and apparatus in HDD itself in the data recording and reproducing apparatus according to this embodiment, by the symbol R3 The line shown represents the relationship between the error occurrence probability P U of the HDD alone in the data recording / reproducing device using RAID-3 and the error occurrence probability P S of the entire device.

【0117】なお、符号R6で示した線は、以下の式で
表される。 PS 163 U 3 (1−PU 13
The line indicated by reference numeral R6 is represented by the following equation. P S = 16 C 3 P U 3 (1-P U) 13

【0118】同様に、符号R3で示した線は、以下の式
で表される。 PS =2× 82 U 2 (1−PU 6
Similarly, the line indicated by reference numeral R3 is represented by the following equation. P S = 2 × 8 C 2 P U 2 (1-P U ) 6

【0119】図10において、符号Dは、本実施の形態
に係るデータ記録再生装置とRAID−3を用いたデー
タ記録再生装置との間での、同じHDD単体でのエラー
発生確率PU に対する装置全体でのエラー発生確率PS
の差を表している。このような差Dから分かるように、
RAID−3を用いたデータ記録再生装置に比べて本実
施の形態に係るデータ記録再生装置の方が、同じHDD
単体でのエラー発生確率PU に対する装置全体でのエラ
ー発生確率PS が小さくなっており、信頼性が高いと言
える。
[0119] In FIG. 10, reference numeral D is between the data recording and reproducing apparatus using the data recording and reproducing apparatus and RAID-3 according to this embodiment, apparatus for error occurrence probability P U in the same HDD alone Error probability P S as a whole
Represents the difference between As can be seen from such a difference D,
The data recording / reproducing apparatus according to the present embodiment has the same HDD as that of the data recording / reproducing apparatus using RAID-3.
Error probability P S of the entire device with respect to error occurrence probability P U by itself has become smaller, it can be said to be reliable.

【0120】また、図10において、符号Cで示した線
は、RAIDを用いない場合のPU=PS となる関係を
表している。この線Cよりも下側の領域では、RAID
を用いない場合に比べて、同じHDD単体でのエラー発
生確率PU に対するデータ記録再生装置全体でのエラー
発生確率PS が小さくなって、信頼性が向上する。線R
6,R3が線Cと交差する点は、RAIDを用いない場
合に比べて信頼性が向上し始める分岐点となる。線R
6,R3が線Cと交差する点、すなわち分岐点をそれぞ
れA,Bとすると、本実施の形態に係るデータ記録再生
装置は、分岐点Aよりも確率PU が小さいときに、RA
IDを用いない場合に比べて信頼性が向上し、RAID
−3を用いたデータ記録再生装置は、分岐点Bよりも確
率PU が小さいときに、RAIDを用いない場合に比べ
て信頼性が向上する。
In FIG. 10, the line indicated by reference symbol C represents the relationship where P U = P S when no RAID is used. In the area below this line C, RAID
As compared with the case of not using the error occurrence probability P S of the entire data recording and reproducing apparatus for error occurrence probability P U in the same HDD itself is decreased, the reliability is improved. Line R
6, the point where R3 intersects with the line C is a branch point where the reliability starts to improve as compared with the case where RAID is not used. Line R
6, R3 that intersects the line C, that a branch point each A, when is B, the data recording and reproducing apparatus according to this embodiment, when a small probability P U of the branch point A, RA
Reliability is improved compared to the case where no ID is used.
-3 data recording and reproducing apparatus using, when the probability P U is smaller than the branch point B, reliability can be improved as compared with the case of not using the RAID.

【0121】分岐点Bにおける確率PU に比べて分岐点
Aにおける確率PU の方が大きいことから、RAID−
3を用いたデータ記録再生装置に比べて本実施の形態に
係るデータ記録再生装置の方が、非定常誤り(ランダム
エラー)に対する耐性が大きく、信頼性が高いことが分
かる。
[0121] Because of the greater probability P U at the branch point A as compared with the probability P U at the branch point B, RAID-
It can be seen that the data recording / reproducing apparatus according to the present embodiment has higher resistance to non-stationary errors (random errors) and higher reliability than the data recording / reproducing apparatus using No. 3.

【0122】以上の比較結果より、本実施の形態に係る
データ記録再生装置によれば、RAID−3を用いたデ
ータ記録再生装置に比べて、同等のハードウェアの規模
および冗長度としながら、信頼性を向上させることがで
きる。
According to the above comparison results, the data recording / reproducing apparatus according to the present embodiment has the same hardware scale and redundancy as the data recording / reproducing apparatus using RAID-3, while maintaining the reliability. Performance can be improved.

【0123】なお、本発明は上記実施の形態に限定され
ず、例えば、上記実施の形態では、分割データおよび誤
り訂正符号データを記録する記録媒体としてハードディ
スクを用いたが、記録媒体は、これに限らず、光磁気デ
ィスクや半導体メモリ等でもよい。
Note that the present invention is not limited to the above embodiment. For example, in the above embodiment, a hard disk is used as a recording medium for recording the divided data and the error correction code data. The invention is not limited to this, and may be a magneto-optical disk, a semiconductor memory, or the like.

【0124】また、誤り訂正符号データは、リードソロ
モン符号によるデータに限らず、複数の分割データの誤
り訂正が可能なものであれば他の誤り訂正符号によるデ
ータでもよい。
The error correction code data is not limited to data based on the Reed-Solomon code, but may be data based on other error correction codes as long as the error correction of a plurality of divided data can be performed.

【0125】また、上記実施の形態では、誤り訂正符号
データ(冗長符号データ)を2バイトとして、2台のH
DDに記録する例を挙げたが、誤り訂正符号データを3
バイト以上として、3台以上のHDDに記録するように
してもよい。誤り訂正符号データのバイト数を多くする
ほど、冗長度は大きくなるが、誤り訂正が可能な分割デ
ータの数が増え、信頼性は向上する。
Further, in the above embodiment, the error correction code data (redundant code data) is set to 2 bytes and two H
An example in which the data is recorded on the DD has been described.
Bytes or more may be recorded on three or more HDDs. As the number of bytes of the error correction code data increases, the redundancy increases, but the number of error-correctable divided data increases, and the reliability improves.

【0126】また、上記実施の形態は、例えば放送局等
においてビデオ・オーディオデータの記録・再生に使用
されるマルチチャネルビデオサーバを想定して説明した
が、本発明はこれに限定されるものではなく、その他の
種類のデータの記録および再生に使用される装置にも適
用することが可能である。
Although the above embodiment has been described on the assumption that a multi-channel video server is used for recording / reproducing video / audio data in a broadcasting station or the like, the present invention is not limited to this. Instead, the present invention can be applied to an apparatus used for recording and reproducing other types of data.

【0127】[0127]

【発明の効果】以上説明したように、請求項1ないし8
のいずれかに記載のデータ記録再生装置によれば、入力
データを所定単位で分割して得られる複数の分割データ
を複数の第1のノンリニアアクセス可能な記録媒体にそ
れぞれ記録するとともに、第1の記録媒体に記録された
分割データを再生する分割データ記録再生手段と、分割
データの誤り訂正符号データを生成して、第2のノンリ
ニアアクセス可能な記録媒体に複数の誤り訂正符号デー
タを記録するとともに、第2の記録媒体に記録された誤
り訂正符号データを再生する誤り訂正符号データ記録再
生手段と、第1の記録媒体の記録領域における論理アド
レスと物理アドレスとの対応関係を変更する再割付け処
理を行うべき第1の記録媒体について、分割データ記録
再生手段において記録再生を行う他の第1の記録媒体か
ら除外して、再割付け処理を行わせるよう分割データ記
録再生手段を制御する再割付け処理制御手段とを備えた
ので、再割り付け処理中でもデータの誤り検出および訂
正が可能であり、その結果、データ記録再生の運用を中
断することなく再割り付け処理を行うことが可能で、且
つ、リアルタイム性が要求される処理に適したデータ記
録再生装置を実現することが可能となるという効果を奏
する。
As described above, claims 1 to 8 are described.
According to the data recording / reproducing apparatus described in any one of the above, while recording a plurality of divided data obtained by dividing the input data in a predetermined unit on a plurality of first non-linearly accessible recording media, A divided data recording / reproducing means for reproducing the divided data recorded on the recording medium, generating error correction code data of the divided data, and recording the plurality of error correction code data on a second non-linearly accessible recording medium; Error correction code data recording / reproducing means for reproducing error correction code data recorded on the second recording medium, and reallocation processing for changing the correspondence between logical addresses and physical addresses in the recording area of the first recording medium Of the first recording medium on which the recording and reproduction are to be performed by the divided data recording / reproducing means, except for the first recording medium on which the recording and reproduction are performed. Control means for controlling the divided data recording / reproducing means so that the data recording / reproducing means can be performed, so that data errors can be detected and corrected even during the reallocation processing. This makes it possible to perform the reallocation processing without performing the processing, and to realize a data recording / reproducing apparatus suitable for processing that requires real-time processing.

【0128】また、請求項7または8記載のデータ記録
再生装置によれば、更に、誤り訂正符号データ記録再生
手段で再生された誤り訂正符号データを用いて、分割デ
ータ記録再生手段から再生された分割データに対する誤
り訂正処理を行う誤り訂正処理手段と、第1の記録媒体
と第2の記録媒体とにそれぞれ記録された、互いに対応
する複数の分割データと誤り訂正符号データとのうち修
復対象となる分割データ以外のデータを分割データ記録
再生手段と誤り訂正符号データ記録再生手段とを制御し
て再生させ、再生された分割データと誤り訂正符号デー
タとに基づいて分割データに対する誤り訂正処理を行う
よう誤り訂正処理手段を制御し、誤り訂正された修復対
象の分割データを第1の記録媒体に記録させるよう分割
データ記録再生手段を制御することで、分割データの修
復処理を行うデータ修復処理制御手段とを備えたので、
更に、再割り付け処理後におけるデータの修復処理にお
いてもデータの誤り検出および訂正が可能となるという
効果を奏する。
Further, according to the data recording / reproducing apparatus of the seventh or eighth aspect, the data is reproduced from the divided data recording / reproducing means by using the error correction code data reproduced by the error correction code data recording / reproducing means. Error correction processing means for performing error correction processing on the divided data; and a repair target among a plurality of mutually corresponding divided data and error correction code data recorded on the first recording medium and the second recording medium, respectively. Data other than the divided data is reproduced by controlling the divided data recording / reproducing means and the error correction code data recording / reproducing means, and an error correction process is performed on the divided data based on the reproduced divided data and the error correction code data. The error correction processing means is controlled so that the divided data to be repaired, which has been corrected, is recorded on the first recording medium. By controlling, since a data recovery processing control means for performing recovery processing of the divided data,
Further, there is an effect that error detection and correction of data can be performed even in data restoration processing after the reallocation processing.

【0129】また、請求項8記載のデータ記録再生装置
によれば、分割データの記録媒体への記録または記録媒
体からの再生が行われないときに、データの修復処理を
行うようにしたので、更に、データ記録再生装置の運用
を中断することなく、データの修復処理を行うことが可
能となるという効果を奏する。
Further, according to the data recording / reproducing apparatus of the eighth aspect, the data restoration processing is performed when the divided data is not recorded on the recording medium or reproduced from the recording medium. Further, there is an effect that data restoration processing can be performed without interrupting the operation of the data recording / reproducing apparatus.

【0130】また、請求項9記載のAVサーバによれ
ば、外部から入力された映像および音声データを含むデ
ータを、ノンリニアアクセス可能な記録媒体に記録可能
なデータに変換して出力するとともに、記録媒体から出
力されたデータを外部に出力可能なフォーマットに変換
して出力する複数の入出力処理手段と、複数の入出力処
理手段のそれぞれから出力されたデータを所定単位に分
割して得られる複数の分割データを第1のノンリニアア
クセス可能な記録媒体に記録させるとともに、第1の記
録媒体に記録された分割データを再生する分割データ記
録再生手段と、分割データの誤り訂正符号データを生成
して第2のノンリニアアクセス可能な記録媒体に記録さ
せるとともに、第2の記録媒体に記録された誤り訂正符
号データを再生する誤り訂正符号データ記録再生手段
と、第1の記録媒体の記録領域における論理アドレスと
物理アドレスとの対応関係を変更する再割付け処理を行
うべき第1の記録媒体について、分割データ記録再生手
段において記録再生を行う他の第1の記録媒体から除外
して、再割付け処理を行わせるよう分割データ記録再生
手段を制御する再割付け処理制御手段とを備えたので、
再割り付け処理中でもデータの誤り検出および訂正が可
能であり、その結果、データ記録再生の運用を中断する
ことなく再割り付け処理を行うことが可能で、且つ、リ
アルタイム性が要求される処理に適したAVサーバを実
現することが可能となるという効果を奏する。
According to the AV server of the ninth aspect, data including video and audio data input from the outside is converted into data recordable on a non-linearly accessible recording medium, and output. A plurality of input / output processing means for converting data output from the medium into a format that can be output to the outside and outputting the converted data; and a plurality of data obtained by dividing data output from each of the plurality of input / output processing means into predetermined units. The divided data recorded on the first non-linearly accessible recording medium, reproduces the divided data recorded on the first recording medium, and generates error correction code data for the divided data. Recording on a second non-linearly accessible recording medium and reproduction of error correction code data recorded on the second recording medium The divisional data recording / reproducing means records the correction code data recording / reproducing means and the first recording medium on which the reallocation processing for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium is to be performed. And a re-allocation processing control means for controlling the divided data recording / reproducing means so as to perform the re-allocation processing by excluding it from the other first recording medium for reproduction.
Data errors can be detected and corrected even during the re-allocation process. As a result, the re-allocation process can be performed without interrupting the operation of data recording and reproduction, and is suitable for a process that requires real-time processing. There is an effect that an AV server can be realized.

【0131】また、請求項10ないし17のいずれかに
記載のデータ記録再生方法によれば、入力データを所定
単位に分割して得られる複数の分割データを第1のノン
リニアアクセス可能な記録媒体に記録するとともに、分
割データに対する複数の誤り訂正符号データを生成して
第2のノンリニアアクセス可能な記録媒体に記録する第
1のステップと、第1のステップで第1の記録媒体に記
録された分割データを再生するとともに、第2の記録媒
体に記録された誤り訂正符号データを再生する第2のス
テップと、第1の記録媒体の記録領域における論理アド
レスと物理アドレスとの対応関係を変更する再割付け処
理を行うとき、第1のステップおよび第2のステップに
おいて記録再生を行う他の第1の記録媒体から除外し
て、再割付け処理を行う第3のステップとを備えたの
で、再割り付け処理中でもデータの誤り検出および訂正
が可能となり、その結果、データ記録再生の運用を中断
することなく再割り付け処理を行うことが可能となり、
且つ、リアルタイム性が要求される処理に適したデータ
記録再生処理を実現することが可能となるという効果を
奏する。
According to the data recording / reproducing method according to any one of claims 10 to 17, a plurality of divided data obtained by dividing input data into predetermined units is recorded on a first non-linearly accessible recording medium. A first step of recording and generating a plurality of error correction code data for the divided data and recording the generated data on a second non-linearly accessible recording medium; and a division step recorded on the first recording medium in the first step. A second step of reproducing data and reproducing the error correction code data recorded on the second recording medium, and a step of changing the correspondence between the logical address and the physical address in the recording area of the first recording medium. When performing the allocation processing, the allocation processing is excluded from the other first recording media on which recording and reproduction are performed in the first step and the second step, and the reallocation processing is performed. Cormorants since a third step, enables error detection and correction data even during re-allocation processing, as a result, it is possible to perform re-allocation processing without interrupting the operation of the data recording and reproduction,
In addition, there is an effect that it is possible to realize data recording / reproducing processing suitable for processing requiring real-time properties.

【0132】また、請求項16または17記載のデータ
記録再生方法によれば、更に、第1および第2の記録媒
体にそれぞれ記録された、互いに対応する分割データと
誤り訂正符号データとのうち修復対象となる分割データ
以外の分割データと誤り訂正符号データとをそれぞれ第
1の記録媒体と第2の記録媒体とから再生させ、再生さ
れた分割データと誤り訂正符号データとから少なくとも
修復対象となる分割データに対して誤り訂正処理を行
い、誤り訂正された修復対象の分割データを第1の記録
媒体に記録することで分割データの修復処理を行う修復
処理ステップを備えたので、更に、再割り付け処理後に
おけるデータの修復処理においてもデータの誤り検出お
よび訂正が可能となるという効果を奏する。
Further, according to the data recording / reproducing method of the present invention, further, of the divided data and the error correction code data which are recorded on the first and second recording media, respectively, correspond to each other. The divided data other than the target divided data and the error-correcting code data are reproduced from the first recording medium and the second recording medium, respectively, and at least the data to be restored is made from the reproduced divided data and the error-correcting code data. An error correction process is performed on the divided data, and a restoration process step of restoring the divided data by recording the error-corrected divided data to be repaired on the first recording medium is provided. This has the effect that data error detection and correction can be performed even in data restoration processing after processing.

【0133】また、請求項17記載のデータ記録再生方
法によれば、分割データの記録媒体への記録または記録
媒体からの再生が行われないときに、データの修復処理
を行うようにしたので、更に、データ記録再生の運用を
中断することなく、データの修復処理を行うことが可能
となるという効果を奏する。
According to the data recording / reproducing method of the present invention, when the divided data is not recorded on the recording medium or reproduced from the recording medium, the data restoration processing is performed. Further, there is an effect that it is possible to perform data restoration processing without interrupting the operation of data recording and reproduction.

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

【図1】本発明の一実施の形態に係るデータ記録再生装
置を含むビデオサーバの構成の一例を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating an example of a configuration of a video server including a data recording / reproducing device according to an embodiment of the present invention.

【図2】本発明の一実施の形態に係るデータ記録再生装
置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a data recording / reproducing device according to one embodiment of the present invention.

【図3】本発明の一実施の形態に係るデータ記録再生装
置の通常モード時の1タイムスロットにおける動作を示
す流れ図である。
FIG. 3 is a flowchart showing an operation in one time slot in a normal mode of the data recording / reproducing apparatus according to one embodiment of the present invention.

【図4】図3に続く流れ図である。FIG. 4 is a flowchart following FIG. 3;

【図5】図4における部分再構築処理の動作を示す流れ
図である。
FIG. 5 is a flowchart showing an operation of a partial reconstruction process in FIG. 4;

【図6】本発明の一実施の形態に係るデータ記録再生装
置の再割り付け処理モード時の動作を示す流れ図であ
る。
FIG. 6 is a flowchart showing an operation in a reallocation processing mode of the data recording / reproducing apparatus according to one embodiment of the present invention.

【図7】本発明の一実施の形態に係るデータ記録再生装
置の全体再構築処理モード時の1タイムスロットにおけ
る動作を示す流れ図である。
FIG. 7 is a flowchart showing an operation in one time slot in the whole reconstruction processing mode of the data recording / reproducing apparatus according to one embodiment of the present invention.

【図8】本発明の一実施の形態におけるハードディスク
上のフォーマットについて説明するための説明図であ
る。
FIG. 8 is an explanatory diagram for describing a format on a hard disk according to an embodiment of the present invention.

【図9】論理アドレスと物理的なセクタ番号との対応関
係を説明するための説明図である。
FIG. 9 is an explanatory diagram for explaining a correspondence relationship between a logical address and a physical sector number.

【図10】本発明の一実施の形態に係るデータ記録再生
装置とRAID−3を用いたデータ記録再生装置とで信
頼性を比較した結果の一例を示す特性図である。
FIG. 10 is a characteristic diagram showing an example of a result of comparing reliability between the data recording / reproducing apparatus according to the embodiment of the present invention and a data recording / reproducing apparatus using RAID-3.

【図11】RAID−3を用いたデータ記録再生装置の
構成の一例を示すブロック図である。
FIG. 11 is a block diagram illustrating an example of a configuration of a data recording / reproducing device using RAID-3.

【図12】RAID−5を用いたデータ記録再生装置の
構成の一例を示すブロック図である。
FIG. 12 is a block diagram illustrating an example of a configuration of a data recording / reproducing apparatus using RAID-5.

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

10…ビデオサーバ、11…データ記録再生装置、12
…入出力プロセッサ部、211 〜21k ,281 ,28
2 …HDD、22…データ分配器、231 〜23k ,2
1 ,272 …入力メモリ、241 〜24k ,291
292 …コントローラ、251 〜25k ,301 ,30
2 …出力メモリ、26…冗長符号生成器、31…エラー
訂正器、32…データ多重器、33…CPU。
10 video server, 11 data recording / reproducing device, 12
... I / O processor unit, 21 1 to 21 k , 28 1 , 28
2 ... HDD, 22 ... data distributor, 23 1 ~23 k, 2
7 1 , 27 2 ... input memory, 24 1 to 24 k , 29 1 ,
29 2 ... controller, 25 1 ~25 k, 30 1 , 30
2 ... output memory, 26 ... redundant code generator, 31 ... error corrector, 32 ... data multiplexer, 33 ... CPU.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 5/92 H04N 5/92 H (72)発明者 勝尾 聡 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 吉川 潤 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 油谷 聡 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 佐藤 晃一 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 志賀 知久 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 藤田 裕之 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 広瀬 正樹 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 5/92 H04N 5/92 H (72) Inventor Satoshi Katsura 6-7-35 Kita Shinagawa, Shinagawa-ku, Tokyo Sony Corporation Within (72) Inventor Jun Yoshikawa 6-7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation (72) Inventor Satoshi Aburaya 6-35, Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation ( 72) Inventor Koichi Sato 6-7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (72) Inventor Tomohisa Shiga 6-35-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (72) Inventor Hiroyuki Fujita 6-35, Kita-Shinagawa, Shinagawa-ku, Tokyo, Japan Sony Corporation (72) Inventor Masaki Hirose 6-35, Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】入力データを所定単位で分割して得られる
複数の分割データを複数の第1のノンリニアアクセス可
能な記録媒体にそれぞれ記録するとともに、前記第1の
記録媒体に記録された前記分割データを再生する分割デ
ータ記録再生手段と、 前記分割データの誤り訂正符号データを生成して、第2
のノンリニアアクセス可能な記録媒体に複数の前記誤り
訂正符号データを記録するとともに、前記第2の記録媒
体に記録された前記誤り訂正符号データを再生する誤り
訂正符号データ記録再生手段と、 前記第1の記録媒体の記録領域における論理アドレスと
物理アドレスとの対応関係を変更する再割付け処理を行
うべき第1の記録媒体について、前記分割データ記録再
生手段において記録再生を行う他の第1の記録媒体から
除外して、前記再割付け処理を行わせるよう前記分割デ
ータ記録再生手段を制御する再割付け処理制御手段とを
備えたことを特徴とするデータ記録再生装置。
1. A plurality of divided data obtained by dividing input data by a predetermined unit are respectively recorded on a plurality of first non-linearly accessible recording media, and the divided data recorded on the first recording medium are recorded. Dividing data recording / reproducing means for reproducing data; generating error correction code data of the divided data;
An error correction code data recording / reproducing means for recording a plurality of the error correction code data on a non-linearly accessible recording medium and reproducing the error correction code data recorded on the second recording medium; For the first recording medium on which the reallocation process for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium is to be performed, the other first recording medium on which the divided data recording / reproducing means performs recording / reproduction. And a reallocation processing control means for controlling the divided data recording / reproducing means so as to perform the reallocation processing.
【請求項2】 さらに、 前記入力データを所定単位に分割し、複数の前記分割デ
ータを生成する分割データ生成手段と、 前記分割データ生成手段で生成された前記分割データに
基づいて前記誤り訂正符号データを生成する誤り訂正符
号データ生成手段と、 前記誤り訂正符号データ記録再生手段で再生された前記
誤り訂正符号データを用いて、前記分割データ記録再生
手段から再生された前記分割データに対する誤り訂正処
理を行う誤り訂正処理手段と、 前記誤り訂正処理手段から出力された前記各分割データ
を多重化して出力する多重化手段とを備えたことを特徴
とする請求項1記載のデータ記録再生装置。
2. The divided data generating means for dividing the input data into predetermined units to generate a plurality of the divided data; and the error correction code based on the divided data generated by the divided data generating means. Error correction code data generation means for generating data; and error correction processing for the divided data reproduced from the divided data recording / reproduction means using the error correction code data reproduced by the error correction code data recording / reproduction means. 2. The data recording / reproducing apparatus according to claim 1, further comprising: an error correction processing unit that performs the following, and a multiplexing unit that multiplexes and outputs each of the divided data output from the error correction processing unit.
【請求項3】 前記誤り訂正処理手段は、前記分割デー
タ記録再生手段から再生されるべき前記分割データが得
られないときに、他の前記分割データ記録再生手段から
再生された前記分割データと前記誤り訂正符号データ記
録再生手段から再生された前記誤り訂正符号データとか
ら得られない前記分割データを誤り訂正して復元するこ
とを特徴とする請求項2記載のデータ記録再生装置。
3. The error correction processing means, when the divided data to be reproduced from the divided data recording / reproducing means cannot be obtained, the divided data reproduced from another divided data recording / reproducing means, and 3. The data recording / reproducing apparatus according to claim 2, wherein the divided data not obtained from the error-corrected code data reproduced from the error-corrected code data recording / reproducing means is error-corrected and restored.
【請求項4】 前記誤り訂正符号データ記録再生手段
は、前記複数の誤り訂正符号を複数の前記第2の記録媒
体にそれぞれ記録する請求項1記載のデータ記録再生装
置。
4. The data recording / reproducing apparatus according to claim 1, wherein said error correction code data recording / reproducing means records said plurality of error correction codes on a plurality of said second recording media, respectively.
【請求項5】 前記誤り訂正符号データは、リードソロ
モン符号データであることを特徴とする請求項1記載の
データ記録再生装置。
5. The data recording / reproducing apparatus according to claim 1, wherein the error correction code data is Reed-Solomon code data.
【請求項6】 前記第1および第2のノンリニアアクセ
ス可能な記録媒体は、ハードディスクであることを特徴
とする請求項1記載のデータ記録再生装置。
6. The data recording / reproducing apparatus according to claim 1, wherein the first and second non-linear accessible recording media are hard disks.
【請求項7】 さらに、 前記誤り訂正符号データ記録再生手段で再生された前記
誤り訂正符号データを用いて、前記分割データ記録再生
手段から再生された前記分割データに対する誤り訂正処
理を行う誤り訂正処理手段と、 前記第1の記録媒体と前記第2の記録媒体とにそれぞれ
記録された、互いに対応する複数の前記分割データと前
記誤り訂正符号データとのうち修復対象となる分割デー
タ以外のデータを前記分割データ記録再生手段と前記誤
り訂正符号データ記録再生手段とを制御して再生させ、
再生された前記分割データと前記誤り訂正符号データと
に基づいて前記分割データに対する前記誤り訂正処理を
行うよう前記誤り訂正処理手段を制御し、前記誤り訂正
された前記修復対象の前記分割データを前記第1の記録
媒体に記録させるよう前記分割データ記録再生手段を制
御することで、前記分割データの修復処理を行うデータ
修復処理制御手段とを備えたことを特徴とする請求項1
記載のデータ記録再生装置。
7. An error correction process for performing an error correction process on the divided data reproduced from the divided data recording / reproducing device using the error correction code data reproduced by the error correction code data recording / reproducing device. Means, among the plurality of divided data and the error correction code data, which are recorded on the first recording medium and the second recording medium, respectively, other than the divided data to be repaired, Controlling and reproducing the divided data recording / reproducing means and the error correction code data recording / reproducing means,
Controlling the error correction processing means to perform the error correction process on the divided data based on the reproduced divided data and the error correction code data, the error-corrected divided data of the repair target 2. A data restoration processing control means for performing a restoration processing of the divided data by controlling the divided data recording / reproducing means so as to record the divided data on a first recording medium.
A data recording / reproducing apparatus according to claim 1.
【請求項8】 前記データ修復処理制御手段は、前記分
割データの前記第1の記録媒体への記録または前記第1
の記録媒体からの再生が行われないときに前記分割デー
タの修復処理を行うことを特徴とする請求項7記載のデ
ータ記録再生装置。
8. The data restoration processing control means records the divided data on the first recording medium or stores the divided data on the first recording medium.
8. The data recording / reproducing apparatus according to claim 7, wherein the restoration processing of the divided data is performed when the reproduction from the recording medium is not performed.
【請求項9】 外部から入力された映像および音声デー
タを含むデータを、ノンリニアアクセス可能な記録媒体
に記録可能なデータに変換して出力するとともに、前記
記録媒体から出力された前記データを外部に出力可能な
フォーマットに変換して出力する複数の入出力処理手段
と、 前記複数の入出力処理手段のそれぞれから出力された前
記データを所定単位に分割して得られる複数の分割デー
タを第1のノンリニアアクセス可能な記録媒体に記録さ
せるとともに、前記第1の記録媒体に記録された前記分
割データを再生する分割データ記録再生手段と、 前記分割データの誤り訂正符号データを生成して第2の
ノンリニアアクセス可能な記録媒体に記録させるととも
に、前記第2の記録媒体に記録された前記誤り訂正符号
データを再生する誤り訂正符号データ記録再生手段と、 前記第1の記録媒体の記録領域における論理アドレスと
物理アドレスとの対応関係を変更する再割付け処理を行
うべき第1の記録媒体について、前記分割データ記録再
生手段において記録再生を行う他の第1の記録媒体から
除外して、前記再割付け処理を行わせるよう前記分割デ
ータ記録再生手段を制御する再割付け処理制御手段とを
備えたことを特徴とするAVサーバ。
9. Converting data including video and audio data input from the outside into data recordable on a non-linearly accessible recording medium and outputting the data, and outputting the data output from the recording medium to the outside. A plurality of input / output processing means for converting and outputting the data output from each of the plurality of input / output processing means into a predetermined unit; A divided data recording / reproducing means for recording on the non-linearly accessible recording medium and reproducing the divided data recorded on the first recording medium; and generating a second non-linear data by generating error correction code data of the divided data. The error correction code data recorded on the accessible recording medium and the error correction code data recorded on the second recording medium are reproduced. Correction code data recording / reproducing means; and a first recording medium to be reallocated to change the correspondence between logical addresses and physical addresses in a recording area of the first recording medium. An AV server comprising: reallocation processing control means for controlling the divided data recording / reproducing means so as to perform the reallocation processing while excluding it from other first recording media for performing recording / reproduction.
【請求項10】 入力データを所定単位に分割して得ら
れる複数の分割データを第1のノンリニアアクセス可能
な記録媒体に記録するとともに、前記分割データに対す
る複数の誤り訂正符号データを生成して第2のノンリニ
アアクセス可能な記録媒体に記録する第1のステップ
と、 前記第1のステップで前記第1の記録媒体に記録された
前記分割データを再生するとともに、前記第2の記録媒
体に記録された前記誤り訂正符号データを再生する第2
のステップと、 前記第1の記録媒体の記録領域における論理アドレスと
物理アドレスとの対応関係を変更する再割付け処理を行
うとき、前記第1のステップおよび第2のステップにお
いて記録再生を行う他の第1の記録媒体から除外して、
前記再割付け処理を行う第3のステップとを備えたこと
を特徴とするデータ記録再生方法。
10. A plurality of divided data obtained by dividing input data into predetermined units is recorded on a first non-linearly accessible recording medium, and a plurality of error correction code data for the divided data is generated. A first step of recording on the second non-linearly accessible recording medium; and a step of reproducing the divided data recorded on the first recording medium in the first step and recording the divided data on the second recording medium. Second reproducing the error correction code data
And performing the reallocation processing for changing the correspondence between the logical address and the physical address in the recording area of the first recording medium, wherein the recording and reproduction are performed in the first and second steps. Excluded from the first recording medium,
A third step of performing the reallocation processing.
【請求項11】 さらに、 前記第2のステップで再生された前記誤り訂正符号デー
タから、前記第2のステップで再生された前記複数の分
割データに対する誤り訂正処理を行う第4のステップを
備えたことを特徴とする請求項10記載のデータ記録再
生方法。
11. A fourth step of performing an error correction process on the plurality of divided data reproduced in the second step from the error correction code data reproduced in the second step. 11. The data recording / reproducing method according to claim 10, wherein:
【請求項12】 さらに、 前記第4のステップから出力された前記分割データが入
力されて、各前記分割データを多重化して出力する第5
のステップを備えてたことを特徴とする請求項11記載
のデータ記録再生方法。
12. The method according to claim 5, further comprising: receiving the divided data output from the fourth step, multiplexing the divided data, and outputting the multiplexed data.
12. The data recording / reproducing method according to claim 11, further comprising the steps of:
【請求項13】 前記第1のステップは、前記複数の分
割データを複数の前記第1の記録媒体にそれぞれ記録
し、前記複数の誤り訂正符号データを複数の前記第2の
記録媒体に記録することを特徴とする請求項10記載の
データ記録再生方法。
13. The first step is to record the plurality of divided data on a plurality of first recording media, respectively, and to record the plurality of error correction code data on a plurality of second recording media. 11. The data recording / reproducing method according to claim 10, wherein:
【請求項14】 前記誤り訂正符号データは、リードソ
ロモン符号データであることを特徴とする請求項10記
載のデータ記録再生方法。
14. The data recording / reproducing method according to claim 10, wherein said error correction code data is Reed-Solomon code data.
【請求項15】 前記第1および第2のノンリニアアク
セス可能な記録媒体は、ハードディスクであることを特
徴とする請求項10記載のデータ記録再生方法。
15. The data recording / reproducing method according to claim 10, wherein said first and second non-linearly accessible recording media are hard disks.
【請求項16】 さらに、 前記第1および第2の記録媒体にそれぞれ記録された、
互いに対応する前記分割データと前記誤り訂正符号デー
タとのうち修復対象となる前記分割データ以外の前記分
割データと前記誤り訂正符号データとをそれぞれ前記第
1の記録媒体と前記第2の記録媒体とから再生させ、再
生された前記分割データと前記誤り訂正符号データとか
ら少なくとも前記修復対象となる前記分割データに対し
て誤り訂正処理を行い、誤り訂正された前記修復対象の
前記分割データを前記第1の記録媒体に記録することで
前記分割データの修復処理を行う修復処理ステップを備
えたことを特徴とする請求項10記載のデータ記録再生
方法。
16. The method according to claim 16, further comprising the steps of:
The divided data and the error correction code data other than the divided data to be repaired among the divided data and the error correction code data corresponding to each other are referred to as the first recording medium and the second recording medium, respectively. From the reproduced divided data and the error correction code data to perform error correction processing on at least the divided data to be repaired, the error-corrected divided data of the repair target is the 11. The data recording / reproducing method according to claim 10, further comprising a restoration processing step of performing restoration processing of the divided data by recording the divided data on one recording medium.
【請求項17】 前記修復処理は、前記分割データの前
記第1の記録媒体への記録または前記第1の記録媒体に
記録された前記分割データの再生が行われないときに行
われることを特徴とする請求項16記載のデータ記録再
生方法。
17. The restoration process is performed when the division data is not recorded on the first recording medium or the division data recorded on the first recording medium is not reproduced. 17. The data recording / reproducing method according to claim 16, wherein:
JP34766298A 1997-12-05 1998-12-07 Data recording / reproducing apparatus and method, and AV server Expired - Fee Related JP4110496B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34766298A JP4110496B2 (en) 1997-12-05 1998-12-07 Data recording / reproducing apparatus and method, and AV server

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9-336152 1997-12-05
JP33615297 1997-12-05
JP34766298A JP4110496B2 (en) 1997-12-05 1998-12-07 Data recording / reproducing apparatus and method, and AV server

Publications (2)

Publication Number Publication Date
JPH11259991A true JPH11259991A (en) 1999-09-24
JP4110496B2 JP4110496B2 (en) 2008-07-02

Family

ID=26575382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34766298A Expired - Fee Related JP4110496B2 (en) 1997-12-05 1998-12-07 Data recording / reproducing apparatus and method, and AV server

Country Status (1)

Country Link
JP (1) JP4110496B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066848A (en) * 2008-09-09 2010-03-25 Toshiba Storage Device Corp Management method for storage device, storage device, and storage system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066848A (en) * 2008-09-09 2010-03-25 Toshiba Storage Device Corp Management method for storage device, storage device, and storage system

Also Published As

Publication number Publication date
JP4110496B2 (en) 2008-07-02

Similar Documents

Publication Publication Date Title
US5802264A (en) Background data reconstruction in a storage device array system
US5623595A (en) Method and apparatus for transparent, real time reconstruction of corrupted data in a redundant array data storage system
JPH07105633A (en) Data reproducing channel of disk drive array
GB2414592A (en) Decreasing failed disk reconstruction time in a RAID data storage system
WO1998036414A1 (en) Data recording/reproducing method and device
JP4499193B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP2004095147A (en) Method for writing streaming audio visual data in disk drive
JP2000232622A (en) Data storage device, data storage method, data transmitter and data transmission method
US7136578B2 (en) Apparatus and method for recording and reproducing data, and AV server
US6185368B1 (en) Redundant disk array with real-time lost data reconstruction
US6385392B1 (en) Data processing apparatus and data processing method
JP4154776B2 (en) Data recording / reproducing apparatus and method, and server
JP4110496B2 (en) Data recording / reproducing apparatus and method, and AV server
JPH10188489A (en) Optical disk, optical disk recorder, and optical disk reproducer
JP2004185477A (en) Optical storage medium array device and data transfer method
JPH11316655A (en) Device and method for recording and reproducing data, and av server
JP3674226B2 (en) Backup method for portable recording media
JPH02291011A (en) Memory device
JP4269403B2 (en) Data recording / reproducing apparatus and method of using time slot
JP3584665B2 (en) Library storage device using portable media
JP2010267333A (en) Hard disk drive with parity function
JPH09330552A (en) Data recording/reproducing apparatus
JP5605093B2 (en) Disk array control device, disk array control method, and disk array control program
JP2010181917A (en) Information storage device
JP2001273096A (en) Magnetic recording regeneration device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071024

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080327

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees