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

Universal serial bus transmission control method and host device

A universal serial bus and host device technology, applied in the field of communication, can solve problems that affect data processing efficiency, data cannot be processed in time, and software cannot respond in time, so as to improve processing efficiency, improve efficiency, and reduce occupancy rate Effect

Active Publication Date: 2016-01-27
RUIJIE NETWORKS CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the above process of receiving data, the host device calls the interrupt service program to transmit the data to the data plane in the form of software interrupt. If the software interrupt cannot be responded in time, for example, in a multi-tasking operating system environment, there are multiple concurrent tasks at the same time. The CPU may be preempted by other tasks, causing software interrupts to fail to respond in time, so that the received data cannot be processed in time, affecting the efficiency of data processing

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
  • Universal serial bus transmission control method and host device
  • Universal serial bus transmission control method and host device
  • Universal serial bus transmission control method and host device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] figure 1 It is a flowchart of a USB transmission control method provided by an embodiment of the present invention. Such as figure 1 As shown, the method of the present embodiment includes:

[0022] Step 101, the CPU of the host device periodically queries the hardware FIFO memory corresponding to the USB request block (USBRequestBlock, ...

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 provides a universal serial bus (USB) transmission control method and host equipment. The USB transmission control method comprises the following steps: a central processing unit (CPU) periodically inquires a hardware first in first out (FIFO) memory corresponding to a universal request block (URB) below a USB transmission endpoint according to the preset inquiry period, wherein the priority of periodically inquiring the hardware FIFO memory corresponding to the URB below the USB transmission endpoint is higher than that of inquiring the hardware FIFO memory corresponding to the URB below the USB transmission endpoint in a software interrupt mode; when data is found in the hardware FIFO memory corresponding to the URB below the USB transmission endpoint, the CPU transmits at least one first datum in the hardware FIFO memory corresponding to the URB below the USB transmission endpoint to an application layer processing module at a time, so that the application layer processing module can process the first datum. By adoption of the technical scheme, the processing efficiency of the USB-based data can be improved.

Description

technical field [0001] The invention relates to communication technology, in particular to a universal serial bus transmission control method and a host device. Background technique [0002] Universal Serial Bus (Universal Serial Bus, referred to as USB) is an external bus standard, and the USB interface technology has direct plug-and-play and hot-swap functions. At present, the USB data transfer types mainly include: bulk transfer (BulkTransfer), control transfer (ControlTransfer), interrupt transfer (InterruptTransfer) and isochronous transfer (IsochronousTransfer). Among them, batch transmission is a reliable one-way transmission, but the delay is not guaranteed. It tries to use the available bandwidth to complete the transmission, which is suitable for the transmission of relatively large data volume. [0003] The USB host device (hereinafter referred to as the host device) cooperates with the USB device to complete the transmission of USB data. The host device mainly ...

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): G06F13/18
Inventor 黄磊
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products