JP2004310400A - Information transmitting and receiving system - Google Patents

Information transmitting and receiving system Download PDF

Info

Publication number
JP2004310400A
JP2004310400A JP2003102465A JP2003102465A JP2004310400A JP 2004310400 A JP2004310400 A JP 2004310400A JP 2003102465 A JP2003102465 A JP 2003102465A JP 2003102465 A JP2003102465 A JP 2003102465A JP 2004310400 A JP2004310400 A JP 2004310400A
Authority
JP
Japan
Prior art keywords
mode
communication
communication mode
host
switching
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
JP2003102465A
Other languages
Japanese (ja)
Inventor
Masako Suehiro
雅子 末廣
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 Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2003102465A priority Critical patent/JP2004310400A/en
Publication of JP2004310400A publication Critical patent/JP2004310400A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically perform the switching of a device to a communication mode intended by a user from a host even if the user does not aware of the communication mode state or mode switching of the device. <P>SOLUTION: This information transmitting and receiving system comprises the host and the device connected thereto. The device has a plurality of communication modes differed in communication method, and operates at a set communication mode. The host detects the present communication mode of the device and the communication mode desired by the user. The communication mode desired by the user is detected from an action in the host or device (step S20). When the host determines that the communication mode desired by the user is not matched to the present communication mode of the device (step S24), the host transmits a switching command for switching the present communication mode of the device to the desired communication mode to perform bus reset and reconfiguration. The device performs, in response to this, a protocol conversion for switching the present communication mode to the desired communication mode (steps S28-S34). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は情報送受信システムに係り、特にパーソナルコンピュータ等のホストに接続されるデジタルカメラ等のデバイスの通信モードを自動的に切り替える技術に関する。
【0002】
【従来の技術】
従来、デジタルカメラに撮影モードと再生モードとを切り替えるモード切替スイッチを設け、デジタルカメラ内の画像データに基づく画像の印刷を行う場合には、前記モード切替スイッチによってデジタルカメラを再生モードに設定するとともに、デジタルカメラにプリンタを接続する。そして、プリンタからデジタルカメラに画像データの転送を指示し、転送された画像データに基づいて印刷枚数等の表示用文字データや印刷用画像データを生成するプリンタが提案されている(特許文献1)。
【0003】
また、静止画撮影モード、再生モード、動画撮影モード等を備えたデジタルカメラにおいて、該デジタルカメラにパーソナルコンピュータが接続されると、その接続に連動して他のモードから動画撮影モード(PCカメラモード)に切り替えるデジタルカメラが提案されている(特許文献2)。
【0004】
更に、従来のデジタルカメラには、パーソナルコンピュータ(PC)との間で通信する際の通信モードとして、マスストレージモードとPTP(Picture Transfer Protocol) モードとを有し、これらのモードをカメラのセットアップメニュー画面でユーザが選択できるデジタルカメラがある。このデジタルカメラの場合、カメラの通信モードがマスストレージモードにセットされると、PCからはマスストレージデバイス(外部記録媒体)として認識され、PTPモードに設定されると、カメラによって転送する画像を選択し、カメラに設けられた転送ボタンを押すことで前記選択した画像をパソコン等に送信することができる。
【0005】
【特許文献1】
特開平10−107981号公報
【0006】
【特許文献2】
特開2002−232769号公報
【0007】
【発明が解決しようとする課題】
ところで、特許文献1に記載のプリンタは、デジタルカメラから画像データを取り込む場合には、ユーザが手動でモード切替スイッチを操作してデジタルカメラを再生モードに設定する必要がある。
【0008】
また、特許文献2に記載のデジタルカメラは、PCが接続されると無条件でPCカメラモードに切り替わる仕様になっており、ユーザがPC上でPCカメラモードとは異なる用途でカメラを動作させたい時に、ユーザの意図に沿った動作をさせることができないという問題がある。
【0009】
一方、マスストレージモードとPTPモードとを有するデジタルカメラをPCやプリンタ等のホストに接続し、カメラの画像転送ボタンを押して所望の画像をホストに転送する場合には、セットアップメニューを用いてカメラの通信モードを手動でPTPモードに設定する必要があるが、この場合には、カメラの通信モードをPTPモードに設定するのを忘れたり、間違ってしまう確率が高く、また、セットアップメニューを用いてカメラの通信モードを設定する必要があることから通信モードの切替えに手間がかかるという問題がある。
【0010】
本発明はこのような事情に鑑みてなされたもので、デジタルカメラ等のデバイスの通信モードの状態やモード切替えをユーザが意識することなく、デバイスのモード切替えをホストが自動で行うことができ、これによりユーザが面倒なデバイスのモード切替操作をすることなく、ユーザの意図するモードに自動的に切り替えることができる情報送受信システムを提供することを目的とする。
【0011】
【課題を解決するための手段】
前記目的を達成するために請求項1に係る情報送受信システムは、ホストに情報を受け渡すための通信方式が異なる複数の通信モードを有する通信手段と、前記複数の通信モードを自動的に切り替える自動モード切替手段とを有するデバイスと、デバイスが接続され、デバイスとの間でコマンド通信して情報の受け渡しを行うホストであって、接続されたデバイスの現在の通信モードを取得するモード取得手段と、ホスト又はデバイスでのアクションに応じて該デバイスで設定されるべきユーザ希望の通信モードを検知するモード検知手段と、接続されたデバイスの通信モードの切り替えを制御するモード切替制御手段とを有するホストと、からなり、前記ホストのモード切替制御手段は、前記モード取得手段により取得したデバイスの現在の通信モードと前記モード検知手段により検知した希望の通信モードとが不一致のときに、前記デバイスの現在の通信モードを前記希望の通信モードに切り替えるための切替コマンドを送信し、前記デバイスの自動モード切替手段は、前記ホストから前記切替コマンドを受信すると、現在の通信モードを前記希望の通信モードに切り替えることを特徴としている。
【0012】
請求項1に係る情報送受信システムは、ホストとデバイスとから構成され、ホストとデバイスとが有線又は無線によって接続され、所定のプロトコルにてデータ通信できるようになっている。
【0013】
前記デバイスは通信方式の異なる複数の通信モードのうちの設定された通信モードで動作するが、ユーザが希望する通信モードになっていない場合がある。ホストの自動モード切替制御手段は、デバイスの現在の通信モードがユーザ希望の通信モードになっていない場合には、デバイスの現在の通信モードを希望の通信モードに切り替えるための切替コマンドを送信する。前記デバイスは、ホストの自動モード切替制御手段から切替コマンドを受信すると、現在の通信モードを前記希望の通信モードに切り替える。
【0014】
尚、ユーザ希望の通信モードは、ホスト又はデバイスでのアクションから検知される。これにより、ユーザが面倒なデバイスのモード切替操作をすることなく、現在の通信モードがユーザ希望の通信モードでない場合には、ホスト又はデバイスでのアクションに基づきユーザの意図するモードに自動的に切り替わる。
【0015】
請求項2に示すように、請求項1の情報送受信システムにおいて、前記複数の通信モードには、各通信モードを識別するためのモード識別情報が付与されており、前記モード取得手段は、接続されたデバイスの現在の通信モードのモード識別情報とともに、該デバイスがサポート可能な通信モードのモード識別情報を取得し、前記モード切替制御手段は、前記モード取得手段により取得したデバイスがサポート可能な通信モードのモード識別情報とホストがサポート可能な通信モードのモード識別情報との共通のモード識別情報の中に前記希望の通信モードのモード識別情報が含まれるときのみ、前記希望の通信モードに切り替えるための切替コマンドを送信することを特徴としている。
【0016】
即ち、デバイスがサポート可能な通信モードと、ホストがサポート可能な通信モードとが完全一致していない場合があるため、ホストは、両者が共通にサポートしている通信モードを検知し、この共通にサポートしている通信モードの範囲内でモードの自動切替えを可能にしている。
【0017】
請求項3に示すように、請求項1の情報送受信システムにおいて、前記ホスト又はデバイスで必ず発生するアクションであって、各通信モードでそれぞれ重複しないアクションが発生する通信モードを前記希望の通信モードとして予め登録し、前記モード検知手段は、ホスト又はデバイスで発生したアクションに基づいて該アクションに関連付けられた前記希望の通信モードを検知することを特徴としている。例えば、デバイス上で画像を選択するとともに転送ボタンを押すことで、ホストに対して画像取込みのコマンドを送信して前記選択した画像を送信する通信モード(PTPモード)にデバイスのモードが設定されていない場合に、上記転送ボタンが操作されると、この転送ボタンの操作(アクション)からユーザ希望の通信モードを検知する。
【0018】
請求項4に示すように、請求項1の情報送受信システムにおいて、前記デバイスはデジタルカメラ、スキャナー及び複写機のうちのいずれかであり、前記ホストは、パーソナルコンピュータ、プリンタ及びサーバのうちのいずれかである。
【0019】
請求項5に示すように、請求項4の情報送受信システムにおいて、前記複数の通信モードは、マスストレージモード、PTPモード、及びPCカメラモードのうちの2以上の通信モードを含むことを特徴としている。
【0020】
【発明の実施の形態】
以下添付図面に従って本発明に係る情報送受信システムの好ましい実施の形態について詳説する。
【0021】
図1は本発明に係る情報送受信システムの実施の形態を示す概略構成図であり、同図に示す情報送受信システムは、デバイスとしてのデジタルカメラ100と、ホストとしてのパーソナルコンピュータ(PC)200とから構成されている。
【0022】
デジタルカメラ100には、電源スイッチ102と、シャッタボタン104と、撮影モード、再生モード等の各種のモードを設定するためのモードダイヤル106と、ズーム操作、再生時におけるコマ送り、メニューの選択等に使用されるマルチファンクションの上下左右の十字キー108と、操作を取り消したり、前の状態に戻すための「戻る」ボタン110と、メニュー画面を表示させたり、メニュー画面上で十字キー108の操作によって選択したメニューを実行させるための「メニュー/実行」ボタン112と、液晶モニタ114と、選択した画像をホストに転送させるための転送ボタン116とが設けられている。
【0023】
また、PC200は、PC本体210にモニタ装置230、キーボード240、マウス250等の周辺機器が接続されて構成されている。
【0024】
上記デジタルカメラ100とPC200とは、それぞれUSBケーブル300によって接続できるようになっており、デジタルカメラ100は、画像を選択して転送ボタン116を押すことにより、その画像をPC200に転送するためのPTP(Picture Transfer Protocol) モードと、ホストにデジタルカメラ100をマスストレージデバイスとして認識させ、ホストよりデジタルカメラ100内の記録メディアへの画像の読み書きを行うマスストレージモードと、テレビ会議用のPCカメラとして機能するPCカメラモードとを有している。これらのPTPモード、マスストレージモード、及びPCカメラモードはそれぞれ通信方式が異なり、それぞれ異なるプロトコルでデータ通信が行われる。
【0025】
また、PC200は、上記PTPモード、マスストレージモード、及びPCカメラモードの通信モードをサポートしているものとし、PC200に接続されたデジタルカメラ100の通信モードを、ユーザ希望の通信モードに自動的に切り替えることができるようになっているが、その詳細については後述する。
【0026】
図2は上記デジタルカメラ100の内部構成を示すブロック図である。
【0027】
同図に示すように、このデジタルカメラ100の撮像系として、被写体の像を受光面に結像させて光電変換し、画像信号として出力する撮像部120と、ホワイトバランス補正、ガンマ補正等の処理を行う信号処理部122と、アナログの画像信号をデジタルの画像データに変換するA/D変換器124とが設けられている。
【0028】
また、デジタルカメラ100の入力系として、図1に示した電源スイッチ102、シャッタボタン104、モードダイヤル106、十字キー108、「戻る」ボタン110、「メニュー/実行」ボタン112、転送ボタン116等を含む操作部126と、この操作部126で入力した各々の情報の信号を変換するポートであるI/O128とが設けられている。
【0029】
デジタルカメラ100の画像変換系として、画像データをJPEGに代表される手法で圧縮制御したり、圧縮したデータを伸張展開制御する処理を行う圧縮伸長部130と、画像データを着脱可能なメモリカード132にカードスロット134を介して記録したり読み出したりするためにデータを変換するカードインターフェース136とが設けられている。
【0030】
デジタルカメラ100の表示系として、液晶モニタ114と、画像等を液晶モニタ114に表示するための信号に変換するD/A変換器140と、表示する画像や情報を一時記憶するためのVRAM等で構成されているフレームメモリ142と、文字やアイコン等をオンスクリーンディスプレイするOSD144とが設けられている。
【0031】
デジタルカメラ100の通信手段としては、USBケーブル300と接続されるUSBコネクタ146と、このUSBコネクタ146を介して接続される外部機器との間で画像データを含むデータの双方向通信を行うためのUSBインターフェース148とが設けられている。尚、このデジタルカメラ100はホストとUSB接続されると、自動的に通信モードとなる。尚、このときのデジタルカメラ100の通信モードは、最後にホストとデータ通信した通信モード、又はその後、ユーザがマニュアルで適宜設定した通信モードとなっている。
【0032】
デジタルカメラ100のコントロール部として、デジタルカメラ全体の制御を行うとともに、画像信号のサンプリング制御、画像の記録制御、通信制御、表示制御等の制御を行う中央処理装置(CPU)150と、本発明に係るモード切替処理を含む各種の動作プログラムや各定数が記憶されているROMと、プログラム実行時の作業領域となるとともに、画像を記録することが可能なRAMにより構成されているシステムメモリ152と、デジタルカメラ100の動作に関する各種定数や情報を記憶する不揮発性メモリ154とが設けられている。
【0033】
図3はPC200の内部構成を示すブロック図である。
【0034】
同図に示すように、このPC200は、主として各構成要素の動作を制御する中央処理装置(CPU)212と、装置の制御プログラムが格納されたり、プログラム実行時の作業領域となる主メモリ214と、PC200のオペレーティングシステム(OS)、PC200に接続された周辺機器のデバイスドライバ、本発明に係るモード自動切替プログラムを含む各種のアプリケーションソフト、ユーザの画像等が格納されるハードディスク装置216と、CD−ROMドライブ218と、表示用データを一時記憶する表示メモリ220と、この表示メモリ220からの画像データ、文字データ等により画像や文字等を表示するCRTモニタや液晶モニタ等のモニタ装置230と、キーボード240と、位置入力装置としてのマウス250と、マウス250の状態を検出してモニタ装置230上のマウスポインタの位置やマウス250の状態等の信号をCPU212に出力するマウスコントローラ260と、デジタルカメラ100と接続して画像データ等の入力が可能なUSB(Universal Serial Bus)などのインターフェース270と、上記各構成要素を接続するバス280とから構成されている。
【0035】
尚、上記構成のPC200は、ハードディスク装置216に格納されている、デジタルカメラ100の通信モードを自動的に切り替えるためのモード自動切替プログラムを除いて周知のものであるため、各構成要素の詳細な説明については省略する。
【0036】
次に、上記モード自動切替プログラムに基づくデジタルカメラ100の通信モードの自動切替方法について、図4に示すフローチャートを参照しながら説明する。
【0037】
PC200(以下、単に「ホスト」という)は、デジタルカメラ100(以下単に「デバイス」という)が接続されると、デバイスからそのデバイスがサポート可能な通信モード示すモードIDを取得する(ステップS10)。
【0038】
このモードIDは、各通信モード固有の識別情報であり、デバイスは、例えば、以下に示すようにモード毎のIDナンバーと、そのモードがサポートできる画像タイプを情報としてもっており、ホストからの要求に応じてモードIDを送信する。
・PTPモード :ID=0000,サポートタイプ:静止画
・マスストレージモード:ID=0001,サポートタイプ:静止画,動画
・PCカメラモード :ID=0002,サポートタイプ:動画
ホストは、デバイスからモードIDを取り込むと、続いてホストとデバイスとに共通してサポートされている通信モードのモードIDを取得する(ステップS12)。例えば、ホストがPTPモード、マスストレージモード及びPCカメラモードをサポートし、デバイスがPTPモード及びマスストレージモードをサポートしている場合には、ホスト・デバイスに共通のモードIDは、ID=0000,0001の2つである。
【0039】
ホストは、ホスト・デバイスに共通のモードIDがあるか否かを判別し、共通のモードIDがない場合には、ステップS16に進み、共通のモードIDがある場合には、ステップS18に進む(ステップS14)。
【0040】
ホストは、ステップS16に進むと、例えば“接続できません” というエラーメッセージをホストのモニタ装置230又はデバイスの液晶モニタ114に表示させ、デバイスとデータ通信するための接続ができないことをユーザに報知し、一方、ステップS18に進むと、デバイスの現在の通信モードのモードIDを取得する。
【0041】
デバイスの現在の通信モードのモードIDを取得した後、ホストは、ホスト又はデバイスで特定のアクションが起こるのを待つ(ステップS20)。
【0042】
ここで、各通信モードと特定のアクションとの関係について説明する。
【0043】
特定のアクションは、各モードで必ず起こるアクションで、かつそのモードでしか起こらないアクションであり、予め各モードごとに決められており、ホストは、例えば、以下に示すように各モードと特定のアクションとの関係を情報として持っている。
・PTPモード(ID=0000) :デバイスで転送ボタンが押される
・マスストレージモード(ID=0001):画像表示アプリケーションの起動
・PCカメラモード(ID=0002) :ビデオ会議アプリケーションの起動
例えば、ユーザは、PTPモードで画像を転送する場合には、モードダイヤル106によりデジタルカメラ100を再生モードに設定し、転送したい画像を十字キー108の左右キーを操作して液晶モニタ114に表示させる。そして、デジタルカメラ100とPC200とをUSBケーブル300によって接続し、転送ボタン116を押すことになる。即ち、ユーザがPTPモードで画像を転送しようとする場合には、必ずデバイス側で転送ボタンが押され、ホスト側はデバイス側で転送ボタンが押された場合には、ユーザはPTPモードを希望していると判断する。
【0044】
尚、各モードと特定のアクションとの関係は、上記の例に限らず、例えば、マルチウインドウ環境のPCの場合、上記アプリケーションの起動の代わりに、非アクティブウインドウからアクティブウインドウにしたときでもよく、要はユーザがいずれのモードを希望しているかをユーザ操作に関連して検知可能なアクションであれば、いかなるアクションでもよい。
【0045】
また、ステップS20でアクションの有無が判別される特定のアクションは、ホスト・デバイスの共通モードIDに関連するアクションのみである。例えば、PCカメラモードを有さないデバイスの場合に、ホスト側でビデオ会議アプリケーションを起動しても、ステップS20では特定のアクションが起きたとは判別されない。
【0046】
次に、ステップS20で特定のアクションがあったことが判別されると、そのアクションに対応したモードID(ユーザ希望のモードID)を予め決定したアクションとモードIDとの関係から取得する(ステップS22)。
【0047】
続いて、デバイスで設定されている現在の通信モードのモードIDと、ステップS22で取得した希望のユーザIDとが一致しているか否かを判別する(ステップS24)。そして、現在のモードIDと希望のモードIDとが一致する場合には、ホスト・デバイス間ではデバイスの現在の通信モードでユーザのアクションに基づくデータ通信等が行われる(ステップS26)。
【0048】
一方、現在のモードIDと希望のモードIDとが一致しない場合には、ホストは、デバイスの現在の通信モードをユーザ希望の通信モードに変更させるための切替コマンドをデバイスに送信し、バスリセット、コンフィグレーションのやり直しを行う(ステップS28、S30、S32)。これを受けたデバイスは、現在の通信モードを希望の通信モードに切り替えるプロトコル変換を行ったのち、ステップS24に戻る(ステップS34)。
【0049】
ステップS34でのプロトコル変換によりデバイスの現在の通信モードがユーザ希望の通信モードに切り替えられると、ホストはデバイスの通信モードがユーザ希望の通信モードになったことをステップS24で確認し、その後、デバイスとの間でユーザ希望の通信モードによるデータ通信が可能になる(ステップS26)。
【0050】
尚、図4のステップS20でアクションを待っているときに、ホスト・デバイスに共通しないモード特有のアクションがあった場合には、エラーメッセージの表示を行い、他のアクションを促すことが好ましい。
【0051】
また、本システムに係るデバイスとしてはデジタルカメラに限らず、スキャナー、複写機、プリンタ及びプリンタと複写機の複合機等の他のデバイスにも適用でき、本システムに係るホストとしてはPCに限らず、プリンタ、サーバ、キオスク端末などにも適用できる。更に、デバイス・ホスト間で受け渡される情報としては、画像に限らず、音楽、その他の情報でもよい。
【0052】
更にまた、デバイス・ホスト間の通信インタフェースとしては、USBに限らず、IEEE1394なども適用でき、また、有線に限らず、無線による通信インターフェースでもよい。
【0053】
【発明の効果】
以上説明したように本発明によれば、ホスト又はデバイスでのアクションに応じてホストからデバイスに送信される切替コマンドによりデバイスの現在の通信モードを、そのデバイスで設定されるべきユーザ希望の通信モードに自動的に切り替えるようにしたため、デバイスの通信モードの状態やモード切替えをユーザが意識することなく、デバイスのモード切替えをホストが自動で行うことができる。これにより、デバイスでのユーザによる面倒なモード切替操作が不要となり、ユーザのモード切替えの負担をなくすことができる。
【図面の簡単な説明】
【図1】本発明に係る情報送受信システムの実施の形態を示す概略図
【図2】図1に示したデジタルカメラの内部構成を示すブロック図
【図3】図1に示したパーソナルコンピュータの内部構成を示すブロック図
【図4】本発明に係る情報送受信システムの作用を説明するために用いたフローチャート
【符号の説明】
100…デジタルカメラ、114…液晶モニタ、116…転送ボタン、132…メモリカード、146…USBコネクタ、148…USBインターフェース、150、212…CPU、152…システムメモリ、200…パーソナルコンピュータ(PC)、214…主メモリ、216…ハードディスク装置、230…モニタ装置、240…キーボード、250…マウス、270…インターフェース、300…USBケーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information transmission / reception system, and more particularly to a technique for automatically switching a communication mode of a device such as a digital camera connected to a host such as a personal computer.
[0002]
[Prior art]
Conventionally, when a digital camera is provided with a mode switch for switching between a shooting mode and a playback mode, and when printing an image based on image data in the digital camera, the digital camera is set to a playback mode by the mode switch. Connect the printer to the digital camera. Then, a printer that instructs the digital camera to transfer image data from the printer and generates display character data such as the number of prints and print image data based on the transferred image data has been proposed (Patent Document 1). .
[0003]
Further, in a digital camera having a still image shooting mode, a playback mode, a moving image shooting mode, and the like, when a personal computer is connected to the digital camera, a moving image shooting mode (PC camera mode) is switched from another mode in conjunction with the connection. ) Has been proposed (Patent Document 2).
[0004]
Furthermore, the conventional digital camera has a mass storage mode and a PTP (Picture Transfer Protocol) mode as communication modes when communicating with a personal computer (PC), and these modes are set in the camera setup menu. There are digital cameras that the user can select on the screen. In the case of this digital camera, when the communication mode of the camera is set to mass storage mode, it is recognized as a mass storage device (external recording medium) by the PC, and when it is set to PTP mode, an image to be transferred by the camera is selected. The selected image can be transmitted to a personal computer or the like by pressing a transfer button provided on the camera.
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 10-107981
[Patent Document 2]
Japanese Patent Laid-Open No. 2002-232769
[Problems to be solved by the invention]
Incidentally, in the printer described in Patent Document 1, when image data is captured from a digital camera, the user needs to manually operate the mode switch to set the digital camera to the reproduction mode.
[0008]
Further, the digital camera described in Patent Document 2 has a specification that switches to the PC camera mode unconditionally when a PC is connected, and the user wants to operate the camera on the PC for a use different from the PC camera mode. Sometimes, there is a problem that it is not possible to operate according to the user's intention.
[0009]
On the other hand, when a digital camera having the mass storage mode and the PTP mode is connected to a host such as a PC or a printer and a desired image is transferred to the host by pressing the image transfer button of the camera, the setup menu is used to set the camera. It is necessary to manually set the communication mode to the PTP mode. In this case, there is a high probability of forgetting to set the communication mode of the camera to the PTP mode or making a mistake, and using the setup menu Therefore, there is a problem that it takes time to switch the communication mode.
[0010]
The present invention was made in view of such circumstances, and the host can automatically switch the mode of the device without the user being aware of the state of the communication mode or mode switching of the device such as a digital camera, Accordingly, an object of the present invention is to provide an information transmission / reception system in which a user can automatically switch to a mode intended by the user without performing troublesome device mode switching operations.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, an information transmission / reception system according to claim 1 includes a communication unit having a plurality of communication modes having different communication methods for transferring information to a host, and an automatic switching between the plurality of communication modes. A device having mode switching means, a host to which the device is connected and performing command communication with the device to exchange information, and mode acquisition means for acquiring the current communication mode of the connected device; A host having mode detection means for detecting a communication mode desired by the user to be set in the device or a mode switching control means for controlling switching of the communication mode of the connected device according to an action in the host or device; The mode switching control means of the host includes a current device status acquired by the mode acquiring means. When the communication mode and the desired communication mode detected by the mode detection means do not match, a switching command for switching the current communication mode of the device to the desired communication mode is transmitted, and automatic mode switching of the device is performed. The means switches the current communication mode to the desired communication mode when receiving the switching command from the host.
[0012]
The information transmission / reception system according to claim 1 includes a host and a device, and the host and the device are connected to each other by wire or wireless so that data communication can be performed using a predetermined protocol.
[0013]
The device operates in a set communication mode among a plurality of communication modes having different communication methods, but may not be in a communication mode desired by the user. The automatic mode switching control unit of the host transmits a switching command for switching the current communication mode of the device to the desired communication mode when the current communication mode of the device is not the user desired communication mode. When the device receives a switching command from the automatic mode switching control unit of the host, the device switches the current communication mode to the desired communication mode.
[0014]
The communication mode desired by the user is detected from an action at the host or device. Thus, when the current communication mode is not the user-desired communication mode without the troublesome device mode switching operation being performed by the user, the mode is automatically switched to the mode intended by the user based on the action at the host or device. .
[0015]
As described in claim 2, in the information transmission / reception system according to claim 1, mode identification information for identifying each communication mode is assigned to the plurality of communication modes, and the mode acquisition means is connected. The mode identification information of the communication mode that can be supported by the device is acquired together with the mode identification information of the current communication mode of the device, and the mode switching control means is a communication mode that can be supported by the device acquired by the mode acquisition means. For switching to the desired communication mode only when the mode identification information of the desired communication mode is included in the common mode identification information of the mode identification information of the communication mode and the mode identification information of the communication mode that can be supported by the host. It is characterized by transmitting a switching command.
[0016]
That is, the communication mode that can be supported by the device and the communication mode that can be supported by the host may not completely match. Therefore, the host detects the communication mode that both support in common, and Automatic mode switching is possible within the range of supported communication modes.
[0017]
According to a third aspect of the present invention, in the information transmission / reception system according to the first aspect, an action that always occurs in the host or device, and a communication mode in which an action that does not overlap in each communication mode occurs is set as the desired communication mode. The mode detection unit is registered in advance, and the mode detection unit detects the desired communication mode associated with the action based on the action generated in the host or the device. For example, by selecting an image on the device and pressing the transfer button, the device mode is set to the communication mode (PTP mode) in which an image capture command is transmitted to the host and the selected image is transmitted. If the transfer button is operated when there is not, the communication mode desired by the user is detected from the operation (action) of the transfer button.
[0018]
4. The information transmission / reception system according to claim 1, wherein the device is any one of a digital camera, a scanner, and a copier, and the host is any one of a personal computer, a printer, and a server. It is.
[0019]
According to a fifth aspect of the present invention, in the information transmission / reception system according to the fourth aspect, the plurality of communication modes include two or more communication modes of a mass storage mode, a PTP mode, and a PC camera mode. .
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of an information transmission / reception system according to the present invention will be described in detail with reference to the accompanying drawings.
[0021]
FIG. 1 is a schematic configuration diagram showing an embodiment of an information transmission / reception system according to the present invention. The information transmission / reception system shown in FIG. 1 includes a digital camera 100 as a device and a personal computer (PC) 200 as a host. It is configured.
[0022]
The digital camera 100 includes a power switch 102, a shutter button 104, a mode dial 106 for setting various modes such as a shooting mode and a playback mode, zoom operation, frame advance during playback, menu selection, and the like. The multifunctional upper / lower / left / right cross key 108 to be used, the “return” button 110 for canceling the operation or returning to the previous state, the menu screen is displayed, or the cross key 108 is operated on the menu screen. A “menu / execution” button 112 for executing the selected menu, a liquid crystal monitor 114, and a transfer button 116 for transferring the selected image to the host are provided.
[0023]
The PC 200 is configured by connecting peripheral devices such as a monitor device 230, a keyboard 240, and a mouse 250 to the PC main body 210.
[0024]
The digital camera 100 and the PC 200 can be connected to each other by a USB cable 300. The digital camera 100 selects a picture and presses the transfer button 116 to transfer the picture to the PC 200. (Picture Transfer Protocol) mode, mass storage mode in which the host recognizes the digital camera 100 as a mass storage device and reads / writes images from / to the recording media in the digital camera 100, and functions as a PC camera for videoconferencing PC camera mode. These PTP mode, mass storage mode, and PC camera mode have different communication methods, and data communication is performed using different protocols.
[0025]
Further, the PC 200 supports the communication modes of the PTP mode, the mass storage mode, and the PC camera mode, and the communication mode of the digital camera 100 connected to the PC 200 is automatically set to the communication mode desired by the user. The details can be described later.
[0026]
FIG. 2 is a block diagram showing an internal configuration of the digital camera 100.
[0027]
As shown in the figure, as an imaging system of the digital camera 100, an image of a subject is formed on a light receiving surface, photoelectrically converted and output as an image signal, and processing such as white balance correction and gamma correction is performed. 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 are provided.
[0028]
As an input system of the digital camera 100, the power switch 102, the shutter button 104, the mode dial 106, the cross key 108, the “return” button 110, the “menu / execute” button 112, the transfer button 116, and the like shown in FIG. The operation unit 126 includes an I / O 128 that is a port for converting each information signal input through the operation unit 126.
[0029]
As an image conversion system of the digital camera 100, a compression / decompression unit 130 that performs compression control of image data by a technique typified by JPEG, and a process of expanding / decompressing compressed data, and a memory card 132 that can attach / detach image data And a card interface 136 for converting data for recording or reading through the card slot 134.
[0030]
As a display system of the digital camera 100, 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 for temporarily storing an image or information to be displayed. A configured frame memory 142 and an OSD 144 for on-screen display of characters, icons, and the like are provided.
[0031]
As a communication means of the digital camera 100, bidirectional communication of data including image data is performed between a USB connector 146 connected to the USB cable 300 and an external device connected via the USB connector 146. A USB interface 148 is provided. The digital camera 100 automatically enters the communication mode when connected to the host via USB. Note that the communication mode of the digital camera 100 at this time is a communication mode in which data communication with the host is last performed, or a communication mode that is appropriately set manually by the user thereafter.
[0032]
As a control unit of the digital camera 100, a central processing unit (CPU) 150 that controls the entire digital camera and controls image signal sampling control, image recording control, communication control, display control, and the like is included in the present invention. A system memory 152 composed of a ROM storing various operation programs including the mode switching process and various constants, and a RAM capable of recording an image while serving as a work area when the program is executed; A non-volatile memory 154 that stores various constants and information related to the operation of the digital camera 100 is provided.
[0033]
FIG. 3 is a block diagram showing the internal configuration of the PC 200.
[0034]
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 control program for the device, and serves as a work area when the program is executed. An operating system (OS) of the PC 200, device drivers for peripheral devices connected to the PC 200, various application software including a mode automatic switching program according to the present invention, a hard disk device 216 for storing user images, etc., and a CD- ROM drive 218, display memory 220 for temporarily storing display data, monitor device 230 such as a CRT monitor or a liquid crystal monitor for displaying images, characters, etc. based on image data, character data, etc. from display memory 220, keyboard 240 and a mouse 250 as a position input device The mouse controller 260 that detects the state of the mouse 250 and outputs signals such as the position of the mouse pointer on the monitor device 230 and the state of the mouse 250 to the CPU 212 and the digital camera 100 can be connected to input image data and the like. It comprises an interface 270 such as a USB (Universal Serial Bus) and a bus 280 for connecting the above components.
[0035]
The PC 200 having the above configuration is known except for a mode automatic switching program stored in the hard disk device 216 for automatically switching the communication mode of the digital camera 100. The explanation is omitted.
[0036]
Next, an automatic switching method of the communication mode of the digital camera 100 based on the mode automatic switching program will be described with reference to the flowchart shown in FIG.
[0037]
When the digital camera 100 (hereinafter simply referred to as “device”) is connected, the PC 200 (hereinafter simply referred to as “host”) acquires a mode ID indicating a communication mode that can be supported by the device (step S10).
[0038]
This mode ID is identification information unique to each communication mode. For example, the device has an ID number for each mode and an image type that can be supported by that mode as shown below. In response, the mode ID is transmitted.
• PTP mode: ID = 0000, support type: still image • mass storage mode: ID = 0001, support type: still image, video • PC camera mode: ID = 0002, support type: video host receives the mode ID from the device Once fetched, the mode ID of the communication mode supported in common by the host and the device is acquired (step S12). For example, when the host supports the PTP mode, the mass storage mode, and the PC camera mode, and the device supports the PTP mode and the mass storage mode, the mode ID common to the host device is ID = 0000,0001. These are two.
[0039]
The host determines whether or not the host device has a common mode ID. If there is no common mode ID, the host proceeds to step S16, and if there is a common mode ID, proceeds to step S18 ( Step S14).
[0040]
When the host proceeds to step S16, for example, an error message “cannot be connected” is displayed on the host monitor device 230 or the liquid crystal monitor 114 of the device to inform the user that connection for data communication with the device cannot be performed. On the other hand, in step S18, the mode ID of the current communication mode of the device is acquired.
[0041]
After obtaining the mode ID of the current communication mode of the device, the host waits for a specific action to occur in the host or device (step S20).
[0042]
Here, the relationship between each communication mode and a specific action will be described.
[0043]
A specific action is an action that always occurs in each mode, and an action that occurs only in that mode, and is determined in advance for each mode. For example, the host can specify each mode and a specific action as shown below. And have the relationship as information.
PTP mode (ID = 0000): The transfer button is pressed on the device Mass storage mode (ID = 0001): Image display application activation PC camera mode (ID = 0002) Video conference application activation For example, the user When the image is transferred in the PTP mode, the digital camera 100 is set to the playback mode by the mode dial 106 and the image to be transferred is displayed on the liquid crystal monitor 114 by operating the left and right keys of the cross key 108. Then, the digital camera 100 and the PC 200 are connected by the USB cable 300, and the transfer button 116 is pressed. That is, when the user tries to transfer an image in the PTP mode, the transfer button is always pressed on the device side, and when the host side presses the transfer button on the device side, the user wants the PTP mode. Judge that
[0044]
The relationship between each mode and a specific action is not limited to the above example. For example, in the case of a PC in a multi-window environment, instead of starting the application, the active window may be changed to an active window. In short, any action may be used as long as it can detect which mode the user desires in relation to the user operation.
[0045]
Further, the specific action for which the presence or absence of an action is determined in step S20 is only an action related to the common mode ID of the host device. For example, in the case of a device that does not have the PC camera mode, even if the video conference application is activated on the host side, it is not determined in step S20 that a specific action has occurred.
[0046]
Next, when it is determined in step S20 that a specific action has occurred, a mode ID (user desired mode ID) corresponding to the action is acquired from the relationship between the predetermined action and the mode ID (step S22). ).
[0047]
Subsequently, it is determined whether or not the mode ID of the current communication mode set in the device matches the desired user ID acquired in step S22 (step S24). If the current mode ID matches the desired mode ID, data communication based on the user action is performed between the host and the device in the current communication mode of the device (step S26).
[0048]
On the other hand, if the current mode ID and the desired mode ID do not match, the host sends a switching command for changing the current communication mode of the device to the user desired communication mode to the device, bus reset, The configuration is redone (steps S28, S30, S32). The device that has received this performs protocol conversion for switching the current communication mode to the desired communication mode, and then returns to step S24 (step S34).
[0049]
When the current communication mode of the device is switched to the user-desired communication mode by the protocol conversion in step S34, the host confirms in step S24 that the communication mode of the device has become the user-desired communication mode, and then the device And data communication in the communication mode desired by the user becomes possible (step S26).
[0050]
When there is a mode-specific action that is not common to the host device while waiting for an action in step S20 in FIG. 4, it is preferable to display an error message and prompt other actions.
[0051]
Further, the device according to the present system is not limited to a digital camera, but can be applied to other devices such as a scanner, a copying machine, a printer, and a combined machine of a printer and a copying machine, and the host according to the present system is not limited to a PC. It can also be applied to printers, servers, kiosk terminals, etc. Furthermore, information passed between the device and the host is not limited to images, but may be music or other information.
[0052]
Furthermore, the communication interface between the device and the host is not limited to USB, but IEEE 1394 can be applied, and is not limited to wired communication, and may be a wireless communication interface.
[0053]
【The invention's effect】
As described above, according to the present invention, the current communication mode of the device is set by the switching command transmitted from the host to the device in accordance with the action at the host or device, and the communication mode desired by the user to be set by the device. Therefore, the host can automatically switch the mode of the device without the user being aware of the state of the communication mode of the device and the mode switching. Thereby, the troublesome mode switching operation by the user at the device becomes unnecessary, and the burden of mode switching by the user can be eliminated.
[Brief description of the drawings]
1 is a schematic diagram showing an embodiment of an information transmission / reception system according to the present invention; FIG. 2 is a block diagram showing an internal configuration of the digital camera shown in FIG. 1. FIG. 3 is an internal view of the personal computer shown in FIG. FIG. 4 is a block diagram showing the configuration. FIG. 4 is a flowchart used to explain the operation of the information transmission / reception system according to the present invention.
DESCRIPTION OF SYMBOLS 100 ... Digital camera, 114 ... LCD monitor, 116 ... Transfer button, 132 ... Memory card, 146 ... USB connector, 148 ... USB interface, 150, 212 ... CPU, 152 ... System memory, 200 ... Personal computer (PC), 214 ... Main memory, 216 ... Hard disk device, 230 ... Monitor device, 240 ... Keyboard, 250 ... Mouse, 270 ... Interface, 300 ... USB cable

Claims (5)

ホストに情報を受け渡すための通信方式が異なる複数の通信モードを有する通信手段と、前記複数の通信モードを自動的に切り替える自動モード切替手段とを有するデバイスと、
デバイスが接続され、デバイスとの間でコマンド通信して情報の受け渡しを行うホストであって、接続されたデバイスの現在の通信モードを取得するモード取得手段と、ホスト又はデバイスでのアクションに応じて該デバイスで設定されるべきユーザ希望の通信モードを検知するモード検知手段と、接続されたデバイスの通信モードの切り替えを制御するモード切替制御手段とを有するホストと、からなり、
前記ホストのモード切替制御手段は、前記モード取得手段により取得したデバイスの現在の通信モードと前記モード検知手段により検知した希望の通信モードとが不一致のときに、前記デバイスの現在の通信モードを前記希望の通信モードに切り替えるための切替コマンドを送信し、
前記デバイスの自動モード切替手段は、前記ホストから前記切替コマンドを受信すると、現在の通信モードを前記希望の通信モードに切り替えることを特徴とする情報送受信システム。
A communication unit having a plurality of communication modes with different communication methods for passing information to the host, and a device having an automatic mode switching unit for automatically switching the plurality of communication modes;
A host to which a device is connected and performs command communication with the device to exchange information, and mode acquisition means for acquiring a current communication mode of the connected device and an action in the host or the device A host having mode detection means for detecting a communication mode desired by a user to be set in the device and mode switching control means for controlling switching of the communication mode of the connected device;
The host mode switching control means sets the current communication mode of the device when the current communication mode of the device acquired by the mode acquisition means and the desired communication mode detected by the mode detection means do not match. Send a switch command to switch to the desired communication mode,
The device automatic mode switching means switches the current communication mode to the desired communication mode when receiving the switching command from the host.
前記複数の通信モードには、各通信モードを識別するためのモード識別情報が付与されており、
前記モード取得手段は、接続されたデバイスの現在の通信モードのモード識別情報とともに、該デバイスがサポート可能な通信モードのモード識別情報を取得し、
前記モード切替制御手段は、前記モード取得手段により取得したデバイスがサポート可能な通信モードのモード識別情報とホストがサポート可能な通信モードのモード識別情報との共通のモード識別情報の中に前記希望の通信モードのモード識別情報が含まれるときのみ、前記希望の通信モードに切り替えるための切替コマンドを送信することを特徴とする請求項1の情報送受信システム。
Mode identification information for identifying each communication mode is given to the plurality of communication modes,
The mode acquisition means acquires mode identification information of a communication mode that can be supported by the device together with mode identification information of the current communication mode of the connected device,
The mode switching control means includes the desired mode information in the common mode identification information of the mode identification information of the communication mode that can be supported by the device acquired by the mode acquisition means and the mode identification information of the communication mode that can be supported by the host. 2. The information transmission / reception system according to claim 1, wherein a switching command for switching to the desired communication mode is transmitted only when mode identification information of the communication mode is included.
前記ホスト又はデバイスで必ず発生するアクションであって、各通信モードでそれぞれ重複しないアクションが発生する通信モードを前記希望の通信モードとして予め登録し、前記モード検知手段は、ホスト又はデバイスで発生したアクションに基づいて該アクションに関連付けられた前記希望の通信モードを検知することを特徴とする請求項1の情報送受信システム。An action that must occur in the host or device, and in which a communication mode in which a non-overlapping action occurs in each communication mode is registered in advance as the desired communication mode, and the mode detection means is an action that occurs in the host or device The information transmission / reception system according to claim 1, wherein the desired communication mode associated with the action is detected based on the action. 前記デバイスはデジタルカメラ、スキャナー及び複写機のうちのいずれかであり、前記ホストは、パーソナルコンピュータ、プリンタ及びサーバのうちのいずれかである請求項1の情報送受信システム。2. The information transmission / reception system according to claim 1, wherein the device is any one of a digital camera, a scanner, and a copying machine, and the host is any one of a personal computer, a printer, and a server. 前記複数の通信モードは、マスストレージモード、PTPモード、及びPCカメラモードのうちの2以上の通信モードを含むことを特徴とする請求項4の情報送受信システム。5. The information transmission / reception system according to claim 4, wherein the plurality of communication modes include two or more communication modes of a mass storage mode, a PTP mode, and a PC camera mode.
JP2003102465A 2003-04-07 2003-04-07 Information transmitting and receiving system Pending JP2004310400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003102465A JP2004310400A (en) 2003-04-07 2003-04-07 Information transmitting and receiving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003102465A JP2004310400A (en) 2003-04-07 2003-04-07 Information transmitting and receiving system

Publications (1)

Publication Number Publication Date
JP2004310400A true JP2004310400A (en) 2004-11-04

Family

ID=33465885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003102465A Pending JP2004310400A (en) 2003-04-07 2003-04-07 Information transmitting and receiving system

Country Status (1)

Country Link
JP (1) JP2004310400A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008148217A (en) * 2006-12-13 2008-06-26 Canon Inc Reproducing apparatus and method, program, and storage medium
JP2008526143A (en) * 2004-12-31 2008-07-17 聯想(北京)有限公司 Method of acquiring video data using a camera-equipped mobile phone as a computer camera
JP2009246906A (en) * 2008-03-31 2009-10-22 Olympus Imaging Corp Digital camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008526143A (en) * 2004-12-31 2008-07-17 聯想(北京)有限公司 Method of acquiring video data using a camera-equipped mobile phone as a computer camera
JP2008148217A (en) * 2006-12-13 2008-06-26 Canon Inc Reproducing apparatus and method, program, and storage medium
JP2009246906A (en) * 2008-03-31 2009-10-22 Olympus Imaging Corp Digital camera

Similar Documents

Publication Publication Date Title
US7644196B2 (en) USB function apparatus which supports a plurality of USB descriptors
JP2000196986A (en) Electronic image pickup device
TWI239208B (en) Image transmitting and receiving system, image transmitting device and receiving device
JP5608981B2 (en) Image display system and image display apparatus
JP4529411B2 (en) Information processing apparatus, imaging apparatus, and communication method
JP3927874B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP2004310400A (en) Information transmitting and receiving system
JP4479455B2 (en) Image recording apparatus, image supply method, and program
JP4871819B2 (en) Image storage system, image storage device, and control method of image storage device
JP4805532B2 (en) Device equipment
US10142497B2 (en) Image printing system, method in image processing apparatus, and storage medium
JP3735968B2 (en) Direct print adapter
JP2001238105A (en) Digital camera and picture printing system using the same
JP4918145B2 (en) Device device and mode switching method thereof
JP4262280B2 (en) Image processing apparatus, control method therefor, and program
JP2005131883A (en) Image output system, image data repeating installation and image data repeating method
JP5173687B2 (en) Information processing apparatus, control method thereof, and program
JP2005295478A (en) External device and electronic device capable of transmission connection
JP3854981B2 (en) Camera, printer, and control method thereof
JP2006227821A (en) Peripheral equipment control method
JP5379425B2 (en) Image output apparatus and control method thereof
JP2004229328A (en) Electronic imaging apparatus
JP4089741B2 (en) Image processing device
JP2007060659A (en) Image processing apparatus
JP2005142731A (en) For