Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and equipment for realizing USB endpoint multiplexing

A device and endpoint technology, applied in the field of USB endpoint multiplexing, can solve problems such as inability to correspond to multiple USB functional devices, and achieve the effect of improving user experience

Inactive Publication Date: 2010-07-14
HUAWEI DEVICE CO LTD
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present invention provides a method and device for implementing USB endpoint multiplexing, so as to solve the problem that a set of USB endpoints of a USB device cannot correspond to multiple USB functional devices

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 equipment for realizing USB endpoint multiplexing
  • Method and equipment for realizing USB endpoint multiplexing
  • Method and equipment for realizing USB endpoint multiplexing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] In order to enable a USB device to achieve multiple functions and save hardware costs, the embodiment of the present invention provides a method for realizing USB endpoint multiplexing. The USB device supports at least two USB function devices and the individual USB function devices supported by the USB device The number is greater than the number of data endpoints of the USB device, see figure 1 , the method includes:

[0030] Step 101: Receive a request to switch USB functional devices, the request carrying the function identifier of the USB functional device selected by the user;

[0031] Step 102: According to the function identifier, search for the USB function device corresponding to the function identifier;

[0032] Step 103: Switch the USB device to the found USB functional device.

[0033] In the above method steps provided by the embodiment of the present invention, after the USB device receives a request to switch USB functional devices, it switches among m...

Embodiment 2

[0044] In order to enable a USB device to realize multiple functions and save hardware costs, an embodiment of the present invention provides a method for realizing USB endpoint multiplexing, wherein, see figure 2 , the embodiment of the present invention takes the USB device to have two sets of endpoints: one set is the control endpoint, and the other set is the situation of the data endpoint, and multiple functional devices (CDs, network cards, U disks and magnetic disks) are connected to the data endpoints as an example for illustration .

[0045] In order to support the endpoint multiplexing function of USB devices, both the drivers on the PC side and the USB device side need to support the endpoint switching function. It is reflected in the processing of different logics. see image 3 , and its specific implementation flow chart is as follows:

[0046] Step 201: Initialize the USB device connected to the PC;

[0047] Among them, when the USB device is connected to th...

Embodiment 3

[0073] The embodiment of the present invention provides a device for implementing USB endpoint multiplexing. The USB device in the embodiment of the present invention supports at least two USB functional devices and the number of USB functional devices supported by the USB device is greater than the number of data endpoints of the USB device. number, see Figure 4 , the device consists of:

[0074] The receiving module 301 is configured to receive a USB switching function device request, and the request carries the function identification of the USB function device selected by the user;

[0075] The search module 302 is used to search for the USB functional device corresponding to the function identifier according to the function identifier carried by the switching request received by the receiving module;

[0076] The switch module 303 is configured to switch the USB device to the USB function device found by the search module 302 .

[0077] The above-mentioned device USB d...

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 discloses a method and equipment for realizing USB endpoint multiplexing, belonging to the field of communication. The USB equipment of the invention supports at least two USB functional devices and the number of the USB functional devices supported by the USB equipment is larger than the number of the data endpoints of the USB equipment. The method comprises the following steps: receiving the request of switching the USB functional devices, wherein the request carries the functional identifications of the USB functional devices selected by users; according to each functional identification, searching each USB functional device corresponding to the functional identification; and switching the USB equipment to the searched USB functional device. The equipment comprises USB equipment and a host. By the multiplexing of a USB endpoint, the invention realizes the purpose of taking the USB equipment as multifunctional equipment, and thereby saving the cost and improving the use experience of the user.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for realizing USB endpoint multiplexing. Background technique [0002] With the rapid development of computer technology, USB (Universal Serial Bus) devices are widely used by users because of their advantages such as flexible access and mobility. [0003] When a PC (Personal Computer, personal computer) communicates with a USB device, it communicates with a driver on the PC through a USB endpoint in the USB device. [0004] Currently, USB devices support two sets of USB endpoints: one set of control endpoints is used for control communication; the other set of data endpoints is used for data communication, such as USB mouse, USB keyboard and other functional devices. [0005] Users have higher and higher requirements on the performance of USB devices, and it is required that a USB device can support multiple functions, that is, it can be used as a multi-function de...

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 Applications(China)
IPC IPC(8): G06F13/38
CPCG06F13/385
Inventor 韩宇彬
Owner HUAWEI DEVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products