JP2004005778A - Information processor, data recording method, program of data recording method, and recording medium recorded with program of data recording method - Google Patents
Information processor, data recording method, program of data recording method, and recording medium recorded with program of data recording method Download PDFInfo
- Publication number
- JP2004005778A JP2004005778A JP2002156652A JP2002156652A JP2004005778A JP 2004005778 A JP2004005778 A JP 2004005778A JP 2002156652 A JP2002156652 A JP 2002156652A JP 2002156652 A JP2002156652 A JP 2002156652A JP 2004005778 A JP2004005778 A JP 2004005778A
- Authority
- JP
- Japan
- Prior art keywords
- data
- recording
- recording area
- main
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000010365 information processing Effects 0.000 claims description 25
- 238000013467 fragmentation Methods 0.000 abstract description 30
- 238000006062 fragmentation reaction Methods 0.000 abstract description 30
- 230000007423 decrease Effects 0.000 abstract description 7
- 238000006243 chemical reaction Methods 0.000 description 24
- 230000002093 peripheral effect Effects 0.000 description 13
- 238000012217 deletion Methods 0.000 description 9
- 230000037430 deletion Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 230000002950 deficient Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 102100022441 Sperm surface protein Sp17 Human genes 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
Images
Landscapes
- Management Or Editing Of Information On Record Carriers (AREA)
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、情報処理装置、データの記録方法、データの記録方法のプログラム及びデータの記録方法のプログラムを記録した記録媒体に関し、例えばビデオデータを記録するハードディスク装置等に適用することができる。本発明は、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とに、記録に供するデータを振り分けて記録することにより、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができるようにする。
【0002】
【従来の技術】
従来、パーソナルコンピュータのペリフェラルとして使用されるハードディスクドライブにおいては、ランダムアクセス可能であり、近年、小型化、高記録密度化されている。これによりハードディスクドライブをオーディオデータ、ビデオデータ(以下、AVデータと呼ぶ)の記録に適用してホームサーバー、車載用機器等に利用することが種々に提案されるようになされている。
【0003】
このようなハードディスクドライブにおいては、ハードディスクに記録された管理用のデータであるファイルアロケーションテーブル(FAT)により、複数セクタによるクラスタを単位にしてハードディスクに記録されたデータを管理できるようになされており、この管理をホスト装置であるパーソナルコンピュータ等により実行するようになされている。以下、このようなファイルアロケーションテーブルによるファイル管理システムをFATファイルシステムと呼ぶ。
【0004】
すなわち図7は、ハードディスクドライブを示すブロック図である。このハードディスクドライブ1は、ホスト装置2に接続されて、このホスト装置2より出力される各種のデータをハードディスク3に記録する。ここでホスト装置2は、例えばコンピュータである。
【0005】
ここでハードディスク3は、図8に示すように、MS−DOS互換ファイルシステムのフォーマットが適用される。すなわちハードディスク3は、情報記録面を内周側領域と外周側領域とに分割し、外周側領域がシステムエントリエリアに割り当てられる。また内周側領域がデータエリアに割り当てられる。このうちデータエリアは、クラスタに細分化され、所定フレーム数のデータ量を単位にして、各クラスタにユーザーデータが記録される。
【0006】
さらにハードディスク3は、情報記録面が同心円状に複数のゾーンに区切られ、さらに各ゾーンのトラックがそれぞれ円周方向に所定長さで区切られて複数のセクタに分割される。このようにしてセクタ化されてなるハードディスク3は、情報記録面の面番号、情報記録面の外周側より連続して割り当てられるトラック番号、各トラックにおけるセクタを特定するセクタ番号により、物理アドレスが設定され、さらにこの物理アドレスに対応して情報記録面の外周側より順次設定されてなる論理アドレスによりユーザーデータがファイル管理されるようになされている。
【0007】
ここで論理アドレスは、複数の論理セクタの集合によるクラスタを単位にしたクラスタ番号により表される。すなわち論理セクタは、情報記録面における先頭の領域(この場合は最外周である)を0セクタとして設定されるデータの記録単位に対応する領域であり、例えば1の物理セクタが1の論理セクタに対応して、論理セクタ番号=1トラック当たりのセクタ数×(面番号+面の数×トラック番号)+セクタ番号−1の関係式により論理セクタ番号を表すことができるようになされている。なおここで面番号、トラック番号、セクタ番号は、物理アドレスによるものである。
【0008】
ここで論理セクタは、ユーザーデータに換算して1つの論理セクタに512バイトのデータを記録できるように構成され、複数個の論理セクタにより1つのクラスタが構成されるようになされている。なお、1つのクラスタは、一般に2のべき乗個のセクタにより構成され、ユーザーデータを記録するデータエリアにおいて、ファイルエリアの先頭を2とする連番であるクラスタ番号により特定されるようになされている。
【0009】
データエリアは、このようにして設定される各クラスタにクラスタ番号が割り当てられ、このクラスタ番号を基準にしてクラスタ単位でアクセスできるようになされている。なおここでは、クラスタ番号を4桁のヘキサ形式により示す。これにより1つのファイルの最少単位は、1クラスタとなる。
【0010】
これに対してシステムエントリエリアは、さらにブートエリア、FAT(FailAllocation Table)エリア、ディレクトリエリアに分割され、ブートエリアには、ディスクの構造を定義するデータが記録される。これに対してFATエリア及びディレクトリエリアには、データエリアに記録したユーザーデータのアクセスに必要なアドレス情報等による管理用データが記録される。
【0011】
すなわちディレクトリエリアには、データ領域に記録されたファイルを特定するファイル管理用データが記録される。これに対してFATエリアには、ファイル管理用データと関連付けられて、データ領域の管理単位であるクラスタ毎に、続くデータを記録した管理単位のアドレスを記録した管理用テーブルが記録される。具体的に、FATエリアには、各ファイルの先頭クラスタに連続する各クラスタのクラスタ番号等が記録される。これによりハードディスク3は、所望するファイル名の先頭クラスタ番号をディレクトリエリアから検出した後、この先頭クラスタ番号に続くクラスタ番号を順次FATエリアから検出することにより、1つのファイルを構成する連続するクラスタのアドレスを検出できるようになされている。
【0012】
かくするにつきこの図8においては、データエリアのクラスタ番号1234h〜1240hまでのクラスタにファイル1が記録されている場合に、ファイル1の第1クラスタのクラスタ番号1234hを示すコードがディレクトリエリアに記録され、さらにこのクラスタ番号1234hから続くクラスタ番号がFATエリアの対応する領域に順次記録されるようになされている。なおこの図8においてEOF(End Of File)は、1つのファイルの最終クラスタを示す識別情報である。
【0013】
より詳細には、ディレクトリエリアは、データエリアに記録した各ファイル毎に、図9に示す構成により、データ領域に記録された各ファイルをそれぞれ特定するファイル管理用データが記録される。すなわちファイル管理用データは、先頭8バイトにファイル名が割り当てられ、続く3バイトに各ファイルの拡張子が割り当てられる。さらに続く1バイトにファイルの属性を示すデータが割り当てられ、続く10バイトがリザーブ用のデータに割り当てられる。また続く2バイトが記録開始時刻のデータに、続く2バイトが記録日付のデータに割り当てられ、続く2バイトに先頭クラスタ番号であるクラスタ番号が割り当てられるようになされている。なお最後の4バイトには、ファイル長のデータが割り当てられる。
【0014】
これに対してFATエリアは(図8)、データ領域の管理単位である各クラスタの関連を示す識別データが記録される。すなわちFATエリアは、データエリアのクラスタ番号に対応してクラスタアドレスが割り振られ、各クラスタアドレスに続くクラスタのクラスタ番号が記録されるようになされている。また図10に示すように、これらクラスタ番号に割り当てられていないコードのうち、所定のコードがそれぞれ空き領域、欠陥クラスタ、EOFを示す識別情報に割り当てられるようになされている。
【0015】
これによりハードディスク3は、FATエリアをアクセスしてデータエリアの空き領域を検出できるようになされている。また欠陥セクタを基準にして代替処理を実行できるようになされ、さらには記録時、ライトアンドベリファイによるリトライの処理により欠陥セクタを登録できるようになされている。これらによりハードディスク3は、所定ブロック単位で情報記録面を管理できるようになされている。
【0016】
サーボ回路4は、ハードディスク制御回路5の制御によりモータ(M)6を駆動し、これによりハードディスク3を所定の回転速度により回転駆動する。またサーボ回路4は、同様にしてモータ(M)8を駆動することにより磁気ヘッドをシークさせ、さらにトラッキング制御する。なおこのようなハードディスク3の駆動においては、アクセス速度を優先してCAV(Constant Angular Verocity)方式が一般的ではあるが、最近は、いわゆるゾーンビットレコーディングにより、外周側程、1周当たりのセクタ数が多くなるように設定すると共に、記録周波数を可変し、これにより効率良くデータを記録して記録容量を増大させる方法も採用されるようになされている。なおこのゾーンビットレコーディングにおいては、これにより内周側と外周側とでデータ転送速度が大きく異なることになる。
【0017】
リードライトデータチャンネル部9は、ハードディスク制御回路5の制御により、記録時、ハードディスク制御回路5の出力データを記録再生系の特性に適した方式により符号化処理してビット系列のデータを生成し、このデータにより磁気ヘッドを駆動する。また読み出し時、リードライトデータチャンネル部9は、磁気ヘッドより得られる再生信号を信号処理して再生データを生成し、この再生データをハードディスク制御回路5に出力する。
【0018】
ハードディスク制御回路5は、インターフェース制御回路7の指示によりハードディスク3上のデータを管理する制御回路であり、バッファメモリ10を介して入力されるユーザーデータに応じてサーボ回路4の動作を制御すると共に、このユーザーデータをリードライトデータチャンネル部9に出力することにより、インターフェース制御回路7を介して指示されるクラスタに順次入力されるデータを記録する。また読み出し時、同様にしてサーボ回路4の動作を制御してリードライトデータチャンネル部9の出力データをバッファメモリ10に出力し、これによりインターフェース制御回路7より指示されたクラスタを再生する。
【0019】
インターフェース制御回路(IF制御)7は、例えばSCSI(Small Computer SystemInterface)コントローラ、IDE(Intelligent Drive Electronics)コントローラ等により形成され、ホスト装置2との間で送受するデータ、制御コマンド等の入出力回路を構成する。すなわちインターフェース制御回路7は、ホスト装置2より入力されるコマンドcommand、このコマンドcommandに設定されたパラメータを解析し、ハードディスク制御回路5等の動作を制御する。また書き込み時にあっては、バッファメモリ10を介して、ホスト装置2から入力されるデータをハードディスク制御回路5に出力し、また読み出し時にあっては、バッファメモリ10を介して、ハードディスク制御回路5より出力されるデータをホスト装置2に出力する。
【0020】
これに対応してホスト装置2においては、システムメモリ11にワークエリアを確保した中央処理ユニット(CPU)12の処理により、ユーザーによる指示に応じてハードディスクドライブ1に種々のコマンド等を送出する。
【0021】
この処理において中央処理ユニット12は、電源起動時、所定の処理手順の実行により、ハードディスク3のシステムエントリエリアに記録されてなる管理用データを再生するようにハードディスクドライブ1にコマンドを発行し、その結果ハードディスクドライブ1から出力されるシステムエントリエリアのデータ(FATエリア、ディレクトリエリアのデータ)をシステムメモリ11に記録する。これにより中央処理ユニット12は、ハードディスク3に記録された管理用データを取得し、この管理用データによりパラメータを設定してハードディスクドライブ1に各種コマンドを出力する。
【0022】
すなわちユーザーによりデータの記録が指示されると、中央処理ユニット12は、システムメモリ11に記録されたFATエリアのデータを順次辿って空き領域を検出し、この空き領域によるクラスタに記録するようにパラメータを設定して書き込みコマンドを発行する。ハードディスクドライブ1は、この書き込みのコマンドに応動して、順次入力されるデータをハードディスク3に記録する。中央処理ユニット12及びハードディスクドライブ1は、所定のデータ長を単位にして、管理用データの記録を順次辿って、このようなコマンドの発行、データの記録を繰り返し、これにより所望するファイルを記録するようになされている。なお、これにより時系列データは、ハードディスク3の外周側トラックから内周側トラックへ順次クラスタ単位で記録されることになる。
【0023】
またこのようにしてファイルの記録を完了すると、このファイルの記録に対応するようにシステムメモリ11の記録を更新し、また所定のタイミングで、システムメモリ11の記録に対応するように、ハードディスクドライブ1にシステムエントリエリアの更新を指示し、これによりこのようにして記録したファイルを改めて再生できるようになされている。
【0024】
これに対してユーザーによりハードディスク3に記録されたファイルの再生が指示されると、中央処理ユニット12は、再生を指示されたファイル名によりシステムメモリ11に記録されたディレクトリエリアのデータを検索し、対応するファイル管理用データを検出し、これによりこのファイルの先頭クラスタアドレスを検出する。さらにこの先頭クラスタアドレスにより、システムメモリ11に記録されたFATエリアのデータを順次辿り、これによりこのようにして検出した先頭クラスタアドレスからこのファイルが記録されてなるクラスタアドレスを順次検出する。中央処理ユニット12は、このようにしてシステムメモリ11に記録された連続するクラスタアドレスをEOFまで検出する。
【0025】
中央処理ユニット12は、このようなクラスタアドレスの検出と平行して、又はこのようにして連続するクラスタアドレスを検出すると、各クラスタアドレス、データ長をパラメータに設定してハードディスクドライブ1に読み出しコマンドを発行し、ハードディスクドライブ1においては、この読み出しのコマンドに応動して、ハードディスク3に記録されてたデータを再生してホスト装置2に出力する。中央処理ユニット12及びハードディスクドライブ1は、この読み出しコマンドの発行、再生データの出力を繰り返し、これにより所望するファイルを再生するようになされている。
【0026】
このFATファイルシステムにおいては、コンピュータの各種データ、各種アプリケーションプログラムだけでなく、ビデオデータ及びオーディオデータ(以下AVデータと呼ぶ)についても適用することができ、これによりこのようなAVデータによるファイルについても、ハードディスク3で記録再生することができるようになされている。
【0027】
【発明が解決しようとする課題】
ところでこのようなハードディスクドライブにおいては、ファイルの記録、削除を繰り返した場合、1つのファイルが断片化されてハードディスク3に記録されることによるいわゆるフラグメンテーションにより、高速なアクセスが困難になり、また消費電力が増大する問題がある。
【0028】
すなわちこのように1つのファイルが断片化して記録されると、断片化された分、1つのファイルの再生に、多くのシークを要することになる。
【0029】
ここでシークにおいては、磁気ヘッドがハードディスクの半径方向に目的トラックまで移動する時間(トラック方向の移動時間である)と、ハードディスク3の円周方向に磁気ヘッドが目的位置に到達するまでの時間(回転待ち時間である)との合計の時間を要し、通常ミリ秒単位で表わされる。
【0030】
これにより1つのファイルが断片化して記録されると、断片化された分、シークに多大の時間を要することになり、その分、所望するファイルの再生に時間を要することになる。またこのようにシークの回数が増大すると、磁気ヘッドをハードディスク3の半径方向に頻繁に可動することが必要になり、その分、消費電力も増大する。
【0031】
なおコンピュータの記憶装置として使用する場合、ハードディスク3においては、種々のコンポーネントファイル、ショートカット、フォルダ、テキストから動画ファイルまで記録することになり、これにより数百バイト〜数百Mバイトの容量によるファイルを多数記録することになる。しかしながら1クラスタ単位以下の小容量のファイルを多数記録することにより、フラグメンテーションが著しい。
【0032】
これに対してAVデータの記録においては、比較的大容量のファイルを記録することにより、このようなフラグメンテーションの程度は少ないと考えられるものの、AVデータによるファイルにおいては、ファイルの管理情報、サムネイル等の小容量のファイルの記録も考えられることにより、コンピュータのデータを記録する場合と同様に、フラグメンテーションは避け得ない。
【0033】
本発明は以上の点を考慮してなされたもので、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる情報処理装置、情報処理装置の制御方法、情報処理装置の制御プログラム及び情報処理装置の制御プログラムを記録した記録媒体を提案しようとするものである。
【0034】
【課題を解決するための手段】
かかる課題を解決するため請求項1の発明においては、情報処理装置に適用して、ディスク状記録媒体による主の記録領域に入力データを記録する主の記録手段と、不揮発性メモリによる副の記録領域に入力データを記録する副の記録手段と、記録に供するデータを主及び副の記録系に振り分けて出力する制御手段とを備えるようにする。
【0035】
また請求項8の発明においては、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とを有する記録再生装置に書き込みのコマンドを出力して所望のデータを記録する情報処理装置に適用して、記録に供するデータに応じて、主又は副の記録領域を指定するアドレスを設定して書き込みのコマンドを出力する。
【0036】
また請求項14の発明においては、データの記録方法に適用して、記録に供するデータを、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とに振り分ける振り分けのステップと、主の記録領域に振り分けたデータをディスク状記録媒体に記録する主の記録ステップと、副の記録領域に振り分けたデータを不揮発性メモリに記録する副の記録ステップと有するようにする。
【0037】
また請求項21の発明においては、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とを有する記録再生装置を制御して所望のデータを記録するデータの記録方法に適用して、記録に供するデータに応じて、主又は副の記録領域を選択する選択のステップと、選択のステップによる選択結果に応じて、主又は副の記録領域を指定するアドレスにより書き込みのコマンドを出力するコマンド出力ステップと、書き込みコマンドに対応するデータを出力するデータ出力ステップとを有するようにする。
【0038】
また請求項27の発明においては、データの記録方法のプログラムに適用して、記録に供するデータを、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とに振り分ける振り分けのステップと、主の記録領域に振り分けたデータをディスク状記録媒体に記録する主の記録ステップと、副の記録領域に振り分けたデータを不揮発性メモリに記録する副の記録ステップとを有するようにする。
【0039】
また請求項28の発明においては、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とを有する記録再生装置を制御して所望のデータを記録するデータの記録方法のプログラムに適用して、記録に供するデータに応じて、主又は副の記録領域を選択する選択のステップと、選択のステップによる選択結果に応じて、主又は副の記録領域を指定するアドレスにより書き込みのコマンドを出力するコマンド出力ステップと、書き込みコマンドに対応するデータを出力するデータ出力ステップとを有するようにする。
【0040】
また請求項29の発明においては、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とを有する記録再生装置を制御して所望のデータを記録するデータの記録方法のプログラムを記録した記録媒体に適用して、データの記録方法のプログラムは、記録に供するデータに応じて、主又は副の記録領域を選択する選択のステップと、選択のステップによる選択結果に応じて、主又は副の記録領域を指定するアドレスにより書き込みのコマンドを出力するコマンド出力ステップと、書き込みコマンドに対応するデータを出力するデータ出力ステップとを有するようにする。
【0041】
請求項1の構成によれば、ディスク状記録媒体による主の記録領域に入力データを記録する主の記録手段と、不揮発性メモリによる副の記録領域に入力データを記録する副の記録手段と、記録に供するデータを主及び副の記録系に振り分けて出力する制御手段とを備えることにより、例えば各種の情報機器に接続可能なハードディスクドライブ、光ディスク装置等の情報処理装置に適用して、ディスク状記録媒体への記録、削除の繰り返しによりフラグメンテーションが発生し易い小容量のファイルについては、記録、削除を繰り返してフラグメンテーションが発生しても、アクセス速度の低下、電力消費の増大を招来しない不揮発性メモリによる副の記録領域に記録することができ、これにより全体として見たとき、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【0042】
また請求項8の構成によれば、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とを有する記録再生装置に書き込みのコマンドを出力して所望のデータを記録する情報処理装置に適用して、記録に供するデータに応じて、主又は副の記録領域を指定するアドレスを設定して書き込みのコマンドを出力することにより、ディスク状記録媒体への記録、削除の繰り返しによりフラグメンテーションが発生し易い小容量のファイルについては、記録、削除を繰り返してフラグメンテーションが発生しても、アクセス速度の低下、電力消費の増大を招来しない不揮発性メモリによる副の記録領域に記録することができ、これにより全体として見たとき、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【0043】
これにより請求項14、請求項21の構成によれば、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができるデータの記録方法を提供することができる。また請求項27、請求項28の構成によれば、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができるデータの記録方法を提供することができる。また請求項29の構成によれば、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができるデータの記録方法のプログラムを記録した記録媒体を提供することができる。
【0044】
【発明の実施の形態】
以下、適宜図面を参照しながら本発明の実施の形態を詳述する。
【0045】
(1)第1の実施の形態
(1−1)第1の実施の形態の構成
図2は、本発明の第1の実施の形態に係る情報処理装置であるハードディスクドライブを示すブロック図である。このハードディスクドライブ21は、同様の情報処理装置であるコンピュータ、PDA(Personal Digital Assisiants)、撮像装置、電子スチルカメラ等によるホスト装置22に着脱可能に保持され、このホスト装置22の制御により各種のデータを記録し、また記録したデータを再生して出力する。なおこのハードディスクドライブ21において、図7について上述したハードディスクドライブ1と同一の構成は、対応する符号を付して示し、重複した説明は省略する。
【0046】
このハードディスクドライブ21は、ハードディスク3により主の記録領域が形成され、不揮発性メモリ23により副の記録領域が形成され、これら主及び副の記録領域にホスト装置22からの出力データを選択的に記録する。またこのハードディスクドライブ21は、これら主及び副の記録領域に連続するクラスタアドレスが設定され、これにより1つのファイル管理システムによりまとめて管理できるようになされている。なおこのファイル管理システムブロックは、MS−DOS互換FATファイルシステムが適用される。また不揮発性メモリ23は、FLASHメモリ、FeRAM、MRAM等のメモリにより形成される。
【0047】
図3は、これら主及び副の記録領域を示す図表である。すなわちこのハードディスクドライブ21においては、ハードディスク3の外周側が、システムエントリエリアに割り当てられ、このシステムエントリエリアに、ブートデータエリア、FATエリア、ディレクトリエリアが設けられる。さらに内周側がデータエリアに割り当てられ、順次、クラスタに細分化され、物理アドレスによるクラスタアドレスが順次割り当てられる。
【0048】
不揮発性メモリ23は、ハードディスク3と同様に、記録領域が順次区分されてクラスタが設定され、またこのクラスタサイズがハードディスク3のクラスタサイズと同一に設定されるようになされている。また不揮発性メモリ23は、ハードディスク3の末尾のクラスタアドレスから連続するように、各クラスタにクラスタアドレスが設定されるようになされている。
【0049】
ハードディスクドライブ21において、インターフェース制御回路27は、例えばSCSIコントローラ、IDEコントローラ等により形成され、ホスト装置22との間で送受するデータ、制御コマンド等の入出力回路を構成する。すなわちインターフェース制御回路27は、ホスト装置22より入力されるコマンドcommand、このコマンドcommandに設定されたパラメータを解析し、ハードディスク制御回路5等の動作を制御する。これらの処理において、インターフェース制御回路27は、書き込み時にあっては、コマンドに設定されたアドレスにより、ホスト装置22から入力される書き込みに供するデータを不揮発性メモリ23、ハードディスク3に振り分ける。また再生時においては、不揮発性メモリ23より得られる読み出しに係るデータ、ハードディスク3から得られる読み出しに係るデータをホスト装置22に出力する。
【0050】
すなわち図1に周辺構成と共にインターフェース制御回路27の構成を詳細に示すように、インターフェース制御回路27は、ホストインターフェース27Aによりホスト装置22との間でコマンド、データを入出力し、また入力されたコマンドを解析して各部を制御する。インターフェース制御回路27においては、この入力されたコマンドが書き込みコマンド、読み出しコマンドの場合、このコマンドに設定されたアドレスをアドレス変換回路27Bに入力し、図3について上述したハードディスク3の物理アドレス、不揮発性メモリ23のメモリアドレスに変換する。
【0051】
ここでアドレス変換回路27Bは、これら書き込み、読み出しのコマンドに設定されたアドレスによるアドレス変換テーブルの参照により、このアドレスをハードディスク3の物理アドレス、不揮発性メモリ23のメモリアドレスに変換する。
【0052】
インターフェース制御回路27においては、このようにアドレス変換回路27Bによるアドレス変換に係るアドレスがハードディスク3の物理アドレスに対応する論理アドレスによるクラスタアドレスの場合、書き込みの場合においては、続いて入力されるデータをバッファメモリ10を介してハードディスク3の記録再生系4〜9に出力するように、内蔵のセレクタ27Cの出力を切り換え、また記録再生系4〜9にアドレス変換回路27Bで変換した物理アドレスによる書き込みを指示する。これに対して読み出しに係るコマンドの場合、同様にして、ハードディスク3の再生を指示し、その結果得られる再生データをバッファメモリ10を介して入力し、ホストインターフェース27Aからホスト装置22に出力する。
【0053】
これに対してコマンドに係るアドレスが不揮発性メモリ23に係るクラスタアドレスの場合、書き込みの場合においては、続いて入力されるデータをバッファメモリ10を介して不揮発性メモリ23に出力するように、内蔵のセレクタ27Cの出力を切り換え、またこのデータをアドレス変換回路27Bで変換したメモリアドレスにより不揮発性メモリ23に記録する。これに対して読み出しに係るコマンドの場合、同様にして、不揮発性メモリ23より対応するデータを読み出し、読み出したデータをホスト装置22に出力する。
【0054】
またこの一連の処理によりハードディスク3、不揮発性メモリ23にファイルを記録すると、この記録に対応するように、所定のタイミングでシステムエントリエリアの内容を更新する。
【0055】
かくするにつき図4は、この一連の書き込みの処理に係るハードディスクドライブ21の処理手順を示すフローチャートである。すなわちハードディスクドライブ21においては、ステップSP1からステップSP2に移り、ホスト装置22からの書き込みのコマンドを入力し、続くステップSP3において、この書き込みのコマンドに設定されたアドレスによりアドレス変換回路27Bのアドレス変換テーブルを参照する。
【0056】
続いてハードディスクドライブ21は、ステップSP4において、アドレス変換テーブルの参照結果より、コマンドに設定されたアドレスがハードディスク3のアドレスか否か判断し、ここで肯定結果が得られると、ステップSP5に移り、アドレス変換テーブルの参照によりコマンドに設定されたアドレスをハードディスク3の物理アドレスに変換する。さらに続くステップSP6において、この物理アドレスにより続いて入力される書き込みに係るデータをハードディスク3に記録し、ステップSP7に移ってこの処理手順を終了する。
【0057】
これに対してコマンドに設定されたアドレスが不揮発性メモリ23を指示するものの場合、ハードディスクドライブ21は、ステップSP4からステップSP8に移り、アドレス変換テーブルの参照によりコマンドに設定されたアドレスを不揮発性メモリのメモリアドレスに変換する。さらに続くステップSP9において、このメモリアドレスにより続いて入力される書き込みに係るデータを不揮発性メモリ23に記録し、ステップSP7に移ってこの処理手順を終了する。
【0058】
これに対して図5は、読み出しの処理に係るフローチャートである。ハードディスクドライブ21においては、ステップSP11からステップSP12に移り、ホスト装置22からの読み出しのコマンドを入力し、続くステップSP13において、この読み出しのコマンドに設定されたアドレスによりアドレス変換回路27Bのアドレス変換テーブルを参照する。
【0059】
続いてハードディスクドライブ21は、ステップSP14において、アドレス変換テーブルの参照結果より、コマンドに設定されたアドレスがハードディスク3のアドレスか否か判断し、ここで肯定結果が得られると、ステップSP15に移り、アドレス変換テーブルの参照によりコマンドに設定されたアドレスをハードディスク3の物理アドレスに変換する。さらに続くステップSP16において、この物理アドレスによりハードディスク3に記録されたデータを再生し、さらに続くステップSP17において、この再生したデータをバッファメモリ10に一時記録し、ホスト装置22に割り込みをかける。ハードディスクドライブ21においては、この割り込みによりホスト装置22からデータの転送が指示されると、続くステップSP18において、このバッファメモリ10に一時記録したデータをホスト装置22に転送し、ステップSP19に移ってこの処理手順を終了する。
【0060】
これに対してコマンドに設定されたアドレスが不揮発性メモリ23を指示するものの場合、ハードディスクドライブ21は、ステップSP14からステップSP20に移り、アドレス変換テーブルの参照によりコマンドに設定されたアドレスを不揮発性メモリ23のメモリアドレスに変換し、続くステップSP21において、このメモリアドレスにより不揮発性メモリ23に記録されたデータを読み出し、ステップSP17に移る。
【0061】
このハードディスクドライブ21の構成に対応してホスト装置22においては、システムメモリ31にワークエリアを確保した中央処理ユニット(CPU)32の処理により、記録に供するデータに応じて、不揮発性メモリ23による副の記録領域、ハードディスク3による主の記録領域を指示するように、書き込みコマンド、読み出しコマンドにアドレスを設定する。
【0062】
ここで中央処理ユニット32は、図示しないランダムアクセスメモリに事前に記録されたプログラムの実行により、ハードディスクドライブ21に書き込み、読み出しのコマンドを発行し、さらには書き込み、読み出しに係るデータをハードディスクドライブ21との間で入出力する。なおこのようなプログラムにおいては、インターネット等のネットワークを介したダウンロードにより、さらには各種の記録媒体により提供される。なおこのような記録媒体としては、磁気ディスク、光ディスク、磁気テープ等の記録媒体を適用することができる。
【0063】
中央処理ユニット32は、このプログラムの実行により、書き込みに係るファイルが所定容量に満たない小容量のファイルの場合、このファイルのデータを副の記録領域に振り分けるように、またこのファイルが所定容量以上の大容量のファイルの場合、このファイルのデータを主の記録領域に振り分けるように、書き込みのコマンドを発行する。なおここでこのような小容量のファイルにおいては、アプリケーションソフトを構成する様々なコンポーネントファイル、ショートカット、フォルダ、テキストである。
【0064】
すなわち中央処理ユニット32は、電源起動時、所定の処理手順の実行により、ハードディスク3のシステムエントリエリアに記録されてなる管理用データを再生するようにハードディスクドライブ21にコマンドを発行し、その結果ハードディスクドライブ21から出力されるシステムエントリエリアのデータ(FATエリア、ディレクトリエリアのデータ)をシステムメモリ31に記録する。
【0065】
さらにユーザーによりデータの記録が指示されると、中央処理ユニット32は、この記録に係るファイルサイズを所定の判定基準値で判定し、判定基準値に満たない場合、システムメモリ31に記録した管理用データを検索して不揮発性メモリ23に割り当てたクラスタより空きクラスタを順次検出し、この検出した空きクラスタのアドレスによりパラメータを設定して書き込みのコマンドを発行する。これに対して書き込みに係るファイルがこの判定基準値以上のファイルサイズの場合、システムメモリ31に記録した管理用データを検索してハードディスク3に割り当てたクラスタより空きクラスタを順次検出し、この検出した空きクラスタのアドレスによりパラメータを設定して書き込みのコマンドを発行する。
【0066】
またこれらのファイルの書き込みを完了すると、このファイルの書き込みに対応するようにシステムメモリ31に記録した管理用データを更新し、またこの更新に対応するようにハードディスク3の記録の更新を所定のタイミングで指示する。
【0067】
これに対して再生時、従来と同様の、システムメモリ31に記録した管理用データの検索により、クラスタアドレスを設定して読み出しコマンドを発行する。
【0068】
これらの構成により、この実施の形態においては、ハードディスク制御回路5、サーボ回路4、モータ6、8、リードライトデータチャンネル部がハードディスクに入力データを記録する主の記録系を構成するようになされている。またこれに対応して不揮発性メモリ23の周辺回路が不揮発性メモリ23に入力データを記録する副の記録系を構成するようになされ、アドレス変換回路27B、セレクタ27Cがホスト装置22からのデータを主及び副の記録系に振り分ける制御手段を構成するようになされている。
【0069】
(1−2)第1の実施の形態の動作
以上の構成において、このハードディスクドライブ21では、電源が立ち上げられると、ホスト装置22の指示により、システムエントリエリアのデータが再生され、このシステムエントリエリアのデータのうち、ディレクトリエリア、FATエリアのデータについては、ハードディスクドライブ21からホスト装置22に転送され、このホスト装置22のシステムメモリ31に記録される。
【0070】
ホスト装置22においては、このようにしてシステムメモリ31に管理用データを保持して、ユーザーによりファイルの記録が指示されると、このファイルの容量が判定され、この判定結果より書き込みに係るファイルが小容量のファイルの場合、ハードディスクドライブ21の不揮発性メモリ23のクラスタより空きクラスタが順次検出され、この検出した空きクラスタのクラスタアドレスにより順次書き込みコマンドが発行され、さらに書き込みに係るファイルのデータがハードディスクドライブ21に出力される。これに対してこの書き込みに係るファイルが大容量のファイルの場合、システムメモリ31に記録された管理用データを検索して、ハードディスク3のクラスタより空きクラスタが順次検出され、この検出した空きクラスタのクラスタアドレスにより順次書き込みコマンドが発行され、さらに書き込みに係るファイルのデータがハードディスクドライブ21に出力される。
【0071】
ハードディスクドライブ21においては、このようにして書き込みのコマンドに設定されたクラスタアドレスにより、アドレス変換回路27Bのアドレス変換テーブルが検索され、これによりこのアドレスがハードディスク3に係るアドレスか、不揮発性メモリ23に係るアドレスかが検出される。ここでハードディスク3に係るアドレスの場合、この書き込みコマンドに係るアドレスがハードディスク3の物理アドレスに変換され、このクラスタアドレスによりホスト装置22から入力されるデータがハードディスク3に記録される。また不揮発性メモリ23に係るアドレスの場合、ハードディスクドライブ21では、アドレス変換回路27Bにおいて、このアドレスが不揮発性メモリ23のメモリアドレスに変換され、このメモリアドレスによりホスト装置22の出力データが不揮発性メモリ23に記録される。
【0072】
これによりこの実施の形態においては、記録、削除を繰り返して、フラグメンテーションが発生し易い小容量のファイルについては、記録、削除を繰り返してフラグメンテーションが発生しても、アクセス速度の低下、電力消費の増大を招来しない不揮発性メモリ23による副の記録領域に記録するようになされ、これにより全体として見たとき、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減するようになされている。
【0073】
かくするにつきホスト装置22においては、このようにしてファイルの記録を完了すると、これに対応するようにシステムメモリ31の記録が更新され、またハードディスクドライブ21においては、このシステムメモリ31の更新に対応するようにハードディスク3のシステムエントリエリアが更新される。
【0074】
これに対してユーザーよりファイルの再生が指示されると、ホスト装置22において、システムメモリ31の記録の検索により、対応するファイルの先頭クラスタアドレスを検出し、さらにEOFが検出されるまでこの先頭クラスタアドレスより順次連続するクラスタアドレスが検出される。さらにこのようにして順次検出されるクラスタアドレスによりパラメータを設定して、読み出しのコマンドがホスト装置22からハードディスクドライブ21に出力される。
【0075】
ハードディスクドライブ21においては、このようにして送出される読み出しコマンドに係るアドレスにより、アドレス変換回路27Bのアドレス変換テーブルが検索され、これによりハードディスク3に係るアドレスか、不揮発性メモリ23に係るアドレスかが検出される。ここでハードディスク3に係るアドレスの場合、この書き込みコマンドに係るアドレスがハードディスク3の物理アドレスによるクラスタアドレスに変換され、このクラスタアドレスによりハードディスク3に記録されたデータが再生されてホスト装置22に出力される。これに対して不揮発性メモリ23に係るアドレスの場合、ハードディスクドライブ21では、アドレス変換回路27Bにおいて、このアドレスが不揮発性メモリ23のメモリアドレスに変換され、このメモリアドレスにより不揮発性メモリ23に記録されたデータが読み出されてホスト装置22に出力される。
【0076】
これにより読み出しの場合、このホスト装置22においては、従来と同様のファイル管理によりコマンドを発行して所望するファイルを再生することができるようになされている。
【0077】
またユーザーによりファイルの削除が指示されると、ホスト装置22においては、システムメモリ31の記録の検索により、対応するファイルの先頭クラスタアドレスを検出し、さらにEOFが検出されるまでこの先頭クラスタアドレスより順次連続するクラスタアドレスが検出される。さらにこのようにして順次検出されるクラスタアドレスによりシステムメモリ31に記録された対応するディレクトリーエリアの記録が空きクラスタを示すコードに書き換えられ、またこの書き換えに対応するように、ハードディスク3のシステムエントリエリアが更新される。
【0078】
これによりこのハードディスクドライブ21においては、再びユーザーにより書き込みが指示されると、このようにしてファイルを削除してなるクラスタに順次、書き込みに係るファイルのデータが記録され、このファイルのサイズが削除したファイルより大きい場合、ファイルを削除した領域に加えて、続いて空き領域に設定されてなくクラスタに記録されることにより、この書き込みに係るファイルが断片化する。またこのような繰り返しにより、順次、書き込みに係るファイルの断片化が進む。
【0079】
しかしながらこの実施の形態においては、ハードディスク3には大容量のファイルが選択的に書き込まれていることにより、このようにハードディスク3で発生する断片化においては、比較的、大きなデータ量を単位にして断片化される。これによりハードディスクドライブ21においては、小容量のファイルと大容量のファイルとを混在させてハードディスク3に記録する場合に比して、ハードディスク3におけるフラグメンテーションも少なくすることができ、これによっても、アクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができるようになされている。
【0080】
(1−3)第1の実施の形態の効果
以上の構成によれば、ディスク状記録媒体であるハードディスクによる主の記録領域と、不揮発性メモリによる副の記録領域とに、記録に供するデータを振り分けて記録することにより、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【0081】
すなわちハードディスクドライブ側において、これら主及び副の記録領域に対応する記録手段と、ホスト装置から入力されるデータをこれら主及び副の記録系に振り分ける手段とを設けることにより、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【0082】
またホスト装置においては、これら主及び副の記録領域を指示するようにアドレスを設定してコマンドを発行することにより、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【0083】
またこれら主及び副の記録領域を連続したアドレスにより管理することにより、ホスト装置においては、再生時、従来と同様のファイル管理により読み出しのコマンドを発行して所望するファイルを再生することができる。
【0084】
またこのような主及び副の記録領域に振り分けるファイルを、ファイルの容量を基準にして判定することにより、例えばホスト装置がコンピュータである場合等において、簡易な判定処理により、これらファイルを主及び副の領域に振り分けて記録することができる。
【0085】
(2)第2の実施の形態
図6は、図3との対比により第2の実施の形態に係るハードディスクドライブ、不揮発性メモリにおける記録領域の設定を示す図表である。この実施の形態においては、システムエントリエリアのデータを不揮発性メモリに記録し、また残る不揮発性メモリの領域を副の記録領域に設定し、順次クラスタアドレスを割り当てる。さらにこの不揮発性メモリのクラスタアドレスに続いて、ハードディスクのクラスタアドレスを設定する。この実施の形態においては、このような記録領域の設定に対応するように、各部が構成されている点を除いて、第1の実施の形態のハードディスクドライブ、ホスト装置と同様に構成される。
【0086】
図6に示すように、不揮発性メモリにシステムエントリエリアを割り当て、さらには不揮発性メモリよりハードディスクに順次クラスタアドレスを割り当てるようにしても、第1の実施の形態と同様に、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【0087】
(3)第3の実施の形態
この実施の形態においては、副の記録領域における最少の記録単位が、主の記録領域における最小の記録単位に比して小さく設定される。なおこの実施の構成においては、この記録単位の設定、この記録単位の設定に関連する構成が異なる点を除いて、第1又は第2の実施の形態と同一に構成される。
【0088】
すなわちこの実施の形態においては、主の記録領域の1クラスタが16〔Kバイト〕により形成されるのに対し、副の記録領域の1クラスタが1〔Kバイト〕により形成されるようになされている。これに対応してホスト装置においては、システムメモリに記録して空きクラスタを検出する際に、これらの容量の相違を考慮して順次空きクラスタを検出する。また書き込みのコマンドを発行する際に、この記録単位の相違に対応するように、データ長のパラメータを設定する。また読み出しの際、同様に、容量の相違を考慮して順次クラスタアドレスを検出し、またデータ長のパラメータを設定して読み出しコマンドを発行する。
【0089】
これに対応してハードディスクドライブにおいても、これらクラスタを単位にしてハードディスク、不揮発性メモリにデータを記録し、またデータを再生する。
【0090】
これによりこの実施の形態においては、不揮発性メモリの記録単位を小さくして、その分、クラスタを単にした不揮発性メモリの記録において、メモリ空間の無駄を防止するようになされている。
【0091】
(4)第4の実施の形態
この実施の形態においては、ホスト装置にカメラ一体型ビデオレコーダ、電子スチルカメラを適用し、このホスト装置による動画ファイル及び静止画ファイルのデータをそれぞれ主及び副の記録領域に振り分けて記録する。なおこの実施の形態においては、この振り分けの基準が異なる点を除いて、第1又は第2の実施の形態と同一に構成される。
【0092】
この実施の形態のようにファイルの種類に応じて主及び副の記録領域にデータを振り分けて記録するようにしても、すなわち具体的に動画ファイル及び静止画ファイルのデータをそれぞれ主及び副の記録領域に振り分けて記録するようにしても、静止画ファイルにおいては、動画ファイルに比してファイルサイズが小さいことにより、第1又は第2の実施の形態と同様の効果を得ることができる。
【0093】
(5)第5の実施の形態
この実施の形態においては、読み出し頻度の高いファイルのデータ、読み出し頻度の低いファイルのデータをそれぞれ主及び副の記録領域に振り分けて記録する。なおこの実施の形態においては、この振り分けの基準が異なる点を除いて、第1又は第2の実施の形態と同一に構成される。
【0094】
すなわち読み出し頻度の高いファイルにおいては、その分、更新、削除の頻度も高いことにより、断片化の頻度が高く、またファイルサイズも一般に小さい。これによりこの実施の形態においては、このように読み出し頻度の高いファイルを副の記録領域に割り当てるようにしても、第1又は第2の実施の形態と同様の効果を得ることができる。またこのように読み出し頻度の高いファイルを副の記録領域に割り当てることにより、ハードディスクに記録する場合に比して、高速度で読み出すことができ、その分、使い勝手を向上することができる。
【0095】
(6)第6の実施の形態
この実施の形態においては、ユーザーの指示に従って記録に供するデータを振り分ける。なおこの実施の形態においては、この振り分けの基準が異なる点を除いて、第1又は第2の実施の形態と同一に構成される。
【0096】
すなわちこの実施の形態において、ホスト装置は、ファイルを記録する際に、主及び副の記録領域を特定した記録領域の選択をユーザーに促し、この選択に従って主及び副の記録領域にこのファイルを書き込む。
【0097】
またはこのような主及び副の記録領域を特定した記録領域の選択に代えて、「保存する」、「記憶する」とのメッセージを表示し、このメッセージの選択に従って主及び副の記録領域にこのファイルを書き込む。
【0098】
すなわちこのように「保存する」、「記憶する」のメニューを表示し、ユーザーが「保存する」とのメニューを選択した場合、ユーザーにおいては、このファイルを長期間、保存する意図があると考えられる。これにより更新、削除の頻度も「記憶する」のメニューを選択した場合に比して低いと考えられ、これによこの場合、ハードディスクにこのファイルを記録する。
【0099】
またこれとは逆に、「保存する」、「記憶する」のメニューを表示し、ユーザーが「記憶する」とのメニューを選択した場合、このファイルは、比較的、保存する期間も短いと考えられ、これにより相対的に削除、更新する頻度も高いと考えられる。これによりこの場合、このファイルを不揮発性メモリに記録する。
【0100】
またこのようにして「記憶する」のメニューの選択により不揮発性メモリに記録したファイルについて、一定期間以上、再生、更新しない場合、ユーザーに保存するか否か問い合わせし、ここでユーザーが保存するを選択した場合、ハードディスクに移し換える。
【0101】
これにより例えば音楽ファイルを記録する場合に、新譜である再生頻度の高いファイルについては、不揮発性メモリに記録し、古くなってあまり聞かなくなった音楽ファイルはディスク領域に転送する。
【0102】
このようにしても第5の実施の形態と同様の効果を得ることができる。
【0103】
(7)他の実施の形態
なお上述の実施の形態においては、ハードディスクドライブとホスト装置とを別体に構成する場合について述べたが、本発明はこれに限らず、一体に構成する場合にも広く適用することができる。
【0104】
また上述の実施の形態においては、ハードディスクドライブの記録領域に続いて不揮発性メモリの記録領域が連続するように、またこれとは逆に記録領域が連続するように、クラスタアドレスを設定する場合について述べたが、本発明はこれに限らず、アドレスの設定方法については種々に設定することができる。
【0105】
また上述の実施の形態においては、FATファイルシステムによるファイル管理システムに本発明を適用する場合について述べたが、本発明はこれに限らず、種々のファイル管理システムに広く適用することができる。
【0106】
また上述の実施の形態においては、ハードディスクドライブに本発明を適用する場合について述べたが、本発明はこれに限らず、光ディスク装置、光磁気ディスク装置等、ディスク状記録媒体により所望のデータを記録する情報処理装置に広く適用することができる。
【0107】
【発明の効果】
上述のように本発明によれば、ディスク状記録媒体による主の記録領域と、不揮発性メモリによる副の記録領域とに、記録に供するデータを振り分けて記録することにより、フラグメンテーションによるアクセス速度の低下、電力消費の増大を従来に比して格段的に低減することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るハードディスクドライブの詳細構成を示すブロック図である。
【図2】図1のハードディスクドライブの全体構成をホスト装置と共に示すブロック図である。
【図3】図1のハードディスクドライブにおける記録領域の説明に供する図表である。
【図4】図1のハードディスクドライブにおける書き込み時の処理手順を示すフローチャートである。
【図5】図1のハードディスクドライブにおける読み出し時の処理手順を示すフローチャートである。
【図6】本発明の第1の実施の形態に係るハードディスクドライブにおける記録領域の説明に供する図表である。
【図7】従来のハードディスクドライブを示すブロック図である。
【図8】図7のハードディスクにおける記録フォーマットを示す図表である。
【図9】図7のディレクトリエリアに記録されるデータを示す図表である。
【図10】図7のFATエリアに記録されるコードを示す図表である。
【符号の説明】
1、21……ハードディスクドライブ、2、22……ホスト装置、3……ハードディスク、7、27……インターフェース制御回路、12、32……中央処理ユニット、11、31……システムメモリ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an information processing apparatus, a data recording method, a program for recording data, and a recording medium on which a program for recording data is recorded, and can be applied to, for example, a hard disk device that records video data. The present invention distributes data to be recorded in a main recording area of a disk-shaped recording medium and a sub-recording area of a non-volatile memory and records the data, thereby reducing access speed and increasing power consumption due to fragmentation. It is possible to significantly reduce the power consumption as compared with the related art.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a hard disk drive used as a peripheral of a personal computer is randomly accessible, and has recently been reduced in size and recording density. Accordingly, various proposals have been made to apply a hard disk drive to recording of audio data and video data (hereinafter, referred to as AV data) and use it for a home server, a vehicle-mounted device, and the like.
[0003]
In such a hard disk drive, data recorded on the hard disk can be managed in cluster units of a plurality of sectors by using a file allocation table (FAT) which is management data recorded on the hard disk. This management is performed by a personal computer or the like as a host device. Hereinafter, a file management system using such a file allocation table is called a FAT file system.
[0004]
That is, FIG. 7 is a block diagram showing a hard disk drive. The hard disk drive 1 is connected to a host device 2 and records various data output from the host device 2 on a hard disk 3. Here, the host device 2 is, for example, a computer.
[0005]
Here, as shown in FIG. 8, the format of the MS-DOS compatible file system is applied to the hard disk 3. That is, the hard disk 3 divides the information recording surface into an inner peripheral area and an outer peripheral area, and the outer peripheral area is allocated to a system entry area. Further, the inner peripheral area is allocated to the data area. The data area is subdivided into clusters, and user data is recorded in each cluster in units of a data amount of a predetermined number of frames.
[0006]
Further, the information recording surface of the hard disk 3 is concentrically divided into a plurality of zones, and the tracks of each zone are further divided into a plurality of sectors by dividing the respective tracks in the circumferential direction by a predetermined length. In the hard disk 3 thus sectorized, the physical address is set by the surface number of the information recording surface, the track number continuously allocated from the outer peripheral side of the information recording surface, and the sector number for specifying the sector in each track. The user data is file-managed by logical addresses sequentially set from the outer peripheral side of the information recording surface in correspondence with the physical addresses.
[0007]
Here, the logical address is represented by a cluster number in units of a cluster of a set of a plurality of logical sectors. That is, the logical sector is an area corresponding to a data recording unit set with the first area (in this case, the outermost circumference) on the information recording surface as 0 sector. For example, one physical sector is replaced with one logical sector. Correspondingly, the logical sector number can be represented by the relational expression of logical sector number = sector number per track × (surface number + number of surfaces × track number) + sector number−1. Here, the surface number, the track number, and the sector number are based on physical addresses.
[0008]
Here, the logical sector is configured so that 512 bytes of data can be recorded in one logical sector in terms of user data, and one cluster is composed of a plurality of logical sectors. Note that one cluster is generally composed of power-of-two sectors, and is specified by a cluster number which is a serial number starting from 2 in a file area in a data area for recording user data. .
[0009]
In the data area, a cluster number is assigned to each cluster set in this way, and the cluster can be accessed in cluster units based on the cluster number. Here, the cluster number is indicated in a 4-digit hexadecimal format. Thus, the minimum unit of one file is one cluster.
[0010]
On the other hand, the system entry area is further divided into a boot area, a FAT (Fail Allocation Table) area, and a directory area, and data defining a disc structure is recorded in the boot area. On the other hand, in the FAT area and the directory area, management data such as address information necessary for accessing the user data recorded in the data area is recorded.
[0011]
That is, file management data for specifying a file recorded in the data area is recorded in the directory area. On the other hand, in the FAT area, in association with the file management data, a management table that records the address of the management unit that records the subsequent data is recorded for each cluster that is the management unit of the data area. Specifically, in the FAT area, a cluster number of each cluster that is continuous with the first cluster of each file is recorded. Thus, the hard disk 3 detects the leading cluster number of the desired file name from the directory area, and then successively detects the cluster number following the leading cluster number from the FAT area, so that the continuous clusters of one file are formed. The address can be detected.
[0012]
Thus, in FIG. 8, in the case where file 1 is recorded in clusters of
[0013]
More specifically, in the directory area, file management data for specifying each file recorded in the data area is recorded by the configuration shown in FIG. 9 for each file recorded in the data area. That is, in the file management data, the file name is assigned to the first 8 bytes, and the extension of each file is assigned to the next 3 bytes. Data indicating the attribute of the file is assigned to the next 1 byte, and the next 10 bytes are assigned to the data for reservation. The next two bytes are assigned to the data of the recording start time, the next two bytes are assigned to the data of the recording date, and the next two bytes are assigned the cluster number which is the head cluster number. Note that data of the file length is allocated to the last four bytes.
[0014]
On the other hand, in the FAT area (FIG. 8), identification data indicating the association of each cluster which is a management unit of the data area is recorded. That is, the FAT area is assigned a cluster address corresponding to the cluster number of the data area, and the cluster number of the cluster following each cluster address is recorded. Further, as shown in FIG. 10, among codes not allocated to these cluster numbers, predetermined codes are allocated to identification information indicating a free area, a defective cluster, and EOF, respectively.
[0015]
Thus, the hard disk 3 can access the FAT area to detect a free area in the data area. Further, the replacement process can be executed based on the defective sector, and further, at the time of recording, the defective sector can be registered by a retry process by write and verify. These allow the hard disk 3 to manage the information recording surface in predetermined block units.
[0016]
The
[0017]
Under the control of the hard
[0018]
The hard
[0019]
The interface control circuit (IF control) 7 is formed of, for example, a SCSI (Small Computer System Interface) controller, an IDE (Intelligent Drive Electronics) controller, and the like, and controls an input / output circuit of data and control commands to be transmitted / received to / from the host device 2. Constitute. That is, the interface control circuit 7 analyzes a command input from the host device 2 and parameters set in the command, and controls operations of the hard
[0020]
In response to this, the host device 2 sends various commands and the like to the hard disk drive 1 in response to a user's instruction by the processing of the central processing unit (CPU) 12 having a work area secured in the
[0021]
In this process, when the power is turned on, the
[0022]
That is, when data recording is instructed by the user, the
[0023]
When the recording of the file is completed in this way, the recording of the
[0024]
On the other hand, when the user instructs reproduction of the file recorded on the hard disk 3, the
[0025]
The
[0026]
This FAT file system can be applied not only to various types of computer data and various types of application programs, but also to video data and audio data (hereinafter referred to as AV data). It can be recorded and reproduced on the hard disk 3.
[0027]
[Problems to be solved by the invention]
By the way, in such a hard disk drive, when recording and deletion of a file are repeated, high-speed access becomes difficult due to so-called fragmentation caused by one file being fragmented and recorded on the hard disk 3, and power consumption is also reduced. There is a problem that increases.
[0028]
That is, if one file is fragmented and recorded in this way, a large number of seeks are required to reproduce one file because of the fragmentation.
[0029]
Here, in seeking, the time required for the magnetic head to move to the target track in the radial direction of the hard disk (movement time in the track direction) and the time required for the magnetic head to reach the target position in the circumferential direction of the hard disk 3 ( (Rotational waiting time) and is usually expressed in milliseconds.
[0030]
As a result, when one file is fragmented and recorded, a large amount of time is required for seeking because of the fragmentation, and it takes time to reproduce a desired file. When the number of seeks increases in this way, it is necessary to frequently move the magnetic head in the radial direction of the hard disk 3, and the power consumption increases accordingly.
[0031]
When used as a storage device of a computer, the hard disk 3 records various component files, shortcuts, folders, texts to moving image files, thereby storing files having a capacity of several hundreds to several hundreds of megabytes. Many will be recorded. However, by recording a large number of small-capacity files of one cluster unit or less, fragmentation is remarkable.
[0032]
On the other hand, in the recording of AV data, by recording a relatively large-capacity file, it is considered that such a degree of fragmentation is small. However, in the case of a file based on AV data, file management information, thumbnails, etc. Because of the possibility of recording a small-capacity file, fragmentation cannot be avoided as in the case of recording computer data.
[0033]
The present invention has been made in view of the above points, and an information processing apparatus and a control method of an information processing apparatus capable of significantly reducing a decrease in access speed and an increase in power consumption due to fragmentation as compared with the related art It is an object of the present invention to propose a control program for an information processing device and a recording medium storing the control program for the information processing device.
[0034]
[Means for Solving the Problems]
In order to solve this problem, the invention according to claim 1 is applied to an information processing apparatus, and a main recording unit for recording input data in a main recording area of a disk-shaped recording medium, and a sub-recording unit of a non-volatile memory. A sub-recording unit for recording input data in an area, and a control unit for distributing data to be recorded to a main and sub-recording system and outputting the data are provided.
[0035]
Further, according to the invention of
[0036]
Further, in the invention according to claim 14, the method according to the present invention is applied to a data recording method, wherein the data to be recorded is distributed to a main recording area of a disk-shaped recording medium and a sub-recording area of a non-volatile memory. A main recording step of recording the data allocated to the main recording area on the disk-shaped recording medium, and a sub recording step of recording the data allocated to the sub recording area in the nonvolatile memory.
[0037]
Further, the present invention is applied to a data recording method for controlling a recording / reproducing apparatus having a main recording area of a disk-shaped recording medium and a sub recording area of a non-volatile memory to record desired data. Then, according to the data to be recorded, a selection step of selecting a main or sub recording area, and according to a selection result of the selection step, a write command is issued by an address specifying the main or sub recording area. A command output step of outputting the data and a data output step of outputting data corresponding to the write command are provided.
[0038]
Further, in the invention according to
[0039]
According to a twenty-eighth aspect of the present invention, there is provided a program for controlling a recording / reproducing apparatus having a main recording area of a disk-shaped recording medium and a sub-recording area of a nonvolatile memory to record desired data. And a selection step of selecting a main or sub-recording area according to data to be recorded, and writing of data by an address specifying a main or sub-recording area according to a selection result of the selection step. A command output step of outputting a command and a data output step of outputting data corresponding to the write command are provided.
[0040]
Further, according to the invention of claim 29, there is provided a program for a data recording method for controlling a recording / reproducing apparatus having a main recording area by a disk-shaped recording medium and a sub recording area by a nonvolatile memory to record desired data. Applying to the recording medium on which is recorded, the program of the data recording method, according to the data to be recorded, the step of selecting the main or sub-recording area, and according to the selection result by the step of selecting, It has a command output step of outputting a write command according to an address designating the main or sub recording area, and a data output step of outputting data corresponding to the write command.
[0041]
According to the configuration of claim 1, a main recording unit that records input data in a main recording area of a disk-shaped recording medium, a sub recording unit that records input data in a sub recording area of a nonvolatile memory, By providing control means for distributing data to be recorded to the main and sub recording systems and outputting the data, for example, the present invention is applied to an information processing device such as a hard disk drive or an optical disk device connectable to various information devices, and For small-capacity files in which fragmentation is likely to occur due to repeated recording and deletion on the recording medium, non-volatile memory that does not cause a reduction in access speed and increase in power consumption even if fragmentation occurs due to repeated recording and deletion. Can be recorded in the secondary recording area, and as a whole, fragmentation Decrease in access speed by the increase of power consumption can be reduced to remarkably as compared with the conventional.
[0042]
According to the configuration of
[0043]
Thus, according to the fourteenth and twenty-first aspects, it is possible to provide a data recording method in which a reduction in access speed and an increase in power consumption due to fragmentation can be significantly reduced as compared with the related art. . Further, according to the configurations of
[0044]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.
[0045]
(1) First embodiment
(1-1) Configuration of First Embodiment
FIG. 2 is a block diagram showing a hard disk drive which is an information processing device according to the first embodiment of the present invention. The hard disk drive 21 is detachably held in a
[0046]
In the hard disk drive 21, a main recording area is formed by the hard disk 3, a sub-recording area is formed by the
[0047]
FIG. 3 is a chart showing these main and sub recording areas. That is, in the hard disk drive 21, the outer peripheral side of the hard disk 3 is allocated to a system entry area, and a boot data area, a FAT area, and a directory area are provided in the system entry area. Further, the inner peripheral side is allocated to a data area, is sequentially divided into clusters, and a cluster address based on a physical address is sequentially allocated.
[0048]
Similarly to the hard disk 3, the
[0049]
In the hard disk drive 21, the
[0050]
That is, as shown in FIG. 1 in detail the configuration of the
[0051]
Here, the
[0052]
In the
[0053]
On the other hand, when the address related to the command is the cluster address related to the
[0054]
When a file is recorded on the hard disk 3 and the
[0055]
FIG. 4 is a flowchart showing the processing procedure of the hard disk drive 21 for this series of writing processing. That is, in the hard disk drive 21, the process proceeds from step SP1 to step SP2, in which a write command from the
[0056]
Subsequently, in step SP4, the hard disk drive 21 determines whether or not the address set in the command is the address of the hard disk 3 based on the reference result of the address conversion table. If an affirmative result is obtained, the process proceeds to step SP5. The address set in the command is converted into the physical address of the hard disk 3 by referring to the address conversion table. In the following step SP6, the data relating to the writing that is subsequently input by this physical address is recorded on the hard disk 3, and the process proceeds to step SP7 to end this processing procedure.
[0057]
On the other hand, if the address set in the command points to the
[0058]
On the other hand, FIG. 5 is a flowchart relating to the reading process. In the hard disk drive 21, the process proceeds from step SP11 to step SP12, in which a read command from the
[0059]
Subsequently, in step SP14, the hard disk drive 21 determines whether or not the address set in the command is the address of the hard disk 3 based on the reference result of the address conversion table. If a positive result is obtained here, the process proceeds to step SP15. The address set in the command is converted into the physical address of the hard disk 3 by referring to the address conversion table. In the subsequent step SP16, the data recorded on the hard disk 3 is reproduced by the physical address. In the subsequent step SP17, the reproduced data is temporarily recorded in the
[0060]
On the other hand, if the address set in the command indicates the
[0061]
In the
[0062]
Here, the
[0063]
By executing this program, the
[0064]
That is, when the power is turned on, the
[0065]
Further, when data recording is instructed by the user, the
[0066]
When the writing of these files is completed, the management data recorded in the
[0067]
On the other hand, at the time of reproduction, a cluster command is set and a read command is issued by searching for management data recorded in the
[0068]
With these configurations, in this embodiment, the hard
[0069]
(1-2) Operation of First Embodiment
In the above configuration, when the power is turned on in the hard disk drive 21, the data in the system entry area is reproduced according to the instruction of the
[0070]
The
[0071]
In the hard disk drive 21, the address conversion table of the
[0072]
As a result, in this embodiment, for a small-capacity file in which recording and deletion are repeated and fragmentation is likely to occur, even if recording and deletion are repeated and fragmentation occurs, the access speed decreases and the power consumption increases. Is recorded in a sub-recording area of the
[0073]
Thus, when the recording of the file is completed in the
[0074]
On the other hand, when the user instructs to play the file, the
[0075]
In the hard disk drive 21, the address conversion table of the
[0076]
As a result, in the case of reading, the
[0077]
When the user instructs to delete the file, the
[0078]
Thus, in the hard disk drive 21, when the user instructs to write again, the data of the file to be written is sequentially recorded in the cluster in which the file is deleted in this way, and the size of the file is deleted. If the file is larger than the file, in addition to the area where the file is deleted, the file related to this writing is fragmented by being recorded in the cluster instead of being set as a free area. By such repetition, the fragmentation of the file related to writing progresses sequentially.
[0079]
However, in this embodiment, since a large-capacity file is selectively written on the hard disk 3, in the fragmentation that occurs on the hard disk 3 as described above, a relatively large data amount is used as a unit. Fragmented. As a result, in the hard disk drive 21, fragmentation in the hard disk 3 can be reduced as compared with a case where a small-capacity file and a large-capacity file are mixed and recorded on the hard disk 3. , And an increase in power consumption can be remarkably reduced as compared with the related art.
[0080]
(1-3) Effects of the first embodiment
According to the above configuration, the data to be recorded is separately recorded in the main recording area of the hard disk, which is a disk-shaped recording medium, and in the sub recording area of the non-volatile memory, thereby reducing the access speed due to fragmentation. Thus, an increase in power consumption can be significantly reduced as compared with the related art.
[0081]
That is, by providing recording means corresponding to these main and sub recording areas and means for distributing data input from the host device to these main and sub recording systems on the hard disk drive side, the access speed is reduced by fragmentation. Thus, an increase in power consumption can be significantly reduced as compared with the related art.
[0082]
In the host device, an address is set so as to indicate these main and sub recording areas and a command is issued, so that the access speed is reduced and the power consumption is increased by the fragmentation as compared with the related art. Can be reduced.
[0083]
Also, by managing these main and sub-recording areas using continuous addresses, the host device can reproduce a desired file by issuing a read command by the same file management as in the related art during reproduction.
[0084]
Also, by determining the files to be allocated to such main and sub recording areas based on the file size, for example, when the host device is a computer, these files can be subjected to simple determination processing by a simple determination process. Can be recorded separately.
[0085]
(2) Second embodiment
FIG. 6 is a table showing a setting of a recording area in the hard disk drive and the nonvolatile memory according to the second embodiment in comparison with FIG. In this embodiment, data in the system entry area is recorded in the non-volatile memory, the remaining non-volatile memory area is set as a sub recording area, and cluster addresses are sequentially assigned. Further, following the cluster address of the nonvolatile memory, the cluster address of the hard disk is set. This embodiment is configured in the same manner as the hard disk drive and the host device of the first embodiment, except that each unit is configured to correspond to such setting of the recording area.
[0086]
As shown in FIG. 6, even if the system entry area is allocated to the non-volatile memory and the cluster addresses are sequentially allocated to the hard disk from the non-volatile memory, the access speed by the fragmentation can be reduced as in the first embodiment. The reduction and the increase in power consumption can be significantly reduced as compared with the related art.
[0087]
(3) Third embodiment
In this embodiment, the minimum recording unit in the sub recording area is set smaller than the minimum recording unit in the main recording area. The configuration of this embodiment is the same as that of the first or second embodiment except that the setting of the recording unit and the configuration related to the setting of the recording unit are different.
[0088]
That is, in this embodiment, one cluster of the main recording area is formed by 16 [K bytes], whereas one cluster of the sub recording area is formed by 1 [K bytes]. I have. In response to this, in the host device, when detecting the free clusters by recording them in the system memory, the free clusters are sequentially detected in consideration of the difference between these capacities. When a write command is issued, a data length parameter is set so as to correspond to the difference between the recording units. Also, at the time of reading, similarly, cluster addresses are sequentially detected in consideration of the difference in capacity, and a data length parameter is set, and a read command is issued.
[0089]
Correspondingly, the hard disk drive also records data on the hard disk and the nonvolatile memory in units of these clusters, and reproduces the data.
[0090]
As a result, in this embodiment, the recording unit of the nonvolatile memory is reduced, and accordingly, in recording of the nonvolatile memory in which the cluster is simply used, wasting of the memory space is prevented.
[0091]
(4) Fourth embodiment
In this embodiment, a camera-integrated video recorder and an electronic still camera are applied to a host device, and data of a moving image file and a still image file by the host device are distributed to main and sub recording areas, respectively, and recorded. In this embodiment, the configuration is the same as that of the first or second embodiment except that the criterion for the distribution is different.
[0092]
As in this embodiment, the data may be separately recorded in the main and sub recording areas according to the type of the file, that is, specifically, the data of the moving image file and the still image file are respectively recorded in the main and sub recording areas. Even if the still image file is recorded separately in the area, the same effect as in the first or second embodiment can be obtained in the still image file because the file size is smaller than the moving image file.
[0093]
(5) Fifth embodiment
In this embodiment, data of a file with a high read frequency and data of a file with a low read frequency are separately recorded in the main and sub recording areas. In this embodiment, the configuration is the same as that of the first or second embodiment except that the criterion for the distribution is different.
[0094]
That is, in a file with a high read frequency, the frequency of update and deletion is high accordingly, so the frequency of fragmentation is high and the file size is generally small. As a result, in this embodiment, the same effect as in the first or second embodiment can be obtained even if a file with a high read frequency is assigned to the sub recording area. In addition, by allocating the frequently read file to the secondary recording area, the file can be read at a higher speed than in the case where the file is recorded on the hard disk, and the usability can be improved accordingly.
[0095]
(6) Sixth embodiment
In this embodiment, data to be recorded is sorted according to a user's instruction. In this embodiment, the configuration is the same as that of the first or second embodiment except that the criterion for the distribution is different.
[0096]
That is, in this embodiment, when recording a file, the host device prompts the user to select a recording area specifying the main and sub recording areas, and writes the file into the main and sub recording areas according to the selection. .
[0097]
Alternatively, instead of selecting such a recording area in which the main and sub recording areas are specified, a message of “save” or “save” is displayed, and the main and sub recording areas are displayed in accordance with the selection of this message. Write a file.
[0098]
That is, when the menu of "save" and "save" is displayed in this way and the user selects the menu of "save", it is considered that the user intends to save this file for a long time. Can be Thus, the frequency of update and deletion is considered to be lower than when the menu of "store" is selected. In this case, this file is recorded on the hard disk.
[0099]
Conversely, when the menu of "Save" and "Remember" is displayed and the user selects the menu of "Remember", this file is considered to be stored for a relatively short period of time. Therefore, it is considered that the frequency of deletion and update is relatively high. Thereby, in this case, this file is recorded in the nonvolatile memory.
[0100]
If the file recorded in the non-volatile memory is not reproduced or updated for a certain period of time or longer by selecting the “store” menu in this manner, the user is inquired whether to save the file, and here, the user is asked to save. If selected, transfer to hard disk.
[0101]
Thus, for example, when a music file is recorded, a new music file having a high reproduction frequency is recorded in a non-volatile memory, and an old music file that is rarely heard is transferred to a disk area.
[0102]
Even in this case, the same effect as in the fifth embodiment can be obtained.
[0103]
(7) Other embodiments
In the above-described embodiment, the case where the hard disk drive and the host device are configured separately is described. However, the present invention is not limited to this, and can be widely applied to a case where the hard disk drive and the host device are configured integrally.
[0104]
Further, in the above-described embodiment, the case where the cluster address is set so that the recording area of the non-volatile memory follows the recording area of the hard disk drive, and conversely, the recording area continues. As described above, the present invention is not limited to this, and various settings can be made for the address setting method.
[0105]
In the above-described embodiment, the case where the present invention is applied to the file management system using the FAT file system has been described. However, the present invention is not limited to this, and can be widely applied to various file management systems.
[0106]
In the above embodiment, the case where the present invention is applied to a hard disk drive has been described. However, the present invention is not limited to this, and desired data is recorded on a disk-shaped recording medium such as an optical disk device and a magneto-optical disk device. It can be widely applied to information processing devices that perform
[0107]
【The invention's effect】
As described above, according to the present invention, the data to be recorded is distributed and recorded in the main recording area of the disk-shaped recording medium and the sub-recording area of the non-volatile memory, thereby reducing the access speed due to fragmentation. Thus, an increase in power consumption can be significantly reduced as compared with the related art.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a detailed configuration of a hard disk drive according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing an entire configuration of the hard disk drive of FIG. 1 together with a host device.
FIG. 3 is a table for explaining recording areas in the hard disk drive of FIG. 1;
FIG. 4 is a flowchart illustrating a processing procedure at the time of writing in the hard disk drive of FIG. 1;
FIG. 5 is a flowchart showing a processing procedure at the time of reading in the hard disk drive of FIG. 1;
FIG. 6 is a chart for explaining recording areas in the hard disk drive according to the first embodiment of the present invention.
FIG. 7 is a block diagram showing a conventional hard disk drive.
FIG. 8 is a table showing a recording format in the hard disk of FIG. 7;
FIG. 9 is a table showing data recorded in a directory area of FIG. 7;
FIG. 10 is a table showing codes recorded in a FAT area of FIG. 7;
[Explanation of symbols]
1, 21, hard disk drive, 2, 22, host device, 3, hard disk, 7, 27, interface control circuit, 12, 32, central processing unit, 11, 31, system memory
Claims (29)
不揮発性メモリによる副の記録領域に入力データを記録する副の記録手段と、記録に供するデータを前記主及び副の記録系に振り分けて出力する制御手段と
を備えることを特徴とする情報処理装置。Main recording means for recording input data in a main recording area of a disc-shaped recording medium;
An information processing apparatus comprising: a sub-recording unit that records input data in a sub-recording area of a nonvolatile memory; and a control unit that sorts and outputs data to be recorded to the main and sub recording systems. .
連続したアドレスにより管理され、
前記制御手段は、
前記記録に供するデータに対応するコマンドに設定されたアドレスを基準にして、前記記録に供するデータを振り分ける
ことを特徴とする請求項1に記載の情報処理装置。The main and sub recording areas are:
Managed by consecutive addresses,
The control means includes:
2. The information processing apparatus according to claim 1, wherein the data to be provided for recording is sorted based on an address set in a command corresponding to the data to be provided for recording.
前記主の記録領域に比して、最少の記録単位が小さく設定されてなる
ことを特徴とする請求項1に記載の情報処理装置。The secondary recording area,
2. The information processing apparatus according to claim 1, wherein a minimum recording unit is set smaller than the main recording area.
小容量のファイルのデータを前記副の記録領域に振り分け、
大容量のファイルのデータを前記主の記録領域に振り分ける
ことを特徴とする請求項1に記載の情報処理装置。The control means includes:
Allocating the data of the small file to the sub recording area,
2. The information processing apparatus according to claim 1, wherein data of a large-capacity file is allocated to the main recording area.
静止画ファイルのデータを前記副の記録領域に振り分け、
動画ファイルのデータを前記主の記録領域に振り分ける
ことを特徴とする請求項1に記載の情報処理装置。The control means includes:
Allocating the data of the still image file to the secondary recording area,
2. The information processing apparatus according to claim 1, wherein data of the moving image file is allocated to the main recording area.
読み出しの頻度の高いファイルのデータを前記副の記録領域に振り分け、
読み出しの頻度の低いファイルのデータを前記主の記録領域に振り分ける
ことを特徴とする請求項1に記載の情報処理装置。The control means includes:
Sorting the data of the frequently read file to the secondary recording area,
2. The information processing apparatus according to claim 1, wherein data of a file that is read infrequently is sorted to the main recording area.
ユーザーの指示に従って前記記録に供するデータを振り分ける
ことを特徴とする請求項1に記載の情報処理装置。The control means includes:
2. The information processing apparatus according to claim 1, wherein the data to be provided for recording is sorted according to a user's instruction.
記録に供するデータに応じて、前記主又は副の記録領域を指定するアドレスを設定して前記書き込みのコマンドを出力する。
ことを特徴とする情報処理装置。An information processing apparatus for recording a desired data by outputting a write command to a recording / reproducing apparatus having a main recording area by a disk-shaped recording medium and a sub recording area by a nonvolatile memory,
An address for designating the main or sub recording area is set according to the data to be recorded, and the write command is output.
An information processing apparatus characterized by the above-mentioned.
前記主の記録領域に対する書き込みのコマンドの場合に比して、少ないデータ量による記録単位により、前記書き込みのコマンド、前記記録に供するデータを出力する
ことを特徴とする請求項8に記載の情報処理装置。In the case of writing to the secondary recording area,
9. The information processing apparatus according to claim 8, wherein the write command and the data to be recorded are output in a recording unit having a smaller data amount than in the case of a write command to the main recording area. apparatus.
大容量のファイルのデータに前記主の記録領域を指定するアドレスを設定する
ことを特徴とする請求項8に記載の情報処理装置。Set an address to specify the secondary recording area in the data of the small-capacity file,
9. The information processing apparatus according to claim 8, wherein an address specifying the main recording area is set in data of a large-capacity file.
動画ファイルのデータに前記主の記録領域を指定するアドレスを設定する
ことを特徴とする請求項8に記載の情報処理装置。Set an address to specify the secondary recording area in the data of the still image file,
9. The information processing apparatus according to claim 8, wherein an address specifying the main recording area is set in the data of the moving image file.
読み出しの頻度の低いファイルのデータに前記主の記録領域を指定するアドレスを設定する
ことを特徴とする請求項8に記載の情報処理装置。Set an address to specify the secondary recording area in the data of the file that is frequently read,
9. The information processing apparatus according to claim 8, wherein an address for designating the main recording area is set in data of a file which is not frequently read.
ユーザーの指示に従って前記主又は副の記録領域を指定するアドレスを設定する
ことを特徴とする請求項8に記載の情報処理装置。The control means includes:
9. The information processing apparatus according to claim 8, wherein an address for designating the main or sub recording area is set according to a user's instruction.
前記主の記録領域に振り分けたデータを前記ディスク状記録媒体に記録する主の記録ステップと、
前記副の記録領域に振り分けたデータを前記不揮発性メモリに記録する副の記録ステップと
を有することを特徴とするデータの記録方法。Distributing data to be recorded to a main recording area of a disk-shaped recording medium and a sub-recording area of a non-volatile memory;
A main recording step of recording the data allocated to the main recording area on the disc-shaped recording medium,
Recording the data allocated to the sub-recording area in the non-volatile memory.
連続したアドレスにより管理され、
前記振り分けのステップは、
書き込みのコマンドに設定されたアドレスを基準にして、前記記録に供するデータを振り分ける
ことを特徴とする請求項14に記載のデータの記録方法。The main and sub recording areas are:
Managed by consecutive addresses,
The sorting step includes:
15. The data recording method according to claim 14, wherein the data to be recorded is sorted based on an address set in a write command.
前記主の記録領域に比して、最少の記録単位が小さく設定されてなる
ことを特徴とする請求項14に記載のデータの記録方法。The secondary recording area,
15. The data recording method according to claim 14, wherein a minimum recording unit is set smaller than the main recording area.
小容量のファイルのデータを前記副の記録領域に振り分け、
大容量のファイルのデータを前記主の記録領域に振り分ける
ことを特徴とする請求項14に記載のデータの記録方法。The sorting step includes:
Allocating the data of the small file to the sub recording area,
The data recording method according to claim 14, wherein data of a large-capacity file is allocated to the main recording area.
静止画ファイルのデータを前記副の記録領域に振り分け、
動画ファイルのデータを前記主の記録領域に振り分ける
ことを特徴とする請求項14に記載のデータの記録方法。The sorting step includes:
Allocating the data of the still image file to the secondary recording area,
15. The data recording method according to claim 14, wherein data of the moving image file is allocated to the main recording area.
読み出しの頻度の高いファイルのデータを前記副の記録領域に振り分け、
読み出しの頻度の低いファイルのデータを前記主の記録領域に振り分ける
ことを特徴とする請求項14に記載のデータの記録方法。The sorting step includes:
Sorting the data of the frequently read file to the secondary recording area,
15. The data recording method according to claim 14, wherein data of a file that is read infrequently is allocated to the main recording area.
ユーザーの指示に従って前記記録に供するデータを振り分ける
ことを特徴とする請求項14に記載のデータの記録方法。The sorting step includes:
15. The data recording method according to claim 14, wherein the data to be recorded is sorted according to a user's instruction.
記録に供するデータに応じて、前記主又は副の記録領域を選択する選択のステップと、
前記選択のステップによる選択結果に応じて、前記主又は副の記録領域を指定するアドレスにより書き込みのコマンドを出力するコマンド出力ステップと、
前記書き込みコマンドに対応するデータを出力するデータ出力ステップと
を有することを特徴とするデータの記録方法。A data recording method for controlling a recording / reproducing apparatus having a main recording area by a disc-shaped recording medium and a sub recording area by a nonvolatile memory to record desired data,
A step of selecting the main or sub recording area according to the data to be recorded;
A command output step of outputting a write command by an address designating the main or sub recording area according to a selection result by the selection step;
A data output step of outputting data corresponding to the write command.
前記主の記録領域に比して、最少の記録単位が小さく設定され、
前記コマンド出力ステップは、
前記主及び副の記録領域における最少の記録単位を基準にして、前記書き込みのコマンドにデータ長のパラメータを設定して前記書き込みのコマンドを出力し、
前記データ出力ステップは、
前記データ長に応じたデータ量により前記記録を供するデータを出力する
ことを特徴とする請求項21に記載のデータの記録方法。The secondary recording area,
The minimum recording unit is set smaller than the main recording area,
The command output step includes:
On the basis of the minimum recording unit in the main and sub recording areas, output the write command by setting a data length parameter in the write command,
The data output step includes:
22. The data recording method according to claim 21, wherein the data to be recorded is output by a data amount according to the data length.
小容量のファイルのデータには、前記副の記録領域を選択し、
大容量のファイルのデータには、前記主の記録領域を選択する
ことを特徴とする請求項21に記載のデータの記録方法。The step of selecting
For small file data, select the secondary recording area,
22. The data recording method according to claim 21, wherein the main recording area is selected for large-capacity file data.
静止画ファイルのデータには、前記副の記録領域を選択し、
動画ファイルのデータには、前記主の記録領域を選択する
ことを特徴とする請求項21に記載のデータの記録方法。The step of selecting
For the data of the still image file, select the sub recording area,
22. The data recording method according to claim 21, wherein the main recording area is selected for moving image file data.
読み出しの頻度の高いファイルのデータには、前記副の記録領域を選択し、
読み出しの頻度の低いファイルのデータには、前記主の記録領域を選択する
ことを特徴とする請求項21に記載のデータの記録方法。The step of selecting
For the data of the file that is frequently read, select the sub-recording area,
22. The data recording method according to claim 21, wherein the main recording area is selected for data of a file that is not frequently read.
ユーザーの指示に従って前記主又は副の記録領域を選択する
ことを特徴とする請求項21に記載のデータの記録方法。The step of selecting
22. The data recording method according to claim 21, wherein the main or sub recording area is selected according to a user's instruction.
前記主の記録領域に振り分けたデータを前記ディスク状記録媒体に記録する主の記録ステップと、
前記副の記録領域に振り分けたデータを前記不揮発性メモリに記録する副の記録ステップと
を有することを特徴とするデータの記録方法のプログラム。Distributing data to be recorded to a main recording area of a disk-shaped recording medium and a sub-recording area of a non-volatile memory;
A main recording step of recording the data allocated to the main recording area on the disc-shaped recording medium,
A sub-recording step of recording the data allocated to the sub-recording area in the nonvolatile memory.
記録に供するデータに応じて、前記主又は副の記録領域を選択する選択のステップと、
前記選択のステップによる選択結果に応じて、前記主又は副の記録領域を指定するアドレスにより書き込みのコマンドを出力するコマンド出力ステップと、
前記書き込みコマンドに対応するデータを出力するデータ出力ステップと
を有することを特徴とするデータの記録方法のプログラム。A program for a data recording method for controlling a recording / reproducing device having a main recording area by a disk-shaped recording medium and a sub recording area by a nonvolatile memory to record desired data,
A step of selecting the main or sub recording area according to the data to be recorded;
A command output step of outputting a write command by an address designating the main or sub recording area according to a selection result by the selection step;
A data output step of outputting data corresponding to the write command.
前記データの記録方法のプログラムは、
記録に供するデータに応じて、前記主又は副の記録領域を選択する選択のステップと、
前記選択のステップによる選択結果に応じて、前記主又は副の記録領域を指定するアドレスにより書き込みのコマンドを出力するコマンド出力ステップと、
前記書き込みコマンドに対応するデータを出力するデータ出力ステップと
を有することを特徴とするデータの記録方法のプログラムを記録した記録媒体。In a recording medium recording a program of a data recording method for controlling a recording / reproducing apparatus having a main recording area by a disk-shaped recording medium and a sub-recording area by a nonvolatile memory to record desired data,
The program of the data recording method,
A step of selecting the main or sub recording area according to the data to be recorded;
A command output step of outputting a write command by an address designating the main or sub recording area according to a selection result by the selection step;
And a data output step of outputting data corresponding to the write command.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002156652A JP4106702B2 (en) | 2002-05-30 | 2002-05-30 | Information processing apparatus, data recording / reproducing method, program for data recording / reproducing method, and recording medium recording program for data recording / reproducing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002156652A JP4106702B2 (en) | 2002-05-30 | 2002-05-30 | Information processing apparatus, data recording / reproducing method, program for data recording / reproducing method, and recording medium recording program for data recording / reproducing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004005778A true JP2004005778A (en) | 2004-01-08 |
| JP4106702B2 JP4106702B2 (en) | 2008-06-25 |
Family
ID=30428345
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002156652A Expired - Fee Related JP4106702B2 (en) | 2002-05-30 | 2002-05-30 | Information processing apparatus, data recording / reproducing method, program for data recording / reproducing method, and recording medium recording program for data recording / reproducing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4106702B2 (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005103859A1 (en) * | 2004-04-23 | 2005-11-03 | Teruhide Kikuchi | External storage device and external storage device prioritizing type computer terminal |
| JP2006285943A (en) * | 2005-03-08 | 2006-10-19 | Sony Corp | Composite storage device, data writing method, and program |
| JP2006285942A (en) * | 2005-03-08 | 2006-10-19 | Sony Corp | Compound type storage device, data processing method, and program |
| JP2006313514A (en) * | 2005-04-04 | 2006-11-16 | Sony Corp | Composite storage device, access method and program |
| JP2007034536A (en) * | 2005-07-25 | 2007-02-08 | Sony Corp | Data storage device and data storage method and registration/reproduction system |
| JP2007115232A (en) * | 2005-09-22 | 2007-05-10 | Hitachi Ltd | Low power storage device and control method thereof |
| JP2009048673A (en) * | 2007-08-14 | 2009-03-05 | Nippon Hoso Kyokai <Nhk> | Disk unit |
| WO2009088580A1 (en) * | 2007-12-31 | 2009-07-16 | Intel Corporation | Memory storage of file fragments |
| JP2010238338A (en) * | 2009-03-31 | 2010-10-21 | Sharp Corp | Drive device, information recording device, data recording method, data recording program, and computer-readable recording medium |
| US7861040B2 (en) | 2006-12-28 | 2010-12-28 | Konica Minolta Business Technologies, Inc. | Memory apparatus, cache control method, and cache control program |
-
2002
- 2002-05-30 JP JP2002156652A patent/JP4106702B2/en not_active Expired - Fee Related
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005103859A1 (en) * | 2004-04-23 | 2005-11-03 | Teruhide Kikuchi | External storage device and external storage device prioritizing type computer terminal |
| JP2006285943A (en) * | 2005-03-08 | 2006-10-19 | Sony Corp | Composite storage device, data writing method, and program |
| JP2006285942A (en) * | 2005-03-08 | 2006-10-19 | Sony Corp | Compound type storage device, data processing method, and program |
| US8245003B2 (en) | 2005-03-08 | 2012-08-14 | Sony Corporation | Composite memory device, data processing method and data processing program |
| JP2006313514A (en) * | 2005-04-04 | 2006-11-16 | Sony Corp | Composite storage device, access method and program |
| JP2007034536A (en) * | 2005-07-25 | 2007-02-08 | Sony Corp | Data storage device and data storage method and registration/reproduction system |
| JP2007115232A (en) * | 2005-09-22 | 2007-05-10 | Hitachi Ltd | Low power storage device and control method thereof |
| US8166270B2 (en) | 2005-09-22 | 2012-04-24 | Hitachi, Ltd. | Storage control apparatus, data management system and data management method for determining storage heirarchy based on a user policy |
| US7861040B2 (en) | 2006-12-28 | 2010-12-28 | Konica Minolta Business Technologies, Inc. | Memory apparatus, cache control method, and cache control program |
| JP2009048673A (en) * | 2007-08-14 | 2009-03-05 | Nippon Hoso Kyokai <Nhk> | Disk unit |
| GB2468455A (en) * | 2007-12-31 | 2010-09-08 | Intel Corp | Memory storage of file fragments |
| GB2468455B (en) * | 2007-12-31 | 2012-08-01 | Intel Corp | Memory storage of file fragments |
| WO2009088580A1 (en) * | 2007-12-31 | 2009-07-16 | Intel Corporation | Memory storage of file fragments |
| JP2010238338A (en) * | 2009-03-31 | 2010-10-21 | Sharp Corp | Drive device, information recording device, data recording method, data recording program, and computer-readable recording medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4106702B2 (en) | 2008-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7472219B2 (en) | Data-storage apparatus, data-storage method and recording/reproducing system | |
| US7747144B2 (en) | Information processing apparatus, information processing method, recording medium, control | |
| JP2000324435A (en) | Disk device | |
| JP2002150699A (en) | Information processor, information processing method, and recording medium with this method recorded thereon | |
| EP1164590A2 (en) | Information playback apparatus, information processing method and information recording medium | |
| JP4256075B2 (en) | File system and storage area management method | |
| JP4106702B2 (en) | Information processing apparatus, data recording / reproducing method, program for data recording / reproducing method, and recording medium recording program for data recording / reproducing method | |
| JP3770138B2 (en) | Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program | |
| JP3940902B2 (en) | Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program | |
| US20050259542A1 (en) | Reproduction device and method, recording medium, and program | |
| JP4470471B2 (en) | Recording / reproducing apparatus and method, and recording / reproducing system | |
| JP2000339868A (en) | Information processing device and data processing method | |
| KR101072730B1 (en) | Recording/reproducing device and recording method | |
| JP2008117491A (en) | Recording device, recording method and program | |
| JP4304569B2 (en) | DATA STORAGE DEVICE, DATA STORAGE DEVICE CONTROL METHOD, DATA STORAGE DEVICE CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING DATA STORAGE DEVICE CONTROL PROGRAM | |
| KR20030061948A (en) | : Apparatus storing information and method for controlling the File using its | |
| JP2005122252A (en) | Playback device, playback recording device, and video editing device | |
| JP3994306B2 (en) | Information processing apparatus and information recording medium access method | |
| JP2000339854A (en) | Disk device | |
| JP2000285590A (en) | Disk device | |
| JP4301026B2 (en) | Data recording apparatus, data recording method, and recording / reproducing system | |
| JP2005209119A (en) | Data storage device and method, and recording and reproducing system | |
| TW588329B (en) | Data processing device and data processing method | |
| JP2003030927A (en) | Information processor and information processing method | |
| JP4038725B2 (en) | File position search method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050405 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070822 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070829 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071022 |
|
| 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: 20080310 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080323 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120411 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130411 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |