CN114064273A - Method and device for optimal management of 5G NR RLC window memory - Google Patents

Method and device for optimal management of 5G NR RLC window memory Download PDF

Info

Publication number
CN114064273A
CN114064273A CN202111323126.9A CN202111323126A CN114064273A CN 114064273 A CN114064273 A CN 114064273A CN 202111323126 A CN202111323126 A CN 202111323126A CN 114064273 A CN114064273 A CN 114064273A
Authority
CN
China
Prior art keywords
memory
rlc
pointer
pointer array
downlink
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.)
Pending
Application number
CN202111323126.9A
Other languages
Chinese (zh)
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.)
ASR Microelectronics Co Ltd
Original Assignee
ASR Microelectronics 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 ASR Microelectronics Co Ltd filed Critical ASR Microelectronics Co Ltd
Priority to CN202111323126.9A priority Critical patent/CN114064273A/en
Publication of CN114064273A publication Critical patent/CN114064273A/en
Priority to PCT/CN2022/123734 priority patent/WO2023078014A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The application discloses a method for optimizing and managing a 5G NR RLC window memory. The RLC uplink window of the 5G NR in the acknowledged mode is realized by adopting a first pointer array. A memory of a first base unit size is initially allocated for the first pointer array. If the allocated memory of the first pointer array is used up, the UE allocates a memory with a first basic unit size to the first pointer array, and records the storage address of the original data of the uplink rlc pdu to be transmitted by using a pointer in the newly allocated memory of the first pointer array. After receiving the uplink state report sent by the network side, the UE releases the memory space of the pointer of the uplink RLC PDU in the RLC uplink window, wherein the pointer of the uplink RLC PDU receives the ACK information of the network side. The method realizes the 5G NR RLC uplink window by adopting the first pointer array for dynamically allocating the memory and releasing the memory, thereby obviously saving the occupation of the system memory.

Description

Method and device for optimal management of 5G NR RLC window memory
Technical Field
The present invention relates to a mobile communication technology, and in particular, to a method for optimizing and managing a memory of a 5G (fifth generation mobile communication technology) NR (New Radio) RLC (Radio Link control) uplink and downlink window.
Background
The 5G NR RLC layer is used for receiving RLC SDUs (service Data units) sent by an upper layer, and the RLC layer assembles the RLC SDUs after processing and then delivers the RLC PDUs to a lower layer. An important function of the 5G NR RLC layer is to provide reliable transmission of user data and control data, including retransmission and acknowledgement functions. The transmission modes of the RLC are: transparent Mode (TM), Unacknowledged Mode (UM), Acknowledged Mode (AM). Wherein the acknowledged mode is used to achieve reliable transmission.
The UE (user equipment) sends an uplink data packet to the network side, and the network side sends an uplink status report (status report) back to the UE according to the actual receiving condition of the uplink data packet. The uplink status report includes ACK (acknowledgement) information and NAK (negative acknowledgement) information, the ACK information indicating which data packets are received, and the NAK information indicating which data packets are not received. The UE retransmits the data packet with the NAK information according to the indication of the uplink status report. The network side sends the downlink data packet to the UE, and due to the quality problem of the air interface, a packet loss phenomenon may occur in the period, and at this time, the UE sends a downlink status report to the network side according to the actual receiving condition of the downlink data packet, and indicates the receiving condition of the downlink data packet to the network side, so that the network side retransmits the lost downlink data packet. And the uplink data packet and the downlink data packet are both RLC PDUs.
The basic case of RLC uplink and downlink window in acknowledged mode for 5G NR is as follows.
First, the RLC uplink WINDOW in the 5G NR acknowledged mode is maintained by three parameters TX _ NEXT, TX _ NEXT _ ACK, and AM _ WINDOW _ SIZE. Wherein, TX _ NEXT refers to the Sequence Number (SN) of the uplink RLC PDU to be sent by the UE, TX _ NEXT _ ACK refers to the sequence number of the first uplink RLC PDU that the UE has sent and waits for ACK or NAK information to be replied by the network side, and AM _ WINDOW _ SIZE refers to the SIZE of the RLC uplink WINDOW. The sequence number of the RLC PDU in the acknowledged mode is divided into two cases of 12 bits (bit) and 18 bits. For the case of a 12-bit sequence number, AM _ WINDOW _ SIZE is 2048. For the case of an 18-bit sequence number, AM _ WINDOW _ SIZE is 131072.
Second, the RLC downlink WINDOW in the 5G NR in acknowledged mode is mainly maintained by two parameters RX _ NEXT and AM _ WINDOW _ SIZE. Wherein RX _ NEXT refers to the sequence number of the first downlink RLC PDU that the UE is waiting to receive or waiting to receive in segments, and AM _ WINDOW _ SIZE refers to the SIZE of the RLC downlink WINDOW.
Due to the quality problem of the air interface, the network side of the uplink data packet sent by the UE may not receive the uplink data packet, which requires the UE side to store the original uplink data packet for retransmission. The UE may not receive the downlink data packet sent by the network, which requires the UE to record the reception condition of the downlink data packet for sending a status report to the network.
If the UE wants to implement uplink retransmission, all original uplink RLC PDUs must be backed up when the uplink RLC PDUs are first transmitted (i.e. first transmitted), because the UE does not know which uplink RLC PDUs need to be retransmitted. For the case of an 18-bit sequence number, the RLC transmission window size is 131072. This means that a maximum of 131072 data needs to be managed if uplink RLC PDUs are to be backed up. If each RLC PDU is backed up using a pointer, each pointer occupies 4 bytes, and each pointer points to the storage address of one RLC PDU, then 4 × 131072-524288 bytes of memory need to be allocated at a time.
If the UE wants to send a status report of downlink RLC PDUs to the network side, it needs to record the sequence number of each downlink RLC PDU and its downlink reception information. The downlink reception information includes: whether the downlink RLC PDU with the current sequence number is received or not is judged; whether the downlink RLC PDU with the current sequence number is segmented or not is judged; if the downlink RLC PDU of the current sequence number is segmented, whether a complete full segment is received or not is determined. These downstream reception information require a minimum of 8 bytes to indicate. Since the size of the transmission window of the RLC layer of the network side is 131072, the UE side needs to allocate 8 × 131072-1048576 bytes of memory at a time.
In the above case of only one DRB (Data Radio Bearer), if a plurality of DRBs are configured in an actual network, more memories need to be allocated at one time, which is a huge overhead for the system. In practice, all data of the size of the transmission window needs to be retransmitted rarely, which results in a large memory waste.
Disclosure of Invention
The technical problem to be solved by the application is to provide a method for optimizing and managing the memory of the uplink and downlink windows of the 5G NR RLC, so as to save the memory of the system to the greatest extent. Therefore, the present application also provides a device for optimizing and managing the uplink and downlink windows memory of the 5G NR RLC.
In order to solve the above technical problem, the present application provides a method for optimizing and managing a 5G NR RLC window memory, including the following steps. Step S11: the RLC uplink window of the 5G NR in the confirmation mode is realized by adopting a first pointer array; in the first pointer array, the size of each first basic unit is M1 × N1 bytes; the first pointer array has a maximum of L1 first elementary units. Step S12: and initializing and allocating a first basic unit size memory for the first pointer array, and recording a pointer by using M1 bytes, wherein each pointer points to the storage address of original data of an uplink RLC PDU to be transmitted by a UE with a specific sequence number. Step S13: and if the allocated memory of the first pointer array is not used up, the UE adopts a pointer to record the storage address of the original data of the uplink RLC PDU to be transmitted in the allocated memory of the first pointer array. If the allocated memory of the first pointer array is used up, the UE additionally allocates a memory with a first basic unit size for the first pointer array, and adopts a pointer to record the storage address of the original data of the uplink RLC PDU to be sent in the newly allocated memory of the first pointer array; the memory space of the first pointer array is allocated to the size of L1 first primitives at most. Step S14: after receiving the uplink state report sent by the network side, the UE releases the memory space of the pointer of the uplink RLC PDU in the RLC uplink window, wherein the pointer of the uplink RLC PDU receives the ACK information of the network side. The step S13 and the step S14 are either before or simultaneously performed. The method realizes the 5G NR RLC uplink window by adopting the first pointer array for dynamically allocating the memory and releasing the memory, thereby obviously saving the occupation of the system memory.
Preferably, in step S11, M1 is 4 bytes, N1 is 4096, and L1 is 64.
Further, in the step S12, initializing the allocated RLC uplink window can backup N1 uplink RLC PDUs.
Further, in step S14, when all uplink RLC PDUs corresponding to all pointers in a first basic unit receive ACK information, the memory of the first basic unit is released for the first pointer array.
The application also provides a method for optimizing and managing the memory of the 5G NR RLC window, which comprises the following steps. Step S21: the RLC downlink window of the 5G NR in the confirmation mode is realized by adopting a second pointer array; in the second pointer array, the size of each second basic unit is M2 × N2 bytes; the second pointer array has a maximum of L2 second basic units. Step S22: and initializing and allocating a memory with a second basic unit size for the second pointer array, and recording a sequence number and downlink receiving information of a downlink RLC PDU by using M2 bytes. Step S23: and if the allocated memory of the second pointer array is not used up, the UE records the sequence number and downlink receiving information of the newly received downlink RLC PDU in the allocated memory of the second pointer array. If the allocated memory of the second pointer array is used up, the UE additionally allocates a memory with a second basic unit size for the second pointer array, and records the sequence number and downlink receiving information of the newly received downlink RLC PDU in the newly allocated memory of the second pointer array; the memory space of the second pointer array is allocated to the size of at most L2 second primitives. Step S24: and the UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window. The step S23 and the step S24 are either before or simultaneously performed. The method realizes the 5G NR RLC downlink window by adopting the second pointer array for dynamically allocating the memory and releasing the memory, thereby obviously saving the occupation of the system memory.
Preferably, in the step S21, M2 is 8 bytes, N2 is 4096, and L2 is 64.
Further, in step S22, the downlink reception information includes: whether the downlink RLC PDU with the current sequence number is received or not is judged; whether the downlink RLC PDU with the current sequence number is segmented or not is judged; if the downlink RLC PDU with the current sequence number is segmented, whether the complete full segments are received or not is judged; initializing the allocated RLC downlink window can back up N2 downlink RLC PDUs.
Further, in step S24, when all the corresponding downlink RLC PDUs in a second basic unit are completely received, the memory of the second basic unit is released for the second pointer array.
The application also provides a device for optimizing and managing the memory of the 5G NR RLC window, which comprises a first implementation unit, a first initial allocation unit, a first subsequent allocation unit and a first release unit. The first implementation unit is used for implementing the RLC uplink window of the 5G NR in the acknowledged mode by adopting a first pointer array; in the first pointer array, the size of each first basic unit is M1 × N1 bytes; the first pointer array has a maximum of L1 first elementary units. The first initial allocation unit is configured to initially allocate a memory of a first basic unit size for the first pointer array, and record a pointer using M1 bytes, where each pointer points to a storage address of original data of an uplink RLC PDU to be transmitted by a UE of a specific sequence number. The first subsequent allocation unit is used for recording a storage address of original data of an uplink RLC PDU to be transmitted by adopting a pointer in the allocated memory of the first pointer array when the allocated memory of the first pointer array is not used up; the first pointer array is used for allocating a memory with a first basic unit size to the first pointer array when the allocated memory of the first pointer array is used up, and a pointer is adopted in the newly allocated memory of the first pointer array to record the storage address of the original data of the uplink RLC PDU to be sent; the memory space of the first pointer array is allocated to the size of L1 first basic units at most. The first releasing unit is used for releasing the memory space of the pointer of the uplink RLC PDU in the RLC uplink window after the UE receives the uplink status report sent by the network side and the ACK information of the network side is received. The device realizes the 5G NR RLC uplink window by adopting the first pointer array for dynamically allocating the memory and releasing the memory, thereby obviously saving the occupation of the system memory.
The application also provides a device for optimizing and managing the memory of the 5G NR RLC window, which comprises a second implementation unit, a second initial allocation unit, a second subsequent allocation unit and a second release unit. The second implementation unit is configured to implement the RLC downlink window in the acknowledged mode by using a second pointer number group; in the second pointer array, the size of each second basic unit is M2 × N2 bytes; the second pointer array has a maximum of L2 second basic units. The second initial allocation unit is configured to initially allocate a memory of a second basic unit size for the second pointer array, and record a sequence number and downlink reception information of a downlink RLC PDU using M2 bytes. The second subsequent allocation unit is configured to record a sequence number and downlink reception information of a newly received downlink RLC PDU in an allocated memory of the second pointer count group when the allocated memory of the second pointer count group is not used up; the second pointer array is used for allocating a memory with a second basic unit size to the second pointer array when the allocated memory of the second pointer array is used up, and recording a sequence number and downlink receiving information of a newly received downlink RLC PDU in the newly allocated memory of the second pointer array; the memory space of the second pointer array is allocated to the size of L2 second basic units at most. The second releasing unit is configured to release a memory space of the received complete downlink RLC PDU in an RLC downlink window. The device realizes the 5G NR RLC downlink window by adopting a second pointer array for dynamically allocating and releasing the memory, thereby obviously saving the occupation of the system memory.
The method has the technical effects that the uplink and downlink windows of the 5G NR RLC are respectively realized by adopting the first pointer array and the second pointer array which dynamically allocate the memory and release the memory, and the occupation of the system memory is obviously saved.
Drawings
Fig. 1 is a flowchart illustrating a first embodiment of a method for 5G NR RLC window memory optimization management according to the present application.
Fig. 2 is a flowchart illustrating a second embodiment of a method for 5G NR RLC window memory optimization management according to the present application.
Fig. 3 is a schematic structural diagram of a first embodiment of an apparatus for 5G NR RLC window memory optimization management according to the present application.
Fig. 4 is a schematic structural diagram of a second embodiment of the apparatus for 5G NR RLC window memory optimization management according to the present application.
The reference numbers in the figures illustrate: 11 is a first implementation unit, 12 is a first initial allocation unit, 13 is a first subsequent allocation unit, 14 is a first release unit, 21 is a second implementation unit, 22 is a second initial allocation unit, 23 is a second subsequent allocation unit, and 24 is a second release unit.
Detailed Description
Referring to fig. 1, an embodiment of the method for optimizing and managing the memory of the 5G NR RLC window provided by the present application includes the following steps, which are applicable to the 5G NR RLC uplink window.
Step S11: the RLC uplink window of the 5G NR in the acknowledged mode is realized by adopting a first pointer array. The pointer array is also referred to as a dynamic two-dimensional array. In the first pointer array, the size of each first basic unit (one-dimensional array) is M1 × N1 bytes. The first pointer array has a maximum of M1 × N1 × L1 bytes, i.e., a maximum of L1 first elementary units. The size of the first basic unit can be changed according to actual requirements. Preferably, M1 is 4 bytes, N1 is 4096, and L1 is 64.
Step S12: and initializing and allocating a memory with a first basic unit size for the first pointer array, and recording a pointer by using M1 bytes, wherein each pointer points to a storage address of original data of uplink RLC PDUs to be transmitted by a UE with a specific sequence number, namely, initializing and allocating an RLC uplink window to back up N1 uplink RLC PDUs.
Step S13: and if the allocated memory of the first pointer array is not used up, the UE adopts a pointer to record the storage address of the original data of the uplink RLC PDU to be transmitted in the allocated memory of the first pointer array.
If the allocated memory of the first pointer array is used up, the UE additionally allocates a memory with a first basic unit size for the first pointer array, and records the storage address of the original data of the uplink RLC PDU to be transmitted by adopting a pointer in the newly allocated memory of the first pointer array. And newly adding N1 uplink RLC PDUs for backup in the RLC uplink window of the allocated memory. And so on, but the memory space of the first pointer array is allocated to the size of the L1 first basic units at most.
Step S14: after receiving the uplink state report sent by the network side, the UE releases the memory space of the pointer of the uplink RLC PDU in the RLC uplink window, wherein the pointer of the uplink RLC PDU receives the ACK information of the network side. And when all uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive the ACK information, releasing the memory of the first basic unit for the first pointer array.
The sequence of step S13 and step S14 is not critical and can be performed either before or simultaneously.
The uplink window of the conventional 5G NR RLC adopts a static memory allocation method, and in order to accommodate the sequence number of the RLC PDU with 12 bits and 18 bits, a memory of 4 × 131072 bytes 524288 bytes needs to be allocated at a time. The 5G NR RLC uplink window adopts a dynamic array memory allocation mode, applies for the memory size of one first basic unit each time, and then carries out reasonable management and allocation as required.
If the sequence number of the RLC PDU is 12 bits in the confirmation mode by the 5G NR, the size of an RLC uplink window is 2048, and the RLC uplink window only needs one first basic unit at the moment; while omitting the above-mentioned step S13.
If the sequence number of the RLC PDU in the acknowledged mode is 18 bits in the 5G NR, the size of the RLC uplink window is 131072, and the RLC uplink window needs one or more first basic units.
In a scenario that the UE sends an uplink RLC PDU to the network side, the step of memory optimization management of the 5G NR RLC uplink window is as follows. (1) The RLC of the UE receives a new uplink RLC SDU. (2) The RLC of the UE assembles a new RLC SDU into an RLC PDU and assigns a sequence number to the RLC PDU, and records in the parameter TX _ NEXT. (3) The RLC of the UE determines whether the new RLC PDU exceeds the allocated memory size of the first pointer array. If not, the RLC of the UE records the pointer of the new RLC PDU in the allocated memory of the first pointer array. If so, the RLC of the UE dynamically allocates a new memory space with the size of the first basic unit for the first pointer array, and records a pointer of a new RLC PDU in the newly allocated memory of the first pointer array. The pointer of the new RLC PDU points to the storage address of the original data of the new RLC PDU, which is used to back up all data information of the original RLC PDU, in order to prevent the RLC PDU from needing retransmission. The size of each pointer variable is, for example, 4 bytes. (5) The RLC of the UE receives the uplink status report and updates the parameter TX _ NEXT _ ACK according to the information therein. (6) And the RLC of the UE releases the memory space of the pointer of the uplink RLC PDU in the RLC uplink window, wherein the pointer of the uplink RLC PDU receives the ACK information of the network side. When all uplink RLC PDUs corresponding to all pointers in a first basic unit receive ACK information, the memory of the first basic unit is released.
Referring to fig. 2, an embodiment of the method for optimizing and managing the memory of the 5G NR RLC window provided by the present application includes the following steps, which are applicable to the 5G NR RLC downlink window.
Step S21: the RLC downlink window of the 5G NR in acknowledged mode is implemented using the second pointer set. The pointer array is also referred to as a dynamic two-dimensional array. In the second pointer array, the size of each second basic unit (one-dimensional array) is M2 × N2 bytes. The second pointer array has a maximum of M2 × N2 × L2 bytes, i.e., a maximum of L2 second elementary units. The size of the second basic unit can be changed according to actual requirements. Preferably, M2 is 8 bytes, N2 is 4096, and L2 is 64.
Step S22: and initializing and allocating a memory with a second basic unit size for the second pointer array, and recording a sequence number and downlink receiving information of a downlink RLC PDU by using M2 bytes. The downlink reception information includes: whether the downlink RLC PDU with the current sequence number is received or not is judged; whether the downlink RLC PDU with the current sequence number is segmented or not is judged; if the downlink RLC PDU of the current sequence number is segmented, whether a complete full segment is received or not is determined. Namely, the RLC downlink window allocated by initialization can back up the sequence numbers and downlink reception information of N2 downlink RLC PDUs.
Step S23: and if the allocated memory of the second pointer array is not used up, the UE records the sequence number and downlink receiving information of the newly received downlink RLC PDU in the allocated memory of the second pointer array.
And if the allocated memory of the second pointer array is used up, the UE additionally allocates a memory with a second basic unit size for the second pointer array, and records the sequence number and downlink receiving information of the newly received downlink RLC PDU in the newly allocated memory of the second pointer array. The RLC downlink window with newly allocated memory can newly record the sequence numbers and downlink receiving information of N2 downlink RLC PDUs. And so on, but the memory space of the second pointer array is allocated to the size of the L2 second basic units at most.
Step S24: and the UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window. And when all the corresponding downlink RLC PDUs in one second basic unit are completely received, releasing the memory of the second basic unit for the second pointer array.
The sequence of step S23 and step S24 is not critical and can be performed either before or simultaneously.
The downlink window of the conventional 5G NR RLC adopts a static memory allocation manner, and in order to accommodate the sequence number of the RLC PDU with 12 bits and 18 bits, 8 × 131072-1048576 bytes of memory needs to be allocated at a time. The 5G NR RLC downlink window adopts a dynamic array memory allocation mode, applies for the memory size of one second basic unit each time, and then carries out reasonable management and allocation as required.
If the sequence number of the RLC PDU is 12 bits in the confirmation mode of the 5G NR, the size of the RLC downlink window is 2048, and at the moment, the RLC downlink window only needs one second basic unit; while omitting the above-mentioned step S23.
If the sequence number of the RLC PDU in the 5G NR acknowledged mode is 18 bits, the size of the RLC downlink window is 131072, and the RLC downlink window needs one or more second basic units.
In a scenario where a network side sends a downlink RLC PDU to a UE, the step of memory optimization management of a 5G NR RLC downlink window is as follows. (1) The RLC of the UE receives a new downlink RLC PDU and updates the state variable RX _ NEXT according to its sequence number. (2) The RLC of the UE determines whether the number of received downlink RLC PDUs exceeds the allocated memory size of the second pointer set. If not, the RLC of the UE records the sequence number and downlink receiving information of the new RLC PDU in the allocated memory of the second pointer array. If so, the RLC of the UE additionally allocates a memory with a second basic unit size for the second pointer array, and records the sequence number and downlink receiving information of a new downlink RLC PDU in the newly allocated memory of the RLC downlink window. (3) And the RLC of the UE releases the memory space of the received complete downlink RLC PDU in an RLC downlink window. When all the corresponding downlink RLC PDUs in one second basic unit are completely received, the memory of the second basic unit is released.
Referring to fig. 3, an embodiment of the apparatus for optimized management of a 5G NR RLC window memory provided in the present application includes a first implementing unit 11, a first initial allocating unit 12, a first subsequent allocating unit 13, and a first releasing unit 14, which are adapted to a 5G NR RLC uplink window.
The first implementation unit 11 is configured to implement the RLC uplink window in the acknowledged mode of the 5G NR with a first pointer array. In the first pointer array, the size of each first elementary unit is M1 × N1 bytes. The first pointer array has a maximum of L1 first elementary units.
The first initial allocation unit 12 is configured to initially allocate a first basic unit size memory for the first pointer array, and record a pointer with M1 bytes, where each pointer points to a storage address of original data of an uplink RLC PDU to be transmitted by a UE with a specific sequence number.
The first subsequent allocating unit 13 is configured to record, by using a pointer, a storage address of original data of an uplink RLC PDU to be sent in the allocated memory of the first pointer array when the allocated memory of the first pointer array is not used up; and the buffer is further configured to, when the allocated memory of the first pointer array is used up, additionally allocate a memory of a first basic unit size to the first pointer array, and record a storage address of original data of the uplink RLC PDU to be transmitted by using a pointer in the newly allocated memory of the first pointer array. The memory space of the first pointer array is allocated to the size of L1 first basic units at most.
The first releasing unit 14 is configured to release, after the UE receives the uplink status report sent by the network side, a memory space of a pointer of an uplink RLC PDU, which has received ACK information of the network side, in an RLC uplink window.
Referring to fig. 4, an embodiment of the apparatus for optimally managing a memory of a 5G NR RLC window provided by the present application includes a second implementing unit 21, a second initial allocating unit 22, a second subsequent allocating unit 23, and a second releasing unit 24, which are adapted to a 5G NR RLC downlink window.
The second implementing unit 21 is configured to implement the RLC downlink window in the acknowledged mode with the 5G NR using the second pointer set. In the second pointer array, the size of each second elementary unit is M2 × N2 bytes. The second pointer array has a maximum of L2 second basic units.
The second initial allocation unit 22 is configured to initially allocate a second basic unit size memory for the second pointer array, and record a sequence number and downlink receiving information of a downlink RLC PDU using M2 bytes.
The second subsequent allocating unit 23 is configured to record a sequence number and downlink receiving information of a newly received downlink RLC PDU in the allocated memory of the second pointer array when the allocated memory of the second pointer array is not used up; and the second pointer array is used for increasing and allocating a memory with a second basic unit size for the second pointer array when the allocated memory of the second pointer array is used up, and recording the sequence number and downlink receiving information of the newly received downlink RLC PDU in the newly allocated memory of the second pointer array. The memory space of the second pointer array is allocated to the size of L2 second basic units at most.
The second releasing unit 24 is configured to release the memory space of the received complete downlink RLC PDU in the RLC downlink window.
On the premise of complying with the 3GPP protocol, the method provides a brand-new optimal management method for dynamic memory allocation and release of the RLC uplink and downlink windows by combining the sizes of the RLC uplink and downlink windows corresponding to the sequence numbers of the RLC PDUs in 12-bit and 18-bit situations and the actual code implementation conditions, and can save the system memory to the greatest extent. The technical scheme of the application obtains fine verification in laboratory test scenes and practical application, and is good in effect.
The above are merely preferred embodiments of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for optimizing and managing a 5G NR RLC window memory is characterized by comprising the following steps;
step S11: the RLC uplink window of the 5G NR in the confirmation mode is realized by adopting a first pointer array; in the first pointer array, the size of each first basic unit is M1 × N1 bytes; the maximum number of the first pointer array is L1 first basic units;
step S12: initializing and allocating a memory with a first basic unit size for a first pointer array, and recording a pointer by using M1 bytes, wherein each pointer points to a storage address of original data of an uplink RLC PDU to be sent by a UE with a specific sequence number;
step S13: if the allocated memory of the first pointer array is not used up, the UE adopts a pointer to record the storage address of the original data of the uplink RLC PDU to be sent in the allocated memory of the first pointer array;
if the allocated memory of the first pointer array is used up, the UE additionally allocates a memory with a first basic unit size for the first pointer array, and adopts a pointer to record the storage address of the original data of the uplink RLC PDU to be sent in the newly allocated memory of the first pointer array; the memory space of the first pointer array is allocated to the size of L1 first basic units at most;
step S14: after receiving an uplink state report sent by a network side, UE releases a memory space of a pointer of an uplink RLC PDU in an RLC uplink window, wherein the pointer of the uplink RLC PDU receives ACK information of the network side;
the step S13 and the step S14 are either before or simultaneously performed.
2. The method for 5G NR RLC window memory optimized management of claim 1, wherein in said step S11, M1 is 4 bytes, N1 is 4096, and L1 is 64.
3. The method for 5G NR RLC window memory optimized management of claim 1, wherein in said step S12, initializing the allocated RLC uplink window can backup N1 uplink RLC PDUs.
4. The method for 5G NR RLC window memory optimized management of claim 1, wherein in step S14, when all uplink RLC PDUs corresponding to all pointers in a first basic unit receive ACK information, the memory of the first basic unit is released for the first pointer array.
5. A method for optimizing and managing a 5G NR RLC window memory is characterized by comprising the following steps;
step S21: the RLC downlink window of the 5G NR in the confirmation mode is realized by adopting a second pointer array; in the second pointer array, the size of each second basic unit is M2 × N2 bytes; the second pointer number group has a maximum of L2 second basic units;
step S22: initializing and allocating a memory with a second basic unit size for the second pointer array, and recording a sequence number and downlink receiving information of a downlink RLC PDU by adopting M2 bytes;
step S23: if the allocated memory of the second pointer array is not used up, the UE records the sequence number and downlink receiving information of the newly received downlink RLC PDU in the allocated memory of the second pointer array;
if the allocated memory of the second pointer array is used up, the UE additionally allocates a memory with a second basic unit size for the second pointer array, and records the sequence number and downlink receiving information of the newly received downlink RLC PDU in the newly allocated memory of the second pointer array; the memory space of the second pointer array is allocated to the size of L2 second basic units at most;
step S24: UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window;
the step S23 and the step S24 are either before or simultaneously performed.
6. The method for 5G NR RLC window memory optimized management of claim 5, wherein in said step S21, M2 is 8 bytes, N2 is 4096, and L2 is 64.
7. The method for 5G NR RLC window memory optimization management of claim 5, wherein in step S22, the downlink reception information comprises: whether the downlink RLC PDU with the current sequence number is received or not is judged; whether the downlink RLC PDU with the current sequence number is segmented or not is judged; if the downlink RLC PDU with the current sequence number is segmented, whether the complete full segments are received or not is judged; initializing the allocated RLC downlink window can back up N2 downlink RLC PDUs.
8. The method for 5G NR RLC window memory optimized management as claimed in claim 5, wherein in step S24, when all downlink RLC PDUs in a second basic unit are completely received, the memory of the second basic unit is released for the second pointer set.
9. A device for optimizing and managing a 5G NR RLC window memory is characterized by comprising a first implementation unit, a first initial allocation unit, a first subsequent allocation unit and a first release unit;
the first implementation unit is used for implementing the RLC uplink window of the 5G NR in the acknowledged mode by adopting a first pointer array; in the first pointer array, the size of each first basic unit is M1 × N1 bytes; the maximum number of the first pointer array is L1 first basic units;
the first initial allocation unit is used for initializing and allocating a memory with a first basic unit size for a first pointer array, and recording a pointer by using M1 bytes, wherein each pointer points to a storage address of original data of an uplink RLC PDU to be sent by a UE with a specific sequence number;
the first subsequent allocation unit is used for recording a storage address of original data of an uplink RLC PDU to be transmitted by adopting a pointer in the allocated memory of the first pointer array when the allocated memory of the first pointer array is not used up; the first pointer array is used for allocating a memory with a first basic unit size to the first pointer array when the allocated memory of the first pointer array is used up, and a pointer is adopted in the newly allocated memory of the first pointer array to record the storage address of the original data of the uplink RLC PDU to be sent; the memory space of the first pointer array is allocated to the size of L1 first basic units at most;
the first releasing unit is used for releasing the memory space of the pointer of the uplink RLC PDU in the RLC uplink window after the UE receives the uplink status report sent by the network side and the ACK information of the network side is received.
10. A device for optimizing and managing a 5G NR RLC window memory is characterized by comprising a second implementation unit, a second initial allocation unit, a second subsequent allocation unit and a second release unit;
the second implementation unit is configured to implement the RLC downlink window in the acknowledged mode by using a second pointer number group; in the second pointer array, the size of each second basic unit is M2 × N2 bytes; the second pointer number group has a maximum of L2 second basic units;
the second initial allocation unit is used for initializing and allocating a memory with a second basic unit size for the second pointer array, and recording a sequence number and downlink receiving information of a downlink RLC PDU by adopting M2 bytes;
the second subsequent allocation unit is configured to record a sequence number and downlink reception information of a newly received downlink RLC PDU in an allocated memory of the second pointer count group when the allocated memory of the second pointer count group is not used up; the second pointer array is used for allocating a memory with a second basic unit size to the second pointer array when the allocated memory of the second pointer array is used up, and recording a sequence number and downlink receiving information of a newly received downlink RLC PDU in the newly allocated memory of the second pointer array; the memory space of the second pointer array is allocated to the size of L2 second basic units at most;
the second releasing unit is configured to release a memory space of the received complete downlink RLC PDU in an RLC downlink window.
CN202111323126.9A 2021-11-03 2021-11-03 Method and device for optimal management of 5G NR RLC window memory Pending CN114064273A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111323126.9A CN114064273A (en) 2021-11-03 2021-11-03 Method and device for optimal management of 5G NR RLC window memory
PCT/CN2022/123734 WO2023078014A1 (en) 2021-11-03 2022-10-08 Method and apparatus for memory optimization management of 5g nr rlc window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111323126.9A CN114064273A (en) 2021-11-03 2021-11-03 Method and device for optimal management of 5G NR RLC window memory

Publications (1)

Publication Number Publication Date
CN114064273A true CN114064273A (en) 2022-02-18

Family

ID=80274417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111323126.9A Pending CN114064273A (en) 2021-11-03 2021-11-03 Method and device for optimal management of 5G NR RLC window memory

Country Status (2)

Country Link
CN (1) CN114064273A (en)
WO (1) WO2023078014A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023078014A1 (en) * 2021-11-03 2023-05-11 翱捷科技股份有限公司 Method and apparatus for memory optimization management of 5g nr rlc window

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180124843A1 (en) * 2016-11-01 2018-05-03 Sharp Laboratories Of America, Inc. Configurable radio link controller frame structure
CN107241409A (en) * 2017-06-05 2017-10-10 武汉虹信通信技术有限责任公司 For RLC in LTE and the data transmission method of adjacent layer
US11871274B2 (en) * 2020-05-04 2024-01-09 Intel Corporation Performance measurements and KPIs related to packet delay in NG-RAN and 5GS
CN112153696B (en) * 2020-09-25 2023-04-28 Oppo广东移动通信有限公司 RLC SDU segmentation processing method, device and terminal
CN114064273A (en) * 2021-11-03 2022-02-18 翱捷科技股份有限公司 Method and device for optimal management of 5G NR RLC window memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023078014A1 (en) * 2021-11-03 2023-05-11 翱捷科技股份有限公司 Method and apparatus for memory optimization management of 5g nr rlc window

Also Published As

Publication number Publication date
WO2023078014A1 (en) 2023-05-11

Similar Documents

Publication Publication Date Title
EP1315341B1 (en) Receiver polling for data transmission with sliding window data flow control
EP3353930B1 (en) Enhancement of pdcp status report
AU2006241614B2 (en) Communicating control information in mobile communication system
CN107359968B (en) Data transmission method and device for single-layer serial number
KR101051595B1 (en) RLC window size reorganization
JP2019533395A (en) Method and system for sending and receiving data
CN101547469B (en) Method, system and device for transmitting data
EP1850522A2 (en) Method and apparatus for handling segmentation and numbering of SDUS in wireless communications systems
KR20030005064A (en) Method for resetting medium access control layer entity for high speed downlink packet access in w-cdma communication system
JP2017508364A (en) Communication method executed by secondary base station and master base station, and corresponding base station
TWI401985B (en) Method of constructing and transmitting packets with mimo configuration in a wireless communication system
TWI692225B (en) Method and device for transmitting data by agreement data unit
WO2023078014A1 (en) Method and apparatus for memory optimization management of 5g nr rlc window
CN115066844A (en) Dynamic uplink end-to-end data transmission scheme with optimized memory path
CN113453276B (en) Method and device for improving uplink and downlink memory utilization rate of LTE terminal
CN109547167B (en) Counting method and communication device
CN111726865B (en) Medium access control service data unit processing and receiving method, equipment and device
CN102204149A (en) Data retransmission method and device thereof

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