JP2007053707A - Recording medium - Google Patents

Recording medium Download PDF

Info

Publication number
JP2007053707A
JP2007053707A JP2005239216A JP2005239216A JP2007053707A JP 2007053707 A JP2007053707 A JP 2007053707A JP 2005239216 A JP2005239216 A JP 2005239216A JP 2005239216 A JP2005239216 A JP 2005239216A JP 2007053707 A JP2007053707 A JP 2007053707A
Authority
JP
Japan
Prior art keywords
recording medium
flag
management information
recording
interface
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
JP2005239216A
Other languages
Japanese (ja)
Other versions
JP4878456B2 (en
JP2007053707A5 (en
Inventor
Yohei Fujitani
洋平 藤谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005239216A priority Critical patent/JP4878456B2/en
Publication of JP2007053707A publication Critical patent/JP2007053707A/en
Publication of JP2007053707A5 publication Critical patent/JP2007053707A5/ja
Application granted granted Critical
Publication of JP4878456B2 publication Critical patent/JP4878456B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable an imaging device to be quickly activated for a short period of time without the need for a new CPU even when a removal of a recording medium occurs. <P>SOLUTION: When a PC and a recording medium 200 are connected with a general-purpose interface 205, the controller 201 of the recording medium 200 can execute a read/write processing of image data received from the PC on a second nonvolatile memory 203. The controller 201, however, cannot execute the read/write processing of management information 300 in a first nonvolatile memory 202. When a digital camera 100 and the recording medium 200 are connected with a camera interface 204, the controller 201 can execute the read/write processing on both the first nonvolatile memory 202 and the second nonvolatile memory 203. The first nonvolatile memory 202 holds an update flag 301 indicating whether or not the recording medium 200 is updated. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタルカメラ、デジタルビデオカメラ等の撮像装置に用いられる取り外し可能な記録媒体に関する。   The present invention relates to a removable recording medium used in an imaging apparatus such as a digital camera or a digital video camera.

近年、SDメモリカードやコンパクトフラッシュ(登録商標)等の記録媒体に撮影画像データを格納するデジタルカメラ、デジタルビデオカメラ等の撮像装置が開発されている。   In recent years, imaging devices such as a digital camera and a digital video camera that store captured image data on a recording medium such as an SD memory card or a compact flash (registered trademark) have been developed.

通常、撮像装置では、記録媒体に撮影画像データが記録できるか確認するために、ファイルシステムの初期化処理が必要になる。具体的には、ファイルシステムの起動時間の制約や、記録媒体に関する情報(記録媒体の種別情報、記録媒体の全体容量、現在までの使用容量、現在の空き容量、ファイルフォーマット及び現在の最新ファイル情報等)をこの記録媒体から読み出す時間のために、メカニカルな機構の初期化動作や、電気的な機構の初期化動作が完了したにもかからわらず、撮影動作を行うことが不可能であった。   Usually, in an imaging apparatus, an initialization process of a file system is required to confirm whether captured image data can be recorded on a recording medium. Specifically, restrictions on the start time of the file system, information on the recording medium (recording medium type information, total capacity of the recording medium, used capacity up to now, current free capacity, file format, and current latest file information Etc.) from the recording medium, the photographing operation cannot be performed even though the initialization operation of the mechanical mechanism and the initialization operation of the electric mechanism are completed. It was.

また、記録媒体の記録容量の増加に伴い、ファイルシステムの初期化に要する時間が増加し、システム起動時間全体が長くなっている。そこで、撮像装置内にある主CPUに加えて、副CPUを配有することにより、ファイルシステムの初期化動作と他のメカニカルな機構の初期化動作を行うものや、撮像装置の主CPUへ供給する電源を停止しても記録媒体が取り外されない限りは、副CPUが記録媒体に関する情報を保持することにより、撮像装置を高速に起動させるものが提案されている(特許文献1参照)。   As the recording capacity of the recording medium increases, the time required for initialization of the file system increases, and the entire system startup time becomes longer. Therefore, by providing a sub CPU in addition to the main CPU in the image pickup apparatus, an initialization operation of the file system and an initialization operation of another mechanical mechanism are provided, and the image data is supplied to the main CPU of the image pickup apparatus. As long as the recording medium is not removed even when the power is turned off, an apparatus has been proposed in which the sub CPU holds information about the recording medium to start the imaging apparatus at high speed (see Patent Document 1).

特開2000−209485号公報(図1等)Japanese Unexamined Patent Publication No. 2000-209485 (FIG. 1 etc.)

しかしながら、特許文献1に記載の撮像装置では、新たなCPUを必要とするためにコストがかかり、安価な撮像装置を提供することが困難であるという問題がある。また、記録媒体の取り外しが発生すると、撮像装置を短時間で高速に起動させることができず、シャッターチャンスを逃してしまうという問題もある。   However, the imaging device described in Patent Document 1 requires a new CPU, which is expensive, and there is a problem that it is difficult to provide an inexpensive imaging device. Further, when the recording medium is removed, there is a problem that the image pickup apparatus cannot be started at high speed in a short time, and a photo opportunity is missed.

そこで、本発明は、記録媒体の取り外しが発生しても、新たなCPUを必要とすることなく短時間で高速に撮像装置を起動できるようにすることを目的とする。   Therefore, an object of the present invention is to enable an imaging apparatus to be activated at high speed in a short time without requiring a new CPU even when a recording medium is removed.

本発明による記録媒体は、第1の記録領域と、第2の記録領域と、撮像装置に適合する第1のインタフェースと、前記第1のインタフェースと異なる第2のインタフェースと、前記第1のインタフェースからは前記第1の記録領域と前記第2の記録領域の両方にアクセス可能とし、前記第2のインタフェースからは前記第2の記録領域のみにアクセス可能とする制御手段とを備え、前記第1の記録領域が該記録媒体が更新されているか否かを示すフラグを保持する点に特徴を有する。   The recording medium according to the present invention includes a first recording area, a second recording area, a first interface suitable for an imaging device, a second interface different from the first interface, and the first interface. Comprises a control means for enabling access to both the first recording area and the second recording area, and allowing only the second recording area to be accessed from the second interface. This recording area is characterized in that it holds a flag indicating whether or not the recording medium has been updated.

本発明によれば、記録媒体の取り外しが発生しても、新たなCPUを必要とすることなく短時間で撮像装置を起動することができ、シャッターチャンスを逃してしまうことを少なくすることができる。   According to the present invention, even when the recording medium is removed, the imaging apparatus can be activated in a short time without requiring a new CPU, and the chance of missing a photo opportunity can be reduced. .

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
[第1の実施形態]
図1は、本発明の第1〜第3の実施形態に係る記録媒体の主要な構成要素を示す図である。図1において、200は記録媒体である。記録媒体200は、コントローラ201、第1の不揮発性メモリ202、第2の不揮発性メモリ203、カメラインタフェース204、汎用インタフェース205から構成されている。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
[First Embodiment]
FIG. 1 is a diagram showing main components of a recording medium according to the first to third embodiments of the present invention. In FIG. 1, reference numeral 200 denotes a recording medium. The recording medium 200 includes a controller 201, a first nonvolatile memory 202, a second nonvolatile memory 203, a camera interface 204, and a general-purpose interface 205.

第1の不揮発性メモリ202及び第2の不揮発性メモリ203は、フラッシュROM等の不揮発性メモリであり、ハードディスク、CD−R又はDVD等の媒体であっても良い。2つの不揮発性メモリは物理的に異なるメモリでも良いし、同一メモリ内を2つの領域に論理的に分けて実現しても良い。この2つの不揮発性メモリの1つである第1の不揮発性メモリ202は、デジタルカメラ100を高速に起動するために、後述する図2に示す記録媒体200が更新されているか否かを示す更新フラグ301とデジタルカメラ100を高速に起動するのに必要な管理情報300を保持している。   The first nonvolatile memory 202 and the second nonvolatile memory 203 are nonvolatile memories such as a flash ROM, and may be a medium such as a hard disk, a CD-R, or a DVD. The two nonvolatile memories may be physically different memories, or may be realized by logically dividing the same memory into two areas. The first nonvolatile memory 202, which is one of the two nonvolatile memories, is an update indicating whether or not the recording medium 200 shown in FIG. 2 to be described later has been updated in order to start the digital camera 100 at high speed. Management information 300 necessary for starting the flag 301 and the digital camera 100 at high speed is held.

カメラインタフェース204は、後述するデジタルカメラ100のコネクタ92に適合するインタフェースである。   The camera interface 204 is an interface compatible with a connector 92 of the digital camera 100 described later.

汎用インタフェース205は、標準的なPC(パーソナルコンピュータ)に適合するインタフェースである。例えばUSB(Universal Serial Bus)である。   The general-purpose interface 205 is an interface compatible with a standard PC (personal computer). For example, USB (Universal Serial Bus).

コントローラ201は、外部コネクタと接続する記録媒体200のインタフェースがカメラインタフェース204か、汎用インタフェース205かにより動作が異なり、第1の不揮発性メモリ202と第2の不揮発性メモリ203へのアクセスを制御する。   The controller 201 operates differently depending on whether the interface of the recording medium 200 connected to the external connector is the camera interface 204 or the general-purpose interface 205, and controls access to the first nonvolatile memory 202 and the second nonvolatile memory 203. .

コントローラ201は、汎用インタフェース205によるPCと記録媒体200の接続の場合には、PCから受信する画像データを第2の不揮発性メモリ203に対して読み書き処理を実行できるが、第1の不揮発性メモリ202内の管理情報300に対する読み書き処理を実行できない。   When the general-purpose interface 205 connects the PC and the recording medium 200, the controller 201 can execute read / write processing of image data received from the PC with respect to the second nonvolatile memory 203. The read / write processing for the management information 300 in 202 cannot be executed.

一方、コントローラ201は、カメラインタフェース204によるデジタルカメラ100と記録媒体200の接続の場合には、第1の不揮発性メモリ202と第2の不揮発性メモリ203のいずれに対しても読み書き処理を実行できる。   On the other hand, when the digital camera 100 and the recording medium 200 are connected by the camera interface 204, the controller 201 can execute read / write processing for both the first nonvolatile memory 202 and the second nonvolatile memory 203. .

また、図1において、206はデジタルカメラ100からの書込・読出等の命令、或いは、それによる反応を送受信するコマンド線である。207は画像データや管理情報等の情報を送受信するデータ線である。   In FIG. 1, reference numeral 206 denotes a command line for transmitting / receiving commands such as writing / reading from the digital camera 100, or reactions caused thereby. Reference numeral 207 denotes a data line for transmitting and receiving information such as image data and management information.

図2は、第1の不揮発性メモリ202が保持する情報の一例を説明する図である。図2において、301は記録媒体200が更新されているか否かを示す更新フラグであり、本例では記録媒体200が更新されていないことを意味する値「1」となっている。   FIG. 2 is a diagram for explaining an example of information held in the first nonvolatile memory 202. In FIG. 2, 301 is an update flag indicating whether or not the recording medium 200 has been updated. In this example, the value is “1” which means that the recording medium 200 has not been updated.

300は管理情報であり、空きクラスタサイズ302、記録媒体200内の画像数303、最後に記録媒体200に記録された画像の最終撮影時間304、管理情報300のバージョンを示す管理rev305から構成されている。ここで、「空きクラスタサイズ」は、空きクラスタサイズを示すものであるので、「空き領域サイズ」と呼ぶこともできる。なお、管理rev305は、同一の管理revの場合、同一の管理情報300における空きクラスタサイズ302等の各項目のフォーマットが同一である。それ故、同一の管理rev305を有する管理情報300間においては整合性があり、両者における管理情報300の各項目に関して信頼性があると言える。本例では、同一の管理rev305のみ信頼性があるとしているが、管理rev305を上位互換にしても良い。図2における例では、管理情報300はそれぞれ「105」クラスタ、「34」枚、「2005年08月04日13時47分」、バージョン「1.2」である。この管理情報は、デジタルカメラ100の後述する画像表示部28に画像数や空きクラスタサイズから計算される撮影可能枚数を表示するために必要な情報である。それ故、デジタルカメラ100内の制御を司るシステム制御部50は、この管理情報を予め保持することによって、起動時に実行する記録媒体200の画像数や空きクラスタサイズ等の検出作業を省略できる。   Reference numeral 300 denotes management information, which is composed of an empty cluster size 302, the number of images 303 in the recording medium 200, the last shooting time 304 of the last image recorded on the recording medium 200, and a management rev 305 indicating the version of the management information 300. Yes. Here, since “free cluster size” indicates the free cluster size, it can also be called “free space size”. The management rev 305 has the same format for each item such as the free cluster size 302 in the same management information 300 in the case of the same management rev. Therefore, it can be said that there is consistency between the management information 300 having the same management rev 305 and that each item of the management information 300 is reliable. In this example, only the same management rev 305 is assumed to be reliable, but the management rev 305 may be upward compatible. In the example in FIG. 2, the management information 300 is “105” cluster, “34”, “05/08/05 13:47”, and version “1.2”, respectively. This management information is information necessary for displaying the number of images that can be taken and the number of shootable images calculated from the free cluster size on an image display unit 28 (to be described later) of the digital camera 100. Therefore, the system control unit 50 that manages the control in the digital camera 100 can store the management information in advance, thereby omitting the detection work such as the number of images of the recording medium 200 and the free cluster size executed at the time of activation.

図3は、本発明の第1〜3の実施形態に係る撮像装置の一例であるデジタルカメラ100の主要な構成要素を示す図である。なお、本発明を適用可能な撮像装置は、デジタルカメラに限るものではなく、デジタルカメラとして動作する装置であってもよい。例えば、デジタルビデオカメラ、カメラ付き携帯電話等の装置であってもよい。   FIG. 3 is a diagram illustrating main components of the digital camera 100 that is an example of the imaging apparatus according to the first to third embodiments of the present invention. Note that an imaging apparatus to which the present invention can be applied is not limited to a digital camera, and may be an apparatus that operates as a digital camera. For example, it may be a device such as a digital video camera or a camera-equipped mobile phone.

図3において、10は撮影レンズ、12は絞り機能を有するシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。   In FIG. 3, 10 is a photographing lens, 12 is a shutter having a diaphragm function, 14 is an image sensor that converts an optical image into an electric signal, and 16 is an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal. It is.

18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生部であり、メモリ制御部22及びシステム制御部50により制御される。   A timing generator 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control unit 22 and the system control unit 50.

20は画像処理部であり、A/D変換器16からのデータ或いはメモリ制御部22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理部20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御部50が露光制御手段40、測距制御手段42に対して制御を行う、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。さらに、画像処理部20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   An image processing unit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control unit 22. The image processing unit 20 performs predetermined calculation processing using the captured image data, and the system control unit 50 controls the exposure control unit 40 and the distance measurement control unit 42 based on the obtained calculation result. TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing are performed. Further, the image processing unit 20 performs predetermined calculation processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained calculation result.

22はメモリ制御部であり、A/D変換器16、タイミング発生部18、画像処理部20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮伸長部32を制御する。A/D変換器16のデータが画像処理部20、メモリ制御部22を介して、或いはA/D変換器16のデータが直接メモリ制御部22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。   A memory control unit 22 controls the A / D converter 16, the timing generation unit 18, the image processing unit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression unit 32. The data of the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing unit 20 and the memory control unit 22 or the data of the A / D converter 16 is directly written via the memory control unit 22. It is.

24は画像表示メモリ、26はD/A変換器、28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。また、画像表示部28は、システム制御部50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合にはデジタルカメラ100の電力消費を大幅に低減することができる。   Reference numeral 24 denotes an image display memory, 26 denotes a D / A converter, 28 denotes an image display unit including a TFT LCD, and the image data for display written in the image display memory 24 passes through the D / A converter 26. Displayed by the image display unit 28. If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized. The image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control unit 50. When the display is turned off, the power consumption of the digital camera 100 can be significantly reduced. it can.

30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を有する。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。また、メモリ30はシステム制御部50の作業領域としても使用することが可能である。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity for storing a predetermined number of still images and a moving image for a predetermined time. Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed. The memory 30 can also be used as a work area for the system control unit 50.

32は適応離散コサイン変換(ADCT)であり、JPEG等を用いて画像圧縮方式を従って画像データを圧縮したり、伸長したりする圧縮伸長部である。圧縮伸長部32は、メモリ30から読み出された画像データを圧縮又は伸長し、圧縮又は伸長した画像データをメモリ30に書き込む。   Reference numeral 32 denotes an adaptive discrete cosine transform (ADCT), which is a compression / decompression unit that compresses or decompresses image data according to an image compression method using JPEG or the like. The compression / decompression unit 32 compresses or decompresses the image data read from the memory 30 and writes the compressed or decompressed image data to the memory 30.

40は絞り機能を有するシャッター12を制御する露光制御手段であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。   Reference numeral 40 denotes an exposure control means for controlling the shutter 12 having a diaphragm function, and has a flash light control function in cooperation with the flash 48.

42は撮影レンズ10のフォーカシングを制御する測距制御手段、44は撮影レンズ10のズーミングを制御するズーム制御手段、46はバリアである保護手段102の動作を制御するバリア制御手段である。   Reference numeral 42 denotes a distance measuring control means for controlling the focusing of the photographing lens 10, reference numeral 44 denotes a zoom control means for controlling zooming of the photographing lens 10, and reference numeral 46 denotes a barrier control means for controlling the operation of the protection means 102 as a barrier.

48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。露光制御手段40、測距制御手段42はTTL方式を用いて制御されており、撮像した画像データを画像処理部20によって演算した演算結果に基づき、システム制御部50が露光制御手段40、測距制御手段42に対して制御を行う。   A flash 48 has an AF auxiliary light projecting function and a flash light control function. The exposure control means 40 and the distance measurement control means 42 are controlled using the TTL method, and the system control unit 50 uses the exposure control means 40 and the distance measurement based on the calculation result obtained by calculating the captured image data by the image processing unit 20. Control is performed on the control means 42.

50はデジタルカメラ100を制御するシステム制御部、52はシステム制御部50の動作用の定数、変数、プログラム等を記憶するメモリである。   Reference numeral 50 denotes a system control unit that controls the digital camera 100, and 52 denotes a memory that stores constants, variables, programs, and the like for operation of the system control unit 50.

54はシステム制御部50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部であり、デジタルカメラ100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。また、表示部54は、その一部の機能が光学ファインダ104内に設置されている。表示部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、外部記録媒体200の着脱状態表示、通信インタフェース動作表示、日付け・時刻表示、等がある。また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等がある。   Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state or a message using characters, images, sounds, and the like in accordance with execution of a program in the system control unit 50, and an operation unit of the digital camera 100 A single or a plurality of locations are provided in the vicinity where they can be easily seen, and are configured by a combination of, for example, an LCD, an LED, and a sounding element. The display unit 54 has a part of its function installed in the optical viewfinder 104. Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded pixels, number of remaining images that can be captured, shutter Speed display, Aperture display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Clock battery level display, Battery level display, Error display, Multi-digit number information display, External There are an attachment / detachment state display of the recording medium 200, a communication interface operation display, a date / time display, and the like. Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.

56は電気的に消去・記録可能な不揮発性メモリであり、EEPROM等が用いられる。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory such as an EEPROM.

60、62、64、66、68及び70は、システム制御部50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。   Reference numerals 60, 62, 64, 66, 68, and 70 are operation means for inputting various operation instructions of the system control unit 50, such as a switch, a dial, a touch panel, pointing by gaze detection, a voice recognition device, or the like. Consists of multiple combinations.

ここで、これらの操作手段の具体的な説明を行う。60はモードダイアルスイッチであり、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することができる。   Here, a specific description of these operating means will be given. Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as power-off, automatic shooting mode, shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erase mode, and PC connection mode.

62はシャッタースイッチSW1であり、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。   Reference numeral 62 denotes a shutter switch SW1, which is turned on during operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct the start of operation.

64はシャッタースイッチSW2であり、不図示のシャッターボタンの操作完了でONとなり、撮像素子12から読み出した信号をA/D変換器16、メモリ制御部22を介してメモリ30に画像データを書き込む露光処理、画像処理部20やメモリ制御部22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮伸長部32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。   Reference numeral 64 denotes a shutter switch SW2, which is turned on when an operation of a shutter button (not shown) is completed, and exposure in which a signal read from the image sensor 12 is written into the memory 30 via the A / D converter 16 and the memory control unit 22. Processing, development processing using calculation in the image processing unit 20 or the memory control unit 22, recording processing for reading image data from the memory 30, compression in the compression / decompression unit 32, and writing the image data in the recording medium 200 or 210. Instructs the start of a series of processing operations.

66は画像表示ON/OFFスイッチであり、画像表示部28のON/OFFを設定することができる。この機能により、光学ファインダ104を用いて撮影を行う際に、TFT LCD等から成る画像表示部への電流供給を遮断することにより、省電力を図ることが可能となる。   Reference numeral 66 denotes an image display ON / OFF switch, which can set ON / OFF of the image display unit 28. With this function, when photographing using the optical viewfinder 104, it is possible to save power by cutting off the current supply to the image display unit including a TFT LCD or the like.

68はクイックレビューON/OFFスイッチであり、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定する。なお、本実施形態では特に、画像表示部28をOFFとした場合におけるクイックレビュー機能の設定をする機能を有するものとする。   Reference numeral 68 denotes a quick review ON / OFF switch, which sets a quick review function for automatically reproducing image data taken immediately after photographing. In the present embodiment, it is assumed that a function for setting a quick review function when the image display unit 28 is turned off is provided.

70は各種ボタンやタッチパネル等からなる操作部であり、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、等がある。   Reference numeral 70 denotes an operation unit including various buttons, a touch panel, and the like, a menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus ) Button, menu movement-(minus) button, reproduction image movement + (plus) button, reproduction image-(minus) button, shooting image quality selection button, exposure correction button, date / time setting button, and the like.

80は電源制御手段であり、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。   80 is a power supply control means, which is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, etc., and detects whether or not a battery is installed, the type of battery, and the remaining battery level. The DC-DC converter is controlled based on the result and an instruction from the system control unit 50, and a necessary voltage is supplied to each unit including the recording medium for a necessary period.

82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる電源手段である。   Reference numeral 82 denotes a connector, 84 denotes a connector, and 86 denotes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, an AC adapter, or the like.

90はメモリカード等の記録媒体とデータの送受信を行うカードコントローラ、91はメモリカード等の外部記録媒体とのインタフェース、92はメモリカードと接続を行うコネクタであり、カメラインタフェース204と適合する。98はコネクタ92に記録媒体200が装着されているか否かを検知する記録媒体着脱検知手段である。   Reference numeral 90 denotes a card controller that transmits and receives data to and from a recording medium such as a memory card, 91 denotes an interface with an external recording medium such as a memory card, and 92 denotes a connector that connects to the memory card, and is compatible with the camera interface 204. Reference numeral 98 denotes recording medium attachment / detachment detection means for detecting whether or not the recording medium 200 is attached to the connector 92.

なお、本実施形態では記録媒体を取り付けるインタフェースやコネクタは、単数或いは複数、いずれの系統数を有する構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて有する構成としても構わない。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。さらに、インタフェース91、そしてコネクタ92をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。   In the present embodiment, the interface or connector for attaching the recording medium may have a single or plural number of systems. Further, it may be configured to have a combination of interfaces and connectors of different standards. The interface and the connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like based on a standard. Further, when the interface 91 and the connector 92 are configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like, a LAN card, modem card, USB card, IEEE 1394 card, P1284 card, etc. By connecting various communication cards such as SCSI cards, PHS and other communication cards, image data and management information attached to the image data can be transferred to and from other computers and peripheral devices such as printers. it can.

102はデジタルカメラ100のレンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止するバリアである保護手段である。   Reference numeral 102 denotes protection means that is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the lens 10 of the digital camera 100.

104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等が設置されている。   Reference numeral 104 denotes an optical viewfinder, which can take an image using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. Further, in the optical viewfinder 104, some functions of the display unit 54, for example, focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like are installed. .

次に、図4〜図8までのフローチャートを参照して、デジタルカメラ100を高速に起動するためのデジタルカメラ100と記録媒体200の動作について、デジタルカメラ100が自身の電源停止時に記録媒体200に管理情報300を書き込み(図4及び図5のフローチャート)、起動時に記録媒体200から管理情報300を読み取る(図6及び図7のフローチャート)処理の流れ、及び記録媒体200がデジタルカメラ100のコマンドによって処理する流れ(図8のフローチャート)を説明する。   Next, with reference to the flowcharts of FIGS. 4 to 8, regarding the operation of the digital camera 100 and the recording medium 200 for starting the digital camera 100 at high speed, the digital camera 100 is connected to the recording medium 200 when its own power supply is stopped. The management information 300 is written (flowcharts of FIGS. 4 and 5), the management information 300 is read from the recording medium 200 at the time of activation (flowcharts of FIGS. 6 and 7), and the recording medium 200 is processed by a command of the digital camera 100. A processing flow (flowchart in FIG. 8) will be described.

まず、図4及び図5のフローチャートを参照して、デジタルカメラ100の電源停止時のシーケンスの一例を説明する。図4におけるフローチャートは、ユーザによるカメラ電源停止操作が行われることによって開始される。例えば、操作部70内の電源ボタンの操作や図示しない電池の蓋開け等がそれに当たる。システム制御部50は、図6及び図7のデジタルカメラ100の次回の起動を高速に行うために、起動時に必要な管理情報300を更新する(ステップS100)。   First, an example of a sequence when the power of the digital camera 100 is stopped will be described with reference to the flowcharts of FIGS. 4 and 5. The flowchart in FIG. 4 starts when the user performs a camera power supply stop operation. For example, the operation of the power button in the operation unit 70 or the opening of a battery cover (not shown) corresponds to this. The system control unit 50 updates the management information 300 required at the time of startup in order to perform the next startup of the digital camera 100 of FIGS. 6 and 7 at high speed (step S100).

続いてシステム制御部50は、更新フラグ301を「1」に設定する「フラグ設定」コマンドを記録媒体200に送信し(ステップS101)、更新フラグ301を設定し終わると速やかにデジタルカメラ100の電源をOFFにする(ステップS102)。   Subsequently, the system control unit 50 transmits a “flag setting” command for setting the update flag 301 to “1” to the recording medium 200 (step S101). Is turned OFF (step S102).

次に、図5のフローチャートを参照して管理情報更新処理を説明する。システム制御部50は、「管理情報書込」コマンドを記録媒体200に送り、第1の不揮発性メモリ202内の管理情報300に空きクラスタサイズ302を書き込み(ステップS200)、画像数303を書き込み(ステップS201)、最後に記録媒体200に記録された画像の最終撮影時間304を書き込み(ステップS202)、デジタルカメラ100が起動時に各管理情報300のフォーマット(例えば、データの開始アドレス、項目数、各項目の内容)を保証するためのバージョン情報である管理rev305を書き込む(ステップS203)。なお、空きクラスタサイズ302、画像数303、最終撮影時間304及び管理rev305は、別々に記録媒体200に書き込むようにしても、これらを一括して記録媒体200に書き込むようにようにしてもよい。   Next, the management information update process will be described with reference to the flowchart of FIG. The system control unit 50 sends a “management information write” command to the recording medium 200, writes the free cluster size 302 to the management information 300 in the first nonvolatile memory 202 (step S200), and writes the number of images 303 ( In step S201, the last shooting time 304 of the image recorded on the recording medium 200 is written (step S202), and the format of each management information 300 (for example, the start address of data, the number of items, The management rev 305, which is version information for guaranteeing the item content), is written (step S203). Note that the empty cluster size 302, the number of images 303, the last shooting time 304, and the management rev 305 may be written separately to the recording medium 200, or may be written collectively to the recording medium 200.

次に、図6及び図7のフローチャートを参照して、デジタルカメラ100の起動時のシーケンスを説明する。まず、ユーザによるカメラ起動操作が行われる。例えば、操作部70内の電源ボタンの操作等がそれに当たる。システム制御部50は、記録媒体200に対するアクセスを可能とするために、電源制御80を制御し記録媒体200の電源を入れる(ステップS300)。その上でシステム制御部50は、記録媒体200内の更新フラグ301を読み取る「フラグ読込」コマンドを記録媒体200に送信する(ステップS301)。   Next, a sequence at the time of starting the digital camera 100 will be described with reference to the flowcharts of FIGS. First, a camera activation operation is performed by the user. For example, the operation of the power button in the operation unit 70 corresponds to this. In order to enable access to the recording medium 200, the system control unit 50 controls the power control 80 to turn on the recording medium 200 (step S300). Then, the system control unit 50 transmits a “read flag” command for reading the update flag 301 in the recording medium 200 to the recording medium 200 (step S301).

続いてシステム制御部50は、記録媒体200内において画像データの更新及び管理情報300の信頼性を判定するために更新判定処理(後述する図7のフローチャート)を実行し(ステップS302)、その結果得られる記録媒体200が更新されておらず、管理情報300が信用できることを示す「TRUE」、或いは記録媒体200が更新されている、或いは管理情報300が信用できず、管理情報300の更新が必要であることを示す「FALSE」により、記録媒体200が更新されているかを判定する(ステップS303)。   Subsequently, the system control unit 50 executes an update determination process (flowchart of FIG. 7 described later) in order to determine the update of the image data and the reliability of the management information 300 in the recording medium 200 (step S302), and as a result “TRUE” indicating that the obtained recording medium 200 has not been updated and the management information 300 can be trusted, or the recording medium 200 has been updated or the management information 300 cannot be trusted, and the management information 300 needs to be updated. Whether or not the recording medium 200 has been updated is determined based on “FALSE” indicating that it is (step S303).

記録媒体200が更新されている場合は(ステップS303において「YES」)、カメラ起動完了時に画像表示28に表示するために空きクラスタサイズ302や必要な画像数303から計算される撮影可能枚数を取得するために、システム制御部50は、記録媒体200から記録済みの画像データの情報を取得し(ステップS304)、その結果を用いて記録媒体200内の空きクラスタサイズの検索(ステップS305)や記録媒体200内の総画像数のカウント(ステップS306)を実行する。   If the recording medium 200 has been updated (“YES” in step S303), the number of shootable images calculated from the free cluster size 302 and the required number of images 303 to be displayed on the image display 28 upon completion of camera activation is acquired. In order to do this, the system control unit 50 acquires information on the recorded image data from the recording medium 200 (step S304), and uses the result to search for a free cluster size in the recording medium 200 (step S305) and recording. The total number of images in the medium 200 is counted (step S306).

一方、記録媒体200が更新されていない場合は(ステップS303において「NO」)、管理情報300の情報を流用することができるので、システム制御部50は、カメラ起動時における空きクラスタサイズの検出等の処理(ステップS304〜S306)を省略する。   On the other hand, if the recording medium 200 has not been updated (“NO” in step S303), the information in the management information 300 can be used, so that the system control unit 50 detects a free cluster size when the camera is activated, etc. This process (steps S304 to S306) is omitted.

このように、更新フラグ301と管理情報300によって、システム制御部50は、記録媒体200が更新されているか判定することによって、より高速にデジタルカメラ100を起動することができる。   As described above, the system control unit 50 can start the digital camera 100 at a higher speed by determining whether the recording medium 200 is updated based on the update flag 301 and the management information 300.

次に、図7を参照して更新判定処理の詳細な処理を説明する。まず、システム制御部50は、図6の「フラグ読込」コマンド送信(ステップS301参照)処理によって得られる更新フラグ301を図7のフローチャートの第1工程で判定(ステップS400)する。   Next, detailed processing of the update determination processing will be described with reference to FIG. First, the system control unit 50 determines the update flag 301 obtained by the “flag read” command transmission (see step S301) process of FIG. 6 in the first step of the flowchart of FIG. 7 (step S400).

更新フラグ301が更新されていることを示す「0」である場合(ステップS400において「NO」)、システム制御部50は、この更新判定処理の結果として、記録媒体200が更新されており、管理情報300の更新が必要であることを示す「FALSE」を得る(ステップS406)。   When the update flag 301 is “0” indicating that it has been updated (“NO” in step S400), the system control unit 50 has updated the recording medium 200 as a result of the update determination process, and has managed it. “FALSE” indicating that the information 300 needs to be updated is obtained (step S406).

一方、更新フラグ301が更新されていないことを示す「1」である場合(ステップS400において「YES」)、システム制御部50は、デジタルカメラ100の不揮発性メモリ56に予め記録されている管理rev305を取得する(ステップS401)。   On the other hand, when the update flag 301 is “1” indicating that it has not been updated (“YES” in step S400), the system control unit 50 manages the management rev 305 recorded in advance in the nonvolatile memory 56 of the digital camera 100. Is acquired (step S401).

続いてシステム制御部50は、記録媒体200から管理情報300を取得しデジタルカメラ100内のメモリ30に保持し(ステップS402)、管理情報300内の管理rev305を抽出する(ステップS403)。   Subsequently, the system control unit 50 acquires the management information 300 from the recording medium 200, holds it in the memory 30 in the digital camera 100 (step S402), and extracts the management rev 305 in the management information 300 (step S403).

そして、システム制御部50は、不揮発性メモリ56とメモリ30にある管理rev305を比較し一致しているか判定する(ステップS404)。   Then, the system control unit 50 compares the nonvolatile memory 56 and the management rev 305 in the memory 30 to determine whether they match (step S404).

不揮発性メモリ56とメモリ30にある管理rev305が一致する場合(ステップS404において「YES」)、システム制御部50は、この更新判定処理の結果として、記録媒体200が更新されておらず、管理情報300を信頼して使用できることを示す「TRUE」を得る(ステップS405)。   When the management rev 305 in the nonvolatile memory 56 and the memory 30 match (“YES” in step S404), the system control unit 50 determines that the recording medium 200 has not been updated as a result of the update determination process, and management information “TRUE” indicating that 300 can be used reliably is obtained (step S405).

一方、不揮発性メモリ56とメモリ30にある管理rev305が一致しない場合(ステップS404において「NO」)、システム制御部50は、この更新判定処理の結果として、管理情報300内の各項目のフォーマットが一致するか確定しないので、管理情報300を信頼して使用できないので、管理情報300の更新が必要であることを示す「FALSE」を得る(ステップS406)。   On the other hand, if the management rev 305 in the non-volatile memory 56 and the memory 30 do not match (“NO” in step S404), the system control unit 50 determines that the format of each item in the management information 300 is the result of this update determination process. Since the management information 300 cannot be used reliably because it matches or is not determined, “FALSE” indicating that the management information 300 needs to be updated is obtained (step S406).

この更新判定処理の結果(「TRUE」或いは「FALSE」)を用いて、システム制御部50は、図6のカメラ起動時のフローチャートにおいて記録媒体200が更新されているかを判定する(ステップS303参照)。   Using the result of this update determination process (“TRUE” or “FALSE”), the system control unit 50 determines whether the recording medium 200 has been updated in the flowchart at the time of camera activation in FIG. 6 (see step S303). .

次に、図8のフローチャートを参照して、記録媒体200がデジタルカメラ100のコマンドによって処理する流れを説明する。まず、記録媒体200内のコントローラ201は、デジタルカメラ100から受信したコマンドに応じて図12に示す処理1及び処理2を行う(ステップS500)。   Next, the flow of processing performed by the recording medium 200 according to commands from the digital camera 100 will be described with reference to the flowchart of FIG. First, the controller 201 in the recording medium 200 performs processing 1 and processing 2 shown in FIG. 12 according to the command received from the digital camera 100 (step S500).

コントローラ201は、各コマンドに対して次のように処理する。「書込」或いは「消去」コマンドを受信した場合、記録媒体200内の画像データが更新されたことを示す更新フラグ301を「0」にし、その更新フラグを「0」にする処理の後で、第2の不揮発性メモリ203にデータの書き込み或いはデータブロックの消去を実行する。   The controller 201 processes each command as follows. When the “write” or “erase” command is received, the update flag 301 indicating that the image data in the recording medium 200 has been updated is set to “0”, and the update flag is set to “0”. Then, data writing or data block erasing is executed in the second nonvolatile memory 203.

デジタルカメラ100の電源停止直前(ステップS102参照)に受け取る「フラグ設定」コマンドにより、第1の不揮発性メモリ202内の更新フラグ301を「1」に設定する。   The update flag 301 in the first non-volatile memory 202 is set to “1” by a “flag setting” command received immediately before the power of the digital camera 100 is stopped (see step S102).

デジタルカメラ100の起動時(ステップS303参照)に受け取る「フラグ読込」コマンドにより、第1の不揮発性メモリ202から更新フラグ301の値「0」或いは「1」を読み取り、デジタルカメラ100に通知する。   The value “0” or “1” of the update flag 301 is read from the first nonvolatile memory 202 and notified to the digital camera 100 by a “flag read” command received when the digital camera 100 is activated (see step S303).

デジタルカメラ100の電源停止直前(ステップS303参照)に受け取る「管理情報書込」コマンドにより、管理情報300を第1の不揮発性メモリ202に書き込む。   The management information 300 is written into the first nonvolatile memory 202 by the “write management information” command received immediately before the power of the digital camera 100 is stopped (see step S303).

デジタルカメラ100の起動時(ステップS303参照)に受け取る「管理情報読込」コマンドにより、第1の不揮発性メモリ202から管理情報300を読み取り、デジタルカメラ100に通知する。   The management information 300 is read from the first nonvolatile memory 202 and notified to the digital camera 100 by a “read management information” command received when the digital camera 100 is activated (see step S303).

なお、USB等の汎用的なインタフェースは、「書込」及び「消去」コマンドのみ使用可能で、他の「フラグ設定」、「フラグ読込」、「管理情報書込」及び「管理情報読込」コマンドはカメラインタフェースでしか使用できない。   Note that general-purpose interfaces such as USB can use only the “write” and “erase” commands, and other “flag setting”, “flag read”, “management information write”, and “management information read” commands. Can only be used with a camera interface.

このように、本実施形態によれば、記録媒体の取り外しが発生しても、新たなCPUを必要とすることなく短時間で撮像装置を起動することができ、シャッターチャンスを逃してしまうことを少なくすることができる。   As described above, according to the present embodiment, even when the recording medium is removed, the imaging apparatus can be activated in a short time without requiring a new CPU, and a photo opportunity is missed. Can be reduced.

[第2の実施形態]
続いて、図9〜図11を参照して本発明の第2の実施形態を説明する。第1の実施形態では、管理revによって記録媒体200の更新判定を行っていたが、本実施形態では記録媒体200固有のIDとデジタルカメラ100と記録媒体200が有するフラグ設定回数が一致する場合に、デジタルカメラ100を高速に起動できるというところが異なる。
[Second Embodiment]
Subsequently, a second embodiment of the present invention will be described with reference to FIGS. In the first embodiment, the update determination of the recording medium 200 is performed by the management rev. However, in this embodiment, when the ID unique to the recording medium 200 matches the number of times the flag is set in the digital camera 100 and the recording medium 200. The difference is that the digital camera 100 can be activated at high speed.

本実施の形態では、第1の実施形態と異なる部分のみを説明し、その他の部分は第1の実施形態と同様であるので説明を省略する。第1の実施形態と異なる部分は、(1)図9に示す管理情報400の内容、(2)図10に示す管理情報更新処理、(3)図11に示す記録媒体200が更新しているかを判定する更新判定処理である。なお、図4のステップS100では、管理情報300ではなく、管理情報400を更新することは言うまでもない。   In the present embodiment, only the parts different from the first embodiment will be described, and the other parts are the same as those in the first embodiment, and the description thereof will be omitted. The differences from the first embodiment are (1) the contents of the management information 400 shown in FIG. 9, (2) the management information update process shown in FIG. 10, and (3) whether the recording medium 200 shown in FIG. Update determination processing for determining Needless to say, in step S100 in FIG. 4, not the management information 300 but the management information 400 is updated.

まず、図9を参照して、本実施形態に対応する第1の不揮発性メモリ202内で保持する情報の一例を説明する。管理情報400内で前述の実施形態と異なる項目を以下で説明する。本実施形態では、管理rev305の替わりに、記録媒体ID405及びフラグ設定回数406を用いる。記録媒体ID405は、記録媒体200毎に割り当てられた固有の値であり、本例では、「MID_001234」である。フラグ設定回数406は、「フラグ設定」コマンドが実行された回数であり、本例では「5」回である。以上が第1の不揮発性メモリ202内で保持する情報の説明である。   First, with reference to FIG. 9, an example of information held in the first nonvolatile memory 202 corresponding to the present embodiment will be described. Items in the management information 400 that are different from the above-described embodiment will be described below. In this embodiment, a recording medium ID 405 and a flag setting count 406 are used instead of the management rev 305. The recording medium ID 405 is a unique value assigned to each recording medium 200 and is “MID_001234” in this example. The flag setting number 406 is the number of times the “flag setting” command is executed, and is “5” in this example. The above is the description of the information held in the first nonvolatile memory 202.

次に、図10のフローチャートを参照して管理情報更新処理を説明する。システム制御部50は、第1の不揮発性メモリ202内の管理情報400に空きクラスタサイズ402を書き込み(ステップS600)、画像数403及び最終撮影時間404を書き込む(ステップS601)。また、システム制御部50は、デジタルカメラ100が不揮発性メモリ56に保持するフラグ設定回数をインクリメントした上で(ステップS602)、第1の不揮発性メモリ202内の管理情報400にフラグ設定回数406を書き込む(ステップS603)。続いてシステム制御部50は、不揮発性メモリ56に記録媒体200から読み取った記録媒体ID405と記録媒体200に書き込んだフラグ設定回数406を書き込む(ステップS604)。なお、空きクラスタサイズ402、画像数403、最終撮影時間404及びフラグ設定回数406は、別々に記録媒体200に書き込むようにしても、これらを一括して記録媒体200に書き込むようにようにしてもよい。   Next, the management information update process will be described with reference to the flowchart of FIG. The system control unit 50 writes the free cluster size 402 to the management information 400 in the first nonvolatile memory 202 (step S600), and writes the number of images 403 and the last shooting time 404 (step S601). Further, the system control unit 50 increments the number of flag settings held by the digital camera 100 in the nonvolatile memory 56 (step S602), and then sets the flag setting number 406 in the management information 400 in the first nonvolatile memory 202. Writing is performed (step S603). Subsequently, the system control unit 50 writes the recording medium ID 405 read from the recording medium 200 and the flag setting count 406 written to the recording medium 200 in the nonvolatile memory 56 (step S604). Note that the empty cluster size 402, the number of images 403, the final shooting time 404, and the flag setting count 406 may be written separately to the recording medium 200 or may be written to the recording medium 200 in a lump. Good.

次に、図11のフローチャートを参照して記録媒体200が更新しているかを判定する更新判定処理を説明する。まずシステム制御部50は、図6の「フラグ読込」コマンド送信(ステップS301参照)処理によって得られる更新フラグ401を図7のフローチャートの第1工程で判定(ステップS700)する。   Next, an update determination process for determining whether or not the recording medium 200 has been updated will be described with reference to the flowchart of FIG. First, the system control unit 50 determines the update flag 401 obtained by the “flag read” command transmission (see step S301) process of FIG. 6 in the first step of the flowchart of FIG. 7 (step S700).

更新フラグ401が更新されていることを示す「0」である場合(ステップS700において「NO」)、システム制御部50は、この更新判定処理の結果として、記録媒体200が更新されており、管理情報400の更新が必要であることを示す「FALSE」を得る(ステップS707)。   When the update flag 401 is “0” indicating that it has been updated (“NO” in step S700), the system control unit 50 has updated the recording medium 200 as a result of this update determination processing, and manages it. “FALSE” indicating that the information 400 needs to be updated is obtained (step S707).

一方、更新フラグ401が更新されていないことを示す「1」である場合(ステップS700において「YES」)、システム制御部50は、デジタルカメラ100の不揮発性メモリ56に予め記録されている記録媒体ID405を取得し(ステップS701)、フラグ設定回数406を取得する(ステップS702)。   On the other hand, when the update flag 401 is “1” indicating that the update flag 401 has not been updated (“YES” in step S700), the system control unit 50 records the recording medium recorded in advance in the nonvolatile memory 56 of the digital camera 100. The ID 405 is acquired (step S701), and the flag setting count 406 is acquired (step S702).

システム制御部50は、記録媒体200から管理情報400を取得しデジタルカメラ100内のメモリ30に保持し(ステップS703)、管理情報400内の記録媒体ID405及びフラグ設定回数406を抽出する(ステップS704)。そして、システム制御部50は、不揮発性メモリ56とメモリ30にある記録媒体ID405及びフラグ設定回数406を比較し一致しているか判定する(ステップS705)。   The system control unit 50 acquires the management information 400 from the recording medium 200, holds it in the memory 30 in the digital camera 100 (step S703), and extracts the recording medium ID 405 and the flag setting count 406 in the management information 400 (step S704). ). Then, the system control unit 50 compares the non-volatile memory 56 with the recording medium ID 405 and the flag setting count 406 in the memory 30 to determine whether they match (step S705).

不揮発性メモリ56とメモリ30にある記録媒体ID405及びフラグ設定回数406が一致する場合(ステップS705において「YES」)、システム制御部50は、この更新判定処理の結果として、記録媒体200が更新されておらず、管理情報400を信頼して使用できることを示す「TRUE」を得る(ステップS706)。   When the recording medium ID 405 and the flag setting count 406 in the nonvolatile memory 56 and the memory 30 match (“YES” in step S705), the system control unit 50 updates the recording medium 200 as a result of the update determination process. However, “TRUE” indicating that the management information 400 can be used reliably is obtained (step S706).

一方、不揮発性メモリ56とメモリ30にある記録媒体ID405及びフラグ設定回数406が一致しない場合(ステップS705において「NO」)、システム制御部50は、この更新判定処理の結果として、管理情報400内の各項目のフォーマットが一致するか確定しないので、管理情報400を信頼して使用できないので、管理情報400の更新が必要であることを示す「FALSE」を得る(ステップS707)。   On the other hand, when the recording medium ID 405 and the flag setting count 406 in the nonvolatile memory 56 and the memory 30 do not match (“NO” in step S705), the system control unit 50 stores the management information 400 in the management information 400 as a result of the update determination process. Since the format of each item does not match or is not determined, the management information 400 cannot be used with confidence, so “FALSE” indicating that the management information 400 needs to be updated is obtained (step S707).

この更新判定処理の結果(「TRUE」或いは「FALSE」)を用いて、システム制御部50は、図6のカメラ起動時のフローチャートにおいて記録媒体200が更新されているかを判定する(ステップS303参照)。   Using the result of this update determination process (“TRUE” or “FALSE”), the system control unit 50 determines whether the recording medium 200 has been updated in the flowchart at the time of camera activation in FIG. 6 (see step S303). .

このように、第2の実施形態においても、デジタルカメラ100及び記録媒体200を動作させることにより、デジタルカメラ100の起動処理の高速化を図ることができる。   As described above, also in the second embodiment, by operating the digital camera 100 and the recording medium 200, it is possible to speed up the activation process of the digital camera 100.

[第3の実施形態]
第1の実施形態では、更新フラグ301と管理rev305によって記録媒体200の更新判定を行っていたが、本実施形態では、更新フラグ301と不図示のデジタルカメラ100の識別IDにより記録媒体の更新を判定する。このように、上記管理rev305から上記識別IDに変更された差異があるだけで、本実施形態による処理の流れは、第1の実施形態と同様であり、説明は省略する。
[Third Embodiment]
In the first embodiment, the update determination of the recording medium 200 is performed by the update flag 301 and the management rev 305. However, in the present embodiment, the recording medium is updated by the update flag 301 and the identification ID of the digital camera 100 (not shown). judge. As described above, only the difference from the management rev 305 to the identification ID is changed, and the processing flow according to the present embodiment is the same as that of the first embodiment, and the description thereof is omitted.

第1〜第3の実施形態に係る記録媒体の主要な構成要素を示す図である。It is a figure which shows the main components of the recording medium based on the 1st-3rd embodiment. 第1の不揮発性メモリが保持する情報の一例を説明する図である。It is a figure explaining an example of the information which the 1st non-volatile memory holds. 第1〜第3の実施形態に係る撮像装置の一例であるデジタルカメラの主要な構成要素を示す図である。It is a figure which shows the main components of the digital camera which is an example of the imaging device which concerns on 1st-3rd embodiment. 第1の実施形態に係るデジタルカメラの電源停止時における処理の一例を説明するフローチャートである。6 is a flowchart for explaining an example of processing when the power of the digital camera according to the first embodiment is stopped. 第1の実施形態に係る管理情報更新処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the management information update process which concerns on 1st Embodiment. 第1の実施形態に係るデジタルカメラの起動時における処理の一例を説明するフローチャートである。6 is a flowchart for explaining an example of processing when the digital camera according to the first embodiment is activated. 第1の実施形態に係るデジタルカメラの記録媒体の更新判定における処理の一例を説明するフローチャートである。4 is a flowchart for explaining an example of processing in update determination of a recording medium of the digital camera according to the first embodiment. 第1の実施形態に係る記録媒体のデジタルカメラからコマンドを受信した場合の処理の一例を説明するフローチャートである。It is a flowchart explaining an example of a process when the command is received from the digital camera of the recording medium according to the first embodiment. 第2の実施形態に係る第1の不揮発性メモリ内のデータの説明図である。It is explanatory drawing of the data in the 1st non-volatile memory which concerns on 2nd Embodiment. 第2の実施形態に係る管理情報更新処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the management information update process which concerns on 2nd Embodiment. 第2の実施形態に係るデジタルカメラの記録媒体の更新判定における処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the process in the update determination of the recording medium of the digital camera which concerns on 2nd Embodiment. 第1〜第3の実施形態に係る記録媒体で実行される処理を説明する図である。It is a figure explaining the process performed with the recording medium which concerns on the 1st-3rd embodiment.

符号の説明Explanation of symbols

100:デジタルカメラ
200:記録媒体
201:コントローラ
202:第1の不揮発性メモリ
203:第2の不揮発性メモリ
204:カメラインタフェース
205:汎用インタフェース
100: Digital camera 200: Recording medium 201: Controller 202: First nonvolatile memory 203: Second nonvolatile memory 204: Camera interface 205: General-purpose interface

Claims (14)

第1の記録領域と、
第2の記録領域と、
撮像装置に適合する第1のインタフェースと、
前記第1のインタフェースと異なる第2のインタフェースと、
前記第1のインタフェースからは前記第1の記録領域と前記第2の記録領域の両方にアクセス可能とし、前記第2のインタフェースからは前記第2の記録領域のみにアクセス可能とする制御手段とを備え、
前記第1の記録領域が該記録媒体が更新されているか否かを示すフラグを保持することを特徴とする記録媒体。
A first recording area;
A second recording area;
A first interface adapted to the imaging device;
A second interface different from the first interface;
A control means for enabling access to both the first recording area and the second recording area from the first interface, and allowing access to only the second recording area from the second interface; Prepared,
The recording medium, wherein the first recording area holds a flag indicating whether or not the recording medium has been updated.
前記第1の記録領域は、該記録媒体内の画像の枚数、該記録媒体の空き領域サイズ等の前記撮像装置の起動時に必要な管理情報及び管理情報の整合性判定情報を保持することを特徴とする請求項1に記載の記録媒体。   The first recording area holds management information necessary for starting up the imaging apparatus, such as the number of images in the recording medium and a free area size of the recording medium, and management information consistency determination information. The recording medium according to claim 1. 前記撮像装置により起動時に前記フラグが設定されているか検知され、該記録媒体と前記撮像装置各々から取得した前記管理情報の整合性が判定されることを特徴とする請求項1に記載の記録媒体。   2. The recording medium according to claim 1, wherein whether or not the flag is set is detected by the imaging device at startup, and consistency between the recording medium and the management information acquired from each of the imaging devices is determined. . 前記撮像装置の電源を停止する直前に、前記第1の記録領域に空き領域サイズ、画像数、前記管理領域の整合性判定情報が書き込まれることを特徴とする請求項1に記載の記録媒体。   2. The recording medium according to claim 1, wherein immediately before the power of the imaging apparatus is stopped, an empty area size, the number of images, and consistency determination information of the management area are written in the first recording area. 前記第1の記録領域は、該記録媒体に前記フラグの設定命令が来た回数である前記フラグの設定回数、該記録媒体に固有のID、該記録媒体内の画像の枚数、該記録媒体の空き領域サイズ等の前記撮像装置の初期化時に必要な管理情報を保持することを特徴とする請求項1に記載の記録媒体。   The first recording area includes the number of times the flag has been set to the recording medium, the number of times the flag is set, a unique ID of the recording medium, the number of images in the recording medium, The recording medium according to claim 1, wherein management information necessary for initializing the imaging apparatus, such as a free area size, is stored. 前記撮像装置により起動時に前記フラグが設定されているか検知され、該記録媒体と前記撮像装置各々から取得した記録媒体ID、該記録媒体への前記フラグの設定回数が一致するか判定されることを特徴とする請求項1に記載の記録媒体。   Whether or not the flag is set at the start-up is detected by the imaging device, and it is determined whether or not the recording medium and the recording medium ID acquired from each of the imaging devices match the number of times the flag is set to the recording medium. The recording medium according to claim 1. 前記撮像装置の電源を停止する直前に、前記第1の記録領域に空き領域サイズ、画像数、該記録媒体への前記フラグの設定回数が書き込まれることを特徴とする請求項1に記載の記録媒体。   2. The recording according to claim 1, wherein immediately before the power supply of the imaging apparatus is stopped, an empty area size, the number of images, and the number of times the flag is set to the recording medium are written in the first recording area. Medium. 前記フラグをクリアするために前記第1の又は第2のインタフェースから受信した第2の記録領域のデータ更新命令を検知する第1の命令検知手段を有することを特徴とする請求項1に記載の記録媒体。   2. The first command detection means for detecting a data update command for a second recording area received from the first or second interface in order to clear the flag. recoding media. 前記フラグを設定するために前記第1のインタフェースから受信した管理領域のフラグ設定命令を検知する第2の検知手段を有することを特徴とする請求項1に記載の記録媒体。   The recording medium according to claim 1, further comprising: a second detection unit configured to detect a flag setting command for a management area received from the first interface in order to set the flag. 前記フラグを前記撮像装置に通知するために前記第1のインタフェースから受信したフラグ通知命令を検知する第3の検知手段を有することを特徴とする請求項1に記載の記録媒体。   The recording medium according to claim 1, further comprising a third detection unit configured to detect a flag notification command received from the first interface in order to notify the imaging device of the flag. 管理情報を読み込むために前記第1のインタフェースから受信した管理情報読込命令を検知する第4の検知手段を有することを特徴とする請求項1に記載の記録媒体。   The recording medium according to claim 1, further comprising a fourth detection unit configured to detect a management information read command received from the first interface in order to read management information. 管理情報に書き込むために前記第1のインタフェースから受信した管理情報書込命令を検知する第5の検知手段を有することを特徴とする請求項1に記載の記録媒体。   The recording medium according to claim 1, further comprising a fifth detection unit that detects a management information write command received from the first interface to write management information. 前記フラグのクリアは、前記フラグをクリアした後に、前記第2の記録領域のデータ更新を実行することを特徴とする請求項1に記載の記録媒体。   The recording medium according to claim 1, wherein the flag is cleared by executing data update in the second recording area after clearing the flag. 前記フラグの設定は、前記撮像装置の電源を停止する直前に、前記フラグの設定を実行することを特徴とする請求項1に記載の記録媒体。   The recording medium according to claim 1, wherein the flag is set immediately before the power of the imaging apparatus is stopped.
JP2005239216A 2005-08-19 2005-08-19 Recording medium and imaging apparatus Expired - Fee Related JP4878456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005239216A JP4878456B2 (en) 2005-08-19 2005-08-19 Recording medium and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005239216A JP4878456B2 (en) 2005-08-19 2005-08-19 Recording medium and imaging apparatus

Publications (3)

Publication Number Publication Date
JP2007053707A true JP2007053707A (en) 2007-03-01
JP2007053707A5 JP2007053707A5 (en) 2008-10-02
JP4878456B2 JP4878456B2 (en) 2012-02-15

Family

ID=37917823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005239216A Expired - Fee Related JP4878456B2 (en) 2005-08-19 2005-08-19 Recording medium and imaging apparatus

Country Status (1)

Country Link
JP (1) JP4878456B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1903360A1 (en) 2006-09-20 2008-03-26 DAINICHISEIKA COLOR &amp; CHEMICALS MFG. CO. LTD. End-surface closely arranged multicore optical fiber and manufacturing method thereof
JP2011238153A (en) * 2010-05-13 2011-11-24 Buffalo Inc Secondary storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11259605A (en) * 1998-01-08 1999-09-24 Tdk Corp Pc card
JP2004007319A (en) * 2002-06-03 2004-01-08 Konica Minolta Holdings Inc Photographing equipment
JP2004288254A (en) * 2003-03-20 2004-10-14 Hitachi Ltd Method for authenticating disk management information and disk device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11259605A (en) * 1998-01-08 1999-09-24 Tdk Corp Pc card
JP2004007319A (en) * 2002-06-03 2004-01-08 Konica Minolta Holdings Inc Photographing equipment
JP2004288254A (en) * 2003-03-20 2004-10-14 Hitachi Ltd Method for authenticating disk management information and disk device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1903360A1 (en) 2006-09-20 2008-03-26 DAINICHISEIKA COLOR &amp; CHEMICALS MFG. CO. LTD. End-surface closely arranged multicore optical fiber and manufacturing method thereof
JP2011238153A (en) * 2010-05-13 2011-11-24 Buffalo Inc Secondary storage device

Also Published As

Publication number Publication date
JP4878456B2 (en) 2012-02-15

Similar Documents

Publication Publication Date Title
US8345143B2 (en) Image capturing apparatus and image capturing apparatus control method
JP4324116B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP2006119996A (en) Battery-driven device and its nonvolatile memory updating method
JP4681937B2 (en) Imaging apparatus and imaging method
JP4498169B2 (en) Image processing apparatus and control method thereof
JP4878456B2 (en) Recording medium and imaging apparatus
JP4261815B2 (en) Imaging device
JP2007158604A (en) Imaging apparatus and its control method
JP4981478B2 (en) Imaging device
JP2005221771A (en) Imaging device and function display method
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP4574426B2 (en) Data processing apparatus and data processing method
JP4836233B2 (en) Image processing apparatus, control method therefor, computer program, and storage medium
JP2010049658A (en) Image search device, image search method, program and recording medium
JP2006227822A (en) Information retrieval device and information retrieval method, program and recording medium
JP4298534B2 (en) Image display apparatus and method
JP4785778B2 (en) Imaging device, control method thereof, and program
JP4701297B2 (en) Image processing apparatus, method, and recording medium
JP4766706B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP4717762B2 (en) Image reproducing apparatus, control method for image reproducing apparatus, program, and recording medium
JP2008077402A (en) Image processor, its control method, computer program and storage medium
JP2006202051A (en) Data processor and data processing method
JP5637879B2 (en) Imaging apparatus and control method thereof
JP2005051347A (en) Imaging apparatus
JP5968086B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080819

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110502

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4878456

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees