CN114205307B - Data packet transmission method, RLC entity and storage medium - Google Patents

Data packet transmission method, RLC entity and storage medium Download PDF

Info

Publication number
CN114205307B
CN114205307B CN202111459247.6A CN202111459247A CN114205307B CN 114205307 B CN114205307 B CN 114205307B CN 202111459247 A CN202111459247 A CN 202111459247A CN 114205307 B CN114205307 B CN 114205307B
Authority
CN
China
Prior art keywords
data packet
transmitted
size
current data
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111459247.6A
Other languages
Chinese (zh)
Other versions
CN114205307A (en
Inventor
李静
李福昌
董秋丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111459247.6A priority Critical patent/CN114205307B/en
Publication of CN114205307A publication Critical patent/CN114205307A/en
Application granted granted Critical
Publication of CN114205307B publication Critical patent/CN114205307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data packet transmission method, an RLC entity and a storage medium, which are used for reducing negative effects generated by segmented data packets so as to improve the utilization of computing resources of a receiving end, and comprise the following steps: receiving a transmission instruction sent by a Media Access Control (MAC) entity; the transmission instruction is used for indicating the RLC entity to transmit the data packet to the MAC entity; the transmission instruction includes a transmission block size; determining the size of a current data packet to be transmitted in the plurality of data packets to be transmitted; if the size of the current data packet to be transmitted is larger than the size of the transmission block, if the target data packet exists in the plurality of data packets to be transmitted, the target data packet is sent to the MAC entity; the size of the target data packet is less than or equal to the transport block size.

Description

Data packet transmission method, RLC entity and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data packet transmission method, an RLC entity, and a storage medium.
Background
In the radio link control (radio link control, RLC) layer of the new air interface (5th generation mobile communication technology new radio,5GNR) protocol stack of the fifth generation mobile communication technology, a complete data packet corresponds to a radio link control protocol data unit (radio Link control protocol data unit, RLC PDU). After the RLC entity receives a transmission instruction indicated by a medium access control (medium access control, MAC) layer, according to the size of a transmission block indicated in the transmission instruction, an RLC PDU to be transmitted is placed in the transmission block for transmission.
However, when the transport block cannot fully accommodate the RLC PDU to be transmitted (the size of the data block is smaller than the size of the RLC PDU to be transmitted), the RLC entity performs segmented transmission on the RLC PDU, that is, a part of the RLC PDU is transmitted first, and the rest part waits for receiving the transmission instruction again and then performs transmission. When the next transmission instruction arrives, due to the existence of the segmented RLC PDU, other RLC PDUs which can be completely put into the transport block may not be completely transmitted, resulting in vicious circle, and further causing low utilization of computing resources of the receiving end.
Disclosure of Invention
The invention provides a data packet transmission method, an RLC entity and a storage medium, which are used for reducing negative effects generated by segmented data packets and further improving the utilization of computing resources of a receiving end.
In order to achieve the above purpose, the invention adopts the following technical scheme:
in a first aspect, a data packet transmission method is provided, applied to a radio link control RLC entity, including: receiving a transmission instruction sent by a Media Access Control (MAC) entity; the transmission instruction is used for indicating the RLC entity to transmit the data packet to the MAC entity; the transmission instruction includes a transmission block size; determining the size of a current data packet to be transmitted in the plurality of data packets to be transmitted; if the size of the current data packet to be transmitted is larger than the size of the transmission block, if the target data packet exists in the plurality of data packets to be transmitted, the target data packet is sent to the MAC entity; the size of the target data packet is less than or equal to the transport block size.
Optionally, the method further comprises: under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block, if the target data packet does not exist in the plurality of data packets to be transmitted, acquiring a polling value of the current data packet to be transmitted; the polling value of the current data packet to be transmitted is the number of times that the RLC entity determines the size of the current data packet to be transmitted; and sending the current data packet to be transmitted to the MAC entity under the condition that the polling value of the current data packet to be transmitted is greater than or equal to a first threshold value.
Optionally, after determining the size of the data packet to be transmitted, the method further includes: and updating the polling value of the data packet to be transmitted currently according to the preset increment.
Optionally, the method further comprises: acquiring transmission time length under the condition that the polling value of the current data packet to be transmitted is smaller than a first threshold value; the transmission time length is the time length obtained by the RLC entity in response to the transmission instruction; and sending the current data packet to be transmitted to the MAC entity under the condition that the transmission time length is greater than or equal to the second threshold value.
In a second aspect, a radio link control RLC entity is provided, including a receiving unit, a determining unit, a judging unit, and a transmitting unit; a receiving unit, configured to receive a transmission instruction sent by a medium access control MAC entity; the transmission instruction is used for indicating the RLC entity to transmit the data packet to the MAC entity; the transmission instruction includes a transmission block size; the determining unit is used for determining the size of a current data packet to be transmitted for the current data packet to be transmitted in the plurality of data packets to be transmitted; the judging unit is used for judging whether the size of the current data packet to be transmitted is larger than the size of the transmission block; the judging unit is further used for sequentially determining the sizes of other data packets to be transmitted and judging whether a target data packet exists or not under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block; the sending unit is used for sending the target data packet to the MAC entity if the target data packet exists in the plurality of data packets to be transmitted under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block; the size of the target data packet is less than or equal to the transport block size.
Optionally, the RLC entity further includes an acquiring unit; the acquisition unit is used for acquiring a polling value of the current data packet to be transmitted if the target data packet does not exist in the plurality of data packets to be transmitted under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block; the polling value of the current data packet to be transmitted is the number of times that the RLC entity determines the size of the current data packet to be transmitted; and the sending unit is further used for sending the current data packet to be transmitted to the MAC entity under the condition that the polling value of the current data packet to be transmitted is greater than or equal to the first threshold value.
Optionally, the RLC entity further comprises an updating unit; and the updating unit is used for updating the polling value of the data packet to be transmitted currently according to the preset increment.
Optionally, the acquiring unit is further configured to: acquiring transmission time length under the condition that the polling value of the current data packet to be transmitted is smaller than a first threshold value; the transmission time length is the time length obtained by the RLC entity in response to the transmission instruction; and the sending unit is further used for sending the current data packet to be transmitted to the MAC entity under the condition that the transmission time length is greater than or equal to the second threshold value.
In a third aspect, there is provided a radio link control, RLC, entity comprising: a processor and a memory; wherein the memory is configured to store one or more programs, the one or more programs including computer-executable instructions that, when executed by the RLC entity, cause the RLC entity to perform the packet transfer method of the first aspect described above.
In a fourth aspect, a computer readable storage medium is provided, wherein the computer readable storage medium has instructions stored therein, which when run on a radio link control RLC entity, cause the radio link control RLC entity to perform the data packet transmission method of the first aspect.
The technical scheme provided by the invention has at least the following beneficial effects: after receiving a transmission instruction sent by an MAC entity and used for indicating the RLC entity to transmit data packets to the MAC entity, the RLC entity determines the size of a current data packet to be transmitted in a plurality of data packets to be transmitted; because the transmission instruction includes the size of the transmission block, if the size of the current data packet to be transmitted is larger than the size of the transmission block, if a target data packet with the size smaller than or equal to the transmission block exists in the plurality of data packets to be transmitted, the target data packet is sent to the MAC entity, instead of directly sending the current data packet to be transmitted to the MAC entity. Therefore, the influence on the data packet to be transmitted, the size of which is smaller than or equal to the size of the transmission block, after the current data packet to be transmitted is segmented because the size of the current data packet to be transmitted is larger than the size of the transmission block can be reduced, and the problem that the utilization rate of the computing resource of the receiving end is low due to vicious circle is avoided.
Drawings
Fig. 1 is a schematic diagram of a network protocol stack according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of processing downlink data by a network protocol stack according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 4 is a flowchart of a data packet transmission method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a data packet transmission method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an RLC entity according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a second RLC entity according to an embodiment of the present invention;
fig. 8 is a schematic diagram III of an RLC entity according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
In embodiments of the invention, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present invention, "/" means "or" unless otherwise indicated, for example, A/B may mean A or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Further, "at least one", "a plurality" means two or more. The terms "first," "second," and the like do not limit the number and order of execution, and the terms "first," "second," and the like do not necessarily differ.
The related art relating to the embodiments of the present application will be described below.
In the related art, data transmission between terminals is realized by means of a packet forwarding network. For example, before a first terminal transmits data to a second terminal, the second terminal may send a maximum transmission unit (maximum rransmission unit, MTU) message to the first terminal indicating the maximum size of data service units that it can receive; when the first terminal sends data to the second terminal through the network side, the first terminal divides the complete data into a plurality of data packets conforming to the MTU, and sends the data packets to the second terminal through the network side. If the MTU message indicates that the maximum size of the data service unit that the second terminal can receive is 1.5Kb, the first terminal may divide a complete data (the data size is 4.5 Kb) into 3 data packets of 1.5Kb, and send the data packets to the network side, where the data packets are forwarded to the second terminal by the network side.
Based on the packet forwarding network, the second terminal needs to receive all data packets corresponding to the data, and then the second terminal can process the data. Because the second terminal receives all the data packets corresponding to the data for a long time, its computing resources are in an idle state, which will lower the computing resource utilization rate of the second terminal. On the other hand, when the first terminal transmits data to the second terminal through the network side, in order to avoid congestion of the transmission link, the network side generally uses a congestion control algorithm to enable multiple terminals to share the bandwidth of the transmission link between the first terminal and the second terminal, which further increases the time for transmitting data, further increases the time for the computing resource of the second terminal to be in an idle state, and the utilization rate of the computing resource is lower.
Based on the above phenomena, future networks propose a burst forwarding technology, where a first terminal can encapsulate a complete data packet into a complete data packet for sending, so that a second terminal can immediately start processing the data after receiving the data packet, thereby improving the computing resource utilization of the second terminal.
The embodiment of the application provides a network protocol stack structure schematic diagram of a terminal, as shown in fig. 1, the network protocol stack includes a service data adaptation protocol (service data adaptation protocol, SDAP) layer, a packet data convergence protocol (packet data convergence protocol, PDCP) layer, a radio link control (radio link controlstructure, RLC) layer, a medium access control (medium access control, MAC) layer, and a Physical (PHY) layer; correspondingly, the protocol stack of the network side of the opposite terminal is also like the protocol stack of the terminal, and comprises an SDAP layer, a PDCP layer, an RLC layer, a MAC layer and a PHY layer.
Wherein, the PDCP layer communicates with the MAC layer through a logical channel of the RLC layer, and data received by the RLC layer from the PDCP layer or data transmitted to the PDCP layer is called RLC SDU or PDCP PDU; the RLC layer receives data from or transmits data to the MAC layer is called RLC PDU or MAC SDU. Here protocol data units (protocol data unit, PDU) are used to indicate that data is transmitted according to the relevant protocol, and service data units (service data unit, SDU) are used to carry the transmitted data.
Based on the above network protocol stack architecture, as shown in fig. 2, a flow diagram of the downlink data of the terminal through all the protocol layers shown in fig. 1 is provided, three internet protocol (internet protocol, IP) packets are given, which are respectively an IP packet x, an IP packet y and an IP packet z, and fig. 2 shows a process of transmitting the IP packets through each protocol layer. As shown in fig. 2, the RLC entity may Segment RLC PDUs according to a transmission instruction sent by the MAC entity, such as two RLC PDU segments in fig. 2, when transmitting data packets to the MAC layer. The transport instruction may indicate a transport block size.
The data packet transmission method provided by the embodiment of the invention can be applied to a communication system of a wireless network. Fig. 3 shows a schematic diagram of a structure of the communication system. As shown in fig. 3, communication system 10 includes RLC entity 101 and MAC entity 102. Wherein RLC entity 101 communicates with MAC entity 102 via the network protocol shown in fig. 1.
RLC entity 101 may be an RLC entity of the terminal or an RLC entity of the base station, which is not limited in this embodiment.
Accordingly, the MAC entity 102 may be a MAC entity of a terminal or a MAC entity of a base station, which is not limited in this embodiment.
RLC entity 101 is configured to transmit a transmission instruction sent by MAC entity 102; for a current data packet to be transmitted among the plurality of data packets to be transmitted, the RLC entity 101 determines a size of the current data packet to be transmitted; if the size of the current data packet to be transmitted is larger than the size of the transport block, if there is a target data packet in the plurality of data packets to be transmitted, the RLC entity 101 sends the target data packet to the MAC entity.
The data packet transmission method provided by the embodiment of the invention is specifically described below with reference to the accompanying drawings.
As shown in fig. 4, the data packet transmission method provided by the embodiment of the present invention includes the following steps S201 to S205:
s201, the RLC entity receives a transmission instruction sent by the MAC entity.
The transmission instruction is used for indicating the RLC entity to transmit the data packet to the MAC entity; the transport instruction includes a transport block size.
It should be noted that, in order to reduce the delay in 5GNR, the RLC entity may generate an RLC PDU (including header information) immediately after receiving an RLC SDU from the PDCP layer before receiving a transmission instruction sent by the MAC entity, and store the RLC PDU in a buffer (buffer) to wait for transmission, i.e., each RLC SDU corresponds to one RLC PDU.
After receiving the transmission instruction sent by the MAC entity, the RLC entity sequentially fills the RLC PDUs into the transmission blocks according to the sequence generated by each RLC PDU and the size of the transmission blocks indicated in the transmission instruction for sending.
The operation modes of the RLC entity include: a Transparent Mode (TM), a unacknowledged mode (unacknowledged mode, UM) and an acknowledged mode (acknowledged mode, AM).
For UM and AM modes, the size of the transport block indicated by the MAC entity may not be able to ensure that each RLC PDU is sent out completely, i.e., a certain RLC PDU cannot be completely filled into the transport block, then the RLC PDU needs to be segmented and the RLC header and a new RLC PDU are re-generated, a part of segmented RLC PDU is filled into the transport block for transmission, and the part of RLC PDU that is not transmitted needs to wait for the next transmission instruction to arrive. For TM mode, this mode is commonly used for small signaling packets, and the transport block size indicated by the MAC entity generally ensures that RLC PDUs generated in this mode are all sent out intact.
S202, for a current data packet to be transmitted in a plurality of data packets to be transmitted, the RLC entity determines the size of the current data packet to be transmitted.
As a possible implementation manner, after receiving a transmission instruction sent by the MAC entity, the RLC entity determines a size of a current data packet to be transmitted from a plurality of data packets to be transmitted in the buffer.
For example, there are 3 data packets to be transmitted in the RLC entity buffer, which are RLC PDU1, RLC PDU2, and RLC PDU3, respectively; the RLC entity is currently ready to transmit RLC PDU1, and the RLC entity determines the size of RLC PDU 1.
S203, the RLC entity judges whether the size of the current data packet to be transmitted is larger than the size of a transmission block.
As a possible implementation manner, the RLC entity compares the determined size of the current data packet to be transmitted with the size of the transport block in the transmission instruction sent by the MAC entity, and determines whether the size of the current data packet to be transmitted is greater than the size of the transport block.
Illustratively, when the size of the current data packet to be transmitted RLC PDU1 is 8Kb and the transport block size is 4Kb, the RLC entity determines that the size of the current data packet to be transmitted is larger than the transport block size.
S204, under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block, the RLC entity sequentially determines the sizes of other data packets to be transmitted and judges whether a target data packet exists.
Wherein the size of the target data packet is less than or equal to the transport block size.
As a possible implementation manner, in the case that the size of the current data packet to be transmitted is larger than the transport block size, the RLC entity sequentially determines the sizes of other data packets to be transmitted in the buffer. For each determined data packet to be transmitted, the RLC entity compares the size of the data packet with the size of a transmission block and judges whether the size of the data packet is smaller than or equal to the size of the transmission block; if the data packet meeting the condition exists, the RLC entity judges that the target data packet exists; otherwise, the RLC entity determines that the target packet does not exist.
For example, there are 3 data packets to be transmitted in the RLC entity buffer, which are RLC PDU1, RLC PDU2, and RLC PDU3, respectively; the size of the current data packet to be transmitted, namely RLC PDU1, is larger than the size of a transmission block, then the RLC entity sequentially determines the sizes of RLC PDU2 and RLC PDU3, and compares the sizes of RLC PDU2 and RLC PDU3 with the size of the transmission block respectively; if the size of the RLC PDU2 or RLC PDU3 is less than or equal to the transport block size, the RLC entity determines that the target data packet exists.
S205, if the target data packet exists in the plurality of data packets to be transmitted, the RLC entity sends the target data packet to the MAC entity.
For example, there are 3 data packets to be transmitted in the RLC entity buffer, which are RLC PDU1, RLC PDU2, and RLC PDU3, respectively; the size of the current data packet to be transmitted, namely RLC PDU1, is larger than the size of a transmission block, then the RLC entity sequentially determines the sizes of RLC PDU2 and RLC PDU3, and the size of RLC PDU2 is still larger than the size of the transmission block, but the size of RLC PDU3 is smaller than the size of the transmission block, then the RLC entity takes RLC PDU3 as a target data packet and sends the data packet to the MAC entity.
In one design, if the size of the current data packet to be transmitted is larger than the size of the transport block, if there is no target data packet in the multiple data packets to be transmitted, as shown in fig. 5, the following S301-S307 are further included after S205 provided in the embodiment of the present invention.
S301, the RLC entity obtains a polling value of the current data packet to be transmitted.
The number of times of determining the size of the current data packet to be transmitted is performed for the RLC entity by the polling value of the current data packet to be transmitted.
It should be noted that, an initial poll value is set for each data packet to be transmitted in the RLC entity buffer. The initial polling value is preset by the operator, and typically, the operator sets the initial polling value to nseg=0.
For any one data packet to be transmitted currently, after determining the size of the data packet, the RLC entity updates the polling value of the data packet according to a preset increment. The preset increment is preset by the operation and maintenance personnel, and in general, the operation and maintenance personnel set the preset increment to 1, that is, the RLC entity determines the size of the data packet once, and the polling value corresponding to the data packet is increased by 1.
As a possible implementation manner, in a case where the size of the current data packet to be transmitted is larger than the transport block size and the target data packet does not exist in the plurality of data packets to be transmitted, the RLC entity obtains the polling value of the current data packet to be transmitted.
S302, the RLC entity judges whether the polling value of the data packet to be transmitted is larger than or equal to a first threshold value.
It should be noted that, the first threshold is set in advance in the RLC entity by the operator.
As a possible implementation manner, the RLC entity compares the polling value of the current data packet to be transmitted with the first threshold value, and determines whether the polling value of the current data packet to be transmitted is greater than or equal to the first threshold value.
S303, the RLC entity sends the current data packet to be transmitted to the MAC entity under the condition that the polling value of the current data packet to be transmitted is greater than or equal to a first threshold value.
For example, the polling value of the current data packet to be transmitted is 5, and the first threshold is 5, which indicates that the polling value of the current data packet to be transmitted is equal to the first threshold, and the RLC entity sends the current data packet to be transmitted to the MAC entity.
It can be understood that, at this time, no target data packet exists in the RLC entity buffer, the target data packet will not be affected even if the data packet is sent in segments, and the data packet to be transmitted currently is polled multiple times, so that it can be ensured that the data packet can be sent successfully.
S304, the RLC entity obtains the transmission duration under the condition that the polling value of the current data packet to be transmitted is smaller than a first threshold value.
The transmission time length is obtained by the RLC entity by starting timing in response to the transmission instruction.
It should be noted that, the operation and maintenance personnel sets a timer in the RLC entity in advance, and when the RLC entity receives the transmission instruction sent by the MAC, the timer starts to count.
As a possible implementation manner, the RLC entity obtains the transmission duration from the timer in the case that the polling value of the current data packet to be transmitted is less than the first threshold.
S305, the RLC entity judges whether the transmission duration is greater than or equal to a second threshold.
It should be noted that the second threshold is set in advance in the RLC entity by the operator.
As a possible implementation manner, the RLC entity compares the transmission duration with a second threshold, and determines whether the transmission duration is greater than or equal to the second threshold.
For example, if the transmission duration acquired by the RLC entity is 9ms and the second threshold is 10ms, it is determined that the transmission duration is less than the second threshold; and if the transmission time length acquired by the RLC entity is 10ms and the second threshold value is 9ms, judging that the transmission time length is longer than the second threshold value.
And S306, if the transmission time length is greater than or equal to a second threshold value, the RLC entity sends the current data packet to be transmitted to the MAC entity.
As a possible implementation manner, in the case that the transmission time length is greater than or equal to the second threshold, the RLC entity sends the current data packet to be transmitted to the MAC entity, and returns the transmission time length to zero, and the timing is restarted after receiving the transmission instruction of the MAC next time.
It can be understood that, at this time, no target data packet exists in the RLC entity buffer, the target data packet will not be affected even if the data packet is sent in segments, and the transmission duration has exceeded the preset duration, so that the transmission time can be reduced as much as possible.
And S307, under the condition that the transmission duration is smaller than a second threshold value, the RLC entity determines the next data packet to be transmitted in the buffer, which is positioned in the current data packet, as the current data packet to be transmitted, and continues to execute S301-S307.
The technical scheme provided by the embodiment at least brings the following beneficial effects: after receiving a transmission instruction sent by an MAC entity and used for indicating the RLC entity to transmit data packets to the MAC entity, the RLC entity determines the size of a current data packet to be transmitted in a plurality of data packets to be transmitted; because the transmission instruction includes the size of the transmission block, if the size of the current data packet to be transmitted is larger than the size of the transmission block, if a target data packet with the size smaller than or equal to the transmission block exists in the plurality of data packets to be transmitted, the target data packet is sent to the MAC entity, instead of directly sending the current data packet to be transmitted to the MAC entity. Therefore, the influence on the data packet to be transmitted, the size of which is smaller than or equal to the size of the transmission block, after the current data packet to be transmitted is segmented because the size of the current data packet to be transmitted is larger than the size of the transmission block can be reduced, and the problem that the utilization rate of the computing resource of the receiving end is low due to vicious circle is avoided.
The foregoing description of the solution provided by the embodiments of the present invention has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the invention can divide the functional modules of the device according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present invention is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
Fig. 6 is a schematic structural diagram of an RLC entity according to an embodiment of the present invention. As shown in fig. 6, the RLC entity 40 is configured to perform the above-described packet transmission method, and the RLC entity 40 includes a receiving unit 401, a determining unit 402, a judging unit 403, and a transmitting unit 404.
A receiving unit 401, configured to receive a transmission instruction sent by a medium access control MAC entity; the transmission instruction is used for indicating the RLC entity to transmit the data packet to the MAC entity; the transport instruction includes a transport block size. For example, as shown in fig. 4, the receiving unit 401 may be used to perform S201.
A determining unit 402, configured to determine, for a current data packet to be transmitted among the plurality of data packets to be transmitted, a size of the current data packet to be transmitted. For example, as shown in fig. 4, the receiving unit 401 may be used to perform S202.
A judging unit 403, configured to judge whether the size of the current data packet to be transmitted is larger than the size of the transmission block. For example, as shown in fig. 4, the receiving unit 401 may be used to perform S203.
The judging unit 403 is further configured to sequentially determine the sizes of other data packets to be transmitted and judge whether the target data packet exists if the size of the current data packet to be transmitted is larger than the size of the transmission block. For example, as shown in fig. 4, the receiving unit 401 may be used to perform S204.
A sending unit 404, configured to send, if the size of the current data packet to be transmitted is larger than the size of the transmission block, the target data packet to the MAC entity if the target data packet exists in the plurality of data packets to be transmitted; the size of the target data packet is less than or equal to the transport block size. For example, as shown in fig. 4, the receiving unit 401 may be used to perform S205.
Optionally, the RLC entity 40 further comprises an acquisition unit 405.
An obtaining unit 405, configured to obtain, if the size of the current data packet to be transmitted is larger than the size of the transmission block, a polling value of the current data packet to be transmitted if there is no target data packet in the plurality of data packets to be transmitted; the polling value of the current data packet to be transmitted is the number of times the RLC entity performs the determination of the size of the current data packet to be transmitted.
The sending unit 404 is further configured to send the current data packet to be transmitted to the MAC entity if the polling value of the current data packet to be transmitted is greater than or equal to the first threshold.
Optionally, the RLC entity 40 further comprises an updating unit 406.
An updating unit 406, configured to update the polling value of the current data packet to be transmitted according to a preset increment.
Optionally, the acquiring unit 405 is further configured to acquire a transmission duration when a polling value of a current data packet to be transmitted is smaller than a first threshold; the transmission duration is the duration obtained by the RLC entity by starting to time in response to the transmission instruction.
The sending unit 404 is further configured to send, to the MAC entity, the current data packet to be transmitted if the transmission time period is greater than or equal to the second threshold.
In case of implementing the functions of the integrated modules in the form of hardware, an embodiment of the present invention provides a possible structural schematic diagram of an RLC entity. The RLC entity is configured to perform the data packet transmission method in the above embodiment. As shown in fig. 7, the RLC entity 50 includes a processor 501, a memory 502, and a bus 503. The processor 501 and the memory 502 may be connected by a bus 503.
The processor 501 is a control center of the RLC entity, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 501 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 501 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 7.
Memory 502 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, as well as electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 502 may exist separately from the processor 501, and the memory 502 may be connected to the processor 501 by means of a bus 503 for storing instructions or program code. The processor 501, when calling and executing instructions or program codes stored in the memory 502, can implement the packet transmission method provided in the embodiment of the present invention.
In another possible implementation, the memory 502 may also be integrated with the processor 501.
Bus 503 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 7, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 7 does not constitute a limitation of the RLC entity 50. In addition to the components shown in fig. 7, the RLC entity 50 may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As an example, in connection with fig. 6, the functions implemented by the receiving unit 401, the determining unit 402, the judging unit 403, and the transmitting unit 404 in the rlc entity 40 are the same as those of the processor 501 in fig. 7.
Optionally, as shown in fig. 7, the RLC entity 50 provided by the embodiment of the present invention may further include a communication interface 504.
A communication interface 504 for connecting with other devices via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 504 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, the electronic device provided in the embodiment of the present invention may further include a communication interface integrated in the processor.
Fig. 8 shows another hardware structure of the RLC entity in an embodiment of the present invention. As shown in fig. 8, the RLC entity 60 may include a processor 601 and a communication interface 602. The processor 601 is coupled to a communication interface 602.
The function of the processor 601 may be as described above with reference to the processor 601. The processor 601 also has a memory function, and the function of the memory 502 can be referred to.
The communication interface 602 is used to provide data to the processor 601. The communication interface 602 may be an internal interface of the RLC entity or an external interface of the RLC entity (corresponding to the communication interface 604).
It should be noted that the structure shown in fig. 8 does not constitute a limitation of the RLC entity, and the RLC entity 60 may include more or less components than those shown in fig. 8, or may combine some components, or may have a different arrangement of components.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the computer executes the instructions, the computer executes each step in the method flow shown in the method embodiment.
Embodiments of the present invention provide a computer program product comprising instructions which, when executed on a computer, cause the computer to perform the method of packet transmission in the method embodiments described above.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: electrical connections having one or more wires, portable computer diskette, hard disk. Random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), registers, hard disk, optical fiber, portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium suitable for use by a person or persons of skill in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In embodiments of the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the apparatus, the device computer readable storage medium, and the computer program product in the embodiments of the present invention can be applied to the above-mentioned method, the technical effects that can be obtained by the apparatus, the device computer readable storage medium, and the computer program product can also refer to the above-mentioned method embodiments, and the embodiments of the present invention are not described herein again.
The present invention is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present invention should be covered by the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (8)

1. A data packet transmission method, applied to a radio link control RLC entity, comprising:
receiving a transmission instruction sent by a Media Access Control (MAC) entity; the transmission instruction is used for indicating the RLC entity to transmit a data packet to the MAC entity; the transmission instruction comprises a transmission block size;
for a current data packet to be transmitted in a plurality of data packets to be transmitted, determining the size of the current data packet to be transmitted;
if the size of the current data packet to be transmitted is larger than the size of the transmission block, if a target data packet exists in the plurality of data packets to be transmitted, sending the target data packet to the MAC entity; the size of the target data packet is smaller than or equal to the size of the transmission block;
under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block, if the target data packet does not exist in the plurality of data packets to be transmitted, acquiring a polling value of the current data packet to be transmitted; the polling value of the current data packet to be transmitted is the number of times that the RLC entity executes the determination of the size of the current data packet to be transmitted; and sending the current data packet to be transmitted to the MAC entity under the condition that the polling value of the current data packet to be transmitted is greater than or equal to a first threshold value.
2. The data packet transmission method according to claim 1, wherein after said determining the size of the current data packet to be transmitted, the method further comprises:
and updating the polling value of the current data packet to be transmitted according to a preset increment.
3. The data packet transmission method according to claim 1 or 2, characterized in that the method further comprises:
acquiring transmission time length under the condition that the polling value of the current data packet to be transmitted is smaller than the first threshold value; the transmission duration is a duration obtained by starting timing of the RLC entity in response to the transmission instruction;
and sending the current data packet to be transmitted to the MAC entity under the condition that the transmission time length is greater than or equal to a second threshold value.
4. A radio link control RLC entity, comprising a receiving unit, a determining unit, a judging unit, and a transmitting unit;
the receiving unit is used for receiving a transmission instruction sent by a Media Access Control (MAC) entity; the transmission instruction is used for indicating the RLC entity to transmit a data packet to the MAC entity; the transmission instruction comprises a transmission block size;
the determining unit is configured to determine, for a current data packet to be transmitted among a plurality of data packets to be transmitted, a size of the current data packet to be transmitted;
the judging unit is configured to judge whether the size of the current data packet to be transmitted is larger than the size of the transmission block;
the judging unit is further configured to sequentially determine the sizes of other data packets to be transmitted and judge whether a target data packet exists when the size of the current data packet to be transmitted is larger than the size of the transmission block;
the sending unit is configured to send, when the size of the current data packet to be transmitted is greater than the size of the transport block, the target data packet to the MAC entity if the target data packet exists in the plurality of data packets to be transmitted; the size of the target data packet is smaller than or equal to the size of the transmission block;
the RLC entity further comprises an acquisition unit;
the acquiring unit is configured to acquire a polling value of the current data packet to be transmitted if the target data packet does not exist in the plurality of data packets to be transmitted, where the size of the current data packet to be transmitted is greater than the size of the transmission block; the polling value of the current data packet to be transmitted is the number of times that the RLC entity executes the determination of the size of the current data packet to be transmitted;
the sending unit is further configured to send the current data packet to be transmitted to the MAC entity when the polling value of the current data packet to be transmitted is greater than or equal to a first threshold.
5. The RLC entity of claim 4, further comprising an update unit;
and the updating unit is used for updating the polling value of the current data packet to be transmitted according to a preset increment.
6. The RLC entity of claim 4 or 5, wherein the acquiring unit is further configured to: acquiring transmission time length under the condition that the polling value of the current data packet to be transmitted is smaller than the first threshold value; the transmission duration is a duration obtained by starting timing of the RLC entity in response to the transmission instruction;
the sending unit is further configured to send the current data packet to be transmitted to the MAC entity when the transmission time length is greater than or equal to a second threshold.
7. A radio link control, RLC, entity comprising: a processor and a memory; wherein the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the RLC entity, cause the RLC entity to perform the packet transfer method of any of claims 1-3.
8. A computer readable storage medium having instructions stored therein which, when run on a radio link control, RLC, entity, cause the radio link control, RLC, entity to perform the data packet transmission method of any of claims 1-3.
CN202111459247.6A 2021-12-02 2021-12-02 Data packet transmission method, RLC entity and storage medium Active CN114205307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111459247.6A CN114205307B (en) 2021-12-02 2021-12-02 Data packet transmission method, RLC entity and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111459247.6A CN114205307B (en) 2021-12-02 2021-12-02 Data packet transmission method, RLC entity and storage medium

Publications (2)

Publication Number Publication Date
CN114205307A CN114205307A (en) 2022-03-18
CN114205307B true CN114205307B (en) 2023-07-18

Family

ID=80650183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111459247.6A Active CN114205307B (en) 2021-12-02 2021-12-02 Data packet transmission method, RLC entity and storage medium

Country Status (1)

Country Link
CN (1) CN114205307B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517053A (en) * 2016-02-01 2016-04-20 京信通信技术(广州)有限公司 Method and system for reducing wireless link control layer protocol data unit subdivision sections
CN106713187A (en) * 2015-11-17 2017-05-24 大唐移动通信设备有限公司 Message transmission method and device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10252533A1 (en) * 2002-11-08 2004-05-27 Philips Intellectual Property & Standards Gmbh Transmission method of data packets from transmitter to receiver, involves retransmission of selected left over data packets in another container during transmission abortion
EP1879333A1 (en) * 2006-07-12 2008-01-16 Siemens Aktiengesellschaft Method for transmitting packets in a network
CN101166138A (en) * 2006-10-19 2008-04-23 中兴通讯股份有限公司 Device for L2 virtual private network service transmission
CN101170388B (en) * 2006-10-27 2011-01-19 中兴通讯股份有限公司 Method for identifying whether resending protocol data unit is sectioned
US7796646B2 (en) * 2007-01-25 2010-09-14 International Business Machines Corporation Method and apparatus to perform segmentation off-load between two logical partitions
CN104521167A (en) * 2013-06-28 2015-04-15 华为技术有限公司 Data transmission method, apparatus, base station and user equipment
US9634949B2 (en) * 2014-03-06 2017-04-25 Samsung Electronics Co., Ltd Method and apparatus for supporting large service data unit in mobile communication system
CN108476197B (en) * 2015-12-23 2021-05-14 诺基亚通信公司 Method, apparatus and computer program product for PDU formatting according to SDU segmentation
US10700987B2 (en) * 2016-09-09 2020-06-30 Wipro Limited System and method for transmitting data over a communication network
CN106936918B (en) * 2017-03-24 2020-07-10 武汉虹信通信技术有限责任公司 R L C PDU transmission method for L TE mobile communication system
CN107580233A (en) * 2017-08-21 2018-01-12 武汉斗鱼网络科技有限公司 A kind of method, apparatus and computer equipment for transmitting data
US10476808B1 (en) * 2018-03-07 2019-11-12 Sprint Spectrum L.P. Dynamic configuration of maximum transmission unit of UE, based on receipt of oversized packet(s) at network entity
US20190289661A1 (en) * 2018-03-16 2019-09-19 Asustek Computer Inc. Method and apparatus of handling multiple radio resource control (rrc) procedures in a wireless communication system
CN113938431B (en) * 2021-09-27 2023-06-23 中国联合网络通信集团有限公司 Burst data packet transmission method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713187A (en) * 2015-11-17 2017-05-24 大唐移动通信设备有限公司 Message transmission method and device
CN105517053A (en) * 2016-02-01 2016-04-20 京信通信技术(广州)有限公司 Method and system for reducing wireless link control layer protocol data unit subdivision sections

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Evaluation of Jumboframes feasibility in LTE access networks;Marco Mezzavilla等;《2013 IEEE International Conference on Communications (ICC)》;全文 *

Also Published As

Publication number Publication date
CN114205307A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
US8223708B2 (en) Method and apparatus for handling scheduling information report
CN106034084B (en) Data transmission method and device
US11159981B2 (en) Congestion processing method and apparatus
CN107395572B (en) Data processing method and Internet of things gateway
CN103795632A (en) Data message transmission method, related equipment and system
WO2022017529A1 (en) Data transmission method and system, electronic device, and storage medium
US20180160462A1 (en) Data Radio Bearer Establishment Method and Apparatus
EP3490293B1 (en) Data receiving method, data sending method, receiving device and system
CN108632326B (en) Method and device for transmitting data by protocol data unit
EP3525421A1 (en) Data transmission method and apparatus
CN111601335B (en) Wireless network performance test method and wireless AP
CN114363351B (en) Proxy connection suppression method, network architecture and proxy server
CN113938431B (en) Burst data packet transmission method and device and electronic equipment
WO2005074195A1 (en) Method of retransmitting data frame and network apparatus using the method
CN114286447A (en) Method, device and storage medium for adjusting scheduling priority
CN108809549B (en) Data transmission method and equipment
JP2004040493A (en) Packet communication equipment and packet communication method
CN114205307B (en) Data packet transmission method, RLC entity and storage medium
CN109474956B (en) Uplink data transmission method, timer configuration method and related equipment
WO2019015487A1 (en) Data retransmission method, rlc entity and mac entity
US20190116597A1 (en) Mobile device and uplink data transmission method thereof
CN116963175A (en) Data transmission method, device and system
CN114846774B (en) Communication method and device
CN110876164B (en) Method and device for setting parameters for triggering polling and computer-readable storage medium
EP3422658B1 (en) Communication device and method for requesting communication resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant