JP2004078408A - Recording device and method, recording medium and program - Google Patents

Recording device and method, recording medium and program Download PDF

Info

Publication number
JP2004078408A
JP2004078408A JP2002235763A JP2002235763A JP2004078408A JP 2004078408 A JP2004078408 A JP 2004078408A JP 2002235763 A JP2002235763 A JP 2002235763A JP 2002235763 A JP2002235763 A JP 2002235763A JP 2004078408 A JP2004078408 A JP 2004078408A
Authority
JP
Japan
Prior art keywords
recording
fat
recording medium
processing
information
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.)
Withdrawn
Application number
JP2002235763A
Other languages
Japanese (ja)
Inventor
Yoshihiro Uchiumi
内海 義博
Teruhiko Mochizuki
望月 輝彦
Toshichika Urushibara
漆原 利親
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 JP2002235763A priority Critical patent/JP2004078408A/en
Publication of JP2004078408A publication Critical patent/JP2004078408A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To record continuous data such as real-time AV data in a continuous recording region. <P>SOLUTION: In a step 1, a CPU controls an information recording medium I/F through a CPU bus to copy a file allocation table (FAT) of the information recording medium in a dynamic random access memory (DRAM) for the FAT. In a step S2, the CPU refers to the FAT of the DRAM for the FAT and detects all vacant cluster groups continuous by a prescribed number or more. In a step S3, the CPU generates vacant cluster group information including the head cluster addresses and terminal cluster addresses of the vacant cluster groups detected in the step S2, and records it in FIFO. This device is applicable to a hard disk recorder, video camera using a microdrive, or the like. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、記録装置および方法、記録媒体、並びにプログラムに関し、特に、FAT(File Allocation Table)方式に従ってデータファイルを情報記録媒体に記録する場合に用いて好適な記録装置および方法、記録媒体、並びにプログラムに関する。
【0002】
【従来の技術】
従来、ハードディスクなどの情報記録媒体にデータファイルを記録し、また再生するためのフォーマットとして、FAT方式が知られている。FAT方式は、MS−DOS、WINDOWS(登録商標)などのOS(Operating System)を搭載しているパーソナルコンピュータによって標準でサポートされているので、最も普及しているファイルフォーマット方式であるということができる。
【0003】
FAT方式について説明する。図1に示すように、FAT方式でフォーマットされた情報記録媒体の記録領域は、セクタと称される物理的記録単位に分割されている。各セクタは、所定の容量(例えば、512バイト)を有し、それぞれにセクタアドレスが付与されている。情報記録媒体に対するアクセスはセクタ単位で行われる。
【0004】
また、FAT方式でフォーマットされた情報記録媒体の記録領域は、所定の数のセクタ(例えば、64セクタ)から構成されるクラスタと称される論理的記録単位に分割されている。各クラスタには、それぞれクラスタアドレスが付与されている。情報記録媒体に対するファイルの読み書きの管理は、クラスタ単位で行われる。
【0005】
すなわち、記録するファイルのサイズが1個のクラスタの容量よりも大きい場合、ファイルは複数のクラスタに分割して記録される。反対に、記録するファイルのサイズが1個のクラスタの容量以下である場合、1個のクラスタに、当該ファイルだけが記録される。
【0006】
情報記録媒体の所定の記録領域には、ファイルを記録したり読み出したりするときに参照され、また更新されるファイルアロケーションテーブル(以下、FATと記述する)、およびディレクトリエントリが記録されている。
【0007】
FATには、情報記録媒体の全てのクラスタにそれぞれに対応するスペースが設けられている。したがって、情報記録媒体の容量が大きくなればなるほど、FATのサイズも大きくなる。FATの各スペースには、それぞれFATアドレスが付与されている。
【0008】
FATアドレス0のスペースには、クラスタアドレスCL0のクラスタが空いているか、または使用済であるかを示す情報が記録されている。使用済であることを示す情報としては、クラスタアドレスCL0のクラスタに記録されているデータに継続するデータが存在する場合、継続するデータが記録されているクラスタのクラスタアドレスが記録される。クラスタアドレスCL0のクラスタに記録されているデータに継続するデータが存在しない場合(すなわち、クラスタアドレスCL0のクラスタに記録されているデータでファイルが終結する場合)、EOF(End Of File)が記録されている。
【0009】
同様に、FATアドレス1,2,3…のスペースには、それぞれ、クラスタアドレスCL1,2,3…のクラスタが空いているか、または使用済であるかを示す情報が記録されている。
【0010】
ディレクトリエントリには、各ファイルについて、ファイル名、拡張子、属性、予約情報、ファイル作成時刻、ファイル作成日、最終アクセス日、更新日時、当該ファイルの先頭部分のデータが記録されているクラスタのクラスタアドレス(以下、開始クラスタアドレスと記述する)、およびファイルサイズが記録されている。
【0011】
なお、FATが記録されているクラスタのクラスタアドレス、およびディレクトリエントリが記録されているクラスタのクラスタアドレスは、情報記録媒体の先頭の1セクタに記録されている管理情報に含まれている。管理情報には、情報記録媒体の容量、1クラスタが何セクタで構成されているかを示す情報も含まれる。
【0012】
ディレクトリエントリおよびFATについて具体的に説明する。例えば、図2に示すように、ファイルAがファイルA−1乃至A−18に分割され、それぞれが、情報記録媒体のクラスタアドレスCL1,CL2,CL3,CL5,CL6,CL110,CL112,CL113,CL114,CL115,CL116,CL119,CL320,CL323,CL324,CL328,CL329,CL330のクラスタに記録されたとする。
【0013】
この場合、ディレクトリエントリには、ファイルAの開始クラスタアドレスとして、クラスタアドレスCL1が記録される。
【0014】
一方、FATには、図3に示すように、FATアドレス1のスペースに、クラスタアドレスCL2が記録され、FATアドレス2のスペースに、クラスタアドレスCL3が記録され、FATアドレス3のスペースに、クラスタアドレスCL5が記録される。以下、記述は省略するが、最終的に、FATアドレス330のスペースに、EOFが記録される。なお、図3において、例えば、FATアドレス0、FATアドレス4、FATアドレス7等の空白のスペースには、対応するクラスタが空いていることを示す情報が記録されているものとする。すなわち、図3に示されたFATによれば、クラスタアドレスCL0,CL4,CL7等のクラスタは空きクラスタである。
【0015】
このようして、情報記録媒体に対してファイルが記録される毎に更新されるFATおよびディレクトリエントリは、ファイルが読み出されるときに使用される。
【0016】
例えば、情報記録媒体からファイルAが読み出される処理について説明する。まず始めに、情報記録媒体に記録されているディレクトリエントリとFATが、再生装置の内蔵メモリ(DRAM(Dynamic Random Access Memory)等)にコピーされる。そして、内蔵メモリのディレクトリエントリが参照されて、ファイルAの開始クラスタ(いまの場合、クラスタアドレスCL1)が読み出され、クラスタアドレスCL1のクラスタから、ファイルA−1が読み出される。
【0017】
次に内蔵メモリのFATが参照されて、クラスタアドレスCL1に対応するFATアドレス1のスペースから、次のクラスタアドレスCL2が読み出され、クラスタアドレスCL2のクラスタから、ファイルA−2が読み出される。次に、内蔵メモリのFATが参照されて、クラスタアドレスCL2に対応するFATアドレス2のスペースから、次のクラスタアドレスCL3が読み出され、クラスタアドレスCL12のクラスタから、ファイルA−3が読み出される。
【0018】
これ以降同様にして、順次、ファイルA−4乃至A−18が読み出され、最終的にクラスタアドレスCL330に対応するFATアドレス330から、EOFが読み出されることによって、ファイルを終端まで読み出したことが認識され、読み出しが終了される。
【0019】
次に、情報記録媒体に対してファイルを記録する処理について説明する。まず始めに、情報記録媒体に記録されているディレクトリエントリとFATが、記録装置の内蔵メモリにコピーされる。
【0020】
そして、内蔵メモリのFATが参照されて、空きクラスタが1つ検出され、検出された空きクラスタに、ファイルの先頭の1クラスタ分のデータが記録され、次の空きクラスタが1つ検出されて、データが記録された空きクラスタに対応するFATのスペースに、検出された次の空きクラスタのクラスタアドレスが書き込まれる。
【0021】
これ以降、同様にして、空きクラスタに1クラスタ分のデータが記録され、それに対応してFATが更新される。そして、ファイルの終端のデータまでが記録されて、終端のデータが記録された空きクラスタに対応するFATのスペースに、EOFが書き込まれる。
【0022】
この後、内蔵メモリのディレクトリエントリが更新され、内蔵メモリのディレクトリエントリとFATが、情報記録媒体のディレクトリエントリとFATに上書きされて、ファイルの記録が完了する。
【0023】
以上説明したように、FAT方式に従ってファイルを読み書きする場合においては、情報記録媒体から内蔵メモリにFATをコピーして、内蔵メモリのFATを参照するようにしている。これは、例えば、情報記録媒体のFATを参照してクラスタアドレスを検出した後、検出されたクラスタアドレスのクラスタにデータを読み書きしていたのでは、情報記録媒体のヘッド、ピックアップの移動に時間を費やしてしまい、データの読み書きに遅延が生じ得るからである。
【0024】
【発明が解決しようとする課題】
ところで、FAT方式に従ってファイルを情報記録媒体に書き込む従来の方法では、内蔵メモリのFATを参照して、空きクラスタを1つ検出し、検出された空きクラスタにデータを書き込むことを繰り返している。このように、空きクラスタを1つずつ検索していると、順次検出される空きクラスタのアドレスが必ずしも連続しておらず、クラスタアドレスが離れている空きクラスタが前後して検出されてしまうことがある。
【0025】
このような場合、内蔵メモリのFATを参照しているにも拘わらず、1クラスタ分のデータを書き込む毎に情報記録媒体のヘッド、ピックアップの移動に時間を費やしてしまう。この書き込むデータが、例えば、映像や音声をリアルタイム記録するAV(Audio and Video)データであるならば、データスループットが低下するので、記録される映像や音声に途切れや落ちが生じてしまうことになる課題があった。
【0026】
本発明はこのような状況に鑑みてなされたものであり、リアルタイムのAVデータのような連続性のあるデータを、連続する記録領域に記録できるようにすることを目的とする。
【0027】
【課題を解決するための手段】
本発明の記録装置は、情報記録媒体のFATを読み出す読み出し手段と、読み出し手段によって読み出されたFATに基づいて、情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出手段と、検出手段の検出結果に基づいて、空き単位記録領域群情報を生成する生成手段と、生成手段によって生成された空き単位記録記録領域群情報を保持する保持手段と、保持手段によって保持された空き単位記録記録領域群情報を参照して、情報記録媒体の空き状態の単位記録領域群にデータファイルを記録する記録手段と、記録手段の処理に対応して、読み出し手段によって読み出されたFATを更新する更新手段と、更新手段によって更新されたFATを用いて、情報記録媒体のFATを上書きする上書き手段とを含むことを特徴とする。
【0028】
前記空き単位記録記録領域群情報には、少なくとも、所定の数以上連続して存在する空き状態の単位記録領域群の先頭のアドレスが含まれるようにすることができる。
【0029】
前記データファイルは、MPEG2のプログラムストリームであるようにすることができ、前記所定の数の空き状態の単位記録領域群は、1GOPのデータ量に相当するようにすることができる。
【0030】
本発明の記録方法は、情報記録媒体のFATを読み出す読み出しステップと、読み出しステップの処理で読み出されたFATに基づいて、情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出ステップと、検出ステップの処理の結果に基づいて、空き単位記録領域群情報を生成する生成ステップと、生成ステップの処理で生成された空き単位記録記録領域群情報を保持する保持ステップと、保持ステップの処理で保持された空き単位記録記録領域群情報を参照して、情報記録媒体の空き状態の単位記録領域群にデータファイルを記録する記録ステップと、記録ステップの処理に対応して、読み出しステップの処理で読み出されたFATを更新する更新ステップと、更新ステップの処理で更新されたFATを用いて、情報記録媒体のFATを上書きする上書きステップとを含むことを特徴とする。
【0031】
本発明の記録媒体のプログラムは、情報記録媒体のFATを読み出す読み出しステップと、読み出しステップの処理で読み出されたFATに基づいて、情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出ステップと、検出ステップの処理の結果に基づいて、空き単位記録領域群情報を生成する生成ステップと、生成ステップの処理で生成された空き単位記録記録領域群情報を保持する保持ステップと、保持ステップの処理で保持された空き単位記録記録領域群情報を参照して、情報記録媒体の空き状態の単位記録領域群にデータファイルを記録する記録ステップと、記録ステップの処理に対応して、読み出しステップの処理で読み出されたFATを更新する更新ステップと、更新ステップの処理で更新されたFATを用いて、情報記録媒体のFATを上書きする上書きステップとを含むことを特徴とする。
【0032】
本発明のプログラムは、情報記録媒体のFATを読み出す読み出しステップと、読み出しステップの処理で読み出されたFATに基づいて、情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出ステップと、検出ステップの処理の結果に基づいて、空き単位記録領域群情報を生成する生成ステップと、生成ステップの処理で生成された空き単位記録記録領域群情報を保持する保持ステップと、保持ステップの処理で保持された空き単位記録記録領域群情報を参照して、情報記録媒体の空き状態の単位記録領域群にデータファイルを記録する記録ステップと、記録ステップの処理に対応して、読み出しステップの処理で読み出されたFATを更新する更新ステップと、更新ステップの処理で更新されたFATを用いて、情報記録媒体のFATを上書きする上書きステップとを含む処理をコンピュータに実行させることを特徴とする。
【0033】
本発明の記録装置および方法、並びにプログラムにおいては、情報記録媒体から読み出されたFATに基づいて、情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群が検出され、その検出の結果に基づいて、空き単位記録領域群情報が生成されて保持される。また、保持された空き単位記録記録領域群情報が参照されて、情報記録媒体の空き状態の単位記録領域群にデータファイルが記録され、この記録の処理に対応して、読み出されたFATが更新され、更新されたFATを用いて、情報記録媒体のFATが上書きされる。
【0034】
記録装置は、独立した装置であってもよいし、記録再生装置の記録を実行するブロックであってもよい。
【0035】
【発明の実施の形態】
以下、図面を参照して本発明の一実施の形態であるAV記録装置について説明する。
【0036】
当該AV記録装置は、録画の事前処理として、FATから所定の数以上連続している空きクラスタ群を検出して、その先頭のクラスタアドレスと終端のクラスタアドレスを記録した連続空きクラスタ群情報を生成するようにし、録画時においては、事前に生成した連続空きクラスタ群情報を参照して、連続した空きクラスタ群に映像および音声のデータ(プログラムストリームのデータ)を記録するようにするものである。
【0037】
図4は、当該AV録画装置の構成例を示している。CPU1は、CPUバス16を介してドライブ2を制御し、磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリなどよりなる記録媒体3に記憶されている制御用プログラムを読み出し、読み出した制御用プログラム、および操作入力部4からCPUバス16を介して入力されるユーザの操作情報に対応し、当該AV記録装置の各部の動作開始および終了を制御する。また、特に、CPU1は、CPUバス16を介して情報記録媒体インタフェース(I/F)14を制御し、情報記録媒体15に対するプログラムストリームのデータ等の読み書きを制御する。さらに、CPU1は、FATブロック用SDRAM6にコピーされるFATを参照して、所定の数以上連続している空きクラスタ群の先頭のクラスタアドレスと終端のクラスタアドレスを記録した連続空きクラスタ群情報を生成する。
【0038】
操作入力部4は、操作ボタンなどのユーザインタフェースからなり、ユーザが入力する操作(録画開始を指示する操作、録画終了を指示する操作等)を受け付け、操作情報としてCPUバス16を介してCPU1に出力する。
【0039】
揮発性のFAT用DRAM5には、CPU1の制御により、情報記録媒体15に記録されているFATがコピーされる。FAT用DRAM5にコピーされたFATは、情報記録媒体15の空きクラスタにプログラムストリームのデータが記録される毎に更新され、最後に情報記録媒体15に上書きされる。FIFO6には、CPU1によって生成される連続空きクラスタ群情報が記録される。
【0040】
ビデオカメラ7は、被写体を撮影し、得られる映像信号をビデオエンコーダ8に順次出力する。ビデオエンコーダ8は、ビデオカメラ7から順次入力される映像信号を、所定の方式(MPEG(Moving Picture Experts Group)2方式等)に従ってエンコードし、得られる符号化ビデオデータを、ミキサ(MUX)11に出力する。マイクロフォン9は、集音した音声信号をオーディオエンコーダ10に順次出力する。オーディオエンコーダ10は、マイクロフォン9から順次入力される音声信号を、所定の方式に従ってエンコードし、得られる符号化オーディオデータを、ミキサ11に出力する。ミキサ11は、ビデオエンコーダ8から入力される符号化ビデオデータと、オーディオエンコーダ10から入力される符号化オーディオデータを多重化して、プログラムストリームを生成し、バッファコントローラ12に出力する。
【0041】
バッファコントローラ12は、ミキサ11から入力されるプログラムストリームのデータをデータバッファ13にバッファリングし、データバッファ13にプログラムストリームのデータが1クラスタ分だけ溜まる毎、CPU1に対して書き込みを要求し、さらに、溜まったデータを情報記録媒体I/F14に出力する。なお、データバッファ13に溜まっているプログラムストリームのデータは、情報記録媒体15に対する書き込みが成功するまで保持される。
【0042】
情報記録媒体I/F14は、CPU1からの制御に基づき、情報記録媒体15に記録されているデータ(ディレクトリエントリ、FAT等)を読み出す。また、情報記録媒体I/F14は、CPU1からの制御に基づき、バッファコントローラ12から入力されるプログラムストリームのデータを、CPU1から指定されるクラスタアドレスに記録する。また、情報記録媒体I/F14は、CPU1からの制御に基づき、FAT用DRAM5上で更新されたFATを情報記録媒体15に上書きする。
【0043】
情報記録媒体15は、FAT方式に従ってフォーマットされているハードディスクなどからなる。
【0044】
次に、連続空きクラスタ情報を生成する録画事前処理について、図5のフローチャートを参照して説明する。この録画事前処理は、当該AV記録装置の電源がオンとされたときに開始される。
【0045】
ステップS1において、CPU1は、CPUバス16を介して、情報記録媒体I/F14を制御し、情報記録媒体15に記録されているFATを、FAT用DRAM6にコピーさせる。
【0046】
ステップS2において、CPU1は、FAT用DRAM5のFATを参照して、所定の数以上連続する空きクラスタ群を全て検出する。例えば、1セクタが512バイトであり、1クラスタが64セクタで構成され、記録されるプログラムストリームが9Mbpsである場合、1GOP(Group Of Pictures)のデータ量は18クラスタに相当するので、18クラスタ以上連続する空きクラスタ群を検索するようにする。
【0047】
ステップS3において、CPU1は、ステップS2で検出した空きクラスタ群の先頭のクラスタアドレスおよび終端のクラスタアドレスを含む空きクラスタ群情報を生成して、FIFO6に記録する。
【0048】
なお、ステップS2において、全ての空きクラスタ群を検出するのでなく、FIFO6の容量に応じて、所定の数だけ空きクラスタ群を検出し、その数だけ、空きクラスタ群情報をFIFO6に記録するようにしてもよい。そして、この場合、後述する録画処理で、FIFO6の空きクラスタ群情報が参照されて、FIFO6に空きができた分だけ、情報記録媒体15のクラスタにデータを記録している最中に、再びステップS1乃至S3の処理を実行して、FIFO6に空きクラスタ群情報を追加するようにすればよい。
【0049】
以上で、録画事前処理の説明を終了する。
【0050】
次に、録画処理について、図6のフローチャートを参照して説明する。この録画処理は、ユーザによって録画開始を指示する操作が行われ、それに対応して、CPU1が当該AV記録装置の各部に録画開始を指示し、各部がそれぞれの動作を開始したとき(例えば、ビデオカメラ7が映像信号を出力し、ビデオエンコーダ8が符号化ビデオデータを出力し、ミキサ1がプログラムストリームを出力し、データバッファ13にデータが溜まり始めたとき)に開始される。
【0051】
ステップS11において、CPU1は、FIFO6の空きクラスタ群情報を参照して、1つの空きクラスタ群の先頭および終端のクラスタアドレスを取得する。
【0052】
ステップS12において、CPU1は、バッファコントローラ12から書き込み要求が行われるまで待機し、バッファコントローラ12から書き込み要求が行われる毎に、ステップS11で取得した空きクラスタ群の先頭のクラスタアドレスから終端のクラスタアドレスまでを順に1クラスタアドレスずつ、ライトコマンドとともに、CPUバス16を介して情報記録媒体I/F14に出力し、情報記録媒体I/F14にバッファコントローラ12から入力されているプログラムストリームのデータを記録させる。ステップS12に処理により、例えば、1GOP分のプログラムストリームのデータが連続する空きクラスタ群に記録されることになる。
【0053】
空きクラスタ群に対するプログラムストリームのデータの記録が終了した後、ステップS13において、CPU1は、ステップS12の処理に対応して、FAT用DRAM5のFATを更新する。
【0054】
ステップS14において、CPU1は、ユーザから録画終了が指示されたか否かを判定する。ユーザから録画終了が指示されていないと判定された場合、ステップS11に戻り、それ以降の処理が繰り返される。その後、ステップS14において、録画終了が指示されたと判定された場合、処理はステップS15に進む。ステップS15において、CPU1は、CPUバス16を介して情報記録媒体14を制御し、FAT用DRAM5上の更新されたFATを、情報記録媒体15に記録されているFATに上書きさせる。以上で、録画処理の説明を終了する。
【0055】
以上のように、本発明を適用したAV記録装置によれば、プログラムストリームを1GOP分以上、連続した空きクラスタに記録することができる。したがって、この記録の期間、情報記録媒体15のヘッド、ピックアップの移動は僅かであるから、データスループットの低下を抑止することができる。
【0056】
なお、本発明を適用したAV記録装置によってデータストリームが記録された情報記録媒体15は、通常のFATフォーマットに完全に従っているものであるので、この情報記録媒体15に対して、汎用のパーソナルコンピュータ等が直接アクセスすることができる。
【0057】
なお、本発明は、本実施の形態のように、プログラムストリームを記録するAV記録装置だけでなく、任意のデータを、FAT方式でフォーマットされた情報記録媒体に記録する装置に適用することが可能である。
【0058】
ところで、上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ(例えば、図4のCPU1)、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体(例えば、図4の記録媒体3)からインストールされる。
【0059】
この記録媒体は、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD−ROM(Compact Disc−Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini Disc)を含む)、もしくは半導体メモリなどよりなるパッケージメディアにより構成されるだけでなく、コンピュータに予め組み込まれた状態でユーザに提供される、プログラムが記録されているROMやハードディスクなどで構成される。
【0060】
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0061】
【発明の効果】
以上のように、本発明によれば、リアルタイムのAVデータのような連続性のあるデータを、連続する記録領域に記録することが可能となる。
【図面の簡単な説明】
【図1】情報記録媒体の物理的記録単位であるセクタと論理的記録単位であるクラスタを示す図である。
【図2】ファイルが複数のクラスタに分割して記録された状態を示す図である。
【図3】図2に示された状態に対応するFATの一例を示す図である。
【図4】本発明の一実施の形態であるAV記録装置の構成例を示すブロック図である。
【図5】録画事前処理を説明するフローチャートである。
【図6】録画処理を説明するフローチャートである。
【符号の説明】
1 CPU, 3 記録媒体, 4 操作入力部, 5 FAT用DRAM,6 FIFO,12 バッファコントローラ, 13 データバッファ, 14 情報記録媒体I/F, 15 情報記録媒体
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a recording apparatus and method, a recording medium, and a program, and particularly to a recording apparatus and method, a recording medium, and a recording medium suitable for recording a data file on an information recording medium according to a FAT (File Allocation Table) method. About the program.
[0002]
[Prior art]
Conventionally, as a format for recording and reproducing a data file on an information recording medium such as a hard disk, the FAT method has been known. The FAT method is supported by a personal computer equipped with an OS (Operating System) such as MS-DOS, WINDOWS (registered trademark) or the like, and can be said to be the most popular file format method. .
[0003]
The FAT method will be described. As shown in FIG. 1, the recording area of the information recording medium formatted by the FAT method is divided into physical recording units called sectors. Each sector has a predetermined capacity (for example, 512 bytes), and a sector address is given to each sector. Access to the information recording medium is performed in sector units.
[0004]
Further, the recording area of the information recording medium formatted by the FAT method is divided into logical recording units called clusters each composed of a predetermined number of sectors (for example, 64 sectors). Each cluster is assigned a cluster address. The management of reading and writing of a file from and to the information recording medium is performed in cluster units.
[0005]
That is, when the size of a file to be recorded is larger than the capacity of one cluster, the file is divided into a plurality of clusters and recorded. Conversely, if the size of the file to be recorded is smaller than the capacity of one cluster, only that file is recorded in one cluster.
[0006]
In a predetermined recording area of the information recording medium, a file allocation table (hereinafter referred to as FAT) which is referred to and updated when recording or reading a file, and a directory entry are recorded.
[0007]
The FAT is provided with spaces respectively corresponding to all clusters of the information recording medium. Therefore, the larger the capacity of the information recording medium, the larger the size of the FAT. Each space of the FAT is assigned a FAT address.
[0008]
In the space of the FAT address 0, information indicating whether the cluster of the cluster address CL0 is empty or has been used is recorded. When there is data continuing from the data recorded in the cluster of the cluster address CL0, the cluster address of the cluster in which the continuing data is recorded is recorded as the information indicating that the data has been used. If there is no data continuing from the data recorded in the cluster with the cluster address CL0 (that is, if the file ends with the data recorded in the cluster with the cluster address CL0), EOF (End Of File) is recorded. ing.
[0009]
Similarly, in the spaces of the FAT addresses 1, 2, 3,..., Information indicating whether the cluster of the cluster address CL1, 2, 3,.
[0010]
The directory entry contains, for each file, the file name, extension, attribute, reservation information, file creation time, file creation date, last access date, update date and time, and the cluster of the cluster in which the data at the beginning of the file is recorded. An address (hereinafter, referred to as a start cluster address) and a file size are recorded.
[0011]
The cluster address of the cluster where the FAT is recorded and the cluster address of the cluster where the directory entry is recorded are included in the management information recorded in the first sector of the information recording medium. The management information also includes information indicating the capacity of the information recording medium and the number of sectors that one cluster is composed of.
[0012]
The directory entry and the FAT will be specifically described. For example, as shown in FIG. 2, file A is divided into files A-1 to A-18, each of which has a cluster address CL1, CL2, CL3, CL5, CL6, CL110, CL112, CL113, CL114 of the information recording medium. , CL115, CL116, CL119, CL320, CL323, CL324, CL328, CL329, and CL330.
[0013]
In this case, the cluster address CL1 is recorded in the directory entry as the start cluster address of the file A.
[0014]
On the other hand, in the FAT, as shown in FIG. 3, the cluster address CL2 is recorded in the space of the FAT address 1, the cluster address CL3 is recorded in the space of the FAT address 2, and the cluster address CL is recorded in the space of the FAT address 3. CL5 is recorded. Hereinafter, although the description is omitted, the EOF is finally recorded in the space of the FAT address 330. In FIG. 3, it is assumed that information indicating that the corresponding cluster is empty is recorded in blank spaces such as FAT address 0, FAT address 4, and FAT address 7. That is, according to the FAT shown in FIG. 3, clusters such as the cluster addresses CL0, CL4, and CL7 are empty clusters.
[0015]
In this way, the FAT and directory entry updated each time a file is recorded on the information recording medium are used when the file is read.
[0016]
For example, a process of reading the file A from the information recording medium will be described. First, the directory entry and the FAT recorded on the information recording medium are copied to a built-in memory (DRAM (Dynamic Random Access Memory) or the like) of the reproducing apparatus. Then, the start cluster (in this case, the cluster address CL1) of the file A is read by referring to the directory entry of the internal memory, and the file A-1 is read from the cluster of the cluster address CL1.
[0017]
Next, referring to the FAT of the internal memory, the next cluster address CL2 is read from the space of the FAT address 1 corresponding to the cluster address CL1, and the file A-2 is read from the cluster of the cluster address CL2. Next, referring to the FAT of the internal memory, the next cluster address CL3 is read from the space of the FAT address 2 corresponding to the cluster address CL2, and the file A-3 is read from the cluster of the cluster address CL12.
[0018]
Thereafter, similarly, the files A-4 to A-18 are sequentially read, and finally, the EOF is read from the FAT address 330 corresponding to the cluster address CL330, thereby reading the file to the end. Recognition is made, and reading is completed.
[0019]
Next, a process of recording a file on the information recording medium will be described. First, the directory entry and the FAT recorded on the information recording medium are copied to the internal memory of the recording device.
[0020]
Then, by referring to the FAT of the internal memory, one empty cluster is detected, the data of the first cluster of the file is recorded in the detected empty cluster, and the next empty cluster is detected. The cluster address of the next detected free cluster is written in the FAT space corresponding to the free cluster where the data is recorded.
[0021]
Thereafter, similarly, data for one cluster is recorded in the empty cluster, and the FAT is updated accordingly. Then, the data up to the end of the file is recorded, and the EOF is written in the FAT space corresponding to the free cluster in which the end data is recorded.
[0022]
Thereafter, the directory entry in the internal memory is updated, the directory entry and the FAT in the internal memory are overwritten by the directory entry and the FAT in the information recording medium, and the recording of the file is completed.
[0023]
As described above, when reading or writing a file according to the FAT method, the FAT is copied from the information recording medium to the internal memory, and the FAT in the internal memory is referred to. This is because, for example, if a cluster address is detected with reference to the FAT of the information recording medium and data is read / written from / to the cluster of the detected cluster address, it takes time to move the head and the pickup of the information recording medium. This is because spending may cause a delay in reading and writing data.
[0024]
[Problems to be solved by the invention]
By the way, in the conventional method of writing a file on an information recording medium in accordance with the FAT method, one empty cluster is detected by referring to the FAT in the built-in memory, and writing data to the detected empty cluster is repeated. As described above, when the free clusters are searched one by one, the addresses of the free clusters that are sequentially detected are not always continuous, and the free clusters whose cluster addresses are separated may be detected before and after. is there.
[0025]
In such a case, it takes time to move the head and the pickup of the information recording medium every time one cluster of data is written, even though the FAT in the internal memory is referred to. If the data to be written is, for example, AV (Audio and Video) data for recording video and audio in real time, the data throughput is reduced, and the recorded video and audio are interrupted or dropped. There were challenges.
[0026]
The present invention has been made in view of such circumstances, and has as its object to enable continuous data such as real-time AV data to be recorded in a continuous recording area.
[0027]
[Means for Solving the Problems]
A recording apparatus according to the present invention comprises: a reading unit that reads an FAT of an information recording medium; and a unit recording area group in an empty state that continuously exists in a predetermined number or more of the information recording medium based on the FAT read by the reading unit. Detecting means for detecting the empty unit recording area group information based on the detection result of the detecting means; holding means for holding the empty unit recording area group information generated by the generating means; A recording unit for recording a data file in an empty unit recording area group of the information recording medium with reference to the empty unit recording recording area group information held by the unit, and a reading unit corresponding to the processing of the recording unit. Updating means for updating the read FAT; and overwriting means for overwriting the FAT of the information recording medium using the FAT updated by the updating means. And wherein the Mukoto.
[0028]
The vacant unit recording area group information may include at least a head address of a vacant unit recording area group continuously present for a predetermined number or more.
[0029]
The data file may be an MPEG2 program stream, and the predetermined number of empty unit recording area groups may correspond to the data amount of one GOP.
[0030]
A recording method according to the present invention includes a reading step of reading an FAT of an information recording medium, and a unit recording of a vacant unit which is continuously present in a predetermined number or more on the information recording medium based on the FAT read in the processing of the reading step. A detection step of detecting an area group, a generation step of generating empty unit recording area group information based on a result of the processing of the detection step, and holding of the empty unit recording recording area group information generated by the processing of the generation step. A holding step, a recording step of recording a data file in an empty unit recording area group of the information recording medium with reference to the free unit recording recording area group information held in the processing of the holding step, and a recording step. Correspondingly, an updating step of updating the FAT read in the processing of the reading step and a FAT updated in the processing of the updating step are performed. There are, characterized in that it comprises a overwriting step of overwriting the FAT information recording medium.
[0031]
The program of the recording medium according to the present invention includes a reading step of reading the FAT of the information recording medium, and an empty state continuously present on the information recording medium by a predetermined number or more based on the FAT read in the processing of the reading step. A detection step of detecting a unit recording area group, a generation step of generating free unit recording area group information based on a result of the processing of the detection step, and a free unit recording recording area group information generated in the processing of the generation step. A holding step of holding, a recording step of recording a data file in an empty unit recording area group of the information recording medium with reference to the free unit recording recording area group information held in the processing of the holding step, and In accordance with the processing, an updating step of updating the FAT read in the processing of the reading step, and an updating step in the processing of the updating step. By using the FAT, you must; and a overwriting step of overwriting the FAT information recording medium.
[0032]
A program according to the present invention comprises: a reading step of reading an FAT of an information recording medium; and a unit recording area in an empty state continuously present in a predetermined number or more on the information recording medium based on the FAT read in the processing of the reading step. A detection step of detecting a group, a generation step of generating free unit recording area group information based on a result of the processing of the detection step, and a holding of holding the free unit recording recording area group information generated in the processing of the generation step Step, a recording step of recording a data file in a unit recording area group in an empty state of the information recording medium with reference to the empty unit recording recording area group information held in the processing of the holding step, and a process corresponding to the recording step. An updating step of updating the FAT read in the processing of the reading step; and an FAT updated in the processing of the updating step. Using, characterized in that to execute processing including the overwriting step of overwriting the FAT information recording medium into a computer.
[0033]
In the recording apparatus and method, and the program according to the present invention, based on the FAT read from the information recording medium, a vacant unit recording area group continuously present on the information recording medium for a predetermined number or more is detected, Based on the result of the detection, free unit recording area group information is generated and held. The data file is recorded in the empty unit recording area group of the information recording medium with reference to the held empty unit recording recording area group information, and the read FAT is stored in accordance with the recording processing. Using the updated FAT, the FAT of the information recording medium is overwritten.
[0034]
The recording device may be an independent device, or may be a block that performs recording of the recording / reproducing device.
[0035]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an AV recording apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0036]
The AV recording apparatus detects, as a pre-recording process, a free cluster group that is continuous for a predetermined number or more from the FAT, and generates continuous free cluster group information in which the start cluster address and the end cluster address are recorded. At the time of recording, video and audio data (program stream data) are recorded in the continuous free cluster group with reference to the continuous free cluster group information generated in advance.
[0037]
FIG. 4 shows a configuration example of the AV recording device. The CPU 1 controls the drive 2 via the CPU bus 16, reads a control program stored in a recording medium 3 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and reads the read control program; In response to user operation information input from the operation input unit 4 via the CPU bus 16, the operation of each unit of the AV recording apparatus is controlled to start and end. In particular, the CPU 1 controls an information recording medium interface (I / F) 14 via a CPU bus 16 and controls reading and writing of program stream data and the like from and to the information recording medium 15. Further, the CPU 1 refers to the FAT copied to the FAT block SDRAM 6 and generates continuous free cluster group information in which the starting cluster address and the ending cluster address of the free cluster group continuous for a predetermined number or more are recorded. I do.
[0038]
The operation input unit 4 includes a user interface such as operation buttons, receives an operation input by the user (an operation for instructing start of recording, an operation for instructing end of recording, and the like), and is transmitted to the CPU 1 via the CPU bus 16 as operation information. Output.
[0039]
The FAT recorded on the information recording medium 15 is copied to the volatile FAT DRAM 5 under the control of the CPU 1. The FAT copied to the FAT DRAM 5 is updated every time data of the program stream is recorded in a free cluster of the information recording medium 15 and is finally overwritten on the information recording medium 15. In the FIFO 6, the continuous free cluster group information generated by the CPU 1 is recorded.
[0040]
The video camera 7 captures an image of a subject, and sequentially outputs the obtained video signals to the video encoder 8. The video encoder 8 encodes video signals sequentially input from the video camera 7 according to a predetermined method (MPEG (Moving Picture Experts Group) 2 method or the like), and outputs the encoded video data to a mixer (MUX) 11. Output. The microphone 9 sequentially outputs the collected audio signals to the audio encoder 10. The audio encoder 10 encodes an audio signal sequentially input from the microphone 9 according to a predetermined method, and outputs the obtained encoded audio data to the mixer 11. The mixer 11 multiplexes the encoded video data input from the video encoder 8 and the encoded audio data input from the audio encoder 10, generates a program stream, and outputs the program stream to the buffer controller 12.
[0041]
The buffer controller 12 buffers the program stream data input from the mixer 11 in the data buffer 13, and requests the CPU 1 to write data each time the program stream data is accumulated in the data buffer 13 for one cluster. And outputs the accumulated data to the information recording medium I / F14. The data of the program stream stored in the data buffer 13 is held until the writing to the information recording medium 15 is successful.
[0042]
The information recording medium I / F 14 reads out data (directory entry, FAT, etc.) recorded on the information recording medium 15 under the control of the CPU 1. The information recording medium I / F 14 records the data of the program stream input from the buffer controller 12 at the cluster address specified by the CPU 1 based on the control from the CPU 1. The information recording medium I / F 14 overwrites the information recording medium 15 with the FAT updated on the FAT DRAM 5 under the control of the CPU 1.
[0043]
The information recording medium 15 includes a hard disk formatted according to the FAT method.
[0044]
Next, the recording pre-processing for generating the continuous free cluster information will be described with reference to the flowchart in FIG. This pre-recording process is started when the power of the AV recording device is turned on.
[0045]
In step S1, the CPU 1 controls the information recording medium I / F 14 via the CPU bus 16 to copy the FAT recorded on the information recording medium 15 to the FAT DRAM 6.
[0046]
In step S2, the CPU 1 refers to the FAT of the FAT DRAM 5 and detects all continuous clusters of a predetermined number or more. For example, if one sector is 512 bytes, one cluster is composed of 64 sectors, and the program stream to be recorded is 9 Mbps, the data amount of one GOP (Group Of Pictures) corresponds to 18 clusters. Search for consecutive free clusters.
[0047]
In step S3, the CPU 1 generates free cluster group information including the head cluster address and the end cluster address of the free cluster group detected in step S2, and records the information in the FIFO 6.
[0048]
In step S2, instead of detecting all the free cluster groups, a predetermined number of free cluster groups are detected according to the capacity of the FIFO 6, and the free cluster group information is recorded in the FIFO 6 by the number. You may. In this case, in the recording process described later, the free cluster group information of the FIFO 6 is referred to, and while data is recorded in the cluster of the information recording medium 15 by the amount of free space in the FIFO 6, step The processing of S1 to S3 may be executed to add the free cluster group information to the FIFO 6.
[0049]
This is the end of the description of the recording pre-processing.
[0050]
Next, the recording process will be described with reference to the flowchart in FIG. In this recording process, when a user performs an operation to instruct recording start, and in response thereto, the CPU 1 instructs each unit of the AV recording apparatus to start recording, and when each unit starts its operation (for example, video) (When the camera 7 outputs a video signal, the video encoder 8 outputs coded video data, the mixer 1 outputs a program stream, and data starts to accumulate in the data buffer 13).
[0051]
In step S11, the CPU 1 refers to the free cluster group information in the FIFO 6 and acquires the start and end cluster addresses of one free cluster group.
[0052]
In step S12, the CPU 1 waits until a write request is made from the buffer controller 12, and every time a write request is made from the buffer controller 12, the CPU 1 starts from the start cluster address of the free cluster group obtained in step S11 and ends with the end cluster address. Are sequentially output to the information recording medium I / F 14 via the CPU bus 16 together with the write command, one cluster address at a time, and the data of the program stream input from the buffer controller 12 is recorded on the information recording medium I / F 14. . By the processing in step S12, for example, data of a program stream for one GOP is recorded in a continuous free cluster group.
[0053]
After the recording of the program stream data in the free cluster group is completed, in step S13, the CPU 1 updates the FAT of the FAT DRAM 5 in accordance with the processing in step S12.
[0054]
In step S14, the CPU 1 determines whether the user has instructed the end of recording. If it is determined that the end of recording has not been instructed by the user, the process returns to step S11, and the subsequent processing is repeated. Thereafter, if it is determined in step S14 that the end of recording has been instructed, the process proceeds to step S15. In step S15, the CPU 1 controls the information recording medium 14 via the CPU bus 16 to overwrite the updated FAT on the FAT DRAM 5 with the FAT recorded on the information recording medium 15. This is the end of the description of the recording process.
[0055]
As described above, according to the AV recording apparatus to which the present invention is applied, it is possible to record a program stream in a continuous free cluster for one GOP or more. Therefore, the movement of the head and the pickup of the information recording medium 15 is slight during this recording period, so that a decrease in data throughput can be suppressed.
[0056]
Note that the information recording medium 15 on which the data stream is recorded by the AV recording apparatus to which the present invention is applied completely conforms to the normal FAT format. Can be accessed directly.
[0057]
The present invention can be applied not only to an AV recording apparatus for recording a program stream as in the present embodiment, but also to an apparatus for recording arbitrary data on an information recording medium formatted in the FAT system. It is.
[0058]
Incidentally, the series of processes described above can be executed by hardware, but can also be executed by software. When a series of processes is executed by software, a program constituting the software is installed in a computer (for example, CPU 1 in FIG. 4) incorporated in dedicated hardware, or by installing various programs, It is installed from a recording medium (for example, the recording medium 3 in FIG. 4) to, for example, a general-purpose personal computer that can execute various functions.
[0059]
This recording medium is provided separately from the computer to distribute the program to the user. The recording medium is a magnetic disk (including a flexible disk) on which the program is recorded, or an optical disk (CD-ROM (Compact Disc-Read Only Memory)). , A DVD (including a Digital Versatile Disc), a magneto-optical disk (including an MD (Mini Disc)), or a package medium such as a semiconductor memory, etc. It is provided with a ROM, a hard disk, or the like in which the provided program is recorded.
[0060]
In this specification, the steps of describing a program recorded on a recording medium include, in addition to processing performed in chronological order according to the described order, not only chronological processing but also parallel or individual processing. This includes the processing to be executed.
[0061]
【The invention's effect】
As described above, according to the present invention, continuous data such as real-time AV data can be recorded in a continuous recording area.
[Brief description of the drawings]
FIG. 1 is a diagram showing a sector which is a physical recording unit and a cluster which is a logical recording unit of an information recording medium.
FIG. 2 is a diagram illustrating a state where a file is divided into a plurality of clusters and recorded.
FIG. 3 is a diagram illustrating an example of a FAT corresponding to the state illustrated in FIG. 2;
FIG. 4 is a block diagram illustrating a configuration example of an AV recording device according to an embodiment of the present invention.
FIG. 5 is a flowchart illustrating recording pre-processing.
FIG. 6 is a flowchart illustrating a recording process.
[Explanation of symbols]
1 CPU, 3 recording medium, 4 operation input unit, 5 FAT DRAM, 6 FIFO, 12 buffer controller, 13 data buffer, 14 information recording medium I / F, 15 information recording medium

Claims (6)

FAT方式でフォーマットされた情報記録媒体にデータファイルを記録する記録装置において、
前記情報記録媒体のFATを読み出す読み出し手段と、
前記読み出し手段によって読み出された前記FATに基づいて、前記情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出手段と、
前記検出手段の検出結果に基づいて、空き単位記録領域群情報を生成する生成手段と、
前記生成手段によって生成された前記空き単位記録記録領域群情報を保持する保持手段と、
前記保持手段によって保持された前記空き単位記録記録領域群情報を参照して、前記情報記録媒体の空き状態の単位記録領域群に前記データファイルを記録する記録手段と、
前記記録手段の処理に対応して、前記読み出し手段によって読み出された前記FATを更新する更新手段と、
前記更新手段によって更新された前記FATを用いて、前記情報記録媒体の前記FATを上書きする上書き手段と
を含むことを特徴とする記録装置。
In a recording apparatus for recording a data file on an information recording medium formatted by the FAT method,
Reading means for reading the FAT of the information recording medium;
Detecting means for detecting, based on the FAT read by the reading means, a unit recording area group in an empty state which continuously exists in the information recording medium by a predetermined number or more;
Generating means for generating free unit recording area group information based on the detection result of the detecting means,
Holding means for holding the free unit recording recording area group information generated by the generating means,
A recording unit that records the data file in an empty unit recording area group of the information recording medium with reference to the empty unit recording recording area group information held by the holding unit;
Updating means for updating the FAT read by the reading means in response to the processing of the recording means;
An overwriting means for overwriting the FAT of the information recording medium using the FAT updated by the updating means.
前記空き単位記録記録領域群情報には、少なくとも、前記所定の数以上連続して存在する空き状態の単位記録領域群の先頭のアドレスが含まれる
ことを特徴とする請求項1に記載の記録装置。
2. The recording apparatus according to claim 1, wherein the vacant unit recording recording area group information includes at least a head address of a vacant unit recording area group continuously present for the predetermined number or more. .
前記データファイルは、MPEG2のプログラムストリームであり、
前記所定の数の空き状態の単位記録領域群は、1GOPのデータ量に相当する
ことを特徴とする請求項1に記載の記録装置。
The data file is an MPEG2 program stream,
2. The recording apparatus according to claim 1, wherein the predetermined number of unit recording area groups in an empty state correspond to a data amount of one GOP.
FAT方式でフォーマットされた情報記録媒体にデータファイルを記録する記録装置の記録方法において、
前記情報記録媒体のFATを読み出す読み出しステップと、
前記読み出しステップの処理で読み出された前記FATに基づいて、前記情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出ステップと、
前記検出ステップの処理の結果に基づいて、空き単位記録領域群情報を生成する生成ステップと、
前記生成ステップの処理で生成された前記空き単位記録記録領域群情報を保持する保持ステップと、
前記保持ステップの処理で保持された前記空き単位記録記録領域群情報を参照して、前記情報記録媒体の空き状態の単位記録領域群に前記データファイルを記録する記録ステップと、
前記記録ステップの処理に対応して、前記読み出しステップの処理で読み出された前記FATを更新する更新ステップと、
前記更新ステップの処理で更新された前記FATを用いて、前記情報記録媒体の前記FATを上書きする上書きステップと
を含むことを特徴とする記録方法。
In a recording method of a recording device for recording a data file on an information recording medium formatted by the FAT method,
A reading step of reading the FAT of the information recording medium;
Based on the FAT read in the processing of the reading step, a detecting step of detecting a unit recording area group in an empty state continuously present in a predetermined number or more in the information recording medium;
A generation step of generating free unit recording area group information based on a result of the processing of the detection step;
A holding step of holding the free unit recording recording area group information generated in the processing of the generating step,
A recording step of recording the data file in an empty unit recording area group of the information recording medium with reference to the empty unit recording recording area group information held in the processing of the holding step;
An updating step of updating the FAT read in the processing of the reading step, corresponding to the processing of the recording step;
An overwriting step of overwriting the FAT of the information recording medium using the FAT updated in the processing of the updating step.
FAT方式でフォーマットされた情報記録媒体にデータファイルを記録する記録装置のプログラムであって、
前記情報記録媒体のFATを読み出す読み出しステップと、
前記読み出しステップの処理で読み出された前記FATに基づいて、前記情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出ステップと、
前記検出ステップの処理の結果に基づいて、空き単位記録領域群情報を生成する生成ステップと、
前記生成ステップの処理で生成された前記空き単位記録記録領域群情報を保持する保持ステップと、
前記保持ステップの処理で保持された前記空き単位記録記録領域群情報を参照して、前記情報記録媒体の空き状態の単位記録領域群に前記データファイルを記録する記録ステップと、
前記記録ステップの処理に対応して、前記読み出しステップの処理で読み出された前記FATを更新する更新ステップと、
前記更新ステップの処理で更新された前記FATを用いて、前記情報記録媒体の前記FATを上書きする上書きステップと
を含むことを特徴とするコンピュータが読み取り可能なプログラムが記録されている記録媒体。
A program for a recording device for recording a data file on an information recording medium formatted by the FAT method,
A reading step of reading the FAT of the information recording medium;
Based on the FAT read in the processing of the reading step, a detecting step of detecting a unit recording area group in an empty state continuously present in a predetermined number or more in the information recording medium;
A generation step of generating free unit recording area group information based on a result of the processing of the detection step;
A holding step of holding the free unit recording recording area group information generated in the processing of the generating step,
A recording step of recording the data file in an empty unit recording area group of the information recording medium with reference to the empty unit recording recording area group information held in the processing of the holding step;
An updating step of updating the FAT read in the processing of the reading step, corresponding to the processing of the recording step;
An overwriting step of overwriting the FAT of the information recording medium using the FAT updated in the processing of the updating step, wherein the computer-readable program is recorded.
FAT方式でフォーマットされた情報記録媒体にデータファイルを記録する記録装置を制御するコンピュータに、
前記情報記録媒体のFATを読み出す読み出しステップと、
前記読み出しステップの処理で読み出された前記FATに基づいて、前記情報記録媒体に所定の数以上連続して存在する空き状態の単位記録領域群を検出する検出ステップと、
前記検出ステップの処理の結果に基づいて、空き単位記録領域群情報を生成する生成ステップと、
前記生成ステップの処理で生成された前記空き単位記録記録領域群情報を保持する保持ステップと、
前記保持ステップの処理で保持された前記空き単位記録記録領域群情報を参照して、前記情報記録媒体の空き状態の単位記録領域群に前記データファイルを記録する記録ステップと、
前記記録ステップの処理に対応して、前記読み出しステップの処理で読み出された前記FATを更新する更新ステップと、
前記更新ステップの処理で更新された前記FATを用いて、前記情報記録媒体の前記FATを上書きする上書きステップと
を含む処理を実行させることを特徴とするプログラム。
A computer that controls a recording device that records a data file on an information recording medium formatted in the FAT format;
A reading step of reading the FAT of the information recording medium;
Based on the FAT read in the processing of the reading step, a detecting step of detecting a unit recording area group in an empty state continuously present in a predetermined number or more in the information recording medium;
A generation step of generating free unit recording area group information based on a result of the processing of the detection step;
A holding step of holding the free unit recording recording area group information generated in the processing of the generating step,
A recording step of recording the data file in an empty unit recording area group of the information recording medium with reference to the empty unit recording recording area group information held in the processing of the holding step;
An updating step of updating the FAT read in the processing of the reading step, corresponding to the processing of the recording step;
Using the FAT updated in the process of the updating step to execute a process including an overwriting step of overwriting the FAT of the information recording medium.
JP2002235763A 2002-08-13 2002-08-13 Recording device and method, recording medium and program Withdrawn JP2004078408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002235763A JP2004078408A (en) 2002-08-13 2002-08-13 Recording device and method, recording medium and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002235763A JP2004078408A (en) 2002-08-13 2002-08-13 Recording device and method, recording medium and program

Publications (1)

Publication Number Publication Date
JP2004078408A true JP2004078408A (en) 2004-03-11

Family

ID=32020159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002235763A Withdrawn JP2004078408A (en) 2002-08-13 2002-08-13 Recording device and method, recording medium and program

Country Status (1)

Country Link
JP (1) JP2004078408A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028340A (en) * 2005-07-19 2007-02-01 Canon Inc Image processing apparatus and control method thereof, computer program, and storage medium thereof
JP2007226909A (en) * 2006-02-24 2007-09-06 Victor Co Of Japan Ltd Optical disk recording device and optical disk recording method
KR100997813B1 (en) 2007-08-29 2010-12-01 가부시끼가이샤 도시바 Semiconductor memory device and operation method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028340A (en) * 2005-07-19 2007-02-01 Canon Inc Image processing apparatus and control method thereof, computer program, and storage medium thereof
US8164653B2 (en) 2005-07-19 2012-04-24 Canon Kabushiki Kaisha Image-processing device for recording image data with consecutive-photographing and a controlling method thereof
JP2007226909A (en) * 2006-02-24 2007-09-06 Victor Co Of Japan Ltd Optical disk recording device and optical disk recording method
JP4687500B2 (en) * 2006-02-24 2011-05-25 日本ビクター株式会社 Optical disc recording apparatus and optical disc recording method
KR100997813B1 (en) 2007-08-29 2010-12-01 가부시끼가이샤 도시바 Semiconductor memory device and operation method thereof

Similar Documents

Publication Publication Date Title
EP0971358A2 (en) Data processing apparatus and file management method therefor
US20040047616A1 (en) Recording apparatus and method, recording medium, and program
US7747144B2 (en) Information processing apparatus, information processing method, recording medium, control
KR100982118B1 (en) Recording device, recording method, and recording medium
US20040105331A1 (en) Method and apparatus for controlling the recording of digital information, and recording medium therefor
JP4323870B2 (en) Recording device
US20050259542A1 (en) Reproduction device and method, recording medium, and program
JP2004078408A (en) Recording device and method, recording medium and program
US8682141B2 (en) Video and audio recording apparatus and editing method
US8452158B2 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
US20110194837A1 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
JP4078538B2 (en) REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM
US20040126103A1 (en) Method and apparatus for data access in a video recorder with a disk drive
JP2007265010A (en) File reproduction apparatus, file reproduction method, and program
JP4297002B2 (en) Data recording apparatus and recording method
JP2008199077A (en) Video recording/reproducing method and device
JP2004078704A (en) Image and sound record/playback device and file read/write method thereof
US20110194834A1 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
JP4957498B2 (en) Recording apparatus, recording method, and program
JP4941694B2 (en) Recording apparatus, recording control method, recording medium, and program
JP2001229654A (en) Information recorder
JP4250170B2 (en) Video encoder that sends the extracted image to the outside during encoding
JP2008199203A (en) Video recording/reproducing method and device
JP2001148157A (en) Recording and reproducing device, and recording and reproducing method
JP2010157917A (en) Imaging apparatus and imaging method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20051101