JP2006319988A - Image recording and reproducing apparatus - Google Patents

Image recording and reproducing apparatus Download PDF

Info

Publication number
JP2006319988A
JP2006319988A JP2006139691A JP2006139691A JP2006319988A JP 2006319988 A JP2006319988 A JP 2006319988A JP 2006139691 A JP2006139691 A JP 2006139691A JP 2006139691 A JP2006139691 A JP 2006139691A JP 2006319988 A JP2006319988 A JP 2006319988A
Authority
JP
Japan
Prior art keywords
recording
image
power
recorded
signal
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
JP2006139691A
Other languages
Japanese (ja)
Inventor
Noriyuki Iura
則行 井浦
Junji Shiokawa
淳司 塩川
Keiji Nagayama
啓治 長山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2006139691A priority Critical patent/JP2006319988A/en
Publication of JP2006319988A publication Critical patent/JP2006319988A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique of minimizing destruction of a recorded image even on the occurrence of problems such as a deficient battery capacity and power SW interruption caused by a user's erroneous operation because there is a possibility of destructing even signals having been recorded before the moment of occurrence of an accident if the unforeseen accident takes place during image recording operations and the recording operations are interrupted without taking the procedure of normal recording operation ending. <P>SOLUTION: When data are recorded onto a recording medium of a recording section 104 during photographing, the power of an image recording and reproducing apparatus is not turned off until a prescribed ending operation is finished. When the residual recording capacity of the recording medium reaches a prescribed capacity or below during the photographing, the photographing is automatically stopped and the prescribed recording ending operation is carried out. If a user interrupts power erroneously during photographing (recording) and when the recording operation is interrupted without taking the prescribed recording ending operation, a prescribed file is corrected so that at least data before the power 107 is interrupted are processed as effective data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は画像の記録、再生装置に係り、特に記録中の画像データの保護の方法に関する。   The present invention relates to an image recording / reproducing apparatus, and more particularly to a method for protecting image data during recording.

従来、画像の記録、再生装置は、アナログ記録であるVHS方式、あるいは8mm方式のビデオカメラ、ビデオデッキが一般的であった。しかし近年、画像圧縮技術の進歩により、ディジタルビデオカメラも製品化されている。上記機器は、いずれもヘリカルスキャン方式で磁気テープに画像を記録する。VHS、8mmの両方式は、磁気記録面の1トラックに1フィールドの映像信号を記録する。ディジタルビデオカメラの記録方法も、同じくヘリカルスキャン方式であるが、撮像した画像をフレーム内符号化し、圧縮処理した信号を磁気テープに10トラックに分けて記録する。なお、ディジタルビデオカメラの信号記録法方に関しては、玄光社刊行の「ビデオサロン」1996年6月号の62〜63頁に記載されている。また、最近普及が進む電子スチルカメラも新しい画像記録再生装置として、近年、ハードディスクなどの記録装置の大容量化、小型化が進み携帯機器向けに多数製品化されている。例えば、コダック社から発売されているディジタルスチルカメラDCS460は、画像の記録媒体にPCMCIA−ATA、TypeIII準拠のハードディスクを用いている。また、静止画像だけでなく、MPEG1を用いて動画像を圧縮し、画像データをPCMCIA−ATA、TypeIII準拠のハードディスクに記録するビデオカメラも製品化予定が報告されている。上記PCMCIAカード型ハードディスクは、近年市場に出回っているノート型パーソナルコンピュータ(以下ノートPC)が装備しているPCMCIAスロットに差し込めば、ノートPCで直接データの読み書きが出来る。(マイクロソフト社の登録商標であるMS−DOSフォーマットされている場合)また、近年低価格化と大容量化が進むフラッシュメモリカードも、ディジタルスチスカメラ等の機器の記録媒体として盛んに用いられている。   Conventionally, image recording / reproducing apparatuses are generally VHS system which is analog recording, or an 8 mm system video camera or video deck. However, in recent years, digital video cameras have been commercialized due to the progress of image compression technology. Each of the above devices records an image on a magnetic tape by a helical scan method. In both VHS and 8 mm systems, one field of video signal is recorded on one track of the magnetic recording surface. The recording method of the digital video camera is also the helical scan method, but the captured image is encoded in the frame, and the compressed signal is recorded on the magnetic tape in 10 tracks. The signal recording method of the digital video camera is described on pages 62 to 63 of the June 1996 issue of “Video Salon” published by Genkosha. In addition, electronic still cameras that have recently become widespread are also new image recording / playback apparatuses, and in recent years, recording apparatuses such as hard disks have been increased in capacity and size, and have been commercialized for portable devices. For example, a digital still camera DCS460 released from Kodak Company uses a hard disk conforming to PCMCIA-ATA and Type III as an image recording medium. In addition to still images, a video camera that compresses moving images using MPEG1 and records the image data on a hard disk compliant with PCMCIA-ATA and Type III has been reported to be commercialized. When the PCMCIA card type hard disk is inserted into a PCMCIA slot provided in a notebook personal computer (hereinafter referred to as a notebook PC) on the market in recent years, data can be directly read / written by the notebook PC. (In the case of MS-DOS format, which is a registered trademark of Microsoft Corporation) In addition, flash memory cards, which have recently been reduced in price and increased in capacity, are also actively used as recording media for devices such as digital still cameras. Yes.

上記したように、VHS方式や8mm方式、若しくはディジタルビデオカメラの場合、撮影の途中で故意に電源を切断しても、映像信号が破壊されるのは電源を切断した最後の1フィールドないし1フレーム分だけである。言い換えると、今まで撮影した分の情報が失われることはない(テープの絡みつき等の障害が起こらなかった場合)。   As described above, in the case of the VHS system, 8 mm system, or digital video camera, even if the power is intentionally turned off during shooting, the video signal is destroyed in the last one field to one frame after the power is turned off. Only minutes. In other words, the information that has been taken so far is not lost (when no trouble such as tape entanglement occurs).

しかし、記録媒体にハードディスクやフラッシュメモリを用いて、記録データの管理をMS−DOSに準拠した方法で行っている場合、データの記録開始、終了は、必ず所定動作に基づいて行われなければならない。もし、データ書き込み中に電源を切断すると、現在記録中のデータ(同一ファイルの全てのデータ)が破壊されてしまう。(上記テープ記
録と同様に、ハードディスクの物理的障害は発生しなかった場合)パーソナルコンピュータ(以下PC)を例に挙げれば、ハードディスクアクセス中は電源を切ってはいけない事が、明確に表示されている。ところで、ディジタルスチルカメラ等は、主に電源に電池を用いており、撮影の途中で電池の容量が減少し、電源が切れてしまったり、誤って電池を抜き取ってしまったり、といった事態が起こりうる。また、電池の残量だけでなく、記録媒体の記録残量も同様であり、残量が0になる以前に正規の終了動作をしなければ、現在記録中のデータが失われてしまう。
However, when recording data is managed by a method compliant with MS-DOS using a hard disk or flash memory as a recording medium, data recording start and end must be performed based on a predetermined operation. . If the power is turned off while writing data, the data currently being recorded (all data in the same file) will be destroyed. (Similar to the above tape recording, when there is no physical failure of the hard disk) If you take a personal computer (PC) as an example, it is clearly displayed that you must not turn off the power while accessing the hard disk. Yes. By the way, digital still cameras, etc., mainly use batteries as their power source, and the battery capacity may decrease during shooting, causing the power to be turned off or accidentally removing the battery. . Further, not only the remaining amount of battery but also the remaining amount of recording on the recording medium is the same. If the normal end operation is not performed before the remaining amount becomes zero, the data currently being recorded will be lost.

本発明では、上記した問題を解決する為に、
1.撮影中であり、記録媒体にデータを記録中の場合は、電源SWを切っても所定の終了動作が終了するまで装置の電源を切らない。
2.撮影中、記録媒体の記録残量が所定値以下になった場合は、自動的に撮影を中止し、所定の記録終了動作を行う。
3.撮影(記録)中に誤って電源を切断してしまって、所定の記録終了動作をせずに記録動作を中断してしまった場合は、所定のファイル修復動作を行い少なくとも電源を切断される前のデータを有効なデータとして取り扱えるようにする。
In the present invention, in order to solve the above problems,
1. When photographing is being performed and data is being recorded on the recording medium, the apparatus is not turned off until a predetermined end operation is completed even if the power is turned off.
2. If the remaining recording capacity of the recording medium falls below a predetermined value during shooting, shooting is automatically stopped and a predetermined recording end operation is performed.
3. If you accidentally cut off the power during shooting (recording) and interrupted the recording operation without performing the predetermined recording end operation, perform the predetermined file recovery operation and at least before turning off the power Can be handled as valid data.

以上のように、本発明によれば、画像記録中に誤って電源SWを切ったり、バッテリが無くなったり、記録メディアの記録残量が無くなったり、誤ってバッテリを抜いてしまっても、撮像した画像の破壊を最小限度にとどめることが出来るので、携帯型の、特にバッテリを電源とする画像記録再生装置において、使い勝手の良い好適な画像記録再生装置を提供することが出来る。   As described above, according to the present invention, even if the power SW is accidentally turned off during image recording, the battery is exhausted, the recording medium has no remaining recording capacity, or the battery is accidentally removed, the image is taken. Since the destruction of the image can be minimized, it is possible to provide a suitable image recording / reproducing apparatus that is easy to use in a portable image recording / reproducing apparatus that uses a battery as a power source.

以下、本発明を図を用いて説明する。   Hereinafter, the present invention will be described with reference to the drawings.

図1は本発明の第1の実施の形態に係る画像記録再生装置の構成図である。同図において、101は撮像部、102は画像圧縮伸長処理部、103はシステムコントローラ、104は記録部、105は電源開閉器、106は電源SW、107は電池や電源アダプタ等で構成された電源部、108は各部に電源を供給する電源配線、109は各部を電気的に接続し、ディジタルの信号をやりとりする信号線、110は録画スタートストップボタン、111は撮像部101及び画像圧縮伸長処理部102から供給されるディジタル映像信号をアナログ信号に変換し、例えばNTSC方式等の標準TV方式に変換して、図示しないモニタに出力する映像信号変換部である。   FIG. 1 is a block diagram of an image recording / reproducing apparatus according to the first embodiment of the present invention. In the figure, 101 is an imaging unit, 102 is an image compression / decompression processing unit, 103 is a system controller, 104 is a recording unit, 105 is a power switch, 106 is a power switch, 107 is a power source configured by a battery, a power adapter, and the like. , 108 is a power supply wiring for supplying power to each unit, 109 is a signal line for electrically connecting each unit and exchanging digital signals, 110 is a recording start / stop button, 111 is an imaging unit 101 and an image compression / decompression processing unit This is a video signal converter that converts the digital video signal supplied from 102 into an analog signal, converts it into a standard TV system such as the NTSC system, and outputs it to a monitor (not shown).

なお、以下画像圧縮伸長処理回路102は、MPEG1方式で画像を圧縮、伸長するものとして説明するが、画像の圧縮方法に関しては、他の方式を用いても良いことは言うまでもない。また、記録部104は、マイクロソフト社の登録商標である、公知のMS−DOS準拠のファイル管理システムを用いて記録するデータを管理するものとして説明するが、ファイルの管理方法は、他の方式を用いても良いことは言うまでもない。   In the following description, the image compression / decompression processing circuit 102 is described as compressing / decompressing an image using the MPEG1 method. However, it goes without saying that other methods may be used as the image compression method. The recording unit 104 is described as managing data to be recorded using a well-known MS-DOS compliant file management system, which is a registered trademark of Microsoft Corporation. Needless to say, it may be used.

まず、図1を用いて、画像を記録する動作を説明する。システムコントローラ103は、電源部107が電源を供給できる状態にあるとき、常に電源が供給され、電源SW106の状態を監視している。電源SW106が操作され、電源ONの状態になったら、システムコントローラ103は、電源開閉器105を操作し、電源部107と電源配線108を電気的に接続し、電源配線108に接続された各部に電源を供給する。この状態を電源ONの状態とする。上記電源ONの状態の動作流れ図を図2に示す。   First, an operation for recording an image will be described with reference to FIG. When the power supply unit 107 is in a state where it can supply power, the system controller 103 is always supplied with power and monitors the state of the power SW 106. When the power supply SW 106 is operated and the power supply is turned on, the system controller 103 operates the power supply switch 105 to electrically connect the power supply unit 107 and the power supply wiring 108 to each part connected to the power supply wiring 108. Supply power. This state is the power ON state. FIG. 2 shows an operational flowchart of the power ON state.

上記電源ONの状態の時、録画スタートストップボタン110を一度操作すると、画像圧縮伸長処理部102は、撮像部101から供給される映像信号をMPEG1方式で画像圧縮処理する。画像圧縮伸長処理部102で圧縮された信号は、システムコントローラ103に供給され、システムコントローラ103が制御する記録部104に記録される。なお、記録部104に信号を書き始めるに当たって、MS−DOS準拠のファイル管理方式の場合、ディレクトリにファイル名とファイルサイズを記述する必要がある。したがって、システムコントローラ103は、画像圧縮伸長処理部102から供給される信号を記録部104に出力する前に記録部104に対してディレクトリに任意のファイル名を記述させる。なお、MS−DOSのFATを用いたデータ(ファイル)管理方法は、例えば秀和システム社の「はじめてのハードディスク新改訂版」の100頁から108頁に記載されている。上記ディレクトリに対してファイル名を記述した後は、実際の画像データを記録するわけであるが、書き込むデータの位置を管理するため、FATを用いる。システムコントローラ103は、記録部104内の特定領域に書かれたFATを読みとり、空きセクタを探し、空きセクタに対して圧縮画像データの書き込みを行う。なお、MS−DOS準拠のファイル管理方法は、公知のものであり、上記文献や、その他多数の文献に詳しく記載されているので、その説明を省略する。記録部104は、例えばハードディスク、光磁気ディスク、フラッシュメモリ等で構成されており、上記記録部104に用いた記録媒体はあくまで一例として挙げたものであり、これに限定されることはない。なお、上記記録部104に映像信号を記録している動作状態を記録の状態という。上記電源ONの状態以降の記録の状態の動作流れ図を図3に示す。   When the recording start / stop button 110 is operated once when the power is on, the image compression / decompression processing unit 102 performs image compression processing on the video signal supplied from the imaging unit 101 by the MPEG1 method. The signal compressed by the image compression / decompression processing unit 102 is supplied to the system controller 103 and recorded in the recording unit 104 controlled by the system controller 103. When starting to write a signal to the recording unit 104, it is necessary to describe the file name and the file size in the directory in the case of the file management method compliant with MS-DOS. Therefore, the system controller 103 causes the recording unit 104 to describe an arbitrary file name in the directory before outputting the signal supplied from the image compression / decompression processing unit 102 to the recording unit 104. Note that a data (file) management method using the FAT of MS-DOS is described, for example, on pages 100 to 108 of “First revision of hard disk” of Hidekazu System. After the file name is described in the directory, actual image data is recorded, but FAT is used to manage the position of data to be written. The system controller 103 reads the FAT written in a specific area in the recording unit 104, searches for a free sector, and writes compressed image data to the free sector. Note that the MS-DOS-compliant file management method is a well-known method and is described in detail in the above-mentioned document and many other documents, and thus the description thereof is omitted. The recording unit 104 includes, for example, a hard disk, a magneto-optical disk, a flash memory, and the like, and the recording medium used for the recording unit 104 is merely an example and is not limited thereto. The operation state in which the video signal is recorded in the recording unit 104 is referred to as a recording state. FIG. 3 shows an operation flowchart of the recording state after the power-on state.

ところで、複数の画像データを記録部104に記録するとき、各々のデータの管理をしなければならない。これも、PCを例に挙げると、ファイルを作成した日時、ファイルの名前、ファイルの容量等を管理している。   By the way, when a plurality of image data are recorded in the recording unit 104, each data must be managed. In this case, too, taking a PC as an example, it manages the date and time when the file was created, the file name, the file capacity, and the like.

次に、録画スタートストップボタン110をもう一度操作すると、システムコントローラ103は、現在撮像中のフレーム画像以降の圧縮を止め、MPEG1データの終了コードを圧縮データに付加し圧縮画像データを記録部104に出力する。なお、圧縮動作の終了は、現在処理しているGOPが終了するまで待っていても良い。システムコントローラ103は、記録部104に対して上記終了コードを書き込んだら、FATに対して終了コードを記入して、ディレクトリにファイルサイズと、ファイル作成日時、ファイルの先頭を示すFAT番号を書き込んでファイルをクローズする。上記記録の状態から、記録動作を終了するまでの動作流れ図を図4に示す。なお、MPEG1方式のデータの形に関しては、株式会社アスキーの「最新MPEG教科書」98頁から101頁に記載されている。   Next, when the recording start / stop button 110 is operated again, the system controller 103 stops the compression after the currently captured frame image, adds the end code of the MPEG1 data to the compressed data, and outputs the compressed image data to the recording unit 104. To do. Note that the end of the compression operation may be waited until the currently processed GOP ends. When the system controller 103 writes the end code in the recording unit 104, the system controller 103 writes the end code in the FAT, writes the file size, the file creation date and time, and the FAT number indicating the beginning of the file in the directory. Close. FIG. 4 shows an operation flowchart from the recording state to the end of the recording operation. The data format of the MPEG1 system is described on pages 98 to 101 of “Latest MPEG Textbook” of ASCII Corporation.

次に、装置の電源を切る動作を説明する。電源SW106が操作され、電源切るが選択されると、システムコントローラ103は電源開閉器105を制御し、電源部107と電源配線108を電気的に切り放し、電源配線108に接続された各部への電源を遮断する。この状態を電源OFFの状態とする。上記電源を切る動作の動作流れ図を図5に示す。   Next, an operation for turning off the power of the apparatus will be described. When the power supply SW 106 is operated and power off is selected, the system controller 103 controls the power switch 105, electrically disconnects the power supply unit 107 and the power supply wiring 108, and supplies power to each unit connected to the power supply wiring 108. Shut off. This state is a power-off state. FIG. 5 shows an operational flowchart of the operation for turning off the power.

ところで、画像の記録中、若しくは記録動作を終了する図4に示した記録終了の動作を行っている最中に、電源配線108に接続された各部への電源供給が遮断されると、今まで記録したデータが失われてしまう。記録されたデータは記録部104内に残っているが、先頭のFATがディレクトリに対して記入されていない状態や、FATに終了コードを記入していないと、正常なファイルとして取り扱うことが出来ない。上記問題を回避するため、システムコントローラ103は、電源SW106を操作して、装置の電源を切る状態を選択しても、上記図4に示す動作が完全に終了するまでは、電源開閉器105を操作しない。つまり、上記図4に示した動作が完全に終了するまでは、電源部107と電源配線108に接続された各部との電気的接続を保ち続け、システムコントローラ103は、上記図4に示す動作が終了した後、上記図5に示す電源OFFの動作を行う。また、装置全体の動作流れの一例を図6に示す。   By the way, when the power supply to each part connected to the power supply wiring 108 is cut off during the image recording or during the recording end operation shown in FIG. The recorded data will be lost. The recorded data remains in the recording unit 104, but cannot be handled as a normal file if the first FAT is not entered in the directory or if an end code is not entered in the FAT. . In order to avoid the above problem, the system controller 103 operates the power supply SW 106 to select the state in which the apparatus is turned off, but until the operation shown in FIG. Do not operate. That is, until the operation shown in FIG. 4 is completely completed, the electrical connection between the power supply unit 107 and each unit connected to the power supply wiring 108 is maintained, and the system controller 103 performs the operation shown in FIG. After the completion, the power-off operation shown in FIG. 5 is performed. An example of the operation flow of the entire apparatus is shown in FIG.

次に、本発明の第2の実施の形態を図を用いて説明する。   Next, a second embodiment of the present invention will be described with reference to the drawings.

なお、本実施の形態の動作、及び構成は、上記第1の実施の形態と共通する部分があり、重複する部分は同一の番号で記入しの説明は省略する。   Note that the operation and configuration of the present embodiment have parts in common with those of the first embodiment, and duplicated parts are denoted by the same reference numerals and description thereof is omitted.

図7は、本発明の第2の実施の形態に係る画像記録再生装置の構成図である。同図において、703はシステムコントローラ、707はバッテリであり、システムコントローラ703は、バッテリ707の残量を認識する手段を有している。バッテリ707の残量を認識する手段としては、例えばバッテリ707がニッケルカドミウム電池だった場合、バッテリ707の電圧を測定すれば、おおよその残量を認識することが出来る。また、近頃リチウムイオン電池も盛んに使われており、リチウムイオン電池の場合は、現在の端子電圧、累積消費電力量、等の値を基にしてさらにきめの細かい残量認識が可能である。なお、本実施の形態においては、バッテリ707はニッケルカドミウム電池を用いているものとして説明するが、所望の電圧、電流が取り出せる電池であれば、どのような電池を用いても良い。   FIG. 7 is a block diagram of an image recording / reproducing apparatus according to the second embodiment of the present invention. In the figure, reference numeral 703 denotes a system controller, reference numeral 707 denotes a battery, and the system controller 703 has means for recognizing the remaining amount of the battery 707. As means for recognizing the remaining amount of the battery 707, for example, when the battery 707 is a nickel cadmium battery, the approximate remaining amount can be recognized by measuring the voltage of the battery 707. Recently, lithium ion batteries are also actively used. In the case of lithium ion batteries, the remaining amount can be recognized more finely based on the current terminal voltage, accumulated power consumption, and the like. Note that although the battery 707 is described as a nickel cadmium battery in this embodiment, any battery may be used as long as a desired voltage and current can be extracted.

本実施の形態において、画像記録再生装置の動作は、上記図2、図3、図4、図5に示した動作の流れは同一である。ただし、システムコントローラ703は、バッテリ707の供給電圧を監視しており、バッテリ707の電圧が所定の電圧よりも低くなったら、上記図4に示した動作を行い、記録動作を終了し、その後、上記図5に示す動作を行い装置の電源を切る。なお、本実施の形態の全体の動作流れの一例を図8に示す。   In the present embodiment, the operation of the image recording / reproducing apparatus is the same as that shown in FIGS. 2, 3, 4, and 5. However, the system controller 703 monitors the supply voltage of the battery 707. When the voltage of the battery 707 becomes lower than a predetermined voltage, the system controller 703 performs the operation shown in FIG. 4 and ends the recording operation. The operation shown in FIG. 5 is performed to turn off the apparatus. An example of the overall operation flow of this embodiment is shown in FIG.

次に、本発明の第3の実施の形態を図を用いて説明する。   Next, a third embodiment of the present invention will be described with reference to the drawings.

なお、本実施の形態の動作、及び構成は、上記第1及び第2の実施の形態と共通する部分があり、重複する部分は同一の番号で記入しの説明は省略する。   Note that the operation and configuration of the present embodiment have parts in common with those of the first and second embodiments, and overlapping parts are denoted by the same reference numerals and description thereof is omitted.

図9は、本発明の第3の実施の形態に係る画像記録再生装置の構成図である。同図において、903はシステムコントローラであり、システムコントローラ903は、記録部104の記録空き容量を認識する手段を有している。記録部104の空き容量を認識する手段は、使用していないFATの数を数える。一つ当たりのクラスタサイズは解っているから、空き容量は下記の式で容易に計算することが出来る。
空き容量=1クラスタの大きさ×空きFATの数
記録部104には、上記計算式で求まる空き容量以上の信号を記録することは出来ない。記録部104にさらに新しい信号を記録する場合は、不要なファイルを削除、つまりどこかのクラスタを空けなくてはならない。しかし、画像を記録している最中に、使用者に対して不要ファイルを選択させるのは操作が煩雑になり好ましくない。そこで、少なくともMPEG1データの終了コードと、ディレクトリに記述するファイルサイズ、記録日時等の情報を記録する領域が残っている内に上記図4に示す終了動作を行い記録動作を終了する。なお、本実施の形態の動作流れを図10に示す。
FIG. 9 is a block diagram of an image recording / reproducing apparatus according to the third embodiment of the present invention. In the figure, reference numeral 903 denotes a system controller, and the system controller 903 has a means for recognizing the free recording capacity of the recording unit 104. The means for recognizing the free capacity of the recording unit 104 counts the number of FATs that are not used. Since the cluster size per one is known, the free space can be easily calculated using the following formula.
Free capacity = 1 size of cluster × number of free FATs The recording unit 104 cannot record a signal exceeding the free capacity obtained by the above formula. When a new signal is recorded in the recording unit 104, an unnecessary file must be deleted, that is, some cluster must be freed up. However, it is not preferable for the user to select an unnecessary file while recording an image because the operation becomes complicated. Therefore, the end operation shown in FIG. 4 is performed within the area where information such as at least the end code of the MPEG1 data, the file size described in the directory, and the recording date / time remains, and the recording operation is ended. The operation flow of this embodiment is shown in FIG.

次に、本発明の第4の実施の形態を図を用いて説明する。   Next, a fourth embodiment of the present invention will be described with reference to the drawings.

なお、本実施の形態の動作、及び構成は、上記第1、2及び第3の実施の形態と共通する部分があり、重複する部分は同一の番号で記入しの説明は省略する。   Note that the operation and configuration of the present embodiment have parts in common with the first, second, and third embodiments, and duplicated parts are denoted by the same numbers and description thereof is omitted.

図11は、本発明の第4の実施の形態に係る画像記録再生装置の構成図である。同図において、1103はシステムコントローラであり、上記図1に示したシステムコントローラ103とは、動作が異なる。   FIG. 11 is a block diagram of an image recording / reproducing apparatus according to the fourth embodiment of the present invention. In the figure, reference numeral 1103 denotes a system controller, which is different in operation from the system controller 103 shown in FIG.

まず、本実施の形態において、記録を開始する動作を説明する。   First, the operation for starting recording in the present embodiment will be described.

図12は、記録を開始する動作の動作流れ図である。同図において、STARTの位置は、後述する電源ONの状態である。録画スタートストップボタン110が操作されると、システムコントローラ1103は、記録部104に予め用意されている管理ファイルにこれから記録する圧縮画像データを格納するファイルのファイル名を記録する。なお、管理ファイルへのファイル名の書き込みは、上書き方式を取り、本記録動作以前に記録したファイルがあった場合、古いファイル名を削除して、新しく記録するファイル名を記録する。次に、システムコントローラ1103は、上記第1の実施の形態と同様にディレクトリ中の所定の場所に、これから記録するファイル名を記述する。続いてFATを検索し、空きクラスタを探し、上記動作で見つけた空きクラスタ(これから圧縮画像を記録するファイルの先頭)を指し示すFAT番号をディレクトリ中の所定の場所に記述する。上記一連の動作実行の後、記録部104が有する空きクラスタに撮像部101で撮像され、画像圧縮伸長処理部102で画像圧縮された圧縮画像信号を記録する。上記圧縮画像信号の記録部104への記録動作は、後述する記録終了の動作が行われるまで続く。上記記録動作によって、処理されて、記録部104に記録される圧縮画像データの信号量が、一つのクラスタの記録容量越えた場合、新たに空きクラスタを検索し、FATにクラスタ番号を記述し、上記動作で見つけた空きクラスタに圧縮画像データを記録する。また、システムコントローラ1103は、上記記録動作中に所定の時間が経過したら、ディレクトリに現時点の記録中のファイルの大きさを記述する。上記所定の時間は、短ければ短い程良いが、圧縮画像信号の記録動作を妨げない程度に行うよう定めた時間である。   FIG. 12 is an operation flowchart of an operation for starting recording. In the figure, the position of START is a power-on state to be described later. When the recording start / stop button 110 is operated, the system controller 1103 records the file name of the file storing the compressed image data to be recorded in the management file prepared in advance in the recording unit 104. Note that the file name is written to the management file by using an overwrite method, and if there is a file recorded before this recording operation, the old file name is deleted and the newly recorded file name is recorded. Next, the system controller 1103 describes the file name to be recorded in a predetermined location in the directory as in the first embodiment. Subsequently, the FAT is searched to search for a free cluster, and a FAT number indicating the free cluster found by the above operation (the beginning of a file to record a compressed image from now on) is described in a predetermined location in the directory. After execution of the above series of operations, the compressed image signal captured by the imaging unit 101 and compressed by the image compression / decompression processing unit 102 is recorded in an empty cluster included in the recording unit 104. The recording operation of the compressed image signal in the recording unit 104 continues until a recording end operation described later is performed. When the signal amount of the compressed image data processed by the recording operation and recorded in the recording unit 104 exceeds the recording capacity of one cluster, a new empty cluster is searched, and the cluster number is described in the FAT. The compressed image data is recorded in the empty cluster found by the above operation. Further, when a predetermined time elapses during the recording operation, the system controller 1103 describes the size of the file currently being recorded in the directory. The predetermined time is preferably as short as possible, but is a time determined so as not to disturb the recording operation of the compressed image signal.

次に、記録を終了する動作を説明する。上記記録中に録画スタートストップボタン110が操作されると、上記第1の実施の形態と同様に図4に示す動作を行い記録動作を終了する。また、電源を切る動作も、上記第1の実施の形態と同様に図5に示す動作を行う。   Next, the operation for ending recording will be described. If the recording start / stop button 110 is operated during the recording, the operation shown in FIG. 4 is performed as in the first embodiment, and the recording operation is terminated. Further, the operation of turning off the power is performed as shown in FIG. 5 as in the first embodiment.

次に、装置の電源をONする動作を説明する。図13は、本実施の形態において、電源をONする動作の流れを示す図である。システムコントローラ1103は、上記第1の実施の形態と同様に電源部107から常に電源が供給され、電源SW106の状態を監視している。電源SW106が操作され、電源ONの状態になったら、システムコントローラ1103は、電源開閉器105を操作し、電源部107と電源配線108を電気的に接続し、電源配線108に接続された各部に電源を供給する。次にシステムコントローラ1103は、管理ファイルから、一番最近記録したファイル名を読みとる。上記一番最近記録したファイル名は、管理ファイルに、上記記録終了動作時に書かれたファイル名である。この時、システムコントローラ1103は、自信が認識できる所定の管理ファイルが無い場合、記録部104ないに管理ファイルをつくる。次にシステムコントローラ1103は、上記管理ファイルから読みとったファイル名と同じファイル名をディレクトリ中から探し、そのファイル情報が書かれている内容を読みとる。ファイル情報とは、ファイルの大きさ、記録日時、先頭のFATが書かれている位置等である。システムコントローラ1103は、まず、上記FATのファイルの先頭の位置情報を基にFATを検索し、ファイルの終了コードが入っているFATにたどり着くまでFATの数(使用しているクラスタの数)を数える。システムコントローラ1103は、上記数えたFATの数と、ディレクトリに記載されたファイルサイズから、下記の計算式で求まる使用クラスタ数を求める。
使用クラスタ数=ディレクトリ記載のファイルの大きさ÷クラスタサイズ(余りは切り上げ)
この時、上記FATから求めた使用クラスタ数と、ディレクトリ記載のファイルサイズから求めた使用クラスタ数が等しければ、ファイルに異常がないと判断し、記録開始の待機状態にはいる。しかし、上記記録動作の終了が、何らかの原因で正常に行われず、FATを検索しても、ファイルの終了位置が発見できなかった場合は、ディレクトリ記載のファイルサイズから求めた使用クラスタ数と、FATから求めた使用クラスタ数が等しくならない。また、FATを検索した時、ファイルの終了コードが出てくる前に、未使用クラスタを示すコードが出てきた場合も、上記記録の終了動作が正常に終了していないものと判断することが出来る。システムコントローラ1103は、上記したように一番最近記録した画像ファイルの異常を判定すると、ファイル修復動作を行う。
Next, an operation for turning on the power of the apparatus will be described. FIG. 13 is a diagram showing a flow of an operation for turning on the power in this embodiment. As in the first embodiment, the system controller 1103 is always supplied with power from the power supply unit 107 and monitors the state of the power supply SW 106. When the power supply SW 106 is operated and the power supply is turned on, the system controller 1103 operates the power supply switch 105 to electrically connect the power supply unit 107 and the power supply wiring 108 to each part connected to the power supply wiring 108. Supply power. Next, the system controller 1103 reads the file name recorded most recently from the management file. The most recently recorded file name is the file name written in the management file during the recording end operation. At this time, if there is no predetermined management file that can be recognized by the system controller 1103, the system controller 1103 creates a management file in the recording unit 104. Next, the system controller 1103 searches the directory for the same file name as the file name read from the management file, and reads the contents in which the file information is written. The file information includes the size of the file, the recording date and time, the position where the first FAT is written, and the like. First, the system controller 1103 searches for the FAT based on the position information of the head of the FAT file, and counts the number of FATs (the number of clusters used) until it reaches the FAT containing the end code of the file. . The system controller 1103 obtains the number of used clusters obtained by the following calculation formula from the number of FATs counted and the file size described in the directory.
Number of clusters used = size of file in directory / cluster size (round up remainder)
At this time, if the number of used clusters obtained from the FAT is equal to the number of used clusters obtained from the file size described in the directory, it is determined that there is no abnormality in the file, and a recording start standby state is entered. However, if the end of the recording operation is not normally performed for some reason and the end position of the file cannot be found even after searching the FAT, the number of used clusters obtained from the file size described in the directory and the FAT The number of clusters used is not equal. Also, when searching for FAT, if a code indicating an unused cluster appears before the end code of the file, it is possible to determine that the above-mentioned recording end operation has not ended normally. I can do it. When the system controller 1103 determines the abnormality of the most recently recorded image file as described above, the system controller 1103 performs a file restoration operation.

次に、ファイルの修復動作について説明する。上記判定で、異常と判断された場合、システムコントローラ1103は、異常を判定したファイルの先頭FATから、上記ディレクトリ記載のファイルサイズから求めた使用クラスタ数個分だけFATを順に読みとる。上記場合において、例えばディレクトリ記載のファイルサイズから求めたクラスタ数が5だった場合は、ファイルの先頭FATから5つ目までを正常なファイルとし、5つ目のFATにファイルの終了コードを記入し、終了情報を持たない異常ファイルに終了情報を与える。この時、上記したディレクトリへのファイルサイズの書き込みが、1秒に1回の割合で行われていたとする。上記方法であれば、少なくともディレクトリ記載のファイルサイズ分の信号までは、ファイルとして修復することが出来る。   Next, a file repair operation will be described. If it is determined in the above determination that there is an abnormality, the system controller 1103 sequentially reads the FAT for the number of used clusters obtained from the file size described in the directory from the top FAT of the file determined to be abnormal. In the above case, for example, when the number of clusters obtained from the file size described in the directory is 5, the first to fifth files from the first FAT are set as normal files, and the end code of the file is entered in the fifth FAT. End information is given to an abnormal file that does not have end information. At this time, it is assumed that the file size is written to the directory at a rate of once per second. With the above method, at least signals corresponding to the file size described in the directory can be restored as files.

すなわち、バッテリを抜き取る等の動作が行われ、装置に供給される電源がとだえてしまっても、1秒前の画像は正常に記録できたことになる。しかし、MPEG1方式の画像圧縮処理の場合、信号の最小構成単位がGOPであり、GOP中にイントラ画像が処理される前にバッテリ抜け等によって圧縮処理が中断されてしまった場合は、そのGOP画像を再生することが出来ない。また、記録動作が中断された時に記録中だったクラスタ内部は、記録が中断された以降の信号の内容を補償できない。上記異常データが入ったファイルを画像圧縮伸長処理部102で再生すると、再生画像が乱れる。上記画像の乱れは、上記画像圧縮伸長処理部102に、正常に伸長できないような異常な信号が入力されたら、出力する映像にミュートをかける(例えばブルーバック)機能を持たせることで回避することが出来る。   That is, even if an operation such as removing the battery is performed and the power supplied to the apparatus is stopped, the image one second before can be normally recorded. However, in the case of MPEG1 image compression processing, if the minimum signal unit is GOP, and the compression processing is interrupted due to battery removal or the like before the intra image is processed during GOP, the GOP image Cannot be played. Further, the inside of the cluster that was being recorded when the recording operation was interrupted cannot compensate for the contents of the signal after the recording was interrupted. When a file containing the abnormal data is reproduced by the image compression / decompression processing unit 102, the reproduced image is disturbed. If the image compression / decompression processing unit 102 receives an abnormal signal that cannot be normally expanded, the image compression / decompression processing unit 102 can be avoided by providing a function for muting the output video (for example, blue back). I can do it.

次に、装置の電源を切る動作を説明する。本実施の形態においても上記第1の実施の形態と同様に、電源SW106が操作され、電源切るが選択されると、システムコントローラ1103は電源開閉器105を制御し、電源部107と電源配線108を電気的に切り放し、電源配線108に接続された各部への電源を遮断する。動作の流れは、図5に記載されている動作流れと同一である。   Next, an operation for turning off the power of the apparatus will be described. Also in the present embodiment, as in the first embodiment, when the power switch 106 is operated and power off is selected, the system controller 1103 controls the power switch 105, and the power supply unit 107 and the power supply wiring 108. Is electrically disconnected, and the power supply to each part connected to the power supply wiring 108 is cut off. The flow of operation is the same as the flow of operation described in FIG.

本発明の第1の実施の形態に係る画像記録再生装置の構成図である。1 is a configuration diagram of an image recording / reproducing apparatus according to a first embodiment of the present invention. 本発明の第1、2及び3の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on 1st, 2nd and 3rd embodiment of this invention. 本発明の第1、2及び3の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on 1st, 2nd and 3rd embodiment of this invention. 本発明の第1、2、3及び4の実施の形態に係る動作流れ図である。4 is an operation flowchart according to first, second, third and fourth embodiments of the present invention. 本発明の第1、2、3及び4の実施の形態に係る動作流れ図である。4 is an operation flowchart according to first, second, third and fourth embodiments of the present invention. 本発明の第1の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on the 1st Embodiment of this invention. 本発明の第2の実施の形態に係る画像記録再生装置の構成図である。It is a block diagram of the image recording / reproducing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係る画像記録再生装置の構成図である。It is a block diagram of the image recording / reproducing apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施の形態に係る画像記録再生装置の構成図である。It is a block diagram of the image recording / reproducing apparatus which concerns on the 4th Embodiment of this invention. 本発明の第4の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on the 4th Embodiment of this invention. 本発明の第4の実施の形態に係る動作流れ図である。It is an operation | movement flowchart which concerns on the 4th Embodiment of this invention.

符号の説明Explanation of symbols

101…撮像部、102…画像圧 縮伸長処理部、103…システムコントローラ、1
04…記録部、105…電源開閉器、106…電源SW、107…電源部、108…電源配線、109…信号線、110…録画スタートストップボタン、111…映像信号変換部
、703…システムコントローラ、707…バッテリ、903…システムコントローラ、1103…システムコントローラ。
101 ... Imaging unit, 102 ... Image compression / decompression processing unit, 103 ... System controller, 1
04 ... Recording unit, 105 ... Power switch, 106 ... Power switch, 107 ... Power supply unit, 108 ... Power supply wiring, 109 ... Signal line, 110 ... Recording start / stop button, 111 ... Video signal conversion unit, 703 ... System controller, 707 ... Battery, 903 ... System controller, 1103 ... System controller.

Claims (6)

撮像した画像を映像信号に変換する撮像手段と、該撮像手段から供給される映像信号を圧縮する圧縮処理手段と、該圧縮処理手段で圧縮処理された信号を記録する記録手段と、制御信号に応じて上記撮像手段、圧縮処理手段及び記録手段に供給する電源を開閉する開閉器と、該開閉器に電源開閉の制御信号を供給する制御手段と、該制御手段に接続され、装置全体の電源入切を選択する電源スイッチと、装置全体に電源を供給する電源供給手段とを有する画像記録再生装置において、
上記制御手段は、上記撮像手段が被写体を撮像し、上記映像信号を上記圧縮処理手段で圧縮し、上記記録手段に記録している最中に、上記電源スイッチが装置の電源を切る方に選択された場合、所定の記録終了動作が終了するまで、装置の電源を切らないように制御することを特徴とする画像記録再生装置。
An imaging means for converting a captured image into a video signal, a compression processing means for compressing a video signal supplied from the imaging means, a recording means for recording a signal compressed by the compression processing means, and a control signal In response, a switch for opening and closing the power supplied to the imaging means, the compression processing means and the recording means, a control means for supplying a control signal for power supply opening and closing to the switch, and a power supply for the entire apparatus connected to the control means In an image recording / reproducing apparatus having a power switch for selecting on / off and power supply means for supplying power to the entire apparatus,
The control means is selected so that the power switch turns off the apparatus while the imaging means images the subject, the video signal is compressed by the compression processing means, and recorded in the recording means. If so, the image recording / reproducing apparatus is controlled so as not to turn off the power of the apparatus until a predetermined recording end operation is completed.
上記制御手段は、上記電源供給手段の電源供給能力を認識する機能を有し、上記電源供給手段の電源供給能力が所定の量より低くなった場合には、所定の記録終了動作をして、記録動作を終了させることを特徴とする請求項1記載の画像記録再生装置。   The control unit has a function of recognizing the power supply capability of the power supply unit, and when the power supply capability of the power supply unit is lower than a predetermined amount, performs a predetermined recording end operation, 2. The image recording / reproducing apparatus according to claim 1, wherein the recording operation is terminated. 上記制御手段は、上記記録手段の記録空き容量を認識する機能を有し、上記記録手段の記録空き容量が所定の量より少なくなった場合には、所定の記録終了動作をして、記録動作を終了させることを特徴とする請求項1記載の画像記録再生装置。   The control means has a function of recognizing a recording free space of the recording means, and when the recording free capacity of the recording means becomes smaller than a predetermined amount, performs a predetermined recording end operation and performs a recording operation. The image recording / reproducing apparatus according to claim 1, wherein: 上記制御手段と、少なくとも上記記録手段に、上記電源供給手段から電源が供給されたら、上記制御手段は、上記記録手段に、画像信号とは別に記録された情報を元に、前回記録した画像信号を識別し、上記前回記録した画像信号の、異常有無を調べ、異常有りと判断した場合は、所定の異常信号の修復動作を行うことを特徴とする請求項1記載の画像記録再生装置。   When power is supplied from the power supply means to the control means and at least the recording means, the control means records the image signal previously recorded on the recording means based on information recorded separately from the image signal. 2. The image recording / reproducing apparatus according to claim 1, wherein said image signal recorded last time is checked for presence / absence of abnormality, and when it is determined that abnormality is present, a predetermined abnormality signal is repaired. 上記所定の異常信号の修復動作を行うとき前回記録した画像信号がどれであるかを認識するために、上記制御手段は、画像信号を記録する際であり、少なくとも画像信号を上記記録手段に記録する動作を開始するより前に、これから記録する画像信号が、どこに記録されているかを、後に上記制御手段自身が認識できる形で上記記録手段に記録することを特徴とする請求項4記載の画像記録再生装置
In order to recognize which image signal was recorded last time when performing the repair operation of the predetermined abnormal signal, the control means is for recording the image signal, and records at least the image signal in the recording means. 5. The image according to claim 4, wherein before starting the operation, the image signal to be recorded is recorded on the recording means in a form that can be recognized later by the control means. Recording / playback device.
上記制御手段は、上記撮像手段から供給される映像信号を、上記画像圧縮手段で画像圧縮処理を施し、上記記録手段に記録している動作中に、所定の時間が経過したら、現在記録中の画像信号の信号量の累計値を所定の場所に記録することを特徴とする請求項4又は5に記載の画像記録再生装置。
The control means performs image compression processing on the video signal supplied from the imaging means by the image compression means, and when a predetermined time elapses during the operation of recording in the recording means, 6. The image recording / reproducing apparatus according to claim 4, wherein a cumulative value of the signal amount of the image signal is recorded at a predetermined location.
JP2006139691A 2006-05-19 2006-05-19 Image recording and reproducing apparatus Pending JP2006319988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006139691A JP2006319988A (en) 2006-05-19 2006-05-19 Image recording and reproducing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006139691A JP2006319988A (en) 2006-05-19 2006-05-19 Image recording and reproducing apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005134731A Division JP3897050B2 (en) 2005-05-06 2005-05-06 Image recording / reproducing apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008220782A Division JP5024236B2 (en) 2008-08-29 2008-08-29 Imaging device

Publications (1)

Publication Number Publication Date
JP2006319988A true JP2006319988A (en) 2006-11-24

Family

ID=37540156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006139691A Pending JP2006319988A (en) 2006-05-19 2006-05-19 Image recording and reproducing apparatus

Country Status (1)

Country Link
JP (1) JP2006319988A (en)

Similar Documents

Publication Publication Date Title
CN100422920C (en) Information processing apparatus, information processing method, and information processing program
US8270813B2 (en) Apparatus, method and computer program for processing information
KR100742190B1 (en) Recording/reproducing device
JP3570142B2 (en) Image recording / reproducing device
JP2006018963A (en) Hard disk recorder
US20040078610A1 (en) Image recording apparatus capable of addressing unexpected power supply interruption and method therefor
US8830802B2 (en) Information recording apparatus, and control method therefor
JP5024236B2 (en) Imaging device
US20090161507A1 (en) Infromation Recording/Reproducing Apparatus
JP3897050B2 (en) Image recording / reproducing apparatus
JP3731586B2 (en) Image recording / reproducing apparatus
JP2006319988A (en) Image recording and reproducing apparatus
JP4697074B2 (en) Recording / playback device
JP2003259270A (en) Data recorder, image recorder, and data recording method
US20090231426A1 (en) Image recording reproducing device
US20070065117A1 (en) Digital video camera capable of recognizing incorporated recording medium by external unit
JP2009003984A (en) Information recording device
JP5089789B2 (en) Electronics
JP2007020089A (en) Video information processing apparatus, and video information processing method
JP2003091438A (en) Information rearranging device, information rearranging method, computer readable storage medium and computer program
CN1851816B (en) Information processing apparatus and method
US20070065114A1 (en) Video camera capable of uninterrupted recording
JP4563125B2 (en) Video camera equipment
JP2005192143A (en) Recording apparatus and method, computer program, and computer readable recording medium
KR20220051924A (en) DVR System to Prevent Loss of Recording During Power Down

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080701

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080829

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090623