- 1、本文档共27页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
《计算机网络和 与因特网》课件第五章可靠传输服务.ppt
Computer Networks and Internets 《计算机网络与因特网》课件 林坤辉 PART III Internetworking Chapter 5 TCP: Reliable Transport Service T C P:可靠传输服务 5.2 The Need for Reliable Transoprt可靠传输的必要性 The application write data to the device, but does not need to verity that data arrives intact. Instead, the application relies on the underlying computer system to ensure reliable transfer; the system guarantees that data will not be lost, duplicated, or delivered out of order. 5.3 The Transmission Control Protocol传输控制协议 TCP is the transport level protocol. TCP provides reliable transport service. Most internet applications are built to use TCP. TCP provides a completely reliable(no data duplication or loss), connection-oriented, full-duplex stream transport service. 5.4 The Service TCP Provides To ApplicationsTCP为应用提供的服务 Connection orientation Point-To-point communication Complete reliability Full duplex communication Stream interface Reliable connection startup Graceful connection shutdown 5.6 Achieving Reliability实现可靠性 The major problems are: Unreliable delivery by the underlying communication system. Computer reboot. 5.7 Packet Loss and Retransmission包丢失与重发 By implementing a retransmission scheme. IP数据报文丢失的处理 目标端 TCP程序对于每一个收到的IP数据报文,向源端发送一个响应报文作为确认 源端 TCP程序重传丢失的IP报文 重传条件:一定时间内没有收到响应报文 重传时间:根据一定算法确定的超时等待时间 重传时间的确定 确定的重传时间 始终按照时间T作为重传时间 2的指数级确定方式 按照2的指数作为重传时间 根据一段时间内发送-响应周期的数值分布,调整重传时间为2的n次方 按照一定统计算法进行迭代调整 根据一段时间内的发送-响应周期的分布,调整重传时间为一段时间内的统计结果Ts和前一次重传时间Ti的加权值:T(i+1)= aTi+bTs 2的指数级确定方式举例 已知算法: 出现超时,则重传时间加倍 如果最近3个数据包发送-响应时延小于Ti/2(不足3个按照实际个数计算),则T(i+1) = Ti/2 已知条件 一次只发送一个数据报文,得到响应再发送下个 初始重传时间:T0= 16ms 响应时间序列:12ms, 10ms, 18ms, 33ms, 6ms, 8ms, 10ms 重传时间结果 16ms(T0), 16ms, 16ms, 32ms, 64ms, 64ms, 64ms, 32ms 5.8 Adaptive Retransmission自适应重发 TCP monitors current delay on each connection, and adapts the retransmission timer to accommodate changing conditions. TCP estimates round-trip delay. TCP records the time at whi
文档评论(0)