WO2023078014A1 - Method and apparatus for memory optimization management of 5g nr rlc window - Google Patents

Method and apparatus for memory optimization management of 5g nr rlc window Download PDF

Info

Publication number
WO2023078014A1
WO2023078014A1 PCT/CN2022/123734 CN2022123734W WO2023078014A1 WO 2023078014 A1 WO2023078014 A1 WO 2023078014A1 CN 2022123734 W CN2022123734 W CN 2022123734W WO 2023078014 A1 WO2023078014 A1 WO 2023078014A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
rlc
pointer array
pointer
downlink
Prior art date
Application number
PCT/CN2022/123734
Other languages
French (fr)
Chinese (zh)
Inventor
郑锐
孙金重
Original Assignee
翱捷科技股份有限公司
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 翱捷科技股份有限公司 filed Critical 翱捷科技股份有限公司
Publication of WO2023078014A1 publication Critical patent/WO2023078014A1/en

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

Definitions

  • This application relates to a mobile communication technology, in particular to a 5G (fifth generation mobile communication technology) NR (New Radio, new wireless) RLC (Radio Link control, radio link control) memory optimization management method for uplink and downlink windows .
  • 5G fifth generation mobile communication technology
  • NR New Radio, new wireless
  • RLC Radio Link control, radio link control
  • the 5G NR RLC layer is used to receive the RLC SDU (service Data Unit, service data unit) sent by the upper layer. After processing, the RLC layer assembles it into an RLC PDU (Protocol Data Unit, protocol data unit) and delivers it to the lower layer.
  • RLC SDU Service Data Unit
  • RLC PDU Protocol Data Unit, protocol data unit
  • An important function of the 5G NR RLC layer is to provide reliable transmission for user data and control data, including retransmission and confirmation functions.
  • the RLC transmission mode is divided into: transparent mode (TM, transparent mode), unacknowledged mode (UM, unacknowledged mode), and acknowledged mode (AM, acknowledged mode).
  • TM transparent mode
  • UM unacknowledged mode
  • AM acknowledged mode
  • the confirmation mode is used to realize reliable transmission.
  • the UE (user equipment, user equipment) sends an uplink data packet to the network side, and the network side will return an uplink status report (status report) to the UE according to the actual reception of the uplink data packet.
  • the uplink status report includes ACK (acknowledgement) and NAK (negative acknowledgment) information, ACK information is used to indicate which data packets have been received, and NAK information is used to indicate which data packets have not been received.
  • the UE will retransmit the data packet receiving the NAK information according to the indication of the uplink status report.
  • the network side sends downlink data packets to the UE. Due to the quality of the air interface, packet loss may occur during the period.
  • the UE will send a downlink status report to the network side according to the actual reception of the downlink data packets, and indicate the status of the downlink data packets to the network side. Reception so that the network side retransmits lost downstream packets.
  • Both the uplink data packet and the downlink data packet are RLC PDUs.
  • the RLC uplink window of 5G NR is maintained by three parameters TX_NEXT, TX_NEXT_ACK and AM_WINDOW_SIZE in the confirmation mode.
  • TX_NEXT refers to the sequence number (SN) of the uplink RLC PDU that the UE is about to send
  • TX_NEXT_ACK refers to the sequence number of the first uplink RLC PDU that the UE has sent and is waiting for the network side to reply ACK or NAK information
  • AM_WINDOW_SIZE refers to The size of the RLC uplink window.
  • the serial number of RLC PDU in 5G NR confirmation mode is divided into 12 bits (bit) and 18 bits. For the case of a 12-bit serial number, AM_WINDOW_SIZE is 2048. For the case of an 18-bit serial number, AM_WINDOW_SIZE is 131072.
  • the RLC downlink window is mainly maintained by two parameters RX_NEXT and AM_WINDOW_SIZE.
  • RX_NEXT refers to the sequence number of the first downlink RLC PDU that the UE is waiting to receive or wait for the segment to receive the complete first downlink RLC PDU
  • AM_WINDOW_SIZE refers to the size of the RLC downlink window.
  • the network side may not receive the uplink data packet sent by the UE, which requires the UE side to save the original uplink data packet sent for retransmission.
  • the UE may not receive the downlink data packet sent by the network side, which requires the UE to record the reception of the downlink data packet in preparation for sending a status report to the network side.
  • the UE wants to send the status report of the downlink RLC PDU to the network side, it must record the sequence number of each downlink RLC PDU and its downlink reception information.
  • the downlink receiving information includes: whether the downlink RLC PDU of the current sequence number has been received; whether the downlink RLC PDU of the current sequence number has been segmented; if the downlink RLC PDU of the current sequence number has been segmented, whether the complete part has been received part.
  • the technical problem to be solved in this application is to propose a method for memory optimization management of 5G NR RLC uplink and downlink windows, so as to save system memory to the greatest extent. For this reason, this application also proposes a device for memory optimization management of 5G NR RLC uplink and downlink windows.
  • Step S11 The RLC uplink window of 5G NR in confirmation mode is implemented using the first pointer array; in the first pointer array, the size of each first basic unit is M1 ⁇ N1 bytes; the first pointer array is at most L1 a basic unit.
  • Step S12 Initially allocate a memory of the first basic unit size for the first pointer array, use M1 bytes to record a pointer, and each pointer points to the storage address of the original data of the uplink RLC PDU to be sent by the UE with a specific serial number .
  • Step S13 If the allocated memory of the first pointer array is not used up, the UE uses a pointer in the allocated memory of the first pointer array to record the storage address of the original data of the uplink RLC PDU to be sent. If the allocated memory of the first pointer array is used up, the UE allocates a memory of the first basic unit size for the first pointer array, and uses a pointer to record the to-be-sent memory in the newly allocated memory of the first pointer array. The storage address of the original data of the uplink RLC PDU; the memory space of the first pointer array is allocated up to the size of L1 first basic units.
  • Step S14 After the UE receives the uplink status report sent by the network side, the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side.
  • the step S13 and the step S14 are either carried out before, or carried out at the same time.
  • the above method implements the 5G NR RLC uplink window using the first pointer array that dynamically allocates and releases memory, which significantly saves the system memory usage.
  • M1 is 4 bytes
  • N1 is 4096 bytes
  • L1 is 64 bytes.
  • the RLC uplink window allocated by initialization can back up N1 uplink RLC PDUs.
  • step S14 when all the uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive ACK information, the memory of the first basic unit is released for the first pointer array.
  • Step S21 The RLC downlink window of 5G NR in confirmation mode is realized by the second pointer array; in the second pointer array, the size of each second basic unit is M2 ⁇ N2 bytes; the second pointer array is at most L2 Two basic units.
  • Step S22 Initially allocate a memory with the size of the second basic unit for the second pointer array, and use M2 bytes to record the sequence number of a downlink RLC PDU and downlink reception information.
  • Step S23 If the allocated memory of the second pointer array is not used up, the UE records the serial number of the newly received downlink RLC PDU and the downlink reception information in the allocated memory of the second pointer array. If the allocated memory of the second pointer array is used up, the UE allocates a second basic unit of memory for the second pointer array, and records the newly received downlink RLC PDU in the newly allocated memory of the second pointer array serial number and downlink receiving information; the memory space of the second pointer array is allocated up to the size of L2 second basic units.
  • Step S24 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 carried out before, or carried out at the same time.
  • the above method implements the 5G NR RLC downlink window using the second pointer array that dynamically allocates and releases memory, which significantly saves the system memory usage.
  • M2 is 8 bytes
  • N2 is 4096
  • L2 is 64.
  • the downlink reception information includes: whether the downlink RLC PDU of the current sequence number has been received; whether the downlink RLC PDU of the current sequence number has been segmented; whether the downlink RLC PDU of the current sequence number has been segmented; Segmentation, whether all segments have been received completely; the RLC downlink window allocated by initialization can back up N2 downlink RLC PDUs.
  • step S24 when all the corresponding downlink RLC PDUs in a certain second basic unit are completely received, the memory of the second basic unit is released for the second pointer array.
  • This application also proposes a device for 5G NR RLC window memory optimization management, including 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 to implement the RLC uplink window of 5G NR in confirmation mode using the first pointer array; in the first pointer array, the size of each first basic unit is M1 ⁇ N1 bytes; the first pointer The array has a maximum of L1 first basic units.
  • the first initial allocation unit is used to initialize and allocate a memory of the first basic unit size for the first pointer array, and use M1 bytes to record a pointer, and each pointer points to an uplink RLC PDU that is about to be sent by a UE with a specific serial number The storage address of the original data.
  • the first subsequent allocation unit is used to use a pointer to record the storage of the original data of the 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 address; it is also used to allocate a memory of the first basic unit size for the first pointer array when the allocated memory of the first pointer array is used up, and adopt a memory in the newly allocated memory of the first pointer array
  • the pointer records 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 as the size of L1 first basic units at most.
  • the first release unit is used to release the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side after the UE receives the uplink status report sent by the network side.
  • the above device realizes the 5G NR RLC uplink window using the first pointer array that dynamically allocates memory and releases memory, which significantly saves the system memory usage.
  • the present application also proposes a device for 5G NR RLC window memory optimization management, including a second implementation unit, a second initial allocation unit, a second subsequent allocation unit, and a second release unit.
  • the second implementation unit is used to implement the RLC downlink window of 5G NR in confirmation mode using a second pointer array; in the second pointer array, the size of each second basic unit is M2 ⁇ N2 bytes; the second pointer The array has a maximum of L2 second basic units.
  • the second initial allocation unit is used to initialize and allocate a second basic unit of memory for the second pointer array, and use M2 bytes to record the sequence number and downlink reception information of a downlink RLC PDU.
  • the second subsequent allocation unit is used to record the sequence number and downlink reception information of the 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; It is also used to increase and allocate a second basic unit of memory for the second pointer array when the allocated memory of the second pointer array is used up, and record the newly received memory in the newly allocated memory of the second pointer array.
  • the sequence number of the downlink RLC PDU and the downlink receiving information; the memory space of the second pointer array is allocated up to the size of L2 second basic units.
  • the second release unit is used to release the memory space of the received complete downlink RLC PDU in the RLC downlink window.
  • the above device implements the 5G NR RLC downlink window using the second pointer array that dynamically allocates memory and releases memory, which significantly saves the system memory usage.
  • the technical effect achieved by this application is that the 5G NR RLC uplink and downlink windows are respectively implemented using the first pointer array and the second pointer array that dynamically allocate memory and release memory, which significantly saves the system memory usage.
  • FIG. 1 is a schematic flow diagram of Embodiment 1 of the method for 5G NR RLC window memory optimization management proposed by the present application.
  • FIG. 2 is a schematic flow diagram of Embodiment 2 of the method for 5G NR RLC window memory optimization management proposed by this application.
  • FIG. 3 is a schematic structural diagram of Embodiment 1 of the device for 5G NR RLC window memory optimization management proposed by this application.
  • FIG. 4 is a schematic structural diagram of Embodiment 2 of the device for 5G NR RLC window memory optimization management proposed by this application.
  • 11 is the first realization unit
  • 12 is the first initial allocation unit
  • 13 is the first subsequent allocation unit
  • 14 is the first release unit
  • 21 is the second realization unit
  • 22 is the second initial allocation Unit
  • 23 is the second subsequent allocation unit
  • 24 is the second release unit.
  • Embodiment 1 of the method for memory optimization management of 5G NR RLC window proposed by this application includes the following steps, which is applicable to 5G NR RLC uplink window.
  • Step S11 The RLC uplink window of the 5G NR in the confirmation mode is realized by using the first pointer array.
  • Pointer arrays are also called dynamic two-dimensional arrays.
  • the size of each first basic unit is M1 ⁇ N1 bytes.
  • the first pointer array has a maximum size of M1 ⁇ N1 ⁇ L1 bytes, that is, a maximum of L1 first basic units.
  • the size of the first basic unit can be deformed according to actual needs.
  • M1 is 4 bytes
  • N1 is 4096
  • L1 is 64.
  • Step S12 Initially allocate a memory of the first basic unit size for the first pointer array, use M1 bytes to record a pointer, and each pointer points to the storage address of the original data of the uplink RLC PDU to be sent by the UE with a specific serial number , that is, the initially allocated RLC uplink window can back up N1 uplink RLC PDUs.
  • Step S13 If the allocated memory of the first pointer array is not used up, the UE uses a pointer in the 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 UE allocates a memory of the first basic unit size for the first pointer array, and uses a pointer to record the to-be-sent memory in the newly allocated memory of the first pointer array.
  • the RLC uplink window for newly allocated memory can add N1 uplink RLC PDUs for backup. And so on, but the memory space of the first pointer array is allocated up to the size of L1 first basic units.
  • Step S14 After the UE receives the uplink status report sent by the network side, the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side. When all the uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive ACK information, the memory of the first basic unit is released for the first pointer array.
  • step S13 and step S14 is not strictly limited, and can be performed either before or at the same time.
  • the traditional 5G NR RLC uplink window adopts a static memory allocation method.
  • the 5G NR RLC uplink window of this application adopts the memory allocation method of dynamic array, and applies for the memory size of the first basic unit each time, and then manages it reasonably and allocates it on demand.
  • the size of the RLC uplink window is 2048. At this time, the RLC uplink window only needs one first basic unit; at the same time, the above step S13 is omitted.
  • the size of the RLC uplink window is 131072. At this time, the RLC uplink window needs one or more first basic units.
  • the memory optimization management steps of the 5G NR RLC uplink window are as follows. (1) The RLC of the UE receives a new uplink RLC SDU. (2) The RLC of the UE assembles the new RLC SDU into an RLC PDU and assigns a sequence number to the RLC PDU, and records it in the parameter TX_NEXT. (3) The RLC of the UE judges 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.
  • the RLC of the UE dynamically allocates a new memory space of the size of the first basic unit for the first pointer array, and records the pointer of the 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 the data information of the original RLC PDU, in order to prevent the RLC PDU from being retransmitted.
  • the size of each pointer variable is, for example, 4 bytes.
  • the RLC of the UE receives the uplink status report, and updates the parameter TX_NEXT_ACK according to the information therein.
  • the RLC of the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side.
  • the memory of the first basic unit is released.
  • the second embodiment of the method for memory optimization management of 5G NR RLC window proposed by this application includes the following steps, which is applicable to 5G NR RLC downlink window.
  • Step S21 The RLC downlink window of the 5G NR in the confirmation mode is realized by the second pointer array.
  • Pointer arrays are also called dynamic two-dimensional arrays.
  • the size of each second basic unit (one-dimensional array) is M2 ⁇ N2 bytes.
  • the second pointer array has a maximum size of M2 ⁇ N2 ⁇ L2 bytes, that is, a maximum of L2 second basic units.
  • the size of the second basic unit can be deformed according to actual needs.
  • M2 is 8 bytes
  • N2 is 4096
  • L2 is 64.
  • Step S22 Initially allocate a memory with the size of the second basic unit for the second pointer array, and use M2 bytes to record the sequence number of a downlink RLC PDU and downlink reception information.
  • the downlink reception information includes: whether the downlink RLC PDU of the current sequence number has been received; whether the downlink RLC PDU of the current sequence number has been segmented; if the downlink RLC PDU of the current sequence number has been segmented, whether the complete part has been received part. That is, the RLC downlink window allocated by initialization can back up the sequence numbers and downlink reception information of N2 downlink RLC PDUs.
  • Step S23 If the allocated memory of the second pointer array is not used up, the UE records the serial number of the newly received downlink RLC PDU and the downlink reception information in the allocated memory of the second pointer array.
  • the UE allocates a second basic unit of memory for the second pointer array, and records the newly received downlink RLC PDU in the newly allocated memory of the second pointer array serial number and downlink receiving information.
  • the RLC downlink window for newly allocated memory can add 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 up to the size of L2 second basic units.
  • Step S24 The UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window.
  • the corresponding downlink RLC PDUs in a certain second basic unit are all received completely, the memory of the second basic unit is released for the second pointer array.
  • step S23 and step S24 is not strictly limited, and can be performed either before or at the same time.
  • the traditional 5G NR RLC downlink window adopts a static memory allocation method.
  • the 5G NR RLC downlink window of this application adopts the memory allocation method of dynamic array, and applies for the memory size of a second basic unit each time, and then manages it reasonably and allocates it on demand.
  • the size of the RLC downlink window is 2048, and the RLC downlink window only needs one second basic unit; meanwhile, the above step S23 is omitted.
  • the size of the RLC downlink window is 131072. At this time, the RLC downlink window needs one or more second basic units.
  • the memory optimization management steps of the 5G NR RLC downlink window are 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 judges whether the quantity of the received downlink RLC PDU exceeds the allocated memory size of the second pointer array. If not, the RLC of the UE records the sequence number and downlink reception information of the new RLC PDU in the allocated memory of the second pointer array.
  • the RLC of the UE increases and allocates a second basic unit of memory for the second pointer array, and records the sequence number of the new downlink RLC PDU and downlink reception information in the newly allocated memory of the RLC downlink window.
  • the RLC of the UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window. When all the corresponding downlink RLC PDUs in a certain second basic unit are completely received, the memory of the second basic unit is released.
  • the first embodiment of the device for 5G NR RLC window memory optimization management proposed by this application includes a first implementation unit 11, a first initial allocation unit 12, a first subsequent allocation unit 13 and a first release unit 14, applicable In the 5G NR RLC uplink window.
  • the first implementation unit 11 is used to implement the RLC uplink window of the 5G NR in the acknowledged mode using the first pointer array.
  • the size of each first basic unit is M1 ⁇ N1 bytes.
  • the first pointer array is at most L1 first basic units.
  • the first initial allocation unit 12 is used to initialize and allocate a memory of a first basic unit size for the first pointer array, and use M1 bytes to record a pointer, and each pointer points to an uplink RLC to be sent by a UE with a specific serial number The storage address of the original data of the PDU.
  • the first follow-up allocation unit 13 is used to adopt a pointer to record the original data of the 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.
  • Storage address it is also used to allocate a memory of the first basic unit size for the first pointer array when the allocated memory of the first pointer array is used up, and use the newly allocated memory of the first pointer array
  • a pointer records the storage address of the original data of the uplink RLC PDU to be sent.
  • the memory space allocated for the first pointer array is at most the size of L1 first basic units.
  • the first release unit 14 is used to release the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side after the UE receives the uplink status report sent by the network side.
  • the second embodiment of the device for 5G NR RLC window memory optimization management proposed by this application includes a second implementation unit 21, a second initial allocation unit 22, a second subsequent allocation unit 23, and a second release unit 24, applicable In the 5G NR RLC downlink window.
  • the second implementation unit 21 is used to implement the RLC downlink window of the 5G NR in the acknowledged mode using a 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 22 is used to initialize and allocate a second basic unit of memory for the second pointer array, and use M2 bytes to record the sequence number and downlink reception information of a downlink RLC PDU.
  • the second follow-up allocation unit 23 is used to record the sequence number and downlink reception information of the 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 ;It is also used to allocate a memory of the second basic unit size for the second pointer array when the allocated memory of the second pointer array is used up, and record the newly received memory in the newly allocated memory of the second pointer array The serial number of the downlink RLC PDU and the downlink reception information.
  • the memory space allocated for the second pointer array is at most the size of L2 second basic units.
  • the second release unit 24 is used to release the memory space of the received complete downlink RLC PDU in the RLC downlink window.
  • this application proposes a brand-new RLC uplink and downlink window in combination with the size of the RLC uplink and downlink windows corresponding to the serial numbers of the RLC PDUs of 12 bits and 18 bits and the actual implementation of the code.
  • the optimal management method of dynamic memory allocation and release can save system memory to the greatest extent.
  • the technical solution of the present application has been well verified in laboratory test scenarios and practical applications, and the effect is good.

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

Disclosed in the present application is a method for memory optimization management of a 5G NR RLC window. A 5G NR RLC uplink window in an acknowledged mode is realized by means of a first pointer array. A memory having the size of a first base unit is preliminarily allocated for the first pointer array. If the allocated memory of the first pointer array has been used up, a UE additionally allocates a memory having the size of a first base unit for the first pointer array, and uses a pointer to record, in the newly allocated memory of the first pointer array, a storage address of original data of an uplink RLC PDU to be sent. Upon receiving an uplink status report sent by a network side, the UE releases a memory space of a pointer of an uplink RLC PDU that has received ACK information of the network side in the RLC uplink window. According to the described method, a 5G NR RLC uplink window is realized by means of a first pointer array for which a memory is dynamically allocated and released, thereby significantly reducing the occupation of a system memory.

Description

一种5G NR RLC窗口内存优化管理的方法及装置A method and device for 5G NR RLC window memory optimization management 技术领域technical field
本申请涉及一种移动通讯技术,特别是涉及一种5G(第五代移动通讯技术)NR(New Radio,新无线)RLC(Radio Link control,无线链路控制)上下行窗口内存优化管理的方法。This application relates to a mobile communication technology, in particular to a 5G (fifth generation mobile communication technology) NR (New Radio, new wireless) RLC (Radio Link control, radio link control) memory optimization management method for uplink and downlink windows .
背景技术Background technique
5G NR RLC层用来接收上层发来的RLC SDU(service Data Unit,服务数据单元),RLC层处理后组装成RLC PDU(Protocol Data Unit,协议数据单元)然后投递给下层。5G NR RLC层的一个重要功能就是为用户数据和控制数据提供可靠性传输,包括重传和确认功能。RLC的传输模式分为:透明模式(TM,transparent mode)、非确认模式(UM,unacknowledged mode)、确认模式(AM,acknowledged mode)。其中确认模式用来实现可靠性传输。The 5G NR RLC layer is used to receive the RLC SDU (service Data Unit, service data unit) sent by the upper layer. After processing, the RLC layer assembles it into an RLC PDU (Protocol Data Unit, protocol data unit) and delivers it to the lower layer. An important function of the 5G NR RLC layer is to provide reliable transmission for user data and control data, including retransmission and confirmation functions. The RLC transmission mode is divided into: transparent mode (TM, transparent mode), unacknowledged mode (UM, unacknowledged mode), and acknowledged mode (AM, acknowledged mode). The confirmation mode is used to realize reliable transmission.
UE(user equipment,用户设备)向网络侧发送上行数据包,网络侧会根据上行数据包的实际的接收情况给UE回上行状态报告(status report)。上行状态报告里包含ACK(应答)与NAK(否定应答)信息,ACK信息用来指示哪些数据包被收到,NAK信息用来指示哪些数据包未被收到。UE会根据上行状态报告的指示情况重传收到NAK信息的数据包。网络侧向UE发送下行数据包,由于空口质量问题,期间可能会发生丢包现象,这个时候UE会根据下行数据包的实际接收情况向网络侧发送下行状态报告,向网络侧指示下行数据包的接收情况,以便网络侧重传丢失的下行数据包。所述上行数据包、下行数据包均为RLC PDU。The UE (user equipment, user equipment) sends an uplink data packet to the network side, and the network side will return an uplink status report (status report) to the UE according to the actual reception of the uplink data packet. The uplink status report includes ACK (acknowledgement) and NAK (negative acknowledgment) information, ACK information is used to indicate which data packets have been received, and NAK information is used to indicate which data packets have not been received. The UE will retransmit the data packet receiving the NAK information according to the indication of the uplink status report. The network side sends downlink data packets to the UE. Due to the quality of the air interface, packet loss may occur during the period. At this time, the UE will send a downlink status report to the network side according to the actual reception of the downlink data packets, and indicate the status of the downlink data packets to the network side. Reception so that the network side retransmits lost downstream packets. Both the uplink data packet and the downlink data packet are RLC PDUs.
5G NR在确认模式下RLC上下行窗口的基本情况如下。The basic situation of the RLC uplink and downlink windows in 5G NR in acknowledged mode is as follows.
首先,5G NR在确认模式下RLC上行窗口由三个参数TX_NEXT、TX_NEXT_ACK以及AM_WINDOW_SIZE来维护。其中TX_NEXT是指UE即将发送的上行RLC PDU的序列号(SN),TX_NEXT_ACK是指UE已发送出去的且在等待网络侧回复ACK或NAK信息的第一个上行RLC PDU的序列号,AM_WINDOW_SIZE是指RLC上行窗口的大小。5G NR在确认模式下RLC PDU的序列号分为12位(bit)和18位两种情形。对于12位序列号的情形,AM_WINDOW_SIZE是2048。对于18位序列号的情形,AM_WINDOW_SIZE是131072。First of all, the RLC uplink window of 5G NR is maintained by three parameters TX_NEXT, TX_NEXT_ACK and AM_WINDOW_SIZE in the confirmation mode. Among them, TX_NEXT refers to the sequence number (SN) of the uplink RLC PDU that the UE is about to send, TX_NEXT_ACK refers to the sequence number of the first uplink RLC PDU that the UE has sent and is waiting for the network side to reply ACK or NAK information, AM_WINDOW_SIZE refers to The size of the RLC uplink window. The serial number of RLC PDU in 5G NR confirmation mode is divided into 12 bits (bit) and 18 bits. For the case of a 12-bit serial number, AM_WINDOW_SIZE is 2048. For the case of an 18-bit serial number, AM_WINDOW_SIZE is 131072.
其次,5G NR在确认模式下RLC下行窗口主要由两个参数RX_NEXT以及AM_WINDOW_SIZE来维护。其中RX_NEXT是指UE在等待接收或者等待分段接收完整的第一个下行RLC PDU的序列号,AM_WINDOW_SIZE是指RLC下行窗口的大小。Secondly, in the confirmation mode of 5G NR, the RLC downlink window is mainly maintained by two parameters RX_NEXT and AM_WINDOW_SIZE. Among them, RX_NEXT refers to the sequence number of the first downlink RLC PDU that the UE is waiting to receive or wait for the segment to receive the complete first downlink RLC PDU, and AM_WINDOW_SIZE refers to the size of the RLC downlink window.
由于空口质量问题,UE发送的上行数据包网络侧有可能没收到,这就需要UE侧保存发 送的原始上行数据包,以备重传。网络侧发送的下行数据包UE也可能没有收到,这就需要UE记录下行数据包的接收情况,以备向网络侧发送状态报告。Due to the quality of the air interface, the network side may not receive the uplink data packet sent by the UE, which requires the UE side to save the original uplink data packet sent for retransmission. The UE may not receive the downlink data packet sent by the network side, which requires the UE to record the reception of the downlink data packet in preparation for sending a status report to the network side.
UE若要实现上行重传,则在首传(即第一次传输)上行RLC PDU的时候,就必须备份所有原始上行RLC PDU,因为UE也不知道哪些上行RLC PDU需要重传。对于18位序列号的情形,RLC发送窗的大小为131072。这就意味着如果要备份上行RLC PDU,就需要管理最大131072个数据。如果每个RLC PDU使用一个指针来备份,每个指针占用4个字节,每个指针指向一个RLC PDU的存储地址,则需要一次性分配4×131072=524288字节的内存。If the UE wants to implement uplink retransmission, it must back up all the original uplink RLC PDUs when first transmitting (that is, the first transmission) uplink RLC PDUs, because the UE does not know which uplink RLC PDUs need to be retransmitted. For the case of an 18-bit sequence number, the size of the RLC sending window is 131072. This means that if you want to back up the uplink RLC PDU, you need to manage a maximum of 131072 data. If each RLC PDU is backed up by a pointer, each pointer occupies 4 bytes, and each pointer points to the storage address of an RLC PDU, then 4×131072=524288 bytes of memory need to be allocated at one time.
UE若要向网络侧发送下行RLC PDU的状态报告,就必须记录每个下行RLC PDU的序列号及其下行接收信息。所述下行接收信息包括:当前序列号的下行RLC PDU有没有收到;当前序列号的下行RLC PDU有没有被分段;当前序列号的下行RLC PDU如果被分段,有没有接收完整全部分段。这些下行接收信息最少需要8个字节来指示。由于网络侧RLC层的发送窗口的大小为131072,则UE侧需要一次性分配8×131072=1048576字节的内存。If the UE wants to send the status report of the downlink RLC PDU to the network side, it must record the sequence number of each downlink RLC PDU and its downlink reception information. The downlink receiving information includes: whether the downlink RLC PDU of the current sequence number has been received; whether the downlink RLC PDU of the current sequence number has been segmented; if the downlink RLC PDU of the current sequence number has been segmented, whether the complete part has been received part. The downlink receiving information requires at least 8 bytes to indicate. Since the sending window size of the RLC layer on the network side is 131072, the UE side needs to allocate 8×131072=1048576 bytes of memory at one time.
以上只是一个DRB(Data Radio Bearer,数据无线承载)的情况,如果实际网络配置了多个DRB的话,则需要一次性分配更多内存,这对系统来说是巨大的开销。而实际情况中,发送窗口大小的数据全部需要重传几乎很少发生,这会造成很大的内存浪费。The above is only the case of one DRB (Data Radio Bearer, data wireless bearer). If the actual network is configured with multiple DRBs, more memory needs to be allocated at one time, which is a huge overhead for the system. However, in actual situations, all the data of the size of the sending window needs to be retransmitted, which rarely happens, which will cause a lot of memory waste.
发明内容Contents of the invention
本申请所要解决的技术问题是提出一种5G NR RLC上下行窗口内存优化管理的方法,以达到最大程度地节省系统内存。为此,本申请还要提出一种5G NR RLC上下行窗口内存优化管理的装置。The technical problem to be solved in this application is to propose a method for memory optimization management of 5G NR RLC uplink and downlink windows, so as to save system memory to the greatest extent. For this reason, this application also proposes a device for memory optimization management of 5G NR RLC uplink and downlink windows.
为解决上述技术问题,本申请提出了一种5G NR RLC窗口内存优化管理的方法,包括如下步骤。步骤S11:5G NR在确认模式下的RLC上行窗口采用第一指针数组实现;第一指针数组中,每个第一基本单元的大小为M1×N1字节;第一指针数组最大为L1个第一基本单元。步骤S12:为第一指针数组初始化分配一个第一基本单元大小的内存,采用M1个字节记录一个指针,每个指针指向一个特定序列号的UE即将发送的上行RLC PDU的原始数据的存储地址。步骤S13:如果第一指针数组的已分配的内存未用完,UE在第一指针数组的已分配的内存中采用一个指针记录即将发送的上行RLC PDU的原始数据的存储地址。如果第一指针数组的已分配的内存已用完,UE为第一指针数组增加分配一个第一基本单元大小的内存,并在第一指针数组的新分配的内存中采用一个指针记录该即将发送的上行RLC PDU的原始数据的存储地址;第一指针数组的内存空间最多分配至L1个第一基本单元的大小。步骤S14:UE收到网络侧发送的上行状态报告后,UE释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间。所述步骤S13和步骤S14或者任一在前,或者同时进行。上 述方法将5G NR RLC上行窗口采用动态分配内存和释放内存的第一指针数组实现,显著节省了系统内存的占用。In order to solve the above technical problems, this application proposes a method for 5G NR RLC window memory optimization management, including the following steps. Step S11: The RLC uplink window of 5G NR in confirmation mode is implemented using the first pointer array; in the first pointer array, the size of each first basic unit is M1×N1 bytes; the first pointer array is at most L1 a basic unit. Step S12: Initially allocate a memory of the first basic unit size for the first pointer array, use M1 bytes to record a pointer, and each pointer points to the storage address of the original data of the uplink RLC PDU to be sent by the UE with a specific serial number . Step S13: If the allocated memory of the first pointer array is not used up, the UE uses a pointer in the allocated memory of the first pointer array to record the storage address of the original data of the uplink RLC PDU to be sent. If the allocated memory of the first pointer array is used up, the UE allocates a memory of the first basic unit size for the first pointer array, and uses a pointer to record the to-be-sent memory in the newly allocated memory of the first pointer array. The storage address of the original data of the uplink RLC PDU; the memory space of the first pointer array is allocated up to the size of L1 first basic units. Step S14: After the UE receives the uplink status report sent by the network side, the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side. The step S13 and the step S14 are either carried out before, or carried out at the same time. The above method implements the 5G NR RLC uplink window using the first pointer array that dynamically allocates and releases memory, which significantly saves the system memory usage.
优选地,所述步骤S11中,M1为4字节,N1为4096,L1为64。Preferably, in the step S11, M1 is 4 bytes, N1 is 4096 bytes, and L1 is 64 bytes.
进一步地,所述步骤S12中,初始化分配的RLC上行窗口能备份N1个上行RLC PDU。Further, in the step S12, the RLC uplink window allocated by initialization can back up N1 uplink RLC PDUs.
进一步地,所述步骤S14中,当某一个第一基本单元中的全部指针对应的上行RLC PDU全部收到ACK信息的时候,就为所述第一指针数组释放该第一基本单元的内存。Further, in the step S14, when all the uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive ACK information, the memory of the first basic unit is released for the first pointer array.
本申请还提出了一种5G NR RLC窗口内存优化管理的方法,包括如下步骤。步骤S21:5G NR在确认模式下的RLC下行窗口采用第二指针数组实现;第二指针数组中,每个第二基本单元的大小为M2×N2字节;第二指针数组最大为L2个第二基本单元。步骤S22:为第二指针数组初始化分配一个第二基本单元大小的内存,采用M2个字节记录一个下行RLC PDU的序列号及下行接收信息。步骤S23:如果第二指针数组的已分配的内存未用完,UE在第二指针数组的已分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息。如果第二指针数组的已分配的内存已用完,UE为第二指针数组增加分配一个第二基本单元大小的内存,并在第二指针数组的新分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;第二指针数组的内存空间最多分配至L2个第二基本单元的大小。步骤S24:UE释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间。所述步骤S23和步骤S24或者任一在前,或者同时进行。上述方法将5G NR RLC下行窗口采用动态分配内存和释放内存的第二指针数组实现,显著节省了系统内存的占用。This application also proposes a method for 5G NR RLC window memory optimization management, including the following steps. Step S21: The RLC downlink window of 5G NR in confirmation mode is realized by the second pointer array; in the second pointer array, the size of each second basic unit is M2×N2 bytes; the second pointer array is at most L2 Two basic units. Step S22: Initially allocate a memory with the size of the second basic unit for the second pointer array, and use M2 bytes to record the sequence number of a downlink RLC PDU and downlink reception information. Step S23: If the allocated memory of the second pointer array is not used up, the UE records the serial number of the newly received downlink RLC PDU and the downlink reception information in the allocated memory of the second pointer array. If the allocated memory of the second pointer array is used up, the UE allocates a second basic unit of memory for the second pointer array, and records the newly received downlink RLC PDU in the newly allocated memory of the second pointer array serial number and downlink receiving information; the memory space of the second pointer array is allocated up to the size of L2 second basic units. Step S24: 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 carried out before, or carried out at the same time. The above method implements the 5G NR RLC downlink window using the second pointer array that dynamically allocates and releases memory, which significantly saves the system memory usage.
优选地,所述步骤S21中,M2为8字节,N2为4096,L2为64。Preferably, in the step S21, M2 is 8 bytes, N2 is 4096, and L2 is 64.
进一步地,所述步骤S22中,所述下行接收信息包括:当前序列号的下行RLC PDU有没有收到;当前序列号的下行RLC PDU有没有被分段;当前序列号的下行RLC PDU如果被分段,有没有接收完整全部分段;初始化分配的RLC下行窗口能备份N2个下行RLC PDU。Further, in the step S22, the downlink reception information includes: whether the downlink RLC PDU of the current sequence number has been received; whether the downlink RLC PDU of the current sequence number has been segmented; whether the downlink RLC PDU of the current sequence number has been segmented; Segmentation, whether all segments have been received completely; the RLC downlink window allocated by initialization can back up N2 downlink RLC PDUs.
进一步地,所述步骤S24中,当某一个第二基本单元中对应的下行RLC PDU全部接收完整的时候,就为所述第二指针数组释放该第二基本单元的内存。Further, in the step S24, when all the corresponding downlink RLC PDUs in a certain second basic unit are completely received, the memory of the second basic unit is released for the second pointer array.
本申请还提出了一种5G NR RLC窗口内存优化管理的装置,包括第一实现单元、第一初始分配单元、第一后续分配单元和第一释放单元。所述第一实现单元用来将5G NR在确认模式下的RLC上行窗口采用第一指针数组实现;第一指针数组中,每个第一基本单元的大小为M1×N1字节;第一指针数组最大为L1个第一基本单元。所述第一初始分配单元用来为第一指针数组初始化分配一个第一基本单元大小的内存,采用M1个字节记录一个指针,每个指针指向一个特定序列号的UE即将发送的上行RLC PDU的原始数据的存储地址。所述第一后续分配单元用来在第一指针数组的已分配的内存未用完时,在第一指针数组的已分配的内存 中采用一个指针记录即将发送的上行RLC PDU的原始数据的存储地址;还用来在第一指针数组的已分配的内存已用完时,为第一指针数组增加分配一个第一基本单元大小的内存,并在第一指针数组的新分配的内存中采用一个指针记录该即将发送的上行RLC PDU的原始数据的存储地址;第一指针数组的内存空间最多分配为L1个第一基本单元的大小。所述第一释放单元用来在UE收到网络侧发送的上行状态报告后,释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间。上述装置将5G NR RLC上行窗口采用动态分配内存和释放内存的第一指针数组实现,显著节省了系统内存的占用。This application also proposes a device for 5G NR RLC window memory optimization management, including 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 to implement the RLC uplink window of 5G NR in confirmation mode using the first pointer array; in the first pointer array, the size of each first basic unit is M1×N1 bytes; the first pointer The array has a maximum of L1 first basic units. The first initial allocation unit is used to initialize and allocate a memory of the first basic unit size for the first pointer array, and use M1 bytes to record a pointer, and each pointer points to an uplink RLC PDU that is about to be sent by a UE with a specific serial number The storage address of the original data. The first subsequent allocation unit is used to use a pointer to record the storage of the original data of the 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 address; it is also used to allocate a memory of the first basic unit size for the first pointer array when the allocated memory of the first pointer array is used up, and adopt a memory in the newly allocated memory of the first pointer array The pointer records 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 as the size of L1 first basic units at most. The first release unit is used to release the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side after the UE receives the uplink status report sent by the network side. The above device realizes the 5G NR RLC uplink window using the first pointer array that dynamically allocates memory and releases memory, which significantly saves the system memory usage.
本申请还提出了一种5G NR RLC窗口内存优化管理的装置,包括第二实现单元、第二初始分配单元、第二后续分配单元和第二释放单元。所述第二实现单元用来将5G NR在确认模式下的RLC下行窗口采用第二指针数组实现;第二指针数组中,每个第二基本单元的大小为M2×N2字节;第二指针数组最大为L2个第二基本单元。所述第二初始分配单元用来为第二指针数组初始化分配一个第二基本单元大小的内存,采用M2个字节记录一个下行RLC PDU的序列号及下行接收信息。所述第二后续分配单元用来在第二指针数组的已分配的内存未用完时,在第二指针数组的已分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;还用来在第二指针数组的已分配的内存已用完时,为第二指针数组增加分配一个第二基本单元大小的内存,并在第二指针数组的新分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;第二指针数组的内存空间最多分配为L2个第二基本单元的大小。所述第二释放单元用来释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间。上述装置将5G NR RLC下行窗口采用动态分配内存和释放内存的第二指针数组实现,显著节省了系统内存的占用。The present application also proposes a device for 5G NR RLC window memory optimization management, including a second implementation unit, a second initial allocation unit, a second subsequent allocation unit, and a second release unit. The second implementation unit is used to implement the RLC downlink window of 5G NR in confirmation mode using a second pointer array; in the second pointer array, the size of each second basic unit is M2×N2 bytes; the second pointer The array has a maximum of L2 second basic units. The second initial allocation unit is used to initialize and allocate a second basic unit of memory for the second pointer array, and use M2 bytes to record the sequence number and downlink reception information of a downlink RLC PDU. The second subsequent allocation unit is used to record the sequence number and downlink reception information of the 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; It is also used to increase and allocate a second basic unit of memory for the second pointer array when the allocated memory of the second pointer array is used up, and record the newly received memory in the newly allocated memory of the second pointer array. The sequence number of the downlink RLC PDU and the downlink receiving information; the memory space of the second pointer array is allocated up to the size of L2 second basic units. The second release unit is used to release the memory space of the received complete downlink RLC PDU in the RLC downlink window. The above device implements the 5G NR RLC downlink window using the second pointer array that dynamically allocates memory and releases memory, which significantly saves the system memory usage.
本申请取得的技术效果是将5G NR RLC上下行窗口分别采用动态分配内存和释放内存的第一指针数组、第二指针数组实现,显著节省了系统内存的占用。The technical effect achieved by this application is that the 5G NR RLC uplink and downlink windows are respectively implemented using the first pointer array and the second pointer array that dynamically allocate memory and release memory, which significantly saves the system memory usage.
附图说明Description of drawings
图1是本申请提出的5G NR RLC窗口内存优化管理的方法的实施例一的流程示意图。FIG. 1 is a schematic flow diagram of Embodiment 1 of the method for 5G NR RLC window memory optimization management proposed by the present application.
图2是本申请提出的5G NR RLC窗口内存优化管理的方法的实施例二的流程示意图。FIG. 2 is a schematic flow diagram of Embodiment 2 of the method for 5G NR RLC window memory optimization management proposed by this application.
图3是本申请提出的5G NR RLC窗口内存优化管理的装置的实施例一的结构示意图。FIG. 3 is a schematic structural diagram of Embodiment 1 of the device for 5G NR RLC window memory optimization management proposed by this application.
图4是本申请提出的5G NR RLC窗口内存优化管理的装置的实施例二的结构示意图。FIG. 4 is a schematic structural diagram of Embodiment 2 of the device for 5G NR RLC window memory optimization management proposed by this application.
图中附图标记说明:11为第一实现单元、12为第一初始分配单元、13为第一后续分配单元、14为第一释放单元、21为第二实现单元、22为第二初始分配单元、23为第二后续分配单元、24为第二释放单元。Explanation of reference numerals in the figure: 11 is the first realization unit, 12 is the first initial allocation unit, 13 is the first subsequent allocation unit, 14 is the first release unit, 21 is the second realization unit, 22 is the second initial allocation Unit, 23 is the second subsequent allocation unit, 24 is the second release unit.
具体实施方式Detailed ways
请参阅图1,本申请提出的5G NR RLC窗口内存优化管理的方法的实施例一包括如下步骤,适用于5G NR RLC上行窗口。Please refer to Figure 1. Embodiment 1 of the method for memory optimization management of 5G NR RLC window proposed by this application includes the following steps, which is applicable to 5G NR RLC uplink window.
步骤S11:5G NR在确认模式下的RLC上行窗口采用第一指针数组实现。指针数组也称动态二维数组。第一指针数组中,每个第一基本单元(一维数组)的大小为M1×N1字节。第一指针数组最大为M1×N1×L1字节,即最大为L1个第一基本单元。第一基本单元的大小可以根据实际需求变形。优选地,M1为4字节,N1为4096,L1为64。Step S11: The RLC uplink window of the 5G NR in the confirmation mode is realized by using the first pointer array. Pointer arrays are also called dynamic two-dimensional arrays. 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 size of M1×N1×L1 bytes, that is, a maximum of L1 first basic units. The size of the first basic unit can be deformed according to actual needs. Preferably, M1 is 4 bytes, N1 is 4096, and L1 is 64.
步骤S12:为第一指针数组初始化分配一个第一基本单元大小的内存,采用M1个字节记录一个指针,每个指针指向一个特定序列号的UE即将发送的上行RLC PDU的原始数据的存储地址,即初始化分配的RLC上行窗口能备份N1个上行RLC PDU。Step S12: Initially allocate a memory of the first basic unit size for the first pointer array, use M1 bytes to record a pointer, and each pointer points to the storage address of the original data of the uplink RLC PDU to be sent by the UE with a specific serial number , that is, the initially allocated RLC uplink window can back up N1 uplink RLC PDUs.
步骤S13:如果第一指针数组的已分配的内存未用完,UE在第一指针数组的已分配的内存中采用一个指针记录即将发送的上行RLC PDU的原始数据的存储地址。Step S13: If the allocated memory of the first pointer array is not used up, the UE uses a pointer in the allocated memory of the first pointer array to record the storage address of the original data of the uplink RLC PDU to be sent.
如果第一指针数组的已分配的内存已用完,UE为第一指针数组增加分配一个第一基本单元大小的内存,并在第一指针数组的新分配的内存中采用一个指针记录该即将发送的上行RLC PDU的原始数据的存储地址。新增分配内存的RLC上行窗口能新增备份N1个上行RLC PDU。以此类推,但第一指针数组的内存空间最多分配至L1个第一基本单元的大小。If the allocated memory of the first pointer array is used up, the UE allocates a memory of the first basic unit size for the first pointer array, and uses a pointer to record the to-be-sent memory in the newly allocated memory of the first pointer array. The storage address of the original data of the uplink RLC PDU. The RLC uplink window for newly allocated memory can add N1 uplink RLC PDUs for backup. And so on, but the memory space of the first pointer array is allocated up to the size of L1 first basic units.
步骤S14:UE收到网络侧发送的上行状态报告后,UE释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间。当某一个第一基本单元中的全部指针对应的上行RLC PDU全部收到ACK信息的时候,就为第一指针数组释放该第一基本单元的内存。Step S14: After the UE receives the uplink status report sent by the network side, the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side. When all the uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive ACK information, the memory of the first basic unit is released for the first pointer array.
所述步骤S13和步骤S14的顺序没有严格限制,可以任一在前或同时进行。The sequence of step S13 and step S14 is not strictly limited, and can be performed either before or at the same time.
传统的5G NR RLC的上行窗口采用静态分配内存方式,为兼容12位和18位两种情形的RLC PDU的序列号,需要一次性分配4×131072=524288字节的内存。本申请的5G NR RLC上行窗口采用动态数组的内存分配方式,每次申请一个第一基本单元的内存大小,然后进行合理管理、按需分配。The traditional 5G NR RLC uplink window adopts a static memory allocation method. In order to be compatible with the serial numbers of RLC PDUs in both 12-bit and 18-bit situations, it is necessary to allocate 4×131072=524288 bytes of memory at one time. The 5G NR RLC uplink window of this application adopts the memory allocation method of dynamic array, and applies for the memory size of the first basic unit each time, and then manages it reasonably and allocates it on demand.
5G NR在确认模式下RLC PDU的序列号如果是12位,RLC上行窗口的大小是2048,此时RLC上行窗口只需要一个第一基本单元;同时省略上述步骤S13。If the serial number of the RLC PDU in the 5G NR confirmation mode is 12 bits, the size of the RLC uplink window is 2048. At this time, the RLC uplink window only needs one first basic unit; at the same time, the above step S13 is omitted.
5G NR在确认模式下RLC PDU的序列号如果是18位,RLC上行窗口的大小是131072,此时RLC上行窗口需要一个或多个第一基本单元。If the sequence number of the RLC PDU in the acknowledgment mode of 5G NR is 18 bits, the size of the RLC uplink window is 131072. At this time, the RLC uplink window needs one or more first basic units.
在UE向网络侧发送上行RLC PDU的场景中,5G NR RLC上行窗口的内存优化管理的步骤如下。(1)UE的RLC收到新的上行RLC SDU。(2)UE的RLC将新的RLC SDU组装为RLC PDU并为RLC PDU分配序列号,并记录在参数TX_NEXT中。(3)UE的RLC判断新的RLC PDU是否超出了第一指针数组的已分配的内存大小。如果否,UE的RLC在第一指针数组的已分配的内 存中记录新的RLC PDU的指针。如果是,UE的RLC为第一指针数组动态分配新的一个第一基本单元大小的内存空间,并在第一指针数组的新分配的内存中记录新的RLC PDU的指针。新的RLC PDU的指针指向新的RLC PDU的原始数据的存储地址,用来备份原始RLC PDU的全部数据信息,目的是为了防止该RLC PDU需要重传。每个指针变量的的大小例如是4字节。(5)UE的RLC接收到上行状态报告,并根据其中的信息更新参数TX_NEXT_ACK。(6)UE的RLC释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间。当某一个第一基本单元中的全部指针对应的上行RLC PDU全部收到ACK信息的时候,就释放该第一基本单元的内存。In the scenario where the UE sends an uplink RLC PDU to the network side, the memory optimization management steps of the 5G NR RLC uplink window are as follows. (1) The RLC of the UE receives a new uplink RLC SDU. (2) The RLC of the UE assembles the new RLC SDU into an RLC PDU and assigns a sequence number to the RLC PDU, and records it in the parameter TX_NEXT. (3) The RLC of the UE judges 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 of the size of the first basic unit for the first pointer array, and records the pointer of the 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 the data information of the original RLC PDU, in order to prevent the RLC PDU from being retransmitted. 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) The RLC of the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side. When all the uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive ACK information, the memory of the first basic unit is released.
请参阅图2,本申请提出的5G NR RLC窗口内存优化管理的方法的实施例二包括如下步骤,适用于5G NR RLC下行窗口。Please refer to Figure 2, the second embodiment of the method for memory optimization management of 5G NR RLC window proposed by this application includes the following steps, which is applicable to 5G NR RLC downlink window.
步骤S21:5G NR在确认模式下的RLC下行窗口采用第二指针数组实现。指针数组也称动态二维数组。第二指针数组中,每个第二基本单元(一维数组)的大小为M2×N2字节。第二指针数组最大为M2×N2×L2字节,即最大为L2个第二基本单元。第二基本单元的大小可以根据实际需求变形。优选地,M2为8字节,N2为4096,L2为64。Step S21: The RLC downlink window of the 5G NR in the confirmation mode is realized by the second pointer array. Pointer arrays are also called dynamic two-dimensional arrays. 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 size of M2×N2×L2 bytes, that is, a maximum of L2 second basic units. The size of the second basic unit can be deformed according to actual needs. Preferably, M2 is 8 bytes, N2 is 4096, and L2 is 64.
步骤S22:为第二指针数组初始化分配一个第二基本单元大小的内存,采用M2个字节记录一个下行RLC PDU的序列号及下行接收信息。所述下行接收信息包括:当前序列号的下行RLC PDU有没有收到;当前序列号的下行RLC PDU有没有被分段;当前序列号的下行RLC PDU如果被分段,有没有接收完整全部分段。即初始化分配的RLC下行窗口能备份N2个下行RLC PDU的序列号及下行接收信息。Step S22: Initially allocate a memory with the size of the second basic unit for the second pointer array, and use M2 bytes to record the sequence number of a downlink RLC PDU and downlink reception information. The downlink reception information includes: whether the downlink RLC PDU of the current sequence number has been received; whether the downlink RLC PDU of the current sequence number has been segmented; if the downlink RLC PDU of the current sequence number has been segmented, whether the complete part has been received part. That is, the RLC downlink window allocated by initialization can back up the sequence numbers and downlink reception information of N2 downlink RLC PDUs.
步骤S23:如果第二指针数组的已分配的内存未用完,UE在第二指针数组的已分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息。Step S23: If the allocated memory of the second pointer array is not used up, the UE records the serial number of the newly received downlink RLC PDU and the downlink reception information in the allocated memory of the second pointer array.
如果第二指针数组的已分配的内存已用完,UE为第二指针数组增加分配一个第二基本单元大小的内存,并在第二指针数组的新分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息。新增分配内存的RLC下行窗口能新增记录N2个下行RLC PDU的序列号及下行接收信息。以此类推,但第二指针数组的内存空间最多分配至L2个第二基本单元的大小。If the allocated memory of the second pointer array is used up, the UE allocates a second basic unit of memory for the second pointer array, and records the newly received downlink RLC PDU in the newly allocated memory of the second pointer array serial number and downlink receiving information. The RLC downlink window for newly allocated memory can add 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 up to the size of L2 second basic units.
步骤S24:UE释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间。当某一个第二基本单元中对应的下行RLC PDU全部接收完整的时候,就为第二指针数组释放该第二基本单元的内存。Step S24: The UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window. When the corresponding downlink RLC PDUs in a certain second basic unit are all received completely, the memory of the second basic unit is released for the second pointer array.
所述步骤S23和步骤S24的顺序没有严格限制,可以任一在前或同时进行。The order of step S23 and step S24 is not strictly limited, and can be performed either before or at the same time.
传统的5G NR RLC的下行窗口采用静态分配内存方式,为兼容12位和18位两种情形的RLC PDU的序列号,需要一次性分配8×131072=1048576字节的内存。本申请的5G NR RLC 下行窗口采用动态数组的内存分配方式,每次申请一个第二基本单元的内存大小,然后进行合理管理、按需分配。The traditional 5G NR RLC downlink window adopts a static memory allocation method. In order to be compatible with the serial numbers of RLC PDUs in both 12-bit and 18-bit situations, 8×131072=1048576 bytes of memory need to be allocated at one time. The 5G NR RLC downlink window of this application adopts the memory allocation method of dynamic array, and applies for the memory size of a second basic unit each time, and then manages it reasonably and allocates it on demand.
5G NR在确认模式下RLC PDU的序列号如果是12位,RLC下行窗口的大小是2048,此时RLC下行窗口只需要一个第二基本单元;同时省略上述步骤S23。If the serial number of the RLC PDU in the 5G NR confirmation mode is 12 bits, the size of the RLC downlink window is 2048, and the RLC downlink window only needs one second basic unit; meanwhile, the above step S23 is omitted.
5G NR在确认模式下RLC PDU的序列号如果是18位,RLC下行窗口的大小是131072,此时RLC下行窗口需要一个或多个第二基本单元。If the sequence number of the RLC PDU in the 5G NR confirmation mode is 18 bits, the size of the RLC downlink window is 131072. At this time, the RLC downlink window needs one or more second basic units.
在网络侧向UE发送下行RLC PDU的场景中,5G NR RLC下行窗口的内存优化管理的步骤如下。(1)UE的RLC收到新的下行RLC PDU,根据其序列号更新状态变量RX_NEXT。(2)UE的RLC判断接收的下行RLC PDU的数量是否超出了第二指针数组的已分配的内存大小。如果否,UE的RLC在第二指针数组的已分配的内存中记录新的RLC PDU的序列号及下行接收信息。如果是,UE的RLC为第二指针数组增加分配一个第二基本单元大小的内存,并在RLC下行窗口新分配的内存中记录新的下行RLC PDU的序列号及下行接收信息。(3)UE的RLC释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间。当某一个第二基本单元中对应的下行RLC PDU全部接收完整的时候,就释放该第二基本单元的内存。In the scenario where the network side sends downlink RLC PDUs to the UE, the memory optimization management steps of the 5G NR RLC downlink window are 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 judges whether the quantity of the received downlink RLC PDU exceeds the allocated memory size of the second pointer array. If not, the RLC of the UE records the sequence number and downlink reception information of the new RLC PDU in the allocated memory of the second pointer array. If so, the RLC of the UE increases and allocates a second basic unit of memory for the second pointer array, and records the sequence number of the new downlink RLC PDU and downlink reception information in the newly allocated memory of the RLC downlink window. (3) The RLC of the UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window. When all the corresponding downlink RLC PDUs in a certain second basic unit are completely received, the memory of the second basic unit is released.
请参阅图3,本申请提出的5G NR RLC窗口内存优化管理的装置的实施例一包括第一实现单元11、第一初始分配单元12、第一后续分配单元13和第一释放单元14,适用于5G NR RLC上行窗口。Please refer to Fig. 3, the first embodiment of the device for 5G NR RLC window memory optimization management proposed by this application includes a first implementation unit 11, a first initial allocation unit 12, a first subsequent allocation unit 13 and a first release unit 14, applicable In the 5G NR RLC uplink window.
所述第一实现单元11用来将5G NR在确认模式下的RLC上行窗口采用第一指针数组实现。第一指针数组中,每个第一基本单元的大小为M1×N1字节。第一指针数组最大为L1个第一基本单元。The first implementation unit 11 is used to implement the RLC uplink window of the 5G NR in the acknowledged mode using the first pointer array. In the first pointer array, the size of each first basic unit is M1×N1 bytes. The first pointer array is at most L1 first basic units.
所述第一初始分配单元12用来为第一指针数组初始化分配一个第一基本单元大小的内存,采用M1个字节记录一个指针,每个指针指向一个特定序列号的UE即将发送的上行RLC PDU的原始数据的存储地址。The first initial allocation unit 12 is used to initialize and allocate a memory of a first basic unit size for the first pointer array, and use M1 bytes to record a pointer, and each pointer points to an uplink RLC to be sent by a UE with a specific serial number The storage address of the original data of the PDU.
所述第一后续分配单元13用来在第一指针数组的已分配的内存未用完时,在第一指针数组的已分配的内存中采用一个指针记录即将发送的上行RLC PDU的原始数据的存储地址;还用来在第一指针数组的已分配的内存已用完时,为第一指针数组增加分配一个第一基本单元大小的内存,并在第一指针数组的新分配的内存中采用一个指针记录该即将发送的上行RLC PDU的原始数据的存储地址。第一指针数组的内存空间最多分配为L1个第一基本单元的大小。The first follow-up allocation unit 13 is used to adopt a pointer to record the original data of the 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. Storage address; it is also used to allocate a memory of the first basic unit size for the first pointer array when the allocated memory of the first pointer array is used up, and use the newly allocated memory of the first pointer array A pointer records the storage address of the original data of the uplink RLC PDU to be sent. The memory space allocated for the first pointer array is at most the size of L1 first basic units.
所述第一释放单元14用来在UE收到网络侧发送的上行状态报告后,释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间。The first release unit 14 is used to release the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side after the UE receives the uplink status report sent by the network side.
请参阅图4,本申请提出的5G NR RLC窗口内存优化管理的装置的实施例二包括第二实现单元21、第二初始分配单元22、第二后续分配单元23和第二释放单元24,适用于5G NR RLC下行窗口。Please refer to FIG. 4, the second embodiment of the device for 5G NR RLC window memory optimization management proposed by this application includes a second implementation unit 21, a second initial allocation unit 22, a second subsequent allocation unit 23, and a second release unit 24, applicable In the 5G NR RLC downlink window.
所述第二实现单元21用来将5G NR在确认模式下的RLC下行窗口采用第二指针数组实现。第二指针数组中,每个第二基本单元的大小为M2×N2字节。第二指针数组最大为L2个第二基本单元。The second implementation unit 21 is used to implement the RLC downlink window of the 5G NR in the acknowledged mode using 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.
所述第二初始分配单元22用来为第二指针数组初始化分配一个第二基本单元大小的内存,采用M2个字节记录一个下行RLC PDU的序列号及下行接收信息。The second initial allocation unit 22 is used to initialize and allocate a second basic unit of memory for the second pointer array, and use M2 bytes to record the sequence number and downlink reception information of a downlink RLC PDU.
所述第二后续分配单元23用来在第二指针数组的已分配的内存未用完时,在第二指针数组的已分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;还用来在第二指针数组的已分配的内存已用完时,为第二指针数组增加分配一个第二基本单元大小的内存,并在第二指针数组的新分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息。第二指针数组的内存空间最多分配为L2个第二基本单元的大小。The second follow-up allocation unit 23 is used to record the sequence number and downlink reception information of the 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 ;It is also used to allocate a memory of the second basic unit size for the second pointer array when the allocated memory of the second pointer array is used up, and record the newly received memory in the newly allocated memory of the second pointer array The serial number of the downlink RLC PDU and the downlink reception information. The memory space allocated for the second pointer array is at most the size of L2 second basic units.
所述第二释放单元24用来释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间。The second release unit 24 is used to release the memory space of the received complete downlink RLC PDU in the RLC downlink window.
本申请在遵守3GPP协议的前提下,结合12位和18位两种情形的RLC PDU的序列号对应的RLC上下行窗口的大小以及代码实际实现情况,提出了一种全新的RLC上下行窗口的动态内存分配与释放的优化管理方法,能够最大程度地节省系统内存。本申请的技术方案在实验室测试场景以及实际应用中均得到了很好的验证,并且效果良好。Under the premise of complying with the 3GPP protocol, this application proposes a brand-new RLC uplink and downlink window in combination with the size of the RLC uplink and downlink windows corresponding to the serial numbers of the RLC PDUs of 12 bits and 18 bits and the actual implementation of the code. The optimal management method of dynamic memory allocation and release can save system memory to the greatest extent. The technical solution of the present application has been well verified in laboratory test scenarios and practical applications, and the effect is good.
以上仅为本申请的优选实施例,并不用于限定本申请。对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims (10)

  1. 一种5G NR RLC窗口内存优化管理的方法,其特征是,包括如下步骤;A method for 5G NR RLC window memory optimization management, is characterized in that, comprises the following steps;
    步骤S11:5G NR在确认模式下的RLC上行窗口采用第一指针数组实现;第一指针数组中,每个第一基本单元的大小为M1×N1字节;第一指针数组最大为L1个第一基本单元;Step S11: The RLC uplink window of 5G NR in confirmation mode is implemented using the first pointer array; in the first pointer array, the size of each first basic unit is M1×N1 bytes; the first pointer array is at most L1 a basic unit;
    步骤S12:为第一指针数组初始化分配一个第一基本单元大小的内存,采用M1个字节记录一个指针,每个指针指向一个特定序列号的UE即将发送的上行RLC PDU的原始数据的存储地址;Step S12: Initially allocate a memory of the first basic unit size for the first pointer array, use M1 bytes to record a pointer, and each pointer points to the storage address of the original data of the uplink RLC PDU to be sent by the UE with a specific serial number ;
    步骤S13:如果第一指针数组的已分配的内存未用完,UE在第一指针数组的已分配的内存中采用一个指针记录即将发送的上行RLC PDU的原始数据的存储地址;Step S13: If the allocated memory of the first pointer array is not used up, the UE uses 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;
    如果第一指针数组的已分配的内存已用完,UE为第一指针数组增加分配一个第一基本单元大小的内存,并在第一指针数组的新分配的内存中采用一个指针记录该即将发送的上行RLC PDU的原始数据的存储地址;第一指针数组的内存空间最多分配至L1个第一基本单元的大小;If the allocated memory of the first pointer array is used up, the UE allocates a memory of the first basic unit size for the first pointer array, and uses a pointer to record the to-be-sent memory in the newly allocated memory of the first pointer array. The storage address of the original data of the uplink RLC PDU; the memory space of the first pointer array is allocated up to the size of L1 first basic units;
    步骤S14:UE收到网络侧发送的上行状态报告后,UE释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间;Step S14: After the UE receives the uplink status report sent by the network side, the UE releases the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side;
    所述步骤S13和步骤S14或者任一在前,或者同时进行。The step S13 and the step S14 are either carried out before, or carried out at the same time.
  2. 根据权利要求1所述的5G NR RLC窗口内存优化管理的方法,其特征是,所述步骤S11中,M1为4字节,N1为4096,L1为64。The method for optimizing memory management of 5G NR RLC windows according to claim 1, characterized in that, in the step S11, M1 is 4 bytes, N1 is 4096, and L1 is 64.
  3. 根据权利要求1所述的5G NR RLC窗口内存优化管理的方法,其特征是,所述步骤S12中,初始化分配的RLC上行窗口能备份N1个上行RLC PDU。The method for memory optimization management of 5G NR RLC window according to claim 1, characterized in that, in said step S12, the RLC uplink window allocated by initialization can back up N1 uplink RLC PDUs.
  4. 根据权利要求1所述的5G NR RLC窗口内存优化管理的方法,其特征是,所述步骤S14中,当某一个第一基本单元中的全部指针对应的上行RLC PDU全部收到ACK信息的时候,就为所述第一指针数组释放该第一基本单元的内存。The method for 5G NR RLC window memory optimization management according to claim 1, characterized in that, in the step S14, when all the uplink RLC PDUs corresponding to all pointers in a certain first basic unit receive ACK information , the memory of the first basic unit is released for the first pointer array.
  5. 一种5G NR RLC窗口内存优化管理的方法,其特征是,包括如下步骤;A method for 5G NR RLC window memory optimization management, is characterized in that, comprises the following steps;
    步骤S21:5G NR在确认模式下的RLC下行窗口采用第二指针数组实现;第二指针数组中,每个第二基本单元的大小为M2×N2字节;第二指针数组最大为L2个第二基本单元;Step S21: The RLC downlink window of 5G NR in confirmation mode is realized by the second pointer array; in the second pointer array, the size of each second basic unit is M2×N2 bytes; the second pointer array is at most L2 Two basic units;
    步骤S22:为第二指针数组初始化分配一个第二基本单元大小的内存,采用M2个字节记录一个下行RLC PDU的序列号及下行接收信息;Step S22: allocate a second basic unit of memory for the initialization of the second pointer array, and use M2 bytes to record the sequence number and downlink reception information of a downlink RLC PDU;
    步骤S23:如果第二指针数组的已分配的内存未用完,UE在第二指针数组的已分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;Step S23: If the allocated memory of the second pointer array is not used up, the UE records the sequence number and downlink reception information of the newly received downlink RLC PDU in the allocated memory of the second pointer array;
    如果第二指针数组的已分配的内存已用完,UE为第二指针数组增加分配一个第二基本单元大小的内存,并在第二指针数组的新分配的内存中记录新接收的下行RLC PDU的序列号及 下行接收信息;第二指针数组的内存空间最多分配至L2个第二基本单元的大小;If the allocated memory of the second pointer array is used up, the UE allocates a second basic unit of memory for the second pointer array, and records the newly received downlink RLC PDU in the newly allocated memory of the second pointer array serial number and downlink receiving information; the memory space of the second pointer array is allocated up to the size of L2 second basic units;
    步骤S24:UE释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间;Step S24: The UE releases the memory space of the received complete downlink RLC PDU in the RLC downlink window;
    所述步骤S23和步骤S24或者任一在前,或者同时进行。The step S23 and the step S24 are either carried out before, or carried out at the same time.
  6. 根据权利要求5所述的5G NR RLC窗口内存优化管理的方法,其特征是,所述步骤S21中,M2为8字节,N2为4096,L2为64。The method for optimizing and managing 5G NR RLC window memory according to claim 5, characterized in that, in the step S21, M2 is 8 bytes, N2 is 4096, and L2 is 64.
  7. 根据权利要求5所述的5G NR RLC窗口内存优化管理的方法,其特征是,所述步骤S22中,所述下行接收信息包括:当前序列号的下行RLC PDU有没有收到;当前序列号的下行RLC PDU有没有被分段;当前序列号的下行RLC PDU如果被分段,有没有接收完整全部分段;初始化分配的RLC下行窗口能备份N2个下行RLC PDU。According to the method for 5G NR RLC window memory optimization management according to claim 5, it is characterized in that, in the step S22, the downlink receiving information includes: whether the downlink RLC PDU of the current sequence number has been received; Whether the downlink RLC PDU is segmented; if the downlink RLC PDU of the current sequence number is segmented, whether all the segments have been received; the RLC downlink window allocated by initialization can back up N2 downlink RLC PDUs.
  8. 根据权利要求5所述的5G NR RLC窗口内存优化管理的方法,其特征是,所述步骤S24中,当某一个第二基本单元中对应的下行RLC PDU全部接收完整的时候,就为所述第二指针数组释放该第二基本单元的内存。According to the method for 5G NR RLC window memory optimization management according to claim 5, it is characterized in that, in the step S24, when all the corresponding downlink RLC PDUs in a certain second basic unit are completely received, the The second pointer array releases the memory of the second basic unit.
  9. 一种5G NR RLC窗口内存优化管理的装置,其特征是,包括第一实现单元、第一初始分配单元、第一后续分配单元和第一释放单元;A device for 5G NR RLC window memory optimization management, characterized in that it includes a first implementation unit, a first initial allocation unit, a first subsequent allocation unit, and a first release unit;
    所述第一实现单元用来将5G NR在确认模式下的RLC上行窗口采用第一指针数组实现;第一指针数组中,每个第一基本单元的大小为M1×N1字节;第一指针数组最大为L1个第一基本单元;The first implementation unit is used to implement the RLC uplink window of 5G NR in confirmation mode using the first pointer array; in the first pointer array, the size of each first basic unit is M1×N1 bytes; the first pointer The maximum size of the array is L1 first basic units;
    所述第一初始分配单元用来为第一指针数组初始化分配一个第一基本单元大小的内存,采用M1个字节记录一个指针,每个指针指向一个特定序列号的UE即将发送的上行RLC PDU的原始数据的存储地址;The first initial allocation unit is used to initialize and allocate a memory of the first basic unit size for the first pointer array, and use M1 bytes to record a pointer, and each pointer points to an uplink RLC PDU that is about to be sent by a UE with a specific serial number The storage address of the original data;
    所述第一后续分配单元用来在第一指针数组的已分配的内存未用完时,在第一指针数组的已分配的内存中采用一个指针记录即将发送的上行RLC PDU的原始数据的存储地址;还用来在第一指针数组的已分配的内存已用完时,为第一指针数组增加分配一个第一基本单元大小的内存,并在第一指针数组的新分配的内存中采用一个指针记录该即将发送的上行RLC PDU的原始数据的存储地址;第一指针数组的内存空间最多分配为L1个第一基本单元的大小;The first subsequent allocation unit is used to use a pointer to record the storage of the original data of the 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 address; it is also used to allocate a memory of the first basic unit size for the first pointer array when the allocated memory of the first pointer array is used up, and adopt a memory in the newly allocated memory of the first pointer array The pointer records 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 up to the size of L1 first basic units;
    所述第一释放单元用来在UE收到网络侧发送的上行状态报告后,释放已经收到网络侧的ACK信息的上行RLC PDU的指针在RLC上行窗口中的内存空间。The first release unit is used to release the memory space in the RLC uplink window of the pointer of the uplink RLC PDU that has received the ACK information from the network side after the UE receives the uplink status report sent by the network side.
  10. 一种5G NR RLC窗口内存优化管理的装置,其特征是,包括第二实现单元、第二初始分配单元、第二后续分配单元和第二释放单元;A device for 5G NR RLC window memory optimization management, characterized in that it includes a second implementation unit, a second initial allocation unit, a second subsequent allocation unit, and a second release unit;
    所述第二实现单元用来将5G NR在确认模式下的RLC下行窗口采用第二指针数组实现; 第二指针数组中,每个第二基本单元的大小为M2×N2字节;第二指针数组最大为L2个第二基本单元;The second implementation unit is used to implement the RLC downlink window of 5G NR in confirmation mode using a second pointer array; in the second pointer array, the size of each second basic unit is M2×N2 bytes; the second pointer The maximum number of arrays is L2 second basic units;
    所述第二初始分配单元用来为第二指针数组初始化分配一个第二基本单元大小的内存,采用M2个字节记录一个下行RLC PDU的序列号及下行接收信息;The second initial allocation unit is used to allocate a memory of the second basic unit size for the initialization of the second pointer array, and adopt M2 bytes to record the serial number and the downlink receiving information of a downlink RLC PDU;
    所述第二后续分配单元用来在第二指针数组的已分配的内存未用完时,在第二指针数组的已分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;还用来在第二指针数组的已分配的内存已用完时,为第二指针数组增加分配一个第二基本单元大小的内存,并在第二指针数组的新分配的内存中记录新接收的下行RLC PDU的序列号及下行接收信息;第二指针数组的内存空间最多分配为L2个第二基本单元的大小;The second subsequent allocation unit is used to record the sequence number and downlink reception information of the 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; It is also used to increase and allocate a second basic unit of memory for the second pointer array when the allocated memory of the second pointer array is used up, and record the newly received memory in the newly allocated memory of the second pointer array. The serial number of the downlink RLC PDU and the downlink receiving information; the memory space of the second pointer array is allocated up to the size of L2 second basic units;
    所述第二释放单元用来释放已经接收完整的下行RLC PDU在RLC下行窗口中的内存空间。The second release unit is used to release the memory space of the received complete downlink RLC PDU in the RLC downlink window.
PCT/CN2022/123734 2021-11-03 2022-10-08 Method and apparatus for memory optimization management of 5g nr rlc window WO2023078014A1 (en)

Applications Claiming Priority (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
CN202111323126.9 2021-11-03

Publications (1)

Publication Number Publication Date
WO2023078014A1 true WO2023078014A1 (en) 2023-05-11

Family

ID=80274417

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123734 WO2023078014A1 (en) 2021-11-03 2022-10-08 Method and apparatus for memory optimization management of 5g nr rlc window

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064273A (en) * 2021-11-03 2022-02-18 翱捷科技股份有限公司 Method and device for optimal management of 5G NR RLC window memory

Citations (5)

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

Patent Citations (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
US20210243652A1 (en) * 2020-05-04 2021-08-05 Intel Corporation Performance measurements and kpis related to packet delay in ng-ran and 5gs
CN112153696A (en) * 2020-09-25 2020-12-29 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

Also Published As

Publication number Publication date
CN114064273A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
KR100765121B1 (en) Polling method of Protocol Data Unit of transmission buffer
JP4437128B2 (en) Method and apparatus for processing control PDU upon re-establishment of receiver in wireless communication system
US10602400B2 (en) Enhancement of PDCP status report
KR101073915B1 (en) Method for Transmitting Control Information in a Mobile Communication System having Automatic Repeat Request
AU2005253495B2 (en) Transmitting and receiving control protocol data unit having processing time information
KR100802619B1 (en) Method for receiving data in a receiver under radio link control protocolprocessing method for rlc reception window
EP2166691B1 (en) Methods and apparatuses for improving buffer status triggering mechanism in wireless communictions system
US20060251105A1 (en) Method and apparatus for requesting/transmitting status report of a mobile communication system
US20190200273A1 (en) Flushing PDCP Packets To Reduce Network Load In Multi-Connectivity Scenarios
TWI401985B (en) Method of constructing and transmitting packets with mimo configuration in a wireless communication system
US20100122136A1 (en) Method and apparatus for reduced data block transmission in an automatic repeat request system
WO2009117945A1 (en) Method, system and device for transmitting data
WO2023078014A1 (en) Method and apparatus for memory optimization management of 5g nr rlc window
CN105681001A (en) Method and device for realizing RLC (Radio Link Control) layer retransmission
CN109547167B (en) Counting method and communication device
KR20030012152A (en) Retransmission method with state variables in the radio link control layer of the UMTS systems

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22889040

Country of ref document: EP

Kind code of ref document: A1