WO2021128913A1 - Enhancement method of cellular network uplink ecn mechanism, device and medium - Google Patents
Enhancement method of cellular network uplink ecn mechanism, device and medium Download PDFInfo
- Publication number
- WO2021128913A1 WO2021128913A1 PCT/CN2020/111772 CN2020111772W WO2021128913A1 WO 2021128913 A1 WO2021128913 A1 WO 2021128913A1 CN 2020111772 W CN2020111772 W CN 2020111772W WO 2021128913 A1 WO2021128913 A1 WO 2021128913A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sending terminal
- uplink
- tcp
- notification message
- sending
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- 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/0284—Traffic management, e.g. flow control or congestion control detecting congestion or overload during communication
-
- 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/0289—Congestion control
Definitions
- the present invention relates to the field of control technology, in particular to a method, equipment and medium for enhancing the uplink ECN mechanism of a cellular network.
- the base station can forward the message sent by the sending terminal to the receiving end.
- the base station detects that the air interface link is in a congested state, it uses existing mechanisms such as the uplink display congestion notification (Explicit The Congestion Notification (ECN) mechanism sends a message that the air interface link is in a congested state to the receiving end, and the receiving end feeds back the congestion information of the air interface link to the sending terminal.
- ECN Exlicit The Congestion Notification
- the ECN mechanism is deployed in the base station of the existing cellular network air interface uplink, by notifying the receiving end of the information that the air interface uplink is in a congested state, and then the receiving end feeds back the congestion message to the sending terminal.
- the feedback delay affects the timeliness of data rate adjustment and causes problems such as poor user experience.
- the embodiment of the present invention provides a method, equipment and medium for enhancing the ECN mechanism in the uplink of a cellular network, which can improve the accuracy of the rate adjustment of the sending terminal.
- this application provides a method for enhancing the uplink ECN mechanism of a cellular network, which is applied to a base station, and the method includes:
- the base station detects whether the air interface uplink between the transmitting terminal and the base station is in a congested state
- the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- this application provides another method for enhancing the uplink ECN mechanism of a cellular network, which is applied to a sending terminal, and the method includes:
- the indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- the present application provides a transmission device with enhanced ECN mechanism on the uplink of a cellular network, which is applied to a base station, and the device includes a processor and a memory;
- the memory is used to store programs
- the processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
- the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- this application provides another transmission device with enhanced ECN mechanism for the uplink of a cellular network, which is applied to a base station and includes: a processing module and a communication module,
- the processing module is configured to generate the notification message, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station.
- the communication module is configured to send the notification message generated by the processing module to the sending terminal.
- the present application provides yet another transmission device with enhanced ECN mechanism on the uplink of a cellular network, which is applied to a sending terminal, and the device includes: a processor and a memory;
- the memory is used to store programs
- the processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
- the indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- this application provides yet another transmission device with enhanced ECN mechanism for cellular network uplink, which is applied to a sending terminal, and the device includes: a communication module and a processing module,
- the communication module is configured to receive the notification message sent by the base station, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;
- the communication module is further configured to send the instruction information generated by the processing module to an upper layer, where the upper layer refers to an IP or TCP layer;
- the processing module is configured to generate indication information, where the indication information includes the TCP information contained in the notification message from the base station indicating that the air interface uplink is in a congested state, wherein the TCP information includes a TCP sequence number .
- the present application provides a base station, including: a processor and a memory;
- the memory is used to store programs
- the processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
- the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- an embodiment of the present invention provides a terminal, including: a processor and a memory;
- the memory is used to store programs
- the processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
- the indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, it is the same as the cellular network uplink described in the first or second aspect above.
- An enhanced method of the link ECN mechanism is the same as the cellular network uplink described in the first or second aspect above.
- the present application provides a computer program product, including instructions, which when run on a computer, cause the computer to execute the enhanced method of the cellular network uplink ECN mechanism as described in the first or second aspect above .
- the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state, and if the air interface uplink is in a congested state, it can send a notification message to the sending terminal, where the notification message It is used to notify the sending terminal that the air interface uplink is congested, so that the sending terminal adjusts the TCP packet sending rate after receiving the notification information sent from the base station.
- the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal rate adjustment, and improve the efficiency of data transmission.
- FIG. 1 is a schematic structural diagram of a data transmission system provided by an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention
- FIG. 4 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention
- FIG. 5 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention
- FIG. 6 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a transmission device for a cellular network uplink enhanced ECN mechanism provided by an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of another transmission device with enhanced ECN mechanism on the uplink of a cellular network according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of yet another transmission device with enhanced ECN mechanism on the uplink of a cellular network according to an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of yet another transmission device for the enhanced ECN mechanism of a cellular network uplink provided by an embodiment of the present invention.
- the method for enhancing the uplink ECN mechanism of the cellular network may be executed by a data transmission system including a base station, a sending terminal, a receiving terminal, a core network, and a router.
- the transmitting terminal may establish a communication connection channel with the receiving terminal through the base station.
- the communication connection channel may be a transmission control protocol (Transmission Control Protocol) between the transmitting terminal and the base station. Protocol, TCP) established TCP channel; in some embodiments, the communication connection channel may be a UDP channel established by the sending terminal and the base station through the User Datagram Protocol (UDP).
- TCP Transmission Control Protocol
- the sending terminal may perform two-way communication with the base station through the communication connection channel.
- the receiving terminal and the base station may also establish a TCP channel through a core network and a router or establish a UDP channel through UDP, so that the receiving terminal can conduct a two-way communication connection with the base station to perform Two-way communication.
- the sending terminal and the receiving terminal respectively establish a communication connection with the base station, and then realize the communication connection between each other via the base station.
- the sending terminal, base station, and receiving terminal may communicate in a public communication network.
- the public communication network may include a public wireless communication network, such as a fourth-generation mobile communication network. (the 4th Generation mobile communication technology, 4G) or fifth-generation mobile communication network (Fifth-Generation, 5G) and other mobile communication networks; of course, in other embodiments, it is not limited to the above-mentioned 4G or 5G mobile communication networks. As long as it is a public wireless communication network.
- the sending terminal may be set on a terminal device (such as a mobile phone, a tablet computer, etc.) including a display device (such as a user interface); in some embodiments, the receiving terminal may be set on a terminal device including a display device (such as a user interface); Display devices (such as user interface) on terminal devices (such as mobile phones, tablet computers, etc.). It can be understood that, for the terminal device, if related operations may not be performed through the display device in some application scenarios, the terminal device may not include the display device.
- the packet data convergence protocol layer Packet Data Convergence Protocol, PDCP
- service Data Unit, SDU carries two ECN-enabled transmissions (Explicit Congestion) Notification Transmission, ECT), such as ECT(0) or ECT(1)
- ECT Exlicit Congestion
- CE Congestion Experienced
- the purpose is to notify the receiving terminal to feed back an acknowledgement signal (Acknowledge Character, ACK) to the transmitting terminal, so as to notify the transmitting terminal that the air interface uplink is congested.
- ACK acknowledgement Signal
- the uplink ECN sent from the base station to the receiving terminal needs to be forwarded by the core network and router.
- the sending terminal performs rate adjustment when receiving the ACK feedback from the receiving terminal. There is a long time delay between this, which causes a high feedback delay. In turn, the sending terminal cannot adjust the transmission rate in time, which may cause data packet loss and affect user experience.
- the ECN mechanism can modify the Internet Protocol (IP) header.
- IP Internet Protocol
- TOS Type of Service
- the res field of the 8th bit is redefined as an ECN field.
- the ECN field includes four values: 00 indicates that ECN is not supported; 01 and 10 indicate that ECN is supported; 11 indicates that the message is congested.
- the functions that need to be implemented to support ECN when congestion occurs are as follows:
- the ECN mechanism can also modify the TCP header.
- the ECN modifies the 8th and 9th bits of the TCP header res field to Congestion Window Reduce (CWR).
- CWR Congestion Window Reduce
- ECE explicit congestion notification response
- the 7th bit is modified to a random sum (Nonce Sum, NS).
- the random sum is used for experimental addition, which can prevent accidental or malicious changes to the packet marking.
- the sending rate is adjusted, such as halved, and the CWR bit is set to 1 when sending the next message.
- the embodiment of the present invention proposes a cellular network uplink ECN mechanism enhancement method that enhances the ECN mechanism.
- the base station directly feeds back the uplink congestion situation to the transmitting terminal on the air interface link, thereby reducing the uplink feedback delay. Improve the real-time performance of rate adjustment, so that the sending terminal can adjust the rate more timely.
- the method for enhancing the cellular network uplink ECN mechanism proposed in the embodiment of the present invention also includes a processing mechanism for redundant feedback signals, which further improves the accuracy of the sending terminal's rate adjustment.
- the base station when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it may use the Protocol Data Unit (PDU) in the Radio Link Control layer (Radio Link Control, RLC). ) Or the control element (CE) in Media Access Control (MAC) notifies the sending terminal of the air interface uplink congestion, so that the sending terminal can do cross-layer processing and instruct the TCP layer to adjust the sending rate.
- the manner of adjusting the sending rate includes, but is not limited to, reducing or increasing the sending rate, which is not specifically limited in the embodiment of the present invention.
- the base station when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it can notify the transmitting terminal of the congestion condition of the air interface uplink through RLC control PDU or MAC CE, so that the transmitting terminal It can do cross-layer processing, instruct the TCP layer to adjust the sending rate, and notify the TCP layer to record the TCP sequence numbers that have been sent in the nearest interval but have not yet been confirmed by the receiving terminal.
- the interval range includes but is not limited to the time range T or the number range M, which is not specifically limited in the embodiment of the present invention.
- the base station when the base station detects that the air interface uplink between the sending terminal and the base station is in a congested state, it can parse the IP header and TCP header included in the PDCP SDU corresponding to the message in the PDCP layer, and obtain The target TCP header information and the uplink congestion flag are fed back to the sending terminal through a PDCP control PDU or a radio resource control protocol (Radio Resource Control, RRC) message.
- RRC Radio Resource Control
- the sending terminal instructs the congestion notification to the TCP layer, and the TCP layer of the sending terminal records the feedback information and adjusts the sending rate.
- the feedback information includes a TCP sequence number and the like.
- the base station directly feeds back the air interface uplink congestion information to the sending terminal, which can reduce the uplink feedback delay, but it will introduce a problem: if the sending terminal subsequently receives the uplink congestion flag fed back by the receiving terminal again, Since the congestion flag corresponding to the uplink of the air interface has actually been directly fed back by the base station to the sending terminal, and the sending terminal has responded and adjusted the sending rate. Therefore, for this redundant uplink congestion flag feedback, the specific processing implementation is as follows.
- the base station when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it may not set the ECN bit of the PDCP SDU, so that the subsequent transmitting terminal receives an ACK with ECE set.
- the packet When the packet is received, it can be processed according to the normal ECN mechanism. Through this implementation manner, it can be avoided that the sending rate is adjusted again when the redundant uplink congestion flag is received, thereby ensuring the accuracy of the sending terminal's adjustment of the sending rate.
- the ECN bit of the PDCP SDU may be set. If the sending terminal subsequently receives an ACK packet corresponding to the TCP sequence number that has been responded to and the ECE is set, the sending terminal does not adjust the sending rate, and according to the normal ECN mechanism, when sending the next message, the TCP header The CWR bit is set to notify the receiving terminal to stop setting the ECE bit of the subsequent ACK signal.
- the embodiment of the present invention may include the foregoing single solution or a combination of certain solutions, and the embodiment of the present invention does not specifically limit the combination of solutions.
- FIG. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention.
- the data transmission system includes: a base station 11, a sending terminal 12, a receiving terminal 13, a core network 14 and a router 15.
- the sending terminal 12 may establish a communication connection with the receiving terminal 13 through the base station 11.
- the receiving terminal 13 and the base station 11 may also establish a communication connection through the core network 14 and the router 15 so that the receiving terminal 13 can perform a two-way communication connection with the base station 11. In this way, the sending terminal 12 and the receiving terminal 13 establish a communication connection with the base station 11 respectively, and then realize the communication connection between each other via the base station 11.
- Figure 2 is a schematic flowchart of a method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention.
- the method can be applied to a base station, where the specific explanation of the base station is as described above. .
- the method of the embodiment of the present invention includes the following steps.
- S201 Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station may send a notification message to the sending terminal, where the notification message is used to notify the sending terminal of the air interface uplink Congestion occurs, so that the sending terminal adjusts the sending rate of sending the next message.
- the adjusting the sending rate includes, but is not limited to, increasing or decreasing the sending rate, which is not specifically limited here.
- the sending terminal can adjust the sending rate of the message, and avoid the problem that the sending terminal is still sending messages quickly when the air interface uplink between the sending terminal and the base station is congested, resulting in the loss of part of the message data.
- the base station may determine an adjustment identifier for adjusting the transmission rate according to the congestion situation, and generate a notification message carrying the adjustment identifier, the adjustment identifier being used to instruct the sending terminal to increase or decrease the transmission rate data; in an example, The adjustment indicator is used to instruct the sending terminal to reduce the sending rate by half.
- the sending terminal can be notified to adjust the specific value of the sending rate, so as to improve the accuracy of the sending terminal in adjusting the sending rate.
- the base station when it sends a notification message to the sending terminal, it may send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or, The control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE includes the data radio bearer (DRB) or logical channel where the air interface uplink is congested (Logical Channel, LCH) identification information.
- DRB data radio bearer
- LCH Logical Channel
- the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent within a specified interval But the TCP sequence number that has not been confirmed to be received.
- the sending terminal it is helpful for the sending terminal to determine whether the TCP sequence number of the unconfirmed reception exists in the ACK signal when receiving the ACK signal fed back by the receiving terminal.
- the base station when it sends a notification message to the sending terminal, it may send a packet data convergence protocol layer protocol data unit PDCP PDU carrying an uplink congestion flag as a notification message to the sending terminal; wherein, the The PDCP PDU contains the TCP sequence number of the congested data packet.
- PDCP PDU packet data convergence protocol layer protocol data unit
- the base station when it sends a notification message to the sending terminal, it may send a radio resource control RRC message that carries the uplink congestion flag and target TCP header information as a notification message to the sending terminal.
- the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol, and is used to notify the sending terminal to record the target TCP header information, and the target TCP header information includes TCP serial number.
- the base station when detecting that the air interface uplink is in a congested state, may set or not set the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer.
- the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state, and if the air interface uplink is in a congested state, it can send a notification message to the sending terminal, where the The notification message is used to notify the sending terminal that the air interface uplink is congested.
- the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
- FIG. 3 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention, and the method may be executed by a base station.
- the detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the base station in the embodiment of the present invention is schematically described as follows.
- S301 Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the ECN bit of the protocol data unit PDCP SDU of the packet data convergence protocol layer may not be set.
- the explanation of the ECN mechanism is as described above, and will not be repeated here. Through this implementation manner, it is helpful for the transmitting terminal to determine that the air interface is not in a congested state when subsequently receiving an ACK signal that includes the ECN setting (that is, including the ECE setting), and transmits data according to the normal ECN mechanism.
- S303 Send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or send the control element MAC CE of the media access control layer carrying the uplink congestion flag as a notification The message is sent to the sending terminal.
- the base station may send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or, the media access control layer carrying the uplink congestion flag
- the control element MAC CE is sent to the sending terminal as a notification message, where the MAC CE includes the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal of the occurrence of congestion on the air interface uplink, so that the sending terminal can adjust the sending rate of the message through TCP, and after receiving the notification message, after receiving the When the terminal returns an ACK packet containing the ECE setting, it shall be processed according to the ECN mechanism.
- the base station does not set the ECN bit of the PDCP SDU when it detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, and uses the RLC control PDU carrying the uplink congestion flag as a notification
- the message is sent to the sending terminal; or, by sending a notification message carrying MAC CE to the sending terminal, the sending terminal can adjust the uplink data transmission rate in time, reduce the feedback delay of the cellular network uplink data transmission, and help improve the rate adjustment of the sending terminal
- the accuracy of data transmission improves the efficiency of data transmission.
- FIG. 4 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention, and the method may be executed by a base station.
- the detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the base station in the embodiment of the present invention is schematically described as follows.
- S401 Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station when the base station detects that the air interface uplink between the sending terminal and the base station is in a congested state, it can set the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer.
- the sending terminal it is helpful for the sending terminal to stop the sending rate when the ECN set (that is, the ECE set) contained in the ACK signal fed back by the receiving terminal carries the above-mentioned unconfirmed TCP sequence number. Make adjustments to further improve the accuracy of adjusting the sending rate.
- the processing of setting the ECN bit of the PDCP SDU may include processing the ECN bit as a CE; in an example, the processing of processing the ECN bit as a CE may be setting the CE to 1.
- S403 Send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or send the control element MAC CE of the media access control layer carrying the uplink congestion flag as a notification The message is sent to the sending terminal, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink
- the base station may send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or, the media access control layer carrying the uplink congestion flag
- the control element MAC CE is sent to the sending terminal as a notification message, where the MAC CE includes the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent within a specified interval But the TCP sequence number that has not been confirmed to be received.
- the sending terminal can record the TCP sequence number that has been sent but not confirmed to be received in the most recent time through the TCP layer, and adjust the sending rate of the message.
- the sending terminal receives the ECE sent by the receiving terminal, it is set. If the ACK packet contains the TCP sequence number recorded by the sending terminal, you can stop adjusting the sending rate through the TCP layer and process it according to the normal ECN mechanism.
- the CWR bit of the TCP header is set to notify the receiving terminal to stop setting the ECE bit of the subsequent ACK signal.
- the base station when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it can set the ECN bit of the PDCP SDU, and use the RLC PDU carrying the uplink congestion flag as the notification message Send to the sending terminal; or send the MAC CE carrying the uplink congestion flag as a notification message to the sending terminal, so that the sending terminal can adjust the sending rate through the TCP layer and record the sending terminal in the specified time range The TCP sequence number that has been sent but has not been confirmed to be received.
- the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal rate adjustment, and improve the efficiency of data transmission.
- FIG. 5 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention, and the method may be executed by a base station.
- the detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the base station in the embodiment of the present invention is schematically described as follows.
- S501 Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
- the base station when detecting that the air interface uplink is in a congested state, sets the display congestion notification ECN bit of the service data unit PDCP and SDU of the packet data convergence protocol layer.
- S503 Send a radio resource control RRC message carrying the uplink congestion flag and target TCP header information as a notification message to the sending terminal.
- the base station may send a radio resource control RRC message that carries the uplink congestion flag and target TCP header information to the sending terminal as a notification message, where the notification message also includes the congestion of the air interface uplink. DRB or LCH identification information.
- the notification message is used to notify the sending terminal to record the target TCP header information contained in the notification message through the TCP layer and adjust the sending rate, and the target TCP header information includes a TCP sequence number.
- the base station may report the Internet protocol included in the PDCP SDU corresponding to the message
- the IP header and the Transmission Control Protocol TCP header are parsed to obtain the target TCP header information, and the uplink congestion flag is obtained, so that the notification message including the uplink congestion flag and the target TCP header information is sent to the sending terminal.
- the congestion window of the TCP header is reduced according to the ECN mechanism.
- the CWR position is set.
- the TCP header is used to notify the receiving terminal to stop setting the ECE bit of the ACK packet of the next message; if the judgment result is no, it will respond and process according to the normal ECN mechanism.
- the base station may also send the PDCP control PDU carrying the uplink congestion flag and the target TCP header information as a notification message to the sending terminal.
- the base station when the base station detects that the air interface uplink is in a congested state, it can set the ECN bit of the PDCP SDU, and send the RRC message carrying the target TCP header information and the uplink congestion flag as a notification message. To the sending terminal.
- the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal rate adjustment, and improve the efficiency of data transmission.
- FIG. 6 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention.
- the method may be executed by a terminal, and the terminal corresponds to the aforementioned sending terminal.
- the detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the embodiment of the present invention is schematically illustrated as follows.
- S601 Receive a notification message from the base station indicating that the air interface uplink is in a congested state.
- the sending terminal may receive a notification message from the base station indicating that the air interface uplink is in a congested state.
- the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
- the MAC CE and RRC messages include the identification information of the DRB or LCH that is congested on the air interface uplink.
- S602 Send indication information of congestion state information to an upper layer, where the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- the sending terminal when the sending terminal receives a notification message from the base station indicating that the air interface uplink is in a congested state, it can send the indication information of the congestion state information to the upper layer.
- the upper layer refers to the Internet Protocol IP layer or transmission control. Protocol TCP layer.
- the indication information sent to the upper layer includes TCP information included in the notification message, where the TCP information includes a TCP sequence number.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
- the sending terminal may respond and process according to the display congestion notification ECN mechanism.
- the indication information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but not confirmed to be received within a specified interval.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the sending
- the TCP layer of the terminal records the TCP information contained in the indication information.
- the TCP information includes a TCP sequence number.
- the sending terminal when receiving an ACK packet that contains ECE set as a feedback from the receiving terminal, can determine whether the ACK packet contains the TCP sequence number recorded by the TCP layer, and if the judgment result is yes, it can No adjustment is made to the sending rate of TCP packets.
- the sending terminal when sending the next message, reduces the congestion window of the TCP header according to the ECN mechanism, and the CWR bit is set.
- the TCP header after the CWR is set is used to notify the receiving terminal to stop setting the ECE bit of the ACK packet of the next message.
- the sending terminal may receive a notification message from the base station indicating that the air interface uplink is in a congested state, and send the indication information of the congestion state information to the upper layer.
- the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP Floor.
- the sending terminal can directly receive the notification message from the base station indicating that the air interface uplink is in a congested state, so that the sending terminal can adjust the uplink data transmission rate in time, reduce the feedback delay of the cellular network uplink data transmission, and help Improve the accuracy of the rate adjustment of the sending terminal and improve the efficiency of data transmission.
- FIG. 7 is a schematic structural diagram of a transmission device for an enhanced ECN mechanism in a cellular network uplink according to an embodiment of the present invention.
- the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a memory 701, a processor 702, and a data interface 703.
- the memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also include a combination of the foregoing types of memories.
- the processor 702 may be a central processing unit (CPU).
- the processor 702 may further include a hardware cellular network uplink enhanced ECN mechanism transmission device.
- the transmission equipment of the hardware cellular network uplink enhanced ECN mechanism may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field-programmable gate array
- the memory 701 is used to store a program, and when the program is executed, the processor 702 can call the program stored in the memory 701 to perform the following steps:
- the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- the processor 702 sends a notification message to the sending terminal, it is specifically configured to:
- the control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent but has not been sent within a specified interval. Confirm the received TCP sequence number.
- the processor 702 sends a notification message to the sending terminal, it is specifically configured to:
- the protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
- the processor 702 sends a notification message to the sending terminal, it is specifically configured to:
- the radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate, and the TCP information contained in the notification message is recorded at the TCP layer.
- processor 702 is further configured to:
- the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not processed.
- the embodiment of the present invention can check whether the air interface uplink between the sending terminal and the base station is in a congested state. If the air interface uplink is in a congested state, a notification message can be sent to the sending terminal to notify the sending terminal of the air interface uplink The link is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
- FIG. 8 is a schematic structural diagram of another transmission device with an enhanced ECN mechanism for the uplink of a cellular network according to an embodiment of the present invention.
- the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a first processing module 801 and a first communication module 802,
- the first processing module 801 is configured to generate the notification message, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;
- the first communication module 802 is configured to send the notification message generated by the processing module 801 to the sending terminal.
- first communication module 802 is specifically configured to:
- the control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent but has not been sent within a specified interval. Confirm the received TCP sequence number.
- first communication module 802 is specifically configured to:
- the protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
- first communication module 802 is specifically configured to:
- the radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate, and the TCP information contained in the notification message is recorded at the TCP layer.
- first communication module 802 is also used for:
- the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not processed.
- the embodiment of the present invention can check whether the air interface uplink between the sending terminal and the base station is in a congested state. If the air interface uplink is in a congested state, a notification message can be sent to the sending terminal to notify the sending terminal of the air interface uplink The link is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
- FIG. 9 is a schematic structural diagram of yet another transmission device with an enhanced ECN mechanism on a cellular network uplink according to an embodiment of the present invention.
- the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a memory 901, a processor 902, and a data interface 903.
- the memory 901 may include a volatile memory (volatile memory); the memory 901 may also include a non-volatile memory (non-volatile memory); the memory 901 may also include a combination of the foregoing types of memories.
- the processor 902 may be a central processing unit (CPU).
- the processor 902 may further include a hardware cellular network uplink enhanced ECN mechanism transmission device.
- the transmission equipment of the hardware cellular network uplink enhanced ECN mechanism may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field-programmable gate array
- the memory 901 is used to store a program, and when the program is executed, the processor 802 can call the program stored in the memory 901 to perform the following steps:
- the indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- the instruction information sent to the upper layer includes TCP information included in the notification message, wherein the TCP information includes a TCP sequence number.
- the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
- the MAC CE and RRC messages include identification information of the DRB or LCH that is congested on the air interface uplink.
- instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
- processor 902 is further configured to:
- the response processing is performed according to the ECN mechanism of the display congestion notification.
- processor 902 is further configured to:
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the TCP of the sending terminal
- the layer records the TCP information included in the indication information, where the TCP information includes a TCP sequence number.
- processor 902 is further configured to:
- the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
- the upper layer may send indication information of the congestion state information to the upper layer.
- the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- FIG. 10 is a schematic structural diagram of another transmission device with an enhanced ECN mechanism on a cellular network uplink according to an embodiment of the present invention.
- the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a second communication module 1001 and a second processing module 1002,
- the second communication module 1001 is configured to receive the notification message sent by the base station, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;
- the second communication module 1001 is further configured to send the instruction information generated by the processing module to an upper layer, where the upper layer refers to an IP or TCP layer;
- the second processing module 1002 is configured to generate indication information, where the indication information includes the TCP information contained in the notification message from the base station indicating that the air interface uplink is in a congested state, where the TCP information includes TCP sequence number.
- the instruction information sent to the upper layer includes TCP information included in the notification message, wherein the TCP information includes a TCP sequence number.
- the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
- the MAC CE and RRC messages include identification information of the DRB or LCH that is congested on the air interface uplink.
- instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
- the second processing module 1002 is also used for:
- the response processing is performed according to the display congestion notification ECN mechanism.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the TCP of the sending terminal
- the layer records the TCP information included in the indication information, where the TCP information includes a TCP sequence number.
- the second processing module 1002 is also used for:
- the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
- the upper layer may send indication information of the congestion state information to the upper layer.
- the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- An embodiment of the present invention provides a base station, including: a processor and a memory; the memory is used to store a program; the processor executes the program stored in the memory, and when the program is executed, the processor uses To perform the following steps:
- the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- the processor sends a notification message to the sending terminal, it is specifically configured to:
- the control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent but has not been sent within a specified interval. Confirm the received TCP sequence number.
- the processor sends a notification message to the sending terminal, it is specifically configured to:
- the protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
- the processor sends a notification message to the sending terminal, it is specifically configured to:
- the radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
- the notification message is used to notify the sending terminal to adjust the sending rate, and the TCP information contained in the notification message is recorded at the TCP layer.
- processor is also used for:
- the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not.
- the embodiment of the present invention can check whether the air interface uplink between the sending terminal and the base station is in a congested state. If the air interface uplink is in a congested state, a notification message can be sent to the sending terminal to notify the sending terminal of the air interface uplink The link is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
- An embodiment of the present invention provides a terminal, including: a processor and a memory; the memory is used to store a program; the processor executes the program stored in the memory, and when the program is executed, the processor uses To perform the following steps:
- the indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- the instruction information sent to the upper layer includes TCP information included in the notification message, wherein the TCP information includes a TCP sequence number.
- the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
- the MAC CE and RRC messages include identification information of the DRB or LCH that is congested on the air interface uplink.
- instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
- processor is also used for:
- the response processing is performed according to the display congestion notification ECN mechanism.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
- the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the TCP of the sending terminal
- the layer records the TCP information included in the indication information, where the TCP information includes a TCP sequence number.
- processor is also used for:
- the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
- the upper layer may send indication information of the congestion state information to the upper layer.
- the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- a computer-readable storage medium stores a computer program.
- the computer program is executed by a processor, the cellular network uplink described in the embodiment of the present invention is realized. The method of enhancing the link ECN mechanism will not be repeated here.
- the computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device.
- the computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), or a Secure Digital (SD) card. , Flash Card, etc.
- the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
- the computer-readable storage medium is used to store the computer program and other programs and data required by the device.
- the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
- a computer program product including instructions, which when run on a computer, cause the computer to execute the enhanced method of the cellular network uplink ECN mechanism described in the embodiment of the present invention. This will not be repeated here.
- the program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
- the computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides an enhancement method of cellular network uplink ECN mechanism, a device and a medium, wherein the method comprises: a base station detects whether an air interface uplink is in a congestion state in the uplink data transmission of a sending terminal; if the air interface uplink is in the congestion state, the base station sends a notification message to the sending terminal, wherein, the notification message is used for notifying the sending terminal that the air interface uplink is congested, so that the sending terminal adjusts the TCP message sending rate after receiving the notification message sent by the base station. In this way, the sending terminal can adjust the sending rate of the uplink data in time, feedback delay of uplink data transmission of the cellular network is reduced, which is helpful to improve the accuracy of the rate adjustment of the sending terminal and improve the efficiency of data transmission.
Description
本申请要求于2019年12月24日提交中国专利局、申请号为201911372495.X、发明名称为“蜂窝网络上行链路ECN机制的增强方法、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on December 24, 2019, the application number is 201911372495.X, and the invention title is "Methods, Equipment and Media for Enhanced Cellular Network Uplink ECN Mechanism". The entire content is incorporated into this application by reference.
本发明涉及控制技术领域,尤其涉及一种蜂窝网络上行链路ECN机制的增强方法、设备及介质。The present invention relates to the field of control technology, in particular to a method, equipment and medium for enhancing the uplink ECN mechanism of a cellular network.
目前,在蜂窝网络空口链路中进行数据传输时基站可以将发送终端发送的报文转发给接收端,当基站检测到空口链路处于拥塞状态时,采用现有机制如上行显示拥塞通知(Explicit Congestion Notification,ECN)机制,将空口链路处于拥塞状态的消息发送给接收端,由接收端向发送终端反馈空口链路的拥塞信息。At present, when data is transmitted on the air interface link of a cellular network, the base station can forward the message sent by the sending terminal to the receiving end. When the base station detects that the air interface link is in a congested state, it uses existing mechanisms such as the uplink display congestion notification (Explicit The Congestion Notification (ECN) mechanism sends a message that the air interface link is in a congested state to the receiving end, and the receiving end feeds back the congestion information of the air interface link to the sending terminal.
然而,在现有蜂窝网络空口上行链路的基站中部署ECN机制,通过将空口上行链路处于拥塞状态的信息通知至接收端,再由接收端向发送终端反馈拥塞消息的方式,会出现高反馈延迟,从而影响数据速率调整及时性,造成用户体验不佳等问题。However, the ECN mechanism is deployed in the base station of the existing cellular network air interface uplink, by notifying the receiving end of the information that the air interface uplink is in a congested state, and then the receiving end feeds back the congestion message to the sending terminal. The feedback delay affects the timeliness of data rate adjustment and causes problems such as poor user experience.
发明内容Summary of the invention
本发明实施例提供了一种蜂窝网络上行链路中ECN机制的增强方法、设备及介质,可提高发送终端速率调整的准确性。The embodiment of the present invention provides a method, equipment and medium for enhancing the ECN mechanism in the uplink of a cellular network, which can improve the accuracy of the rate adjustment of the sending terminal.
第一方面,本申请提供了一种蜂窝网络上行链路ECN机制的增强方法,应用于基站,所述方法包括:In the first aspect, this application provides a method for enhancing the uplink ECN mechanism of a cellular network, which is applied to a base station, and the method includes:
基站检测发送终端和基站间的空口上行链路是否处于拥塞状态;The base station detects whether the air interface uplink between the transmitting terminal and the base station is in a congested state;
若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
第二方面,本申请提供了另一种蜂窝网络上行链路ECN机制的增强方法,应用于发送终端,所述方法包括:In the second aspect, this application provides another method for enhancing the uplink ECN mechanism of a cellular network, which is applied to a sending terminal, and the method includes:
接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;
向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
第三方面,本申请提供了一种蜂窝网络上行链路增强ECN机制的传输设备,应用于基站,所述设备包括:处理器和存储器;In the third aspect, the present application provides a transmission device with enhanced ECN mechanism on the uplink of a cellular network, which is applied to a base station, and the device includes a processor and a memory;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:The processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
检测发送终端和基站间的空口上行链路是否处于拥塞状态;Detect whether the air interface uplink between the sending terminal and the base station is in a congested state;
若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
第四方面,本申请提供了另一种蜂窝网络上行链路增强ECN机制的传输设备,应用于基站,包括:处理模块和通信模块,In the fourth aspect, this application provides another transmission device with enhanced ECN mechanism for the uplink of a cellular network, which is applied to a base station and includes: a processing module and a communication module,
所述处理模块,用于生成所述通知消息,其中,所述通知消息包含所述发送终端和基站间的空口上行链路的拥塞状态信息。The processing module is configured to generate the notification message, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station.
所述通信模块,用于将所述处理模块生成的通知消息发送至所述发送终端。The communication module is configured to send the notification message generated by the processing module to the sending terminal.
第五方面,本申请提供了又一种蜂窝网络上行链路增强ECN机制的传输设备,应用于发送终端,所述设备包括:处理器和存储器;In a fifth aspect, the present application provides yet another transmission device with enhanced ECN mechanism on the uplink of a cellular network, which is applied to a sending terminal, and the device includes: a processor and a memory;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:The processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;
向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
第六方面,本申请提供了又一种蜂窝网络上行链路增强ECN机制的传输设备,应用于发送终端,所述设备包括:通信模块和处理模块,In a sixth aspect, this application provides yet another transmission device with enhanced ECN mechanism for cellular network uplink, which is applied to a sending terminal, and the device includes: a communication module and a processing module,
所述通信模块,用于接收所述基站发送的所述通知消息,其中,所述通知消息包含所述发送终端和基站间的空口上行链路的拥塞状态信息;The communication module is configured to receive the notification message sent by the base station, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;
所述通信模块,还用于将所述处理模块生成的所述指示信息发送至上层,所述上层是指IP或TCP层;The communication module is further configured to send the instruction information generated by the processing module to an upper layer, where the upper layer refers to an IP or TCP layer;
所述处理模块,用于生成指示信息,其中,所述指示信息包含所述来自基站的指示空口上行链路处于拥塞状态的通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。The processing module is configured to generate indication information, where the indication information includes the TCP information contained in the notification message from the base station indicating that the air interface uplink is in a congested state, wherein the TCP information includes a TCP sequence number .
第七方面,本申请提供了一种基站,包括:处理器和存储器;In a seventh aspect, the present application provides a base station, including: a processor and a memory;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:The processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
检测发送终端和基站间的空口上行链路是否处于拥塞状态;Detect whether the air interface uplink between the sending terminal and the base station is in a congested state;
若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
第八方面,本发明实施例提供了一种终端,包括:处理器和存储器;In an eighth aspect, an embodiment of the present invention provides a terminal, including: a processor and a memory;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:The processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:
接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;
向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
第九方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时如上述第一方面或第二方面所述的蜂窝网络上行链路ECN机制的增强方法。In a ninth aspect, the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, it is the same as the cellular network uplink described in the first or second aspect above. An enhanced method of the link ECN mechanism.
第十方面,本申请提供了一种计算机程序产品,包括指令,当其在计算机上运行时,使得计算机执行如上述第一方面或第二方面所述的蜂窝网络上行链路ECN机制的增强方法。In a tenth aspect, the present application provides a computer program product, including instructions, which when run on a computer, cause the computer to execute the enhanced method of the cellular network uplink ECN mechanism as described in the first or second aspect above .
本申请中,基站可以检测发送终端和基站间的空口上行链路是否处于拥塞状态,若所述空口上行链路处于拥塞状态,则可以向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞,以使发送终端在接收到来自所述基站发送的通知信息后,对TCP报文发送速率进行调整。通过这种实施方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In this application, the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state, and if the air interface uplink is in a congested state, it can send a notification message to the sending terminal, where the notification message It is used to notify the sending terminal that the air interface uplink is congested, so that the sending terminal adjusts the TCP packet sending rate after receiving the notification information sent from the base station. Through this implementation manner, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal rate adjustment, and improve the efficiency of data transmission.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings.
图1是本发明实施例提供的一种数据传输系统的结构示意图;FIG. 1 is a schematic structural diagram of a data transmission system provided by an embodiment of the present invention;
图2是本发明实施例提供的一种蜂窝网络上行链路ECN机制的增强方法的流程示意图;2 is a schematic flowchart of a method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention;
图3是本发明实施例提供的另一种蜂窝网络上行链路ECN机制的增强方法的流程示意图;3 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention;
图4是本发明实施例提供的又一种蜂窝网络上行链路ECN机制的增强方法的流程示意图;4 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention;
图5是本发明实施例提供的又一种蜂窝网络上行链路ECN机制的增强方法的流程示意图;5 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention;
图6是本发明实施例提供的又一种蜂窝网络上行链路ECN机制的增强方法的流程示意图;6 is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention;
图7是本发明实施例提供的一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图;FIG. 7 is a schematic structural diagram of a transmission device for a cellular network uplink enhanced ECN mechanism provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图;FIG. 8 is a schematic structural diagram of another transmission device with enhanced ECN mechanism on the uplink of a cellular network according to an embodiment of the present invention;
图9是本发明实施例提供的又一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图;FIG. 9 is a schematic structural diagram of yet another transmission device with enhanced ECN mechanism on the uplink of a cellular network according to an embodiment of the present invention;
图10是本发明实施例提供的又一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图。FIG. 10 is a schematic structural diagram of yet another transmission device for the enhanced ECN mechanism of a cellular network uplink provided by an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。In the following, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例中提供的蜂窝网络上行链路ECN机制的增强方法可以由一种数据传输系统执行,所述数据传输系统包括基站、发送终端、接收终端、核心网和路由器。在一些实施例中,所述发送终端可以通过所述基站与接收终端建立通信连接通道,在某些实施例中,所述通信连接通道可以是发送终端与所述基站通过传输控制协议(Transmission Control Protocol,TCP)建立的TCP通道;在某些实施例中,所述通信连接通道可以是发送终端与所述基站通过用户数据报协议(User Datagram Protocol,UDP)建立的UDP通道。在某些实施例中,所述发送终端可以通过所述通信连接通道与基站进行双向通信。在某些实施例中,所述接收终端与所述基站也可以通过核心网和路由器建立TCP通道或通过UDP建立UDP通道,以使所述接收终端可以和所述基站进行双向通信连接,以进行双向通信。如此,发送终端与接收终端分别与基站建立通信连接,进而经由基站实现彼此之间的通信连接。The method for enhancing the uplink ECN mechanism of the cellular network provided in the embodiment of the present invention may be executed by a data transmission system including a base station, a sending terminal, a receiving terminal, a core network, and a router. In some embodiments, the transmitting terminal may establish a communication connection channel with the receiving terminal through the base station. In some embodiments, the communication connection channel may be a transmission control protocol (Transmission Control Protocol) between the transmitting terminal and the base station. Protocol, TCP) established TCP channel; in some embodiments, the communication connection channel may be a UDP channel established by the sending terminal and the base station through the User Datagram Protocol (UDP). In some embodiments, the sending terminal may perform two-way communication with the base station through the communication connection channel. In some embodiments, the receiving terminal and the base station may also establish a TCP channel through a core network and a router or establish a UDP channel through UDP, so that the receiving terminal can conduct a two-way communication connection with the base station to perform Two-way communication. In this way, the sending terminal and the receiving terminal respectively establish a communication connection with the base station, and then realize the communication connection between each other via the base station.
在一些实施例中,所述发送终端、基站和接收终端可以在公共通信网络中进行通信,在某些实施例中,所述公共通信网络可以包括公共无线通信网络,诸如第四代移动通信网络(the 4th Generation mobile communication technology,4G)或第五代移动通信网络(Fifth-Generation,5G)等移动通信网络;当然,在其他实施例中,也并不限于上述4G或5G等移动通信网络,只要是公用无线通信网络即可。在某些实施例中,所述发送终端可以 设置在包括显示设备(如用户界面)的终端设备(如手机、平板电脑等)上;在某些实施例中,所述接收终端可以设置在包括显示设备(如用户界面)的终端设备(如手机、平板电脑等)上。可以理解,对于终端设备而言,若在一些应用场景中可以不通过显示设备进行相关操作,则终端设备也可以不包括显示设备。In some embodiments, the sending terminal, base station, and receiving terminal may communicate in a public communication network. In some embodiments, the public communication network may include a public wireless communication network, such as a fourth-generation mobile communication network. (the 4th Generation mobile communication technology, 4G) or fifth-generation mobile communication network (Fifth-Generation, 5G) and other mobile communication networks; of course, in other embodiments, it is not limited to the above-mentioned 4G or 5G mobile communication networks. As long as it is a public wireless communication network. In some embodiments, the sending terminal may be set on a terminal device (such as a mobile phone, a tablet computer, etc.) including a display device (such as a user interface); in some embodiments, the receiving terminal may be set on a terminal device including a display device (such as a user interface); Display devices (such as user interface) on terminal devices (such as mobile phones, tablet computers, etc.). It can be understood that, for the terminal device, if related operations may not be performed through the display device in some application scenarios, the terminal device may not include the display device.
现有协议规定,通过使用ECN机制对空口拥塞进行处理,当分组数据汇聚协议层(Packet Data Convergence Protocol,PDCP)的协议数据单元(service Data Unit,SDU)携带两个支持ECN的传输(Explicit Congestion Notification Transmission,ECT)之一,如ECT(0)或ECT(1),且发送终端和基站间的空口上行链路发生拥塞时,基站可以将PDCP SDU的ECN置位为经历拥塞(Congestion Experienced,CE),并将ECN置位后的拥塞数据包发送给接收终端。通过这种基站上行ECN的操作,其目的是通知接收终端反馈确认信号(Acknowledge character,ACK)给发送终端,以通知发送终端空口上行链路发生拥塞。但是从基站上行ECN发送到接收终端需要经过核心网和路由器转发,发送终端在接收到接收终端的ACK反馈时执行速率调整,这之间存在较长时间的时延,造成较高的反馈延迟,进而使得发送终端不能及时对传输速率进行调整,可能造成数据包丢失,以及影响用户体验。The existing agreement stipulates that the air interface congestion is handled by using the ECN mechanism. When the packet data convergence protocol layer (Packet Data Convergence Protocol, PDCP) protocol data unit (service Data Unit, SDU) carries two ECN-enabled transmissions (Explicit Congestion) Notification Transmission, ECT), such as ECT(0) or ECT(1), and when the air interface uplink between the transmitting terminal and the base station is congested, the base station can set the ECN of the PDCP SDU to experience congestion (Congestion Experienced, CE), and send the congested data packet with the ECN set to the receiving terminal. Through this kind of base station uplink ECN operation, the purpose is to notify the receiving terminal to feed back an acknowledgement signal (Acknowledge Character, ACK) to the transmitting terminal, so as to notify the transmitting terminal that the air interface uplink is congested. However, the uplink ECN sent from the base station to the receiving terminal needs to be forwarded by the core network and router. The sending terminal performs rate adjustment when receiving the ACK feedback from the receiving terminal. There is a long time delay between this, which causes a high feedback delay. In turn, the sending terminal cannot adjust the transmission rate in time, which may cause data packet loss and affect user experience.
在一个实施例中,所述ECN机制可以对网际协议(Internet Protocol,IP)头进行修改,在对IP头进行修改时,可以使用服务类型(Type of Service,TOS)字段中的第7比特bit和/或第8bit的res字段,重新定义为ECN字段。In one embodiment, the ECN mechanism can modify the Internet Protocol (IP) header. When modifying the IP header, the 7th bit in the Type of Service (TOS) field can be used. And/or the res field of the 8th bit is redefined as an ECN field.
在一个实施例中,ECN字段中包括四个取值:00表示不支持ECN;01和10表示支持ECN;11表示报文发生了拥塞。在路由器转发侧,当拥塞发生时支持ECN需要实现的功能如下:In one embodiment, the ECN field includes four values: 00 indicates that ECN is not supported; 01 and 10 indicate that ECN is supported; 11 indicates that the message is congested. On the router forwarding side, the functions that need to be implemented to support ECN when congestion occurs are as follows:
1.针对ECN=00的报文,走原有普通非ECN流程,即过载丢包。1. For the message with ECN=00, follow the original ordinary non-ECN process, that is, overload and packet loss.
2.针对ECN=01或ECN=10的报文需要修改为ECN=11,表明拥塞发生并继续转发流程。2. The message with ECN=01 or ECN=10 needs to be modified to ECN=11, indicating that congestion occurs and the forwarding process is continued.
3.针对ECN=11的报文,需要继续转发。3. For the message with ECN=11, it needs to continue to be forwarded.
在一个实施例中,所述ECN机制还可以对TCP头进行修改,在对TCP头进行修改时,ECN将TCP头部第8bit和第9bit的res字段修改为拥塞窗口减少(Congestion Window Reduce,CWR)和显式拥塞通知回应(ECN-Echo,ECE),将第7bit修改为随机和(Nonce Sum,NS),所述随机和用于实验性添加,可以防止数据包标记被意外或恶意改动。In one embodiment, the ECN mechanism can also modify the TCP header. When modifying the TCP header, the ECN modifies the 8th and 9th bits of the TCP header res field to Congestion Window Reduce (CWR). ) And an explicit congestion notification response (ECN-Echo, ECE), the 7th bit is modified to a random sum (Nonce Sum, NS). The random sum is used for experimental addition, which can prevent accidental or malicious changes to the packet marking.
在一个实施例中,对于接收终端,在接收到IP头中的ECN=11标记时,在回复ACK时将ECE bit置1,并在后续的ACK中均将ECE bit置1。In one embodiment, when receiving the ECN=11 flag in the IP header, the receiving terminal sets the ECE bit to 1 when replying to the ACK, and sets the ECE bit to 1 in all subsequent ACKs.
在一个实施例中,对于发送终端,在接收到ECE bit置1的ACK报文时,对发送速率进行调整如减半,并在发送下一个报文时,将CWR bit置1。In one embodiment, for the sending terminal, when receiving an ACK message with the ECE bit set to 1, the sending rate is adjusted, such as halved, and the CWR bit is set to 1 when sending the next message.
在一个实施例中,对于接收终端,在接收到CWR bit置1的报文时,后续的ECE bit将不再置1,直到再次收到IP头ECN=11时,在回复ACK时将ECE bit置1,并在后续的 ACK中均将ECE bit置1。In one embodiment, for the receiving terminal, when receiving a message with the CWR bit set to 1, the subsequent ECE bit will no longer be set to 1, until the IP header ECN=11 is received again, the ECE bit will be set when replying to the ACK. Set to 1, and set the ECE bit to 1 in subsequent ACKs.
本发明实施例提出了一种对ECN机制增强的蜂窝网络上行链路ECN机制的增强方法,通过在空口链路由基站向发送终端直接反馈上行拥塞情况,从而减小上行链路反馈时延,提高速率调整的实时性,使发送终端对速率调整更加及时。本发明实施例提出的所述蜂窝网络上行链路ECN机制的增强方法还包括一种对冗余反馈信号的处理机制,进一步提高了发送终端调整速率的准确性。The embodiment of the present invention proposes a cellular network uplink ECN mechanism enhancement method that enhances the ECN mechanism. The base station directly feeds back the uplink congestion situation to the transmitting terminal on the air interface link, thereby reducing the uplink feedback delay. Improve the real-time performance of rate adjustment, so that the sending terminal can adjust the rate more timely. The method for enhancing the cellular network uplink ECN mechanism proposed in the embodiment of the present invention also includes a processing mechanism for redundant feedback signals, which further improves the accuracy of the sending terminal's rate adjustment.
在一个实施例中,基站在检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以通过无线链路控制层(Radio Link Control,RLC)中的协议数据单元(Protocol Data Unit,PDU)或媒体访问控制(Media Access Control,MAC)中的控制单元(Control Element,CE)将空口上行拥塞情况通知给发送终端,以使发送终端可以做跨层处理,指示TCP层调整发送速率。在某些实施例中,所述调整发送速率的方式包括但不限与减小或增加发送速率,本发明实施例不做具体限定。In one embodiment, when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it may use the Protocol Data Unit (PDU) in the Radio Link Control layer (Radio Link Control, RLC). ) Or the control element (CE) in Media Access Control (MAC) notifies the sending terminal of the air interface uplink congestion, so that the sending terminal can do cross-layer processing and instruct the TCP layer to adjust the sending rate. In some embodiments, the manner of adjusting the sending rate includes, but is not limited to, reducing or increasing the sending rate, which is not specifically limited in the embodiment of the present invention.
在一个实施例中,基站在检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以通过RLC control PDU或MAC CE将空口上行链路的拥塞情况通知给发送终端,以使发送终端可以做跨层处理,指示TCP层调整发送速率,并通知TCP层记录最近区间范围内已经发送但还未被接收终端确认接收的TCP序列号。在某些实施例中,所述区间范围包括但不限与时间范围T或数量范围M,本发明实施例不做具体限定。In one embodiment, when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it can notify the transmitting terminal of the congestion condition of the air interface uplink through RLC control PDU or MAC CE, so that the transmitting terminal It can do cross-layer processing, instruct the TCP layer to adjust the sending rate, and notify the TCP layer to record the TCP sequence numbers that have been sent in the nearest interval but have not yet been confirmed by the receiving terminal. In some embodiments, the interval range includes but is not limited to the time range T or the number range M, which is not specifically limited in the embodiment of the present invention.
在一个实施例中,基站在检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以在PDCP层中对报文对应的PDCP SDU包括的IP头和TCP头进行解析,将解析得到的目标TCP头信息和上行拥塞标记通过PDCP control PDU或无线资源控制协议(Radio Resource Control,RRC)消息反馈至发送终端。发送终端接收到来自基站的拥塞通知后,将拥塞通知指示到TCP层,由发送终端的TCP层记录反馈信息,并调整发送速率。在某些实施例中,所述反馈信息包括TCP序列号等。In one embodiment, when the base station detects that the air interface uplink between the sending terminal and the base station is in a congested state, it can parse the IP header and TCP header included in the PDCP SDU corresponding to the message in the PDCP layer, and obtain The target TCP header information and the uplink congestion flag are fed back to the sending terminal through a PDCP control PDU or a radio resource control protocol (Radio Resource Control, RRC) message. After receiving the congestion notification from the base station, the sending terminal instructs the congestion notification to the TCP layer, and the TCP layer of the sending terminal records the feedback information and adjusts the sending rate. In some embodiments, the feedback information includes a TCP sequence number and the like.
在一个实施例中,通过基站直接向发送终端反馈空口上行链路拥塞信息,可以降低上行链路反馈时延,但是会引入一个问题:若后续发送终端再次收到接收终端反馈的上行拥塞标记,由于对应空口上行链路的拥塞标记实际已经由基站直接反馈给发送终端,并且发送终端已经响应并调整了发送速率。因此针对该冗余的上行拥塞标记反馈,具体处理的实施方式如下。In one embodiment, the base station directly feeds back the air interface uplink congestion information to the sending terminal, which can reduce the uplink feedback delay, but it will introduce a problem: if the sending terminal subsequently receives the uplink congestion flag fed back by the receiving terminal again, Since the congestion flag corresponding to the uplink of the air interface has actually been directly fed back by the base station to the sending terminal, and the sending terminal has responded and adjusted the sending rate. Therefore, for this redundant uplink congestion flag feedback, the specific processing implementation is as follows.
在一个实施例中,基站在检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以对PDCP SDU的ECN位不作置位处理,这样后续发送终端接收到带有ECE置位的ACK包时,可以按照正常ECN机制响应处理。通过这种实施方式,可以避免在接收到冗余的上行拥塞标记时再次对发送速率进行调整,从而确保发送终端对发送速率进行调整的准确性。In one embodiment, when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it may not set the ECN bit of the PDCP SDU, so that the subsequent transmitting terminal receives an ACK with ECE set. When the packet is received, it can be processed according to the normal ECN mechanism. Through this implementation manner, it can be avoided that the sending rate is adjusted again when the redundant uplink congestion flag is received, thereby ensuring the accuracy of the sending terminal's adjustment of the sending rate.
在一个实施例中,基站在检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以对PDCP SDU的ECN位作置位处理。若发送终端后续收到对应已经响应过的TCP序 列号,且ECE置位的ACK包,则发送终端不进行发送速率调整,并且按照正常的ECN机制,在发送下一个报文时,将TCP头的CWR位置位,以通知接收终端停止将后续ACK信号的ECE位置位。通过这种实施方式,可以避免在接收到冗余的上行拥塞标记时再次对发送速率进行调整,从而确保发送终端对发送速率进行调整的准确性。In one embodiment, when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, the ECN bit of the PDCP SDU may be set. If the sending terminal subsequently receives an ACK packet corresponding to the TCP sequence number that has been responded to and the ECE is set, the sending terminal does not adjust the sending rate, and according to the normal ECN mechanism, when sending the next message, the TCP header The CWR bit is set to notify the receiving terminal to stop setting the ECE bit of the subsequent ACK signal. Through this implementation manner, it can be avoided that the sending rate is adjusted again when the redundant uplink congestion flag is received, thereby ensuring the accuracy of the sending terminal's adjustment of the sending rate.
在其他实施例中,本发明实施例可以包括上述单个解决方案,或某些解决方案的组合,本发明实施例对解决方案的组合方式不做具体限定。In other embodiments, the embodiment of the present invention may include the foregoing single solution or a combination of certain solutions, and the embodiment of the present invention does not specifically limit the combination of solutions.
下面结合附图1对本发明实施例提供的数据传输系统进行示意性说明。Hereinafter, a data transmission system provided by an embodiment of the present invention will be schematically described with reference to FIG. 1.
请参见图1,图1是本发明实施例提供的一种数据传输系统的结构示意图。所述数据传输系统包括:基站11、发送终端12、接收终端13、核心网14和路由器15。在一些实施例中,所述发送终端12可以通过所述基站11与接收终端13建立通信连接。在某些实施例中,所述接收终端13与所述基站11也可以通过核心网14和路由器15建立通信连接,以使所述接收终端13可以和所述基站11进行双向通信连接。如此,发送终端12与接收终端13分别与基站11建立通信连接,进而经由基站11实现彼此之间的通信连接。Please refer to FIG. 1, which is a schematic structural diagram of a data transmission system according to an embodiment of the present invention. The data transmission system includes: a base station 11, a sending terminal 12, a receiving terminal 13, a core network 14 and a router 15. In some embodiments, the sending terminal 12 may establish a communication connection with the receiving terminal 13 through the base station 11. In some embodiments, the receiving terminal 13 and the base station 11 may also establish a communication connection through the core network 14 and the router 15 so that the receiving terminal 13 can perform a two-way communication connection with the base station 11. In this way, the sending terminal 12 and the receiving terminal 13 establish a communication connection with the base station 11 respectively, and then realize the communication connection between each other via the base station 11.
下面结合附图对本发明实施例提供的蜂窝网络上行链路ECN机制的增强方法的实施例进行示意性说明。The following schematically illustrates an embodiment of a method for enhancing an uplink ECN mechanism of a cellular network provided by an embodiment of the present invention with reference to the accompanying drawings.
请参见图2,图2是本发明实施例提供的一种蜂窝网络上行链路ECN机制的增强方法的流程示意图,所述方法可以应用于基站,其中,所述基站的具体解释如前所述。具体地,本发明实施例的所述方法包括如下步骤。Please refer to Figure 2. Figure 2 is a schematic flowchart of a method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention. The method can be applied to a base station, where the specific explanation of the base station is as described above. . Specifically, the method of the embodiment of the present invention includes the following steps.
S201:检测发送终端和基站间的空口上行链路是否处于拥塞状态。S201: Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
本发明实施例中,基站可以检测发送终端和基站间的空口上行链路是否处于拥塞状态。In the embodiment of the present invention, the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
S202:若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。S202: If the air interface uplink is in a congested state, send a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
本发明实施例中,若基站检测到所述空口上行链路处于拥塞状态,则可以向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞,以使所述发送终端调整发送下一个报文的发送速率。在某些实施例中,所述调整发送速率包括但不限于增加或减少发送速率,此处不做具体限定。In the embodiment of the present invention, if the base station detects that the air interface uplink is in a congested state, it may send a notification message to the sending terminal, where the notification message is used to notify the sending terminal of the air interface uplink Congestion occurs, so that the sending terminal adjusts the sending rate of sending the next message. In some embodiments, the adjusting the sending rate includes, but is not limited to, increasing or decreasing the sending rate, which is not specifically limited here.
通过这种实施方式,可以使发送终端调整报文的发送速率,避免在发送终端和基站间的空口上行链路出现拥塞时发送终端还在快速发送报文,导致部分报文数据丢失的问题。Through this implementation manner, the sending terminal can adjust the sending rate of the message, and avoid the problem that the sending terminal is still sending messages quickly when the air interface uplink between the sending terminal and the base station is congested, resulting in the loss of part of the message data.
在一个实施例中,基站可以根据拥塞情况确定调整发送速率的调整标识,并生成携带调整标识的通知消息,所述调整标识用于指示发送终端增加或减少发送速率的数据;在一个示例中,所述调整标识用于指示发送终端将发送速率减半。通过这种实施方式,可以通知发送终端调整发送速率的具体数值,以提高发送终端调整发送速率的准确性。In an embodiment, the base station may determine an adjustment identifier for adjusting the transmission rate according to the congestion situation, and generate a notification message carrying the adjustment identifier, the adjustment identifier being used to instruct the sending terminal to increase or decrease the transmission rate data; in an example, The adjustment indicator is used to instruct the sending terminal to reduce the sending rate by half. Through this implementation manner, the sending terminal can be notified to adjust the specific value of the sending rate, so as to improve the accuracy of the sending terminal in adjusting the sending rate.
在一个实施例中,基站在向所述发送终端发送通知消息时,可以将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载(Data Radio Bearer,DRB)或逻辑信道(Logical CHannel,LCH)的标识信息。通过这种实施方式,可以通过多种方式将发送通知发送给发送终端,以使发送终端可以及时接收到通知消息。In an embodiment, when the base station sends a notification message to the sending terminal, it may send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or, The control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE includes the data radio bearer (DRB) or logical channel where the air interface uplink is congested (Logical Channel, LCH) identification information. Through this embodiment, the sending notification can be sent to the sending terminal in a variety of ways, so that the sending terminal can receive the notification message in time.
在一个实施例中,所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率;和/或,用于通知所述发送终端记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。通过这种实施方式,有助于后续发送终端在接收到接收终端反馈的ACK信号时,判断ACK信号中是否存在所述未被确认接收的TCP序列号。In one embodiment, the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent within a specified interval But the TCP sequence number that has not been confirmed to be received. Through this implementation manner, it is helpful for the sending terminal to determine whether the TCP sequence number of the unconfirmed reception exists in the ACK signal when receiving the ACK signal fed back by the receiving terminal.
在一个实施例中,基站在向所述发送终端发送通知消息时,可以将携带上行拥塞标记的分组数据汇聚协议层的协议数据单元PDCP PDU作为通知消息发送给所述发送终端;其中,所述PDCP PDU中包含拥塞数据包的TCP序列号。In one embodiment, when the base station sends a notification message to the sending terminal, it may send a packet data convergence protocol layer protocol data unit PDCP PDU carrying an uplink congestion flag as a notification message to the sending terminal; wherein, the The PDCP PDU contains the TCP sequence number of the congested data packet.
在一个实施例中,基站向所述发送终端发送通知消息时,可以将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端。其中,所述通知消息还包含空口上行链路发生拥塞的DRB或LCH的标识信息。In an embodiment, when the base station sends a notification message to the sending terminal, it may send a radio resource control RRC message that carries the uplink congestion flag and target TCP header information as a notification message to the sending terminal. Wherein, the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
在一个实施例中,所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率,并用于通知所述发送终端记录所述目标TCP头信息,所述目标TCP头信息包括TCP序列号。通过这种实施方式,有助于后续发送终端在接收到接收终端反馈的ACK信号时,判断ACK信号中是否存在所述未被确认接收的TCP序列号。In an embodiment, the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol, and is used to notify the sending terminal to record the target TCP header information, and the target TCP header information includes TCP serial number. Through this implementation manner, it is helpful for the sending terminal to determine whether the TCP sequence number of the unconfirmed reception exists in the ACK signal when receiving the ACK signal fed back by the receiving terminal.
在一个实施例中,基站当检测到所述空口上行链路处于拥塞状态时,可以对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理或不作置位处理。In one embodiment, when detecting that the air interface uplink is in a congested state, the base station may set or not set the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer.
本发明实施例中,基站可以检测发送终端和基站间的空口上行链路是否处于拥塞状态,若所述空口上行链路处于拥塞状态,则可以向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。通过这种方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state, and if the air interface uplink is in a congested state, it can send a notification message to the sending terminal, where the The notification message is used to notify the sending terminal that the air interface uplink is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
请参见图3,图3是本发明实施例提供的另一种蜂窝网络上行链路ECN机制的增强方法的流程示意图,所述方法可以由基站执行。本发明实施例对应用于基站的蜂窝网络上行链路ECN机制的增强方法的详细实施过程的示意性说明如下。Please refer to FIG. 3, which is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention, and the method may be executed by a base station. The detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the base station in the embodiment of the present invention is schematically described as follows.
S301:检测发送终端和基站间的空口上行链路是否处于拥塞状态。S301: Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
本发明实施例中,基站可以检测发送终端和基站间的空口上行链路是否处于拥塞状态。In the embodiment of the present invention, the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
S302:若检测到所述口上行链路处于拥塞状态,则对分组数据汇聚协议层的协议数据单元PDCP SDU的ECN位不作置位处理。S302: If it is detected that the uplink of the port is in a congested state, the ECN bit of the protocol data unit PDCP SDU of the packet data convergence protocol layer is not set.
本发明实施例中,基站当检测到所述发送终端和基站间的空口上行链路处于拥塞状态时,可以对分组数据汇聚协议层的协议数据单元PDCP SDU的ECN位不作置位处理。在某些实施例中,所述ECN机制的解释如前所述,此处不再赘述。通过这种实施方式,有助于发送终端在后续接收到包含ECN置位(即包含ECE置位)的ACK信号时,确定空口不处于拥塞状态,并按照正常的ECN机制传输数据。In the embodiment of the present invention, when the base station detects that the air interface uplink between the sending terminal and the base station is in a congested state, the ECN bit of the protocol data unit PDCP SDU of the packet data convergence protocol layer may not be set. In some embodiments, the explanation of the ECN mechanism is as described above, and will not be repeated here. Through this implementation manner, it is helpful for the transmitting terminal to determine that the air interface is not in a congested state when subsequently receiving an ACK signal that includes the ECN setting (that is, including the ECE setting), and transmits data according to the normal ECN mechanism.
S303:将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端。S303: Send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or send the control element MAC CE of the media access control layer carrying the uplink congestion flag as a notification The message is sent to the sending terminal.
本发明实施例中,基站可以将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或LCH的标识信息。In the embodiment of the present invention, the base station may send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or, the media access control layer carrying the uplink congestion flag The control element MAC CE is sent to the sending terminal as a notification message, where the MAC CE includes the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
在一个实施例中,所述通知消息用于通知所述发送终端空口上行链路发生拥塞,以使发送终端可以通过TCP调整报文的发送速率,并在接收到通知消息之后,在获取到接收终端返回的包含ECE置位的ACK包时,按照ECN机制响应处理。In one embodiment, the notification message is used to notify the sending terminal of the occurrence of congestion on the air interface uplink, so that the sending terminal can adjust the sending rate of the message through TCP, and after receiving the notification message, after receiving the When the terminal returns an ACK packet containing the ECE setting, it shall be processed according to the ECN mechanism.
本发明实施例中,基站通过在检测到发送终端和基站间的空口上行链路处于拥塞状态时,对PDCP SDU的ECN位不作置位处理,并将携带了上行拥塞标记的RLC control PDU作为通知消息发送给发送终端;或者,将携带了MAC CE的通知消息发送给发送终端,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, the base station does not set the ECN bit of the PDCP SDU when it detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, and uses the RLC control PDU carrying the uplink congestion flag as a notification The message is sent to the sending terminal; or, by sending a notification message carrying MAC CE to the sending terminal, the sending terminal can adjust the uplink data transmission rate in time, reduce the feedback delay of the cellular network uplink data transmission, and help improve the rate adjustment of the sending terminal The accuracy of data transmission improves the efficiency of data transmission.
请参见图4,图4是本发明实施例提供的又一种蜂窝网络上行链路ECN机制的增强方法的流程示意图,所述方法可以由基站执行。本发明实施例对应用于基站的蜂窝网络上行链路ECN机制的增强方法的详细实施过程的示意性说明如下。Please refer to FIG. 4, which is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention, and the method may be executed by a base station. The detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the base station in the embodiment of the present invention is schematically described as follows.
S401:检测发送终端和基站间的空口上行链路是否处于拥塞状态。S401: Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
本发明实施例中,基站可以检测发送终端和基站间的空口上行链路是否处于拥塞状态。In the embodiment of the present invention, the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
S402:当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理。S402: When it is detected that the air interface uplink is in a congested state, set the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer.
本发明实施例中,基站当检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理。In the embodiment of the present invention, when the base station detects that the air interface uplink between the sending terminal and the base station is in a congested state, it can set the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer.
通过这种实施方式,有助于发送终端在接收到接收终端反馈的ACK信号中包含的ECN 置位(即包含ECE置位)中携带了上述未被确认的TCP序列号时,停止对发送速率进行调整,进一步提高调整发送速率的准确性。Through this implementation, it is helpful for the sending terminal to stop the sending rate when the ECN set (that is, the ECE set) contained in the ACK signal fed back by the receiving terminal carries the above-mentioned unconfirmed TCP sequence number. Make adjustments to further improve the accuracy of adjusting the sending rate.
在一个实施例中,所述对PDCP SDU的ECN位作置位处理可以包括将ECN位作CE处理;在一个示例中,所述将ECN位作CE处理可以为将CE置1。In an embodiment, the processing of setting the ECN bit of the PDCP SDU may include processing the ECN bit as a CE; in an example, the processing of processing the ECN bit as a CE may be setting the CE to 1.
S403:将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或LCH的标识信息S403: Send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or send the control element MAC CE of the media access control layer carrying the uplink congestion flag as a notification The message is sent to the sending terminal, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink
本发明实施例中,基站可以将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或LCH的标识信息。In the embodiment of the present invention, the base station may send the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or, the media access control layer carrying the uplink congestion flag The control element MAC CE is sent to the sending terminal as a notification message, where the MAC CE includes the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
在一个实施例中,所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率;和/或,用于通知所述发送终端记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。In one embodiment, the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent within a specified interval But the TCP sequence number that has not been confirmed to be received.
通过这种实施方式,可以使发送终端通过TCP层记录最近时间内已发送但未被确认接收的TCP序列号,并调整报文的发送速率,当发送终端接收到接收终端发送的包含ECE置位的ACK包时,如果所述ACK包中包含所述发送终端记录的TCP序列号,则可以通过TCP层停止对发送速率进行调整,并按照正常ECN机制处理,在发送下一个报文时,将TCP头的CWR位置位,以通知接收终端停止将后续ACK信号的ECE位置位。Through this implementation, the sending terminal can record the TCP sequence number that has been sent but not confirmed to be received in the most recent time through the TCP layer, and adjust the sending rate of the message. When the sending terminal receives the ECE sent by the receiving terminal, it is set. If the ACK packet contains the TCP sequence number recorded by the sending terminal, you can stop adjusting the sending rate through the TCP layer and process it according to the normal ECN mechanism. When sending the next message, The CWR bit of the TCP header is set to notify the receiving terminal to stop setting the ECE bit of the subsequent ACK signal.
本发明实施例中,基站当检测到发送终端和基站间的空口上行链路处于拥塞状态时,可以对PDCP SDU的ECN位作置位处理,并将携带了上行拥塞标记的RLC PDU作为通知消息发送给所述发送终端;或者,将携带了上行拥塞标记的MAC CE作为通知消息发送给所述发送终端,以使所述发送终端通过TCP层调整发送速率以及记录所述发送终端在指定时间范围内已发送但未被确认接收的TCP序列号。通过这种实施方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, when the base station detects that the air interface uplink between the transmitting terminal and the base station is in a congested state, it can set the ECN bit of the PDCP SDU, and use the RLC PDU carrying the uplink congestion flag as the notification message Send to the sending terminal; or send the MAC CE carrying the uplink congestion flag as a notification message to the sending terminal, so that the sending terminal can adjust the sending rate through the TCP layer and record the sending terminal in the specified time range The TCP sequence number that has been sent but has not been confirmed to be received. Through this implementation manner, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal rate adjustment, and improve the efficiency of data transmission.
请参见图5,图5是本发明实施例提供的又一种蜂窝网络上行链路ECN机制的增强方法的流程示意图,所述方法可以由基站执行。本发明实施例对应用于基站的蜂窝网络上行链路ECN机制的增强方法的详细实施过程的示意性说明如下。Please refer to FIG. 5, which is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention, and the method may be executed by a base station. The detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the base station in the embodiment of the present invention is schematically described as follows.
S501:检测发送终端和基站间的空口上行链路是否处于拥塞状态。S501: Detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
本发明实施例中,基站可以检测发送终端和基站间的空口上行链路是否处于拥塞状态。In the embodiment of the present invention, the base station can detect whether the air interface uplink between the sending terminal and the base station is in a congested state.
S502:当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数 据单元PDCP SDU的显示拥塞通知ECN位作置位处理。S502: When it is detected that the air interface uplink is in a congested state, set the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer.
本发明实施例中,基站当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理。In the embodiment of the present invention, when detecting that the air interface uplink is in a congested state, the base station sets the display congestion notification ECN bit of the service data unit PDCP and SDU of the packet data convergence protocol layer.
S503:将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端。S503: Send a radio resource control RRC message carrying the uplink congestion flag and target TCP header information as a notification message to the sending terminal.
本发明实施例中,基站可以将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端,其中,所述通知消息还包含空口上行链路发生拥塞的DRB或LCH的标识信息。In the embodiment of the present invention, the base station may send a radio resource control RRC message that carries the uplink congestion flag and target TCP header information to the sending terminal as a notification message, where the notification message also includes the congestion of the air interface uplink. DRB or LCH identification information.
在一个实施例中,所述通知消息用于通知所述发送终端通过TCP层记录所述通知消息中包含的目标TCP头信息,并调整发送速率,所述目标TCP头信息包括TCP序列号。In one embodiment, the notification message is used to notify the sending terminal to record the target TCP header information contained in the notification message through the TCP layer and adjust the sending rate, and the target TCP header information includes a TCP sequence number.
在一个实施例中,基站在将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端之前,可以对所述报文对应的PDCP SDU包括的网际协议IP头和传输控制协议TCP头进行解析,得到目标TCP头信息,并获取上行拥塞标记,从而将包括所述上行拥塞标记和目标TCP头信息的通知消息发送给所述发送终端。通过这种实施方式,有助于发送终端后续接收到接收终端反馈的带有ECE置位的ACK包时,判断该ACK包是否包括所述发送终端记录的TCP序列号,若判断结果为是,则发送终端对所述报文的发送速率不作调整,当发送下一个报文时,按照ECN机制将TCP头的拥塞窗口减少CWR位置位,在某些实施例中,所述CWR置位后的TCP头用于通知所述接收终端停止将所述下一报文的ACK包的ECE位置位;若判断结果为否,则按照正常的ECN机制响应处理。In one embodiment, before sending the radio resource control RRC message carrying the uplink congestion flag and target TCP header information to the sending terminal as a notification message, the base station may report the Internet protocol included in the PDCP SDU corresponding to the message The IP header and the Transmission Control Protocol TCP header are parsed to obtain the target TCP header information, and the uplink congestion flag is obtained, so that the notification message including the uplink congestion flag and the target TCP header information is sent to the sending terminal. Through this implementation mode, it is helpful for the sending terminal to determine whether the ACK packet includes the TCP sequence number recorded by the sending terminal when it subsequently receives the ACK packet with ECE set fed back by the receiving terminal. If the result of the judgment is yes, Then the sending terminal does not adjust the sending rate of the message. When sending the next message, the congestion window of the TCP header is reduced according to the ECN mechanism. In some embodiments, the CWR position is set. The TCP header is used to notify the receiving terminal to stop setting the ECE bit of the ACK packet of the next message; if the judgment result is no, it will respond and process according to the normal ECN mechanism.
在一个实施例中,基站还可以将携带了所述上行拥塞标记和所述目标TCP头信息的PDCP control PDU作为通知消息发送给所述发送终端。In an embodiment, the base station may also send the PDCP control PDU carrying the uplink congestion flag and the target TCP header information as a notification message to the sending terminal.
通过这种实施方式,可以实现多种发送通知消息的方式,使得发送终端可以及时获取空口处于拥塞状态的通知消息,有助于发送终端及时调整报文的发送速率。Through this implementation manner, multiple ways of sending notification messages can be implemented, so that the sending terminal can obtain the notification message that the air interface is in a congested state in time, which helps the sending terminal to adjust the sending rate of the message in time.
本发明实施例中,基站在检测到空口上行链路处于拥塞状态时,可以对PDCP SDU的ECN位作置位处理,并将携带了目标TCP头信息和上行拥塞标记的RRC消息作为通知消息发送给发送终端。通过这种实施方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, when the base station detects that the air interface uplink is in a congested state, it can set the ECN bit of the PDCP SDU, and send the RRC message carrying the target TCP header information and the uplink congestion flag as a notification message. To the sending terminal. Through this implementation manner, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal rate adjustment, and improve the efficiency of data transmission.
请参见图6,图6是本发明实施例提供的又一种蜂窝网络上行链路ECN机制的增强方法的流程示意图,所述方法可以由终端执行,所述终端与前述的发送终端对应相同。本发明实施例对应用于终端的蜂窝网络上行链路ECN机制的增强方法的详细实施过程的示意性说明如下。Please refer to FIG. 6, which is a schematic flowchart of another method for enhancing the uplink ECN mechanism of a cellular network according to an embodiment of the present invention. The method may be executed by a terminal, and the terminal corresponds to the aforementioned sending terminal. The detailed implementation process of the method for enhancing the uplink ECN mechanism of the cellular network corresponding to the embodiment of the present invention is schematically illustrated as follows.
S601:接收来自基站的指示空口上行链路处于拥塞状态的通知消息。S601: Receive a notification message from the base station indicating that the air interface uplink is in a congested state.
本发明实施例中,发送终端可以接收来自基站的指示空口上行链路处于拥塞状态的通知消息。In the embodiment of the present invention, the sending terminal may receive a notification message from the base station indicating that the air interface uplink is in a congested state.
在某些实施例中,所述通知消息可以是PDCP PDU、RLC PDU、MAC CE或RRC消息。在某些实施例中,所述MAC CE和RRC消息中包含空口上行链路发生拥塞的DRB或LCH的标识信息。In some embodiments, the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message. In some embodiments, the MAC CE and RRC messages include the identification information of the DRB or LCH that is congested on the air interface uplink.
S602:向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。S602: Send indication information of congestion state information to an upper layer, where the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
本发明实施例中,发送终端在接收到来自基站的指示空口上行链路处于拥塞状态的通知消息时,可以向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。In the embodiment of the present invention, when the sending terminal receives a notification message from the base station indicating that the air interface uplink is in a congested state, it can send the indication information of the congestion state information to the upper layer. The upper layer refers to the Internet Protocol IP layer or transmission control. Protocol TCP layer.
在一个实施例中,所述向上层发送的指示信息包含所述通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。In an embodiment, the indication information sent to the upper layer includes TCP information included in the notification message, where the TCP information includes a TCP sequence number.
在一个实施例中,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文的发送速率。In an embodiment, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
在一个实施例中,当接收到所述TCP报文的接收终端反馈的包含显式拥塞通知回应ECE置位的确认信号ACK包时,发送终端可以按照显示拥塞通知ECN机制响应处理。In one embodiment, when the receiving terminal that receives the TCP message feeds back an ACK packet containing an acknowledgment signal containing the explicit congestion notification response ECE setting, the sending terminal may respond and process according to the display congestion notification ECN mechanism.
在一个实施例中,所述向上层发送的指示信息用于通知所述发送终端的TCP层记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。In one embodiment, the indication information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but not confirmed to be received within a specified interval.
在一个实施例中,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文发送速率;和/或,所述向上层发送的指示信息还用于通知所述发送终端的TCP层记录所述指示信息中包含的TCP信息。其中,所述TCP信息包含TCP序列号。In an embodiment, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the sending The TCP layer of the terminal records the TCP information contained in the indication information. Wherein, the TCP information includes a TCP sequence number.
在一个实施例中,当接收到接收终端反馈的包含ECE置位的ACK包时,发送终端可以判断所述ACK包是否包含所述TCP层记录的TCP序列号,若判断结果为是,则可以对TCP报文的发送速率不作调整。In one embodiment, when receiving an ACK packet that contains ECE set as a feedback from the receiving terminal, the sending terminal can determine whether the ACK packet contains the TCP sequence number recorded by the TCP layer, and if the judgment result is yes, it can No adjustment is made to the sending rate of TCP packets.
在一个实施例中,发送终端当发送下一个报文时,按照ECN机制将TCP头的拥塞窗口减少CWR位置位。其中,所述CWR置位后的TCP头用于通知所述接收终端停止将所述下一报文的ACK包的ECE位置位。In one embodiment, when sending the next message, the sending terminal reduces the congestion window of the TCP header according to the ECN mechanism, and the CWR bit is set. Wherein, the TCP header after the CWR is set is used to notify the receiving terminal to stop setting the ECE bit of the ACK packet of the next message.
本发明实施例中,发送终端可以接收来自基站的指示空口上行链路处于拥塞状态的通知消息,并向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。通过这种实施方式,发送终端可以直接接收来自基站的指示空口上行链路处于拥塞状态的通知消息,以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, the sending terminal may receive a notification message from the base station indicating that the air interface uplink is in a congested state, and send the indication information of the congestion state information to the upper layer. The upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP Floor. Through this implementation, the sending terminal can directly receive the notification message from the base station indicating that the air interface uplink is in a congested state, so that the sending terminal can adjust the uplink data transmission rate in time, reduce the feedback delay of the cellular network uplink data transmission, and help Improve the accuracy of the rate adjustment of the sending terminal and improve the efficiency of data transmission.
请参见图7,图7是本发明实施例提供的一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图。具体的,所述蜂窝网络上行链路增强ECN机制的传输设备包括:存储器701、处理器702以及数据接口703。Please refer to FIG. 7, which is a schematic structural diagram of a transmission device for an enhanced ECN mechanism in a cellular network uplink according to an embodiment of the present invention. Specifically, the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a memory 701, a processor 702, and a data interface 703.
所述存储器701可以包括易失性存储器(volatile memory);存储器701也可以包括非易失性存储器(non-volatile memory);存储器701还可以包括上述种类的存储器的组合。所述处理器702可以是中央处理器(central processing unit,CPU)。所述处理器702还可以进一步包括硬件蜂窝网络上行链路增强ECN机制的传输设备。上述硬件蜂窝网络上行链路增强ECN机制的传输设备可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。具体例如可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA)或其任意组合。The memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also include a combination of the foregoing types of memories. The processor 702 may be a central processing unit (CPU). The processor 702 may further include a hardware cellular network uplink enhanced ECN mechanism transmission device. The transmission equipment of the hardware cellular network uplink enhanced ECN mechanism may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
进一步地,所述存储器701用于存储程序,当程序被执行时所述处理器702可以调用存储器701中存储的程序,用于执行如下步骤:Further, the memory 701 is used to store a program, and when the program is executed, the processor 702 can call the program stored in the memory 701 to perform the following steps:
检测发送终端和基站间的空口上行链路是否处于拥塞状态;Detect whether the air interface uplink between the sending terminal and the base station is in a congested state;
若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
进一步地,所述处理器702向所述发送终端发送通知消息时,具体用于:Further, when the processor 702 sends a notification message to the sending terminal, it is specifically configured to:
将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,Sending the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or,
将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或LCH的标识信息。The control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
进一步地,所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率;和/或,用于通知所述发送终端记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。Further, the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent but has not been sent within a specified interval. Confirm the received TCP sequence number.
进一步地,所述处理器702向所述发送终端发送通知消息时,具体用于:Further, when the processor 702 sends a notification message to the sending terminal, it is specifically configured to:
将携带上行拥塞标记的分组数据汇聚协议层的协议数据单元PDCP PDU作为通知消息发送给所述发送终端;其中,所述PDCP PDU中包含拥塞数据包的TCP序列号。The protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
进一步地,所述处理器702向所述发送终端发送通知消息时,具体用于:Further, when the processor 702 sends a notification message to the sending terminal, it is specifically configured to:
将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端;其中,所述通知消息还包含空口上行链路发生拥塞的DRB或LCH的标识信息。The radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
进一步地,所述通知消息用于通知所述发送终端调整发送速率,并在TCP层记录所述通知消息中包含的TCP信息。Further, the notification message is used to notify the sending terminal to adjust the sending rate, and the TCP information contained in the notification message is recorded at the TCP layer.
进一步地,所述处理器702还用于:Further, the processor 702 is further configured to:
当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理或不作置位处理。When it is detected that the air interface uplink is in a congested state, the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not processed.
本发明实施例可以检查发送终端和基站间的空口上行链路是否处于拥塞状态,若空口上行链路处于拥塞状态,则可以向发送终端发送通知消息,用于通知所述发送终端所述空口上行链路发生拥塞。通过这种方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。The embodiment of the present invention can check whether the air interface uplink between the sending terminal and the base station is in a congested state. If the air interface uplink is in a congested state, a notification message can be sent to the sending terminal to notify the sending terminal of the air interface uplink The link is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
请参见图8,图8是本发明实施例提供的另一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图。具体的,所述蜂窝网络上行链路增强ECN机制的传输设备包括:第一处理模块801和第一通信模块802,Please refer to FIG. 8, which is a schematic structural diagram of another transmission device with an enhanced ECN mechanism for the uplink of a cellular network according to an embodiment of the present invention. Specifically, the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a first processing module 801 and a first communication module 802,
所述第一处理模块801,用于生成所述通知消息,其中,所述通知消息包含所述发送终端和基站间的空口上行链路的拥塞状态信息;The first processing module 801 is configured to generate the notification message, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;
所述第一通信模块802,用于将所述处理模块801生成的通知消息发送至所述发送终端。The first communication module 802 is configured to send the notification message generated by the processing module 801 to the sending terminal.
进一步地,所述第一通信模块802,具体用于:Further, the first communication module 802 is specifically configured to:
将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,Sending the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or,
将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或LCH的标识信息。The control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
进一步地,所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率;和/或,用于通知所述发送终端记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。Further, the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent but has not been sent within a specified interval. Confirm the received TCP sequence number.
进一步地,所述第一通信模块802,具体用于:Further, the first communication module 802 is specifically configured to:
将携带上行拥塞标记的分组数据汇聚协议层的协议数据单元PDCP PDU作为通知消息发送给所述发送终端;其中,所述PDCP PDU中包含拥塞数据包的TCP序列号。The protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
进一步地,所述第一通信模块802,具体用于:Further, the first communication module 802 is specifically configured to:
将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端;其中,所述通知消息还包含空口上行链路发生拥塞的DRB或LCH的标识信息。The radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
进一步地,所述通知消息用于通知所述发送终端调整发送速率,并在TCP层记录所述通知消息中包含的TCP信息。Further, the notification message is used to notify the sending terminal to adjust the sending rate, and the TCP information contained in the notification message is recorded at the TCP layer.
进一步地,所述第一通信模块802还用于:Further, the first communication module 802 is also used for:
当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理或不作置位处理。When it is detected that the air interface uplink is in a congested state, the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not processed.
本发明实施例可以检查发送终端和基站间的空口上行链路是否处于拥塞状态,若空口上行链路处于拥塞状态,则可以向发送终端发送通知消息,用于通知所述发送终端所述空口上行链路发生拥塞。通过这种方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。The embodiment of the present invention can check whether the air interface uplink between the sending terminal and the base station is in a congested state. If the air interface uplink is in a congested state, a notification message can be sent to the sending terminal to notify the sending terminal of the air interface uplink The link is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
请参见图9,图9是本发明实施例提供的又一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图。具体的,所述蜂窝网络上行链路增强ECN机制的传输设备包括:存储器901、处理器902以及数据接口903。Please refer to FIG. 9, which is a schematic structural diagram of yet another transmission device with an enhanced ECN mechanism on a cellular network uplink according to an embodiment of the present invention. Specifically, the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a memory 901, a processor 902, and a data interface 903.
所述存储器901可以包括易失性存储器(volatile memory);存储器901也可以包括非易失性存储器(non-volatile memory);存储器901还可以包括上述种类的存储器的组合。所述处理器902可以是中央处理器(central processing unit,CPU)。所述处理器902还可以进一步包括硬件蜂窝网络上行链路增强ECN机制的传输设备。上述硬件蜂窝网络上行链路增强ECN机制的传输设备可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。具体例如可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA)或其任意组合。The memory 901 may include a volatile memory (volatile memory); the memory 901 may also include a non-volatile memory (non-volatile memory); the memory 901 may also include a combination of the foregoing types of memories. The processor 902 may be a central processing unit (CPU). The processor 902 may further include a hardware cellular network uplink enhanced ECN mechanism transmission device. The transmission equipment of the hardware cellular network uplink enhanced ECN mechanism may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
进一步地,所述存储器901用于存储程序,当程序被执行时所述处理器802可以调用存储器901中存储的程序,用于执行如下步骤:Further, the memory 901 is used to store a program, and when the program is executed, the processor 802 can call the program stored in the memory 901 to perform the following steps:
接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;
向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
进一步地,所述向上层发送的指示信息包含所述通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。Further, the instruction information sent to the upper layer includes TCP information included in the notification message, wherein the TCP information includes a TCP sequence number.
进一步地,所述通知消息可是PDCP PDU、RLC PDU、MAC CE或RRC消息。Further, the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
进一步地,所述MAC CE和RRC消息中包含空口上行链路发生拥塞的DRB或LCH的标识信息。Further, the MAC CE and RRC messages include identification information of the DRB or LCH that is congested on the air interface uplink.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文的发送速率。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
进一步地,所述处理器902还用于:Further, the processor 902 is further configured to:
当接收到所述TCP报文的接收终端反馈的包含显式拥塞通知回应ECE置位的确认信 号ACK包时,按照显示拥塞通知ECN机制响应处理。When the receiving terminal that receives the TCP message feeds back an ACK packet containing an acknowledgment signal containing the explicit congestion notification response ECE setting, the response processing is performed according to the ECN mechanism of the display congestion notification.
进一步地,所述处理器902还用于:Further, the processor 902 is further configured to:
所述向上层发送的指示信息用于通知所述发送终端的TCP层记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。The instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文发送速率;和/或,所述向上层发送的指示信息还用于通知所述发送终端的TCP层记录所述指示信息中包含的TCP信息,其中,所述TCP信息包含TCP序列号。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the TCP of the sending terminal The layer records the TCP information included in the indication information, where the TCP information includes a TCP sequence number.
进一步地,所述处理器902还用于:Further, the processor 902 is further configured to:
当接收到接收终端反馈的包含ECE置位的ACK包时,判断所述ACK包是否包含所述TCP层记录的TCP序列号;When receiving an ACK packet that includes the ECE setting feedback from the receiving terminal, determining whether the ACK packet includes the TCP sequence number recorded by the TCP layer;
若判断结果为是,则对TCP报文的发送速率不作调整。If the judgment result is yes, no adjustment is made to the sending rate of TCP packets.
进一步地,当发送下一个报文时,按照ECN机制将TCP头的拥塞窗口减少CWR位置位。Further, when the next message is sent, the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
本发明实施例可以在接收到来自基站的指示空口上行链路处于拥塞状态的通知消息时,向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。通过这种实施方式,发送终端可以直接接收到来自基站的指示空口上行链路处于拥塞状态的通知消息,以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, when a notification message indicating that the air interface uplink is in a congested state is received from a base station, the upper layer may send indication information of the congestion state information to the upper layer. The upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer. Through this implementation manner, the sending terminal can directly receive the notification message from the base station indicating that the air interface uplink is in a congested state, so that the sending terminal can adjust the uplink data transmission rate in time, reduce the feedback delay of the cellular network uplink data transmission, and help To improve the accuracy of the rate adjustment of the sending terminal and improve the efficiency of data transmission.
请参见图10,图10是本发明实施例提供的又一种蜂窝网络上行链路增强ECN机制的传输设备的结构示意图。具体的,所述蜂窝网络上行链路增强ECN机制的传输设备包括:第二通信模块1001和第二处理模块1002,Please refer to FIG. 10, which is a schematic structural diagram of another transmission device with an enhanced ECN mechanism on a cellular network uplink according to an embodiment of the present invention. Specifically, the transmission device of the enhanced ECN mechanism of the cellular network uplink includes: a second communication module 1001 and a second processing module 1002,
所述第二通信模块1001,用于接收所述基站发送的所述通知消息,其中,所述通知消息包含所述发送终端和基站间的空口上行链路的拥塞状态信息;The second communication module 1001 is configured to receive the notification message sent by the base station, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;
所述第二通信模块1001,还用于将所述处理模块生成的所述指示信息发送至上层,所述上层是指IP或TCP层;The second communication module 1001 is further configured to send the instruction information generated by the processing module to an upper layer, where the upper layer refers to an IP or TCP layer;
所述第二处理模块1002,用于生成指示信息,其中,所述指示信息包含所述来自基站的指示空口上行链路处于拥塞状态的通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。The second processing module 1002 is configured to generate indication information, where the indication information includes the TCP information contained in the notification message from the base station indicating that the air interface uplink is in a congested state, where the TCP information includes TCP sequence number.
进一步地,所述向上层发送的指示信息包含所述通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。Further, the instruction information sent to the upper layer includes TCP information included in the notification message, wherein the TCP information includes a TCP sequence number.
进一步地,所述通知消息可是PDCP PDU、RLC PDU、MAC CE或RRC消息。Further, the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
进一步地,所述MAC CE和RRC消息中包含空口上行链路发生拥塞的DRB或LCH的标识信息。Further, the MAC CE and RRC messages include identification information of the DRB or LCH that is congested on the air interface uplink.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文的发送速率。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
进一步地,所述第二处理模块1002还用于:Further, the second processing module 1002 is also used for:
当接收到所述TCP报文的接收终端反馈的包含显式拥塞通知回应ECE置位的确认信号ACK包时,按照显示拥塞通知ECN机制响应处理。When the receiving terminal that receives the TCP message feeds back the ACK packet containing the acknowledgment signal containing the explicit congestion notification response ECE setting, the response processing is performed according to the display congestion notification ECN mechanism.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文发送速率;和/或,所述向上层发送的指示信息还用于通知所述发送终端的TCP层记录所述指示信息中包含的TCP信息,其中,所述TCP信息包含TCP序列号。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the TCP of the sending terminal The layer records the TCP information included in the indication information, where the TCP information includes a TCP sequence number.
进一步地,所述第二处理模块1002还用于:Further, the second processing module 1002 is also used for:
当接收到接收终端反馈的包含ECE置位的ACK包时,判断所述ACK包是否包含所述TCP层记录的TCP序列号;When receiving an ACK packet that includes the ECE setting feedback from the receiving terminal, determining whether the ACK packet includes the TCP sequence number recorded by the TCP layer;
若判断结果为是,则对TCP报文的发送速率不作调整。If the judgment result is yes, no adjustment is made to the sending rate of TCP packets.
进一步地,当发送下一个报文时,按照ECN机制将TCP头的拥塞窗口减少CWR位置位。Further, when the next message is sent, the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
本发明实施例可以在接收到来自基站的指示空口上行链路处于拥塞状态的通知消息时,向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。通过这种实施方式,发送终端可以直接获取基站发送的通知消息,降低了反馈延迟,使得发生终端可以及时调整报文的发送速率,提高了数据传输的效率,有助于提高发送终端调整发送速率的准确性和效率。In the embodiment of the present invention, when a notification message indicating that the air interface uplink is in a congested state is received from a base station, the upper layer may send indication information of the congestion state information to the upper layer. The upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer. Through this implementation, the sending terminal can directly obtain the notification message sent by the base station, reducing the feedback delay, so that the generating terminal can adjust the sending rate of the message in time, improving the efficiency of data transmission, and helping the sending terminal to adjust the sending rate. Accuracy and efficiency.
本发明实施例中提供了一种基站,包括:处理器和存储器;所述存储器,用于存储程序;所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:An embodiment of the present invention provides a base station, including: a processor and a memory; the memory is used to store a program; the processor executes the program stored in the memory, and when the program is executed, the processor uses To perform the following steps:
检测发送终端和基站间的空口上行链路是否处于拥塞状态;Detect whether the air interface uplink between the sending terminal and the base station is in a congested state;
若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
进一步地,所述处理器向所述发送终端发送通知消息时,具体用于:Further, when the processor sends a notification message to the sending terminal, it is specifically configured to:
将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,Sending the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or,
将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或LCH的标识信息。The control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or LCH that is congested on the air interface uplink.
进一步地,所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率;和/或,用于通知所述发送终端记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。Further, the notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record that the sending terminal has sent but has not been sent within a specified interval. Confirm the received TCP sequence number.
进一步地,所述处理器向所述发送终端发送通知消息时,具体用于:Further, when the processor sends a notification message to the sending terminal, it is specifically configured to:
将携带上行拥塞标记的分组数据汇聚协议层的协议数据单元PDCP PDU作为通知消息发送给所述发送终端;其中,所述PDCP PDU中包含拥塞数据包的TCP序列号。The protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
进一步地,所述处理器向所述发送终端发送通知消息时,具体用于:Further, when the processor sends a notification message to the sending terminal, it is specifically configured to:
将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端;其中,所述通知消息还包含空口上行链路发生拥塞的DRB或LCH的标识信息。The radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
进一步地,所述通知消息用于通知所述发送终端调整发送速率,并在TCP层记录所述通知消息中包含的TCP信息。Further, the notification message is used to notify the sending terminal to adjust the sending rate, and the TCP information contained in the notification message is recorded at the TCP layer.
进一步地,所述处理器还用于:Further, the processor is also used for:
当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理或不作置位处理。When it is detected that the air interface uplink is in a congested state, the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not.
本发明实施例可以检查发送终端和基站间的空口上行链路是否处于拥塞状态,若空口上行链路处于拥塞状态,则可以向发送终端发送通知消息,用于通知所述发送终端所述空口上行链路发生拥塞。通过这种方式,可以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。The embodiment of the present invention can check whether the air interface uplink between the sending terminal and the base station is in a congested state. If the air interface uplink is in a congested state, a notification message can be sent to the sending terminal to notify the sending terminal of the air interface uplink The link is congested. In this way, the sending terminal can adjust the uplink data sending rate in time, reduce the feedback delay of the uplink data transmission of the cellular network, help improve the accuracy of the sending terminal's rate adjustment, and improve the efficiency of data transmission.
本发明实施例中提供了一种终端,包括:处理器和存储器;所述存储器,用于存储程序;所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:An embodiment of the present invention provides a terminal, including: a processor and a memory; the memory is used to store a program; the processor executes the program stored in the memory, and when the program is executed, the processor uses To perform the following steps:
接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;
向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
进一步地,所述向上层发送的指示信息包含所述通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。Further, the instruction information sent to the upper layer includes TCP information included in the notification message, wherein the TCP information includes a TCP sequence number.
进一步地,所述通知消息可是PDCP PDU、RLC PDU、MAC CE或RRC消息。Further, the notification message may be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
进一步地,所述MAC CE和RRC消息中包含空口上行链路发生拥塞的DRB或LCH的标识信息。Further, the MAC CE and RRC messages include identification information of the DRB or LCH that is congested on the air interface uplink.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文的发送速率。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
进一步地,所述处理器还用于:Further, the processor is also used for:
当接收到所述TCP报文的接收终端反馈的包含显式拥塞通知回应ECE置位的确认信号ACK包时,按照显示拥塞通知ECN机制响应处理。When the receiving terminal that receives the TCP message feeds back the ACK packet containing the acknowledgment signal containing the explicit congestion notification response ECE setting, the response processing is performed according to the display congestion notification ECN mechanism.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
进一步地,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文发送速率;和/或,所述向上层发送的指示信息还用于通知所述发送终端的TCP层记录所述指示信息中包含的TCP信息,其中,所述TCP信息包含TCP序列号。Further, the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or the instruction information sent to the upper layer is also used to notify the TCP of the sending terminal The layer records the TCP information included in the indication information, where the TCP information includes a TCP sequence number.
进一步地,所述处理器还用于:Further, the processor is also used for:
当接收到接收终端反馈的包含ECE置位的ACK包时,判断所述ACK包是否包含所述TCP层记录的TCP序列号;When receiving an ACK packet that includes the ECE setting feedback from the receiving terminal, determining whether the ACK packet includes the TCP sequence number recorded by the TCP layer;
若判断结果为是,则对TCP报文的发送速率不作调整。If the judgment result is yes, no adjustment is made to the sending rate of TCP packets.
进一步地,当发送下一个报文时,按照ECN机制将TCP头的拥塞窗口减少CWR位置位。Further, when the next message is sent, the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
本发明实施例可以在接收到来自基站的指示空口上行链路处于拥塞状态的通知消息时,向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。通过这种实施方式,发送终端可以直接接收到来自基站的指示空口上行链路处于拥塞状态的通知消息,以使发送终端及时调整上行数据发送速率,降低蜂窝网络上行数据传输的反馈延迟,有助于提高发送终端速率调整的准确性,提高数据传输的效率。In the embodiment of the present invention, when a notification message indicating that the air interface uplink is in a congested state is received from a base station, the upper layer may send indication information of the congestion state information to the upper layer. The upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer. Through this implementation manner, the sending terminal can directly receive the notification message from the base station indicating that the air interface uplink is in a congested state, so that the sending terminal can adjust the uplink data transmission rate in time, reduce the feedback delay of the cellular network uplink data transmission, and help To improve the accuracy of the rate adjustment of the sending terminal and improve the efficiency of data transmission.
在本发明的实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例中描述的蜂窝网络上行链路ECN机制的增强方法方式,在此不再赘述。In the embodiment of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the cellular network uplink described in the embodiment of the present invention is realized. The method of enhancing the link ECN mechanism will not be repeated here.
所述计算机可读存储介质可以是前述任一项实施例所述的设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述设备的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述设备所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), or a Secure Digital (SD) card. , Flash Card, etc. Further, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
在本发明的实施例中还提供了一种计算机程序产品,包括指令,当其在计算机上运行时,使得计算机执行本发明实施例中描述的蜂窝网络上行链路ECN机制的增强方法方式,在此不再赘述。In the embodiment of the present invention, a computer program product is also provided, including instructions, which when run on a computer, cause the computer to execute the enhanced method of the cellular network uplink ECN mechanism described in the embodiment of the present invention. This will not be repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中, 该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. The computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only some of the embodiments of the present invention, which of course cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (25)
- 一种蜂窝网络上行链路ECN机制的增强方法,其特征在于,应用于基站,所述方法包括:A method for enhancing the uplink ECN mechanism of a cellular network is characterized in that it is applied to a base station, and the method includes:检测发送终端和基站间的空口上行链路是否处于拥塞状态;Detect whether the air interface uplink between the sending terminal and the base station is in a congested state;若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- 根据权利要求1所述的方法,其特征在于,所述向所述发送终端发送通知消息,包括:The method according to claim 1, wherein the sending a notification message to the sending terminal comprises:将携带上行拥塞标记的无线链路控制层的控制协议数据单元RLC control PDU作为通知消息发送给所述发送终端;或者,Sending the control protocol data unit RLC control PDU of the radio link control layer carrying the uplink congestion flag as a notification message to the sending terminal; or,将携带上行拥塞标记的媒体访问控制层的控制元素MAC CE作为通知消息发送给所述发送终端,其中,MAC CE包含空口上行链路发生拥塞的数据无线承载DRB或逻辑信道LCH的标识信息。The control element MAC CE of the media access control layer carrying the uplink congestion flag is sent to the sending terminal as a notification message, where the MAC CE contains the identification information of the data radio bearer DRB or logical channel LCH that is congested on the air interface uplink.
- 根据权利要求2所述的方法,其特征在于,The method of claim 2, wherein:所述通知消息用于通知所述发送终端通过传输控制协议TCP层调整发送速率;和/或,用于通知所述发送终端记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。The notification message is used to notify the sending terminal to adjust the sending rate through the TCP layer of the Transmission Control Protocol; and/or to notify the sending terminal to record the information that the sending terminal has sent within a specified interval but has not been confirmed to receive TCP sequence number.
- 根据权利要求1所述的方法,其特征在于,所述向所述发送终端发送通知消息,包括:The method according to claim 1, wherein the sending a notification message to the sending terminal comprises:将携带上行拥塞标记的分组数据汇聚协议层的协议数据单元PDCP PDU作为通知消息发送给所述发送终端;其中,所述PDCP PDU中包含拥塞数据包的TCP序列号。The protocol data unit PDCP PDU of the packet data convergence protocol layer carrying the uplink congestion flag is sent to the sending terminal as a notification message; wherein, the PDCP PDU includes the TCP sequence number of the congested data packet.
- 根据权利要求1所述的方法,其特征在于,其特征在于,所述向所述发送终端发送通知消息,包括:The method according to claim 1, wherein the sending a notification message to the sending terminal comprises:将携带了上行拥塞标记和目标TCP头信息的无线资源控制RRC消息作为通知消息发送给所述发送终端;其中,所述通知消息还包含空口上行链路发生拥塞的DRB或LCH的标识信息。The radio resource control RRC message carrying the uplink congestion flag and target TCP header information is sent to the sending terminal as a notification message; wherein the notification message also includes identification information of the DRB or LCH that is congested on the air interface uplink.
- 根据权利要求4或5所述的方法,其特征在于,The method according to claim 4 or 5, wherein:所述通知消息用于通知所述发送终端调整发送速率,并在TCP层记录所述通知消息中 包含的TCP信息。The notification message is used to notify the sending terminal to adjust the sending rate, and to record the TCP information contained in the notification message at the TCP layer.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:当检测到所述空口上行链路处于拥塞状态时,对分组数据汇聚协议层的服务数据单元PDCP SDU的显示拥塞通知ECN位作置位处理或不作置位处理。When it is detected that the air interface uplink is in a congested state, the display congestion notification ECN bit of the service data unit PDCP SDU of the packet data convergence protocol layer is set or not processed.
- 一种蜂窝网络上行链路ECN机制的增强方法,其特征在于,应用于发送终端,所述方法包括:A method for enhancing the uplink ECN mechanism of a cellular network is characterized in that it is applied to a sending terminal, and the method includes:接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:所述向上层发送的指示信息包含所述通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。The instruction information sent to the upper layer includes TCP information included in the notification message, where the TCP information includes a TCP sequence number.
- 根据权利要求8所述的方法,其特征在于,所述通知消息可是PDCP PDU、RLC PDU、MAC CE或RRC消息。The method according to claim 8, wherein the notification message can be a PDCP PDU, RLC PDU, MAC CE, or RRC message.
- 根据权利要求10所述的方法,其特征在于,所述MAC CE和RRC消息中包含空口上行链路发生拥塞的DRB或LCH的标识信息。The method according to claim 10, wherein the MAC CE and RRC messages contain identification information of the DRB or LCH that is congested on the air interface uplink.
- 根据权利要求8所述的方法,其特征在于,所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文的发送速率。The method according to claim 8, wherein the instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets.
- 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, wherein the method further comprises:当接收到所述TCP报文的接收终端反馈的包含显式拥塞通知回应ECE置位的确认信号ACK包时,按照显示拥塞通知ECN机制响应处理。When the receiving terminal that receives the TCP message feeds back the ACK packet containing the acknowledgment signal containing the explicit congestion notification response ECE setting, the response processing is performed according to the display congestion notification ECN mechanism.
- 根据权利要求12所述的方法,其特征在于,The method of claim 12, wherein:所述向上层发送的指示信息用于通知所述发送终端的TCP层记录所述发送终端在指定区间范围内已发送但未被确认接收的TCP序列号。The instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to record the TCP sequence number that the sending terminal has sent but has not been confirmed to receive within a specified interval.
- 根据权利要求9或12所述的方法,其特征在于,The method according to claim 9 or 12, wherein:所述向上层发送的指示信息用于通知所述发送终端的TCP层调整TCP报文发送速率;和/或,The instruction information sent to the upper layer is used to notify the TCP layer of the sending terminal to adjust the sending rate of TCP packets; and/or,所述向上层发送的指示信息还用于通知所述发送终端的TCP层记录所述指示信息中包含的TCP信息,其中,所述TCP信息包含TCP序列号。The instruction information sent to the upper layer is also used to notify the TCP layer of the sending terminal to record the TCP information included in the instruction information, where the TCP information includes a TCP sequence number.
- 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:The method according to claim 14 or 15, wherein the method further comprises:当接收到接收终端反馈的包含ECE置位的ACK包时,判断所述ACK包是否包含所述TCP层记录的TCP序列号;When receiving an ACK packet that includes the ECE setting feedback from the receiving terminal, determining whether the ACK packet includes the TCP sequence number recorded by the TCP layer;若判断结果为是,则对TCP报文的发送速率不作调整。If the judgment result is yes, no adjustment is made to the sending rate of TCP packets.
- 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method according to claim 16, wherein the method further comprises:当发送下一个报文时,按照ECN机制将TCP头的拥塞窗口减少CWR位置位。When the next message is sent, the congestion window of the TCP header is reduced according to the ECN mechanism, and the CWR bit is set.
- 一种蜂窝网络上行链路增强ECN机制的传输设备,其特征在于,应用于基站,所述设备包括:处理器和存储器,A cellular network uplink enhanced ECN mechanism transmission device, which is characterized in that it is applied to a base station, and the device includes a processor and a memory,所述存储器,用于存储程序;The memory is used to store programs;所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:The processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:检测发送终端和基站间的空口上行链路是否处于拥塞状态;Detect whether the air interface uplink between the sending terminal and the base station is in a congested state;若所述空口上行链路处于拥塞状态,则向所述发送终端发送通知消息,其中,所述通知消息用于通知所述发送终端所述空口上行链路发生拥塞。If the air interface uplink is in a congested state, sending a notification message to the sending terminal, where the notification message is used to notify the sending terminal that the air interface uplink is congested.
- 一种蜂窝网络上行链路增强ECN机制的传输设备,其特征在于,应用于基站,包括:第一处理模块和第一通信模块,A cellular network uplink enhanced ECN mechanism transmission device, which is characterized in that it is applied to a base station and includes: a first processing module and a first communication module,所述第一处理模块,用于生成所述通知消息,其中,所述通知消息包含所述发送终端和基站间的空口上行链路的拥塞状态信息;The first processing module is configured to generate the notification message, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;所述第一通信模块,用于将所述处理模块生成的通知消息发送至所述发送终端。The first communication module is configured to send the notification message generated by the processing module to the sending terminal.
- 一种蜂窝网络上行链路增强ECN机制的传输设备,其特征在于,应用于基站,用于实现权利要求1-7任一项所述的方法。A transmission device with enhanced ECN mechanism on a cellular network uplink, which is characterized by being applied to a base station and used to implement the method according to any one of claims 1-7.
- 一种蜂窝网络上行链路增强ECN机制的传输设备,其特征在于,应用于发送终端,所述设备包括:处理器和存储器;A cellular network uplink enhanced ECN mechanism transmission device, which is characterized in that it is applied to a sending terminal, and the device includes: a processor and a memory;所述存储器,用于存储程序;The memory is used to store programs;所述处理器,执行所述存储器存储的程序,当程序被执行时,所述处理器用于执行如下步骤:The processor executes the program stored in the memory, and when the program is executed, the processor is configured to execute the following steps:接收来自基站的指示空口上行链路处于拥塞状态的通知消息;Receiving a notification message from the base station indicating that the air interface uplink is in a congested state;向上层发送拥塞状态信息的指示信息,所述上层是指网际协议IP层或传输控制协议TCP层。The indication information of the congestion status information is sent to the upper layer, and the upper layer refers to the Internet Protocol IP layer or the Transmission Control Protocol TCP layer.
- 一种蜂窝网络上行链路增强ECN机制的传输设备,其特征在于,应用于发送终端,所述设备包括:第二通信模块和第二处理模块,A cellular network uplink enhanced ECN mechanism transmission device, which is characterized in that it is applied to a sending terminal, and the device includes: a second communication module and a second processing module,所述第二通信模块,用于接收所述基站发送的所述通知消息,其中,所述通知消息包含所述发送终端和基站间的空口上行链路的拥塞状态信息;The second communication module is configured to receive the notification message sent by the base station, where the notification message includes congestion status information of the air interface uplink between the sending terminal and the base station;所述第二通信模块,还用于将所述处理模块生成的所述指示信息发送至上层,所述上层是指IP或TCP层;The second communication module is further configured to send the instruction information generated by the processing module to an upper layer, where the upper layer refers to an IP or TCP layer;所述第二处理模块,用于生成指示信息,其中,所述指示信息包含所述来自基站的指示空口上行链路处于拥塞状态的通知消息内包含的TCP信息,其中,所述TCP信息包含TCP序列号。The second processing module is configured to generate indication information, where the indication information includes TCP information contained in the notification message from the base station indicating that the air interface uplink is in a congested state, wherein the TCP information includes TCP serial number.
- 一种蜂窝网络上行链路增强ECN机制的传输设备,其特征在于,应用于发送终端,用于实现权利要求8-17任一项所述的方法。A transmission device with enhanced ECN mechanism on a cellular network uplink, which is characterized by being applied to a sending terminal and used to implement the method according to any one of claims 8-17.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至17任一项所述方法。A computer-readable storage medium storing a computer program, wherein the computer program implements the method according to any one of claims 1 to 17 when the computer program is executed by a processor.
- 一种计算机程序产品,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行权利要求1-17任一项所述的方法。A computer program product, characterized by comprising instructions, which when run on a computer, causes the computer to execute the method according to any one of claims 1-17.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911372495.X | 2019-12-24 | ||
CN201911372495.XA CN111065120B (en) | 2019-12-24 | 2019-12-24 | Method, device and medium for enhancing cellular network uplink ECN mechanism |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021128913A1 true WO2021128913A1 (en) | 2021-07-01 |
Family
ID=70302761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/111772 WO2021128913A1 (en) | 2019-12-24 | 2020-08-27 | Enhancement method of cellular network uplink ecn mechanism, device and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111065120B (en) |
WO (1) | WO2021128913A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220046647A1 (en) * | 2020-08-10 | 2022-02-10 | International Business Machines Corporation | Logical channel management in a communication system |
WO2024060303A1 (en) * | 2022-09-23 | 2024-03-28 | Apple Inc. | Technologies for congestion detection in wireless networks |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111065120B (en) * | 2019-12-24 | 2022-02-11 | 展讯通信(上海)有限公司 | Method, device and medium for enhancing cellular network uplink ECN mechanism |
CN113872726B (en) * | 2020-06-30 | 2023-03-03 | 华为技术有限公司 | Method, device and system for adjusting sending rate in near field communication scene |
CN116436862A (en) * | 2021-12-31 | 2023-07-14 | 华为技术有限公司 | Communication method and communication device |
WO2024060302A1 (en) * | 2022-09-23 | 2024-03-28 | Apple Inc. | Technologies for congestion signaling in wireless networks |
CN118316878A (en) * | 2023-01-09 | 2024-07-09 | 中国移动通信有限公司研究院 | Network congestion control method and device and communication equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1405994A (en) * | 2002-11-08 | 2003-03-26 | 清华大学 | Transmission agreement special for TP-S satellite channel |
CN101414957A (en) * | 2007-10-17 | 2009-04-22 | 北京中电华大电子设计有限责任公司 | Buffering queue management method for wireless LAN |
CN101997644A (en) * | 2009-08-24 | 2011-03-30 | 华为技术有限公司 | Speed adjusting method, system and coding scheme selection method and system thereof |
CN102104552A (en) * | 2011-04-02 | 2011-06-22 | 杭州华三通信技术有限公司 | Message control method and device based on ECN (Explicit Congestion Notification) mechanism |
CN111065120A (en) * | 2019-12-24 | 2020-04-24 | 展讯通信(上海)有限公司 | Method, device and medium for enhancing cellular network uplink ECN mechanism |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9584416B2 (en) * | 2009-06-08 | 2017-02-28 | Qualcomm Incorporated | Systems and methods to provide flow control for mobile devices |
WO2011025438A1 (en) * | 2009-08-25 | 2011-03-03 | Telefonaktiebolaget L M Ericsson (Publ) | Using the ecn mechanism to signal congestion directly to the base station |
US8693320B2 (en) * | 2010-01-11 | 2014-04-08 | Research In Motion Limited | Congestion level indication with explicit congestion notification in communication systems |
US9143457B2 (en) * | 2010-10-06 | 2015-09-22 | Qualcomm Incorporated | Methods and apparatus for ECN receiver driven congestion control |
US20130194937A1 (en) * | 2012-01-31 | 2013-08-01 | Alcatel-Lucent Usa Inc. | Method and apparatus for providing intelligent codec rate adaptation for wireless users |
KR20140118659A (en) * | 2013-03-29 | 2014-10-08 | 삼성전자주식회사 | Method and apparatus for controlling congestion in wireless communication system |
US10154431B2 (en) * | 2016-09-27 | 2018-12-11 | Verizon Patent And Licensing Inc. | Congestion mitigation based on user device and base station condition information |
CN108093433A (en) * | 2016-11-21 | 2018-05-29 | 中国移动通信有限公司研究院 | Wireless network congestion processing method and processing device |
CN108322402B (en) * | 2017-01-18 | 2022-05-10 | 华为技术有限公司 | Message processing method, device and system |
CN107820274B (en) * | 2017-10-18 | 2021-04-06 | 中国联合网络通信集团有限公司 | Mobile network UDP (user Datagram protocol) service congestion processing method and base station |
US11057904B2 (en) * | 2017-12-06 | 2021-07-06 | T-Mobile Usa, Inc. | Prioritization of mobile terminating radio resource control connections |
CN108965322B (en) * | 2018-08-14 | 2020-07-17 | 清华大学 | Spatial network transmission control protocol |
-
2019
- 2019-12-24 CN CN201911372495.XA patent/CN111065120B/en active Active
-
2020
- 2020-08-27 WO PCT/CN2020/111772 patent/WO2021128913A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1405994A (en) * | 2002-11-08 | 2003-03-26 | 清华大学 | Transmission agreement special for TP-S satellite channel |
CN101414957A (en) * | 2007-10-17 | 2009-04-22 | 北京中电华大电子设计有限责任公司 | Buffering queue management method for wireless LAN |
CN101997644A (en) * | 2009-08-24 | 2011-03-30 | 华为技术有限公司 | Speed adjusting method, system and coding scheme selection method and system thereof |
CN102104552A (en) * | 2011-04-02 | 2011-06-22 | 杭州华三通信技术有限公司 | Message control method and device based on ECN (Explicit Congestion Notification) mechanism |
CN111065120A (en) * | 2019-12-24 | 2020-04-24 | 展讯通信(上海)有限公司 | Method, device and medium for enhancing cellular network uplink ECN mechanism |
Non-Patent Citations (1)
Title |
---|
ERICSSON, NOKIA, NOKIA SHANGHAI BELL, VODAFONE: "Efficient support of ECN in NR,", 3GPP DRAFT; R2-1709469 - EFFICIENT SUPPORT OF ECN IN NR, vol. RAN WG2, 20 August 2017 (2017-08-20), Berlin, Germany, pages 1 - 17, XP051319198 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220046647A1 (en) * | 2020-08-10 | 2022-02-10 | International Business Machines Corporation | Logical channel management in a communication system |
US11576181B2 (en) * | 2020-08-10 | 2023-02-07 | International Business Machines Corporation | Logical channel management in a communication system |
WO2024060303A1 (en) * | 2022-09-23 | 2024-03-28 | Apple Inc. | Technologies for congestion detection in wireless networks |
Also Published As
Publication number | Publication date |
---|---|
CN111065120B (en) | 2022-02-11 |
CN111065120A (en) | 2020-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021128913A1 (en) | Enhancement method of cellular network uplink ecn mechanism, device and medium | |
US11133897B2 (en) | Data transmission method and apparatus | |
CN112335192B (en) | Efficient buffer management in multi-hop data forwarding | |
US10771595B2 (en) | Packet sending method and apparatus, chip, and terminal | |
EP3603322B1 (en) | Handling of pdcp duplication and data recovery in new radio access technology | |
US9900798B2 (en) | Polling and reporting mechanism | |
US10602400B2 (en) | Enhancement of PDCP status report | |
US11219091B2 (en) | Data receiving status reporting method and apparatus | |
WO2018028391A1 (en) | Method and apparatus for performing retransmission processing | |
JP2007089176A (en) | Method and apparatus for processing control pdu in re-establishing transmitter side in radio communication system | |
US20190223256A1 (en) | Data transmission method, network device, and terminal device | |
WO2020147453A1 (en) | Data transmission method and related apparatus | |
WO2019101054A1 (en) | Aggregation rate control method, device and system | |
US10932159B2 (en) | Data transmission method, data receiving device, and data sending device | |
WO2021244176A1 (en) | User plane data processing method, and base station | |
KR20140097610A (en) | Method and apparatus for sending radio link control status report for sending in a communication system based on a multi-radio access technologies | |
WO2022057825A1 (en) | Aggregation configuration method and apparatus, and terminal | |
WO2019080906A1 (en) | Lwaap-based data transmission method, device and storage medium | |
WO2016161594A1 (en) | Data transmission method and apparatus | |
WO2023125310A1 (en) | Communication method and communication apparatus | |
JP4896073B2 (en) | Method and apparatus for polling data transmission status in a wireless communication system | |
WO2022121876A1 (en) | Method and apparatus for transmitting multicast broadcast service in acknowledged mode, and device and storage medium | |
KR20200097736A (en) | Wireless communication method and device | |
WO2018202204A1 (en) | Reflective service flow characteristic-based communication method and device | |
WO2024000110A1 (en) | Cell handover method and apparatus, terminal device, and network device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20906724 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20906724 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20906724 Country of ref document: EP Kind code of ref document: A1 |