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

对Windows TCP/IP协议栈的一种简化设计
引用本文:夏仲平,蒋泽军,王丽芳,刘志强.对Windows TCP/IP协议栈的一种简化设计[J].现代电子技术,2012,35(8):93-96.
作者姓名:夏仲平  蒋泽军  王丽芳  刘志强
作者单位:1. 西北工业大学计算机学院,陕西西安,710072
2. 西北工业大学软件与微电子学院,陕西西安,710072
基金项目:国家基础预研项目(2011AC100001C100001)
摘    要:为了让Windows下的网络数据快速发送与接收,提高实时性能,采用对Windows TCP/IP协议栈进行一种简化设计,通过利用Windows提供的用户与设备对象的交互,减少Windows从用户态到内核态的分层,对Socket层进行简单的封装,并且利用零拷贝技术减少数据的拷贝次数以及设置多级优先级队列使数据按照优先级发送,从而使数据达到快速发送和接收的目的。实验结果验证了这种方法能达到预期效果。

关 键 词:网络体系结构  协议驱动  TCP/IP  零拷贝  优先级队列

A simplified design for Windows TCP/IP protocol stack
XIA Zhong-ping , JIANG Ze-jun , WANG Li-fang , LIU Zhi-qiang.A simplified design for Windows TCP/IP protocol stack[J].Modern Electronic Technique,2012,35(8):93-96.
Authors:XIA Zhong-ping  JIANG Ze-jun  WANG Li-fang  LIU Zhi-qiang
Affiliation:1.College of Computer,Northwestern Polytechnical University,Xi’an 710072,China; 2.College of of Software and Microelectronics,Northwestern Polytechnical University,Xi’an 710072,China;)
Abstract:For sending and receiving network data quickly under Windows,and improving real-time performance,a simplified design for Windows TCP/IP protocol stack is proposed.By analysising the characteristics of multi-layer structure of the current Windows network architecture,the interaction(provided by Windows system) of users and device object was utilized,hierarchy from Windows user mode to kernel mode were reduced,the Socket layer was simply encapsulated,and the zero-copy technique was adopted to reduce numbers of the data copy and set multi-level priority queues to send data according to its priority queue.Thus,the data can be sent and received rapidly.Experimental results demonstrate that the method can achieve the desired results.
Keywords:network architecture  protocol driver  TCP/IP  zero-copy  priority queue
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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