Data retransmission method and device, base station and storage medium
By determining and adjusting the spectrum resource amount required for retransmission when the downlink spectrum resource drop is detected at the MAC layer of the base station, the high retransmission failure rate caused by the reduction of spectrum resources in dynamic spectrum sharing is solved, and faster Retransmission process and higher success rate.
Patent Information
- Application Number
- CN202310529498.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2043-05-11
AI Technical Summary
In the dynamic spectrum sharing process, the retransmission failure rate caused by the reduction of spectrum resources is high, especially in the TDD system. The existing technology fails to effectively solve the problem of bit rate adjustment, resulting in the delay in retransmission time.
When the downlink spectrum resource amount is detected by the MAC layer of the base station, it is determined whether the transmission spectrum resource amount required for retransmission is greater than the downlink spectrum resource amount after the decline. If it exceeds it, the packet loss message and the downlink spectrum will be sent to the RLC layer and the downlink spectrum. Resource amount, the RLC layer refills the data slice into the PDU, and transmits the refilled PDU to the MAC layer.
The retransmission process is shortened, the retransmission rate and success rate are improved, the problem of excessive code rate is avoided, and the user's business experience is improved.
Smart Images

Figure CN118944826A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a data retransmission method, device, base station and storage medium. Background Art
[0002] With the continuous development of NR (New Radio) networks, the demand for spectrum resources of NR networks continues to expand. Based on this, some LTE (Long Term Evolution) frequency bands have begun to be re-farmed for NR networks. In order to achieve smooth evolution of the spectrum re-farming process, dynamic spectrum sharing technology, that is, the technology of allocating a piece of spectrum resources to different networks at different times, has been proposed and continuously developed.
[0003] In the process of dynamically adjusting the shared spectrum, the spectrum resources will be flexibly adjusted according to the demand, and the spectrum resources on one side will increase while those on the other side will decrease. For the side with reduced spectrum resources, retransmission failure will occur in the early stage after the adjustment due to less spectrum resources. Especially for TDD (Time Division Duplexing) systems with large feedback delay, the retransmission failure will be more obvious.
[0004] Specifically, the downlink message transmitted by the base station for the first time fails to be transmitted, and the downlink message needs to be retransmitted. However, if the shared spectrum is dynamically adjusted during the retransmission process, the side with reduced spectrum resources will have fewer spectrum resources after the adjustment, and the MCS (Modulation and Coding Scheme) will remain unchanged during the data retransmission process. In order to ensure normal data transmission as much as possible, the base station will increase the code rate during data transmission, but this will lead to an increase in the failure rate of retransmission. In view of this situation, the change of the code rate is often not considered in the relevant technology. The base station still transmits according to the original network configuration. After each retransmission failure, the next retransmission is continued until the preset HARQ (Hybrid Automatic Repeat Request) maximum number of transmissions is reached. If the transmission is still not successful, the retransmission failure is confirmed. However, since the retransmission failure rate is higher after the code rate increases, 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 longer delay in the retransmission process. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a data retransmission method, device, base station and storage medium to shorten the duration of the retransmission process. The specific technical solution is as follows:
[0006] In a first aspect, an embodiment of the present invention provides a data retransmission method, which is applied to a base station. The method includes:
[0007] The MAC layer of the base station sends a downlink message and waits for response information fed back by the receiving end of the downlink message;
[0008] If the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, and the received response information is NACK information, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease;
[0009] If the sending spectrum resource amount is greater than the decreased downlink spectrum resource amount, the MAC layer sends a packet loss message and the decreased downlink spectrum resource amount to the RLC layer of the base station;
[0010] After receiving the packet loss message, the RLC layer segments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills the data into the PDU, and transmits the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.
[0011] In one embodiment of the present invention, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, the method further includes:
[0012] The MAC layer determines whether a decrease ratio of the amount of downlink spectrum resources exceeds a first preset ratio threshold;
[0013] The determining whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the decreased amount of downlink spectrum resources includes:
[0014] If the decrease ratio exceeds the first preset ratio threshold, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0015] In one embodiment of the present invention, if the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, and the received response information is NACK information, determining whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease includes:
[0016] If the response information received within the first preset time period after the MAC layer detects that the downlink spectrum resource amount of the PDSCH of the base station has decreased is NACK information, it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the downlink spectrum resource amount after the decrease.
[0017] In one embodiment of the present invention, before the MAC layer of the base station sends the downlink message to the receiving end, the method further includes:
[0018] The MAC layer sends a scheduling parameter to the RLC layer, where the scheduling parameter includes a sequence number of a PDU corresponding to the downlink message and a HARQ process identifier of the scheduling corresponding to the downlink message;
[0019] The RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU;
[0020] The MAC layer sends a packet loss message and a decreased amount of downlink spectrum resources to the RLC layer of the base station, including:
[0021] The MAC layer sends a packet loss message carrying a HARQ process identifier corresponding to the downlink message and a decreased amount of downlink spectrum resources to the RLC layer of the base station;
[0022] After receiving the packet loss message, the RLC layer fragments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills the data into the PDU, including:
[0023] After receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD PDU;
[0024] If an AMD PDU is included, the data included in the AMD PDU is fragmented and refilled into the PDU based on the decreased amount of downlink spectrum resources.
[0025] In one embodiment of the present invention, the method further comprises:
[0026] If the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station decreases, determining whether the CRC check result of the current time slot is an error;
[0027] If the CRC check result is an error, the MAC layer determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease;
[0028] If the received spectrum resource amount is greater than the decreased uplink spectrum resource amount, 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 transmitting end.
[0030] In one embodiment of the present invention, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the method further includes:
[0031] The MAC layer determines whether a decrease ratio of the uplink spectrum resource amount exceeds a second preset ratio threshold;
[0032] The determining whether the CRC check result of the current time slot is an error includes:
[0033] If the decrease ratio exceeds the second preset ratio threshold, it is determined whether the CRC check result of the current time slot is an error.
[0034] In one embodiment of the present invention, if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, determining whether the CRC check result of the current time slot is an error; if the CRC check result is an error, the MAC layer determines whether the amount of received spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease, including:
[0035] If the CRC check result of the current time slot is determined to be wrong within the second preset time length after the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station has decreased, it is determined whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease.
[0036] In a second aspect, an embodiment of the present invention provides a base station, including a memory, a transceiver, and a processor:
[0037] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor 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 response information fed back by the receiving end of the downlink message;
[0039] If the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, and the received response information is NACK information, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease;
[0040] If the sending spectrum resource amount is greater than the decreased downlink spectrum resource amount, the MAC layer sends a packet loss message and the decreased downlink spectrum resource amount to the RLC layer of the base station;
[0041] After receiving the packet loss message, the RLC layer segments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills the data into the PDU, 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 invention, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, the method further includes:
[0043] The MAC layer determines whether a decrease ratio of the amount of downlink spectrum resources exceeds a first preset ratio threshold;
[0044] The determining whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the decreased amount of downlink spectrum resources includes:
[0045] If the decrease ratio exceeds the first preset ratio threshold, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0046] In one embodiment of the present invention, if the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, and the received response information is NACK information, determining whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease includes:
[0047] If the response information received within the first preset time period after the MAC layer detects that the downlink spectrum resource amount of the PDSCH of the base station has decreased is NACK information, it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the downlink spectrum resource amount after the decrease.
[0048] In one embodiment of the present invention, before the MAC layer of the base station sends the downlink message to the receiving end, the method further includes:
[0049] The MAC layer sends a scheduling parameter to the RLC layer, where the scheduling parameter includes a sequence number of a PDU corresponding to the downlink message and a HARQ process identifier of the scheduling corresponding to the downlink message;
[0050] The RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU;
[0051] The MAC layer sends a packet loss message and a decreased amount of downlink spectrum resources to the RLC layer of the base station, including:
[0052] The MAC layer sends a packet loss message carrying a HARQ process identifier corresponding to the downlink message and a decreased amount of downlink spectrum resources to the RLC layer of the base station;
[0053] After receiving the packet loss message, the RLC layer fragments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills the data into the PDU, including:
[0054] After receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD PDU;
[0055] If an AMD PDU is included, the data included in the AMD PDU is fragmented and refilled into the PDU based on the decreased amount of downlink spectrum resources.
[0056] In one embodiment of the present invention, the processor is further configured to:
[0057] If the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station decreases, determining whether the CRC check result of the current time slot is an error;
[0058] If the CRC check result is an error, the MAC layer determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease;
[0059] If the received spectrum resource amount is greater than the decreased uplink spectrum resource amount, the MAC layer sends a status request message to the RLC layer;
[0060] After receiving the status request message, the RLC layer generates and sends an AMD PDU status report to the transmitting end.
[0061] In one embodiment of the present invention, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the method further includes:
[0062] The MAC layer determines whether a decrease ratio of the uplink spectrum resource amount exceeds a second preset ratio threshold;
[0063] The determining whether the CRC check result of the current time slot is an error includes:
[0064] If the decrease ratio exceeds the second preset ratio threshold, it is determined whether the CRC check result of the current time slot is an error.
[0065] In one embodiment of the present invention, if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, determining whether the CRC check result of the current time slot is an error; if the CRC check result is an error, the MAC layer determines whether the amount of received spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease, including:
[0066] If the CRC check result of the current time slot is determined to be wrong within the second preset time length after the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station has decreased, it is determined whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease.
[0067] In a third aspect, an embodiment of the present invention provides a data retransmission device, which is applied to a base station, and the device includes:
[0068] A message sending module, used for the MAC layer of the base station to send a downlink message and wait for response information fed back by the receiving end of the downlink message;
[0069] A downlink resource determination module, configured to determine whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease if the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases and the received response information is NACK information;
[0070] A packet loss message sending module, configured to cause the MAC layer to send a packet loss message and the decreased amount of downlink spectrum resources to the RLC layer of the base station if the amount of transmitted spectrum resources is greater than the decreased amount of downlink spectrum resources;
[0071] A message refilling module is used for the RLC layer to fragment the data contained in the downlink message and refill it into the PDU based on the decreased amount of downlink spectrum resources after receiving the packet loss message, and transmit the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.
[0072] In one embodiment of the present invention, the downlink resource determination module is further used to:
[0073] After the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, the MAC layer determines whether a decrease ratio of the amount of downlink spectrum resources exceeds a first preset ratio threshold;
[0074] If the decrease ratio exceeds the first preset ratio threshold, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0075] In one embodiment of the present invention, the downlink resource determination module is specifically used to:
[0076] If the response information received within the first preset time period after the MAC layer detects that the downlink spectrum resource amount of the PDSCH of the base station has decreased is NACK information, it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the downlink spectrum resource amount after the decrease.
[0077] In one embodiment of the present invention, before the MAC layer of the base station sends the downlink message to the receiving end, the message sending module is further used to:
[0078] The MAC layer sends a scheduling parameter to the RLC layer, where the scheduling parameter includes a sequence number of a PDU corresponding to the downlink message and a HARQ process identifier of the scheduling corresponding to the downlink message;
[0079] The RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU;
[0080] The packet loss message sending module is specifically used for:
[0081] The MAC layer sends a packet loss message carrying a HARQ process identifier corresponding to the downlink message and a decreased amount of downlink spectrum resources to the RLC layer of the base station;
[0082] The message refilling module is specifically used for:
[0083] After receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD PDU;
[0084] If an AMD PDU is included, the data included in the AMD PDU is fragmented and refilled into the PDU based on the decreased amount of downlink spectrum resources.
[0085] In one embodiment of the present invention, the device further comprises:
[0086] A result judgment module, configured to judge whether a CRC check result of a current time slot is an error if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases;
[0087] An uplink resource determination module, configured to, if the CRC check result is an error, determine by the MAC layer whether the amount of received spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease;
[0088] A request message sending module, configured to cause the MAC layer to send a status request message to the RLC layer if the amount of received spectrum resources is greater than the amount of uplink spectrum resources after the decrease;
[0089] The report generation module is used to generate and send an AMD PDU status report to the sending end after the RLC layer receives the status request message.
[0090] In one embodiment of the present invention, the result judgment module is further used to:
[0091] After the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the MAC layer determines whether a decrease ratio of the amount of uplink spectrum resources exceeds a second preset ratio threshold;
[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 an error.
[0093] In one embodiment of the present invention, if the result judgment module determines 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 amount of the PUSCH of the base station has decreased, the uplink resource judgment module determines whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease.
[0094] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps of any one of the first aspects described above are implemented.
[0095] In a fifth aspect, an embodiment of the present invention further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-mentioned methods of the first aspect.
[0096] Beneficial effects of the embodiments of the present invention:
[0097] A data retransmission method provided by an embodiment of the present invention can determine whether the amount of transmission spectrum resources required for retransmitting a downlink message is greater than the current amount of downlink spectrum resources after the MAC layer detects a decrease in the amount of downlink spectrum resources of the PDSCH and receives NACK information indicating the failure of this transmission, so that when the required amount of transmission spectrum resources is greater than the amount of downlink spectrum resources after the decrease, that is, the spectrum resources after the current decrease do not meet the currently required spectrum resources, the MAC layer directly sends a 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 segments the data contained in the downlink message and refills it 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 sends the refilled PDU to the receiving end. There is no need to wait until multiple retransmission failures to trigger the RLC layer to control the next retransmission, which shortens the duration of the retransmission process and improves the retransmission rate. In addition, 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 too high a code rate, thereby improving the success rate of the next retransmission.
[0098] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0099] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0100] Figure 1 A schematic diagram of a flow chart of a first data retransmission method provided in an embodiment of the present invention;
[0101] Figure 2 A schematic diagram of a flow chart of a second data retransmission method provided by an embodiment of the present invention;
[0102] Figure 3 A schematic diagram of a flow chart of a third data retransmission method provided by an embodiment of the present invention;
[0103] Figure 4 A schematic diagram of a flow chart of a fourth data retransmission method provided by an embodiment of the present invention;
[0104] Figure 5 A schematic diagram of the first interaction between the MAC layer and the RLC layer provided in an embodiment of the present invention;
[0105] Figure 6 A schematic diagram of a flow chart of a fifth data retransmission method provided by an embodiment of the present invention;
[0106] Figure 7 A schematic diagram of the interaction between the second MAC layer and the RLC layer provided in an embodiment of the present invention;
[0107] Figure 8 A schematic diagram of a sixth data retransmission method provided by an embodiment of the present invention;
[0108] Fig. 9 A schematic diagram of the structure of a base station provided in an embodiment of the present invention;
[0109] Fig.10 A schematic diagram of the structure of a data retransmission device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0110] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field based on the present invention belong to the scope of protection of the present invention.
[0111] In related technologies, in order to achieve a smooth evolution of the spectrum refarming process, 3GPP (3rd Generation Partnership Project) introduced dynamic spectrum sharing between LTE networks and NR networks in the R15 version, and enhanced the function of dynamic spectrum sharing in the R16 version, realizing RB (Resource Block) level spectrum resource sharing and improving the efficiency of spectrum sharing.
[0112] Spectrum sharing is divided into two sharing modes: carrier-level spectrum sharing and TTI (Transmission Time Interval)-level spectrum sharing. When the LTE network and the NR network share spectrum, the two networks have no overlapping spectrum at the same time, which is carrier-level spectrum sharing. This sharing mode has the same spectrum configuration within a certain period. It has the characteristics of simple principle but poor flexibility and practicality. The two networks have overlapping spectrum at the same time, which is TTI-level spectrum sharing. This sharing mode can be divided into two cases: spectrum overlap and spectrum inclusion. The spectrum configuration can be changed at the TTI level, which can make more flexible use of the spectrum. Based on this, TTI-level spectrum sharing is more commonly used in spectrum sharing scenarios.
[0113] The current implementation scheme of TTI-level spectrum sharing technology is: set LTE priority principle or NR priority principle according to the distribution of users or services in the network (LTE network and NR network), and periodically decide how much spectrum resources to allocate to the LTE network and the NR network respectively according to the priority principle. The decision cycle is generally set to seconds, and the load information between the LTE network and the NR network is exchanged in real time.
[0114] As can be seen from the above, dynamic spectrum sharing can flexibly adjust the spectrum resources of LTE networks and NR networks according to actual conditions, but this will cause large changes in spectrum resources before and after the adjustment, resulting in excessively high bit rates 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. However, due to the high code rate, multiple retransmissions fail. Moreover, the downlink message retransmission failure is not confirmed until the number of retransmissions reaches the maximum number of transmissions. The maximum number of transmissions is generally configured to be 4 or 5 times. In other words, it takes 4 or 5 retransmission failures to confirm the downlink message retransmission failure. The multiple retransmissions take a long time. It can be seen that this solution can neither effectively transmit data in a short time, nor waste 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 and it is determined that the retransmission of the downlink message has failed, 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 to ensure that data will not be lost. However, when the RLC layer is retransmitting, the RLC layer will increase the transmission delay of the PDU (Protocol Data Unit) refilled by the RLC layer due to 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 as the maximum number of transmissions increases, so that the delay of the RLC layer to transmit the refilled PDU will also increase as the configured maximum number of transmissions increases.
[0117] In particular, the longer transmission delay of PDU has a greater impact on the data in AM (Acknowledged Mode) mode. As the transmission delay of PDU becomes longer, the sliding speed of RLC AM window will slow down, which will cause the air interface rate to drop significantly, affecting the user service experience.
[0118] In order to solve at least one of the above problems, the embodiments of the present invention provide a data retransmission method, device, base station and storage medium, which are described in detail below.
[0119] The embodiment of the present invention provides a data retransmission method, see Figure 1 , Figure 1 The present invention provides a flowchart of a first data retransmission method according to an embodiment of the present invention. The method includes the following steps S101-S104.
[0120] S101, the MAC layer of the base station sends a downlink message and waits for response information fed back by the receiving end of the downlink message.
[0121] The receiving end may be a terminal, such as a mobile phone, a tablet computer, a mobile Internet device, a wearable device, etc. The base station may be a 5G base station, a 4G base station or any other version of a base station.
[0122] Specifically, after the MAC layer of the base station sends a downlink message to the receiving end through the PDSCH (Physical Downlink Shared Channel), the receiving end will feedback response information to the base station according to the actual downlink message reception situation. When the receiving end receives the downlink message normally, it will feedback ACK (Acknowledgement) information; when the receiving end does not receive the downlink message normally, for example, the network quality is poor and the downlink message is not received, the spectrum resources are insufficient and the downlink message is not received, or only part of the downlink message data is received, the receiving end will feedback NACK (Negative Acknowledgement) information.
[0123] The received response information may be response information received in the case of a new transmission, or response information received in the case of any retransmission.
[0124] S102: If the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases and the received response information is NACK information, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the decreased amount of downlink spectrum resources.
[0125] The amount of downlink spectrum resources can be represented by the number of RBs or channel bandwidth that can be scheduled by the current PDSCH. The above-mentioned amount of transmitted spectrum resources is the amount of spectrum resources required to normally send downlink messages, which can be represented by the number of RBs or channel bandwidth required to schedule the PDSCH to send downlink messages.
[0126] Specifically, if the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, it indicates that the downlink spectrum resources are decreasing at this time. If the received response information is NACK information, it indicates that the receiving end has not successfully received the downlink message and needs to retransmit the downlink message. At this time, the spectrum resources are decreasing. In order to successfully transmit the downlink message to the receiving end, it is determined whether the amount of downlink spectrum resources at this time can meet the demand by judging whether the amount of transmitted spectrum resources is greater than the amount of downlink spectrum resources after the decrease, so as to judge whether the retransmission can be successful.
[0127] In addition, if the MAC layer detects that the amount of downlink spectrum resources of the base station's PDSCH has decreased, but the received response information is ACK information, the receiving end has successfully received the downlink message and the downlink message has been successfully transmitted, and there is no need to consider the impact of the reduction in downlink spectrum resources.
[0128] S103: If the amount of transmitted spectrum resources is greater than the decreased amount of downlink spectrum resources, the MAC layer sends a packet loss message and the decreased amount of downlink spectrum resources to the RLC layer of the base station.
[0129] Specifically, if the amount of sending spectrum resources is greater than the amount of downlink spectrum resources after the decrease, it indicates that the amount of downlink spectrum resources after the decrease is too small to reach the amount of spectrum resources required for sending downlink messages, that is, the amount of downlink spectrum resources after the decrease can no longer meet the demand. At this time, no matter which transmission the response information corresponds to, the packet loss message and the amount of downlink spectrum resources after the decrease are directly sent to the RLC layer of the base station through the MAC layer to end the HARQ retransmission of the MAC layer. There is no need to wait until the retransmission fails to reach the maximum number of transmissions before ending the HARQ retransmission of the MAC layer and triggering the RLC layer control retransmission. The RLC layer control retransmission is triggered in advance, thereby shortening the retransmission delay of the MAC layer, so that the delay of the PDU after subsequent transmission refilling is also shortened, thereby shortening the duration of the entire transmission process of the downlink message.
[0130] In addition, after the MAC layer sends a packet loss message to the RLC layer, the HARQ resources of the PDSCH can be released for subsequent new transmission scheduling.
[0131] S104, after receiving the packet loss message, the RLC layer segments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills it 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, the data contained in the downlink message is fragmented based on the amount of downlink spectrum resources after the decrease, and the PDU is refilled according to the fragmented data, so that the retransmission process can be transmitted based on the amount of downlink spectrum resources after the decrease, thereby improving the success rate of retransmission. The above process of fragmenting the data contained in the downlink message and refilling the PDU according to the fragmented data can be referred to the relevant technology, which will not be repeated here.
[0133] In the embodiment of the present invention, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and receives NACK information indicating the failure of this transmission, it can be determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the current amount of downlink spectrum resources after the decrease. Therefore, when the required amount of transmission spectrum resources is greater than the amount of downlink spectrum resources after the decrease, that is, the spectrum resources after the current decrease do not meet the currently required spectrum resources, the MAC layer directly sends a 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 fragments the data contained in the downlink message and refills it 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 sends the refilled PDU to the receiving end. There is no need to wait until multiple retransmission failures to trigger the RLC layer to control the next retransmission, which shortens the duration of the retransmission process and improves the retransmission rate. In addition, 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 too high code rate, thereby improving the success rate of the next retransmission.
[0134] In addition, since the duration of the retransmission process is shortened and the success rate of the retransmission process is improved, the sliding speed of the RLC AM window is also increased, thereby improving the rate of the air interface and further improving the user service experience.
[0135] In one embodiment 1 of the present invention, in the above step S102, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, it can also include: step A, the MAC layer determines whether the decrease ratio of the downlink spectrum resources exceeds a first preset ratio threshold.
[0136] The calculation formula of the above-mentioned reduction ratio is: (1-downlink spectrum resource amount after reduction / downlink spectrum resource amount before reduction)*100%. In Example 2, the number of RBs that can be scheduled by the PDSCH of the base station is reduced from 10 to 6, and the reduction ratio of the downlink spectrum resource amount is 40%. The above-mentioned first preset ratio threshold is the maximum ratio that the downlink spectrum resource amount can be reduced by, which can be set according to actual needs, for example, 30%, 50%.
[0137] Corresponding to the above example 2, the first preset proportion threshold is set to 30%. It is known that the decrease ratio of the downlink spectrum resources is 40%. The MAC layer determines that the decrease ratio of the downlink spectrum resources exceeds the first preset proportion threshold of 30%, indicating that the decrease ratio of the downlink spectrum resources has exceeded the maximum proportion that can be reduced. The downlink spectrum resources are decreasing sharply. In this case, it is difficult to successfully transmit downlink messages.
[0138] In addition, the first preset ratio threshold may be set as an internal parameter, which may be named DLBand_Smaller_Ratio, meaning the maximum ratio of downlink spectrum resource reduction.
[0139] In Example 1 of the present invention, see Figure 2 , Figure 2 A schematic diagram of a flow chart of a second data retransmission method provided by an embodiment of the present invention, Figure 1 The step S102 in can be implemented by the following step S102A.
[0140] S102A, if the MAC layer detects that the amount of downlink spectrum resources of the base station's PDSCH has decreased, and the received response information is NACK information, and the decrease ratio exceeds the first preset ratio threshold, then it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0141] Specifically, when the reduction ratio exceeds DLBand_Smaller_Ratio, it can be determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the reduction.
[0142] Corresponding to the above example 2, after the MAC layer determines that the amount of downlink spectrum resources has decreased by 40%, the MAC layer judges that the decrease ratio of the downlink spectrum resources exceeds the first preset ratio threshold of 30%, and then judges whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the downlink spectrum resources after the decrease.
[0143] In the embodiment of the present invention, the decrease ratio can intuitively measure the degree of decrease in the amount of downlink spectrum resources. By judging whether the decrease ratio of the amount of downlink spectrum resources exceeds the first preset ratio threshold through the MAC layer, it can be intuitively judged whether the amount of downlink spectrum resources has dropped sharply. Only when the sharp decrease makes the decrease ratio exceed the first preset ratio threshold, it is judged whether the amount of transmitted spectrum resources is greater than the amount of downlink spectrum resources after the decrease when NACK information is received. In the case where the decrease ratio of the amount of downlink spectrum resources is low, the decrease in the amount of downlink spectrum resources has little impact on retransmission, and no subsequent judgment is required, thereby saving judgment steps and reducing the processing resources consumed by data retransmission processing.
[0144] In one embodiment of the present invention, see Figure 3 , Figure 3 A schematic diagram of a flow chart of a third data retransmission method provided in an embodiment of the present invention, Figure 1 The step S102 in can be implemented by the following step S102B.
[0145] S102B, if the MAC layer detects that the amount of downlink spectrum resources of the base station's PDSCH decreases and receives a NACK response within the first preset time period, it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0146] The first preset duration mentioned above can be set according to actual needs. For example, the first preset duration is the maximum number of transmissions*system frame length, preset number*time slot length, etc. The preset number is set according to needs.
[0147] Usually, the first preset duration is set to be shorter because when the duration of the decrease in the amount of downlink spectrum resources is too long, the MAC layer will make adjustments according to the actual downlink spectrum resources to achieve transmission of downlink messages.
[0148] In addition, the first preset duration can be achieved by setting an internal timer. The timer can be named DLBand_Smaller_Timer, which means downlink spectrum resource reduction timer. The timing duration of the timer can be the maximum number of transmissions*system frame length, in milliseconds.
[0149] Specifically, the timer can be started when the MAC layer detects a decrease in the amount of downlink spectrum resources of the PDSCH or determines that the decrease ratio of the downlink spectrum resources exceeds a first preset ratio threshold. While the timer is running, if the response information received by the MAC layer from the terminal is NACK information, it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0150] Furthermore, during the operation of the timer, if the response information fed back by the terminal received by the MAC layer is ACK information, the HARQ resources of the base station are released for subsequent new transmission scheduling.
[0151] In an embodiment of the present invention, when the MAC layer detects that the amount of downlink spectrum resources of the base station's PDSCH decreases and receives a response message as NACK information within the first preset time length, it determines whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease. Since the first preset time length is short, when the response message is NACK information received within a short time after the amount of downlink spectrum resources decreases, it determines whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease. If the duration of receiving the response message as NACK information after the amount of downlink spectrum resources decreases exceeds the first preset time length, the MAC layer will adjust the downlink spectrum resources automatically without the need for subsequent judgment, thereby saving the judgment step and reducing the processing resources consumed by data retransmission processing.
[0152] In one embodiment of the present invention, see Figure 4 , Figure 4 A schematic diagram of a flow chart of a fourth data retransmission method provided in an embodiment of the present invention, wherein Figure 1 Before step S101, the following steps S105-S106 may also be included.
[0153] S105, the MAC layer sends scheduling parameters to the RLC layer.
[0154] The scheduling parameters include the sequence number of the PDU corresponding to the downlink message and the HARQ process identifier (HARQId) of the scheduling corresponding to the downlink message.
[0155] Specifically, when the next new transmission scheduling starts after the current time slot scheduling ends, the MAC layer sends the scheduling parameters to the RLC layer.
[0156] In addition, the above scheduling parameters may also include the parameters 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 parameters, and the SN (Sequence Number) of the PDU is the sequence number of the PDU corresponding to the above downlink message.
[0157] S106: The RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU.
[0158] Specifically, the RLC layer establishes and records the corresponding relationship between the HARQ process identifier and the sequence number of the PDU corresponding to the downlink message, so as to bind the two.
[0159] In addition, before executing step S101B, if the HARQ process identifier already has a corresponding relationship with the sequence number of other PDUs, then in step S101B, the corresponding relationship of the HARQ process identifier can be updated according to the sequence number of the PDU corresponding to the downlink message, so that the sequence number of the PDU corresponding to the downlink message is bound to the HARQ process identifier.
[0160] With the aforementioned Figure 1 Compared with the illustrated embodiment, the above step S103 can be implemented by the following step S103A, and the step S104 can be implemented by the following steps S104A-S104B.
[0161] S103A, if the sending spectrum resource amount is greater than the decreased downlink spectrum resource amount, the MAC layer sends a packet loss message carrying the HARQ process identifier corresponding to the downlink message and the decreased downlink spectrum resource amount to the RLC layer of the base station.
[0162] S104A, after receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD (Acknowledged Mode Data) PDU.
[0163] The AMD PDU is a data PDU transmitted in the confirmation mode.
[0164] Specifically, after receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the PDU sequence number that has a corresponding relationship with the HARQ process identifier includes the AMD PDU.
[0165] S104B, if AMD PDU is included, the data contained in the AMD PDU is fragmented and refilled into the PDU based on the decreased downlink spectrum resource amount, and the refilled PDU is transmitted to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.
[0166] Specifically, when the RLC layer determines that the PDU corresponding to the downlink message contains an AMD PDU, it fragments the data contained in the AMD PDU according to the decreased amount of downlink spectrum resources and refills it into the PDU, and transmits the refilled PDU to the MAC layer, so that the MAC layer starts ARQ (Automatic Repeat request) retransmission of all refilled PDUs.
[0167] In an embodiment of the present invention, the MAC layer sends scheduling parameters to the RLC layer before sending a downlink message, and when the MAC layer sends packet loss information to the RLC layer, the HARQ process identifier 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 identifier includes an AMD PDU. Since the longer transmission delay of the PDU only has a greater impact on the data in the AM mode, the transmission rate of the AMD PDU is reduced, and the data in the non-confirmation mode is not affected. Therefore, only when the AMD PDU is included, the data contained in the AMD PDU is fragmented and refilled into the PDU based on the reduced downlink spectrum resource amount. There is no need to fragment and refill the data in the non-confirmation mode, which reduces the fragmentation and refilling steps and saves the processing resources consumed by data retransmission processing.
[0168] For an example, see Figure 5 , Figure 5 The first interaction diagram of the MAC layer and the RLC layer provided in the embodiment of the present invention illustrates the messages transmitted between the MAC layer and the RLC layer. There are three messages between the two layers.
[0169] First, when the current time slot scheduling ends and a new transmission starts, the MAC layer sends scheduling parameters to the RLC layer.
[0170] For a description of the scheduling parameters, see Figure 4 Description in the examples.
[0171] Second, when the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and the response information fed back by the terminal is NACK information, the MAC layer sends a packet loss message to the RLC layer to cancel the retransmission process of the MAC layer.
[0172] The above scheduling parameters are independent of the timing of sending the packet loss message.
[0173] Third, after receiving the packet loss message, the RLC layer sends a retransmission PDU message to the MAC layer. After fragmenting the data contained in the downlink message and refilling it into the PDU based on the decreased amount of downlink spectrum resources, the RLC layer sends the refilled PDU to the MAC layer, so that the MAC layer starts ARQ retransmission of all refilled PDUs.
[0174] In addition, the MAC layer may be a MAC subsystem, and the RLC layer may be an RLC subsystem.
[0175] In the embodiment of the present invention, through the message interaction between the MAC layer and the RLC layer, after the MAC layer sends a packet loss message to the RLC layer, the cancellation of the MAC layer retransmission process is promptly confirmed, and the RLC ARQ retransmission is quickly started, thereby shortening the delay of triggering the RLC layer control retransmission.
[0176] In one embodiment of the present invention, see Figure 6 , Figure 6 This is a flow chart of a fifth data retransmission method provided by an embodiment of the present invention. The data retransmission method may further include the following steps S601-S604.
[0177] S601: If the MAC layer detects that the amount of uplink spectrum resources of the PUSCH (Physical Uplink Shared Channel) of the base station decreases, it determines whether a CRC (Cyclic Redundancy Check) check result of the current time slot is an error.
[0178] After the MAC layer of the base station receives the uplink message sent by the transmitter, it will perform CRC check on the data in the uplink message and generate a CRC check result. When the CRC check result is error, it means that the uplink message has not passed the check. It is possible that the communication environment between the base station and the transmitter is poor at this time. For example, the lack of uplink spectrum resources leads to a poor communication environment, causing the uplink message check to fail.
[0179] In addition, when the CRC check result is correct, it means that the uplink message has passed the check and the uplink message has been successfully transmitted, and there is no need to consider the impact of the reduction of uplink spectrum resources.
[0180] S602: If the CRC check result is an error, the MAC layer determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease.
[0181] The above-mentioned reception spectrum resource amount is the spectrum resource amount required for the normal reception of uplink messages in the current time slot, which can be represented by the number of RBs or the required bandwidth required to receive the uplink message PUSCH. The uplink spectrum resource amount can be represented by the number of RBs or the schedulable bandwidth that can be scheduled by the current PUSCH.
[0182] S603: If the amount of received spectrum resources is greater than the decreased amount of uplink spectrum resources, the MAC layer sends a status request message to the RLC layer.
[0183] Among them, the longer transmission delay of PDU only has a greater impact on the data in AM mode, which reduces the transmission rate of AMD PDU, so the above status request message is a PDU AM status request message. The data status is not requested for the data in non-confirmation mode, thereby reducing the request and subsequent processing steps and saving the processing resources consumed by data retransmission processing.
[0184] Specifically, if the received spectrum resource amount is greater than the decreased uplink spectrum resource amount, it indicates that the decreased uplink spectrum resource amount is too small to reach the spectrum resource amount required for receiving uplink messages, that is, the decreased uplink spectrum resource amount can no longer meet the demand. At this time, no matter which transmission the current PUSCH scheduling corresponds to, a status request message is sent directly to the RLC layer through the MAC layer.
[0185] See also Figure 7 , Figure 7 The second interaction diagram of the MAC layer and the RLC layer provided in the embodiment of the present invention is compared with Figure 5 The message interaction between the MAC layer and the RLC layer in the case of transmitting downlink messages is shown. Figure 7In the case of uplink message transmission shown in the figure, only one message is exchanged between the MAC layer and the RLC layer, that is, when the MAC layer determines that the CRC check result is wrong or when it determines that the received spectrum resource amount is greater than the uplink spectrum resource amount after the decrease, the MAC layer sends a status request message to the RLC layer.
[0186] In addition, after the MAC layer sends a status request message to the RLC layer, the HARQ resources of the PUSCH may be released for subsequent new transmission scheduling.
[0187] S604: After receiving the status request message, the RLC layer generates and sends an AMD PDU status report to the transmitting end.
[0188] The transmitting end may be a terminal, such as a mobile phone, a tablet computer, a mobile Internet device, a wearable device, etc.
[0189] Specifically, after receiving the status request message, the RLC layer of the base station 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 in the relevant technology, which will not be repeated here.
[0190] In an embodiment of the present invention, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased and the CRC check result of the current time slot is erroneous, it determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease. Therefore, when the required amount of receiving spectrum resources is greater than the amount of uplink spectrum resources after the decrease, a status request message is directly sent to the RLC layer through the MAC layer, so that the RLC layer immediately generates and sends an AMD PDU status report to the transmitter after receiving the status request message, so that the transmitter can trigger ARQ retransmission as soon as possible according to the AMD PDU status report, without waiting until the transmission fails to the maximum number of transmissions to end the HARQ retransmission of the transmitter. Instead, when it is determined that the required amount of receiving spectrum resources is greater than the decreased uplink spectrum resources, the HARQ retransmission of the sender is immediately terminated, and an AMD PDU status report is sent to the sender to trigger the sender to perform ARQ retransmission, thereby shortening the duration of the uplink message retransmission process. In addition, since the sender performs ARQ retransmission based on the AMD PDU status report fed back by the base station, the next retransmission of the sender can meet the current spectrum resource situation, avoiding the problem of excessive code rate, thereby improving the success rate of the next retransmission.
[0191] In one embodiment 3 of the present invention, in the above step S601, after the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station decreases, it can also include: step B, the MAC layer determines whether the decrease ratio of the uplink spectrum resource amount exceeds a second preset ratio threshold.
[0192] The calculation method of the above reduction ratio is the same as that of the above embodiment 1, and the difference between the two is that the reduction ratio in embodiment 1 corresponds to downlink spectrum resources, while the present embodiment 3 corresponds to uplink spectrum resources.
[0193] The second preset ratio threshold is a preset maximum ratio by which the uplink spectrum resource amount can be reduced, which can be set according to actual needs, for example, 40%, 50%. Moreover, 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 may be set as an internal parameter, which may be named as ULBand_Smaller_Ratio, which means the maximum ratio of the reduction of the uplink spectrum resource amount.
[0195] In Example 3 of the present invention, see Figure 8 , Figure 8 A schematic diagram of a sixth data retransmission method provided by an embodiment of the present invention, Figure 6 Step S601 in the embodiment 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, if the decrease ratio exceeds a second preset ratio threshold, it is determined whether the CRC check result of the current time slot is an error.
[0197] Specifically, when the reduction ratio exceeds the ULBand_Smaller_Ratio, it can be determined whether the CRC check result of the current time slot is an error.
[0198] In the embodiment of the present invention, by judging whether the decrease ratio of the uplink spectrum resource amount exceeds the first preset ratio threshold through the MAC layer, it can be intuitively judged whether the uplink spectrum resource amount drops sharply. Only when the sharp decrease makes the decrease ratio exceed the second preset ratio threshold, the received spectrum resource amount is judged to be greater than the uplink spectrum resource amount after the decrease when the CRC check result is wrong. In the case where the decrease ratio of the uplink spectrum resource amount is low, the decrease in the uplink spectrum resource amount has little impact on retransmission, and no subsequent judgment is required, thereby saving judgment steps and reducing the processing resources consumed by data retransmission processing.
[0199] In one embodiment of the present invention, Figure 6Steps S601-S602 in the embodiment can be implemented by following step C below.
[0200] Step C, if the MAC layer detects that the uplink spectrum resource amount of the base station's PUSCH decreases within the second preset time period and determines that the CRC check result of the current time slot is wrong, then determine whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease.
[0201] The second preset duration can be set according to actual needs. For example, the second preset duration is the maximum number of transmissions*system frame length, preset number*time slot length, etc. The preset number is set according to needs.
[0202] Usually, the second preset duration is set to be shorter because when the duration of the decrease in the amount of uplink spectrum resources is too long, the transmitter will make adjustments according to the actual uplink spectrum resources to achieve transmission of the uplink message.
[0203] The second preset duration may be the same as or different from the first preset duration.
[0204] In addition, the second preset duration can be achieved by setting an internal timer. The timer can be named ULBand_Smaller_Timer, which means uplink spectrum resource reduction timer. The timing duration of the timer can be the maximum number of transmissions*system frame length, in milliseconds.
[0205] Specifically, the timer can be started when the MAC layer detects a decrease in the uplink spectrum resources of the PUSCH or determines that the decrease ratio of the uplink spectrum resources exceeds a second preset ratio threshold. While the timer is running, if the MAC layer determines that the CRC check result of the current time slot is an error, it determines whether the receiving spectrum resources required for the current time slot are greater than the decreased uplink spectrum resources.
[0206] Furthermore, during the operation of the timer, if the MAC layer determines that the CRC check result of the current time slot is positive, the HARQ resources of the transmitting end are released for subsequent new transmission scheduling.
[0207] In an embodiment of the present invention, when the MAC layer detects that the CRC check result of the current time slot is wrong within the second preset time length after the uplink spectrum resource amount of the PUSCH of the base station decreases, it is determined whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease. Since the second preset time length is short, it is determined whether the receiving spectrum resource amount is greater than the uplink spectrum resource amount after the decrease only when the CRC check result of the current time slot is wrong within a short time after the uplink spectrum resource amount decreases. If the duration for which the CRC check result of the current time slot is wrong after the uplink spectrum resource amount decreases exceeds the second preset time length, the transmitting end will adjust the downlink spectrum resources automatically without the need for subsequent judgment, thereby saving the judgment step and reducing the processing resources consumed by data retransmission processing.
[0208] The embodiment of the present invention further provides a base station, see Fig. 9 , Fig. 9 A schematic diagram of the structure of a base station provided in an embodiment of the present invention includes a memory 901, a transceiver 902, and a processor 903;
[0209] The memory 901 is used to store computer programs; the transceiver 902 is used to send and receive data under the control of the processor 903; the processor 903 is used to read the computer program in the memory 901 and perform 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 amount of downlink spectrum resources of the PDSCH of the base station decreases, and the received response information is NACK information, it determines whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease;
[0212] If the amount of transmitted spectrum resources is greater than the amount of downlink spectrum resources after the decrease, the MAC layer sends a packet loss message and the amount of downlink spectrum resources after the decrease to the RLC layer of the base station;
[0213] After receiving the packet loss message, the RLC layer segments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills it into the PDU, and transmits the refilled PDU to the MAC layer, which sends the refilled PDU to the receiving end.
[0214] Among them, Fig. 9In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 903 and various circuits of memory represented by memory 901 are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 902 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which transmission medium may include a wireless channel, a wired channel, an optical cable, and other transmission media. The processor 903 is responsible for managing the bus architecture and general processing, and the memory 901 may store data used by the processor 903 when performing operations.
[0215] The processor 903 may 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). The processor may also adopt a multi-core architecture.
[0216] When the base station provided by the embodiment of the present invention performs data retransmission, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and receives NACK information indicating the failure of this transmission, it can be determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the current amount of downlink spectrum resources after the decrease. Therefore, when the required amount of transmission spectrum resources is greater than the amount of downlink spectrum resources after the decrease, that is, the spectrum resources after the current decrease do not meet the currently required spectrum resources, the MAC layer directly sends a 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 fragments the data contained in the downlink message and refills it 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 sends the refilled PDU to the receiving end. There is no need to wait until multiple retransmission failures to trigger the RLC layer to control the next retransmission, which shortens the duration of the retransmission process and improves the retransmission rate. In addition, 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 too high code rate, thereby improving the success rate of the next retransmission.
[0217] In one embodiment of the present invention, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, the method further includes: the MAC layer determines whether the decrease ratio of the downlink spectrum resources exceeds a first preset ratio threshold.
[0218] The above-mentioned judgment whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease includes: if the decrease ratio exceeds the first preset ratio threshold, then judging whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0219] In the embodiment of the present invention, the decrease ratio can intuitively measure the degree of decrease in the amount of downlink spectrum resources. By judging whether the decrease ratio of the amount of downlink spectrum resources exceeds the first preset ratio threshold through the MAC layer, it can be intuitively judged whether the amount of downlink spectrum resources has dropped sharply. Only when the sharp decrease makes the decrease ratio exceed the first preset ratio threshold, it is judged whether the amount of transmitted spectrum resources is greater than the amount of downlink spectrum resources after the decrease when NACK information is received. In the case where the decrease ratio of the amount of downlink spectrum resources is low, the decrease in the amount of downlink spectrum resources has little impact on retransmission, and no subsequent judgment is required, thereby saving judgment steps and reducing the processing resources consumed by data retransmission processing.
[0220] In one embodiment of the present invention, if the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station has decreased and the received response information is NACK information, then it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease, including: if the response information received within the first preset time length after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station has decreased is NACK information, then it is determined whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0221] In an embodiment of the present invention, when the MAC layer detects that the amount of downlink spectrum resources of the base station's PDSCH decreases and receives a response message as NACK information within the first preset time length, it determines whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease. Since the first preset time length is short, when the response message is NACK information received within a short time after the amount of downlink spectrum resources decreases, it determines whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease. If the duration of receiving the response message as NACK information after the amount of downlink spectrum resources decreases exceeds the first preset time length, the MAC layer will adjust the downlink spectrum resources automatically without the need for subsequent judgment, thereby saving the judgment step and reducing the processing resources consumed by data retransmission processing.
[0222] In one embodiment of the present invention, before the MAC layer of the above-mentioned base station sends a downlink message to the receiving end, it also includes: the MAC layer sends scheduling parameters to the RLC layer, the scheduling parameters including the sequence number of the PDU corresponding to the downlink message and the HARQ process identifier of the scheduling corresponding to the downlink message; the RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU.
[0223] The MAC layer sends a packet loss message and a decreased amount of downlink spectrum resources to the RLC layer of the base station, including: the MAC layer sends a packet loss message carrying a HARQ process identifier corresponding to the downlink message and a decreased amount of downlink spectrum resources to the RLC layer of the base station.
[0224] After receiving the packet loss message, the above-mentioned RLC layer fragments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills it into the PDU, including: after receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an AMD PDU; if it includes an AMD PDU, fragments the data contained in the AMD PDU based on the decreased amount of downlink spectrum resources and refills it into the PDU.
[0225] In an embodiment of the present invention, the MAC layer sends scheduling parameters to the RLC layer before sending a downlink message, and when the MAC layer sends packet loss information to the RLC layer, the HARQ process identifier 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 identifier includes an AMD PDU. Since the longer transmission delay of the PDU only has a greater impact on the data in the AM mode, the transmission rate of the AMD PDU is reduced, and the data in the non-confirmation mode is not affected. Therefore, only when the AMD PDU is included, the data contained in the AMD PDU is fragmented and refilled into the PDU based on the reduced downlink spectrum resource amount. There is no need to fragment and refill the data in the non-confirmation mode, which reduces the fragmentation and refilling steps and saves the processing resources consumed by data retransmission processing.
[0226] In one embodiment of the present invention, the processor 903 is also used for: if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased, determining whether the CRC check result of the current time slot is an error; if the CRC check result is an error, the MAC layer determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease; if the amount of receiving spectrum resources is greater than the amount of uplink spectrum resources after the decrease, the MAC layer sends a status request message to the RLC layer; after receiving the status request message, the RLC layer generates and sends an AMD PDU status report to the transmitter.
[0227] In an embodiment of the present invention, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased and the CRC check result of the current time slot is erroneous, it determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease. Therefore, when the required amount of receiving spectrum resources is greater than the amount of uplink spectrum resources after the decrease, a status request message is directly sent to the RLC layer through the MAC layer, so that the RLC layer immediately generates and sends an AMD PDU status report to the transmitter after receiving the status request message, so that the transmitter can trigger ARQ retransmission as soon as possible according to the AMD PDU status report, without waiting until the transmission fails to the maximum number of transmissions to end the HARQ retransmission of the transmitter. Instead, when it is determined that the required amount of receiving spectrum resources is greater than the decreased uplink spectrum resources, the HARQ retransmission of the sender is immediately terminated, and an AMD PDU status report is sent to the sender to trigger the sender to perform ARQ retransmission, thereby shortening the duration of the uplink message retransmission process. In addition, since the sender performs ARQ retransmission based on the AMD PDU status report fed back by the base station, the next retransmission of the sender can meet the current spectrum resource situation, avoiding the problem of excessive code rate, thereby improving the success rate of the next retransmission.
[0228] In one embodiment of the present invention, after the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station decreases, the method further includes: the MAC layer determines whether the decrease ratio of the uplink spectrum resource amount exceeds a second preset ratio threshold.
[0229] The above-mentioned determining whether the CRC check result of the current time slot is an error includes: if the decrease ratio exceeds a second preset ratio threshold, determining whether the CRC check result of the current time slot is an error.
[0230] In the embodiment of the present invention, by judging whether the decrease ratio of the uplink spectrum resource amount exceeds the first preset ratio threshold through the MAC layer, it can be intuitively judged whether the uplink spectrum resource amount drops sharply. Only when the sharp decrease makes the decrease ratio exceed the second preset ratio threshold, the received spectrum resource amount is judged to be greater than the uplink spectrum resource amount after the decrease when the CRC check result is wrong. In the case where the decrease ratio of the uplink spectrum resource amount is low, the decrease in the uplink spectrum resource amount has little impact on retransmission, and no subsequent judgment is required, thereby saving judgment steps and reducing the processing resources consumed by data retransmission processing.
[0231] In one embodiment of the present invention, if the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased, it determines whether the CRC check result of the current time slot is an error; if the CRC check result is an error, the MAC layer determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease, including: if the CRC check result of the current time slot is determined to be an error within the second preset time length after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased, then it determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease.
[0232] In an embodiment of the present invention, when the MAC layer detects that the CRC check result of the current time slot is wrong within the second preset time length after the uplink spectrum resource amount of the PUSCH of the base station decreases, it is determined whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease. Since the second preset time length is short, it is determined whether the receiving spectrum resource amount is greater than the uplink spectrum resource amount after the decrease only when the CRC check result of the current time slot is wrong within a short time after the uplink spectrum resource amount decreases. If the duration for which the CRC check result of the current time slot is wrong after the uplink spectrum resource amount decreases exceeds the second preset time length, the transmitting end will adjust the downlink spectrum resources automatically without the need for subsequent judgment, thereby saving the judgment step and reducing the processing resources consumed by data retransmission processing.
[0233] The embodiment of the present invention also provides a data retransmission device, which is applied to a base station, see Fig.10 , Fig.10 A schematic diagram of the structure of a data retransmission device provided in an embodiment of the present invention, the device comprising:
[0234] The message sending module 11 is used for the MAC layer of the base station to send a downlink message and wait for the response information fed back by the receiving end of the downlink message;
[0235] The downlink resource determination module 12 is used to determine whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease if the MAC layer detects that the amount of downlink spectrum resources 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 the MAC layer to send a packet loss message and the decreased downlink spectrum resource amount to the RLC layer of the base station if the amount of transmitted spectrum resources is greater than the decreased downlink spectrum resource amount;
[0237] The message refilling module 14 is used for the RLC layer to fragment the data contained in the downlink message and refill it into the PDU based on the decreased downlink spectrum resource amount after receiving the packet loss message, and transmit the refilled PDU to the MAC layer, and the MAC layer sends the refilled PDU to the receiving end.
[0238] In the embodiment of the present invention, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and receives NACK information indicating the failure of this transmission, it can be determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the current amount of downlink spectrum resources after the decrease. Therefore, when the required amount of transmission spectrum resources is greater than the amount of downlink spectrum resources after the decrease, that is, the spectrum resources after the current decrease do not meet the currently required spectrum resources, the MAC layer directly sends a 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 fragments the data contained in the downlink message and refills it 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 sends the refilled PDU to the receiving end. There is no need to wait until multiple retransmission failures to trigger the RLC layer to control the next retransmission, which shortens the duration of the retransmission process and improves the retransmission rate. In addition, 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 too high code rate, thereby improving the success rate of the next retransmission.
[0239] In one embodiment of the present invention, the downlink resource judgment module 12 is also used for: after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station has decreased, the MAC layer determines whether the decrease ratio of the downlink spectrum resources exceeds a first preset ratio threshold; if the decrease ratio exceeds the first preset ratio threshold, then determine whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease.
[0240] In the embodiment of the present invention, the decrease ratio can intuitively measure the degree of decrease in the amount of downlink spectrum resources. By judging whether the decrease ratio of the amount of downlink spectrum resources exceeds the first preset ratio threshold through the MAC layer, it can be intuitively judged whether the amount of downlink spectrum resources has dropped sharply. Only when the sharp decrease makes the decrease ratio exceed the first preset ratio threshold, it is judged whether the amount of transmitted spectrum resources is greater than the amount of downlink spectrum resources after the decrease when NACK information is received. In the case where the decrease ratio of the amount of downlink spectrum resources is low, the decrease in the amount of downlink spectrum resources has little impact on retransmission, and no subsequent judgment is required, thereby saving judgment steps and reducing the processing resources consumed by data retransmission processing.
[0241] In one embodiment of the present invention, the downlink resource judgment module 12 is specifically used to: if the response information received within the first preset time length after the MAC layer detects that the downlink spectrum resource amount of the PDSCH of the base station has decreased, is NACK information, then determine whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the downlink spectrum resource amount after the decrease.
[0242] In an embodiment of the present invention, when the MAC layer detects that the amount of downlink spectrum resources of the base station's PDSCH decreases and receives a response message as NACK information within the first preset time length, it determines whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease. Since the first preset time length is short, when the response message is NACK information received within a short time after the amount of downlink spectrum resources decreases, it determines whether the amount of sending spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease. If the duration of receiving the response message as NACK information after the amount of downlink spectrum resources decreases exceeds the first preset time length, the MAC layer will adjust the downlink spectrum resources automatically without the need for subsequent judgment, thereby saving the judgment step and reducing the processing resources consumed by data retransmission processing.
[0243] In one embodiment of the present invention, before the MAC layer of the base station sends a downlink message to the receiving end, the message sending module 11 is also used for: the MAC layer sends scheduling parameters to the RLC layer, the scheduling parameters including the sequence number of the PDU corresponding to the downlink message and the HARQ process identifier of the scheduling corresponding to the downlink message; the RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU.
[0244] The packet loss message sending module 13 is specifically used for: the MAC layer sends a packet loss message carrying a HARQ process identifier corresponding to a downlink message and a decreased amount of downlink spectrum resources to the RLC layer of the base station.
[0245] The message refilling module 14 is specifically used for: after receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes the AMD PDU; if it includes the AMD PDU, the data contained in the AMD PDU is fragmented and refilled into the PDU based on the decreased downlink spectrum resource amount.
[0246] In an embodiment of the present invention, the MAC layer sends scheduling parameters to the RLC layer before sending a downlink message, and when the MAC layer sends packet loss information to the RLC layer, the HARQ process identifier 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 identifier includes an AMD PDU. Since the longer transmission delay of the PDU only has a greater impact on the data in the AM mode, the transmission rate of the AMD PDU is reduced, and the data in the non-confirmation mode is not affected. Therefore, only when the AMD PDU is included, the data contained in the AMD PDU is fragmented and refilled into the PDU based on the reduced downlink spectrum resource amount. There is no need to fragment and refill the data in the non-confirmation mode, which reduces the fragmentation and refilling steps and saves the processing resources consumed by data retransmission processing.
[0247] In one embodiment of the present invention, the above device further includes:
[0248] A result judgment module 15 is used to judge whether the CRC check result of the current time slot is an error if the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station decreases;
[0249] An uplink resource determination module 16, configured to determine, at the MAC layer, whether the amount of received spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease if the CRC check result is an error;
[0250] A request message sending module 17, configured to cause the MAC layer to send a status request message to the RLC layer if the received spectrum resource amount is greater than the decreased uplink spectrum resource amount;
[0251] The report generating module 18 is used to generate and send an AMD PDU status report to the transmitting end after the RLC layer receives the status request message.
[0252] In an embodiment of the present invention, after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased and the CRC check result of the current time slot is erroneous, it determines whether the amount of receiving spectrum resources required for the current time slot is greater than the amount of uplink spectrum resources after the decrease. Therefore, when the required amount of receiving spectrum resources is greater than the amount of uplink spectrum resources after the decrease, a status request message is directly sent to the RLC layer through the MAC layer, so that the RLC layer immediately generates and sends an AMD PDU status report to the transmitter after receiving the status request message, so that the transmitter can trigger ARQ retransmission as soon as possible according to the AMD PDU status report, without waiting until the transmission fails to the maximum number of transmissions to end the HARQ retransmission of the transmitter. Instead, when it is determined that the required amount of receiving spectrum resources is greater than the decreased uplink spectrum resources, the HARQ retransmission of the sender is immediately terminated, and an AMD PDU status report is sent to the sender to trigger the sender to perform ARQ retransmission, thereby shortening the duration of the uplink message retransmission process. In addition, since the sender performs ARQ retransmission based on the AMD PDU status report fed back by the base station, the next retransmission of the sender can meet the current spectrum resource situation, avoiding the problem of excessive code rate, thereby improving the success rate of the next retransmission.
[0253] In one embodiment of the present invention, the result judgment module 15 is also used for: after the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station has decreased, the MAC layer determines whether the decrease ratio of the uplink spectrum resources exceeds a second preset ratio threshold; if the decrease ratio exceeds the second preset ratio threshold, determine whether the CRC check result of the current time slot is an error.
[0254] In the embodiment of the present invention, by judging whether the decrease ratio of the uplink spectrum resource amount exceeds the first preset ratio threshold through the MAC layer, it can be intuitively judged whether the uplink spectrum resource amount drops sharply. Only when the sharp decrease makes the decrease ratio exceed the second preset ratio threshold, the received spectrum resource amount is judged to be greater than the uplink spectrum resource amount after the decrease when the CRC check result is wrong. In the case where the decrease ratio of the uplink spectrum resource amount is low, the decrease in the uplink spectrum resource amount has little impact on retransmission, and no subsequent judgment is required, thereby saving judgment steps and reducing the processing resources consumed by data retransmission processing.
[0255] In one embodiment of the present invention, if the result judgment module 15 determines 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 amount of the base station's PUSCH decreases, the uplink resource judgment module determines whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease.
[0256] In an embodiment of the present invention, when the MAC layer detects that the CRC check result of the current time slot is wrong within the second preset time length after the uplink spectrum resource amount of the PUSCH of the base station decreases, it is determined whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease. Since the second preset time length is short, it is determined whether the receiving spectrum resource amount is greater than the uplink spectrum resource amount after the decrease only when the CRC check result of the current time slot is wrong within a short time after the uplink spectrum resource amount decreases. If the duration for which the CRC check result of the current time slot is wrong after the uplink spectrum resource amount decreases exceeds the second preset time length, the transmitting end will adjust the downlink spectrum resources automatically without the need for subsequent judgment, thereby saving the judgment step and reducing the processing resources consumed by data retransmission processing.
[0257] In another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned data retransmission methods are implemented.
[0258] When the computer program stored in the computer-readable storage medium provided by the embodiment of the present invention is applied to perform data retransmission, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and receives NACK information indicating the failure of this transmission, it can be determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the current amount of downlink spectrum resources after the decrease. Therefore, when the required amount of transmission spectrum resources is greater than the amount of downlink spectrum resources after the decrease, that is, the currently reduced spectrum resources do not meet the currently required spectrum resources, the MAC layer directly sends a 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 fragments the data contained in the downlink message based on the amount of downlink spectrum resources after the decrease and refills it into the PDU, and transmits the refilled PDU to the MAC layer, so that the MAC layer sends the refilled PDU to the receiving end. There is no need to wait until multiple retransmission failures to trigger the RLC layer to control the next retransmission, which shortens the duration of the retransmission process and improves the retransmission rate. Furthermore, since the PDU is refilled based on the decreased amount of spectrum resources, the next retransmission can match the current spectrum resource situation, thus avoiding the problem of excessive code rate, thereby improving the success rate of the next retransmission.
[0259] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes any one of the data retransmission methods in the above embodiments.
[0260] When the computer program product provided by the embodiment of the present invention is applied to data retransmission, after the MAC layer detects that the amount of downlink spectrum resources of the PDSCH decreases and receives NACK information indicating the failure of this transmission, it can be determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the current amount of downlink spectrum resources after the decrease. Therefore, when the required amount of transmission spectrum resources is greater than the amount of downlink spectrum resources after the decrease, that is, the currently reduced spectrum resources do not meet the currently required spectrum resources, the MAC layer directly sends a 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 fragments the data contained in the downlink message based on the amount of downlink spectrum resources after the decrease and refills it into the PDU, and transmits the refilled PDU to the MAC layer, so that the MAC layer sends the refilled PDU to the receiving end. There is no need to wait until multiple retransmission failures to trigger the RLC layer to control the next retransmission, which shortens the duration of the retransmission process and improves the retransmission rate. Furthermore, since the PDU is refilled based on the decreased amount of spectrum resources, the next retransmission can match the current spectrum resource situation, thus avoiding the problem of excessive code rate, thereby improving the success rate of the next retransmission.
[0261] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part 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 process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0262] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0263] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the base station, device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The above is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of protection of the present invention.
Claims
1. A data retransmission method, characterized in that: Applied to a base station, the method includes: The media access control MAC layer of the base station sends a downlink message and waits for response information fed back by the receiving end of the downlink message; If the MAC layer detects that the amount of downlink spectrum resources of the physical downlink shared channel PDSCH of the base station has decreased, and the received response information is negative acknowledgment NACK information, determining whether the amount of transmit spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease; If the transmit spectrum resource amount is greater than the decreased downlink spectrum resource amount, the MAC layer sends a packet loss message and the decreased downlink spectrum resource amount to the radio link control RLC layer of the base station; After receiving the packet loss message, the RLC layer segments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills it into the protocol data unit PDU, and transmits the refilled PDU to the MAC layer. The MAC layer sends the refilled PDU to the receiving end.
2. The method according to claim 1, characterized in that After the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases, the method further includes: The MAC layer determines whether a decrease ratio of the downlink spectrum resource amount exceeds a first preset ratio threshold; The determining whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the decreased amount of downlink spectrum resources includes: If the decrease ratio exceeds the first preset ratio threshold, it is determined whether the amount of transmission spectrum resources required for retransmitting the downlink message is greater than the decreased amount of downlink spectrum resources.
3. The method according to claim 1, characterized in that If the MAC layer detects that the amount of downlink spectrum resources of the PDSCH of the base station decreases and the received response information is NACK information, determining whether the amount of transmit spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease, including: If the response information received within the first preset time period after the MAC layer detects that the downlink spectrum resource amount of the PDSCH of the base station has decreased is NACK information, it is determined whether the amount of sending spectrum resources required to retransmit the downlink message is greater than the downlink spectrum resource amount 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 method further includes: The MAC layer sends a scheduling parameter to the RLC layer, where the scheduling parameter includes a sequence number of a PDU corresponding to the downlink message and a scheduled hybrid automatic repeat request HARQ process identifier corresponding to the downlink message; The RLC layer records the correspondence between the HARQ process identifier and the sequence number of the PDU; The MAC layer sending a packet loss message and a decreased amount of downlink spectrum resources to the RLC layer of the base station includes: The MAC layer sends a packet loss message carrying a HARQ process identifier corresponding to the downlink message and a decreased downlink spectrum resource amount to the RLC layer of the base station; After receiving the packet loss message, the RLC layer fragments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills the data into the PDU, including: After receiving the packet loss message, the RLC layer determines whether the PDU corresponding to the HARQ process identifier includes an acknowledgement mode data AMD PDU; If an AMD PDU is included, the data included in the AMD PDU is fragmented based on the decreased amount of downlink spectrum resources and refilled into the PDU.
5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: If the MAC layer detects that the amount of uplink spectrum resources of the physical uplink shared channel (PUSCH) of the base station decreases, determining whether a cyclic redundancy check (CRC) result of the current timeslot is an error; If the CRC check result is an error, the MAC layer determines whether the amount of receive spectrum resources required for the current timeslot is greater than the decreased amount of uplink spectrum resources; If the received spectrum resource amount is greater than the decreased uplink spectrum resource amount, the MAC layer sends a status request message to the RLC layer; After receiving the status request message, the RLC layer generates and sends an AMD PDU status report to the transmitting end.
6. The method according to claim 5, characterized in that After the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, the method further includes: The MAC layer determines whether a decrease ratio of the uplink spectrum resource amount exceeds a second preset ratio threshold; The determining whether the CRC check result of the current time slot is an error includes: If the decrease ratio exceeds the second preset ratio threshold, it is determined whether the CRC check result of the current time slot is an error.
7. The method according to claim 5, characterized in that If the MAC layer detects that the amount of uplink spectrum resources of the PUSCH of the base station decreases, determining whether the CRC check result of the current timeslot is an error; If the CRC check result is an error, the MAC layer determines whether the amount of receive spectrum resources required for the current timeslot is greater than the decreased amount of uplink spectrum resources, including: If the CRC check result of the current time slot is determined to be incorrect within the second preset time period after the MAC layer detects that the uplink spectrum resource amount of the PUSCH of the base station has decreased, it is determined whether the receiving spectrum resource amount required for the current time slot is greater than the uplink spectrum resource amount after the decrease.
8. A base station, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: The media access control MAC layer of the base station sends a downlink message and waits for response information fed back by the receiving end of the downlink message; If the MAC layer detects that the amount of downlink spectrum resources of the physical downlink shared channel PDSCH of the base station has decreased, and the received response information is negative acknowledgment NACK information, determining whether the amount of transmit spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease; If the transmit spectrum resource amount is greater than the decreased downlink spectrum resource amount, the MAC layer sends a packet loss message and the decreased downlink spectrum resource amount to the radio link control RLC layer of the base station; After receiving the packet loss message, the RLC layer segments the data contained in the downlink message based on the decreased amount of downlink spectrum resources and refills it into the protocol data unit PDU, and transmits the refilled PDU to the MAC layer. The MAC layer sends the refilled PDU to the receiving end.
9. A data retransmission device, characterized in that: Applied to a base station, the device includes: A message sending module, configured for the media access control (MAC) layer of the base station to send a downlink message and wait for response information fed back by a receiving end of the downlink message; an uplink resource determination module, configured to determine whether the amount of transmit spectrum resources required for retransmitting the downlink message is greater than the amount of downlink spectrum resources after the decrease if the MAC layer detects that the amount of downlink spectrum resources of the physical downlink shared channel (PDSCH) of the base station has decreased and the received response information is negative acknowledgment (NACK) information; a packet loss message sending module, configured to, if the amount of transmit spectrum resources is greater than the amount of downlink spectrum resources after the decrease, send, by the MAC layer, a packet loss message and the amount of downlink spectrum resources after the decrease to the radio link control RLC layer of the base station; A message refilling module is used for the RLC layer to fragment the data contained in the downlink message and refill it into the protocol data unit PDU based on the decreased downlink spectrum resource amount after receiving the packet loss message, 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 when the computer program is executed by a processor, the method steps according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Data retransmission method and device, storage medium and network device
CN109194452A
RLC data retransmission method and device
CN114079544A
Information processing method and device, equipment and storage medium
CN114642028A
