Method, device, chip, terminal and storage medium for wireless communication

By adjusting the prefetch memory area and soft bit compression rate according to the network standard type and block error rate, dynamically updating the number of decoding iterations, the problem of waste of resources and low efficiency in the HARQ process is solved, and the merged decoding efficiency and storage space utilization are improved. .

CN116015566BActive Publication Date: 2024-12-06伟光有限公司(CN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211731142.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-12-06
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

In the existing HARQ process, the fixed number of decoding iterations leads to waste of resources, improper setting of soft bit data compression rate leads to low merging and decoding efficiency, and unreasonable allocation of prefetch storage areas leads to waste of storage space.

Method used

Dynamically adjust the prefetch memory area allocation strategy according to the network standard type, adjust the compression rate of soft bit data according to the block error rate, and dynamically update the maximum number of decoding iterations during the decoding process.

Benefits of technology

Improve the efficiency of merged and decoding, make full use of prefetched storage areas, and reduce the waiting time for decoding and waste of storage space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116015566B_ABST
    Figure CN116015566B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, chip, terminal and storage medium for wireless communication, belonging to the field of wireless communication. The method includes: obtaining the network standard type of the terminal when transmitting the retransmission coding block; based on the network standard type, determining the allocation strategy of the pre-fetch storage area, the pre-fetch storage area is used to pre-store the error coding block of the last transmission error, and the allocation strategy is used to indicate the storage area size occupied by the error coding block in the pre-fetch storage area; based on the allocation strategy, the pre-fetch storage area is divided into at least two sub-storage areas. This method can make full use of the storage space of the pre-fetch storage area, pre-fetch more error coding blocks, and improve the efficiency of subsequent combined decoding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of wireless communications, and in particular, to a method, device, chip, terminal, and storage medium for wireless communications. Background Art

[0002] Hybrid Automatic Repeat Request (HARQ) means that when decoding or decoding fails, the receiver saves the received soft bit data and sends a retransmission control instruction to the sender to request the sender to retransmit the data. The receiver then combines the retransmitted data with the previously received data before decoding. In order to improve the merging efficiency in the HARQ process, a pre-fetch storage area is set on the chip to store the previously received data on the chip in advance to reduce the waiting time for merging. Summary of the invention

[0003] The embodiments of the present application provide a method, device, chip, terminal and storage medium for wireless communication. The technical solution is as follows:

[0004] On the one hand, an embodiment of the present application provides a method for wireless communication, the method comprising:

[0005] Get the network standard type of the terminal when transmitting the retransmission coding block;

[0006] Based on the network standard type, determining an allocation strategy for a pre-fetch storage area, the pre-fetch storage area is used to pre-store an error coding block of a last transmission error, and the allocation strategy is used to indicate a storage area size occupied by the error coding block in the pre-fetch storage area;

[0007] Based on the allocation strategy, the pre-fetch storage area is divided into at least two sub-storage areas.

[0008] On the other hand, an embodiment of the present application provides a device for wireless communication, the device comprising:

[0009] An acquisition module, used to acquire the network standard type of the terminal when transmitting the retransmission coding block;

[0010] A determination module, configured to determine an allocation strategy for a pre-fetch storage area based on the network standard type, wherein the pre-fetch storage area is used to pre-store an error coding block of a last transmission error, and the allocation strategy is used to indicate a storage area size occupied by the error coding block in the pre-fetch storage area;

[0011] An allocation module is used to divide the pre-fetch storage area into at least two sub-storage areas based on the allocation strategy.

[0012] On the other hand, an embodiment of the present application provides a chip, which includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the method for wireless communication as described in the above aspects.

[0013] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for wireless communication as described in the above aspects.

[0014] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one program code is stored, and the program code is loaded and executed by a processor to implement the method for wireless communication as described in the above aspects.

[0015] On the other hand, an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method for wireless communication provided in various optional implementations of the above aspects.

[0016] The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

[0017] Taking into account the different demands for erroneous coding blocks in the retransmission process under different network configurations, different allocation strategies are set for the pre-fetch storage area based on different network standard types, so that in the process of coding block retransmission, the pre-fetch storage area can be divided into the required storage area size in advance according to the demand for erroneous coding blocks based on the network standard type and its corresponding allocation strategy, so as to make full use of the storage space of the pre-fetch storage area and pre-fetch more erroneous coding blocks to reduce the waiting time of subsequent combined decoding, thereby improving the efficiency of subsequent combined decoding. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the process of hybrid automatic repeat request HARQ;

[0019] Figure 2 A flowchart of a method for wireless communication according to an exemplary embodiment of the present application is shown;

[0020] Figure 3 A flowchart of a method for wireless communication according to another exemplary embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram showing the division of a pre-fetch storage area shown in an exemplary embodiment of the present application is shown;

[0022] Figure 5 A schematic diagram showing the division of a pre-fetch storage area shown in another exemplary embodiment of the present application is shown;

[0023] Figure 6 A flowchart of a method for wireless communication according to an exemplary embodiment of the present application is shown;

[0024] Figure 7 A flowchart of a method for wireless communication according to another exemplary embodiment of the present application is shown;

[0025] Figure 8 A flowchart of a method for wireless communication according to another exemplary embodiment of the present application is shown;

[0026] Fig. 9 A schematic diagram of a process of dynamically adjusting the compression rate is shown in an exemplary embodiment of the present application;

[0027] Fig.10 A flowchart of a method for wireless communication according to an exemplary embodiment of the present application is shown;

[0028] Fig.11 A flowchart of a method for wireless communication according to another exemplary embodiment of the present application is shown;

[0029] Fig.12 A schematic diagram of an updating process of a decoding iteration number threshold is shown in an exemplary embodiment of the present application;

[0030] Fig.13 A structural block diagram of a device for wireless communication provided by an embodiment of the present application is shown;

[0031] Fig.14 A structural block diagram of a terminal provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0033] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0034] The HARQ process is as follows Figure 1As shown, during the data communication process, the transmitting end 101 can encode the transmission data and generate a transmission block, which is transmitted to the receiving end 102. The receiving end 102 decodes the received transmission block, and can obtain the transmission data with correct transmission and the data with transmission error after decoding; and for the data with transmission error, the receiving end 102 needs to send a retransmission control instruction to the transmitting end 101, so that the transmitting end 101 sends the retransmission coding block to the receiving end 102 according to the retransmission control instruction; further, the receiving end 102 can combine and decode the retransmission coding block and the data with transmission error in the last transmission process to improve the transmission reliability and transmission efficiency of the communication system.

[0035] In the related art, the HARQ process is improved from three aspects. (1) In the decoding stage, when the decoder decodes the coding block, in order to ensure the decoding efficiency and avoid the coding block that cannot be decoded successfully hindering the decoding process, a maximum number of decoding iterations is set, that is, the number of decoding iterations of each coding block needs to be less than or equal to the maximum number of decoding iterations. (2) In the data storage stage, in the HARQ process, the soft bit data of the transmission error needs to be temporarily stored in the receiving end 102, for example, in the DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM will be referred to as DDR) in the receiving end 102), so that when the receiving end 102 receives the retransmitted coding block, the soft bit data of the transmission error can be read from the DDR and combined with the currently received retransmitted coding block for decoding. Since the amount of soft bit data with transmission errors is large, in order to reduce the memory space occupied by the soft bit data, the soft bit data with transmission errors needs to be compressed and then stored in the DDR. Specifically, the compression rate of the soft bit data is set according to the number of MIMO (Multi Input Multi Output) layers, that is, a higher compression rate is used when the number of MIMO layers is large, and a lower compression rate is used when the number of MIMO layers is small. (3) In the data reading stage, in order to avoid reading the last transmission error data from the DDR again during merging and decoding, which puts pressure on the DDR reading and reduces the merging efficiency, a pre-fetch storage area is set on the chip where the decoder is located, which is used to write the data in the DDR into the pre-fetch storage area before merging and decoding the retransmitted coded blocks, so that the data can be directly read from the pre-fetch storage area on the chip during merging and decoding, and merged and decoded with the retransmitted coded blocks, thereby improving the merging efficiency. When planning the amount of pre-fetched data in the pre-fetch storage area, a pre-fetch storage area of ​​Ncb size is fixedly allocated to each transmission block according to the maximum number of transmission blocks supported by the terminal in the same time slot.

[0036] However, the following problems still exist in the HARQ process when the method in the related art is adopted: (1) Although setting the maximum number of decoding iterations in the decoding stage can indeed avoid the influence of decoding errors on the decoding process of subsequent coding blocks, the same maximum number of decoding iterations is set for each coding block. For the transmission block, if the signal-to-noise ratio is high when decoding the previous coding block and the signal-to-noise ratio is low when decoding the subsequent coding block, when the signal-to-noise ratio is high, each coding block only needs a small number of iterations to complete the decoding. If the maximum number of decoding iterations is fixed, the extra time cannot be used to decode the subsequent coding blocks, thereby reducing the decoding performance. (2) In the data storage stage, the compression rate of the bit data is set only according to the number of MIMO layers. When the number of MIMO layers is large, a fixed high compression rate is used, which will result in a small number of soft bits (valid data), thereby reducing the merging gain of soft bits, and further reducing the performance of subsequent merging decoding; and when the block error rate is low, using a high compression rate will result in a large bandwidth redundancy of DDR. (3) In the data reading phase, the pre-fetch storage area is allocated according to the maximum number of transmission blocks supported by the terminal. When the terminal is configured with only one carrier, it may only need to pre-fetch soft bit data of 1 Ncb size. However, allocating the pre-fetch storage area according to the maximum number of transmission blocks will obviously cause a waste of the pre-fetch storage area.

[0037] In order to solve some problems existing in the above three aspects, the present application has made improvements in the above three aspects respectively, and the improvements are explained in turn in the following embodiments.

[0038] First, in order to solve the problem brought about by the above-mentioned related technology (3), the embodiment of the present application also provides a method for dynamically adjusting the allocation of pre-fetch storage areas according to the network configuration, so as to further improve the efficiency of combined decoding. Figure 2 , which shows a flowchart of a method for wireless communication shown in an exemplary embodiment of the present application. The embodiment of the present application is described by taking the method applied to a terminal as an example. The method includes:

[0039] Step 201, obtaining the network standard type of the terminal when transmitting the retransmission coding block.

[0040] Since the network configurations of different network standard types are different, and the difference in network configuration will affect the number of transmission blocks transmitted by the terminal, and the number of error coding blocks that need to be pre-stored in the pre-fetch storage area is related to the number of transmission blocks, therefore, the size of the storage space that the pre-fetch storage area should pre-allocate for the error coding blocks is also related to the network standard type. Corresponding to this embodiment, a pre-fetch storage area allocation strategy is provided, by obtaining the network standard type of the terminal when transmitting the retransmission coding block, and setting different pre-fetch storage area allocation strategies according to different network standard types.

[0041] Step 202, based on the network standard type, determine the allocation strategy of the pre-fetch storage area, the pre-fetch storage area is used to pre-store the error coding block of the last transmission error, and the allocation strategy is used to indicate the storage area size occupied by the error coding block in the pre-fetch storage area.

[0042] Among them, the terminal is configured with an allocation strategy for the pre-fetch storage area corresponding to the network standard type for different network standard types. Optionally, the network standard types in this embodiment may include three scenarios: SA (NR only), LTE only and ENDC. Among them, SA is a 5G only scenario, LTE only is a 4G only scenario, and ENDC is a mixed scenario of 4G and 5G.

[0043] In a possible implementation, after the terminal obtains the network standard type of the current transmission retransmission coding block, it can match the allocation strategy of the pre-fetch storage area corresponding to the network standard type according to the network standard type, and then divide the pre-fetch storage area according to the allocation strategy.

[0044] Step 203: divide the pre-fetch storage area into at least two sub-storage areas based on the allocation strategy.

[0045] The allocation strategy is used to indicate how to divide the pre-fetch storage area into at least two sub-storage areas, and the size of each sub-storage area, and each sub-storage area is used to pre-store the error coding block of the last transmission error. In a possible implementation, after the terminal obtains the allocation strategy of the pre-fetch storage area, the pre-fetch storage area can be divided into at least two sub-storage areas according to the division method of the sub-storage areas indicated by the allocation strategy.

[0046] Optionally, the pre-fetch storage area is located on the chip where the decoder is located, and is used to pre-store the error coding block of the last transmission error. When the terminal receives the retransmission coding block, the error coding block can be read from the pre-fetch storage area to merge the error coding block and the retransmission coding block, and the decoder decodes the merged coding block. Due to the limited capacity of the pre-fetch storage area, if all the error coding blocks are directly pre-fetched into the pre-fetch storage area, some error coding blocks that are not currently needed will always occupy the pre-fetch storage area, resulting in the error coding blocks currently needed may still be stored in other non-on-chip storage areas, and the error coding blocks need to be read from the non-on-chip storage area, which will obviously reduce the efficiency of subsequent merging and decoding; therefore, in the embodiment of the present application, it is necessary to allocate a sub-storage area of ​​a specific storage area size in the pre-fetch storage area in advance according to the needs of the retransmission coding block, so as to pre-fetch the error coding blocks needed by it into the pre-fetch storage area in advance, so as to achieve the purpose of making full use of the pre-fetch storage area, and at the same time, it can also meet the needs of subsequent merging and decoding of the retransmission coding block.

[0047] To summarize, in the embodiments of the present application, taking into account the different demands for error coding blocks in the retransmission process under different network configurations, different allocation strategies are set for the pre-fetch storage area based on different network standard types, so that in the process of retransmitting the coding block, the pre-fetch storage area can be divided into the required storage area size in advance according to the demand for error coding blocks based on the network standard type and its corresponding allocation strategy, so as to make full use of the storage space of the pre-fetch storage area, pre-fetch more error coding blocks, so as to reduce the waiting time of subsequent combined decoding, thereby improving the efficiency of subsequent combined decoding.

[0048] Under a single network standard type, the number of pre-fetched error coding blocks is related to the carrier bandwidth and the number of MIMO (Multi Input Multi Output) layers, while under a hybrid network standard, the number of pre-fetched error coding blocks is not only related to the carrier bandwidth and the number of MIMO layers, but also to at least two network standard types included in the hybrid network standard. Therefore, in a possible implementation, different pre-fetch storage area allocation strategies are set according to whether the network standard type is a single type or a hybrid type.

[0049] Please refer to Figure 3 , which shows a flowchart of a method for wireless communication shown in another exemplary embodiment of the present application. The embodiment of the present application is described by taking the method applied to a terminal as an example. The method includes:

[0050] Step 301, obtaining the network standard type of the terminal when transmitting the retransmission coding block.

[0051] According to the characteristics of various network configurations, different network scenarios are divided into two network standard types, one is a single network standard type, and the other is a hybrid network standard type. Among them, the single network standard type means that the terminal only uses one network standard for data transmission, and the hybrid network standard type means that the terminal uses two or more network standards for data transmission. For example, SA (NR only) and LTE only belong to a single network standard, and ENDC belongs to a hybrid network standard.

[0052] Step 302: When the network standard type is a single network standard, determine a first allocation strategy for the pre-fetch storage area.

[0053] Since the factors that affect the number of pre-fetched error coding blocks are different under different network standard types, the corresponding factors affect the size of the storage area allocated to the pre-fetched storage area. Therefore, in a possible implementation, the terminal is provided with different allocation strategies for pre-fetched storage areas for different network standard types. That is to say, for a single network standard type, a first allocation strategy for pre-fetched storage areas is provided, and for a mixed network standard type, a second allocation strategy for pre-fetched storage areas is provided. When the terminal obtains that the network standard type is a single network standard, it can determine the first allocation strategy for the pre-fetched storage area under the single network standard, and then use the first allocation strategy to divide the pre-fetched storage area.

[0054] Step 303: When the first allocation strategy is determined, a first carrier configuration parameter and a first MIMO layer configuration parameter of the terminal are obtained.

[0055] Under a single network standard type, whether it is only 4G or only 5G, the number of pre-fetched error coding blocks is only related to the carrier configuration and the MIMO layer configuration. Therefore, the first allocation strategy indicates that the pre-fetch storage area is dynamically allocated according to the carrier bandwidth and the number of MIMO layers. And each carrier corresponds to a sub-storage area, and the size of the sub-storage area is determined by the carrier bandwidth and the number of MIMO layers. Correspondingly, in a possible implementation, after the terminal obtains the first allocation strategy, it is necessary to obtain the first carrier configuration parameters and the first MIMO layer configuration parameters of the terminal, so as to dynamically allocate the pre-fetch storage area according to the first carrier configuration parameters and the first MIMO layer configuration parameters.

[0056] Optionally, the first carrier configuration parameter includes at least the carrier bandwidth of at least two first carriers configured for the terminal, and the first MIMO layer configuration parameter includes the first MIMO layer number corresponding to each first carrier, and the first MIMO layer number is the maximum MIMO layer number supported by the carrier.

[0057] Step 304: based on the first carrier configuration parameter and the first MIMO layer configuration parameter, divide the pre-fetch storage area into at least two sub-storage areas, and different sub-storage areas are used to pre-store error coding blocks corresponding to different carriers.

[0058] After the terminal obtains the first carrier configuration parameter and the first MIMO layer configuration parameter, the pre-fetch storage area can be divided into at least two sub-storage areas according to the first carrier configuration parameter and the first MIMO layer configuration parameter, that is, the sub-storage area corresponding to each first carrier and the storage area size of each sub-storage area are determined.

[0059] In an illustrative example, step 304 may include steps 304A to 304C.

[0060] Step 304A, obtaining the total storage capacity of the pre-fetch storage area.

[0061] Step 304B: determine the carrier bandwidth and the corresponding MIMO layer number of the carrier that carries the retransmission coding block transmission, and the carrier that carries the retransmission coding block transmission belongs to the first carrier.

[0062] Step 304C, based on the product of the carrier bandwidth and the number of MIMO layers, the sum of the products of the carrier bandwidth of each first carrier and the number of first MIMO layers, and the total storage capacity, determine the sub-storage capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission.

[0063] Take the case where the terminal is configured with two NR carriers (NR only scenario). Figure 4 As shown, it shows a schematic diagram of the division of the pre-fetch storage area shown in an exemplary embodiment of the present application. The total size of the pre-fetch storage area is S, and in the pre-fetch storage area, sub-storage area 0 is divided for carrier 0, and sub-storage area 1 is divided for carrier 1. The storage area size of sub-storage area 0 is determined by formula (1), and the storage area size of sub-storage area 1 is determined by formula (2).

[0064] S1=B0*L0 / (B0*L0+B1*L1)*S(1)

[0065] S2=B1*L1 / (B0*L0+B1*L1)*S(2)

[0066] Among them, S1 represents the storage area size of sub-storage area 0, B0 represents the carrier bandwidth of carrier 0, L0 represents the maximum number of MIMO layers of carrier 0, B1 represents the carrier bandwidth of carrier 1, L1 represents the maximum number of MIMO layers of carrier 1, S2 represents the storage area size of sub-storage area 1, and S represents the storage area size of the pre-fetch storage area.

[0067] It can be seen from formula (1) and formula (2) that, under a single network standard, the pre-fetch storage area is dynamically allocated according to the carrier bandwidth of each carrier and the maximum number of MIMO layers supported, and the allocation principle is: more pre-fetch storage areas are allocated to carriers with large carrier bandwidth and a large number of maximum MIMO layers supported, and relatively smaller pre-fetch storage areas are allocated to carriers with small carrier bandwidth and a small number of maximum MIMO layers supported. That is, the size of S1 and S2 is determined by their corresponding carrier bandwidth and MIMO layers. If B1*L1 is greater than B0*L0, the capacity of the pre-fetch storage area (sub-storage area 2) allocated to carrier 1 is greater than the capacity of the pre-fetch storage area (sub-storage area 1) allocated to carrier 0.

[0068] Regarding the process of how to calculate the sub-storage area capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission (the carrier carrying the retransmission coding block transmission belongs to one of the first carriers), in a possible implementation, the terminal needs to first obtain the total storage capacity of the pre-fetch storage area, the carrier bandwidth of the carrier carrying the retransmission coding block transmission, the number of MIMO layers corresponding to the carrier carrying the retransmission coding block transmission, the carrier bandwidth and the first MIMO layer number of each first carrier, and bring them into formula (1) or formula (2), that is, the sub-storage area capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission can be calculated. Among them, the sub-storage area is used to store the error coding block corresponding to the retransmission coding block, so that the retransmission coding block and the error coding block can be merged and decoded later.

[0069] Step 305, when the network standard type is a hybrid network standard, determine a second allocation strategy for the pre-fetch storage area, the hybrid network standard indicates that the terminal uses at least two network standards for data transmission at the same time, and the first allocation strategy is different from the second allocation strategy.

[0070] Optionally, when the terminal obtains that the network standard type is a hybrid network standard, a second allocation strategy for the pre-fetch storage area under the hybrid network standard may be determined, so as to divide the pre-fetch storage area using the second allocation strategy.

[0071] Step 306: when the second allocation strategy is determined, a first sub-storage area is allocated for the first network standard based on the number of transport blocks of the transport blocks under the first network standard.

[0072] When the network standard type is a hybrid network standard, the number of pre-fetched error coding blocks is not only related to the carrier configuration and the MIMO layer configuration, but also needs to be distinguished according to different network standards. Therefore, the second allocation strategy indicates that different sub-storage areas are first divided for different network standards, and different sub-storage areas will also be dynamically allocated according to the carrier bandwidth and the number of MIMO layers.

[0073] Optionally, when the terminal determines that the hybrid network standard includes a first network standard and a second network standard, a first sub-storage area can be allocated for the first network standard, and a second sub-storage area can be allocated for the second network standard. In each sub-storage area, dynamic allocation is further performed according to the carrier bandwidth and the number of MIMO layers. For example, the second sub-storage area is divided into multiple sub-areas, and different sub-areas correspond to different carriers.

[0074] Exemplarily, if the first network standard is 4G (LTE), since one carrier is configured in the LTE scenario and each carrier corresponds to two transmission blocks, the terminal can allocate a first sub-storage area for the first network standard according to the number of transmission blocks in the first network standard. The size of the first sub-storage area is 2 Ncbs, and each transmission block corresponds to one Ncb.

[0075] Step 307: Acquire a second carrier configuration parameter and a second MIMO layer configuration parameter of the terminal in the second network standard, and allocate a second sub-storage area for the second network standard based on the second carrier configuration parameter and the second MIMO layer configuration parameter.

[0076] The first sub-storage area is an area of ​​fixed size in the pre-fetch storage area, and the area (second sub-storage area) in the pre-fetch storage area other than the first sub-storage area is used to store the error coding block transmitted under the second network standard. For the second sub-storage area, it is still necessary to dynamically allocate according to the carrier configuration parameters and the MIMO layer configuration parameters. In a possible implementation, the terminal can obtain the second carrier configuration parameters and the second MIMO layer configuration parameters of the terminal under the second network standard, so as to allocate the second sub-storage area based on the second carrier configuration parameters and the second MIMO layer configuration parameters.

[0077] Optionally, the second carrier configuration parameters include at least the carrier bandwidth of at least two second carriers configured for the terminal under the second network standard, and the second MIMO layer configuration parameters include at least the number of second MIMO layers corresponding to each second carrier, and the second MIMO layer number is the maximum number of MIMO layers supported by the second carrier.

[0078] In an illustrative example, step 307 may include steps 307A to 307C.

[0079] Step 307A: Determine the remaining storage capacity of the second sub-storage area based on the total storage capacity and the storage area capacity of the first sub-storage area.

[0080] Step 307B: Obtain the carrier bandwidth and the corresponding number of MIMO layers of the carrier that carries the retransmission coding block transmission, where the carrier that carries the retransmission coding block transmission belongs to the second carrier.

[0081] Step 307C, based on the product of the carrier bandwidth and the number of MIMO layers, the sum of the products of the carrier bandwidth of each second carrier and the second number of MIMO layers, and the remaining storage capacity, determine the sub-storage capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission.

[0082] Take the hybrid network standard including the first network standard (4G) and the second network standard (5G) as an example. Figure 5As shown, it shows a schematic diagram of the division of the pre-fetch storage area shown in another exemplary embodiment of the present application. Among them, the total size of the pre-fetch storage area is S. In the pre-fetch storage area, the first sub-storage area is divided for the first network standard, and the second sub-storage area is divided for the second network standard. The first sub-storage area and the second sub-storage area are both fixed sizes. The size of the first sub-storage area is 2Ncb, and the size of the second sub-storage area is S-2Ncb. For the second sub-storage area, it is also necessary to divide it according to different carriers. When two carriers are configured, in the second sub-storage area, sub-storage area 0 is divided for NR carrier 0, and sub-storage area 1 is divided for NR carrier 1. The storage area size of sub-storage area 0 is determined by formula (3), and the storage area size of sub-storage area 1 is determined by formula (4).

[0083] S3=B0*L0 / (B0*L0+B1*L1)*(S-2Ncb) (3)

[0084] S4=B1*L1 / (B0*L0+B1*L1)*(S-2Ncb) (4)

[0085] Among them, S3 represents the storage area size of sub-storage area 0, B0 represents the carrier bandwidth of NR carrier 0, L0 represents the maximum number of MIMO layers of NR carrier 0, B1 represents the carrier bandwidth of NR carrier 1, L1 represents the maximum number of MIMO layers of NR carrier 1, S4 represents the storage area size of sub-storage area 1, S represents the storage area size of the pre-fetch storage area, and 2Ncb represents the size of the first sub-storage area.

[0086] It can be seen from formula (3) and formula (4) that, under the hybrid network standard, a pre-fetch storage area of ​​2*Ncb is first allocated to the first network standard (LTE), and the remaining pre-fetch storage area is still allocated according to the carrier bandwidth and the number of MIMO layers. The allocation principle is (that is, the allocation principle of the second sub-storage area is): more pre-fetch storage areas are allocated to NR carriers with large carrier bandwidth and a large number of maximum MIMO layers supported, and relatively small pre-fetch storage areas are allocated to NR carriers with small carrier bandwidth and a small number of maximum MIMO layers supported. That is, the size of S3 and S4 is determined by their corresponding carrier bandwidth and MIMO layers. If B1*L1 is greater than B0*L0, the capacity of the pre-fetch storage area (sub-storage area 1) allocated to NR carrier 1 is greater than the capacity of the pre-fetch storage area (sub-storage area 0) allocated to NR carrier 0.

[0087] Regarding the process of how to calculate the sub-storage area capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission (the carrier carrying the retransmission coding block transmission belongs to one of the second carriers), in a possible implementation, the terminal needs to first obtain the total storage capacity of the pre-fetch storage area, the remaining storage capacity of the second sub-storage area (obtained by subtracting the storage area capacity of the first sub-storage area from the total storage capacity), the carrier bandwidth of the carrier carrying the retransmission coding block transmission, the number of MIMO layers corresponding to the carrier carrying the retransmission coding block transmission, the carrier bandwidth of each second carrier and the number of second MIMO layers, and bring them into formula (3) or formula (4), that is, the sub-storage area capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission can be calculated. Among them, the sub-storage area is used to store the error coding block corresponding to the retransmission coding block, so that the retransmission coding block and the error coding block can be merged and decoded later.

[0088] Step 308: pre-fetch error code blocks of the size of the sub-storage capacity from the DDR according to the sub-storage capacity of the sub-storage area.

[0089] Before the terminal decodes the retransmitted coded block, it is first necessary to pre-fetch the error coded block from the DDR and store the error coded block in the pre-fetch storage area so that the error coded block can be combined with the retransmitted coded block for decoding later. In order to pre-fetch enough error coded blocks in advance, in this embodiment, the corresponding storage space is allocated in advance for the error coded block in the pre-fetch storage area according to the needs of the retransmitted coded block, so that the terminal can pre-fetch the error coded block of the sub-storage capacity from the DDR according to the sub-storage capacity of each sub-storage area and store it in the pre-fetch storage area.

[0090] Optionally, before the erroneous coding blocks pre-fetched from the DDR are stored in the DDR, their corresponding compression rates may be dynamically adjusted according to the block error rate in the following embodiments, thereby reducing the data reading bandwidth of the DDR and further ensuring the performance of subsequent combined decoding.

[0091] Step 309: merge the erroneous coded block and the retransmitted coded block to obtain a merged coded block.

[0092] When the terminal decodes the retransmitted coded block, it can read the corresponding erroneous coded block from the pre-fetch storage area, and merge the erroneous coded block and the retransmitted coded block to obtain a merged coded block.

[0093] Step 310: Decode the merged coded block.

[0094] The terminal sends the combined coding block to the decoder, and the decoder decodes the combined coding block to obtain decoded soft bit data.

[0095] Optionally, for the decoding process of the merged coding block, the method of dynamically adjusting the maximum number of decoding iterations in the following embodiment may be used to improve the decoding performance of the merged coding block.

[0096] In this embodiment, allocation strategies for pre-fetch storage areas are set for different network standard types. Under a single network standard, the pre-fetch storage area can be dynamically allocated according to the carrier bandwidth and the maximum number of MIMO layers supported, and more pre-fetch storage areas are allocated according to the larger carrier bandwidth and the more MIMO layers. In this way, when the data transmission rate is high and the coding blocks are connected incorrectly, more erroneous coding blocks can be pre-fetched into the pre-fetch storage area to reduce the reading operation of the DDR, delay the back pressure of the decoder to the previous stage without causing timing disorder. At the same time, the capacity of the pre-fetch storage area can be fully utilized to improve the utilization rate of the pre-fetch storage area.

[0097] Secondly, in order to solve the problem brought about by the above-mentioned related technology (2), the embodiment of the present application also provides a method for dynamically adjusting the soft bit data compression rate according to the block error rate, so as to further improve the performance of combined decoding. Figure 6 , which shows a flowchart of a method for wireless communication shown in an exemplary embodiment of the present application. The embodiment of the present application is described by taking the method applied to a terminal as an example. The method includes:

[0098] Step 601, determining a block error rate of a coding block group, where the coding block group includes at least one coding block, and the block error rate refers to the probability of a coding block in the coding block group being transmitted with error.

[0099] In order to improve the transmission reliability and efficiency of the communication system, the HARQ mechanism is used for data transmission. The transmitted data block is encoded and transmitted to the receiving end, and the receiving end decodes and performs CRC (Cyclic Redundancy Check) on the received coded block. If the received data is erroneous, the receiving end can store the erroneous data in a specific storage area and send retransmission control information to the sending end, so that the sending end can retransmit the data corresponding to the erroneous data, so that the subsequent receiving end can merge the retransmitted data and the stored data before decoding. It can be seen that the HARQ process involves storing the erroneous data in a specific storage area and retrieving the stored erroneous data from the specific storage area. In order to improve the utilization of the storage space, it is often necessary to compress the erroneous data before storing it. How to choose the appropriate compression rate will directly affect the subsequent data access efficiency and merging efficiency.

[0100] Since the data access operation in the HARQ scenario is for the coded blocks (data) with transmission errors, and the compression rate is to reduce the storage space occupied by such data, the compression rate setting should be determined by the number of coded blocks with transmission errors. Therefore, in one possible implementation, the terminal obtains the block error rate of the coding block group to determine the probability of coded blocks with transmission errors in the coding block group, and dynamically sets the compression rate according to the block error rate. If the block error rate is high, it means that there are more coded blocks with transmission errors in the coding block group, and it may be necessary to set a relatively large compression rate; if the block error rate is low, it means that there are fewer coded blocks with transmission errors in the coding block group, and there is no need to set a large compression rate.

[0101] During data communication between the transmitting end and the receiving end, data is often transmitted in the form of transport blocks. Since the amount of data in a transport block is large, if the block error rate statistics are directly performed on the transport block, a lower compression rate may be used when the data amount is large when the block error rate is low, and the purpose of improving data access efficiency cannot be achieved. Therefore, in a possible implementation, the transport block is divided into multiple coding block groups, each coding block group includes at least one coding block, and the purpose of improving data storage efficiency is achieved by dividing the transport block into coding block groups of appropriate granularity.

[0102] In an exemplary example, if the coding block group includes M coding blocks, of which N coding blocks are transmitted erroneously, the block error rate = N / M, or the block error rate = N / M*100%. For example, the block error rate is 50%.

[0103] Step 602: Determine a compression rate of a first coding block based on a block error rate, where the first coding block is a coding block with a transmission error in the coding block group.

[0104] Among them, a correspondence table between compression rate and block error rate is set in the terminal. When the terminal obtains the block error rate of the coding block group, it can search the corresponding compression rate in the correspondence table according to the block error rate, and determine it as the compression rate of the first coding block, which is the coding block with transmission errors in the coding block group.

[0105] In an exemplary example, the corresponding relationship between the compression rate and the block error rate may be as shown in Table 1.

[0106] Table 1

[0107]

[0108] It can be seen from Table 1 that if the block error rate of the coding block group is high, it means that more coding blocks need to be accessed. In order to ensure data storage efficiency, a higher compression rate needs to be set to compress the first coding block; if the block error rate of the coding block group is low, it means that fewer first coding blocks need to be accessed. In order to ensure subsequent merging performance, a relatively low compression rate can be set to compress the first coding block.

[0109] Optionally, since the calculated block error rate of the coding block group can take many values, if a corresponding compression rate is set for each block error rate, it obviously does not meet the actual needs. Therefore, in a possible implementation, a correspondence between the block error rate range and the compression rate can be set, and the correspondence can be shown in Table 2.

[0110] Table 2

[0111]

[0112] Among them, the upper limit of the block error rate range 1 is less than the lower limit of the block error rate range 2, the upper limit of the block error rate range 2 is less than the lower limit of the block error rate range 3, and the upper limit of the block error rate range 3 is less than the lower limit of the block error rate range 4. After the terminal determines the block error rate of the coding block group, it can first determine the block error rate range in which the block error rate is located, and then determine the compression rate corresponding to the block error rate range as the compression rate of the first coding block.

[0113] Step 603: compress the first coding block based on the compression rate to obtain compressed data.

[0114] After the terminal determines the compression rate of the first coding block, it can compress the first coding block according to the compression rate to obtain compressed data, and then store the compressed data in the storage area.

[0115] To summarize, in the embodiments of the present application, by obtaining the block error rate of the coding block group and dynamically adjusting the compression rate of the coding block with transmission errors based on the block error rate, the compression rate can be selected according to the actual data size that needs to be read and written. For example, if the block error rate is high, a relatively large compression rate can be selected, which can reduce the data reading and writing bandwidth in the scenario with a high block error rate, so that the data reading and writing bandwidth is controlled within a reasonable range; if the block error rate is low, a relatively small compression rate can be selected, and the performance of the merged decoding can also be guaranteed when the pressure on the data reading and writing bandwidth is small.

[0116] There are two processes in the HARQ process: initial transmission and retransmission. In the initial transmission, only the first coding block (data with transmission errors) needs to be stored in the storage area; while in the retransmission, not only the coding block needs to be stored in the storage area, but also the first coding block needs to be read from the storage area so that the retransmitted coding block can be combined and decoded. The demand for data storage bandwidth for retransmission is greater than that for initial transmission. Therefore, under the same block error rate, different compression rates should be set at different transmission times.

[0117] Please refer to Figure 7 , which shows a flowchart of a method for wireless communication shown in another exemplary embodiment of the present application, the method comprising:

[0118] Step 701: determine a block error rate of a coding block group, where the coding block group includes at least one coding block, and the block error rate refers to the probability of a coding block in the coding block group being transmitted with error.

[0119] During the communication process, the receiving end (terminal) needs to decode the received transmission block (coding block), and perform CRC check on the coding block during the decoding process to determine whether an error occurs in the coding block during the data transmission process. The block error rate of the coding block group can be determined by counting the CRC results of each coding block in the coding block group. Correspondingly, in an exemplary example, step 701 can include steps 701A to 701C.

[0120] Step 701A, obtaining the CRC result of each coding block in the coding block group, where the CRC result is used to indicate whether the coding block is transmitted incorrectly.

[0121] Step 701B: determining the number of errors in the coded blocks with transmission errors in the coded block group based on the CRC result.

[0122] In the process of decoding the coding block, it is necessary to perform CRC check on the coding block. The CRC check is used to determine whether the data in the coding block has errors during the transmission process. If an error occurs, the sender needs to retransmit the corresponding data. In a possible implementation, the CRC result of each coding block in the coding block group is obtained to determine the number of errors in the coding blocks with transmission errors in the coding block group, which is used to subsequently determine the block error rate of the coding block group.

[0123] Step 701C: determine the ratio of the number of errors to the total number of coding blocks as the block error rate of the coding block group, where the total number of coding blocks is the total number of coding blocks included in the coding block group.

[0124] The formula for determining the block error rate may be: block error rate = number of errors / total number of coding blocks. When the terminal obtains the number of errors in the coding blocks with transmission errors in the coding block group, the ratio of the number of errors to the total number of coding blocks in the coding block group is determined as the block error rate of the coding block group.

[0125] Optionally, in the process of dividing the coding block groups, the coding block groups may be determined by setting the statistical length of the block error rate. Correspondingly, in an exemplary example, the process of determining the coding block groups may include the following steps:

[0126] Step 1: Determine the statistical length of the block error rate.

[0127] Step 2: Based on the statistical length, determine the coding block group, and the total number of coding blocks included in the coding block group with different statistical lengths is different.

[0128] Different statistical lengths correspond to different total numbers of coding blocks contained in coding block groups. In a possible implementation, the terminal pre-sets a statistical length of the block error rate so as to divide the coding block group by the statistical length to obtain its corresponding block error rate.

[0129] Optionally, the statistical length can be set according to the needs of business personnel; multiple optional statistical length values ​​can also be pre-set so that they can be dynamically adjusted according to the network transmission quality during actual use. For example, when the network transmission quality is good (the block error rate may be relatively low), a relatively long statistical length can be set, and the corresponding coding block group contains more coding blocks; when the network transmission quality is poor (the block error rate may be relatively high), a relatively short statistical length can be set, and the corresponding coding block group contains fewer coding blocks.

[0130] Step 702: Determine the transmission timing of the coding block group.

[0131] Step 703: Determine the compression rate of the first coding block based on the transmission timing and the block error rate.

[0132] In the HARQ process, there are two transmission opportunities for the coding block: initial transmission and retransmission. If the coding block is transmitted incorrectly during the initial transmission, a retransmission control instruction needs to be sent to the transmitter so that the transmitter can retransmit the coding block with transmission errors during the initial transmission. Different transmission opportunities have different requirements for data access bandwidth. The initial transmission only needs to store the coding block with transmission errors in the storage area, while the retransmission needs to read the coding block with transmission errors during the initial transmission (or the last retransmission) from the storage area, and also needs to store the coding block with transmission errors in this transmission in the storage area again. Therefore, in order to alleviate the pressure of the retransmission process on the bandwidth of the storage area, in one possible implementation, the terminal needs to obtain the transmission timing of the coding block group, so as to jointly determine the compression rate corresponding to the first coding block based on the transmission timing and the block error rate.

[0133] In an illustrative example, step 703 may include step 703A and step 703B.

[0134] Step 703A: when the transmission timing is an initial transmission, determine a first compression rate of the first coding block based on the transmission timing and the block error rate.

[0135] Step 703B: when the transmission timing is retransmission, determine a second compression rate of the first coding block based on the transmission timing and the block error rate, and the second compression rate is greater than the first compression rate.

[0136] Optionally, the terminal is provided with a corresponding relationship between the block error rate and the compression rate for different transmission opportunities. In an exemplary example, the corresponding relationship between the transmission opportunity, the block error rate and the compression rate may be as shown in Table 3.

[0137] Table 3

[0138]

[0139] When the terminal determines that the transmission timing of the coding block group is the initial transmission, the corresponding relationship between the block error rate and the compression rate can be selected according to the initial transmission timing, and then the first compression rate corresponding to the block error rate can be selected according to the block error rate. For example, if the transmission timing is the initial transmission and the block error rate is 100%, it can be seen from Table 3 that the first compression rate determined according to the transmission timing and the block error rate is compression rate 3.

[0140] Optionally, when the terminal determines that the transmission timing of the coding block group is retransmission, the corresponding relationship between the block error rate and the compression rate can be selected according to the transmission timing retransmission, and then the second compression rate corresponding to the block error rate can be selected according to the block error rate. Exemplarily, if the transmission timing is retransmission and the block error rate is 100%, it can be seen from Table 3 that the second compression rate determined according to the transmission timing and the block error rate is compression rate 4.

[0141] Optionally, since the demand for data access bandwidth for retransmission is greater than that for initial transmission, in order to reduce the data read and write bandwidth in the retransmission scenario, it is set that when the block error rate is the same, the compression rate corresponding to the retransmission is greater than the compression rate corresponding to the initial transmission, that is, when the block error rate is the same, the second compression rate corresponding to the retransmission scenario is greater than the first compression rate corresponding to the initial transmission scenario.

[0142] Step 704: compress the first coding block based on the compression ratio to obtain compressed data.

[0143] Optionally, when the transmission timing is the initial transmission, based on the transmission timing and the block error rate, the compression rate of the first coding block is determined to be the first compression rate, and then the first coding block can be compressed according to the first compression rate to obtain compressed data.

[0144] Optionally, when the transmission timing is the initial transmission, the compression rate of the first coding block is determined to be the second compression rate based on the transmission timing and the block error rate, and then the first coding block can be compressed according to the second compression rate to obtain compressed data.

[0145] The implementation of step 704 may refer to the above embodiment, and will not be described in detail in this embodiment.

[0146] Step 705: store the compressed data in a storage area, and the compressed data is used for combining and decoding with the next retransmitted coded block.

[0147] Since the compressed data needs to be merged and decoded the next time the terminal receives the retransmitted coding block (data), after the compressed data is generated, the compressed data needs to be stored in the storage area so that after receiving the retransmitted coding block transmitted by the sender next time, the compressed data can be read from the storage area so as to be merged and decoded according to the compressed data and the retransmitted coding block.

[0148] Optionally, the storage area may be a DDR or other storage area, which is not limited in the embodiments of the present application.

[0149] In this embodiment, based on the demand for data access bandwidth at different transmission times, a corresponding relationship between the block error rate and the compression rate is set for different transmission times, so as to meet the bandwidth demand for data access at the retransmission time. In addition, a higher compression rate is adopted at the retransmission time, which can also improve the performance of subsequent combined decoding. In addition, by adopting the dynamic adjustment of the compression rate in this embodiment, for scenarios with high data transmission rate and high block error rate, the maximum bandwidth demand for the storage area (DDR) can also be made less than the peak bandwidth of the DDR.

[0150] At the same transmission time, different block error rates are set with different compression rates. Since a higher block error rate indicates a larger amount of data to be accessed, a relatively higher compression rate needs to be set to reduce the bandwidth pressure on data access. A lower block error rate indicates a smaller amount of data to be accessed, so in order to improve the performance of subsequent combined decoding and avoid a large loss of valid data due to a higher compression rate, a relatively lower compression rate can be set.

[0151] exist Figure 7 On the basis of Figure 8 As shown, step 703 can be replaced by steps 801 to 804.

[0152] Step 801, when the transmission timing is initial transmission and the block error rate is a first block error rate, determine a third compression rate of a first coding block.

[0153] Step 802, when the transmission timing is initial transmission and the block error rate is a second block error rate, determine a fourth compression rate of the first coding block, wherein the first block error rate is greater than the second block error rate, and the third compression rate is greater than the fourth compression rate.

[0154] It can be seen from Table 3 that, when the transmission timing is the same, different block error rates are set with different compression rates, and when the block error rate is high, a relatively high compression rate is set, and when the block error rate is low, a relatively low compression rate is set. In a possible implementation, when the transmission timing is initial transmission and the first block error rate is greater than the second block error rate, a third compression rate is determined based on the first block error rate, a fourth compression rate is determined based on the second block error rate, and the third compression rate is greater than the fourth compression rate.

[0155] In an exemplary example, in the case of initial transmission, if the block error rate of coding block group A is 50% and the block error rate of coding block group B is 100%, then in the compression rate determined based on the block error rate: the compression rate 1 corresponding to coding block group A is less than the compression rate 2 corresponding to coding block group B.

[0156] Optionally, when the correspondence between the block error rate and the compression rate is the correspondence between the block error rate range and the compression rate, the block error rates in the same block error rate range may correspond to the same compression rate. For example, if the correspondence between the block error rate and the compression rate indicates that a block error rate of 80% to 100% corresponds to a compression rate of 3, at the time of initial transmission, the block error rate corresponding to coding block group A is 85%, and the block error rate corresponding to coding block group B is 90%, and the block error rates are both within the block error rate range of 80% to 100%, then based on the block error rates, it is determined that the compression rates of the two are the same, which is a compression rate of 3.

[0157] Step 803: When the transmission timing is retransmission and the block error rate is the third block error rate, determine a fifth compression rate of the first coding block.

[0158] Step 804, when the transmission opportunity is retransmission and the block error rate is the fourth block error rate, determine the sixth compression rate of the first coding block, wherein the third block error rate is greater than the fourth block error rate, and the fifth compression rate is greater than the sixth compression rate.

[0159] Similar to the initial transmission, when the transmission timing is the same, different compression rates are set for different block error rates, and when the block error rate is high, a relatively high compression rate is set, and when the block error rate is low, a relatively low compression rate is set. In a possible implementation, when the transmission timing is retransmission and the third block error rate is greater than the fourth block error rate, a fifth compression rate is determined based on the third block error rate, a sixth compression rate is determined based on the fourth block error rate, and the fifth compression rate is greater than the sixth compression rate.

[0160] In an exemplary example, in the case of retransmission, if the block error rate of coding block group A is 50% and the block error rate of coding block group B is 100%, then in the compression rate determined based on the block error rate: the compression rate 1 corresponding to coding block group A is less than the compression rate 2 corresponding to coding block group B.

[0161] Optionally, when the correspondence between the block error rate and the compression rate is the correspondence between the block error rate range and the compression rate, the block error rates in the same block error rate range may correspond to the same compression rate. For example, if the correspondence between the block error rate and the compression rate indicates that a block error rate of 80% to 100% corresponds to a compression rate of 4, at the time of retransmission, the block error rate corresponding to coding block group A is 85%, and the block error rate corresponding to coding block group B is 90%, and the block error rates are both within the block error rate range of 80% to 100%, then based on the block error rates, it is determined that the compression rates of the two are the same, which is a compression rate of 4.

[0162] In this embodiment, at the same transmission time, a relatively high compression rate is set for a coding block group with a higher block error rate to reduce the data access bandwidth in the scenario with a higher block error rate; and a relatively low compression rate is set for a coding block group with a lower block error rate. While ensuring that the data access bandwidth is low, the proportion of valid data in subsequent combined decoding can be increased, thereby ensuring the performance of subsequent combined decoding.

[0163] Please refer to Fig. 9 , which shows a schematic diagram of a process of dynamically adjusting the compression rate shown in an exemplary embodiment of the present application. The process has five parts:

[0164] (1) Compression rate gear and block error rate gear setting: Set the corresponding relationship between block error rate and compression rate at different transmission times. The gear settings for initial transmission and retransmission are different. Retransmission has both soft bit offload to DDR and soft bit onload from DDR. The bandwidth requirement of DDR is greater than that of initial transmission, and the compression rate is larger than that of initial transmission. The number of bits under compression rate is smaller than that of initial transmission.

[0165] (2) Block error rate statistics: After decoding each coded block, the decoder reports the CRC result to the software. The software sets a sliding window (statistical length) to count the CRC results. For example, the length of the sliding window is L, and the step length is S. Assuming that the number of coded blocks in a window length is N, and there are M CRC errors among them, then the error rate of the coded blocks in the window length L is M / N.

[0166] (3) Mapping compression rate gears according to block error rate: According to the initial transmission and retransmission conditions and the statistical block error rate, the compression rate and block error rate gear table is searched to obtain the compression ratio of the soft bit (coded block).

[0167] (4) Using the mapped compression rate: After the software obtains the compression rate corresponding to the block error rate according to the configuration, the coded blocks (soft bits) with transmission errors can be compressed according to the compression rate.

[0168] (5) Soft bit storage: The compressed soft bits are stored in DDR.

[0169] In addition, in order to solve the problem brought about by the above-mentioned related technology (1), the embodiment of the present application also provides a method for dynamically adjusting the maximum number of decoding iterations to further improve the decoding performance. Fig.10 , which shows a flowchart of a method for wireless communication shown in an exemplary embodiment of the present application. The embodiment of the present application is described by taking the method applied to a terminal as an example. The method includes:

[0170] Step 1001, during decoding of a transport block, obtain the used decoding time consumed after decoding of the i-th coding block group, the transport block is divided into m coding block groups, each coding block group contains at least one coding block, m is a positive integer, and i is a positive integer less than or equal to m.

[0171] Since the number of decoding iterations required to complete decoding of each coding block in the transmission block is different, the number of decoding iterations required for the coding block with a high signal-to-noise ratio is relatively small, while the number of decoding iterations required for the coding block with a low signal-to-noise ratio is relatively large. In order to reserve the number of iterations (iteration time) saved by decoding the previous coding block for the subsequent coding block, in a possible implementation, during the decoding process of the transmission block, the terminal can obtain the used decoding time consumed from the start of decoding to the end of decoding the i-th coding block group after the decoding of the i-th coding block group is completed, and the total decoding time consumed for decoding the transmission block, and dynamically update the maximum number of decoding iterations that can be reserved for decoding the subsequent coding blocks.

[0172] Optionally, when updating the decoding iteration count threshold (maximum decoding iteration count), it may be set that the decoding iteration count threshold of the next coding block is updated after the decoding of each coding block is completed; it may also be set that the decoding iteration count threshold of the next coding block is updated after the decoding of every two or more coding blocks is completed. In this embodiment, m coding block groups are obtained by dividing the transport block according to the granularity of the coding block, so that after the decoding of each coding block group is completed, the decoding iteration count threshold of each coding block in the next coding block group is updated. Each coding block group may include one coding block, or may include two or more coding blocks. Optionally, the number of coding blocks included in different coding block groups may be the same. For example, if a transmission block contains 100 coding blocks, the transmission block can be divided into 10 coding block groups, and each coding block group contains 10 coding blocks. Optionally, the number of coding blocks included in different coding block groups may be different. For example, if a transmission block contains 100 coding blocks, the transmission block can be divided into 10 coding block groups, and the number of coding blocks included in different coding block groups is {10, 5, 15, 12, 8, 11, 9, 13, 7, 10}.

[0173] It should be noted that when the embodiment of the present application decodes the transport block, if the number of decoding iterations consumed by the coding block after the decoding is completed is less than the maximum number of decoding iterations (decoding iteration threshold), the decoder will directly decode the next coding block, thereby saving decoding time for subsequent coding blocks.

[0174] Step 1002, determining the total decoding time required to decode the transport block.

[0175] Optionally, the total decoding time required for decoding the transport block is set in the terminal, and the total decoding time can be directly obtained when the decoding iteration number threshold is updated. Optionally, different total decoding times can be set for transport blocks containing different numbers of coding blocks. For example, if the number of coding blocks contained in the transport block is large, a relatively long total decoding time can be set, and if the number of coding blocks contained in the transport block is small, a relatively short total decoding time can be set.

[0176] Step 1003: based on the total decoding time and the used decoding time, update the decoding iteration number threshold of each coding block in the i+1th coding block group, and the decoding iteration number of each coding block in the i+1th coding block group is less than or equal to the decoding iteration number threshold.

[0177] Different from the related art, in the embodiment of the present application, after the decoding of each coding block group is completed, the terminal can determine the decoding time that can be consumed by the subsequent coding block group based on the consumed decoding time and the total decoding time, and then update the decoding iteration number threshold of each coding block in the i+1th coding block group, so that when the decoder decodes the i+1th coding block group, it can decode based on the updated decoding iteration number threshold, ensuring that the decoding iteration number of each coding block in the i+1th coding block group is less than or equal to the decoding iteration number threshold.

[0178] In an illustrative example, if the transmission block contains 100 coding blocks, the total decoding time is 100ms, which is divided into 10 coding block groups, each coding block group contains 10 coding blocks, and the decoder consumes 10ms in decoding the first 2 coding block groups, then the decoding time available for the decoder to decode the subsequent 8 coding block groups is 90ms, then more decoding time can be allocated to subsequent coding blocks, corresponding to more decoding iteration thresholds.

[0179] Optionally, after decoding of the i+1th coding block group is completed, the decoding iteration number threshold of each coding block in the i+2th coding block group can still be updated based on the used decoding time and the total decoding time consumed from the first coding block group to the i+1th coding block group until the decoding of the transmission block is completed.

[0180] In summary, in the embodiment of the present application, by obtaining the used decoding time consumed by the decoding of the early coding block group and the total decoding time required for decoding the transmission block, the maximum number of decoding iterations available for each coding block when decoding the subsequent coding block group is dynamically updated. This allows more decoding time and decoding iterations to be reserved for the later coding block group when the early signal-to-noise ratio is high, so that more decoding iterations can be used to decode the coding blocks in the later stage, avoiding the problem of fewer decoding iterations available for some coding blocks when the late signal-to-noise ratio is low, thereby improving the decoding performance of the decoder for the transmission block.

[0181] In the process of updating the decoding iteration number threshold based on the used decoding time and the total decoding time, the total number of decoding iterations available for the subsequent coding block group can be determined according to the used decoding time and the total decoding time, and then the maximum number of decoding iterations available for each coding block can be determined based on the total number of decoding iterations.

[0182] Please refer to Fig.11 , which shows a flowchart of a method for wireless communication shown in another exemplary embodiment of the present application. The embodiment of the present application is described by taking the method applied to a terminal as an example. The method includes:

[0183] Step 1101, during decoding of a transport block, obtain the used decoding time consumed after decoding of the i-th coding block group, the transport block is divided into m coding block groups, each coding block group contains at least one coding block, m is a positive integer, and i is a positive integer less than or equal to m.

[0184] Optionally, when dividing the transport block, the transport block may be divided according to the number of coding blocks included in the transport block. The corresponding process of dividing the transport block may include the following steps 1 and 2.

[0185] Step 1: Obtain the second coding block quantity of the coding blocks included in the transmission block.

[0186] Step 2: Based on the second number of coding blocks, determine the number of coding block groups into which the transport block is divided, and the number of coding block groups is positively correlated with the total number of coding blocks.

[0187] If the number of coding blocks included in the transmission block is large, in order to avoid the large granularity of the coding block group, which leads to a slow update frequency of the maximum number of decoding iterations, it is impossible to achieve the purpose of reserving more decoding iterations for subsequent coding blocks. Therefore, in a possible implementation, the terminal can dynamically divide the transmission block according to the number of second coding blocks of the coding blocks included in the transmission block. For example, if the number of coding blocks included in the transmission block is large, relatively more coding block groups can be divided to increase the update frequency of the maximum number of decoding iterations; if the number of coding blocks included in the transmission block is small, relatively fewer coding block groups can be divided to reduce the amount of calculation of the maximum number of decoding iterations.

[0188] Optionally, a correspondence between the number of second coding blocks included in the transmission block and the number of coding block groups into which the transmission block is divided can be set in the terminal. After obtaining the second number of coding blocks of the coding blocks included in the transmission block, the terminal can demap the number of corresponding coding block groups based on the second number of coding blocks, so as to divide the transmission block based on the number of coding block groups and divide the transmission block into a corresponding number of coding block groups.

[0189] Step 1102, determining the total decoding time required to decode the transport block.

[0190] Optionally, since the unit decoding time of the decoder (the time required for a single decoding operation) is a fixed value, the total decoding time required to decode the transport block will be determined by the size of the transport block. If the transport block contains a large number of coding blocks, the total decoding time required for the transport block will also be relatively large; if the transport block contains a small number of coding blocks, the total decoding time required for the transport block will also be relatively small. Correspondingly, in an exemplary example, step 1102 may include step 1102A and step 1102B.

[0191] Step 1102A: Obtain the second number of coding blocks of the coding blocks included in the transport block.

[0192] Step 1102B: Determine the total decoding time required to decode the transport block based on the second number of coding blocks.

[0193] Optionally, the terminal may be configured with a correspondence between the transport block size and the required total decoding time. When the terminal obtains the second number of coding blocks of the coding blocks included in the transport block, the corresponding total decoding time may be mapped based on the second number of coding blocks to determine the total decoding time required for the decoder to decode the transport block.

[0194] Optionally, the total decoding time is positively correlated with the number of coding blocks. If the transmission block contains more second coding blocks of the coding blocks, the total decoding time that the transmission block may need to consume will also be relatively long; if the transmission block contains fewer second coding blocks of the coding blocks, the total decoding time that the transmission block may need to consume will also be relatively short.

[0195] Step 1103: Determine the total number of decoding iterations available for decoding the i+1th coding block group to the mth coding block group based on the total decoding time, the used decoding time and the unit iteration time.

[0196] The unit iteration time is the time required for the decoder to perform a single decoding operation on the coding block. Optionally, the unit iteration time may be affected by the bit rate corresponding to the transport block. The terminal may determine the unit iteration time required to decode the coding block corresponding to the transport block according to the bit rate of the transport block.

[0197] In a possible implementation, after the terminal obtains the total decoding time of the transmission block and the used decoding time used for decoding the previous coding blocks (the first coding block to the i-th coding block), the available decoding time that can be used from the i+1-th coding block group to the m-th coding block group can be determined based on the total decoding time and the used decoding time; further, the terminal can obtain the unit iteration time required for a single decoding, so as to determine the total number of decoding iterations available for decoding the i+1-th coding block group to the m-th coding block group based on the unit iteration time and the available decoding time. That is, the i+1-th coding block group to the m-th coding block group need to be decoded after the total number of decoding iterations.

[0198] Step 1104: based on the total number of decoding iterations, update the decoding iteration number threshold of each coding block in the (i+1)th coding block group.

[0199] When the terminal obtains the total number of decoding iterations required for the i+1th coding block group to the mth coding block group, the decoding iteration number threshold of each coding block in the i+1th coding block group can be updated according to the total number of decoding iterations. Correspondingly, in an exemplary example, step 1104 may include steps 1104A to 1104C.

[0200] Step 1104A: determine the first number of coding blocks that have been decoded after the decoding of the i-th coding block group is completed.

[0201] Step 1104B: Determine the second number of coding blocks of the coding blocks included in the transport block.

[0202] Step 1104C: Determine a threshold of the number of decoding iterations for each coding block in the (i+1)th coding block group based on the number of first coding blocks, the number of second coding blocks, and the total number of decoding iterations.

[0203] In an exemplary example, the maximum number of decoding iterations (decoding iteration threshold) available for the (i+1)th coding block group may be determined as shown in formula (5).

[0204] N_iteration=(T-T1) / (mn)*t_per_iteration(5)

[0205] Among them, N_iteration represents the maximum number of decoding iterations available for the i+1th coding block group, T represents the total decoding time, T1 represents the used decoding time, m represents the number of second coding blocks of the coding blocks included in the transmission block, n represents the number of first coding blocks of the coding blocks that have been decoded after the decoding of the i-th coding block group is completed, and t_per_iteration represents the unit iteration time.

[0206] It can be seen from formula (5) that the terminal can obtain the used decoding time, the total decoding time, the number of first coding blocks of the coding blocks that have completed decoding, the number of second coding blocks of the coding blocks included in the transmission block, and the unit iteration time, and use formula (5) to calculate the maximum number of decoding iterations (decoding iteration number threshold) available for the i+1th coding block group.

[0207] Optionally, the terminal may first determine the total number of decoding iterations available from the i+1th coding block group to the mth coding block group based on the used decoding time, the total decoding time and the unit iteration time; and obtain the first number of coding blocks of the coding blocks that have been decoded after the decoding of the i-th coding block group is completed, and the second number of coding blocks of the coding blocks included in the transmission block, determine the third number of coding blocks remaining to be decoded in the transmission block, and then determine the decoding iteration number threshold for each coding block in the i+1th coding block group based on the third number of coding blocks and the total number of decoding iterations.

[0208] like Fig.12 As shown, it shows a schematic diagram of the updating process of the decoding iteration number threshold shown in an exemplary embodiment of the present application. When the time consumed after the decoding of the coding block group (coding blocks CB0 to CBn-1) is completed is T1, the maximum decoding iteration number N of the coding block CBn can be updated according to the total decoding time T, the used decoding time T1, the unit iteration time, the number of the first coding blocks, and the number of the second coding blocks.

[0209] In an illustrative example, if a transmission block contains 100 coding blocks, which are divided into 10 coding block groups, each coding block group contains 10 coding blocks, the total decoding time of the transmission block is 600ms, and the unit iteration time is 1ms. Then, by adopting the method in the related art, the maximum number of iterations for each coding block is 6 times; and by adopting the method of dynamically updating the maximum number of iterations in the embodiment of the present application, if the time required for decoding the first 5 coding block groups is 200ms, the available time for decoding the subsequent 5 coding block groups is 400ms, then the maximum decoding iteration time for each coding block in the subsequent 5 coding block groups can be increased to 8 times, thereby reserving more decoding iterations for subsequent coding blocks, thereby improving the decoding success rate of each coding block.

[0210] Step 1105: Send the updated decoding iteration number threshold to the decoder, and the decoder decodes the (i+1)th coding block group based on the decoding iteration number threshold.

[0211] In a possible implementation, the calculation process of the decoding iteration number threshold is calculated by the software layer. After the software layer calculates the updated decoding iteration number threshold, the updated decoding iteration number threshold can be sent to the decoder, so that the decoder decodes the i+1th coding block group based on the updated decoding iteration number threshold. In the decoding process of the i+1th coding block group, the maximum decoding number of each coding block does not exceed the decoding iteration number threshold.

[0212] In this embodiment, by obtaining the used decoding time, the total decoding time, the number of first coding blocks of the coding blocks that have completed decoding, the number of second coding blocks of the coding blocks included in the transmission block, and the unit iteration time, the maximum number of decoding iterations available for the i+1th coding block group is calculated, and a calculation method for the maximum number of decoding iterations is provided, so that the maximum number of decoding iterations of each coding block group can be dynamically adjusted during the decoding process of the same transmission block, thereby improving the decoding performance of the decoder.

[0213] In summary, the HARQ process after the above three improvements is as follows (the process mainly includes: data storage stage, data reading stage and decoding stage):

[0214] In the data storage stage: after the decoder decodes the transmission block, the block error rate of the coding block group is calculated according to the CRC result obtained in the decoding process, so as to map the corresponding compression rate according to the block error rate, and then use the compression rate to compress the coding block with transmission errors, and store the compressed data (compressed soft bit data) in the storage area, which can be DDR, so as to be merged and decoded with the retransmitted coding block later.

[0215] In the data reading stage: the allocation strategy of the pre-fetch storage area can be selected according to the network standard type, and the pre-fetch storage area can be allocated according to the allocation principle of the carrier bandwidth and the number of MIMO layers, and a storage area of ​​a suitable size is reserved for the error coding blocks required for merging, so that more soft bit data (i.e., the compressed data stored in the DDR during the data storage stage) can be pre-fetched according to the amount of error coding blocks required for merging, thereby reducing the direct reading operation of the compressed data in the DDR, thereby improving the efficiency of merging and decoding.

[0216] In the decoding stage: whether it is the initial transmission stage or the retransmission stage (in the initial transmission stage, only the transmitted coded blocks are decoded, and in the retransmission stage, the merged coded blocks need to be decoded), the transmission blocks to be decoded can be divided into multiple coded block groups. After the decoding of each coded block group is completed, the maximum number of decoding iterations of each coded block in the subsequent coded block group can be updated according to the consumed decoding time, the total decoding time, the number of decoded coded blocks, and the total number of coded blocks in the transmission block. In this way, when the signal-to-noise ratio is high in the early stage, more decoding time and decoding iterations can be reserved for the subsequent coded blocks, thereby increasing the maximum number of decoding iterations of the subsequent coded blocks, so as to increase the decoding success rate of the subsequent coded blocks and further improve the decoding performance of the subsequent coded blocks.

[0217] Please refer to Fig.13 , which shows a structural block diagram of a device for wireless communication provided by an embodiment of the present application. The device includes:

[0218] The acquisition module 1301 is used to acquire the network standard type of the terminal when transmitting the retransmission coding block;

[0219] A determination module 1302 is used to determine an allocation strategy for a pre-fetch storage area based on the network standard type, the pre-fetch storage area is used to pre-store an error coding block of a last transmission error, and the allocation strategy is used to indicate a storage area size occupied by the error coding block in the pre-fetch storage area;

[0220] The allocation module 1303 is configured to divide the pre-fetch storage area into at least two sub-storage areas based on the allocation strategy.

[0221] In an optional embodiment, the determining module 1302 is further configured to:

[0222] In the case where the network standard type is a single network standard, determining a first allocation strategy of the pre-fetch storage area;

[0223] When the network standard type is a hybrid network standard, a second allocation strategy for the pre-fetch storage area is determined, the hybrid network standard indicates that the terminal uses at least two network standards simultaneously for data transmission, and the first allocation strategy is different from the second allocation strategy.

[0224] In an optional embodiment, the allocation module 1303 is further used to:

[0225] In the case of determining the first allocation strategy, obtaining a first carrier configuration parameter and a first MIMO layer configuration parameter of the terminal, wherein the first carrier configuration parameter at least includes a carrier bandwidth of at least two first carriers configured for the terminal, and the first MIMO layer configuration parameter includes a first MIMO layer number of each of the first carriers;

[0226] Based on the first carrier configuration parameter and the first MIMO layer configuration parameter, the pre-fetch storage area is divided into at least two sub-storage areas, and different sub-storage areas are used to pre-store the error coding blocks corresponding to different carriers.

[0227] In an optional embodiment, the allocation module 1303 is further used to:

[0228] Acquire the total storage capacity of the pre-fetch storage area;

[0229] Determine a carrier bandwidth and a corresponding number of MIMO layers of a carrier that carries the retransmission coding block transmission, wherein the carrier that carries the retransmission coding block transmission belongs to the first carrier;

[0230] Based on the product of the carrier bandwidth and the number of MIMO layers, the sum of the products of the carrier bandwidth of each of the first carriers and the first number of MIMO layers, and the total storage capacity, determine the sub-storage capacity of the sub-storage area corresponding to the carrier that carries the retransmission coding block transmission.

[0231] In an optional embodiment, the allocation module 1303 is further used to:

[0232] In the case of determining the second allocation strategy, allocating a first sub-storage area for the first network standard based on the number of transport blocks of the transport blocks under the first network standard;

[0233] Obtain the second carrier configuration parameters and the second MIMO layer configuration parameters of the terminal under the second network standard, and allocate a second sub-storage area for the second network standard based on the second carrier configuration parameters and the second MIMO layer configuration parameters, wherein the second carrier configuration parameters at least include the carrier bandwidth of at least two second carriers configured for the terminal under the second network standard, and the second MIMO layer configuration parameters include the number of second MIMO layers of each second carrier.

[0234] In an optional embodiment, the allocation module 1303 is further used to:

[0235] Determining a remaining storage capacity of the second sub-storage area based on the total storage capacity and the storage area capacity of the first sub-storage area;

[0236] Acquire a carrier bandwidth and a corresponding number of MIMO layers of a carrier that carries the retransmission coding block transmission, where the carrier that carries the retransmission coding block transmission belongs to the second carrier;

[0237] Based on the product of the carrier bandwidth and the number of MIMO layers, the sum of the products of the carrier bandwidth of each second carrier and the number of second MIMO layers, and the remaining storage capacity, determine the sub-storage capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission.

[0238] In an optional embodiment, the first network standard is 4G, and the second network standard is 5G.

[0239] In an optional embodiment, the device further comprises:

[0240] A pre-fetch module, used for pre-fetching the error coding block of the sub-storage capacity size from the DDR according to the sub-storage capacity of the sub-storage area;

[0241] A merging module, used to merge the erroneous coding block and the retransmission coding block to obtain a merged coding block;

[0242] A decoding module is used to perform decoding processing on the merged coding block.

[0243] To summarize, in the embodiments of the present application, taking into account the different demands for error coding blocks in the retransmission process under different network configurations, different allocation strategies are set for the pre-fetch storage area based on different network standard types, so that in the process of retransmitting the coding block, the pre-fetch storage area can be divided into the required storage area size in advance according to the demand for error coding blocks based on the network standard type and its corresponding allocation strategy, thereby making full use of the storage space of the pre-fetch storage area, pre-fetching more error coding blocks, and improving the efficiency of subsequent merge decoding.

[0244] Please refer to Fig.14 , which shows a block diagram of a terminal 1400 provided by an exemplary embodiment of the present application. The terminal 1400 in the present application may include one or more of the following components: a processor 1410 , a memory 1420 , a receiver 1430 , and a transmitter 1440 .

[0245] The processor 1410 may include one or more processing cores. The processor 1410 uses various interfaces and lines to connect various parts of the entire terminal 1400, and executes various functions and processes data of the terminal 1400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1420, and calling data stored in the memory 1420. Optionally, the processor 1410 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1410 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1410, but may be implemented separately through a baseband chip.

[0246] The memory 1420 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1420 includes a non-transitory computer-readable storage medium. The memory 1420 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1420 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The operating system may be an Android system (including a system deeply developed based on the Android system), an IOS system developed by Apple (including a system deeply developed based on the IOS system) or other systems. The storage data area may also store data (such as a phone book, audio and video data, chat record data) created by the terminal 1400 during use.

[0247] The receiver 1430 and the transmitter 1440 may be implemented as a communication component, which may be a baseband chip.

[0248] In addition, those skilled in the art can understand that the structure of the terminal 1400 shown in the above drawings does not constitute a limitation on the terminal 1400, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal 1400 also includes a radio frequency circuit, a shooting component, a sensor, an audio circuit, a wireless fidelity (WiFi) component, a power supply, a Bluetooth component, and other components, which will not be described in detail here.

[0249] An embodiment of the present application further provides a chip, which includes a programmable logic circuit and / or program instructions, and when the chip is running, is used to implement the method for wireless communication as described in the above aspects.

[0250] The present application also provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the method for wireless communication provided by any of the above exemplary embodiments.

[0251] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method for wireless communication provided in the above optional implementation.

[0252] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0253] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for wireless communication, characterized in that: The method comprises: Get the network standard type of the terminal when transmitting the retransmission coding block; Based on the network standard type, determine an allocation strategy for a pre-fetch storage area, the pre-fetch storage area is used to pre-store an error coding block of a last transmission error, and the allocation strategy is used to indicate the size of the storage area occupied by the error coding block in the pre-fetch storage area, wherein, when the network standard type is a single network standard, the allocation strategy of the pre-fetch storage area is a first allocation strategy; when the network standard type is a hybrid network standard, the allocation strategy of the pre-fetch storage area is a second allocation strategy, the hybrid network standard indicates that the terminal uses at least two network standards for data transmission at the same time, and the first allocation strategy is different from the second allocation strategy; Based on the allocation strategy, the pre-fetch storage area is divided into at least two sub-storage areas.

2. The method according to claim 1, characterized in that: The method of dividing the pre-fetch storage area into at least two sub-storage areas based on the allocation strategy includes: In the case of determining the first allocation strategy, obtaining a first carrier configuration parameter and a first MIMO layer configuration parameter of the terminal, wherein the first carrier configuration parameter at least includes a carrier bandwidth of at least two first carriers configured for the terminal, and the first MIMO layer configuration parameter includes a first MIMO layer number of each of the first carriers; Based on the first carrier configuration parameter and the first MIMO layer configuration parameter, the pre-fetch storage area is divided into at least two sub-storage areas, and different sub-storage areas are used to pre-store the error coding blocks corresponding to different carriers.

3. The method according to claim 1, characterized in that The dividing the pre-fetch storage area into at least two sub-storage areas based on the first carrier configuration parameter and the first MIMO layer configuration parameter comprises: Acquire the total storage capacity of the pre-fetch storage area; Determine a carrier bandwidth and a corresponding number of MIMO layers of a carrier that carries the retransmission coding block transmission, wherein the carrier that carries the retransmission coding block transmission belongs to the first carrier; Based on the product of the carrier bandwidth and the number of MIMO layers, the sum of the products of the carrier bandwidth of each of the first carriers and the first number of MIMO layers, and the total storage capacity, determine the sub-storage capacity of the sub-storage area corresponding to the carrier that carries the retransmission coding block transmission.

4. The method according to claim 1, characterized in that: The method of dividing the pre-fetch storage area into at least two sub-storage areas based on the allocation strategy includes: In the case of determining the second allocation strategy, allocating a first sub-storage area for the first network standard based on the number of transport blocks of the transport blocks under the first network standard; Obtain the second carrier configuration parameters and the second MIMO layer configuration parameters of the terminal under the second network standard, and allocate a second sub-storage area for the second network standard based on the second carrier configuration parameters and the second MIMO layer configuration parameters, wherein the second carrier configuration parameters at least include the carrier bandwidth of at least two second carriers configured for the terminal under the second network standard, and the second MIMO layer configuration parameters include the number of second MIMO layers of each second carrier.

5. The method according to claim 4, characterized in that The allocating a second sub-storage area for the second network standard based on the second carrier configuration parameter and the second MIMO layer configuration parameter includes: Determining a remaining storage capacity of the second sub-storage area based on the total storage capacity and the storage area capacity of the first sub-storage area; Acquire a carrier bandwidth and a corresponding number of MIMO layers of a carrier that carries the retransmission coding block transmission, where the carrier that carries the retransmission coding block transmission belongs to the second carrier; Based on the product of the carrier bandwidth and the number of MIMO layers, the sum of the products of the carrier bandwidth of each second carrier and the number of second MIMO layers, and the remaining storage capacity, determine the sub-storage capacity of the sub-storage area corresponding to the carrier carrying the retransmission coding block transmission.

6. The method according to claim 4, characterized in that The first network standard is 4G, and the second network standard is 5G.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Pre-fetching the error coding block of the sub-storage capacity size from the DDR according to the sub-storage capacity of the sub-storage area; Merging the erroneous coded block and the retransmitted coded block to obtain a merged coded block; The merged coding block is decoded.

8. A device for wireless communication, characterized in that: The device comprises: An acquisition module, used to acquire the network standard type of the terminal when transmitting the retransmission coding block; a determination module, configured to determine, based on the network standard type, an allocation strategy for a pre-fetch storage area, the pre-fetch storage area being used to pre-store an error coding block of a last transmission error, the allocation strategy being used to indicate a storage area size occupied by the error coding block in the pre-fetch storage area, wherein, in the case where the network standard type is a single network standard, the allocation strategy for the pre-fetch storage area is a first allocation strategy; in the case where the network standard type is a hybrid network standard, the allocation strategy for the pre-fetch storage area is a second allocation strategy, the hybrid network standard indicating that the terminal simultaneously uses at least two network standards for data transmission, and the first allocation strategy is different from the second allocation strategy; An allocation module is used to divide the pre-fetch storage area into at least two sub-storage areas based on the allocation strategy.

9. A chip, characterized in that: The chip comprises a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the method for wireless communication according to any one of claims 1 to 7.

10. A terminal, characterized in that: The terminal includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for wireless communication according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that: At least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by the processor to implement the method for wireless communication according to any one of claims 1 to 7.

12. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the method for wireless communication according to any one of claims 1 to 7.