JP2005175567A - Optical disc video camera - Google Patents

Optical disc video camera Download PDF

Info

Publication number
JP2005175567A
JP2005175567A JP2003408595A JP2003408595A JP2005175567A JP 2005175567 A JP2005175567 A JP 2005175567A JP 2003408595 A JP2003408595 A JP 2003408595A JP 2003408595 A JP2003408595 A JP 2003408595A JP 2005175567 A JP2005175567 A JP 2005175567A
Authority
JP
Japan
Prior art keywords
recording
optical disc
optical disk
video camera
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003408595A
Other languages
Japanese (ja)
Inventor
Kenzo Ishibashi
謙三 石橋
Akira Ichinose
亮 一之瀬
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003408595A priority Critical patent/JP2005175567A/en
Publication of JP2005175567A publication Critical patent/JP2005175567A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To continue photography even if a state unrecordable onto an optical disc occurs due to vibration, impact or temperature rise of a semiconductor laser in an optical disc video camera. <P>SOLUTION: The optical disc video camera for converting AV information received at a video camera section 101 into an AV stream while compressing in response to a photography instruction, storing the AV stream temporarily in a buffer memory, outputting it intermittently to an optical disc drive 100 as photography data to be recorded at a specified position of an optical disc and recording the photography data at the specified position of the optical disc comprises a nonvolatile memory 110, a means for judging whether recording of the optical disc drive is possible or not, and a record control means for stopping recording on the optical disc during a period judged that the optical disc drive is unrecordable and recording the photography data alternatively in the nonvolatile memory. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ビデオカメラ部で取り込んだ映像・音声情報を圧縮して、AVストリームとして光ディスクに録画する光ディスク装置一体型の光ディスク・ビデオカメラに関するものである。   The present invention relates to an optical disc / video camera integrated with an optical disc apparatus that compresses video / audio information captured by a video camera unit and records the compressed audio / video information on an optical disc.

近年、青色レーザおよび0.85と高NAの対物レンズを用いた相変化書換え型の光ディスクの高密度化技術開発が進み、直径が5〜8cm程度の小径であっても、4〜16GB(最大容量は2層化技術を使った場合)と大容量の光ディスクが実現しつつある。MPEG2などの画像圧縮技術を使うと、この容量の光ディスクには従来のテープと同等の画質で同じ時間撮影できるので、本格的な光ディスク・ビデオカメラが実現できる。さらに、高転送レート化とHD圧縮技術のLSI化により、高精細なHD画質の録画も可能になりつつある。光ディスクを使うと、ランダムアクセスの利点を活かし、巻き戻しが不要でイライラせずに済む、あるいはサムネイル映像の選択で見たいところが一発で再生できる等、ユーザにとって便利で快適な操作性を提供できるなど、次世代ビデオカメラとして期待される。   In recent years, development of high-density technology for phase change rewritable optical disks using blue lasers and 0.85 and high NA objective lenses has progressed, and even if the diameter is as small as 5 to 8 cm, 4 to 16 GB (maximum Large capacity optical discs are being realized with a capacity of 2 layers). When an image compression technique such as MPEG2 is used, a full-scale optical disk / video camera can be realized because an optical disk of this capacity can be photographed for the same time with the same image quality as a conventional tape. Furthermore, high-definition HD image quality recording is becoming possible due to the high transfer rate and the LSI compression of HD compression technology. When using an optical disc, the user can take advantage of random access and provide convenient and comfortable operability for users, such as no need to rewind and avoid frustration, or playback of what you want to see by selecting thumbnail images. It is expected as a next-generation video camera.

従来、光ディスク装置に映像や音声などの連続データ記録に使う場合には、バッファメモリを使う技術が考案され実用化されている(例えば、特許文献1参照)。また、光ディスク装置は一般に、衝撃や振動に比較的弱いため、ポータブルのCDやMDなど持ち歩いて使うモバイル用途には、ショックプルーフ再生技術が採用されている(例えば、特許文献2参照)。また、記録時にトラック外れを検出して、データ記録を停止し記録し、トラッキング回復後、バッファメモリ(RAM)に蓄えられた情報を、記録を停止した位置に記録し直す技術が古くから用いられている(例えば、特許文献3参照)。また、装置の消費電力を抑えるために、意図して光ディスク装置の休止区間を設ける間欠再生技術も採用されてきた(例えば、特許文献4参照)。この方式はショックプルーフ再生と基本的な動作メカニズムは同じで、光ディスク装置の記録再生転送レートをユーザ装置(例えばビデオCODEC)のユーザ転送レートより高速にした上で、光ディスク装置とユーザ装置との間に置いたバッファメモリを使って、光ディスク装置の録再を停止する期間を設けて問題点を解決している。すでに市場には、上記間欠技術を記録に使った光ディスク・ビデオカメラが、直径8cmのDVD−RAMムービーとして生産・販売されている。
特許第2707864号公報 特許第3063576号公報 特開2000−149268号公報 特開平7−161043号公報
2. Description of the Related Art Conventionally, a technique using a buffer memory has been devised and put into practical use when used for continuous data recording such as video and audio on an optical disk device (see, for example, Patent Document 1). In addition, since an optical disc apparatus is generally relatively weak against shock and vibration, a shock proof reproduction technique is adopted for mobile use such as portable CDs and MDs (see, for example, Patent Document 2). In addition, a technique has been used for a long time to detect off-track during recording, to stop and record data recording, and to re-record the information stored in the buffer memory (RAM) at the position where recording was stopped after tracking recovery. (For example, refer to Patent Document 3). In addition, in order to reduce the power consumption of the apparatus, an intermittent reproduction technique that intentionally provides a pause section of the optical disk apparatus has been employed (see, for example, Patent Document 4). This system has the same basic operation mechanism as shock proof reproduction, and the recording / reproduction transfer rate of the optical disk apparatus is made higher than the user transfer rate of the user apparatus (for example, video CODEC), and then the optical disk apparatus and the user apparatus. The problem is solved by providing a period during which recording / reproducing of the optical disk apparatus is stopped by using the buffer memory placed in (1). In the market, an optical disk / video camera using the above intermittent technique for recording is already produced and sold as a DVD-RAM movie having a diameter of 8 cm.
Japanese Patent No. 2707864 Japanese Patent No. 3063576 JP 2000-149268 A JP 7-161043 A

しかしながら、前記従来の光ディスク装置への連続データ記録をビデオカメラに用いた場合、振動が継続する場合または光ヘッド部の温度上昇によって半導体レーザが動作保証温度を超える場合には、光ディスク装置が記録不可能に陥り、光ディスクへの記録が長時間続くと、撮影データを一次的に蓄積するバッファメモリがオーバーフローして、貴重な撮影データを失うという課題を有していた。   However, when continuous data recording on the conventional optical disk device is used in a video camera, the optical disk device is unable to record if the vibration continues or the semiconductor laser exceeds the guaranteed operating temperature due to the temperature rise of the optical head unit. When recording on an optical disk continues for a long time, the buffer memory that temporarily stores the shooting data overflows, causing a problem that valuable shooting data is lost.

特に、背景技術で説明した青色レーザを使った高密度記録技術では従来以上の高精度の制御が求められるので、振動による外乱の影響を受けやすく(特に間欠動作の再起動時のフォーカス引き込みなど)、記録不可能になりやすい。さらに、青色の半導体レーザは順方向電圧が原理的に赤色レーザより高く消費電力が大きいので、間欠動作で温度上昇を抑えても、半導体レーザの温度は動作保証温度を上回り記録不可能になる時間が長引きやすい。その解決策としてバッファメモリを増やすことも考えられるが、通常バッファメモリに使うDRAMは容量単価が高く、しかも電力消費が大きくなるので、安易には増やせないという問題点があった。   In particular, the high-density recording technology using the blue laser described in the background art requires higher-precision control than before, so it is easily affected by vibration disturbances (especially focus pull-in when restarting intermittent operation, etc.) , Easy to record impossible. Furthermore, the blue semiconductor laser has a higher forward voltage in principle than the red laser and consumes more power, so even if the temperature rise is suppressed by intermittent operation, the temperature of the semiconductor laser exceeds the guaranteed operating temperature and recording is not possible. Is easy to prolong. As a solution to this, it is conceivable to increase the buffer memory. However, the DRAM normally used for the buffer memory has a problem in that it cannot be increased easily because the unit price of the capacity is high and the power consumption increases.

本発明は、前記従来の課題を解決するもので、光ディスク・ビデオカメラに記録性能を保証できない振動が長時間に加わる、あるいは光ディスク・ビデオカメラ内の半導体レーザの温度が一時的に動作保証温度を超えるなどの、比較的過酷な動作環境に置かれても、途切れの少ない撮影ができる光ディスク・ビデオカメラを提供することを目的とする。   The present invention solves the above-described conventional problems, and the optical disc / video camera is subjected to vibrations that cannot guarantee the recording performance for a long time, or the temperature of the semiconductor laser in the optical disc / video camera temporarily increases the guaranteed operating temperature. It is an object of the present invention to provide an optical disc / video camera capable of shooting with little interruption even in a relatively severe operating environment such as exceeding.

前記従来の課題を解決するために、本発明の光ディスク・ビデオカメラは、撮影指令を受けて、ビデオカメラ部で入力した映像・音声情報を圧縮しさらにAVストリームに変換し、前記AVストリームをバッファメモリに一旦蓄積し、光ディスクの所定位置に記録すべき撮影データとして光ディスク装置に間欠的に出力し、前記光ディスクの所定位置に前記撮影データを記録する光ディスク・ビデオカメラであって、不揮発性メモリと、前記光ディスク装置の記録が可能か不可能かどうかを判定する判定手段と、前記判定手段によって前記光ディスク装置が記録不可能と判定された期間は、前記光ディスクへの記録を停止するとともに記録すべき前記撮影データを前記不揮発メモリに代替記録する記録制御手段と、を備える。   In order to solve the above-described conventional problems, the optical disk / video camera of the present invention receives a shooting command, compresses video / audio information input by the video camera unit, further converts it into an AV stream, and buffers the AV stream. An optical disk / video camera that temporarily stores data in a memory, intermittently outputs it to an optical disk device as shooting data to be recorded at a predetermined position of the optical disk, and records the shooting data at a predetermined position of the optical disk. And determining means for determining whether or not recording of the optical disk device is possible, and during the period in which the optical disk device is determined to be unrecordable by the determining means, recording on the optical disk should be stopped and recorded Recording control means for substituting recording of the photographic data in the nonvolatile memory.

本構成によって、記録不可能な状態が一時的に発生しバッファメモリがオーバーフローするような環境であっても、撮影データを失うことなく撮影を継続することができる。   With this configuration, even in an environment where a non-recordable state temporarily occurs and the buffer memory overflows, shooting can be continued without losing shooting data.

また、本発明の光ディスク・ビデオカメラにおける、前記記録制御手段はさらに、前記光ディスク装置が前記判定手段によって記録可能と判定された場合には、前記代替記録した撮影データを前記光ディスクの本来の位置に記録することにより撮影データ修復を行う、ことが好ましい。この好ましい例によれば、記録不可能で欠落した光ディスク上の撮影データを、あたかも記録不可能がなかったと同じように修復できる。   Further, in the optical disc / video camera of the present invention, the recording control means further sets the alternative recorded image data to the original position of the optical disc when the optical disc apparatus judges that recording is possible by the judging means. It is preferable to perform photographing data restoration by recording. According to this preferred example, it is possible to restore the photographic data on the optical disk that is not recordable and missing as if there was no record.

また、本発明の光ディスク・ビデオカメラにおける、前記判定手段は、前記光ディスク装置に加わる振動を検出する手段を備え、前記振動によりサーボ制御誤差などが記録保証範囲を超えるときには記録不可能と判定する、ことが好ましい。この好ましい例によれば、振動や衝撃でフォーカスやトラッキングあるいはコリオリの力による光ディスクのチルトの発生で光ディスクへの記録が保証できないときでも、撮影データの欠落なく撮影が継続できる。   Further, in the optical disk / video camera of the present invention, the determination means includes means for detecting vibration applied to the optical disk device, and determines that recording is impossible when a servo control error or the like exceeds a recording guarantee range due to the vibration. It is preferable. According to this preferred example, even when recording on the optical disk cannot be guaranteed due to the occurrence of tilting of the optical disk due to the focus or tracking or the Coriolis force due to vibration or impact, it is possible to continue shooting without missing shooting data.

また、本発明の光ディスク・ビデオカメラにおける、前記判定手段は、前記光ディスク装置に内蔵する光ヘッド部の半導体レーザの温度を検出する手段を備え、前記温度が前記半導体レーザの動作保証範囲を超えるときには記録不可能と判定する、ことが好ましい。この好ましい例によれば、半導体レーザが高温になり破壊しないように光ディスク装置の動作を停止し半導体レーザを冷却している期間中でも、撮影データの欠落なく撮影が継続できる。   Further, in the optical disk / video camera of the present invention, the determination means includes means for detecting the temperature of the semiconductor laser of the optical head unit built in the optical disk apparatus, and the temperature exceeds the guaranteed operating range of the semiconductor laser. It is preferable to determine that recording is impossible. According to this preferred example, it is possible to continue shooting without omission of shooting data even during a period in which the operation of the optical disk device is stopped and the semiconductor laser is cooled so that the semiconductor laser does not break down due to high temperature.

また、本発明の光ディスク・ビデオカメラにおける、前記判定手段は、光ディスク装置への電源供給が不十分となる電池の残量あるいは電圧を検出する手段を備え、前記電源供給が不十分な値のときには記録不可能と判定する、ことが好ましい。この好ましい例によれば、光ディスク装置の駆動を継続できない電池の残量でも、低電力の不揮発メモリへの記録を継続できるので、電池交換するべきタイミングで撮影チャンスを失うことはない。   Further, in the optical disc / video camera of the present invention, the determination means includes means for detecting a remaining battery level or a voltage at which power supply to the optical disc apparatus is insufficient, and when the power supply is an insufficient value. It is preferable to determine that recording is impossible. According to this preferred example, even when the remaining battery level is such that the drive of the optical disk apparatus cannot be continued, the recording into the low-power nonvolatile memory can be continued, so that the photographing opportunity is not lost at the timing when the battery should be replaced.

また、本発明の光ディスク・ビデオカメラにおける、前記判定手段は、前記光ディスクの記録領域の有無を判定する手段を備え、前記記録領域がなくなったときには記録不可能と判定する、ことが好ましい。この好ましい例によれば、光ディスクを交換すべきタイミングで撮影チャンスを失うことはない。   In the optical disk / video camera of the present invention, it is preferable that the determination means includes a means for determining the presence or absence of a recording area of the optical disk, and determines that recording is impossible when the recording area is exhausted. According to this preferable example, the photographing opportunity is not lost at the timing when the optical disk should be replaced.

また、本発明の光ディスク・ビデオカメラにおける、前記判定手段は、前記光ディスク装置の故障を検出する手段を備え、前記光ディスク装置が故障のときには記録不可能と判定する、ことが好ましい。この好ましい例によれば、光ディスク装置が故障した直後の撮影チャンスを失うことはない。   In the optical disk / video camera of the present invention, it is preferable that the determination unit includes a unit that detects a failure of the optical disk device, and determines that recording is impossible when the optical disk device fails. According to this preferable example, the photographing opportunity immediately after the failure of the optical disc apparatus is not lost.

また、本発明の光ディスク・ビデオカメラにおける、前記代替記録の期間は、代替記録されていることを表示する表示手段をさらに備える、ことが好ましい。この好ましい例によれば、ユーザに代替記録の発生を知らせ、振動原因など回避するよう通知できる。   In the optical disk / video camera of the present invention, it is preferable that the optical disk / video camera further includes display means for displaying that the alternative recording is performed. According to this preferable example, it is possible to notify the user of the occurrence of alternative recording and to avoid the cause of vibration.

また、本発明の光ディスク・ビデオカメラにおける、前記記録制御手段はさらに、前記代替記録中は前記バッファメモリがオーバーフローしない範囲で蓄積量が多くなるように制御する手段を備え、前記光ディスク装置が再び記録可能になったときには、前記光ディスクに記録する撮影データ量を増やし、前記不揮発性メモリに代替記録するデータ量を減らす、ことが好ましい。この好ましい例によれば、代替記録に使う不揮発メモリの容量を減らせる。   Further, in the optical disc / video camera of the present invention, the recording control means further comprises means for controlling the storage amount to increase within a range in which the buffer memory does not overflow during the alternative recording, and the optical disc apparatus records again. When it becomes possible, it is preferable to increase the amount of photographic data to be recorded on the optical disc and reduce the amount of data to be recorded on the non-volatile memory. According to this preferable example, the capacity of the nonvolatile memory used for the alternative recording can be reduced.

また、本発明の光ディスク・ビデオカメラにおける、前記代替記録の発生から前記撮影データ修復が完了するまでの期間は、撮影データ修復が未完了であることを表示する表示手段をさらに備える、ことが好ましい。この好ましい例によれば、ユーザに撮影データ修復が必要であることを通知できるので、修復作業中に安心感を与えることができる。   In the optical disk / video camera of the present invention, it is preferable that the optical disk / video camera further includes display means for displaying that the restoration of the photographing data is incomplete during the period from the occurrence of the alternative recording to the completion of the photographing data restoration. . According to this preferable example, since it is possible to notify the user that the photographed data needs to be restored, it is possible to give a sense of security during the restoration work.

また、本発明の光ディスク・ビデオカメラにおいて、前記撮影データ修復が完了しないうちに、前記光ディスクに対する読み出し要求があったときには、前記撮影データ修復が完了したと仮定した応答をする再生手段をさらに備える、ことが好ましい。この好ましい例によれば、前記撮影データ修復が完了する前でも、光ディスクが修復されたと同じ映像が再生できる。   Further, in the optical disc / video camera of the present invention, when there is a read request for the optical disc before the photographing data restoration is completed, the optical disc / video camera further includes a reproducing unit that makes a response assuming that the photographing data restoration is completed, It is preferable. According to this preferable example, the same video as the optical disk can be reproduced can be reproduced even before the photographing data restoration is completed.

また、本発明の光ディスク・ビデオカメラにおける、不揮発性メモリは、フラッシュメモリなどで構成された外付けのメモリカードを含む、ことが好ましい。この好ましい例によれば、バッファメモリの極端な容量増加なく安価なフラッシュメモリの増設で、悪環境でも撮影データの欠落の少ない撮影が継続できるとともに、外付けのメモリカードの容量の選択によって撮影信頼性のレベルを自由に選べる。   In the optical disk / video camera of the present invention, the non-volatile memory preferably includes an external memory card composed of a flash memory or the like. According to this preferred example, the addition of an inexpensive flash memory without an excessive increase in the capacity of the buffer memory can continue shooting with little loss of shooting data even in a bad environment, and the shooting reliability can be selected by selecting the capacity of the external memory card. You can freely choose the level of sex.

また、本発明の光ディスク・ビデオカメラにおける、前記記録制御手段はさらに、前記光ディスクおよび前記メモリカードが装着された撮影前の時点で、前記メモリカード内のユーザデータを前記光ディスクに記録し、その後に前記メモリカードのユーザデータを消去し、すぐに前記代替記録できる領域を準備するとともに、前記光ディスクまたは前記外付けメモリカードを取り外すときには、前記ユーザデータを前記メモリカードに書き戻してユーザデータ復元をする手段を備える、ことが好ましい。この好ましい例によれば、メモリカードにユーザデータが入っていても、メモリカードの容量を全て代替記録に使え、撮影信頼性を向上できる。   Further, in the optical disc / video camera of the present invention, the recording control means further records user data in the memory card on the optical disc at a time before photographing when the optical disc and the memory card are mounted, and thereafter The user data on the memory card is erased to prepare an area where the alternative recording can be performed immediately, and when the optical disk or the external memory card is removed, the user data is written back to the memory card to restore the user data. Preferably it comprises means. According to this preferred example, even if user data is stored in the memory card, the entire capacity of the memory card can be used for alternative recording, and the shooting reliability can be improved.

また、本発明の光ディスク・ビデオカメラにおける、前記記録制御手段はさらに、録画開始後に、前記撮影データ記録の合間に前記メモリカード内のユーザデータを所定量ずつ順次前記光ディスクに記録するとともに、前記光ディスクに移したユーザデータの領域を消去して、すぐに前記代替記録できる領域を順次確保するとともに、録画終了後、前記撮影データ修復とともに前記光ディスクに移した前記ユーザデータを前記メモリカードに書き戻してユーザデータ復元をする手段を備える、ことが好ましい。この好ましい例によれば、撮影前にメモリカードのデータを光ディスクに移す時間を見かけ上省略できる。   Further, in the optical disc / video camera of the present invention, the recording control means further records user data in the memory card sequentially on the optical disc in a predetermined amount between recording of the shooting data after starting recording, and the optical disc. The area of the user data transferred to is erased, and the area where the alternative recording can be performed is immediately secured, and after the recording is finished, the user data transferred to the optical disk is written back to the memory card along with the photographing data restoration. It is preferable to provide means for restoring user data. According to this preferable example, it is possible to apparently omit the time for transferring the data of the memory card to the optical disc before photographing.

また、本発明の光ディスク・ビデオカメラにおいて、前記ユーザデータ復元が完了しないうちは、前記光ディスクおよび前記メモリカードを取り外しできないようにするロック手段と、およびロックされていることを表示する手段をさらに備える、ことが好ましい。この好ましい例によれば、ユーザデータ復元前に、ユーザが誤ってメモリカードを取り出すことがない。   The optical disk / video camera according to the present invention further includes a lock unit that prevents the optical disk and the memory card from being removed before the user data restoration is completed, and a unit that displays that the disk is locked. Is preferable. According to this preferred example, the user does not accidentally take out the memory card before restoring the user data.

また、本発明の光ディスク・ビデオカメラにおいて、前記ユーザデータが前記光ディスクに移されて記録されていることを表示する表示手段をさらに備える、ことが好ましい。この好ましい例によれば、ユーザがロックされていることを故障と誤認しない。   The optical disc / video camera of the present invention preferably further comprises display means for displaying that the user data is transferred to the optical disc and recorded. According to this preferred example, it is not mistaken for a failure that the user is locked.

本発明の光ディスク・ビデオカメラによれば、光ディスク装置に記録性能を保証できない振動が長時間に加わる、あるいは光ディスク装置内の半導体レーザの温度が動作保証温度を超えるなどの理由で、光ディスク装置が一時的に記録不可能になることがあっても、途切れの少ない撮影が継続できる。   According to the optical disk / video camera of the present invention, the optical disk apparatus is temporarily stopped because the vibration that cannot guarantee the recording performance is applied to the optical disk apparatus for a long time or the temperature of the semiconductor laser in the optical disk apparatus exceeds the guaranteed operating temperature. Even if recording becomes impossible, continuous shooting can be continued.

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

(実施の形態1)
図1は、本発明の実施の形態における光ディスク・ビデオカメラのブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram of an optical disk / video camera according to an embodiment of the present invention.

<基本構成>
図1において、101はレンズと撮像素子を通して映像データを取得するとともに、マイクを備えて音声データを取得するビデオカメラ部、102はビデオカメラ部101で取得した映像データおよび音声データをそれぞれMPEG2フォーマットなどの圧縮映像および圧縮音声にデータ圧縮したのち1本のAVストリームを生成する圧縮部、103はAVストリームを記録し保存する光ディスク、104はAVストリームを圧縮映像および圧縮音声に分解した後それぞれを伸張して元の映像データと音声データを生成する伸張部、105は録画中もしくは再生中の映像データおよび音声データを確認するためのディスプレイおよびスピーカから成るモニタ部、106はモニタ部105でモニタする内容を切り替えるスイッチである。
<Basic configuration>
In FIG. 1, reference numeral 101 denotes a video camera unit that acquires video data through a lens and an image sensor, and includes a microphone to acquire audio data. Reference numeral 102 denotes video data and audio data acquired by the video camera unit 101, such as MPEG2 format. A compression unit that generates a single AV stream after compressing data into compressed video and compressed audio, 103 an optical disc that records and stores the AV stream, and 104 decompresses each AV stream after it is decomposed into compressed video and compressed audio The decompression unit for generating the original video data and audio data, 105 is a monitor unit including a display and a speaker for confirming the video data and audio data being recorded or reproduced, and 106 is the content monitored by the monitor unit 105 It is a switch for switching.

107は光ディスク・ビデオカメラ全体の録再制御を行う録再制御部、108はDRAMなどから成りAVストリームを一旦蓄積するバッファメモリ、109は光ディスク・ビデオカメラの録再制御状態などを記録しておくためのシリアルEEPROM、110は光ディスク・ビデオカメラに内蔵する不揮発メモリの一種のフラッシュメモリ(フラッシュEEPROM)、111は大容量のフラッシュメモリおよびコントローラを内蔵し光ディスク・ビデオカメラから取り外し可能なフラッシュメモリカード、112はフラッシュメモリカード111を取り外せないようにロックするロック機構(後述)、113は光ディスク装置100の記録可否を判定する記録可否判定部、114は不図示の光ディスク・ビデオカメラに電力を供給する電池の電圧を検出する電圧検出器である。   107 is a recording / playback control unit that performs recording / playback control of the entire optical disk / video camera, 108 is a buffer memory that includes a DRAM or the like and temporarily stores an AV stream, and 109 records the recording / playback control status of the optical disk / video camera. Serial EEPROM for the above, 110 is a kind of flash memory (flash EEPROM) of a nonvolatile memory built in an optical disk / video camera, 111 is a flash memory card having a large-capacity flash memory and a controller and removable from the optical disk / video camera, Reference numeral 112 denotes a lock mechanism (described later) that locks the flash memory card 111 so that it cannot be removed, 113 a recording enable / disable determining unit that determines whether or not the optical disc apparatus 100 can record, and 114 a power supply for supplying power to an optical disc / video camera (not shown). A voltage detector for detecting a voltage.

光ディスク装置100は、光ディスク103を回転制御するモータ1001、光ディスク103に情報を記録再生する光ヘッド1002、光ヘッド1002に取り付けられ光ヘッド1002に内蔵する不図示の半導体レーザの温度を計測する温度センサ1003、光ディスク103を収めた不図示のカートリッジをガイドしモータ1001に光ディスク103をチャッキングさせるローディング機構1004、光ディスク103が取り出せないようにローディング機構1004をロックするロック機構1005(後述)、光ディスク装置100の構成物を取り付けるシャーシ1006、シャーシ1006に取り付けられフォーカス方向およびトラッキング方向に加わる振動を検出する加速度センサ1007、および光ディスク制御部1008から成る。さらに、光ディスク制御部1008には、光ディスク103への連続記録を実現するため、バッファメモリ108とは別に、1009に示す小容量のトラックバッファと呼ぶDRAMなどから成るメモリを持たせる。   An optical disc apparatus 100 includes a motor 1001 that controls the rotation of an optical disc 103, an optical head 1002 that records and reproduces information on the optical disc 103, and a temperature sensor that is attached to the optical head 1002 and measures the temperature of a semiconductor laser (not shown) built in the optical head 1002. 1003, a loading mechanism 1004 that guides a cartridge (not shown) containing the optical disk 103 and chucks the optical disk 103 with the motor 1001, a lock mechanism 1005 (to be described later) that locks the loading mechanism 1004 so that the optical disk 103 cannot be taken out, and the optical disk device 100 The chassis 1006 to which the components are attached, the acceleration sensor 1007 that is attached to the chassis 1006 and detects vibration applied to the focus direction and the tracking direction, and the optical disc control unit 1008 Et al made. Further, in order to realize continuous recording on the optical disk 103, the optical disk control unit 1008 is provided with a memory such as a DRAM called a small-capacity track buffer 1009, in addition to the buffer memory 108.

<構成の補足説明>
なお、撮影データ記録再生の基本条件としては、光ディスク103への記録時および再生時の転送レート(以下ディスクレートと呼ぶ)は、AVストリームの転送レート(以下ユーザレートと呼ぶ)より速く設定する必要がある。以下では、ディスクレートからユーザレートを引いたレートを蓄積レートと呼ぶ。フラッシュメモリ110およびフラッシュメモリカード111への記録および再生の転送レート(それぞれフラッシュ記録レートおよびフラッシュ再生レートと呼ぶ)もユーザレートより早く設定する必要がある。バッファメモリ108は、AVストリームを先入れ先出しするいわゆるリングバッファ構成とする。
<Supplementary explanation of configuration>
Note that, as a basic condition for shooting data recording / playback, the transfer rate at the time of recording on the optical disc 103 and at the time of playback (hereinafter referred to as the disc rate) must be set faster than the transfer rate of the AV stream (hereinafter referred to as the user rate). There is. Hereinafter, a rate obtained by subtracting the user rate from the disc rate is referred to as an accumulation rate. It is also necessary to set a transfer rate for recording and reproduction to the flash memory 110 and the flash memory card 111 (referred to as a flash recording rate and a flash reproduction rate, respectively) faster than the user rate. The buffer memory 108 has a so-called ring buffer configuration for first-in first-out of the AV stream.

また、記録可否判定部113が光ディスク装置100の記録動作不可と判定するのは以下の5つに分類する。すなわち、振動・衝撃により加速度センサ1007によって検出された加速度が、フォーカスサーボまたはトラッキングサーボによる制御誤差が記録保証範囲を超える場合、または光ディスク103の回転によるコリオリ力と光ディスク装置100の動きによって光ディスク103にチルトが発生し、記録時のチルト許容量を超えると判断された場合(振動要因)、温度センサ1003で検出された温度が前記半導体レーザの動作保証温度範囲を超えた場合で特に高温になった場合(温度要因)、または光ディスク装置100動作中に電圧検出器114で検出した電圧が光ディスク装置100への電力供給を維持できない値の近くまでに低下した場合(電池要因)、光ディスク103の記録スペースが無くなった場合(容量要因)および光ディスク装置100が途中で故障したことを録再制御部107で検出した場合(故障要因)を記録不可能と判定する。なお、容量要因ではバッファメモリ108に蓄積された蓄積量を含めて記録スペースがあるかどうかを判断する。   Further, the recording availability determining unit 113 determines that the recording operation of the optical disc apparatus 100 is impossible in the following five categories. That is, the acceleration detected by the acceleration sensor 1007 due to vibration / impact is applied to the optical disc 103 when the control error by the focus servo or tracking servo exceeds the recording guarantee range, or by the Coriolis force due to the rotation of the optical disc 103 and the movement of the optical disc apparatus 100. When the tilt occurs and it is determined that the allowable tilt amount during recording is exceeded (vibration factor), the temperature detected by the temperature sensor 1003 exceeds the guaranteed operating temperature range of the semiconductor laser and becomes particularly high. In the case (temperature factor), or when the voltage detected by the voltage detector 114 during operation of the optical disc apparatus 100 drops to a value close to a value at which power supply to the optical disc apparatus 100 cannot be maintained (battery factor), the recording space of the optical disc 103 When there is no more light (capacity factor) and optical If it is detected that the disk device 100 fails in the middle of recording and reproducing controller 107 determines that not recorded (failure factor). For the capacity factor, it is determined whether or not there is a recording space including the accumulated amount accumulated in the buffer memory 108.

また、フラッシュメモリ110およびフラッシュメモリカード111に使用するフラッシュEEPROMは、単位面積あたりの容量が大きくデータ記録に適した例えばNAND型が実用的である。フラッシュEEPROMは、バッファメモリ108を構成するDRAMと比較するとランダムアクセスでできない欠点はあるが、不揮発性メモリであり、低消費電力で安価であるという長所を持つ。フラッシュメモリカード111は、ビデオカメラ部101で撮影したJPEGなどの静止画や音声記録などに使われる。そして、取り外して他の機器で再生するなどのメディア・インタフェースに使われる。情報はファイル形式のユーザデータとして記録される。   Further, the flash EEPROM used for the flash memory 110 and the flash memory card 111 has a large capacity per unit area and is suitable for data recording, for example, a NAND type. The flash EEPROM has a disadvantage that it cannot be randomly accessed as compared with the DRAM constituting the buffer memory 108, but is a nonvolatile memory, and has an advantage of low power consumption and low cost. The flash memory card 111 is used for still images such as JPEG and audio recording taken by the video camera unit 101. And it is used for media interface such as removing and playing on other devices. Information is recorded as user data in a file format.

また、シリアルEEPROM109は、不図示のバックアップ用電池でバックアップされてSRAMなどで代用が可能である。   The serial EEPROM 109 is backed up by a backup battery (not shown) and can be replaced by an SRAM or the like.

<再生の基本動作>
以上のように構成された光ディスク・ビデオカメラについて、まず前半では再生動作を説明し、後半で撮影動作を説明する。再生動作の説明では、まず映像再生動作の基本を説明し、さらに図2および図3を使って具体的な光ディスク上でのデータ配置例とそれを再生する動作タイミングを説明する。
<Basic playback operation>
Regarding the optical disk / video camera configured as described above, the reproduction operation is first described in the first half, and the shooting operation is described in the second half. In the description of the reproduction operation, first, the basics of the video reproduction operation will be described, and further, a specific example of data arrangement on the optical disc and the operation timing for reproducing it will be described with reference to FIGS.

映像再生時の基本動作は、例えばDVDビデオ再生に見られるように、バッファメモリの蓄積量を制御して連続再生を実現する、いわゆるバッファ再生である。具体的には、録再制御部107の制御によって、光ディスク103の所定位置から再生したいAVストリームが光ディスク装置100によって読み出され、バッファメモリ108にディスクレートで蓄積すると同時に、伸張部104にユーザレートで消費される。このとき蓄積量は蓄積レートで順次増加する。   The basic operation at the time of video playback is so-called buffer playback in which continuous playback is realized by controlling the storage amount of the buffer memory, as seen in DVD video playback, for example. Specifically, under the control of the recording / playback control unit 107, an AV stream to be reproduced from a predetermined position on the optical disk 103 is read by the optical disk device 100 and stored at the disk rate in the buffer memory 108, and at the same time, the user rate is stored in the expansion unit 104. Consumed at. At this time, the amount of accumulation gradually increases at the accumulation rate.

蓄積量が第1レベルになったら、光ディスク103からの読み出しを停止する。すると、蓄積量はユーザレートで減少し始める。蓄積量が、第1レベルより低く設定した第2レベルになったら光ディスク103からのAVストリーム読み出し・蓄積を再開する。AVストリームは再び蓄積レートで蓄積され、蓄積量は増加に転じる。以上の動作を繰り返し映像の連続再生動作が進む。これと並行して、伸張部104で伸張された映像データと音声データは、SW106を介してモニタ部105に送られるとともに、不図示の出力端子から外部のテレビなどに出力される。   When the accumulation amount reaches the first level, reading from the optical disc 103 is stopped. Then, the accumulation amount starts to decrease at the user rate. When the accumulation amount reaches the second level set lower than the first level, the AV stream reading / accumulation from the optical disc 103 is resumed. The AV stream is accumulated again at the accumulation rate, and the accumulation amount starts to increase. The above operation is repeated and the video continuous playback operation proceeds. In parallel with this, the video data and audio data decompressed by the decompression unit 104 are sent to the monitor unit 105 via the SW 106 and output from an output terminal (not shown) to an external television or the like.

以上説明したバッファ再生によると、光ディスク103からの読み出しを停止する時間が設定できるので、通常はその時間に別領域に光ヘッド1002をシークさせるアクセスが可能になる。さらに、バッファメモリ容量を大きく取り、かつ前記蓄積レートを大きくしておけば、光ディスクからの読み出し停止時間を長く設定できるため、読み出し停止中に光ディスク装置を休止させ、平均的な消費電力を下げる間欠再生(背景技術で引用)が実現できる。   According to the buffer reproduction described above, since the time for stopping reading from the optical disk 103 can be set, it is usually possible to access the optical head 1002 to seek another area at that time. Furthermore, if the buffer memory capacity is increased and the storage rate is increased, the read stop time from the optical disk can be set longer, so that the optical disk apparatus is paused during read stop, and the average power consumption is lowered intermittently. Reproduction (cited in the background art) can be realized.

また、ショックプルーフ再生(背景技術で引用)は、映像再生の途切れが防止するため、バッファメモリへの蓄積開始直後、蓄積量が第2レベルになるまで伸張部へのAVストリームの送出を遅らせる。こうすると蓄積量を第2レベル以上に保てる。不意の衝撃で光ディスク装置のフォーカス外れなどにより再生が不可能となった場合でも、回復処理中はバッファメモリから伸張部にAVストリームを送出し続けることで、再生データの途切れが防止できる。   Also, shock proof playback (quoted in the background art) delays the transmission of the AV stream to the decompression unit immediately after the start of storage in the buffer memory until the storage amount reaches the second level in order to prevent interruption of video playback. In this way, the accumulated amount can be kept above the second level. Even when reproduction cannot be performed due to an out-of-focus condition or the like of the optical disk device due to an unexpected impact, the reproduction data can be prevented from being interrupted by continuing to send the AV stream from the buffer memory to the decompression unit during the recovery process.

以上述べた、バッファ再生、間欠再生およびショックプルーフ再生を組合せることで実用的な光ディスク・ビデオカメラが実現できる。具体的な制御には、光ディスク装置の最大回復時間、ディスクレート、ユーザレートおよびバッファメモリサイズなどの各パラメータが必要になる。また、次に述べるように分割したAVストリームを再生するのに、光ディスクのデータ配置情報、光ディスク装置の最大アクセス時間などの情報も必要になる。さらに光ディスク上の読み出し位置や光ディスク装置の動作状態に応じて、ダイナミックで細かい蓄積量の制御を実施する必要がある。加えて一般的な可変レートの映像になると、制御アルゴリズムはより複雑なるので、そのときは近似的で包括的なアルゴリズムで対応する必要も出てくる。   A practical optical disk / video camera can be realized by combining the buffer reproduction, intermittent reproduction and shock proof reproduction described above. Specific control requires parameters such as the maximum recovery time of the optical disk device, the disk rate, the user rate, and the buffer memory size. Further, in order to reproduce the divided AV stream as described below, information such as the data arrangement information of the optical disc and the maximum access time of the optical disc apparatus is also required. Furthermore, it is necessary to perform dynamic and fine accumulation amount control according to the reading position on the optical disc and the operation state of the optical disc apparatus. In addition, the control algorithm becomes more complicated when it comes to general variable rate video, and at that time, an approximate and comprehensive algorithm needs to be used.

<光ディスク上のデータ配置>
図2は、光ディスク103上で再生すべき一連のAVストリームとその管理情報のデータ配置例を模式的に示したデータ配置図である。左図のスパイラル状の103Aは、光ディスク103の内周から順に、AVストリーム管理情報MNG、一連のAVストリームを構成するAVストリーム片RS1、RS3、RS2、RS4のデータ領域が配置されていることを示す。AVストリーム片は、連続した記録ブロックから構成され連続記録再生ができるデータ領域とする。各データ領域の間には未使用の記録ブロック、他のAVストリーム片、または目的の異なるデータ領域が割り当てられているものとする。103Aの光ディスクをリスト表現したのが右図の103Bである。
<Data arrangement on optical disk>
FIG. 2 is a data arrangement diagram schematically showing a data arrangement example of a series of AV streams to be reproduced on the optical disc 103 and management information thereof. The spiral 103A in the left figure shows that the data areas of AV stream management information MNG and AV stream pieces RS1, RS3, RS2, and RS4 constituting a series of AV streams are arranged in order from the inner periphery of the optical disc 103. Show. The AV stream piece is a data area composed of continuous recording blocks and capable of continuous recording and reproduction. It is assumed that unused recording blocks, other AV stream pieces, or data areas with different purposes are allocated between the data areas. A list of 103A optical disks is shown in 103B on the right.

再生すべき一連のAVストリームは、103Bに示すようにAVストリーム片に分割されランダムに配置される。各ストリームの位置情報はAVストリーム管理情報MNGに記録されている。AVストリームは、AVストリーム片RS1、RS2,RS3,RS4の順に読み出される(実践矢印)。ストリーム片から次のストリーム片に移動するには光ディスク装置100によるアクセス動作が必要になる(破線矢印)。通常、光ディスク装置のアクセス時間は一定とならずバラつく。   A series of AV streams to be reproduced is divided into AV stream pieces and randomly arranged as shown in 103B. The position information of each stream is recorded in the AV stream management information MNG. The AV stream is read in the order of AV stream pieces RS1, RS2, RS3, RS4 (practice arrow). To move from one stream piece to the next, the access operation by the optical disc apparatus 100 is required (dashed arrow). Usually, the access time of the optical disc apparatus is not constant and varies.

アクセス動作中は前述の読み出し動作停止中と同じく蓄積量が低下していくのでアクセス前に、アクセス時間中に消費されるデータ量以上の蓄積量を確保しておかないとバッファアンダーランが発生し、伸張部104に送るデータが無くなり、映像が途切れてしまう。アクセス時間中に消費される最大消費データ量は、アクセス時間のワースト値とユーザレートの積で求められる。   During the access operation, the amount of storage decreases as in the case of the read operation stopped, so a buffer underrun will occur if the amount of storage exceeds the amount of data consumed during the access time before access. The data to be sent to the decompression unit 104 is lost, and the video is interrupted. The maximum amount of data consumed during the access time is obtained by multiplying the worst value of the access time by the user rate.

また、蓄積可能データ量の最小値は、AVストリーム片の読み出し時間と蓄積レートとの積で求められる。各AVストリーム片の長さは、前述の最大消費データ量と蓄積可能データ量の最小値とが等しくなる長さ(必要連続長と呼ぶ)以上にする必要がある。ただし、最終AVストリーム片RS4は次に再生すべきものがないので、必要連続長を下回ってもよい。   In addition, the minimum value of the storable data amount is obtained by the product of the AV stream piece read time and the storage rate. The length of each AV stream piece needs to be equal to or longer than the length (referred to as a necessary continuous length) in which the aforementioned maximum consumption data amount and the minimum value of the storable data amount are equal. However, since the final AV stream piece RS4 has nothing to be reproduced next, it may be less than the necessary continuous length.

以上のように、光ディスクでは複数のAVストリーム片が連続していなくても、決められた順にAVストリーム片をアクセスして、バッファメモリ上に連続したAVストリームを構築して連続再生を可能にしている。これは光ディスクがランダムアクセスからこそ実現できる機能である。この配置によって記録済みのファイルの部分や全体消去が行われフラグメンテーションが生じても、消去済みの領域に必要連続長以上の記録領域を見つけて使用することで、連続再生可能なAVストリームの記録が可能になる。   As described above, even if a plurality of AV stream pieces are not continuous on the optical disc, the AV stream pieces are accessed in a predetermined order, and a continuous AV stream is constructed on the buffer memory to enable continuous playback. Yes. This is a function that an optical disc can realize by random access. Even if the recorded file portion or the entire file is erased by this arrangement and fragmentation occurs, it is possible to record an AV stream that can be continuously reproduced by finding and using a recording area longer than the necessary continuous length in the erased area. It becomes possible.

<再生時の複合動作タイミング例>
図3は、図2に示した配置のAVストリームを再生する場合に、バッファメモリ108の蓄積量をいかに制御するかを具体例として示したタイミング図である。
<Example of combined operation timing during playback>
FIG. 3 is a timing chart showing, as a specific example, how to control the storage amount of the buffer memory 108 when reproducing the AV stream having the arrangement shown in FIG.

図3において、縦軸はバッファメモリ108の蓄積量である。上段と中段の破線はそれぞれ再生の基本動作で示した「第1レベル」および「第2レベル」を示し、下段の破線は光ディスクのデータ配置で説明した「必要連続長」を読み出したときに蓄積できる再生基準容量である。ここではAVストリーム片の長さは、必要連続長に比べ、RS1とRS2は同じであり、RS3は大きく、RS4は小さいものとする。また再生時のユーザレートをVr、同再生時のディスクレートをVoで示すと、蓄積レートはVr−Voとなる。   In FIG. 3, the vertical axis represents the accumulation amount of the buffer memory 108. The upper and middle broken lines indicate “first level” and “second level” shown in the basic playback operation, respectively, and the lower broken line accumulates when “required continuous length” explained in the data arrangement of the optical disk is read. It is the reproduction standard capacity that can be. Here, it is assumed that the length of the AV stream piece is the same for RS1 and RS2, RS3 is large, and RS4 is small compared to the necessary continuous length. If the user rate at the time of reproduction is indicated by Vr and the disk rate at the time of reproduction is indicated by Vo, the accumulation rate is Vr-Vo.

録再制御部107は、再生開始指令を受けると(時刻t0)、RS1を読み出しながら映像再生を開始する。再生基準容量だけ蓄積されると同時に、次のRS2へのアクセスをスタートする(t1)。このアクセスが最大アクセス時間かかったとすれば、蓄積量は0になる。同時にRS2の読み出しをすぐに開始する(t2)。蓄積量が再生基準容量になると、次はRS3へのアクセスをスタートする(t3)。このアクセスは最大アクセス時間未満で実行できたとすれば(t4)、ある程度の蓄積量が確保できる。   When receiving the playback start command (time t0), the recording / playback control unit 107 starts video playback while reading RS1. At the same time as the reproduction reference capacity is accumulated, access to the next RS2 is started (t1). If this access takes the maximum access time, the accumulation amount becomes zero. At the same time, reading of RS2 is started immediately (t2). When the accumulated amount reaches the reproduction reference capacity, access to RS3 is started next (t3). If this access can be executed in less than the maximum access time (t4), a certain amount of storage can be secured.

この後RS3をさらに読み出しを続けると蓄積量が増加し、第1レベルに達した時刻t5で読み出しを一時停止し光ディスク装置100を待機状態とする。そして、蓄積量が第2レベルまで低下したら(t6)、読み出しを再開し第1レベルになるまで読み出しを続ける(t7)。蓄積量が第1レベルに達したら、再び光ディスク装置100を待機させる。そして、蓄積量が第2レベルに低下したら(t8)、また読み出しを開始する。時刻t9では第1レベルに蓄積量は達していないがRS3の読み出しが終了したとする。結果的にRS3は3分割して読み出したことになる。   Thereafter, when the reading of RS3 is further continued, the accumulation amount increases, and at the time t5 when the first level is reached, the reading is temporarily stopped and the optical disc apparatus 100 is set in a standby state. When the accumulation amount decreases to the second level (t6), the reading is resumed and the reading is continued until the first level is reached (t7). When the accumulation amount reaches the first level, the optical disc apparatus 100 is again put on standby. When the accumulated amount decreases to the second level (t8), reading is started again. Assume that at time t9, the accumulated amount has not reached the first level, but reading of RS3 is completed. As a result, RS3 is read by dividing into three.

次にRS4へアクセスする。ここでは蓄積容量が十分なので、一時的に光ディスク装置100を待機させてからRS4へのアクセスを開始する。アクセスが完了するとRS4の読み出しが可能になる(t10)。アクセス開始を、例えば蓄積量が第2レベルを切った時点とすれば、アクセス時間がワースト値でも蓄積量は0にはならない。RS4の読み出しを終了すれば(t11)、以降は光ディスクの読み出しは不要となり、映像再生のみを続け、映像再生はt12で終了する。   Next, access to RS4. Here, since the storage capacity is sufficient, access to the RS 4 is started after the optical disk device 100 is temporarily put on standby. When the access is completed, RS4 can be read (t10). If the access is started, for example, when the accumulated amount falls below the second level, the accumulated amount does not become zero even if the access time is the worst value. If reading of RS4 is completed (t11), reading of the optical disk is no longer necessary, and only video playback is continued, and video playback ends at t12.

再生基準容量の値は前述したように、最大アクセス時間を確保するためのものである。第2レベルと再生基準容量の容量差は、衝撃リカバリ用つまりショックプルーフ用に使う。具体的には、その容量差を衝撃リカバリ最大時間とユーザレートの積以上にしておく。そうすると、時刻t4とt5の間で蓄積量が第2レベルを超えた時点から、衝撃によって衝撃リカバリが一回発生しても、蓄積容量を再生基準容量値以上に保てる。なお、もしRS3の再生がさらに連続する場合には、アクセス用に蓄積された再生基準容量を衝撃リカバリ用に使うことで、1回を超えるリカバリも可能となる。   As described above, the value of the reproduction reference capacity is for ensuring the maximum access time. The capacity difference between the second level and the reproduction reference capacity is used for impact recovery, that is, shock proof. Specifically, the capacity difference is set to be equal to or greater than the product of the maximum impact recovery time and the user rate. Then, even if impact recovery occurs once due to an impact from the time when the storage amount exceeds the second level between times t4 and t5, the storage capacity can be maintained at the reproduction reference capacity value or more. If the reproduction of RS3 is further continued, the reproduction reference capacity stored for access can be used for shock recovery, and the recovery can be performed more than once.

第1レベルと第2レベルの容量差は間欠再生動作用に使う。この容量差をユーザレートで割った値が、光ディスク装置100を待機できる時間になるが、この値を大きくすれば、光ディスク装置100を休止させる間欠動作となる。そのためには、実用レベルにするには、第1レベル(基本的にバッファ容量と同じ)を大きく設定し、容量差を大きくする必要がある。   The capacity difference between the first level and the second level is used for intermittent reproduction operation. A value obtained by dividing the capacity difference by the user rate is a time during which the optical disc apparatus 100 can be waited. If this value is increased, an intermittent operation for stopping the optical disc apparatus 100 is performed. For this purpose, in order to obtain a practical level, it is necessary to set the first level (basically the same as the buffer capacity) to be large and to increase the capacity difference.

<撮影の基本動作>
以上で再生動作の説明を終え、次に後半の撮影動作を説明する。まず撮影時の基本動作を説明し、図4ないし図10を使って本発明に関わる撮影時の動作内容をより詳細に説明する。
<Basic operation of shooting>
This is the end of the description of the reproduction operation. Next, the second half of the photographing operation will be described. First, the basic operation at the time of shooting will be described, and the details of the operation at the time of shooting according to the present invention will be described in detail with reference to FIGS.

撮影時には、録再制御部107の制御によって、ビデオカメラ部101で取得された映像データと音声データが圧縮部102でAVストリームに変換され、バッファメモリ108にユーザレートで蓄積される。蓄積量が第3レベルまで増加すると、AVストリームは光ディスク装置100に送られ、ディスクレートで光ディスク103の所定位置に記録される。蓄積量は光ディスク103への記録によって減少し始め、蓄積量が前記第3レベルより小さい第4レベルまで減少する。すると、光ディスク装置へのAVストリーム供給は停止されて、蓄積量は再び増加に転ずる。以上の動作を繰り返して撮影(録画または記録とも呼ぶ)動作が進む。撮影中は、ビデオカメラ部101の映像データと音声データは、SW106を介してモニタ部105に送られ、撮影内容をモニタできるようにする。ただし、撮影時は、スピーカからの音声出力は停止する。   At the time of shooting, under the control of the recording / playback control unit 107, the video data and audio data acquired by the video camera unit 101 are converted into AV streams by the compression unit 102 and stored in the buffer memory 108 at the user rate. When the accumulation amount increases to the third level, the AV stream is sent to the optical disc apparatus 100 and recorded at a predetermined position on the optical disc 103 at a disc rate. The accumulated amount starts to decrease by recording on the optical disc 103, and the accumulated amount decreases to a fourth level smaller than the third level. Then, the supply of the AV stream to the optical disc apparatus is stopped, and the accumulation amount starts to increase again. By repeating the above operation, the photographing (also called video recording or recording) operation proceeds. During shooting, the video data and audio data of the video camera unit 101 are sent to the monitor unit 105 via the SW 106 so that the shooting content can be monitored. However, audio output from the speaker stops during shooting.

<撮影時の代替処理フロー>
以上説明したのは、光ディスク装置100の記録動作が可能なときの基本動作である。
<Alternative processing flow for shooting>
What has been described above is the basic operation when the recording operation of the optical disc apparatus 100 is possible.

本発明は、光ディスク装置100が記録可否判定部113によって記録不可能と判定されるときには、フラッシュメモリ110またはフラッシュメモリカード111に光ディスクに記録すべきデータを録再制御部107によって代替記録することを特徴とする。その主要な制御内容を図4および図5に示したフローチャートを使い説明する。なお、図4および図5の説明においては、光ディスク装置100をドライブと略称する。また、撮影時の基本動作で説明した第3レベルを記録基準容量、バッファメモリ108をバッファ、フラッシュメモリ110またはフラッシュメモリカード111をフラッシュと略称する。   In the present invention, when the optical disc apparatus 100 is determined to be unrecordable by the recordability determination unit 113, the recording / reproduction control unit 107 substitutes the data to be recorded on the optical disk in the flash memory 110 or the flash memory card 111. Features. The main control contents will be described with reference to the flowcharts shown in FIGS. In the description of FIGS. 4 and 5, the optical disc apparatus 100 is abbreviated as a drive. The third level described in the basic operation at the time of photographing is abbreviated as a recording reference capacity, the buffer memory 108 is abbreviated as a buffer, and the flash memory 110 or the flash memory card 111 is abbreviated as a flash.

図4において、ユーザの撮影指令を受けると、撮影が開始される。ここではまず、撮影状態を管理するための撮影完了フラグがセットされていることを確認して、それをクリヤする(S100)。もし撮影完了フラグがクリヤされていたとすれば、前回の撮影が未完了なので撮影データ修復処理(後述)が必要になる。次に、ドライブが起動可能なら起動させ(S101)、ユーザから撮影終了指令がないかどうか(S102)、およびバッファの蓄積量が記録基準量に達していないかどうかをチェックする(S103)。S101では、ドライブがすでに起動している場合は次のステップに移る。また、ドライブ起動時間は記録基準容量に達する時間より速くなるようにしておく。   In FIG. 4, when a user's shooting command is received, shooting is started. Here, first, it is confirmed that a shooting completion flag for managing the shooting state is set and cleared (S100). If the shooting completion flag is cleared, shooting data restoration processing (described later) is required because the previous shooting has not been completed. Next, if the drive can be activated, the drive is activated (S101), and it is checked whether there is a photographing end command from the user (S102) and whether the accumulated amount of the buffer has reached the recording reference amount (S103). In S101, if the drive is already activated, the process proceeds to the next step. The drive start-up time is set to be faster than the time for reaching the recording reference capacity.

バッファの蓄積量が記録基準容量に達したら、ドライブにAVストリーム記録をするため、記録可否判定部113によってドライブが記録可能であることをチェックしながら(S104)、AVストリームを光ディスク103の所定位置に記録し(S105)、バッファの蓄積量が0になるのを待つ(S106)。この蓄積量の0レベルは、撮影時の基本動作で説明した第4レベルに相当するものとする。蓄積量が0になったらドライブ待機状態(S107)を経由し、再びバッファの蓄積量のチェックに移行する(ノードA)。   When the accumulated amount of the buffer reaches the recording reference capacity, AV stream recording is performed on the drive, so that the recordability determination unit 113 checks that the drive can be recorded (S104), and the AV stream is recorded at a predetermined position on the optical disc 103. (S105), and waits until the buffer storage amount becomes 0 (S106). The 0 level of the accumulated amount corresponds to the fourth level described in the basic operation at the time of shooting. When the accumulation amount becomes 0, the process proceeds to the buffer accumulation amount check again via the drive standby state (S107) (node A).

S107のドライブ待機は2種類用意する。具体的には、記録動作に短時間で移行できるよう光ディスク103へのフォーカス・トラッキングを維持しながら待機するアイドリングモードの場合には、すぐにノードAに移行する。また、間欠記録動作のためドライブを一旦停止させ消費電力を低減させる休止モードの場合には、所定の休止時間を確保した後にノードAに移行する。この場合の記録基準容量は、少なくとも休止時間と再起動時間に発生するAVストリーム量より大きく設定する必要がある。もちろん、バッファ容量は記録基準容量より大きくする。   Two types of drive standby in S107 are prepared. Specifically, in the idling mode in which the optical disc 103 is kept in focus and tracking so that the recording operation can be shifted in a short time, the operation immediately shifts to the node A. In the sleep mode in which the drive is temporarily stopped for the intermittent recording operation to reduce the power consumption, the process proceeds to the node A after a predetermined pause time is secured. The recording reference capacity in this case needs to be set to be larger than at least the AV stream amount generated during the pause time and the restart time. Of course, the buffer capacity is larger than the recording reference capacity.

S102で撮影終了指令を受けた場合はノードEを通って撮影終了処理(図5)を実行する。   When the photographing end instruction is received in S102, the photographing end processing (FIG. 5) is executed through the node E.

S104でドライブが記録不可能と判定された場合には、まずS108のドライブ動作制御で、記録不可能原因ごとにドライブの動作切り替えて、ノードDから始まるフラッシュ代替記録に移行する。この場合、記録不可能が振動要因の場合はフォーカス・トラッキングが維持できればアイドリングモードで次ステップに進むが、振動が大き過ぎてフォーカス・トラッキングが外れアイドリングモードが無理であれば休止モードに移行にして次ステップに進む。また、記録不可能原因が温度要因の場合には半導体レーザを冷却するために休止モードで次に進む。以上の2要因は撮影中において再度記録可能になることが期待でき、その場合は光ディスク103への記録を続ける。記録不可能が、電池要因、容量要因または故障要因のときは、ドライブは停止してドライブ起動を不可能に設定する。   If it is determined in S104 that the drive cannot be recorded, first, the drive operation is switched for each cause of recording failure in the drive operation control in S108, and the process proceeds to flash alternative recording starting from node D. In this case, if focus is not possible when recording is not possible, proceed to the next step in the idling mode if the focus / tracking can be maintained, but if the vibration is too large and the focus / tracking is lost and the idling mode is impossible, the mode is changed to the sleep mode. Proceed to the next step. If the cause of recording failure is a temperature factor, the process proceeds to the rest mode to cool the semiconductor laser. The above two factors can be expected to be able to be recorded again during shooting. In this case, recording on the optical disc 103 is continued. If recording is not possible due to a battery factor, capacity factor, or failure factor, the drive is stopped and the drive cannot be started.

ノードDからフラッシュ代替記録に入ると、まずドライブが起動可能なら起動開始し(S110)、ユーザから撮影終了指令があるかどうか(S111)、ドライブが記録可能かどうか(S112)、およびバッファが一杯(第5レベルとする)かどうか(S113)をチェックする。なお、S110では、ドライブがすでに起動している場合は次のステップに移る。バッファが一杯になったら、次にフラッシュが一杯でないかどうかを確認する(S114)。具体的には、フラッシュの代替記録可能スペースが、第5レベルから記録基準容量を引いた差分量より大きければ記録可能である。記録可能であればその差分量をフラッシュに記録した後(S115)、ノードDに戻る。このとき、フラッシュ代替記録を実施し映像データ修復が必要であることを示す修復必要フラグと代替管理情報を、録再制御部107によってシリアルEEPROM109に記録する。ここで代替管理情報とは、光ディスク103上の本来記録すべき位置情報(代替元)とフラッシュ上の代替情報の位置情報(代替先)を含む情報である。   When entering the flash alternative recording from the node D, first, if the drive can be started, the start is started (S110), whether there is a photographing end command from the user (S111), whether the drive can be recorded (S112), and the buffer is full. It is checked whether or not (set to the fifth level) (S113). In S110, if the drive has already been activated, the process proceeds to the next step. When the buffer is full, it is checked whether the flash is not full (S114). Specifically, recording is possible if the alternative recordable space of the flash is larger than the difference amount obtained by subtracting the recording reference capacity from the fifth level. If recording is possible, the difference amount is recorded in the flash (S115), and the process returns to node D. At this time, flash replacement recording is performed, and a repair necessary flag indicating that video data needs to be repaired and replacement management information are recorded in the serial EEPROM 109 by the recording / playback control unit 107. Here, the replacement management information is information including position information to be originally recorded on the optical disc 103 (replacement source) and position information of replacement information on the flash (replacement destination).

S111で撮影終了指令を受けた場合およびS114でフラッシュが一杯になった場合には、ノードEを通って撮影終了処理(図5)を実行する。S112でドライブが記録可能になったらノードCを通って光ディスク103への記録を再開する。記録を再開する位置は、光ディスク103の代替された領域を飛ばした本来の記録位置とする。記録を再開できるのは、振動要因と温度要因のときである。他の3要因は、記録不可能のままノードEを通って撮影終了処理(図5)に向かう。   When the photographing end instruction is received in S111 and when the flash is full in S114, the photographing end process (FIG. 5) is executed through the node E. When the drive becomes recordable in S112, recording on the optical disc 103 is resumed through the node C. The position at which recording is resumed is the original recording position after skipping the replaced area of the optical disk 103. Recording can be resumed only when there are vibration and temperature factors. The other three factors go through the node E to the photographing end process (FIG. 5) while recording is impossible.

<撮影時の終了処理フロー>
続いて、図5を使って撮影終了処理フローを説明する。撮影終了処理はまず、ビデオカメラ部101および圧縮部102を停止すると共にAVストリームのバッファへの蓄積を終了する(S200)。そしてノードFを通って、まずドライブが記録可能かを判定する(S201)。記録可能であれば光ディスク103にバッファが0になるまでAVストリームを全部記録する(S202、S203)。バッファが0になったら、フラッシュにAVストリームが代替されていないか修復フラグをチェックし(S204)、撮影データ修復が必要なら代替管理情報に基づきフラッシュに代替記録した代替データを光ディスクにコピーし修復必要フラグをクリヤする(S205)。
<End processing flow during shooting>
Subsequently, the photographing end processing flow will be described with reference to FIG. In the photographing end process, first, the video camera unit 101 and the compression unit 102 are stopped and the accumulation of the AV stream in the buffer is ended (S200). Then, through the node F, it is first determined whether or not the drive can be recorded (S201). If recording is possible, the entire AV stream is recorded on the optical disk 103 until the buffer becomes zero (S202, S203). When the buffer reaches 0, the restoration flag is checked to see if the AV stream has been replaced with the flash (S204). If shooting data restoration is necessary, the substitute data recorded in the flash is copied to the optical disk based on the substitution management information and restored. The necessary flag is cleared (S205).

このときの記録は、バッファへの蓄積を終了しているので、バッファオーバーフローを気にしてタイミングを制御する必要はない。撮影データ修復が成功した場合あるいは修復不要の場合はノードGを通って光ディスク103にAVストリームの記録位置情報およびファイルシステムに関する管理情報を記録する(S206)。管理情報は、予め光ディスク103から読み出され記録領域を探すためとファイルの管理に使われるが、撮影の進行と共に録再制御部107でさらにAVストリームとそれに関するファイルに関するものが生成される。管理情報の記録は、少なくともここで生成されたAVストリームとファイルに関する管理情報を光ディスクに記録する。管理情報が問題なく光ディスク103に記録されたら、撮影完全フラグをセットして(S207)、正常終了し撮影を完了する(S208)。   Since the recording at this time has been completed in the buffer, there is no need to control the timing taking care of buffer overflow. When the photographing data restoration is successful or when restoration is unnecessary, the AV stream recording position information and the management information related to the file system are recorded on the optical disc 103 through the node G (S206). The management information is read from the optical disc 103 in advance and is used for searching the recording area and managing the file. As the shooting progresses, the recording / playback control unit 107 further generates information related to the AV stream and related files. In the management information recording, at least the management information regarding the AV stream and file generated here is recorded on the optical disc. When the management information is recorded on the optical disc 103 without any problem, the shooting complete flag is set (S207), and the shooting is completed normally and shooting is completed (S208).

なお、以上の管理情報は、基本的にランダムアクセスが要求され、かつ重要な情報なので、バックアップ電池でバックアップされたSRAMで取り扱うようにする。電池切れなどによるデータ消失は避けられるので、撮影終了の都度光ディスク103に管理情報を記録しなくても、光ディスク103を取り出すときだけ一括して記録し効率を上げるのが好ましい。また、撮影完全フラグは、S100の撮影開始直後にクリヤされてもので、修復必要フラグと同じように、シリアルEEPROM109に記録する。   Since the above management information basically requires random access and is important information, it is handled by an SRAM backed up by a backup battery. Since data loss due to battery exhaustion can be avoided, it is preferable to increase the efficiency by recording all at once when the optical disk 103 is taken out, without recording management information on the optical disk 103 each time shooting is completed. Further, since the shooting complete flag is cleared immediately after the start of shooting in S100, it is recorded in the serial EEPROM 109 in the same manner as the restoration required flag.

S201でドライブが記録不可能の場合は、ノードHを通って、まずドライブが起動可能なら起動を開始し(S209)、ドライブが再度、記録可能になるまで所定時間待つ(S210、S211)。記録可能になればノードFを通って正常終了S203に向かった終了処理に戻す。所定時間が経過し記録可能にならなければドライブを停止する(S212)。ここで、バッファにAVストリームが残っており、かつ代替記録するスペースがフラッシュに残っていれば、AVストリームをフラッシュに記録する(S213)。そして、撮影完了フラグはクリヤとしたままで(S214)、異常終了し撮影不完全なままで異常終了する(S215)。   If the drive cannot be recorded in S201, the drive starts through node H if the drive can be started first (S209), and waits for a predetermined time until the drive can be recorded again (S210, S211). If recording is possible, the process returns to the end process which has passed through the node F and has proceeded to the normal end S203. If the predetermined time has elapsed and recording is not possible, the drive is stopped (S212). Here, if the AV stream remains in the buffer and the space for alternative recording remains in the flash, the AV stream is recorded in the flash (S213). Then, the shooting completion flag remains cleared (S214), and the process ends abnormally and ends abnormally with incomplete shooting (S215).

異常終了は、振動要因や温度要因が厳しいときに発生する。振動要因はユーザが取り扱いを注意することで振動を減し記録可能状態に短時間に戻せるが、温度要因の場合は冷却に比較的時間がかかるので記録不可能時間が継続し異常終了になりやすい。また、電池要因、容量要因または故障要因のときは必ず異常終了させるが、このときは別途フラグなどを用意してドライブを停止し起動できない状態で異常終了させる。また、S205またはS206のときに記録不可能になった場合は、Hノードを通して光ディスク装置100が記録回復を試み、所定時間内に記録可能にならなければ異常終了の処理を行う。このフローの図示は省略した。異常終了したときの撮影データ修復処理については後述する。   Abnormal termination occurs when vibration factors and temperature factors are severe. The vibration factor can be reduced to a recordable state by handling the user with care, but in the case of a temperature factor, it takes a relatively long time to cool down, so the unrecordable time continues and it tends to end abnormally. . In addition, when the battery factor, the capacity factor, or the failure factor, the abnormal termination is always performed. In this case, a separate flag or the like is prepared and the drive is stopped and terminated abnormally in a state where it cannot be started. If recording becomes impossible at S205 or S206, the optical disc apparatus 100 attempts to recover recording through the H node. If recording is not possible within a predetermined time, abnormal termination processing is performed. Illustration of this flow is omitted. The photographing data restoration process when the process ends abnormally will be described later.

なお、撮影時に異常終了した場合には、光ディスク103およびフラッシュメモリカード111が本来あるべき正常な状態ではないので、撮影データ修復処理が終了するまでは、両メディアをイジェクトできないようにそれぞれ光ディスクのロック機構1005およびフラッシュメモリカードのロック機構112でロックする。後述するフラッシュメモリカードのユーザデータの書き戻し状態のときも、両メディアをロックする。ユーザが誤ってメディアを取り出すことがないようにするためである。   If abnormal termination occurs during shooting, the optical disk 103 and the flash memory card 111 are not in a proper normal state, and the optical disk lock must be performed so that both media cannot be ejected until the shooting data restoration process is completed. Locking is performed by the mechanism 1005 and the lock mechanism 112 of the flash memory card. Both media are locked even in a user data write-back state of a flash memory card to be described later. This is to prevent the user from accidentally taking out the media.

<代替処理の効果>
以上、撮影時のフラッシュ代替記録処理および撮影終了時の撮影データ修復処理の主要動作を説明した。これらの本発明の処理を光ディスク・ビデオカメラに適用すれば、撮影途中に一時的に記録不可能が発生し、それが所定時間継続する場合であって、通常ならバッファがオーバーフローして映像が途切れるような状況でも、フラッシュ代替記録によって、映像途切れのない連続撮影が可能になる。また、記録可能に戻った場合には、以降の映像が光ディスクに記録できると共に、代替AVストリームを光ディスクの本来記録すべき位置に記録することで、記録不可能が発生しなかったように撮影を完了できる。
<Effect of alternative processing>
The main operations of the flash alternative recording process at the time of shooting and the shooting data restoration process at the end of shooting have been described above. If these processes according to the present invention are applied to an optical disc / video camera, recording is temporarily impossible during shooting, which continues for a predetermined time, and usually the buffer overflows and the video is interrupted. Even in such a situation, continuous shooting without interruption of video becomes possible by the flash alternative recording. In addition, when it is possible to record again, the subsequent video can be recorded on the optical disc, and the alternative AV stream is recorded at the position where the optical disc should be recorded, so that the recording can be performed as if no recording has occurred. Can be completed.

このようなことが具体的に発生するのは、例えば運動会で子供を追いかけながら撮影し光ディスク・ビデオカメラに記録不可能な振動を与え撮影終了後に振動が無くなる場合などの振動要因や、炎天下で長時間撮影を続け光ディスク・ビデオカメラ内部の半導体レーザの温度が一時的に動作保証温度を上回り、その後ドライブ停止により半導体レーザが冷却される場合などの温度要因によるときである。   For example, this may occur for a long time under shooting in the athletic meet, such as when shooting while chasing a child, causing vibrations that cannot be recorded to an optical disc / video camera to disappear and after shooting, This is when the temperature of the semiconductor laser inside the optical disc / video camera continues to temporarily exceed the guaranteed operating temperature and the semiconductor laser is cooled down by stopping the drive.

<データ回復処理>
次に、異常終了した後の回復処理について説明する。前述したように異常終了の要因は5つある、すなわち振動要因、温度要因、電池要因、容量要因および故障要因である。回復処理は異常終了要因で異なる。
<Data recovery processing>
Next, recovery processing after abnormal termination will be described. As described above, there are five causes of abnormal termination, namely, vibration factor, temperature factor, battery factor, capacity factor, and failure factor. Recovery processing differs depending on the cause of abnormal termination.

振動要因と温度要因は撮影終了後に、記録不可能の要因が取り除かれたら、回復処理を行う。ユーザには一旦撮影が異常終了したことを知らせる。さらに光ディスク装置が記録可能かをチェックしてユーザに知らせて、ユーザの指令もしくは自動でフラッシュ代替記録の情報を光ディスクの本来の記録位置にコピーする撮影データ修復処理および光ディスクへの管理情報の記録を行う。特に温度要因による記録不可能な場合には、後続する記録時間を確保できるレベルに温度が下がったことを確認して記録可能の通知を行う。   For the vibration factor and the temperature factor, the recovery process is performed when the non-recordable factor is removed after the photographing is completed. The user is informed that the shooting has ended abnormally. Furthermore, it checks whether the optical disk device can record, informs the user, and captures the shooting data restoration process for copying the information of the flash substitute recording to the original recording position of the optical disk and the management information recording on the optical disk. Do. In particular, when recording is impossible due to temperature factors, it is confirmed that the temperature has fallen to a level that can secure the subsequent recording time, and notification of recording is made.

電池要因の場合は、電池交換後に前記振動要因または温度要因と同じ回復処理を行う。電池要因の代替記録を行う目的は、光ディスクへの記録が不可能な電池残量であっても、光ディスク装置に比べてはるかに消費電力が少ないフラッシュへの記録は続行できるので、それによって撮影機会を失うことを防止することにある。この場合、消費電力差と電池性能のため、フラッシュ代替記録に動作を変更すれば電池残量がすぐにはなくならない。撮影終了は、フラッシュが一杯になるか、その前に撮影終了指令があるか、電池残量がなくなることによって異常終了として打ち切られる。回復処理は以下の通り実施する。すなわち、少なくとも撮影終了後に電池残量不足で異常終了したことをユーザに知らせて電池交換を促し、電池交換後にユーザの指令もしくは自動で撮影データ修復処理および光ディスクへの管理情報の記録を行う。   In the case of a battery factor, the same recovery process as the vibration factor or temperature factor is performed after battery replacement. The purpose of the alternative recording of the battery factor is that even if the remaining battery level is impossible to record to the optical disc, recording to the flash, which consumes much less power than the optical disc device, can be continued. Is to prevent losing. In this case, due to the difference in power consumption and battery performance, if the operation is changed to the flash alternative recording, the remaining battery capacity does not disappear immediately. The end of shooting is aborted as an abnormal end when the flash is full, a shooting end command is issued before that, or the remaining battery level is exhausted. The recovery process is performed as follows. That is, at least after the shooting is completed, the user is informed that the battery has ended abnormally due to a shortage of remaining battery power, prompts the user to replace the battery, and after the battery replacement, the user's command or automatic shooting data repair processing and management information recording to the optical disc are performed.

容量要因の代替記録は、前3者と目的が異なる。すなわち、光ディスクへの記録スペースがなくなった場合に、フラッシュに継続して記録できるようにしている。つまり、実質的な記録容量をフラッシュ容量分追加できるようにしておき、絶好の撮影チャンスに光ディスクを交換しなくても、撮影をフラッシュ代替記録で継続できるようにした。撮影終了後は、基本的に3通りの回復処理をできるようにする。1つは、録画済の映像で不要な部分を消去し、一杯になった光ディスクに空きスペースを作り、そこにフラッシュ代替情報を記録する方法。2つ目は、新しい光ディスクに交換して映像フラッシュ代替記録分を記録する方式、3つ目は光ディスクとフラッシュを一つのメディアとして扱い、別の大容量メディアにコピーできるインタフェースを設ける方法である。   The alternative record of capacity factor has a different purpose from the previous three. In other words, when there is no more recording space on the optical disc, it is possible to continue recording in the flash. In other words, the substantial recording capacity can be added to the flash capacity, and the shooting can be continued with the flash alternative recording without exchanging the optical disk at the best shooting opportunity. After the end of shooting, basically three kinds of recovery processing can be performed. One is a method of erasing an unnecessary part in a recorded video, creating a free space on a full optical disk, and recording flash replacement information there. The second is a method of recording a video flash substitute recording by exchanging it with a new optical disc, and the third is a method of providing an interface capable of handling the optical disc and the flash as one medium and copying to another large-capacity medium.

故障要因での代替記録は、光ディスク・ビデオカメラそのものが故障しているので、メーカの修理対応で、正常な光ディスク装置または光ディスク・ビデオカメラを用いて、残された光ディスクへの記録内容、フラッシュ代替記録された内容およびバックアップされたSRAM情報に基づき、映像情報の回復処理を行う。回復処理の基本フローは電池要因の処理と同等である。   Substitute recording due to failure causes the optical disc / video camera itself to be faulty, so repaired by the manufacturer, using a normal optical disc device or optical disc / video camera, the recorded content on the remaining optical disc, flash substitution Based on the recorded contents and the backed up SRAM information, the video information is restored. The basic flow of the recovery process is equivalent to the battery factor process.

以上のデータ回復処理は、不揮発性のフラッシュを使っているため、光ディスク・ビデオカメラの電源を一旦オフ(不意のオフを含む)した後でも実現できるので、通常のバッファメモリにはない大きな特長と言える。   Since the above data recovery process uses a non-volatile flash, it can be realized even after the optical disk / video camera has been turned off (including unexpectedly off). I can say that.

<撮影時の動作タイミング例>
図6は、以上で説明した撮影時(または記録時)のバッファメモリ108の蓄積量と記録制御の例を示すタイミング図である。なお、図6の説明においても、光ディスク装置100をドライブ、第3レベルを記録基準容量、バッファメモリ108をバッファ、フラッシュメモリ110またはフラッシュメモリカード111をフラッシュと略称する。
<Operation timing example during shooting>
FIG. 6 is a timing chart showing an example of the storage amount and recording control in the buffer memory 108 at the time of photographing (or recording) described above. In the description of FIG. 6 as well, the optical disk device 100 is abbreviated as a drive, the third level is a recording reference capacity, the buffer memory 108 is a buffer, and the flash memory 110 or the flash memory card 111 is abbreviated.

図6において、縦軸はバッファの蓄積量である。上段の破線はバッファの全容量である。下段の破線は記録基準容量である。撮影の基本動作で説明した第4のレベルは、ここでは0とした。ここでは記録時のユーザレートをVw、同ディスクレートをVoとしている。したがって記録時はVi−Vw(負)の傾きで蓄積量が減少する。また、フラッシュへの記録レートと再生レートをそれぞれVwfとVrfで示した。この値はVwよりも大きいものとする。なお、ここでのディスクレートとユーザレートは、図3で示したものと異なる値としている。   In FIG. 6, the vertical axis represents the accumulated amount of the buffer. The upper broken line is the total capacity of the buffer. The lower broken line is the recording reference capacity. The fourth level described in the basic operation of photographing is 0 here. Here, the user rate at the time of recording is Vw, and the disk rate is Vo. Therefore, during recording, the accumulation amount decreases with a slope of Vi-Vw (negative). Further, the recording rate to the flash and the playback rate are indicated by Vwf and Vrf, respectively. This value is assumed to be larger than Vw. Note that the disc rate and user rate here are different from those shown in FIG.

撮影にあたっては、あらかじめ光ディスク103上に記録すべき領域は、ファイルシステム(後述)の情報と管理情報に基づいて決定する。具体的には、管理情報の記録領域を除き、光ディスク上の必要連続長以上の記録可能領域の全てを、アクセスが最も少なくなるように順番に割り当てる。必要連続長未満の記録可能領域にAVストリームの最後の部分など、例外を除いて記録しないようにする。   In shooting, an area to be recorded on the optical disc 103 is determined in advance based on information of a file system (described later) and management information. Specifically, all the recordable areas on the optical disc that are longer than the necessary continuous length are allocated in order so that the access is minimized, except for the management information recording area. Except for exceptions such as the last part of the AV stream, it is not recorded in the recordable area less than the necessary continuous length.

ユーザが撮影ボタンを押して撮影開始指令を録再制御部107に発行すると直ぐに、ビデオカメラ部101で映像を入力し圧縮部102でAVストリームを生成する(t0)。AVストリームはユーザレートViでバッファメモリ108に蓄積が開始され、蓄積量は増加し始める。ドライブは撮影指令前から起動しておくか、電力消費を減らすために撮影開始指令後から起動を行い、記録すべき領域にAVストリームを記録できるように準備をしておく。蓄積量が記録基準容量に達すると、光ディスク103への記録を始める(t1)。蓄積量は前述のように、Vi−Vwで減少し、バッファが0になったら記録を中断する(t2)。次に記録基準容量に蓄積量が達するまでの時間は予測できるので、例えばドライブの制御を、休止、再起動およびアクセスの順に実行すれば間欠記録が実現できる。   As soon as the user presses the shooting button and issues a shooting start command to the recording / playback control unit 107, the video camera unit 101 inputs video and the compression unit 102 generates an AV stream (t0). The AV stream starts to be stored in the buffer memory 108 at the user rate Vi, and the storage amount starts to increase. The drive is started before the shooting command, or is started after the shooting start command in order to reduce power consumption, and preparations are made so that the AV stream can be recorded in the area to be recorded. When the accumulated amount reaches the recording reference capacity, recording on the optical disk 103 is started (t1). As described above, the accumulation amount decreases with Vi−Vw, and when the buffer becomes 0, the recording is interrupted (t2). Next, since the time until the storage amount reaches the recording reference capacity can be predicted, for example, intermittent control can be realized by executing drive control in the order of pause, restart, and access.

t3で記録を再開するが、記録途中で記録領域が変える必要があるときには、アクセスが必要になる(t4)。次の記録領域への記録はt5に始める。その後、記録途中の時刻t6で記録不可能であることを記録可否判定部113が検出した場合には、まずドライブを停止する。記録不可能の状態が継続すると、蓄積量は傾きViで増加するが、その値が記録基準容量になってもまだ何もしない。そして、蓄積量が全容量に達し、オーバーフローする直前になって、始めてフラッシュに代替記録する(t7)。フラッシュはドライブに比べアクセス時間のバラつきがなく短時間なので、すぐに記録が開始できる。フラッシュに代替記録を始めると、蓄積量は減少する(傾き:Vi−Vwf)。そして時刻t8で、記録基準容量まで蓄積量が減少したら、フラッシュへの代替記録を一旦停止する。再び蓄積量が全容量になったら、再びフラッシュへ代替記録をスタートさせ(t9)、蓄積量を記録基準容量まで減らす(t10)。蓄積量は再度増加に転ずるが、ここで、時刻t11で撮影終了指令が発行されたとする。そうすると、蓄積量の増減は無くなる。ここで、フラッシュへの記録を記録基準容量で停止している理由は、代替記録に使うフラッシュの容量を、できるだけ低減したいからである。   Recording is resumed at t3, but access is required when the recording area needs to be changed during recording (t4). Recording to the next recording area starts at t5. Thereafter, when the recording possibility determination unit 113 detects that recording is impossible at time t6 during recording, the drive is first stopped. If the unrecordable state continues, the accumulation amount increases with the slope Vi, but nothing is done yet even if the value reaches the recording reference capacity. Then, just before the accumulated amount reaches the full capacity and overflows, replacement recording is first performed in the flash (t7). Since the flash has a short access time compared to the drive, recording can be started immediately. When alternative recording is started in the flash, the accumulated amount decreases (slope: Vi−Vwf). When the accumulated amount decreases to the recording reference capacity at time t8, the alternative recording to the flash is temporarily stopped. When the accumulated amount reaches the full capacity again, alternative recording to the flash is started again (t9), and the accumulated amount is reduced to the recording reference capacity (t10). The accumulation amount starts to increase again. Here, it is assumed that a photographing end command is issued at time t11. Then, there is no increase / decrease in the accumulated amount. Here, the reason why recording in the flash is stopped at the recording reference capacity is that it is desired to reduce the capacity of the flash used for the alternative recording as much as possible.

この時点t11からしばらく経って、ドライブが記録可能になったら、ドライブを起動してバッファに残ったAVストリームを光ディスク103に記録をする(t12からt13)。次にフラッシュ代替記録したAVストリームを光ディスク103にコピーして修復を行う。そのため、本来記録すべき領域にアクセスを行う(t13からt14)。アクセスが完了したら(t14)、フラッシュからバッファに代替記録した情報を蓄積しながら光ディスク103に情報を書き込む(傾き:Vrf−Vw)。代替記録情報を全て読み出したら(t15)、バッファに残った情報を光ディスク103に全て書き込み記録を完了する。なお、フラッシュ代替記録量が多いときには、途中バッファがオーバーフローしないようバッファ管理を行う。このあと、管理情報が光ディスク103に記録されれば撮影は完了する(タイミングは不図示)。   When the drive becomes recordable for a while after this time t11, the drive is started and the AV stream remaining in the buffer is recorded on the optical disc 103 (from t12 to t13). Next, the AV stream recorded by flash substitution is copied to the optical disc 103 and repaired. Therefore, an area to be originally recorded is accessed (from t13 to t14). When the access is completed (t14), information is written to the optical disc 103 while accumulating the information recorded in the buffer from the flash (inclination: Vrf−Vw). When all the alternative recording information is read (t15), all the information remaining in the buffer is written on the optical disc 103 to complete the recording. Note that when the flash alternative recording amount is large, buffer management is performed so that the buffer does not overflow. Thereafter, if the management information is recorded on the optical disc 103, the photographing is completed (the timing is not shown).

以上で通常記録とドライブ異常時の蓄積量の制御について説明したが、通常記録時に全容量と記録基準容量の差の容量は、基本的に衝撃発生時のリカバリに使い、記録時のショックプルーフを実現する。   The control of the storage amount during normal recording and drive abnormality has been described above, but the difference between the total capacity and the recording reference capacity during normal recording is basically used for recovery when an impact occurs, and the shock proof during recording is used. Realize.

以上定性的な説明をしたが、実際の光ディスク・ビデオカメラに使う値の具体例を示す。まず、光ディスク103の容量は8GBとする。ユーザレートはHD画質を満たす24Mbpsとすると、録画時間は約44分である。ディスクレートはユーザレートの2倍の48Mbpsとしバッファメモリ容量を若干大きく取り、光ディスク装置の起動時間を高速化すれば、約50%の間欠動作に近づけられる。トラックバッファ1009は16Mbitとする。間欠録再動作とショックプルーフのため、バッファメモリ108は、256MbitのDRAM4個で1Gbit(ユーザレートで約42秒相当)と大き目とする。内蔵フラッシュメモリ110は、DRAMより安価なので1Gbit品を2個(同約84秒相当)搭載する。外付けフラッシュメモリカード111は1Gバイト(同約340秒相当:光ディスク容量の1/8相当)とすれば、高信頼な光ディスク・ビデオカメラが実現できる。   Although qualitative description has been given above, specific examples of values used in an actual optical disc / video camera are shown. First, the capacity of the optical disk 103 is 8 GB. If the user rate is 24 Mbps that satisfies the HD image quality, the recording time is about 44 minutes. If the disk rate is 48 Mbps, which is twice the user rate, and the buffer memory capacity is slightly increased, and the startup time of the optical disk device is increased, the operation can be approached to about 50% intermittent operation. The track buffer 1009 is 16 Mbit. For intermittent recording / reproducing operation and shock proof, the buffer memory 108 is assumed to be as large as 1 Gbit (corresponding to a user rate of about 42 seconds) with four 256 Mbit DRAMs. Since the built-in flash memory 110 is cheaper than a DRAM, two 1 Gbit products (corresponding to about 84 seconds) are mounted. If the external flash memory card 111 is 1 Gbyte (corresponding to approximately 340 seconds: equivalent to 1/8 of the optical disk capacity), a highly reliable optical disk / video camera can be realized.

<メモリ管理内容>
ここで、録再制御部107を中心にしたメモリ管理の内容について、図7および図8を使って説明する。
<Memory management contents>
Here, the contents of memory management centered on the recording / playback control unit 107 will be described with reference to FIGS.

図7は、光ディスク・ビデオカメラの録再制御部107を中心とした、メモリ制御を説明するブロック図である。録再制御部107には、圧縮部102、バッファメモリ108、伸張部104が接続される。バッファメモリ108はランダムアクセスメモリとして取り扱う。   FIG. 7 is a block diagram for explaining memory control centered on the recording / playback control unit 107 of the optical disk / video camera. The recording / playback control unit 107 is connected to the compression unit 102, the buffer memory 108, and the decompression unit 104. The buffer memory 108 is handled as a random access memory.

録画制御部107は、光ディスク・ビデオカメラのAVストリームの記録再生を制御するアプリ層ソフトウエア107Aのほか、光ディスク用ファイルシステム(ソフトウエア)107B、フラッシュメモリ用ファイルシステム107C、交代処理(ソフトウエア)107DおよびECC(ハードウエア)107Eを内蔵する。   The recording control unit 107 includes an application layer software 107A for controlling the recording / playback of the AV stream of the optical disc / video camera, an optical disc file system (software) 107B, a flash memory file system 107C, and a replacement process (software). 107D and ECC (hardware) 107E are incorporated.

光ディスク103の物理層の記録再生には、光ディスク装置100に内蔵した交代処理1008A、ECC1008Bおよびトラックバッファ1009を使う。また、AVストリームを記録するための連続記録領域を確保するためには、アプリ層ソフトウエア107A、光ディスク用ファイルシステム107Bおよび交代処理1008Aを連携させる。   For the recording / reproduction of the physical layer of the optical disc 103, the alternation processing 1008A, ECC 1008B, and track buffer 1009 built in the optical disc apparatus 100 are used. In order to secure a continuous recording area for recording an AV stream, the application layer software 107A, the optical disk file system 107B, and the replacement process 1008A are linked.

フラッシュメモリ110およびフラッシュメモリカード111を構成するフラッシュEEPROMは一般に、ランダムアクセス機能はなく、光ディスク103と同じように、欠陥を容認しECCおよび交代処理を前提とした使い方が必要になるので、フラッシュメモリ110を使うためにはECC107E、交代処理107Dおよびフラッシュ用のファイルシステム107Cが必要になる。ただし、欠陥率は1KBに1個あるかないかのレベルで光ディスクよりはるかに低い。フラッシュメモリカード111にはコントローラが内蔵されており、ECCの処理はこれで実施される。   The flash EEPROM constituting the flash memory 110 and the flash memory card 111 generally does not have a random access function, and, like the optical disk 103, it is necessary to accept a defect and use it on the premise of ECC and replacement processing. In order to use 110, an ECC 107E, a replacement process 107D, and a flash file system 107C are required. However, the defect rate is much lower than that of an optical disc at the level of one or less in 1 KB. The flash memory card 111 has a built-in controller, which performs ECC processing.

フラッシュEEPROMは、基本的にオーバーライトできないメモリである。データ記録は、複数セクタからなるブロックを消去状態にしておき、セクタ単位で情報を記録する方法を用いる。消去はブロック単位で実施するが、これを消去ブロックと呼ぶ。消去ブロックのサイズは例えば16Kバイトと大きいが、1セクタは例えば512バイトと小さい。   A flash EEPROM is basically a memory that cannot be overwritten. Data recording uses a method in which a block composed of a plurality of sectors is erased and information is recorded in units of sectors. Erasing is performed in units of blocks, which are called erase blocks. The size of the erase block is as large as 16 Kbytes, for example, but one sector is as small as 512 bytes.

通常のデータ書き換えとして、すでに全てのセクタが書き込まれた1ブロックの中の1セクタを書き換えようとすると、次のような処理手順が必要になる。すなわち、1ブロックをリードし、1ブロック内の目的セクタを書き換え(モディファイ)、1ブロックを消去、モディファイした1ブロックをライトし、最後にライトした1ブロックをベリファイする。合計で5ステップの手続きが必要になる。この記録をリード・モディファイ・ライトと呼ぶ。この場合、記録時間はかなり長く、高速記録が求められるフラッシュ代替記録には適さない。   In order to rewrite one sector in one block in which all sectors have already been written as normal data rewriting, the following processing procedure is required. That is, one block is read, the target sector in one block is rewritten (modified), one block is erased, one modified block is written, and the last written one block is verified. A total of 5 steps are required. This recording is called read-modify-write. In this case, the recording time is considerably long, and it is not suitable for flash substitute recording that requires high-speed recording.

フラッシュ代替記録で高速記録するために、少なくとも書き換えが伴わないよう、消去済みのセクタにのみ記録できるようにしたい。そのためまず、フラッシュメモリ110は、ファイル管理領域以外は、記録単位を消去ブロック単位になる機能をフラッシュ用ファイルシステム107Cに組み込む。例えば、1セクタ=1ブロックとする。こうすると、リード・モディファイ・ライトの最初のステップが省け、1ブロック消去、1ブロック・ライト、1ブロック・ベリファイの3ステップの処理ですむので高速になる。さらに、予め消去を実施しておけば、1ブロック・ライト、1ブロック・ベリファイの2ステップにできる。また、欠陥率が非常に低いことを加味して、管理情報以外のAVストリームの記録は若干のデータロスを覚悟してベリファイを省略して、1ブロック・ライトの1ステップにすることも可能である。   In order to perform high-speed recording by flash alternative recording, it is desired to record only in the erased sector so that at least rewriting is not accompanied. For this reason, first, the flash memory 110 incorporates a function for changing the recording unit into an erase block unit in the flash file system 107C except for the file management area. For example, 1 sector = 1 block. By doing this, the first step of read / modify / write can be omitted, and the process of three steps of 1-block erase, 1-block write, and 1-block verify can be performed at high speed. Further, if erasing is performed in advance, two steps of one block write and one block verify can be performed. In addition, taking into account the fact that the defect rate is very low, recording of AV streams other than management information can be carried out with one step of one block write by omitting verification by preparing for some data loss. is there.

フラッシュメモリカード111は、パソコンとの互換確保のため、1セクタ=1ブロックにはできない。したがって、パソコンで使用したフラッシュメモリカード111内のファイルは、ブロック単位になっておらず、フラグメンテーション状態であることが普通である。フラグメンテーションの有無は、フラッシュ用ファイルシステム107Cと交代処理107Dによってチェック可能であるが、フラグメンテーションがある場合には、フラグメンテーションを解消するデフラグ処理を行い、消去済みのセクタを連続して確保するために、録再制御部107は次の制御を行う。   The flash memory card 111 cannot have 1 sector = 1 block to ensure compatibility with a personal computer. Therefore, the file in the flash memory card 111 used in the personal computer is not in a block unit and is usually in a fragmentation state. The presence or absence of fragmentation can be checked by the flash file system 107C and the replacement process 107D. However, if there is fragmentation, a defragmentation process is performed to eliminate fragmentation, and in order to continuously secure erased sectors, The recording / playback control unit 107 performs the following control.

すなわち、まずフラッシュメモリカード111内のユーザデータ(ユーザファイル)を、一旦光ディスク103に全て記録する。次に、フラッシュメモリカード111のユーザデータ領域を全部消去する。最後に、光ディスク103上のユーザファイルを順にフラッシュメモリカード111に書き戻す。このときフラッシュメモリ用ファイルシステム107Cには、ユーザファイルをセクタアドレスの若い順に連続記録させるようにする。この結果、ユーザファイルの最後に記録したブロックの次のブロックから最後のブロックまでが、フラッシュ代替記録領域として消去済みの領域として確保できる。また、ユーザファイルがデフラグで整理できるので、次にパソコンなどで使う場合に高速に使えるという別の利点も得られる。ただし、上記のようにユーザファイルを一旦光ディスクに書き込み、書き戻す処理は時間がかかるという欠点や、光ディスク装置の故障が発生するとユーザファイルが書き戻せないというリスクがある。   That is, first, all user data (user file) in the flash memory card 111 is once recorded on the optical disk 103. Next, the entire user data area of the flash memory card 111 is erased. Finally, the user files on the optical disk 103 are written back to the flash memory card 111 in order. At this time, the user file is continuously recorded in ascending order of sector addresses in the flash memory file system 107C. As a result, the area from the next block to the last block of the last recorded block of the user file can be secured as an erased area as a flash replacement recording area. In addition, since user files can be organized by defragmentation, another advantage is that they can be used at high speed the next time they are used on a personal computer or the like. However, there is a drawback that it takes time to write and write back the user file to the optical disc as described above, and there is a risk that the user file cannot be written back when a failure of the optical disc apparatus occurs.

なお、以上の動作は撮影または録画開始前に実施するが、長時間かかるようであれば、時間録画開始後に、撮影データ記録の合間にフラッシュメモリカード111のユーザデータを所定量ずつ順次光ディスク103に記録するとともに、光ディスク103に移したユーザデータの領域を消去して、すぐにフラッシュ代替記録できる領域を順次確保するとともに、録画終了後、撮影データ修復とともに光ディスク103に移したユーザデータをフ ラッシュメモリカード111に書き戻してユーザデータ復元するようにしてもよい。   The above operations are performed before the start of shooting or recording. However, if it takes a long time, the user data of the flash memory card 111 is sequentially stored on the optical disc 103 by a predetermined amount between the shooting data recording after the time recording starts. In addition to recording, the user data area transferred to the optical disk 103 is erased, and an area that can be immediately flash-replaced and recorded is sequentially secured. User data may be restored by writing back to the card 111.

また、フラッシュメモリカード111から光ディスクに記録したユーザファイルで、光ディスク103の記録領域でAVストリームが記録できない分散した記録領域に記録したユーザファイルを、撮影開始前にはフラッシュメモリカード111にすぐに書き戻さずに、空き領域を確保してフラッシュ代替記録用に使ってもよい。   In addition, the user file recorded on the optical disk from the flash memory card 111 and recorded in the dispersed recording area where the AV stream cannot be recorded in the recording area of the optical disk 103 is immediately written on the flash memory card 111 before the start of photographing. Instead of returning, a free area may be secured and used for flash alternative recording.

また、ユーザファイルは全て光ディスク103に記録したままにしておき、フラッシュメモリカード111の容量全てをフラッシュ代替記録に使ってもよい。この場合、本来AVストリームを記録すべき光ディスク103上の領域にユーザファイルを記録するので、光ディスク103の記録容量は少なくなる。しかし、前記の容量要因による記録不可能によって、フラッシュメモリカード111に代替記録できるので、実質的な撮影容量は減らない。ただし、撮影終了後の回復処理で、光ディスク103上のユーザファイルとフラッシュメモリカード111上のフラッシュ代替記録された映像情報を入替え記録する必要がある。入替え記録は複雑な処理になるが、基本的にバッファメモリ108をワークメモリそして使えば実現できる。バッファメモリ108のデータ消失のリスクを避けるためには、フラッシュメモリ110またはバックアップ電池でバックアップされたSRAMを用いるのが好ましい。ただし、フラッシュメモリ110は消去、ベリファイなどに処理手順が多いので、処理時間が長くなると予測される。またSRAMはDRAMほど大容量のものが搭載できないため、処理が細分化されるのでオーバーヘッドにより処理時間が長くなると予測される。   Alternatively, all user files may be recorded on the optical disk 103, and the entire capacity of the flash memory card 111 may be used for flash alternative recording. In this case, since the user file is recorded in an area on the optical disc 103 where the AV stream should be recorded, the recording capacity of the optical disc 103 is reduced. However, since the recording can be performed on the flash memory card 111 due to the incapability of recording due to the capacity factor, the substantial photographing capacity is not reduced. However, it is necessary to replace and record the user file on the optical disc 103 and the video information recorded in the flash substitute on the flash memory card 111 in the recovery process after the photographing is completed. The replacement recording is a complicated process, but can basically be realized by using the buffer memory 108 as a work memory. In order to avoid the risk of data loss in the buffer memory 108, it is preferable to use an SRAM backed up by the flash memory 110 or a backup battery. However, since the flash memory 110 has many processing procedures for erasing, verifying, etc., it is predicted that the processing time will be long. In addition, since SRAM cannot be installed with a capacity as large as DRAM, the processing is subdivided, so that the processing time is expected to be longer due to overhead.

録再制御部107のアプリ層ソフトウエア107Aには、もう一つ重要な機能を設ける。それは、撮影が異常終了したときであっても、映像再生指令などがあったときには、光ディスク103の撮影データ修復処理が完了したと同じようにデータ出力する機能である。具体的には、未修復の光ディスク103へのアクセスがあったときは、フラッシュ代替記録した情報からデータを読み出す。これは、光ディスク用ファイルシステム107Bとフラッシュ用ファイルシステム107Cの上位にファイル管理ソフトを付加することで実現する。さらに、本来フラッシュメモリカード111上にあるユーザファイルが光ディスク103上に置かれている場合には、そのユーザファイルへのアクセスがあった場合は光ディスク103から読み出す機能も付加する。   The application layer software 107A of the recording / playback control unit 107 is provided with another important function. This is a function for outputting data in the same manner as when the photographing data restoration processing of the optical disc 103 is completed when there is a video reproduction command or the like even when photographing is abnormally terminated. Specifically, when there is an access to the unrepaired optical disk 103, data is read from the information recorded by flash substitution. This is realized by adding file management software above the optical disk file system 107B and the flash file system 107C. Furthermore, when a user file originally on the flash memory card 111 is placed on the optical disk 103, a function of reading from the optical disk 103 when the user file is accessed is added.

<リングバッファの制御>
図8は、バッファメモリ108の使い方の説明図である。前述したように、バッファメモリは先入れ先出し方式のリングバッファとして使用する。
<Ring buffer control>
FIG. 8 is an explanatory diagram of how to use the buffer memory 108. As described above, the buffer memory is used as a first-in first-out ring buffer.

図8において、バッファメモリ108は、バッファ使用方向で示す矢印の方向にメモリ・アドレスがリニアかつ昇順に並んでいるものとし、データは光ディスク103に記録するブロック単位で扱う。108Aは記録完了位置を先頭として空き領域、108Bは転送完了位置を先頭とした保全データ、108Cは現在光ディスク装置100に転送中のブロック、108Dは蓄積完了位置を先頭としまだ光ディスク装置100に送られていない蓄積データ、108Eは現在蓄積中のブロック、および108Fは空き領域とする。バッファ使用量は図示するように空き領域を除いた領域になる。   In FIG. 8, the buffer memory 108 assumes that memory addresses are arranged in a linear and ascending order in the direction of the arrow shown in the buffer usage direction, and handles data in units of blocks to be recorded on the optical disk 103. 108A is an empty area starting from the recording completion position, 108B is maintenance data starting from the transfer completion position, 108C is a block currently being transferred to the optical disc apparatus 100, and 108D is still sent to the optical disc apparatus 100 starting from the accumulation completion position. Not stored data, 108E is a block currently stored, and 108F is a free area. As shown in the figure, the buffer usage amount is an area excluding an empty area.

撮影開始時は、図8の最上部から順にAVストリームを、光ディスク103に録再するブロック単位で蓄積し、蓄積量が記録基準容量に達したら、先に蓄積したAVストリーム情報から順に(上から順に)をブロック単位で光ディスク装置100に送出する。光ディスク装置100は、受け取ったAVストリームを一旦トラックバッファ1009に蓄積し、光ディスク制御部1008によって光ディスク103にディスクレートで記録していく。   At the start of shooting, AV streams are accumulated in units of blocks to be recorded / reproduced on the optical disc 103 in order from the top of FIG. 8. When the accumulated amount reaches the recording reference capacity, the AV stream information accumulated in advance (from top to bottom). (In order) are sent to the optical disc apparatus 100 in units of blocks. The optical disc apparatus 100 temporarily stores the received AV stream in the track buffer 1009 and records it on the optical disc 103 at the disc rate by the optical disc control unit 1008.

リングバッファなので、蓄積完了位置、転送完了位置および記録完了位置は最終アドレスに達したら、先頭アドレスに戻る。バッファ制御は、記録完了位置は転送完了位置を追い越さないように、転送完了位置は蓄積完了位置を追い越さないように、蓄積完了位置は記録完了位置を追い越さないように制御する。   Since it is a ring buffer, when the accumulation completion position, transfer completion position, and recording completion position reach the final address, they return to the top address. The buffer control is performed so that the recording completion position does not overtake the transfer completion position, the transfer completion position does not overtake the accumulation completion position, and the storage completion position does not overtake the recording completion position.

本発明の特徴は、保全データ108Bにある。仮に撮影途中に、記録可否判定部113によって記録不可能と判定されたとする。このときは、トラックバッファ1009には、光ディスク103に記録が完了していないブロックのデータが残っているのが通常である。単純には、その残っているブロックのデータを光ディスク装置100から読み戻して、フラッシュ代替記録することが考えられる。しかし、読み戻すために時間がかかり処理手順も複雑になるの。そこでここでは、最大トラックバッファ分のAVストリームを保全データ108Bとして、バッファメモリ108に残し、それをフラッシュ代替記録に使う。したがって、トラックバッファ1009から読み戻す必要はない。ただし、光ディスク103に記録完了したブロックのアドレス情報を光ディスク装置100から録再制御部107が受け取り、未記録のブロックのみをフラッシュ代替記録する。   A feature of the present invention resides in the maintenance data 108B. Assume that the recording possibility determination unit 113 determines that recording is not possible during shooting. At this time, it is normal that data of blocks that have not been recorded on the optical disk 103 remain in the track buffer 1009. Simply, it is conceivable that the remaining block data is read back from the optical disc apparatus 100 and flash substitute recording is performed. However, it takes time to read back and the processing procedure becomes complicated. Therefore, here, the AV stream for the maximum track buffer is left in the buffer memory 108 as the maintenance data 108B, and is used for flash alternative recording. Therefore, there is no need to read back from the track buffer 1009. However, the recording / playback control unit 107 receives the address information of the blocks that have been recorded on the optical disk 103 from the optical disk apparatus 100, and performs flash replacement recording only on unrecorded blocks.

通常のバッファ制御中には、同様に光ディスク装置100から記録完了アドレス情報をもらい、保全データ108Bのサイズが小さくなるように制御する。   During normal buffer control, recording completion address information is similarly obtained from the optical disc apparatus 100, and control is performed so that the size of the maintenance data 108B is reduced.

<代替記録時の表示>
図9は、撮影時の記録状態をモニタ部105に映し出し、ユーザに知らせるための、表示例である。この表示によって、振動を抑えるようユーザに注意を促す、あるいはフラッシュ代替記録が発生して撮影データ修復処理が必要であることや光ディスク103やフラッシュメモリカード111がロックされていることなどを、ユーザに通知する。これによって、ユーザ指示とは違う動作を光ディスク・ビデオカメラが実行していても、ユーザに納得してもらい安心感を与えることができる。
<Display during alternate recording>
FIG. 9 is a display example for displaying the recording state at the time of shooting on the monitor unit 105 to notify the user. This display alerts the user to suppress vibrations, indicates that the flash replacement recording has occurred and the photographing data restoration process is necessary, the optical disk 103 or the flash memory card 111 is locked, etc. Notice. As a result, even if the optical disc / video camera is executing an operation different from the user instruction, the user can be convinced and a sense of security can be given.

図9において、(a)は表示するマークを示すものであり、マーク105Aは光ディスク103、105Bはフラッシュメモリカード111、105CはAVストリームの流れ、105Dおよび105Eはそれぞれ光ディスクのロック機構1005およびフラッシュメモリカードのロック機構112の状態、を視覚化したものである。各マークの枠が通常認識できるように表示され、さらに各マークのセグメントを光らせるなどして動作をモニタ105上にオーバレイまたはアルファブレンドなどで表示できるようにする。(b)ないし(d)の表示マークの番号は同じものとする。また、光らせるセグメントは黒塗りした。   In FIG. 9, (a) shows a mark to be displayed, the mark 105A is the optical disk 103, 105B is the flash memory card 111, 105C is the AV stream flow, and 105D and 105E are the optical disk lock mechanism 1005 and the flash memory, respectively. The state of the card locking mechanism 112 is visualized. The frame of each mark is displayed so that it can be normally recognized, and the operation of the mark can be displayed on the monitor 105 by overlay or alpha blending, for example, by shining the segment of each mark. The numbers of the display marks (b) to (d) are the same. Moreover, the segment to make it shine was painted black.

(b)は正常撮影中の表示状態である。105Aの黒塗り部分は光ディスク103をAVストリームが占有する容量を示し、ここでは約3/8の容量が録画されていることを示す。光ディスクが動作していることを示すために、黒塗りマークを矢印の方向に回転させる。このとき105Dの黒塗りによって光ディスクのロック機構1005がロックされていることを示す。105CではAVストリームの流れが、不図示の圧縮部102またはビデオカメラ部101から流れているように見せる。105Bおよび105Eは何も変化させない。   (B) is a display state during normal photographing. The blacked portion 105A indicates the capacity occupied by the AV stream on the optical disc 103, and here indicates that about 3/8 of the capacity is recorded. In order to indicate that the optical disk is operating, the black mark is rotated in the direction of the arrow. At this time, the lock mechanism 1005 of the optical disk is locked by 105D black painting. In 105C, the flow of the AV stream is shown to flow from the compression unit 102 or the video camera unit 101 (not shown). 105B and 105E do not change anything.

(c)はフラッシュ代替記録時の表示例である。105Aは容量が5/8となり回転を止めて光ディスク103への記録が停止していることを示す。一方105Bは、黒塗り部分2/8の容量がフラッシュ代替記録され、さらに3/8の容量部分が記録されつつあることを点滅で知らせている(ハッチング部分)。このとき105Cで、AVストリームはフラッシュメモリカード111側に流れていることを示す。両メディアは共にロックされていることを、105Dおよび105Eの黒塗りで示す。   (C) is a display example at the time of flash alternative recording. 105A indicates that the capacity is 5/8, the rotation is stopped, and the recording on the optical disc 103 is stopped. On the other hand, 105B informs by flashing that the capacity of the blacked portion 2/8 is recorded by flash substitution and that the capacity portion of 3/8 is being recorded (hatched portion). At this time, 105C indicates that the AV stream flows to the flash memory card 111 side. Both media are locked, as shown by black in 105D and 105E.

(d)は、フラッシュ代替記録の撮影データ修復処理中の表示例である。105Aで光ディスクが動作していることを示す。105Bでフラッシュメモリカードの2/8の部分が点滅して、105Cで示すようにフラッシュメモリカード111から光ディスク103の方向にAVストリームが流していることを示す。撮影データ修復処理が済めば、105Bの黒塗りおよび点滅が無くなり、両メディアのロックは解除されたことが105Dと105Eで示され。光ディスクを示すマーク105Aの回転を止めることで、撮影データ修復が完了したことをユーザに知らせる。   (D) is a display example during photographing data restoration processing of flash alternative recording. 105A indicates that the optical disk is operating. 2B of the flash memory card blinks at 105B, indicating that an AV stream is flowing from the flash memory card 111 toward the optical disk 103 as indicated by 105C. When the photographing data restoration processing is completed, 105B is no longer blacked and blinked, and 105D and 105E indicate that the locks of both media are released. By stopping the rotation of the mark 105A indicating the optical disk, the user is informed that the photographing data restoration has been completed.

なお、フラッシュメモリ110は特に表示しなかったが、分かりやすく表示することは可能である。また、表示する場所はモニタ部105に限らず、ユーザが認識できるところであればどこでもよい。   Although the flash memory 110 is not particularly displayed, it can be displayed in an easy-to-understand manner. Further, the display location is not limited to the monitor unit 105 and may be any location that can be recognized by the user.

<両メディアのロック機構>
図10の(a)および(b)は、それぞれ光ディスクのロック機構1005およびフラッシュメモリカードのロック機構112の主要部を示す構成図である。このロック機構で前述のロックおよびイジェクトを実現する。
<Lock mechanism for both media>
FIGS. 10A and 10B are configuration diagrams showing main parts of an optical disk locking mechanism 1005 and a flash memory card locking mechanism 112, respectively. This lock mechanism realizes the above-described lock and eject.

図10(a)において、1000Aは光ディスク103のカートリッジを収めるカートリッジ・ホルダであり、ロード時の位置において矢印Cに方向に付勢される。1000Bはカートリッジ・ホルダ1000Aに取り付けたロックピン、1000Cはロックレバー、1000Dはロックレバー1000Cの回転軸、1000Eはロックレバー1000Cを矢印Aで示すロック方向に引っ張るバネ、1000Fは光ディスク103のイジェクト要求を受け付けるスイッチ、1000Gはイジェクト要求を受け付け録再制御部107によってイジェクト可能と判断されたときに破線矢印の方向Bにロックレバー1000Cを引っ張るソレノイドである。ソレノイド1000Gをオンすると、ロックレバー1000Cでロックされていたカートリッジ・ホルダ1000Aが外れ、イジェクト位置にカートリッジが開放される。ローディングは、カートリッジ・ホルダ1000Aをロード位置までユーザの手で押し込むことでロックされ、不図示の検出スイッチでロードされたことが検出される。   In FIG. 10A, reference numeral 1000A denotes a cartridge holder for storing the cartridge of the optical disc 103, and is urged in the direction of arrow C at the loading position. 1000B is a lock pin attached to the cartridge holder 1000A, 1000C is a lock lever, 1000D is a rotation shaft of the lock lever 1000C, 1000E is a spring that pulls the lock lever 1000C in the lock direction indicated by the arrow A, and 1000F is an eject request of the optical disk 103 An accepting switch 1000G is a solenoid that accepts an eject request and pulls the lock lever 1000C in the direction B of the broken line arrow when the recording / playback control unit 107 determines that ejection is possible. When the solenoid 1000G is turned on, the cartridge holder 1000A that has been locked by the lock lever 1000C is removed, and the cartridge is released to the eject position. The loading is locked by pushing the cartridge holder 1000A to the loading position by the user's hand, and the loading is detected by a detection switch (not shown).

図10(b)において、112Aはフラッシュメモリカード111を直接ロックするロックレバー、112Bはロックレバー112Aの回転軸、112Cはロックレバー112Aを矢印Aに付勢するバネ、112Dは矢印Cの方向に付勢されたフラッシュメモリカード111をユーザの手で破線矢印D方向に押し込まれたことをイジェクト要求として検出するスイッチ、112Eはイジェクト要求を受け付け録再制御部107によってイジェクト可能と判断されたときに破線矢印の方向Bにロックレバー112Aを引っ張るソレノイドである。ソレノイド112Eをオンすると、ロックレバー112Aによるフラッシュメモリカード111のロックが外れて、取出しが可能となる。ロード時は、不図示のコネクタへのフラッシュメモリカード111の挿入検出で、ローディングされたことを検出する。   In FIG. 10B, 112A is a lock lever that directly locks the flash memory card 111, 112B is a rotating shaft of the lock lever 112A, 112C is a spring that urges the lock lever 112A to the arrow A, and 112D is in the direction of the arrow C. A switch 112E detects that the activated flash memory card 111 has been pushed in the direction of the broken line arrow D by the user's hand, and 112E receives the ejection request and when the recording / playback control unit 107 determines that ejection is possible This is a solenoid that pulls the lock lever 112A in the direction B of the broken line arrow. When the solenoid 112E is turned on, the flash memory card 111 is unlocked by the lock lever 112A and can be taken out. During loading, loading is detected by detecting insertion of the flash memory card 111 into a connector (not shown).

なお、フラッシュメモリカードをカートリッジ・ホルダ内に収容する、あるいはロックレバーを兼用するなどして、両メディアのロックを共用化して、装置コストアップを抑えてもよい。   The flash memory card may be accommodated in the cartridge holder, or the lock lever may also be used to share both media locks, thereby suppressing an increase in device cost.

<発明の効果およびなお書き>
以上述べたように本発明による、不揮発性メモリと、前記光ディスク装置の記録が可能か不可能かどうかを判定する判定手段と、前記判定手段によって前記光ディスク装置が記録不可能と判定された期間は、前記光ディスクへの記録を停止するとともに記録すべき前記撮影データを前記不揮発メモリに代替記録する記録制御手段と、を用いた不揮発メモリへの(フラッシュ)代替記録を用いた光ディスク・ビデオカメラによれば、光ディスクへの記録が一時的に不可能になったとしても、不揮発メモリに記録すべき情報を代替記録できるので、撮影途中に一時的に記録不可能が発生し、それが所定時間継続する場合であって、通常ならバッファがオーバーフローして映像が途切れるような状況でも、映像途切れのない連続撮影が可能になる。また、記録可能に戻った場合には、以降の映像が光ディスクに記録できると共に、代替AVストリームを光ディスクの本来記録すべき位置に記録する撮影データ修復処理をすることで、記録不可能が発生しなかったように撮影を完了できる。
<Effects of the invention and notes>
As described above, according to the present invention, the non-volatile memory, the determination unit for determining whether or not recording of the optical disk device is possible, and the period during which the optical disk device is determined to be unrecordable by the determination unit are According to an optical disc video camera using (flash) alternative recording to a non-volatile memory using recording control means for stopping recording to the optical disc and substituting recording of the photographic data to be recorded in the non-volatile memory For example, even if recording on the optical disc becomes temporarily impossible, the information to be recorded on the nonvolatile memory can be recorded as a substitute, so that recording temporarily becomes impossible during shooting and this continues for a predetermined time. Even in a situation where the buffer overflows and the video is interrupted normally, continuous shooting without video interruption becomes possible. In addition, when recording is possible again, the subsequent video can be recorded on the optical disc, and a recording data restoration process for recording the alternative AV stream at the position where it should be recorded on the optical disc may result in inability to record. Shooting can be completed as if not.

なお、本実施の形態において、代替記録するための不揮発性メモリはフラッシュメモリを用いて説明したが、バッファメモリより安価で大容量、かつ適切な録再転送レートを有する不揮発メモリであれば何でもよい。近年開発が進んでいる強誘電体メモリ、相変化メモリ、あるいはMRAMなどが将来の候補となる。また、フラッシュメモリカードの代わりに小型の取り外し可能なリムーバブルなHDDドライブを使ってもよい。取り外し可能なフラッシュメモリカードを使うと、光ディスク・ビデオカメラの使用状況によってフラッシュカードの容量を増設すれば、撮影失敗のリスクを低減できる。このほか、光ディスク・ビデオカメラ発売時には価格が高く大容量の内蔵フラッシュメモリが実装できない場合でも、半導体技術の進歩で発売後に安価な大容量フラッシュメモリカードを入手できるようになるので、装着すれば光ディスク・ビデオカメラの動作信頼性の向上が可能になる。そのフラッシュメモリカードは他の用途にも共用できるので、ユーザの経済的な負担にはなりにくい。   In the present embodiment, the non-volatile memory for alternative recording has been described using the flash memory. However, any non-volatile memory that is less expensive than the buffer memory, has a large capacity, and has an appropriate recording / reproducing transfer rate may be used. . Ferroelectric memories, phase change memories, MRAMs, and the like that have been developed in recent years are candidates for the future. A small removable HDD drive may be used instead of the flash memory card. If a removable flash memory card is used, the risk of shooting failure can be reduced if the capacity of the flash card is increased depending on the usage status of the optical disc / video camera. In addition, even if optical disks and video cameras are expensive and large-capacity built-in flash memory cannot be mounted, the advancement of semiconductor technology will make it possible to obtain inexpensive large-capacity flash memory cards after sales.・ The operational reliability of the video camera can be improved. Since the flash memory card can be shared for other purposes, it is unlikely to be an economic burden on the user.

また、本実施の形態において、フラッシュ代替記録は光ディスクへの記録が始まった後の記録不可能状態で実施することとしたが、撮影開始時にすでに光ディスクが記録不可能と判定された場合には、最初からフラッシュ代替記録を行ってもよい。極端には、光ディスクと同容量かそれ以上のフラッシュメモリカードを装着して、撮影時は光ディスクへの記録を行わずフラッシュに全て記録し、撮影終了後に、光ディスクに記録するようにして過酷な環境にでも使えるモードを設けてもよい。   Further, in the present embodiment, the flash alternative recording is performed in an unrecordable state after the recording on the optical disk starts, but if it is already determined that the optical disk cannot be recorded at the start of shooting, You may perform flash alternative recording from the beginning. Extremely harsh environment with a flash memory card of the same capacity or larger than that of the optical disc, recording to the flash without recording to the optical disc during shooting, and recording to the optical disc after shooting You may set up a mode that can be used for both.

また、本実施の形態において、撮影データ修復は録画終了後としたが、録画中に実施してもよい。すなわち、フラッシュ代替記録後に記録可能な状態に戻り、間欠記録でドライブ休止時間を確保し、その時間にフラッシュから光ディスク装置に代替されたAVストリームを修復記録する。撮影データ修復が終われば修復必要フラグをクリヤし、さらにフラッシュを消去する。これによって、次のフラッシュ代替記録のための容量を確保すれば、同一容量のフラッシュでより信頼性の高い撮影が可能になる、またはフラッシュの容量を節約することができる。さらに、撮影データ修復処理が短くて済むというメリットも生じる。   Further, in the present embodiment, the image data restoration is performed after the end of recording, but may be performed during recording. That is, the state returns to the recordable state after the flash substitute recording, the drive pause time is secured by intermittent recording, and the AV stream substituted from the flash to the optical disk device is repaired and recorded at that time. When the photographing data restoration is completed, the restoration necessary flag is cleared and the flash is erased. As a result, if the capacity for the next flash alternative recording is ensured, more reliable shooting can be performed with the same capacity flash, or the capacity of the flash can be saved. Further, there is an advantage that the photographing data restoration process can be shortened.

また、フラッシュ代替記録を用いれば、バッファ蓄積量の制御アルゴリズムの複雑さにより、事前に検出不可能な予期せぬ事態が発生した場合でも、バッファメモリのオーバーフローを制御アルゴリズムとは別ソフトで検出して、撮影の途切れを防止できることも期待できる。   In addition, if the flash alternative recording is used, even if an unexpected situation that cannot be detected in advance occurs due to the complexity of the buffer storage control algorithm, the buffer memory overflow is detected separately from the control algorithm. Therefore, it can be expected that the interruption of shooting can be prevented.

また、記録不可能と判定で振動要因として、フォーカスエラー信号やトラッキングキングエラー信号が乱れを検出してもよい。特に振動がなく、フォーカスエラー信号やトラッキングキングエラー信号が乱れる場合は、光ディスクの欠陥などの要因が考えられるので、撮影データ修復時にその位置での信号を再度確認して、ディフェクトと考えられる場合は、AVストリームのデータ配置規則の範囲内で記録位置を変えてもよい。この場合、すでに光ディスクに記録されているAVストリームの記録位置を変更する必要もありうる。   Further, disturbance may be detected in the focus error signal or tracking king error signal as a vibration factor when it is determined that recording is impossible. If there is no vibration and the focus error signal or tracking king error signal is disturbed, there may be a cause such as a defect on the optical disc. The recording position may be changed within the range of the data arrangement rule of the AV stream. In this case, it may be necessary to change the recording position of the AV stream already recorded on the optical disc.

また、記録不可能と判定で電池要因のときには、電池の残量を充放電経過などから測定する手段を設けて電池の残量不足を判定してもよい。   Further, when it is determined that recording is impossible and the battery factor is used, it is possible to provide a means for measuring the remaining amount of the battery from the charge / discharge progress or the like to determine whether the remaining amount of the battery is insufficient.

また、本実施の形態において、フラッシュ代替記録が発生したときには、本来記録すべき光ディスク上の場所を空けておき、回復後はその次からAVストリームを記録するようにしたが、光ディスク上の記録位置は、AVストリームのデータ配置規則が守れれば、記録位置を変更してもよい。   Further, in this embodiment, when a flash alternative recording occurs, a place on the optical disk to be originally recorded is made empty and the AV stream is recorded after the recovery. If the data arrangement rule of the AV stream can be observed, the recording position may be changed.

本発明にかかる光ディスク・ビデオカメラにおける代替記録は、過酷な環境で使用する光ディスク・ビデオカメラ等として有用である。また光ディスク・オーディオレコーダや光ディスク装置を備えたPDAなどポータブル機器などで連続データ記録する用途にも応用できる。   The alternative recording in the optical disc / video camera according to the present invention is useful as an optical disc / video camera used in a harsh environment. It can also be applied to continuous data recording with portable devices such as an optical disk / audio recorder and a PDA equipped with an optical disk device.

本発明の実施の形態1における光ディスク・ビデオカメラのブロック図1 is a block diagram of an optical disk / video camera according to Embodiment 1 of the present invention. 光ディスク上のAVストリームのデータ配置図Data arrangement diagram of AV stream on optical disc 再生時のバッファメモリ蓄積量の制御を説明するタイミング図Timing chart explaining control of buffer memory storage amount during playback 録再制御部の制御フローチャート(1/2)Control flow chart of recording / playback control unit (1/2) 録再制御部の制御フローチャート(2/2)Control flow chart of recording / playback control unit (2/2) 撮影時のバッファメモリ蓄積量の制御を説明するタイミング図Timing chart explaining the control of buffer memory storage during shooting メモリ制御を説明するためブロック図Block diagram to explain memory control バッファメモリ使い方を説明する説明図Explanatory drawing explaining how to use buffer memory モニタ上の表示例を説明する説明図Explanatory drawing explaining the display example on the monitor ロック機構の構成図Configuration diagram of lock mechanism

符号の説明Explanation of symbols

100 光ディスク装置
101 ビデオカメラ部
102 圧縮部
103 光ディスク
104 伸張部
105 モニタ部
106 スイッチ
107 録再制御部(記録制御手段)
108 バッファメモリ
109 シリアルEEPROM
110 フラッシュメモリ(不揮発メモリ)
111 フラッシュメモリカード(不揮発メモリ)
112 フラッシュメモリカードのロック機構
113 記録可否判定部
114 電池の電圧検出器
1001 モータ
1002 光ヘッド
1003 半導体レーザの温度センサ
1004 ローディング機構
1005 光ディスク・カートリッジのロック機構
1006 シャーシ
1007 加速度センサ
1008 光ディスク制御部
1009 トラックバッファ
107A 録画制御部のアプリ層ソフトウエア
107B 光ディスク用ファイルシステム
107C フラッシュメモリ用ファイルシステム
107D 交代処理
107E ECC
1008A 交代処理
1008B ECC
MNG AVストリーム管理情報
RS1,RS2,RS3,RS4 AVストリーム片
DESCRIPTION OF SYMBOLS 100 Optical disk apparatus 101 Video camera part 102 Compression part 103 Optical disk 104 Expansion part 105 Monitor part 106 Switch 107 Recording / playback control part (Recording control means)
108 Buffer memory 109 Serial EEPROM
110 Flash memory (nonvolatile memory)
111 Flash memory card (nonvolatile memory)
DESCRIPTION OF SYMBOLS 112 Flash memory card lock mechanism 113 Recordability determination part 114 Battery voltage detector 1001 Motor 1002 Optical head 1003 Semiconductor laser temperature sensor 1004 Loading mechanism 1005 Optical disk cartridge lock mechanism 1006 Chassis 1007 Acceleration sensor 1008 Optical disk control unit 1009 Track Buffer 107A Recording layer control unit application software 107B Optical disk file system 107C Flash memory file system 107D Replacement processing 107E ECC
1008A Replacement processing 1008B ECC
MNG AV stream management information RS1, RS2, RS3, RS4 AV stream fragment

Claims (16)

撮影指令を受けて、ビデオカメラ部で入力した映像・音声情報を圧縮しさらにAVストリームに変換し、前記AVストリームをバッファメモリに一旦蓄積し、光ディスクの所定位置に記録すべき撮影データとして光ディスク装置に間欠的に出力し、前記光ディスクの所定位置に前記撮影データを記録する光ディスク・ビデオカメラであって、前記光ディスク・ビデオカメラは、
不揮発性メモリと、
前記光ディスク装置の記録が可能か不可能かどうかを判定する判定手段と、
前記判定手段によって前記光ディスク装置が記録不可能と判定された期間は、前記光ディスクへの記録を停止するとともに記録すべき前記撮影データを前記不揮発メモリに代替記録する記録制御手段と、
を備えた光ディスク・ビデオカメラ。
In response to a shooting command, the video / audio information input by the video camera unit is compressed and further converted into an AV stream, the AV stream is temporarily stored in a buffer memory, and is recorded as shooting data to be recorded at a predetermined position on the optical disk. Is an optical disc video camera that intermittently outputs and records the shooting data at a predetermined position of the optical disc, the optical disc video camera comprising:
Non-volatile memory;
A determination means for determining whether or not recording of the optical disc device is possible;
A recording control unit that stops recording on the optical disc and records the photographic data to be recorded in the nonvolatile memory during a period in which the optical disc apparatus is determined to be unrecordable by the determination unit;
Optical disc video camera equipped with
前記記録制御手段はさらに、前記光ディスク装置が前記判定手段によって記録可能と判定された場合には、前記代替記録した撮影データを前記光ディスクの本来の位置に記録することにより撮影データ修復を行う、
請求項1に記載の光ディスク・ビデオカメラ。
The recording control means further performs photographic data restoration by recording the substitute recorded photographic data at an original position of the optical disk when the optical disk device is determined to be recordable by the determining means.
The optical disk / video camera according to claim 1.
前記判定手段は、前記光ディスク装置に加わる振動を検出する手段を備え、前記振動によりサーボ制御誤差などが記録保証範囲を超えるときには記録不可能と判定する、
請求項1に記載の光ディスク・ビデオカメラ。
The determination means includes means for detecting vibration applied to the optical disc apparatus, and determines that recording is impossible when a servo control error or the like exceeds a recording guarantee range due to the vibration.
The optical disk / video camera according to claim 1.
前記判定手段は、前記光ディスク装置に内蔵する光ヘッド部の半導体レーザの温度を検出する手段を備え、前記温度が前記半導体レーザの動作保証範囲を超えるときには記録不可能と判定する、
請求項1に記載の光ディスク・ビデオカメラ。
The determination means includes means for detecting the temperature of the semiconductor laser of the optical head unit built in the optical disc apparatus, and determines that recording is impossible when the temperature exceeds the guaranteed operating range of the semiconductor laser.
The optical disk / video camera according to claim 1.
前記判定手段は、光ディスク装置への電源供給が不十分となる電池の残量あるいは電圧を検出する手段を備え、前記電源供給が不十分な値のときには記録不可能と判定する、
請求項1に記載の光ディスク・ビデオカメラ。
The determination means includes means for detecting a remaining battery level or voltage at which power supply to the optical disc apparatus is insufficient, and determines that recording is impossible when the power supply is an insufficient value.
The optical disk / video camera according to claim 1.
前記判定手段は、前記光ディスクの記録領域の有無を判定する手段を備え、前記記録領域がなくなったときには記録不可能と判定する、
請求項1に記載の光ディスク・ビデオカメラ。
The determination means includes means for determining the presence or absence of a recording area of the optical disc, and determines that recording is impossible when the recording area runs out;
The optical disk / video camera according to claim 1.
前記判定手段は、前記光ディスク装置の故障を検出する手段を備え、前記光ディスク装置が故障のときには記録不可能と判定する、
請求項1に記載の光ディスク・ビデオカメラ。
The determination means includes means for detecting a failure of the optical disk device, and determines that recording is impossible when the optical disk device is in failure;
The optical disk / video camera according to claim 1.
前記代替記録の期間は、代替記録されていることを表示する表示手段をさらに備える、
請求項1に記載の光ディスク・ビデオカメラ。
The alternative recording period further includes display means for displaying that the alternative recording is performed.
The optical disk / video camera according to claim 1.
前記記録制御手段はさらに、前記代替記録中は前記バッファメモリがオーバーフローしない範囲で蓄積量が多くなるように制御する手段を備え、前記光ディスク装置が再び記録可能になったときには、前記光ディスクに記録する撮影データ量を増やし、前記不揮発性メモリに代替記録するデータ量を減らす、
請求項1記載の光ディスク・ビデオカメラ。
The recording control means further comprises means for controlling the storage amount to increase within a range in which the buffer memory does not overflow during the alternative recording, and when the optical disc apparatus becomes recordable again, the recording is recorded on the optical disc. Increase the amount of shooting data and reduce the amount of data to be recorded in the non-volatile memory.
The optical disk / video camera according to claim 1.
前記代替記録の発生から前記撮影データ修復が完了するまでの期間は、撮影データ修復が未完了であることを表示する表示手段をさらに備える、
請求項2に記載の光ディスク・ビデオカメラ。
The period from the occurrence of the alternative recording to the completion of the photographing data restoration further includes display means for displaying that the photographing data restoration is incomplete.
The optical disc / video camera according to claim 2.
前記撮影データ修復が完了しないうちに、前記光ディスクに対する読み出し要求があったときには、前記撮影データ修復が完了したと仮定した応答をする再生手段をさらに備える、
請求項2に記載の光ディスク・ビデオカメラ。
When there is a read request for the optical disc before the photographing data restoration is completed, the reproduction device further includes a reproducing unit that makes a response assuming that the photographing data restoration is completed.
The optical disc / video camera according to claim 2.
不揮発性メモリは、フラッシュメモリなどで構成された外付けのメモリカードを含む、
請求項1に記載の光ディスク・ビデオカメラ。
Non-volatile memory includes an external memory card composed of flash memory, etc.
The optical disk / video camera according to claim 1.
前記記録制御手段はさらに、前記光ディスクおよび前記メモリカードが装着された撮影前の時点で、前記メモリカード内のユーザデータを前記光ディスクに記録し、その後に前記メモリカードのユーザデータを消去し、すぐに前記代替記録できる領域を準備するとともに、前記光ディスクまたは前記外付けメモリカードを取り外すときには、前記ユーザデータを前記メモリカードに書き戻してユーザデータ復元をする手段を備える、
請求項12に記載の光ディスク・ビデオカメラ。
The recording control means further records the user data in the memory card on the optical disc at a time before shooting when the optical disc and the memory card are mounted, and then erases the user data on the memory card. And a means for restoring the user data by writing the user data back to the memory card when the optical disc or the external memory card is removed.
The optical disk video camera according to claim 12.
前記記録制御手段はさらに、録画開始後に、前記撮影データ記録の合間に前記メモリカード内のユーザデータを所定量ずつ順次前記光ディスクに記録するとともに、前記光ディスクに移したユーザデータの領域を消去して、すぐに前記代替記録できる領域を順次確保するとともに、録画終了後、前記撮影データ修復とともに前記光ディスクに移した前記ユーザデータを前記メモリカードに書き戻してユーザデータ復元をする手段を備える、
請求項12に記載の光ディスク・ビデオカメラ。
The recording control means further records the user data in the memory card in sequence on the optical disc in a predetermined amount between the shooting data recording after starting the recording, and erases the user data area transferred to the optical disc. , In addition to sequentially securing the area where the alternative recording can be performed, and comprising means for restoring the user data by rewriting the user data transferred to the optical disk along with the photographing data restoration after the recording is completed,
The optical disk video camera according to claim 12.
前記ユーザデータ復元が完了しないうちは、前記光ディスクおよび前記メモリカードを取り外しできないようにするロック手段と、およびロックされていることを表示する手段をさらに備える、
請求項13または14に記載の光ディスク・ビデオカメラ。
A lock means for preventing the optical disk and the memory card from being removed before the user data restoration is completed, and a means for indicating that the optical disk and the memory card are locked.
The optical disk video camera according to claim 13 or 14.
前記ユーザデータが前記光ディスクに移されて記録されていることを表示する表示手段をさらに備える、
請求項13または14に記載の光ディスク・ビデオカメラ。
Further comprising display means for displaying that the user data is transferred to the optical disc and recorded.
The optical disk video camera according to claim 13 or 14.
JP2003408595A 2003-12-08 2003-12-08 Optical disc video camera Pending JP2005175567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003408595A JP2005175567A (en) 2003-12-08 2003-12-08 Optical disc video camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003408595A JP2005175567A (en) 2003-12-08 2003-12-08 Optical disc video camera

Publications (1)

Publication Number Publication Date
JP2005175567A true JP2005175567A (en) 2005-06-30

Family

ID=34730227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003408595A Pending JP2005175567A (en) 2003-12-08 2003-12-08 Optical disc video camera

Country Status (1)

Country Link
JP (1) JP2005175567A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008034069A (en) * 2006-07-31 2008-02-14 Toshiba Corp Magnetic disk system and its control method
JP2011076662A (en) * 2009-09-30 2011-04-14 Mitsubishi Electric Corp Information recording device
JP2011076657A (en) * 2009-09-30 2011-04-14 Mitsubishi Electric Corp Information recording device
WO2022180905A1 (en) * 2021-02-25 2022-09-01 パナソニックIpマネジメント株式会社 Data recording system and method for controlling data recording system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008034069A (en) * 2006-07-31 2008-02-14 Toshiba Corp Magnetic disk system and its control method
JP2011076662A (en) * 2009-09-30 2011-04-14 Mitsubishi Electric Corp Information recording device
JP2011076657A (en) * 2009-09-30 2011-04-14 Mitsubishi Electric Corp Information recording device
WO2022180905A1 (en) * 2021-02-25 2022-09-01 パナソニックIpマネジメント株式会社 Data recording system and method for controlling data recording system

Similar Documents

Publication Publication Date Title
US8068397B2 (en) Recording apparatus and recording method for recording position information of user data
US20060117241A1 (en) Method and apparatus for managing disc defects
EP1439541B1 (en) Apparatus, program and method for, upon a write error detection while writing in an optical disk, buffering of real time broadcast video data on the HDD in a digital video recorder.
US8223599B2 (en) Information recording/reproduction apparatus, information recording method and information recording medium
JP2005175567A (en) Optical disc video camera
US20050276180A1 (en) Data processing apparatus
JP4333716B2 (en) Information recording device
JP2012160245A (en) Information recording and reproducing device and information recording and reproducing method
US8218947B2 (en) Video data recording apparatus and method, and video data reproducing apparatus and method
JP4750675B2 (en) Recording / playback device
JP2008171484A (en) Information recording/reproducing device
US7756399B2 (en) Safe recovery in DVD recordable/rewritable realtime recording
US20070253683A1 (en) Information recording apparatus
JP2004241104A (en) Digital video recorder, its driving method, and program
JP2008269726A (en) Recording and reproducing device
JP2000307987A (en) Video/audio recording and reproducing device
JP2005302225A (en) Optical disk recorder
US20090162034A1 (en) Information recording/reproducing apparatus and method for recording/reproducing information
JP2009163788A (en) Information recording and reproducing device, and information recording method
KR100536698B1 (en) Method for continuously recoding in a vcr/dvd combo system
US20090003154A1 (en) Information recording/reproducing apparatus
JP4853547B2 (en) Recording apparatus and recording method
KR101059848B1 (en) Power status display device and method of external connection device
JP2003259270A (en) Data recorder, image recorder, and data recording method
JP4596074B2 (en) Information recording device