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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com