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

Real-time high-speed data transmission method and system based on USB3.0 auxiliary protocol

A high-speed data transmission and data technology, applied in electrical digital data processing, instruments, etc., can solve the problems of limited camera technology application, huge delay in batch data transmission, data loss, etc., to eliminate the cooling of buffer switching time and shorten batch data. Transmission delay, effect of increasing transmission rate

Inactive Publication Date: 2019-08-06
NAT SPACE SCI CENT CAS
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The image data is first transmitted to multiple buffer areas inside the USB 3.0 chip, and then transferred from the buffer area to the host. During this process, it is often necessary to switch the buffer area, and each switch takes about hundreds of nanoseconds to several microseconds. During this period of time, either data loss or suspension of transmission will affect the efficiency of real-time data transmission. Accumulated, the transmission delay for batch data is huge, which will eventually affect the frame rate of the wearable camera, thus limiting the camera technology. Applications

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
  • Real-time high-speed data transmission method and system based on USB3.0 auxiliary protocol
  • Real-time high-speed data transmission method and system based on USB3.0 auxiliary protocol
  • Real-time high-speed data transmission method and system based on USB3.0 auxiliary protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Such as figure 1 As shown, Embodiment 1 of the present invention proposes a kind of real-time high-speed data transmission method based on USB 3.0 auxiliary protocol, comprising the following steps:

[0048] Step 1) Connect the GPIF II interface of the USB 3.0 controller correctly according to the needs of use, including data transmission lines (DQ0-DQ31), control signal lines (CLK, SLOE, SLCS, SLWR, SLRD), and buffer empty and full flag lines (FLAGB) etc.; the interfaces involved can be adjusted according to actual needs.

[0049] Connect the GPIF II interface of the USB 3.0 controller to the host controller as required, including data lines, control signal lines, and cache empty and full flag lines.

[0050] Step 2) Load DMA descriptor 1 to PIB_SOCKET_0, DMA descriptor 2 to PIB_SOCKET_1, and specify PIB_SOCKET_0 as the current port, as shown in the sequence number ①, wait for the setting of the data valid symbol; that is, buffer1 and buffer2 are simultaneously loaded...

Embodiment 2

[0059] When the quantity of buffer zone is expanded to N, embodiment 2 of the present invention proposes a kind of real-time high-speed data transmission method based on USB 3.0 auxiliary protocol, comprises the following steps:

[0060] receive external data;

[0061] Judging whether the full flag flag is set, if it is set, the data in the current buffer area is sent to the host through the DMA channel, and then the two socket ports are switched, and the loaded next buffer area is used as the current buffer area; and Load the next DMA descriptor to a non-current socket port, reset the full flag flag, otherwise, store the received data into the current buffer through the current socket port, and the buffer is a circular structure; include:

[0062] Step 1) Load DMA descriptor 1 to PIB_SOCKET_0, DMA descriptor 2 to PIB_SOCKET_1 respectively, and specify PIB_SOCKET_0 as the current port;

[0063] Step 2) Store the received external data into the current buffer buffer through t...

Embodiment 3

[0069] Embodiment 3 of the present invention proposes a real-time high-speed data transmission system based on the USB 3.0 auxiliary protocol, including: a data receiving module, a data transmission module and a DMA channel;

[0070] A data receiving module, configured to receive external data;

[0071] The data transmission module is used to determine whether the full flag flag is set. If it is set, the data in the current buffer area is sent to the host through the DMA channel, and then the two socket ports are switched to transfer the loaded next buffer area. As the current buffer area; and the next next DMA descriptor is loaded to a non-current socket port, and the full flag flag is reset, otherwise, the received data is stored in the current buffer area through the current socket port; the cache The area is a cyclic structure.

[0072] The two socket ports are respectively: PIB_SOCKET_0, PIB_SOCKET_1, and the buffer areas are respectively: buffer1, buffer2, ... bufferN c...

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 real-time high-speed data transmission method and system based on a USB 3.0 auxiliary protocol. The method comprises the following steps: receiving external data; judging whether a full flag is set or not, if yes, sending the data of the current cache region to a host through a DMA channel, then switching two socket ports, and taking the loaded next cache region as the current cache region; loading the next but one DMA descriptor to a non-current socket port, and resetting a full flag, otherwise, storing the received data into a current cache region through the current socket port, and the cache region is of a cyclic structure. According to the method disclosed by the invention, the cooling of the switching time of the cache region during high-speed real-time transmission of big data is reduced or even eliminated; on the basis that hardware resources are not increased, the transmission rate of image data is increased, and particularly, the batch data transmission delay is shortened; the method is suitable for a large number of data real-time transmission scenes of wearable EBAPS camera video real-time data batch high-speed transmission and the like.

Description

technical field [0001] The invention relates to the field of high-speed communication, in particular to a real-time high-speed data transmission method and system based on the USB 3.0 auxiliary protocol. Background technique [0002] High-speed data transmission is widely used in many fields, such as real-time transmission of image data. After decades of development, there are already many mature products in the image acquisition and transmission system. [0003] With the development of wearable information technology, the demand for APS-based micro-camera technology is becoming more and more vigorous, which requires real-time high-speed transmission of video data. At present, relatively mature data transmission mainly adopts methods such as Camera Link interface, FireWire (IEEE 1394) interface, Gigabit Ethernet interface and USB 3.0 interface. Among these information transmission technologies, USB3.0 is the most popular technology due to resource constraints such as volum...

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 Applications(China)
IPC IPC(8): G06F13/10G06F13/16G06F13/28G06F13/42
CPCG06F13/102G06F13/1673G06F13/28G06F13/4282G06F2213/0042
Inventor 刘亚宁李保权
Owner NAT SPACE SCI CENT CAS
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