The present disclosure relates to controlling a congestion in a network, and more specifically to a method and an electronic device for dynamically controlling Transmission Control Protocol (TCP) congestion window. The present application is based on, and claims priority from an Indian Application Number 201841002139 filed on 18 Jan. 2018 the disclosure of which is hereby incorporated by reference herein.
TCP has been adopted widely by computer applications and mobile applications for streaming media, peer-to-peer file sharing, emailing, file transferring, accessing World Wide Web (www), remote administration, enabling secure shell etc. Many real time applications have emerged for using services includes Internet of Things (IoT), D2D (Device to Device) communications, Internet of Vehicles (IoV) etc., due to an evolution of a next generation mobile network. The applications demands a high network bandwidth and a quick data transmission for using the services, which causes TCP congestion in the next generation mobile network.
1. High blockage sensitivity causing a higher outage leading to slow growth of a congestion window and multiple retransmission timeouts.
2. Highly variable channel causes channel fluctuations i.e. Non-Line-of-Sight (NLOS)/Line-of-Sight (LOS) transitions.
Particularly in NLOS conditions, channel losses are masked by using retransmissions at a link level, where the TCP remains unaware of such variable channel conditions. Due to the aforesaid characteristics of the mmWave, packets keeps on buffering in different layers due to increase in the congestion window. This in turn leads to bufferbloat phenomenon causing significant increase in an end-to-end latency. To avoid same, an Active Queue Management (AQM) methodologies and cross layer approach for downlinks have been proposed for mmWave channel. Existing methods considers cross layer congestion for uplink channel. Several existing techniques are available to detect a packet loss either due to the congestion or due to a disconnection caused by the mmWave, which can be prevented by using retransmission timeouts.
Existing systems on TCP mmWave New Radio are limited to a single next generation node B (gNB). A motivation is there to analyze a TCP performance on a live air more realistic scenarios with multiple base stations. Timely adaptation of serving the gNBs is beneficial for the TCP. However considering a frequent handover case in the mmWave based the 5G NR, it can negatively affect the end-to-end latency and a TCP throughput. Therefore, it is necessary to adapt mobility techniques that minimizes the aforesaid packet losses cause due to the handovers and the delay caused due to switching between different gNBs or different radio access technologies in case of 5G HetNet scenarios. Moreover, while designing a backhaul and core networks for the mmWave based 5G NR, it is crucial to curtail the end-to-end latency. The mmWave 5G networks are high Bandwidth Delay Product (BDP) networks. This is because of availability of Gb/s order of bandwidth at a physical layer. On the other hand, existing TCP congestion control systems are not capable enough to tackle high BDP scenarios.
Due to bursty and dynamic nature of data traffic in the next generation 5G mobile networks, sporadic losses might cause due to a high Bandwidth Error Rate (BER), varying network signal conditions, mobility, a congested path, handoff problems, lengthy or frequent disconnections and the like. Considering an example, when a user tries to upload a video while traveling, the user might experience data stalling due to the varying network conditions. On the other hand, during peak hours when the network saturates due to a high number of users in a particular cell, high packet loss might be there as shown in the
Most of these TCP variants increase congestion window aggressively to address the unnecessary drops in congestion window, but sometimes fail to control the congestion in a lossy, a dynamic or a high BDP networks and during a high load. Few more variants such as TCP Veno, TCP BBR, TCP Westwood etc. address the congestion control issue in the mobile networks, but fails to achieve higher throughput than aforementioned methods. A motivation is there to design a dynamic algorithm to overcome the aforesaid losses and to attain higher throughput than the existing methods while maintaining friendliness and fairness.
Thus, it is desired to address the above mentioned disadvantages or other shortcomings or at least provide a useful alternative.
The principal object of the embodiments herein is to provide a method and an electronic device for dynamically controlling a TCP congestion window.
Another object of the embodiments herein is to estimate a real time available bandwidth for an available network.
Another object of the embodiments herein is to derive a dynamic congestion window control factor from the estimated real time available bandwidth.
Another object of the embodiments herein is to modify the congestion window based on the derived dynamic congestion window control factor.
Another object of the embodiments herein is to pass information of the real time available bandwidth from a lower layer of a modem to a higher layer of a TCP Stack and adjusting the congestion window.
Accordingly the embodiments herein provide a method for dynamically controlling a TCP congestion window. The method includes estimating, by an electronic device, a real time available bandwidth for an available network. Further, the method includes deriving, by the electronic device, a dynamic congestion window control factor from the estimated real time available bandwidth. Further, the method includes modifying, by the electronic device, the congestion window based on the derived dynamic congestion window control factor.
In an embodiment, estimating the real time available bandwidth incudes determining traffic associated with the available network, applying a Continuous to Discrete (c2d) time variant filter based on the traffic, extracting a plurality of characteristics associated with the available network based on the c2d time variant filter, wherein the characteristics comprises at least one of a traffic intensity, a link capacity, a packet sending rate to derive the real time available bandwidth and estimating the real time available bandwidth based on the plurality of network characteristics.
In an embodiment, the congestion window is modified by passing real time available bandwidth information from a lower layer of a modem to a higher layer of a TCP Stack and adjusting the congestion window.
In an embodiment, deriving the dynamic congestion window control factor from the estimated real time available bandwidth includes estimating at least one of a size of a file to be uploaded, a quality of service, network conditions, and a priority based dynamic adaptation, identifying actual packet loss from a spurious packet loss based on at least one of the size of the to be uploaded, the quality of service, the network conditions, and the priority based dynamic adaptation and deriving the dynamic congestion window control factor from the estimated real time available bandwidth based on the actual packet loss.
In an embodiment, modifying the congestion window based on the derived dynamic congestion window control factor includes increasing the congestion window or decreasing the congestion window.
In an embodiment, increasing the congestion window incudes determining a current bandwidth of a connection, dynamically determining whether with the current bandwidth is lower than the estimated real time available bandwidth, aggressively increasing the congestion window when the current bandwidth is lower than the estimated real time available bandwidth and steadily increasing the congestion window when the current bandwidth is not lower than the estimated real time available bandwidth.
In an embodiment, decreasing the congestion window includes determining whether network conditions are fluctuating, deriving whether a packet loss is due to congestion or due to the fluctuating network conditions, determining the dynamic congestion window control factor when the packet loss is due to the fluctuating network conditions and decreasing the congestion window based on the dynamic congestion window control factor.
In an embodiment, determining whether the network conditions are fluctuating includes, deriving a Signal to Interference plus Noise Ratio (SINR) and a Received Signal Strength Indication (RSSI) variations based on a filter based approach and determining whether the network conditions are fluctuating based on the SINR and the RSSI variations.
Accordingly the embodiments herein provide an electronic device for dynamically controlling a TCP congestion window. The electronic device includes a memory, a processor and a congestion controller, where the congestion controller is operably coupled to the memory and the processor. The congestion controller is configured to estimate a real time available bandwidth for an available network. Further, the congestion controller is configured to derive a dynamic congestion window control factor from the estimated real time available bandwidth. Further, the congestion controller is configured to modify the congestion window based on the derived dynamic congestion window control factor.
These and other aspects of the embodiments herein will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings. It should be understood, however, that the following descriptions, while indicating preferred embodiments and numerous specific details thereof, are given by way of illustration and not of limitation. Many changes and modifications may be made within the scope of the embodiments herein without departing from the spirit thereof, and the embodiments herein include all such modifications.
The embodiments of the present invention provide a method and an electronic device for dynamically controlling a TCP congestion window.
The embodiments of the present invention estimate a real time available bandwidth for an available network.
The embodiments of the present invention derive a dynamic congestion window control factor from the estimated real time available bandwidth.
The embodiments of the present invention modify the congestion window based on the derived dynamic congestion window control factor.
The embodiments of the present invention pass information of the real time available bandwidth from a lower layer of a modem to a higher layer of a TCP Stack and adjusting the congestion window.
This method and system is illustrated in the accompanying drawings, throughout which like reference letters indicate corresponding parts in the various figures. The embodiments herein will be better understood from the following description with reference to the drawings, in which:
The embodiments herein and the various features and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and detailed in the following description. Descriptions of well-known components and processing techniques are omitted so as to not unnecessarily obscure the embodiments herein. Also, the various embodiments described herein are not necessarily mutually exclusive, as some embodiments can be combined with one or more other embodiments to form new embodiments. The term “or” as used herein, refers to a non-exclusive or, unless otherwise indicated. The examples used herein are intended merely to facilitate an understanding of ways in which the embodiments herein can be practiced and to further enable those skilled in the art to practice the embodiments herein. Accordingly, the examples should not be construed as limiting the scope of the embodiments herein.
As is traditional in the field, embodiments may be described and illustrated in terms of blocks which carry out a described function or functions. These blocks, which may be referred to herein as managers, units, modules, hardware components or the like, are physically implemented by analog and/or digital circuits such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, active electronic components, optical components, hardwired circuits and the like, and may optionally be driven by firmware and software. The circuits may, for example, be embodied in one or more semiconductor chips, or on substrate supports such as printed circuit boards and the like. The circuits constituting a block may be implemented by dedicated hardware, or by a processor (e.g. one or more programmed microprocessors and associated circuitry), or by a combination of dedicated hardware to perform some functions of the block and a processor to perform other functions of the block. Each block of the embodiments may be physically separated into two or more interacting and discrete blocks without departing from the scope of the disclosure. Likewise, the blocks of the embodiments may be physically combined into more complex blocks without departing from the scope of the disclosure.
A D-TCP-Dynamic TCP congestion control method is proposed in this disclosure for next generation mobile networks. Major steps in controlling a TCP congestion are given below:
(1) D-TCP provides a real time estimation of an available bandwidth of a mobile networks. A system is proposed that can estimate a real time bandwidth by applying Continuous to Discrete (c2d) time variant filter based on a traffic flowing. The steps include extracting an end-to-end characteristics (like traffic intensity, link capacity, packet sending rate) to derive the available bandwidth. The D-TCP can quickly adapt to new circumstances and achieve a good estimation performance in case of abrupt changes or aburst loss conditions thereby, avoiding an aliasing effect.
(2) Derives the dynamic congestion control factor ‘N’ (i.e., dynamic congestion window control factor) based on the estimated bandwidth, where ‘N’ is used to increase/decrease a Congestion Window (CWND) during an RTT update and a loss detection respectively.
(3) Measures the mobile network performance characteristics and adaptively modifies the CWND based on the dynamic congestion control factor N measured. By doing so, the D-TCP can avoid CWND drops caused due to a spurious packet loss. It can update the CWND appropriately during burst losses. Hence, a complete available bandwidth can be utilized.
Unlike Parallel TCP, the proposed method used to open multiple sockets for full utilization but we control the CWND growth efficiently. Opening multiple sockets is not desirable as it violates the fairness and also impacts the power consumption of mobile networks. An object of the invention is to develop a reliable and an efficient available bandwidth measurement method with no or very few requirement of resources for data processing and memory.
Unlike existing methods, the proposed method includes estimating the real time available bandwidth for the available network in case of abrupt changes or burst loss conditions. Therefore, the proposed method enables an electronic device to quickly adapt the CWND in circumstances such as an area with saturated amount of users, varying network signal condition, mobility of a user device, a congested path etc.
Unlike the existing methods, the proposed method is reliable and power efficient for measuring the real time available bandwidth, using less amount of device resources for data processing and memory.
Unlike existing methods, the proposed method can be used to eliminate an occurrence of data loss or CWND drops caused due to transmission errors (or other wireless errors) and TCP congestion. Therefore, the method enables the electronic device to utilize the real time available bandwidth completely and provide substantially a higher throughput.
Referring now to the drawings, and more particularly to
In an embodiment, the congestion controller 110 is configured to determine traffic associated with the available network for estimating the real time available bandwidth BWE for the available network. Further, the congestion controller 110 is configured to apply a c2d time variant filter based on the traffic for estimating the real time available bandwidth BWE for the available network. An estimated available bandwidth B; at instance i is given in equation-1.
where di is data transferred between time interval ti−1 and ti. Δi is a time difference.
Further, the congestion controller 110 is configured to extract a plurality of characteristics associated with the available network based on the c2d time variant filter for estimating the real time available bandwidth BWE for the available network, where the characteristics includes a traffic intensity, a link capacity, a packet sending rate to derive the real time available bandwidth BWE. In an embodiment, the estimated available bandwidth B; models as a discrete time linear system. In an example, the electronic device 100 uses a discrete time filter using a Tustin approximation for estimating the available bandwidth Bi. A filtered available bandwidth BI at interval TI is given in equation-2.
where
is a cut off frequency. Consider, a constant αi, which is given in equation-3.
The equation-2 is rewritten as in equation-4, by using the constant αi.
Further, the congestion controller 110 is configured to estimate the real time available bandwidth BWE based on the plurality of the network characteristics. In an example, the constant αi is taken as 0.90. Hence equation-4 is rewritten as in equation-5.
B
I=0.90Bi−1+0.10Bi [Equation-5]
In an embodiment, the electronic device 100 normalizes the filtered available bandwidth Bi to avoid a packet aliasing effect from a low pass filter output and the estimated available bandwidth Bi to obtain the real time available bandwidth BWE.
The filtered available bandwidth BI in the available network (e.g. mmWave NR) fluctuates due to varying network conditions during Line of Sight (LOS) to Non Line of Sight (NLOS) transitions. In an embodiment, the electronic device 100 normalizes the fluctuations in the filtered available bandwidth BI and a Signal to Interference Noise Ratio (SINR) variations as given in equation-6:
norm=(Bi−BI)+(SINRi−SINRA) [Equation-6]
where, norm is an error normalization parameter used to cope up ad-hoc network conditions. SINRi and SINRA is a current SINR and an average SINR respectively.
The expression for the estimated real time available bandwidth BWE is given in the equation-7.
BWE=BI+g×norm [Equation-7]
where g is a clock granularity. In an example, g is set as 0.5 to match with an epoch timer.
The congestion controller 110 is configured to derive a dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE. In an embodiment, the dynamic congestion window control factor Ni+1 is used to increase and decrease the CWND during an Round Trip Time (RTT) update and loss detection respectively. A queue length of a Dynamic TCP (D-TCP or DTCP) flow is proportional to a TCP window size W. Therefore, an expected queue length E(Q) for a single flow in a proposed method is given in equation-8.
E(Q)=φ×E[WSF] [Equation-8]
where, φ is boost. E[WSF] is the expected window size of the single TCP flow. Here, φε(0,1).
The D-TCP have N different flow. Therefore, the equation-8 is rewritten as in the equation-9.
where E[W] is expectation of W and E[N].
The queue length obtains during i+1th, the dynamic congestion window control factor Ni+1 updates as in the equation-10.
where Ni, Qi and Wi are N, the queue length and the window size in the ith period, respectively. A bytes-in-flight queue length is estimated as in the equation-11.
where BWC is a current bandwidth.
In the above equation-11, N is the congestion level parameter used for making maximum network utilization. N is aggressive when BWE−BWC is increasing or rising, which signifies that the network is underutilized. N is passive when BWE−BWC˜0, which signifies an almost full utilization of the network.
Combining the equation-10 and the equation-11 to form the dynamic congestion window control factor Ni+1 as shown in equation-12.
In an embodiment, the congestion controller 110 is configured to estimate at least one of a size of a file to be uploaded, a quality of service, network conditions and a priority based dynamic adaptation for deriving the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE. Examples for the network conditions are, but not limited to RSSI, SNIR, Reference Signal Received Quality (RSRQ), etc. Further, the congestion controller 110 is configured to identify an actual packet loss from a spurious packet loss based on at least one of the size of the file to be uploaded, the quality of service, the network conditions and the priority based dynamic adaptation for deriving the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE. Further, the congestion controller 110 is configured to derive the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE based on the actual packet loss.
The congestion controller 110 is configured to modify the CWND based on the derived dynamic congestion window control factor Ni+1. The CWND is adjusted according to equation-13 and equation-14.
[Equation-13]
For each RTT: CWND←CWND+Ni+1 (13)
[Equation-14]
For each Loss: CWND←CWND(1−y)
where y is given in equation-15,
where η is a convergence factor for a fairness to avoid aggressiveness.
In an embodiment, modifying the CWND based on the derived dynamic congestion window control factor comprises increasing the CWND or decreasing the CWND.
In an embodiment, increasing the CWND incudes determining a current bandwidth of a connection, dynamically determining whether with the current bandwidth is lower than the estimated real time available bandwidth BWE, aggressively increasing the CWND when the current bandwidth is lower than the estimated real time available bandwidth BWE and steadily increasing the CWND when the current bandwidth is not lower than the estimated real time available bandwidth BWE.
In an embodiment, decreasing the CWND includes determining whether network conditions are fluctuating, deriving whether a packet loss is due to congestion or due to the fluctuating network conditions, determining the dynamic congestion window control factor when the packet loss is due to the fluctuating network conditions and decreasing the CWND based on the dynamic congestion window control factor.
In an embodiment, determining whether the network conditions are fluctuating includes, deriving the SINR and the RSSI variations based on a filter based approach and determining whether the network conditions are fluctuating based on the SINR and the RSSI variations.
In another embodiment, the CWND is modified by passing information of the real time available bandwidth BWE from a lower layer of a modem (e.g. Communication Processor (CP)) (not shown) to a higher layer of a TCP Stack and adjusting the CWND.
In an embodiment, the congestion controller 110 estimates an Upload (UL) bandwidth. The congestion controller 110 obtains a Transport Block Size (TBS) index for each carrier based on an Modulation and Coding Scheme (MCS) index, as per 3GPP 36.213, for estimating the UL bandwidth. Further, the congestion controller 110 determines a transport block size is calculated for each carrier based on TBS index and a Physical Resource Block (PRB) for estimating the UL bandwidth. Further, the congestion controller 110 determines a throughput for each carrier with a consideration of Multiple Input Multiple Output (MIMO) is used or not, for estimating the UL bandwidth. Further, the congestion controller 110 estimates a combine throughput by adding the throughput for each carrier, for estimating the UL bandwidth.
In an embodiment, the congestion controller 110 determines an overhead deduction. The congestion controller 110 determines a Layer-2/Layer-3 (L2/L3) header overhead by averaging, for determining the overhead deduction. Further, the congestion controller 110 averages the UL bandwidth for Download (DL) acknowledgements, in case DL flow is on, for determining the overhead deduction. Further, the congestion controller 110 determines a UL data retransmission rate at L2/L3 by averaging, for determining the overhead deduction.
The processor 120 (e.g. Application Processor (AP)) is configured to execute instructions stored in the memory 130 and to perform various operations.
The memory 130 stores a number of carriers. The memory 130 stores the instructions. The memory 130 may include non-volatile storage elements. Examples of such non-volatile storage elements may include magnetic hard discs, optical discs, floppy discs, flash memories, or forms of Electrically Programmable Memories (EPROM) or Electrically Erasable and Programmable (EEPROM) memories.
In addition, the memory 130 may, in some examples, be considered a non-transitory storage medium. The term “non-transitory” may indicate that the storage medium is not embodied in a carrier wave or a propagated signal. However, the term “non-transitory” should not be interpreted that the memory 130 is non-movable. In some examples, the memory 130 can be configured to store larger amounts of information than the memory 130. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g. in Random Access Memory (RAM) or cache).
The communicator 140 is configured to communicate internally between hardware components in the electronic device 100. Further, the communicator 140 is configured to communicate the electronic device 100 with the available network via a wired or wireless connection. In an example, the CP and the AP communicates using an Inter Processor Communication (IPC).
Although the
The congestion control factor estimator 114 derives the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE. In an embodiment, the congestion control factor estimator 114 estimates at least one of the size of the file to be uploaded, the quality of service, the network conditions and the priority based dynamic adaptation for deriving the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE. Further, the congestion control factor estimator 114 identifies the actual packet loss from the spurious packet loss based on at least one of the size of the file to be uploaded, the quality of service and the priority based dynamic adaptation for deriving the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE. Further, the congestion control factor estimator 114 derives the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE based on the actual packet loss.
The congestion window adjuster 116 modifies the CWND based on the derived dynamic congestion window control factor Ni+1.
The various actions, acts, blocks, steps, or the like in the flow diagram 400 may be performed in the order presented, in a different order or simultaneously. Further, in some embodiments, some of the actions, acts, blocks, steps, or the like may be omitted, added, modified, skipped, or the like without departing from the scope of the invention.
At 402C, the method includes extracting the plurality of characteristics associated with the available network based on the c2d time variant filter, where the characteristics includes at least one of the traffic intensity, the link capacity, the packet sending rate to derive the real time available bandwidth BWE. In an embodiment, the method allows the bandwidth estimator 112 to extract the plurality of characteristics associated with the available network based on the c2d time variant filter, where the characteristics includes at least one of the traffic intensity, the link capacity, the packet sending rate to derive the real time available bandwidth BWE. At 402D, the method includes estimating the real time available bandwidth BWE based on the plurality of network characteristics. In an embodiment, the method allows the bandwidth estimator 112 to estimate the real time available bandwidth BWE based on the plurality of network characteristics.
The various actions, acts, blocks, steps, or the like in the flow diagram 402 may be performed in the order presented, in a different order or simultaneously. Further, in some embodiments, some of the actions, acts, blocks, steps, or the like may be omitted, added, modified, skipped, or the like without departing from the scope of the invention.
At 404B, the method includes identifying actual packet loss from a spurious packet loss based on at least one of the size of the file to be uploaded, the quality of service and the priority based dynamic adaptation. In an embodiment, the method allows the congestion control factor estimator 114 to identify actual packet loss from the spurious packet loss based on at least one of the size of the file to be uploaded, the quality of service and the priority based dynamic adaptation. At 404C, the method includes deriving the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE based on the actual packet loss. In an embodiment, the method allows the congestion control factor estimator 114 to derive the dynamic congestion window control factor Ni+1 from the estimated real time available bandwidth BWE based on the actual packet loss.
The various actions, acts, blocks, steps, or the like in the flow diagram 404 may be performed in the order presented, in a different order or simultaneously. Further, in some embodiments, some of the actions, acts, blocks, steps, or the like may be omitted, added, modified, skipped, or the like without departing from the scope of the invention.
where Bi is current estimated bandwidth.
At 704, the method includes coping up with the network. In an embodiment, the method allows the congestion controller 110 to copy up with the network. The step in coping up with the network includes estimating bandwidth oscillations in NLOS←→LOS. The bandwidth/channel capacity depends on SINR.
norm=(Bi−BI)+SINRi−SINRA
BWE=BI+g×norm
where SINRi, SINRA, g is the current SINR, average SINR and clock granularity respectively.
At 706, the method includes calculating the congestion level parameter ‘N’ (i.e. congestion window control factor). In an embodiment, the method allows the congestion control factor estimator 114 to calculate the congestion level parameter ‘N’. N is the congestion level parameter for max network utilization. N is aggressive,
when BWE−BWC↑ i.e. underutilization.
N is passive,
when BWE−BWC˜0 i.e. full utilization.
where α is D-TCP fairness metrics.
In other words, wireless networks being dynamic in nature, utilization of network bandwidth varies substantially in peak and non-peak hours. The above equation caters to these issues by managing the value of N to increase the congestion window for highly variable network conditions. BWE is the estimated bandwidth which we derive from the lower layer metrics such as RSRQ, RSRP, CQI, SINR and other network parameters whereas BWC is the currently available bandwidth or currently used bandwidth. If the difference between the estimated bandwidth and the currently available bandwidth is positive, it signifies that the network is being underutilized, hence, the value of N is selected to increase the congestion window aggressively by a factor of N to accommodate more users. Whereas, if the difference is approximately 0, then the value of N is selected in such a way to increase the congestion window passively or gradually by the factor of N.
At 708, the method includes adaptively increasing or decreasing the congestion window. In an embodiment, the method allows the congestion window adjuster 116 to adaptively increase or decrease the congestion window.
For each RTT: CWND←CWND+Ni+1
For each Loss: CWND←CWND(1−y
where
The various actions, acts, blocks, steps, or the like in the flow diagram 700 may be performed in the order presented, in a different order or simultaneously. Further, in some embodiments, some of the actions, acts, blocks, steps, or the like may be omitted, added, modified, skipped, or the like without departing from the scope of the invention
In an embodiment, the TCP congestion is dynamically controlled by estimating the UL bandwidth and modem layer parameters includes the overhead deduction from the CP. Further, the real time available bandwidth BWE for fresh UL data is determined by subtracting the overhead deduction from the estimated UL bandwidth.
Once the TCP congestion occurs, the electronic device 100 decreases the CWND to a certain level (e.g. lower than legacy), and gradually increases the CWND to a previous state based on the information of the real time available bandwidth. Therefore, the method enables the electronic device 100 to efficiently control the CWND for a better network utilization especially in case of lossy and high-BDP conditions.
In another embodiment, an initialization of the electronic device 100 includes updating the CWND to 2×γ, ssthresh to 65535 and enabling D-TCP_reset( ). In response to detecting the packet loss, the electronic device 100 updates the CWND to
and ssthresh to CWND.
In response to detecting the D-TCP_reset( ), the electronic device 100 updates a value of N to 1, the α to 0.2 and epoch_start to tcp_time_stamp. In response to detecting a timeout, the electronic device 100 updates the CWND to 2×γ and enables the DTCP_reset( ). Further, the electronic device 100 performs N_updates( ), if tcp_time stamp( )-epoch start>update_epoch, then epoch_start updates to time_stamp. Further, if currentBW<estimatedBW, then temp updates to max(1.0, prenValue), nValue updates to nValue+temp and prenValue updates to nValue. In an embodiment, the electronic device 100 performs N_updates( ), if currentBW>estimatedBW then nValue updates to nValue+1, prenValue updates to nValue.
At 906, the method includes determining the transport block size is calculated for each carrier based on the TBS index and the PRB. In an embodiment, the method allows the congestion controller 110 to determine the transport block size is calculated for each carrier based on the TBS index and the PRB. At 908, the method includes determining the throughput for each carrier with the consideration of MIMO is used or not. In an embodiment, the method allows the congestion controller 110 to determine the throughput for each carrier with the consideration of MIMO is used or not. At 910, the method includes estimating the combine throughput by adding the throughput for each carrier. In an embodiment, the method allows the congestion controller 110 to estimate the combine throughput by adding the throughput for each carrier.
The various actions, acts, blocks, steps, or the like in the flow diagram 900 may be performed in the order presented, in a different order or simultaneously. Further, in some embodiments, some of the actions, acts, blocks, steps, or the like may be omitted, added, modified, skipped, or the like without departing from the scope of the invention.
The various actions, acts, blocks, steps, or the like in the flow diagram 1000 may be performed in the order presented, in a different order or simultaneously. Further, in some embodiments, some of the actions, acts, blocks, steps, or the like may be omitted, added, modified, skipped, or the like without departing from the scope of the invention.
For each RTT:CWND←CWND+N [Equation-16]
The equation-14 is rewritten as given in equation-17 by using an Adaptive Increase Adaptive Decrease (AIAD) paradigm.
For each Loss: CWND←CWND(1−y) [Equation-17]
where, y is given in equation-18
In an example, i is selected as 2. Therefore, y=3/(2N+1). For TCP Reno N=1, hence y=½. As shown in the
During NLPi, the CWND increase by Ni for each RTT and decrease by 1-y for each loss. Hence, the packet received at the ith duration is given in equation-20.
where K is the looping variable and Xi is the packet received during ith iteration.
The CWND at the end of NLP; is given in equation-21.
W
i=(1−yi−1)·Wi−1+Ni·Xi [Equation-21]
The equation-20 is rewritten as equation-22 by substituting the equation-21 to the equation-20.
The packet expectation E[P] is inversely propositional to the expected packet loss probability ρ. Hence, E[P]=1/ρ. Hence, equation-22 is rewritten as in equation-23.
According to the equation-21, the expectation in round Xi is given in equation-24.
Equation-25 is obtained by solving E[X] using equation-23 and equation-24.
Consider that the ρ is very small, the equation-25 is written as equation-26
Consider, ri,j as a randomly distributed value of jth iteration of NLP, with Pi=Σj=1X
E[T]=E[X]·E[r]=E[X]·RTT [Equation-27]
Equation-28 is obtained by substituting equation-26 and equation-27 in the equation-19.
For D-TCP, when i is set to 2, then E[y]=2/(3E[N]−1). Therefore, the approximate throughput model for D-TCP using equation-18 is given in equation-29.
For TCP Reno, E[N]=1 as N is always 1. Hence, the throughput model for the TCP Reno is given in equation-30.
When η is selected as 2, then D-TCP flows E[N] times TCP RENO flows. For multcp, the throughput model is given in equation-31.
which is not exactly E[N] times TCP Reno. Hence, D-TCP AIAD method is stable when η is set to 2.
According to equation-12, the expectation of the N is given in equation-32.
where, δB=E[BWE]−E[BWC] is the over/under-utilized bandwidth estimation.
Therefore, the approximate throughput model for D-TCP is given in equation-33.
In an embodiment, the efficiency attained by the electronic device 100 using the proposed method is determined based on network utilization, friendliness and fairness.
Consider, a network model which consists of L links l∈(1, 2 . . . L) each with bandwidth BI. There are S TCP session flows in this link. The routing matrix for LXS is denoted as R. For each TCP session s∈(1, 2 . . . S),
The link l has RTT Dl and packet loss rate Pl which is independent of the congestion and depends on the link l. Each link has congestion metrics xl which is measured using the packet loss due to congestion pl and queuing delay ql. Hence, xl=ml(pl, ql). The throughput for a session is given in equation-34.
T
s
=f
s(x) [Equation-34]
According to the equation-28 the network reaches equilibrium under the condition given in equation-35.
RT≤B,X(RT−B)=0 [Equation-35]
The equilibrium defined in the equation-30 exists if the network meets three conditions given below:
1) Ts=fs(xl, x−l) is a non-increasing function of xl for any fixed x−l=(x1, . . . xl−1, xl+1 . . . , xL)T;
2) 8>0, there exists a xmax such that if xl>xmax for link l, then Ts(x1)<ϵ; ∇s where Rl,s=1;
3) If (RT−B)=0, then D-TCP flows can reach equilibrium.
The packet loss and the queuing delay due to congestion pl and ql increases as the network gets more congested. Consider three assumptions given below:
1) If there is no congestion then pl=ql=0. Hence, m(0,0)=0.
2) x1=m(pl,ql) is a strictly increasing function of pl and ql.
3) For each link l, pl is non-decreasing as the ql increases and vice versa.
ps is the end-to-end congestion packet loss event rate and qs is the delay due to congestion in a particular TCP session s, defined as:
Ds is the end-to-end RTT and Ps is the random packet loss of session s, defined as:
The throughput function for DTCP in the equation-34 is expressed in equation-36
With reference to the assumptions (1) and (2) and the equation-27,
1) If Rl,s=1, then Ts is a strictly decreasing function of xl;
2) If Rl,s=0, then Ts is a constant;
3) Letting Ts=ϵ; xmax=fs−1 (Ts) and xl>xmax implies xs(pl)<xs=ϵ.
Therefore, Ts is a non-increasing function and the first condition holds. Consider, that equilibrium is at X=0, then ps=qs=0 ∇ session in s. From the throughput equation of D-TCP in equation-36, xs tends to infinity. This contradicts the proof that RT≤B. Therefore, D-TCP satisfy (RT-B)=0. Hence, network with D-TCP can reach equilibrium. A comparison of throughput of various TCP models are given in Table-1.
A TCP congestion control method is TCP friendly if it operates fair with TCP Reno algorithm. Let {circumflex over (T)}R be the average throughput of S TCP Reno flows. K of the S Reno flows replaces with D-TCP flows. Let {circumflex over (T)}D be average throughput of rest M flows given by M=S−K TCP Reno flows.
The throughput difference of the TCP Reno flows caused by D-TCP is given in equation-37.
{circumflex over (T)}
δ
={circumflex over (T)}
R
−{circumflex over (T)}
D [Equation-37]
If {circumflex over (T)}δ is close to 0, then D-TCP is said to be Reno friendly. D-TCP is TCP Reno friendly i.e. {circumflex over (T)}δ=0 if α≤qr/(D+qr).
{circumflex over (T)}R is rewritten as in equation-38.
From equation-36 the throughput of the D-TCP is written as in equation-39.
where qd and pd is the queuing delay and packet loss respectively, when replacing K TCP Reno connection with D-TCP congestion control method.
Solving the equation-38 and the equation-39, when α≤qr/(D+qr), then {circumflex over (T)}R={circumflex over (T)}D. Hence, {circumflex over (T)}δ={circumflex over (T)}R−{circumflex over (T)}D=0. The propose method is TCP friendly by selecting α as α∈{0.1, . . . 0.5}.
According to the equation-29, the TCP method is fair if throughputs for TCP flows with similar loss rate but different RTTs are the same.
If there are two flows i and j using D-TCP if TPi=TPj then D-TCP maintains intra fairness.
According to the throughput model given in the equation-33 when E[N]>1, TPDTCP=(α/δB)√{square root over (3/2·ρ)}. α set as the same value for all the flows. Hence the ratio of the two flows is written as:
As i and j shares the same bottleneck link, pi=pj and qi=qj. Hence, γDTCP=1 and TPi=TPj
The embodiments disclosed herein can be implemented using at least one software program running on at least one hardware device and performing network management functions to control the elements.
The foregoing description of the specific embodiments will so fully reveal the general nature of the embodiments herein that others can, by applying current knowledge, readily modify and/or adapt for various applications such specific embodiments without departing from the generic concept, and, therefore, such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the disclosed embodiments. It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore, while the embodiments herein have been described in terms of preferred embodiments, those skilled in the art will recognize that the embodiments herein can be practiced with modification within the spirit and scope of the embodiments as described herein.
Number | Date | Country | Kind |
---|---|---|---|
201841002139 | Jan 2018 | IN | national |
201841002139 | Jan 2019 | IN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/KR2019/000763 | 1/18/2019 | WO | 00 |