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 solutio

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

Example Embodiment

[0046] Example one

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

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

[0049] Step 2. The USB slave device binds the endpoint to a memory matching 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, and if the data transmission has not ended, step 2 is executed again until the data transmission ends.

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

Example Embodiment

[0073] Example two

[0074] Such as figure 2 As shown, figure 2 It is a schematic flowchart 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 a USB slave device, which is mainly applied in the data interaction process between the USB host device and the USB slave device. The specific content is as follows:

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

[0076] The specific judgment process is as follows:

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

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

[0079] If it is not detected, it is 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 includ...

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