JP4078538B2 - REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM - Google Patents

REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM Download PDF

Info

Publication number
JP4078538B2
JP4078538B2 JP2002284978A JP2002284978A JP4078538B2 JP 4078538 B2 JP4078538 B2 JP 4078538B2 JP 2002284978 A JP2002284978 A JP 2002284978A JP 2002284978 A JP2002284978 A JP 2002284978A JP 4078538 B2 JP4078538 B2 JP 4078538B2
Authority
JP
Japan
Prior art keywords
recording medium
reading
address
processing
data file
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
JP2002284978A
Other languages
Japanese (ja)
Other versions
JP2004118989A (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 JP2002284978A priority Critical patent/JP4078538B2/en
Publication of JP2004118989A publication Critical patent/JP2004118989A/en
Application granted granted Critical
Publication of JP4078538B2 publication Critical patent/JP4078538B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、再生装置および方法、記録媒体、並びにプログラムに関し、例えば、FAT(File Allocation Table)方式に従って情報記録媒体に断片化されて記録されているデータファイルを再生する場合に用いて好適な再生装置および方法、記録媒体、並びにプログラムに関する。
【0002】
【従来の技術】
従来、ハードディスクなどのランダムアクセス可能な情報記録媒体にデータファイルを記録し、また再生するためのフォーマットとして、FAT方式が知られている。FAT方式は、MS-DOS(商標)、WINDOWS(登録商標)などのOS(Operating System)を搭載しているパーソナルコンピュータが標準でサポートされているので、最も普及しているファイルフォーマット方式であるということができる。
【0003】
FAT方式について説明する。FAT方式に従ってデータが記録される情報記録媒体の記録領域は、図1に示すように、セクタと称される物理的記録単位に分割されている。各セクタは、所定の容量(例えば、512バイト)を有し、それぞれにセクタアドレスが付与されている。情報記録媒体に対するアクセスはセクタ単位で行われる。
【0004】
また、情報記録媒体の記録領域は、複数のセクタ(例えば、64セクタ)から構成されるクラスタと称される論理的記録単位に分割されている。各クラスタには、それぞれクラスタアドレスが付与されている。情報記録媒体に対するファイルの読み書きは、クラスタ単位で行われる。
【0005】
すなわち、記録するファイルのサイズが1個のクラスタの容量よりも大きい場合、ファイルは複数のクラスタに分割して記録される。反対に、記録するファイルのサイズが1個のクラスタの容量以下である場合、1個のクラスタに、当該ファイルだけが記録される。
【0006】
記録領域の所定のアドレスには、ファイルが記録されている先頭のクラスタの繋がりを示すディレクトリエントリ、およびファイルが記録されているクラスタの繋がりを示すファイルアロケーションテーブル(以下、FATと記述する)が記録されている。
【0007】
ディレクトリエントリには、各ファイルについて、ファイル名、拡張子、属性、予約済み領域、ファイル作成時刻、ファイル作成日、最終アクセス日、更新日時、当該ファイルの先頭部分のデータが記録されているクラスタのクラスタアドレス(以下、開始クラスタアドレスと記述する)、ファイルサイズ等が記録されている。
【0008】
FATには、情報記録媒体の全てのクラスタにそれぞれに対応するスペースが設けられている。したがって、情報記録媒体の容量が大きくなればなるほど、FATのサイズも大きくなる。FATの各スペースには、それぞれFATアドレスが付与されている。
【0009】
FATアドレス0のスペースには、クラスタアドレスCL0のクラスタが空いているか、または使用済であるかを示す情報が記録されている。使用済であることを示す情報としては、クラスタアドレスCL0のクラスタに記録されているデータに継続するデータが存在する場合、継続するデータが記録されているクラスタのクラスタアドレスが記録される。クラスタアドレスCL0のクラスタに記録されているデータに継続するデータが存在しない場合(すなわち、クラスタアドレスCL0のクラスタに記録されているデータでファイルが終結する場合)、エンドマークとしてEOF(End Of File)が記録されている。
【0010】
同様に、FATアドレス1,2,3…のスペースには、それぞれ、クラスタアドレスCL1,2,3…のクラスタが空いているか、または使用済であるかを示す情報が記録されている。
【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のクラスタに記録されたとする。このように、1つのファイルが、連続していないクラスタに分割されて記録されることを、断片化(フラグメンテーション)と称する。
【0013】
この場合、ディレクトリエントリには、ファイルAの開始クラスタアドレスとして、クラスタアドレスCL1が記録される。
【0014】
一方、FATには、図3に示すように、FATアドレス1のスペースに、クラスタアドレスCL2が記録され、FATアドレス2のスペースに、クラスタアドレスCL3が記録され、FATアドレス3のスペースに、クラスタアドレスCL5が記録される。以下、記述は省略するが、最終的に、FATアドレス330のスペースに、EOFが記録される。
【0015】
次に、図2に示されたように情報記録媒体に記録されているファイルAを、従来の再生装置によって情報記録媒体から読み出す処理について説明する。
【0016】
まず始めに、情報記録媒体のディレクトリエントリが参照され、ファイルAの開始クラスタアドレス(いまの場合、クラスタアドレスCL1)が読み出される。
【0017】
次に、情報記録媒体に記録されているFATが、再生装置に内蔵されたメモリ(DRAM(Dynamic Random Access Memory)等)にコピーされる。
【0018】
このように、FATが内蔵されたメモリにコピーされた後、クラスタアドレスCL1のクラスタから、ファイルA−1の読み出しが開始される。そして、ファイルA−1の読み出しに並行して、内蔵されたメモリのFATのFATアドレス1が参照され、ファイルA−2が記録されているクラスタのクラスタアドレス(いまの場合、クラスタアドレスCL2)が検出され、ファイルA−1の読み出しが終了した後、引き続いて、クラスタアドレスCL2のクラスタから、ファイルA−2の読み出しが開始される。以下同様にして、ファイルA−3乃至A−18も読み出される。
【0019】
以上説明したように、ファイルを読み出すときには、頻繁にFATが参照される。そこで、この参照に要する時間が少しでも短くなるように、情報記録媒体のFATを参照するのではなく、再生装置に内蔵されたメモリにコピーしたFATを参照するようになされている。(例えば、特許文献1参照)
【0020】
【特許文献1】
特開平8−110868号公報(第1頁)
【0021】
【発明が解決しようとする課題】
ここで、図2に示されたように、断片化されたファイルAが、例えば、MPEG(Moving Pictures Experts Group)2方式等によって符号化されているAV(Audio and Visual)信号のストリームデータであるとする。
【0022】
このストリームデータを情報記録媒体から再生する場合(読み出して、復号等の処理を行い、得られる映像をディスプレイに表示し、また音声を出力する場合)、ストリームデータが断片化されて記録されていることに起因して、情報記録媒体の読み出しヘッドのシークに時間を要してしまうので、例えば、再生される映像や音声が途切れたり、画抜け、音飛びが発生してしまったりすることが発生し得る課題があった。
【0023】
本発明はこのような状況に鑑みてなされたものであり、FAT方式に従って情報記録媒体に記録されているAV信号等のストリーミングデータを、連続して滞りなく再生できるようにすることを目的とする。
【0024】
【課題を解決するための手段】
本発明の再生装置は、データファイルの断片が記録されている情報記録媒体の単位記録領域のアドレスを示すテーブルを、情報記録媒体から取得する取得手段と、取得手段によって取得されたテーブルに基づき、読み出しアドレスを指定する指定手段と、指定手段によって指定された読み出しアドレスに対応する情報記録媒体の単位記録領域から、データファイルの断片を読み出す読み出し手段と、読み出し手段によって読み出された断片を記憶する第1の記憶手段と、取得手段によって取得されたテーブルに基づき、再読み出し情報を生成する生成手段と、生成手段によって生成された再読み出し情報に基づき、第1の記憶手段によって記憶されたデータファイルの断片を、再生順序に並び替えて記憶する第2の記憶手段と、第2の記憶手段に再生順序で記憶されたデータファイルを再生する再生手段とを含むことを特徴とする。
【0025】
前記テーブルは、FATであるようにすることができる。
【0026】
前記指定手段は、取得手段によって取得されたテーブルに基づき、データファイルの断片が記録されている単位記録領域のアドレスを、断片の再生順序に拘わらず、情報記録媒体からの読み出し要する時間が短くなるように、読み出しアドレスに指定するようにすることができる。
【0027】
前記指定手段は、取得手段によって取得されたテーブルに基づき、データファイルの断片が記録されていない単位記録領域のアドレスも、情報記録媒体からの読み出し要する時間が短くなるように、読み出しアドレスに指定するようにすることができる。
【0028】
前記読み出し手段は、指定手段によって指定された読み出しアドレスに対応する情報記録媒体の単位記録領域から、データファイルの断片ではないデータも読み出すようにすることができ、前記第1の記憶手段は、読み出し手段によって読み出された断片ではないデータも記憶するようにすることができる。
【0030】
本発明の再生方法は、データファイルの断片が記録されている情報記録媒体の単位記録領域のアドレスを示すテーブルを、情報記録媒体から取得する取得ステップと、取得ステップの処理で取得されたテーブルに基づき、読み出しアドレスを指定する指定ステップと、指定ステップの処理で指定された読み出しアドレスに対応する情報記録媒体の単位記録領域から、データファイルの断片を読み出す読み出しステップと、読み出しステップの処理で読み出された断片を記憶する第1の記憶ステップと、取得ステップの処理で取得されたテーブルに基づき、再読み出し情報を生成する生成ステップと、生成ステップの処理で生成された再読み出し情報に基づき、第1の記憶ステップの処理で記憶されたデータファイルの断片を、再生順序に並び替えて記憶する第2の記憶ステップと、第2の記憶ステップの処理により再生順序で記憶されたデータファイルを再生する再生ステップとを含むことを特徴とする。
【0031】
本発明の記録媒体のプログラムは、データファイルの断片が記録されている情報記録媒体の単位記録領域のアドレスを示すテーブルを、情報記録媒体から取得する取得ステップと、取得ステップの処理で取得されたテーブルに基づき、読み出しアドレスを指定する指定ステップと、指定ステップの処理で指定された読み出しアドレスに対応する情報記録媒体の単位記録領域から、データファイルの断片を読み出す読み出しステップと、読み出しステップの処理で読み出された断片を記憶させる第1の記憶ステップと、取得ステップの処理で取得されたテーブルに基づき、再読み出し情報を生成する生成ステップと、生成ステップの処理で生成された再読み出し情報に基づき、第1の記憶ステップの処理で記憶されたデータファイルの断片を、再生順序に並び替えて記憶させる第2の記憶ステップと、第2の記憶ステップの処理により再生順序で記憶されたデータファイルを再生する再生ステップとを含むことを特徴とする。
【0032】
本発明のプログラムは、データファイルの断片が記録されている情報記録媒体の単位記録領域のアドレスを示すテーブルを、情報記録媒体から取得する取得ステップと、取得ステップの処理で取得されたテーブルに基づき、読み出しアドレスを指定する指定ステップと、指定ステップの処理で指定された読み出しアドレスに対応する情報記録媒体の単位記録領域から、データファイルの断片を読み出す読み出しステップと、読み出しステップの処理で読み出された断片を記憶させる第1の記憶ステップと、取得ステップの処理で取得されたテーブルに基づき、再読み出し情報を生成する生成ステップと、生成ステップの処理で生成された再読み出し情報に基づき、第1の記憶ステップの処理で記憶されたデータファイルの断片を、再生順序に並び替えて記憶させる第2の記憶ステップと、第2の記憶ステップの処理により再生順序で記憶されたデータファイルを再生する再生ステップとを含む処理をコンピュータに実行させることを特徴とする。
【0033】
本発明の再生装置および方法、並びにプログラムにおいては、指定された読み出しアドレスに対応する情報記録媒体の単位記録領域から、データファイルの断片が読み出されて記憶される。さらに、生成された再読み出し情報に基づき、記憶されたデータファイルの断片が、再生順序に並び替えられて記憶され、再生順序で記憶されたデータファイルが再生される。
【0034】
再生装置は、独立した装置であってもよいし、例えば、ディジタルビデオカメラのような記録再生装置の再生を実行するブロックであってもよい。
【0035】
【発明の実施の形態】
以下、図面を参照して本発明の一実施の形態であるAV再生装置について説明する。
【0036】
当該AV再生装置は、FAT方式に従って情報記録媒体3(図4)に記録されているAV信号のストリーミングデータを、連続して滞りなく再生するものである。
【0037】
図4は、当該AV再生装置の構成例を示している。制御部1は、磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリなどよりなる記録媒体2に記憶されている制御用プログラムを読み出し、読み出した制御用プログラムに従って当該AV再生装置の各部を制御する。
【0038】
例えば、ハードディスク、マイクロディスク等からなるランダムアクセス可能な情報記録媒体3には、AV信号のストリーミングデータであるファイルBが、例えば、図5に示ように、断片化されて記録されている。すなわち、ファイルBがファイルB−1乃至A−10に断片化され、それぞれが、情報記録媒体3のクラスタアドレスCL24,CL25,CL23,CL26,CL27,CL31,CL36,CL37,CL40,CL38のクラスタに記録されている。
【0039】
なお、断片化されてファイルBが記録されているクラスタの間には、ファイルBとは無関係のデータX1乃至X8が記録されているものとする。
【0040】
また、情報記録媒体3には、ファイルBに関する情報を含むディレクトリエントリ、およびFATが記録されている。ディレクトリエントリには、ファイルBの開始クラスタアドレスとして、クラスタアドレスCL24が記録されている。
【0041】
図6は、FATのファイルBに関する部分を示している。例えば、ファイルB−1が記録されているクラスタのクラスタアドレスCL24に対応するFATのスペースには、ファイルB−2が記録されているクラスタのクラスタアドレスCL25が記録されている。また、例えば、ファイルB−2が記録されているクラスタのクラスタアドレスCL25に対応するFATのスペースには、ファイルB−3が記録されているクラスタのクラスタアドレスCL23が記録されている。
【0042】
図4に戻る。読み出し部4は、情報記録媒体3に記録されているディレクトリエントリおよびFATを読み出して、読み出しアドレス生成部5に出力する。また、読み出し部4は、読み出しアドレス生成部5から入力される情報記録媒体3の読み出しアドレスに従い、情報記録媒体3からデータ(断片化されたファイルやその他のデータ)を読み出してデータバッファ6に出力する。
【0043】
読み出しアドレス生成部5は、読み出し部4から入力されるディレクトリエントリおよびFATに基づき、ファイルを効率的に読み出すことができるように読み出しアドレスを生成して、読み出し部4およびリオーダ情報生成部7に出力する。データバッファ6は、読み出し部4から入力されたデータを、入力された順に記憶する。
【0044】
リオーダ情報生成部7は、読み出しアドレス生成部5から入力される読み出しアドレスに基づき、データバッファ6の記憶領域のアドレスと読み出す順序との対応を示すリオーダ情報を生成して、リオーダ部8に出力する。
【0045】
リオーダ部8は、リオーダ情報生成部7から入力されるリオーダ情報に基づき、データバッファ6に記憶されているファイルの断片を、元のファイルを構成する順に読み出してリオーダバッファ9に出力する。リオーダバッファ9は、リオーダ部8によってデータバッファ6から読み出されたファイルの断片を入力された順に記憶する。デコード部10は、リオーダバッファ9に記録されているファイルを読み出してデコードし、得られるビデオ信号およびオーディオ信号を、それぞれ、後段のディスプレイまたはスピーカ(いずれも不図示)に出力する。
【0046】
次に、当該AV再生装置による、記録媒体3に断片化されて記録されているファイルBの再生処理について、図7のフローチャートを参照して説明する。
【0047】
ステップS1において、読み出し部4は、情報記録媒体3からディレクトリエントリおよびFATを読み出して、読み出しアドレス生成部5に出力する。ステップS2において、読み出しアドレス生成部5は、読み出し部4から入力されたディレクトリエントリおよびFATに基づき、ファイルを効率的に読み出すことができるように読み出しアドレスを生成して、読み出し部4およびリオーダ情報生成部7に出力する。
【0048】
このステップS2における読み出しアドレス生成処理について、図8のフローチャートを参照して説明する。
【0049】
ステップS11において、読み出しアドレス生成部5は、読み出し部4から入力されたFATを参照して、ファイルBの断片が記録されているクラスタが連続していない箇所(以下、不連続点と記述する)を検出する。いまの場合、第1の不連続点としてクラスタアドレスCL28乃至CL30、第2の不連続点としてクラスタアドレスCL32乃至CL35、第3の不連続点としてクラスタアドレスCL39が検出される。
【0050】
ステップS12において、読み出しアドレス生成部5は、各不連続点のクラスタ数を検出する。いまの場合、第1の不連続点のクラスタ数として3クラスタ、第2の不連続点のクラスタ数として4クラスタ、第3の不連続点のクラスタ数として1クラスタが検出される。
【0051】
ステップS13において、読み出しアドレス生成部5は、各不連続点について、不連続点のクラスタに記録されているファイルBとは無関係のデータXを、ファイルBの断片に引き続いて読み出した場合に要する時間aを算出する。
【0052】
具体的には、第1の不連続点については、ファイルB−5の読み出しに引き続いて、データX1乃至X3も読み出した場合に要する時間a1=3×tcが算出される。第2の不連続点については、ファイルB−6の読み出しに引き続いて、データX4乃至X7も読み出した場合に要する時間a2=4×tcが算出される。第3の不連続点については、ファイルB−10の読み出しに引き続いて、データX8を読み出した場合に要する時間a3=1×tcが算出される。ここで、tcは、1クラス分のデータを連続的に読み出すために要する時間である。
【0053】
ステップS14において、読み出しアドレス生成部5は、各不連続点について、不連続点のクラスタに記録されているファイルBとは無関係のデータXを読み飛ばす場合に要する時間bを算出する。
【0054】
具体的には、第1の不連続点については、クラスタアドレスCL27のクラスタに記録されているファイルB−5を読み出した後、クラスタアドレスCL31のクラスタにシークための時間b1が算出される。第2の不連続点については、クラスタアドレスCL31のクラスタに記録されているファイルB−6を読み出した後、クラスタアドレスCL36のクラスタにシークための時間b2が算出される。第3の不連続点については、クラスタアドレスCL38のクラスタに記録されているファイルB−10を読み出した後、クラスタアドレスCL40のクラスタにシークための時間b3が算出される。
【0055】
ステップS15において、読み出しアドレス生成部5は、各不連続点について、ステップS13,S14の処理でそれぞれ算出した時間a,bを比較する。時間aが時間bよりも長いと判定された不連続点については、ステップS16に進み、読み出しアドレス生成部5が、無関係のデータXを読み飛ばすように読み出しアドレスを指定する。
【0056】
反対に、時間aが時間bよりも長くないと判定された不連続点については、ステップS17に進み、読み出しアドレス生成部5が、無関係のデータXをファイルBの断片の読み出しに引き続いて読み出すように読み出しアドレスを指定する。
【0057】
ステップS15乃至S17の処理について具体的に説明する。例えば、第1の不連続点について、時間a1>時間b1が成立すると判定された場合、読み出しアドレスとして、クラスタアドレスCL23,CL24,CL25,CL26,CL27の次に、離れたクラスタアドレスCL31が指定される。第2の不連続点については、時間a2>時間b2が成立すると判定された場合、読み出しアドレスとして、クラスタアドレスCL31の次に、離れたクラスタアドレスCL36が指定される。第3の不連続点については、時間a3>時間b3が成立しないと判定された場合、読み出しアドレスとして、クラスタアドレスCL38に引き続いて、無関係なデータX8が記録されているクラスタアドレスCL39が指定される。
【0058】
したがって、いまの場合、読み出しアドレスとして、クラスタアドレスCL23,CL24,CL25,CL26,CL27,CL31,CL36,CL37,CL38,CL39、およびCL40が順番に指定される。
【0059】
ステップS18において、読み出しアドレス生成部5は、読み出しアドレスとして、クラスタアドレスCL23,CL24,CL25,CL26,CL27,CL31,CL36,CL37,CL38,CL39、およびCL40を順に読み出し部4およびリオーダ情報生成部7に出力する。以上で、読み出しアドレス生成処理の説明を終了する。
【0060】
処理は、図7のステップS3にリターンする。ステップS3において、読み出し部4は、読み出しアドレス生成部5から入力された読み出しアドレスに対応する情報記録媒体3のクラスタに記録されているデータを読み出し、データバッファ6に出力する。ステップS4において、データバッファ6は、読み出し部4から入力されるデータを、入力された順にバッファリングする。
【0061】
いまの場合、情報記録媒体3のクラスタアドレスCL23,CL24,CL25,CL26,CL27,CL31,CL36,CL37,CL38,CL39、およびCL40のクラスタに記録されているファイルB−3,B−1,B−2,B−4,B−5,B−6,B−7,B−8,B−10、データX8、およびファイルB−9が読み出され、図9に示すように、読み出された順に、データバッファ6のアドレスDB0乃至DB10にバッファリングされる。
【0062】
ステップS5において、リオーダ情報生成部7は、読み出しアドレス生成部5から入力された読み出しアドレスに基づき、データバッファ6の記憶領域のアドレスと読み出す順序との対応を示すリオーダ情報を生成し、リオーダ部8に出力する。
【0063】
いまの場合、図10に示すように、データバッファ6のアドレスDB1にバッファリングされているデータが0番目、アドレスDB2にバッファリングされているデータが1番目、アドレスDB0にバッファリングされているデータが2番目、アドレスDB3にバッファリングされているデータが3番目、アドレスDB4にバッファリングされているデータが4番目、アドレスDB5にバッファリングされているデータが5番目、アドレスDB6にバッファリングされているデータが6番目、アドレスDB7にバッファリングされているデータが7番目、アドレスDB10にバッファリングされているデータが8番目、アドレスDB8にバッファリングされているデータが9番目に読み出されることを示すリオーダ情報が生成される。
【0064】
リオーダ情報には、データバッファ6のアドレスDB9にバッファリングされているデータがファイルBとは無関係であって無効なデータであることも含まれている。
【0065】
なお、ステップS5の処理は、上述したステップS3およびS4の処理と並行して実行するようにしてもよい。
【0066】
ステップS6において、リオーダ部8は、リオーダ情報生成部7から入力されるリオーダ情報に基づき、データバッファ6に記憶されているファイルBの断片であるファイルB−1乃至B−8を、ファイルBを構成する順に読み出してリオーダバッファ9に出力する。リオーダバッファ9は、リオーダ部8によってデータバッファ6から読み出されたファイルBの断片であるファイルB−1乃至B−8を、図11に示すように、入力された順にバッファリングする。
【0067】
ステップS8において、デコード部10は、リオーダバッファ9に記録されているファイルを読み出してデコードする。以上で、再生処理の説明を終了する。
【0068】
以上説明した再生処理によれば、記録媒体3に分散されて記録されているファイルB−1乃至B−10が、リオーダバッファ9に順に配置されてバッファリングされるので、デコード部10に、滞りなくファイルBを供給することができる。
【0069】
また、以上説明した再生処理によれば、記録媒体3に分散されていなくとも、例えば、再生順序とは異なる順序で記録されているファイルの断片も、リオーダバッファ9に順に配置されてバッファリングされるので、デコード部10に、滞りなくファイルBを供給することができる。
【0070】
したがって、デコード部10が出力するビデオ信号およびオーディオ信号に、画抜け、音飛びが発生することを抑止することができる。
【0071】
なお、本発明は、本実施の形態であるAV再生装置の他、さらに記録機能を有するAV記録再生装置やディジタルビデオカメラに適用することが可能である。
【0072】
また、本発明は、AV信号のストリーミングデータを再生する装置だけでなく、その他のストリーミングデータを読み出す装置に適用することができる。
【0073】
さらに、本発明は、あらゆるデータを、FAT方式でフォーマットされた情報記録媒体に記録する装置に適用することが可能である。
【0074】
ところで、上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ(例えば、図4の制御部1)、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体(例えば、図4の記録媒体2)からインストールされる。
【0075】
この記録媒体は、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini Disc)を含む)、もしくは半導体メモリなどよりなるパッケージメディアにより構成されるだけでなく、コンピュータに予め組み込まれた状態でユーザに提供される、プログラムが記録されているROMやハードディスクなどで構成される。
【0076】
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0077】
【発明の効果】
以上のように、本発明によれば、情報記録媒体に記録されているAV信号等のストリーミングデータを、連続して滞りなく再生することが可能となる。
【図面の簡単な説明】
【図1】情報記録媒体の物理的記録単位であるセクタと論理的記録単位であるクラスタを示す図である。
【図2】ファイルが断片化され、クラスタに分散して記録される状態を示す図である。
【図3】図2に示された状態で記録されたファイルに対応するFATの一例を示す図である。
【図4】本発明の一実施の形態であるAV再生装置の構成例を示すブロック図である。
【図5】ファイルが断片化されて記録媒体に記録された状態の一例を示す図である。
【図6】図5に示された状態で記録されたファイルに対応するFATの一例を示す図である。
【図7】図4のAV再生装置による再生処理を説明するフローチャートである。
【図8】図7のステップS2の処理を説明するフローチャートである。
【図9】データバッファにバッファリングされるデータの一例を示す図である。
【図10】リオーダ情報の一例を示す図である。
【図11】リオーダバッファにバッファリングされるファイルの一例を示す図である。
【符号の説明】
1 制御部, 2 記録媒体, 3 情報記録媒体, 4 読み出し部, 5読み出しアドレス生成部, 6 データバッファ, 7 利オード情報生成部, 8 リオーダ部, 9 リオーダバッファ, 10 デコード部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a playback apparatus and method, a recording medium, and a program. For example, a playback suitable for playing back a data file that is fragmented and recorded on an information recording medium according to the FAT (File Allocation Table) method. The present invention relates to an apparatus and method, a recording medium, and a program.
[0002]
[Prior art]
Conventionally, the FAT system is known as a format for recording and reproducing data files on a randomly accessible information recording medium such as a hard disk. The FAT method is the most popular file format method because personal computers equipped with an OS (Operating System) such as MS-DOS (trademark) and WINDOWS (registered trademark) are supported as standard. be able to.
[0003]
The FAT method will be described. As shown in FIG. 1, the recording area of the information recording medium in which data is recorded according to the FAT system is divided into physical recording units called sectors. Each sector has a predetermined capacity (for example, 512 bytes), and a sector address is assigned to each sector. Access to the information recording medium is performed in units of sectors.
[0004]
In addition, the recording area of the information recording medium is divided into logical recording units called clusters composed of a plurality of sectors (for example, 64 sectors). Each cluster is given a cluster address. Reading / writing of the file with respect to an information recording medium is performed per cluster.
[0005]
That is, when the size of the file to be recorded is larger than the capacity of one cluster, the file is divided and recorded in a plurality of clusters. On the other hand, when the size of the file to be recorded is less than the capacity of one cluster, only the file is recorded in one cluster.
[0006]
At a predetermined address in the recording area, a directory entry indicating the connection of the first cluster in which the file is recorded and a file allocation table (hereinafter referred to as FAT) indicating the connection of the cluster in which the file is recorded are recorded. Has been.
[0007]
In the directory entry, for each file, the file name, extension, attribute, reserved area, file creation time, file creation date, last access date, update date and time, and the data of the first part of the file are recorded. A cluster address (hereinafter referred to as a start cluster address), a file size, and the like are recorded.
[0008]
In the FAT, spaces corresponding to each of all clusters of the information recording medium are provided. Therefore, the larger the capacity of the information recording medium, the larger the FAT size. A FAT address is assigned to each FAT space.
[0009]
Information indicating whether the cluster of the cluster address CL0 is free or used is recorded in the space of the FAT address 0. As information indicating that the data has been used, if there is continuous data in the data recorded in the cluster having the cluster address CL0, the cluster address of the cluster in which the continuous data is recorded is recorded. When there is no continuous data in the data recorded in the cluster at the cluster address CL0 (that is, when the file ends with data recorded in the cluster at the cluster address CL0), EOF (End Of File) is used as an end mark. Is recorded.
[0010]
Similarly, information indicating whether the clusters of the cluster addresses CL1, 2, 3,... Are vacant or used is recorded in the spaces of the FAT addresses 1, 2, 3,.
[0011]
Note that the cluster address of the cluster in which the directory entry is recorded and the cluster address of the cluster in which the FAT is recorded are included in the management information recorded in the first sector of the information recording medium. The management information includes information indicating the capacity of the information recording medium and how many sectors each cluster is composed of.
[0012]
The directory entry and FAT will be described specifically. For example, as shown in FIG. 2, the file A is divided into files A-1 to A-18, each of which is 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. In this way, the division and recording of one file into non-contiguous clusters is called fragmentation.
[0013]
In this case, the cluster address CL1 is recorded as the start cluster address of the file A in the directory entry.
[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 is recorded in the space of the FAT address 3. CL5 is recorded. Hereinafter, although description is omitted, EOF is finally recorded in the space of the FAT address 330.
[0015]
Next, a process of reading the file A recorded on the information recording medium as shown in FIG. 2 from the information recording medium by a conventional reproducing apparatus will be described.
[0016]
First, the directory entry of the information recording medium is referred to, and the starting cluster address (in this case, the cluster address CL1) of the file A is read.
[0017]
Next, the FAT recorded on the information recording medium is copied to a memory (DRAM (Dynamic Random Access Memory) etc.) built in the playback apparatus.
[0018]
As described above, after the FAT is copied to the built-in memory, reading of the file A-1 is started from the cluster having the cluster address CL1. In parallel with reading of the file A-1, the FAT address 1 of the FAT of the built-in memory is referred to, and the cluster address of the cluster in which the file A-2 is recorded (in this case, the cluster address CL2) is obtained. After the detection and the reading of the file A-1 are completed, the reading of the file A-2 is started from the cluster of the cluster address CL2. Similarly, the files A-3 to A-18 are read out.
[0019]
As described above, when reading a file, the FAT is frequently referred to. Therefore, the FAT copied on the memory built in the playback apparatus is referred to instead of referring to the FAT of the information recording medium so that the time required for this reference is shortened as much as possible. (For example, see Patent Document 1)
[0020]
[Patent Document 1]
JP-A-8-110868 (first page)
[0021]
[Problems to be solved by the invention]
Here, as shown in FIG. 2, the fragmented file A is AV (Audio and Visual) signal stream data encoded by, for example, MPEG (Moving Pictures Experts Group) 2 system or the like. And
[0022]
When this stream data is reproduced from an information recording medium (when it is read and decoded, and the resulting video is displayed on a display and audio is output), the stream data is fragmented and recorded. For this reason, it takes time to seek the read head of the information recording medium. For example, the reproduced video or audio may be interrupted, or the image may be lost or skipped. There was a problem that could be done.
[0023]
The present invention has been made in view of such circumstances, and an object thereof is to enable continuous reproduction of streaming data such as AV signals recorded on an information recording medium in accordance with the FAT system without delay. .
[0024]
[Means for Solving the Problems]
  The reproduction apparatus of the present invention is based on an acquisition unit that acquires an address of a unit recording area of an information recording medium in which a fragment of a data file is recorded from the information recording medium, and a table acquired by the acquisition unit, A designation means for designating a read address, a read means for reading a data file fragment from a unit recording area of the information recording medium corresponding to the read address designated by the designation means, and a fragment read by the read means are stored. A first storage means, a generation means for generating reread information based on the table acquired by the acquisition means, and a data file stored by the first storage means based on the reread information generated by the generation means Storage means for rearranging the fragments in the reproduction order and storing themReproduction means for reproducing the data file stored in the reproduction order in the second storage means;It is characterized by including.
[0025]
The table may be FAT.
[0026]
Based on the table acquired by the acquisition means, the designation means shortens the time required to read the address of the unit recording area where the fragment of the data file is recorded from the information recording medium regardless of the reproduction order of the fragments. As described above, the read address can be designated.
[0027]
The designation means designates the address of the unit recording area where no data file fragment is recorded, based on the table obtained by the obtaining means, as a read address so that the time required for reading from the information recording medium is shortened. Can be.
[0028]
The reading means can read data that is not a fragment of a data file from the unit recording area of the information recording medium corresponding to the read address specified by the specifying means, and the first storage means Data that is not a fragment read by the means can also be stored.
[0030]
  In the reproducing method of the present invention, the table indicating the address of the unit recording area of the information recording medium in which the data file fragment is recorded is acquired from the information recording medium and the table acquired in the processing of the acquiring step. Based on the designation step for designating the readout address, the readout step for reading out the data file fragment from the unit recording area of the information recording medium corresponding to the readout address designated in the processing of the designation step, and the readout in the processing of the readout step Based on the first storage step for storing the fragment obtained, the generation step for generating reread information based on the table acquired in the processing of the acquisition step, and the reread information generated in the processing of the generation step. The pieces of data files stored in the processing of one storage step are arranged in the playback order. A second storage step of Ete storesA reproduction step of reproducing the data file stored in the reproduction order by the processing of the second storage step;It is characterized by including.
[0031]
  The recording medium program of the present invention is acquired by the acquisition step of acquiring the table indicating the address of the unit recording area of the information recording medium in which the fragment of the data file is recorded, and the processing of the acquisition step. Based on the table, a designation step for designating a read address, a read step for reading a fragment of the data file from the unit recording area of the information recording medium corresponding to the read address designated in the process of the designation step, and a process of the read step Based on the first storage step for storing the read fragment, the generation step for generating reread information based on the table acquired in the processing of the acquisition step, and the reread information generated in the processing of the generation step The data file fragment stored in the process of the first storage step is A second storage step of storing rearrange the raw sequenceA reproduction step of reproducing the data file stored in the reproduction order by the processing of the second storage step;It is characterized by including.
[0032]
  The program of the present invention is based on an acquisition step for acquiring an address of a unit recording area of an information recording medium in which a fragment of a data file is recorded from the information recording medium, and a table acquired in the processing of the acquisition step. A read step that reads a data file fragment from the unit recording area of the information recording medium corresponding to the read address specified in the specified step, the read step that specifies the read address, and the read step process. A first storage step for storing the fragments, a generation step for generating reread information based on the table acquired in the processing of the acquisition step, and a first step based on the reread information generated in the processing of the generation step. Data file fragments stored in the storage step process A second storage step of storing in place fineA reproduction step of reproducing the data file stored in the reproduction order by the processing of the second storage step;It is characterized by causing a computer to execute a process including:
[0033]
  In the reproducing apparatus and method and the program of the present invention, the data file fragment is read out and stored from the unit recording area of the information recording medium corresponding to the designated read address. Further, based on the generated reread information, the stored data file fragments are rearranged in the playback order and stored,The data file stored in the playback order is played back.
[0034]
The playback device may be an independent device, or may be a block that executes playback of a recording / playback device such as a digital video camera.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an AV playback apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0036]
The AV playback apparatus plays back the streaming data of the AV signal recorded on the information recording medium 3 (FIG. 4) in accordance with the FAT system continuously and without any delay.
[0037]
FIG. 4 shows a configuration example of the AV playback apparatus. The control unit 1 reads a control program stored in a recording medium 2 composed of a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and controls each part of the AV playback device according to the read control program.
[0038]
  For example, in a randomly accessible information recording medium 3 composed of a hard disk, a micro disk, etc., a file B which is streaming data of an AV signal is shown in FIG.YouSo that it is fragmented and recorded. That is, the file B is fragmented into files B-1 to A-10, and each of them is clustered into the cluster of the cluster address CL24, CL25, CL23, CL26, CL27, CL31, CL36, CL37, CL40, CL38 of the information recording medium 3. It is recorded.
[0039]
It is assumed that data X1 to X8 unrelated to the file B are recorded between the clusters in which the file B is recorded after being fragmented.
[0040]
The information recording medium 3 records a directory entry including information on the file B and FAT. In the directory entry, the cluster address CL24 is recorded as the start cluster address of the file B.
[0041]
FIG. 6 shows a part related to FAT file B. For example, the cluster address CL25 of the cluster in which the file B-2 is recorded is recorded in the FAT space corresponding to the cluster address CL24 of the cluster in which the file B-1 is recorded. Further, for example, the cluster address CL23 of the cluster in which the file B-3 is recorded is recorded in the FAT space corresponding to the cluster address CL25 of the cluster in which the file B-2 is recorded.
[0042]
Returning to FIG. The reading unit 4 reads the directory entry and FAT recorded on the information recording medium 3 and outputs them to the reading address generation unit 5. The reading unit 4 reads data (fragmented files and other data) from the information recording medium 3 according to the read address of the information recording medium 3 input from the read address generation unit 5 and outputs the data to the data buffer 6. To do.
[0043]
The read address generation unit 5 generates a read address so that a file can be efficiently read based on the directory entry and FAT input from the read unit 4 and outputs the read address to the read unit 4 and the reorder information generation unit 7. To do. The data buffer 6 stores the data input from the reading unit 4 in the input order.
[0044]
The reorder information generation unit 7 generates reorder information indicating the correspondence between the storage area address of the data buffer 6 and the reading order based on the read address input from the read address generation unit 5 and outputs the reorder information to the reorder unit 8. .
[0045]
The reorder unit 8 reads out the file fragments stored in the data buffer 6 based on the reorder information input from the reorder information generation unit 7 and outputs them to the reorder buffer 9 in the order of constituting the original file. The reorder buffer 9 stores the pieces of the file read from the data buffer 6 by the reorder unit 8 in the order of input. The decoding unit 10 reads and decodes the file recorded in the reorder buffer 9, and outputs the obtained video signal and audio signal to a subsequent display or speaker (both not shown), respectively.
[0046]
Next, the reproduction processing of the file B that is fragmented and recorded on the recording medium 3 by the AV reproduction apparatus will be described with reference to the flowchart of FIG.
[0047]
In step S <b> 1, the reading unit 4 reads the directory entry and FAT from the information recording medium 3 and outputs them to the read address generation unit 5. In step S2, the read address generation unit 5 generates a read address so that the file can be efficiently read based on the directory entry and FAT input from the read unit 4, and generates the read unit 4 and the reorder information. Output to unit 7.
[0048]
The read address generation process in step S2 will be described with reference to the flowchart of FIG.
[0049]
In step S <b> 11, the read address generation unit 5 refers to the FAT input from the read unit 4, where the clusters in which the fragments of the file B are recorded are not continuous (hereinafter referred to as discontinuous points). Is detected. In this case, the cluster addresses CL28 to CL30 are detected as the first discontinuous points, the cluster addresses CL32 to CL35 are detected as the second discontinuous points, and the cluster address CL39 is detected as the third discontinuous point.
[0050]
In step S12, the read address generation unit 5 detects the number of clusters at each discontinuous point. In this case, 3 clusters are detected as the number of clusters at the first discontinuous point, 4 clusters are detected as the number of clusters at the second discontinuous point, and 1 cluster is detected as the number of clusters at the third discontinuous point.
[0051]
In step S <b> 13, the read address generation unit 5 takes the time required to read, for each discontinuous point, data X unrelated to the file B recorded in the discontinuous point cluster following the file B fragment. a is calculated.
[0052]
Specifically, for the first discontinuous point, subsequent to the reading of the file B-5, the time a1 = 3 × tc required when the data X1 to X3 are also read is calculated. For the second discontinuous point, subsequent to the reading of the file B-6, the time a2 = 4 × tc required when the data X4 to X7 are also read is calculated. For the third discontinuous point, subsequent to the reading of the file B-10, the time a3 = 1 × tc required for reading the data X8 is calculated. Here, tc is the time required to continuously read out data for one class.
[0053]
In step S <b> 14, the read address generation unit 5 calculates the time “b” required for skipping the data X unrelated to the file B recorded in the discontinuous point cluster for each discontinuous point.
[0054]
Specifically, for the first discontinuous point, after reading the file B-5 recorded in the cluster having the cluster address CL27, the time b1 for seeking to the cluster having the cluster address CL31 is calculated. For the second discontinuous point, after reading the file B-6 recorded in the cluster of the cluster address CL31, a time b2 for seeking to the cluster of the cluster address CL36 is calculated. For the third discontinuous point, after reading the file B-10 recorded in the cluster having the cluster address CL38, a time b3 for seeking the cluster having the cluster address CL40 is calculated.
[0055]
In step S15, the read address generation unit 5 compares the times a and b calculated in steps S13 and S14 for each discontinuous point. For the discontinuous point where it is determined that the time a is longer than the time b, the process proceeds to step S16, and the read address generation unit 5 designates the read address so as to skip the irrelevant data X.
[0056]
On the other hand, for a discontinuous point in which it is determined that time a is not longer than time b, the process proceeds to step S17, and the read address generation unit 5 reads the irrelevant data X following the reading of the file B fragment. Specify the read address.
[0057]
The processing of steps S15 to S17 will be specifically described. For example, when it is determined that time a1> time b1 is satisfied for the first discontinuous point, a cluster address CL31 that is separated from the cluster addresses CL23, CL24, CL25, CL26, and CL27 is designated as a read address. The For the second discontinuous point, when it is determined that time a2> time b2 holds, a cluster address CL36 that is separated from the cluster address CL31 is designated as a read address. For the third discontinuous point, when it is determined that time a3> time b3 does not hold, the cluster address CL39 in which irrelevant data X8 is recorded is designated as the read address following the cluster address CL38. .
[0058]
Therefore, in this case, cluster addresses CL23, CL24, CL25, CL26, CL27, CL31, CL36, CL37, CL38, CL39, and CL40 are sequentially specified as read addresses.
[0059]
In step S18, the read address generation unit 5 sequentially reads the cluster addresses CL23, CL24, CL25, CL26, CL27, CL31, CL36, CL37, CL38, CL39, and CL40 as read addresses, and the reorder information generation unit 7. Output to. This is the end of the description of the read address generation process.
[0060]
The process returns to step S3 in FIG. In step S <b> 3, the reading unit 4 reads the data recorded in the cluster of the information recording medium 3 corresponding to the read address input from the read address generation unit 5 and outputs the data to the data buffer 6. In step S4, the data buffer 6 buffers the data input from the reading unit 4 in the input order.
[0061]
In this case, the files B-3, B-1, and B recorded in the clusters of the cluster addresses CL23, CL24, CL25, CL26, CL27, CL31, CL36, CL37, CL38, CL39, and CL40 of the information recording medium 3 are used. -2, B-4, B-5, B-6, B-7, B-8, B-10, data X8, and file B-9 are read out, as shown in FIG. In this order, the data are buffered in the addresses DB0 to DB10 of the data buffer 6.
[0062]
In step S 5, the reorder information generation unit 7 generates reorder information indicating the correspondence between the storage area address of the data buffer 6 and the reading order based on the read address input from the read address generation unit 5. Output to.
[0063]
In this case, as shown in FIG. 10, the data buffered at the address DB1 of the data buffer 6 is the 0th data, the data buffered at the address DB2 is the first, and the data buffered at the address DB0. Is second, data buffered at address DB3 is third, data buffered at address DB4 is fourth, data buffered at address DB5 is fifth, buffered at address DB6 Indicates that the data buffered at address DB7 is read seventh, the data buffered at address DB10 is eighth, the data buffered at address DB8 is read ninth. Reorder information is generated.
[0064]
The reorder information includes that the data buffered in the address DB 9 of the data buffer 6 is invalid data that is not related to the file B.
[0065]
The process of step S5 may be executed in parallel with the processes of steps S3 and S4 described above.
[0066]
In step S6, the reorder unit 8 converts files B-1 to B-8, which are fragments of the file B stored in the data buffer 6, into file B based on the reorder information input from the reorder information generation unit 7. Read in the order of configuration and output to the reorder buffer 9. The reorder buffer 9 buffers files B-1 to B-8, which are fragments of the file B read from the data buffer 6 by the reorder unit 8, in the order of input as shown in FIG.
[0067]
In step S8, the decoding unit 10 reads and decodes the file recorded in the reorder buffer 9. This is the end of the description of the playback process.
[0068]
According to the reproduction processing described above, the files B-1 to B-10 distributed and recorded on the recording medium 3 are sequentially arranged and buffered in the reorder buffer 9, so The file B can be supplied without any.
[0069]
Further, according to the reproduction process described above, even if the files are not distributed on the recording medium 3, for example, file fragments recorded in an order different from the reproduction order are also arranged and buffered in the reorder buffer 9 in order. Therefore, the file B can be supplied to the decoding unit 10 without delay.
[0070]
Therefore, it is possible to prevent image omission and sound skipping from occurring in the video signal and audio signal output from the decoding unit 10.
[0071]
The present invention can be applied to an AV recording / reproducing apparatus and a digital video camera having a recording function in addition to the AV reproducing apparatus according to the present embodiment.
[0072]
Further, the present invention can be applied not only to a device that reproduces AV signal streaming data, but also to other devices that read streaming data.
[0073]
Furthermore, the present invention can be applied to an apparatus for recording any data on an information recording medium formatted by the FAT method.
[0074]
By the way, 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 computer (for example, the control unit 1 in FIG. 4) in which the program constituting the software is incorporated in dedicated hardware or various programs are installed. Thus, it is installed from a recording medium (for example, the recording medium 2 in FIG. 4) into a general-purpose personal computer or the like capable of executing various functions.
[0075]
The recording medium is distributed to provide a program to the user separately from the computer, and includes a magnetic disk (including a flexible disk) on which the program is recorded, an optical disk (CD-ROM (Compact Disc-Read Only Memory)) , DVD (Digital Versatile Disc)), magneto-optical disc (MD (Mini Disc)), or package media consisting of semiconductor memory, etc. Consists of a ROM, hard disk, etc. provided with programs.
[0076]
In the present specification, the step of describing the program recorded in the recording medium is not limited to the processing performed in time series according to the described order, but is not necessarily performed in time series, either in parallel or individually. The process to be executed is also included.
[0077]
【The invention's effect】
As described above, according to the present invention, streaming data such as AV signals recorded on an information recording medium can be continuously reproduced without delay.
[Brief description of the drawings]
FIG. 1 is a diagram showing sectors that are physical recording units and clusters that are logical recording units of an information recording medium.
FIG. 2 is a diagram illustrating a state in which a file is fragmented and distributed and recorded in a cluster.
3 is a diagram showing an example of a FAT corresponding to a file recorded in the state shown in FIG. 2. FIG.
FIG. 4 is a block diagram showing a configuration example of an AV playback device according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating an example of a state in which a file is fragmented and recorded on a recording medium.
6 is a diagram showing an example of a FAT corresponding to a file recorded in the state shown in FIG.
7 is a flowchart for explaining playback processing by the AV playback device of FIG. 4; FIG.
FIG. 8 is a flowchart illustrating the process of step S2 of FIG.
FIG. 9 is a diagram illustrating an example of data buffered in a data buffer.
FIG. 10 is a diagram illustrating an example of reorder information.
FIG. 11 is a diagram illustrating an example of a file buffered in a reorder buffer.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Control part, 2 Recording medium, 3 Information recording medium, 4 Reading part, 5 Reading address production | generation part, 6 Data buffer, 7 Right order information production | generation part, 8 Reorder part, 9 Reorder buffer, 10 Decoding part

Claims (8)

情報記録媒体に断片化されて記録されているデータファイルを再生する再生装置において、
前記データファイルの断片が記録されている前記情報記録媒体の単位記録領域のアドレスを示すテーブルを、前記情報記録媒体から取得する取得手段と、
前記取得手段によって取得された前記テーブルに基づき、読み出しアドレスを指定する指定手段と、
前記指定手段によって指定された前記読み出しアドレスに対応する前記情報記録媒体の単位記録領域から、前記データファイルの断片を読み出す読み出し手段と、
前記読み出し手段によって読み出された前記断片を記憶する第1の記憶手段と、
前記取得手段によって取得された前記テーブルに基づき、再読み出し情報を生成する生成手段と、
前記生成手段によって生成された前記再読み出し情報に基づき、前記第1の記憶手段によって記憶された前記データファイルの断片を、再生順序に並び替えて記憶する第2の記憶手段と
前記第2の記憶手段に再生順序で記憶された前記データファイルを再生する再生手段と
を含むことを特徴とする再生装置。
In a playback device for playing back a data file that is fragmented and recorded on an information recording medium,
Obtaining means for obtaining from the information recording medium a table indicating an address of a unit recording area of the information recording medium in which a fragment of the data file is recorded;
Based on the table acquired by the acquiring means, a specifying means for specifying a read address;
Reading means for reading a fragment of the data file from a unit recording area of the information recording medium corresponding to the reading address specified by the specifying means;
First storage means for storing the fragment read by the reading means;
Generating means for generating reread information based on the table acquired by the acquiring means;
Based on the reread information generated by the generating means, a second storage means for storing the pieces of the data file stored by the first storage means in a reproduction order ; and
A playback device comprising: playback means for playing back the data files stored in the playback order in the second storage means .
前記テーブルは、FATである
ことを特徴とする請求項1に記載の再生装置。
The playback apparatus according to claim 1, wherein the table is FAT.
前記指定手段は、前記取得手段によって取得された前記テーブルに基づき、前記データファイルの断片が記録されている前記単位記録領域のアドレスを、前記断片の再生順序に拘わらず、前記情報記録媒体からの読み出し要する時間が短くなるように、前記読み出しアドレスに指定する
ことを特徴とする請求項1に記載の再生装置。
The designation means, based on the table obtained by the obtaining means, assigns the address of the unit recording area where the fragment of the data file is recorded, from the information recording medium regardless of the reproduction order of the fragments. The playback apparatus according to claim 1, wherein the read address is specified so that a time required for reading is shortened.
前記指定手段は、前記取得手段によって取得された前記テーブルに基づき、前記データファイルの断片が記録されていない前記単位記録領域のアドレスも、前記情報記録媒体からの読み出し要する時間が短くなるように、前記読み出しアドレスに指定する
ことを特徴とする請求項1に記載の再生装置。
Based on the table acquired by the acquisition unit, the designation unit is configured to reduce the time required for reading the address of the unit recording area in which the data file fragment is not recorded from the information recording medium. The playback apparatus according to claim 1, wherein the read address is designated.
前記読み出し手段は、前記指定手段によって指定された前記読み出しアドレスに対応する前記情報記録媒体の単位記録領域から、前記データファイルの前記断片ではないデータも読み出し、
前記第1の記憶手段は、前記読み出し手段によって読み出された前記断片ではないデータも記憶する
ことを特徴とする請求項4に記載の再生装置。
The reading means also reads data that is not the fragment of the data file from the unit recording area of the information recording medium corresponding to the read address specified by the specifying means,
The playback apparatus according to claim 4, wherein the first storage unit also stores non-fragment data read by the reading unit.
情報記録媒体に断片化されて記録されているデータファイルを再生する再生装置の再生方法において、
前記データファイルの断片が記録されている前記情報記録媒体の単位記録領域のアドレスを示すテーブルを、前記情報記録媒体から取得する取得ステップと、
前記取得ステップの処理で取得された前記テーブルに基づき、読み出しアドレスを指定する指定ステップと、
前記指定ステップの処理で指定された前記読み出しアドレスに対応する前記情報記録媒体の単位記録領域から、前記データファイルの断片を読み出す読み出しステップと、
前記読み出しステップの処理で読み出された前記断片を記憶する第1の記憶ステップと、
前記取得ステップの処理で取得された前記テーブルに基づき、再読み出し情報を生成する生成ステップと、
前記生成ステップの処理で生成された前記再読み出し情報に基づき、前記第1の記憶ステップの処理で記憶された前記データファイルの断片を、再生順序に並び替えて記憶する第2の記憶ステップと
前記第2の記憶ステップの処理により再生順序で記憶された前記データファイルを再生する再生ステップと
を含むことを特徴とする再生方法。
In a playback method of a playback device for playing back a data file that is fragmented and recorded on an information recording medium,
An acquisition step of acquiring from the information recording medium a table indicating an address of a unit recording area of the information recording medium in which a fragment of the data file is recorded;
A designation step for designating a read address based on the table acquired in the processing of the acquisition step;
A reading step of reading a fragment of the data file from a unit recording area of the information recording medium corresponding to the reading address specified in the processing of the specifying step;
A first storage step of storing the fragment read in the processing of the reading step;
Based on the table acquired in the processing of the acquisition step, a generation step of generating reread information,
A second storage step for storing the pieces of the data file stored in the processing in the first storage step in the order of reproduction based on the reread information generated in the processing in the generation step ;
A reproduction step of reproducing the data files stored in the reproduction order by the processing of the second storage step .
情報記録媒体に断片化されて記録されているデータファイルを再生する再生装置の制御用のプログラムであって、
前記データファイルの断片が記録されている前記情報記録媒体の単位記録領域のアドレスを示すテーブルを、前記情報記録媒体から取得する取得ステップと、
前記取得ステップの処理で取得された前記テーブルに基づき、読み出しアドレスを指定する指定ステップと、
前記指定ステップの処理で指定された前記読み出しアドレスに対応する前記情報記録媒体の単位記録領域から、前記データファイルの断片を読み出す読み出しステップと、
前記読み出しステップの処理で読み出された前記断片を記憶させる第1の記憶ステップと、
前記取得ステップの処理で取得された前記テーブルに基づき、再読み出し情報を生成する生成ステップと、
前記生成ステップの処理で生成された前記再読み出し情報に基づき、前記第1の記憶ステップの処理で記憶された前記データファイルの断片を、再生順序に並び替えて記憶させる第2の記憶ステップと
前記第2の記憶ステップの処理により再生順序で記憶された前記データファイルを再生する再生ステップと
を含むことを特徴とするコンピュータが読み取り可能なプログラムが記録され
ている記録媒体。
A program for controlling a playback device that plays back a data file that is fragmented and recorded on an information recording medium,
An acquisition step of acquiring from the information recording medium a table indicating an address of a unit recording area of the information recording medium in which a fragment of the data file is recorded;
A designation step for designating a read address based on the table acquired in the processing of the acquisition step;
A reading step of reading a fragment of the data file from a unit recording area of the information recording medium corresponding to the reading address specified in the processing of the specifying step;
A first storage step of storing the fragment read in the processing of the reading step;
Based on the table acquired in the processing of the acquisition step, a generation step of generating reread information,
A second storage step for storing the pieces of the data file stored in the processing in the first storage step in the order of reproduction based on the reread information generated in the processing in the generation step ;
A recording medium on which a computer-readable program is recorded, comprising: a reproduction step of reproducing the data file stored in the reproduction order by the processing of the second storage step .
情報記録媒体に断片化されて記録されているデータファイルを再生する再生装置の制御用のプログラムであって、
前記データファイルの断片が記録されている前記情報記録媒体の単位記録領域のアドレスを示すテーブルを、前記情報記録媒体から取得する取得ステップと、
前記取得ステップの処理で取得された前記テーブルに基づき、読み出しアドレスを指定する指定ステップと、
前記指定ステップの処理で指定された前記読み出しアドレスに対応する前記情報記録媒体の単位記録領域から、前記データファイルの断片を読み出す読み出しステップと、
前記読み出しステップの処理で読み出された前記断片を記憶させる第1の記憶ステップと、
前記取得ステップの処理で取得された前記テーブルに基づき、再読み出し情報を生成する生成ステップと、
前記生成ステップの処理で生成された前記再読み出し情報に基づき、前記第1の記憶ステップの処理で記憶された前記データファイルの断片を、再生順序に並び替えて記憶させる第2の記憶ステップと
前記第2の記憶ステップの処理により再生順序で記憶された前記データファイルを再生する再生ステップと
を含む処理を実行させることを特徴とするプログラム。
A program for controlling a playback device that plays back a data file that is fragmented and recorded on an information recording medium,
An acquisition step of acquiring from the information recording medium a table indicating an address of a unit recording area of the information recording medium in which a fragment of the data file is recorded;
A designation step for designating a read address based on the table acquired in the processing of the acquisition step;
A reading step of reading a fragment of the data file from a unit recording area of the information recording medium corresponding to the reading address specified in the processing of the specifying step;
A first storage step of storing the fragment read in the processing of the reading step;
Based on the table acquired in the processing of the acquisition step, a generation step of generating reread information,
A second storage step for storing the pieces of the data file stored in the processing in the first storage step in the order of reproduction based on the reread information generated in the processing in the generation step ;
A program for executing a process including a reproduction step of reproducing the data file stored in the reproduction order by the process of the second storage step .
JP2002284978A 2002-09-30 2002-09-30 REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM Expired - Fee Related JP4078538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002284978A JP4078538B2 (en) 2002-09-30 2002-09-30 REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002284978A JP4078538B2 (en) 2002-09-30 2002-09-30 REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2004118989A JP2004118989A (en) 2004-04-15
JP4078538B2 true JP4078538B2 (en) 2008-04-23

Family

ID=32278394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002284978A Expired - Fee Related JP4078538B2 (en) 2002-09-30 2002-09-30 REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP4078538B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100684887B1 (en) 2005-02-04 2007-02-20 삼성전자주식회사 Data storing device including flash memory and merge method of thereof
US8122193B2 (en) 2004-12-21 2012-02-21 Samsung Electronics Co., Ltd. Storage device and user device including the same
JP2010165202A (en) * 2009-01-16 2010-07-29 Alpine Electronics Inc Information processor and file high-speed reading method

Also Published As

Publication number Publication date
JP2004118989A (en) 2004-04-15

Similar Documents

Publication Publication Date Title
JP4762557B2 (en) Method and apparatus for reproducing still image information recorded on recording medium
US6687454B1 (en) Audio data and still picture recording medium and corresponding playback apparatus which enable displaying of a still picture at a plurality of predetermined timings during playback of recorded audio data
JP2002343064A (en) Recording and reproducing device and method
JP4036056B2 (en) Recording apparatus and method, recording medium, and program
JP3852693B2 (en) Information processing apparatus and method, recording medium, and program
JP4078538B2 (en) REPRODUCTION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM
WO2004017323A1 (en) Reproduction device and method, recording medium, and program
JPWO2006059563A1 (en) Program list playback method and display method
JP2004093729A (en) Recording device and reproducing device for music data
JP2003264800A (en) Information reproducing device
JP2003158714A (en) Apparatus and method for recording information as well as apparatus and method for reproducing information
JP2005353212A (en) Data processor and data processing method, program and program recording medium, and data recording medium
JP2004348785A (en) Data reproducing device and method for controlling the same
JP2004078408A (en) Recording device and method, recording medium and program
JPH07272415A (en) Recording medium and reproducer thereof
JP4304861B2 (en) Recording / playback device
US7821882B2 (en) Recording and reproducing apparatus and recording method
JP2004228714A (en) Image reproducing apparatus
JP3706621B2 (en) Multimedia presentation method and system
JP2829923B2 (en) Playback device
JP3410458B2 (en) Playback device
JP3036837U (en) Storage medium reproducing device in computer game device
JP2005339746A (en) Method for reading additional information of compressed data file, and program for carrying out the same
JPH0764730A (en) Transferring method for image/voice data
JPH08147886A (en) Memory control device and compressed information reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050714

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070808

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070906

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080122

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

Free format text: PAYMENT UNTIL: 20110215

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110215

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120215

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees