Data transmission method and device

An embodiment of the invention provides a data transmission method and device. The data transmission method comprises the step of: acquiring a data region header pointer of an applied memory cache MBUF, and packaging baseband board data in the MBUF according to the data region header pointer; and se...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU HONGPENG, SUN YI, SONG AIWEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:An embodiment of the invention provides a data transmission method and device. The data transmission method comprises the step of: acquiring a data region header pointer of an applied memory cache MBUF, and packaging baseband board data in the MBUF according to the data region header pointer; and sending the data area header pointer as a first data pointer to a network adaptation layer, so that the network adaptation layer modifies data pointed by the first data pointer, and sends a second data pointer obtained after data modification to a data plane development kit DPDK. According to the datatransmission method and the device of the invention, the data transmission performance of a baseband board is improved. 本发明实施例提供一种数据传输方法及装置,其中数据传输方法包括:获取所申请到的存储器缓存MBUF的数据区头指针,并根据所述数据区头指针将基带板数据封装在所述MBUF中;将所述数据区头指针作为第一数据指针发送至网络适配层,以使所述网络适配层对所述第一数据指针所指向数据进行修改,并将数据修改后所得到的第二数据指针发送至数据平面开发套件DPDK。本发明实施例提升了基带板数据的传输性能。