Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for increasing reading speed of USB slave device

A technology of reading speed and equipment, which is applied in the field of data processing, can solve problems such as cost increase and data loss, and achieve the effect of increasing transmission speed and improving data transmission efficiency

Active Publication Date: 2018-02-16
HUNAN GOKE MICROELECTRONICS
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] However, when the ability of the slave device is not strong enough, and the background interrupt service program copies the memory speed insufficiently, data loss will occur; in the prior art, the solution to this problem is to abandon the USB function of the slave device, Adding a chip dedicated to USB communication to ensure that the communication data is not lost, it is foreseeable that the cost will increase

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 for increasing reading speed of USB slave device
  • Method for increasing reading speed of USB slave device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] An embodiment of the present invention provides a method for increasing the reading speed of a USB slave device, which is applied to a system including a USB master device and a USB slave device, wherein the method includes:

[0048] Step 1, judging whether the USB slave device is connected to the USB master device, if connected, then perform step 2, if not connected, then end;

[0049] Step 2, the USB slave device binds the endpoint to a memory that matches the endpoint;

[0050] Step 3, the USB slave device receives the data sent by the USB master device, and stores the data in the memory bound to the endpoint;

[0051] Step 4. The USB slave device unbinds the memory from the endpoint. If the data transmission is not over, perform step 2 again until the data transmission is over.

[0052] Further, the step 1 includes:

[0053] The USB host device automatically detects the USB port;

[0054] If a USB slave device is detected, the USB slave device is connected to the...

Embodiment 2

[0074] Such as figure 2 as shown, figure 2 is a schematic flow chart of the method provided by the embodiment of the present invention. The embodiment of the present invention provides a method for improving the reading speed of the USB slave device, which is mainly applied in the data interaction process between the USB master device and the USB slave device, and the specific content is as follows:

[0075] Step 1, judging whether the USB slave device is connected to the USB master device, if connected, then perform step 2, if not connected, then end;

[0076] The specific judgment process is as follows:

[0077] The USB host automatically detects the USB port,

[0078] If a USB slave device is detected, the USB slave device is connected to the USB master device;

[0079] If not detected, not connected.

[0080] It should be noted that, in the embodiment of the present invention, after the USB slave device is detected, the following content is also included:

[0081] ...

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 relates to a method for increasing a reading speed of a USB slave device. The method is applied to a system comprising a USB master device and the USB slave device. The method comprisesthe steps of 1, judging whether the USB slave device is connected with the USB master device or not; 2, binding an end point with a memory matched with the end point by the USB slave device; 3, receiving data sent by the USB master device through the USB slave device, and storing the data in the memory bound with the end point; and 4, unbinding the memory from the end point by the USB slave device, and if data transmission is not finished, executing the step 1 again. By dividing an available memory of the USB slave device into multiple memory blocks and performing filling respectively, serialtransmission is changed to parallel transmission, so that the data sent by the USB master device can be quickly read and a second end point command is sent to a register in the same time; and the method can remarkably increase the data transmission speed.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a method for improving the reading speed of a USB slave device. Background technique [0002] USB, the abbreviation of Universal Serial Bus (Universal Serial Bus) in English, is an external bus standard used to regulate the connection and communication between computers and external devices. It is an interface technology applied in the PC field. The USB interface supports the plug-and-play and hot-swap functions of the device. [0003] There are both master devices and slave devices in USB. The master device is responsible for the control of the master terminal, the transmission of data transmission commands, and the transmission of data. The slave device is responsible for receiving data from the master control end or sending data to the master control end; currently, about the synchronous transmission of USB The mode (Isochronous Transaction) can guarantee...

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/16G06F13/42
CPCG06F13/1673G06F13/4204G06F13/4282
Inventor 刘梫富王德勇傅文海王玮
Owner HUNAN GOKE MICROELECTRONICS
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More