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 direction of instruments, electrical digital data processing, etc., can solve the problems of speed embedded system performance limitation, high system cost, occupying embedded systems, etc., to achieve the effect of high-speed device resource sharing

Inactive Publication Date: 2008-08-06
SUNPLUS TECH CO LTD +1
View PDF1 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it has the following disadvantages: for each Host, each Device (master device) needs to have an Image (image) to save the information of the slave device, and therefore it is necessary to block the direct connection between the slave device and the master device. The system transmits USB information, the system cost is high, and the resources of the embedded system need to be occupied when switching the master device, and the speed 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

[0051] 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#).

[0052] The USB sharing device includes: a microcontroller (MCU), a 2x1 selection switch (2x1SWITCH), 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 2x1 selection switch are respectively connected to the host port of the embedded host, the PC host and the USB hub. 2x1 selector switch via control port (includes 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 swi...

no. 2 example

[0075] The structure of the USB sharing device in this embodiment is as follows: Figure 5 As shown, includes MCU, three 2x1 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 2x1 selection switches (structure can be compared with Figure 4A same) to a connection port 1A. The other connection ports 1B of the three 2x1 selection switches are serially connected to the embedded host, and the common ports 1a of the three 2x1 selection switches are respectively connected to three USB slave devices. At the same time, each 2x1 selection switch has a control port connected to 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 and PC hosts ...

no. 3 example

[0086] The structure of the USB sharing device of this embodiment is as Image 6 As shown, it includes 2 (the same number as the master device) 1x3 selection switches, 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 switch common port to connect 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 the 1x3 selector switch can be employed with Figure 4B The 1x3switch shown has the same structure, except that the common port is changed to connect with the USB host device when connecting.

[0087] It can be seen that the two 1x3 selection switches are 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 a different connection of th...

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
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