Serial number length adjusting method, base station and computer readable storage medium

By dynamically adjusting the serial number length of the RLC protocol, the problem of inflexible serial number length setting in the prior art is solved, the data processing rate and system capacity are improved, and efficient RLC link management is achieved.

CN119011101APending Publication Date: 2024-11-22NANNING FUGUI PRECISION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310551951.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the prior art, the serial number length setting of the RLC protocol is not flexible enough, resulting in a window waiting or an increase in system memory overhead when the throughput of the user equipment changes, which may affect the data processing rate and system capacity.

Method used

By obtaining the transmit window and receive window parameters of the wireless link control layer protocol of the user equipment in confirmation mode, dynamically adjust the serial number length of the downlink and uplink, and using the timer and counter mechanism to determine the preset threshold and threshold based on the preset threshold and threshold Adjust the value.

Benefits of technology

Dynamic adjustment of RLC uplink and downlink serial number length is realized, data processing rate and system capacity are improved, algorithm complexity is reduced, and it is simple, efficient and versatile.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011101A_ABST
    Figure CN119011101A_ABST
Patent Text Reader

Abstract

The method for adjusting the length of the serial number is applied to a base station and comprises the following steps: acquiring parameters of a transmitting window and parameters of a receiving window of a radio link control layer protocol of user equipment in an acknowledgement mode; and respectively adjusting the serial number length of a downlink and the serial number length of an uplink according to the parameter of the transmitting window and the parameter of the receiving window. The invention also provides a base station and a computer readable storage medium. According to the invention, the serial number length of the uplink / downlink of the radio link control layer protocol can be dynamically adjusted in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a sequence number length adjustment technology, and in particular to a sequence number length adjustment method, a base station and a computer-readable storage medium. Background Art

[0002] The sequence number (SN) is designed by the 3rd Generation Partnership Project (3GPP) to identify the sequence number of data packets. The sequence number length (Sn-FieldLength) of the Radio Link Control (RLC) protocol is a very important parameter of the Long Term Evolution (LTE), NR RLC protocol, especially the RLC Acknowledged Mode (AM mode). SN involves the basic functions of RLC layer data message fragmentation, reassembly, sorting, and retransmission. Sn-FieldLength also directly determines the size of the queue window for retransmission, reassembly, and reordering.

[0003] The RLC Sn-FieldLength defined by 3GPP is 6 bits (SN:2 6 =64), 12bit (SN: 4096), 18bit (SN: 262144). The protocol stipulates that the RLC retransmission, reassembly, and reordering queue window is half of the Sn-FieldLength length (SN-FieldLength / 2). When the user equipment (UE) throughput (rate) is high and a smaller Sn-FieldLength is used, it may appear that the transmission or reception window is full and waiting for RLC retransmission or RLC poll, which affects the RLC layer data processing rate and delay; when the UE throughput (rate) is low and a larger Sn-FieldLength is used, the system memory overhead will increase and affect the system capacity; therefore, the appropriate RLC AM sn-FieldLength is very important for the RLC layer. Summary of the invention

[0004] In view of the above, it is necessary to provide a method for adjusting the sequence number length, a base station and a computer-readable storage medium, which can dynamically adjust the Sn-FieldLength of the RLC uplink / downlink (UpLink / DownLink).

[0005] An embodiment of the present invention provides a method for adjusting the sequence number length, which is applied to a base station. The method includes: obtaining parameters of a transmission window and a reception window of a wireless link control layer protocol of a user equipment in a confirmation mode; and adjusting the sequence number length of a downlink and the sequence number length of an uplink respectively according to the parameters of the transmission window and the parameters of the reception window.

[0006] Optionally, adjusting the downlink sequence number length according to the parameter of the transmission window includes:

[0007] In the downlink, the next sequence number Tx_next to be sent by the base station, the next expected sequence number Tx_next_ACK replied by the user equipment, and the size of the transmission window AM_window_Size are obtained; (TX_NEXT-TX_NEXT_ACK+AM_Window_Size) is calculated by taking the remainder of the AM_window_Size to obtain a first value; the first value is compared with a first preset threshold value; when the first value is greater than the first preset threshold value, the timer is started for a preset time; within the preset time of the timer being started, whenever the first value is less than the second preset threshold value, the count of the first counter is increased; whenever the first value is not less than the third preset threshold value, the count of the second counter is increased; when the preset time of the timer being started ends, when the value of the first counter is not less than the first counting threshold value and the sequence number length is not the minimum value allowed by the sequence number length, the value of the sequence number length is reduced, and when the value of the second counter is not less than the second counting threshold value and the sequence number length is not the maximum value allowed by the sequence number length, the value of the sequence number length is increased.

[0008] Optionally, adjusting the sequence number length of the uplink according to the parameters of the receiving window includes: in the uplink, obtaining the maximum sequence number RX_NEXT_Highest received by the base station, the next sequence number RX_NEXT that the base station expects to receive, and the size of the current transmission window AM_window_Size; performing a remainder operation on (RX_NEXT_Highest-RX_NEXT+AM_Window_Size) and AM_window_Size to obtain a second value; judging and comparing the second value with the first preset threshold; when the second value is greater than the first preset threshold, starting a timer for a preset time; within the preset time of starting the timer, whenever the first value is less than the second preset threshold, increasing the count of the first counter; whenever the first value is not less than the third preset threshold, increasing the count of the second counter; when the preset time of starting the timer ends, when the value of the first counter is not less than the first counting threshold and the sequence number length is not the minimum value allowed for the sequence number length, reducing the value of the sequence number length; and when the value of the second counter is not less than the second counting threshold and the sequence number length is not the maximum value allowed for the sequence number length, increasing the value of the sequence number length.

[0009] Optionally, the method further includes: after the adjustment of the value of the sequence number length is completed, resetting the count of the first counter and the count of the second counter to zero.

[0010] An embodiment of the present invention also provides a base station, which includes a memory, a processor, and a sequence number length adjustment program stored in the memory and executable on the processor, wherein the sequence number length adjustment program implements the following steps when executed by the processor: obtaining the parameters of the transmission window and the receiving window of the wireless link control layer protocol of the user equipment in the confirmation mode; and adjusting the sequence number length of the downlink and the sequence number length of the uplink respectively according to the parameters of the transmission window and the parameters of the receiving window.

[0011] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for adjusting the sequence number length as described above are implemented.

[0012] Compared with the prior art, the method for adjusting the sequence number length, the base station and the computer-readable storage medium, in this embodiment, obtain the parameters of the transmission window and the receiving window of the radio link control layer protocol of the user equipment in the confirmation mode; and adjust the sequence number length of the downlink and the sequence number length of the uplink respectively according to the parameters of the transmission window and the parameters of the receiving window. In this way, the Sn-FieldLength of the RLC uplink / downlink (UpLink / DownLink) can be adjusted dynamically. The method has the characteristics of simplicity, high efficiency, low algorithm complexity, easy implementation, and universality for uplink and downlink. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a program module diagram of a preferred embodiment of the base station of the present invention.

[0014] Figure 2 It is a flow chart of a method for adjusting the sequence number length according to a preferred embodiment of the present invention.

[0015] Main component symbols

[0016] Base Station 10

[0017] Memory 20

[0018] Processor 30

[0019] Get Module 101

[0020] Adjustment module 102

[0021] Initialization module 103

[0022] Steps S20 to S22

[0023] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0024] See also Figure 1 , which is a program module diagram of a preferred embodiment of the base station 10 of the present invention. The base station 10 includes an acquisition module 101, an adjustment module 102 and an initialization module 103. The base station 10 also includes a memory 20 and a processor 30. The acquisition module 101, the adjustment module 102 and the initialization module 103 of the present invention are computer program segments that complete a specific instruction. The memory 20 is used to store data such as program codes of the base station 10. The processor 30 is used to execute the program code stored in the memory 20.

[0025] The memory 20 includes at least one type of storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. The processor 30 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips, etc.

[0026] The acquisition module 101 is used to acquire the parameters of the transmission window (Tx) and the reception window (Rx) of the radio link control layer protocol of the user equipment in the confirmation mode.

[0027] In the WCDMA system, the Radio Link Control (RLC) layer is located above the MAC layer and is part of L2, providing segmentation and retransmission services for user and control data. RLC includes Acknowledged Mode (AM mode), UnAcknowledged Mode (UM mode) and Transparent Mode (TM mode). In RLC, AM is used for data services, TM is used for voice services, and UM is mainly used for some signaling bearers. In this embodiment, the sequence number length (SN-FieldLength) of the uplink and downlink is mainly adjusted in the AM mode. SN-FieldLength is used to manage the length of the packet sequence number in the RLC layer. This sequence number plays a key role in whether the RLC transmission / retransmission is correct.

[0028] The adjustment module 102 is used to adjust the downlink sequence number length and the uplink sequence number length respectively according to the parameters of the transmission window (Tx) and the parameters of the reception window (Rx).

[0029] Specifically: in the downlink, the adjustment module 102 obtains the next sequence number Tx_next to be sent by the base station, the next expected sequence number Tx_next_ACK replied by the user equipment, and the size of the transmission window AM_window_Size; (TX_NEXT-TX_NEXT_ACK+AM_Window_Size) is calculated by taking the remainder of AM_window_Size to obtain a first value; the adjustment module 102 determines that the first value is compared with a first preset threshold (for example, the first preset threshold is K / 8*AM_Window_Size); when the first value is greater than the first preset threshold, the adjustment module 102 starts a timer for a preset time (for example, the preset time can be set to 100ms); within the preset time of the timer being started, whenever the first value is less than the second preset threshold (for example, the first preset threshold is K / 4*AM_Window_Size), the count of the first counter is increased; whenever the first value is not less than the third preset threshold (for example, the third preset threshold is K*AM_Window_Size), the count of the second counter is increased.

[0030] The size of the current transmission window can be calculated by the formula AM_window_Size=2 SN-FieldLength-1 get.

[0031] When the preset time of the timer starts ends, when the value of the first counter is not less than the first counting threshold value (the first counting threshold value can be set to 5 times as needed), and the sequence number length is not the minimum value allowed by the sequence number length, the adjustment module 102 reduces the value of the sequence number length. When the value of the second counter is not less than the second counting threshold value (the second counting threshold value can also be set to 5 times as needed, of course, it can also be set to other values ​​as needed, and the first counting threshold value and the second counting threshold value can be the same or different), and the sequence number length is not the maximum value allowed by the sequence number length, the adjustment module 102 increases the value of the sequence number length.

[0032] The RLC Sn-FieldLength defined by 3GPP is 6 bits (Sn:2 6=64), 12bit(Sn:4096), 18bit(Sn:262144). Therefore, when the value of the first counter is not less than the first counting threshold value, and the sequence number length is not the minimum value of 6bit allowed by the sequence number length, the value of the sequence number length is reduced, for example, 18bit can be reduced to 6bit or 12bit, and 12bit can be reduced to 6bit. When the value of the second counter is not less than the second counting threshold value, and the sequence number length is not the maximum value of 18bit allowed by the sequence number length, the value of the sequence number length is increased, for example, 6bit can be increased to 12bit or 18bit, and 12bit can be increased to 18bit.

[0033] The initialization module 103 is used to reset the counts of the first counter and the second counter to zero after the adjustment of the value of the sequence number length is completed.

[0034] For example, the functions of the adjustment module 102 and the initialization module 103 can be implemented by the following code:

[0035]

[0036]

[0037] In the above code, K represents the utilization threshold of the transmission window, such as 80%. When the window utilization reaches 80%, the upward counter is started. When the current utilization is lower than 1 / 4K, that is, 20%, the downward counter is started.

[0038] adjust_timer is the timer for adjusting Sn-FieldLength. When the window utilization is greater than a certain value, such as 10%, the timer starts. count_adjust is the threshold for the number of statistics. The above, K, K / 4, K / 8 can be configured according to actual conditions.

[0039] In the uplink, the adjustment module 102 obtains the maximum sequence number RX_NEXT_Highest received by the base station, the next sequence number RX_NEXT that the base station expects to receive, and the size of the current transmission window AM_window_Size; (RX_NEXT_Highest-RX_NEXT+

[0040] AM_Window_Size) and AM_window_Size are calculated to obtain a second value; the adjustment module 102 determines whether the second value is equal to a first preset threshold value (for example, the first preset threshold value is K / 8*

[0041] When the second value is greater than the first preset threshold, the adjustment module 102 starts the timer for a preset time (for example, the preset time can be set to 100ms). During the preset time when the timer is started, whenever the first value is less than the second preset threshold (for example, the second preset threshold is K / 4*AM_Window_Size), the adjustment module 102 increases the count of the first counter. Whenever the first value is not less than a third preset threshold (for example, the third preset threshold is K*AM_Window_Size), the adjustment module 102 increases the count of the second counter.

[0042] The size of the current transmission window can be calculated by the formula AM_window_Size=2 SN-FieldLength-1 get.

[0043] When the preset time of the timer starts ends, when the value of the first counter is not less than the first count threshold (the first count threshold can be set to 5 times as needed), and the sequence number length is not the minimum value allowed by the sequence number length, the adjustment module 102 reduces the value of the sequence number length.

[0044] When the value of the second counter is not less than the second counting threshold value (the second counting threshold value can also be set to 5 times as needed, of course, it can also be set to other values ​​as needed, and the first counting threshold value and the second counting threshold value can be the same or different), and the sequence number length is not the maximum value allowed by the sequence number length, the adjustment module 102 increases the value of the sequence number length.

[0045] For example, the functions of the adjustment module 102 and the initialization module 103 can be implemented by the following code:

[0046]

[0047]

[0048] In this embodiment, the parameters of the transmission window and the receiving window of the radio link control layer protocol of the user equipment in the confirmation mode are obtained; and the sequence number length of the downlink and the sequence number length of the uplink are adjusted according to the parameters of the transmission window and the parameters of the receiving window. In this way, the Sn-FieldLength of the RLC uplink / downlink (UpLink / DownLink) can be dynamically adjusted. The method has the characteristics of simplicity, high efficiency, low algorithm complexity, easy implementation, and universality for uplink and downlink.

[0049] In this embodiment, the parameters of the transmission window and the receiving window of the radio link control layer protocol of the user equipment in the confirmation mode are obtained; and the sequence number length of the downlink and the sequence number length of the uplink are adjusted according to the parameters of the transmission window and the parameters of the receiving window. In this way, the Sn-FieldLength of the RLC uplink / downlink (UpLink / DownLink) can be dynamically adjusted. The method has the characteristics of simplicity, high efficiency, low algorithm complexity, easy implementation, and universality for uplink and downlink.

[0050] See also Figure 2 FIG. 1 is a flowchart of a method for adjusting the length of a sequence number according to a preferred embodiment of the present invention. The method for adjusting the length of a sequence number is applied to the base station 10 and can be executed by the processor 30. Figure 1 The module 101-103 shown is implemented.

[0051] Step S20, obtaining parameters of a transmission window (Tx) and a reception window (Rx) of a radio link control layer protocol of the user equipment in a confirmation mode.

[0052] In the WCDMA system, the Radio Link Control (RLC) layer is located above the MAC layer and is part of L2, providing segmentation and retransmission services for user and control data. RLC includes Acknowledged Mode (AM mode), UnAcknowledged Mode (UM mode) and Transparent Mode (TM mode). In RLC, AM is used for data services, TM is used for voice services, and UM is mainly used for some signaling bearers. In this embodiment, the sequence number length (SN-FieldLength) of the uplink and downlink is mainly adjusted in the AM mode. SN-FieldLength is used to manage the length of the packet sequence number in the RLC layer. This sequence number plays a key role in whether the RLC transmission / retransmission is correct.

[0053] Step S22, adjusting the downlink sequence number length and the uplink sequence number length respectively according to the parameters of the transmission window (Tx) and the parameters of the reception window (Rx).

[0054] In step S22, adjusting the length of the downlink (Downlink, DL) sequence number according to the parameters of the transmission window (Tx) includes:

[0055] In the downlink, obtain the next sequence number Tx_next that the base station is ready to send, the next expected received sequence number Tx_next_ACK replied by the user equipment, and the size of the transmission window AM_window_Size; perform a remainder operation on (TX_NEXT-TX_NEXT_ACK+AM_Window_Size) and AM_window_Size to obtain a first value; determine and compare the first value with a first preset threshold (for example, the first preset threshold is K / 8*AM_Window_Size).

[0056] The size of the current transmission window can be calculated by the formula AM_window_Size=2 SN-FieldLength-1 get.

[0057] When the first value is greater than the first preset threshold, the timer is started for a preset time (for example, the preset time can be set to 100ms); within the preset time when the timer is started, whenever the first value is less than the second preset threshold (for example, the first preset threshold is K / 4*AM_Window_Size), the count of the first counter is increased; whenever the first value is not less than the third preset threshold (for example, the third preset threshold is K*AM_Window_Size), the count of the second counter is increased; when the preset time after the timer is started is over, when the value of the first counter is not less than the first counting threshold (the first counting threshold can be set to 5 times as required), and the sequence number length is not the minimum value allowed by the sequence number length, the value of the sequence number length is reduced. When the value of the second counter is not less than the second counting threshold (the second counting threshold can also be set to 5 times as required, of course, it can also be set to other values ​​as required, and the first counting threshold and the second counting threshold can be the same or different), and the sequence number length is not the maximum value allowed by the sequence number length, the value of the sequence number length is increased.

[0058] The RLC Sn-FieldLength defined by 3GPP is 6 bits (Sn:2 6=64), 12bit(Sn:4096), 18bit(Sn:262144). Therefore, when the value of the first counter is not less than the first counting threshold value, and the sequence number length is not the minimum value of 6bit allowed by the sequence number length, the value of the sequence number length is reduced, for example, 18bit can be reduced to 6bit or 12bit, and 12bit can be reduced to 6bit. When the value of the second counter is not less than the second counting threshold value, and the sequence number length is not the maximum value of 18bit allowed by the sequence number length, the value of the sequence number length is increased, for example, 6bit can be increased to 12bit or 18bit, and 12bit can be increased to 18bit.

[0059] Further, after the adjustment of the value of the sequence number length is completed, the base station resets the count of the first counter and the count of the second counter to zero.

[0060] For example, the following code can be used to adjust the length of the downlink sequence number:

[0061]

[0062] In the above code, K represents the utilization threshold of the transmission window, such as 80%. When the window utilization reaches 80%, the upward counter is started. When the current utilization is lower than 1 / 4K, that is, 20%, the downward counter is started.

[0063] adjust_timer is the timer for adjusting Sn-FieldLength. When the window utilization is greater than a certain value, such as 10%, the timer starts. count_adjust is the threshold for the number of statistics. The above, K, K / 4, K / 8 can be configured according to actual conditions.

[0064] Further, adjusting the uplink sequence number length (SN-FieldLength) according to the parameters of the receiving window (Rx) includes:

[0065] In the uplink, obtain the maximum sequence number RX_NEXT_Highest received by the base station, the next sequence number RX_NEXT that the base station expects to receive, and the size of the current transmission window AM_window_Size; perform a remainder operation on (RX_NEXT_Highest-RX_NEXT+AM_Window_Size) and AM_window_Size to obtain a second value; determine and compare the second value with a first preset threshold (for example, the first preset threshold is K / 8*AM_Window_Size).

[0066] The size of the current transmission window can be calculated by the formula AM_window_Size=2 SN-FieldLength-1 get.

[0067] When the second value is greater than the first preset threshold, the preset time of the timer is started (for example, the preset time can be set to 100ms); within the preset time of starting the timer, whenever the first value is less than the second preset threshold (for example, the second preset threshold is K / 4*AM_Window_Size), the count of the first counter is increased; whenever the first value is not less than the third preset threshold (for example, the third preset threshold is K*AM_Window_Size), the count of the second counter is increased.

[0068] When the preset time of the timer starts is over, when the value of the first counter is not less than the first counting threshold value (the first counting threshold value can be set to 5 times as needed), and the sequence number length is not the minimum value allowed by the sequence number length, the value of the sequence number length is reduced. When the value of the second counter is not less than the second counting threshold value (the second counting threshold value can also be set to 5 times as needed, of course, it can also be set to other values ​​as needed, and the first counting threshold value and the second counting threshold value can be the same or different), and the sequence number length is not the maximum value allowed by the sequence number length, the value of the sequence number length is increased.

[0069] Furthermore, after the adjustment of the value of the sequence number length is completed, the count of the first counter and the count of the second counter are reset to zero.

[0070] For example, the following code can be used to adjust the length of the uplink sequence number:

[0071]

[0072] In this embodiment, the parameters of the transmission window and the receiving window of the radio link control layer protocol of the user equipment in the confirmation mode are obtained; and the sequence number length of the downlink and the sequence number length of the uplink are adjusted according to the parameters of the transmission window and the parameters of the receiving window. In this way, the Sn-FieldLength of the RLC uplink / downlink (UpLink / DownLink) can be dynamically adjusted. The method has the characteristics of simplicity, high efficiency, low algorithm complexity, easy implementation, and universality for uplink and downlink.

[0073] This embodiment further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for adjusting the sequence number length as described above are implemented.

[0074] It is worth noting that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for adjusting the length of a sequence number, applied to a base station, characterized in that: The method comprises: Obtaining parameters of a transmission window and a reception window of a radio link control layer protocol of a user equipment in a confirmation mode; The downlink sequence number length and the uplink sequence number length are adjusted respectively according to the parameters of the transmission window and the parameters of the reception window.

2. The method for adjusting the sequence number length according to claim 1, characterized in that: Adjusting the length of the sequence number of the downlink according to the parameter of the transmission window includes: In the downlink, obtain the next sequence number Tx_next that the base station is going to send, the next expected received sequence number Tx_next_ACK replied by the user equipment, and the size of the transmission window AM_window_Size; Perform a remainder operation on (TX_NEXT–TX_NEXT_ACK+AM_Window_Size) and AM_window_Size to obtain a first value; Determine and compare the first value with a first preset threshold; When the first value is greater than a first preset threshold, starting a timer for a preset time; During the preset time when the timer is started, whenever the first value is less than the second preset threshold, the count of the first counter is increased; whenever the first value is not less than the third preset threshold, the count of the second counter is increased; and When the preset time of the timer starts ends, when the value of the first counter is not less than the first counting threshold value and the sequence number length is not the minimum value allowed by the sequence number length, the value of the sequence number length is reduced; when the value of the second counter is not less than the second counting threshold value and the sequence number length is not the maximum value allowed by the sequence number length, the value of the sequence number length is increased.

3. The method for adjusting the sequence number length according to claim 1, wherein: Adjusting the length of the sequence number of the uplink according to the parameter of the receiving window includes: In the uplink, the maximum sequence number RX_NEXT_Highest received by the base station, the next sequence number RX_NEXT that the base station expects to receive, and the size of the current transmission window AM_window_Size are obtained; Perform a remainder operation on (RX_NEXT_Highest - RX_NEXT + AM_Window_Size) and AM_window_Size to obtain a second value; Determine and compare the second value with a first preset threshold; When the second value is greater than the first preset threshold, starting the timer for a preset time; During the preset time when the timer is started, whenever the first value is less than the second preset threshold, the count of the first counter is increased; whenever the first value is not less than the third preset threshold, the count of the second counter is increased; and When the preset time of the timer starts ends, when the value of the first counter is not less than the first counting threshold value and the sequence number length is not the minimum value allowed by the sequence number length, the value of the sequence number length is reduced; and when the value of the second counter is not less than the second counting threshold value and the sequence number length is not the maximum value allowed by the sequence number length, the value of the sequence number length is increased.

4. The method for adjusting the sequence number length as described in claim 2 or 3, characterized in that: The method further comprises: After the adjustment of the value of the sequence number length is completed, the counts of the first counter and the second counter are reset to zero.

5. A base station, characterized in that: The base station includes a memory, a processor, and a sequence number length adjustment program stored in the memory and executable on the processor, wherein the sequence number length adjustment program implements the following steps when executed by the processor: Obtaining parameters of a transmission window and a reception window of a radio link control layer protocol of a user equipment in a confirmed mode; and The downlink sequence number length and the uplink sequence number length are adjusted respectively according to the parameters of the transmission window and the parameters of the reception window.

6. The base station according to claim 5, characterized in that Adjusting the length of the sequence number of the downlink according to the parameter of the transmission window includes: In the downlink, obtain the next sequence number Tx_next that the base station is going to send, the next expected received sequence number Tx_next_ACK replied by the user equipment, and the size of the transmission window AM_window_Size; Perform a remainder operation on (TX_NEXT–TX_NEXT_ACK+AM_Window_Size) and AM_window_Size to obtain a first value; Determine and compare the first value with a first preset threshold; When the first value is greater than a first preset threshold, starting a timer for a preset time; During the preset time when the timer is started, whenever the first value is less than the second preset threshold, the count of the first counter is increased; whenever the first value is not less than the third preset threshold, the count of the second counter is increased; and When the preset time of the timer is over, when the value of the first counter is not less than the first count threshold, and the sequence number length is not the minimum value allowed by the sequence number length, reducing the value of the sequence number length; and When the value of the second counter is not less than the second value threshold and the length of the sequence number is not the maximum value allowed by the length of the sequence number, the value of the length of the sequence number is increased.

7. The base station according to claim 5, characterized in that Adjusting the length of the sequence number of the uplink according to the parameter of the receiving window includes: In the uplink, the maximum sequence number RX_NEXT_Highest received by the base station, the next sequence number RX_NEXT that the base station expects to receive, and the size of the current transmission window AM_window_Size are obtained; Perform a remainder operation on (RX_NEXT_Highest - RX_NEXT + AM_Window_Size) and AM_window_Size to obtain a second value; Determine and compare the second value with a first preset threshold; When the second value is greater than the first preset threshold, starting the timer for a preset time; During the preset time when the timer is started, whenever the first value is less than the second preset threshold, the count of the first counter is increased; whenever the first value is not less than the third preset threshold, the count of the second counter is increased; and When the preset time of the timer starts ends, when the value of the first counter is not less than the first counting threshold value and the sequence number length is not the minimum value allowed by the sequence number length, the value of the sequence number length is reduced; when the value of the second counter is not less than the second counting threshold value and the sequence number length is not the maximum value allowed by the sequence number length, the value of the sequence number length is increased.

8. The base station according to claim 6 or 7, characterized in that: When the sequence number length adjustment program is executed by the processor, the following steps are also implemented: After the adjustment of the value of the sequence number length is completed, the counts of the first counter and the second counter are reset to zero.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for adjusting the sequence number length as claimed in any one of claims 1 to 4.