CN115955697A - Method for improving user perception in high-speed TCP (Transmission control protocol) service scene - Google Patents
Method for improving user perception in high-speed TCP (Transmission control protocol) service scene Download PDFInfo
- Publication number
- CN115955697A CN115955697A CN202211607221.6A CN202211607221A CN115955697A CN 115955697 A CN115955697 A CN 115955697A CN 202211607221 A CN202211607221 A CN 202211607221A CN 115955697 A CN115955697 A CN 115955697A
- Authority
- CN
- China
- Prior art keywords
- packet
- tcp service
- packet loss
- early warning
- base station
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method for improving user perception in a high-speed TCP (transmission control protocol) service scene, which belongs to the technical field of reading frames and comprises the following steps: setting early warning threshold N in middle layer buffer memory of base station packet (ii) a Monitoring the state of the middle-layer cache, and if the number of messages cached in the middle-layer cache reaches an early warning threshold N packet The base station feeds back a packet of lost packets to the TCP service sending terminal, and sends an early warning to the TCP service sending terminal in time, and the TCP service sending terminal adjusts the size of the sending window according to the early warning, so that the problems that the sending terminal cannot adjust the size of the sending window in time to cause sudden large amount of lost packets due to untimely feedback of the receiving terminal of the TCP service, the sending terminal window is seriously reduced due to large amount of lost packets, and the terminal cannot receive data streams within a period of time are solved. The method can prevent the problem of low data flow received by the terminal equipment within a period of time due to a large amount of packet loss feedback during TCP communication.
Description
Technical Field
The invention belongs to the field of LTE wireless communication, and particularly relates to a method for improving user perception in a high-speed TCP service scene.
Background
An LTE (Long Term evolution) wireless communication technology has a remarkable feature of providing timely and high-speed data services, and is widely used in the high-speed information era.
LTE wireless communication terminal equipment (UE) generally uses the network structure shown in fig. 1 to download high-speed TCP (transmission Control protocol) services with a single thread or multiple threads through a wireless communication Base Station (eNodeB). High-speed TCP traffic Data flows are sent from a Public Data Network (PDN) and forwarded to a Core Network (Core Net) via a Switch (Switch), where the Core Network sends the Data to a base station device for wireless communication, and the base station device sends the Data to a terminal device of a user via a wireless link.
The TCP service provides congestion control, and when congestion occurs in the receiving and detecting of the TCP service, the sending end of the TCP service can reduce the rate and the quantity of data injected to the receiving end, and the congestion is relieved. The congestion is relieved by adjusting the size of a TCP service sending window, when a TCP service sending end receives packet loss feedback, the size of a sending end window can be reduced, the data rate of injection to a receiving side is reduced, and the sending window is adjusted by adopting a slow-rising and fast-falling principle.
When the terminal equipment of a user downloads the high-speed TCP service through a wireless link air interface between the base station and the terminal equipment, the base station firstly receives a TCP high-speed data stream from a network side, the base station has own middle-layer cache to cache the received high-speed data stream, the size of the middle-layer cache of the base station is limited, and the middle layer of the base station does not need too large cache in an actual service scene. However, in the initial stage of downloading the high-speed TCP service, the TCP service originating terminal first transmits in a larger transmission window, which is limited by the size of the buffer memory of the intermediate layer of the base station, and there are many packet losses in the intermediate layer of the base station, and the packet losses are fed back to the TCP service originating terminal, the originating terminal reduces the transmission window very quickly, and the base station receives less TCP data streams within a period of time, which results in a lower data flow received by the terminal device within a period of time, which sometimes reaches 20 seconds, and thus user experience and perception are reduced.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method for improving user perception in a high-speed TCP service scene.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method for improving user perception in a high-speed TCP service scene comprises the following steps:
setting early warning threshold N in middle layer buffer memory of base station packet ;
Monitoring the state of the intermediate layer cache, wherein the number of messages sent by a TCP service sending end stored in the intermediate layer cache reaches an early warning threshold N packet And then, the base station feeds back a packet of lost packets to the TCP service sending end, namely, the TCP service sending end sends an early warning, and the TCP service sending end adjusts the size of a sending window according to the early warning.
Further, still include: and setting a packet loss counter in the base station, and setting the value N of the packet loss counter to be 0 in an initial state for calculating the number of the fed back packet losses.
Further, after the base station feeds back a packet loss to the TCP service sending end, the buffer state of the middle layer is monitored;
if the number of the messages cached in the middle layer is less than the early warning threshold N packet And setting the packet loss counter to be 0.
Further, after the base station feeds back a packet loss packet to the TCP service sending end, if the number of the messages cached in the middle layer is not less than the threshold N packet Judging whether the number of the packet loss of the intermediate layer cache reaches N packet +N·N step (ii) a Wherein N is step Step length of buffer overflow;
if the number of the packet loss of the intermediate layer cache reaches N packet +N·N step If yes, feeding back a packet loss, and accumulating the packet loss counter by 1;
if the number of the packet loss of the intermediate layer cache does not reach N packet +N·N step Then the cache status continues to be monitored.
Further, said N step 15% of the middle layer buffer size.
Further, the early warning threshold N packet 40% of the middle layer cache size.
The method for improving the user perception in the high-speed TCP service scene has the following beneficial effects that:
the invention sets an early warning threshold in the middle layer cache of the base station, when the number of messages stored in the middle layer cache reaches the early warning threshold, the base station feeds back a packet of packet loss to the TCP service sending end and sends early warning to the TCP service sending end in time, and the TCP service sending end adjusts the sending window according to the early warning, thereby solving the problems that the sending end window is seriously reduced because the sending end cannot adjust the size of the sending end window in time to cause sudden large packet loss due to untimely feedback of the receiving end of the TCP service, and the terminal cannot receive data stream within a period of time because of large packet loss of the TCP.
Drawings
In order to more clearly illustrate the embodiments of the present invention and the design thereof, the drawings required for the embodiments will be briefly described below. The drawings in the following description are only some embodiments of the invention and it will be clear to a person skilled in the art that other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart of a method for improving user perception in a high-speed TCP service scenario according to the present invention.
Detailed Description
In order that those skilled in the art will better understand the technical solutions of the present invention and can practice the same, the present invention will be described in detail with reference to the accompanying drawings and specific examples. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The embodiment is as follows:
the invention provides a method for improving user perception in a high-speed TCP service scene, which comprises the following steps of: setting early warning threshold N in middle layer buffer memory of base station packet (ii) a Monitoring the state of the middle-layer cache, and if the number of messages cached in the middle-layer cache reaches an early warning threshold N packet And the base station feeds back a packet loss to the TCP service sending end. N is a radical of step 15% of the middle layer buffer size. Early warning threshold N packet 40% of the middle layer buffer size.
Due to the setting of the early warning threshold, when the base station early warns that the intermediate layer cache overflows, the base station timely sends early warning to the TCP service sending end by discarding a packet of message, and the TCP service sending end adjusts the sending window, so that the phenomenon that the sending end window is seriously reduced and the data stream cannot be received by the terminal within a period of time due to the fact that the sending end cannot timely adjust the size of the sending end window to cause sudden large packet loss because the receiving end of the TCP service feeds back untimely is avoided.
Specifically, still include: and setting a packet loss counter in the base station, and setting the value N of the packet loss counter to be 0 in an initial state for calculating the number of the fed back packet losses.
Specifically, after feeding back a packet of lost packets to the TCP service sending end, the base station monitors the buffer status of the intermediate layer; if the number of the messages cached in the middle layer is less than the early warning threshold N packet The packet loss counter is set to 0.
Specifically, after the base station feeds back a packet loss packet to the TCP service sending end, if the number of messages cached in the intermediate layer is not less than the threshold N packet Judging whether the number of the packet loss of the intermediate layer cache reaches N packet +N·N step (ii) a Wherein N is step Step length of buffer overflow; if the number of the packet loss of the intermediate layer cache reaches N packet +N·N step If yes, feeding back a packet loss, and accumulating the packet loss counter by 1; if the number of the packet loss of the intermediate layer cache does not reach N packet +N·N step Then the cache status continues to be monitored.
If the feedback of the packet loss exceeding the early warning threshold is not received, the base station feeds back a packet loss to the TCP service sending end at an interval of a packet loss step length so as to further ensure that the base station sends out early warning of intermediate layer cache overflow in time.
The following are specific implementation steps of this embodiment:
1. the base station starts to monitor the buffer state of the middle layer, and the packet loss counter is set to be 0, namely N =0.
2. Judging whether the number of the cached messages reaches a threshold N packet ,N packet An early warning threshold is set for the middle layer cache of the base station, the threshold is about 40% of the size of the middle layer cache, and the unit is the number of messages.
If the newspaper is bufferedThe number of words reaches the threshold N packet Continuing to step 3; if the threshold N is not reached packet Go to step 1.
3. The base station feeds back a packet loss to the TCP service sending end, and the packet loss counter accumulates 1, namely N = N +1.
4. Judging whether the number of messages cached in the middle layer is less than a threshold N packet If less than the threshold N packet Then go to step 1; if the number of the messages cached in the middle layer is not less than the threshold N packet Go to step 5.
5. Judging whether the number of the cached messages reaches N packet +N·N step ,N step The step size of the buffer overflow is generally set to be about 15% of the buffer size, and the unit is the number of messages. If the number of the cached messages reaches N packet +N·N step Skipping to step 3; if the number of the cached messages does not reach N packet +N·N step Then jump to step 4.
The above-mentioned embodiments are only preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and any simple modifications or equivalent substitutions of the technical solutions that can be obviously obtained by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.
Claims (6)
1. A method for improving user perception in a high-speed TCP service scene is characterized by comprising the following steps:
setting early warning threshold N in middle layer buffer memory of base station packet ;
Monitoring the state of the intermediate layer cache, wherein the number of messages sent by a TCP service sending end stored in the intermediate layer cache reaches an early warning threshold N packet And then, the base station feeds back a packet of packet loss to the TCP service sending end, namely, an early warning is sent to the TCP service sending end, and the TCP service sending end adjusts the size of a sending window according to the early warning.
2. The method according to claim 1, further comprising: and setting a packet loss counter in the base station, and setting the value N of the packet loss counter to be 0 in an initial state for calculating the number of the fed back packet losses.
3. The method for improving user perception in a high-speed TCP service scenario according to claim 2,
after the base station feeds back a packet loss to the TCP service sending end, monitoring the buffer state of the intermediate layer;
if the number of the messages cached in the middle layer is less than the early warning threshold N packet And setting the packet loss counter to be 0.
4. The method for improving user perception in a high-speed TCP service scenario according to claim 2,
after the base station feeds back a packet loss packet to the TCP service sending end, if the number of the messages cached in the middle layer is not less than the threshold N packet Judging whether the number of the packet loss of the intermediate layer cache reaches N packet +N·N step (ii) a Wherein N is step Step length of buffer overflow;
if the number of the packet loss of the intermediate layer cache reaches N packet +N·N step If yes, feeding back a packet loss, and accumulating the packet loss counter by 1;
if the number of the packet loss of the intermediate layer cache does not reach N packet +N·N step Then the cache status continues to be monitored.
5. The method according to claim 4, wherein said N is a function of a user profile, and wherein said N is a function of a user profile step 15% of the middle layer buffer size.
6. The method of claim 1, wherein the warning threshold N is a threshold N for improving user perception in a high speed TCP service scenario packet 40% of the middle layer cache size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211607221.6A CN115955697A (en) | 2022-12-14 | 2022-12-14 | Method for improving user perception in high-speed TCP (Transmission control protocol) service scene |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211607221.6A CN115955697A (en) | 2022-12-14 | 2022-12-14 | Method for improving user perception in high-speed TCP (Transmission control protocol) service scene |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115955697A true CN115955697A (en) | 2023-04-11 |
Family
ID=87286965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211607221.6A Pending CN115955697A (en) | 2022-12-14 | 2022-12-14 | Method for improving user perception in high-speed TCP (Transmission control protocol) service scene |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115955697A (en) |
-
2022
- 2022-12-14 CN CN202211607221.6A patent/CN115955697A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5832997B2 (en) | Managing video adaptation algorithms | |
EP2432175B1 (en) | Method, device and system for self-adaptively adjusting data transmission rate | |
US9479445B2 (en) | Application-aware flow control in a radio network | |
EP2364541B1 (en) | Stepwise probing for adaptive streaming in a packet communication network | |
RU2515997C2 (en) | Active queue management for wireless communication network uplink | |
US9706565B2 (en) | Method and device for video transmission | |
CN102056242B (en) | Method, system and equipment for controlling flow of backhaul link | |
KR20110054782A (en) | Apparatus and method for controlling data transmition in an wireless communication system | |
KR20060125779A (en) | Fast signalling procedure for streaming services quality of service managing in wireless networks | |
CN109698797B (en) | TCP congestion control method and device | |
EP2908591B1 (en) | Chunk-based scheduling method and chunk-based scheduling apparatus in wireless communication system | |
US20100067430A1 (en) | Relay apparatus and relay method | |
CN108401128B (en) | Congestion control method in video call | |
CN113206800B (en) | Message caching method and device and network equipment | |
KR101017532B1 (en) | Method for flow control in a communication system | |
WO2008066428A1 (en) | A method and a system for down link control in a cellular telephony system | |
CN106331717A (en) | Video code rate adaptive adjustment method and transmission-end device | |
CN104486690A (en) | Mobile video transmission optimization method based on TCP (transmission control protocol) | |
CN101183917B (en) | Multimedia data coding velocity regulating method and device | |
EP4014446B1 (en) | Techniques for adaptive bitrate video traffic shaping | |
KR101636484B1 (en) | Media prefill performance improvement | |
CN105450441A (en) | TCP-protocol-based weak network acceleration method and apparatus | |
CN115955697A (en) | Method for improving user perception in high-speed TCP (Transmission control protocol) service scene | |
CN112787944B (en) | Flow control method, apparatus and computer readable storage medium | |
CN100486249C (en) | Method for adjusting transmission control protocol receive window |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |