CN114666830B - A millimeter wave base station RLC layer data transmission method and device - Google Patents

A millimeter wave base station RLC layer data transmission method and device Download PDF

Info

Publication number
CN114666830B
CN114666830B CN202011410650.5A CN202011410650A CN114666830B CN 114666830 B CN114666830 B CN 114666830B CN 202011410650 A CN202011410650 A CN 202011410650A CN 114666830 B CN114666830 B CN 114666830B
Authority
CN
China
Prior art keywords
pdcp
pdcp data
data packets
circular buffer
packet
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
CN202011410650.5A
Other languages
Chinese (zh)
Other versions
CN114666830A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202011410650.5A priority Critical patent/CN114666830B/en
Publication of CN114666830A publication Critical patent/CN114666830A/en
Application granted granted Critical
Publication of CN114666830B publication Critical patent/CN114666830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W28/00—Network traffic management; Network resource management
    • H04W28/02—Traffic management, e.g. flow control or congestion control

Landscapes

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

Abstract

The embodiment of the invention provides a millimeter wave base station RLC layer data transmission method and device, the method comprises the steps of receiving PDCP data packets of all radio bearers sent by a packet data convergence protocol PDCP layer, adding packet headers according to the radio bearers to which the PDCP data packets belong for the received PDCP data packets, caching the PDCP data packets added with the packet headers in parallel into a plurality of preset circulating buffers, responding to a Medium Access Control (MAC) layer to distribute a transmission block, determining a target circulating buffer from the circulating buffers, and acquiring the PDCP data packets from the target circulating buffer and copying the PDCP data packets to the transmission block. Through setting up a plurality of circulation buffering, can parallel buffer the PDCP data package of a plurality of radio bearers, can once only copy more PDCP data package in the circulation buffering to the transport block, can reduce data copy number of times by a wide margin to reduce the time consumption, improve RLC layer data transmission efficiency.

Description

Millimeter wave base station RLC layer data transmission method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting RLC layer data of a millimeter wave base station.
Background
In a 5G millimeter wave communication system, the peak transmission speed of a single base station reaches the order of 20G bps due to a larger transmission bandwidth, a shorter slot length and the use of a large-scale wireless technology. In order to achieve such a high transmission rate, the size of a transmission block allocated to a terminal by a base station MAC (Medium Access Control ) layer at a time is greatly increased to 100000 bytes or more, and the time for multiplexing data is shortened to within 0.125ms, which requires a great improvement in data processing speed of the base station and the terminal as compared with the prior art.
In the conventional data processing flow of the base station, each time the RLC (Radio Link Control ) layer receives a PDCP (PACKET DATA Convergence Protocol ) data packet, the RLC layer stores the data packet into a buffer queue, then reports the total number of bytes of data in the current buffer to the MAC layer, the MAC layer performs resource allocation according to the number of bytes requested, determines the size of a transmission block to be scheduled for allocation, then RLC multiplexes the data according to the size of the transmission block, adds a sub-header to each PDCP data packet in the buffer and then copies the sub-header to a memory of the transmission block in sequence, one transmission block may contain a plurality of PDCP packets or fragments of packets, each packet needs to be copied once, and when the transmission block is large, a large number of data packets need to be copied to the same transmission block to fill the whole transmission block, so the number of data copies is greatly increased, consuming more time, and the data multiplexing process is time limited in the base station processing process.
Disclosure of Invention
The embodiment of the invention aims to provide a millimeter wave base station RLC layer data transmission method and device, which are used for reducing the number of times that an RLC layer copies data packets to transmission blocks and improving the RLC layer data transmission efficiency.
The specific technical scheme is as follows:
in order to achieve the above object, an embodiment of the present invention provides a millimeter wave base station RLC layer data transmission method, which is applied to a radio link control RLC layer, and the method includes:
Receiving PDCP data packets of each radio bearer sent by a packet data convergence protocol PDCP layer;
Adding a packet header to a received PDCP data packet according to a radio bearer to which the PDCP data packet belongs, and parallelly caching the PDCP data packet added with the packet header into a plurality of preset circular buffers;
and responding to the Media Access Control (MAC) layer to allocate a transport block, determining a target cyclic buffer from the plurality of cyclic buffers, and acquiring a plurality of PDCP data packets from the target cyclic buffer and copying the PDCP data packets to the transport block, wherein the data quantity of the acquired PDCP data packets is smaller than or equal to the capacity of the transport block.
Optionally, the storing the PDCP data packet with the added packet header in parallel in a plurality of preset circular buffers includes:
and storing the PDCP data packet added with the packet header into a cyclic buffer corresponding to the radio bearer to which the PDCP data packet belongs according to the corresponding relation between the preset radio bearer and the cyclic buffer.
Optionally, the storing the PDCP data packet with the added packet header in parallel in a plurality of preset circular buffers includes:
And storing the PDCP data packet added with the packet header into a circular buffer in a main selection state at present, wherein when the PDCP data packet buffered by the circular buffer in the main selection state reaches the maximum capacity, the main selection state of the circular buffer is transferred to another circular buffer.
Optionally, the method further comprises:
And if the residual capacity of the circular buffer in the main selection state is insufficient to store the first PDCP data packet, storing the first PDCP data packet into the circular buffer in the sub selection state.
Optionally, the method further comprises:
And if the storage amount of the circulating buffered PDCP data packet in the main selection state reaches a preset threshold value, sending a transport block request to the MAC layer, wherein the transport block request is used for indicating the MAC layer to allocate transport blocks.
Optionally, the determining a target circular buffer from the plurality of circular buffers includes:
and determining the circulation buffer with the largest PDCP data packet storage capacity as a target circulation buffer.
Optionally, the number of preset circular buffers is 2.
In order to achieve the above object, an embodiment of the present invention further provides a millimeter wave base station RLC layer data transmission apparatus, which is applied to a radio link control RLC layer, and the apparatus includes:
a receiving module, configured to receive PDCP data packets of each radio bearer sent by a packet data convergence protocol PDCP layer;
the buffer module is used for adding a packet header according to a radio bearer to which the received PDCP data packet belongs and parallelly buffering the PDCP data packet added with the packet header into a plurality of preset circular buffers;
And the copying module is used for responding to the Media Access Control (MAC) layer to allocate the transport block, determining a target cyclic buffer from the plurality of cyclic buffers, and acquiring a plurality of PDCP data packets from the target cyclic buffer and copying the PDCP data packets to the transport block, wherein the data quantity of the acquired PDCP data packets is smaller than or equal to the capacity of the transport block.
Optionally, the cache module is specifically configured to:
And storing the PDCP data packet added with the packet header into a circular buffer in a main selection state at present, wherein when the PDCP data packet buffered by the circular buffer in the main selection state reaches the maximum capacity, the main selection state of the circular buffer is transferred to another circular buffer.
In order to achieve the above object, an embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
And a processor for implementing any of the above method steps when executing the program stored on the memory.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements any of the above method steps.
The embodiment of the invention has the beneficial effects that:
The millimeter wave base station RLC layer data transmission method and device provided by the embodiment of the invention are used for receiving PDCP data packets of each radio bearer sent by a PDCP layer, adding packet heads according to the radio bearers to which the PDCP data packets belong aiming at the received PDCP data packets and storing the received PDCP data packets into a plurality of preset cyclic buffers in parallel according to a preset caching rule, responding to an MAC layer to allocate a transmission block, determining a target cyclic buffer from the plurality of cyclic buffers, and acquiring a plurality of data packets from the target cyclic buffer and copying the data packets to the transmission block, wherein the data quantity of the acquired data packets is smaller than or equal to the capacity of the transmission block. Therefore, by setting a plurality of circulating buffers, PDCP data packets of a plurality of radio bearers can be buffered in parallel, and the storage of the PDCP data packets is optimized. In addition, after the MAC layer distributes the transport block, more PDCP data packets in the cyclic buffer can be copied to the transport block at one time, so that the data copying times can be greatly reduced, the time consumption is reduced, and the data transmission efficiency of the RLC layer is improved.
Of course, it is not necessary for any one product or method of practicing the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a millimeter wave base station RLC layer data transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another method for transmitting RLC layer data of a millimeter wave base station according to an embodiment of the present invention;
Fig. 3 (a) is a first schematic diagram of a millimeter-wave base station RLC layer data transmission method according to an embodiment of the present invention, fig. 3 (b) is a second schematic diagram of a millimeter-wave base station RLC layer data transmission method according to an embodiment of the present invention, and fig. 3 (c) is a third schematic diagram of a millimeter-wave base station RLC layer data transmission method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an RLC layer data transmission device of a millimeter wave base station according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, the term "and/or" describes the association relation of the association objects, which means that three relations can exist, for example, A and/or B, and can mean that A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The term "plurality" in embodiments of the present application means two or more, and other adjectives are similar.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The technical scheme provided by the embodiment of the application can be suitable for various systems, in particular to a 5G system. For example, applicable systems may be global system for mobile communications (global system of mobile communication, GSM), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) universal packet Radio service (GENERAL PACKET Radio service, GPRS), long term evolution (long term evolution, LTE), LTE frequency division duplex (frequency division duplex, FDD), LTE time division duplex (time division duplex, TDD), long term evolution-advanced (long term evolution advanced, LTE-a), universal mobile system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (worldwide interoperability for microwave access, wiMAX), 5G New air interface (New Radio, NR) systems, and the like. Terminal devices and network devices are included in these various systems. Core network parts such as evolved packet system (Evloved PACKET SYSTEM, EPS), 5G system (5 GS), etc. may also be included in the system.
In order to solve the technical problems of low data transmission efficiency caused by more data copying times and more consumed time in the process of copying data packets to a transmission block by an RLC layer in the conventional communication system, the embodiment of the invention provides a millimeter wave base station RLC layer data transmission method and device.
Referring to fig. 1, fig. 1 is a schematic flow chart of a millimeter wave base station RLC layer data transmission method according to an embodiment of the present invention, where the method may include the following steps:
S101, receiving PDCP data packets of each radio bearer sent by the PDCP layer.
For easy understanding, the application scenario of the embodiment of the present invention is briefly described below.
The millimeter wave base station RLC layer data transmission method provided by the embodiment of the invention can be applied to an RLC layer in an LTE (Long Term Evolution long term evolution) system.
The RLC layer is located between the PDCP layer, which is an upper layer of the RLC layer, and the MAC layer, which is a lower layer of the RLC layer. The RLC layer communicates with the PDCP layer through a service access point SAP (SERVICE ACCESS Port) and communicates with the MAC layer through a logical channel. The RLC layer receives and encapsulates the PDCP data packet sent by the PDCP layer, and then copies the PDCP data packet to the transport block allocated by the MAC layer.
The Transport Block is TB known to those skilled in the art, and english is called Transport Block.
In the existing scheme, in the process of copying the data packet to the transmission block by the RLC layer, the number of times of data copying is more, the consumption time is more, the data transmission efficiency is low, and in order to reduce the number of times of data copying and improve the data transmission efficiency, the millimeter wave base station RLC layer data transmission method provided by the embodiment of the invention can be adopted.
In step S101, the RLC layer may receive PDCP packets of each radio bearer transmitted by the PDCP layer.
Those skilled in the art will appreciate that the radio bearer may be a path between the RRC (Radio Resource Control ) layer and the PDCP layer for carrying data transmission.
In the LTE system, a plurality of radio bearers may be allocated, and for each radio bearer, the PDCP layer may transmit a large number of PDCP data packets. The radio bearer may correspond to a traffic flow, e.g., radio bearer RB 1 corresponds to a certain voice traffic flow, etc.
S102, adding a packet header to the received PDCP data packet according to the radio bearer to which the PDCP data packet belongs, and parallelly caching the PDCP data packet added with the packet header into a plurality of preset circular buffers.
In the embodiment of the invention, a plurality of cyclic buffers, for example, two cyclic buffers or three cyclic buffers, are preset.
Each circulation buffer is a section of continuous memory, can store certain data volume, and the storage space of the circulation buffer can be set according to actual requirements.
Furthermore, it will be appreciated by those skilled in the art that circular buffering is a memory space that supports the simultaneous performance of read and write operations. Specifically, a read-end pointer and a write-end pointer are defined in the circular buffer, when the write-end writes to the boundary of the circular buffer, the write-end pointer jumps to the other boundary to continue writing data, if the writing data quantity is larger, the write-end pointer coincides with the read-end pointer, the circular buffer can not write data again, otherwise, if the reading data quantity is larger, the read-end pointer coincides with the write-end pointer, and the circular buffer can not read data again.
When the read data volume and the written data volume are basically kept at ordinary times, the cyclic buffer can simultaneously perform the read operation and the write operation, the read operation and the write operation are not mutually influenced, and higher space utilization rate can be realized.
And adding a packet header to the received PDCP data packet according to a radio bearer to which the PDCP data packet belongs, and after adding the packet header, parallelly storing the PDCP data packet added with the packet header into a plurality of preset circular buffers.
The packet header is added to the PDCP data packet to identify the relationship between the PDCP data packet and the radio bearer, so that the radio bearer to which the PDCP data packet belongs and the corresponding service flow can be confirmed in the subsequent processing flow.
The embodiment of the invention does not limit the specific implementation of adding the packet header to the PDCP data packet according to the radio bearer.
In the embodiment of the present invention, the subsequent data transmission steps are all performed for PDCP data packets after adding the packet header.
Specifically, in the embodiment of the invention, a plurality of cyclic buffers are preset, so that the PDCP data packets of multiple radio bearers can be stored in parallel.
In one embodiment of the present invention, a correspondence between radio bearers and circular buffers may be preset. For example, if the radio bearers include a first radio bearer RB 1, a second radio bearer RB 2, a third radio bearer RB 3, and a fourth radio bearer RB 4, each of the radio bearers may be a path between the RRC layer and the PDCP layer for carrying data transmission, each radio bearer corresponding to one traffic flow. If the circular buffers include circular buffer a and circular buffer B, as an example, RB 1 and RB 2 may be set to correspond to circular buffer a, and RB 3 and RB 4 may correspond to circular buffer B. And further, the PDCP data packet with the added packet header is stored in a cyclic buffer corresponding to the radio bearer to which the PDCP data packet belongs, that is, the PDCP data packets with the added packet headers of the RB 1 and the RB 2 are stored in the cyclic buffer a, that is, the PDCP data packets with the added packet headers of the RB 3 and the RB 4 are stored in the cyclic buffer B.
In addition, if PDCP packets of RB 1 and RB 3 are received simultaneously, the PDCP packets with the appended packet header of RB 1 may be stored in the cyclic buffer a, and the PDCP packets with the appended packet header of RB 3 may be stored in the cyclic buffer B, so as to implement parallel processing of multiple PDCP packets.
Therefore, due to the fact that the plurality of circulating buffers are preset, parallel storage of PDCP data packets with multiple radio bearers can be achieved, compared with a serial storage mode of single circulating buffer, waiting time can be reduced, and data transmission efficiency can be improved.
In one embodiment of the present invention, the correspondence between radio bearers and circular buffers may not be set.
In the step S102, the PDCP packets to which the packet header is added are buffered in parallel to a plurality of preset cyclic buffers, which may specifically be:
And storing the PDCP data packet added with the packet header into a circular buffer in a main selection state at present, wherein when the PDCP data packet buffered by the circular buffer in the main selection state reaches the maximum capacity, the main selection state of the circular buffer is transferred to another circular buffer.
Specifically, in the embodiment of the present invention, the PDCP data packet added with the packet header may be preferentially stored in a cyclic buffer in a main selection state, where, in multiple cyclic buffers, only one cyclic buffer is in the main selection state at the same time, and other cyclic buffers are all in the sub-selection state, and the main selection state is not fixed, and when the PDCP data packet buffered in the cyclic buffer in the main selection state reaches the maximum capacity, the main selection state of the cyclic buffer is transferred to another cyclic buffer, that is, the cyclic buffer is transferred from the main selection state to the sub-selection state, and the other cyclic buffer is transferred from the sub-selection state to the main selection state.
The fact that the PDCP packets buffered by the circular buffer in the main selection state reach the maximum capacity is understood as that the circular buffer in the main selection state is fully occupied by PDCP packets, i.e. there is no remaining capacity, or the remaining capacity of the circular buffer in the main selection state is small enough to store any PDCP packet.
The determination mode of the cyclic buffer from the secondary selection state to the primary selection state can be set according to actual requirements. For example, the method can be random or determined according to a preset sequence, in addition, the cyclic buffer with the largest current storage capacity of the PDCP data packet can be selected from the cyclic buffers in the secondary selection state and used as the cyclic buffer to be converted, and when the PDCP data packet buffered by the cyclic buffer in the primary selection state reaches the maximum capacity, the cyclic buffer to be converted is converted from the secondary selection state to the primary selection state.
In the embodiment of the present invention, the received PDCP data packets of each radio bearer may be stored preferentially in the circular buffer in the main selection state.
In particular, if the remaining capacity of the circular buffer currently in the primary selection state is insufficient to store the first PDCP packet, the first PDCP packet is stored in the circular buffer in the secondary selection state.
Wherein the first PDCP data packet indicates any one PDCP data packet, and if the first PDCP data packet has a large data size, the remaining capacity of the circular buffer currently in the primary selection state is insufficient to store the first PDCP data packet, the first PDCP data packet is stored in any circular buffer capable of accommodating the first PDCP data packet and in the secondary selection state. In addition, in order to further increase the data transmission efficiency, the first PDCP packet may be stored in a circular buffer in a suboptimal state, capable of accommodating the first PDCP packet, and having the largest current PDCP packet storage capacity.
Referring to fig. 2, in an embodiment of the present invention, after step S102, before step S103, it may further include:
S201, if the storage amount of the circulating buffered PDCP data packet in the main selection state reaches a preset threshold value, a transport block request is sent to the MAC layer, and the transport block request is used for indicating the MAC layer to allocate transport blocks.
The preset threshold may be set according to actual requirements, for example, may be set to 90% of the total capacity of the circular buffer, or the preset threshold may be set to the total capacity of the circular buffer.
If the storage amount of the circulating buffered PDCP data packet in the main selection state reaches a preset threshold value, a transmission block request is sent to the MAC layer, and after the MAC layer receives the transmission block request, the transmission block is distributed.
It can be seen that, in the embodiment of the present invention, when the storage amount of the PDCP data packet buffered by the circular buffer in the main selection state reaches a larger value, a transport block request is sent to the MAC layer, which can reduce the number of times of sending the transport block request compared with the manner of sending the transport block request when the PDCP data packet is received, and can copy a large number of PDCP data packets each time of sending the transport block request, thereby greatly reducing the number of data copying times.
The size of the transport block allocated by the MAC layer may also be set according to the requirement, for example, the size of the transport block allocated by the MAC layer may be set to be fixed and equivalent to the total capacity of the circular buffer.
S103, responding to the MAC layer to distribute the transport blocks of the transport blocks, determining a target cyclic buffer from a plurality of cyclic buffers, and acquiring a plurality of PDCP data packets from the target cyclic buffer to copy to the transport blocks, wherein the data quantity of the acquired PDCP data packets is smaller than or equal to the capacity of the transport blocks.
In the embodiment of the present invention, after the MAC layer allocates the transport block, the RLC layer may be informed of determining the target cyclic buffer from the plurality of cyclic buffers. Preferably, a target circular buffer may be determined from a plurality of circular buffers.
In one embodiment of the present invention, the circular buffer with the largest PDCP packet storage capacity may be selected as the target circular buffer.
Specifically, under the condition that the corresponding relation between the radio bearer and the cyclic buffer is preset, the cyclic buffers of the main selection state and the sub selection state are not distinguished, and only the PDCP data packets of the radio bearer corresponding to the cyclic buffer are buffered in each cyclic buffer, after the MAC layer allocates the transport block, the RLC layer may select the cyclic buffer with the largest data amount of the currently stored PDCP data packets as the target cyclic buffer, and acquire a plurality of PDCP data packets from the target cyclic buffer and copy the PDCP data packets to the transport block.
In the case that the correspondence between radio bearer and cyclic buffer is not preset, since PDCP packets are preferentially stored in the cyclic buffer in the main selection state, in this case, the cyclic buffer in the main selection state may be directly determined as the target cyclic buffer, and a plurality of PDCP packets may be acquired from the target cyclic buffer and copied to the transport block.
In the embodiment of the present invention, the capacity of each cyclic buffer may be equal to the capacity of a transport block allocated by the MAC layer, and may accommodate a plurality of PDCP packets, for example, 100 or 1000.
Therefore, a plurality of circulating buffers are arranged, so that a large number of PDCP data packets of radio bearers can be cached in parallel, after the MAC layer distributes the transmission blocks, the PDCP data packets in the target circulating buffers can be copied to the transmission blocks all at once, the data copying times can be greatly reduced, the time consumption is reduced, and the data transmission efficiency of the RLC layer is improved.
In addition, the number of the preset circulation buffers in the embodiment of the invention can be set according to actual demands, and according to actual environment measurement and calculation, the high concurrency RLC layer data transmission can be satisfied by setting two circulation buffers, and the resource occupation can be reduced.
In order to facilitate understanding, the method for transmitting RLC layer data of the millimeter wave base station according to the embodiment of the present invention is further described below by taking two cyclic buffers as an example.
Referring to fig. 3 (a) -3 (c), two set circular buffers are a circular buffer a and a circular buffer B, respectively, as shown in fig. 3 (a), when the current circular buffer a is in a main selection state and the circular buffer B is in a sub selection state, PDCP data packets of each radio bearer are buffered in the circular buffer a preferentially. In particular, when the current remaining capacity of the circular buffer a is insufficient to buffer a PDCP packet, the PDCP packet is buffered in the circular buffer B. In the embodiment shown in fig. 3 (a), the PDCP packet of the radio bearer 4 is larger, and the current remaining capacity of the circular buffer a is insufficient to buffer the PDCP packet, so that the PDCP packet of the radio bearer 4 is buffered in the circular buffer B.
As shown in fig. 3 (b), when the PDCP packets buffered in the cyclic buffer a reach the maximum capacity, a transport block request may be initiated to the MAC layer, which allocates a transport block. At the same time, the main selection state of the circular buffer a is shifted to the circular buffer B, that is, the circular buffer a becomes the sub-selection state and the circular buffer B becomes the main selection state.
As shown in fig. 3 (c), the PDCP packets in the cyclic buffer a can be copied into a transport block all at once. At the same time, PDCP packets for each radio bearer are buffered to a circular buffer B currently in the main select state. Therefore, the data copy of the circular buffer A can be processed in parallel with the pre-buffering step of the circular buffer B, and the buffering of the PDCP data packet is not suspended because the circular buffer A performs the data copy, so that the data processing efficiency is improved.
Corresponding to the embodiment of the millimeter-wave base station RLC layer data transmission method provided by the embodiment of the present invention, the embodiment of the present invention further provides a millimeter-wave base station RLC layer data transmission device, referring to fig. 4, where the device may include the following modules:
a receiving module 401, configured to receive PDCP data packets of each radio bearer sent by a packet data convergence protocol PDCP layer;
a buffer module 402, configured to add a packet header to a received PDCP packet according to a radio bearer to which the PDCP packet belongs, and buffer the PDCP packet with the added packet header in parallel into a plurality of preset circular buffers;
A copying module 403, configured to determine a target cyclic buffer from the multiple cyclic buffers in response to the MAC layer allocating the transport block, and obtain multiple PDCP packets from the target cyclic buffer for copying to the transport block, where the data size of the obtained PDCP packets is less than or equal to the capacity of the transport block.
In one embodiment of the present invention, the buffer module 402 may be specifically configured to:
And storing the PDCP data packet added with the packet header into a circular buffer in a main selection state at present, wherein when the PDCP data packet buffered by the circular buffer in the main selection state reaches the maximum capacity, the main selection state of the circular buffer is transferred to another circular buffer.
The millimeter wave base station RLC layer data transmission device provided by the embodiment of the invention is used for receiving PDCP data packets of each radio bearer sent by a PDCP layer, adding packet headers according to the radio bearers to which the PDCP data packets belong aiming at the received PDCP data packets and storing the received PDCP data packets into a plurality of preset cyclic buffers in parallel according to a preset caching rule, responding to an MAC layer to allocate a transmission block, determining a target cyclic buffer from the plurality of cyclic buffers, and acquiring a plurality of data packets from the target cyclic buffer and copying the data packets to the transmission block, wherein the data quantity of the acquired data packets is smaller than or equal to the capacity of the transmission block. It can be seen that PDCP packets for multiple radio bearers can be buffered in parallel by providing multiple circular buffers. In addition, after the MAC layer distributes the transport block, more PDCP data packets in the cyclic buffer can be copied to the transport block at one time, so that the data copying times can be greatly reduced, the time consumption is reduced, and the data transmission efficiency of the RLC layer is improved.
The method and the device are based on the same application, and because the principles of solving the problems by the method and the device are similar, the implementation of the device and the method can be referred to each other, and the repetition is not repeated.
The embodiment of the invention also provides an electronic device, as shown in fig. 5, which comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 complete communication with each other through the communication bus 504,
A memory 503 for storing a computer program;
The processor 501 is configured to execute the program stored in the memory 503, and implement the following steps:
Receiving PDCP data packets of each radio bearer sent by a packet data convergence protocol PDCP layer;
Adding a packet header to a received PDCP data packet according to a radio bearer to which the PDCP data packet belongs, and parallelly caching the PDCP data packet added with the packet header into a plurality of preset circular buffers;
and responding to the Media Access Control (MAC) layer to allocate the transport block, determining a target cyclic buffer from the plurality of cyclic buffers, and acquiring a plurality of PDCP data packets from the target cyclic buffer to copy to the transport block, wherein the data quantity of the acquired PDCP data packets is smaller than or equal to the capacity of the transport block.
The communication bus mentioned above for the electronic device may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The Processor may be a general-purpose Processor including a central processing unit (Central Processing Unit, CPU), a network Processor (Network Processor, NP), etc., or may be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
The electronic equipment provided by the embodiment of the invention is used for receiving PDCP data packets of each radio bearer sent by a PDCP layer, adding packet headers according to the radio bearers to which the PDCP data packets belong aiming at the received PDCP data packets, storing the received PDCP data packets into a plurality of preset cyclic buffers in parallel according to a preset caching rule, responding to an MAC layer to allocate a transmission block, determining a target cyclic buffer from the cyclic buffers, and acquiring a plurality of data packets from the target cyclic buffer to copy the data packets to the transmission block, wherein the data volume of the acquired data packets is smaller than or equal to the capacity of the transmission block. It can be seen that PDCP packets for multiple radio bearers can be buffered in parallel by providing multiple circular buffers. In addition, after the MAC layer distributes the transport block, more PDCP data packets in the cyclic buffer can be copied to the transport block at one time, so that the data copying times can be greatly reduced, the time consumption is reduced, and the data transmission efficiency of the RLC layer is improved.
In still another embodiment of the present invention, a computer readable storage medium is provided, in which a computer program is stored, where the computer program when executed by a processor implements the steps of any one of the millimeter wave base station RLC layer data transmission methods described above.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps of the RLC layer data transmission method of any one of the millimeter wave base station of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the millimeter-wave base station RLC layer data transmission apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the millimeter-wave base station RLC layer data transmission method embodiments, the description is relatively simple, and the relevant points will be found in the partial description of the millimeter-wave base station RLC layer data transmission method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (9)

1.一种毫米波基站RLC层数据传输方法,其特征在于,应用于无线链路控制RLC层,所述方法包括:1. A millimeter wave base station RLC layer data transmission method, characterized in that it is applied to the radio link control RLC layer, and the method comprises: 接收分组数据汇聚协议PDCP层发送的各无线承载的PDCP数据包;Receiving PDCP data packets of each radio bearer sent by a packet data convergence protocol PDCP layer; 针对接收到的PDCP数据包,根据PDCP数据包所属的无线承载添加包头,将添加包头的PDCP数据包并行缓存至多个预先设置的循环缓冲中;For the received PDCP data packets, a packet header is added according to the radio bearer to which the PDCP data packets belong, and the PDCP data packets with the added packet header are cached in parallel in a plurality of pre-set circular buffers; 所述将添加包头的PDCP数据包并行存储至多个预先设置的循环缓冲中,包括:将添加包头的PDCP数据包优先存储至当前处于主选状态的循环缓冲,其中,当处于主选状态的循环缓冲所缓存的PDCP数据包达到最大容量,该循环缓冲的主选状态转移至另一循环缓冲;The storing of the PDCP data packets with the added headers in parallel in a plurality of pre-set circular buffers comprises: preferentially storing the PDCP data packets with the added headers in a circular buffer currently in a master selected state, wherein when the PDCP data packets cached in the circular buffer in the master selected state reaches a maximum capacity, the master selected state of the circular buffer is transferred to another circular buffer; 响应于媒体访问控制MAC层分配传输块,从所述多个循环缓冲中确定目标循环缓冲,并从所述目标循环缓冲中获取多个PDCP数据包拷贝至所述传输块,其中,所获取的PDCP数据包的数据量小于等于所述传输块的容量。In response to the media access control MAC layer allocating a transmission block, a target circular buffer is determined from the multiple circular buffers, and multiple PDCP data packets are obtained from the target circular buffer and copied to the transmission block, wherein the data volume of the obtained PDCP data packets is less than or equal to the capacity of the transmission block. 2.根据权利要求1所述的方法,其特征在于,所述将添加包头的PDCP数据包并行存储至多个预先设置的循环缓冲中,包括:2. The method according to claim 1, wherein the step of storing the PDCP data packets with added headers in parallel in a plurality of pre-set circular buffers comprises: 根据预先设置的无线承载与循环缓冲的对应关系,将添加包头的PDCP数据包存储至与该PDCP数据包所属无线承载相对应的循环缓冲中。According to the preset correspondence between the radio bearer and the circular buffer, the PDCP data packet with the added header is stored in the circular buffer corresponding to the radio bearer to which the PDCP data packet belongs. 3.根据权利要求1所述的方法,其特征在于,还包括:3. The method according to claim 1, further comprising: 若当前处于主选状态的循环缓冲的剩余容量不足以存储第一PDCP数据包,则将所述第一PDCP数据包存储至处于次选状态的循环缓冲中。If the remaining capacity of the circular buffer currently in the primary selected state is insufficient to store the first PDCP data packet, the first PDCP data packet is stored in the circular buffer in the secondary selected state. 4.根据权利要求1所述的方法,其特征在于,还包括:4. The method according to claim 1, further comprising: 若当前处于主选状态的循环缓冲的PDCP数据包存储量达到预设阈值,向所述MAC层发送传输块请求,所述传输块请求用于指示所述MAC层分配传输块。If the storage amount of the PDCP data packets in the circular buffer currently in the primary selection state reaches a preset threshold, a transport block request is sent to the MAC layer, where the transport block request is used to instruct the MAC layer to allocate a transport block. 5.根据权利要求1所述的方法,其特征在于,所述从所述多个循环缓冲中确定目标循环缓冲,包括:5. The method according to claim 1, wherein determining a target circular buffer from the plurality of circular buffers comprises: 确定PDCP数据包存储量最大的循环缓冲为目标循环缓冲。A circular buffer with the largest storage capacity of PDCP data packets is determined as the target circular buffer. 6.根据权利要求1-5任一项所述的方法,其特征在于,预先设置的循环缓冲数目为2。6. The method according to any one of claims 1-5, characterized in that the preset number of circular buffers is 2. 7.一种毫米波基站RLC层数据传输装置,其特征在于,应用于无线链路控制RLC层,所述装置包括:7. A millimeter wave base station RLC layer data transmission device, characterized in that it is applied to the radio link control RLC layer, and the device comprises: 接收模块,用于接收分组数据汇聚协议PDCP层发送的各无线承载的PDCP数据包;A receiving module, used for receiving PDCP data packets of each radio bearer sent by a packet data convergence protocol PDCP layer; 缓存模块,用于针对接收到的PDCP数据包,根据PDCP数据包所属的无线承载添加包头,将添加包头的PDCP数据包并行缓存至多个预先设置的循环缓冲中;A cache module, used for adding a packet header to a received PDCP packet according to a radio bearer to which the PDCP packet belongs, and caching the PDCP packet with the added packet header in parallel into a plurality of pre-set circular buffers; 所述缓存模块,具体用于:将添加包头的PDCP数据包优先存储至当前处于主选状态的循环缓冲,其中,当处于主选状态的循环缓冲所缓存的PDCP数据包达到最大容量,该循环缓冲的主选状态转移至另一循环缓冲;The cache module is specifically used to: preferentially store the PDCP data packet with the added header in the circular buffer currently in the main selection state, wherein when the PDCP data packet cached by the circular buffer in the main selection state reaches the maximum capacity, the main selection state of the circular buffer is transferred to another circular buffer; 拷贝模块,用于响应于媒体访问控制MAC层分配传输块,从所述多个循环缓冲中确定目标循环缓冲,并从所述目标循环缓冲中获取多个PDCP数据包拷贝至所述传输块,其中,所获取的PDCP数据包的数据量小于等于所述传输块的容量。A copy module is used to determine a target circular buffer from the multiple circular buffers in response to the media access control MAC layer allocating a transmission block, and obtain multiple PDCP data packets from the target circular buffer and copy them to the transmission block, wherein the data volume of the obtained PDCP data packets is less than or equal to the capacity of the transmission block. 8.一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;8. An electronic device, characterized in that it comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; 存储器,用于存放计算机程序;Memory, used to store computer programs; 处理器,用于执行存储器上所存放的程序时,实现权利要求1-6任一所述的方法步骤。A processor, for implementing the method steps described in any one of claims 1 to 6 when executing a program stored in a memory. 9.一种处理器可读存储介质,其特征在于,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行权利要求1-6任一项所述的方法。9. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the method according to any one of claims 1 to 6.
CN202011410650.5A 2020-12-03 2020-12-03 A millimeter wave base station RLC layer data transmission method and device Active CN114666830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011410650.5A CN114666830B (en) 2020-12-03 2020-12-03 A millimeter wave base station RLC layer data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011410650.5A CN114666830B (en) 2020-12-03 2020-12-03 A millimeter wave base station RLC layer data transmission method and device

Publications (2)

Publication Number Publication Date
CN114666830A CN114666830A (en) 2022-06-24
CN114666830B true CN114666830B (en) 2025-03-21

Family

ID=82024638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011410650.5A Active CN114666830B (en) 2020-12-03 2020-12-03 A millimeter wave base station RLC layer data transmission method and device

Country Status (1)

Country Link
CN (1) CN114666830B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120110615A (en) * 2023-12-05 2025-06-06 中兴通讯股份有限公司 Data forwarding method, network device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936858A (en) * 2019-02-20 2019-06-25 武汉虹信通信技术有限责任公司 A kind of radio link control data processing method and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1689134A3 (en) * 2005-02-07 2006-09-27 Samsung Electronics Co., Ltd. Method and apparatus for requesting/transmitting status report of a mobile communication system
JP2007043580A (en) * 2005-08-04 2007-02-15 Nec Corp Communication apparatus and data receiving method
CN101547141B (en) * 2008-03-25 2012-06-27 华为技术有限公司 Method, system and device for data transmission
KR101563008B1 (en) * 2008-12-26 2015-11-02 엘지전자 주식회사 Radio bearer release method and receiver in a wireless communication system
US8638773B2 (en) * 2009-01-29 2014-01-28 Qualcomm Incorporated RLC for multi-carrier LTE systems
US10004098B2 (en) * 2014-01-29 2018-06-19 Samsung Electronics Co., Ltd. Method and apparatus for transmitting and receiving data using a plurality of carriers in mobile communication system
CN106416403A (en) * 2014-03-19 2017-02-15 株式会社Ntt都科摩 User device and uplink data transmission method
BR112019022214A2 (en) * 2017-04-24 2020-05-12 Motorola Mobility Llc DUPLICATION OF PDCP PDUS TO A RADIO CARRIER
US10805836B2 (en) * 2017-05-05 2020-10-13 Qualcomm Incorporated Packet duplication at a packet data convergence protocol (PDCP) entity
SG11201911247VA (en) * 2017-07-21 2020-02-27 Guangdong Oppo Mobile Telecommunications Corp Ltd Method and device for processing data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936858A (en) * 2019-02-20 2019-06-25 武汉虹信通信技术有限责任公司 A kind of radio link control data processing method and system

Also Published As

Publication number Publication date
CN114666830A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US11051322B2 (en) Data processing method, apparatus, and system
CN102111808B (en) A method and device for reporting cached data volume
US8532030B2 (en) Techniques for initiating communication in a wireless network
CN108024285B (en) Data transmission method, apparatus, system, terminal and access network equipment
CN108633088B (en) Method and apparatus for resource scheduling
KR102719059B1 (en) Multi-stream ssd qos management
CN107889144B (en) Method and device for processing buffer status report
CN110999385A (en) Method and apparatus relating to splitting bearers with an uplink in a new radio
WO2020094025A1 (en) Method and device for transmitting uplink control information
WO2019028771A1 (en) Data transmission method and terminal device
US11864199B2 (en) Methods for data transmission and user equipment
CN110831206A (en) A wireless resource scheduling method and device applied to a vehicle-connected heterogeneous network
CN109756986A (en) A kind of uplink data packet resource allocation method and user terminal
CN104602346A (en) Method for allocating physical uplink control channel resources
WO2022148184A1 (en) Method and apparatus for receiving pdsch, and processor-readable storage medium
WO2018072259A1 (en) Resource scheduling method and device
CN117812719A (en) Communication method and device
CN108024341B (en) A scheduling method, terminal and base station
WO2017113993A1 (en) Method and device for adjusting resource scheduling
US11252746B2 (en) Method for data transmission, terminal device and network device
CN112242877A (en) Data transmission method, device and system
CN114666830A (en) Method and device for transmitting data of millimeter wave base station RLC layer
WO2021155604A1 (en) Information processing method and device
CN112566259B (en) Data transmission method, device, base station and storage medium
WO2019214553A1 (en) Resource allocation method and apparatus

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