CN213751059U - USB interface switching device and system - Google Patents

USB interface switching device and system Download PDF

Info

Publication number
CN213751059U
CN213751059U CN202023089607.1U CN202023089607U CN213751059U CN 213751059 U CN213751059 U CN 213751059U CN 202023089607 U CN202023089607 U CN 202023089607U CN 213751059 U CN213751059 U CN 213751059U
Authority
CN
China
Prior art keywords
usb
interface
usb interface
power
switching unit
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.)
Active
Application number
CN202023089607.1U
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202023089607.1U priority Critical patent/CN213751059U/en
Application granted granted Critical
Publication of CN213751059U publication Critical patent/CN213751059U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The application provides a USB interface auto-change over device and system, the device includes: when the USB switching unit detects that the first USB interface is connected with the USB main equipment, the data transmission path of the USB switching unit and the first USB interface is controlled to be communicated, and the data transmission path of the USB switching unit and the second USB interface is controlled to be disconnected. Therefore, the data in the USB slave device can be automatically switched and read among the USB interfaces of the plurality of USB master devices.

Description

USB interface switching device and system
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a USB interface switching device and system.
Background
With the development of Universal Serial Bus (USB) technology, many electronic devices are provided with USB interfaces, through which communication connections can be conveniently established between various electronic devices for data exchange.
Electronic devices including USB interfaces can be divided into USB Host (referred to as a master Device) and USB Slave (referred to as a Slave Device), where USB Slave may also be referred to as a USB Device. When the USB Host is connected with the USB Device, data transmission can be realized. Under the condition that a plurality of electronic devices are used as USB hosts, how to read data in USB devices through USB interfaces of the plurality of USB hosts is an urgent problem to be solved.
SUMMERY OF THE UTILITY MODEL
The application provides a USB interface switching Device and a system, which are used for reading data in a USB Device through USB interfaces of a plurality of USB hosts.
In a first aspect, the present application provides a USB interface switching device, including: the USB interface comprises a first USB interface, a second USB interface, a third USB interface and a USB switching unit.
The USB switching unit is respectively connected with the first USB interface, the second USB interface and the third USB interface.
The USB switching unit is used for controlling the USB switching unit to be communicated with a data transmission passage of the first USB interface and controlling the USB switching unit to be disconnected with a data transmission passage of the second USB interface when the first USB interface is detected to be connected with the USB main equipment; when the first USB interface is detected to be disconnected with the USB main equipment and the second USB interface is detected to be connected with the USB main equipment, the USB switching unit is controlled to be disconnected with the data transmission passage of the first USB interface and the USB switching unit is controlled to be communicated with the data transmission passage of the second USB interface.
And the third USB interface is used for connecting the USB slave equipment.
Optionally, the USB switching unit includes a detection pin, and the detection pin is in communication connection with the first USB interface. And the detection pin is used for outputting a high level signal when the first USB interface is connected with the USB main equipment and outputting a low level signal when the first USB interface is not connected with the USB main equipment. And the USB switching unit is used for detecting that the first USB interface is connected with the USB main equipment when the detection pin outputs a high level signal, and detecting that the first USB interface is not connected with the USB main equipment when the detection pin outputs a low level signal.
Optionally, the detection pin is in communication connection with a pin D-and a pin D + of the first USB interface.
Optionally, the USB interface switching device further includes a power supply unit, and the power supply unit is connected to the USB switching unit. The power supply unit is used for supplying power to the USB switching unit.
Optionally, the first USB interface includes a first power interface, and the second USB interface includes a second power interface. And the first power interface is used for acquiring electric energy from the USB main equipment to supply power to the first USB interface when the first USB interface is connected with the USB main equipment. And the second power interface is used for acquiring electric energy from the USB main equipment to supply power to the second USB interface when the second USB interface is connected with the USB main equipment.
Optionally, the power supply unit is connected to the first power interface and the second power interface. And the power supply unit is used for acquiring the electric energy of the USB main equipment through the first power interface and supplying power to the USB switching unit when the first USB interface is connected with the USB main equipment, and acquiring the electric energy of the USB main equipment through the second power interface and supplying power to the USB switching unit when the second USB interface is connected with the USB main equipment.
Optionally, the USB interface switching device further includes a first switch unit and a second switch unit. The first switch unit is connected between the first USB interface and the power supply unit, and the second switch unit is connected between the second USB interface and the power supply unit. When the first USB interface is connected with the USB main equipment, the first switch unit is conducted, and the first power supply interface obtains electric energy from the USB main equipment to supply power to the power supply unit. When the second USB interface is connected with the USB main equipment, the second switch unit is conducted, and the second power supply interface obtains electric energy from the USB main equipment to supply power to the power supply unit.
Optionally, the power supply unit includes a voltage reduction circuit. And the voltage reduction circuit is used for outputting the voltage from the first power interface to the USB switching unit after voltage reduction processing, and outputting the voltage from the second power interface to the USB switching unit after voltage reduction processing.
Optionally, the first switching unit includes a diode or a transistor, and the second switching unit includes a diode or a transistor.
In a second aspect, the present application provides a USB interface switching system, including the USB interface switching apparatus according to the first aspect of the present application, a plurality of smart interactive tablets, and a storage device.
The intelligent interactive tablet is used as USB main equipment and connected with the first USB interface or the second USB interface of the first aspect of the application.
And the storage device is used as a USB slave device and connected with the third USB interface of the first aspect of the application.
According to the USB interface switching device and the USB interface switching system, when the USB switching unit detects that the first USB interface is connected with the USB main equipment, the data transmission path of the USB switching unit and the first USB interface is controlled to be communicated, and the data transmission path of the USB switching unit and the second USB interface is controlled to be disconnected. The USB switching unit switches different data transmission paths to be communicated by detecting whether the first USB interface and/or the second USB interface is/are connected with the USB master device, so that data in the USB slave device can be automatically switched and read among the USB interfaces of the plurality of USB master devices.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a USB interface switching device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a USB interface switching device according to another embodiment of the present application;
fig. 4 is a schematic diagram of a USB interface switching device according to another embodiment of the present application;
FIG. 5 is a schematic diagram of a USB interface switching device according to another embodiment of the present application;
FIG. 6 is a schematic diagram of a USB interface switching device according to another embodiment of the present application;
FIG. 7 is a schematic diagram of a USB interface switching system according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a USB interface switching system according to another embodiment of the present application;
FIG. 9 is a schematic diagram of a USB interface switching system according to another embodiment of the present application;
FIG. 10 is a diagram illustrating a USB interface switching system according to another embodiment of the present application;
fig. 11 is a schematic diagram of a USB interface switching system according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of USB technology, many electronic devices are provided with USB interfaces, through which communication connections can be conveniently established between various electronic devices for data exchange.
Electronic devices including USB interfaces can be divided into USB Host (referred to as a master Device) and USB Slave (referred to as a Slave Device), where USB Slave may also be referred to as a USB Device. When the USB Host is connected with the USB Device, data transmission can be realized. Under the condition that a plurality of electronic devices are used as USB hosts, how to read data in USB devices through USB interfaces of the plurality of USB hosts is an urgent problem to be solved.
Therefore, the present application provides a USB interface switching apparatus and system, when the USB switching unit detects that the first USB interface is connected to the USB master device, the USB switching unit is controlled to connect the data transmission path of the first USB interface and disconnect the data transmission path of the second USB interface, and the USB master device can obtain data from the USB slave device through the first USB interface. When the USB switching unit detects that the first USB interface is not connected with the USB master device and detects that the second USB interface is connected with the USB master device, the USB switching unit is controlled to be disconnected with a data transmission path of the first USB interface and is controlled to be communicated with a data transmission path of the second USB interface, and the USB master device can acquire data from the USB slave device through the second USB interface.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application, and as shown in fig. 1, an intelligent interactive tablet 110 serving as a USB Host and an intelligent interactive tablet 130 serving as a USB Host read data from a USB disk 120 serving as a USB Device. The smart interactive tablet 110 includes a first USB interface 111, and the smart interactive tablet 130 includes a second USB interface 131. The smart interactive tablet 110 reads data in the USB disk 120 through the first USB interface 111 or the smart interactive tablet 130 through the second USB interface 131. The device as the USB Host is not limited to the smart interactive tablet, and the application is not limited thereto. The specific implementation process can be seen in the schemes of the following embodiments.
Fig. 2 is a schematic diagram of a USB interface switching device according to an embodiment of the present application, and as shown in fig. 2, the USB interface switching device 200 includes: a first USB interface 210, a second USB interface 220, a third USB interface 290, and a USB switching unit 230.
The USB switching unit 230 is connected to the first USB interface 210, the second USB interface 220, and the third USB interface 290, respectively.
The USB switching unit 230 is configured to, when it is detected that the first USB interface 210 is connected to the USB host device, control the USB switching unit 230 to be connected to the data transmission path of the first USB interface 210 and control the USB switching unit 230 to be disconnected from the data transmission path of the second USB interface 220; when detecting that the first USB interface 210 is not connected to the USB host device and detecting that the second USB interface 220 is connected to the USB host device, the USB switching unit 230 is controlled to disconnect the data transmission path of the first USB interface 210 and the USB switching unit 230 is controlled to connect the data transmission path of the second USB interface 220.
And a third USB interface 290 for connecting USB slave devices.
In this embodiment, the interface switching device 200 is provided with a first USB interface 210, a second USB interface 220, a third USB interface 290 and a USB switching unit 230. The USB switching unit 230 is, for example, a USB signal switch, and the USB signal switch is connected to the first USB interface 210, the second USB interface 220, and the third USB interface 290 respectively. And a third USB interface 290 for connecting USB slave devices.
Specifically, when the first USB interface 210 is connected to the USB Host device (USB Host), the USB switching unit 230 detects that the first USB interface 210 is connected to the USB Host device, and therefore, the USB switching unit 230 controls its data transmission path to be connected to the first USB interface 210, while the USB switching unit 230 controls its data transmission path to be disconnected from the second USB interface 220. The USB master Device may obtain data from a USB slave Device (USB Device) via the third USB interface 290 through the first USB interface 210.
When the first USB interface 210 is not connected to the USB host and the second USB interface 220 is connected to the USB host, the USB switching unit 230 detects that the first USB interface 210 is not connected to the USB host and detects that the second USB interface 220 is connected to the USB host, so that the USB switching unit 230 controls the data transmission path to be disconnected from the first USB interface 210 and the USB switching unit 230 controls the data transmission path to be connected to the second USB interface 220. The USB master device may obtain data from the USB slave device via the second USB interface 220 via the third USB interface 290.
The USB interface switching apparatus provided by the present application controls the USB switching unit 230 to communicate with the data transmission path of the first USB interface 210 and controls the USB switching unit 230 to disconnect with the data transmission path of the second USB interface 220 when the USB switching unit 230 detects that the first USB interface 210 is connected to the USB host device, and controls the USB switching unit 230 to disconnect with the data transmission path of the first USB interface 210 and controls the USB switching unit 230 to communicate with the data transmission path of the second USB interface 220 when the USB switching unit detects that the first USB interface 210 is not connected to the USB host device and detects that the second USB interface 220 is connected to the USB host device. The USB switching unit 230 switches different data transmission paths to communicate by detecting whether the first USB interface 210 and/or the second USB interface 220 are connected to the USB master device, so as to automatically switch and read data in the USB slave device among USB interfaces of multiple USB master devices.
On the basis of any of the above-mentioned embodiments, fig. 3 is a schematic diagram of a USB interface switching apparatus according to another embodiment of the present application, and as shown in fig. 3, the USB switching unit 230 includes a detection pin 231, and the detection pin 231 is communicatively connected to the first USB interface 210. The detection pin 231 is configured to output a high level signal when the first USB interface 210 is connected to a USB host device, and output a low level signal when the first USB interface 210 is not connected to the USB host device. The USB switching unit 230 is configured to detect that the first USB interface 210 is connected to the USB host device when the detection pin 231 outputs a high level signal, and detect that the first USB interface 210 is not connected to the USB host device when the detection pin 231 outputs a low level signal.
In this embodiment, the USB switching unit 230 is provided with a detection pin 231, and the detection pin 231 is connected to the first USB interface 210 for communication. When the first USB interface 210 is connected to the USB host device, the detection pin 231 of the USB switching unit 230 outputs a high level signal, and therefore, the USB switching unit 230 detects that the first USB interface 210 is connected to the USB host device. When the first USB interface 210 is not connected to the USB host device, the detection pin 231 of the USB switching unit 230 outputs a low signal, so the USB switching unit 230 detects that the first USB interface 210 is not connected to the USB host device.
On the basis of any of the above-described embodiments, the detection pin 231 is communicatively connected to the pin D-and the pin D + of the first USB interface.
In this embodiment, specifically, the detection pin 231 includes a detection pin D + and a detection pin D +, wherein the detection pin D + is connected to the pin D + of the first USB interface 210 through a bus to output a high level signal; the detection pin D-is connected to the pin D-of the first USB interface 210 through a bus to output a low level signal.
On the basis of any of the above-mentioned embodiments, fig. 4 is a schematic diagram of a USB interface switching apparatus according to another embodiment of the present application, and as shown in fig. 4, the USB interface switching apparatus 200 further includes a power supply unit 240, and the power supply unit 240 is connected to the USB switching unit 230. The power supply unit 240 is used to supply power to the USB switching unit 230.
In this embodiment, the power supply unit 240 is connected to the USB switching unit 230 to supply power to the USB switching unit 230.
On the basis of any of the above-mentioned embodiments, fig. 5 is a schematic diagram of a USB interface switching apparatus according to another embodiment of the present application, and as shown in fig. 5, the first USB interface 210 includes a first power interface 250, and the second USB interface 220 includes a second power interface 260. The first power interface 250 is configured to obtain power from the USB host device to supply power to the first USB interface 210 when the first USB interface 210 is connected to the USB host device. The second power interface 260 is configured to obtain power from the USB host device to supply power to the second USB interface 220 when the second USB interface 220 is connected to the USB host device.
In this embodiment, the first USB interface includes a first power interface 250, and when the first USB interface 210 is connected to a USB host device, the first power interface 250 obtains power from the USB host device to supply power to the first USB interface 210. The second USB interface includes a second power interface 260, and when the second USB interface 220 is connected to the USB host device, the second power interface 260 obtains power from the USB host device to supply power to the second USB interface 220.
On the basis of any of the above illustrated embodiments, the power supply unit 240 is connected to the first power interface 250 and the second power interface 260. The power supply unit 240 is configured to obtain the power of the USB host device through the first power interface 250 and supply power to the USB switching unit 230 when the first USB interface 210 is connected to the USB host device, and obtain the power of the USB host device through the second power interface 260 and supply power to the USB switching unit 230 when the second USB interface 220 is connected to the USB host device.
In this embodiment, the power supply unit 240 is connected to the first power interface 250, and when the first USB interface 210 is connected to the USB host device, the power supply unit 240 obtains the power of the USB host device through the first power interface 250 and supplies power to the USB switching unit 230 connected thereto. The power supply unit 240 is connected to the second power interface 260, and when the second USB interface 220 is connected to the USB host device, the power supply unit 240 obtains the power of the USB host device through the second power interface 260 and supplies power to the USB switching unit 230 connected thereto.
On the basis of any of the above-mentioned embodiments, fig. 6 is a schematic diagram of a USB interface switching apparatus according to another embodiment of the present application, and as shown in fig. 6, the USB interface switching apparatus 200 further includes a first switch unit 270 and a second switch unit 280. The first switching unit 270 is connected between the first USB interface 210 and the power supply unit 240, and the second switching unit 280 is connected between the second USB interface 220 and the power supply unit 240. When the first USB interface 210 is connected to the USB host device, the first switch unit 270 is turned on, and the first power interface 250 obtains power from the USB host device to supply power to the power supply unit 240. When the second USB interface 220 is connected to the USB host device, the second switch unit 280 is turned on, and the second power interface 260 obtains power from the USB host device to supply power to the power supply unit 240.
In this embodiment, the first switch unit 270 is connected between the first USB interface 210 and the power supply unit 240, and when the first USB interface 210 is connected to the USB host device, the first switch unit 270 is turned on, so that the first power interface 250 of the first USB interface 210 obtains power from the USB host device to supply power to the power supply unit 240. The second switching unit 280 is connected between the second USB interface 220 and the power supply unit 240, and when the second USB interface 220 is connected to the USB host device, the second switching unit 280 is turned on, so that the power is obtained from the USB host device through the second power interface 260 of the second USB interface 220 to supply power to the power supply unit 240.
On the basis of any of the above illustrated embodiments, the power supply unit 240 includes a voltage step-down circuit. The voltage dropping circuit is configured to drop the voltage from the first power interface 250 and output the voltage to the USB switching unit 230, and drop the voltage from the second power interface 260 and output the voltage to the USB switching unit 230.
In this embodiment, the voltage dropping circuit of the power supply unit 240 is, for example, a low dropout regulator (LDO), and the LDO subtracts an excess voltage from an input voltage to generate a regulated output voltage, for example, after dropping a voltage of 5V from the first power interface 250, outputs a voltage of 3.3V to the USB switching unit 230 to supply power to the USB switching unit 230. Optionally, the voltage-reducing circuit of the power supply unit 240 is, for example, a Direct Current/Direct Current (DC/DC) converter, and the DC/DC converter effectively outputs a fixed voltage after converting an input voltage, for example, after reducing the voltage of 5V from the first power interface 250, outputs a voltage of 3.3V to the USB switching unit 230 to supply power to the USB switching unit 230.
On the basis of any of the above-described embodiments, the first switching unit 270 includes a diode or a transistor, and the second switching unit 280 includes a diode or a transistor.
In this embodiment, for example, the first switch unit 270 is a diode, for example, an anode of the diode is connected to the first USB interface 210, and a cathode of the diode is connected to the power supply unit 240. The second switching unit 280 is a diode, for example, the anode of the diode is connected to the second USB interface 220, and the cathode of the diode is connected to the power supply unit 240. When the first USB interface 210 is connected to the USB host device, the diode corresponding to the first switch unit 270 is turned on, and the first power interface 250 supplies power to the power supply unit 240; when the second USB interface 220 is connected to the USB host device, the diode corresponding to the second switch unit 280 is turned on, and the second power interface 260 supplies power to the power supply unit 240.
Fig. 7 is a schematic diagram of a USB interface switching system according to an embodiment of the present application, and as shown in fig. 7, the USB interface switching system 700 includes a first USB interface 210, a second USB interface 220, a third USB interface 290, a USB switching unit 230, a plurality of intelligent interactive tablets 710, and a storage device 720. The USB switching unit 230 is connected to the first USB interface 210, the second USB interface 220, and the third USB interface 290, respectively.
And the intelligent interaction tablet 710 is connected with the first USB interface 210 or the second USB interface 220 as a USB master device.
The storage device 720 is connected as a USB slave to the third USB interface 290.
The USB switching unit 230 is configured to, when it is detected that the first USB interface 210 is connected to the USB host device, control the USB switching unit 230 to be connected to the data transmission path of the first USB interface 210 and control the USB switching unit 230 to be disconnected from the data transmission path of the second USB interface 220; when detecting that the first USB interface 210 is not connected to the USB host device and detecting that the second USB interface 220 is connected to the USB host device, the USB switching unit 230 is controlled to disconnect the data transmission path of the first USB interface 210 and the USB switching unit 230 is controlled to connect the data transmission path of the second USB interface 220.
And a third USB interface 290 for connecting USB slave devices.
In this embodiment, the USB interface switching system 700 includes a first USB interface 210, a second USB interface 220, a USB switching unit 230, a third USB interface 290, a plurality of smart interactive tablets 710, and a storage device 720. Each smart interactive tablet 710 includes a USB interface for connecting to the first USB interface 210 or the second USB interface 220. The storage device 720 includes a USB interface and is connected to the third USB interface 290, and the storage device 720 is, for example, a USB disk. The USB switching unit 230 is, for example, a USB signal switch, and the USB signal switch is connected to the first USB interface 210, the second USB interface 220, and the third USB interface 290, respectively. And a third USB interface 290 for connecting USB slave devices.
Specifically, when the first USB interface 210 is connected to the USB Host Device (USB Host), i.e. the smart interactive tablet 710, the USB switching unit 230 detects that the first USB interface 210 is connected to the smart interactive tablet 710, and therefore, the USB switching unit 230 controls the data transmission path thereof to communicate with the first USB interface 210, and the smart interactive tablet 710 obtains data from the USB slave Device (USB Device), i.e. the storage Device 720, through the third USB interface 290 via the first USB interface 210. Meanwhile, the USB switching unit 230 controls the data transmission path to be disconnected from the second USB interface 220.
When the first USB interface 210 is not connected to the smart interactive tablet 710 and the second USB interface 220 is connected to the smart interactive tablet 710, the USB switching unit 230 detects that the first USB interface 210 is not connected to the smart interactive tablet 710 and detects that the second USB interface 220 is connected to the smart interactive tablet 710, so that the USB switching unit 230 controls the data transmission path between the USB switching unit and the first USB interface 210 to be disconnected, and simultaneously the USB switching unit 230 controls the data transmission path between the USB switching unit and the second USB interface 220 to be connected, and the smart interactive tablet 710 obtains data from the storage device 720 through the second USB interface 220 via the third USB interface 290.
According to the USB interface switching system provided by the application, when the USB switching unit 230 detects that the first USB interface 210 is connected to the intelligent interactive flat plate 710, the USB switching unit 230 is controlled to communicate with the data transmission path of the first USB interface 210, the intelligent interactive flat plate 710 obtains data from the storage device 720 through the third USB interface 290 via the first USB interface 210, and simultaneously the USB switching unit 230 is controlled to disconnect from the data transmission path of the second USB interface 220; when the USB switching unit detects that the first USB interface 210 is not connected to the smart interactive tablet 710 and detects that the second USB interface 220 is connected to the smart interactive tablet 710, the USB switching unit 230 is controlled to disconnect the data transmission path of the first USB interface 210 and the USB switching unit 230 is controlled to connect the data transmission path of the second USB interface 220, and the smart interactive tablet 710 obtains data from the storage device 720 through the second USB interface 220 via the third USB interface 290. The USB switching unit 230 switches different data transmission paths to communicate by detecting whether the first USB interface 210 and/or the second USB interface 220 are connected to the smart interactive tablet 710, so as to automatically switch and read data in the USB slave device among USB interfaces of multiple USB master devices.
On the basis of any of the above-mentioned embodiments, fig. 8 is a schematic diagram of a USB interface switching system according to another embodiment of the present application, and as shown in fig. 8, the USB switching unit 230 includes a detection pin 231, and the detection pin 231 is communicatively connected to the first USB interface 210. The detection pin 231 is configured to output a high level signal when the first USB interface 210 is connected to a USB host device, and output a low level signal when the first USB interface 210 is not connected to the USB host device. The USB switching unit 230 is configured to detect that the first USB interface 210 is connected to the USB host device when the detection pin 231 outputs a high level signal, and detect that the first USB interface 210 is not connected to the USB host device when the detection pin 231 outputs a low level signal.
In this embodiment, the USB switching unit 230 is provided with a detection pin 231, and the detection pin 231 is connected to the first USB interface 210 for communication. When the first USB interface 210 is connected to the USB host device, the detection pin 231 of the USB switching unit 230 outputs a high level signal, and therefore, the USB switching unit 230 detects that the first USB interface 210 is connected to the USB host device. When the first USB interface 210 is not connected to the USB host device, the detection pin 231 of the USB switching unit 230 outputs a low signal, so the USB switching unit 230 detects that the first USB interface 210 is not connected to the USB host device.
On the basis of any of the above-described embodiments, the detection pin 231 is communicatively connected to the pin D-and the pin D + of the first USB interface.
In this embodiment, specifically, the detection pin 231 includes a detection pin D + and a detection pin D +, wherein the detection pin D + is connected to the pin D + of the first USB interface 210 through a bus to output a high level signal; the detection pin D-is connected to the pin D-of the first USB interface 210 through a bus to output a low level signal.
On the basis of any of the above-mentioned embodiments, fig. 9 is a schematic diagram of a USB interface switching system according to another embodiment of the present application, and as shown in fig. 9, the USB interface switching system 700 further includes a power supply unit 240, and the power supply unit 240 is connected to the USB switching unit 230. The power supply unit 240 is used to supply power to the USB switching unit 230.
In this embodiment, the power supply unit 240 is connected to the USB switching unit 230 to supply power to the USB switching unit 230.
On the basis of any of the above-mentioned embodiments, fig. 10 is a schematic diagram of a USB interface switching system according to another embodiment of the present application, and as shown in fig. 10, a first USB interface 210 in a USB interface switching system 700 includes a first power interface 250, and a second USB interface 220 includes a second power interface 260. The first power interface 250 is configured to obtain power from the USB host device to supply power to the first USB interface 210 when the first USB interface 210 is connected to the USB host device. The second power interface 260 is configured to obtain power from the USB host device to supply power to the second USB interface 220 when the second USB interface 220 is connected to the USB host device.
In this embodiment, the first USB interface 210 includes a first power interface 250, and when the first USB interface 210 is connected to a USB host device, the first power interface 250 obtains power from the USB host device to supply power to the first USB interface 210. The second USB interface 220 includes a second power interface 260, and when the second USB interface 220 is connected to a USB host device, the second power interface 260 obtains power from the USB host device to supply power to the second USB interface 220.
On the basis of any of the above illustrated embodiments, the power supply unit 240 is connected to the first power interface 250 and the second power interface 260. The power supply unit 240 is configured to obtain the power of the USB host device through the first power interface 250 and supply power to the USB switching unit 230 when the first USB interface 210 is connected to the USB host device, and obtain the power of the USB host device through the second power interface 260 and supply power to the USB switching unit 230 when the second USB interface 220 is connected to the USB host device.
In this embodiment, the power supply unit 240 is connected to the first power interface 250, and when the first USB interface 210 is connected to the USB host device, the power supply unit 240 obtains the power of the USB host device through the first power interface 250 and supplies power to the USB switching unit 230 connected thereto. The power supply unit 240 is connected to the second power interface 260, and when the second USB interface 220 is connected to the USB host device, the power supply unit 240 obtains the power of the USB host device through the second power interface 260 and supplies power to the USB switching unit 230 connected thereto.
On the basis of any of the above-mentioned embodiments, fig. 11 is a schematic diagram of a USB interface switching system according to another embodiment of the present application, and as shown in fig. 11, the USB interface switching system 700 further includes a first switch unit 270 and a second switch unit 280. The first switching unit 270 is connected between the first USB interface 210 and the power supply unit 240, and the second switching unit 280 is connected between the second USB interface 220 and the power supply unit 240. When the first USB interface 210 is connected to the USB host device, the first switch unit 270 is turned on, and the first power interface 250 obtains power from the USB host device to supply power to the power supply unit 240. When the second USB interface 220 is connected to the USB slave host device, the second switch unit 280 is turned on, and the second power interface 260 obtains power from the USB master device to supply power to the power supply unit 240.
In this embodiment, the first switch unit 270 is connected between the first USB interface 210 and the power supply unit 240, and when the first USB interface 210 is connected to the USB host device, the first switch unit 270 is turned on, so that the first power interface 250 connected through the first USB interface 210 obtains power from the USB host device to supply power to the power supply unit 240. The second switching unit 280 is connected between the second USB interface 220 and the power supply unit 240, and when the second USB interface 220 is connected to the USB host device, the second switching unit 280 is turned on, so that the second power interface 260 connected through the second USB interface 220 obtains power from the USB host device to supply power to the power supply unit 240.
On the basis of any of the above illustrated embodiments, the power supply unit 240 includes a voltage step-down circuit. The voltage dropping circuit is configured to drop the voltage from the first power interface 250 and output the voltage to the USB switching unit 230, and drop the voltage from the second power interface 260 and output the voltage to the USB switching unit 230.
In this embodiment, the voltage dropping circuit of the power supply unit 240 is optionally, for example, an LDO, which subtracts an excess voltage from an input voltage to generate a regulated output voltage, for example, after dropping a 5V voltage from the first power interface 250, outputs a 3.3V voltage to the USB switching unit 230 to supply power to the USB switching unit 230. Alternatively, the voltage-reducing circuit of the power supply unit 240 is, for example, a DC/DC converter, and effectively outputs a fixed voltage after converting the input voltage, for example, after reducing the voltage of 5V from the first power interface 250, the voltage of 3.3V is output to the USB switching unit 230, so as to supply power to the USB switching unit 230.
On the basis of any of the above-described embodiments, the first switching unit 270 includes a diode or a transistor, and the second switching unit 280 includes a diode or a transistor.
In this embodiment, for example, the first switch unit 270 is a diode, for example, an anode of the diode is connected to the first USB interface 210, and a cathode of the diode is connected to the power supply unit 240. The second switching unit 280 is a diode, for example, the anode of the diode is connected to the second USB interface 220, and the cathode of the diode is connected to the power supply unit 240. When the first USB interface 210 is connected to the USB host device, the diode corresponding to the first switch unit 270 is turned on, and the first power interface 250 supplies power to the power supply unit 240; when the second USB interface 220 is connected to the USB host device, the diode corresponding to the second switch unit 280 is turned on, and the second power interface 260 supplies power to the power supply unit 240.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A USB interface switching device, comprising: the USB switching device comprises a first USB interface, a second USB interface, a third USB interface and a USB switching unit;
the USB switching unit is respectively connected with the first USB interface, the second USB interface and the third USB interface;
the USB switching unit is used for controlling the USB switching unit to be communicated with a data transmission path of the first USB interface and controlling the USB switching unit to be disconnected with a data transmission path of the second USB interface when the first USB interface is detected to be connected with a USB master device; when the first USB interface is detected to be disconnected with the USB main equipment and the second USB interface is detected to be connected with the USB main equipment, the data transmission path of the USB switching unit and the data transmission path of the first USB interface are controlled to be disconnected and the data transmission path of the USB switching unit and the data transmission path of the second USB interface are controlled to be connected;
and the third USB interface is used for connecting USB slave equipment.
2. The apparatus of claim 1, wherein the USB switching unit comprises a detection pin communicatively coupled to the first USB interface;
the detection pin is used for outputting a high level signal when the first USB interface is connected with the USB main equipment and outputting a low level signal when the first USB interface is not connected with the USB main equipment;
the USB switching unit is configured to detect that the first USB interface is connected to the USB host device when the detection pin outputs a high level signal, and detect that the first USB interface is not connected to the USB host device when the detection pin outputs a low level signal.
3. The apparatus of claim 2, wherein the detection pin is communicatively coupled to pin D-and pin D + of the first USB interface.
4. The device according to any one of claims 1 to 3, further comprising a power supply unit connected to the USB switching unit;
the power supply unit is used for supplying power to the USB switching unit.
5. The apparatus of claim 4, wherein the first USB interface comprises a first power interface, and wherein the second USB interface comprises a second power interface;
the first power interface is used for acquiring electric energy from the USB main equipment to supply power to the first USB interface when the first USB interface is connected with the USB main equipment;
and the second power interface is used for acquiring electric energy from the USB main equipment to supply power to the second USB interface when the second USB interface is connected with the USB main equipment.
6. The apparatus of claim 5, wherein the power supply unit is connected to the first power interface and the second power interface;
and the power supply unit is used for acquiring the electric energy of the USB main equipment through the first power interface and supplying power to the USB switching unit when the first USB interface is connected with the USB main equipment, and acquiring the electric energy of the USB main equipment through the second power interface and supplying power to the USB switching unit when the second USB interface is connected with the USB main equipment.
7. The apparatus of claim 6, further comprising a first switching unit and a second switching unit;
the first switch unit is connected between the first USB interface and the power supply unit, and the second switch unit is connected between the second USB interface and the power supply unit;
when the first USB interface is connected with the USB main equipment, the first switch unit is conducted, and the first power supply interface acquires electric energy from the USB main equipment to supply power to the power supply unit;
when the second USB interface is connected with the USB main equipment, the second switch unit is conducted, and the second power supply interface obtains electric energy from the USB main equipment to supply power to the power supply unit.
8. The apparatus of claim 7, wherein the power supply unit comprises a voltage step-down circuit;
the voltage reduction circuit is used for outputting the voltage from the first power interface to the USB switching unit after voltage reduction processing, and outputting the voltage from the second power interface to the USB switching unit after voltage reduction processing.
9. The apparatus of claim 7 or 8, wherein the first switching unit comprises a diode or a transistor and the second switching unit comprises a diode or a transistor.
10. A USB interface switching system, comprising the USB interface switching apparatus according to any one of claims 1 to 9, a plurality of smart interactive tablets, and a storage device;
the intelligent interactive flat plate is used as USB main equipment and is connected with the first USB interface or the second USB interface in the USB interface switching device;
and the storage equipment is used as USB slave equipment and is connected with the third USB interface in the USB interface switching device.
CN202023089607.1U 2020-12-18 2020-12-18 USB interface switching device and system Active CN213751059U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023089607.1U CN213751059U (en) 2020-12-18 2020-12-18 USB interface switching device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023089607.1U CN213751059U (en) 2020-12-18 2020-12-18 USB interface switching device and system

Publications (1)

Publication Number Publication Date
CN213751059U true CN213751059U (en) 2021-07-20

Family

ID=76835978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023089607.1U Active CN213751059U (en) 2020-12-18 2020-12-18 USB interface switching device and system

Country Status (1)

Country Link
CN (1) CN213751059U (en)

Similar Documents

Publication Publication Date Title
US20200287403A1 (en) Method of controlling an output power of a charging device, a circuit, and a charging device
EP3086433A1 (en) Charging method, alternating current adaptor, charging management device and terminal
CN102810880B (en) Power supply control method, power supply control device and electronic device
CN112671084B (en) USB device and operation method thereof
CN105932733B (en) OTG power supply and its method of supplying power to, OTG equipment and mobile communication equipment
US20230042872A1 (en) Mobile power supply and method for supplying power to peripheral device
CN109921481A (en) To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
CN103809723A (en) Equipment cabinet and power source control method thereof
CN111211602A (en) Super capacitor charge-discharge module, charge-discharge method and power terminal
CN104868573A (en) Power adapter and quick charging switching method
CN115395762A (en) Single-inductor voltage transformation multi-voltage independent output circuit and related product
CN104778140A (en) USB (Universal Serial Bus) automatic identification and conduction system of star-shaped framework and method thereof
CN108599530A (en) A kind of powering mode converter and powering mode conversion method
CN103092304B (en) The power control method of two video card module and the computer apparatus of application the method
CN213751059U (en) USB interface switching device and system
CN111224438A (en) Electronic device with universal sequence bus C-type connector
CN112115087A (en) Universal serial bus adapter and system
CN108683236A (en) A kind of mobile terminal OTG charging methods and device
US10481576B2 (en) Method and device for implementing connection control
CN204539366U (en) Electronic installation
CN113672067B (en) Lightning docking station and configuration device
CN211981525U (en) Super capacitor charge-discharge module and power terminal
CN111585454A (en) Support two Type-c mouth adapters of audio and video data intercommunication
CN207098196U (en) Socket
CN201928074U (en) Spare power supply and back panel device thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant