JP2005086737A - Recording apparatus and method, and imaging apparatus and method - Google Patents

Recording apparatus and method, and imaging apparatus and method

Info

Publication number
JP2005086737A
JP2005086737A JP2003319424A JP2003319424A JP2005086737A JP 2005086737 A JP2005086737 A JP 2005086737A JP 2003319424 A JP2003319424 A JP 2003319424A JP 2003319424 A JP2003319424 A JP 2003319424A JP 2005086737 A JP2005086737 A JP 2005086737A
Authority
JP
Japan
Prior art keywords
recording
data
hard disk
recorded
information
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
JP2003319424A
Other languages
Japanese (ja)
Other versions
JP4543641B2 (en
Inventor
Ryogo Ito
亮吾 伊藤
Shunji Okada
俊二 岡田
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2003319424A priority Critical patent/JP4543641B2/en
Publication of JP2005086737A publication Critical patent/JP2005086737A/en
Application granted granted Critical
Publication of JP4543641B2 publication Critical patent/JP4543641B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently perform data recording and reading of recorded data without any trouble such that recording or reproducing is delayed. <P>SOLUTION: A control section 20 discriminates the attributes of various data such as moving picture data or still picture data acquired through a camera part composed of an optical lens section 11, a photoelectric transducer section 12 and an image processing section 14, or an image input/output section 16 and a communication section 19 on the basis of an operating mode setting state or information added to the acquired data, and the control section 20 records data while specifying a data recording positions on a hard disk 33 on the basis of information indicating the present data recording state on the hard disk 33, so that data having the same attribute can be recorded side by side on the hard disk 33. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、例えば、記録装置部を備えたパーソナルコンピュータや携帯情報端末、ハードディスクレコーダなどの情報信号の記録機能を備えた装置、動画や静止画の撮像機能を備えたデジタルカメラなどの装置、および、これらの装置で用いられる方法に関する。   The present invention includes, for example, a personal computer or a personal digital assistant provided with a recording device unit, a device having a recording function of an information signal such as a hard disk recorder, a device such as a digital camera having a video or still image imaging function, and , And relates to methods used in these devices.

大容量かつランダムアクセスが可能な記録媒体として、ハードディスク、MO(Magneto Optical Disk)、PD(Phase changer rewritable Disk)、zip、SuperDiskなどの種々のものが提供されている。これらの記録媒体に対しては、例えば、パーソナルコンピュータや携帯情報端末などを通じて、静止画データ、動画データ、音声(音楽)データ、テキストデータなどの種々のデータを複数のファイルとして記録することができるようにされている。   Various recording media such as a hard disk, an MO (Magneto Optical Disk), a PD (Phase changer rewritable disk), a zip, and a SuperDisk are provided as recording media capable of large capacity and random access. Various data such as still image data, moving image data, audio (music) data, and text data can be recorded as a plurality of files on these recording media through, for example, a personal computer or a portable information terminal. Has been.

そして、大容量かつランダムアクセスが可能な記録媒体を用いる場合には、空き領域を迅速に検出し、情報信号を効率よく記録できるようにすることが重要となる。いくら記録容量が大きいからといって、空き領域の検出に時間がかかったのでは、情報信号を効率よく、かつ、適正に記録することはできない。   When using a large capacity and randomly accessible recording medium, it is important to detect a free area quickly and to record an information signal efficiently. No matter how large the recording capacity is, if it takes a long time to detect an empty area, the information signal cannot be recorded efficiently and properly.

このような点を考慮してなされた技術として、例えば、特許文献1(特開平9−259579号公報)には、比較的に記憶容量が大きく、かつ、ランダムアクセスが可能なディスク記録媒体に対して、静止画データを効率よく記録するようにするための技術が開示されている。   As a technique made in consideration of such points, for example, Patent Document 1 (Japanese Patent Laid-Open No. 9-259579) discloses a disk recording medium having a relatively large storage capacity and capable of random access. Thus, a technique for efficiently recording still image data is disclosed.

この特許文献1に記載の技術は、ディスク記録媒体の記録領域を、高解像度の静止画データの記録領域と、中解像度の静止画データの記憶領域と、低解像度の静止画データの記録領域との3つ記録領域に分割する。そして、記録しようとする静止画データの解像度に応じて、上述のように分割された記録領域の中から、今回、静止画データを記録する記録領域を決定し、その決定した記録領域において空き領域の検索を行って、静止画データの記録が可能な空き領域を見つけるようにするものである。   The technique described in Patent Document 1 includes a recording area of a disk recording medium, a recording area for high-resolution still image data, a storage area for medium-resolution still image data, and a recording area for low-resolution still image data. Are divided into three recording areas. Then, according to the resolution of the still image data to be recorded, a recording area for recording still image data is determined from the recording areas divided as described above, and a free area is determined in the determined recording area. Thus, an empty area where still image data can be recorded is found.

この特許文献1に開示された技術を用いることにより、空き領域を検索する記憶領域の範囲を、記録しようとする静止画データの解像度に応じて狭めた範囲とすることができるので、迅速な空き領域の検索が可能となり、静止画データを迅速にかつ効率よく記録媒体に記録することができるようにしている。   By using the technique disclosed in Patent Document 1, the range of the storage area for searching for the free area can be made narrow according to the resolution of the still image data to be recorded. The region can be searched, and still image data can be quickly and efficiently recorded on a recording medium.

上述の特許文献1は、以下の通りである。
特開平9−259579号公報
The above-mentioned Patent Document 1 is as follows.
JP-A-9-259579

ところで、大容量かつランダムアクセスが可能な記録媒体に記録する情報信号は、静止画データだけではなく、動画データや音声データ、その他の各種のデータが記録される。また、動画や静止画を撮像して記録するいわゆるデジタルカメラにおいても、上述した大容量かつランダムアクセスが可能な記録媒体を用い、静止画データ、動画データ、音声データなどの種々のデータを複数のファイルとして記録するようにすることが考えられている。   Incidentally, information signals to be recorded on a large-capacity and randomly accessible recording medium record not only still image data but also moving image data, audio data, and other various data. Also in a so-called digital camera that captures and records moving images and still images, the above-described large-capacity and randomly accessible recording medium is used, and various data such as still image data, moving image data, and audio data are stored in a plurality of ways. It is considered to record as a file.

このように、動画データ、静止画データ、音声データなどの属性が異なるデータを大容量の記録媒体に記録する場合においても、空き領域を迅速に検出し、情報信号を効率よく記録できるようにすると共に、目的とするデータを迅速に読み出して利用できるようにしなければならない。   As described above, even when data having different attributes such as moving image data, still image data, and audio data is recorded on a large-capacity recording medium, it is possible to quickly detect an empty area and efficiently record an information signal. At the same time, the target data must be quickly read out and used.

つまり、どのような属性のデータを記録する場合においても、空き領域を迅速に検索して、データを遅滞なく記録できるようにしなければならない。また、例えば、静止画データをいわゆるスライドショーのような態様で連続的に再生する場合を考えると、記録媒体上に点在する各ファイルを読み出す時間(シーク時間+読み出し時間)がかかり過ぎてしまうと、再生開始時刻に間に合わなくなり、再生に空白の時間が生じてしまう。このことは、異なるファイルとして記録された動画データや音声データを連続して再生する場合においても同様に生じる問題である。   That is, in recording data of any attribute, it is necessary to quickly search for a free area so that data can be recorded without delay. Further, for example, when considering still image data continuously reproduced in a so-called slide show mode, it takes too much time to read each file scattered on the recording medium (seek time + reading time). , The reproduction start time is not in time, and a blank time occurs in reproduction. This is a problem that also occurs when moving image data and audio data recorded as different files are continuously reproduced.

しかし、上述したハードディスクなどの大容量でかつランダムアクセスが可能な記録媒体は既に広く用いられており、データの書き込み読み出しを効率的に行うための新たな記録フォーマットを用いることは、従来の大容量記録媒体との互換性を確保する上でも好ましくない。   However, a large-capacity and random-accessible recording medium such as the hard disk described above has already been widely used, and using a new recording format for efficiently performing data writing / reading has a conventional large capacity. It is not preferable for ensuring compatibility with the recording medium.

以上のことにかんがみ、この発明は、データの記録、および、記録されたデータの読み出しを、記録や再生の遅延を招くなどの不都合を生じさせることなく効率よく行えるようにする装置、方法を提供することを目的とする。   In view of the above, the present invention provides an apparatus and method for efficiently recording data and reading the recorded data without causing inconveniences such as recording and reproduction delays. The purpose is to do.

上記課題を解決するため、請求項1に記載の発明の記録装置は、
記録媒体に記録すべき情報信号の入力を受け付ける受付手段と、
前記受付手段を通じて受け付ける前記情報信号の属性を判別する判別手段と、
前記判別手段により判別された前記属性に基づいて、同じ属性を有する情報信号が隣接するように、前記受付手段を通じて受け付けた前記情報信号についての前記記録媒体への記録を制御する記録制御手段と
を備えることを特徴とする。
In order to solve the above problems, a recording apparatus according to the first aspect of the present invention provides:
Receiving means for receiving an input of an information signal to be recorded on the recording medium;
Discriminating means for discriminating attributes of the information signal received through the accepting means;
Recording control means for controlling recording of the information signal received through the receiving means on the recording medium so that information signals having the same attribute are adjacent to each other based on the attribute determined by the determining means; It is characterized by providing.

この請求項1に記載の発明の記録装置によれば、受付手段を通じて受け付けられた情報信号の属性が判別手段により判別され、この判別結果に基づいて、同じ属性の情報信号が隣接するように、記録制御手段により制御されて記録される。したがって、動画データを記録媒体に記録する場合、既に動画データが記録されている場合には、その近傍に新たな動画データが記録するようにされる。   According to the recording apparatus of the first aspect of the present invention, the attribute of the information signal accepted through the accepting unit is discriminated by the discriminating unit, and on the basis of the discrimination result, the information signals having the same attribute are adjacent to each other. Recording is performed under the control of the recording control means. Therefore, when moving image data is recorded on a recording medium, when moving image data is already recorded, new moving image data is recorded in the vicinity thereof.

同様に、静止画データを記録媒体に記録する場合、既に静止画データが記録されている場合には、その近傍に新たな静止画データが記録するようにされ、音声データを記録媒体に記録する場合、既に音声データが記録されている場合には、その近傍に新たな音声データが記録するようにされる。   Similarly, when recording still image data on a recording medium, if still image data has already been recorded, new still image data is recorded in the vicinity thereof, and audio data is recorded on the recording medium. In this case, when audio data has already been recorded, new audio data is recorded in the vicinity thereof.

これにより、同じ属性の情報信号は、隣接するように記録されるので、空き領域の管理を簡単かつ確実に行うようにすることができると共に、同じ属性のデータを読み出す場合であっても、記録位置が隣接しているのシーク時間が長くかかり、再生に空白の時間を生じさせてしまうなどという不都合を生じさせることもないようにできる。しかも、従来からの記録フォーマットを変更するなどの手続も要らず、従来からの記録媒体についてもそのまま利用することができるようにされる。   As a result, since information signals having the same attribute are recorded so as to be adjacent to each other, it is possible to easily and surely manage the free space, and even when reading data having the same attribute, It is possible to prevent the inconvenience such as a long seek time for adjacent positions and a blank time for reproduction. Moreover, there is no need for a procedure for changing the conventional recording format and the conventional recording medium can be used as it is.

この発明によれば、データの記録を効率的に行うことができると共に、記録媒体上のシーク動作に要する時間を低減し、リアルタイム性の要求される連続するデータの読み出しを破綻させることなく適正に行うようにすることができる。すなわち、記録媒体に記録されるデータを効率よく正確に管理することができる。これにより、例えば、記録済みである複数のファイル(動画や静止画など)を決められた順番どおりに再生していくいわゆる「スライドショー」のようなアプリケーションを適正に実現することができる。   According to the present invention, it is possible to efficiently record data, reduce the time required for the seek operation on the recording medium, and properly perform continuous data reading that requires real-time performance without failing. Can be done. That is, the data recorded on the recording medium can be managed efficiently and accurately. Thereby, for example, an application such as a so-called “slide show” that reproduces a plurality of recorded files (moving images, still images, etc.) in a predetermined order can be properly realized.

以下、図を参照しながらこの発明による装置、方法の一実施の形態について説明する。以下に説明する実施の形態においては、記録媒体として着脱可能なハードディスクと、半導体メモリーが利用されて形成されたメモリーカードとの利用が可能な撮像装置であって、静止画データ、動画データ、音声データ、テキストデータ、その他種々のキャラクタデータなどの属性(種類)の異なる情報信号を記録媒体に記録することができると共に、記録媒体に記録されている静止画データ、動画データ、音声データテキストデータ、その他種々のキャラクタデータなどの属性の異なる情報信号を再生することが可能なデジタルビデオカメラ(カメラ一体型ビデオテープレコーダ)に適用した場合を例にして説明する。   Hereinafter, an embodiment of an apparatus and a method according to the present invention will be described with reference to the drawings. In the embodiments described below, an imaging device that can use a removable hard disk as a recording medium and a memory card formed using a semiconductor memory, still image data, moving image data, audio Information signals having different attributes (types) such as data, text data, and other various character data can be recorded on a recording medium, and still image data, moving image data, audio data text data recorded on the recording medium, A case where the present invention is applied to a digital video camera (camera integrated video tape recorder) capable of reproducing information signals having different attributes such as various character data will be described as an example.

[デジタルビデオカメラの構成と基本的な動作について]
まず、この実施の形態のデジタルビデオカメラについて説明する。この実施の形態のデジタルビデオカメラは、画像を撮像して、撮像することにより得た画像データを記録媒体に記録する撮像モードと、画像入出力部16や音声入出力部17あるいは通信部19を通じて供給を受けたデータを記録媒体に記録したり、記録媒体に記録されているデータを再生したりするVTRモードとを備えたものである。
[Configuration and basic operation of digital video camera]
First, the digital video camera of this embodiment will be described. The digital video camera according to this embodiment captures an image and records an image data obtained by capturing the image on a recording medium, and the image input / output unit 16, the audio input / output unit 17, or the communication unit 19. It has a VTR mode in which supplied data is recorded on a recording medium and data recorded on the recording medium is reproduced.

また、撮像モードは、動画を撮像すると共に、これと同時に収音するようにした音声とを記録媒体に記録する動画撮像モードと、静止画を撮像する静止画撮像モードとを備えている。また、VTRモード時においては、記録ボタンスイッチを操作することにより供給されるデータの記録が行われるようにされ、再生ボタンスイッチを操作することにより記録媒体に記録されている目的とするデータを再生することができるものである。   In addition, the imaging mode includes a moving image imaging mode in which a moving image is imaged and a sound that is picked up at the same time is recorded on a recording medium, and a still image imaging mode in which a still image is imaged. In the VTR mode, the supplied data is recorded by operating the record button switch, and the target data recorded on the recording medium is reproduced by operating the playback button switch. Is something that can be done.

図1は、この実施の形態のデジタルビデオカメラについて説明するためのブロック図である。図1に示すように、この実施の形態のデジタルビデオカメラは、光学レンズ部11、光電変換部12、カメラ機能制御部13、画像信号処理部14、LCD(Liquid Crystal Display)15、画像入出力部16、音声入出力部17、音声信号処理部18、通信部19、制御部20、操作入力部31、ハードディスクドライブ(ハードディスク装置)32、メモリーカード34を備えたものである。   FIG. 1 is a block diagram for explaining a digital video camera according to this embodiment. As shown in FIG. 1, the digital video camera of this embodiment includes an optical lens unit 11, a photoelectric conversion unit 12, a camera function control unit 13, an image signal processing unit 14, an LCD (Liquid Crystal Display) 15, an image input / output. 16, an audio input / output unit 17, an audio signal processing unit 18, a communication unit 19, a control unit 20, an operation input unit 31, a hard disk drive (hard disk device) 32, and a memory card 34.

制御部20は、この実施の形態のデジタルビデオカメラの各部を制御するものであり、CPU(Central Processing Unit)21、ROM(Read Only Memory)22、RAM(Random Access Memory)23、EEPROM(Electrical Erasable and Programmable ROM)24がシステムバス25を通じて接続され、マイクロコンピュータの構成とされたものである。   The control unit 20 controls each unit of the digital video camera according to the present embodiment, and includes a CPU (Central Processing Unit) 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, an EEPROM (Electrical Erasable). and Programmable ROM) 24 are connected through a system bus 25 to form a microcomputer.

ここで、ROM22は、このデジタルビデオカメラのCPU21により実行される各種の処理プログラムや各種の処理に用いられる情報等が予め記録されたものである。RAM23は、各処理において途中結果を一時記憶するなど、主に作業領域として用いられるものである。EEPROM24は、いわゆる不揮発性メモリーであり、このデジタルビデオカメラの電源が落とされた場合にも保持しておく必要のあるデータ、例えば各種の設定パラメータなどを記憶保持するものである。   Here, the ROM 22 is prerecorded with various processing programs executed by the CPU 21 of the digital video camera, information used for various processing, and the like. The RAM 23 is mainly used as a work area, such as temporarily storing intermediate results in each process. The EEPROM 24 is a so-called nonvolatile memory, and stores and holds data that needs to be held even when the power of the digital video camera is turned off, such as various setting parameters.

また、操作入力部31は、動画撮影モード、静止画撮影モード、VTRモードなどの動作モードを切り換えるモード切り換えキー、静止画の撮影のためのシャッターキー、動画を撮影するための撮影開始キー、録画キー、再生キー、停止キー、早送りキー、早戻しキーなどの種々の操作キーや機能キー、メッセージなどのテキストデータやキャラクタデータなどを入力するための操作キーなどを備え、ユーザーからの操作入力を受け付けて、受け付けた操作入力に応じた電気信号を制御部20に供給することができるものである。   The operation input unit 31 also has a mode switching key for switching operation modes such as a moving image shooting mode, a still image shooting mode, and a VTR mode, a shutter key for shooting a still image, a shooting start key for shooting a movie, a recording Various operation keys such as keys, play key, stop key, fast forward key, fast reverse key, function keys, operation keys for entering text data such as messages, character data, etc. The electrical signal according to the received operation input can be received and supplied to the control unit 20.

これにより制御部20は、ユーザーからの操作入力に応じて、目的とする処理を行うためのプログラムをROM22から読み出して実行し、各部を制御することによって、この実施の形態のデジタルビデオカメラがユーザーからの指示に応じた処理を行ったり、操作キーを通じて入力されたテキストデータなどの情報を記録媒体に記録したりするなどのことができるようにしている。   Accordingly, the control unit 20 reads out and executes a program for performing a target process from the ROM 22 in accordance with an operation input from the user, and controls each unit, so that the digital video camera of this embodiment can be operated by the user. It is possible to perform processing according to an instruction from the user or record information such as text data input through the operation keys on a recording medium.

そして、この実施の形態のデジタルビデオカメラは、記録媒体として、ハードディスクドライブ32とメモリーカード34との利用ができるものである。ハードディスクドライブ32は、デジタルビデオカメラに対して着脱可能に構成されたものであり、制御部20の制御に応じて、内蔵されたハードディスク33にデータを書き込んだり、内蔵されたハードディスク33からデータを読み出したりすることができるものである。   The digital video camera of this embodiment can use the hard disk drive 32 and the memory card 34 as recording media. The hard disk drive 32 is configured to be detachable from the digital video camera, and writes data to the built-in hard disk 33 or reads data from the built-in hard disk 33 under the control of the control unit 20. It is something that can be done.

ここで用いられるハードディスクドライブ32においては、回転制御方式として、ZCAV(Zone Constant Angular Velocity)方式を採用している。ZCAV方式は、ディスク媒体の記録面を同心円状のゾーン(複数のセクタからなる領域)に分割するが、外周に行くほどゾーンを形成するセクタ数を増やすようにすると共に、データの書き込み/読み出しのデータ転送速度を上げることによって、外周部においてもデータの記録密度を高密度に保つことができるようにしたものである。   The hard disk drive 32 used here employs a ZCAV (Zone Constant Angular Velocity) method as a rotation control method. In the ZCAV method, the recording surface of the disk medium is divided into concentric zones (regions composed of a plurality of sectors), and the number of sectors forming the zones is increased toward the outer periphery, and data writing / reading is performed. By increasing the data transfer speed, the data recording density can be kept high even at the outer periphery.

したがって、ZCAV方式は、ゾーン毎に、書き込み/読み出しのデータ転送速度(以下、転送レートという。)は異なるが、ディスク媒体の回転速度は一定であるので、CLV(Constant Linear Velocity)のように、アクセス時において、ハードディスクドライブの読み出し/書き込みヘッドをハードディスク上の目的とする位置に位置付けるようにするいわゆるシーク動作に時間がかかることもなく、かつ、上述したように、データの高密度記録をも実現することができるものである。   Therefore, in the ZCAV method, although the data transfer rate of writing / reading (hereinafter referred to as the transfer rate) is different for each zone, the rotational speed of the disk medium is constant, so as in CLV (Constant Linear Velocity), When accessing, the so-called seek operation that positions the read / write head of the hard disk drive at the desired position on the hard disk does not take time, and as described above, high-density recording of data is also achieved. Is something that can be done.

また、ハードディスクドライブ32においては、ハードディスク33上に形成されるファイルを管理するため、ファイルシステムとしてFAT(File Allocation Table)システムが用いられ、ハードディスク33の記録領域を複数の区画(パーティション)に分割し、各パーティションを独立したドライブのように扱うことができるものである。なお、FATの詳細については、例えば、「Microsoft Extensible Firmware Initiative FAT32 File System Specification」などに詳細に説明されている。   Further, in the hard disk drive 32, a file allocation table (FAT) system is used as a file system in order to manage files formed on the hard disk 33, and the recording area of the hard disk 33 is divided into a plurality of partitions. Each partition can be treated like an independent drive. Details of the FAT are described in detail in, for example, “Microsoft Extensible Firmware Initiative FAT32 File System Specification”.

メモリーカード34もまた、デジタルビデオカメラに対して着脱可能とされたものであり、制御部20の制御に応じて、内蔵された半導体メモリーにデータを書き込んだり、内蔵された半導体メモリーからデータを読み出したりすることができるものである。   The memory card 34 is also detachable from the digital video camera, and writes data to the built-in semiconductor memory or reads data from the built-in semiconductor memory according to the control of the control unit 20. It is something that can be done.

したがって、この実施の形態のデジタルビデオカメラは、ハードディスクドライブ32、メモリーカード34の着脱口を備え、簡単にハードディスクドライブ32やメモリーカード34を装着したり、取り外したりすることができるようにして、複数のハードディスクドライブやメモリーカードを使い分けることができるようにしている。   Therefore, the digital video camera of this embodiment has a slot for attaching / detaching the hard disk drive 32 and the memory card 34 so that the hard disk drive 32 and / or the memory card 34 can be easily attached / detached. The hard disk drive and memory card can be used properly.

そして、ハードディスクドライブ32には、動画データと音声データとを記録し、また、メモリーカード34には静止画データを記録するというように、使い分けることも可能であるし、ユーザーの指示に応じて、データの記録先をハードディスクドライブ32にするかメモリーカード34にするかを選択することもできるようにしている。   The hard disk drive 32 can record video data and audio data, and the memory card 34 can record still image data. It is also possible to select whether the data recording destination is the hard disk drive 32 or the memory card 34.

また、この実施の形態において、デジタルビデオカメラ本体と、ハードディスクドライブ32との間のインターフェースとしては、ATA/ATAPI(AT Attachment/Advanced Technology Attachment Packet Interface)が用いられている。ATA/ATAPIについての詳細は、例えば、米国規格協会のWebページ(http://www.t13.org/)等を通じて公表されている。   In this embodiment, ATA / ATAPI (AT Attachment / Advanced Technology Attachment Packet Interface) is used as an interface between the digital video camera body and the hard disk drive 32. Details of ATA / ATAPI are disclosed through, for example, the American Standards Association Web page (http://www.t13.org/).

なお、ATA/ATAPIにも種々のものがあり、近年においては、ATA/ATAPI−6が提供されている。このATA/ATAPI−6は、LBA(Logical Block Address)により表現可能なの対応エリアが、28ビット空間から48ビット空間に拡張され、LBAが28ビットを超える大容量のハードディスクにも対応することができるものである。   There are various types of ATA / ATAPI, and in recent years, ATA / ATAPI-6 has been provided. In this ATA / ATAPI-6, the correspondence area that can be expressed by LBA (Logical Block Address) is expanded from 28-bit space to 48-bit space, and it can also correspond to a large-capacity hard disk whose LBA exceeds 28 bits. Is.

そして、この実施の形態においては、例えば、ATA/ATAPI−6等の既存のATA/ATAPIを用いるものとして説明するが、利用可能なインターフェースはこれに限るものではない。例えばATA/ATAPI−7等の既存のインターフェースの後継インターフェースや、その他の種々のインターフェースを用いることが可能である。   In this embodiment, for example, an existing ATA / ATAPI such as ATA / ATAPI-6 is used, but the usable interface is not limited to this. For example, a successor interface of an existing interface such as ATA / ATAPI-7 or other various interfaces can be used.

そして、操作入力部31の所定の操作キーさ操作され、このデジタルビデオカメラが動画撮影モードにされ、動画を撮影するようにする撮影開始キーが操作された場合、あるいは、静止画撮影モードにされ、静止画を撮影するようにするシャッターキーが操作された場合には、カメラ機能制御部13が、制御部20からの制御に応じて、光学レンズ部11と光電変換部12とのそれぞれを動作させるようにする駆動信号やタイミング信号を形成し、これらを光学レンズ部11、光電変換部12に供給して、光学レンズ部11、光電変換部12を動作させる。   When a predetermined operation key of the operation input unit 31 is operated, the digital video camera is set to the moving image shooting mode, and a shooting start key for shooting a moving image is operated, or the still image shooting mode is set. When a shutter key for shooting a still image is operated, the camera function control unit 13 operates each of the optical lens unit 11 and the photoelectric conversion unit 12 according to control from the control unit 20. Drive signals and timing signals to be generated are formed and supplied to the optical lens unit 11 and the photoelectric conversion unit 12 to operate the optical lens unit 11 and the photoelectric conversion unit 12.

光学レンズ部11は、レンズ、フォーカス機構、絞り機構、シャッター機構、ズーム機構などを備え、カメラ機能制御部13からの駆動信号に応じて、フォーカス機構、絞り機構、シャッター機構、ズーム機構を制御し、目的とする被写体の画像を取り込んで、光電変換部12の所定の部分に結像させるようにする。   The optical lens unit 11 includes a lens, a focus mechanism, a diaphragm mechanism, a shutter mechanism, a zoom mechanism, and the like, and controls the focus mechanism, the diaphragm mechanism, the shutter mechanism, and the zoom mechanism in accordance with a drive signal from the camera function control unit 13. Then, an image of a target subject is taken in and formed on a predetermined portion of the photoelectric conversion unit 12.

光電変換部12は、CCD(Charge Coupled Device)、前処理回路などを備えたものであり、光学レンズ部11によって取り込まれた被写体の画像をCCDよって電気信号(画像信号)に変換するとともに、得られた画像信号に対して、光電変換部12の前処理回路において必要な前処理を施す。   The photoelectric conversion unit 12 includes a CCD (Charge Coupled Device), a preprocessing circuit, and the like. The photoelectric conversion unit 12 converts an image of a subject captured by the optical lens unit 11 into an electrical signal (image signal) by the CCD, and obtains it. The pre-processing necessary for the pre-processing circuit of the photoelectric conversion unit 12 is performed on the obtained image signal.

光電変換部12の前処理回路においては、例えば、CDS(Correlated Double Sampling)処理を行うなどしてS/N比を良好に保つようにするとともに、AGC(Automatic Gain Control)処理を行って利得を制御するなどの処理を行う。そして、所定の前処理が施された画像信号は、A/D(Analog/Digital)変換されて、これが画像信号処理部14に供給される。   In the pre-processing circuit of the photoelectric conversion unit 12, for example, CDS (Correlated Double Sampling) processing is performed to maintain a good S / N ratio, and AGC (Automatic Gain Control) processing is performed to increase the gain. Processes such as control. Then, the image signal that has been subjected to the predetermined preprocessing is A / D (Analog / Digital) converted and supplied to the image signal processing unit 14.

画像信号処理部14は、DSP(Digital Signal Processor)の構成とされたものであり、制御部20からの制御に応じて、光電変換部12からの画像データに対して、AF(Auto Focus)、AE(Auto Exposure)、AWB(Auto White Balance)などのカメラ信号処理を施す。   The image signal processing unit 14 is configured as a DSP (Digital Signal Processor), and performs AF (Auto Focus), image data from the photoelectric conversion unit 12 in accordance with control from the control unit 20. Camera signal processing such as AE (Auto Exposure) and AWB (Auto White Balance) is performed.

そして、カメラ信号処理後の画像データからLCD15に供給するためのアナログ画像信号を形成し、これをLCD15に供給することにより、被写体の画像をLCD15を通じて確認することができるようにされる。また、この実施の形態のデジタルビデオカメラの場合には、同時に、画像信号処理部14からのアナログ画像信号を画像入出力部16を通じて、他の記録再生機器やモニタ受像機などの外部機器に供給することもできるようにしている。   Then, an analog image signal to be supplied to the LCD 15 is formed from the image data after the camera signal processing, and this is supplied to the LCD 15 so that the image of the subject can be confirmed through the LCD 15. In the case of the digital video camera of this embodiment, simultaneously, an analog image signal from the image signal processing unit 14 is supplied to an external device such as another recording / playback device or a monitor receiver through the image input / output unit 16. You can also do it.

そして、画像信号処理部14は、カメラ信号処理が行われた画像データを、予め決められた圧縮方式でデータ圧縮し、これを制御部20を通じてハードディスクドライブ32のハードディスク33に記録する。このようにして、撮影した被写体の画像をハードディスクドライブ32のハードディスク33に記録することができるようにしている。   Then, the image signal processing unit 14 compresses the image data on which the camera signal processing has been performed with a predetermined compression method, and records the compressed data on the hard disk 33 of the hard disk drive 32 through the control unit 20. In this way, the photographed subject image can be recorded on the hard disk 33 of the hard disk drive 32.

なお、この実施の形態のデジタルビデオカメラにおいて、動画の撮影時には、再度、撮影スタートキーが操作され、動画の撮影の停止指示が与えられるまで、上述のように被写体の画像が順次に取り込まれ、動画データとしてハードディスク33に記録される。また、シャッターキーが操作された時には、シャッターキーが操作されたときに、光電変換部12に結像している画像が静止画として取り込まれ、静止画データとしてハードディスクに記録される。   In the digital video camera of this embodiment, at the time of shooting a movie, the shooting start key is operated again, and the subject images are sequentially captured as described above until a movie shooting stop instruction is given. It is recorded on the hard disk 33 as moving image data. When the shutter key is operated, when the shutter key is operated, the image formed on the photoelectric conversion unit 12 is captured as a still image and recorded as still image data on the hard disk.

また、動画の撮影時においては、図示しないマイクロホンを通じて収音して電気信号に変換することにより得た音声信号をデジタル信号に変換し、これを所定の圧縮方式でデータ圧縮して、動画データとともに、ハードディスクドライブ32のハードディスク33に記録することもできるようにしている。   At the time of shooting a moving image, an audio signal obtained by picking up sound through a microphone (not shown) and converting it into an electric signal is converted into a digital signal, and this is compressed with a predetermined compression method, together with moving image data Recording on the hard disk 33 of the hard disk drive 32 is also possible.

また、この実施の形態のデジタルビデオカメラは、音声入出力部17を備えている。このため、画像入出力部16を通じて出力されるアナログ画像信号とともに、上述したように、撮影時に取り込まれた音声信号が、音声信号処理部18、音声入力端子17を通じて出力され、他の記録再生機器やスピーカー装置等に供給することもできるようにしている。この場合、音声信号処理部18は、D/A変換処理や所定の圧縮方式でデータ圧縮された音声データの圧縮解凍処理等を行うことになる。   The digital video camera of this embodiment includes an audio input / output unit 17. For this reason, together with the analog image signal output through the image input / output unit 16, as described above, the audio signal captured at the time of shooting is output through the audio signal processing unit 18 and the audio input terminal 17, and other recording / playback devices. It can also be supplied to speaker devices. In this case, the audio signal processing unit 18 performs D / A conversion processing, compression / decompression processing of audio data compressed by a predetermined compression method, and the like.

そして、この実施の形態のデジタルビデオカメラにおいては、ビデオテープレコーダなどの外部機器から供給される情報であって、画像入出力部16を通じて受け付けたアナログ画像信号と、音声入出力部17を通じて受け付けたアナログ音声信号とを、ハードディスクドライブ32のハードディスク33に記録することもできるようにしている。   In the digital video camera of this embodiment, the information is supplied from an external device such as a video tape recorder, and is received through the audio input / output unit 17 and the analog image signal received through the image input / output unit 16. An analog audio signal can be recorded on the hard disk 33 of the hard disk drive 32.

すなわち、画像入出力部16、音声入出力部17に外部機器が接続されており、操作入力部31の所定の操作キーが操作され、このデジタルビデオカメラがVTRモードにされている場合であって、その外部機器からアナログ画像信号、アナログ音声信号が供給されている場合に、操作入力部31の録画キーが操作された場合には、画像入出力部16、音声入出力部17を通じて受け付けたアナログ画像信号、アナログ音声信号の記録を行う。   That is, when an external device is connected to the image input / output unit 16 and the audio input / output unit 17, a predetermined operation key of the operation input unit 31 is operated, and this digital video camera is in the VTR mode. When an analog image signal and an analog audio signal are supplied from the external device and the recording key of the operation input unit 31 is operated, the analog received through the image input / output unit 16 and the audio input / output unit 17 Record image signals and analog audio signals.

この場合、画像入出力部16を通じて受け付けたアナログ画像信号は、画像信号処理部14に供給され、ここで、A/D変換されるとともに、所定の圧縮方式でデータ圧縮された後に、制御部20を通じてハードディスクドライブ32のハードディスク33に記録することができるようにされる。   In this case, the analog image signal received through the image input / output unit 16 is supplied to the image signal processing unit 14, where it is A / D converted and data compressed by a predetermined compression method, and then the control unit 20. To be recorded on the hard disk 33 of the hard disk drive 32.

また、音声入出力部17を通じて受け付けたアナログ音声信号は、音声信号処理部18に供給され、ここで、A/D変換されるとともに、所定の圧縮方式でデータ圧縮された後に、制御部20を通じてハードディスクドライブ32のハードディスク33に記録することができるようにされる。このように、外部機器から供給されるアナログ画像信号やアナログ音声信号をハードディスクドライブ32のハードディスクに記録することができるようにされる。   The analog audio signal received through the audio input / output unit 17 is supplied to the audio signal processing unit 18, where it is A / D converted and data-compressed by a predetermined compression method, and then through the control unit 20. Recording is possible on the hard disk 33 of the hard disk drive 32. In this way, analog image signals and analog audio signals supplied from external devices can be recorded on the hard disk of the hard disk drive 32.

この場合、供給されたアナログ画像信号は、画像信号処理部14を介してLCD15にも供給され、供給されたアナログ画像信号による画像をLCD15の表示画面に表示してこれを観視することができる。また、供給されたアナログ音声信号は、この実施の形態のデジタルビデオカメラに設けられた図示しないスピーカーに供給して、当該スピーカーから供給されたアナログ音声信号に応じた音声を放音し、これを聴取することもできるようにされる。   In this case, the supplied analog image signal is also supplied to the LCD 15 via the image signal processing unit 14, and an image based on the supplied analog image signal can be displayed on the display screen of the LCD 15 and viewed. . Also, the supplied analog audio signal is supplied to a speaker (not shown) provided in the digital video camera of this embodiment, and sound corresponding to the analog audio signal supplied from the speaker is emitted, and this is output. You will be able to listen.

同様に、この実施の形態のデジタルビデオカメラにおいては、通信部19を通じて受信した動画データ、静止画データ、音楽などの音声データ、その他種々のデータをハードディスクドライブ32のハードディスク33に記録することもできるようにしている。通信部19は、イーサネット(登録商標)やUSB(Universal Serial Bus)などの有線インターフェースを通じてデータの送受を行うようにしたり、また、IEEE(Institute of Electrical and Electronics Engineers)802.11a/b/gやBlueToothなどの無線インターフェースを通じてデータの送受を行うようにしたりするものである。   Similarly, in the digital video camera of this embodiment, moving image data, still image data, audio data such as music, and other various data received through the communication unit 19 can be recorded on the hard disk 33 of the hard disk drive 32. I am doing so. The communication unit 19 transmits / receives data through a wired interface such as Ethernet (registered trademark) or USB (Universal Serial Bus), or performs IEEE (Institute of Electrical and Electronics Engineers) 802.11a / b / g, Data is transmitted and received through a wireless interface such as BlueTooth.

したがって、通信部19を通じてネットワークに接続するようにされている場合に、操作入力部31の所定の操作キーが操作され、このデジタルビデオカメラがVTRモードにされている場合であって、操作入力部31の録画キーが操作された場合には、通信部19を通じて供給されたデジタル信号をハードディスクドライブ32のハードディスク33に記録することができる。   Therefore, when the communication unit 19 is connected to the network, a predetermined operation key of the operation input unit 31 is operated, and the digital video camera is in the VTR mode. When the recording key 31 is operated, the digital signal supplied through the communication unit 19 can be recorded on the hard disk 33 of the hard disk drive 32.

ネットワークを通じてデジタルデータとして供給される画像データや音声データなどは既にデータ圧縮されている場合が多いので、通信部19を通じて取得されたデジタルデータは、制御部20を通じてハードディスクドライブ32のハードディスク33に記録されることになる。   Since image data and audio data supplied as digital data through the network are often already compressed, the digital data acquired through the communication unit 19 is recorded on the hard disk 33 of the hard disk drive 32 through the control unit 20. Will be.

この場合、供給されたデジタル画像信号は、例えば、画像信号処理部14に供給され、ここで圧縮解凍され、アナログ映像信号に変換された後に、LCD15に供給されることにより、このアナログ映像信号に応じた画像をLCD15の表示画面に表示して観視することができるようにされる。   In this case, the supplied digital image signal is supplied to, for example, the image signal processing unit 14, where it is compressed and decompressed, converted into an analog video signal, and then supplied to the LCD 15. The corresponding image is displayed on the display screen of the LCD 15 so that it can be viewed.

また、供給されたデジタル音声信号は、例えば、音声信号処理部18において圧縮解凍され、アナログ音声信号に変換された後に、この実施の形態のデジタルビデオカメラに設けられた図示しないスピーカーに供給されることにより、このアナログ音声信号に応じた音声を当該スピーカーから放音して、これを聴取することができるようにされる。   The supplied digital audio signal is, for example, compressed and decompressed by the audio signal processing unit 18 and converted into an analog audio signal, and then supplied to a speaker (not shown) provided in the digital video camera of this embodiment. Thus, sound corresponding to the analog sound signal is emitted from the speaker and can be heard.

また、通信部19を通じて、この実施の形態のデジタルビデオカメラの例えばハードディスク33などの記録されているデジタルデータをネットワークに接続された外部機器に供給するようにすることもできるようにされる。   In addition, the digital data recorded in the digital video camera of this embodiment, such as the hard disk 33, can be supplied to an external device connected to the network through the communication unit 19.

なお、画像入出力部16、音声入出力部17に外部機器が接続されていると共に、通信部19を通じてネットワークにも接続されている場合には、例えば、ユーザーによる指示により、どちらの入出力端部を通じて情報の入力あるいは出力を行うかを切り換えることができるようにされる。   Note that when an external device is connected to the image input / output unit 16 and the audio input / output unit 17 and is also connected to a network through the communication unit 19, which input / output terminal is instructed by a user instruction, for example. Whether to input or output information through the unit can be switched.

次に、上述したように、ハードディスクドライブ32のハードディスク33に記録された画像データ、音声データの再生時の動作について説明する。操作入力部31を通じて、VTRモードにされた後、目的とする画像データ、音声データの再生指示を入力すると、制御部20は、ハードディスクドライブ32のハードディスク33から目的とする画像データと音声データとを読み出す。そして、読み出された画像データは、画像信号処理部14に供給され、読み出された音声データは、音声信号処理部18に供給される。   Next, as described above, the operation at the time of reproducing image data and audio data recorded on the hard disk 33 of the hard disk drive 32 will be described. When the instruction for reproducing the target image data and audio data is input after the VTR mode is set through the operation input unit 31, the control unit 20 receives the target image data and audio data from the hard disk 33 of the hard disk drive 32. read out. The read image data is supplied to the image signal processing unit 14, and the read audio data is supplied to the audio signal processing unit 18.

画像信号処理部14は、制御部20を通じて供給される画像データについて、データ圧縮時に用いた圧縮方式にしたがって、圧縮解凍処理を行い、データ圧縮前の画像データを復元し、これをD/A変換してアナログ画像信号を形成し、これをLCD15と画像入出力部16とに供給する。   The image signal processing unit 14 performs compression / decompression processing on the image data supplied through the control unit 20 in accordance with the compression method used at the time of data compression, restores the image data before the data compression, and performs D / A conversion. Thus, an analog image signal is formed and supplied to the LCD 15 and the image input / output unit 16.

また、音声信号処理部18は、制御部20を通じて供給される音声データについて、データ圧縮字に用いた圧縮方式にしたがって、圧縮解凍処理を行い、データ圧縮前の音声データを復元し、これをD/A変換してアナログ音声信号を形成し、これを音声入出力部17、あるいは、このデジタルビデオカメラに設けられたスピーカーに供給される。   Also, the audio signal processing unit 18 performs compression / decompression processing on the audio data supplied through the control unit 20 in accordance with the compression method used for the data compression characters, restores the audio data before data compression, The analog audio signal is formed by A / A conversion, and this is supplied to the audio input / output unit 17 or a speaker provided in the digital video camera.

このようにして、ハードディスクドライブ32のハードディスク33に記録された画像データ、音声データを再生して利用することができるようにされる。また、上述もしたように、再生するようにしたアナログ画像信号、アナログ音声信号を、画像入出力部16、音声入出力部17を通じてこれらに接続された外部機器に出力するようにすることもできるし、ハードディスク33などに記録されているデジタルデータを通信部19を通じて外部に出力することもできる。   In this way, the image data and audio data recorded on the hard disk 33 of the hard disk drive 32 can be reproduced and used. Further, as described above, the analog image signal and analog audio signal to be reproduced can be output to the external device connected thereto through the image input / output unit 16 and the audio input / output unit 17. In addition, digital data recorded in the hard disk 33 or the like can be output to the outside through the communication unit 19.

なお、上述もしたように、この実施の形態のデジタルビデオカメラは、メモリーカード34も利用できるようにされており、例えば、操作入力部31を通じて静止画の撮影が指示された場合には、光学レンズ部11、光電変換部12を通じて取り込まれた静止画データが、画像信号処理部14において、上述した種々の調整処理が行われた後、データ圧縮され、これが制御部20を通じてメモリーカード34に記録される。   As described above, the digital video camera of this embodiment can also use the memory card 34. For example, when an instruction to shoot a still image is given through the operation input unit 31, the optical video camera The still image data captured through the lens unit 11 and the photoelectric conversion unit 12 is subjected to the above-described various adjustment processes in the image signal processing unit 14 and then compressed, and this is recorded in the memory card 34 through the control unit 20. Is done.

また、操作入力部31を通じて記録先を指示することにより、ハードディスクドライブ32、または、メモリーカード34のいずれかを指定するようにすることにより、静止画データをハードディスクドライブ32に記録したり、動画データと音声データとをメモリーカードに記録したりすることもできるようにされる。   In addition, by designating the recording destination through the operation input unit 31 and specifying either the hard disk drive 32 or the memory card 34, still image data can be recorded in the hard disk drive 32 or moving image data. And audio data can be recorded on a memory card.

[データの記録制御の概要について]
上述のように、この実施の形態のデジタルビデオカメラは、光学レンズ部11や光電変換部12などからなるカメラ部を通じて撮像することにより得た静止画データや動画データ、あるいは、画像入出力部16を通じて外部機器から供給を受けた静止画データや動画データ、さらには、通信部19を通じて供給を受けた静止画データや動画データなどをハードディスク33やメモリーカード34に記録することができるものである。
[About data recording control]
As described above, the digital video camera according to this embodiment has still image data and moving image data obtained by taking an image through a camera unit including the optical lens unit 11 and the photoelectric conversion unit 12, or the image input / output unit 16. Still image data and moving image data supplied from an external device through the communication unit 19, and still image data and moving image data supplied through the communication unit 19 can be recorded in the hard disk 33 and the memory card 34.

同様に、図示しないマイクロホンにより収音されて得た音声データ、音声入出力部17を通じて外部機器から供給を受けた音声データ、さらには、通信部19を通じて供給を受けた音声データについても、ハードディスク33やメモリーカード34に記録することができるものである。   Similarly, with respect to audio data obtained by collecting sound with a microphone (not shown), audio data supplied from an external device through the audio input / output unit 17, and audio data supplied through the communication unit 19, the hard disk 33 is also used. And can be recorded on the memory card 34.

また、これら静止画データ、動画データ、音声データの他にも、例えば、プログラムデータやテキストデータなどをハードディスク33やメモリーカード34に記録することができるものである。このように、この実施の形態のデジタルビデオカメラは、属性(種類)の異なる種々のデータを記録媒体に記録することができるものである。   In addition to these still image data, moving image data, and audio data, for example, program data, text data, and the like can be recorded on the hard disk 33 and the memory card 34. Thus, the digital video camera of this embodiment can record various data with different attributes (types) on a recording medium.

ここで、この実施の形態のデジタルビデオカメラを用い、異なる記録日、異なる記録地、異なる行事における場面などを、それぞれファイルとして例えばハードディスク33に記録し、それらをスライドショーのような形で連続的に再生することを考える。この場合には、プレイリストなどと呼ばれる、再生順序などをまとめたファイル(データ)が形成され、これが用いられて、異なる画像が連続的に再生するようにされる。   Here, using the digital video camera of this embodiment, different recording dates, different recording locations, scenes at different events, etc. are recorded as files on the hard disk 33, for example, and are continuously recorded in the form of a slide show. Think about playing. In this case, a file (data) that summarizes the reproduction order, which is called a playlist, is formed, and is used to continuously reproduce different images.

一般に、プレイリストから参照される各ファイル(動画ファイル、静止画ファイル、音声ファイルなど)は、ファイルシステム(この実施の形態ではFATシステム)によって管理される。例えば、ハードディスクを1つ以上のパーティションに区切り、指定したパーティションに対して、いわゆる「フォーマット」を行うと、詳しくは後述もするように、そのパーティションにファイルシステムが組み込まれる。   In general, each file (moving image file, still image file, audio file, etc.) referenced from a playlist is managed by a file system (FAT system in this embodiment). For example, when a hard disk is divided into one or more partitions and a so-called “format” is performed on the designated partition, a file system is incorporated in that partition, as will be described in detail later.

そして、ファイルシステムを通じて、各種データがファイルとして読み書きされるのだが、各ファイルの記録のされ方を物理的に存在するゾーン(またはセクタ)を基準に見てみると、例えば、連続的に再生されるべきデータが、ZCAV方式で回転駆動されるハードディスク上において、連続的ではあるもののデータの転送レートが異なる複数のゾーンに渡って記録されたり、または、ハードディスク上において、離散的に記録されたりしてしまう場合もある。   Various data is read and written as files through the file system, but if you look at how each file is recorded based on the zone (or sector) where it physically exists, for example, it will be played back continuously. Data to be recorded is recorded over a plurality of zones that are continuous but have different data transfer rates on a hard disk that is rotationally driven by the ZCAV method, or is recorded discretely on a hard disk. There is also a case.

このような場合には、シーク動作に時間がかかるなどするために、再生にリアルタイム性の要求されるデータの読み出しなどがスムースに行えなくなり、例えば画像の再生時においては、表示されるべき画像が表示されないいわゆる空白期間を生じさせてしまうなどの不都合を生じさせる可能性がある。   In such a case, since the seek operation takes time, for example, data that requires real-time reproduction cannot be read out smoothly. For example, when an image is reproduced, an image to be displayed is not displayed. There is a possibility of causing inconvenience such as a so-called blank period that is not displayed.

このため、この実施の形態のデジタルビデオカメラは、例えばスライドショー再生のような連続再生時において、上述したようにシーク動作に時間がかかるなどするために、正常な連続再生ができなくなることを防止するため、同じ属性のデータは例えばゾーン単位などの同じ記録単位領域内に記録するようにすることによって、転送レートの異なる記録単位領域にまたがって記録されたり、同じ属性のデータが記録領域の全体に点在して記録されたりすることがないようにしている。   For this reason, the digital video camera of this embodiment prevents normal continuous playback from being impossible because, for example, the seek operation takes time as described above during continuous playback such as slide show playback. Therefore, data with the same attribute can be recorded across recording unit areas with different transfer rates by recording within the same recording unit area such as a zone unit, or data with the same attribute can be recorded over the entire recording area. It is not scattered and recorded.

なお、以下においては、説明を簡単にするため、種々のデータをハードディスク33に記録する場合を例にして説明する。   In the following, in order to simplify the description, a case where various data is recorded on the hard disk 33 will be described as an example.

[ハードディスクドライブ32およびハードディスク33について]
まず、この実施の形態のデジタルビデオカメラにおいての記録制御について詳細に説明する前に、種々のデータが記録されることになる大容量で、かつ、ランダムアクセスが可能な記録媒体であるハードディスク33について説明する。
[About hard disk drive 32 and hard disk 33]
First, before describing in detail the recording control in the digital video camera of this embodiment, the hard disk 33, which is a recording medium having a large capacity and capable of random access in which various data are recorded, can be recorded. explain.

上述もしたように、この実施の形態のハードディスクドライブ32においては、ファイルシステムとして、FATシステムを用い、また、ハードディスクの回転制御方式としてZCAV(ゾーン角速度一定)方式を用いている。このため、ハードディスク33は、FATシステムにしたがって初期化されると共に、予め決められるゾーン単位に記録の制御を行うことができるようにされる。   As described above, in the hard disk drive 32 of this embodiment, the FAT system is used as the file system, and the ZCAV (constant zone angular velocity) method is used as the hard disk rotation control method. For this reason, the hard disk 33 is initialized in accordance with the FAT system, and recording can be controlled in a predetermined zone unit.

図2は、FATシステムに応じて初期化されることにより利用可能となるハードディスク33の状態を説明するための図であり、図2Aは、主にパーティションとその管理状態を、また、図2Bは、セクタとゾーンとの関係について説明するための図である。   FIG. 2 is a diagram for explaining the state of the hard disk 33 that can be used by being initialized in accordance with the FAT system. FIG. 2A mainly shows partitions and their management states, and FIG. FIG. 4 is a diagram for explaining the relationship between sectors and zones.

図2Aに示すように、ハードディスクの先頭セクタ(LBA=0セクタ)には、詳しくは後述もするが、システム起動用領域であるMBR(Master Boot Record)が設けられる。このMBRの次には、予備的な空き領域が設けられ、その空き領域の次には、パーティション領域が設けられる。   As shown in FIG. 2A, the first sector (LBA = 0 sector) of the hard disk is provided with a system boot area MBR (Master Boot Record), which will be described in detail later. Next to the MBR, a preliminary free area is provided, and next to the free area, a partition area is provided.

そして、図2Aに示すように、パーティション領域内には、BPB(BIOS Parameter Block)と、FATと予備のFATとが設けられる。図2Aにおいては、予備のFATより後の部分が実際にデータが記録されるデータ領域となる。なお、図2Aにおいては、パーティション領域は1つしか示していないが、後述もするように、形成しようとするパーティション領域の数に応じて、MBRのパーティションテーブルを複数個用意することにより、複数個のパーティション領域を形成して、そのそれぞれを独立した個々のディスク(記憶領域)として扱うことができるようにされる。   As shown in FIG. 2A, a BPB (BIOS Parameter Block), a FAT, and a spare FAT are provided in the partition area. In FIG. 2A, the part after the spare FAT is a data area where data is actually recorded. In FIG. 2A, only one partition area is shown. However, as will be described later, a plurality of MBR partition tables are prepared according to the number of partition areas to be formed. Partition areas are formed so that each can be treated as an independent individual disk (storage area).

また、ハードディスク33は、上述もしたように、ZCAV方式で用いられるものである。したがって、ハードディスク33は、図2Bに示すように、複数セクタからなる多数のゾーンに分割される。そして、ハードディスク33自体の回転速度は一定とされるが、各ゾーンにおけるデータの転送レートは異なるように制御され、外周側のゾーンにおいてもデータの記録密度を低下させることなく高密度記録を行うことができるようにしている。   The hard disk 33 is used in the ZCAV method as described above. Therefore, as shown in FIG. 2B, the hard disk 33 is divided into a large number of zones composed of a plurality of sectors. The rotational speed of the hard disk 33 itself is constant, but the data transfer rate in each zone is controlled to be different, and high density recording is performed without reducing the data recording density in the outer zone. To be able to.

そして、この実施の形態のデジタルビデオカメラの制御部20は、ハードディスクドライブ32と協働することにより、各ゾーン単位に、データが記録されているか否か、記録されているとすれば、どのような属性のデータが記録されているかなどを把握し、これを管理することができるものである。   The control unit 20 of the digital video camera according to this embodiment cooperates with the hard disk drive 32 to determine whether or not data is recorded for each zone. It is possible to grasp and manage whether or not data with a proper attribute is recorded.

次に、ハードディスク33上に複数個形成可能なパーティション領域について説明する。図3、図4は、ハードディスク33上に形成されるパーティション領域とこれを管理するパーティションテーブルについて説明するための図である。図2Aにも示し、また、図3にも示すように、ハードディスク33の先頭セクタ(LBA=0セクタ)に設けられるMBRは、起動コード領域331とパーティションテーブル領域332とからなっている。   Next, a plurality of partition areas that can be formed on the hard disk 33 will be described. 3 and 4 are diagrams for explaining a partition area formed on the hard disk 33 and a partition table for managing the partition area. As shown in FIG. 2A and also in FIG. 3, the MBR provided in the first sector (LBA = 0 sector) of the hard disk 33 is composed of an activation code area 331 and a partition table area 332.

そして、起動時においては、まず、MBRの起動コード領域331から起動コード(プログラム)が読み出される。この読み出されたMBRの起動コードは、図3に示すように、起動コードの直後に形成されるパーティションテーブル領域332のパーティションテーブルを参照し、目的とするパーティションのブートセクタの情報を読み出し、このブートセクタのコード(プログラム)によって、OS(Operating System)が起動される。   At the time of activation, first, an activation code (program) is read from the activation code area 331 of the MBR. As shown in FIG. 3, the read activation code of the MBR refers to the partition table of the partition table area 332 formed immediately after the activation code, reads the information of the boot sector of the target partition, An OS (Operating System) is activated by the code (program) of the boot sector.

パーティションテーブルは複数個(例えば4個)設けることができるようにされる。各パーティションテーブルは、上述もしたように、ハードディスク33の記録領域が分割されて形成される各パーティション領域の位置(開始アドレス)と大きさ(パーティションサイズ)を示す情報を保持し、図3において矢印で示したように、目的とするパーティション領域にアクセスして、そこに記録されている情報を参照することができるようにしている。   A plurality of (for example, four) partition tables can be provided. As described above, each partition table holds information indicating the position (start address) and size (partition size) of each partition area formed by dividing the recording area of the hard disk 33. In FIG. As shown in Fig. 5, the target partition area can be accessed and the information recorded therein can be referred to.

次に、先頭セクタのMBR中に形成されるパーティションテーブルについて具体的に説明する。上述もし、また、図4Aにも示すように、ハードディスク33の先頭セクタ(ハードディスク33の先頭から512バイト分の領域)のMBRは、起動コード領域331と、パーティションテーブル領域332とからなっている。   Next, the partition table formed in the MBR of the head sector will be specifically described. As described above and as shown in FIG. 4A, the MBR of the head sector of the hard disk 33 (an area of 512 bytes from the head of the hard disk 33) includes an activation code area 331 and a partition table area 332.

この実施の形態において、パーティションテーブル領域332は、16バイトのデータ長のパーティションテーブルを4エントリ分格納可能な大きさの領域、すなわち、64バイト分の領域である。しかし、常に4エントリ分のパーティションテーブルが形成されるわけではなく、設けるパーティションの数に応じて、少なくとも1つ、最大で4つ形成することができるようにしている。   In this embodiment, the partition table area 332 is an area having a size capable of storing a partition table having a data length of 16 bytes for four entries, that is, an area for 64 bytes. However, a partition table for four entries is not always formed, and at least one and a maximum of four can be formed according to the number of partitions provided.

なお、パーティションテーブル領域332に続く2バイトは、パーティションテーブルに付けられた署名(マジックナンバー)で、順に“55h”、“AAh”でないと、パーティションテーブルがない、若しくは、破壊されていると判断されることになる。また、この明細書、図面においては、上述の“55h”、“AAh”のように、数字、A〜Fまでのアルファベット、これらの組み合わせで表された文字列の直後の文字hは、それ以前の文字列が16進数表現されたものであることを示している。   The 2 bytes following the partition table area 332 are signatures (magic numbers) attached to the partition table, and unless it is “55h” and “AAh” in order, it is determined that the partition table does not exist or has been destroyed. Will be. In this specification and drawings, the letter h immediately after the character string represented by a numeral, an alphabet from A to F, and a combination thereof, such as “55h” and “AAh” described above, This indicates that the character string is expressed in hexadecimal.

そして、16バイト(128ビット)のデータ長のパーティションテーブルのデータ構造は、図4Bに示すようになっている。0バイト目から7バイト目までの8バイト分のエリアがCHS方式でアドレスを指定する場合に用いる情報の格納エリアであり、8バイト目から15バイト目までの8バイト分のエリアがLBA方式でアドレスを指定する場合に用いる情報の格納エリアである。   The data structure of the partition table having a data length of 16 bytes (128 bits) is as shown in FIG. 4B. The 8-byte area from the 0th byte to the 7th byte is a storage area for information used when the address is specified by the CHS method, and the 8-byte area from the 8th byte to the 15th byte is the LBA method. This is an information storage area used when specifying an address.

ここで、CHS方式は、シリンダ(Cylinder)、ヘッド(Head)、セクタ(Sector)の3つのパラメータを1組として用いて、ハードディスク33上のアドレス(位置)を指定するようにするものである。また、LBA方式は、ハードディスクの記録領域上のアクセス可能な単位ブロック(例えば、1セクタ単位)それぞれについて、例えば0番から順番に数字(ブロックアドレス(論理アドレス))を割り当てておき、その数字を指定することにより、ハードディスクの記録領域上のアドレス(位置)を指定するようにするものである。   Here, the CHS method is to specify an address (position) on the hard disk 33 by using three parameters of a cylinder, a head, and a sector as one set. In the LBA method, numbers (block addresses (logical addresses)) are assigned in order from, for example, 0 to each accessible unit block (for example, one sector unit) on the recording area of the hard disk. By designating, an address (position) on the recording area of the hard disk is designated.

そして、図4Bに示すように、CHS方式でアクセスする場合に用いる情報の格納エリアは、0バイト目がアクティブフラグ情報(以下、単にフラグ情報という。)の格納エリア、1バイト目から3バイト目までの3バイト分がCHS方式でアクセスする場合に用いる開始セクタ情報の格納アリア、4バイト目がパーティションタイプ情報(以下、単にタイプ情報という。)の格納エリア、5バイト目から7バイト目までの3バイト分がCHS方式でアクセスする場合に用いる終了セクタ情報の格納エリアである。   As shown in FIG. 4B, the storage area for information used when accessing by the CHS method is the 0th byte storage area for active flag information (hereinafter simply referred to as flag information), the 1st byte to the 3rd byte. Storage area of start sector information used when 3 bytes up to 3 bytes are accessed by CHS method, 4th byte is storage area for partition type information (hereinafter simply referred to as type information), 5th byte to 7th byte A storage area of end sector information used when 3 bytes are accessed by the CHS method.

また、図4Bに示すように、LBA方式でアクセスする場合に用いる情報の格納エリアは、8バイト目から11バイト目までの4バイト分がLBA方式で用いられる開始セクタ情報の格納エリア、12バイト目から15バイト目までの4バイト分がLBA方式で用いられるパーティションサイズの格納エリアである。   Also, as shown in FIG. 4B, the information storage area used when accessing by the LBA method is the storage area of the start sector information in which 4 bytes from the 8th byte to the 11th byte are used by the LBA method, 12 bytes The 4 bytes from the first to the 15th byte are a partition size storage area used in the LBA method.

なお、CHS方式は、ハードディスクの物理的構造をそのまま流用しており、上述もしたように、シリンダ、ヘッド、セクタというアドレス指定のためのパラメータが3つもあることから、ソフトウエア的には扱いが複雑になってしまう。これに対し、LBA方式の場合には、ブロックアドレスという単一のパラメータで指定するので、アクセス時のアドレス指定が極めて簡単である。   The CHS method uses the physical structure of the hard disk as it is, and as described above, there are three parameters for addressing: cylinder, head, and sector. It becomes complicated. On the other hand, in the case of the LBA method, since it is designated by a single parameter called a block address, the address designation at the time of access is very simple.

このため、ハードディスクにおけるアドレス指定方式としてはLBA方式が主流になっており、その他の記録媒体、例えば、いわゆるリムーバブルメディアとして広く用いられるようになってきている種々のメモリーカードなどにおいても、LBA方式でアドレス指定ができるものが多くなってきている。この実施の形態のデジタルビデオカメラで用いられるハードディスクもまたアドレス指定方式はLBA方式を用いるものである。   For this reason, the LBA method has become the main addressing method for hard disks, and the LBA method is also used for other recording media, for example, various memory cards that are becoming widely used as so-called removable media. More and more addresses can be specified. The hard disk used in the digital video camera of this embodiment also uses the LBA method for addressing.

また、この実施の形態のハードディスクドライブ32においては、EBR(Extended Boot Record)を用いることもできるようにされている。MBRが、1つのシステムに必ず1つ存在することになる基本領域に対するものであるのに対し、EBRは、基本領域以外に確保される拡張領域に対するものである。   In the hard disk drive 32 of this embodiment, an EBR (Extended Boot Record) can also be used. The MBR is for a basic area that always exists in one system, whereas the EBR is for an extended area that is secured in addition to the basic area.

このEBRもまた、図4Aを用いて上述したMBRと同様に形成されるものであり、起動コード領域とパーティションテーブル領域とからなり、パーティションテーブル領域に形成される各パーティションのデータ構成も図4Bを用いて説明したMBRのパーティションテーブルと同様に構成されるものである。なお、このEBRは必ず存在するものではく、システムやユーザーによるパーティションの作成方針に従って設けられる。   This EBR is also formed in the same manner as the MBR described above with reference to FIG. 4A, and includes an activation code area and a partition table area, and the data structure of each partition formed in the partition table area is also shown in FIG. 4B. It is configured similarly to the MBR partition table described above. This EBR does not necessarily exist, and is provided according to a partition creation policy by the system or user.

このように、この実施の形態のデジタルビデオカメラにおいては、ハードディスク33上に複数のパーティション領域を形成するようにし、各パーティション領域のそれぞれを独立した記憶領域として用いることができる。したがって、この実施の形態のデジタルビデオカメラの制御部20は、ハードディスクドライブ32と協働することにより、各パーティション領域単位に、データが記録されているか否か、記録されているとすれば、どの属性のデータが記録されているかなどを把握することができるものである。   Thus, in the digital video camera of this embodiment, a plurality of partition areas can be formed on the hard disk 33, and each partition area can be used as an independent storage area. Therefore, the control unit 20 of the digital video camera of this embodiment cooperates with the hard disk drive 32 to determine whether or not data is recorded in each partition area unit. It is possible to grasp whether or not attribute data is recorded.

そして、この実施の形態のデジタルビデオカメラにおいては、上述の説明からも分かるように、ハードディスク33のゾーンを基準として用いて、あるいは、ハードディスク33のパーティション領域を基準として用いて、データの記録制御を行うことができるようにしている。   In the digital video camera of this embodiment, as can be seen from the above description, data recording control is performed using the zone of the hard disk 33 as a reference or using the partition area of the hard disk 33 as a reference. To be able to do.

また、この実施の形態のデジタルビデオカメラの場合には、上述もしたように、ハードディスクドライブ32とメモリーカード34とが利用できるようにされている。したがって、上述もしたように、ハードディスク33とメモリーカード34とでは属性の異なるデータを記録するようにするなどの使い分けができるようにされる。   In the case of the digital video camera of this embodiment, the hard disk drive 32 and the memory card 34 can be used as described above. Therefore, as described above, the hard disk 33 and the memory card 34 can be used properly such as recording data having different attributes.

なお、この実施の形態のデジタルビデオカメラに対して、例えば、ハードディスクドライブを2台接続可能にすることにより、2台のハードディスクドライブを使い分けるようにすることも可能である。   Note that, for example, by enabling two hard disk drives to be connected to the digital video camera of this embodiment, it is possible to use two hard disk drives properly.

[(1)ゾーンを基準とする記録制御について]
ここでは、まず、ZCAV方式により回転駆動されるハードディスクにおけるゾーンを基準として用いて、データの記録制御を行う場合について説明する。ゾーンを基準として用いた記録制御の概要を示せば以下のようになる。
[(1) Recording control based on zone]
Here, first, a case where data recording control is performed using a zone in a hard disk rotated by the ZCAV method as a reference will be described. An outline of recording control using a zone as a reference is as follows.

記録開始時に、まず、現在の撮影モードを検出する。もし静止画を撮影する静止画撮影モードであり、既に記録済みの静止画データ(記録済静止画ファイル)がハードディスク上にあるのであれば、ハードディスク上のその記録済静止画ファイルと同一ゾーンに位置するような開始クラスタを算出し、そこから新たな静止画データ(静止画ファイル)の記録を開始する。もし同一ゾーンに1つの静止画ファイルを完結するように記録することが不可能であれば、未使用ゾーンを一つ選択し、そこに位置する開始クラスタから記録を開始する。動画モードの場合も同様である。   At the start of recording, first, the current shooting mode is detected. If you are in the still image shooting mode for capturing still images and already recorded still image data (recorded still image file) is on the hard disk, it is located in the same zone as the recorded still image file on the hard disk. Starting cluster is calculated, and recording of new still image data (still image file) is started therefrom. If it is impossible to record one still image file in the same zone, one unused zone is selected, and recording is started from the start cluster located there. The same applies to the moving image mode.

すなわち、同じ属性のデータを同一ゾーンに記録して行くようにする。このように同じ属性のデータをゾーン単位にまとめるようにすることによって、静止画データや動画データの属性の異なるデータがハードディスク34の複数のゾーンに分散して記録されることを防止し、再生時に空白期間が生じるなどの不都合を防止するようにしている。   That is, data having the same attribute is recorded in the same zone. As described above, data having the same attribute is grouped in units of zones, so that data having different attributes of still image data and moving image data is prevented from being distributed and recorded in a plurality of zones of the hard disk 34, and is reproduced at the time of reproduction. Inconveniences such as a blank period are prevented.

なお、ハードディスク上の処理単位としては、上述の説明にも登場したように、セクタ、クラスタ、ゾーンという3つの処理単位が用いられる。セクタは、ハードディスクに対する最小記録単位であり、例えば、512バイトが1セクタとされる。また、クラスタは、複数のセクタをまとめたものであって、1ファイルあたりの最小記録単位である。すなわち、セクタではファイルを管理するための単位としては小さすぎるため、複数セクタからなるクラスタを用いることにより、OS(Operating System)の管理を容易にしている。   As processing units on the hard disk, three processing units such as sectors, clusters, and zones are used as described above. The sector is the minimum recording unit for the hard disk, and, for example, 512 bytes are one sector. A cluster is a collection of a plurality of sectors, and is the minimum recording unit per file. That is, since a sector is too small as a unit for managing files, OS (Operating System) management is facilitated by using a cluster composed of a plurality of sectors.

また、ゾーンは、上述もしたように、複数のセクタからなるものであり、一定の回転速度で回転駆動されるハードディスクに対して、所定の転送レートでデータを記録するようにしたときに、所定の記録密度でデータが記録可能な同心円状の領域(処理単位)である。したがって、ファイルの大きさにもよるが、1つのゾーンには、複数のファイルを記録することが可能であり、ゾーンは、クラスタよりはるかに大きな処理単位である。   Further, as described above, a zone is composed of a plurality of sectors. When a data is recorded at a predetermined transfer rate on a hard disk that is driven to rotate at a constant rotational speed, the zone is predetermined. This is a concentric area (processing unit) in which data can be recorded with a recording density of. Therefore, although depending on the size of the file, a plurality of files can be recorded in one zone, and the zone is a processing unit much larger than the cluster.

そして、ゾーンを基準として記録制御を行う場合、ハードディスク33にはどのようにゾーンが形成されるのかをデジタルビデオカメラの制御部20が正確に把握する必要がある。そこで、この実施の形態のデジタルビデオカメラにおいては、ハードディスク33の全面に渡るセクタ単位の読み出しテストを行い、読み出しにかかる時間を計測し、その計測結果を保持して、読み出しにかかる時間の変化点を検出することにより、各ゾーンの開始位置(開始LBA)を検出するようにしている。   When recording control is performed based on the zone, it is necessary for the control unit 20 of the digital video camera to accurately grasp how the zone is formed on the hard disk 33. Therefore, in the digital video camera of this embodiment, a sector-by-sector read test is performed over the entire surface of the hard disk 33, the time required for reading is measured, the measurement result is retained, and the change point of the time required for reading is determined. By detecting this, the start position (start LBA) of each zone is detected.

図5、図6は、読み出しテストによる各ゾーンの開始LBAを検出する処理を説明するための図である。図5において、横軸はLBA(論理ブロックアドレス)を、縦軸はディスクからのデータの読み出しにかかる時間をそれぞれ示している。上述もしたように、この実施の形態で用いられるハードディスクドライブ32においてのディスクの回転制御方式はZCAV方式であり、回転速度は一定であるが、各ゾーンにおいてデータの高密度記録を行うようにするために各ゾーンにおいてのデータの転送レートは異なるように制御され、外周側のゾーンほど読み出し速度は速く、内周側のゾーンほど読み出し速度は遅くなる。   5 and 6 are diagrams for explaining processing for detecting the start LBA of each zone by the read test. In FIG. 5, the horizontal axis represents LBA (logical block address) and the vertical axis represents the time taken to read data from the disk. As described above, the disk rotation control method in the hard disk drive 32 used in this embodiment is the ZCAV method, and the rotation speed is constant, but high-density recording of data is performed in each zone. For this reason, the data transfer rate in each zone is controlled to be different, and the reading speed is faster in the outer peripheral zone and the reading speed is slower in the inner peripheral zone.

このため、外周側から内周側にセクタ単位でデータの読み出しテストを行うようにすると、図5に示すように、各ゾーン内においてのデータの読み出し速度はほぼ一定となるが、内周側のゾーンに行くほど、読み出し速度は遅くなるように制御されるので、読み出し速度は階段状に変化することになる。したがって、図5において、丸印で示したように、読み出し速度の変化点を検出することにより、各ゾーンの開始LBAを特定することが可能となり、その変化点の直前のLBAが前のゾーンの終了LBAであることがわかる。   For this reason, when a data read test is performed in units of sectors from the outer periphery side to the inner periphery side, the data read speed in each zone is substantially constant as shown in FIG. Since the reading speed is controlled so as to go to the zone, the reading speed changes stepwise. Therefore, as shown by the circles in FIG. 5, it is possible to identify the start LBA of each zone by detecting the change point of the read speed, and the LBA immediately before the change point is the previous zone. It can be seen that this is the ending LBA.

具体的には、まず、ハードディスク33の全てのセクタについて読み出しテストが終了したか否かを判断するための情報であるハードディスク33のLBAの最大値を把握する必要がある。上述もしたように、この実施の形態のデジタルビデオカメラ本体と、ハードディスクドライブ32との間のインターフェースには、ATA/ATAPIを用いており、このATA/ATAPIにおいて規定されているコマンドである「IDENTIFY DEVICE」を用いることによって、LBAの最大値を検出する。   Specifically, first, it is necessary to grasp the maximum value of the LBA of the hard disk 33, which is information for determining whether or not the read test has been completed for all sectors of the hard disk 33. As described above, ATA / ATAPI is used for the interface between the digital video camera body of this embodiment and the hard disk drive 32, and “IDENTIFY” is a command defined in this ATA / ATAPI. By using “DEVICE”, the maximum value of the LBA is detected.

すなわち、「IDENTIFY DEVICE」コマンドを実行したときに、ハードディスクドライブ32側から取得できる情報の中に、「Total number of user addressable sectors」があり、この値から指定可能なLBAの最大値(MAX)がわかる。   That is, “Total number of user addressable sectors” is included in the information that can be acquired from the hard disk drive 32 side when the “IDENTIFY DEVICE” command is executed, and the maximum LBA value (MAX) that can be specified from this value is Understand.

そして、LBA=0〜MAXまで(つまり、ハードディスク33の全面)について、「READ SECTOR(S)」または「READ DMA」といった、データを読み出すコマンドを、読み出すデータ長を512バイト(換言すると、Sector Count=1、各セクタ単位)に指定して順次実行し、各実行に要した時間(読み出しにかかる時間)を計測して、これを図6に示すように蓄積する。   Then, for LBA = 0 to MAX (that is, the entire surface of the hard disk 33), a command for reading data, such as “READ SECTOR (S)” or “READ DMA”, is read and the data length is 512 bytes (in other words, Sector Count). = 1, in units of each sector), and sequentially executed, the time required for each execution (time required for reading) is measured and stored as shown in FIG.

そして、図6に示したように蓄積されたデータ(LBA及び所要時間)を解析し、変化点に位置するLBAを特定する。具体的には、図6に示したように蓄積された各セクタにおける読み出しにかかる時間(所要時間)について、その直前のセクタにおける読み出しにかかる時間(所要時間)との差を求め、その差が、例えば、絶対値で0.0005秒以上であるときには、ゾーンの変化点であり、その変換点のLBAがそのゾーンの開始LBAであると判断する。   Then, as shown in FIG. 6, the accumulated data (LBA and required time) are analyzed, and the LBA located at the changing point is specified. Specifically, as shown in FIG. 6, the difference between the time (required time) required for reading in each sector accumulated and the time (required time) required for reading in the immediately preceding sector is obtained. For example, when the absolute value is 0.0005 seconds or more, it is determined that the point is a zone change point, and the LBA at the conversion point is the start LBA of the zone.

この検出された開始LBAの数は、ハードディスク33のゾーン数を示す。得られた各ゾーンの開始LBA情報は、例えば、図2Aあるいは図3に示したように、MBRとパーティションの間に存在する「空き領域」などに保持する。この「空き領域」のサイズは、通常、数百キロバイト〜数メガバイトであり、各ゾーンの開始LBA情報を保持するには十分なサイズである。   The number of detected start LBAs indicates the number of zones of the hard disk 33. For example, as shown in FIG. 2A or FIG. 3, the obtained start LBA information of each zone is held in a “free area” existing between the MBR and the partition. The size of this “free area” is normally several hundred kilobytes to several megabytes, which is sufficient to hold the start LBA information of each zone.

なお、ここでは、変化点を検出するための所用時間の差の大きさを0.0005秒としたが、これに限るものではない。機器の性能等に応じて、適宜の値を用いるようにすればよい。   Here, the magnitude of the difference in required time for detecting the change point is 0.0005 seconds, but the present invention is not limited to this. An appropriate value may be used according to the performance of the device.

図7は、図5、図6を用いて説明したハードディスク33上の各ゾーンの開始LBAを検出するためにこの実施の形態のデジタルビデオカメラの制御部20において行なわれる処理を説明するためのフローチャートである。この図7に示す処理は、例えば、製造時に行われるディスク全面読み出し検査などに組み込んで実行するようにする。   FIG. 7 is a flowchart for explaining the processing performed in the control unit 20 of the digital video camera of this embodiment in order to detect the start LBA of each zone on the hard disk 33 described with reference to FIGS. It is. The processing shown in FIG. 7 is executed by being incorporated in, for example, a full disk read inspection performed at the time of manufacture.

まず、デジタルビデオカメラの制御部20は、まず、「IDENTIFY DEVICE」コマンドをハードディスクドライブ32に送信し、ハードディスクドライブ32から種々の情報を得るようにし、得られる情報の「Total number of user addressable sectors」から指定可能なLBAの最大値(MAX)を得る(ステップS1)。   First, the control unit 20 of the digital video camera first transmits an “IDENTIFY DEVICE” command to the hard disk drive 32 to obtain various information from the hard disk drive 32, and obtains “Total number of user addressable sectors” of the obtained information. The maximum LBA value (MAX) that can be specified is obtained (step S1).

次に、制御部20は、「READ SECTOR(S)」などのデータ読み出しコマンドを最外周側からセクタ単位で実行するようにし、セクタ単位のデータの読み出し時間を計測して、その計測結果を蓄積していくようにする(ステップS2)。そして、ハードディスク33の全セクタについて、データの読み出し時間の計測および蓄積が終了したか否かを判断する(ステップS3)。このステップS3の判断処理は、ステップS1で取得したLBAの最大値までの読み出し時間の計測および蓄積が終了しているか否かを判断する処理である。   Next, the control unit 20 executes a data read command such as “READ SECTOR (S)” from the outermost side in units of sectors, measures the data read time in units of sectors, and accumulates the measurement results. (Step S2). Then, for all sectors of the hard disk 33, it is determined whether or not the data reading time measurement and accumulation have been completed (step S3). The determination process in step S3 is a process for determining whether or not the measurement and accumulation of the read time up to the maximum value of the LBA acquired in step S1 has been completed.

ステップS3の判断処理において、LBAの最大値まで読み出し時間の計測および蓄積が終了していないと判断したときには、LBAを1増加し、次のセクタ領域に読み出し位置を位置付けるようにして(ステップS4)、ステップS2からの処理を繰り返す。ステップS3の判断処理において、LBAの最大値まで読み出し時間の計測が終了したと判断したときには、蓄積した各セクタ毎の読み出し時間に基づいて、変化点すなわち各ゾーンの開始LBAを特定する(ステップS5)。   In the determination process of step S3, when it is determined that the measurement and storage of the read time up to the maximum value of the LBA has not ended, the LBA is incremented by 1 and the read position is positioned in the next sector area (step S4). The processing from step S2 is repeated. If it is determined in step S3 that the reading time has been measured up to the maximum value of the LBA, the change point, that is, the start LBA of each zone is specified based on the accumulated reading time for each sector (step S5). ).

このステップS5の処理が、図5、図6を用いて説明したように、各セクタの読み出し時間のそれぞれについて、それらの直前のセクタの読み出し時間との差の大きさを求め、その差の大きさが所定値以上であるある点(LBA)をゾーンの開始LBAとして特定する処理である。   As described with reference to FIGS. 5 and 6, the processing in step S5 determines the magnitude of the difference between the read time of each sector and the read time of the immediately preceding sector, and the magnitude of the difference. This is a process of specifying a point (LBA) whose length is greater than or equal to a predetermined value as the start LBA of the zone.

そして、ステップS5において特定した各ゾーンの開始LBA情報を、例えばMBRとパーティション領域との間の空きアリアなどのハードディスク33の所定のエリアに保存し(ステップS6)、この図7に示す処理を終了する。   Then, the start LBA information of each zone identified in step S5 is stored in a predetermined area of the hard disk 33 such as an empty area between the MBR and the partition area (step S6), and the processing shown in FIG. To do.

このように、図7に示した処理を実行することにより、この実施の形態のデジタルビデオカメラは、ハードディスク33上に形成されるゾーンの数、および、各ゾーンの範囲(開始LBA〜終了LBA)がセクタ単位でどうなっているのかを把握することができ、これをハードディスク33上に保存し、いつでも参照することが可能となる。   As described above, by executing the processing shown in FIG. 7, the digital video camera according to the present embodiment has the number of zones formed on the hard disk 33 and the range of each zone (start LBA to end LBA). Can be grasped on a sector basis, and this can be stored on the hard disk 33 and referenced at any time.

しかし、データをファイルとして記録する場合には、上述もしたようにクラスタを単位とするため、セクタ単位でハードディスク33上のゾーンの状態を把握しただけではゾーンを単位とする記録制御を行うことはできない。このため、セクタ単位で把握したハードディスク33上のゾーンの状態をクラスタ単位で把握できるようにすると共に、各ゾーン毎の使用状況を管理できるようにする必要が生じる。   However, when data is recorded as a file, since the cluster is a unit as described above, it is not possible to perform the recording control by the zone only by grasping the state of the zone on the hard disk 33 by the sector unit. Can not. For this reason, it is necessary to be able to grasp the state of the zones on the hard disk 33 grasped in units of sectors in units of clusters, and to manage the usage status for each zone.

そこで、この実施の形態のデジタルビデオカメラにおいては、各ゾーンについての情報を管理するゾーン利用テーブルを作成するようにしている。図8は、この実施の形態のデジタルビデオカメラにおいて形成されて用いられるゾーン利用テーブルを説明するための図である。図8に示すように、この実施の形態のゾーン利用テーブルは、各ゾーンについて、ゾーン番号、種別、開始クラスタ番号を管理するようにするものである。   Therefore, in the digital video camera of this embodiment, a zone use table for managing information about each zone is created. FIG. 8 is a diagram for explaining a zone use table formed and used in the digital video camera of this embodiment. As shown in FIG. 8, the zone use table of this embodiment manages the zone number, type, and start cluster number for each zone.

図8に示すゾーン利用テーブルにおいて、ゾーン番号は、最外周側のゾーンから順に割り当てられる値であり、0番からn−1番までの値が順に割り当てられる。ここでnは、図7の処理を行うことにより既知となるゾーンの総数である。   In the zone use table shown in FIG. 8, the zone numbers are values assigned in order from the outermost zone, and values from 0 to n-1 are assigned in order. Here, n is the total number of zones that are known by performing the processing of FIG.

また、種別は、そのゾーンにはデータが記録されているのか否か、記録されているとすれば、どのような属性のデータなのかなどのゾーン毎の使用状況を示す情報である。この種別の具体的な保持方法は、例えば、フラグ的に、動画データが記録されている場合には「01h」、静止画データが記録されている場合には「02h」、未使用の場合には「00h」といった具合に予め決められた値によって表現され、保持するようにされる。なお、この種別を示す情報は、未使用ゾーンに最初にデータが記録された場合に、記録されたデータに応じて制御部202より付与するようにされる。   The type is information indicating the usage status for each zone, such as whether or not data is recorded in the zone, and if so, what kind of attribute data is recorded. The specific holding method of this type is, for example, “01h” when moving image data is recorded as a flag, “02h” when still image data is recorded, and when unused. Is expressed by a predetermined value such as “00h” and held. The information indicating this type is given by the control unit 202 according to the recorded data when data is first recorded in the unused zone.

開始クラスタ番号は、ファイルシステムによって管理するようにしているハードディスク33についての情報と、上述もしたように、読み出しテストを行うことにより検出される各ゾーンの開始LBAとに基づいて、計算により求められる情報である。各ゾーンの開始クラスタ番号の算出方法を具体的に説明する。   The start cluster number is obtained by calculation based on the information on the hard disk 33 managed by the file system and the start LBA of each zone detected by performing the read test as described above. Information. A method for calculating the start cluster number of each zone will be specifically described.

この実施の形態のデジタルビデオカメラにおいては、ファイルシステムとして例えばFAT32を用いているものとして説明する。FAT32の場合、ハードディスク33の先頭セクタのMBRのパーティションテーブル中の「開始セクタ(LBA)」(図3B参照)、及び、BPB(BIOS Parameter Block)中の、「BPB_SecPerClus(1クラスタあたりのセクタ数)」、「BPB_NumFATs(FATの数)」、「BPB_FATSz32(1つのFATあたりのセクタ数)」、「BPB_RootClus(ルートディレクトリの開始クラスタ番号)」といった各値と、既に検出してある開始LBAから算出できる。   The digital video camera of this embodiment will be described assuming that, for example, FAT32 is used as a file system. In the case of FAT32, the “start sector (LBA)” (see FIG. 3B) in the MBR partition table of the first sector of the hard disk 33 and “BPB_SecPerClus (number of sectors per cluster) in the BPB (BIOS Parameter Block)” ”,“ BPB_NumFATs (number of FATs) ”,“ BPB_FATSz32 (number of sectors per FAT) ”,“ BPB_RootClus (start cluster number of root directory) ”and the start LBA that has already been detected. .

例えば、
パーティションの開始セクタ=3Fh
BPB_SecPerClus(1クラスタあたりのセクタ数)=40h
BPB_NumFATs(FATの数)=2h
BPB_FATSz32(1つのFATあたりのセクタ数)=9000h
BPB_RootClus(ルートディレクトリの開始クラスタ番号)=2h
とすると、クラスタ番号「100」と物理的に対応するLBAは、
3Fh+(9000h×2h)+40h×(100h−2h)=15FBFh…(1)
と算出できる。
For example,
Partition start sector = 3Fh
BPB_SecPerClus (number of sectors per cluster) = 40h
BPB_NumFATs (number of FATs) = 2h
BPB_FATSz32 (number of sectors per FAT) = 9000h
BPB_RootClus (start directory number of root directory) = 2h
Then, the LBA physically corresponding to the cluster number “100” is
3Fh + (9000h × 2h) + 40h × (100h−2h) = 15FBFh (1)
And can be calculated.

したがって、各ゾーンの開始LBAは既に検出済みであるので、(1)式に基づいて開始クラスタ番号を算出すればよい。すなわち、開始クラスタ番号と開始LBAの関係を簡単に示せば、
3Fh+(9000h×2h)+40h×(開始クラスタ番号−2h)=開始LBA
…(2)
と表すことができ、(2)式における開始LBAに検出済みの各ゾーンの開始LBAを代入して、対応する開始クラスタ番号を算出すればよいことがわかる。
Therefore, since the start LBA of each zone has already been detected, the start cluster number may be calculated based on the equation (1). That is, if the relationship between the start cluster number and the start LBA is simply shown,
3Fh + (9000h × 2h) + 40h × (starting cluster number−2h) = starting LBA
... (2)
It can be shown that the corresponding start cluster number can be calculated by substituting the start LBA of each detected zone for the start LBA in equation (2).

このようにして、ハードディスク33上に形成される各ゾーンについての情報を管理するための図8に示したゾーン利用テーブルを形成する。なお、図8に示した例のゾーン利用テーブル場合には、ハードディスク33上にはn個のゾーンが形成され、0番目のゾーン、1番目のゾーンには既に動画データが記録され、n−3番目のゾーンとn−1番目のゾーンには既に静止画データが記録され、2番目のゾーンとn−2番目のゾーンはまだ未使用であることを示している。   In this way, the zone use table shown in FIG. 8 for managing information about each zone formed on the hard disk 33 is formed. In the case of the zone use table in the example shown in FIG. 8, n zones are formed on the hard disk 33, and moving image data is already recorded in the 0th zone and the 1st zone, and n-3. Still image data has already been recorded in the 1st zone and the (n-1) th zone, indicating that the 2nd zone and the (n-2) th zone are still unused.

なお、ゾーン利用テーブルは、機器の製造時に行われるハードディスク33の記録処理時などにおいて、例えば、MBRとパーティション領域とで挟まれた空き領域に作成され、以後、ハードディスク33にデータが記録するようにされた場合に、制御部20の制御により必要に応じて更新されることになる。   The zone use table is created in, for example, an empty area sandwiched between the MBR and the partition area at the time of recording processing of the hard disk 33 performed at the time of manufacturing the device, and thereafter, data is recorded on the hard disk 33. In such a case, it is updated as necessary under the control of the control unit 20.

そして、この実施の形態のデジタルビデオカメラの制御部20は、おおよその管理として、動画データはデータ量も多く、リアルタイム性の高いデータであるため、ハードディスク33の外周側に記録し、静止画データは、動画データに比べればデータ量は少なく、リアルタイム性の引くいデータであるので、ハードディスク33の内周側に記録するようにしている。このおおよその管理は、ファイルシステムを通じて行われる管理であり、ハードディスク33の記録残容量が少なくなってきたときには、動画データであっても内周側の空き領域に記録し、静止画データであっても外周側に記録するようにされる。   The control unit 20 of the digital video camera according to this embodiment, as a rough management, records the moving image data on the outer peripheral side of the hard disk 33 because it has a large amount of data and high real-time data, and still image data Since the amount of data is smaller than that of moving image data and the data is less real-time, it is recorded on the inner peripheral side of the hard disk 33. This approximate management is performed through the file system. When the remaining recording capacity of the hard disk 33 decreases, even moving image data is recorded in a free area on the inner periphery side, and still image data is stored. Is also recorded on the outer peripheral side.

そして、種々のデータをハードディスク33に記録する場合、従来の技術であれば、FATが示す空き状況に基づいて、ひとかたまりに記録できる位置を(可能な限り)探し、記録開始クラスタ番号を決定する。しかし、この実施の形態のデジタルビデオカメラの場合には、図8に示したように形成されるゾーン利用テーブルを通じて各ゾーンの使用状況を確認し、データの種類(動画、静止画など)によって記録ゾーンを振り分けるようにするのである。   When various data are recorded on the hard disk 33, according to the conventional technique, the recording start cluster number is determined by searching (as much as possible) a position where the data can be recorded in a lump based on the free space indicated by the FAT. However, in the case of the digital video camera of this embodiment, the usage status of each zone is confirmed through the zone usage table formed as shown in FIG. 8, and recording is performed according to the type of data (moving image, still image, etc.). The zones are distributed.

なお、記録しようとするデータの総量(ファイルサイズ)が分ければ、FATの情報に基づいて、適正な容量の空き領域の検出を確実に行うことが可能になり、ファイルサイズが大きいために、2つのゾーンに渡ってデータを記録しなければならないなどの不都合も回避可能とすることができる。   If the total amount of data to be recorded (file size) is divided, it becomes possible to reliably detect a free area with an appropriate capacity based on the FAT information. Since the file size is large, 2 Inconveniences such as having to record data across two zones can also be avoided.

しかしながら、例えば、動画を撮影するなどの場合のように、これから新たにデータを形成して記録を行うようにする場合には、ファイルサイズが記録当初にはわからない。このような場合は、データの種類に応じて、目安となる、確保すべき空き領域(クラスタ数)を定めておくようにすればよい。確保すべき空き領域(クラスタ数)の目安となる容量は、例えば、静止画や音楽であれば数メガバイト、動画であれば数百メガバイト〜数ギガバイトというように、静的な情報として予め決めておくようにすればよい。   However, for example, when recording data by newly forming data, such as when shooting a moving image, the file size is not known at the beginning of recording. In such a case, a free area (number of clusters) to be secured may be determined according to the type of data. The standard capacity of the free space (number of clusters) to be secured is determined in advance as static information, for example, several megabytes for still images and music, and several hundred megabytes to several gigabytes for moving images. You should keep it.

もちろん、確保すべき空き容量の大きさは、外出が多く動画の撮影が多いとか、動画より静止画を撮影する頻度が多いなどのユーザーのいわゆる行動特性や記録フォーマットの種類などによって動的に変更することも可能である。   Of course, the amount of free space to be secured changes dynamically depending on the user's so-called behavioral characteristics and the type of recording format, such as going out and shooting many videos or shooting still images more frequently than movies. It is also possible to do.

図9は、ZCAV方式で回転駆動制御されるハードディスク33のゾーンを基準として用いて、データの記録制御を行うようにした場合のこの実施の形態のデジタルビデオカメラの制御部20の処理を説明するためのフローチャートである。この図9に示す処理は、記録処理が開始するようにされた場合に制御部20において実行される処理である。   FIG. 9 illustrates the processing of the control unit 20 of the digital video camera of this embodiment when data recording control is performed using the zone of the hard disk 33 that is rotationally driven and controlled by the ZCAV method as a reference. It is a flowchart for. The process shown in FIG. 9 is a process executed in the control unit 20 when the recording process is started.

図1を用いて上述したように、この実施の形態のデジタルビデオカメラは、撮影することにより得た静止画データや動画データの記録、画像入出力部16、音声入出力部17を通じての外部機器から種々のデータの記録、通信部19を通じて取得する種々のデータの記録ができるものである。   As described above with reference to FIG. 1, the digital video camera according to the present embodiment is capable of recording still image data and moving image data obtained by shooting, an external device through the image input / output unit 16 and the audio input / output unit 17. Thus, various data can be recorded, and various data acquired through the communication unit 19 can be recorded.

このため、制御部20は、まず、ユーザーにより切り換えられるようにされる動作モード(静止画撮影モード、動画撮影モード、外部機器からの情報の記録モード、通信部を通じて得た情報の記録モード)を確認したり、また、記録するデータのヘッダ部などに付加されている情報を確認したりすることにより、記録しようとしているデータが、動画データなのか、静止画データなのか、音楽などの音声データなのか等のデータの属性を把握する(ステップS11)。   For this reason, the control unit 20 first selects an operation mode (a still image shooting mode, a moving image shooting mode, an information recording mode from an external device, an information recording mode obtained through the communication unit) that can be switched by the user. By checking the information added to the header of the data to be recorded, etc., whether the data to be recorded is video data, still image data, audio data such as music The attribute of the data such as what is determined is grasped (step S11).

このステップS11の処理においては、例えば、動作モードが静止画撮影モードになっていれば、記録するデータは静止画データであることが分かるし、また、動作モードが動画画撮影モードになっていれば、記録するデータは動画データであることが分かる。また、外部機器や通信ネットワークを通じて提供されるデータの場合には、そのデータのヘッダなどに付加されているそのデータの属性を示す情報に基づいて、記録するデータの属性を把握することが可能である。   In the process of step S11, for example, if the operation mode is the still image shooting mode, it can be understood that the data to be recorded is still image data, and the operation mode is the moving image shooting mode. Thus, it can be seen that the data to be recorded is moving image data. In addition, in the case of data provided through an external device or communication network, it is possible to grasp the attribute of data to be recorded based on information indicating the attribute of the data added to the header of the data. is there.

次に、制御部20は、目的とするデータを記録するために必要なクラスタ数を算出する(ステップS12)。このステップS12の処理は、撮影時においては、上述もしたように、静止画や音楽であれば数メガバイト、動画であれば数百メガバイト〜数ギガバイトというように予め決められる大きさとし、外部機器や通信ネットワークを通じて提供されるデータの場合には、そのデータのヘッダなどに付加されているファイルサイズやクラスタサイズを示す情報に基づいて、正確に算出することが可能である。   Next, the control unit 20 calculates the number of clusters necessary for recording the target data (step S12). As described above, the processing in step S12 is set to a predetermined size such as several megabytes for still images and music, and several hundred megabytes to several gigabytes for moving images, as described above. In the case of data provided through a communication network, it is possible to calculate accurately based on information indicating the file size and cluster size added to the header of the data.

そして、制御部20は、図8に示したゾーン利用テーブルを参照し、各ゾーンの使用状況を確認して把握する(ステップS13)。すなわち、制御部20は、ハードディスク33のゾーン利用テーブルを参照し、どのゾーンにどの属性のデータが記録され、どのゾーンが未使用であるかを把握する。そして、制御部20は、ハードディスク33のFATを参照し、ゾーン利用テーブルの情報を踏まえて、記録開始クラスタ番号を決定する(ステップS14)。   Then, the control unit 20 refers to the zone usage table shown in FIG. 8 to confirm and grasp the usage status of each zone (step S13). That is, the control unit 20 refers to the zone use table of the hard disk 33 and grasps which attribute data is recorded in which zone and which zone is unused. Then, the control unit 20 refers to the FAT of the hard disk 33 and determines the recording start cluster number based on the information in the zone usage table (step S14).

このステップS14の処理は、まず、ゾーン利用テーブルの情報に基づいて、同じ属性のデータが既に記録されているゾーンを検出するようにし、検出したゾーンに今回記録しようとしているデータの全部が記録可能か否かを確認する。そして、記録可能である場合には、そのゾーンの未記録領域のクラスタ番号を記録開始クラスタとして決定し、充分な空き領域がない場合には、未使用ゾーンを今回のデータの記録領域とするようにクラスタ番号を決定する。なお、未使用ゾーンを今回のデータの記録領域とする場合には、図8に示したゾーン利用テーブルを更新する処理も行う。   In the process of step S14, first, based on the information in the zone use table, a zone in which data having the same attribute is already recorded is detected, and all the data to be recorded this time can be recorded in the detected zone. Check whether or not. If recording is possible, the cluster number of the unrecorded area of the zone is determined as the recording start cluster, and if there is not enough free space, the unused zone is set as the recording area of the current data. Determine the cluster number. When the unused zone is used as the current data recording area, the zone use table shown in FIG. 8 is also updated.

そして、決定した記録開始クラスタによって指示されるゾーンにデータを記録する(ステップS15)。すなわち、制御部20は、決定した記録開始クラスタによって指示されるゾーンにデータを記録するようにハードディスクドライブ32を制御し、このハードディスクドライブ32に所定の入力端からのデータを供給することによって、目的とするデータがファイルとして、ハードディスク33に格納する。   Then, the data is recorded in the zone indicated by the determined recording start cluster (step S15). That is, the control unit 20 controls the hard disk drive 32 so as to record data in the zone indicated by the determined recording start cluster, and supplies data from a predetermined input end to the hard disk drive 32, thereby Is stored in the hard disk 33 as a file.

このようにして、可能な限り、データの属性によってハードディスク上におけるデータの記録位置をまとめることを試み、リアルタイム性の要求されるデータを、論理的なクラスタとして連続的に、かつ、物理的なセクタとして転送レートが一定な位置に(つまり、複数のゾーンに渡っていない位置に)記録することが可能になる。   In this way, as much as possible, the data recording positions on the hard disk are tried to be grouped according to the data attributes, and the data requiring real-time property is continuously and logically divided into logical clusters. As a result, it is possible to record at a position where the transfer rate is constant (that is, at a position not across a plurality of zones).

図10は、ゾーン利用テーブルを用いない従来の記録制御方式でデータを記録した場合のデータの記録状態例と、ゾーン利用テーブルを用いるこの実施の形態のデジタルビデオカメラでの記録制御方式でデータを記録した場合のデータの記録状態例とを説明するための図である。図10において、文字「STILL」は静止画ファイルを、文字「VIDEO」は動画ファイルを、また、文字「AUDIO」は音声ファイルを示している。   FIG. 10 shows an example of a data recording state when data is recorded by a conventional recording control method that does not use a zone usage table, and data by the recording control method in the digital video camera of this embodiment using a zone usage table. It is a figure for demonstrating the example of a recording state of the data at the time of recording. In FIG. 10, a character “STILL” indicates a still image file, a character “VIDEO” indicates a moving image file, and a character “AUDIO” indicates an audio file.

図10Aに示すように従来方式の場合には、属性の異なるデータファイルが半ば無秩序に記録されてしまうが、図10Bに示すように、この発明による方式を用いることにより、属性の同じデータファイルは隣接して記録することができるようにされる。したがって、移動距離の大きなシーク動作を減少させ、迅速かつスムースなアクセスを行うことが可能となり、リアルタイム性の要求されるデータの再生において不都合を生じさせることもないようにされる。また、比較的に大きな空き領域を確保することもできるようにされ、ハードディスクの記録領域の効率的な活用ができるようにされる。   As shown in FIG. 10A, in the case of the conventional method, data files having different attributes are recorded almost randomly. However, as shown in FIG. 10B, by using the method according to the present invention, data files having the same attributes are recorded. It is possible to record adjacently. Therefore, it is possible to reduce a seek operation with a large moving distance, perform quick and smooth access, and avoid inconvenience in reproducing data that requires real-time performance. Also, a relatively large free area can be secured, so that the recording area of the hard disk can be used efficiently.

なお、このように、同じ属性のデータをまとめるようにして記録できるようにすることにより、詳しくは後述もするが、画像データや音声データを効率よく、しかもユーザーにとって使い勝手が良いようにするために設けられるAV管理情報を使用する場合にも、目的とするデータへのアクセスがスムースになるなどの効果がある。   As described in detail later, by making it possible to record data having the same attribute in a collective manner in this way, in order to make image data and audio data efficient and user-friendly Even when the provided AV management information is used, there is an effect such as smooth access to target data.

[(2)パーティションを基準とする記録制御について]
次に、パーティションを基準として用いて、データの記録制御を行う場合について説明する。このパーティションを基準として用いてデータの記録制御を行う場合も、基本的には上述したゾーンを基準として用いてデータの記録制御を行うようにする場合と同様の制御となる。
[(2) Recording control based on partition]
Next, a case where data recording control is performed using a partition as a reference will be described. Even when data recording control is performed using this partition as a reference, control is basically the same as when data recording control is performed using the above-described zone as a reference.

図11は、ハードディスク上におけるパーティションの分け方の例を説明するための図である。上述もしたように、ハードディスクの先頭セクタに形成されるMBR中のパーティションテーブル領域に形成するパーティションテーブルの数に応じて、図11Aに示すように、ハードディスク上を、4つまでのパーティション領域に分割することが可能である。   FIG. 11 is a diagram for explaining an example of how to partition a hard disk. As described above, according to the number of partition tables formed in the partition table area in the MBR formed in the first sector of the hard disk, the hard disk is divided into up to four partition areas as shown in FIG. 11A. Is possible.

したがって、図11Bに示すように、ハードディスク上を2つのパーティション領域に分割したり、図11Cに示すように、1つのパーティション領域しか設けないようにしたりすることが可能である。また、上述もしたように、EBRを用いることにより、ハードディスク上を5つ以上のパーティション領域に分割することが可能である。そして、図11A、図11Bに示したように、ハードディスク上を少なくとも2つ以上のパーティション領域に分割するようにした場合に、パーティションを基準として用いて、データの記録先となるパーティションを分けるようにすることが可能である。   Therefore, the hard disk can be divided into two partition areas as shown in FIG. 11B, or only one partition area can be provided as shown in FIG. 11C. Further, as described above, by using EBR, the hard disk can be divided into five or more partition areas. Then, as shown in FIGS. 11A and 11B, when the hard disk is divided into at least two or more partition areas, the partition to be the data recording destination is divided using the partition as a reference. Is possible.

そして、この場合においては、各パーティションについての使用状況を管理するためのパーティション利用テーブルをハードディスク33上に形成する。図12は、パーティション利用テーブルを説明するための図である。図12に示すように、この実施の形態のパーティション利用テーブルは、各パーティションについて、パーティション番号、種別、空き容量を管理するようにするものである。   In this case, a partition usage table for managing the usage status of each partition is formed on the hard disk 33. FIG. 12 is a diagram for explaining the partition use table. As shown in FIG. 12, the partition usage table of this embodiment manages the partition number, type, and free capacity for each partition.

パーティション利用テーブルにおいて、パーティション番号は、パーティションの形成時において、各パーティションに割り当てられるものである。この場合においても、nはパーティションの総数に一致する値である。種別は、そのパーティションにはデータが記録されているのか否か、記録されているとすれば、どのような属性のデータなのかなどのパーティション毎の使用状況を示す情報である。   In the partition usage table, the partition number is assigned to each partition when the partition is formed. In this case, n is a value that matches the total number of partitions. The type is information indicating the usage status for each partition, such as whether or not data is recorded in the partition, and if so, what attribute the data is.

種別の具体的な保持方法は、上述したゾーン利用テーブルの場合と同様に、例えば、動画データが記録されている場合には「01h」、静止画データが記録されている場合には「02h」、未使用の場合には「00h」といった具合に予め決められた値によって表現され、保持するようにされる。   The specific type holding method is, for example, “01h” when moving image data is recorded and “02h” when still image data is recorded, as in the case of the zone use table described above. When not used, it is expressed by a predetermined value such as “00h” and held.

また、パーティション利用テーブルにおいて、空き容量は、各パーティションの空き容量を示す情報である。パーティションの形成時において、各パーティション領域の大きさは、製造者やユーザーによって指示されるので、その指示された値が空き容量の初期値となる。   In the partition usage table, the free space is information indicating the free space of each partition. When the partition is formed, the size of each partition area is instructed by the manufacturer or user, and the indicated value becomes the initial value of the free space.

なお、このパーティション利用テーブルは、製造時やユーザーによる利用開始時などにおいて行われるパーティションの形成時において、指示するようにされた数、大きさのパーティションを形成するようにした後に、制御部20によって、ハードディスクドライブ32のハードディスク33に形成される。パーティション利用テーブルもまた、例えば、MBRと最初のパーティションとの間に設けられる空き領域に形成する。   This partition usage table is created by the control unit 20 after forming partitions having the number and size specified when the partition is formed at the time of manufacturing or when the user starts using the partition usage table. , Formed on the hard disk 33 of the hard disk drive 32. The partition usage table is also formed in a free area provided between the MBR and the first partition, for example.

そして、パーティションにデータが書き込まれた場合には、そのパーティションについてのパーティション利用テーブルの空き領域の情報が、書き込まれたデータ分の容量が減算される。また、未使用パーティションに初めてデータを記録した場合には、そのパーティションについてのパーティション利用テーブルの種別のエリアに記録したデータの属性を示す情報が記録されることになる。   When data is written to the partition, the capacity of the written data is subtracted from the information on the free area of the partition use table for the partition. Also, when data is recorded for the first time in an unused partition, information indicating the attribute of the recorded data is recorded in the partition usage table type area for that partition.

図12のパーティション利用テーブルの場合、0番のパーティションには、動画データ記録されており既に空き容量はなく、1番のパーティションには、静止画データが記録されており既に空き容量がなく、また、2番のパーティションには、音楽などの音声データが記録されているが1000セクタ分の空き容量があることを示している。   In the partition usage table of FIG. 12, moving image data is already recorded in the 0th partition and there is no free space already, and still image data is already recorded in the 1st partition and there is no free space. In the second partition, audio data such as music is recorded, but there is a free space of 1000 sectors.

また、図12のパーティション利用テーブルの場合、n−3番のパーティションには、動画データ記録されており20000セクタの空き容量があり、n−2番のパーティションには、音声データが記録されており40000セクタの空き容量があり、n−1番目のパーティションには、静止画データが記録されており300000セクタの空き容量があることを示している。なお、未使用パーティションのパーティション利用テーブルの場合には、種別が未使用を示すものとなり、そのパーティションの記憶容量の全てが空き容量となるようにされる。   In the partition usage table of FIG. 12, moving image data is recorded in the n-3th partition and there is a free space of 20000 sectors, and audio data is recorded in the n-2th partition. There is a free space of 40000 sectors, and still image data is recorded in the (n-1) th partition, indicating that there is a free space of 300000 sectors. In the case of a partition usage table of an unused partition, the type indicates that it is unused, and all of the storage capacity of the partition is made free.

したがって、この実施の形態のデジタルビデオカメラの制御部20は、ハードディスク33の空きエリアに形成される図12に示したパーティション利用テーブルにより、データが記録されている使用パーティションとデータが記録されていない未使用パーティションの別を把握することができると共に、使用パーティションについては、記録されているデータの属性および空き容量を正確に把握することができる。そして、この図12に示したパーティション利用テーブルを用いることによって、パーティション単位の記録制御を行うことができるようにされる。   Therefore, the control unit 20 of the digital video camera of this embodiment uses the partition usage table shown in FIG. 12 formed in the empty area of the hard disk 33 and the used partition and the data are not recorded. It is possible to grasp the type of unused partition, and it is possible to accurately grasp the attribute and free capacity of recorded data for the used partition. By using the partition usage table shown in FIG. 12, recording control in units of partitions can be performed.

図13は、パーティション単位に記録制御を行うようにした場合のこの実施の形態のデジタルビデオカメラの制御部20の処理を説明するためのフローチャートである。この図12に示す処理は、記録処理が開始するようにされた場合に制御部20において実行される処理である。   FIG. 13 is a flowchart for explaining the processing of the control unit 20 of the digital video camera of this embodiment when recording control is performed in units of partitions. The process shown in FIG. 12 is a process executed in the control unit 20 when the recording process is started.

まず、制御部20は、制御部20は、ハードディスク33に記録するデータの属性を確認する(ステップS21)。このステップS21の処理は、図9に示したステップS11の処理と同様の処理であり、動作モードや記録するデータのヘッダ部などに付加されている属性情報に基づいて、記録するデータの属性を確認(把握)する処理である。   First, the control unit 20 checks the attribute of data to be recorded on the hard disk 33 (step S21). The process of step S21 is the same as the process of step S11 shown in FIG. 9, and the attribute of the data to be recorded is determined based on the attribute information added to the operation mode, the header of the data to be recorded, and the like. This is a process of confirming (ascertaining).

そして、制御部20は、記録しようとしているデータの属性とその総量とに基づいて、図12に示したパラメータ利用テーブルを参照し、属性が同じデータが記録されており、かつ、充分な空き容量を持ったパーティションが存在する場合には、そのパーティションをデータの記録先として決定し、属性が同じデータが記録されたパーティションは存在するが、空き容量が不足している場合には、未使用パーティションをデータの記録先として決定する(ステップS22)。   Then, the control unit 20 refers to the parameter use table shown in FIG. 12 based on the attribute of the data to be recorded and the total amount thereof, data having the same attribute is recorded, and sufficient free space If there is a partition with data, that partition is determined as the data recording destination, and there is a partition with data with the same attribute recorded, but if there is not enough free space, an unused partition Is determined as the data recording destination (step S22).

この後、制御部20は、決定したパーティションに対して、そのパーティションのFATを参照し、目的とするデータ、すなわち、撮影して得た動画データ、静止画データ、音声データ、あるいは、外部機器や通信ネットワークを通じて提供を受けた動画、静止画データ、音声データなどを記録する処理を行うようにし、記録処理終了後、この図13に示した処理を終了する。   Thereafter, the control unit 20 refers to the FAT of the determined partition, and sets the target data, that is, moving image data, still image data, audio data obtained by shooting, an external device, Processing for recording moving images, still image data, audio data, and the like provided through the communication network is performed, and after the recording processing is completed, the processing shown in FIG. 13 is terminated.

このように、同じ属性のデータは同じパーティションに記録することができるので、同じ属性のデータがハードディスク33上のあちこちに分散してしまうことを防止し、効率よくデータをハードディスクに記録することができる。したがって、静止画を連続して再生するようにするいわゆるスライドショーのような再生をする場合であっても、シーク動作に時間がかかるなどの不都合を生じさせずに良好に再生させることができる。   As described above, since data having the same attribute can be recorded in the same partition, it is possible to prevent data having the same attribute from being scattered around the hard disk 33 and to efficiently record the data on the hard disk. . Therefore, even in the case of playback such as a so-called slide show in which still images are played back continuously, playback can be performed satisfactorily without causing inconvenience such as a time required for the seek operation.

このように、記録するデータの属性に応じて、記録パーティションを変えることも可能である。また、ゾーン単位の記録制御、パーティション単位の記録制御と同様に、この実施の形態のデジタルビデオカメラに複数のハードディスクを搭載するなど、同時に利用可能な記録媒体を複数接続した場合には、記録媒体単位に属性の異なるデータを記録するように制御することも可能である。   Thus, the recording partition can be changed according to the attribute of the data to be recorded. Similarly to recording control in units of zones and recording control in units of partitions, when a plurality of recording media that can be used at the same time are connected, such as mounting a plurality of hard disks in the digital video camera of this embodiment, the recording media It is also possible to control to record data having different attributes in units.

この場合においては、制御部20が、どの記録媒体にどの属性のデータが記録されているか、あるいは、記録するかを管理するとともに、記録しようとする属性を確認し、その属性に応じて、記録先となる記録媒体を制御するようにすればよい。   In this case, the control unit 20 manages which attribute data is recorded on which recording medium, or whether to record, confirms the attribute to be recorded, and records according to the attribute. The previous recording medium may be controlled.

このように、ゾーン、パーティション、記録媒体のいずれかを記録先の基準として用いるようにして、データの記録制御を行うようにすることができる。そして、ゾーン、パーティション、記録媒体のいずれを基準としてデータを記録するようにした場合であっても、この実施の形態のデジタルビデオカメラの制御部20において実行されるOS(Operating System)またはファームウエアが、動作モードや記録しようとするデータに付加されている属性情報に基づいて、記録しようとしているデータの属性を確認し、その確認した属性に応じて、記録先であるゾーンやパーティションや記録媒体にデータを振り分けるようにすればよい。   As described above, data recording control can be performed by using any one of the zone, the partition, and the recording medium as a recording destination reference. Even when data is recorded based on any of zones, partitions, and recording media, an OS (Operating System) or firmware executed in the control unit 20 of the digital video camera of this embodiment is used. However, based on the operation mode and the attribute information added to the data to be recorded, the attribute of the data to be recorded is confirmed, and according to the confirmed attribute, the zone, partition or recording medium that is the recording destination The data should be distributed to each other.

[変形例]
この実施の形態のデジタルビデオカメラは、上述したように、ゾーン利用テーブルやパーティション利用テーブルの情報を参照し、実際にデータを書き込むゾーンやパーティションを決定して、同じ属性のデータはハードディスク上の近隣の記録領域にまとめるようにして記録できるようにした。
[Modification]
As described above, the digital video camera of this embodiment refers to the information of the zone usage table and the partition usage table, determines the zone and partition to actually write the data, and the data with the same attribute is the neighborhood on the hard disk. It was made possible to record in a recording area.

これに加えて、記録しようとするデータの供給経路や記録しようとするデータの属性に基づいて、ハードディスク上の記録領域の検索方向を制御することにより、ハードディスクにより効率よくデータを記録すると共に、ハードディスクに記録されたデータについてもより効率よく利用できるようにすることが可能である。   In addition to this, by controlling the search direction of the recording area on the hard disk based on the supply path of the data to be recorded and the attributes of the data to be recorded, the hard disk can efficiently record data and It is possible to make it possible to use the data recorded in the more efficiently.

ハードディスク33は円盤状の記録媒体であり、その記録領域について概念的に示せば、図14に示すように、外周側に一番初めにアクセスしなければならないMBRが設けられ、外周側(先頭側)から内周側(終端側)に向かってパーティション領域が設けられる。そして、データの記録に際しても、外周側(先頭側)からデータの書き込みが行われるようにされる。   The hard disk 33 is a disk-shaped recording medium. If the recording area is conceptually shown, as shown in FIG. 14, the MBR that must be accessed first is provided on the outer peripheral side, and the outer peripheral side (the first side) ) To the inner peripheral side (terminal side). When data is recorded, data is written from the outer peripheral side (first side).

さらに、上述もしたように、この実施の形態のハードディスクドライブ32は、ハードディスク33をZCAV方式で回転駆動制御するので、外周側の記録領域に対しては、迅速にアクセスし、データを高転送レートで記録する。しかし、内周側の記録領域に対しては、外周側の記録領域に比べれば、シークに時間がかかる分、アクセスに時間がかかると共に、外周側に比べれば、データの転送レートも低くなる。   Further, as described above, since the hard disk drive 32 of this embodiment controls the rotation of the hard disk 33 by the ZCAV method, the recording area on the outer peripheral side is quickly accessed and the data is transferred at a high transfer rate. Record with. However, for the recording area on the inner circumference side, it takes time to seek compared to the recording area on the outer circumference side, and it takes time to access, and the data transfer rate is lower than that on the outer circumference side.

したがって、記録領域のアクセスの迅速性、および、データの転送レートの観点からみると、外周側の記録領域の方が内周側の記録領域に比べて、データの記録には有利である。そこで、この実施の形態のデジタルビデオカメラは、記録しようとするデータの供給経路や記録しようとするデータの属性に基づいて、ハードディスク上の検索方向を制御するようにしている。   Therefore, from the viewpoint of quick access to the recording area and data transfer rate, the outer recording area is more advantageous for data recording than the inner recording area. Therefore, the digital video camera of this embodiment controls the search direction on the hard disk based on the supply path of the data to be recorded and the attribute of the data to be recorded.

まず、記録しようとするデータの供給経路に基づいて、ハードディスク上の検索方向を制御する場合について説明する。図15は、記録しようとするデータの供給経路に基づいて、ハードディスク上の検索方向を制御する場合を説明するためのフローチャートである。この図15に示す処理は、ユーザーから記録が指示された場合に、制御部20において実行される処理である。   First, the case where the search direction on the hard disk is controlled based on the supply path of the data to be recorded will be described. FIG. 15 is a flowchart for explaining a case where the search direction on the hard disk is controlled based on the supply path of the data to be recorded. The process shown in FIG. 15 is a process executed in the control unit 20 when recording is instructed by the user.

すなわち、制御部20は、データを記録するようにする指示入力を受け付けると、図14に示す処理を実行し、まず、ユーザーにより指示するようにされているデータの記録モードを確認する(ステップS31)。このステップS31の処理を具体的に言えば、この実施の形態のデジタルビデオカメラの動作状態が、撮影モードか、外部機器から供給されるデータを記録媒体に記録したり、記録媒体に記録されているデータを再生したりするVTRモードかを確認するものである。   That is, when receiving an instruction input to record data, the control unit 20 executes the process shown in FIG. 14, and first confirms the data recording mode that is instructed by the user (step S31). ). Specifically, the processing of this step S31 is the operation state of the digital video camera of this embodiment is the shooting mode or the data supplied from the external device is recorded on the recording medium or recorded on the recording medium. This is to check whether the VTR mode is used to reproduce the data being recorded.

ここで、撮影モードは、光学レンズ部11や光電変換部12などのいわゆるカメラ部やマイクロホンを通じて取得するようにしている動画データや音声データなどの現時点においてはファイルサイズが不定のリアルタイムデータなどを記録媒体に記録するようにするものである。   Here, the shooting mode records real-time data with an undefined file size at the present time such as moving image data and audio data that are acquired through a so-called camera unit such as the optical lens unit 11 and the photoelectric conversion unit 12 or a microphone. It is intended to be recorded on a medium.

また、VTRモードにおける記録処理は、画像入出力部16や音声入出力部17を通じて、あるいは、USBやイーサネット(登録商標)、あるいは種々の無線通信プロトコルが適用された通信部19を通じて供給される、ファイルサイズが既に決まっているデータを記録媒体に記録するものである。   Recording processing in the VTR mode is supplied through the image input / output unit 16 and the audio input / output unit 17 or through the communication unit 19 to which various wireless communication protocols are applied, such as USB, Ethernet (registered trademark), Data with a predetermined file size is recorded on a recording medium.

したがって、ステップS31において、撮影モードかVTRモードかを検出することによって、ファイルサイズが不定のリアルタイムデータを記録媒体に記録しようとしているのか、あるいは、ファイルサイズが既に決まっているデータを記録媒体に記録しようとしているのかを判別することができる。   Accordingly, in step S31, whether the shooting mode or the VTR mode is detected to record real-time data with an indefinite file size on the recording medium, or data on which the file size has already been determined is recorded on the recording medium. You can determine what you are trying to do.

そして、制御部20は、ステップS31の確認処理の結果に基づいて、カメラ部を経由して取り込まれた画像データやこのデジタルビデオカメラに設けられたマイクロホンを通じて取り込まれた音声データなどのリアルタイムデータを記録するモードか否かを判断する(ステップS32)。   Then, based on the result of the confirmation process in step S31, the control unit 20 obtains real-time data such as image data captured via the camera unit and audio data captured via a microphone provided in the digital video camera. It is determined whether or not the recording mode is set (step S32).

ステップS32の判断処理において、この実施の形態のデジタルビデオカメラが、カメラ部やマイクロホンを通じて取り込んだデータを記録する撮影モードであると判断した場合には、迅速にアクセスが可能であって、迅速にデータの記録が可能なハードディスク33の外周側(先頭)から内周側(終端)に向かって、データの記録先となるゾーンあるいはパーティションを探すようにする(ステップS33)。   In the determination process of step S32, when it is determined that the digital video camera of this embodiment is a shooting mode for recording data captured through the camera unit or the microphone, quick access is possible and The zone or partition that is the data recording destination is searched from the outer peripheral side (start) to the inner peripheral side (end) of the hard disk 33 capable of recording data (step S33).

ステップS32の判断処理において、カメラ部やマイクロホンを通じて取り込んだデータを記録する撮影モードでないと判断した場合には、ハードディスクの外周側に比べた場合には、アクセスに不利となるハードディスクの内周側(終端)から外周側(先頭)に向かって、データの記録先となるゾーンあるいはパーティションを探すようにする(ステップS34)。   In the determination process of step S32, if it is determined that the shooting mode is not for recording data captured through the camera unit or the microphone, the inner peripheral side of the hard disk (access is disadvantageous compared to the outer peripheral side of the hard disk) The zone or partition that is the data recording destination is searched for from the (end) to the outer peripheral side (start) (step S34).

ステップS33の処理、あるいは、ステップS34の処理の後、これらの処理によって、探し出された記録先にデータを記録する処理を行って(ステップS35)、この図15に示す処理を終了する。   After the process of step S33 or the process of step S34, the process of recording data in the found recording destination is performed by these processes (step S35), and the process shown in FIG. 15 is terminated.

これにより、撮影することにより得られるいわゆるリアルタイムデータについては、ハードディスク33の外周側から記録先の検出が行われ、迅速に記録先を特定し、記録容量については余裕を持たせて、高転送レートで記録媒体に記録することができるようにされる。また、外部機器などからのデータ量が決まっている画像データや音声データについては、ハードディスク33の内周側から記録先の検出が行われ、必要な記録容量の記録領域を確保した上で、安定に内周側の記録領域に記録することができるようにされる。   As a result, for so-called real-time data obtained by shooting, the recording destination is detected from the outer peripheral side of the hard disk 33, the recording destination is quickly identified, and the recording capacity is given a high transfer rate. It is possible to record on a recording medium. In addition, for image data and audio data whose amount of data from an external device or the like is determined, the recording destination is detected from the inner circumference side of the hard disk 33, and a stable recording area with a necessary recording capacity is secured. It is possible to record in the recording area on the inner circumference side.

次に、記録しようとするデータの属性に基づいて、ハードディスク上の検索方向を制御する場合について説明する。図16は、記録しようとするデータの属性に基づいて、ハードディスク上の検索方向を制御する場合を説明するためのフローチャートである。この図16に示す処理は、ユーザーから記録が指示された場合に、制御部20において実行される処理である。   Next, a case where the search direction on the hard disk is controlled based on the attribute of data to be recorded will be described. FIG. 16 is a flowchart for explaining a case where the search direction on the hard disk is controlled based on the attribute of data to be recorded. The process shown in FIG. 16 is a process executed in the control unit 20 when recording is instructed by the user.

すなわち、制御部20は、データを記録するようにする指示入力を受け付けると、図16に示す処理を実行し、まず、記録しようとするデータの属性を確認する(ステップS41)。このステップS41の処理を具体的に言えば、まず、撮影モードかVTRモードか確認し、撮影モードにされている場合には、動画撮影モードか静止画撮影モードかを確認し、VTRモードの場合には、提供されたデータの例えばヘッダ部分に付加されている属性情報を確認する。これにより、記録しようとするデータが、動画データか、静止画データか、音声データかなどの、記録するデータの属性を確認することができる。   That is, when receiving an instruction input for recording data, the control unit 20 executes the process shown in FIG. 16, and first confirms the attribute of the data to be recorded (step S41). More specifically, the processing of step S41 is first confirmed whether the mode is the shooting mode or the VTR mode. If the mode is the shooting mode, it is confirmed whether the mode is the moving image shooting mode or the still image shooting mode. For example, the attribute information added to the header portion of the provided data is confirmed. Thereby, it is possible to confirm the attribute of the data to be recorded, such as whether the data to be recorded is moving image data, still image data, or audio data.

そして、制御部20は、ステップS41の確認処理の結果に基づいて、記録しようとしているデータは、動画データか否かを判断する(ステップS42)。ステップS42の判断処理において、記録しようとしているデータは、動画データであると判断したときには、迅速にアクセスが可能であって、迅速にデータの記録が可能なハードディスク33の外周側(先頭)から内周側(終端)に向かって、データの記録先となるゾーンあるいはパーティションを探すようにする(ステップS43)。   And the control part 20 judges whether the data which it is going to record is moving image data based on the result of the confirmation process of step S41 (step S42). In the determination process of step S42, when it is determined that the data to be recorded is moving image data, the data can be accessed quickly, and the data can be recorded quickly from the outer peripheral side (top) of the hard disk 33. The zone or partition that is the data recording destination is searched toward the circumferential side (end) (step S43).

ステップS42の判断処理において、記録しようとしているデータは、動画データでないと判断したときには、ハードディスクの外周側に比べた場合には、アクセスに不利となるハードディスクの内周側(終端)から外周側(先頭)に向かって、データの記録先となるゾーンあるいはパーティションを探すようにする(ステップS34)。   In the determination process of step S42, when it is determined that the data to be recorded is not moving image data, it is disadvantageous for access from the inner peripheral side (end) to the outer peripheral side (which is disadvantageous for access) compared to the outer peripheral side of the hard disk ( The head or head is searched for a zone or partition to which data is to be recorded (step S34).

ステップS33の処理、あるいは、ステップS34の処理の後、これらの処理によって、探し出された記録先にデータを記録する処理を行って(ステップS35)、この図16に示す処理を終了する。   After the process of step S33 or the process of step S34, the process of recording data in the found recording destination is performed by these processes (step S35), and the process shown in FIG. 16 is terminated.

これにより、データ量も多く、かつ、データの初めから終わりまでデータの連続性が確保されている必要な動画データおよびこれに付随する音声データについては、ハードディスク33の外周側から記録先の検出が行われ、迅速に記録先を特定して、記録容量については余裕を持たせて、高転送レートで記録媒体に記録することができるようにされる。また、静止画データや音声データは、動画データに比べれば、データ量は少なく、データの連続性を確保することも比較的に容易であるので、ハードディスク33の内周側から記録先の検出が行われ、必要な記録容量の記録領域を確保した上で、安定に内周側の記録領域に記録することができる。   As a result, the recording destination is detected from the outer peripheral side of the hard disk 33 for the necessary moving image data that has a large amount of data and the continuity of the data from the beginning to the end of the data and the accompanying audio data. The recording destination is quickly specified, and the recording capacity is provided with a margin, so that the recording can be performed on the recording medium at a high transfer rate. Still image data and audio data are smaller in data amount than moving image data, and it is relatively easy to ensure data continuity. Therefore, the recording destination can be detected from the inner periphery of the hard disk 33. As a result, a recording area having a required recording capacity can be secured and recording can be stably performed on the recording area on the inner circumference side.

[AV管理情報の利用について]
ハードディスクなどの大容量記録媒体に対して、動画データ、静止画データ、音声データなどの種々の属性のデータを数多く記録して利用する場合に、それらのデータを効率よく管理し、効率よく利用できるようにするために、管理情報のみを別ファイルにまとめて一括管理することが考えられる。図17は、この一括管理方式の概要について説明するための図である。
[Use of AV management information]
When recording and using many data with various attributes such as moving image data, still image data, and audio data on a large-capacity recording medium such as a hard disk, the data can be efficiently managed and used efficiently. In order to achieve this, it is conceivable that only management information is collectively managed in a separate file. FIG. 17 is a diagram for explaining an overview of this collective management method.

図17に示すように、この例の場合においても、記録媒体10には、AV(Audio/Visual)管理情報101、静止画ファイルA、静止画ファイルB、動画ファイルCが記録されているものとする。この一括管理方式の場合には、図17において、AV管理情報101が示すように、各画像データの管理情報は、画像データファイルA、B、Cとは別ファイルにおいて管理され、AV管理情報と画像データファイルとは予め決められるポインタによって結びつけられるようにしている。   As shown in FIG. 17, even in this example, AV (Audio / Visual) management information 101, still image file A, still image file B, and moving image file C are recorded on the recording medium 10. To do. In the case of this collective management method, as shown by AV management information 101 in FIG. 17, the management information of each image data is managed in a file different from the image data files A, B, and C. The image data file is associated with a predetermined pointer.

図18は、AV管理情報の一例を説明するための図である。この例の場合には、AV管理情報は、タイトルファイル101aと、サムネイルファイル101bと、プロパティファイル101cとを含んでいる。これらの各ファイルには、ファイルとして記録されている画像データに対する種々の情報がエントリ情報(登録情報)として保持するようにされている。   FIG. 18 is a diagram for explaining an example of AV management information. In the case of this example, the AV management information includes a title file 101a, a thumbnail file 101b, and a property file 101c. In each of these files, various information for the image data recorded as the file is held as entry information (registration information).

タイトルファイル101aに登録されているタイトルエントリ0、1、2、…のそれぞれは、ファイルとして記憶されている画像データのそれぞれについてのコメント、メモ、注記などといった例えばユーザーにより入力するようにされたテキストデータを保持する。   Each of the title entries 0, 1, 2,... Registered in the title file 101a is a text input by the user, such as a comment, a memo, a note, etc. for each of the image data stored as a file. Retain data.

また、サムネイルファイル101bに登録されているサムネイルエントリ0、1、2、…のそれぞれは、ファイルとして記憶されている画像データにより形成される画像の縮小画像データであり、1種類に限らず複数の縮小画像を持つようにすることも可能なものである。   Further, each of the thumbnail entries 0, 1, 2,... Registered in the thumbnail file 101b is reduced image data of an image formed by image data stored as a file, and is not limited to one type, but a plurality of thumbnail entries. It is also possible to have a reduced image.

また、プロパティファイル101cに登録されているプロパティエントリ0、1、2、…のそれぞれは、ファイルとして記憶されている画像データのそれぞれについての種々の管理情報を保持するものである。そして、各プロパティエントリのそれぞれには、図18において、プロパティエントリn部分に示したように、少なくとも、ファイルポインタPt、オリジナル記録ファイルフラグaa、撮影日時情報bb、修正日時情報ccが含まれるようにされる。   Further, each of the property entries 0, 1, 2,... Registered in the property file 101c holds various management information for each of the image data stored as a file. Each property entry includes at least the file pointer Pt, the original recording file flag aa, the shooting date / time information bb, and the correction date / time information cc, as shown in the property entry n portion in FIG. Is done.

ファイルポインタPtは、当該プロパティエントリに対応する画像データファイルを特定するための情報である。また、オリジナル記録ファイルフラグaaは、この実施の形態のデジタルビデオカメラにおいて撮影されて記録媒体に記録された画像データか否かを示すものである。この例の場合、オリジナル記録ファイルフラグaaが、「1」の場合には、この実施の形態のデジタルビデオカメラにより撮影された画像データのファイルであることを示し、「0」の場合には、この実施の形態のデジタルビデオカメラにより撮影されたのではない画像データのファイルであることを示す。   The file pointer Pt is information for specifying the image data file corresponding to the property entry. The original recording file flag aa indicates whether or not the image data is captured by the digital video camera according to this embodiment and recorded on the recording medium. In the case of this example, when the original recording file flag aa is “1”, it indicates that the file is an image data file taken by the digital video camera of this embodiment, and when it is “0”, It indicates that the file is an image data file not taken by the digital video camera of this embodiment.

また、撮影日時情報bbは、この実施の形態のデジタルビデオカメラにおいて撮影することにより取り込まれ、記録媒体に記録された画像データの撮影日時を示すものである。修正日時情報ccは、その画像データの修正処理が行われた日時を示すものである。しかし、後述もするが、外部から提供された画像データの場合には、修正日時情報ccは、その画像データをこのデジタルビデオカメラが取得した日時である取得日時を示すものとして用いるようにされる。   The shooting date / time information bb indicates the shooting date / time of image data captured by the digital video camera of this embodiment and recorded on the recording medium. The correction date / time information cc indicates the date / time when the correction processing of the image data was performed. However, as will be described later, in the case of image data provided from the outside, the correction date / time information cc is used as an acquisition date / time indicating the date / time when the digital video camera acquired the image data. .

そして、画像データファイルや音声データファイルなどの各コンテンツファイル1つに対しては、AV管理情報として、タイトルエントリとサムネイルエントリとプロパティエントリとを設けることができるようにされる。各画像データファイルのそれぞれと、タイトルエントリ、サムネイルエントリとは、プロパティエントリを介して間接的に関連付けられている。   A title entry, a thumbnail entry, and a property entry can be provided as AV management information for each content file such as an image data file or an audio data file. Each image data file is indirectly associated with the title entry and the thumbnail entry via the property entry.

したがって、図18に示した例の場合には、静止画ファイルAに対しては、AV管理情報として、タイトルエントリn、サムネイルエントリn、プロパティエントリnが設けられ、静止画ファイルBに対しては、タイトルエントリ2、サムネイルエントリ2、プロパティエントリ2が設けられている。同様に、動画ファイルCに対しては、タイトルエントリn+1、サムネイルエントリn+1、プロパティエントリn+1が設けられている。   Accordingly, in the case of the example shown in FIG. 18, a title entry n, a thumbnail entry n, and a property entry n are provided as AV management information for the still image file A, and for the still image file B. , Title entry 2, thumbnail entry 2, and property entry 2. Similarly, a title entry n + 1, a thumbnail entry n + 1, and a property entry n + 1 are provided for the moving image file C.

また、例えば、プロパティファイル101cには、再生順序などについての定義を記録しておくこともできるようにされ、アプリケーションにより、AV管理情報のプロパティファイル101cの内容が解釈され、定義された内容にしたがって、目的とする画像データや音声データを再生することができるようにされる。これにより、例えば、静止画を連続して再生するようにするスライドショー再生などもできるようにされる。   Further, for example, the property file 101c can record the definition of the reproduction order, etc., and the contents of the property file 101c of the AV management information are interpreted by the application, and according to the defined contents. The target image data and audio data can be reproduced. Thereby, for example, a slide show reproduction that continuously reproduces still images can be performed.

このように、記録媒体に記録した画像データや音声データについての管理情報を、画像データファイルや音声データファイルとは別個に設けることにより、画像データファイルや音声データファイルの検索やサーチの時間が格段に短縮することができるなどのメリットがある他、スライドショー再生など従来にない種々の態様で再生を行うようにするな等のこともできるようにされる。   Thus, by providing management information about image data and audio data recorded on a recording medium separately from the image data file and audio data file, the search time and search time for the image data file and audio data file are markedly increased. In addition to being advantageous in that it can be shortened, it is also possible to perform playback in various unconventional manners such as slide show playback.

したがって、例えば、撮影日時を検索キーとして、AV管理情報のプロパティファイルの情報を参照することにより、目的する静止画ファイルなどを迅速に見つけ出すことができる。また、予め決められた順番で、静止画データのスライドショー再生を行うようにする場合を考えると、上述したように、プロパティファイル101cの情報に基づいて目的とする静止画ファイルを迅速に特定することが可能である。   Therefore, for example, by referring to the property file information of the AV management information using the shooting date and time as a search key, the target still image file can be quickly found. Further, considering the case where slide show playback of still image data is performed in a predetermined order, as described above, the target still image file can be quickly identified based on the information in the property file 101c. Is possible.

しかし、スライドショー再生しようとする複数の静止画ファイルがハードディスク上の広い範囲に点在する場合には、移動距離の大きなシーク動作が頻繁に発生することになり、AV管理情報の機能の有効活用を阻害することにもなりかねない。しかし、この発明を適用することにより、静止画ファイルは近隣の記録領域にまとめられるように記録されるので、移動距離の大きなシーク動作が頻繁に発生することを防止することができ、AV管理情報によって迅速に特定された目的とする静止画ファイルに迅速にアクセスし、再生することができるようにされる。すなわち、再生をスムースに行うようにすることができる。   However, when a plurality of still image files to be played back as a slide show are scattered over a wide area on the hard disk, a seek operation with a large moving distance frequently occurs, and effective use of the function of the AV management information is effective. It can also interfere. However, by applying the present invention, the still image files are recorded so as to be collected in a nearby recording area, so that frequent seek operation with a large moving distance can be prevented, and AV management information can be prevented. The target still image file quickly specified by the user can be quickly accessed and played back. That is, the reproduction can be performed smoothly.

ここでは、静止画データのスライドショー再生の場合を例にして説明したが、これに限るものではない。関連のある動画データを連続的に再生するようにしたり、複数の音声データを再生する場合にその再生順を決めて再生したりするなどの種々の場合において、AV管理情報により、正確に再生順などを指示することができると共に、移動距離の大きなシーク動作をできるだけ少なくするようにして、データの記録時や再生時におけるこの実施の形態のデジタルビデオカメラの制御部20、および、ハードディスクドライブ32の負荷を軽減し、動作の信頼性が高いデジタルビデオカメラを実現することができる。   Here, the case of a slide show reproduction of still image data has been described as an example, but the present invention is not limited to this. In various cases, such as when related video data is continuously played back, or when playing back a plurality of audio data, the playback order is determined. Of the control unit 20 of the digital video camera of this embodiment and the hard disk drive 32 at the time of data recording or reproduction so as to minimize the seek operation with a large moving distance as much as possible. A digital video camera with reduced load and high operation reliability can be realized.

なお、この発明は、上述もしたように、デジタルビデオカメラの主に制御部20の機能により実現されるものであり、その位置付けは、制御部20において動作するようにされるソフトウエアである「ファイルシステム」および「デバイスドライバ」に関連して動作するものである。   As described above, the present invention is realized mainly by the function of the control unit 20 of the digital video camera, and the positioning is software that is operated in the control unit 20. It operates in relation to the “file system” and “device driver”.

すなわち、図19に示すように、記録媒体(この実施の形態においては、ハードディスク33)に対してデータを記録したり、記録媒体に記録されているデータを読み出して利用したりする場合には、ユーザーとの窓口となるアプリケーションプログラム51の下層に記録媒体上のファイルを管理するためのファイルシステム(ファイル管理プログラム)52とファイルシステムからの情報に基づいて記録媒体を制御するデバイスドライバ53とが存在する。   That is, as shown in FIG. 19, when data is recorded on a recording medium (in this embodiment, the hard disk 33), or when data recorded on the recording medium is read and used, A file system (file management program) 52 for managing files on the recording medium and a device driver 53 for controlling the recording medium based on information from the file system exist below the application program 51 serving as a window with the user. To do.

そして、種々のデータを記録する場合には、ファイルシステム52、デバイスドライバ53の機能によりデータを書き込むことになるが、その前段において、図9、図13、図15、図16を用いて説明したいわゆる前処理を行うことにより、データの記録先を適切に探し出し、属性の同じデータを隣接するようにまとめて記録するようにすることができる。   In the case of recording various data, the data is written by the functions of the file system 52 and the device driver 53. In the previous stage, the data has been described with reference to FIGS. 9, 13, 15, and 16. By performing so-called pre-processing, it is possible to appropriately search for a data recording destination and collectively record data having the same attribute so as to be adjacent to each other.

つまり、データの書き込み/読み出しを制御することになるファイルシステム52、デバイスドライバ53については変更することなく、そのまま利用するようにして、データの記録時における記録先を特定する処理を追加することによって、この発明を実現することができる。したがって、ファイルシステムに、各ゾーン、あるいは、各パーティションの使用状況の確認、といった処理を追加すればよい。   That is, the file system 52 and the device driver 53 that control data writing / reading are used as they are without being changed, and a process for specifying the recording destination at the time of data recording is added. The present invention can be realized. Therefore, processing such as confirmation of the usage status of each zone or each partition may be added to the file system.

また、上述の実施の形態においては、情報信号の受付手段は、光学レンズ部11、光電変換部12などからなるカメラ部、画像入出力部16および音声入出力部17、通信部19などの3つの系統により実現し、判別手段は、制御部20が、また、記録制御手段は、主に制御部20が実現するようにしている。また、撮像手段は、言うまでもなく、光学レンズ部11、光電変換部12などからなるカメラ部が実現している。   In the above-described embodiment, the information signal receiving means includes three units such as the camera unit including the optical lens unit 11, the photoelectric conversion unit 12, the image input / output unit 16, the audio input / output unit 17, and the communication unit 19. It is realized by one system, and the discriminating means is realized by the control unit 20, and the recording control means is realized mainly by the control unit 20. Needless to say, the imaging means is realized by a camera unit including the optical lens unit 11 and the photoelectric conversion unit 12.

なお、上述の実施の形態においては、ゾーン利用テーブル、パーティション利用テーブルをハードディスク33のMBR直後の空き領域に形成するものとして説明したが、これに限るものではない。ハードディスク33上の他の領域に形成するようにしてもよいし、あるいは、制御部20のRAM23やEEPROM24に形成するようにし、あるいは、メモリーカード34などの外部メモリーに形成するようにしてもよい。なお、メモリーカードなどの外部メモリーにゾーン利用テーブル、パーティション利用テーブルを形成した場合には、そのテーブルがどの記録媒体についてのものかを示すメディアID(メディア識別情報)をも各テーブルに付加するようにしておけばよい。   In the above-described embodiment, the zone use table and the partition use table are described as being formed in the free area immediately after the MBR of the hard disk 33. However, the present invention is not limited to this. It may be formed in another area on the hard disk 33, or may be formed in the RAM 23 or the EEPROM 24 of the control unit 20, or may be formed in an external memory such as the memory card 34. When a zone use table and a partition use table are formed in an external memory such as a memory card, a media ID (media identification information) indicating which recording medium the table is for is added to each table. Just keep it.

また、記録媒体を基準としてデータの記録制御を行う場合においても、記録媒体のデータの記録状態を管理するためのテーブルをハードディスクや制御部20のRAM23やEEPROM24、あるいは、メモリーカード34などの外部メモリーに形成することができる。もちろん、この場合においても、メモリーカードなどの外部メモリーにテーブルを形成した場合には、そのテーブルがどの記録媒体についてのものかを示すメディアID(メディア識別情報)をも各テーブルに付加するようにしておく。   Even when data recording control is performed using the recording medium as a reference, a table for managing the recording state of the data on the recording medium is stored in the external memory such as the hard disk, the RAM 23 of the control unit 20, the EEPROM 24, or the memory card 34. Can be formed. Of course, even in this case, when a table is formed in an external memory such as a memory card, a media ID (media identification information) indicating which recording medium the table is for is added to each table. Keep it.

また、上述の実施の形態においては、初めにハードディスクの記録領域を動画データの記録領域と静止画データの記録領域とにおおよそ分けるようにしたが、これに限るものではない。単純に、ゾーン、パーティションのいずれかを基準として、データの記録制御を行うようにすることももちろん可能である。   In the above-described embodiment, the recording area of the hard disk is first roughly divided into the recording area for moving image data and the recording area for still image data. However, the present invention is not limited to this. It is of course possible to simply perform data recording control based on either zone or partition.

また、上述の実施の形態においては、属性の異なる情報信号として、動画データ、静止画データとを記録媒体に記録する場合を例にして説明した。しかし、これに限るものではない。動画データ、静止画データの他、音声データ、テキストデータ、その他種々のキャラクタデータのそれぞれを別々のエリアにまとめて記録するようにすることももちろん可能である。また、動画データや静止画データであっても、フォーマット(書式)などの情報に応じて記録エリアをまとめることもできる。   In the above-described embodiment, the case where moving image data and still image data are recorded on a recording medium as an information signal having different attributes has been described as an example. However, it is not limited to this. Of course, in addition to moving image data and still image data, audio data, text data, and other various character data can be recorded together in separate areas. Even for moving image data and still image data, recording areas can be grouped according to information such as format.

例えば、動画データであれば、MPEG(Moving Picture Experts Group)方式でデータ圧縮されたものと、他のデータ圧縮方式でデータ圧縮されたものを分けたり、あるいは、データ圧縮されたものと、データ圧縮されていないものとを分けたりすることももちろん可能である。このようにする場合には、記録しようとするデータのヘッダなどに付加されているフォーマットを示す情報などにより区別できる。   For example, in the case of moving image data, the data compressed by the MPEG (Moving Picture Experts Group) method and the data compressed by another data compression method are separated, or the data compressed and the data compressed It is of course possible to separate what is not done. In this case, it can be distinguished by information indicating a format added to a header of data to be recorded.

また、上述した実施の形態においては、記録媒体としてハードディスクを用いる場合を例に挙げて説明したが、これに限るものではない。例えば、MO(Magneto Optical disk)の一部、PD(Phase change rewritable Disk)、Zip、SuperDiskといった、ZCAV(Zone Constant Angular Velocity)方式を採用している他の種々の記録媒体を用いる場合においてもこの発明を適用することが可能である。   In the above-described embodiment, the case where a hard disk is used as a recording medium has been described as an example. However, the present invention is not limited to this. For example, even when using various other recording media adopting the ZCAV (Zone Constant Angular Velocity) method, such as a part of MO (Magneto Optical disk), PD (Phase change rewritable disk), Zip, SuperDisk. The invention can be applied.

また、上述した実施の形態において、記録媒体に記録するデータは、動画データ、静止画データ、音楽などの音声データを記録する場合を例にして説明したが、これに限るものではない。例えば、テキストデータ、プログラムデータ、その他の種々のデータを記録する場合にもこの発明を適用することができる。   In the above-described embodiment, the data to be recorded on the recording medium is described as an example of recording audio data such as moving image data, still image data, music, but the present invention is not limited to this. For example, the present invention can be applied to recording text data, program data, and other various data.

また、動画データや静止画データであっても、フォーマット(書式)などの情報に応じて記録エリアをまとめることもできる。例えば、動画データであれば、MPEG(Moving Picture Experts Group)方式でデータ圧縮されたものと、他のデータ圧縮方式でデータ圧縮されたものを分けたり、あるいは、データ圧縮されたものと、データ圧縮されていないものとを分けたりすることももちろん可能である。   Even for moving image data and still image data, recording areas can be grouped according to information such as format. For example, in the case of moving image data, the data compressed by the MPEG (Moving Picture Experts Group) method and the data compressed by another data compression method are separated, or the data compressed and the data compressed It is of course possible to separate what is not done.

このようにする場合には、記録しようとするデータのヘッダなどに付加されているフォーマットを示す情報などにより区別できる。このようにする場合には、例えば、撮影した画像と、ネットワークを通じて提供される情報や外部機器などから提供される情報などとを同じ記録媒体に記録する場合に効果がある。撮影して得た画像データと外部から提供される画像データとでは、データのフォーマットが異なっている場合も多いためである。   In this case, it can be distinguished by information indicating a format added to a header of data to be recorded. In this case, for example, it is effective when recording a photographed image and information provided through a network or information provided from an external device on the same recording medium. This is because image data obtained by photographing and image data provided from outside often have different data formats.

また、上述した実施の形態においては、ファイルシステムとしてFATを用いるものとして説明したが、これに限るものではない。FAT以外の種々のファイルシステムを用いる場合にこの発明を適用することができる。   In the above-described embodiment, the file system is described as using FAT, but the present invention is not limited to this. The present invention can be applied when using various file systems other than FAT.

また、上述した実施の形態においては、この発明をデジタルビデオカメラに適用した場合を例にして説明したが、これに限るものではない。例えば、ハードディスクドライブなどを記録装置として用いるパーソナルコンピュータ、ハードディスク装置、その他、ハードディスクやMOなどの記録媒体に対してデータを記録することが可能な電子機器にこの発明を適用することができる。   In the above-described embodiment, the case where the present invention is applied to a digital video camera has been described as an example. However, the present invention is not limited to this. For example, the present invention can be applied to a personal computer using a hard disk drive or the like as a recording device, a hard disk device, and other electronic devices capable of recording data on a recording medium such as a hard disk or an MO.

この発明が適用されたデジタルビデオカメラを説明するためのブロック図である。It is a block diagram for demonstrating the digital video camera to which this invention was applied. ファイルシステムに応じて初期化されることにより利用可能となるハードディスク33の状態を説明するための図である。It is a figure for demonstrating the state of the hard disk 33 which can be utilized by being initialized according to a file system. ファイルシステムに応じて初期化されることにより利用可能となるハードディスク33の状態を説明するための図である。It is a figure for demonstrating the state of the hard disk 33 which can be utilized by being initialized according to a file system. ハードディスク33上に形成されるパーティション領域とこれを管理するパーティションテーブルについて説明するための図である。It is a figure for demonstrating the partition area | region formed on the hard disk 33, and the partition table which manages this. 読み出しテストによる各ゾーンの開始LBAを検出する処理を説明するための図である。It is a figure for demonstrating the process which detects the start LBA of each zone by a read test. 読み出しテストによる各ゾーンの開始LBAを検出する処理を説明するための図である。It is a figure for demonstrating the process which detects the start LBA of each zone by a read test. ハードディスク33上の各ゾーンの開始LBAを検出する処理を説明するためのフローチャートである。4 is a flowchart for explaining processing for detecting a start LBA of each zone on a hard disk 33; ゾーン利用テーブルを説明するための図である。It is a figure for demonstrating a zone utilization table. ゾーンを基準としてデータの記録を行うようにした場合の記録処理を説明するためのフローチャートである。It is a flowchart for demonstrating the recording process at the time of recording data on the basis of a zone. ゾーン利用テーブルを用いない従来の記録制御方式でデータを記録した場合のデータの記録状態例と、ゾーン利用テーブルを用いたこの発明が用いられた記録制御方式でデータを記録した場合のデータの記録状態例とを説明するための図である。Example of data recording state when data is recorded by a conventional recording control method not using a zone usage table, and data recording when data is recorded by a recording control method using the present invention using a zone usage table It is a figure for demonstrating an example of a state. ハードディスク上におけるパーティションの分け方の例を説明するための図である。It is a figure for demonstrating the example of how to divide the partition on a hard disk. パーティション利用テーブルを説明するための図である。It is a figure for demonstrating a partition utilization table. ハードディスクに設けられたパーティションを基準としてデータの記録を行うようにした場合の記録処理を説明するためのフローチャートである。It is a flowchart for demonstrating the recording process at the time of recording data on the basis of the partition provided in the hard disk. ハードディスクの基本的な状態を説明するための図である。It is a figure for demonstrating the basic state of a hard disk. 記録しようとするデータの供給経路に基づいて、ハードディスク上の検索方向を制御する場合を説明するためのフローチャートである。It is a flowchart for demonstrating the case where the search direction on a hard disk is controlled based on the supply path | route of the data which it is going to record. 記録しようとするデータの属性に基づいて、ハードディスク上の検索方向を制御する場合を説明するためのフローチャートである。It is a flowchart for demonstrating the case where the search direction on a hard disk is controlled based on the attribute of the data which it is going to record. AV管理情報によるデータの一括管理を説明するための図である。It is a figure for demonstrating the package management of the data by AV management information. AV管理情報について説明するための図である。It is a figure for demonstrating AV management information. この発明をソフトウエアによって実現する場合の位置付けと他の必要プログラムとの関係を説明するための図である。It is a figure for demonstrating the relationship in the case of implement | achieving this invention by software, and another required program.

符号の説明Explanation of symbols

11…光学レンズ部、12…光電変換部、13…カメラ機能制御部、14…画像信号処理部、15…LCD(Liquid Crystal Display)、16…画像入出力部、17…音声入出力部、18…音声信号処理部、19…通信部、20…制御部、21…CPU、22…ROM、23…RAM、24…EEPROM、31…操作入力部、32…ハードディスクドライブ(ハードディスク装置)、33…ハードディスク、34…メモリーカード   DESCRIPTION OF SYMBOLS 11 ... Optical lens part, 12 ... Photoelectric conversion part, 13 ... Camera function control part, 14 ... Image signal processing part, 15 ... LCD (Liquid Crystal Display), 16 ... Image input / output part, 17 ... Audio | voice input / output part, 18 DESCRIPTION OF SYMBOLS ... Audio | voice signal processing part, 19 ... Communication part, 20 ... Control part, 21 ... CPU, 22 ... ROM, 23 ... RAM, 24 ... EEPROM, 31 ... Operation input part, 32 ... Hard disk drive (hard disk device), 33 ... Hard disk , 34 ... Memory card

Claims (10)

記録媒体に記録すべき情報信号の入力を受け付ける受付手段と、
前記受付手段を通じて受け付ける前記情報信号の属性を判別する判別手段と、
前記判別手段により判別された前記属性に基づいて、同じ属性を有する情報信号が隣接するように、前記受付手段を通じて受け付けた前記情報信号についての前記記録媒体への記録を制御する記録制御手段と
を備えることを特徴とする記録装置。
Receiving means for receiving an input of an information signal to be recorded on the recording medium;
Discriminating means for discriminating attributes of the information signal received through the accepting means;
Recording control means for controlling recording of the information signal received through the receiving means on the recording medium so that information signals having the same attribute are adjacent to each other based on the attribute determined by the determining means; A recording apparatus comprising:
請求項1に記載の記録装置であって、
前記記録制御手段は、前記記録媒体の記録領域を分割するようにして形成される所定の記録領域毎に、同じ属性の情報信号がまとまるように記録することを特徴とする記録装置。
The recording apparatus according to claim 1,
The recording apparatus, wherein the recording control unit records information signals having the same attribute for each predetermined recording area formed so as to divide the recording area of the recording medium.
請求項2に記載の記録装置であって、
前記記録制御手段により用いられる前記記録領域は、前記記録媒体上の記録ゾーン、あるいは、記録パーティションであることを特徴とする記録装置。
The recording apparatus according to claim 2,
The recording apparatus, wherein the recording area used by the recording control means is a recording zone or a recording partition on the recording medium.
請求項1に記載の記録装置であって、
複数の記録媒体の利用ができるようにされており、
前記記録制御手段は、前記複数の記録媒体毎に、同じ属性の情報信号がまとまるように記録することを特徴とする記録装置。
The recording apparatus according to claim 1,
Multiple recording media can be used,
The recording apparatus according to claim 1, wherein the recording control unit records information signals having the same attribute for each of the plurality of recording media.
記録媒体に記録すべき情報信号の受付端部として、動画情報と静止画情報との一方あるいは両方の撮像を可能にする撮像手段と、
前記撮像手段により撮像して得た画像が静止画像であるか動画像であるかの属性を判別する判別手段と、
前記判別手段により判別された前記属性に基づいて、同じ属性を有する情報信号が隣接するように、前記受付手段を通じて受け付けた前記情報信号についての記録媒体への記録を制御する記録制御手段と
を備えることを特徴とする撮像装置。
An image pickup means that enables imaging of one or both of moving image information and still image information as a reception end of an information signal to be recorded on a recording medium;
A discriminating unit for discriminating an attribute of whether the image obtained by the imaging unit is a still image or a moving image;
Recording control means for controlling recording of the information signal received through the receiving means on a recording medium so that information signals having the same attribute are adjacent to each other based on the attribute determined by the determining means. An imaging apparatus characterized by that.
記録媒体に記録すべき情報信号の入力を受け付ける受付ステップと、
前記受付ステップにおいて受け付けた前記情報信号の属性を判別する判別ステップと、
前記判別ステップにおいて判別した前記属性に基づいて、同じ属性を有する情報信号が隣接するように、前記受付ステップにおいて受け付けた前記情報信号の前記記録媒体への記録を制御する記録制御ステップと
を有することを特徴とする記録方法。
A reception step for receiving an input of an information signal to be recorded on the recording medium;
A determination step of determining an attribute of the information signal received in the reception step;
A recording control step for controlling recording of the information signal received in the receiving step to the recording medium so that information signals having the same attribute are adjacent to each other based on the attribute determined in the determining step. A recording method characterized by the above.
請求項8に記載の記録方法であって、
前記記録制御ステップにおいては、前記記録媒体の記録領域を分割するようにして形成される所定の記録領域毎に、同じ属性の情報信号がまとまるように記録することを特徴とする記録方法。
The recording method according to claim 8, wherein
In the recording control step, recording is performed such that information signals having the same attribute are collected for each predetermined recording area formed so as to divide the recording area of the recording medium.
請求項7に記載の記録方法であって、
前記記録制御ステップにおいて用いるようにする前記記録領域は、前記記録媒体上に設けられる記録ゾーン、あるいは、記録パーティションであることを特徴とする記録方法。
The recording method according to claim 7, comprising:
The recording method, wherein the recording area to be used in the recording control step is a recording zone or a recording partition provided on the recording medium.
請求項10に記載の記録方法であって、
複数の記録媒体の利用ができるようにされており、
前記記録制御ステップにおいては、前記複数の記録媒体毎に、同じ属性の情報信号がまとまるように記録することを特徴とする記録方法。
The recording method according to claim 10, wherein
Multiple recording media can be used,
In the recording control step, recording is performed such that information signals having the same attribute are collected for each of the plurality of recording media.
記録媒体に記録すべき情報信号の受付端部である撮像手段を通じて、動画情報と静止画情報との一方あるいは両方の撮像を行うようにする撮像ステップと、
前記撮像ステップにおいて撮像した画像が静止画像であるか動画像であるかの属性を判別する判別ステップと、
前記判別ステップにおいて判別した前記属性に基づいて、同じ属性を有する情報信号が隣接するように、前記受付ステップにおいて受け付けた前記情報信号についての記録媒体への記録を制御する記録制御ステップと
を有することを特徴とする撮像方法。
An imaging step for imaging one or both of moving image information and still image information through an imaging means that is an acceptance end of an information signal to be recorded on a recording medium;
A determination step of determining whether the image captured in the imaging step is a still image or a moving image;
And a recording control step for controlling recording of the information signal received in the receiving step to the recording medium so that information signals having the same attribute are adjacent to each other based on the attribute determined in the determining step. An imaging method characterized by the above.
JP2003319424A 2003-09-11 2003-09-11 RECORDING DEVICE, RECORDING METHOD, IMAGING DEVICE, AND IMAGING METHOD Expired - Fee Related JP4543641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003319424A JP4543641B2 (en) 2003-09-11 2003-09-11 RECORDING DEVICE, RECORDING METHOD, IMAGING DEVICE, AND IMAGING METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003319424A JP4543641B2 (en) 2003-09-11 2003-09-11 RECORDING DEVICE, RECORDING METHOD, IMAGING DEVICE, AND IMAGING METHOD

Publications (2)

Publication Number Publication Date
JP2005086737A true JP2005086737A (en) 2005-03-31
JP4543641B2 JP4543641B2 (en) 2010-09-15

Family

ID=34418366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003319424A Expired - Fee Related JP4543641B2 (en) 2003-09-11 2003-09-11 RECORDING DEVICE, RECORDING METHOD, IMAGING DEVICE, AND IMAGING METHOD

Country Status (1)

Country Link
JP (1) JP4543641B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125697A1 (en) * 2006-04-26 2007-11-08 Panasonic Corporation Video processing device, recording medium, video signal processing method, video signal processing program, and integrated circuit
JP2009087255A (en) * 2007-10-02 2009-04-23 Canon Inc Data storage device, data storage method, and program
JP2010020845A (en) * 2008-07-10 2010-01-28 Canon Inc Method and device for initializing recording medium
JP2010282703A (en) * 2009-06-05 2010-12-16 Nippon Hoso Kyokai <Nhk> Recording/reproduction control device, and recording/reproduction device using hard disk drive
US7929029B2 (en) 2005-12-28 2011-04-19 Sony Corporation Apparatus, method, and program for recording image
JP2011123890A (en) * 2006-06-30 2011-06-23 Seagate Technology Llc Object-based storage device with storage medium having variable medium property

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0334158A (en) * 1989-06-30 1991-02-14 Hitachi Ltd Data recorder
JPH05314659A (en) * 1992-05-08 1993-11-26 Fuji Electric Co Ltd Method for setting data recording zone for disk storage
JPH09259579A (en) * 1996-03-25 1997-10-03 Sony Corp Detection apparatus for empty region in recording medium
JP2000350138A (en) * 1999-06-03 2000-12-15 Olympus Optical Co Ltd Electronic image pickup device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0334158A (en) * 1989-06-30 1991-02-14 Hitachi Ltd Data recorder
JPH05314659A (en) * 1992-05-08 1993-11-26 Fuji Electric Co Ltd Method for setting data recording zone for disk storage
JPH09259579A (en) * 1996-03-25 1997-10-03 Sony Corp Detection apparatus for empty region in recording medium
JP2000350138A (en) * 1999-06-03 2000-12-15 Olympus Optical Co Ltd Electronic image pickup device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929029B2 (en) 2005-12-28 2011-04-19 Sony Corporation Apparatus, method, and program for recording image
US9066016B2 (en) 2005-12-28 2015-06-23 Sony Corporation Apparatus, method, and program for selecting image data using a display
US9807307B2 (en) 2005-12-28 2017-10-31 Sony Corporation Apparatus, method, and program for selecting image data using a display
WO2007125697A1 (en) * 2006-04-26 2007-11-08 Panasonic Corporation Video processing device, recording medium, video signal processing method, video signal processing program, and integrated circuit
US8339412B2 (en) 2006-04-26 2012-12-25 Panasonic Corporation Video processing device, recording medium, video signal processing method, video signal processing program, and integrated circuit
JP2011123890A (en) * 2006-06-30 2011-06-23 Seagate Technology Llc Object-based storage device with storage medium having variable medium property
JP2009087255A (en) * 2007-10-02 2009-04-23 Canon Inc Data storage device, data storage method, and program
JP2010020845A (en) * 2008-07-10 2010-01-28 Canon Inc Method and device for initializing recording medium
JP2010282703A (en) * 2009-06-05 2010-12-16 Nippon Hoso Kyokai <Nhk> Recording/reproduction control device, and recording/reproduction device using hard disk drive

Also Published As

Publication number Publication date
JP4543641B2 (en) 2010-09-15

Similar Documents

Publication Publication Date Title
KR100847403B1 (en) File accessing method and file accessing apparatus
JP4751889B2 (en) Data recording system, data recording method, and data recording program
JP3977245B2 (en) Playback device
JP5235541B2 (en) Recording apparatus and method
US20040105331A1 (en) Method and apparatus for controlling the recording of digital information, and recording medium therefor
JP4543641B2 (en) RECORDING DEVICE, RECORDING METHOD, IMAGING DEVICE, AND IMAGING METHOD
JP4314461B2 (en) Information processing apparatus, imaging apparatus, and information processing method
US20060245751A1 (en) Camera having functions of copying and moving images by one single operation
JP4492535B2 (en) Recording apparatus and recording control method
JP4586533B2 (en) Recording apparatus, address conversion apparatus, recording control method, and recording control program
US20060146667A1 (en) Optical disc recording apparatus and method, and disc recording apparatus with camera
US8682141B2 (en) Video and audio recording apparatus and editing method
JP4318040B2 (en) Information editing apparatus, imaging apparatus, and information editing method
JP4206872B2 (en) Information editing apparatus, imaging apparatus, and information editing method
JP5950798B2 (en) Recording apparatus and control method thereof
JP4972909B2 (en) Data recording device
JP4734898B2 (en) Information processing apparatus, information processing method, and program
US20050265190A1 (en) Recording apparatus
JP2007157256A (en) Recording system
JP2007082141A (en) Digital video camera capable of identifying incorporated recording medium by external device
JP2000106660A (en) Device and method for recording image
JP2009104739A (en) Recording media control device, recording media control method, and computer program
JP2008011419A (en) Recording device and control method thereof
JP2006128822A (en) Information storage device
JP2005250982A (en) Recording device and method, recording medium, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090129

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090824

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091013

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091029

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100621

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

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees