Codebook updating method, data processing method and system, electronic equipment and chip
By using preset dynamic mode and/or preset static mode to obtain the latest target codebook during the HARQ process, the unnecessary HARQ-ACK information transmission problem in HARQ codebook processing is solved, and the chip hardware resource utilization and transmission efficiency are improved.
Patent Information
- Application Number
- CN202510045502.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, HARQ codebook processing has problems that may lead to unnecessary transmission of HARQ-ACK information and reduce the efficiency or reliability of HARQ-ACK transmission.
The latest target codebook is obtained by using preset dynamic mode and/or preset static mode, and the target codebook is obtained by dynamic calculation of LLR data after the HARQ data merge or querying the static configuration preset query table.
Under normal data transmission, the same performance as high bit transmission can still be achieved, which solves the problem of low utilization rate of traditional HARQ processing units, improves the utilization rate of chip hardware resources, reduces hardware resource consumption, and reduces chip power consumption.
Smart Images

Figure CN119853873A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a codebook updating method, a data processing method, a system, an electronic device and a chip. Background Art
[0002] HARQ (Hybrid Automatic Repeat Request) sends a retransmission control instruction to the sender, requiring the sender to retransmit data. During the storage process, the codebook needs to be calculated and updated, and the problem of processing HARQ codebooks with different physical priorities needs to be solved. Existing codebook processing schemes generally have problems such as unnecessary HARQ-ACK (a mechanism used to confirm whether data transmission is successful in wireless communications) information transmission, reducing HARQ-ACK transmission efficiency or reliability. Summary of the invention
[0003] The technical problem to be solved by the present disclosure is to overcome the above-mentioned defects in the prior art and to provide a codebook updating method, a data processing method, a system, an electronic device and a chip.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] The present disclosure provides a codebook updating method, the codebook updating method comprising:
[0006] In response to information transmission that needs to be compressed or decompressed during the HARQ process, a preset dynamic mode and / or a preset static mode is used to obtain a latest target codebook;
[0007] The preset dynamic mode is a method of obtaining the target codebook by dynamically calculating the LLR data after HARQ data merging, and the preset static mode is a method of obtaining the target codebook by querying a statically configured preset query table.
[0008] Preferably, the step of adopting the preset dynamic mode to obtain the latest target codebook includes:
[0009] Acquire the LLR data after HARQ data merging;
[0010] Numerically classifying each value in the LLR (log-likelihood ratio) data based on each codeword in the historical codebook to obtain a classification result;
[0011] Acquire a first quantity of each of the values in the LLR data input under a plurality of clocks;
[0012] Based on the classification result of each of the numerical values and the first quantity, a first preset algorithm is used to dynamically calculate and obtain the latest target codebook.
[0013] Preferably, the step of numerically classifying each value in the LLR data based on each codeword in the historical codebook to obtain a classification result includes:
[0014] Calculate the absolute value of the difference between each of the numerical values in the LLR data and each of the codewords in the historical codebook, and use the codeword with the smallest absolute value as the codeword category to which the corresponding numerical value belongs;
[0015] and / or,
[0016] The step of obtaining a first number of each of the numerical values in the LLR data input under a plurality of clocks comprises:
[0017] A second quantity of each of the numerical values in the LLR data input at each clock is obtained, and accumulation calculations are performed on different clocks in sequence to obtain the first quantity of each of the numerical values in the LLR data at a plurality of clocks.
[0018] Preferably, based on the classification result of each of the numerical values and the first quantity, the step of dynamically calculating and obtaining the latest target codebook using a first preset algorithm comprises:
[0019] Sum the products of each of the numerical values classified into the same codeword type and the corresponding first quantity to obtain a first sum value;
[0020] summing the first quantities of all the numerical values classified into the same codeword type to obtain a second sum value;
[0021] A ratio of the first sum value to the second sum value corresponding to the same codeword type is calculated, and the ratio corresponding to each codeword type is used as the target codebook.
[0022] Preferably, after the step of acquiring the first number of each of the numerical values in the LLR data input under a plurality of clocks and before the step of dynamically calculating the latest target codebook using a first preset algorithm based on the classification result of each of the numerical values and the first number, the method further includes:
[0023] In response to the classification result of each of the numerical values and the current value calculated by using the second preset algorithm for the first number being less than a historical value, and the current number of cycles being less than a preset maximum number, obtaining the step of re-executing the LLR data after the HARQ data is merged;
[0024] In response to the current value obtained by calculating the classification result of each of the numerical values and the first quantity using the second preset algorithm being greater than or equal to the historical value, the step of dynamically calculating the latest target codebook based on the classification result of each of the numerical values and the first quantity using the first preset algorithm is performed.
[0025] Preferably, preset influencing parameters of several dimensions are preconfigured;
[0026] The codebook updating method further includes:
[0027] Before HARQ merging in the HARQ process, the codebooks under the preset influencing parameters of different dimensional combinations are read, and the preset query table is generated based on the mapping relationship;
[0028] The step of adopting the preset static mode to obtain the latest target codebook includes:
[0029] Acquire the LLR data after HARQ data merging;
[0030] Acquire actual influencing parameters of several dimensions of the data based on the LLR;
[0031] Based on the actual influencing parameters and a preset address calculation formula, a target query address is calculated;
[0032] A codebook corresponding to the target query address is obtained from the preset query table and used as the target codebook.
[0033] Preferably, the preset influencing parameters of different dimensions include at least two parameters of signal-to-noise ratio, transmission delay, and modulation and coding scheme;
[0034] And / or, the preset influencing parameters of different dimensions are all time slot variable parameters;
[0035] And / or, the preset lookup table is stored in a static memory for bit-level processing.
[0036] Preferably, after the step of obtaining the LLR data after HARQ data merging, the method further includes:
[0037] Preprocessing the LLR data to extract valid data bits to obtain new LLR data;
[0038] and / or,
[0039] Before the step of adopting the preset dynamic mode and / or the preset static mode to obtain the latest target codebook, the method further includes:
[0040] In response to the current code block being in a decoding pending state, executing the step of acquiring the latest target codebook by adopting a preset dynamic mode and / or a preset static mode;
[0041] In response to the current code block being in a non-decoding pending state, other tasks having a higher priority than updating the codebook are preferentially executed, and the task of updating the target codebook is set to a pending state.
[0042] Preferably, the codebook updating method further includes:
[0043] In response to a cyclic redundancy check error in the current code block or a software configuration forcing the output of soft bits, the HARQ data of the current code block is merged, and the LLR data after the HARQ data is merged is acquired to obtain the target codebook.
[0044] The present disclosure also provides a data processing method, which is implemented based on the above codebook updating method, and the data processing method includes:
[0045] In response to writing the LLR data back to the memory, performing a compression operation based on a target codebook obtained by the codebook updating method;
[0046] In response to acquiring the LLR data from the memory, a decompression operation is performed based on the target codebook obtained by the codebook updating method.
[0047] The present disclosure also provides a codebook updating system, the codebook updating system comprising:
[0048] A target codebook acquisition module, configured to acquire the latest target codebook in response to information transmission that needs to be compressed or decompressed during the HARQ process, using a preset dynamic mode and / or a preset static mode;
[0049] The preset dynamic mode is a method of obtaining the target codebook by dynamically calculating the LLR data after HARQ data merging, and the preset static mode is a method of obtaining the target codebook by querying a statically configured preset query table.
[0050] The present disclosure further provides a data processing system, wherein the data processing method is implemented based on the above-mentioned codebook updating system, and the data processing system comprises:
[0051] A first data processing module, configured to, in response to writing the LLR data back to the memory, perform a compression operation based on a target codebook obtained by the codebook updating method;
[0052] The second data processing module is configured to, in response to acquiring the LLR data from the memory, perform a decompression operation based on a target codebook obtained by the codebook updating method.
[0053] The present disclosure also provides a chip, the chip comprising at least one processor, the processor being used to execute program instructions to execute the codebook updating method as described above; or to execute the data processing method as described above.
[0054] The present disclosure also provides a chip module, which includes at least one processor, and the processor is used to execute program instructions to execute the codebook updating method as described above; or to execute the data processing method as described above.
[0055] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein the processor implements the above-mentioned codebook updating method when executing the computer program; or implements the above-mentioned data processing method.
[0056] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the codebook updating method as described above is implemented; or the data processing method as described above is implemented.
[0057] The present disclosure also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the codebook updating method as described above is implemented; or the data processing method as described above is implemented.
[0058] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.
[0059] The positive and progressive effects of this disclosure are:
[0060] In the present disclosure, the codebook is updated by means of a preset dynamic mode and a preset static mode, and storage resources are allocated. Under normal data transmission conditions, the same performance as high-bit transmission can still be achieved, thereby solving the problem of low utilization of traditional HARQ processing units, improving the hardware resource utilization of the chip, reducing hardware resource consumption, reducing chip power consumption, and effectively improving chip working efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 This is a flowchart of a codebook updating method according to Embodiment 1 of the present disclosure;
[0062] Figure 2 This is a first flow chart of a codebook updating method according to Embodiment 2 of the present disclosure;
[0063] Figure 3 This is a second flow chart of the codebook updating method of Embodiment 2 of the present disclosure;
[0064] Figure 4 This is a schematic diagram of a codebook update process in the HARQ data compression and decompression process of Embodiment 2 of the present disclosure;
[0065] Figure 5 This is a schematic diagram of a hardware framework for implementing a codebook updating method according to Embodiment 2 of the present disclosure;
[0066] Figure 6 This is a flow chart of a data processing method according to Embodiment 3 of the present disclosure;
[0067] Figure 7 This is a module diagram of a codebook updating system according to Embodiment 4 of the present disclosure;
[0068] Figure 8 This is a module diagram of a codebook updating system according to Embodiment 5 of the present disclosure;
[0069] Fig. 9 This is a module diagram of a data processing system according to Embodiment 6 of the present disclosure;
[0070] Fig.10 A schematic diagram of the structure of an electronic device provided in Embodiment 9 of the present disclosure. DETAILED DESCRIPTION
[0071] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0072] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
[0073] In order to ensure that the terminal and the network have a completely consistent understanding of the number of bits in the HARQ-ACK codebook and feedback the HARQ-ACK information of all configured HARQ processes, a Type 3 codebook is introduced, which feedbacks HARQ-ACK information for each configured codeword of all configured HARQ processes on all carriers currently configured for the terminal. For the deleted HARQ-ACK, a retransmission mechanism is introduced, namely, the enhanced Type 3 HARQ-ACK Codebook and the one-time triggering of HARQ-ACK retransmission. For the enhanced Type 3 HARQ-ACK Codebook, only the HARQ-ACK corresponding to the carrier or HARQ process subset can be reported, so that the HARQ-ACK corresponding to a subset can be triggered as needed, so that a smaller codebook size can be used to match the required retransmitted HARQ-ACK information. Considering that the required subsets are different in different situations, the network can pre-configure a codebook or state list, each codebook or state in the list corresponds to a (different) subset, and the network can select the most matching subset as needed and trigger the corresponding codebook or state. For one-time triggering of HARQ-ACK retransmission, the main idea is to trigger the retransmission of a deleted HARQ-ACK codebook in a certain uplink time slot or sub-time slot, and trigger the downlink control information DCI (downlink control information) to indicate a new uplink time slot or physical uplink control channel resource in a sub-time slot to retransmit the deleted HARQ-ACK codebook intact. Each DCI can only trigger the retransmission of a single HARQ-ACK codebook. Only a single HARQ-ACK codebook can be triggered to retransmit in a single new uplink time slot or sub-time slot. When there is still an initial transmission HARQ-ACK (corresponding to the same physical layer priority) in the new uplink time slot or sub-time slot, the retransmitted HARQ-ACK codebook is cascaded after the HARQ-ACK codebook corresponding to the initial transmission HARQ-ACK. When the enhanced Type 3 Codebook or Type 3 Codebook that triggers transmission corresponds to a different physical priority from the initial HARQ-ACK Codebook, the special properties of the Type 3 codebook or the enhanced Type 3 codebook are not considered, which may result in unnecessary HARQ-ACK information transmission and reduce HARQ-ACK transmission efficiency or reliability.
[0074] HARQ sends a retransmission control instruction to the transmitter, requiring the transmitter to retransmit the data. During the storage process, the codebook needs to be calculated and updated, and the processing problem of HARQ codebooks with different physical priorities needs to be solved. When PUCCH (Physical Uplink Control Channel) resources are not limited and the code rate can be guaranteed, controlling the allocated resources can reduce the HARQ transmission efficiency; when PUCCH resources are limited and the code rate can only be increased, controlling the allocated resources can increase the data transmission reliability.
[0075] Based on the problems existing in the above codebook processing, the present disclosure proposes a new codebook update solution, which can solve the problem of low utilization rate of traditional HARQ processing units, improve chip hardware resource utilization rate, reduce hardware resource consumption, and improve chip working efficiency, etc. Specifically:
[0076] Example 1
[0077] like Figure 1 As shown, the codebook updating method of this embodiment includes:
[0078] S101, in response to information transmission that needs to be compressed or decompressed in the HARQ process, using a preset dynamic mode and / or a preset static mode to obtain the latest target codebook;
[0079] The preset dynamic mode is a method of obtaining a target codebook by dynamically calculating the LLR data after HARQ data merging, and the preset static mode is a method of obtaining a target codebook by querying a statically configured preset query table.
[0080] Specifically, HARQ data needs to be stored by compression and decompression. LLR data needs to be compressed when written back to the memory, and conversely needs to be decompressed when reading the corresponding data from the memory. During the compression or decompression process, the corresponding codebook needs to be processed.
[0081] In the present disclosure, the codebook is updated by means of a preset dynamic mode and a preset static mode, and storage resources are allocated. Under normal data transmission conditions, the same performance as high-bit transmission can still be achieved, thereby solving the problem of low utilization of traditional HARQ processing units, improving the hardware resource utilization of the chip, reducing hardware resource consumption, reducing chip power consumption, and effectively improving chip working efficiency.
[0082] Example 2
[0083] The codebook updating method of this embodiment is a further improvement on Embodiment 1. Specifically:
[0084] In one feasible solution, Figure 2As shown, the steps of using the preset dynamic mode to obtain the latest target codebook include:
[0085] S10111. Obtain LLR data after HARQ data merging;
[0086] During the compression process, if the current operation is a new transmission operation, the current data is page-aligned and then written into the WBU (write memory); if the current operation is a retransmission operation, the historical data is read out in a page-aligned manner, decompressed and merged with the current data, and then written into the WBUF.
[0087] If the cyclic redundancy check of the current code block CB fails or the software configuration forces the output of soft bits, the HARQ combined data of the current code block CB is compressed and written into the memory DDR (double data rate synchronous dynamic random access memory).
[0088] S10112, numerically classify each value in the LLR data based on each codeword in the historical codebook to obtain a classification result;
[0089] S10113, obtaining a first quantity of each value in the LLR data input under a plurality of clocks;
[0090] S10114. Based on the classification result of each numerical value and the first quantity, a first preset algorithm is used to dynamically calculate and obtain a latest target codebook.
[0091] Specifically, each HARQ processing process in the transmission block TB needs to maintain its own codebook Codebook, and a total of TB*HARQ codebook Codebooks need to be stored; if the current LLR data (soft bit) storage mode is the data compression mode, the corresponding codebook Codebook is required for compression or decompression; wherein, the calculation of the Codebook is divided into two modes, dynamic and static. The preset dynamic mode is based on the LLR data output by the HARQ merge according to the set algorithm to dynamically calculate the target codebook Codebook_new (or Codebook value), and the preset static mode is the target codebook obtained by looking up the table of relevant influencing parameters configured by the software.
[0092] The codebook is calculated on the first code block CB of the current transmission, and then the previous historical codebook Codebook_old is updated when the last code block CB of the current transmission block TB is merged with HARQ; if the current transmission is a retransmission, the historical data read back by HARQ_RD needs to be decompressed, and the codebook used is the historical codebook Codebook_old calculated last time.
[0093] When the current code block CB needs to perform HARQ_WB (Hybrid Automatic Repeat Request-Wideband), the compression uses the latest target codebook Codebook_new obtained by this calculation; among them, HARQ write-back needs to use the latest calculated target codebook Codebook_new. Considering that the calculation of the codebook takes a relatively long time, HARQ merging, rate matching, and LDPC decoding verification failures must be considered; HARQ write-back is required in situations where HARQ merging and decoding are abandoned, HARQ merging, and information bit verification are abandoned. However, if the calculation of the target codebook Codebook_new is not completed at this time, it is necessary to wait until the calculation of the target codebook Codebook_new is completed before HARQ write-back can be performed.
[0094] In the present disclosure, the association between the value in the current LLR data and the different codewords in the historical codebook is calculated to obtain the codeword classification result, and the number of occurrences of each value in the current LLR data under several clocks is calculated at the same time, that is, the latest codebook is obtained by real-time dynamic calculation of the LLR data after HARQ merger, so that while ensuring the normal processing of compression or decompression, the same performance as high-bit transmission can be achieved under normal data transmission, which solves the problem of low utilization of traditional HARQ processing units, improves the utilization of chip hardware resources, reduces the consumption of hardware resources in the chip, and effectively improves the working efficiency of the chip.
[0095] In one feasible solution, step S10112 includes:
[0096] Calculate the absolute value of the difference between each value in the LLR data and each codeword in the historical codebook, and take the codeword with the smallest absolute value as the codeword category to which the corresponding value belongs;
[0097] Step S10113 includes:
[0098] The second quantity of each value in the LLR data input at each clock is obtained, and accumulation calculation is performed on different clocks in sequence to obtain the first quantity of each value in the LLR data at a plurality of clocks.
[0099] In one feasible solution, step S10114 includes:
[0100] summing the products of each value classified into the same codeword type and the corresponding first quantity to obtain a first sum value;
[0101] summing the first quantities of all values classified into the same codeword type to obtain a second sum value;
[0102] The ratio of the first sum value to the second sum value corresponding to the same codeword type is calculated, and the ratio corresponding to each codeword type is used as the target codebook.
[0103] In an implementable solution, after step S10113 and before step S10114, the method further includes:
[0104] In response to the classification result of each numerical value and the current value calculated by using the second preset algorithm for the first quantity being less than the historical value, and the current number of cycles being less than the preset maximum number, step S10111 is re-executed;
[0105] In response to the classification result of each numerical value and the current value calculated by the second preset algorithm for the first quantity being greater than or equal to the historical value, step S10114 is executed.
[0106] The second preset algorithm calculates the square of the difference between each value under each codeword type and the codeword in the historical codebook and adds them up to obtain the current value new metric corresponding to the current codebook calculation process; the historical value is the old metric obtained in the previous codebook calculation process.
[0107] The following is a specific example to illustrate the process of obtaining the target codebook using the preset dynamic mode in this embodiment:
[0108] (1) Obtain LLR data after HARQ data merging, calculate the absolute value of the difference between each value (e.g., including A) in the LLR data and each codeword (e.g., including B) in the historical codebook Codebook_old, compare the B absolute values, and select the codeword with the smallest absolute value as the codeword to which the value is classified;
[0109] (2) Counting the number of each value of the LLR data (soft bit, such as C*Dbit) input at each clock, so as to accumulate and obtain the total number of each value of the LLR data input at several clocks;
[0110] (3) Under the current number of calculations, the squares of the differences between each value under each codeword type and the corresponding codeword in the historical codebook Codebook_old are calculated and the sum is accumulated to obtain the latest current value newmetric under the current number of calculations; the current value new metric is compared with the corresponding historical value old metric in the previous codebook calculation process. If new metric>=old metric, the calculation is terminated and step (4) is executed; otherwise, the latest LLR data after HARQ data merging is obtained again, and the above steps are executed in sequence until new metric>=old metric; the number of loop calculations needs to be within the preset maximum number (e.g., 7 times).
[0111] (4) Calculate the target codebook Codebook_new:
[0112]
[0113] Wherein, dm1~dmn are the respective values classified into the m codeword, fm1~fmn are the numbers corresponding to the respective values classified into the m codeword, and the corresponding sum values are calculated respectively, and the above corresponding sum values are used as the latest target codebook Codebook_new to be obtained.
[0114] In the present disclosure, the codebook is obtained by updating the preset dynamic mode, and under the condition of normal data transmission, the same performance as high-bit transmission can still be achieved, and the problem of low utilization of traditional HARQ processing units is solved, the hardware resource utilization of the chip is improved, the hardware resource consumption is reduced, and the chip power consumption is effectively reduced.
[0115] In one feasible solution, preset influencing parameters of several dimensions are preconfigured;
[0116] Among them, the preset influencing parameters of different dimensions are all time slot variable parameters;
[0117] Specifically, the preset influencing parameters of different dimensions include at least two of the parameters such as signal-to-noise ratio, transmission delay, modulation and coding scheme, etc.;
[0118] The codebook updating method further includes:
[0119] Before HARQ merging in the HARQ process, codebooks under preset influencing parameters of different dimensional combinations are read, and a preset lookup table is generated based on the mapping relationship;
[0120] The preset query table is stored in a static memory processed at the bit level.
[0121] like Figure 3 As shown, the steps of obtaining the latest target codebook using the preset static mode include:
[0122] S10121. Obtain LLR data after HARQ data merging;
[0123] S10122. Actual influencing parameters of several dimensions of data acquisition based on LLR;
[0124] S10123. Calculate the target query address based on the actual impact parameter and the preset address calculation formula;
[0125] Among them, the signal-to-noise ratio snr_idx, the transmission delay trans_idx, and the modulation coding scheme mcs are pre-configured by software. These parameters are time slot variable parameters and are configured in a static memory processed at the bit level.
[0126] The default address calculation formula is as follows:
[0127] ram_addr=mcs*a+snr_idx*b+trans_idx*c, wherein ram_addr represents the target query address, snr_idx represents the signal-to-noise ratio, trans_idx represents the transmission delay, mcs represents the modulation and coding scheme, and a, b, and c are all pre-set constants that can be set or adjusted according to actual conditions.
[0128] S10124. Obtain a codebook corresponding to the target query address in the preset query table and use it as the target codebook.
[0129] In the present disclosure, by configuring relevant parameters through software, the latest target codebook can be quickly obtained by querying a static table, which ensures the quality of the codebook while also ensuring the efficiency of codebook update; solves the problem of low utilization of traditional HARQ processing units, improves the hardware resource utilization of the chip, reduces hardware resource consumption, and effectively reduces chip power consumption.
[0130] In an implementable solution, after the step of obtaining LLR data after HARQ data merging, the method further includes:
[0131] Preprocess the LLR data, extract the valid data bits, and obtain new LLR data;
[0132] Among them, in the process of updating the codebook in the preset dynamic mode, the LLR data after HARQ merger is related to the starting position of RV (redundant version), and the related data is not necessarily 32 bits aligned, and the calculation of the target codebook is only related to the valid HARQ merged LLR data. Therefore, when receiving the LLR data from the HARQ_COMB module, it is necessary to select the valid data bits in the current 32 bits of LLR data to complete the data preprocessing process of the module. Among them, the valid data bits are extracted from the input LLR data using the preset selection rules, and there is no limitation on the specific selection rules, as long as they can be implemented.
[0133] In this solution, valid data bits are extracted from the LLR data to obtain usable LLR data, so as to ensure the accuracy and rationality of the subsequent calculation of the target codebook.
[0134] In an implementable solution, before the step of using a preset dynamic mode and / or a preset static mode to obtain the latest target codebook, the method further includes:
[0135] In response to the current code block being in a decoding pending state, executing the step of acquiring the latest target codebook by adopting a preset dynamic mode and / or a preset static mode;
[0136] In response to the current code block being in a non-decoding pending state, other tasks having a higher priority than updating the codebook are preferentially executed, and the task of updating the target codebook is set to a pending state.
[0137] Among them, when the current code block is in a non-decoding pending state, there will be rate matching and codebook calculation to read the HARQ merged soft bits at the same time. In this case, the codebook calculation of the preset dynamic mode takes a long time, and it is necessary to consider the situation where the codebook calculations of each transmission block TB collide with each other. Considering that there is only one codebook engine, rate matching has a higher priority, and tasks with higher priority need to be executed first. At the same time, the codebook tasks requested later need to be set to pending.
[0138] In the present disclosure, by determining whether the current code block is in a decoding pending state, timely updating of the target codebook is ensured while the orderliness of the overall data processing is also ensured, thereby achieving the rationality and effectiveness of the control of the entire codebook calculation process.
[0139] In an implementable solution, the codebook updating method further includes:
[0140] In response to a cyclic redundancy check error in the current code block or a software configuration forcing the output of soft bits, the HARQ data of the current code block is merged, and the LLR data after the HARQ data is merged is acquired to obtain a target codebook.
[0141] When a cyclic redundancy check error occurs in the current code block CB, the HARQ data of the current code block is triggered to be merged to obtain LLR data; or, the software configuration forces the output of soft bits to trigger the HARQ data of the current code block to be merged to obtain LLR data.
[0142] Specifically, Figure 4 As shown, the codebook update process in the HARQ data compression and decompression processing process is as follows: a cyclic redundancy check is performed on the current code block CB to determine whether the check is successful. If an error occurs in the check, the HARQ data of the current code block is triggered to be merged to obtain LLR data during the compression operation, and the corresponding target codebook is updated, and the current data is compressed and stored in the memory based on the target codebook; during the decompression process, data is obtained from the memory and updated to obtain the corresponding target codebook, and decompressed from the memory based on the target codebook to read the corresponding data.
[0143] In this solution, the HARQ data of the current code block is automatically triggered to be merged to obtain LLR data through the error of the CB cyclic redundancy check of the current code block, or it can be flexibly set according to actual needs, that is, the soft bit is forced to be output through software configuration to timely trigger the execution of the HARQ data of the current code block to merge to obtain LLR data, thereby ensuring the efficiency of the overall update processing of obtaining the target codebook, ensuring the improvement of the hardware resource utilization of the chip, reducing the consumption of hardware resources, effectively reducing the chip power consumption, and improving the chip working efficiency.
[0144] like Figure 5 As shown, the DDR module represents a double data rate synchronous dynamic random access memory, the HARQ_COMB module represents a hybrid automatic repeat request-combining module, the HARQ_WB module represents a hybrid automatic repeat request-wideband module, the WBUF module represents a write memory module, and the CODEBOOK module represents a codebook module. The codebook update method of this embodiment is based on Figure 5 The hardware framework is implemented in . Specifically:
[0145] The HARQ_COMB module is used in the compression process. If the current operation is a new transmission operation, the current data is page aligned and then written into the WBU (write memory); if the current operation is a retransmission operation, the historical data is read out in a page-aligned manner, decompressed and merged with the current data, and then written into the WBUF module; the HARQ_WB module is used to trigger the execution of the HARQ data merge of the current code block to obtain LLR data when the cyclic redundancy check of the current code block CB fails; or, the software configuration forces the output of soft bits to trigger the execution of the HARQ data merge of the current code block to obtain LLR data, which is then compressed and written into the DDR module.
[0146] The codebook updating method of this embodiment is applied to a terminal device / base station, or a chip or chip module in the terminal device / base station.
[0147] Example 3
[0148] The data processing method of this embodiment is implemented based on the codebook updating method of the above-mentioned embodiment 1 or 2.
[0149] like Figure 6 As shown, the data processing method of this embodiment includes:
[0150] S201, in response to writing the LLR data back to the memory, performing a compression operation based on a target codebook obtained by a codebook updating method;
[0151] In response to acquiring the LLR data from the memory, a decompression operation is performed based on a target codebook obtained by a codebook updating method.
[0152] In the present disclosure, based on the above-mentioned codebook updating method, the hardware resource utilization of the chip is improved, the hardware resource consumption is reduced, the chip power consumption is reduced, and the chip working efficiency is effectively improved, thereby effectively improving the overall data processing efficiency of the compression and decompression process.
[0153] The data processing method of this embodiment is applied to a terminal device / base station, or a chip or chip module in the terminal device / base station.
[0154] Example 4
[0155] like Figure 7 As shown, the codebook updating system of this embodiment includes:
[0156] The target codebook acquisition module 1 is used to obtain the latest target codebook in response to the information transmission that needs to be compressed or decompressed in the HARQ process by using a preset dynamic mode and / or a preset static mode;
[0157] The preset dynamic mode is a method of obtaining a target codebook by dynamically calculating the LLR data after HARQ data merging, and the preset static mode is a method of obtaining a target codebook by querying a statically configured preset query table.
[0158] Specifically, HARQ data needs to be stored by compression and decompression. LLR data needs to be compressed when written back to the memory, and conversely needs to be decompressed when reading the corresponding data from the memory. During the compression or decompression process, the corresponding codebook needs to be processed.
[0159] In the present disclosure, the codebook is updated by means of a preset dynamic mode and a preset static mode, and storage resources are allocated. Under normal data transmission conditions, the same performance as high-bit transmission can still be achieved, thereby solving the problem of low utilization of traditional HARQ processing units, improving the hardware resource utilization of the chip, reducing hardware resource consumption, reducing chip power consumption, and effectively improving chip working efficiency.
[0160] Example 5
[0161] like Figure 8 As shown, the codebook updating system of this embodiment is a further improvement of Embodiment 4, specifically:
[0162] In an implementable solution, the target codebook acquisition module 1 includes:
[0163] A data acquisition unit 2 is used to acquire LLR data after HARQ data is combined;
[0164] During the compression process, if the current operation is a new transmission operation, the current data is page-aligned and then written into the WBU (write memory); if the current operation is a retransmission operation, the historical data is read out in a page-aligned manner, decompressed and merged with the current data, and then written into the WBUF.
[0165] If the cyclic redundancy check of the current code block CB fails or the software configuration forces the output of soft bits, the HARQ combined data of the current code block CB is compressed and written into the memory DDR.
[0166] A classification processing unit 3 is used to classify each value in the LLR data based on each codeword in the historical codebook to obtain a classification result;
[0167] A quantity counting unit 4 is used to obtain a first quantity of each value in the LLR data input under a plurality of clocks;
[0168] The target codebook acquisition unit 5 is used to dynamically calculate and obtain the latest target codebook using a first preset algorithm based on the classification result of each value and the first quantity.
[0169] Specifically, each HARQ processing process in the transmission block TB needs to maintain its own codebook Codebook, and a total of TB*HARQ codebook Codebooks need to be stored; if the current LLR data (soft bit) storage mode is the data compression mode, the corresponding codebook Codebook is required for compression or decompression; wherein, the calculation of the Codebook is divided into two modes, dynamic and static. The preset dynamic mode is based on the LLR data output by the HARQ merge according to the set algorithm to dynamically calculate the target codebook Codebook_new (or Codebook value), and the preset static mode is the target codebook obtained by looking up the table of relevant influencing parameters configured by the software.
[0170] The codebook is calculated on the first code block CB of the current transmission, and then the previous historical codebook Codebook_old is updated when the last code block CB of the current transmission block TB is merged with HARQ; if the current transmission is a retransmission, the historical data read back by HARQ_RD needs to be decompressed, and the codebook used is the historical codebook Codebook_old calculated last time.
[0171] When the current code block CB needs to perform HARQ_WB (Hybrid Automatic Repeat Request-Wideband), the compression uses the latest target codebook Codebook_new obtained by this calculation; among them, HARQ write-back needs to use the latest calculated target codebook Codebook_new. Considering that the calculation of the codebook takes a relatively long time, HARQ merging, rate matching, and LDPC decoding verification failures must be considered; HARQ write-back is required in situations where HARQ merging and decoding are abandoned, HARQ merging, and information bit verification are abandoned. However, if the calculation of the target codebook Codebook_new is not completed at this time, it is necessary to wait until the calculation of the target codebook Codebook_new is completed before HARQ write-back can be performed.
[0172] In the present disclosure, the association between the value in the current LLR data and the different codewords in the historical codebook is calculated to obtain the codeword classification result, and the number of occurrences of each value in the current LLR data under several clocks is calculated at the same time, that is, the latest codebook is obtained by real-time dynamic calculation of the LLR data after HARQ merger, so that while ensuring the normal processing of compression or decompression, the same performance as high-bit transmission can be achieved under normal data transmission, which solves the problem of low utilization of traditional HARQ processing units, improves the utilization of chip hardware resources, reduces the consumption of hardware resources in the chip, and effectively improves the working efficiency of the chip.
[0173] In an implementable solution, the classification processing unit 3 is used to calculate the absolute value of the difference between each value in the LLR data and each codeword in the historical codebook, and take the codeword with the smallest absolute value as the codeword category to which the corresponding value belongs;
[0174] The quantity counting unit 4 is used to obtain the second quantity of each value in the LLR data input at each clock, and perform cumulative calculations on different clocks in turn to obtain the first quantity of each value in the LLR data at several clocks.
[0175] In an implementable solution, the target codebook acquisition unit 5 is used to:
[0176] summing the products of each value classified into the same codeword type and the corresponding first quantity to obtain a first sum value;
[0177] summing the first quantities of all values classified into the same codeword type to obtain a second sum value;
[0178] The ratio of the first sum value to the second sum value corresponding to the same codeword type is calculated, and the ratio corresponding to each codeword type is used as the target codebook.
[0179] In an implementable solution, the codebook updating system further includes:
[0180] The first response module 6 is used to re-call the data acquisition unit 2 to obtain new LLR data after HARQ data merging in response to the classification result of each numerical value and the current value calculated by the second preset algorithm for the first quantity being less than the historical value, and the current number of cycles being less than the preset maximum number.
[0181] The first response module 6 is also used to call the target code book acquisition unit 5 to dynamically calculate the latest target code book based on the classification result of each numerical value and the first quantity using the first preset algorithm in response to the current value calculated using the second preset algorithm being greater than or equal to the historical value.
[0182] The second preset algorithm calculates the square of the difference between each value under each codeword type and the codeword in the historical codebook and adds them up to obtain the current value new metric corresponding to the current codebook calculation process; the historical value is the old metric obtained in the previous codebook calculation process.
[0183] The following is a specific example to illustrate the process of obtaining the target codebook using the preset dynamic mode in this embodiment:
[0184] (1) Obtain LLR data after HARQ data merging, calculate the absolute value of the difference between each value (e.g., including A) in the LLR data and each codeword (e.g., including B) in the historical codebook Codebook_old, compare the B absolute values, and select the codeword with the smallest absolute value as the codeword to which the value is classified;
[0185] (2) Counting the number of each value of the LLR data (soft bit, such as C*Dbit) input at each clock, so as to accumulate and obtain the total number of each value of the LLR data input at several clocks;
[0186] (3) Under the current number of calculations, the squares of the differences between each value under each codeword type and the corresponding codeword in the historical codebook Codebook_old are calculated and the sum is accumulated to obtain the latest current value newmetric under the current number of calculations; the current value new metric is compared with the corresponding historical value old metric in the previous codebook calculation process. If new metric>=old metric, the calculation is terminated and step (4) is executed; otherwise, the latest LLR data after HARQ data merging is obtained again, and the above steps are executed in sequence until new metric>=old metric; the number of loop calculations needs to be within the preset maximum number (e.g., 7 times).
[0187] (4) Calculate the target codebook Codebook_new:
[0188]
[0189] Wherein, dm1~dmn are the respective values classified into the m codeword, fm1~fmn are the numbers corresponding to the respective values classified into the m codeword, and the corresponding sum values are calculated respectively, and the above corresponding sum values are used as the latest target codebook Codebook_new to be obtained.
[0190] In the present disclosure, the codebook is obtained by updating the preset dynamic mode, and under the condition of normal data transmission, the same performance as high-bit transmission can still be achieved, and the problem of low utilization of traditional HARQ processing units is solved, the hardware resource utilization of the chip is improved, the hardware resource consumption is reduced, and the chip power consumption is effectively reduced.
[0191] In one feasible solution, preset influencing parameters of several dimensions are preconfigured;
[0192] The codebook updating system also includes:
[0193] A query table generating module 7, configured to read the codebooks under the preset influencing parameters of different dimensional combinations before HARQ merging in the HARQ process, and generate a preset query table based on the mapping relationship;
[0194] The preset query table is stored in a static memory processed at the bit level.
[0195] The target codebook acquisition module 1 also includes:
[0196] A data acquisition unit 2 is used to acquire LLR data after HARQ data is combined;
[0197] An actual parameter acquisition unit 8, used for acquiring actual influencing parameters of several dimensions based on LLR data;
[0198] A query address calculation unit 9, configured to calculate a target query address based on actual influencing parameters and a preset address calculation formula;
[0199] Among them, the signal-to-noise ratio snr_idx, the transmission delay trans_idx, and the modulation coding scheme mcs are pre-configured by software. These parameters are time slot variable parameters and are configured in a static memory processed at the bit level.
[0200] The default address calculation formula is as follows:
[0201] ram_addr=mcs*a+snr_idx*b+trans_idx*c, wherein ram_addr represents the target query address, snr_idx represents the signal-to-noise ratio, trans_idx represents the transmission delay, mcs represents the modulation and coding scheme, and a, b, and c are all pre-set constants that can be set or adjusted according to actual conditions.
[0202] The target codebook acquisition unit 5 is used to acquire a codebook corresponding to the target query address in the preset query table and use it as the target codebook.
[0203] In the present disclosure, by configuring relevant parameters through software, the latest target codebook can be quickly obtained by querying a static table, which ensures the quality of the codebook while also ensuring the efficiency of codebook update; solves the problem of low utilization of traditional HARQ processing units, improves the hardware resource utilization of the chip, reduces hardware resource consumption, and effectively reduces chip power consumption.
[0204] In an implementable solution, the codebook updating system further includes:
[0205] The preprocessing module 10 is used to preprocess the LLR data, extract the valid data bits, and obtain new LLR data;
[0206] Among them, in the process of updating the codebook in the preset dynamic mode, the LLR data after HARQ merger is related to the starting position of RV (redundant version), and the related data is not necessarily 32 bits aligned, and the calculation of the target codebook is only related to the valid HARQ merged LLR data. Therefore, when receiving the LLR data from the HARQ_COMB module, it is necessary to select the valid data bits in the current 32 bits of LLR data to complete the data preprocessing process of the module. Among them, the valid data bits are extracted from the input LLR data using the preset selection rules, and there is no limitation on the specific selection rules, as long as they can be implemented.
[0207] In this solution, valid data bits are extracted from the LLR data to obtain usable LLR data, so as to ensure the accuracy and rationality of the subsequent calculation of the target codebook.
[0208] In an implementable solution, the codebook updating system further includes:
[0209] The target codebook acquisition module 1 is further configured to, in response to the current code block being in a decoding pending state, execute a preset dynamic mode and / or a preset static mode to acquire the latest target codebook;
[0210] The target codebook acquisition module 1 is further configured to, in response to the current code block being in a non-decoding pending state, preferentially execute other tasks with a higher priority than updating the codebook, and set the task of updating the target codebook to a pending state.
[0211] Among them, when the current code block is in a non-decoding pending state, there will be rate matching and codebook calculation to read the HARQ merged soft bits at the same time. In this case, the codebook calculation of the preset dynamic mode takes a long time, and it is necessary to consider the situation where the codebook calculations of each transmission block TB collide with each other. Considering that there is only one codebook engine, rate matching has a higher priority, and tasks with higher priority need to be executed first. At the same time, the codebook tasks requested later need to be set to pending.
[0212] In the present disclosure, by determining whether the current code block is in a decoding pending state, timely updating of the target codebook is ensured while the orderliness of the overall data processing is also ensured, thereby achieving the rationality and effectiveness of the control of the entire codebook calculation process.
[0213] In an implementable solution, the codebook updating system further includes:
[0214] The second response module 11 is used to merge the HARQ data of the current code block in response to a cyclic redundancy check error in the current code block or the software configuration forcing the output of soft bits, and execute the call target codebook acquisition module 1 to obtain the LLR data after the HARQ data is merged to obtain the target codebook.
[0215] When a cyclic redundancy check error occurs in the current code block CB, the HARQ data of the current code block is triggered to be merged to obtain LLR data; or, the software configuration forces the output of soft bits to trigger the HARQ data of the current code block to be merged to obtain LLR data.
[0216] Specifically, Figure 4 As shown, the codebook update process in the HARQ data compression and decompression processing process is as follows: a cyclic redundancy check is performed on the current code block CB to determine whether the check is successful. If an error occurs in the check, the HARQ data of the current code block is triggered to be merged to obtain LLR data during the compression operation, and the corresponding target codebook is updated, and the current data is compressed and stored in the memory based on the target codebook; during the decompression process, data is obtained from the memory and updated to obtain the corresponding target codebook, and decompressed from the memory based on the target codebook to read the corresponding data.
[0217] In this solution, the HARQ data of the current code block is automatically triggered to be merged to obtain LLR data through the error of the CB cyclic redundancy check of the current code block, or it can be flexibly set according to actual needs, that is, the soft bit is forced to be output through software configuration to timely trigger the execution of the HARQ data of the current code block to merge to obtain LLR data, thereby ensuring the efficiency of the overall update processing of obtaining the target codebook, ensuring the improvement of the hardware resource utilization of the chip, reducing the consumption of hardware resources, effectively reducing the chip power consumption, and improving the chip working efficiency.
[0218] like Figure 5 As shown, the DDR module represents a double data rate synchronous dynamic random access memory, the HARQ_COMB module represents a hybrid automatic repeat request-combining module, the HARQ_WB module represents a hybrid automatic repeat request-wideband module, the WBUF module represents a write memory module, and the CODEBOOK module represents a codebook module. The codebook update method of this embodiment is based on Figure 5 The hardware framework is implemented in . Specifically:
[0219] The HARQ_COMB module is used in the compression process. If the current operation is a new transmission operation, the current data is page aligned and then written into the WBU (write memory); if the current operation is a retransmission operation, the historical data is read out in a page-aligned manner, decompressed and merged with the current data, and then written into the WBUF module; the HARQ_WB module is used to trigger the execution of the HARQ data merge of the current code block to obtain LLR data when the cyclic redundancy check of the current code block CB fails; or, the software configuration forces the output of soft bits to trigger the execution of the HARQ data merge of the current code block to obtain LLR data, which is then compressed and written into the DDR module.
[0220] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, in which the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution.
[0221] Example 6
[0222] The data processing system of this embodiment is implemented based on the codebook updating system of the fourth or fifth embodiment.
[0223] like Fig. 9 As shown, the data processing system of this embodiment includes:
[0224] A first data processing module 12, configured to perform a compression operation based on a target codebook obtained by a codebook updating method in response to writing the LLR data back to the memory;
[0225] The second data processing module 13 is configured to, in response to acquiring the LLR data from the memory, perform a decompression operation based on a target codebook obtained by the codebook updating method.
[0226] In the present disclosure, the data processing system is integrated with the above-mentioned code book update system, which improves the hardware resource utilization of the chip, reduces hardware resource consumption, reduces chip power consumption, and effectively improves the chip working efficiency, thereby effectively improving the overall data processing efficiency of the compression and decompression process and improving the overall product performance of the chip.
[0227] Example 7
[0228] The chip of this embodiment includes at least one processor, and the processor is used to execute program instructions to execute the codebook updating method in the above embodiment; or execute the data processing method in the above embodiment.
[0229] The access control system described in the embodiment may specifically be a separate chip or UE (user side), or a chip module integrated into the UE. The various modules / units included in the access control system may be software modules / units, or hardware modules / units, or may be partially software modules / units and partially hardware modules / units. For example, for various devices and products applied to or integrated into a chip, the various modules / units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining modules / units may be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated into a chip module, the various modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining modules / units may be implemented in the form of hardware such as circuits. / unit can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the UE, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the UE, and the remaining modules / units can be implemented in the form of hardware such as circuits.
[0230] Example 8
[0231] The chip module of this embodiment includes at least one processor, and the processor is used to execute program instructions to execute the codebook updating method in the above embodiment; or execute the data processing method in the above embodiment.
[0232] The access control system described in the embodiment may specifically be a separate chip module or UE, or a chip module integrated in the UE. The various modules / units included in the access control system may be software modules / units, or hardware modules / units, or may be partially software modules / units and partially hardware modules / units. For example, for various devices and products applied to or integrated in a chip, the various modules / units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining modules / units may be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in a chip module, the various modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or in different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining modules / units may be implemented in the form of hardware such as circuits. / unit can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the UE, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the UE, and the remaining modules / units can be implemented in the form of hardware such as circuits.
[0233] Example 9
[0234] Fig.10 This is a schematic diagram of the structure of an electronic device showing an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, the method described in any of the above embodiments is implemented. Fig.10 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0235] like Fig.10As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).
[0236] The bus 93 includes a data bus, an address bus, and a control bus.
[0237] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .
[0238] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0239] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the method provided in any of the above embodiments.
[0240] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0241] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0242] Example 10
[0243] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method provided in any of the above embodiments is implemented.
[0244] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0245] Embodiment 11
[0246] The present disclosure also provides a computer program product, including a computer program, which implements any of the above methods when executed by a processor.
[0247] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0248] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A codebook updating method, characterized in that: The codebook updating method comprises: In response to information transmission that needs to be compressed or decompressed during the HARQ process, a preset dynamic mode and / or a preset static mode is used to obtain a latest target codebook; The preset dynamic mode is a method of obtaining the target codebook by dynamically calculating the LLR data after HARQ data merging, and the preset static mode is a method of obtaining the target codebook by querying a statically configured preset query table.
2. The codebook updating method according to claim 1, characterized in that: The step of adopting the preset dynamic mode to obtain the latest target codebook includes: Acquire the LLR data after HARQ data merging; Numerically classifying each value in the LLR data based on each codeword in the historical codebook to obtain a classification result; Acquire a first quantity of each of the values in the LLR data input under a plurality of clocks; Based on the classification result of each of the numerical values and the first quantity, a first preset algorithm is used to dynamically calculate and obtain the latest target codebook.
3. The codebook updating method according to claim 2, characterized in that: The step of numerically classifying each value in the LLR data based on each codeword in the historical codebook to obtain a classification result includes: Calculate the absolute value of the difference between each of the numerical values in the LLR data and each of the codewords in the historical codebook, and use the codeword with the smallest absolute value as the codeword category to which the corresponding numerical value belongs; and / or, The step of obtaining a first number of each of the numerical values in the LLR data input under a plurality of clocks comprises: A second quantity of each of the numerical values in the LLR data input at each clock is obtained, and accumulation calculations are performed on different clocks in sequence to obtain the first quantity of each of the numerical values in the LLR data at a plurality of clocks.
4. The codebook updating method according to claim 3, characterized in that: The step of dynamically calculating and obtaining the latest target codebook using a first preset algorithm based on the classification result of each of the numerical values and the first quantity includes: Sum the products of each of the numerical values classified into the same codeword type and the corresponding first quantity to obtain a first sum value; summing the first quantities of all the numerical values classified into the same codeword type to obtain a second sum value; A ratio of the first sum value to the second sum value corresponding to the same codeword type is calculated, and the ratio corresponding to each codeword type is used as the target codebook.
5. The codebook updating method according to claim 2, characterized in that: After the step of obtaining a first number of each of the values in the LLR data input under a plurality of clocks and before the step of dynamically calculating the latest target codebook using a first preset algorithm based on the classification result of each of the values and the first number, the method further includes: In response to the classification result of each of the numerical values and the current value calculated by using the second preset algorithm for the first number being less than a historical value, and the current number of cycles being less than a preset maximum number, obtaining the step of re-executing the LLR data after the HARQ data is merged; In response to the current value obtained by calculating the classification result of each of the numerical values and the first quantity using the second preset algorithm being greater than or equal to the historical value, the step of dynamically calculating the latest target codebook based on the classification result of each of the numerical values and the first quantity using the first preset algorithm is performed.
6. The codebook updating method according to claim 1, characterized in that: Pre-configure preset impact parameters for several dimensions; The codebook updating method further includes: Before HARQ merging in the HARQ process, the codebooks under the preset influencing parameters of different dimensional combinations are read, and the preset query table is generated based on the mapping relationship; The step of adopting the preset static mode to obtain the latest target codebook includes: Acquire the LLR data after HARQ data merging; Acquire actual influencing parameters of several dimensions of the data based on the LLR; Based on the actual influencing parameters and a preset address calculation formula, a target query address is calculated; A codebook corresponding to the target query address is obtained from the preset query table and used as the target codebook.
7. The codebook updating method according to claim 6, characterized in that: The preset influencing parameters of different dimensions include at least two parameters of signal-to-noise ratio, transmission delay, and modulation and coding scheme; And / or, the preset influencing parameters of different dimensions are all time slot variable parameters; And / or, the preset lookup table is stored in a static memory for bit-level processing.
8. The codebook updating method according to claim 2 or 6, characterized in that: After the step of obtaining the LLR data after HARQ data merging, the method further includes: Preprocessing the LLR data to extract valid data bits to obtain new LLR data; and / or, Before the step of adopting the preset dynamic mode and / or the preset static mode to obtain the latest target codebook, the method further includes: In response to the current code block being in a decoding pending state, executing the step of acquiring the latest target codebook by adopting a preset dynamic mode and / or a preset static mode; In response to the current code block being in a non-decoding pending state, other tasks having a higher priority than updating the codebook are preferentially executed, and the task of updating the target codebook is set to a pending state.
9. The codebook updating method according to claim 1, characterized in that: The codebook updating method further includes: In response to a cyclic redundancy check error in the current code block or a software configuration forcing the output of soft bits, the HARQ data of the current code block is merged, and the LLR data after the HARQ data is merged is acquired to obtain the target codebook.
10. A data processing method, characterized in that: The data processing method is implemented based on the codebook updating method according to any one of claims 1 to 9, and the data processing method includes: In response to writing the LLR data back to the memory, performing a compression operation based on a target codebook obtained by the codebook updating method; In response to acquiring the LLR data from the memory, a decompression operation is performed based on the target codebook obtained by the codebook updating method.
11. A codebook updating system, characterized in that: The codebook updating system comprises: A target codebook acquisition module, configured to acquire the latest target codebook in response to information transmission that needs to be compressed or decompressed during the HARQ process, using a preset dynamic mode and / or a preset static mode; The preset dynamic mode is a method of obtaining the target codebook by dynamically calculating the LLR data after HARQ data merging, and the preset static mode is a method of obtaining the target codebook by querying a statically configured preset query table.
12. A data processing system, characterized in that: The data processing method is implemented based on the codebook updating system according to claim 11, and the data processing system comprises: A first data processing module, configured to, in response to writing the LLR data back to the memory, perform a compression operation based on a target codebook obtained by the codebook updating method; The second data processing module is configured to, in response to acquiring the LLR data from the memory, perform a decompression operation based on a target codebook obtained by the codebook updating method.
13. A chip, characterized in that: The chip includes at least one processor, and the processor is used to execute program instructions to execute the codebook updating method according to any one of claims 1 to 9; or to execute the data processing method according to claim 10.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the codebook updating method according to any one of claims 1 to 9 is implemented; or the data processing method according to claim 10 is implemented.