Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2019-04-19
HONOR DEVICE CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the above method, after manually modifying the highest USB driver version supported by the USB host device, the highest USB driver version supported by the USB host device will change, because the change will cause the disconnection between the USB host device and the USB slave device, Therefore, it is necessary to re-establish the connection between the USB master device and the USB slave device and renegotiate the USB driver version for data transmission, which will interrupt the transmission service between the USB master device and the USB slave device.

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
  • A method and usb device for switching usb driver version
  • A method and usb device for switching usb driver version
  • A method and usb device for switching usb driver version

Examples

Experimental program
Comparison scheme
Effect test

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

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

A method for switching a USB driver version and a USB device, which relate to the technical field of USBs, and can ensure that a service transmitted between two USB devices is uninterrupted when a USB driver version is switched. The method comprises: a first USB device sends a switching request packet to a second USB device, wherein the switching request packet carries a first USB driver version, the switching request packet is used for requesting the second USB device to switch a second USB driver version into the first USB driver version, and the second USB driver version is a USB driver version currently adopted by the first USB device and the second USB device (S101); the first USB device receives a switching response packet which is sent by the second USB device and corresponds to the switching request packet, wherein the switching response packet is used for indicating whether the second USB device allows switching the second USB driver version into the first USB driver version (S102); and if the switching response packet indicates that the second USB device allows switching the second USB driver version into the first USB driver version, then the first USB device switches the second USB driver version into the first USB driver version (S103).

Description

technical field [0001] The present invention relates to the technical field of universal serial bus (English: universal serial bus, abbreviation: USB), in particular to a method for switching USB driver versions and a USB device. Background technique [0002] With the continuous development of USB technology, the application of USB3.0 standard is more and more extensive. Usually, the USB master device and the USB slave device will use the highest supported USB driver version to negotiate the USB driver version used for data transmission when establishing a connection for the first time. For example, the USB master device supports up to USB 3.0 version, and the USB slave device also supports up to USB 3.0 version, then the USB master device and the USB slave device use the USB 3.0 version for data transmission after negotiation. Although the USB3.0 version can achieve a high data transmission rate, in some frequency bands, the data transmitted by the USB3.0 version of the US...

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/38
CPCG06F13/38
Inventor 金鹏
Owner HONOR DEVICE CO LTD