JP2003256351A - Usb hub - Google Patents

Usb hub

Info

Publication number
JP2003256351A
JP2003256351A JP2002056792A JP2002056792A JP2003256351A JP 2003256351 A JP2003256351 A JP 2003256351A JP 2002056792 A JP2002056792 A JP 2002056792A JP 2002056792 A JP2002056792 A JP 2002056792A JP 2003256351 A JP2003256351 A JP 2003256351A
Authority
JP
Japan
Prior art keywords
host
data
peripheral device
packet
fifo memory
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
JP2002056792A
Other languages
Japanese (ja)
Inventor
Tadao Furukawa
忠雄 古川
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002056792A priority Critical patent/JP2003256351A/en
Publication of JP2003256351A publication Critical patent/JP2003256351A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an USB hub, in which a plurality of host computers is capable of jointly owning peripheral equipment and switching operations are needless. <P>SOLUTION: The USB hub comprises; a plurality of connecting ports 2 capable of connecting with a plurality of host computers 21 to 24 that packet- transmit and receive data assigned addresses; a plurality of connecting ports 3 capable of connecting with a plurality of peripheral equipment 25 to 28 that packet-transmit and receive data assigned addresses; FIFO memories 11 and 17 temporarily storing packet data inputted from the ports 2 and 3; and a control circuit C establishing connection between the host computers 21 to 24 and peripheral equipment 25 to 28 and controlling transmission of data at the basis of address information of the peripheral equipment 25 to 28 added to the packet data stored in the FIFO memories 11 and 17. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、USB(Universa
l Serial bus)インターフェースに対応した各種周辺
機器を複数接続するためのUSBハブに関し、さらに詳
しくは、周辺機器だけでなく複数台のコンピュータを接
続できるように構成したUSBハブに関する。
TECHNICAL FIELD The present invention relates to a USB (Universa
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a USB hub for connecting a plurality of various peripheral devices compatible with a serial bus interface, and more specifically, to a USB hub configured to connect not only peripheral devices but also a plurality of computers.

【0002】[0002]

【従来の技術】近年、コンピュータと周辺機器とを接続
するインターフェースの方式として、USB規格のイン
ターフェースが広く採用されている。コンピュータの電
源を入れた状態で接続しても周辺機器の認識が可能であ
ること(ホットプラグ)、階層的な接続をすることによ
り最大127個まで周辺機器を接続可能であるなど、コ
ンピュータの利便性を向上させるのに役立っている。ま
た、このようなUSB対応機器を複数同時に接続するた
めの装置として、いわゆるUSBハブも普及している。
2. Description of the Related Art In recent years, a USB standard interface has been widely adopted as an interface system for connecting a computer and peripheral devices. Peripheral devices can be recognized even when the computer is turned on (hot plug), and up to 127 peripheral devices can be connected by making hierarchical connections. It helps to improve sex. Also, a so-called USB hub has become widespread as a device for simultaneously connecting a plurality of such USB-compatible devices.

【0003】[0003]

【発明が解決しようとする課題】しかし、USBインタ
ーフェースが複数台のホストコンピュータの存在を許さ
ない規格となっていることから、USBハブ自体も、単
一のコンピュータのみが接続可能になっている。このた
め、複数のPCで1つの周辺機器を共有することは、U
SBハブによっては困難であった。この点、特開2001−
51939号公報に記載されたUSBハブは、複数のホスト
コンピュータを選択的に周辺機器に接続する切替回路を
備えており、これにより複数のホストコンピュータを同
時に接続可能にしている。しかし、この構成では、複数
のホストコンピュータが同時に周辺機器を利用すること
はできないし、周辺機器の使用を許可するホストコンピ
ュータを切り換える際には逐一切替回路を動作させなけ
ればならない。また、切替を行う度に周辺機器のデバイ
スドライバをロード、アンロードしなければならないこ
とから、切り替えに長い時間を要することになる。この
発明は、上述した問題点に鑑みてなされたものであり複
数のコンピュータが周辺機器を共有することができ、か
つ切替操作が不要なUSBハブを提供することを目的と
する。
However, since the USB interface is a standard that does not permit the existence of a plurality of host computers, the USB hub itself can be connected to only a single computer. Therefore, sharing one peripheral device with multiple PCs is
It was difficult depending on the SB hub. In this respect, JP 2001-
The USB hub described in Japanese Patent No. 51939 is equipped with a switching circuit for selectively connecting a plurality of host computers to peripheral devices, thereby enabling a plurality of host computers to be connected simultaneously. However, in this configuration, a plurality of host computers cannot use the peripheral device at the same time, and the switching circuit must be operated every time the host computer that permits the use of the peripheral device is switched. Further, since it is necessary to load and unload the device driver of the peripheral device each time switching is performed, it takes a long time to switch. The present invention has been made in view of the above problems, and an object of the present invention is to provide a USB hub in which a plurality of computers can share a peripheral device and which does not require a switching operation.

【0004】[0004]

【課題を解決するための手段】上記目的達成のため、本
発明に係るUSBハブは、アドレスを割り当てられパケ
ットデータを送受信する複数台のホストコンピュータを
接続可能とした複数個の第1ポートと、アドレスを割り
当てられパケットデータを送受信する複数台の周辺機器
を接続可能とした複数個の第2ポートと、これらの第1
ポート及び第2ポートから入力される前記パケットデー
タを一時保持するFIFOメモリと、このFIFOメモ
リに保持されたパケットデータに付加された前記周辺機
器のアドレス情報に基づき、前記ホストコンピュータと
前記周辺機器との間の接続を確立しデータの転送を制御
する制御回路とを備えたことを特徴とする。
To achieve the above object, a USB hub according to the present invention comprises a plurality of first ports to which a plurality of host computers that are assigned addresses and that transmit and receive packet data can be connected. A plurality of second ports that can be connected to a plurality of peripheral devices that are assigned addresses and that send and receive packet data, and the first ports
A FIFO memory for temporarily holding the packet data input from the port and the second port, and the host computer and the peripheral device based on the address information of the peripheral device added to the packet data held in the FIFO memory. And a control circuit for establishing a connection between them and controlling the transfer of data.

【0005】この発明によれば、制御回路により、送信
元のホストコンピュータ(又は周辺機器)と送信先の周
辺機器(又はホストコンピュータ)との間の接続が前記
アドレス情報に基づいて確立されるので、USBインタ
ーフェースの下でも複数のホストコンピュータの存在が
可能となる。また、接続の確立、解除するごとに逐一デ
バイスドライバをロード、アンロードする煩わしさが無
い。
According to the present invention, the control circuit establishes the connection between the source host computer (or peripheral device) and the destination peripheral device (or host computer) based on the address information. It is possible to have a plurality of host computers under the USB interface. In addition, there is no need to load and unload the device driver every time the connection is established or released.

【0006】この発明において、前記FIFOメモリ
は、前記ホストコンピュータごとに設けるのが好適であ
る。さらに、前記FIFOメモリは、前記周辺機器ごと
に設けるのが好適である。また、前記制御回路は、前記
周辺機器の1つに対し2台以上の前記ホストコンピュー
タからデータの送信又は受信の要求があった場合に、前
記ホストコンピュータのうちの1つと前記周辺機器の1
つとの間の接続を確立させ、他のホストコンピュータか
らのデータは接続中の前記ホストコンピュータでのデー
タの送信又は受信が完了するまで前記FIFOメモリに
一時保持させるようにするとよい。このようにすること
により、複数のホストコンピュータからのデータが衝突
することが回避される。
In the present invention, the FIFO memory is preferably provided for each host computer. Further, it is preferable that the FIFO memory is provided for each peripheral device. Further, the control circuit is configured so that, when two or more host computers request transmission or reception of data to one of the peripheral devices, one of the host computers and one of the peripheral devices can operate.
It is preferable to establish a connection with another host computer and temporarily hold data from another host computer in the FIFO memory until the transmission or reception of data by the host computer being connected is completed. By doing so, collision of data from a plurality of host computers can be avoided.

【0007】[0007]

【発明の実施の形態】次に、本発明の実施の形態を、図
面に基づいて説明する。図1は、本発明の実施の形態に
係るUSBハブ1と、このUSBハブ1に接続された複
数のホストコンピュータ(以下ホストPCという)21
―24及び周辺機器(図1では、プリンタ25、スキャ
ナ26、ハードディスクドライブ27、CD−ROMド
ライブ28としている)を示している。
BEST MODE FOR CARRYING OUT THE INVENTION Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a USB hub 1 according to an embodiment of the present invention and a plurality of host computers (hereinafter referred to as host PCs) 21 connected to the USB hub 1.
-24 and peripheral devices (in FIG. 1, the printer 25, the scanner 26, the hard disk drive 27, and the CD-ROM drive 28) are shown.

【0008】USBハブ1は、複数のホスト側接続ポー
ト2(2−1,2−2,2−3,2−4)と、複数の周
辺機器側接続ポート3(3−1,3−2,3−3,3−
4)と、複数のホスト側FIFOメモリ11(11−
1,11−2,11−3,11−4)と、バス12と、
ハブリピータ13と、コントローラ14と、CPU15
と、バス16と、複数の周辺機器側FIFOメモリ17
(17−1,17−2,17−3,17−4)とを備え
ている。
The USB hub 1 includes a plurality of host side connection ports 2 (2-1, 2-2, 2-3, 2-4) and a plurality of peripheral device side connection ports 3 (3-1, 3-2). , 3-3, 3-
4) and a plurality of host side FIFO memories 11 (11-
1, 11-2, 11-3, 11-4), the bus 12,
Hub repeater 13, controller 14, CPU 15
, Bus 16, and a plurality of peripheral device side FIFO memories 17
(17-1, 17-2, 17-3, 17-4).

【0009】ホスト側接続ポート2−1、2−2,2−
3,2−4は、それぞれホストPC21,22,23,
24をUSBハブ1に対しUSB接続するためのもので
ある。また、周辺機器側接続ポート3−1、3−2,3
−3,3−4は、それぞれ周辺機器としてのプリンタ2
1,スキャナ22,HDドライブ23,CD−ROMド
ライブ24をUSBハブ1に対しUSB接続するための
ものである。ホスト側FIFOメモリ11−1,11−
2,11−3,11−4は、それぞれホスト側接続ポー
ト2−1、2−2,2−3,2−4に接続されており、
それぞれホストPC21―24から周辺機器25−28
側に送信されるパケットデータ、及び周辺機器25−2
8側からホストPC21−24側へ転送されるパケット
データを一時保持する役割を有する。
Host-side connection ports 2-1, 2-2, 2-
3, 2-4 are host PCs 21, 22, 23, respectively.
It is for connecting 24 to the USB hub 1 by USB. Also, peripheral device side connection ports 3-1, 3-2, 3
-3 and 3-4 are printers 2 as peripheral devices, respectively.
1, for connecting the scanner 22, the HD drive 23, and the CD-ROM drive 24 to the USB hub 1 by USB. Host side FIFO memory 11-1, 11-
2, 11-3, 11-4 are respectively connected to the host side connection ports 2-1, 2-2, 2-3, 2-4,
From host PC 21-24 to peripheral device 25-28, respectively
Data transmitted to the user side and peripheral device 25-2
It has a role of temporarily holding the packet data transferred from the 8 side to the host PC 21-24 side.

【0010】バス12は、データを伝送するための通信
経路である。ハブリピータ13、ハブコントローラ1
4、CPU15とは、全体としてホストPC21−24
と周辺機器25−28との間のデータ伝送を制御する制
御回路Cとして機能する。制御回路Cは、ホストPC2
1−24の1つから周辺機器25−28の1つに対しデ
ータ転送の要求があった場合、その周辺機器の使用状況
をチェックし、その周辺機器が使用可能である場合に当
該ホストPCと周辺機器との間の接続をセットアップ
し、データ転送終了後接続を解除するなどの機能を有す
る。接続のセットアップは、要求元のホストPCと要求
先の周辺機器との間で1対1に行われるので、要求先が
重複しない限り、複数のホストPCが同時に周辺機器に
アクセスすることが可能となっている。
The bus 12 is a communication path for transmitting data. Hub repeater 13, hub controller 1
4. The CPU 15 is a host PC 21-24 as a whole.
And the peripheral device 25-28 as a control circuit C for controlling data transmission. The control circuit C is the host PC 2
When one of the peripheral devices 25-28 requests data transfer from one of the peripheral devices 1-24, the usage status of the peripheral device is checked, and if the peripheral device is available, the host PC It has functions such as setting up a connection with peripheral devices and releasing the connection after the data transfer is completed. Since the connection setup is performed on a one-to-one basis between the requesting host PC and the requesting peripheral device, it is possible for a plurality of host PCs to access the peripheral device at the same time unless the requesting destinations overlap. Has become.

【0011】ハブリピータ13は、ホストPC21−2
4と周辺機器25−28との間の接続をセットアップ又
は解除する機能を有する部分であり、また、ハブコント
ローラ14は、ホストPC21からUSBハブ1へのデ
ータ伝送を行うためのメカニズムを提供する部分であ
る。また、CPU15は、USB規格に基づいたパケッ
トデータのトラフィック制御及びデータ管理を行う。バ
ス16は、データを伝送するための通信経路である。周
辺機器側FIFOメモリ17−1,17−2,17−
3,17−4は、それぞれ周辺機器側接続ポート3−
1,3−2,3−3,3−4に接続されており、制御回
路Cから周辺機器25−28に出力されるべきパケット
データ、及び周辺機器25−28からホストPC21−
24側に転送されるパケットデータを一時保持する役割
を有する。
The hub repeater 13 is a host PC 21-2.
4 and the peripheral devices 25-28 have a function of setting up or releasing the connection, and the hub controller 14 also provides a mechanism for performing data transmission from the host PC 21 to the USB hub 1. Is. Further, the CPU 15 performs traffic control and data management of packet data based on the USB standard. The bus 16 is a communication path for transmitting data. Peripheral device side FIFO memory 17-1, 17-2, 17-
3, 17-4 are peripheral device side connection ports 3-
1, 3-2, 3-3, 3-4, the packet data to be output from the control circuit C to the peripheral device 25-28, and the peripheral device 25-28 to the host PC 21-.
It has a role of temporarily holding the packet data transferred to the 24 side.

【0012】次に、本実施の形態に係るUSBハブ1の
作用を、図面に基づいて説明する。以下では、ホストP
C21−24から周辺機器25−28へデータを送信す
る場合と、逆に周辺機器25−28からホストPC21
−24にデータ送信する場合とで分けて説明する。
Next, the operation of the USB hub 1 according to this embodiment will be described with reference to the drawings. In the following, the host P
Conversely, when data is transmitted from the C21-24 to the peripheral device 25-28, conversely from the peripheral device 25-28 to the host PC 21.
The case where data is transmitted to -24 will be separately described.

【0013】まず、ホストPC21−24から周辺機器
25−28へデータを送信する場合を、図2に示すフロ
ーチャートに基づいて説明する。この場合、最初にデー
タ送信を希望するホストPCが、送信を希望するパケッ
トデータDATA 及びout-tokenパケットを出力する(S
1)。ここでは、ホストPC21からプリンタ25へデ
ータが出力されるものとする。パケットデータDATAのヘ
ッダには、送信先のプリンタ25のアドレスが付加され
ている。out-tokenパケットは、ホストPCが周辺機器
へデータ転送を指示する場合に出力されるコマンドパケ
ットであり、そのヘッダには送信先の周辺機器(この場
合プリンタ25)のアドレスが付加されている。
First, the case of transmitting data from the host PC 21-24 to the peripheral device 25-28 will be described with reference to the flowchart shown in FIG. In this case, first, the host PC desiring data transmission outputs the packet data DATA and out-token packet desiring transmission (S
1). Here, it is assumed that data is output from the host PC 21 to the printer 25. The address of the destination printer 25 is added to the header of the packet data DATA. The out-token packet is a command packet output when the host PC instructs the peripheral device to transfer data, and the address of the destination peripheral device (printer 25 in this case) is added to its header.

【0014】次に、S2において、このパケットデータ
DATA及びout-tokenパケットが、ホスト側FIFOメモ
リ11−1に一時記憶される。CPU14は、このパケ
ットデータDATAに付加されたプリンタ25のアドレスデ
ータを取得する。次に、S3において、CPU15は、
取得されたアドレスデータに係る周辺機器即ちプリンタ
25が使用可能か否かをチェックする。すなわち、他の
ホストPC22−24との間でデータを伝送している途
中であるか否かをチェックする。プリンタ25が使用不
可能であれば、CPU15はホストPC15にデータの
送受信が正常に行われなかったときに発行されるハンド
シェークパケットNAKを出力し(S4)、処理はS1
に戻る。
Next, in S2, this packet data
The DATA and out-token packets are temporarily stored in the host side FIFO memory 11-1. The CPU 14 acquires the address data of the printer 25 added to this packet data DATA. Next, in S3, the CPU 15
It is checked whether the peripheral device related to the acquired address data, that is, the printer 25 can be used. That is, it is checked whether or not data is being transmitted to / from another host PC 22-24. If the printer 25 cannot be used, the CPU 15 outputs to the host PC 15 a handshake packet NAK issued when data transmission / reception is not normally performed (S4), and the processing is S1.
Return to.

【0015】プリンタ25が使用可能であれば、CPU
15は、ハブリピータ13に命令してホストPC21と
プリンタ25との間の接続をセットアップさせると共
に、ハブコントローラ14に命令して、ホスト側FIF
Oメモリ11−1に保持されたパケットデータDATA及び
out-tokenパケットを周辺機器側FIFOメモリ17−
1へ向けて出力させる(S5)。
If the printer 25 is available, the CPU
15 instructs the hub repeater 13 to set up the connection between the host PC 21 and the printer 25, and instructs the hub controller 14 to send the FIF on the host side.
Packet data DATA stored in the O memory 11-1 and
Out-token packet is sent to peripheral device FIFO memory 17-
Output to 1 (S5).

【0016】次に、CPU15は、周辺機器側FIFO
メモリ17−1に保持されたout-tokenパケットをプリ
ンタ25に向けて出力させる(S6)。プリンタ25が
このout-tokenパケットを受信しなかった場合(S7の
N)には、CPU15はプリンタ25からNAK信号を
受け取り、ホスト側FIFOメモリ11−1にこのNA
K信号を送信し、S6に戻る(S7)。
Next, the CPU 15 is a FIFO on the peripheral equipment side.
The out-token packet held in the memory 17-1 is output to the printer 25 (S6). When the printer 25 does not receive this out-token packet (N in S7), the CPU 15 receives the NAK signal from the printer 25, and the host side FIFO memory 11-1 receives this NA.
The K signal is transmitted, and the process returns to S6 (S7).

【0017】プリンタ25がこのout-tokenパケットを
受け取った場合(S7のY)、パケットデータDATA
が周辺機器側FIFOメモリ17−1からプリンタ25
に向けて転送される。転送が完了すると、ハンドシェー
クパケットACK(データの送受信が正常に行われたこ
とを示す)がプリンタ25から周辺機器側FIFOメモ
リ11−1に出力される(S9)。ハンドシェークパケ
ットACKは周辺機器側FIFOメモリ17−1に送ら
れ、さらにホストPC21に受信され、これによりデー
タの送信手順が終了する(S10)。このように、ある
ホストPCが1つの周辺機器(例えばプリンタ25)に
アクセスしている場合において、他のホストPCが当該
周辺機器アクセスを要求した場合には、NAK信号の出
力により先行のホストPCでの送受信が完了するまで他
方のホストPCのデータはFIFOメモリ11により一
時保持される。これにより、各ホストPCのデータの衝
突が回避されている。
When the printer 25 receives this out-token packet (Y in S7), the packet data DATA
From the peripheral device side FIFO memory 17-1 to the printer 25
Will be forwarded to. When the transfer is completed, a handshake packet ACK (indicating that data transmission / reception has been normally performed) is output from the printer 25 to the peripheral device side FIFO memory 11-1 (S9). The handshake packet ACK is sent to the peripheral device side FIFO memory 17-1 and is further received by the host PC 21, whereby the data transmission procedure ends (S10). Thus, when a certain host PC accesses one peripheral device (for example, the printer 25) and another host PC requests the peripheral device access, the preceding host PC is output by outputting the NAK signal. The data of the other host PC is temporarily held by the FIFO memory 11 until the transmission / reception in (1) is completed. As a result, the data collision of each host PC is avoided.

【0018】次に、周辺機器25−28からホストPC
21−24にデータ送信する場合を図3に示すフローチ
ャートに基づいて説明する。ここでは、CD−ROMド
ライブ25からホストPC22へデータが出力されるも
のとする。この場合、最初にデータ受信を希望するホス
トPC22が、in-tokenパケットを出力する(S1
1)。このin-tokenパケットは、周辺機器25−28側
からホストPC21−24側へデータの転送を指示する
ためのコマンドパケットであり、そのヘッダには送信先
の周辺機器(ここではCD−ROMドライブ28)のア
ドレスが付加されている。
Next, from the peripheral device 25-28 to the host PC
21-24 will be described based on the flowchart shown in FIG. Here, it is assumed that data is output from the CD-ROM drive 25 to the host PC 22. In this case, the host PC 22 that first wants to receive data outputs an in-token packet (S1
1). This in-token packet is a command packet for instructing the data transfer from the peripheral device 25-28 side to the host PC 21-24 side, and the header thereof has the destination peripheral device (here, the CD-ROM drive 28). ) Address is added.

【0019】次に、S12において、このin-tokenパケ
ットが、ホスト側FIFOメモリ11−2に一時記憶さ
れる。CPU14は、このin-tokenパケットに付加され
たCD−ROMドライブ28のアドレスデータを取得す
る。次に、S13において、CPU15は、取得された
アドレスデータに係る周辺機器即ちCD−ROMドライ
ブ28が使用可能か否かをチェックする。すなわち、他
のホストPC22−24との間でデータを伝送している
途中であるか否かをチェックする。
Next, in S12, this in-token packet is temporarily stored in the host side FIFO memory 11-2. The CPU 14 acquires the address data of the CD-ROM drive 28 added to this in-token packet. Next, in S13, the CPU 15 checks whether or not the peripheral device related to the acquired address data, that is, the CD-ROM drive 28 can be used. That is, it is checked whether or not data is being transmitted to / from another host PC 22-24.

【0020】CD−ROMドライブ25が使用不可能で
あれば(S13のN)、CPU15はホストPC22に
データの送受信が正常に行われなかったときに発行され
るハンドシェークパケットNAKを出力し(S14)、
処理はS11に戻る。
If the CD-ROM drive 25 cannot be used (N in S13), the CPU 15 outputs to the host PC 22 a handshake packet NAK issued when data transmission / reception is not normally performed (S14). ,
The process returns to S11.

【0021】CD−ROMドライブ25が使用可能であ
れば(S13のY)、CPU15は、ハブリピータ13
に命令してホストPC22とCD−ROMドライブ28
との間の接続をセットアップさせると共に、ハブコント
ローラ14に命令して、ホスト側FIFOメモリ11−
2に保持されたin-tokenパケットを周辺機器側FIFO
メモリ17−4へ向けて出力させる(S15)。
If the CD-ROM drive 25 is usable (Y in S13), the CPU 15 causes the hub repeater 13 to operate.
To host PC 22 and CD-ROM drive 28
To set up the connection between the host side FIFO memory 11-
The in-token packet held in 2 is sent to the peripheral device FIFO
The data is output to the memory 17-4 (S15).

【0022】次に、CPU15は、周辺機器側FIFO
メモリ17−4に保持されたin-tokenパケットをCD−
ROMドライブ28に向けて出力させる(S16)。C
D−ROMドライブ28がこのin-tokenパケットを受信
しなかった場合(S17のN)には、CPU15はCD
−ROMドライブ28からNAK信号を受け取り、ホス
ト側FIFOメモリ11−2にこのNAK信号を送信し
(S18)、S16に戻る。
Next, the CPU 15 uses the peripheral device side FIFO.
CD-in the in-token packet held in the memory 17-4
The data is output to the ROM drive 28 (S16). C
When the D-ROM drive 28 does not receive this in-token packet (N in S17), the CPU 15 determines that the CD
-Receive a NAK signal from the ROM drive 28, transmit this NAK signal to the host side FIFO memory 11-2 (S18), and return to S16.

【0023】CD−ROMドライブ28がこのin-token
パケットを受け取った場合(S17のY)、CD−RO
Mドライブ28のデータDATA´が、周辺機器側FI
FOメモリ17−4、制御回路C及びホスト側FIFO
メモリ17−2を経てホストPC22に向けて転送され
る(S19)。ホストPC22は、データ受信に成功し
たら、ハンドシェークパケットACKをCD−ROMド
ライブ28に向けて出力し(S20)、これによりデー
タの受信手順が終了する(S21)。
The CD-ROM drive 28 is the in-token
If a packet is received (Y in S17), CD-RO
The data DATA ′ of the M drive 28 is the FI on the peripheral device side.
FO memory 17-4, control circuit C and host side FIFO
The data is transferred to the host PC 22 via the memory 17-2 (S19). If the data is successfully received, the host PC 22 outputs a handshake packet ACK to the CD-ROM drive 28 (S20), and the data receiving procedure is completed (S21).

【0024】[0024]

【発明の効果】以上説明したように、本発明によれば、
複数のホストコンピュータが周辺機器を共有することが
でき、かつ切替操作が不要となり、ネットワーク環境を
簡単に提供することができる。
As described above, according to the present invention,
Peripheral devices can be shared by a plurality of host computers, and switching operation is not required, so that a network environment can be easily provided.

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

【図1】 本発明の実施の形態に係るUSBハブ1並び
にこれに接続されたホストコンピュータ及び周辺機器を
示す。
FIG. 1 shows a USB hub 1 according to an embodiment of the present invention, and a host computer and peripheral devices connected thereto.

【図2】 図1に示すUSBハブの作用を示すフローチ
ャートである。
FIG. 2 is a flowchart showing an operation of the USB hub shown in FIG.

【図3】 図1に示すUSBハブの作用を示すフローチ
ャートである。
FIG. 3 is a flowchart showing an operation of the USB hub shown in FIG.

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

1・・・USBハブ 2、3・・・接続ポート 11、17・・・FIFOメモリ 12、16・・・バス 13・・・ハブリピータ 14・・・ハブコントローラ 15・・・CPU C・・・制御回路 21−24・・・ホストPC 25・・・プリンタ(周辺機器) 26・・・スキャナ(周辺機器) 27・・・ハードディスクドライブ(周辺機器) 28・・・CD−ROMドライブ 1 ... USB hub 2, 3 ... Connection port 11, 17 ... FIFO memory 12, 16 ... Bus 13 ... Hub repeater 14 ... Hub controller 15 ... CPU C: Control circuit 21-24 ... Host PC 25 ... Printer (peripheral device) 26 ... Scanner (peripheral device) 27: Hard disk drive (peripheral device) 28 ... CD-ROM drive

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 アドレスを割り当てられパケットデータ
を送受信する複数台のホストコンピュータを接続可能と
した複数個の第1ポートと、 アドレスを割り当てられパケットデータを送受信する複
数台の周辺機器を接続可能とした複数個の第2ポート
と、 これらの第1ポート及び第2ポートから入力される前記
パケットデータを一時保持するFIFOメモリと、 このFIFOメモリに保持されたパケットデータに付加
された前記周辺機器のアドレス情報に基づき、前記ホス
トコンピュータと前記周辺機器との間の接続を確立しデ
ータの転送を制御する制御回路とを備えたことを特徴と
するUSBハブ。
1. A plurality of first ports that can be connected to a plurality of host computers that are assigned addresses and that send and receive packet data, and a plurality of peripheral devices that are assigned addresses and that send and receive packet data. A plurality of second ports, a FIFO memory for temporarily holding the packet data input from the first port and the second port, and a peripheral device added to the packet data held in the FIFO memory. A USB hub, comprising: a control circuit that establishes a connection between the host computer and the peripheral device and controls data transfer based on address information.
【請求項2】 前記FIFOメモリは、前記ホストコン
ピュータごとに設けられた請求項1に記載のUSBハ
ブ。
2. The USB hub according to claim 1, wherein the FIFO memory is provided for each host computer.
【請求項3】 前記FIFOメモリは、前記周辺機器ご
とに設けられた請求項1又は2に記載のUSBハブ。
3. The USB hub according to claim 1, wherein the FIFO memory is provided for each of the peripheral devices.
【請求項4】 前記制御回路は、前記周辺機器の1つに
対し2台以上の前記ホストコンピュータからデータの送
信又は受信の要求があった場合に、前記ホストコンピュ
ータのうちの1つと前記周辺機器の1つとの間の接続を
確立させ、他のホストコンピュータからのデータは接続
中の前記ホストコンピュータでのデータの送信又は受信
が完了するまで前記FIFOメモリに一時保持させるよ
うにした請求項1乃至3のいずれか1項に記載のUSB
ハブ。
4. The control circuit, wherein when one or more of the peripheral devices makes a request for data transmission or reception from one or more of the host computers, one of the host computers and the peripheral device. 2. The FIFO memory is temporarily held in the FIFO memory until a data transmission from the other host computer is completed or a data transmission from the other host computer is completed. USB according to any one of 3
Hub.
JP2002056792A 2002-03-04 2002-03-04 Usb hub Pending JP2003256351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002056792A JP2003256351A (en) 2002-03-04 2002-03-04 Usb hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002056792A JP2003256351A (en) 2002-03-04 2002-03-04 Usb hub

Publications (1)

Publication Number Publication Date
JP2003256351A true JP2003256351A (en) 2003-09-12

Family

ID=28667217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002056792A Pending JP2003256351A (en) 2002-03-04 2002-03-04 Usb hub

Country Status (1)

Country Link
JP (1) JP2003256351A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006120115A (en) * 2004-09-22 2006-05-11 Seiko Epson Corp Information device and control method for the same
JP2006202234A (en) * 2005-01-24 2006-08-03 Olympus Imaging Corp Usb communication path switching controller
WO2006095326A2 (en) * 2005-03-11 2006-09-14 Koninklijke Philips Electronics N.V. Universal serial bus bridge
CN1976310B (en) * 2005-07-08 2014-04-16 美国博通公司 Communication method using bus interface over a network
JP2014178719A (en) * 2013-03-13 2014-09-25 Nec Access Technica Ltd Usb packet conversion device, usb packet conversion method and usb packet conversion program
US9619420B2 (en) 2013-09-26 2017-04-11 Delphi Technologies, Inc. Flexible mobile device connectivity to automotive systems with USB hubs
US9645962B2 (en) 2013-09-26 2017-05-09 Delphi Technologies, Inc. Flexible mobile device connectivity to automotive systems with USB hubs
US9971395B2 (en) 2014-08-20 2018-05-15 Microchip Technology Incorporated Low power connection detect method and system for USB charging
US10042784B2 (en) 2014-10-13 2018-08-07 Microchip Technology Incorporated Side channel access through USB streams
US10127181B2 (en) 2014-04-30 2018-11-13 Microchip Technology Incorporated Port disconnect charging function for USB hub
US10162788B2 (en) 2016-08-19 2018-12-25 Microchip Technology Incorporated USB on the go (OTG) multi-hub endpoint reflector hub
US10191874B2 (en) 2015-12-22 2019-01-29 Microchip Technology Incorporated Method and apparatus for providing USB power delivery negotiated through a dedicated transmission channel
US10282313B2 (en) 2015-04-28 2019-05-07 Microchip Technology Incorporated Universal serial bus smart hub
JP7465375B2 (en) 2022-07-25 2024-04-10 創惟科技股▲ふん▼有限公司 USB hub device having host bridge function and control method thereof

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006120115A (en) * 2004-09-22 2006-05-11 Seiko Epson Corp Information device and control method for the same
JP2006202234A (en) * 2005-01-24 2006-08-03 Olympus Imaging Corp Usb communication path switching controller
WO2006095326A2 (en) * 2005-03-11 2006-09-14 Koninklijke Philips Electronics N.V. Universal serial bus bridge
WO2006095326A3 (en) * 2005-03-11 2006-11-23 Koninkl Philips Electronics Nv Universal serial bus bridge
CN1976310B (en) * 2005-07-08 2014-04-16 美国博通公司 Communication method using bus interface over a network
JP2014178719A (en) * 2013-03-13 2014-09-25 Nec Access Technica Ltd Usb packet conversion device, usb packet conversion method and usb packet conversion program
US10545899B2 (en) 2013-09-26 2020-01-28 Aptiv Technologies Limited Flexible mobile device connectivity to automotive systems with USB Hubs
US9619420B2 (en) 2013-09-26 2017-04-11 Delphi Technologies, Inc. Flexible mobile device connectivity to automotive systems with USB hubs
US9645962B2 (en) 2013-09-26 2017-05-09 Delphi Technologies, Inc. Flexible mobile device connectivity to automotive systems with USB hubs
US11681643B2 (en) 2013-09-26 2023-06-20 Aptiv Technologies Limited Flexible mobile device connectivity to automotive systems with USB hubs
US11176072B2 (en) 2013-09-26 2021-11-16 Aptiv Technologies Limited Flexible mobile device connectivity to automotive systems with USB hubs
US10127181B2 (en) 2014-04-30 2018-11-13 Microchip Technology Incorporated Port disconnect charging function for USB hub
US9971395B2 (en) 2014-08-20 2018-05-15 Microchip Technology Incorporated Low power connection detect method and system for USB charging
US10042784B2 (en) 2014-10-13 2018-08-07 Microchip Technology Incorporated Side channel access through USB streams
US10282313B2 (en) 2015-04-28 2019-05-07 Microchip Technology Incorporated Universal serial bus smart hub
US10191874B2 (en) 2015-12-22 2019-01-29 Microchip Technology Incorporated Method and apparatus for providing USB power delivery negotiated through a dedicated transmission channel
US10162788B2 (en) 2016-08-19 2018-12-25 Microchip Technology Incorporated USB on the go (OTG) multi-hub endpoint reflector hub
JP7465375B2 (en) 2022-07-25 2024-04-10 創惟科技股▲ふん▼有限公司 USB hub device having host bridge function and control method thereof

Similar Documents

Publication Publication Date Title
US8615623B2 (en) Internet connection switch and internet connection system
US9047222B2 (en) Unified multi-transport medium connector architecture
JP3799184B2 (en) COMMUNICATION METHOD, TRANSMISSION METHOD, RECEPTION METHOD, AND DEVICE FOR IMPLEMENTING THEM
US9430432B2 (en) Optimized multi-root input output virtualization aware switch
JP3497834B2 (en) Route repeater, USB communication system, USB communication control method
KR101720134B1 (en) Bus bridge apparatus
JP2003256351A (en) Usb hub
JP4377603B2 (en) Bus communication system and communication control method thereof
EP1786157A2 (en) Switched integrated circuit connection architectures and techniques
US11010321B2 (en) Ad-hoc sensing switched data circuit for connecting network hosts and peripherals
JP4444101B2 (en) Bus system, station for use in the bus system, and bus interface
WO2012013080A1 (en) Data transparent transmission method and system
US6457079B1 (en) Communication apparatus with means for allocating alternate designation information to each function unit, and communication system with said two communication apparatuses
EP1037431A1 (en) Data transfer method and data transfer system
US6192409B1 (en) X.25 network connection for X.25 protocol communication used in a full electronic switching system
JP2002123371A (en) Device and method for controlling disk array
JP4098910B2 (en) Packet transfer control device and packet transfer method
KR100602204B1 (en) Controll system have main controller and peripheral controller, metnod for bus connection
EP1594068A2 (en) PCI Bus system
JPH0364899B2 (en)
JP2000022728A (en) Network system
GB2409370A (en) A storage switch and plurality of data sinks
US6625670B1 (en) Network interface card asynchronous interface with signalling lines and at least eight data lines for switching between forward channel and reverse channel
WO2024102916A1 (en) Root complex switching across inter-die data interface to multiple endpoints
JP2639248B2 (en) Communication interface device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070605