首页 | 本学科首页   官方微博 | 高级检索  
     

TCP/IP协议的零拷贝和简化实现
引用本文:宋佳,谢湘楠,冉蜀阳. TCP/IP协议的零拷贝和简化实现[J]. 中国测试技术, 2007, 33(1): 114-117
作者姓名:宋佳  谢湘楠  冉蜀阳
作者单位:1. 四川大学电气信息学院,四川,成都,610065
2. 中国测试技术研究院,四川,成都,610021
摘    要:对嵌入式数据采集系统与PC间通过以太网的数据通讯进行了研究。这类嵌入式系统与PC配置于同一网段,数据包的大小比较固定,但是要求传输速度快,系统资源占用率小。通过在网卡驱动程度程序中直接使用简化的MBUF结构,实现了发送和接收数据的零拷贝,减少了CPU占用率。通过简化IP层协议和实现其它协议层中最基本的功能,大大减少了代码量。适用于资源比较紧张的系统与PC间的快速数据通讯。

关 键 词:零拷贝  数据采集  嵌入式
文章编号:1672-4984(2007)01-0114-04
修稿时间:2006-08-03

Simplified and zero-copy TCP/IP protocol based on data captrure system
SONG Jia,XIE Xiang-nan,RAN Shu-yang. Simplified and zero-copy TCP/IP protocol based on data captrure system[J]. China Measurement Technology, 2007, 33(1): 114-117
Authors:SONG Jia  XIE Xiang-nan  RAN Shu-yang
Affiliation:1.School of Electrical Engineering and Information, Sichuan University, Chengdu 610065, China; 2.National Institute of Measurement and Testing Technology,Chengdu 610021,China
Abstract: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.
Keywords:TCP/IP  MBUF
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号