Method and device for simulating USB (Universal Serial Bus) device

A USB interface and device technology, applied in the field of analog USB devices, can solve problems such as prolonging the product development cycle, complicated USB device driver development, and high cost

Inactive Publication Date: 2012-10-17
ZTE CORP
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The development of USB device drivers is complex and costly, prolonging the product development cycle

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 device for simulating USB (Universal Serial Bus) device
  • Method and device for simulating USB (Universal Serial Bus) device
  • Method and device for simulating USB (Universal Serial Bus) device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In the embodiment of the present invention, the device descriptor and the configuration descriptor are set in advance according to the Bluetooth feature, so that when the PC (personal computer) side needs to enumerate the USB device, the USB device is recognized as a Bluetooth device, and the Bluetooth device is identified. enumerate. In this way, the Bluetooth device is used to simulate the USB device, so the subsequent communication can be based on the Bluetooth protocol, without being limited by the number of USB endpoints, and more USB sub-devices can be supported. Moreover, because the Bluetooth protocol is used for communication, the Bluetooth driver is loaded, and the USB driver does not need to be loaded, which avoids the problems caused by the USB driver.

[0031] see figure 1 , the main method flow of simulating the USB device on the terminal side in this embodiment is as follows:

[0032] After the terminal side is connected to the PC side through the USB i...

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 for simulating a USB (Universal Serial Bus) device, which is used for realizing simulation of a composite USB device. The method comprises the steps that: a terminal side receives a USB device enumeration instruction sent form a personal computer PC side through a USB interface; the terminal side queries a local device descriptor and a local configuration descriptor according to the USB device enumeration instruction, wherein the device descriptor and the configuration descriptor are set according to bluetooth characteristics; and the terminal side returns the queried device descriptor and the queried configuration descriptor to the PC side through the USB interface. The invention further discloses a device for realizing the method of the invention.

Description

technical field [0001] The invention relates to the field of communication and computer, in particular to a method and a device for simulating a USB device. Background technique [0002] With the rapid development of wireless communication technology and the gradual popularization of third-generation wireless communication network technology, the functions provided by mobile terminals are becoming more and more diverse. The mobile terminal generally adopts a USB (Universal Serial Bus, Universal Serial Bus) composite device to implement a functional interface. The so-called USB composite device refers to a USB main device with multiple USB sub-devices, and each USB sub-device uses several USB endpoints to communicate with the PC (personal computer) side respectively. Usually these USB sub-devices include Modem (modem) equipment, multiple virtual serial ports and NDIS (Network Device Interface Specification) network card equipment. [0003] However, USB endpoints are hardwar...

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/42
CPCG06F13/42G06F13/107G06F2213/0042
Inventor 李幸远
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products