JP2012242942A - Hub device control method and hub device - Google Patents

Hub device control method and hub device Download PDF

Info

Publication number
JP2012242942A
JP2012242942A JP2011110305A JP2011110305A JP2012242942A JP 2012242942 A JP2012242942 A JP 2012242942A JP 2011110305 A JP2011110305 A JP 2011110305A JP 2011110305 A JP2011110305 A JP 2011110305A JP 2012242942 A JP2012242942 A JP 2012242942A
Authority
JP
Japan
Prior art keywords
data communication
usb
connection
hub
connection port
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
JP2011110305A
Other languages
Japanese (ja)
Inventor
Ryoichi Kono
良一 河野
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2011110305A priority Critical patent/JP2012242942A/en
Publication of JP2012242942A publication Critical patent/JP2012242942A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve such a problem that a communication speed between a HUB device having a plurality of connection ports and a USB device temporarily drops due to enumeration processing caused when another USB device is connected to the other connection port of the HUB device while the HUB device and the USB device are intercommunicating data.SOLUTION: A control device 104 verifies connection states of USB devices to connection ports 102 to 102d, and when data communication request occurs between a HUB device 101 and a USB device 120, stops power supply to the connection ports 102b to 102d to which the USB device 120 is not connected. Then, after data communication is completed, the control device 104 restarts power supply to the connection ports 102b to 102d. Thus, enumeration processing is not executed even if another device 121 is connected to one of the connection ports 102b to 102d during data communication, so that it is possible to prevent reduction of a communication speed between the HUB device 101 and the USB device 120.

Description

本発明は、HUB装置の制御方法およびHUB装置に係り、特に、ユニバーサル・シリアル・バス(以下、USB)を利用した接続において、USBホスト機能とHUB機能を有した組み込みAV(Audio Visual)機器(以下、マルチメディア機器)に代表されるHUB装置の制御方法、HUB装置およびHUB装置の制御プログラムに好適に利用できるものである。   The present invention relates to a method for controlling a HUB device and a HUB device. In particular, in connection using a universal serial bus (hereinafter referred to as USB), an embedded AV (Audio Visual) device having a USB host function and a HUB function ( Hereinafter, the present invention can be suitably used for a control method of a HUB device represented by a multimedia device), a HUB device, and a control program for the HUB device.

近年、USBホスト機能を有したインターフェースは、PCだけではなく、マルチメディア機器をはじめとするデジタル機器にも標準のインターフェースとして搭載され、普及が進んでいる。このようなUSBホスト機能を有するマルチメディア機器(デジタル機器)の普及により、これまでPCへの接続用途に使用されていたUSBメモリデバイスなどが、マルチメディア機器(デジタル機器)にも接続されるようになってきている。例えば、ストレージ機能に対応したUSBメモリデバイスをマルチメディア機器に接続し、USBメモリデバイス内の音楽データを再生することなどが行われている。   In recent years, an interface having a USB host function is mounted not only on a PC but also on a digital device such as a multimedia device as a standard interface, and is becoming popular. With the spread of multimedia devices (digital devices) having such a USB host function, USB memory devices and the like that have been used for connection to PCs so far will be connected to multimedia devices (digital devices). It is becoming. For example, a USB memory device that supports a storage function is connected to a multimedia device, and music data in the USB memory device is played back.

また、これまではマルチメディア機器(デジタル機器)にUSBデバイスが1デバイスだけ接続され、制御されてきた。しかし、マルチメディア機器(デジタル機器)の多機能化により、これらの機器をHUBとしての機能に対応させ、これらの機器に複数のUSBデバイスを接続し、それらを同時に制御することが可能になってきている。   Until now, only one USB device has been connected to a multimedia device (digital device) and controlled. However, with the multi-functionality of multimedia devices (digital devices), it has become possible to make these devices compatible with the functions of HUB, connect a plurality of USB devices to these devices, and control them simultaneously. ing.

例えば、ストレージ機能に対応したUSBメモリを2つ接続することが出来るマルチメディア機器では、USBメモリの音楽データを再生しながら、他のUSBメモリへの音楽データのコピーを行うことが可能である。また、デジタルオーディオプレイヤーと無線ローカルエリアネットワーク(以下、無線LAN)の機能に対応したUSBデバイスを接続することができるデジタル機器では、デジタルオーディオプレーヤー内に格納されている音楽データのストリーム再生を行いながら、無線LAN機能を使いデータ通信を行うことが可能である。   For example, in a multimedia device that can connect two USB memories corresponding to the storage function, it is possible to copy music data to another USB memory while reproducing the music data of the USB memory. Also, in a digital device that can connect a digital audio player and a USB device that supports a wireless local area network (hereinafter referred to as wireless LAN) function, while playing a stream of music data stored in the digital audio player, It is possible to perform data communication using the wireless LAN function.

このように複数のUSBデバイスが接続されるマルチメディア機器(デジタル機器)では、これらの機器とUSBデバイスとがデータ通信を行っている間に、ユーザにより他のUSBデバイスが接続されることが想定される。この他のUSBデバイスが接続されたとき、接続された他のUSBデバイスに対して機器情報を取得するための接続処理(以下、エニュメレーション処理)が行われる。このエニュメレーション処理は、接続された他のUSBデバイスの機器情報の取得をHUB装置外部からの特別な操作や制御なしに実現する一方、この時にデータ通信を行っているUSBデバイスに対しては、通信帯域を一時的に減少させ、データ通信速度を低下させる可能性がある。これにより、例えば音楽再生を行っている場合には、音切れを発生させる原因となりかねない。また、例えば動画像を再生している場合には、再生中の映像の乱れを発生させる原因となりかねない。   In such a multimedia device (digital device) to which a plurality of USB devices are connected, it is assumed that a user connects another USB device while these devices and the USB device are performing data communication. Is done. When this other USB device is connected, connection processing (hereinafter referred to as enumeration processing) for acquiring device information is performed on the other connected USB device. This enumeration process achieves device information acquisition of other connected USB devices without any special operation or control from the outside of the HUB device. On the other hand, for the USB device that is performing data communication at this time, There is a possibility that the communication band is temporarily reduced and the data communication speed is lowered. As a result, for example, when music is being played back, it may cause sound interruption. Further, for example, when a moving image is being played back, it may cause a disturbance of the video being played back.

上記の問題を解決するために、特許文献1では、デバイスが接続されるポートへの電源供給の有効と無効とを手動(スイッチのオンオフ制御またはPC上での操作)にて切り替えられるHUB装置及びHUB装置の通信方法が開示されている。   In order to solve the above-described problem, Patent Document 1 discloses a HUB apparatus that can manually switch between enabling and disabling power supply to a port to which a device is connected (switch on / off control or operation on a PC), and A communication method for a HUB device is disclosed.

図5は従来のHUB装置の構成例を示す図である(特許文献1)。HUB装置301は、デバイス320,321を接続する下流ポート302a〜302cと、ユーザの手動によるオンオフ制御によってこれらの下流ポート302a〜302cへの電源供給の有効と無効を切り替えるスイッチ303a〜303cとを備えている。   FIG. 5 is a diagram showing a configuration example of a conventional HUB device (Patent Document 1). The HUB device 301 includes downstream ports 302a to 302c that connect the devices 320 and 321 and switches 303a to 303c that switch between enabling and disabling power supply to these downstream ports 302a to 302c by manual on / off control by the user. ing.

ユーザは、スイッチ303a〜303cを手動で操作することにより、下流ポート302a〜302cへの電源供給を停止または再開することができる。そして、例えばユーザは、下流ポート302aに接続されているデバイス320とホスト330とのデータ通信がHUB装置301を介して行われている間は、デバイス320が接続されていない下流ポート302b,302cへの電源供給をスイッチ303b,303cを使って手動で切断する。これにより、他のデバイス321が下流ポート302b,302cに接続されても、この下流ポート302b,302cへの電源供給が停止されているため、HUB装置301は他のデバイス321に対して機器情報を取得するための接続処理を行わない。したがって、この他のデバイス321に対する接続処理による一時的なデータ通信速度の低下を防ぐことができる。   The user can stop or restart the power supply to the downstream ports 302a to 302c by manually operating the switches 303a to 303c. For example, while the data communication between the device 320 connected to the downstream port 302a and the host 330 is being performed via the HUB device 301, the user goes to the downstream ports 302b and 302c to which the device 320 is not connected. Is manually disconnected using the switches 303b and 303c. As a result, even if another device 321 is connected to the downstream ports 302b and 302c, the power supply to the downstream ports 302b and 302c is stopped, so that the HUB device 301 sends device information to the other devices 321. Do not perform connection processing for acquisition. Therefore, it is possible to prevent a temporary decrease in the data communication speed due to the connection processing to the other device 321.

さらに特許文献1には、PC上で動作する制御プログラムとPC上でのユーザによる選択動作とにより、選択した下流ポート302a〜302cへの電源供給を停止または再開するプログラムを格納したPCからの読み出しが可能な記憶媒体が併せて開示されている。   Further, in Patent Document 1, reading from a PC storing a program for stopping or restarting power supply to the selected downstream ports 302a to 302c by a control program operating on the PC and a selection operation by the user on the PC. In addition, a storage medium capable of recording is disclosed.

特開平11−177598JP-A-11-177598

特許文献1に記載されたHUB装置301は、下流ポート302a〜302cへの電源供給の状態(停止または再開)をオンオフ制御するスイッチ303a〜303cを設ける必要がある。また、ユーザにより使用していないまたは使用しない下流ポートへの電源供給をあらかじめ停止しておく、例えば図5においてデバイス320が接続されていない下流ポート302b〜302cへの電源供給を停止しておく必要がある。   The HUB device 301 described in Patent Document 1 needs to be provided with switches 303a to 303c that perform on / off control of the power supply state (stop or restart) to the downstream ports 302a to 302c. Further, it is necessary to stop the power supply to the downstream ports that are not used or not used by the user in advance, for example, to stop the power supply to the downstream ports 302b to 302c to which the device 320 is not connected in FIG. There is.

また、PC上で動作する制御プログラムにおいても、ユーザによる切り替え手段(電源供給を停止するか否か)を指示する操作が必要となる。   Also in the control program running on the PC, an operation for instructing switching means (whether power supply is stopped) by the user is required.

また、マルチメディア機器のように組み込みの制御プログラムを格納する領域(リソース)が限られている環境においては、PC上で動作する制御プログラムの実装は困難である。   Also, in an environment where an area (resource) for storing a built-in control program is limited, such as a multimedia device, it is difficult to implement a control program that operates on a PC.

そこで、HUB装置の接続ポートに係る電源供給の停止または再開の制御に関して、PC環境で動作するHUB装置の接続ポートへの電源供給を制御するための制御プログラムおよび、PC上での操作、手動によるスイッチのオンオフ制御などのユーザの操作を必要としないHUB装置の制御方法およびHUB装置が望まれる。   Therefore, regarding the control of stopping or restarting the power supply related to the connection port of the HUB device, the control program for controlling the power supply to the connection port of the HUB device operating in the PC environment, the operation on the PC, and the manual operation A HUB device control method and a HUB device that do not require user operations such as switch on / off control are desired.

上記の点を鑑み、本発明は、限られたリソースの組み込み環境であっても、ユーザの操作を必要とせずに上述のデータ通信速度の低下を防ぐことが可能なHUB装置の制御方法およびHUB装置を提供することを目的とする。   In view of the above points, the present invention provides a method for controlling a HUB device and a HUB capable of preventing the above-described decrease in data communication speed without requiring user operation even in a limited resource installation environment. An object is to provide an apparatus.

本発明の一態様は、複数の接続ポートを有するHUB装置の制御方法であって、前記各接続ポートにUSBデバイスが接続されているか否かを確認する第1のステップと、前記第1のステップにおいて接続が確認された第1の接続ポートを介して、前記HUB装置と前記USBデバイスとの間でデータ通信要求があったか否かを確認する第2のステップと、前記第2のステップにおいてデータ通信要求を確認したとき、前記第1のステップにおいて接続が確認されなかった第2の接続ポートへの電源供給を停止し、前記データ通信要求に係るデータ通信を前記第1の接続ポートを介して開始する第3のステップと、前記第3のステップにおいて開始したデータ通信が完了したとき、前記第3のステップにおいて電源供給を停止した前記第2の接続ポートへの電源供給を再開する第4のステップとを有するものとする。   One aspect of the present invention is a method for controlling a HUB device having a plurality of connection ports, the first step for checking whether or not a USB device is connected to each connection port, and the first step. A second step of confirming whether or not a data communication request has been made between the HUB device and the USB device via the first connection port whose connection has been confirmed in step 2; and data communication in the second step When the request is confirmed, the power supply to the second connection port for which the connection is not confirmed in the first step is stopped, and the data communication related to the data communication request is started via the first connection port. And when the data communication started in the third step is completed, the power supply is stopped in the third step. It shall have the fourth step to resume the power supply to continue port.

この態様によると、第1のステップにおいて接続が確認された第1の接続ポートを介して、HUB装置とUSBデバイスとの間でデータ通信要求があった場合、第1のステップにおいて接続が確認されなかった第2の接続ポートへの電源供給を停止して、第2のステップにおけるデータ通信要求に係るデータ通信を第1の接続ポートを介して実施する。これにより、仮にこのデータ通信を行っている間に第2の接続ポートに他のUSBデバイスが接続されたとしても、エニュメレーション処理が実施されないため、この処理が行われることによる一時的なデータ通信速度の低下を防ぐことができる。さらに、本態様ではユーザやPC上で動作するプログラムなどからのスイッチのオンオフ制御は実施しないため、オンオフ制御するスイッチのような新たな制御機構およびユーザによる操作を必要としない。   According to this aspect, when there is a data communication request between the HUB device and the USB device via the first connection port whose connection is confirmed in the first step, the connection is confirmed in the first step. The power supply to the second connection port that did not exist is stopped, and the data communication related to the data communication request in the second step is performed via the first connection port. As a result, even if another USB device is connected to the second connection port during this data communication, the enumeration process is not performed. A decrease in communication speed can be prevented. Furthermore, in this aspect, since the switch on / off control from a user or a program operating on the PC is not performed, a new control mechanism such as a switch for on / off control and an operation by the user are not required.

また、第3のステップにおいて開始したデータ通信が完了した後に、第4のステップにおいて、第3のステップにおいて電源供給を停止していた第2の接続ポートへの電源供給を再開する。これにより、第2のステップにおけるデータ通信要求に係るデータ通信を第1の接続ポートを介して行っている間に、電源供給を停止していた第2の接続ポートに他のUSBデバイスが接続されていた場合には、電源供給の再開とともに機器情報を取得するための接続処理であるエニュメレーション処理が実施される。   In addition, after the data communication started in the third step is completed, in the fourth step, the power supply to the second connection port that has been stopped in the third step is resumed. As a result, another USB device is connected to the second connection port whose power supply has been stopped while the data communication related to the data communication request in the second step is being performed via the first connection port. If it is, enumeration processing, which is connection processing for acquiring device information, is performed along with resumption of power supply.

そして、前記第3のステップにおける前記第2の接続ポートへの電源供給の停止、および前記第4のステップにおける前記第2の接続ポートへの電源供給の再開を、USB規格に準拠したクラスリクエストにより実施してもよい。   Then, the stop of power supply to the second connection port in the third step and the restart of power supply to the second connection port in the fourth step are made according to a class request conforming to the USB standard. You may implement.

これにより、HUB装置の接続ポートへの電源供給を制御する手段(機構)を備えた特殊なHUB装置ではなくても、一般的に普及しているUSB規格のUSB−HUBのデバイスクラスに準拠したHUB装置を使用して、このHUB装置とUSBデバイスとの通信を制御する既存の通信制御プログラムを活用して上述の接続ポートへの電源供給の停止または再開を行うことができる。   Thereby, even if it is not a special HUB device provided with means (mechanism) for controlling the power supply to the connection port of the HUB device, it conforms to the USB-HUB device class of the USB standard that is generally popular. Using the HUB device, it is possible to stop or restart the power supply to the connection port by utilizing an existing communication control program for controlling communication between the HUB device and the USB device.

本発明の他の態様では、複数のUSBデバイスが接続可能なHUB装置であって、前記HUB装置と前記USBデバイスとをUSBを介して接続する複数の接続ポートと、前記複数の接続ポートと接続された、集線回路であるHUB回路と、前記HUB装置および前記複数の接続ポートを制御する制御装置とを備えているものとする。そして、前記制御装置は、前記各接続ポートに前記USBデバイスが接続されているか否かを確認する接続確認手段と、前記接続確認手段によって接続が確認された第1の接続ポートを介して、前記HUB装置と前記USBデバイスとの間でデータ通信要求があったか否かを確認するデータ通信要求確認手段と、前記データ通信要求確認手段において前記データ通信要求が確認されたとき、前記接続確認手段において接続が確認されなかった第2の接続ポートへの電源供給を停止し、前記データ通信要求に係るデータ通信を前記第1の接続ポートを介して開始する第1の通信制御手段と、前記第1の通信制御手段によって開始されたデータ通信が完了したとき、前記第1の通信制御手段によって電源供給を停止した前記第2の接続ポートへの電源供給を再開する第2の通信制御手段とを備えているものとする。   In another aspect of the present invention, a HUB device to which a plurality of USB devices can be connected, a plurality of connection ports for connecting the HUB device and the USB device via USB, and a connection to the plurality of connection ports The HUB circuit, which is a concentrator circuit, and a control device that controls the HUB device and the plurality of connection ports are provided. The control device is configured to check whether the USB device is connected to each connection port, and the first connection port whose connection is confirmed by the connection confirmation unit. A data communication request confirming means for confirming whether or not a data communication request is made between the HUB device and the USB device; and when the data communication request is confirmed in the data communication request confirming means, a connection is established in the connection confirming means. The first communication control means for stopping the power supply to the second connection port for which no data has been confirmed and starting the data communication related to the data communication request via the first connection port; When the data communication started by the communication control means is completed, power supply to the second connection port stopped by the first communication control means Source is assumed that a second communication control means restarts the supply.

そして、前記HUB装置における前記制御装置は、上述の各手段を実現するための制御プログラムを格納した制御プログラム領域と、前記制御プログラムの処理によって一時的に保存されるデータのためのデータ領域とを有するメモリ領域を備えているのが好ましい。   The control device in the HUB device includes a control program area storing a control program for realizing each of the above-described means, and a data area for data temporarily stored by the processing of the control program. It is preferable to have a memory area.

また、前記HUB装置における前記制御装置は、上述の各手段を実現するための前記メモリ領域(前記制御プログラム領域および前記データ領域)の代わりに同様の機能(手段)を実現するシーケンス制御を行うハードウェアを備えていてもよい。   Further, the control device in the HUB device is a hardware that performs sequence control for realizing the same function (means) instead of the memory area (the control program area and the data area) for realizing the above-described means. Wear may be provided.

本発明によると、HUB装置とUSBデバイスとのデータ通信中に他のUSBデバイスが接続されたことによる一時的な通信速度の低下を、オンオフ制御するスイッチのような新たな制御機構、PC環境で動作するプログラムおよびユーザによる操作(スイッチのオンオフ制御操作、およびPC上での選択および制御操作)を必要とせずに防ぐことができる。   According to the present invention, a temporary reduction in communication speed due to the connection of another USB device during data communication between the HUB device and the USB device can be achieved in a new control mechanism such as a switch for on / off control, in a PC environment. It is possible to prevent an operation program and an operation by a user (switch on / off control operation and selection and control operation on a PC) without being necessary.

また、本発明によると、電源制御機能を有するような特殊なHUB装置を必要としない。しかも、既存のHUB装置とUSBデバイスとの通信を制御する通信制御手段を活用して、上述のエニュメレーション処理に起因する通信速度の低下を防ぐことができる。そのため、ユーザの操作が限定されている環境においても使用可能である。また、リソースが限られた組み込み環境においても実装が可能である。   Further, according to the present invention, a special HUB device having a power supply control function is not required. In addition, a communication control unit that controls communication between the existing HUB device and the USB device can be used to prevent a decrease in communication speed due to the above enumeration process. Therefore, it can be used even in an environment where user operations are limited. It can also be implemented in an embedded environment with limited resources.

第1の実施形態に係るHUB装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the HUB apparatus which concerns on 1st Embodiment. 第1の実施形態におけるHUB装置の電源制御および通信制御の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the power supply control of the HUB apparatus in 1st Embodiment, and communication control. 第2の実施形態におけるHUB装置の電源制御および通信制御の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the power supply control and communication control of the HUB apparatus in 2nd Embodiment. 優先条件の一例を説明するための図である。It is a figure for demonstrating an example of a priority condition. 従来のHUB装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional HUB apparatus.

以下、本発明の実施形態について図面を参照しながら説明する。なお、以下の各実施形態の説明において、一度説明した構成要素と同様の機能を有する構成要素については、同一の符号を付して説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description of each embodiment, components having the same functions as those described once are given the same reference numerals and description thereof is omitted.

<第1の実施形態>
図1は第1の実施形態に係るHUB装置の構成例を示す図である。図1のHUB装置101は、接続ポート102a〜102d、HUB回路103、制御装置104、マルチメディア装置111、および入出力装置112を備えている。なお、本実施形態では、4つの接続ポート102a〜102dがあるものとして説明するが、接続ポートの数は4つに限定されない。また、HUB装置101に接続されているUSBデバイス120は1台として説明するが、複数のUSBデバイスが接続されていてもかまわない。
<First Embodiment>
FIG. 1 is a diagram illustrating a configuration example of the HUB device according to the first embodiment. The HUB device 101 in FIG. 1 includes connection ports 102a to 102d, a HUB circuit 103, a control device 104, a multimedia device 111, and an input / output device 112. In the present embodiment, description will be made assuming that there are four connection ports 102a to 102d, but the number of connection ports is not limited to four. Further, although the USB device 120 connected to the HUB device 101 is described as one unit, a plurality of USB devices may be connected.

HUB回路103は、接続ポート102a〜102dを介して接続されたUSBデバイスからそれぞれ入力されたデータを集線し、制御装置104に出力する一方、制御装置104から出力されたデータを接続ポート102a〜102dを介して接続されたUSBデバイスにそれぞれ出力する。例えば、図1のHUB回路103は、接続ポート102aを介してUSBデバイス120から入力されたデータを制御装置104に出力する一方、制御装置104から出力されたデータを、接続ポート102aを介して接続されたUSBデバイス120に出力する。ここで、HUB回路103は、USB規格にて定められたUSB−HUBのデバイスクラスの規格に準拠した動作を実現することが可能であるものとする。   The HUB circuit 103 collects data input from the USB devices connected via the connection ports 102a to 102d and outputs the collected data to the control device 104, while the data output from the control device 104 is connected to the connection ports 102a to 102d. Are output to the USB devices connected to each other. For example, the HUB circuit 103 in FIG. 1 outputs data input from the USB device 120 via the connection port 102a to the control device 104, while connecting data output from the control device 104 via the connection port 102a. To the connected USB device 120. Here, it is assumed that the HUB circuit 103 is capable of realizing an operation compliant with the USB-HUB device class standard defined by the USB standard.

制御装置104は、USBホストコントローラ105,データ制御装置106、演算装置107、およびメモリ領域108を備えている。制御装置104は、HUB回路103を制御することにより、接続ポート102a〜102dにUSBデバイス120が接続されているか否かを確認し、さらに、接続ポート102a〜102dへの電源供給のオンオフを制御する。また、接続ポート102aに接続されたUSBデバイス120とのエニュメレーション処理および双方向のデータ通信を制御する。例えば、全ての接続ポート102a〜102dへの電源供給がオンの場合において、ポート102aにUSBデバイス120が接続されているときでも、接続ポート102bに他のUSBデバイス121が接続されると、接続された各接続ポート102bを介してHUB装置101とUSBデバイス121との間で、制御装置104の制御に基づいてエニュメレーション処理が行われる。また、データ通信要求が発生したときには、その要求に基づいて双方向のデータ通信が行われる。   The control device 104 includes a USB host controller 105, a data control device 106, an arithmetic device 107, and a memory area 108. The control device 104 controls the HUB circuit 103 to confirm whether or not the USB device 120 is connected to the connection ports 102a to 102d, and further controls on / off of power supply to the connection ports 102a to 102d. . It also controls enumeration processing and bidirectional data communication with the USB device 120 connected to the connection port 102a. For example, when the power supply to all the connection ports 102a to 102d is on, even when the USB device 120 is connected to the port 102a, the connection is made when another USB device 121 is connected to the connection port 102b. An enumeration process is performed between the HUB device 101 and the USB device 121 via each connection port 102b based on the control of the control device 104. When a data communication request is generated, bidirectional data communication is performed based on the request.

なお、接続されるUSBデバイス120,121のデバイス(機器)の種類は、異なっていてもかまわない。   Note that the types of devices (devices) of the USB devices 120 and 121 to be connected may be different.

USBホストコントローラ105は、HUB回路103と接続されている。そして、接続ポート102a〜102dを介してUSBデバイス120,121が接続されたとき、例えば接続ポート102aにUSBデバイス120が接続されたとき、HUB回路103を介してUSBデバイス120とのエニュメレーション処理および双方向のデータ通信処理を実施する。また、データ制御装置106へのデータ送受信処理を行う。さらに、演算装置107からの制御を受けたデータ制御装置106から出力される制御信号に従って、HUB回路103を介して接続ポート102a〜102dにUSBデバイス120,121が接続されているか否か確認するとともに、USB規格にて規定されたUSB−HUBのクラスリクエストを使用した通信を用いて接続ポート102a〜102dへの電源供給の停止および再開(オンオフ制御)を行う。   The USB host controller 105 is connected to the HUB circuit 103. When the USB devices 120 and 121 are connected via the connection ports 102a to 102d, for example, when the USB device 120 is connected to the connection port 102a, the enumeration process with the USB device 120 via the HUB circuit 103 is performed. And bi-directional data communication processing. Also, data transmission / reception processing to the data control device 106 is performed. Further, according to the control signal output from the data control device 106 that is controlled by the arithmetic unit 107, it is confirmed whether or not the USB devices 120 and 121 are connected to the connection ports 102a to 102d via the HUB circuit 103. Then, stop and restart (on / off control) of power supply to the connection ports 102a to 102d using communication using a USB-HUB class request defined by the USB standard.

データ制御装置106は、USBホストコントローラ105とのデータ送受信処理に係る制御を実施するとともに、演算装置107の制御を受けて、USBホストコントローラ105に制御信号を出力する。また、メモリ領域108へのアクセス(すなわちデータ読み出しおよび書き込み)、マルチメディア装置111のデータ制御、および入出力装置112のデータ制御を行う。   The data control device 106 performs control related to data transmission / reception processing with the USB host controller 105, and outputs a control signal to the USB host controller 105 under the control of the arithmetic device 107. In addition, access to the memory area 108 (that is, data read and write), data control of the multimedia device 111, and data control of the input / output device 112 are performed.

演算装置107は、メモリ領域108の制御プログラム領域109に格納されている制御プログラムP109を使用してデータ制御装置106の制御を行う。その際に、必要に応じてメモリ領域108のデータ領域110に対してアクセス処理を行う。   The arithmetic unit 107 controls the data control unit 106 using the control program P109 stored in the control program area 109 of the memory area 108. At that time, an access process is performed on the data area 110 of the memory area 108 as necessary.

メモリ領域108は、後述の図2および図3を用いて説明する制御方法を実現するための制御プログラムP109を格納した制御プログラム領域109と、制御プログラムP109の処理によって一時的にデータを保存するためのデータ領域110とを備えている。   The memory area 108 stores a control program P109 for storing a control program P109 for realizing a control method described with reference to FIGS. 2 and 3 described later, and temporarily stores data by the processing of the control program P109. The data area 110 is provided.

マルチメディア装置111は、データ制御装置106から入出力したデータすなわちUSBデバイス120から接続ポート102a、HUB回路103、およびUSBホストコントローラ105を経由して入力されたデータの解析を行い、その解析結果に応じた処理を行う。例えば、USBデバイス120から出力された画像や音声などのデータが接続ポート102aからデータ制御装置106を経由して入力されたとき、そのデータの解析を行い、HUB装置101内で画像や音声などの再生処理などを行う。   The multimedia device 111 analyzes the data input / output from the data control device 106, that is, the data input from the USB device 120 via the connection port 102 a, the HUB circuit 103, and the USB host controller 105, Perform appropriate processing. For example, when data such as images and sounds output from the USB device 120 is input from the connection port 102 a via the data control device 106, the data is analyzed, and images and sounds such as images and sounds are stored in the HUB device 101. Perform playback processing.

入出力装置112は、マルチメディア装置111から送られてくるデータをユーザに提示する処理や、マルチメディア装置111の機能をユーザの入力に基づいて選択する処理などを行う。   The input / output device 112 performs processing for presenting data sent from the multimedia device 111 to the user, processing for selecting a function of the multimedia device 111 based on user input, and the like.

図2は本実施形態に係るHUB装置の制御方法、すなわち図1のHUB装置101の動作を示すフローチャートである。   FIG. 2 is a flowchart showing the control method of the HUB device according to the present embodiment, that is, the operation of the HUB device 101 of FIG.

図2に示すように、まず、第1のステップでは、制御装置104はHUB回路103を介してUSBデバイス120,121が接続されていない接続ポート102a〜102dの情報を入手し、メモリ領域108のデータ領域110に保存する(ステップS1)。具体的には、演算装置107は、制御プログラムP109を使用してデータ制御装置106を制御し、USBホストコントローラ105からHUB回路103を介してUSBデバイス120,121が接続されていない接続ポート102a〜102dの情報を入手し、メモリ領域108のデータ領域110に保存する。例えば図1において、演算装置107は、USBデバイス120の接続されていない接続ポート102b〜102d(第2の接続ポート)の情報(状態)をデータ領域110に保存する。また、第2のステップでは、制御装置104は、HUB回路103および接続ポート102aを経由してUSBデバイス120とHUB装置101との間でデータ通信要求があったか否か、すなわちHUB103回路経由のデータ通信を開始するか否かを確認する(ステップS2)。   As shown in FIG. 2, first, in the first step, the control device 104 obtains information of the connection ports 102 a to 102 d to which the USB devices 120 and 121 are not connected via the HUB circuit 103 and stores the information in the memory area 108. The data is stored in the data area 110 (step S1). Specifically, the arithmetic unit 107 controls the data control unit 106 using the control program P109, and the connection ports 102a to 102a to which the USB devices 120 and 121 are not connected from the USB host controller 105 via the HUB circuit 103. The information 102d is obtained and stored in the data area 110 of the memory area 108. For example, in FIG. 1, the computing device 107 stores information (state) of connection ports 102 b to 102 d (second connection ports) to which the USB device 120 is not connected in the data area 110. In the second step, the control device 104 determines whether or not there is a data communication request between the USB device 120 and the HUB device 101 via the HUB circuit 103 and the connection port 102a, that is, data communication via the HUB 103 circuit. It is confirmed whether or not to start (step S2).

次に、第3のステップにおいて、ステップS2におけるデータ通信要求が無かったとき(ステップS2でNo)、制御装置104は接続ポート102a〜102dへの電力供給の制御(停止)を行わずに処理を終了する。一方、データ通信要求があったとき(ステップS2でYes)、制御装置104は、HUB回路103を介してUSBデバイス120が接続されていなかった接続ポート102b〜102d(第2の接続ポート)への電源供給を停止する(ステップS3)。ステップS3における電源供給の停止を確認して、制御装置104は、HUB回路103および接続ポート102a(第1の接続ポート)を経由したUSBデバイス120とのデータ通信を開始する(ステップS4)。   Next, in the third step, when there is no data communication request in step S2 (No in step S2), the control device 104 performs processing without controlling (stopping) the power supply to the connection ports 102a to 102d. finish. On the other hand, when there is a data communication request (Yes in step S2), the control device 104 connects to the connection ports 102b to 102d (second connection ports) to which the USB device 120 is not connected via the HUB circuit 103. The power supply is stopped (step S3). After confirming the stop of the power supply in step S3, the control device 104 starts data communication with the USB device 120 via the HUB circuit 103 and the connection port 102a (first connection port) (step S4).

すると、上記のデータ通信が行われている間は、電源供給が停止された接続ポート102b〜102dに、他のUSBデバイス121が接続されたとしても、検知不可能な状態となっているため、他のUSBデバイス121が接続されたときに行われるエニュメレーション処理の通信が行われない。   Then, while the above data communication is being performed, even if another USB device 121 is connected to the connection ports 102b to 102d whose power supply has been stopped, the detection is impossible. Communication of enumeration processing that is performed when another USB device 121 is connected is not performed.

ここで、他のUSBデバイス121が接続されるとは、物理的な接続および電気的な接続の両方の接続を含んでいる。すなわち、例えば他のUSBデバイス121が、既に接続ポート102b〜102dのいずれかに物理的に接続されており、かつ電源が供給されていなかったとき(電気的に接続されていなかったとき)に、他のUSBデバイス121への電源供給(オン制御)が開始されることによって、新たに発生する電気的接続を含んでいる。   Here, the connection of the other USB device 121 includes both physical connection and electrical connection. That is, for example, when another USB device 121 is already physically connected to one of the connection ports 102b to 102d and power is not supplied (when it is not electrically connected), When a power supply (on control) to another USB device 121 is started, a newly generated electrical connection is included.

なお、接続ポート102b〜102dへの電源供給の停止は、USBにおいては、USBホストコントローラ105とHUB回路103との間でUSB規格にて規定されたUSB−HUBのクラスリクエストを使用した通信を行うことで実現できる。   Note that the power supply to the connection ports 102b to 102d is stopped by communication between the USB host controller 105 and the HUB circuit 103 using a USB-HUB class request defined by the USB standard in USB. This can be achieved.

HUB装置101とUSBデバイス120とのデータ通信が行われている間は、制御プログラムP109すなわち演算装置107によってデータ通信状態が管理される。具体的には、USBホストコントローラ105、データ制御装置106、マルチメディア装置111、および入出力装置112へのデータ処理が実施される。そして、演算装置107は、HUB回路103および接続ポート102aを経由したHUB装置101とUSBデバイス120とのデータ通信が完了するまで通信状態を確認する。   While data communication between the HUB device 101 and the USB device 120 is performed, the data communication state is managed by the control program P109, that is, the arithmetic device 107. Specifically, data processing to the USB host controller 105, the data control device 106, the multimedia device 111, and the input / output device 112 is performed. Then, the arithmetic unit 107 checks the communication state until data communication between the HUB device 101 and the USB device 120 via the HUB circuit 103 and the connection port 102a is completed.

次に、第4のステップにおいて、演算装置107は、HUB回路103および接続ポート102aを経由したHUB装置101とUSBデバイス120とのデータ通信の完了を確認した後(ステップS5)、HUB回路103を経由してステップS3で電源供給を停止した接続ポート102b〜102d(第2の接続ポート)への電源供給を再開する(ステップS6)。このステップS6の処理により、接続ポート102b〜102dを介して他のUSBデバイス121を認識できる状態、すなわちエニュメレーション処理が実施可能な状態となり、処理は終了する。なお、接続ポート102b〜102dへの電源供給の再開は、USBにおいてはUSBホストコントローラ105とHUB回路103との間でUSB規格にて規定されたUSB−HUBのクラスリクエストを使用した通信を行うことで実現できる。   Next, in the fourth step, the arithmetic unit 107 confirms completion of data communication between the HUB device 101 and the USB device 120 via the HUB circuit 103 and the connection port 102a (step S5), and then the HUB circuit 103 is changed. Then, power supply to the connection ports 102b to 102d (second connection ports) whose power supply is stopped in step S3 is resumed (step S6). By the process of step S6, the state in which the other USB device 121 can be recognized via the connection ports 102b to 102d, that is, the state where the enumeration process can be performed is entered, and the process ends. Note that the power supply to the connection ports 102b to 102d is resumed by performing communication using the USB-HUB class request defined by the USB standard between the USB host controller 105 and the HUB circuit 103 in USB. Can be realized.

以上のように本実施形態によれば、HUB装置101とUSBデバイス120とがデータ通信を行っている間、USBデバイス120が接続されていない接続ポート102b〜102dへの電源供給を停止している。そのため、上記のHUB装置101とUSBデバイス120とがデータ通信を行っている間に接続ポート102b〜102dに他のUSBデバイス121が接続されたとしても、エニュメレーション処理が実施されない。これにより、エニュメレーション処理による一時的なデータ通信速度の低下を防ぐことができる。   As described above, according to the present embodiment, power supply to the connection ports 102b to 102d to which the USB device 120 is not connected is stopped while the HUB device 101 and the USB device 120 are performing data communication. . Therefore, even if another USB device 121 is connected to the connection ports 102b to 102d while the HUB device 101 and the USB device 120 perform data communication, the enumeration process is not performed. This can prevent a temporary decrease in data communication speed due to the enumeration process.

また、上記のデータ通信が完了した後に、ステップS6において接続ポート102b〜102dへの電源供給を再開させるため、例えば上記のHUB装置101とUSBデバイス120とがデータ通信を行っている間に、電源供給を停止している接続ポート102bに他のUSBデバイス121が接続されていた場合には、このステップS6での電源供給再開とともに、エニュメレーション処理が実施される。すなわち、ユーザの操作や外部のPCなどからの制御がなくても、データ通信中はエニュメレーション処理を実施できないようにするとともに、データ通信中に接続されていた他のUSBデバイス121をデータ通信後に認識することができる。さらに、他のUSBデバイス121以外のUSBデバイスが追加され、例えば接続ポート103cに接続されてもエニュメレーション処理を実施することができる。   In addition, after the above data communication is completed, in order to restart the power supply to the connection ports 102b to 102d in step S6, for example, while the HUB device 101 and the USB device 120 are performing data communication, If another USB device 121 is connected to the connection port 102b whose supply has been stopped, enumeration processing is performed along with the resumption of power supply in step S6. That is, even if there is no user operation or control from an external PC or the like, the enumeration process cannot be performed during data communication, and other USB devices 121 connected during data communication can be communicated. It can be recognized later. Furthermore, even if another USB device other than the USB device 121 is added and connected to the connection port 103c, for example, the enumeration process can be performed.

<第2の実施形態>
図3は、第2の実施形態における他の制御方法例を示すフローチャートである。図3のフローチャートにおいて、第1の実施形態と異なるのは、ステップS2におけるデータ通信要求について、後述の優先条件201を満たすか否かを判断するステップS7が追加されている点である。
<Second Embodiment>
FIG. 3 is a flowchart illustrating another example of the control method according to the second embodiment. In the flowchart of FIG. 3, the difference from the first embodiment is that a step S7 for determining whether or not a later-described priority condition 201 is satisfied is added to the data communication request in step S2.

そして、ステップS3では、ステップS2においてHUB装置101とUSBデバイス120との間でデータ通信要求がなされており(ステップS2でYes)、かつ、そのデータ通信要求がステップS7における優先条件201を満たすものであるとき(ステップS7でYes)、制御装置104はステップS1においてUSBデバイス120との接続が確認されなかった接続ポート102b〜102dへの電源供給を停止する。一方、ステップS2においてUSBデバイス120とHUB装置101との間で接続ポート102aを介したデータ通信要求がなされており(ステップS2でYes)、かつ、そのデータ通信要求がステップS7における優先条件201を満たさないものであるとき(ステップS7でNo)、制御装置104はステップS1においてUSBデバイス120との接続が確認されなかった接続ポート102b〜102dへの電源供給を停止せずに、HUB回路103および接続ポート102aを経由したUSBデバイス120とのデータ通信を開始する(ステップS4A)。そして、ステップS5AではステップS5と同様のデータ処理およびデータ通信が完了するまで通信状態の確認が実施され、通信完了後に処理を終了する。   In step S3, a data communication request is made between the HUB device 101 and the USB device 120 in step S2 (Yes in step S2), and the data communication request satisfies the priority condition 201 in step S7. (Yes in step S7), the control device 104 stops the power supply to the connection ports 102b to 102d that have not been confirmed to be connected to the USB device 120 in step S1. On the other hand, in step S2, a data communication request is made between the USB device 120 and the HUB device 101 via the connection port 102a (Yes in step S2), and the data communication request satisfies the priority condition 201 in step S7. When not satisfying (No in step S7), the control device 104 does not stop the power supply to the connection ports 102b to 102d in which the connection with the USB device 120 is not confirmed in step S1, and the HUB circuit 103 and Data communication with the USB device 120 via the connection port 102a is started (step S4A). In step S5A, the communication state is confirmed until the same data processing and data communication as in step S5 are completed, and the processing is terminated after the communication is completed.

なお、その他のステップに関しては、図2のフローチャートにおける各ステップと同様の動作をするため、ここではその詳細な説明を省略する。   Since the other steps operate in the same manner as the steps in the flowchart of FIG. 2, detailed description thereof is omitted here.

図4は優先条件の判断の一例を示す図である。優先条件201は、転送情報と優先情報とから構成されている。優先条件201の転送情報には、例えば本実施形態では、USB規格に準拠した転送方式の情報として、アイソクロナス転送、インタラプト転送、コントロール転送、およびバルク転送を記載している。また、優先条件201の優先情報には、例えばリアルタイム性を重視する通信か否かなどの転送される情報の優先度が記載される。本実施形態では、リアルタイム性を重視するアイソクロナス転送およびインタラプト転送を優先条件が高い設定であることを示す“高”と記載する一方、リアルタイム性が必要ではないコントロール転送およびバルク転送を優先条件が低い設定であることを示す“低”と記載している。ここで、図4において、優先条件201を満たすとは、優先条件が“高”に属しているものを指すものとする。すなわち、閾値のラインより上段に記載しているアイソクロナス転送およびインタラプト転送が、優先条件201を満たす転送情報となる。   FIG. 4 is a diagram illustrating an example of determination of priority conditions. The priority condition 201 is composed of transfer information and priority information. In the transfer information of the priority condition 201, for example, in this embodiment, isochronous transfer, interrupt transfer, control transfer, and bulk transfer are described as transfer method information compliant with the USB standard. In addition, the priority information of the priority condition 201 describes the priority of information to be transferred such as whether or not the communication emphasizes real-time characteristics. In this embodiment, isochronous transfer and interrupt transfer that place importance on real-time characteristics are described as “high” indicating that the priority condition is set at a high level, while control transfer and bulk transfer that do not require real-time characteristics have a low priority condition. “Low” is shown to indicate that this is a setting. Here, in FIG. 4, satisfying the priority condition 201 indicates that the priority condition belongs to “high”. That is, isochronous transfer and interrupt transfer described above the threshold line are transfer information satisfying the priority condition 201.

そして、例えば、ステップS2においてUSBデバイス120とHUB装置101との間でデータ通信要求があった場合において(ステップS2でYes)、データ転送方式がコントロール転送またはバルク転送だったとき(ステップS7でNo)、制御装置104はステップS1においてUSBデバイス120との接続が確認されなかった接続ポート102b〜102dへの電源供給を停止せずに、HUB回路103および接続ポート102aを経由したUSBデバイス120とのデータ通信を開始する(ステップS4A)。ステップS5AではステップS5と同様のデータ処理およびデータ通信が完了するまで通信状態の確認が実施され、通信完了後処理は終了する。   For example, when there is a data communication request between the USB device 120 and the HUB device 101 in step S2 (Yes in step S2), when the data transfer method is control transfer or bulk transfer (No in step S7). The control device 104 does not stop the power supply to the connection ports 102b to 102d for which the connection with the USB device 120 has not been confirmed in step S1, and the control device 104 can communicate with the USB device 120 via the HUB circuit 103 and the connection port 102a. Data communication is started (step S4A). In step S5A, the communication state is confirmed until the same data processing and data communication as in step S5 are completed, and the post-completion processing ends.

一方、例えば、ステップS2においてUSBデバイス120とHUB装置101との間でデータ通信要求があった場合において(ステップS2でYes)、データ転送方式がアイソクロナス転送またはインタラプト転送だったとき(ステップS7でYes)、制御装置104は、ステップS3からステップS6までの処理を図2の説明と同様に実施する。   On the other hand, for example, when there is a data communication request between the USB device 120 and the HUB device 101 in step S2 (Yes in step S2), when the data transfer method is isochronous transfer or interrupt transfer (Yes in step S7). The control device 104 performs the processing from step S3 to step S6 in the same manner as described in FIG.

以上のように本実施形態によると、HUB装置101とUSBデバイス120とのデータ通信を行う際に、優先条件201に基づいて、USBデバイス120の接続が確認されなかった接続ポート102b〜102dへの電源供給を停止するため、優先条件201を満たすデータ通信要求があった場合にのみ、他のUSBデバイス121を認識できない状態にし、エニュメレーション処理に起因する一時的なデータ通信速度の低下を防ぐことができる。   As described above, according to the present embodiment, when data communication between the HUB device 101 and the USB device 120 is performed, the connection to the connection ports 102b to 102d in which the connection of the USB device 120 is not confirmed based on the priority condition 201 is performed. In order to stop the power supply, only when there is a data communication request that satisfies the priority condition 201, the other USB device 121 is made unrecognizable to prevent a temporary decrease in data communication speed due to the enumeration process. be able to.

また、優先条件201を満たすデータ通信要求に係るデータ通信の場合において、データ通信が行われている間に電源供給を停止している接続ポート102b〜102dに他のUSBデバイス121が接続されていたときには、ステップS6における電源供給の再開とともに、接続されていた他のUSBデバイス121とのエニュメレーション処理が実施される。   In the case of data communication related to a data communication request that satisfies the priority condition 201, another USB device 121 is connected to the connection ports 102b to 102d that have stopped supplying power while the data communication is being performed. Sometimes, enumeration processing with the other connected USB device 121 is performed along with the resumption of power supply in step S6.

なお、優先条件201内の情報は、優先情報および転送情報に限らない。例えば、接続ポート102a〜102dの接続ポート番号、HUB装置101に接続されるUSBデバイスの種類、および接続される機器が通信に使用する帯域の大きさなど優先条件として優劣をつけられる情報であれば代用が可能である。   The information in the priority condition 201 is not limited to priority information and transfer information. For example, if it is information that can be given superiority or inferiority as a priority condition, such as the connection port numbers of the connection ports 102a to 102d, the type of USB device connected to the HUB device 101, and the size of the band used by the connected device for communication. Substitution is possible.

また、制御装置104内にシーケンス制御を行うハードウェアを設け、そのハードウェアによって第1および第2の実施形態における各ステップを実施しても同様の効果が得られる。   Further, the same effect can be obtained even if hardware for performing sequence control is provided in the control device 104 and each step in the first and second embodiments is performed by the hardware.

本発明では、リソースが限られた組み込み環境やユーザの操作が限られた環境においても、エニュメレーション処理による一時的なデータ通信速度の低下を防ぐことができる。そのため、例えばコンポ、DVDプレーヤー、HDDレコーダー、およびデジタルTVといったマルチメディア機器やカーナビゲーションシステムといったユーザの操作が限られた環境で使用される組み込み機器として有用である。   According to the present invention, it is possible to prevent a temporary decrease in data communication speed due to enumeration processing even in an embedded environment with limited resources or an environment with limited user operations. Therefore, it is useful as an embedded device used in an environment where the user's operation is limited, such as a multimedia device such as a component, a DVD player, an HDD recorder, and a digital TV, or a car navigation system.

101 HUB装置
102a,102b,102c,102d 接続ポート
103 HUB回路
104 制御装置
120,121 USBデバイス
201 優先条件
101 HUB device 102a, 102b, 102c, 102d Connection port 103 HUB circuit 104 Control device 120, 121 USB device 201 Priority condition

Claims (4)

複数の接続ポートを有するHUB装置の制御方法であって、
前記各接続ポートにUSBデバイスが接続されているか否かを確認する第1のステップと、
前記第1のステップにおいて接続が確認された第1の接続ポートを介して、前記HUB装置と前記USBデバイスとの間でデータ通信要求があったか否かを確認する第2のステップと、
前記第2のステップにおいてデータ通信要求を確認したとき、前記第1のステップにおいて接続が確認されなかった第2の接続ポートへの電源供給を停止し、前記データ通信要求に係るデータ通信を前記第1の接続ポートを介して開始する第3のステップと、
前記第3のステップにおいて開始したデータ通信が完了したとき、前記第3のステップにおいて電源供給を停止した前記第2の接続ポートへの電源供給を再開する第4のステップとを有する
ことを特徴とするHUB装置の制御方法。
A method of controlling a HUB device having a plurality of connection ports,
A first step of confirming whether a USB device is connected to each connection port;
A second step of confirming whether or not a data communication request has been made between the HUB device and the USB device via the first connection port whose connection has been confirmed in the first step;
When the data communication request is confirmed in the second step, the power supply to the second connection port that is not confirmed in the first step is stopped, and the data communication related to the data communication request is performed in the first step. A third step starting via one connection port;
And a fourth step of resuming power supply to the second connection port that has stopped power supply in the third step when the data communication started in the third step is completed. To control the HUB device.
請求項1記載のHUB装置の制御方法において、
前記第3のステップは、前記第2のステップにおいて前記データ通信要求を確認した場合において、当該データ通信要求が所定の優先条件を満たすものであるとき、前記第2の接続ポートへの電源供給を停止し、前記データ通信要求に係るデータ通信を前記第1の接続ポートを介して開始する
ことを特徴とするHUB装置の制御方法。
In the control method of the HUB device according to claim 1,
In the third step, when the data communication request is confirmed in the second step, when the data communication request satisfies a predetermined priority condition, power is supplied to the second connection port. A control method for a HUB device, characterized by stopping and starting data communication related to the data communication request via the first connection port.
請求項1記載のHUB装置の制御方法において、
前記第3のステップにおける前記第2の接続ポートへの電源供給の停止、および前記第4のステップにおける前記第2の接続ポートへの電源供給の再開を、USB規格に準拠したクラスリクエストにより実施する
ことを特徴とするHUB装置の制御方法。
In the control method of the HUB device according to claim 1,
The stop of power supply to the second connection port in the third step and the restart of power supply to the second connection port in the fourth step are performed by a class request conforming to the USB standard. A control method for a HUB device, characterized in that:
複数のUSBデバイスが接続可能なHUB装置であって、
前記HUB装置と前記USBデバイスとをUSBを介して接続する複数の接続ポートと、
前記複数の接続ポートと接続された、集線回路であるHUB回路と、
前記HUB装置および前記複数の接続ポートを制御する制御装置とを備えており、
前記制御装置は、
前記各接続ポートに前記USBデバイスが接続されているか否かを確認する接続確認手段と、
前記接続確認手段によって接続が確認された第1の接続ポートを介して、前記HUB装置と前記USBデバイスとの間でデータ通信要求があったか否かを確認するデータ通信要求確認手段と、
前記データ通信要求確認手段において前記データ通信要求が確認されたとき、前記接続確認手段において接続が確認されなかった第2の接続ポートへの電源供給を停止し、前記データ通信要求に係るデータ通信を前記第1の接続ポートを介して開始する第1の通信制御手段と、
前記第1の通信制御手段によって開始されたデータ通信が完了したとき、前記第1の通信制御手段によって電源供給を停止した前記第2の接続ポートへの電源供給を再開する第2の通信制御手段とを備えている
ことを特徴とするHUB装置。
A HUB device to which a plurality of USB devices can be connected,
A plurality of connection ports for connecting the HUB device and the USB device via USB;
A HUB circuit, which is a concentrator circuit, connected to the plurality of connection ports;
A control device for controlling the HUB device and the plurality of connection ports;
The controller is
Connection confirmation means for confirming whether or not the USB device is connected to each connection port;
Data communication request confirmation means for confirming whether or not a data communication request has been made between the HUB device and the USB device via the first connection port whose connection has been confirmed by the connection confirmation means;
When the data communication request is confirmed by the data communication request confirmation means, the power supply to the second connection port that is not confirmed by the connection confirmation means is stopped, and the data communication related to the data communication request is performed. First communication control means starting via the first connection port;
Second communication control means for resuming power supply to the second connection port whose power supply has been stopped by the first communication control means when the data communication started by the first communication control means is completed And a HUB device.
JP2011110305A 2011-05-17 2011-05-17 Hub device control method and hub device Pending JP2012242942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011110305A JP2012242942A (en) 2011-05-17 2011-05-17 Hub device control method and hub device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011110305A JP2012242942A (en) 2011-05-17 2011-05-17 Hub device control method and hub device

Publications (1)

Publication Number Publication Date
JP2012242942A true JP2012242942A (en) 2012-12-10

Family

ID=47464624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011110305A Pending JP2012242942A (en) 2011-05-17 2011-05-17 Hub device control method and hub device

Country Status (1)

Country Link
JP (1) JP2012242942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064651A (en) * 2021-03-30 2021-07-02 重庆中科云从科技有限公司 Initialization control device, method and equipment applied to multistage interface series equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11177598A (en) * 1997-12-12 1999-07-02 Canon Inc Hub, device, communication method therefor and storage medium storing computer readable program
JP2000194682A (en) * 1998-12-25 2000-07-14 Fuji Xerox Co Ltd Signal communication device, multiple bus controller and multiple bus control lsi
JP2002133244A (en) * 2000-10-23 2002-05-10 Nippon Telegr & Teleph Corp <Ntt> Communications services offering method and device
JP2004343199A (en) * 2003-05-13 2004-12-02 Nippon Telegr & Teleph Corp <Ntt> Network resource intermediation communication system, communication method, communication apparatus, adjacent node apparatus, and program and recording medium thereof
JP2007018102A (en) * 2005-07-05 2007-01-25 Sharp Corp Authentication device, image forming apparatus, and image reading apparatus
JP2007072907A (en) * 2005-09-08 2007-03-22 Sharp Corp Control system, electronic device, and image forming device
JP2008271215A (en) * 2007-04-20 2008-11-06 Silex Technology Inc Usb hub
JP2009169880A (en) * 2008-01-21 2009-07-30 I-O Data Device Inc Medium reader/writer
JP2010176536A (en) * 2009-01-30 2010-08-12 Toshiba Corp Information processing apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11177598A (en) * 1997-12-12 1999-07-02 Canon Inc Hub, device, communication method therefor and storage medium storing computer readable program
JP2000194682A (en) * 1998-12-25 2000-07-14 Fuji Xerox Co Ltd Signal communication device, multiple bus controller and multiple bus control lsi
JP2002133244A (en) * 2000-10-23 2002-05-10 Nippon Telegr & Teleph Corp <Ntt> Communications services offering method and device
JP2004343199A (en) * 2003-05-13 2004-12-02 Nippon Telegr & Teleph Corp <Ntt> Network resource intermediation communication system, communication method, communication apparatus, adjacent node apparatus, and program and recording medium thereof
JP2007018102A (en) * 2005-07-05 2007-01-25 Sharp Corp Authentication device, image forming apparatus, and image reading apparatus
JP2007072907A (en) * 2005-09-08 2007-03-22 Sharp Corp Control system, electronic device, and image forming device
JP2008271215A (en) * 2007-04-20 2008-11-06 Silex Technology Inc Usb hub
JP2009169880A (en) * 2008-01-21 2009-07-30 I-O Data Device Inc Medium reader/writer
JP2010176536A (en) * 2009-01-30 2010-08-12 Toshiba Corp Information processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064651A (en) * 2021-03-30 2021-07-02 重庆中科云从科技有限公司 Initialization control device, method and equipment applied to multistage interface series equipment

Similar Documents

Publication Publication Date Title
JP5028798B2 (en) Information processing apparatus, information processing method, and computer program
US20090113087A1 (en) Stream data transfer control device
US20130258194A1 (en) Information Processing Apparatus and Output Control Method
KR20050019053A (en) Electronic device and power control method
JP5700514B2 (en) Communication speed control device and communication speed control method
CN101364400B (en) Information processing apparatus and output switching control method
KR20080021072A (en) Remotely controlling playback of content stored on a device
WO2009125586A1 (en) Device control method, device control program, and device selecting apparatus
JP2008035523A (en) Automatic audio/video signal switching system and switcher thereof
JP2010252107A (en) Semiconductor integrated circuit device
JP5606249B2 (en) Video playback apparatus and activation method
JP2012242942A (en) Hub device control method and hub device
JP5766032B2 (en) Information processing apparatus and activation method thereof
JP2009157843A (en) Video content recording apparatus and video content transfer method
EP1401206A2 (en) Stream Data Processing Apparatus
JP5892751B2 (en) Network control device, display device, and network control method
JP5024271B2 (en) Recorder device, dubbing frequency management method and dubbing frequency management program
JP2004120139A (en) Communication control apparatus
JP4956650B2 (en) Reproduction control device and reproduction control method
JP2010087556A (en) Image recording and reproducing apparatus, image recording and reproducing program, image recording and reproducing method
CN108924458B (en) EDID data rewriting method and device for HDMI extended channel and display terminal
JP2004325761A (en) Device and method for information processing
US10009571B2 (en) Reproducing device, control device, control method, and computer-readable storage medium
JP2000278296A (en) Communication system and electronic apparatus to be used for the same
JP5115775B2 (en) Video display device and audio reproduction method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140219

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140320

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150512