[go: up one dir, main page]

CN111858420A - Resource switching system of USB hub - Google Patents

Resource switching system of USB hub Download PDF

Info

Publication number
CN111858420A
CN111858420A CN201910341650.5A CN201910341650A CN111858420A CN 111858420 A CN111858420 A CN 111858420A CN 201910341650 A CN201910341650 A CN 201910341650A CN 111858420 A CN111858420 A CN 111858420A
Authority
CN
China
Prior art keywords
transmission channel
device interface
interface
usb
control chip
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
CN201910341650.5A
Other languages
Chinese (zh)
Inventor
黄沛峰
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.)
Kunshan Shangnisi Electronic Technology Co ltd
Original Assignee
Kunshan Shangnisi Electronic Technology 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 Kunshan Shangnisi Electronic Technology Co ltd filed Critical Kunshan Shangnisi Electronic Technology Co ltd
Priority to CN201910341650.5A priority Critical patent/CN111858420A/en
Publication of CN111858420A publication Critical patent/CN111858420A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application discloses a resource switching system of a USB concentrator, which comprises a source end, USB equipment and the concentrator. The source end is provided with a first transmission channel, a second transmission channel and a third transmission channel; the concentrator is provided with a switching circuit, a switch, a first device interface, a second device interface and a control wafer, wherein the switching circuit is coupled to the first device interface, the second device interface and the control wafer, a first transmission channel is connected to the first device interface, a third transmission channel is connected to the second device interface, the switching circuit selects a path of the second transmission channel, the first device interface and the second device interface are electrically connected to a GPIO pin of the control wafer, and the control wafer identifies the communication type of the USB device through the GPIO pin and determines that the second transmission channel is connected to the first device interface or the second device interface.

Description

USB集线器的资源切换系统Resource switching system of USB hub

技术领域technical field

一种周边硬体资源的切换系统,特别有关USB集线器的资源切换系统。A switching system for peripheral hardware resources, particularly a resource switching system for USB hubs.

背景技术Background technique

随着计算机运算能力的提升,使得周边装置的传输能力也需要加强。因此通用序列汇流排(Universal Serial Bus,简称USB)从第一代协议的1.5Mbps加强至第三代协议的5Gbps。USB设备也从储存设备、周边装置拓展至影像输出等功能。With the improvement of computer computing power, the transmission capability of peripheral devices also needs to be strengthened. Therefore, the Universal Serial Bus (USB for short) is strengthened from 1.5 Mbps of the first-generation protocol to 5 Gbps of the third-generation protocol. USB devices have also expanded from storage devices and peripheral devices to image output and other functions.

由于第三代USB协议的影像输出机制,使得单一扩展坞(dock)可以提供USB接口与影像接口,例如显示埠(DisplayPort)、高画质多媒体介面(High Definition MultimediaInterface,简称HDMI)或影片图形阵列(Video Graphics Array,简称VGA)。在传输显示埠的高解析度影像需要高频宽的通道,因此习知技术的扩展坞会提供影像资料与数据资料的通道切换的机制。在台湾发明专利第I6515719案(自动切换装置及自动切换方法)中述及以传输的影像解析度流量作为传输通道数量与切换。在I6515719案中当解析度变换时扩展坞的USB传输通道的数量会提高或降低,借以满足传输影像资料的同时也符合数据资料的传输。举例来说,在传输高解析度的情况中,扩展坞会从第三代USB通讯协议切换为第二代USB通讯协议,并将空出来的传输通道提供给影像资料进行传输。Due to the image output mechanism of the third-generation USB protocol, a single docking station (dock) can provide a USB interface and an image interface, such as DisplayPort, High Definition Multimedia Interface (HDMI) or video graphics array. (Video Graphics Array, referred to as VGA). A high-bandwidth channel is required to transmit high-resolution images on the display port, so the conventional docking station provides a mechanism for channel switching between image data and data data. In Taiwan's Invention Patent No. I6515719 (Automatic Switching Device and Automatic Switching Method), it is stated that the transmitted image resolution traffic is used as the number and switching of transmission channels. In the case of I6515719, the number of USB transmission channels of the docking station will be increased or decreased when the resolution is changed, so as to satisfy the transmission of image data and also conform to the transmission of data data. For example, in the case of high-resolution transmission, the docking station switches from the third-generation USB communication protocol to the second-generation USB communication protocol, and provides the vacated transmission channel for image data transmission.

但这样的切换机制会产生两项缺点,第一缺点是解析度的识别是由主机端(host)所决定。由于扩展坞本身不具备资料流量的识别机制。因此只能借由主机端进行判断,而为实现此一目标则需要在主机端有对应的代理程序。由代理程序判断影像流量后,代理程序在驱动扩展坞的切换传输通道的处理。第二点则是影像解析度的切换会造成数据资料的传输错误。特别是数据资料在传输的过程中,如果此时扩展坞切换传输通道数量则会造成数据资料的写入错误。这是因为由四条传输通道降为两条传输通道会使得传输中的数据资料遗失,因而导致写入错误。而且影像解析度发生频繁的切换时,则数据资料的写入也会连带被影响。However, such a switching mechanism has two disadvantages. The first disadvantage is that the identification of the resolution is determined by the host. Because the docking station itself does not have an identification mechanism for data traffic. Therefore, it can only be judged by the host side, and in order to achieve this goal, there needs to be a corresponding agent program on the host side. After the agent program determines the video traffic, the agent program drives the processing of switching the transmission channel of the docking station. The second point is that the switching of the image resolution will cause data transmission errors. Especially in the process of data data transmission, if the docking station switches the number of transmission channels at this time, it will cause data data writing errors. This is because the reduction from four transmission channels to two transmission channels will result in the loss of data in transmission, resulting in write errors. Moreover, when the image resolution is frequently switched, the writing of the data will also be affected.

发明内容SUMMARY OF THE INVENTION

本申请所要解决的技术问题在于:USB集线器再连接不同USB设备时可以提供相应的传输通道与速度。The technical problem to be solved by this application is: when the USB hub is connected to different USB devices, it can provide corresponding transmission channels and speeds.

为了解决上述问题,本申请提供一种USB集线器的资源切换系统,其特征在于切换来源端的资料传输通道并用于资料的加速传输。本申请的USB集线器的资源切换系统包括来源端、USB设备与集线器。来源端具有第二通讯介面,第二通讯介面具有第一传输通道、第二传输通道与第三传输通道;集线器电性连接于来源端与USB设备,集线器具有切换电路、切换开关、第一通讯介面、第一设备接口、第二设备接口与控制晶片,切换电路耦接于第一通讯介面、第一设备接口、第二设备接口与控制晶片,切换开关连接于控制晶片,第一通讯介面连接于第二通讯介面,切换电路用于选择第二传输通道的路径,第一传输通道连接于第一设备接口,第三传输通道连接于第二设备接口,第一设备接口与第二设备接口电性连接于至控制晶片的GPIO脚位,第二设备接口连接USB设备,控制晶片透过GPIO脚位识别USB设备的通讯种类,并决定第二传输通道连接至第一设备接口或第二设备接口。In order to solve the above problems, the present application provides a resource switching system of a USB hub, which is characterized in that the data transmission channel of the source end is switched and used for accelerated transmission of data. The resource switching system of the USB hub of the present application includes a source terminal, a USB device and a hub. The source end has a second communication interface, and the second communication interface has a first transmission channel, a second transmission channel and a third transmission channel; the hub is electrically connected to the source end and the USB device, and the hub has a switching circuit, a switching switch, a first communication channel The interface, the first device interface, the second device interface and the control chip, the switching circuit is coupled to the first communication interface, the first device interface, the second device interface and the control chip, the switch is connected to the control chip, and the first communication interface is connected In the second communication interface, the switching circuit is used to select the path of the second transmission channel, the first transmission channel is connected to the first device interface, the third transmission channel is connected to the second device interface, and the first device interface is electrically connected to the second device interface. It is connected to the GPIO pin of the control chip, the second device interface is connected to the USB device, the control chip identifies the communication type of the USB device through the GPIO pin, and determines that the second transmission channel is connected to the first device interface or the second device interface. .

本申请更提出一种USB集线器,其特征在于根据所连接的USB设备进而决定传输通道的数量。本发明的USB集线器包括第一通讯介面、切换开关、第一设备接口、第二设备接口、切换电路与控制晶片。第一通讯介面连接于来源端,第一通讯介面具有第一传输通道、第二传输通道与第三传输通道;触发切换开关时生成切换命令;第一设备接口电性连接于第一通讯介面与第一传输通道;第二设备接口电性连接于第一通讯介面与第三传输通道,第二设备接口具有复数资料脚位,第二设备接口用于连接USB设备;切换电路连接于第一通讯介面,切换电路用于选择第二传输通道的连接路径;控制晶片包括GPIO脚位,控制晶片电性连接于切换电路,控制晶片根据USB设备的种类切换第二传输通道连接至第一设备接口或第二设备接口,或控制晶片根据切换命令将第二传输通道连接于第一设备接口。The present application further proposes a USB hub, which is characterized in that the number of transmission channels is determined according to the connected USB devices. The USB hub of the present invention includes a first communication interface, a switch, a first device interface, a second device interface, a switching circuit and a control chip. The first communication interface is connected to the source end, and the first communication interface has a first transmission channel, a second transmission channel and a third transmission channel; a switch command is generated when the switch is triggered; the first device interface is electrically connected to the first communication interface and the third transmission channel. the first transmission channel; the second device interface is electrically connected to the first communication interface and the third transmission channel, the second device interface has a plurality of data pins, the second device interface is used to connect the USB device; the switching circuit is connected to the first communication interface, the switching circuit is used to select the connection path of the second transmission channel; the control chip includes GPIO pins, the control chip is electrically connected to the switching circuit, and the control chip switches the second transmission channel according to the type of the USB device to connect to the first device interface or The second device interface, or the control chip, connects the second transmission channel to the first device interface according to the switching command.

本申请另提出一种USB集线器的资源切换方法,其系包括以下步骤:将USB设备连接于集线器的第一设备接口;由USB设备触发集线器的GPIO脚位,用于识别USB设备的种类;若USB设备系为USB1.0或USB2.0,则集线器将第二传输通道连接于第一设备接口;若USB设备系为USB3.0,则集线器将第二传输通道连接于第二设备接口;重置第二设备接口与控制晶片的传输时脉。The present application further proposes a resource switching method of a USB hub, which includes the following steps: connecting a USB device to a first device interface of the hub; triggering a GPIO pin of the hub by the USB device to identify the type of the USB device; If the USB device is USB1.0 or USB2.0, the hub connects the second transmission channel to the first device interface; if the USB device is USB3.0, the hub connects the second transmission channel to the second device interface; Set the second device interface and control the transmission clock of the chip.

与现有技术相比,本申请可以获得包括以下技术效果:Compared with the prior art, the present application can obtain the following technical effects:

1)本申请所提供的USB集线器的资源切换系统与方法可以保证USB设备传输质量与显示设备的播放质量,并且切换过程中不影响数据的传输。1) The resource switching system and method of the USB hub provided by the present application can ensure the transmission quality of the USB device and the playback quality of the display device, and the switching process does not affect the transmission of data.

2)本申请的USB集线器的资源切换系统可以避免影像与数据切换时的误判情况。2) The resource switching system of the USB hub of the present application can avoid misjudgments when switching images and data.

当然,实施本申请的任一产品必不一定需要同时达到以上所述的所有技术效果。Of course, any product implementing the present application does not necessarily need to achieve all of the above-mentioned technical effects at the same time.

附图说明Description of drawings

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application.

图1系为本申请的系统架构示意图。FIG. 1 is a schematic diagram of the system architecture of the present application.

图2系为本申请的传输通道连接示意图。FIG. 2 is a schematic diagram of the connection of the transmission channel of the present application.

图3系为本申请的运作流程示意图。FIG. 3 is a schematic diagram of an operation flow of the present application.

图4系为本申请的USB设备连接与传输通道的状态示意图。FIG. 4 is a schematic state diagram of the USB device connection and transmission channel of the present application.

图5系为本申请的USB设备连接与传输通道的另一状态示意图。FIG. 5 is a schematic diagram of another state of the USB device connection and transmission channel of the present application.

图6系为本申请的运作流程示意图。FIG. 6 is a schematic diagram of an operation flow of the present application.

图7系为本申请的切换开关触发时传输通道的状态示意图。FIG. 7 is a schematic diagram of the state of the transmission channel when the switch of the present application is triggered.

具体实施方式Detailed ways

以下请配合附图及实施例来详细说明本申请的实施方式,藉此对本申请如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。The embodiments of the present application will be described in detail below with reference to the accompanying drawings and examples, so as to fully understand and implement the implementation process of how to apply technical means to solve technical problems and achieve technical effects in the present application.

本申请提出一种USB集线器的资源切换系统100,其系包括集线器110、来源端120与USB设备130(Universal Serial Bus,简称USB),并请配合第1图所示。集线器110包括控制晶片111、切换电路112、切换开关113、第一通讯介面114、第一设备接口115与第二设备接口116。第1图中系以粗黑线条作为电性连接,而箭头代表讯号的传递路径。The present application proposes a resource switching system 100 of a USB hub, which includes a hub 110 , a source terminal 120 and a USB device 130 (Universal Serial Bus, USB for short), which is shown in FIG. 1 . The hub 110 includes a control chip 111 , a switch circuit 112 , a switch 113 , a first communication interface 114 , a first device interface 115 and a second device interface 116 . In Figure 1, thick black lines are used as electrical connections, and arrows represent signal transmission paths.

控制晶片111耦接来源端120、切换电路112、切换开关113、第一设备接口115与第二设备接口116。控制晶片111具有通用型之输入输出(General-purpose input/output,简称GPIO)脚位117,且GPIO脚位117连接于第二设备接口116。控制晶片111用于侦测USB设备130的种类并驱动切换电路112的连接路径。切换开关113用于将第二传输通道121b切换并连接至第二设备接口116。切换开关113的种类可以是但不限定为按压开关、指拨开关,也可以是旋钮开关等具有可发送触发讯号的元件。The control chip 111 is coupled to the source end 120 , the switching circuit 112 , the switching switch 113 , the first device interface 115 and the second device interface 116 . The control chip 111 has a general-purpose input/output (GPIO for short) pin 117 , and the GPIO pin 117 is connected to the second device interface 116 . The control chip 111 is used to detect the type of the USB device 130 and drive the connection path of the switching circuit 112 . The switch 113 is used to switch and connect the second transmission channel 121b to the second device interface 116 . The type of the switch 113 can be, but is not limited to, a push switch, a DIP switch, or a rotary switch or other element that can send a trigger signal.

来源端120可以是但不限定为个人电脑、笔记型电脑,也可以是具有影像输出与资料存取的计算机装置,例如:行动电话(mobile phone)或平板电脑(tablet)。来源端120具有第二通讯介面121,第二通讯介面121具有第一传输通道121a、第二传输通道121b与第三传输通道121c。来源端120透过第一传输通道121a、第二传输通道121b与第三传输通道121c传输影像资料或数据资料。The source end 120 can be, but not limited to, a personal computer, a notebook computer, or a computer device with image output and data access, such as a mobile phone or a tablet. The source end 120 has a second communication interface 121, and the second communication interface 121 has a first transmission channel 121a, a second transmission channel 121b and a third transmission channel 121c. The source end 120 transmits image data or data data through the first transmission channel 121a, the second transmission channel 121b and the third transmission channel 121c.

第一通讯介面114、第二通讯介面121与第二设备接口116系为USB介面,第一通讯介面114与第二通讯介面121的协议种类系为USB3.0系列,第二设备接口116的协议种类系为USB1.0、2.0或3.0系列。第一设备接口115系为显示埠(Display Port)或高画质多媒体介面(High Definition Multimedia Interface,简称HDMI)。第一设备接口115用于连接显示设备140,并输出影像资料至显示设备140。第一设备接口115可以传输高解析度画质影片(High Definition或Full High Definition Video)或超高解析度画质影片(Ultra HDVideo)。The first communication interface 114 , the second communication interface 121 and the second device interface 116 are USB interfaces, the protocol type of the first communication interface 114 and the second communication interface 121 is USB 3.0 series, and the protocol of the second device interface 116 The type is USB1.0, 2.0 or 3.0 series. The first device interface 115 is a Display Port or a High Definition Multimedia Interface (HDMI for short). The first device interface 115 is used to connect to the display device 140 and output image data to the display device 140 . The first device interface 115 can transmit high-definition video (High Definition or Full High Definition Video) or ultra-high-definition video (Ultra HDVideo).

第一传输通道121a系由TX1±与RX1±的两组差动讯号线所构成(共四条讯号线),而第二传输通道121b系由TX2±与RX2±的两组差动讯号线所构成。第三传输通道121c系由USB2.0的D+与D-所构成。换言之,第一传输通道121a具有两组可以传输影像资料的通道。同理,第二传输通道121b也是具有两组可供传输影像资料或数据资料的通道,如第2图所示。而第三传输通道121c则是传输USB的数据资料。在第2图中连接线表示元件间的电性连接,而箭头部分表示通道的传输路径。The first transmission channel 121a is composed of two sets of differential signal lines of TX1± and RX1± (four signal lines in total), and the second transmission channel 121b is composed of two sets of differential signal lines of TX2± and RX2± . The third transmission channel 121c is composed of D+ and D- of USB2.0. In other words, the first transmission channel 121a has two sets of channels that can transmit image data. Similarly, the second transmission channel 121b also has two sets of channels for transmitting image data or data data, as shown in FIG. 2 . The third transmission channel 121c transmits the USB data. In Figure 2, the connecting lines represent electrical connections between components, and the arrows represent the transmission paths of the channels.

第一通讯介面114系以缆线连接于第二通讯介面121,使得第一通讯介面114导通第一传输通道121a、第二传输通道121b与第三传输通道121c。切换电路112分别连接第二传输通道121b、第一设备接口115与第二设备接口116。切换电路112用于切换第二传输通道121b的目的端,使得第二传输通道121b可以选择连接于第一设备接口115或第二设备接口116。在本申请中第二设备接口116电性连接于控制晶片111的GPIO脚位117。因此集线器110可以透过GPIO脚位117的触发内容进而识别所连接的USB设备130的种类。The first communication interface 114 is connected to the second communication interface 121 by a cable, so that the first communication interface 114 conducts the first transmission channel 121a, the second transmission channel 121b and the third transmission channel 121c. The switching circuit 112 is respectively connected to the second transmission channel 121b , the first device interface 115 and the second device interface 116 . The switching circuit 112 is used for switching the destination of the second transmission channel 121b, so that the second transmission channel 121b can be selectively connected to the first device interface 115 or the second device interface 116. In this application, the second device interface 116 is electrically connected to the GPIO pin 117 of the control chip 111 . Therefore, the hub 110 can identify the type of the connected USB device 130 through the trigger content of the GPIO pin 117 .

为清楚说明本申请请参考第3图所示,其系为本申请的运作流程示意图。在本申请的USB集线器的资源切换方法包括以下步骤:For a clear description of the present application, please refer to FIG. 3 , which is a schematic diagram of the operation flow of the present application. The resource switching method of the USB hub of the present application includes the following steps:

步骤S310:将USB设备连接于集线器的第一设备接口;Step S310: Connect the USB device to the first device interface of the hub;

步骤S320:由USB设备触发集线器的GPIO脚位,用于识别USB设备的种类;Step S320: triggering the GPIO pin of the hub by the USB device to identify the type of the USB device;

步骤S330:若USB设备系为USB1.0或USB2.0,则集线器将第二传输通道连接于第一设备接口;Step S330: if the USB device is USB1.0 or USB2.0, the hub connects the second transmission channel to the first device interface;

步骤S340:若USB设备系为USB3.0,则集线器将第二传输通道连接于第二设备接口;以及Step S340: if the USB device is USB3.0, the hub connects the second transmission channel to the second device interface; and

步骤S350:重置第二设备接口与控制晶片的传输时脉。Step S350: Reset the transmission clock between the second device interface and the control chip.

当第二设备接口116连接支援USB2.0(或以降)的通讯协议的USB设备130时,GPIO脚位117可侦测USB设备130的D±的讯号并触发控制晶片111。控制晶片111驱动切换电路112将第二传输通道121b连接至第一设备接口115,如第4图所示。当第二设备接口116连接USB3.0(或以上)的通讯协议的USB设备130时,由于GPIO脚位117将不会收到D±的讯号,因此控制晶片111驱动切换电路112将第二传输通道121b连接至第二设备接口116,如第5图所示。When the second device interface 116 is connected to the USB device 130 supporting the communication protocol of USB 2.0 (or lower), the GPIO pin 117 can detect the D± signal of the USB device 130 and trigger the control chip 111 . The control chip 111 drives the switching circuit 112 to connect the second transmission channel 121b to the first device interface 115, as shown in FIG. 4 . When the second device interface 116 is connected to the USB device 130 with the communication protocol of USB 3.0 (or above), since the GPIO pin 117 will not receive the D± signal, the control chip 111 drives the switching circuit 112 to transmit the second transmission The channel 121b is connected to the second device interface 116, as shown in FIG.

在进行第二传输通道121b的切换过程中,控制晶片111会另外重置(reset)对USB设备130的传输时脉,借以重新传输数据资料至USB设备130(或来源端120)。由于传输通道数量的改变会影响来源端120对于数据资料的配置,因此控制晶片111需要重置传输时脉。若第二设备接口116连接新的USB设备130时,新的USB设备130与前一USB设备130属于相同通讯协议,则控制晶片111不会重置传输时脉。During the switching process of the second transmission channel 121b, the control chip 111 additionally resets the transmission clock to the USB device 130, thereby re-transmitting the data to the USB device 130 (or the source end 120). Since the change of the number of transmission channels will affect the configuration of the data data at the source end 120, the control chip 111 needs to reset the transmission clock. If the new USB device 130 is connected to the second device interface 116 and the new USB device 130 and the previous USB device 130 belong to the same communication protocol, the control chip 111 will not reset the transmission clock.

举例来说,假设第二设备接口116连接USB2.0的第一设备151。第二传输通道121b会连通至第一设备接口115。使用者若是将第一设备151移除并装设第二设备152,且第二设备152亦为USB2.0(或1.0)系列。控制晶片111不会切换第二传输通道121b。若是第二设备152为USB3.0(或以上)的通讯协议,控制晶片111将第二传输通道121b连接至第二设备接口116。For example, it is assumed that the second device interface 116 is connected to the first device 151 of USB 2.0. The second transmission channel 121b is connected to the first device interface 115 . If the user removes the first device 151 and installs the second device 152, and the second device 152 is also USB 2.0 (or 1.0) series. The control wafer 111 does not switch the second transfer channel 121b. If the second device 152 is a communication protocol of USB 3.0 (or above), the control chip 111 connects the second transmission channel 121 b to the second device interface 116 .

在步骤S330中,使用者可以触发集线器110的切换开关113,请同时配合第6图所示,其系为本申请的触发切换开关113的处理流程示意图。在触发切换开关113中包括以步骤:In step S330 , the user can trigger the switch 113 of the hub 110 , please also cooperate with FIG. 6 , which is a schematic diagram of the processing flow of triggering the switch 113 of the present application. The steps of triggering the switch 113 include:

步骤S331:触发集线器的切换开关;以及Step S331: trigger the switch of the hub; and

步骤S332:驱动集线器将第二传输通道切换并连接至第一设备接口。Step S332: Drive the hub to switch and connect the second transmission channel to the first device interface.

在集线器110连接USB3.0的USB设备130时,第二传输通道121b预设会连接至第二设备接口116。当使用者按压切换开关113时,控制晶片111根据触发讯号将第二传输通道121b从第二设备接口116切换至第一设备接口115,如第7图所示。于此同时,控制晶片111也会重置传输时脉,已确保来源端120与USB设备130的同步并保证数据资料的完整性。当第一设备接口115所连接的显示设备140被移除时,控制晶片111才会驱动切换电路112将第二传输通道121b改接至第一设备接口115。此外,若第二设备接口116为空接时,则第二传输通道121b预设会连接至第二设备接口116。When the hub 110 is connected to the USB 3.0 USB device 130 , the second transmission channel 121 b is preset to be connected to the second device interface 116 . When the user presses the switch 113 , the control chip 111 switches the second transmission channel 121 b from the second device interface 116 to the first device interface 115 according to the trigger signal, as shown in FIG. 7 . At the same time, the control chip 111 also resets the transmission clock to ensure the synchronization between the source end 120 and the USB device 130 and the integrity of the data. When the display device 140 connected to the first device interface 115 is removed, the control chip 111 drives the switching circuit 112 to connect the second transmission channel 121 b to the first device interface 115 . In addition, if the second device interface 116 is empty, the second transmission channel 121b will be connected to the second device interface 116 by default.

本申请的USB集线器110的资源切换系统100与方法可以根据所连接的USB设备130决定数据资料与影像资料的传输通道,借以保证影像播放的质量。而且本申请的集线器110可以识别所连接的USB设备130的通讯协议种类,进而选择相应的传输通道数量。相较于习知技术而言,本申请不需来源端120与驱动程式作为识别使用情况,因此本申请可以避免影像解析度的自动切换的问题。The resource switching system 100 and method of the USB hub 110 of the present application can determine the transmission channel of the data data and the video data according to the connected USB device 130, so as to ensure the quality of video playback. Moreover, the hub 110 of the present application can identify the communication protocol type of the connected USB device 130, and then select the corresponding number of transmission channels. Compared with the prior art, the present application does not need the source end 120 and the driver to identify the usage situation, so the present application can avoid the problem of automatic switching of image resolutions.

所述装置与前述的方法流程描述对应,不足之处参考上述方法流程的叙述,不再一一赘述。上述说明示出并描述了本申请的若干优选实施例,但如前所述,应当理解本申请并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述发明构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本申请的精神和范围,则都应在本申请所附权利要求的保护范围内。The device corresponds to the description of the aforementioned method flow, and for the deficiencies, please refer to the description of the aforementioned method flow, which will not be repeated one by one. The above description shows and describes several preferred embodiments of the present application, but as mentioned above, it should be understood that the present application is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various and other combinations, modifications and environments, and can be modified within the scope of the inventive concepts described herein, from the above teachings or from skill or knowledge in the relevant art. However, modifications and changes made by those skilled in the art do not depart from the spirit and scope of the present application, and should all fall within the protection scope of the appended claims of the present application.

Claims (10)

1. A resource switching system of a USB hub, wherein a data transmission channel of a source terminal is switched and used for accelerated transmission of data, the resource switching system of the USB hub comprising:
a source end having a second communication interface, the second communication interface having a first transmission channel, a second transmission channel and a third transmission channel;
a USB device; and
a hub electrically connected to the source terminal and the USB device, the hub having a switch circuit, a switch, a first communication interface, a first device interface, a second device interface and a control chip, the switch circuit being coupled to the first communication interface, the first device interface, the second device interface and the control chip, the switch being connected to the control chip, the first communication interface being connected to the second communication interface, the switch circuit being used to select the path of the second transmission channel, the first transmission channel being connected to the first device interface, the third transmission channel being connected to the second device interface, the first device interface and the second device interface being electrically connected to a GPIO pin of the control chip, the second device interface being connected to the USB device, the control chip identifying the communication type of the USB device through the GPIO pin, and determining whether the second transmission channel is connected to the first device interface or the second device interface.
2. The system of claim 1, wherein the USB devices are of the USB1.0 family, the USB2.0 family, and the USB3.0 family.
3. The system for switching resources of a USB hub according to claim 1, wherein if the USB device is USB1.0 or USB2.0, the control chip sends a first request to the source end to connect the second transmission channel to the first device interface, and if the USB device is USB3.0 or USB3.1, the control chip sends a second request to the source end to connect the second transmission channel to the second device interface.
4. The system of claim 1, wherein the switch is enabled to enable the control chip to send a first request to the source, and the second transmission channel is connected to the first device interface.
5. A USB hub, wherein the transmission channel of data is switched to speed up the data transmission, the USB hub comprising:
a first communication interface connected to a source end, the first communication interface having a first transmission channel, a second transmission channel and a third transmission channel;
A switch for generating a switching command when the switch is triggered;
a first device interface electrically connected to the first communication interface and the first transmission channel;
a second device interface electrically connected to the first communication interface and the third transmission channel, the second device interface having a plurality of data pins, the second device interface being used for connecting a USB device;
a switching circuit connected to the first communication interface for selecting the connection path of the second transmission channel; and
a control chip including a GPIO pin, the control chip being electrically connected to the switching circuit, the control chip switching the second transmission channel to be connected to the first device interface or the second device interface according to the type of the USB device, or the control chip connecting the second transmission channel to the first device interface according to the switching command.
6. The USB hub according to claim 5, wherein the USB devices are of the type including USB1.0 series, USB2.0 series, and USB3.0 series.
7. The USB hub according to claim 6, wherein if the USB device is USB1.0 or USB2.0, the control chip sends a first request to the source end to connect the second transmission channel to the first device interface, and if the USB device is USB3.0 or USB3.1, the control chip sends a second request to the source end to connect the second transmission channel to the second device interface.
8. A USB hub, wherein the transmission channel of data is switched to speed up the data transmission, the USB hub comprising:
a first communication interface connected to a source end, the first communication interface having a first transmission channel, a second transmission channel and a third transmission channel;
a switch for generating a switching command when the switch is triggered;
a control chip;
the first equipment interface is electrically connected with the first communication interface and the first transmission channel and is connected with a display device;
a second device interface electrically connected to the first communication interface and the third transmission channel, the second device interface having a plurality of data pins, the second device interface being connected to a USB device; and
a switching circuit connected to the first communication interface and the control chip;
when the display device is connected to the first device interface, the display device sends an extended display identification information to the control chip, and the switching circuit selects the second transmission channel to be connected to the first device interface or the second device interface.
9. The USB hub according to claim 8, wherein if the extended display identification information includes an ultra-resolution information (ULSI), the control circuit connects the second transmission channel to the first device interface.
10. The USB hub according to claim 8, wherein the control circuit connects the second transmission channel to the second equipment interface if the extended display identification information includes a full HD-resolution information (HD-full HD-resolution information) or an ultra-clear resource .
CN201910341650.5A 2019-04-26 2019-04-26 Resource switching system of USB hub Withdrawn CN111858420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910341650.5A CN111858420A (en) 2019-04-26 2019-04-26 Resource switching system of USB hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910341650.5A CN111858420A (en) 2019-04-26 2019-04-26 Resource switching system of USB hub

Publications (1)

Publication Number Publication Date
CN111858420A true CN111858420A (en) 2020-10-30

Family

ID=72951619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910341650.5A Withdrawn CN111858420A (en) 2019-04-26 2019-04-26 Resource switching system of USB hub

Country Status (1)

Country Link
CN (1) CN111858420A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541794A (en) * 2012-01-05 2012-07-04 威盛电子股份有限公司 Hub and method thereof
CN103902494A (en) * 2012-12-28 2014-07-02 宏碁股份有限公司 Interface expansion device
TW201638793A (en) * 2015-04-20 2016-11-01 瑞昱半導體股份有限公司 Combo chip for USB connector
WO2017088308A1 (en) * 2015-11-23 2017-06-01 西安中兴新软件有限责任公司 Universal serial bus interface mode controlling method, device and storage medium
WO2017197900A1 (en) * 2016-05-19 2017-11-23 中兴通讯股份有限公司 Usb switching method, device, and system
TWI615719B (en) * 2017-02-23 2018-02-21 宏正自動科技股份有限公司 Automatic switching apparatus and automatic switching method
CN207283696U (en) * 2017-10-13 2018-04-27 东莞市江涵电子有限公司 A USB3.1 multifunctional integrator
CN109286771A (en) * 2017-07-20 2019-01-29 青岛海信电器股份有限公司 A kind of terminal device and its control method
CN209543330U (en) * 2019-04-26 2019-10-25 昆山尚尼司电子科技有限公司 The resource switch system of usb hub

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541794A (en) * 2012-01-05 2012-07-04 威盛电子股份有限公司 Hub and method thereof
CN103902494A (en) * 2012-12-28 2014-07-02 宏碁股份有限公司 Interface expansion device
TW201638793A (en) * 2015-04-20 2016-11-01 瑞昱半導體股份有限公司 Combo chip for USB connector
WO2017088308A1 (en) * 2015-11-23 2017-06-01 西安中兴新软件有限责任公司 Universal serial bus interface mode controlling method, device and storage medium
WO2017197900A1 (en) * 2016-05-19 2017-11-23 中兴通讯股份有限公司 Usb switching method, device, and system
TWI615719B (en) * 2017-02-23 2018-02-21 宏正自動科技股份有限公司 Automatic switching apparatus and automatic switching method
CN109286771A (en) * 2017-07-20 2019-01-29 青岛海信电器股份有限公司 A kind of terminal device and its control method
CN207283696U (en) * 2017-10-13 2018-04-27 东莞市江涵电子有限公司 A USB3.1 multifunctional integrator
CN209543330U (en) * 2019-04-26 2019-10-25 昆山尚尼司电子科技有限公司 The resource switch system of usb hub

Similar Documents

Publication Publication Date Title
US11232057B2 (en) Terminal device and control method thereof
EP3657778B1 (en) Terminal device and control method therefor
CN107111588B (en) Data transfer using PCIe protocol via USB port
TWI552562B (en) Method, apparatus and system for transitioning an audio/video device between a source mode and a sink mode
CN107423169B (en) Method and system for testing high speed peripheral device interconnection equipment
US8615611B2 (en) Devices and methods for transmitting USB data over DisplayPort transmission media
US9990328B2 (en) Increased data flow in universal serial bus (USB) cables
CN204595844U (en) USB multi-computer switcher
US20130332642A1 (en) Method and system for using a standard connector to deliver display, data and power
EP3035171A1 (en) Apparatus, system and method for communication of touch sensor information
US9864607B2 (en) Methods and physical computer-readable storage media for initiating re-enumeration of USB 3.0 compatible devices
CN108509166A (en) automatic switching device and automatic switching method
CN111316253A (en) Method for increasing bandwidth of USB-C connector
TW201545053A (en) Electronic device and video data receiving method thereof
US10474604B2 (en) Transmitting universal serial bus (USB) data over alternate mode connection
TWM583078U (en) Resource switching system of USB hub
CN209543330U (en) The resource switch system of usb hub
CN113342592A (en) Disconnection detection method, device and medium for hot-plug equipment
TWI691847B (en) The resource switch system and method of the usb hub
CN111858420A (en) Resource switching system of USB hub
US8972621B1 (en) Methods, systems, and physical computer-readable media for multiplexing a single end-point memory structure between USB interfaces
CN117640448A (en) Sink device, digital system, and method of controlling CEC communication
Stan et al. Role of usb communication in modem engineering education
CN103902494A (en) Interface expansion device
CN102810054A (en) Display device and control method of display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201030