A data retransmission method, apparatus, base station and storage medium

By detecting changes in spectrum resources at the base station MAC layer, the adjusted spectrum resource amount and packet loss message are sent directly to the RLC layer, which solves the problem of high retransmission failure rate in NR network spectrum refarming and achieves faster retransmission and higher success rate.

CN118944826BActive Publication Date: 2025-12-12DATANG MOBILE COMM EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310529498.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-11
Publication Date
2025-12-12
Estimated Expiration
2043-05-11

AI Technical Summary

Technical Problem

During the spectrum refarming process in NR networks, the reduction in spectrum resources leads to a high retransmission failure rate. In particular, in TDD systems, existing technologies have failed to effectively adjust the bit rate, resulting in a high retransmission failure rate and long latency.

Method used

The base station detects changes in spectrum resources at the MAC layer to determine the amount of resources required for retransmission. If the resources are insufficient, it directly sends a packet loss message and the adjusted amount of spectrum resources to the RLC layer, causing the RLC layer to refill the data fragments and retransmit them, thus avoiding multiple retransmission failures.

Benefits of technology

It shortens the retransmission process time, improves the retransmission success rate, reduces latency, and enhances the user's business experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944826B_ABST
    Figure CN118944826B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a data retransmission method and device, a base station and a storage medium, and relate to the technical field of wireless communication. The method comprises: a MAC layer of the base station sending a downlink message and waiting for response information fed back by a receiving end of the downlink message; if the MAC layer detects that the downlink spectrum resource quantity of a PDSCH of the base station decreases, and the received response information is NACK information, determining whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease; if the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease, the MAC layer sends a packet loss message and the downlink spectrum resource quantity after the decrease to an RLC layer of the base station; after receiving the packet loss message, the RLC layer splits and re-fills data fragments contained in the downlink message into a PDU based on the downlink spectrum resource quantity after the decrease, and transmits the re-filled PDU to the MAC layer, and the MAC layer sends the re-filled PDU to the receiving end. The scheme provided by the embodiments of the present application can shorten the time length of the retransmission process.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of wireless communication, and in particular to a data retransmission method and device, a base station and a storage medium. BACKGROUND

[0002] With the continuous development of NR (New Radio) networks, the demand for spectrum resources of NR networks is expanding, and based on this, some LTE (Long Term Evolution) frequency bands begin to be repurposed to NR networks. In order to realize the smooth evolution of the spectrum repurposing process, dynamic spectrum sharing technology, that is, the technology of allocating a spectrum resource to different networks at different times, is proposed and continuously developed.

[0003] In the process of dynamically adjusting the shared spectrum, the spectrum resource will be flexibly adjusted according to the demand, and the situation of increasing spectrum resources on one side and decreasing spectrum resources on the other side will occur. For the side with decreasing spectrum resources, there will be a problem of retransmission failure in the early stage after adjustment due to the lack of spectrum resources. Especially for the TDD (Time Division Duplexing) system with large feedback delay, the retransmission failure situation will be more obvious.

[0004] Specifically, the first transmission of the downlink message by the base station fails, and the downlink message needs to be retransmitted, but in the retransmission process, if the shared spectrum is dynamically adjusted, the spectrum resource owned by the side with decreasing spectrum resources is less after adjustment, and the MCS (Modulation and Coding Scheme) will remain unchanged in the data retransmission process. In order to make the data transmission as normal as possible, the base station will increase the code rate during data transmission, but this will increase the retransmission failure rate. In view of this situation, the related technology often does not consider the change of the code rate, and the base station still transmits according to the original network configuration. After each retransmission failure, the next retransmission is continued until the maximum number of HARQ (Hybrid Automatic Repeat Request) transmissions is reached. If the transmission is still unsuccessful, it is confirmed that the retransmission has failed. However, due to the high retransmission failure rate after the code rate is increased, the retransmission result is often still a transmission failure, that is, the downlink message cannot be successfully retransmitted after multiple retransmissions, but multiple retransmissions result in a long time delay in the retransmission process. SUMMARY

[0005] The purpose of the embodiments of the present application is to provide a data retransmission method, device, base station and storage medium to shorten the time length of the retransmission process. The specific technical solutions are as follows:

[0006] In a first aspect, an embodiment of the present application provides a data retransmission method applied to a base station, comprising:

[0007] The MAC layer of the base station sends a downlink message and waits for response information fed back by a receiving end of the downlink message;

[0008] If the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases and the received response information is NACK information, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0009] If the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease, the MAC layer sends a packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station.

[0010] After receiving the packet loss message, the RLC layer fills the data fragments contained in the downlink message into a PDU based on the downlink spectrum resource quantity after the decrease and transmits the PDU after the filling to the MAC layer, and the MAC layer sends the PDU after the filling to the receiving end.

[0011] In an embodiment of the present application, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, it further comprises:

[0012] The MAC layer determines whether the decrease ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold.

[0013] The determination of whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease comprises:

[0014] If the decrease ratio exceeds the first preset ratio threshold, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0015] In an embodiment of the present application, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases and the received response information is NACK information, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, comprising:

[0016] If the response information received within a first preset time length after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases is NACK information, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0017] In one embodiment of the present application, before the MAC layer of the base station sends the downlink message to the receiving end, the method further comprises:

[0018] The MAC layer sends a scheduling parameter to the RLC layer, wherein the scheduling parameter comprises a sequence number of the PDU corresponding to the downlink message and a HARQ process identification corresponding to the scheduling of the downlink message.

[0019] The RLC layer records the correspondence between the HARQ process identification and the sequence number of the PDU.

[0020] The MAC layer sends a packet loss message and a decreased downlink spectrum resource quantity to the RLC layer of the base station, comprising:

[0021] The MAC layer sends a packet loss message and a decreased downlink spectrum resource quantity to the RLC layer of the base station, comprising:

[0022] After receiving the packet loss message, the RLC layer fills the data fragments contained in the downlink message into the PDU based on the decreased downlink spectrum resource quantity, comprising:

[0023] After receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identification comprises an AMD PDU.

[0024] If the PDU comprises an AMD PDU, the RLC layer fills the data fragments contained in the AMD PDU into the PDU based on the decreased downlink spectrum resource quantity.

[0025] In one embodiment of the present application, the method further comprises:

[0026] If the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, the MAC layer determines whether the CRC check result of the current time slot is incorrect.

[0027] If the CRC check result is incorrect, the MAC layer determines whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity.

[0028] If the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity, the MAC layer sends a status request message to the RLC layer.

[0029] After receiving the status request message, the RLC layer generates and sends an AMD PDU status report to the sending end.

[0030] In one embodiment of the present application, after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, the method further comprises:

[0031] the MAC layer judges whether the reduction ratio of the uplink spectrum resource quantity exceeds a second preset ratio threshold;

[0032] the judging whether the CRC check result of the current time slot is incorrect comprises:

[0033] if the reduction ratio exceeds the second preset ratio threshold, judging whether the CRC check result of the current time slot is incorrect.

[0034] In one embodiment of the application, if the MAC layer detects the reduction of the uplink spectrum resource quantity of the PUSCH of the base station, it judges whether the CRC check result of the current time slot is incorrect; if the CRC check result is incorrect, the MAC layer judges whether the required receiving spectrum resource quantity of the current time slot is greater than the reduced uplink spectrum resource quantity, comprising:

[0035] if the CRC check result of the current time slot is judged to be incorrect within a second preset time duration after the MAC layer detects the reduction of the uplink spectrum resource quantity of the PUSCH of the base station, it judges whether the required receiving spectrum resource quantity of the current time slot is greater than the reduced uplink spectrum resource quantity.

[0036] In a second aspect, the embodiments of the application provide a base station, comprising a memory, a transceiver and a processor.

[0037] the memory is used for storing a computer program; the transceiver is used for transceiving data under the control of the processor; and the processor is used for reading the computer program in the memory and performing the following operations:

[0038] the MAC layer of the base station sends a downlink message and waits for the response information fed back by the receiving end of the downlink message;

[0039] if the MAC layer detects the reduction of the downlink spectrum resource quantity of the PDSCH of the base station and the received response information is NACK information, it judges whether the required sending spectrum resource quantity for retransmitting the downlink message is greater than the reduced downlink spectrum resource quantity;

[0040] if the sending spectrum resource quantity is greater than the reduced downlink spectrum resource quantity, the MAC layer sends a packet loss message and the reduced downlink spectrum resource quantity to the RLC layer of the base station;

[0041] after receiving the packet loss message, the RLC layer fills the data fragments contained in the downlink message into a PDU based on the reduced downlink spectrum resource quantity and transmits the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.

[0042] In one embodiment of the present application, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, the method further comprises:

[0043] The MAC layer judges whether the decrease ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold;

[0044] The judging whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease comprises:

[0045] If the decrease ratio exceeds the first preset ratio threshold, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0046] In one embodiment of the present application, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases and the received response information is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, which comprises:

[0047] If the response information received within a first preset time length after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0048] In one embodiment of the present application, before the MAC layer of the base station sends the downlink message to the receiving end, the method further comprises:

[0049] The MAC layer sends a scheduling parameter to the RLC layer, wherein the scheduling parameter contains the sequence number of the PDU corresponding to the downlink message and the HARQ process identification corresponding to the scheduling of the downlink message;

[0050] The RLC layer records the corresponding relationship between the HARQ process identification and the sequence number of the PDU;

[0051] The MAC layer sends a packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station, which comprises:

[0052] The MAC layer sends a packet loss message carrying the HARQ process identification corresponding to the downlink message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station;

[0053] After the RLC layer receives the packet loss message, the RLC layer divides and refills the data fragments contained in the downlink message into a PDU based on the downlink spectrum resource quantity after the decrease, which comprises:

[0054] The RLC layer determines whether the HARQ process identification corresponds to a PDU including an AMD PDU after receiving the packet loss message.

[0055] If the PDU includes the AMD PDU, the data in the AMD PDU is fragmented and repacked into the PDU based on the reduced amount of downlink spectrum resources.

[0056] In one embodiment of the present application, the processor is further configured to:

[0057] If the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the MAC layer determines whether the CRC check result of the current time slot is incorrect.

[0058] If the CRC check result is incorrect, the MAC layer determines whether the amount of required receiving spectrum resources of the current time slot is greater than the amount of the decreased uplink spectrum resources.

[0059] If the amount of the required receiving spectrum resources is greater than the amount of the decreased uplink spectrum resources, the MAC layer sends a status request message to the RLC layer.

[0060] After the RLC layer receives the status request message, the RLC layer generates and sends an AMD PDU status report to the sending end.

[0061] In one embodiment of the present application, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the MAC layer further includes:

[0062] The MAC layer determines whether the decrease ratio of the amount of uplink spectrum resources exceeds a second preset ratio threshold.

[0063] The determination of whether the CRC check result of the current time slot is incorrect includes:

[0064] If the decrease ratio exceeds the second preset ratio threshold, the MAC layer determines whether the CRC check result of the current time slot is incorrect.

[0065] In one embodiment of the present application, if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the MAC layer determines whether the CRC check result of the current time slot is incorrect; if the CRC check result is incorrect, the MAC layer determines whether the amount of required receiving spectrum resources of the current time slot is greater than the amount of the decreased uplink spectrum resources, including:

[0066] If the MAC layer determines that the CRC check result of the current time slot is incorrect within a second preset time period after detecting that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the MAC layer determines whether the amount of required receiving spectrum resources of the current time slot is greater than the amount of the decreased uplink spectrum resources.

[0067] In a third aspect, an embodiment of the present application provides a data retransmission device applied to a base station, the device comprising:

[0068] a packet sending module configured to send a downlink packet by a MAC layer of the base station and wait for response information fed back by a receiving end of the downlink packet;

[0069] a downlink resource judging module configured to, if the MAC layer detects that a downlink spectrum resource quantity of a PDSCH of the base station decreases and the received response information is NACK information, judge whether a sending spectrum resource quantity required for retransmitting the downlink packet is greater than the downlink spectrum resource quantity after the decrease;

[0070] a packet loss message sending module configured to, if the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease, send a packet loss message and the downlink spectrum resource quantity after the decrease to an RLC layer of the base station by the MAC layer;

[0071] a packet refilling module configured to, after receiving the packet loss message, refill data segments contained in the downlink packet into a PDU based on the downlink spectrum resource quantity after the decrease and transmit the refilled PDU to the MAC layer, and transmit the refilled PDU to the receiving end by the MAC layer.

[0072] In an embodiment of the present application, the downlink resource judging module is further configured to:

[0073] after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, judge whether a decrease ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold;

[0074] if the decrease ratio exceeds the first preset ratio threshold, judge whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the downlink spectrum resource quantity after the decrease.

[0075] In an embodiment of the present application, the downlink resource judging module is specifically configured to:

[0076] if the response information is NACK information within a first preset time length after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, judge whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the downlink spectrum resource quantity after the decrease.

[0077] In an embodiment of the present application, the packet sending module is further configured to, before the MAC layer of the base station sends the downlink packet to the receiving end:

[0078] The MAC layer sends a scheduling parameter to the RLC layer, wherein the scheduling parameter comprises a sequence number of a PDU corresponding to the downlink message and a HARQ process identification corresponding to the downlink message;

[0079] The RLC layer records a corresponding relationship between the HARQ process identification and the sequence number of the PDU;

[0080] The packet loss message sending module is specifically configured to:

[0081] The MAC layer sends, to the RLC layer of the base station, a packet loss message carrying the HARQ process identification corresponding to the downlink message and a decreased downlink spectrum resource quantity;

[0082] The message refilling module is specifically configured to:

[0083] The RLC layer determines whether the PDU corresponding to the HARQ process identification comprises an AMD PDU after receiving the packet loss message.

[0084] If the PDU comprises the AMD PDU, the data fragments in the AMD PDU are refilled into the PDU based on the decreased downlink spectrum resource quantity.

[0085] In an embodiment of the application, the device further comprises:

[0086] The result judging module is configured to judge whether the CRC check result of the current time slot is incorrect if the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases.

[0087] The uplink resource judging module is configured to judge whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity if the CRC check result is incorrect.

[0088] The request message sending module is configured to send a state request message to the RLC layer if the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity.

[0089] The report generating module is configured to generate and send an AMD PDU state report to the sending end after the RLC layer receives the state request message.

[0090] In an embodiment of the application, the result judging module is further configured to:

[0091] The MAC layer judges whether the decrease ratio of the uplink spectrum resource quantity exceeds a second preset ratio threshold after detecting that the uplink spectrum resource quantity of the PUSCH of the base station decreases.

[0092] If the decrease ratio exceeds the second preset ratio threshold, it is determined whether the CRC check result of the current time slot is incorrect.

[0093] In one embodiment of the present application, if the result determination module determines that the CRC check result of the current time slot is incorrect within the second preset time duration after detecting that the uplink spectrum resource amount of the PUSCH of the base station decreases at the MAC layer, the uplink resource determination module determines whether the required receiving spectrum resource amount of the current time slot is greater than the decreased uplink spectrum resource amount.

[0094] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is executed by a processor to implement the method steps of the first aspect.

[0095] In a fifth aspect, an embodiment of the present application further provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the method of the first aspect.

[0096] The embodiment of the present application has the following beneficial effects:

[0097] The data retransmission method provided by the embodiment of the present application can determine whether the required sending spectrum resource amount for retransmitting the downlink message is greater than the decreased downlink spectrum resource amount after the MAC layer detects that the downlink spectrum resource amount of the PDSCH decreases and receives the NACK information indicating that the current transmission fails, so that the MAC layer directly sends the packet loss message and the decreased downlink spectrum resource amount to the RLC layer of the base station when the required sending spectrum resource amount is greater than the decreased downlink spectrum resource amount, i.e., the current decreased spectrum resource cannot meet the current required spectrum resource, so that the RLC layer fills the data fragments contained in the downlink message into the PDU based on the decreased downlink spectrum resource amount after receiving the packet loss message, and transmits the PDU filled again to the MAC layer, so that the MAC layer sends the PDU filled again to the receiving end. The RLC layer does not need to wait for multiple retransmission failures to trigger the control of the next retransmission, the time length of the retransmission process is shortened, and the retransmission rate is improved. Moreover, the PDU is filled again based on the decreased spectrum resource amount, so that the next retransmission can match the current spectrum resource situation, the problem of excessively high code rate is avoided, and the success rate of the next retransmission is improved.

[0098] Of course, implementing any product or method of the present application does not necessarily need to achieve all the advantages described above at the same time. BRIEF DESCRIPTION OF DRAWINGS

[0099] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings described below are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained based on these drawings.

[0100] Figure 1 The flowchart of the first data retransmission method provided by the embodiment of the present application is shown in the figure.

[0101] Figure 2 The flowchart of the second data retransmission method provided by the embodiment of the present application is shown in the figure.

[0102] Figure 3 The flowchart of the third data retransmission method provided by the embodiment of the present application is shown in the figure.

[0103] Figure 4 The flowchart of the fourth data retransmission method provided by the embodiment of the present application is shown in the figure.

[0104] Figure 5 The interaction diagram of the first MAC layer and RLC layer provided by the embodiment of the present application is shown in the figure.

[0105] Figure 6 The flowchart of the fifth data retransmission method provided by the embodiment of the present application is shown in the figure.

[0106] Figure 7 The interaction diagram of the second MAC layer and RLC layer provided by the embodiment of the present application is shown in the figure.

[0107] Figure 8 The flowchart of the sixth data retransmission method provided by the embodiment of the present application is shown in the figure.

[0108] Figure 9 The structure diagram of a base station provided by the embodiment of the present application is shown in the figure.

[0109] Figure 10 The structure diagram of a data retransmission device provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0110] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art belong to the scope of protection of the present application.

[0111] In the related art, in order to realize the smooth evolution of the spectrum re-farming process, the 3rd Generation Partnership Project (3GPP) introduced dynamic spectrum sharing of LTE and NR networks in the R15 version, and enhanced the function of dynamic spectrum sharing in the R16 version, realized RB (Resource Block) level spectrum resource sharing, and improved the efficiency of spectrum sharing.

[0112] Spectrum sharing is divided into carrier-level spectrum sharing and TTI (Transmission Time Interval)-level spectrum sharing. When LTE and NR networks perform spectrum sharing, the two networks have no overlapping spectrum at the same time, which is carrier-level spectrum sharing. This sharing method has the same spectrum configuration within a certain period, has the characteristics of simple principle but poor flexibility and practicability. The two networks have overlapping spectrum at the same time, which is TTI-level spectrum sharing. This sharing method can be divided into two cases: spectrum overlap and spectrum inclusion. The spectrum configuration can be changed at the TTI level, and the spectrum can be more flexibly utilized. Therefore, TTI-level spectrum sharing is more commonly used in spectrum sharing scenarios.

[0113] At present, the implementation scheme of TTI-level spectrum sharing technology is as follows: according to the distribution of users or services in the network (LTE and NR networks), set the LTE priority principle or the NR priority principle, periodically decide how much spectrum resource to allocate to the LTE and NR networks according to the priority principle, the decision period is generally set to seconds, and the load information between the LTE and NR networks is interacted in real time.

[0114] As can be seen from the above, dynamic spectrum sharing can flexibly adjust the spectrum resources of LTE and NR networks according to the actual situation, but this will cause a large change in spectrum resources before and after adjustment, resulting in a too high code rate during retransmission.

[0115] In the related art, the base station usually does not change the code rate and still transmits according to the original network configuration, but due to the high code rate, multiple retransmissions fail. Moreover, it is not until the number of retransmissions reaches the maximum number of transmissions that the downlink packet retransmission failure is confirmed, and the maximum number of transmissions is generally configured as 4 or 5, that is, it needs to be confirmed that the downlink packet retransmission fails after 4 or 5 retransmission failures, and the time consumed in the multiple retransmission processes is long. It can be seen that this scheme cannot effectively transmit data in a short time, and also wastes retransmission request resources and spectrum resources due to multiple retransmissions.

[0116] In addition, in the related art, after the number of retransmissions reaches the maximum number of transmissions to determine that the downlink message retransmission fails, the base station sends a packet loss (HarqFail) message to the RLC (Radio Link Control) layer of the base station through the MAC (Medium Access Control) layer to trigger the RLC layer to control the next retransmission, so as to ensure that the data will not be lost. However, when the RLC layer retransmits, the RLC layer will make the transmission delay of the RLC layer refilled PDU (Protocol Data Unit) longer because of the long retransmission delay of the MAC layer. Specifically, since the retransmission delay of the MAC layer is the product of the maximum number of transmissions and the retransmission time interval, the retransmission delay of the MAC layer will increase with the increase of the maximum number of transmissions, so that the delay of the RLC layer to transmit the refilled PDU will also increase with the increase of the configured maximum number of transmissions.

[0117] In particular, the lengthening of the transmission delay of the PDU has a greater impact on the data in the AM (Acknowledged Mode) mode. With the lengthening of the transmission delay of the PDU, the speed of the RLC AM window sliding will slow down, so that the rate of the air interface will decrease more, and the user service experience will be affected.

[0118] To solve at least one of the above problems, embodiments of the present application provide a data retransmission method, device, base station and storage medium, which are described in detail below.

[0119] The present application provides a data retransmission method, see Figure 1 , Figure 1 The flowchart of the first data retransmission method provided by the embodiments of the present application is shown in the above method, which includes the following steps S101-S104.

[0120] S101, the MAC layer of the base station sends a downlink message and waits for the response information fed back by the receiving end of the downlink message.

[0121] The receiving end can be a terminal, such as a mobile phone, a tablet computer, a mobile Internet device, a wearable device, etc. The base station can be a 5G base station, a 4G base station or any other version of base station.

[0122] Specifically, after the MAC layer of the base station sends a downlink message to the receiving end through a PDSCH (Physical Downlink Shared Channel), the receiving end feeds back acknowledgement information to the base station according to the actual downlink message receiving condition. The receiving end feeds back ACK (Acknowledgement) information in the case of normally receiving the downlink message, and feeds back NACK (Negative Acknowledgement) information in the case of not normally receiving the downlink message, for example, the case of not receiving the downlink message due to poor network quality, the case of not receiving the downlink message due to less spectrum resources, or the case of only receiving part of the data of the downlink message.

[0123] The received acknowledgement information can be the acknowledgement information received in the case of new transmission, or the acknowledgement information received in the case of any-time retransmission.

[0124] S102, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, and the received acknowledgement information is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0125] The downlink spectrum resource quantity can be represented by the number of RBs or the channel bandwidth that can be scheduled by the current PDSCH. The sending spectrum resource quantity is the spectrum resource quantity required for normally sending the downlink message, which can be represented by the number of RBs or the required channel bandwidth required for scheduling the PDSCH for sending the downlink message.

[0126] Specifically, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, it indicates that the downlink spectrum resource is decreasing at this time, and if the received acknowledgement information is NACK information, it indicates that the receiving end has not successfully received the downlink message at this time, and the downlink message needs to be retransmitted. At this time, the spectrum resource is decreasing, in order to successfully transmit the downlink message to the receiving end, it is judged whether the downlink spectrum resource quantity at this time can meet the demand by judging whether the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease, so as to judge whether the retransmission can be successful.

[0127] In addition, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, but the received acknowledgement information is ACK information, the receiving end has successfully received the downlink message at this time, the downlink message is successfully transmitted, and the influence of the decrease of the downlink spectrum resource does not need to be considered.

[0128] S103, if the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease, the MAC layer sends a packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station.

[0129] Specifically, if the sending spectrum resource amount is greater than the reduced downlink spectrum resource amount, it indicates that the reduced downlink spectrum resource amount is too small to meet the required spectrum resource amount for sending the downlink message, that is, the reduced downlink spectrum resource amount cannot meet the demand, at this time, no matter which transmission the response information corresponds to, the MAC layer directly sends a packet loss message and the reduced downlink spectrum resource amount to the RLC layer of the base station, ends the HARQ retransmission of the MAC layer, and does not need to wait until the retransmission fails to the maximum number of transmissions to end the HARQ retransmission of the MAC layer and trigger the RLC layer control retransmission, so as to trigger the RLC layer control retransmission in advance, shorten the retransmission delay of the MAC layer, so that the delay of the subsequent transmission of the refilled PDU is also shortened, and the entire transmission process of the downlink message is shortened.

[0130] In addition, after the MAC layer sends the packet loss message to the RLC layer, the HARQ resource of the PDSCH can be released for subsequent new transmission scheduling.

[0131] S104, after receiving the packet loss message, the RLC layer divides the data contained in the downlink message into fragments based on the reduced downlink spectrum resource amount, refills the fragments into the PDU, and transmits the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.

[0132] Specifically, based on the reduced downlink spectrum resource amount, the data contained in the downlink message is divided into fragments, and the PDU is refilled according to the fragmented data, so that the retransmission process can be based on the reduced downlink spectrum resource amount for transmission, and the success rate of retransmission is improved. The above process of dividing the data contained in the downlink message into fragments and refilling the PDU according to the fragmented data can be referred to related technologies, which will not be repeated here.

[0133] In the embodiment of the present application, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH decreases and receives the NACK information representing the failure of this transmission, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, so that in the case that the sending spectrum resource quantity required is greater than the downlink spectrum resource quantity after the decrease, i.e., the current reduced spectrum resource cannot meet the current required spectrum resource, the MAC layer directly sends the packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station, so that the RLC layer, after receiving the packet loss message, divides and refills the data slices contained in the downlink message into the PDU based on the downlink spectrum resource quantity after the decrease, and transmits the refilled PDU to the MAC layer, so that the MAC layer sends the refilled PDU to the receiving end. Without waiting for multiple retransmission failures to trigger the RLC layer to control the next retransmission, the length of the retransmission process is shortened, and the retransmission rate is improved. Moreover, since the PDU is refilled based on the downlink spectrum resource quantity after the decrease, the next retransmission can match the current spectrum resource situation, avoiding the problem of excessively high code rate, thereby improving the success rate of the next retransmission.

[0134] Moreover, since the length of the retransmission process is shortened and the success rate of the retransmission process is improved, the speed of the RLC AM window sliding is also improved, thereby improving the rate of the air interface, and further improving the user service experience.

[0135] In one embodiment 1 of the present application, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases in the above step S102, it can further include: step A, the MAC layer determines whether the decrease ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold.

[0136] The calculation formula of the above decrease ratio is: (1-decreased downlink spectrum resource quantity / decreased downlink spectrum resource quantity)*100%. In one example 2, the number of RBs that can be scheduled by the PDSCH of the base station decreases from 10 to 6, and the decrease ratio of the downlink spectrum resource quantity is 40%. The above first preset ratio threshold is the maximum ratio by which the downlink spectrum resource quantity can be reduced, which can be set according to actual needs, for example, 30%, 50%.

[0137] Corresponding to the above example 2, the first preset ratio threshold is set to 30%, and it is known that the decrease ratio of the downlink spectrum resource quantity is 40%, so the MAC layer determines that the decrease ratio of the downlink spectrum resource quantity exceeds the first preset ratio threshold 30%, indicating that the decrease ratio of the downlink spectrum resource quantity has exceeded the maximum ratio by which it can be reduced, and the downlink spectrum resource is sharply reduced, so it is difficult to successfully transmit the downlink message in this case.

[0138] In addition, the first preset ratio threshold can be set as an internal parameter, which can be named as DLBand_Smaller_Ratio, and means that the maximum ratio of the decrease of the downlink spectrum resource quantity.

[0139] In the embodiment 1 of the present application, referring to Figure 2 , Figure 2 a flowchart of a second data retransmission method provided for the embodiment of the present application, Figure 1 Step S102 in the flowchart of the second data retransmission method provided for the embodiment of the present application can be implemented by the following step S102A.

[0140] S102A, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, and the received response information is NACK information, and the decrease ratio exceeds the first preset ratio threshold, determining whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the downlink spectrum resource quantity after the decrease.

[0141] Specifically, in the case that the decrease ratio exceeds DLBand_Smaller_Ratio, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the downlink spectrum resource quantity after the decrease.

[0142] Corresponding to the above example 2, after the MAC layer determines that the downlink spectrum resource quantity decreases by 40%, the MAC layer determines that the decrease ratio of the downlink spectrum resource quantity exceeds the first preset ratio threshold 30%, and then it is determined whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the downlink spectrum resource quantity after the decrease.

[0143] In the embodiment of the present application, the decrease ratio can directly measure the decrease degree of the downlink spectrum resource quantity, and by determining whether the decrease ratio of the downlink spectrum resource quantity exceeds the first preset ratio threshold through the MAC layer, it can be directly determined whether the downlink spectrum resource quantity decreases sharply. In the case that the downlink spectrum resource quantity decreases sharply so that the decrease ratio exceeds the first preset ratio threshold, it is determined whether the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease in the case that NACK information is received. In the case that the decrease ratio of the downlink spectrum resource quantity is low, the decrease of the downlink spectrum resource quantity has little influence on the retransmission, and subsequent determination is not required, so that the determination step can be saved, and the processing resources consumed by the data retransmission processing are reduced.

[0144] In an embodiment of the present application, referring to Figure 3 , Figure 3 a flowchart of a third data retransmission method provided for the embodiment of the present application, Figure 1 Step S102 in the flowchart of the third data retransmission method provided for the embodiment of the present application can be implemented by the following step S102B.

[0145] S102B, if the PDSCH downlink spectrum resource quantity of the base station is detected to decrease at the MAC layer, and the response information received within the first preset time length is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0146] The first preset time length can be set according to actual needs, for example, the first preset time length is the maximum transmission times * system frame length, a preset number * time slot length, etc., and the preset number is set according to needs.

[0147] Generally, the first preset time length is set to be short, because in the case that the downlink spectrum resource quantity decreases for a long time, the MAC layer will adjust according to the actual downlink spectrum resource to realize the transmission of the downlink message.

[0148] In addition, the first preset time length can be realized by setting an internal timer, which can be named as DLBand_Smaller_Timer, meaning downlink spectrum resource quantity decrease timer, and the timing length of the timer can be the maximum transmission times * system frame length, unit: millisecond.

[0149] Specifically, the timer can be started when the downlink spectrum resource quantity of the PDSCH is detected to decrease or it is judged that the decrease ratio of the downlink spectrum resource quantity exceeds the first preset ratio threshold at the MAC layer, and if the response information fed back by the terminal received by the MAC layer is NACK information during the running of the timer, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0150] In addition, if the response information fed back by the terminal received by the MAC layer is ACK information during the running of the timer, the HARQ resource of the base station is released for subsequent new transmission scheduling.

[0151] In the embodiment of the application, only in the case that the response information received within the first preset time length after the downlink spectrum resource quantity of the PDSCH of the base station is detected to decrease at the MAC layer is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, and since the first preset time length is short, only in the case that the response information received within a short time after the downlink spectrum resource quantity decreases is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, and if the time length of receiving the response information as NACK information after the downlink spectrum resource quantity decreases exceeds the first preset time length, the MAC layer will adjust the downlink spectrum resource by itself without subsequent judgment, thereby the judgment step can be saved and the processing resource consumed by the data retransmission processing is reduced.

[0152] In one embodiment of the application, referring to Figure 4 ,Figure 4 The flowchart of the fourth data retransmission method provided by the embodiment of the present application is shown in the following. Figure 1 Before step S101, the method can further include steps S105-S106.

[0153] S105, the MAC layer sends the scheduling parameter to the RLC layer.

[0154] The scheduling parameter includes the sequence number of the PDU corresponding to the downlink message and the HARQ process identification (HARQId) corresponding to the downlink message.

[0155] Specifically, the MAC layer sends the scheduling parameter to the RLC layer in the case that the next new transmission scheduling starts after the current time slot scheduling ends.

[0156] In addition, the scheduling parameter can further include the parameter required by the RLC layer to fill the downlink message into the PDU, so that the RLC layer can fill the PDU of the downlink message according to the scheduling parameter, and the SN (Sequence Number) of the PDU is the sequence number of the PDU corresponding to the downlink message.

[0157] S106, the RLC layer records the correspondence between the HARQ process identification and the sequence number of the PDU.

[0158] Specifically, the RLC layer establishes and records the correspondence between the HARQ process identification and the sequence number of the PDU corresponding to the downlink message, so as to bind them.

[0159] In addition, before step S101B is performed, if the HARQ process identification already exists in the correspondence with the sequence number of other PDU, the correspondence of the HARQ process identification can be updated according to the sequence number of the PDU corresponding to the downlink message in step S101B, so that the sequence number of the PDU corresponding to the downlink message is bound with the HARQ process identification.

[0160] Compared with the above-mentioned embodiments shown in the above, the step S103 can be implemented by the following step S103A, and the step S104 can be implemented by the following steps S104A-S104B. Figure 1 S103A, if the sending spectrum resource amount is greater than the downlink spectrum resource amount after the decrease, the MAC layer sends the packet loss message carrying the HARQ process identification corresponding to the downlink message and the downlink spectrum resource amount after the decrease to the RLC layer of the base station.

[0161]

[0162] ​S104A, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD (Acknowledged Mode Data) PDU after receiving the packet loss message.

[0163] The AMD PDU is a data PDU transmitted in an acknowledged mode.

[0164] Specifically, the RLC layer determines whether the PDU corresponding to the PDU sequence number corresponding to the HARQ process identifier includes an AMD PDU after receiving the packet loss message.

[0165] S104B, if the AMD PDU is included, the data contained in the AMD PDU is fragmented and repacked into the PDU based on the amount of downlink spectrum resources after the decrease, and the repacked PDU is transmitted to the MAC layer, and the MAC layer sends the repacked PDU to the receiving end.

[0166] Specifically, in the case where the PDU corresponding to the downlink message contains an AMD PDU, the data contained in the AMD PDU is fragmented and repacked into the PDU according to the amount of downlink spectrum resources after the decrease, and the repacked PDU is transmitted to the MAC layer, so that the MAC layer starts ARQ (Automatic Repeat request) retransmission of all repacked PDUs.

[0167] In the embodiment of the application, the MAC layer sends the scheduling parameters to the RLC layer before sending the downlink message, and carries the HARQ process identifier in the scheduling parameters when the MAC layer sends the packet loss information to the RLC layer, so that the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD PDU after receiving the packet loss message. Since the transmission delay of the PDU is lengthened, the impact on the data in the AM mode is greater, which reduces the transmission rate of the AMD PDU, and does not affect the data in the non-acknowledged mode. Therefore, only in the case where the AMD PDU is included, the data contained in the AMD PDU is fragmented and repacked into the PDU based on the amount of downlink spectrum resources after the decrease, and there is no need to fragment and repack the data in the non-acknowledged mode, which reduces the steps of fragmentation and repacking, and saves the processing resources consumed by data retransmission processing.

[0168] In one example, referring to Figure 5 , Figure 5 The first MAC layer and RLC layer interaction diagram provided by the embodiment of the application illustrates the messages transmitted between the MAC layer and the RLC layer. There are three messages between them.

[0169] First, in the case of starting new transmission at the end of current time slot scheduling, the MAC layer sends scheduling parameters to the RLC layer.

[0170] The scheduling parameters can be seen from the description of Figure 4 the embodiment.

[0171] Second, in the case of detecting the decrease of downlink spectrum resource amount of PDSCH by the MAC layer and receiving the feedback of the terminal as NACK information, the MAC layer sends the packet loss message to the RLC layer to cancel the retransmission process of the MAC layer.

[0172] The sending time of the scheduling parameters and the packet loss message are independent of each other.

[0173] Third, after receiving the packet loss message, the RLC layer sends the retransmission PDU message to the MAC layer, and after filling the data fragments in the downlink message into the PDU based on the decreased downlink spectrum resource amount, the RLC layer sends the re-filled PDU to the MAC layer, so that the MAC layer starts the ARQ retransmission of all the re-filled PDUs.

[0174] In addition, the MAC layer can be a MAC subsystem, and the RLC layer can be an RLC subsystem.

[0175] In the embodiment of the application, through the message interaction between the MAC layer and the RLC layer, after the MAC layer sends the packet loss message to the RLC layer, the retransmission process of the MAC layer is timely confirmed to be cancelled, and the RLC ARQ retransmission is quickly started, so that the time delay of triggering the RLC layer control retransmission is shortened.

[0176] In one embodiment of the application, see Figure 6 , Figure 6 The fifth data retransmission method provided by the embodiment of the application can further include the following steps S601-S604.

[0177] S601, if the MAC layer detects the decrease of uplink spectrum resource amount of PUSCH (Physical Uplink Shared Channel) of the base station, it is judged whether the CRC (Cyclic Redundancy Check) check result of the current time slot is error.

[0178] After the MAC layer of the base station receives the uplink message sent by the sending end, the data in the uplink message is subjected to CRC check, and a CRC check result is generated. In the case that the CRC check result is error, it indicates that the uplink message does not pass the check, and at this time, the communication environment between the base station and the sending end is poor, for example, the uplink spectrum resource is less, resulting in poor communication environment, so that the uplink message check fails.

[0179] In addition, in the case that the CRC check result is correct, it indicates that the uplink message passes the check, and the uplink message transmission is successful, and the influence of the decrease of the uplink spectrum resource does not need to be considered.

[0180] S602, if the CRC check result is error, the MAC layer judges whether the required receiving spectrum resource amount of the current time slot is greater than the uplink spectrum resource amount after the decrease.

[0181] The receiving spectrum resource amount is the spectrum resource amount required for the current time slot to normally receive the uplink message, which can be represented by the number of RBs required for receiving the uplink message PUSCH or the required bandwidth. The uplink spectrum resource amount can be represented by the number of RBs or the schedulable bandwidth of the current PUSCH.

[0182] S603, if the receiving spectrum resource amount is greater than the uplink spectrum resource amount after the decrease, the MAC layer sends a state request message to the RLC layer.

[0183] The transmission delay of the PDU only has a greater influence on the data in the AM mode, so that the transmission rate of the AMD PDU decreases, and therefore, the state request message is a PDU AM state request message. The data state of the non-acknowledgment mode data is not requested, so that the request and subsequent processing steps are reduced, and the processing resources consumed by the data retransmission processing are saved.

[0184] Specifically, if the receiving spectrum resource amount is greater than the uplink spectrum resource amount after the decrease, it indicates that the uplink spectrum resource amount after the decrease is small and cannot meet the requirement of the spectrum resource amount required for receiving the uplink message, that is, the uplink spectrum resource amount after the decrease cannot meet the requirement. At this time, no matter the PUSCH scheduling this time corresponds to the first transmission or not, the state request message is directly sent from the MAC layer to the RLC layer.

[0185] Referring to Figure 7 , Figure 7 The second MAC layer and RLC layer interaction diagram provided by the embodiment of the application is compared with the message interaction between the MAC layer and the RLC layer in the case of transmitting the downlink message shown in Figure 5 , and the message interaction between the MAC layer and the RLC layer in the case of transmitting the downlink message shown in Figure 7In the case of transmitting the uplink message, the MAC layer and the RLC layer only interact with one message, that is, the MAC layer sends a status request message to the RLC layer in the case that the CRC check result is incorrect or the amount of received spectrum resources is greater than the amount of the downlink spectrum resources.

[0186] In addition, after the MAC layer sends the status request message to the RLC layer, the HARQ resource of the PUSCH can be released for subsequent new transmission scheduling.

[0187] S604, after the RLC layer receives the status request message, generates and sends an AMD PDU status report to the sending terminal.

[0188] The sending terminal can be a terminal, for example, a mobile phone, a tablet computer, a mobile Internet device, a wearable device, etc.

[0189] Specifically, after the RLC layer of the base station receives the status request message, the RLC layer can generate an AMD PDU status report according to the process specified in the 3GPP 38.322 protocol and send the AMD PDU status report to the terminal, so that the terminal can trigger ARQ retransmission based on the AMD PDU status report. The process of generating the status report can be referred to related art, which will not be described here.

[0190] In the embodiment of the application, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases and the CRC check result of the current time slot is incorrect, it is determined whether the required amount of received spectrum resources of the current time slot is greater than the amount of the downlink spectrum resources after the decrease, so that in the case that the required amount of received spectrum resources is greater than the amount of the downlink spectrum resources after the decrease, the MAC layer directly sends a status request message to the RLC layer, so that the RLC layer generates and sends an AMD PDU status report to the sending terminal immediately after receiving the status request message, so that the sending terminal can trigger ARQ retransmission as soon as possible according to the AMD PDU status report, without waiting until the maximum number of transmission times to end the HARQ retransmission of the sending terminal. Instead, in the case that the required amount of received spectrum resources is greater than the amount of the downlink spectrum resources after the decrease, the HARQ retransmission of the sending terminal is ended immediately, and the AMD PDU status report is sent to the sending terminal to trigger the sending terminal to perform ARQ retransmission, which shortens the time length of the retransmission process of the uplink message, and since the sending terminal performs ARQ retransmission according to the AMD PDU status report fed back by the base station, the next retransmission of the sending terminal can meet the current spectrum resource condition, avoiding the problem of excessively high code rate, thereby improving the success rate of the next retransmission.

[0191] In step S601 in the third embodiment of the present application, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the method further comprises: step B, the MAC layer determining whether the decrease ratio of the amount of uplink spectrum resources exceeds a second preset ratio threshold.

[0192] The calculation method of the decrease ratio is the same as that in the first embodiment, and the difference between the two embodiments is that the decrease ratio in the first embodiment corresponds to the amount of downlink spectrum resources, and the decrease ratio in the third embodiment corresponds to the amount of uplink spectrum resources.

[0193] The second preset ratio threshold is a preset maximum ratio of the amount of uplink spectrum resources that can be reduced, and can be set according to actual needs, for example, 40% or 50%. In addition, the second preset ratio threshold can be the same as or different from the first preset ratio threshold.

[0194] In addition, the second preset ratio threshold can be set as an internal parameter, which can be named ULBand_Smaller_Ratio, and means the maximum ratio of the amount of uplink spectrum resources that is reduced.

[0195] In the third embodiment of the present application, referring to Figure 8 , Figure 8 FIG. 6 is a flowchart of a sixth data retransmission method provided by the third embodiment of the present application, Figure 6 Step S601 in the third embodiment of the present application can be implemented by the following step S601A.

[0196] S601A, if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, and if the decrease ratio exceeds the second preset ratio threshold, determining whether the CRC check result of the current time slot is incorrect.

[0197] Specifically, in the case where the decrease ratio exceeds ULBand_Smaller_Ratio, it is determined whether the CRC check result of the current time slot is incorrect.

[0198] In the third embodiment of the present application, by determining whether the decrease ratio of the amount of uplink spectrum resources exceeds the first preset ratio threshold, it can be directly determined whether the amount of uplink spectrum resources decreases sharply. In the case where the decrease ratio exceeds the second preset ratio threshold due to sharp decrease, it is determined that the amount of received spectrum resources is greater than the amount of uplink spectrum resources after the decrease only in the case where the CRC check result is incorrect. In the case where the decrease ratio of the amount of uplink spectrum resources is low, the decrease of the amount of uplink spectrum resources has little effect on the retransmission, and subsequent determination is not needed, so that the determination step can be saved, and the processing resources consumed by the data retransmission processing are reduced.

[0199] In the third embodiment of the present application, Figure 6The steps S601-S602 in the embodiment can be implemented by the following step C.

[0200] Step C, if it is judged that the CRC check result of the current time slot is wrong within the second preset time length after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, it is judged whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity.

[0201] The second preset time length can be set according to actual needs, for example, the second preset time length is the maximum transmission number*system frame length, the preset number*slot length, etc., and the preset number is set according to needs.

[0202] Generally, the second preset time length is set to be short, because in the case that the time length of the decrease of the uplink spectrum resource quantity is too long, the sending end will adjust according to the actual uplink spectrum resource to realize the transmission of the uplink message.

[0203] The second preset time length and the first preset time length can be the same or different.

[0204] In addition, the second preset time length can be implemented by setting an internal timer, which can be named ULBand_Smaller_Timer, meaning the uplink spectrum resource quantity decrease timer, and the timing duration of the timer can be the maximum transmission number*system frame length, with the unit of millisecond.

[0205] Specifically, the timer can be started when the MAC layer detects that the uplink spectrum resource quantity of the PUSCH decreases or judges that the decrease ratio of the uplink spectrum resource quantity exceeds the second preset ratio threshold, and during the running of the timer, if the MAC layer judges that the CRC check result of the current time slot is wrong, it is judged whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity.

[0206] And during the running of the timer, if the MAC layer judges that the CRC check result of the current time slot is correct, the HARQ resource of the sending end is released for subsequent new transmission scheduling.

[0207] In the embodiment of the present application, only when the CRC check result of the current time slot is determined to be incorrect within the second preset time period after the uplink spectrum resource quantity of the PUSCH of the base station is detected to decrease, it is determined whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity. Since the second preset time period is short, only when the CRC check result of the current time slot is determined to be incorrect within a short time after the uplink spectrum resource quantity is decreased, it is determined whether the receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity. If the time period for determining that the CRC check result of the current time slot is incorrect after the uplink spectrum resource quantity is decreased exceeds the second preset time period, the sending end will adjust the downlink spectrum resource by itself, without the need of subsequent determination, so that the determination step can be saved, and the processing resource consumed by the data retransmission processing is reduced.

[0208] The embodiment of the present application also provides a base station, which refers to Figure 9 , Figure 9 The structure schematic diagram of the base station provided by the embodiment of the present application comprises a memory 901, a transceiver 902 and a processor 903.

[0209] The memory 901 is used for storing a computer program; the transceiver 902 is used for transceiving data under the control of the processor 903; and the processor 903 is used for reading the computer program in the memory 901 and performing the following operations:

[0210] The MAC layer of the base station sends a downlink message, and waits for the response information fed back by the receiving end of the downlink message.

[0211] If the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, and the received response information is NACK information, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the decreased downlink spectrum resource quantity.

[0212] If the sending spectrum resource quantity is greater than the decreased downlink spectrum resource quantity, the MAC layer sends a packet loss message and the decreased downlink spectrum resource quantity to the RLC layer of the base station.

[0213] After receiving the packet loss message, the RLC layer divides and refills the data fragments contained in the downlink message into a PDU based on the decreased downlink spectrum resource quantity, and transmits the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.

[0214] In the embodiment of the present application, Figure 9In particular embodiments, the bus architecture can include any number of interconnecting buses and bridges, and the various circuitry representative of the processor 903 and the memory 901, for example, can be linked together by various wires and busses, as is well known in the art. The bus architecture can also include various other circuitry that can be designed to link various circuitry together, including peripheral devices, power regulation and management circuitry, and the like, as is well known in the art, and therefore, will not be further described herein. The bus interface provides an interface to the transceiver 902. The transceiver 902 can be a number of elements, including a transmitter and a receiver, that together enable the processing system to communicate with various other devices over a transmission medium, which can be, for example, a wireless channel, a wired channel, or a combination thereof. The processor 903 is responsible for managing the bus architecture and generally carrying out the processing functions of the processing system, and the memory 901 can store data used by the processor 903 in executing its operations.

[0215] The processor 903 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD), or the processor can be a multi-core architecture.

[0216] When the base station provided by the embodiment of the application performs data retransmission, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and receives the NACK information indicating that the current transmission fails, it is determined whether the amount of spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease, so that, when the amount of spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease, that is, the current decreased spectrum resources cannot meet the current required spectrum resources, the MAC layer directly sends the packet loss message and the amount of downlink spectrum resources after the decrease to the RLC layer of the base station, so that, after receiving the packet loss message, the RLC layer splits and refills the data fragments contained in the downlink message into the PDU based on the amount of downlink spectrum resources after the decrease, and transmits the refilled PDU to the MAC layer, so that the MAC layer transmits the refilled PDU to the receiving end. Without waiting for multiple retransmission failures to trigger the RLC layer to control the next retransmission, the length of the retransmission process is shortened, and the retransmission rate is improved. Moreover, since the PDU is refilled based on the amount of spectrum resources after the decrease, the next retransmission can match the current spectrum resource situation, avoiding the problem of excessively high code rate, thereby improving the success rate of the next retransmission.

[0217] In one embodiment of the present application, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, the method further comprises: the MAC layer judging whether the decrease ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold.

[0218] The judging whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease comprises: if the decrease ratio exceeds the first preset ratio threshold, judging whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0219] In the embodiment of the present application, the decrease ratio can intuitively measure the decrease degree of the downlink spectrum resource quantity. By judging whether the decrease ratio of the downlink spectrum resource quantity exceeds the first preset ratio threshold, it can be intuitively judged whether the downlink spectrum resource quantity decreases sharply. In the case that the downlink spectrum resource quantity decreases sharply and the decrease ratio exceeds the first preset ratio threshold, it is judged whether the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease in the case that the NACK information is received. In the case that the downlink spectrum resource quantity decreases at a low ratio, the decrease of the downlink spectrum resource quantity has a small influence on retransmission, and subsequent judgment is not required, thereby saving the judgment step and reducing the processing resources consumed by the data retransmission processing.

[0220] In one embodiment of the present application, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases and the received response information is the NACK information, the method further comprises: judging whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0221] In the embodiment of the present application, the judgment whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease is performed only in the case that the response information is the NACK information received within the first preset time length after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases. Since the first preset time length is short, the judgment whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease is performed only in the case that the response information is the NACK information received within a short time after the downlink spectrum resource quantity decreases. If the time length during which the response information is the NACK information exceeds the first preset time length after the downlink spectrum resource quantity decreases, the MAC layer will adjust the downlink spectrum resource by itself, and subsequent judgment is not required, thereby saving the judgment step and reducing the processing resources consumed by the data retransmission processing.

[0222] In one embodiment of the present application, before the MAC layer of the base station sends the downlink message to the receiving end, the MAC layer further sends scheduling parameters to the RLC layer, wherein the scheduling parameters include the sequence number of the PDU corresponding to the downlink message and the HARQ process identification corresponding to the scheduling of the downlink message; and the RLC layer records the correspondence between the HARQ process identification and the sequence number of the PDU.

[0223] The MAC layer sends the packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station, including: the MAC layer sends the packet loss message carrying the HARQ process identification corresponding to the downlink message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station.

[0224] After receiving the packet loss message, the RLC layer fills the data fragments in the downlink message into the PDU based on the downlink spectrum resource quantity after the decrease, including: after receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identification includes an AMD PDU; and if the PDU includes the AMD PDU, the RLC layer fills the data fragments in the AMD PDU into the PDU based on the downlink spectrum resource quantity after the decrease.

[0225] In the embodiment of the present application, before sending the downlink message, the MAC layer sends the scheduling parameters to the RLC layer, and when the MAC layer sends the packet loss information to the RLC layer, the HARQ process identification in the scheduling parameters is carried, so that after receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identification includes an AMD PDU, and since the transmission delay of the PDU is lengthened, the influence on the data in the AM mode is relatively large, the transmission rate of the AMD PDU is decreased, and the data in the non-acknowledgment mode is not affected, so that only in the case where the PDU includes the AMD PDU, the data fragments in the AMD PDU are filled into the PDU based on the downlink spectrum resource quantity after the decrease, and the data in the non-acknowledgment mode does not need to be fragmented and refilled, thereby reducing the fragmentation and refilling steps and saving the processing resources consumed by the data retransmission processing.

[0226] In one embodiment of the present application, the processor 903 is further configured to: if the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, determine whether the CRC check result of the current time slot is incorrect; if the CRC check result is incorrect, the MAC layer determines whether the required receiving spectrum resource quantity of the current time slot is greater than the uplink spectrum resource quantity after the decrease; if the receiving spectrum resource quantity is greater than the uplink spectrum resource quantity after the decrease, the MAC layer sends a status request message to the RLC layer; and after receiving the status request message, the RLC layer generates and sends an AMD PDU status report to the sending end.

[0227] In the embodiment of the present application, after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases and the CRC check result of the current time slot is incorrect, it is judged whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity, so that in the case that the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity, the MAC layer directly sends a status request message to the RLC layer, so that the RLC layer generates and sends an AMD PDU status report to the sending end immediately after receiving the status request message, so that the sending end can trigger ARQ retransmission as soon as possible according to the AMD PDU status report, without waiting for the maximum number of transmission times to end the HARQ retransmission of the sending end. Instead, in the case that the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity, the HARQ retransmission of the sending end is ended immediately, and the AMD PDU status report is sent to the sending end to trigger the ARQ retransmission of the sending end, thereby shortening the time length of the retransmission process of the uplink message, and since the sending end performs ARQ retransmission according to the AMD PDU status report fed back by the base station, the next retransmission of the sending end can meet the current spectrum resource condition, thereby avoiding the problem of excessively high code rate, and improving the success rate of the next retransmission.

[0228] In an embodiment of the present application, after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, the MAC layer further judges whether the decrease ratio of the uplink spectrum resource quantity exceeds a second preset ratio threshold.

[0229] The above judging whether the CRC check result of the current time slot is incorrect comprises: if the decrease ratio exceeds the second preset ratio threshold, judging whether the CRC check result of the current time slot is incorrect.

[0230] In the embodiment of the present application, by judging whether the decrease ratio of the uplink spectrum resource quantity exceeds the first preset ratio threshold through the MAC layer, it can be directly judged whether the uplink spectrum resource quantity decreases sharply, and in the case that the decrease ratio exceeds the second preset ratio threshold due to sharp decrease, it is judged that the receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity in the case that the CRC check result is incorrect. In the case that the decrease ratio of the uplink spectrum resource quantity is low, the decrease of the uplink spectrum resource quantity has little effect on retransmission, and subsequent judgment is not required, so that the judgment step can be saved, and the processing resources consumed by data retransmission processing are reduced.

[0231] In one embodiment of the present application, if the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, the present application judges whether the CRC check result of the current time slot is wrong; if the CRC check result is wrong, the MAC layer judges whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity, including: if the CRC check result of the current time slot is judged to be wrong within the second preset time duration since the uplink spectrum resource quantity of the PUSCH of the base station is detected to decrease, the present application judges whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity.

[0232] In the embodiment of the present application, the present application judges whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity only when the CRC check result of the current time slot is judged to be wrong within the second preset time duration since the uplink spectrum resource quantity of the PUSCH of the base station is detected to decrease. Since the second preset time duration is short, the present application judges whether the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity only when the CRC check result of the current time slot is judged to be wrong within a short time since the uplink spectrum resource quantity decreases. If the time duration since the CRC check result of the current time slot is judged to be wrong exceeds the second preset time duration, the sending end will adjust the downlink spectrum resource by itself, and no subsequent judgment is needed, thereby saving the judgment step and reducing the processing resources consumed by the data retransmission processing.

[0233] The embodiment of the present application also provides a data retransmission device applied to a base station, referring to Figure 10 , Figure 10 The structure diagram of the data retransmission device provided by the embodiment of the present application is shown in the figure, and the device includes:

[0234] The packet sending module 11 is used for sending the downlink packet by the MAC layer of the base station, and waiting for the response information fed back by the receiving end of the downlink packet;

[0235] The downlink resource judgment module 12 is used for judging whether the required sending spectrum resource quantity of the retransmitted downlink packet is greater than the decreased downlink spectrum resource quantity if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases and the received response information is NACK information;

[0236] The packet loss message sending module 13 is used for sending the packet loss message and the decreased downlink spectrum resource quantity to the RLC layer of the base station by the MAC layer if the sending spectrum resource quantity is greater than the decreased downlink spectrum resource quantity;

[0237] The packet refilling module 14 is configured to, after the RLC layer receives the packet loss message, refill the data segments contained in the downlink packet into a PDU based on the reduced downlink spectrum resource quantity, and transmit the refilled PDU to the MAC layer, and the MAC layer transmits the refilled PDU to the receiving end.

[0238] In the embodiment of the application, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH decreases and receives the NACK information indicating that the current transmission fails, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the reduced downlink spectrum resource quantity. If the sending spectrum resource quantity is greater than the reduced downlink spectrum resource quantity, i.e., the current reduced spectrum resource cannot meet the current required spectrum resource, the MAC layer directly sends the packet loss message and the reduced downlink spectrum resource quantity to the RLC layer of the base station, so that the RLC layer, after receiving the packet loss message, refills the data segments contained in the downlink packet into a PDU based on the reduced downlink spectrum resource quantity, and transmits the refilled PDU to the MAC layer, so that the MAC layer transmits the refilled PDU to the receiving end. Without waiting for multiple retransmission failures to trigger the RLC layer to control the next retransmission, the length of the retransmission process is shortened, and the retransmission rate is improved. Moreover, since the PDU is refilled based on the reduced spectrum resource quantity, the next retransmission can match the current spectrum resource condition, avoiding the problem of excessively high code rate, thereby improving the success rate of the next retransmission.

[0239] In an embodiment of the application, the downlink resource determination module 12 is further configured to, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, determine whether the reduction ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold, and if the reduction ratio exceeds the first preset ratio threshold, determine whether the sending spectrum resource quantity required for retransmitting the downlink packet is greater than the reduced downlink spectrum resource quantity.

[0240] In the embodiment of the application, the reduction ratio can directly measure the degree of reduction of the downlink spectrum resource quantity. By determining whether the reduction ratio of the downlink spectrum resource quantity exceeds the first preset ratio threshold through the MAC layer, it can be directly determined whether the downlink spectrum resource quantity decreases sharply. In the case of sharp decrease, it is determined whether the sending spectrum resource quantity is greater than the reduced downlink spectrum resource quantity only when the reduction ratio exceeds the first preset ratio threshold after receiving the NACK information. In the case of low reduction ratio of the downlink spectrum resource quantity, the reduction of the downlink spectrum resource quantity has little effect on retransmission, and subsequent determination is not required, thereby saving the determination step and reducing the processing resources consumed by data retransmission processing.

[0241] In one embodiment of the present application, the downlink resource judging module 12 is specifically configured to: if the response information received within the first preset time period after the downlink spectrum resource quantity of the PDSCH of the base station is detected to decrease at the MAC layer is NACK information, judge whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

[0242] In the embodiment of the present application, only in the case that the response information received within the first preset time period after the downlink spectrum resource quantity of the PDSCH of the base station is detected to decrease at the MAC layer is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease. Since the first preset time period is short, only in the case that the response information is received within a short time after the downlink spectrum resource quantity is decreased and is NACK information, it is judged whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease. If the time period during which the response information is received after the downlink spectrum resource quantity is decreased exceeds the first preset time period, the MAC layer will adjust the downlink spectrum resource by itself, and subsequent judgment is not required, thereby saving the judgment step and reducing the processing resources consumed by the data retransmission processing.

[0243] In one embodiment of the present application, the message sending module 11 is further configured to: before the MAC layer of the base station sends the downlink message to the receiving end, send the scheduling parameter to the RLC layer, wherein the scheduling parameter contains the sequence number of the PDU corresponding to the downlink message and the HARQ process identification corresponding to the scheduling of the downlink message; and the RLC layer records the corresponding relationship between the HARQ process identification and the sequence number of the PDU.

[0244] The packet loss message sending module 13 is specifically configured to: the MAC layer sends the packet loss message carrying the HARQ process identification corresponding to the downlink message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station.

[0245] The message re-filling module 14 is specifically configured to: after the RLC layer receives the packet loss message, determine whether the PDU corresponding to the HARQ process identification includes the AMD PDU; if the AMD PDU is included, based on the downlink spectrum resource quantity after the decrease, the data fragments contained in the AMD PDU are split and refilled into the PDU.

[0246] In the embodiment of the present application, the MAC layer sends the scheduling parameter to the RLC layer before sending the downlink packet, and carries the HARQ process identifier in the scheduling parameter when the MAC layer sends the packet loss information to the RLC layer, so that the RLC layer determines whether the AMD PDU is included in the PDU corresponding to the HARQ process identifier after receiving the packet loss message. Since the transmission delay of the PDU is lengthened, the influence on the data in the AM mode is relatively large, the transmission rate of the AMD PDU is reduced, the data in the non-acknowledgement mode is not affected, so that only in the case of including the AMD PDU, the data slices included in the AMD PDU are fragmented and refilled to the PDU based on the reduced downlink spectrum resource amount, the data in the non-acknowledgement mode does not need to be fragmented and refilled, the fragmentation and refilling steps are reduced, and the processing resources consumed by the data retransmission processing are saved.

[0247] In one embodiment of the present application, the device further comprises:

[0248] The result determination module 15 is configured to determine whether the CRC check result of the current time slot is incorrect if the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station is reduced.

[0249] The uplink resource determination module 16 is configured to determine whether the required receiving spectrum resource amount of the current time slot is greater than the reduced uplink spectrum resource amount if the CRC check result is incorrect.

[0250] The request message sending module 17 is configured to send a state request message to the RLC layer if the receiving spectrum resource amount is greater than the reduced uplink spectrum resource amount.

[0251] The report generation module 18 is configured to generate and send an AMD PDU state report to the sending end after the RLC layer receives the state request message.

[0252] In the embodiment of the present application, after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases and the CRC check result of the current time slot is incorrect, it is judged whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity, so that in the case that the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity, the MAC layer directly sends a status request message to the RLC layer, so that the RLC layer generates and sends an AMD PDU status report to the sending end immediately after receiving the status request message, so that the sending end can trigger ARQ retransmission as soon as possible according to the AMD PDU status report, without waiting for the maximum transmission times to end the HARQ retransmission of the sending end. Instead, in the case that the required receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity, the HARQ retransmission of the sending end is ended immediately, and the AMD PDU status report is sent to the sending end to trigger the ARQ retransmission of the sending end, thereby shortening the time length of the retransmission process of the uplink message, and since the sending end performs ARQ retransmission according to the AMD PDU status report fed back by the base station, the next retransmission of the sending end can meet the current spectrum resource condition, thereby avoiding the problem of excessively high code rate, and improving the success rate of the next retransmission.

[0253] In an embodiment of the present application, the result judging module 15 is further configured to: after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, the MAC layer judges whether the decrease ratio of the uplink spectrum resource quantity exceeds a second preset ratio threshold; and if the decrease ratio exceeds the second preset ratio threshold, judges whether the CRC check result of the current time slot is incorrect.

[0254] In the embodiment of the present application, by judging whether the decrease ratio of the uplink spectrum resource quantity exceeds the first preset ratio threshold through the MAC layer, it can be directly judged whether the uplink spectrum resource quantity decreases sharply, and in the case that the decrease ratio exceeds the second preset ratio threshold due to sharp decrease, it is judged that the receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity in the case that the CRC check result is incorrect. In the case that the decrease ratio of the uplink spectrum resource quantity is low, the decrease of the uplink spectrum resource quantity has little effect on retransmission, and subsequent judgment is not required, so that the judgment steps can be saved, and the processing resources consumed by data retransmission processing are reduced.

[0255] In an embodiment of the present application, if the result judging module 15 detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases at the MAC layer and judges that the CRC check result of the current time slot is incorrect within a second preset time length, the uplink resource judging module judges whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity.

[0256] In the embodiment of the present application, only when the CRC check result of the current time slot is determined to be incorrect within the second preset time period after the uplink spectrum resource quantity of the PUSCH of the base station is detected to decrease at the MAC layer, it is determined whether the required receiving spectrum resource quantity of the current time slot is greater than the decreased uplink spectrum resource quantity. Since the second preset time period is short, only when the CRC check result of the current time slot is determined to be incorrect within a short time after the uplink spectrum resource quantity decreases, it is determined whether the receiving spectrum resource quantity is greater than the decreased uplink spectrum resource quantity. If the time period for determining that the CRC check result of the current time slot is incorrect after the uplink spectrum resource quantity decreases exceeds the second preset time period, the sending end will adjust the downlink spectrum resource by itself, and subsequent determination is not needed, so that the determination step can be saved, and the processing resource consumed by the data retransmission processing is reduced.

[0257] In still another embodiment of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of any of the above data retransmission methods.

[0258] When the computer program stored in the computer readable storage medium provided by the embodiment of the present application is used for data retransmission, after the downlink spectrum resource quantity of the PDSCH is detected to decrease at the MAC layer and the NACK information indicating that the current transmission fails is received, it is determined whether the required sending spectrum resource quantity for retransmitting the downlink message is greater than the current decreased downlink spectrum resource quantity, so that when the required sending spectrum resource quantity is greater than the decreased downlink spectrum resource quantity, that is, the current reduced spectrum resource cannot meet the current required spectrum resource, the MAC layer directly sends the packet loss message and the decreased downlink spectrum resource quantity to the RLC layer of the base station, so that the RLC layer fills the data fragments contained in the downlink message into the PDU again based on the decreased downlink spectrum resource quantity after receiving the packet loss message, and transmits the PDU filled again to the MAC layer, so that the MAC layer sends the PDU filled again to the receiving end. Without waiting for multiple retransmission failures to trigger the RLC layer to control the next retransmission, the length of the retransmission process is shortened, and the retransmission rate is improved. Moreover, since the PDU is filled again based on the decreased spectrum resource quantity, the next retransmission can match the current spectrum resource condition, the problem of excessively high code rate is avoided, and the success rate of the next retransmission is improved.

[0259] In still another embodiment of the present application, a computer program product containing instructions is provided, which, when running on a computer, causes the computer to execute any of the data retransmission methods in the above embodiments.

[0260] When the computer program product provided by the embodiment of the application is used to perform data retransmission, after the MAC layer detects that the downlink spectrum resource quantity of the PDSCH decreases and receives the NACK information indicating that the current transmission fails, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, so that in the case that the sending spectrum resource quantity required is greater than the downlink spectrum resource quantity after the decrease, i.e., the current decreased spectrum resource cannot meet the current required spectrum resource, the MAC layer directly sends the packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station, so that the RLC layer, after receiving the packet loss message, divides and refills the data slices contained in the downlink message into the PDU based on the downlink spectrum resource quantity after the decrease, and transmits the refilled PDU to the MAC layer, so that the MAC layer sends the refilled PDU to the receiving end. Without waiting for multiple retransmission failures to trigger the RLC layer to control the next retransmission, the length of the retransmission process is shortened, and the retransmission rate is improved. Moreover, since the PDU is refilled based on the downlink spectrum resource quantity after the decrease, the next retransmission can match the current spectrum resource condition, avoiding the problem of excessively high code rate, thereby improving the success rate of the next retransmission.

[0261] In the above embodiments, the implementation can be wholly or partially achieved by software, hardware, firmware, or any combination thereof. When implemented by software, the implementation can be wholly or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the implementation produces the processes or functions described in the embodiments of the application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another, for example, the computer instructions can be transferred from one website, computer, server, or data center to another via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0262] It is to be noted that, in the present text, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0263] The various embodiments in the specification are described in a related manner, and the same or similar parts among the various embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, the base station, apparatus, computer-readable storage medium, and computer program product embodiments are basically similar to the method embodiments, and thus are described simply. The relevant parts can be referred to the part of the method embodiment. The above only describes the preferred embodiments of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A data retransmission method, characterized by, The method is applied to a base station and comprises the following steps: A media access control (MAC) layer of the base station sends a downlink message and waits for response information fed back by a receiving end of the downlink message; If the MAC layer detects that a downlink spectrum resource quantity of a physical downlink shared channel (PDSCH) of the base station decreases and the received response information is negative acknowledgement (NACK) information, it is determined whether a sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease; If the sending spectrum resource quantity is greater than the downlink spectrum resource quantity after the decrease, the MAC layer sends a packet loss message and the downlink spectrum resource quantity after the decrease to a radio link control (RLC) layer of the base station; After receiving the packet loss message, the RLC layer splits and repacks data segments contained in the downlink message into protocol data units (PDUs) based on the downlink spectrum resource quantity after the decrease, and transmits the repacked PDUs to the MAC layer, which sends the repacked PDUs to the receiving end.

2. The method of claim 1, wherein, After the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, the following steps are further included: The MAC layer determines whether a decrease ratio of the downlink spectrum resource quantity exceeds a first preset ratio threshold; The determination of whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease includes: If the decrease ratio exceeds the first preset ratio threshold, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

3. The method of claim 1, wherein, The determination of whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease, if the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases and the received response information is NACK information, includes: If the MAC layer detects that the downlink spectrum resource quantity of the PDSCH of the base station decreases, and the received response information is NACK information within a first preset time duration, it is determined whether the sending spectrum resource quantity required for retransmitting the downlink message is greater than the downlink spectrum resource quantity after the decrease.

4. The method according to any one of claims 1 to 3, characterized in that, Before the MAC layer of the base station sends the downlink message to the receiving end, the following steps are further included: The MAC layer sends a scheduling parameter to an RLC layer, wherein the scheduling parameter contains a sequence number of a PDU corresponding to the downlink message and a hybrid automatic repeat request (HARQ) process identification corresponding to the scheduling of the downlink message; The RLC layer records a corresponding relationship between the HARQ process identification and the sequence number of the PDU; The MAC layer sends a packet loss message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station, which includes: The MAC layer sends the packet loss message carrying the HARQ process identification corresponding to the downlink message and the downlink spectrum resource quantity after the decrease to the RLC layer of the base station; After receiving the packet loss message, the RLC layer splits and repacks data segments contained in the downlink message into PDUs based on the downlink spectrum resource quantity after the decrease, which includes: The RLC layer determines whether the HARQ process identifier corresponds to an AMD PDU after receiving the packet loss message. If the AMD PDU is included, the data in the AMD PDU is fragmented and repacked into the PDU based on the reduced downlink spectrum resource quantity.

5. The method according to any one of claims 1-3, characterized in that, The method further comprises: If the MAC layer detects that the uplink spectrum resource quantity of the physical uplink shared channel (PUSCH) of the base station decreases, it is determined whether the cyclic redundancy check (CRC) result of the current time slot is incorrect. If the CRC result is incorrect, the MAC layer determines whether the required receiving spectrum resource quantity of the current time slot is greater than the reduced uplink spectrum resource quantity. If the receiving spectrum resource quantity is greater than the reduced uplink spectrum resource quantity, the MAC layer sends a status request message to the RLC layer. After the RLC layer receives the status request message, it generates and sends an AMD PDU status report to the sending end.

6. The method of claim 5, wherein, After the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, the method further comprises: The MAC layer determines whether the decrease ratio of the uplink spectrum resource quantity exceeds a second preset ratio threshold. The determination of whether the CRC result of the current time slot is incorrect comprises: If the decrease ratio exceeds the second preset ratio threshold, it is determined whether the CRC result of the current time slot is incorrect.

7. The method of claim 5, wherein, If the CRC result is incorrect, the MAC layer determines whether the required receiving spectrum resource quantity of the current time slot is greater than the reduced uplink spectrum resource quantity. If it is determined that the CRC result of the current time slot is incorrect within a second preset time period after the MAC layer detects that the uplink spectrum resource quantity of the PUSCH of the base station decreases, it is determined whether the required receiving spectrum resource quantity of the current time slot is greater than the reduced uplink spectrum resource quantity. The method comprises a memory, a transceiver, and a processor:

8. A base station, characterized by The memory is used to store a computer program; the transceiver is used to transceive data under the control of the processor; and the processor is used to read the computer program in the memory and perform the following operations: The media access control (MAC) layer of the base station sends a downlink message and waits for the response information fed back by the receiving end of the downlink message. If the MAC layer detects that the downlink spectrum resource quantity of the physical downlink shared channel (PDSCH) of the base station decreases, and the received response information is negative acknowledgement (NACK) information, it is determined whether the required sending spectrum resource quantity for retransmitting the downlink message is greater than the reduced downlink spectrum resource quantity. If the sending spectrum resource quantity is greater than the reduced downlink spectrum resource quantity, the MAC layer sends a packet loss message and the reduced downlink spectrum resource quantity to the radio link control (RLC) layer of the base station. ​ The RLC layer fills the data fragments contained in the downlink message into a protocol data unit (PDU) based on the decreased downlink spectrum resource quantity after receiving the packet loss message, and transmits the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.

9. A data retransmission apparatus characterized by comprising: The device is applied to a base station and comprises: a message sending module configured to send a downlink message by a media access control (MAC) layer of the base station and wait for response information fed back by a receiving end of the downlink message; an uplink resource judging module configured to, if the MAC layer detects that a downlink spectrum resource quantity of a physical downlink shared channel (PDSCH) of the base station decreases and the received response information is negative acknowledgement (NACK) information, judge whether a sending spectrum resource quantity required for retransmitting the downlink message is greater than the decreased downlink spectrum resource quantity; a packet loss message sending module configured to, if the sending spectrum resource quantity is greater than the decreased downlink spectrum resource quantity, send a packet loss message and the decreased downlink spectrum resource quantity to a radio link control (RLC) layer of the base station by the MAC layer; a message refilling module configured to, after receiving the packet loss message, fill the data fragments contained in the downlink message into a protocol data unit (PDU) based on the decreased downlink spectrum resource quantity, and transmit the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method steps of any one of claims 1-7.

Citation Information

Patent Citations

  • RLC data retransmission method and device

    CN114079544A

  • Information processing method and device, equipment and storage medium

    CN114642028A