CN106331359B - A kind of speech signal collection method, device and terminal - Google Patents

A kind of speech signal collection method, device and terminal Download PDF

Info

Publication number
CN106331359B
CN106331359B CN201610790742.8A CN201610790742A CN106331359B CN 106331359 B CN106331359 B CN 106331359B CN 201610790742 A CN201610790742 A CN 201610790742A CN 106331359 B CN106331359 B CN 106331359B
Authority
CN
China
Prior art keywords
audio
audio signal
collection unit
signal
amplitude
Prior art date
Application number
CN201610790742.8A
Other languages
Chinese (zh)
Other versions
CN106331359A (en
Inventor
李应伟
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201610790742.8A priority Critical patent/CN106331359B/en
Publication of CN106331359A publication Critical patent/CN106331359A/en
Application granted granted Critical
Publication of CN106331359B publication Critical patent/CN106331359B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72563Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances
    • H04M1/72569Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances according to context or environment related information

Abstract

The invention discloses a kind of speech signal collection method, device and terminal, the speech signal collection method includes:The first audio signal and the second audio signal are obtained, first audio signal is collected by the first audio collection unit for call voice, second audio signal is collected by the second audio collection unit for environmental noise;Judge whether to meet default regularization condition according to the second amplitude of the first amplitude of first audio signal and the second audio signal;If so, being then adjusted to the property parameters of the second audio collection unit, so that the second audio collection unit is acquired to call voice signal.Above-mentioned speech signal collection method can gather call voice in the case where exception occurs in the main microphon of collection call voice by gathering the secondary microphone of environmental noise, so as to ensure being normally carried out for call, simple to operate, flexibility is high.

Description

A kind of speech signal collection method, device and terminal

Technical field

The present invention relates to mobile communication technology field, more particularly to a kind of speech signal collection method, device and terminal.

Background technology

With the popularization continued to develop with mobile phone of terminal technology, user to the degree of dependence more and more higher of mobile phone, wherein The most frequently used function is voice call function.

When both sides carry out voice call, both sides' mobile phone can each carry out sound collection by built-in microphone, and will The sound collected is converted into audio signal and sent to other side, and after other side's mobile phone receives the audio signal, it can be by interior The loudspeaker put is played out.For ease of sound collection, microphone installation place is generally provided with sound collection hole, and sound can lead to Cross the sound collection hole and be conveyed directly to microphone, improve the sensitivity of collection.But, because the microphone is typically mounted on The end of mobile phone, therefore user, during mobile phone is grasped, its finger tends to block the sound collection hole, so as to influence wheat The collecting work of gram wind, it is difficult to ensure the normal voice call of user.

The content of the invention

It is an object of the invention to provide a kind of speech signal collection method, device and terminal, held with solving existing mobile phone Easily because the sound collection hole of main microphon is blocked and influences the technical problem of call.

In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:

A kind of speech signal collection method, it includes:

The first audio signal and the second audio signal are obtained, first audio signal is directed to by the first audio collection unit Call voice is collected, and second audio signal is collected by the second audio collection unit for environmental noise;

Judged whether to meet pre- according to the second amplitude of the first amplitude of first audio signal and the second audio signal If regularization condition;

If so, being then adjusted to the property parameters of the second audio collection unit, so that second audio collection Unit is acquired to call voice signal.

In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:

A kind of voice signal acquisition device, it includes:

First audio collection unit, for obtaining the first audio signal, first audio signal is adopted for call voice Collection is obtained;

Second audio collection unit, for obtaining the second audio signal, second audio signal is adopted for environmental noise Collection is obtained;

Judging unit, sentences for the first amplitude and the second amplitude of the second audio signal according to first audio signal It is disconnected whether to meet default regularization condition;

Adjustment unit, for if so, being then adjusted to the property parameters of the second audio collection unit, so that described Second audio collection unit is acquired to call voice signal.

In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:

A kind of terminal, it includes main microphon and secondary microphone, and the main microphon is used to be adopted for call voice Collection, obtains the first audio signal, and the secondary microphone is used to be acquired for environmental noise, obtains the second audio signal;

When the first amplitude of first audio signal and the second amplitude of the second audio signal meet default regularization condition When, the secondary microphone replaces the collection that the main microphon carries out call voice signal.

Speech signal collection method of the present invention, device and terminal, by obtaining the first audio signal and the second sound Frequency signal, first audio signal is collected by the first audio collection unit for call voice, second audio signal by Second audio collection unit is collected for environmental noise, afterwards, according to the first amplitude of first audio signal and second Second amplitude of audio signal judges whether to meet default regularization condition, if so, the then attribute to the second audio collection unit Parameter is adjusted, so that the second audio collection unit is acquired to call voice signal, so that in collection call voice Main microphon there is exception in the case of, call voice can be gathered by gathering the secondary microphone of environmental noise, it is ensured that logical Being normally carried out for words, simple to operate, flexibility is high.

Brief description of the drawings

Below in conjunction with the accompanying drawings, it is described in detail by the embodiment to the present invention, technical scheme will be made And other beneficial effects are apparent.

Fig. 1 is the schematic flow sheet of speech signal collection method provided in an embodiment of the present invention;

Fig. 2 is the schematic flow sheet of speech signal collection method provided in an embodiment of the present invention;

Fig. 3 is the structural representation of voice signal acquisition device provided in an embodiment of the present invention;

Fig. 4 is another structural representation of voice signal acquisition device provided in an embodiment of the present invention;

Fig. 5 is the structural representation of terminal provided in an embodiment of the present invention.

Embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.

The embodiment of the present invention provides a kind of speech signal collection method, device and terminal.It will carry out respectively specifically below It is bright.It should be noted that, the restriction of the sequence numbers of following examples not as embodiment priority.

First embodiment

The present embodiment will be described from the angle of voice signal acquisition device, and the voice signal acquisition device specifically can be with It is integrated in the equipment such as mobile phone, tablet personal computer or notebook computer.

Referring to Fig. 1, the speech signal collection method of first embodiment of the invention offer has been described in detail in Fig. 1, it can be with Including:

S101, the first audio signal of acquisition and the second audio signal, first audio signal is by the first audio collection unit Collected for call voice, second audio signal is collected by the second audio collection unit for environmental noise.

In the present embodiment, first audio signal mainly includes voice, and second audio signal mainly includes environmental noise, By gathering the second audio signal, the environmental noise in first audio signal can be filtered, obtained more clearly Voice.The first audio collection unit and the second audio collection unit can include microphone, and particular number can be according to reality Depending on demand, such as, the first audio collection unit can include 2 or 3 microphones, form microphone array.

Generally, collection environmental noise or call voice preferably, the first audio collection unit and the second audio collection In unit the setting of property parameters be it is different, such as main pickup the first audio collection unit gain (multiplication factor) Significantly greater than for gain of the second audio collection unit of noise reference, etc., in addition, the first audio collection unit Installation site with the second audio collection unit is also different, such as the custom of terminal is grasped when in view of user's communication, should First audio collection unit is typically mounted at the bottom of terminal, and the second audio collection unit is typically mounted at the top of terminal.

S102, the first amplitude according to first audio signal and the second audio signal the second amplitude judge whether to meet Default regularization condition, if meeting, can perform following step S103, if it is not satisfied, can then perform above-mentioned steps S101.

In the present embodiment, the default regularization condition can according to the actual requirements depending on, the first amplitude and the second amplitude master It is used to reflect signal intensity.Under normal circumstances, the signal intensity of the call voice of the first audio collection unit collection is more than The signal intensity of the environmental noise of second audio collection unit collection.

For example, above-mentioned steps S102 can specifically include:

Calculate the difference between the second amplitude of second audio signal and the first amplitude of the first audio signal;

If the difference is more than preset difference value, judge to meet default regularization condition;

If the difference is not more than preset difference value, judgement is unsatisfactory for default regularization condition.

In the present embodiment, the preset difference value can according to the actual requirements depending on, its can for a discreet value or One empirical value.When the difference that the second amplitude is more than between first amplitude, and the second amplitude and first amplitude is more than preset difference value, Illustrate that the first audio collection unit is blocked or occurred extremely, so that the call voice for utilizing the first audio collection unit to gather is believed Number can be very weak, it is difficult to call demand is met, at this point it is possible to judge to meet default regularization condition.

If it should be noted that the abnormal conditions are the short time, such as the finger imprudence of user has blocked this Removed again after first audio collection unit, the first audio collection unit collection call can be continued with this case Voice, without being adjusted operation, therefore, to understand that the abnormal conditions are that occur for a long time or of short duration, this first Audio signal and the second audio signal can be the signal segments collected in certain time length, now, only when the signal segment When difference between second amplitude and first amplitude at interior each moment is satisfied by default regularization condition, just show the abnormal conditions It is long-time, just may determine that the default regularization condition of satisfaction.

S103, the property parameters to the second audio collection unit are adjusted, so that the second audio collection unit pair Call voice signal is acquired.

For example, above-mentioned steps S103 can specifically include:

Obtain pre-set threshold value;

The property parameters of the second audio collection unit are adjusted using the pre-set threshold value.

In the present embodiment, the pre-set threshold value can according to the actual requirements depending on.The method of adjustment of the property parameters can have It is a variety of, such as the value of the property parameters directly can be adjusted to the pre-set threshold value, the value of the property parameters can also be adjusted To N times, etc. of the pre-set threshold value.The property parameters of the second audio collection unit are adjusted by using the pre-set threshold value Whole, the second audio collection unit that can be used in noise reference possesses main pickup function.

Wherein, the property parameters can include yield value, now, above-mentioned " second audio to be adopted using the pre-set threshold value Collection unit property parameters be adjusted " the step of can specifically include:

The yield value of the second audio collection unit is adjusted to pre-set threshold value.

In the present embodiment, pass through adjust gain value to pre-set threshold value, thus it is possible to vary what the second audio collection unit was obtained Relation between audio signal and noise, obtains suitable frequency response curve, reduces the distortion factor of sound, so that second audio is adopted Collect unit and be applied to collection call voice, namely possess main pickup function.

From the foregoing, the speech signal collection method that the present embodiment is provided, by obtaining the first audio signal and second Audio signal, first audio signal is collected by the first audio collection unit for call voice, second audio signal Collected by the second audio collection unit for environmental noise, afterwards, according to the first amplitude of first audio signal and Second amplitude of two audio signals judges whether to meet default regularization condition, if so, the then category to the second audio collection unit Property parameter be adjusted so that the second audio collection unit is acquired to call voice signal, so that in collection telephone user In the case that exception occurs in the main microphon of sound, the secondary microphone of collection environmental noise can be called to obtain collection call voice, protected Being normally carried out for card call, simple to operate, flexibility is high.

Second embodiment

Citing, is described in further detail by the method according to described by embodiment one below.

In the present embodiment, it will be described in detail so that the voice signal acquisition device is integrated in the terminal as an example.

As shown in Fig. 2 a kind of speech signal collection method, idiographic flow can be as follows:

S201, terminal obtain the first audio signal and the second audio signal, and first audio signal is by the first audio collection Unit is collected for call voice, and second audio signal is gathered by the second audio collection unit for environmental noise Arrive.

For example, when user and good friend are conversed by terminal, the main microphon installed in terminal bottom can be passed through (the first audio collection unit) gathers call voice, obtains the first audio signal, passes through the secondary microphone at the top of terminal (the second audio collection unit) gathers environmental noise, obtains the second audio signal.

S202, terminal obtain the amplitude of first audio signal and the second audio signal respectively, obtain first amplitude and Two amplitudes.

For example, if first audio signal and the second audio signal are the signal segment gathered in specified duration, terminal First audio signal and the second audio signal can be obtained respectively specifies the amplitude at each moment in duration at this.

S203, terminal judge whether second amplitude is more than first amplitude, if so, following step S204 can be then performed, If it is not, can not then perform any operation.

For example, corresponding second amplitude of any instant and first amplitude can be compared analysis by terminal, only when this When specifying that each moment corresponding second amplitude is all higher than first amplitude in duration, just judge that second amplitude is more than the first width Value.

S204, terminal calculate the difference between the first amplitude and the second amplitude, when the difference is more than preset difference value, eventually The yield value of the second audio collection unit is adjusted to pre-set threshold value by end.

For example, terminal can calculate the difference between corresponding second amplitude of any instant and first amplitude, and will be each Difference is compared analysis with the preset difference value, when all differences are all higher than preset difference value, and terminal can increase installed in top The yield value of the main microphon in portion, makes the yield value reach pre-set threshold value, so as to adjust frequency response curve, is applicable the main microphon In collection call voice.

From the foregoing, the present embodiment provide speech signal collection method, terminal by obtain the first audio signal and Second audio signal, wherein first audio signal are collected by the first audio collection unit for call voice, and this second Audio signal is collected by the second audio collection unit for environmental noise, afterwards, obtain respectively first audio signal and The amplitude of second audio signal, obtains first amplitude and the second amplitude, next, it is determined that whether second amplitude is more than the first width Value, if so, the difference between the first amplitude and the second amplitude is then calculated, and when the difference is more than preset difference value, terminal will The yield value of the second audio collection unit is adjusted to pre-set threshold value, for prior art, by being adopted in the first audio In the case that exception occurs in collection unit, change the property parameters of the second audio collection unit, reach and utilize second audio collection Unit gathers the purpose of call voice, so as to ensure the normal acquisition of call voice, simple to operate, flexibility is high.

3rd embodiment

On the basis of embodiment one and the methods described of embodiment two, the present embodiment is by from the angle of voice signal acquisition device Degree is further described below, referring to Fig. 3, the speech signal collection dress of third embodiment of the invention offer has been described in detail in Fig. 3 Put, it can include:First audio collection unit 10, the second audio collection unit 20, judging unit 30 and adjustment unit 40, its In:

(1) first audio collection unit 10

First audio collection unit 10, for obtaining the first audio signal, first audio signal is adopted for call voice Collection is obtained.

(2) second audio collection units 20

Second audio collection unit 20, for obtaining the second audio signal, second audio signal is adopted for environmental noise Collection is obtained.

In the present embodiment, first audio signal mainly includes voice, and second audio signal mainly includes environmental noise, By gathering the second audio signal, the environmental noise in first audio signal can be filtered, obtained more clearly Call voice.The first audio collection unit 10 and the second audio collection unit 20 can include microphone, and particular number can be with Depending on according to the actual requirements, such as, the first audio collection unit 10 can include 2 or 3 microphones, form microphone array Row.

Generally, collection environmental noise or call voice preferably, the first audio collection unit 10 and the second audio are adopted The setting for collecting property parameters in unit 20 is different, such as the gain for the first audio collection unit 10 of main pickup (is put Big multiple) it is significantly greater than for gain of the second audio collection unit 20 of noise reference, etc., in addition, first sound The installation site of the audio collection unit 20 of frequency collecting unit 10 and second is also different, such as is grasped when in view of user's communication The custom of terminal, the first audio collection unit 10 is typically mounted at the bottom of terminal, and the second audio collection unit 20 is general Installed in the top of terminal.

(3) judging unit 30

Judging unit 30, the second amplitude for the first amplitude according to first audio signal and the second audio signal is sentenced It is disconnected whether to meet default regularization condition.

In the present embodiment, the default regularization condition can according to the actual requirements depending on, the first amplitude and the second amplitude master It is used to reflect signal intensity.Under normal circumstances, the signal intensity of the call voice of the first audio collection unit collection is more than The signal intensity of the environmental noise of second audio collection unit collection.

For example, referring to Fig. 4, the judging unit 30 can specifically include computation subunit 31 and judgment sub-unit 32, its In:

Computation subunit 31, for calculating the second amplitude of second audio signal and the first amplitude of the first audio signal Between difference;

Judgment sub-unit 32, if being more than preset difference value for the difference, judges to meet default regularization condition;If the difference No more than preset difference value, then judge to be unsatisfactory for default regularization condition.

In the present embodiment, the preset difference value can according to the actual requirements depending on, its can for a discreet value or One empirical value.When the difference that the second amplitude is more than between first amplitude, and the second amplitude and first amplitude is more than preset difference value, Illustrate that the first audio collection unit 10 is blocked or occurred extremely, so as to utilize the call language that the first audio collection unit 10 is gathered Message number can be very weak, it is difficult to meets call demand, at this point it is possible to judge to meet default regularization condition.

If it should be noted that the abnormal conditions are the short time, such as the finger imprudence of user has blocked this Removed again after first audio collection unit, the first audio collection unit 10 collection can be continued with this case logical Language sound, without being adjusted operation, therefore, to understand that the abnormal conditions are that occur for a long time or of short duration, this One audio signal and the second audio signal can be the signal segments collected in certain time length, now, only when the signal When difference in section between second amplitude and first amplitude at each moment is satisfied by default regularization condition, just show the abnormal feelings Condition is long-time, and judgment sub-unit 32 just may determine that the default regularization condition of satisfaction.

(4) adjustment unit 40

Adjustment unit 40, for if so, be then adjusted to the property parameters of the second audio collection unit so that this Two audio collection units are acquired to call voice signal.

For example, the adjustment unit 40 can specifically include obtaining subelement 41 and adjustment subelement 42, wherein:

Subelement 41 is obtained, for obtaining pre-set threshold value;

Subelement 42 is adjusted, for being adjusted using the pre-set threshold value to the property parameters of the second audio collection unit It is whole.

In the present embodiment, the pre-set threshold value can according to the actual requirements depending on.The method of adjustment of the property parameters can have A variety of, such as the value of the property parameters directly can be adjusted to the pre-set threshold value by adjustment unit 40, can also join the attribute Several values are adjusted to N times of the pre-set threshold value, etc..Adjustment unit 40 is by using the pre-set threshold value to the second audio collection list The property parameters of member 20 are adjusted, and the second audio collection unit 20 that can be used in noise reference possesses main pickup function.

For example, the property parameters can include yield value, now, the adjustment subelement 42 specifically can be used for:

The yield value of the second audio collection unit is adjusted to pre-set threshold value.

In the present embodiment, pass through adjust gain value to pre-set threshold value, thus it is possible to vary what the second audio collection unit was obtained Relation between audio signal and noise, obtains suitable frequency response curve, reduces the distortion factor of sound.

It when it is implemented, above unit can be realized as independent entity, can also be combined, be made Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not Repeat again.

From the foregoing, the voice signal acquisition device that the present embodiment is provided, by being utilized respectively the first audio collection list The audio collection unit 20 of member 10 and second obtains the first audio signal and the second audio signal, and first audio signal is for call Voice collecting is obtained, and second audio signal is collected for environmental noise, afterwards, by judging unit 30 according to this first Second amplitude of the first amplitude of audio signal and the second audio signal judges whether to meet default regularization condition, if meeting, The property parameters of 40 pairs of adjustment unit the second audio collection unit 20 are adjusted, so that 20 pairs of the second audio collection unit Call voice signal is acquired, so as in the case where exception occurs in the main microphon of collection call voice, can pass through collection The secondary microphone of environmental noise gathers call voice, it is ensured that being normally carried out of call, simple to operate, and flexibility is high.

Fourth embodiment

Accordingly, the embodiment of the present invention also provides a kind of terminal, as shown in figure 5, the terminal can include radio frequency (RF, Radio Frequency) circuit 501, include the memories 502, defeated of one or more computer-readable recording mediums Enter unit 503, display unit 504, sensor 505, voicefrequency circuit 505, Wireless Fidelity (WiFi, Wireless Fidelity) Module 507, include the part such as one or the processor 508 and power supply 509 of more than one processing core.This area skill Art personnel are appreciated that the restriction of the terminal structure shown in Fig. 5 not structure paired terminal, can include more more or more than illustrating Few part, either combines some parts or different parts arrangement.Wherein:

RF circuits 501 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, transfer to one or more than one processor 508 is handled;In addition, being sent to up data are related to Base station.Generally, RF circuits 501 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuits 501 can also pass through radio communication and network and its His equipment communication.The radio communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications system Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..

Memory 502 can be used for storage software program and module, and processor 508 is stored in memory 502 by operation Software program and module, so as to perform various function application and data processing.Memory 502 can mainly include storage journey Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created data according to terminal (such as voice data, phone directory etc.) etc..In addition, memory 502 can include high-speed random access memory, it can also include Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memory 502 can also include Memory Controller, to provide processor 508 and input block 503 to memory 502 Access.

Input block 503 can be used for the numeral or character information for receiving input, and generation to be set with user and function The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment In, input block 503 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile Control plate, collect user on or near it touch operation (such as user using any suitable object such as finger, stylus or Operation of the annex on touch sensitive surface or near touch sensitive surface), and filled according to the corresponding connection of formula set in advance driving Put.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, touch controller is transmitted a signal to;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 508, and can reception processing Order that device 508 is sent simultaneously is performed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch sensitive surface.Except touch sensitive surface, input block 503 can also include other input equipments.Specifically, other are defeated Physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse can be included but is not limited to by entering equipment One or more in mark, action bars etc..

Display unit 504 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display Unit 504 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further , touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it, send processing to Device 508 is provided accordingly on a display panel with determining the type of touch event with preprocessor 508 according to the type of touch event Visual output.Although in Figure 5, touch sensitive surface is that input is realized as two independent parts and is inputted with display panel Function, but in some embodiments it is possible to by touch sensitive surface and display panel it is integrated and realize input and output function.

Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear Light.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) acceleration Size, can detect that size and the direction of gravity when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.

Voicefrequency circuit 506, loudspeaker, microphone can provide the COBBAIF between user and terminal.Voicefrequency circuit 506 can Electric signal after the voice data received is changed, is transferred to loudspeaker, and voice signal output is converted to by loudspeaker;It is another The voice signal of collection is converted to electric signal by aspect, microphone, by voicefrequency circuit 506 receive after be converted to voice data, then After voice data output processor 508 is handled, through RF circuits 501 to be sent to such as another terminal, or by voice data Output is to memory 502 so as to further processing.Voicefrequency circuit 506 is also possible that earphone jack, with provide peripheral hardware earphone with The communication of terminal.

WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 507 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 is shown WiFi module 507, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, can not change as needed completely Become in the essential scope of invention and omit.

Processor 508 is the control centre of terminal, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform and be stored in software program and/or module in memory 502, and call and be stored in memory 502 Data, perform the various functions and processing data of terminal, so as to carry out integral monitoring to mobile phone.Optionally, processor 508 can be wrapped Include one or more processing cores;It is preferred that, processor 508 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 508.

Terminal also includes the power supply 509 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 508 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 509 can also include one or more direct current or AC power, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.

Although not shown, terminal can also include main microphon and secondary microphone, and the main microphon is used for for call language Sound is acquired, and obtains the first audio signal, and the secondary microphone is used to be acquired for environmental noise, obtains the second audio letter Number.When the first amplitude of first audio signal and the second amplitude of the second audio signal meet default regularization condition, the pair Microphone replaces the collection that the main microphon carries out call voice signal.

In addition, terminal can also include camera, bluetooth module etc., it will not be repeated here.Specifically in the present embodiment, eventually Processor 508 in end can be corresponding executable by the process of one or more application program according to following instruction File is loaded into memory 502, and the application program being stored in memory 502 is run by processor 508, so as to realize Various functions:

Control the main microphon to be acquired for call voice, obtain the first audio signal, and control the secondary Mike Wind is acquired for environmental noise, obtains the second audio signal;

When the first amplitude of first audio signal and the second amplitude of the second audio signal meet default regularization condition, The secondary microphone is controlled to replace the collection that the main microphon carries out call voice signal.

It is preferred that, processor control the secondary microphone replace the main microphon carry out call voice signal collection it Before, it can also include:

Calculate the difference between the second amplitude of second audio signal and the first amplitude of the first audio signal;

If the difference is more than preset difference value, judge to meet default regularization condition;

If the difference is not more than preset difference value, judgement is unsatisfactory for default regularization condition.

It is preferred that, the property parameters include yield value, and processor controls the secondary microphone to replace the main microphon to be led to The collection of voice signal is talked about, including:

Obtain pre-set threshold value;

The property parameters of the secondary microphone are adjusted using the pre-set threshold value.

It is preferred that, processor is adjusted using the pre-set threshold value to the property parameters of the secondary microphone, including:

The yield value of the secondary microphone is adjusted to pre-set threshold value.

The implementation method respectively operated above for details, reference can be made to above-described embodiment, and here is omitted.

The terminal can realize having achieved by any voice signal acquisition device that the embodiment of the present invention is provided Effect is imitated, embodiment above is referred to, will not be repeated here.

One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..

A kind of speech signal collection method, device and the terminal provided above the embodiment of the present invention has carried out detailed Jie Continue, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example is only It is the method and its core concept for being used to help understand the present invention;Simultaneously for those skilled in the art, according to the present invention's Thought, will change in specific embodiments and applications, in summary, and this specification content should not be construed as Limitation of the present invention.

Claims (5)

1. a kind of speech signal collection method, it is characterised in that including:
The first audio signal and the second audio signal of collection in certain time length are obtained, first audio signal is by the first sound Frequency collecting unit is directed to the signal segment that call voice is collected, and second audio signal is by the second audio collection unit pin The signal segment collected to environmental noise;
Calculate each moment in the certain time length, the second amplitude of second audio signal and the first of the first audio signal Difference between amplitude;
If the difference at each moment is all higher than preset difference value, pre-set threshold value is obtained, and using the pre-set threshold value to described the The property parameters of two audio collection units are adjusted.
2. speech signal collection method according to claim 1, it is characterised in that the property parameters include yield value, It is described using the pre-set threshold value property parameters of the second audio collection unit are adjusted including:
The yield value of the second audio collection unit is adjusted to pre-set threshold value.
3. a kind of voice signal acquisition device, it is characterised in that including:
First audio collection unit, the first audio signal gathered for obtaining in certain time length, first audio signal is The signal segment collected for call voice;
Second audio collection unit, the second audio signal gathered for obtaining in the certain time length, the second audio letter Number it is the signal segment collected for environmental noise;
Judging unit, is specifically included:
Computation subunit, for calculating each moment in the certain time length, the second amplitude of second audio signal and Difference between the first amplitude of one audio signal;Judgment sub-unit, if the difference for each moment is all higher than preset difference value, Then judge to meet default regularization condition;If the difference at each moment is not all higher than preset difference value, judgement is unsatisfactory for default tune Shelf-regulating Conditions;
Adjustment unit, is specifically included:
Subelement is obtained, if for judging to meet default regularization condition, obtaining pre-set threshold value;Subelement is adjusted, for utilizing The pre-set threshold value is adjusted to the property parameters of the second audio collection unit.
4. voice signal acquisition device according to claim 3, it is characterised in that the property parameters include yield value, It is described adjustment subelement specifically for:
The yield value of the second audio collection unit is adjusted to pre-set threshold value.
5. a kind of computer-readable recording medium, its computer program that is stored with, wherein, when the computer program is in computer During upper operation so that the computer performs the method as described in claim 1.
CN201610790742.8A 2016-08-31 2016-08-31 A kind of speech signal collection method, device and terminal CN106331359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610790742.8A CN106331359B (en) 2016-08-31 2016-08-31 A kind of speech signal collection method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610790742.8A CN106331359B (en) 2016-08-31 2016-08-31 A kind of speech signal collection method, device and terminal

Publications (2)

Publication Number Publication Date
CN106331359A CN106331359A (en) 2017-01-11
CN106331359B true CN106331359B (en) 2017-09-12

Family

ID=57789108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610790742.8A CN106331359B (en) 2016-08-31 2016-08-31 A kind of speech signal collection method, device and terminal

Country Status (1)

Country Link
CN (1) CN106331359B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108390996A (en) * 2018-01-25 2018-08-10 维沃移动通信有限公司 A kind of display methods, mobile terminal
CN109005272A (en) * 2018-07-24 2018-12-14 Oppo(重庆)智能科技有限公司 Voice pick-up method and Related product
CN109151701A (en) * 2018-07-26 2019-01-04 Oppo广东移动通信有限公司 Microphone plug-hole detection method and Related product
CN110166879A (en) * 2019-06-28 2019-08-23 歌尔科技有限公司 Voice collecting control method, device and TWS earphone
CN110536193A (en) * 2019-07-24 2019-12-03 华为技术有限公司 A kind of processing method and processing device of audio signal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710856A (en) * 2012-05-23 2012-10-03 华为终端有限公司 Control method and control device
CN103325378A (en) * 2013-07-16 2013-09-25 珠海市魅族科技有限公司 Terminal voice noise reducing method and terminal
CN203219384U (en) * 2012-12-26 2013-09-25 深圳市金立通信设备有限公司 Device for processing communication environment noise and mobile terminal
CN104538040A (en) * 2014-11-28 2015-04-22 广东欧珀移动通信有限公司 Method and device for dynamically selecting communication voice signals
JP2016090799A (en) * 2014-11-05 2016-05-23 日本電信電話株式会社 Noise suppression device, and method and program for the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710856A (en) * 2012-05-23 2012-10-03 华为终端有限公司 Control method and control device
CN203219384U (en) * 2012-12-26 2013-09-25 深圳市金立通信设备有限公司 Device for processing communication environment noise and mobile terminal
CN103325378A (en) * 2013-07-16 2013-09-25 珠海市魅族科技有限公司 Terminal voice noise reducing method and terminal
JP2016090799A (en) * 2014-11-05 2016-05-23 日本電信電話株式会社 Noise suppression device, and method and program for the same
CN104538040A (en) * 2014-11-28 2015-04-22 广东欧珀移动通信有限公司 Method and device for dynamically selecting communication voice signals

Also Published As

Publication number Publication date
CN106331359A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US9832582B2 (en) Sound effect control method and apparatus
CN103327102B (en) A kind of method and apparatus recommending application program
CN103500002B (en) The method of application program management, device and terminal unit
WO2016107501A1 (en) Intelligent device control method and device
CN105120065B (en) Message treatment method and device
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN104679969A (en) Method and device for avoiding user churn
CN103530040B (en) Object element moving method, device and electronic equipment
CN103281687A (en) Network flow management method and device of double-card terminal
CN103414488B (en) A kind of control method, device and equipment of mobile device antenna
CN103501485B (en) Push the method, apparatus and terminal device of application
CN104869468A (en) Method and apparatus for displaying screen information
CN106778585A (en) A kind of face key point-tracking method and device
CN106357897B (en) The acquisition methods and device of drop information
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN103414982B (en) A kind of method and apparatus that sound is provided
CN103455256A (en) Method and terminal for rotating display picture of screen
CN104518953A (en) Message deleting method, instant messaging terminal and system
US9432391B2 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN105005909A (en) Method and device for predicting lost users
CN104735671A (en) Malicious call recognition method and device
CN104902116B (en) A kind of time unifying method and device of voice data and reference signal
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN106412249B (en) The detection method and device of drop information
CN104618223B (en) A kind of management method of information recommendation, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.