CN114585018B - Method, base station, terminal and system for preventing ACK packet congestion of 5G downlink TCP - Google Patents
Method, base station, terminal and system for preventing ACK packet congestion of 5G downlink TCP Download PDFInfo
- Publication number
- CN114585018B CN114585018B CN202210479384.4A CN202210479384A CN114585018B CN 114585018 B CN114585018 B CN 114585018B CN 202210479384 A CN202210479384 A CN 202210479384A CN 114585018 B CN114585018 B CN 114585018B
- Authority
- CN
- China
- Prior art keywords
- data packet
- rlc
- packet
- data
- pdcp
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0273—Traffic management, e.g. flow control or congestion control adapting protocols for flow control or congestion control to wireless environment, e.g. adapting transmission control protocol [TCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0278—Traffic management, e.g. flow control or congestion control using buffer status reports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method, a base station, a terminal and a system for preventing ACK packet congestion of 5G downlink TCP, wherein the method comprises the steps of canceling a PDCP layer of a 5G base station in sequence delivery function, simultaneously, preferentially distributing an RLC sequence number to an ACK confirmation packet and packaging an RLC head by an RLC layer of a user terminal, preferentially sending the ACK confirmation packet to the 5G base station by the user terminal, and sending data packets to a service end by the PDCP layer of the 5G base station according to the sequence of the data packets. The user terminal of the invention preferentially selects the ACK confirmation packet of the downlink TCP data packet to send to the 5G base station, the RLC layer unit of the 5G base station sorts the data according to the RLC sequence number after receiving the encapsulated data, and preferentially sends the data packet with the RLC sequence number in front to the PDCP layer, thereby ensuring that the ACK confirmation packet of the downlink TCP data packet can be preferentially sent to the service end, and preventing the congestion.
Description
Technical Field
The invention relates to the technical field of mobile communication, in particular to a method, a base station, a terminal and a system for preventing ACK (acknowledgement) packet congestion of 5G downlink TCP.
Background
The FTP (File Transfer Protocol) service of the 3GPP is a very typical service, and is carried on a TCP (Transmission Control Protocol). The uplink and downlink simultaneous transmission rate and stability of the FTP service are one of key assessment indexes. For example, the file uploading and downloading process is lengthy and interrupted due to the occurrence of packet loss retransmission, network congestion, and the like.
In the TCP communication process, after receiving the TCP data packet sent by the base station, the user terminal feeds back an ACK (acknowledgement) acknowledgement packet, which indicates that all TCP data packets before the ACK have been acknowledged, and the base station may continue to send the next data.
However, due to the limitation of spectrum, in TDD mode, the uplink air interface resource is often limited. In this case, the ACK acknowledgement packet of the downstream TCP packet is transmitted to the transmitting end through the upstream channel. Due to the limited uplink, the ACK acknowledgement packet cannot be stably and timely sent, so that the transmission rate of downlink FTP data fluctuates back and forth, and even the downlink rate window is reduced to 0 in a severe case.
In the 5G system, the base station side gNB adopts a Distributed layout, and is divided into two nodes, namely CU (Centralized Unit) and DU (Distributed Unit). An F1 interface is introduced for communication between a CU and a DU, where an SDAP layer (Service Data Adaptation Protocol) and a PDCP layer (Packet Data Convergence Protocol) are on the CU, and an RLC layer (Radio Link Control) and a MAC layer (medium access Control) are on the DU, see fig. 1: 5G base station protocol stack schematic diagram. Optional functions for supporting in-sequence delivery are set in the PDCP layer, and the RLC layer has no in-sequence delivery function. With this configuration, the ACK packet cannot be transmitted preferentially. Since the RLC layer of the UE reorders the ACK packet even though the ACK packet is preferentially sent, the ACK packet is still blocked, and the previous data packets must be delivered to the server side sequentially after arriving. If the PDCP layer selects out-of-sequence delivery, the uplink FTP service is influenced, and because an air interface must preserve the sequence, the problem that the downlink FTP service rate is influenced because an ACK packet cannot be sent in time due to limitation of an uplink channel exists in a 5G system.
Therefore, there is a need to provide a method and system for preventing ACK packet congestion of downlink TCP in a 5G system, so that the downlink FTP service can be smoothly performed without affecting the transmission rate of downlink FTP data.
Disclosure of Invention
The invention aims to provide a method, a base station, a terminal and a system for preventing ACK acknowledgement packet congestion of a 5G downlink TCP data packet.
In order to solve the above technical problem, the present invention provides a method for preventing ACK packet congestion of 5G downlink TCP, comprising the following steps:
s1: a user terminal receives a downlink TCP data packet sent by a 5G base station, calls a TCP protocol stack, performs ACK feedback on the downlink TCP data packet, generates an ACK acknowledgement packet, and sends the ACK acknowledgement packet to a PDCP layer module; the PDCP layer module receives the ACK confirmation packet and/or the uplink TCP data packet, identifies and marks the ACK confirmation packet and/or the uplink TCP data packet after TCP analysis, distributes PDCP serial numbers and encapsulates PDCP heads according to the arrival sequence, generates a PDCP PDU data packet and sends the PDCP PDU data packet to the RLC layer module; the RLC layer module buffers the PDCP PDU data packet in a data queue, updates the buffer state and sends a current buffer state report to an MAC layer module; the MAC layer module sends the current cache state report to a 5G base station;
s2: the uplink scheduler of the 5G base station distributes adaptive authorization quantity according to the current cache state report and sends the authorization quantity to the user terminal;
s3: the MAC layer module of the user terminal receives the authorization quantity and sends the data quantity which can be accommodated by each bearer and is consistent with the authorization quantity to the RLC layer module; the RLC layer module preferentially selects the PDCP PDU data packets which are consistent with the data quantity which can be accommodated by each bearer and indicate ACK according to the arrival sequence of the PDCP PDU data packets, allocates RLC sequence numbers and encapsulates RLC heads; if the data volume of the PDCP PDU data packet indicated as ACK does not meet the data volume capable of being accommodated by each bearer and the buffer queue contains the PDCP PDU data packet indicated as TCP, then selecting the PDCP PDU data packet indicated as TCP again, distributing an RLC sequence number and packaging an RLC head; sending the encapsulated data packet to an MAC layer module; the MAC layer module delivers the encapsulated data packet to an air interface after channel multiplexing;
s4: the PHY layer unit of the 5G base station receives the encapsulated data packet and then delivers the encapsulated data packet to the MAC layer unit, and the MAC layer unit demultiplexes the encapsulated data packet and delivers the demultiplexed data packet to the RLC layer unit; the RLC layer unit sorts the encapsulated data packets according to the RLC sequence numbers of the encapsulated data packets and delivers the data packets to the PDCP layer unit in sequence; and the PDCP layer unit directly sends the encapsulated data packet to a service end after receiving the encapsulated data packet.
Further, the current buffer status report is used for reporting the data amount in the current buffer queue of the RLC layer module of the user equipment.
Further, the step S2 specifically includes: and after receiving the current buffer state report of the user terminal, the 5G base station calls an uplink scheduler, and the uplink scheduler allocates the authorization quantity which is the same as the data quantity in the current buffer queue of the RLC layer module of the user terminal and sends the authorization quantity to the user terminal.
In order to solve the above technical problem, the present invention further provides a user terminal, which includes a control module, a PDCP layer module, an RLC layer module, and an MAC layer module; the control module is used for receiving a downlink TCP data packet sent by the 5G base station, calling a TCP protocol stack, performing ACK feedback on the downlink TCP data packet, generating an ACK acknowledgement packet, and sending the ACK acknowledgement packet to the PDCP layer module;
the PDCP layer module is used for receiving the ACK confirmation packet and/or the uplink TCP data packet, identifying and marking the ACK confirmation packet and/or the uplink TCP data packet through TCP analysis, distributing a PDCP serial number and packaging a PDCP head according to an arrival sequence, generating a PDCP PDU data packet and sending the PDCP PDU data packet to the RLC layer module;
the RLC layer module is used for caching the PDCP PDU data packet in a data queue, updating the caching state and sending a current caching state report to the MAC layer module; and according to the arrival sequence of the PDCP PDU data packets, preferentially selecting the PDCP PDU data packets which are in the same direction with the data volume which can be accommodated by each bearer and are sent by the MAC layer module and are indicated as ACK in the buffer queue, distributing RLC sequence numbers and packaging RLC heads; if the data volume of the PDCP PDU data packet indicated as ACK does not meet the data volume capable of being accommodated by each bearer and the buffer queue contains the PDCP PDU data packet indicated as TCP, the PDCP PDU data packet indicated as TCP is selected again, an RLC sequence number is distributed and an RLC head is packaged; sending the encapsulated data packet to an MAC layer module;
the MAC layer module is used for sending the current cache state report to a 5G base station; receiving the authorization quantity sent by the 5G base station, and sending the data quantity which can be accommodated by each bearer and is consistent with the authorization quantity to the RLC layer module; and delivering the encapsulated data packet to an air interface after channel multiplexing.
Further, the current buffer status report is used to report the data amount in the current buffer queue of the RLC layer module of the user equipment.
In order to solve the above technical problem, the present invention further provides a 5G base station, which includes a data transmitting unit, a data receiving unit, an uplink scheduler, a PHY layer unit, a PDCP layer unit, an RLC layer unit, and an MAC layer unit;
the data sending unit is used for sending a downlink TCP data packet to the user terminal;
the data receiving unit is used for receiving the encapsulated data packet and the current cache state report sent by the user terminal;
the uplink scheduler is used for distributing adaptive authorization quantity according to the current buffer status report sent by the user terminal and sending the authorization quantity to the user terminal;
the PHY layer unit is used for receiving the encapsulated data packet sent by the user terminal and delivering the encapsulated data packet to the MAC layer unit;
the MAC layer unit is used for demultiplexing the encapsulated data packet and delivering the demultiplexed data packet to an RLC layer unit;
the RLC layer unit is used for sequencing the encapsulated data packets according to the RLC serial numbers of the encapsulated data packets and delivering the sequenced data packets to the PDCP layer unit;
and the PDCP layer unit is used for directly sending the encapsulated data packet to a service end after receiving the encapsulated data packet.
Further, the current buffer status report is used to report the data amount in the current buffer queue of the RLC layer module of the user equipment.
Furthermore, the uplink scheduler is configured to allocate an authorized amount that is the same as a data amount in a current buffer queue of the RLC layer module of the user equipment, and send the authorized amount to the user equipment.
In order to solve the technical problem, the invention further provides a system for preventing ACK packet congestion of 5G downlink TCP, which includes the user terminal and the 5G base station in communication connection with the user terminal.
Compared with the prior art, the invention has the following beneficial effects: the RLC layer module of the user terminal preferentially selects the ACK confirmation packet to distribute the RLC serial number and encapsulate the RLC head, and preferentially sends the ACK confirmation packet to the 5G base station, after the RLC layer unit of the 5G base station receives the encapsulated data, the RLC serial number is sequenced, and the data packet with the RLC serial number in front is preferentially sent to the PDCP layer, so that the ACK confirmation packet of the downlink TCP data packet can be preferentially sent to a service end, and congestion is prevented.
Drawings
FIG. 1 is a diagram of a prior art 5G base station protocol stack;
fig. 2 is a flowchart of a method for preventing ACK packet congestion of 5G downlink TCP according to an embodiment of the present invention;
fig. 3 is a system configuration diagram for preventing ACK packet congestion of 5G downlink TCP according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, the method for preventing ACK packet congestion of 5G downlink TCP provided in the embodiment of the present invention includes the following steps:
s1: the user terminal receives a downlink TCP data packet sent by the 5G base station, calls a TCP protocol stack, performs ACK feedback on the downlink TCP data packet, generates an ACK acknowledgement packet, and sends the ACK acknowledgement packet to the PDCP layer module; the PDCP layer module receives the ACK confirmation packet and/or the uplink TCP data packet, identifies and marks the ACK confirmation packet and/or the uplink TCP data packet after TCP analysis, distributes a PDCP serial number and encapsulates a PDCP head according to the arrival sequence, generates a PDCP PDU data packet and sends the PDCP PDU data packet to the RLC layer module; the RLC layer module buffers the PDCP PDU data packet in a data queue, updates the buffer state and sends a current buffer state report to the MAC layer module; and the MAC layer module sends the current buffer status report to the 5G base station.
Specifically, in this embodiment, the in-sequence delivery function of the PDCP layer of the 5G base station needs to be cancelled in advance. When a user terminal UE is normally accessed, an FTP bearer is established, and FTP uplink and downlink services are started, a 5G base station receives FTP downlink service data sent by a server end, and sends downlink TCP data packets to the UE after the FTP downlink service data is processed by an air interface protocol stack.
After the UE receives the downlink TCP data packet, the control module calls a TCP protocol stack, performs ACK feedback on the downlink TCP data packet, generates a corresponding ACK confirmation packet and sends the ACK confirmation packet to a PDCP layer module of the UE.
The PDCP layer module receives the ACK packet, and in addition, if there is an uplink FTP service, the PDCP layer receives an uplink TCP packet, so that the packet received by the PDCP layer module includes an ACK packet and/or an uplink TCP packet. The PDCP layer module calls a TCP Protocol stack to perform TCP parsing on the Data packet, identifies and marks an ACK acknowledgement packet and an uplink TCP Data packet, allocates PDCP sequence numbers according to the arrival sequence of the Data packets, encapsulates a PDCP header, generates a PDCP PDU (Protocol Data Unit) Data packet, and sends the PDCP PDU Data packet to the RLC layer module.
After the RLC layer module receives the packet data, the PDCP PDU data packet is temporarily cached in a data queue, meanwhile, the caching state is updated, and the current caching state is reported to the MAC layer module. And the MAC layer module sends the current buffer status report of the user terminal to the 5G base station. In this embodiment, the current buffer status report is used to report the data amount in the current buffer queue of the RLC layer module of the UE.
S2: and the uplink scheduler of the 5G base station distributes the adaptive authorization quantity according to the current buffer state report and sends the authorization quantity to the user terminal.
Specifically, after receiving the current buffer status report, the 5G base station invokes the uplink scheduler to allocate the adaptive grant to the user terminal. Assuming that there is 20M data in the buffer queue of the RLC layer module of the current user terminal, the uplink scheduler may correspondingly allocate 20M grant to the user terminal. Or, according to practical situations, an authorization amount smaller than the data amount in the buffer queue may be allocated to the user terminal, for example, 18M, 15M, 12M, and the like.
S3: the MAC layer module of the user terminal receives the authorization quantity and sends the data quantity which can be accommodated by each bearer and is consistent with the authorization quantity to the RLC layer module; the RLC layer module preferentially selects the PDCP PDU data packets which are consistent with the data quantity which can be accommodated by each bearer and indicate ACK in the buffer queue according to the arrival sequence of the PDCP PDU data packets, allocates RLC sequence numbers and encapsulates RLC heads; if the data volume of the PDCP PDU data packet indicated as ACK does not meet the data volume capable of being accommodated by each bearer and the buffer queue contains the PDCP PDU data packet indicated as TCP, then selecting the PDCP PDU data packet indicated as TCP again, distributing an RLC sequence number and packaging an RLC head; sending the encapsulated data packet to an MAC layer module; and the MAC layer module delivers the encapsulated data packet to an air interface after channel multiplexing.
Specifically, after receiving the grant, the MAC layer module of the UE indicates to the RLC layer module the data size that can be accommodated by each bearer, which is consistent with the grant. After receiving the instruction, the RLC layer module preferentially selects the PDCP PDU data packets marked as ACK with corresponding data amount in the buffer queue according to the arrival sequence of the PDCP PDU data, allocates RLC sequence numbers and encapsulates RLC heads, and sends the RLC sequence numbers and the encapsulated RLC heads to the MAC layer module. The PDCP PDU data packet marked as TCP is selected to distribute an RLC sequence number and an encapsulated RLC head under the condition of having a margin, and is sent to the MAC layer module.
Supposing that the authorization amount is 20M, that is, the data amount that each bearer can hold is 20M, in the buffer queue of the RLC layer, there are 5M PDCP PDU packets marked as ACK and 20M PDCP PDU packets marked as TCP, then, the RLC layer module preferentially selects 5M PDCP PDU packets marked as ACK to allocate RLC sequence numbers and encapsulate RLC headers according to the arrival sequence of the packets, selects 15M PDCP PDU packets marked as TCP to allocate RLC sequence numbers and encapsulate RLC headers, and the remaining 5M PDCP PDU packets marked as TCP are to be sent next time.
Because the RLC sequence number is preferentially allocated to the ACK packet and is preferentially transmitted every time of transmission, the RLC sequence number of the ACK packet is always in the front, and the ACK packet can be guaranteed not to be blocked.
S4: a PHY layer (physical layer) unit of the 5G base station receives the encapsulated data packet and then delivers the encapsulated data packet to an MAC layer unit, and the MAC layer unit demultiplexes the encapsulated data packet and delivers the encapsulated data packet to an RLC layer unit; the RLC layer unit sorts the encapsulated data packets according to the RLC serial numbers of the encapsulated data packets and delivers the data packets to the PDCP layer unit in sequence; after receiving the encapsulated data packet, the PDCP layer unit directly sends the encapsulated data packet to the service end.
Specifically, after receiving the encapsulated data packets, the RLC layer unit of the 5G base station performs sorting according to the RLC sequence number, and sequentially sends the PDCP PDU data packets to the PDCP layer unit in sequence. After receiving the PDCP PDU packet, the PDCP layer unit cancels the PDCP layer in-sequence delivery function, and therefore, the PDCP layer unit sends an ACK acknowledgement packet to a service end (server end) in the order of the arrival of the packet, and will send the ACK acknowledgement packet preferentially.
As shown in fig. 3, an embodiment of the present invention further provides a system for preventing ACK packet congestion of 5G downlink TCP, including a user equipment UE and a 5G base station communicatively connected to the user equipment UE through an air interface.
In this embodiment, the UE includes a control module, a PDCP layer module, an RLC layer module, and a MAC layer module.
The control module is used for receiving a downlink TCP data packet sent by the 5G base station, calling a TCP protocol stack, performing ACK feedback on the downlink TCP data packet, generating an ACK confirmation packet, and sending the ACK confirmation packet to the PDCP layer module.
The PDCP layer module is used for receiving the ACK confirmation packet and/or the uplink TCP data packet, identifying and marking the ACK confirmation packet and/or the uplink TCP data packet after TCP analysis, distributing PDCP sequence numbers according to the arrival sequence, packaging a PDCP head, generating the PDCP PDU data packet and sending the PDCP PDU data packet to the RLC layer module.
The RLC layer module is used for caching the PDCP PDU data packet in a data queue, updating the caching state and sending a current caching state report to the MAC layer module; and according to the arrival sequence of the PDCP PDU data packets, preferentially selecting the PDCP PDU data packets which are consistent with the data volume which can be accommodated by each bearing and indicate as ACK in the buffer queue, distributing RLC sequence numbers and packaging RLC heads; if the data volume of the PDCP PDU data packet indicated as ACK does not meet the data volume capable of being accommodated by each bearer and the PDCP PDU data packet indicated as TCP is contained in the buffer queue, the PDCP PDU data packet indicated as TCP is selected again, an RLC sequence number is distributed and an RLC head is packaged; and sending the encapsulated data packet to an MAC layer module. In this embodiment, the current buffer status report is used to report the data amount in the current buffer queue of the RLC layer module of the UE.
The MAC layer module is used for sending the current cache state report to the 5G base station; receiving the authorization quantity sent by the 5G base station, and sending the data quantity which can be accommodated by each bearer and is consistent with the authorization quantity to the RLC layer module; and delivering the encapsulated data packet to an air interface after channel multiplexing.
In this embodiment, the 5G base station includes a data transmission unit, a data reception unit, an uplink scheduler, a PHY layer unit, a PDCP layer unit, an RLC layer unit, and a MAC layer unit.
The data sending unit is used for sending a downlink TCP data packet to the user terminal;
the data receiving unit is used for receiving the encapsulated data packet and the current cache state report sent by the user terminal;
and the uplink scheduler is used for distributing the adaptive authorization quantity according to the current buffer status report sent by the user terminal and sending the authorization quantity to the user terminal.
The PHY layer unit is used for receiving the encapsulated data packet sent by the user terminal and delivering the encapsulated data packet to the MAC layer unit.
The MAC layer unit is used for demultiplexing the encapsulated data packet and delivering the data packet to the RLC layer unit.
The RLC layer unit is used for sequencing the encapsulated data packets according to the RLC sequence numbers of the encapsulated data packets and delivering the data packets to the PDCP layer unit in sequence.
The PDCP layer unit is configured to receive the encapsulated data packet and then directly send the encapsulated data packet to a server.
Specifically, after receiving the encapsulated data packet, the RLC layer unit performs sorting according to the RLC sequence number, and sequentially sends the PDCP PDU data packets to the PDCP layer unit in sequence. After receiving the PDCP PDU packet, the PDCP layer unit cancels the PDCP layer in-sequence delivery function, and therefore, the PDCP layer unit sends an ACK acknowledgement packet to a service end (server end) in the order of the arrival of the packet, and will send the ACK acknowledgement packet preferentially.
In summary, the RLC layer module of the user terminal of the present invention preferentially selects the ACK acknowledgment packet to allocate the RLC sequence number and encapsulate the RLC header, and preferentially sends the ACK acknowledgment packet to the 5G base station, after the RLC layer unit of the 5G base station receives the encapsulated data, the RLC layer unit sorts the RLC sequence number according to the RLC sequence number, and preferentially sends the data packet with the RLC sequence number before to the PDCP layer, thereby ensuring that the ACK acknowledgment packet of the downlink TCP data packet can be preferentially sent to the service end, and preventing congestion.
The above examples merely represent preferred embodiments of the present invention, which are described in more detail and detail, but are not to be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make several variations and modifications, such as combinations of different features in the various embodiments, without departing from the inventive concept, which fall within the scope of the present invention.
Claims (9)
1. A method for preventing ACK packet congestion of 5G downlink TCP is characterized by comprising the following steps:
s0: canceling the in-sequence delivery function of a PDCP layer of the 5G base station;
s1: the user terminal receives a downlink TCP data packet sent by the 5G base station, calls a TCP protocol stack, performs ACK feedback on the downlink TCP data packet, generates an ACK acknowledgement packet, and sends the ACK acknowledgement packet to a PDCP layer module; the PDCP layer module receives the ACK confirmation packet and/or the uplink TCP data packet, identifies and marks the ACK confirmation packet and/or the uplink TCP data packet after TCP analysis, distributes PDCP serial numbers and encapsulates PDCP heads according to the arrival sequence, generates a PDCP PDU data packet and sends the PDCP PDU data packet to the RLC layer module; the RLC layer module buffers the PDCP PDU data packet in a data queue, updates the buffer state and sends a current buffer state report to an MAC layer module; the MAC layer module sends the current cache state report to a 5G base station;
s2: the uplink scheduler of the 5G base station distributes adaptive authorization quantity according to the current cache state report and sends the authorization quantity to the user terminal;
s3: the MAC layer module of the user terminal receives the authorization quantity and sends the data quantity which can be accommodated by each bearer and is consistent with the authorization quantity to the RLC layer module; the RLC layer module preferentially selects the PDCP PDU data packets which are consistent with the data volume which can be accommodated by each bearer and indicate ACK in a buffer queue according to the arrival sequence of the PDCP PDU data packets, allocates RLC sequence numbers and encapsulates RLC heads; if the data volume of the PDCP PDU data packet indicated as ACK does not meet the data volume capable of being accommodated by each bearer and the PDCP PDU data packet indicated as TCP is contained in the buffer queue, the PDCP PDU data packet indicated as TCP is selected again, an RLC sequence number is distributed and an RLC head is packaged; sending the encapsulated data packet to an MAC layer module; the MAC layer module delivers the encapsulated data packet to an air interface after channel multiplexing;
s4: the PHY layer unit of the 5G base station receives the encapsulated data packet and then delivers the encapsulated data packet to the MAC layer unit, and the MAC layer unit demultiplexes the encapsulated data packet and delivers the demultiplexed data packet to the RLC layer unit; the RLC layer unit sorts the encapsulated data packets according to the RLC serial numbers of the encapsulated data packets and delivers the data packets to the PDCP layer unit in sequence; and the PDCP layer unit directly sends the encapsulated data packet to a service end after receiving the encapsulated data packet.
2. The method of claim 1, wherein the current buffer status report is used to report the amount of data in the current buffer queue of the RLC layer module of the user equipment.
3. The method according to claim 2, wherein the step S2 specifically includes: and after receiving the current buffer state report of the user terminal, the 5G base station calls an uplink scheduler, and the uplink scheduler allocates the authorization quantity which is the same as the data quantity in the current buffer queue of the RLC layer module of the user terminal and sends the authorization quantity to the user terminal.
4. A user terminal is characterized by comprising a control module, a PDCP layer module, a RLC layer module and an MAC layer module; the control module is used for receiving a downlink TCP data packet sent by the 5G base station, calling a TCP protocol stack, performing ACK feedback on the downlink TCP data packet, generating an ACK acknowledgement packet, and sending the ACK acknowledgement packet to the PDCP layer module;
the PDCP layer module is used for receiving the ACK confirmation packet and/or the uplink TCP data packet, identifying and marking the ACK confirmation packet and/or the uplink TCP data packet through TCP analysis, distributing a PDCP serial number and packaging a PDCP head according to an arrival sequence, generating a PDCP PDU data packet and sending the PDCP PDU data packet to the RLC layer module;
the RLC layer module is used for caching the PDCP PDU data packet in a data queue, updating the caching state and sending a current caching state report to the MAC layer module; and according to the arrival sequence of the PDCP PDU data packets, preferentially selecting the PDCP PDU data packets which are in the same direction with the data volume which can be accommodated by each bearer and are sent by the MAC layer module and are indicated as ACK in the buffer queue, distributing RLC sequence numbers and packaging RLC heads; if the data volume of the PDCP PDU data packet indicated as ACK does not meet the data volume capable of being accommodated by each bearer and the buffer queue contains the PDCP PDU data packet indicated as TCP, the PDCP PDU data packet indicated as TCP is selected again, an RLC sequence number is distributed and an RLC head is packaged; sending the encapsulated data packet to an MAC layer module;
the MAC layer module is used for sending the current cache state report to a 5G base station; receiving the authorization quantity sent by the 5G base station, and sending the data quantity which can be accommodated by each bearer and is consistent with the authorization quantity to the RLC layer module; and delivering the encapsulated data packet to an air interface after channel multiplexing.
5. The user terminal of claim 4, wherein the current buffer status report is used to report the amount of data currently in a buffer queue of an RLC layer module of the user terminal.
6. A5G base station is characterized by comprising a data sending unit, a data receiving unit, an uplink scheduler, a PHY layer unit, a PDCP layer unit, an RLC layer unit and an MAC layer unit;
the data sending unit is used for sending a downlink TCP data packet to the user terminal;
the data receiving unit is used for receiving the encapsulated data packet and the current cache state report sent by the user terminal;
the uplink scheduler is used for distributing adaptive authorization quantity according to the current buffer status report sent by the user terminal and sending the authorization quantity to the user terminal;
the PHY layer unit is used for receiving the encapsulated data packet sent by the user terminal and delivering the encapsulated data packet to the MAC layer unit;
the MAC layer unit is used for demultiplexing the packaged data packet and delivering the data packet to an RLC layer unit;
the RLC layer unit is used for sequencing the encapsulated data packets according to the RLC serial numbers of the encapsulated data packets and delivering the sequenced data packets to the PDCP layer unit;
and the PDCP layer unit is used for directly sending the encapsulated data packet to a service end after receiving the encapsulated data packet.
7. The 5G base station of claim 6, wherein the current buffer status report is used to report the amount of data currently in a buffer queue of an RLC layer module of the user terminal.
8. The 5G base station of claim 7, wherein the uplink scheduler is configured to allocate a grant amount that is the same as the amount of data currently buffered in the RLC layer module of the user terminal, and send the grant amount to the user terminal.
9. A system for preventing ACK packet congestion of 5G downlink TCP, comprising the user terminal according to claim 4 or 5, and the 5G base station according to any one of claims 6 to 8 communicatively connected to the user terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210479384.4A CN114585018B (en) | 2022-05-05 | 2022-05-05 | Method, base station, terminal and system for preventing ACK packet congestion of 5G downlink TCP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210479384.4A CN114585018B (en) | 2022-05-05 | 2022-05-05 | Method, base station, terminal and system for preventing ACK packet congestion of 5G downlink TCP |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114585018A CN114585018A (en) | 2022-06-03 |
CN114585018B true CN114585018B (en) | 2022-08-23 |
Family
ID=81778881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210479384.4A Active CN114585018B (en) | 2022-05-05 | 2022-05-05 | Method, base station, terminal and system for preventing ACK packet congestion of 5G downlink TCP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114585018B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021017832A1 (en) * | 2019-07-26 | 2021-02-04 | 华为技术有限公司 | Data processing method and device, and terminal |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100407698C (en) * | 2005-03-29 | 2008-07-30 | 华为技术有限公司 | Data transmission method for wireless link control layer |
US9049017B2 (en) * | 2006-10-02 | 2015-06-02 | Sony Corporation | Efficient TCP ACK prioritization in wireless networks |
US11202279B2 (en) * | 2017-01-16 | 2021-12-14 | Samsung Electronics Co., Ltd | Method and apparatus for processing data in wireless communication system |
CN107343296A (en) * | 2017-06-30 | 2017-11-10 | 合肥东芯通信股份有限公司 | A kind of method and device for improving the downstream rate that the TCP numbers based on LTE pass |
CN107659558A (en) * | 2017-08-22 | 2018-02-02 | 上海华为技术有限公司 | A kind of data transmission method and base station |
CN112866125B (en) * | 2019-11-26 | 2023-01-06 | 大唐移动通信设备有限公司 | Downlink data transmission method and device |
CN111865828A (en) * | 2020-07-24 | 2020-10-30 | 展讯通信(上海)有限公司 | Data transmission method, system, electronic device and storage medium |
-
2022
- 2022-05-05 CN CN202210479384.4A patent/CN114585018B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021017832A1 (en) * | 2019-07-26 | 2021-02-04 | 华为技术有限公司 | Data processing method and device, and terminal |
Non-Patent Citations (2)
Title |
---|
Surendra Pandey.Efficient Reordering-Reassembly PDCP and RLC Window Management Algorithm in 5G and Beyond.《2020 IEEE International Conference on Electronics, Computing and Communication Technologies (CONECCT)》.2020,全文. * |
曾宇辉等.LTE系统中提高TCP性能的资源调度算法研究.《小型微型计算机系统》.2012,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN114585018A (en) | 2022-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6459687B1 (en) | Method and apparatus for implementing a MAC coprocessor in a communication system | |
JP4624816B2 (en) | Method and apparatus for dynamically allocating resources in a wireless network | |
EP2165558B1 (en) | Buffer status reporting | |
KR100713394B1 (en) | Method and apparatus for reordering uplink data packets in mobile telecommunication system using transmission sequence number and time stamp | |
CN101379750B (en) | A method and nodes for providing adaptive segmentation | |
US7512099B2 (en) | Method, system and transmitting side protocol entity for sending packet data units for unacknowledged mode services | |
EP2227885B1 (en) | Compressed buffer status reports in lte | |
EP1969752B1 (en) | A flexible segmentation scheme for communication systems | |
KR100949969B1 (en) | Methods of transmitting control information for scheduling | |
US9294248B2 (en) | Method and device for use in frame acknowledgement | |
US8208492B2 (en) | Method and apparatus for transmitting and receiving packets in a mobile communication system | |
KR20070097465A (en) | Method and apparatus for communicating scheduling information between ue and radio access network using space otherwise used for padding | |
KR20060090191A (en) | Method for requesting and transmitting status report of a mobile communication system and therefor apparatus | |
US20080165747A1 (en) | Method of throttling uplink traffic in a wireless communication system | |
KR101666388B1 (en) | System and method for data size adaptation in a ue | |
EP1988657B1 (en) | Method and related apparatus for handling packet discard in a wireless communication system | |
CN114585018B (en) | Method, base station, terminal and system for preventing ACK packet congestion of 5G downlink TCP | |
CN114585019B (en) | ACK packet anti-congestion method, base station, terminal and system of 5G downlink TCP | |
US20090257377A1 (en) | Reducing buffer size for repeat transmission protocols | |
Sayenko et al. | ARQ aware scheduling for the IEEE 802.16 base station | |
KR20060082733A (en) | Method and apparatus for reporting event-triggered buffer status of ue in mobile telecommunication system | |
Khan | A Simple RLC/MAC Protocol Architecture for a Wireless IP Network |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |