CN104125048B - Hybrid automatic repeat-request merges interpretation method and device - Google Patents

Hybrid automatic repeat-request merges interpretation method and device Download PDF

Info

Publication number
CN104125048B
CN104125048B CN201310148121.6A CN201310148121A CN104125048B CN 104125048 B CN104125048 B CN 104125048B CN 201310148121 A CN201310148121 A CN 201310148121A CN 104125048 B CN104125048 B CN 104125048B
Authority
CN
China
Prior art keywords
packet
result
decoding
demodulation
rsn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310148121.6A
Other languages
Chinese (zh)
Other versions
CN104125048A (en
Inventor
刘新良
杨海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201310148121.6A priority Critical patent/CN104125048B/en
Priority to PCT/CN2013/090263 priority patent/WO2014173156A1/en
Publication of CN104125048A publication Critical patent/CN104125048A/en
Application granted granted Critical
Publication of CN104125048B publication Critical patent/CN104125048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of HARQ (automatic repeat request) to merge interpretation method and device, grouping is demodulated in batch processing (Batch) 1, Batch2 and Batch3, and in Batch1 and Batch2 using counteracting after the demodulation result that is grouped decoded, improve the capacity and accuracy of business channel decoding;The unallocated resource of Batch and because it is abnormal lead to packet loss when, can guarantee that HARQ merges the robustness of code translator and hardware implementation cost is low.

Description

Hybrid automatic repeat request merging decoding method and device
Technical Field
The present invention relates to mobile communication technologies, and in particular, to a method and an apparatus for combining and decoding an automatic repeat Request (HARQ).
Background
Currently, a High Speed Uplink Packet Access (HSUPA) technology fused with a hybrid Automatic Repeat request harq (hybrid Automatic Repeat request) is commonly used in a Universal Mobile Telecommunications System (UMTS) to improve the Uplink data service side carrying capability, the HSUPA specification adopts a hybrid Automatic Repeat request harq (hybrid Automatic Repeat request) technology, a base station (Node B) side device demodulates and decodes a received Packet (hereinafter referred to as a Packet) of antenna data of a Transmission Time Interval (TTI) where a Retransmission Sequence Number (RSN, Retransmission Sequence Number) of a first transmitted Packet is 0, and if the decoding result returns a Cyclic Redundancy Check (CRC) correct message (ACK), a User Equipment (UE) returns an ACK message, if the UE returns an ACK message (NACK) Error message, and the packet retransmitted by the UE (RSN is 1) is combined with the previous packet in HARQ, namely, the result of the demodulation (including the processing of rate de-matching) of the retransmitted packet and the result of the demodulation (including the processing of rate de-matching) of the cached packet (RSN is 0) are combined, the combined result is used for decoding, and if the decoding result CRC Error is obtained, the UE is required to retransmit the packet until the decoding result CRC OK or the packet reaches the maximum retransmission times.
When the technology is actually applied, how to fully utilize the resources of the base station side equipment and improve the decoding capacity and accuracy of the service channel becomes a technical hotspot; moreover, how to avoid the interference to the base station side device when the scenario of HARQ combining and the scenario of packet loss caused by hardware abnormality are coupled becomes a problem to be solved urgently.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a HARQ merging decoding method and apparatus, which can improve decoding capacity and accuracy, and solve the problems of interference and reduced decoding gain caused by packet loss scenario coupling due to the packet merging scenario and hardware exception.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a hybrid automatic repeat request (HARQ) merging and decoding method, which comprises the following steps:
in Batch processing (Batch)1, a packet with RSN 0, which is firstly sent by a user terminal UE, is demodulated and decoded for the first time, a CRC correct packet of a decoding result is reconstructed, and the reconstructed packet is cancelled by a received packet;
performing second demodulation and decoding on the cancelled packet in the Batch2, reconstructing a packet with correct CRC of a decoding result, canceling the reconstructed packet in the Batch2 by using the original packet subjected to demodulation and decoding in the Batch2, and enabling the UE corresponding to the packet with the wrong CRC of the decoding result to retransmit the packet;
re-demodulating the packet after the Batch2 cancellation in Batch 3;
demodulating the retransmission packet with RSN of 1 for the first time in Batch1, combining the demodulation result with the demodulation result of Batch3, decoding by using the combined result, reconstructing the packet with correct decoding result CRC, and offsetting the reconstructed packet by the original retransmission packet with RSN of 1 demodulated in Batch 1;
performing second demodulation on the retransmission packet of which RSN is 1 after the cancellation of the Batch1 in the Batch2, combining the demodulation result with the demodulation result of the packet of which RSN is 1 after the cancellation of the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet of which RSN is 1 after the demodulation in the Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to retransmit the packet;
re-demodulating the packet with RSN 1 after the cancellation of the Batch2 in the Batch 3; and ending the current processing until the CRC of the decoding results of all the groups is correct or the retransmission times of the groups reach a preset maximum value.
Preferably, the method further comprises:
and determining that the Batch without allocated resources exists before the current Batch, and decoding by using the demodulation result of the packet in the current Batch when the packet demodulated in the current Batch is determined to be a new packet and the current Batch is not Batch 3.
Preferably, the determining that the packet demodulated in the current Batch is a new packet includes: determining any one of the following groups in the current Batch as a new group:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet subjected to the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
Preferably, the method further comprises:
and when determining that the Batch without the allocated resource exists before the current Batch, and determining that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, combining the demodulation result of the packet in the current Batch with the demodulation result of the packet in the Batch with the resource allocated before the current Batch, and decoding by using the combined result.
Preferably, the method further comprises:
storing a result of first demodulation of a packet with RSN of 0 in Batch1 into a physical Buffer memory (Buffer) A, storing a result of second demodulation of a packet with RSN of 0 in Batch2 into a physical Buffer B, storing a result of re-demodulation of a packet with RSN of 0 in Batch3 into the physical Buffer A, establishing mapping from the Buffer2 to the physical Buffer B and mapping from the Buffer1 to the physical Buffer A, and decoding by using a demodulation result in the Buffer 2;
storing the first demodulation result of the RSN non-0 packet in the Batch1 to a physical Buffer B, establishing mapping from the Buffer2 to the physical Buffer B and mapping from the Buffer1 to the physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
storing the result of the second demodulation of the RSN non-0 packet in the Batch2 to a physical Buffer A, establishing mapping from Buffer2 to the physical Buffer A and mapping from Buffer1 to a physical Buffer B, and decoding by using the demodulation result in the Buffer 2;
and storing the re-demodulation result of the RSN non-0 packet in the Batch3 into a physical Buffer B, and establishing a mapping from the Buffer2 to the physical Buffer B and a mapping from the Buffer1 to the physical Buffer A.
The invention also provides a HARQ merging decoding device, which comprises: a first merging decoding unit, a second merging decoding unit and a third merging unit; wherein,
the first merging and decoding unit is configured to perform first demodulation and decoding on a packet with RSN of 0 first sent by the UE in Batch1, reconstruct a packet with correct CRC of a decoding result, and cancel the reconstructed packet with the received packet; performing first demodulation on the retransmission packet with the RSN of 1 in the Batch1, combining a demodulation result with a demodulation result in the Batch3, decoding by using the combined result, reconstructing a packet with a correct decoding result CRC, and offsetting the reconstructed packet by using the original retransmission packet with the RSN of 1 demodulated in the Batch 1;
the second merging and decoding unit is configured to perform second demodulation and decoding on the cancelled packet in Batch2, reconstruct a packet with correct CRC of the decoding result, cancel the reconstructed packet in Batch2 with the original packet subjected to demodulation and decoding in Batch2, and retransmit the packet by the UE corresponding to the packet with the CRC error of the decoding result; performing second demodulation on the retransmission packet of which RSN is 1 after the cancellation of the Batch1 in Batch2, combining the demodulation result with the demodulation result of the packet of which RSN is 1 after the cancellation of the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet by the retransmission packet of which RSN is 1 demodulated in Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to transmit the retransmission packet;
the third combining unit is configured to re-demodulate the packet cancelled by Batch2 in Batch 3; re-demodulating the packet with RSN 1 after the cancellation of the Batch2 in the Batch 3; and ending the current processing until the CRC of the decoding results of all the groups of the first combined decoding unit and the second combined decoding unit is correct or the retransmission times of the groups reach a preset maximum value.
Preferably, the first combining and decoding unit and the second combining and decoding unit are further configured to determine that there is a Batch to which a resource is not allocated before the current Batch, and decode the packet using the demodulation result of the packet in the current Batch when it is determined that the packet demodulated in the current Batch is a new packet and the current Batch is not the Batch 3.
Preferably, the first merging and decoding unit and the second merging and decoding unit are further configured to determine that any one of the following packets in the current Batch is a new packet:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet subjected to the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
Preferably, the first combining and decoding unit and the second combining and decoding unit are further configured to determine that there is a Batch to which a resource is not allocated before the current Batch, and when it is determined that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, combine the demodulation result of the packet in the current Batch with the demodulation result of the packet in the previous Batch to which the resource is allocated before the current Batch, and decode the packet using the combined result.
Preferably, the first combining and decoding unit is further configured to store a result of first demodulation of a packet with RSN of 0 in Batch1 to Buffer a, and perform decoding using a demodulation result in Buffer 2; storing the first demodulation result of the RSN non-0 packet in the Batch1 into a physical Buffer B, and decoding by using the demodulation result in the Buffer 2;
the second merging and decoding unit is further configured to store a result of second demodulation of the packet with RSN of 0 in Batch2 to physical Buffer B, and perform decoding using the demodulation result in Buffer 2; storing the second demodulation result of the RSN non-0 packet in the Batch2 into a physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
the third merging unit is further configured to store a packet re-demodulation result with RSN of 0 in Batch3 to physical Buffer a;
the device further comprises: a mapping unit, configured to establish a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer a when the first decoding and merging unit stores a result of first demodulation of a packet whose RSN is 0 in Batch1 to physical Buffer a, the second decoding and merging unit stores a result of second demodulation of a packet whose RSN is 0 in Batch2 to physical Buffer B, and the third merging unit stores a result of re-demodulation of a packet whose RSN is 0 in Batch3 to physical Buffer a; when the first merging decoding unit stores the result of the first demodulation of the packet with RSN not 0 in Batch1 to physical Buffer B, establishing the mapping from Buffer2 to physical Buffer B and the mapping from Buffer1 to physical Buffer A; when the second merging and decoding unit stores the result of the second demodulation of the packet with RSN not 0 in Batch2 to physical Buffer A, establishing the mapping from Buffer2 to physical Buffer A and the mapping from Buffer1 to physical Buffer B; when the third merging unit stores the re-demodulation result of the packet with RSN not 0 in Batch3 to physical Buffer B, a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer A are established.
In the scheme, the packets are demodulated in the Batch1, the Batch2 and the Batch3, and the demodulation result of the packets after cancellation is used for decoding in the Batch1 and the Batch2, so that the decoding capacity and the accuracy of the traffic channel are improved; when the Batch does not allocate resources and a packet is lost due to abnormity, determining whether the Batch which does not allocate resources exists before the current Batch, determining whether a packet demodulated in the current Batch is a new packet or not, and determining whether the current Batch is Batch3, and decoding or merging and decoding according to a determined result, wherein the robustness of the HARQ merging and decoding device can be ensured, and the hardware implementation cost is low; furthermore, mapping from the Buffer2 to the physical Buffer storing the demodulation result is established according to different merging and decoding scenes, so that the demodulation result in the physical Buffer mapped by the Buffer2 is always used for decoding during decoding, and the decoding is convenient.
Drawings
FIG. 1a is a diagram illustrating a demodulation scenario according to an embodiment of the present invention;
fig. 1b is a schematic diagram illustrating an implementation flow of an HARQ combining and decoding method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a structure of an HARQ combining decoding apparatus according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating mapping of physical buffers according to an embodiment of the present invention;
fig. 4a is a schematic flow chart illustrating an implementation process of merging demodulation results according to the maintained identifier and decoding by using the demodulation results according to an embodiment of the present invention;
FIG. 4b is a flow chart illustrating an implementation of merging decoding using a packet identifier according to an embodiment of the present invention;
fig. 5a to 5g are schematic diagrams of various abnormal scenarios according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Taking the scenario of Enhanced Dedicated Physical Data CHannel/Enhanced Dedicated Physical control CHannel (E-DPDCH, Enhanced-Dedicated Physical Data CHannel)/(E-DPCCH, Enhanced-Dedicated Physical control CHannel) carrying 2ms (ms) Transmission Time Interval (TTI) User Equipment (UE), as an example, the HARQ combining and decoding method of the present invention is described below, where fig. 1a is a schematic diagram of a demodulation scenario in an embodiment of the present invention, and it should be noted that, in the scenario demodulation of the embodiment of the present invention shown in fig. 1a, when a packet with RSN of 0 transmitted for the first time is demodulated for the first time and for the second time, and when a retransmission packet of the packet is received after one HARQ loopback (24 slots), the former packet with RSN of 0 is firstly re-demodulated, and the decoding result of the RSN is 1 according to the re-demodulated, for practical application, under the condition that the base station side resource allows, the technical solution of the present invention is also applicable to a scenario in which not less than three times of demodulation is performed before re-demodulation, fig. 1b is a schematic diagram of an implementation flow of the HARQ combining and decoding method of the present invention, as shown in fig. 1b, the method includes:
step 10: performing first demodulation and decoding on a packet with a Retransmission Sequence Number (RSN) of 0, which is first transmitted by the UE, in Batch processing (Batch)1, reconstructing a packet with correct CRC of a decoding result, and canceling the received packet with the reconstructed packet;
wherein the packet is a packet of antenna data transmitted by the UE in a 2ms TTI, corresponding to one Subframe (Subframe), each Subframe comprising 3 slots (slots).
Step 20: performing second demodulation and decoding on the cancelled packet in the Batch2, reconstructing a packet with correct CRC of a decoding result, canceling the reconstructed packet in the Batch2 by the original packet subjected to demodulation and decoding in the Batch2, and enabling the UE corresponding to the CRC error packet of the sending decoding result to retransmit the packet;
step 30: re-demodulating the packet after the Batch2 cancellation in Batch 3;
step 40: demodulating the retransmission packet with RSN of 1 in Batch1 for the first time, combining the demodulation result with the demodulation result in Batch3, decoding by using the combined result, reconstructing the packet with correct CRC of the decoding result, and offsetting the reconstructed packet by the original retransmission packet with RSN of 1 demodulated in Batch 1;
step 50: performing second demodulation on the retransmission packet of which RSN is 1 after the cancellation of the Batch1 in the Batch2, combining the demodulation result with the demodulation result of the packet of which RSN is 1 after the cancellation of the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet of which RSN is 1 after the demodulation in the Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to retransmit the packet;
step 60: re-demodulating the packet with RSN 1 after the cancellation of the Batch2 in the Batch 3; and ending the current processing until the CRC of the decoding results of all the groups is correct or the groups reach the preset maximum retransmission times.
Preferably, when there is a Batch without resource before the current Batch, and it is determined that the packet demodulated in the current Batch is a new packet and the current Batch is not Batch3, decoding is performed by using the demodulation result of the packet demodulated in the current Batch.
Preferably, the determining that the packet demodulated in the current Batch is a new packet includes: determining any one of the following groups in the current Batch as a new group:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet subjected to the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
The retransmission grouping of the grouping with the retransmission times reaching the preset maximum value is used as a new grouping to demodulate and decode; when a retransmission packet of a packet with a correct decoding result CRC occurs, indicating that the CRC correct packet with the decoding result is retransmitted due to abnormality, taking the retransmitted packet as a new packet to perform demodulation and decoding; and (3) retransmitting the packet for the first demodulation, wherein the RSN of the packet is not 3 and does not exceed the RSN of the packet corresponding to the packet during the last transmission, which indicates that an abnormality occurs at this time, for example, the RSN of the packet for the first demodulation is 2, and the RSN of the packet corresponding to the packet during the last transmission is 2, and since the RSN of the packet should be 3 when an abnormality does not occur, an abnormality occurs at this time, and since the RSN of the packet is still 3 (the RSN flag is only allocated with 2 bits) during the subsequent retransmission of the packet whose RSN is 3 as defined by the existing protocol, the RSN of the packet and the RSN of the packet during the last transmission do not belong to an abnormality.
Preferably, the method further comprises:
and when determining that the current Batch has a Batch without allocated resources before, determining that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, merging the demodulation result of the packet in the current Batch with the demodulation result of the packet in the previous Batch with allocated resources of the current Batch, and decoding by using the merging result.
Preferably, the method further comprises:
storing the result of the first demodulation of the packet with RSN of 0 in Batch1 into a physical Buffer memory (Buffer) A, storing the result of the second demodulation of the packet with RSN of 0 in Batch2 into a physical Buffer B, storing the result of the re-demodulation of the packet with RSN of 0 in Batch3 into the physical Buffer A, establishing a mapping from Buffer2 to the physical Buffer B and a mapping from Buffer1 to the physical Buffer A, and decoding by using the demodulation result in Buffer 2;
storing the first demodulation result of the RSN non-0 packet in the Batch1 into a physical Buffer B, establishing mapping from the Buffer2 to the physical Buffer B and mapping from the Buffer1 to the physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
storing the second demodulation result of the RSN non-0 packet in the Batch2 into a physical Buffer A, establishing mapping from Buffer2 to the physical Buffer A and mapping from Buffer1 to physical Buffer B, and decoding by using the demodulation result of Buffer 2;
and storing the packet re-demodulation result of which RSN is not 0 in Batch3 into a physical Buffer B, and establishing a mapping from Buffer2 to the physical Buffer B and a mapping from Buffer1 to the physical Buffer A.
The embodiment of the invention also provides a hybrid automatic repeat request (HARQ) merging and decoding device, which is used for:
performing first demodulation decoding on a packet with RSN 0 first sent by UE in Batch1, reconstructing a packet with correct CRC of a decoding result, and offsetting the reconstructed packet with the received packet; performing second demodulation and decoding on the cancelled packet in the Batch2, reconstructing a packet with correct CRC of a decoding result, canceling the reconstructed packet in the Batch2 by the original packet subjected to demodulation and decoding in the Batch2, and enabling the UE corresponding to the CRC error packet of the sending decoding result to retransmit the packet;
re-demodulating the packet after the Batch2 cancellation in Batch 3;
demodulating the retransmission packet with RSN of 1 for the first time in Batch1, combining the demodulation result with the demodulation result of Batch3, decoding by using the combined result, reconstructing the packet with correct decoding result CRC, and offsetting the reconstructed packet by the original retransmission packet with RSN of 1 demodulated in Batch 1;
performing second demodulation on the retransmission packet of which the RSN is 1 after the cancellation in the Batch1 in the Batch2, combining the demodulation result with the demodulation result of the packet of which the RSN is 1 after the cancellation in the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet of which the RSN is 1 after the demodulation in the Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to transmit the retransmission packet;
re-demodulating the packet with RSN 1 after the cancellation of the Batch2 in the Batch 3; and ending the current processing until the CRC of the decoding results of all the groups is correct or the retransmission times of the groups reach a preset maximum value.
Preferably, the apparatus is further configured to determine that there is a Batch with unallocated resources before the current Batch, and when it is determined that the packet demodulated in the current Batch is a new packet and the current Batch is not Batch3, decode the packet using the demodulation result of the packet demodulated in the current Batch.
Preferably, the apparatus is further configured to determine that the packet demodulated in the current Batch is a new packet, where the new packet is any one of the following packets:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet subjected to the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
Preferably, the apparatus is further configured to determine that there is a Batch to which a resource is not allocated before the current Batch, and when it is determined that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, merge the demodulation result of the packet in the current Batch with the demodulation result of the packet in the previous Batch to which the resource is allocated of the current Batch, and perform decoding using the merged result.
Preferably, the apparatus is further configured to: storing a result of first demodulation of a packet with RSN of 0 in Batch1 into a physical Buffer memory Buffer A, storing a result of second demodulation of a packet with RSN of 0 in Batch2 into a physical Buffer B, storing a result of re-demodulation of a packet with RSN of 0 in Batch3 into the physical Buffer A, establishing mapping from Buffer2 to physical Buffer B, mapping from Buffer1 to physical Buffer A, and decoding by using a demodulation result in Buffer 2;
storing the first demodulation result of the RSN non-0 packet in the Batch1 to a physical Buffer B, establishing mapping from the Buffer2 to the physical Buffer B and mapping from the Buffer1 to the physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
storing the second demodulation result of the RSN non-0 packet in the Batch2 into a physical Buffer A, establishing mapping from Buffer2 to the physical Buffer A and mapping from Buffer1 to physical Buffer B, and decoding by using the demodulation result of Buffer 2;
and storing the re-demodulation result of the RSN non-0 packet in the Batch3 into a physical Buffer B, and establishing a mapping from the Buffer2 to the physical Buffer B and a mapping from the Buffer1 to the physical Buffer A.
Fig. 2 is a schematic diagram of a structure of an HARQ combining and decoding apparatus according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes: a first merging decoding unit 21, a second merging decoding unit 22, and a third merging unit 23; wherein,
the first combining and decoding unit 21 is configured to perform, in Batch1, first demodulation and decoding on a packet whose RSN is 0 and which is first sent by the UE, reconstruct a packet whose CRC of the decoding result is correct, and cancel the reconstructed packet out of the received packet; performing first demodulation on the retransmission packet with the RSN of 1 in the Batch1, combining a demodulation result with a demodulation result of the Batch3, decoding by using the combined result, reconstructing a packet with a correct decoding result CRC, and offsetting the reconstructed packet by using the original retransmission packet with the RSN of 1 demodulated in the Batch 1;
the second merging and decoding unit 22 is configured to perform second demodulation and decoding on the cancelled packet in Batch2, reconstruct a packet with a correct CRC of the decoding result, cancel the reconstructed packet in Batch2 with the original packet subjected to demodulation and decoding in Batch2, and make the UE corresponding to the packet with the CRC error of the decoding result retransmit the packet; performing second demodulation on the retransmission packet of which the RSN is 1 after the cancellation in the Batch1 in the Batch2, combining the demodulation result with the demodulation result of the packet of which the RSN is 1 after the cancellation in the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet of which the RSN is 1 after the demodulation in the Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to transmit the retransmission packet;
the third combining unit 23 is configured to re-demodulate, in the Batch3, the packet cancelled in the Batch 2; in Batch3, the RSN 1 packet after the Batch2 is cancelled is re-demodulated; and ending the current processing until the CRC of the decoding results of all the groups of the first combined decoding unit and the second combined decoding unit is correct or the retransmission times of the groups reach a preset maximum value.
Preferably, the first combining and decoding unit 21 and the second combining and decoding unit 22 are further configured to determine that there is a Batch to which a resource is not allocated before the current Batch, and when it is determined that the packet demodulated in the current Batch is a new packet and the current Batch is not Batch3, decode the packet using a demodulation result of the packet demodulated in the current Batch.
Preferably, the first merging and decoding unit 21 and the second merging and decoding unit 22 are further configured to determine that any one of the following packets is a new packet:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet for the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
Preferably, the first combining and decoding unit 21 and the second combining and decoding unit 22 are further configured to determine that there is a Batch to which a resource is not allocated before the current Batch, and when it is determined that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, combine the demodulation result of the packet in the current Batch with the demodulation result of the packet in the previous Batch to which the resource is allocated of the current Batch, and decode the packet using the combined result.
Preferably, the first combining and decoding unit 21 is further configured to store a result of first demodulation of a packet with RSN of 0 in Batch1 into Buffer a, and perform decoding using a demodulation result in Buffer 2; storing the first demodulation result of the packet with the Batch 1RSN being not 0 into a physical Buffer B, and decoding by using the demodulation result in the Buffer 2;
the second merging and decoding unit 22 is further configured to store a result of second demodulation of the packet with RSN of 0 in Batch2 to the physical Buffer B, and perform decoding by using a demodulation result in the Buffer 2; storing the second demodulation result of the RSN non-0 packet in the Batch2 into a physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
the third merging unit 23 is further configured to store a packet re-demodulation result with RSN of 0 in Batch3 to a physical Buffer a;
the device further comprises: a mapping unit 24, configured to establish a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer a when the first decoding and combining unit 21 stores the result of the first demodulation of the packet whose RSN is 0 in Batch1 to physical Buffer a, the second decoding and combining unit 22 stores the result of the second demodulation of the packet whose RSN is 0 in Batch2 to physical Buffer B, and the third combining unit 23 stores the result of the re-demodulation of the packet whose RSN is 0 in Batch3 to physical Buffer a; when the first merging/decoding unit 21 stores the first demodulation result of the packet with RSN not 0 in Batch1 to physical Buffer B, a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer a are established; when the second merging/decoding unit 22 stores the result of the second demodulation of the packet with RSN not 0 in Batch2 to physical Buffer a, a mapping from Buffer2 to physical Buffer a and a mapping from Buffer1 to physical Buffer B are established; when the third combining unit 23 stores the packet re-demodulation result of RSN not 0 in Batch3 to physical Buffer B, a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer a are established.
Example one
The following identifiers are maintained for the packets in Batch, and in this embodiment, the identifiers are binary:
1) the order in which the packets are demodulated identifies Demodnum: when Demodnum is 1, the packet may be demodulated for the first time (1st demod), for example, the Batch1 in cases 1 to 4 in table 1 allocates resources, or the packet may be re-demodulated (Redemod), for example, in Case 7 in table 1, at this time, the Batch1 and Batch2 do not allocate resources, and the Batch3 allocates resources, so that only re-demodulation is performed; demodnum of 10 may demodulate the packet a second time (2nd demod), e.g., cases 1, 2 in table 1, where both Batch1 and Batch2 allocate resources, or may re-demodulate the packet, e.g., cases 3, 5 in table 1; demodnum, 11, identifies a re-demodulation of the packet, as in Case1 of table 1, where Batch1 to Batch3 allocate resources and therefore re-demodulate to the third demodulation in the demodulation order.
Scene (Case) Batch 1 Batch 2 Batch 3
Case 1 1st demod 2nd demod Redemod
Case 2 1st demod 2nd demod Unallocated resource
Case 3 1st demod Unallocated resource Redemod
Case 4 1st demod Unallocated resource Unallocated resource
Case 5 Unallocated resource 1st Demod Redemod
Case 6 Unallocated resource 1st Demod Unallocated resource
Case 7 Unallocated resource Unallocated resource Redemod
TABLE 1
The harq num of the packet is 0 when the packet is a new packet, and the harq num of the packet is added with 1 each time a retransmission packet of the packet is received, and accordingly, the packet is demodulated or re-demodulated for the first time each time the retransmission packet of the packet is received, that is, the harq num of the packet is added with 1 when the Demodnum of the packet is 1.
2) RSNCur and RSNReg: RSNCur stores the RSN of the current packet, and if the current packet is not demodulated for the first time, the RSN of the packet corresponding to the current packet during last transmission is stored by using RSNReg; updating RSNCur and RSNReg respectively when the packet is demodulated;
3) CombReg 2: identifying that the demodulation result of the retransmission packet corresponding to the packet in the current Batch needs to be combined, if the packet is demodulated for the first time or the second time in the current Batch, combining the demodulation result of the retransmission packet of the packet with the demodulation result of the packet in the Batch which is allocated with resources before, setting the corresponding parameter to be 1, setting the parameter to be 0 when the packet in the current Batch is a new packet, and not needing to be combined, wherein the new packet is any one of the following packets:
a) retransmission packets of the packets with the HARQ Num reaching a preset maximum value;
b) RSNCur 0;
c) a retransmission packet of a packet whose decoding result CRC is correct (OK);
d) a retransmission packet for which the first demodulation (Demodnum is 1) is performed, RSNCur of the retransmission packet is not 3 and does not exceed RSNReg, and the condition that the retransmission packet is a new packet is represented by boolean expression:
RSNCur<=RSNReg&&RSNCur~=3&&Demodnum==1;
4) CombReg 1: when CombReg1 is 1, the demodulation result of the packet in the current Batch needs to be combined with the demodulation result of the packet in the previous Batch for allocating resources, when CombReg1 is 0, the identification is not needed, when the packet in the current Batch is not a new packet and Demodnum of the packet is 1, the value of CombReg2 of the packet is given to CombReg 1;
5) HARQNum: identifying the retransmission times of the packet in the Batch, adding 1 to the parameter when Demodnum of the packet in the Batch is 1, and setting 0 to the parameter when the packet in the Batch is a new packet;
6) buffer switch 1: identifying a physical Buffer storing a current Batch packet demodulation result, where fig. 3 is a mapping schematic diagram of the physical Buffer in an embodiment of the present invention, and as shown in fig. 3, when Buffer switch1 is 0, Buffer a is mapped to Buffer1, and Buffer B is mapped to Buffer 2; when the Buffer switch1 is 1, the Buffer A is mapped to the Buffer2, and the Buffer B is mapped to the Buffer 1; when the packet in the current Batch is a new packet, setting the parameter to be 0, and when the demodulation result of the packet in the current Batch needs to be merged (namely the CombReg1 of the packet in the current Batch is 1) and Demodnum is 1, assigning the updated value of the BufferSwitch2 to the BufferSwitch 1;
7) buffer switch 2: identifying a physical Buffer for storing retransmission packets grouped with the current Batch, and setting Buffer switch2 to be 1 if the grouping in the current Batch is a new grouping and demonum is 1; if the demodulation results of the current packet need to be combined and Demodnum is 1, negating the current value of the buffer switch 2;
as shown in fig. 4a, when a packet with RSN of 0 is demodulated for the first time (1st demod), a diversity reception technique of Maximum Ratio Combining (MRC) may be used to receive the packet, store the demodulation result of the packet in Buffer2 in Batch1, decode the packet using the demodulation result in Buffer2, reconstruct a packet with correct CRC of the decoding result, and cancel the reconstructed packet with the received packet;
demodulating the cancelled packet for the second time (2nd demod) in the Batch2, storing a demodulation result into the Buffer2, decoding by using the demodulation result in the Buffer2, reconstructing a packet with correct CRC of the decoding result, cancelling the reconstructed packet in the Batch2 by using the original packet demodulated and decoded in the Batch2, and retransmitting the packet by using the UE corresponding to the CRC error packet of the sending decoding result;
re-demodulating the packet cancelled in Batch2 in Batch3, and storing the demodulation result in Buffer 1;
performing first demodulation on the retransmission packet with the RSN of 1 in Batch1, combining a demodulation result and a demodulation result of Buffer1, storing the combined demodulation result and the demodulation result of Buffer1 into Buffer2, decoding by using the demodulation result in Buffer2, reconstructing a packet with correct CRC of the decoding result, and offsetting the reconstructed packet by the retransmission packet with the RSN of 1;
carrying out second demodulation on the retransmission packet with the RSN of 1 in Batch2, combining the demodulation result with the demodulation result of Buffer1 and storing the combined result into Buffer2, decoding by using the demodulation result in Buffer2, reconstructing a packet with correct CRC of the decoding result, and offsetting the reconstructed packet by the retransmission packet with the RSN of 1;
re-demodulating the packet cancelled in Batch2 in Batch3, and storing the demodulation result in Buffer 1; and ending the current processing until the decoding results of all the groups reach CRC OK or the group retransmission times reach a preset maximum value.
Wherein, Buffer1 and Buffer2 are mappings to physical Buffer1 and physical Buffer2, and according to the above identifier, whether to combine demodulation results can be determined, and the implementation that the demodulation results are always read from Buffer2 for decoding is realized, and an implementation flow diagram for performing combining decoding by using a packet identifier in an embodiment of the present invention is shown in fig. 4b, and includes:
step 401-402: demodulating the packet in the current Batch, and judging whether the packet in the current Batch is a new packet, if so, turning to step 403, otherwise, turning to step 410;
step 403: whether the Demonum of the packet in the current Batch is 1 or not is judged, if yes, the step is carried out, and if not, the step is carried out, and the step is carried out, namely, the step 405 is carried out;
step 404: setting the buffer switch1 grouped in the current Batch to be 0, and setting the buffer switch2 to be 1;
step 405: keeping the values of the BufferSwitich1 and BufferSwitch2 grouped in the current Batch unchanged;
step 406: storing the demodulation result of the packet in the current Batch into Buffer 2;
step 407: if the current Batch is Batch3, then go to step 408: otherwise, turning to the step 409, and not decoding;
step 408: decoding by using the demodulation result in the Buffer 2;
step 410: judging whether the packet Demonum in the current Batch is 1, if so, turning to a step 411, otherwise, turning to a step 412;
step 411: negating the value of the BufferSwitch2 grouped in the current Batch and assigning it to BufferSwitich 1;
step 412: keeping the values of the BufferSwitich1 and BufferSwitch2 grouped in the current Batch unchanged;
step 413: combining the Buffer1 demodulation result and the demodulation result grouped in the current Batch and storing the combined result into a Buffer 2;
step 414: if the current Batch is Batch3, go to step 415: otherwise, go to step 416, not decode;
step 415: and decoding by using the demodulation result in the Buffer 2.
Example two
In another embodiment of the present invention, a specific processing flow for performing merging decoding is described for the scenes shown in cases 1 to 7 in table 1 according to the technical solution of the embodiment of the present invention:
1)Case 1
if the current packet is a new packet, i.e., no merging is required, CombReg1 is 0, BufferSwitch1 is 0, and BufferSwitch2 is 1; when 1st demod is carried out, the demodulation result of the grouping is stored into a Buffer2, and the decoding is carried out by using the demodulation result in a Buffer 2; when 2nd demod is carried out, the Buffer switch1 is 0, the Buffer switch2 is 1, the demodulation result is stored in the Buffer2, and the decoding is carried out by using the result in the Buffer 2; when Redemod is carried out, the Buffer switch1 is 0, the Buffer switch2 is 1, the demodulation result is stored in the Buffer2, and decoding is not carried out;
if the current packet is not a new packet, the demodulation results of the packets need to be combined, and the corresponding CombReg1 is 1; when 1st demod is carried out, if the initial value of the BufferSwitch2 is 0, the initial value of 0 is given to the BufferSwitch1, and the BufferSwitch2 is inverted to 1; if the buffer switch2 initial value is 1, then the initial value of 1 is given to the buffer switch1, and the buffer switch2 value is inverted to 0; combining the demodulation result of the Buffer1 and the current demodulation result, storing the result into a Buffer2, and decoding by using the demodulation result in the Buffer 2; when performing 2nd demod, keeping the values of the Buffer switch1 and the Buffer switch2 unchanged, combining the demodulation result of the Buffer1 and the current demodulation result, storing the combined result into the Buffer2, and decoding by using the demodulation result in the Buffer 2; when Redemod is carried out, if Demodnum is 1 and the buffer switch2 initial value is 0, the initial value 0 is given to the buffer switch1, and the value of the buffer switch2 is inverted to 1; if the initial value of the initial buffer switch2 is 1, the initial value is given to the buffer switch1, and the value of the buffer switch2 is inverted to 0; if Demodnum is not 1, keeping the values of Buffer switch1 and Buffer switch2 unchanged, combining the demodulation result in Buffer1 and the demodulation result grouped in the current Batch, and storing the combined result in Buffer2 without decoding;
2)Case 2
if the current packet is a new packet, CombReg1 is 0, BufferSwitch1 is 0, and BufferSwitch2 is 1; when 1st demod is carried out, the demodulation result is stored into Buffer2, and the demodulation result in the Buffer2 is used for decoding; when 2nddemod is carried out, the demodulation result is stored in Buffer2, and the demodulation result in the Buffer2 is used for decoding;
if the current packet is not a new packet, the CombReg1 is 1, and when 1st demod is carried out, if the initial value of the BufferSwitch2 is 0, the initial value is given to the BufferSwitch1, and the initial value 0 of the BufferSwitch2 is inverted to 1; if the buffer switch2 initial value is 1, the buffer switch1 is 1 (the buffer switch2 initial value is assigned to the buffer switch1), and the buffer switch2 is 0 (the buffer switch2 initial value 1 is inverted to 0). Combining the demodulation result in the Buffer1 with the demodulation result of the current packet, storing the combined result in the Buffer2, and decoding by using the demodulation result in the Buffer 2; when performing 2nd demod, keeping the values of the Buffer switch1 and the Buffer switch2 unchanged, combining the demodulation result in the Buffer1 and the demodulation result of the current packet, storing the combined result into the Buffer2, and decoding by using the demodulation result in the Buffer 2;
3)Case 3
if the current packet is a new packet, the CombReg1 is 0, the BufferSwitch1 is 0, and the BufferSwitch2 is 1, when 1st demod is carried out, the demodulation result is stored into the Buffer2, and the decoding is carried out by using the demodulation result in the Buffer 2; when Redemod is carried out, if the BufferSwitch1 is 0 and the BufferSwitch2 is 1, the demodulation result is stored in the Buffer2 without decoding;
CombReg1 is 1 if the current packet is an old packet; when performing 1st demod, if the initial value of the BufferSwitch2 is 0, the BufferSwitch1 is 0 (the initial value 0 of the BufferSwitch2 is assigned to the BufferSwitch1), and the BufferSwitch2 is 1 (the initial value 0 of the BufferSwitch2 is negated to 1); if the initial value of the Buffer switch2 is 1, the Buffer switch1 is 1, the Buffer switch2 is 0, the demodulation result in the Buffer1 is read, the demodulation result and the current packet demodulation result are merged and stored in the Buffer2, and the demodulation result in the Buffer2 is used for decoding; when Redemod is performed, if Demodnum is 1 and the buffer switch2 initial value is 0, then buffer switch1 is 0(buffer switch2 initial value 0 is assigned to buffer switch1), and buffer switch2 is 1 (the inverse of buffer switch2 initial value 0 is 1); if Demodnum is 1 and the buffer switch2 initial value is 1, then buffer switch1 is 1 and buffer switch2 is 0; if Demodnum is not 1, keeping the values of Buffer switch1 and Buffer switch2 unchanged, combining the demodulation result in Buffer1 and the current packet demodulation result, and storing the combined result into Buffer2 without decoding;
4)Case 4
CombReg1 is 0 if the current packet is a new packet; when 1st demod is carried out, the Buffer switch1 is 0, the Buffer switch2 is 1, the demodulation result is stored in the Buffer2, and the demodulation in the Buffer2 is used for decoding;
if the current packet is not a new packet, CombReg1 is 1; when performing 1st demod, if the buffer switch2 initial value is 0, the buffer switch1 is 0 (the buffer switch2 initial value 0 is assigned to the buffer switch1), and the buffer switch2 is 1; if the initial value of the Buffer switch2 is 1, the Buffer switch1 is 1 (the initial value 1 of the Buffer switch2 is assigned to the Buffer switch1), the Buffer switch2 is 0 (the initial value 1 of the Buffer switch2 is inverted to 0), the demodulation result in the Buffer1 and the demodulation result of the current packet are merged and then stored in the Buffer2, and the demodulation result in the Buffer2 is used for decoding;
5)Case 5
if the current packet is a new packet, CombReg1 is 0, BufferSwitch1 is 0, and BufferSwitch2 is 1; when 1st demod is carried out, the demodulation result is stored into Buffer2, and decoding is carried out by using the demodulation result in the Buffer 2; when Redemod is carried out, if the BufferSwitch1 is 0 and the BufferSwitch2 is 1, the demodulation result is stored in the Buffer2 without decoding;
CombReg1 is 1 if the current packet is not a new packet; when performing 1st demod, if the buffer switch2 initial value is 0, the buffer switch1 is 0 (the buffer switch2 initial value 0 is assigned to the buffer switch1), and the buffer switch2 is 1 (the buffer switch2 initial value 0 is negated to 1); if the initial value of the Buffer switch2 is 1, the Buffer switch1 is 1, the Buffer switch2 is 0, the demodulation result in the Buffer1 and the demodulation result of the current packet are merged and stored in the Buffer2, and the demodulation result in the Buffer2 is used for decoding; when Redemod is performed, if Demodnum is 1 and the buffer switch2 initial value is 0, then buffer switch1 is 0(buffer switch2 initial value 0 is assigned to buffer switch1), and buffer switch2 is 1 (the inverse of buffer switch2 initial value 0 is 1); if Demodnum is 1 and the buffer switch2 initial value is 1, then buffer switch1 is 1 and buffer switch2 is 0; if Demodnum is not 1, keeping the values of BufferSwitch1 and BufferSwitch2 unchanged, combining the demodulation result in the Buffer1 and the current packet demodulation result, storing the combined result in the Buffer2, and not decoding;
6)Case 6
if the current packet is a new packet, CombReg1 is 0; when 1st demod is carried out, the Buffer switch1 is 0, the Buffer switch2 is 1, the demodulation result of the current packet is stored into the Buffer2, and decoding is carried out by using the demodulation result in the Buffer 2;
if the current packet is not a new packet, CombReg1 is 1; when performing 1st demod, if the buffer switch2 initial value is 0, the buffer switch1 is 0 (the buffer switch2 initial value 0 is assigned to the buffer switch1), and the buffer switch2 is 1; if the initial value of the Buffer switch2 is 1, the Buffer switch1 is 1 (the initial value 1 of the Buffer switch2 is assigned to the Buffer switch1), the Buffer switch2 is 0 (the initial value 1 of the Buffer switch2 is inverted to 0), the demodulation result of the Buffer1 is read, the current demodulation result is merged with the demodulation result, the merged result is stored in the Buffer2, and the demodulation result in the Buffer2 is used for decoding;
7)Case 7
CombReg1 is 0 if the current packet is a new packet; when Redemod is performed, the Buffer switch1 is 0, the Buffer switch2 is 1, the demodulation result of the current packet is stored in the Buffer2, and decoding is not performed;
CombReg1 is 1 if the current packet is an old packet; when Redemod is carried out, if Demodnum is 1 and the initial value of BufferSwitch2 is 0, then BufferSwitch1 is 0 and BufferSwitch2 is 1; if Demodnum is 1 and the buffer switch2 initial value is 1, then buffer switch1 is 1 and buffer switch2 is 0; if Demodnum is not 1, keeping the values of BufferSwitch1 and BufferSwitch2 unchanged; and combining the demodulation result in the Buffer1 with the demodulation result of the current packet and storing the result in the Buffer2 without decoding.
EXAMPLE III
The HARQ combining and decoding method in the embodiment of the present invention is also applicable to a scenario of hardware exception causing packet loss, and the following describes processing for performing HARQ combining and decoding in different exception scenarios:
1) case1, as shown in fig. 5 a:
when a packet (marked by vertical line hatching) with the RSN of 0 is lost due to an abnormality during transmission, a retransmitted packet (marked by diagonal line hatching) with the RSN of 1 is taken as a new packet, and is merged and decoded, correspondingly, CombReg1 is 0, CombReg2 is 0, and HarqNum is 0, and since the packet is demodulated in a Batch (i.e., Batch 1) with a Batch serial number (Batch) of 1, processing is performed according to the above-mentioned mark and other marks maintained for the packet in the first embodiment according to a scene corresponding to the second embodiment;
2) case 2, as shown in fig. 5 b:
a packet (marked by hatching with vertical lines) with the RSN of 1 is lost, and a packet (marked by hatching with diagonal lines) with the RSN of 0 is processed according to the corresponding scene in the second embodiment; taking the packet with RSN of 2 as the packet of the first retransmission corresponding to the packet with RSN of 0, that is, HarqNum is 1, and correspondingly, CombReg1 is 1 and CombReg2 is 1, and according to the above identifier and other identifiers maintained for the packet in the first embodiment, processing is performed according to the corresponding scenario in the second embodiment; .
3) Case3, as shown in fig. 5 c:
after retransmitting the packet with RSN of 1, retransmitting the packet with RSN of 1 again, if the retransmission packet (marked by hatching of hatching) is lost, it indicates that the packet is lost due to an abnormality occurring when retransmitting the packet with RSN of 1 for the first time, and the packet before the packet with RSN of 1 (marked by hatching of vertical lines) is processed according to the corresponding scenario in the second embodiment; for a packet with RSN 1 (marked with vertical hatching) retransmitted again subsequently, since the identification of the packet satisfies: RSNCur [ & & RSNCur & & & Demodnum & & 3 ], then treat the packet as a new packet, so the CombReg1 of the packet is 0, CombReg2 is 0, and HarqNum is 0, and according to the above-mentioned identifier and other identifiers maintained for the packet in the first embodiment, the processing is performed according to the corresponding scene in the second embodiment;
4) case 4, as shown in fig. 5 d:
the decoding result CRC OK of the packet whose RSN is 0, the packet is retransmitted subsequently (marked by hatching of vertical lines), which indicates that an exception occurs, the packet whose RSN is 0 is processed according to the scenario corresponding to the second embodiment, and since the packet whose RSN is 1 is a retransmission packet of the packet whose CRCOK, the packet is regarded as a new packet, and accordingly, CombReg1 of the packet is 0, CombReg2 is 0, and HarqNum is 0, and the packet is processed according to the scenario corresponding to the second embodiment based on the above-mentioned flag and other flags maintained for the packet in the first embodiment; for the packet with RSN of 2, because the packet with RSN of 1 has no CRC result, the result of CRC OK of the previous packet with RSN of 0 is defaulted as the CRC result of the packet with RSN of 1, and the packet with RSN of 2 is still the retransmission packet of the packet with CRCOK, so that the packet is regarded as a new packet, and accordingly, CombReg1 of the packet with RSN of 2 is 0, CombReg2 is 0, and HarqNum is 0, and the processing is performed according to the above identifier and other identifiers maintained for the packet in embodiment one according to the corresponding scenario in embodiment two;
5) case 5, as shown in fig. 5 e:
when performing first demodulation on a packet with RSN of 0 and a packet with RSN of 1, processing according to the corresponding scenario in embodiment two; when a packet (marked by vertical line hatching) with RSN of 1 and for re-solution is processed, because the retransmission number of the previous packet reaches the maximum value, the packet retransmitted subsequently is regarded as a new packet, and accordingly, CombReg1 of the packet is 0, CombReg2 is 0, and HarqNum is 0, and the processing is performed according to the above-mentioned mark and other marks maintained for the packet in the first embodiment according to the corresponding scenario in the second embodiment; for a packet with RSN of 2, since the packet does not satisfy the new packet condition described in the embodiment, the CombReg1 of the packet is 1, the CombReg2 is 1, and the Demodnum of the packet is 1, then HarqNum needs to add 1 to the original value, that is, HarqNum is 1, and according to the above identifier and other identifiers maintained for the packet in the embodiment one, the processing is performed according to the corresponding scenario in the embodiment two;
6) case 6, as shown in fig. 5 f:
when the packets with RSN of 0 and RSN of 1 are demodulated for the first time, processing is performed according to the corresponding scenario in the second embodiment; when a packet with RSN of 1 (marked by hatching in vertical lines) is re-demodulated, since the number of retransmissions of a packet with RSN of 1 before the packet reaches the maximum value, CombReg1, CombReg2, and HarqNum of the packet with RSN of 1 (marked by hatching in vertical lines) are 0, and are processed according to the above-mentioned mark and other marks maintained for the packet in the first embodiment according to the corresponding scenario in the second embodiment; the packet with RSN of 2 is still the retransmission packet of the packet whose retransmission number of times reaches the maximum value, i.e. the bit new packet, so CombReg1 of the packet is 0, CombReg2 is 0, and HarqNum is 0, and according to the above-mentioned identifier and other identifiers maintained for the packet in embodiment one, the processing is performed according to the corresponding scenario in embodiment two;
7) case 7, as shown in fig. 5 g:
in this scenario, if the preset maximum retransmission number is 2, a hardware exception causes a packet with RSN of 3 to be transmitted (marked by vertical hatching), the packet is a retransmission packet of the packet with the maximum retransmission number, and the collision is regarded as a new packet, the harq num of the packet increases, but since the packet is processed in Batch3, decoding is not performed using a demodulation result, the CombReg2 of the corresponding packet is still 1, the CombReg1 is 1, and the CombReg2 is 1, and processing is performed according to the above-mentioned flag and other flags maintained for the packet in embodiment one according to the corresponding scenario in embodiment two.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (8)

1. A hybrid automatic repeat request (HARQ) merging decoding method is characterized by comprising the following steps:
in Batch processing Batch1, a packet with a retransmission serial number RSN of 0, which is sent by a user terminal UE for the first time, is demodulated and decoded for the first time, a packet with correct Cyclic Redundancy Check (CRC) of a decoding result is reconstructed, and the received packet is offset from the reconstructed packet;
performing second demodulation and decoding on the cancelled packet in the Batch2, reconstructing a packet with correct CRC of a decoding result, canceling the reconstructed packet in the Batch2 by using the original packet subjected to demodulation and decoding in the Batch2, and enabling the UE corresponding to the packet with the wrong CRC of the decoding result to retransmit the packet;
re-demodulating the packet after the Batch2 cancellation in Batch 3;
demodulating the retransmission packet with RSN of 1 for the first time in Batch1, combining the demodulation result with the demodulation result of Batch3, decoding by using the combined result, reconstructing the packet with correct decoding result CRC, and offsetting the reconstructed packet by the original retransmission packet with RSN of 1 demodulated in Batch 1;
performing second demodulation on the retransmission packet of which RSN is 1 after the cancellation of the Batch1 in the Batch2, combining the demodulation result with the demodulation result of the packet of which RSN is 1 after the cancellation of the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet of which RSN is 1 after the demodulation in the Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to retransmit the packet;
re-demodulating the packet with RSN 1 after the cancellation of the Batch2 in the Batch 3; and ending the current processing until the CRC of the decoding results of all the groups is correct or the retransmission times of the groups reach a preset maximum value.
2. The method of claim 1, further comprising:
determining that a Batch without allocated resources exists before the current Batch, and when the demodulated packet in the current Batch is determined to be a new packet and the current Batch is not Batch3, decoding by using the demodulation result of the packet in the current Batch; wherein,
the determining that the packet demodulated in the current Batch is a new packet includes: determining any one of the following groups in the current Batch as a new group:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet subjected to the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
3. The method of claim 2, further comprising:
and when determining that the Batch without the allocated resource exists before the current Batch, and determining that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, combining the demodulation result of the packet in the current Batch with the demodulation result of the packet in the Batch with the resource allocated before the current Batch, and decoding by using the combined result.
4. A method according to claim 1, 2 or 3, characterized in that the method further comprises:
storing the result of the first demodulation of the packet with RSN of 0 in Batch1 into a physical Buffer memory Buffer A, storing the result of the second demodulation of the packet with RSN of 0 in Batch2 into a physical Buffer B, storing the result of the re-demodulation of the packet with RSN of 0 in Batch3 into the physical Buffer A, establishing the mapping from Buffer2 to physical Buffer B and the mapping from Buffer1 to physical Buffer A, and decoding by using the demodulation result in Buffer 2;
storing the first demodulation result of the RSN non-0 packet in the Batch1 into a physical Buffer B, establishing mapping from a Buffer2 to the physical Buffer B and mapping from a Buffer1 to a physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
storing the result of the second demodulation of the RSN non-0 packet in the Batch2 into a physical Buffer A, establishing mapping from the Buffer2 to the physical Buffer A and mapping from the Buffer1 to the physical Buffer B, and decoding by using the demodulation result in the Buffer 2;
and storing the re-demodulation result of the RSN non-0 packet in the Batch3 into a physical Buffer B, and establishing a mapping from the Buffer2 to the physical Buffer B and a mapping from the Buffer1 to the physical Buffer A.
5. An HARQ combining and decoding apparatus, the apparatus comprising: a first merging decoding unit, a second merging decoding unit and a third merging unit; wherein,
the first merging and decoding unit is configured to perform first demodulation and decoding on a packet with RSN of 0 first sent by the UE in Batch1, reconstruct a packet with correct CRC of a decoding result, and cancel the reconstructed packet with the received packet; performing first demodulation on the retransmission packet with the RSN of 1 in the Batch1, combining a demodulation result with a demodulation result in the Batch3, decoding by using the combined result, reconstructing a packet with a correct decoding result CRC, and offsetting the reconstructed packet by using the original retransmission packet with the RSN of 1 demodulated in the Batch 1;
the second merging and decoding unit is configured to perform second demodulation and decoding on the cancelled packet in Batch2, reconstruct a packet with correct CRC of the decoding result, cancel the reconstructed packet in Batch2 with the original packet subjected to demodulation and decoding in Batch2, and retransmit the packet by the UE corresponding to the packet with the CRC error of the decoding result; performing second demodulation on the retransmission packet of which RSN is 1 after the cancellation of the Batch1 in the Batch2, combining the demodulation result with the demodulation result of the packet of which RSN is 1 after the cancellation of the Batch1, decoding by using the combination result, reconstructing a packet with a correct decoding result CRC, canceling the reconstructed packet of which RSN is 1 after the demodulation in the Batch2, and enabling the UE corresponding to the packet with the wrong decoding result CRC to retransmit the packet;
the third combining unit is configured to re-demodulate the packet cancelled by Batch2 in Batch 3; re-demodulating the packet with RSN 1 after the cancellation of the Batch2 in the Batch 3; and ending the current processing until the CRC of the decoding results of all the groups of the first combined decoding unit and the second combined decoding unit is correct or the retransmission times of the groups reach a preset maximum value.
6. The apparatus of claim 5,
the first merging decoding unit and the second merging decoding unit are further configured to determine that a Batch without allocated resources exists before the current Batch, and decode the packet by using a demodulation result of the packet in the current Batch when the packet demodulated in the current Batch is determined to be a new packet and the current Batch is not the Batch 3;
the first merging decoding unit and the second merging decoding unit are further configured to determine that any one of the following packets in the current Batch is a new packet:
retransmission grouping of the grouping the retransmission times of which reach a preset maximum value;
a packet with RSN 0;
retransmission grouping of grouping with correct decoding result CRC;
and retransmitting the packet subjected to the first demodulation, wherein the RSN of the packet is not 3 and is not more than the RSN of the packet corresponding to the packet at the last transmission.
7. The apparatus of claim 6,
the first merging decoding unit and the second merging decoding unit are further configured to determine that a Batch without resources exists before the current Batch, and when it is determined that the packet demodulated in the current Batch is not a new packet and the current Batch is not Batch3, merge the demodulation result of the packet in the current Batch with the demodulation result of the packet in the previous Batch with resources allocated before the current Batch, and decode the packet by using the merged result.
8. The apparatus of claim 5, 6 or 7,
the first merging and decoding unit is further configured to store a result of first demodulation of a packet with RSN of 0 in Batch1 to Buffer a, and perform decoding using a demodulation result in Buffer 2; storing the first demodulation result of the RSN non-0 packet in the Batch1 into a physical Buffer B, and decoding by using the demodulation result in the Buffer 2;
the second merging and decoding unit is further configured to store a result of second demodulation of the packet with RSN of 0 in Batch2 to physical Buffer B, and perform decoding using the demodulation result in Buffer 2; storing the second demodulation result of the RSN non-0 packet in the Batch2 into a physical Buffer A, and decoding by using the demodulation result in the Buffer 2;
the third merging unit is further configured to store a packet re-demodulation result with RSN of 0 in Batch3 to physical Buffer a;
the device further comprises: a mapping unit, configured to establish a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer a when the first merging and decoding unit stores a result of first demodulation of a packet whose RSN is 0 in Batch1 to physical Buffer a, the second merging and decoding unit stores a result of second demodulation of a packet whose RSN is 0 in Batch2 to physical Buffer B, and the third merging unit stores a result of re-demodulation of a packet whose RSN is 0 in Batch3 to physical Buffer a; when the first merging decoding unit stores the first demodulation result of the packet with RSN not 0 in Batch1 to physical Buffer B, establishing mapping from Buffer2 to physical Buffer B and mapping from Buffer1 to physical Buffer A; when the second merging and decoding unit stores the result of the second demodulation of the packet with RSN not 0 in Batch2 to physical Buffer A, establishing the mapping from Buffer2 to physical Buffer A and the mapping from Buffer1 to physical Buffer B; when the third merging unit stores the re-demodulation result of the packet with RSN not 0 in Batch3 to physical Buffer B, a mapping from Buffer2 to physical Buffer B and a mapping from Buffer1 to physical Buffer A are established.
CN201310148121.6A 2013-04-25 2013-04-25 Hybrid automatic repeat-request merges interpretation method and device Active CN104125048B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310148121.6A CN104125048B (en) 2013-04-25 2013-04-25 Hybrid automatic repeat-request merges interpretation method and device
PCT/CN2013/090263 WO2014173156A1 (en) 2013-04-25 2013-12-23 Hybrid automatic repeat request (harq) merged decoding method and apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310148121.6A CN104125048B (en) 2013-04-25 2013-04-25 Hybrid automatic repeat-request merges interpretation method and device

Publications (2)

Publication Number Publication Date
CN104125048A CN104125048A (en) 2014-10-29
CN104125048B true CN104125048B (en) 2019-02-01

Family

ID=51770322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310148121.6A Active CN104125048B (en) 2013-04-25 2013-04-25 Hybrid automatic repeat-request merges interpretation method and device

Country Status (2)

Country Link
CN (1) CN104125048B (en)
WO (1) WO2014173156A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10700820B2 (en) * 2017-12-21 2020-06-30 Samsung Electronics Co., Ltd. Modem chips and receivers for performing hybrid automatic repeat request processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519731B1 (en) * 1999-10-22 2003-02-11 Ericsson Inc. Assuring sequence number availability in an adaptive hybrid-ARQ coding system
CN1878050A (en) * 2006-01-18 2006-12-13 华为技术有限公司 High-speed uplink grouping access service reconfiguration method
CN101001133A (en) * 2006-12-15 2007-07-18 重庆重邮信科股份有限公司 HARQ merge decoding method
CN101471758A (en) * 2007-12-28 2009-07-01 三星电子株式会社 Mixing automatic retransmission processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100800684B1 (en) * 2005-03-22 2008-02-01 삼성전자주식회사 Method and Apparatus for Transmission of Packet Data
CN102315919B (en) * 2010-07-01 2016-06-15 中兴通讯股份有限公司 The method and apparatus that a kind of HARQ data merges

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519731B1 (en) * 1999-10-22 2003-02-11 Ericsson Inc. Assuring sequence number availability in an adaptive hybrid-ARQ coding system
CN1878050A (en) * 2006-01-18 2006-12-13 华为技术有限公司 High-speed uplink grouping access service reconfiguration method
CN101001133A (en) * 2006-12-15 2007-07-18 重庆重邮信科股份有限公司 HARQ merge decoding method
CN101471758A (en) * 2007-12-28 2009-07-01 三星电子株式会社 Mixing automatic retransmission processing method

Also Published As

Publication number Publication date
CN104125048A (en) 2014-10-29
WO2014173156A1 (en) 2014-10-30

Similar Documents

Publication Publication Date Title
CN110521148B (en) Enhancements to retransmissions due to conflicting transmissions of different services
CN110268656B (en) Method, device and system
US10411840B2 (en) Methods for enhanced HARQ mechanism
ES2950471T3 (en) HARQ method, apparatus, and feedback system
KR102545624B1 (en) Control channel signaling using a common signaling field for transport format and redundancy version
EP3520277B1 (en) Wireless telecommunications apparatus and methods
CN110870365A (en) Communication apparatus and communication method
CN109964521B (en) Wireless telecommunication device and method
KR20200003020A (en) Base station apparatus, terminal apparatus, wireless communication system, and communication method
CN115242356A (en) Method and apparatus for configuring puncturing bundle of first service data in second service transmission
KR20080079567A (en) Apparatus and method for control message transmission in wireless communication system using relay
CN102026410A (en) Method and system for releasing semi-persistent scheduling (SPS) service resources
EP2007058B1 (en) Method for allocating resources in a mobile radio communication network, and the corresponding transmitter and receiver.
CN105634663A (en) Data transmission processing method and device
CN110637429B (en) Method and apparatus for puncturing bundling of first service data in second service transmission
CN106160960B (en) User equipment, base station and method for supporting multi-user superposition
CN109314590B (en) Uplink transmission method and device
CN109478958B (en) Data transmission method, equipment and system
US10931427B2 (en) Network node, client device and methods thereof
CN104125048B (en) Hybrid automatic repeat-request merges interpretation method and device
CN109547169B (en) Data retransmission request method, request device, site equipment and access point equipment
JP2020502874A5 (en)
CN108809529B (en) Data transmission method, terminal and base station
CN114826521B (en) Control information transmitting method, control information receiving device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221111

Address after: 518055 Zhongxing Industrial Park, Liuxian Avenue, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: SANECHIPS TECHNOLOGY Co.,Ltd.

Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Patentee before: ZTE Corp.

TR01 Transfer of patent right