Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for multiple USB master device for sharing USB slave device

A technology for sharing devices and ports, applied in the fields of instruments, electrical digital data processing, etc., can solve the problems of speed embedded system performance limitations, blocking unconnected masters from accessing information, and high system costs, achieving high-speed device resource sharing. Effect

Inactive Publication Date: 2011-05-04
SUNPLUS TECH CO LTD +1
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But it has the following disadvantages: for each Host, each Device (master device) needs to have an Image
[0005] (Image) Save the slave device information, and therefore need to block the direct connection between the slave device and the master device, need to transmit USB information through the embedded system, the system cost is high, and the resources of the embedded system need to be occupied when switching the master device , and the rate is limited by the performance of the embedded system
Although each device can be seen as online by each host, it is still necessary to block the access information of unconnected hosts

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for multiple USB master device for sharing USB slave device
  • Method and device for multiple USB master device for sharing USB slave device
  • Method and device for multiple USB master device for sharing USB slave device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0052] image 3 Shown is a schematic diagram of the structure and connection relationship of the UBS sharing device in the first embodiment. As shown in the figure, the USB sharing device is respectively connected to a PC host (PC Host), an embedded host (EmbeddedHost) and multiple USB slave devices (Device 1#-3#).

[0053] The USB sharing device includes: a microcontroller (MCU), a 2×1 selection switch (2×1SWITCH), a USB hub (USB HUB) that supports at least 2 master devices (can be changed according to the number of master devices) ) and an external switch (Ext Switch). The two connection ports 1A, 1B and one common port 1a of the 2×1 selection switch are respectively connected to the host port of the embedded host, the PC host and the USB hub. 2 x 1 selector switch via control port (included Figure 4A The Enable terminal and A / B terminal in the figure and the terminal that transmits instructions to the MCU not shown in the figure) are connected to the MCU and an external...

no. 2 example

[0076] The structure of the USB sharing device in this embodiment is as follows: Figure 5 As shown, including MCU, 3 2 × 1 selection switches, a USB hub and an external switch. The connection between the USB hub and the MCU is used as a control channel, the master port of the USB hub is connected to the PC host, and its 3 slave ports are respectively connected to 3 2*1 selection switches (structure can be compared with Figure 4A same) to a connection port 1A. The other connection ports 1B of the three 2×1 selection switches are serially connected to the embedded host, and the common ports 1a of the three 2×1 selection switches are respectively connected to three USB slave devices. At the same time, each 2×1 selection switch has a control port connected with the MCU. The MCU is connected to an external switch to control its opening and closing, and one end of the external switch is connected to a power supply. The communication between the MCU and the embedded host and PC ...

no. 3 example

[0087] The structure of the USB sharing device of this embodiment is as Figure 6 As shown, it includes 2 (the same number as the master device) 1×3 selection switch, the 3 connection ports of each switch are respectively connected to 3 USB slave devices, the common port of one switch is connected to the PC host, and the other A common port of the switch is connected to the embedded host. In addition, the control ports (S0 and S1 ports in the figure) of the two switches are connected to the embedded host. where 1 x 3 selector switches can be employed with Figure 4B The 1×3 switch shown has the same structure, except that the common port is changed to connect with the USB host device during connection.

[0088] It can be seen that the two 1×3 selection switches are parallel connected to each USB slave device in a shifted and staggered manner, so that the selection control lines of the two switches can be connected in parallel, and each USB slave device is connected to the 1×...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and a device, wherein, a plurality of USB primary devices share USB slave devices. The device of the invention comprises a control module and a selection module which are connected with each other, wherein, ports on one side of the selection module are used for being connected to one or a plurality of USB slave devices; ports on the other side of the selection module are used for being connected with a plurality of USB primary devices; the device is provided with an off state and an on state, and the ports corresponding to the USB slave devices are communicated with the ports corresponding to the USB primary devices under different on states; the control module is connected with a control port of the selection module and used for transmitting a control signal to the control port which is then allowed to be on a corresponding state; when switching is required, a currently connected USB primary device transmits an off instruction to the control module which controls the selection module to disconnect a USB slave device and then controls the selection module to communicate the USB slave device and different USB primary devices. The invention can still provide high-speed device resource sharing under the condition that limited resources of slave lines and embedded systems are not used.

Description

technical field [0001] The invention relates to a USB device, in particular to a method and a device for sharing a USB slave device with multiple USB master devices. Background technique [0002] USB (Universal Serial Bus) is currently the most popular external bus on personal computers, which can be easily installed and used by ordinary users. And some embedded devices, in addition to having the characteristics of the slave end, also have the characteristics of the master end, which can access the resources of the slave end. However, USB is a master-slave bus communication format, and its network topology is a tree topology. If there is a USB slave device that can be shared by the embedded system and the personal computer system, the usual practice is to plug and unplug the USB Line, choose to connect to the PC side or the embedded system side. [0003] figure 1 It shows the situation that the embedded host (Embedded Host) wants to share the USB resource under the PC hos...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/40G06F13/42
Inventor 喻强张进
Owner SUNPLUS TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More