Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
One embodiment of the invention provides a kind of channel decoding method, and flow chart as shown in Figure 1, can comprise:
Step 101, obtain the channel decoding soft value that receives signal frame;
The method of the embodiment of the present invention can be applied in the voice signal decode procedure based on CELP, as enhanced full rate voice coding (Enhanced Full Rate speech codec, EFR) decode procedure of signal and adaptive multi-rate speech coding (Adaptive Multi Rate speech codec, AMR) signal etc.Also can be applied in the channel decoding process based on other speech codings and the Video coding based on other parameters.
Be understandable that, those skilled in the art will know that frame is to received signal carried out can obtaining decode results after channel decoding, according to this decode results can be directly or this indirectly obtain channel decoding soft value, and the channel decoding soft value obtaining is the signal floating point values that comprises each speech coding parameters.Channel decoding soft value can directly be obtained from the result of channel decoding, for example: when the signal frame receiving based on EFR, demodulation bit soft information (DEM_SOFT_VAL) is input to channel decoding module carries out after decoding, can delivery channel decoding be firmly worth, the channel decoding soft value of 189 and the demodulation bit external information of 378, can directly from the result of channel decoding, obtain channel decoding soft value like this.
The speech coding parameters comprising at the voice signal based on CELP can have constant codebook excitations (fixed codebook gain, FG), adaptive codebook excitation (adaptive codebook gain, AG), AI parameter and line spectrum parameter (line spectral frequencies, LSF).For example, for an EFR signal frame, in the channel decoding soft value of obtaining, comprise 4 subframes, the FG parameter of each subframe has 5 bits, and AG and AI parameter have respectively 9 bits and 4 bits, and the LSF parameter that has 38 bits in channel decoding soft value, is divided into LSF1 to LSF5.
Step 102, speech coding parameters value of sentencing firmly of obtaining current subframe from channel decoding soft value;
Speech coding parameters in channel decoding soft value can have a plurality of, can comprise and receive the speech coding parameters of signal and/or each speech coding parameters of each subframe.For example, in the signal frame based on EFR, parameter F G, AG and AI are that each subframe is one group, and parameter L SF is each signal frame, it is one group, the parameter that is similar to FG, AG and AI can be called to the speech coding parameters of each subframe so, the parameter that is similar to LSF can be called to the speech coding parameters that receives signal.The present embodiment is to be applicable to the speech coding parameters of each subframe as the channel decoding method of FG, AG and AI parameter.
And, in the channel decoding soft value of signal frame, the position of each speech coding parameters is fixed, first find out the channel decoding soft value of each speech coding parameters corresponding bit position in current subframe, channel decoding soft value being less than to 1 bit position is 0, channel decoding soft value being greater than to 1 bit position is 1, is speech coding parameters value of sentencing firmly like this with regard to having obtained the bit value of each speech coding parameters.
Step 103, judgement receive whether signal frame is correct speech frame, if so, further perform step 104;
Whether the signal frame that can judge in the following way reception is correct speech frame: if determine cyclic redundancy check (CRC) (the Cyclical Redundancy Check that frame carries out to received signal, CRC) verification is passed through, and the bit error rate that this signal frame is corresponding (bit error rate, BER) value is less than preset threshold value, thinks that the signal frame of this reception is correct speech frame; Otherwise think that the signal frame of this reception is not correct speech frame.
The signal frame receiving is carried out to CRC check and can when whether judgement reception signal frame is correct, carry out verification; Also can carry out verification at the other times that receive signal frame, and check results is stored.The CRC check that the signal frame receiving in judgement like this carries out whether by time, the check results directly storing in reading system, or first carry out the CRC check of signal frame, then judges according to check results.
In addition, if judge reception signal frame, not correct speech frame, can further carry out rapid 105;
104, judge in current subframe at least one speech coding parameters firmly the value of sentencing whether meet preset condition, if do not met, determine and need to revise speech coding parameters, execution step 106; If met, do not need to revise, directly the soft value of delivery channel decoding;
Be appreciated that, all different for the prerequisite that the different speech coding parameter of current subframe is corresponding, here preset condition can be the attributive character value of each speech coding parameters, or the condition value less on the impact of voice signal, if judgement does not meet preset condition, do not meet the attributive character of speech coding parameters, or larger on voice signal impact, determine and need to revise this speech coding parameters.
For example, in the signal frame based on EFR, speech coding parameters, for parameter F G, AG and the AI of parameter L SF and each subframe in channel decoding soft value, can have different judgment modes:
Particularly, if when FG parameter is larger, easily cause noise, when judgement, can judge the size of FG parameter, if surpass certain value, determine and need to revise FG parameter; For AG parameter, can judge the difference of the AG parameter of current subframe and the AG parameter of last subframe etc.; For AI parameter, whether the difference that can judge the inverse quantization value of this parameter in current subframe and last subframe within the scope of preset AI, if not within the scope of preset AI, needs to revise AI parameter etc.
Be appreciated that preset condition correspondingly includes but not limited to following information here:
If speech coding parameters is FG parameter, preset condition comprises: the high order bit of the FG parameter of the current subframe firmly value of sentencing is no more than a preset FG value, and the FG parameter difference of the FG parameter of current subframe and the last subframe of storage is in preset FG scope; And/or the FG parameter of current subframe firmly the value of sentencing be no more than the 2nd preset FG value;
If speech coding parameters is AG parameter, preset condition comprises: the AG parameter of the current subframe firmly value of sentencing is less than a preset AG value with the difference of the AG parameter of the last subframe storing; And/or the AG parameter number of times that the value of sentencing does not reduce continuously is firmly less than preset threshold value;
If speech coding parameters is AI parameter, preset condition comprises: in current subframe and last or the first two subframe, the difference of the inverse quantization value of the value of sentencing is within the scope of preset AI firmly for this AI parameter, and last signal frame is steady.Particularly, can whether be less than a preset value by the difference of the minimum and maximum value of the AI parameter inverse quantization value of four subframes in definite current demand signal frame and judge that whether signal frame is steady, if be less than, illustrated that this signal frame is steady, otherwise illustrate that this signal frame is not steady.
105, obtain the metric corresponding to the possible value of high N position bit of speech coding parameters, by the speech coding parameters high order bit possibility value replacement of the high N position bit value use metric minimum of the value of sentencing firmly;
Here 2 of the high N position bit that the high N position bit possibility value of speech coding parameters is speech coding parameters
nindividual possibility value, wherein N is less than or equal to the bit of speech coding parameters, and as speech coding parameters has 5 bits, its high 3 bits may value be 8 values between 000 to 111.Metric mainly refers to the transition probability of speech coding parameters and last subframe in current subframe, and with the transition probability of other speech coding parameters, and the bit error probability of this possibility value, and the bit correct probability equiprobability factor of this probable value and, specifically can be with reference to the description of subsequent embodiment.
The corresponding metric of each high N position bit possibility value, by speech coding parameters, the high N position bit value of the value of sentencing may value replacement with the high N position bit of metric minimum firmly.
The rear execution step 104 of step 105.
Step 106, the speech coding parameters that definite needs are revised carry out corresponding correction;
When revising, also can revise according to the attributive character of each speech coding parameters or on the impact of voice signal, the mode of revising may have multiple, as long as be not adapted to by meeting the speech coding parameters of attributive character separately the attributive character meeting separately, or will be adapted to voice signal impact less on the larger speech coding parameters of voice signal impact.
For example, in the signal frame based on EFR, for the correcting mode of parameters, may be: reduce FG parameter to preset value, or the value of the bit of channel decoding soft value absolute value minimum in the high order bit of excessive FG parameter is set to 0 etc.; Excessive AG parameter is reduced to preset value etc.; AI parameter by the current subframe of AI parameter substitution of last subframe.The rear execution step 107 of step 106.
Step 107, revised speech coding parameters is stored and exported as channel decoding result.
The channel decoding method of the embodiment of the present invention comprises: obtain the channel decoding soft value that receives signal frame; The speech coding parameters that obtains current subframe from channel decoding soft value is the value of sentencing firmly; If receiving signal frame is correct speech frame, judge in current subframe at least one speech coding parameters firmly the value of sentencing whether meet preset condition, if do not met, to determining, need the speech coding parameters of revising to carry out corresponding correction, and revised speech coding parameters is stored and exported as channel decoding result.Like this after channel decoding, the speech coding parameters of the needs correction in decode results, after revising, is made speech coding parameters can meet attributive character separately or also less on voice signal impact, thereby can improve the accuracy of decode results.
Be appreciated that in a specific embodiment, carry out while obtaining may the value corresponding metric of the high N position bit of speech coding parameters in above-mentioned steps 105, can realize as follows, flow chart as shown in Figure 2:
A1, obtain with the corresponding high N of speech coding parameters position than the ultrahard value of sentencing;
Can be by firmly extracting and obtain high N position than the ultrahard value of sentencing the value of sentencing from speech coding parameters, wherein N is less than or equal to the speech coding parameters number of bits of the value of sentencing firmly.
B1, obtain the channel metric that high N position bit may value:
High N position is compared than the value of corresponding bits position in the ultrahard value of sentencing and high N position bit possibility value, obtain the identical or different comparative result of value of bit; According to this comparative result, and the first corresponding relation of preset bit channel information and metric, obtain the channel metric of each bit, and may channel metric corresponding to value using the channel metric sum of each bit as this high N position bit; Wherein bit channel information comprises the combination of channel decoding soft value and following any or a plurality of information of bit: average BER value, speed sign as full rate or the sign of half rate etc. while identifying;
Be appreciated that the first corresponding relation comprises: the corresponding relation of bit channel information and bit correct probability, and the corresponding relation of bit channel information and bit error probability.If the value that the comparative result obtaining is bit is not identical, according to the corresponding relation of the bit channel information in the first corresponding relation and bit error probability, obtain a bit error probability as the channel metric of this bit; If the value that comparative result is bit is identical, according to the corresponding relation of the bit channel information in the first corresponding relation and bit correct probability, obtain a bit correct probability as the channel metric of this bit.
Wherein the sign of the speed in channel information can be from channel decoding soft value, and the speed flag bit of this subframe obtains; And average BER refers to the BER that current channel decoding soft value is corresponding, directly receive and obtain.
For example: high 4 that suppose to obtain in steps A 2 is 1001 than the ultrahard value of sentencing, get high 4 bits possibility value 0101 in high 4 bits possibility value 0000 to 1111, by the value of sentencing firmly with may value in the value of corresponding bits position compare, the comparative result obtaining is: 3rd, the value of 4 is different, and the value of the 1st, 2 is identical; For the channel metric of the 3rd, 4, first obtain the 3rd, 4 bit channel informations, and search in the corresponding relation of bit channel information and bit error probability, obtain two bit error probabilities respectively as the channel metric of the 3rd, 4; For the channel metric of the 1st, 2, first obtain the 1st, 2 bit channel informations, and search in the corresponding relation of bit channel information and bit correct probability, obtain two bit correct probabilities respectively as the channel metric of the 1st, 2; The channel metric of 1 to 4 is added to the channel metric that obtains this high 4 bits possibility value 0101.
C1, obtain the information source metric that high N position bit may value:
According to the second corresponding relation of preset information source information and n rank probability, obtain a n rank probability as information source metric corresponding to this high N position bit possibility value; Wherein: n is more than or equal to 0; Information source information comprises that high N position bit may value and the combination of following any or a plurality of information: the high N position of the speech coding parameters of last subframe is than the ultrahard value of sentencing, the high N position of other speech coding parameters of last subframe is than the ultrahard value of sentencing, the high N position of this speech coding parameters of other speed is than the ultrahard value of sentencing, the speech coding parameters of last subframe is transformed into the high N position of the speech coding parameters same rate of current subframe than the ultrahard value of sentencing to the correlation of current subframe spectral line and last subframe spectral line etc.
Be appreciated that the second corresponding relation can comprise (the 1 rank probability of take is that transition probability is example explanation) below:
1, the speech coding parameters of last subframe is to the transition probability of current this speech coding parameters of subframe, the correlation of same speech coding parameters in considering two continuous subframes like this when obtaining information source metric, as mtr_fg[fg_pre] [fg_cur], the FG parameter high order bit that wherein [fg_pre] represents last subframe is the value of sentencing firmly, and [fg_cur] represents that the high N position of current subframe FG parameter is than the ultrahard value of sentencing.
2, other speech coding parameters of last subframe are to the transition probability of current this speech coding parameters of subframe, the correlation of different speech coding parameter in considering two continuous subframes like this when obtaining information source metric, as ai_ag[ai_pre] [ag_cur], the FG parameter high order bit that wherein [ai_pre] represents last subframe is the value of sentencing firmly, and [ag_cur] represents that the high N position of current subframe AG parameter sentences the AI parameter of the last subframe of value representation to the transition probability of the AG parameter of current subframe than ultrahard.
3, the second corresponding relation can also comprise mtr_fg[lsf_state] [fg_pre] [fg_cur], wherein [lsf_state] refers to the correlation of current subframe spectral line and last subframe spectral line, make information source metric more can reflect the actual conditions of the voice signal frame of current subframe, judge more accurately this N high order bit possibility value and the high order bit gap between the value of sentencing firmly.
4, for the voice signal frame based on AMR, it is variable bit rate, the second corresponding relation can also comprise: the transition probability between this speech coding parameters of other speed and the same speech coding parameters of current subframe, the high N position bit that need to first obtain the speech coding parameters of current subframe may value, and that in system, store with the high N position of same speech coding parameters current subframe different rates than the ultrahard value of sentencing; In the second corresponding relation, search again corresponding transition probability.
If the speed of continuous two subframes is different in 5 signal frames based on AMR, the second corresponding relation can also comprise: transition probability when last subframe is carried out switching rate to current subframe, particularly, need to first the speech coding parameters of last subframe be transformed into the speech coding parameters same rate with current subframe, but the rear high N of conversion position is than the ultrahard value of sentencing, obtain again the high N position bit possibility value of the speech coding parameters of current subframe, and in the second corresponding relation, find corresponding transition probability.
When the second corresponding relation comprises above-mentioned 1 to 5 any or a plurality of corresponding relation, can first obtain one or more transition probabilities, and information source metric can be the transition probability obtaining, or a plurality of transition probability sum.
It should be noted that, the second corresponding relation can be divided into the corresponding relation of odd number subframe information source information and n rank probability, and the corresponding relation of even number subframe information source information and n rank probability.When speech coding parameters comprises AI, in continuous two subframes, the redundancy of AI parameter is larger, be that AI parameter changes not quite, therefore the AI parameter of even number subframe adopts Absolute quantification when coded quantization, the AI parameter of odd number subframe adopts Relative quantification, when may the value corresponding information source metric of the high order bit that obtains AI parameter:
First judge that current subframe is even number subframe or odd number subframe, if odd number subframe, according to the corresponding relation of odd number subframe information source information in the second corresponding relation and n rank probability, obtains a n rank probability; If even number subframe, according to the corresponding relation of even number subframe information source information in the second corresponding relation and n rank probability, obtains a n rank probability.
D1, high N position bit that step B1 is obtained may value the high N position bit that obtains with step C1 of channel metric may value information source metric and as metric corresponding to the possible value of this high N position bit.Be appreciated that step B1 and C1 do not have absolute ordinal relation, can carry out simultaneously, also can successively carry out.
Cycling by above-mentioned steps A1 to D1,2N high N position bit may metric corresponding to value in the value of sentencing firmly can to obtain respectively speech coding parameters.
Another embodiment of the present invention also provides a kind of channel decoding method, and flow chart as shown in Figure 3, can comprise:
A2, obtain the channel decoding soft value that receives signal frame;
When obtaining channel decoding soft value, can directly from the result of channel decoding, extract the channel decoding soft value that receives signal frame; Also can from the result of channel decoding, extract the external information of demodulation bit, according to the relation between coding multinomial and the output sequence of encoding, and the relation between the external information of demodulation bit and demodulation bit soft information, obtain receiving the channel decoding soft value of signal frame.
Concrete preparation method described in embodiment, does not repeat them here as shown in Figure 1.
B2, judgement receive whether signal frame is correct speech frame, if not, determine that the speech coding of reception signal frame need to be revised, execution step C2; If so, do not need to revise, directly the soft value of delivery channel decoding;
Be appreciated that, when whether the speech coding parameters (as LSF parameter etc.) that receives signal frame in judgement needs to revise, can judge to receive whether signal frame is correct speech frame, if not, determine that the speech coding parameters that receives signal frame needs to revise, and performs step C2.
Judging whether while being correct speech frame, if determine that the CRC check that frame carries out to received signal passes through, and BER value corresponding to this signal frame be less than preset threshold value, thinks that the signal frame of this reception is correct speech frame; Otherwise think that the signal frame of this reception is not correct speech frame.
C2, at least one speech coding parameters that receives signal frame in channel decoding soft value is carried out to corresponding correction;
Generally, the position of the speech coding parameters of reception signal frame in channel decoding soft value is changeless, can first in channel decoding soft value, obtain after speech coding parameters, then revise; Such as, LSF parameter be take a signal frame as one group, be the speech coding parameters that receives signal frame, can revise according to the attributive character of each speech coding parameters or on the impact of voice signal, the mode of revising may have multiple, as long as be not adapted to by meeting the speech coding parameters of attributive character separately the attributive character meeting separately, or will be adapted to voice signal impact less on the larger speech coding parameters of voice signal impact.
Such as, when LSF parameter is revised: can carry out smoothing computation, the correction value using the value after smoothing computation as line spectrum parameter L SF to the line spectrum parameter L SF in channel decoding soft value with the state parameter of the last signal frame of current storage.
D2, revised speech coding parameters is stored and exported as channel decoding result.
Visible, the channel decoding method in the inventive method embodiment comprises: obtain the channel decoding soft value that receives signal frame; If receiving signal frame is not correct speech frame, at least one speech coding parameters in channel decoding soft value is carried out to corresponding correction, and revised speech coding parameters is stored and exported as channel decoding result.Like this after channel decoding, to the speech coding parameters of the reception signal frame of the needs correction in decode results through after revising, make speech coding parameters can meet attributive character separately or also less on voice signal impact, thereby can improve the accuracy of decode results.
In above-mentioned channel decoding method embodiment illustrated in fig. 1 and embodiment illustrated in fig. 3, all need to judge whether at least one speech coding parameters needs to revise, if needed, revise, revise, and for a speech coding parameters, the process of revising in judgement or the process of correction can be used the information (being information source information) of the last subframe of current storage or the speech coding parameters of last signal frame.Different, in method embodiment illustrated in fig. 1, be for the processing that receives the speech coding parameters of a subframe in signal frame, and method embodiment illustrated in fig. 3 is for the processing that receives the speech coding parameters of signal frame.
The channel decoding method of the embodiment of the present invention is described with the voice signal frame based on EFR below, and the structure of carrying out decoding at receiving terminal as shown in Figure 4, comprising: channel decoding module, parameter Estimation module and source coding module, particularly:
When communication ends receives the signal frame based on EFR, by the demodulation bit soft information of 378 (demodulated soft vale, DEM_SOFT_VAL) input channel decoding module, channel decoding module is carried out the processing of decoding, can give that the decoding of parameter Estimation module delivery channel be worth firmly, channel decoding soft value (the decoded soft vale of 189, DEC_SOFT_VAL) and/or the demodulation bit external information of 378 (extrinsic soft value, EXT_SOFT_VALUE);
Communication ends is by silence description frames (Silence Descriptor in the signal frame based on EFR receiving, SID), speech frame descriptor frame (Speech Descriptor, SP), the sign of CRC check, signal to noise ratio (Signalto Noise Ratio, SNR) and BER equivalence are input to parameter Estimation module;
Parameter Estimation module is receiving above-mentioned these information, first obtain channel decoding soft value, speech coding parameters is wherein carried out to the judgement that whether will revise, if need to revise speech coding parameters, carry out the processing of above-mentioned these steps of process such as correction of corresponding speech coding parameters, value of sentencing firmly (HARD_VAL) to source coding module output vocoder frames is revised decode results, has completed the judgement of bad frame simultaneously, output bad frame identity (BFI).
And the processing method of parameter Estimation module is the channel decoding method described in the embodiment of the present invention in said structure, particularly, realize as follows:
1, parameter Estimation module is obtained channel decoding soft value:
If the output of channel decoding module comprises channel decoding soft value, parameter Estimation module can directly directly be obtained from the output of channel decoding module; If the output of channel decoding module only includes the demodulation bit external information of 378, can be by the relation between coding multinomial and coding output sequence, and the relation between the external information of demodulation bit and demodulation bit soft information, obtain receiving the channel decoding soft value of signal frame.
At the coding side of communication, note coding multinomial is:
Wherein every row represents a coding multinomial, separately remembers that coding input bit sequence is u
0, u
1, u
2..., coding output sequence is v
0, v
1, v
2..., the cataloged procedure of coding side is: c
i0u
n+ c
i1u
n-1+ ...+c
i, K-1u
n-K+1=v
kn+i, wherein: i=0,1 ..., k-1, K is code length.
By the relation between above-mentioned coding multinomial and coding output sequence, obtained: u
n=f (v
(0), v
(1)..., v
(t)) n=0,1,2..., wherein t and f are determined by encode multinomial and cataloged procedure.Generally have: u
n=v
(0)+ v
(1)+ ...+, v
(t)n=0,1,2....
For example, in EFR, coding multinomial is
cataloged procedure is
u
n+u
n-3+u
n-4=v
2n
u
n+u
n-1+u
n-3+u
n-4=v
2n+1 (1)
In above-mentioned (1), two equatioies can obtain: u
n-1=v
2n+ v
2n+1, be equivalent to u
n=v
2 (n+1)+ v
2 (n+1)+1.In this example, t equals 1, v
(0), v
(1)respectively v
2 (n+1), v
2 (n+1)+1.
, at decoding end, note demodulation bit soft information is demllr (i), i=0 ..., 377, demodulation bit external information is demextr (i), i=0 ..., 377, the soft information of demodulation coding with decoding gain is demllrextr (v
(i))=demllr (v
(i))+demextr (v
(i)), i=0 wherein, 1 ..., t, and parameter Estimation module obtains bit u
nthe estimated value of channel decoding soft value be:
decllr(u
n)=(-1)
*sign(v
(0))
*sign(v
(1))
*...
*sign(v
(t))
*min(abs(demllrextr(v
(0))),abs(demllrextr(v
(1))),...,abs(demllrextr(v
(t))))n=0,1,2,......
In the decoding based on EFR, the channel decoding soft value that obtains receiving signal frame is:
decllr(u
n)=(-1)
*sign(demllrextr(v
2(n+1))
*sign(demllrextr(v
2(n+1)+1))
*min(abs(demllrextr(v
2(n+1))),abs(demllrextr(v
2(n+1)+1))),i=0,...,188
Wherein min represents to get minimum value; Abs represents to take absolute value; Sign is piecewise function, represents to get the symbol of certain number, and for example, the symbol value that is more than or equal to 0 number is 1, and the symbol value that is less than 0 number is-1.
Finally can obtain the channel decoding soft value of 189, and last 4 be tail bit, after casting out, obtain the channel decoding soft value of 185.
2, parameter Estimation module is carried out the correction of speech coding parameters:
By said method parameter Estimation module, obtained the channel decoding soft value based on EFR voice signal frame, in this channel decoding soft value, comprise 4 subframes, comprising LSF parameter, have 38 bits, be divided into LSF1~LSF5, and the FG parameter of each subframe has 5 bits, AI, AG parameter have respectively 9 bits and 4 bits.Below describe in detail respectively:
(1) for the correction of FG parameter, can realize as follows, flow chart as shown in Figure 5:
201, parameter Estimation module is first extracted the soft value of 5 bit channel decoding of the FG parameter corresponding bit position of current subframe from channel decoding soft value, thus the FG parameter that obtains 5 bits in current subframe according to this channel decoding soft value value of sentencing firmly.
202, parameter Estimation module judges that according to the SP receiving whether current demand signal frame is speech frame, if so, performs step 203; If not, perform step 204.
203, judge whether current demand signal frame is correct speech frame, if so, performs step 209, if not, perform step 205.
Particularly, whether the CRC check that judges current demand signal frame according to the sign of the CRC check receiving is passed through, and judge according to the BER signal receiving whether this BER value is less than preset threshold value, if CRC check by and BER value be less than preset threshold value, determine that current demand signal frame is correct speech frame.
204, after preserving the FG parameter of current demand signal frame the value of sentencing high order bit being 0 firmly, perform step 213.
The FG parameter of 205, getting 5 bits is firmly in the value of sentencing, high 4 than the ultrahard value of sentencing, be assumed to be 0110.
It should be noted that, in the present embodiment, take and get high 4 and describe as example than the ultrahard value of sentencing, for the high N of getting of other position, than the situation of the ultrahard value of sentencing, processing method similarly.The rear execution step 206 of step 205.
206, obtain a metric corresponding to high order bit possibility value:
Be appreciated that due to got in FG parameter high 4 than the ultrahard value of sentencing, high order bit may value be arbitrary value of 16 high order bit values in 0000~1111, supposing to get a high order bit probable value is 1010.
First obtain corresponding channel metric: by 1010 with 0110 comparison of the value of sentencing firmly, the value that obtains the 1st, 2 is identical, the different comparative result of value of the 3rd, 4; Use the channel decoding soft value of these 3,4 bits as index, in the channel decoding soft value table corresponding to bit error probability of the bit storing, obtain two bit error probabilities respectively as the channel metric of the 3rd, 4 bits; By the channel decoding soft value of these 1,2 bits, as index, in the channel decoding soft value table corresponding to bit correct probability of the bit storing, obtain two bit correct probabilities respectively as the channel metric of the 1st, 2 bits; And the channel decoding metric of 4 bits is added, obtain the channel metric of possibility value 1010 correspondences.
Obtain again corresponding information source metric: with the high order bit of the last subframe storing firmly the value of sentencing be index with the possible value of this high order bit, in transition probability table, find a corresponding transition probability as information source metric.
Information source metric obtained above and channel metric are added, obtain the metric of possibility value 1010 correspondences.The rear execution 207 of step 206.
207, judge whether 16 high order bits may all calculate by metric corresponding to value, if so,, after execution step 208, perform step 210; If not, return execution step obtain another high order bit in 206 may metric corresponding to value.
208, getting the high order bit of minimum metric in the metric that 16 high order bits are may value corresponding may value, as the high order bit of the FG parameter value of sentencing firmly.
209, from the BER and the SNR that receive, determine that whether current subframe is reliable, whether the BER receiving and SNR in certain adjustable extent, if reliable, perform step 212; If unreliable, perform step 210.
Whether the FG parameter that 210, the judges current subframe firmly value of sentencing meets preset condition, if met, performs step 212, if do not met, performs step 211.
Here preset condition includes but not limited to: the FG parameter of the current subframe firmly high order bit of the value of sentencing is no more than a preset FG value, and the FG parameter difference of the FG parameter of this subframe and the last subframe of storage is in preset FG scope; And/or the FG parameter of current subframe firmly the value of sentencing be no more than the 2nd preset FG value etc.
211, carry out the correction of FG parameter: reduce FG parameter, bit soft value minimum in the soft value of the high order bit of FG parameter can be set to 0 etc.;
212, preserve to revise after the parameter high order bit of the value of sentencing firmly of this subframe FG.The rear execution step 213 of step 212.
213, output revise after FG parameter value of sentencing firmly of this subframe.The rear execution step 214 of step 213.
Whether the correction that 214, judges the FG parameter of 4 subframes in channel decoding soft value is handled, if so, process ends, if not returning to execution step 201, the FG parameter of obtaining next subframe is the value of sentencing firmly.
(2) for the correction of AG parameter, can realize as follows, flow chart as shown in Figure 6:
301, parameter Estimation module is first extracted the soft value of 4 bit channel decoding of the AG parameter corresponding bit position of a subframe from channel decoding soft value, thus the AG parameter that obtains 4 bits in current subframe according to this channel decoding soft value value of sentencing firmly.
302, according to the SP receiving, judge that whether current demand signal frame is speech frame, if so, performs step 303; If not, perform step 313.
303, judge whether current demand signal frame is correct speech frame, if so, performs step 308, if not, perform step 304.
Particularly, whether the CRC check that judges current demand signal frame according to the sign of the CRC check receiving is passed through, and judge according to the BER signal receiving whether this BER value is less than preset threshold value, if CRC check by and BER value be less than preset threshold value, determine that current demand signal frame is correct speech frame.
The AG parameter of 304, getting 4 bits is firmly in the value of sentencing, high 3 than the ultrahard value of sentencing, be assumed to be 010.The rear execution step 305 of step 304.
305, obtain a metric corresponding to high order bit possibility value: the rear execution step 306 of step 305.
Be appreciated that, due to got in AG parameter high 3 than the ultrahard value of sentencing, high order bit may value be 000~111 arbitrary value in high order bit possibility value, supposing to get a high order bit may value be 110, and obtain channel metric road decoding metric and the information source metric of 110 correspondences, and be added obtain may value 110 correspondences metric.Mode in concrete acquisition methods and FG parameter described in step 206 is similar, does not repeat them here.
306, judge that whether 8 high order bits may all calculate by metric corresponding to value, if so, perform step 307; If not, return execution step obtain another high order bit in 305 may metric corresponding to value.
307, getting the high order bit of minimum metric in the metric that 8 high order bits are may value corresponding may value, as the high order bit of the AG parameter value of sentencing firmly.The rear execution step 308 of step 307.
Whether the AG parameter that 308, judges this subframe firmly value of sentencing meets preset condition, if met, performs step 310, if do not met, performs step 309.
Here preset condition comprises: the AG parameter of the current subframe firmly value of sentencing is less than a preset AG value with the difference of the AG parameter of the last subframe storing; And/or the AG parameter number of times that the value of sentencing does not reduce continuously is firmly less than the 2nd preset AG value etc.
309, carry out the correction of AG parameter: reduce AG parameter to meeting AG attributive character, and on the less value of voice signal impact.The rear execution step 310 of step 309.
310, preserve to revise after the parameter high order bit of the value of sentencing firmly of this subframe AG.The rear execution step 311 of step 310.
311, output revise after AG parameter value of sentencing firmly of this subframe.The rear execution step 312 of step 311.
Whether the correction that 312, judges the AG parameter of 4 subframes in channel decoding soft value is handled, if so, process ends, if not returning to execution step 301, the AG parameter of obtaining next subframe is the value of sentencing firmly.
313, after preserving the AG parameter of current demand signal frame the value of sentencing high order bit being 0 firmly, perform step 311.
(3) for the correction of AI parameter, can realize as follows, flow chart as shown in Figure 7:
401, parameter Estimation module is first extracted the soft value of 9 bit channel decoding of the AI parameter corresponding bit position of a subframe from channel decoding soft value, thus the AI parameter that obtains 9 bits in current subframe according to this channel decoding soft value value of sentencing firmly.
402, according to the SP receiving, judge that whether current demand signal frame is speech frame, if so, performs step 403; If not, perform step 417.
403, judge whether current demand signal frame is correct speech frame, if so, performs step 408, if not, perform step 404.
Particularly, whether the CRC check that judges current demand signal frame according to the sign of the CRC check receiving is passed through, and judge according to the BER signal receiving whether this BER value is less than preset threshold value, if CRC check by and BER value be less than preset threshold value, determine that current demand signal frame is correct speech frame.
The AI parameter of 404, getting 9 bits is firmly in the value of sentencing, high 4 than the ultrahard value of sentencing, be assumed to be 0010.The rear execution step 405 of step 404.
405, obtain a metric corresponding to high order bit possibility value: the rear execution step 406 of step 405.
Be appreciated that, due to got in AI parameter high 4 than the ultrahard value of sentencing, high order bit may value be the arbitrary value in 0000~1111, supposing to get a high order bit may value be 0110, and obtain channel metric road decoding metric and the information source metric of 0110 correspondence, and be added obtain may value 0110 correspondence metric.
The acquisition methods of concrete channel metric, as described in step 206 in FG parameter, does not repeat them here; And when obtaining information source metric, need to be even number subframe or odd number subframe by the current subframe of judgement, and according to the even number subframe information source information storing and the corresponding relation of transition probability, or the corresponding relation of odd number subframe and transition probability obtains corresponding information source metric.
406, judge whether 16 high order bits may all calculate by metric corresponding to value, if so, in execution step 407; If not, return execution step obtain another high order bit in 405 may metric corresponding to value.
407, getting the high order bit of minimum metric in the metric that 8 high order bits are may value corresponding may value, as the high order bit of the AI parameter value of sentencing firmly.After step 407, perform step 408
Whether the AI parameter that 408, judges this subframe firmly value of sentencing meets preset condition, if met, performs step 410, if do not met, performs step 409.
Here preset condition comprises: the difference of the inverse quantization value of this AI parameter is within the scope of preset AI in the value of sentencing and last subframe firmly for current subframe, and last signal frame is steady etc.Obtaining last signal frame during information whether stably, whether stably last signal frame that can be by reading storage sign obtains.
409, carry out the correction of AI parameter: by the AI parameter of the current subframe of AI parameter substitution of last subframe.The rear execution step 410 of step 409.
410, calculate and preserve revise after the high order bit inverse quantization value of the value of sentencing firmly of this subframe AI parameter.The rear execution step 411 of step 410.
411, judge that current subframe is even number subframe or odd number subframe, if odd number subframe performs step 412, if even number subframe performs step 413.
412, the high order bit of not preserving AI parameter in current subframe is the value of sentencing firmly, and revises in current subframe AI parameter low 2 bit values of the value of sentencing firmly.The rear execution step 414 of step 412.
413, the high order bit of preserving AI parameter in current subframe is the value of sentencing firmly.The rear execution step 414 of step 413.
414, output revise after AI parameter value of sentencing firmly of this subframe.The rear execution step 415 of step 414.
Whether the correction that 415, judges the AI parameter of 4 subframes in channel decoding soft value is handled, and if so, performs step 416, and if not returning to execution step 401, the AI parameter of obtaining next subframe is the value of sentencing firmly.
416, judge that whether the current signal frame based on EFR is steady, and carry out mark according to judged result, and process ends.
Particularly, determine whether the difference of minimum and maximum value of the AI parameter inverse quantization value of four subframes in current demand signal frame is less than a preset value, if be less than, illustrate that this signal frame is steady, otherwise not steady., can in relevant information, to current demand signal frame, whether steadily carry out mark herein, the mode of mark can be with reference to the mode of prior art, as long as whether steadily can express current demand signal frame.
417, by the AI parameter of current demand signal frame firmly the value of sentencing and inverse quantization value be set to 0 after, and perform step 418.
418, by current demand signal frame flag for not steady, and process ends.
(4) for the correction of LSF parameter, can realize as follows, flow chart as shown in Figure 8:
501, parameter Estimation module obtains the state parameter of front signal frame.
Here state parameter can be for comprising the parameters such as inverse quantization value of the LSF parameter of front signal frame.
502, according to the SP receiving, judge that whether current demand signal frame is speech frame, if so, performs step 503; If not, process ends.
503, whether judgement is correct speech frame to current demand signal frame, if so, and in execution step 504 rear execution steps 507, if not, perform step 505.
Particularly, whether the CRC check that judges current demand signal frame according to the CRC signal receiving is passed through, and judge according to the BER signal receiving whether this BER value is less than preset threshold value, if CRC check by and BER value be less than preset threshold value, determine that current demand signal frame is correct speech frame.
504, obtain the inverse quantization value of LSF parameter in current demand signal frame, and directly export the LSF parameter of current demand signal frame.The rear execution step 507 of step 504.
When obtaining the inverse quantization value of LSF parameter of current demand signal frame, in first channel decoding soft value, extract the channel decoding soft value of LSF parameter corresponding bit position, according to this channel decoding soft value, obtain LSF parameter value of sentencing firmly, and carry out inverse quantization.
505, LSF parameter is revised: according to the state parameter obtaining in step 501, the LSF parameter of current demand signal frame is carried out smoothly, and the correction value using the value after smoothing computation as LSF parameter.The rear execution step 506 of step 505 and 507.
Particularly, first the LSF parameter of current demand signal frame is carried out to inverse quantization, and the LSF parameter inverse quantization value of state parameter and current subframe is carried out to smoothing computation, finally by the LSF parameter quantification after level and smooth.
506, by revised LSF parameter output.
507, according to the revised LSF parameter of step 505, the state parameter of current storage is upgraded, or according to the LSF parameter of output in step 504, upgrade the state parameter of current storage.
Above-mentioned in the decode procedure based on EFR signal frame, parameter Estimation first obtains the channel decoding soft value that receives signal frame, and whether judgement speech coding parameters wherein needs to revise, if needed, revise accordingly, the speech coding parameters obtaining after revising like this can meet attributive character separately and also less on voice signal impact, thereby has improved the accuracy of decode results.
The method of the embodiment of the present invention can also be applied to the decode procedure based on AMR signal frame, and concrete method is similar to the above-mentioned decode procedure based on EFR signal frame.But because AMR is the signal frame of variable bit rate, the speed of continuous two signal frames may be different, when may the value corresponding metric of the high order bit that obtains speech coding parameters: for channel metric, can also further consider the speed of current subframe, in the first corresponding relation, can comprise the channel decoding soft value of bit and the speed of current subframe sign, with two couple's one of metric corresponding relation; For information source metric, can consider the transition probability of speech coding parameters between different rates, or the 0 rank probability distribution that adopts speech coding parameters is as metric etc.
And the speech coding frame format that is 12.2k based on AMR signal frame medium-rate is the same with the encoded frame format based on EFR signal frame, the interpretation method based on this speed in AMR signal frame can, with reference to described in the above-mentioned interpretation method based on EFR signal frame, not repeat them here.
But the encoded frame format of other speed is different, mainly different with the interpretation method of FG parameter for AG, based on removal rates in AMR signal frame, it is the speech coding of 12.2k and 7.95k, the speech coding of other speed all adopts the quantification of combining of AG and FG parameter, in vocoder frames, records an index., when decoding, can first by this index, table look-up and obtain respectively the inverse quantization value of AG and FG parameter, thereby obtain AG and FG value of sentencing firmly separately; And the judgement of whether revising according to value of sentencing firmly of each autoregressive parameter, and when revising, needs revise accordingly.
One embodiment of the invention also provides a kind of message source and channel decoding system, and its structure can as shown in Figure 9, comprise:
The first soft value acquiring unit 10, for obtaining the channel decoding soft value that receives signal frame;
The first soft value acquiring unit 10, when obtaining channel decoding soft value, can directly extract the channel decoding soft value that receives signal frame from the result of channel decoding; Also can from the result of channel decoding, extract the external information of demodulation bit, according to the relation between coding multinomial and the output sequence of encoding, and the relation between the external information of demodulation bit and demodulation bit soft information, obtain receiving the channel decoding soft value of signal frame.
The value of sentencing acquiring unit 120 firmly, the speech coding parameters that obtains current subframe for the channel decoding soft value obtained from the first soft value acquiring unit 10 is the value of sentencing firmly, and speech coding parameters can comprise any or a plurality of following information: constant codebook excitations FG, adaptive codebook excitation AG and adaptive codebook index AI;
In the channel decoding soft value of signal frame, the position of each speech coding parameters is fixed, the value of sentencing acquiring unit 120 is first found out the channel decoding soft value of each speech coding parameters corresponding bit position in current subframe firmly, channel decoding soft value being less than to 1 bit position is 0, channel decoding soft value being greater than to 1 bit position is 1, is speech coding parameters value of sentencing firmly like this with regard to having obtained the bit value of each speech coding parameters.
The first speech frame judging unit 220, receives for judging whether signal frame is correct speech frame, and if so, condition judgment unit 320 further judges;
When whether the signal frame that the first speech frame judging unit 220 receives in judgement is correct speech frame, concrete is if definite CRC check that frame carries out is to received signal passed through, and the BER value that this signal frame is corresponding is less than preset threshold value, think that this signal frame is correct speech frame; Otherwise be not just.
Condition judgment unit 320, for the speech coding parameters that judges the current subframe that the value of sentencing acquiring unit 120 obtains firmly firmly the value of sentencing whether meet preset condition; If do not met, determine and need to revise speech coding parameters;
Be appreciated that, all different for the prerequisite that the different speech coding parameter of current subframe is corresponding, here preset condition can be the attributive character value of each speech coding parameters, or the condition value less on the impact of voice signal, if judgement does not meet preset condition, do not meet the attributive character of speech coding parameters, or larger on voice signal impact, determine and need to revise this speech coding parameters.
For example, in the signal frame based on EFR, speech coding parameters, for parameter F G, AG and the AI of parameter L SF and each subframe in channel decoding soft value, can have different judgment modes:
Particularly, if when FG parameter is larger, easily cause noise, when judgement, can judge the size of FG parameter, if surpass certain value, determine and need to revise FG parameter; For AG parameter, can judge the difference of the AG parameter of current subframe and the AG parameter of last subframe etc.; For AI parameter, whether the difference that can judge the inverse quantization value of this parameter in current subframe and last subframe within the scope of preset AI, if not within the scope of preset AI, needs to revise AI parameter etc.
Here preset condition includes but not limited to following information:
If speech coding parameters is FG, preset condition can comprise: the high order bit of the constant codebook excitations FG of the current subframe firmly value of sentencing is no more than a preset FG value, and the constant codebook excitations FG difference of the constant codebook excitations FG of current subframe and the last subframe of storage is no more than preset FG scope; And/or the constant codebook excitations FG of current subframe firmly the value of sentencing be less than the 2nd preset FG value;
If speech coding parameters is AG, preset condition can comprise: the adaptive codebook excitation AG of the current subframe firmly value of sentencing is less than a preset AG value with the difference of the adaptive codebook excitation AG of the last subframe storing, and/or the adaptive codebook excitation AG number of times that the value of sentencing does not reduce continuously is firmly less than preset threshold value;
If speech coding parameters is AI, preset condition comprises: in current subframe and last or two subframes, the difference of the inverse quantization value of the value of sentencing is within the scope of preset AI firmly for adaptive codebook index AI, and last signal frame is steady.
When definite speech coding parameters comprises FG and AI, preset condition just comprises the condition about FG and AI parameter.
The first amending unit 30, when the value of sentencing does not meet preset condition firmly for the speech coding parameters when the current subframe of condition judgment unit 320 judgement, determines and needs the speech coding parameters of revising to carry out corresponding correction condition judgment unit 320;
The first amending unit 30 is when revising, also be to revise according to the attributive character of each speech coding parameters and on the impact of voice signal, by meeting the speech coding parameters of attributive character separately, be not adapted to the attributive character meeting separately, will be adapted to voice signal impact less on the larger speech coding parameters of voice signal impact.
For example, in the signal frame based on EFR: reduce FG parameter to preset value, or the value of the bit of channel decoding soft value absolute value minimum in the high order bit of excessive FG parameter is set to 0 etc.; Excessive AG parameter is reduced to preset value etc.; AI parameter by the current subframe of AI parameter substitution of last subframe.
First stores output unit 40, for the revised speech coding parameters of the first amending unit 30 is stored and exported as channel decoding result.
In the message source and channel decoding system of the embodiment of the present invention: the first soft value acquiring unit 10 obtains the channel decoding soft value that receives signal frame; The value of sentencing acquiring unit 120 obtains the speech coding parameters of current subframe from channel decoding soft value firmly, while determining that by the first speech frame judging unit 220 and condition judgment unit 320 in current subframe, at least one speech coding parameters need to be revised, 30 pairs of the first amending units are determined needs the speech coding parameters of revising to carry out corresponding correction, by the first storage output unit 40, revised speech coding parameters is stored and is exported as channel decoding result.Like this after channel decoding, to each speech coding parameters in decode results, after revising, can meet attributive character separately and also less on voice signal impact, thereby improve the accuracy of decode results.
In a specific embodiment, shown in Figure 10, in the channel decoding system of the present embodiment, can also comprise: substituting unit 420, when not being correct speech frame when the first speech frame judging unit 220 judgement reception signal frames, obtain the metric corresponding to the possible value of high N position bit of speech coding parameters, by the speech coding parameters high N position bit possibility value replacement of the high N position bit value use metric minimum of the value of sentencing firmly; Afterwards, condition judgment unit 320 judge again speech coding parameters firmly the value of sentencing whether meet preset condition.
2N value of the high N position bit that the high N position bit possibility value of each speech coding parameters is speech coding parameters here, wherein N is less than or equal to the bit of speech coding parameters, as speech coding parameters has 5 bits, its high 3 bits may value be 8 values between 000 to 111.Metric mainly refers to the transition probability of speech coding parameters and last subframe in current subframe, and with the transition probability of other speech coding parameters, and the bit error probability of this possibility value, and the bit correct probability equiprobability factor of this probable value and.
The corresponding metric of each high N position bit possibility value, the high N position bit value of the value of sentencing may value replacement with the high N position bit of metric minimum firmly by speech coding parameters for substituting unit 420.
In another specific embodiment, substituting unit 420 can comprise:
A high position is the value of sentencing acquiring unit firmly, for the high N position that obtains speech coding parameters than the ultrahard value of sentencing;
The value of sentencing acquiring unit is when obtaining firmly for a high position, and by extracting speech coding parameters, high N position is than the ultrahard value of sentencing in the value of sentencing firmly, and wherein N is less than or equal to the speech coding parameters bit of the value of sentencing firmly.
Channel metric acquiring unit, for high N position is compared than the ultrahard value of sentencing and the value of high N position bit possibility value corresponding bits position, obtain the identical or different comparative result of value of bit, according to comparative result, and the first corresponding relation of preset bit channel information and metric, obtain the channel metric of each bit, and using the channel metric sum of each bit as channel metric corresponding to this high N position bit possibility value; Bit channel information comprises the combination of channel decoding soft value and following any or a plurality of information of bit: average error bit rate, speed sign;
Be appreciated that the first corresponding relation comprises: the corresponding relation of bit channel information and bit correct probability, and the corresponding relation of bit channel information and bit error probability.If the value that the comparative result obtaining is bit is not identical, according to the corresponding relation of the bit channel information in the first corresponding relation and bit error probability, obtain a bit error probability as the channel metric of this bit; If the value that comparative result is bit is identical, according to the corresponding relation of the bit channel information in the first corresponding relation and bit correct probability, obtain a bit correct probability as the channel metric of this bit.
Wherein the sign of the speed in channel information can be from channel decoding soft value, and the speed flag bit of this subframe obtains; And average BER refers to the BER that current channel decoding soft value is corresponding, directly receive and obtain.
Information source metric acquiring unit, for according to the second corresponding relation of preset information source information and n rank probability, obtains a n rank probability as information source metric corresponding to this high N position bit possibility value; N is more than or equal to 0; Information source information comprises that high N position bit may value and the combination of following any or a plurality of information: the high N position of the speech coding parameters of last subframe is than the ultrahard value of sentencing, the high-order N of other speech coding parameters of last subframe is than the ultrahard value of sentencing, the high N position of this speech coding parameters of other speed is than the ultrahard value of sentencing, the speech coding parameters of last subframe is transformed into the high N position of the speech coding parameters same rate of current subframe than the ultrahard value of sentencing to the correlation of spectral line and last subframe spectral line in current subframe;
Be appreciated that the second corresponding relation can comprise (the 1 rank probability of take is that transition probability is example explanation) below: the speech coding parameters of last subframe is to the transition probability of current this speech coding parameters of subframe; Other speech coding parameters of last subframe are to the transition probability of current this speech coding parameters of subframe; The correlation of current subframe spectral line and last subframe spectral line; Transition probability between this speech coding parameters of other speed and the same speech coding parameters of current subframe; Transition probability when last subframe is carried out switching rate to current subframe etc.
Metric acquiring unit, for may value using high N position bit corresponding channel metric and information source metric and may metric corresponding to value as this high N position bit.
Wherein, information source metric acquiring unit can comprise:
Odd even judging unit, for judging that current subframe is even number subframe or odd number subframe;
Odd number subframe metric obtains unit, for judging that when odd even judging unit current subframe is odd number subframe, according to the corresponding relation of odd number subframe information source information in the second corresponding relation and n rank probability, obtains a n rank probability;
Even number subframe metric obtains unit, for judging that when odd even judging unit current subframe is even number subframe, according to the corresponding relation of even number subframe information source information in the second corresponding relation and n rank probability, obtains a n rank probability;
Here the second corresponding relation comprises: the corresponding relation of odd number subframe information source information and n rank probability, and the corresponding relation of even number subframe information source information and n rank probability.
It should be noted that the implementation method of unit and the reciprocal process associated description in can reference method embodiment in the decoding system shown in Fig. 9 of the present invention and Figure 10.
One embodiment of the invention also provides a kind of receiving terminal, comprises the decoding system as shown in any as Fig. 9 and Figure 10.
Another embodiment of the present invention also provides a kind of message source and channel decoding system, and its structure can, as Figure 11, comprise:
The second soft value acquiring unit 50, for obtaining the channel decoding soft value that receives signal frame;
The second soft value acquiring unit 50 can extract the channel decoding soft value that receives signal frame from the result of channel decoding; Or, from the result of channel decoding, extract the external information of demodulation bit, according to coding multinomial and the relation of encoding between output sequence, and the relation between the external information of demodulation bit and demodulation bit soft information, obtain receiving the channel decoding soft value of signal frame.
The second speech frame judging unit 60, for judging whether the reception signal frame that the second soft value acquiring unit 50 obtains is correct speech frame;
The second amending unit 70, for not being correct speech frame when the second speech frame judging unit 60 judgements receive signal frame, carries out corresponding correction to the speech coding parameters of at least one reception signal frame in channel decoding soft value;
Be appreciated that the speech coding parameters that receives signal frame comprises line spectrum parameter L SF; The second amending unit 70, when LSF parameter is revised, carries out smoothing computation, the correction value using the value after smoothing computation as line spectrum parameter L SF with the state parameter of the last signal frame of current storage to the line spectrum parameter L SF in channel decoding soft value.
Second stores output unit 80, for the revised speech coding parameters of the second amending unit 70 is stored and exported as channel decoding result.
It should be noted that the implementation method of unit and the reciprocal process associated description in can reference method embodiment in the decoding system of Figure 11 of the present invention.
One embodiment of the invention also provides a kind of receiving terminal, comprises decoding system as described in Figure 11.
Visible, the embodiment of the present invention provides channel decoding method, system and device, and wherein interpretation method comprises: obtain the channel decoding soft value that receives signal frame; Determine when at least one speech coding parameters need to be revised in channel decoding soft value, to determining, need the speech coding parameters of revising to carry out corresponding correction, and revised speech coding parameters is stored and exported as channel decoding result.Like this after channel decoding, to each speech coding parameters in decode results, after revising, can meet attributive character separately and also less on voice signal impact, thereby improve the accuracy of decode results.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random access memory (RAM), disk or CD etc.
The channel decoding method above embodiment of the present invention being provided, system and device, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.