JP3866611B2 - Recording stop processing method and data recording apparatus - Google Patents

Recording stop processing method and data recording apparatus Download PDF

Info

Publication number
JP3866611B2
JP3866611B2 JP2002133108A JP2002133108A JP3866611B2 JP 3866611 B2 JP3866611 B2 JP 3866611B2 JP 2002133108 A JP2002133108 A JP 2002133108A JP 2002133108 A JP2002133108 A JP 2002133108A JP 3866611 B2 JP3866611 B2 JP 3866611B2
Authority
JP
Japan
Prior art keywords
recording
stream data
data
address pointer
area
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
JP2002133108A
Other languages
Japanese (ja)
Other versions
JP2003331521A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2002133108A priority Critical patent/JP3866611B2/en
Priority to US10/408,128 priority patent/US7057986B2/en
Publication of JP2003331521A publication Critical patent/JP2003331521A/en
Application granted granted Critical
Publication of JP3866611B2 publication Critical patent/JP3866611B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/21Disc-shaped record carriers characterised in that the disc is of read-only, rewritable, or recordable type
    • G11B2220/215Recordable discs
    • G11B2220/216Rewritable discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/21Disc-shaped record carriers characterised in that the disc is of read-only, rewritable, or recordable type
    • G11B2220/215Recordable discs
    • G11B2220/218Write-once discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs
    • G11B2220/2575DVD-RAMs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/85Television signal recording using optical recording on discs or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction

Description

【0001】
【発明の属する技術分野】
この発明は、DMA(Direct Memory Access)により転送されるストリームデータを記録するときの記録停止処理方法に関する。また、この発明は、DMAにより転送されるストリームデータを記録するデータ記録装置に関する。
【0002】
【従来の技術】
映像等のストリームデータを記録する記録装置は、ストリームデータを一旦バッファに蓄積した後、蓄積されたストリームデータをDMA転送して、ハードディスク又は光ディスクにストリームデータを記録する。
【0003】
【発明が解決しようとする課題】
ストリームデータの記録中に、記録停止が指示されても、DMA転送が正常終了しないと、即座に記録を停止することができないという問題があった。
【0004】
この発明の目的は、上記したような事情に鑑み成されたものであって、DMA転送を伴った記録動作を即座に停止させることが可能な記録停止処理方法及びデータ記録装置を提供することにある。
【0005】
【課題を解決するための手段】
上記課題を解決し目的を達成するために、この発明の記録停止処理方法及びデータ記録装置は、以下のように構成されている。
【0006】
(1)この発明の記録停止処理方法は、記録指示に対応して提供されるストリームデータを所定の蓄積先に蓄積し、蓄積されたストリームデータを所定のデータ量の単位でDMA転送し、DMA転送されるストリームデータを所定の記録先に記録しているときに、記録停止指示が入力され、前記蓄積先に蓄積されたストリームデータが所定のデータ量に満たないときには、前記蓄積先に蓄積されたストリームデータに対してダミーデータを追加し、所定のデータ量に達したダミーデータ付きのストリームデータをDMA転送させてDMA転送を終了させ、ストリームデータの記録を停止する。
【0007】
(2)この発明のデータ記録装置は、記録指示に対応して提供されるストリームデータを蓄積する蓄積手段と、前記蓄積手段に蓄積されたストリームデータを所定のデータ量の単位でDMA転送する転送手段と、前記転送手段によりDMA転送されるストリームデータを記録する記録手段と、前記記録手段によりストリームデータが記録されているときに、記録停止指示が入力され、前記蓄積手段に蓄積されたストリームデータが所定のデータ量に満たないときには、前記蓄積手段に蓄積されたストリームデータに対してダミーデータを追加し、所定のデータ量に達したダミーデータ付きのストリームデータをDMA転送させてDMA転送を終了させ、ストリームデータの記録を停止させる制御手段と、を備えている。
【0008】
【発明の実施の形態】
以下、この発明の実施の形態について図面を参照して説明する。
【0009】
以下、図面を参照して、この発明の一実施の形態に係るデジタル録画再生装置(DVD−RTRレコーダ)を説明する。
【0010】
図1は、この発明の一実施の形態に係る、ハードディスクドライブHDD付きのデジタル録画再生装置(DVDビデオレコーダ)の全体構成を説明するブロック図である。この装置は、基本的には記録可能光ディスク(DVD−RAMディスク、DVD−RWディスク、DVD−Rディスクなど)100および/またはハードディスクを用いたリアルタイムビデオレコーディングを行うものであるが、再生専用光ディスク(DVD−ROMディスク、録画済みのDVD−Rディスク)の再生機能も備えている。また、HDDおよびDVD−RAMドライブの高速アクセス性能を利用して、タイムスリップ視聴などの録画中再生機能も備えている。
【0011】
図1の装置は、エンコーダ部601、デコーダ部602、メインMPU(マイクロコンピュータ;またはセントラルプロセシングユニットCPU)部604、V(ビデオ)ミキシング部605、フレームメモリ部606、キー入力部607、表示部608、DVD−RAM(および/またはDVD−R/DVD−RW)ドライブ部609、D−PRO(データプロセサ)部610、A/V入力612、TVチューナ部(BS/地上波アナログチューナ)613、オーディオ用デジタルI/F631、オーディオ用D/A部632、スピーカ633(その駆動用オーディオアンプの図示は省略)、ビデオ用デジタルI/F634、TV用D/A部636、外部モニタTV637、STC(システムタイムカウンタ)部650、HDD部(例えば20GB〜100GB程度のHDDレコーダユニットおよび/または大容量のICメモリ)700、オーディオ信号のセレクタ部750等により構成されている。
【0012】
D−PRO部610は、ファーストイン・ファーストアウト形のFIFO部(FIFOバッファ)610aを内蔵又は外付けしている。このFIFO部610aを構成するFIFOバッファは、記録側FIFOおよび再生側FIFOを含んでいる。これら記録側/再生側FIFOの入出力制御およびその残量モニタは、メインMPU604内のプログラムROMに書き込まれたFIFO制御部6045という制御プログラムにより行われる。
【0013】
ここで、記録側FIFOおよび再生側FIFOは、例えば1つのFIFOバッファを記録データと再生データとの割合の応じて按分したものであり、FIFOバッファ全体の容量は一定でも、記録側FIFOおよび再生側FIFO個々の容量は、可変とすることができる。例えばFIFOバッファの容量が4MBあり、記録レートが再生レートの3倍あるときは、記録側FIFOに3MBのバッファ容量を割り当て、再生側FIFOに1MBのバッファ容量を割り当てることができる。また、記録/再生中にレートが変わり、例えば記録レートが再生レートの1/3になったときは、記録側FIFOのバッファ容量を1MBに減らし、再生側FIFOのバッファ容量を3MBに増やすことができる。このように、レートに応じてFIFOバッファの記録側/再生側の按分率を変える方法としては、次のような方法がある。すなわち、記録側FIFOと再生側FIFOの境界にアドレスポインタをおき、このアドレスポインタ位置を記録/再生のレートに応じて変えることで、FIFOバッファの記録側/再生側の按分率を変えることができる。
【0014】
なお、FIFOバッファの容量が十分に大きい(例えば16MB)ときは、記録側FIFOおよび再生側FIFOそれぞれの容量を固定化(例えば8MBづつ)する方法も考えられる。
【0015】
ディスクドライブ部609(またはHDD部700)からの読込制御は、メインMPU604内のプログラムROMに書き込まれた読込ドライブ制御部6046という制御プログラムにより行なわれる。また、ディスクドライブ部609(またはHDD部700)への書込制御はメインMPU604内のプログラムROMに書き込まれた書込ドライブ制御部6047という制御プログラムにより行われる。
【0016】
メインMPU部604は、以上の制御プログラム(ファームウエア)その他の制御パラメータを含むROM部と、各プログラム実行時に用いられるワークRAM部604aを内蔵している。なお、ワークRAM部604aは、図8の管理情報(RTR_VMG)を一時記憶するVMG保持部(図示せず)というメモリエリアを含んでいる。
【0017】
エンコーダ部601内は、A/D部614、ビデオエンコード部616、デュアルモノヘッダ設定部617aを含むオーディオエンコード部617、SP(副映像)エンコード部618、フォーマッタ部619、バッファメモリ部620より構成されている。また、デコーダ部602は、メモリ626を内蔵する分離部625、縮小画像(サムネール)生成部628aを内蔵するビデオデコード部628、SP(副映像)デコード部627、オーディオデコード部630、V−PRO(ビデオプロセサ)部638により構成されている。
【0018】
録画(AV情報の記録)は、エンコーダ部601を介して、交換可能(リムーバブル)なDVD−RAM(またはDVD−R/DVD−RW)ディスク100を用いたディスクドライブ部(DVD−RAMドライブ部)609により行なわれる。このディスクドライブ部609は、DVD−RAM(またはDVD−R/DVD−RW)ディスク100からの再生のみならず、DVDビデオ(またはDVD−ROM)ディスク100からの再生も可能となっている。すなわち、DVDファミリのディスク再生は、ディスクドライブ部609およびD−PRO部610を介してデコーダ部602を介して行われる。DVDビデオ再生時の機能は、一般市販されているDVDビデオプレーヤと基本的に同一でよい。
【0019】
図1の装置内における実際のビデオ信号の流れは、以下のようになる。まず、例えばTVチューナ部613から得られたAV(オーディオ・ビジュアル)信号は、A/D部614に入力されデジタル信号に変換される。次にこの変換されたデジタル信号はビデオエンコード部616に入力され、デジタルオーディオ信号はオーディオエンコード部617に入力される。(なお、地上波アナログ放送の受信/録画においてTVチューナ部613から文字放送などの文字データが出力されるときは、SP(副映像)エンコード部618に入力される。地上波アナログ放送の受信/録画では、A/D部614で一旦デジタル化されてから、ビデオ(主映像)エンコード部616において、入力されたビデオ信号はMPEG圧縮される。また、オーディオ(音声)エンコード部617において、入力されたオーディオ信号は、例えばMPEGオーディオ圧縮される。さらに、SPエンコード部618において、入力された文字データはランレングス圧縮される。)
各エンコーダ部616〜618では、パック化された場合に例えば2048バイトとなるようにデータのパケット化がなされ、パケット化された信号(ビデオデータ、オーディオデータおよび副映像データ)が、フォーマッタ部619へ入力される。フォーマッタ部619は、バッファメモリ部620を適宜用いて、入力されたパケットデータのパック化および多重化を行い、多重化された信号(ビデオパック、オーディオパックおよび副映像パック)をD−PRO部610に送る。
【0020】
D−PRO部610は、現行DVDビデオでは16パック/16セクタ(次世代DVDビデオでは32パック/32セクタあるいはそれ以上)毎にECCブロックを形成し、それにエラー訂正データを付ける。こうして得られたデータストリームが、ディスクドライブ部609により光ディスク(DVD−RAM、DVD−RWまたはDVD−R)100に記録され、あるいはHDD部700に記録される。ここで、ディスクドライブ部609がシーク中あるいはトラックジャンプなどの場合のためビジー状態である場合には、記録データを一時記憶部としてのHDD部700(および/または図示しない半導体メモリ)に一時的に格納し、ディスクドライブ部609の記録準備ができるまで待てるように構成できる。
【0021】
さらに、フォーマッタ部619では、録画中に(GOP先頭割り込みなどにより)各切り分け情報を作成し、作成した切り分け情報を定期的にMPU部604へ送る。この切り分け情報としては、データアクセス単位であるVOBU(ビデオオブジェクトユニット)のパック数、VOBU先頭からのIピクチャのエンドアドレス、VOBUの再生時間などがある。各VOBUは前記ビデオパック、オーディオパックおよび/または副映像パックを含むことができる。ディスクドライブ部609は、このVOBUを単位にしてディスク100の記録情報にアクセスできるようになっている。なお、DVD−RTR(リアルタイム録再DVD)では、ビデオファイルは1ディスクに1ファイルとなっている。
【0022】
次に、図1の装置の種々な動作を、フローチャートを参考しながら説明する。図2は、図1の装置の全体動作を説明するフローチャートである。このフローチャートの各処理は、図1のメインMPU部604により制御される。メインMPU部604は、装置起動後、所定の初期設定(ステップST10)を実行する。その後、ユーザからのキー入力(図示しないリモートコントローラからのキー入力あるいは予約録画プログラムからの操作指令)を待つ。キー入力(ステップST20)があると、その入力キーの解釈(TV受信チャネルの切り換え指令、録画開始指令、再生開始指令など)を行う(ステップST30)。
【0023】
例えば、録画において入力キーが「録画開始指令」であると解釈されれば、ディスクドライブ部609に装填された記録可能光ディスク(DVD−RAMディスク等)100および/またはHDD部700への録画処理が行われる(ステップST50)。
【0024】
例えば、再生において入力キーが「再生開始指令」であると解釈されれば、ディスクドライブ部609に装填された光ディスク(DVD−RAMディスク、DVD−RWディスク、DVD−Rディスク、あるいはDVDビデオディスク)100からの再生処理が行われる(ステップST60)。
【0025】
図2の処理において、ディスク100(またはHDD部700)に対する記録処理とディスク100(またはHDD部700)に対する再生処理が重なる場合は、前記制御部(604)は、ディスク100(またはHDD部700)に対する記録処理の方を優先させる(図2においてST60よりST50の方が優先)ようになっている。
【0026】
図3は、図1の装置における割り込み処理を説明するフローチャートである。割り込み処理に入ると、割り込みには種々な要因があるので、まず割り込み要因がチェックされる(ステップST70)。割り込み要因が、例えば「1パック分D−PRO部610へ転送し終えた時の割り込み処理」であれば、録画パック数をカウントアップする割り込み処理Recpack++(ステップST72)が実行される。また、割り込み要因が例えば「フォーマッタ部619からの切り分け情報取り込み時の割り込み処理」であれば、切り分け情報1の取り込みの割り込みフラグがセットされる(ステップST74)。図示しないが、切り分け情報x(x=1、2、3、…)の取り込みの割り込みフラグセットも、適宜行われる。以上のように種々な割り込み要因毎の割り込み処理が行われたあと、他の処理の流れに戻る。
【0027】
図4は、図1の装置における録画処理(MPEGのプログラムストリームPSの記録)を説明するフローチャートである。メインMPU部604は、ディスクドライブ部609に装填されたディスク100(またはHDD部700)から、各ファイルシステムデータを読み込む(ステップST500)。読み込んだデータから使用済容量を算出し、そのディスク100(またはHDD部700)に空き容量があるかどうかをチェックする。空き容量がないときは、表示部608またはTV637に「録画スペースがありません」といった警告表示を出して、処理を終了する。空き容量があるときは、ディスク100(またはHDD部700)から管理用ファイル(VMGファイル)を読み込み、管理用ファイルがない場合は、新たにVMGファイル作成して、RAM部604a内に展開する(ステップST506)。
【0028】
このような録画前処理(ステップST506)が行われたあと、録画用初期設定に移る(ステップST508)。この録画用初期設定では、STC部650がリセットされ、各ドライブ部(ディスクドライブ部609、HDD部700等)へ書き込み開始アドレスおよび書き込み命令が設定され、フォーマッタ部619の初期設定(セルCELL、ビデオオブジェクトユニットVOBU、プログラムPG、プログラムチェーンPGCの区切りの設定)その他がなされる。初期設定に続き、録画開始設定がなされる(ステップST510)。この録画開始設定において、エンコーダ部601に録画開始命令が設定されるとともに、切り分け情報(ステップST508で設定した区切り)がビデオオブジェクトVOBとして登録される。
【0029】
録画開始後、FIFO部610aに記録開始量分(例えば1ECCブロック分以上)のデータが貯まると(ステップST512イエス)、ディスクドライブ部609(またはHDD部700)における書き込みアドレスおよび書き込み長が決定され、書き込み命令がディスクドライブ部609(またはHDD部700)に発行される(ステップST514)。切り分け情報の取り込み割り込みがあると(ステップST516イエス)、フォーマッタ部619から切り分け情報が取り込まれる(ステップST518)。
【0030】
別の言い方をすると、エンコーダ部601に取り込まれたプログラムストリームPSのデータがFIFO部610aのFIFOバッファに一定量(1個以上のECCブロック分、あるいは1つの連続データエリアCDA分)たまった段階で(ステップST512イエス)、ディスク100(またはHDD部700)に記録される。このとき、記録データの切り分け情報が、適宜ワークRAM部604aに取り込まれる(ステップST518)。
【0031】
ステップST514で発行された書き込み命令により開始された書き込み(録画)中にディスク100(またはHDD部700)への書き込みエラーが発生した場合は(ステップST521イエス)、記録中のアドレス情報がワークRAM部604aに一旦保存されてから(ステップST523)、FIFO&記録開始量制御処理(ステップST525)に移行する。ワークRAM部604aに一旦保存されたアドレス情報は、記録終了後に、適宜、ディスク100のボリューム&ファイル管理情報領域(図8(b)参照)に記録することができる。書き込みエラーが発生していない場合は(ステップST521ノー)、ステップST523の処理はスキップされて、FIFO&記録開始量制御処理(ステップST525)に移行する。
【0032】
録画が継続している間は(ステップST527ノー)、ステップST512〜ST527の処理が反復される。録画終了のキー入力がなされ、録画が終了すると(ステップST527イエス)、録画終了処理(図示せず)が実行される。この録画終了処理において、フォーマッタ部619より残りの切り分け情報を取り込んで初期化し、管理情報VMGにプログラムチェーン情報PGCI(切り分け情報、Iピクチャ情報等)の設定を書き込むことができる。別の言い方をすれば、ワークRAM部604aに残りの切り分け情報を取り込み、この取り込んだ切り分け情報をもとに管理情報VMGを更新することができる。
【0033】
図5は、図1の装置において、デジタル録画された映像情報を再生する場合の処理を説明するフローチャートである。ここでは、ディスクドライブ部609に装填されたディスク100に正常に映像情報が録画されているものとして、説明を行う(HDD部700からの再生も同様)。
【0034】
まず、現在のモードが再生モードであるか否かチェックされる(ステップST610)。再生モードでなければ(ステップST610ノー)、図5の処理は終了する。再生モードであれば(ステップST610イエス)、MPEGビデオデコード部628、副映像(SP)デコード部627およびオーディオデコード部630それぞれの初期設定が行われる(ステップST620)。
【0035】
初期設定が済んだあと、例えばユーザが指定した再生時間に基づいて再生するデータが決定され、決定されたデータに対応したアドレス情報および切り分け情報により、再生を開始するアドレスが決定される(ステップST630)。再生開始アドレスが決定されたら、セル再生の処理(ステップST640)が実行される。再生継続中(ステップST650ノー)は、次に再生するセルを決定しつつ(ステップST660)、セル再生時の処理(ステップST640)が実行される。
【0036】
セル再生が終われば(ステップST650イエス)、エラーチェック(ステップST670)が行われる。再生終了時にエラーが発生したときは(ステップST670イエス)、表示部608および/またはTV637に「読み出しエラーが発生しました」といった表示が出され(ステップST680)、再生終了処理(ステップST690)が実行されて、その他の処理状態(例えば図2のステップST20のキー入力待ち状態)にリターンする。エラーがなければ(ステップST670ノー)、その他の再生終了時の処理が実行されて(ステップST692)、図5の再生処理は終了する。
【0037】
図6は、図5の処理におけるセル再生時の処理(ステップST640)の内容を説明するフローチャートである。図7は、図6の処理の続きを説明するフローチャートである。なお、図6のステップST6400その他において、“FP”は先頭位置を示し、LBNは論理ブロック番号を示す。例えば、再生セルの開始FP(LBN)は、再生を開始するセルの先頭位置を論理ブロック番号で示したものを指す。
【0038】
まず、管理情報VMGに含まれるプログラムチェーン情報PGCIおよびタイムマップ情報TMAPIに基づいて、再生するセルの開始FP(LBN)とその終了FP(LBN)を決定し、読み出しFPをセル開始FPとし、「終了アドレス−開始アドレス」を残りセル長として設定する(ステップST6400)。読み出すデータブロック(連続データエリアCDA)の開始アドレスおよび読み出し長を設定する(ステップST6402)。読み出しブロック長が残りセル長より短いときは(ステップST6404イエス)、「残りセル長−読み出しブロック長」を残りセル長として設定する(ステップST6406)。一方、読み出しブロック長が残りセル長以上であるときは(ステップST6404ノー)、読み出しブロック長を残りセル長として設定し、残りセル長をゼロにセットする(ステップST6408)。
【0039】
続いて、ディスクドライブ部609にデータ読み出し命令をセットし(ステップST6410)、読み出しデータの転送開始を待つ。転送が開始されれば(ステップST6412イエス)、読み出しデータが1VOBU分またはそれ以上FIFOバッファに貯まるのを待つ。1VOBU分またはそれ以上FIFOバッファに貯まると、このバッファから1VOBU分データが読み込まれ、このVOBUを構成するパックが調べられる。
【0040】
上記読み込んだVOBUデータ中のシームレス接続フラグ(図示せず)がセットされておれば(ステップST6424イエス)、「読み出しFP+読み出し長」を読み出しFPとして設定し、MPEGデコーダを通常モードに設定し、システムクロックリファレンスSCRの読み込みおよび設定を適宜行って、シームレス接続フラグをリセットする(ステップST6426)。
【0041】
ステップST6412で開始した転送が終了すると(ステップST6428イエス)、次の処理の開始かどうかチェックされ、開始であればFIFO&読み出しブロック制御処理(ステップST6445)に移る。
【0042】
FIFO&読み出しブロック制御処理(ステップST6445)が行われたあと、残りセル長がゼロとなれば(ステップST6450イエス)、セルの最後であるので図6〜図7の処理は終了し、図5のステップST650にリターンする。残りセル長がゼロでなければ(ステップST6450ノー)、ステップST6402にリターンして、図6〜図7の処理が反復される。
【0043】
ステップST6412で開始した転送が終了しておらず(ステップST6428ノー)、図2のステップST20におけるキー入力があり(図7のステップST6430イエス)、特殊再生モードが早送りFFであれば(ステップST6432イエス)、再生時間と録画時間(現在の時間)とが比較される(ステップST6433)。再生時間と録画時間とが異なっているときは(ステップST6433ノー)、早送りを行うジャンプ方向を正方向とし、ジャンプ量に応じて読み出し位置read_fpを設定する(ステップST6434)。再生時間と録画時間とが一致しているときは(ステップST6433イエス)、ステップST6433はスキップされる。
【0044】
一方、特殊再生モードが早送りFFでなく早戻しFRであれば(ステップST6432ノー、ステップST6436イエス)、開始時間と録画時間(現在の時間)とが比較される(ステップST6437)。開始再生時間と録画時間とが異なっているときは(ステップST6437ノー)、早戻しを行うジャンプ方向を負方向とし、ジャンプ量に応じて読み出し位置read_fpを設定する(ステップST6438)。開始時間と録画時間とが一致しているときは(ステップST6437イエス)、ステップST6438はスキップされる。
【0045】
こうしてFFまたはFR操作時の読み出し位置read_fpが設定されると、特殊再生(FFまたはFR)時の読み出しブロック(連続データエリアDCA)の処理がなされ、図5のステップST650にリターンする。
【0046】
なお、上記読み出しブロックの処理において、読み出し位置read_fpは、ジャンプ量を考慮して、図6のステップST6400で引用したタイムマップ情報TMAPIに基づき決定することができる(TMAPIの中身については図8を引用して後述する)。
【0047】
図7の処理において、キー入力がない場合(ステップST6430ノー)は、図6のステップST6428に戻る。キー入力があり、それがFFキーでもFRキーでもないときは(ステップST6432ノー、ST6436ノー)、それが録画開始キーであるかどうかのチェック(ステップST6460)に移る。
【0048】
入力キーが(セル再生処理中における)録画開始キーであれば(ステップST6460イエス)、再生中のVOBUの先頭アドレス、再生時間、VOBIの位置(図1のワークRAM604a内)を録画開始情報として(ワークRAM604a内に)保存し(ステップST6462)、図6のステップST6428に戻る。
【0049】
入力キーが再生処理中における録画開始キーでなく(ステップST6460ノー)録画終了キーであれば(ステップST6464イエス)、再生中のVOBUの先頭アドレス、再生時間、VOBIの位置(図1のワークRAM604a内)を録画終了情報としてワークRAM604a内に保存し(ステップST6462)、図6のステップST6428に戻る。
【0050】
入力キーが再生処理中における録画開始キーでなく(ステップST6460ノー)、録画終了キーでもなく(ステップST6464ノー)、再生キーであれば(ステップST6468イエス)、ポーズ状態を解除してシステムタイムクロックSTCの動作を開始し(ステップST6470)、図6のステップST6428に戻る。
【0051】
入力キーが再生処理中における録画開始キーでなく(ステップST6460ノー)、録画終了キーでもなく(ステップST6464ノー)、再生キーでもなければ(ステップST6468ノー)、そのまま図6のステップST6428に戻る。
【0052】
<まとめ>
図1に示すFIFO部610a内のFIFOバッファに対する書き込み制御または読み出し制御においては、「途切れなしで記録しながら再生できる」ようにするために、所定の「FIFO条件」を満たすようにFIFO残量をモニタしながら、以下のような制御が行われる:
(1)録画処理中…録画側FIFOバッファ残量が所定値(例えば75%)以上になったら、ドライブに対する1回の書き込み量(書き込みサイズ)を増やす(ECCブロック単位=16または32セクタ単位で増やす)、または(単位時間当たりの)ドライブに対する書き込み回数を増やす、または記録用FIFOにバッファリングすべきデータ量を増やす(ECCブロック単位で増やす);
ここでは、FIFOをオーバーフローさせないために、ドライブに対する1回の書き込み量を増やしている。換言すれば、このFIFOからの読み出し量を増やしている。
【0053】
(2)再生処理中…再生側FIFOバッファの残量が所定値(例えば25%)以下になったら、ドライブからの1回の読み出し量(読み出しサイズ)を増やす(ECCブロック単位で増やす)、または(単位時間当たりの)読み出し回数を増やす。換言すれば、このFIFOへの書き込み量を増やす。
【0054】
(3)録画処理と再生処理が重なる場合は、録画処理の方を優先させる。
【0055】
なお、上記所定の「FIFO条件」としては、例えば次の2つを採用できる:
A>録画側FIFOはオーバーフローさせない;
B>再生側FIFOは空にしない。
【0056】
前記FIFOバッファに対する入出力レートには、例えば以下の性格を持たせることができる:
a>録画側FIFOの入力レートはMPEGエンコーダからの転送レート(可変レート)に依存し、録画側FIFOの出力レートはドライブへの転送レートに依存;
b>再生側FIFOの入力レートはドライブからの転送レートに依存し、再生側FIFOの出力レートはデコーダへの転送レートに依存。
【0057】
図8は、図1の装置により記録される管理情報(RTR_VMG)の内容を説明する図である。ここでは、図8(a)のDVD−RAMディスク100の情報記録領域に図8(b)のようなボリュームスペースの情報が記録される場合を例にとって説明する(HDD部700への記録情報のデータ構造も同様でよい)。
【0058】
ディスク100のボリュームスペースは、図8(b)に示すように、ボリュームおよびファイル管理情報の記録領域と、ユーザデータ(AV情報等)を記録するデータエリアを含んでいる。このデータエリアは、図8(C)に示すように、管理情報RTR_VMGおよびユーザデータのコンテンツ(AV情報を構成するビデオオブジェクトVOB等)を記録できるようになっている。管理情報RTR_VMGは、ビデオマネージャVMGのファイルとして格納される。
【0059】
管理情報RTR_VMGは、図8(d)に示すように、RTRビデオマネージャ情報RTR_VMGIと、ムービーAVファイル情報テーブルM_AVFITと、スチルピクチャAVファイル情報テーブルS_AVFITと、オリジナルのプログラムチェーン情報ORG_PGCIと、ユーザ定義のプログラムチェーン情報テーブルUD_PGCITと、テキストデータマネージャTXTDT_MGと、製造業者情報MNFITを含んでいる。
【0060】
なお、プログラムチェーン情報PGCIはプログラムチェーンPGCの再生全体を表すデータ構造であり、PGCは一連のプログラムPG(プログラムセット)を示す。PGは記録内容の論理単位であり、PGはユーザにより認識されあるいは定義される。プログラムセット内のPGは1以上のオリジナルセル(最初の録画内容の再生単位)で構成され、PGはORG_PGCI内でのみ定義される。換言すれば、ORG_PGCIは最初の録画内容のセル再生順序を記述した情報であるとも言える。また、UD_PGCITは、録画後にユーザが編集した1以上のPGCIを記述したテーブルである。
【0061】
M_AVFITは、図8(e)に示すように、ムービーAVファイル情報テーブル情報M_AVFITIと、1以上のムービーVOBストリーム情報M_VOB_STI#1〜M_VOB_STI#nと、ムービーAVファイル情報M_AVFIを含んでいる。M_AVFIは、図8(f)に示すように、ムービーAVファイル情報一般情報M_AVFI_GIと、1以上のムービーVOB情報サーチポインタM_VOBI_SRP#1〜#nと、このサーチポインタに対応する数のムービーVOB情報M_VOBI#1〜#nとを含んでいる。
【0062】
各M_VOBI#は、図8(g)に示すように、ムービーVOB一般情報M_VOBI_GIと、シームレス情報SMLIと、オーディオギャップ情報AGAPIと、タイムマップ情報TMAPIとを含んでいる。このTMAPIは、特別な再生(ユーザ定義PGCを利用した個別ユーザ独自の順序によるセル再生など)およびタイムサーチを実行する際に利用される。
【0063】
TMAPIは、図8(h)に示すように、タイムマップ一般情報TMAP_GIと、1以上のタイムエントリTM_ENT#1〜#rと、1以上のVOBUエントリVOBU_ENT#1#qとを含んでいる。
【0064】
各TM_ENTは、図8(i)に示すように、対応するVOBUエントリの番号を示すVOBU_ENTNと、タイムエントリにより指定されたVOBUの再生開始時間と算出された再生時間との時間差を示すTM_DIFFと、目標のVOBUアドレスを示すVOBU_ADRとを含んでいる。NTSCにおいてタイムユニットTMUを600フィールドで表した場合(あるいはPALにおいてタイムユニットTMUを500フィールドで表した場合)、タイムエントリ#jに対する上記「算出された再生時間」は、TMU×(jー1)+TM_OSFで表すことができる。また、上記VOBU_ADRは、VOBUサイズをセクタ単位で表した場合において、該当VOBの先行VOBUsの合計サイズにより目標のVOBUアドレスを表したものである。
【0065】
上に例示したようなデータ構成において、あるVOBUの途中から再生を開始するには、そのアクセスポイントを確定しなければならない。このアクセスポイントをタイムエントリポイントとする。このタイムエントリポイントは、VOBUのムービーアドレス情報が示す位置から、タイムエントリTM_ENT内の時間差情報TM_DIFFが示す時間差だけ離れた位置にある。このタイムエントリポイントが、タイムマップ情報TMAPIにより示される特別な再生開始点(あるいはタイムサーチ点)となる。
【0066】
各VOBUエントリは、図8(j)に示すように、基準ピクチャサイズ情報1STREF_SZと、VOBU再生時間情報VOBU_PB_TMと、VOBUサイズ情報VOBU_SZとを含んでいる。ここで、VOBU_PB_TMは、該当VOBUの再生時間をビデオフィールド単位で表したものである。また、基準ピクチャサイズ情報1STREF_SZは、該当VOBUの最初の基準ピクチャ(MPEGのIピクチャに対応)のサイズをセクタ単位で表したものである。
【0067】
なお、通常は、VOBUエントリでは「VOBUの時間間隔」をフィールド数で表しているが、他の方法として、「VOBUの時間間隔」を表すのに、「あるVOBUから次のVOBUまでのクロックカウンタによるカウント値」を利用することもできる。具体的に例示すれば、「1個のVOBUの先頭位置でのプレゼンテーションタイムスタンプPTSとその直後のVOBUの先頭位置でのPTSの値との間の差分値」で「VOBUの時間間隔」を表すことができる。換言すれば、「特定ユニット内でのクロックカウンタの差分値でそのユニット内の時間間隔を示す」ことができる。
【0068】
次に、図1に示すデジタル録画再生装置のD−PRO部610について、さらに説明する。デジタル録画再生装置のD−PRO部610は、以下の(1)〜(6)を有する。
【0069】
(1)マイクロプロセッサインターフェース(アドレス・データバス)
(2)バッファメモリコントローラ
(3)ATA/ATAPIホストインターフェース
(4)DMAコントローラ(ATA HDD用とATAPI DVD−RAM用)
(5)MPEG2 AVエンコーダインターフェース
(6)AVデコーダインターフェース
また、D−PRO部610のFIFO部610aは、図9に示すように、チャンネル1(記録用領域)及びチャンネル2(再生用領域)を有している。
【0070】
デジタル録画再生装置は、映像音声入力信号をA/D部614でA/D変換し、エンコーダ部601でエンコードする。エンコードにより得られたDVDビデオレコーディングフォーマットのストリームデータは、レコーダ用データストリームI/O制御LSI(D−PRO部610)のMPEG2 AVエンコーダインターフェースを介して受け取られ、FIFO部610aのチャンネル1に一旦書きこまれる。続いて、ストリームデータは、チャンネル1から読み出されてD−PRO内部のDMAコントローラによりATA/ATAPIバス上をDMA転送されHDD部700またはディスクドライブ部609のどちらか一方の指定されたドライブに録画される。
【0071】
再生時は、指定されたHDD部700またはディスクドライブ部609からストリームデータが読み出され、読み出されたストリームデータはATA/ATAPIバス上をD−PRO部610のDMAコントローラによりDMA転送され、FIFO部610aのチャンネル2に一旦書きこまれる。続いて、ストリームデータは、チャンネル2から読み出されて、AVデコーダインターフェースを介してデコーダ602へ入力される。その後、ストリームデータはデコーダ602でデコードされ、D/A変換部632でD/A変換され、映像音声出力信号として出力される。
【0072】
ここで、D−PRO部610の各レジスタについて説明する。D−PRO部610の外部に接続された64MbitのSDRAMの入出力を制御するバッファメモリコントローラ内部のレジスタ、及びD−PRO部610のATA/ATAPIドライブとのデータ転送を行うDMAコントローラ内部のレジスタについて説明する。両レジスタともに、メインMPU部604からの書き込みまたは読み出しが可能なレジスタである。
【0073】
第1に、バッファメモリコントローラ内部のレジスタについて説明する。
【0074】
RADP1/RADP2レジスタ(Read Address Pointer)
RADP1/RADP2レジスタは、FIFO部610aのチャンネル1とチャンネル2に割り当てられたFIFO部610aのリードポインタを指定するレジスタである。メインMPU部604からの書き込みまたは読み出しが可能なレジスタである。
【0075】
RADP1レジスタはチャンネル1のリードポインタ設定に、RADP2レジスタはチャンネル2のリードポインタ設定に、夫々使用される。読み出し時はカレントのアドレスポインタを返す。また、FIFO部610aからAVデコーダインターフェースまたはDMA転送コントローラにストリームデータが読み出される際にはアドレスが増加する。アドレスポインタはチャンネル1およびチャンネル2の最終アドレスまで達すると各チャンネル内の領域を一巡して、それぞれチャンネルの開始アドレスに戻る。RADP1はWADP1に追いつくが追い越すことはできない。RADP1がWADP1に追いつくとチャンネル1は空となる。RADP2とWADP2の関係も同じである。
【0076】
WADP1/WADP2レジスタ(Write Address Pointer)
WADP1/WADP2レジスタはFIFO部610aのチャンネル1とチャンネル2に割り当てられたライトポインタを設定するレジスタである。メインMPU部604からの書き込みまたは読み出しが可能なレジスタである。WADP1レジスタはチャンネル1のライトポインタ設定に、WADP2レジスタはチャンネル2のライトポインタ設定に、夫々使用される。読み出し時はカレントのアドレスポインタを返す。また、MPEG2 AVエンコーダインターフェースやDMA転送コントローラからストリームデータが書き込まれる際にはアドレスが増加する。アドレスポインタはチャンネル1およびチャンネル2の最終アドレスまで達すると各チャンネル内の領域を一巡して、それぞれチャンネルの開始アドレスに戻る。WADP1はRADP1に追いつくが追い越すことはできない。WADP1がRADP1に追いつくとチャンネル1は満杯となる。RADP2とWADP2の関係も同じである。
【0077】
第2に、D−PROのATA/ATAPIドライブとのデータ転送を行うDMAコントローラ内部のレジスタについて説明する。図1に示すデジタル録画再生装置のように、2ドライブ構成の場合には、DMAコントローラは、ATA HDD用とATAPI DVD−RAM用の2つがある。この場合は、以下のレジスタもそれぞれのDMAコントローラに1組ある。
【0078】
LENGTHレジスタ
LENGTHレジスタはATA HDD またはATAPI DVD−RAMドライブとの間で転送を行う1ブロックの長さをワード単位(2バイト単位)で設定するレジスタである。たとえば、DVDのフォーマットの場合1ブロック(=1セクタ)は2048バイトであるので、0x400(=1024)を設定する。HDDの場合は1セクタが512バイトであるのでDVDのフォーマットとあわせるために1ブロックを4セクタとして同じ値0x400を設定する。
【0079】
NBLOCKレジスタ
NBLOCKレジスタは1回の転送コマンド操作でATA HDD またはATAPI DVD−RAMドライブとの間で転送を行う総データブロック数を設定するレジスタである。たとえば、0x100を設定すると256セクタの転送が可能である。本レジスタは読み出すと転送ブロック数の残量を示す。1ブロックの転送終了毎にディクリメントする。
【0080】
DMACTLレジスタ
LSBの1ビット目の「DIR」がDMA転送方向を示す。DIR=1の場合はATA/ATAPIドライブ→D−PRO、DIR=0の場合はD−PRO→ATA/ATAPIドライブである。
【0081】
MSBの1ビット目の「START」は1ショットの書き込みにより1回のDMA転送をスタートさせるレジスタである。
【0082】
録画停止時にFIFO部610aが空になった時のNBLOCKレジスタをメインMPU部604がリードすることにより、最後のDMA転送の残りブロック数がわかる。この値をもとに録画時の総セクタ数が確定する。
【0083】
次に、図10及び図11を参照して、記録停止処理について説明する。
【0084】
図10は、録画停止処理を説明するフローチャートである。なお、録画停止処理は、メインMPU部604により制御される。
【0085】
キー入力部607を介して入力される記録指示に対応して提供されるストリームデータは、FIFO部610aのチャンネル1に蓄積される。FIFO部610aのチャンネル1に蓄積されたストリームデータは、所定のデータ量の単位でDMA転送され、例えばHDD部700に記録される(ST101)。言い換えると、所定のデータ量に満たない場合、DMA転送はできない。
【0086】
上記した記録中において(ST102ノー)、キー入力部607を介して録画停止指示が入力され(ST103イエス)、FIFO部610aのチャンネル1に蓄積されたストリームデータがDMA転送のデータ量に達していなければ(ST104イエス)、FIFO部610aのチャンネル1に蓄積されたストリームデータに対してダミーデータが追加され(ST105)、所定のデータ量に達したダミーデータ付きのストリームデータがDMA転送される(ST106)。これにより、DMA転送が終了され(ST108)、結果的にストリームデータの記録が停止される。
【0087】
ここで、DMA転送の終了を補足する。FIFO部610aは、図9に示すように、記録用領域(チャンネル1)及び再生用領域(チャンネル2)を有し、記録用領域に対するストリームデータの書き込み状況は第1のライトアドレスポインタ(WADP1)により管理されている。また、記録用領域からのストリームデータの読み出し状況は第1のリードアドレスポインタ(RADP1)により管理されている。また、再生用領域に対するストリームデータの書き込み状況は第2のライトアドレスポインタ(WADP2)により管理されている。再生用領域からのストリームデータの読み出し状況は第2のリードアドレスポインタ(RADP2)により管理されている。第1のリードアドレスポインタが第1のライトアドレスポインタに追いつき、記録用領域の空が検出されると、第1のライトアドレスポインタが領域外、つまり再生用領域のエンドにセットされ、DMA転送が終了する。
【0088】
図11は、タイムスリップ再生時の録画停止処理を説明するためのフローチャートである。なお、録画停止処理は、メインMPU部604により制御される。
【0089】
以下のように、録画及び再生動作が並行して実行されているとする(ST201)。つまり、キー入力部607を介して入力される記録指示に対応して提供されるストリームデータが、FIFO部610aのチャンネル1に蓄積され、FIFO部610aのチャンネル1に蓄積されたストリームデータが所定のデータ量の単位でDMA転送され、例えばHDD部700に記録される。この記録動作中に、キー入力部607を介して入力される再生指示に対応してHDD部700から提供されるストリームデータがDMA転送によりFIFO部610aのチャンネル2に蓄積され、FIFO部610aのチャンネル2に蓄積されたストリームデータが再生出力される。上記した録画及び再生動作の並行により、録画中の番組が再生されることになる(タイムスリップ再生)。
【0090】
上記した録画再生中において(ST202ノー)、キー入力部607を介して録画停止指示が入力され(ST203イエス)、FIFO部610aのチャンネル1に蓄積されたストリームデータがDMA転送のデータ量に達していなければ(ST204イエス)、FIFO部610aのチャンネル1に蓄積されたストリームデータに対してダミーデータが追加され(ST205)、所定のデータ量に達したダミーデータ付きのストリームデータがDMA転送される(ST206)。これにより、DMA転送が終了され(ST208)、結果的にストリームデータの記録が停止される。
【0091】
ここで、DMA転送の終了を補足する。FIFO部610aは、図9に示すように、記録用領域(チャンネル1)及び再生用領域(チャンネル2)を有し、記録用領域に対するストリームデータの書き込み状況は第1のライトアドレスポインタ(WADP1)により管理されている。また、記録用領域からのストリームデータの読み出し状況は第1のリードアドレスポインタ(RADP1)により管理されている。また、再生用領域に対するストリームデータの書き込み状況は第2のライトアドレスポインタ(WADP2)により管理されている。再生用領域からのストリームデータの読み出し状況は第2のリードアドレスポインタ(RADP2)により管理されている。第1のリードアドレスポインタが第1のライトアドレスポインタに追いつき、記録用領域の空が検出されると、第1のライトアドレスポインタが領域外、つまり再生用領域のエンドにセットされ、DMA転送が終了する。
【0092】
録画停止指示に対応してエンコーダ部601がストリームデータを出力し終えたときに、FIFO部610aに蓄積されたデータが不足していると、DMA転送を終了できない。そこで、FIFO部610aに蓄積されたデータに対して、不足分に相当するダミーデータを追加して、DMA転送を終了させる。つまり、DMA転送のリセットが不要となり、高速な録画停止処理が可能となる。
【0093】
なお、本願発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は可能な限り適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。
【0094】
【発明の効果】
この発明によれば、DMA転送を伴った記録動作を即座に停止させることが可能な記録停止処理方法及びデータ記録装置を提供できる。
【図面の簡単な説明】
【図1】この発明の一実施の形態に係るHDD付きデジタル録画再生装置(DVDビデオレコーダ)の全体構成を説明するブロック図。
【図2】図1の装置の全体動作を説明するフローチャート図。
【図3】図1の装置における割り込み処理を説明するフローチャート図。
【図4】図1の装置における録画処理を説明するフローチャート図。
【図5】図1の装置における再生処理を説明するフローチャート図。
【図6】図5の処理におけるセル再生時の処理の内容(その1)を説明するフローチャート図。
【図7】図5の処理におけるセル再生時の処理の内容(その2)を説明するフローチャート図。
【図8】図1の装置により記録される管理情報(RTR_VMG)の内容を説明する図。
【図9】FIFO部における記録用領域及び再生用領域、並びに各ポインタの関係を示す図である。
【図10】録画停止処理を説明するためのフローチャートである。
【図11】タイムスリップ再生時の録画停止処理を説明するためのフローチャートである。
【符号の説明】
100…光ディスク/情報媒体
601…エンコーダ部
602…デコーダ部
604…メインMPU部
604a…ワークRAM部
6045…FIFO制御部
6046…読込ドライブ制御部
6047…書込ドライブ制御部
609…ディスクドライブ部
610…D−PRO部
610a…FIFO部
700…HDD部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording stop processing method for recording stream data transferred by DMA (Direct Memory Access). The present invention also relates to a data recording apparatus for recording stream data transferred by DMA.
[0002]
[Prior art]
A recording device that records stream data such as video temporarily stores the stream data in a buffer, DMA-transfers the stored stream data, and records the stream data on a hard disk or an optical disk.
[0003]
[Problems to be solved by the invention]
Even if recording stop is instructed during recording of stream data, there is a problem that if the DMA transfer does not end normally, the recording cannot be stopped immediately.
[0004]
An object of the present invention is to provide a recording stop processing method and a data recording apparatus which are made in view of the above-described circumstances and can immediately stop a recording operation accompanied by a DMA transfer. is there.
[0005]
[Means for Solving the Problems]
In order to solve the above problems and achieve the object, a recording stop processing method and a data recording apparatus of the present invention are configured as follows.
[0006]
(1) According to the recording stop processing method of the present invention, stream data provided in response to a recording instruction is stored in a predetermined storage destination, the stored stream data is DMA-transferred in a unit of a predetermined data amount, and DMA When the stream data to be transferred is recorded in a predetermined recording destination, a recording stop instruction is input, and when the stream data stored in the storage destination is less than a predetermined data amount, the stream data is stored in the storage destination. Dummy data is added to the stream data, stream data with dummy data that has reached a predetermined data amount is DMA-transferred, DMA transfer is terminated, and recording of the stream data is stopped.
[0007]
(2) A data recording apparatus according to the present invention includes a storage means for storing stream data provided in response to a recording instruction, and a transfer for DMA transfer of the stream data stored in the storage means in a unit of a predetermined data amount Means for recording stream data DMA-transferred by the transfer means, and stream data stored in the storage means when a recording stop instruction is input when stream data is recorded by the recording means When the data amount is less than the predetermined data amount, dummy data is added to the stream data stored in the storage means, the stream data with dummy data reaching the predetermined data amount is DMA-transferred, and the DMA transfer is terminated. Control means for stopping the recording of the stream data.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0009]
A digital recording / playback apparatus (DVD-RTR recorder) according to an embodiment of the present invention will be described below with reference to the drawings.
[0010]
FIG. 1 is a block diagram for explaining the overall configuration of a digital recording / playback apparatus (DVD video recorder) with a hard disk drive HDD according to an embodiment of the present invention. This apparatus basically performs a real-time video recording using a recordable optical disk (DVD-RAM disk, DVD-RW disk, DVD-R disk, etc.) 100 and / or a hard disk. It also has a playback function for DVD-ROM discs and recorded DVD-R discs. In addition, using a high-speed access performance of the HDD and DVD-RAM drive, a playback function during recording such as time slip viewing is also provided.
[0011]
1 includes an encoder unit 601, a decoder unit 602, a main MPU (microcomputer; or central processing unit CPU) unit 604, a V (video) mixing unit 605, a frame memory unit 606, a key input unit 607, and a display unit 608. DVD-RAM (and / or DVD-R / DVD-RW) drive unit 609, D-PRO (data processor) unit 610, A / V input 612, TV tuner unit (BS / terrestrial analog tuner) 613, audio Digital I / F 631, audio D / A section 632, speaker 633 (illustration of the driving audio amplifier is omitted), video digital I / F 634, TV D / A section 636, external monitor TV 637, STC (system) Time counter) unit 650, HDD unit (for example, 0GB~100GB about HDD recorder units and / or large capacity of the IC memory) 700 is constituted by a selector unit 750, etc. of the audio signal.
[0012]
The D-PRO unit 610 includes a first-in first-out type FIFO unit (FIFO buffer) 610a or is externally attached. The FIFO buffer constituting the FIFO unit 610a includes a recording side FIFO and a reproducing side FIFO. The input / output control of the recording side / reproduction side FIFO and the remaining amount monitoring thereof are performed by a control program called a FIFO control unit 6045 written in the program ROM in the main MPU 604.
[0013]
Here, the recording-side FIFO and the reproduction-side FIFO are, for example, one FIFO buffer divided according to the ratio between the recording data and the reproduction data, and even if the capacity of the entire FIFO buffer is constant, the recording-side FIFO and the reproduction-side FIFO The capacity of each FIFO can be variable. For example, when the capacity of the FIFO buffer is 4 MB and the recording rate is three times the reproduction rate, a buffer capacity of 3 MB can be allocated to the recording side FIFO, and a buffer capacity of 1 MB can be allocated to the reproduction side FIFO. In addition, when the rate changes during recording / reproduction, for example, when the recording rate becomes 1/3 of the reproduction rate, the buffer capacity of the recording side FIFO may be reduced to 1 MB and the buffer capacity of the reproduction side FIFO may be increased to 3 MB. it can. As described above, there are the following methods for changing the distribution ratio on the recording side / reproducing side of the FIFO buffer in accordance with the rate. That is, by setting an address pointer at the boundary between the recording FIFO and the reproduction FIFO and changing the address pointer position according to the recording / reproduction rate, the proportion of the FIFO buffer on the recording / reproduction side can be changed. .
[0014]
When the capacity of the FIFO buffer is sufficiently large (for example, 16 MB), a method of fixing the capacity of each of the recording-side FIFO and the reproduction-side FIFO (for example, every 8 MB) can be considered.
[0015]
Read control from the disk drive unit 609 (or HDD unit 700) is performed by a control program called a read drive control unit 6046 written in the program ROM in the main MPU 604. Further, writing control to the disk drive unit 609 (or the HDD unit 700) is performed by a control program called a write drive control unit 6047 written in a program ROM in the main MPU 604.
[0016]
The main MPU unit 604 includes a ROM unit including the above control program (firmware) and other control parameters, and a work RAM unit 604a used when executing each program. The work RAM unit 604a includes a memory area called a VMG holding unit (not shown) that temporarily stores the management information (RTR_VMG) in FIG.
[0017]
The encoder unit 601 includes an A / D unit 614, a video encoding unit 616, an audio encoding unit 617 including a dual mono header setting unit 617a, an SP (sub-picture) encoding unit 618, a formatter unit 619, and a buffer memory unit 620. ing. In addition, the decoder unit 602 includes a separation unit 625 incorporating a memory 626, a video decoding unit 628 incorporating a reduced image (thumbnail) generation unit 628a, an SP (sub-picture) decoding unit 627, an audio decoding unit 630, a V-PRO ( The video processor) unit 638 is configured.
[0018]
Recording (recording of AV information) is performed via an encoder unit 601, a disc drive unit (DVD-RAM drive unit) using a replaceable (removable) DVD-RAM (or DVD-R / DVD-RW) disc 100. 609. The disc drive unit 609 can reproduce not only from the DVD-RAM (or DVD-R / DVD-RW) disc 100 but also from the DVD video (or DVD-ROM) disc 100. That is, DVD playback of the DVD family is performed via the decoder unit 602 via the disk drive unit 609 and the D-PRO unit 610. The function at the time of DVD video reproduction may be basically the same as that of a commercially available DVD video player.
[0019]
The actual video signal flow in the apparatus of FIG. 1 is as follows. First, for example, an AV (audio / visual) signal obtained from the TV tuner unit 613 is input to the A / D unit 614 and converted into a digital signal. Next, the converted digital signal is input to the video encoding unit 616, and the digital audio signal is input to the audio encoding unit 617. (In addition, when character data such as character broadcast is output from the TV tuner unit 613 in reception / recording of terrestrial analog broadcast, it is input to an SP (sub-picture) encoding unit 618. Reception / recording of terrestrial analog broadcast In recording, the video signal is digitized by the A / D unit 614, and then the input video signal is MPEG-compressed by the video (main video) encoding unit 616. The audio (sound) encoding unit 617 inputs the video signal. The audio signal is compressed by, for example, MPEG audio, and the input character data is run-length compressed by the SP encoding unit 618.)
In each of the encoder units 616 to 618, when packed, the data is packetized so as to have, for example, 2048 bytes, and the packetized signals (video data, audio data, and sub-picture data) are sent to the formatter unit 619. Entered. The formatter unit 619 packs and multiplexes the input packet data using the buffer memory unit 620 as appropriate, and outputs the multiplexed signals (video pack, audio pack, and sub-picture pack) to the D-PRO unit 610. Send to.
[0020]
The D-PRO unit 610 forms an ECC block every 16 packs / 16 sectors in the current DVD video (32 packs / 32 sectors or more in the next-generation DVD video), and adds error correction data thereto. The data stream thus obtained is recorded on the optical disc (DVD-RAM, DVD-RW or DVD-R) 100 by the disc drive unit 609 or recorded on the HDD unit 700. Here, when the disk drive unit 609 is busy due to seeking or track jumping, the recording data is temporarily stored in the HDD unit 700 (and / or a semiconductor memory not shown) as a temporary storage unit. It can be configured to store and wait until the disk drive unit 609 is ready for recording.
[0021]
Further, the formatter unit 619 creates segmentation information during recording (by GOP head interrupt or the like), and sends the created segmentation information to the MPU unit 604 periodically. The segmentation information includes the number of packs of VOBU (video object unit) that is a data access unit, the end address of the I picture from the beginning of the VOBU, the playback time of the VOBU, and the like. Each VOBU may include the video pack, audio pack, and / or sub-picture pack. The disk drive unit 609 can access the recording information of the disk 100 in units of this VOBU. In DVD-RTR (real-time recording / playback DVD), one video file is stored on one disc.
[0022]
Next, various operations of the apparatus of FIG. 1 will be described with reference to a flowchart. FIG. 2 is a flowchart for explaining the overall operation of the apparatus of FIG. Each process of this flowchart is controlled by the main MPU unit 604 of FIG. The main MPU unit 604 executes predetermined initial setting (step ST10) after the apparatus is activated. Thereafter, it waits for a key input from the user (key input from a remote controller (not shown) or an operation command from a reserved recording program). When there is a key input (step ST20), the input key is interpreted (TV reception channel switching command, recording start command, playback start command, etc.) (step ST30).
[0023]
For example, if the input key is interpreted as “recording start command” in the recording, the recording process to the recordable optical disk (DVD-RAM disk or the like) 100 and / or the HDD unit 700 loaded in the disk drive unit 609 is performed. Performed (step ST50).
[0024]
For example, if the input key is interpreted as a “reproduction start command” during reproduction, an optical disc (DVD-RAM disc, DVD-RW disc, DVD-R disc, or DVD video disc) loaded in the disc drive unit 609 is used. Playback processing from 100 is performed (step ST60).
[0025]
In the process of FIG. 2, when the recording process for the disk 100 (or HDD unit 700) and the reproduction process for the disk 100 (or HDD unit 700) overlap, the control unit (604) determines that the disk 100 (or HDD unit 700). Is prioritized (ST50 is prioritized over ST60 in FIG. 2).
[0026]
FIG. 3 is a flowchart for explaining interrupt processing in the apparatus of FIG. When entering the interrupt processing, since there are various factors in the interrupt, the interrupt factor is checked first (step ST70). If the interrupt factor is, for example, “interrupt processing when transfer to the D-PRO unit 610 for one pack is completed”, interrupt processing Recpack ++ (step ST72) for counting up the number of recording packs is executed. If the interrupt factor is, for example, “interrupt processing at the time of capturing segmentation information from the formatter unit 619”, an interrupt flag for capturing segmentation information 1 is set (step ST74). Although not shown, interrupt flag setting for capturing the segmentation information x (x = 1, 2, 3,...) Is also performed as appropriate. As described above, after the interrupt processing for each interrupt factor is performed, the flow returns to the other processing flow.
[0027]
FIG. 4 is a flowchart for explaining recording processing (recording of an MPEG program stream PS) in the apparatus of FIG. The main MPU unit 604 reads each file system data from the disk 100 (or HDD unit 700) loaded in the disk drive unit 609 (step ST500). The used capacity is calculated from the read data, and it is checked whether or not the disk 100 (or HDD unit 700) has a free capacity. When there is no free space, a warning message such as “no recording space” is displayed on the display unit 608 or the TV 637, and the process is terminated. When there is free space, a management file (VMG file) is read from the disk 100 (or HDD unit 700), and when there is no management file, a new VMG file is created and expanded in the RAM unit 604a ( Step ST506).
[0028]
After such pre-recording processing (step ST506) is performed, the process proceeds to initial setting for recording (step ST508). In this initial setting for recording, the STC unit 650 is reset, a write start address and a write command are set to each drive unit (disk drive unit 609, HDD unit 700, etc.), and initial settings (cell CELL, video) of the formatter unit 619 are set. The object unit VOBU, the program PG, and the program chain PGC are set) and the like. Following the initial setting, a recording start setting is made (step ST510). In this recording start setting, a recording start command is set in the encoder unit 601, and the segmentation information (the segment set in step ST508) is registered as a video object VOB.
[0029]
After recording starts, when data for the recording start amount (for example, 1 ECC block or more) is stored in the FIFO unit 610a (Yes in step ST512), the write address and write length in the disk drive unit 609 (or HDD unit 700) are determined, A write command is issued to disk drive unit 609 (or HDD unit 700) (step ST514). When there is an interruption for capturing the segmentation information (Yes in step ST516), segmentation information is captured from the formatter unit 619 (step ST518).
[0030]
In other words, when the data of the program stream PS taken into the encoder unit 601 has accumulated in the FIFO buffer of the FIFO unit 610a in a certain amount (one or more ECC blocks or one continuous data area CDA). (Yes in step ST512), the data is recorded on the disc 100 (or the HDD unit 700). At this time, the recording data segmentation information is appropriately taken into the work RAM unit 604a (step ST518).
[0031]
If a write error to the disk 100 (or HDD unit 700) occurs during writing (recording) started by the write command issued in step ST514 (yes in step ST521), the address information being recorded is stored in the work RAM unit. Once stored in 604a (step ST523), the process proceeds to a FIFO & recording start amount control process (step ST525). The address information once stored in the work RAM unit 604a can be appropriately recorded in the volume & file management information area (see FIG. 8B) of the disk 100 after the recording is completed. If a write error has not occurred (NO in step ST521), the process in step ST523 is skipped and the process proceeds to a FIFO & recording start amount control process (step ST525).
[0032]
While the recording continues (NO in step ST527), the processes in steps ST512 to ST527 are repeated. When a recording end key is input and recording ends (YES in step ST527), a recording end process (not shown) is executed. In this recording end processing, the remaining segmentation information is fetched from the formatter unit 619 and initialized, and the settings of the program chain information PGCI (segmentation information, I picture information, etc.) can be written in the management information VMG. In other words, the remaining segmentation information can be captured in the work RAM unit 604a, and the management information VMG can be updated based on the captured segmentation information.
[0033]
FIG. 5 is a flowchart for explaining processing in the case of reproducing digitally recorded video information in the apparatus of FIG. Here, the description will be made assuming that video information is normally recorded on the disc 100 loaded in the disc drive unit 609 (the same applies to reproduction from the HDD unit 700).
[0034]
First, it is checked whether or not the current mode is a playback mode (step ST610). If the playback mode is not set (NO in step ST610), the processing in FIG. 5 ends. If the playback mode is selected (YES in step ST610), the MPEG video decoding unit 628, the sub-picture (SP) decoding unit 627, and the audio decoding unit 630 are initialized (step ST620).
[0035]
After the initial setting, for example, data to be reproduced is determined based on a reproduction time designated by the user, and an address at which reproduction is started is determined based on address information and segmentation information corresponding to the determined data (step ST630). ). When the playback start address is determined, cell playback processing (step ST640) is executed. While the reproduction is continuing (NO in step ST650), the cell to be reproduced next is determined (step ST660), and the cell reproduction process (step ST640) is executed.
[0036]
If cell playback is completed (YES in step ST650), an error check (step ST670) is performed. When an error occurs at the end of playback (YES in step ST670), a display such as “reading error has occurred” is displayed on display unit 608 and / or TV 637 (step ST680), and playback end processing (step ST690) is executed. Then, the process returns to another processing state (for example, the key input waiting state at step ST20 in FIG. 2). If there is no error (NO in step ST670), other playback end processing is executed (step ST692), and the playback processing in FIG. 5 ends.
[0037]
FIG. 6 is a flowchart for explaining the contents of the cell playback process (step ST640) in the process of FIG. FIG. 7 is a flowchart for explaining the continuation of the process of FIG. In step ST6400 and others in FIG. 6, “FP” indicates the head position, and LBN indicates the logical block number. For example, the start FP (LBN) of the reproduction cell indicates the start position of the cell from which reproduction is started indicated by a logical block number.
[0038]
First, based on the program chain information PGCI and time map information TMAPI included in the management information VMG, the start FP (LBN) and end FP (LBN) of the cell to be reproduced are determined, and the read FP is set as the cell start FP. "End address-start address" is set as the remaining cell length (step ST6400). The start address and read length of the data block (continuous data area CDA) to be read are set (step ST6402). If the read block length is shorter than the remaining cell length (Yes in step ST6404), “remaining cell length−read block length” is set as the remaining cell length (step ST6406). On the other hand, when the read block length is greater than or equal to the remaining cell length (NO in step ST6404), the read block length is set as the remaining cell length, and the remaining cell length is set to zero (step ST6408).
[0039]
Subsequently, a data read command is set in the disk drive unit 609 (step ST6410), and the start of read data transfer is awaited. If the transfer is started (YES in step ST6412), it waits for the read data to be stored in the FIFO buffer for 1 VOBU or more. When the data is stored in the FIFO buffer for 1 VOBU or more, data for 1 VOBU is read from this buffer, and the packs constituting this VOBU are examined.
[0040]
If the seamless connection flag (not shown) in the read VOBU data is set (YES in step ST6424), “read FP + read length” is set as the read FP, the MPEG decoder is set in the normal mode, and the system The clock reference SCR is read and set as appropriate, and the seamless connection flag is reset (step ST6426).
[0041]
When the transfer started in step ST6412 ends (YES in step ST6428), it is checked whether or not the next process is started. If it is started, the process proceeds to a FIFO & read block control process (step ST6445).
[0042]
After the FIFO & read block control process (step ST6445) is performed, if the remaining cell length becomes zero (YES in step ST6450), the process of FIGS. Return to ST650. If the remaining cell length is not zero (NO in step ST6450), the process returns to step ST6402, and the processes in FIGS. 6 to 7 are repeated.
[0043]
If the transfer started in step ST6412 has not ended (NO in step ST6428), there is a key input in step ST20 in FIG. 2 (YES in step ST6430 in FIG. 7), and the special playback mode is fast-forward FF (YES in step ST6432). ) The playback time and the recording time (current time) are compared (step ST6433). If the playback time and the recording time are different (NO in step ST6433), the jump direction for fast-forwarding is set as the positive direction, and the reading position read_fp is set according to the jump amount (step ST6434). When the playback time and the recording time match (Yes in step ST6433), step ST6433 is skipped.
[0044]
On the other hand, if the special playback mode is not fast-forward FF but fast-reverse FR (Yes in step ST6432, yes in step ST6436), the start time and the recording time (current time) are compared (step ST6437). If the start playback time and the recording time are different (NO in step ST6437), the jump direction for fast reverse is set to the negative direction, and the read position read_fp is set according to the jump amount (step ST6438). When the start time and the recording time match (Yes in step ST6437), step ST6438 is skipped.
[0045]
When the read position read_fp at the time of FF or FR operation is set in this way, the process of the read block (continuous data area DCA) at the time of special reproduction (FF or FR) is performed, and the process returns to step ST650 in FIG.
[0046]
In the processing of the read block, the read position read_fp can be determined based on the time map information TMAPI quoted in step ST6400 of FIG. 6 in consideration of the jump amount (see FIG. 8 for the contents of TMAPI). And will be described later).
[0047]
If there is no key input in the process of FIG. 7 (NO in step ST6430), the process returns to step ST6428 of FIG. If there is a key input and it is neither the FF key nor the FR key (NO in steps ST6432 and ST6436), the process proceeds to checking whether it is a recording start key (step ST6460).
[0048]
If the input key is a recording start key (during cell playback processing) (YES in step ST6460), the start address of the VOBU being played, the playback time, and the position of the VOBI (in the work RAM 604a in FIG. 1) are used as the recording start information ( The data is stored in the work RAM 604a (step ST6462), and the process returns to step ST6428 in FIG.
[0049]
If the input key is not a recording start key during playback processing (NO in step ST6460) and a recording end key (YES in step ST6464), the start address of the VOBU being played back, the playback time, and the position of VOBI (in the work RAM 604a in FIG. 1) ) Is stored in the work RAM 604a as the recording end information (step ST6462), and the process returns to step ST6428 of FIG.
[0050]
If the input key is not a recording start key during playback processing (NO in step ST6460), not a recording end key (NO in step ST6464), and is a playback key (YES in step ST6468), the pause state is canceled and the system time clock STC is released. Is started (step ST6470), and the process returns to step ST6428 of FIG.
[0051]
If the input key is not a recording start key during playback processing (NO in step ST6460), is not a recording end key (NO in step ST6464), and is not a playback key (NO in step ST6468), the process returns to step ST6428 of FIG.
[0052]
<Summary>
In the write control or read control for the FIFO buffer in the FIFO unit 610a shown in FIG. 1, the remaining FIFO amount is set so as to satisfy a predetermined “FIFO condition” in order to enable “playback while recording without interruption”. The following controls are performed while monitoring:
(1) During recording process: When the recording-side FIFO buffer remaining amount exceeds a predetermined value (for example, 75%), the write amount (write size) to the drive is increased (ECC block unit = 16 or 32 sector units). Increase), or increase the number of writes to the drive (per unit time), or increase the amount of data to be buffered in the recording FIFO (increase in ECC blocks);
Here, in order to prevent the FIFO from overflowing, the amount of writing to the drive is increased. In other words, the read amount from the FIFO is increased.
[0053]
(2) During reproduction processing: When the remaining amount of the reproduction-side FIFO buffer becomes a predetermined value (for example, 25%) or less, the read amount (read size) from the drive is increased (increased in units of ECC blocks), or Increase the number of reads (per unit time). In other words, the amount of writing to this FIFO is increased.
[0054]
(3) When the recording process and the reproduction process overlap, the recording process is given priority.
[0055]
As the predetermined “FIFO condition”, for example, the following two can be adopted:
A> The recording FIFO does not overflow;
B> The reproduction side FIFO is not emptied.
[0056]
The input / output rate for the FIFO buffer can have the following characteristics, for example:
a> The input rate of the recording side FIFO depends on the transfer rate (variable rate) from the MPEG encoder, and the output rate of the recording side FIFO depends on the transfer rate to the drive;
b> The input rate of the reproduction side FIFO depends on the transfer rate from the drive, and the output rate of the reproduction side FIFO depends on the transfer rate to the decoder.
[0057]
FIG. 8 is a diagram for explaining the contents of management information (RTR_VMG) recorded by the apparatus of FIG. Here, a case where the volume space information as shown in FIG. 8B is recorded in the information recording area of the DVD-RAM disk 100 of FIG. 8A will be described as an example (recording information on the HDD unit 700). The data structure may be the same).
[0058]
As shown in FIG. 8B, the volume space of the disk 100 includes a recording area for volume and file management information, and a data area for recording user data (AV information and the like). As shown in FIG. 8C, this data area can record management information RTR_VMG and user data contents (video object VOB constituting AV information, etc.). The management information RTR_VMG is stored as a file of the video manager VMG.
[0059]
As shown in FIG. 8D, the management information RTR_VMG includes RTR video manager information RTR_VMGI, a movie AV file information table M_AVFIT, a still picture AV file information table S_AVFIT, original program chain information ORG_PGCI, user-defined information, It includes a program chain information table UD_PGCIT, a text data manager TXTDT_MG, and manufacturer information MNFIT.
[0060]
The program chain information PGCI is a data structure that represents the entire reproduction of the program chain PGC, and PGC indicates a series of programs PG (program set). PG is a logical unit of recorded contents, and PG is recognized or defined by the user. The PG in the program set is composed of one or more original cells (the playback unit of the first recorded content), and the PG is defined only in ORG_PGCI. In other words, it can be said that ORG_PGCI is information describing the cell playback order of the first recorded content. UD_PGCIT is a table describing one or more PGCIs edited by the user after recording.
[0061]
As shown in FIG. 8E, M_AVFIT includes movie AV file information table information M_AVFITI, one or more movie VOB stream information M_VOB_STI # 1 to M_VOB_STI # n, and movie AV file information M_AVFI. As shown in FIG. 8F, M_AVFI includes movie AV file information general information M_AVFI_GI, one or more movie VOB information search pointers M_VOBI_SRP # 1 to #n, and a number of movie VOB information M_VOBI corresponding to the search pointers. # 1 to #n.
[0062]
Each M_VOBI # includes movie VOB general information M_VOBI_GI, seamless information SMLI, audio gap information AGAPI, and time map information TMAPI, as shown in FIG. 8 (g). This TMAPI is used when performing special playback (cell playback in an order unique to an individual user using a user-defined PGC) and time search.
[0063]
The TMAPI includes time map general information TMAP_GI, one or more time entries TM_ENT # 1 to #r, and one or more VOBU entries VOBU_ENT # 1 # q, as shown in FIG. 8 (h).
[0064]
As shown in FIG. 8 (i), each TM_ENT includes VOBU_ENTN indicating the number of the corresponding VOBU entry, TM_DIFF indicating the time difference between the playback start time of the VOBU specified by the time entry and the calculated playback time, And VOBU_ADR indicating the target VOBU address. When the time unit TMU is represented by 600 fields in NTSC (or when the time unit TMU is represented by 500 fields in PAL), the “calculated playback time” for the time entry #j is TMU × (j−1) + TM_OSF. The VOBU_ADR represents the target VOBU address by the total size of the preceding VOBUs of the VOB when the VOBU size is expressed in units of sectors.
[0065]
In the data configuration as exemplified above, in order to start reproduction from the middle of a certain VOBU, the access point must be determined. Let this access point be a time entry point. This time entry point is located at a position separated from the position indicated by the movie address information of VOBU by the time difference indicated by the time difference information TM_DIFF in the time entry TM_ENT. This time entry point becomes a special reproduction start point (or time search point) indicated by the time map information TMAPI.
[0066]
Each VOBU entry includes reference picture size information 1STREF_SZ, VOBU playback time information VOBU_PB_TM, and VOBU size information VOBU_SZ as shown in FIG. 8 (j). Here, VOBU_PB_TM represents the playback time of the corresponding VOBU in video field units. The reference picture size information 1STREF_SZ represents the size of the first reference picture (corresponding to the MPEG I picture) of the VOBU in units of sectors.
[0067]
Normally, the “VOBU time interval” is represented by the number of fields in the VOBU entry. As another method, the “clock interval from one VOBU to the next VOBU” can be used to represent the “VOBU time interval”. "Count value by" can also be used. As a specific example, “the difference value between the presentation time stamp PTS at the head position of one VOBU and the PTS value at the head position of the immediately following VOBU” represents the “VOBU time interval”. be able to. In other words, “the time interval in the unit can be indicated by the differential value of the clock counter in the specific unit”.
[0068]
Next, the D-PRO unit 610 of the digital recording / playback apparatus shown in FIG. 1 will be further described. The D-PRO unit 610 of the digital recording / playback apparatus includes the following (1) to (6).
[0069]
(1) Microprocessor interface (address / data bus)
(2) Buffer memory controller
(3) ATA / ATAPI host interface
(4) DMA controller (for ATA HDD and ATAPI DVD-RAM)
(5) MPEG2 AV encoder interface
(6) AV decoder interface
Further, the FIFO unit 610a of the D-PRO unit 610 has a channel 1 (recording area) and a channel 2 (playback area) as shown in FIG.
[0070]
The digital recording / reproducing apparatus performs A / D conversion on the video / audio input signal by the A / D unit 614 and encodes it by the encoder unit 601. The stream data in the DVD video recording format obtained by encoding is received via the MPEG2 AV encoder interface of the recorder data stream I / O control LSI (D-PRO unit 610), and is temporarily written in channel 1 of the FIFO unit 610a. I'm stuck. Subsequently, the stream data is read from the channel 1 and DMA-transferred on the ATA / ATAPI bus by the DMA controller in the D-PRO and recorded on the designated drive of either the HDD unit 700 or the disk drive unit 609. Is done.
[0071]
During reproduction, stream data is read from the designated HDD unit 700 or disk drive unit 609, and the read stream data is DMA-transferred on the ATA / ATAPI bus by the DMA controller of the D-PRO unit 610, and the FIFO The data is once written in the channel 2 of the section 610a. Subsequently, the stream data is read from the channel 2 and input to the decoder 602 via the AV decoder interface. Thereafter, the stream data is decoded by the decoder 602, D / A converted by the D / A converter 632, and output as a video / audio output signal.
[0072]
Here, each register of the D-PRO unit 610 will be described. Registers in the buffer memory controller that control input / output of a 64 Mbit SDRAM connected to the outside of the D-PRO unit 610, and registers in the DMA controller that perform data transfer with the ATA / ATAPI drive of the D-PRO unit 610 explain. Both registers are registers that can be written to or read from the main MPU unit 604.
[0073]
First, the registers inside the buffer memory controller will be described.
[0074]
RADP1 / RADP2 register (Read Address Pointer)
The RADP1 / RADP2 register is a register for designating a read pointer of the FIFO unit 610a allocated to the channel 1 and the channel 2 of the FIFO unit 610a. This is a register that can be written to or read from the main MPU unit 604.
[0075]
The RADP1 register is used for channel 1 read pointer setting, and the RADP2 register is used for channel 2 read pointer setting. When reading, the current address pointer is returned. Further, the address increases when stream data is read from the FIFO unit 610a to the AV decoder interface or the DMA transfer controller. When the address pointer reaches the final address of channel 1 and channel 2, it goes around the area in each channel and returns to the start address of each channel. RADP1 catches up with WADP1, but cannot overtake it. When RADP1 catches up with WADP1, channel 1 becomes empty. The relationship between RADP2 and WADP2 is the same.
[0076]
WADP1 / WADP2 register (Write Address Pointer)
The WADP1 / WADP2 registers are registers for setting write pointers assigned to the channels 1 and 2 of the FIFO unit 610a. This is a register that can be written to or read from the main MPU unit 604. The WADP1 register is used for channel 1 write pointer setting, and the WADP2 register is used for channel 2 write pointer setting. When reading, the current address pointer is returned. Further, the address increases when stream data is written from the MPEG2 AV encoder interface or the DMA transfer controller. When the address pointer reaches the final address of channel 1 and channel 2, it goes around the area in each channel and returns to the start address of each channel. WADP1 catches up with RADP1, but cannot overtake it. When WADP1 catches up with RADP1, channel 1 becomes full. The relationship between RADP2 and WADP2 is the same.
[0077]
Second, a register in the DMA controller that performs data transfer with the ATA / ATAPI drive of the D-PRO will be described. As in the digital recording / playback apparatus shown in FIG. 1, in the case of a two-drive configuration, there are two DMA controllers, one for ATA HDD and one for ATAPI DVD-RAM. In this case, there is one set of the following registers in each DMA controller.
[0078]
LENGTH register
The LENGTH register is a register for setting the length of one block to be transferred between the ATA HDD or the ATAPI DVD-RAM drive in units of words (2 bytes). For example, in the case of the DVD format, since one block (= 1 sector) is 2048 bytes, 0x400 (= 1024) is set. In the case of HDD, since one sector is 512 bytes, the same value 0x400 is set with one block being four sectors in order to match the DVD format.
[0079]
NBLOCK register
The NBLOCK register is a register for setting the total number of data blocks to be transferred to and from the ATA HDD or ATAPI DVD-RAM drive by one transfer command operation. For example, if 0x100 is set, 256 sectors can be transferred. When this register is read, it indicates the remaining number of transfer blocks. Decrement each time one block is transferred.
[0080]
DMACTL register
The first bit “DIR” of the LSB indicates the DMA transfer direction. When DIR = 1, ATA / ATAPI drive → D-PRO, and when DIR = 0, D-PRO → ATA / ATAPI drive.
[0081]
“START” of the first bit of the MSB is a register for starting one DMA transfer by writing one shot.
[0082]
When the main MPU unit 604 reads the NBLOCK register when the FIFO unit 610a becomes empty when recording is stopped, the number of remaining blocks of the last DMA transfer can be determined. Based on this value, the total number of sectors during recording is determined.
[0083]
Next, the recording stop process will be described with reference to FIGS.
[0084]
FIG. 10 is a flowchart for explaining the recording stop process. Note that the recording stop process is controlled by the main MPU unit 604.
[0085]
Stream data provided in response to a recording instruction input via the key input unit 607 is accumulated in the channel 1 of the FIFO unit 610a. The stream data accumulated in channel 1 of the FIFO unit 610a is DMA-transferred in units of a predetermined amount of data and recorded, for example, in the HDD unit 700 (ST101). In other words, DMA transfer is not possible when the predetermined data amount is not reached.
[0086]
During the above recording (NO in ST102), a recording stop instruction is input via the key input unit 607 (YES in ST103), and the stream data accumulated in the channel 1 of the FIFO unit 610a must reach the data amount of DMA transfer. If (YES in ST104), dummy data is added to the stream data stored in channel 1 of the FIFO unit 610a (ST105), and stream data with dummy data reaching a predetermined data amount is DMA-transferred (ST106). ). Thereby, the DMA transfer is completed (ST108), and as a result, the recording of the stream data is stopped.
[0087]
Here, the end of DMA transfer will be supplemented. As shown in FIG. 9, the FIFO unit 610a has a recording area (channel 1) and a reproduction area (channel 2), and the write status of stream data in the recording area is the first write address pointer (WADP1). It is managed by. Further, the read status of the stream data from the recording area is managed by the first read address pointer (RADP1). Also, the writing status of the stream data in the reproduction area is managed by the second write address pointer (WADP2). The state of reading stream data from the reproduction area is managed by the second read address pointer (RADP2). When the first read address pointer catches up with the first write address pointer and the recording area is detected empty, the first write address pointer is set outside the area, that is, at the end of the reproduction area, and the DMA transfer is performed. finish.
[0088]
FIG. 11 is a flowchart for explaining a recording stop process during time slip reproduction. Note that the recording stop process is controlled by the main MPU unit 604.
[0089]
Assume that recording and playback operations are performed in parallel as follows (ST201). That is, the stream data provided corresponding to the recording instruction input via the key input unit 607 is accumulated in the channel 1 of the FIFO unit 610a, and the stream data accumulated in the channel 1 of the FIFO unit 610a is a predetermined value. DMA transfer is performed in units of data amount and recorded in the HDD unit 700, for example. During this recording operation, stream data provided from the HDD unit 700 in response to a playback instruction input via the key input unit 607 is accumulated in the channel 2 of the FIFO unit 610a by DMA transfer, and the channel of the FIFO unit 610a 2 is reproduced and output. The program being recorded is played back in parallel with the recording and playback operations described above (time slip playback).
[0090]
During the recording and reproduction described above (NO in ST202), a recording stop instruction is input via the key input unit 607 (YES in ST203), and the stream data accumulated in the channel 1 of the FIFO unit 610a has reached the data amount of DMA transfer. If not (YES in ST204), dummy data is added to the stream data accumulated in channel 1 of the FIFO unit 610a (ST205), and stream data with dummy data reaching a predetermined data amount is DMA-transferred (ST205). ST206). Thereby, the DMA transfer is completed (ST208), and as a result, the recording of the stream data is stopped.
[0091]
Here, the end of DMA transfer will be supplemented. As shown in FIG. 9, the FIFO unit 610a has a recording area (channel 1) and a reproduction area (channel 2), and the write status of stream data in the recording area is the first write address pointer (WADP1). It is managed by. Further, the read status of the stream data from the recording area is managed by the first read address pointer (RADP1). Also, the writing status of the stream data in the reproduction area is managed by the second write address pointer (WADP2). The state of reading stream data from the reproduction area is managed by the second read address pointer (RADP2). When the first read address pointer catches up with the first write address pointer and the recording area is detected empty, the first write address pointer is set outside the area, that is, at the end of the reproduction area, and the DMA transfer is performed. finish.
[0092]
When the encoder unit 601 finishes outputting the stream data in response to the recording stop instruction, if the data accumulated in the FIFO unit 610a is insufficient, the DMA transfer cannot be completed. Therefore, dummy data corresponding to the shortage is added to the data stored in the FIFO unit 610a, and the DMA transfer is terminated. That is, it is not necessary to reset the DMA transfer, and high-speed recording stop processing is possible.
[0093]
Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. In addition, the embodiments may be appropriately combined as much as possible, and in that case, the combined effect can be obtained. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be obtained as an invention.
[0094]
【The invention's effect】
According to the present invention, it is possible to provide a recording stop processing method and a data recording apparatus capable of immediately stopping a recording operation accompanied by DMA transfer.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an overall configuration of a digital recording / playback apparatus with HDD (DVD video recorder) according to an embodiment of the present invention.
FIG. 2 is a flowchart for explaining the overall operation of the apparatus shown in FIG.
FIG. 3 is a flowchart for explaining interrupt processing in the apparatus of FIG. 1;
FIG. 4 is a flowchart for explaining recording processing in the apparatus of FIG. 1;
FIG. 5 is a flowchart for explaining playback processing in the apparatus of FIG. 1;
6 is a flowchart for explaining the contents (part 1) of the process during cell playback in the process of FIG. 5;
FIG. 7 is a flowchart for explaining the contents (part 2) of the process during cell playback in the process of FIG. 5;
8 is a view for explaining the contents of management information (RTR_VMG) recorded by the apparatus of FIG. 1. FIG.
FIG. 9 is a diagram illustrating a relationship between a recording area, a reproduction area, and pointers in a FIFO unit.
FIG. 10 is a flowchart for explaining recording stop processing;
FIG. 11 is a flowchart for explaining recording stop processing during time slip reproduction;
[Explanation of symbols]
100: Optical disc / information medium
601. Encoder unit
602: Decoder unit
604 ... Main MPU section
604a: Work RAM section
6045 ... FIFO control unit
6046 ... Read drive controller
6047 ... Write drive controller
609: Disk drive unit
610 ... D-PRO part
610a ... FIFO section
700 ... HDD section

Claims (6)

記録指示に対応して外部から提供されるストリームデータをアドレスポインタにより境界が区切られた記録用領域及び再生用領域のうちの記録用領域に蓄積し、蓄積されたストリームデータを所定のデータ量の単位でDMA転送し、DMA転送されるストリームデータを所定の記録先に記録する記録動作と、再生指示に対応して前記記録先から提供されるストリームデータをDMA転送により前記再生用領域に蓄積し、蓄積されたストリームデータを外部に再生出力する再生動作とを交互に実行しているときに、
記録レートと再生レートとの比率に応じて、前記アドレスポインタによる前記記録用領域及び前記再生用領域の境界位置を可変制御し、
記録停止指示が入力され、前記記録用領域に蓄積されたストリームデータが所定のデータ量に満たないときには、前記記録用領域に蓄積されたストリームデータに対してダミーデータを追加し、所定のデータ量に達したダミーデータ付きのストリームデータをDMA転送させてDMA転送を終了させ、ストリームデータの記録を停止する、
ことを特徴とする記録停止処理方法。
Stream data provided from the outside in response to the recording instruction is accumulated in a recording area of the recording area and the reproduction area where the boundary is delimited by an address pointer , and the accumulated stream data is stored in a predetermined amount of data. DMA transfer is performed in units, stream data transferred by DMA is recorded in a predetermined recording destination, and stream data provided from the recording destination is stored in the reproduction area by DMA transfer in response to a reproduction instruction. , When alternately executing the playback operation of playing back and outputting the accumulated stream data to the outside ,
According to the ratio between the recording rate and the reproduction rate, the boundary position between the recording area and the reproduction area by the address pointer is variably controlled,
When a recording stop instruction is input and the stream data accumulated in the recording area is less than a predetermined data amount, dummy data is added to the stream data accumulated in the recording area , and a predetermined data amount DMA transfer of the stream data with dummy data that has reached to end the DMA transfer and stop recording the stream data.
And a recording stop processing method.
前記記録用領域に対するストリームデータの書き込み状況はライトアドレスポインタにより管理されており、前記記録用領域からのストリームデータの読み出し状況はリードアドレスポインタにより管理されており、前記リードアドレスポインタが前記ライトアドレスポインタに追いつき前記記録用領域の空が検出されると、前記ライトアドレスポインタを前記記録用領域の外にセットしDMA転送を終了する、ことを特徴とする請求項1に記載の記録停止処理方法。  The write status of stream data to the recording area is managed by a write address pointer, the read status of stream data from the recording area is managed by a read address pointer, and the read address pointer is the write address pointer. 2. The recording stop processing method according to claim 1, wherein when the recording area is detected as being empty, the write address pointer is set outside the recording area and the DMA transfer is terminated. 前記記録用領域に対するストリームデータの書き込み状況は第1のライトアドレスポインタにより管理されており、前記記録用領域からのストリームデータの読み出し状況は第1のリードアドレスポインタにより管理されており、前記再生用領域に対するストリームデータの書き込み状況は第2のライトアドレスポインタにより管理されており、前記再生用領域からのストリームデータの読み出し状況は第2のリードアドレスポインタにより管理されており、前記第1のリードアドレスポインタが前記第1のライトアドレスポインタに追いつき前記記録用領域の空が検出されると、前記第1のライトアドレスポインタを前記再生用領域のエンドにセットしDMA転送を終了する、ことを特徴とする請求項1に記載の記録停止処理方法。  The status of writing stream data to the recording area is managed by a first write address pointer, and the status of reading stream data from the recording area is managed by a first read address pointer. The stream data write status to the area is managed by a second write address pointer, the stream data read status from the playback area is managed by a second read address pointer, and the first read address When the pointer catches up with the first write address pointer and the recording area is detected as empty, the first write address pointer is set at the end of the reproduction area and the DMA transfer is terminated. The recording stop processing method according to claim 1. アドレスポインタにより境界が区切られた記録用領域及び再生用領域を有する蓄積手段と、  Storage means having a recording area and a reproducing area, the boundary of which is delimited by an address pointer;
外部から提供されるストリームデータを前記記録用領域に蓄積し、蓄積されたストリームデータを記録する記録手段と、  Recording means for storing stream data provided from outside in the recording area, and recording the stored stream data;
前記記録手段に記録されたストリームデータを読み出し前記再生用領域に蓄積し、蓄積されたストリームデータを再生する再生手段と、  Reproduction means for reading the stream data recorded in the recording means and storing it in the reproduction area, and reproducing the accumulated stream data;
記録レートと再生レートとの比率に応じて前記アドレスポインタによる前記記録用領域及び前記再生用領域の境界位置を可変制御する記憶容量制御手段と、  A storage capacity control means for variably controlling a boundary position between the recording area and the reproduction area by the address pointer according to a ratio between a recording rate and a reproduction rate;
前記記録手段によるストリームデータの記録時及び前記再生手段によるストリームデータの再生時に、スリームデータを所定のデータ量の単位でDMA転送する転送手段と、  Transfer means for DMA transfer of stream data in units of a predetermined amount of data at the time of recording stream data by the recording means and at the time of reproducing stream data by the reproducing means;
前記記録手段による記録動作及び前記再生手段による再生動作が並行して実行されているときに、記録停止指示が入力され、前記記録用領域に蓄積されたストリームデータが所定のデータ量に満たないときには、前記記録用領域に蓄積されたストリームデータに対してダミーデータを追加し、所定のデータ量に達したダミーデータ付きのストリームデータをDMA転送させてDMA転送を終了させ、ストリームデータの記録を停止する制御手段と、  When the recording operation by the recording unit and the reproducing operation by the reproducing unit are performed in parallel, a recording stop instruction is input, and the stream data accumulated in the recording area does not reach a predetermined data amount , Dummy data is added to the stream data stored in the recording area, the stream data with dummy data that has reached a predetermined data amount is DMA-transferred, DMA transfer is terminated, and stream data recording is stopped. Control means to
を備えたことを特徴とするデータ記録装置。  A data recording apparatus comprising:
前記記録用領域に対するストリームデータの書き込み状況はライトアドレスポインタにより管理されており、前記記録用領域からのストリームデータの読み出し状況はリードアドレスポインタにより管理されており、前記リードアドレスポインタが前記ライトアドレスポインタに追いつき前記記録用領域の空が検出されると、前記ライトアドレスポインタを前記記録用領域の外にセットしDMA転送を終了する、ことを特徴とする請求項4に記載のデータ記録装置。  The write status of stream data to the recording area is managed by a write address pointer, the read status of stream data from the recording area is managed by a read address pointer, and the read address pointer is the write address pointer. 5. The data recording apparatus according to claim 4, wherein when the recording area is detected as being empty, the write address pointer is set outside the recording area and the DMA transfer is terminated. 前記記録用領域に対するストリームデータの書き込み状況は第1のライトアドレスポインタにより管理されており、前記記録用領域からのストリームデータの読み出し状況は第1のリードアドレスポインタにより管理されており、前記再生用領域に対するストリームデータの書き込み状況は第2のライトアドレスポインタにより管理されており、前記再生用領域からのストリームデータの読み出し状況は第2のリードアドレスポインタにより管理されており、前記第1のリードアドレスポインタが前記第1のライトアドレスポインタに追いつき前記記録用領域の空が検出されると、前記第1のライトアドレスポインタを前記再生用領域のエンドにセットしDMA転送を終了する、ことを特徴とする請求項4に記載のデータ記録装置。  The status of writing stream data to the recording area is managed by a first write address pointer, and the status of reading stream data from the recording area is managed by a first read address pointer. The stream data write status to the area is managed by a second write address pointer, the stream data read status from the playback area is managed by a second read address pointer, and the first read address When the pointer catches up with the first write address pointer and the recording area is detected as empty, the first write address pointer is set at the end of the reproduction area and the DMA transfer is terminated. The data recording apparatus according to claim 4.
JP2002133108A 2002-05-08 2002-05-08 Recording stop processing method and data recording apparatus Expired - Fee Related JP3866611B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002133108A JP3866611B2 (en) 2002-05-08 2002-05-08 Recording stop processing method and data recording apparatus
US10/408,128 US7057986B2 (en) 2002-05-08 2003-04-08 Recording stop processing method and data recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002133108A JP3866611B2 (en) 2002-05-08 2002-05-08 Recording stop processing method and data recording apparatus

Publications (2)

Publication Number Publication Date
JP2003331521A JP2003331521A (en) 2003-11-21
JP3866611B2 true JP3866611B2 (en) 2007-01-10

Family

ID=29397406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002133108A Expired - Fee Related JP3866611B2 (en) 2002-05-08 2002-05-08 Recording stop processing method and data recording apparatus

Country Status (2)

Country Link
US (1) US7057986B2 (en)
JP (1) JP3866611B2 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4082670B2 (en) * 2003-01-23 2008-04-30 株式会社リコー Recording method and information recording apparatus
US7248777B2 (en) 2003-04-17 2007-07-24 Nielsen Media Research, Inc. Methods and apparatus to detect content skipping by a consumer of a recorded program
US20040213092A1 (en) * 2003-04-23 2004-10-28 Konica Minolta Photo Imaging, Inc. Input data recording apparatus, and input data recording method
TW200504732A (en) * 2003-06-30 2005-02-01 Koninkl Philips Electronics Nv Optical recording apparatus
EP1511306A1 (en) * 2003-09-01 2005-03-02 Thomson Licensing S.A. Method for detecting source status changes during time-shift recording
TWI411301B (en) 2004-02-17 2013-10-01 Nielsen Media Res Inc Methods and apparatus to determine audience viewing of recorded programs
JP4370323B2 (en) * 2004-03-29 2009-11-25 パナソニック株式会社 High speed dubbing device
US7802022B2 (en) * 2004-04-29 2010-09-21 Microsoft Corporation Generic USB drivers
KR101014723B1 (en) * 2004-05-04 2011-02-16 엘지전자 주식회사 Method for allocating a File recording area and recording information of high density optical disc write-once
JP4176084B2 (en) * 2005-02-09 2008-11-05 三洋電機株式会社 Video playback device
JP4241661B2 (en) * 2005-04-25 2009-03-18 ソニー株式会社 Recording apparatus and recording method
JP4581815B2 (en) * 2005-04-26 2010-11-17 セイコーエプソン株式会社 Printing control apparatus and printing system
WO2006132622A2 (en) * 2005-06-03 2006-12-14 Nielsen Media Research, Inc. Methods and apparatus to detect a time-shift event associated with the presentation of media content
CA2633196A1 (en) * 2005-12-19 2007-06-28 Matsushita Electric Industrial Co. Ltd. Recording apparatus with remaining capacity detection unit
JP4325633B2 (en) * 2006-03-24 2009-09-02 船井電機株式会社 Optical disk device
JP4211818B2 (en) * 2006-08-10 2009-01-21 ソニー株式会社 Recording apparatus, recording method, and recording program
WO2008152762A1 (en) * 2007-06-11 2008-12-18 Mitsubishi Electric Corporation Disk reproducing device
JPWO2009072276A1 (en) * 2007-12-06 2011-04-21 パナソニック株式会社 Image encoding apparatus, video camera, integrated circuit, and image encoding method
WO2014081457A1 (en) * 2012-11-21 2014-05-30 Coherent Logix Incorporated Processing system with interspersed processors dma-fifo
TWI517681B (en) * 2013-06-19 2016-01-11 晨星半導體股份有限公司 Decoding method and decoding apparatus for avs system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3252172B2 (en) * 1991-11-14 2002-01-28 カシオ計算機株式会社 Digital recorder
JPH05189872A (en) 1992-01-14 1993-07-30 Casio Comput Co Ltd Multitrack recorder
JP3360873B2 (en) 1992-05-22 2003-01-07 ソニー株式会社 Disk recording apparatus and method
GB2270791B (en) * 1992-09-21 1996-07-17 Grass Valley Group Disk-based digital video recorder
JPH1042286A (en) * 1996-07-19 1998-02-13 Canon Inc Device and method for processing image and computer readable memory device
JPH11110915A (en) 1997-09-30 1999-04-23 Sony Corp Signal recording and reproducing device and method
WO2001033832A1 (en) * 1999-10-29 2001-05-10 Fujitsu Limited Image reproducing apparatus and image recording/reproducing apparatus
JP4019604B2 (en) 2000-05-09 2007-12-12 日本電気株式会社 Digital broadcast recording and playback method and apparatus

Also Published As

Publication number Publication date
US7057986B2 (en) 2006-06-06
JP2003331521A (en) 2003-11-21
US20030210623A1 (en) 2003-11-13

Similar Documents

Publication Publication Date Title
JP3866611B2 (en) Recording stop processing method and data recording apparatus
JP3631430B2 (en) Recording / playback device with automatic chapter creation function
JP4223800B2 (en) Recording apparatus and recording method
JP3677205B2 (en) Information recording apparatus for multiple recording surfaces and information recording method for multiple recording surfaces
JP2001060367A (en) Information recording medium, information recorde and information recording method
US7099563B1 (en) Multichannel recording device and method
JP2002109831A (en) Recording and reproducing device
JP3637275B2 (en) Information immediate recording apparatus and information immediate recording method
JP3612274B2 (en) Recording / playback device with playlist creation guide function
JP2001195809A (en) Recording and reproducing device
US7233735B2 (en) Digital recording/reproducing apparatus with built-in storage medium
JP3984096B2 (en) Replacement processing method and replacement processing apparatus
JP2000306327A (en) Information recording medium as well as apparatus and method for afterrecording with respect to the information recording medium
JP2003022604A (en) Digital recording and reproducing apparatus
JP4192660B2 (en) Disc recording device
JP3386763B2 (en) Information recording method, information reproducing method and apparatus, and information recording medium
JP3607596B2 (en) Recording / playback device with chapter creation guide function
JP4049177B2 (en) Recording apparatus and recording method
JP3725101B2 (en) Information recording method and information recording apparatus
JP3917610B2 (en) Recording / playback device with chapter creation guide function
JP4071750B2 (en) Recording / playback device with playlist creation guide function
JP3615136B2 (en) Digital video information device with continuous image capture function
JP2004364325A (en) Automatic chapter thumbnail forming method
JP2004357055A (en) Editing device and editing method
JP2007095217A (en) Recording and reproducing apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060320

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061005

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

Free format text: PAYMENT UNTIL: 20101013

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees