Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Router-based tcp optimization method and router

A router and parameter technology, applied in the field of communication, can solve the problems of low access web page rate, poor adaptability, low bandwidth utilization, etc., and achieve the effect of improving speed and bandwidth utilization.

Inactive Publication Date: 2019-02-12
东莞市腾泽电子科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a router-based TCP optimization method and a router to solve the problem of poor adaptability of the existing TCP technology when accessing webpages, resulting in low rate of accessing webpages and low bandwidth utilization. low problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Router-based tcp optimization method and router
  • Router-based tcp optimization method and router
  • Router-based tcp optimization method and router

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] figure 1 示出了本发明实施例提供的基于路由器的TCP优化方法的实现流程图,详述如下:

[0023] 在步骤S101中,当接收到客户端访问网页的请求信息时,获取最大报文长度以及拥塞窗口初始值。

[0024] 需要说明的是,本发明实施例的执行主体为路由器。在本发明实施例中,当接收到客户端访问网页的请求信息时,获取最大报文长度(Maximum Segment Size,MSS)以及拥塞窗口(Congestion Window,CWnd)初始值。

[0025] 在步骤S102中,计算拥塞窗口初始值与最大报文长度的比值,得到第一参数。

[0026] 在步骤S103中,比较第一参数与第二参数的大小。

[0027] 在步骤S104中,若第一参数小于第二参数,则将第二参数与最大报文长度的乘积作为调整后的拥塞窗口初始值。

[0028] 例如,第一参数为3,第二参数为10,用MSS表示最大报文长度,则拥塞窗口初始值为3×MSS,调整后的拥塞窗口初始值为10×MSS。

[0029] 一般来说,拥塞窗口初始值取决于最大报文长度的大小,通常拥塞窗口初始值为最大报文长度的3倍。拥塞窗口只是发送方的一个内部参数,无需通知给接收方。拥塞窗口初始值往往较小,随着数据包被接收方确认,拥塞窗口成倍扩大。当用户观看视频或者下载软件的时候,拥塞窗口初始值的影响并不明显,这...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of communication, and provides a router-based TCP optimization method and a router. The method includes: when receiving the request information from the client to access the web page, obtaining the maximum packet length and the initial value of the congestion window; calculating the ratio of the initial value of the congestion window to the maximum packet length to obtain the first parameter; comparing The size of the first parameter and the second parameter; if the first parameter is smaller than the second parameter, the product of the second parameter and the maximum packet length is used as the adjusted initial value of the congestion window. The invention adjusts the initial value of the congestion window in the case of web page access, thereby performing TCP optimization based on the router, and improving the web page access rate and bandwidth utilization rate.

Description

technical field [0001] 本发明属于通信技术领域,尤其涉及基于路由器的TCP优化方法及路由器。 Background technique [0002] TCP(Transmission Control Protocol,传输控制协议)是TCP / IP(TransmissionControl Protocol / Internet Protocol,传输控制协议 / 网际协议)协议栈中的传输层协议。据统计,目前全球的互联网数据超过90%通过TCP传输。TCP在设计初期主要用于适应局域网传输,而对于当前的互联网环境和新型应用的适应性较差。当互联网出口链路存在一定的丢包和延时的情况下,TCP连接的吞吐率明显下降,常常无法有效地利用带宽,造成带宽的闲置和浪费,并导致远程数据传输耗时太长、应用响应缓慢甚至无法使用等问题。因此,需要基于路由器进行TCP优化,以适应当前网络环境下的传输需求。 Contents of the invention [0003] 鉴于此,本发明实施例提供了一种基于路由器的TCP优化方法及路由器,以解决在访问网页时,现有的TCP技术的适应性较差,导致访问网页的速率较低、带宽利用率较低的问题。 [0004] 第一方面,本发明实施例提供了一种基于路由器的TCP优化方法,包括: [0005] 当接收到客户端访问网页的请求信息时,获取最大报文长度以及拥塞窗口初始值; [0006] 计算所述拥塞窗口初始值与所述最大报文长度的比值,得到第一参数; [0007] 比较第一参数与第二参数的大小; [0008] 若所述第一参数小于第二参数,则将所述第二参数与所述最大报文长度的乘积作为调整后的所述拥塞窗口初始值。 [0009] 第二方面,本发明实施例提供了一种路由器,包括: [0010] 获取单元,用于当接收到客户端访问网页的请求信息时,获取最大报文长度以及拥塞窗口初始值; [0011] 第一参数计算单元,用于计算所述拥塞窗口初始值与所述最大报文长度的比值,得到第一参数; [0012] 比较单元,用于比较第一参数与第二参数的大小; [0013] 拥塞窗口初始值调整单元,用于若所述第一参数小于第二参数,则将所述第二参数与所述最大报文长度的乘积作为调整后的所述拥塞窗口初始值。 ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/807H04L29/06H04L47/27
CPCH04L47/27H04L69/163
Inventor 周鸣华夏云梁大衡黄宁新封枫甘钧兆彭志伟唐大明
Owner 东莞市腾泽电子科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products