WO2020207044A1 - Network transmission rate control method, apparatus, computer device and storage medium - Google Patents

Network transmission rate control method, apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2020207044A1
WO2020207044A1 PCT/CN2019/124700 CN2019124700W WO2020207044A1 WO 2020207044 A1 WO2020207044 A1 WO 2020207044A1 CN 2019124700 W CN2019124700 W CN 2019124700W WO 2020207044 A1 WO2020207044 A1 WO 2020207044A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
rlc layer
buffer space
downlink data
rtt
Prior art date
Application number
PCT/CN2019/124700
Other languages
French (fr)
Chinese (zh)
Inventor
郑自永
Original Assignee
京信通信系统(中国)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京信通信系统(中国)有限公司 filed Critical 京信通信系统(中国)有限公司
Publication of WO2020207044A1 publication Critical patent/WO2020207044A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate

Definitions

  • This application relates to the field of mobile communication technology, and in particular to a method, device, computer equipment, and storage medium for controlling network transmission rate.
  • the wireless interface protocol Long Term Evolution, LTE
  • the data transmission rate can be controlled through the radio link control layer (Radio Link Control, RLC).
  • RLC Radio Link Control
  • the RLC layer In the data transmission process of the RLC layer, there is an important link, that is, sending data and receiving status reports, forming a closed-loop guaranteed transmission mechanism, that is, the RLC AM mode.
  • the RLC layer In the RLC AM mode, the RLC layer usually adopts a method of discarding data packets or buffering data packets to control the rate of downlink sending data.
  • an embodiment of the present application provides a method for controlling a network transmission rate, and the method includes:
  • the next downlink queue buffer space matches the maximum expected rate value.
  • an embodiment of the present application also provides a network transmission rate control device, which includes:
  • the acquisition module is used to acquire the maximum expected rate value of the network and the RTT of the RLC layer;
  • the determination module is used to determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT;
  • the control module is used to adjust the current downlink queue buffer space of the RLC layer according to the bandwidth and delay product to obtain the next downlink queue buffer space of the RLC layer, and the next downlink queue buffer space matches the maximum expected rate value.
  • an embodiment of the present application further provides a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the computer program described in any one of the embodiments of the first aspect is implemented Control method of network transmission rate.
  • an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the network transmission rate control according to any one of the embodiments of the first aspect is realized method.
  • the method, device, computer equipment and storage medium for controlling the network transmission rate obtained by the embodiments of the present application obtain the maximum expected rate value of the network and the RTT of the RLC layer, and further obtain the product of the maximum expected rate value and the RTT to determine Bandwidth delay product, and adjust the current downlink queue buffer space of the RLC layer according to the bandwidth delay product to obtain the next downlink queue buffer space of the RLC layer, where the downlink queue buffer space matches the maximum expected rate value.
  • the downstream queue buffer space of the RLC layer is dynamically adjusted according to the change of the bandwidth and delay product, so that the adjusted downstream queue buffer space of the RLC layer always matches the maximum expected rate value of the network.
  • Using the downlink queue buffer space of the RLC layer to store data can effectively control the data transmission rate on the RLC layer, thereby effectively controlling the transmission rate of the network where the base station is located, so that the network transmission rate can be stabilized at the maximum expected rate value, which greatly improves the network Reliability of transmission.
  • the downlink queue buffer space always matches the maximum expected rate value, so there is no extra buffer space, which greatly reduces the resource overhead occupied by the downlink queue buffer space of the RLC layer, and greatly improves the network system where the base station is located. Transmission performance.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment
  • FIG. 2 is a flowchart of a method for controlling network transmission rate according to an embodiment
  • FIG. 3 is a flowchart of a method for obtaining RTT according to an embodiment
  • FIG. 4 is a flowchart of an implementation manner of S202 in the embodiment of FIG. 3;
  • FIG. 4A is a schematic diagram of determining RTT according to an embodiment
  • FIG. 5 is a flowchart of a method for controlling network transmission rate according to an embodiment
  • Fig. 6 is a flowchart of a method for controlling network transmission rate according to an embodiment
  • FIG. 6A is a schematic diagram of a network transmission process provided by an embodiment
  • FIG. 7 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment
  • FIG. 8 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment
  • FIG. 9 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment
  • FIG. 10 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment
  • FIG. 11 is a schematic structural diagram of a network transmission rate control device provided by an embodiment.
  • FIG. 12 is a schematic diagram of the internal structure of a computer according to an embodiment.
  • the method for controlling the network transmission rate provided in this application can be applied to the application scenario shown in FIG. 1, in which the base station and the terminal are connected to each other through the network, which can be a wired network connection or a wireless connection. Network connection.
  • the base station is used to send downlink messages to the terminal
  • the terminal is used to send uplink messages to the base station.
  • the communication protocol between the base station and the terminal can be used in a 2G/3G/4G/5G network. It should be noted here that the LTE system shown in Figure 1 is only an example, and this embodiment is not limited to this. , As long as the RLC protocol exists, it conforms to the application scenario where this solution is located, and is within the protection scope of this application.
  • the physical layer Physical Layer, PHY
  • the Media Access Control layer Media Access Control, MAC
  • the Radio Link Control layer Radio Link Control, RLC
  • the packet data convergence protocol layer Packet Data Convergence Protocol, PDCP
  • GPRS Tunneling Protocol GPRS Tunneling Protocol, GTP
  • base stations and terminals can implement message transmission and communication based on the network protocol architecture.
  • the foregoing terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, which are not limited in this embodiment.
  • the execution body of the method for controlling network transmission rate is a base station, where the execution body may also be a computer device applying the above-mentioned network transmission protocol architecture, or a communication device, wherein the communication
  • the device can realize part or all of the method for controlling the network transmission rate through software, hardware, or a combination of software and hardware.
  • FIG. 2 is a flowchart of a method for controlling network transmission rate according to an embodiment.
  • the executor of this embodiment is a base station, and this embodiment relates to a specific process for the base station to control the network transmission rate. As shown in Figure 2, the method includes:
  • the maximum expected rate value can be pre-defined by the user according to actual application requirements, and is used to indicate the transmission rate that the user desires to match the network transmission performance.
  • Round-Trip Time represents the round-trip time of communication between the base station and the terminal in network transmission.
  • the base station sends information to the terminal, and the terminal then feeds the message back to the base station.
  • the time is RTT. It can be understood from the above description that the RTT of the RLC layer means the time it takes for the base station to deliver the downlink data packet of the RLC layer to the terminal, and the terminal feeds back the uplink response message to the RLC layer of the base station.
  • the base station can obtain the maximum expected rate value of the network through the information carrying the rate value input by the user; optionally, the base station can also obtain the maximum expected rate value of the network from a memory pre-stored with the maximum expected rate value. Rate value; Optionally, the base station may also obtain the maximum expected rate value of the network from a database pre-recorded with the maximum expected rate value, which is not limited in this embodiment.
  • the base station can monitor the time when the RLC layer sends the downlink data packet and the time when the RLC layer receives the uplink response message, and further obtain the RTT of the RLC layer according to the two monitored times.
  • S102 Determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT.
  • This embodiment relates to the method for determining the bandwidth-delay product.
  • the base station when the base station obtains the maximum expected rate value of the network and the RTT of the RLC layer, the product of the maximum expected rate value and the RTT can be directly used as the bandwidth. Delay product.
  • the base station can also perform correction processing to increase the weight of RTT in combination with actual application conditions, and further use the product of the corrected RTT and the maximum expected rate value as the bandwidth delay product.
  • the downlink queue buffer space is set in the RLC layer of the base station to buffer data packets transmitted by the upper layer of the RLC layer (for example, the PDCP layer), so that the RLC layer performs corresponding RLC layer processing (for example, Concatenation or encapsulation processing), and buffer the data packets to be transmitted on the RLC layer, so that the RLC layer sends the data packets to the lower layer (for example, the MAC layer).
  • the size of the buffer space of the aforementioned downlink queue can be initialized and defined, and the specific corresponding space size is determined according to actual application conditions. The size of the downlink queue buffer space at different times can be different or the same.
  • the base station when the base station obtains the bandwidth-delay product at the current time of the network, it can further adjust the RLC layer's corresponding downlink queue buffer space at the current time according to the bandwidth-delay product, and The adjusted downstream queue buffer space is used as the downstream queue buffer space of the RLC layer at the next moment, so that in the network transmission process at the next moment, the data packets obtained by the RLC layer from the upper layer can be buffered in the adjusted downstream queue buffer space
  • the network transmission rate at the next moment can match the adjusted downlink queue buffer space.
  • the downlink queue buffer space at the next moment matches the maximum expected rate value. Therefore, the next The network transmission rate at the moment can be infinitely close to the maximum expected rate value.
  • the method for controlling the network transmission rate provided by this embodiment is to obtain the maximum expected rate value of the network and the RTT of the RLC layer, and further obtain the product of the maximum expected rate value and the RTT to determine the bandwidth delay product, and according to the bandwidth
  • the delay product adjusts the current downlink queue buffer space of the RLC layer to obtain the next downlink queue buffer space of the RLC layer, where the downlink queue buffer space matches the maximum expected rate value.
  • the downstream queue buffer space of the RLC layer is dynamically adjusted according to the change of the bandwidth and delay product, the adjusted downstream queue buffer space of the RLC layer always matches the maximum expected rate value of the network.
  • the downlink queue buffer space of the RLC layer When using the downlink queue buffer space of the RLC layer to store data, it can effectively control the data transmission rate on the RLC layer, thereby effectively controlling the transmission rate of the network where the base station is located, so that the network transmission rate can be stabilized at the maximum expected rate value, which greatly improves Reliability of network transmission. And the downlink queue buffer space always matches the maximum expected rate value, so there is no extra buffer space, which greatly reduces the resource overhead occupied by the downlink queue buffer space of the RLC layer, and greatly improves the network system where the base station is located. Transmission performance.
  • this application also provides a method for obtaining RTT. As shown in FIG. 3, the method specifically includes:
  • S201 Receive a status report sent by a terminal, and obtain a receiving time of the received status report; wherein, the status report is a status report for the issued downlink data packet of the RLC layer.
  • the status report is used to describe whether the terminal successfully receives the message sent by the base station.
  • the terminal will send a corresponding message to the base station after receiving the message. Status report so that the base station knows whether the terminal has successfully received the message sent above.
  • the base station delivers the downlink data packet of the RLC layer to the terminal.
  • the terminal After receiving the downlink data packet, the terminal sends a status report associated with the downlink data packet to the base station to inform the base station of the reception of the aforementioned downlink data packet , So that the base station can perform subsequent work after receiving the status report.
  • the base station can record the time of receiving the status report while receiving the status report for later use.
  • S202 Determine the RTT according to the sending time and the receiving time of the downlink data packet.
  • the base station When the base station obtains the sending time of the downlink data packet of the RLC layer and the receiving time of the corresponding status report, it can further calculate the sending time and the receiving time directly to obtain the RTT; optionally, it can also further download The sending time or receiving time is corrected, and the corrected sending time and receiving time are calculated to obtain the RTT.
  • determining the RTT according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response includes: according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response Difference, determine RTT.
  • This embodiment relates to a specific method for determining RTT, that is, directly performing difference calculation between the sending time and the receiving time to obtain the RTT.
  • the above embodiment determines the RTT based on the receiving time of the status report and the sending time of sending the downlink data packet of the RLC layer.
  • This method of obtaining RTT makes full use of the characteristics of the status report transmission mechanism in the RLC layer, so it can be controlled by the base station
  • a more accurate RTT is provided, so that the bandwidth-delay product determined according to RTT is relatively accurate, so that the downstream queue buffer space of the RLC layer is adjusted according to the bandwidth-delay product to match the maximum transmission rate value.
  • FIG. 4 is a flowchart of an implementation manner of S202 in the embodiment in FIG. 3. This embodiment relates to a specific process for the base station to obtain the RTT of the RLC layer. As shown in Figure 4, the process includes:
  • the identification of the response response is used to characterize the confirmed downlink data packet of the RLC layer, and it can be represented by numbers, letters, sequence numbers, etc.
  • the identification of the response response can be further extracted from the status report, so as to learn the status that the downlink data packet of the RLC layer is confirmed to be received according to the identification of the response response.
  • S302 Determine whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the preset local table, if it exists, execute S303, and if it does not exist, execute S305.
  • the local table records the corresponding relationship between the identifier of the response response and the identifier of the downlink data packet, and the corresponding relationship can be defined by the base station in advance.
  • the local table also records the identifier of the downlink data packet and the corresponding downlink data packet.
  • the corresponding relationship between the sending moments, and the corresponding relationship can be recorded in real time by the base station during network transmission.
  • the above-mentioned local table can be stored in the database of the base station or in the memory of the base station. This embodiment is not limited, as long as it can meet the requirements of the base station to write and read data at any time.
  • the base station when it obtains the identifier of the response response from the status report, it can further query the pre-stored local table, according to the difference between the identifier of the response response recorded in the local table and the identifier of the downlink data packet. To determine whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the local table, if it exists, S303 is specifically executed, and if it does not exist, S305 is specifically executed.
  • S303 Determine from the local table whether there is a corresponding relationship between the downlink data packet corresponding to the response response and the delivery time, if there is a corresponding relationship, perform S304, if there is no corresponding relationship, perform S305.
  • This embodiment relates to an application scenario where there is an identifier of a downlink data packet corresponding to the identifier of the response response in the local table.
  • the base station performs the next step of judgment work, that is, according to the downlink data packet recorded in the local table.
  • the corresponding relationship between the identifier and the sending time of the corresponding downlink data packet determine whether there is a delivery time corresponding to the identifier of the downlink data packet in the local table, if it exists, perform S304 specifically, if there is no corresponding relationship, perform S305 .
  • S304 Determine the RTT according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response.
  • This embodiment relates to an application scenario where there is a delivery time corresponding to the identifier of a downlink data packet in the local table.
  • the base station determines the RTT according to the delivery time of the downlink data packet and the previously recorded reception time of the status report .
  • the base station sends the downlink data packet of the RLC layer, records the downlink time of transmission (T_D in the figure), the base station receives the status report of the RLC layer, and records the receiving time of the receiving status report (as shown in the figure) T_P), and finally determine the difference between the downlink time (T_D) and the receiving time (T_P) as RTT.
  • This embodiment relates to an application scenario when the identifier of a downlink data packet corresponding to the identifier of the response response does not exist in the local table, or an application scenario where the delivery time corresponding to the identifier of the downlink data packet does not exist in the local table.
  • the base station cannot normally obtain the RTT of the RLC layer, and thus cannot obtain the bandwidth and delay product of the network, and cannot adjust the downlink queue buffer space of the RLC layer. Therefore, the base station will stop adjusting the RLC. The operation of the downstream queue buffer space at the current time of the layer.
  • the method for controlling the network transmission rate provided by the present application further includes: deleting the identifier of the downlink data packet corresponding to the identifier of the response response recorded in the local table and the identifier of the response response Correspondence between the corresponding downlink data packet delivery moments.
  • This embodiment relates to the processing of the local table after the base station obtains the RTT.
  • the base station uses the data recorded on the local table to find the downlink data packet corresponding to the response identifier.
  • the corresponding relationship can be further deleted to reduce the space occupied by the data, thereby improving the space utilization of the base station memory or database , And correspondingly improve the operating performance of the base station.
  • FIG. 5 is a flowchart of a method for controlling network transmission rate provided by an embodiment. This embodiment relates to the specific work of the base station before receiving the status report. As shown in FIG. 5, the work include:
  • the downlink data packet to be sent refers to the corresponding data packet when the RLC layer of the base station sends the data packet to the MAC layer.
  • the RLC layer when the RLC layer sends data packets to the MAC layer at the current moment, it can sequentially obtain the downlink data packets to be sent from the downlink queue buffer space of the RLC layer, and then send the downlink data to be sent to the MAC layer in sequence package.
  • S402 Send a downlink data packet to be sent, and record a delivery time of the downlink data packet to be sent.
  • the base station can record the time when the downlink data packet is sent in the record table, that is, the time when the downlink data packet is sent, and store the record table recording the sending time in the memory Or in the database for later use.
  • S403 Store the correspondence between the delivery time of the downlink data packet to be sent and the identifier of the downlink data packet to be sent in a local table.
  • the base station After the base station records the delivery time of the downlink data packet, it can further obtain the identifier of the downlink data packet, and then make a one-to-one correspondence between the identifier of the downlink data packet and the previously recorded delivery time, and then the corresponding The relationship is recorded in the local table. It should be noted that the recording involved in the above process can be implemented by the base station writing data in the memory or the database, which belongs to the prior art, and there is no need to explain it too much.
  • the present application also provides a method for adjusting the current downlink queue buffer space of the RLC layer according to the bandwidth delay product.
  • the method is: determining the bandwidth delay product as the downlink queue buffer space at the next moment .
  • the base station When the base station obtains the bandwidth delay product at the current moment according to the RTT of the RLC layer and the maximum expected rate value at the current moment, it can further adjust the current downlink queue buffer space according to the bandwidth delay product, and change the adjusted downlink queue
  • the buffer space is used as the downlink queue buffer space at the next moment, so that when the downlink data packet at the next moment reaches the downlink queue buffer space, the transmission rate of the downlink data packet at the next moment can be controlled, even if the network transmission rate can be steadily close The maximum expected rate value.
  • the present application also provides a method for controlling network transmission rate.
  • the execution subject of this embodiment is a base station. As shown in FIG. 6, the method specifically includes:
  • S501 Send a downlink data packet of the RLC layer, and record the identifier SN of the downlink data packet and the sending time T_D.
  • S503 Receive the status report of the RLC layer, and record the receiving time T_P of the status report.
  • S505 Inquire whether there is an SN associated with SN1 in the above-mentioned local table according to SN1, if it exists, execute S506, and if it does not exist, execute S511.
  • S506 Determine from the local table whether there is a correspondence between SN and T_D, if it exists, execute S507, and if it does not exist, execute S511.
  • S509. Determine the product of the maximum expected rate value and the RTT as the bandwidth and delay product.
  • S511 Stop adjusting the buffer space of the downlink queue at the current moment of the RLC layer.
  • the network transmission process is briefly described: refer to the schematic diagram of the network transmission process shown in FIG. 6A, in the network transmission process, the base station sends the RLC layer At the same time, the detection and adjustment module detects and records the delivery time of the downlink data packet, and then receives the status report of the RLC layer. The detection and adjustment module detects and records the receiving time of the receiving status report, so that the base station can follow the record
  • the RTT is determined by the difference between the sending time and the receiving time, and then the bandwidth delay product is determined according to the RTT and the maximum expected rate value.
  • the base station then adjusts the RLC layer's downlink queue buffer space according to the bandwidth delay product through the detection and adjustment module to Match the downlink queue buffer space of the RLC layer with the maximum expected rate value, so that the transmission rate value of the network between the base station and the terminal can reach the maximum expected rate value stably, achieving the purpose of stably controlling the network transmission rate.
  • the above embodiments involve the base station controlling the transmission rate of the network, so that the network transmission rate value stably reaches the maximum expected rate value, and the reliability of network transmission is mentioned. At the same time, it overcomes the traditional control network transmission rate. The problem of resource waste caused by the large demand for buffer space, thereby reducing resource overhead and improving the transmission performance of the network where the base station is located.
  • a device for controlling network transmission rate including: an acquisition module 11, a determination module 12, and a control module 13, wherein:
  • the obtaining module 11 is used to obtain the maximum expected rate value of the network and the RTT of the RLC layer;
  • the determining module 12 is configured to determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT;
  • the control module 13 is configured to adjust the current downlink queue buffer space of the RLC layer according to the bandwidth and delay product to obtain the next downlink queue buffer space of the RLC layer, and the next downlink queue buffer space matches the maximum expected rate value.
  • the above-mentioned acquiring module 11 includes: a receiving unit 111 and a determining unit 112, wherein:
  • the receiving unit 111 is configured to receive the status report sent by the terminal and obtain the receiving time of the received status report; wherein the status report is a status report for the issued downlink data packet of the RLC layer;
  • the determining unit 112 is configured to determine the RTT according to the sending time and the receiving time of the downlink data packet.
  • the above determining unit 112 includes: an obtaining subunit 1121, a first determining subunit 1122, a second determining subunit 1123, and a determining subunit 1124, wherein:
  • the obtaining subunit 1121 is used to obtain the response identifier from the status report;
  • the first judging subunit 1122 is configured to judge whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the preset local table;
  • the second judging subunit 1123 is used to determine from the local table whether there is a downlink data packet corresponding to the response response and the time of delivery when the identifier of the downlink data packet corresponding to the identifier of the response response exists in the local table.
  • the determining subunit 1124 is used to determine in the local table that there is a correspondence between the downlink data packet corresponding to the response response and the sending time, according to the receiving time and the sending of the downlink data packet corresponding to the identifier of the response response At the moment, determine the RTT.
  • the above determining subunit 1124 is specifically configured to determine the RTT according to the difference between the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response.
  • the device further includes:
  • the deleting module 14 is configured to delete the correspondence between the identifier of the downlink data packet corresponding to the identifier of the response response recorded in the local table and the delivery time of the downlink data packet corresponding to the identifier of the response response.
  • the device further includes:
  • the sending and recording module 16 is used to send the downlink data packet to be sent and record the delivery time of the downlink data packet to be sent;
  • the storage module 17 is configured to store the corresponding relationship between the delivery time of the downlink data packet to be sent and the identifier of the downlink data packet to be sent into the local table.
  • control module 13 is specifically configured to determine the bandwidth-delay product as the downlink queue buffer space at the next moment.
  • the foregoing embodiment provides a network transmission rate control device, and its implementation principle and technical effect are similar to those of the foregoing method embodiment, which is not redundant here.
  • Each module in the above-mentioned network transmission rate control device can be implemented in whole or in part by software, hardware and a combination thereof.
  • the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 12.
  • the computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer equipment is used to store message data.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize a method for controlling the network transmission rate.
  • FIG. 12 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
  • the next downlink queue buffer space matches the maximum expected rate value.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are further implemented:
  • the next downlink queue buffer space matches the maximum expected rate value.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application relates to a network transmission rate control method, an apparatus, a computer device and a storage medium. By acquiring a maximum expected rate value of a network and RTT of an RLC layer, the method further obtains the product of the maximum expected rate value and the RTT to determine a bandwidth delay product, and adjusts a downlink queue buffer space at the current moment of the RLC layer according to the bandwidth delay product, to obtain the downlink queue buffer space at the next moment of the RLC layer, wherein, the downlink queue buffer space is matched with the maximum expected rate value. In the method, the adjusted downlink queue buffer space of the RLC layer is always matched with the maximum expected rate value of the network, therefore, the data transmission rate on the RLC layer can be effectively controlled when the downlink queue buffer space of the RLC layer is utilized to store data, so that the transmission rate of the network where a base station is located can be effectively controlled, the transmission rate of the network can be stabilized at the maximum expected rate value, and the reliability of network transmission is greatly improved.

Description

网络传输速率的控制方法、装置、计算机设备和存储介质Method, device, computer equipment and storage medium for controlling network transmission rate 技术领域Technical field
本申请涉及移动通信技术领域,尤其涉及一种网络传输速率的控制方法、装置、计算机设备和存储介质。This application relates to the field of mobile communication technology, and in particular to a method, device, computer equipment, and storage medium for controlling network transmission rate.
背景技术Background technique
随着移动通信技术的不断发展和演进,无线接口协议(Long Term Evolution,LTE)得到了普及应用。在LTE的体系中,可以通过无线链路控制层(Radio Link Control,RLC)实现控制数据的传输速率。With the continuous development and evolution of mobile communication technology, the wireless interface protocol (Long Term Evolution, LTE) has been widely used. In the LTE system, the data transmission rate can be controlled through the radio link control layer (Radio Link Control, RLC).
目前,在RLC层的数据传输过程中,存在一个重要的环节,即发送数据和接收状态报告,形成闭环保障传输机制,即RLC AM模式。在该RLC AM模式下,RLC层通常采用丢弃数据包或缓存数据包的方法实现控制下行发送数据的速率。At present, in the data transmission process of the RLC layer, there is an important link, that is, sending data and receiving status reports, forming a closed-loop guaranteed transmission mechanism, that is, the RLC AM mode. In the RLC AM mode, the RLC layer usually adopts a method of discarding data packets or buffering data packets to control the rate of downlink sending data.
但是,上述缓存数据包来进行速率控制的方法存在资源开销较大,且控制的速率不稳定的问题。However, the foregoing method of buffering data packets to perform rate control has the problems of large resource overhead and unstable control rate.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种能够有效减少资源开销,且能够使网络传输速率得到稳定控制的网络传输速率的控制方法、装置、计算机设备和存储介质。Based on this, it is necessary to address the above technical problems and provide a network transmission rate control method, device, computer equipment, and storage medium that can effectively reduce resource overhead and can stably control the network transmission rate.
第一方面,本申请实施例提供一种网络传输速率的控制方法,该方法包括:In the first aspect, an embodiment of the present application provides a method for controlling a network transmission rate, and the method includes:
获取网络的最大期望速率值和RLC层的RTT;Obtain the maximum expected rate of the network and the RTT of the RLC layer;
根据最大期望速率值与RTT的乘积,确定带宽时延积;Determine the bandwidth-delay product according to the product of the maximum expected rate value and RTT;
根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,下一时刻的下行队列缓存空间与最大期望速率值匹配。Adjust the current downlink queue buffer space of the RLC layer according to the bandwidth-delay product to obtain the next downlink queue buffer space of the RLC layer. The next downlink queue buffer space matches the maximum expected rate value.
第二方面,本申请实施例还提供一种网络传输速率的控制装置,该装置包括:In the second aspect, an embodiment of the present application also provides a network transmission rate control device, which includes:
获取模块,用于获取网络的最大期望速率值和RLC层的RTT;The acquisition module is used to acquire the maximum expected rate value of the network and the RTT of the RLC layer;
确定模块,用于根据最大期望速率值与RTT的乘积,确定带宽时延积;The determination module is used to determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT;
控制模块,用于根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,下一时刻的下行队列缓存空间与最大期望速率值匹配。The control module is used to adjust the current downlink queue buffer space of the RLC layer according to the bandwidth and delay product to obtain the next downlink queue buffer space of the RLC layer, and the next downlink queue buffer space matches the maximum expected rate value.
第三方面,本申请实施例还提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现第一方面任一实施例所述的网络传输速率的控制方法。In a third aspect, an embodiment of the present application further provides a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the computer program described in any one of the embodiments of the first aspect is implemented Control method of network transmission rate.
第四方面,本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面任一实施例所述 的网络传输速率的控制方法。In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the network transmission rate control according to any one of the embodiments of the first aspect is realized method.
本申请实施例提供的一种网络传输速率的控制方法、装置、计算机设备和存储介质,通过获取网络的最大期望速率值和RLC层的RTT,进一步的获取最大期望速率值与RTT的乘积以确定带宽时延积,并根据该带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,其中,该下行队列缓存空间与最大期望速率值匹配。由于该方法中,由于RLC层的下行队列缓存空间是根据带宽时延积的变化被动态调整的,使经过调整后的RLC层的下行队列缓存空间始终与网络的最大期望速率值匹配,因此在利用RLC层的下行队列缓存空间存储数据时能够有效的控制RLC层上的数据传输速率,从而有效控制基站所在网络的传输速率,使网络的传输速率可以稳定于最大期望速率值,大大提高了网络传输的可靠性。且该下行队列缓存空间始终与最大期望速率值匹配,这样就不会有多余的缓存空间,极大的减少了RLC层的下行队列缓存空间所占的资源开销,大大提升了基站所在网络系统的传输性能。The method, device, computer equipment and storage medium for controlling the network transmission rate provided by the embodiments of the present application obtain the maximum expected rate value of the network and the RTT of the RLC layer, and further obtain the product of the maximum expected rate value and the RTT to determine Bandwidth delay product, and adjust the current downlink queue buffer space of the RLC layer according to the bandwidth delay product to obtain the next downlink queue buffer space of the RLC layer, where the downlink queue buffer space matches the maximum expected rate value. In this method, the downstream queue buffer space of the RLC layer is dynamically adjusted according to the change of the bandwidth and delay product, so that the adjusted downstream queue buffer space of the RLC layer always matches the maximum expected rate value of the network. Using the downlink queue buffer space of the RLC layer to store data can effectively control the data transmission rate on the RLC layer, thereby effectively controlling the transmission rate of the network where the base station is located, so that the network transmission rate can be stabilized at the maximum expected rate value, which greatly improves the network Reliability of transmission. And the downlink queue buffer space always matches the maximum expected rate value, so there is no extra buffer space, which greatly reduces the resource overhead occupied by the downlink queue buffer space of the RLC layer, and greatly improves the network system where the base station is located. Transmission performance.
附图说明Description of the drawings
图1为一个实施例提供的一种应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment;
图2为一个实施例提供的一种网络传输速率的控制方法的流程图;2 is a flowchart of a method for controlling network transmission rate according to an embodiment;
图3为一个实施例提供的一种获取RTT方法的流程图;FIG. 3 is a flowchart of a method for obtaining RTT according to an embodiment;
图4为图3实施例S202的一种实现方式的流程图;4 is a flowchart of an implementation manner of S202 in the embodiment of FIG. 3;
图4A为一个实施例提供的一种确定RTT的示意图;FIG. 4A is a schematic diagram of determining RTT according to an embodiment;
图5为一个实施例提供的一种网络传输速率的控制方法的流程图;FIG. 5 is a flowchart of a method for controlling network transmission rate according to an embodiment;
图6为一个实施例提供的一种网络传输速率的控制方法的流程图;Fig. 6 is a flowchart of a method for controlling network transmission rate according to an embodiment;
图6A为一个实施例提供的一种网络传输过程的示意图;FIG. 6A is a schematic diagram of a network transmission process provided by an embodiment;
图7为一个实施例提供的一种网络传输速率的控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment;
图8为一个实施例提供的一种网络传输速率的控制装置的结构示意图;FIG. 8 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment;
图9为一个实施例提供的一种网络传输速率的控制装置的结构示意图;FIG. 9 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment;
图10为一个实施例提供的一种网络传输速率的控制装置的结构示意图;FIG. 10 is a schematic structural diagram of a device for controlling network transmission rate according to an embodiment;
图11为一个实施例提供的一种网络传输速率的控制装置的结构示意图;以及FIG. 11 is a schematic structural diagram of a network transmission rate control device provided by an embodiment; and
图12为一个实施例提供的一种计算机内部结构的示意图。FIG. 12 is a schematic diagram of the internal structure of a computer according to an embodiment.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供的网络传输速率的控制方法,可以应用于如图1所示的应用场景中,其中,基站和终端之间通过网络进行相互连接,具体的可以是有线的网络连接,也可以是无线的网络连接。其中,基站用于向终端发送下行消息,终端用于向基站发送上行消息。基站与终端之间的通信协议可以被使用 于2G/3G/4G/5G的网络中,这里需要说明的是,图1中给出的LTE体系仅为举例说明,本实施例对此并不限制,只要存在RLC协议即符合本方案所在的应用场景,都在本申请的保护范围内。The method for controlling the network transmission rate provided in this application can be applied to the application scenario shown in FIG. 1, in which the base station and the terminal are connected to each other through the network, which can be a wired network connection or a wireless connection. Network connection. Among them, the base station is used to send downlink messages to the terminal, and the terminal is used to send uplink messages to the base station. The communication protocol between the base station and the terminal can be used in a 2G/3G/4G/5G network. It should be noted here that the LTE system shown in Figure 1 is only an example, and this embodiment is not limited to this. , As long as the RLC protocol exists, it conforms to the application scenario where this solution is located, and is within the protection scope of this application.
在如图1所示的LTE体系中,物理层(Physical Layer,PHY)、介质访问控制层(Media Access Control,MAC)、无线链路控制层(Radio Link Control,RLC)、分组数据汇聚协议层(Packet Data Convergence Protocol,PDCP)、GPRS隧道协议(GPRS Tunneling Protocol,GTP)共同组成网络传输的协议架构,在实际应用中,基站与终端在该网络协议架构的基础上,可以实现消息的传送和交互。上述终端可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,对此本实施例不作限制。In the LTE system shown in Figure 1, the physical layer (Physical Layer, PHY), the Media Access Control layer (Media Access Control, MAC), the Radio Link Control layer (Radio Link Control, RLC), and the packet data convergence protocol layer (Packet Data Convergence Protocol, PDCP) and GPRS Tunneling Protocol (GPRS Tunneling Protocol, GTP) together form the protocol architecture of network transmission. In practical applications, base stations and terminals can implement message transmission and communication based on the network protocol architecture. Interactive. The foregoing terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, which are not limited in this embodiment.
需要说明的是,本申请提供的一种网络传输速率的控制方法,其执行主体为基站,其中,该执行主体还可以为应用上述网络传输协议架构的计算机设备,或者是通信装置,其中该通信装置可以通过软件、硬件或者软硬件结合的方式实现成为网络传输速率的控制方法的部分或者全部。It should be noted that the execution body of the method for controlling network transmission rate provided by this application is a base station, where the execution body may also be a computer device applying the above-mentioned network transmission protocol architecture, or a communication device, wherein the communication The device can realize part or all of the method for controlling the network transmission rate through software, hardware, or a combination of software and hardware.
图2为一个实施例提供的一种网络传输速率的控制方法的流程图,本实施例的执行主体为基站,本实施例涉及的是基站对网络传输速率进行控制的具体过程。如图2所示,该方法包括:FIG. 2 is a flowchart of a method for controlling network transmission rate according to an embodiment. The executor of this embodiment is a base station, and this embodiment relates to a specific process for the base station to control the network transmission rate. As shown in Figure 2, the method includes:
S101、获取网络的最大期望速率值和RLC层的RTT。S101. Obtain the maximum expected rate value of the network and the RTT of the RLC layer.
其中,最大期望速率值可以由用户根据实际应用需求预先定义,用于表示用户期望的与该网络传输性能相匹配的传输速率。往返时间(Round-Trip Time,RTT)表示在网络传输中基站与终端之间通信的往返时间,例如,如图1所示,基站发送信息到终端,终端再回馈给基站消息这一过程所经历的时间即为RTT。由上述描述可以理解的是,RLC层的RTT即表示基站下发RLC层的下行数据包到终端,终端反馈上行应答消息到基站的RLC层这一过程所经历的时间。Among them, the maximum expected rate value can be pre-defined by the user according to actual application requirements, and is used to indicate the transmission rate that the user desires to match the network transmission performance. Round-Trip Time (RTT) represents the round-trip time of communication between the base station and the terminal in network transmission. For example, as shown in Figure 1, the base station sends information to the terminal, and the terminal then feeds the message back to the base station. The time is RTT. It can be understood from the above description that the RTT of the RLC layer means the time it takes for the base station to deliver the downlink data packet of the RLC layer to the terminal, and the terminal feeds back the uplink response message to the RLC layer of the base station.
本实施例中,一方面,基站可以通过用户输入的携带速率值的信息获取网络的最大期望速率值;可选的,基站也可以从预先存储有最大期望速率值的存储器中获取网络的最大期望速率值;可选的,基站还可以从预先记录有最大期望速率值的数据库中获取网络的最大期望速率值,对此本实施例不做限制。另一方面,基站可以通过监测RLC层发送下行数据包的时间和RLC层接收上行应答消息的时间,再进一步的根据监测到的这两个时间获取RLC层的RTT。In this embodiment, on the one hand, the base station can obtain the maximum expected rate value of the network through the information carrying the rate value input by the user; optionally, the base station can also obtain the maximum expected rate value of the network from a memory pre-stored with the maximum expected rate value. Rate value; Optionally, the base station may also obtain the maximum expected rate value of the network from a database pre-recorded with the maximum expected rate value, which is not limited in this embodiment. On the other hand, the base station can monitor the time when the RLC layer sends the downlink data packet and the time when the RLC layer receives the uplink response message, and further obtain the RTT of the RLC layer according to the two monitored times.
S102、根据最大期望速率值与RTT的乘积,确定带宽时延积。S102: Determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT.
本实施例涉及带宽时延积的确定方法,在本实施例中,当基站获取到网络的最大期望速率值与RLC层的RTT时,可以直接将该最大期望速率值与RTT的乘积作为带宽时延积,可选的,基站也可以结合实际应用情况执行对RTT增加权重的修正处理,再进一步的将修正后的RTT与最大期望速率值的乘积作为带宽时延积。This embodiment relates to the method for determining the bandwidth-delay product. In this embodiment, when the base station obtains the maximum expected rate value of the network and the RTT of the RLC layer, the product of the maximum expected rate value and the RTT can be directly used as the bandwidth. Delay product. Optionally, the base station can also perform correction processing to increase the weight of RTT in combination with actual application conditions, and further use the product of the corrected RTT and the maximum expected rate value as the bandwidth delay product.
S103、根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,其中,下一时刻的下行队列缓存空间与 最大期望速率值匹配。S103. Adjust the current downlink queue buffer space of the RLC layer according to the bandwidth and delay product to obtain the next downlink queue buffer space of the RLC layer, where the next downlink queue buffer space matches the maximum expected rate value.
其中,下行队列缓存空间被设置在基站的RLC层中,用于缓存RLC层的上层(例如,PDCP层)传送下来的数据包,以便RLC层对该数据包进行相应的RLC层处理(例如,级联或封装处理),以及缓存RLC层上待传送的数据包,以便RLC层向下层(例如MAC层)发送数据包。上述下行队列缓存空间的大小可以被初始化定义,具体对应的空间大小根据实际应用情况确定。不同时刻的下行队列缓存空间的大小可以不同,也可以相同。Among them, the downlink queue buffer space is set in the RLC layer of the base station to buffer data packets transmitted by the upper layer of the RLC layer (for example, the PDCP layer), so that the RLC layer performs corresponding RLC layer processing (for example, Concatenation or encapsulation processing), and buffer the data packets to be transmitted on the RLC layer, so that the RLC layer sends the data packets to the lower layer (for example, the MAC layer). The size of the buffer space of the aforementioned downlink queue can be initialized and defined, and the specific corresponding space size is determined according to actual application conditions. The size of the downlink queue buffer space at different times can be different or the same.
本实施例中,在网络传输的过程中,当基站获取到本网络当前时刻的带宽时延积时,可以进一步的根据该带宽时延积调整RLC层在当前时刻对应的下行队列缓存空间,并将调整后的下行队列缓存空间作为RLC层下一时刻的下行队列缓存空间,以使在下一时刻的网络传输过程中,RLC层从上层获取到的数据包可以缓存在调整后的下行队列缓存空间中,进而使下一时刻的网络传输速率可以与调整后的下行队列缓存空间相匹配,而本实施例中的下一时刻的下行队列缓存空间与最大期望速率值是匹配的,因此,下一时刻的网络传输速率即可无限靠近最大期望速率值。In this embodiment, during network transmission, when the base station obtains the bandwidth-delay product at the current time of the network, it can further adjust the RLC layer's corresponding downlink queue buffer space at the current time according to the bandwidth-delay product, and The adjusted downstream queue buffer space is used as the downstream queue buffer space of the RLC layer at the next moment, so that in the network transmission process at the next moment, the data packets obtained by the RLC layer from the upper layer can be buffered in the adjusted downstream queue buffer space In this example, the network transmission rate at the next moment can match the adjusted downlink queue buffer space. In this embodiment, the downlink queue buffer space at the next moment matches the maximum expected rate value. Therefore, the next The network transmission rate at the moment can be infinitely close to the maximum expected rate value.
本实施例提供的一种网络传输速率的控制方法,通过获取网络的最大期望速率值和RLC层的RTT,进一步的获取最大期望速率值与RTT的乘积以确定带宽时延积,并根据该带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,其中,该下行队列缓存空间与最大期望速率值匹配。在该方法中,由于RLC层的下行队列缓存空间是根据带宽时延积的变化被动态调整的,使经过调整后的RLC层的下行队列缓存空间始终与网络的最大期望速率值匹配,因此,在利用RLC层的下行队列缓存空间存储数据时能够有效的控制RLC层上的数据传输速率,从而有效控制基站所在网络的传输速率,使网络的传输速率可以稳定于最大期望速率值,大大提高了网络传输的可靠性。且该下行队列缓存空间始终与最大期望速率值匹配,这样就不会有多余的缓存空间,极大的减少了RLC层的下行队列缓存空间所占的资源开销,大大提升了基站所在网络系统的传输性能。The method for controlling the network transmission rate provided by this embodiment is to obtain the maximum expected rate value of the network and the RTT of the RLC layer, and further obtain the product of the maximum expected rate value and the RTT to determine the bandwidth delay product, and according to the bandwidth The delay product adjusts the current downlink queue buffer space of the RLC layer to obtain the next downlink queue buffer space of the RLC layer, where the downlink queue buffer space matches the maximum expected rate value. In this method, because the downstream queue buffer space of the RLC layer is dynamically adjusted according to the change of the bandwidth and delay product, the adjusted downstream queue buffer space of the RLC layer always matches the maximum expected rate value of the network. Therefore, When using the downlink queue buffer space of the RLC layer to store data, it can effectively control the data transmission rate on the RLC layer, thereby effectively controlling the transmission rate of the network where the base station is located, so that the network transmission rate can be stabilized at the maximum expected rate value, which greatly improves Reliability of network transmission. And the downlink queue buffer space always matches the maximum expected rate value, so there is no extra buffer space, which greatly reduces the resource overhead occupied by the downlink queue buffer space of the RLC layer, and greatly improves the network system where the base station is located. Transmission performance.
在一个实施例中,本申请还提供了一种RTT的获取方法,如图3所示,该方法具体包括:In an embodiment, this application also provides a method for obtaining RTT. As shown in FIG. 3, the method specifically includes:
S201、接收终端发送的状态报告,并获取接收状态报告的接收时刻;其中,状态报告是针对下发的RLC层的下行数据包的状态报告。S201: Receive a status report sent by a terminal, and obtain a receiving time of the received status report; wherein, the status report is a status report for the issued downlink data packet of the RLC layer.
其中,状态报告用于描述终端是否成功接收基站发送消息的情况,在实际应用中,当基站向终端发送下行消息时,终端在接收到该消息后会相应的向基站发送一个与该消息对应的状态报告,以便基站知悉终端是否成功接收上述发送的消息。Among them, the status report is used to describe whether the terminal successfully receives the message sent by the base station. In practical applications, when the base station sends a downlink message to the terminal, the terminal will send a corresponding message to the base station after receiving the message. Status report so that the base station knows whether the terminal has successfully received the message sent above.
本实施例中,基站向终端下发RLC层的下行数据包,终端接收到该下行数据包后再向基站发送与该下行数据包关联的状态报告,以告知基站上述下行数据包被接收的情况,使基站在接收到该状态报告后可以执行后序的工作。基站在接收状态报告的同时可以记录接收状态报告的时间,以便之后使用。In this embodiment, the base station delivers the downlink data packet of the RLC layer to the terminal. After receiving the downlink data packet, the terminal sends a status report associated with the downlink data packet to the base station to inform the base station of the reception of the aforementioned downlink data packet , So that the base station can perform subsequent work after receiving the status report. The base station can record the time of receiving the status report while receiving the status report for later use.
S202、根据下行数据包的下发时刻和接收时刻,确定RTT。S202: Determine the RTT according to the sending time and the receiving time of the downlink data packet.
当基站获取到RLC层的下行数据包的下发时刻和对应状态报告的接收时刻时,可以进一步的将下发时刻和接收时刻直接进行运算,得到RTT;可选的,也可以进一步的对下发时刻或接收时刻进行修正处理,再将修正处理后的下发时刻和接收时刻进行运算,得到RTT。When the base station obtains the sending time of the downlink data packet of the RLC layer and the receiving time of the corresponding status report, it can further calculate the sending time and the receiving time directly to obtain the RTT; optionally, it can also further download The sending time or receiving time is corrected, and the corrected sending time and receiving time are calculated to obtain the RTT.
可选的,根据接收时刻、以及与应答响应的标识对应的下行数据包的下发时刻,确定RTT,具体包括:根据接收时刻,以及与应答响应的标识对应的下行数据包的下发时刻的差值,确定RTT。本实施例涉及确定RTT的具体方法,即将发时刻和接收时刻直接进行差值运算,从而得到RTT。Optionally, determining the RTT according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response includes: according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response Difference, determine RTT. This embodiment relates to a specific method for determining RTT, that is, directly performing difference calculation between the sending time and the receiving time to obtain the RTT.
上述实施例是通过状态报告的接收时刻和发送RLC层的下行数据包的下发时刻确定RTT,这种获取RTT的方法充分利用了RLC层中存在状态报告传输机制的特点,因此可以在基站控制网络传输速率的过程中提供比较准确的RTT,使根据RTT确定的带宽时延积也相对比较准确,从而使根据带宽时延积调整RLC层的下行队列缓存空间与最大传输速率值更加匹配,进而提高了网络传输速率的稳定性。The above embodiment determines the RTT based on the receiving time of the status report and the sending time of sending the downlink data packet of the RLC layer. This method of obtaining RTT makes full use of the characteristics of the status report transmission mechanism in the RLC layer, so it can be controlled by the base station In the process of network transmission rate, a more accurate RTT is provided, so that the bandwidth-delay product determined according to RTT is relatively accurate, so that the downstream queue buffer space of the RLC layer is adjusted according to the bandwidth-delay product to match the maximum transmission rate value. Improve the stability of the network transmission rate.
在一个实施例中,图4为图3实施例S202的一种实现方式的流程图。本实施例涉及的是基站获取RLC层的RTT的具体过程,如图4所示,该过程包括:In an embodiment, FIG. 4 is a flowchart of an implementation manner of S202 in the embodiment in FIG. 3. This embodiment relates to a specific process for the base station to obtain the RTT of the RLC layer. As shown in Figure 4, the process includes:
S301、从状态报告中获取应答响应的标识。S301. Obtain a response identifier from the status report.
其中,应答响应的标识用于表征被确认的RLC层的下行数据包,其可以用数字、字母、序列号等表示。本实施例中,当基站获取到状态报告时,可以进一步的从状态报告中提取出应答响应的标识,以根据应答响应的标识获悉RLC层的下行数据包被确认接收的情况。The identification of the response response is used to characterize the confirmed downlink data packet of the RLC layer, and it can be represented by numbers, letters, sequence numbers, etc. In this embodiment, when the base station obtains the status report, the identification of the response response can be further extracted from the status report, so as to learn the status that the downlink data packet of the RLC layer is confirmed to be received according to the identification of the response response.
S302、判断预设的本地表中是否存在与应答响应的标识对应的下行数据包的标识,若存在,则执行S303,若不存在,则执行S305。S302: Determine whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the preset local table, if it exists, execute S303, and if it does not exist, execute S305.
其中,本地表中记录有应答响应的标识与下行数据包的标识之间的对应关系,且该对应关系可以预先由基站定义,本地表中还同时记录有下行数据包的标识与对应下行数据包的发送时刻之间的对应关系,且该对应关系可以由基站在网络传输过程中实时记录。上述本地表可以存储在基站的数据库中,也可以存储在基站的内存中,对此本实施例不作限制,只要能够满足基站随时写入和读取数据的要求即可。The local table records the corresponding relationship between the identifier of the response response and the identifier of the downlink data packet, and the corresponding relationship can be defined by the base station in advance. The local table also records the identifier of the downlink data packet and the corresponding downlink data packet. The corresponding relationship between the sending moments, and the corresponding relationship can be recorded in real time by the base station during network transmission. The above-mentioned local table can be stored in the database of the base station or in the memory of the base station. This embodiment is not limited, as long as it can meet the requirements of the base station to write and read data at any time.
在本实施例中,当基站从状态报告中获取到应答响应的标识时,可以进一步的查询预先存储下来的本地表,根据该本地表中记录的应答响应的标识与下行数据包的标识之间的对应关系,判断该本地表中是否存在与应答响应的标识对应的下行数据包的标识,若存在,则具体执行S303,若不存在,则具体执行S305。In this embodiment, when the base station obtains the identifier of the response response from the status report, it can further query the pre-stored local table, according to the difference between the identifier of the response response recorded in the local table and the identifier of the downlink data packet. To determine whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the local table, if it exists, S303 is specifically executed, and if it does not exist, S305 is specifically executed.
S303、从本地表中确定是否存在与应答响应对应的下行数据包与下发时刻之间的对应关系,若存在对应关系,则执行S304,若不存在对应关系,则执行S305。S303: Determine from the local table whether there is a corresponding relationship between the downlink data packet corresponding to the response response and the delivery time, if there is a corresponding relationship, perform S304, if there is no corresponding relationship, perform S305.
本实施例涉及本地表中存在与应答响应的标识对应的下行数据包的标识的应用场景,在此应用场景下,基站进行下一步的判断工作,即根据该本地 表中记录的下行数据包的标识与对应下行数据包的发送时刻之间的对应关系,判断本地表中是否存在与下行数据包的标识对应的下发时刻,若存在,则具体执行S304,若不存在对应关系,则执行S305。This embodiment relates to an application scenario where there is an identifier of a downlink data packet corresponding to the identifier of the response response in the local table. In this application scenario, the base station performs the next step of judgment work, that is, according to the downlink data packet recorded in the local table. The corresponding relationship between the identifier and the sending time of the corresponding downlink data packet, determine whether there is a delivery time corresponding to the identifier of the downlink data packet in the local table, if it exists, perform S304 specifically, if there is no corresponding relationship, perform S305 .
S304、根据接收时刻、以及与应答响应的标识对应的下行数据包的下发时刻,确定RTT。S304: Determine the RTT according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response.
本实施例涉及本地表中存在与下行数据包的标识对应的下发时刻的应用场景,在此应用场景下,基站根据下行数据包的下发时刻和之前记录的该状态报告的接收时刻确定RTT。This embodiment relates to an application scenario where there is a delivery time corresponding to the identifier of a downlink data packet in the local table. In this application scenario, the base station determines the RTT according to the delivery time of the downlink data packet and the previously recorded reception time of the status report .
示例性说明上述过程,参见图4A所示的网络传输的示意图。在该网络传输过程中,基站发送RLC层的下行数据包,记录发送的下行时刻(如图中的T_D),基站接收RLC层的状态报告,并记录接收状态报告的接收时刻(如图中的T_P),最后将下行时刻(T_D)和接收时刻(T_P)的差值确定为RTT。For an exemplary description of the above process, refer to the schematic diagram of network transmission shown in FIG. 4A. During the network transmission process, the base station sends the downlink data packet of the RLC layer, records the downlink time of transmission (T_D in the figure), the base station receives the status report of the RLC layer, and records the receiving time of the receiving status report (as shown in the figure) T_P), and finally determine the difference between the downlink time (T_D) and the receiving time (T_P) as RTT.
S305、停止调整RLC层当前时刻的下行队列缓存空间。S305. Stop adjusting the buffer space of the downlink queue at the current moment of the RLC layer.
本实施例涉及的是本地表中不存在与应答响应的标识对应的下行数据包的标识时的应用场景,或者是本地表中不存在与下行数据包的标识对应的下发时刻的应用场景,面对这两种应用场景时,基站无法正常获取到RLC层的RTT,进而无法获取到该网络的带宽时延积,以及无法调整RLC层的下行队列缓存空间,因此,基站会执行停止调整RLC层当前时刻的下行队列缓存空间的操作。This embodiment relates to an application scenario when the identifier of a downlink data packet corresponding to the identifier of the response response does not exist in the local table, or an application scenario where the delivery time corresponding to the identifier of the downlink data packet does not exist in the local table. Faced with these two application scenarios, the base station cannot normally obtain the RTT of the RLC layer, and thus cannot obtain the bandwidth and delay product of the network, and cannot adjust the downlink queue buffer space of the RLC layer. Therefore, the base station will stop adjusting the RLC. The operation of the downstream queue buffer space at the current time of the layer.
在一个实施例中,在上述确定RTT的步骤之后,本申请提供的网络传输速率的控制方法还包括:删除本地表中的记录的应答响应的标识对应的下行数据包的标识与应答响应的标识对应的下行数据包的下发时刻之间的对应关系。In one embodiment, after the above step of determining RTT, the method for controlling the network transmission rate provided by the present application further includes: deleting the identifier of the downlink data packet corresponding to the identifier of the response response recorded in the local table and the identifier of the response response Correspondence between the corresponding downlink data packet delivery moments.
本实施例涉及的是在基站在获取到RTT之后对本地表的处理工作,在实际应用中,为了减少资源的开销,基站在利用本地表上记录的数据找到应答响应的标识对应的下行数据包的标识与应答响应的标识对应的下行数据包的下发时刻之间的对应关系时,可以进一步的将该对应关系进行删除,以减少数据所占空间,进而提高了基站内存或数据库的空间利用率,也相应的提高了基站的运行性能。This embodiment relates to the processing of the local table after the base station obtains the RTT. In practical applications, in order to reduce resource overhead, the base station uses the data recorded on the local table to find the downlink data packet corresponding to the response identifier. When the corresponding relationship between the identifier and the delivery time of the downlink data packet corresponding to the identifier of the response response is identified, the corresponding relationship can be further deleted to reduce the space occupied by the data, thereby improving the space utilization of the base station memory or database , And correspondingly improve the operating performance of the base station.
在一个实施例中,图5为一个实施例提供的一种网络传输速率的控制方法的流程图,该实施例涉及的是基站在接收状态报告之前的具体工作,如图5所示,该工作包括:In an embodiment, FIG. 5 is a flowchart of a method for controlling network transmission rate provided by an embodiment. This embodiment relates to the specific work of the base station before receiving the status report. As shown in FIG. 5, the work include:
S401、从当前时刻的下行队列缓存空间中获取待发送的下行数据包。S401: Obtain a downlink data packet to be sent from the downlink queue buffer space at the current moment.
其中,待发送的下行数据包是指基站的RLC层向MAC层下发数据包时对应的数据包。本实施例中,RLC层在当前时刻向MAC层下发数据包时,可以从RLC层的下行队列缓存空间中依次获取待发送的下行数据包,再依次向MAC层下发待发送的下行数据包。Among them, the downlink data packet to be sent refers to the corresponding data packet when the RLC layer of the base station sends the data packet to the MAC layer. In this embodiment, when the RLC layer sends data packets to the MAC layer at the current moment, it can sequentially obtain the downlink data packets to be sent from the downlink queue buffer space of the RLC layer, and then send the downlink data to be sent to the MAC layer in sequence package.
S402、发送待发送的下行数据包以及记录待发送的下行数据包的下发时刻。S402: Send a downlink data packet to be sent, and record a delivery time of the downlink data packet to be sent.
当RLC层向MAC层下发数据包的同时,基站可以在记录表中记录发送下 行数据包的时刻,即下行数据包的下发时刻,并将记录有该下发时刻的记录表存储在内存中或数据库中,以便之后使用。When the RLC layer sends data packets to the MAC layer, the base station can record the time when the downlink data packet is sent in the record table, that is, the time when the downlink data packet is sent, and store the record table recording the sending time in the memory Or in the database for later use.
S403、将待发送的下行数据包的下发时刻与待发送的下行数据包的标识之间的对应关系存入到本地表中。S403: Store the correspondence between the delivery time of the downlink data packet to be sent and the identifier of the downlink data packet to be sent in a local table.
当基站记录了发送下行数据包的下发时刻后,还可以进一步的获取该下行数据包的标识,再将该下行数据包的标识与之前记录的下发时刻进行一一对应,并将该对应关系记录在本地表中。需要说明的是,在上述过程中涉及的记录可以通过基站在内存或数据库中写入数据的方式实现,属于现有技术,对此不再过多解释。After the base station records the delivery time of the downlink data packet, it can further obtain the identifier of the downlink data packet, and then make a one-to-one correspondence between the identifier of the downlink data packet and the previously recorded delivery time, and then the corresponding The relationship is recorded in the local table. It should be noted that the recording involved in the above process can be implemented by the base station writing data in the memory or the database, which belongs to the prior art, and there is no need to explain it too much.
在一个实施例中,本申请还提供了一种根据带宽时延积调整RLC层当前时刻的下行队列缓存空间的方法,该方法为:将带宽时延积确定为下一时刻的下行队列缓存空间。In one embodiment, the present application also provides a method for adjusting the current downlink queue buffer space of the RLC layer according to the bandwidth delay product. The method is: determining the bandwidth delay product as the downlink queue buffer space at the next moment .
当基站根据当前时刻RLC层的RTT和最大期望速率值获取到当前时刻的带宽时延积时,可以进一步的根据该带宽时延积调整当前时刻的下行队列缓存空间,并将调整后的下行队列缓存空间作为下一时刻的下行队列缓存空间,以便在下一时刻的下行数据包到达下行队列缓存空间时,下一时刻的下行数据包的传输速率可以得到控制,即使网络的传输速率能够稳定的靠近最大期望速率值。When the base station obtains the bandwidth delay product at the current moment according to the RTT of the RLC layer and the maximum expected rate value at the current moment, it can further adjust the current downlink queue buffer space according to the bandwidth delay product, and change the adjusted downlink queue The buffer space is used as the downlink queue buffer space at the next moment, so that when the downlink data packet at the next moment reaches the downlink queue buffer space, the transmission rate of the downlink data packet at the next moment can be controlled, even if the network transmission rate can be steadily close The maximum expected rate value.
综上所述所有实施例,本申请还提供了一种网络传输速率的控制方法,该实施例的执行主体为基站,如图6所示,该方法具体包括:In summary of all the above embodiments, the present application also provides a method for controlling network transmission rate. The execution subject of this embodiment is a base station. As shown in FIG. 6, the method specifically includes:
S501、发送RLC层的下行数据包,并记录该下行数据包的标识SN和发送时刻T_D。S501: Send a downlink data packet of the RLC layer, and record the identifier SN of the downlink data packet and the sending time T_D.
S502、将上述T_D与SN对应存入本地表中。S502: Store the above T_D and SN correspondingly in a local table.
S503、接收RLC层的状态报告,并记录接收状态报告的接收时刻T_P。S503: Receive the status report of the RLC layer, and record the receiving time T_P of the status report.
S504、读取上述状态报告中的应答响应的标识SN1。S504. Read the response identifier SN1 in the above status report.
S505、根据SN1在上述本地表中查询是否存在与SN1关联的SN,若存在,则执行S506,若不存在,则执行S511。S505: Inquire whether there is an SN associated with SN1 in the above-mentioned local table according to SN1, if it exists, execute S506, and if it does not exist, execute S511.
S506、从本地表中确定是否存在SN与T_D之间的对应关系,若存在,则执行S507,若不存在,则执行S511。S506: Determine from the local table whether there is a correspondence between SN and T_D, if it exists, execute S507, and if it does not exist, execute S511.
S507、将T_P和T_D的差值确定为RTT。S507. Determine the difference between T_P and T_D as RTT.
S508、获取最大期望速率值。S508. Obtain a maximum expected rate value.
S509、将最大期望速率值与RTT的乘积确定为带宽时延积。S509. Determine the product of the maximum expected rate value and the RTT as the bandwidth and delay product.
S510、根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,其中,下一时刻的下行队列缓存空间与所述最大期望速率值匹配。S510. Adjust the current downlink queue buffer space of the RLC layer according to the bandwidth-delay product to obtain the next downlink queue buffer space of the RLC layer, where the next downlink queue buffer space matches the maximum expected rate value.
S511、停止调整RLC层当前时刻的下行队列缓存空间。S511: Stop adjusting the buffer space of the downlink queue at the current moment of the RLC layer.
结合如图1所示的应用场景和上述实施例所描述的方法,对网络传输的过程进行简单的说明:参见图6A所示的网络传输过程示意图,在该网络传输过程中,基站发送RLC层的下行数据包,同时通过检测调整模块检测并记录发送下行数据包的下发时刻,再接收RLC层的状态报告,并通过检测调整模 块检测并记录获取接收状态报告的接收时刻,使基站根据记录的下发时刻和接收时刻的差值确定RTT,再根据RTT和最大期望速率值确定带宽时延积,基站再相应的通过检测调整模块根据带宽时延积调整RLC层的下行队列缓存空间,以使RLC层的下行队列缓存空间与最大期望速率值匹配,进而使基站与终端之间的网络的传输速率值可以稳定达到最大期望速率值,达到了稳定控制网络传输速率的目的。Combining the application scenario shown in FIG. 1 and the method described in the above embodiment, the network transmission process is briefly described: refer to the schematic diagram of the network transmission process shown in FIG. 6A, in the network transmission process, the base station sends the RLC layer At the same time, the detection and adjustment module detects and records the delivery time of the downlink data packet, and then receives the status report of the RLC layer. The detection and adjustment module detects and records the receiving time of the receiving status report, so that the base station can follow the record The RTT is determined by the difference between the sending time and the receiving time, and then the bandwidth delay product is determined according to the RTT and the maximum expected rate value. The base station then adjusts the RLC layer's downlink queue buffer space according to the bandwidth delay product through the detection and adjustment module to Match the downlink queue buffer space of the RLC layer with the maximum expected rate value, so that the transmission rate value of the network between the base station and the terminal can reach the maximum expected rate value stably, achieving the purpose of stably controlling the network transmission rate.
综上所述,上述实施例涉及了基站控制网络的传输速率,使网络的传输速率值稳定达到最大期望速率值,提到了网络传输的可靠性,同时,克服了传统控制网络传输速率时所占的缓存空间需求较大时带来的资源浪费的问题,进而减少资源的开销,提升了基站所在网络的传输性能。To sum up, the above embodiments involve the base station controlling the transmission rate of the network, so that the network transmission rate value stably reaches the maximum expected rate value, and the reliability of network transmission is mentioned. At the same time, it overcomes the traditional control network transmission rate. The problem of resource waste caused by the large demand for buffer space, thereby reducing resource overhead and improving the transmission performance of the network where the base station is located.
应该理解的是,虽然图2至图6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2至图6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行。It should be understood that although the various steps in the flowcharts of FIGS. 2 to 6 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in Figures 2 to 6 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps or The order of execution of the stages is not necessarily sequential.
在一个实施例中,如图7所示,提供了一种网络传输速率的控制装置,包括:获取模块11、确定模块12和控制模块13,其中:In one embodiment, as shown in FIG. 7, a device for controlling network transmission rate is provided, including: an acquisition module 11, a determination module 12, and a control module 13, wherein:
获取模块11,用于获取网络的最大期望速率值和RLC层的RTT;The obtaining module 11 is used to obtain the maximum expected rate value of the network and the RTT of the RLC layer;
确定模块12,用于根据最大期望速率值与RTT的乘积,确定带宽时延积;The determining module 12 is configured to determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT;
控制模块13,用于根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,下一时刻的下行队列缓存空间与最大期望速率值匹配。The control module 13 is configured to adjust the current downlink queue buffer space of the RLC layer according to the bandwidth and delay product to obtain the next downlink queue buffer space of the RLC layer, and the next downlink queue buffer space matches the maximum expected rate value.
在一个实施例中,如图8所示,上述获取模块11包括:接收单元111和确定单元112,其中:In an embodiment, as shown in FIG. 8, the above-mentioned acquiring module 11 includes: a receiving unit 111 and a determining unit 112, wherein:
接收单元111,用于接收终端发送的状态报告,并获取接收状态报告的接收时刻;其中,状态报告是针对下发的RLC层的下行数据包的状态报告;The receiving unit 111 is configured to receive the status report sent by the terminal and obtain the receiving time of the received status report; wherein the status report is a status report for the issued downlink data packet of the RLC layer;
确定单元112,用于根据下行数据包的下发时刻和接收时刻,确定RTT。The determining unit 112 is configured to determine the RTT according to the sending time and the receiving time of the downlink data packet.
在一个实施例中,如图9所示,上述确定单元112包括:获取子单元1121、第一判断子单元1122、第二判断子单元1123和确定子单元1124,其中:In an embodiment, as shown in FIG. 9, the above determining unit 112 includes: an obtaining subunit 1121, a first determining subunit 1122, a second determining subunit 1123, and a determining subunit 1124, wherein:
获取子单元1121,用于从状态报告中获取应答响应的标识;The obtaining subunit 1121 is used to obtain the response identifier from the status report;
第一判断子单元1122,用于判断预设的本地表中是否存在与应答响应的标识对应的下行数据包的标识;The first judging subunit 1122 is configured to judge whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the preset local table;
第二判断子单元1123,用于在本地表中存在与应答响应的标识对应的下行数据包的标识时,从本地表中确定是否存在与应答响应对应的下行数据包与下发时刻之间的对应关系;The second judging subunit 1123 is used to determine from the local table whether there is a downlink data packet corresponding to the response response and the time of delivery when the identifier of the downlink data packet corresponding to the identifier of the response response exists in the local table. Correspondence;
确定子单元1124,用于在本地表中确定存在与应答响应对应的下行数据包与下发时刻之间的对应关系时,根据接收时刻、以及与应答响应的标识对应的下行数据包的下发时刻,确定RTT。The determining subunit 1124 is used to determine in the local table that there is a correspondence between the downlink data packet corresponding to the response response and the sending time, according to the receiving time and the sending of the downlink data packet corresponding to the identifier of the response response At the moment, determine the RTT.
在一个实施例中,上述确定子单元1124具体用于根据接收时刻,以及与应答响应的标识对应的下行数据包的下发时刻的差值,确定RTT。In an embodiment, the above determining subunit 1124 is specifically configured to determine the RTT according to the difference between the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response.
在一个实施例中,基于图7所示的网路传输速率的控制装置,如图10所示,该装置还包括:In one embodiment, based on the network transmission rate control device shown in FIG. 7, as shown in FIG. 10, the device further includes:
删除模块14,用于删除本地表中的记录的应答响应的标识对应的下行数据包的标识与应答响应的标识对应的下行数据包的下发时刻之间的对应关系。The deleting module 14 is configured to delete the correspondence between the identifier of the downlink data packet corresponding to the identifier of the response response recorded in the local table and the delivery time of the downlink data packet corresponding to the identifier of the response response.
在一个实施例中,基于图7所示的网路传输速率的控制装置,如图11所示,该装置还包括:In one embodiment, based on the network transmission rate control device shown in FIG. 7, as shown in FIG. 11, the device further includes:
获取数据包模块15,用于从当前时刻的下行队列缓存空间中获取待发送的下行数据包;The data packet obtaining module 15 is used to obtain the downlink data packet to be sent from the downlink queue buffer space at the current moment;
发送和记录模块16,用于发送待发送的下行数据包以及记录待发送的下行数据包的下发时刻;The sending and recording module 16 is used to send the downlink data packet to be sent and record the delivery time of the downlink data packet to be sent;
存储模块17,用于将待发送的下行数据包的下发时刻与待发送的下行数据包的标识之间的对应关系存入到本地表中。The storage module 17 is configured to store the corresponding relationship between the delivery time of the downlink data packet to be sent and the identifier of the downlink data packet to be sent into the local table.
在一个实施例中,上述控制模块13具体用于将带宽时延积确定为下一时刻的下行队列缓存空间。In an embodiment, the aforementioned control module 13 is specifically configured to determine the bandwidth-delay product as the downlink queue buffer space at the next moment.
上述实施例提供的一种网络传输速率的控制装置,其实现原理和技术效果与上述方法实施例类似,在此不在累赘。The foregoing embodiment provides a network transmission rate control device, and its implementation principle and technical effect are similar to those of the foregoing method embodiment, which is not redundant here.
关于网络传输速率的控制装置的具体限定可以参见上文中对于一种网络传输速率的控制方法的限定,在此不再赘述。上述网络传输速率的控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the device for controlling the network transmission rate, please refer to the above limitation on a method for controlling the network transmission rate, which will not be repeated here. Each module in the above-mentioned network transmission rate control device can be implemented in whole or in part by software, hardware and a combination thereof. The foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图12所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储报文数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种网络传输速率的控制方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 12. The computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used to store message data. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize a method for controlling the network transmission rate.
本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 12 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
获取网络的最大期望速率值和RLC层的RTT;Obtain the maximum expected rate of the network and the RTT of the RLC layer;
根据最大期望速率值与RTT的乘积,确定带宽时延积;Determine the bandwidth-delay product according to the product of the maximum expected rate value and RTT;
根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,下一时刻的下行队列缓存空间与最大期望速率值匹配。Adjust the current downlink queue buffer space of the RLC layer according to the bandwidth-delay product to obtain the next downlink queue buffer space of the RLC layer. The next downlink queue buffer space matches the maximum expected rate value.
上述实施例提供的一种计算机设备,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of a computer device provided by the foregoing embodiment are similar to those of the foregoing method embodiment, and will not be repeated here.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时还实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are further implemented:
获取网络的最大期望速率值和RLC层的RTT;Obtain the maximum expected rate of the network and the RTT of the RLC layer;
根据最大期望速率值与RTT的乘积,确定带宽时延积;Determine the bandwidth-delay product according to the product of the maximum expected rate value and RTT;
根据带宽时延积调整RLC层当前时刻的下行队列缓存空间,得到RLC层下一时刻的下行队列缓存空间,下一时刻的下行队列缓存空间与最大期望速率值匹配。Adjust the current downlink queue buffer space of the RLC layer according to the bandwidth-delay product to obtain the next downlink queue buffer space of the RLC layer. The next downlink queue buffer space matches the maximum expected rate value.
上述实施例提供的一种计算机可读存储介质,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The foregoing embodiment provides a computer-readable storage medium, and its implementation principle and technical effect are similar to those of the foregoing method embodiment, and will not be repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双倍数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。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 computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the procedures of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, they should It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (10)

  1. 一种网络传输速率的控制方法,所述方法包括以下步骤:A method for controlling network transmission rate, the method includes the following steps:
    获取网络的最大期望速率值和RLC层的RTT;Obtain the maximum expected rate of the network and the RTT of the RLC layer;
    根据所述最大期望速率值与所述RTT的乘积,确定带宽时延积;Determine the bandwidth-delay product according to the product of the maximum expected rate value and the RTT;
    根据所述带宽时延积调整所述RLC层当前时刻的下行队列缓存空间,得到所述RLC层下一时刻的下行队列缓存空间,所述下一时刻的下行队列缓存空间与所述最大期望速率值匹配。Adjust the downlink queue buffer space of the RLC layer at the current moment according to the bandwidth-delay product to obtain the downlink queue buffer space of the RLC layer at the next moment, the downlink queue buffer space at the next moment and the maximum expected rate Value matches.
  2. 根据权利要求1所述的方法,其特征在于,所述获取网络的最大期望速率值和RLC层的RTT的步骤包括:The method according to claim 1, wherein the step of obtaining the maximum expected rate value of the network and the RTT of the RLC layer comprises:
    接收终端发送的状态报告,并获取接收所述状态报告的接收时刻;其中,所述状态报告是针对下发的RLC层的下行数据包的状态报告;Receiving the status report sent by the terminal, and obtaining the receiving moment of receiving the status report; wherein, the status report is a status report for the issued RLC layer downlink data packet;
    根据所述下行数据包的下发时刻和所述接收时刻,确定所述RTT。The RTT is determined according to the sending time and the receiving time of the downlink data packet.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述下行数据包的下发时刻和所述接收时刻,确定所述RTT的步骤包括:The method according to claim 2, wherein the step of determining the RTT according to the sending time and the receiving time of the downlink data packet comprises:
    从所述状态报告中获取应答响应的标识;Obtaining the identification of the response response from the status report;
    判断预设的本地表中是否存在与所述应答响应的标识对应的下行数据包的标识;Judging whether there is an identifier of the downlink data packet corresponding to the identifier of the response response in the preset local table;
    若存在,从所述本地表中确定是否存在与所述应答响应对应的下行数据包与下发时刻之间的对应关系;If yes, determine from the local table whether there is a correspondence between the downlink data packet corresponding to the response response and the time of delivery;
    若存在所述对应关系,则根据所述接收时刻、以及与所述应答响应的标识对应的下行数据包的下发时刻,确定所述RTT。If the corresponding relationship exists, the RTT is determined according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述接收时刻、以及与所述应答响应的标识对应的下行数据包的下发时刻,确定所述RTT的步骤包括:The method according to claim 3, wherein the step of determining the RTT according to the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response comprises:
    根据所述接收时刻,以及与所述应答响应的标识对应的下行数据包的下发时刻的差值,确定所述RTT。The RTT is determined according to the difference between the receiving time and the sending time of the downlink data packet corresponding to the identifier of the response response.
  5. 根据权利要求3或4所述的方法,其特征在于,在确定所述RTT的步骤之后,所述方法还包括以下步骤:The method according to claim 3 or 4, characterized in that, after the step of determining the RTT, the method further comprises the following steps:
    删除所述本地表中的记录的所述应答响应的标识对应的下行数据包的标识与所述应答响应的标识对应的下行数据包的下发时刻之间的对应关系。The correspondence between the identifier of the downlink data packet corresponding to the identifier of the response response recorded in the local table and the delivery time of the downlink data packet corresponding to the identifier of the response response is deleted.
  6. 根据权利要求2所述的方法,其特征在于,所述接收终端发送的状态报告的步骤之前,还包括:The method according to claim 2, wherein before the step of receiving the status report sent by the terminal, the method further comprises:
    从所述当前时刻的下行队列缓存空间中获取待发送的下行数据包;Acquiring the downlink data packet to be sent from the downlink queue buffer space at the current moment;
    发送所述待发送的下行数据包以及记录所述待发送的下行数据包的下发时刻;Sending the downlink data packet to be sent and recording the delivery time of the downlink data packet to be sent;
    将所述待发送的下行数据包的下发时刻与所述待发送的下行数据包的标识之间的对应关系存入到本地表中。The corresponding relationship between the delivery time of the downlink data packet to be sent and the identifier of the downlink data packet to be sent is stored in a local table.
  7. 根据权利要求1所述的方法,其特征在于,根据所述带宽时延积调整所述RLC层当前时刻的下行队列缓存空间,得到所述RLC层下一时刻的下行队列缓存空间的步骤包括:The method according to claim 1, wherein the step of adjusting the current downlink queue buffer space of the RLC layer according to the bandwidth-delay product to obtain the next downlink queue buffer space of the RLC layer comprises:
    将所述带宽时延积确定为下一时刻的下行队列缓存空间。The bandwidth delay product is determined as the downlink queue buffer space at the next moment.
  8. 一种网络传输速率的控制装置,所述装置包括:A control device for network transmission rate, the device includes:
    获取模块,用于获取网络的最大期望速率值和RLC层的RTT;The acquisition module is used to acquire the maximum expected rate value of the network and the RTT of the RLC layer;
    确定模块,用于根据所述最大期望速率值与所述RTT的乘积,确定带宽时延积;A determining module, configured to determine a bandwidth-delay product according to the product of the maximum expected rate value and the RTT;
    控制模块,用于根据所述带宽时延积调整所述RLC层当前时刻的下行队列缓存空间,得到所述RLC层下一时刻的下行队列缓存空间,所述下一时刻的下行队列缓存空间与所述最大期望速率值匹配。The control module is configured to adjust the downlink queue buffer space of the RLC layer at the current moment according to the bandwidth and delay product to obtain the downlink queue buffer space of the RLC layer at the next moment, and the downlink queue buffer space at the next moment is equal to The maximum expected rate value matches.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。A computer device comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of claims 1 to 7 when the computer program is executed.
  10. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
PCT/CN2019/124700 2019-04-08 2019-12-11 Network transmission rate control method, apparatus, computer device and storage medium WO2020207044A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910276637.6A CN110062425A (en) 2019-04-08 2019-04-08 Control method, device, computer equipment and the storage medium of network transmission speed
CN201910276637.6 2019-04-08

Publications (1)

Publication Number Publication Date
WO2020207044A1 true WO2020207044A1 (en) 2020-10-15

Family

ID=67318444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124700 WO2020207044A1 (en) 2019-04-08 2019-12-11 Network transmission rate control method, apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110062425A (en)
WO (1) WO2020207044A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110062425A (en) * 2019-04-08 2019-07-26 京信通信系统(中国)有限公司 Control method, device, computer equipment and the storage medium of network transmission speed
CN110971534B (en) * 2019-11-13 2023-05-05 哈尔滨哈工智慧嘉利通科技股份有限公司 Uplink rate regulation and control method and device for government affair public opinion
CN111130923B (en) * 2019-11-29 2021-07-09 北京达佳互联信息技术有限公司 Network bandwidth determining method and device, electronic equipment and storage medium
CN111131083B (en) * 2019-12-27 2023-02-28 广东浪潮大数据研究有限公司 Method, device and equipment for data transmission between nodes and computer readable storage medium
CN112261634B (en) * 2020-10-19 2023-08-08 深圳市嘀嘟科技有限公司 Bluetooth transmission control method and device, terminal equipment and storage medium
CN112399471B (en) * 2020-10-23 2023-02-10 紫光展锐(重庆)科技有限公司 Data caching method and related device
CN112995057B (en) * 2021-05-20 2021-10-22 布比(北京)网络技术有限公司 Maximum transmission rate determining method, maximum transmission rate determining device, electronic equipment and storage medium
CN116709432B (en) * 2022-11-22 2024-04-16 荣耀终端有限公司 Cache queue adjusting method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1910868A (en) * 2003-12-23 2007-02-07 艾利森电话股份有限公司 Method and device for controlling alignment buffer
US20120147750A1 (en) * 2009-08-25 2012-06-14 Telefonaktiebolaget L M Ericsson (Publ) Using the ECN Mechanism to Signal Congestion Directly to the Base Station
CN104067654A (en) * 2012-01-09 2014-09-24 摩托罗拉移动有限责任公司 Dynamic tcp layer optimization for real-time field performance
CN104967498A (en) * 2015-06-11 2015-10-07 中国电子科技集团公司第五十四研究所 History-based satellite network data packet compression and transmission method
CN110062425A (en) * 2019-04-08 2019-07-26 京信通信系统(中国)有限公司 Control method, device, computer equipment and the storage medium of network transmission speed

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2396087B (en) * 2002-12-06 2006-03-29 Qualcomm A method of and apparatus for adaptive control of data buffering in a data transmitter
CN100421413C (en) * 2004-12-28 2008-09-24 华为技术有限公司 Method for adjusting size of transmission buffer in control sub layer of wireless link
CN100466628C (en) * 2006-11-13 2009-03-04 华为技术有限公司 Method and device for allocating cache quene threshold, and its flow control method and device
CN102916903B (en) * 2012-10-25 2015-04-08 华为技术有限公司 Cache adjusting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1910868A (en) * 2003-12-23 2007-02-07 艾利森电话股份有限公司 Method and device for controlling alignment buffer
US20120147750A1 (en) * 2009-08-25 2012-06-14 Telefonaktiebolaget L M Ericsson (Publ) Using the ECN Mechanism to Signal Congestion Directly to the Base Station
CN104067654A (en) * 2012-01-09 2014-09-24 摩托罗拉移动有限责任公司 Dynamic tcp layer optimization for real-time field performance
CN104967498A (en) * 2015-06-11 2015-10-07 中国电子科技集团公司第五十四研究所 History-based satellite network data packet compression and transmission method
CN110062425A (en) * 2019-04-08 2019-07-26 京信通信系统(中国)有限公司 Control method, device, computer equipment and the storage medium of network transmission speed

Also Published As

Publication number Publication date
CN110062425A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
WO2020207044A1 (en) Network transmission rate control method, apparatus, computer device and storage medium
US10680839B2 (en) Data transmission using multiple channels with distinct data transmission protocols
US10165486B2 (en) Multiple-communications-standard transmission method and apparatus
US10356841B2 (en) Method, apparatus, and system for enhancing concurrent processing capability of wireless local area network
US10021182B2 (en) Method and apparatus for data synchronization
US20220117011A1 (en) Link processing method, device and storage medium
US11722574B2 (en) Packet transmission method, communication apparatus, and communication system
WO2017049925A1 (en) Network congestion control method and apparatus, and client
WO2022179288A1 (en) Smart mirror image screen projection method and device, and storage medium
WO2017214871A1 (en) Service data distribution method and device
WO2021134728A1 (en) Context management method and apparatus
WO2019061151A1 (en) Path switching method and terminal device
WO2019019150A1 (en) Data transmission method, terminal device and network device
CN111264079B (en) Data transmission method, electronic device, system and storage medium
WO2016131323A1 (en) Method and apparatus for controlling dual connection x2 state report transmission and secondary base station
US20230224253A1 (en) Communication method and apparatus
WO2018213985A1 (en) Data transmission method and apparatus
WO2019075762A1 (en) Scheduling request transmission method and terminal device
WO2021051673A1 (en) Data transmission method and apparatus, computer device, and storage medium
US8693503B2 (en) Method and device for operating and managing memory
US10554338B2 (en) Data processing method and receiving device
US20150222570A1 (en) Apparatus and method for aligning order of received packets
CN113301605B (en) Message transmission method, system and related device
CN109348491A (en) The method, device and equipment that L2 state variable step-out is restored
WO2020147768A1 (en) Data processing method and data processing apparatus

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: 19924149

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: 19924149

Country of ref document: EP

Kind code of ref document: A1