Data transmission method and device based on enhancement-type peripheral interconnection agreement bus
An enhanced, protocol technology used in the field of data transmission
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 