The invention discloses a
data transmission method and device, and relates to the technical field of
data transmission. The method comprises the following steps: configuring a DMA descriptor of reported data based on the reported data; transmitting the reported data to a memory unit corresponding to the target address in the management
server through a corresponding DMA channel based on the DMA descriptor; and when the reported
data transmission is completed, triggering a message
signal to interrupt the MSI, so that the management
server responds to the MSI and reads the reported data from the memory unit array according to the memory pointer. In the application, the multi-port
chip locally configures and manages the DMA descriptor, the management
server does not need to participate in the configuration of the DMA descriptor, the synchronization of the DMA descriptor is realized through the memory pointer, and the management server does not need additional communication to exchange and confirm the DMA descriptor, so that the time
delay of data transmission and
data processing is reduced, and the data transmission efficiency is improved. And the management real-time performance of the multi-port
chip is improved.