JPH1145518A - Video recorder and recording medium readable by computer - Google Patents

Video recorder and recording medium readable by computer

Info

Publication number
JPH1145518A
JPH1145518A JP10147470A JP14747098A JPH1145518A JP H1145518 A JPH1145518 A JP H1145518A JP 10147470 A JP10147470 A JP 10147470A JP 14747098 A JP14747098 A JP 14747098A JP H1145518 A JPH1145518 A JP H1145518A
Authority
JP
Japan
Prior art keywords
video
data
recording
recording medium
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10147470A
Other languages
Japanese (ja)
Other versions
JP4095165B2 (en
Inventor
Hiroshi Suda
浩史 須田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP14747098A priority Critical patent/JP4095165B2/en
Publication of JPH1145518A publication Critical patent/JPH1145518A/en
Application granted granted Critical
Publication of JP4095165B2 publication Critical patent/JP4095165B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To constitute a video recorder in such a manner that video data are continuously recorded at all times when the picked up and compressed video data are recorded on or erased from a hard disk, etc. SOLUTION: The hard disk is provided with tracks 1 to 5 as shown in (a) and the respective tracks are further divided to 8 sectors 11 to 18,..., 51 to 58. The cuts of videos are recorded in the respective sectors. The videos 1 are first recorded in the substrate 11 to 16, the videos 2 in the sectors 17, 18, 21 and the videos 3 in the sectors 22 to 25 as shown in (b). When the videos 2 are erased from this state, the videos 3 are moved as shown in (c) to the free space thereof and in succession, the fresh videos 4 are recorded in the sectors 23 to 27. As a result, the intermittent recording of data and the free spaces dose not arise even if the recording and erasing are respected. The continuous recording of the data is made possible at all times and the high-speed putting in and out of the data is made possible.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、固体磁気ディスク
メモリや光磁気ディスクメモリ、光ディスクメモリ等に
動画や静止画を記録するビデオカメラ等に用いて好適な
映像記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording apparatus suitable for use in a video camera or the like for recording moving images and still images in a solid-state magnetic disk memory, a magneto-optical disk memory, an optical disk memory, and the like.

【0002】[0002]

【従来の技術】従来の映像記録再生装置としては、アナ
ログ映像信号を磁気テープに記録するビデオテープレコ
ーダがある。このような磁気記録再生装置に対して、映
像信号をデジタル信号に変換した後、磁気テープに記録
するデジタルVTR、固体ディスクや光磁気ディスクに
記録するディスクビデオ、フラッシュメモリやSRAM
等の固体メモリに記録する固体メモリビデオ等が提案さ
れている。これらのビデオシステムでは、情報量の削減
のために入力デジタル信号に圧縮処理を施しており、少
ない記憶容量で多くの動画情報や静止画情報の記録を可
能にしている。
2. Description of the Related Art As a conventional video recording / reproducing apparatus, there is a video tape recorder for recording an analog video signal on a magnetic tape. For such a magnetic recording / reproducing apparatus, after converting a video signal into a digital signal, a digital VTR for recording on a magnetic tape, a disk video for recording on a solid disk or a magneto-optical disk, a flash memory or an SRAM.
Solid-state memory video and the like for recording in a solid-state memory such as the above have been proposed. In these video systems, compression processing is performed on an input digital signal to reduce the amount of information, and a large amount of moving image information and still image information can be recorded with a small storage capacity.

【0003】このような映像記録装置の圧縮方式は、一
般的にまず、画像を水平n×垂直n個の画素ごとに複数
のブロックに分割し、各ブロックごとにディスクリート
コサイン変換(DCT)等の直交変換を施し、各係数を
所定のビット数に丸めることで量子化する。画像情報は
低域に偏っているため、高周波成分のビット数を減らす
ことでデータ量を削減することができる。また、ハフマ
ン符号化等の可変長符号化により出現確率に応じたデー
タ圧縮を行うことができる。さらに、動画の映像はフレ
ーム間での相関が強いので、この性質を用いてフレーム
間の差分を抽出することで、大幅に圧縮をかけることが
可能になる。これらの圧縮技術を組み合わせて動画像の
圧縮を行い、データ量を削減した上で固体磁気ディスク
メモリや光ディスクメモリ等に記録する動画像記録シス
テムが各種提案されている。
[0003] In such a compression method of a video recording apparatus, generally, an image is first divided into a plurality of blocks every horizontal n × vertical n pixels, and discrete cosine transform (DCT) or the like is performed for each block. The orthogonal transform is performed, and each coefficient is quantized by being rounded to a predetermined number of bits. Since the image information is biased toward the low band, the data amount can be reduced by reducing the number of bits of the high frequency component. Further, data compression according to the appearance probability can be performed by variable length coding such as Huffman coding. Further, since the video of a moving image has a strong correlation between frames, it is possible to greatly compress the image by extracting a difference between frames using this property. Various moving image recording systems have been proposed in which a moving image is compressed by combining these compression techniques to reduce the amount of data and then record the data in a solid-state magnetic disk memory, an optical disk memory, or the like.

【0004】[0004]

【発明が解決しようとする課題】上述の動画像記録シス
テムにおいては、単位時間あたり動画像のデータ量が多
いため、できるだけ高速でディスクメモリとの間で入出
力を行う必要がある。ところが、動画の記録と消去を何
回か繰り返すと、メモリ内の消去された空きスペースと
記録されたデータがそれぞれ断片化してしまい、このた
め映像を連続して記録するスペースが少なくなり、高速
なデータ入出力が困難になってくるなどの問題があっ
た。
In the above-described moving image recording system, since the amount of moving image data per unit time is large, it is necessary to perform input / output with the disk memory as fast as possible. However, if the recording and erasing of a moving image is repeated several times, the erased empty space in the memory and the recorded data are fragmented, respectively. There was a problem that data input / output became difficult.

【0005】本発明は上記の問題を解決するために成さ
れたもので、記録媒体上に映像データを連続して記録で
きるスペースを常に確保できるようにすることを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and has as its object to always secure a space for continuously recording video data on a recording medium.

【0006】[0006]

【課題を解決するための手段】本発明による映像記録装
置においては、入力される映像データ又は映像情報を記
録媒体に記録する映像記録装置において、上記記録媒体
上に記録された映像データ又は映像情報の再配置を行う
制御手段を設けている。
According to the present invention, there is provided a video recording apparatus for recording input video data or video information on a recording medium, the video data or the video information recorded on the recording medium. Is provided.

【0007】また、本発明によるコンピュータ読み取り
可能な記録媒体においては、メモリ手段に記録された映
像データの再配置を行う処理を実行するためのプログラ
ムを記録している。
[0007] In the computer-readable recording medium according to the present invention, a program for executing a process of rearranging the video data recorded in the memory means is recorded.

【0008】[0008]

【発明の実施の形態】以下、図面を参照し、本発明の実
施の形態について説明する。 (第1実施形態)図1は本発明の第1の実施の形態の構
成を示す図である。図1において、ビデオカメラ101
で撮影された被写体110の映像信号は、加算器108
へ入力されると共に、データ圧縮回路102へ入力され
る。データ圧縮回路102では、制御手段としてのマイ
クロコンピュータ(以下、マイコンと称す)104から
指示された圧縮率とタイミングでデータを圧縮して、記
録媒体あるいはメモリ手段としてのハードディスク10
3に記録する。マイコン104は、ハードディスク10
3に記録された映像データを、映像選択スイッチ105
と映像消去スイッチ106の状態に基づいて選択し消去
する。次に、後述するようにしてハードディスク103
のデータの並びを再配置することで最適化する。この映
像選択、映像消去、再配置の状態は、キャラクタジェネ
レータ107で生成され、加算器108でビデオカメラ
101からの映像信号とミックスされてディスプレイ1
09に表示される。なお、111は本発明によるコンピ
ュータ読み取り可能な記録媒体としてのメモリであり、
半導体メモリ、磁気媒体、光磁気ディスク、光ディス
ク、CD−ROM等が用いられ、後述の図3、図6、図
7にフローチャートで示す処理をマイコン104で実行
するプログラムが格納されている。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a diagram showing a configuration of a first embodiment of the present invention. In FIG. 1, a video camera 101
The video signal of the subject 110 photographed by the
And input to the data compression circuit 102. The data compression circuit 102 compresses data at a compression rate and timing specified by a microcomputer 104 (hereinafter, referred to as a microcomputer) as control means, and stores the data on the hard disk 10 as a recording medium or memory means.
Record in 3. The microcomputer 104 includes the hard disk 10
3 is transferred to the video selection switch 105.
And erase based on the state of the video erase switch 106. Next, as described later, the hard disk 103
Optimize by rearranging the data sequence. The states of video selection, video deletion, and rearrangement are generated by the character generator 107, mixed with the video signal from the video camera 101 by the adder 108, and
09 is displayed. Note that a memory 111 is a computer-readable recording medium according to the present invention,
A semiconductor memory, a magnetic medium, a magneto-optical disk, an optical disk, a CD-ROM, or the like is used, and stores a program for causing the microcomputer 104 to execute the processing shown in the flowcharts of FIGS.

【0009】次に、ハードディスク103上のデータの
並び及びデータ再配置による最適化について、図2を用
いて説明する。図2(a)はハードディスク103のデ
ータ配置を示す図である。ハードディスク103は、同
心円状に外側からトラック1、トラック2、トラック
3、トラック4、トラック5と記録トラックがあり、各
トラックはセクタ1からセクタ8までさらに細かく分か
れている。データはこのセクタ単位で映像の各カットが
ハードディスク103に記録される。以降、1トラック
目の1セクタをセクタ11、3トラック目の5セクタを
セクタ35のように表現するものとする。
Next, optimization of data arrangement on the hard disk 103 and data rearrangement will be described with reference to FIG. FIG. 2A is a diagram showing the data arrangement of the hard disk 103. The hard disk 103 has a recording track, a track 1, a track 2, a track 3, a track 4, and a track 5 from the outside concentrically, and each track is further finely divided from a sector 1 to a sector 8. In the data, each cut of the video is recorded on the hard disk 103 in this sector unit. Hereinafter, one sector on the first track is represented as sector 11, and five sectors on the third track are represented as sector 35.

【0010】図2(b)は、映像をハードディスク10
3に記録した際に、各セクタにどのように記録されるか
を示した図である。何も記録されていないハードディス
ク103に映像データが記録される場合は、トラック1
のセクタ1(セクタ11)から順に記録される。従っ
て、まず6セクタの記録容量を必要とする映像1は、セ
クタ11から12、13、14、15、16までの領域
を使用して記録を完了する。次に、3セクタの記憶容量
を必要とする映像2は、セクタ17、18、そして2ト
ラック目に進みセクタ21に記憶される。さらに、4セ
クタの記憶容量を必要とする映像3は、セクタ22、2
3、24、25に記憶されて完了する。以下さらに、別
な映像を連続して記憶する場合も、同様にハードディス
ク上で連続的な配置になるように記憶される。
FIG. 2B shows an example in which images are stored on a hard disk 10.
FIG. 4 is a diagram showing how the data is recorded in each sector when the data is recorded in No. 3; When video data is recorded on the hard disk 103 on which nothing is recorded, the track 1
Are recorded in order from sector 1 (sector 11). Therefore, video 1 requiring a recording capacity of 6 sectors completes recording using the areas from sectors 11 to 12, 13, 14, 15, and 16. Next, the video 2 requiring the storage capacity of three sectors is advanced to the sectors 17, 18 and the second track, and is stored in the sector 21. Further, the image 3 requiring the storage capacity of 4 sectors is stored in the sectors 22 and 2
3, 24 and 25 are completed. Hereinafter, even when another image is continuously stored, the image is similarly stored in a continuous arrangement on the hard disk.

【0011】さて、映像1、2、3まで書き込んだ状態
で、映像2を削除(消去)するとすると、セクタ17、
18、21のデータが削除されてこの部分が空きにな
る。次に、5セクタの記憶容量を必要とする映像4を書
き込もうとすると、セクタ17、18、21、26、2
7と非連続になってしまい、ハードディスクの記録、再
生の速度が遅くなる。そこで、セクタ17、18、21
を削除した後、データを再配置して、ハードディスクの
最適化を行う。映像1はそのままだが、セクタ22から
セクタ25まで書かれている映像3を、図2(c)に示
すように、セクタ17、18、21、22に移動させ
る。これにより、その次に5セクタの記憶容量を必要と
する映像4を記録するときには、セクタ23、24、2
5、26、27とハードディスク上に連続して書かれ
る。
Now, if the video 2 is deleted (erased) while the video 1, 2 and 3 have been written, the sector 17,
The data of 18 and 21 are deleted, and this portion becomes empty. Next, if an attempt is made to write video 4 requiring a storage capacity of 5 sectors, sectors 17, 18, 21, 26, 2
7, the recording and reproduction speed of the hard disk becomes slow. Therefore, sectors 17, 18, 21
After deleting, relocate the data and optimize the hard disk. The video 3 written from the sector 22 to the sector 25 while the video 1 remains as it is is moved to the sectors 17, 18, 21, and 22, as shown in FIG. Thus, when recording a video 4 requiring a storage capacity of 5 sectors next, sectors 23, 24, 2
5, 26 and 27 are written continuously on the hard disk.

【0012】図3はマイコン104の動作を示すフロー
チャートであり、ステップS301〜310から成る。
これら各ステップS301〜310はメモリ111に記
録されたプログラムに従って行われる。図4は上記処理
中におけるディスプレイ表示動作を示す図である。図3
において、ステップS301から始まり、まずキャラク
タジェネレータ107を通してディスプレイ109に映
像番号を表示する(S302)。例えば、図4(a)の
画面1のごとく“映像番号:1”と表示する。次に、映
像選択スイッチ105が押されているかどうかチェック
し(S303)、押されていれば、映像番号を増加させ
て(S305)、新映像番号を表示する(S306)。
例えば、図4(b)の画面2のごとく“映像番号:2”
と番号を増加させて表示する。
FIG. 3 is a flowchart showing the operation of the microcomputer 104, and comprises steps S301 to S310.
These steps S301 to S310 are performed according to a program recorded in the memory 111. FIG. 4 is a diagram showing a display operation during the above processing. FIG.
In step S301, a video number is displayed on the display 109 through the character generator 107 (S302). For example, “video number: 1” is displayed as in screen 1 in FIG. Next, it is checked whether or not the video selection switch 105 has been pressed (S303). If it has been pressed, the video number is incremented (S305) and a new video number is displayed (S306).
For example, as shown in a screen 2 in FIG.
And increase the number.

【0013】ステップS303で映像選択スイッチ10
5がオフの場合は、さらに映像消去スイッチ106が押
されているかどうかチェックし(S304)、押されて
いる場合は、現在表示中の映像番号の映像を消去し(S
307)、映像消去中の表示を出す(S308)。例え
ば、図4(c)の画面3のごとく“映像番号:2:消去
中”と表示する。そして、この直後にハードディスク1
03のデータを前述のようにして再配置することで最適
化を行う(S309)。このとき最適化を行っている旨
の表示を出す(S310)。例えば、図4(d)の画面
4のごとく“データ最適化中”と表示して使用者に知ら
せる。この再配置のアルゴリズムとしては、例えばハー
ドディスクの空きエリアに一旦映像信号をコピーした後
に再配置すべき空きエリアにコピーする(映像単位でも
セクタ単位でもよい)方法、あるいは始めから順次セク
タ単位で空きエリアに書き込んで行く方法等、種々の方
法が考えられる。なお、再配置処理時のデータの一時退
避用メモリは、ハードディスク上でなく、他のメモリを
用いてもよく、そのワークメモリも1セクタ分あれば十
分である。
In step S303, the image selection switch 10
If 5 is off, it is further checked whether the image deletion switch 106 is pressed (S304). If it is pressed, the image of the currently displayed video number is deleted (S304).
307), a display indicating that the image is being deleted is displayed (S308). For example, as shown in a screen 3 in FIG. 4C, "video number 2: erasing" is displayed. And immediately after this, hard disk 1
The optimization is performed by rearranging the data No. 03 as described above (S309). At this time, a message indicating that the optimization is being performed is displayed (S310). For example, as shown in a screen 4 of FIG. 4D, "data is being optimized" is displayed to notify the user. As an algorithm of the rearrangement, for example, a method of once copying a video signal to a free area of a hard disk and then copying the video signal to a free area to be relocated (can be a video unit or a sector unit), or a free area sequentially in sector units from the beginning Various methods are conceivable, such as a method of writing data into a file. The memory for temporarily saving data at the time of the relocation processing may be other than the hard disk, and another memory may be used, and the work memory for one sector is sufficient.

【0014】(第2、第3実施形態)図5は第2、第3
の実施の形態の構成を示す図であり、図1と同一の番号
は同一の動作をするので説明を省略する。図5におい
て、スイッチ501は主電源スイッチで、このスイッチ
をオンにすることで、マイコン104、スイッチ50
2、スイッチ503に通電される。スイッチ502は電
源スイッチで、マイコン104にスイッチの状態を知ら
せる。スイッチ503はマイコン104で制御されて、
ビデオカメラ101、データ圧縮回路102、ハードデ
ィスク103、キャラクタジェネレータ107、ディス
プレイ109等の各部に電源を供給する。
(Second and Third Embodiments) FIG. 5 shows the second and third embodiments.
FIG. 3 is a diagram showing the configuration of the embodiment, and the same reference numerals as those in FIG. In FIG. 5, a switch 501 is a main power switch, and when this switch is turned on, the microcomputer 104 and the switch 50 are turned on.
2. The switch 503 is energized. A switch 502 is a power switch, and notifies the microcomputer 104 of the state of the switch. The switch 503 is controlled by the microcomputer 104,
Power is supplied to each unit such as the video camera 101, the data compression circuit 102, the hard disk 103, the character generator 107, and the display 109.

【0015】図6は第2の実施の形態の動作を示すフロ
ーチャートである。電源が切断されている状態から始ま
り(S601)、まずスイッチ501がオン(S60
2)になると、マイコン104に通電される(S60
3)。マイコン104はスイッチ502の状態をチェッ
クし(S604)、オフならばスイッチ502の状態を
チェックし続け、オンならばスイッチ503をオンにす
ることで(S605)、マイコン以外の各部の電源をオ
ンにする(S606)。
FIG. 6 is a flowchart showing the operation of the second embodiment. Starting from a state where the power is turned off (S601), first, the switch 501 is turned on (S60).
In the case of 2), the microcomputer 104 is energized (S60).
3). The microcomputer 104 checks the state of the switch 502 (S604). If it is off, it continues to check the state of the switch 502. If it is on, it turns on the switch 503 (S605). (S606).

【0016】各部の電源がオンになったところでシステ
ムの初期化を行い(S607)、次にハードディスク1
03のデータを再配置することで最適化を行う(S60
8)。このとき最適化を行っている旨の表示を出す(S
609)。以上で撮影または再生の準備が完了する(S
610)。
When the power of each unit is turned on, the system is initialized (S607).
03 is optimized by rearranging the data (S60).
8). At this time, an indication that optimization is being performed is displayed (S
609). Preparation for shooting or playback is completed as described above (S
610).

【0017】図7は第3の実施の形態の動作を示すフロ
ーチャートである。電源が各部に通電されている状態か
ら始まり(S701)、スイッチ501がオフ(S70
2)となったら、すぐにハードディスク103のデータ
を再配置する最適化を行い(S703)、最適化を行っ
ている旨の表示を出す(S704)。最適化が終了した
ら、マイコン104はスイッチ503をオフにして、マ
イコン以外の各部の電源を切断する(S705)。
FIG. 7 is a flowchart showing the operation of the third embodiment. Starting from a state where power is supplied to each unit (S701), the switch 501 is turned off (S70).
When 2) is reached, optimization for relocating the data on the hard disk 103 is immediately performed (S703), and a message indicating that optimization is being performed is displayed (S704). When the optimization is completed, the microcomputer 104 turns off the switch 503 and turns off the power of each unit other than the microcomputer (S705).

【0018】上述した各実施の形態によれば、ハードデ
ィスク103上のデータとデータとの間に消去等により
空きスペースが生じた場合に、後ろのデータを詰めて空
きスペースを埋めるように再配置を行うことにより最適
化が行われるので、データが常に連続的に記録されるよ
うになる。
According to each of the above-described embodiments, when an empty space is created between data on the hard disk 103 due to erasure or the like, rearrangement is performed so that the subsequent data is packed to fill the empty space. By performing the optimization, the data is always continuously recorded.

【0019】(第4実施形態)次に本発明の第4の実施
形態について説明する。本実施形態は、電源がAC電源
の場合、バッテリーの場合には、その残量が充分あると
きに、データ最適化処理を行うようにしたものである。
(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described. In the present embodiment, when the power source is an AC power source or a battery, the data optimization process is performed when the remaining power is sufficient.

【0020】図8は、本発明の第4の実施形態の構成を
示すブロック図である。同図において、ビデオカメラ1
01より出力された映像信号は、データ圧縮回路102
へと供給され制御手段としてのマイクロコンピュータ1
04より指示された圧縮率とタイミングでデータ圧縮さ
れ、ハードディスク103へと供給される。
FIG. 8 is a block diagram showing the configuration of the fourth embodiment of the present invention. In the figure, a video camera 1
01 is output from the data compression circuit 102
Microcomputer 1 supplied as a control means
The data is compressed at the compression ratio and timing designated by the controller 04 and supplied to the hard disk 103.

【0021】またビデオカメラ101より出力された映
像信号は、加算器108によって、キャラクタジェネレ
ータ107より出力された映像選択、映像消去、再配置
等の制御状態の情報と加算され、ディスプレイ109に
表示される。
The video signal output from the video camera 101 is added by the adder 108 to information on control states such as video selection, video deletion and rearrangement output from the character generator 107 and displayed on the display 109. You.

【0022】また電源系統について説明すると、バッテ
リー803と、AC電源を使用可能とするためのACア
ダプタ802を用いてAC電源801を、電源選択スイ
ッチ804の切換動作により選択的に使用することがで
き、主電源スイッチ501を介してマイクロコンピュー
タ104へと供給される。
The power supply system will be described. The AC power supply 801 can be selectively used by a switching operation of a power supply selection switch 804 using a battery 803 and an AC adapter 802 for enabling the use of the AC power supply. Are supplied to the microcomputer 104 via the main power switch 501.

【0023】また電源選択スイッチ804によりいずれ
の電源が選択されているかを示すスイッチ状態検知情報
が、 マイクロコンピュータ104へと供給されるととも
に、電源電圧の電圧検知情報が、マイクロコンピュータ
104へと供給され、特にバッテリー使用時の減電検知
等が行われる。
Further, switch state detection information indicating which power supply is selected by the power supply selection switch 804 is supplied to the microcomputer 104, and voltage detection information of the power supply voltage is supplied to the microcomputer 104. In particular, detection of power reduction when a battery is used is performed.

【0024】また502は主電源スイッチ501によっ
てマイクロコンピュータ104に主電源が供給されてい
る状態で、ビデオカメラシステムとしての電源をオン、
オフ制御する電源スイッチ、503はマイクロコンピュ
ータ以外の各回路部へと電源を供給するためのスイッ
チ、また105はハードディスク103に記録されてい
る映像情報を選択するための映像選択スイッチ、106
は映像選択スイッチ105によって選択された映像情報
を消去する消去スイッチである。
Reference numeral 502 denotes a state in which the main power is supplied to the microcomputer 104 by the main power switch 501, and the power of the video camera system is turned on.
A power switch for controlling off, a switch 503 for supplying power to each circuit unit other than the microcomputer, a video selection switch 105 for selecting video information recorded on the hard disk 103, a video switch 106
Is an erase switch for erasing the video information selected by the video selection switch 105.

【0025】以上のように構成されたビデオカメラ装置
における動作を図9のフローチャートを用いて説明す
る。
The operation of the video camera device configured as described above will be described with reference to the flowchart of FIG.

【0026】ステップS901で処理をスタートする
と、ステップS902でスイッチ502の状態を判別
し、スイッチ502がオフからオンへと切り換わった場
合には、ステップS903へと移行し、スイッチ502
がオンからオフへと切り換わった場合にはステップS9
22へと移行し、スイッチ502がオンのときは、ステ
ップS911へと移行する。
When the process is started in step S901, the state of the switch 502 is determined in step S902, and when the switch 502 is switched from off to on, the process proceeds to step S903 and the switch 502 is switched to off.
Is switched from on to off, step S9
22 and when the switch 502 is on, the process proceeds to step S911.

【0027】スイッチ502がオンで、ステップS91
1で映像情報の番号を表示し、ステップS912で映像
選択スイッチ105がオンされていれば、ステップS9
20へと移行し、映像情報の番号を増加させ、ステップ
S921において新たな映像情報の番号を表示する。
When the switch 502 is turned on, step S91 is executed.
1 displays the number of the video information, and if the video selection switch 105 is turned on in step S912, the process proceeds to step S9.
The process proceeds to step S20, where the number of the video information is increased, and a new video information number is displayed in step S921.

【0028】またステップS912で映像選択スイッチ
105がオフであれば、ステップS913へと進み、電
源の種別の検知を行い、AC電源であれば、映像消去ス
イッチ106の状態を判別する。
If it is determined in step S912 that the video selection switch 105 is off, the flow advances to step S913 to detect the type of power supply. If the power supply is AC power, the state of the video deletion switch 106 is determined.

【0029】一方、ステップS913で、電源の種別が
バッテリーであった場合には、ステップS914で電圧
が所定値以上であるか否かを判別し、電圧が所定値以上
であれば、ステップS915へと進んで映像消去スイッ
チ105の指示に応じた処理を行い、電源電圧が所定値
以下であったなら、ステップS902へと復帰し、結果
として消去を禁止する。
On the other hand, if the type of power source is battery in step S913, it is determined in step S914 whether the voltage is equal to or higher than a predetermined value. If the voltage is equal to or higher than the predetermined value, the flow advances to step S915. When the power supply voltage is equal to or lower than the predetermined value, the process returns to step S902, and as a result, erasure is prohibited.

【0030】すなわちこの処理により、AC電源のと
き、及びバッテリーの電源電圧が所定値以上であるとき
には、 消去動作を可能とし、バッテリー使用時で且つ電
源電圧が所定値以下のときは、消去を禁止する。
That is, according to this processing, the erasing operation is enabled when the AC power is supplied and when the power supply voltage of the battery is equal to or higher than a predetermined value, and the erasure is prohibited when the battery is used and the power supply voltage is equal to or lower than the predetermined value. I do.

【0031】ステップS915で、映像消去スイッチ1
06が操作されており、消去動作の指示が出された場合
は、ステップS916へと移行して現在の映像番号の映
像情報を消去し、ステップS917で映像情報を消去中
であることを表示し、ステップS919で、前述したの
と同様にデータ最適化処理を行い、ステップS919で
データ最適化処理中であることを表示し、ステップS9
02へと復帰する。すなわちこの処理において、映像情
報を消去するごとにデータ最適化が行われる。
In step S915, the video erase switch 1
If No. 06 has been operated and an instruction for erasing operation has been issued, the flow advances to step S916 to delete the video information of the current video number, and displays that the video information is being deleted in step S917. In step S919, data optimization processing is performed in the same manner as described above, and in step S919, a message that data optimization processing is being performed is displayed.
Return to 02. That is, in this process, data optimization is performed every time video information is erased.

【0032】上述のステップS902でスイッチ502
がオフからオンへと切り換えられたことが判別された場
合には、ステップS903でスイッチ503をオンにし
てマイクロコンピュータ104以外の各回路部へと電源
を供給し(S904)、ステップS905でシステムを
初期化する。
In the above step S902, the switch 502
Is switched from off to on, the switch 503 is turned on in step S903 to supply power to each circuit unit other than the microcomputer 104 (S904), and the system is turned on in step S905. initialize.

【0033】続いてステップS906で、電源の種別を
判別し、電源の種別がAC電源であった場合には、ステ
ップS908で、前述したのと同様にデータ最適化処理
を行い、ステップS909でデータ最適化処理中である
ことを表示し、ステップS910で撮影/再生準備を完
了した後、ステップS902へと復帰する。
Subsequently, in step S906, the type of power supply is determined. If the type of power supply is AC power, data optimization processing is performed in step S908 in the same manner as described above. The fact that the optimization process is being performed is displayed, and after completion of the shooting / playback preparation in step S910, the process returns to step S902.

【0034】またステップS906で電源がバッテリー
であることが判別された場合には、ステップS907で
電圧が所定値以上であるか否かを判別し、電圧が所定値
以上であれば、ステップS908へと進んで前記データ
最適化処理を実行し、電圧が所定値に達していなけれ
ば、ステップS908のデータ最適化処理を飛ばしてス
テップS910の撮影/再生準備を完了し、ステップS
902へと復帰する。
If it is determined in step S906 that the power source is a battery, it is determined in step S907 whether the voltage is equal to or higher than a predetermined value. If the voltage is equal to or higher than the predetermined value, the flow advances to step S908. Then, the data optimization processing is executed, and if the voltage has not reached the predetermined value, the data optimization processing in step S908 is skipped, and the shooting / reproduction preparation in step S910 is completed, and step S910 is performed.
902 is returned.

【0035】次にステップS902で、スイッチ502
がオンからオフに切り換えられてステップS922へと
移行した場合はについて説明する。ステップS922
で、電源の種別を判別し、電源の種別がAC電源であっ
た場合には、ステップS924で、前述したのと同様に
データ最適化処理を行い、ステップS925でデータ最
適化処理中であることを表示し、ステップS926でス
イッチ503をオフにし、マイクロコンピュータ104
以外の各回路への電源供給をオフにする。
Next, in step S902, the switch 502
Is switched from on to off and the process proceeds to step S922. Step S922
Then, the type of the power supply is determined. If the type of the power supply is the AC power supply, the data optimization processing is performed in the same manner as described above in step S924, and the data optimization processing is being performed in step S925. Is displayed, the switch 503 is turned off in step S926, and the microcomputer 104
Turn off the power supply to the other circuits.

【0036】またステップS922で電源がバッテリー
であることが判別された場合には、ステップS923で
電圧が所定値以上であるか否かを判別し、電圧が所定値
以上であれば、ステップS924へと進んで前記データ
最適化処理を実行し、電圧が所定値に達していなけれ
ば、ステップS924のデータ最適化処理を飛ばしてス
テップS926の処理を実行し、ステップS902へと
復帰する。
If it is determined in step S922 that the power source is a battery, it is determined in step S923 whether the voltage is higher than a predetermined value. If the voltage is higher than the predetermined value, the flow advances to step S924. Then, the data optimization processing is executed, and if the voltage has not reached the predetermined value, the data optimization processing in step S924 is skipped, the processing in step S926 is executed, and the process returns to step S902.

【0037】以上の処理により、電源がACのとき、及
びバッテリー残量が充分あるときにデータ最適化を実行
することができ、データ最適化処理中の電源切れを防止
することができる。
According to the above processing, data optimization can be executed when the power supply is AC and when the remaining battery power is sufficient, and it is possible to prevent the power from being lost during the data optimization processing.

【0038】(第5実施形態)次に本発明の第5の実施
形態について説明する。本実施形態は、図9のフローチ
ャートにおけるステップS908、ステップS918、
ステップS924で行われるデータ最適化処理の他の例
を示すもので、第10図にその処理のフローチャートを
示す。
(Fifth Embodiment) Next, a fifth embodiment of the present invention will be described. In the present embodiment, steps S908, S918,
FIG. 10 shows another example of the data optimizing process performed in step S924, and a flowchart of the process is shown in FIG.

【0039】本実施形態は、記録媒体上のすべての不連
続領域についてデータ最適化処理を行うと、長い処理時
間を要するため、不連続領域が近接している場合には、
ピックアップの動き量が少なくてもよく、アクセスタイ
ムがそれほど長くならないが、不連続領域が大きく離れ
ているときは、アクセスするたびにピックアップの動き
量が大きくなり、アクセスタイムが長くかかることを考
慮し、不連続領域が相対的に所定距離以上離れているデ
ータ領域のみ最適化を図るようにすることにより、デー
タ最適化処理に要する時間を節減するものである。
In this embodiment, if data optimization processing is performed on all discontinuous areas on a recording medium, a long processing time is required. Therefore, when the discontinuous areas are close to each other,
Although the movement amount of the pickup may be small and the access time is not so long, when the discontinuous area is far apart, the movement amount of the pickup increases each time the access is made, and it is necessary to consider that the access time will be long. By optimizing only the data area in which the discontinuous areas are relatively apart from each other by a predetermined distance or more, the time required for the data optimization processing is reduced.

【0040】同図において、ステップS930で処理を
スタートすると、ステップS931で記録されている画
像のファイルのNOを1とし、ステップS932へと移
行し、ステップS931で指定したファイルが存在する
か否かを判別する。指定されたファイルが存在しない場
合には、後述のステップS937の処理へと移行する。
指定されたファイルが存在する場合には、ステップS9
33、934へと進み、そのファイルを構成するデータ
領域に不連続領域が存在するか否かを判定し、不連続領
域が存在しない場合には、ステップS937の処理へと
進む。
In the figure, when the processing is started in step S930, the number of the file of the image recorded in step S931 is set to 1, and the process proceeds to step S932 to determine whether or not the file specified in step S931 exists. Is determined. If the specified file does not exist, the flow shifts to the processing in step S937 described later.
If the specified file exists, step S9
The process proceeds to steps 33 and 934, where it is determined whether or not there is a discontinuous region in the data region constituting the file. If there is no discontinuous region, the process proceeds to step S937.

【0041】ステップS934で、不連続領域が存在す
る場合には、ステップS935へと移行し、記録媒体上
において、不連続部分の相対距離が所定の距離THより
離れているか否かを判定し、所定の距離以上離れている
場合のみステップS936へと移行して映像ファイルの
データ最適化を実行し、ステップS937へと移行す
る。ステップS935で、不連続部分の相対距離が所定
の距離TH以下であった場合には、データ最適化処理を
行わずに、ステップS937へと移行する。
If it is determined in step S934 that there is a discontinuous area, the flow advances to step S935 to determine whether or not the relative distance of the discontinuous portion is greater than a predetermined distance TH on the recording medium. Only when the distance is equal to or more than the predetermined distance, the process shifts to step S936 to execute data optimization of the video file, and shifts to step S937. If the relative distance of the discontinuous portion is less than or equal to the predetermined distance TH in step S935, the process proceeds to step S937 without performing the data optimization process.

【0042】ステップS937の処理においては、ファ
イルNOに1を加えて次のファイルを指定し、ステップ
S938へと進み、記録媒体上の全てのファイルについ
てデータ最適化処理の要否の判定あるいはデータ最適化
処理が行われたか否かを判定し、すべてのファイルに付
いて処理が終了した場合には、ステップS939へと進
んでこのサブルーチンを終了し、まだ未処理のファイル
が存在する場合には、ステップS932の処理へと戻
り、上記の処理を繰り返し行う。
In the process of step S937, 1 is added to the file number to designate the next file, and the flow advances to step S938 to determine whether data optimization processing is necessary for all files on the recording medium or to determine whether data optimization is necessary. It is determined whether or not the conversion processing has been performed. If the processing has been completed for all the files, the process proceeds to step S939 to end this subroutine. Returning to the processing of step S932, the above processing is repeated.

【0043】(第6実施形態)本実施形態もデータ最適
化処理を効率よく、撮影動作に支障を来たさないよう
に。一度にあまり多くの時間をかけずに、分割して行う
ようにしたものである。本実施形態では、一回のデータ
最適化処理ごとに、全てのファイルを処理せず、1回に
所定回数(本実施形態では3回)づつ行うようにしたも
のである。
(Sixth Embodiment) This embodiment also efficiently performs data optimization processing so as not to disturb the photographing operation. It does not take too much time at one time, it is a division. In the present embodiment, all the files are not processed for each data optimization process, but are performed a predetermined number of times (three times in the present embodiment).

【0044】図11に本実施形態における処理を示すフ
ローチャートを示す。同図において、図10の第5の実
施形態と同様の処理を行うステップには、同一の符号を
付し、その説明を省略する。
FIG. 11 is a flowchart showing the processing in this embodiment. In the figure, steps for performing the same processing as in the fifth embodiment in FIG. 10 are denoted by the same reference numerals, and description thereof will be omitted.

【0045】同図のフローチャートにおいて、図10の
フローチャートと異なるのは、ステップS951、ステ
ップ957、ステップS958の処理のみである。
The flowchart of FIG. 11 differs from the flowchart of FIG. 10 only in the processing of steps S951, 957, and S958.

【0046】ステップS951では、データ最適化処理
を行うファイル数をカウントするカウンタに1を入力す
る。ステップS932〜ステップS936の処理は図1
0と同様である。そしてステップS957では、ファイ
ルNOを1インクリメントするとともに、カウンタの内
容も1インクリメントする。
In step S951, 1 is input to a counter for counting the number of files for which data optimization processing is performed. The processing in steps S932 to S936 is the same as that in FIG.
Same as 0. In step S957, the file number is incremented by one and the content of the counter is also incremented by one.

【0047】続いてステップS958で、データ最適化
処理の対象となったファイル数、すなわちカウンタの内
容が4になったなら、サブルーチンを抜け、メインルー
チンへと復帰する。尚、ステップS958内の設定回数
を変更することにより、1回にデータ最適化処理を行う
ファイル数を変更することができる。
Subsequently, in step S958, when the number of files subjected to the data optimization processing, that is, the content of the counter becomes 4, the process exits the subroutine and returns to the main routine. By changing the number of times set in step S958, the number of files for which data optimization processing is performed at one time can be changed.

【0048】(第7実施形態)次に本発明における第7
の実施形態について説明する。図12において、図8に
示す第5の実施形態と同一構成部分については、同一符
号を用いてその説明を省略する。
(Seventh Embodiment) Next, the seventh embodiment of the present invention will be described.
An embodiment will be described. 12, the same components as those of the fifth embodiment shown in FIG. 8 are denoted by the same reference numerals, and the description thereof will be omitted.

【0049】同図において、第8図と異なるのは、デー
タ圧縮回路102の出力側に符号量測定回路1001が
設けられ、その結果がマイコン104へと供給されるよ
うになっている点と、最適化実行スイッチ1002が設
けられ、操作者の意思でデータ最適化処理を実行し得る
ようにした点である。またハードディスク103の空き
領域の残量はマイコン104にて常時管理されている。
8 differs from FIG. 8 in that a code amount measuring circuit 1001 is provided on the output side of the data compression circuit 102 and the result is supplied to the microcomputer 104. The point is that an optimization execution switch 1002 is provided so that the data optimization processing can be executed by the operator's intention. Further, the remaining amount of the free space of the hard disk 103 is constantly managed by the microcomputer 104.

【0050】符号量測定回路1001は、データ圧縮回
路102より出力される出力信号より、現在の記録デー
タレートを判別してマイコン104へと供給するととも
に、ハードディスク103の空き容量を比較し、記録残
量時間を演算し、キャラクタジェネレータ107を介し
てディスプレイ109に表示するとともに、その残量時
間に応じて操作者にデータ最適化処理を促す警告、メッ
セージ等を表示するものである。
The code amount measuring circuit 1001 determines the current recording data rate from the output signal output from the data compression circuit 102, supplies the current recording data rate to the microcomputer 104, compares the free space of the hard disk 103, and determines the remaining recording capacity. The amount time is calculated and displayed on the display 109 via the character generator 107, and a warning, a message, or the like is displayed to prompt the operator to perform a data optimization process according to the remaining time.

【0051】図15(a),(b)は、それぞれディス
ク残量、最適化を促すメッセージを表示したディスプレ
イ画面をそれぞれ示すものである。
FIGS. 15 (a) and 15 (b) show display screens each displaying a message for prompting the user to optimize the remaining capacity of the disk.

【0052】図13は、本実施形態の処理を示すフロー
チャートである。同図において、ステップS1101で
処理をスタートすると、ステップS1102で,図15
(a)に示すように、ハードディスク103上の連続空
き領域からハードディスク残量表示を行い、ステップS
1103で映像選択スイッチ105の状態を判別する。
FIG. 13 is a flowchart showing the processing of this embodiment. Referring to FIG. 15, when the process is started in step S1101, the process proceeds to step S1102 in FIG.
As shown in (a), the hard disk remaining amount is displayed from the continuous free space on the hard disk 103, and step S
At 1103, the state of the video selection switch 105 is determined.

【0053】ステップS1103で、映像選択スイッチ
105がオンなら、ステップS1105で選択する映像
情報の番号を増加し、ステップS1106で新たな映像
情報の番号を表示し、ステップS1109へと移行す
る。
If the video selection switch 105 is turned on in step S1103, the number of the video information selected in step S1105 is increased, the new video information number is displayed in step S1106, and the flow shifts to step S1109.

【0054】ステップS1103で映像選択スイッチ1
05がオフであれば、ステップS1104へと移行し、
映像消去スイッチ106の状態を判別する。
In step S1103, the video selection switch 1
If 05 is off, the process proceeds to step S1104,
The state of the video erase switch 106 is determined.

【0055】ステップS1104で映像消去スイッチ1
06がオフならそのままステップS1109へと移行
し、映像消去スイッチ106がオンならステップS11
07へと移行し、現在の映像番号の映像情報を消去し、
ステップS1108で映像情報を消去中であることを表
示し、ステップS1109へと移行する。
In step S1104, the video erase switch 1
If 06 is off, the process directly proceeds to step S1109, and if the video erase switch 106 is on, the process proceeds to step S11.
07, delete the video information of the current video number,
In step S1108, it is displayed that the video information is being deleted, and the flow shifts to step S1109.

【0056】ステップS1109で、不連続のデータ領
域を検出し、ステップS1110で不連続領域が存在し
なければ、ステップS1102へと復帰し、不連続領域
が存在する場合には、ステップS1111に移行して電
源の状態を検知し、AC電源が使用されている場合、及
びAC電源でなくバッテリー電源であって且つステップ
S1112で電源電圧が所定値以上あると判定された場
合には、ステップS1113へと移行してデータ最適化
処理を実行した場合のハードディスク103の空き容量
残量を推定し、ステップS1114でデータ最適化処理
の実行を促す表示を行う(図15(b))。
In step S1109, a discontinuous data area is detected. If no discontinuous area exists in step S1110, the process returns to step S1102. If a discontinuous area exists, the process proceeds to step S1111. If the power supply state is detected and the AC power supply is used, and if the power supply is not the AC power supply but the battery power supply and it is determined in step S1112 that the power supply voltage is equal to or higher than the predetermined value, the process proceeds to step S1113. Estimate the remaining free space of the hard disk 103 in the case where the process has been shifted and the data optimization process has been executed, and display a message prompting the execution of the data optimization process in step S1114 (FIG. 15B).

【0057】続いてステップS1115で、操作者がデ
ータ最適化処理の実行を行うための最適化実行スイッチ
1002の状態を判別し、スイッチが操作されていた場
合には、ステップS1116でデータ最適化処理を行
い、ステップS1117で、データ最適化処理を実行中
であることを表示し、ステップS1102へと復帰す
る。
Subsequently, in step S1115, the state of the optimization execution switch 1002 for the operator to execute data optimization processing is determined. If the switch has been operated, the data optimization processing is performed in step S1116. Is performed, and at step S1117, it is displayed that the data optimizing process is being executed, and the process returns to step S1102.

【0058】またステップS1115で最適化実行スイ
ッチ1002が操作されていない場合、ステップS11
12でバッテリー電源電圧が所定値に満たない場合に
は、データ最適化処理を行わずにステップS1102へ
と復帰する。
If the optimization execution switch 1002 has not been operated in step S1115, step S11
If the battery power supply voltage is less than the predetermined value at 12, the process returns to step S1102 without performing the data optimization process.

【0059】図14は、データ最適化処理の動作及び残
量表示を説明するための図である。同図(a)は、映像
1がハードディスク103上のセクタ11〜16を使用
して記録されており、映像2がセクタ17、18、21
を使用して記録され、映像3がセクタ22〜25を使用
して記録されている状態を示している。そしてセクタ残
量は、27セクタであるとする。
FIG. 14 is a diagram for explaining the operation of the data optimization process and the display of the remaining amount. FIG. 3A shows that the video 1 is recorded using the sectors 11 to 16 on the hard disk 103, and the video 2 is recorded on the sectors 17, 18 and 21.
And the video 3 is recorded using the sectors 22 to 25. It is assumed that the remaining sector is 27 sectors.

【0060】ここで同図(b)に示すように、映像2を
消去することにより、セクタ17、18、21に空きセ
クタが生じる。
Here, as shown in FIG. 11B, by erasing the video 2, empty sectors are generated in the sectors 17, 18, and 21.

【0061】この状態で新たに映像4の記録を行った場
合には、同図(c)に示すように、映像2の消去後の空
き領域を使用せず、ハードディスク103上の記録の最
後尾に付け加える形で記録が行われる。同図では、セク
タ23〜27からなる5セクタからなる映像4が記録さ
れており、新たな記録はそのアクセスの効率から考えて
ハードディスク103上の最後尾に追加する形で行われ
る。
When video 4 is newly recorded in this state, as shown in FIG. 3C, the empty area after erasure of video 2 is not used, and the end of the recording on the hard disk 103 is not used. A record is made in addition to. In the figure, a video 4 consisting of five sectors, ie, sectors 23 to 27, is recorded, and new recording is performed by adding it to the end of the hard disk 103 in consideration of the access efficiency.

【0062】その理由は、データを常に記録済セクタの
最後尾から続けて記録するのは、連続する空き領域に記
録を行ってアクセスタイムを短くするようにするためで
あり、データの途中が消去されたとき、ここに新たに記
録情報を書き込もうとすると、新たに記録する画像情報
がその領域に入りきれない場合は、そこから他の空き領
域にピックアップを移動しなければならないため、アク
セスタイムが長くなり、記録を効率よく行うことができ
ないからである。したがって、残量も同図(b)に示す
ように、映像2を消去しても、途中の空き領域は含め
ず、27セクタのまま表示する。
The reason why the data is always recorded continuously from the end of the recorded sector is to record the data in a continuous empty area to shorten the access time, and erase the data in the middle. If you try to write new record information here, and the image information to be newly recorded cannot fit in that area, you must move the pickup from there to another free area, so the access time This is because it becomes longer and recording cannot be performed efficiently. Therefore, as shown in FIG. 3B, even when the video 2 is erased, the remaining space is displayed as 27 sectors without including the empty area in the middle.

【0063】この状態で、同図(c)に示すように新た
に映像4の記録を行った場合には、映像2の消去後の空
き領域を使用せず、ハードディスク103上の記録の最
後尾に付け加える形で記録が行われる。同図では、セク
タ23〜27からなる5セクタからなる映像4が記録さ
れており、その結果残りセクタは22セクタと表示され
ている。このように、記録済み領域に、消去によって空
き領域が生じても、これを表示するセクタ残量には含め
ない。
In this state, when a new video 4 is recorded as shown in FIG. 9C, the free space after the erasure of the video 2 is not used, and the end of the recording on the hard disk 103 is not used. A record is made in addition to. In the figure, a video 4 consisting of five sectors, ie, sectors 23 to 27, is recorded, and as a result, the remaining sector is displayed as 22 sectors. As described above, even if a vacant area is created in the recorded area by erasing, this is not included in the remaining sector amount to be displayed.

【0064】ここで、データ並べ替えにより、空きセク
タのデータを前づめし、データ最適化処理を行った場合
を同図(d)に示す。映像2を消去した空きセクタに映
像3、映像4の記録セクタをシフトし、空き領域が埋め
られている。これによって、実質的にセクタ残量が増加
し、表示も25セクタに変化する。
FIG. 9D shows a case where the data in the empty sector is prearranged by data rearrangement and the data optimization processing is performed. The recording sectors of the video 3 and the video 4 are shifted to the empty sector where the video 2 is erased, and the empty area is filled. As a result, the sector remaining amount substantially increases, and the display also changes to 25 sectors.

【0065】以上のように、映像情報の一部を消去する
ことにより、途中に空きセクタができた場合、この領域
はセクタ残量表示に含めず、データ最適化処理を行った
後は、空きセクタが増加したことを表示するようにした
ので、操作者に誤解を与えることを防止し、常にアクセ
スタイムの短い操作性、信頼性の良好なカメラを提供す
ることができる。
As described above, if an empty sector is created on the way by erasing a part of the video information, this area is not included in the remaining sector display, and after performing the data optimization process, Since the fact that the number of sectors has been increased is displayed, it is possible to prevent the operator from being misunderstood and to provide a camera with short access time and good operability and good reliability.

【0066】なお、各実施の形態での記録媒体としては
磁気記録のハードディスク103を使用したが、その他
光ディスク、光磁気ディスク、磁気テープ、フラッシュ
メモリ、RAMを用いてもよい。
Although the hard disk 103 of magnetic recording is used as a recording medium in each embodiment, other optical disks, magneto-optical disks, magnetic tapes, flash memories, and RAMs may be used.

【0067】[0067]

【発明の効果】以上説明したように、本発明によれば、
映像データ又は映像情報の消去時、電源投入時または電
源切断時などに、記録媒体上の映像データ又は映像情報
を再配置して最適化を逐次行うことにより、動画の消去
と記録を繰り返しても、映像データ又は映像情報が断片
化することがなく、記録媒体上に連続した記録スペース
を確保することができ、また記録された映像データ又は
映像情報も常に連続的に保存される。このため記録媒体
の性能を十分引き出すことができ、高データレートで高
画質な動画像を高速に記録・再生することができる効果
がある。
As described above, according to the present invention,
When erasing video data or video information, turning on the power or turning off the power, etc., by rearranging the video data or video information on the recording medium and performing optimization sequentially, even if the erasure and recording of the moving image are repeated In addition, a continuous recording space can be secured on a recording medium without fragmentation of video data or video information, and recorded video data or video information is always continuously stored. Therefore, the performance of the recording medium can be sufficiently brought out, and there is an effect that a high-quality moving image at a high data rate can be recorded and reproduced at a high speed.

【0068】さらに、再配置が行われている状態を表示
することにより、使用者は映像記録装置の状態が的確に
把握でき、使い勝手の優れた映像記録装置を実現できる
効果もある。
Further, by displaying the state in which the rearrangement is performed, the user can accurately grasp the state of the video recording device, and there is an effect that a video recording device excellent in usability can be realized.

【0069】また、請求項13〜15の発明によれば、
映像情報最適化処理中の電源切れを防止することができ
る。
According to the invention of claims 13 to 15,
Power outage during the video information optimizing process can be prevented.

【0070】また、請求項16〜17の発明によれば、
アクセスタイムが長くなるという不都合がある部分にの
み映像情報最適化処理を施すことができ、最適化処理の
効率化と時間の節減を図ることができる。
According to the invention of claims 16 and 17,
The video information optimizing process can be performed only on the portion where the access time becomes inconvenient, so that the optimizing process can be made more efficient and time can be saved.

【0071】また、請求項18の発明によれば、一回の
最適化処理に要する時間を短くでき、撮影動作に支障が
生じないようにすることができる。
Further, according to the eighteenth aspect of the present invention, the time required for one optimization process can be shortened, so that no trouble occurs in the photographing operation.

【0072】また、請求項19〜21の発明によれば、
記録媒体の記録可能残量を的確に把握可能ならしめると
共に、アクセスタイムを長くすることがない映像情報最
適化処理を施すことを可能にする。
According to the nineteenth to twenty-first aspects,
It is possible to accurately grasp the recordable remaining amount of a recording medium and to perform a video information optimizing process without lengthening an access time.

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

【図1】本発明の第1の実施の形態を示す構成図であ
る。
FIG. 1 is a configuration diagram showing a first embodiment of the present invention.

【図2】本発明の第1の実施の形態の動作を示す構成図
である。
FIG. 2 is a configuration diagram showing an operation of the first exemplary embodiment of the present invention.

【図3】本発明の第1の実施の形態のアルゴリズムを示
すフローチャートである。
FIG. 3 is a flowchart illustrating an algorithm according to the first embodiment of this invention.

【図4】本発明の第1の実施の形態の表示動作を示す構
成図である。
FIG. 4 is a configuration diagram illustrating a display operation according to the first embodiment of the present invention.

【図5】本発明の第2、第3の実施の形態を示す構成図
である。
FIG. 5 is a configuration diagram showing second and third embodiments of the present invention.

【図6】本発明の第2の実施の形態のアルゴリズムを示
すフローチャートである。
FIG. 6 is a flowchart illustrating an algorithm according to the second embodiment of the present invention.

【図7】本発明の第3の実施の形態のアルゴリズムを示
すフローチャートである。
FIG. 7 is a flowchart illustrating an algorithm according to a third embodiment of the present invention.

【図8】本発明の第4の実施の形態を示す構成図であ
る。
FIG. 8 is a configuration diagram showing a fourth embodiment of the present invention.

【図9】本発明の第4の実施の形態のアルゴリズムを示
すフローチャートである。
FIG. 9 is a flowchart illustrating an algorithm according to a fourth embodiment of the present invention.

【図10】本発明の第5の実施の形態のアルゴリズムを
示すフローチャートである。
FIG. 10 is a flowchart illustrating an algorithm according to a fifth embodiment of the present invention.

【図11】本発明の第6の実施の形態のアルゴリズムを
示すフローチャートである。
FIG. 11 is a flowchart illustrating an algorithm according to a sixth embodiment of the present invention.

【図12】本発明の第7の実施の形態を示す構成図であ
る。
FIG. 12 is a configuration diagram showing a seventh embodiment of the present invention.

【図13】本発明の第7の実施の形態のアルゴリズムを
示すフローチャートである。
FIG. 13 is a flowchart illustrating an algorithm according to a seventh embodiment of the present invention.

【図14】本発明の第7の実施の形態の残量表示を説明
するための図である。
FIG. 14 is a diagram illustrating a remaining amount display according to a seventh embodiment of the present invention.

【図15】本発明の第7の実施の形態の残量表示例を示
す図である。
FIG. 15 is a diagram illustrating a display example of a remaining amount according to the seventh embodiment of the present invention.

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

103 ハードディスク 104 マイコン 105 映像選択スイッチ 106 映像消去スイッチ 107 キャラクタジェネレータ 109 ディスプレイ 111 メモリ 501 主電源スイッチ 1001 符号量測定回路 103 hard disk 104 microcomputer 105 video selection switch 106 video deletion switch 107 character generator 109 display 111 memory 501 main power switch 1001 code amount measuring circuit

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 入力される映像データを記録媒体に記録
する映像記録装置において、 上記記録媒体上に記録された映像データの再配置を行う
制御手段を設けたことを特徴とする映像記録装置。
1. A video recording apparatus for recording input video data on a recording medium, further comprising control means for rearranging the video data recorded on the recording medium.
【請求項2】 上記制御手段は、上記記録媒体上で映像
データと映像データとの間に空きスペースが生じた場合
に、この空きスペースを埋めるように上記再配置を行う
ことにより、各映像データが連続して配置されるように
することを特徴とする請求項1記載の映像記録装置。
2. The method according to claim 1, wherein, when an empty space is generated between the video data and the video data on the recording medium, the control means performs the rearrangement so as to fill the empty space. 2. The video recording apparatus according to claim 1, wherein the video recording devices are arranged continuously.
【請求項3】 上記制御手段は、上記記録された映像デ
ータを消去する指示に基づいて消去を行った後、上記再
配置を行うことを特徴とする請求項1記載の映像記録装
置。
3. The video recording apparatus according to claim 1, wherein said control means performs said rearrangement after erasing based on an instruction to erase said recorded video data.
【請求項4】 上記制御手段は、電源投入時に上記再配
置を行うことを特徴とする請求項1記載の映像記録装
置。
4. The video recording apparatus according to claim 1, wherein said control means performs said rearrangement when power is turned on.
【請求項5】 上記制御手段は、電源切断時に上記再配
置を行うことを特徴とする請求項1記載の映像記録装
置。
5. The video recording apparatus according to claim 1, wherein said control means performs said rearrangement when power is turned off.
【請求項6】 上記再配置動作に関する情報を表示する
表示手段を設けたことを特徴とする請求項1記載の映像
記録装置。
6. The video recording apparatus according to claim 1, further comprising display means for displaying information on the rearrangement operation.
【請求項7】 メモリ手段に記録された映像データの再
配置を行う処理を実行するためのプログラムを記録した
コンピュータ読み取り可能な記録媒体。
7. A computer-readable recording medium on which a program for executing a process of rearranging video data recorded in a memory means is recorded.
【請求項8】 上記再配置を行う処理は、上記メモリ手
段上で映像データと映像データとの間に空きスペースが
生じた場合に、この空きスペースを埋めるように上記再
配置を行うことにより、各映像データが連続して配置さ
れるようにすることを特徴とする請求項7記載のコンピ
ュータ読み取り可能な記録媒体。
8. The process of performing the rearrangement, when an empty space is generated between video data on the memory means, by performing the rearrangement so as to fill the empty space. 8. The computer-readable recording medium according to claim 7, wherein each video data is arranged continuously.
【請求項9】 上記再配置を行う処理は、上記記録され
た映像データを消去する指示に基づいて消去を行った
後、上記再配置を行うことを特徴とする請求項7記載の
コンピュータ読み取り可能な記録媒体。
9. The computer-readable recording method according to claim 7, wherein the rearrangement process performs the rearrangement after erasing based on the instruction to erase the recorded video data. Recording medium.
【請求項10】 上記再配置を行う処理は、電源投入時
に行うことを特徴とする請求項7記載のコンピュータ読
み取り可能な記録媒体。
10. The computer-readable recording medium according to claim 7, wherein the rearrangement process is performed when power is turned on.
【請求項11】 上記再配置を行う処理は、電源切断時
に行うことを特徴とする請求項7記載のコンピュータ読
み取り可能な記録媒体。
11. The computer-readable recording medium according to claim 7, wherein the rearrangement process is performed when power is turned off.
【請求項12】 上記再配置動作に関する情報を表示手
段に表示させる処理を実行するためのプログラムを記録
したことを特徴とする請求項7記載のコンピュータ読み
取り可能な記録媒体。
12. The computer-readable recording medium according to claim 7, wherein a program for executing a process of displaying information on the rearrangement operation on a display means is recorded.
【請求項13】 入力される映像情報を記録媒体に記録
する映像記録装置において、 上記記録媒体上に記録された映像情報の再配置を行うデ
ータ制御手段と、 装置本体の電源状態を識別する識別手段と、 上記識別手段の識別結果に応じて上記データ制御手段に
よる映像情報再配置処理の実行を制御する制御手段とを
備えたことを特徴とする映像記録装置。
13. A video recording apparatus for recording input video information on a recording medium, comprising: data control means for rearranging the video information recorded on the recording medium; And a control means for controlling execution of the video information rearrangement process by the data control means according to the identification result of the identification means.
【請求項14】 請求項13記載の映像記録装置におい
て、 上記識別手段は、上記電源の種類を識別し、上記制御手
段は、上記電源がAC電源であるときに、上記映像情報
再配置処理を実行するように構成されていることを特徴
とする映像記録装置。
14. The video recording apparatus according to claim 13, wherein said identification means identifies a type of said power supply, and said control means executes said video information rearrangement processing when said power supply is an AC power supply. A video recording device configured to execute.
【請求項15】 請求項13記載の映像記録装置におい
て、 上記識別手段は、上記電源の種類及び残量を識別し、上
記制御手段は、上記電源がバッテリーであった場合に
は、その残量が所定レベル以上あるときに、上記映像情
報再配置処理を実行するように構成されていることを特
徴とする映像記録装置。
15. The video recording apparatus according to claim 13, wherein said identification means identifies a type and a remaining amount of said power source, and said control means determines a remaining amount of said battery when said power source is a battery. The video recording apparatus is configured to execute the video information rearrangement processing when is higher than a predetermined level.
【請求項16】 入力される映像情報を記録媒体に記録
する映像記録装置において、 上記記録媒体上に記録された映像情報の再配置を行うデ
ータ制御手段と、 上記記録媒体上のデータ記録済み領域とデータ未記録領
域の分布状態を識別する識別手段と、 上記識別手段の識別結果に基づいて上記データ制御手段
を制御し、互いに所定の距離範囲外において散在するデ
ータ記録済み領域についてのみ上記映像情報再配置処理
を実行する制御手段とを備えたことを特徴とする映像記
録装置。
16. A video recording apparatus for recording input video information on a recording medium, comprising: data control means for rearranging video information recorded on the recording medium; and a data recorded area on the recording medium. Identification means for identifying the distribution state of the data unrecorded area and the data control means based on the identification result of the identification means, and the video information only for data recorded areas scattered outside a predetermined distance range from each other. A video recording device comprising: a control unit that executes a rearrangement process.
【請求項17】 請求項16記載の映像記録装置におい
て、 上記記録媒体はハードディスクであることを特徴とする
映像記録装置。
17. The video recording apparatus according to claim 16, wherein the recording medium is a hard disk.
【請求項18】 入力される映像情報を記録媒体に記録
する映像記録装置において、 上記記録媒体上に記録された映像情報の再配置を行うデ
ータ制御手段と、 上記記録媒体上のデータ記録済み領域とデータ未記録領
域の分布状態を識別する識別手段と、 上記識別手段の識別結果に基づいて前記データ制御手段
を制御し、上記記録媒体上における上記映像情報再配置
を実行の対象となる領域を、所定範囲づつ複数に分割
し、上記映像情報再配置処理を複数回に分割して実行す
る制御手段とを備えたことを特徴とする映像記録装置。
18. A video recording apparatus for recording input video information on a recording medium, comprising: data control means for rearranging video information recorded on the recording medium; and a data recorded area on the recording medium. And identification means for identifying the distribution state of the data unrecorded area, and controlling the data control means based on the identification result of the identification means, and specifying an area on the recording medium on which the video information relocation is to be executed. A video recording apparatus, comprising: a control unit that divides the video information into a plurality of predetermined ranges and divides and executes the video information rearrangement processing a plurality of times.
【請求項19】 入力される映像情報を記録媒体に記録
する映像記録装置において、 上記記録媒体上に記録された映像情報の再配置を行うデ
ータ制御手段と、 上記記録媒体上のデータ記録済み領域とデータ未記録領
域の分布状態を識別する識別手段と、 上記識別手段の識別結果に基づいてデータ記録残量を表
示する表示手段と、 上記識別手段の識別結果に基づき、データ未記録領域が
連続する部分に相当する記録可能容量または時間を、記
録残量として表示させる制御手段とを備えたことを特徴
とする映像記録装置。
19. A video recording apparatus for recording input video information on a recording medium, comprising: data control means for rearranging video information recorded on the recording medium; and a data recorded area on the recording medium. Identification means for identifying the distribution state of the data unrecorded area; display means for displaying the remaining data recording capacity based on the identification result of the identification means; and data unrecorded area continuous based on the identification result of the identification means. And a control unit for displaying a recordable capacity or time corresponding to a portion to be recorded as a remaining recording capacity.
【請求項20】 請求項19記載の映像記録装置におい
て、 上記制御手段は、上記記録媒体上のデータを消去して形
成されたデータ未記録領域は前記記録残量に含めないよ
うにしたことを特徴とする映像記録装置。
20. The video recording apparatus according to claim 19, wherein said control means does not include a data unrecorded area formed by erasing data on said recording medium in said remaining recording amount. Characteristic video recording device.
【請求項21】 請求項19記載の映像記録装置におい
て、 上記制御手段は、上記記録媒体上のデータ記録済み領域
の最後尾以降の連続する記録領域を記録残量として表示
するようにしたことを特徴とする映像記録装置。
21. The video recording apparatus according to claim 19, wherein said control means displays a continuous recording area after the end of a data recorded area on said recording medium as a remaining recording amount. Characteristic video recording device.
JP14747098A 1997-05-30 1998-05-28 Video recording apparatus and computer-readable recording medium Expired - Fee Related JP4095165B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14747098A JP4095165B2 (en) 1997-05-30 1998-05-28 Video recording apparatus and computer-readable recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP14180097 1997-05-30
JP9-141800 1997-05-30
JP14747098A JP4095165B2 (en) 1997-05-30 1998-05-28 Video recording apparatus and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JPH1145518A true JPH1145518A (en) 1999-02-16
JP4095165B2 JP4095165B2 (en) 2008-06-04

Family

ID=26473968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14747098A Expired - Fee Related JP4095165B2 (en) 1997-05-30 1998-05-28 Video recording apparatus and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP4095165B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344863A (en) * 2001-05-14 2002-11-29 Olympus Optical Co Ltd Image pickup and recording device
JP2005332507A (en) * 2004-05-21 2005-12-02 Sony Corp Information processor, information processing method, and computer program
US7006757B2 (en) 1999-03-17 2006-02-28 Kabushiki Kaisha Toshiba Recording method of stream data and data structure thereof
JP2006195574A (en) * 2005-01-11 2006-07-27 Canon Inc Image recording apparatus and method, information processing apparatus and method, and program and storage medium
JP2009146565A (en) * 2009-03-27 2009-07-02 Hitachi Ltd Recording/reproducing device, recording device, and recording/reproducing method
US7689104B2 (en) 2005-02-07 2010-03-30 Hitachi, Ltd. Recording/playback device, recording device, and recording/playback method
JP2010192102A (en) * 2010-03-29 2010-09-02 Hitachi Ltd Information recording device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7006757B2 (en) 1999-03-17 2006-02-28 Kabushiki Kaisha Toshiba Recording method of stream data and data structure thereof
US7373075B1 (en) 1999-03-17 2008-05-13 Kabushiki Kaisha Toshiba Recording method of stream data and data structure thereof
JP2002344863A (en) * 2001-05-14 2002-11-29 Olympus Optical Co Ltd Image pickup and recording device
JP2005332507A (en) * 2004-05-21 2005-12-02 Sony Corp Information processor, information processing method, and computer program
JP2006195574A (en) * 2005-01-11 2006-07-27 Canon Inc Image recording apparatus and method, information processing apparatus and method, and program and storage medium
US7689104B2 (en) 2005-02-07 2010-03-30 Hitachi, Ltd. Recording/playback device, recording device, and recording/playback method
JP2009146565A (en) * 2009-03-27 2009-07-02 Hitachi Ltd Recording/reproducing device, recording device, and recording/reproducing method
JP2010192102A (en) * 2010-03-29 2010-09-02 Hitachi Ltd Information recording device

Also Published As

Publication number Publication date
JP4095165B2 (en) 2008-06-04

Similar Documents

Publication Publication Date Title
US8437623B2 (en) Recording apparatus and method
JP3691465B2 (en) Information recording medium for still images
JP4095165B2 (en) Video recording apparatus and computer-readable recording medium
JP2005005855A (en) Recording device
JP2012065087A (en) Video recording and reproducing apparatus, recording and reproducing method of the same, program of the same, and memory storing program
JP3420257B2 (en) Playback device
JP3211679B2 (en) Editing device and editing method
JP5814739B2 (en) Recording device
JP2005174390A (en) Recording device
KR100499587B1 (en) Method for managing bookmark data in optical disc driver
JP4719498B2 (en) Playback device
JP3530546B2 (en) Recording / playback device
JP2004171670A (en) Recording and reproducing device and recording and reproducing method
JP3666043B2 (en) Recording / reproducing method and apparatus, and editing method and apparatus
JP2005158151A (en) Information recording and reproducing device
JP2012156879A (en) Recording apparatus and reproducing apparatus
JP2005328154A (en) Recording apparatus, file dividing method, and program
KR100389855B1 (en) Method for recording and/or reproducing still pictures
JPH07184163A (en) Information recording medium, information reproduction device and information reproducing method
JP2002084499A (en) Device and method for recording/reproducing image and computer-readable storage medium
JP3800234B2 (en) Playback apparatus and playback method
JP4900444B2 (en) Image shooting device
JP4217545B2 (en) Data processing method
TWI442769B (en) Method applied to medium apparatus and associated medium apparatus
JP2005354451A (en) Recording method of picked-up image

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050517

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061102

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080205

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080307

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees