A decoding method and apparatus
By acquiring constellation diagram data and code rate, determining the first soft bit sequence and adjusting its amplitude, and generating the second soft bit sequence to input into the decoder, the problem of low decoding accuracy when signal power changes is solved, and high-accuracy decoding is achieved in low signal-to-noise ratio environments.
Patent Information
- Application Number
- CN202211458719.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2042-11-17
AI Technical Summary
In existing technologies, decoding accuracy is low when signal power changes significantly, especially in digital AGC methods where the response is slow or the hardware overhead is high, leading to unsuitable operating ranges for the decoder.
By acquiring constellation diagram data and code rate, the first soft bit sequence is determined, and the amplitude of the first soft bit sequence is adjusted according to the code rate and amplitude control value to generate a second soft bit sequence for input into the decoder, thereby achieving accurate decoding.
It improves decoding accuracy, reduces packet error rate and bit error rate, and optimizes decoding results under conditions of significant changes in signal power and low signal-to-noise ratio.
Smart Images

Figure CN115955294B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a decoding method and apparatus. Background Technology
[0002] With the continuous development of technology, wireless communication is being applied in more and more fields. In the process of signal transmission, there is a problem that the signal power changes significantly.
[0003] Currently, the common method for handling signals with significant power changes is the digital AGC method. The digital AGC method dynamically adjusts the signal power amplitude to the target value through a feedback loop. However, this may result in the signal power amplitude being outside the decoder's operating range, leading to lower decoding accuracy.
[0004] In summary, how to achieve accurate decoding when the signal power fluctuates significantly is a technical problem that urgently needs to be solved. Summary of the Invention
[0005] One or more embodiments provide a decoding method and apparatus to solve the problem of low decoding accuracy when the power of the signal is large in the prior art.
[0006] In a first aspect, a decoding method includes: acquiring constellation diagram data and a code rate; determining a first soft bit sequence based on the constellation diagram data and a modulation scheme; determining an amplitude control value based on the code rate; determining a second soft bit sequence based on the first soft bit sequence and the amplitude control value; and inputting the second soft bit sequence into a decoder to determine the decoding result.
[0007] In one or more embodiments, by determining an amplitude control value based on the code rate, and then adjusting the amplitude of the first soft bit sequence based on the first soft bit sequence and the amplitude control value to obtain a second soft bit sequence, the second soft bit sequence is then input into the decoder, thereby achieving a more accurate determination of the decoding result.
[0008] Optionally, after determining the first soft bit sequence, the method further includes: determining a first parameter based on the first soft bit sequence; and determining a second soft bit sequence based on the first soft bit sequence and the amplitude control value, including: determining the second soft bit sequence based on the first soft bit sequence, the amplitude control value, and the first parameter.
[0009] In one or more embodiments, by determining the first parameter, it is easier to combine it with the amplitude control value, thereby achieving a more accurate adjustment of the amplitude of the first soft bit sequence, and thus a more accurate determination of the second soft bit sequence.
[0010] Optionally, the first parameter is the mean of the first soft bit sequence.
[0011] In one or more embodiments, when the first parameter is the mean of the first soft bit sequence, it is used to identify the trend of the first soft bit sequence, thereby enabling subsequent adjustment of the amplitude of the first soft bit sequence, and thus more accurately determining the second soft bit sequence.
[0012] Optionally, the amplitude control value is determined based on the bitrate, including: determining the capacity limit based on the bitrate and the decision method; and determining the amplitude control value based on the capacity limit.
[0013] In one or more embodiments, the capacity limit is determined more accurately based on the code rate and decision method. Since the amplitude control value is determined by the capacity limit, the subsequent second soft bit sequence determined based on the amplitude control value can support a lower signal-to-noise ratio.
[0014] Optionally, the amplitude control value is determined based on the capacity limit, including: determining the capacity limit margin; and determining the amplitude control value based on the capacity limit and the margin.
[0015] In one or more embodiments, it is first necessary to determine the capacity limit margin, and then optimize the capacity limit by adding the margin to the capacity limit, thereby obtaining an amplitude control value that is convenient for subsequent calculations, and then determining the second soft bit sequence more accurately based on the amplitude control value.
[0016] Optionally, the judgment method is a soft judgment.
[0017] In one or more embodiments, since soft decision can avoid the adverse effects caused by misjudgment after demodulation, the data is directly sent to the decoder for decoding, thereby realizing a more accurate determination of the amplitude control value based on the soft decision, and then realizing a more accurate determination of the second soft bit sequence based on the amplitude control value.
[0018] Optionally, the modulation method can be 8PSK, BPSK or QPSK.
[0019] In one or more embodiments, since there are multiple modulation methods, the first soft bit sequence can be determined more accurately by combining different modulation methods with constellation diagram data.
[0020] In a second aspect, one or more embodiments provide a decoding apparatus, comprising: an acquisition unit for acquiring constellation diagram data and a code rate; a processing unit for determining a first soft bit sequence based on the constellation diagram data and a modulation scheme; determining an amplitude control value based on the code rate; determining a second soft bit sequence based on the first soft bit sequence and the amplitude control value; and inputting the second soft bit sequence into a decoder to determine a decoding result.
[0021] Optionally, the processing unit is further configured to: determine a first parameter based on the first soft bit sequence; the first parameter is used to identify the trend of the first soft bit sequence. Specifically, the processing unit is configured to: determine a second soft bit sequence based on the first soft bit sequence, the amplitude control value, and the first parameter.
[0022] Optionally, the processing unit is specifically used for: the first parameter being the mean of the first soft bit sequence.
[0023] Optionally, the processing unit is specifically used to: determine the capacity limit based on the bit rate and the decision method; and determine the amplitude control value based on the capacity limit.
[0024] Optionally, the processing unit is specifically used to: determine the capacity limit margin; and determine the amplitude control value based on the capacity limit and the margin.
[0025] Optionally, the processing unit is specifically used for: making a soft decision.
[0026] Optionally, the processing unit is specifically used for modulation methods of 8PSK, BPSK, or QPSK.
[0027] Thirdly, in one or more embodiments, an electronic device is also provided, including at least one processor and at least one memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform a decoding method according to the first aspect described above.
[0028] Fourthly, in one or more embodiments, a computer-readable storage medium is also provided, the storage medium storing a program that, when run on a computer, causes the computer to perform a decoding method according to the first aspect described above. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in one or more embodiments, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is a constellation diagram with low signal-to-noise ratio and large signal power variation provided in one or more embodiments;
[0031] Figure 2 A constellation diagram with low signal-to-noise ratio provided in one or more embodiments;
[0032] Figure 3 A method flowchart of a decoding method provided in one or more embodiments;
[0033] Figure 4 Capacity plot for a soft-decision method provided in one or more embodiments;
[0034] Figure 5 A tabular diagram showing a bitrate-to-capacity limit provided in one or more embodiments;
[0035] Figure 6 A soft-bit time-domain diagram of a signal without amplitude control processing, provided in one or more embodiments;
[0036] Figure 7 A soft-bit time-domain diagram of a signal amplitude control processing provided in one or more embodiments;
[0037] Figure 8 This is a comparison chart of packet error rates at a code rate of 0.5 provided in one or more embodiments;
[0038] Figure 9 A comparison chart of bit error rates at a code rate of 0.5 provided in one or more embodiments;
[0039] Figure 10 A comparison chart of packet error rates at a code rate of 0.5 and a signal attenuation of 60dB, provided in one or more embodiments;
[0040] Figure 11 A comparison chart of bit error rates at a code rate of 0.5 and a signal attenuation of 60dB, provided in one or more embodiments;
[0041] Figure 12 This is a schematic diagram of the structure of a decoding device provided in one or more embodiments;
[0042] Figure 13 This is a schematic diagram of the structure of an electronic device provided in one or more embodiments. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0044] The following explanations of certain parts of this application are intended to provide general clarification for those skilled in the art, and do not limit the terminology used in this application.
[0045] 1. Power amplifier: refers to an amplifier that can produce maximum power output to drive a certain load under a given distortion rate.
[0046] 2. Antenna radiation pattern: This refers to the graph showing how the relative field strength (normalized modulus) of the radiated field changes with direction at a certain distance from the antenna. It is usually represented by two mutually perpendicular planar radiation patterns passing through the direction of maximum radiation of the antenna.
[0047] 3. Signal power: Signal power is a form of energy. A signal carries energy, but when the signal is an energy signal, its energy is infinite. In this case, power is used to measure the energy of the signal. That is, it is a measure of the energy of the signal, representing the energy absorbed or released per unit time. The greater the power, the more energy the signal releases per unit time.
[0048] 4. Signal-to-noise ratio (SNR): Also known as signal-to-noise ratio. It refers to the ratio of signal to noise in an electronic device or system. The signal here refers to the electronic signal from outside the device that needs to be processed by the device, and the noise refers to the irregular additional signal (or information) generated after passing through the device that is not present in the original signal, and this type of signal does not change with the original signal.
[0049] 5. Low-noise amplifier (LNO): This is a special type of electronic amplifier mainly used in communication systems to amplify signals received from antennas for processing by subsequent electronic equipment. Since signals from antennas are generally very weak, LNO amplifiers are typically located very close to the antenna to minimize signal loss through transmission lines.
[0050] 6. ADC quantization: This is the process of converting a continuous-amplitude analog signal into a discrete-amplitude signal.
[0051] 7. Soft-Decision: Soft-decision demodulators do not perform decision-making; they directly output analog signals or perform multi-level quantization (not simple 0 / 1 two-level quantization) on the demodulator output waveform before sending it to the decoder. In other words, the output of the coded channel is "soft information" without decision-making. Soft-decision decoders use Euclidean distance as a metric for decoding. The path metric in soft-decision decoding algorithms uses "soft distance" instead of Hamming distance; Euclidean distance, which is the geometric distance between the received waveform and possible transmitted waveforms, is most commonly used. This method is suitable for decoding discrete memoryless channels.
[0052] 8. Hard Decision: Hard decision refers to the demodulator directly deciding the received signal waveform based on its decision threshold and outputting 0 or 1. This means the decoder input can only be 0 or 1. Decoding between sequences uses Hamming distance as a metric and is suitable for binary symmetric channels.
[0053] 9. Difference between hard-decision and soft-decision decoding: For digital circuits, hard-decision decoding is implemented by truncating the sign bit of the demodulated quantized signal, which can be considered as a single-level quantization. Soft-decision decoding, on the other hand, can be considered as multi-level quantization, including the high-order sign bit and the effective bits of channel information. Soft-decision decoding avoids the influence of misjudgment after demodulation and directly sends the signal to the decoder for decoding. Generally speaking, hard-decision decoding is simpler and easier to implement than soft-decision decoding, but soft-decision decoding, because it fully utilizes the information of the channel output signal, increases performance by 2-3 dB.
[0054] 10. Capacity limit: refers to the maximum symbol transmission rate of the channel or the limit of information transmission rate of the channel.
[0055] In a possible scenario, within a wireless communication system, a signal undergoes three main stages: transmission via the antenna, passage through the physical channel, and information recovery via the receiver. These three stages are described below. Specifically, during signal transmission, the transmitted signal power is affected by factors such as the power amplifier components and the antenna pattern characteristics, resulting in significant variations in transmitted power. When the signal passes through the physical channel, factors such as varying atmospheric attenuation for different frequency bands, obstruction, rain attenuation, signal coverage range, and cost considerations lead to significant variations in received signal power and a low signal-to-noise ratio at the receiver. For example... Figure 1 The diagram shown illustrates a constellation diagram with low signal-to-noise ratio and large signal power variations, provided in one or more embodiments. According to... Figure 1 It can be seen that when the signal-to-noise ratio (SNR) is low, the error vector magnitude (EVM) is extremely low; when the signal is weak, the magnitude is on the order of 10^-3, and the effective number of bits after fixed-pointing is very low. During signal recovery, the receiver is affected by factors such as the low-noise amplifier, the receiver antenna pattern characteristics, and ADC quantization, which can lead to a low SNR. For example... Figure 2 The diagram shown is a constellation diagram with low signal-to-noise ratio provided in one or more embodiments. According to... Figure 2 It can be seen that the EVM value of the signal is extremely low when the signal-to-noise ratio is low.
[0056] Therefore, in wireless communication, the accuracy of signal decoding results is low when there are significant changes in signal power and a low signal-to-noise ratio.
[0057] In one possible scenario, there are two methods to handle significant changes in signal power: analog AGC and digital AGC. Specifically, analog AGC dynamically adjusts the signal power to the range defined by the ADC by adding hardware modules and controllers. The problem with analog AGC is that it increases hardware overhead, product cost, and size, making it unsuitable for scenarios with high cost and size constraints. Digital AGC, on the other hand, uses digital methods combined with fixed-point design to dynamically adjust the signal amplitude to the target value through a feedback loop. While digital AGC can solve some of the problems of analog AGC, such as reducing product cost and hardware overhead, it suffers from slower response times and is unsuitable for bursty signal types, potentially causing the signal amplitude to deviate from the decoder's optimal operating range, thus reducing decoding accuracy.
[0058] In another possible scenario, the method for handling low signal-to-noise ratio is channel decoding. Specifically, the signal-to-noise ratio value is first estimated and then applied to the soft bit value, which is then input into the decoder. However, since there will be errors in estimating the signal-to-noise ratio value, the accuracy of subsequent decoding will be low.
[0059] In view of this, one or more embodiments provide a decoding method that can decode signals more accurately when there is a significant difference in signal efficiency.
[0060] like Figure 3 The diagram shows a method flowchart of a decoding method provided in one or more embodiments, the method including the following steps:
[0061] Step 301: Obtain constellation data and bitrate.
[0062] In one or more embodiments, during signal transmission, different transmission media have different requirements for signal frequency, etc. This means the original signal cannot be directly transmitted onto the transmission medium; it needs to be demodulated first to obtain demodulated constellation data. This constellation data is typically in IQ complex form, where I represents the real part and Q represents the imaginary part. The constellation data generally should not include constellation data for the preceding and following guard intervals. The constellation data has already undergone frequency offset correction and phase offset correction, and there is no phase ambiguity.
[0063] Code rate, also known as bit rate, refers to the number of bits transmitted per second. The unit is bps (Bits Per Second). The higher the bit rate, the faster the data transmission speed. In channel coding, a source data block of size K symbols is encoded and mapped to codewords of size N symbols; K / N then becomes the code rate.
[0064] Step 302: Determine the first soft bit sequence based on the constellation diagram data and modulation scheme.
[0065] In one or more embodiments, the signal modulation scheme can be varied, such as PSK, QAM, APSK, 8PSK, BPSK, QPSK, etc. Based on the constellation diagram data and the modulation scheme, it can be mapped to a first soft bit sequence. This first soft bit sequence can be represented as soft_x = {x0, x1, ..., x...} M-1 The methods for mapping the soft bit values in the first soft bit sequence differ depending on the modulation scheme. The following describes how different modulation schemes determine the soft bit values in the first soft bit sequence.
[0066] If the modulation scheme is PSK, QAM, or APSK, the received constellation data with PSK, QAM, or APSK modulation types are mapped to soft bit values. Each bit of each constellation corresponds to a soft bit value, calculated using the following formula:
[0067] llr(b i ) = log(P(b) i =0) / P(b i =1)) Formula 1
[0068] Wherein, P(b) i =0) means b i The probability of = 0 P(b i =1) indicates b i The probability of =1 P(s) represents the current constellation point r i The probability of being identified as constellation point s; b i This represents the value of the i-th bit in the constellation diagram.
[0069] If the modulation scheme is BPSK, the formula for calculating the soft bit value in the first soft bit sequence is as follows:
[0070] llr(b0)=2I i / σ 2 Formula 2
[0071] Where, σ 2 Indicates noise variance; I i Let represent the real part of the i-th bit.
[0072] If the modulation scheme is QPSK, the formula for calculating the soft bit value in the first soft bit sequence is as follows:
[0073] llr(b1)=2Q i / σ2 Formula 3
[0074] Among them, Q i I represents the imaginary part of the i-th bit; i σ represents the real part of the i-th bit; 2 This represents the noise variance.
[0075] If the modulation scheme is QPSK, the formula for calculating the soft bit value in the first soft bit sequence is as follows:
[0076] llr(b0)=2I i / σ 2 ;llr(b1)=2Q i / σ 2 Formula 4
[0077] Among them, Q i I represents the imaginary part of the i-th bit; i σ represents the real part of the i-th bit; 2 This represents the noise variance.
[0078] If the modulation scheme is 8PSK, the formula for calculating the soft bit value in the first soft bit sequence is as follows:
[0079] llr(b0)=0.54(|I i |-|Q i |) / σ 2 ;
[0080] llr(b1)=2αI i / σ 2 ;
[0081] llr(b2)=2βQ i / σ 2 Formula 5
[0082] Where α,β∈(0.38,0.92); Q i I represents the imaginary part of the i-th bit; i σ represents the real part of the i-th bit; 2 This represents the noise variance.
[0083] Step 303: Determine the amplitude control value based on the bit rate.
[0084] In one or more embodiments, the decision-making methods are first introduced, mainly including hard decision and soft decision. Hard decision decoding is simpler and easier to implement than soft decision decoding. However, soft decision decoding, because it fully utilizes the information of the channel output signal, increases performance by 2-3 dB. For a clearer understanding of the performance of soft decision decoding, please refer to [reference needed]. Figure 4 .
[0085] like Figure 5 The diagram shown is a table illustrating a capacity limit corresponding to a bitrate, provided in one or more embodiments. The corresponding capacity limit is determined based on the bitrate and the decision method.
[0086] The formula for calculating the amplitude control value is as follows:
[0087] γ=E b / N0+τ Formula 6
[0088] Where τ represents the capacity margin.
[0089] Similarly, the amplitude control value of the first soft bit sequence can be determined according to Formula 6. The calculation formula for the amplitude control value of the first soft bit sequence is as follows:
[0090]
[0091] In one or more embodiments, the capacity limit margin can be determined based on specific circumstances or it can be predetermined, and no limitation is made here. The purpose of the capacity limit margin is to simplify the amplitude control value and facilitate subsequent calculations.
[0092] Step 304: Determine the second soft bit sequence based on the first soft bit sequence and the amplitude control value.
[0093] In one or more embodiments, a first parameter is determined based on a first soft bit sequence, wherein the first parameter is used to identify the trend of the first soft bit sequence. If the first parameter is the mean of the first soft bit sequence, the formula for determining the first parameter is as follows:
[0094]
[0095] Based on the first soft bit sequence, the amplitude control value, and the first parameter, the second soft bit sequence is determined, wherein the determined second soft bit sequence is as follows:
[0096] Step 305: Input the second soft bit sequence into the decoder to determine the decoding result.
[0097] In one or more embodiments, inputting a second soft bit sequence into the decoder determines the decoding result. Specifically, initialization begins: the two-way convolutional decoder is initialized using the following formula:
[0098] D1_gamma:
[0099] in, It corresponds to the soft bit value, u k =0,1,p k=0,1. D1_alpha: Refer to the BCJR algorithm, D1_beta: Refer to the BCJR algorithm.
[0100] D2_gamma: D2_alpha: Refer to the BCJR algorithm. D2_beta: Refer to the BCJR algorithm. D2_L21e: Finally, output L1: Iteration stops when the maximum number of decoding iterations is reached. For L1(u)... k ) Make a decision based on the sign, if L1(u k )≥0, then u k The judgment is 0, otherwise the judgment is 1.
[0101] As can be seen from steps 301 to 305 above, by determining the amplitude control value based on the code rate, and then adjusting the amplitude of the first soft bit sequence based on the first soft bit sequence and the amplitude control value, a second soft bit sequence is obtained. The second soft bit sequence is then input into the decoder, thereby achieving a more accurate determination of the decoding result.
[0102] In one or more embodiments, before inputting soft bit values to the decoder, the present invention first maps the demodulated constellation data into soft bit values, and then, based on the code rate and decision method, from... Figure 5 The corresponding capacity limit can be determined, and then the amplitude control value can be determined based on the capacity limit and margin. Since the amplitude control value is determined based on the capacity limit, a relatively accurate decoding result can be obtained even with a very low noise ratio. Then, based on the first soft bit sequence, a first parameter is determined. Based on the first soft bit sequence, the first parameter, and the amplitude control value, the amplitude of the first soft bit sequence is adjusted to obtain a second soft bit sequence. This second soft bit sequence is then input into the decoder, thereby achieving a more accurate decoding result. Specifically, by using the first parameter and the amplitude control value, not only is the amplitude of the first soft bit sequence adjusted to a reasonable range, but the adjusted second soft bit sequence can also be input into the decoder to obtain a more accurate decoding result. For example, if the amplitude of the first soft bit sequence varies significantly, the amplitude of the first soft bit sequence can be adjusted to a reasonable range based on the first parameter and the amplitude control value, avoiding lower decoding accuracy caused by a large amplitude in the first soft bit sequence.
[0103] To more clearly see the effect of amplitude control processing, please refer to... Figure 6 and Figure 7 .in Figure 6This is a soft-bit time-domain diagram of a signal without amplitude control processing, provided in one or more embodiments. Figure 7 This is a soft-bit time-domain diagram of a signal amplitude control processing provided in one or more embodiments.
[0104] In one or more embodiments, for example, if the code rate is 0.5 and the encoding method is turbo encoding, simulation tests can be performed to obtain the packet error rate of the digital AGC method and the packet error rate corresponding to this invention. The packet error rate corresponding to this invention is lower than the packet error rate of the digital AGC, thus confirming that by performing amplitude control processing on the first soft bit sequence to obtain the second soft bit sequence, subsequent decoding can be performed more accurately, resulting in a more accurate decoding result. See also... Figure 8 .
[0105] In one or more embodiments, for example, if the code rate is 0.5 and the encoding method is turbo encoding, simulation tests can be performed to obtain the bit error rate of the digital AGC method and the bit error rate corresponding to this invention. The bit error rate corresponding to this invention is lower than the bit error rate of the digital AGC, thus confirming that by performing amplitude control processing on the first soft bit sequence to obtain the second soft bit sequence, subsequent decoding can be performed more accurately, resulting in a more accurate decoding result. See also... Figure 9 .
[0106] In one or more embodiments, for example, if the code rate is 0.5, the signal attenuation is 60dB, and the encoding method is turbo encoding, simulation tests can be performed to obtain the packet error rate of the digital AGC method and the corresponding packet error rate of the present invention. The packet error rate of the present invention is lower than that of the digital AGC method. Even under conditions of low signal-to-noise ratio and signal amplitude attenuation of 60dB from the reference value, the present invention can still decode correctly when the signal efficiency is significantly reduced and the signal-to-noise ratio is low. See also... Figure 10 .
[0107] In one or more embodiments, for example, if the code rate is 0.5, the signal attenuation is 60dB, and the encoding method is turbo encoding, the bit error rate of the digital AGC method and the bit error rate corresponding to this invention can be obtained through simulation testing. The bit error rate corresponding to this invention is lower than that of the digital AGC method. Even under conditions of low signal-to-noise ratio and signal amplitude attenuation of 60dB from the reference value, this invention can still decode correctly when the signal efficiency is significantly reduced and the signal-to-noise ratio is low. See also... Figure 11 .
[0108] Based on the same technical concept described above, one or more embodiments also provide a decoding device, such as... Figure 12As shown, the device 1200 includes: an acquisition unit 1201 for acquiring constellation diagram data and code rate; a processing unit 1202 for determining a first soft bit sequence based on the constellation diagram data and modulation scheme; determining an amplitude control value based on the code rate; determining a second soft bit sequence based on the first soft bit sequence and the amplitude control value; and inputting the second soft bit sequence into a decoder to determine the decoding result.
[0109] Optionally, the processing unit 1202 is further configured to: determine a first parameter based on the first soft bit sequence; the first parameter is used to identify the trend of the first soft bit sequence. Specifically, the processing unit 1202 is configured to: determine a second soft bit sequence based on the first soft bit sequence, the amplitude control value, and the first parameter.
[0110] Optionally, the processing unit 1202 is specifically used for: the first parameter being the mean of the first soft bit sequence.
[0111] Optionally, the processing unit 1202 is specifically used to: determine the capacity limit based on the bit rate and the decision method; and determine the amplitude control value based on the capacity limit.
[0112] Optionally, the processing unit 1202 is specifically used to: determine the capacity limit margin; and determine the amplitude control value based on the capacity limit and the margin.
[0113] Optionally, the processing unit 1202 is specifically used for: making a soft decision.
[0114] Optionally, the processing unit 1202 is specifically used for modulation methods of 8PSK, BPSK, or QPSK.
[0115] Based on the same technical concept, embodiments of this application also provide an electronic device, such as... Figure 13 As shown, the electronic device 1300 includes at least one processor 1301 and a memory 1302 connected to the at least one processor. In this embodiment, the specific connection medium between the processor 1301 and the memory 1302 is not limited. Figure 13 Taking the connection between processor 1301 and memory 1302 via a bus as an example, the bus can be divided into address bus, data bus, control bus, etc.
[0116] In this embodiment of the application, the memory 1302 stores instructions that can be executed by at least one processor 1301. By executing the instructions stored in the memory 1302, at least one processor 1301 can perform the steps included in the aforementioned decoding method.
[0117] The processor 1301 is the control center of the computing device. It can connect to various parts of the computing device using various interfaces and lines, and performs data processing by running or executing instructions stored in the memory 1302 and calling data stored in the memory 1302. Optionally, the processor 1301 may include one or more processing units. The processor 1301 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles issuing instructions. It is understood that the modem processor may not be integrated into the processor 1301. In some embodiments, the processor 1301 and the memory 1302 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.
[0118] Processor 1301 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit (ASIC), field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the decoding method embodiments can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0119] Memory 1302, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 1302 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 1302 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 1302 may also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0120] Based on the same technical concept, embodiments of this application also provide a computer-readable storage medium storing a computer program executable by a computing device, which, when run on the computing device, causes the computing device to perform the steps of the above-described decoding method.
[0121] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0122] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0123] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0124] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0125] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0126] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A decoding method, comprising: The method comprises: acquiring constellation data and a code rate; determining a first soft bit sequence according to the constellation data and a modulation mode; determining an amplitude control value according to the code rate; determining a second soft bit sequence according to the first soft bit sequence and the amplitude control value; inputting the second soft bit sequence into a decoder to determine a decoding result; the determining of the amplitude control value according to the code rate comprises: determining a capacity limit according to the code rate and a decision mode; and determining the amplitude control value according to the capacity limit.
2. The method of claim 1, wherein, After the determining of the first soft bit sequence, the method further comprises: determining a first parameter according to the first soft bit sequence; and the determining of the second soft bit sequence according to the first soft bit sequence and the amplitude control value comprises: determining the second soft bit sequence according to the first soft bit sequence, the amplitude control value and the first parameter.
3. The method of claim 2, wherein, The first parameter is a mean value of the first soft bit sequence.
4. The method of claim 1, wherein, The determining of the amplitude control value according to the capacity limit comprises: determining a margin of the capacity limit; and determining the amplitude control value according to the capacity limit and the margin.
5. The method of claim 1, wherein, The decision mode is soft decision.
6. The method of claim 1, wherein, The modulation mode is 8PSK, BPSK or QPSK.
7. A decoding device, comprising: The method comprises: an acquiring unit configured to acquire constellation data and a code rate; a processing unit configured to determine a first soft bit sequence according to the constellation data and a modulation mode; determine an amplitude control value according to the code rate; and determine a second soft bit sequence according to the first soft bit sequence and the amplitude control value; input the second soft bit sequence into a decoder to determine a decoding result; the processing unit is further configured to determine a capacity limit according to the code rate and a decision mode; and determine the amplitude control value according to the capacity limit. The processor implements the steps of the method according to any one of claims 1-6 when executing the program.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The computer program stored in the computer readable medium can be executed by the computer device, and when the program is executed on the computer device, the computer device is caused to execute the steps of the method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Decoding method and device and storage medium
CN114499548A
LDPC (Low Density Parity Check) decoding quantization method, device and equipment as well as LDPC decoding method and system
CN115037313A