A method and usb device for switching usb driver version
A device and version technology, applied in the direction of instruments, electrical digital data processing, etc., can solve the problem of interrupting the business of the USB master device and the USB slave device transmission.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0110] Embodiments of the present invention provide a method for switching USB driver versions, such as figure 1 As shown, the method may include:
[0111] S101. The first USB device sends a switching request message to the second USB device, the switching request message carries the first USB driver version, and the switching request message is used to request the second USB device to switch the second USB driver version to The first USB driver version and the second USB driver version are USB driver versions currently used by the first USB device and the second USB device.
[0112] S102. The first USB device receives a switching response message corresponding to the switching request message sent by the second USB device, and the switching response message is used to indicate whether the second USB device allows switching the second USB driver version to the first USB driver version.
[0113] S103. If the switching response message indicates that the second USB device is a...
Embodiment 2
[0139] Embodiments of the present invention provide a method for switching USB driver versions, such as Figure 4 As shown, the method may include:
[0140] S301. The first USB device receives a first negotiation packet sent by the second USB device, where the first negotiation packet carries the highest USB driver version supported by the second USB device.
[0141] Wherein, the first negotiation message is used for the second USB device to negotiate with the first USB device on the USB driver version for data transmission.
[0142] Further, the first negotiation message may also carry information such as the type of the second USB device. The type of the second USB device may be a mouse, a U disk, or a keyboard. Information such as the type of the second USB device can make the first USB device determine which type of device the second USB device is after receiving the first negotiation message sent by the second USB device, so that the first USB device can perform data ne...
Embodiment 3
[0200] Such as Figure 7 As shown, the embodiment of the present invention provides a USB device, and the USB device may include:
[0201] The transceiver unit 10 is configured to send a switching request message to the second USB device, and receive a switching response message corresponding to the switching request message sent by the second USB device, and the switching request message carries the first A USB driver version, the switching request message is used to request the second USB device to switch the second USB driver version to the first USB driver version, the second USB driver version is the USB device and the The USB driver version currently used by the second USB device, the switching response message is used to indicate whether the second USB device allows switching the second USB driver version to the first USB driver version; switching unit 11 , if the switching response message received by the transceiver unit 10 indicates that the second USB device allows...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


