JP2006244057A - Usb equipment, control method therefor and program - Google Patents
Usb equipment, control method therefor and program Download PDFInfo
- Publication number
- JP2006244057A JP2006244057A JP2005057746A JP2005057746A JP2006244057A JP 2006244057 A JP2006244057 A JP 2006244057A JP 2005057746 A JP2005057746 A JP 2005057746A JP 2005057746 A JP2005057746 A JP 2005057746A JP 2006244057 A JP2006244057 A JP 2006244057A
- Authority
- JP
- Japan
- Prior art keywords
- usb
- communication
- external device
- usb device
- executed
- 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
Links
Images
Landscapes
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
本発明は、USB機器及びその制御方法、並びにプログラムに関し、特に、ワイヤレスUSBインタフェースを備えるUSB機器及びその制御方法、並びにプログラムに関する。 The present invention relates to a USB device, a control method thereof, and a program, and more particularly, to a USB device including a wireless USB interface, a control method thereof, and a program.
従来の有線のUSB(Universal Serial Bus)を用いたネットワークシステムは、少なくとも1つのホストコンピュータと、そのホストコンピュータにUSBケーブルにより接続されたUSB機器とを備える。USB機器は、USBインタフェースを備え、USBプロトコルによりホストコンピュータと通信を行う。 A conventional network system using a wired USB (Universal Serial Bus) includes at least one host computer and a USB device connected to the host computer by a USB cable. The USB device has a USB interface and communicates with the host computer using the USB protocol.
ホストコンピュータは、USB機器が接続されるUSBポートと、接続されたUSB機器を管理するUSBコントローラとを備え、接続されたUSB機器の各々に対し、接続処理、コンフィグレーション、及び取り外し処理を行う。これらの処理は、ホストコンピュータに接続された他のUSB機器に影響を与えることなく行うことができる。 The host computer includes a USB port to which a USB device is connected and a USB controller that manages the connected USB device, and performs connection processing, configuration, and removal processing for each connected USB device. These processes can be performed without affecting other USB devices connected to the host computer.
ホストコンピュータは、USB機器のUSBポートへの接続及び取り外しを検出することにより、そのUSB機器の存在を検出する。また、USBコントローラは、新規のUSB機器がUSBポートに接続された場合に、その接続を検出するためUSBポートの監視を行い、USB機器がポートに接続されたときは、エニュメレーションを開始する。 The host computer detects the presence of the USB device by detecting the connection and removal of the USB device from the USB port. In addition, when a new USB device is connected to the USB port, the USB controller monitors the USB port to detect the connection, and starts enumeration when the USB device is connected to the port. .
エニュメレーションは、USB機器の識別プロセスであり、まず、ホストコンピュータがUSB機器にリセット信号を与える。リセット信号が解除された後、USB機器からコンフィグレーションデータがホストコンピュータへ送出される。ホストコンピュータは、このコンフィグレーションデータに基づいてUSB機器にUSBアドレスを割り当て、USB機器の使用設定を行い、USB機器と接続状態となる。 The enumeration is a USB device identification process. First, the host computer gives a reset signal to the USB device. After the reset signal is released, configuration data is sent from the USB device to the host computer. Based on the configuration data, the host computer assigns a USB address to the USB device, makes use settings for the USB device, and enters a connection state with the USB device.
有線のUSB機器において、USBケーブルの物理的に挿抜することにより、他のUSB機器に影響を与えることなくシーケンス上でUSB機器の接続と取り外しを常時行うことができる。また、制御の上で何らかの影響により通信が不安定になった場合や、USB機器の設定を初期状態へ戻す必要性がある場合に、USBケーブルを抜去することによりバスリセットを行うことができる。また、有線のUSB機器において、USB機器のUSBケーブル挿抜をせずに、リセットする技術が提案されている(例えば、特許文献1参照)。 By connecting and disconnecting a USB cable physically in a wired USB device, it is possible to always connect and disconnect the USB device on the sequence without affecting other USB devices. Further, when communication becomes unstable due to some influence on the control or when it is necessary to return the setting of the USB device to the initial state, the bus reset can be performed by removing the USB cable. Further, a technique for resetting a wired USB device without inserting or removing the USB cable of the USB device has been proposed (for example, see Patent Document 1).
一方、近年、ワイヤレスUSBを用いてUSBケーブルを用いずにUSBプロトコルで通信する技術が知られている。
しかしながら、ワイヤレスUSBにおいてUSB機器はホストコンピュータと物理的に接続されていないので接続状態が不安定であり、不意に未接続状態になり、USB機器がハングアップ状態になることがある。ワイヤレスUSBにおいては、USBケーブルの挿抜によりバスリセットを行うことができないので、USB機器がハングアップ状態になった場合、正常状態への復帰を図る方法がない。USB機器が接続状態で長時間保持されたためにタイマ処理により電源が落ちたときにも、正常状態へ復帰を図る方法がない。このような状況下では、正常状態へ復帰するために、ホストコンピュータを再起動する必要がある。 However, in the wireless USB, since the USB device is not physically connected to the host computer, the connection state is unstable, and the USB device may unexpectedly become unconnected and the USB device may hang up. In the wireless USB, since the bus reset cannot be performed by inserting / removing the USB cable, there is no method for returning to the normal state when the USB device is in the hang-up state. There is no way to return to the normal state even when the power is turned off by the timer process because the USB device is held in the connected state for a long time. Under such circumstances, it is necessary to restart the host computer in order to return to the normal state.
また、ワイヤレスUSBにおいては、USB機器は、既に接続されたホストコンピュータから他のホストコンピュータに接続を切り替えるときは、USB機器の電源を一度切断しなければならない。さらに、ホストコンピュータのUSBポートに空きがない場合には、ホストコンピュータは、既に接続されたUSB機器から他のUSB機器に容易に接続を切り替えることができない。 In the wireless USB, when the USB device switches the connection from the already connected host computer to another host computer, the USB device must be turned off once. Further, when there is no available USB port of the host computer, the host computer cannot easily switch the connection from the already connected USB device to another USB device.
従って、ワイヤレスUSBにおいては効率的にUSBポートを使用することができない。 Therefore, the USB port cannot be used efficiently in the wireless USB.
本発明の目的は、ワイヤレスUSBにおいて効率的にUSBポートを使用することができるUSB機器及びその制御方法、並びにプログラムを提供することにある。 An object of the present invention is to provide a USB device that can efficiently use a USB port in a wireless USB, a control method thereof, and a program.
上述の目的を達成するために、請求項1記載のUSB機器は、ワイヤレスUSBを介して外部装置と通信するUSB機器において、前記ワイヤレスUSBを介して前記外部装置と通信する通信手段と、所定の処理を実行する実行手段と、前記実行手段が前記所定の処理を所定時間以上実行していないか否かを判別する判別手段と、前記判別手段により前記所定の処理を所定時間以上実行していないと判別されたときに、前記通信手段による前記外部装置との通信を切断するように制御する制御手段とを備えることを特徴とする。
In order to achieve the above object, a USB device according to
請求項7記載の制御方法は、ワイヤレスUSBを介して外部装置と通信するUSB機器の制御方法において、前記ワイヤレスUSBを介して前記外部装置と通信する通信ステップと、所定の処理を実行する実行ステップと、前記実行ステップにおける前記所定の処理を所定時間以上実行していないか否かを判別する判別ステップと、前記判別ステップにおいて前記所定の処理を所定時間以上実行していないと判別されたときに、前記外部装置との通信を切断するように制御する制御ステップとを備えることを特徴とする。
The control method according to
請求項13記載のプログラムは、ワイヤレスUSBを介して外部装置と通信するUSB機器で実行されるプログラムにおいて、前記ワイヤレスUSBを介して前記外部装置と通信する通信モジュールと、所定の処理を実行する実行モジュールと、前記実行モジュールによる前記所定の処理を所定時間以上実行していないか否かを判別する判別モジュールと、前記判別モジュールが、前記実行モジュールによる前記所定の処理を所定時間以上実行していないと判別したときに、前記外部装置との通信を切断するように制御する制御モジュールとを備えることを特徴とする。
The program according to
本発明によれば、所定の処理を所定時間以上実行していないときに、ワイヤレスUSBを介した外部装置との通信を切断するので、接続状態が不安定になるのを回避すると共に、他のUSB機器にWUSBポートを開放し、以って、ワイヤレスUSBにおいて効率的にWUSBポートを使用することができる。 According to the present invention, when a predetermined process is not executed for a predetermined time or more, communication with an external device via the wireless USB is disconnected, so that the connection state is prevented from becoming unstable and other By opening the WUSB port to the USB device, the WUSB port can be efficiently used in the wireless USB.
以下、本発明の実施の形態を図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施の形態に係るUSB機器を備えるシステムの全体構成を概略的に示す図である。 FIG. 1 is a diagram schematically showing an overall configuration of a system including a USB device according to an embodiment of the present invention.
図1において、本システムは、ホストコンピュータA201,B202(外部制御装置)と、スキャナA203,B204(USB機器)とを備え、これらはワイヤレスUSB(以下、「WUSB」という)を介して互いに接続されている。 In FIG. 1, the system includes host computers A201 and B202 (external control devices) and scanners A203 and B204 (USB devices), which are connected to each other via a wireless USB (hereinafter referred to as “WUSB”). ing.
ホストコンピュータA201,B202は、スキャナA203,B204を操作するためのスキャナドライバを備え、スキャナドライバをOS上でロードして実行することにより、スキャナA203,B204を制御する。また、ホストコンピュータA201,B202は、USB機器を接続するためのWUSBポートを備える。 The host computers A201 and B202 include a scanner driver for operating the scanners A203 and B204, and control the scanners A203 and B204 by loading and executing the scanner driver on the OS. The host computers A201 and B202 are provided with a WUSB port for connecting a USB device.
スキャナA203,B204は、後述するように、原稿から読み取った画像を電気的な画像信号に変換するイメージセンサと、変換された画像信号をディジタル化した画像信号に変換するA/Dコンバータと、変換したディジタル画像信号をWUSBを介してホストコンピュータに転送するWUSBインタフェースとを夫々備える。 As will be described later, the scanners A203 and B204 include an image sensor that converts an image read from a document into an electrical image signal, an A / D converter that converts the converted image signal into a digitized image signal, and a conversion And a WUSB interface for transferring the digital image signal to the host computer via the WUSB.
例えば、スキャナA203が、ホストコンピュータA201と接続して、スキャンを開始しようとする場合、スキャナA203は、ホストコンピュータA201とWUSBを介して接続するための内部設定を行う。次に、ホストコンピュータA201を、スキャナA203を認識できる範囲へ移動させる。ホストコンピュータA201は、スキャナA203を認識すると、スキャナA203との間での通信を確立するための手続きを開始する。
For example, when the scanner A 203 is connected to the host computer A 201 to start scanning, the scanner A 203 performs internal settings for connecting to the
スキャナA203は、ホストコンピュータA201と通信している限りは、近隣に設置されたホストコンピュータB202がスキャナA203を認識できる範囲にある場合にも、ホストコンピュータB202との通信を開始しない。
As long as the
また、ホストコンピュータA201は、スキャナA203と接続している場合において、WUSBポートの空きがないときは、スキャナB204との通信を開始できない。ホストコンピュータA201及びホストコンピュータB202の両方のWUSBポートに空きがあるときは、スキャナB204は、任意のホストコンピュータを選択して通信を確立する。
Further, when the host computer A201 is connected to the scanner A203 and the WUSB port is not available, the host computer A201 cannot start communication with the scanner B204. When the WUSB ports of both the
図2は、図1におけるスキャナA203の内部構成を示すブロック図である。
FIG. 2 is a block diagram showing the internal configuration of the
図2において、スキャナA203は、イメージセンサ1と、A/Dコンバータ2と、CPU3と、光源ランプ4と、光源制御回路5と、パルスモータ6と、パルスモータ駆動回路7と、メモリ8と、RF変調部9と、WUSB通信ユニット10と、操作部11と、電源部12と、表示部13とを備える。
In FIG. 2, a
WUSB通信ユニット10は、外部装置であるホストコンピュータとの間でWUSBを用いて無線通信する。ここでは外部装置としてホストコンピュータを例にとって説明するが、外部装置は、WUSB通信機能を備えたプリンタ、多機能プリンタ(MFP)、画像表示装置、ストレージデバイス等であってもよい。
The WUSB
RF変調部9は、ホストコンピュータとの間でWUSB通信ユニット10により無線でデータを送受信するために、データをRF変調する。光源ランプ4は、例えば冷陰極管で構成され、読み取り対象となる原稿を照射する。光源制御回路5は、インバータ回路から構成され、冷陰極管からなる光源ランプ4を駆動して点灯する。
The
イメージセンサ1は、光源ランプ4により照射された読み取り対象となる原稿画像を読み取り、電気信号に変換して出力する。A/Dコンバータ2は、イメージセンサ1から出力されたアナログ画像信号をディジタル画像信号に変換する。
The
CPU3は、システムコントローラおよび画像処理部を構成する。システムコントローラは、スキャナ全体の動作処理シーケンスを記憶し、ホストコンピュータからの命令に従って各種制御を行う。画像処理部は、A/Dコンバータ2によりディジタル化された画像信号に対してオフセット補正、シェーディング補正、ガンマ補正、ディジタルゲイン調整、主・副走査方向の解像度変換等の画像処理を行う。
The
パルスモータ6は、イメージセンサ1及び光源ランプ4を内蔵した走査ユニット(不図示)を原稿台(不図示)に対して移動走査させるための駆動源であり、パルスモータ駆動回路7から出力される励磁切り替え信号に応じて動作する。
The
メモリ8は、例えばRAM(ランダムアクセスメモリ)からなり、アドレスバス及びデータバスで構成されるシステムバス(不図示)を介してCPU3と接続されている。メモリ8は、CPU3の画像処理部によって画像処理が行われる際のワーキングエリアとして用いられ、シェーディング補正処理を行うためのシェーディングデータや、ガンマ補正を行うためのガンマカーブデータを記憶する。また、メモリ8は、WUSB通信ユニット10を介して外部装置に画像データを転送する際の画像データのバッファメモリとしても用いられる。
The memory 8 is composed of, for example, a RAM (Random Access Memory), and is connected to the
表示部13は、スキャナの設定内容や動作状況を確認するための表示を行うものである。表示部13と隣接して操作部11が設けられている。電源部12は、スキャナの各部に電力を供給する。
The
図3は、図2のスキャナA203のCPU3の制御によって実行される通信制御処理の手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure of communication control processing executed under the control of the
図3の処理では、一定時間以上スキャン動作を行わないときにホストコンピュータとの通信を切断する。 In the process of FIG. 3, the communication with the host computer is disconnected when the scan operation is not performed for a certain time or longer.
図3において、まず、スキャナA203の電源がオンになると(ステップS1)、スキャナA203のCPU3は、WUSBインタフェースの初期設定を含むイニシャライズ(初期化)を行い、USBポートへ接続するためのエニュメレーションを行う(ステップS2)。次に、CPU3は、WUSBインタフェースのバスリセットを行い、ホストコンピュータとの通信確立を開始する(ステップS3)。
In FIG. 3, first, when the power source of the scanner A203 is turned on (step S1), the
次に、CPU3は、コンフィグレーションデータをホストコンピュータに送信することによりスキャナA203の使用される環境設定を確立し(ステップS3)、ホストコンピュータとの通信を確立する(ステップS5)(通信手段)。通信が確立されると、ホストコンピュータは、スキャナを操作するためのスキャナドライバを立ち上げ、スキャナA203は、スキャンを開始するまで待機状態(スタンバイ)となる(ステップS6)。
Next, the
次に、スキャン動作開始の指令が出されたか否かを判別し(ステップS7)、スキャン動作開始の指令が出されたときは、原稿のスキャン処理を実行し、取得された画像データをホストコンピュータへ送出し(ステップS8)(実行手段)、ステップS6のスタンバイ状態へ戻る。 Next, it is determined whether or not a scan operation start command is issued (step S7). When a scan operation start command is issued, a document scan process is executed, and the acquired image data is stored in the host computer. (Step S8) (execution means), the process returns to the standby state in step S6.
ステップS7の判別の結果、スキャン動作開始の指令が出されないときは、スタンバイ状態で一定時間経過したか否かを内蔵のタイマにより判別し(ステップS9)(判別手段)、スタンバイ状態で一定時間経過していないときは、ステップS6のスタンバイ状態へ戻る。 As a result of the determination in step S7, when a command for starting the scanning operation is not issued, it is determined by a built-in timer whether or not a predetermined time has elapsed in the standby state (step S9) (determination means), and the predetermined time has elapsed in the standby state If not, the process returns to the standby state in step S6.
ステップS9の判別の結果、スタンバイ状態で一定時間経過したときは、CPU3は、ホストコンピュータとの通信を切断し(ステップS10)(制御手段)、WUSBインタフェースのバスリセットを行い、スキャナA203の内部設定をリセットする(ステップS11)。
As a result of the determination in step S9, when a predetermined time has elapsed in the standby state, the
次に、ホストコンピュータからの通信再開指示又はスキャナA203の操作部11におけるボタン操作等により、さらに一定時間以内に通信が再開されたか否かを内蔵のタイマにより判別し(ステップS12)、通信が再開されたときは、ステップS2に戻る一方、通信が再開されないときは、本処理を終了する。
Next, whether or not communication has been resumed within a predetermined time is further determined by a built-in timer by a communication resumption instruction from the host computer or a button operation on the
図3の処理によれば、スタンバイ状態で一定時間経過したときは(ステップS9でYES)、CPU3は、ホストコンピュータとの通信を切断する(ステップS10)ので、接続状態が不安定になるのを回避すると共に、他のUSB機器にWUSBポートを開放し、以って、ワイヤレスUSBにおいて効率的にWUSBポートを使用することができる。
According to the processing of FIG. 3, when a certain time has elapsed in the standby state (YES in step S9), the
図4は、図3の通信制御処理の変形例の手順を示すフローチャートである。 FIG. 4 is a flowchart showing a procedure of a modification of the communication control process of FIG.
図4の処理は、ステップS7〜S9に代えて、ステップS21〜S24を実行する点でのみ図3の処理と異なる。図4において、図3と同一ステップには同一符号を付し、その説明を省略する。 The process of FIG. 4 differs from the process of FIG. 3 only in that steps S21 to S24 are executed instead of steps S7 to S9. 4, the same steps as those in FIG. 3 are denoted by the same reference numerals, and the description thereof is omitted.
図4の処理では、エラーが発生した場合に復帰するためにホストコンピュータとの通信を切断する。 In the process of FIG. 4, the communication with the host computer is disconnected in order to recover when an error occurs.
図4において、スキャン動作開始の指令が出されたか否かを判別し(ステップS21)、スキャン動作開始の指令が出されないときは、ステップS6に戻る一方、スキャン動作開始の指令が出されたときは、原稿のスキャン処理を実行し、取得された画像データをホストコンピュータへ送出する(ステップS22)。 In FIG. 4, it is determined whether or not a scan operation start command has been issued (step S21). If a scan operation start command is not issued, the process returns to step S6 while a scan operation start command is issued. Executes a document scanning process and sends the acquired image data to the host computer (step S22).
次に、スキャン処理においてエラーが発生したか否かを判別し(ステップS23)、スキャン処理においてエラーが発生したと判別したときは、ステップS10以降の処理を実行して、CPU3は、ホストコンピュータとの通信を切断する。
Next, it is determined whether or not an error has occurred in the scan process (step S23). If it is determined that an error has occurred in the scan process, the process from step S10 is executed, and the
ステップS23の判別の結果、スキャン処理においてエラーが発生しなかったと判別したときは、スキャンが終了したか否かを判別し(ステップS24)、スキャンが終了していないときは、ステップS22に戻る一方、スキャンが終了したときは、ステップS10以降の処理を実行して、CPU3は、ホストコンピュータとの通信を切断する。
As a result of the determination in step S23, when it is determined that no error has occurred in the scan process, it is determined whether or not the scan has ended (step S24). If the scan has not ended, the process returns to step S22. When the scan is completed, the processing after step S10 is executed, and the
図4の処理によれば、スキャン処理においてエラーが発生したときは(ステップS23でYES)、CPU3は、ホストコンピュータとの通信を切断する(ステップS10)ので、接続状態が不安定になるのを回避すると共に、他のUSB機器にWUSBポートを開放し、以って、ワイヤレスUSBにおいて効率的にUSBポートを使用することができる。
According to the process of FIG. 4, when an error occurs in the scan process (YES in step S23), the
尚、ホストコンピュータとの通信確立状態で、スキャナA203が所定時間以上スキャン動作を開始しなかったために低電力モードタイマが動作して低電力モードへ移行するときに、上述の通信切断処理を実行してもよい。
When the communication with the host computer is established and the
また、ホストコンピュータとの通信確立状態で、スキャナA203の電源が切断されるときに、上述の通信切断処理を実行してもよい。
Further, the above-described communication disconnection process may be executed when the power source of the
また、本発明の目的は、実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム又は装置に供給し、そのシステム又は装置のコンピュータ(又はCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。 Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the embodiments to a system or apparatus, and the computer (or CPU, MPU, etc.) of the system or apparatus stores the storage medium. It is also achieved by reading out and executing the program code stored in.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.
また、プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。又は、プログラムコードをネットワークを介してダウンロードしてもよい。 Examples of the storage medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, and a DVD. -RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM, etc. can be used. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれる。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code. This includes a case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれる。 Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes a case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
201 ホストコンピュータA
202 ホストコンピュータB
203 スキャナA
204 スキャナB
201 Host computer A
202 Host computer B
203 Scanner A
204 Scanner B
Claims (13)
前記ワイヤレスUSBを介して前記外部装置と通信する通信手段と、
所定の処理を実行する実行手段と、
前記実行手段が前記所定の処理を所定時間以上実行していないか否かを判別する判別手段と、
前記判別手段により前記所定の処理を所定時間以上実行していないと判別されたときに、前記通信手段による前記外部装置との通信を切断するように制御する制御手段と
を備えることを特徴とするUSB機器。 In USB devices that communicate with external devices via wireless USB,
Communication means for communicating with the external device via the wireless USB;
Execution means for executing predetermined processing;
Determining means for determining whether or not the execution means has not executed the predetermined processing for a predetermined time;
Control means for controlling the communication means to disconnect communication with the external device when the determining means determines that the predetermined processing has not been executed for a predetermined time or more. USB device.
前記ワイヤレスUSBを介して前記外部装置と通信する通信ステップと、
所定の処理を実行する実行ステップと、
前記実行ステップにおける前記所定の処理を所定時間以上実行していないか否かを判別する判別ステップと、
前記判別ステップにおいて前記所定の処理を所定時間以上実行していないと判別されたときに、前記外部装置との通信を切断するように制御する制御ステップと
を備えることを特徴とする制御方法。 In a method for controlling a USB device that communicates with an external device via a wireless USB,
Communicating with the external device via the wireless USB;
An execution step for executing a predetermined process;
A determination step of determining whether or not the predetermined processing in the execution step has not been executed for a predetermined time; and
And a control step of controlling to disconnect communication with the external device when it is determined in the determining step that the predetermined process has not been executed for a predetermined time or longer.
前記ワイヤレスUSBを介して前記外部装置と通信する通信モジュールと、
所定の処理を実行する実行モジュールと、
前記実行モジュールによる前記所定の処理を所定時間以上実行していないか否かを判別する判別モジュールと、
前記判別モジュールが、前記実行モジュールによる前記所定の処理を所定時間以上実行していないと判別したときに、前記外部装置との通信を切断するように制御する制御モジュールとを備えることを特徴とするプログラム。 In a program executed by a USB device that communicates with an external device via a wireless USB,
A communication module that communicates with the external device via the wireless USB;
An execution module for executing a predetermined process;
A determination module for determining whether or not the predetermined processing by the execution module has not been executed for a predetermined time;
And a control module that controls to disconnect communication with the external device when it is determined that the predetermined process by the execution module has not been executed for a predetermined time or more. program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005057746A JP2006244057A (en) | 2005-03-02 | 2005-03-02 | Usb equipment, control method therefor and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005057746A JP2006244057A (en) | 2005-03-02 | 2005-03-02 | Usb equipment, control method therefor and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006244057A true JP2006244057A (en) | 2006-09-14 |
Family
ID=37050423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005057746A Pending JP2006244057A (en) | 2005-03-02 | 2005-03-02 | Usb equipment, control method therefor and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006244057A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8386658B2 (en) | 2007-06-04 | 2013-02-26 | Samsung Electronics Co., Ltd | Communication method of host apparatus capable of connecting with device by using wireless universal serial bus and wireless connection system including host apparatus and device |
JP2019016598A (en) * | 2018-07-07 | 2019-01-31 | 利仁 曽根 | Protocol conversion device with single configuration |
CN112231084A (en) * | 2020-10-20 | 2021-01-15 | 苏州连世创智科技有限公司 | Scheduling method for reading communication bus host port data |
CN112654937A (en) * | 2018-09-13 | 2021-04-13 | 三菱电机株式会社 | Setting support device, setting support method, and program |
-
2005
- 2005-03-02 JP JP2005057746A patent/JP2006244057A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8386658B2 (en) | 2007-06-04 | 2013-02-26 | Samsung Electronics Co., Ltd | Communication method of host apparatus capable of connecting with device by using wireless universal serial bus and wireless connection system including host apparatus and device |
JP2019016598A (en) * | 2018-07-07 | 2019-01-31 | 利仁 曽根 | Protocol conversion device with single configuration |
CN112654937A (en) * | 2018-09-13 | 2021-04-13 | 三菱电机株式会社 | Setting support device, setting support method, and program |
CN112654937B (en) * | 2018-09-13 | 2022-10-28 | 三菱电机株式会社 | Setting support device, setting support method, and recording medium |
CN112231084A (en) * | 2020-10-20 | 2021-01-15 | 苏州连世创智科技有限公司 | Scheduling method for reading communication bus host port data |
CN112231084B (en) * | 2020-10-20 | 2024-04-09 | 苏州连世创智科技有限公司 | Scheduling method for reading sink port data of communication bus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4960899B2 (en) | Image processing apparatus, serial bus control method, serial bus control program, and recording medium | |
JP3275871B2 (en) | Printer system and printer used therefor | |
JP4522347B2 (en) | Facsimile MFP | |
US20060195552A1 (en) | Information processor | |
US20080162955A1 (en) | Usb host, usb device, and methods of controlling the host and the device | |
JP6727798B2 (en) | Information processing apparatus, control method thereof, and program | |
JP2006261852A (en) | Radio communications equipment and communication method thereof | |
JP2010226657A (en) | Communication apparatus, method of controlling the same, and program | |
JP2006268845A (en) | Information processor, control method, and program | |
US10405282B2 (en) | Information processing apparatus and information processing method | |
JP2006244057A (en) | Usb equipment, control method therefor and program | |
JP2006343993A (en) | Radio communication device and method for controlling it | |
US20120005500A1 (en) | Peripheral-device utilizing system, server device, and method | |
JP2009219052A (en) | Image forming apparatus and communication control method | |
JP2013218367A (en) | Image forming apparatus | |
JP2004252863A (en) | Information processor and its control method and control program | |
JP2019009696A5 (en) | Image processing apparatus, control method thereof, and program | |
US10782769B2 (en) | Communication device, communication controlling method, and non-transitory recording medium | |
JP2006186894A (en) | Image input apparatus, control method and control program | |
US11194590B2 (en) | Electronic apparatus and method | |
JP2007019644A (en) | Imaging apparatus, its control method, and computer program | |
JP2008118322A (en) | Image processor and control method of image processor | |
JP2004110145A (en) | Usb connector connecting device, usb connector connecting method, usb connector connecting program, and medium for recording usb connecting program | |
US11431885B2 (en) | Communication apparatus including a communication device for communicating with an external apparatus, and to control in activating the communication device by the communication apparatus and method for controlling the same | |
JP7491113B2 (en) | Information processing apparatus, image forming apparatus, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20070626 |