JP2004104770A - Electronic camera system - Google Patents

Electronic camera system Download PDF

Info

Publication number
JP2004104770A
JP2004104770A JP2003206982A JP2003206982A JP2004104770A JP 2004104770 A JP2004104770 A JP 2004104770A JP 2003206982 A JP2003206982 A JP 2003206982A JP 2003206982 A JP2003206982 A JP 2003206982A JP 2004104770 A JP2004104770 A JP 2004104770A
Authority
JP
Japan
Prior art keywords
data
dsc
mode
display
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003206982A
Other languages
Japanese (ja)
Inventor
Kazu Saito
斉藤 和
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2003206982A priority Critical patent/JP2004104770A/en
Publication of JP2004104770A publication Critical patent/JP2004104770A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To miniaturize a camera by reducing the total number of interfaces and to improve convenience for users by performing optimal display in accordance with connected external equipment. <P>SOLUTION: The electronic camera system has: a recording means for recording image information which is processed by an image pickup processing means on an information recording medium; an interface part which is capable of connecting a plurality of kinds of external equipment; a display means which displays a connecting status of the external equipment and is capable of displaying at least one of a mode status of recording or reproducing, a frame number and a file processing status; a discrimination means for discriminating the kind of the external equipment connected to the interface part; and a display control means for controlling display to make different display contents on the display means in accordance with the discriminated result. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、インタフェース部に複数種類の外部機器が接続可能な電子カメラシステムに関する。
【0002】
【従来の技術】
近年、ICメモリカード,磁気記録媒体,光磁気記録媒体等を記憶媒体とするデジタルスチルビデオカメラ(以下、DSCと記載する)においては、多機能化のための提案が数多くなされている。その1つとして、カメラに外部機器と接続可能なインターフェース(以下、I/Fと記載する)手段を設け、各種情報の授受を行うことが可能なカメラに関しての提案がなされている。
【0003】
例えば、本出願人が先に提案した第1のものとして特願平2−108468号のカメラは、パーソナルコンピュータ(以下、PCと記載する)とのI/F手段を内蔵しており、上記PCとの通信によりカメラの遠隔操作やPCとの映像信号の授受等の処理を行うことができるものであり、更に、第2のものとして本出願人が先の平成4年11月19日に提案したカメラは、モデムとのI/F手段を内蔵しており、モデムを介して電話回線による映像情報の通信を可能とするものであった。
【0004】
【発明が解決しようとする課題】
ところで、そのような従来のカメラには、静止画等をICメモリカードに記録できるようになっているが、その記録媒体における階層構造を、外部機器、例えばPC側から、変更するようなことが出来ないという課題があった。
【0005】
カメラに設けられたインタフェース部は、従来特定の外部機器それぞれに専用のものばかりであったため、複数種類の外部機器を接続したい場合にはその種類の数だけインタフェースが必要であり、カメラの小型化の障害となっていた。
【0006】
本発明は、このような従来のカメラの不都合を解決するためになされたものであり、インタフェース部を複数種類の外部機器を接続可能な構成としてカメラに設けるインタフェースの総数を削減してカメラの小型化を実現すると共に、接続された外部機器に対応して最適な表示を行わせてユーザの利便性を向上させる電子カメラシステムを提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明の電子カメラシステムは、被写体を撮像するレンズと、前記レンズを介して得られた画像を光電変換して撮像信号を得る撮像手段と、前記撮像手段で得られた撮像信号を処理して情報記録媒体に圧縮データとして記録可能な画像情報を生成する撮像処理手段と、前記撮像処理手段で処理された画像情報を情報記録媒体に記録する記録手段と、複数種類の外部機器を接続可能なインタフェース部と、外部機器の接続状態を表示すると共に、記録あるいは再生等のモード状態、コマ番号、ファイル処理状態のうちの少なくとも1つを表示可能な表示手段と、前記インタフェース部に接続された外部機器の種類を判別する判別手段と、前記判別手段での判別結果に対応して前記表示手段での表示内容を異ならせるべく表示制御を行う表示制御手段と、を有することを特徴とする。
【0008】
【発明の実施の形態】
以下、本発明の実施形態を図に基づいて説明する。
【0009】
図1は、本発明の一実施形態にかかるDSC(デジタルスチルカメラ)20の外観図である。該DSC20は、その画像情報の記録媒体としてICメモリカード17を用いるものとする。そして、適用すべきインターフェース(I/F)を異にする複数種類の外部機器であるPC(パーソナルコンピュータ)、または、モデムとに対して1つのコネクタ、および、該コネクタに接続される外部I/Fを介して通信可能とするものである。なお、上記I/Fとは、2つのシステム、または、装置を結合し、共有できるようにした装置、または、複数のプログラムが共用しているレジスタである。そして、該I/Fは、装置だけでなく、LSIを使ったインターフェース回路もある。
【0010】
本DSC20においては、上記図1に示すようにカメラ外装体18の前面部に被写体像を取り込む撮影レンズ1が配設されている。そして、外装体18の上面には制御動作指示用の操作スイッチ群14a〜14fと、LCD表示部13と、撮影動作の指示をするレリーズスイッチ19が配設されている。更に、側面部にはビデオ信号出力端子7と、PC、および、モデム等の複数の外部機器との信号授受のための接続部であってミニDINコネクタ等で構成されるコネクタ16と記録媒体であるメモリカード17の挿入口18aが配設さている。
【0011】
図2は、上記DSC20の制御部の主要ブロック構成図であり、本DSCは、レリーズスイッチ19(図1参照)の押圧に応動して、装着されているメモリカード17に撮像信号の記録を行い、また、後述する操作スイッチ群14a〜14fの操作により該メモリカード17上の指定されたコマ番号の画像ファイルの撮像記録信号を再生し、そのビデオ信号をビデオ信号出力端子7より出力する。なお、DSC20の各制御要素はシステムコントローラ10によりコントロールされるものとする。
【0012】
以下その構成について詳細に説明すると、まず、撮影時においては、被写体像が撮影レンズ1を介して撮像回路2に内蔵されるCCD等の撮像素子上に結像され、画像信号としてA/Dコンバータ3に出力される。A/Dコンバータ3でデジタル変換された画像データは、画像メモリであるVRAM4に一時的に記憶される。そして、VRAM4の画像データは、D/Aコンバータ5で再度アナログ変換され、ビデオ信号としてビデオ出力端子7より出力される。
【0013】
メモリカード17に画像データを記録する場合は、VRAM4から画像データをブロック単位で読み出し、圧縮/伸張回路7でJPEG(JOINT PHOTOGRAFICEXPERT GROUP)方式等によりデータ圧縮して、バス12を介してカードI/F11に入力する。そこで、メモリカード17上の指定された領域に上記圧縮データが書き込まれる。
【0014】
一方、再生時には、まず、後述するUPスイッチ14c,DOWNスイッチ14dを操作してコマ番号等を指定する。そのコマ番号、または、ファイル番号等は、LCD表示部13に表示される。その指定に基づいて、メモリカード17のメモリ領域が選択され、対応する画像データがカードI/F11、バス12を介して圧縮/伸長回路7に入力される。そこで、画像データの伸長処理がなされ、VRAM4に記憶される。その画像データは、再度、VRAM4から読み出されて、前述したようにD/Aコンバータ5でアナログ信号に変換され、ビデオエンコーダ6に入力する。そして、ビデオエンコーダ6でエンコードされ、ビデオ信号として出力される。
【0015】
更に、本DSC20には、外部機器との通信用I/FであるRS232CI/F15を内蔵しており、また、PC、または、モデムに接続可能なミニDINコネクタで構成されるコネクタ16が配設されている。該RS232CI/F15は、システムコントローラ10に内蔵されたインターフェース認識手段により認識した態様のI/Fを機能せしめられる。
【0016】
表1は、上記RS232CI/F15における入出力電圧レベルを示す表である。表1に示される出力電圧レンジ+15v〜−15vは、内蔵されている電圧レベル変換ICにより0〜5vのレンジに変換されて取り込まれる。
【0017】
【表1】

Figure 2004104770
表2は、上記RS232CI/F15のピン番号とJIS規格の信号名等の関係を示す表である。なお、該表2において、DET は「DATA TERMINAL EQUIPMENT」であり、ターミナル、即ち、この場合、カメラを指している。また、DEC は、「DATA COMMUNICATION EQUIPMENT」であり、モデムまたはカメラを指している。
【0018】
【表2】
Figure 2004104770
表3は、PCとの通信で使用するRS232CI/F15の信号線のピンNO.と信号名等の関係を示す表である。このようにPCとの通信時には3本の信号ラインでI/Fを構成する。なお、必要に応じて制御線を付加する。例えば、BUSY信号としてER,または、RS(表2参照)等を用いる。
【0019】
【表3】
Figure 2004104770
表4は、モデムとの通信で使用するRS232CI/F15の信号線のピンNO.と信号名等を示す表である。この表に示すように上記PCとの通信ラインより多いライン数の態様でI/Fを構成する。なお、必要に応じて制御線を付加する。例えば、FG,CI(表2参照)を追加する。
【0020】
【表4】
Figure 2004104770
図3は、DSC20の上記コネクタ16に外部機器であるPC22を接続したときの系統図である。モニタ21は、DSC20の再生画面、または、ファイル管理情報等を表示するためのモニタである。このようにPC22を接続した状態では、通常、PC22によりDSC20のファイル管理制御、または、撮影制御等の通信制御を行う場合が多い。
【0021】
図4は、DSC20の上記コネクタ16に外部機器であるモデム23を接続したときの系統図の一例である。同様に、モニタ21は、再生画面等のモニタである。更に、モデム23は、電話回線24、更に、モデム25を介してPC26と通信可能に接続されている。このようにモデム23を接続した状態では、通常、モデム23,25,電話回線24等を介してDSC20の撮影画像データを上記PC26に転送を行う場合が多い。
【0022】
図5は、前記操作スイッチ群14a〜14fの拡大図であり、該スイッチ群のうち、14aは、カメラの電源(POWER)スイッチ釦であり、14bは、記録、または、再生指示を行う記録/再生(REC/PLAY)スイッチ釦である。また、14cは、再生,消去コマ指定番号を1コマアップさせるアップ(UP)スイッチ釦であり、14dは、再生,消去コマ指定番号を1コマダウンさせるダウン(DOWN)スイッチ釦である。更に、14eは、接続されたモデムに対応するようにI/Fを機能させる指示を与えるモデム切り換え(MODEM)スイッチであり、14fは、記録画像ファイルの消去を指示するイレーズ(ERASE)スイッチ釦である。但し、ERASEスイッチは、撮影直後の再生をワンタッチで行うビュー(VIEW)スイッチも兼用している。
【0023】
図6は、前記表示部13の詳細を示す図であり、該表示部13は、記録された画面データの消去時に点灯する表示セグメント「ERASE」と、撮影画面データの再生時に点灯するセグメント「PLAY」と、外部機器としてモデムが選択された時に点灯するセグメント「MODEM」と、接続されたモデムが通信可能状態になった時に点灯するセグメント「CONNECT」と、コマ番号,ファイル処理状態等を表示する7セグメント表示部により構成されている。
【0024】
図7は、上記表示部13の表示の一例を示し、図7の(A)は再生するコマNO.をスイッチ14c,14dで指定したときのコマNO.の表示状態であり、図7の(B)はコマNO.1を指定した後、再生を行っているときの「PLAY」,コマNO.表示状態である。図7の(C)は外部機器としてモデムをケーブルでコネクタ16に接続し、モデムを指定したときの「MODEM」表示を示している。なお、本DSC20は、POWERスイッチ14aをオンにした時点では、外部I/Fは、PCからのコマンドがシステムコントローラ10の割り込み処理により受信可能状態に設定されている。従って、モデムと通信状態にするには、MODEMスイッチ14eをオン操作する。
【0025】
図8は、モデム23を接続し、指定したときの上記表示部13の表示状態を示す図であるが、この図8を用いて本DSC20のモデム23を用いたデータ転送手順を説明する。まず、図8の(A)に示すように、モデム23を選択し、接続され、通信可能状態になったとき、セグメント「CONNECT」が点滅する。そこで、通信を開始するが、まず、モデム内に、通常、内蔵されているATコマンドを利用して、システムコントローラ10に予め記憶されている相手先の電話番号を呼び出し、表4に示す送信要求信号「RS」をアクティブにすることによりキャリアを送信する。そして、表4に示すキャリア検出信号「CD」により相手側からキャリアが検出される。相手先の確認のために、信号「CAMERA」を送信する。通信先のPC26側からの確認信号「ACK」が受信できたならば、図8の(B)に示すように、接続完了したとして表示部の「CONNECT」を点灯させ、例えば、転送画像データのコマ番号「01」を表示する。
【0026】
なお、一定時間、例えば、1分以内に上記接続が完了しない場合、図8の(C)に示すように「Er」のエラー表示を行い、一旦、パワーオフした後、再試行する。また、上記各表示はモニタ21上にも表示可能である。
【0027】
接続が完了したら、UPスイッチ14c,DOWNスイッチ14dを操作してコマ番号を選択し、送信する画像をモニタ21上に表示する。トリガスイッチ19を押圧すると、該画像データが送信される。この画像データの送信は、最初ファイルサイズを送信し、その後、画像ファイルをバイナリデータとして送信する。受信側のPC26では、上記ファイルサイズ分の受信データを受信したらファイルとして媒体に格納する。なお、モデムの制御は、前述したように一般的に「ATコマンド」を用いる。また、CCITT規格を用いてもモデムの制御を行うことができる。
【0028】
次に、本DSC20の各制御処理動作をフローチャートを用いて、更に、詳細に説明する。
【0029】
図9は、サブルーチン「受信割り込み処理」のフローチャートである。DSC20は、パワーオンに伴い、RS232CI/F15は、システムコントローラ10によりPCと通信可能に設定される。その後、MODEMスイッチ14eを操作して、モデムモードに設定される。この状態ではモデム24からの送信信号が受信されると、システムコントローラ10で割り込み処理が実行され、モデム24からの受信信号の取り込みがなされる。
【0030】
即ち、図9のフローチャートにおいて、ステップS1で、現在、モデムモードであるかどうかのチェックを行う。モデムモードでなくPCモードであれば、ステップS2に進み、PCのコマンドに対応した処理を行う。また、モデムモードであった場合、システムコントローラ10内のモデム制御用パッファに受信データを格納する。このデータについての処理はモデム処理のサブルーチンにより実行される。
【0031】
図10は、トリガスイッチ19が操作された場合のサブルーチン「トリガスイッチ処理」のフローチャートである。
【0032】
本処理ではステップS5で、現在、モデムモードであるかどうかのチェックを行う。モデムモードでない場合、ステップS6に進み、更に、記録モードであるかのチェックをする。記録モードでなかった場合、そのまま本ルーチンを終了する。記録モードである場合、ステップS7に進み、撮影処理を行う。ステップS5の判別において、モデムモードであった場合、ステップS8に進む。そして、送信する画像データのファイルサイズを送信し、ステップS9において、画像データを送信して、本ルーチンを終了する。
【0033】
図11は、モデムスイッチ14eを操作したときにコールされるサブルーチン「モデムスイッチ処理」のフローチャートである。
【0034】
ステップS11において、現在、モデムモードであるかどうかのチェックを行い、モデムモードであった場合、ステップS13にジャンプし、後述するサブルーチン「モデムモード解除処理」がコールされる。また、モデムモードでなかった場合、ステップS12に進み、モードをモデム通信可能なモデムモードにセットする。この処理は、モデムモードを示すフラグを「1」にすることによりモード設定を行う。そして、ステップS14において、表示部13に「CONECT」表示を点滅させる。ステップS15,16にてモデム認識,設定を行う。この処理は、DSC20側から表4の信号「ER」を出力とし、モデム側から信号「DR」のアクティブ信号を返されたことが確認されると、ステップS17に進む。上記確認がなされなかった場合、ステップS22に進み、エラー表示を行って、本ルーチンを終了する。
【0035】
上記ステップS17において、ATコマンドによる回線接続処理を行う。この処理は、モデムに信号「RS」を出力し、モデム23からキャリアを出力させる。そして、前記表4に示す信号「CS」が検出され、更に、モデムからのキャリア検出信号である信号「CD」が検出されて、ステップS18で回線の接続完了が確認されたときは、ステップS19に進む。接続の完了が確認されなかった場合、ステップS22に進み、エラー表示を行って本ルーチンを終了する。
【0036】
ステップS19,20において、相手先の確認のために、信号「CAMERA」を送信し、通信先からの確認信号「ACK」が受信できるかどうかのチェックをする。該信号「ACK」が受信できた場合、表示部13に「CONNECT」を点灯させ、本ルーチンを終了する。しかし、一定時間内に、通信先からの確認信号「ACK」が受信できなかった場合、ステップS22にジャンプしてエラー表示を行う。
【0037】
図12は、前記ステップS13でコールされるサブルーチン「モデムモード解除処理」のフローチャートである。本ルーチンのステップS31においてモデムモードのクリアを行い、ステップS32により相手側に信号「COM−END」を送信する。相手側は該信号「COM−END」により信号送信用のキャリア信号の送信を停止する。ステップS33において、該キャリアの停止を検出したならば、ATコマンドを送って回線オフの処理を行う。そして、ステップS34にてモデムに対して送っていた信号「ER」をオフとし、モデム制御を終了する。更に、ステップS35にて表示部3を通常の記録、または、再生処理時の表示とし、本ルーチンを終了する。
【0038】
以上説明したように、本DSC20においては、1つの外部I/Fに接続されいる単一の接続部であるコネクタ16に接続されたモデム、あるいは、PC等のいづれかをシステムコントローラ10にて種類を認識して、その機器態様のインターフェースを機能させることによって、情報の通信を行うことが可能となる。従って、複数の外部機器との情報通信を可能とする機能性の高い、しかも、本体が小型化されたものを提供することができる。
【0039】
本DSC20は、外部機器との1つの接続部であるコネクタ16が配設されており、PCとモデムとの通信の切り換えは、モデムスイッチ14eを操作することによって行うものである。しかし、その変形例として図13に示すように受け側コネクタ31上部にモード切り換えスイッチの操作用のスイッチ操作部31aが配設されているものを提案できる。この変形例に適用される1つの外部機器であるモデムのコネクタ32に該スイッチ操作31aを押圧する突起32aを配設され、第2の外部機器であるPCのコネクタ33には該スイッチ操作31aを押圧する突起は配設しない。
【0040】
そして、モデム用のコネクタ32が接続された場合は、モード切り換えスイッチ操作部31aがオン操作され、自動的にモデムモードに切り換えられるが、PCがコネクタ32に接続された場合は、モード切り換えスイッチがオフ操作され、PCモードに切り換えられる。このように本変形例のものでは、手動切り換え操作を行うことなくモードの切り換えが可能となる。
【0041】
また、別の変形例として、外部機器とのコネクタの信号ラインにPCとモデムのモード指定信号ライン1本を設け、何れかの機器が接続された場合、該指定信号ラインの電圧レベルを検出することにより通信機器のモードを選択することができる。
【0042】
なお、前記例では電源オン後の通常状態がPC通信モードであることから、その状態で図1のコネクタ16にリモートコントロールユニット等を接続することによって、PC通信態様のI/Fによりリモートコントロール動作が可能となる。図14は、上記リモートコントロールユニット35のコネクタ35bをDSC20のコネクタ16に挿入した状態であり、この状態でリモートコントロール制御が可能となる。
【0043】
図15は、本発明の一実施形態にかかる記録媒体であるメモリカード17のデータの配置を示す図である。該データ領域は、JEIDA(日本電子工業振興協会)にて提案されているように基本的カードの互換性情報を与える属性情報を記録するアトリビュートメモリと画像情報を記録するコモンメモリにより構成されている。
【0044】
上記コモンメモリの先頭には、属性情報領域にはカードの互換性情報が記録される。続いて、ブートセクタ領域には、本DSC20のI/FのOS(オペレーティング システム)がDOSを用いることから後述するFAT(FILE ALLOCATION TABLE),ルートディレクトリ(階層構造)の管理領域情報が記録される。更に、上記FAT領域にはデータの記録領域情報がチェーン形式で記録され、ルートディレクトリ領域には後述するデータ記録領域にデータがどのように記録されているかの情報が記録される。
【0045】
続いて配設されているデータ記録領域には、各画像ファイルにより構成されている。各画像ファイルにはそれぞれ1コマ分の画像に関するデータが書き込まれている。図16に示すように該画像ファイルは、ヘッダと画像データとで構成され、該ヘッダには仕様タプル,データ形式タプル,撮影情報タプル,コメントタプル等が記録されている。上記仕様タプルは、仕様バージョン,ファイルの映像・音声・制御の別を示す種類,ヘッダの大きさを与える。データ形式タプルは,ファイル本体の形式、即ち、JPEG・非圧縮・PICT、その他画像データの保持形式のの形式別を与える。コメントタプルは、撮影の説明文等が記録される。本例のDSC20は、このコメントタプルの書き換えが可能であることを特徴とする。
【0046】
なお、画像ファイル記録領域には画像データファイルの他に、該画像データの画像に対応する音声情報が記録される音声ファイル、また、互いに対応する上記画像ファイルと音声ファイルの対応関係情報を格納する制御ファイルも格納される。この制御ファイルも全てのデータがタプル形式でデータ記録がなされている。更に、該画像ファイル記録領域には、サブディレクトリエントリも格納される。
【0047】
図17は、上記タプル形式のデータ構造を示す図であり、該タプルは規定データを表すタプルID,次タプルのポインタ,タプルデータとで構成されている。また、前記撮影情報タプルは、図18に示すように撮影情報IDと、次タプルポインタと、日付データと、絞りデータと、シャッタ速度データと,ホワイトバランス設定データと、フォーカス位置データと、ズーム位置データと、ストロボデータとで構成されている。
【0048】
また、前記コメントタプルは、図19に示すようにコメントIDと、次タプルポインタ(最終コード)と、コメントデータ長と、コメントデータとで構成され、このコメントタプル用として撮影時に一定の大きさの領域が確保される。
【0049】
更に、前記制御ファイルは、図20に示すように仕様タプルと、該ファイルが格納されるディレクトリのコメントタプルと、再生順序情報である再生シーケンスタプルと、画像ファイルとそれに対応する音声ファイルの関連情報を与えるファイル関連タプルとで構成されている。なお、この制御ファイルは画像ファイルと同じディレクトリ領域に格納されるが、サブディレクトリ内にも格納可能である。
【0050】
本DSC20は、PC等の外部機器により各種のコマンドを受け、それぞれの制御動作を行うものであるが、PC等から受信する該コマンドとその機能は、表5の一覧表に示される。なお、これらの各コマンドは、例えば、16進の数値データに基づいた送信信号によりDSC20に伝達される。
【0051】
【表5】
Figure 2004104770
次に、本DSC20によるコメントデータの参照,書き込み,追記等の処理動作について説明する。なお、この動作の説明は、DSC20に対して前記図3に示すようにPC22を接続して、PC側からの指示でメモリカード17の画像ファイルのヘッダ内に格納されるコメントの書き込み,追記を行う場合を例にとって説明する。
【0052】
まず、メモリカード17の画像ファイルのディレクトリ情報をPC22が取り込み、図21に示すようにファイル名の表示をPC22側のモニタ上で行う。そこで、コメントを書き込むファイルの選択を図示のファイルNO.の中から選択する。もし、NO.1を指定した場合、図22に示すように該当ファイルDSC00001.J61の撮影データと現在のコメントが表示される。なお、このときDSC20側は、モニタ21(図3)にも該撮影データと現在のコメントを表示している。また、通常、コメント領域が設けられないメモリカードを使用した場合は該領域を作成するかの問い合わせを行う。
【0053】
そこで、PC22より表5に示すコメント書き込みコマンドを発信し、コメントを入力するとヘッダ内のコメント領域に新しいコメントデータが上書きされる。図23は、該上書き状態を示している。なお、入力コメントデータ容量が予め確保されたコメント領域より大きい場合、警告を出し、該領域を拡張可能のときは拡張する。
【0054】
また、PC22からの遠隔操作で撮影する場合、撮影データの設定をPC22側から行い、更に、撮影のタイミングの指示、および、撮影直後にコメントの書き込みもPC22側から行うことが可能である。
【0055】
上記コメント参照・変更動作について、図24のサブルーチン「コメント参照・変更処理」のフローチャートにより説明する。
【0056】
ステップS40,41において、メモリカード17の画像ファイルのディレクトリ情報をPC22が受信し、該ディレクトリ情報を表示する。ステップS42において、コメントを変更するファイル番号を入力する。この時点での表示は図21に示されている。
【0057】
ステップS43で上記入力ファイル番号に対応するファイルを指定する。そして、ステップS44,45で当該ファイルの撮影データとコメントデータを受信し、ステップS46で該撮影データとコメントデータの表示を行う。この時点での表示は図22に示される。ステップS47にて追加・変更コメントを入力する。ステップS48でコメントの変更の有無をチェックする。変更なしの場合はそのまま本ルーチンを終了するが、変更する場合、コメントを書き込んで本ルーチンを終了する。
【0058】
次に、コメント付き撮影を行う動作について、図25のサブルーチン「コメント付き撮影処理」のフローチャートによって説明する。なお、この撮影動作では、PC22からの遠隔操作で撮影する場合、撮影データの指定後、コメントの指定を行っておき、その後、撮影の指示をPC22から行う。そして、直後にコメントの書き込みが行われる。
【0059】
即ち、ステップS51,52で撮影データを入力し、撮影データを設定する。ステップS53でコメントを入力し、ステップS54で撮影指示入力の有無をチェックする。撮影指示があると、ステップS55に進み撮影を行う。更に、ステップS56において直前に撮影した画面に関するコメントの書き込みを行って、ステップS57でDSC20からのステータス信号の読み出しを行って、ステップS58に進み、DSC20の撮影可能状態をチェックし、可能であればステップS55に戻り、撮影不可であれば本ルーチンを終了する。
【0060】
次に、前記表5に示すPCとDSCの通信に用いられるコマンド処理動作の2,3のものについて詳細に説明する。
【0061】
まず、ディレクトリ送信コマンド処理について説明すると、図26は、PC22とDSC20とのディレクトリ送信コマンド、および、ディレクトリデータの送信のタイムチャートである。PC20からDSC22へそれぞれ1バイトの信号であるコマンド信号とディレクトリ指定信号がRS232C規格に沿って送信される。該ディレクトリ指定信号は、0がルートディレクトリを示し、0以外が指定した位置のディレクトリエントリのサブディレクトリを示す。そして、DSC20は、その信号を受けて割り込み処理により、PC22へ最大数Kバイトのディレクトリデータのバイト数データと、ディレクトリデータを送信する。
【0062】
図27は、ルートディレクトリの構成を示している。ルートディレクトリを構成するエントリ0,1,2,3……はそれぞれコマNO.のデータ領域の画像ファイルに対応することになる。但し、サブディレクトリが作成された場合、対応するエントリは、サブディレクトリのためのディレクトリエントリとなる。そして、該サブディレクトリデータは、データ領域に格納される。但し、そのサブディレクトリのエントリ0にはファイル名「・」とし自身の位置情報が格納されエントリ1にはファイル名「・・」とし上位のディレクトリの位置情報が格納される。そして、エントリ2以降にディレクトリデータが格納される。
【0063】
なお、図28は、32バイトで構成されるディレクトリエントリのフォーマットを示している。また、表6は、属性の値と属性の内容を示す表である。
【0064】
【表6】
Figure 2004104770
次に、コメント送信について説明する。図29は、PC22とDSC20とのコメント送信コマンド、および、コメントデータの送信のタイムチャートである。PCからDSCへ1バイト信号であるコマンド信号がRS232Cの規格に沿って送信される。DSCは、その信号を受けて割り込み処理により、PCへコメントデータのバイト数データと、コメントデータを送信する。これらの処理は、ファイル指定コマンドの後で実行される。
【0065】
図30は、上記コメント送信動作のサブルーチン「コメント送信コマンド処理」のフローチャートである。ステップS61にてバス12をメモリカードアクセスに設定する。ステップS62で指定されたファイルの先頭アドレスをディレクトリの開始クラスタにより計算する。ステップS63でコメントタプルのサーチを行い、ステップS64で該コメントタプルの有無をチェックする。前述したようにメモリカードの記録仕様上コメントタプルがカードに設けられていない場合、ステップS68にジャンプして、コメントタプルが設けられていないことをPC22側に知らせるために信号「NAK」を送信し、ステップS67に進む。その後、コメントタプルを作成してコメントの書き込み可能状態とし、再度、コメント送信処理を実行することになる。
【0066】
一方、コメントタプルが検出できた場合、ステップS65に進む。該ステップS65において、コメントタプルのバイト数データを送信する。続いて、ステップS66にてコメントデータを送信する。その後、ステップS67においてバス12を解放して本ルーチンを終了する。
【0067】
次に、コメント書き込み動作について説明する。図31は、PC22とDSC20とのコメント書き込みコマンド、および、書き込みコメントデータの送信のタイムチャートである。即ち、PC22からDSC20へコマンド信号,バイト数データ信号,書き込み信号がRS232Cの規格に沿って送信される。DSC20は、その信号を受けて割り込み処理により、コメントデータの書き込みを行う。なお、この場合、DSC20からPC22への送信はない。
【0068】
図32は、上記コマンド書き込み動作のサブルーチン「コメント書き込みコマンド処理」のフローチャートである。ステップS71にてバイト数データの信号を受信し、ステップS72でバス12をメモリカードアクセスに設定する。ステップS73において、指定されたファイルの先頭アドレスをディレクトリの開始クラスタにより計算する。ステップS74でコメントタプルのサーチを行い、ステップS75で該コメントタプルの有無をチェックする。コメントタプルがメモリカードに設けられていない場合、ステップS80にジャンプする。コメントタプルが既に設けられてている場合、ステップS76に進む。
【0069】
ステップS76において、現在用意されているコメントタプルのバイト数が書き込み可能なバイト数であるかチェックする。バイト数が不足する場合は、ステップS79にジャンプして、PC22に書き込み不可である信号「NAK」を送信し、ステップS78に進む。一方、上記バイト数が不足しない場合、ステップS77に進み、受信したタプルデータを順次コメントデータに上書きする。そして、ステップS78にてバス12を解放して本ルーチンを終了する。
【0070】
上記ステップS80にジャンプした場合は、タプルの末尾にコメントタプルを生成し、ステップS81で生成タプル領域の大きさをチェックし、上記生成されたタプル領域がコメントデータを書き込むに十分な大きさであった場合、前記ステップS77にジャンプする。領域の大きさが不足する場合、ステップS82に進み、PC22側に信号「NAK」を送信し、前記ステップS78に進む。そして、生成コメントタプル領域が十分であった場合、ステップS77に進み、ステップS78にてバス12を解放して本ルーチンを終了する。
【0071】
本発明の一実施形態にかかるDSC20では、階層データ処理部であるシステムコントローラ10が、外部機器による外部I/F15を介して、情報記録媒体であるメモリカード17の階層データ構造管理領域の変更処理を行う。以下に、DSC20と接続されたPC22側の操作により管理領域であるディレクトリを変更する動作について説明する。
【0072】
図33は、変更処理時のPC22のメニュー画面であり、例えば、サブディレクトリの作成を行う場合、キーNO.1を選択する。画面表示が図34の表示となる。そこで、PC22のキーによりサブディレクトリ生成に伴うコメントを入力し、キー操作により「Y」を入力すると、サブディレクトリが生成される。
【0073】
また、図33のメニュー画面表示状態にてキーNO.2のファイル移動を選択すると、表示画面が図35のようにファイル名,サブディレクトリ名が表示され、どのファイルの移動を行うかの選択状態となる。この時点では図35に示すようにメモリカードには、画像ファイルとしてDSC00001.J6IとDSC00003.J6Iが記録されており、更に、サブディレクトリとして〈SDIR02〉があり、該サブディレクトリ中に画面ファイルとしてDSC02001.J6Iが格納されている。そこで、例えば、キー操作により「1」を入力して、画像ファイルDSC00001.J6Iを移動する指示を与える。そして、図36の表示に示すようにファイルの移動先の入力待ち状態となる。
【0074】
ファイルの移動先としてキー操作により「2」を入力すると、図37に示すように前記画像ファイルDSC00001.J6Iがサブディレクトリ〈SDIR02〉に移動した状態となる。なお、移動先がルートディレクトリである場合は、キー入力として「R」を入力することになる。
【0075】
前記サブディレクトリの作成処理におけるPC22側の動作を図38のサブルーチン「サブディレクトリ」のフローチャートによって説明すると、まず、ステップS91でサブディレクトリのコメントの入力処理を行い、ステップS92でサブディレクトリ作成コマンドをDSC20に送信する。ステップS93でコメントの書き込みを行い、ステップS94で該サブディレクトリの表示を行って、本ルーチンを終了する。
【0076】
前記ファイル移動処理におけるPC22側の動作を図39のサブルーチン「ファイルの移動」のフローチャートによって説明すると、まず、ステップS101でディレクトリの表示を行い、ステップS102で移動するファイルの指定入力を行う。ステップS103で移動先のディレクトリの入力を行う。ステップS104でディレクトリ移動コマンドをDSC20に送信する。ステップS105で移動された新ディレクトリを受信し、ステップS106で新ディレクトリの表示を行って、本ルーチンを終了する。
【0077】
次に、サブディレクトリ作成のDSC側の処理について詳細に説明する。図40は、PC22とDSC20間のサブディレクトリ作成時の通信信号のタイムチャートであり、PC22からDSC20へサブディレクトリの生成コマンドを送信する。DSC側ではディレクトリの最も順番の早い空きディレクトリをサーチし、そこにサブディレクトリを作成する。
【0078】
図41は、上記サブディレクトリ生成コマンド処理のサブルーチンのフローチャートである。ステップS111においてバス12をメモリカードアクセスに設定する。ステップS112でディレクトリの空きエントリをサーチする。そして、ステップS113で上記空きエントリの有無をチェックし、無しの場合、ステップS119にジャンプし、PC22へ信号「NAK」を送信し、後述するステップS118に進む。空きエントリありの場合、ステップS114に進み、ディレクトリのサイズの空きエリアをサーチする。その空きがない場合、前記ステップS119に進む。空きがある場合、ステップS116に進みサブディレクトリを登録する。ステップS117で上記サブディレクトリ内に制御ファイルを登録して、ステップS118に進み、バス12を開放して、本ルーチンを終了する。
【0079】
次に、ファイル移動動作のDSC側の処理について詳細に説明する。図42は、PC22とDSC20間のファイル移動時の通信信号のタイムチャートであり、PCからDSCへファイル移動コマンドを送信し、移動ファイルデータ、更に、移動先ディレクトリデータを送信する。なお、移動ファイルデータは、サブディレクトリまでとして2バイトデータとなり、移動先ディレクトリデータは、ルートディレクトリのみであるので1バイトデータとなる。これらのデータを取り込んでDSC20は、移動先ディレクトリに移動ファイルを登録することになる。
【0080】
図43は、上記ファイル移動処理のサブルーチンのフローチャートである。このルーチンにおいて、まず、ステップS121において移動ファイルデータを受信し、ステップS122で移動先ディレクトリデータを受信する。ステップS123でバス12をカードアクセスに設定する。そして、移動ファイルのディレクトリエントリを読み出す。ステップS125で移動先ディレクトリの空きエントリをサーチし、ステップS126で空きエントリの有無をチェックし、無しの場合、ステップS132にジャンプし、PC22へ信号「NAK」を送信し、後述するステップS131に進む。
【0081】
空きエントリありの場合、ステップS127に進み、ファイル名の重複をチェックする。ステップS128で重複が確認された場合、上記ステップS132にジャンプするが、重複していない場合、ステップS129に進み、空きエントリに読み込んだエントリのデータを読み込む。そして、ステップS130で元のエントリに消去マークを書き込み、ステップS131でバス12を開放して本ルーチンを終了する。
【0082】
なお、DSC20は、サブディレクトリの生成,ファイル移動の他に、ファイル名の変更,ファイルの削除等の処理もカメラ内部の組み込み機能として実行可能である。
【0083】
本実施形態は、この様にして、外部からの受信データにより、媒体の管理領域の変更を可能とする。
【0084】
次に、DSC20における、撮影画面のワンタッチ再生動作について説明する。このワンタッチ再生においては、撮影後、ERASEスイッチ14fを押圧すると、直前に撮影した画面の再生を行うものである。
【0085】
従来、ビューファインダを有する電子スチルカメラにおいては、撮影画面をフィールドメモリに格納し、ビューファインダで該画面を確認した後、記録媒体に書き込む操作を行っていた。しかし、これらの操作が複雑であり、使い勝手の悪いものであった。本DSC20における撮影画面のワンタッチ再生は、上記不具合を解決した処理であって、撮影した静止画像の確認が容易であり、しかも、DSC20に実装されるスイッチ数も少なくなる。
【0086】
図44は、DSC20によるトリガスイッチ操作による撮影処理動作のサブルーチン「トリガスイッチ処理」のフローチャートである。
【0087】
ステップS141において、DSCに装着しているメモリカードについてライトプロテクトが解除されているか、画像データが記録できるだけの空き容量があるか、適用可能なフォーマットがなされているか等のチェックを行う。記録不可と判別された場合、ステップS150にジャンプして警告処理を行う。記録可能であると判別された場合、ステップS142に進み、画像データを取り込む等の撮影処理を実行する。そして、ステップS143に進み、画像データの圧縮とメモリカード17への記録を行う。
【0088】
ステップS144にて記録コマNO.をシステムコントローラ10のRAMに退避させる。ステップS145で前記ヘッダファイルに撮影時刻,撮影データ等のヘッダデータを書き込む。ステップS146では、メモリカード17のFAT,ディレクトリのデータを記録の状態に従って書き込むファイルのクローズ処理を行って、ステップS147,148に進む。そこで、次の撮影記録のために後続のディレクトリのサーチとFATのサーチを行う。そして、ステップS149でメモリカード17に記録可能なメモリ領域が残っているかチェックし、記録不可であればステップS151にジャンプしてカードフルの表示を行う。記録可能であればそのまま本ルーチンを終了する。
【0089】
次に、ERASEスイッチ14fが押圧された場合に直前に撮影記録された画像を再生する動作を図45のサブルーチン「ERASEスイッチの処理」のフローチャートにより説明する。
【0090】
ステップS161で現在記録モードであるかどうかの判別を行う。記録モードでなければそのままリターンする。記録モードであれば、ステップS162において記録済みかどうかのチェックを行い、このチェックは、前記図44のステップS144での記録コマNO.の退避処理がなされたかどうかでチェックされる。そして、記録済みであればステップS163へ進み、記録済みでなければステップS168にジャンプし、画面を黒、または、ブルー画面とするミュート処理を行って、後述のステップS166に進む。
【0091】
ステップS163では、前記図44の撮影処理におけるステップS144で退避したコマNO.を読み出し、ステップS164で再生コマNO.を設定する。ステップS165でコマNO.,記録日付等と共に指定コマNO.対応の画像の再生を実行する。そして、ステップS166に進み、ERASEスイッチ14fがオフ状態になるのを待って、ステップS167に進む。該ステップS167では撮影レンズを介して取り込まれる撮像画面を表示して本ルーチンを終了する。
【0092】
なお、図44の処理でシステムコントローラ10に複数の撮影コマNO.を記憶するようにすれば、ERASEスイッチ14fとUPスイッチ14c、または、DOWNスイッチ14dを併用することによって、更に、それ以前に撮影した記録画面を再生することも可能である。
【0093】
次に、DSC20において、メモリカードの記録データを全消去を行う動作について説明する。この全消去動作においては、その消去時にメモリチェックを行うモードとメモリチェックを行わないモードを有している。
【0094】
従来、メモリカード,光磁気ディスク,または、フロッピーディスクを記録媒体とする電子スチルカメラにおいては、例えば、メモリカードに画像データを記録する前に、初期化、即ち、該メモリカードのメモリチェックと管理データの書き込み処理と、記録された全データの消去を行うための全消去処理とが必要であった。
【0095】
そして、カメラの操作性の向上のため、上記全消去と初期化の動作とが1つの連続動作として処理されていた。ところが、初期化動作のうちメモリチェックには長い時間を必要とする。従って、全消去処理を行う度に長い待ち時間を必要となる。また、全消去を行ったときでも以前のフォーマット形式を保持したい場合が当然考えられ、そのときは不都合である。
【0096】
本DSC20による全消去処理では簡便な操作で初期化と全消去の必要動作を行うことができ、しかも、初期化のフォーマットをユーザを指定することも可能とするものである。
【0097】
前記図15に示したメモリカード17のデータ配置におけるアトリビュートメモリ、または、コモンメモリには、前記図17に示したタプル形式で属性情報が記録されるが、表7,8は、そのタプルIDとその略称、および、その意味を示した表である。なお、このタプルID等は、前記JEIDAで提案されている「ICメモリカードガイドライン Ver.4.1 」によるものである。また、上記アトリビュートメモリには互換性に関する基本的なタプルが配置され、コモンメモリにはそれより上級のデータの互換生に関するタプルが配置されるものとする。
【0098】
【表7】
Figure 2004104770
【表8】
Figure 2004104770
上記メモリカード17のデータ配置におけるコモンメモリの属性情報領域に続いて配置されるブートセクタには、FAT、ディレクトリの管理情報が記録されるが、表9はそのブートセクタのフォーマットを示す。このフォーマットも前記JEIDAで提案されている「ICメモリカードガイドライン Ver.4.1」によるものである。上記ブートセクタにおいては、最初の部分にブートコードへのジャンプ命令、メーカ各等に続いて、 BPBとして示す範囲にはDOSの管理情報、即ち、上述したようにFAT、ディレクトリに対する管理情報が格納されている。このデータを読み出すことによりFAT、ディレクトリの解釈が可能となる。なお、このデータにはある程度の自由度が持たされている。
【0099】
【表9】
Figure 2004104770
図46は、上記ブートセクタに続いて記録されるFATの構成を示した図である。FATデータの記録領域は各エントリがクラスタに対応して分割される。例えば、各エントリがそれぞれ2クラスタ,3クラスタ,………、最終クラスタに対応している。各エントリは12ビット構成とする。なお、最初の2つのエントリ0と1は、システム予約になっている。そして、FATのデータ構造としては、ディレクトリにより指定されたエントリに始まり、使用したクラスタを順次指定してゆくチェーン構造とする。チェーンの最後はOFFFH (H は16進数であることを示す) で終了する。なお、エントリデータ0は、未使用状態を示す。
【0100】
次に、表示画面の状態を参照しながら全消去動作の説明を行う。
【0101】
メモリカード17の全消去操作がなされた場合、管理領域のチェックを行い、既知のフォーマットがなされたものであれば、ファイルの消去のみを行う。また、既知のフォーマットがなされたものでないならば、メモリチェックとフォーマットを行う。
【0102】
図47は、フォーマットが必要である未フォーマットのメモリカード装着状態で全消去を行ったときの表示部13、または、モニタの表示画面を示す。この場合、後述する消去モードが「モードA」とする。その消去動作においては、まず、ERASEスイッチ14fとUPスイッチ14cとを多重押しして、全消去準備モードの設定を行うと、図47の(A)の「Aモード」の画面が表示され、セグメント「ERASE」が点滅する。そして、トリガスイッチ19を押すと、メモリカードが未フォーマットであることを確認し、メモリチェックとフォーマットとを行う初期化を開始する。
【0103】
図47の(B),(C)は上記初期化処理中の表示画面である。なお、メモリチェックには長い時間を要するので、メモリカードのメモリ全容量を64Kバイトのブロックに分け、メモリチェック動作中は、上記図47の(B),(C)に示すように未処理の該ブロック数をカウントダウンしてゆき、例えば、16、15等を残りのブロック数を表示する。従って、図47の(D)に示すように残りのブロック数が00になったときに初期化が終了する。
【0104】
なお、フォーマット済みのメモリカードが装着されたとき同じ操作を行った場合は、全消去準備状態となり、図47の(A)の表示がなされる。そして、トリガスイッチ19が押圧されたとき、メモリカードのフォーマットをチェックし、フォーマット済みであることが検出されたならば、管理領域に格納されているデータのみを消去するのみで全消去を終了し、直ちに図47の(D)の終了表示となる。従って、この処理動作は短時間で終了する。
【0105】
次に、消去モードを選択動作について説明する。この選択される消去モードとしては、表10に示すように「Aモード」,「Bモード」,「Cモード」がある。このようにいくつかの消去モードを必要とする理由は、フォーマットの種類によっては、メモリカードのコモン領域の属性情報の書き込みを行わないものなどの各種のフォーマットに対応可能とするためである。
【0106】
【表10】
Figure 2004104770
即ち、上記「Aモード」は、上記図47で説明した全消去動作を行うモードであって、未フォーマットのメモリカードに対しては、メモリチェックと管理領域の書き込みを実行し、フォーマット済みのメモリカードに対しては管理領域の記録データの消去のみ行う。「Bモード」の消去動作では、フォーマットの如何に関わらず、メモリチェックと管理領域の書き込みを行う。また、「Cモード」の消去動作では、管理領域の書き込みを行うとき、コモンメモリの属性情報の書き込みを行わない。なお、これらのモードの選択は、ERASEスイッチ14fを押圧しながらUPスイッチ14cの押圧を繰り返すことによって選択される。
【0107】
図48は、上記消去モードの選択時の表示部13、または、モニタの表示画面を示し、図48の(A),(B),(C) は、ERASEスイッチ14fを押圧しながらUPスイッチ14cの押圧を繰り返して上記消去モードの「Aモード」,「Bモード」,「Cモード」を選択していった場合の表示画面である。なお、各モード指定時には「ERASE」表示が点滅する。更に、UPスイッチ14cを押圧すると再生モードに戻り、図48の(D)のように通常の再生時の表示画面となる。
【0108】
図49は、ERASEスイッチ14fとUPスイッチ14cとを押圧し、上記モードを選択する処理のサブルーチン「UPスイッチ処理」のフローチャートである。UPスイッチ14cの押圧に伴い本ルーチンがコールされると、ステップS171でERASEスイッチ14fのオンオフをチェックし、オフのときは、本ルーチンからリターンする。オンであった場合、ステップS172に進む。そして、消去が可能なメモリカードであるかをチェックする。このチェックは、メモリカードにライトプロテクトが掛かっているかどうか、また、メモリカードの種類、例えば、I/Oカード等でアクセスを禁止する属性情報が記録されているカードであるかのチェックを行う。消去不可であれば、図50に示すように表示部13、または、モニタにエラー表示を行って、本ルーチンを終了する。消去可であれば、ステップS173に進む。
【0109】
ステップS173では、すでに全消去準備モードに入っているかどうかをチェックする。もし全消去準備モードでなければ、ステップS174で全消去準備フラグをセットし、ステップS175で「ERASE」表示を点滅させ、「−A」に表示をする。その後、UPスイッチ14cの押圧がなければ、ステップS175で5秒間のタイマをセットして本ルーチンを終了する。また、ステップS173のチェックで、現在、全消去準備モードであれば、ステップS177にジャンプして、前記各消去モードに対応させてある消去モード指数をインクリメントする。そして、ステップS178で消去モード指数をチェックし、消去モードがすでに「Cモード」になっていれば、ステップS179にて全消去準備フラグをクリアして、ステップS180で「ERASE」表示を消灯して本ルーチンから戻る。
【0110】
次に、トリガスイッチ19を操作して消去を行うサブルーチン「トリガスイッチ処理」について、図51のフローチャートにより説明する。
【0111】
ステップS191,192,193において全消去準備モードが「Aモード」か、「Bモード」か、「Cモード」かの判別を行って、それぞれステップS196,197,198にジャンプして、後述するサブルーチン「全消去Aモード処理」,「全消去Bモード処理」,「全消去Cモード処理」をコールする。また、上記何れのモードでもなかった場合、ステップS194にてERASEスイッチ14fのオンオフをチェックする。オフの場合、本ルーチンを終了するが、オンである場合は、ステップS195に進み、後述する1コマ消去処理がコールされる。そして、1コマ消去を実行した後、本ルーチンを終了する。
【0112】
図52は、前記ステップS196でコールされるサブルーチン「全消去Aモード処理」のフローチャートである。本サブルーチンがコールされると、ステップS201で「ERASE」表示を点灯し、ステップS202で消去可能かどうかのチェックを行う。この処理は前記図49のステップS172の処理と同一のチェックであって、ライトプロテクトの有無の確認処理となる。消去不可のときはステップS208にジャンプして、表示部13、または、モニタにエラー表示(図50参照)、また、ブザーによる警告を行い、本ルーチンを終了する。
【0113】
消去が可能であるときは、ステップS203に進み、ブートセクタのチェックを行う。即ち、ブートセクタのデータが既知のものであれば、メモリチェックが不要であることから管理情報の書き換えのみでよく、ステップS204に進む。しかし、ブートセクタのチェックの結果、ブートセクタが既知のものでないか、未フォーマットのものであると判別したときは、メモリチェックを行うため、ステップS209にジャンプし、長い時間を掛けてメモリチェック等の全消去処理を行う。
【0114】
上記ステップS204ではFATのチェーンデータをクリアして、ステップS205にてディレクトリエントリの先頭にデータ0を書き込む。そして、ステップS206に進み、消去終了の表示をして、ステップS207で表示部13、また、モニタを通常表示状態に戻して本ルーチンを終了する。
【0115】
上記ステップS209に進んだ場合、カードのメモリ容量を検査する。この検査は、デバイス情報タプルに記録されているメモリ容量データを読み取ることになるが、該データが記録されていない場合は、メモリの検査を行ってメモリ容量を求める。そして、ステップS210で全メモリ容量を、例えば、64Kバイトで除算し、その商の値を未チェックの残量として表示する。ステップS211でメモリチェックを行い、未チェック分のメモリ残量を上記64Kバイト単位で表示する。上記メモリチェックは、64Kバイト毎に値55H とAAH を順次書き込んだ後、該書き込みデータを読み出し、値の一致をチェックする動作である。そして、上記残量が0になるまで続行する。その後、ステップS212〜S215にて属性情報,ブートセクタ,FAT,ルートディレクトリ等のデータの書き込みを実行して全消去を終了し、ステップS206に進む。上記属性情報その他の書き込みデータはメモリカードのメモリ容量によりデータの値が異なる。
【0116】
図53は、前記図51のステップS197でコールされるサブルーチン「全消去Bモード処理」のフローチャートである。本サブルーチンにおいて、ステップS221で「ERASE」表示を点灯し、ステップS222で消去可能かどうかのチェックを行う。消去不可のときはステップS232にジャンプして、エラー表示を行い、本ルーチンを終了する。消去可能であるときは、ステップS223以下に進む。このステップS223以下、S231までの処理は、前記図52のステップS209〜S215、および、ステップS206,S207の一連の消去動作と同一である。
【0117】
図54は、前記図51のステップS198でコールされるサブルーチン「全消去Cモード処理」のフローチャートである。本サブルーチンにおけるステップS241〜S251に示される処理は、上記図53の「全消去Bモード処理」サブルーチンに対してステップS226の属性情報の書き込みを除いたものと同一の処理を実行するものである。
【0118】
図55は、前記図51のステップS195でコールされるサブルーチン「1コマ消去処理」のフローチャートである。本サブルーチンにおいて、ステップS261で消去可能かどうかのチェックを行う。消去不可のときはステップS266にジャンプして、エラー表示を行い、本ルーチンを終了する。消去可能であるときは、ステップS262以下に進む。
【0119】
ステップS262で「ERASE」表示を点灯し、ステップS263で再生しているコマのディレクトリエントリの先頭に消去コマであることを示す0E5H を書き込む。前記図52のステップS205ではディレクトリエントリに0を書き込んだが、これはそのディレクトリ以降が未使用であることを示すことになる。本1コマ消去処理の場合、0E5H を書き込み、1 コマ消去であることを記録する。更に、ステップS264でディレクトリエントリのポインタが指すFATチェーンを0にクリアする。そして、ステップS265に進み、消去終了の表示をして、ステップS266で表示部13、また、モニタを通常表示状態に戻して本ルーチンを終了する。
【0120】
図56は、上記ステップS263で1コマ消去がなされたディレクトリエントリの先頭部を示した図である。このように4コマ目のディレクトリエントリの先頭が0E5H が書き込まれ、該コマが単独で消去された状態を示す、また、6コマ目に00H が書き込まれていることから、それ以降には未記録状態であることを示している。このように1コマ単位で消去されたファイルと以降が未記録であるファイルの識別が可能となる。更に、ディレクトリエントリの先頭に00H を書き込み、素早くそのディレクトリエントリ以降を未記録状態に設定することも可能となる。
【0121】
なお、上述した例では、消去の説明を行ってきたが、この消去動作の中には媒体のフォーマットとデータの消去の2つの動作が含まれており、カメラが必要に応じてフォーマットと消去の何れかの動作を選択する機能について説明してきた。そして、いままでの例では、未フォーマットのカードを装着した場合、ユーザが全消去の操作を行うことにより媒体のフォーマットが行われ、媒体が使用可能になる例について説明した。
【0122】
そこで、フォーマットという概念に不慣れなユーザのために、カードの装着時にカードフォーマットをチェックし、未フォーマットであれば、その旨警告し、例えば、ERASEスイッチの操作により、フォーマットを行うように構成することも可能である。この処理を図57のフローチャートに示す。
【0123】
なお、該フローチャートに記載されている「DOSフォーマット済み」とは、属性情報,ブートセクタ,FAT,ディレクトリが正しく書かれている状態を示し、「DSCフォーマット済み」とは、必要な制御ファイルが書かれている状態を示す。また、上記フォーマットを実行させるために、フォーマットスイッチを別に配設してもよいし、上述のようにERASEスイッチ等で兼用してもよい。
【0124】
【発明の効果】
本発明によると、インタフェース部を複数種類の外部機器を接続可能な構成としてカメラに設けるインタフェースの総数を削減してカメラの小型化を実現すると共に、接続された外部機器に対応して最適な表示を行わせてユーザの利便性を向上させる電子カメラシステムを提供できる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかるカメラであるDSC(デジタルスチルカメラ)の外観図。
【図2】上記図1のDSCの制御部の主要ブロック構成図。
【図3】上記図1のDSCにPC(パーソナルコンピュータ)を接続したときの系統図。
【図4】上記図1のDSCにモデムを接続したときの系統図。
【図5】上記図1のDSCの操作スイッチ群の配置図。
【図6】上記図1のDSCの表示部の詳細図。
【図7】上記図1のDSCの表示部の表示例であって、(A)はコマNO.の表示状態、(B)は上記コマNO.の画像を再生しているときの表示状態、(C)はモデムを接続したときの表示状態をそれぞれ示す。
【図8】上記図1のDSCの表示部のモデムを接続したときの表示例であって、(A)は、モデムを接続、選択したときの表示状態、(B)は、接続完了時の表示状態、(C)は、接続不良時の表示状態を示す。
【図9】上記図1のDSCの外部機器との通信処理時にコールされるサブルーチン」受信割り込み処理」のフローチャート。
【図10】上記図1のDSCにおいて、トリガスイッチを操作したときにコールされるサブルーチン「トリガスイッチ処理」のフローチャート。
【図11】上記図1のDSCにおいて、モデムスイッチを操作したときコールされるサブルーチン「モデムスイッチ処理」のフローチャート。
【図12】
上記図11のサブルーチン「モデムスイッチ処理」でコールされるサブルーチン「モデムモード解除処理」のフローチャート。
【図13】上記図1のDSCのコネクタ部の変形例の斜視図。
【図14】上記図1のDSCの接続部にリモートコントロールユニットを接続した状態での外観図。
【図15】上記図1のDSCに適用されるメモリカードのデータ配置図。
【図16】上記図15のデータ配置における画像ファイルの詳細な構成を示す図。
【図17】上記図1のDSCに適用されるメモリカードにおける管理情報のタプル形式のデータ構成図。
【図18】上記図1のDSCに適用されるメモリカードにおける撮影情報タプル構成図。
【図19】上記図1のDSCに適用されるメモリカードにおけるコメントタプル構成図。
【図20】上記図1のDSCに適用されるメモリカードにおける制御ファイルデータ構成図。
【図21】上記図1のDSCのメモリカードのコメント変更・ファイル移動を実施するときの対象ファイル選択時の表示画面。
【図22】上記図1のDSCのメモリカードのコメント変更処理時でのコメントデータの表示画面。
【図23】上記図1のDSCのメモリカードのコメントデータの追記を行ったときの表示画面。
【図24】上記図1のDSCにおけるコメント参照・変更処理時にコールされるサブルーチン「コメント参照・変更処理」のフローチャート。
【図25】上記図1のDSCにおけるコメント付き撮影処理時にコールされるサブルーチン「コメント付き撮影処理」のフローチャート。
【図26】上記図1のDSCとPCの通信処理におけるディレクトリ情報送信時の通信信号のタイムチャート。
【図27】上記図1のDSCのメモリカードのルートディレクトリの構成を示す図。
【図28】上記図1のDSCのメモリカードのディレクトリエントリのフォーマットを示す図。
【図29】上記図1のDSCとPCの通信処理におけるコメント情報送信時の通信信号のタイムチャート。
【図30】上記図1のDSCにおけるコメント送信処理時にコールされるサブルーチン「コメント送信コマンド処理」のフローチャート。
【図31】上記図1のDSCとPCの通信処理におけるコメント書き込み時の通信信号のタイムチャート。
【図32】上記図1のDSCにおけるコメント書き込み処理時にコールされるサブルーチン「コメント書き込みコマンド処理」のフローチャート。
【図33】本発明の一実施形態にかかるカメラである上記図1のDSCにおける管理情報変更処理を実施するときの選択表示画面。
【図34】上記図1のDSCにおける管理情報変更処理で、サブディレクトリ作成処理を選択したときの表示画面。
【図35】上記図1のDSCにおけるサブディレクトリ作成処理でファイルを選択するときの表示画面。
【図36】上記図1のDSCにおける管理情報変更処理で、ファイル移動処理を選択したとき、ファイルの移動先を選択するときの表示画面。
【図37】上記図1のDSCにおけるファイル移動処理で、ファイル移動状態を示す表示画面。
【図38】上記図1のDSCのサブディレクトリ作成処理時にコールされるサブルーチン「サブディレクトリ作成」のフローチャート。
【図39】上記図1のDSCのファイル移動処理時にコールされるサブルーチン「ファイルの移動」のフローチャート。
【図40】上記図1のDSCとPCの通信処理におけるサブディレクトリ作成時の通信信号のタイムチャート。
【図41】図40のサブディレクトリ作成時にコールされるサブルーチン「サブディレクトリの生成コマンド処理」のフローチャート。
【図42】上記図1のDSCとPCの通信処理におけるファイル移動動作時のデータ通信信号のタイムチャート。
【図43】図42のファイル移動処理時にコールされるサブルーチン「ファイル移動処理」のフローチャート。
【図44】上記図1のDSCのトリガスイッチ操作時にコールされる撮影処理のサブルーチン「撮影処理」のフローチャート。
【図45】上記図1のDSCのERASEスイッチ操作時にコールされるコマ再生動作のサブルーチン「ERASEスイッチの処理」のフローチャート。
【図46】上記図1のDSCに適用されるメモリカードのコモンメモリ中のFATの構成を示した図。
【図47】上記図1のDSCにおけるメモリカード記録データの消去処理「Aモード」での表示画面を示し、(A)はモードの種類の表示状態、(B),(C)は消去処理途中の表示状態、(D)は消去終了時の表示状態を示す。
【図48】上記図1のDSCにおけるメモリカード記録データの消去処理モード選択時の表示画面を示し、(A)は「Aモード」選択時の表示状態、(B)は「Bモード」選択時の表示状態、(C)は「Cモード」選択時の表示状態、(D)は消去終了後、通常の表示状態に戻った状態を示す。
【図49】上記図1のDSCにおけるUPスイッチ操作によりコールされる消去モード選択処理のサブルーチン「UPスイッチ処理」のフローチャート。
【図50】上記サブルーチン「UPスイッチ処理」処理において、消去不可と判別されたときの表示画面。
【図51】上記図1のDSCにおけるトリガスイッチ操作によりコールされる消去モード選択処理のサブルーチン「トリガスイッチ処理(消去モード選択)」のフローチャート。
【図52】上記図1のDSCにおける消去処理のサブルーチン「全消去Aモード処理」のフローチャート。
【図53】上記図1のDSCにおける消去処理のサブルーチン「全消去Bモード処理」のフローチャート。
【図54】上記図1のDSCにおける消去処理のサブルーチン「全消去Cモード処理」のフローチャート。
【図55】上記図1のDSCにおける消去処理のサブルーチン「1コマ消去処理」のフローチャート。
【図56】上記図1のDSCにおける1コマ消去処理によりファイルの消去を行ったときの各ディレクトリエントリの先頭データの一例を示す図。
【図57】上記図1のDSCにおいて、カードを挿入したときにフォーマットのチェック処理を行わせるようにしたときのサブルーチン「カード挿入時の処理」のフローチャート。
【符号の説明】
10  システムコントローラ(階層データ処理部)
15  RS232CI/F(インターフェース部)
16  コネクタ
17  メモリカード(情報記録媒体)
20  DSC(カメラ)
22  PC(外部機器)
23  モデム(外部機器)
31  コネクタ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic camera system in which a plurality of types of external devices can be connected to an interface unit.
[0002]
[Prior art]
2. Description of the Related Art In recent years, there have been many proposals for multifunctional digital still video cameras (hereinafter, referred to as DSCs) using an IC memory card, a magnetic recording medium, a magneto-optical recording medium, or the like as a storage medium. As one of the proposals, there has been proposed a camera which is provided with an interface (hereinafter, referred to as an I / F) means which can be connected to an external device and which can exchange various information.
[0003]
For example, a camera disclosed in Japanese Patent Application No. 2-108468 as a first proposal previously proposed by the present applicant has a built-in I / F means for a personal computer (hereinafter, referred to as a PC). The remote control of the camera and the transmission and reception of video signals to and from the PC can be performed by communication with the PC. Further, as a second one, the present applicant proposed on November 19, 1992 The camera has a built-in I / F unit with a modem, and enables communication of video information via a telephone line via the modem.
[0004]
[Problems to be solved by the invention]
By the way, such a conventional camera is capable of recording a still image or the like on an IC memory card, but the hierarchical structure of the recording medium may be changed from an external device such as a PC. There was a problem that it could not be done.
[0005]
Conventionally, the interface section provided in the camera was dedicated only to each specific external device, so if you want to connect multiple types of external devices, you need to have as many interfaces as the number of interfaces. Was an obstacle.
[0006]
The present invention has been made in order to solve such inconveniences of the conventional camera, and reduces the total number of interfaces provided in the camera by providing an interface unit as a structure to which a plurality of types of external devices can be connected, thereby reducing the size of the camera. It is an object of the present invention to provide an electronic camera system which realizes an electronic camera system and realizes an optimum display corresponding to a connected external device to improve user convenience.
[0007]
[Means for Solving the Problems]
An electronic camera system according to an aspect of the invention includes a lens that captures an image of a subject, an imaging unit that photoelectrically converts an image obtained through the lens to obtain an imaging signal, and processes an imaging signal obtained by the imaging unit. An image pickup processing unit that generates image information recordable as compressed data on an information recording medium, a recording unit that records image information processed by the image pickup processing unit on an information recording medium, and a plurality of types of external devices can be connected. An interface unit, display means for displaying a connection state of an external device, and displaying at least one of a mode state such as recording or reproduction, a frame number, and a file processing state; and an external unit connected to the interface unit. Determining means for determining the type of device; and display control for performing display control so as to change the display content on the display means in accordance with the determination result by the determining means And having a stage, a.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0009]
FIG. 1 is an external view of a DSC (digital still camera) 20 according to an embodiment of the present invention. The DSC 20 uses an IC memory card 17 as a recording medium for the image information. One connector is provided for a PC (personal computer) or a modem, which is a plurality of types of external devices having different interfaces (I / Fs) to be applied, and an external I / F connected to the connector is provided. It enables communication via F. The I / F is a device in which two systems or devices are combined and can be shared, or a register shared by a plurality of programs. The I / F includes not only a device but also an interface circuit using an LSI.
[0010]
In the present DSC 20, as shown in FIG. 1, the taking lens 1 for taking in a subject image is provided on the front surface of the camera exterior body 18. An operation switch group 14a to 14f for instructing a control operation, an LCD display unit 13, and a release switch 19 for instructing a photographing operation are provided on the upper surface of the exterior body 18. Further, on the side surface, a video signal output terminal 7, a connector 16 for transmitting and receiving signals to and from a plurality of external devices such as a PC and a modem, and a connector 16 composed of a mini DIN connector or the like and a recording medium. An insertion port 18a of a certain memory card 17 is provided.
[0011]
FIG. 2 is a main block diagram of the control unit of the DSC 20. The DSC records an image signal on the memory card 17 mounted in response to the pressing of the release switch 19 (see FIG. 1). Also, by operating the operation switch groups 14a to 14f described later, an image pickup recording signal of the image file of the designated frame number on the memory card 17 is reproduced, and the video signal is output from the video signal output terminal 7. It is assumed that each control element of the DSC 20 is controlled by the system controller 10.
[0012]
The configuration will be described in detail below. First, at the time of photographing, a subject image is formed on an image pickup device such as a CCD built in an image pickup circuit 2 via a photographing lens 1 and an A / D converter is used as an image signal. 3 is output. Image data digitally converted by the A / D converter 3 is temporarily stored in a VRAM 4 serving as an image memory. Then, the image data in the VRAM 4 is again converted into an analog signal by the D / A converter 5 and output from the video output terminal 7 as a video signal.
[0013]
When image data is recorded on the memory card 17, the image data is read out from the VRAM 4 in block units, compressed by the compression / expansion circuit 7 according to the JPEG (JOINT PHOTOGRAPHICEXPERT GROUP) method, and the like, and the card I / O is transmitted via the bus 12. Input to F11. Therefore, the compressed data is written in a designated area on the memory card 17.
[0014]
On the other hand, at the time of reproduction, first, an UP switch 14c and a DOWN switch 14d described later are operated to designate a frame number and the like. The frame number or the file number is displayed on the LCD display unit 13. Based on the designation, the memory area of the memory card 17 is selected, and the corresponding image data is input to the compression / decompression circuit 7 via the card I / F 11 and the bus 12. Therefore, the image data is subjected to a decompression process and stored in the VRAM 4. The image data is read from the VRAM 4 again, converted into an analog signal by the D / A converter 5 as described above, and input to the video encoder 6. Then, it is encoded by the video encoder 6 and output as a video signal.
[0015]
Further, the DSC 20 has a built-in RS232CI / F15, which is an I / F for communication with external devices, and a connector 16 composed of a mini-DIN connector connectable to a PC or a modem. Have been. The RS 232 CI / F 15 functions as an I / F recognized by an interface recognition unit built in the system controller 10.
[0016]
Table 1 is a table showing input / output voltage levels in the RS232CI / F15. The output voltage range of + 15v to -15v shown in Table 1 is converted into a range of 0 to 5v by a built-in voltage level conversion IC and taken in.
[0017]
[Table 1]
Figure 2004104770
Table 2 is a table showing the relationship between the pin numbers of the RS232CI / F15 and signal names of the JIS standard. In Table 2, DET is "DATA TERMINAL EQUIPMENT" and indicates a terminal, that is, a camera in this case. DEC is "DATA COMMUNICATION EQUIPMENT" and indicates a modem or a camera.
[0018]
[Table 2]
Figure 2004104770
Table 3 shows the pin No. of the signal line of the RS232CI / F15 used for communication with the PC. 6 is a table showing the relationship between the signal name and the like. As described above, at the time of communication with the PC, the I / F is constituted by three signal lines. Note that control lines are added as necessary. For example, ER or RS (see Table 2) is used as the BUSY signal.
[0019]
[Table 3]
Figure 2004104770
Table 4 shows the pin No. of the signal line of the RS232CI / F15 used for communication with the modem. 4 is a table showing signal names and the like. As shown in this table, the I / F is configured in the form of a greater number of lines than the communication lines with the PC. Note that control lines are added as necessary. For example, FG and CI (see Table 2) are added.
[0020]
[Table 4]
Figure 2004104770
FIG. 3 is a system diagram when the PC 22 which is an external device is connected to the connector 16 of the DSC 20. The monitor 21 is a monitor for displaying a reproduction screen of the DSC 20 or file management information. In a state where the PC 22 is connected as described above, usually, the PC 22 often performs communication control such as file management control of the DSC 20 or shooting control.
[0021]
FIG. 4 is an example of a system diagram when a modem 23 as an external device is connected to the connector 16 of the DSC 20. Similarly, the monitor 21 is a monitor such as a playback screen. Further, the modem 23 is communicably connected to a PC 26 via a telephone line 24 and a modem 25. In a state where the modem 23 is connected as described above, the captured image data of the DSC 20 is usually transferred to the PC 26 via the modems 23 and 25 and the telephone line 24 in many cases.
[0022]
FIG. 5 is an enlarged view of the operation switch groups 14a to 14f. In the switch groups, 14a is a power switch button of the camera, and 14b is a recording / reproduction instruction for recording or reproducing. A playback (REC / PLAY) switch button. Further, 14c is an up (UP) switch button for increasing the reproduction / erasure frame designation number by one frame, and 14d is a down (DOWN) switch button for decreasing the reproduction / erasure frame designation number by one frame. Further, 14e is a modem switch (MODEM) switch for giving an instruction to make the I / F function so as to correspond to the connected modem, and 14f is an erase (ERASE) switch button for giving an instruction to delete the recorded image file. is there. However, the ERASE switch is also used as a view (VIEW) switch for performing one-touch reproduction immediately after shooting.
[0023]
FIG. 6 is a diagram showing details of the display unit 13. The display unit 13 includes a display segment "ERASE" which is turned on when the recorded screen data is erased, and a segment "PLAY" which is turned on when the captured screen data is reproduced. ", A segment" MODEM "which lights up when a modem is selected as an external device, a segment" CONNECT "which lights up when a connected modem becomes communicable, a frame number, a file processing state, and the like. It comprises a seven-segment display.
[0024]
FIG. 7 shows an example of the display on the display unit 13. FIG. Is designated by the switches 14c and 14d. Are displayed, and FIG. After specifying “1”, “PLAY” and frame No. during playback are performed. Display state. FIG. 7C shows a “MODEM” display when a modem as an external device is connected to the connector 16 by a cable and the modem is designated. When the DSC 20 turns on the POWER switch 14a, the external I / F is set to a state in which a command from the PC can be received by the interrupt processing of the system controller 10. Therefore, the MODEM switch 14e is turned on to establish communication with the modem.
[0025]
FIG. 8 is a diagram showing a display state of the display unit 13 when the modem 23 is connected and specified. The data transfer procedure of the DSC 20 using the modem 23 will be described with reference to FIG. First, as shown in FIG. 8A, when the modem 23 is selected, connected, and becomes communicable, the segment “CONNECT” blinks. Therefore, the communication is started. First, the telephone number of the other party stored in advance in the system controller 10 is called by using an AT command usually built in the modem. The carrier is transmitted by activating the signal “RS”. Then, the carrier is detected from the partner by the carrier detection signal “CD” shown in Table 4. A signal “CAMERA” is transmitted to confirm the destination. When the confirmation signal "ACK" from the communication destination PC 26 is received, it is determined that the connection has been completed, and "CONNECT" on the display unit is turned on as shown in FIG. The frame number "01" is displayed.
[0026]
If the connection is not completed within a certain period of time, for example, one minute, an error display of “Er” is displayed as shown in FIG. Each of the above displays can also be displayed on the monitor 21.
[0027]
When the connection is completed, the UP switch 14c and the DOWN switch 14d are operated to select a frame number, and an image to be transmitted is displayed on the monitor 21. When the trigger switch 19 is pressed, the image data is transmitted. In the transmission of the image data, the file size is transmitted first, and then the image file is transmitted as binary data. Upon receiving the received data of the file size, the receiving PC 26 stores the received data as a file in the medium. The control of the modem generally uses the "AT command" as described above. Also, the modem can be controlled by using the CCITT standard.
[0028]
Next, each control processing operation of the DSC 20 will be described in more detail using a flowchart.
[0029]
FIG. 9 is a flowchart of the subroutine "reception interruption processing". When the DSC 20 is powered on, the RS232CI / F 15 is set to be communicable with the PC by the system controller 10. Thereafter, the MODEM switch 14e is operated to set the modem mode. In this state, when a transmission signal from the modem 24 is received, an interrupt process is executed by the system controller 10, and a reception signal from the modem 24 is fetched.
[0030]
That is, in the flowchart of FIG. 9, in step S1, it is checked whether or not the current mode is the modem mode. If the mode is the PC mode instead of the modem mode, the process proceeds to step S2, and processing corresponding to the PC command is performed. If the mode is the modem mode, the received data is stored in a modem control buffer in the system controller 10. Processing for this data is executed by a subroutine of modem processing.
[0031]
FIG. 10 is a flowchart of the subroutine "trigger switch processing" when the trigger switch 19 is operated.
[0032]
In this process, in step S5, it is checked whether or not the current mode is the modem mode. If the mode is not the modem mode, the process proceeds to step S6, and it is further checked whether the mode is the recording mode. If the mode is not the recording mode, the present routine ends. If the mode is the recording mode, the process proceeds to step S7 to perform a shooting process. If it is determined in step S5 that the mode is the modem mode, the process proceeds to step S8. Then, the file size of the image data to be transmitted is transmitted, and in step S9, the image data is transmitted, and this routine ends.
[0033]
FIG. 11 is a flowchart of a subroutine "modem switch processing" called when the modem switch 14e is operated.
[0034]
In step S11, it is checked whether the mode is the modem mode. If the mode is the modem mode, the process jumps to step S13, where a subroutine "modem mode release processing" described later is called. If the mode is not the modem mode, the process proceeds to step S12, and the mode is set to a modem mode in which modem communication is possible. In this process, the mode is set by setting the flag indicating the modem mode to “1”. Then, in step S14, the display section 13 blinks the display of “CONNECT”. In steps S15 and S16, the modem is recognized and set. In this process, the signal “ER” in Table 4 is output from the DSC 20 side, and when it is confirmed that the active signal of the signal “DR” has been returned from the modem side, the process proceeds to step S17. If the above confirmation has not been made, the process proceeds to step S22, an error is displayed, and this routine ends.
[0035]
In step S17, a line connection process based on the AT command is performed. In this process, the signal “RS” is output to the modem, and the carrier is output from the modem 23. Then, the signal "CS" shown in Table 4 is detected, and further, the signal "CD" which is a carrier detection signal from the modem is detected. When the completion of the line connection is confirmed in step S18, the process proceeds to step S19. Proceed to. If the completion of the connection is not confirmed, the process proceeds to step S22, an error is displayed, and the present routine ends.
[0036]
In steps S19 and S20, a signal "CAMERA" is transmitted to confirm the other party, and it is checked whether a confirmation signal "ACK" from the communication destination can be received. If the signal “ACK” has been received, “CONNECT” is turned on on the display unit 13 and the routine ends. However, if the acknowledgment signal “ACK” from the communication destination cannot be received within a predetermined time, the process jumps to step S22 to display an error.
[0037]
FIG. 12 is a flowchart of the subroutine "modem mode release processing" called in step S13. The modem mode is cleared in step S31 of this routine, and a signal "COM-END" is transmitted to the other party in step S32. The other party stops transmitting the carrier signal for signal transmission by the signal “COM-END”. If the stop of the carrier is detected in step S33, an AT command is sent to perform a line off process. Then, in step S34, the signal "ER" sent to the modem is turned off, and the modem control ends. Further, in step S35, the display unit 3 is set to display during normal recording or reproduction processing, and this routine ends.
[0038]
As described above, in the present DSC 20, the type of the modem or the PC connected to the connector 16 which is a single connection unit connected to one external I / F is determined by the system controller 10. By recognizing and making the interface of the device mode function, information can be communicated. Therefore, it is possible to provide a highly functional device capable of communicating information with a plurality of external devices and having a reduced size.
[0039]
The DSC 20 is provided with a connector 16 which is one connection unit with an external device, and switches communication between a PC and a modem by operating a modem switch 14e. However, as a modified example, a configuration in which a switch operation section 31a for operating a mode changeover switch is provided above the receiving connector 31 as shown in FIG. 13 can be proposed. A protrusion 32a for pressing the switch operation 31a is provided on a connector 32 of a modem which is one external device applied to this modification, and the switch operation 31a is provided on a connector 33 of a PC which is a second external device. No pressing projection is provided.
[0040]
When the modem connector 32 is connected, the mode switch operating section 31a is turned on to automatically switch to the modem mode. However, when the PC is connected to the connector 32, the mode switch is turned on. The operation is turned off and the mode is switched to the PC mode. As described above, according to the modification, the mode can be switched without performing the manual switching operation.
[0041]
As another modified example, one mode designation signal line of the PC and the modem is provided on the signal line of the connector with the external device, and when any device is connected, the voltage level of the designation signal line is detected. Thus, the mode of the communication device can be selected.
[0042]
In the above example, the normal state after the power is turned on is the PC communication mode. In this state, by connecting a remote control unit or the like to the connector 16 of FIG. Becomes possible. FIG. 14 shows a state in which the connector 35b of the remote control unit 35 is inserted into the connector 16 of the DSC 20, and remote control can be performed in this state.
[0043]
FIG. 15 is a diagram showing an arrangement of data in a memory card 17 which is a recording medium according to an embodiment of the present invention. The data area is composed of an attribute memory for recording attribute information giving basic card compatibility information and a common memory for recording image information, as proposed by JEIDA (Japan Electronic Industry Development Association). .
[0044]
At the top of the common memory, card compatibility information is recorded in the attribute information area. Subsequently, in the boot sector area, since the OS (operating system) of the I / F of the DSC 20 uses DOS, FAT (FILE ALLOCATION TABLE) described later and management area information of a root directory (hierarchical structure) are recorded. . Further, data recording area information is recorded in a chain format in the FAT area, and information on how data is recorded in a data recording area described later is recorded in the root directory area.
[0045]
Subsequently, the data recording area arranged is composed of image files. Data on one frame of image is written in each image file. As shown in FIG. 16, the image file includes a header and image data, and the header records a specification tuple, a data format tuple, a shooting information tuple, a comment tuple, and the like. The specification tuple gives a specification version, a type indicating whether the file is video / audio / control, and a header size. The data format tuple gives the format of the file itself, that is, JPEG, uncompressed, PICT, and other image data holding formats. In the comment tuple, a description of the shooting or the like is recorded. The DSC 20 of this example is characterized in that the comment tuple can be rewritten.
[0046]
The image file recording area stores, in addition to the image data file, an audio file in which audio information corresponding to an image of the image data is recorded, and information on the correspondence between the image file and the audio file corresponding to each other. Control files are also stored. In this control file, all data is recorded in a tuple format. Further, a subdirectory entry is also stored in the image file recording area.
[0047]
FIG. 17 is a diagram showing a data structure of the tuple format. The tuple is composed of a tuple ID representing specified data, a next tuple pointer, and tuple data. The shooting information tuple includes a shooting information ID, a next tuple pointer, date data, aperture data, shutter speed data, white balance setting data, focus position data, and zoom position as shown in FIG. It consists of data and strobe data.
[0048]
The comment tuple is composed of a comment ID, a next tuple pointer (final code), a comment data length, and comment data, as shown in FIG. An area is reserved.
[0049]
Further, as shown in FIG. 20, the control file includes a specification tuple, a comment tuple of a directory in which the file is stored, a reproduction sequence tuple which is reproduction order information, and related information of an image file and an audio file corresponding thereto. And file-related tuples. This control file is stored in the same directory area as the image file, but can also be stored in a subdirectory.
[0050]
The DSC 20 receives various commands from an external device such as a PC and performs respective control operations. The commands received from the PC and the functions thereof are listed in Table 5. These commands are transmitted to the DSC 20 by a transmission signal based on hexadecimal numerical data, for example.
[0051]
[Table 5]
Figure 2004104770
Next, processing operations such as reference, writing, and additional writing of comment data by the DSC 20 will be described. The operation is described by connecting the PC 22 to the DSC 20 as shown in FIG. 3 and writing and appending a comment stored in the header of the image file of the memory card 17 according to an instruction from the PC. The case of performing will be described as an example.
[0052]
First, the PC 22 fetches the directory information of the image file in the memory card 17 and displays the file name on the monitor of the PC 22 as shown in FIG. Therefore, the selection of the file in which the comment is written is made according to the file No. Choose from If NO. 1, the corresponding file DSC00001. The image data of J61 and the current comment are displayed. At this time, the DSC 20 also displays the shooting data and the current comment on the monitor 21 (FIG. 3). Normally, when a memory card having no comment area is used, an inquiry is made as to whether or not to create the area.
[0053]
Therefore, when a comment writing command shown in Table 5 is transmitted from the PC 22 and a comment is input, new comment data is overwritten in the comment area in the header. FIG. 23 shows the overwriting state. If the input comment data capacity is larger than the previously reserved comment area, a warning is issued, and if the area can be extended, it is extended.
[0054]
Further, in the case of shooting by remote control from the PC 22, it is possible to set shooting data from the PC 22 side, and further, to instruct shooting timing and write a comment immediately after shooting from the PC 22 side.
[0055]
The comment reference / change operation will be described with reference to the flowchart of the subroutine "comment reference / change process" in FIG.
[0056]
In steps S40 and S41, the PC 22 receives the directory information of the image file in the memory card 17, and displays the directory information. In step S42, a file number for changing the comment is input. The display at this point is shown in FIG.
[0057]
In step S43, a file corresponding to the input file number is designated. Then, the photographing data and comment data of the file are received in steps S44 and S45, and the photographing data and comment data are displayed in step S46. The display at this point is shown in FIG. In step S47, an add / change comment is input. In step S48, it is checked whether or not the comment has been changed. If there is no change, the present routine is terminated as it is, but if it is to be changed, a comment is written and the present routine is terminated.
[0058]
Next, the operation of performing commented shooting will be described with reference to the flowchart of the subroutine "commented shooting process" in FIG. In this shooting operation, when shooting by remote control from the PC 22, a comment is specified after the shooting data is specified, and then the shooting instruction is issued from the PC 22. Immediately thereafter, a comment is written.
[0059]
That is, in steps S51 and S52, photographing data is input and photographing data is set. In step S53, a comment is input, and in step S54, the presence or absence of a shooting instruction input is checked. If there is a shooting instruction, the process proceeds to step S55 to perform shooting. Further, in step S56, a comment relating to the screen shot immediately before is written, and in step S57, a status signal is read from the DSC 20, and the process proceeds to step S58, where the photographable state of the DSC 20 is checked. Returning to step S55, if shooting is not possible, this routine ends.
[0060]
Next, the command processing operations 2 and 3 used in the communication between the PC and the DSC shown in Table 5 will be described in detail.
[0061]
First, the directory transmission command processing will be described. FIG. 26 is a time chart of a directory transmission command between the PC 22 and the DSC 20 and directory data transmission. A command signal and a directory designation signal, each being a 1-byte signal, are transmitted from the PC 20 to the DSC 22 in accordance with the RS232C standard. In the directory designation signal, 0 indicates the root directory, and other than 0 indicates the subdirectory of the directory entry at the designated position. Then, the DSC 20 receives the signal and transmits the byte number data of the directory data of the maximum number of K bytes and the directory data to the PC 22 by an interrupt process.
[0062]
FIG. 27 shows the configuration of the root directory. The entries 0, 1, 2, 3... Constituting the root directory are frame numbers. Corresponds to the image file in the data area. However, when a subdirectory is created, the corresponding entry is a directory entry for the subdirectory. Then, the subdirectory data is stored in the data area. However, entry 0 of the subdirectory stores its own positional information as a file name ".", And entry 1 stores the positional information of a higher-level directory as a file name "..". Then, directory data is stored after the entry 2.
[0063]
FIG. 28 shows the format of a directory entry composed of 32 bytes. Table 6 is a table showing attribute values and attribute contents.
[0064]
[Table 6]
Figure 2004104770
Next, comment transmission will be described. FIG. 29 is a time chart of a comment transmission command between the PC 22 and the DSC 20, and transmission of comment data. A command signal, which is a 1-byte signal, is transmitted from the PC to the DSC according to the RS232C standard. The DSC receives the signal and transmits byte data of comment data and comment data to the PC by interrupt processing. These processes are executed after the file specification command.
[0065]
FIG. 30 is a flowchart of the comment transmission command processing subroutine of the comment transmission operation. In step S61, the bus 12 is set for memory card access. The head address of the file specified in step S62 is calculated from the start cluster of the directory. A search for a comment tuple is performed in step S63, and the presence or absence of the comment tuple is checked in step S64. As described above, if the comment tuple is not provided on the card due to the recording specification of the memory card, the process jumps to step S68 and transmits a signal "NAK" to notify the PC 22 that no comment tuple is provided. The process proceeds to step S67. After that, a comment tuple is created to make the comment writable, and the comment transmission process is executed again.
[0066]
On the other hand, if a comment tuple has been detected, the process proceeds to step S65. In step S65, the byte number data of the comment tuple is transmitted. Subsequently, comment data is transmitted in step S66. Thereafter, in step S67, the bus 12 is released, and this routine ends.
[0067]
Next, a comment writing operation will be described. FIG. 31 is a time chart for transmitting a comment write command between the PC 22 and the DSC 20 and write comment data. That is, a command signal, a byte number data signal, and a write signal are transmitted from the PC 22 to the DSC 20 in accordance with the RS232C standard. The DSC 20 receives the signal and writes comment data by interrupt processing. In this case, there is no transmission from the DSC 20 to the PC 22.
[0068]
FIG. 32 is a flowchart of a subroutine "comment write command processing" of the command write operation. In step S71, a signal of the number of bytes data is received, and in step S72, the bus 12 is set for memory card access. In step S73, the head address of the specified file is calculated from the start cluster of the directory. In step S74, a search for a comment tuple is performed, and in step S75, the presence or absence of the comment tuple is checked. If no comment tuple is provided in the memory card, the process jumps to step S80. If a comment tuple has already been provided, the process proceeds to step S76.
[0069]
In step S76, it is checked whether the number of bytes of the currently prepared comment tuple is the number of writable bytes. If the number of bytes is insufficient, the process jumps to step S79, transmits a non-writable signal "NAK" to the PC 22, and proceeds to step S78. On the other hand, if the number of bytes is not insufficient, the flow advances to step S77 to sequentially overwrite the received tuple data with the comment data. Then, in step S78, the bus 12 is released, and this routine ends.
[0070]
When jumping to step S80, a comment tuple is generated at the end of the tuple, and the size of the generated tuple area is checked in step S81. If so, the process jumps to step S77. If the size of the area is insufficient, the process proceeds to step S82, where a signal “NAK” is transmitted to the PC 22 side, and the process proceeds to step S78. If the generated comment tuple area is sufficient, the process proceeds to step S77, where the bus 12 is released in step S78, and this routine ends.
[0071]
In the DSC 20 according to the embodiment of the present invention, the system controller 10 as the hierarchical data processing unit performs a process of changing the hierarchical data structure management area of the memory card 17 as the information recording medium via an external I / F 15 by an external device. I do. Hereinafter, an operation of changing a directory which is a management area by an operation of the PC 22 connected to the DSC 20 will be described.
[0072]
FIG. 33 shows a menu screen of the PC 22 at the time of change processing. For example, when a subdirectory is created, the key No. Select 1. The screen display is as shown in FIG. Then, when a comment accompanying the generation of the subdirectory is input using a key of the PC 22 and “Y” is input by a key operation, a subdirectory is generated.
[0073]
In the menu screen display state of FIG. When the file movement of No. 2 is selected, a file name and a subdirectory name are displayed on the display screen as shown in FIG. 35, and a state is selected in which file is to be moved. At this time, as shown in FIG. 35, the image file DSC00001. J6I and DSC00003. J6I is recorded. Further, <SDIR02> is included as a subdirectory, and DSC02001. J6I is stored. Therefore, for example, “1” is input by a key operation, and the image file DSC00001. An instruction to move J6I is given. Then, as shown in the display of FIG. 36, the process is in a state of waiting for input of a destination of the file.
[0074]
When "2" is input by a key operation as a destination of the file, as shown in FIG. 37, the image file DSC00001. J6I is moved to the subdirectory <SDIR02>. If the destination is the root directory, "R" is input as a key input.
[0075]
The operation of the PC 22 in the subdirectory creation process will be described with reference to the flowchart of the subroutine "subdirectory" in FIG. 38. First, in step S91, a subdirectory comment input process is performed. Send to A comment is written in step S93, the subdirectory is displayed in step S94, and the routine ends.
[0076]
The operation of the PC 22 in the file transfer process will be described with reference to the flowchart of the subroutine "file transfer" in FIG. 39. First, a directory is displayed in step S101, and designation of a file to be moved is performed in step S102. In step S103, a destination directory is input. In step S104, a directory move command is transmitted to the DSC 20. In step S105, the moved new directory is received. In step S106, the new directory is displayed, and the routine ends.
[0077]
Next, the process on the DSC side for creating a subdirectory will be described in detail. FIG. 40 is a time chart of a communication signal when a subdirectory is created between the PC 22 and the DSC 20, and a subdirectory generation command is transmitted from the PC 22 to the DSC 20. On the DSC side, the earliest empty directory in the directory is searched, and a subdirectory is created there.
[0078]
FIG. 41 is a flowchart of a subroutine of the subdirectory generation command processing. In step S111, the bus 12 is set for memory card access. In step S112, an empty entry in the directory is searched. Then, in step S113, the presence or absence of the empty entry is checked. If there is no empty entry, the process jumps to step S119, transmits a signal "NAK" to the PC 22, and proceeds to step S118 described later. If there is an empty entry, the process proceeds to step S114 to search for an empty area of the size of the directory. If there is no free space, the process proceeds to step S119. If there is a free space, the process proceeds to step S116 to register a subdirectory. In step S117, the control file is registered in the subdirectory, and the process proceeds to step S118, where the bus 12 is opened, and the present routine ends.
[0079]
Next, the processing of the DSC in the file transfer operation will be described in detail. FIG. 42 is a time chart of a communication signal when a file is moved between the PC 22 and the DSC 20. The PC transmits a file move command to the DSC, moves file data, and further transmits move destination directory data. The transfer file data is 2-byte data up to the subdirectory, and the transfer destination directory data is 1-byte data because it is only the root directory. The DSC 20 fetches these data and registers the transfer file in the transfer destination directory.
[0080]
FIG. 43 is a flowchart of a subroutine of the file transfer process. In this routine, first, transfer file data is received in step S121, and transfer destination directory data is received in step S122. In step S123, the bus 12 is set for card access. Then, the directory entry of the transfer file is read. In step S125, a search is made for a free entry in the destination directory. In step S126, the presence or absence of a free entry is checked. If there is no free entry, the process jumps to step S132, transmits a signal "NAK" to the PC 22, and proceeds to step S131 described later. .
[0081]
If there is an empty entry, the flow advances to step S127 to check for duplicate file names. If duplication is confirmed in step S128, the process jumps to step S132. If not, the process proceeds to step S129 to read the data of the entry read in the empty entry. Then, in step S130, an erasure mark is written in the original entry, and in step S131, the bus 12 is released, and this routine ends.
[0082]
Note that the DSC 20 can also execute processes such as changing a file name and deleting a file as built-in functions inside the camera, in addition to generating a subdirectory and moving a file.
[0083]
In this manner, the present embodiment enables the management area of the medium to be changed by externally received data.
[0084]
Next, the one-touch playback operation of the shooting screen in the DSC 20 will be described. In this one-touch playback, when the ERASE switch 14f is pressed after shooting, the screen shot immediately before is played.
[0085]
Conventionally, in an electronic still camera having a viewfinder, an operation of storing a shooting screen in a field memory, checking the screen with a viewfinder, and writing the screen to a recording medium has been performed. However, these operations are complicated and inconvenient. The one-touch reproduction of the photographing screen in the DSC 20 is a process that solves the above-described problem, and it is easy to confirm a photographed still image, and the number of switches mounted on the DSC 20 is reduced.
[0086]
FIG. 44 is a flowchart of a subroutine "trigger switch process" of a photographing process operation by a trigger switch operation by the DSC 20.
[0087]
In step S141, it is checked whether the write protection has been released for the memory card attached to the DSC, whether there is a free space for recording image data, whether the format is applicable, and the like. If it is determined that recording is impossible, the process jumps to step S150 to perform a warning process. If it is determined that recording is possible, the process proceeds to step S142, and a shooting process such as capturing image data is executed. Then, the process proceeds to step S143, where the image data is compressed and recorded on the memory card 17.
[0088]
At the step S144, the recording frame No. Is saved in the RAM of the system controller 10. In step S145, header data such as photographing time and photographing data are written in the header file. In step S146, a file closing process is performed to write the data of the FAT and directory of the memory card 17 according to the recording state, and the process proceeds to steps S147 and S148. Therefore, the subsequent directory search and FAT search are performed for the next photographing record. Then, in step S149, it is checked whether a recordable memory area remains in the memory card 17, and if recording is impossible, the process jumps to step S151 to display a card full. If recording is possible, this routine is terminated.
[0089]
Next, the operation of reproducing the image captured and recorded immediately before the ERASE switch 14f is pressed will be described with reference to the flowchart of the subroutine "ERASE switch processing" in FIG.
[0090]
In step S161, it is determined whether the current mode is the recording mode. If the mode is not the recording mode, the process returns. If it is in the recording mode, it is checked in step S162 whether or not the recording has been completed. This check is based on the recording frame No. in step S144 in FIG. It is checked whether or not the save process has been performed. If it has been recorded, the process proceeds to step S163. If it has not been recorded, the process jumps to step S168, performs a mute process for setting the screen to a black or blue screen, and proceeds to step S166 described later.
[0091]
In step S163, the frame number saved in step S144 in the photographing process of FIG. Is read, and in step S164, the reproduction frame number is read. Set. In the step S165, the frame NO. , Recording date, etc., and designated frame No. Execute playback of the corresponding image. Then, the process proceeds to step S166, and waits for the ERASE switch 14f to be turned off, and then proceeds to step S167. In step S167, an image capturing screen captured via the photographing lens is displayed, and the present routine ends.
[0092]
In the process shown in FIG. Is stored, by using the ERASE switch 14f and the UP switch 14c or the DOWN switch 14d together, it is also possible to reproduce the recording screen photographed before that.
[0093]
Next, an operation of the DSC 20 for erasing all the recorded data in the memory card will be described. The full erasing operation has a mode in which a memory check is performed at the time of erasing and a mode in which the memory check is not performed.
[0094]
2. Description of the Related Art Conventionally, in an electronic still camera using a memory card, a magneto-optical disk, or a floppy disk as a recording medium, for example, before recording image data on a memory card, initialization, that is, memory check and management of the memory card are performed. A data writing process and a total erasing process for erasing all recorded data are required.
[0095]
In order to improve the operability of the camera, the entire erasing and initialization operations are processed as one continuous operation. However, the memory check of the initialization operation requires a long time. Therefore, a long waiting time is required every time the entire erasing process is performed. In addition, there is naturally a case in which it is desired to retain the previous format even when all erasures have been performed, which is inconvenient.
[0096]
In the entire erasure process by the DSC 20, the necessary operations for initialization and all erasure can be performed by a simple operation, and the format of the initialization can be specified by the user.
[0097]
In the attribute memory or the common memory in the data arrangement of the memory card 17 shown in FIG. 15, attribute information is recorded in the tuple format shown in FIG. 17, and Tables 7 and 8 show the tuple ID and It is the table which showed the abbreviation and the meaning. The tuple ID and the like are based on “IC Memory Card Guidelines Ver. 4.1” proposed by JEIDA. It is assumed that a basic tuple relating to compatibility is arranged in the attribute memory, and a tuple relating to compatibility of higher-level data is arranged in the common memory.
[0098]
[Table 7]
Figure 2004104770
[Table 8]
Figure 2004104770
FAT and directory management information are recorded in the boot sector arranged following the attribute information area of the common memory in the data arrangement of the memory card 17, and Table 9 shows the format of the boot sector. This format is also based on “IC Memory Card Guidelines Ver. 4.1” proposed by JEIDA. In the boot sector, management information of DOS, that is, FAT and directory management information, as described above, are stored in the range indicated as BPB following the jump instruction to the boot code, each manufacturer, etc. in the first part. ing. By reading this data, the FAT and directory can be interpreted. This data has a certain degree of freedom.
[0099]
[Table 9]
Figure 2004104770
FIG. 46 is a diagram showing a configuration of the FAT recorded following the boot sector. In the recording area of the FAT data, each entry is divided corresponding to a cluster. For example, each entry corresponds to two clusters, three clusters,..., And the final cluster, respectively. Each entry has a 12-bit configuration. Note that the first two entries 0 and 1 are reserved for the system. The data structure of the FAT has a chain structure in which the used clusters are sequentially specified starting from the entry specified by the directory. The end of the chain ends with OFFFH (H indicates hexadecimal). The entry data 0 indicates an unused state.
[0100]
Next, the entire erasing operation will be described with reference to the state of the display screen.
[0101]
When the entire erasing operation of the memory card 17 is performed, the management area is checked, and if a known format has been performed, only the erasing of the file is performed. If a known format has not been performed, a memory check and formatting are performed.
[0102]
FIG. 47 shows a display screen of the display unit 13 or the monitor when all erasure is performed in a state where an unformatted memory card requiring formatting is mounted. In this case, the erasing mode described later is “mode A”. In the erasing operation, first, the ERASE switch 14f and the UP switch 14c are multiple-pressed to set the all erasing preparation mode. When the "A mode" screen of FIG. “ERASE” flashes. When the trigger switch 19 is pressed, the memory card is confirmed to be unformatted, and initialization for performing a memory check and formatting is started.
[0103]
FIGS. 47B and 47C show display screens during the initialization process. Since a long time is required for the memory check, the entire memory capacity of the memory card is divided into 64 Kbyte blocks, and during the memory check operation, unprocessed data is processed as shown in FIGS. 47B and 47C. The number of blocks is counted down, and the number of remaining blocks is displayed, for example, 16, 15, or the like. Therefore, the initialization ends when the number of remaining blocks becomes 00 as shown in FIG.
[0104]
If the same operation is performed when a formatted memory card is inserted, the all-erase preparation state is set, and the display of FIG. 47A is made. When the trigger switch 19 is pressed, the format of the memory card is checked. If it is detected that the memory card has been formatted, only the data stored in the management area is erased, and the entire erasure is completed. Then, the end display of FIG. 47D is immediately displayed. Therefore, this processing operation is completed in a short time.
[0105]
Next, the operation of selecting the erase mode will be described. The selected erasing mode includes "A mode", "B mode", and "C mode" as shown in Table 10. The reason why several erasing modes are required is that, depending on the type of format, it is possible to support various formats such as one in which attribute information of the common area of the memory card is not written.
[0106]
[Table 10]
Figure 2004104770
That is, the “A mode” is a mode in which the entire erasing operation described in FIG. 47 is performed. For an unformatted memory card, the memory check and the writing of the management area are executed, and the formatted memory is written. Only the recorded data in the management area is erased from the card. In the “B mode” erasing operation, the memory check and the writing of the management area are performed regardless of the format. In the “C mode” erasing operation, when writing in the management area, writing of attribute information of the common memory is not performed. These modes are selected by repeatedly pressing the UP switch 14c while pressing the ERASE switch 14f.
[0107]
FIG. 48 shows the display unit 13 or the display screen of the monitor when the erase mode is selected. FIGS. 48 (A), (B) and (C) show the UP switch 14c while pressing the ERASE switch 14f. Is a display screen when "A mode", "B mode", and "C mode" of the erasing mode are repeatedly selected by repeatedly pressing. When each mode is designated, "ERASE" display blinks. Further, when the UP switch 14c is pressed, the mode returns to the reproduction mode, and the display screen at the time of normal reproduction is displayed as shown in FIG.
[0108]
FIG. 49 is a flowchart of a subroutine "UP switch process" of a process of pressing the ERASE switch 14f and the UP switch 14c to select the mode. When this routine is called in response to the pressing of the UP switch 14c, the on / off state of the ERASE switch 14f is checked in step S171. If the ERASE switch 14f is off, the routine returns from this routine. If it is on, the process proceeds to step S172. Then, it is checked whether the memory card is erasable. This check is performed to determine whether or not the memory card is write-protected, and whether or not the type of the memory card, for example, an I / O card or the like, on which attribute information that prohibits access is recorded. If erasure is not possible, an error is displayed on the display unit 13 or the monitor as shown in FIG. 50, and this routine ends. If erasure is possible, the process proceeds to step S173.
[0109]
In the step S173, it is checked whether or not the all erasure preparation mode has already been entered. If the mode is not the all erasure preparation mode, the all erasure preparation flag is set in step S174, and "ERASE" is blinked in step S175, and "-A" is displayed. Thereafter, if the UP switch 14c has not been pressed, a 5-second timer is set in step S175, and this routine ends. If it is determined in step S173 that the current mode is the all erasure preparation mode, the flow jumps to step S177 to increment the erasure mode index corresponding to each of the erasure modes. Then, the erasure mode index is checked in step S178. If the erasure mode is already in the "C mode", the all erasure preparation flag is cleared in step S179, and the "ERASE" display is turned off in step S180. Return from this routine.
[0110]
Next, a subroutine "trigger switch processing" for erasing by operating the trigger switch 19 will be described with reference to the flowchart in FIG.
[0111]
In steps S191, 192, and 193, it is determined whether the all erasure preparation mode is "A mode", "B mode", or "C mode", and the process jumps to steps S196, 197, and 198, respectively, and a subroutine described later is performed. Call "all erase A mode process", "all erase B mode process", and "all erase C mode process". If the mode is not any of the above modes, on / off of the ERASE switch 14f is checked in step S194. If it is off, this routine ends. If it is on, the process proceeds to step S195, and a one-frame erasing process described later is called. After executing one frame erasure, this routine ends.
[0112]
FIG. 52 is a flowchart of the subroutine "all erasing A mode processing" called in step S196. When this subroutine is called, the "ERASE" display is turned on in step S201, and it is checked in step S202 whether erasure is possible. This process is the same check as the process of step S172 in FIG. 49, and is a process of confirming the presence / absence of write protection. If the erasure is not possible, the process jumps to step S208, displays an error on the display unit 13 or the monitor (see FIG. 50), gives a warning by a buzzer, and ends this routine.
[0113]
If erasing is possible, the process proceeds to step S203, where the boot sector is checked. That is, if the data of the boot sector is known, the memory check is unnecessary, and only the management information needs to be rewritten, and the process proceeds to step S204. However, if the boot sector check determines that the boot sector is not known or is unformatted, the process jumps to step S209 to perform a memory check, and takes a long time to perform a memory check or the like. Is performed.
[0114]
In step S204, the FAT chain data is cleared, and in step S205, data 0 is written at the head of the directory entry. Then, the process proceeds to step S206, in which the display of the end of erasing is displayed, and in step S207, the display unit 13 and the monitor are returned to the normal display state, and this routine ends.
[0115]
When the process proceeds to step S209, the memory capacity of the card is checked. In this inspection, the memory capacity data recorded in the device information tuple is read. If the data is not recorded, the memory is inspected to determine the memory capacity. Then, in step S210, the total memory capacity is divided by, for example, 64 Kbytes, and the value of the quotient is displayed as the unchecked remaining amount. In step S211, a memory check is performed, and the remaining memory amount for the unchecked is displayed in units of 64 Kbytes. The memory check is an operation of sequentially writing the values 55H and AAH every 64 Kbytes, reading the write data, and checking whether the values match. The process is continued until the remaining amount becomes zero. Thereafter, in steps S212 to S215, writing of data such as the attribute information, the boot sector, the FAT, and the root directory is executed to complete the entire erasure, and the flow proceeds to step S206. The attribute information and other write data have different data values depending on the memory capacity of the memory card.
[0116]
FIG. 53 is a flowchart of a subroutine "all erase B mode processing" called in step S197 of FIG. In this subroutine, the "ERASE" display is turned on in step S221, and it is checked in step S222 whether erasure is possible. If erasure is not possible, the process jumps to step S232 to display an error, and ends this routine. If erasing is possible, the process proceeds to step S223 and subsequent steps. The processing from step S223 to S231 is the same as the series of erasing operations in steps S209 to S215 and steps S206 and S207 in FIG.
[0117]
FIG. 54 is a flowchart of a subroutine "all erase C mode processing" called in step S198 of FIG. The processing shown in steps S241 to S251 in this subroutine executes the same processing as the above-described "all erasure B mode processing" subroutine in FIG. 53 except that the writing of the attribute information in step S226 is performed.
[0118]
FIG. 55 is a flowchart of a subroutine "single frame erasing process" called in step S195 of FIG. In this subroutine, it is checked in step S261 whether erasure is possible. If erasure is not possible, the process jumps to step S266 to display an error, and ends this routine. If erasing is possible, the process proceeds to step S262 and subsequent steps.
[0119]
In step S262, the "ERASE" display is turned on, and in step S263, 0E5H indicating that the frame is an erased frame is written at the head of the directory entry of the frame being reproduced. In step S205 in FIG. 52, 0 is written in the directory entry, which indicates that the directory and the subsequent directories are unused. In the case of the one-frame erasing process, 0E5H is written to record that one frame is to be erased. Further, in step S264, the FAT chain indicated by the directory entry pointer is cleared to zero. Then, the process proceeds to step S265 to display the end of erasure, returns the display unit 13 and the monitor to the normal display state in step S266, and ends the present routine.
[0120]
FIG. 56 is a diagram showing the head of the directory entry from which one frame has been erased in step S263. In this way, the head of the directory entry of the fourth frame is written with 0E5H, indicating that the frame has been erased independently. Since 00H has been written in the sixth frame, unrecorded data is recorded thereafter. It is in the state. In this way, it is possible to identify a file erased on a frame basis and a file that has not been recorded thereafter. Further, it is possible to write 00H at the head of the directory entry and quickly set the directory entry and subsequent portions to the unrecorded state.
[0121]
In the above example, erasing has been described. However, the erasing operation includes two operations of formatting the medium and erasing the data. The function of selecting one of the operations has been described. In the examples up to this point, an example has been described in which, when an unformatted card is inserted, the medium is formatted by the user performing an erasing operation, so that the medium can be used.
[0122]
Therefore, for a user unfamiliar with the concept of format, the card format is checked when the card is inserted, and if the card is not formatted, a warning is given to that effect. For example, formatting is performed by operating the ERASE switch. Is also possible. This process is shown in the flowchart of FIG.
[0123]
Note that “DOS formatted” described in the flowchart indicates a state in which the attribute information, boot sector, FAT, and directory are correctly written, and “DSC formatted” indicates that a necessary control file is written. Indicates the state that has been removed. In addition, a format switch may be separately provided to execute the format, or may be shared by an ERASE switch or the like as described above.
[0124]
【The invention's effect】
Advantageous Effects of Invention According to the present invention, the interface section is configured to be connectable to a plurality of types of external devices, the total number of interfaces provided on the camera is reduced, the size of the camera is reduced, and an optimal display corresponding to the connected external device is realized. And an electronic camera system that improves the convenience of the user.
[Brief description of the drawings]
FIG. 1 is an external view of a DSC (digital still camera) that is a camera according to an embodiment of the present invention.
FIG. 2 is a main block configuration diagram of a control unit of the DSC in FIG. 1;
FIG. 3 is a system diagram when a PC (personal computer) is connected to the DSC of FIG. 1;
FIG. 4 is a system diagram when a modem is connected to the DSC in FIG. 1;
FIG. 5 is a layout diagram of a group of operation switches of the DSC of FIG. 1;
FIG. 6 is a detailed view of a display section of the DSC of FIG. 1;
7A and 7B are display examples of the display unit of the DSC shown in FIG. 1, wherein FIG. (B) shows the above frame number. (C) shows the display state when the image is reproduced, and (C) shows the display state when the modem is connected.
8A and 8B are display examples when a modem is connected on the display unit of the DSC in FIG. 1, wherein FIG. 8A shows a display state when a modem is connected and selected, and FIG. The display state (C) shows the display state at the time of poor connection.
FIG. 9 is a flowchart of a subroutine “reception interrupt processing” called at the time of communication processing with the external device of the DSC of FIG. 1;
FIG. 10 is a flowchart of a subroutine “trigger switch process” called when a trigger switch is operated in the DSC of FIG. 1;
FIG. 11 is a flowchart of a subroutine “modem switch process” called when a modem switch is operated in the DSC of FIG. 1;
FIG.
12 is a flowchart of a subroutine "modem mode release processing" called in the subroutine "modem switch processing" of FIG.
FIG. 13 is a perspective view of a modification of the connector section of the DSC of FIG. 1;
FIG. 14 is an external view in a state where a remote control unit is connected to the connection portion of the DSC in FIG. 1;
FIG. 15 is a data layout diagram of a memory card applied to the DSC of FIG. 1;
FIG. 16 is a diagram showing a detailed configuration of an image file in the data arrangement of FIG. 15;
FIG. 17 is a data configuration diagram of a tuple format of management information in a memory card applied to the DSC of FIG. 1;
FIG. 18 is a configuration diagram of a shooting information tuple in a memory card applied to the DSC of FIG. 1;
FIG. 19 is a configuration diagram of a comment tuple in a memory card applied to the DSC of FIG. 1;
FIG. 20 is a configuration diagram of control file data in a memory card applied to the DSC of FIG. 1;
FIG. 21 is a display screen at the time of selecting a target file when changing a comment and moving a file of the memory card of the DSC of FIG. 1;
FIG. 22 is a display screen of comment data in a comment change process of the memory card of the DSC of FIG. 1;
FIG. 23 is a display screen when comment data of the DSC memory card of FIG. 1 is additionally recorded.
FIG. 24 is a flowchart of a subroutine “comment reference / change processing” called at the time of comment reference / change processing in the DSC of FIG. 1;
FIG. 25 is a flowchart of a subroutine “photographing with comment” called during the photographing with comment in the DSC of FIG. 1;
FIG. 26 is a time chart of a communication signal at the time of transmitting directory information in the communication processing between the DSC and the PC in FIG. 1;
FIG. 27 is a diagram showing a configuration of a root directory of the memory card of the DSC of FIG. 1;
FIG. 28 is a view showing a format of a directory entry of the memory card of the DSC of FIG. 1;
FIG. 29 is a time chart of a communication signal at the time of transmitting comment information in the communication processing between the DSC and the PC in FIG. 1;
FIG. 30 is a flowchart of a subroutine “comment transmission command processing” called at the time of comment transmission processing in the DSC of FIG. 1;
FIG. 31 is a time chart of a communication signal at the time of writing a comment in the communication processing between the DSC and the PC in FIG. 1;
FIG. 32 is a flowchart of a subroutine “comment write command processing” called at the time of comment write processing in the DSC of FIG. 1;
FIG. 33 is a selection display screen when the management information change process is performed in the DSC in FIG. 1 as the camera according to an embodiment of the present invention.
FIG. 34 is a display screen when a subdirectory creation process is selected in the management information change process in the DSC of FIG. 1;
FIG. 35 is a display screen when a file is selected in the subdirectory creation processing in the DSC of FIG. 1;
FIG. 36 is a display screen for selecting a file transfer destination when a file transfer process is selected in the management information change process in the DSC of FIG. 1;
FIG. 37 is a display screen showing a file moving state in the file moving process in the DSC of FIG. 1;
FIG. 38 is a flowchart of a subroutine “create subdirectory” called during the subdirectory creation process of the DSC in FIG. 1;
FIG. 39 is a flowchart of a subroutine “file move” called at the time of the file move process of the DSC in FIG. 1;
FIG. 40 is a time chart of a communication signal when a subdirectory is created in the communication processing between the DSC and the PC in FIG. 1;
FIG. 41 is a flowchart of a subroutine generation command process called when creating a subdirectory in FIG. 40;
FIG. 42 is a time chart of a data communication signal during a file transfer operation in the communication processing between the DSC and the PC in FIG. 1;
FIG. 43 is a flowchart of a subroutine “file move process” called at the time of the file move process of FIG. 42;
FIG. 44 is a flowchart of a subroutine “photographing process” of the photographing process called when the trigger switch of the DSC of FIG. 1 is operated.
45 is a flowchart of a subroutine "erase switch processing" of a frame reproduction operation called when the DSC ERASE switch of FIG. 1 is operated.
FIG. 46 is a view showing a configuration of an FAT in a common memory of a memory card applied to the DSC of FIG. 1;
FIG. 47 shows a display screen in the memory card recording data erasing process “A mode” in the DSC of FIG. 1, wherein (A) shows a mode type display state, and (B) and (C) show erasing processes in progress. (D) shows the display state at the end of erasing.
48A and 48B show display screens when the erasing processing mode of memory card recording data in the DSC of FIG. 1 is selected, wherein FIG. 48A shows a display state when "A mode" is selected, and FIG. 48B shows a display state when "B mode" is selected. (C) shows the display state when "C mode" is selected, and (D) shows the state returned to the normal display state after erasing is completed.
FIG. 49 is a flowchart of a subroutine “UP switch processing” of an erase mode selection processing called by an UP switch operation in the DSC of FIG. 1;
FIG. 50 is a display screen when it is determined in the above-described subroutine “UP switch processing” that erasing is impossible.
FIG. 51 is a flowchart of a subroutine “trigger switch process (erase mode selection)” of an erase mode selection process called by a trigger switch operation in the DSC of FIG. 1;
FIG. 52 is a flowchart of a subroutine “all erase A mode process” of the erase process in the DSC of FIG. 1;
FIG. 53 is a flowchart of a subroutine “all erase B mode process” of the erase process in the DSC of FIG. 1;
FIG. 54 is a flowchart of a subroutine “all erase C mode process” of the erase process in the DSC of FIG. 1;
FIG. 55 is a flowchart of a subroutine “1 frame erasing process” of the erasing process in the DSC of FIG. 1;
FIG. 56 is a view showing an example of head data of each directory entry when a file is erased by the one-frame erasing process in the DSC of FIG. 1;
FIG. 57 is a flowchart of a subroutine “Process at Card Insertion” when a format check process is performed when a card is inserted in the DSC of FIG. 1;
[Explanation of symbols]
10 System controller (hierarchical data processing unit)
15 RS232CI / F (interface unit)
16 Connector 17 Memory card (information recording medium)
20 DSC (camera)
22 PC (external device)
23 Modem (external device)
31 Connector

Claims (1)

被写体を撮像するレンズと、
前記レンズを介して得られた画像を光電変換して撮像信号を得る撮像手段と、
前記撮像手段で得られた撮像信号を処理して情報記録媒体に圧縮データとして記録可能な画像情報を生成する撮像処理手段と、
前記撮像処理手段で処理された画像情報を情報記録媒体に記録する記録手段と、
複数種類の外部機器を接続可能なインタフェース部と、
外部機器の接続状態を表示すると共に、記録あるいは再生等のモード状態、コマ番号、ファイル処理状態のうちの少なくとも1つを表示可能な表示手段と、
前記インタフェース部に接続された外部機器の種類を判別する判別手段と、
前記判別手段での判別結果に対応して前記表示手段での表示内容を異ならせるべく表示制御を行う表示制御手段と、
を有することを特徴とする電子カメラシステム。
A lens for imaging the subject,
Imaging means for photoelectrically converting an image obtained through the lens to obtain an imaging signal;
An imaging processing unit that processes an imaging signal obtained by the imaging unit to generate image information recordable as compressed data on an information recording medium;
Recording means for recording the image information processed by the imaging processing means on an information recording medium,
An interface unit that can connect multiple types of external devices,
Display means for displaying a connection state of the external device and displaying at least one of a mode state such as recording or reproduction, a frame number, and a file processing state;
Determining means for determining the type of the external device connected to the interface unit;
Display control means for performing display control so as to change the display content on the display means in accordance with the result of the determination by the determination means;
An electronic camera system comprising:
JP2003206982A 2003-08-08 2003-08-08 Electronic camera system Pending JP2004104770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003206982A JP2004104770A (en) 2003-08-08 2003-08-08 Electronic camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003206982A JP2004104770A (en) 2003-08-08 2003-08-08 Electronic camera system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5285451A Division JPH06233226A (en) 1993-11-16 1993-11-16 Camera

Publications (1)

Publication Number Publication Date
JP2004104770A true JP2004104770A (en) 2004-04-02

Family

ID=32290641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003206982A Pending JP2004104770A (en) 2003-08-08 2003-08-08 Electronic camera system

Country Status (1)

Country Link
JP (1) JP2004104770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250932A (en) * 2007-03-30 2008-10-16 Toshiba Corp Information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250932A (en) * 2007-03-30 2008-10-16 Toshiba Corp Information processor

Similar Documents

Publication Publication Date Title
US7457827B2 (en) Information file recording apparatus
JP3614880B2 (en) Digital camera
US20070109427A1 (en) Electronic imaging apparatus
US8854479B2 (en) Information processing apparatus and method
EP2247103A1 (en) Image capture device and image capture system
KR20080060155A (en) Information processing apparatus, information processing method, and program
US6771889B1 (en) Data storage based on serial numbers
JPH06197308A (en) Electronic still camera
JP2002016865A (en) Image transmitting and apparatus method therefor
JPH06233226A (en) Camera
JP3413228B2 (en) camera
JP2009020876A (en) File management device, file transfer method, and imaging apparatus
JP2004104770A (en) Electronic camera system
JP2004056814A (en) Electronic camera system
JP2005117487A (en) Image storing device, imaging device, image photography storing system, image storing method, photographed data transferring method, image photography storing method, and program
JP2004064778A (en) Electronic camera
JP2004056815A (en) Electronic camera system
JPH06225252A (en) Camera
KR20000063020A (en) Digital camera
JPH06225194A (en) Camera
US7953733B2 (en) Recording/playback apparatus, recording/playback method, program, and storage medium
JP3119398B2 (en) Information signal processing device
JPH06217183A (en) Camera
US20060051069A1 (en) Recording and reproducing device and method and program thereof
JP2005175957A (en) Image management device, digital camera, and image management method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060404