Abstract:
A method for Hybrid Automatic Repeat Request (HARQ) combination is disclosed. The method includes that: externally configured parameters relevant to HARQ combination are received, and an identifier ddr2switch of DDR2 switching is calculated to acquire addresses involved before and after the HARQ combination; it is determined, according to the parameters and the addresses involved before and after the HARQ combination, whether the HARQ combination is needed to be performed; and when it is determined that the HARQ combination is needed to be performed, data in a DDR2 are read and stored into a first data cache random access memory RAMA; and a HARQ combination calculation is performed, and the calculation result is stored into a second data cache random access memory RAMB. A device for HARQ combination is further disclosed. The technical solutions provided in the disclosure are based on a latest interference cancellation algorithm, greatly increase the success probability of decoding, saves the storage space of a DDR2 and improves the reading/writing efficiency.

Description:
TECHNICAL FIELD 
       [0001]    The disclosure relates to the field of communication, and more particularly to a method and device for Hybrid Automatic Repeat Request (HARQ) combination. 
       BACKGROUND 
       [0002]    In a High Speed Uplink Packet Access (HSUPA) service of a third generation mobile communication system Universal Mobile Telecommunications System (UMTS), an Enhanced Dedicated Channel (E-DCH) symbol-level decoding processing specifically includes a step of de-interleaving, a step of rate de-matching, a step of HARQ combination, a step of Turbo decoding and a step of Cyclic Redundancy Check (CRC) checking, as shown in  FIG. 1  which is a flowchart of E-DCH symbol-level decoding. In  FIG. 1 , the HARQ combination, which is a multi-stop-and-wait parallel retransmission technology combining features of Forward Error Correction (FEC) and Automatic Repeat Request (ARQ), is between the rate de-matching and the Turbo decoding. In a HARQ retransmission mechanism, a User Equipment (UE) sends a data packet, if an NodeB receives the data packet correctly and a CRC checking is correct for the data packet, then a correct decoding indication ACK is returned; otherwise, an error decoding indication NACK is returned. After receiving the NACK, the UE needs to retransmit a corresponding data packet over a physical layer. Information of two or more data packets involved before or after the retransmission is used together in channel decoding, thereby maximizing the success probability of decoding. 
         [0003]    An HSUPA E-DCH achieves a HARQ combination by using incremental redundancy technology. For example, as incremental redundancy information providing information for a soft combination of a physical layer is added into the data packet during retransmission, a final coding rate of the whole transmission is reduced even if a coding rate is extremely high in initial transmission, which can achieve an adequate retransmission system gain without bringing any load burden to the system. That is, both a power gain and a coding gain are brought for the system. 
         [0004]    A HARQ controlled by the NodeB enables error data to be retransmitted quickly, which reduces a time delay caused by the retransmission over a Radio Link Control (RLC) layer and improves the Quality of Service (QoS) feature of time delay. Moreover, a higher Block Error Rate (BLER) is tolerable on a link, that is, the transmitting power of a corresponding terminal is reduced, as a consequence, more UEs may be supported and the system throughput is accordingly increased on the condition of the same system load. 
         [0005]    Even so, existing technologies still have the following technical problems: the existing technologies are unsupportive to a latest interference cancellation algorithm, causing much interference to a UE of high rate, which impacts the performance of HARQ combination; and the existing technologies, which are achieved based on software, are low in data processing efficiency during the transfer process of a large amount of data of Double-Data-Rate Two Synchronous Dynamic Random Access Memory (DDR2) in HARQ combination. 
       SUMMARY 
       [0006]    A technical problem to be solved by the disclosure is to provide a method for HARQ combination to solve problems in HARQ combination in existing technologies, and is further to provide a device for HARQ combination. 
         [0007]    To this end, a method for HARQ combination is provided in an embodiment of the disclosure, which includes: 
         [0008]    externally configured parameters relevant to HARQ combination are received, and an identifier ddr2switch of DDR2 switching is calculated to acquire addresses involved before and after the HARQ combination; 
         [0009]    it is determined, according to the parameters and the addresses involved before and after the HARQ combination, whether the HARQ combination is needed to be performed; and when it is determined that the HARQ combination is needed to be performed, data in a DDR2 are read and stored into a first data cache random access memory RAMA; and 
         [0010]    a HARQ combination calculation is performed, and the calculation result is stored into a second data cache random access memory RAMB. 
         [0011]    Further, in the method, the received externally configured parameters relevant to HARQ combination may include: new_ue indicating whether a packet sent by a User Equipment (UE) is a new packet; e_demodnum indicating current transmission is which demodulation of the same UE; harq_en indicating whether the HARQ combination is needed to be performed; harq_num indicating a times of retransmission for the HARQ combination; harq_addr indicating an address related to the HARQ combination; and two gain factors b1 and b2 for the HARQ combination. 
         [0012]    Further, in the method, the process that the identifier ddr2switch of DDR2 switching is calculated to acquire the addresses involved before and after the HARQ combination may specifically includes: 
         [0013]    the addresses involved before and after the HARQ combination are acquired according to the ddr2switch and harq_addr, wherein the ddr2switch is an identifier indicating whether ping-pong switching is performed on the DDR2, and ddr2swtich1 is an identifier indicating whether next ping-pong switching is performed on the DDR2; 
         [0014]    when a packet sent by the UE is a new packet, the ddr2switch is assigned with 0; 
         [0015]    when the HARQ combination is performed and Demodnum is equal to 01, then the ddr2switch is assigned with a value of the ddr2switch1; and when harq_en is equal to 1 and Demodnum is not equal to 01, the ddr2switch is kept unchanged; and 
         [0016]    when a packet sent by the UE is a new packet, the ddr2switch1 is assigned with 1; when harq_en is equal to 1 and Demodnum is equal to 01, the ddr2switch is inverted; and when harq_en is equal to 1 and Demodnum is not equal to 01, the ddr2switch1 is kept unchanged. 
         [0017]    Further, in the method, the process that it is determined, according to the parameters and the addresses involved before and after the HARQ combination, whether the HARQ combination is needed to be performed; and when it is determined that the HARQ combination is needed to be performed, data in a DDR2 are read and stored into a first data cache RAMA may specifically include: 
         [0018]    it is determined, according to the read harq_en, whether the HARQ combination is needed to be performed; and when harq_en is equal to 1, it is indicated that the HARQ combination is needed to be performed, data in the DDR2 are read according to the calculated address involved before the HARQ combination, and the data in the DDR2 are stored into the RAMA. 
         [0019]    Further, in the method, the process that a HARQ combination calculation is performed and the calculation result is stored into a second data cache RAMB may specifically include: 
         [0020]    data of previous HARQ combination in the RAMA are read, the read data are multiplied by the gain factor b1, data resulting from rate de-matching are multiplied by the gain factor b2, the two products are added to obtain the result of the HARQ combination, i.e., the result obtained by multiplying the data before the HARQ combination by b1 plus multiplying the data resulting from the HARQ combination by b2; and the result of the HARQ combination is stored into the RAMB. 
         [0021]    Further, the method may further include: 
         [0022]    the data in the RAMB resulting from the HARQ combination are transferred into the DDR2 according to the address involved after the HARQ combination; and 
         [0023]    it is gone ready to receive next data of the UE. 
         [0024]    A device for HARQ combination is further provided in an embodiment of the disclosure, which includes: a parameter control unit, a data cache unit and an accumulation unit, wherein 
         [0025]    the parameter control unit is configured to receive externally configured parameters relevant to HARQ combination, and calculate an identifier ddr2switch of DDR2 switching to acquire addresses involved before and after the HARQ combination: 
         [0026]    the data cache unit is configured to: determine, according to the parameters and the addresses involved before and after the HARQ combination, whether the HARQ combination is needed to be performed; and when it is determined that the HARQ combination is needed to be performed, read data in a DDR2, and store the data into a first data cache random access memory RAMA; and 
         [0027]    the accumulation unit is configured to perform a HARQ combination calculation and store the calculation result into a second data cache random access memory RAMB. 
         [0028]    Further, in the device, the externally configured parameters relevant to HARQ combination received by the parameter control unit may include: e_demodnum indicating current transmission is which demodulation of a same User Equipment (UE); harq_en indicating whether the HARQ combination is needed to be performed; harq_num indicating a times of retransmission for the HARQ combination; harq_addr indicating an address related to the HARQ combination; and two gain factors b1 and b2 for the HARQ combination. 
         [0029]    Further, in the device, the accumulation unit may be further configured to transfer data in the RAMB resulting from the HARQ combination into the DDR2 according to the address involved after the HARQ combination, and get ready to receive next data of the UE. 
         [0030]    Compared with the existing technologies, the technical solution of the disclosure is based on the latest interference cancellation algorithm according to which the same UE supports a plurality of times of demodulation, including first demodulation, secondary demodulation and re-demodulation; greatly increases the success probability of decoding by canceling interference signals during a decoding process; saves the storage space of an DDR2, reduces the times of frequent reading/writing of the DDR2 and improves a reading/writing efficiency by dynamically switching the DDR2 during a DDR2 transfer process; and supports flexible configuration of coefficients for HARQ combination. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0031]      FIG. 1  is a flowchart of E-DCH symbol-level decoding; 
           [0032]      FIG. 2  is a flowchart of a first embodiment of the disclosure; 
           [0033]      FIG. 3  is a schematic diagram illustrating simple DDR2 transfer; 
           [0034]      FIG. 4  is a schematic diagram illustrating optimized DDR2 transfer; and 
           [0035]      FIG. 5  is a structural diagram of a second embodiment of the disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0036]    In order to make the technical problem to be solved, the technical solution and beneficial effects of the disclosure dearer and easier to understand, the disclosure is further elaborated below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only intended to interpret the disclosure instead of limiting the disclosure. 
         [0037]    As shown in  FIG. 2 , which is a flowchart of a first embodiment of the disclosure, a method for HARQ combination provided in the first embodiment of the disclosure is specifically includes: 
         [0038]    Step S 201 : Externally configured parameters relevant to a HARQ combination are received. 
         [0039]    As an example, the externally configured parameters relevant to the HARQ combination include: new_ue indicating whether a packet sent by a current UE is a new packet; e_demodnum indicating current transmission is which demodulation of the same UE, the same UE may perform rescheduling and retransmission three times after the decoding of the HAW) combination is failed, the first rescheduling and retransmission is recorded as a first demodulation, the second rescheduling and retransmission is recorded as a second demodulation and the third rescheduling and retransmission is recorded as a re-demodulation, e_demodnum being 1 indicates the first demodulation of the same UE, e_demodnum being 2 indicates the second demodulation of the same UE, and e_demodnum being 3 indicates the re-demodulation of the same UE; harq_en indicating whether the HARQ combination is needed to be performed; harq_num indicating times of HARQ retransmission; harq_addr indicating an address related to the HARQ combination; and b1 and b2 indicating two gain factors of the HARQ combination. 
         [0040]    The gain factors of HARQ combination determine the gain of decoding information and the performance of a system, and different gain factors of HARQ combination may be used according to different channel qualities. The gain factors of HARQ combination received in the embodiment are shown by default in Table 1. 
         [0000]    
       
         
               
               
             
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
             
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
               
             
           
               
                   
                 TABLE 1 
               
             
             
               
                   
                   
               
               
                   
                 Times of HARQ retransmission 
               
             
          
           
               
                   
                 0 
                 1 
                 2 
                 3 
                 4 
                 5 
                 6 
                 7 
                 8 
                 9 
                 10 
                 11 
                 12 
                 13 
                 14 
                 15 
               
               
                   
                   
               
             
          
           
               
                 b1 
                 0 
                 0 
                 1 
                 0 
                 1 
                 0 
                 0 
                 0 
                 1 
                 0 
                 0 
                 0 
                 0 
                 0 
                 0 
                 0 
               
               
                 b2 
                 0 
                 0 
                 1 
                 1 
                 2 
                 2 
                 2 
                 2 
                 3 
                 3 
                 3 
                 3 
                 3 
                 3 
                 3 
                 3 
               
               
                   
               
             
          
         
       
     
         [0041]    Other configured coefficients for HARQ combination are also supported in the embodiment. 
         [0042]    Step S 202 : An identifier ddr2swithch of DDR2 switching is calculated to acquire addresses involved before and after the HARQ combination. 
         [0043]    As an example, since a latest interference cancellation algorithm is supported, that is, a first demodulation, a second demodulation and a re-demodulation are supported, latest transmitted data needs to be stored twice for a HARQ combination. Since a HARQ supports eight 2 ms processes and four 10 ms processes, a very large space is needed if there are a great number of UEs: two large spaces of the same size are created before a HARQ combination and a large space is created after the HARQ combination, as shown in  FIG. 3  which is a schematic diagram illustrating simple DDR2 transfer. Data of the latest HARQ combination and data of the previous HARQ combination are stored before the HARQ combination. If the current transmission e_demodnum is equal to 01, then the data of the latest HARQ combination and current data are taken for a HARQ combination. If the current transmission is the second demodulation or re-demodulation, then data resulting from the previous HARQ combination and the current data are taken for a HARQ combination. Data resulting from a HARQ combination are stored in a DDR2 used for storing data resulting from a HARQ combination, and are also needed to be stored into a DDR2 used for storing data before a HARQ combination. As a consequence, the space of the DDR2 to be needed is large, and there are too many times of transfer, thereby occupying much bandwidth. 
         [0044]    As shown in  FIG. 4 , which is a schematic diagram illustrating optimized DDR2 transfer, two DDR2s of the same size are used, and the addresses of the two DDR2s differ by a fixed value, which is identified by an introduced identifier of DDR2 ping-pong switching, and the identifier of DDR2 ping-pong switching is marked as ddr2swtich. When the ddr2switch is equal to 0, it is indicated that data of a DDR1 are read, and data resulting from a HARQ combination are written into a DDR2. When the ddr2switch is equal to 1, it is indicated that data of the DDR2 are read, and data resulting from a HARQ combination are written into the DDR2, thereby reducing the storage space of the DDR2 and the transfer times of data of the DDR2. 
         [0045]    A method for calculating ddr2switch may be as follows: 
         [0046]    A parameter ddr2swithch is recorded as an identifier indicating whether ping-pong switching is performed on a DDR2, and a parameter ddr2swtich1 is recorded as an identifier indicating whether next ping-pong switching is performed on the DDR2. 
         [0047]    (1) Value of the parameter ddr2switch 
         [0048]    A calculation process is as follows: 
         [0049]    if new_ue is equal to 1, then it is indicated that a packet sent by the current UE is a new packet, and the ddr2switch is assigned with 0; and 
         [0050]    if new_ue is equal to 0, then the following determination is further made:
       if harq_en is equal to 1, which indicates that the HARQ combination is needed to be performed, and the Demodnum is equal to 01, then the ddr2switch is assigned with the value of ddr2switch1, and in other cases, the ddr2switch is kept unchanged.       
 
         [0052]    (2) Value of the parameter ddr2switch1 
         [0053]    A calculation process is as follows: 
         [0054]    if new_ue is equal to 1, it is indicated that a packet sent by the current UE is a new packet, and the ddr2switch1 is assigned with 1; and 
         [0055]    If new_ue is equal to 0, then the following determination is further made:
       if harq_en is 1, which indicates that the HARQ combination is needed to be performed. and Demodnum is equal to 01, then the ddr2switch1 is inverted; and   if harq_en is 1, which indicates that the HARQ combination is needed to be performed. and Demodnum is not equal to 01, then the ddr2switch1 is kept unchanged.       
 
         [0058]    Addresses involved before and after the HAW) combination may be acquired according to the ddr2switch and harq_addr, and the addresses involved before and after the HARQ combination are recorded as harq_addr_b and harq_addr_e respectively. 
         [0059]    Step S 203 : it is determine, according to the externally configured parameters relevant to a HARQ combination and the addresses, whether the HARQ combination is needed to be performed. Step S 204  is executed if the HARQ combination is needed to be performed, and the flow is directly gone to Step S 206  if the HARQ combination is not needed to be performed. 
         [0060]    As an example, the indicator indicating whether to perform a HARQ combination read in Step S 201  is marked as harq_en. If harq_en is equal to 0, no relevant operation is performed and the flow is directly gone to Step S 205 . If harq_en is equal to 1, it is indicated that the HARQ combination is needed to be performed, data of a DDR2 are read according to the address harq_addr_b calculated in Step S 202 , and the data are stored into the RAMA. 
         [0061]    Step S 204 : Data in a DDR2 are read and stored into a data cache RAMA. 
         [0062]    Step S 205 : A calculation related to the HARQ combination is performed, and the calculation result is stored into a data cache RAMB. 
         [0063]    As an example, the data in the RAMA resulting from the previous HARQ combination are read according to received gain factors for HARQ combination, and are multiplied by the gain factor b1, data resulting from rate de-matching are multiplied by the gain factor b2, and the two products are added to obtain a result resulting from the HARQ combination, i.e., the result obtained by multiplying data before the HARQ combination by b1 plus multiplying data resulting from HARQ combination by b2, and the result is stored into the RAMB. 
         [0064]    Step S 206 : The data are transferred into a HARQ DDR2 according to the address involved after the HARQ combination, and it is gone ready to receive next data of the UE. 
         [0065]    As an example, the data of the RAMB resulting from the HARQ combination are transferred into a DDR2 according to an address harq_addr_e calculated by a parameter control unit, so as to complete the current HARQ combination processing, and then the next new HARQ combination is to be performed. 
         [0066]    As a specific solution of the aforementioned embodiment, the embodiment may be implemented as follows: 
         [0067]    (1) Externally configured parameters e_demodnum, harq_en, harq_num, harq_addr, b1 and b2 for a HARQ combination are received, and it is assumed that e_demodnum is equal to 01, harq_en is equal to 1, harq_num is equal to 7 and harq_addr is 51609700. 
         [0068]    (2) It is obtained based on harq_num being 7 that b1 and b2 are equal to 0 and 2 respectively. If the previous ddr2switch1 is assumed to be 1, then ddr2switch is equal to 0. If the product of harq_addr and ddr2switch is 51609600, then harq_addr_e is 51609700 and harq_addr_b is 100. 
         [0069]    (3) Data before the HARQ combination are read based on harq_en being equal to 1 and harq_addr_b being 100, and are stored in a RAMA. 
         [0070]    (4) Since b2 is equal to 2, the data before the HARQ combination are right shifted by 2 bits and are added with data resulting from rate de-matching, and the added data are then stored into a RAMB. 
         [0071]    (5) Based on harq_add_e being 51609700, the added data are stored into a DDR2 the address of which is 51609700. 
         [0072]    As shown in  FIG. 5 , which is a diagram illustrating the structure of a second embodiment of the disclosure, a device for HARQ combination disclosed herein includes: 
         [0073]    the parameter control unit is configured to receive externally configured parameters relevant to HARQ combination, and calculate an identifier ddr2switch of DDR2 switching to acquire addresses involved before and after the HARQ combination; 
         [0074]    the data cache unit is configured to: determine, according to the parameters and the addresses involved before and after the HAW) combination, whether the HARQ combination is needed to be performed; and when it is determined that the HARQ combination is needed to be performed, read data in a DDR2, and store the data into a first data cache RAMA; and 
         [0075]    the accumulation unit is configured to perform a HARQ combination calculation and store the calculation result into a second data cache RAMB. 
         [0076]    In the device, the externally configured parameters relevant to HARQ combination received by the parameter control unit include: e_demodnum indicating current transmission is which demodulation of a same UE; harq_en indicating whether the HARQ combination is needed to be performed; harq_num indicating a times of retransmission for the HARQ combination; harq_addr indicating an address related to the HARQ combination; and two gain factors b1 and b2 for the HARQ combination. 
         [0077]    In the device, the accumulation unit is further configured to transfer data in the RAMB resulting from the HARQ combination into the DDR2 according to the address involved after the HARQ combination, and get ready to receive next data of the UE. 
         [0078]    The foregoing description illustrates and describes the preferable embodiments of the disclosure. However, as previously mentioned, it should be understood that the disclosure is not restricted to the form disclosed by the present document and should not be regarded as exclusion of other embodiments, but can be used to various other combinations, modifications and environments and can be modified according to the above teaching or technologies or knowledge of related fields within the scope of conception of the disclosure described in the present document. Furthermore, modifications and changes made by those skilled in the art without departing from the spirit and principle of the disclosure shall fall within the scope of protection of the claims of the disclosure.