作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 移动互联与通信技术 • 上一篇    下一篇

基于TCP三次握手特性的高效连接管理方法

熊 兵1,赵锦元2,廖年冬1   

  1. (1. 长沙理工大学计算机与通信工程学院,长沙 410004;2. 湖南工程学院计算机与通信学院,湖南 湘潭 411104)
  • 收稿日期:2012-09-20 出版日期:2013-11-15 发布日期:2013-11-13
  • 作者简介:熊 兵(1981-),男,讲师、博士,主研方向:网络与信息安全;赵锦元,讲师、硕士;廖年冬,讲师、博士
  • 基金资助:
    国家自然科学基金资助项目(61303043, 61202439);湖南省教育厅科学研究基金资助项目(11C0036)

Efficient Connection Management Method Based on TCP Three-way Handshake Characteristic

XIONG Bing 1, ZHAO Jin-yuan 2, LIAO Nian-dong 1   

  1. (1. School of Computer and Communication Engineering, Changsha University of Science and Technology, Changsha 410004, China; 2. School of Computer and Communication, Hunan Institute of Engineering, Xiangtan 411104, China)
  • Received:2012-09-20 Online:2013-11-15 Published:2013-11-13

摘要: 为提升高速网络环境下的数据包处理与分析性能,基于传输控制协议(TCP)的三次握手特性,提出一种高效的连接管理方法,即待建连接缓冲法(ECB)。在分析IP网络中TCP连接建立过程特点的基础上,将待建连接从整个连接表中分离出来以单独进行缓冲,对数据包进行分类,给出每类数据包的连接管理实现流程。借助实际高速网络的流量样本,对ECB连接管理法进行性能评估,实验结果表明,ECB的查找性能比传统的单连接表管理方法提高近50%以上。

关键词: 高速网络, 连接管理, 传输控制协议, 三次握手, 待建连接缓冲

Abstract: To promote the performance of packet processing and analysis in high-speed network, this paper proposes an efficient connections management method, Establishing Connection Buffering(ECB), in virtue of the characteristics of the three-way handshake in Transmission Control Protocol(TCP). Based on the analysis of TCP connection establishment process in IP network, it presents the design methodology that isolates establishing connections from whole connection table and buffers it separately. As a further step, it classifies packets into several types and gives the implementation of connection management for each type. It evaluates the performance of the ECB connection management with real high-speed network traffic trace. Experimental results indicate that the ECB performs almost 50% better than the traditional one with single connection table in terms of lookup performance.

Key words: high-speed network, connection management, Transmission Control Protocol(TCP), three-way handshake, Establishing Connection Buffering(ECB)

中图分类号: