CN101866649B - Coding processing method and device, decoding processing method and device, communication system - Google Patents

Coding processing method and device, decoding processing method and device, communication system Download PDF

Info

Publication number
CN101866649B
CN101866649B CN2009100824119A CN200910082411A CN101866649B CN 101866649 B CN101866649 B CN 101866649B CN 2009100824119 A CN2009100824119 A CN 2009100824119A CN 200910082411 A CN200910082411 A CN 200910082411A CN 101866649 B CN101866649 B CN 101866649B
Authority
CN
China
Prior art keywords
spectral coefficient
amplitude
frequency domain
bigger
domain subband
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100824119A
Other languages
Chinese (zh)
Other versions
CN101866649A (en
Inventor
刘泽新
苗磊
齐峰岩
陈龙吟
胡晨
吴文海
郎玥
张清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009100824119A priority Critical patent/CN101866649B/en
Publication of CN101866649A publication Critical patent/CN101866649A/en
Application granted granted Critical
Publication of CN101866649B publication Critical patent/CN101866649B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses coding processing method and device, decoding processing method and device, and a communication system. The coding processing method comprises the steps of: selecting M pairs of spectral coefficients in a frequency domain subband to be coded, wherein M is the quantity of the spectral coefficients to be coded and is an integer larger than zero; aiming at the M pairs of spectral coefficients, respectively confirming absolute position information of one spectral coefficient in each pair of spectral coefficients in the frequency domain subband, relative position information of the relative absolute position of the other spectral coefficient in each pair of spectral coefficients, and the amplitude and the symbol of each spectral coefficient in the M pairs of spectral coefficients; and coding the positions, the amplitudes and the symbols of the M pairs of spectral coefficients, wherein the positions comprise absolute positions and relative positions. The embodiment of the invention also can code more spectral coefficients, improve the data code streams coded and output by a transmitting end and further improve the recovering quality of a receiving end to frequency domain signals under the condition that the available bit number of an encoder at the transmitting end is determined.

Description

Voice coding disposal route and device, tone decoding disposal route and device, communication system
Technical field
The present invention relates to the communication technology, especially a kind of voice coding disposal route and device, tone decoding disposal route and device, communication system.
Background technology
According to existing audio encoding method, under high code check, generally take the transform domain coding method that data to be transmitted is encoded.In the transform domain coding method, for frequency-region signal, especially the stronger signal of harmonic wave property adopts the sinusoidal coding method to encode usually.So-called sinusoidal coding method is selected the bigger frequency coefficient of some amplitudes exactly from the frequency coefficient of frequency-region signal, amplitude, symbol and the information such as position in whole frequency band thereof of the frequency coefficient of selecting is encoded to receiving end.Symbol wherein also is a phase place.The frequency coefficient that the amplitude of selecting is bigger is also referred to as sine pulse.
Process flow diagram as shown in Figure 1, as to adopt the sinusoidal coding method that frequency-region signal is encoded for prior art.Referring to Fig. 1, it may further comprise the steps:
Step 101 receives the frequency-region signal of importing.
Step 102 in the frequency-region signal that receives, according to what of transmitting terminal scrambler available bit number, the bigger spectral coefficient of search amplitude in the frequency domain subband that will handle, and is confirmed its position in this frequency domain subband, and this position is the absolute position.
Step 103 is encoded to absolute position, amplitude and the symbolic information of the spectral coefficient selected, obtains data code flow.
Step 104 is sent data code flow.
Suppose to have in the frequency domain subband to be encoded 64 spectral coefficients, 64 spectral coefficients are divided into odd number track and two tracks of even number track, 32 spectral coefficients are arranged in each track.Shown in Figure 2, be the spectral coefficient distribution schematic diagram on odd number track and two tracks of even number track.When adopting existing sinusoidal coding method to encode, in odd number track and even number track, hunt out the maximum spectral coefficient of two amplitudes respectively.Like the spectral coefficient on position in the even number track 4 and the position 58; Spectral coefficient in the odd number track on position 3 and the position 59; And confirm to be respectively 3,4,58,59 in its absolute position in this frequency domain subband, use 5 bits that the absolute location information of each spectral coefficient of hunting out is encoded respectively; The shared 4*5=20bits of absolute location information of 4 spectral coefficients choosing like this.After the selected absolute location information, just can confirm the amplitude and the symbolic information of spectral coefficient according to absolute location information.With 2 bits this phase place or symbolic information are encoded, the vector with one 4 dimension carries out vector quantization to the amplitude information of 4 spectral coefficients again, just obtains data code flow.
In realizing process of the present invention, when the inventor finds that prior art adopts the sinusoidal coding method that frequency-region signal is encoded, there is following problem at least:
Absolute location information to each spectral coefficient all adopts equal bit number to encode, thereby has taken more bit number.Because the absolute location information of code frequency spectral coefficient need take more bit number; Under the certain situation of transmitting terminal scrambler available bit number, the less spectral coefficient of can only encoding, like this; The frequency-region signal that receiving end recovers is second-rate, even can't recover frequency-region signal.
Summary of the invention
The purpose of the embodiment of the invention is: a kind of voice coding disposal route and device, tone decoding disposal route and device, communication system are provided; Reduce the required bit number of positional information of code frequency spectral coefficient; Thereby encode more spectral coefficient, to improve the recovery quality of receiving end to frequency-region signal.
A kind of voice coding disposal route that the embodiment of the invention provides comprises:
The M that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero;
To M to spectral coefficient; Confirm each one of them spectral coefficient absolute location information in said frequency domain subband respectively to spectral coefficient; With each to the relative position information of the said relatively absolute position of another spectral coefficient of spectral coefficient and said M amplitude and symbol to each spectral coefficient in the spectral coefficient;
M is encoded to position, amplitude and the symbolic information of spectral coefficient, and said position comprises said absolute position and said relative position.
A kind of tone decoding disposal route that the embodiment of the invention provides comprises:
Receive data code flow;
Said data code flow is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of the said relatively absolute position of another spectral coefficient;
Respectively according to each to absolute position and the relative position information of spectral coefficient in said frequency domain subband, confirm the absolute position of said relative position in said frequency domain subband;
Utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover said frequency domain subband.
A kind of voice coding treating apparatus that the embodiment of the invention provides comprises:
First receiver module is used to receive frequency-region signal, and this frequency-region signal comprises a plurality of frequency domain subbands;
Select module, be used for selecting range is bigger in frequency domain subband to be encoded M to spectral coefficient, M is the right quantity of spectral coefficient to be encoded, and M be greater than zero integer;
First determination module; Be used for to each spectral coefficient; Confirm each one of them spectral coefficient absolute position in said frequency domain subband respectively to spectral coefficient; Each is to the relative position of the said relatively absolute position of another spectral coefficient of spectral coefficient and said M amplitude and the symbol to each spectral coefficient in the spectral coefficient;
Coding module is used for M is encoded to position, amplitude and the symbolic information of spectral coefficient, and said position comprises said absolute position and said relative position.
A kind of tone decoding treating apparatus that the embodiment of the invention provides comprises:
Second receiver module is used to receive data code flow;
Decoder module; Be used for said data code flow is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of the said relatively absolute position of another spectral coefficient;
Second determination module is used for respectively according to each absolute position and the relative position information of spectral coefficient in said frequency domain subband confirmed the absolute position of said relative position in said frequency domain subband;
Recover module, be used to utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover said frequency domain subband.
A kind of communication system that the embodiment of the invention provides, voice coding treating apparatus and tone decoding treating apparatus, said voice coding treating apparatus is used to receive frequency-region signal, and this frequency-region signal comprises a plurality of frequency domain subbands; The M that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero; To each to spectral coefficient; Confirm each one of them spectral coefficient absolute position in said frequency domain subband respectively to spectral coefficient; Each is to the relative position of the said relatively absolute position of another spectral coefficient of spectral coefficient and said M amplitude and the symbol to each spectral coefficient in the spectral coefficient; M is encoded to position, amplitude and the symbolic information of spectral coefficient, generate data code flow, and send to said tone decoding treating apparatus, said position comprises said absolute position and said relative position;
Said tone decoding treating apparatus is used to receive said data code flow; Said data code flow is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of the said relatively absolute position of another spectral coefficient; Respectively according to each to absolute position and the relative position information of spectral coefficient in said frequency domain subband, confirm the absolute position of said relative position in said frequency domain subband; Utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover said frequency domain subband.
The code processing method that provides based on the above embodiment of the present invention and device, decoding processing method and device, communication system; Can the digram coding spectral coefficient, like this, only need absolute position to a spectral coefficient in the every pair of spectral coefficient of encoding; And the relative position of another spectral coefficient is encoded; Because the bit number that relative position information takies is less than absolute location information, has just reduced the required bit number of positional information of this spectral coefficient of encoding, thereby has reduced the bit number that each spectral coefficient of encoding on average takies; Under the certain situation of transmitting terminal scrambler available bit number; Just the more spectral coefficient of can encoding improves the data code flow of transmitting terminal coding output, and then improves the recovery quality of receiving end to frequency-region signal.
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
The process flow diagram that Fig. 1 adopts the sinusoidal coding method that frequency-region signal is encoded for prior art;
Fig. 2 is the spectral coefficient distribution schematic diagram on odd number track and two tracks of even number track;
Fig. 3 is the distribution schematic diagram of spectral coefficient in the frequency domain subband;
Fig. 4 is the process flow diagram of an embodiment of code processing method of the present invention;
Fig. 5 is the process flow diagram of another embodiment of code processing method of the present invention;
Fig. 6 is the process flow diagram of another embodiment of code processing method of the present invention;
Fig. 7 is the process flow diagram of another embodiment of code processing method of the present invention;
Fig. 8 is the process flow diagram of an embodiment of decoding processing method of the present invention;
Fig. 9 is the structural representation of an embodiment of code processing apparatus of the present invention;
Figure 10 is the structural representation of another embodiment of code processing apparatus of the present invention;
Figure 11 is the structural representation of another embodiment of code processing apparatus of the present invention;
Figure 12 is the structural representation of another embodiment of code processing apparatus of the present invention;
Figure 13 is the structural representation of an embodiment of decoding processing device of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
For the stronger spectral coefficient of the spectral coefficient in the spectrum signal, particularly harmonic wave property, the spectral coefficient of energy larger part occurs often in pairs.As shown in Figure 3, be the distribution schematic diagram of spectral coefficient in the frequency domain subband.When prior art is carried out sinusoidal coding to spectral coefficient, just, search the bigger spectral coefficient of some amplitudes and its parameter of encoding, comprising: its absolute position, amplitude and symbolic information in the frequency domain subband according to the size of spectral coefficient amplitude.Owing to do not consider the relation between the spectral coefficient, all need take equal bit number to the coding of each spectral coefficient absolute position, thereby take more bit number.Under the certain situation of transmitting terminal scrambler available bit number and since the coding absolute location information need take more bit number, the spectral coefficient number of codified seldom, the signal quality that makes receiving end recover is relatively poor.In the embodiment of the invention, made full use of the relation of the paired appearance between the spectral coefficient, the frequency coefficient of paired appearance has been carried out digram coding; Like this, to every pair of spectral coefficient, the absolute location information of one of them spectral coefficient of only need encoding; Relative position information with relative this spectral coefficient of another spectral coefficient; Because relative position information lacks than the bit number that absolute location information takies, thereby has saved the required bit number that takies of coding site information, has at scrambler under the situation of identical available bit number; Just can be than the prior art more spectral coefficient of encoding; Thereby improve the data code flow of transmitting terminal coding output,, and then improve the recovery quality of receiving end frequency-region signal especially for the stronger signal of harmonic wave property.
Fig. 4 is the process flow diagram of an embodiment of code processing method of the present invention.As shown in Figure 4, the code processing method of this embodiment may further comprise the steps:
Step 201, the M that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient.Wherein, M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero.
Step 202; To M to spectral coefficient; Confirm each one of them spectral coefficient absolute location information in the frequency domain subband respectively to spectral coefficient; With each relative position information to relative this absolute position of another spectral coefficient of spectral coefficient, and M is to the amplitude and the symbol of each spectral coefficient in the spectral coefficient.Wherein, also promptly a spectral coefficient is right for a pair of spectral coefficient.
Step 203 is encoded to position, amplitude and the symbolic information of spectral coefficient to M, and position wherein comprises absolute position and the relative position of above-mentioned M to spectral coefficient.
Encode through step 203, obtain data code flow after, can send to receiving end.
Below with the coding 2M sine pulse, also promptly: spectral coefficient, be example, technique effect of the present invention is described.Suppose in frequency domain subband to be encoded, to select 2M the spectral coefficient that amplitude is bigger, need encode this 2M spectral coefficient.The absolute location information of a sine pulse of coding takies X bit (bits), other sine pulse information of encoding, and for example: amplitude and symbolic information take Ybits.According to prior art, need (X+Y) bits sine pulse of encoding.Like this, 2M sine pulse of coding needs 2M* (X+Y) bits.The code processing method that adopts the embodiment of the invention to provide, in each offset of sinusoidal pulse one still encodes to its absolute location information, and to another sine pulse, then its relative position information is encoded.The relative position difference of supposing a pair of sine pulse is N, and like this, the coding of relative position information need take log 2(2N), encoding a pair of sine pulse need (X+Y+log 2(2N)+Y) bits.Work as log 2(2N)<and during X, adopt the code processing method of the embodiment of the invention, just can take less bit number than prior art, can save bit number, the bit number of saving is (X-log 2(2N)).Like this, just can utilize other more sine pulse of saved bits of encoded, thereby improve the data code flow of transmitting terminal coding output, and then improve the recovery quality of receiving end frequency-region signal.Because sine pulse occurs in pairs, generally, N=1, like this, the relative position information of encoding only need take needs 1bit, needs 5bits to compare with absolute location information of prior art coding, just can save 4bits.
According to one embodiment of present invention, can confirm the quantity M that spectral coefficient to be encoded is right according to the available bit number of transmitting terminal scrambler.Particularly, can be according to the required bit number of each spectral coefficient of independent coding, confirm the quantity Q of spectral coefficient of the available bit number codified of scrambler, if Q is an even number, M=0.5*Q; If Q is an odd number, M=0.5* (Q-1).To spectral coefficient, can carry out sinusoidal coding for the M that determines by Q through flow process embodiment illustrated in fig. 4.If available bit number is greater than the coding M bit number used to position, amplitude and the symbolic information of spectral coefficient; Then to coding M in the available bit number to spectral coefficient after remaining bit number; Again the definite right quantity of spectral coefficient that can encode, the spectral coefficient that other amplitude of continuation selection respective numbers is bigger in the frequency domain subband is right.And adopt flow process embodiment illustrated in fig. 4, encode.Perhaps; To in the available bit number coding M to spectral coefficient after remaining bit number; The quantity of the spectral coefficient of confirming again to encode continues to select the bigger spectral coefficient of other amplitude of respective numbers in frequency domain subband to be encoded, and to the parameter of the spectral coefficient that continues to select; Comprise: the absolute position in subband to be encoded, amplitude and symbolic information, encode.
In addition, also can confirm the right quantity M of spectral coefficient of the available bit number codified of transmitting terminal scrambler, and encode through flow process embodiment illustrated in fig. 4 according to the required bit number of every pair of spectral coefficient of average coding.If the available bit number of scrambler is greater than the coding M bit number required to spectral coefficient; Then to coding M in the available bit number to spectral coefficient after remaining bit number; The quantity of the spectral coefficient of confirming again to encode continues to select the bigger spectral coefficient of other amplitude in frequency domain subband to be encoded, and to the parameter of the spectral coefficient that continues to select; Comprise: the absolute position in subband to be encoded, amplitude and symbolic information, encode.
Fig. 5 is the process flow diagram of another embodiment of code processing method of the present invention.As shown in Figure 5, the code processing method of this embodiment may further comprise the steps:
Step 301, the L that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient.Wherein, L is the integer greater than M, and M is the right quantity of spectral coefficient to be encoded in the frequency domain subband to be encoded, and M is the integer greater than zero.
Step 302 is confirmed L spectral coefficient centering, and amplitude is all greater than right quantity P of the spectral coefficient of predetermined threshold value and the numerical values recited of M.If P is greater than M, execution in step 303.If P equals M, execution in step 304.If P is less than M, execution in step 305.
Step 303, amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin, execution in step 307 then.
Step 304, directly with P to spectral coefficient to right as a M to be encoded spectral coefficient, execution in step 307.
Step 305 selects the bigger spectral coefficient of a plurality of amplitudes right in the frequency domain subband again, up to amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M.
Predetermined threshold value wherein specifically can be an empirical value; Amplitude all greater than the P of predetermined threshold value to spectral coefficient in; Select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin; Be to have a spectral coefficient too small, thereby influence the decoding of receiving end demoder for fear of the spectral coefficient centering of selecting.If in step 305; In the whole frequency domain subband amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value less than M; Then can reduce this predetermined threshold value gradually; And execution in step 302, in frequency domain subband to be encoded amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value more than or equal to M.
Step 306, amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin, execution in step 307 then.
Step 307; Each spectral coefficient to M spectral coefficient centering is right; Confirm the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of relative this absolute position of another spectral coefficient respectively, and the amplitude of each spectral coefficient and symbol.
Step 308 is encoded to position, amplitude and the symbolic information of spectral coefficient to M.
Below through an instantiation above-mentioned embodiment shown in Figure 5 is described.Suppose to have in the frequency domain subband to be encoded 64 spectral coefficients, 64 spectral coefficients are divided into odd number and two tracks of even number, 32 spectral coefficients are arranged in each track.Can at first in the even number track, search the maximum spectral coefficient of 4 amplitudes; Then respectively the maximum spectral coefficient of 4 amplitudes+/-the N position searches a spectral coefficient that amplitude is bigger again; Because the characteristic that spectral coefficient occurs in pairs; The bigger spectral coefficient of this relative amplitude is at the odd number track, and N=1.4 pairs of spectral coefficients like this, have just been searched.From 4 pairs of spectral coefficients, selecting range all greater than the P of predetermined threshold value to spectral coefficient, suppose P=4.Ask for respectively in every pair of spectral coefficient by a relatively large margin and more by a small margin ratio, 2 pairs of less spectral coefficients of correlative value are encoded.Spectral coefficient on the dual numbers track is respectively with its absolute location information of 5bits coding, with its symbolic information of 1bit coding.And for the spectral coefficient on the odd number track, respectively with the relative position information of another spectral coefficient that occurs in pairs on its phase dual numbers track of 1bit coding, with its symbolic information of 2bit coding.At this moment, 4 shared 5*2+1*2+3=15bits of spectral coefficient.Wherein, 5*2 is the required bit number of absolute location information of spectral coefficient on the coding even number track; 1*2 is the required bit number of relative position information of spectral coefficient on the coding odd number track; Because spectral coefficient adopts the absolute position on the even number track, only need symbolic information with a spectral coefficient of 1bit coding, the symbolic information of another spectral coefficient can obtain according to the sequencing of its coding site in the frequency domain subband.Spectral coefficient adopts relative position on the odd number track, and the required bit number of symbolic information of spectral coefficient is 2bits on the coding odd number track, and therefore, the bit number that the symbolic information of spectral coefficient needs altogether on coding even number track and the odd number track is 3bits.Compared with prior art, can save 7bits and come again relatively large spectral coefficient of other amplitude of odd encoder.
In the embodiment shown in fig. 5; Each any one or multiple factor during minimum radius requires with amplitude peak ratio in threshold value and the frequency domain subband of amplitude ratio in to spectral coefficient that the value of L can search for the algorithm complex of spectral coefficient according to scrambler in the frequency domain subband, be provided with in advance confirms, also can be definite with reference to other factor.
Fig. 6 is the process flow diagram of another embodiment of code processing method of the present invention.As shown in Figure 6, the code processing method of this embodiment may further comprise the steps:
Step 401,2M bigger spectral coefficient of selecting range in frequency domain subband to be encoded.Wherein, M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero.
Step 402, according to the sequence of positions in the frequency domain subband that 2M spectral coefficient is right as a spectral coefficient in twos, form M to spectral coefficient, the relative position difference between the every pair of spectral coefficient is in the N scope, and N be the integer of setting in advance.
Step 403, right to each spectral coefficient, confirm the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of relative this absolute position of another spectral coefficient respectively, and the amplitude of each spectral coefficient and symbol.
Step 404 is encoded to position, amplitude and the symbolic information of spectral coefficient to M.
In the step 401 of embodiment shown in Figure 6; Specifically can in frequency domain subband to be encoded, select not form mutually spectral coefficient M spectral coefficient right, that amplitude is bigger earlier; Be in the scope of N apart from M spectral coefficient relative position difference respectively then, selecting M bigger spectral coefficient of other M amplitude again.Also can be according to the order in said frequency domain subband; In frequency domain subband to be encoded, select the bigger spectral coefficient of first amplitude earlier; And be in the scope of N in the spectral coefficient relative position difference bigger apart from this amplitude; Select second spectral coefficient that amplitude is bigger, right with first spectral coefficient composition spectral coefficient; And then select the 3rd the bigger spectral coefficient of amplitude, and and be in the scope of N in the spectral coefficient relative position difference bigger apart from this amplitude, select the 4th the bigger spectral coefficient of amplitude, to form spectral coefficient right with the 3rd spectral coefficient; And the like, select 2M-1 the spectral coefficient that amplitude is bigger, and be in the scope of N in the spectral coefficient relative position difference bigger apart from this amplitude, select 2M the spectral coefficient that amplitude is bigger, to form spectral coefficient right with 2M-1 spectral coefficient.Perhaps, also can adopt alternate manner to select to form 2M the spectral coefficient of M to spectral coefficient.
Fig. 7 is the process flow diagram of another embodiment of code processing method of the present invention.As shown in Figure 7, the code processing method of this embodiment may further comprise the steps:
Step 501 is selected M the spectral coefficient that amplitude is bigger in the odd number track in frequency domain subband to be encoded.Wherein, M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero.
Step 502 is closed on the position of the bigger spectral coefficient of M amplitude respectively in the even number track, select the bigger spectral coefficient of an other M amplitude.What is called is closed on the position of the bigger spectral coefficient of M amplitude, is meant respectively relative position difference with the bigger spectral coefficient of M amplitude in the N scope, and N is the integer that is provided with in advance.
Step 503, with M the spectral coefficient that amplitude is bigger, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.
Step 504, right to each spectral coefficient, confirm the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of relative this absolute position of another spectral coefficient respectively, and the amplitude of each spectral coefficient and symbol.
Step 505 is encoded to position, amplitude and the symbolic information of spectral coefficient to M.
In addition; Also can in the even number track in the frequency domain subband, select M the spectral coefficient that amplitude is bigger; In the odd number track, close on the position of the bigger spectral coefficient of M amplitude respectively, select the bigger spectral coefficient of an other M amplitude, M the spectral coefficient that amplitude is bigger; Respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.Afterwards, through step 504-505, realize the sinusoidal coding right to spectral coefficient.
Below through an instantiation embodiment shown in Figure 7 is described.Suppose to have in the frequency domain subband to be encoded 64 spectral coefficients, 64 spectral coefficients are divided into odd number and two tracks of even number, 32 spectral coefficients are arranged in each track.Can at first in the even number track, search the maximum spectral coefficient of M amplitude, suppose: M=2.Search a spectral coefficient that relative amplitude is bigger respectively in the maximum spectral coefficient N position of each amplitude that distance searches then; Because the characteristic that spectral coefficient occurs in pairs; The bigger spectral coefficient of this relative amplitude is at the odd number track, and N=1, specifically can be with reference to figure 3.Like this, search 4 spectral coefficients altogether, at this moment, the spectral coefficient on the dual numbers track is respectively with its absolute location information of 5bits coding.And for the spectral coefficient on the odd number track, respectively with the relative position information of another spectral coefficient that occurs in pairs on its phase dual numbers track of 1bit coding.At this moment, the positional information of 4 spectral coefficients that coding is chosen, shared 5*2+1*2=12bits, the coding method of prior art relatively, coding site information can be saved 8bits.Further; If the amplitude of every pair of spectral coefficient will choosing with symbolic information as a waveform; The method that adopts gain-wave vector to quantize quantizes, owing to this method symbol and amplitude are done as a whole, coded identification information separately; Coded identification information also can save 2bits with respect to prior art.The 8+2=10bits that employing saves, relatively large spectral coefficient of other amplitude of odd encoder again, like this, just than relatively large spectral coefficient of amplitude of prior art odd encoder.
In the flow process of above-mentioned each embodiment of code processing method; When M is encoded to position, amplitude and the symbolic information of spectral coefficient; Specifically can encode to the positional information of spectral coefficient to M, and respectively that each spectral coefficient is right amplitude and symbolic information be as a sine pulse waveform, the offset of sinusoidal pulse waveform is carried out vector quantization; Further reduce the required bit number of coding, improve code efficiency.Particularly, can adopt gain-wave vector quantization method offset of sinusoidal pulse waveform to carry out vector quantization.
In addition; When M is encoded to position, amplitude and the symbolic information of spectral coefficient; Also can encode to the positional information of spectral coefficient to M; And the amplitude and the symbolic information of a plurality of adjacent frequency domain subband intermediate frequency spectrum coefficients united vector quantization, and further reduce the required bit number of coding, improve code efficiency.
Suppose the frequency-region signal of a broad of coding, 224 spectral coefficients are arranged in the frequency-region signal, scrambler has 77 bit numbers and can use.224 spectral coefficients are divided into 4 frequency domain subbands, and first three subband has 64 spectral coefficients respectively, and the 4th frequency domain subband has 32 spectral coefficients.Coding method according to prior art; In first frequency domain subband and second frequency domain subband; Search 4 spectral coefficients that amplitude is bigger respectively; In the 3rd frequency domain subband and the 4th frequency domain subband, search a spectral coefficient that amplitude is bigger respectively; The absolute position and the symbolic information of first frequency domain subband and second frequency domain subband of encoding needs 5*4+2=22bits respectively, and the absolute position and the symbolic information of encode the 3rd frequency domain subband and the 4th frequency domain subband need 5+6+1=12bits altogether, and 10 amplitude informations are united vector quantization with three vectors of 3 dimensions/7 bits, 3 dimension/7 bits and 4 dimensions/7 bits respectively.The above-mentioned spectral coefficient of then encoding needs 22+22+12+7*3=77bits altogether.
And the coding method that provides according to the embodiment of the invention; Can be in first frequency domain subband and second frequency domain subband; Hunt out two pairs and an independent spectral coefficient respectively; Because the digram coding method of the embodiment of the invention, can be used for independent spectral coefficient of odd encoder so that each frequency domain subband can save bit.The paired spectral coefficient that hunts out is encoded with the method that gain-wave vector quantizes; Each frequency domain subband needs 5*2+1*2+6=18bits respectively; Wherein, 6 for wave vector quantizes required bit number, and first frequency domain subband and second frequency domain subband also need 6bits that wave shape gain is encoded.In order further to improve code efficiency, the amplitude of the independent spectral coefficient that hunts out respectively in two frequency domain subbands is united vector quantization with 2 n dimensional vector ns.Like this, two frequency domain subbands are carried out combined coding, the bit number that each frequency domain subband is saved is unified to be used, and two the independent spectral coefficients of encoding need 5*2+1*2+5=17bits.Certainly, also can be with two other spectral coefficient parameters of frequency domain subband combined coding.In addition, the combination of frequency domain sub-band coding also is not limited in two frequency domain subbands, can be three or multifrequency territory subband combined coding more.In the 3rd frequency domain subband and the 4th frequency domain subband; Search a spectral coefficient that amplitude is bigger respectively; Utilize the coding method of prior art that its positional information and symbolic information are encoded; Amplitude information is united vector quantization with the vector of one 2 dimension; Need 6+5+1*2+5=18bits; Wherein, 6,5,1*2,5 is respectively the required bit number of the 3rd of the positional information of the required bit number of the positional information of the 3rd frequency domain subband intermediate frequency spectrum coefficient of coding, the 4th frequency domain subband intermediate frequency spectrum coefficient of coding required bit number, coding and the symbolic information of the 4th frequency domain subband intermediate frequency spectrum coefficient, unites the required bit number of amplitude information of the 3rd of vector quantization and the 4th frequency domain subband intermediate frequency spectrum coefficient.The above-mentioned spectral coefficient of then encoding needs 18+18+6+17+18=77bits altogether; Identical with prior art; But than 2 independent frequency coefficients in first frequency domain subband of prior art odd encoder and second the frequency domain subband, simultaneously also odd encoder the symbolic information of the spectral coefficient in the 4th frequency domain subband.
After the code processing method of above-mentioned each embodiment of employing the present invention is numbered frequency-region signal, can send the data code flow that coding obtains to receiving end, decode accordingly by receiving end.As shown in Figure 8, be the process flow diagram of an embodiment of decoding processing method of the present invention, it may further comprise the steps:
Step 601 receives data code flow.
Step 602; The data code stream is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of relative this absolute position of another spectral coefficient.
Step 603, respectively according to each to absolute position and the relative position information of spectral coefficient in the frequency domain subband, confirm the absolute position of relative position in the frequency domain subband.
Step 604 is utilized absolute position, amplitude and the symbolic information of each spectral coefficient, recovers the frequency domain subband.
Fig. 9 is the structural representation of an embodiment of code processing apparatus of the present invention, and the code processing apparatus of this embodiment can be used for realizing the flow process of above-mentioned each the code processing method embodiment of the present invention.As shown in Figure 9, the code processing apparatus of this embodiment comprises first receiver module 701, selects module 702, first determination module 703 and coding module 704.Wherein, first receiver module 701 is used to receive frequency-region signal, and this frequency-region signal comprises a plurality of frequency domain subbands.Select module 702 to be used in each frequency domain subband to be encoded of the frequency-region signal that first receiver module 701 receives, the bigger M of selecting range is to spectral coefficient.Wherein, M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero.First determination module 703 be used for to select that module 702 selects each to spectral coefficient; Confirm each one of them spectral coefficient absolute position in the frequency domain subband respectively to spectral coefficient; With M to another spectral coefficient in the spectral coefficient relatively relative position of this absolute position and the amplitude and the symbol of each spectral coefficient.Coding module 704 is used for the M that first determination module 703 is confirmed is encoded to position, amplitude and the symbolic information of spectral coefficient, forms the data code flow that sends to receiving end, and position wherein comprises said absolute position and said relative position.
Figure 10 is the structural representation of another embodiment of code processing apparatus of the present invention.The code processing apparatus of this embodiment can be used for the flow process that realizes that the present invention is embodiment illustrated in fig. 5, compares with embodiment shown in Figure 9, among this embodiment, selects module 702 to comprise first selected cell 801, comparing unit 802 and second selected cell 803.Wherein, First selected cell 801 is used in each frequency domain subband to be encoded of the frequency-region signal that first receiver module 701 receives; The bigger L of selecting range is to spectral coefficient; L is the integer greater than M, and according to the indication of second selected cell 803, in frequency domain subband to be encoded, selects the bigger spectral coefficient of a plurality of amplitudes right again.Comparing unit 802 is used for L the spectral coefficient centering that comparison first selected cell 801 is selected, amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value whether greater than M.Second selected cell 803 is used for the comparative result according to comparing unit 802; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during greater than M; Amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin; When amplitude all equals M greater than the right quantity P of the spectral coefficient of predetermined threshold value, directly with P to spectral coefficient to right as a M to be encoded spectral coefficient; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during less than M; Indicate first selected cell 801 in the frequency domain subband, to select the bigger spectral coefficient of a plurality of amplitudes right again; Up to amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M; And amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin.
Figure 11 is the structural representation of another embodiment of code processing apparatus of the present invention.The code processing apparatus of this embodiment can be used for the flow process that realizes that the present invention is embodiment illustrated in fig. 6, compares with embodiment shown in Figure 9, among this embodiment, selects module 702 to comprise the 3rd selected cell 804 and first assembled unit 805.Wherein, the 3rd selected cell 804 is used in each frequency domain subband to be encoded of the frequency-region signal that first receiver module 701 receives, 2M the spectral coefficient that selecting range is bigger.First assembled unit 805 is used for according to the sequence of positions in the frequency domain subband; 2M the spectral coefficient that the 3rd selected cell 804 is selected is right as a spectral coefficient in twos; Form M to spectral coefficient, the relative position difference between the every pair of spectral coefficient is in the N scope, and N be the integer of setting in advance.
Figure 12 is the structural representation of another embodiment of code processing apparatus of the present invention.The code processing apparatus of this embodiment can be used for the flow process that realizes that the present invention is embodiment illustrated in fig. 7, compares with embodiment shown in Figure 9, among this embodiment, selects module 702 to comprise the 4th selected cell 806 and second assembled unit 807.The 4th selected cell 806 is used for selecting in the odd number track in the frequency domain subband to be encoded of the frequency-region signal that first receiver module 701 receives M the spectral coefficient that amplitude is bigger; In the even number track, close on the position of the bigger spectral coefficient of M amplitude respectively, select the bigger spectral coefficient of an other M amplitude; Perhaps; Select M the spectral coefficient that amplitude is bigger in the even number track in the frequency domain subband to be encoded in the frequency-region signal that first receiver module 701 receives; In the odd number track, close on the position of the bigger spectral coefficient of M amplitude respectively, select the bigger spectral coefficient of an other M amplitude.Second assembled unit 807 is used for M the spectral coefficient that amplitude is bigger that the 4th selected cell 806 is selected, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.
According to one embodiment of present invention; At Fig. 9 of the present invention to above-mentioned each code processing apparatus embodiment shown in Figure 12; Coding module 704 can be encoded to the positional information of spectral coefficient to M; And respectively that each spectral coefficient is right amplitude and symbolic information be as a sine pulse waveform, and the offset of sinusoidal pulse waveform is carried out vector quantization.Particularly, can adopt gain-wave vector quantization method offset of sinusoidal pulse waveform to carry out vector quantization.
According to another embodiment of the invention; At Fig. 9 of the present invention to above-mentioned each code processing apparatus embodiment shown in Figure 12; Coding module 704 can be encoded to the positional information of spectral coefficient to M, and the amplitude and the symbolic information of a plurality of adjacent frequency domain subband intermediate frequency spectrum coefficients in the frequency-region signal are united vector quantization.
Figure 13 is the structural representation of an embodiment of decoding processing device of the present invention.The decoding processing device of this embodiment can be used for adopting Fig. 9 to carry out corresponding decoding processing to the data code flow that each code processing apparatus coding shown in Figure 12 obtains, and realization is like the above-mentioned flow process embodiment illustrated in fig. 8 of the present invention.Shown in figure 13, the decoding processing device of this embodiment comprises second receiver module 901, decoder module 902, second determination module 903 and recovers module 904.Wherein, second receiver module 901 is used to receive data code flow.Decoder module 902 is used for the data code flow that second receiver module 901 receives is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; Wherein, The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of relative this absolute position of another spectral coefficient.Second determination module 903 is used for respectively according to the decoded result of decoder module 902, and each confirms the absolute position of relative position in the frequency domain subband to the absolute position and the relative position information of spectral coefficient in the frequency domain subband.Recover absolute position, amplitude and symbolic information that module 904 is used to utilize each spectral coefficient that second determination module 903 confirms, recover the frequency domain subband.
A kind of communication system that the embodiment of the invention provides comprises code processing apparatus and decoding processing device.Wherein, code processing apparatus is used to receive frequency-region signal, and this frequency-region signal comprises a plurality of frequency domain subbands; The M that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero; To each to spectral coefficient; Confirm each one of them spectral coefficient absolute position in the frequency domain subband respectively to spectral coefficient; Each to another spectral coefficient of spectral coefficient relatively relative position and the M of this absolute position to the amplitude and the symbol of each spectral coefficient in the spectral coefficient; M is encoded to position, amplitude and the symbolic information of spectral coefficient, generate data code flow, and send to decoding processing device, position wherein comprises absolute position and the relative position of above-mentioned M to spectral coefficient.Particularly, this code processing apparatus can adopt Fig. 9 of the present invention to arbitrary code processing apparatus embodiment realization shown in Figure 12.
Decoding processing device is used for the data code flow that the received code treating apparatus sends; The data code stream is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of relative this absolute position of another spectral coefficient; Respectively according to each to absolute position and the relative position information of spectral coefficient in the frequency domain subband, confirm the absolute position of relative position in the frequency domain subband; Utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover the frequency domain subband.Particularly, this decoding processing device can adopt the present invention decoding processing device embodiment shown in Figure 13 to realize.
Communication system embodiment according to the present invention, the code processing apparatus L that specifically selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and L is the integer greater than M, and in the frequency domain subband, selects the bigger spectral coefficient of a plurality of amplitudes right again; L spectral coefficient centering relatively, amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value whether greater than M; According to the comparative result of comparing unit, in amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during greater than M, amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin; When amplitude all equals M greater than the right quantity P of the spectral coefficient of predetermined threshold value, directly with P to spectral coefficient to right as a M to be encoded spectral coefficient; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during less than M; In the frequency domain subband, select the bigger spectral coefficient of a plurality of amplitudes right again; Up to amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M; And amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin.Particularly, this code processing apparatus can adopt the present invention code processing apparatus embodiment shown in Figure 10 to realize.
Another embodiment of communication system according to the present invention, code processing apparatus 2M the spectral coefficient that specifically selecting range is bigger in the frequency domain subband; According to the order in the frequency domain subband, 2M spectral coefficient is right as a spectral coefficient in twos, form M to spectral coefficient, the relative position difference between the every pair of spectral coefficient is in the N scope, and N be the integer of setting in advance.Particularly, this code processing apparatus can adopt the present invention code processing apparatus embodiment shown in Figure 11 to realize.
Another embodiment of communication system according to the present invention; Code processing apparatus is specifically selected M the spectral coefficient that amplitude is bigger in the odd number track in frequency domain subband to be encoded; In the even number track, close on the position of the bigger spectral coefficient of M amplitude respectively; Select the bigger spectral coefficient of an other M amplitude, perhaps, select M the spectral coefficient that amplitude is bigger in the even number track in frequency domain subband to be encoded; In the odd number track, close on the position of the bigger spectral coefficient of M amplitude respectively, select the bigger spectral coefficient of an other M amplitude; With M the spectral coefficient that amplitude is bigger, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.Particularly, this code processing apparatus can adopt the present invention code processing apparatus embodiment shown in Figure 12 to realize.
Another embodiment of communication system according to the present invention; Code processing apparatus is specifically encoded to the positional information of spectral coefficient to M; And respectively that each spectral coefficient is right amplitude and symbolic information be as a sine pulse waveform, and the offset of sinusoidal pulse waveform is carried out vector quantization.Particularly, can adopt gain-wave vector quantization method offset of sinusoidal pulse waveform to carry out vector quantization.
Also embodiment of communication system according to the present invention, code processing apparatus is specifically encoded to the positional information of spectral coefficient to M, and the amplitude and the symbolic information of a plurality of adjacent frequency domain subband intermediate frequency spectrum coefficients in the frequency-region signal are united vector quantization.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Embodiment of the invention digram coding spectral coefficient like this, only needs the absolute position to a spectral coefficient in the every pair of spectral coefficient of encoding; And the relative position of another spectral coefficient is encoded; Because the bit number that relative position information takies is less than absolute location information, has just reduced the required bit number of positional information of this spectral coefficient of encoding, thereby has reduced the bit number that each spectral coefficient of encoding on average takies; Under the certain situation of transmitting terminal scrambler available bit number; Just the more spectral coefficient of can encoding improves the data code flow of transmitting terminal coding output, and then improves the recovery quality of receiving end to frequency-region signal.
It should be noted last that: above embodiment is only in order to explaining technical scheme of the present invention, but not the present invention is made restrictive sense.Although the present invention is specified with reference to above-mentioned preferred embodiment; Those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to spirit and the scope that replacement does not break away from technical scheme of the present invention.

Claims (19)

1. a voice coding disposal route is characterized in that, comprising:
The M that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero;
To M to spectral coefficient; Confirm each one of them spectral coefficient absolute location information in said frequency domain subband respectively to spectral coefficient; With each to the relative position information of the said relatively absolute position of another spectral coefficient of spectral coefficient and said M amplitude and symbol to each spectral coefficient in the spectral coefficient;
M is encoded to position, amplitude and the symbolic information of spectral coefficient, and said position comprises said absolute position and said relative position.
2. method according to claim 1 is characterized in that, said in frequency domain subband to be encoded the bigger M of selecting range spectral coefficient is comprised:
The L that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and L is the integer greater than M;
If L spectral coefficient centering, amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M, then amplitude all greater than the P of predetermined threshold value to spectral coefficient in, selection M is right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin;
If L spectral coefficient centering, amplitude all equals M greater than the right quantity P of the spectral coefficient of predetermined threshold value, then direct with P to spectral coefficient to right as a M to be encoded spectral coefficient;
If L spectral coefficient centering; Amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value less than M; Then in said frequency domain subband, select the bigger spectral coefficient of a plurality of amplitudes right again; Up to amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M, then amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin.
3. method according to claim 1 is characterized in that, said in frequency domain subband to be encoded the bigger M of selecting range spectral coefficient is comprised:
2M bigger spectral coefficient of selecting range in said frequency domain subband;
According to the sequence of positions in said frequency domain subband, 2M spectral coefficient is right as a spectral coefficient in twos, form M to spectral coefficient, the relative position difference between the every pair of spectral coefficient is in the N scope, and N be the integer of setting in advance.
4. method according to claim 1 is characterized in that, said in frequency domain subband to be encoded the bigger M of selecting range spectral coefficient is comprised:
Select M the spectral coefficient that amplitude is bigger in the odd number track in said frequency domain subband; In the even number track, close on the position of the bigger spectral coefficient of a said M amplitude respectively, select the bigger spectral coefficient of an other M amplitude; With M the spectral coefficient that amplitude is bigger, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient; Perhaps
Select M the spectral coefficient that amplitude is bigger in the even number track in said frequency domain subband; In the odd number track, close on the position of the bigger spectral coefficient of a said M amplitude respectively, select the bigger spectral coefficient of an other M amplitude; With M the spectral coefficient that amplitude is bigger, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.
5. according to any described method of claim 1 to 4, it is characterized in that, also comprise: confirm the quantity M that spectral coefficient to be encoded is right according to the available bit number of scrambler.
6. method according to claim 5; It is characterized in that; If said available bit number greater than the coding M bit number used to position, amplitude and the symbolic information of spectral coefficient, then continues to select other amplitude bigger spectral coefficient or spectral coefficient right in said frequency domain subband;
Spectral coefficient to continuing to select is right, carries out said each operation to the absolute location information of one of them spectral coefficient in said frequency domain subband of spectral coefficient of confirming respectively;
To the spectral coefficient that continues to select, confirm absolute position, amplitude and the symbol of this spectral coefficient, and to one or more coding the in this absolute position, amplitude and the symbolic information.
7. according to any described method of claim 1 to 4, it is characterized in that said M is encoded to position, amplitude and the symbolic information of spectral coefficient is specially:
M is encoded to the positional information of spectral coefficient, and respectively that each spectral coefficient is right amplitude and symbolic information are carried out vector quantization as a sine pulse waveform to said sine pulse waveform.
8. according to any described method of claim 1 to 4; It is characterized in that; Said M is encoded to position, amplitude and the symbolic information of spectral coefficient is specially: M is encoded to the positional information of spectral coefficient, and the amplitude and the symbolic information of a plurality of adjacent frequency domain subband intermediate frequency spectrum coefficients are united vector quantization.
9. a tone decoding disposal route is characterized in that, comprising:
Receive data code flow;
Said data code flow is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of the said relatively absolute position of another spectral coefficient;
Respectively according to each to absolute position and the relative position information of spectral coefficient in said frequency domain subband, confirm the absolute position of said relative position in said frequency domain subband;
Utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover said frequency domain subband.
10. a voice coding treating apparatus is characterized in that, comprising:
First receiver module is used to receive frequency-region signal, and this frequency-region signal comprises a plurality of frequency domain subbands;
Select module, be used for selecting range is bigger in frequency domain subband to be encoded M to spectral coefficient, M is the right quantity of spectral coefficient to be encoded, and M be greater than zero integer;
First determination module; Be used for to each spectral coefficient; Confirm each one of them spectral coefficient absolute position in said frequency domain subband respectively to spectral coefficient; Each is to the relative position of the said relatively absolute position of another spectral coefficient of spectral coefficient and said M amplitude and the symbol to each spectral coefficient in the spectral coefficient;
Coding module is used for M is encoded to position, amplitude and the symbolic information of spectral coefficient, and said position comprises said absolute position and said relative position.
11. device according to claim 10 is characterized in that, said selection module comprises:
First selected cell is used for selecting range is bigger in frequency domain subband to be encoded L to spectral coefficient, and L is the integer greater than M, and in said frequency domain subband, selects the bigger spectral coefficient of a plurality of amplitudes right again;
Comparing unit is used for comparison L spectral coefficient centering, amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value whether greater than M;
Second selected cell; Be used for comparative result according to said comparing unit; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during greater than M; Amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin; When amplitude all equals M greater than the right quantity P of the spectral coefficient of predetermined threshold value, directly with P to spectral coefficient to right as a M to be encoded spectral coefficient; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during less than M; Indicate said first selected cell in said frequency domain subband, to select the bigger spectral coefficient of a plurality of amplitudes right again; Up to amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M; And amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin.
12. device according to claim 10 is characterized in that, said selection module comprises:
The 3rd selected cell is used for 2M bigger spectral coefficient of selecting range in said frequency domain subband;
First assembled unit; Be used for according to the sequence of positions in said frequency domain subband, a said 2M spectral coefficient is right as a spectral coefficient in twos, form M to spectral coefficient; Relative position difference between the every pair of spectral coefficient is in the N scope, and N is the integer that is provided with in advance.
13. device according to claim 10 is characterized in that, said selection module comprises:
The 4th selected cell is used in the odd number track of said frequency domain subband, selecting M the spectral coefficient that amplitude is bigger, in the even number track, closes on the position of the bigger spectral coefficient of a said M amplitude respectively, selects the bigger spectral coefficient of an other M amplitude; Perhaps, select M the spectral coefficient that amplitude is bigger in the even number track in said frequency domain subband, in the odd number track, close on the position of the bigger spectral coefficient of a said M amplitude respectively, select the bigger spectral coefficient of an other M amplitude;
Second assembled unit is used for M the spectral coefficient that amplitude is bigger, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.
14. according to any described device of claim 10 to 13; It is characterized in that; Said coding module specifically is used for M is encoded to the positional information of spectral coefficient; And respectively that each spectral coefficient is right amplitude and symbolic information are carried out vector quantization as a sine pulse waveform to said sine pulse waveform.
15. according to any described device of claim 10 to 13; It is characterized in that; Said coding module specifically is used for M is encoded to the positional information of spectral coefficient, and the amplitude and the symbolic information of a plurality of adjacent frequency domain subband intermediate frequency spectrum coefficients in the said frequency-region signal are united vector quantization.
16. a tone decoding treating apparatus is characterized in that, comprising:
Second receiver module is used to receive data code flow;
Decoder module; Be used for said data code flow is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of the said relatively absolute position of another spectral coefficient;
Second determination module is used for respectively according to each absolute position and the relative position information of spectral coefficient in said frequency domain subband confirmed the absolute position of said relative position in said frequency domain subband;
Recover module, be used to utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover said frequency domain subband.
17. a communication system comprises voice coding treating apparatus and tone decoding treating apparatus, it is characterized in that, said voice coding treating apparatus is used to receive frequency-region signal, and this frequency-region signal comprises a plurality of frequency domain subbands; The M that selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and M is the right quantity of spectral coefficient to be encoded, and M is the integer greater than zero; To each to spectral coefficient; Confirm each one of them spectral coefficient absolute position in said frequency domain subband respectively to spectral coefficient; Each is to the relative position of the said relatively absolute position of another spectral coefficient of spectral coefficient and said M amplitude and the symbol to each spectral coefficient in the spectral coefficient; M is encoded to position, amplitude and the symbolic information of spectral coefficient, generate data code flow, and send to said tone decoding treating apparatus, said position comprises said absolute position and said relative position;
Said tone decoding treating apparatus is used to receive said data code flow; Said data code flow is decoded; Obtain position, amplitude and the symbolic information of M to spectral coefficient; The positional information of every pair of spectral coefficient comprises the absolute location information of one of them spectral coefficient in the frequency domain subband and the relative position information of the said relatively absolute position of another spectral coefficient; Respectively according to each to absolute position and the relative position information of spectral coefficient in said frequency domain subband, confirm the absolute position of said relative position in said frequency domain subband; Utilize absolute position, amplitude and the symbolic information of each spectral coefficient, recover said frequency domain subband.
18. system according to claim 17; It is characterized in that; The said voice coding treating apparatus L that specifically selecting range is bigger in frequency domain subband to be encoded is to spectral coefficient, and L is the integer greater than M, and in said frequency domain subband, selects the bigger spectral coefficient of a plurality of amplitudes right again; L spectral coefficient centering relatively, amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value whether greater than M; Comparative result according to said comparing unit; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during greater than M; Amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin; When amplitude all equals M greater than the right quantity P of the spectral coefficient of predetermined threshold value, directly with P to spectral coefficient to right as a M to be encoded spectral coefficient; In amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value during less than M; In said frequency domain subband, select the bigger spectral coefficient of a plurality of amplitudes right again; Up to amplitude all greater than the right quantity P of the spectral coefficient of predetermined threshold value greater than M; And amplitude all greater than the P of predetermined threshold value to spectral coefficient in, select M right with the less spectral coefficient of less amplitude difference or ratio to by a relatively large margin; Perhaps
Said voice coding treating apparatus is 2M bigger spectral coefficient of selecting range in said frequency domain subband specifically; According to the order in said frequency domain subband, a said 2M spectral coefficient is right as a spectral coefficient in twos, form M to spectral coefficient, the relative position difference between the every pair of spectral coefficient is in the N scope, and N be the integer of setting in advance; Perhaps
Said voice coding treating apparatus is specifically selected M the spectral coefficient that amplitude is bigger in the odd number track in said frequency domain subband; In the even number track, close on the position of the bigger spectral coefficient of a said M amplitude respectively; Select the bigger spectral coefficient of an other M amplitude; Perhaps; Select M the spectral coefficient that amplitude is bigger in the even number track in said frequency domain subband, in the odd number track, close on the position of the bigger spectral coefficient of a said M amplitude respectively, select the bigger spectral coefficient of an other M amplitude; With M the spectral coefficient that amplitude is bigger, respectively with the bigger spectral coefficient of an other M amplitude in the spectral coefficient that closes on right as a spectral coefficient in twos, form M to spectral coefficient.
19. according to claim 17 or 18 described systems; It is characterized in that; Said voice coding treating apparatus is specifically encoded to the positional information of spectral coefficient to M; And respectively that each spectral coefficient is right amplitude and symbolic information are carried out vector quantization as a sine pulse waveform to said sine pulse waveform; Perhaps
Said voice coding treating apparatus is specifically encoded to the positional information of spectral coefficient to M, and the amplitude and the symbolic information of a plurality of adjacent frequency domain subband intermediate frequency spectrum coefficients in the said frequency-region signal are united vector quantization.
CN2009100824119A 2009-04-15 2009-04-15 Coding processing method and device, decoding processing method and device, communication system Expired - Fee Related CN101866649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100824119A CN101866649B (en) 2009-04-15 2009-04-15 Coding processing method and device, decoding processing method and device, communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100824119A CN101866649B (en) 2009-04-15 2009-04-15 Coding processing method and device, decoding processing method and device, communication system

Publications (2)

Publication Number Publication Date
CN101866649A CN101866649A (en) 2010-10-20
CN101866649B true CN101866649B (en) 2012-04-04

Family

ID=42958342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100824119A Expired - Fee Related CN101866649B (en) 2009-04-15 2009-04-15 Coding processing method and device, decoding processing method and device, communication system

Country Status (1)

Country Link
CN (1) CN101866649B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369454B (en) * 2014-03-21 2020-10-27 华为技术有限公司 Method and device for decoding voice frequency code stream

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1377499A (en) * 1999-10-01 2002-10-30 编码技术瑞典股份公司 Efficient spectral envelope coding using variable time/frequency resolution and time/frequency switching
CN1677490A (en) * 2004-04-01 2005-10-05 北京宫羽数字技术有限责任公司 Intensified audio-frequency coding-decoding device and method
CN1741393A (en) * 2005-09-16 2006-03-01 北京中星微电子有限公司 Bit distributing method in audio-frequency coding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1377499A (en) * 1999-10-01 2002-10-30 编码技术瑞典股份公司 Efficient spectral envelope coding using variable time/frequency resolution and time/frequency switching
CN1677490A (en) * 2004-04-01 2005-10-05 北京宫羽数字技术有限责任公司 Intensified audio-frequency coding-decoding device and method
CN1741393A (en) * 2005-09-16 2006-03-01 北京中星微电子有限公司 Bit distributing method in audio-frequency coding

Also Published As

Publication number Publication date
CN101866649A (en) 2010-10-20

Similar Documents

Publication Publication Date Title
TWI453734B (en) Method for encoding a symbol, method for decoding a symbol, method for transmitting a symbol from a transmitter to a receiver, encoder, decoder and system for transmitting a symbol from a transmitter to a receiver
Chou et al. On the duality between distributed source coding and data hiding
CN102461040A (en) Systems and methods for preventing the loss of information within a speech frame
RU2750644C2 (en) Encoding and decoding of spectral peak positions
MX2013003113A (en) Watermark generator, watermark decoder, method for providing a watermarked signal based on discrete valued data and method for providing discrete valued data in dependence on a watermarked signal.
CN101866649B (en) Coding processing method and device, decoding processing method and device, communication system
CN115146125A (en) Receiving end data filtering method and device under semantic communication multi-address access scene
RU2012121704A (en) WIRELESS TRANSMISSION SYSTEM AND METHOD
CN102610231A (en) Method and device for expanding bandwidth
CN102239518B (en) Encoding and decoding method and device
CA2376858A1 (en) Communication systems and apparatus with synchronous orthogonal coding
ATE474411T1 (en) DATA ENCODING AND DECODING IN A DATA STORAGE SYSTEM
Coward et al. Quantizer optimization in hybrid digital-analog transmission of analog source signals
US6311202B1 (en) Hardware efficient fast hadamard transform engine
CN102369569B (en) Encoding processing method, encoding processing apparatus and transmitter
WO2007058424A1 (en) Soft-output demodulation apparatus and method
CN114448523A (en) Ultrasonic communication method and system based on frequency domain modulation PWAM
CN109150320B (en) Sound wave signal encoding and decoding methods and devices
Koyuncu et al. A systematic distributed quantizer design method with an application to MIMO broadcast channels
CN101989425B (en) Method, device and system for multiple description voice frequency coding and decoding
CN104993907A (en) Frequency spectrum coding communication method and apparatus
Trubuil et al. A low bit-rate speech underwater acoustic phone using channel coding for quality improvement
US8473302B2 (en) Parametric audio encoding and decoding apparatus and method thereof having selective phase encoding for birth sine wave
Čubrilović et al. Evaluation of improved classification of speech-like waveforms used for secure voice transmission
Chou et al. Audio data hiding with application to surround sound

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Liu Zexin

Inventor after: Miao Lei

Inventor after: Qi Fengyan

Inventor after: Chen Longyin

Inventor after: Hu Chen

Inventor after: Wu Wenhai

Inventor after: Lang Yue

Inventor after: Zhang Qing

Inventor before: Liu Zexin

Inventor before: Miao Lei

Inventor before: Qi Fengyan

Inventor before: Chen Longyin

Inventor before: Hu Chen

Inventor before: Wu Wenhai

Inventor before: Lang Yue

Inventor before: Harvey.Myhill.Tadee

Inventor before: Zhang Qing

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LIU ZEXIN MIAO LEI QI FENGYAN CHEN LONGYIN HU CHEN WU WENHAI LANG LANG TATI HARVEY MYHILL ZHANG QING TO: LIU ZEXIN MIAO LEI QI FENGYAN CHEN LONGYIN HU CHEN WU WENHAI LANG LANG ZHANG QING

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120404

Termination date: 20190415

CF01 Termination of patent right due to non-payment of annual fee