摘要
对嵌入式数据采集系统与PC间通过以太网的数据通讯进行了研究。这类嵌入式系统与PC配置于同一网段,数据包的大小比较固定,但是要求传输速度快,系统资源占用率小。通过在网卡驱动程度程序中直接使用简化的MBUF结构,实现了发送和接收数据的零拷贝,减少了CPU占用率。通过简化IP层协议和实现其它协议层中最基本的功能,大大减少了代码量。适用于资源比较紧张的系统与PC间的快速数据通讯。
To study the TCP/IP protocol used in the embedded system with limited code space and CPU usage, this paper introduced the zero-copy and simplified TCP/IP protocoL Using simplified MBUF structure in Ethernet adapter's driver , simplifying the IP layer handle, implement only the needed protocol. Thus , the code size and CPU usage are largely reduced.
出处
《中国测试技术》
CAS
2007年第1期114-117,共4页
CHINA MEASUREMENT & TESTING TECHNOLOGY