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

USB (universal serial bus) device communication transmission method, device and system

A technology of equipment and peer equipment, applied in the field of communication, can solve problems such as inability to communicate with OTG equipment, and achieve the effect of increasing the scope of use

Active Publication Date: 2014-12-10
HONOR DEVICE CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, most OTG devices can be used as master devices to support data transmission with HID-type slave devices, but in the prior art, most USB devices are non-HID-type USB slave devices, so they cannot directly communicate with OTG 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
  • USB (universal serial bus) device communication transmission method, device and system
  • USB (universal serial bus) device communication transmission method, device and system
  • USB (universal serial bus) device communication transmission method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] An embodiment of the present invention provides a communication method for a USB device, such as figure 1 As shown, the method includes the following steps:

[0035] S101. The USB device receives a device type query message sent by the peer device, and a HID descriptor and a HID report descriptor are added to the driver program of the USB device.

[0036] The method of this embodiment is mainly applied to the communication method of the USB device. Whe...

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 present invention relates to the field of communications, and discloses a USB device communication and transmission method, device and system, which are used to implement communication between a USB device and an OTG device. A USB device communication method includes: receiving, by a USB device, a device type query message sent by a peer device, where a HID descriptor and a HID report descriptor are added to a driver of the USB device; sending, by the USB device according to the HID descriptor and HID report descriptor, a query response message that carries a HID identifier to the peer device, where the HID identifier is used to enable the peer device to identify the USB device as a HID device; and encoding and encapsulating, by the USB device, data to be sent to generate a HID packet, and sending the HID packet to the peer device, or receiving a HID packet from the peer device, and decapsulating and decoding the received HID packet, where the HID packet carries a data type and data usage manner information.

Description

technical field [0001] The present invention relates to the field of communication, in particular to a USB device communication transmission method, device and system. Background technique [0002] At present, many data transmission devices support the USB (Universal Serial BUS, Universal Serial Bus) transmission function. For data transmission between a USB device and other devices, the peer device is required to have a USB driver. For example, a mobile phone that supports the USB transmission function can Data transmission is performed between the PC (Personal Computer) and the PC (Personal Computer) through the USB transmission function. The PC is the master device, and the mobile phone is the slave device. Since the PC can install a USB driver for a specific USB port type, they can Normal data transfer. [0003] HID (Human Interface Device, human body input device) device is a device that can perform data transmission with the peer device without providing any driver. A...

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 Patents(China)
IPC IPC(8): H04L29/06H04L1/00
CPCG06F13/10H04L63/0428G06F13/385G06F13/20
Inventor 李树彬
Owner HONOR DEVICE CO LTD