Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, 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 belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
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.
Optionally, before the speech data information that the home terminal telephone user imports in the above-mentioned statistics preset time section, described method can also comprise: detect described home terminal telephone user and whether have effective speech data, if the described efficient voice data of statistics are occupied a scheduled time, start the speech data information of home terminal telephone user input in the described statistics preset time section; Otherwise, suspend the speech data information of home terminal telephone user input in the described statistics preset time section or the speech data information of adding up certain effective time by the mode of counter, when there not being speech data then not-time.By above-mentioned detection step, can make above-mentioned statistics more effectively with targeted.
102, compare by 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.
Optionally, above-mentionedly compare by 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 described home terminal telephone is regulated, can comprise: if the speech data information of the voice signal of input is greater than the speech data information of the voice signal of importing in the preset time section before in the described nearest preset time section, the control signal that the voice output gain to described home terminal telephone of then obtaining is regulated is the control signal of the voice output gain that increases described home terminal telephone; Perhaps if the speech data information of the voice signal of input is less than the speech data information of the voice signal of importing in the preset time section before in the described nearest preset time section, the control signal that the voice output gain to described home terminal telephone of then obtaining is regulated is the control signal that reduces the voice output gain of described home terminal telephone.Compare several situations: (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.By 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.
Optionally, 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.The concrete parameter of above-mentioned speech data information can 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 by 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; According to the above-mentioned control signal technological means that gain is regulated to the voice output of above-mentioned home terminal telephone, if the average power of the voice signal of input is greater than the average power of the voice signal of importing in the preset time section before in the above-mentioned nearest 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 schematic diagram 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 comparing, obtain the control signal that the voice output gain of above-mentioned home terminal telephone is regulated by 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;
Optionally, control signal acquiring unit 202, be used for if the speech data information of the voice signal of input is greater than the speech data information of the voice signal of importing in the preset time section before in the described nearest preset time section, the control signal that the voice output gain to described home terminal telephone of then obtaining is regulated is the control signal that gain adjustment unit 203 increases the voice output gain of described home terminal telephone; Perhaps if the speech data information of the voice signal of input is less than the speech data information of the voice signal of importing in the preset time section before in the described nearest preset time section, the control signal that the voice output gain to described home terminal telephone of then obtaining is regulated is the control signal that described gain adjustment unit 203 reduces the voice output gain of described home terminal telephone.Control signal acquiring unit 202 can obtain concrete control signal as the case may be by 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.
Optionally, 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.The concrete parameter of above-mentioned speech data information can be realized the embodiment of the invention as physical quantity.
Optionally, as shown in Figure 3, apparatus structure schematic diagram for the another kind of telephone voice output gain adjustment of the embodiment of the invention, said apparatus removes and comprises above-mentioned Information Statistics unit 201, outside control signal acquiring unit 202 and the gain adjustment unit 203, said apparatus can also comprise: statistics control unit 204, be used for before the speech data information of home terminal telephone user input in described statistics preset time section, detect described home terminal telephone user and whether have effective speech data, if the described efficient voice data of statistics are occupied a scheduled time, start the speech data information of home terminal telephone user input in the described statistics preset time section; Otherwise, suspend the speech data information of home terminal telephone user input in the described statistics preset time section or the speech data information of adding up certain effective time by the mode of counter, when there not being speech data then not-time.By the statistics control unit 204 of above-mentioned increase, can make above-mentioned statistics more effectively with targeted.
Optionally, 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.The concrete parameter of above-mentioned speech data information can 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 compares by 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, obtains the control signal that the voice output gain of above-mentioned home terminal telephone is regulated; 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; Compare by 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;
Optionally, the time related voice gain comparator 402, be used for if the speech data information of the voice signal of input is greater than the speech data information of the voice signal of importing in the preset time section before in the described nearest preset time section, the control signal that the voice output gain to described home terminal telephone of then obtaining is regulated is the control signal that described voice output fader increases the voice output gain of described home terminal telephone; Perhaps if the speech data information of the voice signal of input is less than the speech data information of the voice signal of importing in the preset time section before in the described nearest preset time section, the control signal that the voice output gain to described home terminal telephone of then obtaining is regulated is the control signal that described voice output fader reduces the voice output gain of described home terminal telephone.The time related voice gain comparator 402 by 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.
Optionally, 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 described statistics preset time section, detect described home terminal telephone user and whether have effective speech data, if the described efficient voice data of statistics are occupied a scheduled time, start the speech data information of home terminal telephone user input in the described statistics preset time section; Otherwise, suspend the speech data information of home terminal telephone user input in the described statistics preset time section or the speech data information of adding up certain effective time by the mode of counter, when there not being speech data then not-time.By the statistics control device 404 of above-mentioned increase, can make above-mentioned statistics more effectively with targeted.
Optionally, 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.The concrete parameter of above-mentioned speech data information can 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 described 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 calculate in the nearest preset time section average speech gain with respect to the variation of voice average gain in the preset time section before with it; (listen attentively to normally in the communication process or average gain mistake in computation that reticent user behavior may cause, this the time related voice gain comparator need the effective statistics of correct identification, promptly there are voice, and got rid of to use and used the background noise that the background noise recognizer identifies always, when not having voice, statistics is suspended).If the phonetic entry average gain in the next preset time section illustrates 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, its principle is, by PCM (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, can calculate the average power (calculating of this power of the voice signal in certain preset time section, can be on the time-domain, promptly the object of the PCM level value of voice signal itself as calculating; It also can be frequency domain, such as the PCM signal being DCT (Discrete CosineTransform, the discrete surplus conversion of dazzling) conversion or FFT (Fast Fourier Transform, fast fourier transform) frequency-region signal of conversion is as the object that calculates), afterwards by relatively, can draw the variation tendency of the average gain in former and later two or a plurality of preset time section.
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 by 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, by 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 by 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 voice of the time period of back gain greater than gain before, then control the multiplication factor that the voice output gain amplifier increases voice output; 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 discomfort 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 by 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 may causing the other side's discomfort or behaviouristics to be judged by accident, the other side's speech of oneself hearing also can be increased automatically, correspondent is had the effect of reminding and hinting.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, the often easier influence that is subjected to correspondent conversation mood of its communication effect; 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 is subjected to 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 by the background noise of algorithm input signal, such as, can the noise beyond the 0Hz~34KHz of human body voice be removed by digital filtering by the area distribution of frequency spectrum, also can pass through automatic noise suppression algorithm, the noise remove of burst.
2) by more voice input mic (microphone, microphone) array, background noise phase cancellation algorithm is finished.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 mix from a main mic input, the ambient noise signal of gathering from the mic of other position oppositely is 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 mainly the problem of Xie Jueing is:
1, automatic gain control: change king-sized the time in the voice amplitude, by 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 by 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, differentiation by 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 indispensability for the modern times, but the problem that they solve, it is 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 the behavior (in other words correct signal source) of people in the conversation itself 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 technical program 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 solution of the present invention is brought: based on the ethological judgement of human body, in conversation, communicator itself is adjusted the voice output gain of receiver automatically by the phonetic entry gain of correspondent, provide and more meet the voice output that the conversation comfort level requires, provide 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 by 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 finish by 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; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.