JP2001266496A - Unit and method for recording and reproducing information - Google Patents

Unit and method for recording and reproducing information

Info

Publication number
JP2001266496A
JP2001266496A JP2000393264A JP2000393264A JP2001266496A JP 2001266496 A JP2001266496 A JP 2001266496A JP 2000393264 A JP2000393264 A JP 2000393264A JP 2000393264 A JP2000393264 A JP 2000393264A JP 2001266496 A JP2001266496 A JP 2001266496A
Authority
JP
Japan
Prior art keywords
management information
data
recording
information
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000393264A
Other languages
Japanese (ja)
Other versions
JP3838031B2 (en
Inventor
Yukio Isobe
幸雄 磯部
Susumu Yoshida
進 吉田
Tsutomu Imai
勉 今井
Hisahiro Kato
寿宏 加藤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000393264A priority Critical patent/JP3838031B2/en
Publication of JP2001266496A publication Critical patent/JP2001266496A/en
Application granted granted Critical
Publication of JP3838031B2 publication Critical patent/JP3838031B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide technology for recovering managing information data for enabling random access or special reproducing by recovering animation and audio data, which are recorded on a recording medium until stop, even when power supply is unexpectedly interrupted and recording is stopped, for example, during real time recording. SOLUTION: This unit is provided with a video/audio/managing information multiplexing means for generating data, which are required for generating the managing information data for the random access or special reproducing of the recording medium, and multiplexing the data required for generating the managing information data, encoded video data outputted from a video encoding means and encoded audio data outputted from an audio encoding means.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は情報を記録媒体に記
録する技術、または、記録媒体から再生する技術に関す
る。
The present invention relates to a technique for recording information on a recording medium or a technique for reproducing information from the recording medium.

【0002】[0002]

【従来の技術】リアルタイムで画像および音声を記録す
る記録媒体や、記録する装置や、再生する装置や、編集
する装置に関する技術については、例えば、特開平11
−187354号公報に記載されている。
2. Description of the Related Art Technologies relating to a recording medium for recording images and sounds in real time, a recording device, a reproducing device, and an editing device are disclosed in, for example, Japanese Patent Application Laid-Open No.
No. 187354.

【0003】[0003]

【発明が解決しようとする課題】前記公報にはビデオお
よびオーディオデータをリアルタイムで記録し、ランダ
ムアクセスや、特殊再生を可能にするための管理情報デ
ータを、リアルタイムに記録媒体に記録する技術が示さ
れている。しかし、リアルタイムで記録しているとき
に、例えば、予期せず電源供給が断たれ、記録が中止さ
れたとき、記録媒体に記録されたビデオおよびオーディ
オデータや、その管理情報データは所定形式を満たさず
に、記録媒体に記録されてしまう。
The above publication discloses a technique for recording video and audio data in real time and recording management information data for enabling random access and special reproduction on a recording medium in real time. Have been. However, when recording in real time, for example, when power supply is unexpectedly cut off and recording is stopped, video and audio data recorded on the recording medium and its management information data satisfy a predetermined format. Instead, it is recorded on a recording medium.

【0004】本発明の目的は、リアルタイムで記録して
いるときに、例えば、予期せず電源供給が断たれ、記録
が中止されたとしても、中止されるまで記録媒体に記録
されたビデオおよびオーディオデータを修復し、ランダ
ムアクセスや、特殊再生を可能にするための管理情報デ
ータを修復する技術を提供することにある。
[0004] It is an object of the present invention to provide a method for recording video and audio recorded on a recording medium until recording is stopped in real time, even if the power supply is unexpectedly cut off and the recording is stopped. It is an object of the present invention to provide a technique for restoring data and restoring management information data for enabling random access and trick play.

【0005】例えば、屋外でのカメラ撮影中に不意にバ
ッテリが外れたりし、電源供給が断たれ、その後、電源
を再投入したときに、ビデオ・オーディオデータおよび
ランダムアクセスや特殊再生を可能にするための管理情
報データの修復が実行され、多大な時間を費やしたり、
修復処理によってバッテリの電力を消費したりして、撮
影したいときに撮影できない場合がある。
[0005] For example, when the battery is suddenly removed during shooting outdoors with a camera, the power supply is cut off, and then the power is turned on again, video / audio data and random access and special reproduction can be performed. Of the management information data is executed, and a lot of time is spent,
There is a case where the power of the battery is consumed by the restoration process, so that the photographing cannot be performed when photographing is desired.

【0006】さらに、本発明の目的は、リアルタイムで
記録しているときに、予期せず電源供給が断たれ、記録
が中止され、その後に電源再投入したときに、ビデオ・
オーディオデータおよびランダムアクセスや特殊再生を
可能にするための管理情報データの修復処理を省略し、
時間と電力の浪費を回避し、すぐにリアルタイムでの記
録を開始し、ユーザの使い勝手を向上する装置を提供す
ることにある。
Further, it is an object of the present invention to provide a method for recording a video signal when the power supply is unexpectedly cut off during recording in real time, the recording is stopped, and then the power is turned on again.
Omission of repair processing of audio data and management information data to enable random access and special playback,
It is an object of the present invention to provide a device that avoids wasting time and power, immediately starts recording in real time, and improves the usability of a user.

【0007】[0007]

【課題を解決するための手段】本発明に関する情報記録
再生装置は、少なくともビデオ符号化データとオーディ
オ符号化データとを多重化する記録データ多重化手段
と、前記記録データ多重化手段から出力されるデータを
記憶する記録データ記憶手段と、前記記録データ多重化
手段から得られるデータに基づいて前記記録媒体に記録
されたデータを再生するための管理情報を生成するため
に必要なデータを生成する管理情報生成用データ生成手
段と、前記管理情報を記憶する管理情報記憶手段と、前
記管理情報生成用データ生成手段からの出力に基づき前
記管理情報を生成し、管理情報記憶手段に書込み、また
は読出す管理情報生成手段と、少なくとも前記記録デー
タ記憶手段から出力された情報、または前記管理情報生
成手段から出力された情報を記録媒体に記録、または読
出す記録媒体ドライブ処理手段と、記録処理の状態を示
す状態情報を記憶する記録状態記憶手段と、前記記録デ
ータ多重化手段と前記記録データ記憶手段と前記管理情
報生成用データ生成手段と前記管理情報生成手段と前記
管理情報記憶手段と前記記録媒体ドライブ処理手段と前
記記録状態記憶手段とを管理する統合管理手段とを備え
るものとし、前記統合管理手段は、前記記録状態記憶手
段に対して前記状態情報を書込み、または読出すように
する。
According to the present invention, there is provided an information recording / reproducing apparatus for multiplexing at least video encoded data and audio encoded data, and output from the recorded data multiplexing means. Recording data storage means for storing data, and management for generating data necessary for generating management information for reproducing data recorded on the recording medium based on data obtained from the recording data multiplexing means Information generating data generating means, management information storing means for storing the management information, and generating the management information based on an output from the management information generating data generating means, and writing or reading the information in the management information storing means Management information generation means, at least information output from the recording data storage means, or output from the management information generation means Recording medium drive processing means for recording or reading information on or from a recording medium, recording state storage means for storing state information indicating the state of recording processing, the recording data multiplexing means, the recording data storage means, and the management information The management data generating means, the management information generating means, the management information storage means, the recording medium drive processing means, and the integrated management means for managing the recording state storage means, the integrated management means, The status information is written to or read from the recording status storage means.

【0008】もしくは、本発明に関する情報記録再生装
置は、記録媒体にビデオやオーディオを記録する情報記
録再生装置であって、アナログビデオ信号を符号化する
ビデオ符号化手段と、アナログオーディオ信号を符号化
するオーディオ符号化手段と、記録媒体をランダムアク
セスしたり特殊再生するための管理情報データを生成す
るために必要なデータを生成し、管理情報データを生成
するために必要なデータとビデオ符号化手段から出力さ
れるビデオ符号化データとオーディオ符号化手段から出
力されるオーディオ符号化データとを多重化するビデオ
/オーディオ/管理情報多重化手段(前記記録データ多重
化手段と前記管理情報生成用データ生成手段とを含むも
のとしてもよい)と、ビデオ/オーディオ/管理情報多重
化手段から出力される多重化データを所定の量だけ蓄
え、記録媒体に前記多重化データをビットストリームフ
ァイルとして書きこむストリームバッファ(前記記録デ
ータ記憶手段としてもよい)と、管理情報データを記憶
する揮発性管理情報展開メモリ(前記管理情報記憶手段
としてもよい)と、管理情報データを生成するために必
要なデータから管理情報データを生成し、揮発性管理情
報メモリに書き込み、管理情報データを管理情報ファイ
ルとして記録媒体に書きこむ管理情報生成手段と、記録
媒体から管理情報ファイルを読み出し、揮発性管理情報
展開メモリに展開する管理情報展開手段と、記録媒体か
ら直接データを読んだり書いたりする記録媒体ドライブ
手段(記録媒体ドライブ処理手段としてもよい)と、記録
処理の経過の状態を記憶する不揮発性のメモリである不
揮発性記録状態メモリ(記録状態記憶手段としてもよい)
と、前記ビデオ符号化手段と前記オーディオ符号化手段
と前記ビデオ/オーディオ/管理情報多重化手段と前記ス
トリームバッファと前記管理情報生成手段と前記管理情
報展開手段と前記揮発性管理情報展開メモリと前記記録
媒体ドライブ手段とを統合的に管理し、その処理の状態
を不揮発性記録状態メモリに書いたり読み出したりする
統合管理手段を備える。この構成で、リアルタイム記録
中に予期せず電源供給が断たれたとき、不揮発性メモリ
にリアルタイム記録中のどの状態で電源供給が断たれた
かを記憶するようにする。
Alternatively, an information recording / reproducing apparatus according to the present invention is an information recording / reproducing apparatus for recording video or audio on a recording medium, comprising: video encoding means for encoding an analog video signal; Audio encoding means for generating data necessary for generating management information data for random access and special reproduction of a recording medium, and data and video encoding means required for generating management information data For multiplexing video encoded data output from the audio encoding data output from the audio encoding means
/ Audio / management information multiplexing means (which may include the recording data multiplexing means and the management information generation data generating means), and multiplexed data output from the video / audio / management information multiplexing means. And a stream buffer for writing the multiplexed data on a recording medium as a bit stream file (may be the recording data storage means), and a volatile management information expansion memory (the management Information management means), management information data is generated from data necessary for generating the management information data, written to a volatile management information memory, and the management information data is written to a recording medium as a management information file. Information generating means, and management information for reading a management information file from a recording medium and developing the management information file in a volatile management information development memory Expansion means, recording medium drive means (which may be a recording medium drive processing means) for directly reading and writing data from the recording medium, and a non-volatile recording state which is a non-volatile memory for storing the progress of the recording process Memory (may be a recording state storage unit)
The video encoding unit, the audio encoding unit, the video / audio / management information multiplexing unit, the stream buffer, the management information generation unit, the management information development unit, the volatile management information development memory, There is provided an integrated management means for managing the recording medium drive means in an integrated manner, and writing and reading the processing state to and from the nonvolatile recording state memory. With this configuration, when the power supply is unexpectedly cut off during the real-time recording, the state in which the power supply is cut off during the real-time recording is stored in the nonvolatile memory.

【0009】なお、前記ビデオ/オーディオ/管理情報多
重化手段は、管理情報データを生成するために必要なデ
ータを、ビデオ符号化データとオーディオ符号化データ
とに対して、必ずしも、多重化しなくてもよい。しかし
ながら、前記ビデオ/オーディオ/管理情報多重化手段
は、管理情報データを生成するために必要なデータを少
なくとも生成し、管理情報生成手段に出力するものとす
る。
The video / audio / management information multiplexing means does not necessarily multiplex the data necessary for generating the management information data with the video coded data and the audio coded data. Is also good. However, it is assumed that the video / audio / management information multiplexing means generates at least data necessary for generating management information data and outputs the data to the management information generation means.

【0010】また、前記ビデオ/オーディオ/管理情報多
重化手段が、管理情報データを生成するために必要なデ
ータを生成する際に使用するデータは、ビデオ符号化デ
ータとオーディオ符号化データとに限定されるものでは
なく、ビットストリームファイルが前記記録媒体に記録
された後に、記録されているビットストリームファイル
をランダムアクセスや、特殊再生等の再生処理を可能に
するために必要とする管理情報データ生成するのに使用
できるデータであればよい。
Further, the data used by the video / audio / management information multiplexing means to generate data necessary for generating management information data is limited to video encoded data and audio encoded data. However, after the bit stream file is recorded on the recording medium, the management information data necessary for enabling the recorded bit stream file to be able to perform a reproduction process such as random access or special reproduction is generated. Any data that can be used to do so is acceptable.

【0011】また、本発明に関する情報記録再生装置
は、前記情報記録再生装置において、情報を記録媒体に
記録、または読出す前記記録媒体ドライブ処理手段と、
前記記録媒体から読出されたを情報からビデオ符号化デ
ータとオーディオ符号化データとを分離する記録データ
分離化手段と、前記記録データ分離化手段から得られる
データに基づいて前記記録媒体に記録されたデータを再
生するための管理情報を生成するために必要なデータを
生成する前記管理情報生成用データ生成手段と、前記管
理情報を記憶する前記管理情報記憶手段と、前記管理情
報生成用データ生成手段からの出力に基づき前記管理情
報を生成し、管理情報記憶手段に書込み、または読出す
前記管理情報生成手段と、前記記録媒体から読出された
情報から前記管理情報を読出し、前記管理情報記憶手段
に出力する管理情報読出し手段と、前記記録データ分離
化手段と前記管理情報生成用データ生成手段と前記管理
情報生成手段と前記管理情報記憶手段と前記記録媒体ド
ライブ処理手段と前記管理情報読出し手段と前記記録状
態記憶手段とを管理する統合管理手段とを備え、前記記
録媒体ドライブ処理手段は前記管理情報生成手段から出
力された情報を前記記録媒体に記録し、前記統合管理手
段は、前記記録状態記憶手段に対して前記状態情報を書
込み、または読出すようにする。
Further, the information recording / reproducing apparatus according to the present invention is the information recording / reproducing apparatus, wherein the recording medium drive processing means for recording or reading information on or from a recording medium;
Recording data separating means for separating video encoded data and audio encoded data from information read from the recording medium, and recorded on the recording medium based on data obtained from the recording data separating means; The management information generation data generation means for generating data necessary for generating management information for reproducing data, the management information storage means for storing the management information, and the management information generation data generation means The management information is generated from the information read from the recording medium, and the management information is generated by writing the management information to the management information storage means based on the output from the storage medium. Management information reading means for outputting, the recording data separating means, the management information generating data generating means, the management information generating means, An integrated management unit for managing the management information storage unit, the recording medium drive processing unit, the management information reading unit, and the recording state storage unit, wherein the recording medium drive processing unit is output from the management information generation unit. Information is recorded on the recording medium, and the integrated management means writes or reads the state information to or from the recording state storage means.

【0012】もしくは、本発明に関する情報記録再生装
置は、記録媒体に記録された前記ビットストリームファ
イルを読み出し、ビデオ符号化データとオーディオ符号
化データと管理情報データを生成するために必要なデー
タとを分離するビデオ/オーディオ/管理情報分離化手段
(前記記録データ分離化手段と前記管理情報生成用デー
タ生成手段とを含むものとしてもよい)と、管理情報デ
ータを記憶する揮発性管理情報展開メモリと、管理情報
データを生成するために必要なデータから管理情報デー
タを生成し、揮発性管理情報メモリに書き込み、管理情
報データを管理情報ファイルとして記録媒体に書きこむ
管理情報生成手段と、記録媒体から管理情報ファイルを
読み出し、揮発性管理情報展開メモリに展開する管理情
報展開手段(前記管理情報読出し手段としてもよい)と、
記録媒体から直接データを読んだり書いたりする記録媒
体ドライブ手段と、記録処理の経過の状態を記憶する不
揮発性のメモリである不揮発性記録状態メモリと、前記
ビデオ/オーディオ/管理情報分離化手段と前記管理情報
生成手段と前記管理情報展開手段と前記揮発性管理情報
展開メモリと前記記録媒体ドライブ手段とを統合的に管
理し、その処理の状態を不揮発性記録状態メモリのデー
タに書いたり、読みだしたりする統合管理手段を備え
る。この構成で、リアルタイム記録中に予期せず電源供
給が断たれ、その後に電源を再投入したときに、リアル
タイム記録中のどの状態で電源供給が断たれたかを不揮
発性メモリから取得し、それに応じて記録媒体中に書き
込まれたデータを修復するようにする。
Alternatively, an information recording / reproducing apparatus according to the present invention reads out the bit stream file recorded on a recording medium, and stores video encoded data, audio encoded data, and data necessary for generating management information data. Video / audio / management information separation means to separate
(It may include the recording data separation means and the management information generation data generation means), a volatile management information development memory for storing management information data, and a memory for generating management information data. Management information generating means for generating management information data from data, writing the management information data to a volatile management information memory, and writing the management information data to a recording medium as a management information file, reading the management information file from the recording medium, and developing the volatile management information Management information expanding means for expanding in a memory (may be the management information reading means);
A recording medium drive means for reading or writing data directly from a recording medium, a non-volatile recording state memory which is a non-volatile memory for storing the progress of a recording process, and the video / audio / management information separating means; The management information generation unit, the management information expansion unit, the volatile management information expansion memory, and the recording medium drive unit are integratedly managed, and the state of the processing is written to or read from data in a nonvolatile recording state memory. And integrated management means. With this configuration, when the power supply is unexpectedly cut off during real-time recording, and when the power is turned on again, the state in which the power supply was cut off during real-time recording is obtained from the non-volatile memory, and To restore data written in the recording medium.

【0013】なお、前記ビデオ/オーディオ/管理情報分
離化手段は、記録媒体に記録された前記ビットストリー
ムファイルを読み出し、管理情報データを生成するため
に必要なデータを分離するものとしているが、必ずし
も、管理情報データを生成するために必要なデータを分
離処理する必要はない。しかしながら、前記ビデオ/オ
ーディオ/管理情報分離化手段は、管理情報データを生
成するために必要なデータを少なくとも生成し、管理情
報生成処理に出力するものとする。
The video / audio / management information separating means reads the bit stream file recorded on a recording medium and separates data necessary for generating management information data. In addition, there is no need to separate data necessary for generating management information data. However, it is assumed that the video / audio / management information separating means generates at least data necessary for generating management information data and outputs the data to the management information generation processing.

【0014】また、前記ビデオ/オーディオ/管理情報分
離化手段が、管理情報データを生成するために必要なデ
ータを生成する際に使用するデータは、ビデオ符号化デ
ータとオーディオ符号化データとに限定されるものでは
なく、前記記録媒体に記録されているビットストリーム
ファイルをランダムアクセスや、特殊再生等の再生処理
を可能にするために必要とする管理情報データ生成する
のに使用できるデータであればよい。
The data used by the video / audio / management information separating means to generate data necessary for generating management information data is limited to video encoded data and audio encoded data. However, if the bit stream file recorded on the recording medium can be used to generate management information data required for enabling random access and reproduction processing such as special reproduction, any data can be used. Good.

【0015】なお、前記情報記録再生装置において、前
記記録状態記憶手段は、電力供給が遮断されても記憶さ
れた情報が記憶されている記憶手段としてもよい。
[0015] In the information recording / reproducing apparatus, the recording state storage means may be storage means for storing stored information even when power supply is cut off.

【0016】また、前記情報記録再生装置において、前
記記録状態記憶手段を読出した前記状態情報に基づい
て、前記記録媒体に記録されている情報を再生できる情
報とするように処理するようにする。
In the information recording / reproducing apparatus, the information recorded on the recording medium is processed to be reproducible information based on the status information read from the recording status storage means.

【0017】さらに、前記情報記録再生装置において、
前記記録状態記憶手段を読出した前記状態情報に基づい
て、前記記録媒体から読出した情報を調べ、再生できな
い情報の含まれる記録単位からファイルの末尾までのデ
ータを削除するようにする。
Further, in the information recording / reproducing apparatus,
Based on the status information read from the recording status storage unit, information read from the recording medium is checked, and data from a recording unit including unreproducible information to the end of a file is deleted.

【0018】また、さらに前記情報記録再生装置におい
て、前記記録状態記憶手段を読出した前記状態情報に基
づいて、前記記録媒体から読出した情報からなる管理単
位群を調べ、再生できない情報の含まれる記録単位を含
む管理単位を削除し、前記管理単位群の始めから前記前
記再生できない情報の含まれる記録単位を含む管理単位
までを第1の管理単位群とし、前記再生できない情報の
含まれる記録単位を含む管理単位以降から前記管理単位
群の末尾までを第2の管理単位群とするようにする。
Further, in the information recording / reproducing apparatus, a management unit group consisting of information read from the recording medium is checked based on the status information read from the recording state storage means, and a recording unit including information that cannot be reproduced is included. A management unit including a unit is deleted, and a management unit including a recording unit including the unreproducible information from a beginning of the management unit group is defined as a first management unit group, and a recording unit including the unreproducible information is defined as a first management unit group. The range from the included management unit to the end of the management unit group is set as a second management unit group.

【0019】なお、本発明をDVD Video Recording規格
(以下、単にVR規格と呼ぶ)に準拠したストリームを扱う
場合に適用した場合は、上記記録単位は、パックに相当
し、管理単位は、VOBU(VOB Unit)に相当
し、管理単位群は、VOB(Video Objec
t)に相当するものとしても良い。
It should be noted that the present invention relates to the DVD Video Recording standard.
When applied to a case where a stream conforming to (hereinafter simply referred to as VR standard) is handled, the recording unit corresponds to a pack, the management unit corresponds to a VOBU (VOB Unit), and the management unit group includes: VOB (Video Object)
It may be equivalent to t).

【0020】さらに、本発明に関する装置は、前記情報
記録再生装置において、前記記録媒体には、前記記録デ
ータ記憶手段から出力された情報をデータファイルと
し、前記管理情報生成手段から出力された情報を管理情
報ファイルとして組とするものを、第1、第2の複数の
組として記録されるものとし、前記記録媒体に所定のフ
ァイルフォーマットでファイルを書込みできるように、
または読出しできるように、または二つのファイルから
新たなファイルを生成できるようにファイルの管理をす
るファイルシステム管理処理手段と、前記ファイルシス
テム管理処理手段から前記第1の組の管理情報ファイル
を読出す第1の管理情報ファイル読出し処理手段と、前
記第1の管理情報ファイル読出し処理手段から読出され
た前記第1の組の管理情報を第1の管理情報として記憶
する第1の管理情報記憶手段と、前記第1の管理情報記憶
手段から、前記第1の管理情報を読出し、前記第1の組の
管理情報ファイルとして、ファイルシステム管理処理手
段に書込む管理情報ファイル書込み処理手段と、前記フ
ァイルシステム管理処理手段から、前記第2の組の管理
情報ファイルを読出す第2の管理情報ファイル読出し処
理手段と、前記第2の管理情報ファイル読出し処理手段
から読出された前記第2の組の管理情報を、第2の管理情
報として記憶する第2の管理情報記憶手段と、前記第1の
管理情報情報記憶手段に記憶された情報と、前記第2の
管理情報記憶手段に記憶された情報とから、新たな管理
情報を生成し、前記第1の管理情報記憶手段に書込む結
合処理手段とを備えるものとし、前記データファイルと
前記管理情報ファイルの複数組を、一組にするようにす
る。
Further, in the apparatus according to the present invention, in the information recording / reproducing apparatus, the information outputted from the recording data storage means is used as a data file in the recording medium, and the information outputted from the management information generating means is stored in the recording medium. A set of management information files is recorded as first and second plural sets, and a file can be written in a predetermined file format on the recording medium.
Or file system management processing means for managing files so that they can be read or a new file can be generated from two files, and reads the first set of management information files from the file system management processing means First management information file reading processing means; first management information storage means for storing the first set of management information read from the first management information file reading processing means as first management information; Management information file writing processing means for reading out the first management information from the first management information storage means and writing the first management information as a first set of management information files into a file system management processing means; and Second management information file reading processing means for reading the second set of management information files from the management processing means; and Second management information storage means for storing the second set of management information read from the information file read processing means as second management information; and information stored in the first management information information storage means. And, from the information stored in the second management information storage means, to generate new management information, and a combination processing means to write to the first management information storage means, the data file and A plurality of sets of the management information files are combined into one set.

【0021】または、本発明に関する装置は、 前記情
報記録再生装置において、前記記録状態記憶手段を読出
した前記状態情報に基づいて、前記記録媒体に記録され
た前記データファイルと前記管理情報ファイルの第1の
組を調べ、再生できない情報が含まれる場合、前記第1
の組の識別子を第2の識別子に変更し、前記記録媒体に
記録する新たなデータファイルと新たな管理情報ファイ
ルを第1の組として、前記記録媒体に記録するようにす
る。
Alternatively, in the information recording / reproducing device, the information recording / reproducing device may be configured to store the data file and the management information file recorded on the recording medium based on the status information read from the recording status storage unit. Examine the set of 1 and if the information that cannot be reproduced is included,
Is changed to a second identifier, and a new data file and a new management information file to be recorded on the recording medium are recorded as a first set on the recording medium.

【0022】従って、例えば、本発明をVR規格に準拠し
たストリームを扱う場合に適用した場合を説明する。記
録中に予期せず電源供給が断たれ、記録が中止されたこ
とで、DVD_RTAVディレクトリ内のファイルが正常に再
生できない状態のファイルになっている場合は、正常に
再生できる状態に修復しない限り、記録を開始すること
が出来なくなる場合がある。
Therefore, for example, a case will be described in which the present invention is applied to a case where a stream conforming to the VR standard is handled. If the file in the DVD_RTAV directory is in a state that cannot be played back normally because the power supply was unexpectedly cut off during recording and the recording was stopped, unless the file is restored to a state in which it can be played back normally, In some cases, recording cannot be started.

【0023】上記説明した本発明を適用すると、正常に
再生できない状態のファイルを含むDVD_RTAVデ
ィレクトリの名称(第1の組の識別子)を、例えば、DV
D_RTAV_BAKディレクトリ(第2の組の識別子)に
変更することで、記録を再度開始した時、新たな記録す
べき情報は、新たなDVD_RTAVディレクトリ内
に、VR規格に基づくファイルとして、新規に記録する
ことが可能となる。従って、正常に再生できない状態の
ファイルを修復しなくても、記録を開始することが可能
となる。
When the present invention described above is applied, the name (first set of identifiers) of a DVD_RTAV directory including a file that cannot be normally reproduced is changed to, for example, DV.
By changing to the D_RTAV_BAK directory (the second set of identifiers), when recording is restarted, new information to be recorded is newly recorded as a file based on the VR standard in the new DVD_RTAV directory. Becomes possible. Therefore, recording can be started without repairing a file that cannot be normally reproduced.

【0024】なお、前記記録媒体に記録される前記デー
タファイルと前記管理情報ファイルの複数組が2以上で
あり、2以上の複数組を、一組にするものであってもよ
い。
It should be noted that there may be two or more sets of the data file and the management information file recorded on the recording medium, and the two or more sets may be one set.

【0025】もしくは、本発明に関する装置は、符号化
された画像データファイルと画像データファイルを管理
するための管理情報ファイルの組を、複数組記録する領
域を有する記録媒体と、記録媒体に情報を書き込んだ
り、記録媒体から情報を読み出したりする記録媒体駆動
処理手段と、記録媒体に所定のファイルフォーマット
で、ファイルを書き込んだり、読み出したり、二つのフ
ァイルを結合したりする、ファイルシステム管理処理手
段と、ファイルシステム管理処理手段から管理情報ファ
イルを読み出すように命令をする、管理情報ファイル読
み出し処理手段と、管理情報ファイル読み出し処理手段
から読み出された管理情報ファイルを、管理情報展開デ
ータとして蓄えておくための管理情報展開メモリと、管
理情報展開メモリから、管理情報展開データーを読み出
し、管理情報ファイルとして、ファイルシステム管理処
理手段に書き込むように命令する、管理情報ファイル書
き込み処理手段と、ファイルシステム管理処理手段か
ら、管理情報ファイルと同一フォーマットではあるが、
異なるファイルであるバックアップ管理情報ファイルを
読み出すように命令する、バックアップ管理情報ファイ
ル読み出し処理手段と、バックアップ管理情報ファイル
読み出し処理手段から読み出されたバックアップ管理情
報ファイルを、バックアップ管理情報展開データとして
蓄えておくためのバックアップ管理情報展開メモリと、
管理情報展開メモリの情報とバックアップ管理情報展開
メモリの情報を、一つに結合し、管理情報展開メモリに
書き込みをする、結合処理手段とを備え、画像データフ
ァイルと管理情報ファイルの複数組を、一組に結合する
ように構成する。
Alternatively, an apparatus according to the present invention includes a recording medium having an area for recording a plurality of sets of encoded image data files and a management information file for managing the image data files; Recording medium drive processing means for writing and reading information from the recording medium; file system management processing means for writing and reading files in a predetermined file format on the recording medium and combining the two files; The management information file read processing means for instructing the management information file to be read from the file system management processing means, and the management information file read from the management information file read processing means are stored as management information development data. Management information expansion memory and management information expansion memory It reads the management information development data, as the management information file, commands to write to the file system management processing unit, a management information file write processing means, from the file system management processing unit, albeit at the management information file in the same format,
A backup management information file read processing unit that instructs to read a backup management information file, which is a different file, and a backup management information file read from the backup management information file read processing unit are stored as backup management information expansion data. A backup management information expansion memory for storing
Combining the information of the management information development memory and the information of the backup management information development memory into one, and writing the management information development memory, comprising a combination processing means, a plurality of sets of image data files and management information files, It is configured to be combined into one set.

【0026】さらに、本発明に関する装置は、アナログ
動画像を圧縮符号化する動画像圧縮符号化処理手段と、
アナログ音声を圧縮符号化する音声圧縮符号化処理手段
と、動画像圧縮符号化処理手段から出力される動画像圧
縮符号化データと、音声圧縮符号化処理手段から出力さ
れる音声圧縮符号化データを多重化する、動画音声多重
化処理手段と、動画音声圧縮多重化処理手段から、管理
情報ファイル生成するのに必要な情報を取得し、管理情
報展開メモリに展開されている管理情報展開データに、
管理情報展開データとして追記する管理情報展開データ
生成処理手段と、動画音声圧縮多重化処理手段から出力
される多重化ストリームを一旦蓄えるストリームバッフ
ァと、ストリームバッファから多重化データをファイル
システム管理手段に、多重化ストリームファイルとし
て、書き込むように命令するストリームバッファ管理手
段と、記録処理の経過の状態を記憶する不揮発性のメモ
リである状態管理不揮発性メモリと、管理情報ファイル
か、多重化ストリームファイルが異常なとき、正常なフ
ォーマットに修復する修復処理手段と、起動時に、状態
管理不揮発性メモリを監視し、状態に応じて管理情報フ
ァイルを管理情報展開メモリに展開するように命令した
り、修復処理手段に管理情報ファイルや、多重化ストリ
ームファイルを修復するように命令したり、画像データ
ファイルと管理情報ファイルの複数組を、一組に結合す
ることを特徴とし、リアルタイムで記録するカメラなど
の記録装置で、屋外撮影をしているときなどに、予期せ
ず電源供給が断たれ、記録が中止されたとき、電源を入
れ直すと、記録媒体に記録されたビデオデータおよびオ
ーディオデータやその管理情報データは所定形式に修復
する処理を実行するかどうかを選択するように構成す
る。
Further, the apparatus according to the present invention comprises a moving image compression encoding processing means for compressing and encoding an analog moving image,
Audio compression encoding processing means for compressing and encoding analog audio, video compression encoded data output from the video compression encoding processing means, and audio compression encoding data output from the audio compression encoding processing means. Multiplexing, video and audio multiplexing processing means, from the video and audio compression and multiplexing processing means, to obtain information necessary to generate a management information file, to the management information expansion data expanded in the management information expansion memory,
Management information expansion data generation processing means for additionally writing as management information expansion data, a stream buffer for temporarily storing a multiplexed stream output from the moving picture audio compression and multiplexing processing means, and multiplexed data from the stream buffer to the file system management means, A stream buffer management unit that instructs writing as a multiplexed stream file, a state management non-volatile memory that is a non-volatile memory that stores the progress of the recording process, a management information file, or an error in the multiplexed stream file Recovery processing means for recovering to a normal format, monitoring the state management non-volatile memory at the time of startup, and instructing to expand the management information file in the management information expansion memory according to the state; Repair management information files and multiplexed stream files Or to combine multiple sets of image data files and management information files into one set, such as when shooting outdoors with a recording device such as a camera that records in real time, When the power supply is unexpectedly cut off and the recording is stopped, when the power is turned on again, it is determined whether or not the video data and audio data recorded on the recording medium and the management information data are to be restored to a predetermined format. Configure to select.

【0027】さらに上記目的を達成するために本発明で
は、状態記憶用のメモリを設け、より細かな状態判別用
フラグを記憶させるように構成し、修復動作において該
状態判別用フラグに応じて必要なデータ位置からストリ
ームデータを順次解析し、管理情報ファイル及びオーデ
ィオ/ビデオのビットストリームファイル(以降AVデ
ータファイルとも呼ぶ)自身を修復するように構成す
る。また中途で不良箇所があった場合には、該当する部
分を含む適当な符号化単位を切り捨ててAVデータファ
イルを修復するように構成する。あるいはストリームデ
ータの中途に不良箇所があった場合でも、当該箇所を切
り捨てず、管理情報を不具合のない形に修正することに
より、以降の記録再生に不具合がないように管理情報フ
ァイル及びAVデータファイルの修復を行うように構成
する。
Further, in order to achieve the above object, according to the present invention, a memory for storing a state is provided, and a finer state determining flag is stored. The stream data is sequentially analyzed from various data positions, and the management information file and the audio / video bit stream file (hereinafter also referred to as AV data file) themselves are repaired. If a defective portion is found halfway, an appropriate coding unit including the corresponding portion is truncated to restore the AV data file. Alternatively, even if there is a defective part in the middle of the stream data, the relevant part is not truncated and the management information is corrected so as to have no defect. It is configured to perform repair.

【0028】また、本発明の情報記録再生方法において
は、少なくともビデオ符号化データとオーディオ符号化
データとを多重化する記録データ多重化ステップと、前
記記録データ多重化するステップから出力されるデータ
を記憶する記録データ記憶ステップと、記録媒体に記録
されたデータを再生するための管理情報を生成するため
に必要なデータを生成する管理情報生成用データ生成ス
テップと、前記管理情報生成用データ生成ステップから
の出力に基づき前記管理情報を生成する管理情報生成ス
テップと、前記管理情報を記憶する管理情報記憶ステッ
プと、前記管理情報記憶ステップで記憶された前記管理
情報を読出すステップと、少なくとも前記記録データ記
憶ステップにて記憶された情報、または前記管理情報記
憶ステップにて記憶された情報を記録媒体に記録、また
は読出す記録媒体ドライブ処理ステップと、記録処理の
状態を示す状態情報を記憶する記録状態記憶ステップ
と、前記記録状態記憶ステップにて記憶された前記状態
情報を読出すステップとを有するものとする。
Further, in the information recording / reproducing method of the present invention, a recording data multiplexing step of multiplexing at least video coded data and audio coded data, and data output from the recording data multiplexing step are A recording data storage step for storing; a management information generation data generation step for generating data necessary for generating management information for reproducing data recorded on a recording medium; and the management information generation data generation step A management information generation step of generating the management information based on an output from the storage device; a management information storage step of storing the management information; a step of reading the management information stored in the management information storage step; The information stored in the data storage step or the information stored in the management information storage step A recording medium drive processing step of recording or reading the recorded information on a recording medium, a recording state storage step of storing state information indicating a state of the recording processing, and the state information stored in the recording state storage step. Reading step.

【0029】さらに、本発明の情報記録再生方法は、前
記情報記録再生方法において、情報を前記記録媒体に記
録、または読出す前記記録媒体ドライブ処理ステップ
と、前記記録媒体から読出された情報からビデオ符号化
データとオーディオ符号化データとを分離する記録デー
タ分離化ステップと、前記記録データ分離化ステップか
ら得られるデータに基づいて前記記録媒体に記録された
データを再生するための管理情報を生成するために必要
なデータを生成する前記管理情報生成用データ生成ステ
ップと、前記管理情報生成用データ生成ステップからの
出力に基づき前記管理情報を生成する前記管理情報生成
ステップと、前記管理情報を記憶する前記管理情報記憶
ステップと、前記管理情報生成ステップからの管理情報
記憶ステップに出力する、または管理情報記憶ステップ
にて記憶された前記管理情報を読出すステップと、前記
記録媒体から読出された情報から前記管理情報を読出
し、前記管理情報記憶ステップに出力する管理情報読出
しステップと、前記管理情報生成ステップから出力され
た情報を前記記録媒体に記録するステップと、記録処理
の状態を示す状態情報を記憶する記録状態記憶ステップ
と、前記記録状態記憶ステップにて記憶された前記状態
情報を読出すステップとを設けるものとする。
Further, in the information recording / reproducing method according to the present invention, in the information recording / reproducing method, the recording medium drive processing step of recording or reading information on or from the recording medium; A recording data separating step of separating encoded data and audio encoded data; and generating management information for reproducing data recorded on the recording medium based on the data obtained from the recording data separating step. The management information generating data generating step for generating data necessary for the management information generating step; the management information generating step for generating the management information based on an output from the management information generating data generating step; and storing the management information. Output to the management information storage step and the management information storage step from the management information generation step Or reading the management information stored in the management information storage step, reading the management information from the information read from the recording medium, and outputting the management information to the management information storage step, Recording the information output from the management information generating step on the recording medium; a recording state storing step for storing state information indicating a state of a recording process; and the state information stored in the recording state storing step And the step of reading

【0030】[0030]

【発明の実施の形態】以下、本発明の第一の実施例につ
いて図面を用いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.

【0031】なお、以下の説明においては、本発明の情
報記録再生装置を情報記録再生装置として説明するだけ
でなく、記録装置、もしくは、記録情報修復装置として
も、説明する。
In the following description, the information recording / reproducing apparatus of the present invention will be described not only as an information recording / reproducing apparatus but also as a recording apparatus or a recorded information restoring apparatus.

【0032】図1は本発明の第一の実施例である記録装
置のブロック図である。
FIG. 1 is a block diagram of a recording apparatus according to a first embodiment of the present invention.

【0033】図1に示す第一の実施例の記録装置は、ア
ナログビデオデータの入力端子10、アナログオーディ
オデータの入力端子20、ビデオ符号化処理30、オー
ディオ符号化処理40、ビデオ/オーディオ/管理情報多
重化処理50、ストリームバッファ60、管理情報生成
処理70、記録媒体ドライブ処理80、揮発性管理情報
展開メモリ90、管理情報展開処理100、統合管理処
理110、不揮発性記録状態メモリ120、記録媒体1
30から構成される。
The recording apparatus of the first embodiment shown in FIG. 1 has an input terminal 10 for analog video data, an input terminal 20 for analog audio data, a video encoding process 30, an audio encoding process 40, a video / audio / management. Information multiplexing processing 50, stream buffer 60, management information generation processing 70, recording medium drive processing 80, volatile management information expansion memory 90, management information expansion processing 100, integrated management processing 110, nonvolatile recording state memory 120, recording medium 1
30.

【0034】ビデオやオーディオデータを圧縮処理する
方式として、例えばMPEG方式(Motion Pi
cture Experts Group)がある。M
PEG方式では、ランダムアクセスや、特殊再生に対応
した形式ではあるが、それらを実現し易い方式ではな
い。そのため、MPEG方式を採用して、ビデオやオー
ディオデータを圧縮し、記録媒体に記録するとき、ラン
ダムアクセスや、特殊再生を実現するためには、圧縮さ
れたビットストリームの情報だけではなく、それ以外
に、ランダムアクセスや、特殊再生のための管理情報デ
ータを作成して、記録媒体に記録する必要がある。例え
ば、ビデオやオーディオデータをMPEG方式で圧縮し
て、記録媒体に記録した場合の、記録媒体上に記録され
るデータのファイル構成を図2に示している。
As a method for compressing video and audio data, for example, the MPEG method (Motion Pi
culture Experts Group). M
The PEG system is a format compatible with random access and special reproduction, but is not a system that can easily realize them. Therefore, when video and audio data are compressed by using the MPEG method and recorded on a recording medium, random access and special reproduction are realized by not only information of a compressed bit stream but also other information. In addition, it is necessary to create management information data for random access and trick play, and record it on a recording medium. For example, FIG. 2 shows a file configuration of data recorded on a recording medium when video or audio data is compressed by the MPEG method and recorded on a recording medium.

【0035】例えば、ビデオカメラでビデオやオーディ
オデータを記録するとき、ユーザから記録装置の記録開
始ボタンを押されると記録媒体への記録を開始して、ユ
ーザから記録装置の記録終了ボタンを押されると記録媒
体への記録を終了する。記録開始から終了までの期間を
記録単位と呼ぶことにする。記録開始と記録終了の動作
を繰り返し行うことで、記録媒体にMPEG形式のビッ
トストリーム(以下、単にビットストリームと呼ぶ)が
追記されていくことになる。このとき、ビデオとオーデ
ィオの多重化の形式は、MPEGシステムのプログラム
ストリームの形式であり、その形式で記録媒体に記録す
る。
For example, when recording video or audio data with a video camera, when the recording start button of the recording device is pressed by the user, recording on the recording medium is started, and the recording end button of the recording device is pressed by the user. And the recording on the recording medium is terminated. The period from the start to the end of recording is called a recording unit. By repeating the recording start and recording end operations, an MPEG-format bit stream (hereinafter simply referred to as a bit stream) is additionally recorded on the recording medium. At this time, the format of the multiplexing of the video and the audio is the format of the program stream of the MPEG system, and is recorded on the recording medium in that format.

【0036】図2に示すように、記録媒体上に構成され
るファイルは、管理情報ファイル200、ビットストリ
ームファイル210および管理情報バックアップファイ
ル220である。管理情報ファイル200は、記録単位
毎にビットストリームに関する管理情報が記録されてい
る。ビットストリームファイル210は、記録単位毎の
ビットストリームデータが連続的に一ファイル上に記録
されている。管理情報バックアップファイル220は、
管理情報ファイル200と全く同一の情報が記録されて
いて、管理情報ファイル200が読めないときのための
ファイルである。
As shown in FIG. 2, the files configured on the recording medium are a management information file 200, a bit stream file 210, and a management information backup file 220. In the management information file 200, management information on a bit stream is recorded for each recording unit. In the bit stream file 210, bit stream data for each recording unit is continuously recorded on one file. The management information backup file 220 is
This is a file in which exactly the same information as the management information file 200 is recorded and the management information file 200 cannot be read.

【0037】以下、GOP、PTS、パック、パックヘ
ッダ、システムヘッダ、パケットヘッダ、Iピクチャ、
Pピクチャ、Bピクチャ、フレーム、フィールド、エレ
メンタリストリーム等、MPEG規格に使用されている
ような単語については、特に断ることなく使用する。
Hereinafter, GOP, PTS, pack, pack header, system header, packet header, I picture,
Words such as P pictures, B pictures, frames, fields, elementary streams and the like used in the MPEG standard are used without any particular notice.

【0038】管理情報ファイルについて説明する。管理
情報ファイル200はランダムアクセスや特殊再生を考
慮した形式になっており、そのデータ構成の例を図3に
示している。管理情報ファイル200は、記録単位毎に
ビットストリームに関する情報が記録されている。図3
に示すように、管理情報ファイル200は、記録単位情
報#1、記録単位情報#2…記録単位情報#i…記録単
位情報#Mで構成される。
The management information file will be described. The management information file 200 has a format considering random access and trick play, and FIG. 3 shows an example of the data configuration. The management information file 200 records information on a bit stream for each recording unit. FIG.
As shown in the figure, the management information file 200 is composed of recording unit information # 1, recording unit information # 2, recording unit information #i, recording unit information #M.

【0039】図3では、記録単位情報#1、記録単位情
報#2…記録単位情報#i…記録単位情報#Mを含む情
報を全記録情報300として示している。
In FIG. 3, information including recording unit information # 1, recording unit information # 2, recording unit information #i, recording unit information #M is shown as all recording information 300.

【0040】全記録情報300における記録単位情報#
iはさらに細かく分類され、その構成の例を図4に示し
ている。図4に示すように、記録単位情報#Iは、記録
単位総合情報400、時間情報#1、単位時間情報#2
…単位時間情報#i…単位時間情報#N、GOP情報#
1、GOP情報#2…GOP情報#i…GOP情報#O
で構成される。
Recording unit information # in all recording information 300
i is further subdivided, and an example of its configuration is shown in FIG. As shown in FIG. 4, the recording unit information #I includes recording unit general information 400, time information # 1, and unit time information # 2.
... Unit time information #i ... Unit time information #N, GOP information #
1, GOP information # 2 ... GOP information #i ... GOP information #O
It consists of.

【0041】ここで、図4では、時間情報#1、時間情
報#2…時間情報#i…時間情報#Nを含む情報を時間
情報410として示している。また、図4では、GOP
情報#1、GOP情報#2…GOP情報#i…GOP情
報#Oを含む情報をGOP情報420として示してい
る。
In FIG. 4, information including time information # 1, time information # 2,... Time information #i, time information #N is shown as time information 410. Also, in FIG.
Information including information # 1, GOP information # 2 ... GOP information #i ... GOP information #O is shown as GOP information 420.

【0042】記録単位総合情報400はさらに細かく分
類され、その構成の例を図5に示している。
The recording unit comprehensive information 400 is further subdivided, and an example of its structure is shown in FIG.

【0043】図5に示すように、記録単位総合情報40
0は、記録開始時刻500、先頭画像のPTS510、
末尾画像のPTS520、先頭データアドレス530、
記録単位データサイズ540、単位時間情報総数55
0、GOP総数560から構成される。記録開始時刻5
00は、記録単位が記録開始された時刻である。先頭画
像のPTS510は、記録単位の表示先頭フレームのP
TSである。末尾画像のPTS520は、記録単位の表
示最終フレームのPTSに、一フレーム表示期間を加え
た値である。先頭データアドレス530は、記録単位#
iのビットストリームの先頭データのビットストリーム
ファイル210上のアドレスである。一アドレスは、2
048バイトで構成される一パックに対応する。つま
り、この一アドレスは2048バイトのデータ長に対応
する。記録単位データサイズ540は記録単位#iのデ
ータサイズである。アドレスと同様に、一データサイズ
は2048バイトで構成される一パックに対応する。単
位時間情報総数550は、記録単位#iに含まれる単位
時間情報の個数である。GOP総数560は、記録単位
#iに含まれるGOPの個数である。
As shown in FIG. 5, the recording unit comprehensive information 40
0 is the recording start time 500, the PTS 510 of the first image,
PTS 520 of the end image, start data address 530,
Recording unit data size 540, total unit time information 55
0, the total number of GOPs is 560. Recording start time 5
00 is the time at which the recording unit started recording. The PTS 510 of the first image is the PTS of the display first frame of the recording unit
TS. The PTS 520 of the last image is a value obtained by adding one frame display period to the PTS of the display last frame of the recording unit. The head data address 530 is the recording unit #
The address of the head data of the bit stream of i in the bit stream file 210. One address is 2
This corresponds to one pack composed of 048 bytes. That is, this one address corresponds to a data length of 2048 bytes. The recording unit data size 540 is the data size of the recording unit #i. Like the address, one data size corresponds to one pack composed of 2048 bytes. The total unit time information 550 is the number of unit time information included in the recording unit #i. The total number of GOPs 560 is the number of GOPs included in the recording unit #i.

【0044】単位時間情報#iは、さらに細かく分類さ
れ、その構成の例を図6に示している。図6に示すよう
に、単位時間情報#iは、GOP数600、先頭アドレ
スデータ610から構成される。単位時間とは固定の時
間長であり、ある記録単位の途中にランダムアクセスす
るときに、そのビットストリームファイル上のアドレス
を計算する演算量を減らすために使われる。例えば、1
0秒間という値が適当である。GOP数600は、単位
時間情報#iの先頭のGOPの記録単位#iの先頭から
のGOPの個数である。先頭アドレスデータ610は、
ビットストリームファイル上の記録単位#iの先頭デー
タからの相対アドレスである。
The unit time information #i is further subdivided, and an example of its configuration is shown in FIG. As shown in FIG. 6, the unit time information #i includes 600 GOPs and head address data 610. The unit time is a fixed time length, and is used to reduce the amount of calculation for calculating an address on a bit stream file when random access is performed in the middle of a certain recording unit. For example, 1
A value of 0 seconds is appropriate. The GOP number 600 is the number of GOPs from the head of the recording unit #i of the head GOP of the unit time information #i. The start address data 610 is
This is a relative address from the head data of the recording unit #i on the bit stream file.

【0045】GOP情報#iは、さらに細かく分類さ
れ、その構成の例を図7に示している。図7に示すよう
に、GOP情報#iは、Iピクチャサイズ710、GO
P再生時間720、GOPサイズ730から構成され
る。Iピクチャサイズ710は、図8に示すように、G
OPの先頭からIピクチャデータの最後データが含まれ
るパックまでのサイズである。アドレスと同様に、一デ
ータサイズは2048バイトで構成される一パックに対
応する。GOP再生時間720は、GOPの再生時間を
フィールド単位で示した値である。GOPサイズ730
は、図8に示すように、GOPのデータサイズである。
アドレスと同様に、一データサイズは2048バイトで
構成される一パックに対応する。
The GOP information #i is further subdivided, and an example of its configuration is shown in FIG. As shown in FIG. 7, the GOP information #i includes an I picture size 710, GO picture
A P playback time 720 and a GOP size 730 are provided. The I picture size 710 is, as shown in FIG.
This is the size from the head of the OP to the pack including the last data of the I picture data. Like the address, one data size corresponds to one pack composed of 2048 bytes. The GOP playback time 720 is a value indicating the playback time of the GOP in field units. GOP size 730
Is the data size of the GOP, as shown in FIG.
Like the address, one data size corresponds to one pack composed of 2048 bytes.

【0046】ビットストリームファイル210について
説明する。ビットストリームファイル210は、記録単
位毎のビットストリームデータが連続的に一ファイル上
に記録されている。ビットストリームファイル210上
のある記録単位の構成の例を図8に示す。図8に示すよ
うに、ある記録単位はいくつかのGOPから構成され
る。GOPは、その先頭の一パックに管理情報パック8
00が配置され、管理情報ファイル200を作成するた
めに必要な情報が記録され、その次のパックからIピク
チャかオーディオデータが記録される。さらのその次か
らは、Pピクチャ、Bピクチャ、オーディオデータが記
録される。
The bit stream file 210 will be described. In the bit stream file 210, bit stream data for each recording unit is continuously recorded on one file. FIG. 8 shows an example of the configuration of a certain recording unit on the bit stream file 210. As shown in FIG. 8, a certain recording unit is composed of several GOPs. The GOP has a management information pack 8 in the first pack.
00 is arranged, information necessary for creating the management information file 200 is recorded, and an I picture or audio data is recorded from the next pack. After that, a P picture, a B picture, and audio data are recorded.

【0047】管理情報パック800の構成の例を図9に
示している。パックヘッダ900、システムヘッダ91
0、パケットヘッダ920、管理情報識別子930、G
OP記録開始時刻940、GOPナンバ950、GOP
先頭画像PTS960、GOP末尾画像PTS970、
GOPサイズ980、Iピクチャサイズ990から構成
される。パックヘッダ900、システムヘッダ910、
パケットヘッダ920はMPEGプログラムストリーム
に準拠しており、パケットヘッダ920には、ビデオパ
ックでもオーディオパックでもない、ユーザ定義が許さ
れているプライベートパックであることを示す情報が記
録されている。
FIG. 9 shows an example of the configuration of the management information pack 800. Pack header 900, system header 91
0, packet header 920, management information identifier 930, G
OP recording start time 940, GOP number 950, GOP
The first image PTS960, the GOP last image PTS970,
It comprises a GOP size 980 and an I picture size 990. Pack header 900, system header 910,
The packet header 920 conforms to the MPEG program stream, and the packet header 920 records information indicating that the packet is neither a video pack nor an audio pack, and is a private pack for which user definition is permitted.

【0048】記録単位管理情報識別子930は、本発明
の記録装置が記録したことを示す独特の識別子で、例え
ば、32ビット長で、”18273645H”などが適
当である。
The recording unit management information identifier 930 is a unique identifier indicating that the recording has been performed by the recording apparatus of the present invention, and is, for example, 32 bits long and "18273645H" is appropriate.

【0049】GOP記録開始時刻940は、GOPの記
録開始の時刻である。GOPナンバ950は、管理情報
パック800の記録されている一つ前のGOPがその記
録単位の先頭から何番目のGOPであるかを示した値で
ある。GOP先頭画像PTS960は、管理情報パック
800の記録されている一つ前のGOPの先頭の表示フ
レームのPTSである。GOP末尾画像PTS970
は、管理情報パック800の記録されている一つ前のG
OPの末尾の表示フレームのPTSに、一フレーム期間
を加えたPTSである。GOPサイズ980は、管理情
報パック800の記録されている一つ前のGOPのデー
タサイズである。Iピクチャサイズ990は、管理情報
パックの記録されている一つ前のGOPのIピクチャサ
イズである。このように管理情報パック800の記録さ
れている一つ前のGOPに関する情報が記録されてい
る。ある記録単位の先頭GOPの先頭管理情報パック8
00のGOP記録開始時刻940およびGOPナンバ9
50は有効なデータを記録し、GOPナンバの値は”
0”とする。GOP先頭画像PTS960、GOP末尾
画像PTS970、GOPサイズ980およびIピクチ
ャサイズ990の値は特に規定せず、無効データとして
扱う。
The GOP recording start time 940 is the time at which GOP recording starts. The GOP number 950 is a value indicating the order of the GOP from the beginning of the recording unit of the immediately preceding GOP recorded in the management information pack 800. The GOP head image PTS 960 is the PTS of the head display frame of the immediately preceding GOP recorded in the management information pack 800. GOP end image PTS970
Is the previous G recorded in the management information pack 800
This is a PTS obtained by adding one frame period to the PTS of the display frame at the end of the OP. The GOP size 980 is the data size of the immediately preceding GOP recorded in the management information pack 800. The I picture size 990 is the I picture size of the immediately preceding GOP in which the management information pack is recorded. As described above, information on the immediately preceding GOP recorded in the management information pack 800 is recorded. Head management information pack 8 of the head GOP of a certain recording unit
00 GOP recording start time 940 and GOP number 9
50 records valid data, and the value of the GOP number is "
0 ". The values of the GOP start image PTS 960, the GOP end image PTS 970, the GOP size 980, and the I picture size 990 are not particularly defined and are treated as invalid data.

【0050】図1に示す記録装置は、上記の管理情報フ
ァイル200、ストリームデータファイル210、管理
情報バックアップファイル220を記録媒体に記録する
装置である。
The recording device shown in FIG. 1 is a device for recording the management information file 200, stream data file 210, and management information backup file 220 on a recording medium.

【0051】以下、図1の記録装置の詳細な説明をす
る。
Hereinafter, the recording apparatus of FIG. 1 will be described in detail.

【0052】アナログビデオデータの入力端子10か
ら、アナログビデオデータが入力され、ビデオ符号化処
理30へ転送される。ビデオ符号化処理30は、アナロ
グビデオデータを所定の符号化形式に従い符号化する。
本実施例では、例として、MPEG方式を採用する。M
PEG方式で圧縮符号化されたビデオデータは、ビデオ
エレメンタリストリームとして、ビデオ/オーディオ/管
理情報多重化処理50に転送される。アナログオーディ
オデータ入力端子20から、アナログオーディオデータ
が入力され、オーディオ符号化処理40ヘ転送される。
The analog video data is input from the analog video data input terminal 10 and transferred to the video encoding processing 30. The video encoding processing 30 encodes analog video data according to a predetermined encoding format.
In this embodiment, the MPEG system is adopted as an example. M
The video data compressed and encoded by the PEG method is transferred to a video / audio / management information multiplexing process 50 as a video elementary stream. Analog audio data is input from the analog audio data input terminal 20 and transferred to the audio encoding processing 40.

【0053】オーディオ符号化修理40は、アナログオ
ーディオデータを所定の符号化形式に従い符号化する。
本実施例では、ビデオデータと同様にMPEG方式を採
用する。MPEG方式で圧縮符号化されたオーディオデ
ータは、オーディオエレメンタリストリームとして、ビ
デオ/オーディオ/管理情報多重化処理50に転送され
る。ビデオ/オーディオ/管理情報多重化処理50に入力
されたビデオエレメンタリストリームとオーディオエレ
メンタリストリームは、MPEGプログラムストリーム
を生成するために、2048バイトでパケッタイズされ
たビデオパケッタイズエレメンタリストリーム(ビデオ
PES)とオーディオパケッタイズエレメンタリストリ
ーム(オーディオPES)を生成する。
The audio encoding repair 40 encodes analog audio data according to a predetermined encoding format.
In the present embodiment, the MPEG system is adopted as in the case of the video data. The audio data compressed and encoded by the MPEG system is transferred to the video / audio / management information multiplexing process 50 as an audio elementary stream. The video elementary stream and the audio elementary stream input to the video / audio / management information multiplexing processing 50 are converted to a video packetized elementary stream (video PES) packetized with 2048 bytes to generate an MPEG program stream. And an audio packetized elementary stream (audio PES).

【0054】また、図9に示すデータ構成の管理情報パ
ック800を生成する。ビデオPES、オーディオPE
S、管理情報パック800は、ストリームバッファ60
に、図8に示すパックの配置にしたがって、配置され
る。また、図9に示すデータ構造のうち、GOP記録開
始時刻940、GOPナンバ950、GOP先頭画像P
TS960、GOP末尾画像PTS970、GOPサイ
ズ980およびIピクチャサイズ990は、GOPを生
成する毎に、管理情報生成処理70に転送される。
Further, a management information pack 800 having the data configuration shown in FIG. 9 is generated. Video PES, audio PE
S, the management information pack 800 stores the stream buffer 60
Then, they are arranged according to the arrangement of the packs shown in FIG. In the data structure shown in FIG. 9, the GOP recording start time 940, the GOP number 950, the GOP top image P
The TS 960, the GOP end image PTS 970, the GOP size 980, and the I picture size 990 are transferred to the management information generation processing 70 every time a GOP is generated.

【0055】ストリームバッファ60にたまったビット
ストリームは、一定量たまると記録媒体ドライブ処理8
0を媒介して記録媒体130に書きこまれる。このビッ
トストリームは、図2に示すビットストリームファイル
210として、記録媒体130に書きこまれる。
When a certain amount of the bit stream stored in the stream buffer 60 is accumulated, the recording medium drive processing 8
0 is written to the recording medium 130 through the medium. This bit stream is written to the recording medium 130 as the bit stream file 210 shown in FIG.

【0056】管理情報展開処理100は、記録媒体13
0に書きこまれている図2に示す管理情報ファイル20
0を記録媒体ドライブ処理80を媒介して読み出し、揮
発性管理情報展開メモリ90に展開する。揮発性管理情
報展開メモリ90は、電源が切断されると記憶が初期化
されるメモリである。管理情報データの処理は、記録媒
体130から直接でも良いが、揮発性管理情報展開メモ
リ90で処理したほうがアクセススピードが速い。
The management information expanding process 100 is performed in the recording medium 13
The management information file 20 shown in FIG.
0 is read out via the recording medium drive processing 80 and expanded in the volatile management information expansion memory 90. The volatile management information development memory 90 is a memory whose storage is initialized when the power is turned off. The processing of the management information data may be directly from the recording medium 130, but the processing speed in the volatile management information development memory 90 is faster.

【0057】本実施例の記録装置の電源が投入されたと
き、その後にまず、記録媒体130の管理情報ファイル
200が揮発性管理情報展開メモリ90に展開される。
管理情報生成処理70は記録開始から終了までに、ビデ
オ/オーディオ/管理情報多重化処理50から転送される
データと、揮発性管理情報展開メモリ90に展開されて
いるデータから、図3、図4、図5、図6、図7に示し
た管理情報を更新し、揮発性管理情報展開メモリ90の
情報を書きかえる。記録が終了したときに、揮発性管理
情報展開メモリ90のデータが、管理情報ファイル20
0として、記録媒体ドライブ処理80を媒介して、記録
媒体130に上書きされる。さらに、管理情報ファイル
のコピーを管理情報バックアップファイル220に上書
きする。
When the power of the recording apparatus of this embodiment is turned on, first, the management information file 200 of the recording medium 130 is developed in the volatile management information development memory 90.
The management information generation processing 70 is based on the data transferred from the video / audio / management information multiplexing processing 50 and the data developed in the volatile management information development memory 90 from the start to the end of the recording, as shown in FIGS. , FIG. 5, FIG. 6, and FIG. 7 are updated, and the information in the volatile management information development memory 90 is rewritten. When the recording is completed, the data in the volatile management information development memory 90 is stored in the management information file 20.
As 0, it is overwritten on the recording medium 130 via the recording medium drive processing 80. Further, the management information backup file 220 is overwritten with a copy of the management information file.

【0058】統合管理処理110は、ビデオ符号化処理
30、オーディオ符号化処理40、ビデオ/オーディオ/
管理情報多重化処理50、ストリームバッファ60、管
理情報生成処理70、記録媒体ドライブ処理80、揮発
性管理情報展開メモリ90、管理情報展開処理100の
状態を統合的に管理する。本実施例の処理系を図10に
示す状態に分類し、それぞれに符号を割り当てる。記録
媒体130の管理ファイルが揮発性管理情報展開メモリ
90に展開されたときから記録が開始されるまでの状態
を、管理情報展開状態1000として、符号”1”を割
り当てる。その後、記録開始されていない状態と記録開
始から記録終了して揮発性管理情報展開メモリ90のデ
ータが完全に更新されるまでの状態を、ストリーム記録
状態1010として、符号”2”を割り当てる。その
後、揮発性管理情報展開メモリ90のデータが完全に更
新されてから、記録媒体130の管理ファイルが完全に
上書きされるまでの状態を、管理情報展開メモリ更新状
態1020として、符号”3”を割り当てる。その後、
記録媒体130の管理ファイルが完全に上書きされてか
ら、それが、管理情報バックアップファイルにコピーさ
れるまでの状態を、記録媒体管理情報更新状態1030
として、符号”4”を割り当てる。その後、管理情報バ
ックアップファイル220に完全にコピーされた状態
を、正常終了状態1040として、符号”1”を割り当
てる。つまり、管理情報展開状態1000である。上記
状態が遷移したときに、統合管理処理110は、その符
号を不揮発性記録状態メモリ120に記録する。不揮発
性記録状態メモリ120は、電源が切断されても記憶が
初期化されないメモリである。
The integrated management process 110 includes a video encoding process 30, an audio encoding process 40, a video / audio /
The state of the management information multiplexing process 50, the stream buffer 60, the management information generation process 70, the recording medium drive process 80, the volatile management information development memory 90, and the management information development process 100 are integratedly managed. The processing system of this embodiment is classified into the states shown in FIG. 10, and codes are assigned to the respective states. The state from the time when the management file of the recording medium 130 is expanded in the volatile management information expansion memory 90 to the time when recording is started is assigned as a management information expansion state 1000, and the code “1” is assigned. Thereafter, a code “2” is assigned to a state in which recording has not been started and a state from the start of recording to the end of recording until data in the volatile management information development memory 90 is completely updated, as a stream recording state 1010. Thereafter, the state from the time when the data in the volatile management information development memory 90 is completely updated to the time when the management file on the recording medium 130 is completely overwritten is referred to as a management information development memory update state 1020, and the code “3” is set. assign. afterwards,
The state from the time when the management file of the recording medium 130 is completely overwritten until it is copied to the management information backup file is referred to as a recording medium management information update state 1030.
Is assigned the code "4". After that, the state in which the file is completely copied to the management information backup file 220 is assigned the code “1” as the normal end state 1040. That is, it is in the management information deployment state 1000. When the state transitions, the integrated management processing 110 records the code in the nonvolatile recording state memory 120. The nonvolatile recording state memory 120 is a memory whose storage is not initialized even when the power is turned off.

【0059】不揮発性状態メモリ120から符号を読み
出し、その状態を調べ、それに応じた処理を行うこと
で、予期せず電源供給が断たれ記録が中止されたときで
も、記録が中止されるまでのデータを修復することがで
きる。その修復方法を第二の実施例に示す。
The code is read from the non-volatile state memory 120, the state is checked, and processing is performed in accordance therewith, so that even if the power supply is unexpectedly cut off and the recording is stopped, it is possible to keep the recording until the recording is stopped. Data can be repaired. The repair method is shown in a second embodiment.

【0060】以下、本発明の第二の実施例について図面
を用いて詳細に説明する。
Hereinafter, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0061】図11は本発明の第二の実施例である記録
情報修復装置のブロック図である。
FIG. 11 is a block diagram of a recorded information restoring device according to a second embodiment of the present invention.

【0062】図11に示す記録情報修復装置は、管理情
報生成処理70、記録媒体ドライブ処理80、揮発性管
理情報展開メモリ90、管理情報展開処理100、統合
管理処理110、不揮発性記録状態メモリ120、記録
媒体130、ビデオ/オーディオ/管理情報分離化処理1
40から構成される。
The recording information restoring apparatus shown in FIG. 11 includes a management information generation process 70, a recording medium drive process 80, a volatile management information expansion memory 90, a management information expansion process 100, an integrated management process 110, and a nonvolatile recording state memory 120. , Recording medium 130, video / audio / management information separation processing 1
40.

【0063】第一の実施例で、不揮発性記録状態メモリ
120に記憶された符号に応じて、図12に示すような
場合分けがなされ、記録媒体130の情報を修復する処
理がなされる。
In the first embodiment, the cases are classified as shown in FIG. 12 according to the codes stored in the nonvolatile recording state memory 120, and the process of restoring the information of the recording medium 130 is performed.

【0064】1210で、符号が”1”のときは、正常
な状態であるので、通常記録処理を待機する状態128
0になる。
At step 1210, when the code is "1", the state is normal, and the state 128 is a state of waiting for normal recording processing.
It becomes 0.

【0065】1220または1230で、符号が”2”
または”3”のときは、正常に記録を終了しなかった状
態であるので、記録媒体130の情報を修復する処理が
なされる。このときの修復の処理を説明する。
In 1220 or 1230, the code is “2”
Alternatively, when the value is “3”, the recording has not been completed normally, and the process of restoring the information of the recording medium 130 is performed. The restoration process at this time will be described.

【0066】記録媒体130には記録が中断された記録
単位の前の記録単位までに対応した管理情報ファイル2
00である。ビットストリームファイル210は、記録
が中断されたときまでのビットストリームが記録されて
いる。記録媒体130から、記録媒体ドライブ処理80
を媒介して、管理情報ファイルが読み出され、管理情報
展開処理100に転送される。
The management information file 2 corresponding to the recording unit before the recording unit where the recording was interrupted is stored in the recording medium 130.
00. The bit stream file 210 records the bit stream up to the time when the recording was interrupted. The recording medium drive processing 80
The management information file is read out and transferred to the management information development processing 100 via the process.

【0067】管理情報展開処理100は、管理情報ファ
イル200を揮発性管理情報メモリ90に展開する。記
録媒体130から、記録媒体ドライブ処理80を媒介し
て、ビットストリームファイル210が読み出され、ビ
デオ/オーディオ/管理情報分離化処理140に転送され
る。このとき、ビットストリームファイルをすべて読み
出すのでは、時間がかかりすぎるため好ましくない。こ
の読み出す時間を短縮するために、必要なパックだけを
読み出す。ビットストリームファイルの末尾からヘッダ
を検索して、管理情報パック800を探す。見つけた管
理情報パック800の管理情報を、管理情報生成処理7
0に転送する。
The management information expanding process 100 expands the management information file 200 in the volatile management information memory 90. The bit stream file 210 is read from the recording medium 130 via the recording medium drive processing 80 and transferred to the video / audio / management information separation processing 140. At this time, reading all the bit stream files is not preferable because it takes too much time. In order to shorten the reading time, only necessary packs are read. The header is searched from the end of the bit stream file, and the management information pack 800 is searched. The management information of the found management information pack 800 is stored in a management information generation process 7
Transfer to 0.

【0068】次に、図9に示す管理情報パックのGOP
サイズ980の値から、ビットストリームファイル21
0上でこの管理情報パック800の一つ前の管理情報パ
ック800へジャンプし、その情報を管理情報生成処理
70に転送する。以後、図9に示す管理情報パック80
0のGOPナンバ950が”0”になるまで繰り返す。
管理情報生成処理70は、揮発性管理情報展開メモリ9
0のデータを更新する。
Next, the GOP of the management information pack shown in FIG.
From the value of the size 980, the bit stream file 21
On 0, the program jumps to the management information pack 800 immediately before this management information pack 800, and transfers the information to the management information generation processing 70. Thereafter, the management information pack 80 shown in FIG.
Repeat until the GOP number 950 of 0 becomes “0”.
The management information generation processing 70 is performed in the volatile management information development memory 9.
The data of 0 is updated.

【0069】次に、揮発性管理情報メモリ90のデータ
を、記録媒体130に書き込み、さらにそのコピーを管
理情報バックアップファイル220に書きこむ。
Next, the data in the volatile management information memory 90 is written to the recording medium 130, and a copy thereof is written to the management information backup file 220.

【0070】次に、統合管理処理110は、1270
で、不揮発性記録状態メモリに符号”1”を書き込み、
通常記録処理を待機する状態1280になる。
Next, the integrated management processing 110 proceeds to 1270
Then, the code "1" is written in the nonvolatile recording state memory,
A state 1280 for waiting for normal recording processing is entered.

【0071】1240で、符号が”4”のときは、記録
媒体130に管理情報ファイル200を正常に書きこん
だが、そのコピーを管理情報バックアップファイルに書
きこんでいない状態である。そのため、1260で、記
録媒体130の管理情報ファイル200のコピーを管理
情報バックアップファイル220に書きむ。次に、統合
管理処理110は、不揮発性記録状態メモリに符号”
1”を書き込み、通常記録処理を待機する状態1280
になる。
When the code is "4" in 1240, the management information file 200 has been normally written in the recording medium 130, but a copy thereof has not been written in the management information backup file. Therefore, at 1260, a copy of the management information file 200 of the recording medium 130 is written to the management information backup file 220. Next, the integrated management processing 110 stores a code “
State 1280 for writing 1 "and waiting for normal recording processing
become.

【0072】1210〜1240で、符号が”1”、”
2”、”3”、”4”のどれにも該当しないときは、不
揮発性状態記録メモリ120が初期化されていない状態
であるので、1250で、符号を”1”にセットする。
また、この装置をはじめて使うときは、当然、符号を”
1”にセットしなければならない。
In the reference numerals 1210 to 1240, the codes are "1" and "1".
If it does not correspond to any of 2 "," 3 ", and" 4 ", the code is set to" 1 "in 1250 because the nonvolatile state recording memory 120 has not been initialized.
When using this device for the first time, of course,
Must be set to 1 ".

【0073】以下、本発明の第三の実施例について図面
を用いて詳細に説明する。
Hereinafter, a third embodiment of the present invention will be described in detail with reference to the drawings.

【0074】図13は本発明の第三の実施例である編集
装置のブロック図である。
FIG. 13 is a block diagram of an editing apparatus according to a third embodiment of the present invention.

【0075】図13に示す第三の実施例の編集装置は、
記録媒体2010、記録媒体駆動処理部2020、ファ
イルシステム管理処理部2030、管理情報ファイル読
み出し処理部2040、管理情報ファイル書き込み処理
部2050、管理情報展開メモリ2060、結合処理部
2070、バックアップ管理情報読み出し処理部208
0、バックアップ管理情報展開メモリ2090から構成
される。
The editing apparatus according to the third embodiment shown in FIG.
Recording medium 2010, recording medium drive processing unit 2020, file system management processing unit 2030, management information file read processing unit 2040, management information file write processing unit 2050, management information expansion memory 2060, combination processing unit 2070, backup management information read processing Part 208
0, a backup management information expansion memory 2090.

【0076】例えば、DVD Video Recording規格(以下、
単にVR規格と呼ぶ)に準拠したストリームを扱う場合に
ついて説明する。
For example, the DVD Video Recording standard (hereinafter, referred to as the DVD Video Recording standard)
A case in which a stream conforming to the VR standard is simply described.

【0077】図14に示すように、VR規格では、記録媒
体上に、DVD_RTAVディレクトリ2200があり、その下
位階層にVR_MANGR.IFOファイル2210、VR_MOVIE.VRO
ファイル2220、VR_STILL.VROファイル2230、VR
_AUDIO.VROファイル2240、VR_MANGR.BUPファイル2
250が存在する。VR_MOVIE.VROファイル2220は動
画像ストリームデータのファイル、VR_STILL.VROファイ
ル2230は静止画ストリームデータまたは音声付静止
画ストリームデータのファイル、VR_AUDIO.VROファイル
2240はVR_STILL.VROファイル2230にオーディオ
ストリームを付加するための、オーディオストリームデ
ータのファイルである。VR_MANGR.IFOファイル2210
は、VR_MOVIE.VROファイル2220、VR_STILL.VROファ
イル2230、VR_AUDIO.VROファイル2240に、ラン
ダムアクセスや、早送り巻戻しといった特殊再生等をす
るのに必要なタイムコードとファイル位置の関連付けテ
ーブルや、ユーザインタフェースを通してユーザに表示
するための、テキスト情報や時刻情報等が記録されてい
る。VR_MANGR.BUPファイル2250は、VR_MANGR.IFOフ
ァイル2210の中のデータとまったく同一である。
As shown in FIG. 14, according to the VR standard, there is a DVD_RTAV directory 2200 on a recording medium, and the VR_MANGR.IFO file 2210 and VR_MOVIE.VRO
File 2220, VR_STILL.VRO file 2230, VR
_AUDIO.VRO file 2240, VR_MANGR.BUP file 2
There are 250. The VR_MOVIE.VRO file 2220 adds a video stream data file, the VR_STILL.VRO file 2230 adds a still image stream data or a still image stream data file with audio, and the VR_AUDIO.VRO file 2240 adds an audio stream to the VR_STILL.VRO file 2230. Audio stream data file. VR_MANGR.IFO file 2210
The VR_MOVIE.VRO file 2220, the VR_STILL.VRO file 2230, and the VR_AUDIO.VRO file 2240 have a time code and file position association table necessary for performing special reproduction such as random access and fast forward rewind, and a user interface. And text information and time information to be displayed to the user through the. The VR_MANGR.BUP file 2250 is exactly the same as the data in the VR_MANGR.IFO file 2210.

【0078】本実施例の記録媒体2010には、DVD_RT
AVディレクトリ2200のほかに、図15に示すよう
に、DVD_RTAV_BAKディレクトリ2300が存在する。DV
D_RTAV_BAKディレクトリ2300の下位階層には、DVD_
RTAVディレクトリ2200と同様に、VR_MANGR.IFOファ
イル2310、VR_MOVIE.VROファイル2320、VR_STI
LL.VROファイル2330、VR_AUDIO.VROファイル234
0、VR_MANGR.BUPファイル2350が存在する。DVD_RT
AV_BAKディレクトリ2300の下位階層にあるファイル
は、VR規格に準拠している。
The recording medium 2010 of this embodiment has a DVD_RT
In addition to the AV directory 2200, a DVD_RTAV_BAK directory 2300 exists as shown in FIG. DV
In the lower layer of the D_RTAV_BAK directory 2300, DVD_
Similarly to the RTAV directory 2200, the VR_MANGR.IFO file 2310, the VR_MOVIE.VRO file 2320, the VR_STI
LL.VRO file 2330, VR_AUDIO.VRO file 234
0, a VR_MANGR.BUP file 2350 exists. DVD_RT
The files in the lower hierarchy of the AV_BAK directory 2300 conform to the VR standard.

【0079】記録媒体2010に記録されたDVD_RTAVデ
ィレクトリ2200のVR_MANGR.IFOファイル2210
は、記録媒体駆動処理部2020によって読み出され、
ファイルシステム管理処理部2030で、ファイルとし
て認識される。
The VR_MANGR.IFO file 2210 of the DVD_RTAV directory 2200 recorded on the recording medium 2010
Is read by the recording medium drive processing unit 2020,
The file system management processing unit 2030 recognizes the file as a file.

【0080】管理情報ファイル読み出し処理部2040
は、ファイルシステム管理処理部2030から、DVD_RT
AVディレクトリ2200の下位階層にあるVR_MANGR.IFO
ファイル2210を読み出し、ファイル内に記述された
データを解釈し、管理情報展開データとして、管理情報
展開メモリ2060に書き込む。
Management information file read processing unit 2040
DVD_RT from the file system management processing unit 2030
VR_MANGR.IFO in the lower hierarchy of the AV directory 2200
The file 2210 is read, the data described in the file is interpreted, and written as management information expansion data in the management information expansion memory 2060.

【0081】記録媒体2010に記録されたDVD_RTAV_B
AKディレクトリ2300の下位階層にあるVR_MANGR.IFO
ファイル2310は、記録媒体駆動処理部2020によ
って読み出され、ファイルシステム管理処理部2030
で、ファイルとして認識される。
DVD_RTAV_B recorded on recording medium 2010
VR_MANGR.IFO under the AK directory 2300
The file 2310 is read by the recording medium drive processing unit 2020, and the file system management processing unit 2030
Is recognized as a file.

【0082】バックアップ管理情報ファイル読み出し処
理部2080は、ファイルシステム管理処理部2030
から、DVD_RTAV_BAKディレクトリ2300の下位階層に
あるVR_MANGR.IFOファイル2310を読み出し、ファイ
ル内に記述されたデータを解釈し、バックアップ管理情
報展開データとして、バックアップ管理情報展開メモリ
2090に書き込む。
The backup management information file read processing unit 2080 is provided with a file system management processing unit 2030.
Then, the VR_MANGR.IFO file 2310 in the lower hierarchy of the DVD_RTAV_BAK directory 2300 is read, the data described in the file is interpreted, and the data is written to the backup management information development memory 2090 as backup management information development data.

【0083】結合処理部2070は、管理情報展開メモ
リ2060に記憶された管理情報展開データと、バック
アップ管理情報展開メモリ2090に記憶されたバック
アップ管理情報展開データを、結合して、一つにまとめ
て新しい管理情報展開データを生成して、管理情報展開
メモリ2060に書き込む。
The combining processing unit 2070 combines the management information expanded data stored in the management information expanded memory 2060 and the backup management information expanded data stored in the backup management information expanded memory 2090 to combine them. New management information development data is generated and written to the management information development memory 2060.

【0084】DVD_RTAVディレクトリ2200の下位階層
にあるVR_MOVIE.VROファイル2220、VR_STILL.VROフ
ァイル2230、VR_AUDIO.VROファイル2240と、DV
D_RTAV_BAKディレクトリ2300の下位階層のVR_MOVI
E.VROファイル2320、VR_STILL.VROファイル233
0、VR_AUDIO.VROファイル2340を、記録媒体上のデ
ータの物理的配置はそのままで、ファイルシステムの情
報だけを変更して、それぞれのファイルをそれぞれ一つ
のファイルに結合する。前記ファイルの結合の結果、DV
D_RTAV_BAKディレクトリ2300の下位階層のVR_MOVI
E.VROファイル2320、VR_STILL.VROファイル233
0、VR_AUDIO.VROファイル2340ファイル、VR_MANG
R.IFOファイル2310、VR_MANGR.BUPファイル235
0は、DVD_RTAV_BAKディレクトリ2300ごと削除する
ようにファイルシステム管理処理部2030に命令し削
除する。もしくは、ファイルシステム管理処理部203
0にとって、DVD_RTAV_BAKディレクトリ2300内の前
記各ファイルを無効なものとして、設定するようにして
もよい。
The VR_MOVIE.VRO file 2220, the VR_STILL.VRO file 2230, the VR_AUDIO.VRO file 2240, and the DV in the lower hierarchy of the DVD_RTAV directory 2200
VR_MOVI in the lower hierarchy of the D_RTAV_BAK directory 2300
E.VRO file 2320, VR_STILL.VRO file 233
0, the VR_AUDIO.VRO file 2340 is combined with a single file by changing only the file system information while keeping the physical arrangement of the data on the recording medium. As a result of combining the files, DV
VR_MOVI in the lower hierarchy of the D_RTAV_BAK directory 2300
E.VRO file 2320, VR_STILL.VRO file 233
0, VR_AUDIO.VRO file 2340 files, VR_MANG
R.IFO file 2310, VR_MANGR.BUP file 235
0 instructs the file system management processing unit 2030 to delete the entire DVD_RTAV_BAK directory 2300 and deletes it. Alternatively, the file system management processing unit 203
0, the files in the DVD_RTAV_BAK directory 2300 may be set as invalid.

【0085】管理情報ファイル書き込み処理部2050
は、管理情報展開メモリ2060の管理情報展開データ
を、読み出し、ファイルシステム管理処理部2030
に、DVD_RTAVディレクトリ2200の下位階層に、VR_M
ANGR.IFOファイル2210として書き込むように命令し
書き込む。また、同様にVR_MANGR.BUPファイル2250
も書き込む。
Management information file write processing unit 2050
Reads the management information expansion data in the management information expansion memory 2060, and reads out the file system management processing unit 2030.
In the lower hierarchy of the DVD_RTAV directory 2200, VR_M
It instructs to write as an ANGR.IFO file 2210 and writes. Similarly, the VR_MANGR.BUP file 2250
Also write.

【0086】ファイルの結合、ファイルの削除、ファイ
ルの書き込みの命令を受けたファイルシステム管理処理
部2030は、記録媒体駆動処理部2020を駆動し
て、記録媒体2010にファイルの情報を書き込む。
The file system management processing unit 2030 that has received the command to combine the files, delete the files, and write the files drives the recording medium drive processing unit 2020 to write the file information to the recording medium 2010.

【0087】これにより、DVD_RTAVディレクトリ220
0の下位階層に記録されたVR規格のファイルと、DVD_RT
AV_BAKディレクトリ2300の下位階層に記録されたVR
規格のファイルを、結合し、一つにまとめることができ
る。
As a result, the DVD_RTAV directory 220
0 and a DVD standard file recorded in the lower layer of DVD_RT.
VR recorded in the lower hierarchy of the AV_BAK directory 2300
Standards files can be combined and combined into one.

【0088】なお、DVD_RTAV_BAKディレクトリ2300
のディレクトリ名、DVD_RTAV_BAKディレクトリの下位階
層にあるファイル名は、本実施例の名前に限定するわけ
ではない。どんな名前であろうと、どのディレクトリに
であろうと、本実施例で実現できる。
The DVD_RTAV_BAK directory 2300
Are not limited to the names in the present embodiment. Regardless of the name or the directory, it can be realized in this embodiment.

【0089】以下、本発明の第四の実施例について図面
を用いて詳細に説明する。第四の実施例は上記第三の実
施例に更に処理を追加したものである。
Hereinafter, a fourth embodiment of the present invention will be described in detail with reference to the drawings. The fourth embodiment is obtained by further adding processing to the third embodiment.

【0090】図16は本発明の第四の実施例である記録
装置のブロック図である。
FIG. 16 is a block diagram of a recording apparatus according to a fourth embodiment of the present invention.

【0091】図16に示す第四の実施例の記録装置は、
記録媒体2010、記録媒体駆動処理部2020、ファ
イルシステム管理処理部2030、管理情報ファイル読
み出し処理部2040、管理情報ファイル書き込み処理
部2050、管理情報展開メモリ2060、結合処理部
2070、バックアップ管理情報読み出し処理部208
0、バックアップ管理情報展開メモリ2090、動画像
圧縮符号化処理部2100、音声圧縮符号化処理部21
10、動画音声多重化処理部2120、管理情報展開デ
ータ生成処理部2130、ストリームバッファ214
0、ストリームバッファ管理処理部2150、起動処理
部2160、状態管理不揮発性メモリ2170、修復処
理部2180から構成される。
The recording apparatus according to the fourth embodiment shown in FIG.
Recording medium 2010, recording medium drive processing unit 2020, file system management processing unit 2030, management information file read processing unit 2040, management information file write processing unit 2050, management information expansion memory 2060, combination processing unit 2070, backup management information read processing Part 208
0, backup management information expansion memory 2090, video compression encoding processing section 2100, audio compression encoding processing section 21
10, video / audio multiplex processing unit 2120, management information expanded data generation processing unit 2130, stream buffer 214
0, a stream buffer management processing unit 2150, a startup processing unit 2160, a state management nonvolatile memory 2170, and a restoration processing unit 2180.

【0092】例えば、DVD Video Recording規格(以下、
単にVR規格と呼ぶ)に準拠したストリームを扱う場合に
ついて説明する。
For example, the DVD Video Recording standard (hereinafter, referred to as the DVD Video Recording standard)
A case in which a stream conforming to the VR standard is simply described.

【0093】図14に示すように、VR規格では、記録媒
体上に、DVD_RTAVディレクトリ2200があり、その下
位階層にVR_MANGR.IFOファイル2210、VR_MOVIE.VRO
ファイル2220、VR_STILL.VROファイル2230、VR
_AUDIO.VROファイル2240、VR_MANGR.BUPファイル2
250が存在する。VR_MOVIE.VROファイルは2220は
動画像ストリームデータのファイル、VR_STILL.VROファ
イル2230は静止画ストリームデータまたは音声付静
止画ストリームデータのファイル、VR_AUDIO.VRO224
0ファイルはVR_STILL.VROファイル2230にオーディ
オストリームを付加するための、オーディオストリーム
データのファイルである。VR_MANGR.IFOファイル221
0は、VR_MOVIE.VROファイル2220、VR_STILL.VROフ
ァイル2230、VR_AUDIO.VROファイル2240に、ラ
ンダムアクセスや、早送り巻戻しといった特殊再生等を
するのに必要なタイムコードとファイル位置の関連付け
テーブルや、ユーザインタフェースを通してユーザに表
示するための、テキスト情報や時刻情報等が記録されて
いる。VR_MANGR.BUPファイル2250は、VR_MANGR.IFO
ファイル2210の中のデータとまったく同一である。
As shown in FIG. 14, according to the VR standard, there is a DVD_RTAV directory 2200 on a recording medium, and the VR_MANGR.IFO file 2210 and VR_MOVIE.VRO
File 2220, VR_STILL.VRO file 2230, VR
_AUDIO.VRO file 2240, VR_MANGR.BUP file 2
There are 250. The VR_MOVIE.VRO file 2220 is a moving image stream data file, the VR_STILL.VRO file 2230 is a still image stream data or a still image stream data file with audio, and the VR_AUDIO.VRO 224
The file 0 is an audio stream data file for adding an audio stream to the VR_STILL.VRO file 2230. VR_MANGR.IFO file 221
0 indicates an association table between the VR_MOVIE.VRO file 2220, the VR_STILL.VRO file 2230, and the VR_AUDIO.VRO file 2240, which is a time code and file position association table necessary for performing special playback such as random access and fast-forward rewind. Text information, time information, and the like to be displayed to the user through the interface are recorded. VR_MANGR.BUP file 2250 is VR_MANGR.IFO
It is exactly the same as the data in the file 2210.

【0094】まず、記録の処理を説明する。First, the recording process will be described.

【0095】動画像圧縮符号化処理部2100は、アナ
ログの動画信号を圧縮符号化し、動画音声多重化処理部
2120に動画ストリームデータを転送する。
The moving image compression encoding unit 2100 compresses and encodes an analog moving image signal, and transfers the moving image stream data to the moving image audio multiplex processing unit 2120.

【0096】音声圧縮符号化処理部2110は、アナロ
グの音声信号を圧縮符号化し、動画音声多重化処理部2
120に音声ストリームデータを転送する。
The audio compression / encoding processing unit 2110 compresses and encodes an analog audio signal, and
The audio stream data is transferred to 120.

【0097】動画音声多重化処理部2120は、符号化
された動画ストリームデータと、符号化された音声スト
リームデータを多重化し、多重化ストリームデータとし
て、ストリームバッファ2140に転送する。ストリー
ムバッファ2140に多重化ストリームを転送する一方
で、VR規格に準拠したVR_MANGR.IFO2210を生成する
のに必要な情報を、管理情報展開データ生成処理部21
30に転送し、多重化ストリームの生成と、管理情報展
開データの生成を同時に行う。
The moving picture / audio multiplexing processing section 2120 multiplexes the coded moving picture stream data and the coded sound stream data, and transfers the multiplexed stream data to the stream buffer 2140 as multiplexed stream data. While transferring the multiplexed stream to the stream buffer 2140, information necessary to generate the VR_MANGR.IFO 2210 conforming to the VR standard is stored in the management information expanded data generation processing unit 21.
30 to generate a multiplexed stream and management information expanded data at the same time.

【0098】ストリームバッファ管理処理部2150
は、ストリームバッファ2140にたまったデータ量を
監視し、所定量たまったらストリームバッファ2140
から多重化ストリームデータを抜き出し、記録媒体20
10にファイルとして書き込むように、ファイルシステ
ム管理処理部2030に命令を出す。記録の種類に応じ
て、VR_MOVIE.VROファイル2220、VR_STILL.VROファ
イル2230、VR_AUDIO.VROファイル2240を選択
し、多重化ストリームデータを書き込む。
Stream buffer management processing unit 2150
Monitors the amount of data stored in the stream buffer 2140, and when a predetermined amount has been stored, the stream buffer 2140
Multiplexed stream data is extracted from the
An instruction is issued to the file system management processing unit 2030 so that the file system management processing unit 2030 is written as a file. The VR_MOVIE.VRO file 2220, VR_STILL.VRO file 2230, and VR_AUDIO.VRO file 2240 are selected according to the type of recording, and the multiplexed stream data is written.

【0099】管理情報展開データ生成処理部2130
は、記録中に動画音声多重化処理部2120から転送さ
れてくる情報をもとに、管理情報展開データを、管理情
報展開メモリ2060に生成する。
Management information development data generation processing unit 2130
Generates management information expansion data in the management information expansion memory 2060 based on the information transferred from the video / audio multiplex processing unit 2120 during recording.

【0100】記録が終了すると、管理情報ファイル書き
込み処理部2050は、管理情報展開メモリ2060の
管理情報展開データを、読み出し、ファイルシステム管
理処理部2030に、DVD_RTAVディレクトリ2200の
下位階層に、VR_MANGR.IFOファイル2210として書き
込むように命令し書き込む。また、同様にVR_MANGR.BUP
ファイル2250も書き込む。
When the recording is completed, the management information file writing processing unit 2050 reads the management information development data from the management information development memory 2060 and sends it to the file system management processing unit 2030 in the lower hierarchy of the DVD_RTAV directory 2200 in the VR_MANGR.IFO. It instructs to write as file 2210 and writes. Also, VR_MANGR.BUP
The file 2250 is also written.

【0101】状態管理不揮発性メモリ2170には、図
17に示すような状態が定義される。たとえば、正常に
記録が終了した状態を符号"0"として"正常終了状態"2
500と定義し、ストリームバッファ管理処理部215
0がストリームバッファ2140のデータをファイルと
して書き始めたときから記録が終了するまでの状態を符
号"1"として"ストリーム書き込み状態"2510と定義
し、記録が終了してVR_MANGR.IFOファイル2210を書
いている状態を符号"2"として"IFO書き込み状態"2
520と定義し、VR_MANGR.BUPファイル2250を書い
ている状態を符号"3"として"BUP書き込み状態"25
30と定義する。
The state management nonvolatile memory 2170 defines states as shown in FIG. For example, the state in which the recording has been completed normally is denoted by code “0”, and the “normally completed state” 2
500 and the stream buffer management processing unit 215
0 is defined as a “stream write state” 2510 with a code “1” from the start of writing data in the stream buffer 2140 as a file to the end of recording, and the recording is completed and the VR_MANGR.IFO file 2210 is written. The state in which data is written is “2” and “IFO write state” 2
520, and the state in which the VR_MANGR.BUP file 2250 is written is denoted by code “3”, and the “BUP write state” 25
Defined as 30.

【0102】ストリームバッファ管理処理部2150は
所定のタイミングで"ストリーム書き込み状態"2510
を、管理情報書き込み処理部2050は所定のタイミン
グで"正常終了状態"2500、"IFO書き込み状態"2
520、"BUP書き込み状態"2530を、状態管理不
揮発性メモリ2170に書き込む。 ファイルの書き込
みの命令を受けたファイルシステム管理処理部2030
は、記録媒体駆動処理部2020を駆動して、記録媒体
2010にファイルの情報を書き込む。
The stream buffer management processing unit 2150 executes the “stream write state” 2510 at a predetermined timing.
The management information write processing unit 2050 sends the “normal end state” 2500 and the “IFO write state” 2 at predetermined timing.
520, “BUP write state” 2530 is written to the state management nonvolatile memory 2170. File system management processing unit 2030 that has received a file write command
Drives the recording medium drive processing unit 2020 to write file information to the recording medium 2010.

【0103】ここで、もし本発明の記録装置の電源が不
慮に遮断された場合、その遮断された時に処理を行って
いた状態が状態管理不揮発性メモリ2170に書き込ま
れていることになる。例えば、"ストリーム書き込み状
態"にある時に、電源が不慮に遮断された場合、"ストリ
ーム書き込み状態"2510と定義する"1"として、状
態管理不揮発性メモリ2170に書き込まれている。
Here, if the power supply of the recording apparatus of the present invention is unexpectedly shut down, the state in which the processing was being performed at the time of the shut down is written in the state management nonvolatile memory 2170. For example, if the power is shut off unexpectedly while in the “stream write state”, the state is written in the state management nonvolatile memory 2170 as “1” defined as “stream write state” 2510.

【0104】従って、再度電源が入った時には、状態管
理不揮発性メモリ2170に書き込まれていた情報を参
照することによって、電源が不慮に遮断された際の記録
装置で実施していた処理の状態がわかる。即ち、状態管
理不揮発性メモリ2170に書き込まれていた情報
が、"1"であったならば、記録装置が"ストリーム書き
込み状態"2510の時に、電源が不慮に遮断されたこ
とがわかる。
Therefore, when the power is turned on again, by referring to the information written in the state management non-volatile memory 2170, the state of the processing executed by the recording apparatus when the power is accidentally shut down can be changed. Understand. That is, if the information written in the state management nonvolatile memory 2170 is “1”, it can be understood that the power supply was unexpectedly shut off when the recording apparatus was in the “stream write state” 2510.

【0105】起動処理部2160は、起動時に状態管理
不揮発性メモリ2170のデータを監視し、その状態に
応じて図18に示すフローチャートのように動作する。
The startup processing unit 2160 monitors data in the state management nonvolatile memory 2170 at the time of startup, and operates according to the state as shown in the flowchart of FIG.

【0106】記録装置の電源が入ると、起動処理部21
60は、2600から処理を開始する。2601で状態
管理不揮発性メモリ2170の状態が、"正常終了状態"
かどうかを判断し、"正常終了状態"ならば2602
へ、"正常終了状態"でなければ、2603でDVD_RTAVデ
ィレクトリ2200をDVD_RTAV_BAKディレクトリ230
0に名前を変更し、状態管理不揮発性メモリ2170の
状態を記録媒体2010の適当な場所に状態管理データ
として記録し、状態管理不揮発性メモリ2170の状態
を"正常終了状態"2500にセットし、2604へ遷移
する。
When the power of the recording apparatus is turned on, the activation processing section 21
60 starts the processing from 2600. In 2601, the state of the state management nonvolatile memory 2170 is changed to “normal end state”.
Is determined, and if "normal end state", 2602
If not, the DVD_RTAV directory 2200 is moved to the DVD_RTAV_BAK directory 230 in step 2603.
0, the state of the state management nonvolatile memory 2170 is recorded as state management data in an appropriate place of the recording medium 2010, and the state of the state management nonvolatile memory 2170 is set to a “normal end state” 2500. Transition is made to 2604.

【0107】上記では, 状態管理不揮発性メモリ217
0の状態を記録媒体2010の適当な場所に状態管理デ
ータとして記録する処理を行っている。しかしながら、
記録装置が処理を行う際に、予め状態管理不揮発性メモ
リ2170の状態を記録媒体2010の適当な場所に状
態管理データとして記録する処理を行ようにしておけ
ば、再度の電源を入れた時には、記録媒体2010の適
当な場所には、既に状態管理データとして記録されてい
ることとなる。従って、この場合には、再度電源を入れ
た時に、状態管理不揮発性メモリ2170の状態を記録
媒体2010の適当な場所に状態管理データとして記録
する処理を行わなくてもよい。
In the above description, the state management nonvolatile memory 217
A process of recording the state of 0 as state management data in an appropriate place of the recording medium 2010 is performed. However,
When the recording apparatus performs processing, if the processing of recording the state of the state management nonvolatile memory 2170 in advance to the appropriate location of the recording medium 2010 as state management data is performed, when the power is turned on again, In an appropriate place of the recording medium 2010, the state management data is already recorded. Therefore, in this case, when the power is turned on again, it is not necessary to perform a process of recording the state of the state management nonvolatile memory 2170 in a suitable place of the recording medium 2010 as state management data.

【0108】2602では記録媒体2010の上にDVD_
RTAV_BAKディレクトリ2300があるかどうかを調べ、
もしなければ2611へ遷移し、もしあれば2604へ
遷移する。つまり2604に遷移するときは、記録媒体
2010の中に正常に記録を終了せずに、DVD_RTAVディ
レクトリ2200をDVD_RTAV_BAK2300に変更してあ
る場合である。2604で正常に終了しなかったDVD_RT
AV_BAKディレクトリ2300の下位階層にあるデータを
正常終了した状態に修復し、現存のDVD_RTAVディレクト
リ2200のデータと結合するかどうかをユーザに尋
ね、もし修復するを選択された場合は、2605へ遷移
し、もし選択されない場合は、2611に遷移する。2
605では、記録媒体2010の適当な場所に状態管理
不揮発性メモリ2170の状態を予め状態管理データと
して記録されている状態管理データの状態が"ストリー
ム書き込み状態"2510かどうかを判断し、"ストリー
ム書き込み状態"2510であれば、2607でDVD_RTA
V_BAKディレクトリ2300の下位階層にあるVR_MOVIE.
VROファイル2320か、VR_STILL.VROファイル233
0か、VR_AUDIO.VROファイル2340のうちファイルの
末尾が途切れているものを見つけ、不要な部分を削除し
末尾を整形し、2608へ遷移する。もし2605で"
ストリーム書き込み状態"2510でなければ、260
6へ遷移する。2606は状態管理データの状態が"I
FO書き込み状態"2520かどうかを判断し、"IFO
書き込み状態"2520であれば、2608へ遷移す
る。もし、"IFO書き込み状態"2520でなければ2
609へ遷移し、DVD_RTAV_BAKディレクトリ2300の
下位階層にあるVR_MANGR.BUPファイル2350をVR_MAN
GR.IFOファイル2310にコピーして、2610へ遷移
する。2608はVR_MANGR.IFOファイル2310に情報
が記録されていない部分に必要な情報をVR_MOVIE.VROフ
ァイル2310か、VR_STILL.VROファイル2320か、
VR_AUDIO.VROファイル2330から取り出し、VR_MANG
R.IFOファイル2310を生成する。2610は第一の
実施例に示したようにDVD_RTAVディレクトリ2200と
DVD_RTAV_BAKディレクトリ2300を一つに結合して、
新たにDVD_RTAVディレクトリ2200を生成し、261
1へ遷移する、2611はDVD_RTAVディレクトリ220
0の下位階層にあるVR_MANGR.IFO2210を読み出すよ
うに、管理情報読み出し処理2040に命令を出し、2
612で起動処理を終了する。
In 2602, the DVD_
Check if there is an RTAV_BAK directory 2300,
If not, transition is made to 2611; if there is, transition is made to 2604. In other words, the transition to 2604 is a case where the DVD_RTAV directory 2200 has been changed to DVD_RTAV_BAK 2300 without normally finishing recording on the recording medium 2010. DVD_RT that did not end normally in 2604
The data in the lower hierarchy of the AV_BAK directory 2300 is restored to a normally ended state, and the user is asked whether to combine the data with the data in the existing DVD_RTAV directory 2200. If the restoration is selected, the process proceeds to 2605, If not selected, transition is made to 2611. 2
At 605, it is determined whether the state of the state management data in which the state of the state management nonvolatile memory 2170 is previously recorded as the state management data at an appropriate location on the recording medium 2010 is "stream write state" 2510, and "stream write state" is determined. If the status is "2510", DVD_RTA
VR_MOVIE. In the lower hierarchy of the V_BAK directory 2300.
VRO file 2320 or VR_STILL.VRO file 233
0 or finds a file in the VR_AUDIO.VRO file 2340 where the end of the file is interrupted, deletes unnecessary parts, shapes the end, and transitions to 2608. If 2605 "
If the stream writing state is not "2510", 260
Transition to 6. 2606 indicates that the status of the status management data is "I".
Judge whether the FO writing state is “2520”, and
If the write state is “2520”, the process transits to 2608. If the “IFO write state” is not 2520, 2
609, the VR_MANGR.BUP file 2350 in the lower hierarchy of the DVD_RTAV_BAK directory 2300 is copied to the VR_MAN.
Copy to GR.IFO file 2310 and transit to 2610. Reference numeral 2608 indicates whether the VR_MOVIE.VRO file 2310, the VR_STILL.VRO file 2320, or the VR_MOVIE.VRO file 2310 stores information necessary for a portion where information is not recorded in the VR_MANGR.IFO file 2310.
Extracted from VR_AUDIO.VRO file 2330, VR_MANG
An R.IFO file 2310 is generated. Reference numeral 2610 denotes a DVD_RTAV directory 2200 as shown in the first embodiment.
Merge the DVD_RTAV_BAK directory 2300 into one,
A new DVD_RTAV directory 2200 is created, and 261
1 to 261, DVD_RTAV directory 220
An instruction is issued to the management information read process 2040 so as to read the VR_MANGR.IFO 2210 in the lower hierarchy of
At 612, the activation process ends.

【0109】これにより、記録中に予期せず電源供給が
断たれ、記録が中止されたとき、その後に電源を入れた
ときに、必ず修復処理を実行しなくても、記録処理を開
始できることとなる。
As a result, when the power supply is unexpectedly interrupted during recording, the recording is stopped, and when the power is turned on thereafter, the recording process can be started without necessarily executing the restoration process. Become.

【0110】VR規格では、図14に示すように、記録媒
体上に、DVD_RTAVディレクトリ2200があり、その下
位階層にVR_MANGR.IFOファイル2210、VR_MOVIE.VRO
ファイル2220、VR_STILL.VROファイル2230、VR
_AUDIO.VROファイル2240、VR_MANGR.BUPファイル2
250が存在する。記録媒体上のDVD_RTAVディレクトリ
2200には、これらのファイルが複数存在すること
が、VR規格では許容されていない。従って、記録中に
予期せず電源供給が断たれ、記録が中止されたことで、
DVD_RTAVディレクトリ2200内のこれらのファイルが
正常に再生できない状態のファイルになっている場合
は、正常に再生できる状態に修復しない限り、記録を開
始することが出来なくなる場合がある。
In the VR standard, as shown in FIG. 14, a DVD_RTAV directory 2200 is provided on a recording medium, and a VR_MANGR.IFO file 2210 and a VR_MOVIE.VRO
File 2220, VR_STILL.VRO file 2230, VR
_AUDIO.VRO file 2240, VR_MANGR.BUP file 2
There are 250. The VR standard does not allow a plurality of these files to exist in the DVD_RTAV directory 2200 on the recording medium. Therefore, the power supply was unexpectedly cut off during recording and the recording was stopped,
If these files in the DVD_RTAV directory 2200 are in a state in which they cannot be normally reproduced, recording may not be started unless the file is restored to a state in which the files can be reproduced normally.

【0111】上記説明した実施例では、正常に再生でき
ない状態のファイルを含むDVD_RTAVディレクト
リの名称をDVD_RTAV_BAKディレクトリに変更
することで、記録を再度開始した時、新たな記録すべき
情報は、新たなDVD_RTAVディレクトリ内に、V
R規格に基づくファイルとして、新規に記録することが
可能となる。従って、正常に再生できない状態のファイ
ルを修復しなくても、記録を開始することが可能とな
る。
In the embodiment described above, by changing the name of the DVD_RTAV directory including the file that cannot be normally reproduced to the DVD_RTAV_BAK directory, when the recording is started again, the information to be newly recorded is the new DVD_RTAV. V in the directory
It becomes possible to newly record as a file based on the R standard. Therefore, recording can be started without repairing a file that cannot be normally reproduced.

【0112】また、上記説明した実施例では、名称変更
されたDVD_RTAV_BAKディレクトリ内にある正
常に再生できないファイルは、使用者の希望とする時
に、修復処理を実施し、DVD_RTAVディレクトリ
内のVR規格に基づくファイルに結合することができ
る。
In the above-described embodiment, a file which cannot be normally reproduced in the renamed DVD_RTAV_BAK directory is subjected to a restoration process at the request of the user, based on the VR standard in the DVD_RTAV directory. Can be combined into a file.

【0113】上述のように、上記説明した実施例では、
記録中に予期せず電源供給が断たれ、記録が中止された
とき、その後に電源を入れたときに、修復を実行するか
どうか選択でき、そこで修復を実行しないと選択して
も、次の記録を開始できる。修復には時間がかかること
があるため、カメラなどの記録装置で屋外撮影をしてい
るときなどは、予期せず電源供給が断たれ、記録が中止
されたとき、電源を入れ直すと修復が実行され同一の記
録媒体に次の記録をすぐにできないが、本実施例によ
り、同一の記録媒体であっても、再びすぐに記録を開始
できる。
As described above, in the embodiment described above,
When the power supply is unexpectedly interrupted during recording, the recording is stopped, and then when the power is turned on, you can select whether or not to perform the repair. You can start recording. Restoration can take time, so when shooting outdoors with a recording device such as a camera, the power supply is unexpectedly cut off, recording is stopped, and restoration is performed when the power is turned on again. Then, the next recording cannot be immediately performed on the same recording medium. However, according to the present embodiment, recording can be immediately started again even with the same recording medium.

【0114】従って、上記説明した実施例では、記録中
に予期せず電源供給が断たれ、記録が中止されたとき、
その後に電源を入れたときに、修復処理をすることな
く、速やかに記録が開始できるだけでなく、修復処理に
必要とする電力の供給もしなくてもよいので、記録処理
に必要とする電力の省電力化も図れることとなる。
Therefore, in the embodiment described above, when the power supply is unexpectedly cut off during recording and the recording is stopped,
When the power is subsequently turned on, the recording can be started immediately without performing the restoration process, and the power required for the restoration process does not have to be supplied. Electricity can also be achieved.

【0115】例えば、屋外にて、電池から電力供給を受
けてカメラで記録中に予期せず電源供給が断たれ、記録
が中止されたとき、その後に電源を入れたときに修復処
理の為に電池からの電力を消費することなく、記録処理
のために電力を使用することが可能となる。なお、正常
に再生できないファイルは、電池からの電力供給を受け
なくても、使用者の希望とする時に、例えば、屋内配線
から電力供給を受けて、修復処理を実施すればよいこと
となる。
For example, when the power supply is unexpectedly interrupted during recording by the camera while receiving power supply from the battery outdoors, the recording is stopped, and when the power is turned on thereafter, the restoration processing is performed. The power can be used for the recording process without consuming the power from the battery. For a file that cannot be normally reproduced, the restoration process may be performed at the request of the user, for example, by receiving power supply from the indoor wiring, without receiving power supply from the battery.

【0116】付け加えるならば、例えば、屋内配線から
電力を供給されて動作する据置き型の情報記録再生装置
においても、記録中に予期せず電源供給が断たれ、記録
が中止されたとき、その後に電源を入れたときに、修復
処理をすることなく、速やかに記録処理を開始すること
が可能となるので、上記説明した実施例は、据置き型の
情報記録再生装置においても、実施可能であり、有用で
ある。
In addition, for example, even in a stationary information recording / reproducing apparatus which operates by being supplied with power from the indoor wiring, when the power supply is unexpectedly cut off during recording and the recording is stopped, When the power is turned on, the recording process can be started immediately without performing the restoration process. Therefore, the above-described embodiment can be implemented in a stationary information recording / reproducing apparatus. Yes and useful.

【0117】前述の第一及び第二の実施形態では、記録
動作中の不慮の電源遮断が発生した場合に、再び電源供
給が行われたときの復帰動作において、前記不揮発性メ
モリに書き込まれている状態フラグを読み取り、これを
元に予めストリームデータに含まれた修復に必要な情報
を取り出してファイルの修復を行うという技術について
説明した。そこで続いて更なる改善を施し、記録動作中
に電源供給が断たれた後の復帰動作において、予め情報
を付加することなくストリームデータから管理情報ファ
イルとAVデータファイル自身を修復する方法について
説明し、さらに続いて、ストリームデータが一部破損し
ている場合でも、以降の記録再生動作に不具合が生じな
いように管理情報ファイル及びAVデータファイルを修
復する方法について説明する。
In the first and second embodiments described above, when an unexpected power supply interruption occurs during the recording operation, the data is written to the nonvolatile memory in the return operation when the power supply is performed again. The technique has been described in which a state flag is read, and based on this, information necessary for restoration included in the stream data is extracted in advance to restore the file. Accordingly, a method for restoring the management information file and the AV data file from the stream data without adding information in advance in the return operation after the power supply is cut off during the recording operation will be described. Next, a description will be given of a method of restoring the management information file and the AV data file so that even if the stream data is partially damaged, no trouble occurs in the subsequent recording / reproducing operation.

【0118】図20は前述の記録動作によりディスク上
に生成されるファイルについて、さらに詳しくディレク
トリ構造を説明するための図である。ルートディレクト
リ3200の下にリアルタイム記録用のサブディレクト
リ3201が配置され、生成された管理情報ファイルや
AVデータファイルは全てサブディレクトリ3201の
下に置かれる。管理情報ファイル3202には記録され
たAVデータの管理情報が書かれており、AVデータの
アドレス情報や属性情報、さらには符号化パラメータ情
報や編集時の再生リスト情報などが含まれる。動画像フ
ァイル3203は動画像データあるいは動画像データと
同録の音声データが符号化及び多重化されたストリーム
データが、AVデータとして記録されるファイルであ
り、新たに動画像データが記録される場合にも別ファイ
ルが生成されるのではなく、順次このファイルに追加さ
れる。また静止画像ファイル3204は静止画像データ
あるいは静止画像データと同録の音声データが符号化及
び多重化されたストリームデータが、AVデータとして
記録されるファイルであり、動画像データの場合と同様
に新たに静止画像データが記録される場合には、順次こ
のファイルに追加される。また管理情報バックアップフ
ァイル3205は管理情報ファイル3202と同一の内
容が書かれており、管理情報ファイル3202が破損し
た場合などのバックアップに用いられる。
FIG. 20 is a diagram for explaining the directory structure of the file generated on the disk by the above-described recording operation in more detail. A subdirectory 3201 for real-time recording is arranged under the root directory 3200, and all the generated management information files and AV data files are placed under the subdirectory 3201. The management information file 3202 describes management information of the recorded AV data, and includes address information and attribute information of the AV data, as well as encoding parameter information and play list information at the time of editing. The moving image file 3203 is a file in which stream data obtained by encoding and multiplexing moving image data or audio data recorded together with the moving image data is recorded as AV data, and when moving image data is newly recorded. Is not generated, but is added to this file sequentially. The still image file 3204 is a file in which still image data or stream data obtained by encoding and multiplexing audio data recorded together with still image data is recorded as AV data, and is a new file as in the case of moving image data. When still image data is recorded in the file, the still image data is sequentially added to this file. The management information backup file 3205 has the same contents as the management information file 3202, and is used for backup when the management information file 3202 is damaged.

【0119】ディスクからのAVデータの再生において
は、読み出し位置、あるいは画像データの属性など、全
て管理情報ファイル3202から得られる情報を元にし
て行われる。つまり、管理情報ファイル3202の内容
は動画像ファイル3203あるいは静止画像ファイル3
204の内容と厳密に対応している必要がある。しかし
前述の通り、例えばリアルタイム記録動作中の不慮の電
源遮断により記録が中止された場合、前記動画像ファイ
ル3203や静止画像ファイル3204、またはタイミ
ングによって管理情報ファイル3202は所定の形式を
満たさずにディスク上に記録されてしまい、夫々の内容
に不一致が発生する可能性がある。このような状態の管
理情報ファイル及びAVデータファイルを、AVデータ
ファイル自身には特別な情報を加えることなくデータ間
の不一致を修復する方法について、以下図面を用いて説
明する。
The reproduction of AV data from the disc is performed on the basis of information obtained from the management information file 3202, such as a read position or an attribute of image data. That is, the content of the management information file 3202 is the moving image file 3203 or the still image file 3203.
204 must correspond exactly. However, as described above, if the recording is stopped due to an accidental power-off during the real-time recording operation, for example, the moving image file 3203 or the still image file 3204, or the management information file 3202 does not satisfy the predetermined format depending on the timing and the disc is not recorded. There is a possibility that they will be recorded on top of each other and discrepancies will occur in their contents. A method of repairing a mismatch between data in the management information file and the AV data file in such a state without adding special information to the AV data file itself will be described below with reference to the drawings.

【0120】図19は本発明による、情報記録再生装置
の第五の実施形態を示すブロック図であり、3001は
入力部、3002は符号化・復号部(以降Codec部
と呼ぶ)、3003はユーザI/F、3004は制御
部、3005はプログラム用メモリ、3006は管理情
報展開用メモリ、3007はトラックバッファ、300
8はドライブ、3009は光ディスク、3010は出力
部、3011は状態記憶用メモリである。
FIG. 19 is a block diagram showing a fifth embodiment of the information recording / reproducing apparatus according to the present invention, where 3001 is an input section, 3002 is an encoding / decoding section (hereinafter referred to as a Codec section), and 3003 is a user. I / F, 3004, a control unit, 3005, a program memory, 3006, a management information development memory, 3007, a track buffer, 300
8 is a drive, 3009 is an optical disk, 3010 is an output unit, and 3011 is a state storage memory.

【0121】まず記録時の動作について説明する。入力
部3001において入力された画像データ及び音声デー
タは、Codec部3002において所定の符号化方式
により符号化され、情報量が圧縮されると共に順次多重
化される。多重化後のストリームデータは、符号化レー
トとドライブ3008の転送レートの差分を吸収するた
めにトラックバッファ3007に一旦蓄積され、ドライ
ブ3008より光ディスク3009に順次記録される。
ここでの記録は前述の通り、動画像データであれば動画
像ファイル3203として追記され、静止画像データで
あれば静止画像ファイル3204として追記される。制
御部3004はユーザI/F3003を介した操作者の
指示入力に基づき前記各部の制御動作を行うものであ
り、制御内容についてはプログラム用メモリ3005の
読み書きを行うことにより、適宜必要な内容がロードさ
れる。Codec部3002はひとまとめに示したが、
符号化の一部をハードウェアで行い、その他多重化まで
を前記制御部3004により制御されるソフトウェアで
行うというように、複合的な構成で実現される場合もあ
る。
First, the operation at the time of recording will be described. Image data and audio data input at the input unit 3001 are encoded by a codec unit 3002 according to a predetermined encoding method, and the information amount is compressed and multiplexed sequentially. The multiplexed stream data is temporarily stored in the track buffer 3007 to absorb the difference between the encoding rate and the transfer rate of the drive 3008, and is sequentially recorded on the optical disk 3009 by the drive 3008.
As described above, the recording here is additionally performed as a moving image file 3203 for moving image data and as a still image file 3204 for still image data. The control unit 3004 performs the control operation of each unit based on the instruction input of the operator via the user I / F 3003, and the necessary contents are appropriately loaded by reading and writing the program memory 3005 for the control contents. Is done. The Codec unit 3002 is shown collectively,
In some cases, a complex configuration is used, in which a part of the encoding is performed by hardware, and the other steps up to multiplexing are performed by software controlled by the control unit 3004.

【0122】また記録時に生成される管理情報ファイル
はリアルタイムでAVデータファイルと共に光ディスク
3009に記録していくのが困難なため、管理情報展開
用メモリ3006において一旦展開され更新されて、A
Vデータファイルの記録が終了した後に、前述の管理情
報ファイル3202として光ディスク3009に上書き
記録される。光ディスク3009にAVデータが初めて
記録される場合は、管理情報は新たに生成され管理情報
展開用メモリ3006に展開されるが、過去にAVデー
タが記録された光ディスクに追記する場合は、管理情報
は光ディスク3009から読み出された後に、管理情報
展開用メモリ3006に展開される。また管理情報ファ
イル3202の記録に続いて、同一の内容が管理情報バ
ックアップファイル3205として光ディスク3009
に上書き記録される。
Since it is difficult to record the management information file generated at the time of recording on the optical disk 3009 together with the AV data file in real time, the management information file is once expanded and updated in the management information expansion memory 3006, and A
After the recording of the V data file is completed, it is overwritten and recorded on the optical disk 3009 as the management information file 3202 described above. When the AV data is recorded on the optical disc 3009 for the first time, the management information is newly generated and developed in the management information development memory 3006. However, when the AV data is recorded on the optical disc on which the AV data has been recorded in the past, the management information is After being read from the optical disk 3009, the data is expanded in the management information expanding memory 3006. Following the recording of the management information file 3202, the same contents are stored as the management information backup file 3205 on the optical disk 3009.
Is overwritten and recorded.

【0123】状態記憶用メモリ3011は不揮発性メモ
リであり、前記各記録状態に応じた情報(状態フラグと
呼ぶ)が制御部3004により記憶される。
The state storage memory 3011 is a non-volatile memory, and information (referred to as a state flag) corresponding to each recording state is stored by the control unit 3004.

【0124】また再生時の動作についても説明してお
く。図19において前述の記録動作とは逆の流れによ
り、光ディスク3009からドライブ3008により動
画像ファイル3203あるいは静止画像ファイル320
4が任意のデータ位置から読み出され、ストリームデー
タとして一旦トラックバッファ3007に蓄積される。
ドライブの転送レートと画像音声データの符号化レート
の差分が吸収されてトラックバッファ3007からスト
リームデータは読み出され、Codec部3002にお
いて画像データと音声データが分離及び復号されて出力
部3010において適当な信号形式で出力される。
The operation at the time of reproduction will also be described. In FIG. 19, the moving image file 3203 or the still image file 320
4 is read from an arbitrary data position and is temporarily stored in the track buffer 3007 as stream data.
The difference between the transfer rate of the drive and the encoding rate of the video and audio data is absorbed, the stream data is read from the track buffer 3007, the video data and the audio data are separated and decoded by the Codec unit 3002, and the appropriate data is output by the output unit 3010. Output in signal format.

【0125】記録時の場合と同様に、制御部3004は
プログラム用メモリ3005の内容をロードすることに
より前述の各部を制御するものであるが、再生動作とし
てはストリームデータの読出しに先立ち、光ディスク3
009から管理情報ファイル3202がドライブ300
8により読み出され、その内容が管理情報展開用メモリ
3006に展開される。ユーザI/F3003を介して
入力された操作者の指示入力は制御部3004により解
釈され、管理情報展開用メモリ3006に展開された管
理情報に則って前述の再生動作が行われる。
As in the case of recording, the control unit 3004 controls each of the above-described units by loading the contents of the program memory 3005. However, as a reproducing operation, before reading the stream data, the optical disk 3
From 009, the management information file 3202 is
8 and the contents are expanded in the management information expanding memory 3006. The operator's instruction input input via the user I / F 3003 is interpreted by the control unit 3004, and the above-described reproduction operation is performed according to the management information expanded in the management information expansion memory 3006.

【0126】ここで前述の状態記憶用メモリ3011に
記憶される状態フラグについて、もう少し詳しく説明す
る。
Here, the status flags stored in the status storage memory 3011 will be described in more detail.

【0127】図21は状態記憶用メモリ3011に記録
される状態フラグについて、その内容の一例を示したも
のである。前述の記録動作において、動画像ファイル3
203の記録を始めてから、光ディスク3009に書き
終わるまでの状態に、フラグ‘1’を割当てている。以
降同様に、動画像ファイル3203の記録後に管理情報
ファイル3202の記録を始めてから終わるまでの状態
にフラグ‘2’を、静止画像ファイル3204の記録を
始めてから終わるまでの状態にフラグ‘3’を、静止画
像ファイル3204の記録後に管理情報ファイル320
2の記録を始めてから終わるまでの状態にフラグ‘4’
を、動画像ファイル3203あるいは静止画像ファイル
3204の一部を削除するなどの編集開始から終了まで
の状態にフラグ‘5’を、管理情報ファイル3202の
一部を書き換えるなどのAVデータの操作を伴わない編
集の開始から終了までの状態にフラグ‘6’を、管理情
報バックアップファイル3205の記録を始めてから終
了するまでの状態にフラグ‘7’を、再生中なども含む
前記フラグを割当てた状態を除く残りの全ての状態にフ
ラグ‘0’を割当てている。
FIG. 21 shows an example of the contents of the status flag recorded in the status storage memory 3011. In the above-described recording operation, the moving image file 3
The flag '1' is assigned to the state from the start of recording of the 203 to the end of writing on the optical disk 3009. Similarly, after the recording of the moving image file 3203, the flag '2' is set in a state from the start to the end of the recording of the management information file 3202, and the flag '3' is set in a state from the start to the end of the recording of the still image file 3204. After the recording of the still image file 3204, the management information file 320
Flag '4' in the state from the start to the end of recording 2
To the state from the start to the end of editing, such as deleting a part of the moving image file 3203 or the still image file 3204, and the operation of AV data such as rewriting a part of the management information file 3202. A flag “6” is assigned to the state from the start to the end of the edit, a flag “7” is assigned to the state from the start of the recording of the management information backup file 3205 to the end, and a state where the flag is included including during reproduction. Flags “0” are assigned to all the remaining states.

【0128】これらの状態フラグを考慮に入れて、修復
時の動作について以下説明する。装置に対する不慮の電
源遮断が発生した場合、状態フラグは前記‘0’から
‘7’のいずれかの値を示しているはずであり、この値
は状態記憶用メモリ3011に記憶されている。状態記
憶用メモリ3011は不揮発性メモリなので、電源供給
が中止されてもその内容が消失してしまうことはない。
電源遮断後に電源が再投入された場合、制御部3004
は状態記憶用メモリ3011に記憶されている状態フラ
グのチェックを行い、その内容の判定を行うことにより
修復処理を実行する。
The operation at the time of restoration will be described below in consideration of these state flags. When the power supply to the device is inadvertently shut down, the status flag should indicate any one of the values from '0' to '7', and this value is stored in the status storage memory 3011. Since the state storage memory 3011 is a nonvolatile memory, its contents will not be lost even if the power supply is stopped.
When the power is turned on again after the power is turned off, the control unit 3004
Checks the status flag stored in the status storage memory 3011 and executes the restoration process by determining the content of the status flag.

【0129】図22は前記制御部3004による状態フ
ラグのチェックに始まる、一連の修復処理の概略を示し
たものである。ステップS3400は修復処理の開始で
あり、ステップS3401からステップS3407は夫
々状態フラグの判定を行うことを示している。例えば状
態フラグが‘0’の場合、ステップS3401からステ
ップS3407では全て“No”と判定されて、ステッ
プS3408において記録再生待機状態として、ステッ
プS3409で修復処理を終了する。
FIG. 22 shows an outline of a series of restoration processing starting from the state flag check by the control unit 3004. Step S3400 is the start of the restoration process, and steps S3401 to S3407 indicate that the state flag is determined. For example, when the status flag is “0”, all the determinations are “No” in steps S3401 to S3407, the recording / reproduction standby state is set in step S3408, and the restoration process ends in step S3409.

【0130】状態フラグが‘1’の場合の管理情報ファ
イル3202と動画像ファイル3203の状態の一例を
図23に示す。動画像データを記録中に電源遮断が発生
したため、管理情報ファイル3202には動画像ファイ
ル3203の記録開始時(ポイントP3501で示す)
までの情報しか反映されておらず、管理情報ファイル3
202と動画像ファイル3203の間で不一致が発生し
ている。そこでステップS3401に続いてステップS
3410において管理情報ファイル3202を管理情報
展開用メモリ3006に展開し、そこに記録されている
情報から動画像ファイル3203のサイズを取得する。
ここで得られたサイズは、即ち動画像ファイル3203
のポイントP3501を表しているので、ステップS3
411において動画像ファイル3203のポイントP3
501以降を光ディスク3009から読み出して、スト
リームデータを順次解析することによりストリームデー
タ自身の不良箇所を修復すると共に、管理情報ファイル
3202の不足分を追加する形で修復する。修復が終了
したらステップS3420において修復結果を光ディス
ク3009に記録する。この場合記録するのは管理情報
ファイル3202及び動画像ファイル3203だけでは
なく、管理情報バックアップファイル3205も管理情
報ファイル3202と同一の内容を記録する。なお動画
像ファイル3203は、ステップS3420ではなくス
テップS3411において修復動作の進行と同時に適宜
光ディスク3009に記録していく構成も可能である。
ステップS3421では修復が終了したということで、
状態記憶用メモリ3011の状態フラグを‘0’として
リセットする。以降、ステップS3408において記録
再生待機状態として、ステップS3409で修復処理を
終了する。
FIG. 23 shows an example of the state of the management information file 3202 and the moving image file 3203 when the state flag is “1”. Since the power was cut off during recording of the moving image data, the recording of the moving image file 3203 in the management information file 3202 is started (indicated by a point P3501).
Only the information up to is reflected, and the management information file 3
A mismatch has occurred between 202 and the moving image file 3203. Therefore, step S3401 is followed by step S
At 3410, the management information file 3202 is expanded in the management information expansion memory 3006, and the size of the moving image file 3203 is obtained from the information recorded therein.
The size obtained here is the moving image file 3203
Since the point P3501 of FIG.
At 411, the point P3 of the moving image file 3203
501 and subsequent data are read from the optical disk 3009, and the stream data is sequentially analyzed to repair the defective portion of the stream data itself and to repair the management information file 3202 by adding a shortage. When the restoration is completed, the restoration result is recorded on the optical disc 3009 in step S3420. In this case, not only the management information file 3202 and the moving image file 3203 but also the management information backup file 3205 records the same contents as the management information file 3202. The moving image file 3203 may be recorded on the optical disk 3009 at the same time as the restoration operation proceeds in step S3411, instead of step S3420.
In step S3421, the restoration has been completed.
The status flag of the status storage memory 3011 is reset to “0”. Thereafter, the recording and reproduction standby state is set in step S3408, and the restoration process ends in step S3409.

【0131】状態フラグが‘2’の場合、管理情報ファ
イル3202を記録中の電源遮断ということで、その内
容が正しく記録されているか不明の状態にある。そこで
ステップS3402に続いてステップS3412におい
て、管理情報バックアップファイル3205の内容を管
理情報ファイル3202であるとして、管理情報展開用
メモリ3006に展開する。これ以降は前記状態フラグ
が‘1’である場合と同様であり、ステップS3410
において展開された管理情報から動画像ファイル320
3のサイズを取得し、ステップS3411において動画
像ファイル3203のポイントP3501以降を光ディ
スク3009から読み出して、ストリームデータを解析
することにより修復を実行する。
If the status flag is “2”, it means that the power is shut off while the management information file 3202 is being recorded, and it is unknown whether the contents are recorded correctly. Therefore, in step S3412 following step S3402, the contents of the management information backup file 3205 are assumed to be the management information file 3202, and are expanded in the management information expansion memory 3006. Subsequent steps are the same as in the case where the status flag is “1”.
Moving image file 320 from the management information developed in
In step S3411, the size of the moving image file 3203 is read from the optical disc 3009, and the stream data is analyzed to perform restoration.

【0132】状態フラグが‘3’の場合、前記状態フラ
グが‘1’の場合に対して、動画像ファイル3203が
静止画像ファイル3204に置き換わった状態であり、
動作としては同様にステップS3403に続いてステッ
プS3413において管理情報ファイル3202を管理
情報展開用メモリ3006に展開し、そこに記録されて
いる情報から静止画像ファイル3204のサイズを取得
する。引き続きステップS3414において静止画像フ
ァイル3204の前記取得サイズ以降を光ディスク30
09から読み出して、ストリームデータを順次解析する
ことによりストリームデータ自身の不良箇所を修復する
と共に、管理情報ファイル3202の不足分を追加する
形で修復する。修復が終了したらステップS3420に
おいて修復結果を光ディスク3009に記録し、ステッ
プS3421で状態記憶用メモリ3011の状態フラグ
を‘0’としてリセットし、ステップS3408におい
て記録再生待機状態として、ステップS3409で修復
処理を終了する。
When the status flag is “3”, the moving image file 3203 has been replaced with the still image file 3204 as compared with the case where the status flag is “1”.
Similarly, in step S3413 following step S3403, the management information file 3202 is expanded in the management information expansion memory 3006, and the size of the still image file 3204 is acquired from the information recorded therein. Subsequently, in step S3414, the size of the still image file 3204 and thereafter obtained by the
09, the stream data is sequentially analyzed to repair the defective portion of the stream data itself, and to repair the shortage of the management information file 3202 by adding it. When the restoration is completed, the restoration result is recorded on the optical disk 3009 in step S3420, the state flag of the state storage memory 3011 is reset to “0” in step S3421, the recording / reproduction standby state is set in step S3408, and the restoration processing is performed in step S3409. finish.

【0133】状態フラグが‘4’の場合、状態フラグが
‘2’の場合と同様に、管理情報ファイル3202を記
録中の電源遮断ということで、その内容が正しく記録さ
れているか不明の状態にある。そこでステップS340
4に続いてステップS3415において、管理情報バッ
クアップファイル3205の内容を管理情報ファイル3
202であるとして、管理情報展開用メモリ3006に
展開する。これ以降は前記状態フラグが‘3’である場
合と同様であり、ステップS3413において展開され
た管理情報から静止画像ファイル3204のサイズを取
得し、ステップS3414において静止画像ファイル3
203の前記取得サイズ以降を光ディスク3009から
読み出して、ストリームデータを解析することにより修
復を実行する。
When the status flag is “4”, as in the case where the status flag is “2”, the power is turned off while the management information file 3202 is being recorded. is there. Therefore, step S340
In step S3415 following step S4, the contents of the management information backup file 3205 are stored in the management information file 3205.
202, the data is developed in the management information developing memory 3006. Subsequent steps are the same as when the status flag is “3”. The size of the still image file 3204 is acquired from the management information expanded in step S3413, and the size of the still image file 3204 is determined in step S3414.
The data is read from the optical disk 3009 after the acquisition size of 203, and the restoration is executed by analyzing the stream data.

【0134】状態フラグが‘5’の場合の管理情報ファ
イル3202と動画像ファイル3203及び静止画像フ
ァイル3204の状態を図24に示す。一例として動画
像ファイル3203の一部を削除中に電源遮断が発生し
た場合を表している。ポイントP3601からポイント
P3602が削除しようとしていた箇所を示している
が、そのデータが正しく削除されたかは不明であり、そ
の結果も管理情報ファイル3202には反映されていな
いため、管理情報ファイル3202と動画像ファイル3
203の間で不一致が発生している。管理情報ファイル
3202と静止画像ファイル3204の間では不一致は
発生していないが、管理情報ファイル3202を見ただ
けでは該状態だと判断することはできない。そこでステ
ップS3405に続いてステップS3416において管
理情報ファイル3202及び管理情報バックアップファ
イル3205を光ディスク3009から削除し、ステッ
プS3417においてまず動画像ファイル3203を光
ディスク3009から読み出して、先頭から最後までス
トリームデータを順次解析することによりストリームデ
ータ自身の不良箇所を修復すると共に、管理情報ファイ
ル3202を新たに生成する形で修復を実行する。さら
に静止画像ファイル3204を光ディスク3009から
読み出して、先頭から最後までストリームデータを順次
解析することによりストリームデータ自身の不良箇所を
修復すると共に、前記修復した管理情報ファイル320
2に追記する形で修復を実行する。修復が終了したらス
テップS3420において修復結果を光ディスク300
9に記録する。この場合管理情報バックアップファイル
3205を含む全てのファイルを記録する。なお動画像
ファイル3203及び静止画像ファイル3204は、ス
テップS3420ではなくステップS3417において
修復動作の進行と同時に適宜光ディスク3009に記録
していく構成も可能である。ステップS3421では状
態記憶用メモリ3011の状態フラグを‘0’としてリ
セットし、ステップS3408において記録再生待機状
態として、ステップS3409で修復処理を終了する。
FIG. 24 shows the states of the management information file 3202, the moving image file 3203 and the still image file 3204 when the state flag is “5”. As an example, a case is shown in which a power shutdown occurs while a part of the moving image file 3203 is being deleted. Although points P3601 to P3602 indicate the points to be deleted, it is unknown whether the data was correctly deleted, and the result is not reflected in the management information file 3202. Image file 3
A mismatch has occurred between 203. Although no inconsistency has occurred between the management information file 3202 and the still image file 3204, it is not possible to judge that the state is just by looking at the management information file 3202. Therefore, following step S3405, the management information file 3202 and the management information backup file 3205 are deleted from the optical disk 3009 in step S3416, and the moving image file 3203 is first read from the optical disk 3009 in step S3417, and the stream data is sequentially analyzed from the beginning to the end. By doing so, the defective portion of the stream data itself is repaired, and the repair is executed by newly generating the management information file 3202. Further, by reading the still image file 3204 from the optical disk 3009 and sequentially analyzing the stream data from the beginning to the end, the defective portion of the stream data itself is repaired, and the repaired management information file 320 is restored.
The restoration is performed in the form of appending to step 2. When the restoration is completed, the restoration result is stored in the optical disk 300 in step S3420.
Record in 9. In this case, all files including the management information backup file 3205 are recorded. Note that the moving image file 3203 and the still image file 3204 may be appropriately recorded on the optical disk 3009 simultaneously with the progress of the restoration operation in step S3417 instead of step S3420. In step S3421, the status flag of the status storage memory 3011 is reset to "0", and the recording / reproduction standby state is set in step S3408, and the restoration process ends in step S3409.

【0135】状態フラグが‘6’の場合、AVデータフ
ァイルの編集を伴わない、管理情報ファイル3202上
のみの編集中の電源遮断であることから、管理情報ファ
イル3202の状態がどのようになっているかは不明だ
が、管理情報バックアップファイル3205と動画像フ
ァイル3202あるいは静止画像ファイル3203との
間では不一致は発生していない状態となっている。そこ
でステップS3406に続いてステップS3418にお
いて、光ディスク3009上の管理情報バックアップフ
ァイル3205の内容を管理情報ファイル3202とし
て上書き記録する。以降ステップS3421で状態記憶
用メモリ3011の状態フラグを‘0’としてリセット
し、ステップS3408において記録再生待機状態とし
て、ステップS3409で修復処理を終了する。
When the status flag is “6”, the power is cut off during editing only on the management information file 3202 without editing the AV data file, and the status of the management information file 3202 is determined. It is unknown, but no mismatch has occurred between the management information backup file 3205 and the moving image file 3202 or the still image file 3203. Therefore, in step S3418 following step S3406, the contents of the management information backup file 3205 on the optical disk 3009 are overwritten and recorded as the management information file 3202. Thereafter, the state flag of the state storage memory 3011 is reset to “0” in step S3421, the recording / reproduction standby state is set in step S3408, and the restoration processing ends in step S3409.

【0136】状態フラグが‘7’の場合、管理情報バッ
クアップファイル3205の記録中の電源遮断であるこ
とから、ステップS3407に続いてステップS341
9において光ディスク3009上の管理情報ファイル3
202の内容を管理情報バックアップファイル3205
として上書き記録する。以降は上記と同様に、ステップ
S3421で状態記憶用メモリ3011の状態フラグを
‘0’としてリセットし、ステップS3408において
記録再生待機状態として、ステップS3409で修復処
理を終了する。
If the status flag is “7”, the power is shut off during recording of the management information backup file 3205, so that step S341 follows step S3407.
9, the management information file 3 on the optical disc 3009
202 to the management information backup file 3205
Overwrite recording. Thereafter, similarly to the above, the state flag of the state storage memory 3011 is reset to “0” in step S3421, the recording / reproduction standby state is set in step S3408, and the restoration processing ends in step S3409.

【0137】以上のように本発明の第五の実施形態によ
れば、状態記憶用メモリを設けて記録、再生、編集動作
の各々の状態フラグを適宜細かくセットしておくことに
より、不慮の電源遮断時においても、電源の再投入によ
り前記状態フラグを参照することにより、管理情報及び
AVデータを修復することが可能である。またストリー
ムデータを直接解析することにより修復を行うので、予
めストリームデータ上に修復用のデータを含めておく必
要がなく、前記状態フラグに応じてストリームデータ上
の必要な箇所から修復を開始することができるので、余
分な時間を消費することがない。
As described above, according to the fifth embodiment of the present invention, a state storage memory is provided, and the state flags of recording, reproduction, and editing operations are appropriately set in a fine manner. Even when the power is turned off, the management information and the AV data can be restored by referring to the status flag by turning on the power again. In addition, since the restoration is performed by directly analyzing the stream data, it is not necessary to include restoration data in the stream data in advance, and the restoration can be started from a necessary portion on the stream data according to the status flag. No extra time is wasted.

【0138】なお本実施形態においては、状態フラグに
応じて無条件に修復動作を行うような構成について説明
したが、状態フラグの判定後、操作者の指示入力を仰ぐ
ステップを設け、該指示入力が行われてから修復動作を
行うことも可能である。ただし該指示入力において、修
復を行わないような指示入力が行われた場合、メッセー
ジ出力を表示するなど、操作者に対してディスク上のデ
ータに不具合があることを通知する機構を設けておく必
要がある。
Although the present embodiment has been described with respect to a configuration in which the restoration operation is performed unconditionally in accordance with the status flag, a step for asking the operator for an instruction after determining the status flag is provided. It is also possible to perform the repair operation after the operation is performed. However, a mechanism for notifying the operator that there is a problem with the data on the disk, such as displaying a message output when an instruction input that does not perform restoration is performed in the instruction input, must be provided. There is.

【0139】以上の修復処理において、記録動作中に電
源遮断が発生しているために、AVデータファイルのス
トリームデータ中に不良箇所が存在する場合がある。以
降の実施形態では、前述の修復時におけるストリームデ
ータ中に不良箇所がある場合について、その内容を例示
することにより、具体的な修復方法について説明する。
In the above restoration processing, there is a case where a defective portion exists in the stream data of the AV data file because the power supply is interrupted during the recording operation. In the following embodiments, a specific repair method will be described by exemplifying the contents of a case where there is a defective portion in the stream data at the time of the above-described repair.

【0140】まずAVデータファイルの記録形態につい
て、図25を用いて説明する。
First, the recording format of the AV data file will be described with reference to FIG.

【0141】図25は一例として管理情報ファイル32
02内で管理される、動画像ファイル3203のデータ
構造の概略を表した図である。動画像ファイル3203
は符号3701で示されるVOB(Video Obj
ect)と呼ばれる処理単位の連続として構成される。
一つのVOBは通常一回の記録単位として扱われるが、
特にこれに限定されるものではない。VOB3701は
符号3702で示されるVOBU(VOB Unit)
と呼ばれる単位が複数連なる形で構成される。VOBU
3702は早送り再生や早戻し再生などの特殊再生を行
うために必要な構成単位であり、所定の符号化単位とな
っている。画像データの符号化方式としては、前述のよ
うに国際標準規格であるMPEG2ビデオ方式(ISO
/IEC13818−2)を用いるのが一般的であり、
VOBU3702は該符号化方式における面内符号化画
像であるIピクチャを1枚以上含む構成になる。さらに
VOBU3702は符号3703で示されるビデオパッ
ク(「V」を付して表す)、符号3704で示されるオ
ーディオパック(「A」を付して表す)などが適当な個
数づつ、同期を取られた形で多重化された構成となる。
なお、VOBU3702を構成する要素としてはこれら
二種類以外のパックも含まれる場合もあるが、以下の実
施形態を説明する上で特に必要としないので、ここでは
前記二種類のパックによりVOBU3702が構成され
る場合について説明する。また音声データの符号化方式
としては画像データと同様にMPEG2オーディオ方式
(ISO/IEC13818−3)を用いる場合もある
が、MPEG1オーディオ方式(ISO/IEC111
72−3)やリニアPCM音声を用いるなど、特に限定
されない。ただしビデオパック3703とオーディオパ
ック3704の多重化方式としては、MPEG2システ
ム方式(ISO/IEC13818−1)を用いるのが
一般的である。
FIG. 25 shows an example of the management information file 32.
FIG. 3 is a diagram showing an outline of a data structure of a moving image file 3203 managed in 02. Moving image file 3203
Is a VOB (Video Object) indicated by reference numeral 3701.
ect) as a series of processing units.
One VOB is usually treated as one recording unit.
It is not particularly limited to this. VOB 3701 is a VOBU (VOB Unit) indicated by reference numeral 3702.
It is composed of multiple units called "units". VOBU
Reference numeral 3702 is a structural unit necessary for performing special reproduction such as fast forward reproduction and fast reverse reproduction, and is a predetermined encoding unit. As an encoding method for image data, as described above, the MPEG2 video method (ISO
/ IEC13818-2) is generally used,
The VOBU 3702 has a configuration including one or more I pictures, which are intra-coded images in the coding method. The VOBU 3702 is synchronized with an appropriate number of video packs (represented with “V”) denoted by reference numeral 3703 and audio packs (represented with “A”) denoted by reference numeral 3704. Multiplexed configuration.
Note that the VOBU 3702 may include a pack other than these two types as an element constituting the VOBU 3702, but is not particularly required for describing the following embodiment. Will be described. As the audio data encoding method, the MPEG2 audio method (ISO / IEC13818-3) may be used similarly to the image data, but the MPEG1 audio method (ISO / IEC111) is used.
72-3) and use of linear PCM sound are not particularly limited. However, as a multiplexing method of the video pack 3703 and the audio pack 3704, an MPEG2 system method (ISO / IEC13818-1) is generally used.

【0142】図26は前記ビデオパック3703及びオ
ーディオパック3704の構造を示す図である。図26
(a)はVOBU3702内の先頭位置に配置されるパ
ックの構造を示しており、図26(b)はVOBU37
02の先頭以外に配置されるパックの構造を示してい
る。一つのパックは2048バイトの固定長であり、図
26(a)に示すようにVOBU3702の先頭の場合
は14バイトのパックヘッダ3801と、24バイトの
システムヘッダ3802、これに続くパケットヘッダ3
803、さらに画像あるいは音声の実データ3804に
より構成される。パケットヘッダ3803と実データ3
804はデータ内容により可変長であり、パケットデー
タ3803の内容を見ることにより、当該パックがビデ
オパックかオーディオパックかを判別することができ
る。また図26(b)に示すように、VOBU3702
の先頭以外のパックでは前記VOBU3702の先頭パ
ックに比べて、システムヘッダ3802が含まれない構
造になっている。なおVOBやVOBUといった処理単
位は、あくまでも管理情報ファイル3202内にてデー
タ管理を行うためのものであり、動画像ファイル320
3や静止画像ファイル3204を単純にデータとして見
た場合、これらは前述のMPEG2システム規格に則り
多重化された一連のストリームデータとして認識され
る。これらの多重化方式自体の詳細については前述のM
PEG2システム方式の規格書に示されているので、こ
こでは詳しい説明を省略する。
FIG. 26 is a diagram showing the structure of the video pack 3703 and the audio pack 3704. FIG.
FIG. 26A shows the structure of a pack arranged at the head position in the VOBU 3702, and FIG.
2 shows the structure of a pack arranged at a position other than the beginning of the pack. One pack has a fixed length of 2048 bytes. As shown in FIG. 26A, in the case of the beginning of the VOBU 3702, a pack header 3801 of 14 bytes, a system header 3802 of 24 bytes, and a packet header 3
803 and real data 3804 of image or sound. Packet header 3803 and actual data 3
Reference numeral 804 denotes a variable length depending on the data content. By checking the content of the packet data 3803, it is possible to determine whether the pack is a video pack or an audio pack. As shown in FIG. 26B, VOBU3702
In the packs other than the first pack, the structure is such that the system header 3802 is not included as compared with the first pack of the VOBU 3702. Processing units such as VOBs and VOBUs are for managing data in the management information file 3202 only,
When the file 3 or the still image file 3204 is simply viewed as data, they are recognized as a series of stream data multiplexed in accordance with the above-described MPEG2 system standard. For details of these multiplexing schemes themselves, see the aforementioned M
Since it is shown in the PEG2 system standard, a detailed description is omitted here.

【0143】図27は本発明の第六の実施形態を説明す
るための図であり、前述の修復動作において、光ディス
ク3009から読み出された動画像ファイル3203を
解析することにより、管理情報ファイル3202と動画
像ファイル3203自身を修復する場合の一例を表して
いる。なお図中の「P」はビデオパックあるいはオーデ
ィオパックを表しており、m、n、kは正の整数であ
る。前述の第五の実施形態からわかるように、修復動作
開始時に状態フラグが‘5’でストリームデータの先頭
位置から解析を行う場合も、状態フラグが‘1’あるい
は‘2’でストリームデータの中途位置(図23におけ
るポイントP3501)から解析を行う場合も、開始位
置はパック区切りの位置となる。例えば図27において
m番目のVOB(VOB#mで表す、以降同様)から修
復のためのストリームデータ解析を始めた場合、以降の
全ストリームデータが正常であれば、前述のパックヘッ
ダ3801を検出し、続けてシステムヘッダ3802を
検出することによりVOBUの区切りがわかるため、V
OBやVOBUを構成するパック数や、VOBU毎の時
刻情報などを取得することができる。またパックヘッダ
3803や実データ3804の先頭一部を解析すること
により、VOBU内でIピクチャを構成するパック数や
復号のための時刻情報を得ることができるので、VOB
#m以降のストリームデータの情報を、管理情報ファイ
ル3202に反映することができる。この場合連続的に
パック単位で解析を行っていけばよいので、実データ3
804全てを解析する必要は無い。
FIG. 27 is a diagram for explaining the sixth embodiment of the present invention. In the above-mentioned restoration operation, the management information file 3202 is analyzed by analyzing the moving image file 3203 read from the optical disk 3009. And an example in which the moving image file 3203 itself is restored. Note that “P” in the figure represents a video pack or an audio pack, and m, n, and k are positive integers. As can be seen from the fifth embodiment described above, when the status flag is "5" at the start of the restoration operation and the analysis is performed from the head position of the stream data, the status flag is "1" or "2", and Also when the analysis is performed from the position (point P3501 in FIG. 23), the start position is the position of the pack break. For example, when the stream data analysis for restoration is started from the m-th VOB (represented by VOB # m, hereinafter the same) in FIG. 27, if all the subsequent stream data are normal, the pack header 3801 is detected. Then, by detecting the system header 3802, the break of the VOBU can be known.
The number of packs constituting the OB or VOBU, time information for each VOBU, and the like can be obtained. Also, by analyzing the pack header 3803 and the leading part of the actual data 3804, the number of packs constituting an I picture in the VOBU and time information for decoding can be obtained.
Information of stream data after #m can be reflected in the management information file 3202. In this case, since it is sufficient to perform the analysis continuously for each pack, the actual data 3
Not all 804 need be analyzed.

【0144】ここで図27のVOB#mがk個のVOB
Uで構成されており、n番目のVOBU(VOBU#n
で表す、以降同様)のポイントP3901において、パ
ックヘッダやシステムヘッダの欠落、あるいは復号のた
めの時刻情報が不適当といったストリームデータの不良
が検出された場合を考える。不良部分を残したまま管理
情報ファイル3202を生成してしまうと、明らかに不
具合のある再生出力を表示してしまう可能性があるた
め、ポイントP3901が含まれるVOBUをストリー
ムデータ上から削除するようにする。当該VOBUがV
OBの中途である場合、前記削除処理によりVOBU毎
の時刻情報が不連続となるため、当該箇所でVOBを区
切るように管理情報ファイル3202に反映させる。結
果としてVOB#mは(n−1)個のVOBUで構成さ
れることになり、VOB#(m+1)は(k−n)個の
VOBUで構成されることになる。以降、ストリームデ
ータの終端に来るまで修復を継続し、不良箇所を検出し
た場合は前記と同様の削除処理を行うようにする。
Here, VOB # m in FIG. 27 is k VOBs.
U and the n-th VOBU (VOBU # n
At the point P3901 (represented by, the same applies hereinafter), it is assumed that a stream data defect such as a missing pack header or system header, or inappropriate time information for decoding is detected. If the management information file 3202 is generated with the defective part left, there is a possibility that a clearly defective playback output may be displayed. Therefore, the VOBU including the point P3901 is deleted from the stream data. I do. The VOBU is V
When the OB is in the middle, the time information for each VOBU becomes discontinuous due to the deletion processing, and therefore, the VOBU is reflected in the management information file 3202 so as to divide the VOB at that location. As a result, VOB # m is composed of (n-1) VOBUs, and VOB # (m + 1) is composed of (kn) VOBUs. Thereafter, restoration is continued until the end of the stream data is reached, and when a defective portion is detected, the same deletion processing as described above is performed.

【0145】以上のように本発明の第六の実施形態によ
れば、修復時にパック単位でストリームデータの解析を
行い、データの不良を検出した場合にはVOBU単位で
データ削除を行って管理情報に反映させるようにするこ
とにより、管理情報ファイルとAVデータファイルの不
一致を補正することが可能になる。
As described above, according to the sixth embodiment of the present invention, at the time of restoration, the stream data is analyzed in pack units, and when a data defect is detected, the data is deleted in VOBU units to delete the management information. , It is possible to correct the mismatch between the management information file and the AV data file.

【0146】図28は本発明の第七の実施形態を説明す
るための図であり、図27と同様に光ディスク3009
から読み出された動画像ファイル3203を解析するこ
とにより、管理情報ファイル3202と動画像ファイル
3203自身を修復する場合の一例を表している。さら
に図27と同様に、VOB#mがk個のVOBUで構成
されており、VOBU#nのポイントP3101におい
て、パックヘッダやシステムヘッダの欠落、あるいは復
号のための時刻情報が不適当といったストリームデータ
の不良が検出された場合を考える。
FIG. 28 is a diagram for explaining the seventh embodiment of the present invention. As in FIG.
The example shows a case where the management information file 3202 and the moving image file 3203 themselves are restored by analyzing the moving image file 3203 read from the. Further, as in FIG. 27, VOB # m is composed of k VOBUs, and at point P3101 of VOBU # n, stream data such as a missing pack header or system header, or improper time information for decoding. Let us consider a case in which a defect is detected.

【0147】不良部分を残したまま管理情報ファイル3
202を生成してしまうと、明らかに不具合のある再生
出力を表示してしまう可能性があるのは第六の実施形態
と同様だが、本実施形態ではポイントP3101が含ま
れるVOBUをストリームデータ上から削除するのでは
なく、VOBとして独立させ、管理情報内での扱いを通
常の場合と変更する。つまり、管理情報内での当該VO
Bの属性を「一時消去」属性とし、また前記不良と判定
された項目については、規定内に収まる値をダミーとし
て記録しておく。例えばVOBの先頭と末尾で時刻情報
が前後してしまっていた場合は、前後しないように管理
情報内で適当な値に修正する。
The management information file 3 with the defective part left
When the 202 is generated, there is a possibility that a clearly defective playback output may be displayed as in the sixth embodiment. However, in this embodiment, the VOBU including the point P3101 is displayed from the stream data. Instead of deleting them, they are made independent as VOBs, and the handling in the management information is changed from the normal case. That is, the VO in the management information
The attribute of B is set as the “temporary erase” attribute, and for the item determined to be defective, a value that falls within the regulation is recorded as a dummy. For example, when the time information is shifted between the beginning and end of the VOB, the value is corrected to an appropriate value in the management information so that the time information does not change.

【0148】当該VOBUがVOBの中途である場合、
当該箇所でVOBUはVOBとして独立管理されてしま
うため、当該箇所の前後も新たにVOBの区切りとなる
ように管理情報ファイル3202に反映させる。結果と
してVOB#mは(n−1)個のVOBUで構成される
ことになり、VOB#(m+1)は1個のVOBUで構
成され、VOB#(m+2)は(k−n)個のVOBU
で構成されることになる。以降、ストリームデータの終
端に来るまで修復を継続し、不良箇所を検出した場合は
前記と同様の処理を行うようにする。
When the VOBU is in the middle of the VOB,
Since the VOBU is independently managed as a VOB at the location, the VOBU is reflected in the management information file 3202 so that the location before and after the location is also a new VOB delimiter. As a result, VOB # m is composed of (n-1) VOBUs, VOB # (m + 1) is composed of one VOBU, and VOB # (m + 2) is (kn) VOBUs.
It will be composed of Thereafter, the restoration is continued until the end of the stream data is reached, and when a defective portion is detected, the same processing as described above is performed.

【0149】以上の修復処理により更新された管理情報
ファイル3202に基づいて、動画像ファイル3203
の再生動作を行った場合、「一時消去」属性に設定され
ているため通常再生ではVOB#(m+1)は再生され
ない。ただし図19における出力部3010及びユーザ
I/F3003を介して、操作者は「一時消去」属性の
データが存在することを認識でき、当該部分を後から削
除することも可能である。また、この状態の光ディスク
3009の内容を例えばPC上で取り扱う場合には、修
復動作により動画像ファイル3203は一部分も加工さ
れていないので、全てのデータを解析することが可能で
ある。
A moving image file 3203 is created based on the management information file 3202 updated by the above-described restoration processing.
Is performed, the VOB # (m + 1) is not reproduced in the normal reproduction because the attribute is set to the "temporary erase" attribute. However, the operator can recognize through the output unit 3010 and the user I / F 3003 in FIG. 19 that there is data of the “temporary deletion” attribute, and can delete the portion later. When the contents of the optical disk 3009 in this state are handled on a PC, for example, all the data can be analyzed because the moving image file 3203 has not been partially processed by the restoration operation.

【0150】以上のように本発明の第七の実施形態によ
れば、修復時にパック単位でストリームデータの解析を
行い、データの不良を検出した場合には管理情報内で当
該VOBUをVOBとして扱い、「一時消去」属性とし
て管理することにより、管理情報ファイルとAVデータ
ファイルの不一致を補正することができ、再生出力にも
不具合を生じさせない。
As described above, according to the seventh embodiment of the present invention, at the time of restoration, stream data is analyzed in pack units, and when a data defect is detected, the VOBU is treated as a VOB in the management information. By managing as the "temporary erasure" attribute, the mismatch between the management information file and the AV data file can be corrected, and no trouble occurs in the reproduction output.

【0151】以上の実施形態において、状態フラグとし
て8種類の値を用いる場合について述べたが、これはこ
の限りではなく、細かい修復処理を行うために状態フラ
グの値をさらに細分化、あるいは簡略化することも可能
である。また第6及び第七の実施形態において動画像フ
ァイル3203を記録中に電源遮断が起きたものとし
て、これを修復する場合について述べたが、状態フラグ
が‘3’あるいは‘4’などで静止画像ファイル320
4を元に修復動作を行う場合についても、不良箇所が含
まれるVOBUを削除したり属性を変更して管理したり
することにより、前述と同様の方法を適用することが可
能である。さらに以上の実施形態ではストリームデータ
上の不良箇所の判定方法については特に詳しく述べなか
ったが、記録されているデータ量が極端に少ないなど、
不良と判定される状態は上述のものに限定されるもので
はなく、どのレベルまでを不良とするかは適宜変更する
ことも可能である。
In the above embodiment, the case where eight kinds of values are used as the status flag has been described. However, this is not limited to this, and the value of the status flag is further subdivided or simplified in order to perform a fine restoration process. It is also possible. In the sixth and seventh embodiments, the case where the power is interrupted during recording of the moving image file 3203 is described as a case where the power supply is restored. However, when the status flag is “3” or “4”, the still image is File 320
In the case where the repair operation is performed based on No. 4, the same method as described above can be applied by deleting the VOBU including the defective portion or changing and managing the attribute. Further, in the above embodiments, the method of determining the defective portion on the stream data is not specifically described, but the recorded data amount is extremely small.
The state determined to be defective is not limited to the above-described state, and up to which level the defective state can be changed as appropriate.

【0152】上記実施例においては、カメラを例に説明
をしたが、これに限定されるものではなく、例えば、屋
内配線から電力を供給されて動作する据置き型の情報記
録再生装置においても、不慮の電源の遮断は発生するも
のであるから、その場合の電源の再投入において、本願
発明を実施することは可能である。
In the above embodiment, a camera was described as an example. However, the present invention is not limited to this. For example, a stationary information recording / reproducing apparatus which operates by being supplied with power from an indoor wiring may be used. Since unexpected power interruption occurs, it is possible to carry out the present invention when the power is turned on again in that case.

【0153】また、記録媒体においても、上記実施例で
は、DVDディスク等の光ディスクを例に説明をしたが、
これに限定されるものではなく、磁気ディスク等、また
は、半導体メモリ等も含め、リアルタイムに情報を記録
するものにおいて、本願発明を実施することは可能であ
る。
In the above embodiment, the optical disk such as a DVD disk has been described as an example of the recording medium.
The present invention is not limited to this, and the present invention can be implemented in a device that records information in real time, such as a magnetic disk or a semiconductor memory.

【0154】さらに、上記実施例においては、管理情報
の展開メモリとして、揮発性メモリを使用して説明をし
たが、不揮発性メモリを用いたものへ、本願発明の実施
をするものであってもよい。その場合は、不慮の電源の
遮断に対して、情報の記録、再生処理の信頼性をより高
めることも可能である。
Further, in the above embodiment, the description has been made using the volatile memory as the development memory of the management information. However, the present invention may be applied to a non-volatile memory. Good. In such a case, it is possible to further increase the reliability of the information recording and reproduction processing in response to accidental power-off.

【0155】[0155]

【発明の効果】以上説明したように本発明によれば、予
期せず電源供給が断たれ、記録が中止されたとしても、
中止されるまで記録媒体に書きこまれた管理情報ファイ
ルと、ビットストリームファイルを修復するために必要
な情報が含まれたビットストリームファイルを生成する
ことができる。
As described above, according to the present invention, even if the power supply is unexpectedly cut off and the recording is stopped,
It is possible to generate a bit stream file including information necessary for repairing the management information file written on the recording medium until the recording is stopped and a bit stream file.

【0156】さらに本発明によれば、予期せず電源供給
が断たれ、記録が中止されたとしても、中止されるまで
記録媒体に書きこまれた管理情報ファイルと、ビットス
トリームファイルを修復することができる。
Further, according to the present invention, even if the power supply is unexpectedly cut off and the recording is stopped, the management information file and the bit stream file written on the recording medium until the recording is stopped are restored. Can be.

【0157】さらに本発明によれば、記録中に予期せず
電源供給が断たれ、記録が中止されたとき、その後に電
源を入れたときに修復を実行するかどうか選択でき、そ
こで修復を実行しないと選択しても、次の記録を開始で
きる。修復には時間がかかることがあるため、カメラな
どの記録装置で屋外撮影をしているときなどは、予期せ
ず電源供給が断たれ、記録が中止されたとき、電源を入
れ直すと修復が実行され同一の記録媒体に次の記録をす
ぐにできないが、同一の記録媒体であっても、再びすぐ
に記録を開始でき、時間と電力の浪費を回避し、ユーザ
の使い勝手を向上させることができる。
Further, according to the present invention, when the power supply is unexpectedly cut off during recording, the recording is stopped, and when the power is turned on thereafter, it is possible to select whether or not to execute the restoration. If you choose not to do so, you can start the next recording. Restoration can take time, so when shooting outdoors with a recording device such as a camera, the power supply is unexpectedly cut off, recording is stopped, and restoration is performed when the power is turned on again. Then, the next recording cannot be immediately performed on the same recording medium, but even with the same recording medium, recording can be started again immediately, so that waste of time and power can be avoided and user convenience can be improved. .

【0158】さらに本発明によれば、状態記憶用メモリ
を設けて動作状態の詳細な判別情報を記憶させておき、
不慮の電源遮断時においても電源の再投入により前記状
態判別情報を参照することにより、管理情報ファイル及
びAVデータファイルを修復することが可能となる。ス
トリームデータを直接解析することにより修復を行うの
で、予めストリームデータ上に修復用のデータを含めて
おく必要がなく、前記状態判別情報に応じてストリーム
データ上の必要な箇所から修復を開始することができる
ので、余分な時間を消費することがなく、余分な電力消
費も省くことができる。
Further, according to the present invention, a state storage memory is provided to store detailed discrimination information of an operation state.
Even when the power is unexpectedly shut down, the management information file and the AV data file can be restored by referring to the state determination information by turning on the power again. Since the restoration is performed by directly analyzing the stream data, it is not necessary to include the data for restoration in the stream data in advance, and the restoration can be started from a necessary portion on the stream data according to the state determination information. Therefore, no extra time is consumed, and extra power consumption can be omitted.

【0159】さらに本発明によれば、修復時に所定の単
位でストリームデータの解析を行い、データの不良を検
出した場合には該当する部分を含む適当な符号化単位で
データ削除を行って管理情報に反映させるようにするこ
とにより、管理情報ファイルとAVデータファイルの不
一致を補正することが可能になり、以降の記録、再生、
編集動作に不具合を生じさせることがなくなる。
Further, according to the present invention, at the time of restoration, the stream data is analyzed in a predetermined unit, and when a data defect is detected, the data is deleted in an appropriate coding unit including the corresponding part, and the management information is deleted. , It is possible to correct the discrepancy between the management information file and the AV data file, so that subsequent recording, reproduction,
It does not cause any trouble in the editing operation.

【0160】さらに本発明によれば、修復時に所定の単
位でストリームデータの解析を行い、データの不良を検
出した場合には管理情報内で当該箇所を含む適当な符号
化単位を、独立管理可能な上位の符号化単位として扱
い、「一時消去」属性など、以降の記録、再生、編集動
作に影響の無い属性として管理することにより、管理情
報ファイルとAVデータファイルの不一致を補正するこ
とができる。ストリームデータを特に加工することがな
いので、別途ディスク上のAVデータファイルを全て参
照することが可能となる。
Further, according to the present invention, the stream data is analyzed in a predetermined unit at the time of restoration, and when a data defect is detected, an appropriate coding unit including the relevant portion in the management information can be independently managed. It is possible to correct inconsistency between the management information file and the AV data file by treating it as a high-order encoding unit and managing it as an attribute that does not affect subsequent recording, reproduction, and editing operations, such as the “temporary deletion” attribute. . Since the stream data is not particularly processed, it is possible to refer to all the AV data files on the disk separately.

【図面の簡単な説明】[Brief description of the drawings]

【図1】図1は、管理情報記録系のブロック図である。FIG. 1 is a block diagram of a management information recording system.

【図2】図2は、記録媒体に記録されるファイル構成図
である。
FIG. 2 is a configuration diagram of a file recorded on a recording medium.

【図3】図3は、記録媒体に記録される管理情報ファイ
ルのデータ構成図である。
FIG. 3 is a data configuration diagram of a management information file recorded on a recording medium.

【図4】図4は、管理情報ファイルにおける記録単位情
報データ構成図である。
FIG. 4 is a configuration diagram of recording unit information data in a management information file.

【図5】図5は、管理情報ファイルにおける記録単位総
合情報データ構成図である。
FIG. 5 is a configuration diagram of recording unit total information data in a management information file.

【図6】図6は、管理情報ファイルにおける単位時間情
報データ構成図である。
FIG. 6 is a configuration diagram of unit time information data in a management information file.

【図7】図7は、管理情報ファイルにおけるGOP情報
データ構成図である。
FIG. 7 is a configuration diagram of GOP information data in a management information file.

【図8】図8は、ビットストリームファイルにおける記
録単位データ構成図である。
FIG. 8 is a configuration diagram of recording unit data in a bit stream file.

【図9】図9は、ビットストリームファイルおける管理
情報パックデータ構成図である。
FIG. 9 is a configuration diagram of management information pack data in a bit stream file.

【図10】図10は、不揮発性記録状態メモリのデータ
構成図である。
FIG. 10 is a data configuration diagram of a nonvolatile recording state memory;

【図11】図11は、管理情報修復系のブロック図であ
る。
FIG. 11 is a block diagram of a management information restoration system.

【図12】図12は、管理情報修復系の処理を示したフ
ローチャート図である。
FIG. 12 is a flowchart illustrating processing of a management information restoration system;

【図13】図13は、編集装置のブロック図。FIG. 13 is a block diagram of an editing device.

【図14】図14は、記録媒体に記録されるファイル構
成図。
FIG. 14 is a diagram showing a configuration of a file recorded on a recording medium.

【図15】図15は、記録媒体に記録されるファイル構
成図。
FIG. 15 is a diagram showing a file configuration recorded on a recording medium.

【図16】図16は、記録装置のブロック図。FIG. 16 is a block diagram of a recording apparatus.

【図17】図17は、状態管理不揮発性メモリのデータ
構成図。
FIG. 17 is a data configuration diagram of a state management nonvolatile memory.

【図18】図18は、記録装置の起動処理フローチャー
ト図。
FIG. 18 is a flowchart of a startup process of the recording apparatus.

【図19】図19は、本発明による情報記録再生装置の
第五の実施例を示すブロック図。
FIG. 19 is a block diagram showing a fifth embodiment of the information recording / reproducing apparatus according to the present invention.

【図20】図20は、ディスク上のディレクトリ構造を
示す図。
FIG. 20 is a view showing a directory structure on a disk;

【図21】図21は、状態記憶メモリに記憶される状態
フラグの一例を示す図。
FIG. 21 is a diagram illustrating an example of a state flag stored in a state storage memory;

【図22】図22は、状態フラグに応じた修復動作の概
略フローを示す図。
FIG. 22 is a diagram showing a schematic flow of a repair operation according to a state flag;

【図23】図23は、動画像ファイル記録中における電
源遮断時の、ディスク上のデータ状態を示す図。
FIG. 23 is a diagram showing a data state on a disk when a power is turned off during recording of a moving image file.

【図24】図24は、実データ編集中における電源遮断
時の、ディスク上のデータ状態を示す図。
FIG. 24 is a diagram showing a data state on a disk when power is turned off during actual data editing.

【図25】図25は、動画像ファイルの管理上の構造を
示す図。
FIG. 25 is a diagram illustrating a management structure of a moving image file;

【図26】図26は、ストリームデータのパック構造を
示す図。
FIG. 26 is a diagram showing a pack structure of stream data.

【図27】図27は、本発明による情報記録再生方法の
第六の実施例を説明するための図。
FIG. 27 is a diagram for explaining a sixth embodiment of the information recording / reproducing method according to the present invention.

【図28】図28は、本発明による情報記録再生方法の
第七の実施例を説明するための図。
FIG. 28 is a diagram for explaining a seventh embodiment of the information recording / reproducing method according to the present invention.

【符号の説明】[Explanation of symbols]

10…アナログビデオデータの入力端子、20…アナロ
グオーディオデータの入力端子、30…ビデオ符号化処
理、40…オーディオ符号化処理、50…ビデオ/オー
ディオ/管理情報多重化処理、60…ストリームバッフ
ァ、70…管理情報生成処理、80…記録媒体ドライブ
処理、90…揮発性管理情報展開メモリ、100…管理
情報展開処理、110…統合管理処理、120…不揮発
性記録状態メモリ、130…記録媒体、140…ビデオ
/オーディオ/管理情報分離化処理。
10: input terminal for analog video data, 20: input terminal for analog audio data, 30: video encoding process, 40: audio encoding process, 50: video / audio / management information multiplexing process, 60: stream buffer, 70 ... Management information generation processing, 80 ... Recording medium drive processing, 90 ... Volatile management information expansion memory, 100 ... Management information expansion processing, 110 ... Integrated management processing, 120 ... Non-volatile recording state memory, 130 ... Recording medium, 140 ... video
/ Audio / Management information separation processing.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 今井 勉 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所デジタルメディア開発本 部内 (72)発明者 加藤 寿宏 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所デジタルメディア開発本 部内 Fターム(参考) 5C053 FA25 GB06 GB38 JA22 JA23 JA24 KA05 KA24 5D044 AB05 AB07 BC01 BC06 CC04 DE14 DE17 DE22 DE49 DE50 DE53 DE58 5D077 AA22 AA30 AA38 BA08 BA18 CA02 DC01 DC08 DC15 DC37 EA33 EA34 5D110 AA13 AA14 AA27 AA29 DA01 DA08 DA11 DB05 DC05 DC15 DE02 DE04 DE06  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Tsutomu Imai 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Digital Media Development Division, Hitachi, Ltd. (72) Inventor Toshihiro Kato 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Address F-term in Hitachi Digital Media Development Headquarters (Reference) EA34 5D110 AA13 AA14 AA27 AA29 DA01 DA08 DA11 DB05 DC05 DC15 DE02 DE04 DE06

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】少なくともビデオ符号化データとオーディ
オ符号化データとを多重化する記録データ多重化手段
と、前記記録データ多重化手段から出力されるデータを
記憶する記録データ記憶手段と、前記記録データ多重化
手段から得られるデータに基づいて前記記録媒体に記録
されたデータを再生するための管理情報を生成するため
に必要なデータを生成する管理情報生成用データ生成手
段と、前記管理情報を記憶する管理情報記憶手段と、前
記管理情報生成用データ生成手段からの出力に基づき前
記管理情報を生成し、管理情報記憶手段に書込み、また
は読出す管理情報生成手段と、少なくとも前記記録デー
タ記憶手段から出力された情報、または前記管理情報生
成手段から出力された情報を記録媒体に記録、または読
出す記録媒体ドライブ処理手段と、記録処理の状態を示
す状態情報を記憶する記録状態記憶手段と、前記記録デ
ータ多重化手段と前記記録データ記憶手段と前記管理情
報生成用データ生成手段と前記管理情報生成手段と前記
管理情報記憶手段と前記記録媒体ドライブ処理手段と前
記記録状態記憶手段とを管理する統合管理手段とを備
え、前記統合管理手段は、前記記録状態記憶手段に対し
て前記状態情報を書込み、または読出すことを特徴とす
る情報記録再生装置。
1. A recording data multiplexing means for multiplexing at least video encoded data and audio encoded data, a recording data storage means for storing data outputted from the recording data multiplexing means, and the recording data Management information generating data generating means for generating data necessary for generating management information for reproducing data recorded on the recording medium based on data obtained from the multiplexing means, and storing the management information Management information storage means for generating the management information based on an output from the management information generation data generation means, and writing or reading the management information to or from the management information storage means; A recording medium drive for recording or reading the output information or the information output from the management information generating means on a recording medium. Processing means, recording state storage means for storing state information indicating the state of recording processing, the recording data multiplexing means, the recording data storage means, the management information generation data generation means, the management information generation means, An integrated management unit that manages the management information storage unit, the recording medium drive processing unit, and the recording state storage unit, wherein the integrated management unit writes or reads the state information in the recording state storage unit. An information recording / reproducing apparatus characterized in that the information is output.
【請求項2】請求項1に記載の情報記録再生装置におい
て、情報を記録媒体に記録、または読出す前記記録媒体
ドライブ処理手段と、前記記録媒体から読出されたを情
報からビデオ符号化データとオーディオ符号化データと
を分離する記録データ分離化手段と、前記記録データ分
離化手段から得られるデータに基づいて前記記録媒体に
記録されたデータを再生するための管理情報を生成する
ために必要なデータを生成する前記管理情報生成用デー
タ生成手段と、前記管理情報を記憶する前記管理情報記
憶手段と、前記管理情報生成用データ生成手段からの出
力に基づき前記管理情報を生成し、管理情報記憶手段に
書込み、または読出す前記管理情報生成手段と、前記記
録媒体から読出された情報から前記管理情報を読出し、
前記管理情報記憶手段に出力する管理情報読出し手段
と、前記記録データ分離化手段と前記管理情報生成用デ
ータ生成手段と前記管理情報生成手段と前記管理情報記
憶手段と前記記録媒体ドライブ処理手段と前記管理情報
読出し手段と前記記録状態記憶手段とを管理する統合管
理手段とを備え、前記記録媒体ドライブ処理手段は前記
管理情報生成手段から出力された情報を前記記録媒体に
記録し、前記統合管理手段は、前記記録状態記憶手段に
対して前記状態情報を書込み、または読出すことを特徴
とする情報記録再生装置。
2. An information recording / reproducing apparatus according to claim 1, wherein said recording medium drive processing means records or reads information on or from a recording medium, and outputs video encoded data from the information read from said recording medium. Recording data separating means for separating audio encoded data from the recording data; and necessary information for generating management information for reproducing data recorded on the recording medium based on data obtained from the recording data separating means. The management information generation data generating means for generating data; the management information storage means for storing the management information; and the management information storage generating the management information based on an output from the management information generation data generating means. Means for writing or reading the management information, and reading the management information from the information read from the recording medium;
Management information reading means for outputting to the management information storage means, the recording data separation means, the management information generation data generation means, the management information generation means, the management information storage means, the recording medium drive processing means, An integrated management unit that manages the management information reading unit and the recording state storage unit, wherein the recording medium drive processing unit records information output from the management information generation unit on the recording medium; Is an information recording / reproducing apparatus for writing or reading the status information to or from the recording status storage means.
【請求項3】請求項1記載の情報記録再生装置におい
て、前記記録状態記憶手段は、電力供給が遮断されても
記憶された情報が記憶されている記憶手段とすることを
特徴とする情報記録再生装置。
3. An information recording / reproducing apparatus according to claim 1, wherein said recording state storage means is a storage means for storing stored information even when power supply is cut off. Playback device.
【請求項4】請求項2記載の情報記録再生装置におい
て、前記記録状態記憶手段を読出した前記状態情報に基
づいて、前記記録媒体に記録されている情報を再生でき
る情報とするように処理することを特徴とする情報記録
再生装置。
4. The information recording / reproducing apparatus according to claim 2, wherein the information recorded on the recording medium is processed to be reproducible information based on the state information read from the recording state storage means. An information recording / reproducing apparatus characterized by the above-mentioned.
【請求項5】請求項2記載の情報記録再生装置におい
て、前記記録状態記憶手段を読出した前記状態情報に基
づいて、前記記録媒体から読出した情報を調べ、再生で
きない情報の含まれる記録単位からファイルの末尾まで
のデータを削除することを特徴とする情報記録再生装
置。
5. The information recording / reproducing apparatus according to claim 2, wherein the information read from the recording medium is checked based on the state information read from the recording state storage means, and the information is read from a recording unit including information that cannot be reproduced. An information recording / reproducing apparatus for deleting data up to the end of a file.
【請求項6】請求項2記載の情報記録再生装置におい
て、前記記録状態記憶手段を読出した前記状態情報に基
づいて、前記記録媒体から読出した情報からなる管理単
位群を調べ、再生できない情報の含まれる記録単位を含
む管理単位を削除し、前記管理単位群の始めから前記前
記再生できない情報の含まれる記録単位を含む管理単位
までを第1の管理単位群とし、前記再生できない情報の
含まれる記録単位を含む管理単位以降から前記管理単位
群の末尾までを第2の管理単位群とすることを特徴とす
る情報記録再生装置。
6. An information recording / reproducing apparatus according to claim 2, wherein a management unit group composed of information read from said recording medium is examined based on said status information read from said recording status storage means, and information of unreproducible information is checked. The management unit including the included recording unit is deleted, and a range from the beginning of the management unit group to the management unit including the recording unit including the unreproducible information is defined as a first management unit group, and the unreproducible information is included. An information recording / reproducing apparatus, wherein a second management unit group includes a portion from a management unit including a recording unit to an end of the management unit group.
【請求項7】請求項2記載の情報記録再生装置におい
て、前記記録媒体には、前記記録データ記憶手段から出
力された情報をデータファイルとし、前記管理情報生成
手段から出力された情報を管理情報ファイルとして組と
するものを、第1、第2の複数の組として記録されるも
のとし、前記記録媒体に所定のファイルフォーマットで
ファイルを書込みできるように、または読出しできるよ
うに、または二つのファイルから新たなファイルを生成
できるようにファイルの管理をするファイルシステム管
理処理手段と、前記ファイルシステム管理処理手段から
前記第1の組の管理情報ファイルを読出す第1の管理情
報ファイル読出し処理手段と、前記第1の管理情報ファ
イル読出し処理手段から読出された前記第1の組の管理
情報を第1の管理情報として記憶する第1の管理情報記
憶手段と、前記第1の管理情報記憶手段から、前記第1の
管理情報を読出し、前記第1の組の管理情報ファイルと
して、ファイルシステム管理処理手段に書込む管理情報
ファイル書込み処理手段と、前記ファイルシステム管理
処理手段から、前記第2の組の管理情報ファイルを読出
す第2の管理情報ファイル読出し処理手段と、前記第2の
管理情報ファイル読出し処理手段から読出された前記第
2の組の管理情報を、第2の管理情報として記憶する第2
の管理情報記憶手段と、前記第1の管理情報情報記憶手
段に記憶された情報と、前記第2の管理情報記憶手段に
記憶された情報とから、新たな管理情報を生成し、前記
第1の管理情報記憶手段に書込む結合処理手段とを備
え、前記データファイルと前記管理情報ファイルの複数
組を、一組にすることを特徴とする編集装置。
7. The information recording / reproducing apparatus according to claim 2, wherein the information output from the recording data storage means is a data file, and the information output from the management information generating means is the management information. A file as a set is recorded as a first and a second plurality of sets, and a file can be written or read in a predetermined file format on the recording medium, or two files can be read. File system management processing means for managing a file so that a new file can be generated from the first file; first management information file reading processing means for reading the first set of management information files from the file system management processing means; The first set of management information read from the first management information file read processing means as first management information. A first management information storage unit for reading and storing the first management information, and writing the first management information from the first management information storage unit to the file system management processing unit as the first set of management information files Management information file writing processing means, second management information file reading processing means for reading the second set of management information files from the file system management processing means, and second management information file reading processing means. The said read out
The second set of management information of two sets is stored as second management information.
Management information storage means, information stored in the first management information information storage means, and information stored in the second management information storage means, to generate new management information, And a combination processing unit for writing into the management information storage unit, wherein a plurality of sets of the data file and the management information file are combined into one set.
【請求項8】請求項7の情報記録再生装置において、前
記記録媒体に記録される前記データファイルと前記管理
情報ファイルの複数組が2以上であり、2以上の複数組
を、一組にすることを特徴とする編集装置。
8. The information recording / reproducing apparatus according to claim 7, wherein a plurality of sets of the data file and the management information file recorded on the recording medium are two or more, and the two or more sets are combined into one set. An editing device, characterized in that:
【請求項9】請求項7記載の情報記録再生装置におい
て、前記記録状態記憶手段を読出した前記状態情報に基
づいて、前記記録媒体に記録された前記データファイル
と前記管理情報ファイルの第1の組を調べ、再生できな
い情報が含まれる場合、前記第1の組の識別子を第2の
識別子に変更し、前記記録媒体に記録する新たなデータ
ファイルと新たな管理情報ファイルを第1の組として、
前記記録媒体に記録することを特徴とする情報記録再生
装置。
9. The information recording / reproducing apparatus according to claim 7, wherein the first data file and the first management information file recorded on the recording medium are stored on the basis of the status information read from the recording status storage means. The set is checked, and if information that cannot be reproduced is included, the identifier of the first set is changed to a second identifier, and a new data file and a new management information file to be recorded on the recording medium are set as the first set. ,
An information recording / reproducing apparatus for recording on the recording medium.
【請求項10】記録媒体にビデオやオーディオを記録す
る記録装置であって、 アナログビデオ信号を符号化す
るビデオ符号化手段と、 アナログオーディオ信号を符
号化するオーディオ符号化手段と、 前記記録媒体をラ
ンダムアクセスしたり特殊再生するための管理情報デー
タを生成するために必要なデータを生成し、前記管理情
報データを生成するために必要なデータと前記ビデオ符
号化手段から出力されるビデオ符号化データと前記オー
ディオ符号化手段から出力されるオーディオ符号化デー
タとを多重化するビデオ/オーディオ/管理情報多重化手
段と、前記ビデオ/オーディオ/管理情報多重化手段から
出力される多重化データを所定の量だけ蓄え、前記記録
媒体に前記多重化データをビットストリームファイルと
して書きこむストリームバッファと、前記管理情報デー
タを記憶する揮発性管理情報展開メモリと、前記管理情
報データを生成するために必要なデータから管理情報デ
ータを生成し、前記揮発性管理情報メモリに書き込み、
前記管理情報データを管理情報ファイルとして前記記録
媒体に書きこむ管理情報生成手段と、前記記録媒体から
前記管理情報ファイルを読み出し、前記揮発性管理情報
展開メモリに展開する管理情報展開手段と、前記記録媒
体から直接データを読んだり書いたりする記録媒体ドラ
イブ手段と、 記録処理の経過の状態を記憶する不揮発性のメモリであ
る不揮発性記録状態メモリと、前記ビデオ符号化手段と
前記オーディオ符号化手段と前記ビデオ/オーディオ/管
理情報多重化手段と前記ストリームバッファと前記管理
情報生成手段と前記管理情報展開手段と前記揮発性管理
情報展開メモリと前記記録媒体ドライブ処理とを統合的
に管理し、その処理の状態を前記不揮発性記録状態メモ
リに書いたり読み出したりする統合管理手段とを備える
ことを特徴とする記録装置。
10. A recording device for recording video and audio on a recording medium, comprising: video encoding means for encoding an analog video signal; audio encoding means for encoding an analog audio signal; Data necessary for generating management information data for random access or special reproduction, data necessary for generating the management information data, and video encoded data output from the video encoding means Video / audio / management information multiplexing means for multiplexing the audio coded data output from the audio coding means, and multiplexed data output from the video / audio / management information multiplexing means, A stream for storing the multiplexed data as a bit stream file on the recording medium by storing the same in an amount. A buffer, a volatile management information expansion memory that stores the management information data, and generates management information data from data necessary for generating the management information data, and writes the management information data in the volatile management information memory.
Management information generating means for writing the management information data to the recording medium as a management information file; management information development means for reading the management information file from the recording medium and developing the management information file in the volatile management information development memory; Recording medium drive means for reading and writing data directly from a medium, nonvolatile recording state memory which is a nonvolatile memory for storing a progress state of a recording process, the video encoding means and the audio encoding means, The video / audio / management information multiplexing means, the stream buffer, the management information generation means, the management information development means, the volatile management information development memory, and the recording medium drive processing are integrally managed, and the processing is performed. Integrated management means for writing and reading the state of the data to and from the nonvolatile recording state memory. Recording apparatus characterized.
【請求項11】記録媒体に記録された前記ビットストリ
ームファイルを読み出し、ビデオ符号化データとオーデ
ィオ符号化データと管理情報データを生成するために必
要なデータとを分離するビデオ/オーディオ/管理情報分
離化手段と、前記管理情報データを記憶する揮発性管理
情報展開メモリと、前記管理情報データを生成するのに
必要なデータから管理情報データを生成し、前記揮発性
管理情報メモリに書き込み、前記管理情報データを管理
情報ファイルとして前記記録媒体に書きこむ管理情報生
成手段と、前記記録媒体から前記管理情報ファイルを読
み出し、前記揮発性管理情報展開メモリに展開する管理
情報展開手段と、前記記録媒体から直接データを読んだ
り書いたりする記録媒体ドライブ手段と、 記録処理の経過の状態を記憶する不揮発性のメモリであ
る不揮発性記録状態メモリと、前記ビデオ/オーディオ/
管理情報分離化手段と前記管理情報生成手段と前記管理
情報展開手段と前記揮発性管理情報展開メモリと前記記
録媒体ドライブ処理とを統合的に管理し、その処理の状
態を前記不揮発性記録状態メモリのデータに書いたり読
みだしたりする統合管理手段とを備えることを特徴とす
る記録情報修復装置。
11. A video / audio / management information separator for reading the bit stream file recorded on a recording medium and separating video encoded data, audio encoded data, and data necessary for generating management information data. Converting means, a volatile management information expansion memory for storing the management information data, and generating management information data from data necessary for generating the management information data, writing the management information data in the volatile management information memory, and Management information generating means for writing information data to the recording medium as a management information file, management information development means for reading the management information file from the recording medium, and developing the management information file in the volatile management information development memory; Recording medium drive means for directly reading and writing data, and storing the progress of the recording process A non-volatile recording-state memory is a nonvolatile memory, the video / audio /
The management information separating unit, the management information generation unit, the management information expansion unit, the volatile management information expansion memory, and the recording medium drive process are integratedly managed, and the status of the process is stored in the nonvolatile recording state memory. A recording information restoring device, comprising: integrated management means for writing and reading data.
【請求項12】符号化された画像データファイルと前記
画像データファイルを管理するための管理情報ファイル
の組を、複数組記録する領域を有する記録媒体と、前記
記録媒体に情報を書き込んだり、前記記録媒体から情報
を読み出したりする記録媒体駆動処理手段と、前記記録
媒体に所定のファイルフォーマットで、ファイルを書き
込んだり、読み出したり、二つのファイルを結合したり
する、ファイルシステム管理処理手段と、前記ファイル
システム管理処理手段から前記管理情報ファイルを読み
出すように命令をする、管理情報ファイル読み出し処理
手段と、前記管理情報ファイル読み出し処理手段から読
み出された前記管理情報ファイルを、管理情報展開デー
タとして蓄えておくための管理情報展開メモリと、前記
管理情報展開メモリから、前記管理情報展開データーを
読み出し、前記管理情報ファイルとして、ファイルシス
テム管理処理手段に書き込むように命令する、管理情報
ファイル書き込み処理手段と、前記ファイルシステム管
理処理手段から、前記管理情報ファイルと同一フォーマ
ットではあるが、異なるファイルであるバックアップ管
理情報ファイルを読み出すように命令する、バックアッ
プ管理情報ファイル読み出し処理手段と、前記バックア
ップ管理情報ファイル読み出し処理手段から読み出され
た前記バックアップ管理情報ファイルを、バックアップ
管理情報展開データとして蓄えておくためのバックアッ
プ管理情報展開メモリと、前記管理情報展開メモリの情
報と、前記バックアップ管理情報展開メモリの情報を、
一つに結合し、前記管理情報展開メモリに書き込みをす
る、結合処理手段とを備え、前記画像データファイルと
前記管理情報ファイルの複数組を、一組に結合すること
を特徴とする編集装置。
12. A recording medium having an area for recording a plurality of sets of encoded image data files and a management information file for managing the image data files; and writing information to the recording medium, A recording medium drive processing unit that reads information from a recording medium; a file system management processing unit that writes or reads a file in a predetermined file format on the recording medium, or combines two files; A management information file read processing means for instructing the management system to read the management information file from a file system management processing means, and the management information file read from the management information file read processing means are stored as management information development data. Management information expansion memory for storing the management information expansion memo From the management information file writing processing means and the file system management processing means which instructs to write the management information development data to the file system management processing means as the management information file. A backup management information file read processing means for instructing to read a backup management information file, which is a format but different file, and a backup management information file read from the backup management information file read processing means. Backup management information expansion memory for storing as management information expansion data, information of the management information expansion memory, and information of the backup management information expansion memory,
An editing apparatus, comprising: a combination processing unit that combines the image data file and the management information file into one set and writes the management data into the management information development memory.
【請求項13】請求項3記載の編集装置であって、アナ
ログ動画像を圧縮符号化する動画像圧縮符号化処理手段
と、アナログ音声を圧縮符号化する音声圧縮符号化処理
手段と、前記動画像圧縮符号化処理手段から出力される
動画像圧縮符号化データと、前記音声圧縮符号化処理手
段から出力される音声圧縮符号化データを多重化する、
動画音声多重化処理手段と、前記動画音声圧縮多重化処
理手段から、管理情報ファイル生成するのに必要な情報
を取得し、前記管理情報展開メモリに展開されている管
理情報展開データに、管理情報展開データとして追記す
る管理情報展開データ生成処理手段と、前記動画音声圧
縮多重化処理手段から出力される多重化ストリームを一
旦蓄えるストリームバッファと、前記ストリームバッフ
ァから前記多重化データを前記ファイルシステム管理手
段に、多重化ストリームファイルとして、書き込むよう
に命令するストリームバッファ管理手段と、記録処理の
経過の状態を記憶する不揮発性のメモリである状態管理
不揮発性メモリと、前記管理情報ファイルか、前記多重
化ストリームファイルが異常なとき、正常なフォーマッ
トに修復する修復処理手段と、起動時に、前記状態管理
不揮発性メモリを監視し、状態に応じて前記管理情報フ
ァイルを前記管理情報展開メモリに展開するように命令
したり、前記修復処理手段に管理情報ファイルや、前記
多重化ストリームファイルを修復するように命令した
り、前記修復処理手段に管理情報ファイルや前記多重化
ストリームファイルの名前を変更したり、前記画像デー
タファイルと前記管理情報ファイルの複数組を、一組に
結合することを特徴とする起動処理手段とを備える記録
装置。
13. An editing apparatus according to claim 3, wherein said moving image compression encoding means compresses and encodes an analog moving image; audio compression encoding processing means which compresses and encodes analog audio; Multiplexing the moving image compression encoded data output from the image compression encoding processing means and the audio compression encoded data output from the audio compression encoding processing means,
Video and audio multiplexing processing means, and information necessary for generating a management information file are obtained from the video and audio compression and multiplexing processing means, and management information is stored in management information expanded data expanded in the management information expansion memory. Management information expansion data generation processing means for additionally writing as expansion data, a stream buffer for temporarily storing a multiplexed stream output from the moving picture audio compression and multiplexing processing means, and the file system management means for storing the multiplexed data from the stream buffer A stream buffer management means for instructing writing as a multiplexed stream file, a state management nonvolatile memory which is a nonvolatile memory for storing the progress of the recording process, and whether the management information file or the multiplexed Repair to recover to normal format when stream file is abnormal Management means, at startup, monitors the state management nonvolatile memory, instructs to expand the management information file in the management information expansion memory according to the state, management information file to the restoration processing means, It instructs to repair the multiplexed stream file, changes the name of the management information file or the multiplexed stream file to the repair processing means, and replaces a plurality of sets of the image data file and the management information file with one another. A recording apparatus comprising: a start-up processing unit coupled to a set.
【請求項14】画像音声データと共に該画像音声データ
の管理情報をディスク上に記録し、該管理情報を元に前
記画像音声データを再生する情報記録再生方法におい
て、前記記録及び再生を始めとする動作全般を制御する
制御手段を備え、状態記憶用の記憶手段を設け、前記制
御手段は該記憶手段に記録、再生、編集など動作状態を
示す状態判別情報を逐次記憶するように構成し、起動時
には前記制御手段は前記記憶手段より前記状態判別情報
を読み出し、該状態判別情報に応じて前記画像音声デー
タを解析することにより、前記管理情報及び前記画像音
声データ自身を適正な形式に補正するように構成したこ
とを特徴とする情報記録再生方法。
14. An information recording / reproducing method for recording management information of the video / audio data together with the video / audio data on a disk and reproducing the video / audio data based on the management information. A control unit for controlling the overall operation is provided, and a storage unit for state storage is provided. The control unit is configured to sequentially store state determination information indicating an operation state such as recording, reproduction, editing, etc. in the storage unit. Sometimes, the control unit reads the state determination information from the storage unit and analyzes the image / audio data according to the state determination information, thereby correcting the management information and the image / audio data themselves to an appropriate format. An information recording / reproducing method characterized in that:
【請求項15】請求項14に記載の情報記録再生方法に
おいて、前記記憶手段より読み出された前記状態判別情
報により、前記画像音声データの特定箇所以降の情報が
前記管理情報に未反映だと判定された場合には、該管理
情報より情報を取得することにより、前記画像音声デー
タ上の前記管理情報へ未反映の位置より解析を行うよう
に構成したことを特徴とする情報記録再生方法。
15. The information recording / reproducing method according to claim 14, wherein, based on the state determination information read from the storage means, information after a specific portion of the video / audio data is not reflected in the management information. An information recording / reproducing method, characterized in that when it is determined, the information is obtained from the management information, so that the analysis is performed from a position not reflected in the management information on the video / audio data.
【請求項16】請求項14に記載の情報記録再生方法に
おいて、前記記憶手段より読み出された前記状態判別情
報により、前記画像音声データの中途一部情報が前記管
理情報に未反映だと判定された場合には、前記画像音声
データの先頭位置より解析を行うように構成したことを
特徴とする情報記録再生方法。
16. The information recording / reproducing method according to claim 14, wherein, based on the state determination information read from the storage means, it is determined that part of the information of the image / audio data is not reflected in the management information. An information recording / reproducing method, wherein analysis is performed from the start position of the image / audio data when the information is reproduced.
【請求項17】請求項14から請求項16に記載の情報
記録再生方法を用いた情報記録再生装置。
17. An information recording / reproducing apparatus using the information recording / reproducing method according to claim 14.
【請求項18】請求項14から請求項16に記載の情報
記録再生方法において、前記状態判別情報に応じて行わ
れる前記画像音声データの解析動作において、該画像音
声データの中途に不適正箇所を検出した場合には、該不
適正箇所が含まれる前記画像音声データ上の管理用小単
位を削除するように構成したことを特徴とする情報記録
再生方法。
18. The information recording / reproducing method according to claim 14, wherein in the image / audio data analyzing operation performed in accordance with the state determination information, an inappropriate portion is determined in the middle of the image / audio data. An information recording / reproducing method, wherein when detected, a management small unit on the image / audio data including the inappropriate part is deleted.
【請求項19】請求項14から請求項16に記載の情報
記録再生方法において、前記状態判別情報に応じて行わ
れる前記画像音声データの解析動作において、該画像音
声データの中途に不適正箇所を検出した場合には、該不
適正箇所が含まれる前記画像音声データ上の管理用小単
位を、より上位の管理用単位として独立に扱うように前
記管理情報を更新し、独立して扱われる前記管理用単位
は管理上、非再生出力の属性として扱うように構成した
ことを特徴とする情報記録再生方法。
19. An information recording / reproducing method according to claim 14, wherein in the image / audio data analyzing operation performed in accordance with the state determination information, an inappropriate part is located in the middle of the image / audio data. If detected, the management information is updated so that the management small unit on the image / audio data including the inappropriate portion is handled independently as a higher management unit, and the management information is handled independently. An information recording / reproducing method, wherein the management unit is configured to be treated as a non-reproducing output attribute for management.
【請求項20】請求項18及び請求項19に記載の情報
記録再生方法を用いた情報記録再生装置。
20. An information recording / reproducing apparatus using the information recording / reproducing method according to claim 18.
【請求項21】少なくともビデオ符号化データとオーデ
ィオ符号化データとを多重化する記録データ多重化ステ
ップと、前記記録データ多重化するステップから出力さ
れるデータを記憶する記録データ記憶ステップと、記録
媒体に記録されたデータを再生するための管理情報を生
成するために必要なデータを生成する管理情報生成用デ
ータ生成ステップと、前記管理情報生成用データ生成ス
テップからの出力に基づき前記管理情報を生成する管理
情報生成ステップと、前記管理情報を記憶する管理情報
記憶ステップと、前記管理情報記憶ステップで記憶され
た前記管理情報を読出すステップと、少なくとも前記記
録データ記憶ステップにて記憶された情報、または前記
管理情報記憶ステップにて記憶された情報を記録媒体に
記録、または読出す記録媒体ドライブ処理ステップと、
記録処理の状態を示す状態情報を記憶する記録状態記憶
ステップと、前記記録状態記憶ステップにて記憶された
前記状態情報を読出すステップと、を有することを特徴
とする情報記録再生方法。
21. A recording data multiplexing step of multiplexing at least video encoded data and audio encoded data, a recording data storing step of storing data output from the recording data multiplexing step, and a recording medium. A management information generation data generation step for generating data necessary for generating management information for reproducing data recorded in the storage device, and generating the management information based on an output from the management information generation data generation step Management information generating step, a management information storage step of storing the management information, a step of reading the management information stored in the management information storage step, and at least information stored in the recording data storage step, Alternatively, the information stored in the management information storage step is recorded on or read from a recording medium. A recording medium drive processing steps,
An information recording / reproducing method, comprising: a recording state storing step of storing state information indicating a state of a recording process; and a step of reading out the state information stored in the recording state storing step.
【請求項22】請求項21に記載の情報記録再生方法に
おいて、情報を前記記録媒体に記録、または読出す前記
記録媒体ドライブ処理ステップと、前記記録媒体から読
出された情報からビデオ符号化データとオーディオ符号
化データとを分離する記録データ分離化ステップと、前
記記録データ分離化ステップから得られるデータに基づ
いて前記記録媒体に記録されたデータを再生するための
管理情報を生成するために必要なデータを生成する前記
管理情報生成用データ生成ステップと、前記管理情報生
成用データ生成ステップからの出力に基づき前記管理情
報を生成する前記管理情報生成ステップと、前記管理情
報を記憶する前記管理情報記憶ステップと、前記管理情
報生成ステップからの管理情報記憶ステップに出力す
る、または管理情報記憶ステップにて記憶された前記管
理情報を読出すステップと、前記記録媒体から読出され
た情報から前記管理情報を読出し、前記管理情報記憶ス
テップに出力する管理情報読出しステップと、前記管理
情報生成ステップから出力された情報を前記記録媒体に
記録するステップと、記録処理の状態を示す状態情報を
記憶する記録状態記憶ステップと、前記記録状態記憶ス
テップにて記憶された前記状態情報を読出すステップ
と、を設けることを特徴とする情報記録再生方法。
22. The information recording / reproducing method according to claim 21, wherein said recording medium drive processing step of recording or reading information on or from said recording medium, and video encoded data from the information read from said recording medium. A recording data separating step of separating audio encoded data from the recording data; and a recording data separation step for generating management information for reproducing data recorded on the recording medium based on the data obtained from the recording data separation step. The management information generation data generation step of generating data, the management information generation step of generating the management information based on an output from the management information generation data generation step, and the management information storage storing the management information And outputting to the management information storage step from the management information generation step, or the management information Reading the management information stored in the storage step, reading the management information from the information read from the recording medium, and outputting the management information to the management information storage step; and generating the management information. Recording the information output from the storage medium on the recording medium, a recording state storage step of storing state information indicating a state of a recording process, and a step of reading the state information stored in the recording state storage step. And an information recording / reproducing method.
JP2000393264A 2000-01-11 2000-12-21 Information recording / reproducing apparatus and information recording / reproducing method Expired - Lifetime JP3838031B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000393264A JP3838031B2 (en) 2000-01-11 2000-12-21 Information recording / reproducing apparatus and information recording / reproducing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000006062 2000-01-11
JP2000-6062 2000-01-11
JP2000393264A JP3838031B2 (en) 2000-01-11 2000-12-21 Information recording / reproducing apparatus and information recording / reproducing method

Publications (2)

Publication Number Publication Date
JP2001266496A true JP2001266496A (en) 2001-09-28
JP3838031B2 JP3838031B2 (en) 2006-10-25

Family

ID=26583522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000393264A Expired - Lifetime JP3838031B2 (en) 2000-01-11 2000-12-21 Information recording / reproducing apparatus and information recording / reproducing method

Country Status (1)

Country Link
JP (1) JP3838031B2 (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003049111A1 (en) * 2001-11-30 2003-06-12 Sony Corporation Data recording/reproducing apparatus and data recording/reproducing method
JP2004007075A (en) * 2002-05-30 2004-01-08 Toshiba Corp Video image recording apparatus and video image recording method
WO2004061844A1 (en) * 2002-12-27 2004-07-22 Sony Corporation Optical recording method and optical recording device
US6883111B2 (en) 2001-11-12 2005-04-19 Hitachi, Ltd. Data recording method and data recording apparatus
JP2006140722A (en) * 2004-11-11 2006-06-01 Matsushita Electric Ind Co Ltd Digital video recording device
JP2006148912A (en) * 2004-11-17 2006-06-08 Samsung Electronics Co Ltd Recording method of video data and its recording device
US7062156B2 (en) 2000-06-26 2006-06-13 Matsushita Electric Industrial Co., Ltd. Digital video recording apparatus
JP2006338825A (en) * 2005-06-03 2006-12-14 Plannet Associate Co Ltd Apparatus for recording digital audio and video information
JP2007048423A (en) * 2005-07-13 2007-02-22 Victor Co Of Japan Ltd Recording/reproducing device
WO2007023784A1 (en) * 2005-08-22 2007-03-01 Sony Corporation Recording apparatus, recording method, program, and computer readable recording medium
US7215627B2 (en) 2001-12-27 2007-05-08 Kabushiki Kaisha Toshiba Method and apparatus of processing audio information having system header
JP2007179436A (en) * 2005-12-28 2007-07-12 Sony Corp Information processor, information processing method and program
KR100740225B1 (en) 2002-04-30 2007-07-18 삼성전자주식회사 Combo system capable of restoring an operating condition according to be provided power
JP2007529084A (en) * 2004-03-12 2007-10-18 エルジー エレクトロニクス インコーポレーテッド Recording medium, method and apparatus for recording on recordable recording medium, and method for managing backup file of recording medium
JP2008506219A (en) * 2004-07-06 2008-02-28 マグナム セミコンダクターズ, インコーポレイテッド Real-time video data recovery after power loss
JP2009116955A (en) * 2007-11-06 2009-05-28 Canon Inc Recording and reproducing device and method
US7599258B2 (en) 2003-07-15 2009-10-06 Pioneer Corporation Information recording medium, and information recording apparatus and method
US7672572B2 (en) 2002-11-15 2010-03-02 Panasonic Corporation Recording apparatus and recording method
JP2010049788A (en) * 2002-02-01 2010-03-04 Koninkl Philips Electronics Nv Apparatus and record carrier for, and method for recording sequence of video data signal
KR100971439B1 (en) 2002-07-22 2010-07-21 코닌클리케 필립스 일렉트로닉스 엔.브이. Rotation speed control for recording information
US7865066B2 (en) 2002-02-13 2011-01-04 Hitachi, Ltd. Video camera and video camera information recording method for managing a scene as a chapter
JP2011100543A (en) * 2005-07-13 2011-05-19 Victor Co Of Japan Ltd Recording and reproducing device
US8271752B2 (en) 2004-03-12 2012-09-18 Lg Electronics, Inc. Recording medium, method and apparatus for recording on recordable recording medium, and method for managing backup files of the same
JP5027805B2 (en) * 2006-06-15 2012-09-19 パナソニック株式会社 MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM
JP2016032123A (en) * 2014-07-25 2016-03-07 株式会社東芝 Video recording and playback apparatus, content control method and computer program

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062156B2 (en) 2000-06-26 2006-06-13 Matsushita Electric Industrial Co., Ltd. Digital video recording apparatus
US7363530B2 (en) 2001-11-12 2008-04-22 Hitachi, Ltd. Data recording method and data recording apparatus
US6883111B2 (en) 2001-11-12 2005-04-19 Hitachi, Ltd. Data recording method and data recording apparatus
WO2003049111A1 (en) * 2001-11-30 2003-06-12 Sony Corporation Data recording/reproducing apparatus and data recording/reproducing method
US7236689B2 (en) 2001-11-30 2007-06-26 Sony Corporation Data recording/reproducing apparatus and data recording/reproducing method
US7215627B2 (en) 2001-12-27 2007-05-08 Kabushiki Kaisha Toshiba Method and apparatus of processing audio information having system header
JP2010123252A (en) * 2002-02-01 2010-06-03 Koninkl Philips Electronics Nv Apparatus and record carrier for, and method of recording sequence of video data signal
JP2010049788A (en) * 2002-02-01 2010-03-04 Koninkl Philips Electronics Nv Apparatus and record carrier for, and method for recording sequence of video data signal
US7865066B2 (en) 2002-02-13 2011-01-04 Hitachi, Ltd. Video camera and video camera information recording method for managing a scene as a chapter
KR100740225B1 (en) 2002-04-30 2007-07-18 삼성전자주식회사 Combo system capable of restoring an operating condition according to be provided power
JP2004007075A (en) * 2002-05-30 2004-01-08 Toshiba Corp Video image recording apparatus and video image recording method
KR100971439B1 (en) 2002-07-22 2010-07-21 코닌클리케 필립스 일렉트로닉스 엔.브이. Rotation speed control for recording information
US7676141B2 (en) 2002-11-15 2010-03-09 Panasonic Corporation Recording apparatus and recording method
US7672572B2 (en) 2002-11-15 2010-03-02 Panasonic Corporation Recording apparatus and recording method
US7333411B2 (en) 2002-12-27 2008-02-19 Sony Corporation Optical recording method and optical recording device
WO2004061844A1 (en) * 2002-12-27 2004-07-22 Sony Corporation Optical recording method and optical recording device
US7599258B2 (en) 2003-07-15 2009-10-06 Pioneer Corporation Information recording medium, and information recording apparatus and method
US7697387B2 (en) 2003-07-15 2010-04-13 Pioneer Corporation Information recording medium, and information recording apparatus and method
JP2007529084A (en) * 2004-03-12 2007-10-18 エルジー エレクトロニクス インコーポレーテッド Recording medium, method and apparatus for recording on recordable recording medium, and method for managing backup file of recording medium
JP4790700B2 (en) * 2004-03-12 2011-10-12 エルジー エレクトロニクス インコーポレイティド Recording medium, method and apparatus for recording on recordable recording medium, and method for managing backup file of recording medium
US8271752B2 (en) 2004-03-12 2012-09-18 Lg Electronics, Inc. Recording medium, method and apparatus for recording on recordable recording medium, and method for managing backup files of the same
JP2008506219A (en) * 2004-07-06 2008-02-28 マグナム セミコンダクターズ, インコーポレイテッド Real-time video data recovery after power loss
JP4503419B2 (en) * 2004-11-11 2010-07-14 パナソニック株式会社 Digital video recording device
JP2006140722A (en) * 2004-11-11 2006-06-01 Matsushita Electric Ind Co Ltd Digital video recording device
JP2006148912A (en) * 2004-11-17 2006-06-08 Samsung Electronics Co Ltd Recording method of video data and its recording device
JP2006338825A (en) * 2005-06-03 2006-12-14 Plannet Associate Co Ltd Apparatus for recording digital audio and video information
JP4533249B2 (en) * 2005-06-03 2010-09-01 株式会社プランネット・アソシエイツ Digital audio / video information recording device
US8005347B2 (en) 2005-07-13 2011-08-23 Victor Company Of Japan, Limited Recording/reproducing device capable of avoiding or reducing various malfunctions caused by dropping
JP2007048423A (en) * 2005-07-13 2007-02-22 Victor Co Of Japan Ltd Recording/reproducing device
JP2011100543A (en) * 2005-07-13 2011-05-19 Victor Co Of Japan Ltd Recording and reproducing device
JP4725440B2 (en) * 2005-07-13 2011-07-13 日本ビクター株式会社 Recording / playback device
WO2007023784A1 (en) * 2005-08-22 2007-03-01 Sony Corporation Recording apparatus, recording method, program, and computer readable recording medium
US8346064B2 (en) 2005-08-22 2013-01-01 Sony Corporation Recording apparatus, recording method, program and computer-readable recording medium
JP2007179436A (en) * 2005-12-28 2007-07-12 Sony Corp Information processor, information processing method and program
JP5027805B2 (en) * 2006-06-15 2012-09-19 パナソニック株式会社 MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM
JP2009116955A (en) * 2007-11-06 2009-05-28 Canon Inc Recording and reproducing device and method
JP2016032123A (en) * 2014-07-25 2016-03-07 株式会社東芝 Video recording and playback apparatus, content control method and computer program

Also Published As

Publication number Publication date
JP3838031B2 (en) 2006-10-25

Similar Documents

Publication Publication Date Title
JP3838031B2 (en) Information recording / reproducing apparatus and information recording / reproducing method
US7340153B2 (en) Apparatus and method for recording and reproducing information
US7149414B2 (en) Optical disc, optical disc recording apparatus, and optical disc recording method for facilitating dubbing, storage medium for storing optical disc recording program for facilitating dubbing, optical disc reproducing apparatus, and optical disc reproducing method
JP3896949B2 (en) Video editing apparatus and video editing program
JP3637275B2 (en) Information immediate recording apparatus and information immediate recording method
JP3653482B2 (en) Recording apparatus, recording method, program recording medium, and recording program
US20060083138A1 (en) Write-once medium recording method and recording apparatus, and playback apparatus
US7830421B2 (en) Reproducing apparatus
KR100698346B1 (en) Write-once medium recording method, recording apparatus, and playback apparatus
JP4394910B2 (en) Information recording device
JP3631454B2 (en) Video recording / reproducing method and apparatus
KR100335413B1 (en) Disc storing edit control information apparatus and method for seamless playback after editing
JP4274029B2 (en) Recording apparatus and method, reproducing apparatus and method, program recording medium, and program
JP4247094B2 (en) Information recording / reproducing apparatus and method
JPWO2004084552A1 (en) Data stream recording method and apparatus
JP4266968B2 (en) Information recording / reproducing device
JP2006352180A (en) Video information recording apparatus
JP2004139648A (en) Information recorder and information recording method
JP2001167530A (en) Recording medium storing additional information for restoring digital data line/information, recording/ restoring method
JP2009296402A (en) Moving image recording and reproducing apparatus
JP2004364328A (en) Immediate information recording apparatus
JP2006079736A (en) Optical disk recording device
MXPA99007437A (en) Optical

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060220

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060314

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060510

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060606

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060724

R151 Written notification of patent or utility model registration

Ref document number: 3838031

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130811

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term