首页>
外国专利>
PACKET SENDING METHOD, TCP PROXY, AND TCP CLIENT
PACKET SENDING METHOD, TCP PROXY, AND TCP CLIENT
展开▼
机译:数据包发送方法,TCP代理和TCP客户端
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed in embodiments of the present invention are a packet sending method, a TCP proxy, and a TCP client, for use in effectively avoiding entrance of an excessively-great quantity of packets into a network in a instantaneous time, and in improving the TCP throughput. The method in an embodiment of the present invention comprises: sending M packets to a TCP client; receiving N TCP response packets of the M packets, sent by the TCP client; calculating a sample transmission bandwidth of a TCP connection between a TCP proxy and the TCP client according to each sample TCP response packet, the sample TCP response packet being at least one of the N TCP response packets; determining an estimated-bandwidth sample set according to the according to the sample transmission bandwidth, the estimated-bandwidth sample set comprising the sample transmission bandwidth calculated according to each sample TCP response packet; determining an estimated bandwidth according to the estimated-bandwidth sample set; determining a target bandwidth according to the estimated bandwidth; and determining the quantity of available tokens according to the target bandwidth, and controlling the sending of a packet according to the quantity of the available tokens.
展开▼