JP2002342255A - Device for connecting usb device - Google Patents

Device for connecting usb device

Info

Publication number
JP2002342255A
JP2002342255A JP2001143408A JP2001143408A JP2002342255A JP 2002342255 A JP2002342255 A JP 2002342255A JP 2001143408 A JP2001143408 A JP 2001143408A JP 2001143408 A JP2001143408 A JP 2001143408A JP 2002342255 A JP2002342255 A JP 2002342255A
Authority
JP
Japan
Prior art keywords
usb
pseudo
host
descriptor
usb device
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.)
Withdrawn
Application number
JP2001143408A
Other languages
Japanese (ja)
Inventor
Kazunobu Kimura
和伸 木村
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001143408A priority Critical patent/JP2002342255A/en
Publication of JP2002342255A publication Critical patent/JP2002342255A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem of the inafility of simultaneously providing a service even at sharing of a USB device by a plurality of USB hosts by a connection switching device, since the USB specifications are one-to-many commutation between the USB hosts and the USB device. SOLUTION: This device is provide with a plurality of pseudo-USB device functioning parts A, B, and C respectively connected to a plurality of USB hosts A, B, and C, one pseudo-USB host part 215 connected to USB devices A and B; a descriptor converting part 213 for generating each descriptor group describing a service to be provided to each USB host by the USB devices, and for setting the descriptor groups in those pseudo-USB device functioning parts; and a data transfer managing part 212 for controlling data transfer between those pseudo USB device functioning parts and the pseudo-USB host part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は複数のUSB(Univ
ersal Serial Bus)ホストと1つ以上のUSBデバイス
との間に接続されるUSB機器接続装置に関する。
The present invention relates to a plurality of USB (Univ.
eral Serial Bus) relates to a USB device connection device connected between a host and one or more USB devices.

【0002】[0002]

【従来の技術】パソコンの周辺機器インターフェースの
共通化を図ったUSB規格は、オペレーティングシステ
ムによる標準サポートがなされて以来、パソコンに搭載
すべき標準バスインターフェースとして普及している。
2. Description of the Related Art The USB standard for standardizing the peripheral device interface of a personal computer has been widely used as a standard bus interface to be mounted on a personal computer since the standard support by an operating system was provided.

【0003】USB規格はツリー構造の通信システムを
定めている。すなわち、USBシステムは、データ転送
管理等のマスタ機能を有しツリー構造の頂点に位置する
唯一のUSBホストと、ツリー構造の分岐点に位置する
ハブおよびツリー構造の末端(葉)に位置するUSBデ
バイスから構成され、USBホストとUSBデバイスの
間に1対多の通信方式を定めている。
The USB standard defines a communication system having a tree structure. In other words, the USB system has a master function such as data transfer management and has only one USB host located at the top of the tree structure, a hub located at a branch point of the tree structure, and a USB located at the end (leaf) of the tree structure. It is composed of devices, and defines a one-to-many communication method between a USB host and a USB device.

【0004】したがって、1つのUSBデバイスを複数
のUSBホストから使用するにはケーブルの繋ぎ替えを
行う必要があるが、これを回避して接続の切り替えを自
動化する方法として、例えば、特開2000−1946
49号公報に開示されているものがある。
Therefore, in order to use one USB device from a plurality of USB hosts, it is necessary to change the connection of the cables. 1946
There is one disclosed in Japanese Patent Publication No. 49-49.

【0005】同公報に示されるような従来のUSB機器
接続装置においては、複数のUSBホストからUSBデ
バイスを共有する場合に、ハブ等を内蔵した切り替え装
置を使用し、並列接続されたUSBホストを随時選択し
て通信する方法が採用されている。
In a conventional USB device connection device as disclosed in the publication, when a USB device is shared by a plurality of USB hosts, a switching device having a built-in hub or the like is used to connect a USB host connected in parallel. A method of selecting and communicating at any time is adopted.

【0006】図8は、複数のUSBホストからUSBデ
バイスを共有する従来手法の一例を説明する概念図であ
る。図8において、切り替え装置800に対し、上位ポ
ートにUSBホスト801、802、803が、下位ポ
ートにUSBデバイス804、805、806が接続さ
れている。切り替え装置800に備える切り替え制御部
807およびルート切り替え部808により、1つのU
SBデバイスに対し、選択された1つのUSBホストが
対応付けられる。
FIG. 8 is a conceptual diagram illustrating an example of a conventional method for sharing a USB device from a plurality of USB hosts. In FIG. 8, USB hosts 801, 802, and 803 are connected to upper ports and USB devices 804, 805, and 806 are connected to lower ports for the switching device 800. The switching control unit 807 and the route switching unit 808 included in the switching device 800 provide one U
One selected USB host is associated with the SB device.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
た従来方式では、複数のUSBホストから1つのUSB
デバイスを同時にアクセスすることはできない。すなわ
ち、USB規格に従い、USBデバイスに対するUSB
ホストは唯一でなければならないため、複数のUSBホ
ストからUSBデバイスを共有するには、他のUSBホ
ストが目的のUSBデバイスにアクセスしていないこと
を制御信号等により確認し、接続を切り替える処理が必
要である。
However, in the above-mentioned conventional method, one USB host is provided from a plurality of USB hosts.
Devices cannot be accessed simultaneously. That is, according to the USB standard, a USB device
In order to share a USB device from a plurality of USB hosts, the host must be unique. Therefore, it is necessary to confirm with a control signal or the like that another USB host is not accessing a target USB device, and perform a process of switching connections. is necessary.

【0008】また、上述した従来方式の切り替え装置に
おいては、USBホストは切り替え装置に対して並列接
続することしかできず、USBホストの間に階層的な役
割を与えることができない。
Further, in the above-mentioned conventional switching device, the USB host can only be connected in parallel to the switching device, and cannot provide a hierarchical role between the USB hosts.

【0009】本発明は上記従来の問題点を解決するもの
で、複数のUSBホストが1つのUSBデバイスを共有
し、USBデバイスが提供するサービスを同時に得るこ
とを可能にするUSB機器接続装置を提供することを目
的とする。さらに、本発明は単一のUSBデバイスに対
し、USBホストを階層的に拡張接続できるようにする
USB機器接続装置を提供することを目的とする。
[0009] The present invention solves the above-mentioned conventional problems, and provides a USB device connection device that enables a plurality of USB hosts to share one USB device and simultaneously obtain services provided by the USB device. The purpose is to do. A further object of the present invention is to provide a USB device connection device which enables a USB host to be hierarchically extendedly connected to a single USB device.

【0010】[0010]

【課題を解決するための手段】上述した目的を達成する
ために、本発明の請求項1に係るUSB機器接続装置
は、複数のUSBホスト(USBホストA、B、C)と
1つ以上のUSBデバイス(USBデバイスA、B)と
の間に接続されるUSB機器接続装置において、前記複
数のUSBホストそれぞれに接続される複数の擬似US
Bデバイス機能部(疑似USBデバイス機能部A、B、
C)と、前記USBデバイスに接続される1つの擬似U
SBホスト部(疑似USBホスト部215)と、前記U
SBデバイスが前記USBホストそれぞれに提供するサ
ービスを記述するそれぞれのディスクリプタ群を生成し
て前記擬似USBデバイス機能部に設定するディスクリ
プタ変換部(ディスクリプタ変換部213)と、前記複
数の擬似USBデバイス機能部と前記擬似USBホスト
部との間のデータ転送を制御するデータ転送管理部(デ
ータ転送管理部212)と、を具備したことを特徴とす
る。
In order to achieve the above object, a USB device connection apparatus according to claim 1 of the present invention comprises a plurality of USB hosts (USB hosts A, B, C) and one or more USB hosts. In a USB device connection device connected to a USB device (USB devices A and B), a plurality of pseudo-USs connected to the plurality of USB hosts, respectively.
B device function unit (pseudo USB device function unit A, B,
C) and one pseudo U connected to the USB device
An SB host unit (pseudo USB host unit 215);
A descriptor conversion unit (descriptor conversion unit 213) that generates a descriptor group describing a service provided by the SB device to each of the USB hosts and sets the descriptor group in the pseudo USB device function unit; and the plurality of pseudo USB device function units. A data transfer management unit (data transfer management unit 212) for controlling data transfer between the virtual USB host unit and the pseudo USB host unit.

【0011】請求項1記載のUSB機器接続装置によれ
ば、USBホストに対してはサービスに応じたディスク
リプタ群を保持する擬似USBデバイス機能部を対応さ
せ、USBデバイスに対しては擬似USBホスト部を対
応させ、両者の間のデータ転送を制御することで、接続
されるUSBホストおよびUSBデバイスに対してはU
SB規格を満足させながら、USBデバイスが提供可能
なサービスを無理なく複数のUSBホストに同時に提供
することができる。
According to the first aspect of the present invention, the USB host is associated with a pseudo USB device function unit that holds a descriptor group corresponding to a service, and the USB device is connected with a pseudo USB host unit. By controlling the data transfer between them, the connected USB host and USB device
A service that can be provided by a USB device can be simultaneously provided to a plurality of USB hosts without difficulty while satisfying the SB standard.

【0012】本発明の請求項2に係るUSB機器接続装
置は、請求項1記載のUSB機器接続装置において、デ
ィスクリプタ変換部は、前記USBデバイスに設定され
たディスクリプタ群から、USBホストに提供するサー
ビスに応じてディスクリプタを選択し、必要に応じて変
換を施し、再構成されたディスクリプタ群を前記擬似U
SBデバイス機能部に設定するものである。
According to a second aspect of the present invention, in the USB device connection apparatus according to the first aspect, the descriptor conversion unit provides a service provided to a USB host from a group of descriptors set in the USB device. Is selected in accordance with the above, the conversion is performed as necessary, and the reconstructed descriptor group is
This is set in the SB device function unit.

【0013】請求項2記載のUSB機器接続装置によれ
ば、擬似USBデバイス機能部に設定するディスクリプ
タ群をUSBホストに提供するサービスに応じて再構成
することにより、複数のUSBホストそれぞれが、US
B規格に基づいて当該USBデバイスを占有して接続し
ているように見せかけることができる。
According to the second aspect of the present invention, the plurality of USB hosts can be connected to the USB host by reconfiguring the group of descriptors set in the pseudo USB device function unit according to the service provided to the USB host.
Based on the B standard, the USB device can be presumed to be occupied and connected.

【0014】本発明の請求項3に係るUSB機器接続装
置は、請求項1または請求項2記載のUSB機器接続装
置において、USBホストのアプリケーション実行機能
(アプリケーション制御部214)を内蔵するものであ
る。
According to a third aspect of the present invention, there is provided a USB device connection apparatus according to the first or second aspect, wherein a USB host application execution function (application control unit 214) is incorporated. .

【0015】請求項3記載のUSB機器接続装置によれ
ば、USBホストのアプリケーション実行機能を内蔵す
ることにより、USB機器接続装置がホストコンピュー
タとして振舞うことが可能になり、単一のUSBデバイ
スに対してUSBホストを階層的に拡張接続する構成を
とることができる。
According to the third aspect of the present invention, the USB device connection device has a built-in application execution function of the USB host, so that the USB device connection device can act as a host computer. A configuration in which the USB host is hierarchically expanded and connected can be adopted.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は、本発明の一実施の
形態に係るUSB機器接続装置を用いたUSBシステム
の構成法を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration method of a USB system using a USB device connection device according to an embodiment of the present invention.

【0017】図1において、100は本発明に係るUS
B機器接続装置を具体化したUSBデータ変換装置であ
り、上位ポートにUSBホスト101、102、103
が、下位ポートにUSBデバイス104、105が接続
されている。USBデータ変換装置100は、USBホ
ストとUSBデバイスとの間において、USBデバイス
が提供するサービスを振り分けるために、ディスクリプ
タ変換等の制御およびデータ転送管理を行う。
In FIG. 1, reference numeral 100 denotes a US according to the present invention.
This is a USB data conversion device that embodies a device B connection device, and USB hosts 101, 102, 103
However, USB devices 104 and 105 are connected to lower ports. The USB data conversion device 100 performs control such as descriptor conversion and data transfer management between the USB host and the USB device in order to distribute services provided by the USB device.

【0018】USB規格においては、USBデバイスが
提供するサービスは、ディスクリプタで記述される1つ
以上のインターフェースから構成され、インターフェー
ス番号によりサービスがUSBホストに対応付けられ
る。
In the USB standard, a service provided by a USB device is composed of one or more interfaces described by a descriptor, and a service is associated with a USB host by an interface number.

【0019】図1において、USBデバイス104はイ
ンターフェース#0〜#7をサポートし、サービスS1
を構成するインターフェース#0〜#2がUSBホスト
101に、サービスS2を構成するインターフェース#
3〜#5がUSBホスト102に、サービスS3を構成
するインターフェース#6〜#7がUSBホスト103
に対応付けられている。USBデバイス105はUSB
データ変換装置100に接続されているが、USBホス
トに対応付けられていない。
In FIG. 1, the USB device 104 supports interfaces # 0 to # 7, and the service S1
Interfaces # 0 to # 2 configuring the service S2 are provided to the USB host 101.
3 to # 5 are provided to the USB host 102, and interfaces # 6 to # 7 constituting the service S3 are provided to the USB host 103.
Is associated with. USB device 105 is USB
Although connected to the data converter 100, it is not associated with a USB host.

【0020】このように、USBデバイスが提供可能な
複数のサービスを、インターフェース番号により異なる
USBホストに対応付けることができる。図1では、U
SBデバイス104が提供するサービスS1、S2、S
3を、それぞれUSBホスト101、102、103に
振り分けている。
As described above, a plurality of services that can be provided by a USB device can be associated with different USB hosts according to interface numbers. In FIG. 1, U
Services S1, S2, S provided by SB device 104
3 are assigned to the USB hosts 101, 102, and 103, respectively.

【0021】次に、USB機器接続装置の具体的な構成
例を説明する。図2は本発明の一実施の形態に係るUS
B機器接続装置の構成を示すブロック図である。
Next, a specific configuration example of the USB device connection device will be described. FIG. 2 shows a US according to an embodiment of the present invention.
It is a block diagram showing composition of a B apparatus connection device.

【0022】図2において、200は本発明に係るUS
B機器接続装置を具体化したUSBデータ変換装置であ
り、上位ポートにUSBホスト201、202、203
が、下位ポートにUSBデバイス204、205が接続
されている。
In FIG. 2, reference numeral 200 denotes a US according to the present invention.
This is a USB data conversion device that embodies the device B connection device, and the USB host 201, 202, 203
However, USB devices 204 and 205 are connected to lower ports.

【0023】USBデータ変換装置200は、擬似US
Bデバイス機能部206、207、208、擬似USB
ホスト部215、CPU211、データ転送管理部21
2、ディスクリプタ変換部213、アプリケーション制
御部214、およびそれらを結ぶバス209、210か
ら構成される。
The USB data converter 200 is a pseudo-US
B device function units 206, 207, 208, pseudo USB
Host unit 215, CPU 211, data transfer management unit 21
2. Descriptor conversion unit 213, application control unit 214, and buses 209 and 210 connecting them.

【0024】216、217、218は、それぞれ擬似
USBデバイス機能部206、207、208に含まれ
るハードウェア資源からの割り込み信号であり、21
9、220は、それぞれアプリケーション制御部21
4、擬似USBホスト部215に含まれるハードウェア
資源からの割り込み信号である。
Reference numerals 216, 217, and 218 denote interrupt signals from hardware resources included in the pseudo USB device function units 206, 207, and 208, respectively.
9, 220 are application control units 21 respectively.
4. An interrupt signal from a hardware resource included in the pseudo USB host unit 215.

【0025】擬似USBデバイス機能部206、20
7、208は、上位ポートに接続されるUSBホスト2
01、202、203に対応しており、USBホストに
対してUSBデバイスとして機能する。また、擬似US
Bホスト部215は、下位ポートに接続される複数のU
SBデバイスに対してUSBホストとして機能し、これ
らを制御することができる。
The pseudo USB device function units 206 and 20
7 and 208, USB host 2 connected to the upper port
01, 202, and 203, and functions as a USB device for a USB host. Also, pseudo US
The B host unit 215 includes a plurality of U ports connected to lower ports.
It functions as a USB host for the SB device and can control them.

【0026】さらに、データ転送管理部212は擬似U
SBデバイス機能部と擬似USBホスト部との間のデー
タ転送ルートを管理し、ディスクリプタ変換部213は
擬似USBデバイス機能部専用のディスクリプタを生成
する。アプリケーション制御部214はUSBデータ変
換装置200上に実装されたアプリケーションの管理を
行う。
Further, the data transfer management unit 212
The data transfer route between the SB device function unit and the pseudo USB host unit is managed, and the descriptor conversion unit 213 generates a descriptor dedicated to the pseudo USB device function unit. The application control unit 214 manages an application mounted on the USB data conversion device 200.

【0027】次に、サービスに応じたディスクリプタ群
を擬似USBデバイスに設定するディスクリプタ変換部
213の処理について、図3および図4を用いて説明す
る。図3はディスクリプタ変換処理の手順を示すフロー
チャートであり、図4はUSBデバイスに設定されるデ
ィスクリプタ群の概念図である。
Next, the processing of the descriptor conversion unit 213 for setting the descriptor group corresponding to the service in the pseudo USB device will be described with reference to FIGS. FIG. 3 is a flowchart showing the procedure of the descriptor conversion process, and FIG. 4 is a conceptual diagram of a descriptor group set in the USB device.

【0028】図4において、ディスクリプタ群400
は、デバイスディスクリプタ401、コンフィギュレー
ションディスクリプタ402、インターフェースを記述
するディスクリプタ群403〜404から構成されてい
る。
Referring to FIG. 4, a descriptor group 400
Is composed of a device descriptor 401, a configuration descriptor 402, and a group of descriptors 403 to 404 describing an interface.

【0029】図3において、処理300で、ディスクリ
プタ変換部213は接続されたUSBデバイスのディス
クリプタ群を解析し、USBデバイスが提供可能な通信
サービスを検索する。検索後、処理301で、既定の対
応テーブルにより各USBホストに各サービスの割り当
てを行う。
In FIG. 3, in a process 300, the descriptor conversion unit 213 analyzes the descriptor group of the connected USB device and searches for a communication service that can be provided by the USB device. After the search, in a process 301, each service is assigned to each USB host according to a predetermined correspondence table.

【0030】さらに、処理302で、該当サービスに関
連するインターフェース番号を検索し、処理303で、
それ以外のインターフェース、すなわち該当サービスに
関連しないディスクリプタを削除する。削除後、処理3
04で、ハードウェア資源等の制約によりエンドポイン
ト番号の変更等が必要な場合に、ディスクリプタに変更
を施す。
Further, in a process 302, an interface number related to the service is searched, and in a process 303,
Other interfaces, that is, descriptors not related to the service are deleted. After deletion, process 3
In step 04, when it is necessary to change the endpoint number or the like due to restrictions on hardware resources or the like, the descriptor is changed.

【0031】続いて、処理305、306で、各USB
ホストに対応する専用のディスクリプタ群として新たな
ディスクリプタ群を再構成し、各USBホストに接続さ
れた擬似USBデバイス機能部に格納する。なお、ディ
スクリプタの変換仕様については、予め設定される対応
テーブルに従う。
Subsequently, in steps 305 and 306, each USB
A new descriptor group is reconfigured as a dedicated descriptor group corresponding to the host, and is stored in the pseudo USB device function unit connected to each USB host. The conversion specification of the descriptor follows a correspondence table set in advance.

【0032】次に、データ転送管理部212の処理につ
いて説明する。上述したディスクリプタ変換処理によ
り、下位ポートに接続されたUSBデバイスが提供する
サービスを、上位ポートに接続された複数のUSBホス
トに分散させてサポートすることができる。
Next, the processing of the data transfer management section 212 will be described. By the above-described descriptor conversion processing, the service provided by the USB device connected to the lower port can be distributed to and supported by a plurality of USB hosts connected to the upper port.

【0033】しかしながら、USBデバイスのアドレス
番号で対応付けを管理するハブと異なり、インターフェ
ース番号によりUSBデバイスを複数のUSBホストに
対応付けるため、上位ポートに接続されたUSBホスト
からのデータは、擬似USBデバイス機能部で一旦受信
した後にデコードと解析処理を行ない、新たに擬似US
Bホスト部に送信要求をかける制御が必要となる。下位
ポートに接続されたUSBデバイスからのデータに関し
ても同様である。
However, unlike a hub that manages the association by the USB device address number, since the USB device is associated with a plurality of USB hosts by the interface number, data from the USB host connected to the upper port must be a pseudo USB device. Decoding and analysis are performed after the data is once received by the functional unit, and a new pseudo US
Control for sending a transmission request to the B host unit is required. The same applies to data from a USB device connected to the lower port.

【0034】データ転送管理部212はこれらの送受信
要求制御を行う。また、インターフェースごとにUSB
ホストとUSBデバイス間の対応を管理し、必要に応じ
て、エンドポイント番号の変換や、接続デバイス、イン
ターフェース番号によるデータ転送ルートの制御も行
う。
The data transfer management unit 212 controls these transmission / reception requests. USB for each interface
It manages the correspondence between the host and the USB device, and performs conversion of the endpoint number and control of the data transfer route by the connection device and the interface number as necessary.

【0035】さらに、データ転送管理部212は、US
Bデータ変換装置200にUSBホストまたはUSBデ
バイスが接続された場合、あるいは切断された場合の制
御も管理する。まず、USBデバイスがUSBデータ変
換装置200の下位ポートに接続された場合、または下
位ポートから切断された場合の処理について、図5に示
す下位ポート接続切断時の処理フローチャートを参照し
ながら詳細に説明する。
Further, the data transfer management unit 212
It also manages control when a USB host or USB device is connected to or disconnected from the B data conversion device 200. First, a process when the USB device is connected to the lower port of the USB data converter 200 or when the USB device is disconnected from the lower port will be described in detail with reference to a processing flowchart when the lower port is disconnected shown in FIG. I do.

【0036】USBデータ変換装置200は、下位ポー
トにUSBデバイスが接続されると、処理500で擬似
USBホスト部215によりポートの変化を検知して接
続を認識し、処理501でデバイスの構成処理(USB
規格により、以下、エニュメレーションと記す)を行
う。その際、USBデバイスのディスクリプタ情報を取
得する。
When the USB device is connected to the lower port, the USB data converter 200 detects the change of the port by the pseudo USB host unit 215 in process 500 and recognizes the connection, and in device 501, the device configuration process ( USB
According to the standard, hereafter referred to as enumeration). At this time, descriptor information of the USB device is obtained.

【0037】次に処理502で、USBデバイスがサポ
ートするインターフェースを上位ポートに接続されたU
SBホストに振り分けるために、ディスクリプタ変換を
行い、それぞれ擬似USBデバイス機能部206〜20
8に通知し、ディスクリプタ群を格納する。
Next, in process 502, the interface supported by the USB device is changed to the U port connected to the upper port.
Descriptor conversion is performed in order to allocate to the SB host, and the pseudo USB device function units 206 to 20 are respectively performed.
8 and store the descriptor group.

【0038】以上の処理完了後、処理503で、データ
転送管理部212は対応する擬似USBデバイス機能部
のデータ線D+のプルアップ抵抗をオンにする。これに
より、上位ポートに接続されたUSBホストは擬似US
Bデバイス機能部との接続を認識し、通信が可能とな
る。
After the above processing is completed, in processing 503, the data transfer management section 212 turns on the pull-up resistor of the data line D + of the corresponding pseudo USB device function section. As a result, the USB host connected to the upper port
Recognition of the connection with the B device function unit enables communication.

【0039】逆に下位ポートに接続されたUSBデバイ
スが切断されるか、あるいは構成解除されると、処理5
04で、データ転送管理部212は対応する擬似USB
デバイス機能部のデータ線D+のプルアップ抵抗をオフ
にする。これにより、上位ポートに接続されたUSBホ
ストに対し回線切断を通知する。
Conversely, when the USB device connected to the lower port is disconnected or deconfigured, the processing 5
04, the data transfer management unit 212
The pull-up resistance of the data line D + in the device function section is turned off. This notifies the USB host connected to the upper port of the line disconnection.

【0040】次に、USBホストがUSBデータ変換装
置200の上位ポートに接続された場合、または上位ポ
ートから切断された場合の処理について、図6に示す上
位ポート接続切断時の処理フローチャートを参照しなが
ら説明する。
Next, the processing when the USB host is connected to the upper port of the USB data converter 200 or when the USB host is disconnected from the upper port will be described with reference to the processing flowchart for disconnecting the upper port shown in FIG. I will explain it.

【0041】上位ポートにUSBホストが接続される
と、処理600で擬似USBデバイス機能部がUSBバ
スの変化を検知してUSBホストの接続を認識し、処理
601でUSBホストによるエニュメレーションが行わ
れる。続けて、処理602でデータ転送管理部212へ
の通知を行うことにより、上位ポートに接続されたUS
Bホストと下位ポートに接続されたUSBデバイスとの
間での通信が可能となる。
When a USB host is connected to the upper port, the pseudo USB device function unit detects a change in the USB bus in step 600 to recognize the connection of the USB host, and in step 601 enumeration by the USB host is performed. Will be Subsequently, by notifying the data transfer management unit 212 in the process 602, the US
Communication between the B host and the USB device connected to the lower port becomes possible.

【0042】逆に上位ポートに接続されたUSBホスト
が切断されるか、あるいは擬似USBデバイス機能部が
構成解除された場合、処理603、604によりデータ
転送管理部212、擬似USBホスト部215に通知す
る。擬似USBホスト215は、処理605で下位ポー
トに接続されているUSBデバイスに対してベンダリク
エストを発行し、該当USBホストに関するサービスの
中止を通知する。これにより、上位ポートに接続された
他のUSBホストとの通信を切断することなく、該当U
SBホストと下位ポートに接続されたUSBデバイスと
の間の通信が切断される。
Conversely, if the USB host connected to the upper port is disconnected or the pseudo USB device function unit is released, the processes 603 and 604 notify the data transfer management unit 212 and the pseudo USB host unit 215. I do. In step 605, the pseudo USB host 215 issues a vendor request to the USB device connected to the lower port, and notifies that the service related to the USB host has been stopped. As a result, without disconnecting communication with another USB host connected to the upper port, the corresponding U
Communication between the SB host and the USB device connected to the lower port is disconnected.

【0043】上記の構成により、USBデバイスでサポ
ートするインターフェースを複数のUSBホストに割り
当て、同一のUSBデバイスに対し複数のUSBホスト
が同時にサービスすることが可能になり、上位ポートへ
のUSBホスト接続/切断、および下位ポートへのUS
Bデバイス接続/切断に対して、通常の接続切断シーケ
ンスと同様の動作が可能になる。
With the above configuration, an interface supported by a USB device is assigned to a plurality of USB hosts, and a plurality of USB hosts can simultaneously serve the same USB device. Disconnect, and US to lower port
For the connection / disconnection of the B device, the same operation as the normal connection / disconnection sequence can be performed.

【0044】さらに、このようなUSB機器接続装置を
用いた階層接続について、図7に示すUSB機器接続装
置の階層接続構成例を参照しながら説明する。
Further, a hierarchical connection using such a USB device connection device will be described with reference to an example of a hierarchical connection configuration of the USB device connection device shown in FIG.

【0045】図7において、サービスS1、S2、S3
をサポートする1つのUSBデバイス700に対して、
USBデータ変換装置701、702、703、704
が階層的に接続されている。USBデータ変換装置70
1〜704は、すべてUSBホストのアプリケーション
制御部214が実装されており、各々単独でサービスを
提供できるUSBホストとして動作可能である。
In FIG. 7, services S1, S2, S3
For one USB device 700 that supports
USB data converters 701, 702, 703, 704
Are hierarchically connected. USB data converter 70
Each of 1 to 704 has an application control unit 214 of a USB host mounted thereon, and can operate as a USB host that can independently provide a service.

【0046】したがって、例えばUSBデータ変換装置
701だけでアプリケーションを持つUSBホストとし
て機能することができ、さらに図7に示すような階層的
なUSBホストのツリー構造を構築することもできる。
すなわち、複数のサービスを提供する1つのUSBデバ
イスに対して、容易に階層拡張可能なUSBホストを実
現することができ、アプリケーションのツリー構造化、
直列接続が容易に実現できる。
Therefore, for example, only the USB data conversion device 701 can function as a USB host having an application, and a hierarchical USB host tree structure as shown in FIG. 7 can be constructed.
In other words, it is possible to realize a USB host that can easily expand the hierarchy with respect to one USB device that provides a plurality of services.
Series connection can be easily realized.

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
再構成されたディスクリプタを保持する擬似USBデバ
イス機能部と擬似USBホスト部をUSB機器接続装置
に内蔵し、両者の間のデータ転送を制御することによ
り、USBデバイスが提供可能なインターフェースを複
数のUSBホストに割り当てることができるため、1つ
のUSBデバイスを複数のUSBホストに同時に対応さ
せることが可能になる。すなわち、複数のUSBホスト
が単一のUSBデバイスを同時に共有することができる
ようになる。
As described above, according to the present invention,
A pseudo USB device function unit that holds the reconstructed descriptor and a pseudo USB host unit are built in the USB device connection device, and by controlling data transfer between the two, an interface that can be provided by the USB device is provided by a plurality of USB devices. Since a USB device can be assigned to a host, one USB device can be made to correspond to a plurality of USB hosts at the same time. That is, a plurality of USB hosts can simultaneously share a single USB device.

【0048】さらに本発明によれば、USBホストおよ
びアプリケーション実行機能を内蔵することにより、U
SB機器接続装置がホストコンピュータとして振舞うこ
とが可能になり、単一のUSBデバイスに対してUSB
ホストを階層的に拡張接続する構成をとることで、アプ
リケーションのツリー構造化、直列拡張を容易に実現す
ることができる。
Further, according to the present invention, by incorporating a USB host and an application execution function,
The SB device connection device can behave as a host computer, and a USB device can be connected to a single USB device.
By adopting a configuration in which hosts are hierarchically expanded and connected, application tree structure and serial expansion can be easily realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態に係るUSB機器接続装
置を用いたUSBシステムの構成法を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating a configuration method of a USB system using a USB device connection device according to an embodiment of the present invention.

【図2】本発明の一実施の形態に係るUSB機器接続装
置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a USB device connection device according to one embodiment of the present invention.

【図3】ディスクリプタ変換処理の手順を示すフローチ
ャートである。
FIG. 3 is a flowchart illustrating a procedure of a descriptor conversion process.

【図4】USBデバイスに設定されるディスクリプタ群
の概念図である。
FIG. 4 is a conceptual diagram of a descriptor group set in a USB device.

【図5】下位ポート接続切断時の処理フローチャートで
ある。
FIG. 5 is a processing flowchart when a lower port connection is disconnected.

【図6】上位ポート接続切断時の処理フローチャートで
ある。
FIG. 6 is a processing flowchart at the time of disconnecting an upper port connection.

【図7】USB機器接続装置の階層接続構成例である。FIG. 7 is an example of a hierarchical connection configuration of a USB device connection device.

【図8】複数のUSBホストからUSBデバイスを共有
する従来手法を説明する概念図である。
FIG. 8 is a conceptual diagram illustrating a conventional method of sharing a USB device from a plurality of USB hosts.

【符号の説明】[Explanation of symbols]

100、200 USBデータ変換装置 101、102、103、201、202、203 U
SBホスト 104、105、204、205 USBデバイス 206、207、208 擬似USBデバイス機能部 209、210 バス 211 CPU 212 データ転送管理部 213 ディスクリプタ変換部 214 アプリケーション制御部 215 擬似USBホスト部 216、217、218、219、220 割り込み信
号 400 ディスクリプタ群 401 デバイスディスクリプタ 402 コンフィギュレーションディスクリプタ 403、404 インターフェース関連ディスクリプタ
群 700 USBデバイス 701、702、703、704 USBデータ変換装
100, 200 USB data converter 101, 102, 103, 201, 202, 203 U
SB host 104, 105, 204, 205 USB device 206, 207, 208 Pseudo USB device function part 209, 210 Bus 211 CPU 212 Data transfer management part 213 Descriptor conversion part 214 Application control part 215 Pseudo USB host part 216, 217, 218 219, 220 Interrupt signal 400 Descriptor group 401 Device descriptor 402 Configuration descriptor 403, 404 Interface-related descriptor group 700 USB devices 701, 702, 703, 704 USB data converter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のUSBホストと1つ以上のUSB
デバイスとの間に接続されるUSB機器接続装置におい
て、 前記複数のUSBホストそれぞれに接続される複数の擬
似USBデバイス機能部と、 前記USBデバイスに接続される1つの擬似USBホス
ト部と、 前記USBデバイスが前記USBホストそれぞれに提供
するサービスを記述するそれぞれのディスクリプタ群を
生成して前記擬似USBデバイス機能部に設定するディ
スクリプタ変換部と、 前記複数の擬似USBデバイス機能部と前記擬似USB
ホスト部との間のデータ転送を制御するデータ転送管理
部と、を具備したことを特徴とするUSB機器接続装
置。
1. A plurality of USB hosts and one or more USBs
A USB device connection device connected to a device, a plurality of pseudo USB device function units connected to the plurality of USB hosts, one pseudo USB host unit connected to the USB device, and the USB A descriptor conversion unit that generates a descriptor group describing a service provided by the device to each of the USB hosts and sets the descriptor group in the pseudo USB device function unit; the plurality of pseudo USB device function units and the pseudo USB
A USB device connection device, comprising: a data transfer management unit that controls data transfer to and from a host unit.
【請求項2】 前記ディスクリプタ変換部が、前記US
Bデバイスに設定されたディスクリプタ群から、前記U
SBホストそれぞれに提供するサービスに応じてディス
クリプタを選択し、必要に応じて変換を施し、再構成さ
れたディスクリプタ群を前記擬似USBデバイス機能部
に設定することを特徴とする請求項1記載のUSB機器
接続装置。
2. The method according to claim 2, wherein the descriptor conversion unit includes the US
From the descriptor group set in the B device, the U
2. The USB according to claim 1, wherein a descriptor is selected according to a service provided to each of the SB hosts, conversion is performed as necessary, and a reconfigured descriptor group is set in the pseudo USB device function unit. Equipment connection device.
【請求項3】 USBホストのアプリケーション実行機
能を内蔵する請求項1または請求項2記載のUSB機器
接続装置。
3. The USB device connection device according to claim 1, further comprising a USB host application execution function.
JP2001143408A 2001-05-14 2001-05-14 Device for connecting usb device Withdrawn JP2002342255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001143408A JP2002342255A (en) 2001-05-14 2001-05-14 Device for connecting usb device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001143408A JP2002342255A (en) 2001-05-14 2001-05-14 Device for connecting usb device

Publications (1)

Publication Number Publication Date
JP2002342255A true JP2002342255A (en) 2002-11-29

Family

ID=18989561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001143408A Withdrawn JP2002342255A (en) 2001-05-14 2001-05-14 Device for connecting usb device

Country Status (1)

Country Link
JP (1) JP2002342255A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006127252A (en) * 2004-10-29 2006-05-18 Fujitsu Component Ltd Switch, switching method and program
JP2006155024A (en) * 2004-11-26 2006-06-15 Canon Inc Hub function controller
JP2006202234A (en) * 2005-01-24 2006-08-03 Olympus Imaging Corp Usb communication path switching controller
JP2009518756A (en) * 2005-12-09 2009-05-07 マキシム・インテグレーテッド・プロダクツ・インコーポレーテッド Method and apparatus for adding an autonomous controller to an existing architecture
JP2011090703A (en) * 2010-12-14 2011-05-06 Fujitsu Component Ltd Switching machine
JP2011134096A (en) * 2009-12-24 2011-07-07 Canon Inc Image forming device, method of controlling the same, and program
US8032793B2 (en) 2005-01-14 2011-10-04 Fujitsu Limited Method of controlling information processing system, information processing system, direct memory access control device and program
KR20120027901A (en) * 2010-09-14 2012-03-22 삼성전자주식회사 Server device connecting usb device and device sharing method
JP2012256256A (en) * 2011-06-10 2012-12-27 Silex Technology Inc Device server simultaneously communicable with multiple clients
WO2014065388A1 (en) * 2012-10-22 2014-05-01 Canon Imaging Systems Inc. Device control apparatus, control method thereof, and device control system
JP2017123117A (en) * 2016-01-08 2017-07-13 Kddi株式会社 Communication device, communication system, communication method, and program
JP2020060882A (en) * 2018-10-09 2020-04-16 株式会社コンテック Computer system
WO2023032147A1 (en) * 2021-09-03 2023-03-09 日本電信電話株式会社 Usb transfer system, apparatus, program, and method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006127252A (en) * 2004-10-29 2006-05-18 Fujitsu Component Ltd Switch, switching method and program
JP2006155024A (en) * 2004-11-26 2006-06-15 Canon Inc Hub function controller
US8032793B2 (en) 2005-01-14 2011-10-04 Fujitsu Limited Method of controlling information processing system, information processing system, direct memory access control device and program
JP2006202234A (en) * 2005-01-24 2006-08-03 Olympus Imaging Corp Usb communication path switching controller
JP2009518756A (en) * 2005-12-09 2009-05-07 マキシム・インテグレーテッド・プロダクツ・インコーポレーテッド Method and apparatus for adding an autonomous controller to an existing architecture
JP2011134096A (en) * 2009-12-24 2011-07-07 Canon Inc Image forming device, method of controlling the same, and program
KR20120027901A (en) * 2010-09-14 2012-03-22 삼성전자주식회사 Server device connecting usb device and device sharing method
KR101705596B1 (en) 2010-09-14 2017-02-22 삼성전자 주식회사 Server device connecting usb device and device sharing method
JP2011090703A (en) * 2010-12-14 2011-05-06 Fujitsu Component Ltd Switching machine
JP2012256256A (en) * 2011-06-10 2012-12-27 Silex Technology Inc Device server simultaneously communicable with multiple clients
WO2014065388A1 (en) * 2012-10-22 2014-05-01 Canon Imaging Systems Inc. Device control apparatus, control method thereof, and device control system
JP2014102817A (en) * 2012-10-22 2014-06-05 Canon Imaging Systems Inc Device control device, control method thereof, and device control system
JP2017123117A (en) * 2016-01-08 2017-07-13 Kddi株式会社 Communication device, communication system, communication method, and program
JP2020060882A (en) * 2018-10-09 2020-04-16 株式会社コンテック Computer system
WO2023032147A1 (en) * 2021-09-03 2023-03-09 日本電信電話株式会社 Usb transfer system, apparatus, program, and method

Similar Documents

Publication Publication Date Title
TWI364663B (en) Configurable pci express switch and method controlling the same
US6725302B1 (en) Universal serial bus (USB) with wireless communication hubs
JP6400714B2 (en) Flexible mobile device connectivity with automotive systems with USB hubs
US10133695B2 (en) Link system for establishing high speed network communications and file transfer between hosts using I/O device links
US6105092A (en) Computer system including a device with a plurality of identifiers
US7260656B2 (en) Storage system having a plurality of controllers
US7167928B2 (en) Electronic device with USB interface
TWI292990B (en) Method and apparatus for shared i/o in a load/store fabric
CN109240832B (en) Hardware reconfiguration system and method
US6973133B2 (en) Integrated radio frequency interface
JP2002342255A (en) Device for connecting usb device
US20120311226A1 (en) Computer apparatus, computer system and adapter carry-over method
KR102007368B1 (en) PCI express switch and computer system using the same
US5802333A (en) Network inter-product stacking mechanism in which stacked products appear to the network as a single device
TW200527211A (en) Method and apparatus for shared I/O in a load/store fabric
CN108009108B (en) USB concentrator module
TW200305808A (en) ATA/SATA combined controller
EP1719289A1 (en) Generating topology information identifying devices in a network topology
US20070033366A1 (en) Method, apparatus, and computer program product for reconfiguring a storage area network to support the execution of an application automatically upon execution of the application
US10417156B2 (en) Hardware resource sharing within peripheral component interconnect express (PCIE) environment capable of assigning hardware resource dynamically
WO2023125565A1 (en) Network node configuration and access request processing method and apparatus
CN1435029A (en) Bridge interface circuit
Cisco Configuring Cisco Mainframe Channel Connection Adapters
CN116661688B (en) Service response method and device of SAS storage system
CN115442239B (en) Bandwidth resource allocation method, PCIe channel switcher and electronic device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060324

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071114

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071121

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071128

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071212

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805