Unlock instant, AI-driven research and patent intelligence for your innovation.

A data transmission method and device based on enhanced peripheral interconnection protocol bus

An enhanced, protocol technology used in the field of data transmission

Active Publication Date: 2019-04-30
SANECHIPS TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on the application of the PCIe protocol bus in the communication field, many different types have appeared, such as: Advanced Extensible Interface (AXI) based on the PCIe protocol bus; Host Adaptation Interface (HAL); (CPU) Device and Method for Accessing Local Bus" (Patent No.: CN201310528347.9) describes a method for CPU to access registers through PCIe; patent "Method, device and system for transmitting messages on PCIE bus" (patent No.: CN201110032172.3) describes a method for transmitting protocol packets from the PCIe originating device to the destination device in the manner of identification (ID) routing; etc., but these prior technologies are all based on a specific application such as a single Realize CPU access to registers or transfer protocol messages

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
  • A data transmission method and device based on enhanced peripheral interconnection protocol bus
  • A data transmission method and device based on enhanced peripheral interconnection protocol bus
  • A data transmission method and device based on enhanced peripheral interconnection protocol bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] The embodiment of the present invention provides a data transmission method based on the PCIe protocol bus, the method is applied to a controller, and the controller includes a first working module, a second working module, a third working module and a fourth working module ,like figure 1 As shown, the processing flow of the method of this embodiment includes the following steps:

[0089] Step 101. Receive a data packet sent by a peer device, and the data packet carries a work type flag bit.

[0090] The method in this embodiment is a data transmission method between the peer device and the target device. The main transmission types include CPU read, CPU write, DMA read, and DMA write; the data packet sent by the peer device to the controller carries the work type The flag bit enables the controller to distinguish the type of work, and then apply different modules for data processing.

[0091] Step 102, when the work type flag indicates a read operation, distribute th...

Embodiment 2

[0108] The embodiment of the present invention provides a kind of data transmission method based on PCIe protocol bus, and this method is based on such as figure 2 The PCIe link system architecture shown, as figure 2 As shown, the PCIe link system includes a peer device 201, a protocol layer device 202, a controller 203, and a target device 204; wherein,

[0109] The peer device 201 can generate a CPU read operation command and a CPU write operation command; there is a buffer space for message receiving instruction information and message sending instruction information; there is a buffer space for buffering received messages and sending messages; in the entire PCIe Work as a PCIe root device, switching device or endpoint device in the link system; perform high-speed, multi-bandwidth point-to-point communication with the protocol layer device 202 through the PCIe link (ie: high-speed serial bus SerDes).

[0110] The protocol layer device 202 is to realize the functions and ...

Embodiment 3

[0186] The embodiment of the present invention provides a data transmission device based on the enhanced peripheral interconnection PCIe protocol bus, such as Figure 7 As shown, the device includes: a receiving module 701, a distribution module 702, a first working module 703, a second working module 704, a third working module 705 and a fourth working module 706, wherein,

[0187] The receiving module 701 is configured to receive a data packet sent by the peer device, and the data packet carries a work type flag;

[0188] An allocation module 702, configured to allocate the data packet to the first working module when the work type flag bit received by the receiving module 701 indicates a read operation;

[0189] The first working module 703 is configured to send the read operation command to the target device when parsing the data packet allocated by the distribution module 702 to obtain the read operation command, receive the read data returned by the target device, and se...

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

Provided are a data transmission method and device and a storage medium based on a peripheral component interconnect express (PCIe) protocol bus. The method is applied in a controller (203) comprising therein a first operation module (703), a second operation module (704), a third operation module (705), and a fourth operation module (706). The method comprises: receiving a data packet transmitted by a peer device (201); and causing, according to a content of the data packet, the first operation module (703) to process a reading operation instruction, the second operation module (704) to process a writing operation instruction, the third operation module (705) to process a direct memory access (DMA) reading operation instruction, or the fourth operation module (706) to process a DMA writing operation instruction.

Description

technical field [0001] The present invention relates to the field of data transmission, in particular to a data transmission method and device based on an enhanced peripheral component interconnect (PCIe, Peripheral Component Interconnect express) protocol bus. Background technique [0002] The PCIe protocol bus is a third-generation high-performance interface bus, which belongs to a serial connection protocol based on data packets. It provides high-speed, high-bandwidth, high-performance, high-scalability, hot-swappable, point-to- Point, dual-simplex, serial differential signal links to interconnect devices. Moreover, it has been widely used in the interconnection of peripheral devices in the fields of computers and electronic communications. [0003] Based on the application of the PCIe protocol bus in the communication field, many different types have appeared, such as: Advanced Extensible Interface (AXI) based on the PCIe protocol bus; Host Adaptation Interface (HAL); ...

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/14
CPCG06F13/14
Inventor 戴仁林娄本刚王平
Owner SANECHIPS TECH CO LTD