1、 毕业设计 (论 文) TCP 协议中的流量控制和拥塞控制研究 院 别 数学与统计学院 专业名称 信息与计算科学 班级学号 学生姓名 指导教师 年 月 日 毕 业 设 计 ( 论 文 ) 第 I 页 TCP 协议中的流量控制和拥塞控制研究 摘 要 计算机网络技术是当今发展最迅速的计算机技术之一,而保证网络稳定可靠运行 的关键是计算机网络协议。TCP 协议作为网络协议中的核心协议之一,其重要性更是 不言而喻,因而对于该协议的研究与完善是促进网络发展的重要手段之一。 随着互联网规模和互联网应用的快速增长,网络拥塞和数据冲突问题已引起人们 密切的关注。拥塞控制与流量控制技术针对网络中的拥塞和数据冲突
2、而成为网络领域 的核心技术。其中流量控制的对象是接收端,目的是使发送端的发送速率不超过接收 端的接收能力;拥塞控制的对象是网络环境,目的是使负载不超过网络的传送能力。 TCP 的流量控制主要依赖于滑动窗口, 通过流量约束, 减少接收端出的数据流失, 提高发送效率,充分利用接收端资源。 TCP 的拥塞控制主要原理依赖于一个拥塞窗口(cwnd)来控制,窗口值的大小就 代表能够发送出去的但还没有收到 ACK 的最大数据报文段,显然窗口越大那么数据 发送的速度也就越快,但是也就越可能使得网络出现拥塞,如果窗口值为 1,那么就 简化为一个停等协议, 每发送一个数据, 都要等到对方的确认才能发送第二个数据
3、包, 显然数据传输效率低下。 TCP 拥塞控制算法就是要在这两者之间权衡, 选取最的 cwnd 值,从而使得网络吞吐量最大化且不产生拥塞。 本文首先对 TCP 协议的发展做了简要的概述,然后分析了 TCP 协议的报文段格 式和结构,TCP 的数据传输过程,接着讨论了 TCP 的流量控制机制,最后针对 TCP 的重点部分拥塞控制进行了分析,讨论了几个 TCP 拥塞控制算法。 关键词:TCP 协议,流量控制,拥塞控制 毕 业 设 计 ( 论 文 ) 第 I I 页 The Flow Contral and Congestion Control in TCP Protocol Author: Etv
4、gbd Tutor: Rtvghhh Abstract Computer network technology is one of the most rapidly developing of computer technology today,and the computer network protocols is the key to ensure the network is stable and reliable operation. TCP protocol, as one of the core protocols of the network protocol,is vary
5、important, so to research and improve the protocol is one of the important means to promote the development of the network. With the rapid growth of Internet scale and the Internet application, network congestion and data conflict problem has aroused the concern of the people closely. Congestion con
6、trol and flow control technology, according to the theory of network congestion and data conflict has become the core technology in the field of network. The flow control object is the receiver, the purpose is to make the sending rate does not exceed the capacity at the receiving end. Congestion control object is the network environment, the purpose is to make the transfer of a loaded with no more than the network capacity. TCP flow control is mainly depended on the sliding window,