JP2001312376A - Rotary medium storage device and rotary medium recording control method - Google Patents

Rotary medium storage device and rotary medium recording control method

Info

Publication number
JP2001312376A
JP2001312376A JP2000133094A JP2000133094A JP2001312376A JP 2001312376 A JP2001312376 A JP 2001312376A JP 2000133094 A JP2000133094 A JP 2000133094A JP 2000133094 A JP2000133094 A JP 2000133094A JP 2001312376 A JP2001312376 A JP 2001312376A
Authority
JP
Japan
Prior art keywords
data
sector
rotating medium
recording
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000133094A
Other languages
Japanese (ja)
Inventor
Yoichi Kondo
近藤  洋一
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000133094A priority Critical patent/JP2001312376A/en
Publication of JP2001312376A publication Critical patent/JP2001312376A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To accelerate alternating processing of a defective sector by eliminating head moving to a discontinuous area and rotation waiting when performing alternating processing to an auxiliary sector. SOLUTION: Data transferred from a host device 6 are temporarily stored while using a data buffer 1, and data stored therein are applied to a rotary medium controller 5 and successively recorded on a rotary medium. An auxiliary sector position managing means 2 manages the position of the auxiliary sector on the rotary medium. An address pointer control means 7 defines data scheduled to be recorded in the defective sector as alternation waiting data, manages the storage position of the alternation waiting data on the data buffer 1 and controls recording of the alternation waiting data into the auxiliary sector in the process of continuous data recording operation to the rotary medium. Alternating processing of data recording into the auxiliary sector area is executed without stopping continuous data recording operation from the data buffer 1 to the rotary medium.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、回転記録媒体を有
するデータ記憶装置におけるデータ転送処理技術に関す
るもので、特に予備セクタ領域への交代処理を行う場合
に、ヘッド移動と回転媒体の回転待ちによる時間遅延を
低減した回転媒体記憶装置と、回転媒体記録制御方法と
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer processing technique in a data storage device having a rotating recording medium, and particularly to a head movement and a rotation waiting of a rotating medium when performing a replacement process to a spare sector area. The present invention relates to a rotating medium storage device with reduced time delay and a rotating medium recording control method.

【0002】[0002]

【従来の技術】記録媒体として回転記録媒体(以下、回
転媒体という)を有する回転媒体記憶装置では、高速な
データ転送を行う上でヘッドの移動時間と回転媒体の回
転待ち時間がその性能に大きな影響を与える。このこと
から、回転媒体を用いた記憶装置では、セクタを物理的
に連続するよう配置し、ヘッド切り替え時の回転待ち時
間が最小となるようにオフセットされたディスクフォー
マットを用いている。
2. Description of the Related Art In a rotating medium storage device having a rotating recording medium (hereinafter referred to as a rotating medium) as a recording medium, the head movement time and the rotation waiting time of the rotating medium are large when performing high-speed data transfer. Affect. For this reason, in a storage device using a rotating medium, sectors are arranged so as to be physically continuous, and a disk format that is offset so as to minimize the rotation waiting time when switching heads is used.

【0003】ところが、書き込み実行時に欠陥セクタが
発生した場合には、回転媒体上の特定領域に予め用意し
ている予備セクタを、欠陥セクタの代わりとして使用す
る必要が生じる。予備セクタへの交代処理を実行するに
要する時間は、交代処理先の予備セクタ領域が同一トラ
ック上にあるか否かによって異なる。同一トラック上に
ない場合は、交代処理時間(遅延時間)は目的の予備セ
クタ領域へのシーク動作時間と目的予備セクタまでの回
転待ち時間とに、元のトラックへのシーク動作時間と回
転待ち時間とを加えた合計時間となる。また同一トラッ
ク上に交代処理されている場合では、交代処理時間は欠
陥セクタから予備セクタまでの回転待ち時間に、予備セ
クタから欠陥セクタ直後に続くセクタまでの回転待ち時
間を加えた時間となる。
However, if a defective sector occurs during the execution of writing, it is necessary to use a spare sector prepared in a specific area on the rotating medium in advance in place of the defective sector. The time required to execute the replacement process for the spare sector differs depending on whether or not the spare sector area of the replacement process is on the same track. If they are not on the same track, the replacement processing time (delay time) includes the seek operation time to the target spare sector area and the rotation waiting time to the target spare sector, and the seek operation time to the original track and the rotation waiting time. And the total time. When the replacement processing is performed on the same track, the replacement processing time is a time obtained by adding the rotation waiting time from the spare sector to the sector immediately following the defective sector to the rotation waiting time from the defective sector to the spare sector.

【0004】このような遅延時間を低減するために、不
揮発性メモリを追加搭載し、予備セクタに記録すべきデ
ータを不揮発性メモリ上に確保する方式があった。又特
開平6−180635号公報に開示される方法があっ
た。
In order to reduce such a delay time, there has been a method in which a nonvolatile memory is additionally mounted to secure data to be recorded in a spare sector on the nonvolatile memory. There is also a method disclosed in Japanese Patent Application Laid-Open No. Hei 6-180635.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記不
揮発性メモリを用いる方法では、大容量の不揮発性メモ
リの追加搭載が必要となるという問題点があった。ま
た、特開平6−180635号公報に開示される方法で
は、欠陥セクタ以外のデータが記録媒体に書き込まれる
のを待つ必要があり、欠陥セクタのデータの書き込みを
まとめて行うことは、複数の交代処理が必要な場合にシ
ーク動作と回転待ちの回数を減少させる効果があるが、
かなりのオーバーヘッドを要し、不連続アクセスが必ず
発生するという問題が生じる。
However, the above-mentioned method using a nonvolatile memory has a problem that a large-capacity nonvolatile memory needs to be additionally mounted. In the method disclosed in JP-A-6-180635, it is necessary to wait until data other than the defective sector is written to the recording medium. This has the effect of reducing the number of seek operations and rotation waits when processing is required,
A considerable overhead is required, and a problem arises that discontinuous access always occurs.

【0006】本発明は、このような従来の問題点に鑑み
てなされたものであって、欠陥セクタの交代処理におい
て生じるシーク動作と回転待ち時間を、最小限に収める
ことのできる回転媒体記憶装置及び回転媒体記録制御方
法を実現することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and is directed to a rotating medium storage device capable of minimizing a seek operation and a rotation waiting time occurring in a process of replacing a defective sector. And a rotating medium recording control method.

【0007】[0007]

【課題を解決するための手段】本願の請求項1の発明
は、上位装置から転送されたデータを回転媒体に記録す
る回転媒体記憶装置であって、回転媒体上の予備セクタ
の位置を管理する予備セクタ位置管理手段と、前記上位
装置から転送されたデータを一時格納するデータバッフ
ァと、前記回転媒体の欠陥セクタに記録される予定のデ
ータを交代待ちデータとし、前記交替待ちデータの前記
データバッファ上の格納位置を管理し、前記回転媒体に
対する連続したデータ記録動作の過程で、前記予備セク
タへの交代待ちデータの記録を制御するアドレスポイン
タ制御手段と、を具備し、前記データバッファから前記
回転媒体への連続したデータ書き込み動作を中断するこ
となく、前記予備セクタへのデータ記録の交代処理を実
行することを特徴とするものである。
According to a first aspect of the present invention, there is provided a rotating medium storage device for recording data transferred from a higher-level device on a rotating medium, and managing a position of a spare sector on the rotating medium. Spare sector position management means, a data buffer for temporarily storing data transferred from the host device, and data to be recorded in a defective sector of the rotating medium as replacement waiting data, wherein the data buffer for the replacement waiting data Address pointer control means for managing the above storage position and controlling the recording of the data waiting for replacement in the spare sector in the course of the continuous data recording operation on the rotating medium, comprising: Performing a replacement process of recording data in the spare sector without interrupting a continuous data write operation to a medium. Is shall.

【0008】本願の請求項2の発明は、上位装置から転
送されたデータを回転媒体に記録する回転媒体記憶装置
であって、前記回転媒体にセクタ単位でデータの記録又
は再生を行う回転媒体制御手段と、前記上位装置から出
力され、前記回転媒体に記録すべきデータをセクタ単位
で一時保持するデータバッファと、前記上位装置と前記
データバッファ間のデータ転送を管理するバッファ上位
間転送制御手段と、前記データバッファと前記回転媒体
制御手段間のデータ転送を管理し、前記回転媒体上の通
常セクタに加えて予備セクタへのデータの記録再生を行
うバッファ媒体間転送制御手段と、利用可能な予備セク
タの存在位置を管理し、エラーが発生したセクタの論理
アドレスが指定されると、順方向に最も近い予備セクタ
までの論理オフセットを算出する予備セクタ位置管理手
段と、不連続な位置にあり、エラーが発生した欠陥セク
タに記録される予定のデータの前記データバッファ上の
格納位置を管理し、前記回転媒体に対する連続した記録
動作の過程で、予備セクタへの交代待ちデータの記録を
制御するアドレスポインタ制御手段と、を具備すること
を特徴とするものである。
According to a second aspect of the present invention, there is provided a rotating medium storage device for recording data transferred from a host device on a rotating medium, wherein the rotating medium control device records or reproduces data on the rotating medium in sector units. Means, a data buffer output from the host device and temporarily holding data to be recorded on the rotating medium in sector units, and a buffer host transfer control means for managing data transfer between the host device and the data buffer; A buffer medium transfer control means for managing data transfer between the data buffer and the rotating medium control means and recording and reproducing data in a spare sector in addition to a normal sector on the rotating medium; The location of the sector is managed, and when the logical address of the sector where the error occurred is specified, the logical offset to the nearest spare sector in the forward direction is specified. A spare sector position management means for calculating the position of the data in the data buffer, which is to be recorded in a defective sector at a discontinuous position and in which an error has occurred; Address pointer control means for controlling the recording of the data waiting for the replacement in the spare sector during the operation.

【0009】本願の請求項3の発明は、請求項2の回転
媒体記憶装置において、前記アドレスポインタ制御手段
は、前記バッファ媒体間転送制御手段がデータを転送処
理するとき、前記データバッファから読み出すデータの
アドレスを示すポインタを発生する読出カレントポイン
タ発生手段と、前記バッファ上位間転送制御手段がデー
タを転送処理するとき、前記データバッファへの書き込
みアドレスを示すポインタを発生する書込カレントポイ
ンタ発生手段と、前記回転媒体の特定のセクタに対して
データを記録できないとき、交代セクタに記録すべきデ
ータが格納されている前記データバッファ上のセクタの
先頭アドレスを示すポインタを発生する交代待ちセクタ
アドレスポインタ発生手段と、エラーが発生したセクタ
位置から順方向に最も近い予備セクタ位置までの論理オ
フセットを計数するオフセットカウンタと、前記回転媒
体制御手段が処理中のセクタの論理位置を示すポインタ
を発生するカレントセクタポインタ発生手段と、前記カ
レントポインタが示すアドレスから始まる単位セクタの
データを予備セクタ領域に記録することを前記回転媒体
制御手段に対して指示する予備セクタアクセスフラグ発
生手段と、を有することを特徴とするものである。
According to a third aspect of the present invention, in the rotating medium storage device according to the second aspect, the address pointer control means is configured to read data from the data buffer when the inter-buffer medium transfer control means performs data transfer processing. Read current pointer generating means for generating a pointer indicating the address of the data buffer, and write current pointer generating means for generating a pointer indicating the write address to the data buffer when the buffer upper transfer control means performs data transfer processing. When data cannot be recorded in a specific sector of the rotating medium, a pointer indicating a head address of a sector on the data buffer in which data to be recorded in a replacement sector is stored. Means and forward from the sector location where the error occurred An offset counter for counting a logical offset to the nearest spare sector position; a current sector pointer generating means for generating a pointer indicating the logical position of the sector being processed by the rotating medium control means; and an address indicated by the current pointer. And a spare sector access flag generating means for instructing the rotating medium control means to record the data of the unit sector in the spare sector area.

【0010】本願の請求項4の発明は、上位装置から転
送されたデータを回転媒体に記録する回転媒体記録制御
方法であって、前記上位装置から前記回転媒体のセクタ
にデータの書き込み要求が出力され、前記特定のセクタ
へのデータ書き込みエラーが発生し、交代処理が必要と
なった場合に、前記回転媒体上の予備セクタ位置を検出
し、前記予備セクタへの書き込みが終了していないデー
タに対してデータバッファ上で前記データを交代処理デ
ータとして保護し、前記回転媒体の通常セクタへのデー
タの書き込み動作を停止させることなく連続して実行
し、前記データバッファ上で保護された不連続な位置に
存在する前記交代処理データをまとめて読み出し、前記
予備セクタへ前記交代処理データをまとめて記録するこ
とを特徴とするものである。
According to a fourth aspect of the present invention, there is provided a rotating medium recording control method for recording data transferred from a host device on a rotating medium, wherein the host device outputs a data write request to a sector of the rotating medium. When a data write error to the specific sector occurs and a replacement process is required, a spare sector position on the rotating medium is detected, and data is written to the spare sector that has not been written. On the other hand, the data is protected as alternately processed data on the data buffer, and the write operation of the data to the normal sector of the rotating medium is continuously executed without stopping, and the non-continuous data protected on the data buffer is executed. Wherein the alternation processing data existing at the position is collectively read, and the alternation processing data is collectively recorded in the spare sector. A.

【0011】[0011]

【発明の実施の形態】本発明の実施の形態における回転
媒体記憶装置について、図1〜図4を用いて説明する。
図1は本実施の形態の回転媒体記憶装置の構成図であ
る。この回転媒体記憶装置は、データバッファ1、予備
セクタ位置管理手段2、バッファ上位間転送制御手段
3、バッファ媒体間転送制御手段4、回転媒体制御手段
5、アドレスポインタ制御手段7を含んで構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A rotating medium storage device according to an embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a configuration diagram of a rotating medium storage device according to the present embodiment. This rotating medium storage device is configured to include a data buffer 1, a spare sector position managing means 2, a buffer upper transfer control means 3, a buffer medium transfer control means 4, a rotating medium control means 5, and an address pointer control means 7. You.

【0012】データバッファ1は、上位装置6と回転媒
体制御手段5との間に位置し、上位装置6から出力され
たデータを一時格納するバッファである。バッファ上位
間転送制御手段3は、上位装置6とデータバッファ1の
間のデータ転送を管理するものである。バッファ媒体間
転送制御手段4は、データバッファ1と回転媒体制御手
段5の間のデータ転送を管理し、回転媒体上の通常デー
タ領域に加えて予備セクタ領域へのデータの記録再生を
行うものである。予備セクタ位置管理手段2は、利用可
能な予備セクタの存在する回転媒体上の位置を管理し、
回転媒体のエラーが発生した論理アドレスが指定される
と、順方向に最も近い予備セクタまでの論理オフセット
を算出するものである。アドレスポインタ制御手段7
は、不連続な位置にあり、欠陥セクタに記録される予定
のデータのデータバッファ1上の位置を管理し、回転媒
体に対する連続した記録動作の過程で、予備セクタ領域
への交代待ちデータの記録を制御するものである。回転
媒体制御手段5は、回転媒体を含み、回転媒体にデータ
を記録したり、回転媒体からデータを再生するものであ
る。回転媒体には複数のトラック設けられ、夫々のトラ
ックは所定数のセクタに分割されている。
The data buffer 1 is located between the host device 6 and the rotating medium control means 5 and temporarily stores data output from the host device 6. The buffer upper transfer control means 3 manages data transfer between the upper device 6 and the data buffer 1. The inter-buffer medium transfer control means 4 manages data transfer between the data buffer 1 and the rotating medium control means 5 and records and reproduces data in a spare sector area in addition to a normal data area on the rotating medium. is there. The spare sector position management means 2 manages the position on the rotating medium where the available spare sector exists,
When a logical address at which an error has occurred in the rotating medium is specified, a logical offset to the nearest spare sector in the forward direction is calculated. Address pointer control means 7
Manages the position in the data buffer 1 of the data to be recorded in the defective sector at the discontinuous position, and records the data waiting for the replacement in the spare sector area during the continuous recording operation on the rotating medium. Is controlled. The rotating medium control means 5 includes a rotating medium, and records data on the rotating medium and reproduces data from the rotating medium. A plurality of tracks are provided on the rotating medium, and each track is divided into a predetermined number of sectors.

【0013】図2はアドレスポインタ制御手段7の内部
構成を示すブロック図である。カレントポインタ10
は、バッファ媒体間転送制御手段4がデータを転送処理
するとき、データバッファ1から読み出すデータのアド
レスを示すポインタであり、読出カレントポインタ発生
手段から出力される。書き込みカレントポインタ15
は、バッファ上位間転送制御手段3がデータを転送処理
するとき、データバッファ1への書き込みアドレスを示
すポインタであり、読出カレントポインタ発生手段から
出力される。交代待ちセクタアドレスポインタ11は、
回転媒体の特定のセクタに対してデータを記録できない
とき、交代領域に記録すべきデータが格納されているデ
ータバッファ1上のセクタの先頭アドレスを示すポイン
タであり、交代待ちセクタアドレスポインタ発生手段か
ら出力される。オフセットカウンタ13は、エラー発生
セクタ位置から順方向に最も近い予備セクタ位置までの
論理オフセットを計数するカウンタである。
FIG. 2 is a block diagram showing the internal configuration of the address pointer control means 7. Current pointer 10
Is a pointer indicating the address of data to be read from the data buffer 1 when the inter-buffer medium transfer control means 4 performs data transfer processing, and is output from the read current pointer generating means. Write current pointer 15
Is a pointer indicating a write address to the data buffer 1 when the buffer upper transfer control means 3 performs data transfer processing, and is output from the read current pointer generating means. The replacement waiting sector address pointer 11 is
When data cannot be recorded in a specific sector of the rotating medium, the pointer indicates the start address of the sector on the data buffer 1 in which data to be recorded in the replacement area is stored. Is output. The offset counter 13 is a counter that counts the logical offset from the error occurrence sector position to the nearest spare sector position in the forward direction.

【0014】カレントセクタポインタ14は、回転媒体
制御手段5が処理中のセクタの論理位置を示すポインタ
であり、カレントセクタポインタ発生手段から出力され
る。予備セクタアクセスフラグ12は、カレントポイン
タ10が示すアドレスから始まる単位セクタのデータを
予備セクタ領域に記録することを回転媒体制御手段5に
対して要求するフラグであり、予備セクタアクセスフラ
グ発生手段から出力される。なお、交代待ちセクタアド
レスポインタ11とオフセットカウンタ13とに複数組
みの情報を管理する機能を持たせた場合、複数個の交代
処理にも対応可能とする。
The current sector pointer 14 is a pointer indicating the logical position of the sector being processed by the rotating medium control means 5, and is output from the current sector pointer generating means. The spare sector access flag 12 is a flag requesting the rotating medium control means 5 to record the data of the unit sector starting from the address indicated by the current pointer 10 in the spare sector area. Is done. When the function of managing a plurality of sets of information is provided to the replacement waiting sector address pointer 11 and the offset counter 13, a plurality of replacement processes can be supported.

【0015】図3は回転媒体制御手段5が制御する回転
媒体のデータセクタと予備セクタの構造を示す説明図で
ある。本図は連続アクセス単位であるトラックとして、
トラック20、トラック21、トラック22を示す。夫
々のトラックの終端には予備セクタが設けられ、ここで
は予備セクタ23、予備セクタ24、予備セクタ25が
用意されている。このように予備セクタは回転媒体制御
手段5が連続してアクセス可能なように、各トラックの
終端に割り付けられている。
FIG. 3 is an explanatory diagram showing the structure of the data sector and the spare sector of the rotating medium controlled by the rotating medium control means 5. This figure shows a track as a continuous access unit.
Track 20, track 21, and track 22 are shown. A spare sector is provided at the end of each track. Here, a spare sector 23, a spare sector 24, and a spare sector 25 are prepared. As described above, the spare sector is allocated to the end of each track so that the rotating medium control unit 5 can continuously access.

【0016】このような構成を有する回転媒体記憶装置
の動作について、図4を用いて説明する。図4はアドレ
スポインタ制御手段7の動作アルゴリズムを示すフロー
チャートである。回転媒体制御手段5の記録動作で予備
セクタへの交代処理要求が発生した場合、ステップS0
において交代領域への連続アクセスの処理を開始する。
次のステップS1では交代処理対象のセクタアドレスの
検出処理を行う。即ち、交代処理を行うセクタのデータ
が格納されているデータバッファ1上の開始アドレス
を、図2の交代待ちセクタアドレスポインタ11に設定
する。次のステップS2では交代セクタ(予備セクタ)
までのオフセットを算出する。即ち、エラーが発生した
論理セクタ位置から、予備セクタ位置管理手段2で求め
られる予備セクタまでのオフセットを算出し、図2のオ
フセットカウンタ13に設定する。
The operation of the rotating medium storage device having such a configuration will be described with reference to FIG. FIG. 4 is a flowchart showing the operation algorithm of the address pointer control means 7. If a request for replacement processing to a spare sector is issued in the recording operation of the rotating medium control means 5, step S0
Starts the process of continuous access to the replacement area.
In the next step S1, detection processing of a sector address to be replaced is performed. That is, the start address on the data buffer 1 where the data of the sector to be replaced is stored is set in the replacement waiting sector address pointer 11 in FIG. In the next step S2, a replacement sector (spare sector)
Calculate the offset up to. That is, the offset from the logical sector position where the error has occurred to the spare sector calculated by the spare sector position management means 2 is calculated and set in the offset counter 13 in FIG.

【0017】次のステップS3では、交代待ちアドレス
とカレントアドレスとが一致するか否かを調べる。即
ち、図2のカレントポインタ10の値と交代待ちアドレ
スポインタ11の値が一致するかどうかを判定し、一致
した場合にはステップS5に移行し、一致しない場合は
ステップS4に移行する。
In the next step S3, it is checked whether or not the replacement waiting address matches the current address. That is, it is determined whether the value of the current pointer 10 in FIG. 2 matches the value of the replacement waiting address pointer 11, and if they match, the process proceeds to step S5, and if not, the process proceeds to step S4.

【0018】ステップS5では、データバッファ1から
の読み出し位置を、交代待ちセクタアドレスポインタ1
1から1セクタ分の後ろの領域にスキップさせる。ステ
ップS3で交代待ちアドレスとカレントアドレスとが一
致しない場合、又はステップS5での処理が終わると、
ステップS4に進み、オフセットのディクリメント処理
を行う。即ちステップS4では、新たに転送されたセク
タ数をオフセットカウンタ13のオフセットから減算す
る。次のステップS6ではオフセットカウンタ13の値
がゼロか否かを判定する。ゼロでない場合は、ステップ
S3以降の処理を繰り返し実行し、ゼロとなった場合に
は次のステップS7に移行する。
In step S5, the read position from the data buffer 1 is set to the sector address pointer 1 to be replaced.
Skip to an area one sector later. If the replacement waiting address does not match the current address in step S3, or if the processing in step S5 ends,
Proceeding to step S4, an offset decrement process is performed. That is, in step S4, the number of sectors newly transferred is subtracted from the offset of the offset counter 13. In the next step S6, it is determined whether or not the value of the offset counter 13 is zero. If it is not zero, the processing after step S3 is repeatedly executed, and if it becomes zero, the process proceeds to the next step S7.

【0019】ステップS7では、カレントポインタ10
に交代待ちセクタアドレスポインタ11の値を設定す
る。次のステップS8では交代領域に連続して欠陥セク
タ用のデータをまとめて記録する。即ち、図1の回転媒
体制御手段5が図2の予備セクタアクセスフラグ12を
設定し、目的トラックに存在する予備セクタ領域に連続
して交代待ちセクタ(欠陥セクタ)のデータを記録す
る。
In step S7, the current pointer 10
Is set to the value of the sector address pointer 11 waiting for replacement. In the next step S8, data for the defective sector is collectively recorded continuously in the replacement area. That is, the rotating medium control means 5 of FIG. 1 sets the spare sector access flag 12 of FIG. 2, and records data of the sector waiting for replacement (defective sector) continuously in the spare sector area existing in the target track.

【0020】最後のステップS9においては、図2の交
代待ちセクタアドレスポインタ11の値をメモリアドレ
ス上に存在しない値に書き換えてクリアする。
In the last step S9, the value of the replacement waiting sector address pointer 11 in FIG. 2 is rewritten to a value that does not exist on the memory address and is cleared.

【0021】このように、データバッファ上の欠陥セク
タ位置情報をもとに、回転媒体への書き込み動作を中断
させることなく、連続した書き込み動作の過程で通過す
る予備セクタ領域へデータをまとめて記録する。
As described above, based on the defective sector position information in the data buffer, the data is collectively recorded in the spare sector area that passes in the course of the continuous write operation without interrupting the write operation on the rotating medium. I do.

【0022】また、一度のエラーだけで交代処理を実行
する仕様とし、エラーの発生したセクタは予備セクタと
して登録することで、エラー時のリトライ動作や交代処
理の必要性の判定動作をスキップすることができる。こ
の場合、エラーが発生した場合でもより高速な記録動作
が実現可能となる。
Further, the specification is such that the replacement process is executed only by one error, and the sector in which the error has occurred is registered as a spare sector, thereby skipping the retry operation at the time of error and the operation of determining the necessity of the replacement process. Can be. In this case, a higher-speed recording operation can be realized even when an error occurs.

【0023】[0023]

【発明の効果】本発明の回転媒体記憶装置及び回転媒体
記録制御方法によれば、予備セクタ位置管理手段とアド
レスポインタ制御手段を設けることにより、予備セクタ
への交代処理実行時に生じるヘッド移動と回転待ちの時
間遅延をなくすことができる。このため高速な書き込み
動作が実現され、欠陥セクタの有無又はその発生数に依
存することなく、転送レートが安定化する。特に、安定
した転送レートが要求される映像やオーディオのデータ
を扱う場合にはその効果は大きい。
According to the rotating medium storage device and the rotating medium recording control method of the present invention, by providing the spare sector position management means and the address pointer control means, the head movement and the rotation which occur at the time of executing the replacement processing to the spare sector are performed. The waiting time delay can be eliminated. Therefore, a high-speed write operation is realized, and the transfer rate is stabilized without depending on the presence or absence of a defective sector or the number of occurrences. The effect is particularly great when handling video and audio data that require a stable transfer rate.

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

【図1】本発明の実施の形態における回転媒体記憶装置
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a rotating medium storage device according to an embodiment of the present invention.

【図2】本実施の形態の回転媒体記憶装置に用いられる
アドレスポインタ制御手段の構成図である。
FIG. 2 is a configuration diagram of an address pointer control unit used in the rotating medium storage device according to the embodiment;

【図3】本実施の形態の回転媒体上の予備セクタの配置
図である。
FIG. 3 is a layout diagram of spare sectors on a rotating medium according to the embodiment.

【図4】本実施の形態における交代領域への連続アクセ
スアルゴリズムを示すフローチャートである。
FIG. 4 is a flowchart showing a continuous access algorithm to a replacement area according to the present embodiment.

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

1 データバッファ 2 予備セクタ位置管理手段 3 バッファ上位間転送制御手段 4 バッファ媒体間転送制御手段 5 回転媒体制御手段 6 上位装置 7 アドレスポインタ制御手段 10 カレントポインタ 11 交代待ちセクタアドレスポインタ 12 予備セクタアクセスフラグ 13 オフセットカウンタ 14 カレントセクタポインタ 15 書き込みカレントポインタ 20,21,22 トラック 23,24,25 予備セクタ DESCRIPTION OF SYMBOLS 1 Data buffer 2 Reserve sector position management means 3 Buffer upper transfer control means 4 Buffer medium transfer control means 5 Rotating medium control means 6 Upper device 7 Address pointer control means 10 Current pointer 11 Replacement waiting sector address pointer 12 Reserve sector access flag 13 Offset Counter 14 Current Sector Pointer 15 Write Current Pointer 20, 21, 22 Tracks 23, 24, 25 Spare Sector

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から転送されたデータを回転媒
体に記録する回転媒体記憶装置であって、 回転媒体上の予備セクタの位置を管理する予備セクタ位
置管理手段と、 前記上位装置から転送されたデータを一時格納するデー
タバッファと、 前記回転媒体の欠陥セクタに記録される予定のデータを
交代待ちデータとし、前記交替待ちデータの前記データ
バッファ上の格納位置を管理し、前記回転媒体に対する
連続したデータ記録動作の過程で、前記予備セクタへの
交代待ちデータの記録を制御するアドレスポインタ制御
手段と、を具備し、 前記データバッファから前記回転媒体への連続したデー
タ書き込み動作を中断することなく、前記予備セクタへ
のデータ記録の交代処理を実行することを特徴とする回
転媒体記憶装置。
1. A rotating medium storage device for recording data transferred from a host device on a rotating medium, comprising: a spare sector position managing means for managing a position of a spare sector on the rotating medium; A data buffer for temporarily storing the data that has been transferred, and data to be recorded in a defective sector of the rotating medium as replacement waiting data; managing a storage position of the replacement waiting data on the data buffer; Address pointer control means for controlling the recording of data waiting for replacement in the spare sector in the course of the data recording operation described above, without interrupting a continuous data writing operation from the data buffer to the rotating medium. And performing a process of changing data recording to the spare sector.
【請求項2】 上位装置から転送されたデータを回転媒
体に記録する回転媒体記憶装置であって、 前記回転媒体にセクタ単位でデータの記録又は再生を行
う回転媒体制御手段と、 前記上位装置から出力され、前記回転媒体に記録すべき
データをセクタ単位で一時保持するデータバッファと、 前記上位装置と前記データバッファ間のデータ転送を管
理するバッファ上位間転送制御手段と、 前記データバッファと前記回転媒体制御手段間のデータ
転送を管理し、前記回転媒体上の通常セクタに加えて予
備セクタへのデータの記録再生を行うバッファ媒体間転
送制御手段と、 利用可能な予備セクタの存在位置を管理し、エラーが発
生したセクタの論理アドレスが指定されると、順方向に
最も近い予備セクタまでの論理オフセットを算出する予
備セクタ位置管理手段と、 不連続な位置にあり、エラーが発生した欠陥セクタに記
録される予定のデータの前記データバッファ上の格納位
置を管理し、前記回転媒体に対する連続した記録動作の
過程で、予備セクタへの交代待ちデータの記録を制御す
るアドレスポインタ制御手段と、を具備することを特徴
とする回転媒体記憶装置。
2. A rotating medium storage device for recording data transferred from a host device on a rotating medium, comprising: a rotating medium control unit for recording or reproducing data on the rotating medium in sector units; A data buffer that temporarily stores data to be recorded on the rotating medium in units of sectors, a buffer upper-layer transfer control unit that manages data transfer between the higher-level device and the data buffer, and the data buffer and the rotation. A buffer medium transfer control means for managing data transfer between the medium control means and recording / reproducing data in a spare sector in addition to a normal sector on the rotating medium; and managing a location of an available spare sector. When the logical address of the sector in which the error has occurred is designated, the spare sector for calculating the logical offset to the nearest spare sector in the forward direction is calculated. Data position management means, manages the storage position on the data buffer of data that is at a discontinuous position and is to be recorded in a defective sector where an error has occurred, in the course of a continuous recording operation on the rotating medium, A rotating medium storage device, comprising: address pointer control means for controlling recording of data to be replaced in a spare sector.
【請求項3】 前記アドレスポインタ制御手段は、 前記バッファ媒体間転送制御手段がデータを転送処理す
るとき、前記データバッファから読み出すデータのアド
レスを示すポインタを発生する読出カレントポインタ発
生手段と、 前記バッファ上位間転送制御手段がデータを転送処理す
るとき、前記データバッファへの書き込みアドレスを示
すポインタを発生する書込カレントポインタ発生手段
と、 前記回転媒体の特定のセクタに対してデータを記録でき
ないとき、交代セクタに記録すべきデータが格納されて
いる前記データバッファ上のセクタの先頭アドレスを示
すポインタを発生する交代待ちセクタアドレスポインタ
発生手段と、 エラーが発生したセクタ位置から順方向に最も近い予備
セクタ位置までの論理オフセットを計数するオフセット
カウンタと、 前記回転媒体制御手段が処理中のセクタの論理位置を示
すポインタを発生するカレントセクタポインタ発生手段
と、 前記カレントポインタが示すアドレスから始まる単位セ
クタのデータを予備セクタ領域に記録することを前記回
転媒体制御手段に対して指示する予備セクタアクセスフ
ラグ発生手段と、を有することを特徴とする請求項2記
載の回転媒体記憶装置。
3. The read current pointer generating means for generating a pointer indicating an address of data to be read from the data buffer when the inter-buffer medium transfer control means performs data transfer processing, When upper-layer transfer control means performs data transfer processing, a write current pointer generating means for generating a pointer indicating a write address to the data buffer; and when data cannot be recorded in a specific sector of the rotating medium, A replacement waiting sector address pointer generating means for generating a pointer indicating a head address of a sector on the data buffer in which data to be recorded in the replacement sector is stored; a spare sector closest in the forward direction from the sector position where the error has occurred; Off counting logical offset to position A current sector pointer generating means for generating a pointer indicating a logical position of a sector being processed by the rotating medium control means; and recording data of a unit sector starting from an address indicated by the current pointer in a spare sector area. 3. The rotating medium storage device according to claim 2, further comprising: a spare sector access flag generating means for instructing the rotating medium control means.
【請求項4】 上位装置から転送されたデータを回転媒
体に記録する回転媒体記録制御方法であって、 前記上位装置から前記回転媒体のセクタにデータの書き
込み要求が出力され、前記特定のセクタへのデータ書き
込みエラーが発生し、交代処理が必要となった場合に、
前記回転媒体上の予備セクタ位置を検出し、 前記予備セクタへの書き込みが終了していないデータに
対してデータバッファ上で前記データを交代処理データ
として保護し、 前記回転媒体の通常セクタへのデータの書き込み動作を
停止させることなく連続して実行し、 前記データバッファ上で保護された不連続な位置に存在
する前記交代処理データをまとめて読み出し、 前記予備セクタへ前記交代処理データをまとめて記録す
ることを特徴とする回転媒体記録制御方法。
4. A rotating medium recording control method for recording data transferred from a host device on a rotating medium, wherein a request for writing data is output from the host device to a sector of the rotating medium, and the data is transmitted to the specific sector. If a data write error occurs and replacement processing is required,
Detecting a spare sector position on the rotating medium, protecting the data as replacement data on a data buffer for data that has not been written to the spare sector, The write operation is continuously executed without stopping, and the alternation processing data existing at the discontinuous position protected on the data buffer is collectively read, and the alternation processing data is collectively recorded in the spare sector. A recording control method for a rotating medium.
JP2000133094A 2000-05-02 2000-05-02 Rotary medium storage device and rotary medium recording control method Pending JP2001312376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000133094A JP2001312376A (en) 2000-05-02 2000-05-02 Rotary medium storage device and rotary medium recording control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000133094A JP2001312376A (en) 2000-05-02 2000-05-02 Rotary medium storage device and rotary medium recording control method

Publications (1)

Publication Number Publication Date
JP2001312376A true JP2001312376A (en) 2001-11-09

Family

ID=18641652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000133094A Pending JP2001312376A (en) 2000-05-02 2000-05-02 Rotary medium storage device and rotary medium recording control method

Country Status (1)

Country Link
JP (1) JP2001312376A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040004735A (en) * 2002-07-05 2004-01-14 주식회사 히타치엘지 데이터 스토리지 코리아 Method for recording substitute defect block in optical disc driver
SG103908A1 (en) * 2002-04-09 2004-05-26 Toshiba Kk Apparatus and method for accessing a disk containing an alternate sector

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6228977A (en) * 1985-07-29 1987-02-06 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Data recorder
JPH11501760A (en) * 1995-12-28 1999-02-09 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン CD-ROM recording method
JP2000048491A (en) * 1998-07-24 2000-02-18 Mitsubishi Electric Corp Defect management method for optical disk, optical disk and optical disk device
JP2000057713A (en) * 1998-08-05 2000-02-25 Mitsubishi Electric Corp Method for managing defect of optical disk and optical disk device and optical disk
JP2000076793A (en) * 1998-08-31 2000-03-14 Sony Corp Recording medium driving device and method, information recording and reproducing system and method, and provided medium
JP2000112674A (en) * 1998-09-30 2000-04-21 Toshiba Corp Substitutive area setting system for defective area on information storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6228977A (en) * 1985-07-29 1987-02-06 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Data recorder
JPH11501760A (en) * 1995-12-28 1999-02-09 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン CD-ROM recording method
JP2000048491A (en) * 1998-07-24 2000-02-18 Mitsubishi Electric Corp Defect management method for optical disk, optical disk and optical disk device
JP2000057713A (en) * 1998-08-05 2000-02-25 Mitsubishi Electric Corp Method for managing defect of optical disk and optical disk device and optical disk
JP2000076793A (en) * 1998-08-31 2000-03-14 Sony Corp Recording medium driving device and method, information recording and reproducing system and method, and provided medium
JP2000112674A (en) * 1998-09-30 2000-04-21 Toshiba Corp Substitutive area setting system for defective area on information storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG103908A1 (en) * 2002-04-09 2004-05-26 Toshiba Kk Apparatus and method for accessing a disk containing an alternate sector
US7085965B2 (en) 2002-04-09 2006-08-01 Kabushiki Kaisha Toshiba Apparatus and method for accessing a disk containing an alternate sector
KR20040004735A (en) * 2002-07-05 2004-01-14 주식회사 히타치엘지 데이터 스토리지 코리아 Method for recording substitute defect block in optical disc driver

Similar Documents

Publication Publication Date Title
JP4282733B1 (en) Disk storage device and data writing method
JPH0378649B2 (en)
JP5068215B2 (en) Apparatus and method for writing data to recording medium
JP3637346B1 (en) Information recording apparatus, information recording method, and program
JP2001312376A (en) Rotary medium storage device and rotary medium recording control method
JPH0935418A (en) Information memory
JP2770917B2 (en) Information recording / reproducing device
JPH07319636A (en) Controller for storing data of magnetic disk
EP0316867A2 (en) Semiconductor file apparatus
JP3451978B2 (en) Magnetic tape unit
JP4174967B2 (en) Recording method of write once optical disc
JP2008112535A (en) Information recording/reproducing method
JP2007004343A (en) Write control method and storage device
JPS6246468A (en) Disk memory device
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JPS59221810A (en) Alternate sector device in magnetic storage device
JP2595316B2 (en) Alternate assignment processing method
JPH0628779A (en) Method for recording and controlling data in disk device
JP4210252B2 (en) Information recording medium, simultaneous recording / reproducing method, and information recording / reproducing apparatus
JP2005190613A (en) Concurrent recording/reproducing method of data, seek operation controlling method, and magnetic disk device using same
JP4136637B2 (en) Cache control unit
JP2006286083A (en) Magnetic disk device
JPH11232046A (en) Magnetic disk device
JPH1021653A (en) Magnetic disk device
JP2004070979A (en) Disk drive

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100810