JP2011113607A - Device and method for recording information - Google Patents

Device and method for recording information Download PDF

Info

Publication number
JP2011113607A
JP2011113607A JP2009269146A JP2009269146A JP2011113607A JP 2011113607 A JP2011113607 A JP 2011113607A JP 2009269146 A JP2009269146 A JP 2009269146A JP 2009269146 A JP2009269146 A JP 2009269146A JP 2011113607 A JP2011113607 A JP 2011113607A
Authority
JP
Japan
Prior art keywords
recording
data
write
area
new data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009269146A
Other languages
Japanese (ja)
Other versions
JP5531223B2 (en
Inventor
Hajime Aoyama
肇 青山
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 JP2009269146A priority Critical patent/JP5531223B2/en
Publication of JP2011113607A publication Critical patent/JP2011113607A/en
Application granted granted Critical
Publication of JP5531223B2 publication Critical patent/JP5531223B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information recording device and information recording method, for preventing frequent occurrence of pseudo rewrite. <P>SOLUTION: The information recording device includes: a recording means which instructs recording of first new data to a write-once medium, records the first new data to a first recording area and manages the address of a second recording area as a first next recording address; and a rewrite means which instructs rewrite of the first new data, records the rewrite data corresponding to the first new data to the second recording area shown by the first next recording address, records the management data for accessing the second recording area instead of the first recording area in a management area, and manages the address of a third recording area as a second next recording address. The recording means instructs recording of the second new data to the third recording area shown by the second next recording address, and records the second new data to the third recording area. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、追記型メディアに対してデータを記録する情報記録装置及び情報記録方法に関する。   The present invention relates to an information recording apparatus and an information recording method for recording data on a write-once medium.

Pseudo Over Write(擬似書換え)を行うことが可能な追記型(一回書き込み型)メディアが知られている。例えば、記録制御部が、追記型メディアから読み出されたファイルシステムに従い、追記型メディア上のデータ記録済みの第1の領域に対して再度の書込みを指示すると、ディスクドライブ部1002が、上記第1の領域とは異なるデータ未記録の第2の領域にデータを記録する。さらにディスクドライブ部1002は、追記型メディアの管理領域に対して、上記第1の領域のアドレスと上記第2の領域のアドレスとを対応付ける管理情報を記録する。記録制御部が、上記第1の領域からデータを読み込む場合、ディスクドライブ部1002は、管理情報に基づき第1の領域に替えて第2の領域からデータを読み込む。このようにして、追記型メディアを書換え可能なメディアのように扱うことが可能となる。   Write-once (one-time write) media that can perform Pseudo Over Write are known. For example, when the recording control unit instructs rewriting to the first area where data has been recorded on the write-once medium in accordance with the file system read from the write-once medium, the disk drive unit 1002 causes the above-mentioned first Data is recorded in a second area in which no data is recorded, which is different from the first area. Further, the disk drive unit 1002 records management information for associating the address of the first area and the address of the second area with the management area of the write-once medium. When the recording control unit reads data from the first area, the disk drive unit 1002 reads data from the second area instead of the first area based on the management information. In this way, write-once media can be handled like rewritable media.

上記技術の一例として、ライトワンス記録媒体の主データ領域に、通常記録再生領域と、書換え用交替領域と、交替管理領域とを設け、データ記録済みのアドレスにデータ書込要求があった場合は、書換えデータを書換え用交替領域に記録し、データ記録済みのアドレスと書換え用交替領域のアドレスとを対応させる交替管理情報を交替管理領域に記録する技術が提案されている(特許文献1参照)。   As an example of the above technique, when a normal recording / reproducing area, a rewriting replacement area, and a replacement management area are provided in the main data area of the write-once recording medium, and there is a data write request at a data recorded address A technique has been proposed in which rewrite data is recorded in a rewrite replacement area, and replacement management information that associates data-recorded addresses with rewrite replacement area addresses is recorded in the replacement management area (see Patent Document 1). .

特開2004−171714号公報JP 2004-171714 A

しかしながら、上記した擬似書換えの手法では、擬似書換えが頻発してしまうことがあり、より効率的な擬似書換えの手法が望まれている。   However, in the above-described pseudo-rewriting technique, pseudo-rewriting may occur frequently, and a more efficient pseudo-rewriting technique is desired.

擬似書換え頻発の要因として、記録制御部が次の記録可能アドレス(Next Writable Address、以下NWAと略記する)を正確に管理していない点などが挙げられる。上記したように、ディスクドライブ部1002の主導で擬似書換えが発生すると、NWAに対して書換えデータが記録され、これにより、NWAが更新される。ディスクドライブ部1002は、更新NWAを正確に管理しているが、記録制御部は、更新NWAを管理していない。このため、擬似書換え発生後、記録制御部からの新規データの記録指示は、データ記録済み領域への記録指示となってしまうことがあり、ディスクドライブ部1002は新規データの記録指示を擬似書換えで処理することになる。このようにして、擬似書換えが頻発してしまう。   As a cause of frequent pseudo-rewriting, the recording control unit does not accurately manage the next writable address (hereinafter, abbreviated as NWA). As described above, when pseudo-rewriting occurs under the initiative of the disk drive unit 1002, rewriting data is recorded on the NWA, thereby updating the NWA. The disk drive unit 1002 accurately manages the update NWA, but the recording control unit does not manage the update NWA. For this reason, after the pseudo-rewrite occurs, the recording instruction of new data from the recording control unit may become a recording instruction to the data recorded area, and the disk drive unit 1002 can pseudo-rewrite the recording instruction of the new data. Will be processed. In this way, pseudo-rewriting occurs frequently.

本発明の目的は、擬似書換えの頻発を抑制することが可能な情報記録装置及び情報記録方法を提供することにある。   An object of the present invention is to provide an information recording apparatus and an information recording method capable of suppressing frequent occurrences of pseudo-rewriting.

本発明の一実施形態に係る情報記録装置は、追記型メディアに対する第1の新規データの記録を指示し、前記追記型メディアの第1の記録領域に対して前記第1の新規データを記録し、前記追記型メディアの第2の記録領域のアドレスを第1の次記録アドレスとして管理する記録手段と、前記第1の新規データの書換えを指示し、前記第1の次記録アドレスで示された前記第2の記録領域に対して前記第1の新規データに対応した書換えデータを記録し、前記第1の記録領域に対するアクセスを前記第2の記録領域に対するアクセスへ変換するための管理データを前記追記型メディアの管理領域に記録し、前記追記型メディアの第3の記録領域のアドレスを第2の次記録アドレスとして管理する書換え手段と、を備え、前記記録手段は、前記第2の次記録アドレスで示された前記第3の記録領域に対して第2の新規データの記録を指示し、前記第3の記録領域に対して前記第2の新規データを記録する。   An information recording apparatus according to an embodiment of the present invention instructs to record first new data on a write-once medium, and records the first new data in a first recording area of the write-once medium. , Recording means for managing the address of the second recording area of the write-once medium as a first next recording address, instructing rewriting of the first new data, and indicated by the first next recording address Management data for recording rewrite data corresponding to the first new data in the second recording area and converting access to the first recording area into access to the second recording area Rewriting means for recording in a management area of the write-once medium and managing the address of the third recording area of the write-once medium as a second next recording address, and the recording means To the third recording area indicated by the second next recording address to instruct the recording of the second new data, and recording the second new data to the third recording area.

本発明の一実施形態に係る情報記録方法は、追記型メディアに対する第1の新規データの記録を指示し、前記追記型メディアの第1の記録領域に対して前記第1の新規データを記録し、前記追記型メディアの第2の記録領域のアドレスを第1の次記録アドレスとして管理し、前記第1の新規データの書換えを指示し、前記第1の次記録アドレスで示された前記第2の記録領域に対して前記第1の新規データに対応した書換えデータを記録し、前記第1の記録領域に対するアクセスを前記第2の記録領域に対するアクセスへ変換するための管理データを前記追記型メディアの管理領域に記録し、前記追記型メディアの第3の記録領域のアドレスを第2の次記録アドレスとして管理し、前記第2の次記録アドレスで示された前記第3の記録領域に対して第2の新規データの記録を指示し、前記第3の記録領域に対して前記第2の新規データを記録する。   An information recording method according to an embodiment of the present invention instructs recording of first new data on a write-once medium, and records the first new data on a first recording area of the write-once medium. The address of the second recording area of the write-once medium is managed as the first next recording address, the rewriting of the first new data is instructed, and the second indicated by the first next recording address Rewrite data corresponding to the first new data is recorded in the recording area, and management data for converting access to the first recording area into access to the second recording area is recorded on the write-once medium. And the address of the third recording area of the write-once medium is managed as a second next recording address, and the third recording area indicated by the second next recording address is stored in the third recording area. And second instructing recording of new data, and recording the second new data to the third recording area.

本発明によれば、擬似書換えの頻発を抑制することが可能な情報記録装置及び情報記録方法を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the information recording device and the information recording method which can suppress frequent occurrence of pseudo rewriting can be provided.

本発明が適用された記録再生装置(映像録画装置)の全体のブロック構成を示す図である。It is a figure which shows the whole block structure of the recording / reproducing apparatus (video recording device) to which this invention was applied. 擬似書換えの連続発生の一例を示す図である。It is a figure which shows an example of continuous generation | occurrence | production of pseudo rewriting. ファイルシステムがNWAを管理し、擬似書換え後のデータ記録が擬似書換え扱いにならないようにする処理の一例を示す図である。It is a figure which shows an example of the process in which the file system manages NWA, and the data recording after pseudo rewriting is not handled as pseudo rewriting. 新規データ又は書換えデータの記録処理の一例を示すフローチャートである。It is a flowchart which shows an example of the recording process of new data or rewriting data. 新規データ用バッファの一例を示す図である。It is a figure which shows an example of the buffer for new data. 書換えデータ用バッファの一例を示す図である。It is a figure which shows an example of the buffer for rewriting data. 書換えデータ用バッファのデータをECCブロック単位で記録する処理の一例を示す図である。It is a figure which shows an example of the process which records the data of the rewrite data buffer in a ECC block unit. 2つのゾーン(パーティション1、2)に分割管理された追記型メディアのために、一方のゾーン用の新規データ用バッファと書換えデータ用バッファ、他方のゾーン用の新規データ用バッファと書換えデータ用バッファで、新規データと書換えデータを管理するケースの一例を示す図である。For write-once media divided and managed in two zones (partitions 1 and 2), new data buffer and rewrite data buffer for one zone, new data buffer and rewrite data buffer for the other zone FIG. 5 is a diagram illustrating an example of a case of managing new data and rewrite data.

以下、図面を参照し、本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1には、本発明が適用された記録再生装置(映像録画装置)の全体のブロック構成を示している。この実施の形態では、記録媒体としてDVD−Rなどの光ディスクとハードディスクの双方を取り扱うことができる装置(HDD付DVD−VRレコーダ)として示しているが、さらに、記録媒体として半導体メモリ等を適宜併用してもよい。図1において、各ブロックを大きく分けると、左側には記録部の主なブロックを示し、右側には再生部の主なブロックを示している。   FIG. 1 shows an overall block configuration of a recording / reproducing apparatus (video recording apparatus) to which the present invention is applied. In this embodiment, an apparatus (DVD-VR recorder with HDD) that can handle both an optical disk such as a DVD-R and a hard disk is shown as a recording medium. May be. In FIG. 1, each block is roughly divided. The main block of the recording unit is shown on the left side, and the main block of the playback unit is shown on the right side.

図1の映像録画装置は、2種類のディスクドライブ部を有する。まず、ビデオファイルを構築できる情報記録媒体である第1のメディアとしての光ディスク(DVD−RAM、DVD±RW、DVD±Rなど)1001を回転駆動し、情報の読み書きを実行するディスクドライブ部1002を有する。また、第2のメディアとしてのハードディスク(HDD)を駆動するハードディスクドライブ部2001を有する。データプロセッサ部1003は、ディスクドライブ部1002及びハードディスクドライブ部2001に記録データを供給することができ、また、再生された信号を受け取ることができる。ディスクドライブ部1002は、光ディスク1001に対する回転制御系、レーザ駆動系(波長が650nmの赤色レーザ、あるいは405nmもしくはそれ以下の青色レーザを用いる)、光学系などを有する。データプロセッサ部1003は、記録または再生単位のデータを取り扱うもので、バッファ回路、変調・復調回路、エラー訂正部などを含む。   The video recording apparatus in FIG. 1 has two types of disk drive units. First, an optical disc (DVD-RAM, DVD ± RW, DVD ± R, etc.) 1001 as a first medium, which is an information recording medium that can construct a video file, is rotated and a disc drive unit 1002 that reads and writes information is provided. Have. In addition, it includes a hard disk drive unit 2001 that drives a hard disk (HDD) as a second medium. The data processor unit 1003 can supply recording data to the disk drive unit 1002 and the hard disk drive unit 2001, and can receive a reproduced signal. The disk drive unit 1002 includes a rotation control system for the optical disk 1001, a laser drive system (using a red laser with a wavelength of 650 nm, or a blue laser with a wavelength of 405 nm or less), an optical system, and the like. The data processor unit 1003 handles recording or reproduction unit data, and includes a buffer circuit, a modulation / demodulation circuit, an error correction unit, and the like.

また図1の映像録画装置は、録画側を構成するエンコーダ部50と、再生側を構成するデコーダ部60と、装置本体の動作を制御するマイクロコンピュータブロック(システム制御部と称してもよい)30とを主たる構成要素としている。エンコーダ部50は複数のエンコーダーによって構成され、各エンコーダーは入力されたアナログビデオ信号やアナログオーディオ信号をデジタル化するビデオ用及びオーディオ用のアナログデジタルコンバータと、ビデオエンコーダと、オーディオエンコーダとを有する。さらに、副映像エンコーダも含む。エンコーダ部50の出力は、バッファメモリを含むフォーマッタ51にて所定のDVD−RAMのフォーマットに変換され、先のデータプロセッサ部1003に供給される。エンコーダ部50には、AV入力部41からの外部アナログビデオ信号と外部アナログオーディオ信号、あるいはTVチューナ部42からのアナログビデオ信号とアナログオーディオ信号が入力される。   Further, the video recording apparatus of FIG. 1 includes an encoder section 50 constituting the recording side, a decoder section 60 constituting the playback side, and a microcomputer block (also referred to as a system control section) 30 for controlling the operation of the apparatus main body. Is the main component. The encoder unit 50 includes a plurality of encoders, and each encoder includes a video and audio analog-to-digital converter that digitizes an input analog video signal or analog audio signal, a video encoder, and an audio encoder. Furthermore, a sub-picture encoder is also included. The output of the encoder unit 50 is converted into a predetermined DVD-RAM format by a formatter 51 including a buffer memory, and is supplied to the data processor unit 1003. The encoder unit 50 receives an external analog video signal and an external analog audio signal from the AV input unit 41 or an analog video signal and an analog audio signal from the TV tuner unit 42.

なお、エンコーダ部50は、直接圧縮されたデジタルビデオ信号やデジタルオーディオ信号が直接入力されるときは、圧縮デジタルビデオ信号やデジタルオーディオ信号を直接フォーマッタ51に供給することもできる。またエンコーダ部50は、アナログデジタル変換されたデジタルビデオ信号やオーディオ信号を、ビデオミキシング部71やオーディオセレクタ76に直接供給することもできる。エンコーダ部50に含まれるビデオエンコーダでは、デジタルビデオ信号はMPEG2(またはMPEG1もしくはMPEG4−AVC)規格に基づいた可変ビットレートで圧縮されたデジタルビデオ信号に変換される。デジタルオーディオ信号は、MPEGまたはAC−3規格に基づいて固定ビットレートで圧縮されたデジタルオーディオ信号、あるいはリニアPCMのデジタルオーディオ信号に変換される。   The encoder unit 50 can also supply the compressed digital video signal or digital audio signal directly to the formatter 51 when a directly compressed digital video signal or digital audio signal is directly input. The encoder unit 50 can also directly supply the digital video signal and audio signal that have been converted from analog to digital to the video mixing unit 71 and the audio selector 76. In the video encoder included in the encoder unit 50, the digital video signal is converted into a digital video signal compressed at a variable bit rate based on the MPEG2 (or MPEG1 or MPEG4-AVC) standard. The digital audio signal is converted into a digital audio signal compressed at a fixed bit rate based on the MPEG or AC-3 standard or a linear PCM digital audio signal.

副映像信号がAV入力部41から入力された場合(例えば副映像信号の独立出力端子付DVDビデオプレーヤからの信号など)、あるいはこのようなデータ構成のDVDビデオ信号が放送されてそれがTVチューナ部42で受信された場合は、DVDビデオ信号中の副映像信号が副映像エンコーダでエンコード(ランレングス符号化)されて副映像のビットマップとなる。エンコードされたデジタルビデオ信号、デジタルオーディオ信号、副映像データは、フォーマッタ51にてパック化され、ビデオパック、オーディオパック、副映像パックとなり、さらにこれらが集合されて、DVD-ビデオ規格で規定されたフォーマット(DVDビデオフォーマット)や、DVD-レコーディング規格で規定されたフォーマット(DVD−VRフォーマット)に変換される。   When a sub-video signal is input from the AV input unit 41 (for example, a signal from a DVD video player with an independent output terminal of the sub-video signal) or a DVD video signal having such a data structure is broadcast and is transmitted to a TV tuner. When received by the unit 42, the sub-picture signal in the DVD video signal is encoded (run-length encoded) by the sub-picture encoder to become a sub-picture bitmap. The encoded digital video signal, digital audio signal, and sub-picture data are packed by the formatter 51 to become a video pack, an audio pack, and a sub-picture pack, and these are assembled and defined by the DVD-video standard. It is converted into a format (DVD video format) or a format defined in the DVD-recording standard (DVD-VR format).

ここで図1の装置は、フォーマッタ51でフォーマット化された情報(ビデオ、オーディオ、副映像データなどのパック)及び作成された管理情報を、データプロセッサ部1003を介してハードディスクドライブ部2001あるいはデータディスクドライブ部1002に供給し、ハードディスクあるいは光ディスク1001に記録することができる。またハードディスクあるいは光ディスク1001に記録された情報を、データプロセッサ部1003、ディスクドライブ部1002を介して光ディスク1001あるいはハードディスクに記録することもできる。   Here, the apparatus of FIG. 1 uses the data processor unit 1003 to send information (packets of video, audio, sub-picture data, etc.) formatted by the formatter 51 and the created management information to the hard disk drive unit 2001 or the data disk. It can be supplied to the drive unit 1002 and recorded on the hard disk or the optical disc 1001. Information recorded on the hard disk or the optical disk 1001 can also be recorded on the optical disk 1001 or the hard disk via the data processor unit 1003 and the disk drive unit 1002.

またハードディスクあるいは光ディスク1001に記録されている複数番組のビデオオブジェクトを、一部削除したり、異なる番組のオブジェクトをつなげたり、といった編集処理を行うこともできる。これは、この発明の一実施の形態で利用するDVD−VRフォーマットが、取り扱うデータ単位を定義し、編集を容易にしているからである。   It is also possible to perform an editing process such as deleting a part of video objects of a plurality of programs recorded on the hard disk or the optical disc 1001 or connecting objects of different programs. This is because the DVD-VR format used in one embodiment of the present invention defines a data unit to be handled and facilitates editing.

マイクロコンピュータブロック30は、MPU(マイクロプロセッシングユニット)、またはCPU(セントラルプロセッシングユニット)と、制御プログラム等(各フローチャート図で説明される制御を行うファームウエア等)が書きこまれたファームウエアROMと、プログラム実行に必要なワークエリアを提供するためのワークRAMなどを含んでいる。マイクロコンピュータブロック30のMPUは、そのROMに格納された制御プログラムに従い、RAMをワークエリアとして用いて、欠陥場所検出、未記録領域検出、録画情報記録位置設定、UDF記録、AVアドレス設定、履歴情報検索処理などを実行する。   The microcomputer block 30 includes an MPU (microprocessing unit) or CPU (central processing unit), a firmware ROM in which a control program and the like (firmware for performing control described in each flowchart) are written, It includes a work RAM for providing a work area necessary for program execution. The MPU of the microcomputer block 30 uses a RAM as a work area according to a control program stored in the ROM, detects a defect location, detects an unrecorded area, sets recording information recording position, UDF recording, AV address setting, history information Perform search processing and so on.

すなわち、マイクロコンピュータブロック30は、システム全体を統括制御するために必要な情報処理部を有するもので、ファームウエアROM、ワークRAM、ディレクトリ検出部のほか、図示しないがVMG(全体のビデオ管理情報)情報作成部、コピー関連情報検知部、コピー及びスクランブリング情報処理部(RDI処理部)、パケットヘッダ処理部、シーケンスヘッダ処理部、アスペクト比情報処理部などを備える。   That is, the microcomputer block 30 has an information processing unit necessary for overall control of the entire system. In addition to the firmware ROM, work RAM, and directory detection unit, although not shown, VMG (entire video management information) is shown. An information creation unit, a copy related information detection unit, a copy and scrambling information processing unit (RDI processing unit), a packet header processing unit, a sequence header processing unit, an aspect ratio information processing unit, and the like are provided.

ここで、この装置においては、情報記録媒体のデータ記録領域に対して、アドレスとデータのサイズの情報とを用いてアクセス単位を表すエクステントが定義されており、前記エクステントの複数を含み、ファイルを管理するファイルエントリーを利用することでデータの記録再生を行っている。このためにさらに、マイクロコンピュータブロック30は、ファイルエントリー管理部301を含み、ここには、エクステント管理部302が含まれる。そしてエクステント管理部302は、削除対象エクステント処理部310、記録済みエクステント管理部311、記録可能エクステント管理部312がある。   Here, in this apparatus, an extent representing an access unit is defined for the data recording area of the information recording medium using an address and data size information, and includes a plurality of extents, and includes a file. Data is recorded and played back using file entries to be managed. For this purpose, the microcomputer block 30 further includes a file entry management unit 301, which includes an extent management unit 302. The extent management unit 302 includes a deletion target extent processing unit 310, a recorded extent management unit 311, and a recordable extent management unit 312.

上記のMPUの実行結果のうち、ユーザに通知すべき内容は、映像録画装置の表示部43に表示されるか、またはモニターディスプレイ75にOSD(オンスクリーンディスプレイ)表示される。またマイクロコンピュータブロック30は、この装置を操作するための操作信号を与えるキー入力部44を有する。このキー入力部44は、例えば映像録画装置の本体上に設けた操作スイッチ類や、あるいはリモコン装置などに相当する。また、入力部44は、この発明の一実施の形態に係る映像録画装置と有線通信あるいは無線通信あるいは光通信や赤外線通信などの手段を用いて接続されたパーソナルコンピューターであってもよい。いずれの形態であるにせよ、ユーザがこのキー入力部44を操作することにより、入力された映像音声信号の録画処理や、録画されたコンテンツの再生処理、あるいは録画されたコンテンツに対する編集処理などを施すことができる。   Among the execution results of the above MPU, the contents to be notified to the user are displayed on the display unit 43 of the video recording apparatus or displayed on the monitor display 75 as OSD (on-screen display). The microcomputer block 30 also has a key input unit 44 for giving an operation signal for operating this apparatus. The key input unit 44 corresponds to, for example, operation switches provided on the main body of the video recording apparatus or a remote controller. Further, the input unit 44 may be a personal computer connected to the video recording apparatus according to the embodiment of the present invention using means such as wired communication, wireless communication, optical communication, or infrared communication. Regardless of the form, when the user operates the key input unit 44, recording processing of the input video / audio signal, playback processing of the recorded content, editing processing on the recorded content, and the like are performed. Can be applied.

なお、マイクロコンピュータブロック30が、ディスクドライブ部1002、ハードディスクドライブ部2001、データプロセッサ部1003、エンコーダ部50および/またはデコーダ部60などを制御するタイミングは、STC(システムタイムクロック)38からの時間データに基づいて実行することができる。録画や再生の動作は、通常はSTC38からのタイムクロックに同期して実行されるが、それ以外の処理はSTC38とは独立したタイミングで実行されてもよい。   The timing at which the microcomputer block 30 controls the disk drive unit 1002, the hard disk drive unit 2001, the data processor unit 1003, the encoder unit 50, and / or the decoder unit 60 is time data from an STC (system time clock) 38. Can be performed based on. Recording and playback operations are normally executed in synchronization with the time clock from the STC 38, but other processes may be executed at a timing independent of the STC 38.

デコーダ部60は、パック構造を持つDVDフォーマットの信号から各パックを分離して取り出すセパレータと、パック分離やその他の信号処理実行時に使用するメモリと、セパレータで分離された主映像データ(ビデオパックの内容)をデコードするVデコーダと、セパレータで分離された副映像データ(副映像パックの内容)をデコードするSPデコーダと、セパレータで分離されたオーディオデータ(オーディオパックの内容)をデコードするAデコーダとを有する。またデコードされた主映像にデコードされた副映像を適宜合成し、主映像にメニュー、ハイライトボタン、字幕やその他の副映像を重ねて出力するビデオプロセッサを備えている。   The decoder unit 60 separates and extracts each pack from a DVD format signal having a pack structure, a memory used when pack separation or other signal processing is performed, and main video data (video packs) separated by the separator. V decoder that decodes the content), an SP decoder that decodes the sub-video data (sub-picture pack content) separated by the separator, and an A decoder that decodes the audio data (audio pack content) separated by the separator Have A video processor is also provided that appropriately synthesizes the decoded sub-video with the decoded main video and outputs the main video with a menu, a highlight button, subtitles, and other sub-videos.

デコーダ部60の出力ビデオ信号は、ビデオミキシング部71に入力される。ビデオミキシング部71では、テキストデータの合成が行われる。またビデオミキシング部71には、TVチューナ42やA/V入力部41からの信号を直接取り込むラインもまた接続されている。ビデオミキシング部71には、バッファとして用いるフレームメモリ72が接続されている。ビデオミキシング部71の出力がアナログ出力の場合はI/F(インタフェース)73を介して外部出力され、デジタル出力の場合はデジタルアナログ変換器74を介して外部へ出力される。   The output video signal of the decoder unit 60 is input to the video mixing unit 71. In the video mixing unit 71, text data is synthesized. The video mixing unit 71 is also connected to a line that directly takes in signals from the TV tuner 42 and the A / V input unit 41. A frame memory 72 used as a buffer is connected to the video mixing unit 71. When the output of the video mixing unit 71 is an analog output, it is output to the outside via an I / F (interface) 73, and when it is a digital output, it is output to the outside via a digital / analog converter 74.

デコーダ部60の出力オーディオ信号は、セレクタ76を介してデジタルアナログ変換器77でアナログ変換され外部に出力される。セレクタ76は、マイクロコンピュータブロック30からのセレクト信号により制御される。これによりセレクタ76は、TVチューナ42やA/V入力部41からのデジタル信号を直接モニターする時、エンコーダ部50をスルーした信号を直接選択することも可能である。   The output audio signal of the decoder unit 60 is analog-converted by the digital-analog converter 77 via the selector 76 and output to the outside. The selector 76 is controlled by a select signal from the microcomputer block 30. Thus, the selector 76 can directly select a signal that has passed through the encoder unit 50 when directly monitoring a digital signal from the TV tuner 42 or the A / V input unit 41.

なお、エンコーダ部50のフォーマッタ51 では、録画中、各切り分け情報を作成し、定期的にマイクロコンピュータブロック30のMPUへ送る(GOP先頭割り込み時などの情報)。切り分け情報としては、VOBUのパック数、VOBU先頭からのIピクチャのエンドアドレス、VOBUの再生時間などである。同時に、アスペクト情報処理部からの情報を録画開始時にMPUへ送り、MPUはVOBストリーム情報(STI)を作成する。ここでSTIは、解像度データ、アスペクトデータなどを保存し、再生時、各デコーダ部ではこの情報を元に初期設定が行われる。   It should be noted that the formatter 51 of the encoder unit 50 creates segmentation information during recording and periodically sends it to the MPU of the microcomputer block 30 (information at the time of GOP head interrupt, etc.). The segmentation information includes the number of VOBU packs, the end address of the I picture from the beginning of the VOBU, and the playback time of the VOBU. At the same time, information from the aspect information processing unit is sent to the MPU at the start of recording, and the MPU creates VOB stream information (STI). Here, the STI stores resolution data, aspect data, and the like, and at the time of reproduction, each decoder unit is initialized based on this information.

また図1の装置では、ビデオファイルは1ディスクに1ファイルとしている。またデータをアクセス(シーク)している間に、途切れないで再生を続けるために、最低限連続する情報単位(サイズ)を決めている。この単位をエクステント(又はCDA)という。エクステントのサイズは、例えばECC(error correction code)ブロック(32セクタ)の倍数であり、ファイルシステムではこのエクステントの単位で記録を行っている。   In the apparatus shown in FIG. 1, one video file is stored on one disc. In order to continue playback without interruption while accessing (seeking) data, a minimum continuous information unit (size) is determined. This unit is called an extent (or CDA). The extent size is, for example, a multiple of an ECC (error correction code) block (32 sectors), and the file system performs recording in units of this extent.

データプロセッサ部1003は、エンコーダ部50のフォーマッタからVOBU単位のデータを受け取り、エクステント単位のデータをディスクドライブ部1002あるいはハードディスクドライブ部2001に供給している。またマイクロコンピュータブロック30のMPUは、記録したデータを再生するのに必要な管理情報を作成し、データ記録終了のコマンドを認識すると、作成した管理情報をデータプロセッサ部1003に送る。これにより、管理情報がディスクに記録される。従って、エンコードが行われているとき、エンコーダ部50からマイクロコンピュータブロック30のMPUは、データ単位の情報(切り分け情報など)を受け取る。また、マイクロコンピュータブロック30のMPUは、記録開始時には光ディスク及びハードディスクから読み取った管理情報(ファイルシステム)を認識し、各ディスクの未記録エリアを認識し、そして、データプロセッサ部1003を介してディスク上にデータ記録エリアを設定している。   The data processor unit 1003 receives data in VOBU units from the formatter of the encoder unit 50 and supplies data in extent units to the disk drive unit 1002 or the hard disk drive unit 2001. Further, the MPU of the microcomputer block 30 creates management information necessary for reproducing the recorded data. When the MPU recognizes a data recording end command, it sends the created management information to the data processor unit 1003. Thereby, the management information is recorded on the disc. Therefore, when encoding is performed, the MPU of the microcomputer block 30 receives data unit information (eg, segmentation information) from the encoder unit 50. Further, the MPU of the microcomputer block 30 recognizes management information (file system) read from the optical disk and the hard disk at the start of recording, recognizes an unrecorded area of each disk, and on the disk via the data processor unit 1003. The data recording area is set in.

以下、本発明におけるソフトウエア(マイクロコンピュータブロック30等)の処理について述べる。   Hereinafter, processing of software (microcomputer block 30 and the like) in the present invention will be described.

マイクロコンピュータブロック30(記録手段、書換え手段)は、処理対象の擬似書換え可能な追記型メディアから読み出されたファイルシステムを参照し、追記型メディアに対してデータの記録等を指示する。例えば、マイクロコンピュータブロック30からの書換え指示に対応して、ディスクドライブ部1002(記録手段、書換え手段)は以下のように擬似書換え処理を実行する。   The microcomputer block 30 (recording means, rewriting means) refers to the file system read from the pseudo-rewritable recordable medium to be processed, and instructs the recordable medium to record data. For example, in response to a rewrite instruction from the microcomputer block 30, the disk drive unit 1002 (recording means, rewriting means) executes a pseudo rewrite process as follows.

マイクロコンピュータブロック30が、追記型メディアのデータ記録済みの第1の領域に対して再度の書き込み(書換えデータの書き込み)を指示すると、ディスクドライブ部1002は、上記第1の領域とは異なるデータ未記録の第2の領域にデータを記録する。さらにディスクドライブ部1002は、上記追記型メディアの管理領域に対して、上記第1の領域のアドレスと上記第2の領域のアドレスとを対応付けた管理情報を記録する。マイクロコンピュータブロック30が、上記第1の領域からデータを読み込もうとすると、これに対応して、ディスクドライブ部1002は、管理情報に基づき上記第1の領域に替えて上記第2の領域からデータを読み込む。これにより、追記型メディアを書換え可能なメディアのように扱うことが可能となる。   When the microcomputer block 30 instructs rewriting (writing rewrite data) to the first recorded data area of the write-once medium, the disk drive unit 1002 stores data that is different from the first area. Data is recorded in the second area of the recording. Further, the disk drive unit 1002 records management information in which the address of the first area and the address of the second area are associated with the management area of the write-once medium. When the microcomputer block 30 tries to read data from the first area, the disk drive unit 1002 responds to the data from the second area instead of the first area based on management information. Read. Thereby, the write-once medium can be handled like a rewritable medium.

ディスクドライブ部1002は、上記した擬似書換え処理において、書換えデータを記録するための第2の領域を、追記型メディアに残っている空き領域の中から自動的に選択する。例えば、ディスクドライブ部1002は、常時、NWA1を管理しており、NWA1により示される領域(このケースでは第2の領域)に、書換えデータを記録し、NWA1をNWA2に更新する。さらに、新規データ又は書換えデータを記録する場合、ディスクドライブ部1002は、NWA2により示される領域に、新規データ又は書換えデータを記録する。   In the pseudo-rewriting process described above, the disk drive unit 1002 automatically selects a second area for recording rewrite data from the free areas remaining on the write-once medium. For example, the disk drive unit 1002 always manages the NWA1, records the rewrite data in the area indicated by the NWA1 (in this case, the second area), and updates the NWA1 to the NWA2. Furthermore, when recording new data or rewrite data, the disk drive unit 1002 records the new data or rewrite data in the area indicated by NWA2.

マイクロコンピュータブロック30(ソフトウエア)が、NWAを正確に管理していないとすると、マイクロコンピュータブロック30(ソフトウエア)が管理している追記型メディアの空き領域と、実際の追記型メディアの空き領域とが異なる状態になってしまう。   If the microcomputer block 30 (software) does not accurately manage the NWA, the free space of the write-once media managed by the microcomputer block 30 (software) and the free space of the actual write-once media Will be in a different state.

例えば、図2に示すように、追記型メディアの先頭から順にデータが記録される場合に、途中で1度書換え(擬似書換え)が発生すると、ディスクドライブ部1002は、空き領域の一部(NWAが示す領域)に書換えデータを記録する。この時点で、マイクロコンピュータブロック30(ソフトウエア)が管理している追記型メディアの空き領域と、実際の追記型メディアの空き領域とが異なる状態になる。つまり、マイクロコンピュータブロック30は、上記の書換えデータが記録されたデータ記録済み領域を空き領域として管理してしまっている。このため、擬似書換え発生後、マイクロコンピュータブロック30からの新規データの記録指示は、データ記録済み領域への記録指示となってしまい、ディスクドライブ部1002は新規データの記録指示を擬似書換えで処理することになる。つまり、擬似書換え発生後の新規データの記録が、全て擬似書換え処理になってしまう可能性もある。このようにして、擬似書換えが頻発してしまう。   For example, as shown in FIG. 2, when data is recorded in order from the top of a write-once medium, if a rewrite (pseudo-rewrite) occurs once in the middle, the disk drive unit 1002 causes a part of an empty area (NWA Rewrite data is recorded in the area indicated by. At this point, the free space of the write-once medium managed by the microcomputer block 30 (software) is different from the free space of the actual write-once medium. That is, the microcomputer block 30 manages the data recorded area in which the rewrite data is recorded as a free area. For this reason, after the occurrence of pseudo-rewriting, a new data recording instruction from the microcomputer block 30 becomes a recording instruction to the data recorded area, and the disk drive unit 1002 processes the new data recording instruction by pseudo-rewriting. It will be. That is, there is a possibility that the recording of new data after the occurrence of the pseudo-rewrite becomes a pseudo-rewrite process. In this way, pseudo-rewriting occurs frequently.

そこで、本実施形態の記録再生装置のマイクロコンピュータブロック30は、追記型メディアに対して新規データを書き込む際に、空き領域を再確認し、マイクロコンピュータブロック30が管理している空き領域と実際の空き領域との整合性を取り、実際の空き領域に対して新規データの書き込みを指示する。これにより、擬似書換えの発生を抑制することができる。   Therefore, the microcomputer block 30 of the recording / reproducing apparatus of this embodiment reconfirms the free space when writing new data to the write-once medium, and the free space managed by the microcomputer block 30 and the actual space are checked. Consistency with the free area is instructed, and an instruction to write new data to the actual free area is given. Thereby, generation | occurrence | production of pseudo-rewriting can be suppressed.

そのために、本実施形態の記録再生装置のマイクロコンピュータブロック30は、NWAを正確に管理する。これにより、図3に示すように、擬似書換えの頻発を抑制することができる。   For this purpose, the microcomputer block 30 of the recording / reproducing apparatus of the present embodiment accurately manages the NWA. Thereby, as shown in FIG. 3, the frequent occurrence of pseudo-rewriting can be suppressed.

図3に示すように、マイクロコンピュータブロック30は、処理対象の擬似書換え可能な追記型メディアから読み出されたファイルシステムを参照し、追記型メディアの先頭から順にデータを記録する。例えば、マイクロコンピュータブロック30は、第1のデータの記録を指示し、これに対応してディスクドライブ部1002は、追記型メディアの第1の領域に対して第1のデータを記録する。さらに、マイクロコンピュータブロック30及びディスクドライブ部1002は、追記型メディアの第2の領域のアドレスをNWA1として管理する。第2の領域は、例えば第1の領域の次の領域である。   As shown in FIG. 3, the microcomputer block 30 refers to the file system read from the pseudo-rewritable write-once medium to be processed, and records data in order from the top of the write-once medium. For example, the microcomputer block 30 instructs the recording of the first data, and in response to this, the disk drive unit 1002 records the first data in the first area of the write-once medium. Further, the microcomputer block 30 and the disk drive unit 1002 manage the address of the second area of the write-once medium as NWA1. The second area is, for example, the area next to the first area.

続いて、マイクロコンピュータブロック30が、第1のデータの書換えを指示すると、これに対応してディスクドライブ部1002は、NWA1で示された第2の領域に対して第1のデータに対応した第1の書換えデータを記録し、第1の領域に対するアクセスを第2の領域に対するアクセスへ変換するための管理データを追記型メディアの管理領域に記録する。さらに、マイクロコンピュータブロック30及びディスクドライブ部1002は、追記型メディアの第3の領域のアドレスをNWA2として管理する。第3の領域は、例えば第2の領域の次の領域である。   Subsequently, when the microcomputer block 30 instructs to rewrite the first data, the disk drive unit 1002 correspondingly corresponds to the first data corresponding to the first data for the second area indicated by NWA1. One rewrite data is recorded, and management data for converting access to the first area into access to the second area is recorded in the management area of the write-once medium. Further, the microcomputer block 30 and the disk drive unit 1002 manage the address of the third area of the write-once medium as NWA2. The third region is, for example, a region next to the second region.

続いて、マイクロコンピュータブロック30が、追記型メディアに対する第2のデータの記録を指示する場合、マイクロコンピュータブロック30は、正確なNWA(NWA2)を管理しているため、マイクロコンピュータブロック30は、NWA2に対する第2のデータの記録を指示する。これに対応して、ディスクドライブ部1002は、NWA2で示された第3の領域に対して第2のデータを記録する。さらに、マイクロコンピュータブロック30及びディスクドライブ部1002は、追記型メディアの第4の領域のアドレスをNWA3として管理する。第4の領域は、例えば第3の領域の次の領域である。   Subsequently, when the microcomputer block 30 instructs the recording of the second data on the write-once medium, the microcomputer block 30 manages the correct NWA (NWA2), so the microcomputer block 30 The recording of the second data is instructed. In response to this, the disk drive unit 1002 records the second data in the third area indicated by NWA2. Further, the microcomputer block 30 and the disk drive unit 1002 manage the address of the fourth area of the write-once medium as NWA3. The fourth region is, for example, a region next to the third region.

このようにして、ディスクドライブ部1002だけでなく、マイクロコンピュータブロック30も、NWAを正確に管理することにより、マイクロコンピュータブロック30(ソフトウエア)が管理している追記型メディアの空き領域と、実際の追記型メディアの空き領域とを一致させることができ、図2に示す擬似書換えの頻発を抑制することができる。   In this way, not only the disk drive unit 1002 but also the microcomputer block 30 accurately manages the NWA, so that the free space of the write-once medium managed by the microcomputer block 30 (software) is actually 2 can be made to coincide with the free space of the write-once medium, and the frequent occurrence of pseudo-rewriting shown in FIG. 2 can be suppressed.

さらに、本実施形態の記録再生装置のマイクロコンピュータブロック30は、バッファメモリ52を利用し効率良く追記型メディアに対して新規データ及び書換えデータを書き込む。これにより、追記型メディアに対する書き込み回数を抑え、追記型メディアの無駄な容量消費を抑制することができる。   Furthermore, the microcomputer block 30 of the recording / reproducing apparatus of this embodiment uses the buffer memory 52 to efficiently write new data and rewrite data to the write-once medium. As a result, the number of times of writing to the write-once medium can be suppressed, and useless consumption of the write-once medium can be suppressed.

図4に示すフローチャートを参照して、新規データ又は書換えデータの記録処理を説明する。   With reference to the flowchart shown in FIG. 4, the recording process of new data or rewrite data will be described.

記録再生装置のマイクロコンピュータブロック30は、擬似書換え可能な追記型メディアに対してデータを記録する場合、追記型メディアの情報を利用し、始めに記録データの種類を判定する(ST101)。   When recording data on a pseudo-rewritable write-once medium, the microcomputer block 30 of the recording / reproducing apparatus first uses the information on the write-once medium to determine the type of recorded data (ST101).

マイクロコンピュータブロック30が、記録データを新規記録データと判定した場合(ST101、YES)、管理されているNWAに基づき記録データの記録位置(追記型メディア上の記録位置)を取得し、また管理されているNWS(Next Writable sector)に基づき記録データの記録位置(新規データ用バッファ上の記録位置)を取得し(ST102)、記録データを新規データ用バッファへ記録する(ST103)。また、マイクロコンピュータブロック30が、記録データを書換え記録データと判定した場合(ST101、NO)、管理されているNWAに基づき記録データの記録位置を取得し、記録データを書換えデータ用バッファへ書き込む(ST109)。なお、バッファメモリ52が、新規データ用バッファ(第1のメモリ領域)と書換えデータ用バッファ(第2のメモリ領域)とを含む。   When the microcomputer block 30 determines that the recording data is new recording data (ST101, YES), the recording position of the recording data (recording position on the write-once medium) is acquired and managed based on the managed NWA. The recording position (recording position on the new data buffer) of the recording data is acquired based on the NWS (Next Writable sector) (ST102), and the recording data is recorded in the new data buffer (ST103). If the microcomputer block 30 determines that the recording data is rewritten recording data (ST101, NO), the recording position of the recording data is acquired based on the managed NWA, and the recording data is written to the rewriting data buffer ( ST109). The buffer memory 52 includes a new data buffer (first memory area) and a rewritten data buffer (second memory area).

最初に、新規記録データの記録について説明する。例えば、図5に示すように、新規データ用バッファのサイズは、追記型メディアへの書込み単位(1ECCブロック=32sectors)と同サイズである。追記型メディアでは、記録可能な箇所は記録済み領域の次のECCブロックからと制限されている。このため、マイクロコンピュータブロック30は、追記型メディア内のNWAから1ECCブロック分の記録内容を新規データ用バッファに記録する。なお、新規データ用バッファに対する記録データの記録単位は1sectorである。   First, recording of new recording data will be described. For example, as shown in FIG. 5, the size of the new data buffer is the same size as the write unit (1 ECC block = 32 sectors) on the write-once medium. In the write-once medium, the recordable part is limited to the ECC block next to the recorded area. For this reason, the microcomputer block 30 records the recording contents of one ECC block from the NWA in the write-once medium in the new data buffer. The recording unit of recording data for the new data buffer is 1 sector.

新規データ用バッファの記録内容が追記型メディアに記録される条件は以下の通りである。   The conditions under which the recording content of the new data buffer is recorded on the write-once medium are as follows.

(1)新規データ用バッファが記録データで埋まった場合
新規データ用バッファが記録データで埋まった場合は(ST104、NO)、つまり、新規データ用バッファに1ECCブロック分の記録データが記録された場合は、その時点で、新規データ用バッファの記録データがメディアの1ECCブロックに記録される(ST105)。以後、新規データ用バッファは、次のECCブロックに記録するためのバッファとして利用される。
(1) When the new data buffer is filled with recording data When the new data buffer is filled with recording data (ST104, NO), that is, when recording data for one ECC block is recorded in the new data buffer At that time, the recording data of the new data buffer is recorded in one ECC block of the medium (ST105). Thereafter, the new data buffer is used as a buffer for recording in the next ECC block.

(2)メディアが取り出される場合
また、メディアの取り出しなどにより、メディアに対する処理がクローズされる際に新規データ用バッファの記録データがメディアに記録される。このとき、新規データ用バッファに蓄積された記録データのサイズに関係なく、新規データ用バッファに蓄積された記録データは1ECCブロックサイズのデータに加工され、加工された1ECCブロックサイズデータがメディアの1ECCブロックに記録される。
(2) When a medium is taken out When the processing for the medium is closed by taking out the medium or the like, the recording data in the new data buffer is recorded on the medium. At this time, regardless of the size of the recording data stored in the new data buffer, the recording data stored in the new data buffer is processed into data of 1 ECC block size, and the processed 1 ECC block size data is converted to 1 ECC of the medium. Recorded in the block.

(3)メディアに対する擬似書換え処理が必要な場合
また、メディアに対して擬似書換え処理が必要な場合は、擬似書換え処理の前に、新規データ用バッファの記録データがメディアに記録される。つまり、NWAが変更される前に、新規データ用バッファの記録データがメディアに記録される。このとき、新規データ用バッファに蓄積された記録データのサイズに関係なく、新規データ用バッファに蓄積された記録データは1ECCブロックサイズのデータに加工され、加工された1ECCブロックサイズデータがメディアの1ECCブロックに記録される。このため、擬似書換えが頻発すると、追記型メディアの使用効率が下がる。そのため、本実施形態の記録再生装置のマイクロコンピュータブロック30が、正確にNWAを管理したり、また新規データ用バッファと書換えデータ用バッファとを使い分けることにより、擬似書換えの頻発を抑制する。
(3) When pseudo rewrite processing is required for media When pseudo rewrite processing is required for media, the recording data in the new data buffer is recorded on the media before the pseudo rewrite processing. That is, the recording data of the new data buffer is recorded on the medium before the NWA is changed. At this time, regardless of the size of the recording data stored in the new data buffer, the recording data stored in the new data buffer is processed into data of 1 ECC block size, and the processed 1 ECC block size data is converted to 1 ECC of the medium. Recorded in the block. For this reason, if pseudo-rewriting occurs frequently, the use efficiency of the write-once medium decreases. For this reason, the microcomputer block 30 of the recording / reproducing apparatus of this embodiment accurately manages NWA, and uses a new data buffer and a rewritten data buffer separately to suppress frequent occurrence of pseudo-rewriting.

次に、書換え記録データの記録について説明する。図6に示すように、書換えデータ用バッファには、1セクタ単位で書換え記録データが記録される。また、書換えデータ用バッファの記録内容が追記型メディアに記録される条件は以下の通りである。なお、上記したように、書換えデータ用バッファに記録された記録データを追記型メディアへ記録する前に、新規データ用バッファに記録データが記録されている場合には、新規データ用バッファに記録された記録データを先に追記型メディアへ記録する。   Next, recording of rewrite recording data will be described. As shown in FIG. 6, rewrite recording data is recorded in the rewrite data buffer in units of one sector. The conditions under which the recording contents of the rewritable data buffer are recorded on the write-once medium are as follows. As described above, before recording the recording data recorded in the rewritable data buffer on the write-once medium, if the recording data is recorded in the new data buffer, it is recorded in the new data buffer. The recorded data is recorded on a write-once medium first.

(1)書換えデータ用バッファが記録データで埋まった場合
書換えデータ用バッファが記録データで埋まり、書換えデータ用バッファに対してさらに記録データを記録することができない場合であって(ST106、NO)、新規データ用バッファに記録データが記録されている場合には、新規データ用バッファに記録された記録データを先に追記型メディアへ記録する(ST107)。その後、書換えデータ用バッファに蓄積された最も古い記録データを追記型メディアに記録する(ST108)。その際、最も古い記録データと同じECCブロック内の記録データも同時に追記型メディアに記録する(図7参照)。つまり、これら記録データからECCブロックデータを生成し、ECCブロックデータが追記型メディアへ記録される。書換えデータ用バッファに蓄積された記録データのうち、追記型メディアに記録された記録済みの記録データについては上書き可能となり、さらに書換えデータ用バッファに蓄積すべき書換え記録データがあれば、この蓄積すべき書換え記録データが追記型メディアへ記録済みの記録データ上に上書きされる(ST109)。
(1) When the rewrite data buffer is filled with recording data The rewriting data buffer is filled with recording data, and no further recording data can be recorded in the rewriting data buffer (NO in ST106). If the recording data is recorded in the new data buffer, the recording data recorded in the new data buffer is first recorded on the write-once medium (ST107). Thereafter, the oldest recording data stored in the rewrite data buffer is recorded on the write-once medium (ST108). At that time, the recording data in the same ECC block as the oldest recording data is simultaneously recorded on the write-once medium (see FIG. 7). That is, ECC block data is generated from these recording data, and the ECC block data is recorded on the write-once medium. Of the recorded data stored in the rewritable data buffer, the recorded data recorded on the write-once medium can be overwritten, and if there is rewritable recorded data to be stored in the rewritable data buffer, this stored data is stored. The rewritable recording data is overwritten on the recording data already recorded on the write-once medium (ST109).

(2)メディアが取り出される場合
新規データ用バッファと同様に、メディアの取り出しなどにより、メディアに対する処理がクローズされる場合であって、新規データ用バッファに記録データが記録されている場合には、新規データ用バッファに記録された記録データを先に追記型メディアへ記録する。その後、書換えデータ用バッファに蓄積された記録データを追記型メディアに記録する。
(2) When the media is taken out As with the new data buffer, when the processing for the media is closed by taking out the media and the recording data is recorded in the new data buffer, Recording data recorded in the new data buffer is recorded on the write-once medium first. Thereafter, the recording data stored in the rewrite data buffer is recorded on the write-once medium.

上記したように、新規データ用バッファと書換えデータ用バッファとを利用しない場合、つまり一つのバッファで新規記録データと書換えデータとを扱う場合、バッファに1ECCブロックに満たない新規記録データが蓄積された状態で、バッファに蓄積すべき書換えデータが発生してしまうと、直ちに、バッファに蓄積されている1ECCブロックに満たない新規記録データを1ECCブロックデータへ加工し、加工された1ECCブロックデータを追記型メディアに記録し、バッファを書換えデータのために開放しなければならない。これでは、記録効率が悪い。   As described above, when the new data buffer and the rewrite data buffer are not used, that is, when the new record data and the rewrite data are handled by one buffer, new record data less than one ECC block is accumulated in the buffer. If rewrite data to be stored in the buffer is generated in this state, immediately, new recording data that is less than one ECC block stored in the buffer is processed into one ECC block data, and the processed one ECC block data is write-once type. The media must be recorded and the buffer must be freed for rewrite data. In this case, the recording efficiency is poor.

これに対して、上記したように、新規データ用バッファと書換えデータ用バッファとを利用することにより、新規記録データと書換えデータとを同時に蓄積することができ、記録効率を高めることができる。   On the other hand, as described above, by using the new data buffer and the rewrite data buffer, the new recording data and the rewriting data can be stored simultaneously, and the recording efficiency can be improved.

次に、ゾーン管理された追記型メディアに対する擬似書換えの頻発抑制について説明する。一回書込み型メディアは、記録領域の先頭から順にデータを記録するタイプと、記録領域を複数のゾーンに分割して用途に応じて各ゾーンを使い分けるタイプとがある。本実施形態の記録再生装置は、ゾーン管理された追記型メディアに対して、より効果的に擬似書換えの頻発を抑制することもできる。   Next, the suppression of frequent occurrences of pseudo-rewriting for zone-controlled write-once media will be described. There are two types of once-write media: a type in which data is recorded in order from the beginning of the recording area, and a type in which the recording area is divided into a plurality of zones and each zone is used according to the application. The recording / reproducing apparatus according to the present embodiment can more effectively suppress the frequent occurrence of pseudo-rewriting with respect to the write-once media that are zone-managed.

例えば、UDF2.50以上のファイルシステムを使用する場合、ファイル管理構造としてメタデータパーティション(Metadata Partition)をもつ。このファイル管理構造は擬似書換え方式(UDF2.60)でも使用される構造である。このため、本実施形態によるデータ管理方式(上記説明したように新規記録データと書換えデータとを区別して管理する方式)を使用する場合は、通常のパーティション用のバッファとは別にメタデータパーティション用のバッファを持つ必要がある。   For example, when a file system of UDF2.50 or higher is used, it has a metadata partition as a file management structure. This file management structure is also used in the pseudo-rewrite method (UDF2.60). For this reason, when using the data management method according to the present embodiment (the method for managing the newly recorded data and the rewrite data separately as described above), the metadata partition use is separate from the normal partition buffer. Need to have a buffer.

そこで、例えば、図8に示すように、2つのゾーン(パーティション1、2)に分割管理された追記型メディアを想定する。一方のゾーン(パーティション1又は2)が上記した通常のパーティションに対応し、他方のゾーン(パーティション2又は1)が上記したメタデータパーティションに対応する。本ケースでは、記録再生装置のバッファメモリ52は、パーティション1用の新規データ用バッファB11(第1のメモリ領域)、パーティション1用の書換えデータ用バッファB12(第2のメモリ領域)、パーティション2用の新規データ用バッファB21(第3のメモリ領域)、パーティション2用の書換えデータ用バッファB22(第4のメモリ領域)を含む。   Therefore, for example, as shown in FIG. 8, a write-once medium divided and managed in two zones (partitions 1 and 2) is assumed. One zone (partition 1 or 2) corresponds to the normal partition described above, and the other zone (partition 2 or 1) corresponds to the metadata partition described above. In this case, the buffer memory 52 of the recording / reproducing apparatus includes a new data buffer B11 for partition 1 (first memory area), a rewrite data buffer B12 for partition 1 (second memory area), and a partition 2 buffer. A new data buffer B21 (third memory area) and a rewrite data buffer B22 for partition 2 (fourth memory area).

これにより、パーティション1に対する新規記録データと書換えデータとを同時に蓄積することができ、またパーティション2に対する新規記録データと書換えデータとを同時に蓄積することができ、記録効率を高めることができる。   As a result, new recording data and rewrite data for partition 1 can be stored simultaneously, and new recording data and rewrite data for partition 2 can be stored simultaneously, and recording efficiency can be improved.

以下、本実施形態の作用効果についてまとめる。   Hereinafter, the effects of the present embodiment will be summarized.

(1)新規データ用バッファと書換え用バッファとを利用することにより、新規記録データと書換えデータとを同時に蓄積することができる。これにより、記録単位に満たないデータを記録単位のデータに加工して記録しなければならないような事態を回避することができ、結果的に、書込み回数(新規記録データの書き込み回数、書換えデータの書き込み回数)を減らすことができる。   (1) By using the new data buffer and the rewrite buffer, new recording data and rewrite data can be stored simultaneously. As a result, it is possible to avoid a situation where data that is less than the recording unit must be processed and recorded into data in the recording unit. As a result, the number of times of writing (number of times of writing new recording data, rewriting data (Number of times of writing) can be reduced.

(2)新規記録データの書込み位置(NWA)を正確に把握し、記録済みデータの書換えを行う前に、正しい書込み位置(NWA)に対して新規記録データの書き込みを指示する。これにより、新規記録データの記録が擬似書換えに置き換えられることなく(擬似書換えを発生させることなく)、正しい書込み位置(NWA)に新規記録データを記録することができる。   (2) Accurately grasp the writing position (NWA) of the new recording data and instruct the writing of the new recording data to the correct writing position (NWA) before rewriting the recorded data. As a result, the new recording data can be recorded at the correct writing position (NWA) without replacing the recording of the new recording data with the pseudo rewriting (without causing the pseudo rewriting).

以上により、擬似書換え可能な追記型メディアに対する読み書き時間の高速化を可能にすることができる。   As described above, it is possible to increase the read / write time for the pseudo-rewritable write-once medium.

なお、本願発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は可能な限り適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。   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.

30…マイクロコンピュータブロック、52…バッファメモリ、1002…ディスクドライブ部 30 ... Microcomputer block, 52 ... Buffer memory, 1002 ... Disk drive unit

Claims (6)

追記型メディアに対する第1の新規データの記録を指示し、前記追記型メディアの第1の記録領域に対して前記第1の新規データを記録し、前記追記型メディアの第2の記録領域のアドレスを第1の次記録アドレスとして管理する記録手段と、
前記第1の新規データの書換えを指示し、前記第1の次記録アドレスで示された前記第2の記録領域に対して前記第1の新規データに対応した書換えデータを記録し、前記第1の記録領域に対するアクセスを前記第2の記録領域に対するアクセスへ変換するための管理データを前記追記型メディアの管理領域に記録し、前記追記型メディアの第3の記録領域のアドレスを第2の次記録アドレスとして管理する書換え手段と、
を備え、
前記記録手段は、前記第2の次記録アドレスで示された前記第3の記録領域に対して第2の新規データの記録を指示し、前記第3の記録領域に対して前記第2の新規データを記録する、
ことを特徴とする情報記録装置。
Instructing the recording of the first new data on the write-once medium, recording the first new data on the first recording area of the write-once medium, and the address of the second recording area of the write-once medium Recording means for managing as a first next recording address;
Rewriting of the first new data is instructed, rewriting data corresponding to the first new data is recorded in the second recording area indicated by the first next recording address, and the first Management data for converting access to the recording area to access to the second recording area is recorded in the management area of the write-once medium, and the address of the third recording area of the write-once medium is second Rewriting means managed as a recording address;
With
The recording means instructs the third recording area indicated by the second next recording address to record second new data, and the second new data is recorded to the third recording area. Record data,
An information recording apparatus characterized by that.
前記第1又は第2の新規データをバッファリングする第1のバッファと、
前記書換えデータをバッファリングする第2のバッファと、
を備えたことを特徴とする請求項1に記載の情報記録装置。
A first buffer for buffering the first or second new data;
A second buffer for buffering the rewrite data;
The information recording apparatus according to claim 1, further comprising:
前記記録制御手段は、前記第1のバッファの第1のバッファリングデータが所定サイズに達した場合に、前記第1のバッファリングデータを前記追記型メディアへ記録し、
前記書換え制御手段は、前記第2のバッファの第2のバッファリングデータが所定サイズに達した場合に、前記第2のバッファリングデータを前記追記型メディアへ記録する、
ことを特徴とする請求項2に記載の情報記録装置。
The recording control means records the first buffering data on the write-once medium when the first buffering data of the first buffer reaches a predetermined size,
The rewrite control unit records the second buffering data on the write-once medium when the second buffering data of the second buffer reaches a predetermined size;
The information recording apparatus according to claim 2.
前記記録制御手段は、前記第1のバッファリングデータが所定サイズに達してなくても、前記第2のバッファリングデータが所定サイズに達した場合には、前記書換え制御手段による前記第2のバッファリングデータの記録より先に、前記第1のバッファリングデータを所定サイズのデータに加工して前記追記型メディアへ記録することを特徴とする請求項3に記載の情報記録装置。   If the second buffering data has reached a predetermined size even if the first buffering data has not reached a predetermined size, the recording control means may perform the second buffering by the rewrite control means. 4. The information recording apparatus according to claim 3, wherein the first buffering data is processed into data of a predetermined size and recorded on the write-once medium before recording the ring data. 前記追記型メディアの第1のゾーンに記録するための前記第1又は第2の新規データをバッファリングする第1のバッファと、
前記追記型メディアの第1のゾーンに記録するための前記第1の書換えデータをバッファリングする第2のバッファと、
前記追記型メディアの第2のゾーンに記録するための第3の新規データをバッファリングする第3のバッファと、
前記追記型メディアの第2のゾーンに記録するための第2の書換えデータをバッファリングする第4のバッファと、
を備えたことを特徴とする請求項1に記載の情報記録装置。
A first buffer for buffering the first or second new data for recording in a first zone of the write-once medium;
A second buffer for buffering the first rewritable data for recording in the first zone of the write-once medium;
A third buffer for buffering third new data to be recorded in the second zone of the write-once medium;
A fourth buffer for buffering second rewritable data for recording in the second zone of the write-once medium;
The information recording apparatus according to claim 1, further comprising:
追記型メディアに対する第1の新規データの記録を指示し、前記追記型メディアの第1の記録領域に対して前記第1の新規データを記録し、前記追記型メディアの第2の記録領域のアドレスを第1の次記録アドレスとして管理し、
前記第1の新規データの書換えを指示し、前記第1の次記録アドレスで示された前記第2の記録領域に対して前記第1の新規データに対応した書換えデータを記録し、前記第1の記録領域に対するアクセスを前記第2の記録領域に対するアクセスへ変換するための管理データを前記追記型メディアの管理領域に記録し、前記追記型メディアの第3の記録領域のアドレスを第2の次記録アドレスとして管理し、
前記第2の次記録アドレスで示された前記第3の記録領域に対して第2の新規データの記録を指示し、前記第3の記録領域に対して前記第2の新規データを記録する、
ことを特徴とする情報記録方法。
Instructing recording of the first new data on the write-once medium, recording the first new data on the first recording area of the write-once medium, and the address of the second recording area of the write-once medium As the first next recording address,
Rewriting of the first new data is instructed, rewriting data corresponding to the first new data is recorded in the second recording area indicated by the first next recording address, and the first Management data for converting access to the recording area to access to the second recording area is recorded in the management area of the write-once medium, and the address of the third recording area of the write-once medium is second Managed as a recording address,
Instructing the third recording area indicated by the second next recording address to record second new data, and recording the second new data in the third recording area;
An information recording method characterized by the above.
JP2009269146A 2009-11-26 2009-11-26 Information recording apparatus and information recording method Expired - Fee Related JP5531223B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009269146A JP5531223B2 (en) 2009-11-26 2009-11-26 Information recording apparatus and information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009269146A JP5531223B2 (en) 2009-11-26 2009-11-26 Information recording apparatus and information recording method

Publications (2)

Publication Number Publication Date
JP2011113607A true JP2011113607A (en) 2011-06-09
JP5531223B2 JP5531223B2 (en) 2014-06-25

Family

ID=44235833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009269146A Expired - Fee Related JP5531223B2 (en) 2009-11-26 2009-11-26 Information recording apparatus and information recording method

Country Status (1)

Country Link
JP (1) JP5531223B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007114424A1 (en) * 2006-04-06 2007-10-11 Panasonic Corporation Data recording method and data recording device for write-once type recording medium
JP2008517412A (en) * 2004-10-14 2008-05-22 エルジー エレクトロニクス インコーポレーテッド Recording medium and method and apparatus for simultaneously overwriting data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008517412A (en) * 2004-10-14 2008-05-22 エルジー エレクトロニクス インコーポレーテッド Recording medium and method and apparatus for simultaneously overwriting data
WO2007114424A1 (en) * 2006-04-06 2007-10-11 Panasonic Corporation Data recording method and data recording device for write-once type recording medium

Also Published As

Publication number Publication date
JP5531223B2 (en) 2014-06-25

Similar Documents

Publication Publication Date Title
JP2002152636A (en) Recording and reproducing device having automatic chapter preparation function
JP2002150683A (en) Information recorder adaptive to a plurality of recording faces and information recording method adaptive to a plurality of recording faces
JP2005251313A (en) Device and method for information recording and reproducing
JP2006323890A (en) Dubbing method and device corresponding to content and dubbing destination recording medium
JP3637275B2 (en) Information immediate recording apparatus and information immediate recording method
JP2006351151A (en) Device and method for recording/reproducing information
US20060083138A1 (en) Write-once medium recording method and recording apparatus, and playback apparatus
US20060072411A1 (en) Write-once medium recording method, recording apparatus, and playback apparatus
JP2006323889A (en) Method and device for recording in single-sided multilayer optical disk, and reproducing device
US20020131189A1 (en) Method and apparatus for image recording and reproduction for plurality of media
JP5531223B2 (en) Information recording apparatus and information recording method
JP4886619B2 (en) Information recording / reproducing apparatus and data management method
JP2008010118A (en) Data recording method and data recording device
JP3901538B2 (en) Video data recording / reproducing apparatus and video data recording / reproducing method
JP2005109742A (en) Recorder of content, reproducer of content, recorder/reproducer of content and method for managing deletion of content
JP2006323895A (en) Reproducing method and device matching kind of medium
JP5024983B2 (en) Data management method and data management apparatus
JP4167639B2 (en) Video recording device
JP3917610B2 (en) Recording / playback device with chapter creation guide function
JP3987513B2 (en) Video recording / reproducing apparatus and method for recording media
JP2004364325A (en) Automatic chapter thumbnail forming method
JP5148741B2 (en) Electronic apparatus, information recording / reproducing apparatus, and data management method
JP4643435B2 (en) Video information processing apparatus and video information processing method
JP2006155680A (en) Recording/reproducing system
JP2002152666A (en) Recording/reproducing device with chapter generation guide function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120824

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140313

RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20140319

LAPS Cancellation because of no payment of annual fees