CN109936858B - Method and system for processing wireless link control data - Google Patents

Method and system for processing wireless link control data Download PDF

Info

Publication number
CN109936858B
CN109936858B CN201910126732.8A CN201910126732A CN109936858B CN 109936858 B CN109936858 B CN 109936858B CN 201910126732 A CN201910126732 A CN 201910126732A CN 109936858 B CN109936858 B CN 109936858B
Authority
CN
China
Prior art keywords
packet
data
data packet
radio bearer
subheader
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
CN201910126732.8A
Other languages
Chinese (zh)
Other versions
CN109936858A (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.)
Wuhan Hongxin Technology Development Co Ltd
Original Assignee
Wuhan Hongxin Technology Development 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 Wuhan Hongxin Technology Development Co Ltd filed Critical Wuhan Hongxin Technology Development Co Ltd
Priority to CN201910126732.8A priority Critical patent/CN109936858B/en
Publication of CN109936858A publication Critical patent/CN109936858A/en
Application granted granted Critical
Publication of CN109936858B publication Critical patent/CN109936858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for processing radio link control data, which can allocate a circular buffer corresponding to a radio bearer for the radio bearer based on the starting of a radio link control preprocessing function of the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a Radio Link Control (RLC) layer is copied to the circular buffer in advance. The copying process is dispersed to the moment that the radio link control receives the data packet each time based on the preprocessing function, the data packet is copied to a continuous circular cache in advance and the position of a subheader is reserved after the radio link control layer receives the data packet, the subheader and the data content of most complete PDCP data packets can be filled in the circular cache and copied to a transmission block memory at one time in the RLC data multiplexing process, the copying times in the multiplexing process are greatly reduced, the efficiency is improved, the time consumed by data multiplexing is reduced, and the RLC can process the data packet with larger flow.

Description

Method and system for processing wireless link control data
Technical Field
The present invention relates to the field of 5G communication technologies, and in particular, to a method and a system for processing radio link control data in a 5G communication system.
Background
In a 5G wireless communication system, due to the use of larger transmission bandwidth, shorter time slot length and large-scale wireless technology, the peak transmission rate of a single cell is improved by dozens of times compared with 4G, and can reach the magnitude of 10G bps, and the peak rate of a single terminal can also reach more than 1.5G bps. In order to achieve such a high transmission rate, the size of a Transport Block (TB) allocated to a terminal by a single time by a Medium Access Control (MAC) layer of a base station is greatly increased to be more than 100000 bytes, and the data multiplexing time is shortened to be within 0.5ms, which requires that the data processing speed of the base station and the terminal is greatly increased compared with the conventional data processing speed.
The traditional flow of processing Data by a base station is that an RLC (Radio Link Control) layer receives a PDCP (Packet Data Convergence Protocol) Data Packet and stores the Data Packet into a buffer queue, then the RLC layer reports the total byte number of the Data in the current buffer to an MAC layer, the MAC layer performs resource allocation according to the requested byte number, determines the size of the TB which is scheduled and allocated, then the RLC performs Data multiplexing according to the size of the TB, adds a subheader to each buffered PDCP Data Packet and then copies the subheader to a memory of the TB in sequence, one TB may contain a plurality of PDCP packets or segments of the packets, each Packet needs to be copied once, when the TB block is large, a large number of Data packets need to be copied to the same TB to fill the whole TB, thus the number of Data copying is greatly increased, much time is consumed, and the Data multiplexing process has time limit in the base station processing process, if the specified processing time is exceeded, incomplete TB transmission can be caused, so that the allocated resources cannot be fully utilized, the rate is reduced, and the receiving end can receive wrong data to influence service transmission.
Disclosure of Invention
In view of the above problems, the present invention provides a method and a system for processing radio link control data, which reduces data copy processing time and meets the requirement of large-flow data transmission.
In order to achieve the purpose, the invention provides the following technical scheme:
a method of radio link control data processing, the method comprising:
responding to the starting of a radio link control preprocessing function of a radio bearer, and allocating a cyclic cache corresponding to the radio bearer for the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a radio link control layer is copied to the cyclic cache in advance;
when the radio link control layer receives a packet data convergence protocol data packet, performing packet format configuration on the packet data convergence protocol data packet copied into the circular cache according to a preset packet configuration format, and filling a configured packet header and packet contents into the circular cache;
and responding to the medium access control layer to multiplex the transmission blocks, acquiring data from the circular cache according to the length of the transmission blocks, and copying the data into the transmission blocks to realize the multiplexing of the transmission data blocks.
Optionally, the method further comprises:
and determining whether each radio bearer starts a preprocessing function or not according to the data volume cached by each radio bearer of the radio link control layer.
Optionally, the determining, according to the data amount cached by each radio bearer of the radio link control layer, whether each radio bearer starts a preprocessing function includes:
acquiring a judgment index corresponding to each radio bearer, and calculating the average value of the judgment indexes in a statistical period;
judging whether the average value meets a preset opening threshold, if so, opening a preprocessing function of the radio bearer;
the judgment index is determined according to the number of the packet data convergence protocol data packets to be sent in the radio bearer or the number of the packet data convergence protocol data packets multiplexed in each scheduling.
Optionally, the configuring, according to a preset data packet configuration format, a data packet format of the packet data convergence protocol data packet copied to the circular cache, and filling the configured packet header and data packet contents into the circular cache includes:
when a wireless link control layer receives a packet data convergence protocol data packet, setting the length of a reserved medium access control subheader and a wireless link control subheader corresponding to each data packet according to a preset length, wherein the preset length represents the length of the total length of two subheaders determined according to the subheader length when the complete data packet is multiplexed;
and continuously storing the packet head and the data content of each packet data convergence protocol data packet and the migration data packet into the circular buffer.
Optionally, the multiplexing a transport block in response to the mac layer, acquiring data from the circular buffer according to the length of the transport block, and copying the data to the transport block includes:
responding to a medium access control layer to carry out transmission block multiplexing, checking from a current initial position in a circulating cache corresponding to the radio bearer, judging whether a first data packet needing multiplexing is a segmented packet or not, and if so, constructing a segmented subheader in front of the data packet;
if the first data packet to be multiplexed is a complete packet, filling sub-header content in the position of the original reserved packet header;
checking whether each packet data convergence protocol data packet in a circular cache can be multiplexed or not, and if the accumulated length from the sub-head of the first data packet multiplexed at this time does not reach the number of bytes allocated by the radio bearer, sequentially filling the sub-head of each complete packet data convergence protocol data packet in the circular cache;
if the number of bytes is distributed in a multiplexing way so that the last data packet cannot be completely multiplexed, performing subheader construction on the last data packet, and copying the content of a segmented packet formed by the subheader and the data packet which cannot be multiplexed to the circular cache;
and copying data from the circular buffer to realize multiplexing of the radio bearer.
A radio link control data processing system, the system comprising:
the allocation unit is used for responding to the starting of a radio link control preprocessing function of a radio bearer and allocating a circular buffer corresponding to the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a radio link control layer is copied to the circular buffer in advance;
a configuration unit, configured to, when the radio link control layer receives a packet data convergence protocol data packet, perform packet format configuration on the packet data convergence protocol data packet copied to the circular cache according to a preset packet configuration format, and fill a configured packet header and packet contents into the circular cache;
and the multiplexing unit is used for responding to the medium access control layer to multiplex the transmission block, acquiring data from the circular cache according to the length of the transmission block, and copying the data into the transmission block to realize the multiplexing of the transmission data block.
Optionally, the system further comprises:
and the preprocessing determining unit is used for determining whether each radio bearer starts a preprocessing function or not according to the data volume cached by each radio bearer of the radio link control layer.
Optionally, the preprocessing determination unit includes:
the calculating subunit is used for acquiring a judgment index corresponding to each radio bearer and calculating an average value of the judgment indexes in a statistical period;
a judging subunit, configured to judge whether the average value meets a preset starting threshold, and if so, start a preprocessing function of the radio bearer;
the judgment index is determined according to the number of the packet data convergence protocol data packets to be sent in the radio bearer or the number of the packet data convergence protocol data packets multiplexed in each scheduling.
Optionally, the configuration unit includes:
a length setting subunit, configured to set, when the packet data convergence protocol data packet is received by the radio link control layer, a length of a reserved medium access control subheader and a length of a radio link control subheader corresponding to each data packet according to a preset length, where the preset length represents a length determined by a total length of two subheaders according to a subheader length when a complete data packet is multiplexed;
and the data storage subunit is used for continuously storing the packet head and the data content of each packet data convergence protocol data packet and the migration data packet into the circular cache.
Optionally, the multiplexing unit includes:
a data packet judgment subunit, configured to perform transport block multiplexing in response to a mac layer, check from a current start position in a circular buffer corresponding to the radio bearer, judge whether a first data packet to be multiplexed is a segment packet, and if so, construct a segment subheader before the data packet;
a first filling subunit, configured to fill sub-header content in a position of an original reserved packet header if the first data packet to be multiplexed is a complete packet;
a second filling subunit, configured to check whether each packet data convergence protocol data packet in the cyclic buffer can be multiplexed, and if the cumulative length from the subheader of the first data packet multiplexed this time does not reach the number of bytes allocated by the radio bearer, sequentially fill the subheader of each complete packet data convergence protocol data packet in the cyclic buffer;
the structure subunit is used for performing subheader structure on the last data packet and copying the content of the segmented packet formed by the subheader and the data packet which cannot be multiplexed to the circular cache if the number of bytes distributed in the multiplexing mode is reached so that the last data packet cannot be completely multiplexed;
and the data copying subunit is used for copying the data from the circular buffer to realize multiplexing of the radio bearer.
Compared with the prior art, the invention provides a radio link control data processing method and system applied to a 5G communication system, which can allocate a circular buffer corresponding to a radio bearer for the radio bearer based on the starting of a radio link control preprocessing function of the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a Radio Link Control (RLC) layer is copied to the circular buffer in advance. The method can disperse the copying process of the Packet Data Convergence Protocol (PDCP) data packet to the time when the radio link control receives the data packet each time based on the preprocessing function, copy the data packet to a continuous circular buffer in advance after the radio link control layer receives the data packet and reserve the position of a subheader, and can fill the subheader and data content of most complete PDCP data packets in the circular buffer and copy the subheader and the data content to a transmission block memory at one time in the RLC data multiplexing process, thereby greatly reducing the copying times in the multiplexing process, improving the efficiency and reducing the time consumed by data multiplexing, and enabling the RLC to process the data packet with larger flow.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for processing rlc data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the processing of radio bearers in the 5G standard in layers;
fig. 3 is a schematic diagram illustrating a packet header and packet contents of a PDCP data packet according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a radio link control data processing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
In an embodiment of the present invention, a method for processing radio link control data is provided, and referring to fig. 1, the method includes:
s101, responding to the starting of a radio link control preprocessing function of a radio bearer, and distributing a circular cache corresponding to the radio bearer for the radio bearer;
wherein the preprocessing function is characterized by copying the packet data convergence protocol data packet received by the radio link control layer to the circular buffer in advance.
In the prior art, when data multiplexing is performed after a Transport Block (TB) is scheduled by an MAC, packet headers are added one by one and Packet Data Convergence Protocol (PDCP) data packets are copied, and tens of times of data packet copying operations are performed in the multiplexing process of a single TB, so that the time consumption is long, and the efficiency is low. Referring to fig. 2, which is a schematic diagram of the processing of the radio bearer in each layer in the 5G standard, a packet header is added when the packet is processed in each layer of PDCP, RLC, MAC, since the RLC layer of the 5G standard cancels the function of packet concatenation, only the complete packet and the segmentation of the packet can be multiplexed, therefore, an RLC subheader and an MAC subheader are added to each PDCP packet, and after a Radio Bearer (RB) is established, the length of the MAC subheader of the bearer is fixed (one of 2 or 3 bytes), the RLC subheader length is related to whether the multiplexed packet is a complete packet or a segmented packet, the subheader length of the RLC is fixed (one of 1 to 3 bytes) when it is a complete packet, the header of the RLC becomes long (2 bytes added) when it is a segmented packet, but segmented packets may only appear in the first and last multiplexed packets of a Radio Bearer (RB), with the intermediate multiplexed packets being complete packets. When the traffic of the terminal is large, a single scheduling allocation Transport Block (TB) is large, and one Radio Bearer (RB) of the RLC multiplexes dozens of packets at a time, wherein most of the packets are complete PDCP packets with fixed header lengths, and the packets are sequentially added with the headers and copied into a continuous TB memory one by one during processing, and the multiplexing is performed dozens of times, so that the time consumption is long, and the efficiency is low.
In the embodiment of the invention, the PDCP data packet is preprocessed in advance before the TB packet is multiplexed, and the packet header and the content of the data packet are filled into a continuous circular buffer. Therefore, it is first determined whether each radio bearer starts the preprocessing function, specifically, according to the data amount buffered by each Radio Bearer (RB) of the Radio Link Control (RLC) layer.
The judging process comprises the following steps:
acquiring a judgment index corresponding to each radio bearer, and calculating the average value of the judgment indexes in a statistical period;
judging whether the average value meets a preset opening threshold, if so, opening a preprocessing function of the radio bearer;
the judgment index is determined according to the number of the packet data convergence protocol data packets to be sent in the radio bearer or the number of the packet data convergence protocol data packets multiplexed in each scheduling.
Because the pre-processing function needs to copy the PDCP data packet received by the RLC to the circular buffer in advance, a certain memory space is occupied, and the number of radio bearers in one base station may be large, if the pre-processing is started, the memory consumption is too large, a certain condition or index needs to be set, that is, the radio bearer corresponding to the index meeting the pre-processing start threshold will start the pre-processing function. The preprocessing function is to independently judge whether to start or not for each radio bearer, and the specific judgment condition may be the number of PDCP data packets to be sent in the radio bearer and the number of PDCP data packets multiplexed in each scheduling. One or both of the two conditions are selected as a basis for judging whether to start the preprocessing, and the opening threshold corresponding to the judgment condition can be respectively set, and the termination threshold can also be set. And calculating the average value of the judgment indexes corresponding to the two conditions in a statistical period, opening the preprocessing function of the radio bearer when the average value exceeds an opening threshold, and closing the preprocessing function of the radio bearer if the average value is lower than a termination threshold. In order to prevent frequent opening and closing preprocessing, the setting of the two thresholds has a certain difference, in addition, a holding timer can be set, and the minimum time interval of the state transition of the two adjacent opening and closing preprocessing is larger than the time length of the holding timer.
It should be noted that the above-mentioned judgment basis for the opening threshold and the closing threshold is only an example in the embodiment of the present invention, and different parameters may be selected to implement the function in actual implementation.
When the RLC preprocessing function of a radio bearer is started, a cyclic buffer for preprocessing is allocated to the radio bearer, where the buffer is a continuous memory and can store a certain number of PDCP data packets, and a specific size of the buffer may be set according to an actual situation, for example, approximately 500 or 1000 PDCP data packets may be stored.
S102, when the radio link control layer receives a packet data convergence protocol data packet, according to a preset data packet configuration format, performing data packet format configuration on the packet data convergence protocol data packet copied to the circular cache, and filling the configured packet header and the data packet content into the circular cache.
When a wireless link control layer receives a packet data convergence protocol data packet, setting the length of a reserved medium access control subheader and a wireless link control subheader corresponding to each data packet according to a preset length, wherein the preset length represents the length of the total length of two subheaders determined according to the subheader length when the complete data packet is multiplexed;
and continuously storing the packet head and the data content of each packet data convergence protocol data packet and the migration data packet into the circular buffer.
For example, when the PLC receives a PDCP packet, the contents of the packet are copied to the circular buffer, but instead of directly copying the data, the length of the MAC and PLC subheader is reserved in front of each packet, and the total length of the two subheaders is determined according to the length of the subheader when the complete packet is reused, e.g., the length is a fixed value from 3 to 6 bytes according to the configuration of the radio bearer. The header and data content of each PDCP data packet are placed in succession with the previous packet, as shown in fig. 3, the header content is pre-filled in the multiplex format of the PDCP complete packet, and the fields related to the RLC Sequence Number (SN) are not filled. And when the length of the data packet added to the subheader is not enough in the residual space in the circular cache, suspending copying the data packet into the cache until the residual space in the cache exists, and then continuing copying.
And S103, responding to the medium access control layer to multiplex the transmission block, acquiring data from the circular cache according to the length of the transmission block, and copying the data into the transmission block to realize the multiplexing of the transmission data block.
When multiplexing is performed, in another embodiment of the invention the process comprises:
responding to a medium access control layer to carry out transmission block multiplexing, checking from a current initial position in a circulating cache corresponding to the radio bearer, judging whether a first data packet needing multiplexing is a segmented packet or not, and if so, constructing a segmented subheader in front of the data packet;
if the first data packet to be multiplexed is a complete packet, filling sub-header content in the position of the original reserved packet header;
checking whether each packet data convergence protocol data packet in a circular cache can be multiplexed or not, and if the accumulated length from the sub-head of the first data packet multiplexed at this time does not reach the number of bytes allocated by the radio bearer, sequentially filling the sub-head of each complete packet data convergence protocol data packet in the circular cache;
if the number of bytes is distributed in a multiplexing way so that the last data packet cannot be completely multiplexed, performing subheader construction on the last data packet, and copying the content of a segmented packet formed by the subheader and the data packet which cannot be multiplexed to the circular cache;
and copying data from the circular buffer to realize multiplexing of the radio bearer.
Specifically, when the RLC layer receives the total size of the Transport Blocks (TBs) allocated by the MAC scheduling and the number of bytes allocated to each Radio Bearer (RB), data multiplexing is performed, if the radio bearer participating in multiplexing has started a preprocessing function, a check is performed from the current starting position in a circular buffer of the radio bearer, if the first data packet to be multiplexed is a segmented packet, a subheader for segmentation is re-constructed and filled in before the packet (2 bytes longer than the subheader of the complete data packet), if the first data packet to be multiplexed is a complete packet, the subheader content is directly filled in the position of the original reserved packet header, mainly the RLC sequence number field, and other fields are already filled in during preprocessing and do not need to be filled in again. Then, it checks whether each data packet can be multiplexed or not, if the cumulative length from the subheader of the first data packet multiplexed this time has not reached the number of bytes allocated by the radio bearer, it continues the multiplexing process, and fills the subheader of each complete PDCP data packet (mainly filling the RLC sequence number field) in the circular buffer. If the last data packet can not be completely multiplexed to form a segmented packet because of reaching the multiplexing distribution byte number, copying all the data packets filled with subheaders in the circular buffer to the TB memory once from the subheader of the first data packet multiplexed at this time, constructing the subheader of the last segmented packet, and copying the subheader and the contents of the segmented packet to the TB memory, thus completing the multiplexing process of a radio bearer only by 2 times of copying. And if no segmented packet is generated at last during multiplexing, copying all the data multiplexed at this time in the circular cache to the TB memory once. Therefore, the multiplexing process of a radio bearer can be completed only by copying for several times under the normal condition, and the copying times are greatly reduced compared with the traditional mode. If the number of bytes allocated to the radio bearer at this time remains after all data in the circular buffer are multiplexed, checking whether the radio bearer has new data which is not copied into the circular buffer, and if the new data exists, continuing the data multiplexing process according to the flow of packet-by-packet copying until no new data packet exists or the number of bytes allocated at this time is used up.
If the radio bearer participating in multiplexing does not start the preprocessing function, traversing each PDCP data packet needing multiplexing one by one in sequence, adding the packet header to each data packet and copying the data packet to a TB memory, wherein each data packet needs to be copied once.
The invention provides a radio link control data processing method applied to a 5G communication system, which can allocate a circular buffer corresponding to a radio bearer for the radio bearer based on the starting of a radio link control preprocessing function of the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a Radio Link Control (RLC) layer is copied to the circular buffer in advance. The method can disperse the copying process of the Packet Data Convergence Protocol (PDCP) data packet to the time when the radio link control receives the data packet each time based on the preprocessing function, copy the data packet to a continuous circular buffer in advance after the radio link control layer receives the data packet and reserve the position of a subheader, and can fill the subheader and data content of most complete PDCP data packets in the circular buffer and copy the subheader and the data content to a transmission block memory at one time in the RLC data multiplexing process, thereby greatly reducing the copying times in the multiplexing process, improving the efficiency and reducing the time consumed by data multiplexing, and enabling the RLC to process the data packet with larger flow.
Referring to fig. 4, in an embodiment of the present invention, there is further provided a radio link control data processing system, including:
an allocating unit 10, configured to allocate a circular buffer corresponding to a radio bearer to the radio bearer in response to an activation of a radio link control preprocessing function of the radio bearer, where the preprocessing function represents that a packet data convergence protocol packet received by a radio link control layer is copied to the circular buffer in advance;
a configuration unit 20, configured to, when the radio link control layer receives a packet data convergence protocol data packet, perform packet format configuration on the packet data convergence protocol data packet copied to the circular cache according to a preset packet configuration format, and fill a configured packet header and packet contents into the circular cache;
and the multiplexing unit 30 is configured to perform transport block multiplexing in response to the mac layer, acquire data from the circular buffer according to the length of the transport block, and copy the data to the transport block, thereby implementing data block multiplexing.
On the basis of the above embodiment, the system further includes:
and the preprocessing determining unit is used for determining whether each radio bearer starts a preprocessing function or not according to the data volume cached by each radio bearer of the radio link control layer.
On the basis of the above embodiment, the preprocessing determining unit includes:
the calculating subunit is used for acquiring a judgment index corresponding to each radio bearer and calculating an average value of the judgment indexes in a statistical period;
a judging subunit, configured to judge whether the average value meets a preset starting threshold, and if so, start a preprocessing function of the radio bearer;
the judgment index is determined according to the number of the packet data convergence protocol data packets to be sent in the radio bearer or the number of the packet data convergence protocol data packets multiplexed in each scheduling.
On the basis of the above embodiment, the configuration unit includes:
a length setting subunit, configured to set, when the packet data convergence protocol data packet is received by the radio link control layer, a length of a reserved medium access control subheader and a length of a radio link control subheader corresponding to each data packet according to a preset length, where the preset length represents a length determined by a total length of two subheaders according to a subheader length when a complete data packet is multiplexed;
and the data storage subunit is used for continuously storing the packet head and the data content of each packet data convergence protocol data packet and the migration data packet into the circular cache.
On the basis of the above embodiment, the multiplexing unit includes:
a data packet judgment subunit, configured to perform transport block multiplexing in response to a mac layer, check from a current start position in a circular buffer corresponding to the radio bearer, judge whether a first data packet to be multiplexed is a segment packet, and if so, construct a segment subheader before the data packet;
a first filling subunit, configured to fill sub-header content in a position of an original reserved packet header if the first data packet to be multiplexed is a complete packet;
a second filling subunit, configured to check whether each packet data convergence protocol data packet in the cyclic buffer can be multiplexed, and if the cumulative length from the subheader of the first data packet multiplexed this time does not reach the number of bytes allocated by the radio bearer, sequentially fill the subheader of each complete packet data convergence protocol data packet in the cyclic buffer;
the structure subunit is used for performing subheader structure on the last data packet and copying the content of the segmented packet formed by the subheader and the data packet which cannot be multiplexed to the circular cache if the number of bytes distributed in the multiplexing mode is reached so that the last data packet cannot be completely multiplexed;
and the data copying subunit is used for copying the data from the circular buffer to realize multiplexing of the radio bearer.
The invention provides an RLC data preprocessing system for a 5G communication system, which adds sub-headers to a plurality of PDCP data packets in advance through RLC, copies the sub-headers to a circulating Buffer (Buffer), copies contents with corresponding length in the circulating Buffer to a TB memory according to the byte number of the TB after receiving a TB scheduling result of MAC, thereby completing the multiplexing process of the plurality of PDCP data packets with few copy times, reducing the processing time and meeting the requirement of large-flow data transmission. In the prior art, when data multiplexing is performed after MAC schedules of TBs, the header is added one by one and the PDCP data packets are copied, and dozens of times of data packet copying operations are performed in the multiplexing process of a single TB, so that the time consumption is long and the efficiency is low. The scheme preprocesses the PDCP data packet in advance before the TB packet multiplexing, fills the packet header and the content of the data packet into continuous circular cache, when the MAC scheduling finishes the TB multiplexing, only takes out the connected whole data section from the circular cache according to the length of the TB and modifies a small amount of the packet header to finish the multiplexing process, the data copying frequency is only one time or a plurality of times, the copying frequency is greatly reduced, the time consumption is shortened, the efficiency is improved, and the requirement of higher transmission rate can be met.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A method of radio link control data processing, the method comprising:
responding to the starting of a radio link control preprocessing function of a radio bearer, and allocating a cyclic cache corresponding to the radio bearer for the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a radio link control layer is copied to the cyclic cache in advance;
when a wireless link control layer receives a packet data convergence protocol data packet, setting the length of a reserved medium access control subheader and a wireless link control subheader corresponding to each data packet according to a preset length, wherein the preset length represents the length of the total length of two subheaders determined according to the subheader length when the complete data packet is multiplexed;
continuously storing the packet head and the data content of each packet data convergence protocol data packet and the migration data packet into the circular cache;
responding to a medium access control layer to carry out transmission block multiplexing, checking from a current initial position in a circulating cache corresponding to the radio bearer, judging whether a first data packet needing multiplexing is a segmented packet or not, and if so, constructing a segmented subheader in front of the data packet;
if the first data packet to be multiplexed is a complete packet, filling sub-header content in the position of the original reserved packet header;
checking whether each packet data convergence protocol data packet in a circular cache can be multiplexed or not, and if the accumulated length from the sub-head of the first data packet multiplexed at this time does not reach the number of bytes allocated by the radio bearer, sequentially filling the sub-head of each complete packet data convergence protocol data packet in the circular cache;
if the number of bytes is distributed in a multiplexing way so that the last data packet cannot be completely multiplexed, performing subheader construction on the last data packet, and copying the content of a segmented packet formed by the subheader and the data packet which cannot be multiplexed to the circular cache;
and copying data from the circular buffer to realize multiplexing of the radio bearer.
2. The method of claim 1, further comprising:
and determining whether each radio bearer starts a preprocessing function or not according to the data volume cached by each radio bearer of the radio link control layer.
3. The method of claim 2, wherein the determining whether the pre-processing function is activated for each radio bearer according to the data amount buffered for each radio bearer in the rlc layer comprises:
acquiring a judgment index corresponding to each radio bearer, and calculating the average value of the judgment indexes in a statistical period;
judging whether the average value meets a preset opening threshold, if so, opening a preprocessing function of the radio bearer;
the judgment index is determined according to the number of the packet data convergence protocol data packets to be sent in the radio bearer or the number of the packet data convergence protocol data packets multiplexed in each scheduling.
4. A radio link control data processing system, comprising:
the allocation unit is used for responding to the starting of a radio link control preprocessing function of a radio bearer and allocating a circular buffer corresponding to the radio bearer, wherein the preprocessing function represents that a packet data convergence protocol data packet received by a radio link control layer is copied to the circular buffer in advance;
a length setting subunit, configured to set, when the packet data convergence protocol data packet is received by the radio link control layer, a length of a reserved medium access control subheader and a length of a radio link control subheader corresponding to each data packet according to a preset length, where the preset length represents a length determined by a total length of two subheaders according to a subheader length when a complete data packet is multiplexed;
the data storage subunit is used for continuously storing the packet head and the data content of each packet data convergence protocol data packet and the migration data packet into the circular cache;
a data packet judgment subunit, configured to perform transport block multiplexing in response to a mac layer, check from a current start position in a circular buffer corresponding to the radio bearer, judge whether a first data packet to be multiplexed is a segment packet, and if so, construct a segment subheader before the data packet;
a first filling subunit, configured to fill sub-header content in a position of an original reserved packet header if the first data packet to be multiplexed is a complete packet;
a second filling subunit, configured to check whether each packet data convergence protocol data packet in the cyclic buffer can be multiplexed, and if the cumulative length from the subheader of the first data packet multiplexed this time does not reach the number of bytes allocated by the radio bearer, sequentially fill the subheader of each complete packet data convergence protocol data packet in the cyclic buffer;
the structure subunit is used for performing subheader structure on the last data packet and copying the content of the segmented packet formed by the subheader and the data packet which cannot be multiplexed to the circular cache if the number of bytes distributed in the multiplexing mode is reached so that the last data packet cannot be completely multiplexed;
and the data copying subunit is used for copying the data from the circular buffer to realize multiplexing of the radio bearer.
5. The system of claim 4, further comprising:
and the preprocessing determining unit is used for determining whether each radio bearer starts a preprocessing function or not according to the data volume cached by each radio bearer of the radio link control layer.
6. The system of claim 5, wherein the pre-processing determination unit comprises:
the calculating subunit is used for acquiring a judgment index corresponding to each radio bearer and calculating an average value of the judgment indexes in a statistical period;
a judging subunit, configured to judge whether the average value meets a preset starting threshold, and if so, start a preprocessing function of the radio bearer;
the judgment index is determined according to the number of the packet data convergence protocol data packets to be sent in the radio bearer or the number of the packet data convergence protocol data packets multiplexed in each scheduling.
CN201910126732.8A 2019-02-20 2019-02-20 Method and system for processing wireless link control data Active CN109936858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910126732.8A CN109936858B (en) 2019-02-20 2019-02-20 Method and system for processing wireless link control data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910126732.8A CN109936858B (en) 2019-02-20 2019-02-20 Method and system for processing wireless link control data

Publications (2)

Publication Number Publication Date
CN109936858A CN109936858A (en) 2019-06-25
CN109936858B true CN109936858B (en) 2022-03-25

Family

ID=66985720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910126732.8A Active CN109936858B (en) 2019-02-20 2019-02-20 Method and system for processing wireless link control data

Country Status (1)

Country Link
CN (1) CN109936858B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132999B (en) * 2019-12-31 2022-10-21 中国移动通信有限公司研究院 Resource allocation method, device, network equipment and storage medium
CN114039989A (en) * 2021-10-28 2022-02-11 诺领科技(南京)有限公司 Low-cost and low-power-consumption data processing method based on NB-IoT system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043301A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Data rearrangement and recombination method in wireless communication system and its base station
CN101697630A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and device for reporting status of wireless link extended buffer area
CN101867972A (en) * 2010-06-29 2010-10-20 中国科学院计算技术研究所 Data transmission method in unacknowledged mode of wireless link control layer
CN102395156A (en) * 2011-09-28 2012-03-28 电信科学技术研究院 Data transmission methods and device applied between packet data convergence protocol (PDCP) entity and radio link control (RLC) entity
CN102655448A (en) * 2011-03-03 2012-09-05 工业和信息化部电信传输研究所 Data transmission method for medium access control layer of long-term evolution system
CN105517053A (en) * 2016-02-01 2016-04-20 京信通信技术(广州)有限公司 Method and system for reducing wireless link control layer protocol data unit subdivision sections
WO2017020270A1 (en) * 2015-08-05 2017-02-09 Qualcomm Incorporated Deep packet inspection indication for a mobile cdn

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532638B2 (en) * 2005-06-01 2009-05-12 Broadcom Corporation Wireless terminal baseband processor high speed turbo decoding module supporting MAC header splitting
US10462802B2 (en) * 2013-08-07 2019-10-29 Interdigital Patent Holdings, Inc. Distributed scheduling for device-to-device communication
CN104010370B (en) * 2014-04-28 2019-07-09 北京邮电大学 Heterogeneous system fused controlling method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043301A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Data rearrangement and recombination method in wireless communication system and its base station
CN101697630A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and device for reporting status of wireless link extended buffer area
CN101867972A (en) * 2010-06-29 2010-10-20 中国科学院计算技术研究所 Data transmission method in unacknowledged mode of wireless link control layer
CN102655448A (en) * 2011-03-03 2012-09-05 工业和信息化部电信传输研究所 Data transmission method for medium access control layer of long-term evolution system
CN102395156A (en) * 2011-09-28 2012-03-28 电信科学技术研究院 Data transmission methods and device applied between packet data convergence protocol (PDCP) entity and radio link control (RLC) entity
WO2017020270A1 (en) * 2015-08-05 2017-02-09 Qualcomm Incorporated Deep packet inspection indication for a mobile cdn
CN105517053A (en) * 2016-02-01 2016-04-20 京信通信技术(广州)有限公司 Method and system for reducing wireless link control layer protocol data unit subdivision sections

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Draft Report for RAN2 #93 ";ETSI MCC;《3GPP R2-162150》;20160415;全文 *
"Overall description";3rd Generation Partnership Project;《3GPP TS 36.300 V15.2.0》;20180707;全文 *

Also Published As

Publication number Publication date
CN109936858A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN107872885B (en) Method and device for reporting buffer status report
US6956834B2 (en) Method and apparatus for allocating bandwidth in a wireless communication system
JP4331187B2 (en) Dynamic bandwidth allocation apparatus and method in Ethernet passive optical communication network, and EPON master apparatus using the same
US8391292B2 (en) Systems and methods for dynamically adjusting QoS parameters
CN101821966B (en) Method and apparatus for adjusting uplink data rate in mobile communication system
EP2374246B1 (en) Admission control systems and methods
US8130709B2 (en) Apparatus and method for transmitting and receiving control information for uplink data in a mobile communication system and system thereof
CN109936858B (en) Method and system for processing wireless link control data
WO2014075555A1 (en) Method and device for scheduling slot resources
GB2268372A (en) Bandwidth allocation in data transmission systems
JP2001508987A (en) Channel allocation method and corresponding system in communication network
JP2001516192A (en) Transmission of information in telecommunication systems
KR20090014937A (en) Random access procedure practice method and apparatus in mobile communication system
WO2018059308A1 (en) Buffer status reporting and resource scheduling method and terminal, device and storage medium
CN109788570B (en) Logic channel priority resource scheduling method and device
CN104469855A (en) Method and device for selecting time slot resources
CN107800643B (en) Message forwarding method and device
KR102121782B1 (en) Method and system for providing deterministic quality of service for communication devices
CN100455110C (en) Random access channel distribution and access method
CN104348753A (en) Data packet forwarding method and data packet forwarding device
CN101772049A (en) Processing method for periodic buffer status report timer and terminal
CN109756936B (en) Stream mapping method, stream receiving method, network device and terminal
WO2022188686A1 (en) Communication method and device
CN116781209A (en) Data transmission method, device and system
JP4395636B2 (en) Method for efficiently utilizing data packets of different capacities for a communication system, and central office and subscriber unit

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201126

Address after: 430205 Hubei city of Wuhan province Jiangxia Hidden Dragon Island Tan lake two Road No. 1

Applicant after: Wuhan Hongxin Technology Development Co.,Ltd.

Address before: 430074 Wuhan, Hongshan Province District Road, Department of mail, No. 88 hospital

Applicant before: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

GR01 Patent grant
GR01 Patent grant