Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3770138B2 - Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program - Google Patents
[go: Go Back, main page]

JP3770138B2 - Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program - Google Patents

Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program Download PDF

Info

Publication number
JP3770138B2
JP3770138B2 JP2001320110A JP2001320110A JP3770138B2 JP 3770138 B2 JP3770138 B2 JP 3770138B2 JP 2001320110 A JP2001320110 A JP 2001320110A JP 2001320110 A JP2001320110 A JP 2001320110A JP 3770138 B2 JP3770138 B2 JP 3770138B2
Authority
JP
Japan
Prior art keywords
data
recorded
area
continuous
memory
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.)
Expired - Fee Related
Application number
JP2001320110A
Other languages
Japanese (ja)
Other versions
JP2003125358A (en
Inventor
章 西村
多聞 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2001320110A priority Critical patent/JP3770138B2/en
Priority to US10/262,219 priority patent/US7747144B2/en
Publication of JP2003125358A publication Critical patent/JP2003125358A/en
Application granted granted Critical
Publication of JP3770138B2 publication Critical patent/JP3770138B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、情報処理装置、情報処理装置の制御方法、情報処理装置の制御プログラム及び情報処理装置の制御プログラムを記録した記録媒体に関し、例えばビデオデータを記録するハードディスク装置等に適用することができる。本発明は、クラスタ番号が連続しなくなると、一定時間分のデータをメモリに記録し、続くデータを記録媒体に記録することにより、シークによるアクセス速度の低下を有効に回避することができるようにする。
【0002】
【従来の技術】
従来、パーソナルコンピュータのペリフェラルとして使用されるハードディスクドライブにおいては、ランダムアクセス可能であり、近年、小型化、高記録密度化されている。これによりハードディスクドライブをオーディオデータ、ビデオデータ(以下、AVデータと呼ぶ)の記録に適用してホームサーバー、車載用機器等に利用することが種々に提案されるようになされている。
【0003】
このようなハードディスクドライブにおいては、ハードディスクに記録された管理用のデータにより、複数セクタによるクラスタを単位にしてハードディスクに記録されたデータを管理できるようになされており、この管理をホスト装置であるパーソナルコンピュータ等により実行するようになされている。
【0004】
すなわち図24は、ハードディスクドライブを示すブロック図である。このハードディスクドライブ1は、ホスト装置2に接続されて、このホスト装置2より出力されるAVデータをハードディスク3に記録する。ここでホスト装置2は、例えばAVデータを出力する各種映像機器である。
【0005】
ここでハードディスク3は、図25に示すように、例えばMS−DOS互換ファイルシステムのフォーマットが適用される。すなわちハードディスク3は、情報記録面を内周側領域と外周側領域とに分割し、外周側領域がシステムエントリーエリアに割り当てられる。また内周側領域がデータエリアに割り当てられる。このうちデータエリアは、クラスタに細分化され、所定フレーム数のデータ量を単位にして、各クラスタにAVデータ等が記録される。
【0006】
さらにハードディスク3は、情報記録面が同心円状に複数のゾーンに区切られ、さらに各ゾーンのトラックがそれぞれ円周方向に所定長さで区切られて複数のセクタに分割される。このようにしてセクタ化されてなるハードディスク3は、情報記録面の面番号、情報記録面の外周側より連続して割り当てられるトラック番号、各トラックにおけるセクタを特定するセクタ番号により、物理アドレスが設定され、さらにこの物理アドレスに対応して情報記録面の外周側より順次設定されてなる論理アドレスによりユーザーデータがファイル管理されるようになされている。
【0007】
ここで論理アドレスは、複数の論理セクタの集合によるクラスタを単位にしたクラスタ番号により表される。すなわち論理セクタは、情報記録面における先頭の領域(この場合は最外周である)を0セクタとして設定されるデータの記録単位に対応する領域であり、例えば1の物理セクタが1の論理セクタに対応して、論理セクタ番号=1トラック当たりのセクタ数×(面番号+面の数×トラック番号)+セクタ番号−1の関係式により論理セクタ番号を表すことができるようになされている。なおここで面番号、トラック番号、セクタ番号は、物理アドレスによるものである。
【0008】
ここで論理セクタは、ユーザーデータに換算して1つの論理セクタに512バイトのデータを記録できるように構成され、複数個の論理セクタにより1つのクラスタが構成されるようになされている。なお、1つのクラスタは、一般に2のべき乗個のセクタにより構成され、ユーザーデータを記録するデータエリアにおいて、ファイルエリアの先頭を2とする連番であるクラスタ番号により特定されるようになされている。
【0009】
データエリアは、このようにして設定される各クラスタにクラスタ番号が割り当てられ、このクラスタ番号を基準にしてクラスタ単位でアクセスできるようになされている。なおここでは、クラスタ番号を4桁のヘキサ形式により示す。
【0010】
これに対してシステムエントリーエリアは、さらにブートエリア、FAT(Fail Allocation table )エリア、ディレクトリエリアに分割され、ブートエリアには、ディスクの構造を定義するデータが記録される。これに対してFATエリア及びディレクトリエリアには、データエリアに記録したAVデータのアクセスに必要なアドレス情報等による管理用データが記録される。
【0011】
すなわちディレクトリエリアには、データエリアに記録された各ファイルのファイル名と、各ファイルの記録開始位置である先頭クラスタのクラスタ番号等が記録される。これに対してFATエリアには、各ファイルの先頭クラスタに連続する各クラスタのクラスタ番号等が記録される。これによりハードディスク3は、所望するファイル名の先頭クラスタ番号をディレクトリエリアから検出した後、この先頭クラスタ番号に続くクラスタ番号を順次FATエリアから検出することにより、1つのファイルを構成する連続するクラスタのアドレスを検出できるようになされている。
【0012】
かくするにつきこの図25においては、データエリアのクラスタ番号1234h〜1240hまでのクラスタにファイル1が記録されている場合に、ファイル1の第1クラスタのクラスタ番号1234hを示すコードがディレクトリエリアに記録され、さらにこのクラスタ番号1234hから続くクラスタ番号がFATエリアの対応する領域に順次記録されるようになされている。なおこの図25においてEOF(End Of File )は、1つのファイルの最終クラスタを示す識別情報である。
【0013】
より詳細には、ディレクトリエリアは、データエリアに記録した各ファイル毎に、図26に示す構成により、データ領域に記録された各ファイルをそれぞれ特定するファイル管理用データが記録される。すなわちファイル管理用データは、先頭8バイトにファイル名が割り当てられ、続く3バイトに各ファイルの拡張子が割り当てられる。さらに続く1バイトにファイルの属性を示すデータが割り当てられ、続く10バイトがリザーブ用のデータに割り当てられる。また続く2バイトが記録開始時刻のデータに、続く2バイトが記録日時のデータに割り当てられ、続く2バイトに先頭クラスタ番号であるクラスタ番号が割り当てられるようになされている。なお最後の4バイトには、ファイル長のデータが割り当てられる。
【0014】
これに対してFATエリアは(図25)、データ領域の管理単位である各クラスタの関連を示す識別データが記録される。すなわちFATエリアは、データエリアのクラスタ番号に対応してクラスタアドレスが割り振られ、各クラスタアドレスに続くクラスタのクラスタ番号が記録されるようになされている。また図27に示すように、これらクラスタ番号に割り当てられていないコードのうち、所定のコードがそれぞれ空き領域、欠陥クラスタ、EOFを示す識別情報に割り当てられるようになされている。
【0015】
これによりハードディスク3は、FATエリアをアクセスしてデータエリアの空き領域を検出できるようになされている。また欠陥セクタを基準にして代替処理を実行できるようになされ、さらには記録時、ライトアンドベリファイによるリトライの処理により欠陥セクタを登録できるようになされている。
【0016】
サーボ回路4は、ハードディスク制御回路5の制御によりモータ(M)6を駆動し、これによりハードディスク3を角速度一定の条件により回転駆動する。またサーボ回路4は、同様にしてモータ(M)8を駆動することによりピップアップである磁気ヘッドをシークさせ、さらにトラッキング制御する。
【0017】
リードライトデータチャンネル部9は、ハードディスク制御回路5の制御により、記録時、ハードディスク制御回路5の出力データを記録再生系の特性に適した方式により符号化処理してビット系列のデータを生成し、このデータにより磁気ヘッドを駆動する。また読み出し時、リードライトデータチャンネル部9は、磁気ヘッドより得られる再生信号を信号処理して再生データを生成し、この再生データをハードディスク制御回路5に出力する。
【0018】
ハードディスク制御回路5は、インターフェース制御回路7の指示によりハードディスク3上のデータを管理する制御回路であり、バッファメモリ10を介して入力されるAVデータに応じてサーボ回路4の動作を制御すると共に、このAVデータをリードライトデータチャンネル部9に出力することにより、インターフェース制御回路7を介して指示されるクラスタに順次入力されるデータを記録する。また読み出し時、同様にしてサーボ回路4の動作を制御してリードライトデータチャンネル部9の出力データをバッファメモリ10に出力し、これによりインターフェース制御回路7より指示されたクラスタを再生する。
【0019】
インターフェース制御回路(IF制御)7は、例えばSCSI(Small Computer System Interface )コントローラ、IDE(Intelligent Drive Electronics )コントローラ等により形成され、ホスト装置2との間で送受するデータ、制御コマンド等の入出力回路を構成する。またインターフェース制御回路7は、ホスト装置2より入力されるコマンドcommand、このコマンドに設定されたパラメータを解析し、ハードディスク制御回路5等の動作を制御する。また書き込み時にあっては、バッファメモリ10を介して、ホスト装置2から入力されるデータをハードディスク制御回路5に出力し、また読み出し時にあっては、バッファメモリ10を介して、ハードディスク制御回路5より出力されるデータをホスト装置2に出力する。
【0020】
これに対応してホスト装置2においては、システムメモリ11にワークエリアを確保した中央処理ユニット(CPU)12の処理により、ユーザーによる指示に応じてハードディスクドライブ1に種々のコマンド等を送出する。
【0021】
この処理において中央処理ユニット12は、電源起動時、所定の処理手順の実行により、ハードディスク3のシステムエントリーエリアに記録されてなる管理用データを再生するようにハードディスクドライブ1にコマンドを発行し、その結果ハードディスクドライブ1から出力されるシステムエントリーエリアのデータをシステムメモリ11に記録する。これにより中央処理ユニット12は、ハードディスク3に記録された管理用データを取得し、この管理用データによりパラメータを設定してハードディスクドライブ1に各種コマンドを出力する。
【0022】
すなわちユーザーにより所定のファイルの再生が指示されると、中央処理ユニット12は、システムメモリ11の記録より対応するファイル管理用データを検出し、このファイル管理用データに設定された先頭クラスタ番号を検出する。またこの先頭クラスタ番号よりFATエリアのデータを順次検索し、これによりユーザーにより指定されたファイルについて、ハードディスク3に記録されてなる連続するクラスタ番号を検出する。中央処理ユニット12は、この検出結果により、先頭クラスタ番号、データ長等のパラメータを設定して再生のコマンドを発行し、ハードディスクドライブ1においては、このコマンドによりハードディスク3に記録されたデータを再生して出力する。中央処理ユニット12及びハードディスクドライブ1は、所定のデータ長を単位にして、管理用データの記録を順次辿って、コマンドの発行、データの再生を繰り返し、これにより所望するファイルを再生するようになされている。
【0023】
これ対してユーザーによりデータの記録が指示されると、同様に、システムメモリ11に記録されたFATエリアのデータを順次辿って空き領域を検出し、この空き領域によるクラスタに記録するようにパラメータを設定して書き込みコマンドを発行する。ハードディスクドライブ1は、この書き込みのコマンドに応動して、順次入力されるデータをハードディスク3に記録する。中央処理ユニット12及びハードディスクドライブ1は、所定のデータ長を単位にして、管理用データの記録を順次辿って、コマンドの発行、データの記録を繰り返し、これにより所望するファイルを記録するようになされている。
【0024】
またこのようにしてファイルの記録を完了すると、このファイルの記録に対応するようにシステムメモリ11の記録を更新し、また所定のタイミングで、システムメモリ11の記録に対応するように、ハードディスクドライブ1にシステムエントリーエリアの更新を指示し、これによりこのようにして記録したファイルを改めて再生できるようになされている。
【0025】
【発明が解決しようとする課題】
ところでハードディスクドライブにおいては、シークを開始してハードディスクに記録されたデータの再生を開始するまでに時間(以下、シークに要する時間と呼ぶ)を要し、これによりアクセス速度が低下する問題がある。
【0026】
すなわちハードディスクドライブにおいて、シークにより所望するクラスタのデータを再生する場合、目的トラックまで磁気ヘッドを移動させて整定させた後、磁気ヘッドが目的のクラスタを走査するまで待機することが必要になり、この目的トラックまでの移動に要する時間(シーク時間)、目的クラスタを走査するまでの時間(回転待ち時間)の合計時間だけ、シークに時間を要することになる。
【0027】
ハードディスクドライブにおいて、このシークに要する時間は、一般に数ミリ秒の短い時間ではあるものの、記録再生、編集作業を繰り返して、多くのファイルが複数の領域に分散して記録されるようになると、このシークに要する時間を無視できなくなり、実質的に、ハードディスクより再生したデータのデータ転送速度が低下し、その分アクセス速度が著しく低下するようになる。
【0028】
この問題を解決する1つの方法として、例えばコマンドキューイングによりハードディスクをアクセスする方法が提案されている。この方法は、磁気ヘッドの現在位置より近い再生開始より順次ハードディスクをアクセスすると共に、再生したデータをバッファリングにより並び換えて出力することにより、順次ハードディスクをアクセスする場合に比して、シーク時間を短くするものである。しかしながらこの方法においては、制御が煩雑な問題があり、またシークに要する時間のうち、シーク時間が若干短くなるだけであることにより、充分な効果を得ることができない問題もある。
【0029】
本発明は以上の点を考慮してなされたもので、シークに要する時間によるアクセス速度の低下を有効に回避することができるハードディスク等による情報処理装置、情報処理装置の制御方法、情報処理装置の制御プログラム及び情報処理装置の制御プログラムを記録した記録媒体を提案しようとするものである。
【0030】
【課題を解決するための手段】
かかる課題を解決するため請求項1の発明においては、ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置に適用して、前記ディスク状記録媒体は、前記連続するデータを記録する領域の管理用データを管理用データの記録領域に記録して保持し、前記情報処理装置は、前記ディスク状記録媒体に前記連続するデータを記録し、前記ディスク状記録媒体に記録された前記連続するデータを再生する記録再生部と、前記連続するデータを記録するメモリと、前記記録再生部、前記メモリを制御する制御部とを有し、前記制御部は、前記記録再生部を介して前記管理用データの記録領域から得られる前記管理用データに基づいて、前記クラスタ単位で、空き領域、記録されたデータのファイルを検出し、該検出結果に基づいた前記記録再生部、前記メモリの制御により、クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータを前記メモリに記録し、続く空き領域に前記連続するデータの続きを記録すると共に、該連続するデータの記録に対応するように前記管理用データを更新し、再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力する。
【0031】
また請求項の発明においては、ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置の制御方法に適用して、クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録するデータ記録のステップと、再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力するデータ再生のステップとを有するようにする。
【0032】
また請求項の発明においては、ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置の制御プログラムに適用して、クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録するデータ記録のステップと、再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力するデータ再生のステップとを有するようにする。
【0033】
また請求項の発明においては、ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置の制御プログラムを記録した記録媒体に適用して、前記制御プログラムは、クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録するデータ記録のステップと、再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力するデータ再生のステップとを有するようにする。
【0034】
請求項1の構成によれば、ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置に適用して、クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録し、再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力することにより、シークして再生困難な期間については、メモリに保持したデータを割り当てて連続するデータを出力することができ、これによりシークによるアクセス速度の低下を有効に回避することができる。
【0035】
これにより請求項、請求項又は請求項の構成によれば、シークによるアクセス速度の低下を有効に回避することができる情報処理装置の制御方法、情報処理装置の制御プログラム又は情報処理装置の制御プログラムを記録した記録媒体を提供することができる。
【0036】
【発明の実施の形態】
以下、適宜図面を参照しながら本発明の実施の形態を詳述する。
【0037】
(1)第1の実施の形態
(1−1)第1の実施の形態の構成
図1は、本発明の第1の実施の形態に係るビデオカメラを示すブロック図である。このビデオカメラ21では、ホスト装置22により所望の被写体を撮像してAVデータを生成し、このAVデータをハードディスクドライブ23で記録する。またこのようにハードディスクドライブ23で記録したAVデータを再生してホスト装置22で表示する。このためホスト装置22においては、このようなAVデータを取得してAVデータをバスBUSに出力する撮像機構、信号処理回路、バスBUSに出力されるAVデータをモニタするモニタ機構を有するようになされている。
【0038】
これに対してハードディスクドライブ23は、ホスト装置22、セットトップボックス、パーソナルコンピュータ(PC)等の各種機器に装着されて、これらの機器より出力される各種データを記録する。またこれらの機器に装着された状態で、又はこれらの装置より取り外されて他の機器に装着された状態で、記録したデータを再生して出力する。
【0039】
ここでこのハードディスク24は、図2に示すように、システムエントリーエリア、データエリアに加えてAVデータエリアが形成される。ここでAVデータエリアは、AVデータを記録する際に、再生時、シークによるアクセスが必要となる個所の先頭部分に割り当てられるAVデータを、所定秒数分、選択的に記録する領域である。またこの所定秒数は、ハードディスクドライブ23において、シークに要する時間のうち、最長の時間より長い時間に設定され、この実施の形態では、ビデオデータの1フレーム(33〔msec〕)に対応する時間が割り当てられるようになされている。
【0040】
また再生時、シークによるアクセスが必要となる個所は、このビデオカメラ21による録画開始位置、連続したAVデータの記録においてクラスタ番号が連続しなくなった先頭位置に設定される。なおビデオカメラ21では、これらの個所のうち、この録画開始位置がファイルの先頭位置となるようにAVデータがファイル管理されて記録されるようになされている。このハードディスク24では、このAVデータエリアに記録するAVデータに続くAVデータがデータエリアに記録されるようになされている。
【0041】
ハードディスク24は、これらAVデータエリア、データエリアが連続したクラスタ番号により、また図24〜図27について上述したFATエリア、ディレクトリーエリアにより、まとめて従来のデータエリアと同様にファイル管理されるようになされ、これによりディレクトリーエリアの記録により先頭クラスタ番号を検出して、AVデータエリアに記録された対応するファイルのAVデータを検出できるようになされ、またFATエリアの記録を辿って、AVデータエリア、データエリアに分割して記録されたAVデータによるファイルを再生できるようになされている。
【0042】
この構成に対応してホスト装置22において、中央処理ユニット31は、電源が立ち上げられると、ハードディスクドライブ23に再生コマンドを送出してシステムエントリーエリアの再生を指示し、この結果得られるFATエリア、ディレクトリーエリアのデータをシステムメモリ32に格納する。また中央処理ユニット31は、続いてAVデータエリアの再生コマンドをハードディスクドライブ23に送出し、その結果得られるAVデータエリアのデータをAVデータメモリ33に格納する。
【0043】
ここでAVデータメモリ33は、AVデータエリアに記録されたデータを格納する専用のメモリであり、図2に示すように、この実施の形態では、ハードディスク3のAVデータエリアと同一の容量が割り当てられ、これによりAVデータエリアに記録されたデータを漏れなく記録できるようになされている。またAVデータメモリ33は、AVデータエリアのクラスタアドレスに対応するようにアドレスが設定されるようになされ、これによりホスト装置22では、ハードディスク3のアクセスに供する論理アドレスをAVデータメモリ33のアドレスに簡易な処理によりアドレス変換して、AVデータエリアの再生に代えて、このAVデータメモリ33に記録された対応するAVデータを出力できるようになされている。これによりホスト装置22は、再生時、シークが必要となる個所に割り当てられるAVデータについては、AVデータエリアに纏めて記録し、起動時、先読みしてAVデータメモリ33に保持するようになされている。
【0044】
また中央処理ユニット31は、ハードディスク3に記録されたAVデータの再生が指示されると、従来と同様に、システムメモリ32に記録されたディレクトリーエリア、FATエリアのデータを検索し、これにより所定のデータ量単位で、再生に係るファイルが記録されてなる連続するクラスタを順次検出する。中央処理ユニット31は、このようにして検出したクラスタにより、再生開始位置のクラスタアドレス、転送長をパラメータに設定して読み出しコマンドをアドレス変換回路34に発行する。これにより中央処理ユニット31は、アドレス変換回路34を介して読み出しコマンドを繰り返し発行して所望するファイルを再生するようになされている。
【0045】
ここでアドレス変換回路34は、中央処理ユニット31から出力される読み出しコマンドのアドレスを解析し、これらのアドレスにより指定される領域がAVデータエリアのクラスタの場合、このアドレスをAVデータメモリ33のアドレスに変換してAVデータメモリ33をアドレス制御する。またこのアドレスに続くクラスタ番号をシステムメモリ32に記録したFATエリアのデータより検出し、ハードディスクドライブ23にこの続くクラスタへのシークを指示する。これに対してコマンドに付加されたアドレスがデータエリアのアドレスの場合、中央処理ユニット31より出力されるコマンドをハードディスクドライブ23に出力する。
【0046】
これによりアドレス変換回路34は、読み出しコマンドについては、ハードディスク24のAVデータエリアに代えて、AVデータメモリ33より対応するAVデータをバスBUSに出力するように、アドレス変換の処理を実行するようになされている。またこのAVデータを出力している期間の間で、続くクラスタの再生を準備するように、ハードディスクドライブ23の動作を制御する。これに対してアドレス変換回路34は、書き込みコマンドについては、AVデータメモリ33のアドレス制御により、このコマンドに指示されたAVデータメモリ33の領域にAVデータを記録するようになされている。
【0047】
これらによりホスト装置22は、読み出しの処理において、シークの処理が必要となる場合には、シークしている間、AVデータメモリ33に保持した対応するAVデータを出力し、シークを完了してハードディスク24をアクセス可能となると、ハードディスク24から再生される続くAVデータを出力するようになされている。
【0048】
これに対して中央処理ユニット31は、ファイルの書き込みが指示されると、この場合も従来と同様に、システムメモリ32に記録されたFATエリアのデータを検索して順次空き領域を検出し、この空き領域による記録開始位置のクラスタアドレス、データ転送長によりパラメータを設定して書き込みコマンドを発行する。
【0049】
この処理において、中央処理ユニット31は、記録開始時においては、AVデータエリアに上述した所定データ量のAVデータを記録するように、AVデータエリアより空きクラスタを検出してコマンドを発行する。また空き領域の検出においてクラスタ番号が連続しなくなった先頭位置については、AVデータエリアに上述した所定データ量のAVデータを記録するように、AVデータエリアより空きクラスタを検出してコマンドを発行する。またこれらに続くAVデータについては、データエリアより順次空きクラスタを検出してコマンドを発行する。
【0050】
これにより中央処理ユニット31は、シークを要する場合には、このシークに要する時間の間のAVデータであって、AVデータエリアに記録するデータについては、AVデータメモリ33に記録し、残りのデータを直接ハードディスク24に記録するようになされている。
【0051】
また中央処理ユニット31は、このようにして1つのファイルについてAVデータの書き込みを完了すると、AVデータメモリ33の記録が、AVデータエリアと一致するように、ハードディスク24に記録したAVデータエリアの再生をハードディスクドライブ23に指示し、この結果得られるAVデータをAVデータメモリ33に記録する。またこのようにして全てのAVデータのハードディスク24への記録を完了すると、システムメモリ32に格納したFATエリア、ディレクトリーエリアのデータをこのファイルの記録に対応するように更新し、所定のタイミングでハードディスク24のシステムエントリーエリアを更新する。
【0052】
すなわち図3は、電源起動時における中央処理ユニット31の処理手順を示すフローチャートである。中央処理ユニット31は、起動すると、ステップSP1からステップSP2に移り、ハードディスクドライブ23の動作を立ち上げる。続いて中央処理ユニット31は、システムエントリーエリアの読み出しコマンドを発行し、ハードディスクドライブ23より得られるディレクトリーエリア、FATエリアのデータをシステムメモリ32に格納する。
【0053】
さらに続いてステップSP3に移り、AVデータエリアの読み出しコマンドを発行し、続くステップSP4において、このコマンドに応動してAVデータエリアのデータがハードディスクより読み出されてホスト装置に送信され、中央処理ユニット31は、このデータをAVデータメモリ33に格納する。さらに続くステップSP5において、アドレス変換回路34におけるアドレス変換テーブルを設定した後、ステップSP6に移ってこの処理手順を終了する。
【0054】
これに対して図4及び図5は、書き込みの処理を示すフローチャートである。この場合、中央処理ユニット31は、書き込みのコマンドによりステップSP11からステップSP12に移り、システムメモリ32に記録した管理用データを検索し、AVデータエリアから空き領域を示すコードが設定されてなるクラスタ番号(空きクラスタアドレス)を検出する。
【0055】
このようにして空きクラスタアドレスを検出すると、中央処理ユニット31は、続くステップSP13において、この空きクラスタアドレスと転送長とによりパラメータを設定して書き込みコマンドを発行した後、続くステップSP14で記録に供するデータを転送長の分だけハードディスクドライブ23に送出する。これによりハードディスクドライブ23においては、続くステップSP15において、書き込みのコマンドに応動して続いて伝送されるAVデータをバッファメモリ10に記録し、続くステップSP16において、このバッファメモリ10に記録したデータをホスト装置22により指定されたAVデータエリアの空きクラスタに記録する。
【0056】
ハードディスクドライブ23は、このようにしてホスト装置22より伝送されたデータの記録を完了すると、ステップSP17において、ホスト装置22に割り込みをかける。中央処理ユニット31においては、この割り込みによりステップSP18に移り、ここでシステムメモリ32に記録した管理用データを検索し、所定クラスタ数の範囲で、データエリアから空き領域を示すコードが設定されてなる連続するクラスタ番号を検出する。
【0057】
続いて中央処理ユニット31は、ステップSP19において、ステップSP18で検出した空きクラスタアドレスと転送長とによりパラメータを設定して書き込みコマンドを発行した後、続くステップSP20で記録に供するデータを転送長の分だけハードディスクドライブ23に送出する。これによりハードディスクドライブ23においては、続くステップSP21において、書き込みのコマンドに応動して続いて伝送されるデータをバッファメモリ10に記録し、続くステップSP22において、このバッファメモリ10に記録したデータをホスト装置2により指定されたデータエリアの空きクラスタに記録する。
【0058】
ハードディスクドライブ23は、このようにしてホスト装置22より伝送されたデータの記録を完了すると、ステップSP23において、ホスト装置22に割り込みをかける。中央処理ユニット31は、この割り込みにより続くステップSP24で、記録に供するデータの転送を全て完了したか否か判断し、ここで否定結果が得られると、ステップSP25に移る。
【0059】
これにより中央処理ユニット31は、記録開始よりシークに要する時間分のデータ量については、AVデータエリアに記録し、続くAVデータをデータエリアに記録するようになされている。
【0060】
このようにしてステップSP25に移ると、中央処理ユニット31は、システムメモリ32に記録した管理用データを検索し、所定クラスタ数の範囲で、データエリアから空き領域を示すコードが設定されてなる連続するクラスタ番号を検出する。
【0061】
さらに続くステップSP26において、先に記録したAVデータエリアとの間で、クラスタ番号が連続しているか否か判断することにより、ステップSP25で検出したクラスタへの記録を開始する際に、シークが発生するか否か判断する。ここで否定結果が得られると、中央処理ユニット31は、ステップSP19に移り、同様にしてデータエリアに続くAVデータを記録する。これに対してステップSP26で否定結果が得られると、ステップSP12に戻り、ステップSP25で検出したクラスタ番号を無視して、AVデータエリアについて、空きクラスタを検出する。
【0062】
これにより中央処理ユニット31は、クラスタ番号の連続性が途絶えてシークが必要となる場合には、このシーク直後の再生開始位置に相当するAVデータについても、AVデータエリアに記録するようになされている。
【0063】
中央処理ユニット31は、これらの一連の処理を繰り返して、記録に供するデータを全てハードディスク24に記録すると、ステップSP24で肯定結果を得ることができる。これにより中央処理ユニット31は、ステップSP24からステップSP27に移り、このAVデータの記録に対応するようにシステムエントリーエリア、システムメモリ32のFATエリア、ディレクトリーエリアのデータを更新する。また、AVデータメモリ33の記録がAVデータエリアの記録と一致するように、AVデータエリアの再生をハードディスクドライブ23に指示し、その結果得られるAVデータをAVデータメモリ33に記録し、ステップSP28に移ってこの処理手順を終了する。
【0064】
これに対して図6〜図8は、ファイル名の指定により読み出しが指示された場合の処理を示すフローチャートである。この場合、中央処理ユニット31は、ステップSP31からステップSP32に移り、システムメモリ32に記録した管理用データのうちの、ディレクトリーエリアのデータより対応するファイルのファイル管理用データ(図27)を検出し、このファイルの先頭クラスタ番号によるアドレスを検出する。
【0065】
中央処理ユニット31は、続いてステップSP33に移り、この先頭クラスタアドレスと転送長とによりパラメータを設定して読み出しコマンドを発行する。
【0066】
ここでこのようにして発行されるコマンドに付加されたクラスタアドレスにおいては、上述した記録時の処理により、AVデータエリアのクラスタを示していることにより、ホスト装置22においては、続くステップSP34において、アドレス変換回路34によるこのコマンドの解析により、アドレス変換回路34でシステムメモリ32が検索され、続くクラスタアドレスが検出される。
【0067】
また続くステップSP35において、この検出した続くクラスタアドレスによりアドレス変換回路34からハードディスクドライブ23にシークコマンドが出力される。また続くステップSP36において、中央処理ユニット31からのコマンドに対応するAVデータをAVデータメモリ33から読み出すように、中央処理ユニット31からのコマンドに設定されたアドレスがAVデータメモリ33のアドレスに変換され、続くステップSP37において、このアドレスによりAVデータメモリ33からAVデータが読み出されて所定の機器に出力される。
【0068】
これによりこのホスト装置22では、ファイルのアクセスを開始すると、アドレス変換回路34の制御により、AVデータメモリ33に格納した先頭部分のAVデータの再生を開始し、続くクラスタを再生可能に、ハードディスクドライブ23にシークコマンドを出力するようになされている。
【0069】
このようにしてAVデータの出力を開始すると、中央処理ユニット31は、続くステップSP38において、ホストメモリ32の記録をアクセスすることにより、所定クラスタ数の範囲で、続くAVデータが記録されてなる連続するクラスタ番号を検出する。さらに中央処理ユニット31は、続くステップSP39(図7)において、このようにして検出したクラスタ番号において、EOFのコードが検出されたか否か判断し、ここで否定結果が得られると、ステップSP40に移る。
【0070】
ここで中央処理ユニット31は、このようにして検出したクラスタ番号がAVデータエリアに属するものか否か判断し、ここで否定結果が得られると、ステップSP41に移り、ステップSP39で検出したクラスタ番号によりパラメータを設定して読み出しコマンドを発行する。かくするにつき、このようにして発行される読み出しコマンドの先頭クラスタにおいては、ステップSP35におけるアドレス変換回路34からのシークコマンドにより、ハードディスクドライブ23においては、既に再生の開始を待ち受けていることになる。これによりこのビデオカメラ21では、ファイルの記録開始位置にシークする場合でも、このシークによるアクセス速度の低下を有効に回避できるようになされている。
【0071】
これによりハードディスクドライブ23においては、このコマンドにより、何らシークの処理を実行することなく、続くステップSP42において、対応するクラスタよりAVデータを再生し、このAVデータを続くステップSP43において、バッファメモリ10に記録する。またAVデータの再生を完了すると、ステップSP44において、ホスト装置22に割り込みをかけ、中央処理ユニット31においては、この割り込みによりAVデータの転送をハードディスクドライブ23に指示した後、ステップSP38に戻る。
【0072】
これによりこのビデオカメラ21では、連続するクラスタにAVデータが記録されている場合には、ステップSP38−SP39−SP40−SP41−SP42−SP43−SP44−SP45−SP38の処理手順を繰り返し、所定のデータ量単位で、ハードディスク24のデータエリアよりAVデータを再生して所定の機器に出力するようになされている。
【0073】
これに対してこのようなクラスタの連続性が途絶えると、ステップSP40で肯定結果が得られることにより、中央処理ユニット31は、ステップSP40からステップSP46に移る。ここで中央処理ユニット31は、ステップSP39で検出したクラスタアドレスにより読み出しコマンドを発行する。ここでこの場合、上述した記録時の処理により、このコマンドのクラスタアドレスがAVデータエリアを指示していることにより、ホスト装置22においては、再生開始時と同様に、続くステップSP47において、アドレス変換回路34によるこのコマンドの解析により、アドレス変換回路34でシステムメモリ32が検索され、続くクラスタアドレスが検出される。
【0074】
また続くステップSP48において、この検出した続くクラスタアドレスによりアドレス変換回路34からシークコマンドが出力される。また続くステップSP49において、中央処理ユニット31からのコマンドに対応するAVデータをAVデータメモリ33から読み出すように、このコマンドの設定されたアドレスがAVデータメモリ33のアドレスに変換され、続くステップSP50において、このアドレスによりAVデータメモリ33からAVデータが読み出されて所定の機器に出力される。
【0075】
これによりこのホスト装置22では、ハードディスク24のアクセスにシークが必要な場合には、アドレス変換回路34の制御により、AVデータメモリ33に格納したシーク後の再生開始位置のAVデータについて、再生を開始すると共に、続くクラスタを再生可能に、ハードディスクドライブ23にシークコマンドを出力するようになされている。
【0076】
このようにしてシークの処理に関して、AVデータの出力を開始すると、中央処理ユニット31は、ステップSP38に戻り、ホストメモリ32の記録をアクセスすることにより、所定クラスタ数の範囲で、続くAVデータが記録されてなる連続するクラスタ番号を検出し、続くステップSP39−SP40−SP41の処理手順を順次実行する。
【0077】
かくするにつき、このようにしてステップSP41で発行される読み出しコマンドの先頭クラスタにおいては、この場合、ステップSP48におけるアドレス変換回路34からのシークコマンドにより、ハードディスクドライブ23においては、既に再生の開始を待ち受けていることになる。これによりこのビデオカメラ21では、ハードディスク24のAVデータを記録してなる領域の連続性が途絶えることによりシークする場合でも、このシークによるアクセス速度の低下を有効に回避できるようになされている。
【0078】
これらの処理の繰り返して、再生対象のファイルの末尾に近づくと、システムメモリ32をアクセスして検出されるFATエリアの記録にEOFが含まれることになる。これにより中央処理ユニット31は、ステップSP39で肯定結果が得られ、ステップSP52(図8)に移る。
【0079】
ここで中央処理ユニット31は、このようにしてEOFが検出されてなるクラスタ番号がAVデータエリアに属するものか否か判断し、ここで否定結果が得られると、ステップSP44に移り、ステップSP39で検出したクラスタ番号によりパラメータを設定して読み出しコマンドを発行する。これによりハードディスクドライブ23においては、続くステップSP54において、対応するクラスタよりAVデータを再生し、このAVデータを続くステップSP55において、バッファメモリ10に記録する。またAVデータの再生を完了すると、ステップSP56において、ホスト装置22に割り込みをかけ、中央処理ユニット31においては、この割り込みによりAVデータの転送をハードディスクドライブ23に指示した後、ステップSP58に移ってこの処理手順を終了する。
【0080】
これに対してステップSP52で否定結果が得られると、ホスト装置22は、上述したと同様のアドレス変換回路34による制御により、ステップSP59において、ステップSP39で検出されたクラスタアドレスをAVデータメモリ33のアドレスに変換し、続くステップSP60で、このアドレスによるAVデータメモリ33の制御により対応するAVデータをAVデータメモリ33より再生して出力し、ステップSP58に移ってこの処理手順を終了する。
【0081】
(1−2)第1の実施の形態の動作
以上の構成において、このビデオカメラ21では(図1及び図2)、電源が立ち上げられると、ハードディスク24からシステムエントリーエリアのデータが再生され、このシステムエントリーエリアのデータのうち、AVデータエリア、データエリアの管理用データであるFATエリア、ディレクトリーエリアのデータがホスト装置22のシステムメモリ32に格納される。
【0082】
これによりこのビデオカメラ21では、このシステムメモリ32に格納した管理用データにより所望するファイルの記録位置を検出して、順次ハードディスクドライブ23に読み出しコマンドを発行することにより、所望するファイルを再生することができるようになされている。また同様にして、管理用データより空き領域を検出し、この検出結果によりアドレスを設定して書き込みコマンドを発行することにより、撮像結果をハードディスク24に記録することができるようになされている。
【0083】
ビデオカメラ21では、起動時、システムエントリーエリアのデータをシステムメモリ32にロードすると、続いてハードディスク24に記録された各ファイルについて、これらファイルの先頭、クラスタの連続性が失われた個所の先頭にである再生開始位置より所定時間分のデータが再生されてAVデータメモリ33に格納される。また読み出しの指示が得られると、このようにしてAVデータメモリ33に格納されたデータより、対応するデータが出力された後、ハードディスク24を再生して得られる続くデータが出力される。
【0084】
これによりビデオカメラ21では、ファイルの記録開始位置にシークする場合でも、AVデータメモリ33に保持したAVデータを出力している期間の間で、シークして続くAVデータを再生することができ、このシークによるアクセス速度の低下を有効に回避できる。また例えば上位のアプリケーションプログラムの指示により、さらには外部機器の指示により、編集リストに従って複数ファイルを連続して再生する場合でも、同様にして、各ファイル先頭のシークによるアクセス速度の低下を有効に回避できる。
【0085】
またこのようにシークによるアクセス速度の低下を有効に回避するために、ビデオカメラ21では、記録時、ファイル先頭の所定データ量、クラスタの連続性が途絶えてなる先頭の所定データ量のAVデータがAVデータエリアに記録される。
【0086】
すなわち例えば図9(A)に示すように、ファイル1から順次ファイル5までのAVデータを連続したクラスタに記録し、これらファイル1〜5を順次再生する場合には、従来と同様に各ファイルを記録、また再生して、何らシークすることなく、これらファイルを再生することができ、これによりシークによるアクセス速度の低下を有効に回避することができる。
【0087】
このようにしてファイル1から順次ファイル5を連続したクラスタに記録する場合、このビデオカメラ21では、各ファイルの先頭、所定データ量がAVデータエリアに記録され、またこのAVデータがAVデータメモリ33に読み出されて保持される。これにより図10(A)において、AVデータメモリ33に保持された各ファイル先頭のデータをハッチングにより示すように、この実施の形態では、これらのファイルを連続して再生する場合、各ファイル先頭で、AVデータメモリ33に保持されたAVデータが出力された後、続いてデータエリアより再生されたAVデータが出力されることになる。
【0088】
ここで図9(B)に示すように、ファイル3を削除して連続するファイルを順次再生する場合、従来手法においては、ファイル2の再生を完了してファイル4の先頭を再生するまでの間で、シークに要する時間の分、連続したAVデータの出力が途絶えることになる。しかしながらこの実施の形態においては、図10(B)に示すように、これらファイル2の再生を完了してファイル4を再生するまでの間において、シークに要する時間の間、AVデータメモリ33に保持されたAVデータが出力され、その後、データエリアに記録されたファイル4の続くAVデータが出力され、これによりこれらファイル2及び4間でクラスタの連続性が途絶えている場合でも、シークに要する時間によるアクセス速度の低下を有効に回避することができる。なおこの実施の形態では、このようにファイル3を削除すると、当然に、データエリアだけでなくAVデータエリアのFATエリアについても、空き領域を示すコード(図27)が設定され、これによりAVデータエリアに記録したファイル3のAVデータも削除されることになる。
【0089】
またこのようにしてファイル3を削除して、ファイル3よりデータ量の大きなファイル6を記録する場合、図9(C)に示すように、このデータ量の大きなファイル6においては、ファイル3が削除された領域に記録された後(ファイル6aである)、ファイル5に続く空き領域に記録される。これによりこれらのファイルを連続して再生する場合、従来手法においては、ファイル2からファイル4の間、ファイル5からファイル6aの間、ファイル6aからファイル6bの間で、クラスタの連続性が途絶え、これらの間でシークに要する時間の間、AVデータを再生することが困難になり、その分、アクセス速度が低下することになる。
【0090】
この場合、この実施の形態においては、それぞれファイル6a、ファイル6bの先頭、所定データ量がAVデータメモリ33に格納されて保持され、これにより図10(C1)に示すように、これらファイル2からファイル4の間、ファイル5からファイル6aの間、ファイル6aからファイル6bの間で、クラスタの連続性が途絶えてシークに要する時間の間、AVデータメモリ33に保持されたAVデータが出力され、これによりシークによるアクセス速度の低下を有効に回避することができる。
【0091】
また図10(C2)に示すように、ファイルの再生順序を入れ換えて再生する場合でも、シークによるアクセス速度の低下を有効に回避することができる。なおこの図10(C2)においては、図10(C1)との対比により、ファイル2とファイル4との再生順序を入れ換えた場合である。
【0092】
また図9(D)に示すように、ディレクトリーエリアに記録されたファイル管理用データの記録を更新して、ファイル1とファイル4と連結して1つのファイル7とする場合、この1つのファイル7においては、ファイル1とファイル4とにそれぞれ対応してなるファイル7aとファイル7bとによりデータエリアに記録されることになる。しかしながらこの場合でも、図10(D)に示すように、これらのファイルを元の再生順序により再生して、さらには種々の順序により再生して、シークによるアクセス速度の低下を有効に回避することができる。
【0093】
またこのビデオカメラ21では、このようなファイル先頭と同様に、1つのファイルの中で、クラスタの連続性が途絶えた部分についても、その先頭より所定データ量のAVデータをAVデータエリアに記録する。さらにこのAVデータエリアのAVデータをAVデータメモリ33に保持し、このAVデータメモリ33に保持したAVデータを出力した後、続くAVデータをAVデータエリアより再生して出力する。これによりこのように1つのファイル内でクラスタの連続性が途絶えたことによりシークする場合でも、このシークによるアクセス速度の低下を有効に回避することができる。
【0094】
なお中央処理ユニット31は、このように連続して複数ファイルを再生する場合には、編集リストに従って、別途、これらファイル間の結合関係を示す連結ファイル情報をシステムメモリ32の記録領域に形成し、この連結ファイル情報を基準にして順次再生するようになされている。
【0095】
図11(B)は、ディレクトリーエリアの記録との対比により、このようにしてシステムメモリ32に形成される連結ファイル情報による連結ファイル情報エリアを示す図表である。この連結ファイル情報エリアには、ファイル1、2、5、6を連続して再生する場合に、ファイル1に続いて再生するファイル2のファイル名又はこのファイル2の先頭クラスタ番号、ファイル2に続いて再生するファイル5のファイル名又はこのファイル5の先頭クラスタ番号、ファイル5に続いて再生するファイル6のファイル名又はこのファイル6の先頭クラスタ番号、ファイル6が最後のファイルであることを示す連結ファイル無しのコード又はEOFのコードが順次記録されて形成される。
【0096】
これによりこの実施の形態では、ディレクトリーエリア及びFATエリアの記録を辿ってファイル1を再生した後、この連結ファイル情報により続いて再生するファイルがファイル2であることを検出し、さらにこのファイル2について、ディレクトリーエリア及びFATエリアの記録又はFATエリアの記録を辿って続くファイル2を再生できるようになされている。またこのような処理の繰り返しにより最後のファイル6の再生を完了する際に、続くこれら連続したファイルの再生の末尾であることを検出できるようになされている。
【0097】
なおこのようにして形成される連結ファイル情報においては、図12に示すように、各ファイルの最終クラスタ番号をキーにして、続いて再生するファイルの先頭クラスタ番号を記述して作成することもできる。この場合、中央処理ユニット31においては、FATエリアのデータにより各ファイルのクラスタ番号を検出してEOFが検出されると、このEOFが検出されてなるクラスタ番号によりこの連結ファイル情報を検索し、ファイルの先頭クラスタ番号を検出することにより、続くファイルを順次再生するようになされている。なおこのような連結ファイル情報によるリストにおいては、ハードディスク24のデータエリアに記録することが考えられる。
【0098】
(1−3)第1の実施の形態の効果
以上の構成によれば、クラスタ番号が連続しなくなると、一定時間分のデータをメモリに記録し、続くデータを記録媒体に記録することにより、シークに要する時間の間、このメリに保持したデータを出力し、その後、ハードディスク24から再生したデータを出力することができる。これによりシークによるアクセス速度の低下を有効に回避することができる。
【0099】
またこのようにしてAVデータメモリに記録する先頭部分が、ファイルの先頭部分であることにより、ファイルの先頭までのシークする場合に、このシークの間、AVデータメモリに保持されたAVデータを出力して、シークによるアクセス速度の低下を有効に回避することができる。これによりファイルの再生を指示して即座に所望するファイルのAVデータを出力することができ、また種々の順序で複数ファイルを順次再生する場合に、連続するファイル間で、AVデータを途絶えることなく出力することができる。
【0100】
またこのようにしてAVデータメモリに記録する先頭部分が、連続したクラスタへの記録が途絶えた後の、続く先頭のクラスタであることにより、クラスタの連続性が途絶えてシークする場合についても、シークによるアクセス速度の低下を有効に回避することができ、これによりAVデータを途絶えることなく出力することができる。
【0101】
またこのようにAVデータメモリに保持するAVデータを、所定のタイミングでハードディスク24より再生してAVデータメモリに記録することにより、従来と同一のファイル管理システムによるハードディスクドライブを使用して、この種の処理を実行することができる。
【0102】
またこのようなタイミングが起動時であることにより、ハードディスク24に記録された既存のファイルについて、これらの処理を確実に実行することができる。
【0103】
またこの所定のタイミングが、1つのファイルのハードディスク24への記録を完了した後であることにより、記録した直後のファイルをアクセスする場合についても、シークによるアクセス速度の低下を有効に回避することができる。
【0104】
またこのようにAVデータメモリに記録するAVデータを、ハードディスク24の所定領域であるAVデータエリアに纏めて記録することにより、高速度で、AVデータメモリにAVデータを転送することができ、その分、処理に要する時間を短くすることができる。
【0105】
(2)第2の実施の形態
この実施の形態に係るビデオカメラは、編集処理により個々のファイルを操作する。なおこの実施の形態に係るビデオカメラの構成においては、中央処理ユニット31がこの編集処理に係る処理手順を実行する点を除いて、図1について上述した構成と同一であることにより、図1の構成を流用して説明する。
【0106】
すなわちこの実施の形態において、中央処理ユニット31は、上位のアプリケーションプログラムの制御により、さらには外部機器の制御により、FATエリアの記録、ディレクトリーエリアの記録を更新し、これにより1つのファイルを複数ファイルに分割し、さらには複数のファイルを結合して1つのファイルを作成し、さらにはファイルを部分的に消去する。
【0107】
中央処理ユニット31は、これらの処理において、個々のファイルを処理する毎に、これらの処理に対応するように、AVデータエリア、AVデータメモリ33の記録を更新する。
【0108】
すなわち1つのファイルを複数ファイルに分割した場合には、分割後の各ファイル先頭のAVデータを、AVデータエリア、AVデータメモリ33に記録し、また対応する先頭部分のAVデータの記録をデータエリアより消去する。またこれらの処理に対応するように、FATエリア、ディレクトリーエリアの記録を更新する。
【0109】
また複数のファイルを結合して1つのファイルを作成する場合、この場合には、結合後のファイルにおいて、結合前の各ファイルの先頭部分で、クラスタの連続性が途絶えることにより、何らAVデータエリア、AVデータメモリ33の記録は更新することなく、FATエリア、ディレクトリーエリアの記録の更新により対応する。
【0110】
これに対してファイルを部分的に消去する場合であって、この消去によりクラスタの連続性が途絶える場合、この消去した部分に続く先頭部分のAVデータをAVデータエリア、AVデータメモリ33に記録する。またこの処理に対応するようにFATエリア、ディレクトリーエリアの記録を更新する。
【0111】
これらの処理により、この実施の形態においては、個々のファイルを操作する編集作業を実行した場合でも、シークによるアクセス速度の低下を有効に回避するようになされている。
【0112】
すなわち図11及び図12との対比により図13及び図14に示すように、ファイル1〜5が連続してハードディスク24に記録されている場合(図13(A)及び(B))に、ファイル2の途中部分を消去すると(消去により残るファイル2の各部分をそれぞれファイル2a及び2bにより示す)、上述した中央処理ユニット31の処理により、後半部分2bの先頭部分のAVデータがAVデータメモリ33、AVデータエリアに記録される。これにより図14(B)に示すように、これらのファイル1〜5を連続して再生する場合に、これら前半部分2a及び2bの間でクラスタの連続性が途絶えてシークするようになっても、シークによりAVデータを再生困難な期間の間、このAVデータメモリ33に記録されたAVデータにより補うことができ、これにより編集処理によりシークの処理が必要となった場合でも、シークによるアクセス速度の低下を有効に回避することができる。
【0113】
また図13(C)に示すように、ファイル5の一部を分割してファイル6を作成した場合、中央処理ユニット31の上述した処理により、このファイル6の先頭部分のAVデータがAVデータメモリ33、AVデータエリアに記録される。これにより図14(C1)に示すように、これらのファイル1〜6を連続して再生する場合に、シークによるアクセス速度の低下を有効に回避することができる。また図14(C2)に示すように、例えばファイル6を再生する順番を、ファイル1の次に設定するようにして、これらファイル1及び6間でシークが必要となった場合でも、このシークによりAVデータを再生困難な期間の間、このAVデータメモリ33に記録されたファイル6のAVデータにより補うことができ、これによりシークによるアクセス速度の低下を有効に回避することができる。
【0114】
これに対して図13(D)に示すように、ファイル1の末尾にファイル6を結合して1つのファイル7とする場合(それぞれファイル1及び6に対応する部分を符号7a及び7bにより示す)、この場合、何らAVデータエリア、AVデータメモリ33の記録が更新されないことにより、ファイル7の後半部分7bの先頭部分については、AVデータエリア、AVデータメモリ33に記録されたままに放置されることになる。これにより図14(D)に示すように、これらのファイルを順次再生して、ファイル7の前半部分7a及び7bとの間でシークする場合でも、このシークによりAVデータを再生困難な期間の間、このAVデータメモリ33に記録されたAVデータにより補い、これによりアクセス速度の低下を有効に回避することができる。
【0115】
この実施の形態によれば、個々のファイルを操作する編集処理において、これらのファイルの操作に対応するように、AVデータメモリ33、AVデータエリアを更新することにより、このような個々のファイルを操作する編集処理を実行する場合でも、シークによるアクセス速度の低下を有効に回避することができる。
【0116】
(3)第3の実施の形態
図15は、本発明の第3の実施の形態に係るビデオカメラ41を示すブロック図である。このビデオカメラ41において、図1及び図24について上述したビデオカメラと構成と同一の構成は、対応する符号を付して示し、重複した説明は省略する。
【0117】
このビデオカメラ41においては、AVデータメモリ45が不揮発性メモリにより構成されてハードディスクドライブ43側に配置され、図16に示すように、このAVデータメモリ45によりAVデータエリアが形成される。これによりこのビデオカメラ41においては、第1の実施の形態について上述したような、AVデータエリアの記録をAVデータメモリ33に転送する処理、AVデータエリアの記録とAVデータメモリ33の記録との整合性を図る処理を実行しなくても、シークによるアクセス速度の低下を有効に回避することができるようになされている。
【0118】
ここでハードディスク44においては、データエリア及びAVデータメモリ45が連続するクラスタアドレスにより管理されるようになされ、FATエリアにおいては、これらデータエリア及びAVデータメモリ45のFATアドレスが記録されるようになされている。
【0119】
AVデータの流れを主体的に表して図17に示すように、インターフェース制御回路47は、インターフェース制御部49において、ホスト装置42から出力されるコマンドが解析されて各部の動作を制御する。この処理において、インターフェース制御回路47は、アドレス変換部50において、読み出しコマンド、書き込みコマンドに設定された論理アドレスを物理アドレスに変換し、サーボ回路4等と共にアクセス制御系を構成するハードディスク制御回路5に出力する。
【0120】
この処理において、インターフェース制御回路47は、図16について上述したアドレス管理により、内蔵の選択回路51を介して、書き込みに供するAVデータをAVデータメモリ45、バッファメモリ10に選択的に出力し、これによりファイル先頭、クラスタの連続性が途絶えた部分の先頭等において、所定時間分のAVデータをAVデータメモリ45に記録し、残るデータをハードディスク44に記録する。また同様のアドレス管理により、バッファメモリ10を介して得られるハードディスク44の再生データによるAVデータと、AVデータメモリ45から得られるAVデータとを、選択的にホスト装置42に出力する。
【0121】
ホスト装置42において、中央処理ユニット52は、起動時、ハードディスクドライブ43の制御により、FATエリア、ディレクトリーエリアのデータを取得してシステムメモリ11に格納する。また書き込みの指示により、各ファイルの先頭、クラスタの連続性が途絶えた部分の先頭等については、システムメモリ11の検索によりAVデータエリアの空き領域を検出し、この検出結果によりパラメータを設定して書き込みのコマンドを発行する。これによりこのビデオカメラ41では、AVデータエリアを構成するAVデータメモリ45に、各ファイルの先頭、所定時間分のデータを記録するようになされている。
【0122】
また続くAVデータについては、同様のシステムメモリ11の記録の検索によりデータエリアの空き領域を検出し、この検出結果によりパラメータを設定して書き込みのコマンドを発行する。これによりこのビデオカメラ41では、続くデータについては、ハードディスク44に記録するようになされている。
【0123】
中央処理ユニット52は、この一連の処理により1つのファイルをハードディスクドライブ43に記録すると、この記録に対応するように、システムメモリ11の内容を更新し、またシステムエントリーエリアの記録を更新する。
【0124】
これらの処理において、中央処理ユニット52は、AVデータメモリ45にAVデータを記録している期間の間で、続くAVデータの記録開始位置にシークさせるように、ハードディスクドライブ43の動作を制御し、これにより記録時においてもシークによるアクセス速度の低下を防止する。
【0125】
すなわち図18及び図19は、この書き込み時の処理手順を示すフローチャートである。中央処理ユニット52は、書き込みのコマンドによりステップSP71からステップSP72に移り、システムメモリ11に記録した管理用データを検索し、AVデータエリアから空き領域を示すコードが設定されてなるクラスタ番号を検出する。
【0126】
このようにして空きクラスタアドレスを検出すると、中央処理ユニット52は、続くステップSP73において、この空きクラスタアドレスと転送長とによりパラメータを設定して書き込みコマンドを発行する。さらに中央処理ユニット52は、続くステップSP74において、システムメモリ11の検索により、空き領域を示すコードが設定されてなる連続するクラスタ番号を検出し、これにより続くAVデータの記録開始位置を事前に検出する。
【0127】
中央処理ユニット52は、これにより続くステップSP75で、この続くAVデータの記録先へのシークコマンドを出力し、これによりハードディスクドライブ43は、続く記録開始位置に事前のシークを開始する。また続くステップSP76において、ステップSP73で入力した書き込みコマンドによるアドレスをAVデータメモリ45のアドレスに変換し、中央処理ユニット52においては、このように順次コマンドを送出して得られるハードディスクドライブ43からの応答により、続くステップSP77で記録に供するデータを出力する。
【0128】
これによりハードディスクドライブ43では、続くステップSP78で、ファイル先頭のAVデータをAVデータメモリ45に格納し、格納を完了すると、ステップSP79でホスト装置42に割り込みをかける。これにより中央処理ユニット52は、続くステップSP70で、システムメモリ11の検索により、所定クラスタ数の範囲で、データエリアから空き領域を示すコードが連続して設定されてなる連続するクラスタ番号を検出し、これによりステップSP74で検出したシーク先の記録開始位置にしてなるAVデータの記録先を検出する。
【0129】
続いて中央処理ユニット52は、ステップSP81において、ステップSP80で検出した空きクラスタアドレスと転送長とによりパラメータを設定して書き込みコマンドを発行した後、続くステップSP82で記録に供するデータを転送長の分だけハードディスクドライブ43に送出する。これによりハードディスクドライブ43においては、続くステップSP83において、書き込みのコマンドに応動して続いて伝送されるデータをバッファメモリ10に記録し、続くステップSP84において、このバッファメモリ10に記録したデータをホスト装置22により指定されたデータエリアの空きクラスタに記録する。
【0130】
かくするにつき、このようにしてステップSP81で発行される書き込みコマンドの先頭クラスタにおいては、ステップSP75におけるシークコマンドにより、ハードディスクドライブ43においては、既に記録の開始を待ち受けていることになる。これによりこのビデオカメラ41では、記録開始時のシークによるアクセス速度の低下を有効に回避できるようになされている。
【0131】
ハードディスクドライブ43は、このようにしてホスト装置22より伝送されたデータの記録を完了すると、ステップSP85において、ホスト装置22に割り込みをかける。中央処理ユニット52は、この割り込みにより続くステップSP86で、記録に供するデータの転送を全て完了したか否か判断し、ここで否定結果が得られると、ステップSP87に移る。
【0132】
これにより中央処理ユニット52は、ファイル先頭より所定時間分のAVデータについては、AVデータメモリ45に記録し、続くAVデータをデータエリアに記録するようになされている。
【0133】
このようにしてステップSP87に移ると、中央処理ユニット52は、システムメモリ32に記録した管理用データを検索し、所定クラスタ数の範囲で、データエリアから空き領域を示すコードが設定されてなる連続するクラスタ番号を検出する。
【0134】
さらに続くステップSP88において、先に記録したAVデータエリアとの間で、クラスタ番号が連続しているか否か判断することにより、ステップSP87で検出したクラスタへの記録を開始する際に、シークが発生するか否か判断する。ここで否定結果が得られると、中央処理ユニット52は、ステップSP81に移り、同様にしてデータエリアに続くAVデータを記録する。これに対してステップSP88で否定結果が得られると、ステップSP72に戻り、ステップSP87で検出したクラスタ番号を無視して、AVデータエリアについて、空きクラスタを検出する。
【0135】
これにより中央処理ユニット52は、記録領域が連続しなくなってシークが必要となる場合には、このシーク直後の再生開始位置に相当するAVデータについても、AVデータメモリ45に記録するようになされている。
【0136】
かくするにつき、この場合もステップSP81で発行される書き込みコマンドの先頭クラスタにおいては、ステップSP75におけるシークコマンドにより、ハードディスクドライブ43においては、既に記録の開始を待ち受けていることになる。これによりこのビデオカメラ41では、ハードディスク44のAVデータを記録してなる領域の連続性が途絶えることによりシークする場合でも、このシークによるアクセス速度の低下を有効に回避できるようになされている。
【0137】
中央処理ユニット52は、これらの一連の処理を繰り返して、記録に供するデータを全てハードディスク44に記録すると、ステップSP86で肯定結果を得ることができる。これにより中央処理ユニット52は、ステップSP86からステップSP89に移り、このAVデータの記録に対応するようにシステムエントリーエリア、システムメモリ32のFATエリア、ディレクトリーエリアのデータを更新し、ステップSP90に移ってこの処理手順を終了する。
【0138】
これに対して図20〜図22は、再生時の処理手順を示すフローチャートである。この場合、中央処理ユニット52は、ステップSP101からステップSP102に移り、システムメモリ11に記録した管理用データのうちの、ディレクトリーエリアのデータより対応するファイルのファイル管理用データを検出し、このファイルの先頭クラスタ番号によるアドレスを検出する。
【0139】
この先頭クラスタ番号を検出すると、中央処理ユニット52は、ステップSP103に移り、この先頭クラスタアドレスと転送長とによりパラメータを設定して読み出しコマンドを発行する。ここでこのようにして発行されるコマンドに付加されたクラスタアドレスにおいては、上述した記録時の処理により、AVデータエリアに属することになる。
【0140】
中央処理ユニット52は、続いてステップSP104において、システムメモリ11に記録したFATエリアのデータの検索により、続いて再生するクラスタアドレスを検出する。また続くステップSP105において、この検出した続くクラスタアドレスによりハードディスクドライブ23にシークコマンドを出力する。これによりこの場合も、ビデオカメラ41においては、AVデータエリアの記録を再生する場合には、続いて再生する再生開始位置に事前にシークさせるようになされている。
【0141】
これによりハードディスクドライブ43においては、続くステップSP106において、中央処理ユニット52からのコマンドに対応するAVデータをAVデータメモリ45から読み出すように、このコマンドに設定されたアドレスがAVデータメモリ45のアドレスに変換され、続くステップSP107において、ホスト装置42に割り込みがかけられる。中央処理ユニット52は、この割り込みにより、続くステップSP108において、AVデータの転送を指示し、これによりAVデータメモリ45より対応するAVデータがホスト装置42に出力される。
【0142】
中央処理ユニット52は、続くステップSP109において、ホストメモリ11をアクセスすることにより、所定クラスタ数の範囲で、続くAVデータが記録されてなる連続するクラスタ番号を検出する。さらに中央処理ユニット52は、続くステップSP110(図21)において、このようにして検出したクラスタ番号において、EOFのコードが検出されたか否か判断し、ここで否定結果が得られると、ステップSP111に移る。
【0143】
ここで中央処理ユニット52は、このようにして検出したクラスタ番号がAVデータエリアに属するものか否か判断し、ここで否定結果が得られると、ステップSP112に移り、ステップSP109で検出したクラスタ番号によりパラメータを設定して読み出しコマンドを発行する。かくするにつき、このようにして発行される読み出しコマンドの先頭クラスタにおいては、ステップSP105におけるシークコマンドにより、ハードディスクドライブ43においては、既に再生の開始を待ち受けていることになる。これによりこのビデオカメラ41では、ファイルの記録開始位置にシークする場合でも、このシークによるアクセス速度の低下を有効に回避できるようになされている。
【0144】
これによりハードディスクドライブ43においては、このコマンドにより、何らシークの処理を実行することなく、続くステップSP113において、対応するクラスタよりAVデータを再生し、このAVデータを続くステップSP114において、バッファメモリ10に記録する。またAVデータの再生を完了すると、ステップSP115において、ホスト装置22に割り込みをかけ、中央処理ユニット52においては、この割り込みによりステップSP116においてAVデータの転送をハードディスクドライブ23に指示した後、ステップSP109に戻る。
【0145】
これによりこのビデオカメラ21では、連続するクラスタにAVデータが記録されている場合には、ステップSP109−SP110−SP111−SP112−SP113−SP114−SP115−SP116−SP109の処理手順を繰り返し、所定のデータ量単位で、ハードディスク44のデータエリアよりAVデータを再生して所定の機器に出力するようになされている。
【0146】
これに対してこのようなクラスタの連続性が途絶えると、ステップSP111で肯定結果が得られることにより、中央処理ユニット52は、ステップSP111からステップSP117に移る。ここで中央処理ユニット52は、ステップSP109で検出したクラスタアドレスにより読み出しコマンドを発行する。ここでこの場合、上述した記録時の処理により、このコマンドのクラスタアドレスがAVデータエリアを示していることになる。
【0147】
中央処理ユニット52は、続くステップSP118において、システムメモリ11を検索し、続くクラスタアドレスを検出する。また続くステップSP119において、この検出した続くクラスタアドレスによりシークコマンドを発行する。これによりハードディスクドライブ43においては、ステップSP120において、コマンドに設定されたアドレスがAVデータメモリ45のアドレスに変換され、続くステップSP121において、ホスト装置42に割り込みがかけられる。中央処理ユニット52においては、この割り込みによりAVデータの転送を指示し、続くステップSP122において、このAVデータがホスト装置42に出力され、ステップSP109に戻る。
【0148】
中央処理ユニット52は、ステップSP108に戻ると、ホストメモリ11の記録をアクセスすることにより、所定クラスタ数の範囲で、続くAVデータが記録されてなる連続するクラスタ番号を検出し、続くステップSP110−SP111−SP112の処理手順を順次実行する。
【0149】
かくするにつき、このようにしてステップSP112で発行される読み出しコマンドの先頭クラスタにおいては、この場合、ステップSP119におけるシークコマンドにより、ハードディスクドライブ43においては、既に再生の開始を待ち受けていることになる。これによりこのビデオカメラ41では、ハードディスク44のAVデータを記録してなる領域の連続性が途絶えることによりシークする場合でも、このシークによるアクセス速度の低下を有効に回避できるようになされている。
【0150】
これらの処理の繰り返して、再生対象のファイルの末尾に近づくと、システムメモリ11をアクセスして検出されるFATエリアの記録にEOFが含まれることになる。これにより中央処理ユニット52は、ステップSP111で肯定結果が得られ、ステップSP124(図22)に移る。
【0151】
ここで中央処理ユニット52は、このようにしてEOFが検出されてなるクラスタ番号がAVデータエリアに属するものか否か判断し、ここで否定結果が得られると、ステップSP125に移り、ステップSP109で検出したクラスタ番号によりパラメータを設定して読み出しコマンドを発行する。これによりハードディスクドライブ23においては、続くステップSP126において、対応するクラスタよりAVデータを再生し、このAVデータを続くステップSP127において、バッファメモリ10に記録する。またAVデータの再生を完了すると、ステップSP128において、ホスト装置42に割り込みをかけ、中央処理ユニット52においては、この割り込みによりAVデータの転送をハードディスクドライブ43に指示した後、ステップSP130に移ってこの処理手順を終了する。
【0152】
これに対してステップSP124で否定結果が得られると、中央処理ユニット52は、ステップSP131において、ステップSP109で検出されたクラスタアドレスにより読み出しコマンドを発行する。これによりハードディスクドライブ43は、続くステップSP132において、このコマンドに付加されたクラスタアドレスをAVデータメモリ45のアドレスに変換し、続くステップSP133で、ホスト装置42に割り込みをかける。またこの割り込みに対するホスト装置42からの応答により、続くステップSP134において、AVデータメモリ45より対応するAVデータをホスト装置42に出力し、ステップSP130に移ってこの処理手順を終了する。
【0153】
図15に示す構成によれば、AVデータメモリを不揮発性メモリにより構成することにより、AVデータエリアの記録をAVデータメモリ33に転送する処理、AVデータエリアの記録とAVデータメモリ33の記録との整合性を図る処理を実行しなくても、第1の実施の形態と同様の効果を得ることができる。
【0154】
またこのとき、このメモリとハードディスクのデータエリアとを連続するクラスタアドレスによる管理用データで管理することにより、ハードディスクドライブ側においては、コマンドに設定されたアドレスの判定により、メモリに記録されたデータ、記録媒体より再生されるデータを選択的にコマンドに係る機器に出力するだけの簡易な処理により、無駄な電力消費を有効に回避して、即座に所望するファイルのデータを出力することができる。またホスト装置においては、簡易なアドレス管理によりこれらの処理の実行することができる。
【0155】
またシークによりハードディスク44への記録が困難な期間の間、AVデータをAVデータメモリに記録し、続くデータをハードディスク44に記録することにより、記録時においても、シークによる転送速度の低下を有効に回避することができる。
【0156】
(4)第4の実施の形態
この実施の形態に係るビデオカメラでは、頭出し用のインデックス画像を併せてハードディスクに記録する。なおこのビデオカメラでは、このインデックス画像の処理に係る構成が異なる点を除いて、図15のビデオカメラと同一の構成であることにより、ここでは図15の構成を流用して説明する。
【0157】
このビデオカメラにおいて、中央処理ユニット52は、ユーザーが動作モードをカメラモードに設定した後、この設定を解除するまでの間で撮影される複数のシーンを1つのファイルとしてハードディスクドライブに記録する。また、このような1つのファイルの記録において、ユーザーによりトリガスイッチが操作されて各シーンの記録を開始する毎に、別途、記録開始時の1フィールドにより、インデックス用の静止画像を作成する。さらに中央処理ユニット52は、この静止画像を、対応するアドレス、記録時間等の情報と共に、ハードディスク44の所定領域にまとめて記録する。これによりこのビデオカメラでは、この静止画像、記録時間の情報等をインデックス用の情報として利用して、各ファイルにおける撮影シーンを瞬時に頭出しできるようになされている。
【0158】
中央処理ユニット52は、各ファイルの先頭等に加えて、このようにして設定されるインデックスによる再生開始位置について、AVデータメモリ45にAVデータを選択的に記録し、他のAVデータをデータエリアに記録するように、全体の動作を制御する。
【0159】
これによりこの実施の形態では、ファイルの途中に設定された頭出し用の再生開始の個所についても、シークによりハードディスク44からAVデータを読み出すことが困難な期間の間、AVデータメモリ45に記録されたAVデータを出力するようになされ、これにより頭出しによるシークについても、シークによるアクセス速度の低下を有効に回避できるようになされている。
【0160】
(5)他の実施の形態
なお上述の実施の形態においては、ハードディスクのデータエリア全体に対して、1つのAVデータエリアを設定する場合について述べたが、本発明はこれに限らず、図16との対比により図23に示すように、データエリアを複数の領域に区切り、各領域毎に、それぞれAVデータエリアを設けるようにしてもよい。このようにすれば、AVデータエリアとの間で連結クラスタを検索する処理、各エリアで空きエリアを検出する処理を簡略化することができる。
【0161】
また上述の第4の実施の形態においては、トリガスイッチの操作によりインデックスを設定する場合について述べたが、本発明はこれに限らず、ユーザーの設定によりインデックスを設定する場合等にも広く適用することができる。
【0162】
また上述の第1及び第2の実施の形態においては、1つのファイルの記録を完了した後に、AVデータメモリの記録とAVデータエリアの記録との整合性を図るようにした場合について述べたが、本発明はこれに限らず、これらの処理をAVデータのハードディスクへの記録と同時並列的に実行してもよい。
【0163】
また上述の実施の形態においては、個々のファイルの処理により編集処理する場合、さらにはファイルの再生順序の設定により編集処理する場合について述べたが、本発明はこれに限らず、編集リストによるイン点、アウト点の設定による編集処理にも広く適用することができる。この場合、イン点に設定された個所においては、シークすることが必要になることにより、ホスト装置側において、編集リストの記録に従って、このような個所について、事前にAVデータを再生してAVデータメモリに記録することが考えられる。
【0164】
また上述の実施の形態においては、1フレーム分(33〔msec〕分)のAVデータをAVデータメモリに記録する場合について述べたが、本発明はこれに限らず、必要に応じて適宜この時間は設定することができる。
【0165】
また上述の実施の形態においては、MS−DOS互換ファイルシステムによるハードディスク装置に本発明を適用する場合について述べたが、本発明はこれに限らず、種々のファイル管理システムによるハードディスク装置に広く適用することができる。またこのようなハードディスク装置に限らず、シークを要する光ディスク、光磁気ディスク等の各種記録再生装置に広く適用することができる。
【0166】
【発明の効果】
上述のように本発明によれば、クラスタ番号が連続しなくなると、一定時間分のデータをメモリに記録し、続くデータを記録媒体に記録することにより、シークによるアクセス速度の低下を有効に回避することができる。これによりAVデータの処理において、高速にアクセスすることができ、複数のAVストリームを同時に記録再生したり、編集、ダビング等を途絶えることなく実行することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るビデオカメラを示すブロック図である。
【図2】図1のビデオカメラにおける記録領域の説明に供する図表である。
【図3】図1のビデオカメラにおける起動時の処理手順を示すフローチャートである。
【図4】図1のビデオカメラにおける書き込み時の処理手順を示すフローチャートである。
【図5】図4の続きの処理手順を示すフローチャートである。
【図6】図1のビデオカメラにおける読み出し時の処理手順を示すフローチャートである。
【図7】図6の続きの処理手順を示すフローチャートである。
【図8】図7の続きの処理手順を示すフローチャートである。
【図9】編集作業の説明に供する図表である。
【図10】図9との対比により再生の説明に供する図表である。
【図11】ファイル間の結合関係を示すファイル情報の説明に供する図表である。
【図12】ファイル間の結合関係を示すファイル情報の他の例の説明に供する図表である。
【図13】本発明の第2の実施の形態に係るビデオカメラにおいて、ファイルの処理の説明に供する図表である。
【図14】図13との対比により再生の説明に供する図表である。
【図15】本発明の第3の実施の形態に係るビデオカメラを示すブロック図である。
【図16】図15のビデオカメラにおける記録領域の説明に供する図表である。
【図17】図15のビデオカメラにおけるハードディスクドライブを詳細に示すブロック図である。
【図18】図15のビデオカメラにおける書き込み時の処理手順を示すフローチャートである。
【図19】図18の続きの処理手順を示すフローチャートである。
【図20】図15のビデオカメラにおける読み出し時の処理手順を示すフローチャートである。
【図21】図20の続きの処理手順を示すフローチャートである。
【図22】図21の続きの処理手順を示すフローチャートである。
【図23】他の例による記録領域の説明に供する図表である。
【図24】従来のハードディスクドライブを使用したシステムを示すブロック図である。
【図25】従来のハードディスクにおける記録フォーマットを示す図表である。
【図26】図25のディレクトリーエリアに記録されるデータを示す図表である。
【図27】図25のFATエリアに記録されるコードを示す図表である。
【符号の説明】
1、23、43……ハードディスクドライブ、2、22、42……ホスト装置、3、24、44……ハードディスク、7、27、47……インターフェース制御回路、12、31、52……中央処理ユニット、11、32……システムメモリ、33、45……AVデータメモリ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing device, a control method for the information processing device, a control program for the information processing device, and a recording medium on which the control program for the information processing device is recorded, and can be applied to, for example, a hard disk device that records video data. . The present invention When the cluster numbers are not consecutive, data for a certain time is recorded in the memory, and the subsequent data is recorded on the recording medium, A reduction in access speed due to seeking can be effectively avoided.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, hard disk drives used as peripherals for personal computers can be accessed randomly, and in recent years, they have been reduced in size and increased in recording density. As a result, various proposals have been made to apply the hard disk drive to recording of audio data and video data (hereinafter referred to as AV data) for use in home servers, in-vehicle devices, and the like.
[0003]
In such a hard disk drive, the data recorded on the hard disk can be managed in units of clusters of a plurality of sectors by the management data recorded on the hard disk. It is designed to be executed by a computer or the like.
[0004]
That is, FIG. 24 is a block diagram showing a hard disk drive. The hard disk drive 1 is connected to the host device 2 and records AV data output from the host device 2 on the hard disk 3. Here, the host device 2 is, for example, various video devices that output AV data.
[0005]
Here, as shown in FIG. 25, for example, 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 assigned to the system entry area. Further, the inner peripheral area is allocated to the data area. Among these, the data area is subdivided into clusters, and AV data or the like is recorded in each cluster in units of a predetermined amount of data.
[0006]
Further, the hard disk 3 is divided into a plurality of sectors by dividing the information recording surface into a plurality of zones concentrically and further dividing the tracks of each zone by a predetermined length in the circumferential direction. 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 assigned from the outer peripheral side of the information recording surface, and the sector number for specifying the sector in each track. Further, user data is file-managed by logical addresses sequentially set from the outer peripheral side of the information recording surface corresponding to the physical address.
[0007]
Here, the logical address is represented by a cluster number in units of clusters formed by 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 on the information recording surface (in this case, the outermost periphery) set as 0 sector. For example, 1 physical sector is 1 logical sector. Correspondingly, the logical sector number can be expressed by a relational expression of logical sector number = number of sectors per track × (surface number + number of surfaces × track number) + sector number−1. Here, the surface number, track number, and sector number are based on physical addresses.
[0008]
Here, the logical sector is configured so that 512-byte data can be recorded in one logical sector in terms of user data, and one cluster is configured by a plurality of logical sectors. Note that one cluster is generally composed of power-of-two sectors, and is specified by a cluster number that is a serial number starting from 2 in the file area in a data area in which user data is recorded. .
[0009]
In the data area, a cluster number is assigned to each cluster set in this way, and the cluster can be accessed in units of clusters based on the cluster number. Here, the cluster number is shown in a 4-digit hex format.
[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 the structure of the disk is recorded in the boot area. On the other hand, management data based on address information and the like necessary for accessing AV data recorded in the data area is recorded in the FAT area and the directory area.
[0011]
That is, in the directory area, the file name of each file recorded in the data area, the cluster number of the first cluster that is the recording start position of each file, and the like are recorded. On the other hand, in the FAT area, the cluster number and the like of each cluster subsequent to the first cluster of each file are recorded. As a result, the hard disk 3 detects the first cluster number of the desired file name from the directory area, and then sequentially detects the cluster number following the first cluster number from the FAT area, so that the continuous clusters constituting one file are detected. The address can be detected.
[0012]
Thus, in FIG. 25, when the file 1 is recorded in the clusters of the cluster numbers 1234h to 1240h in the data area, the code indicating the cluster number 1234h of the first cluster of the file 1 is recorded in the directory area. Further, the cluster number continuing from the cluster number 1234h is sequentially recorded in the corresponding area of the FAT area. In FIG. 25, EOF (End Of File) is identification information indicating the final cluster of one file.
[0013]
More specifically, in the directory area, for each file recorded in the data area, file management data for specifying each file recorded in the data area is recorded by the configuration shown in FIG. 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 subsequent 3 bytes. Further, data indicating the attribute of the file is allocated to the subsequent 1 byte, and the subsequent 10 bytes are allocated to reserve data. The subsequent 2 bytes are assigned to the recording start time data, the subsequent 2 bytes are assigned to the recording date and time, and the cluster number which is the leading cluster number is assigned to the subsequent 2 bytes. The last 4 bytes are assigned file length data.
[0014]
On the other hand, in the FAT area (FIG. 25), identification data indicating the association of each cluster which is a management unit of the data area is recorded. That is, in the FAT area, a cluster address is assigned corresponding to the cluster number of the data area, and the cluster number of the cluster following each cluster address is recorded. As shown in FIG. 27, among the codes that are not assigned to the cluster numbers, predetermined codes are assigned to identification information indicating empty areas, defective clusters, and EOF, respectively.
[0015]
As a result, the hard disk 3 can access the FAT area and detect an empty area of the data area. Further, the replacement process can be executed with reference to the defective sector. Further, at the time of recording, the defective sector can be registered by a retry process by write and verify.
[0016]
The servo circuit 4 drives the motor (M) 6 under the control of the hard disk control circuit 5 and thereby drives the hard disk 3 to rotate under the condition that the angular velocity is constant. Similarly, the servo circuit 4 drives the motor (M) 8 to seek the pip-up magnetic head, and further performs tracking control.
[0017]
Under the control of the hard disk control circuit 5, the read / write data channel unit 9 encodes the output data of the hard disk control circuit 5 by a method suitable for the characteristics of the recording / reproducing system during recording, and generates bit sequence data. The magnetic head is driven by this data. At the time of reading, the read / write data channel unit 9 processes the reproduction signal obtained from the magnetic head to generate reproduction data, and outputs the reproduction data to the hard disk control circuit 5.
[0018]
The hard disk control circuit 5 is a control circuit that manages data on the hard disk 3 in accordance with an instruction from the interface control circuit 7 and controls the operation of the servo circuit 4 in accordance with AV data input via the buffer memory 10. By outputting this AV data to the read / write data channel section 9, data sequentially input to the cluster designated via the interface control circuit 7 is recorded. At the time of reading, the operation of the servo circuit 4 is similarly controlled to output the output data of the read / write data channel section 9 to the buffer memory 10, thereby reproducing the cluster designated by the interface control circuit 7.
[0019]
The interface control circuit (IF control) 7 is formed by, for example, a SCSI (Small Computer System Interface) controller, an IDE (Intelligent Drive Electronics) controller, or the like, and an input / output circuit for data to be transmitted to and received from the host device 2 and control commands. Configure. The interface control circuit 7 analyzes the command command input from the host device 2 and the parameters set in the command, and controls the operation of the hard disk control circuit 5 and the like. Further, at the time of writing, the data input from the host device 2 is output to the hard disk control circuit 5 via the buffer memory 10, and at the time of reading from the hard disk control circuit 5 via the buffer memory 10. The output data is output to the host device 2.
[0020]
Correspondingly, the host device 2 sends various commands to the hard disk drive 1 in accordance with instructions from the user by processing of a central processing unit (CPU) 12 that secures a work area in the system memory 11.
[0021]
In this processing, the central processing unit 12 issues a command to the hard disk drive 1 to reproduce the management data recorded in the system entry area of the hard disk 3 by executing a predetermined processing procedure when the power is turned on. As a result, data in the system entry area output from the hard disk drive 1 is recorded in the system memory 11. As a result, the central processing unit 12 acquires the management data recorded on the hard disk 3, sets parameters with this management data, and outputs various commands to the hard disk drive 1.
[0022]
That is, when the user gives an instruction to play a predetermined file, the central processing unit 12 detects the corresponding file management data from the record in the system memory 11, and detects the first cluster number set in the file management data. To do. Further, data in the FAT area is sequentially searched from the head cluster number, and continuous cluster numbers recorded on the hard disk 3 are detected for the file designated by the user. Based on this detection result, the central processing unit 12 sets parameters such as the leading cluster number and data length and issues a playback command. The hard disk drive 1 plays back the data recorded on the hard disk 3 by this command. Output. The central processing unit 12 and the hard disk drive 1 are configured to reproduce the desired file by repeating the issuance of the command and the reproduction of the data by sequentially tracing the recording of the management data in units of a predetermined data length. ing.
[0023]
On the other hand, when recording of data is instructed by the user, similarly, a parameter is set so that a free area is detected by sequentially tracing the data in the FAT area recorded in the system memory 11 and recorded in a cluster by this free area. Set and issue a write command. The hard disk drive 1 records sequentially input data on the hard disk 3 in response to the write command. The central processing unit 12 and the hard disk drive 1 are configured to sequentially record management data in units of a predetermined data length, repeatedly issue commands, and record data, thereby recording a desired file. ing.
[0024]
When the recording of the file is completed in this way, the recording of the system memory 11 is updated so as to correspond to the recording of the file, and the hard disk drive 1 is adapted to correspond to the recording of the system memory 11 at a predetermined timing. The system entry area is instructed to be updated, so that the file thus recorded can be reproduced again.
[0025]
[Problems to be solved by the invention]
By the way, in the hard disk drive, it takes time (hereinafter referred to as time required for seeking) from the start of the seek to the start of the reproduction of the data recorded on the hard disk, thereby causing a problem that the access speed is lowered.
[0026]
In other words, when reproducing data of a desired cluster by seeking in a hard disk drive, it is necessary to wait until the magnetic head scans the target cluster after the magnetic head is moved to the target track and set. Time is required for seek by the total time required for movement to the target track (seek time) and the time required for scanning the target cluster (rotation waiting time).
[0027]
In a hard disk drive, the time required for this seek is generally a short time of several milliseconds. However, if many files are distributed and recorded in multiple areas by repeating recording / playback and editing operations, The time required for seeking cannot be ignored, and the data transfer speed of the data reproduced from the hard disk is substantially reduced, and the access speed is significantly reduced correspondingly.
[0028]
As one method for solving this problem, for example, a method of accessing a hard disk by command queuing has been proposed. This method accesses the hard disk sequentially from the start of reproduction closer to the current position of the magnetic head, and rearranges the reproduced data by buffering and outputs it, thereby reducing the seek time compared to accessing the hard disk sequentially. It will be shortened. However, in this method, there is a problem that the control is complicated, and there is a problem that a sufficient effect cannot be obtained because the seek time is only slightly shortened in the time required for the seek.
[0029]
The present invention has been made in consideration of the above points. An information processing apparatus using a hard disk or the like capable of effectively avoiding a decrease in access speed due to time required for seeking, a control method for the information processing apparatus, and an information processing apparatus A recording medium on which a control program and a control program of an information processing apparatus are recorded is proposed.
[0030]
[Means for Solving the Problems]
In order to solve this problem, in the invention of claim 1, an information processing apparatus that detects an empty area of a disk-shaped recording medium and records continuous data on the disk-shaped recording medium in units of clusters based on the detection result. Apply to The disc-shaped recording medium records and holds management data in an area for recording the continuous data in a management data recording area, and the information processing apparatus stores the continuous data in the disc-shaped recording medium. A recording / reproducing unit for recording and reproducing the continuous data recorded on the disc-shaped recording medium, a memory for recording the continuous data, the recording / reproducing unit, and a control unit for controlling the memory The control unit detects a free area and a file of recorded data in units of clusters based on the management data obtained from the management data recording area via the recording / playback unit; By controlling the recording / reproducing unit and the memory based on the detection result, The continuous data is sequentially recorded in the free space where the cluster number is continuous, and the continuous data is stored for a certain period of time in the free space where the cluster number is not continuous. Said Record in memory and record the continuation of the continuous data in the following free space At the same time, the management data is updated to correspond to the recording of the continuous data. At the time of reproduction, after reproducing the continuous data recorded in the continuous empty area with the cluster number, the data recorded in the memory is reproduced, and subsequently the data recorded in the subsequent empty area is reproduced. Output.
[0031]
And claims 5 In the invention of Detects an empty area of a disk-shaped recording medium, and records continuous data on the disk-shaped recording medium in cluster units based on the detection result. Apply to the control method of information processing equipment, The continuous data is sequentially recorded in the free space where the cluster numbers are continuous, and the continuous data is recorded in the memory for a certain period of time when the cluster number of the free space is no longer continuous, and the free space continues. Record the continuation of the continuous data in the area Data recording steps to At the time of reproduction, after reproducing the continuous data recorded in the free space where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent free space is reproduced and output. A step of reproducing data.
[0032]
And claims 6 In the invention of Detects an empty area of a disk-shaped recording medium, and records continuous data on the disk-shaped recording medium in cluster units based on the detection result. Apply to the control program of the information processing device, The continuous data is sequentially recorded in the free space where the cluster numbers are continuous, and the continuous data is recorded in the memory for a certain period of time when the cluster number of the free space is no longer continuous, and the free space continues. Record the continuation of the continuous data in the area Data recording steps to At the time of reproduction, after reproducing the continuous data recorded in the free space where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent free space is reproduced and output. A step of reproducing data.
[0033]
And claims 7 In the invention of Detects an empty area of a disk-shaped recording medium, and records continuous data on the disk-shaped recording medium in cluster units based on the detection result. Applying to a recording medium recording a control program of an information processing device, the control program is The continuous data is sequentially recorded in the free space where the cluster numbers are continuous, and the continuous data is recorded in the memory for a certain period of time when the cluster number of the free space is no longer continuous, and the free space continues. Record the continuation of the continuous data in the area Data recording steps to At the time of reproduction, after reproducing the continuous data recorded in the free space where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent free space is reproduced and output. A step of reproducing data.
[0034]
According to the configuration of claim 1, The free area of the disk-shaped recording medium is detected and applied to an information processing apparatus for recording continuous data on the disk-shaped recording medium in units of clusters based on the detection result. When the continuous data is sequentially recorded and the cluster number of the free area is no longer continuous, the continuous data is recorded in the memory for a predetermined time, and the continuation of the continuous data is recorded in the subsequent free area. At the time of recording and reproduction, after reproducing the continuous data recorded in the free space where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent free space is reproduced. Output As a result, during a period during which it is difficult to reproduce by seeking, data held in the memory can be allocated and continuous data can be output, thereby effectively avoiding a decrease in access speed due to seeking.
[0035]
This makes the claim 5 , Claims 6 Or claim 7 According to the configuration, it is possible to provide an information processing apparatus control method capable of effectively avoiding a decrease in access speed due to seek, an information processing apparatus control program, or a recording medium on which an information processing apparatus control program is recorded. it can.
[0036]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.
[0037]
(1) First embodiment
(1-1) Configuration of the first embodiment
FIG. 1 is a block diagram showing a video camera according to the first embodiment of the present invention. In this video camera 21, a host object 22 captures a desired subject to generate AV data, and this AV data is recorded by the hard disk drive 23. The AV data recorded by the hard disk drive 23 is reproduced and displayed on the host device 22 in this way. Therefore, the host device 22 has such an imaging mechanism that acquires such AV data and outputs the AV data to the bus BUS, a signal processing circuit, and a monitor mechanism that monitors the AV data output to the bus BUS. ing.
[0038]
On the other hand, the hard disk drive 23 is mounted on various devices such as the host device 22, a set top box, a personal computer (PC), and records various data output from these devices. In addition, the recorded data is reproduced and output in a state where it is attached to these devices or removed from these devices and attached to other devices.
[0039]
In this hard disk 24, as shown in FIG. 2, an AV data area is formed in addition to a system entry area and a data area. Here, the AV data area is an area for selectively recording the AV data allocated to the head portion of the portion that needs to be accessed by seek at the time of reproduction when AV data is recorded. The predetermined number of seconds is set to a time longer than the longest time required for seeking in the hard disk drive 23, and in this embodiment, the time corresponding to one frame (33 [msec]) of video data. Is to be assigned.
[0040]
In addition, at the time of reproduction, the location where access by seek is required is set at the recording start position by the video camera 21 and the head position where the cluster numbers are no longer continuous in continuous AV data recording. In the video camera 21, AV data is file-managed and recorded so that the recording start position of the video camera 21 is the head position of the file. In the hard disk 24, AV data following the AV data recorded in the AV data area is recorded in the data area.
[0041]
The hard disk 24 is managed by the AV data area and the cluster number in which the data area is continuous, and by the FAT area and the directory area described above with reference to FIGS. As a result, the head cluster number can be detected by recording the directory area, and the AV data of the corresponding file recorded in the AV data area can be detected, and the AV data area and data can be traced through the FAT area recording. A file by AV data recorded by dividing into areas can be reproduced.
[0042]
Corresponding to this configuration, in the host apparatus 22, when the power is turned on, the central processing unit 31 sends a reproduction command to the hard disk drive 23 to instruct reproduction of the system entry area. The directory area data is stored in the system memory 32. Further, the central processing unit 31 subsequently sends a reproduction command for the AV data area to the hard disk drive 23 and stores the data of the AV data area obtained as a result in the AV data memory 33.
[0043]
Here, the AV data memory 33 is a dedicated memory for storing the data recorded in the AV data area. As shown in FIG. 2, in this embodiment, the same capacity as the AV data area of the hard disk 3 is allocated. As a result, the data recorded in the AV data area can be recorded without omission. The AV data memory 33 is set to have an address corresponding to the cluster address of the AV data area, so that the host device 22 uses the logical address for accessing the hard disk 3 as the address of the AV data memory 33. Address conversion is performed by simple processing, and instead of reproducing the AV data area, the corresponding AV data recorded in the AV data memory 33 can be output. As a result, the host device 22 records the AV data allocated to the place where the seek is required at the time of reproduction, collectively recorded in the AV data area, and pre-reads and stores it in the AV data memory 33 at the time of activation. Yes.
[0044]
When the central processing unit 31 is instructed to reproduce the AV data recorded on the hard disk 3, the central processing unit 31 searches the directory area and FAT area data recorded in the system memory 32 in the same manner as in the prior art, and thereby performs a predetermined process. Continuous clusters in which files related to reproduction are recorded are sequentially detected in units of data. The central processing unit 31 issues a read command to the address conversion circuit 34 by setting the cluster address and transfer length of the reproduction start position as parameters based on the cluster thus detected. As a result, the central processing unit 31 repeatedly issues a read command via the address conversion circuit 34 to reproduce a desired file.
[0045]
Here, the address conversion circuit 34 analyzes the address of the read command output from the central processing unit 31, and if the area specified by these addresses is a cluster of the AV data area, this address is used as the address of the AV data memory 33. And the AV data memory 33 is address-controlled. The cluster number following this address is detected from the data in the FAT area recorded in the system memory 32, and the seek to the subsequent cluster is instructed to the hard disk drive 23. On the other hand, when the address added to the command is the address of the data area, the command output from the central processing unit 31 is output to the hard disk drive 23.
[0046]
As a result, the address conversion circuit 34 executes address conversion processing for the read command so that the corresponding AV data is output from the AV data memory 33 to the bus BUS instead of the AV data area of the hard disk 24. Has been made. Further, the operation of the hard disk drive 23 is controlled so as to prepare for the reproduction of the subsequent cluster during the period in which this AV data is output. On the other hand, the address conversion circuit 34 is configured to record AV data in the area of the AV data memory 33 designated by the command by the address control of the AV data memory 33 for the write command.
[0047]
As a result, the host device 22 outputs the corresponding AV data held in the AV data memory 33 during the seek operation when the seek process is required in the read process, and completes the seek to complete the hard disk operation. When 24 can be accessed, the subsequent AV data reproduced from the hard disk 24 is output.
[0048]
On the other hand, when the central processing unit 31 is instructed to write the file, in this case as well, as in the conventional case, the central processing unit 31 searches the FAT area data recorded in the system memory 32 and sequentially detects the free space. A parameter is set according to the cluster address of the recording start position in the free area and the data transfer length and a write command is issued.
[0049]
In this process, at the start of recording, the central processing unit 31 detects a free cluster from the AV data area and issues a command so as to record the above-mentioned predetermined amount of AV data in the AV data area. For the head position where the cluster numbers are not consecutive in the detection of the free area, the free data is detected from the AV data area and a command is issued so that the AV data of the predetermined data amount is recorded in the AV data area. . For the AV data that follows these, a free cluster is sequentially detected from the data area and a command is issued.
[0050]
Thus, the central processing unit 31 records the AV data during the time required for the seek when the seek is required, and records the data to be recorded in the AV data area in the AV data memory 33 and the remaining data. Is directly recorded on the hard disk 24.
[0051]
When the central processing unit 31 completes the writing of AV data for one file in this way, the AV data area recorded on the hard disk 24 is reproduced so that the recording in the AV data memory 33 coincides with the AV data area. Is recorded on the AV data memory 33. The AV data obtained as a result is recorded in the AV data memory 33. When recording of all AV data to the hard disk 24 is completed in this way, the data in the FAT area and directory area stored in the system memory 32 is updated to correspond to the recording of this file, and the hard disk is updated at a predetermined timing. 24 system entry areas are updated.
[0052]
That is, FIG. 3 is a flowchart showing a processing procedure of the central processing unit 31 at the time of power activation. When the central processing unit 31 is activated, the central processing unit 31 proceeds from step SP1 to step SP2, and starts up the operation of the hard disk drive 23. Subsequently, the central processing unit 31 issues a read command for the system entry area, and stores the directory area and FAT area data obtained from the hard disk drive 23 in the system memory 32.
[0053]
Subsequently, the process proceeds to step SP3, where an AV data area read command is issued. In step SP4, the data in the AV data area is read from the hard disk in response to this command and transmitted to the host device. 31 stores this data in the AV data memory 33. In further subsequent step SP5, an address conversion table in the address conversion circuit 34 is set, and then the process proceeds to step SP6 and the processing procedure is terminated.
[0054]
On the other hand, FIGS. 4 and 5 are flowcharts showing the writing process. In this case, the central processing unit 31 moves from step SP11 to step SP12 by a write command, searches for management data recorded in the system memory 32, and a cluster number in which a code indicating a free area is set from the AV data area. (Free cluster address) is detected.
[0055]
When the free cluster address is detected in this way, the central processing unit 31 sets parameters according to the free cluster address and the transfer length in the subsequent step SP13 and issues a write command, and then provides for recording in the subsequent step SP14. Data is sent to the hard disk drive 23 for the transfer length. As a result, the hard disk drive 23 records the AV data to be subsequently transmitted in response to the write command in the next step SP15, and records the data recorded in the buffer memory 10 in the next step SP16. Recording is performed in an empty cluster in the AV data area designated by the device 22.
[0056]
When the hard disk drive 23 completes the recording of the data transmitted from the host device 22 in this manner, the hard disk drive 23 interrupts the host device 22 in step SP17. The central processing unit 31 moves to step SP18 by this interruption, searches for management data recorded in the system memory 32, and sets a code indicating a free area from the data area within a predetermined number of clusters. Detect consecutive cluster numbers.
[0057]
Subsequently, in step SP19, the central processing unit 31 sets a parameter with the free cluster address and transfer length detected in step SP18 and issues a write command. Then, in step SP20, the central processing unit 31 sets the data to be recorded for the transfer length. Only to the hard disk drive 23. As a result, in the hard disk drive 23, in the subsequent step SP21, the data transmitted subsequently in response to the write command is recorded in the buffer memory 10, and in the subsequent step SP22, the data recorded in the buffer memory 10 is recorded in the host device. 2 is recorded in an empty cluster in the data area designated by 2.
[0058]
When the hard disk drive 23 completes the recording of the data transmitted from the host device 22 in this way, it interrupts the host device 22 in step SP23. The central processing unit 31 determines in step SP24 following this interruption whether or not the transfer of all data to be recorded has been completed. If a negative result is obtained here, the process proceeds to step SP25.
[0059]
As a result, the central processing unit 31 records the data amount for the time required for seeking from the start of recording in the AV data area, and records the subsequent AV data in the data area.
[0060]
When the processing proceeds to step SP25 in this way, the central processing unit 31 searches the management data recorded in the system memory 32 and continuously sets codes indicating free areas from the data area within a predetermined number of clusters. The cluster number to be detected is detected.
[0061]
Further, in step SP26, a seek occurs when recording on the cluster detected in step SP25 is started by determining whether or not the cluster number is continuous with the previously recorded AV data area. Judge whether to do. If a negative result is obtained here, the central processing unit 31 moves to step SP19 and similarly records the AV data following the data area. On the other hand, if a negative result is obtained in step SP26, the process returns to step SP12 to ignore the cluster number detected in step SP25 and detect a free cluster for the AV data area.
[0062]
As a result, when the continuity of the cluster numbers is interrupted and the seek is necessary, the central processing unit 31 records the AV data corresponding to the reproduction start position immediately after the seek in the AV data area. Yes.
[0063]
When the central processing unit 31 repeats these series of processes and records all data to be recorded on the hard disk 24, it can obtain a positive result in step SP24. Thus, the central processing unit 31 moves from step SP24 to step SP27, and updates the data in the system entry area, the FAT area of the system memory 32, and the directory area so as to correspond to the recording of the AV data. In addition, the hard disk drive 23 is instructed to reproduce the AV data area so that the recording in the AV data memory 33 coincides with the recording in the AV data area, and the resulting AV data is recorded in the AV data memory 33, and step SP28. Then, the procedure ends.
[0064]
On the other hand, FIG. 6 to FIG. 8 are flowcharts showing processing when reading is instructed by designation of a file name. In this case, the central processing unit 31 moves from step SP31 to step SP32 and detects file management data (FIG. 27) of the corresponding file from the data in the directory area among the management data recorded in the system memory 32. The address by the first cluster number of this file is detected.
[0065]
The central processing unit 31 then proceeds to step SP33, and sets a parameter by this head cluster address and transfer length and issues a read command.
[0066]
Here, in the cluster address added to the command issued in this way, the cluster of the AV data area is indicated by the processing at the time of recording described above, so that in the host device 22, in the following step SP34, By analyzing this command by the address conversion circuit 34, the system memory 32 is searched by the address conversion circuit 34, and the subsequent cluster address is detected.
[0067]
In the subsequent step SP35, a seek command is output from the address conversion circuit 34 to the hard disk drive 23 in accordance with the detected subsequent cluster address. In the subsequent step SP36, the address set in the command from the central processing unit 31 is converted into the address of the AV data memory 33 so that AV data corresponding to the command from the central processing unit 31 is read from the AV data memory 33. In the subsequent step SP37, the AV data is read from the AV data memory 33 by this address and output to a predetermined device.
[0068]
As a result, when the host device 22 starts to access the file, the address conversion circuit 34 controls the reproduction of the first AV data stored in the AV data memory 33 so that the following cluster can be reproduced. The seek command is output to the terminal 23.
[0069]
When the output of the AV data is started in this way, the central processing unit 31 accesses the record of the host memory 32 in the subsequent step SP38, thereby continuously recording the AV data within the predetermined number of clusters. The cluster number to be detected is detected. Further, in the subsequent step SP39 (FIG. 7), the central processing unit 31 determines whether or not an EOF code has been detected in the cluster number detected in this way. If a negative result is obtained, the central processing unit 31 proceeds to step SP40. Move.
[0070]
Here, the central processing unit 31 determines whether or not the cluster number detected in this way belongs to the AV data area, and if a negative result is obtained here, the process proceeds to step SP41 and the cluster number detected in step SP39. Set the parameters and issue a read command. Thus, in the head cluster of the read command issued in this way, the hard disk drive 23 has already waited for the start of reproduction by the seek command from the address conversion circuit 34 in step SP35. As a result, the video camera 21 can effectively avoid a decrease in access speed due to the seek even when seeking to the file recording start position.
[0071]
As a result, the hard disk drive 23 reproduces AV data from the corresponding cluster in the subsequent step SP42 without executing any seek processing by this command, and this AV data is stored in the buffer memory 10 in the subsequent step SP43. Record. When the reproduction of the AV data is completed, the host device 22 is interrupted in step SP44, and the central processing unit 31 instructs the hard disk drive 23 to transfer the AV data by this interrupt, and then returns to step SP38.
[0072]
Thereby, in this video camera 21, when AV data is recorded in a continuous cluster, the processing procedure of steps SP38-SP39-SP40-SP41-SP42-SP43-SP44-SP45-SP38 is repeated to obtain predetermined data. The AV data is reproduced from the data area of the hard disk 24 and output to a predetermined device in units of quantity.
[0073]
On the other hand, when the continuity of such clusters is interrupted, an affirmative result is obtained in step SP40, and the central processing unit 31 moves from step SP40 to step SP46. Here, the central processing unit 31 issues a read command with the cluster address detected in step SP39. Here, in this case, since the cluster address of this command indicates the AV data area by the processing at the time of recording described above, the host device 22 performs the address conversion in the following step SP47 as in the case of the reproduction start. By analyzing this command by the circuit 34, the system memory 32 is searched by the address conversion circuit 34, and the subsequent cluster address is detected.
[0074]
In the subsequent step SP48, a seek command is output from the address conversion circuit 34 based on the detected subsequent cluster address. In the following step SP49, the address set in this command is converted into the address of the AV data memory 33 so that AV data corresponding to the command from the central processing unit 31 is read from the AV data memory 33. The AV data is read from the AV data memory 33 by this address and output to a predetermined device.
[0075]
As a result, in the host device 22, when seeking is required for accessing the hard disk 24, playback of the AV data at the playback start position after seek stored in the AV data memory 33 is started under the control of the address conversion circuit 34. In addition, a seek command is output to the hard disk drive 23 so that the subsequent cluster can be reproduced.
[0076]
When the output of AV data is started with respect to the seek process in this way, the central processing unit 31 returns to step SP38 and accesses the record in the host memory 32, so that the following AV data is within a predetermined number of clusters. Consecutive cluster numbers recorded are detected, and the processing procedures of subsequent steps SP39-SP40-SP41 are sequentially executed.
[0077]
In this way, in the head cluster of the read command issued in step SP41 in this way, in this case, the hard disk drive 23 has already waited for the start of reproduction by the seek command from the address conversion circuit 34 in step SP48. Will be. As a result, the video camera 21 can effectively avoid a decrease in the access speed due to the seek even when seek is performed due to the continuity of the area in which the AV data is recorded on the hard disk 24 being interrupted.
[0078]
When these processes are repeated and the end of the file to be reproduced is approached, EOF is included in the FAT area recording detected by accessing the system memory 32. Thereby, the central processing unit 31 obtains a positive result in step SP39, and proceeds to step SP52 (FIG. 8).
[0079]
Here, the central processing unit 31 determines whether or not the cluster number from which the EOF is detected in this way belongs to the AV data area. If a negative result is obtained here, the process proceeds to step SP44, and in step SP39. A parameter is set according to the detected cluster number and a read command is issued. As a result, the hard disk drive 23 reproduces AV data from the corresponding cluster in the subsequent step SP54, and records this AV data in the buffer memory 10 in the subsequent step SP55. When the reproduction of the AV data is completed, the host apparatus 22 is interrupted in step SP56, and the central processing unit 31 instructs the hard disk drive 23 to transfer the AV data by this interrupt, and then the process proceeds to step SP58. The processing procedure ends.
[0080]
On the other hand, if a negative result is obtained in step SP52, the host device 22 changes the cluster address detected in step SP39 in the AV data memory 33 in step SP59 under the control of the address conversion circuit 34 as described above. In step SP60, the corresponding AV data is reproduced and output from the AV data memory 33 under the control of the AV data memory 33 based on this address, and the process proceeds to step SP58.
[0081]
(1-2) Operation of the first embodiment
In the above configuration, in the video camera 21 (FIGS. 1 and 2), when the power is turned on, the data in the system entry area is reproduced from the hard disk 24. Among the data in the system entry area, the AV data area, Data in the FAT area and directory area, which are data for managing the data area, is stored in the system memory 32 of the host device 22.
[0082]
As a result, the video camera 21 reproduces the desired file by detecting the recording position of the desired file from the management data stored in the system memory 32 and sequentially issuing read commands to the hard disk drive 23. It is made to be able to. Similarly, an imaging area can be recorded on the hard disk 24 by detecting an empty area from the management data, setting an address based on the detection result, and issuing a write command.
[0083]
When the video camera 21 is started up, the data in the system entry area is loaded into the system memory 32. Then, for each file recorded in the hard disk 24, the top of these files and the point where the continuity of the cluster is lost are placed. The data for a predetermined time is reproduced from the reproduction start position and stored in the AV data memory 33. When a read instruction is obtained, corresponding data is output from the data stored in the AV data memory 33 in this manner, and subsequent data obtained by reproducing the hard disk 24 is output.
[0084]
As a result, even when seeking to the file recording start position, the video camera 21 can reproduce the AV data that has been sought after the AV data held in the AV data memory 33 is being output, This decrease in access speed due to seeking can be effectively avoided. In addition, even when multiple files are played back continuously according to the edit list, for example, by an instruction from a higher-level application program or further from an external device, similarly, a decrease in access speed due to seek at the beginning of each file is effectively avoided. it can.
[0085]
In order to effectively avoid the decrease in the access speed due to the seek in this way, the video camera 21 has a predetermined amount of data at the beginning of the file and AV data having a predetermined amount of data at the beginning where the continuity of the cluster is interrupted during recording. Recorded in the AV data area.
[0086]
That is, for example, as shown in FIG. 9A, when AV data from file 1 to file 5 is recorded in a continuous cluster and these files 1 to 5 are played back sequentially, These files can be played back without being recorded or played back and seeked, thereby effectively avoiding a decrease in access speed due to seeking.
[0087]
In this way, when the file 1 to the file 5 are sequentially recorded in a continuous cluster, the video camera 21 records the beginning of each file and a predetermined data amount in the AV data area, and the AV data is stored in the AV data memory 33. Read out and held. In this embodiment, as shown in FIG. 10A, the data at the head of each file held in the AV data memory 33 is indicated by hatching. In this embodiment, when these files are played back continuously, After the AV data held in the AV data memory 33 is output, subsequently reproduced AV data is output from the data area.
[0088]
Here, as shown in FIG. 9B, when the file 3 is deleted and the continuous files are sequentially played back, in the conventional method, the playback of the file 2 is completed and the head of the file 4 is played back. Thus, continuous AV data output is interrupted for the time required for seeking. However, in this embodiment, as shown in FIG. 10B, the AV data memory 33 holds the time required for the seek until the file 4 is reproduced after the reproduction of the file 2 is completed. The AV data that follows the file 4 recorded in the data area is output, so that the time required for seeking even when the continuity of the cluster between the files 2 and 4 is interrupted. It is possible to effectively avoid a decrease in access speed due to. In this embodiment, when the file 3 is deleted in this way, naturally, not only the data area but also the FAT area of the AV data area is set with a code (FIG. 27) indicating an empty area, thereby the AV data. The AV data of the file 3 recorded in the area is also deleted.
[0089]
Further, when the file 3 is deleted and the file 6 having a larger data amount than the file 3 is recorded in this way, the file 3 is deleted in the file 6 having the larger data amount as shown in FIG. After being recorded in the recorded area (file 6a), it is recorded in a free area following file 5. Thus, when these files are continuously played back, in the conventional method, the continuity of the cluster is interrupted between the files 2 to 4, the files 5 to 6a, and the files 6a to 6b. During these times, it becomes difficult to reproduce AV data during the time required for seeking, and the access speed is reduced accordingly.
[0090]
In this case, in this embodiment, the beginning of the file 6a and the file 6b and the predetermined data amount are stored and held in the AV data memory 33, and as a result, as shown in FIG. AV data held in the AV data memory 33 is output during the time required for seeking because the continuity of the cluster is interrupted between the file 4, the file 5 to the file 6a, and the file 6a to the file 6b. As a result, a decrease in access speed due to seeking can be effectively avoided.
[0091]
Further, as shown in FIG. 10C2, even when the reproduction order of files is changed and reproduced, a decrease in access speed due to seeking can be effectively avoided. FIG. 10C2 shows a case where the reproduction order of the file 2 and the file 4 is switched in comparison with FIG. 10C1.
[0092]
Further, as shown in FIG. 9D, when the record of the file management data recorded in the directory area is updated to link the file 1 and the file 4 into one file 7, this one file 7 Are recorded in the data area by the files 7a and 7b corresponding to the files 1 and 4, respectively. However, even in this case, as shown in FIG. 10 (D), these files are reproduced in the original reproduction order, and further reproduced in various orders to effectively avoid a decrease in access speed due to seek. Can do.
[0093]
In the video camera 21, as in the case of such a file head, AV data of a predetermined amount of data is recorded in the AV data area from the head of a portion where the continuity of the cluster is lost in one file. . Further, AV data in this AV data area is held in the AV data memory 33, and after the AV data held in the AV data memory 33 is output, the subsequent AV data is reproduced and output from the AV data area. As a result, even when seeking is performed due to the continuity of clusters in one file, a decrease in access speed due to the seek can be effectively avoided.
[0094]
When the central processing unit 31 reproduces a plurality of files continuously in this way, according to the edit list, separately forms linked file information indicating the connection relationship between these files in the recording area of the system memory 32, Reproduction is performed sequentially based on the linked file information.
[0095]
FIG. 11B is a chart showing the linked file information area by the linked file information formed in the system memory 32 in this manner in comparison with the directory area recording. In this linked file information area, when files 1, 2, 5, and 6 are continuously played back, the file name of the file 2 to be played back after the file 1 or the leading cluster number of the file 2, the file 2 The file name of the file 5 to be played back or the top cluster number of the file 5, the file name of the file 6 to be played back following the file 5, or the top cluster number of the file 6, and a connection indicating that the file 6 is the last file A code without a file or an EOF code is sequentially recorded and formed.
[0096]
Thus, in this embodiment, after the file 1 is reproduced by tracing the directory area and the FAT area, it is detected that the file to be subsequently reproduced is the file 2 based on the linked file information. The following file 2 can be reproduced by following the recording of the directory area and the FAT area or the recording of the FAT area. Further, when the reproduction of the last file 6 is completed by repeating such processing, it is possible to detect the end of the reproduction of these successive files.
[0097]
Note that the concatenated file information formed in this way can also be created by describing the first cluster number of the file to be subsequently played back using the last cluster number of each file as a key, as shown in FIG. . In this case, when the central processing unit 31 detects the cluster number of each file from the data in the FAT area and detects the EOF, the central processing unit 31 searches the linked file information by the cluster number from which this EOF is detected, By detecting the first cluster number of the next file, the subsequent files are sequentially reproduced. It should be noted that such a list of linked file information may be recorded in the data area of the hard disk 24.
[0098]
(1-3) Effects of the first embodiment
According to the above configuration, When the cluster numbers are not consecutive, data for a certain time is recorded in the memory, and the subsequent data is recorded on the recording medium, During the time required for seeking, No Mo To The retained data can be output, and then the reproduced data from the hard disk 24 can be output. As a result, a decrease in access speed due to seeking can be effectively avoided.
[0099]
Further, since the head portion recorded in the AV data memory is the head portion of the file, when seeking to the head of the file, the AV data held in the AV data memory is output during the seek. Thus, a decrease in access speed due to seeking can be effectively avoided. As a result, it is possible to output the AV data of the desired file immediately after instructing the file reproduction, and when reproducing a plurality of files sequentially in various orders, the AV data is not interrupted between successive files. Can be output.
[0100]
In addition, when the head portion recorded in the AV data memory in this way is the head cluster that continues after the recording to the continuous cluster is interrupted, the seek is stopped even when the continuity of the cluster is interrupted. Therefore, it is possible to effectively avoid a decrease in access speed due to the AV data, and thereby output AV data without interruption.
[0101]
In addition, by reproducing the AV data held in the AV data memory from the hard disk 24 at a predetermined timing and recording the AV data in the AV data memory in this way, this type of hard disk drive using the same file management system as before can be used. Can be executed.
[0102]
In addition, since such timing is at the time of startup, it is possible to reliably execute these processes for existing files recorded on the hard disk 24.
[0103]
In addition, since the predetermined timing is after the recording of one file to the hard disk 24 is completed, a decrease in access speed due to seeking can be effectively avoided even when the file immediately after recording is accessed. it can.
[0104]
In addition, by recording AV data to be recorded in the AV data memory in the AV data area that is a predetermined area of the hard disk 24 in this way, the AV data can be transferred to the AV data memory at a high speed. Minutes, the time required for processing can be shortened.
[0105]
(2) Second embodiment
The video camera according to this embodiment operates individual files by editing processing. The configuration of the video camera according to this embodiment is the same as the configuration described above with reference to FIG. 1 except that the central processing unit 31 executes the processing procedure related to the editing process. This will be explained using the configuration.
[0106]
That is, in this embodiment, the central processing unit 31 updates the FAT area record and the directory area record under the control of the higher-level application program and further under the control of the external device, and thereby a single file is a plurality of files. In addition, a plurality of files are combined to create one file, and the files are partially erased.
[0107]
In these processes, the central processing unit 31 updates the records in the AV data area and the AV data memory 33 so as to correspond to these processes each time an individual file is processed.
[0108]
That is, when one file is divided into a plurality of files, the AV data at the head of each divided file is recorded in the AV data area and AV data memory 33, and the corresponding AV data is recorded in the data area. Erase more. Further, the FAT area and directory area records are updated so as to correspond to these processes.
[0109]
In addition, when a single file is created by combining a plurality of files, in this case, the continuity of the cluster is interrupted at the beginning of each file before combining, so that there is no AV data area. The recording of the AV data memory 33 is handled by updating the recording of the FAT area and the directory area without updating.
[0110]
On the other hand, when the file is partially erased and the continuity of the cluster is interrupted by the erase, the AV data at the head part following the erased part is recorded in the AV data area and the AV data memory 33. . Further, the FAT area and directory area records are updated so as to correspond to this processing.
[0111]
With these processes, in this embodiment, even when an editing operation for manipulating individual files is executed, a decrease in access speed due to seeking is effectively avoided.
[0112]
That is, as shown in FIGS. 13 and 14 in comparison with FIGS. 11 and 12, when files 1 to 5 are continuously recorded on the hard disk 24 (FIGS. 13A and 13B), 2 is deleted (respective portions of the file 2 remaining after deletion are indicated by files 2a and 2b), the AV data of the head portion of the second half 2b is converted into the AV data memory 33 by the processing of the central processing unit 31 described above. , Recorded in the AV data area. As a result, as shown in FIG. 14B, when these files 1 to 5 are continuously reproduced, even if the continuity of the cluster is lost between the first half portions 2a and 2b, the seek is stopped. The AV data recorded in the AV data memory 33 can be supplemented by AV data during a period in which it is difficult to reproduce the AV data by seeking, so that even if seek processing is required by editing processing, the access speed by seeking Can be effectively avoided.
[0113]
As shown in FIG. 13C, when the file 6 is created by dividing a part of the file 5, the AV data at the head portion of the file 6 is converted into the AV data memory by the above-described processing of the central processing unit 31. 33, recorded in the AV data area. As a result, as shown in FIG. 14 (C1), when these files 1 to 6 are continuously reproduced, it is possible to effectively avoid a decrease in access speed due to seek. As shown in FIG. 14 (C2), for example, when the order in which the file 6 is reproduced is set next to the file 1 and a seek is required between the files 1 and 6, The AV data can be supplemented with the AV data of the file 6 recorded in the AV data memory 33 during a period during which reproduction is difficult, and thus a decrease in access speed due to seek can be effectively avoided.
[0114]
On the other hand, as shown in FIG. 13D, when the file 6 is combined with the end of the file 1 to form one file 7 (parts corresponding to the files 1 and 6 are indicated by reference numerals 7a and 7b, respectively). In this case, since the recording of the AV data area and the AV data memory 33 is not updated at all, the head portion of the latter half portion 7b of the file 7 is left as recorded in the AV data area and the AV data memory 33. It will be. As a result, as shown in FIG. 14D, even when these files are sequentially reproduced and seek is performed between the first half portions 7a and 7b of the file 7, AV data can be reproduced during a period during which it is difficult to reproduce. The AV data recorded in the AV data memory 33 can be supplemented, thereby effectively avoiding a decrease in access speed.
[0115]
According to this embodiment, in the editing process for manipulating individual files, the AV data memory 33 and the AV data area are updated so as to correspond to the manipulation of these files, so that such individual files are changed. Even when the editing process to be operated is executed, it is possible to effectively avoid a decrease in access speed due to seeking.
[0116]
(3) Third embodiment
FIG. 15 is a block diagram showing a video camera 41 according to the third embodiment of the present invention. In this video camera 41, the same configurations as those of the video camera described above with reference to FIGS. 1 and 24 are indicated by the corresponding reference numerals, and redundant description is omitted.
[0117]
In this video camera 41, an AV data memory 45 is constituted by a non-volatile memory and arranged on the hard disk drive 43 side, and an AV data area is formed by this AV data memory 45 as shown in FIG. Thus, in this video camera 41, the process of transferring the recording of the AV data area to the AV data memory 33, the recording of the AV data area and the recording of the AV data memory 33 as described above with respect to the first embodiment. A reduction in access speed due to seek can be effectively avoided without executing processing for ensuring consistency.
[0118]
Here, in the hard disk 44, the data area and the AV data memory 45 are managed by continuous cluster addresses, and in the FAT area, the FAT address of the data area and the AV data memory 45 is recorded. ing.
[0119]
As shown in FIG. 17 mainly showing the flow of AV data, the interface control circuit 47 analyzes the command output from the host device 42 in the interface control unit 49 and controls the operation of each unit. In this process, the interface control circuit 47 converts the logical address set in the read command and the write command into a physical address in the address conversion unit 50, and sends it to the hard disk control circuit 5 constituting the access control system together with the servo circuit 4 and the like. Output.
[0120]
In this processing, the interface control circuit 47 selectively outputs AV data to be written to the AV data memory 45 and the buffer memory 10 via the built-in selection circuit 51 by the address management described above with reference to FIG. As a result, AV data for a predetermined time is recorded in the AV data memory 45 and the remaining data is recorded in the hard disk 44 at the beginning of the file, at the beginning of the portion where the continuity of the cluster is interrupted. Further, by the same address management, AV data based on reproduction data of the hard disk 44 obtained via the buffer memory 10 and AV data obtained from the AV data memory 45 are selectively output to the host device 42.
[0121]
In the host device 42, the central processing unit 52 acquires the data of the FAT area and the directory area and stores them in the system memory 11 under the control of the hard disk drive 43 at the time of activation. In addition, as for the beginning of each file, the beginning of the portion where the continuity of the cluster is interrupted by the write instruction, a free space in the AV data area is detected by searching the system memory 11, and parameters are set based on the detection result Issue a write command. As a result, the video camera 41 records data for a predetermined time at the head of each file in the AV data memory 45 constituting the AV data area.
[0122]
For the subsequent AV data, a free area in the data area is detected by a similar record search in the system memory 11, and a parameter is set based on the detection result and a write command is issued. As a result, the video camera 41 records subsequent data on the hard disk 44.
[0123]
When the central processing unit 52 records one file in the hard disk drive 43 by this series of processing, the central processing unit 52 updates the contents of the system memory 11 and updates the recording of the system entry area so as to correspond to the recording.
[0124]
In these processes, the central processing unit 52 controls the operation of the hard disk drive 43 so as to seek to the recording start position of the subsequent AV data during the period in which the AV data is recorded in the AV data memory 45, This prevents a decrease in access speed due to seeking even during recording.
[0125]
That is, FIGS. 18 and 19 are flowcharts showing a processing procedure at the time of writing. The central processing unit 52 moves from step SP71 to step SP72 by a write command, searches for management data recorded in the system memory 11, and detects a cluster number in which a code indicating a free area is set from the AV data area. .
[0126]
When the free cluster address is detected in this way, the central processing unit 52 issues a write command by setting parameters according to the free cluster address and the transfer length in the subsequent step SP73. Further, in the subsequent step SP74, the central processing unit 52 detects a continuous cluster number in which a code indicating an empty area is set by searching the system memory 11, and thereby detects the recording start position of the subsequent AV data in advance. To do.
[0127]
In the subsequent step SP75, the central processing unit 52 outputs a seek command to the recording destination of the subsequent AV data, whereby the hard disk drive 43 starts a previous seek at the subsequent recording start position. In the subsequent step SP76, the address by the write command input in step SP73 is converted into the address of the AV data memory 45, and the central processing unit 52 responds from the hard disk drive 43 obtained by sequentially sending the commands in this way. Thus, data to be recorded is output in the subsequent step SP77.
[0128]
As a result, the hard disk drive 43 stores the AV data at the head of the file in the AV data memory 45 in the following step SP78, and when the storage is completed, interrupts the host device 42 in step SP79. As a result, the central processing unit 52 detects successive cluster numbers in which a code indicating an empty area is continuously set from the data area within a predetermined number of clusters by searching the system memory 11 in subsequent step SP70. Thus, the recording destination of the AV data that becomes the recording start position of the seek destination detected in step SP74 is detected.
[0129]
Subsequently, in step SP81, the central processing unit 52 sets a parameter with the free cluster address and transfer length detected in step SP80 and issues a write command. Then, in step SP82, the central processing unit 52 sets the data to be recorded for the transfer length. Only to the hard disk drive 43. As a result, in the hard disk drive 43, in the subsequent step SP83, the data transmitted subsequently in response to the write command is recorded in the buffer memory 10, and in the subsequent step SP84, the data recorded in the buffer memory 10 is recorded in the host device. 22 is recorded in an empty cluster in the data area designated by 22.
[0130]
Thus, in the head cluster of the write command issued in step SP81 in this way, the hard disk drive 43 has already waited for the start of recording by the seek command in step SP75. As a result, the video camera 41 can effectively avoid a decrease in access speed due to seeking at the start of recording.
[0131]
When the hard disk drive 43 completes the recording of the data transmitted from the host device 22 in this manner, the hard disk drive 43 interrupts the host device 22 in step SP85. The central processing unit 52 determines in step SP86 following this interruption whether or not all of the data to be recorded has been transferred, and if a negative result is obtained, the process proceeds to step SP87.
[0132]
Thus, the central processing unit 52 records AV data for a predetermined time from the beginning of the file in the AV data memory 45 and records the subsequent AV data in the data area.
[0133]
When the processing proceeds to step SP87 in this way, the central processing unit 52 searches the management data recorded in the system memory 32, and continuously sets codes indicating free areas from the data area within a predetermined number of clusters. The cluster number to be detected is detected.
[0134]
Further, in step SP88, a seek occurs when recording to the cluster detected in step SP87 is started by determining whether or not the cluster number is continuous with the previously recorded AV data area. Judge whether to do. If a negative result is obtained here, the central processing unit 52 moves to step SP81 and similarly records the AV data following the data area. On the other hand, if a negative result is obtained in step SP88, the process returns to step SP72, ignoring the cluster number detected in step SP87, and detecting a free cluster for the AV data area.
[0135]
Thus, the central processing unit 52 records the AV data corresponding to the reproduction start position immediately after the seek in the AV data memory 45 when the recording area is not continuous and the seek becomes necessary. Yes.
[0136]
Accordingly, in this case as well, in the head cluster of the write command issued in step SP81, the hard disk drive 43 has already waited for the start of recording by the seek command in step SP75. As a result, the video camera 41 can effectively avoid a decrease in the access speed due to the seek even when seek is performed due to the continuity of the area in which the AV data is recorded on the hard disk 44 being interrupted.
[0137]
When the central processing unit 52 repeats these series of processes and records all data to be recorded on the hard disk 44, it can obtain a positive result in step SP86. As a result, the central processing unit 52 moves from step SP86 to step SP89, updates the data in the system entry area, the FAT area of the system memory 32, and the directory area to correspond to the recording of the AV data, and moves to step SP90. This processing procedure ends.
[0138]
On the other hand, FIGS. 20 to 22 are flowcharts showing a processing procedure during reproduction. In this case, the central processing unit 52 moves from step SP101 to step SP102, detects the file management data of the corresponding file from the data in the directory area among the management data recorded in the system memory 11, and Detect the address by the first cluster number.
[0139]
When detecting the head cluster number, the central processing unit 52 moves to step SP103, sets a parameter by the head cluster address and the transfer length, and issues a read command. Here, the cluster address added to the command issued in this way belongs to the AV data area by the above-described recording process.
[0140]
Subsequently, in step SP104, the central processing unit 52 detects the cluster address to be subsequently reproduced by searching the FAT area data recorded in the system memory 11. In the following step SP105, a seek command is output to the hard disk drive 23 by the detected subsequent cluster address. As a result, also in this case, in the video camera 41, when the recording of the AV data area is reproduced, the seek is performed in advance to the reproduction start position to be reproduced subsequently.
[0141]
As a result, in the hard disk drive 43, the address set in this command is set to the address of the AV data memory 45 so that the AV data corresponding to the command from the central processing unit 52 is read from the AV data memory 45 in the following step SP106. In the subsequent step SP107, the host device 42 is interrupted. In response to this interrupt, the central processing unit 52 instructs the transfer of AV data in the subsequent step SP108, whereby the corresponding AV data is output from the AV data memory 45 to the host device.
[0142]
In the subsequent step SP109, the central processing unit 52 accesses the host memory 11 to detect continuous cluster numbers in which subsequent AV data is recorded within a predetermined number of clusters. Further, in the subsequent step SP110 (FIG. 21), the central processing unit 52 determines whether or not an EOF code has been detected in the cluster number detected in this way, and if a negative result is obtained here, the processing proceeds to step SP111. Move.
[0143]
Here, the central processing unit 52 determines whether or not the cluster number detected in this way belongs to the AV data area. If a negative result is obtained here, the process proceeds to step SP112 and the cluster number detected in step SP109. Set the parameters and issue a read command. Thus, in the head cluster of the read command issued in this way, the hard disk drive 43 has already waited for the start of reproduction by the seek command in step SP105. As a result, the video camera 41 can effectively avoid a decrease in access speed due to the seek even when seeking to the recording start position of the file.
[0144]
Thus, in this hard disk drive 43, the AV data is reproduced from the corresponding cluster in the subsequent step SP113 without executing any seek processing by this command, and this AV data is stored in the buffer memory 10 in the subsequent step SP114. Record. When the reproduction of the AV data is completed, the host device 22 is interrupted in step SP115, and the central processing unit 52 instructs the hard disk drive 23 to transfer the AV data in step SP116 by this interrupt, and then proceeds to step SP109. Return.
[0145]
Thus, in this video camera 21, when AV data is recorded in a continuous cluster, the processing procedure of steps SP109-SP110-SP111-SP112-SP113-SP114-SP115-SP116-SP109 is repeated to obtain predetermined data. The AV data is reproduced from the data area of the hard disk 44 and output to a predetermined device in units of quantity.
[0146]
On the other hand, if the continuity of such clusters is interrupted, an affirmative result is obtained in step SP111, whereby the central processing unit 52 proceeds from step SP111 to step SP117. Here, the central processing unit 52 issues a read command using the cluster address detected in step SP109. Here, in this case, the cluster address of this command indicates the AV data area by the above-described recording process.
[0147]
In the subsequent step SP118, the central processing unit 52 searches the system memory 11 and detects the subsequent cluster address. In subsequent step SP119, a seek command is issued by the detected subsequent cluster address. Thereby, in the hard disk drive 43, the address set in the command is converted into the address of the AV data memory 45 in step SP120, and the host device 42 is interrupted in the subsequent step SP121. In the central processing unit 52, transfer of AV data is instructed by this interruption, and in the subsequent step SP122, this AV data is output to the host device 42, and the process returns to step SP109.
[0148]
When returning to step SP108, the central processing unit 52 accesses the record in the host memory 11 to detect a continuous cluster number in which the subsequent AV data is recorded within a predetermined number of clusters, and continues to step SP110- The processing procedure of SP111-SP112 is sequentially executed.
[0149]
In this way, in the head cluster of the read command issued in step SP112 in this way, in this case, the hard disk drive 43 has already waited for the start of reproduction by the seek command in step SP119. As a result, the video camera 41 can effectively avoid a decrease in the access speed due to the seek even when seek is performed due to the continuity of the area in which the AV data is recorded on the hard disk 44 being interrupted.
[0150]
When these processes are repeated and the end of the file to be reproduced is approached, EOF is included in the FAT area recording detected by accessing the system memory 11. Thereby, the central processing unit 52 obtains a positive result in step SP111, and proceeds to step SP124 (FIG. 22).
[0151]
Here, the central processing unit 52 determines whether or not the cluster number in which the EOF is detected in this way belongs to the AV data area. If a negative result is obtained here, the process proceeds to step SP125, and in step SP109. A parameter is set according to the detected cluster number and a read command is issued. As a result, the hard disk drive 23 reproduces AV data from the corresponding cluster in the subsequent step SP126, and records this AV data in the buffer memory 10 in the subsequent step SP127. When the reproduction of the AV data is completed, the host apparatus 42 is interrupted in step SP128, and the central processing unit 52 instructs the hard disk drive 43 to transfer the AV data by this interrupt, and then the process proceeds to step SP130. The processing procedure ends.
[0152]
On the other hand, if a negative result is obtained in step SP124, the central processing unit 52 issues a read command with the cluster address detected in step SP109 in step SP131. As a result, the hard disk drive 43 converts the cluster address added to this command into the address of the AV data memory 45 in the subsequent step SP132, and interrupts the host device 42 in the subsequent step SP133. Further, in response to the interrupt from the host device 42, the corresponding AV data is output from the AV data memory 45 to the host device 42 in the next step SP134, and the processing procedure is terminated by moving to step SP130.
[0153]
According to the configuration shown in FIG. 15, by configuring the AV data memory by a nonvolatile memory, the process of transferring the recording of the AV data area to the AV data memory 33, the recording of the AV data area and the recording of the AV data memory 33 Even if the process for ensuring the consistency is not executed, the same effect as that of the first embodiment can be obtained.
[0154]
At this time, by managing the memory and the data area of the hard disk with management data by continuous cluster addresses, on the hard disk drive side, the data recorded in the memory by the determination of the address set in the command, By simply processing the data reproduced from the recording medium selectively to the device related to the command, wasteful power consumption can be effectively avoided and the desired file data can be immediately output. In the host device, these processes can be executed by simple address management.
[0155]
Further, by recording AV data in the AV data memory and recording subsequent data in the hard disk 44 during a period in which recording to the hard disk 44 is difficult due to seeking, it is possible to effectively reduce the transfer speed due to seeking. It can be avoided.
[0156]
(4) Fourth embodiment
In the video camera according to this embodiment, the index image for cueing is also recorded on the hard disk. Since this video camera has the same configuration as that of the video camera of FIG. 15 except that the configuration related to the index image processing is different, the configuration of FIG. 15 will be used here for explanation.
[0157]
In this video camera, the central processing unit 52 records, on the hard disk drive, a plurality of scenes that are shot after the user sets the operation mode to the camera mode and before the setting is canceled. In addition, in recording such a single file, each time a trigger switch is operated by the user and recording of each scene is started, a still image for indexing is separately created using one field at the start of recording. Further, the central processing unit 52 records the still images together with information such as corresponding addresses and recording times in a predetermined area of the hard disk 44. As a result, this video camera can use this still image, recording time information, and the like as index information to instantly find a shooting scene in each file.
[0158]
The central processing unit 52 selectively records AV data in the AV data memory 45 at the reproduction start position according to the index set in this way, in addition to the top of each file, and stores other AV data in the data area. Control the overall operation to record.
[0159]
As a result, in this embodiment, the beginning of playback for cueing set in the middle of the file is also recorded in the AV data memory 45 during a period when it is difficult to read AV data from the hard disk 44 by seeking. AV data is output so that a decrease in access speed due to seeking can be effectively avoided even when seeking by cueing.
[0160]
(5) Other embodiments
In the above-described embodiment, the case where one AV data area is set for the entire data area of the hard disk has been described. However, the present invention is not limited to this and is shown in FIG. 23 in comparison with FIG. As described above, the data area may be divided into a plurality of areas, and an AV data area may be provided for each area. In this way, it is possible to simplify the process of searching for a connected cluster with the AV data area and the process of detecting an empty area in each area.
[0161]
In the above-described fourth embodiment, the case where the index is set by operating the trigger switch has been described. However, the present invention is not limited to this, and is widely applied to the case where the index is set by the user's setting. be able to.
[0162]
In the first and second embodiments described above, the case where the consistency between the recording of the AV data memory and the recording of the AV data area is described after the recording of one file is completed has been described. The present invention is not limited to this, and these processes may be executed simultaneously with the recording of AV data on the hard disk.
[0163]
Further, in the above-described embodiment, the case of editing processing by processing of individual files and the case of editing processing by setting the playback order of files have been described. However, the present invention is not limited to this, and the editing list is not limited to this. It can be widely applied to editing processing by setting points and out points. In this case, since it is necessary to seek at the place set to the IN point, the AV data is reproduced in advance for such a place on the host device side according to the record of the edit list. It is possible to record in memory.
[0164]
Further, in the above-described embodiment, the case where AV data for one frame (33 [msec]) is recorded in the AV data memory has been described. However, the present invention is not limited to this, and this time is appropriately set as necessary. Can be set.
[0165]
In the above-described embodiment, the case where the present invention is applied to a hard disk device using an MS-DOS compatible file system has been described. However, the present invention is not limited to this, and is widely applied to hard disk devices using various file management systems. be able to. The present invention is not limited to such a hard disk device, and can be widely applied to various recording / reproducing devices such as an optical disk and a magneto-optical disk that require seeking.
[0166]
【The invention's effect】
As described above, according to the present invention, When the cluster numbers are not consecutive, data for a certain time is recorded in the memory, and the subsequent data is recorded on the recording medium, It is possible to effectively avoid a decrease in access speed due to seeking. As a result, AV data can be accessed at high speed, and a plurality of AV streams can be recorded and reproduced simultaneously, and editing, dubbing, etc. can be executed without interruption.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a video camera according to a first embodiment of the present invention.
FIG. 2 is a chart for explaining a recording area in the video camera of FIG. 1;
FIG. 3 is a flowchart showing a processing procedure when the video camera of FIG. 1 is started up.
4 is a flowchart showing a processing procedure at the time of writing in the video camera of FIG. 1. FIG.
FIG. 5 is a flowchart showing a processing procedure continued from FIG. 4;
6 is a flowchart showing a processing procedure at the time of reading in the video camera of FIG. 1;
FIG. 7 is a flowchart showing a processing procedure continued from FIG. 6;
FIG. 8 is a flowchart showing a processing procedure continued from FIG. 7;
FIG. 9 is a chart for explaining editing work.
FIG. 10 is a chart for explaining reproduction by comparison with FIG. 9;
FIG. 11 is a chart for explaining file information indicating a connection relationship between files;
FIG. 12 is a chart for explaining another example of file information indicating a connection relationship between files;
FIG. 13 is a chart for explaining file processing in the video camera according to the second embodiment of the present invention;
FIG. 14 is a chart used for explaining reproduction by comparison with FIG. 13;
FIG. 15 is a block diagram showing a video camera according to a third embodiment of the present invention.
16 is a chart for explaining recording areas in the video camera of FIG. 15;
17 is a block diagram showing in detail a hard disk drive in the video camera of FIG.
18 is a flowchart showing a processing procedure at the time of writing in the video camera of FIG.
FIG. 19 is a flowchart showing a processing procedure continued from FIG. 18;
20 is a flowchart showing a processing procedure at the time of reading in the video camera of FIG.
FIG. 21 is a flowchart showing a processing procedure continued from FIG. 20;
22 is a flowchart showing a processing procedure continued from FIG. 21. FIG.
FIG. 23 is a chart for explaining a recording area according to another example.
FIG. 24 is a block diagram showing a system using a conventional hard disk drive.
FIG. 25 is a chart showing a recording format in a conventional hard disk.
26 is a chart showing data recorded in the directory area of FIG. 25. FIG.
27 is a chart showing codes recorded in the FAT area of FIG. 25. FIG.
[Explanation of symbols]
1, 23, 43 ... Hard disk drive, 2, 22, 42 ... Host device, 3, 24, 44 ... Hard disk, 7, 27, 47 ... Interface control circuit, 12, 31, 52 ... Central processing unit 11, 32 ... System memory, 33, 45 ... AV data memory

Claims (7)

ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置において、
前記ディスク状記録媒体は、
前記連続するデータを記録する領域の管理用データを管理用データの記録領域に記録して保持し、
前記情報処理装置は、
前記ディスク状記録媒体に前記連続するデータを記録し、前記ディスク状記録媒体に記録された前記連続するデータを再生する記録再生部と、
前記連続するデータを記録するメモリと、
前記記録再生部、前記メモリを制御する制御部とを有し、
前記制御部は、
前記記録再生部を介して前記管理用データの記録領域から得られる前記管理用データに基づいて、前記クラスタ単位で、空き領域、記録されたデータのファイルを検出し、該検出結果に基づいた前記記録再生部、前記メモリの制御により、
クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータを前記メモリに記録し、続く空き領域に前記連続するデータの続きを記録すると共に、該連続するデータの記録に対応するように前記管理用データを更新し、
再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力する
ことを特徴とする情報処理装置。
In an information processing apparatus that detects an empty area of a disk-shaped recording medium and records continuous data on a disk-shaped recording medium in units of clusters based on the detection result.
The disc-shaped recording medium is
The management data of the area for recording the continuous data is recorded and held in the management data recording area,
The information processing apparatus includes:
A recording / reproducing unit that records the continuous data on the disc-shaped recording medium and reproduces the continuous data recorded on the disc-shaped recording medium;
A memory for recording the continuous data;
The recording / reproducing unit, and a control unit for controlling the memory,
The controller is
Based on the management data obtained from the management data recording area via the recording / playback unit, the cluster unit detects a free area and a file of recorded data, and based on the detection result, By controlling the recording / playback unit and the memory,
And records data sequentially the continuous to the empty area contiguous cluster number, the location where the cluster number is no longer continuous of the free space, a predetermined time period, and records the data to which the continuous to the memory, followed by The continuation of the continuous data is recorded in an empty area , and the management data is updated so as to correspond to the recording of the continuous data,
At the time of reproduction, after reproducing the continuous data recorded in the free space where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent free space is reproduced and output. An information processing apparatus characterized by that.
前記制御部は、
前記記録再生部、前記メモリの制御により、
ファイルの先頭部分のデータを前記メモリに記録し、続く連続するデータを前記ディスク状記録媒体に記録する
ことを特徴とする請求項1に記載の情報処理装置。
The controller is
By controlling the recording / playback unit and the memory,
The information processing apparatus according to claim 1, wherein data at a head portion of a file is recorded in the memory, and subsequent continuous data is recorded in the disk-shaped recording medium.
前記ディスク状記録媒体は、
前記メモリに保持するデータと同一のデータを纏めて記録する領域と、
前記メモリに保持するデータを除くデータを記録する領域とが設けられ、
前記制御部は、
前記記録再生部、前記メモリの制御により、
前記メモリに保持するデータを前記纏めて記録する領域に記録した後、前記連続したデータの記録の完了により、前記纏めて記録する領域に記録したデータを再生して、前記メモリに記録する
ことを特徴とする請求項1に記載の情報処理装置。
The disc-shaped recording medium is
An area for collectively recording the same data as the data held in the memory;
An area for recording data excluding data held in the memory is provided,
The controller is
By controlling the recording / playback unit and the memory,
Recording the data held in the memory in the area to be collectively recorded, and then reproducing the data recorded in the area to be collectively recorded upon completion of recording of the continuous data and recording the data in the memory. The information processing apparatus according to claim 1.
前記メモリが不揮発性のメモリである
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the memory is a non-volatile memory.
ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置の制御方法において、
クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録するデータ記録のステップと、
再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力するデータ再生のステップと
を有することを特徴とする情報処理装置の制御方法。
In a control method for an information processing apparatus that detects an empty area of a disk-shaped recording medium and records continuous data on a disk-shaped recording medium in units of clusters based on the detection result.
The continuous data is sequentially recorded in the free space where the cluster numbers are continuous, and the continuous data is recorded in the memory for a certain period of time when the cluster number of the free space is not continuous. A data recording step of recording a continuation of the continuous data in an area;
At the time of reproduction, after reproducing the continuous data recorded in the empty area where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent empty area is reproduced and output. A method for controlling an information processing apparatus, comprising: a step of reproducing data.
ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置の制御プログラムにおいて、
クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録するデータ記録のステップと、
再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力するデータ再生のステップと
を有することを特徴とする情報処理装置の制御プログラム。
In a control program for an information processing apparatus that detects an empty area of a disk-shaped recording medium and records continuous data on a disk-shaped recording medium in units of clusters based on the detection result.
The continuous data is sequentially recorded in the free space where the cluster numbers are continuous, and the continuous data is recorded in the memory for a certain period of time when the cluster number of the free space is not continuous. A data recording step of recording a continuation of the continuous data in an area;
At the time of reproduction, after reproducing the continuous data recorded in the free space where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent free space is reproduced and output. A control program for an information processing apparatus, comprising: a data reproduction step.
ディスク状記録媒体の空き領域を検出し、該検出結果に基づいて、クラスタ単位で、連続したデータをディスク状記録媒体に記録する情報処理装置の制御プログラムを記録した記録媒体において、
前記制御プログラムは、
クラスタ番号の連続する前記空き領域に順次前記連続したデータを記録して、前記空き領域の前記クラスタ番号が連続しなくなった箇所では、一定時間分、前記連続するデータをメモリに記録し、続く空き領域に前記連続するデータの続きを記録するデータ記録のステップと、
再生時、前記クラスタ番号の連続する前記空き領域に記録した前記連続するデータを再生した後、前記メモリに記録したデータを再生し、続いて前記続く空き領域に記録したデータを再生して出力するデータ再生のステップと
を有することを特徴とする情報処理装置の制御プログラムを記録した記録媒体。
In a recording medium that records a control program of an information processing apparatus that detects an empty area of a disk-shaped recording medium and records continuous data on the disk-shaped recording medium in units of clusters based on the detection result.
The control program is
The continuous data is sequentially recorded in the free space where the cluster numbers are continuous, and the continuous data is recorded in the memory for a certain period of time when the cluster number of the free space is not continuous. A data recording step of recording a continuation of the continuous data in an area;
At the time of reproduction, after reproducing the continuous data recorded in the empty area where the cluster numbers are continuous, the data recorded in the memory is reproduced, and then the data recorded in the subsequent empty area is reproduced and output. A recording medium on which a control program for an information processing apparatus is recorded.
JP2001320110A 2001-10-01 2001-10-18 Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program Expired - Fee Related JP3770138B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001320110A JP3770138B2 (en) 2001-10-18 2001-10-18 Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program
US10/262,219 US7747144B2 (en) 2001-10-01 2002-09-30 Information processing apparatus, information processing method, recording medium, control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001320110A JP3770138B2 (en) 2001-10-18 2001-10-18 Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program

Publications (2)

Publication Number Publication Date
JP2003125358A JP2003125358A (en) 2003-04-25
JP3770138B2 true JP3770138B2 (en) 2006-04-26

Family

ID=19137549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001320110A Expired - Fee Related JP3770138B2 (en) 2001-10-01 2001-10-18 Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program

Country Status (1)

Country Link
JP (1) JP3770138B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7127549B2 (en) * 2004-02-04 2006-10-24 Sandisk Corporation Disk acceleration using first and second storage devices
JP2005266871A (en) * 2004-03-16 2005-09-29 Ultra X:Kk Computer device having diagnosing/erasing function of hard disk device and its mother board
KR100646301B1 (en) 2004-03-19 2006-11-23 가부시키가이샤 히타치세이사쿠쇼 Data recording and reproducing device, memory device and file access method
JP2005302152A (en) * 2004-04-12 2005-10-27 Sony Corp COMPOSITE STORAGE DEVICE, DATA WRITE METHOD, AND PROGRAM
JP4735100B2 (en) 2005-03-08 2011-07-27 ソニー株式会社 Composite storage device, data processing method, and program
WO2006095868A1 (en) * 2005-03-11 2006-09-14 Pioneer Corporation Content data transmission device, content data transmission method, and remote reproduction system
JP4736593B2 (en) * 2005-07-25 2011-07-27 ソニー株式会社 Data storage device, data recording method, recording and / or reproducing system, and electronic device
JP2007034537A (en) * 2005-07-25 2007-02-08 Sony Corp COMPOSITE STORAGE DEVICE, DATA WRITE METHOD, AND PROGRAM
EP1990956A4 (en) 2006-03-01 2013-07-17 Mitsubishi Electric Corp GATEWAY DEVICE
JP2009110612A (en) * 2007-10-31 2009-05-21 Panasonic Corp Recording / playback device
JP2009163516A (en) * 2008-01-07 2009-07-23 Hitachi Ltd Information recording / reproducing apparatus, control method therefor, and program
JP4988653B2 (en) * 2008-06-13 2012-08-01 株式会社日立製作所 Disk array recording apparatus and recording control method therefor

Also Published As

Publication number Publication date
JP2003125358A (en) 2003-04-25

Similar Documents

Publication Publication Date Title
JP3629216B2 (en) Disk storage system having defragmentation function, and defragmentation method in the same system
JP4736593B2 (en) Data storage device, data recording method, recording and / or reproducing system, and electronic device
JP3888569B2 (en) Disk unit
JP3770138B2 (en) Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program
US20110122759A1 (en) Data Recording Apparatus and System Having Sustained High Transfer Rates
JP2002150699A (en) Information processing apparatus, information processing method, and recording medium recording information processing method
EP1164590A2 (en) Information playback apparatus, information processing method and information recording medium
JP3940902B2 (en) Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and recording medium recording information processing apparatus control program
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
JP4066447B2 (en) Information processing apparatus and data processing method
JP4496790B2 (en) Data storage device and method, and recording / reproducing system
JP3601702B2 (en) Information processing apparatus and information processing method
JP3994306B2 (en) Information processing apparatus and information recording medium access method
JP2000285590A (en) Disk unit
JP4304569B2 (en) DATA STORAGE DEVICE, DATA STORAGE DEVICE CONTROL METHOD, DATA STORAGE DEVICE CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING DATA STORAGE DEVICE CONTROL PROGRAM
JP2004030233A (en) Data processing device, data processing method, program for data processing method, and recording medium recording program for data processing method
JP2003030927A (en) Information processing apparatus and information processing method
JP2003115161A (en) Information processing apparatus and information processing method
JPS6134773A (en) Information recording system
JP2000285640A (en) Information recording / reproducing device
JP2002008349A (en) Information processing apparatus and information processing method
JP3799066B2 (en) Recording device
JP2001282588A (en) File management device
JP2001325135A (en) Device and method for storing/reproducing data
JP2003123379A (en) Information processing apparatus, control method for information processing apparatus, control program for information processing apparatus, and recording medium storing control program for information processing apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060130

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

Free format text: PAYMENT UNTIL: 20100217

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100217

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110217

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120217

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees