JPH08329610A - Recording medium formatting method - Google Patents

Recording medium formatting method

Info

Publication number
JPH08329610A
JPH08329610A JP13132995A JP13132995A JPH08329610A JP H08329610 A JPH08329610 A JP H08329610A JP 13132995 A JP13132995 A JP 13132995A JP 13132995 A JP13132995 A JP 13132995A JP H08329610 A JPH08329610 A JP H08329610A
Authority
JP
Japan
Prior art keywords
area
format
recording medium
range
rewriting
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
JP13132995A
Other languages
Japanese (ja)
Inventor
Akira Kawano
晃 川野
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 System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP13132995A priority Critical patent/JPH08329610A/en
Publication of JPH08329610A publication Critical patent/JPH08329610A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE: To prolong the life by uniformly using a recording medium. CONSTITUTION: When the format of the recording medium 12 is rewritten, present format information shown in a format 1 is read out from a control area 14 consisting of the FAT area and the ROOT DIRECTORY of the recording medium 12. Then, this method is constituted so that an alternate area 13, a control area 14 with more frequency in use become the user data area 15 of the format 1 with less frequency in use in a format 2 set next, and a part of the user data area 15 is moved successively so as to become the alternate area 13, the control area 14 of the format 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は記録媒体の論理アドレス
を物理アドレスに割り付けるフォーマット方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a formatting method for allocating a logical address of a recording medium to a physical address.

【0002】[0002]

【従来の技術】書き換え可能な記録媒体としてハードデ
ィスク、フロピーディスク、書き換え型光ディスク、光
磁気ディスクなどが用いられている。これらの寿命は例
えば10万回というオーダで書き換え可能とされてい
る。この寿命の多くは書き換えによる記録媒体の劣化に
より決まっていた。例えば光ディスクの場合、400℃
程度まで加熱し組織を非結晶化して書き込みを行う。こ
のような加熱の繰り返しにより材料の劣化が進み、エラ
ーの発生が多くなると寿命がきたものとする。このよう
なエラーの発生に対して書き換えが可能である回数が少
ない光ディスクのような記録媒体では、エラーの発生し
た領域のデータを書き換える交替領域を増加させ、書き
換えにより劣化した領域の代替え領域を確保し、実質的
に書き換え可能な回数を多くして対応していた。
2. Description of the Related Art Hard disks, floppy disks, rewritable optical disks, magneto-optical disks and the like are used as rewritable recording media. These lifetimes can be rewritten, for example, on the order of 100,000 times. Most of this life is determined by deterioration of the recording medium due to rewriting. For example, in the case of an optical disc, 400 ° C
Writing is performed by heating to a certain degree to amorphize the structure. It is assumed that the life is reached when the deterioration of the material progresses due to the repetition of such heating and the number of errors increases. In a recording medium such as an optical disk that can be rewritten a small number of times in response to the occurrence of such an error, increase the replacement area for rewriting the data in the area where the error has occurred, and secure a replacement area for the area degraded by the rewriting. However, the number of rewritable times has substantially been increased.

【0003】[0003]

【発明が解決しようとする課題】記録媒体に記憶される
データは、一般的に、書き換えが頻繁に行われる管理領
域のデータと、あまり書き換えが発生しないデータ領域
のデータとに区別される。例えばMS−DOS(登録商
標)環境においては書き換え回数の多い管理領域にある
FAT領域およびROOT DIRECTORY領域
と、書き換え回数の少ないデータ領域のUSER DA
TA領域に分けられる。管理領域およびデータ領域はそ
れぞれいつも同じ物理アドレスの領域に設定されている
ので、管理領域が劣化し使用できなくなると、より広い
領域を有するデータ領域は健全であるにもかかわらず、
その記録媒体の寿命がつきたものとして廃却されるとい
う問題点があった。
Data stored in a recording medium is generally classified into data in a management area where rewriting is frequently performed and data in a data area where rewriting does not occur frequently. For example, in the MS-DOS (registered trademark) environment, a FAT area and a ROOT DIRECTORY area, which are in a management area that is rewritten many times, and a USER DA of a data area, which is rewritten many times
It is divided into TA areas. Since the management area and the data area are always set to the area of the same physical address, if the management area deteriorates and becomes unusable, the data area having a wider area is healthy,
There is a problem that the recording medium is discarded as having a long life.

【0004】本発明は、上述の問題点に鑑みてなされた
もので、記録媒体を均一に使用することにより寿命を延
ばすことを目的とする。
The present invention has been made in view of the above problems, and it is an object of the present invention to extend the life by uniformly using a recording medium.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
請求項1の発明では、記録媒体のフォーマットを書き換
える際に書き換え頻度の多い領域を表す論理アドレスの
範囲を書き換え頻度の少なかった領域を表す物理アドレ
スの範囲に割り付ける。
In order to achieve the above object, according to the invention of claim 1, a range of logical addresses representing an area having a high rewriting frequency when rewriting the format of a recording medium represents an area having a low rewriting frequency. Allocate to a physical address range.

【0006】請求項2の発明では、記録媒体のフォーマ
ットを書き換える際に書き換え頻度の多い領域を表す論
理アドレスの範囲に対応する物理アドレスの範囲を前回
の対応した範囲と重ならないように順次ずらした範囲に
割り付ける。
According to the second aspect of the invention, when the format of the recording medium is rewritten, the range of the physical address corresponding to the range of the logical address representing the frequently rewritten area is sequentially shifted so as not to overlap the range corresponding to the previous time. Assign to a range.

【0007】請求項3の発明では、記録媒体のフォーマ
ットを書き換える回数を計数しておき、所定の回数とな
る度に書き換え頻度の多い領域を表す論理アドレスの範
囲に対応する物理アドレスの範囲を前回の対応した範囲
と重ならないように順次ずらした範囲に割り付ける。
According to the third aspect of the present invention, the number of times the format of the recording medium is rewritten is counted, and the physical address range corresponding to the range of the logical address representing the area having a high rewriting frequency is previously set each time the predetermined number of times is reached. Allocate to a range that is sequentially shifted so that it does not overlap the range corresponding to.

【0008】[0008]

【作用】請求項1の発明によれば、フォーマットを書き
換える際に、書き換え頻度の高い領域を表す論理アドレ
スの範囲を書き換え頻度の少なかった領域の物理アドレ
スに対応させて論理アドレスを物理アドレスに割り付け
ることにより、使用頻度の高い記録媒体の領域が発生す
るのを防止することができ、寿命を延ばすことができ
る。
According to the first aspect of the present invention, when the format is rewritten, the logical addresses are assigned to the physical addresses by associating the logical address range representing the area having the high rewriting frequency with the physical address of the area having the low rewriting frequency. As a result, it is possible to prevent an area of the recording medium that is frequently used from occurring, and it is possible to extend the life.

【0009】請求項2の発明によれば、フォーマットを
書き換える際に書き換え頻度の高い領域を表す論理アド
レスの範囲に対応する物理アドレスの範囲を、前回の対
応した範囲と重ならないように順次ずらした範囲に割り
付けるようにするので、記録媒体を均一に使用すること
ができ寿命が延びる。
According to the second aspect of the present invention, when the format is rewritten, the range of the physical address corresponding to the range of the logical address representing the area having a high rewriting frequency is sequentially shifted so as not to overlap the range corresponding to the previous time. Since the recording medium is allocated to the range, the recording medium can be used uniformly and the life is extended.

【0010】請求項3の発明によれば、フォーマットを
所定回数書き換えるごとに、書き換え頻度の高い領域を
表す論理アドレスの領域に対応する物理アドレスの領域
を前回の対応した範囲と重ならないように順次ずらした
範囲に割り付けるので、記録媒体を均一に使用すること
ができるようになり寿命が延びる。
According to the third aspect of the invention, every time the format is rewritten a predetermined number of times, the area of the physical address corresponding to the area of the logical address representing the area having a high rewriting frequency is sequentially arranged so as not to overlap with the corresponding range of the previous time. Since the recording medium is allocated in the shifted range, the recording medium can be used uniformly and the life is extended.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は実施例の記録装置を含むパーソナル
コンピュータの構成図である。パーソナルコンピュータ
は本体1とこれに接続する各機器よりなり、本体1はプ
ログラムに従い全体を制御するCPU2と、CPU2の
作業エリアとなるRAM3、および記録媒体の書き込み
読みだしをする記録装置4からなる。本体1には表示部
5、キーボード6、およびプリンタ7が接続され、さら
にハードディスクなどの外部装置8も接続されている。
FIG. 1 is a block diagram of a personal computer including the recording apparatus of the embodiment. The personal computer includes a main body 1 and each device connected to the main body 1, and the main body 1 includes a CPU 2 that controls the whole according to a program, a RAM 3 that is a work area of the CPU 2, and a recording device 4 that reads and writes a recording medium. A display unit 5, a keyboard 6, and a printer 7 are connected to the main body 1, and an external device 8 such as a hard disk is also connected.

【0013】図2は記録装置4の構成を示す。インタフ
ェース部9はCPU2との取り合いを行い、フォーマッ
トコントローラ部10が記録媒体12のフォーマットを
設定すると共に記録媒体12への書き込み、読み出しを
制御する。駆動部11はフォーマットコントローラ部1
0の制御に基づき記録媒体12を駆動する。
FIG. 2 shows the structure of the recording device 4. The interface unit 9 engages with the CPU 2, and the format controller unit 10 sets the format of the recording medium 12 and controls writing and reading on the recording medium 12. The drive unit 11 is the format controller unit 1
The recording medium 12 is driven based on the control of 0.

【0014】図3は記録媒体のフォーマットを設定する
動作フロー図である。まず記録媒体の管理領域に記録さ
れているフォーマット情報を読み出す(S1)。このフ
ォーマット情報としては、現在迄に何回フォーマットを
設定したかを表すフォーマット回数と、フォーマットの
パラメータ、つまり論理アドレスの最初のアドレスが物
理アドレスの何番からスタートしているかを表す論理ア
ドレスのスタートアドレスおよび交替領域の最初の論理
アドレスが物理アドレスの何番からスタートしているか
を表す交替領域スタートアドレスなどである。このフォ
ーマット情報よりフォーマットのパラメータを参照し
(S2)、これから設定する論理アドレスと物理アドレ
スの対応を決定する(S3)。論理アドレスの表す領域
は書き換え頻度の多い管理領域と、これに続いて書き換
え頻度の少ないユーザデータ領域の順に構成されてお
り、論理アドレスのスタートアドレスを物理アドレスの
所定のアドレスに対応させることにより、以降の対応は
この所定のアドレスをオフセット値として論理アドレス
に加算したアドレスが物理アドレスとなる。新たに定め
る管理領域の物理アドレスが、現在の管理領域の物理ア
ドレス領域の次の領域となるようにオフセット値を定
め、論理アドレスと物理アドレスの対応を設定する。な
お、記録媒体が未使用の場合は、論理アドレスと物理ア
ドレスのオフセット値は任意に設定する。このようにし
て論理アドレスより物理アドレスを決定すると、これに
基づいて新たなフォーマットを設定する(S4)。上述
のフォーマット設定はフォーマットを設定する度に論理
アドレスと物理アドレスの対応を変えているが、連続し
てn回は同一フォーマットとし、n+1回目ごとにオフ
セット値を変えて論理アドレスと物理アドレスの対応を
変更し、フォーマットを変更するようにしてもよい。
FIG. 3 is an operation flow chart for setting the format of the recording medium. First, the format information recorded in the management area of the recording medium is read (S1). This format information includes the number of times the format has been set up to the present, and the format parameter, that is, the start of the logical address that indicates from which physical address the first logical address starts. The address and the replacement area start address, which indicate from which of the physical addresses the first logical address of the replacement area starts. The format parameter is referred to from this format information (S2), and the correspondence between the logical address and the physical address to be set is determined (S3). The area represented by the logical address is composed of a management area with a high rewriting frequency and a user data area with a low rewriting frequency in this order. By associating the start address of the logical address with a predetermined physical address, In the subsequent correspondence, the address obtained by adding the predetermined address to the logical address as an offset value becomes the physical address. The offset value is determined so that the physical address of the newly defined management area is the area next to the physical address area of the current management area, and the correspondence between the logical address and the physical address is set. When the recording medium is unused, the offset value between the logical address and the physical address is set arbitrarily. When the physical address is determined from the logical address in this way, a new format is set based on this (S4). In the above-mentioned format setting, the correspondence between the logical address and the physical address is changed every time the format is set, but the same format is set n times in succession, and the offset value is changed every n + 1 times to correspond the logical address and the physical address. May be changed to change the format.

【0015】図4はフォーマット設定例を示す図であ
る。記録領域は交替領域、管理領域、ユーザデータ領域
からなり、管理領域はFAT領域とROOT DIRE
CTORY領域からなる。左側のアドレスが物理アドレ
スを示し、フォーマット1〜3が順に設定されたフォー
マットの例を示す。カッコで示す数値は論理アドレスを
示す。交替領域は各フォーマット共同じ領域の物理アド
レス領域とし、管理領域とこれに続くユーザデータ領域
を順次移動する。各フォーマット共、交替領域の物理ア
ドレスは0〜99,999と900,000〜1,00
0,000の領域とし、100,000〜799,99
9の物理アドレスの領域内で管理領域とユーザデータ領
域を順次移動してゆく。例えばフォーマット1で管理領
域の物理アドレスは100,000〜299,999で
あり、フォーマット2では300,000〜499,9
99の範囲、フォーマット3では500,000〜69
9,999の範囲とし、ユーザデータ領域は管理領域の
次に位置して順次移動してゆく。これにより記録媒体の
各領域における使用頻度が均一となるので寿命が長くな
る。
FIG. 4 is a diagram showing an example of format setting. The recording area is composed of a replacement area, a management area, and a user data area. The management area is a FAT area and a ROOT DIR.
It consists of the CTORY area. An address on the left side shows a physical address, and an example of a format in which formats 1 to 3 are set in order is shown. The numbers in parentheses indicate logical addresses. The replacement area is the same physical address area for each format, and the management area and the subsequent user data area are sequentially moved. In each format, the physical addresses of the replacement area are 0 to 99,999 and 900,000 to 1.00.
The area is set to 10,000, and 100,000 to 799,99
The management area and the user data area are sequentially moved within the physical address area 9. For example, in format 1, the physical address of the management area is 100,000 to 299,999, and in format 2, 300,000 to 499,9.
99 range, 500,000-69 for format 3
The range is 9,999, and the user data area is located next to the management area and sequentially moved. As a result, the frequency of use is uniform in each area of the recording medium, and the service life is extended.

【0016】図5は他のフォーマット設定例を示す。こ
れは交替領域は管理領域によって使用されることが多い
ので、管理領域と一体として移動させるようにしたもの
である。フォーマット1では交替領域は0〜99,99
9と900,000〜1,000,000、管理領域は
100,000〜299,999の領域、ユーザデータ
領域は3000,000〜799,999とし、フォー
マット2では交替領域の先頭アドレスが300,000
より始まるようにし、フォーマット3では700,00
0から始まるようにし、管理領域とユーザデータ領域は
これに続いて配置する。これにより記録媒体の各領域に
おける使用頻度が均一となって寿命が長くなる。
FIG. 5 shows another example of format setting. This is because the replacement area is often used by the management area, so that the replacement area is moved integrally with the management area. In format 1, the replacement area is 0 to 99,99
9 and 900,000 to 1,000,000, the management area is 100,000 to 299,999, the user data area is 3,000,000 to 799,999, and in format 2, the start address of the replacement area is 300,000.
Format, 700,00 in format 3
It starts from 0, and the management area and the user data area are arranged following this. As a result, the frequency of use is uniform in each area of the recording medium, and the life is extended.

【0017】[0017]

【発明の効果】以上の説明より明らかなように、本発明
では、書き換え頻度の多い物理アドレスの領域をフォー
マットを設定する際、順次変えてゆくようにしたので記
録媒体を均一に使用できるようになり、寿命を延ばすこ
とができる。
As is apparent from the above description, according to the present invention, when the format is set in the area of the physical address that is frequently rewritten, the format is changed sequentially so that the recording medium can be used uniformly. And can extend the life.

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

【図1】本発明を実施する装置の構成図FIG. 1 is a block diagram of an apparatus for carrying out the present invention.

【図2】記録装置の構成図FIG. 2 is a block diagram of a recording device

【図3】フォーマットを設定する動作フロー図FIG. 3 is an operation flow chart for setting a format.

【図4】フォーマットの設定例を示す図FIG. 4 is a diagram showing a format setting example.

【図5】フォーマットの別の設定例を示す図FIG. 5 is a diagram showing another format setting example.

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

1 パーソナルコンピュータ本体 2 CPU 3 RAM 4 記録装置 9 インタフェース部 10 フォーマットコントローラ部 11 駆動部 12 記録媒体 13 交替領域 14 管理領域 15 ユーザデータ領域 1 Personal Computer Main Body 2 CPU 3 RAM 4 Recording Device 9 Interface Section 10 Format Controller Section 11 Drive Section 12 Recording Medium 13 Replacement Area 14 Management Area 15 User Data Area

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体のフォーマットを書き換える際
に書き換え頻度の多い領域を表す論理アドレスの範囲を
書き換え頻度の少なかった領域を表す物理アドレスの範
囲に割り付けることを特徴とする記録媒体のフォーマッ
ト方法。
1. A method of formatting a recording medium, wherein, when rewriting the format of the recording medium, a range of logical addresses representing an area having a high rewriting frequency is assigned to a range of physical addresses representing an area having a low rewriting frequency.
【請求項2】 記録媒体のフォーマットを書き換える際
に書き換え頻度の多い領域を表す論理アドレスの範囲に
対応する物理アドレスの範囲を前回の対応した範囲と重
ならないように順次ずらした範囲に割り付けることを特
徴とする記録媒体のフォーマット方法。
2. When rewriting the format of a recording medium, a range of physical addresses corresponding to a range of logical addresses representing an area that is frequently rewritten is assigned to a range that is sequentially shifted so as not to overlap with the corresponding range of the previous time. A method for formatting a characteristic recording medium.
【請求項3】 記録媒体のフォーマットを書き換える回
数を計数しておき、所定の回数となる度に書き換え頻度
の多い領域を表す論理アドレスの範囲に対応する物理ア
ドレスの範囲を前回の対応した範囲と重ならないように
順次ずらした範囲に割り付けることを特徴とする記録媒
体のフォーマット方法。
3. A number of times of rewriting the format of the recording medium is counted, and a physical address range corresponding to a logical address range representing an area having a high frequency of rewriting at a predetermined number of times is set as a range corresponding to the previous time. A method of formatting a recording medium, characterized by allocating to a range that is sequentially shifted so as not to overlap.
JP13132995A 1995-05-30 1995-05-30 Recording medium formatting method Pending JPH08329610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13132995A JPH08329610A (en) 1995-05-30 1995-05-30 Recording medium formatting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13132995A JPH08329610A (en) 1995-05-30 1995-05-30 Recording medium formatting method

Publications (1)

Publication Number Publication Date
JPH08329610A true JPH08329610A (en) 1996-12-13

Family

ID=15055409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13132995A Pending JPH08329610A (en) 1995-05-30 1995-05-30 Recording medium formatting method

Country Status (1)

Country Link
JP (1) JPH08329610A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008217931A (en) * 2007-03-06 2008-09-18 Yokogawa Electric Corp Disk device and measuring instrument using the same
USRE42826E1 (en) 1997-12-18 2011-10-11 Mitsubishi Denki Kabushiki Kaisha Rewritable optical disk with spare area and optical disk processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE42826E1 (en) 1997-12-18 2011-10-11 Mitsubishi Denki Kabushiki Kaisha Rewritable optical disk with spare area and optical disk processing apparatus
JP2008217931A (en) * 2007-03-06 2008-09-18 Yokogawa Electric Corp Disk device and measuring instrument using the same

Similar Documents

Publication Publication Date Title
JP4863749B2 (en) Storage device using flash memory, erase number leveling method thereof, and erase number level program
EP1705572A1 (en) Information recording medium
JPH11185390A (en) Optical disk and optical disk processor
JPH1196684A (en) Recorder, recording medium and recording control method
JPH11511879A (en) Memory system
US6279118B1 (en) Recording medium storing additional information for defect management and method for managing defects
JP2004311020A (en) Method of writing or reproducing data to or from optical recording medium, and optical recording medium therefor
US5422871A (en) Method and apparatus for producing an optical disk having a read-only area and a rewritable area
JP3552223B2 (en) Optical recording method
JP2002050131A (en) Recording control method for draw type recording medium
JPH08329610A (en) Recording medium formatting method
JPH04321128A (en) Method for containing defective disk page in electronic printing system
CA2493851A1 (en) Optical recording medium, recording/reproducing apparatus, and recording/reproducing method
US6546502B1 (en) Information recording method and apparatus of optical disc
JPH1196685A (en) Computer system
JP2001243107A (en) Av data recorder and its method, disk recored by av data recorder and the method
EP1918930A2 (en) Method and apparatus for recording and reproducing information onto and from recording medium and managing defective area in recording medium
JPH06332795A (en) Electrically erasable nonvolatile memory controlling method and system therefor
WO2004109691A1 (en) Information recording method, information recording system, drive control unit, and semiconductor integrated circuit
JPH07254229A (en) Disk device
JPS60185258A (en) Information recording system of disc device
KR20040034310A (en) Method and apparatus for managing defect using updatable DMA, and disc thereof
JPS5898806A (en) Controlling system for rotary storage device
JP2004326538A (en) Information recording/reproducing method
JP2002216432A (en) Information recording method of optical disk