JP4805532B2 - Device equipment - Google Patents

Device equipment Download PDF

Info

Publication number
JP4805532B2
JP4805532B2 JP2003202807A JP2003202807A JP4805532B2 JP 4805532 B2 JP4805532 B2 JP 4805532B2 JP 2003202807 A JP2003202807 A JP 2003202807A JP 2003202807 A JP2003202807 A JP 2003202807A JP 4805532 B2 JP4805532 B2 JP 4805532B2
Authority
JP
Japan
Prior art keywords
mode
function
command
digital camera
printer
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.)
Expired - Fee Related
Application number
JP2003202807A
Other languages
Japanese (ja)
Other versions
JP2005049926A (en
Inventor
健一郎 綾木
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2003202807A priority Critical patent/JP4805532B2/en
Publication of JP2005049926A publication Critical patent/JP2005049926A/en
Application granted granted Critical
Publication of JP4805532B2 publication Critical patent/JP4805532B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はデバイス機器に係り、特に接続されるホスト機器に応じて通信モードを切り替えることにより、そのホスト機器に応じた機能を提供可能なデバイス機器に関する。
【0002】
【従来の技術】
従来よりUSBを用いてデジタルカメラとパーソナルコンピュータ(PC)とを接続し、デジタルカメラに記録されている画像データをPCに取り込むことが行なわれている。また、近年ではUSBを用いてデジタルカメラとプリンタを直接接続し、画像データをデジタルカメラから直接プリンタに出力して、プリント等することも行なわれている(いわゆる、PictBridge)。
【0003】
ところで、デジタルカメラをPCに接続する場合とプリンタに接続する場合とではコマンド形式が異なり、デジタルカメラをPC又はプリンタに接続する場合には、接続先の機器に応じた通信モードにカメラの通信モードをあわせる必要がある。たとえば、デジタルカメラをPCに接続する場合は、カメラの通信モードをPCモードに設定し、プリンタに接続する場合は、通信モードをダイレクトプリントモードに設定して、接続する必要がある。そして、従来、このデジタルカメラの通信モードの切り替えはセットアップメニューあるいはモード切替スイッチによってユーザが手動で行なっていた(たとえば、特許文献1)。
【0004】
また、特許文献2には、コマンド形式、通信方式の異なるカメラを映像信号・制御信号切り替え装置を介してPC等に接続することにより、複数台のカメラをコントロール可能にすることが提案されている。
【0005】
【特許文献1】
特開2002−305677号公報
【0006】
【特許文献2】
特開平10−66059号公報
【0007】
【発明が解決しようとする課題】
しかしながら、従来のデジタルカメラのように、通信モードの切り替えをユーザが手動で行なうと、変え間違いや変え忘れを起こしやすいという欠点があった。また、セットアップメニューを用いてカメラの通信モードを設定する場合には、通信モードの切り替えに手間がかかるという欠点もあった。
【0008】
一方、特許文献2のように、映像信号・制御信号切替え装置を介してPC等に接続する方式では、別途映像信号・制御信号切替え装置を用意しなければならず、システムが大掛かりになるという欠点がある。
【0009】
本発明は、このような事情に鑑みてなされたもので、接続するホスト機器に応じて通信モードを自動的に切り替えることができるデバイス機器を提供することを目的とする。
【0010】
【課題を解決するための手段】
請求項1に係る発明は、前記目的を達成するために、ホスト機器としてのパーソナルコンピュータに接続されてリムーバブルディスクとしての機能を提供するPCモードと、ホスト機器としてのプリンタに接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器であって、通信手段を介してパーソナルコンピュータ接続されると、該パーソナルコンピュータから該デバイス機器をリムーバブルディスクとして機能させることを要求するコマンドを受信し、通信手段を介してプリンタに接続されると、該プリンタから該デバイス機器をプリントクライアントとして機能させることを要求するコマンドを受信するデバイス機器において、前記通信手段を介して接続された直後にホスト機器から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後にホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、前記判定手段による判定の結果、前記通信手段を介して接続された直後に前記ホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定する切替手段と、を備えたことを特徴とするデバイス機器を提供する。
【0011】
本発明によれば、通信手段を介してデバイス機器をホスト機器に接続すると、その接続直後にホスト機器から与えられるコマンドに基づいて、判定手段が接続されたホスト機器に対応する通信モードを判定する。そして、その判定手段の判定結果に基づいてデバイス機器の通信モードが切替手段によって自動的に切り替えられる。このように本発明によれば、デバイス機器をホスト機器に接続するだけで、デバイス機器の通信モードをホスト機器に応じたモードに自動設定することができる。これにより、通信モードの変え忘れや変え間違えを生じることなく、確実にホスト機器に対応した通信モードに設定することができ、操作性も向上する。
【0013】
本発明によれば、デジタルカメラをパーソナルコンピュータに接続すると、その接続直後にパーソナルコンピュータから与えられるコマンドに基づいてデジタルカメラのモードがPCモードに設定される。また、デジタルカメラをプリンタに接続すると、その接続直後にプリンタから与えられるコマンドに基づいてデジタルカメラのモードがダイレクトプリントモードに設定される。
【0014】
【発明の実施の形態】
以下、添付図面に従って本発明に係るデバイス機器の好ましい実施の形態について詳説する。
【0015】
図1は、デバイス機器としてのデジタルカメラ100をホスト機器としてのPC200又はプリンタ300に接続する場合のシステム構成図である。同図に示すように、デジタルカメラ100は、PC200又はプリンタ300に対してUSBケーブル400で接続される。
【0016】
PC200に接続されたデジタルカメラ100は、PC200に対してリムーバブルディスクとしての機能(Storage Server機能)を提供し、プリンタ300に接続されたデジタルカメラ100は、プリンタ300に対してメモリカードに記録されている画像を出力して、プリントを行なわせる機能(Print Client機能)を提供する。
【0017】
ところで、デジタルカメラ100をPC200に接続する場合とプリンタ300に接続する場合とでは、コマンド形式が異なり、デジタルカメラ100は、接続先のホスト機器に合わせた通信モードに設定する必要がある。すなわち、デジタルカメラ100をPC200に接続する場合は、PC200との通信をサポートした「PCモード」に設定し、プリンタ300に接続する場合は、プリンタ300との通信をサポートした「ダイレクトプリントモード」に設定する必要がある。本実施の形態のデジタルカメラ100は、この接続先のホスト機器に応じた通信モードの切り替えを自動で行なう。
【0018】
図2は、デジタルカメラ100の背面図である。同図に示すように、デジタルカメラ100の背面には、ファインダ接眼部102、モードスイッチ104、十字キー106、MENU/OKボタン108、BACKボタン110、表示ボタン112、液晶モニタ114が設けらており、上面にはシャッタボタン118が設けられている。また、図示されていないが、左側面にはUSBコネクタ、電源端子、ビデオ端子が設けられている。
【0019】
モードスイッチ104は、モードの切り替えを指示するボタンとして機能し、このモードスイッチ104をスライド操作することにより、カメラのモードが「撮影モード」又は「再生モード」に設定される。
【0020】
十字ボタン106は、上下左右4方向の指示を入力するボタンとして機能し、メニュー画面に表示されたメニュー項目の選択等に使用される。また、撮影時に上下のボタンがズームボタンとして機能するとともに、再生時に左右のボタンがコマ送り/コマ戻しボタンとして機能する。
【0021】
MENU/OKボタン108は、メニュー画面の表示指示や選択項目の決定指示等を入力するボタンとして機能し、BACKボタン110は、操作中止の指示や一つ前の操作状態に戻すことを指示するボタンとして機能する。また、表示ボタン112は、液晶モニタ114へのスルー画像の表示/非表示等の切り替えを指示するボタンとして機能する。
【0022】
図3はデジタルカメラ100の内部構成を示すブロック図である。同図に示すように、このデジタルカメラ100は、撮像系として、被写体像を受光面に結像させて光電変換し、画像信号として出力する撮像部120と、ホワイトバランス補正、ガンマ補正等の処理を行う信号処理部122と、アナログの画像信号をデジタルの画像データに変換するA/D変換器124とを備えている。
【0023】
また、入力系として、上述したモードスイッチ104、十字キー106、MENU/OKボタン108、BACKボタン110、表示ボタン112、シャッタボタン118等の操作手段を含む操作部126と、この操作部126から入力された信号を変換するポートであるI/O128とを備え、画像変換系として、画像データをJPEGに代表される手法で圧縮制御したり、圧縮したデータを伸張展開制御する処理を行う圧縮伸長部130と、画像データを着脱可能なメモリカード132に記録したり、読み出したりするためにデータを変換するカードインターフェイス136とを備えている。
【0024】
また、表示系として、液晶モニタ114と、画像等を液晶モニタ114に表示するための信号に変換するD/A変換器140と、表示する画像や情報を一時記憶するためのVRAM等で構成されているフレームメモリ142と、文字やアイコン等をオンスクリーンディスプレイするOSD144とを備え、通信手段として、USBケーブル400が接続されるUSBコネクタ146と、このUSBコネクタ146を介して接続されたホスト機器との間で画像データを含むデータの双方向通信を行うためのUSBコントローラ148とを備えている。
【0025】
また、コントロール部として、デジタルカメラ全体の制御を行うとともに、画像信号のサンプリング制御、画像の記録制御、通信制御、表示制御等の制御を行う中央処理装置(CPU)150と、後述する通信モードの切り替えプログラムを含む各種動作プログラムや各定数が記憶されているROMと、プログラム実行時に作業領域となるRAMとを含むシステムメモリ152と、デジタルカメラ100の動作に関する各種定数や情報を記憶する不揮発性メモリ154とを備えている。
【0026】
なお、このデジタルカメラ100は、ホスト機器へのUSB接続をトリガとして、その動作モードを通信モードに移行する。通信モードとしては、上記のようにPC200に接続されて、PC200からリムーバブルディスク(マスストレージデバイス)として認識させる「PCモード」と、プリンタ300に接続されて、プリンタ300に対してメモリカード132に記録されている画像をプリントさせる「ダイレクトプリントモード」とを備えており、接続されるホスト機器に応じて自動的に切り替えられる。そして、設定された通信モードの下で所定のコマンド形式に従ったデータの送受信が行なわれる。なお、この通信モードの切り替えについては、後に詳述する。
【0027】
図4はPC200の内部構成を示すブロック図である。同図に示すように、このPC200は、主として各構成要素の動作を制御する中央処理装置(CPU)212と、プログラムが格納されるとともにプログラム実行時の作業領域となる主メモリ214と、PC200のオペレーティングシステム(OS)やPC200に接続されたデバイス機器のデバイスドライバ、各種アプリケーションソフトやユーザの画像等が格納されるハードディスク装置216と、CD−ROMドライブ218と、表示用データを一時記憶する表示メモリ220と、表示メモリ220からの画像データ、文字データ等により画像や文字等を表示するモニタ装置230と、キーボード240、位置入力装置としてのポインティングデバイス250と、ポインティングデバイス250の状態を検出してモニタ装置230上のマウスポインタの位置やポインティングデバイス250の状態等の信号をCPU212に出力するポインティングデバイスコントローラ260と、USBケーブル400が接続されるUSBコネクタ272と、USBコネクタ272を介して接続されたデバイス機器との間で画像データを含むデータの双方向通信を行うためのUSBコントローラ148と、上記各構成要素を接続するバス280とから構成されている。
【0028】
このPC200は、デジタルカメラ100へのUSB接続をトリガとして、その動作モードを通信モードに移行し、デジタルカメラ100をPC200からリムーバブルディスク(マスストレージデバイス)として認識させる。すなわち、USB接続されたデジタルカメラ100に対してストレージサーバとしての機能を要求するとともに、ストレージクライアントとしての機能が提供できることを通知し、接続を確立させる。
【0029】
図5はプリンタ300の内部構成を示すブロック図である。同図に示すように、プリンタ300には、電源スイッチ等を含む操作部302と、この操作部302で入力した信号を変換するポートであるI/O304と、USBケーブル400が接続されるUSBコネクタ306と、USBコネクタ306を介して接続されたデバイス機器との間で画像データを含むデータの通信を行うためのUSBコントローラ308と、プリンタ300の各部を統括制御する中央処理装置(CPU)310と、CPU310を動作させるプログラムや各種定数等が書き込まれたROMとCPU310が処理を実行するときの作業領域となるRAMとを含むシステムメモリ312と、受信した画像データを一時記憶するストレージ部314と、プリントエンジン316とから構成されている。
【0030】
このプリンタ300は、デジタルカメラ100へのUSB接続をトリガとして、その動作モードを通信モードに移行し、デジタルカメラ100に対してダイレクトプリントの機能を提供する。すなわち、USB接続されたデジタルカメラ100に対してプリントクライアントとしての機能を要求するとともに、プリントサーバとしての機能が提供できることを通知し、接続を確立させる。
【0031】
次に、デジタルカメラ100をホスト機器に接続した場合における通信モードの自動切替について説明する。
【0032】
上記のように、本実施の形態のデジタルカメラ100は、USBケーブル400を介して接続されるホスト機器との通信モードに「PCモード」と「ダイレクトプリントモード」とを備えている。そして、PC200に接続すると、図6(a)に示すように、通信モードが「PCモード」に自動設定され、プリンタ300に接続すると、図6(b)に示すように、通信モードが「ダイレクトプリントモード」に自動設定される。
【0033】
以下、このデジタルカメラ100の通信モードの切替手順について図7に示すフローチャートを参照しながら説明する。
【0034】
USBケーブル400によってデジタルカメラ100をホスト機器に接続すると(ステップS10)、その接続をトリガとしてデジタルカメラ100は、動作モードが通信モードに移行する。
【0035】
一方、ホスト機器は、そのホスト機器が要求する機能の下でデジタルカメラ100との接続を確立するためのコマンドを送信する。たとえば、ホスト機器がPC200の場合は、デジタルカメラ100をリムーバブルディスクとして機能させるためのコマンド(「PCモード」のコマンド)を送信し、プリンタ300の場合は、デジタルカメラ100をプリントクライアントとして機能させるためのコマンド(「ダイレクトプリントモード」のコマンド)を送信する。
【0036】
デジタルカメラ100は、このホスト機器との接続直後にホスト機器から送信されるコマンドを受信し(ステップS12)、設定すべき通信モードを判定する。すなわち、受信したコマンドを「PCモード」と「ダイレクトプリントモード」の双方で順に解釈し、いずれのモードのコマンドフォーマットに適合するかを判定する。そして、フォーマットエラーの生じない方のモードに通信モードを設定し、接続を確立する。
【0037】
まず、受信したコマンドが「PCモード」のコマンドか否かを判定する(ステップS14)。すなわち、受信したコマンドを「PCモード」のコマンドとして解釈できるか否か(コマンドのフォーマットにエラーを生じるか否か)を判定する。この判定の結果、受信したコマンドが「PCモード」のコマンドであれば、デジタルカメラ100のCPU150は、通信モードを「PCモード」に設定して、PC200との接続を確立する。そして、PC200に対してリムーバブルディスクとして機能させる(ステップS16)。
【0038】
一方、受信したコマンドが「PCモード」のコマンドでないと判定した場合、次に、受信したコマンドが「ダイレクトプリントモード」のコマンドか否かを判定する(ステップS18)。すなわち、受信したコマンドを「ダイレクトプリントモード」のコマンドとして解釈できるか否か(コマンドのフォーマットにエラーを生じるか否か)を判定する。受信したコマンドが「ダイレクトプリントモード」のコマンドであれば、デジタルカメラ100のCPU150は、通信モードを「ダイレクトプリントモード」に設定して、プリンタ300との接続を確立する。そして、プリンタ300に対してプリントクライアントとして機能させる(ステップS20)。
【0039】
PC200と接続されたデジタルカメラ100は、リムーバブルディスクとして認識され、PC200は、デジタルカメラ100に装着されたメモリカード132に対して画像データを含むデータの読み書きが可能になる。
【0040】
一方、プリンタ300と接続されたデジタルカメラ100は、ダイレクトプリントの機能が有効になり、デジタルカメラ100から直接プリンタに画像データを出力して、プリントさせることが可能になる。このダイレクトプリントの機能により、デジタルカメラ100は、たとえば液晶モニタ114に表示している画像のプリントや液晶モニタ114で選択された複数の画像のプリント、DPOF指定された画像の自動プリント、全画像のインデックスプリント、全画像のプリントのほか、液晶モニタ114で切り抜き指定した画像の部分プリント、同一画像の複数枚のプリント、日付を付加したプリント、画像サイズを指定してのプリント等を行なうことが可能になる。
【0041】
以上説明したように、本実施の形態のデジタルカメラ100によれば、ホスト機器とUSB接続すると、その接続直後にホスト機器から送られてくるコマンドに応じて通信モードが自動的に切り替わる。これにより、通信モードの変え忘れや変え間違いを起こすことなく、常に最適な通信モードに設定することができる。また、ユーザは、ホスト機器との接続時に通信モードの切り替えをする必要がなくなり、操作性が向上する。
【0042】
なお、本実施の形態では、通信手段としてUSBインターフェイスを使用してデバイス機器とホスト機器とを接続しているが、他の通信インターフェイス、たとえばIEEE1394等の通信インターフェイスを使用してデバイス機器とホスト機器とを接続してもよい。
【0043】
また、本実施の形態では、デバイス機器であるデジタルカメラと、ホスト機器であるPC又はプリンタとを接続する場合を例に説明したが、本発明は他のデバイス機器とホスト機器とを接続する場合にも同様に適用することができる。
【0044】
【発明の効果】
以上説明したように、本発明によれば、デバイス機器をホスト機器に接続するだけで、デバイス機器の通信モードをホスト機器に応じたモードに自動設定することができるので、通信モードの変え忘れや変え間違えを生じることなく、確実にホスト機器に対応した通信モードに設定することができる。
【図面の簡単な説明】
【図1】デバイス機器としてのデジタルカメラをホスト機器としてのPC又はプリンタに接続する場合のシステム構成図
【図2】デジタルカメラの背面図
【図3】デジタルカメラの内部構成を示すブロック図
【図4】PCの内部構成を示すブロック図
【図5】プリンタの内部構成を示すブロック図
【図6】通信モードの切替の概念図
【図7】デジタルカメラの通信モードの切替手順を示すフローチャート
【符号の説明】
100…デジタルカメラ、114…液晶モニタ、120…撮像部、122…信号処理部、126…操作部、132…メモリカード、146…USBコネクタ、148…USBコントローラ、150…中央処理装置(CPU)、152…システムメモリ、154…不揮発性メモリ、200…パーソナルコンピュータ(PC)、212…中央処理装置(CPU)、214…主メモリ、216…ハードディスク装置、300…プリンタ、306…USBコネクタ、308…USBコントローラ、310…中央処理装置(CPU)、312…システムメモリ、314…ストレージ部、316…プリントエンジン、400…USBケーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a device device, and more particularly to a device device capable of providing a function corresponding to a host device by switching a communication mode according to the connected host device.
[0002]
[Prior art]
Conventionally, a digital camera and a personal computer (PC) are connected using a USB, and image data recorded in the digital camera is taken into the PC. In recent years, a digital camera and a printer are directly connected using USB, and image data is directly output from the digital camera to the printer for printing (so-called PictBridge).
[0003]
By the way, the command format differs between when the digital camera is connected to the PC and when connected to the printer, and when the digital camera is connected to the PC or printer, the communication mode of the camera is changed to the communication mode corresponding to the connected device. It is necessary to match. For example, when connecting a digital camera to a PC, the communication mode of the camera must be set to PC mode, and when connecting to a printer, the communication mode must be set to direct print mode. Conventionally, the switching of the communication mode of the digital camera has been manually performed by the user through a setup menu or a mode switch (for example, Patent Document 1).
[0004]
Patent Document 2 proposes that a plurality of cameras can be controlled by connecting cameras having different command formats and communication methods to a PC or the like via a video signal / control signal switching device. .
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 2002-305777 [0006]
[Patent Document 2]
Japanese Patent Laid-Open No. 10-66059
[Problems to be solved by the invention]
However, when the user manually switches the communication mode as in a conventional digital camera, there is a drawback that it is easy to make a mistake or forget to change. In addition, when setting the communication mode of the camera using the setup menu, there is a drawback in that it takes time to switch the communication mode.
[0008]
On the other hand, in the method of connecting to a PC or the like via a video signal / control signal switching device as in Patent Document 2, a separate video signal / control signal switching device must be prepared, resulting in a large system. There is.
[0009]
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a device device that can automatically switch a communication mode in accordance with a host device to be connected.
[0010]
[Means for Solving the Problems]
Invention, in order to achieve the above object, a PC mode to provide a function as a removable disk is connected to the personal computer as the host apparatus, print is connected to the printer as a host device according to claim 1 a device apparatus having a direct printing mode that provides a function as a client, when connected to a path over coarsely braided computer via the communication means, of the case in which the said device apparatus as a removable disk from the personal computer receiving a request command, when connected to the printer via the communication means, the device apparatus to receive a command which requests that the functioning of the said device apparatus as a print client from the printer, via the communication means Immediately after being connected to the host device Whether the received command can be interpreted as a command that requires to function as the removable disk, it is determined whether it interpreted as a command that requires to function as the print client via the communication unit command received from the host device immediately after being connected, or the device apparatus is a command requesting that function as the removable disk, determining determines whether the command that requires to function as the print client And a command received from the host device immediately after being connected via the communication unit is a command requesting the device device to function as the removable disk, as a result of the determination by the determining device and the determining device. The device machine Set switch the mode to the PC mode, if a command requesting that the function as the print client, provided with a switching means for setting switching the mode of the device apparatus to the direct print mode There is provided a device apparatus characterized by the above.
[0011]
According to the present invention, when the device device is connected to the host device via the communication unit, the determination unit determines the communication mode corresponding to the connected host device based on the command given from the host device immediately after the connection. . Then, based on the determination result of the determination unit, the communication mode of the device device is automatically switched by the switching unit. As described above, according to the present invention, the communication mode of the device device can be automatically set to a mode corresponding to the host device simply by connecting the device device to the host device. As a result, it is possible to reliably set the communication mode corresponding to the host device without forgetting to change the communication mode or making a mistake, and the operability is improved.
[0013]
According to the present invention, when a digital camera is connected to a personal computer, the mode of the digital camera is set to the PC mode based on a command given from the personal computer immediately after the connection. When the digital camera is connected to the printer, the digital camera mode is set to the direct print mode based on a command given from the printer immediately after the connection.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of a device device according to the present invention will be described in detail with reference to the accompanying drawings.
[0015]
FIG. 1 is a system configuration diagram when a digital camera 100 as a device device is connected to a PC 200 or a printer 300 as a host device. As shown in the figure, the digital camera 100 is connected to a PC 200 or a printer 300 with a USB cable 400.
[0016]
The digital camera 100 connected to the PC 200 provides a function as a removable disk (Storage Server function) to the PC 200, and the digital camera 100 connected to the printer 300 is recorded on a memory card for the printer 300. Provides a function (Print Client function) that prints out existing images and prints them.
[0017]
By the way, when the digital camera 100 is connected to the PC 200 and when connected to the printer 300, the command format is different, and the digital camera 100 needs to be set to a communication mode that matches the host device to which it is connected. That is, when the digital camera 100 is connected to the PC 200, the “PC mode” that supports communication with the PC 200 is set. When the digital camera 100 is connected to the printer 300, the “direct print mode” that supports communication with the printer 300 is set. Must be set. The digital camera 100 according to the present embodiment automatically switches the communication mode according to the connection destination host device.
[0018]
FIG. 2 is a rear view of the digital camera 100. As shown in the figure, a finder eyepiece 102, a mode switch 104, a cross key 106, a MENU / OK button 108, a BACK button 110, a display button 112, and a liquid crystal monitor 114 are provided on the back of the digital camera 100. A shutter button 118 is provided on the upper surface. Although not shown, a USB connector, a power supply terminal, and a video terminal are provided on the left side surface.
[0019]
The mode switch 104 functions as a button for instructing mode switching, and the camera mode is set to “shooting mode” or “reproduction mode” by sliding the mode switch 104.
[0020]
The cross button 106 functions as a button for inputting instructions in four directions, up, down, left, and right, and is used to select a menu item displayed on the menu screen. The upper and lower buttons function as zoom buttons during shooting, and the left and right buttons function as frame advance / return buttons during playback.
[0021]
The MENU / OK button 108 functions as a button for inputting a menu screen display instruction, a selection item determination instruction, and the like, and the BACK button 110 is a button for instructing operation stop or returning to the previous operation state. Function as. The display button 112 functions as a button for instructing switching of display / non-display of the through image on the liquid crystal monitor 114.
[0022]
FIG. 3 is a block diagram showing the internal configuration of the digital camera 100. As shown in the figure, this digital camera 100 is an imaging system that forms a subject image on a light receiving surface, photoelectrically converts it and outputs it as an image signal, and processes such as white balance correction and gamma correction. And a signal processing unit 122 that performs the above and an A / D converter 124 that converts an analog image signal into digital image data.
[0023]
Further, as an input system, an operation unit 126 including operation means such as the mode switch 104, the cross key 106, the MENU / OK button 108, the BACK button 110, the display button 112, the shutter button 118, and the like described above, and an input from the operation unit 126 And an I / O 128 that is a port for converting the received signal, and as an image conversion system, a compression / decompression unit that performs compression control of image data using a technique typified by JPEG, and performs processing for expanding / decompressing compressed data 130 and a card interface 136 for converting data for recording or reading image data on a removable memory card 132.
[0024]
The display system includes a liquid crystal monitor 114, a D / A converter 140 that converts an image or the like into a signal for display on the liquid crystal monitor 114, and a VRAM or the like that temporarily stores an image or information to be displayed. A frame memory 142 and an OSD 144 for on-screen display of characters, icons, etc., and as a communication means, a USB connector 146 to which a USB cable 400 is connected, and a host device connected via the USB connector 146 And a USB controller 148 for performing bidirectional communication of data including image data.
[0025]
In addition, as a control unit, the entire digital camera is controlled, and a central processing unit (CPU) 150 that controls image signal sampling control, image recording control, communication control, display control, etc., and a communication mode described later. A system memory 152 including a ROM storing various operation programs including switching programs and various constants, a RAM serving as a work area when the program is executed, and a non-volatile memory storing various constants and information regarding the operation of the digital camera 100 154.
[0026]
The digital camera 100 shifts its operation mode to the communication mode with the USB connection to the host device as a trigger. As a communication mode, “PC mode” connected to the PC 200 and recognized as a removable disk (mass storage device) from the PC 200 as described above, and connected to the printer 300 and recorded on the memory card 132 with respect to the printer 300. A “direct print mode” for printing the image being printed is automatically switched according to the connected host device. Data transmission / reception is performed in accordance with a predetermined command format under the set communication mode. The switching of the communication mode will be described later in detail.
[0027]
FIG. 4 is a block diagram showing the internal configuration of the PC 200. As shown in the figure, the PC 200 includes a central processing unit (CPU) 212 that mainly controls the operation of each component, a main memory 214 that stores a program and serves as a work area when the program is executed, A hard disk device 216 for storing an operating system (OS), device drivers of device devices connected to the PC 200, various application software, user images, etc., a CD-ROM drive 218, and a display memory for temporarily storing display data 220, a monitor device 230 for displaying images and characters by image data, character data, and the like from the display memory 220, a keyboard 240, a pointing device 250 as a position input device, and a state of the pointing device 250 are detected and monitored. On device 230 Between the pointing device controller 260 that outputs signals such as the position of the mouse pointer and the state of the pointing device 250 to the CPU 212, the USB connector 272 to which the USB cable 400 is connected, and the device device connected via the USB connector 272 The USB controller 148 for performing bidirectional communication of data including image data, and a bus 280 for connecting the above components.
[0028]
The PC 200 uses the USB connection to the digital camera 100 as a trigger, shifts its operation mode to the communication mode, and recognizes the digital camera 100 from the PC 200 as a removable disk (mass storage device). That is, it requests the digital camera 100 connected via USB to function as a storage server, notifies that the function as a storage client can be provided, and establishes a connection.
[0029]
FIG. 5 is a block diagram showing the internal configuration of the printer 300. As shown in the figure, the printer 300 includes an operation unit 302 including a power switch, an I / O 304 that is a port for converting a signal input through the operation unit 302, and a USB connector to which a USB cable 400 is connected. A USB controller 308 for communicating data including image data between the device 306 and a device connected via the USB connector 306; and a central processing unit (CPU) 310 that performs overall control of each unit of the printer 300; A system memory 312 including a ROM in which programs for operating the CPU 310 and various constants are written, and a RAM serving as a work area when the CPU 310 executes processing; a storage unit 314 for temporarily storing received image data; And a print engine 316.
[0030]
The printer 300 uses the USB connection to the digital camera 100 as a trigger, shifts its operation mode to the communication mode, and provides the digital camera 100 with a direct printing function. That is, it requests the digital camera 100 connected by USB to function as a print client, notifies that the function as a print server can be provided, and establishes a connection.
[0031]
Next, automatic switching of communication modes when the digital camera 100 is connected to a host device will be described.
[0032]
As described above, the digital camera 100 according to the present embodiment includes “PC mode” and “direct print mode” as communication modes with a host device connected via the USB cable 400. When connected to the PC 200, the communication mode is automatically set to “PC mode” as shown in FIG. 6A, and when connected to the printer 300, the communication mode is set to “Direct” as shown in FIG. The print mode is automatically set.
[0033]
Hereinafter, the procedure for switching the communication mode of the digital camera 100 will be described with reference to the flowchart shown in FIG.
[0034]
When the digital camera 100 is connected to the host device by the USB cable 400 (step S10), the operation mode of the digital camera 100 shifts to the communication mode using the connection as a trigger.
[0035]
On the other hand, the host device transmits a command for establishing a connection with the digital camera 100 under the function requested by the host device. For example, when the host device is the PC 200, a command for causing the digital camera 100 to function as a removable disk ("PC mode" command) is transmitted, and when the printer 300 is used, the digital camera 100 is caused to function as a print client. Command (“direct print mode” command).
[0036]
The digital camera 100 receives a command transmitted from the host device immediately after connection with the host device (step S12), and determines a communication mode to be set. That is, the received command is sequentially interpreted in both the “PC mode” and the “direct print mode”, and it is determined which mode is compatible with the command format. Then, the communication mode is set to the mode in which the format error does not occur, and the connection is established.
[0037]
First, it is determined whether or not the received command is a “PC mode” command (step S14). That is, it is determined whether the received command can be interpreted as a “PC mode” command (whether an error occurs in the command format). If the received command is a “PC mode” command as a result of this determination, the CPU 150 of the digital camera 100 sets the communication mode to “PC mode” and establishes a connection with the PC 200. Then, the PC 200 is caused to function as a removable disk (step S16).
[0038]
On the other hand, if it is determined that the received command is not a “PC mode” command, it is then determined whether or not the received command is a “direct print mode” command (step S18). That is, it is determined whether the received command can be interpreted as a “direct print mode” command (whether an error occurs in the command format). If the received command is a “direct print mode” command, the CPU 150 of the digital camera 100 sets the communication mode to “direct print mode” and establishes a connection with the printer 300. Then, the printer 300 is caused to function as a print client (step S20).
[0039]
The digital camera 100 connected to the PC 200 is recognized as a removable disk, and the PC 200 can read and write data including image data with respect to the memory card 132 attached to the digital camera 100.
[0040]
On the other hand, the digital camera 100 connected to the printer 300 has the direct print function enabled, and the image data can be directly output from the digital camera 100 to the printer for printing. With this direct print function, the digital camera 100 can, for example, print an image displayed on the liquid crystal monitor 114, print a plurality of images selected on the liquid crystal monitor 114, automatically print a DPOF-designated image, In addition to index printing and printing of all images, it is possible to perform partial printing of images specified by clipping on the LCD monitor 114, printing multiple images of the same image, printing with a date added, printing with a specified image size, etc. become.
[0041]
As described above, according to the digital camera 100 of the present embodiment, when a USB connection is established with a host device, the communication mode is automatically switched according to a command sent from the host device immediately after the connection. As a result, it is possible to always set the optimal communication mode without forgetting to change the communication mode or causing a change error. In addition, the user does not need to switch the communication mode when connecting to the host device, and the operability is improved.
[0042]
In this embodiment, the device device and the host device are connected using the USB interface as the communication means. However, the device device and the host device are connected using another communication interface, for example, a communication interface such as IEEE1394. And may be connected.
[0043]
Further, in this embodiment, the case where a digital camera as a device device and a PC or printer as a host device are connected has been described as an example. However, the present invention is a case where another device device and a host device are connected. It can be similarly applied to.
[0044]
【The invention's effect】
As described above, according to the present invention, the communication mode of the device device can be automatically set to a mode corresponding to the host device simply by connecting the device device to the host device. It is possible to reliably set the communication mode corresponding to the host device without causing a mistake in changing.
[Brief description of the drawings]
1 is a system configuration diagram when a digital camera as a device is connected to a PC or printer as a host device. FIG. 2 is a rear view of the digital camera. FIG. 3 is a block diagram showing an internal configuration of the digital camera. 4 is a block diagram showing the internal configuration of the PC. FIG. 5 is a block diagram showing the internal configuration of the printer. FIG. 6 is a conceptual diagram of switching the communication mode. FIG. 7 is a flowchart showing the communication mode switching procedure of the digital camera. Explanation of]
DESCRIPTION OF SYMBOLS 100 ... Digital camera, 114 ... Liquid crystal monitor, 120 ... Imaging part, 122 ... Signal processing part, 126 ... Operation part, 132 ... Memory card, 146 ... USB connector, 148 ... USB controller, 150 ... Central processing unit (CPU), 152 ... System memory, 154 ... Non-volatile memory, 200 ... Personal computer (PC), 212 ... Central processing unit (CPU), 214 ... Main memory, 216 ... Hard disk device, 300 ... Printer, 306 ... USB connector, 308 ... USB Controller 310 ... Central processing unit (CPU) 312 ... System memory 314 ... Storage unit 316 ... Print engine 400 ... USB cable

Claims (1)

ホスト機器としてのパーソナルコンピュータに接続されてリムーバブルディスクとしての機能を提供するPCモードと、ホスト機器としてのプリンタに接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器であって、通信手段を介してパーソナルコンピュータ接続されると、該パーソナルコンピュータから該デバイス機器をリムーバブルディスクとして機能させることを要求するコマンドを受信し、通信手段を介してプリンタに接続されると、該プリンタから該デバイス機器をプリントクライアントとして機能させることを要求するコマンドを受信するデバイス機器において、
前記通信手段を介して接続された直後にホスト機器から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後にホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、
前記判定手段による判定の結果、前記通信手段を介して接続された直後に前記ホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定する切替手段と、
を備えたことを特徴とするデバイス機器。
Device apparatus including a PC mode to provide a function as a removable disk is connected to the personal computer as the host apparatus, and a direct print mode that provides the function of being connected to a printer as a host device as a print client a is, if it is connected to the path over coarsely braided computer via the communication means, receiving a command requesting that the functioning of the said device apparatus as a removable disk from the personal computer, connected to the printer via the communication means In the device device that receives a command requesting that the device device function as a print client from the printer,
Whether a command received from a host device immediately after being connected via the communication means can be interpreted as a command requesting to function as the removable disk, or as a command requesting to function as the print client Whether the command received from the host device immediately after being connected via the communication means is a command requesting the device device to function as the removable disk, or as the print client Determining means for determining whether the command is a function requesting function;
As a result of determination by the determination unit, if the command received from the host device immediately after being connected via the communication unit is a command requesting the device device to function as the removable disk, the device In the case of a command for requesting to switch the mode of the device to the PC mode and to function as the print client, switching means for switching the mode of the device device to the direct print mode and setting the mode,
Device equipment characterized by comprising:
JP2003202807A 2003-07-29 2003-07-29 Device equipment Expired - Fee Related JP4805532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003202807A JP4805532B2 (en) 2003-07-29 2003-07-29 Device equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003202807A JP4805532B2 (en) 2003-07-29 2003-07-29 Device equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010014305A Division JP4918145B2 (en) 2010-01-26 2010-01-26 Device device and mode switching method thereof

Publications (2)

Publication Number Publication Date
JP2005049926A JP2005049926A (en) 2005-02-24
JP4805532B2 true JP4805532B2 (en) 2011-11-02

Family

ID=34262375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003202807A Expired - Fee Related JP4805532B2 (en) 2003-07-29 2003-07-29 Device equipment

Country Status (1)

Country Link
JP (1) JP4805532B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172560A (en) * 2005-12-26 2007-07-05 Olympus Imaging Corp Image transfer system
US7731377B2 (en) * 2006-03-21 2010-06-08 Semiconductor Energy Laboratory Co., Ltd. Backlight device and display device
JP2009182784A (en) 2008-01-31 2009-08-13 Casio Comput Co Ltd Image transmission system, image storage device, and program
JP5310678B2 (en) * 2010-09-01 2013-10-09 カシオ計算機株式会社 Image transmission system, image storage device, and program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57127979A (en) * 1981-01-30 1982-08-09 Canon Inc Video system
JP3498754B2 (en) * 1993-03-31 2004-02-16 富士写真フイルム株式会社 Video cameras, video cameras and stations and monitors
JP4401446B2 (en) * 1997-04-07 2010-01-20 キヤノン株式会社 Digital camera and control method thereof
JPH10271369A (en) * 1997-03-24 1998-10-09 Fuji Photo Film Co Ltd Accessory for digital camera
JP3807007B2 (en) * 1997-02-17 2006-08-09 富士写真フイルム株式会社 Accessories for digital cameras
JP2000013554A (en) * 1998-06-25 2000-01-14 Fuji Xerox Co Ltd Image input and output system
JP2000138765A (en) * 1998-10-29 2000-05-16 Nec Corp Method and device for setting television telephone connection mode
JP4124990B2 (en) * 2000-11-07 2008-07-23 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP3862507B2 (en) * 2001-02-07 2006-12-27 キヤノン株式会社 Camera and control method thereof
JP2002271721A (en) * 2001-03-14 2002-09-20 Matsushita Electric Ind Co Ltd Imaging device

Also Published As

Publication number Publication date
JP2005049926A (en) 2005-02-24

Similar Documents

Publication Publication Date Title
US7812859B2 (en) Print system and print control method
US7528861B2 (en) Changing a display language for software based on a detected display language of a connected device
US20020006235A1 (en) Image processing apparatus and method and memory medium
US20050060447A1 (en) USB function apparatus
JP3740454B2 (en) Printing system, information processing apparatus, printer, display control method, print control method, storage medium storing computer-readable program, and program
US6903773B1 (en) Image taking method and apparatus for linking images
JP4193466B2 (en) Image transmission / reception system, image transmission apparatus, and image reception apparatus
US20050134689A1 (en) Image processing system
US20040223060A1 (en) Control system, control method, printing system, and image data control apparatus and program
JP4805532B2 (en) Device equipment
JP2005070862A (en) Print control device, data processor, print system, print control method, storage medium storing computer-readable program, and program
JP2007048214A (en) Print preview display method and print system
JP4918145B2 (en) Device device and mode switching method thereof
JP3873339B2 (en) Direct print adapter
US20050030584A1 (en) Print system
JP2002009991A (en) Information processor, information processing system, method therefor and storage medium
JP2001238105A (en) Digital camera and picture printing system using the same
JP2004147014A (en) Picture display system, picture input device and picture display device, which are used for the same, and control method of picture display
JP2004310400A (en) Information transmitting and receiving system
JP5338516B2 (en) Image processing system and communication device
KR101123707B1 (en) Image forming apparatus and image forming method printing capture image
JP4150299B2 (en) Control devices and controlled devices used in systems that support both command-based models and user interface export models
JP2003046917A (en) Print system, imaging apparatus, imaging image-printing method, and program
JP4089741B2 (en) Image processing device
JP2007060659A (en) Image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060718

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090817

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100126

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100308

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20100402

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110811

R150 Certificate of patent or registration of utility model

Ref document number: 4805532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140819

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees