CN114205307A - 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
CN114205307A
CN114205307A CN202111459247.6A CN202111459247A CN114205307A CN 114205307 A CN114205307 A CN 114205307A CN 202111459247 A CN202111459247 A CN 202111459247A CN 114205307 A CN114205307 A CN 114205307A
Authority
CN
China
Prior art keywords
data packet
transmitted
size
current data
entity
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.)
Granted
Application number
CN202111459247.6A
Other languages
Chinese (zh)
Other versions
CN114205307B (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

Images

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

Abstract

The invention discloses a data packet transmission method, an RLC entity and a storage medium, which are used for reducing the negative influence generated by segmented data packets and further improving 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 a 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; under the condition that 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 a 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 a Radio Link Control (RLC) layer of a new 5th generation mobile communication technology new radio (5 GNR) protocol stack, one complete data packet corresponds to one radio Link control protocol data unit (RLC PDU). When the RLC entity receives a transmission instruction indicated by a Media Access Control (MAC) layer, the RLC PDU to be transmitted is placed in a transmission block for transmission according to the size of the transmission block indicated in the transmission instruction.
However, when the transmission block cannot completely accommodate the RLC PDU to be transmitted (the size of the data block is smaller than that 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 remaining part waits for receiving the transmission instruction again and then transmits the RLC PDU. When a next transmission instruction comes, due to the existence of the segmented RLC PDU, other RLC PDUs which can be originally and completely put into a transmission block cannot be completely transmitted, so that a vicious circle is generated, and the utilization rate of computing resources of a receiving end is low.
Disclosure of Invention
The invention provides a data packet transmission method, an RLC entity and a storage medium, which are used for reducing the negative influence generated by segmented data packets and further improving the utilization of computing resources of a receiving end.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, a method for transmitting a data packet is provided, and is applied to a radio link control RLC entity, and includes: 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 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; under the condition that 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 a 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 includes: under the condition that the size of the current data packet to be transmitted is larger than the size of the transmission block, if a target data packet does not exist in the multiple 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.
Optionally, after determining the size of the current data packet to be transmitted, the method further includes: and updating the polling value of the current data packet to be transmitted according to a preset increment.
Optionally, the method further includes: acquiring 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 the time length obtained by starting timing 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 a second threshold value.
In a second aspect, a radio link control, RLC, entity is provided, which includes a receiving unit, a determining unit, and a transmitting unit; a receiving unit, configured to receive 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 includes a transmission block size; the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining the size of a current data packet to be transmitted in a 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 or not; the judging unit is also 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; a sending unit, configured to send a target data packet to an MAC entity if the target data packet exists in multiple data packets to be transmitted when the size of a current data packet to be transmitted is larger than the size of a 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 obtaining unit; the device comprises an obtaining unit and a transmitting unit, wherein the obtaining unit is used for obtaining a polling value of a current data packet to be transmitted if a target data packet does not exist in a 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 a 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; 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 includes an updating unit; and the updating unit is used for updating the polling value of the current data packet to be transmitted according to the preset increment.
Optionally, the obtaining unit is further configured to: acquiring 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 the time length obtained by starting timing by the RLC entity in response to the transmission instruction; and the sending unit is further configured to send the current data packet to be transmitted to the MAC entity when the transmission duration is greater than or equal to the second threshold.
In a third aspect, a radio link control, RLC, entity is provided, comprising: a processor and a memory; the memory is used for storing one or more programs, and the one or more programs include computer-executable instructions, and when the RLC entity runs, the processor executes the computer-executable instructions stored in the memory, so that the RLC entity executes the data packet transmission method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium has stored therein instructions that, when executed on a radio link control, RLC, entity, cause the radio link control, RLC, entity to perform the method for packet transmission according to the first aspect.
The technical scheme provided by the invention at least has the following beneficial effects: after receiving a transmission instruction which is sent by an MAC entity and used for indicating the RLC entity to transmit a data packet to the MAC entity, the RLC entity determines the size of the 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, when 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 size of the transmission block exists in the multiple data packets to be transmitted, the target data packet is sent to the MAC entity, and the current data packet to be transmitted is not directly sent to the MAC entity. Therefore, the influence on the data packet to be transmitted with the size smaller than or equal to the size of the transmission block after the data packet to be transmitted is segmented due to the fact that the size of the 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 computing resources of a receiving end is low due to vicious circle is avoided.
Drawings
Fig. 1 is a schematic diagram of a network protocol stack architecture according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a network protocol stack processing downlink data 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 first flowchart illustrating a data packet transmission method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a data packet transmission method according to an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of an RLC entity according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an RLC entity according to an embodiment of the present invention;
fig. 8 is a third schematic structural diagram 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 drawings in the embodiments of the present invention.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present invention, "/" means "or" unless otherwise specified, for example, a/B may mean a or B. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. Further, "at least one" or "a plurality" means two or more. The terms "first", "second", and the like do not necessarily limit the number and execution order, and the terms "first", "second", and the like do not necessarily limit the difference.
The following describes related art related to embodiments of the present application.
In the related art, data transmission between terminals is implemented by means of a packet forwarding network. For example, before the first terminal transmits data to the second terminal, the second terminal may send a Maximum Transmission Unit (MTU) message to the first terminal indicating the maximum size of data service units it can receive; when the first terminal sends data to the second terminal through the network side, a complete data is divided into a plurality of data packets which accord with MTU, and the data packets are sent 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 (data size is 4.5Kb) into 3 packets of 1.5Kb, and send the packets to the network side, which forwards the packets to the second terminal.
Based on the packet forwarding network, after the second terminal needs to receive all data packets corresponding to the data, the second terminal may process the data. Since the second terminal has a long time to receive all the data packets corresponding to the data, its computing resources are in an idle state, which will cause the utilization rate of the computing resources of the second terminal to be low. On the other hand, when the first terminal transmits data to the second terminal through the network side, in order to avoid congestion of a transmission link, the network side generally uses a congestion control algorithm to enable a plurality of terminals to share a bandwidth of the transmission link between the first terminal and the second terminal, which further increases the time for transmitting data, and further increases the time for the computing resource of the second terminal to be in an idle state, so that the utilization rate of the computing resource is lower.
Based on the phenomenon, a burst forwarding technology is provided for a future network, a first terminal can encapsulate complete data into a complete data packet to be sent, and thus a second terminal can immediately start processing the data after receiving the data packet, so that the utilization rate of computing resources of the second terminal is improved.
An embodiment of the present application provides a network protocol stack architecture diagram of a terminal, as shown in fig. 1, the network protocol stack includes a Service Data Adaptation Protocol (SDAP) layer, a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Media Access Control (MAC) layer, and a Physical (PHY) layer; correspondingly, the protocol stack of the network side of the opposite terminal, such as the protocol stack of the terminal, includes an SDAP layer, a PDCP layer, an RLC layer, an 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 data received by the RLC layer from the MAC layer or transmitted to the MAC layer is referred to as RLC PDU or MAC SDU. Here, a Protocol Data Unit (PDU) is used to indicate that data is transmitted according to a relevant protocol, and a Service Data Unit (SDU) is used to carry the transmitted data.
Based on the above network protocol stack architecture, as shown in fig. 2, a schematic flow diagram of a terminal downlink data passing through all protocol layers shown in fig. 1 is provided, three Internet Protocol (IP) data packets are given, which are an IP data packet x, an IP data packet y, and an IP data packet z, respectively, and fig. 2 shows a process of transmitting the IP data packets through each protocol layer. As shown in fig. 2, when the RLC layer transmits a data packet to the MAC layer, the RLC entity may Segment the RLC PDU according to a transmission instruction sent by the MAC entity, such as two RLC PDU segments in fig. 2. Where the transfer instruction may indicate a transfer block size.
The data packet transmission method provided by the embodiment of the invention can be suitable for a communication system of a wireless network. Fig. 3 shows a schematic structural diagram of the communication system. As shown in fig. 3, the communication system 10 includes an RLC entity 101 and a MAC entity 102. Wherein the RLC entity 101 and the MAC entity 102 communicate via the network protocol shown in fig. 1.
The RLC entity 101 may be an RLC entity of a terminal, or an RLC entity of a base station, which is not limited in this embodiment.
Correspondingly, the MAC entity 102 may be a MAC entity of a terminal, or may be a MAC entity of a base station, which is not limited in this embodiment.
The RLC entity 101 is configured to transmit a transmission instruction sent by the MAC entity 102; for a current data packet to be transmitted in a plurality of data packets to be transmitted, the RLC entity 101 determines 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 multiple data packets to be transmitted, the RLC entity 101 sends the target data packet to the MAC entity.
The following describes a data packet transmission method according to an embodiment of the present invention with reference to the accompanying drawings.
As shown in fig. 4, the data packet transmission method provided in 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 a data packet to the MAC entity; the transmission instruction includes a transport block size.
It should be noted that, in the 5GNR, in order to reduce the delay, before the RLC entity receives the transmission instruction sent by the MAC entity, after each RLC SDU is received from the PDCP layer, an RLC PDU (including header information) can be generated immediately and stored in a buffer (buffer) for transmission, that is, each RLC SDU corresponds to one RLC PDU.
After receiving the transmission instruction sent by the MAC entity, the RLC entities fill the RLC PDUs into the transmission blocks in sequence according to the size of the transmission blocks indicated in the transmission instruction and the sequence of generation of each RLC PDU for sending.
The working modes of the RLC entity comprise: transparent Mode (TM), Unacknowledged Mode (UM), and Acknowledged Mode (AM).
For UM and AM modes, the size of the transport block indicated by the MAC entity may not guarantee that each RLC PDU is completely sent out, that is, a certain RLC PDU cannot be completely filled into the transport block, the RLC PDU needs to be segmented, an RLC header and a new RLC PDU are generated again, a part of segmented RLC PDUs are filled into the transport block for transmission, and the part of RLC PDUs which are not transmitted need to wait for the next transmission instruction to be sent. For TM mode, which is commonly used for small signaling packets, the transport block size indicated by the MAC entity can generally ensure that all RLC PDUs generated in this mode are sent out completely.
S202, for the current data packet to be transmitted in the 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 the size of the current data packet to be transmitted from the multiple data packets to be transmitted in the buffer.
Illustratively, there are 3 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, 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 the 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 transmission block in the transmission instruction sent by the MAC entity, and determines whether the size of the current data packet to be transmitted is larger than the size of the transmission block.
Illustratively, the size of the current data packet RLC PDU1 to be transmitted is 8Kb, and the size of the transmission block is 4Kb, then the RLC entity determines that the size of the current data packet to be transmitted is larger than the size of the transmission block.
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 determines the sizes of other data packets to be transmitted in sequence and judges whether a target data packet exists or not.
Wherein the size of the beacon 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 size of the transmission block, 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 a target data packet exists; otherwise, the RLC entity determines that the target data packet does not exist.
Illustratively, there are 3 packets to be transmitted in the RLC entity buffer, which are RLC PDU1, RLC PDU2, and RLC PDU3 respectively; if the size of the current data packet RLC PDU1 to be transmitted is larger than the size of a transmission block, the RLC entity determines the sizes of the RLC PDU2 and the RLC PDU3 in sequence and compares the sizes of the RLC PDU2 and the 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 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.
Illustratively, there are 3 packets to be transmitted in the RLC entity buffer, which are RLC PDU1, RLC PDU2, and RLC PDU3 respectively; if the size of the current data packet RLC PDU1 to be transmitted is larger than the size of the transmission block, the RLC entity determines the sizes of RLC PDU2 and RLC PDU3 in sequence, 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, the RLC entity takes RLC PDU3 as a target data packet, and sends the data packet to the MAC entity.
In one design, when the size of the current data packet to be transmitted is larger than the size of the transmission block, if there is no target data packet in the multiple data packets to be transmitted, as shown in fig. 5, the following S301 to 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 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.
It should be noted that, an initial polling value is set for each packet to be transmitted in the RLC entity buffer. The initial polling value is preset by the operation and maintenance staff, and in general, the operation and maintenance staff sets Nseg to 0.
For any current data packet to be transmitted, after the RLC entity determines 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, each time the RLC entity determines the size of the data packet, the polling value corresponding to the data packet is increased by 1.
As a possible implementation manner, the RLC entity obtains a polling value of a current data packet to be transmitted when the size of the current data packet to be transmitted is larger than the size of a transmission block and a target data packet does not exist in a plurality of data packets to be transmitted.
S302, the RLC entity judges whether the polling value of the current 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 the RLC entity by the operation and maintenance staff in advance.
As a possible implementation manner, the RLC entity compares the polling value of the current data packet to be transmitted with a first threshold, and determines whether the polling value of the current data packet to be transmitted is greater than or equal to the first threshold.
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 larger than or equal to the first threshold value.
Illustratively, 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, the RLC entity buffer does not have the target data packet, the target data packet is not affected even if the data packet is sent in a segmented manner, and the data packet to be currently transmitted is polled for multiple times, so that the data packet can be ensured to be sent successfully.
S304, under the condition that the polling value of the current data packet to be transmitted is smaller than the first threshold value, the RLC entity obtains the transmission duration.
The transmission duration is a duration obtained by starting timing by the RLC entity in response to the transmission instruction.
It should be noted that, the operation and maintenance staff 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 time.
As a possible implementation manner, in the case that the polling value of the current data packet to be transmitted is smaller than the first threshold, the RLC entity obtains the transmission duration from the timer.
S305, the RLC entity judges whether the transmission time length is larger than or equal to a second threshold value.
It should be noted that the second threshold is set in the RLC entity by the operation and maintenance staff in advance.
As a possible implementation manner, the RLC entity compares the transmission duration with the 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; if the transmission duration acquired by the RLC entity is 10ms and the second threshold is 9ms, it is determined that the transmission duration is greater than the second threshold.
S306, the RLC entity sends the current data packet to be transmitted to the MAC entity under the condition that the transmission duration is greater than or equal to the second threshold.
As a possible implementation manner, when the transmission duration 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 resets the transmission duration to zero, and restarts timing after receiving the transmission instruction of the MAC next time.
It can be understood that, at this time, the RLC entity buffer does not have the target packet, the target packet is not affected even if the target packet is sent in a segmented manner, and the transmission time length exceeds the preset time length, so that the transmission time can be reduced as much as possible.
S307, under the condition that the transmission duration is less than the second threshold, the RLC entity determines the next data packet to be transmitted positioned in the buffer and the current data packet to be transmitted as the current data packet to be transmitted, and continues to execute S301-S307.
The technical scheme provided by the embodiment at least has the following beneficial effects: after receiving a transmission instruction which is sent by an MAC entity and used for indicating the RLC entity to transmit a data packet to the MAC entity, the RLC entity determines the size of the 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, when 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 size of the transmission block exists in the multiple data packets to be transmitted, the target data packet is sent to the MAC entity, and the current data packet to be transmitted is not directly sent to the MAC entity. Therefore, the influence on the data packet to be transmitted with the size smaller than or equal to the size of the transmission block after the data packet to be transmitted is segmented due to the fact that the size of the 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 computing resources of a receiving end is low due to vicious circle is avoided.
The scheme provided by the embodiment of the invention is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing 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 performed as hardware or computer software drives 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.
In the embodiment of the present invention, the device may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
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-mentioned packet transmission method, and the RLC entity 40 includes a receiving unit 401, a determining unit 402, a judging unit 403, and a sending unit 404.
A receiving unit 401, configured to receive 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 includes a transport block size. For example, as shown in fig. 4, the receiving unit 401 may be configured to perform S201.
A determining unit 402, configured to determine, for a current data packet to be transmitted in the multiple 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 configured to perform S202.
A determining unit 403, configured to determine 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 configured to perform S203.
The determining unit 403 is further configured to, when the size of the current data packet to be transmitted is larger than the size of the transmission block, sequentially determine the sizes of other data packets to be transmitted, and determine whether a target data packet exists. For example, as shown in fig. 4, the receiving unit 401 may be configured to execute S204.
A sending unit 404, configured to send a target data packet to the MAC entity if the target data packet exists in the multiple data packets to be transmitted when 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. For example, as shown in fig. 4, the receiving unit 401 may be configured to perform S205.
Optionally, the RLC entity 40 further includes an obtaining unit 405.
An obtaining unit 405, configured to, when the size of the current data packet to be transmitted is larger than the size of the transmission block, obtain a polling value of the current data packet to be transmitted if a target data packet does not exist in the multiple data packets 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.
The sending unit 404 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 the first threshold.
Optionally, the RLC entity 40 further includes an updating unit 406.
The updating unit 406 is configured to update the polling value of the current data packet to be transmitted according to a preset increment.
Optionally, the obtaining unit 405 is further configured to obtain the transmission duration when the polling value of the current data packet to be transmitted is smaller than the first threshold; the transmission time length is the time length obtained by starting timing by the RLC entity in response to the transmission instruction.
The sending unit 404 is further configured to send the current data packet to be transmitted to the MAC entity when the transmission duration is greater than or equal to the second threshold.
In the case of implementing the functions of the integrated module in a hardware form, the embodiment of the present invention provides a possible structural diagram of an RLC entity. The RLC entity is configured to perform the 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 a processor or a collective term for multiple processing elements. For example, the processor 501 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 501 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 7.
The memory 502 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, 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 be present separately from the processor 501, and the memory 502 may be connected to the processor 501 via a bus 503 for storing instructions or program code. The processor 501 can implement the data packet transmission method provided by the embodiment of the present invention when calling and executing the instructions or program codes stored in the memory 502.
In another possible implementation, the memory 502 may also be integrated with the processor 501.
The bus 503 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
It is to be noted that the structure shown in fig. 7 does not constitute a limitation on 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 some components may be combined, or a different arrangement of components.
As an example, in conjunction 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 in the embodiment of the present invention may further include a communication interface 504.
A communication interface 504 for connecting with other devices through a communication network. The communication network may be an ethernet network, a radio access network, a Wireless Local Area Network (WLAN), etc. The communication interface 504 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, in the electronic device provided by the embodiment of the present invention, the communication interface may be further integrated in the processor.
Fig. 8 shows another hardware structure of the RLC entity in the embodiment of the present invention. As shown in fig. 8, the RLC entity 60 may include a processor 601 and a communication interface 602. Processor 601 is coupled to a communication interface 602.
The functions of the processor 601 may refer to the description of the processor 601 above. The processor 601 also has a memory function, and the function of the memory 602 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 (corresponding to the communication interface 604) of the RLC entity.
It is 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 combine some components, or a different arrangement of components, in addition to the components shown in fig. 8.
The embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by a computer, the computer executes each step in the method flow shown in the above method embodiment.
Embodiments of the present invention provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of data packet transmission in the above-described method embodiments.
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 any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, a hard disk, an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium, in any suitable combination, or as appropriate 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. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the 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 readable storage medium, and the computer program product in the embodiments of the present invention may be applied to the method described above, for technical effects that can be obtained by the apparatus, the apparatus readable storage medium, and the computer program product, reference may also be made to the method embodiments described above, and details of the embodiments of the present invention are not repeated herein.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A data packet transmission method applied to a Radio Link Control (RLC) entity comprises the following steps:
receiving a transmission instruction sent by a Media Access Control (MAC) entity; the transmission instruction is used for instructing the RLC entity to transmit a data packet to the MAC entity; the transmission instruction comprises a transmission block size;
determining the size of a current data packet to be transmitted in a 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, if a target data packet exists in the multiple data packets to be transmitted, sending the target data packet to the MAC entity; the size of the target data packet is less than or equal to the transport block size.
2. The method of claim 1, further comprising:
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 multiple 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.
3. The method according to claim 2, wherein after the 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.
4. A method for transmitting data packets according to claim 2 or 3, characterized in that it further comprises:
acquiring transmission duration 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 the duration obtained by starting timing 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 duration is greater than or equal to a second threshold value.
5. A Radio Link Control (RLC) entity is characterized by comprising a receiving unit, a determining unit, a judging unit and a sending 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 instructing 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 the multiple data packets to be transmitted, a size of the current data packet 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 configured to, when the size of the current data packet to be transmitted is larger than the size of the transmission block, sequentially determine the sizes of other data packets to be transmitted, and judge whether a target data packet exists;
the sending unit is configured to send a target data packet to the MAC entity if the target data packet exists in the multiple data packets to be transmitted when 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.
6. The RLC entity of claim 5, further comprising an acquisition unit;
the obtaining unit is configured to obtain a polling value of the current data packet to be transmitted if the target data packet does not exist in the multiple 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 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.
7. The RLC entity of claim 6, wherein the RLC entity further comprises 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.
8. The RLC entity according to claim 6 or 7, wherein the acquiring unit is further configured to: acquiring transmission duration 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 the duration obtained by starting timing by 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 duration is greater than or equal to a second threshold.
9. 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, which when executed by the RLC entity, cause the RLC entity to perform the method of data packet transmission of any of claims 1-4.
10. A computer-readable storage medium having stored therein instructions which, when run on a radio link control, RLC, entity, cause the radio link control, RLC, entity to perform the method of data packet transmission according to any one of claims 1-4.
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 true CN114205307A (en) 2022-03-18
CN114205307B 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 (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1711726A (en) * 2002-11-08 2005-12-21 皇家飞利浦电子股份有限公司 Transmission of data packets in containers
CN101166138A (en) * 2006-10-19 2008-04-23 中兴通讯股份有限公司 Device for L2 virtual private network service transmission
CN101170388A (en) * 2006-10-27 2008-04-30 中兴通讯股份有限公司 Method for identifying whether resending protocol data unit is sectioned
US20080184224A1 (en) * 2007-01-25 2008-07-31 Ranadip Das Method and apparatus to perform segmentation off-load between two logical partitions
CN101467405A (en) * 2006-07-12 2009-06-24 西门子公司 Method for transmitting packets in a network
CN104521167A (en) * 2013-06-28 2015-04-15 华为技术有限公司 Data transmission method, apparatus, base station and user equipment
US20150256472A1 (en) * 2014-03-06 2015-09-10 Samsung Electronics Co., Ltd. Method and apparatus for supporting large service data unit in mobile communication system
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
CN106936918A (en) * 2017-03-24 2017-07-07 武汉虹信通信技术有限责任公司 For the RLC PDU transmission methods of LTE mobile communication system
CN107580233A (en) * 2017-08-21 2018-01-12 武汉斗鱼网络科技有限公司 A kind of method, apparatus and computer equipment for transmitting data
CN107809394A (en) * 2016-09-09 2018-03-16 维布络有限公司 The system and method that data are sent through communication network
US20180376372A1 (en) * 2015-12-23 2018-12-27 Nokia Solutions And Networks Oy Methods, apparatuses and computer program product for pdu formatting according to sdu segmentation
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
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
CN113938431A (en) * 2021-09-27 2022-01-14 中国联合网络通信集团有限公司 Burst data packet transmission method and device and electronic equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1711726A (en) * 2002-11-08 2005-12-21 皇家飞利浦电子股份有限公司 Transmission of data packets in containers
CN101467405A (en) * 2006-07-12 2009-06-24 西门子公司 Method for transmitting packets in a network
CN101166138A (en) * 2006-10-19 2008-04-23 中兴通讯股份有限公司 Device for L2 virtual private network service transmission
CN101170388A (en) * 2006-10-27 2008-04-30 中兴通讯股份有限公司 Method for identifying whether resending protocol data unit is sectioned
US20080184224A1 (en) * 2007-01-25 2008-07-31 Ranadip Das 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
US20150256472A1 (en) * 2014-03-06 2015-09-10 Samsung Electronics Co., Ltd. Method and apparatus for supporting large service data unit in mobile communication system
CN106713187A (en) * 2015-11-17 2017-05-24 大唐移动通信设备有限公司 Message transmission method and device
US20180376372A1 (en) * 2015-12-23 2018-12-27 Nokia Solutions And Networks Oy Methods, apparatuses and computer program product for pdu formatting according to sdu segmentation
CN105517053A (en) * 2016-02-01 2016-04-20 京信通信技术(广州)有限公司 Method and system for reducing wireless link control layer protocol data unit subdivision sections
CN107809394A (en) * 2016-09-09 2018-03-16 维布络有限公司 The system and method that data are sent through communication network
CN106936918A (en) * 2017-03-24 2017-07-07 武汉虹信通信技术有限责任公司 For the RLC PDU transmission methods of LTE 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
CN113938431A (en) * 2021-09-27 2022-01-14 中国联合网络通信集团有限公司 Burst data packet transmission method and device and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
3GPP: "\"3rd Generation Partnership Project;Technical Specification Group Services and System Aspects;IP Multimedia Subsystem (IMS);Multimedia Telephony;Media handling and interaction(Release 13)\"", 3GPP TS 26.114 V13.11.0 *
MARCO MEZZAVILLA等: "Evaluation of Jumboframes feasibility in LTE access networks", 《2013 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC)》 *
何能正等: "\"以太网数据包分段传输技术\"", 万方 *
陈晶晶;李晓记;郑霖;: ""6LoWPAN的Enhanced Route-over的分片和重组机制"", 无线电工程, no. 10 *

Also Published As

Publication number Publication date
CN114205307B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US11606720B2 (en) Flow control method and apparatus, CU, DU and storage medium
CN106034084B (en) Data transmission method and device
US20200413288A1 (en) Congestion processing method and apparatus
EP3621360A1 (en) System information transmission method and related device
CN110312282A (en) The method and apparatus of data transmission
CN113938945B (en) Method and device for sending data packet
WO2022017529A1 (en) Data transmission method and system, electronic device, and storage medium
EP3490293B1 (en) Data receiving method, data sending method, receiving device and system
CN111601335B (en) Wireless network performance test method and wireless AP
TW201836328A (en) Method and device for transmitting data using protocol data unit
CN101742513B (en) Counter check processing method, system and equipment
CN113938431B (en) Burst data packet transmission method and device and electronic equipment
WO2022142573A1 (en) Channel access method and apparatus
CN114205307B (en) Data packet transmission method, RLC entity and storage medium
CN109474956B (en) Uplink data transmission method, timer configuration method and related equipment
US20190116597A1 (en) Mobile device and uplink data transmission method thereof
WO2019015487A1 (en) Data retransmission method, rlc entity and mac entity
CN110876164B (en) Method and device for setting parameters for triggering polling and computer-readable storage medium
CN111654355A (en) Data transmission method, system, electronic device and storage medium
CN110856162A (en) Network configuration method and related device
CN112423235B (en) Data transmission method and equipment
CN113891398B (en) Resource determination method, equipment and storage medium
CN114172977B (en) Transmission Control Protocol (TCP) proxy method, device and base station
US11202226B2 (en) Uplink data transmission method, timer configuration method, and related device
US20230327810A1 (en) Handling block acknowledgements

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