JP4918145B2 - Device device and mode switching method thereof - Google Patents

Device device and mode switching method thereof Download PDF

Info

Publication number
JP4918145B2
JP4918145B2 JP2010014305A JP2010014305A JP4918145B2 JP 4918145 B2 JP4918145 B2 JP 4918145B2 JP 2010014305 A JP2010014305 A JP 2010014305A JP 2010014305 A JP2010014305 A JP 2010014305A JP 4918145 B2 JP4918145 B2 JP 4918145B2
Authority
JP
Japan
Prior art keywords
function
command
mode
removable disk
requesting
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
JP2010014305A
Other languages
Japanese (ja)
Other versions
JP2010114939A (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 JP2010014305A priority Critical patent/JP4918145B2/en
Publication of JP2010114939A publication Critical patent/JP2010114939A/en
Application granted granted Critical
Publication of JP4918145B2 publication Critical patent/JP4918145B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明はデバイス機器及びそのモード切替方法に係り、特に接続されるホスト機器に応じて通信モードを切り替えることにより、そのホスト機器に応じた機能を提供可能なデバイス機器及びそのモード切替方法に関する。   The present invention relates to a device device and a mode switching method thereof, and more particularly to a device device capable of providing a function corresponding to a host device by switching a communication mode according to a connected host device and a mode switching method thereof.

従来よりUSBを用いてデジタルカメラとパーソナルコンピュータ(PC)とを接続し、デジタルカメラに記録されている画像データをPCに取り込むことが行なわれている。また、近年ではUSBを用いてデジタルカメラとプリンタを直接接続し、画像データをデジタルカメラから直接プリンタに出力して、プリント等することも行なわれている(いわゆる、PictBridge)。   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).

ところで、デジタルカメラをPCに接続する場合とプリンタに接続する場合とではコマンド形式が異なり、デジタルカメラをPC又はプリンタに接続する場合には、接続先の機器に応じた通信モードにカメラの通信モードをあわせる必要がある。たとえば、デジタルカメラをPCに接続する場合は、カメラの通信モードをPCモードに設定し、プリンタに接続する場合は、通信モードをダイレクトプリントモードに設定して、接続する必要がある。そして、従来、このデジタルカメラの通信モードの切り替えはセットアップメニューあるいはモード切替スイッチによってユーザが手動で行なっていた(たとえば、特許文献1)。   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).

また、特許文献2には、コマンド形式、通信方式の異なるカメラを映像信号・制御信号切り替え装置を介してPC等に接続することにより、複数台のカメラをコントロール可能にすることが提案されている。   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. .

特開2002−305677号公報Japanese Patent Laid-Open No. 2002-305679 特開平10−66059号公報JP-A-10-66059

しかしながら、従来のデジタルカメラのように、通信モードの切り替えをユーザが手動で行なうと、変え間違いや変え忘れを起こしやすいという欠点があった。また、セットアップメニューを用いてカメラの通信モードを設定する場合には、通信モードの切り替えに手間がかかるという欠点もあった。   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.

一方、特許文献2のように、映像信号・制御信号切替え装置を介してPC等に接続する方式では、別途映像信号・制御信号切替え装置を用意しなければならず、システムが大掛かりになるという欠点がある。   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.

本発明は、このような事情に鑑みてなされたもので、接続するホスト機器に応じて通信モードを自動的に切り替えることができるデバイス機器及びそのモード切替方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a device device capable of automatically switching a communication mode in accordance with a host device to be connected and a mode switching method thereof.

請求項1に係る発明は、前記目的を達成するために、通信手段を介してホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介してホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器であって、前記通信手段を介して接続された直後にホスト機器から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後にホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、前記判定手段による判定の結果、前記通信手段を介して接続された直後に前記ホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定する切替手段と、を備えたことを特徴とするデバイス機器を提供する。   In order to achieve the above object, the invention according to claim 1 is connected to the host device via the communication means and provides a function as a removable disk, and connected to the host device via the communication means. A device device having a direct print mode for providing a function as a print client, and requesting a command received from a host device immediately after being connected via the communication means to function as the removable disk A command received from the host device immediately after being connected via the communication means is determined as to whether or not the device can be interpreted as a command requesting to function as the print client. Require device to function as the removable disk A determination unit that determines whether the command is a command that requests to function as the print client, and as a result of determination by the determination unit, from the host device immediately after being connected via the communication unit If the received command is a command requesting that the device device function as the removable disk, the mode of the device device is switched to the PC mode and set to request functioning as the print client. In the case of a command, there is provided a device device comprising switching means for switching and setting the mode of the device device to the direct print mode.

請求項2に係る発明は、前記目的を達成するために、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をリムーバブルディスクとして機能させることを要求するコマンドを送信する第1のホスト機器と、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をプリントクライアントとして機能させることを要求するコマンドを送信する第2のホスト機器と、に接続可能なデバイス機器であって、通信手段を介して前記第1のホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介して前記第2のホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器において、前記通信手段を介して接続された直後に接続先から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、前記判定手段による判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定する切替手段と、を備えたことを特徴とするデバイス機器を提供する。   In order to achieve the above object, the invention according to claim 2 is a command that requests the device device to function as a removable disk when the device device is connected via the communication means. When a device device is connected via a communication means to a first host device that transmits the second host device, a second command is transmitted to request the device device to cause the device device to function as a print client. A device device connectable to a host device, a PC mode connected to the first host device via a communication means and providing a function as a removable disk; and the second device via a communication means. Device device with a direct print mode that is connected to the host device and provides a print client function In this case, whether the command received from the connection destination immediately after being connected via the communication means can be interpreted as a command requesting to function as the removable disk, or a command requesting to function as the print client Whether the command received from the connection destination immediately after being connected via the communication means is a command requesting the device device to function as the removable disk, or A determination unit that determines whether the command is a command requesting to function as a print client; and a result of determination by the determination unit is that the command received from the connection destination immediately after being connected via the communication unit is the device device Must function as a removable disk. If the command is a command to request that the mode of the device device is switched to the PC mode and request to function as the print client, the mode of the device device is switched to the direct print mode. And switching means for setting the device.

請求項3に係る発明は、前記目的を達成するために、前記第1のホストは、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、前記リムーバブルディスクとして機能させることを要求するコマンドとして、ストレージサーバとしての機能を要求するコマンドを送信するとともに、ストレージクライアントとしての機能ができることを通知し、前記第2のホスト機器は、通信手段を介してデバイス機器が接続されると、該デバイス機器に対してプリントクライアントとしての機能を要求するコマンドを送信するとともに、プリントサーバとしての機能が提供できることを通知することを特徴とする請求項2に記載のデバイス機器を提供する。   In order to achieve the above object, the first host causes the first host to function as the removable disk when the device is connected via the communication means. A command requesting a function as a storage server is transmitted as a command for requesting storage, and a notification is made that the function as a storage client is possible. The second host device is connected to a device device via a communication means. The device apparatus according to claim 2, wherein a command requesting a function as a print client is transmitted to the device apparatus, and notification that the function as a print server can be provided is provided.

請求項4に係る発明は、前記目的を達成するために、通信手段を介して接続された直後に接続先から受信したコマンドをリムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、前記判定手段による判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをリムーバブルディスクとしての機能を提供するPCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをプリントクライアントとしての機能を提供するダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器を提供する。   Whether or not the invention according to claim 4 can be interpreted as a command for requesting that a command received from a connection destination immediately after being connected via a communication means to function as a removable disk to achieve the above object, It is determined whether or not it can be interpreted as a command requesting to function as a print client, and a command received from a connection destination immediately after being connected via the communication means causes the device device to function as the removable disk. A determination unit that determines whether the command is a command requesting to function as a print client, and a result of determination by the determination unit is that the connection is performed immediately after being connected via the communication unit. The command received from the first place the device device in the removable disk. If the command is a command requesting to function as a print client, the mode of the device device is set to be switched to a PC mode that provides a function as a removable disk. The device apparatus is characterized in that the mode of the device apparatus is set by switching to a direct print mode that provides a function as a print client.

請求項5に係る発明は、前記目的を達成するために、通信手段を介してホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介してホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器のモード切替方法であって、前記通信手段を介して接続された直後にホスト機器から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後にホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定し、前記判定の結果、前記通信手段を介して接続された直後に前記ホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器のモード切替方法を提供する。   In order to achieve the object, the invention according to claim 5 is connected to the host device via the communication means and provides a function as a removable disk, and connected to the host device via the communication means. A mode switching method of a device device having a direct print mode that provides a function as a print client, wherein a command received from a host device immediately after being connected via the communication unit is made to function as the removable disk A command received from the host device immediately after being connected via the communication means, and whether it can be interpreted as a command requesting to function as the print client. But the device device functions as the removable disk And whether the command is a command requesting to function as the print client. As a result of the determination, the command is received from the host device immediately after being connected via the communication means. If the command is a command that requests that the device device function as the removable disk, the mode of the device device is set by switching to the PC mode and requested to function as the print client. In some cases, there is provided a mode switching method for a device device, wherein the mode of the device device is set by switching to the direct print mode.

請求項6に係る発明は、前記目的を達成するために、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をリムーバブルディスクとして機能させることを要求するコマンドを送信する第1のホスト機器と、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をプリントクライアントとして機能させることを要求するコマンドを送信する第2のホスト機器と、に接続可能なデバイス機器であって、通信手段を介して前記第1のホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介して前記第2のホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器のモード切替方法において、前記通信手段を介して接続された直後に接続先から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定し、前記判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器のモード切替方法を提供する。   The invention according to claim 6 is a command for requesting the device equipment to function as a removable disk when the device equipment is connected via the communication means in order to achieve the object. When a device device is connected via a communication means to a first host device that transmits the second host device, a second command is transmitted to request the device device to cause the device device to function as a print client. A device device connectable to a host device, a PC mode connected to the first host device via a communication means and providing a function as a removable disk; and the second device via a communication means. Device device with a direct print mode that is connected to the host device and provides a print client function In the mode switching method, whether the command received from the connection destination immediately after being connected via the communication means can be interpreted as a command requesting to function as the removable disk, is requested to function as the print client. Whether the command received from the connection destination immediately after being connected via the communication means is a command requesting the device device to function as the removable disk. Determining whether the command is a command requesting to function as the print client, and as a result of the determination, a command received from a connection destination immediately after being connected via the communication unit Request to function as a removable disk If the command is a command for requesting to function as the print client, the mode of the device device is switched to the direct print mode. A mode switching method for device devices is provided.

請求項7に係る発明は、前記目的を達成するために、前記第1のホストは、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、前記リムーバブルディスクとして機能させることを要求するコマンドとして、ストレージサーバとしての機能を要求するコマンドを送信するとともに、ストレージクライアントとしての機能ができることを通知し、前記第2のホスト機器は、通信手段を介してデバイス機器が接続されると、該デバイス機器に対してプリントクライアントとしての機能を要求するコマンドを送信するとともに、プリントサーバとしての機能が提供できることを通知することを特徴とする請求項6に記載のデバイス機器のモード切替方法を提供する。   In order to achieve the above object, the first host causes the first host device to function as the removable disk when the device device is connected via communication means. A command requesting a function as a storage server is transmitted as a command for requesting storage, and a notification is made that the function as a storage client is possible. The second host device is connected to a device device via a communication means. 7. A device device mode switching method according to claim 6, wherein a command requesting a function as a print client is transmitted to the device device, and a notification that the function as a print server can be provided is provided. I will provide a.

請求項8に係る発明は、前記目的を達成するために、通信手段を介して接続された直後に接続先から受信したコマンドをリムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定し、前記判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをリムーバブルディスクとしての機能を提供するPCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをプリントクライアントとしての機能を提供するダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器のモード切替方法を提供する。   Whether or not the invention according to claim 8 can be interpreted as a command for requesting that a command received from a connection destination immediately after being connected via a communication means to function as a removable disk to achieve the above object, It is determined whether or not it can be interpreted as a command requesting to function as a print client, and a command received from a connection destination immediately after being connected via the communication means causes the device device to function as the removable disk. A command received from a connection destination immediately after being connected via the communication means as a result of the determination. It is necessary for the device device to function as the removable disk. If the command is a command to switch the mode of the device device to a PC mode that provides a function as a removable disk and request to function as the print client, the mode of the device device Is switched to a direct print mode that provides a function as a print client, and a device device mode switching method is provided.

本発明によれば、通信手段を介してデバイス機器をホスト機器に接続すると、その接続直後にホスト機器から与えられるコマンドに基づいて、判定手段が接続されたホスト機器に対応する通信モードを判定する。そして、その判定手段の判定結果に基づいてデバイス機器の通信モードが切替手段によって自動的に切り替えられる。このように本発明によれば、デバイス機器をホスト機器に接続するだけで、デバイス機器の通信モードをホスト機器に応じたモードに自動設定することができる。これにより、通信モードの変え忘れや変え間違えを生じることなく、確実にホスト機器に対応した通信モードに設定することができ、操作性も向上する。   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.

本発明によれば、デジタルカメラをパーソナルコンピュータに接続すると、その接続直後にパーソナルコンピュータから与えられるコマンドに基づいてデジタルカメラのモードがPCモードに設定される。また、デジタルカメラをプリンタに接続すると、その接続直後にプリンタから与えられるコマンドに基づいてデジタルカメラのモードがダイレクトプリントモードに設定される。   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.

以上説明したように、本発明によれば、デバイス機器をホスト機器に接続するだけで、デバイス機器の通信モードをホスト機器に応じたモードに自動設定することができるので、通信モードの変え忘れや変え間違えを生じることなく、確実にホスト機器に対応した通信モードに設定することができる。   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.

デバイス機器としてのデジタルカメラをホスト機器としてのPC又はプリンタに接続する場合のシステム構成図System configuration diagram when connecting a digital camera as a device to a PC or printer as a host device デジタルカメラの背面図Rear view of digital camera デジタルカメラの内部構成を示すブロック図Block diagram showing the internal configuration of the digital camera PCの内部構成を示すブロック図Block diagram showing internal configuration of PC プリンタの内部構成を示すブロック図Block diagram showing the internal configuration of the printer 通信モードの切替の概念図Conceptual diagram of communication mode switching デジタルカメラの通信モードの切替手順を示すフローチャートFlow chart showing switching procedure of communication mode of digital camera

以下、添付図面に従って本発明に係るデバイス機器及びそのモード切替方法の好ましい実施の形態について詳説する。   Hereinafter, preferred embodiments of a device device and a mode switching method thereof according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、デバイス機器としてのデジタルカメラ100をホスト機器としてのPC200又はプリンタ300に接続する場合のシステム構成図である。同図に示すように、デジタルカメラ100は、PC200又はプリンタ300に対してUSBケーブル400で接続される。   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.

PC200に接続されたデジタルカメラ100は、PC200に対してリムーバブルディスクとしての機能(Storage Server機能)を提供し、プリンタ300に接続されたデジタルカメラ100は、プリンタ300に対してメモリカードに記録されている画像を出力して、プリントを行なわせる機能(Print Client機能)を提供する。   The digital camera 100 connected to the PC 200 provides the PC 200 with a function as a removable disk (Storage Server function). The digital camera 100 connected to the printer 300 is recorded on a memory card with respect to the printer 300. A function (Print Client function) is provided to output a printed image and perform printing.

ところで、デジタルカメラ100をPC200に接続する場合とプリンタ300に接続する場合とでは、コマンド形式が異なり、デジタルカメラ100は、接続先のホスト機器に合わせた通信モードに設定する必要がある。すなわち、デジタルカメラ100をPC200に接続する場合は、PC200との通信をサポートした「PCモード」に設定し、プリンタ300に接続する場合は、プリンタ300との通信をサポートした「ダイレクトプリントモード」に設定する必要がある。本実施の形態のデジタルカメラ100は、この接続先のホスト機器に応じた通信モードの切り替えを自動で行なう。   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.

図2は、デジタルカメラ100の背面図である。同図に示すように、デジタルカメラ100の背面には、ファインダ接眼部102、モードスイッチ104、十字キー106、MENU/OKボタン108、BACKボタン110、表示ボタン112、液晶モニタ114が設けらており、上面にはシャッタボタン118が設けられている。また、図示されていないが、左側面にはUSBコネクタ、電源端子、ビデオ端子が設けられている。   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.

モードスイッチ104は、モードの切り替えを指示するボタンとして機能し、このモードスイッチ104をスライド操作することにより、カメラのモードが「撮影モード」又は「再生モード」に設定される。   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.

十字キー106は、上下左右4方向の指示を入力するボタンとして機能し、メニュー画面に表示されたメニュー項目の選択等に使用される。また、撮影時に上下のボタンがズームボタンとして機能するとともに、再生時に左右のボタンがコマ送り/コマ戻しボタンとして機能する。   The cross key 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.

MENU/OKボタン108は、メニュー画面の表示指示や選択項目の決定指示等を入力するボタンとして機能し、BACKボタン110は、操作中止の指示や一つ前の操作状態に戻すことを指示するボタンとして機能する。また、表示ボタン112は、液晶モニタ114へのスルー画像の表示/非表示等の切り替えを指示するボタンとして機能する。   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.

図3はデジタルカメラ100の内部構成を示すブロック図である。同図に示すように、このデジタルカメラ100は、撮像系として、被写体像を受光面に結像させて光電変換し、画像信号として出力する撮像部120と、ホワイトバランス補正、ガンマ補正等の処理を行う信号処理部122と、アナログの画像信号をデジタルの画像データに変換するA/D変換器124とを備えている。   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.

また、入力系として、上述したモードスイッチ104、十字キー106、MENU/OKボタン108、BACKボタン110、表示ボタン112、シャッタボタン118等の操作手段を含む操作部126と、この操作部126から入力された信号を変換するポートであるI/O128とを備え、画像変換系として、画像データをJPEGに代表される手法で圧縮制御したり、圧縮したデータを伸張展開制御する処理を行う圧縮伸長部130と、画像データを着脱可能なメモリカード132に記録したり、読み出したりするためにデータを変換するカードインターフェイス136とを備えている。   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.

また、表示系として、液晶モニタ114と、画像等を液晶モニタ114に表示するための信号に変換するD/A変換器140と、表示する画像や情報を一時記憶するためのVRAM等で構成されているフレームメモリ142と、文字やアイコン等をオンスクリーンディスプレイするOSD144とを備え、通信手段として、USBケーブル400が接続されるUSBコネクタ146と、このUSBコネクタ146を介して接続されたホスト機器との間で画像データを含むデータの双方向通信を行うためのUSBコントローラ148とを備えている。   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.

また、コントロール部として、デジタルカメラ全体の制御を行うとともに、画像信号のサンプリング制御、画像の記録制御、通信制御、表示制御等の制御を行う中央処理装置(CPU)150と、後述する通信モードの切り替えプログラムを含む各種動作プログラムや各定数が記憶されているROMと、プログラム実行時に作業領域となるRAMとを含むシステムメモリ152と、デジタルカメラ100の動作に関する各種定数や情報を記憶する不揮発性メモリ154とを備えている。   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, and the like, 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.

なお、このデジタルカメラ100は、ホスト機器へのUSB接続をトリガとして、その動作モードを通信モードに移行する。通信モードとしては、上記のようにPC200に接続されて、PC200からリムーバブルディスク(マスストレージデバイス)として認識させる「PCモード」と、プリンタ300に接続されて、プリンタ300に対してメモリカード132に記録されている画像をプリントさせる「ダイレクトプリントモード」とを備えており、接続されるホスト機器に応じて自動的に切り替えられる。そして、設定された通信モードの下で所定のコマンド形式に従ったデータの送受信が行なわれる。なお、この通信モードの切り替えについては、後に詳述する。   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.

図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とから構成されている。   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.

このPC200は、デジタルカメラ100へのUSB接続をトリガとして、その動作モードを通信モードに移行し、デジタルカメラ100をPC200からリムーバブルディスク(マスストレージデバイス)として認識させる。すなわち、USB接続されたデジタルカメラ100に対してストレージサーバとしての機能を要求するとともに、ストレージクライアントとしての機能が提供できることを通知し、接続を確立させる。   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.

図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とから構成されている。   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.

このプリンタ300は、デジタルカメラ100へのUSB接続をトリガとして、その動作モードを通信モードに移行し、デジタルカメラ100に対してダイレクトプリントの機能を提供する。すなわち、USB接続されたデジタルカメラ100に対してプリントクライアントとしての機能を要求するとともに、プリントサーバとしての機能が提供できることを通知し、接続を確立させる。   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.

次に、デジタルカメラ100をホスト機器に接続した場合における通信モードの自動切替について説明する。   Next, automatic switching of communication modes when the digital camera 100 is connected to a host device will be described.

上記のように、本実施の形態のデジタルカメラ100は、USBケーブル400を介して接続されるホスト機器との通信モードに「PCモード」と「ダイレクトプリントモード」とを備えている。そして、PC200に接続すると、図6(a)に示すように、通信モードが「PCモード」に自動設定され、プリンタ300に接続すると、図6(b)に示すように、通信モードが「ダイレクトプリントモード」に自動設定される。   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.

以下、このデジタルカメラ100の通信モードの切替手順について図7に示すフローチャートを参照しながら説明する。   Hereinafter, the procedure for switching the communication mode of the digital camera 100 will be described with reference to the flowchart shown in FIG.

USBケーブル400によってデジタルカメラ100をホスト機器に接続すると(ステップS10)、その接続をトリガとしてデジタルカメラ100は、動作モードが通信モードに移行する。   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.

一方、ホスト機器は、そのホスト機器が要求する機能の下でデジタルカメラ100との接続を確立するためのコマンドを送信する。たとえば、ホスト機器がPC200の場合は、デジタルカメラ100をリムーバブルディスクとして機能させるためのコマンド(「PCモード」のコマンド)を送信し、プリンタ300の場合は、デジタルカメラ100をプリントクライアントとして機能させるためのコマンド(「ダイレクトプリントモード」のコマンド)を送信する。   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).

デジタルカメラ100は、このホスト機器との接続直後にホスト機器から送信されるコマンドを受信し(ステップS12)、設定すべき通信モードを判定する。すなわち、受信したコマンドを「PCモード」と「ダイレクトプリントモード」の双方で順に解釈し、いずれのモードのコマンドフォーマットに適合するかを判定する。そして、フォーマットエラーの生じない方のモードに通信モードを設定し、接続を確立する。   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.

まず、受信したコマンドが「PCモード」のコマンドか否かを判定する(ステップS14)。すなわち、受信したコマンドを「PCモード」のコマンドとして解釈できるか否か(コマンドのフォーマットにエラーを生じるか否か)を判定する。この判定の結果、受信したコマンドが「PCモード」のコマンドであれば、デジタルカメラ100のCPU150は、通信モードを「PCモード」に設定して、PC200との接続を確立する。そして、PC200に対してリムーバブルディスクとして機能させる(ステップS16)。   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).

一方、受信したコマンドが「PCモード」のコマンドでないと判定した場合、次に、受信したコマンドが「ダイレクトプリントモード」のコマンドか否かを判定する(ステップS18)。すなわち、受信したコマンドを「ダイレクトプリントモード」のコマンドとして解釈できるか否か(コマンドのフォーマットにエラーを生じるか否か)を判定する。受信したコマンドが「ダイレクトプリントモード」のコマンドであれば、デジタルカメラ100のCPU150は、通信モードを「ダイレクトプリントモード」に設定して、プリンタ300との接続を確立する。そして、プリンタ300に対してプリントクライアントとして機能させる(ステップS20)。   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).

PC200と接続されたデジタルカメラ100は、リムーバブルディスクとして認識され、PC200は、デジタルカメラ100に装着されたメモリカード132に対して画像データを含むデータの読み書きが可能になる。   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.

一方、プリンタ300と接続されたデジタルカメラ100は、ダイレクトプリントの機能が有効になり、デジタルカメラ100から直接プリンタに画像データを出力して、プリントさせることが可能になる。このダイレクトプリントの機能により、デジタルカメラ100は、たとえば液晶モニタ114に表示している画像のプリントや液晶モニタ114で選択された複数の画像のプリント、DPOF指定された画像の自動プリント、全画像のインデックスプリント、全画像のプリントのほか、液晶モニタ114で切り抜き指定した画像の部分プリント、同一画像の複数枚のプリント、日付を付加したプリント、画像サイズを指定してのプリント等を行なうことが可能になる。   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.

以上説明したように、本実施の形態のデジタルカメラ100によれば、ホスト機器とUSB接続すると、その接続直後にホスト機器から送られてくるコマンドに応じて通信モードが自動的に切り替わる。これにより、通信モードの変え忘れや変え間違いを起こすことなく、常に最適な通信モードに設定することができる。また、ユーザは、ホスト機器との接続時に通信モードの切り替えをする必要がなくなり、操作性が向上する。   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.

なお、本実施の形態では、通信手段としてUSBインターフェイスを使用してデバイス機器とホスト機器とを接続しているが、他の通信インターフェイス、たとえばIEEE1394等の通信インターフェイスを使用してデバイス機器とホスト機器とを接続してもよい。   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.

また、本実施の形態では、デバイス機器であるデジタルカメラと、ホスト機器であるPC又はプリンタとを接続する場合を例に説明したが、本発明は他のデバイス機器とホスト機器とを接続する場合にも同様に適用することができる。   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.

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ケーブル   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 (8)

通信手段を介してホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介してホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器であって、
前記通信手段を介して接続された直後にホスト機器から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後にホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、
前記判定手段による判定の結果、前記通信手段を介して接続された直後に前記ホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定する切替手段と、
を備えたことを特徴とするデバイス機器。
A device having a PC mode that provides a function as a removable disk connected to a host device via a communication means, and a direct print mode that provides a function as a print client connected to the host device via a communication means Equipment,
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:
通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をリムーバブルディスクとして機能させることを要求するコマンドを送信する第1のホスト機器と、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をプリントクライアントとして機能させることを要求するコマンドを送信する第2のホスト機器と、に接続可能なデバイス機器であって、通信手段を介して前記第1のホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介して前記第2のホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器において、
前記通信手段を介して接続された直後に接続先から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、
前記判定手段による判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定する切替手段と、
を備えたことを特徴とするデバイス機器。
When the device device is connected via the communication unit, the first host device that transmits a command requesting the device device to function as a removable disk, and the device via the communication unit When a device is connected, the device device is connectable to a second host device that transmits a command for requesting the device device to function as a print client. A PC mode that provides a function as a removable disk connected to the first host device via a direct print, and a direct print that provides a function as a print client connected to the second host device via a communication means In device equipment with mode,
Whether a command received from a connection destination 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 connection destination 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;
If the result of determination by the determination means is that the command received from the connection destination immediately after being connected via the communication means is a command requesting the device apparatus to function as the removable disk, the device apparatus If the command is to switch the PC mode to the PC mode and request to function as the print client, the switching unit switches the mode of the device device to the direct print mode, and
Device equipment characterized by comprising:
前記第1のホストは、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、前記リムーバブルディスクとして機能させることを要求するコマンドとして、ストレージサーバとしての機能を要求するコマンドを送信するとともに、ストレージクライアントとしての機能ができることを通知し、
前記第2のホスト機器は、通信手段を介してデバイス機器が接続されると、該デバイス機器に対してプリントクライアントとしての機能を要求するコマンドを送信するとともに、プリントサーバとしての機能が提供できることを通知することを特徴とする請求項2に記載のデバイス機器。
When a device device is connected via the communication means, the first host sends a command requesting a function as a storage server as a command requesting the device device to function as the removable disk. As well as notification that it can function as a storage client,
When the second host device is connected to the device device via the communication means, the second host device transmits a command requesting a function as a print client to the device device and can provide a function as a print server. The device device according to claim 2, wherein notification is performed.
通信手段を介して接続された直後に接続先から受信したコマンドをリムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定手段と、
前記判定手段による判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをリムーバブルディスクとしての機能を提供するPCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをプリントクライアントとしての機能を提供するダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器。
Whether a command received from a connection destination immediately after being connected via a communication means can be interpreted as a command requesting to function as a removable disk, or as a command requesting to function as a print client The command received from the connection destination immediately after being connected via the communication means is a command requesting that the device device function as the removable disk, or function as the print client. Determining means for determining whether the command requests
If the result of determination by the determination means is that the command received from the connection destination immediately after being connected via the communication means is a command requesting the device apparatus to function as the removable disk, the device apparatus In the case of a command for switching the mode to a PC mode that provides a function as a removable disk and requesting the function as the print client, the mode of the device device is a direct that provides a function as a print client. Device device that is set by switching to print mode.
通信手段を介してホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介してホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器のモード切替方法であって、
前記通信手段を介して接続された直後にホスト機器から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後にホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定し、
前記判定の結果、前記通信手段を介して接続された直後に前記ホスト機器から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器のモード切替方法。
A device having a PC mode that provides a function as a removable disk connected to a host device via a communication means, and a direct print mode that provides a function as a print client connected to the host device via a communication means A device mode switching method,
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 Determine if the command is a function that requires it to function,
As a result of the determination, if the command received from the host device immediately after being connected via the communication means is a command requesting that the device device function as the removable disk, the mode of the device device Is a command for requesting to switch to the PC mode and function as the print client, the mode of the device device is set by switching the mode of the device device to the direct print mode. Switching method.
通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をリムーバブルディスクとして機能させることを要求するコマンドを送信する第1のホスト機器と、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、該デバイス機器をプリントクライアントとして機能させることを要求するコマンドを送信する第2のホスト機器と、に接続可能なデバイス機器であって、通信手段を介して前記第1のホスト機器に接続されてリムーバブルディスクとしての機能を提供するPCモードと、通信手段を介して前記第2のホスト機器に接続されてプリントクライアントとしての機能を提供するダイレクトプリントモードとを備えたデバイス機器のモード切替方法において、
前記通信手段を介して接続された直後に接続先から受信したコマンドを前記リムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、前記プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定する判定し、
前記判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記PCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードを前記ダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器のモード切替方法。
When the device device is connected via the communication unit, the first host device that transmits a command requesting the device device to function as a removable disk, and the device via the communication unit When a device is connected, the device device is connectable to a second host device that transmits a command for requesting the device device to function as a print client. A PC mode that provides a function as a removable disk connected to the first host device via a direct print, and a direct print that provides a function as a print client connected to the second host device via a communication means In a mode switching method of a device device having a mode,
Whether a command received from a connection destination 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 connection destination 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 Judge whether it is a command that requests to function,
As a result of the determination, if the command received from the connection destination immediately after being connected via the communication means is a command requesting the device device to function as the removable disk, the mode of the device device is set. A device device mode switch, wherein the command mode is a command to switch to the PC mode and request to function as the print client, and the mode of the device device is switched to the direct print mode. Method.
前記第1のホストは、通信手段を介してデバイス機器が接続されると、該デバイス機器に対して、前記リムーバブルディスクとして機能させることを要求するコマンドとして、ストレージサーバとしての機能を要求するコマンドを送信するとともに、ストレージクライアントとしての機能ができることを通知し、
前記第2のホスト機器は、通信手段を介してデバイス機器が接続されると、該デバイス機器に対してプリントクライアントとしての機能を要求するコマンドを送信するとともに、プリントサーバとしての機能が提供できることを通知することを特徴とする請求項6に記載のデバイス機器のモード切替方法。
When a device device is connected via the communication means, the first host sends a command requesting a function as a storage server as a command requesting the device device to function as the removable disk. As well as notification that it can function as a storage client,
When the second host device is connected to the device device via the communication means, the second host device transmits a command requesting a function as a print client to the device device and can provide a function as a print server. The device device mode switching method according to claim 6, wherein notification is performed.
通信手段を介して接続された直後に接続先から受信したコマンドをリムーバブルディスクとして機能させることを要求するコマンドとして解釈できるか否か、プリントクライアントとして機能させることを要求するコマンドとして解釈できるか否かを判定して、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドであるか、前記プリントクライアントとして機能させることを要求するコマンドであるかを判定し、
前記判定の結果、前記通信手段を介して接続された直後に接続先から受信したコマンドが、前記デバイス機器を前記リムーバブルディスクとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをリムーバブルディスクとしての機能を提供するPCモードに切り替えて設定し、前記プリントクライアントとして機能させることを要求するコマンドである場合は、前記デバイス機器のモードをプリントクライアントとしての機能を提供するダイレクトプリントモードに切り替えて設定することを特徴とするデバイス機器のモード切替方法。
Whether a command received from a connection destination immediately after being connected via a communication means can be interpreted as a command requesting to function as a removable disk, or as a command requesting to function as a print client The command received from the connection destination immediately after being connected via the communication means is a command requesting that the device device function as the removable disk, or function as the print client. Is a command that requests
As a result of the determination, if the command received from the connection destination immediately after being connected via the communication means is a command requesting the device device to function as the removable disk, the mode of the device device is set. In the case of a command for switching to a PC mode that provides a function as a removable disk and requesting to function as the print client, the mode of the device device is changed to a direct print mode that provides a function as a print client. A mode switching method of a device device, characterized by switching and setting.
JP2010014305A 2010-01-26 2010-01-26 Device device and mode switching method thereof Expired - Fee Related JP4918145B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2010114939A JP2010114939A (en) 2010-05-20
JP4918145B2 true JP4918145B2 (en) 2012-04-18

Family

ID=42303061

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP4918145B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557377A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 Data transfer control method, main process equipment, USB device and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4401446B2 (en) * 1997-04-07 2010-01-20 キヤノン株式会社 Digital camera and control method thereof
JP3807007B2 (en) * 1997-02-17 2006-08-09 富士写真フイルム株式会社 Accessories for digital cameras
JPH10271369A (en) * 1997-03-24 1998-10-09 Fuji Photo Film Co Ltd Accessory for digital camera
JP3848130B2 (en) * 2001-10-31 2006-11-22 キヤノン株式会社 IMAGING DEVICE, SYSTEM HAVING IMAGING DEVICE AND RECORDING DEVICE AND CONTROL METHOD THEREOF
JP3884942B2 (en) * 2001-10-31 2007-02-21 キヤノン株式会社 IMAGING DEVICE, SYSTEM HAVING IMAGING DEVICE AND RECORDING DEVICE AND CONTROL METHOD THEREOF
JP3840091B2 (en) * 2001-10-31 2006-11-01 キヤノン株式会社 IMAGING DEVICE, SYSTEM HAVING IMAGING DEVICE AND RECORDING DEVICE AND CONTROL METHOD THEREOF
JP2004310672A (en) * 2003-04-10 2004-11-04 Seiko Epson Corp Data input device and image output system

Also Published As

Publication number Publication date
JP2010114939A (en) 2010-05-20

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
US20100280829A1 (en) Photo Management Using Expression-Based Voice Commands
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
JP2008042474A (en) Digital camera
JP4805532B2 (en) Device equipment
JP4918145B2 (en) Device device and mode switching method thereof
US20100277313A1 (en) Light Emitting Device History Log
JP6012351B2 (en) Image processing apparatus, control method thereof, and program
JP2002009991A (en) Information processor, information processing system, method therefor and storage medium
US20050030584A1 (en) Print system
JP5338516B2 (en) Image processing system and communication device
JP2004310400A (en) Information transmitting and receiving system
KR101123707B1 (en) Image forming apparatus and image forming method printing capture image
KR101092554B1 (en) Host-linked apparatus for selecting mode by using menu displayed automatically on linking host device and method thereof
JP4089741B2 (en) Image processing device
JP2002176615A (en) Imaging system, digital camera, information processing unit and processing method for photographed image
JP2006227821A (en) Peripheral equipment control method
JP5258533B2 (en) Information processing apparatus, control method therefor, and program
JP2003046917A (en) Print system, imaging apparatus, imaging image-printing method, and program
JP2006157517A (en) Image storage system, method, and program
JP2005092523A (en) Data fetching method and device, as well as data fetching program
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: 20100210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110802

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120112

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

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

Free format text: PAYMENT UNTIL: 20150203

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4918145

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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