JP2012053648A - Multifunctional device and method for controlling the same - Google Patents

Multifunctional device and method for controlling the same Download PDF

Info

Publication number
JP2012053648A
JP2012053648A JP2010195344A JP2010195344A JP2012053648A JP 2012053648 A JP2012053648 A JP 2012053648A JP 2010195344 A JP2010195344 A JP 2010195344A JP 2010195344 A JP2010195344 A JP 2010195344A JP 2012053648 A JP2012053648 A JP 2012053648A
Authority
JP
Japan
Prior art keywords
function
unit
wireless communication
storage
storage unit
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
JP2010195344A
Other languages
Japanese (ja)
Inventor
Jun Hyuga
淳 日向
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.)
Buffalo Inc
Original Assignee
Buffalo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Buffalo Inc filed Critical Buffalo Inc
Priority to JP2010195344A priority Critical patent/JP2012053648A/en
Publication of JP2012053648A publication Critical patent/JP2012053648A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a multifunctional device that can provide a plurality of functions for an external device, and to improve the convenience of the multifunctional device.SOLUTION: A USB multifunctional device 10 includes a storage unit 16 and a radio communication unit 17, and can provide a storage function and a radio communication function for a personal computer PC. These functions can be switched by operating a switch 14. When the switch 14 is switched to a state that the radio communication function is turned on, a switching unit 15 feeds power to the storage unit 16 and the radio communication unit 17 to allow the storage unit 16 and the radio communication unit 17 to operate. When the switch 14 is switched to a state that the radio communication function is turned off, the switching unit 15 feeds power only to the storage unit 16 to allow the storage unit 16 to operate.

Description

本発明は、外部装置、例えば、計算機に装着されることによって、外部装置に対して複数の機能を提供し得る多機能装置、および多機能装置の制御方法に関する。   The present invention relates to a multi-function device that can provide a plurality of functions to an external device by being mounted on an external device, for example, a computer, and a control method for the multi-function device.

デジタルカメラにおいて撮像された画像データを格納すると共に、無線通信が可能な環境下においては、格納された画像データをデータサーバ等に送信する無線通信機能を有するメモリモジュールが知られている(例えば、特許文献1、2)。   A memory module having a wireless communication function for storing image data captured by a digital camera and transmitting the stored image data to a data server or the like in an environment capable of wireless communication is known (for example, Patent Documents 1 and 2).

また、計算機、例えば、パーソナルコンピュータに装着可能な外部ストレージとして、ユニバーサルシリアルバス(USB)規格に準拠した、いわゆる、USBメモリが知られており、さらに、パーソナルコンピュータに装着可能な無線子機として、USB端子に接続可能なUSB無線子機も知られている。   Further, as an external storage that can be attached to a computer, for example, a personal computer, a so-called USB memory conforming to the universal serial bus (USB) standard is known, and further, as a wireless slave device that can be attached to a personal computer, A USB wireless slave device that can be connected to a USB terminal is also known.

特開2004−235891号公報JP 2004-235891 A 特開2001−143032号公報JP 2001-143032 A

しかしながら、USBメモリおよびUSB無線子機は、いずれもパーソナルコンピュータに対して単一機能を提供するに過ぎない。また、無線通信機能を有するメモリモジュールは、専らメモリとしてデジタルカメラに装着されて利用されることを前提としており、パーソナルコンピュータ等の計算機に対して付加的な複数の機能を提供するために用いられることは何ら考慮されていなかった。   However, the USB memory and the USB wireless slave unit both provide only a single function to the personal computer. A memory module having a wireless communication function is premised on being used as a memory by being mounted on a digital camera, and is used for providing a plurality of additional functions to a computer such as a personal computer. Nothing was taken into account.

本発明は上記課題の少なくとも一部を解決するためになされた発明であり、外部装置に対して複数の機能を提供可能な多機能装置を提供すること、多機能装置の利便性を向上させることを目的とする。   The present invention has been made to solve at least a part of the above problems, and provides a multi-function device capable of providing a plurality of functions to an external device, and improves the convenience of the multi-function device. With the goal.

上記課題の少なくとも一部を解決するために、本発明は以下の種々の態様を採る。   In order to solve at least a part of the above problems, the present invention adopts the following various aspects.

第1の態様は、外部装置に装着されて用いられる多機能装置を提供する。第1の態様に係る多機能装置は、前記外部装置に対して無線通信機能を提供するための無線通信実行部と、前記外部装置に対して記憶機能を提供するための記憶部と、前記記憶部のみを選択的に動作させることが可能な切り替え部とを備える。   The first aspect provides a multi-function device that is used by being attached to an external device. A multi-function device according to a first aspect includes a wireless communication execution unit for providing a wireless communication function to the external device, a storage unit for providing a storage function to the external device, and the storage A switching unit capable of selectively operating only the unit.

第1の態様に係る多機能装置によれば、記憶部および無線通信実行部を備え、記憶部のみを選択的に動作させることが可能な構成を備えているので、外部装置に対して複数の機能を提供可能な多機能装置を提供することができると共に、多機能装置の利便性を向上させることができる。   The multi-function device according to the first aspect includes a storage unit and a wireless communication execution unit, and has a configuration capable of selectively operating only the storage unit. A multi-function device capable of providing functions can be provided, and the convenience of the multi-function device can be improved.

第1の態様に係る多機能装置はさらに、前記記憶部のみを選択する有効にするための物理的な外部スイッチを備え、前記切り替え部は、前記外部スイッチの操作に応じて、前記記憶部のみを選択的に動作させても良い。この場合、外部スイッチの操作に応じて記憶部のみを選択的に動作させることができるので、多機能装置の利便性を向上させることができる。   The multi-function device according to the first aspect further includes a physical external switch for enabling selection of only the storage unit, and the switching unit is configured so that only the storage unit is operated according to an operation of the external switch. May be selectively operated. In this case, only the storage unit can be selectively operated according to the operation of the external switch, so that the convenience of the multi-function device can be improved.

第1の態様に係る多機能装置はさらに、前記多機能装置が提供可能な複数の機能の内、前記外部装置に対して提供可能な機能を通知する提供機能通知部を備え、前記提供機能通知部は、前記スイッチによって、前記外部装置に対して提供すべき機能として記憶部が選択されている際には、前記外部装置に対して、記憶部の機能を提供可能であることを通知しても良い。この場合、外部装置に対して、多機能装置が記憶部として機能することを通知することができる。   The multi-function device according to the first aspect further includes a providing function notification unit that notifies a function that can be provided to the external device among a plurality of functions that can be provided by the multi-function device. When the storage unit is selected as a function to be provided to the external device by the switch, the unit notifies the external device that the function of the storage unit can be provided. Also good. In this case, it is possible to notify the external device that the multi-function device functions as a storage unit.

第1の態様に係る多機能装置はさらに、前記外部装置に無線通信用のデバイスドライバがインストールされているか否かを判断する判断部を備え、前記判断部は、前記外部装置に前記無線通信用のデバイスドライバがインストールされていると判断された場合には、前記切り替え部に対して、前記記憶部のみを選択的に動作させるよう要求し、前記切り替え部は前記要求に応じて、前記記憶部のみを選択的に動作させても良い。この場合、多機能装置は、外部装置に無線通信用のデバイスドライバがインストールされているか否かの判断に基づいて、記憶部のみを選択的に動作させることができる。   The multi-function device according to the first aspect further includes a determination unit that determines whether a device driver for wireless communication is installed in the external device, and the determination unit is connected to the external device for the wireless communication. If it is determined that the device driver is installed, the switching unit is requested to selectively operate only the storage unit, and the switching unit responds to the request by the storage unit. Only these may be selectively operated. In this case, the multi-function device can selectively operate only the storage unit based on determination of whether or not a device driver for wireless communication is installed in the external device.

第1の態様に係る多機能装置はさらに、前記多機能装置が提供可能な複数の機能の内、前記外部装置に対して提供可能な機能を通知する提供機能通知部を備え、前記提供機能通知部は、前記判断部によって、前記無線通信用のデバイスドライバが前記外部装置にインストールされていると判断された場合には、前記外部装置に対して、前記記憶機能を提供可能であることを通知しても良い。この場合、多機能装置は、外部装置に無線通信用のデバイスドライバがインストールされているか否かの判断に基づいて、外部装置に対して、多機能装置が記憶部として機能することを通知することができる。   The multi-function device according to the first aspect further includes a providing function notification unit that notifies a function that can be provided to the external device among a plurality of functions that can be provided by the multi-function device. When the determination unit determines that the device driver for wireless communication is installed in the external device, the unit notifies the external device that the storage function can be provided. You may do it. In this case, the multi-function device notifies the external device that the multi-function device functions as a storage unit based on a determination as to whether a device driver for wireless communication is installed in the external device. Can do.

第1の態様に係る多機能装置において、前記判断部は、前記無線通信用のデバイスドライバが前記外部装置にインストールされていないと判断する場合には、前記切り替え部に対して、前記無線通信部および前記記憶部を動作させるよう要求し、前記切り替え部は前記要求に応じて前記無線通信部および前記記憶部を動作させ、前記提供機能通知部は、前記判断部によって、前記無線通信用のデバイスのデバイスドライバが前記外部装置にインストールされていないと判断された場合には、前記外部装置に対して、前記無線通信機能および前記記憶機能を提供可能であることを通知しても良い。この場合、多機能装置は、外部装置に無線通信用のデバイスドライバがインストールされているか否かの判断に基づいて、記憶部および無線通信機能を動作させることができると共に、外部装置に対して、多機能装置が記憶部および無線通信実行部として機能することを通知することができる。   In the multi-function device according to the first aspect, when the determination unit determines that the device driver for wireless communication is not installed in the external device, the wireless communication unit And the switching unit operates the wireless communication unit and the storage unit in response to the request, and the providing function notification unit is configured to perform the wireless communication device by the determination unit. If the device driver is determined not to be installed in the external device, the external device may be notified that the wireless communication function and the storage function can be provided. In this case, the multi-function device can operate the storage unit and the wireless communication function based on the determination whether or not the device driver for wireless communication is installed in the external device. It can be notified that the multi-function device functions as a storage unit and a wireless communication execution unit.

第1の態様に係る多機能装置において、前記判断部はさらに、前記外部装置にインストールされている前記無線通信用のドライバが、前記無線通信実行部に対応するデバイスドライバであると判断する場合には、前記切り替え部に対して、前記無線通信部および前記記憶部を動作させるよう要求し、前記切り替え部は前記要求に応じて、前記無線通信部および前記記憶部を動作させ、前記提供機能通知部は、前記判断部によって、前記外部装置にインストールされている前記無線通信用のドライバが、前記無線通信実行部に対応するデバイスドライバであると判断された場合には、前記外部装置に対して、前記無線通信機能および前記記憶機能を提供可能であることを通知しても良い。この場合、多機能装置は、外部装置に無線通信用のデバイスドライバがインストールされている場合であっても、無線通信実行部に対応するデバイスドライバがインストールされている場合には、記憶部および無線通信機能を動作させることができると共に、外部装置に対して、多機能装置が記憶部および無線通信実行部として機能することを通知することができるので、多機能装置の使い勝手を向上させることができる。   In the multi-function device according to the first aspect, when the determination unit further determines that the wireless communication driver installed in the external device is a device driver corresponding to the wireless communication execution unit. Requests the switching unit to operate the wireless communication unit and the storage unit, and the switching unit operates the wireless communication unit and the storage unit in response to the request, and provides the provided function notification. When the determination unit determines that the wireless communication driver installed in the external device is a device driver corresponding to the wireless communication execution unit, It may be notified that the wireless communication function and the storage function can be provided. In this case, even if a device driver for wireless communication is installed in the external device, the multi-function device can store the storage unit and the wireless device when the device driver corresponding to the wireless communication execution unit is installed. The communication function can be operated and the external device can be notified that the multi-function device functions as a storage unit and a wireless communication execution unit. Therefore, the usability of the multi-function device can be improved. .

第1の態様に係る多機能装置において、前記判断部は、無線通信用のデバイスドライバが前記外部装置にインストールされているか否か判断できない場合には、前記無線通信部および前記記憶部を動作させるよう要求し、前記切り替え部は前記要求に応じて前記無線通信部および前記記憶部を動作させ、前記提供機能通知部は、前記判断部が、無線通信用のデバイスドライバが前記外部装置にインストールされているか否か判断できない場合には、前記外部装置に対して、前記無線通信機能および前記記憶機能を提供可能であることを通知しても良い。この場合には、多機能装置によって提供可能な機能を全て提供することができるので、多機能装置の使い勝手を向上させることができる。   In the multi-function device according to the first aspect, when the determination unit cannot determine whether or not a device driver for wireless communication is installed in the external device, the determination unit operates the wireless communication unit and the storage unit. The switching unit operates the wireless communication unit and the storage unit in response to the request, the providing function notification unit is installed in the determination unit, and a device driver for wireless communication is installed in the external device. If it cannot be determined whether the wireless communication function is available, the external device may be notified that the wireless communication function and the storage function can be provided. In this case, since all functions that can be provided by the multi-function device can be provided, the usability of the multi-function device can be improved.

第1の態様に係る多機能装置はさらに、前記提供機能通知部による前記外部装置に対する前記通知に先立ち、前記外部装置から前記通知の実行の確認入力を受信する確認部を備え、前記提供機能通知部は、前記確認部によって、前記通知の実行の確認入力が受信されると、前記外部装置に対する前記通知を実行しても良い。この場合には、ユーザによる確認を間って、多機能装置が実行可能な機能を確定することができる。   The multi-function device according to the first aspect further includes a confirmation unit that receives a confirmation input of execution of the notification from the external device prior to the notification to the external device by the provision function notification unit, and the provision function notification The unit may execute the notification to the external device when the confirmation unit receives a confirmation input to execute the notification. In this case, the functions that can be executed by the multi-function device can be determined after confirmation by the user.

第1の態様に係る多機能装置において、前記提供機能通知部は、前記提供可能な機能の通知に加えて、前記提供可能な機能に対応するデバイスドライバを前記外部装置に対して送信しても良い。この場合には、多機能装置を制御するために必要なデバイスドライバを、外部装置に対して提供することができる。   In the multi-function device according to the first aspect, the provided function notification unit may transmit a device driver corresponding to the provided function to the external device in addition to the notification of the provided function. good. In this case, a device driver necessary for controlling the multi-function device can be provided to the external device.

第1の態様に係る多機能装置はさらに、前記無線通信部が動作された際に、前記記憶部情報のバックアップデータとしてのバックアップ情報を格納する外部サーバ装置に対して、前記記憶部に格納されている記憶部情報と前記バックアップ情報との間での同期処理の実行を要求する情報同期要求部を備えても良い。この場合には、多機能装置に格納されてる情報と、外部サーバに格納されている情報とを一致させることができる。   The multi-function device according to the first aspect is further stored in the storage unit with respect to an external server device that stores backup information as backup data of the storage unit information when the wireless communication unit is operated. An information synchronization request unit that requests execution of synchronization processing between the storage unit information and the backup information may be provided. In this case, the information stored in the multi-function device can be matched with the information stored in the external server.

第1の態様に係る多機能装置において、前記記憶部は、着脱可能な記憶媒体と、前記記憶媒体を装着するための装着部とを備えても良い。この場合には、着脱可能な記憶媒体を用いることができるので、ユーザの利便性を向上させることができる。   In the multi-function device according to the first aspect, the storage unit may include a removable storage medium and a mounting unit for mounting the storage medium. In this case, since a removable storage medium can be used, convenience for the user can be improved.

第2の態様は、外部装置に装着されて用いられる多機能装置であって、前記外部装置に対して無線通信機能を提供するための無線通信実行部と、前記外部装置に対して記憶機能を提供するための記憶部とを備える多機能装置の制御方法を提供する。第2の対応は、前記外部装置に前記無線通信実行部に対応する無線通信用のデバイスドライバがインストールされているか否かを判断し、前記外部装置に前記無線通信実行部に対応するデバイスドライバがインストールされていないと判断した場合には、前記記憶部のみを選択的に動作させることを備える。   A second aspect is a multi-function device that is used by being mounted on an external device, and includes a wireless communication execution unit for providing a wireless communication function to the external device, and a storage function for the external device. A control method of a multi-function device including a storage unit for providing is provided. The second correspondence is to determine whether or not a device driver for wireless communication corresponding to the wireless communication execution unit is installed in the external device, and a device driver corresponding to the wireless communication execution unit is installed in the external device. If it is determined that it is not installed, only the storage unit is selectively operated.

第2の態様に係る多機能装置の制御方法は、第1の態様に係る多機能装置と同様の利点を得ることができる。第2の態様に係る多機能装置の制御方法は、第1の態様に係る多機能装置と同様にして種々の態様にて実現され得る。さらに、本発明の第2の態様に係る多機能装置の制御方法は、制御プログラム、当該制御プログラムを記録した、CD、DVD、HDDといったコンピュータ読み取り可能媒体としても実現され得る。   The control method of the multi-function device according to the second aspect can obtain the same advantages as those of the multi-function device according to the first aspect. The control method of the multi-function device according to the second aspect can be realized in various aspects in the same manner as the multi-function device according to the first aspect. Furthermore, the control method of the multi-function device according to the second aspect of the present invention can also be realized as a control program and a computer-readable medium such as a CD, DVD, or HDD on which the control program is recorded.

各実施例に係る多機能装置を含むシステムの概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the system containing the multifunctional apparatus which concerns on each Example. 第1の実施例に係る多機能装置の内部概略構成の一例を示す説明図である。It is explanatory drawing which shows an example of an internal schematic structure of the multifunction apparatus which concerns on a 1st Example. 第1の実施例に係る多機能装置の制御部の内部概略構成の一例を示す説明図である。It is explanatory drawing which shows an example of an internal schematic structure of the control part of the multifunction apparatus which concerns on a 1st Example. 第1の実施例に係る多機能装置に格納されているモジュール、テーブル、および情報の一例を示す説明図である。It is explanatory drawing which shows an example of the module, table, and information which are stored in the multifunction apparatus which concerns on a 1st Example. 第1の実施例において用いられるテーブルに格納されている内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content stored in the table used in a 1st Example. 第1の実施例に係る多機能装置のより詳細な内部構成の一例を示す説明図である。It is explanatory drawing which shows an example of the more detailed internal structure of the multifunction apparatus which concerns on a 1st Example. 第1の実施例に係る多機能装置によって実行される接続時処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine at the time of the connection performed by the multifunction apparatus which concerns on a 1st Example. 第2の実施例に係る多機能装置の内部概略構成の一例を示す説明図である。It is explanatory drawing which shows an example of an internal schematic structure of the multifunction apparatus which concerns on a 2nd Example. 第2の実施例に係る多機能装置に格納されているモジュールおよび情報の一例を示す説明図である。It is explanatory drawing which shows an example of the module and information which are stored in the multi-function apparatus which concerns on a 2nd Example. 第2の実施例に係る多機能装置によって実行される接続時処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine at the time of the connection performed by the multifunction apparatus which concerns on a 2nd Example. 各実施例において、実行可能な通知の実行を問い合わせる表示画面の一例を示す説明図である。It is explanatory drawing which shows an example of the display screen which inquires execution of the notification which can be performed in each Example. 多機能装置の他の構成を示す説明図である。It is explanatory drawing which shows the other structure of a multi-function apparatus. 第2の実施例の他の態様に係る多機能装置によって実行される接続時処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine at the time of the connection performed by the multifunction apparatus which concerns on the other aspect of a 2nd Example.

システムの構成:
図1は各実施例に係る多機能装置を含むシステムの概略構成を示す説明図である。本実施例に係る多機能装置を含むシステムは、以下の各実施例において共通して用いられるシステムであり、多機能装置10、10aが装着される外部装置としてのパーソナルコンピュータPC、無線アクセスポイント30、ネットワークNEおよびサーバ35を備えている。本実施例に係る多機能装置10、10aは、無線子機としての無線通信機能と、大容量の記憶部としての記憶機能とを備える、USB(ユニバーサルシリアルバス)方式に準拠した接続端子を備えるUSB多機能装置10、10aである。USB多機能装置10、10aは、パーソナルコンピュータPCに接続されることによって、大容量の記憶機能と、無線通信機能とを、パーソナルコンピュータPCに対して提供することができる。
System configuration:
FIG. 1 is an explanatory diagram showing a schematic configuration of a system including a multi-function device according to each embodiment. The system including the multi-function device according to the present embodiment is a system that is commonly used in the following embodiments, and includes a personal computer PC and a wireless access point 30 as external devices to which the multi-function devices 10 and 10a are attached. A network NE and a server 35. The multi-function devices 10 and 10a according to the present embodiment include a connection terminal conforming to a USB (Universal Serial Bus) system, which includes a wireless communication function as a wireless slave unit and a storage function as a large-capacity storage unit. USB multi-function device 10, 10a. When connected to the personal computer PC, the USB multi-function device 10, 10a can provide a large-capacity storage function and a wireless communication function to the personal computer PC.

パーソナルコンピュータPCは、中央処理装置(CPU)21および大容量ストレージとしてのハードディスクドライブ(HDD)22を備える他、図示しない、ランダムアクセスメモリ、リードオンリメモリといった、揮発性および不揮発性の半導体記憶部、入出力インタフェースを備えている。パーソナルコンピュータPCには、表示装置25および入力装置26としてのキーボードおよびマウス(ポインティングデバイス)が接続されている。HDD22には、パーソナルコンピュータPCに装着されている外部デバイス、たとえば、表示装置25、入力装置26、ネットワークボード、グラフィックボード等を動作させるためのデバイスドライバがインストールされている。パーソナルコンピュータPCにおいて、外部デバイスのドライバは、CPU21によってHDD22にインストールされる。また、パーソナルコンピュータPCのCPU21は、USB多機能装置10、10aがパーソナルコンピュータPCに接続されると、後述する、プラグアンドプレイ処理を実行する。   The personal computer PC includes a central processing unit (CPU) 21 and a hard disk drive (HDD) 22 as a large-capacity storage, as well as volatile and nonvolatile semiconductor storage units such as a random access memory and a read-only memory (not shown), I / O interface is provided. A keyboard and mouse (pointing device) as the display device 25 and the input device 26 are connected to the personal computer PC. The HDD 22 is installed with device drivers for operating external devices mounted on the personal computer PC, such as a display device 25, an input device 26, a network board, and a graphic board. In the personal computer PC, the driver for the external device is installed in the HDD 22 by the CPU 21. Further, the CPU 21 of the personal computer PC executes plug-and-play processing, which will be described later, when the USB multi-function device 10, 10a is connected to the personal computer PC.

無線アクセスポイント30は、ネットワークNEを介する経路P1によって、あるいは、ネットワークを介することのない直接の経路P2によってサーバ35と接続されている。無線アクセスポイント30は、無線子機端末として機能するUSB多機能装置10の無線親機として機能し、USB多機能装置10、10aから無線通信を介して受信したデータをサーバ35へと送信し、あるいは、サーバ35から無線通信を介して受信したデータをUSB多機能装置10へと送信する無線中継装置である。無線アクセスポイント30とサーバ35とは、イーサネットケーブルを介し、例えば、TCP/IPプロトコルに従う有線接続または無線回線を介し、例えば、IEEE802.11規格に準拠した無線接続のいずれによって接続されても良い。   The wireless access point 30 is connected to the server 35 by a route P1 through the network NE or a direct route P2 without going through the network. The wireless access point 30 functions as a wireless master device of the USB multi-function device 10 that functions as a wireless slave device terminal, and transmits data received from the USB multi-function devices 10 and 10a via wireless communication to the server 35. Alternatively, the wireless relay device transmits data received from the server 35 via wireless communication to the USB multi-function device 10. The wireless access point 30 and the server 35 may be connected by an Ethernet cable, for example, a wired connection according to the TCP / IP protocol or a wireless line, for example, by a wireless connection based on the IEEE 802.11 standard.

サーバ35は、図示しない中央処理装置および大容量ストレージとしてのハードディスクドライブ(HDD)351を備える他、図示しない、ランダムアクセスメモリ、リードオンリメモリといった、揮発性および不揮発性の半導体記憶部、入出力インタフェースを備えている。サーバ35には、USB多機能装置10、10aに格納されているデータと、HDD351に格納されているデータとの間で同期処理を実行するための同期処理実行機能(同期処理実行プログラム)が実装(インストール)されている。同期処理実行機能によれば、USB多機能装置10に格納されているデータと、HDD351に格納されている対応データのいずれが新しいか比較判定され、古いデータが新しいデータによって更新される。例えば、USB多機能装置10に格納されているデータが新しいデータである場合には、HDD351に格納されている対応データがUSB多機能装置10、10aに格納されているデータによって更新される。更新の態様としては、古いデータを新しいデータで置き換える上書き、あるいは、古いデータと新しいデータの差分データを逐次蓄積する態様のどちらが実行されても良い。   The server 35 includes a central processing unit (not shown) and a hard disk drive (HDD) 351 as a large-capacity storage, as well as volatile and nonvolatile semiconductor storage units such as a random access memory and a read-only memory (not shown), and an input / output interface. It has. The server 35 is provided with a synchronization processing execution function (synchronization processing execution program) for executing synchronization processing between data stored in the USB multi-function device 10 or 10a and data stored in the HDD 351. (Installed). According to the synchronization processing execution function, it is determined whether the data stored in the USB multi-function device 10 and the corresponding data stored in the HDD 351 are newer, and the old data is updated with the new data. For example, when the data stored in the USB multi-function device 10 is new data, the corresponding data stored in the HDD 351 is updated with the data stored in the USB multi-function device 10, 10a. As an update mode, either overwriting to replace old data with new data or a mode of sequentially storing difference data between old data and new data may be executed.

第1の実施例:
第1の実施例に係るUSB多機能装置の構成:
図2は、第1の実施例に係る多機能装置の内部概略構成の一例を示す説明図である。図3は、第1の実施例に係る多機能装置の制御部の内部概略構成の一例を示す説明図である。図4は、第1の実施例に係る多機能装置に格納されているモジュール、テーブル、および情報の一例を示す説明図である。図5は、第1の実施例において用いられるテーブルに格納されている内容の一例を示す説明図である。第1の実施例に係るUSB多機能装置10は、接続端子11、USB入出力インタフェース(I/F)12、制御部13、スイッチ14、切替部15、記憶部16および無線通信部17を備えている。
First embodiment:
Configuration of the USB multi-function device according to the first embodiment:
FIG. 2 is an explanatory diagram illustrating an example of an internal schematic configuration of the multi-function device according to the first embodiment. FIG. 3 is an explanatory diagram illustrating an example of an internal schematic configuration of the control unit of the multi-function device according to the first embodiment. FIG. 4 is an explanatory diagram illustrating an example of modules, tables, and information stored in the multi-function device according to the first embodiment. FIG. 5 is an explanatory diagram showing an example of contents stored in a table used in the first embodiment. The USB multi-function device 10 according to the first embodiment includes a connection terminal 11, a USB input / output interface (I / F) 12, a control unit 13, a switch 14, a switching unit 15, a storage unit 16, and a wireless communication unit 17. ing.

接続端子11は、USB規格に準拠した形状を有する端子であり、パーソナルコンピュータPC等の装置が備えるUSBのA端子(ソケット)に接続される、A端子(プラグ)形状を有している。USB入出力インタフェース(USB I/F)12は、USB規格に基づく外部機器との通信方式(信号伝送方式)と、USB多機能装置10内部で用いられる通信方式(信号伝送方式)との間で信号変換処理を実行する。   The connection terminal 11 has a shape conforming to the USB standard, and has an A terminal (plug) shape that is connected to a USB A terminal (socket) included in a device such as a personal computer PC. The USB input / output interface (USB I / F) 12 is between a communication method (signal transmission method) with an external device based on the USB standard and a communication method (signal transmission method) used inside the USB multi-function device 10. Execute signal conversion processing.

制御部13は、USB多機能装置10の各部を制御して、USB多機能装置10が装着されたパーソナルコンピュータPC等の外部装置に対して、所望の機能を提供すると共に、USB多機能装置10の動作を制御する。制御部13は、図3に示すように、中央処理装置(CPU)131、リードオンリメモリ(ROM)132、ランダムアクセスメモリ(RAM)133および入出力インタフェース(I/F)134を備えている。CPU131、ROM132、RAM133およびI/F134は、内部バス135によって相互に通信可能に接続されている。CPU131はROM132に格納されているプログラム、ソフトウェアモジュールをRAM133上に展開して、プログラム、ソフトウェアモジュールを実行する。RAM133は、CPU131の作業領域を提供する揮発性のメモリである。ROM132は不揮発性のメモリであり、図4に示すように、CPU131が実行する提供機能通知モジュールM1、情報同期要求モジュールM2、スイッチ14のオン・オフと切替部15の動作を対応付ける切替テーブルT1およびディスクリプタ情報DIを格納している。I/F134は、USBI/F12および各モジュール(切替部等)と制御部13の構成要素との信号のやりとりを仲介する。   The control unit 13 controls each unit of the USB multi-function device 10 to provide a desired function to an external device such as a personal computer PC to which the USB multi-function device 10 is mounted. To control the operation. As shown in FIG. 3, the control unit 13 includes a central processing unit (CPU) 131, a read only memory (ROM) 132, a random access memory (RAM) 133, and an input / output interface (I / F) 134. The CPU 131, the ROM 132, the RAM 133, and the I / F 134 are connected via an internal bus 135 so that they can communicate with each other. The CPU 131 expands the program and software module stored in the ROM 132 on the RAM 133 and executes the program and software module. The RAM 133 is a volatile memory that provides a work area for the CPU 131. The ROM 132 is a non-volatile memory, and as shown in FIG. 4, a provided function notification module M1, an information synchronization request module M2 executed by the CPU 131, a switching table T1 for associating on / off of the switch 14 and the operation of the switching unit 15; Descriptor information DI is stored. The I / F 134 mediates exchange of signals between the USB I / F 12 and each module (switching unit or the like) and the components of the control unit 13.

提供機能通知モジュールM1は、CPU131によって実行されることによって、パーソナルコンピュータPCに接続された際に、パーソナルコンピュータPCに対して、USB多機能装置10が提供可能な機能を通知する、提供機能通知部として機能する。この通知は、いわゆる、USB規格においてプラグアンドプレイ機能を実現するために必要な通知であり、USBデバイス(USB多機能装置10)がUSBホスト(例えば、パーソナルコンピュータPC)に対して、一般的にデバイスディスクリプタと呼ばれる情報を通知することによって実行される。より具体的には、インタフェースディスクリプタと呼ばれる、USBデバイスの特性(種別)を表す情報を送信することによって実行される。通常のUSBデバイスは、単機能であれば、予め用意されているインタフェースディスクリプタは一つである。また、USBデバイスが多機能であっても、機能を切り替えて提供することは行われていないので、提供機能によって通知すべきインタフェースディスクリプタは予め決められている。これに対して、本実施例に係るUSB多機能装置10は、複数の機能を選択的に(切り替えて)提供することができるため、提供可能な機能に対応するインタフェースディスクリプタが選択的に通知される。この通知を受けて、パーソナルコンピュータPCでは、機能を実装するためのデバイスドライバの検索、インストールを実行することができる。なお、本実施例では、パーソナルコンピュータPCに対して機能を組み入れる操作を実装と呼び、パーソナルコンピュータPCに対して機能を実装するためのプログラムを組み入れる操作をインストールと呼ぶ。   The provided function notification module M1 is executed by the CPU 131 to notify the personal computer PC of functions that can be provided by the USB multi-function device 10 when connected to the personal computer PC. Function as. This notification is a notification necessary for realizing the plug-and-play function in the so-called USB standard, and the USB device (USB multi-function device 10) generally notifies the USB host (for example, personal computer PC). It is executed by notifying information called a device descriptor. More specifically, it is executed by transmitting information representing the characteristic (type) of the USB device called an interface descriptor. If an ordinary USB device has a single function, there is only one interface descriptor prepared in advance. Further, even if the USB device has multiple functions, it is not provided by switching functions, so the interface descriptor to be notified by the provided function is determined in advance. On the other hand, since the USB multi-function device 10 according to the present embodiment can selectively provide (switch) a plurality of functions, the interface descriptor corresponding to the functions that can be provided is selectively notified. The Upon receiving this notification, the personal computer PC can search and install a device driver for implementing the function. In this embodiment, an operation for incorporating a function into the personal computer PC is called “installation”, and an operation for incorporating a program for implementing a function into the personal computer PC is called “installation”.

本実施例における提供機能通知モジュールM1は、スイッチ14の操作によって、USB多機能装置10が記憶装置として機能すべき(記憶機能を提供すべき)とされている場合には、インタフェースディスクリプタとして、記憶装置(フラッシュメモリ)であることを示すインタフェースクラスコードをパーソナルコンピュータPCに対して通知する。一方、提供機能通知モジュールM1は、スイッチ14の操作によって、USB多機能装置10が無線通信装置および記憶装置として機能すべき(無線通信機能および記憶機能を提供すべき)とされている場合には、インタフェースディスクリプタとして、記憶装置および通信装置(無線通信端末)であることを示すインタフェースクラスコードをパーソナルコンピュータPCに対して通知する。   The provided function notification module M1 in the present embodiment stores a memory as an interface descriptor when the USB multi-function device 10 should function as a storage device (should provide a storage function) by operating the switch 14. An interface class code indicating the device (flash memory) is notified to the personal computer PC. On the other hand, the provided function notification module M1 is configured so that the USB multifunction device 10 should function as a wireless communication device and a storage device (provide a wireless communication function and a storage function) by operating the switch 14. As an interface descriptor, an interface class code indicating a storage device and a communication device (wireless communication terminal) is notified to the personal computer PC.

本実施例における提供機能通知モジュールM1はさらに、パーソナルコンピュータPCに対して、通知する機能に対応するデバイスドライバを送信しても良い。デバイスドライバは、例えば、記憶部16に格納されている。   The provided function notification module M1 in this embodiment may further transmit a device driver corresponding to the function to be notified to the personal computer PC. The device driver is stored in the storage unit 16, for example.

情報同期要求モジュールM2は、CPU131によって実行されることによって、記憶部16内のデータと同期すべきデータを格納している外部のサーバ35(図1参照)を検索し、検索した外部サーバに対して、記憶部16に格納されているデータと外部のサーバ35のHDD351に格納されているデータとの同期処理を要求する。すなわち、情報同期要求モジュールM2は、CPU131によって実行されることによって、情報同期要求部として機能する。外部のサーバ35の検索は、例えば、予め同期処理を要求すべき外部サーバのIPアドレスを設定しておき、当該IPアドレス宛てに同期処理要求を送信することにより実行され得る。当該IPアドレスを有する外部のサーバ35がネットワーク上に存在しない場合には、外部のサーバ35からの応答が得られないこととなり、情報同期要求モジュールM2は、外部のサーバ35を検索できないという結果を得る。一方、当該IPアドレスを有する外部のサーバ35がネットワーク上に存在する場合には、情報同期要求モジュールM2は、外部のサーバ35からの応答、要求に応じて、記憶部16内のデータを外部のサーバ35に対して送信し(記憶部16内のデータが新しい場合)、あるいは、外部のサーバ35から受信したデータを記憶部16に書き込む(記憶部16内のデータが古い場合)。   The information synchronization request module M2 is executed by the CPU 131 to search for an external server 35 (see FIG. 1) storing data to be synchronized with the data in the storage unit 16, and to the searched external server Thus, the synchronization processing between the data stored in the storage unit 16 and the data stored in the HDD 351 of the external server 35 is requested. That is, the information synchronization request module M2 functions as an information synchronization request unit by being executed by the CPU 131. The search for the external server 35 can be executed by, for example, setting an IP address of an external server that should request synchronization processing in advance and transmitting the synchronization processing request to the IP address. When the external server 35 having the IP address does not exist on the network, a response from the external server 35 cannot be obtained, and the information synchronization request module M2 cannot search the external server 35. obtain. On the other hand, when the external server 35 having the IP address exists on the network, the information synchronization request module M2 transfers the data in the storage unit 16 to the external in response to a response or request from the external server 35. The data is transmitted to the server 35 (when the data in the storage unit 16 is new), or the data received from the external server 35 is written into the storage unit 16 (when the data in the storage unit 16 is old).

ディスクリプタ情報DIには、上述のように、USB多機能装置10が提供する機能に対応するインタフェースディスクリプタが複数用意されている。インタフェースディスクリプタは、1つのコンフィグレーションディスクリプタ中にUSB多機能装置10が提供可能な機能の組合せに応じた予め複数の組合せ(グループ)が用意されていても良く、あるいは、複数のコンフィグレーションディスクリプタに対してそれぞれ1つのインタフェースディスクリプタが用意され、パーソナルコンピュータPCに対して通知する際に、制御部13によって適宜コンフィグレーションディスクリプタが組み合わされて通知されても良い。   As described above, a plurality of interface descriptors corresponding to the functions provided by the USB multi-function device 10 are prepared in the descriptor information DI. As for the interface descriptor, a plurality of combinations (groups) corresponding to combinations of functions that can be provided by the USB multi-function device 10 may be prepared in one configuration descriptor in advance, or for a plurality of configuration descriptors. One interface descriptor is prepared for each, and when the notification is made to the personal computer PC, the configuration descriptor may be appropriately combined and notified by the control unit 13.

切替テーブルT1は、図5に示すように、スイッチ14のオン・オフ状態と、提供機能とを対応付けて格納する。図5の例では、スイッチ14がオフされている場合には、メモリ機能のみがON(提供可能な状態)とされ、スイッチ14がオンされている場合には、メモリ機能および無線通信機能がONとされる。すなわち、図5の例では、スイッチ14は無線通信機能のオン・オフスイッチであるということができる。   As illustrated in FIG. 5, the switching table T <b> 1 stores the on / off state of the switch 14 and the provided function in association with each other. In the example of FIG. 5, when the switch 14 is turned off, only the memory function is turned on (a state that can be provided), and when the switch 14 is turned on, the memory function and the wireless communication function are turned on. It is said. That is, in the example of FIG. 5, it can be said that the switch 14 is a wireless communication function on / off switch.

記憶部16および無線通信部17の詳細な構成およびUSB多機能装置における切替動作について図6を参照して説明する。図6は第1の実施例に係る多機能装置のより詳細な内部構成の一例を示す説明図である。第1の実施例に係るUSB多機能装置10の記憶部16は記憶モジュールとも呼ばれ、メモリコントローラ161および記憶素子162を備えている。メモリコントローラ161は、記憶素子162に対するデータの読み出しおよび書き込みを制御する回路であり、制御部13から受信したデータを記憶素子162に書き込み、あるいは、制御部13から要求されたデータを記憶素子162から読み出し、制御部13に対して送信する。記憶素子162は、半導体記憶素子であり、例えば、フラッシュメモリが用いられる。   A detailed configuration of the storage unit 16 and the wireless communication unit 17 and a switching operation in the USB multi-function device will be described with reference to FIG. FIG. 6 is an explanatory diagram illustrating an example of a more detailed internal configuration of the multi-function device according to the first embodiment. The storage unit 16 of the USB multi-function device 10 according to the first embodiment is also called a storage module, and includes a memory controller 161 and a storage element 162. The memory controller 161 is a circuit that controls reading and writing of data with respect to the storage element 162, writes data received from the control unit 13 to the storage element 162, or receives data requested from the control unit 13 from the storage element 162. Read and transmit to the control unit 13. The memory element 162 is a semiconductor memory element, and for example, a flash memory is used.

無線通信部17は無線通信モジュールとも呼ばれ、通信コントローラ171および無線通信インタフェース(I/F)172を備えている。通信コントローラ171は、制御部13からの要求に応じて、無線アクセスポイント30(図1参照)と無線通信を実行するために、パケットデータを無線通信によって送受信するための信号処理を実行する信号処理部である。無線通信インタフェース172は、無線アクセスポイント30に対して無線信号を送信するための送信回路、無線アクセスポイント30からの無線信号を受信するための受信回路、アンテナ173等を備えるRF回路である。無線通信の方式は、例えば、IEEE802.11に準拠した無線通信方式が採用される。   The wireless communication unit 17 is also called a wireless communication module, and includes a communication controller 171 and a wireless communication interface (I / F) 172. In response to a request from the control unit 13, the communication controller 171 performs signal processing for transmitting and receiving packet data by wireless communication in order to perform wireless communication with the wireless access point 30 (see FIG. 1). Part. The wireless communication interface 172 is an RF circuit including a transmission circuit for transmitting a wireless signal to the wireless access point 30, a receiving circuit for receiving a wireless signal from the wireless access point 30, an antenna 173, and the like. As a wireless communication method, for example, a wireless communication method compliant with IEEE 802.11 is adopted.

USB多機能装置10と、ホストであるパーソナルコンピュータPCとは、USBI/F12とパーソナルコンピュータPC側のUSBインタフェースとを介して接続される。USB多機能装置10は、データ信号線DLを介してパーソナルコンピュータPCとの間でデータ信号をやりとりする。また、USB多機能装置10に対しては電力供給線PLを介してパーソナルコンピュータPCから電力が供給される。   The USB multi-function device 10 and a personal computer PC as a host are connected via a USB I / F 12 and a USB interface on the personal computer PC side. The USB multi-function device 10 exchanges data signals with the personal computer PC via the data signal line DL. The USB multi-function device 10 is supplied with power from the personal computer PC via the power supply line PL.

スイッチ14は、ユーザによって物理的にオン・オフ操作が可能な外部スイッチであり、本実施例では無線通信機能をオンするか、オフするかを切り替えるために用いられる。切替部15は、スイッチ14のオン・オフ状態に応じて入力される制御信号に応じて、記憶部16および無線通信部17に対する電力の通電・遮断を切り替える論路的なスイッチング回路である。切替部15は、記憶部16および無線通信部17(各機能モジュール)に対する電力供給を遮断(オフ)することで、記憶部16および無線通信部17を動作しない状態に切り替え、記憶部16および無線通信部17に対する電力供給を行う(オン)ことで、記憶部16および無線通信部17を動作する状態に切り替える。すなわち、本実施例では、電力供給の有無によって、各機能モジュールを動作させ(有効とし)、あるいは動作させない(無効とする)状態に切り替える。   The switch 14 is an external switch that can be physically turned on and off by the user. In the present embodiment, the switch 14 is used to switch between turning on and off the wireless communication function. The switching unit 15 is a logical switching circuit that switches between energization and interruption of power to the storage unit 16 and the wireless communication unit 17 in accordance with a control signal input according to the on / off state of the switch 14. The switching unit 15 switches the storage unit 16 and the wireless communication unit 17 to a non-operating state by cutting off (off) power supply to the storage unit 16 and the wireless communication unit 17 (each functional module). By supplying power to the communication unit 17 (ON), the storage unit 16 and the wireless communication unit 17 are switched to an operating state. In other words, in this embodiment, each functional module is switched to a state where it is operated (enabled) or not operated (disabled) depending on whether or not power is supplied.

第1の実施例に係るUSB多機能装置の動作
図7は、第1の実施例に係る多機能装置によって実行される接続時処理ルーチンを示すフローチャートである。本処理ルーチンは、USB多機能装置10がパーソナルコンピュータPCに装着されるとUSB多機能装置10において実行開始される。制御部13のCPU131は、無線機能がオンされているか否か(有効とされているか否か)を判定する(ステップS100)。具体的には、CPU131および切替部15は、スイッチ14が無線機能オンの状態に切り替えられているか否かについて、無線通信オンを示す制御信号が入力されているか否かを判定する。
Operation of USB Multi-Function Device According to First Embodiment FIG. 7 is a flowchart showing a connection time processing routine executed by the multi-function device according to the first embodiment. This processing routine is started in the USB multi-function device 10 when the USB multi-function device 10 is attached to the personal computer PC. The CPU 131 of the control unit 13 determines whether or not the wireless function is turned on (whether or not it is enabled) (step S100). Specifically, the CPU 131 and the switching unit 15 determine whether or not a control signal indicating wireless communication ON is input as to whether or not the switch 14 is switched to the wireless function ON state.

無線機能がオンされていないと判定する場合(ステップS100:No)、切替部15は記憶部16をオンし(ステップS102)、CPU131は提供機能通知モジュールM1を実行して記憶機能を提供可能である旨、パーソナルコンピュータPCに通知する(ステップS104)。具体的には、切替部15は、切替テーブルT1に基づいて、記憶部16のみに給電を行い、記憶部16を動作可能にする。CPU131は、パーソナルコンピュータPCに対して、提供可能な機能が記憶機能であることを示す、インタフェースディスクリプタを送信する。この結果、パーソナルコンピュータPCにおいては、USB多機能装置10は、例えば、マスストレージデバイスであると認識され、プラグアンドプレイ機能によって、無線通信用のドライバが自動的にインストールされることはない。この結果、パーソナルコンピュータPCの構成(configulation)が意図しない構成に変更されることはない。   When it is determined that the wireless function is not turned on (step S100: No), the switching unit 15 turns on the storage unit 16 (step S102), and the CPU 131 can provide the storage function by executing the provided function notification module M1. A notification to this effect is sent to the personal computer PC (step S104). Specifically, the switching unit 15 supplies power only to the storage unit 16 based on the switching table T1, and enables the storage unit 16 to operate. The CPU 131 transmits an interface descriptor indicating that a function that can be provided is a storage function to the personal computer PC. As a result, in the personal computer PC, the USB multi-function device 10 is recognized as, for example, a mass storage device, and the driver for wireless communication is not automatically installed by the plug and play function. As a result, the configuration of the personal computer PC is not changed to an unintended configuration.

提供機能通知モジュールM1による提供可能な機能の通知は、プラグアンドプレイ処理を実行するUSBホストであるパーソナルコンピュータPCからの要求をトリガとして実行される。以下に、一般的なプラグアンドプレイの簡単な手順を説明する。パーソナルコンピュータPCは、USB多機能装置10の装着を検出すると、所定時間待機の後、Reset要求をUSB多機能装置10に対して送信する。所定時間の待機は、パーソナルコンピュータPCからUSB多機能装置10に対して電力が供給される期間を待機するために実行される。   The notification of the functions that can be provided by the provided function notification module M1 is executed with a request from the personal computer PC, which is a USB host that executes plug-and-play processing, as a trigger. A simple plug and play procedure will be described below. When the personal computer PC detects the mounting of the USB multi-function device 10, the personal computer PC transmits a Reset request to the USB multi-function device 10 after waiting for a predetermined time. The standby for a predetermined time is executed to wait for a period during which power is supplied from the personal computer PC to the USB multi-function device 10.

Reset要求を受信したUSB多機能装置10は、アドレス(0)と論理的な通信経路であるパイプ(0)を用いたコントロール転送を受信可能なデフォルト状態にリセットされる。パーソナルコンピュータPCは、Reset要求の送信後に、USB多機能装置10に対して、デバイスディスクリプタの送信要求(Get_Descriptor (device))を送信し、USB多機能装置10はパーソナルコンピュータPCに対して標準デバイスディスクリプタを返信する。この送信処理が再度行われた後、パーソナルコンピュータPCはUSB多機能装置10に対して、新たなアドレスの設定要求(Set_Address)を送信し、USB多機能装置10は新たなアドレスを設定し、新たなアドレスを用いた通信が可能な状態となる。   The USB multi-function device 10 that has received the Reset request is reset to a default state in which control transfer using the address (0) and the pipe (0) that is a logical communication path can be received. After transmitting the Reset request, the personal computer PC transmits a device descriptor transmission request (Get_Descriptor (device)) to the USB multi-function device 10, and the USB multi-function device 10 transmits a standard device descriptor to the personal computer PC. Reply. After this transmission processing is performed again, the personal computer PC transmits a new address setting request (Set_Address) to the USB multi-function device 10, and the USB multi-function device 10 sets a new address and sets a new address. Communication using a unique address is possible.

パーソナルコンピュータPCは、USB多機能装置10に対して、詳細なデバイスディスクリプタの送信要求(Get_Descriptor (configuration))を送信し、USB多機能装置10はパーソナルコンピュータPCに対してインタフェースディスクリプタを含むデバイスディスクリプタを返信する。本実施例では、インタフェースディスクリプタとして、スイッチ14によって選択された機能に従うインタフェースディスクリプタがパーソナルコンピュータPCに対して返信される。すなわち、本実施例では、提供可能な機能に応じてインタフェースディスクリプタは適宜変更される。パーソナルコンピュータPCは、受信したインタフェースディスクリプタに含まれているインタフェースクラスコードに基づいて、必要なドライバを検索し、未インストールの場合にはドライバのインストール処理を実行する。必要なドライバがインストール済みの場合には、インストール済みのドライバが機能される。このように、インタフェースディスクリプタに含まれるインタフェースクラスコードを提供機能と一致させることによって、パーソナルコンピュータPCによる未インストールドライバの実行の有無を制御することができる。したがって、不要なドライバのインストールを回避させることができる。   The personal computer PC sends a detailed device descriptor transmission request (Get_Descriptor (configuration)) to the USB multi-function device 10, and the USB multi-function device 10 sends a device descriptor including an interface descriptor to the personal computer PC. Send back. In this embodiment, an interface descriptor according to the function selected by the switch 14 is returned to the personal computer PC as the interface descriptor. That is, in this embodiment, the interface descriptor is changed as appropriate according to the functions that can be provided. The personal computer PC searches for a necessary driver based on the interface class code included in the received interface descriptor, and executes a driver installation process if it is not installed. If the necessary driver is already installed, the installed driver is functioned. As described above, by matching the interface class code included in the interface descriptor with the provided function, it is possible to control whether or not the non-installed driver is executed by the personal computer PC. Therefore, unnecessary driver installation can be avoided.

インタフェースディスクリプタを含むデバイスディスクリプタを受信したパーソナルコンピュータPCは、USB多機能装置10に対して、受信したデバイスディスクリプタの内容での動作設定を指示するSet_Configurationを送信する。Set_Configurationを受信したUSB多機能装置10は、送信したデバイスディスクリプタの内容で動作するよう設定を完了する。その後、パーソナルコンピュータPCとUSB多機能装置10との間でデータ通信が開始される。パーソナルコンピュータPCは、設定を指示した装置動作を提供する外部装置としてUSB多機能装置10を認識する。   The personal computer PC that has received the device descriptor including the interface descriptor transmits Set_Configuration instructing operation setting with the content of the received device descriptor to the USB multi-function device 10. The USB multi-function device 10 that has received the Set_Configuration completes the setting to operate with the contents of the transmitted device descriptor. Thereafter, data communication is started between the personal computer PC and the USB multi-function device 10. The personal computer PC recognizes the USB multi-function device 10 as an external device that provides the device operation instructing the setting.

CPU131は、提供機能通知モジュールM1を実行して、パーソナルコンピュータPCに対して、記憶部16用のデバイスドライバを送信して本処理ルーチンを終了する(ステップS106)。具体的には、CPU131は、記憶部16に格納されているドライバを取得し、USBI/F12を介してパーソナルコンピュータPCに送信する。なお、マスストレージデバイス用の汎用ドライバは、予めパーソナルコンピュータPCに組み込まれていることが多いので、ステップS106の処理は、パーソナルコンピュータPCからドライバの送信要求を受けた場合に実行されても良く、あるいは、実行されなくても良い。   The CPU 131 executes the provided function notification module M1, transmits the device driver for the storage unit 16 to the personal computer PC, and ends this processing routine (step S106). Specifically, the CPU 131 acquires the driver stored in the storage unit 16 and transmits it to the personal computer PC via the USB I / F 12. Since the general-purpose driver for the mass storage device is often incorporated in the personal computer PC in advance, the process in step S106 may be executed when a driver transmission request is received from the personal computer PC. Alternatively, it may not be executed.

ステップS100において、無線機能がオンされていると判定された場合(ステップS100:Yes)、切替部15は記憶部16および無線通信部17の双方をオンし(ステップS108)、CPU131は提供機能通知モジュールM1を実行して記憶機能および無線通信機能の双方を提供可能である旨、パーソナルコンピュータPCに通知する(ステップS110)。具体的には、切替部15は、切替テーブルT1に基づいて、記憶部16および無線通信部17の双方に給電を行い、記憶部16および無線通信部17の双方を動作可能にする。CPU131は、パーソナルコンピュータPCに対して、提供可能な機能が記憶機能および無線通信機能であることを示す、インタフェースディスクリプタを送信する。この結果、パーソナルコンピュータPCにおいては、USB多機能装置10は、例えば、マスストレージデバイスおよびコミュニケーションデバイスであると認識され、プラグアンドプレイ機能によって、必要に応じて、記憶用および無線通信用のドライバが自動的にインストールされる。   If it is determined in step S100 that the wireless function is turned on (step S100: Yes), the switching unit 15 turns on both the storage unit 16 and the wireless communication unit 17 (step S108), and the CPU 131 notifies the provided function. The module M1 is executed to notify the personal computer PC that both the storage function and the wireless communication function can be provided (step S110). Specifically, the switching unit 15 supplies power to both the storage unit 16 and the wireless communication unit 17 based on the switching table T1, and enables both the storage unit 16 and the wireless communication unit 17 to operate. The CPU 131 transmits an interface descriptor indicating that functions that can be provided are a storage function and a wireless communication function to the personal computer PC. As a result, in the personal computer PC, the USB multi-function device 10 is recognized as, for example, a mass storage device and a communication device, and a driver for storage and wireless communication is installed as necessary by the plug and play function. Installed automatically.

CPU131は、提供機能通知モジュールM1を実行して、パーソナルコンピュータPCに対して、記憶部16用および無線通信部17用のデバイスドライバを送信する(ステップS112)。具体的には、CPU131は、記憶部16に格納されている記憶部用および無線通信部用ドライバを取得し、USBI/F12を介してパーソナルコンピュータPCに送信する。なお、ステップS112の処理は、パーソナルコンピュータPCからドライバの送信要求を受けた場合に実行されても良く、あるいは、実行されなくても良い。実行されない場合には、別のタイミングにおいて、ユーザ操作をトリガとして起動されるインストールプログラムの要求に応じて、記憶部16および無線通信部17のドライバがパーソナルコンピュータPCに送信されれば良い。ドライバを受信したパーソナルコンピュータPCにおいては、例えば、インストールプログラムが自動的に起動し、受信したドライバのインストール処理が実行され、記憶部16および無線通信部17はそれぞれ、外部デバイスとしてパーソナルコンピュータPCから利用可能となる。   The CPU 131 executes the provided function notification module M1 and transmits device drivers for the storage unit 16 and the wireless communication unit 17 to the personal computer PC (step S112). Specifically, the CPU 131 acquires storage unit and wireless communication unit drivers stored in the storage unit 16 and transmits them to the personal computer PC via the USB I / F 12. Note that the processing in step S112 may be executed when a driver transmission request is received from the personal computer PC, or may not be executed. If not executed, the drivers of the storage unit 16 and the wireless communication unit 17 may be transmitted to the personal computer PC at a different timing in response to a request for an installation program that is activated by a user operation as a trigger. In the personal computer PC that has received the driver, for example, the installation program is automatically started, and the received driver is installed, and the storage unit 16 and the wireless communication unit 17 are used as external devices from the personal computer PC, respectively. It becomes possible.

CPU131は、情報同期要求モジュールM2を実行して、無線通信部17を介してネットワークに接続し(ステップS114)、同期の対象となる外部のサーバ35(以下、同期対象サーバとも言う:図1参照)を検索する(ステップS116)。具体的には、USB多機能装置10は、無線通信部17によって無線アクセスポイント30に接続し、予め設定されている同期対象サーバのIPアドレス宛てに同期処理要求を送信する。   The CPU 131 executes the information synchronization request module M2 and connects to the network via the wireless communication unit 17 (step S114), and an external server 35 (hereinafter also referred to as a synchronization target server: see FIG. 1). ) Is searched (step S116). Specifically, the USB multi-function device 10 is connected to the wireless access point 30 by the wireless communication unit 17 and transmits a synchronization processing request to a preset IP address of a synchronization target server.

CPU131は、同期対象サーバ35から応答を受信すると(ステップS116)、同期対象サーバ35からの応答に応じて同期対象サーバとの同期処理を実行し(ステップS118)、本処理ルーチンを終了する。CPU131によって実行される同期処理は、例えば、同期対象サーバ35からの要求に応じて、記憶部16内の同期すべきデータを同期対象サーバに送ること、同期対象サーバ35における、同期対象サーバ35のHDD351に格納されている同期対象データと、受信データとの比較結果に基づき、記憶部16内の同期すべきデータを、同期対象サーバ35から受信した更新用データによって更新することを含む。なお、記憶部16内の同期すべきデータがHDD351内の同期対象データよりも新しいデータである場合には、USB多機能装置10において、記憶部16内の同期すべきデータの更新処理が実行されない。   When the CPU 131 receives a response from the synchronization target server 35 (step S116), the CPU 131 executes a synchronization process with the synchronization target server in accordance with the response from the synchronization target server 35 (step S118), and ends this processing routine. The synchronization process executed by the CPU 131 is, for example, sending data to be synchronized in the storage unit 16 to the synchronization target server in response to a request from the synchronization target server 35, and the synchronization target server 35 in the synchronization target server 35. This includes updating the data to be synchronized in the storage unit 16 with the update data received from the synchronization target server 35 based on the comparison result between the synchronization target data stored in the HDD 351 and the received data. When the data to be synchronized in the storage unit 16 is newer than the data to be synchronized in the HDD 351, the USB multi-function device 10 does not execute the update process of the data to be synchronized in the storage unit 16. .

ステップS116において、CPU131は同期対象サーバ35からの応答を所定時間内に受信することができない場合には(ステップS116:No)、予め定められた回数、同期対象サーバのIPアドレス宛ての同期処理要求の送信および同期対象サーバ35からの応答の待機を繰り返し、予め定められた回数を超えた時点で本処理ルーチンを終了する。通信環境に起因する同期処理要求の不達を考慮すると共に、同期対象サーバ35のネットワークからの切り離し、同期対象サーバ35の電源オフに対応するためである。   In step S116, if the CPU 131 cannot receive a response from the synchronization target server 35 within a predetermined time (step S116: No), the synchronization processing request addressed to the IP address of the synchronization target server is performed a predetermined number of times. And waiting for a response from the synchronization target server 35 are repeated, and when the predetermined number of times is exceeded, this processing routine is terminated. This is because the failure of the synchronization processing request due to the communication environment is taken into account, and the synchronization target server 35 is disconnected from the network and the synchronization target server 35 is turned off.

第1の実施例に係るUSB多機能装置10によれば、スイッチ14の操作によって、USB多機能装置10を記憶装置としてのみ機能させることができる。したがって、既に、パーソナルコンピュータPCに無線通信用のドライバがインストールされている場合、パーソナルコンピュータPCが無線ネットワークに接続できない環境下にある場合、といったように、USB多機能装置10を記憶装置としてのみ機能させたいというユーザのニーズに応じることができる。前者の場合には、望まないドライバがインストールされ、パーソナルコンピュータPCの実行環境が変化するという問題を防止することが可能となり、後者の場合には、利用できない無線通信機能のためのドライバの不要なインストール処理を回避することができる。したがって、USB多機能装置10によれば、多機能装置が抱える問題点を解決し、多機能装置の利便性を向上させることができる。   According to the USB multi-function device 10 according to the first embodiment, the USB multi-function device 10 can be caused to function only as a storage device by operating the switch 14. Accordingly, the USB multi-function device 10 functions only as a storage device, such as when a driver for wireless communication is already installed in the personal computer PC or when the personal computer PC is in an environment where it cannot be connected to the wireless network. It is possible to meet the needs of users who want to make it happen. In the former case, it is possible to prevent a problem that an undesired driver is installed and the execution environment of the personal computer PC is changed. In the latter case, a driver for an unusable wireless communication function is unnecessary. The installation process can be avoided. Therefore, according to the USB multi-function device 10, the problems of the multi-function device can be solved and the convenience of the multi-function device can be improved.

第1の実施例に係るUSB多機能装置10によれば、無線通信機能を提供する場合、USB多機能装置10によって自動的に、同期対象サーバ35に対して、データの同期処理の開始が要求される。したがって、同期対象サーバ35に格納されているデータが最新のデータである場合には、USB多機能装置10に格納されているデータが最新のデータに更新され、USB多機能装置10に格納されているデータが最新のデータである場合には、同期対象サーバ35に格納されているデータが最新のデータに更新される。したがって、ユーザは、特別な操作を実行することなく、常にUSB多機能装置10および同期対象サーバ35に格納されているデータを最新のデータとすることができる。   According to the USB multi-function device 10 according to the first embodiment, when the wireless communication function is provided, the USB multi-function device 10 automatically requests the synchronization target server 35 to start data synchronization processing. Is done. Therefore, when the data stored in the synchronization target server 35 is the latest data, the data stored in the USB multi-function device 10 is updated to the latest data and stored in the USB multi-function device 10. If the stored data is the latest data, the data stored in the synchronization target server 35 is updated to the latest data. Therefore, the user can always make the data stored in the USB multi-function device 10 and the synchronization target server 35 the latest data without performing any special operation.

USB多機能装置10は、記憶機能と無線通信機能との複数の機能を提供することができるので、1つのUSBポートを介して複数の機能を提供することが可能となり、ポートリソースの逼迫を低減することができる。   Since the USB multi-function device 10 can provide a plurality of functions including a storage function and a wireless communication function, it is possible to provide a plurality of functions via one USB port, thereby reducing port resource strain. can do.

第2の実施例:
第2の実施例に係るUSB多機能装置の構成:
図8は第2の実施例に係る多機能装置の内部概略構成の一例を示す説明図である。図9は第2の実施例に係る多機能装置に格納されているモジュールおよび情報の一例を示す説明図である。第2の実施例に係るUSB多機能装置10aは、物理的なスイッチ14を備えず、接続先であるパーソナルコンピュータPCの状態に応じて、制御部13によって、ソフトウェア的に提供機能を切り替える点に特徴を備えている。但し、第2の実施例に係るUSB多機能装置10aの構成の中には、第1の実施例に係るUSB多機能装置10の構成と同様の構成も含まれているので、そのような構成、要素については、第1の実施例に係るUSB多機能装置10において用いた符号と同一の符号を付すことで、説明を省略する。
Second embodiment:
Configuration of the USB multi-function device according to the second embodiment:
FIG. 8 is an explanatory diagram showing an example of an internal schematic configuration of the multi-function device according to the second embodiment. FIG. 9 is an explanatory diagram illustrating an example of modules and information stored in the multi-function device according to the second embodiment. The USB multi-function device 10a according to the second embodiment does not include the physical switch 14, and the provided function is switched by software by the control unit 13 according to the state of the personal computer PC that is the connection destination. It has features. However, the configuration of the USB multi-function device 10a according to the second embodiment includes the same configuration as the configuration of the USB multi-function device 10 according to the first embodiment. The description of the elements is omitted by giving the same reference numerals as those used in the USB multi-function device 10 according to the first embodiment.

USB多機能装置10aは、接続端子11、USB入出力インタフェース(I/F)12、制御部13a、切替部15a、記憶部16および無線通信部17を備えている。   The USB multi-function device 10 a includes a connection terminal 11, a USB input / output interface (I / F) 12, a control unit 13 a, a switching unit 15 a, a storage unit 16, and a wireless communication unit 17.

制御部13aは、USB多機能装置10aの各部を制御して、USB多機能装置10aが装着されたパーソナルコンピュータPC等の外部装置に対して、所望の機能を提供すると共に、USB多機能装置10aの動作を制御する。制御部13aは、第1の実施例に係るUSB多機能装置10が備える制御部13と同様に、中央処理装置(CPU)131、リードオンリメモリ(ROM)132a、ランダムアクセスメモリ(RAM)133および入出力インタフェース(I/F)134を備えている。CPU131、ROM132a、RAM133およびI/F134は、内部バス135によって相互に通信可能に接続されている。CPU131はROM132aに格納されているプログラム、ソフトウェアモジュールをRAM133上に展開して、プログラム、ソフトウェアモジュールを実行する。RAM133は、CPU131の作業領域を提供する揮発性のメモリである。ROM132aは不揮発性のメモリであり、図9に示すように、CPU131が実行する提供機能通知モジュールM1、情報同期要求モジュールM2、判断モジュールM3、およびディスクリプタ情報DIを格納している。I/F134は、USBI/F12および各モジュール(切替部等)と制御部13の構成要素との信号のやりとりを仲介する。   The control unit 13a controls each unit of the USB multi-function device 10a to provide a desired function to an external device such as a personal computer PC to which the USB multi-function device 10a is mounted, and the USB multi-function device 10a. To control the operation. Similarly to the control unit 13 included in the USB multi-function device 10 according to the first embodiment, the control unit 13a includes a central processing unit (CPU) 131, a read only memory (ROM) 132a, a random access memory (RAM) 133, and An input / output interface (I / F) 134 is provided. The CPU 131, the ROM 132a, the RAM 133, and the I / F 134 are connected via an internal bus 135 so that they can communicate with each other. The CPU 131 expands the program and software module stored in the ROM 132a on the RAM 133, and executes the program and software module. The RAM 133 is a volatile memory that provides a work area for the CPU 131. The ROM 132a is a non-volatile memory, and stores a provided function notification module M1, an information synchronization request module M2, a determination module M3, and descriptor information DI executed by the CPU 131, as shown in FIG. The I / F 134 mediates exchange of signals between the USB I / F 12 and each module (switching unit or the like) and the components of the control unit 13.

判断モジュールM3は、CPU131によって実行されることによって、外部装置であるパーソナルコンピュータPCに無線通信用のドライバがインストールされているか否か、さらには、USB多機能装置10aに備えられている無線通信部17用のドライバがインストールされているか否かを判断する、判断部として機能する。パーソナルコンピュータPCにおけるドライバのインストール状況は、判断モジュールM3が、例えば、オペレーティングシステムが提供するデバイスマネージャに問い合わせることによって取得することができる。   The determination module M3 is executed by the CPU 131 to determine whether a wireless communication driver is installed in the personal computer PC which is an external device, and further, a wireless communication unit provided in the USB multi-function device 10a. It functions as a determination unit that determines whether or not a 17 driver is installed. The installation status of the driver in the personal computer PC can be acquired by the determination module M3, for example, by inquiring a device manager provided by the operating system.

判断モジュールM3はさらに、パーソナルコンピュータPCに無線通信用のドライバがインストールされていると判断する場合には、切替部15aに対して、記憶部16のみを動作させる切り替え信号を送信し、パーソナルコンピュータPCに無線通信用のドライバがインストールされてないと判断する場合には、切替部15aに対して、記憶部16および無線通信部17の双方を動作させる切り替え信号を送信する。判断モジュールM3はさらに、パーソナルコンピュータPCにUSB多機能装置10aの無線通信部17用の無線通信用のドライバがインストールされているが否かを判断し、USB多機能装置10aの無線通信部17用の無線通信用のドライバがインストールされていると判断する場合には、切替部15aに対して、記憶部16および無線通信部17の双方を動作させる切り替え信号を送信しても良い。この場合には、パーソナルコンピュータPCにインストールされている無線通信用のドライバは、USB多機能装置10a用のドライバであり、新たなドライバがインストールされることはなく、パーソナルコンピュータPCの設定環境を変更することなく、無線通信機能を利用することが可能である。また、USB多機能装置10aのユーザに対して、無線通信機能を提供しない場合には使い勝手が低下してしまう。   If the determination module M3 further determines that a wireless communication driver is installed in the personal computer PC, the determination module M3 transmits a switching signal for operating only the storage unit 16 to the switching unit 15a. When it is determined that the wireless communication driver is not installed in the network, a switching signal for operating both the storage unit 16 and the wireless communication unit 17 is transmitted to the switching unit 15a. The determination module M3 further determines whether or not a wireless communication driver for the wireless communication unit 17 of the USB multi-function device 10a is installed in the personal computer PC, and for the wireless communication unit 17 of the USB multi-function device 10a. When it is determined that the wireless communication driver is installed, a switching signal for operating both the storage unit 16 and the wireless communication unit 17 may be transmitted to the switching unit 15a. In this case, the wireless communication driver installed in the personal computer PC is a driver for the USB multi-function device 10a, and a new driver is not installed, and the setting environment of the personal computer PC is changed. It is possible to use the wireless communication function without doing so. Further, when the wireless communication function is not provided to the user of the USB multi-function device 10a, usability is reduced.

判断モジュールM3は、パーソナルコンピュータPCに無線通信用のドライバがインストールされているか否か判断することができない場合には、切替部15aに対して、記憶部16および無線通信部17の双方を動作させる切り替え信号を送信しても良い。USB多機能装置10aが提供可能な全ての機能を提供することにより、ユーザの利便性を向上させることができると共に、ユーザによって、不要な無線通信用ドライバのインストールを停止することは可能だからである。   If the determination module M3 cannot determine whether or not the wireless communication driver is installed in the personal computer PC, the determination module M3 causes the switching unit 15a to operate both the storage unit 16 and the wireless communication unit 17. A switching signal may be transmitted. This is because providing all the functions that can be provided by the USB multi-function device 10a can improve the convenience of the user, and the user can stop installing an unnecessary wireless communication driver. .

切替部15aは、上述のように、判断モジュールM3を実行する制御部13a(CPU131)からの要求に応じて、記憶部16のみ、または記憶部16および無線通信部17の双方を動作させるために記憶部16のみ、または記憶部16および無線通信部17に対して給電する。   As described above, the switching unit 15a operates only the storage unit 16 or both the storage unit 16 and the wireless communication unit 17 in response to a request from the control unit 13a (CPU 131) that executes the determination module M3. Power is supplied only to the storage unit 16 or to the storage unit 16 and the wireless communication unit 17.

第2の実施例に係るUSB多機能装置10aでは、提供機能通知モジュールM1は、判断モジュールM3の判断結果に応じて、パーソナルコンピュータPCに接続された際に、パーソナルコンピュータPCに対して提供可能な機能を通知する。すなわち、提供機能通知モジュールM1は、判断モジュールM3によって、パーソナルコンピュータPCに無線通信用のドライバがインストールされていると判断された場合には、パーソナルコンピュータPCに対して、記憶機能のみを提供可能である旨通知する。提供機能通知モジュールM1は、判断モジュールM3によって、パーソナルコンピュータPCに無線通信用のドライバがインストールされていると判断された場合であっても、USB多機能装置10aに対応する無線通信用ドライバがインストールされていると判断された場合には、パーソナルコンピュータPCに対して、記憶機能および無線通信機能の双方を提供可能である旨通知しても良い。提供機能通知モジュールM1は、判断モジュールM3によって、パーソナルコンピュータPCに無線通信用のドライバがインストールされていないと判断された場合には、パーソナルコンピュータPCに対して、記憶機能および無線通信機能の双方を提供可能である旨通知する。   In the USB multi-function device 10a according to the second embodiment, the provided function notification module M1 can be provided to the personal computer PC when connected to the personal computer PC according to the determination result of the determination module M3. Notify the function. That is, the provided function notification module M1 can provide only the storage function to the personal computer PC when the determination module M3 determines that the driver for wireless communication is installed in the personal computer PC. Notify that there is. The provided function notification module M1 installs the wireless communication driver corresponding to the USB multi-function device 10a even if the determination module M3 determines that the wireless communication driver is installed in the personal computer PC. If it is determined that the storage function and the wireless communication function can be provided, the personal computer PC may be notified. When the determination module M3 determines that the wireless communication driver is not installed in the personal computer PC, the provided function notification module M1 provides both the storage function and the wireless communication function to the personal computer PC. Notify that it can be provided.

提供機能通知モジュールM1は、判断モジュールM3によって、パーソナルコンピュータPCに無線通信用のドライバがインストールされているか否か判断できない場合には、パーソナルコンピュータPCに対して、記憶機能および無線通信機能の双方を提供可能である旨通知しても良い。   If the determination module M3 cannot determine whether the wireless communication driver is installed in the personal computer PC, the provided function notification module M1 provides both the storage function and the wireless communication function to the personal computer PC. You may notify that it can provide.

ROM132aに格納されているディスクリプタ情報DIについては、第1の実施例に係るUSB多機能装置10について説明した通りである。   The descriptor information DI stored in the ROM 132a is as described for the USB multi-function device 10 according to the first embodiment.

第2の実施例に係るUSB多機能装置の動作
図10は、第2の実施例に係る多機能装置によって実行される接続時処理ルーチンを示すフローチャートである。第2の実施例に係るUSB多機能装置10aによって実行される本処理ルーチンは、物理的なスイッチ14の切り替え操作によらず、USB多機能装置10aによって、記憶機能、記憶機能および無線機能のいずれを提供すべきか判断される点に特徴を有する。なお、本処理ルーチンにおけるステップのうち、第1の実施例に係るUSB多機能装置10によって実行される処理ルーチンにおけるステップと同様の処理については、簡単に説明するに止める。
Operation of USB Multifunction Device According to Second Embodiment FIG. 10 is a flowchart showing a connection time processing routine executed by the multifunction device according to the second embodiment. The processing routine executed by the USB multi-function device 10a according to the second embodiment is any of the storage function, the storage function, and the wireless function by the USB multi-function device 10a regardless of the physical switch 14 switching operation. It is characterized in that it is determined whether or not to be provided. Of the steps in this processing routine, the same processing as that in the processing routine executed by the USB multi-function device 10 according to the first embodiment will be described briefly.

本処理ルーチンは、USB多機能装置10aがパーソナルコンピュータPCに装着されるとUSB多機能装置10aにおいて実行開始される。USB多機能装置10aがパーソナルコンピュータPCに装着されると、上述したUSB規格に準じたデバイスを認識させる手順を完了するために、USB多機能装置10aは、パーソナルコンピュータPCに対してマスストレージクラスのデバイスである旨を通知する。ただし、この時点でUSB多機能装置10aは、ROM132aに格納されているプラグアンドプレイを実行するためのプログラムを実行しているに過ぎないので、記憶部16および無線通信部17は未だ動作可能な状態とされていない。パーソナルコンピュータPCに汎用のマスストレージドライバがインストールされていない場合には、USB多機能装置10aとパーソナルコンピュータPCとの間でプラグアンドプレイによるデバイス実装処理が実行される。一方、パーソナルコンピュータPCに汎用マスストレージドライバがインストールされている場合には、新たなドライバはインストールされない。USB多機能装置10aとパーソナルコンピュータPCとの間で通信可能な状態になった後、制御部13aのCPU131は、判断モジュールM3を実行して、パーソナルコンピュータPCに実装済みの機能(インストール済みのドライバ)に関する情報を、パーソナルコンピュータPCのデバイスマネージャから取得する(ステップS200)。具体的には、パーソナルコンピュータPCとのデータの授受が可能となった時点、すなわち、論理的な通信が可能となった時点で、周知の自動起動プラグラムによって、判断モジュールM3を起動させることによって、実現され得る。   This processing routine is started in the USB multi-function device 10a when the USB multi-function device 10a is attached to the personal computer PC. When the USB multi-function device 10a is attached to the personal computer PC, the USB multi-function device 10a is connected to the personal computer PC in order to complete the procedure for recognizing the device conforming to the USB standard. Notify that it is a device. However, at this point, the USB multi-function device 10a is merely executing a program for executing plug and play stored in the ROM 132a, and therefore the storage unit 16 and the wireless communication unit 17 are still operable. It is not in a state. When a general-purpose mass storage driver is not installed in the personal computer PC, a device mounting process by plug and play is executed between the USB multi-function device 10a and the personal computer PC. On the other hand, when the general-purpose mass storage driver is installed in the personal computer PC, no new driver is installed. After the USB multi-function device 10a and the personal computer PC are communicable, the CPU 131 of the control unit 13a executes the determination module M3 to execute functions (installed drivers) that are already installed in the personal computer PC. ) Is acquired from the device manager of the personal computer PC (step S200). Specifically, when the data exchange with the personal computer PC becomes possible, that is, when the logical communication becomes possible, the decision module M3 is activated by a known automatic activation program, Can be realized.

CPU131は、受け取った実装済み機能の情報に基づいて、パーソナルコンピュータPCに無線通信機能が実装されているか、すなわち、無線通信用ドライバがインストールされているか否かを判定する(ステップS202)。CPU131は、パーソナルコンピュータPCに無線機能が実装されていないと判定した場合には(ステップS202:No)、ステップS212に移行する。一方、CPU131は、パーソナルコンピュータPCに無線機能が実装されていると判定した場合には(ステップS202:Yes)、実装されている無線機能は、USB多機能装置10aによって提供される機能、すなわち、USB多機能装置10aのドライバがインストールされているか否かを判定する(ステップS204)。CPU131は、実装されている無線機能が、USB多機能装置10aによって提供される機能であると判定した場合には(ステップS204:Yes)、ステップS212に移行する。ステップS212〜ステップS216は、USB多機能装置10aを記憶部および無線通信部として機能させるための処理であり、USB多機能装置10aに無線通信用のドライバがインストールされていない場合には、無線通信用のドライバがインストールされても、パーソナルコンピュータPCにおける既存の無線通信環境が変更されることはなく、無線通信用のドライバがインストールされている場合であっても、USB多機能装置10aに対応する無線通信用のドライバがインストールされている場合には、却って、無線通信部として機能させることによってユーザの利便性を向上させることができる。   The CPU 131 determines whether or not the wireless communication function is installed in the personal computer PC, that is, whether or not the wireless communication driver is installed based on the received information on the installed function (step S202). When the CPU 131 determines that the wireless function is not implemented in the personal computer PC (step S202: No), the CPU 131 proceeds to step S212. On the other hand, when the CPU 131 determines that the wireless function is implemented in the personal computer PC (step S202: Yes), the implemented wireless function is a function provided by the USB multi-function device 10a, that is, It is determined whether the driver of the USB multi-function device 10a is installed (step S204). When the CPU 131 determines that the implemented wireless function is a function provided by the USB multi-function device 10a (step S204: Yes), the CPU 131 proceeds to step S212. Steps S212 to S216 are processes for causing the USB multi-function device 10a to function as a storage unit and a wireless communication unit. If no wireless communication driver is installed in the USB multi-function device 10a, wireless communication is performed. Even if a driver for wireless communication is installed, the existing wireless communication environment in the personal computer PC is not changed, and even if a driver for wireless communication is installed, it corresponds to the USB multi-function device 10a. If a wireless communication driver is installed, the convenience of the user can be improved by functioning as a wireless communication unit.

CPU131は、実装されている無線機能が、USB多機能装置10aによって提供される無線機能でないと判定した場合には(ステップS204:No)、ステップS206〜ステップS210を実行する。なお、ステップS206〜ステップS210は、第1の実施例に係るUSB多機能装置10aに関して説明した図9のステップS102〜S116に対応するステップであるから、相違点を中心に簡単に説明する。CPU131によって実行されている判断モジュールM3は、切替部15aに対して記憶部16をオンするよう要求し、切替部15aは要求に応じて記憶部16をオンする(ステップS206)。CPU131は提供機能通知モジュールM1を実行して記憶機能を提供可能である旨、パーソナルコンピュータPCに通知する(ステップS104)。具体的には、切替部15aは、要求に応じて記憶部16のみに給電を行い、記憶部16を動作可能にする。CPU131によって実行されている提供機能通知モジュールM1は、判断モジュールM3の判断結果(ステップS202:Yes、ステップS204:No)を受けて、パーソナルコンピュータPCに対して、提供可能な機能が記憶機能であることを示す、インタフェースディスクリプタを送信する。この結果、パーソナルコンピュータPCにおいては、USB多機能装置10aは、例えば、マスストレージデバイスであると認識され、プラグアンドプレイ機能によって、無線通信用のドライバが自動的にインストールされることはない。この結果、パーソナルコンピュータPCの構成(configulation)が意図しない構成に変更されることはない。   When the CPU 131 determines that the mounted wireless function is not a wireless function provided by the USB multi-function device 10a (step S204: No), the CPU 131 executes steps S206 to S210. Steps S206 to S210 are steps corresponding to steps S102 to S116 of FIG. 9 described with respect to the USB multi-function device 10a according to the first embodiment, and will be briefly described focusing on the differences. The determination module M3 being executed by the CPU 131 requests the switching unit 15a to turn on the storage unit 16, and the switching unit 15a turns on the storage unit 16 in response to the request (step S206). The CPU 131 notifies the personal computer PC that the storage function can be provided by executing the provided function notification module M1 (step S104). Specifically, the switching unit 15a supplies power only to the storage unit 16 in response to a request, and enables the storage unit 16 to operate. The provided function notification module M1 executed by the CPU 131 receives the determination result of the determination module M3 (step S202: Yes, step S204: No), and a function that can be provided to the personal computer PC is a storage function. Send an interface descriptor to indicate this. As a result, in the personal computer PC, the USB multi-function device 10a is recognized as a mass storage device, for example, and the driver for wireless communication is not automatically installed by the plug and play function. As a result, the configuration of the personal computer PC is not changed to an unintended configuration.

なお、提供機能通知モジュールM1による提供可能な機能の通知は、プラグアンドプレイ処理を実行するUSBホストであるパーソナルコンピュータPCからの要求をトリガとして実行され、詳細な実行手順は既述の通りである。   The notification of the functions that can be provided by the provided function notification module M1 is executed using a request from the personal computer PC, which is a USB host that executes plug-and-play processing, as a trigger, and the detailed execution procedure is as described above. .

CPU131は、提供機能通知モジュールM1を実行して、パーソナルコンピュータPCに対して、記憶部16用のデバイスドライバを送信して本処理ルーチンを終了する(ステップS210)。なお、マスストレージデバイス用の汎用ドライバは、予めパーソナルコンピュータPCに組み込まれていることが多いので、ステップS210の処理は、パーソナルコンピュータPCからドライバの送信要求を受けた場合に実行されても良く、あるいは、実行されなくても良い。   The CPU 131 executes the provided function notification module M1, transmits the device driver for the storage unit 16 to the personal computer PC, and ends this processing routine (step S210). Since the general-purpose driver for the mass storage device is often incorporated in the personal computer PC in advance, the processing in step S210 may be executed when a driver transmission request is received from the personal computer PC. Alternatively, it may not be executed.

以下、ステップS212〜ステップS216について説明するが、これらのステップは、第1の実施例に係るUSB多機能装置10aに関して説明した図9のステップS108〜S112に対応するステップであるから、相違点を中心に説明し、詳細な説明は省略する。ステップS212において、CPU131によって実行されている判断モジュールM3は、切替部15aに対して記憶部16および無線通信部17の双方をオンするよう要求し、切替部15aは記憶部16および無線通信部17の双方をオンする(ステップS212)。CPU131は提供機能通知モジュールM1を実行して記憶機能および無線通信機能の双方を提供可能である旨、パーソナルコンピュータPCに通知する(ステップS214)。具体的には、切替部15aは、要求に応じて、記憶部16および無線通信部17の双方に給電を行い、記憶部16および無線通信部17の双方を動作可能にする。CPU131によって実行されている提供機能通知モジュールM1は、判断モジュールM3の判断結果(ステップS202:No、ステップS204:Yes)を受けて、パーソナルコンピュータPCに対して、提供可能な機能が記憶機能および無線通信機能であることを示す、インタフェースディスクリプタを送信する。この結果、パーソナルコンピュータPCにおいては、USB多機能装置10aは、例えば、マスストレージデバイスおよびコミュニケーションデバイスであると認識され、プラグアンドプレイ機能によって、必要に応じて、記憶用および無線通信用のドライバが自動的にインストールされる。   Hereinafter, steps S212 to S216 will be described. These steps are steps corresponding to steps S108 to S112 of FIG. 9 described regarding the USB multi-function device 10a according to the first embodiment. This will be mainly described, and detailed description will be omitted. In step S212, the determination module M3 being executed by the CPU 131 requests the switching unit 15a to turn on both the storage unit 16 and the wireless communication unit 17, and the switching unit 15a includes the storage unit 16 and the wireless communication unit 17. Both are turned on (step S212). The CPU 131 executes the provided function notification module M1 to notify the personal computer PC that both the storage function and the wireless communication function can be provided (step S214). Specifically, the switching unit 15a supplies power to both the storage unit 16 and the wireless communication unit 17 in response to a request, and enables both the storage unit 16 and the wireless communication unit 17 to operate. The provided function notification module M1 executed by the CPU 131 receives the determination result of the determination module M3 (step S202: No, step S204: Yes), and the functions that can be provided to the personal computer PC are the storage function and the wireless function. An interface descriptor indicating the communication function is transmitted. As a result, in the personal computer PC, the USB multi-function device 10a is recognized as a mass storage device and a communication device, for example, and a driver for storage and wireless communication is installed as necessary by the plug and play function. Installed automatically.

CPU131は、提供機能通知モジュールM1を実行して、パーソナルコンピュータPCに対して、記憶部16用および無線通信部17用のデバイスドライバを送信する(ステップS216)。なお、ステップS216の処理は、パーソナルコンピュータPCからドライバの送信要求を受けた場合に実行されても良く、あるいは、実行されなくても良い。実行されない場合には、別のタイミングにおいて、ユーザ操作をトリガとして起動されるインストールプログラムの要求に応じて、記憶部16および無線通信部17のドライバがパーソナルコンピュータPCに送信されれば良い。ドライバを受信したパーソナルコンピュータPCにおいては、例えば、インストールプログラムが自動的に起動し、受信したドライバのインストール処理が実行され、記憶部16および無線通信部17はそれぞれ、外部デバイスとしてパーソナルコンピュータPCから利用可能となる。   The CPU 131 executes the provided function notification module M1 and transmits device drivers for the storage unit 16 and the wireless communication unit 17 to the personal computer PC (step S216). Note that the processing in step S216 may be executed when a driver transmission request is received from the personal computer PC, or may not be executed. If not executed, the drivers of the storage unit 16 and the wireless communication unit 17 may be transmitted to the personal computer PC at a different timing in response to a request for an installation program that is activated by a user operation as a trigger. In the personal computer PC that has received the driver, for example, the installation program is automatically started, and the received driver is installed, and the storage unit 16 and the wireless communication unit 17 are used as external devices from the personal computer PC, respectively. It becomes possible.

CPU131は、以降、ステップS218〜S222の情報同期処理を実行し、本処理ルーチンを終了する。なお、第1の実施例に係るUSB多機能装置10aに関して説明した図9のステップS114〜S118に対応するステップであるから、説明を省略する。   Thereafter, the CPU 131 executes information synchronization processing in steps S218 to S222, and ends this processing routine. In addition, since it is a step corresponding to step S114-S118 of FIG. 9 demonstrated regarding the USB multi-function device 10a which concerns on 1st Example, description is abbreviate | omitted.

第2の実施例に係るUSB多機能装置10aによれば、ユーザによるスイッチ14の操作を伴うことなく、USB多機能装置10aによって、USB多機能装置10aを記憶装置としてのみ機能させるべきか、あるいは、記憶装置および無線通信装置として機能させるべきかを決定することができる。したがって、USB多機能装置10aをパーソナルコンピュータPCに接続するだけで、既に、パーソナルコンピュータPCに無線通信用のドライバがインストールされている場合に、重ねて異なる無線通信用ドライバがインストールされる事態を回避することが可能となり、パーソナルコンピュータPCの実行環境が変化するという問題を防止することが可能となる。また、パーソナルコンピュータPCに無線通信用のドライバがインストールされている場合であっても、USB多機能装置10aが備える無線通信部17用のドライバがインストールされている場合には、USB多機能装置10aを記憶装置としてのみならず、無線通信装置としても使用することが可能となり、USB多機能装置10aの機能を有効に活用することが可能となり、ユーザの利便性を向上させることができる。したがって、USB多機能装置10aによれば、多機能装置が抱える問題点を解決し、多機能装置の利便性を向上させることができる。   According to the USB multi-function device 10a according to the second embodiment, the USB multi-function device 10a should function only as a storage device by the USB multi-function device 10a without the user operating the switch 14. It is possible to determine whether to function as a storage device and a wireless communication device. Therefore, by simply connecting the USB multi-function device 10a to the personal computer PC, when a wireless communication driver is already installed in the personal computer PC, a situation in which different wireless communication drivers are installed again is avoided. It becomes possible to prevent the problem that the execution environment of the personal computer PC changes. Further, even if a driver for wireless communication is installed in the personal computer PC, if the driver for the wireless communication unit 17 included in the USB multi-function device 10a is installed, the USB multi-function device 10a. Can be used not only as a storage device but also as a wireless communication device, the functions of the USB multi-function device 10a can be effectively utilized, and the convenience of the user can be improved. Therefore, according to the USB multi-function device 10a, the problems of the multi-function device can be solved and the convenience of the multi-function device can be improved.

第2の実施例に係るUSB多機能装置10aによれば、第1の実施例に係るUSB多機能装置10によって得られる他の効果を得ることができる。   According to the USB multi-function device 10a according to the second embodiment, other effects obtained by the USB multi-function device 10 according to the first embodiment can be obtained.

その他の実施例:
(1)上記第1の実施例では、スイッチ14は、記憶機能、記憶機能および無線通信機能の2実施例の間でUSB多機能装置10が提供可能な機能を切り替えているが、更に、無線通信機能のみを提供可能な機能として切り替え可能なスイッチであっても良い。すなわち、USB多機能装置10を無線通信装置としてのみ使用可能であるよう選択可能なスイッチであっても良い。例えば、異なるUSBストレージデバイスが用いられている場合に、複数のUSBストレージデバイスが実装されることにより、データの格納先が複数となり、USBストレージデバイスの使い勝手が低下する事態を回避することができる。この場合には、USB多機能装置10は、パーソナルコンピュータPCに対して、インタフェースディスクリプタとして、通信デバイスのクラスコードを通知する。
Other examples:
(1) In the first embodiment, the switch 14 switches the functions that the USB multi-function device 10 can provide between the two embodiments of the storage function, the storage function, and the wireless communication function. A switch that can be switched as a function that can provide only a communication function may be used. That is, a switch that can be selected so that the USB multi-function device 10 can be used only as a wireless communication device may be used. For example, when different USB storage devices are used, by installing a plurality of USB storage devices, it is possible to avoid a situation where the data storage destination becomes plural and the usability of the USB storage device is lowered. In this case, the USB multi-function device 10 notifies the personal computer PC of the class code of the communication device as an interface descriptor.

(2)上記各実施例では、USB多機能装置10、10aが提供可能な通知に際して、ユーザに問い合わせることなくパーソナルコンピュータPCに対する通知が実行されているが、図11に示すようにユーザに対して確認入力を促す通知(表示)251を行い、ユーザからの確認入力を待って、通知が実行されても良い。この処理は、例えば、CPU131、131aが、ROM132aに格納されている確認モジュールを実行することによって実現され、確認モジュールは、確認入力を促す通知を行うと共に確認入力を待機する。確認モジュールによって確認入力が受信されると、パーソナルコンピュータPCに対して、提供機能通知モジュールM1によって提供機能の通知が行われる。図11は、本実施例において、実行可能な通知の実行を問い合わせる表示画面の一例を示す説明図である。この場合には、ユーザによって、最終的にUSB多機能装置10、10aによって提供される機能を決定することができる。すなわち、パーソナルコンピュータPCは、ユーザによる確認入力が入力されるまでは、USB多機能装置10、10aが記憶装置および無線通信装置のいずれの装置として動作するかについて確定しない。 (2) In each of the above-described embodiments, the notification to the personal computer PC is executed without inquiring the user when the USB multi-function device 10, 10a can provide the notification. However, as shown in FIG. A notification (display) 251 that prompts confirmation input may be performed, and the notification may be executed after waiting for confirmation input from the user. This process is realized by, for example, the CPU 131 or 131a executing a confirmation module stored in the ROM 132a. The confirmation module issues a notification for prompting confirmation and waits for confirmation input. When the confirmation input is received by the confirmation module, the provided function notification module M1 notifies the personal computer PC of the provided function. FIG. 11 is an explanatory diagram illustrating an example of a display screen for inquiring execution of executable notifications in the present embodiment. In this case, the function finally provided by the USB multi-function device 10, 10a can be determined by the user. That is, the personal computer PC does not determine whether the USB multi-function device 10, 10a operates as a storage device or a wireless communication device until a confirmation input by the user is input.

(3)上記実施例では、USB多機能装置として、記憶部として、記憶素子が固定実装されている記憶部16を用いて説明したが、図12に示すように、着脱タイプの記憶素子164を着脱可能なメモリソケット163を備える記憶部16aが用いられても良い。図12は各実施例に係る多機能装置の他の構成を示す説明図である。この構成を備える場合には、記憶素子を入れ替えることが可能となり、例えば、デジタルカメラに装着されていた記憶素子(メモリカード)を装着し、無線通信部17を介して、同期対象サーバ35にデータを転送することができる。したがって、USB多機能装置10、10aの使用態様を拡張することが可能となり、ユーザの利便性を向上させることができる。 (3) In the above embodiment, the USB multi-function device has been described using the storage unit 16 in which the storage element is fixedly mounted as the storage unit. However, as shown in FIG. A storage unit 16a including a detachable memory socket 163 may be used. FIG. 12 is an explanatory diagram showing another configuration of the multi-function device according to each embodiment. When this configuration is provided, it is possible to replace the storage element. For example, the storage element (memory card) attached to the digital camera is attached, and data is transmitted to the synchronization target server 35 via the wireless communication unit 17. Can be transferred. Therefore, it is possible to expand the usage mode of the USB multi-function device 10, 10a, and the convenience for the user can be improved.

(4)上記第2の実施例では、パーソナルコンピュータPCに実装されている機能を取得した後、パーソナルコンピュータPCに対する各種機能の実装が実行されているが、先ず、記憶機能が実行された後に、無線通信機能を実装するか否かが判定されても良い。図13は、第2の実施例の他の態様に係る多機能装置によって実行される接続時処理ルーチンを示すフローチャートである。図13に示すフローチャートでは、CPU131は、USB多機能装置10aがパーソナルコンピュータPCに接続されると、記憶部16をオンするよう切替部15aに要求し、切替部15aは要求に応じて記憶部16をオンする(ステップ2001)。CPU131は、提供機能通知モジュールM1を実行して、パーソナルコンピュータPCに対して、記憶機能を提供可能であることを通知する(ステップS2002)。以降のステップは、図10において説明したステップと同様であり、同一のステップ番号を付すことで説明を省略する。 (4) In the second embodiment, after acquiring the functions mounted on the personal computer PC, various functions are mounted on the personal computer PC. First, after the storage function is executed, It may be determined whether to implement a wireless communication function. FIG. 13 is a flowchart showing a connection processing routine executed by the multi-function device according to another aspect of the second embodiment. In the flowchart shown in FIG. 13, when the USB multi-function device 10 a is connected to the personal computer PC, the CPU 131 requests the switching unit 15 a to turn on the storage unit 16, and the switching unit 15 a responds to the request by the storage unit 16. Is turned on (step 2001). The CPU 131 executes the provided function notification module M1 to notify the personal computer PC that the storage function can be provided (step S2002). The subsequent steps are the same as the steps described in FIG. 10, and the description is omitted by assigning the same step numbers.

この態様によれば、利用頻度の高い記憶機能をデフォルトにてパーソナルコンピュータPCに提供することによって、USB多機能装置10aが利用可能になるまでの時間を短縮し、USB多機能装置10aの使い勝手を向上させることができる。   According to this aspect, by providing a frequently used storage function to the personal computer PC by default, the time until the USB multi-function device 10a becomes usable is shortened, and the usability of the USB multi-function device 10a is improved. Can be improved.

(5)上記第2の実施例において、パーソナルコンピュータPCに実装されているドライバが、USB多機能装置10aに対応するドライバであるか否かの判断ステップは、備えられていなくても良い。すなわち、無線通信用のドライバがインストールされている場合には、USB多機能装置10aは記憶機能のみをパーソナルコンピュータPCに対して提供しても良い。この場合には、当該判断ステップを省略することによって、USB多機能装置10a接続後、USB多機能装置10aが利用可能になるまでの時間を短縮することができる。 (5) In the second embodiment, the step of determining whether or not the driver installed in the personal computer PC is a driver corresponding to the USB multi-function device 10a may not be provided. That is, when the wireless communication driver is installed, the USB multi-function device 10a may provide only the storage function to the personal computer PC. In this case, by omitting the determination step, it is possible to shorten the time until the USB multi-function device 10a becomes usable after the USB multi-function device 10a is connected.

(6)上記第2の実施例において、無線通信用のドライバがパーソナルコンピュータPCにインストールされているか否か判断できない場合には、USB多機能装置10aは、パーソナルコンピュータPCに対して、記憶機能と無線通信機能の双方を提供しても良い。この場合、USB多機能装置10aによって提供可能な機能を最大限提供し、ユーザの利便性を向上させることができる。あるいは、無線通信用のドライバがパーソナルコンピュータPCにインストールされているか否か判断できない場合には、USB多機能装置10aは、パーソナルコンピュータPCに対して、記憶機能のみを提供しても良い。この場合、USB多機能装置10aに関するユーザの利便性を向上させることはできないが、パーソナルコンピュータPCの実行環境を変更しないという点において利点がある。 (6) In the second embodiment, when it is not possible to determine whether or not the wireless communication driver is installed in the personal computer PC, the USB multi-function device 10a has a storage function for the personal computer PC. Both wireless communication functions may be provided. In this case, the functions that can be provided by the USB multi-function device 10a can be provided to the maximum, and user convenience can be improved. Alternatively, if it is not possible to determine whether or not a wireless communication driver is installed in the personal computer PC, the USB multi-function device 10a may provide only a storage function to the personal computer PC. In this case, although the convenience of the user regarding the USB multi-function device 10a cannot be improved, there is an advantage in that the execution environment of the personal computer PC is not changed.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As mentioned above, although this invention was demonstrated based on the Example and the modification, Embodiment mentioned above is for making an understanding of this invention easy, and does not limit this invention. The present invention can be changed and improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention.

10、10a…USB多機能装置
11…接続端子
12…USBI/F
13…制御部
13a…制御部
131…CPU
132、132a…ROM
133…RAM
134…I/F
135…内部バス
14…スイッチ
15、15a…切替部
16、16a…記憶部
161…メモリコントローラ
162…記憶素子
163…メモリソケット
164…記憶素子
17…無線通信部
171…通信コントローラ
172…無線通信インタフェース
173…アンテナ
PC…パーソナルコンピュータ
21…CPU
22…HDD
25…表示装置
251…通知(表示)
26…入力装置
30…無線アクセスポイント
35…サーバ(同期対象サーバ)
351…HDD
M1…提供機能通知モジュール
M2…情報同期要求モジュール
M3…判断モジュール
T1…切替テーブル
DI…ディスクリプタ情報
DL…データ信号線
PL…電力供給線
NE…ネットワーク
P1…経路
P2…経路
10, 10a ... USB multifunction device 11 ... Connection terminal 12 ... USB I / F
13 ... Control unit 13a ... Control unit 131 ... CPU
132, 132a ... ROM
133 ... RAM
134 ... I / F
DESCRIPTION OF SYMBOLS 135 ... Internal bus 14 ... Switch 15, 15a ... Switching part 16, 16a ... Memory | storage part 161 ... Memory controller 162 ... Memory element 163 ... Memory socket 164 ... Memory element 17 ... Wireless communication part 171 ... Communication controller 172 ... Wireless communication interface 173 ... Antenna PC ... Personal computer 21 ... CPU
22 ... HDD
25 ... Display device 251 ... Notification (display)
26 ... Input device 30 ... Wireless access point 35 ... Server (synchronization target server)
351 ... HDD
M1 ... Provided function notification module M2 ... Information synchronization request module M3 ... Judgment module T1 ... Switching table DI ... Descriptor information DL ... Data signal line PL ... Power supply line NE ... Network P1 ... Path P2 ... Path

Claims (13)

外部装置に装着されて用いられる多機能装置であって、
前記外部装置に対して無線通信機能を提供するための無線通信実行部と、
前記外部装置に対して記憶機能を提供するための記憶部と、
前記記憶部のみを選択的に動作させることが可能な切り替え部と
を備える多機能装置。
A multi-function device used by being attached to an external device,
A wireless communication execution unit for providing a wireless communication function to the external device;
A storage unit for providing a storage function to the external device;
A multifunction device comprising a switching unit capable of selectively operating only the storage unit.
請求項1に記載の多機能装置はさらに、
前記記憶部のみを動作させるための物理的な外部スイッチを備え、
前記切り替え部は、前記外部スイッチの操作に応じて、前記記憶部のみを選択的に動作させる、多機能装置。
The multi-function device according to claim 1 further comprises:
A physical external switch for operating only the storage unit;
The switching unit is a multi-function device that selectively operates only the storage unit according to an operation of the external switch.
請求項2に記載の多機能装置はさらに、
前記多機能装置が提供可能な複数の機能の内、前記外部装置に対して提供可能な機能を通知する提供機能通知部を備え、
前記提供機能通知部は、前記スイッチによって、前記外部装置に対して提供すべき機能として記憶部が選択されている際には、前記外部装置に対して、記憶部の機能を提供可能であることを通知する、
多機能装置。
The multifunction device according to claim 2 further includes:
A provision function notification unit for notifying a function that can be provided to the external device among a plurality of functions that the multifunction device can provide;
The providing function notifying unit can provide the function of the storage unit to the external device when the storage unit is selected as a function to be provided to the external device by the switch. To notify,
Multi-function device.
請求項1に記載の多機能装置はさらに、
前記外部装置に無線通信用のデバイスドライバがインストールされているか否かを判断する判断部を備え、
前記判断部は、前記無線通信用のデバイスドライバが前記外部装置にインストールされていると判断された場合には、前記切り替え部に対して、前記記憶部のみを選択的に動作させるよう要求し、
前記切り替え部は前記要求に応じて、前記記憶部のみを選択的に動作させる、
多機能装置。
The multi-function device according to claim 1 further comprises:
A determination unit that determines whether or not a device driver for wireless communication is installed in the external device;
The determination unit, when it is determined that the device driver for wireless communication is installed in the external device, requests the switching unit to selectively operate only the storage unit,
The switching unit selectively operates only the storage unit in response to the request.
Multi-function device.
請求項4に記載の多機能装置はさらに、
前記多機能装置が提供可能な複数の機能の内、前記外部装置に対して提供可能な機能を通知する提供機能通知部を備え、
前記提供機能通知部は、前記判断部によって、前記無線通信用のデバイスドライバが前記外部装置にインストールされていると判断された場合には、前記外部装置に対して、前記記憶機能を提供可能であることを通知する、
多機能装置。
The multifunction device according to claim 4 further includes:
A provision function notification unit for notifying a function that can be provided to the external device among a plurality of functions that the multifunction device can provide;
The providing function notifying unit can provide the storage function to the external device when the determining unit determines that the device driver for wireless communication is installed in the external device. To notify you,
Multi-function device.
請求項5に記載の多機能装置において、
前記判断部は、前記無線通信用のデバイスドライバが前記外部装置にインストールされていないと判断する場合には、前記切り替え部に対して、前記無線通信部および前記記憶部を動作させるよう要求し、
前記切り替え部は前記要求に応じて、前記無線通信部および前記記憶部を動作させ、
前記提供機能通知部は、前記判断部によって、前記無線通信用のデバイスのデバイスドライバが前記外部装置にインストールされていないと判断された場合には、前記外部装置に対して、前記無線通信機能および前記記憶機能を提供可能であることを通知する、
多機能装置。
The multi-function device according to claim 5,
If the determination unit determines that the device driver for wireless communication is not installed in the external device, the determination unit requests the switching unit to operate the wireless communication unit and the storage unit,
The switching unit operates the wireless communication unit and the storage unit in response to the request,
When the determining unit determines that the device driver of the device for wireless communication is not installed in the external device, the providing function notifying unit notifies the external device of the wireless communication function and Notifying that the storage function can be provided;
Multi-function device.
請求項5に記載の多機能装置において、
前記判断部はさらに、前記外部装置にインストールされている前記無線通信用のドライバが、前記無線通信実行部に対応するデバイスドライバであると判断する場合には、前記切り替え部に対して、前記無線通信部および前記記憶部を動作させるよう要求し、
前記切り替え部は前記要求に応じて、前記無線通信部および前記記憶部を動作させ、
前記提供機能通知部は、前記判断部によって、前記外部装置にインストールされている前記無線通信用のドライバが、前記無線通信実行部に対応するデバイスドライバであると判断された場合には、前記外部装置に対して、前記無線通信機能および前記記憶機能を提供可能であることを通知する、
多機能装置。
The multi-function device according to claim 5,
In the case where the determination unit further determines that the wireless communication driver installed in the external device is a device driver corresponding to the wireless communication execution unit, the determination unit performs the wireless communication on the switching unit. Requesting the communication unit and the storage unit to operate,
The switching unit operates the wireless communication unit and the storage unit in response to the request,
The providing function notifying unit, when the determining unit determines that the wireless communication driver installed in the external device is a device driver corresponding to the wireless communication executing unit, Notifying the device that the wireless communication function and the storage function can be provided.
Multi-function device.
請求項5に記載の多機能装置において、
前記判断部は、無線通信用のデバイスドライバが前記外部装置にインストールされているか否か判断できない場合には、前記切り替え部に対して、前記無線通信部および前記記憶部を動作させるよう要求し、
前記切り替え部は前記要求に応じて、前記無線通信部および前記記憶部を動作させ、
前記提供機能通知部は、前記判断部が、前記外部装置に無線通信用のデバイスドライバがインストールされているか否か判断できない場合には、前記外部装置に対して、前記無線通信機能および前記記憶機能を提供可能であることを通知する、
多機能装置。
The multi-function device according to claim 5,
If the determination unit cannot determine whether a device driver for wireless communication is installed in the external device, the determination unit requests the switching unit to operate the wireless communication unit and the storage unit,
The switching unit operates the wireless communication unit and the storage unit in response to the request,
When the determination unit cannot determine whether or not a device driver for wireless communication is installed in the external device, the providing function notification unit notifies the external device of the wireless communication function and the storage function. To be able to provide
Multi-function device.
請求項1から請求項8のいずれか一の請求項に記載の多機能装置はさらに、
前記提供機能通知部による前記外部装置に対する前記通知に先立ち、前記外部装置から前記通知の実行の確認入力を受信する確認部を備え、
前記提供機能通知部は、前記確認部によって、前記通知の実行の確認入力が受信されると、前記外部装置に対する前記通知を実行する、
多機能装置。
The multi-function device according to any one of claims 1 to 8, further comprising:
Prior to the notification to the external device by the providing function notification unit, a confirmation unit that receives a confirmation input of execution of the notification from the external device,
The providing function notification unit executes the notification to the external device when the confirmation input of the execution of the notification is received by the confirmation unit.
Multi-function device.
請求項3および請求項5から請求項9のいずれか一の請求項に記載の多機能装置において、
前記提供機能通知部は、前記提供可能な機能の通知に加えて、前記提供可能な機能に対応するデバイスドライバを前記外部装置に対して送信する、多機能装置。
In the multi-function device according to any one of claims 3 and 5 to 9,
The provided function notifying unit transmits a device driver corresponding to the available function to the external device in addition to the notification of the available function.
請求項1から請求項10のいずれか一の請求項に記載の多機能装置はさらに、
前記無線通信部が動作された際に、前記記憶部情報のバックアップデータとしてのバックアップ情報を格納する外部サーバ装置に対して、前記記憶部に格納されている記憶部情報と前記バックアップ情報との間での同期処理の実行を要求する情報同期要求部を備える、多機能装置。
The multi-function device according to any one of claims 1 to 10, further comprising:
When the wireless communication unit is operated, between the storage unit information stored in the storage unit and the backup information with respect to the external server device that stores backup information as backup data of the storage unit information A multi-function device comprising an information synchronization request unit that requests execution of synchronization processing in
請求項1から請求項11のいずれか一の請求項に記載の多機能装置において、
前記記憶部は、着脱可能な記憶媒体と、前記記憶媒体を装着するための装着部とを備える、
多機能装置。
The multi-function device according to any one of claims 1 to 11,
The storage unit includes a removable storage medium and a mounting unit for mounting the storage medium.
Multi-function device.
外部装置に装着されて用いられる多機能装置であって、前記外部装置に対して無線通信機能を提供するための無線通信実行部と、前記外部装置に対して記憶機能を提供するための記憶部とを備える多機能装置の制御方法であって、
前記外部装置に前記無線通信実行部に対応する無線通信用のデバイスドライバがインストールされているか否かを判断し、
前記外部装置に前記無線通信実行部に対応するデバイスドライバがインストールされていないと判断した場合には、前記記憶部のみを選択的に動作させる、
制御方法。
A multi-function device that is used by being mounted on an external device, a wireless communication execution unit for providing a wireless communication function to the external device, and a storage unit for providing a storage function to the external device A method of controlling a multi-function device comprising:
Determining whether a device driver for wireless communication corresponding to the wireless communication execution unit is installed in the external device;
When it is determined that a device driver corresponding to the wireless communication execution unit is not installed in the external device, only the storage unit is selectively operated.
Control method.
JP2010195344A 2010-09-01 2010-09-01 Multifunctional device and method for controlling the same Pending JP2012053648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010195344A JP2012053648A (en) 2010-09-01 2010-09-01 Multifunctional device and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010195344A JP2012053648A (en) 2010-09-01 2010-09-01 Multifunctional device and method for controlling the same

Publications (1)

Publication Number Publication Date
JP2012053648A true JP2012053648A (en) 2012-03-15

Family

ID=45906896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010195344A Pending JP2012053648A (en) 2010-09-01 2010-09-01 Multifunctional device and method for controlling the same

Country Status (1)

Country Link
JP (1) JP2012053648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014032956A (en) * 2012-07-09 2014-02-20 Buffalo Inc External device
JP2014038386A (en) * 2012-08-10 2014-02-27 Buffalo Inc Information storage device, information system, terminal, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014032956A (en) * 2012-07-09 2014-02-20 Buffalo Inc External device
JP2014038386A (en) * 2012-08-10 2014-02-27 Buffalo Inc Information storage device, information system, terminal, and program

Similar Documents

Publication Publication Date Title
JP5559885B2 (en) Host / peripheral local interconnect compatible with self-configurable peripherals
US9189182B2 (en) Method and apparatus for activating device
US20090019187A1 (en) Peripheral Device Using Method, and Peripheral Device Server
JP2007122376A (en) Network print system, network peripheral device, information processor, and program
US20050138231A1 (en) Information processing device, information processing system, transmission rate setting method, transmission rate setting computer program, and storage medium containing computer program
JP2015106798A (en) Communication device, communication system, control method and program of communication device
JP2011096090A (en) Radio communication device, method of responding to host apparatus and program
JP2001256170A (en) Peripheral device and printer
EP2093973A1 (en) Information processing apparatus, information processing system and information processing method
WO2019174307A1 (en) Data transmission method and apparatus, terminal and storage medium
JP2012053648A (en) Multifunctional device and method for controlling the same
EP2924955B1 (en) Apparatus, communication control system, and communication control method
US20080252925A1 (en) Communication apparatus, network system, communication method and program
KR20090076712A (en) Firmware upgrade system
JP5837189B2 (en) Shared access to local device
CN113453308B (en) Information processing apparatus, control method, and computer-readable storage medium
JP2002280925A (en) Radio communication device, storage medium and program
WO2016006268A1 (en) Firmware-updating system and update control method
KR100862488B1 (en) Peripheral device, peripheral-device recognizing method, and recording medium having peripheral-device recognizing program recorded
JP4983704B2 (en) Power supply management system and power supply management method
JP2019176420A (en) Communication apparatus and application program for terminal device
JP2015006751A (en) Printer, distribution method, and program
KR102509982B1 (en) Apparatus and method for recogniting usb and method for operating of reader therefor
JP2000259538A (en) Network control unit, network setting method and storage medium storing computer readable program
JP2008269380A (en) Information processor