WO2013167024A2 - Method and apparatus for controlling tcp bidirectional concurrent transmission - Google Patents

Method and apparatus for controlling tcp bidirectional concurrent transmission Download PDF

Info

Publication number
WO2013167024A2
WO2013167024A2 PCT/CN2013/079099 CN2013079099W WO2013167024A2 WO 2013167024 A2 WO2013167024 A2 WO 2013167024A2 CN 2013079099 W CN2013079099 W CN 2013079099W WO 2013167024 A2 WO2013167024 A2 WO 2013167024A2
Authority
WO
WIPO (PCT)
Prior art keywords
tcp
rate
uplink
current
sending
Prior art date
Application number
PCT/CN2013/079099
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013167024A3 (en
Inventor
梅笑寒
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013167024A2 publication Critical patent/WO2013167024A2/en
Publication of WO2013167024A3 publication Critical patent/WO2013167024A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/19Flow control; Congestion control at layers above the network layer
    • H04L47/193Flow control; Congestion control at layers above the network layer at the transport layer, e.g. TCP related
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a TCP bidirectional concurrent transmission control method and apparatus. Background technique
  • Transmission Control Protocol is a transmission-verification system.
  • the transmission principle is that when data is transmitted between two hosts, the host B sends one or more according to the size of the transmission window.
  • the TCP data packet is encapsulated to the host A, and then waits for the verification of the host A; after receiving the TCP data packet, the host A sends a TCP response response to the received TCP data packet; after receiving the TCP response response, the host B continues to send the subsequent response.
  • TCP data packet It can be seen from the transmission principle of TCP that the timely transmission of the TCP response response is a guarantee for improving the TCP transmission traffic.
  • the traffic of the uplink and downlink is asymmetric according to the characteristics of the service, and the downlink traffic is generally much higher than the uplink traffic.
  • the terminal When bidirectional concurrent TCP packet transmission is performed, the terminal simultaneously transmits uplink data (TCP data packet) and downlink data (TCP response response) in the uplink.
  • TCP data packet uplink data
  • TCP response response downlink data
  • the main object of the present invention is to provide a TCP bidirectional concurrent transmission control method and apparatus for effectively improving TCP transmission traffic.
  • a TCP bidirectional concurrent transmission control method includes: Obtaining an uplink rate threshold according to the uplink and downlink configuration information in the network system information; acquiring a current TCP sending rate and a current TCP receiving rate;
  • the TCP data packet is suspended and the TCP response response is sent preferentially.
  • the obtaining an uplink rate threshold according to the uplink and downlink configuration information in the network system information includes:
  • the uplink rate threshold is obtained according to the maximum rate of the TCP transmission.
  • the uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
  • the method further includes: sending a TCP data packet and a TCP response response when the current TCP sending rate is less than or equal to the uplink rate threshold.
  • the determining, after determining whether the current TCP receiving rate is greater than the current TCP sending rate, includes:
  • the TCP data packet and the TCP response are simultaneously sent.
  • a TCP bidirectional concurrent transmission control device comprising:
  • a threshold obtaining module configured to obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information;
  • the rate is obtained from the ear, and is configured to obtain the current TCP sending rate and the current TCP receiving rate.
  • the rate determining module is configured to determine whether the current TCP receiving rate is greater than the current TCP sending rate.
  • the threshold determining module is configured to determine whether the current TCP sending rate is greater than an uplink rate threshold when the current TCP receiving rate is greater than the current TCP sending rate.
  • the sending module is configured to pause sending the TCP data packet and send the TCP response response preferentially when the current TCP sending rate is greater than the uplink rate threshold.
  • the threshold obtaining module includes:
  • a system information obtaining unit configured to acquire network system information
  • the configuration information parsing unit is configured to parse the uplink and downlink configuration information in the network system information, and the maximum rate obtaining unit is configured to obtain a maximum TCP transmission rate according to the uplink and downlink configuration information.
  • the threshold rate obtaining unit is configured to obtain an uplink rate threshold according to the maximum rate of the TCP sending.
  • the uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
  • the sending module is further configured to: simultaneously send a TCP data packet and a TCP response response when the current TCP sending rate is less than or equal to the uplink rate threshold.
  • the sending module is further configured to: simultaneously send a TCP data packet and a TCP response response when the current TCP receiving rate is less than or equal to the current TCP sending rate.
  • the invention obtains the threshold data by using the uplink and downlink configuration information broadcasted by the network in the system information, and allocates the network transmission traffic resource to the TCP downlink data.
  • the threshold data acquisition method is simple, convenient and fast, which is beneficial to improving the working efficiency of the entire transmission regulation. To ensure timely transmission of TCP downlink data, thereby improving the transmission traffic of TCP bidirectional concurrency and maximizing the utilization of network resources.
  • FIG. 1 is a flowchart of a first embodiment of a TCP bidirectional concurrent transmission control method according to the present invention
  • FIG. 2 is a flowchart of a second embodiment of a TCP bidirectional concurrent transmission control method according to the present invention
  • FIG. 4 is a schematic structural diagram of a first embodiment of a TCP bidirectional concurrent transmission control apparatus according to the present invention
  • FIG. 5 is a schematic structural diagram of a second embodiment of a TCP bidirectional concurrent transmission control apparatus according to the present invention.
  • FIG. 1 is a flowchart of a first embodiment of a TCP bidirectional concurrent transmission control method according to an embodiment of the present invention.
  • the TCP bidirectional concurrent transmission control method mentioned in this embodiment includes: Step S101: Obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information.
  • the uplink and downlink configuration information broadcasted by the network in the system information is used, and the uplink rate threshold is obtained by combining the transmission capability of the terminal.
  • the uplink and downlink configuration information that is, the slot ratio information
  • the uplink and downlink configuration information can be easily parsed and obtained in the network system information, and the obtaining manner is very convenient and fast, so that the process of obtaining the uplink rate threshold is also simpler and more convenient, and is beneficial to improving the obtaining uplink rate.
  • the efficiency of the threshold saves time for the subsequent control process and is beneficial for timely regulation of TCP transmission.
  • Step S102 Obtain a current TCP sending rate and a current TCP receiving rate.
  • the current TCP transmission rate of the terminal is obtained, and the current uplink traffic of the terminal is obtained.
  • the current TCP reception rate of the terminal is obtained, and the current downlink traffic of the terminal is obtained.
  • Step S103 Determine whether the current TCP receiving rate is greater than the current TCP sending rate; compare the current TCP receiving and sending rates, and compare the current uplink and downlink traffic.
  • Step S104 When the current TCP receiving rate is greater than the current TCP sending rate, determine Whether the pre-TCP transmission rate is greater than the uplink rate threshold;
  • the TCP downlink data may be affected by the TCP uplink data (TCP data packet). It is necessary to ensure the timely transmission of downlink data.
  • Step S105 When the current TCP sending rate is greater than the uplink rate threshold, the TCP data packet is suspended and the TCP response response is sent preferentially.
  • TCP Uplink data has affected the timely transmission of TCP downlink data. It is necessary to limit the traffic of uplink data, and allocate network traffic traffic resources to TCP downlink data transmission to ensure timely transmission of TCP downlink data (TCP response response) until the current TCP transmission.
  • the rate is less than or equal to the uplink rate threshold, and then the TCP data packet is continuously sent, thereby improving the transmission traffic when the TCP is bidirectionally concurrent, and maximizing the utilization of the network resources.
  • the threshold data is obtained by using the uplink and downlink configuration information broadcasted by the network in the system information. The obtaining method is simple, convenient and fast, and is beneficial to improving the working efficiency of the entire transmission regulation.
  • FIG. 2 is a flowchart of a second embodiment of a TCP bidirectional concurrent transmission control method according to an embodiment of the present invention.
  • the steps of obtaining the uplink rate threshold are described in detail on the basis of the embodiment shown in FIG. 1, which specifically includes:
  • Step S201 acquiring network system information
  • the network system information in this embodiment is mainly broadcast information in TD-LTE (Time Division Long Term Evolution) system information.
  • TD-LTE Time Division Long Term Evolution
  • Step S202 parsing uplink and downlink configuration information in the network system information
  • the uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
  • the specific configuration information is shown in the following table:
  • Step S203 Obtain a maximum TCP transmission rate according to the uplink and downlink configuration information.
  • Step S204 Obtain an uplink rate threshold according to a maximum rate of TCP transmission.
  • the uplink and downlink configuration information broadcasted by the network in the system information is used to obtain the TCP uplink rate threshold or the uplink traffic threshold, and the uplink and downlink traffic distribution is adjusted according to the threshold data and the actual data, the uplink data traffic is restricted, and the TCP response response is improved.
  • the priority ensures the downstream data traffic, which effectively improves the TCP bidirectional concurrent data traffic and makes full use of network resources.
  • FIG. 3 is a flowchart of a third embodiment of a TCP bidirectional concurrent transmission control method according to an embodiment of the present invention.
  • the TCP bidirectional concurrent transmission control method mentioned in this embodiment includes: Step S301: Obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information.
  • Step S302 Acquire a current TCP sending rate and a current TCP receiving rate.
  • Step S303 determining whether the current TCP receiving rate is greater than the current TCP sending rate; if yes, executing step S304; if not, executing step S306;
  • Step S304 determining whether the current TCP transmission rate is greater than an uplink rate threshold; if yes, Then step S305 is performed; if no, step S306 is performed;
  • Step S305 suspending the sending of the TCP data packet, and preferentially sending the TCP response response; Step S306, simultaneously transmitting the TCP data packet and the TCP response response.
  • This embodiment is based on the embodiment shown in FIG. 1 , when comparing the current TCP receiving and sending rates, or comparing the current uplink and downlink traffic, if the comparison result is that the current TCP receiving rate is less than or equal to the current TCP sending rate. If the current downlink traffic is less than or equal to the current uplink traffic, the TCP downlink data is not affected by the uplink data, and the uplink and downlink data can be simultaneously sent to implement normal TCP bidirectional concurrent transmission.
  • the TCP transmission traffic allocation is dynamically adjusted according to the current uplink and downlink rate or traffic, and the transmission traffic during TCP bidirectional concurrency is effectively improved, and the network resources are fully utilized.
  • FIG. 4 is a schematic structural diagram of a first embodiment of a TCP bidirectional concurrent transmission control apparatus according to an embodiment of the present invention.
  • the TCP bidirectional concurrent transmission control apparatus mentioned in this embodiment includes: a threshold obtaining module 10 configured to obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information;
  • the rate is obtained from the ear 20, configured to obtain the current TCP transmission rate and the current TCP reception rate;
  • the rate determining module 30 is configured to determine whether the current TCP receiving rate is greater than a current TCP sending rate.
  • the threshold determining module 40 is configured to determine whether the current TCP sending rate is greater than an uplink rate threshold when the current TCP receiving rate is greater than the current TCP sending rate.
  • the sending module 50 is configured to pause when the current TCP sending rate is greater than the uplink rate threshold. Send a TCP data packet and send a TCP response response first.
  • the uplink and downlink configuration information broadcasted by the network in the system information is used, and the uplink rate threshold is obtained by combining the transmission capability of the terminal.
  • the uplink and downlink configuration information that is, the slot ratio information
  • the uplink and downlink configuration information can be easily parsed and obtained in the network system information, and the obtaining manner is very convenient and fast, so that the process of obtaining the uplink rate threshold is also simpler and more convenient, and is beneficial to improving the obtaining uplink rate.
  • the efficiency of the threshold saves time for the subsequent control process and is beneficial for timely regulation of TCP transmission.
  • the current TCP transmission rate of the terminal can be obtained, and the current uplink traffic of the terminal can be obtained.
  • the current downlink traffic of the terminal can be obtained by the current TCP receiving rate of the terminal.
  • the current TCP reception and transmission rate can be compared, and the current uplink and downlink traffic can also be compared. If the comparison result is that the current TCP receiving rate is greater than the current TCP sending rate, or the current downlink traffic is greater than the current uplink traffic, the transmission of the TCP downlink data (TCP response response) may be affected by the TCP uplink data (TCP data packet). It is necessary to ensure the timely transmission of downlink data.
  • TCP Uplink data has affected the timely transmission of TCP downlink data. It is necessary to limit the traffic of uplink data, and allocate network traffic traffic resources to TCP downlink data transmission to ensure timely transmission of TCP downlink data (TCP response response) until the current TCP transmission.
  • the rate is less than or equal to the uplink rate threshold, and then the TCP data packet is continuously sent, thereby improving the transmission traffic when the TCP is bidirectionally concurrent, and maximizing the utilization of the network resources.
  • the threshold data is obtained by using the uplink and downlink configuration information broadcasted by the network in the system information. The obtaining method is simple, convenient and fast, and is beneficial to improving the working efficiency of the entire transmission regulation.
  • FIG. 5 is a schematic structural diagram of a second embodiment of a TCP bidirectional concurrent transmission control apparatus according to an embodiment of the present invention.
  • the structure of the threshold obtaining module 10 is described in detail on the basis of the embodiment shown in FIG. 4, and the threshold obtaining module 10 specifically includes:
  • the system information obtaining unit 11 is configured to acquire network system information.
  • the configuration information parsing unit 12 is configured to parse the uplink and downlink configuration information in the network system information.
  • the maximum rate obtaining unit 13 is configured to obtain a maximum TCP transmission rate according to the uplink and downlink configuration information.
  • the threshold rate obtaining unit 14 is configured to obtain an uplink rate threshold according to a maximum rate of TCP transmission.
  • the network system information in this embodiment is mainly broadcast information in TD-LTE (Time Division Long Term Evolution) system information.
  • the uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
  • the specific configuration information is as follows:
  • the uplink and downlink configuration information broadcasted by the network in the system information is used to obtain the TCP uplink rate threshold or the uplink traffic threshold, and the uplink and downlink traffic distribution is adjusted according to the threshold data and the actual data, the uplink data traffic is restricted, and the TCP response response is improved.
  • the priority ensures the downstream data traffic, which effectively improves the TCP bidirectional concurrent data traffic and makes full use of network resources.
  • the sending module 50 is further configured to: when the current TCP sending rate is less than or equal to the uplink rate threshold, simultaneously send the TCP data packet and the TCP response response; When the TCP reception rate is less than or equal to the current TCP transmission rate, the TCP data packet and the TCP response are simultaneously sent.
  • the uplink and downlink data when comparing the current TCP receiving and sending rates, or comparing the current uplink and downlink traffic, if the comparison result is that the current TCP receiving rate is less than or equal to the current TCP sending rate, or the current downlink traffic is less than or equal to the current uplink.
  • the traffic indicates that the TCP downlink data is not affected by the uplink data, and the uplink and downlink data can be simultaneously transmitted to implement normal TCP bidirectional concurrent transmission.
  • the TCP transmission traffic allocation is dynamically adjusted according to the current uplink and downlink rate or traffic, which effectively improves the transmission traffic when the TCP is bidirectionally concurrent, and fully utilizes network resources.
  • the embodiment of the invention provides a TCP bidirectional concurrent transmission control method and device, which acquires the current TCP transmission rate and the current TCP reception rate; determines whether the current TCP reception rate is greater than the current TCP transmission rate; and the current TCP reception rate is greater than the current TCP transmission rate.
  • the current TCP transmission rate is greater than the uplink rate threshold
  • the TCP data packet is suspended and the TCP response response is sent preferentially.
  • the embodiment of the present invention obtains the threshold data by using the uplink and downlink configuration information broadcasted by the network in the system information, and the threshold data obtaining manner is simple, convenient, and fast, which is beneficial to improving the working efficiency of the entire transmission and control, and allocating network transmission traffic resources to the TCP downlink.
  • the data ensures timely transmission of TCP downlink data, improves transmission traffic when TCP is bidirectionally concurrent, and maximizes utilization of network resources.

Abstract

Disclosed are a method and an apparatus for controlling TCP bidirectional concurrent transmission. The method comprises: obtaining a current TCP sending rate and a current TCP receiving rate; judging whether the current TCP receiving rate is greater than the current TCP sending rate; when the current TCP receiving rate is greater than the current TCP sending rate, judging whether the current TCP sending rate is greater than an uplink rate threshold; and when the current TCP sending rate is greater than the uplink rate threshold, suspending sending of a TCP data packet, and preferentially sending a TCP reply response. By means of the present invention, threshold data is obtained by using broadcast uplink/downlink configuration information in system information of a network, and the threshold data obtaining manner is simple, convenient, and rapid, which facilitates increase of the working efficiency of the whole transmission control; more network transmission traffic resources are allocated to TCP downlink data, so as to ensure that the TCP downlink data is sent in time, increase the traffic of TCP bidirectional concurrent transmission, and maximally use network resources.

Description

TCP双向并发传输调控方法和装置 技术领域  TCP bidirectional concurrent transmission control method and device
本发明涉及到通信技术领域, 特别涉及到 TCP双向并发传输调控方法 和装置。 背景技术  The present invention relates to the field of communication technologies, and in particular, to a TCP bidirectional concurrent transmission control method and apparatus. Background technique
TCP ( Transmission Control Protocol, 传输控制协议)是一种发送 -证实 系统, 其传输原理是, 在人、 B两个主机之间进行数据传输时, 主机 B依 据发送窗口的大小, 发送一个或者多个 TCP数据封包到主机 A, 然后等待 主机 A的证实; 主机 A在收到 TCP数据封包后, 针对收到的 TCP数据封 包发送 TCP应答响应; 主机 B在收到 TCP应答响应后, 继续发送后续的 TCP数据封包。 从 TCP的传输原理上可以看到, TCP应答响应的及时发送 是提高 TCP传输流量的保证。但是, 在无线网络环境下, 根据业务的特点, 上下行链路的流量是不对称的, 其下行流量一般要远高于上行流量。 当双 向并发进行 TCP数据封包传送时, 终端在上行链路中同时发送上行数据 ( TCP数据封包 )与下行数据 ( TCP应答响应;), 在这种不对称的上下行链 路中, 由于上行链路流量较低, 上行数据(TCP数据封包)会影响下行数 据(TCP应答响应) 的及时发送, 造成下行数据流量的下降。 发明内容  Transmission Control Protocol (TCP) is a transmission-verification system. The transmission principle is that when data is transmitted between two hosts, the host B sends one or more according to the size of the transmission window. The TCP data packet is encapsulated to the host A, and then waits for the verification of the host A; after receiving the TCP data packet, the host A sends a TCP response response to the received TCP data packet; after receiving the TCP response response, the host B continues to send the subsequent response. TCP data packet. It can be seen from the transmission principle of TCP that the timely transmission of the TCP response response is a guarantee for improving the TCP transmission traffic. However, in a wireless network environment, the traffic of the uplink and downlink is asymmetric according to the characteristics of the service, and the downlink traffic is generally much higher than the uplink traffic. When bidirectional concurrent TCP packet transmission is performed, the terminal simultaneously transmits uplink data (TCP data packet) and downlink data (TCP response response) in the uplink. In this asymmetric uplink and downlink, due to uplink The traffic volume is low, and the uplink data (TCP data packet) affects the timely transmission of downlink data (TCP response response), resulting in a decrease in downlink data traffic. Summary of the invention
本发明的主要目的为提供一种有效提高 TCP传输流量的 TCP双向并发 传输调控方法和装置。  The main object of the present invention is to provide a TCP bidirectional concurrent transmission control method and apparatus for effectively improving TCP transmission traffic.
为了达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种 TCP双向并发传输调控方法, 包括: 根据网络系统信息中的上下行配置信息, 获得上行速率门限; 获取当前 TCP发送速率和当前 TCP接收速率; A TCP bidirectional concurrent transmission control method includes: Obtaining an uplink rate threshold according to the uplink and downlink configuration information in the network system information; acquiring a current TCP sending rate and a current TCP receiving rate;
判断当前 TCP接收速率是否大于当前 TCP发送速率;  Determining whether the current TCP receiving rate is greater than the current TCP sending rate;
在当前 TCP接收速率大于当前 TCP发送速率时, 判断当前 TCP发送 速率是否大于上行速率门限;  When the current TCP receiving rate is greater than the current TCP sending rate, determining whether the current TCP sending rate is greater than the uplink rate threshold;
在当前 TCP发送速率大于上行速率门限时, 暂停发送 TCP数据封包, 优先发送 TCP应答响应。  When the current TCP transmission rate is greater than the uplink rate threshold, the TCP data packet is suspended and the TCP response response is sent preferentially.
其中, 所述根据网络系统信息中的上下行配置信息, 获得上行速率门 限包括:  The obtaining an uplink rate threshold according to the uplink and downlink configuration information in the network system information includes:
获取网络系统信息;  Obtain network system information;
解析网络系统信息中的上下行配置信息;  Parsing the uplink and downlink configuration information in the network system information;
根据所述上下行配置信息, 获得 TCP发送最大速率;  Obtaining a maximum rate of TCP transmission according to the uplink and downlink configuration information;
根据所述 TCP发送最大速率, 获得上行速率门限。  The uplink rate threshold is obtained according to the maximum rate of the TCP transmission.
其中, 所述上下行配置信息包括特殊子帧配置信息和上下行链路配置 信息。  The uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
其中,所述判断当前 TCP发送速率是否大于上行速率门限之后还包括: 在当前 TCP发送速率小于或等于上行速率门限时, 同时发送 TCP数据 封包和 TCP应答响应。  After the determining whether the current TCP sending rate is greater than the uplink rate threshold, the method further includes: sending a TCP data packet and a TCP response response when the current TCP sending rate is less than or equal to the uplink rate threshold.
其中,所述判断当前 TCP接收速率是否大于当前 TCP发送速率之后还 包括:  The determining, after determining whether the current TCP receiving rate is greater than the current TCP sending rate, includes:
在当前 TCP接收速率小于或等于当前 TCP发送速率时,同时发送 TCP 数据封包和 TCP应答响应。  When the current TCP reception rate is less than or equal to the current TCP transmission rate, the TCP data packet and the TCP response are simultaneously sent.
一种 TCP双向并发传输调控装置, 包括:  A TCP bidirectional concurrent transmission control device, comprising:
门限获得模块, 配置为根据网络系统信息中的上下行配置信息, 获得 上行速率门限; 速率获耳 4莫块, 配置为获取当前 TCP发送速率和当前 TCP接收速率; 速率判断模块,配置为判断当前 TCP接收速率是否大于当前 TCP发送 速率; a threshold obtaining module, configured to obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information; The rate is obtained from the ear, and is configured to obtain the current TCP sending rate and the current TCP receiving rate. The rate determining module is configured to determine whether the current TCP receiving rate is greater than the current TCP sending rate.
门限判断模块,配置为在当前 TCP接收速率大于当前 TCP发送速率时, 判断当前 TCP发送速率是否大于上行速率门限;  The threshold determining module is configured to determine whether the current TCP sending rate is greater than an uplink rate threshold when the current TCP receiving rate is greater than the current TCP sending rate.
发送模块, 配置为在当前 TCP发送速率大于上行速率门限时, 暂停发 送 TCP数据封包, 优先发送 TCP应答响应。  The sending module is configured to pause sending the TCP data packet and send the TCP response response preferentially when the current TCP sending rate is greater than the uplink rate threshold.
其中, 所述门限获得模块包括:  The threshold obtaining module includes:
系统信息获取单元, 配置为获取网络系统信息;  a system information obtaining unit configured to acquire network system information;
配置信息解析单元, 配置为解析网络系统信息中的上下行配置信息; 最大速率获得单元, 配置为根据所述上下行配置信息, 获得 TCP发送 最大速率;  The configuration information parsing unit is configured to parse the uplink and downlink configuration information in the network system information, and the maximum rate obtaining unit is configured to obtain a maximum TCP transmission rate according to the uplink and downlink configuration information.
门限速率获得单元, 配置为根据所述 TCP发送最大速率, 获得上行速 率门限。  The threshold rate obtaining unit is configured to obtain an uplink rate threshold according to the maximum rate of the TCP sending.
其中, 所述上下行配置信息包括特殊子帧配置信息和上下行链路配置 信息。  The uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
其中, 所述发送模块还配置为, 在当前 TCP发送速率小于或等于上行 速率门限时, 同时发送 TCP数据封包和 TCP应答响应。  The sending module is further configured to: simultaneously send a TCP data packet and a TCP response response when the current TCP sending rate is less than or equal to the uplink rate threshold.
其中, 所述发送模块还配置为, 在当前 TCP接收速率小于或等于当前 TCP发送速率时, 同时发送 TCP数据封包和 TCP应答响应。  The sending module is further configured to: simultaneously send a TCP data packet and a TCP response response when the current TCP receiving rate is less than or equal to the current TCP sending rate.
本发明利用网络在系统信息中广播的上下行配置信息获得门限数据, 将网络传输流量资源多分配给 TCP下行数据,由于门限数据获得方式简单、 方便、 快捷, 有利于提高整个传输调控的工作效率, 确保 TCP下行数据的 及时发送, 进而提高 TCP双向并发时的传输流量, 最大化利用网络资源。 附图说明 The invention obtains the threshold data by using the uplink and downlink configuration information broadcasted by the network in the system information, and allocates the network transmission traffic resource to the TCP downlink data. The threshold data acquisition method is simple, convenient and fast, which is beneficial to improving the working efficiency of the entire transmission regulation. To ensure timely transmission of TCP downlink data, thereby improving the transmission traffic of TCP bidirectional concurrency and maximizing the utilization of network resources. DRAWINGS
图 1为本发明 TCP双向并发传输调控方法的第一实施例的流程图; 图 2为本发明 TCP双向并发传输调控方法的第二实施例的流程图; 图 3为本发明 TCP双向并发传输调控方法的第三实施例的流程图; 图 4为本发明 TCP双向并发传输调控装置的第一实施例的结构示意图; 图 5为本发明 TCP双向并发传输调控装置的第二实施例的结构示意图。 具体实施方式  1 is a flowchart of a first embodiment of a TCP bidirectional concurrent transmission control method according to the present invention; FIG. 2 is a flowchart of a second embodiment of a TCP bidirectional concurrent transmission control method according to the present invention; FIG. 4 is a schematic structural diagram of a first embodiment of a TCP bidirectional concurrent transmission control apparatus according to the present invention; FIG. 5 is a schematic structural diagram of a second embodiment of a TCP bidirectional concurrent transmission control apparatus according to the present invention. detailed description
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。  It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图 1所示, 图 1为本发明实施例 TCP双向并发传输调控方法的第一 实施例的流程图。 本实施例提到的 TCP双向并发传输调控方法, 包括: 步驟 S101 , 根据网络系统信息中的上下行配置信息, 获得上行速率门 限;  As shown in FIG. 1, FIG. 1 is a flowchart of a first embodiment of a TCP bidirectional concurrent transmission control method according to an embodiment of the present invention. The TCP bidirectional concurrent transmission control method mentioned in this embodiment includes: Step S101: Obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information.
本实施例利用网络在系统信息中广播的上下行配置信息, 结合终端的 传输能力, 获得上行速率门限。 其中, 上下行配置信息即时隙配比信息, 可很容易在网络系统信息中解析获得, 其获得方式非常方便快捷, 进而使 获得上行速率门限的过程也更加简单、 方便, 有利于提高获得上行速率门 限的效率, 为后续的调控过程节约时间,有利于及时对 TCP传输进行调控。  In this embodiment, the uplink and downlink configuration information broadcasted by the network in the system information is used, and the uplink rate threshold is obtained by combining the transmission capability of the terminal. The uplink and downlink configuration information, that is, the slot ratio information, can be easily parsed and obtained in the network system information, and the obtaining manner is very convenient and fast, so that the process of obtaining the uplink rate threshold is also simpler and more convenient, and is beneficial to improving the obtaining uplink rate. The efficiency of the threshold saves time for the subsequent control process and is beneficial for timely regulation of TCP transmission.
步驟 S102 , 获取当前 TCP发送速率和当前 TCP接收速率;  Step S102: Obtain a current TCP sending rate and a current TCP receiving rate.
统计终端当前 TCP发送速率, 即可获得终端的当前上行流量; 统计终 端当前 TCP接收速率, 即可获得终端的当前下行流量。  The current TCP transmission rate of the terminal is obtained, and the current uplink traffic of the terminal is obtained. The current TCP reception rate of the terminal is obtained, and the current downlink traffic of the terminal is obtained.
步驟 S103 , 判断当前 TCP接收速率是否大于当前 TCP发送速率; 可以对当前 TCP接收与发送速率进行比较, 也可以对当前上行和下行 流量进行比较。  Step S103: Determine whether the current TCP receiving rate is greater than the current TCP sending rate; compare the current TCP receiving and sending rates, and compare the current uplink and downlink traffic.
步驟 S104, 在当前 TCP接收速率大于当前 TCP发送速率时, 判断当 前 TCP发送速率是否大于上行速率门限; Step S104: When the current TCP receiving rate is greater than the current TCP sending rate, determine Whether the pre-TCP transmission rate is greater than the uplink rate threshold;
如果比较结果为当前 TCP接收速率大于当前 TCP发送速率,或当前下 行流量大于当前上行流量时, 此时 TCP下行数据(TCP应答响应) 的发送 可能会受到 TCP上行数据(TCP数据封包) 的影响, 需要保证下行数据的 及时发送。  If the comparison result is that the current TCP receiving rate is greater than the current TCP sending rate, or the current downlink traffic is greater than the current uplink traffic, the TCP downlink data (TCP response response) may be affected by the TCP uplink data (TCP data packet). It is necessary to ensure the timely transmission of downlink data.
步驟 S105 , 在当前 TCP发送速率大于上行速率门限时, 暂停发送 TCP 数据封包, 优先发送 TCP应答响应。  Step S105: When the current TCP sending rate is greater than the uplink rate threshold, the TCP data packet is suspended and the TCP response response is sent preferentially.
将当前 TCP发送速率与上行速率门限进行比较, 或将当前上行流量与 上行流量门限进行比较; 如果比较结果为当前 TCP发送速率大于上行速率 门限, 或当前上行流量大于上行流量门限, 则此时 TCP上行数据已经影响 了 TCP下行数据的及时发送, 需要限制上行数据的流量, 将网络传输流量 资源多分配给 TCP下行数据的发送, 确保 TCP下行数据 ( TCP应答响应 ) 的及时发送, 直至当前 TCP发送速率小于或等于上行速率门限, 再继续发 送 TCP数据封包, 进而提高 TCP双向并发时的传输流量, 最大化利用网络 资源; 同时, 由于利用网络在系统信息中广播的上下行配置信息获得门限 数据, 其获得方式简单、 方便、 快捷, 有利于提高整个传输调控的工作效 率。  Comparing the current TCP transmission rate with the uplink rate threshold, or comparing the current uplink traffic with the uplink traffic threshold; if the comparison result is that the current TCP transmission rate is greater than the uplink rate threshold, or the current uplink traffic is greater than the uplink traffic threshold, then TCP Uplink data has affected the timely transmission of TCP downlink data. It is necessary to limit the traffic of uplink data, and allocate network traffic traffic resources to TCP downlink data transmission to ensure timely transmission of TCP downlink data (TCP response response) until the current TCP transmission. The rate is less than or equal to the uplink rate threshold, and then the TCP data packet is continuously sent, thereby improving the transmission traffic when the TCP is bidirectionally concurrent, and maximizing the utilization of the network resources. Meanwhile, the threshold data is obtained by using the uplink and downlink configuration information broadcasted by the network in the system information. The obtaining method is simple, convenient and fast, and is beneficial to improving the working efficiency of the entire transmission regulation.
如图 2所示, 图 2为本发明实施例 TCP双向并发传输调控方法的第二 实施例的流程图。 本实施例在图 1 所示实施例的基础上, 对获得上行速率 门限的步驟进行详细描述, 具体包括:  As shown in FIG. 2, FIG. 2 is a flowchart of a second embodiment of a TCP bidirectional concurrent transmission control method according to an embodiment of the present invention. In this embodiment, the steps of obtaining the uplink rate threshold are described in detail on the basis of the embodiment shown in FIG. 1, which specifically includes:
步驟 S201 , 获取网络系统信息;  Step S201, acquiring network system information;
本实施例中的网络系统信息主要为 TD-LTE ( Time Division Long Term Evolution, 分时长期演进) 系统信息中的广播信息。  The network system information in this embodiment is mainly broadcast information in TD-LTE (Time Division Long Term Evolution) system information.
步驟 S202, 解析网络系统信息中的上下行配置信息;  Step S202, parsing uplink and downlink configuration information in the network system information;
其中, 上下行配置信息包括特殊子帧配置信息和上下行链路配置信息, 具体配置信息如下表所示: The uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information. The specific configuration information is shown in the following table:
Figure imgf000008_0001
Figure imgf000008_0001
步驟 S203 , 根据上下行配置信息, 获得 TCP发送最大速率;  Step S203: Obtain a maximum TCP transmission rate according to the uplink and downlink configuration information.
步驟 S204, 根据 TCP发送最大速率, 获得上行速率门限。  Step S204: Obtain an uplink rate threshold according to a maximum rate of TCP transmission.
结合上下行配置信息和终端的传输能力 , 获得理想状态下 TCP上行发 送的最大速率, 并获得上行速率门限或上行流量门限。  Combine the uplink and downlink configuration information with the transmission capability of the terminal to obtain the maximum rate of TCP uplink transmission in an ideal state, and obtain an uplink rate threshold or an uplink traffic threshold.
本实施例利用网络在系统信息中广播的上下行配置信息, 获得 TCP上 行速率门限或上行流量门限, 依据门限数据与实际数据, 调整上下行流量 分配情况, 限制上行数据的流量, 提高 TCP应答响应的优先级, 确保下行 数据流量,进而有效提高了 TCP双向并发数据流量,充分利用了网络资源。  In this embodiment, the uplink and downlink configuration information broadcasted by the network in the system information is used to obtain the TCP uplink rate threshold or the uplink traffic threshold, and the uplink and downlink traffic distribution is adjusted according to the threshold data and the actual data, the uplink data traffic is restricted, and the TCP response response is improved. The priority ensures the downstream data traffic, which effectively improves the TCP bidirectional concurrent data traffic and makes full use of network resources.
如图 3所示, 图 3为本发明实施例 TCP双向并发传输调控方法的第三 实施例的流程图。 本实施例提到的 TCP双向并发传输调控方法, 包括: 步驟 S301 , 根据网络系统信息中的上下行配置信息, 获得上行速率门 限;  As shown in FIG. 3, FIG. 3 is a flowchart of a third embodiment of a TCP bidirectional concurrent transmission control method according to an embodiment of the present invention. The TCP bidirectional concurrent transmission control method mentioned in this embodiment includes: Step S301: Obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information.
步驟 S302, 获取当前 TCP发送速率和当前 TCP接收速率;  Step S302: Acquire a current TCP sending rate and a current TCP receiving rate.
步驟 S303 , 判断当前 TCP接收速率是否大于当前 TCP发送速率; 如 果是, 则执行步驟 S304; 如果否, 则执行步驟 S306;  Step S303, determining whether the current TCP receiving rate is greater than the current TCP sending rate; if yes, executing step S304; if not, executing step S306;
步驟 S304, 判断当前 TCP发送速率是否大于上行速率门限; 如果是, 则执行步驟 S305; 如果否, 则执行步驟 S306; Step S304, determining whether the current TCP transmission rate is greater than an uplink rate threshold; if yes, Then step S305 is performed; if no, step S306 is performed;
步驟 S305 , 暂停发送 TCP数据封包, 优先发送 TCP应答响应; 步驟 S306, 同时发送 TCP数据封包和 TCP应答响应。  Step S305, suspending the sending of the TCP data packet, and preferentially sending the TCP response response; Step S306, simultaneously transmitting the TCP data packet and the TCP response response.
本实施例以图 1所示实施例为基础, 在对当前 TCP接收与发送速率进 行比较, 或对当前上行和下行流量进行比较时, 如果比较结果为当前 TCP 接收速率小于或等于当前 TCP发送速率, 或当前下行流量小于或等于当前 上行流量, 则说明 TCP下行数据未受到上行数据影响, 可以同时发送上下 行数据, 实现正常的 TCP双向并发传输。 此外, 在将当前 TCP发送速率与 上行速率门限进行比较, 或将当前上行流量与上行流量门限进行比较时, 如果比较结果为当前 TCP发送速率小于或等于上行速率门限, 或当前上行 流量小于或等于上行流量门限时, 也可说明 TCP下行数据未受到上行数据 影响, 可以同时发送上下行数据, 实现正常的 TCP双向并发传输。 本实施 例根据当前上下行速率或流量,动态调整 TCP传输流量分配,有效提高 TCP 双向并发时的传输流量, 充分利用了网络资源。  This embodiment is based on the embodiment shown in FIG. 1 , when comparing the current TCP receiving and sending rates, or comparing the current uplink and downlink traffic, if the comparison result is that the current TCP receiving rate is less than or equal to the current TCP sending rate. If the current downlink traffic is less than or equal to the current uplink traffic, the TCP downlink data is not affected by the uplink data, and the uplink and downlink data can be simultaneously sent to implement normal TCP bidirectional concurrent transmission. In addition, when the current TCP transmission rate is compared with the uplink rate threshold, or when the current uplink traffic is compared with the uplink traffic threshold, if the comparison result is that the current TCP transmission rate is less than or equal to the uplink rate threshold, or the current uplink traffic is less than or equal to When the upstream traffic threshold is reached, it can also be explained that the TCP downlink data is not affected by the uplink data, and the uplink and downlink data can be simultaneously transmitted to implement normal TCP bidirectional concurrent transmission. In this embodiment, the TCP transmission traffic allocation is dynamically adjusted according to the current uplink and downlink rate or traffic, and the transmission traffic during TCP bidirectional concurrency is effectively improved, and the network resources are fully utilized.
如图 4所示, 图 4为本发明实施例 TCP双向并发传输调控装置的第一 实施例的结构示意图。本实施例提到的 TCP双向并发传输调控装置, 包括: 门限获得模块 10, 配置为根据网络系统信息中的上下行配置信息, 获 得上行速率门限;  As shown in FIG. 4, FIG. 4 is a schematic structural diagram of a first embodiment of a TCP bidirectional concurrent transmission control apparatus according to an embodiment of the present invention. The TCP bidirectional concurrent transmission control apparatus mentioned in this embodiment includes: a threshold obtaining module 10 configured to obtain an uplink rate threshold according to uplink and downlink configuration information in the network system information;
速率获耳 4莫块 20, 配置为获取当前 TCP发送速率和当前 TCP接收速 率;  The rate is obtained from the ear 20, configured to obtain the current TCP transmission rate and the current TCP reception rate;
速率判断模块 30, 配置为判断当前 TCP接收速率是否大于当前 TCP 发送速率;  The rate determining module 30 is configured to determine whether the current TCP receiving rate is greater than a current TCP sending rate.
门限判断模块 40, 配置为在当前 TCP接收速率大于当前 TCP发送速 率时, 判断当前 TCP发送速率是否大于上行速率门限;  The threshold determining module 40 is configured to determine whether the current TCP sending rate is greater than an uplink rate threshold when the current TCP receiving rate is greater than the current TCP sending rate.
发送模块 50, 配置为在当前 TCP发送速率大于上行速率门限时, 暂停 发送 TCP数据封包, 优先发送 TCP应答响应。 The sending module 50 is configured to pause when the current TCP sending rate is greater than the uplink rate threshold. Send a TCP data packet and send a TCP response response first.
本实施例利用网络在系统信息中广播的上下行配置信息, 结合终端的 传输能力, 获得上行速率门限。 其中, 上下行配置信息即时隙配比信息, 可很容易在网络系统信息中解析获得, 其获得方式非常方便快捷, 进而使 获得上行速率门限的过程也更加简单、 方便, 有利于提高获得上行速率门 限的效率, 为后续的调控过程节约时间,有利于及时对 TCP传输进行调控。 统计终端当前 TCP发送速率, 即可获得终端的当前上行流量; 统计终端当 前 TCP接收速率, 即可获得终端的当前下行流量。 可以对当前 TCP接收与 发送速率进行比较, 也可以对当前上行和下行流量进行比较。 如果比较结 果为当前 TCP接收速率大于当前 TCP发送速率,或当前下行流量大于当前 上行流量时, 此时 TCP下行数据(TCP应答响应) 的发送可能会受到 TCP 上行数据 ( TCP数据封包) 的影响, 需要保证下行数据的及时发送。 将当 前 TCP发送速率与上行速率门限进行比较, 或将当前上行流量与上行流量 门限进行比较; 如果比较结果为当前 TCP发送速率大于上行速率门限, 或 当前上行流量大于上行流量门限,则此时 TCP上行数据已经影响了 TCP下 行数据的及时发送, 需要限制上行数据的流量, 将网络传输流量资源多分 配给 TCP下行数据的发送, 确保 TCP下行数据( TCP应答响应 )的及时发 送, 直至当前 TCP发送速率小于或等于上行速率门限, 再继续发送 TCP数 据封包, 进而提高 TCP双向并发时的传输流量, 最大化利用网络资源; 同 时, 由于利用网络在系统信息中广播的上下行配置信息获得门限数据, 其 获得方式简单、 方便、 快捷, 有利于提高整个传输调控的工作效率。  In this embodiment, the uplink and downlink configuration information broadcasted by the network in the system information is used, and the uplink rate threshold is obtained by combining the transmission capability of the terminal. The uplink and downlink configuration information, that is, the slot ratio information, can be easily parsed and obtained in the network system information, and the obtaining manner is very convenient and fast, so that the process of obtaining the uplink rate threshold is also simpler and more convenient, and is beneficial to improving the obtaining uplink rate. The efficiency of the threshold saves time for the subsequent control process and is beneficial for timely regulation of TCP transmission. The current TCP transmission rate of the terminal can be obtained, and the current uplink traffic of the terminal can be obtained. The current downlink traffic of the terminal can be obtained by the current TCP receiving rate of the terminal. The current TCP reception and transmission rate can be compared, and the current uplink and downlink traffic can also be compared. If the comparison result is that the current TCP receiving rate is greater than the current TCP sending rate, or the current downlink traffic is greater than the current uplink traffic, the transmission of the TCP downlink data (TCP response response) may be affected by the TCP uplink data (TCP data packet). It is necessary to ensure the timely transmission of downlink data. Comparing the current TCP transmission rate with the uplink rate threshold, or comparing the current uplink traffic with the uplink traffic threshold; if the comparison result is that the current TCP transmission rate is greater than the uplink rate threshold, or the current uplink traffic is greater than the uplink traffic threshold, then TCP Uplink data has affected the timely transmission of TCP downlink data. It is necessary to limit the traffic of uplink data, and allocate network traffic traffic resources to TCP downlink data transmission to ensure timely transmission of TCP downlink data (TCP response response) until the current TCP transmission. The rate is less than or equal to the uplink rate threshold, and then the TCP data packet is continuously sent, thereby improving the transmission traffic when the TCP is bidirectionally concurrent, and maximizing the utilization of the network resources. Meanwhile, the threshold data is obtained by using the uplink and downlink configuration information broadcasted by the network in the system information. The obtaining method is simple, convenient and fast, and is beneficial to improving the working efficiency of the entire transmission regulation.
如图 5所示, 图 5为本发明实施例 TCP双向并发传输调控装置的第二 实施例的结构示意图。 本实施例在图 4所示实施例的基础上, 详细描述了 门限获得模块 10的结构, 门限获得模块 10具体包括:  As shown in FIG. 5, FIG. 5 is a schematic structural diagram of a second embodiment of a TCP bidirectional concurrent transmission control apparatus according to an embodiment of the present invention. The structure of the threshold obtaining module 10 is described in detail on the basis of the embodiment shown in FIG. 4, and the threshold obtaining module 10 specifically includes:
系统信息获取单元 11 , 配置为获取网络系统信息; 配置信息解析单元 12,配置为解析网络系统信息中的上下行配置信息; 最大速率获得单元 13 , 配置为根据上下行配置信息, 获得 TCP发送最 大速率; The system information obtaining unit 11 is configured to acquire network system information. The configuration information parsing unit 12 is configured to parse the uplink and downlink configuration information in the network system information. The maximum rate obtaining unit 13 is configured to obtain a maximum TCP transmission rate according to the uplink and downlink configuration information.
门限速率获得单元 14, 配置为根据 TCP发送最大速率, 获得上行速率 门限。  The threshold rate obtaining unit 14 is configured to obtain an uplink rate threshold according to a maximum rate of TCP transmission.
本实施例中的网络系统信息主要为 TD-LTE ( Time Division Long Term Evolution, 分时长期演进) 系统信息中的广播信息。 其中, 上下行配置信 息包括特殊子帧配置信息和上下行链路配置信息, 具体配置信息如下表所  The network system information in this embodiment is mainly broadcast information in TD-LTE (Time Division Long Term Evolution) system information. The uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information. The specific configuration information is as follows:
Figure imgf000011_0001
Figure imgf000011_0001
结合上下行配置信息和终端的传输能力, 获得理想状态下 TCP上行发 送的最大速率, 并获得上行速率门限或上行流量门限。 本实施例利用网络 在系统信息中广播的上下行配置信息, 获得 TCP上行速率门限或上行流量 门限, 依据门限数据与实际数据, 调整上下行流量分配情况, 限制上行数 据的流量, 提高 TCP应答响应的优先级, 确保下行数据流量, 进而有效提 高了 TCP双向并发数据流量, 充分利用了网络资源。  Combine the uplink and downlink configuration information with the transmission capability of the terminal to obtain the maximum rate of TCP uplink transmission in an ideal state, and obtain an uplink rate threshold or an uplink traffic threshold. In this embodiment, the uplink and downlink configuration information broadcasted by the network in the system information is used to obtain the TCP uplink rate threshold or the uplink traffic threshold, and the uplink and downlink traffic distribution is adjusted according to the threshold data and the actual data, the uplink data traffic is restricted, and the TCP response response is improved. The priority ensures the downstream data traffic, which effectively improves the TCP bidirectional concurrent data traffic and makes full use of network resources.
本发明实施例中,发送模块 50还配置为,在当前 TCP发送速率小于或 等于上行速率门限时, 同时发送 TCP数据封包和 TCP应答响应; 在当前 TCP接收速率小于或等于当前 TCP发送速率时,同时发送 TCP数据封包和 TCP应答响应。 In the embodiment of the present invention, the sending module 50 is further configured to: when the current TCP sending rate is less than or equal to the uplink rate threshold, simultaneously send the TCP data packet and the TCP response response; When the TCP reception rate is less than or equal to the current TCP transmission rate, the TCP data packet and the TCP response are simultaneously sent.
本实施例在对当前 TCP接收与发送速率进行比较, 或对当前上行和下 行流量进行比较时, 如果比较结果为当前 TCP接收速率小于或等于当前 TCP发送速率, 或当前下行流量小于或等于当前上行流量, 则说明 TCP下 行数据未受到上行数据影响, 可以同时发送上下行数据, 实现正常的 TCP 双向并发传输。 此外, 在将当前 TCP发送速率与上行速率门限进行比较, 或将当前上行流量与上行流量门限进行比较时, 如果比较结果为当前 TCP 发送速率小于或等于上行速率门限, 或当前上行流量小于或等于上行流量 门限时, 也可说明 TCP下行数据未受到上行数据影响, 可以同时发送上下 行数据, 实现正常的 TCP双向并发传输。 本实施例根据当前上下行速率或 流量,动态调整 TCP传输流量分配,有效提高 TCP双向并发时的传输流量, 充分利用了网络资源。  In this embodiment, when comparing the current TCP receiving and sending rates, or comparing the current uplink and downlink traffic, if the comparison result is that the current TCP receiving rate is less than or equal to the current TCP sending rate, or the current downlink traffic is less than or equal to the current uplink. The traffic indicates that the TCP downlink data is not affected by the uplink data, and the uplink and downlink data can be simultaneously transmitted to implement normal TCP bidirectional concurrent transmission. In addition, when the current TCP transmission rate is compared with the uplink rate threshold, or when the current uplink traffic is compared with the uplink traffic threshold, if the comparison result is that the current TCP transmission rate is less than or equal to the uplink rate threshold, or the current uplink traffic is less than or equal to When the upstream traffic threshold is reached, it can also be explained that the TCP downlink data is not affected by the uplink data, and the uplink and downlink data can be simultaneously transmitted to implement normal TCP bidirectional concurrent transmission. In this embodiment, the TCP transmission traffic allocation is dynamically adjusted according to the current uplink and downlink rate or traffic, which effectively improves the transmission traffic when the TCP is bidirectionally concurrent, and fully utilizes network resources.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 工业实用性  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Industrial applicability
本发明实施例提供了一种 TCP双向并发传输调控方法和装置, 获取当 前 TCP发送速率和当前 TCP接收速率; 判断当前 TCP接收速率是否大于 当前 TCP发送速率; 在当前 TCP接收速率大于当前 TCP发送速率时, 判 断当前 TCP发送速率是否大于上行速率门限;在当前 TCP发送速率大于上 行速率门限时, 暂停发送 TCP数据封包, 优先发送 TCP应答响应。 本发明 实施例利用网络在系统信息中广播的上下行配置信息获得门限数据, 门限 数据获得方式简单、 方便、 快捷, 有利于提高整个传输调控的工作效率, 将网络传输流量资源多分配给 TCP下行数据,确保 TCP下行数据的及时发 送, 提高 TCP双向并发时的传输流量, 最大化利用网络资源。  The embodiment of the invention provides a TCP bidirectional concurrent transmission control method and device, which acquires the current TCP transmission rate and the current TCP reception rate; determines whether the current TCP reception rate is greater than the current TCP transmission rate; and the current TCP reception rate is greater than the current TCP transmission rate. When the current TCP transmission rate is greater than the uplink rate threshold, when the current TCP transmission rate is greater than the uplink rate threshold, the TCP data packet is suspended and the TCP response response is sent preferentially. The embodiment of the present invention obtains the threshold data by using the uplink and downlink configuration information broadcasted by the network in the system information, and the threshold data obtaining manner is simple, convenient, and fast, which is beneficial to improving the working efficiency of the entire transmission and control, and allocating network transmission traffic resources to the TCP downlink. The data ensures timely transmission of TCP downlink data, improves transmission traffic when TCP is bidirectionally concurrent, and maximizes utilization of network resources.

Claims

权利要求书 claims
1、 一种 TCP双向并发传输调控方法, 包括: 1. A TCP bidirectional concurrent transmission control method, including:
根据网络系统信息中的上下行配置信息, 获得上行速率门限; 获取当前 TCP发送速率和当前 TCP接收速率; Obtain the uplink rate threshold according to the uplink and downlink configuration information in the network system information; obtain the current TCP sending rate and the current TCP receiving rate;
判断当前 TCP接收速率是否大于当前 TCP发送速率; Determine whether the current TCP receiving rate is greater than the current TCP sending rate;
在当前 TCP接收速率大于当前 TCP发送速率时, 判断当前 TCP发送 速率是否大于上行速率门限; When the current TCP receiving rate is greater than the current TCP sending rate, determine whether the current TCP sending rate is greater than the uplink rate threshold;
在当前 TCP发送速率大于上行速率门限时, 暂停发送 TCP数据封包, 优先发送 TCP应答响应。 When the current TCP sending rate is greater than the uplink rate threshold, the sending of TCP data packets is suspended, and the TCP response response is sent first.
2、 根据权利要求 1所述的方法, 其中, 所述根据网络系统信息中的上 下行配置信息, 获得上行速率门限包括: 2. The method according to claim 1, wherein said obtaining the uplink rate threshold according to the uplink and downlink configuration information in the network system information includes:
获取网络系统信息; Obtain network system information;
解析网络系统信息中的上下行配置信息; Parse the uplink and downlink configuration information in the network system information;
根据所述上下行配置信息, 获得 TCP发送最大速率; According to the uplink and downlink configuration information, obtain the TCP sending maximum rate;
根据所述 TCP发送最大速率, 获得上行速率门限。 According to the maximum TCP sending rate, the uplink rate threshold is obtained.
3、 根据权利要求 2所述的方法, 其中, 所述上下行配置信息包括特殊 子帧配置信息和上下行链路配置信息。 3. The method according to claim 2, wherein the uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
4、根据权利要求 2或 3所述的方法, 其中, 所述判断当前 TCP发送速 率是否大于上行速率门限之后还包括: 4. The method according to claim 2 or 3, wherein the determining whether the current TCP sending rate is greater than the uplink rate threshold further includes:
在当前 TCP发送速率小于或等于上行速率门限时,同时发送 TCP数据 封包和 TCP应答响应。 When the current TCP sending rate is less than or equal to the uplink rate threshold, TCP data packets and TCP response responses are sent simultaneously.
5、根据权利要求 4所述的方法, 其中, 所述判断当前 TCP接收速率是 否大于当前 TCP发送速率之后还包括: 5. The method according to claim 4, wherein the determining whether the current TCP receiving rate is greater than the current TCP sending rate further includes:
在当前 TCP接收速率小于或等于当前 TCP发送速率时,同时发送 TCP 数据封包和 TCP应答响应。 When the current TCP receiving rate is less than or equal to the current TCP sending rate, the TCP data packet and the TCP response response are sent simultaneously.
6、 一种 TCP双向并发传输调控装置, 包括: 6. A TCP bidirectional concurrent transmission control device, including:
门限获得模块, 配置为根据网络系统信息中的上下行配置信息, 获得 上行速率门限; The threshold acquisition module is configured to obtain the uplink rate threshold based on the uplink and downlink configuration information in the network system information;
速率获耳 4莫块, 配置为获取当前 TCP发送速率和当前 TCP接收速率; 速率判断模块,配置为判断当前 TCP接收速率是否大于当前 TCP发送 速率; The rate acquisition module 4 is configured to obtain the current TCP sending rate and the current TCP receiving rate; the rate judgment module is configured to determine whether the current TCP receiving rate is greater than the current TCP sending rate;
门限判断模块,配置为在当前 TCP接收速率大于当前 TCP发送速率时, 判断当前 TCP发送速率是否大于上行速率门限; The threshold judgment module is configured to determine whether the current TCP sending rate is greater than the uplink rate threshold when the current TCP receiving rate is greater than the current TCP sending rate;
发送模块, 配置为在当前 TCP发送速率大于上行速率门限时, 暂停发 送 TCP数据封包, 优先发送 TCP应答响应。 The sending module is configured to suspend sending TCP data packets and send TCP response responses first when the current TCP sending rate is greater than the uplink rate threshold.
7、 根据权利要求 6所述的装置, 其中, 所述门限获得模块包括: 系统信息获取单元, 配置为获取网络系统信息; 7. The device according to claim 6, wherein the threshold acquisition module includes: a system information acquisition unit configured to acquire network system information;
配置信息解析单元, 配置为解析网络系统信息中的上下行配置信息; 最大速率获得单元, 配置为根据所述上下行配置信息, 获得 TCP发送 最大速率; The configuration information parsing unit is configured to parse the uplink and downlink configuration information in the network system information; the maximum rate obtaining unit is configured to obtain the TCP sending maximum rate based on the uplink and downlink configuration information;
门限速率获得单元, 配置为根据所述 TCP发送最大速率, 获得上行速 率门限。 The threshold rate obtaining unit is configured to obtain the uplink rate threshold according to the TCP maximum sending rate.
8、 根据权利要求 7所述的装置, 其中, 所述上下行配置信息包括特殊 子帧配置信息和上下行链路配置信息。 8. The device according to claim 7, wherein the uplink and downlink configuration information includes special subframe configuration information and uplink and downlink configuration information.
9、 根据权利要求 7或 8所述的装置, 其中, 所述发送模块还配置为, 在当前 TCP发送速率小于或等于上行速率门限时, 同时发送 TCP数据封包 和 TCP应答响应。 9. The device according to claim 7 or 8, wherein the sending module is further configured to simultaneously send TCP data packets and TCP response responses when the current TCP sending rate is less than or equal to the uplink rate threshold.
10、 根据权利要求 9所述的装置, 其中, 所述发送模块还配置为, 在 当前 TCP接收速率小于或等于当前 TCP发送速率时, 同时发送 TCP数据 封包和 TCP应答响应。 10. The device according to claim 9, wherein the sending module is further configured to simultaneously send a TCP data packet and a TCP response when the current TCP receiving rate is less than or equal to the current TCP sending rate.
PCT/CN2013/079099 2012-10-25 2013-07-09 Method and apparatus for controlling tcp bidirectional concurrent transmission WO2013167024A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210413244.3A CN103780336B (en) 2012-10-25 2012-10-25 The two-way concurrent transmission regulation and control method and apparatus of TCP
CN201210413244.3 2012-10-25

Publications (2)

Publication Number Publication Date
WO2013167024A2 true WO2013167024A2 (en) 2013-11-14
WO2013167024A3 WO2013167024A3 (en) 2014-01-03

Family

ID=49551350

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079099 WO2013167024A2 (en) 2012-10-25 2013-07-09 Method and apparatus for controlling tcp bidirectional concurrent transmission

Country Status (2)

Country Link
CN (1) CN103780336B (en)
WO (1) WO2013167024A2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789700B (en) * 2016-12-23 2020-11-03 京信通信系统(中国)有限公司 Traffic shaping method and network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728680A (en) * 2004-07-31 2006-02-01 华为技术有限公司 Method for raising performance of data transmission according to transmission control protocol in mobile communication network
CN101030926A (en) * 2006-02-28 2007-09-05 华为技术有限公司 Method for controlling network data flow of global microwave access inter-operation
CN101110767A (en) * 2007-04-26 2008-01-23 北京畅讯信通科技有限公司 Accelerating method for asymmetric and multi-concurrency network
CN101982951A (en) * 2010-11-19 2011-03-02 华为技术有限公司 Data transmission control method and intermediate node
CN102710389A (en) * 2012-04-18 2012-10-03 华为技术有限公司 Method and user equipment for transmitting uplink data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407698C (en) * 2005-03-29 2008-07-30 华为技术有限公司 Data transmission method for wireless link control layer
CN102118298A (en) * 2009-12-31 2011-07-06 联芯科技有限公司 Method and device for improving data transmission efficiency at asymmetrical transmission speed
CN102420684B (en) * 2011-11-04 2014-11-05 展讯通信(上海)有限公司 Processing method of TCP (Transmission Control Protocol) data stream and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728680A (en) * 2004-07-31 2006-02-01 华为技术有限公司 Method for raising performance of data transmission according to transmission control protocol in mobile communication network
CN101030926A (en) * 2006-02-28 2007-09-05 华为技术有限公司 Method for controlling network data flow of global microwave access inter-operation
CN101110767A (en) * 2007-04-26 2008-01-23 北京畅讯信通科技有限公司 Accelerating method for asymmetric and multi-concurrency network
CN101982951A (en) * 2010-11-19 2011-03-02 华为技术有限公司 Data transmission control method and intermediate node
CN102710389A (en) * 2012-04-18 2012-10-03 华为技术有限公司 Method and user equipment for transmitting uplink data

Also Published As

Publication number Publication date
CN103780336B (en) 2017-07-07
WO2013167024A3 (en) 2014-01-03
CN103780336A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
JP6396302B2 (en) Device registration and sounding in time division multiple access networks
WO2015096719A1 (en) D2d resource allocation method, and data transmission method and device
JP4308295B2 (en) Wireless LAN system, its base station and terminal station
JP2016523033A5 (en)
WO2014050898A1 (en) Optical wireless access system
US9860916B2 (en) Data transmission method, access point and station
JP2016533120A5 (en)
WO2010081384A1 (en) Method and device for triggering and reporting scheduling request in wireless networks
WO2017211221A1 (en) Network access configuration method, network access method, communication device, and storage medium
WO2013134952A1 (en) Method, device, and system for scheduling-request resource allocation
WO2016191943A1 (en) Method, base station, and user equipment for resource scheduling
KR101892503B1 (en) Dynamic scheduling delay method of voice data and base station
WO2017197949A1 (en) Control method for data transmission, and relevant device
WO2013166670A1 (en) Method and device for configuring resources of uplink channel
WO2012151920A1 (en) Method and device for service transmission
WO2012136101A1 (en) Method, system, and device for handing hybrid automatic repeat request
WO2020172982A1 (en) Data transmission method and device for multi-radio frequency system, storage medium and terminal
CN108432325A (en) A kind of method and device of data transmission
JP2019515597A (en) Service data transmission method, terminal and network side device
WO2015061943A1 (en) Resource scheduling method, apparatus and system
WO2014114104A1 (en) Wireless packet transmission device and method
WO2013064101A1 (en) Harq mode determination method, uplink data transmission method and device
WO2017008198A1 (en) Channel access period allocation method, device and system
EP3099091A1 (en) Uplink resource allocation method, access terminal, and access point
CN108040332B (en) Bluetooth-based audio transmission method and device, storage medium and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13787907

Country of ref document: EP

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 13787907

Country of ref document: EP

Kind code of ref document: A2