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.
Embodiment one:
As shown in Figure 1, be the method flow diagram of a kind of telephone voice output gain adjustment of the embodiment of the invention, said method comprises:
101, the speech data information of home terminal telephone user input in the statistics preset time section.
Optional; Before the speech data information that the home terminal telephone user imports in the above-mentioned statistics preset time section; Said method can also comprise: detect said home terminal telephone user and whether have effective speech data; If the said efficient voice data of statistics are occupied a scheduled time, start the speech data information of home terminal telephone user input in the said statistics preset time section; Otherwise, suspend the speech data information of home terminal telephone user input in the said statistics preset time section or the speech data information of adding up certain effective time through the mode of counter, when there not being speech data then not-time.Through above-mentioned detection step, can make above-mentioned statistics more effectively with targeted.
102, through speech data information of importing in the nearest preset time section and the speech data information imported in the preset time section are before compared, obtain the control signal that the voice output gain of above-mentioned home terminal telephone is regulated.
Optional; It is above-mentioned through speech data information of importing in the nearest preset time section and the speech data information imported in the preset time section are before compared; Obtain the control signal that the voice output gain of said home terminal telephone is regulated; Can comprise: if in the said nearest preset time section speech data information of the voice signal of input greater than before the speech data information of the voice signal imported in the preset time section, the control signal that the voice output gain to said home terminal telephone of then obtaining is regulated is the control signal of the voice output gain that increases said home terminal telephone; Perhaps if in the said nearest preset time section speech data information of the voice signal of input less than before the speech data information of the voice signal imported in the preset time section, the control signal that the voice output gain to said home terminal telephone of then obtaining is regulated is the control signal that reduces the voice output gain of said home terminal telephone.Compare several kinds of situation: (1) compares the speech data information of input in the nearest preset time section and the speech data of an adjacent preset time section before; (2) speech data information of input in the nearest preset time section and the speech data of a non-conterminous preset time section are before compared; That is: can consider can sectional continuous calculating to the statistics of speech data, also can have the certain time interval sampling to calculate.Through above-mentioned comparison step, can obtain concrete control signal as the case may be.
103, according to above-mentioned control signal the voice output gain of above-mentioned home terminal telephone is regulated.
Optional, above-mentioned speech data information can comprise: the average power of the voice signal of home terminal telephone user input or average decibel value in the preset time section, the perhaps speech energy of home terminal telephone user input in the preset time section.Can the concrete parameter of above-mentioned speech data information be realized the embodiment of the invention as physical quantity.
Said method embodiment technical scheme of the present invention is because adopt the speech data information of home terminal telephone user input in the statistics preset time section; Compare through the speech data information that will import in the nearest preset time section and the speech data information imported in the preset time section before, obtain the control signal that the voice output gain of above-mentioned home terminal telephone is regulated; Based on the above-mentioned control signal technological means that gain is regulated to the voice output of above-mentioned home terminal telephone; If in the above-mentioned nearest preset time section mean power of the voice signal of input greater than before the mean power of the voice signal imported in the preset time section, the control signal that the voice output gain to above-mentioned home terminal telephone of then obtaining is regulated is the control signal of the voice output gain that increases above-mentioned home terminal telephone; Otherwise, then reduce the control signal of the voice output gain of above-mentioned home terminal telephone, get rid of both sides' behaviouristics erroneous judgement that scene difference causes of conversing so reached, improve the technique effect of the comfort level of the wave volume in the telephone relation process.
Embodiment two:
Corresponding to said method embodiment, as shown in Figure 2, be the apparatus structure sketch map of a kind of telephone voice output gain adjustment of the embodiment of the invention, said apparatus comprises:
Information Statistics unit 201 is used to add up the speech data information that the home terminal telephone user imports in the preset time section;
Control signal acquiring unit 202; Be used for obtaining the control signal that the voice output gain of above-mentioned home terminal telephone is regulated through speech data information of importing in the nearest preset time section and the speech data information imported in the preset time section are before compared;
Optional; Control signal acquiring unit 202; Be used for if in the said nearest preset time section speech data information of the voice signal of input greater than before the speech data information of the voice signal imported in the preset time section, the control signal that the voice output gain to said home terminal telephone of then obtaining is regulated is the control signal that gain adjustment unit 203 increases the voice output gain of said home terminal telephone; Perhaps if in the said nearest preset time section speech data information of the voice signal of input less than before the speech data information of the voice signal imported in the preset time section, the control signal that the voice output gain to said home terminal telephone of then obtaining is regulated is the control signal that said gain adjustment unit 203 reduces the voice output gain of said home terminal telephone.Control signal acquiring unit 202 can obtain concrete control signal as the case may be through above-mentioned comparison.
Gain adjustment unit 203 is used for according to above-mentioned control signal the voice output gain of above-mentioned home terminal telephone being regulated.
Optional; The speech data information of Information Statistics unit 201 statistics can comprise: the average power of the voice signal of home terminal telephone user input or average decibel value in the preset time section, the perhaps speech energy of home terminal telephone user input in the preset time section.Can the concrete parameter of above-mentioned speech data information be realized the embodiment of the invention as physical quantity.
Optional; As shown in Figure 3; Be the apparatus structure sketch map of the another kind of telephone voice output gain adjustment of the embodiment of the invention, said apparatus is except that comprising above-mentioned Information Statistics unit 201, control signal acquiring unit 202 and gain adjustment unit 203, and said apparatus can also comprise: statistics control unit 204; Be used for before the speech data information of home terminal telephone user input in said statistics preset time section; Detect said home terminal telephone user and whether have effective speech data,, start the speech data information of home terminal telephone user input in the said statistics preset time section if the said efficient voice data of statistics are occupied a scheduled time; Otherwise, suspend the speech data information of home terminal telephone user input in the said statistics preset time section or the speech data information of adding up certain effective time through the mode of counter, when there not being speech data then not-time.Through the statistics control unit 204 of above-mentioned increase, can make above-mentioned statistics more effectively with targeted.
Optional; The speech data information of Information Statistics unit 201 statistics can comprise: the average power of the voice signal of home terminal telephone user input or average decibel value in the preset time section, the perhaps speech energy of home terminal telephone user input in the preset time section.Can the concrete parameter of above-mentioned speech data information be realized the embodiment of the invention as physical quantity.
Said apparatus embodiment technical scheme of the present invention is because adopt the speech data information of home terminal telephone user input in the Information Statistics unit 201 statistics preset time sections; Control signal acquiring unit 202 obtains the control signal that the voice output gain of above-mentioned home terminal telephone is regulated through speech data information of importing in the nearest preset time section and the speech data information imported in the preset time section are before compared; The technological means that gain adjustment unit 203 is regulated the voice output gain of above-mentioned home terminal telephone according to above-mentioned control signal; Get rid of both sides' behaviouristics erroneous judgement that scene difference causes of conversing so reached, improve the technique effect of the comfort level of the wave volume in the telephone relation process.
Embodiment three:
Corresponding to said apparatus embodiment, as shown in Figure 4, be a kind of communication terminal structural representation of the embodiment of the invention, above-mentioned communication terminal comprises:
Speech data information acquiring unit 401 is used to obtain the speech data information of home terminal telephone user input;
The time related voice gain comparator 402, be used to add up the speech data information that above-mentioned speech data information acquiring unit obtains in the preset time section; Through speech data information of importing in the nearest preset time section and the speech data information imported in the preset time section are before compared, obtain the control signal that the voice output gain of above-mentioned home terminal telephone is regulated;
Optional; The time related voice gain comparator 402; Be used for if in the said nearest preset time section speech data information of the voice signal of input greater than before the speech data information of the voice signal imported in the preset time section, the control signal that the voice output gain to said home terminal telephone of then obtaining is regulated is the control signal that said voice output fader increases the voice output gain of said home terminal telephone; Perhaps if in the said nearest preset time section speech data information of the voice signal of input less than before the speech data information of the voice signal imported in the preset time section, the control signal that the voice output gain to said home terminal telephone of then obtaining is regulated is the control signal that said voice output fader reduces the voice output gain of said home terminal telephone.The time related voice gain comparator 402 through above-mentioned comparison, can obtain concrete control signal in light of the circumstances.
Voice output fader 403 is used for according to above-mentioned control signal the voice output gain of above-mentioned home terminal telephone being regulated.
Optional; Above-mentioned communication terminal can also comprise: statistics control device 404; Be used for before the speech data information of home terminal telephone user input in said statistics preset time section; Detect said home terminal telephone user and whether have effective speech data,, start the speech data information of home terminal telephone user input in the said statistics preset time section if the said efficient voice data of statistics are occupied a scheduled time; Otherwise, suspend the speech data information of home terminal telephone user input in the said statistics preset time section or the speech data information of adding up certain effective time through the mode of counter, when there not being speech data then not-time.Through the statistics control device 404 of above-mentioned increase, can make above-mentioned statistics more effectively with targeted.
Optional, the speech data information of above-mentioned statistics can comprise: the average power of the voice signal of home terminal telephone user input or average decibel value in the preset time section, the perhaps speech energy of home terminal telephone user input in the preset time section.Can the concrete parameter of above-mentioned speech data information be realized the embodiment of the invention as physical quantity.
The above-mentioned communication terminal embodiment of the present invention can be according to statistics; Regulate the voice output gain of this communication terminal; Reached and got rid of both sides' behaviouristics erroneous judgement that scene difference causes of conversing, improved the technique effect of the comfort level of the wave volume in the telephone relation process.
Embodiment four:
Corresponding to the foregoing description three said communication terminals; The embodiment of the invention can be conceived average gain statistic device when the phonetic entry end of communicator is installed an input voice data; For example between speech data information acquiring unit (for example present embodiment is a voice capture device) and voice output fader (for example present embodiment is the voice output gain amplifier), increase related voice gain comparator for the moment, can with its calculate average speech gain in the nearest preset time section with respect to before a preset time section in the variation of voice average gain; (in communication process, listen attentively to the average gain mistake in computation that perhaps reticent user behavior possibly cause normally; This time related voice gain comparator need the effective statistics of correct identification; Promptly there are voice; And got rid of the background noise that uses background noise recognizer commonly used to identify, when not having voice, statistics is suspended).If the phonetic entry average gain in the next preset time section explains that greater than mean value the volume of user speech has increased, then the speech output end of phone increases output gain automatically, otherwise, reduce gain.After output increases automatically or reduces output gain; Based on the ethological instinct of human body; Will appreciate that for partner and also received same sound effect, the automatic speech volume and the tone that can regulate oneself has so just initiatively improved both sides' conversation comfort level.
As shown in Figure 5, be a kind of communication terminal principle schematic of the embodiment of the invention based on Fig. 4, this communication terminal specifically is made up of following several major parts: voice capture device 21 is exactly speaker (microphone) equipment on talking handle or the mobile call equipment; Voice-output device 22, the voice output of the responsible opposite end of will conversing is exactly the earphone device on talking handle or the mobile call equipment to the local terminal receiver; Voice output gain amplifier 23 is responsible for the gain of control partner voice output to receiver, is exactly the power amplifying device of may command gain level; The time related voice gain comparator 24; This device can be that an independent hardware is realized; The computational methods that also can be software replace, and its principle is, through PCM (the Pulse Code Modulation to the voice digital signal of fixed preset in the time period; Pulse code modulation) stack of sign indicating number power is calculated; (calculating of this power can be on the time-domain, promptly the object of the PCM level value of voice signal as calculating itself can to calculate the average power of the voice signal in certain preset time section; It also can be frequency domain; Such as doing the PCM signal DCT (Discrete Cosine Transform; The discrete surplus conversion of dazzling) conversion or FFT (Fast Fourier Transform; FFT) frequency-region signal of conversion is as the object that calculates), afterwards through relatively, can draw the variation tendency of the average gain in former and later two or a plurality of preset time sections.
As shown in Figure 6, regulate flow chart for the embodiment of the invention automatically based on the conversation output gain in the communication process of Fig. 5, this method comprises the steps:
601, conversation beginning, voice capture device 21 is gathered phonetic entry, gives the conversation opposite end through processing such as ADC (analog digital conversion), coding, Network Transmission with voice signal, simultaneously, related voice gain comparator 24 when the signal of gathering is also given.
602, communicator receives the speech code stream of conversation opposite end, through decoding, amplifier, DAC (digital-to-analogue conversion) speech data is outputed to voice-output device 22, and the gain level of the amplifier of this moment is in default conditions.
603, related voice gain comparator 24 is through calculating and comparison to the voice signal average power in the two sections preset time sections in front and back the time; Draw control signal control voice output gain amplifier; If the gain of the voice of the time period of back is then controlled the multiplication factor that the voice output gain amplifier increases voice output greater than gain before; Otherwise, reduce the multiplication factor of voice output.For user's experience end, if the volume of self speaking increases, the other side's speech volume in the receiver also can increase so, if the volume of self speaking reduces, what the other side's speech volume in the receiver also can be suitable so reduces.Because ethological automatically anti-the bursting of human body, human body tends to strengthen the volume of self when not hearing the other side's voice, and increases when self volume, also positive incentive the volume of receiver increase; If self volume strengthens, when human body is heard that the other side's voice are excessive and caused uncomfortable or poor effect, be good hint, thereby the volume that reduces that can condition response type obtain good communication effect.
The scheme that the embodiment of the invention is regulated through this automatic gain in the process of telephone relation, has just avoided both call sides owing to the voice change in gain that human body behaviouristics instinct causes, and the conversation comfort level is promoted.The method that this automatic gain is regulated; Itself also can give both call sides self behaviouristics hint, when oneself speech is big, in the time of possibly causing the uncomfortable or behaviouristics of the other side to be judged by accident; The other side's speech of oneself hearing also can be had the effect of reminding and hinting by automatic increase to correspondent.Otherwise if own sound is too little, the sound of oneself hearing is also little, and the subordinate act instinct can improve volume to obtain better communication effect.
The above-mentioned scheme of mentioning, than the communicator that is more suitable for fixing, such as: landline telephone etc., and because the use of mobile phone has mobility, the effect of its conversation often depends on the conversation environment; And mobile phone is privacy communication's equipment, and its communication effect often receives the influence of correspondent conversation mood more easily; These factors make this automatic gain adjusting device based on human body behaviouristics principle have place to show one's prowess more.
Mobile communication equipment such as picture mobile phone etc. because the input volume receives influence of environmental noise, differs and accurately judges it is the volume change of voice (being the human body behavior) surely, so will remove background noise when requiring phonetic entry.And the technological means prior art of removing background noise mainly contains two kinds:
1) make a decision through the background noise of algorithm input signal, such as, can remove the noise beyond the 0Hz~34KHz of human body voice through digital filtering through the area distribution of frequency spectrum, also can pass through automatic noise suppression algorithm, the noise remove of burst.
2) through more voice input mic (microphone, microphone) array, background noise phase cancellation algorithm is accomplished.For example as shown in Figure 7, be embodiment of the invention background noise phase cancellation schematic diagram of device.On the handle of conversation; Two or more phonetic entry mic are installed; The position of two or more mic is different; When human body one's voice in speech signal and background noise mixed from a main mic input, the ambient noise signal of gathering from the mic of other position oppositely was superimposed upon on this voice signal, thereby has eliminated background noise.In addition, along with the development of technology, the key industry moulding of mobile phone is updated, and makes that the technology realization property of a plurality of mic of layout and noise filtering is very high.
The 3A algorithmic technique of the existing raising call voice quality of generally using (automatic gain control, automatic noise suppressed and automatic echo cancelltion), what this technology was general is used in the modern voice call equipment, and the problem that mainly solves is:
1, automatic gain control: when the voice magnitude is king-sized, through the negative anti-principle of bursting, reduce the variation of amplitude, control burst noise etc. are to the influence of conversation;
2, automatic noise suppressed:,, improve the voice signal definition as far as possible with the background noise filtering through the background noise and the voice of conversation are distinguished and filtered;
3, automatic echo cancelltion: between the receiver and microphone of conversation; Inevitably there is the voice output of part receiver to become the phonetic entry of microphone; These inputs have been disturbed in the square in a minute voice; Through the differentiation of correlation, as far as possible filtering is imported the signal of microphone into from receiver, improves the purity of conversation useful signal.This 3A technology is a basic technology; Audio communication system for the modern times is indispensable; But the problem that they solve; Be the effect problem that conversation signal itself or the technological deficiency of communicator own are caused, the problem of the conversation comfort level that is caused for people's in the conversation behavior (in other words itself correct signal source) does not relate to.Described scheme of present embodiment and 3A algorithm be contradiction not, in fact can use simultaneously.
The embodiment that provides a kind of scene of conversing below describes:
1, in communication process, the Party A relatively initiatively with positive, is in the state of speaking always, and the Party B is in the state of listening to always.
2, the time related voice gain comparator of the Party A's equipment variation that moves always and compare input gain, and the gain of real-time regulated output.
3, the time related voice gain comparator of Party B's equipment be at this moment silent status (background noise by the prerequisite of filtering under; Voice approach zero; To being lower than the too small signal of certain power; The time related voice gain comparator stop statistics and relatively), the loudspeaker output gain of Party B's equipment is in the acquiescence gain level.
4, when the Party B speaks, have only when judging that the voice gain reaches certain threshold value and requires just to carry out the intervention of algorithm.
The problem that the embodiment of the invention solves is based on the ethological judgement of human body, gets rid of both sides' behaviouristics erroneous judgement that scene difference causes of conversing, and improves the comfort level of the wave volume in the telephone relation process.The present technique scheme relatively is fit to be used in handle or mobile phone etc. and presses close in the communicator of human body.The beneficial effect that technical scheme of the present invention is brought: based on the ethological judgement of human body; In conversation; Communicator itself comes the voice output gain of adjustment receiver automatically through the phonetic entry gain of correspondent, provides more to meet the voice output that the conversation comfort level requires, and provides human body behaviouristics hint simultaneously; Make the adjusting phonetic entry gain of correspondent instinct, reach the better communication effect of both call sides.In addition,, can eliminate background noise, make both call sides reach better communication effect through using with existing 3A technical tie-up.
Simultaneously, the networking telephone of similar products form, video telephone even individual's conference telephone system can use the scheme of embodiment of the invention description.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct related hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; This program is when carrying out; Comprise above-mentioned all or part of step, described storage medium, as: ROM/RAM, disk, CD etc.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.