TWI685752B - Usb hub - Google Patents

Usb hub Download PDF

Info

Publication number
TWI685752B
TWI685752B TW107136847A TW107136847A TWI685752B TW I685752 B TWI685752 B TW I685752B TW 107136847 A TW107136847 A TW 107136847A TW 107136847 A TW107136847 A TW 107136847A TW I685752 B TWI685752 B TW I685752B
Authority
TW
Taiwan
Prior art keywords
host
usb
hub
control unit
module
Prior art date
Application number
TW107136847A
Other languages
Chinese (zh)
Other versions
TW201915767A (en
Inventor
游添為
詹澄勝
陳俊旭
段人傑
Original Assignee
旺玖科技股份有限公司
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 旺玖科技股份有限公司 filed Critical 旺玖科技股份有限公司
Priority to TW107136847A priority Critical patent/TWI685752B/en
Publication of TW201915767A publication Critical patent/TW201915767A/en
Application granted granted Critical
Publication of TWI685752B publication Critical patent/TWI685752B/en

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

A USB hub includes a upstream port coupled to a first host; a first USB device control unit, coupled to the upstream port, for performing packet format conversion; an FIFO circuit coupled to the first USB device control unit for storing data from the first host; a second USB device control unit, coupled to the FIFO circuit, for performing packet format conversion; and a plurality of downstream ports, coupled to the second USB device control unit. When any one of the downstream ports is coupled to a mobile device, if the first host commands the mobile device to switch from a device role to a host role, the mobile device temporally disconnects from the USB hub and the first host commands the USB hub to change an internal routing path. When the mobile device is switched to the host role, the first host is the host role, the first USB device control unit is the device role, the mobile device is the host role and the second USB device control unit is the device role. The first host and the first USB device control unit are paired while the mobile device and the second USB device control unit are paired.

Description

萬用串列匯流排集線器Universal serial bus hub

本發明是有關於一種具有主機對主機功能的複合式(composite)萬用串列匯流排(USB)集線器(hub)。The invention relates to a composite universal serial bus (USB) hub with host-to-host function.

在過往,當移動裝置透過USB(Universal Serial Bus,萬用串列匯流排)來連接至主機(筆記型電腦、桌上型電腦或車載系統(Car system))時,移動裝置是當成裝置(device)(亦即從裝置)。In the past, when a mobile device was connected to a host (notebook computer, desktop computer, or car system) via a USB (Universal Serial Bus), the mobile device was regarded as a device (device ) (That is, from the device).

然而,目前移動裝置(如智慧型手機)日漸普及,且硬體功能強大,所以移動裝置有可能逐漸取代筆記型電腦、桌上型電腦或車載系統(Car system)等的角色。也就是說,移動裝置已從裝置轉變為主機(host)。However, mobile devices (such as smart phones) are becoming more and more popular and have powerful hardware functions. Therefore, mobile devices may gradually replace the roles of laptop computers, desktop computers, or car systems. That is, the mobile device has transitioned from a device to a host.

此外,由於USB 的應用非常龐大,具備USB主機功能的裝置(如手機/桌上型電腦/筆電等)可能需要連接USB集線器(Hub)來連結其他的周邊USB裝置。然而,以USB集線器的原始設計而言,USB集線器具有一個上游埠(upstream port)來連接至主機,且具有多個下游埠(downstream port)來連接其他周邊USB裝置。但USB集線器的下游埠只具備主機對裝置的功能,並不具備主機對主機的功能。但隨著不過移動裝置的快速發展,主機對主機的運作模式已成必然趨勢。In addition, due to the huge application of USB, devices with USB host functions (such as mobile phones/desktop computers/notebooks, etc.) may need to connect a USB hub (Hub) to connect other peripheral USB devices. However, in terms of the original design of the USB hub, the USB hub has an upstream port to connect to the host and multiple downstream ports to connect to other peripheral USB devices. However, the downstream port of the USB hub only has the host-to-device function, and does not have the host-to-host function. However, with the rapid development of mobile devices, the host-to-host operation mode has become an inevitable trend.

亦即,需要有一種新的USB集線器設計,能同時支援「主機對主機」與「主機對裝置」的運作模式。當處在主機對主機模式時,移動裝置連接至USB集線器設計的下游埠,但移動裝置仍是以主機的角色在運作。That is, there is a need for a new USB hub design that can support both "host-to-host" and "host-to-device" modes of operation. When in host-to-host mode, the mobile device is connected to the downstream port of the USB hub design, but the mobile device still operates as the host.

根據本案一例,提出一種萬用串列匯流排(USB)集線器,該USB集線器包括:一上游埠,耦接至一第一主機;一第一USB裝置控制單元,耦接於該上游埠,用以進行封包格式轉換;一先入先出電路,耦接至該第一USB裝置控制單元,用以暫存由該第一主機所傳來的資料;一第二USB裝置控制單元,耦接至該先入先出電路,用以進行封包格式轉換;以及複數個下游埠,耦接至該第二USB裝置控制單元。當該些下游埠之一任一下游埠耦接至一移動裝置時,如果該第一主機下令該移動裝置從一裝置角色切換至一主機角色,該移動裝置暫時斷開與該USB集線器之間的連接,而且,該第一主機下令該USB集線器以切換其內部繞線路徑,當該移動裝置切換至該主機角色之後,該第一主機仍扮演該主機角色,該第一USB裝置控制單元扮演該裝置角色,該移動裝置扮演該主機角色,該第二USB裝置控制單元扮演裝置角色,該第一主機與該第一USB裝置控制單元為成對,該移動裝置與該第二USB裝置控制單元為成對。According to an example of the present case, a universal serial bus (USB) hub is proposed. The USB hub includes: an upstream port coupled to a first host; and a first USB device control unit coupled to the upstream port for To perform packet format conversion; a first-in first-out circuit, coupled to the first USB device control unit, for temporarily storing data transmitted from the first host; and a second USB device control unit, coupled to the The first-in first-out circuit is used for packet format conversion; and a plurality of downstream ports are coupled to the second USB device control unit. When any one of the downstream ports is coupled to a mobile device, if the first host orders the mobile device to switch from a device role to a host role, the mobile device temporarily disconnects from the USB hub Connection, and the first host orders the USB hub to switch its internal winding path. After the mobile device switches to the host role, the first host still plays the role of the host, and the first USB device control unit plays the role Device role, the mobile device plays the role of the host, the second USB device control unit plays the role of the device, the first host and the first USB device control unit are paired, the mobile device and the second USB device control unit are In pairs.

根據本案另一例,提出一種萬用串列匯流排(USB)集線器,該USB集線器包括:一上游埠,耦接至一第一主機;一集線器功能模組,耦接至該上游埠,用以執行一集線器功能;一主機對主機功能模組,耦接至該上游埠,當連接至該USB集線器的一移動裝置執行一裝置角色時,透過該集線器功能模組的控制,該第一主機與該移動裝置之間的信號流經一旁通路徑或該主機對主機功能模組,該主機對主機功能模組實現一「主機對主機模式」;至少一控制模組,耦接至該上游埠,控制相連接的至少一裝置;一虛擬集線器功能單元,耦接至該集線器功能模組、該主機對主機功能模組與該至少一控制模組,該虛擬集線器功能單元支援一虛擬集線器功能且具有儲存USB位址和相關裝置之間關係的功能,該虛擬集線器功能單元存有複數個虛擬USB位址;以及複數個下游埠,耦接至該第二USB裝置控制單元。根據該第一主機所指定的一USB位址,該虛擬集線器功能單元指定該集線器功能模組、該主機對主機功能模組與該至少一控制模組的各別虛擬USB位址。According to another example of the present case, a universal serial bus (USB) hub is proposed. The USB hub includes: an upstream port coupled to a first host; and a hub function module coupled to the upstream port for Perform a hub function; a host-to-host functional module, coupled to the upstream port, when a mobile device connected to the USB hub performs a device role, through the control of the hub functional module, the first host and The signal between the mobile devices flows through a bypass path or the host-to-host functional module, the host-to-host functional module implements a "host-to-host mode"; at least one control module is coupled to the upstream port, Control at least one connected device; a virtual hub functional unit, coupled to the hub functional module, the host-to-host functional module and the at least one control module, the virtual hub functional unit supports a virtual hub function and has The function of storing the relationship between the USB address and related devices. The virtual hub function unit stores a plurality of virtual USB addresses; and a plurality of downstream ports, coupled to the second USB device control unit. According to a USB address specified by the first host, the virtual hub functional unit specifies the respective virtual USB addresses of the hub functional module, the host-to-host functional module and the at least one control module.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下:In order to have a better understanding of the above and other aspects of the present invention, the following examples are specifically described in conjunction with the accompanying drawings as follows:

本說明書的技術用語係參照本技術領域之習慣用語,如本說明書對部分用語有加以說明或定義,該部分用語之解釋係以本說明書之說明或定義為準。本揭露之各個實施例分別具有一或多個技術特徵。在可能實施的前提下,本技術領域具有通常知識者可選擇性地實施任一實施例中部分或全部的技術特徵,或者選擇性地將這些實施例中部分或全部的技術特徵加以組合。The technical terms of this specification refer to the idioms in the technical field. If this specification describes or defines some terms, the interpretation of these terms shall be based on the description or definition of this specification. Each embodiment of the present disclosure has one or more technical features. Under the premise of possible implementation, those skilled in the art can selectively implement some or all of the technical features in any of the embodiments, or selectively combine some or all of the technical features in these embodiments.

現請參照第1圖,顯示根據本案一實施例的USB集線器的功能方塊示意圖。如第1圖所示,USB集線器130包括:上游埠131、複數個下游埠132、集線器功能模組141、主機對主機功能模組142、第一控制模組143、第二控制模組144與介面151與152。第一主機(例如是桌上型電腦、筆記型電腦、車載系統等)110透過USB介面連接至USB集線器130的上游埠131,而移動裝置(例如是智慧型手機等)120透過USB介面連接至USB集線器130的下游埠132。Referring now to FIG. 1, a functional block diagram of a USB hub according to an embodiment of the present case is shown. As shown in FIG. 1, the USB hub 130 includes: an upstream port 131, a plurality of downstream ports 132, a hub function module 141, a host-to-host function module 142, a first control module 143, a second control module 144 and Interface 151 and 152. The first host (such as a desktop computer, notebook computer, car system, etc.) 110 is connected to the upstream port 131 of the USB hub 130 through a USB interface, and the mobile device (such as a smartphone, etc.) 120 is connected to the The downstream port 132 of the USB hub 130.

集線器功能模組141用以執行一般的集線器功能(亦即,例如主機對裝置之間的信號傳輸)。The hub function module 141 is used to perform general hub functions (ie, for example, signal transmission between a host and a device).

當連接至USB集線器130的移動裝置(例如是智慧型手機等)120執行裝置角色時,透過集線器功能模組141的控制,第一主機110與移動裝置120之間的信號乃是流經旁通路徑BY而不流經主機對主機功能模組142。相反地,當連接至USB集線器130的移動裝置(例如是智慧型手機等)120從裝置角色切換至主機角色時,透過集線器功能模組141的控制,第一主機110與移動裝置120之間的信號乃是流經主機對主機功能模組142而不流經旁通路徑BY。也就是說,在本案實施例中,「主機對主機模式」可由主機對主機功能模組142實現,其細節將於底下說明之。When a mobile device (for example, a smart phone, etc.) 120 connected to the USB hub 130 performs a device role, the signal between the first host 110 and the mobile device 120 flows through the bypass through the control of the hub function module 141 The path BY does not flow through the host-to-host functional module 142. Conversely, when the mobile device 120 (for example, a smartphone, etc.) 120 connected to the USB hub 130 switches from the device role to the host role, through the control of the hub function module 141, the first host 110 and the mobile device 120 The signal flows through the host-to-host functional module 142 without flowing through the bypass path BY. That is to say, in the embodiment of the present invention, the "host-to-host mode" can be implemented by the host-to-host function module 142, and the details will be described below.

第一控制模組143與第二控制模組144透過介面151與152而控制相連接的裝置。例如,第一控制模組143可以具有儲存裝置控制的功能,而第二控制模組144可以具音效裝置控制的功能。雖然第1圖顯示出2個控制模組143與144,但本案並不受限於此。在本案其他可能實施例中,集線器130可以包括更多數量的控制模組。The first control module 143 and the second control module 144 control the connected devices through the interfaces 151 and 152. For example, the first control module 143 may have a storage device control function, and the second control module 144 may have a sound effect device control function. Although FIG. 1 shows two control modules 143 and 144, this case is not limited to this. In other possible embodiments of this case, the hub 130 may include a greater number of control modules.

現請參照第2圖,其顯示根據本案一實施例的USB集線器200的功能方塊圖。如第2圖所示,根據本案一實施例的USB集線器200包括:重複電路(repeater)210、傳輸轉譯電路(transaction translator)212、繞線邏輯電路(routing logic)214、狀態機器(state machine)216、USB裝置控制單元218、虛擬集線器功能單元220、FIFO(first in first output,先入先出)電路222、USB裝置控制單元224、儲存控制單元226、音效控制單元228、上游埠242,複數個下游埠244_1-244_N(N為正整數),以及介面246_1與246_2。Refer now to FIG. 2, which shows a functional block diagram of the USB hub 200 according to an embodiment of the present case. As shown in FIG. 2, the USB hub 200 according to an embodiment of the present case includes: a repeater 210, a transaction translator 212, a routing logic 214, and a state machine 216, USB device control unit 218, virtual hub function unit 220, FIFO (first in first output) circuit 222, USB device control unit 224, storage control unit 226, audio control unit 228, upstream port 242, plural Downstream ports 244_1-244_N (N is a positive integer), and interfaces 246_1 and 246_2.

重複電路210用以複製由第一主機所傳來的信號/資料,並傳送給傳輸轉譯電路212或繞線邏輯電路214。重複電路210的架構與其細節在此可不多做說明。The repeating circuit 210 is used to copy the signal/data transmitted from the first host and transmit it to the transmission translation circuit 212 or the winding logic circuit 214. The architecture and details of the repeating circuit 210 will not be described here.

傳輸轉譯電路212控制掌握高速與低速/全速的資料交易,實現上游埠與下游埠不同速時的資料封包轉換,以及執行其他的功能以確保匯流排上的不同速度資料可以被正確傳送。當進行傳輸轉譯時,由第一主機所傳來的封包流經重複電路210與傳輸轉譯電路212,而到達繞線邏輯電路214;當無需進行傳輸轉譯時,由第一主機所傳來的封包流經重複電路210,而到達繞線邏輯電路214。傳輸轉譯電路212的架構與其細節在此可不多做說明。The transmission and translation circuit 212 controls the high-speed and low-speed/full-speed data transactions, realizes the data packet conversion between the upstream port and the downstream port at different speeds, and performs other functions to ensure that different speed data on the bus can be correctly transmitted. When the transmission translation is performed, the packet from the first host flows through the repeating circuit 210 and the transmission translation circuit 212, and reaches the winding logic circuit 214; when the transmission translation is not required, the packet from the first host It flows through the repeating circuit 210 and reaches the winding logic circuit 214. The structure and details of the transmission and translation circuit 212 will not be described here.

繞線邏輯電路214用以負責資料的繞線,以讓資料在上游埠242與下游埠244_1-244_N之間傳輸。繞線邏輯電路214的架構與其細節在此可不多做說明。The winding logic circuit 214 is responsible for winding the data, so that the data is transmitted between the upstream port 242 and the downstream ports 244_1-244_N. The structure and details of the winding logic circuit 214 will not be described here.

狀態機器216可解碼由第一主機所傳來信號/資料,來決定該信號/資料該傳給哪個下游埠。狀態機器216可由硬體加韌體所組成。狀態機器216的架構與其細節在此可不多做說明。The state machine 216 can decode the signal/data transmitted from the first host to determine which downstream port the signal/data should be transmitted to. The state machine 216 may be composed of hardware plus firmware. The architecture and details of the state machine 216 will not be described here.

USB裝置控制單元218可由硬體或韌體所執行。當由第一主機所傳來的封包要送至不同USB類型的USB周邊裝置時,USB裝置控制單元218對該封包進行格式轉換。同樣地,當由不同USB類型的USB周邊裝置所傳來的封包要送至第一主機時,USB裝置控制單元218對該封包進行格式轉換。USB裝置控制單元218的架構與其細節在此可不多做說明。The USB device control unit 218 can be executed by hardware or firmware. When the packet transmitted from the first host is to be sent to USB peripheral devices of different USB types, the USB device control unit 218 performs format conversion on the packet. Similarly, when a packet transmitted from a USB peripheral device of a different USB type is to be sent to the first host, the USB device control unit 218 performs format conversion on the packet. The architecture and details of the USB device control unit 218 will not be described here.

虛擬集線器功能單元220用以讓USB集線器能支援複合裝置(compound device)及/或綜合裝置(composite device),其細節將於底下說明之。另外,在本案實施例中,虛擬集線器功能單元220支援虛擬集線器(Virtual hub)功能且具有指定虛擬USB位址的功能。虛擬集線器功能單元220內存有複數個虛擬USB位址。狀態機器216、USB裝置控制單元218與虛擬集線器功能單元220可組成集線器控制單元(hub control unit)。The virtual hub function unit 220 is used to enable the USB hub to support compound devices and/or composite devices, details of which will be described below. In addition, in the embodiment of the present invention, the virtual hub function unit 220 supports a virtual hub (Virtual hub) function and has a function of designating a virtual USB address. A plurality of virtual USB addresses are stored in the virtual hub function unit 220. The state machine 216, the USB device control unit 218 and the virtual hub function unit 220 may constitute a hub control unit.

FIFO(先入先出)電路222介於USB裝置控制單元218與224之間(或者是介於USB裝置控制單元218與儲存控制單元226之間,或者是介於USB裝置控制單元218與音效控制單元228之間),用以暫存由第一主機及/或USB周邊裝置及/或移動裝置所傳來的資料,並傳往第一主機及/或USB周邊裝置及/或移動裝置。其細節將於底下參考第3圖說明之。The FIFO (First In First Out) circuit 222 is between the USB device control units 218 and 224 (or between the USB device control unit 218 and the storage control unit 226, or between the USB device control unit 218 and the sound control unit Between 228) to temporarily store the data transmitted by the first host and/or USB peripheral device and/or mobile device and transfer it to the first host and/or USB peripheral device and/or mobile device. The details will be explained below with reference to Figure 3.

USB裝置控制單元224可由硬體或韌體所執行。USB裝置控制單元224具有跟USB裝置控制單元218相同或相似的功能。此外,於本案實施例中,當移動裝置120從裝置角色切換至主機角色時,USB裝置控制單元218與224皆扮演裝置角色(其中,第一主機110與USB裝置控制單元218是一對的,而移動裝置與USB裝置控制單元224是一對的),以實現本案實施例的主機對主機模式。細言之,假設移動裝置120連接到下游埠244_1。當移動裝置120扮演裝置角色時,第一主機110與移動裝置120之間的信號路徑為:上游埠242、重複電路210(及/或傳輸轉譯電路212)、繞線邏輯電路214與下游埠244_1。The USB device control unit 224 can be executed by hardware or firmware. The USB device control unit 224 has the same or similar functions as the USB device control unit 218. In addition, in the embodiment of the present invention, when the mobile device 120 is switched from the device role to the host role, the USB device control units 218 and 224 both play the device role (wherein, the first host 110 and the USB device control unit 218 are a pair, The mobile device and the USB device control unit 224 are a pair) to implement the host-to-host mode of the embodiment of the present invention. In detail, it is assumed that the mobile device 120 is connected to the downstream port 244_1. When the mobile device 120 plays the role of a device, the signal paths between the first host 110 and the mobile device 120 are: upstream port 242, repeating circuit 210 (and/or transmission translation circuit 212), winding logic circuit 214, and downstream port 244_1 .

當第一主機110下令讓移動裝置120從裝置角色切換至主機角色時,移動裝置120暫時斷開與集線器200之間的連接,而且,第一主機110亦下命令給USB集線器200。回應於此命令,繞線邏輯電路214切換其內部繞線路徑。當移動裝置120切換至主機角色之後,第一主機110與移動裝置120之間的信號路徑為:上游埠242、重複電路210、USB裝置控制單元218、先入先出電路222、USB裝置控制單元224、繞線邏輯電路214與下游埠244_1。也就是說,當移動裝置120切換至主機角色之後,第一主機110仍扮演主機角色,USB裝置控制單元218仍扮演裝置角色;另一方面,移動裝置120扮演主機角色,USB裝置控制單元224仍扮演裝置角色。藉此,本案實施例可以達成主機對主機模式。When the first host 110 orders the mobile device 120 to switch from the device role to the host role, the mobile device 120 temporarily disconnects from the hub 200, and the first host 110 also commands the USB hub 200. In response to this command, the winding logic circuit 214 switches its internal winding path. After the mobile device 120 switches to the host role, the signal paths between the first host 110 and the mobile device 120 are: upstream port 242, repeating circuit 210, USB device control unit 218, first-in first-out circuit 222, USB device control unit 224 , The winding logic circuit 214 and the downstream port 244_1. That is, after the mobile device 120 switches to the host role, the first host 110 still plays the host role, and the USB device control unit 218 still plays the device role; on the other hand, the mobile device 120 plays the host role, and the USB device control unit 224 still Play the role of device. With this, the embodiment of the present invention can achieve the host-to-host mode.

儲存控制單元226可以是記憶卡的讀卡機控制器,用於控制外接至USB集線器200的介面246_1的記憶卡。或者,儲存控制單元226可以是外接硬碟控制器,用於控制外接至USB集線器200的介面246_1的硬碟機。當然,本案並不受限於此。儲存控制單元226的架構與其細節在此可不多做說明。The storage control unit 226 may be a card reader controller of the memory card, which is used to control the memory card connected to the interface 246_1 of the USB hub 200. Alternatively, the storage control unit 226 may be an external hard disk controller for controlling a hard disk drive connected to the interface 246_1 of the USB hub 200. Of course, this case is not limited to this. The architecture and details of the storage control unit 226 will not be described here.

音效控制單元228可用於控制外接至USB集線器200的介面246_2的周邊音效裝置(如喇叭或麥克風等)。音效控制單元228的架構與其細節在此可不多做說明。The audio control unit 228 can be used to control peripheral audio devices (such as speakers or microphones) connected to the interface 246_2 of the USB hub 200. The architecture and details of the audio control unit 228 will not be described here.

上游埠242可連接至第一主機(如第1圖之第一主機110)。該些下游埠244_1-244_N可連接至USB周邊裝置(例如但不受限於,USB隨身碟、USB外接硬碟等)。此外,該些下游埠244_1-244_N之任一可以連接至移動裝置120。The upstream port 242 can be connected to a first host (such as the first host 110 in FIG. 1). The downstream ports 244_1-244_N can be connected to USB peripheral devices (such as, but not limited to, USB flash drives, USB external hard drives, etc.). In addition, any of the downstream ports 244_1-244_N can be connected to the mobile device 120.

現請再次參考第1圖與第2圖。在第1圖中,集線器功能模組141例如由重複電路210、傳輸轉譯電路212與繞線邏輯電路214所實現。主機對主機功能模組142例如由 USB裝置控制單元218、先入先出電路222與USB裝置控制單元224所實現。第一控制模組143例如由USB裝置控制單元218、先入先出電路222與儲存控制單元226所實現。第二控制模組144例如由USB裝置控制單元218、先入先出電路222與音效控制單元228所實現。也就是說,在本案實施例中,集線器功能模組141、主機對主機功能模組142、第一控制模組143與第二控制模組144可彼此共享某些單元。Now please refer to Figure 1 and Figure 2 again. In FIG. 1, the hub functional module 141 is implemented by, for example, the repeating circuit 210, the transmission translation circuit 212 and the winding logic circuit 214. The host-to-host functional module 142 is implemented by, for example, a USB device control unit 218, a first-in first-out circuit 222, and a USB device control unit 224. The first control module 143 is implemented by a USB device control unit 218, a first-in first-out circuit 222, and a storage control unit 226, for example. The second control module 144 is implemented by, for example, a USB device control unit 218, a first-in first-out circuit 222, and an audio effect control unit 228. In other words, in the embodiment of the present invention, the hub function module 141, the host-to-host function module 142, the first control module 143, and the second control module 144 may share some units with each other.

USB裝置控制單元218、FIFO(先入先出)電路222與USB裝置控制單元224可執行USB集線器200的主機對主機模式或者是內建資料緩衝。本案實施例如何實現「主機對主機模式」已於上面說明之。The USB device control unit 218, the FIFO (First In First Out) circuit 222 and the USB device control unit 224 can perform the host-to-host mode of the USB hub 200 or the built-in data buffer. How the embodiment of this case implements the "host-to-host mode" has been described above.

在本案實施例中,當要將移動裝置的角色從裝置切換成主機時,第一主機送出自定義指令(Vendor command)給USB集線器200,以改變USB集線器200的內部信號路徑(如上述般),來實現「主機對主機功能」,但不影響其他正在傳輸中的下游埠244_1-244_N及/或上游埠242。In the embodiment of the present invention, when the role of the mobile device is to be switched from the device to the host, the first host sends a custom command (Vendor command) to the USB hub 200 to change the internal signal path of the USB hub 200 (as described above) , To achieve the "host-to-host function", but does not affect other downstream ports 244_1-244_N and/or upstream ports 242 that are in transit.

或者是,在本案實施例的USB集線器200中,USB裝置控制單元224可以自動判定連結到任一下游埠244_1-244_N的移動裝置的USB裝置描述元(USB Device Descriptor)(如果該USB裝置描述元指示該移動裝置可以扮演主機角色)來決定是否需要從主機對裝置傳輸模式切換成主機對主機傳輸模式(改變USB集線器200的內部信號路徑,如上述般)並啟動裝置模式轉換,但不影響其他正在傳輸中的下游埠244_1-244_N及/或上游埠242。Or, in the USB hub 200 of this embodiment, the USB device control unit 224 can automatically determine the USB device descriptor (USB Device Descriptor) of the mobile device connected to any downstream port 244_1-244_N (if the USB device descriptor is Instruct the mobile device to play the role of host) to determine whether it is necessary to switch from host-to-device transfer mode to host-to-host transfer mode (change the internal signal path of USB hub 200 as described above) and initiate device mode conversion, but does not affect other Downstream ports 244_1-244_N and/or upstream ports 242 being transmitted.

舉例而言,假設下游埠244_1連接至移動裝置,而下游埠244_2連接至USB隨身碟。當移動裝置仍當成裝置角色時,在繞線邏輯電路214內(請參考第2圖),移動裝置的信號走路徑P1,而USB隨身碟的信號走路徑P2。當移動裝置切換成主機角色時,在繞線邏輯電路214內(請參考第2圖),移動裝置的信號改走路徑P3,而USB隨身碟的信號仍走路徑P2。也就是說,在本案實施例中,當第一主機下令將移動裝置的角色從裝置角色切換成主機角色時,不會影響到其他下游埠的資料傳輸。For example, assume that the downstream port 244_1 is connected to a mobile device and the downstream port 244_2 is connected to a USB flash drive. When the mobile device still assumes the role of the device, in the winding logic circuit 214 (please refer to FIG. 2), the signal path of the mobile device is P1, and the signal path of the USB flash drive is P2. When the mobile device switches to the role of host, in the winding logic circuit 214 (please refer to FIG. 2), the signal of the mobile device changes to the path P3, while the signal of the USB flash drive still follows the path P2. That is to say, in the embodiment of the present case, when the first host orders to switch the role of the mobile device from the device role to the host role, it will not affect the data transmission of other downstream ports.

第3圖顯示根據本案實施例的FIFO電路222的功能方塊圖。如第3圖所示,FIFO電路222包括:FIFO 302與304,多工器306與308、DMA直接記憶體存取(Direct Memory Access)電路310與多工器312。FIFO 302耦接於USB裝置控制單元218與224之間。另外,FIFO 304透過多工器306與308而分別耦接至USB裝置控制單元218與224。FIG. 3 shows a functional block diagram of the FIFO circuit 222 according to the embodiment of the present invention. As shown in FIG. 3, the FIFO circuit 222 includes: FIFOs 302 and 304, multiplexers 306 and 308, a DMA direct memory access circuit 310 and a multiplexer 312. The FIFO 302 is coupled between the USB device control units 218 and 224. In addition, the FIFO 304 is coupled to the USB device control units 218 and 224 through multiplexers 306 and 308, respectively.

於本案實施例中,FIFO電路222支援資料快速傳輸路徑,能讓資料可以在USB裝置控制單元218、FIFO 302、多工器312與USB裝置控制單元224(及/或儲存控制單元226及/或音效控制單元228)之間快速傳輸,經由這條路徑的資料不會被中央處理器322修改。In the embodiment of the present invention, the FIFO circuit 222 supports a fast data transmission path, so that data can be stored in the USB device control unit 218, FIFO 302, multiplexer 312, and USB device control unit 224 (and/or storage control unit 226 and/or The sound effect control unit 228) is quickly transmitted, and the data passing through this path will not be modified by the central processor 322.

另外,於本案實施例中,如果資料可能需要由中央處理器322進行處理後,才能傳給另一端,則資料傳輸流程如後。底下以資料從第一主機傳往移動裝置為例做說明,習知此技者當可依而推論出知資料從移動裝置傳往第一主機的流程。第一主機所送出的資料透過USB裝置控制單元218與多工器306而寫入到FIFO 304。接著,DMA電路310將資料從FIFO 304與多工器308而暫存至第一主機110的緩衝器320。當第一主機110的中央處理器(CPU)322將緩衝器320內的資料處理/修改後,中央處理器(CPU)322告知DMA電路310。由DMA電路310將修改後/處理後的資料從緩衝器320經過多工器306而寫入至FIFO 304,再由FIFO 304透過多工器308,並透過多工器312來將FIFO304內的資料送給USB裝置控制單元224以傳給移動裝置,或者送給儲存控制單元226以傳給儲存裝置(未示出),或者送給音效控制單元228以傳給音效裝置(未示出)。In addition, in the embodiment of the present invention, if the data may need to be processed by the central processor 322 before being transmitted to the other end, the data transmission process is as follows. The following uses the example of transferring data from the first host to the mobile device as an example. Those skilled in the art can infer the process of transferring the data from the mobile device to the first host. The data sent by the first host is written into the FIFO 304 through the USB device control unit 218 and the multiplexer 306. Next, the DMA circuit 310 temporarily stores the data from the FIFO 304 and the multiplexer 308 to the buffer 320 of the first host 110. After the central processing unit (CPU) 322 of the first host 110 processes/modifies the data in the buffer 320, the central processing unit (CPU) 322 informs the DMA circuit 310. The DMA circuit 310 writes the modified/processed data from the buffer 320 to the FIFO 304 through the multiplexer 306, and then the FIFO 304 passes through the multiplexer 308 and the multiplexer 312 to transfer the data in the FIFO 304 It is sent to the USB device control unit 224 for transmission to the mobile device, or to the storage control unit 226 for transmission to the storage device (not shown), or to the sound effect control unit 228 for transmission to the sound effect device (not shown).

或者是,在本案實施例中,如果CPU 322想要傳資料給移動裝置或儲存裝置或音效裝置的話,CPU322可以將資料先存在緩衝器320裡,然後透過DMA電路310、多工器306而暫存至FIFO 304,之後,透過多工器312來將FIFO304內的資料送給USB裝置控制單元224以傳給移動裝置,或者送給儲存控制單元226以傳給儲存裝置(未示出),或者送給音效控制單元228以傳給音效裝置(未示出)。Or, in the embodiment of the present invention, if the CPU 322 wants to transmit data to a mobile device or a storage device or an audio device, the CPU 322 can store the data in the buffer 320 first, and then temporarily pass through the DMA circuit 310 and the multiplexer 306 Save to FIFO 304, and then send the data in FIFO 304 to the USB device control unit 224 through the multiplexer 312 to the mobile device, or to the storage control unit 226 to the storage device (not shown), or It is sent to the sound effect control unit 228 for transmission to a sound effect device (not shown).

或者,在本案實施例中,資料由第一主機透過USB裝置控制單元218與多工器306寫入到FIFO 304,接著,DMA電路310將資料從多工器308存進到緩衝器320,等到CPU 322修改完/處理完資料後,CPU 322告知DMA電路310,DMA電路310將修改後/處理後的資料從緩衝器320讀出,並經過多工器306而寫入至FIFO 304,但不傳給USB裝置控制單元224、儲存控制單元226與音效控制單元228。該修改後/處理後資料存在FIFO 304中,可以等日後有需要才讀出。Or, in this embodiment, the data is written into the FIFO 304 by the first host through the USB device control unit 218 and the multiplexer 306, and then, the DMA circuit 310 stores the data from the multiplexer 308 into the buffer 320, and waits until After the CPU 322 has modified/processed the data, the CPU 322 informs the DMA circuit 310. The DMA circuit 310 reads the modified/processed data from the buffer 320 and writes it to the FIFO 304 via the multiplexer 306, but does not It is passed to the USB device control unit 224, storage control unit 226, and sound effect control unit 228. The modified/processed data is stored in the FIFO 304 and can be read out later if necessary.

在本案實施例中,移動裝置(如智慧型手機)可當主機也可當裝置。In the embodiment of the present invention, a mobile device (such as a smart phone) can be used as a host or a device.

現請參考第4A圖至第4C圖,其顯示根據本案實施例的應用端示意圖。在第4A圖應用端示意中,對於第一主機110而言,經由USB集線器200的回報,第一主機110可以得知「集線器功能模組141、主機對主機功能模組142、第一控制模組143與第二控制模組144屬於同一層,亦即,屬於「同一綜合裝置(Composite device)」。在實現第4A圖應用端示意時,第一主機會指定USB位址(在此例如但不受限於,USB位址為5)給此一綜合裝置(此一綜合裝置包含集線器功能模組141、主機對主機功能模組142、第一控制模組143與第二控制模組144)。亦即,集線器功能模組141、主機對主機功能模組142、第一控制模組143與第二控制模組144共用USB位址5。Now please refer to FIGS. 4A to 4C, which show schematic diagrams of the application side according to the embodiment of the present application. In the application diagram of FIG. 4A, for the first host 110, the first host 110 can learn the "hub function module 141, host-to-host function module 142, first control The group 143 and the second control module 144 belong to the same layer, that is, they belong to the "Composite device". When implementing the application diagram shown in FIG. 4A, the first host will assign a USB address (here, but not limited to, the USB address is 5) to this integrated device (this integrated device includes the hub function module 141 , Host-to-host function module 142, first control module 143 and second control module 144). That is, the hub function module 141, the host-to-host function module 142, the first control module 143, and the second control module 144 share the USB address 5.

當USB集線器200接收到由第一主機所傳來的指令/資料時,集線器功能模組141檢查該指令/資料的USB位址中的「介面(interface)欄位」,以決定該指令/資料要傳送至集線器功能模組141、主機對主機功能模組142、第一控制模組143與第二控制模組144的哪一者。When the USB hub 200 receives the command/data from the first host, the hub function module 141 checks the "interface field" in the USB address of the command/data to determine the command/data Which one of the hub function module 141, the host-to-host function module 142, the first control module 143, and the second control module 144 is to be transmitted to.

相似地,在第4B圖應用端示意中,對於第一主機110而言,集線器功能模組141、第一控制模組143與第二控制模組144屬於同一層,亦即,屬於同一綜合裝置。在邏輯上而言,主機對主機功能模組142則被第一主機110視為接到集線器功能模組141的下游埠。Similarly, in the application diagram of FIG. 4B, for the first host 110, the hub function module 141, the first control module 143, and the second control module 144 belong to the same layer, that is, to the same integrated device . Logically, the host-to-host functional module 142 is regarded by the first host 110 as being connected to the downstream port of the hub functional module 141.

在實現第4B圖應用端示意時,第一主機會指定USB位址(在此例如但不受限於,USB位址為5)給上層綜合裝置,該上層綜合裝置包含集線器功能模組141、第一控制模組143與第二控制模組144。亦即,集線器功能模組141、第一控制模組143與第二控制模組144共用USB位址5。 而且,第一主機會指定USB位址(在此例如但不受限於,USB位址為6)給主機對主機功能模組142。USB集線器200的虛擬集線器功能單元220可儲存USB位址5-6、和其相對應裝置之間的關係。When implementing the application diagram shown in FIG. 4B, the first host will assign a USB address (here, but not limited to, the USB address is 5) to the upper-layer integrated device, which includes the hub function module 141, The first control module 143 and the second control module 144. That is, the hub function module 141, the first control module 143, and the second control module 144 share the USB address 5. Moreover, the first host will assign a USB address (here, but not limited to, the USB address is 6) to the host-to-host function module 142. The virtual hub function unit 220 of the USB hub 200 can store the relationship between the USB addresses 5-6 and their corresponding devices.

當USB集線器200接收到由第一主機所傳來的指令/資料時,USB集線器200會檢查該指令/資料的USB位址。如果該指令/資料的USB位址是6,則USB集線器200將該指令/資料傳送至主機對主機功能模組142,如果該指令/資料的USB位址是5,則USB集線器200不將該指令/資料傳送至下一層,而是傳給上層綜合裝置。另外,如果該指令/資料的USB位址是5,USB集線器200會檢查該指令/資料中的「介面(interface)欄位」,以決定該指令/資料要傳送至集線器功能模組141、第一控制模組143與第二控制模組144之一。When the USB hub 200 receives the command/data from the first host, the USB hub 200 checks the USB address of the command/data. If the USB address of the command/data is 6, the USB hub 200 transmits the command/data to the host-to-host function module 142. If the USB address of the command/data is 5, the USB hub 200 does not Commands/data are sent to the next layer, but to the upper integrated device. In addition, if the USB address of the command/data is 5, the USB hub 200 checks the “interface field” in the command/data to determine whether the command/data should be sent to the hub function module 141, the first One of a control module 143 and a second control module 144.

相似地,在第4C圖應用端示意中,對於第一主機110而言,集線器功能模組141自己一層,而主機對主機功能模組142、第一控制模組143與第二控制模組144則屬於同一層(同一綜合裝置)。在邏輯上,第一主機110將此綜合裝置視為接到集線器功能模組141的下游埠。在實現第4C圖應用端示意時,第一主機會指定USB位址(在此例如但不受限於,USB位址為5)給集線器功能模組141。 而且,第一主機會指定USB位址(在此例如但不受限於,USB位址為6)給下層綜合裝置,此綜合裝置包含主機對主機功能模組142、第一控制模組143與第二控制模組144。USB集線器200的虛擬集線器功能單元220會儲存USB位址5-6,和其相對應裝置之間的關係。Similarly, in the application diagram of FIG. 4C, for the first host 110, the hub function module 141 has its own layer, and the host has the host function module 142, the first control module 143, and the second control module 144. It belongs to the same layer (same integrated device). Logically, the first host 110 regards the integrated device as a downstream port connected to the hub function module 141. When implementing the application diagram shown in FIG. 4C, the first host will assign a USB address (here, but not limited to, the USB address is 5) to the hub function module 141. Moreover, the first host will assign a USB address (here, but not limited to, the USB address is 6) to the lower-level integrated device. The integrated device includes a host-to-host function module 142, a first control module 143 and Second control module 144. The virtual hub function unit 220 of the USB hub 200 stores the relationship between the USB addresses 5-6 and their corresponding devices.

當USB集線器200接收到由第一主機所傳來的指令/資料時,USB集線器200會檢查該指令/資料的USB位址。如果該指令/資料的USB位址是5,則集線器功能模組141接收該指令/資料。另外,如果該指令/資料的USB位址是6,USB集線器200會檢查該指令中的「介面欄位」,以決定該指令/資料要送給主機對主機功能模組142、第一控制模組143與第二控制模組144的哪一者。When the USB hub 200 receives the command/data from the first host, the USB hub 200 checks the USB address of the command/data. If the USB address of the command/data is 5, the hub function module 141 receives the command/data. In addition, if the USB address of the command/data is 6, the USB hub 200 will check the “interface field” in the command to determine whether the command/data should be sent to the host-to-host function module 142, the first control mode Which one of the group 143 and the second control module 144?

亦即,在應用情況下,於移動裝置從USB裝置模式切換成USB主機模式之後,移動裝置可以支援第一主機,而第一主機依然維持USB主機模式。如此一來,第一主機可以透過USB集線器200的其他下游埠連結其他USB周邊裝置,以進行第一主機與其他USB周邊裝置之間的傳輸、應用等。移動裝置支援第一主機是指,例如第一主機為車載系統時,移動裝置可以將畫面顯示於第一主機的螢幕上,並讓使用者透過在第一主機上操作,而來操作移動裝置,就如同使用者在直接操作移動裝置般。例如,使用者可以在第一主機上操作,以移動裝置所提供的路線指引、撥打電話、收發訊息和聆聽音樂等功能。That is, in an application case, after the mobile device is switched from the USB device mode to the USB host mode, the mobile device can support the first host, and the first host still maintains the USB host mode. In this way, the first host can connect to other USB peripheral devices through other downstream ports of the USB hub 200 to perform transmission and application between the first host and other USB peripheral devices. Supporting the first host by the mobile device means that, for example, when the first host is an in-vehicle system, the mobile device can display a screen on the screen of the first host, and allow the user to operate the mobile device by operating on the first host, It is as if the user is directly operating the mobile device. For example, the user can operate on the first host to use the route guidance provided by the mobile device, make calls, send and receive messages, and listen to music.

綜上所述,在本案實施例中,根據第一主機所送出的自定義指令,USB集線器200可以切換內部的信號路徑,以支援主機對主機功能,且此內部信號路徑切換不影響其他傳輸中的信號路徑。In summary, in the embodiment of the present invention, according to the custom command sent by the first host, the USB hub 200 can switch the internal signal path to support the host-to-host function, and this internal signal path switch does not affect other transmissions. Signal path.

此外,如上述般,透過USB集線器200的虛擬USB集線功能(儲存USB位址),可以支援多種應用端情況(如第4A圖至第4C圖),增加使用上的彈性。In addition, as described above, through the virtual USB hub function (storage of USB addresses) of the USB hub 200, a variety of application-side situations (such as FIGS. 4A to 4C) can be supported, increasing flexibility in use.

綜上所述,雖然本發明已以實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。In summary, although the present invention has been disclosed as above with examples, it is not intended to limit the present invention. Those with ordinary knowledge in the technical field to which the present invention belongs can make various modifications and retouching without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be deemed as defined by the scope of the attached patent application.

110‧‧‧第一主機120‧‧‧移動裝置130‧‧‧USB集線器131‧‧‧上游埠132-134‧‧‧下游埠141‧‧‧集線器功能模組142‧‧‧主機對主機功能模組143‧‧‧第一控制模組144‧‧‧第二控制模組151與152‧‧‧介面BY‧‧‧旁通路徑200‧‧‧USB集線器210‧‧‧重複電路212‧‧‧傳輸轉譯電路214‧‧‧繞線邏輯電路216‧‧‧狀態機器218、224‧‧‧USB裝置控制單元220‧‧‧虛擬集線器功能單元222‧‧‧先入先出電路226‧‧‧儲存控制單元228‧‧‧音效控制單元242‧‧‧上游埠244_1-244_N‧‧‧下游埠246_1-246_2‧‧‧介面P1、P2、P3‧‧‧路徑302與304‧‧‧FIFO306、308、312‧‧‧多工器310‧‧‧直接記憶體存取(DMA)電路320‧‧‧緩衝器322‧‧‧中央處理器(CPU)110‧‧‧ First host 120‧‧‧Mobile device 130‧‧‧USB hub 131‧‧‧Upstream port 132-134‧‧‧Downstream port 141‧‧‧Hub function module 142‧‧‧Host-to-host functional module Group 143‧‧‧ First control module 144‧‧‧ Second control module 151 and 152‧‧‧ Interface BY‧‧‧ Bypass path 200‧‧‧USB hub 210‧‧‧Repeat circuit 212‧‧‧ Transmission Rendering circuit 214‧‧‧Winding logic circuit 216‧‧‧ State machine 218, 224‧‧‧USB device control unit 220‧‧‧ Virtual hub function unit 222‧‧‧First in first out circuit 226‧‧‧ Storage control unit 228 ‧‧‧Audio control unit 242‧‧‧Upstream port 244_1-244_N‧‧‧Downstream port 246_1-246_2‧‧‧Interfaces P1, P2, P3‧‧‧ Paths 302 and 304‧‧‧FIFO306, 308, 312 Multiplexer 310‧‧‧ Direct Memory Access (DMA) circuit 320‧‧‧Buffer 322‧‧‧Central Processing Unit (CPU)

第1圖顯示根據本案一實施例的USB集線器的功能方塊示意圖。 第2圖顯示根據本案一實施例的USB集線器的功能方塊圖。 第3圖顯示根據本案實施例的FIFO電路的功能方塊圖。 第4A圖至第4C圖顯示根據本案實施例的應用端示意圖。FIG. 1 shows a functional block diagram of a USB hub according to an embodiment of the present case. Figure 2 shows a functional block diagram of a USB hub according to an embodiment of the present case. Fig. 3 shows a functional block diagram of the FIFO circuit according to the embodiment of the present invention. 4A to 4C show schematic diagrams of the application side according to the embodiment of the present application.

200‧‧‧USB集線器 200‧‧‧USB hub

210‧‧‧重複電路 210‧‧‧Repeat circuit

212‧‧‧傳輸轉譯電路 212‧‧‧ Transmission and Translation Circuit

214‧‧‧繞線邏輯電路 214‧‧‧ winding logic circuit

216‧‧‧狀態機器 216‧‧‧ State Machine

218、224‧‧‧USB裝置控制單元 218, 224‧‧‧USB device control unit

220‧‧‧虛擬集線器功能單元 220‧‧‧ Virtual Hub Functional Unit

222‧‧‧先入先出電路 222‧‧‧First in first out circuit

226‧‧‧儲存控制單元 226‧‧‧Storage control unit

228‧‧‧音效控制單元 228‧‧‧Audio control unit

242‧‧‧上游埠 242‧‧‧Upstream port

244_1-244_N‧‧‧下游埠 244_1-244_N‧‧‧ downstream port

246_1、246_2‧‧‧介面 246_1, 246_2‧‧‧‧Interface

P1、P2、P3‧‧‧路徑 P1, P2, P3‧‧‧path

Claims (2)

一種萬用串列匯流排(USB)集線器,該USB集線器包括: 一上游埠,耦接至一第一主機; 一集線器功能模組,耦接至該上游埠,用以執行一集線器功能; 一主機對主機功能模組,耦接至該上游埠,當連接至該USB集線器的一移動裝置執行一裝置角色時,透過該集線器功能模組的控制,該第一主機與該移動裝置之間的信號流經一旁通路徑或該主機對主機功能模組,該主機對主機功能模組實現一「主機對主機模式」; 至少一控制模組,耦接至該上游埠,控制相連接的至少一裝置; 一虛擬集線器功能單元,耦接至該集線器功能模組、該主機對主機功能模組與該至少一控制模組,該虛擬集線器功能單元支援一虛擬集線器功能且具有儲存USB位址和相關裝置之間關係的功能,該虛擬集線器功能單元存有複數個USB位址;以及 複數個下游埠,耦接至一第二USB裝置控制單元, 根據該第一主機所指定的一USB位址,該虛擬集線器功能單元指定該集線器功能模組、該主機對主機功能模組與該至少一控制模組的各別虛擬USB位址。A universal serial bus (USB) hub, the USB hub includes: an upstream port, coupled to a first host; a hub function module, coupled to the upstream port, for performing a hub function; The host-to-host functional module is coupled to the upstream port. When a mobile device connected to the USB hub performs a device role, the control between the first host and the mobile device is controlled by the hub functional module. The signal flows through a bypass path or the host-to-host functional module, which implements a "host-to-host mode"; at least one control module, coupled to the upstream port, controls at least one of the connected Device; a virtual hub functional unit, coupled to the hub functional module, the host-to-host functional module and the at least one control module, the virtual hub functional unit supports a virtual hub function and has a storage USB address and related The function of the relationship between the devices, the virtual hub function unit stores a plurality of USB addresses; and the plurality of downstream ports are coupled to a second USB device control unit, based on a USB address specified by the first host, The virtual hub function unit specifies respective virtual USB addresses of the hub function module, the host-to-host function module and the at least one control module. 如申請專利範圍第1項所述之USB集線器,其中, 根據該第一主機所傳來的一指令中的一介面欄位,該USB集線器決定該指令的一傳送目標。The USB hub as described in item 1 of the patent application scope, wherein the USB hub determines a transmission target of the command according to an interface field in a command transmitted from the first host.
TW107136847A 2017-09-20 2017-09-20 Usb hub TWI685752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107136847A TWI685752B (en) 2017-09-20 2017-09-20 Usb hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107136847A TWI685752B (en) 2017-09-20 2017-09-20 Usb hub

Publications (2)

Publication Number Publication Date
TW201915767A TW201915767A (en) 2019-04-16
TWI685752B true TWI685752B (en) 2020-02-21

Family

ID=66992233

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107136847A TWI685752B (en) 2017-09-20 2017-09-20 Usb hub

Country Status (1)

Country Link
TW (1) TWI685752B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760905B (en) * 2020-10-28 2022-04-11 英業達股份有限公司 Processing device and method with serial communication interface processing function

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113971146B (en) * 2020-07-22 2024-05-28 旺玖科技股份有限公司 USB hub device with automatic firmware updating function and host system with USB hub device
TWI749658B (en) * 2020-07-22 2021-12-11 旺玖科技股份有限公司 Usb hub device having functionality of self firmware updating and host system having the same

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080288708A1 (en) * 2007-05-14 2008-11-20 Aten International Co., Ltd. Multiple virtual usb devices with virtual hub implemented using one usb device controller
US20100122010A1 (en) * 2008-11-11 2010-05-13 Aten International Co., Ltd. Usb sharing switch with automatic switching capabilities
TW201201022A (en) * 2010-06-23 2012-01-01 Kye Systems Corp Universal serial bus hub
US8850082B2 (en) * 2010-08-30 2014-09-30 Qualcomm Incorporated Virtual USB compound device enumeration
TWI497306B (en) * 2012-11-29 2015-08-21 Faraday Tech Corp Usb super speed hub and associated traffic managing method
TW201610690A (en) * 2014-09-12 2016-03-16 亞信電子股份有限公司 Electronic device providing real-time switching and sharing of USB electronic apparatuses among hosts
TW201631487A (en) * 2015-02-26 2016-09-01 威盛電子股份有限公司 Hub, operation system and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080288708A1 (en) * 2007-05-14 2008-11-20 Aten International Co., Ltd. Multiple virtual usb devices with virtual hub implemented using one usb device controller
US20100122010A1 (en) * 2008-11-11 2010-05-13 Aten International Co., Ltd. Usb sharing switch with automatic switching capabilities
TW201201022A (en) * 2010-06-23 2012-01-01 Kye Systems Corp Universal serial bus hub
US8850082B2 (en) * 2010-08-30 2014-09-30 Qualcomm Incorporated Virtual USB compound device enumeration
TWI497306B (en) * 2012-11-29 2015-08-21 Faraday Tech Corp Usb super speed hub and associated traffic managing method
TW201610690A (en) * 2014-09-12 2016-03-16 亞信電子股份有限公司 Electronic device providing real-time switching and sharing of USB electronic apparatuses among hosts
TW201631487A (en) * 2015-02-26 2016-09-01 威盛電子股份有限公司 Hub, operation system and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760905B (en) * 2020-10-28 2022-04-11 英業達股份有限公司 Processing device and method with serial communication interface processing function

Also Published As

Publication number Publication date
TW201915767A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
TWI647571B (en) Usb hub
US20230297531A1 (en) Flexible mobile device connectivity to automotive systems with usb hubs
US10606785B2 (en) Flex bus protocol negotiation and enabling sequence
US10210121B2 (en) System for switching between a single node PCIe mode and a multi-node PCIe mode
US9298648B2 (en) Method and system for I/O flow management using RAID controller with DMA capabilitiy to directly send data to PCI-E devices connected to PCI-E switch
US9430432B2 (en) Optimized multi-root input output virtualization aware switch
TWI685752B (en) Usb hub
US20150347345A1 (en) Gen3 pci-express riser
US20090177831A1 (en) Route aware serial advanced technology attachment (sata ) switch
JP5903801B2 (en) Communication apparatus and ID setting method
US8250258B2 (en) Hybrid serial peripheral interface data transmission architecture and method of the same
US9652427B2 (en) Processor module, micro-server, and method of using processor module
US20160380747A1 (en) Flexible interconnect architecture
JP2006244258A (en) Computer system using serial connect bus and connection method of plurality of cpu units by serial connect bus
KR20120131155A (en) Memory management system offering direct as well as managed access to local storage memory
JP2010218196A (en) Data transfer controller, and electronic equipment
JP2009282917A (en) Interserver communication mechanism and computer system
WO2017020799A1 (en) Integration of network linecard (lc) to host operating system (os)
TWI784165B (en) Usb host-to-usb host chip
KR20160081852A (en) Electronic system with storage control mechanism and method of operation thereof
TW201405315A (en) Data routing system supporting dual master apparatuses
JP2013065079A (en) Relay device and communication system
JP2000231538A (en) System for bridging system bus with plural pci buses
US11537539B2 (en) Acceleration of data between a network and local I/O in a NUMA system
JP2009009250A (en) Communication system, communication equipment and data transfer method to be used for the same