JP7056867B2 - Control devices, control programs, and control methods - Google Patents

Control devices, control programs, and control methods Download PDF

Info

Publication number
JP7056867B2
JP7056867B2 JP2017241781A JP2017241781A JP7056867B2 JP 7056867 B2 JP7056867 B2 JP 7056867B2 JP 2017241781 A JP2017241781 A JP 2017241781A JP 2017241781 A JP2017241781 A JP 2017241781A JP 7056867 B2 JP7056867 B2 JP 7056867B2
Authority
JP
Japan
Prior art keywords
user data
format
sector
processing
data area
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.)
Active
Application number
JP2017241781A
Other languages
Japanese (ja)
Other versions
JP2019109950A (en
Inventor
陽文 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2017241781A priority Critical patent/JP7056867B2/en
Publication of JP2019109950A publication Critical patent/JP2019109950A/en
Application granted granted Critical
Publication of JP7056867B2 publication Critical patent/JP7056867B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、制御装置、制御プログラム、及び制御方法に関する。 The present invention relates to a control device, a control program, and a control method.

フォーマット完了までの時間を短縮することができる、情報記録媒体に対する「論理フォーマット」にかかる技術が開示されている(例えば、特許文献1)。一般的に、情報記録媒体は、「セクタ」単位で記録情報を保存する。セクタとは、ユーザデータを含む最小基本単位であり、「ユーザデータ領域」及び「非ユーザデータ領域」を含んでいる。ユーザデータ領域のサイズは、「セクタサイズ」と呼ばれることがあり、一般的には、512バイト又は520バイトである。論理フォーマット処理は、ユーザデータ領域のデータを初期化する処理であり、セクタサイズの変更やセクタの欠陥箇所の更新を行うことはできない。 A technique relating to "logical formatting" for an information recording medium, which can shorten the time until formatting is completed, is disclosed (for example, Patent Document 1). Generally, the information recording medium stores recorded information in "sector" units. A sector is a minimum basic unit including user data, and includes a "user data area" and a "non-user data area". The size of the user data area is sometimes referred to as "sector size" and is generally 512 bytes or 520 bytes. The logical format process is a process of initializing the data in the user data area, and it is not possible to change the sector size or update the defective part of the sector.

特開2011-215682号公報Japanese Unexamined Patent Publication No. 2011-215682

ところで、フォーマット処理には、上記の論理フォーマット処理の他に、「物理フォーマット処理」がある。物理フォーマット処理は、上記の論理フォーマット処理と異なり、ユーザデータ領域及び非ユーザデータ領域の記録情報の初期化、セクタサイズの変更、及びセクタの欠陥箇所の更新などを行う処理である。すなわち、物理フォーマット処理は、セクタサイズの変更が伴うため、論理フォーマット処理に比べて長い処理時間を要する可能性がある。 By the way, in addition to the above-mentioned logical formatting process, the formatting process includes "physical formatting process". The physical formatting process is different from the above-mentioned logical formatting process, and is a process of initializing recorded information in a user data area and a non-user data area, changing a sector size, updating a defective part of a sector, and the like. That is, since the physical format processing involves changing the sector size, it may take a longer processing time than the logical format processing.

本開示の目的は、物理フォーマット処理の処理時間を短縮することができる、制御装置、制御プログラム、及び制御方法を提供することにある。 An object of the present disclosure is to provide a control device, a control program, and a control method capable of shortening the processing time of the physical format processing.

第1の態様にかかる制御装置は、各セクタが非ユーザデータ領域及びユーザデータ領域を有する複数のセクタをそれぞれマッピングする複数のマッピング領域を含む情報記録媒体に対する物理フォーマット処理を制御する制御部であって、フォーマット対象セクタに対応するマッピング領域の長さを変更することなく、前記フォーマット対象セクタのユーザデータ領域及び非ユーザデータ領域のサイズを変更する制御部、を具備する。 The control device according to the first aspect is a control unit that controls physical formatting processing for an information recording medium including a plurality of mapping areas in which each sector maps a plurality of sectors having a non-user data area and a user data area. A control unit that changes the size of the user data area and the non-user data area of the format target sector without changing the length of the mapping area corresponding to the format target sector is provided.

第2の態様にかかる制御プログラムは、各セクタが非ユーザデータ領域及びユーザデータ領域を有する複数のセクタをそれぞれマッピングする複数のマッピング領域を含む情報記録媒体に対する物理フォーマット処理を制御する制御処理であって、フォーマット対象セクタに対応するマッピング領域の長さを変更することなく、前記フォーマット対象セクタのユーザデータ領域及び非ユーザデータ領域のサイズを変更する制御処理を、制御装置に実行させる。 The control program according to the second aspect is a control process for controlling physical formatting processing for an information recording medium including a plurality of mapping areas in which each sector maps a plurality of sectors having a non-user data area and a user data area. Therefore, the control device is made to execute a control process for changing the size of the user data area and the non-user data area of the format target sector without changing the length of the mapping area corresponding to the format target sector.

第3の態様にかかる制御方法は、各セクタが非ユーザデータ領域及びユーザデータ領域を有する複数のセクタをそれぞれマッピングする複数のマッピング領域を含む情報記録媒体に対する物理フォーマット処理を制御するときに、フォーマット対象セクタに対応するマッピング領域の長さを変更することなく、前記フォーマット対象セクタのユーザデータ領域及び非ユーザデータ領域のサイズを変更する。 The control method according to the third aspect is a format when controlling physical formatting processing for an information recording medium including a plurality of mapping areas in which each sector maps a plurality of sectors having a non-user data area and a user data area. The size of the user data area and the non-user data area of the format target sector is changed without changing the length of the mapping area corresponding to the target sector.

本発明により、物理フォーマット処理の処理時間を短縮することができる、制御装置、制御プログラム、及び制御方法を提供することができる。 INDUSTRIAL APPLICABILITY According to the present invention, it is possible to provide a control device, a control program, and a control method capable of shortening the processing time of the physical format processing.

第1実施形態の制御装置の一例を示すブロック図である。It is a block diagram which shows an example of the control apparatus of 1st Embodiment. 情報記録媒体の記憶領域全体(プラッタ)におけるセクタの配列の一例を示す図である。It is a figure which shows an example of the arrangement of the sector in the whole storage area (platter) of an information recording medium. 第1実施形態の制御装置の物理フォーマット処理の説明に供する図である。It is a figure which provides the explanation of the physical format processing of the control apparatus of 1st Embodiment. 比較例を示す図である。It is a figure which shows the comparative example. 第2実施形態の制御装置を含むハードディスクドライブの一例を示すブロック図である。It is a block diagram which shows an example of the hard disk drive which includes the control device of 2nd Embodiment. 第2実施形態の制御装置の一例を示すブロック図である。It is a block diagram which shows an example of the control apparatus of 2nd Embodiment. 第2実施形態の管理情報の説明に供する図である。It is a figure which provides the explanation of the management information of the 2nd Embodiment. 第2実施形態の高速フォーマット開始時の処理動作の一例を示すフローチャートである。It is a flowchart which shows an example of the processing operation at the start of a high-speed format of 2nd Embodiment. 第2実施形態の高速フォーマットをサポートするライト処理の一例を示すフローチャートである。It is a flowchart which shows an example of the write processing which supports the high-speed format of 2nd Embodiment. 第2実施形態のライト処理の説明に供する図である。It is a figure which provides the explanation of the light processing of the 2nd Embodiment. 第2実施形態の高速フォーマットをサポートするリード処理の一例を示すフローチャートである。It is a flowchart which shows an example of the read processing which supports the high-speed format of 2nd Embodiment. 第2実施形態のバックグランドフォーマット処理の一例を示す図である。It is a figure which shows an example of the background format processing of 2nd Embodiment. 制御装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of a control device.

以下、図面を参照しつつ、実施形態について説明する。なお、実施形態において、同一又は同等の要素には、同一の符号を付し、重複する説明は省略される。 Hereinafter, embodiments will be described with reference to the drawings. In the embodiment, the same or equivalent elements are designated by the same reference numerals, and duplicate description is omitted.

<第1実施形態>
<制御装置の構成例>
図1は、第1実施形態の制御装置の一例を示すブロック図である。図1において制御装置10は、制御部11を有する。
<First Embodiment>
<Configuration example of control device>
FIG. 1 is a block diagram showing an example of the control device of the first embodiment. In FIG. 1, the control device 10 has a control unit 11.

制御部11は、複数の「マッピング領域」を含む情報記録媒体(例えば、ハードディスク)に対する物理フォーマット処理を制御する。各マッピング領域は、1つのセクタをマッピングする領域である。図2は、情報記録媒体の記憶領域全体(プラッタ)におけるセクタの配列の一例を示す図である。各セクタは、図2に示すようにユーザデータ領域と非ユーザデータ領域を有している。そして、非ユーザデータ領域には、同期・アドレスマーク、ECC(Error Check and Correct)領域、及び、空隙部が含まれている。同期・アドレスマークは、セクタの先頭位置を定めるために用いられるものである。また、ECCは、ユーザデータ領域に格納されたユーザデータの修復に用いられるものである。情報記録媒体を使用する場合、ホスト(OS(Operating System)又はアプリケーション等)がサポートするユーザデータ領域のサイズを使用することが求められる。例えば、複数のホストによって1つの情報記録媒体を使い回す場合、ユーザデータ領域のサイズ変更が必要となる。 The control unit 11 controls the physical formatting process for an information recording medium (for example, a hard disk) including a plurality of “mapping areas”. Each mapping area is an area for mapping one sector. FIG. 2 is a diagram showing an example of an arrangement of sectors in the entire storage area (platter) of an information recording medium. Each sector has a user data area and a non-user data area as shown in FIG. The non-user data area includes a synchronization / address mark, an ECC (Error Check and Correct) area, and a gap portion. The synchronization / address mark is used to determine the start position of a sector. In addition, ECC is used for repairing user data stored in the user data area. When using an information recording medium, it is required to use the size of the user data area supported by the host (OS (Operating System) or application, etc.). For example, when one information recording medium is reused by a plurality of hosts, it is necessary to change the size of the user data area.

具体的には、制御部11は、「フォーマット対象セクタ」に対応するマッピング領域の長さを変更することなく、「フォーマット対象セクタ」のユーザデータ領域及び非ユーザデータ領域のサイズを変更する。マッピング領域の長さは、情報記録媒体が対応する最大のセクタサイズに対応する固定長Lである。また、制御部11は、ライトコマンド及びユーザデータを受け取った場合、サイズ変更後のサイズに従って、ライト処理対象セクタのユーザデータ領域にユーザデータを書き込む。ここで、例えばユーザデータ領域のサイズが大きくなるように変更された場合、空隙の長さが短く調整され、逆にユーザデータ領域のサイズが小さくなるように変更された場合、空隙の長さが長く調整されてもよい。また、空隙の代わりに、非ユーザデータ領域の含まれるECCの長さが調整されてもよい。すなわち、非ユーザデータ領域の長さが変わることで、セクタが固定長のマッピング領域に収まるようにしている。 Specifically, the control unit 11 changes the size of the user data area and the non-user data area of the "format target sector" without changing the length of the mapping area corresponding to the "format target sector". The length of the mapping area is a fixed length L corresponding to the maximum sector size supported by the information recording medium. Further, when the control unit 11 receives the write command and the user data, the control unit 11 writes the user data in the user data area of the write processing target sector according to the size after the size change. Here, for example, when the size of the user data area is changed to be large, the length of the void is adjusted to be short, and conversely, when the size of the user data area is changed to be small, the length of the void is adjusted. It may be adjusted longer. Also, instead of the voids, the length of the ECC included in the non-user data area may be adjusted. That is, by changing the length of the non-user data area, the sector is made to fit in the fixed length mapping area.

この制御部11の構成により、物理フォーマット処理によってユーザデータ領域のサイズ変更がされる場合でも、図3に示すようにサイズ変更の前後でセクタの先頭位置に変化が生じない。この結果として、物理フォーマット処理にかかる時間を短縮することができる。図3は、第1実施形態の制御装置の物理フォーマット処理の説明に供する図である。図3においてバックグランドフォーマットは、ホストからのライトコマンド及びリードコマンドが来ていないアイドル時に、制御部11が行う物理フォーマット処理である。また、制御部11は、ライト処理対象セクタに対するライトコマンド及びユーザデータを受け取った場合、そのライト処理対象セクタのバックグランドフォーマット(物理フォーマット処理)が完了していない状態であっても、ライト処理を行うことができる。これは、上記の通り、図3に示すようにサイズ変更の前後でセクタの先頭位置に変化が生じないためである。この制御部11の構成により、物理フォーマット処理にかかる時間をさらに短縮することができる。 Due to the configuration of the control unit 11, even when the size of the user data area is changed by the physical format processing, the head position of the sector does not change before and after the size change as shown in FIG. As a result, the time required for the physical formatting process can be shortened. FIG. 3 is a diagram for explaining the physical formatting process of the control device of the first embodiment. In FIG. 3, the background format is a physical format process performed by the control unit 11 when the write command and the read command from the host are not received. Further, when the control unit 11 receives the write command and the user data for the write processing target sector, the control unit 11 performs the write processing even if the background format (physical format processing) of the write processing target sector is not completed. It can be carried out. This is because, as shown in FIG. 3, there is no change in the head position of the sector before and after the size change. With the configuration of the control unit 11, the time required for the physical format processing can be further shortened.

図4は、比較例を示す図である。図4に示すようにマッピング領域のサイズが変更されてしまう場合には、サイズ変更の前後でセクタの先頭位置に変化が生じてしまう。これにより、物理フォーマット処理に長い時間を要することになる。さらに、物理フォーマット処理が完了していないセクタに対してライト処理を行うこともできないので、物理フォーマット処理にさらに長い時間を要することになる。 FIG. 4 is a diagram showing a comparative example. When the size of the mapping area is changed as shown in FIG. 4, the head position of the sector is changed before and after the size change. As a result, the physical formatting process takes a long time. Further, since the write processing cannot be performed on the sector for which the physical formatting processing has not been completed, the physical formatting processing will take a longer time.

<第2実施形態>
<ハードディスクドライブの構成例>
図5は、第2実施形態の制御装置を含むハードディスクドライブの一例を示すブロック図である。図5においてハードディスクドライブ20は、ホストインタフェース21と、ボイスコイルモータ(VCM)ドライバ22と、ボイスコイルモータ23と、ヘッド24とを有している。ハードディスクドライブ20は、さらに、リード/ライト(R/W)チャンネル25と、スピンドルモータ(SPM)ドライバ26と、スピンドルモータ27と、情報記録媒体28と、制御装置30とを有している。
<Second Embodiment>
<Hard disk drive configuration example>
FIG. 5 is a block diagram showing an example of a hard disk drive including the control device of the second embodiment. In FIG. 5, the hard disk drive 20 has a host interface 21, a voice coil motor (VCM) driver 22, a voice coil motor 23, and a head 24. The hard disk drive 20 further includes a read / write (R / W) channel 25, a spindle motor (SPM) driver 26, a spindle motor 27, an information recording medium 28, and a control device 30.

ホストインタフェース21は、ホストと制御装置30との間のインタフェースである。 The host interface 21 is an interface between the host and the control device 30.

ボイスコイルモータドライバ22は、制御装置30の制御によって、ボイスコイルモータ23を駆動させる。 The voice coil motor driver 22 drives the voice coil motor 23 under the control of the control device 30.

ヘッド24は、ボイスコイルモータ23によって移動可能に構成されている。 The head 24 is configured to be movable by a voice coil motor 23.

リード/ライト(R/W)チャンネル25は、制御装置30の制御によってヘッド24を介して情報記録媒体28に対するリード処理、ライト処理、及び物理フォーマット処理を行うためのチャンネルである。 The read / write (R / W) channel 25 is a channel for performing read processing, write processing, and physical formatting processing on the information recording medium 28 via the head 24 under the control of the control device 30.

スピンドルモータドライバ26は、制御装置30の制御によって、スピンドルモータ27を駆動させる。情報記録媒体28は、スピンドルモータ27によって回転可能に構成されている。 The spindle motor driver 26 drives the spindle motor 27 under the control of the control device 30. The information recording medium 28 is configured to be rotatable by a spindle motor 27.

<制御装置の構成例>
図6は、第2実施形態の制御装置の一例を示すブロック図である。図6において制御装置30は、制御部31と、メモリ32とを有している。
<Configuration example of control device>
FIG. 6 is a block diagram showing an example of the control device of the second embodiment. In FIG. 6, the control device 30 has a control unit 31 and a memory 32.

メモリ32は、管理情報を記憶(保持)している。図7は、第2実施形態の管理情報の説明に供する図である。図7には、特に、管理情報の変更履歴が記載されている。図7に示すように管理情報には、項目として、フォーマットビット(つまり、管理世代情報)と、フォーマット完了論理ブロックアドレス(LBA)と、セクタサイズと、イニシャライズパターン(初期化パターン)とを含んでいる。管理情報は、「モードパラメータ」と呼ぶことができ、管理情報が記憶されるメモリ32の領域を、「モードページ」と呼ぶことができる。また、モードページは、電源断後にも保持できるように、情報記録媒体28にも保存される。図7における「初期状態」は、第2実施形態の前回の物理フォーマット処理が完了している状態の管理情報に対応する。また、「高速フォーマットユニットコマンド発行直後」は、第2実施形態の現在の物理フォーマット処理の開始直後の管理情報に対応する。また、「バックグランドフォーマット完了時」は、第2実施形態の現在の物理フォーマット処理の完了時の管理情報に対応する。 The memory 32 stores (retains) management information. FIG. 7 is a diagram for explaining the management information of the second embodiment. In particular, FIG. 7 shows a change history of management information. As shown in FIG. 7, the management information includes format bits (that is, management generation information), format completion logical block address (LBA), sector size, and initialization pattern (initialization pattern) as items. There is. The management information can be called a "mode parameter", and the area of the memory 32 in which the management information is stored can be called a "mode page". The mode page is also stored in the information recording medium 28 so that it can be retained even after the power is turned off. The "initial state" in FIG. 7 corresponds to the management information of the state in which the previous physical formatting process of the second embodiment is completed. Further, "immediately after issuing the high-speed format unit command" corresponds to the management information immediately after the start of the current physical format processing of the second embodiment. Further, "at the time of completion of the background format" corresponds to the management information at the time of completion of the current physical format processing of the second embodiment.

フォーマットビット(つまり、管理世代情報)は、物理フォーマット処理の世代を表す情報である。フォーマット完了LBAは、LBA=0のセクタから連続して物理フォーマット処理が完了しているセクタの次のLBAを示している。すなわち、フォーマット完了LBAは、次にバックグランドフォーマットを行うべきセクタのLBAを示している。LBAとは、セクタ毎に割り当てられるアドレスである。第2実施形態では、LBAは、ゼロから最大LBAまでの値をとなる。最大LBAは、情報記録媒体28の全セクタ数-1である。 The format bit (that is, management generation information) is information representing the generation of physical format processing. The format complete LBA indicates the next LBA of the sector in which the physical format processing is continuously completed from the sector with LBA = 0. That is, the format complete LBA indicates the LBA of the sector to which the background format should be performed next. The LBA is an address assigned to each sector. In the second embodiment, the LBA is a value from zero to the maximum LBA. The maximum LBA is the total number of sectors-1 of the information recording medium 28.

セクタサイズは、物理フォーマット処理で変更されるべきセクタサイズを表している。また、イニシャライズパターンは、物理フォーマット処理時に対象のセクタに書き込むデータパターンである。 The sector size represents the sector size that should be changed by the physical formatting process. The initialization pattern is a data pattern to be written in the target sector during the physical format processing.

制御部31は、「高速フォーマットコマンド」が発行された場合、情報記録媒体28の全セクタに対する現在の物理フォーマット処理の前の物理フォーマット処理が完了していることを開始条件として、現在の物理フォーマット処理を開始する。「高速フォーマット処理」とは、第2実施形態の物理フォーマット処理である。図7の「初期状態」では、前の物理フォーマット処理の管理世代情報の値が「ゼロ」であり、フォーマット完了LBAが最大LBA+1となっている。フォーマット完了LBAが最大LBA+1であることは、前の物理フォーマット処理が完了していることを意味している。 When the "high-speed format command" is issued, the control unit 31 starts the current physical format on the condition that the physical format process before the current physical format process for all sectors of the information recording medium 28 is completed. Start processing. The "high-speed formatting process" is the physical formatting process of the second embodiment. In the "initial state" of FIG. 7, the value of the management generation information of the previous physical format processing is "zero", and the format completion LBA is the maximum LBA + 1. The maximum LBA + 1 format completion LBA means that the previous physical format processing has been completed.

また、制御部31は、情報記録媒体28の全セクタに対する現在の物理フォーマット処理を開始する場合、上記の管理情報に含まれる管理世代情報の値を、現在の物理フォーマット処理の世代を示す世代情報の値に更新する。例えば、制御部31は、前の物理フォーマット処理の管理世代情報の値を論理否定することによって、現在の物理フォーマット処理の管理世代情報の値を算出することができる。図7の例では、「初期状態」における前の物理フォーマット処理の管理世代情報の値が「ゼロ」なので、現在の物理フォーマット処理の管理世代情報の値は、「ゼロ」を論理否定した「1」となる。 Further, when the control unit 31 starts the current physical format processing for all sectors of the information recording medium 28, the value of the management generation information included in the above management information is set to the generation information indicating the generation of the current physical format processing. Update to the value of. For example, the control unit 31 can calculate the value of the management generation information of the current physical format processing by logically denying the value of the management generation information of the previous physical format processing. In the example of FIG. 7, since the value of the management generation information of the previous physical format processing in the "initial state" is "zero", the value of the management generation information of the current physical format processing is "1" which logically negates "zero". ".

また、制御部31は、情報記録媒体28の全セクタに対する現在の物理フォーマット処理を開始する場合、上記の管理情報に含まれるイニシャライズパターンを変更してもよい。図7の例では、イニシャライズパターンが「00」から「FF」に変更されている。さらに、制御部31は、情報記録媒体28の全セクタに対する現在の物理フォーマット処理を開始する場合、上記の管理情報に含まれるセクタサイズを変更する。図7では、前回の物理フォーマット処理のセクタサイズ512バイトが、今回の物理フォーマット処理によってセクタサイズ520バイトへ変更される例が示されている。 Further, when the control unit 31 starts the current physical format processing for all sectors of the information recording medium 28, the initialization pattern included in the above management information may be changed. In the example of FIG. 7, the initialization pattern is changed from "00" to "FF". Further, when the control unit 31 starts the current physical formatting process for all the sectors of the information recording medium 28, the control unit 31 changes the sector size included in the above management information. FIG. 7 shows an example in which the sector size 512 bytes of the previous physical formatting process is changed to the sector size 520 bytes by the current physical formatting process.

また、制御部31は、ホストからライト処理対象セクタに対するライトコマンド及びユーザデータを受け取った場合、ライト処理対象セクタのユーザデータ領域に、ユーザデータを上記管理情報のセクタサイズに従ったサイズによって書き込む。さらに、制御部31は、ライト処理対象セクタの非ユーザデータ領域の「世代情報領域(フォーマットビット領域)」に、上記の管理情報の世代情報値を書き込む。この世代情報領域に書き込まれた世代情報値によって、制御部31は、このライト処理対象セクタが既に物理フォーマット処理が完了したセクタであると判断することができる。 Further, when the control unit 31 receives the write command and the user data for the write processing target sector from the host, the control unit 31 writes the user data in the user data area of the write processing target sector in a size according to the sector size of the management information. Further, the control unit 31 writes the generation information value of the above management information in the "generation information area (format bit area)" of the non-user data area of the write processing target sector. Based on the generation information value written in this generation information area, the control unit 31 can determine that the write processing target sector is a sector for which physical formatting processing has already been completed.

また、制御部31は、ホストからリード処理対象セクタに対するリードコマンドを受け取った場合、上記の管理情報の管理世代情報値とリード処理対象セクタの世代情報領域に書き込まれている世代情報値とを比較する。この比較の結果、両者が一致する場合、制御部31は、リード処理対象セクタのユーザデータ領域に書き込まれているユーザデータをリードコマンドの送信元であるホストに向けて出力する。一方、この比較の結果、両者が一致しない場合、制御部31は、上記の管理情報のイニシャライズパターンをリードコマンドの送信元であるホストに向けて出力する。 Further, when the control unit 31 receives a read command for the read processing target sector from the host, the control unit 31 compares the management generation information value of the above management information with the generation information value written in the generation information area of the read processing target sector. do. If the two match as a result of this comparison, the control unit 31 outputs the user data written in the user data area of the read processing target sector to the host that is the source of the read command. On the other hand, if the two do not match as a result of this comparison, the control unit 31 outputs the initialization pattern of the above management information to the host that is the source of the read command.

また、制御部31は、「バックグランドフォーマット」の制御を行う。「バックグランドフォーマット」とは、ホストからのリードコマンド及びライトコマンドを受け取っていないアイドル時に行う物理フォーマット処理である。「バックグランドフォーマット」は、現在の物理フォーマット処理が情報記録媒体28の全セクタについて完了するまで行われる。制御部31は、上記の管理情報の「フォーマット完了LBA」に対応する処理対象セクタに対して、バックグランドフォーマットを実行する。上記の管理情報の「フォーマット完了LBA」に対応する処理対象セクタを、以下では、単に「処理対象セクタ」と呼ぶ。 Further, the control unit 31 controls the "background format". "Background format" is a physical format process performed at idle when a read command and a write command from a host are not received. The "background format" is performed until the current physical formatting process is completed for all sectors of the information recording medium 28. The control unit 31 executes background formatting for the processing target sector corresponding to the “format completion LBA” of the above management information. The processing target sector corresponding to the "format completion LBA" of the above management information is simply referred to as a "processing target sector" below.

具体的には、制御部31は、上記の管理情報の管理世代情報の値と処理対象セクタの世代情報領域に書き込まれている世代情報の値とを比較する。この比較の結果、両者が一致しない場合、制御部31は、上記の管理情報のフォーマットサイズの値及びイニシャライズパターンを取得する。そして、制御部31は、取得したフォーマットサイズにしたイニシャライズパターンを、処理対象セクタに対して書き込む。さらに、制御部31は、上記の管理情報から取得した管理世代情報値を、処理対象セクタの非ユーザデータ領域の「世代情報領域(フォーマットビット領域)」に書き込む。そして、制御部31は、上記の管理情報の「フォーマット完了LBA」をインクリメントする。これにより、次のセクタが、バックグランドフォーマットの処理対象セクタとなる。 Specifically, the control unit 31 compares the value of the management generation information of the above management information with the value of the generation information written in the generation information area of the processing target sector. As a result of this comparison, if the two do not match, the control unit 31 acquires the format size value and the initialization pattern of the above management information. Then, the control unit 31 writes the initialization pattern having the acquired format size to the processing target sector. Further, the control unit 31 writes the management generation information value acquired from the above management information to the "generation information area (format bit area)" of the non-user data area of the processing target sector. Then, the control unit 31 increments the "format completion LBA" of the above management information. As a result, the next sector becomes the sector to be processed in the background format.

一方、この比較の結果、両者が一致する場合、制御部31は、処理対象セクタに対してバックグランドフォーマットを行わずに、上記の管理情報の「フォーマット完了LBA」をインクリメントする。これにより、次のセクタが、バックグランドフォーマットの処理対象セクタとなる。 On the other hand, if the two match as a result of this comparison, the control unit 31 increments the "format complete LBA" of the above management information without performing background formatting on the processing target sector. As a result, the next sector becomes the sector to be processed in the background format.

<制御装置の動作例>
以上の構成を有する制御装置30の処理動作の一例について説明する。
<Operation example of control device>
An example of the processing operation of the control device 30 having the above configuration will be described.

〈高速フォーマット開始時の処理〉
図8は、第2実施形態の高速フォーマット開始時の処理動作の一例を示すフローチャートである。図8に示す処理フローは、例えば、高速フォーマットが発行されたときにスタートする。
<Processing at the start of high-speed formatting>
FIG. 8 is a flowchart showing an example of the processing operation at the start of the high-speed format of the second embodiment. The processing flow shown in FIG. 8 starts, for example, when a high-speed format is issued.

制御部31は、モードページ(つまり、管理情報)からフォーマット完了LBA(=f)を読み込み、読み込んだフォーマット完了LBAが最大LBAより大きいか否かを判定する(ステップS101)。上記の通り、現在の高速フォーマットの開始条件は、前の高速フォーマットが完了していることである。フォーマット完了LBAが最大LBAより大きいことは、前の高速フォーマットが完了していることを意味する。 The control unit 31 reads the format complete LBA (= f) from the mode page (that is, management information), and determines whether or not the read format complete LBA is larger than the maximum LBA (step S101). As mentioned above, the starting condition for the current high speed format is that the previous high speed format has been completed. A format complete LBA greater than the maximum LBA means that the previous high speed format has been completed.

読み込んだフォーマット完了LBAが最大LBAより大きい場合(ステップS101YES)、制御部31は、モードページのフォーマットビット(つまり、管理世代情報)を論理否定する(ステップS102)。この処理によって、情報記録媒体28の全セクタのユーザデータを、即座に実質的に無効状態にすることができる。ここで、上記の通り、現在の高速フォーマットの開始条件は、前の高速フォーマットが完了していることである。この開始条件により、高速フォーマット中においてセクタの種別には、現在の高速フォーマットが完了しているセクタ、及び、現在の高速フォーマットが完了していないセクタの2種類しか存在しないので、世代情報を1ビットの情報とすることができる。 When the read format completion LBA is larger than the maximum LBA (step S101YES), the control unit 31 logically negates the format bit (that is, the management generation information) of the mode page (step S102). By this process, the user data of all sectors of the information recording medium 28 can be immediately and substantially invalidated. Here, as described above, the starting condition of the current high-speed format is that the previous high-speed format has been completed. Due to this start condition, there are only two types of sectors in the high-speed format, the sector for which the current high-speed format has been completed and the sector for which the current high-speed format has not been completed. It can be bit information.

次いで、制御部31は、今回の高速フォーマットで用いられるイニシャライズパターンを、モードページに保存する(ステップS103)。 Next, the control unit 31 saves the initialization pattern used in this high-speed format in the mode page (step S103).

次いで、制御部31は、モードページのセクタサイズを、今回の高速フォーマットで用いられるセクタサイズに変更する(ステップS104)。 Next, the control unit 31 changes the sector size of the mode page to the sector size used in this high-speed format (step S104).

次いで、制御部31は、モードページのフォーマット完了LBAの値fを「ゼロ」に変更する(ステップS105)。 Next, the control unit 31 changes the value f of the format completion LBA of the mode page to “zero” (step S105).

以上によって高速フォーマット開始時の処理が終了する。なお、読み込んだフォーマット完了LBAが最大LBA以下である場合(ステップS101NO)、前回の高速フォーマットが未だ完了していない。このため、図8の処理フローは、失敗となって終了する。 This completes the process at the start of high-speed formatting. When the read format complete LBA is equal to or less than the maximum LBA (step S101NO), the previous high-speed format has not been completed yet. Therefore, the processing flow of FIG. 8 ends with a failure.

〈ライト処理〉
図9は、第2実施形態の高速フォーマットをサポートするライト処理の一例を示すフローチャートである。図10は、第2実施形態のライト処理の説明に供する図である。図9に示す処理フローは、ライト処理対象セクタ(LBA=i)に対するライトコマンド及びユーザデータを受け取ったときにスタートする。
<Light processing>
FIG. 9 is a flowchart showing an example of write processing that supports the high-speed format of the second embodiment. FIG. 10 is a diagram for explaining the light processing of the second embodiment. The processing flow shown in FIG. 9 starts when a write command and user data for the write processing target sector (LBA = i) are received.

制御部31は、モードページのフォーマットビット(つまり、管理情報の管理世代情報)を読み出し、受け取ったユーザデータの先頭に置き、ECCを作成する(ステップS201)。例えば、図10に示すLBA=1のセクタがライト対象セクタである場合、520バイトのユーザデータの先頭に、今回の物理フォーマット処理の管理世代情報の値である「1」を配置し、これらの全体を用いて、ECCを作成する。すなわち、ここでは、フォーマットビット及びユーザデータの両方の信頼性が、ECCによって確保されている。因みに、図10の上段に示されるトラックに含まれるすべてのセクタは、世代情報領域の値がゼロであるため、前回の物理フォーマット処理に対応し且つ今回の物理フォーマット処理が行われていないセクタである。 The control unit 31 reads the format bit of the mode page (that is, the management generation information of the management information), puts it at the beginning of the received user data, and creates ECC (step S201). For example, when the sector with LBA = 1 shown in FIG. 10 is the write target sector, "1", which is the value of the management generation information of the current physical format processing, is placed at the beginning of the 520-byte user data, and these sectors are arranged. Create an ECC using the whole. That is, here, the reliability of both the format bit and the user data is ensured by ECC. Incidentally, since all the sectors included in the track shown in the upper part of FIG. 10 have a value of the generation information area of zero, they correspond to the previous physical format processing and are the sectors in which the current physical format processing is not performed. be.

次いで、制御部31は、ライト処理対象セクタに対してユーザデータ及びECCをモードページが定めるセクタサイズで書き込む(ステップS202)。さらに、制御部31は、モードページの管理世代情報の値によってライト処理対象セクタの世代情報領域(フォーマットビット領域)の値を更新する(ステップS202)。 Next, the control unit 31 writes the user data and ECC to the write processing target sector in the sector size determined by the mode page (step S202). Further, the control unit 31 updates the value of the generation information area (format bit area) of the write processing target sector according to the value of the management generation information on the mode page (step S202).

以上のように、世代情報を管理しているため、ライト処理対象セクタの世代情報領域(フォーマットビット領域)の値を確認することなくライト処理を実行することができる。 Since the generation information is managed as described above, the write processing can be executed without checking the value of the generation information area (format bit area) of the write processing target sector.

〈リード処理〉
図11は、第2実施形態の高速フォーマットをサポートするリード処理の一例を示すフローチャートである。図11に示す処理フローは、リード処理対象セクタ(LBA=i)に対するリードコマンドを受け取ったときにスタートする。
<Lead processing>
FIG. 11 is a flowchart showing an example of read processing that supports the high-speed format of the second embodiment. The processing flow shown in FIG. 11 starts when a read command for a read processing target sector (LBA = i) is received.

制御部31は、リード処理対象セクタのフォーマットビット(つまり、世代情報領域の値)とユーザデータとを読み込む(ステップS301)。 The control unit 31 reads the format bit (that is, the value of the generation information area) of the read processing target sector and the user data (step S301).

次いで、制御部31は、読み込んだリード処理対象セクタのフォーマットビットとモードページのフォーマットビット(つまり、管理世代情報)とが一致するか否かを判定する(ステップS302)。 Next, the control unit 31 determines whether or not the format bit of the read read processing target sector and the format bit of the mode page (that is, the management generation information) match (step S302).

両者が一致している場合(ステップS302YES)、制御部31は、ステップS301で読み込んだユーザデータを上位(つまり、ホスト)へ出力する(ステップS303)。 When both match (step S302YES), the control unit 31 outputs the user data read in step S301 to a higher level (that is, the host) (step S303).

一方、両者が一致していない場合(ステップS302NO)、制御部31は、モードページのイニシャライズパターンを読み込む(ステップS304)。 On the other hand, when the two do not match (step S302NO), the control unit 31 reads the initialization pattern of the mode page (step S304).

制御部31は、読み込んだイニシャライズパターンを、このイニシャライズパターンがリード処理対象セクタ(LBA=i)に書かれているものとして、上位(つまり、ホスト)へ出力する(ステップS305)。 The control unit 31 outputs the read initialization pattern to the upper level (that is, the host) as if the initialization pattern is written in the read processing target sector (LBA = i) (step S305).

以上のように、世代情報を管理しているため、制御部31は、読み込んだリード処理対象セクタのフォーマットビットとモードページのフォーマットビット(つまり、管理世代情報)とが一致するか否かを判定することができる。これにより、今回の物理フォーマット処理が済んでおらず前回の物理フォーマット処理に対応するフォーマットビットが付されているセクタのユーザデータを、即座に実質的に無効状態にすることができる。 Since the generation information is managed as described above, the control unit 31 determines whether or not the format bit of the read read processing target sector and the format bit of the mode page (that is, the management generation information) match. can do. As a result, the user data of the sector to which the format bit corresponding to the previous physical format processing has not been completed and the format bit corresponding to the previous physical format processing can be immediately and substantially invalidated.

〈バックグランドフォーマット処理〉
図12は、第2実施形態のバックグランドフォーマット処理の一例を示す図である。図12に示す処理フローは、ホストからのライトコマンド及びリードコマンドが制御部31に来ていないアイドル状態となったときにスタートする。
<Background format processing>
FIG. 12 is a diagram showing an example of the background format processing of the second embodiment. The processing flow shown in FIG. 12 starts when a write command and a read command from the host are in an idle state in which the control unit 31 has not arrived.

制御部31は、モードページ(つまり、管理情報)のフォーマット完了LBA(=f)を読み込み、読み込んだフォーマット完了LBAが最大LBA以下であるか否かを判定する(ステップS401)。 The control unit 31 reads the format completion LBA (= f) of the mode page (that is, management information), and determines whether or not the read format completion LBA is equal to or less than the maximum LBA (step S401).

読み込んだフォーマット完了LBAが最大LBAより大きい場合(ステップS401NO)、全セクタに対して今回の物理フォーマット処理が既に完了しているので、図12の処理フローは終了する。このとき、管理情報の状態は、図7の「バックグランドフォーマット完了時」の状態になる。 When the read format completion LBA is larger than the maximum LBA (step S401NO), the current physical format processing has already been completed for all sectors, so the processing flow of FIG. 12 ends. At this time, the state of the management information is the state of "when the background format is completed" in FIG. 7.

読み込んだフォーマット完了LBAが最大LBA以下である場合(ステップS401YES)、制御部31は、フォーマット完了LBAに対応する処理対象セクタのフォーマットビット(つまり、世代情報)を読み込む(ステップS402)。 When the read format complete LBA is equal to or less than the maximum LBA (step S401YES), the control unit 31 reads the format bits (that is, generation information) of the processing target sector corresponding to the format complete LBA (step S402).

次いで、制御部31は、読み込んだ処理対象セクタのフォーマットビットに基づいて、処理対象セクタが未フォーマットLBA(つまり、未フォーマットセクタ)であるか否かを判定する(ステップS403)。具体的には、制御部31は、読み込んだ処理対象セクタのフォーマットビットとモードページのフォーマットビットとを比較して、両者が一致するか否かを判定する。そして、制御部31は、両者が一致する場合、処理対象セクタが既フォーマットLBAであると判定し、両者が一致しない場合、処理対象セクタが未フォーマットLBAであると判定する。 Next, the control unit 31 determines whether or not the processing target sector is an unformatted LBA (that is, an unformatted sector) based on the format bits of the read processing target sector (step S403). Specifically, the control unit 31 compares the format bit of the read processing target sector with the format bit of the mode page, and determines whether or not they match. Then, the control unit 31 determines that the processing target sector is a formatted LBA when both match, and determines that the processing target sector is an unformatted LBA when the two do not match.

処理対象セクタが未フォーマットLBAである場合(ステップS403YES)、制御部31は、モードページのイニシャライズパターンを読み込む(ステップS404)。 When the sector to be processed is an unformatted LBA (step S403YES), the control unit 31 reads the initialization pattern of the mode page (step S404).

次いで、制御部31は、フォーマットサイズにしたイニシャライズパターンを、処理対象セクタに対して書き込む(ステップS405)。さらに、制御部31は、モードページのフォーマットビットによって、処理対象セクタのフォーマットビット領域の値を更新する(ステップS405)。 Next, the control unit 31 writes the initialization pattern in the format size to the processing target sector (step S405). Further, the control unit 31 updates the value of the format bit area of the processing target sector by the format bit of the mode page (step S405).

次いで、制御部31は、モードページのフォーマット完了LBAの値をインクリメントする(ステップS406)。ここで、処理対象セクタが未フォーマットLBAではない場合(ステップS403NO)、処理ステップは、ステップS404及びステップS405を経ることなく、ステップS406へ進む。 Next, the control unit 31 increments the value of the format completion LBA of the mode page (step S406). Here, if the sector to be processed is not an unformatted LBA (step S403NO), the processing step proceeds to step S406 without going through steps S404 and S405.

以上のように第2実施形態によれば、制御装置30において制御部31は、管理情報を記憶するメモリ32を有している。そして、制御部31は、情報記録媒体28の全セクタに対する現在の物理フォーマット処理を開始する場合、管理情報に含まれる管理世代情報の値を、現在の物理フォーマット処理の世代を示す世代情報の値に更新する。 As described above, according to the second embodiment, in the control device 30, the control unit 31 has a memory 32 for storing management information. Then, when the control unit 31 starts the current physical format processing for all sectors of the information recording medium 28, the value of the management generation information included in the management information is the value of the generation information indicating the generation of the current physical format processing. Update to.

この制御装置30の構成により、情報記録媒体28の全セクタのユーザデータを、即座に実質的に無効状態にすることができる。これにより、物理フォーマット処理の処理時間を短縮することができる。 With the configuration of the control device 30, the user data of all sectors of the information recording medium 28 can be immediately and substantially invalidated. As a result, the processing time of the physical format processing can be shortened.

さらに、制御装置30において制御部31は、フォーマット対象セクタに対する物理フォーマット処理を行う場合、現在の物理フォーマット処理の世代を示す世代情報の値をフォーマット対象セクタの非ユーザデータ領域の世代情報領域に書き込む。 Further, when the control unit 31 performs the physical formatting process on the sector to be formatted in the control device 30, the control unit 31 writes the value of the generation information indicating the generation of the current physical formatting process in the generation information area of the non-user data area of the sector to be formatted. ..

この制御装置30の構成により、物理フォーマット処理が完了していないセクタに対するリード処理及びライト処理が可能となる。 The configuration of the control device 30 enables read processing and write processing for sectors for which physical formatting processing has not been completed.

また、制御装置30において制御部31は、情報記録媒体28の全セクタに対する現在の物理フォーマット処理の前の物理フォーマット処理が完了していることを開始条件として、現在の物理フォーマット処理を開始する。 Further, in the control device 30, the control unit 31 starts the current physical format processing on the condition that the physical format processing before the current physical format processing for all the sectors of the information recording medium 28 is completed.

この制御装置30の構成により、情報記録媒体28の全セクタに対する現在の物理フォーマット処理の最中におけるセクタの種別を、現在の物理フォーマット処理の未完了セクタと現在の物理フォーマット処理の完了済みセクタの2種類に限定することができる。これにより、世代情報を1ビットの情報とすることができる。 Depending on the configuration of the control device 30, the sector type during the current physical format processing for all sectors of the information recording medium 28 can be set to the sector in which the current physical format processing has not been completed and the sector in which the current physical formatting processing has been completed. It can be limited to two types. As a result, the generation information can be converted into 1-bit information.

また、制御装置30において制御部31は、バックグランドフォーマット処理をアイドル時に実施する。これにより、ホストからのリード及びライトを妨げることなく、物理フォーマット処理を実行することができる。 Further, in the control device 30, the control unit 31 executes the background format processing at idle. As a result, the physical formatting process can be executed without interfering with the read and write from the host.

上記管理情報には、上記フォーマット完了LBAが含まれる。これにより、バックグランドフォーマット処理の進捗度を管理することができる。なお、制御部31は、バックグランドフォーマット処理が進行中であるときに、フォーマット完了LBAを最大LBAで除算することによって、物理フォーマット処理の完了割合を算出してもよい。そして、制御部31は、算出した完了割合をモニタ(図示せず)に表示させてもよい。 The management information includes the format completion LBA. This makes it possible to manage the progress of the background format processing. The control unit 31 may calculate the completion rate of the physical format processing by dividing the format completion LBA by the maximum LBA while the background format processing is in progress. Then, the control unit 31 may display the calculated completion rate on the monitor (not shown).

<変形例>
以上で説明した制御装置30に対して次の様な変形を施すこともできる。例えば、メモリ32に、各セクタの物理フォーマット処理が完了しているか否かを示す情報を保持する「管理テーブル」を記憶させてもよい。制御部31が、この管理テーブルを管理する。制御部31がこの管理テーブルを用いることにより、リード処理対象セクタが物理フォーマット処理の未完了セクタであることを、情報記録媒体28のリード処理対象セクタの情報を読み込まずに、確認できる。これにより、リード処理対象セクタが物理フォーマット処理の未完了セクタである場合、ステップS301のようなリード処理が不要となるので、物理フォーマット処理の未完了セクタに対するリード処理時の応答速度を速くすることができる。
<Modification example>
The control device 30 described above can be modified as follows. For example, the memory 32 may store a "management table" that holds information indicating whether or not the physical formatting process of each sector is completed. The control unit 31 manages this management table. By using this management table, the control unit 31 can confirm that the read processing target sector is an unfinished sector of the physical format processing without reading the information of the read processing target sector of the information recording medium 28. As a result, when the sector to be read processed is an unfinished sector of the physical format processing, the read processing as in step S301 becomes unnecessary, so that the response speed at the time of the read processing to the unfinished sector of the physical format processing is increased. Can be done.

以上で説明した制御装置30をハードディスクドライブ(HDD)に用いることによって次のような効果が得られる。HDDの大容量化により長時間化する傾向にある物理フォーマット時間を待つことなく、HDDの使用を開始することができる。このため、HDDの評価、製造、検査時の利便性を向上することができる。物理フォーマットをユーザ先で実施することにより、製造時間を短縮できる効果も見込める。また、物理フォーマット時間を大幅に削減することによって、フォーマットが中断してしまうリスクも低減できる。さらに、物理フォーマットの利便性が向上することにより、異なるセクタサイズを要求するホストにおいて、部品としてHDDを共通化することができる。 By using the control device 30 described above for the hard disk drive (HDD), the following effects can be obtained. It is possible to start using the HDD without waiting for the physical format time, which tends to be long due to the increase in the capacity of the HDD. Therefore, it is possible to improve the convenience at the time of evaluation, manufacturing, and inspection of the HDD. By implementing the physical format at the user's site, the effect of shortening the manufacturing time can be expected. In addition, the risk of formatting interruption can be reduced by significantly reducing the physical formatting time. Further, by improving the convenience of the physical format, the HDD can be shared as a component in hosts that require different sector sizes.

<他の実施形態>
図13は、制御装置のハードウェア構成例を示す図である。図13において、制御装置100は、プロセッサ101と、メモリ102とを有している。第1実施形態及び第2実施形態の制御装置10,30は、それぞれ、制御装置100と同じ構成を有していてもよい。制御装置10,30の制御部11,31は、プロセッサ101がメモリ102に記憶されたプログラムを読み込んで実行することにより実現されてもよい。また、制御装置30のメモリ32は、メモリ102によって実現されてもよい。
<Other embodiments>
FIG. 13 is a diagram showing a hardware configuration example of the control device. In FIG. 13, the control device 100 has a processor 101 and a memory 102. The control devices 10 and 30 of the first embodiment and the second embodiment may have the same configuration as the control device 100, respectively. The control units 11 and 31 of the control devices 10 and 30 may be realized by the processor 101 reading and executing the program stored in the memory 102. Further, the memory 32 of the control device 30 may be realized by the memory 102.

なお、本発明は上記の実施形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 The present invention is not limited to the above embodiment, and can be appropriately modified without departing from the spirit.

10,30 制御装置
11,31 制御部
20 ハードディスクドライブ
21 ホストインタフェース
22 ボイスコイルモータドライバ
23 ボイスコイルモータ
24 ヘッド
25 リード/ライトチャンネル
26 スピンドルモータドライバ
27 スピンドルモータ
28 情報記録媒体
32 メモリ
10, 30 Control device 11, 31 Control unit 20 Hard disk drive 21 Host interface 22 Voice coil motor driver 23 Voice coil motor 24 Head 25 Read / write channel 26 Spindle motor driver 27 Spindle motor 28 Information recording medium 32 Memory

Claims (9)

各セクタが非ユーザデータ領域及びユーザデータ領域を有する複数のセクタをそれぞれマッピングする複数のマッピング領域を含む情報記録媒体に対する物理フォーマット処理を制御する制御部であって、フォーマット対象セクタに対応するマッピング領域の長さを変更することなく、前記フォーマット対象セクタのユーザデータ領域及び非ユーザデータ領域のサイズを変更する制御部、を具備する制御装置。 A control unit that controls physical formatting processing for an information recording medium including a plurality of mapping areas in which each sector maps a plurality of sectors having a non-user data area and a user data area, and is a mapping area corresponding to a sector to be formatted. A control device including a control unit that changes the size of a user data area and a non-user data area of the format target sector without changing the length of the. 前記制御部は、前記フォーマット対象セクタに対する物理フォーマット処理を行う場合、現在の物理フォーマット処理の世代を示す世代情報の値を前記フォーマット対象セクタの非ユーザデータ領域の世代情報領域に書き込む、
請求項1記載の制御装置。
When performing physical formatting processing on the formatting target sector, the control unit writes a value of generation information indicating the generation of the current physical formatting processing to the generation information area of the non-user data area of the formatting target sector.
The control device according to claim 1.
管理情報を記憶するメモリをさらに具備し、
前記制御部は、前記複数のセクタに対して前記現在の物理フォーマット処理を開始する場合、前記管理情報に含まれる管理世代情報の値を前記現在の物理フォーマット処理の世代を示す世代情報の値に更新する、
請求項2記載の制御装置。
It also has a memory to store management information.
When the control unit starts the current physical format processing for the plurality of sectors, the value of the management generation information included in the management information is converted into the value of the generation information indicating the generation of the current physical format processing. Update,
The control device according to claim 2.
前記制御部は、前記複数のセクタのすべてに対して前記現在の物理フォーマット処理の前の物理フォーマット処理が完了していることを開始条件として、前記現在の物理フォーマット処理を前記複数のセクタに対して開始する、
請求項3記載の制御装置。
The control unit performs the current physical formatting process on the plurality of sectors on the condition that the physical formatting process before the current physical formatting process is completed for all of the plurality of sectors. To start,
The control device according to claim 3.
前記世代情報は、1ビットで表される情報である、
請求項4記載の制御装置。
The generation information is information represented by one bit.
The control device according to claim 4.
前記制御部は、前記複数のセクタのうちのリード処理対象セクタに対するリードコマンドを受け取った場合、前記管理世代情報の値と前記リード処理対象セクタの前記世代情報領域に書き込まれた世代情報の値とを比較し、両者が一致しない場合、前記フォーマット対象セクタの初期化に用いられる初期化パターンを前記リードコマンドの送信元に向けて出力する、
請求項3から5のいずれか1項に記載の制御装置。
When the control unit receives a read command for a read processing target sector among the plurality of sectors, the control generation information includes the value of the management generation information and the value of the generation information written in the generation information area of the read processing target sector. If they do not match, the initialization pattern used to initialize the format target sector is output to the source of the read command.
The control device according to any one of claims 3 to 5.
前記管理情報は、前記管理世代情報の他に、前記複数のセクタに対する前記現在の物理フォーマット処理の変更サイズに関する情報を含み、
前記制御部は、前記複数のセクタのうちのライト処理対象セクタに対するライトコマンド及びユーザデータを受け取った場合、前記ライト処理対象セクタの前記世代情報領域に、前記管理世代情報の値を書き込むと共に、前記ライト処理対象セクタの前記ユーザデータ領域に、前記ユーザデータを前記変更サイズに従ったサイズによって書き込む、
請求項3から6のいずれか1項に記載の制御装置。
The management information includes, in addition to the management generation information, information regarding the change size of the current physical formatting process for the plurality of sectors.
When the control unit receives a write command and user data for a write processing target sector among the plurality of sectors, the control unit writes the value of the management generation information in the generation information area of the write processing target sector, and at the same time, writes the value of the management generation information. The user data is written in the user data area of the write processing target sector in a size according to the change size.
The control device according to any one of claims 3 to 6.
各セクタが非ユーザデータ領域及びユーザデータ領域を有する複数のセクタをそれぞれマッピングする複数のマッピング領域を含む情報記録媒体に対する物理フォーマット処理を制御する制御処理であって、フォーマット対象セクタに対応するマッピング領域の長さを変更することなく、前記フォーマット対象セクタのユーザデータ領域及び非ユーザデータ領域のサイズを変更する制御処理を、制御装置に実行させる制御プログラム。 It is a control process that controls physical formatting processing for an information recording medium including a plurality of mapping areas in which each sector maps a plurality of sectors having a non-user data area and a user data area, and is a mapping area corresponding to a sector to be formatted. A control program that causes a control device to execute a control process for changing the size of a user data area and a non-user data area of the format target sector without changing the length of the. 各セクタが非ユーザデータ領域及びユーザデータ領域を有する複数のセクタをそれぞれマッピングする複数のマッピング領域を含む情報記録媒体に対する物理フォーマット処理を制御するときに、フォーマット対象セクタに対応するマッピング領域の長さを変更することなく、前記フォーマット対象セクタのユーザデータ領域及び非ユーザデータ領域のサイズを変更する、
制御方法。
The length of the mapping area corresponding to the sector to be formatted when controlling the physical formatting process for an information recording medium containing a plurality of mapping areas in which each sector maps a plurality of sectors having a non-user data area and a user data area. The size of the user data area and the non-user data area of the format target sector is changed without changing.
Control method.
JP2017241781A 2017-12-18 2017-12-18 Control devices, control programs, and control methods Active JP7056867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017241781A JP7056867B2 (en) 2017-12-18 2017-12-18 Control devices, control programs, and control methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017241781A JP7056867B2 (en) 2017-12-18 2017-12-18 Control devices, control programs, and control methods

Publications (2)

Publication Number Publication Date
JP2019109950A JP2019109950A (en) 2019-07-04
JP7056867B2 true JP7056867B2 (en) 2022-04-19

Family

ID=67179985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017241781A Active JP7056867B2 (en) 2017-12-18 2017-12-18 Control devices, control programs, and control methods

Country Status (1)

Country Link
JP (1) JP7056867B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252530A (en) 2005-02-08 2006-09-21 Fujitsu Ltd Detection device for disk write omission and detection method for disk write omission
JP2008071297A (en) 2006-09-15 2008-03-27 Toshiba Corp Disk array device and data management method for disk array device
JP2008117395A (en) 2006-10-31 2008-05-22 Hewlett-Packard Development Co Lp Detection and correction of block-level data corruption in fault-tolerant data storage system
JP2009129201A (en) 2007-11-22 2009-06-11 Hitachi Ltd Storage control device and control method for storage control device
JP2011504632A (en) 2007-11-26 2011-02-10 エミュレックス デザイン アンド マニュファクチュアリング コーポレーション Virtual formatting method based on allocation unit and device using the method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5523903A (en) * 1993-12-23 1996-06-04 International Business Machines Corporation Sector architecture for fixed block disk drive

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252530A (en) 2005-02-08 2006-09-21 Fujitsu Ltd Detection device for disk write omission and detection method for disk write omission
JP2008071297A (en) 2006-09-15 2008-03-27 Toshiba Corp Disk array device and data management method for disk array device
JP2008117395A (en) 2006-10-31 2008-05-22 Hewlett-Packard Development Co Lp Detection and correction of block-level data corruption in fault-tolerant data storage system
JP2009129201A (en) 2007-11-22 2009-06-11 Hitachi Ltd Storage control device and control method for storage control device
JP2011504632A (en) 2007-11-26 2011-02-10 エミュレックス デザイン アンド マニュファクチュアリング コーポレーション Virtual formatting method based on allocation unit and device using the method

Also Published As

Publication number Publication date
JP2019109950A (en) 2019-07-04

Similar Documents

Publication Publication Date Title
US8667248B1 (en) Data storage device using metadata and mapping table to identify valid user data on non-volatile media
JP4886877B2 (en) Recording medium control apparatus and method
JP4469906B2 (en) Magnetic disk device and data refresh method in the same
JP3634809B2 (en) Disk storage device for AV use and method for processing sector error in the device
US8291190B2 (en) Disk drive including a host interface supporting different sizes of data sectors and method for writing data thereto
JP2012174325A (en) Information recorder and information recording method
JP2012014415A (en) Information processing apparatus, raid controller card, and mirroring method
JP5049835B2 (en) Hybrid recording device
JP4922433B2 (en) Magnetic disk apparatus and data block rewriting method
JP4672454B2 (en) Storage device
JP4504450B1 (en) Magnetic disk device and data refresh method in the same
JP2004103127A (en) Rearranging method of sectors of information recording medium and information storage device
JP2019164854A (en) Magnetic disk device and recording method thereof
JP2013157068A (en) Data storage control device, data storage device and data storage method
JPH10301721A (en) Method for processing defective sector of information storage medium, and information storing and reproducing device
JP7056867B2 (en) Control devices, control programs, and control methods
JP3437502B2 (en) Dynamic defect management method for rewritable optical disk
US20070174736A1 (en) Storage medium management apparatus, storage medium management program, and storage medium management method
JP2002100126A (en) Recording and reproducing device, storage device, computer system, data processing method, program transmitting device
JP4869416B2 (en) Magnetic disk device and data refresh method in the same
US10867633B1 (en) Reduced adjacent track erasure from write retry
JP2018185877A (en) Disk device, controller circuit, and control method
US10379972B1 (en) Minimizing reads for reallocated sectors
JP2006338731A (en) Data write method
JP2010027140A (en) Reading device for hard disk driving device, and copying device with reading device for hard disk driving device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

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: 20220308

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220329

R150 Certificate of patent or registration of utility model

Ref document number: 7056867

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150