CN106331359A - Speech signal acquisition method and apparatus and terminal - Google Patents
Speech signal acquisition method and apparatus and terminal Download PDFInfo
- Publication number
- CN106331359A CN106331359A CN201610790742.8A CN201610790742A CN106331359A CN 106331359 A CN106331359 A CN 106331359A CN 201610790742 A CN201610790742 A CN 201610790742A CN 106331359 A CN106331359 A CN 106331359A
- Authority
- CN
- China
- Prior art keywords
- audio
- audio signal
- amplitude
- signal
- collection unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present invention discloses a speech signal acquisition method and apparatus and a terminal. The speech signal acquisition method comprises: obtaining a first audio signal and a second audio signal, wherein the first audio signal is obtained by acquisition on telephone speech by using a first audio acquisition unit, and the second audio signal is obtained by acquisition on environmental noise by using a second audio acquisition unit; determining, according to a first amplitude of the first audio signal and a second amplitude of the second audio signal, whether a preset adjustment condition is met; and if yes, adjusting an attribute parameter of the second audio acquisition unit, so that the second audio acquisition unit acquires a telephone speech signal. According to the foregoing speech signal acquisition method, when a primary microphone that acquires telephone speech is abnormal, the telephone speech can be acquired by using a secondary microphone that acquires environmental noise, so that normal proceeding of a call is ensured, operations are simple, and flexibility is high.
Description
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of speech signal collection method, device and terminal.
Background technology
Along with the development of terminal technology and popularizing of mobile phone, user is more and more higher to the degree of dependence 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 pass through built-in mike and each carry out sound collection, and will
The sound collected is converted into audio signal and sends to the other side, and after the other side's mobile phone receives this audio signal, it can be by interior
The speaker put plays out.For ease of sound collection, mike installation place is generally provided with sound collection hole, and sound can lead to
Cross this sound collection hole and be conveyed directly to mike, improve the sensitivity of collection.But, owing to this mike is typically mounted on
The end of mobile phone, therefore user is during grasping mobile phone, its finger tends to block this sound collection hole, thus affects wheat
The collecting work of gram wind, it is difficult to ensure the normal voice call of user.
Summary of the invention
It is an object of the invention to provide a kind of speech signal collection method, device and terminal, to solve existing mobile phone appearance
Easily because the sound collection hole of main mike is blocked and affects the technical problem of call.
For solving above-mentioned technical problem, embodiment of the present invention offer techniques below scheme:
A kind of speech signal collection method, comprising:
Obtain the first audio signal and the second audio signal, described first audio signal by the first audio collection unit for
Call voice collects, and described second audio signal is collected for environmental noise by the second audio collection unit;
The first amplitude and the second amplitude of the second audio signal according to described first audio signal judge whether to meet in advance
If regularization condition;
The most then the property parameters of described second audio collection unit is adjusted, so that described second audio collection
Call voice signal is acquired by unit.
For solving above-mentioned technical problem, the embodiment of the present invention also provides for techniques below scheme:
A kind of voice signal acquisition device, comprising:
First audio collection unit, for obtaining the first audio signal, described first audio signal is adopted for call voice
Collection obtains;
Second audio collection unit, for obtaining the second audio signal, described second audio signal is adopted for environmental noise
Collection obtains;
Judging unit, for sentencing according to the first amplitude of described first audio signal and the second amplitude of the second audio signal
The most satisfied disconnected default regularization condition;
Adjustment unit, for the most then the property parameters of described second audio collection unit being adjusted, so that described
Call voice signal is acquired by the second audio collection unit.
For solving above-mentioned technical problem, the embodiment of the present invention also provides for techniques below scheme:
A kind of terminal, it includes main mike and secondary mike, and described main mike is for adopting for call voice
Collection, obtains the first audio signal, and described secondary mike, for being acquired for environmental noise, obtains the second audio signal;
Regularization condition is preset when the first amplitude of described first audio signal and the second amplitude of the second audio signal meet
Time, described secondary mike is replaced described main mike and is carried out the collection of call voice signal.
Speech signal collection method of the present invention, device and terminal, by obtaining the first audio signal and the second sound
Frequently signal, this first audio signal is collected for call voice by the first audio collection unit, this second audio signal by
Second audio collection unit collects for environmental noise, afterwards, according to first amplitude and second of this first audio signal
Second amplitude of audio signal judges whether to meet presets regularization condition, the most then attribute to this second audio collection unit
Parameter is adjusted, so that call voice signal is acquired by this second audio collection unit, thus is gathering call voice
Main mike occur abnormal in the case of, call voice can be gathered by gathering the secondary mike of environmental noise, it is ensured that logical
Being normally carried out of words, simple to operate, motility is high.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings, by the detailed description of the invention of the present invention is described in detail, technical scheme will be made
And other beneficial effect is apparent.
Fig. 1 is the schematic flow sheet of the speech signal collection method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the speech signal collection method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of the voice signal acquisition device that the embodiment of the present invention provides;
Fig. 4 is another structural representation of the voice signal acquisition device that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the terminal that the embodiment of the present invention provides.
Detailed description of the invention
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
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of speech signal collection method, device and terminal.To carry out specifically respectively below
Bright.It should be noted that, the sequence number of following example is not as the restriction of embodiment priority.
First embodiment
The present embodiment will be described from the angle of voice signal acquisition device, and this voice signal acquisition device is the most permissible
It is integrated in the equipment such as mobile phone, panel computer or notebook computer.
Referring to Fig. 1, Fig. 1 and specifically describe the speech signal collection method that first embodiment of the invention provides, it is permissible
Including:
S101, obtaining the first audio signal and the second audio signal, this first audio signal is by the first audio collection unit
Collecting for call voice, this second audio signal is collected for environmental noise by the second audio collection unit.
In the present embodiment, this first audio signal mainly includes voice, and this second audio signal mainly includes environmental noise,
By gathering the second audio signal, the environmental noise in this first audio signal can be filtered, obtain the most clearly
Voice.This first audio collection unit and the second audio collection unit can include mike, and particular number can be according to reality
Depending on demand, such as, this first audio collection unit can include 2 or 3 mikes, forms microphone array.
Generally, collection environmental noise preferably or call voice, this first audio collection unit and the second audio collection
In unit, the setting of property parameters is different, is such as used for the gain (amplification) of the first audio collection unit of main pickup
It is significantly greater than the gain of the second audio collection unit for noise reference, etc., in addition, this first audio collection unit
Also it is different with the installation site of the second audio collection unit, such as in view of the custom of grasping terminal during user's communication, should
First audio collection unit is typically mounted at the bottom of terminal, and this second audio collection unit is typically mounted at the top of terminal.
S102, judge whether to meet according to the first amplitude of this first audio signal and the second amplitude of the second audio signal
Preset regularization condition, if meeting, then can performing following step S103, if being unsatisfactory for, then can perform above-mentioned steps S101.
In the present embodiment, this default regularization condition can according to the actual requirements depending on, this first amplitude and the second amplitude master
It is used for reflecting signal intensity.Under normal circumstances, the signal intensity of the call voice of this first audio collection unit collection is more than
The signal intensity of the environmental noise that the second audio collection unit gathers.
Such as, above-mentioned steps S102 specifically may include that
Calculate the difference between the second amplitude of this second audio signal and the first amplitude of the first audio signal;
If this difference is more than preset difference value, then judge to meet to preset regularization condition;
If this difference is not more than preset difference value, then judge to be unsatisfactory for presetting regularization condition.
In the present embodiment, this preset difference value can according to the actual requirements depending on, it can be a discreet value, it is also possible to be
One empirical value.When the second amplitude is more than preset difference value more than the difference between the first amplitude, and the second amplitude and the first amplitude,
Illustrate that the first audio collection unit is blocked or exception occurs, thus the call voice utilizing this first audio collection unit to gather is believed
Number can be the most weak, it is difficult to meet call demand, preset regularization condition at this point it is possible to judge to meet.
It should be noted that if these abnormal conditions are to occur the short time, the finger imprudence of such as user has blocked this
Remove again after first audio collection unit, this first audio collection unit collection call can be continued with in this case
Voice, it is not necessary to being adjusted operation, therefore, for understanding that these abnormal conditions are long-time generations or of short duration, this is first years old
Audio signal and the second audio signal can be the signal segments collected in certain time length, now, only when this signal segment
When difference between second amplitude and first amplitude in interior each moment is satisfied by presetting regularization condition, just show these abnormal conditions
It is long-time generation, just may determine that to meet and preset regularization condition.
S103, property parameters to this second audio collection unit are adjusted, so that this second audio collection unit pair
Call voice signal is acquired.
Such as, above-mentioned steps S103 specifically may include that
Obtain pre-set threshold value;
Utilize this pre-set threshold value that the property parameters of this second audio collection unit is adjusted.
In the present embodiment, this pre-set threshold value can according to the actual requirements depending on.The method of adjustment of this property parameters can have
Multiple, such as directly the value of this property parameters can be adjusted to this pre-set threshold value, it is also possible to the value of this property parameters adjusted
To N times of this pre-set threshold value, etc..By utilizing this pre-set threshold value that the property parameters of the second audio collection unit is adjusted
Whole, it is possible to use the second audio collection unit in noise reference possesses main pickup function.
Wherein, this property parameters can include yield value, now, above-mentioned " utilizes this pre-set threshold value to adopt this second audio frequency
Collection unit property parameters be adjusted " step specifically may include that
The yield value of this second audio collection unit is adjusted to pre-set threshold value.
In the present embodiment, by adjusting yield value to pre-set threshold value, thus it is possible to vary this second audio collection unit obtains
Relation between audio signal and noise, obtains suitable frequency response curve, reduces the distortion factor of sound, so that this second audio frequency is adopted
Collection unit is applicable to gather call voice, namely possesses main pickup function.
From the foregoing, the speech signal collection method that the present embodiment provides, by obtaining the first audio signal and second
Audio signal, this first audio signal is collected for call voice by the first audio collection unit, this second audio signal
Collected for environmental noise by the second audio collection unit, afterwards, according to first amplitude and of this first audio signal
Second amplitude of two audio signals judges whether to meet presets regularization condition, the most then genus to this second audio collection unit
Property parameter be adjusted so that call voice signal is acquired by this second audio collection unit, thus gather telephone user
In the case of the main mike of sound occurs extremely, the secondary mike that can call collection environmental noise obtains collection call voice, protects
Being normally carried out of card call, simple to operate, motility is high.
Second embodiment
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, will be described in detail as a example by this voice signal acquisition device is integrated in the terminal.
As in figure 2 it is shown, a kind of speech signal collection method, idiographic flow can be such that
S201, terminal obtain the first audio signal and the second audio signal, and this first audio signal is by the first audio collection
Unit collects for call voice, and this second audio signal is gathered for environmental noise by the second audio collection unit
Arrive.
Such as, when user is conversed by terminal with good friend, can be by being arranged on the main mike bottom terminal
(the first audio collection unit) gathers call voice, obtains the first audio signal, by being arranged on the secondary mike at terminal top
(the second audio collection unit) gathers environmental noise, obtains the second audio signal.
S202, terminal obtain this first audio signal and the amplitude of the second audio signal respectively, obtain the first amplitude and
Two amplitudes.
Such as, if this first audio signal and the second audio signal are the signal segments gathered in specifying duration, then terminal
The amplitude in each moment that can obtain this first audio signal and the second audio signal respectively in this appointment duration.
This second amplitude of S203, terminal judges whether more than the first amplitude, the most then can perform following step S204,
If it is not, any operation then can not be performed.
Such as, the second corresponding for any instant amplitude and the first amplitude can be compared analysis, only when this by terminal
When the second amplitude that in appointment duration, each moment is corresponding is all higher than the first amplitude, just judge that this second amplitude is more than the first width
Value.
S204, terminal calculate the difference between this first amplitude and second amplitude, when this difference is more than preset difference value, eventually
The yield value of this second audio collection unit is adjusted to pre-set threshold value by end.
Such as, terminal can calculate the difference between the second amplitude corresponding to any instant and the first amplitude, and by each
Difference and this preset difference value compare analysis, and when all differences are all higher than preset difference value, terminal can increase and is arranged on top
The yield value of the main mike in portion, makes this yield value reach pre-set threshold value, thus adjusts frequency response curve, makes this main mike be suitable for
In gathering 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 this first audio signal is collected for call voice by the first audio collection unit, and this is second years old
Audio signal is collected for environmental noise by the second audio collection unit, afterwards, obtain respectively this first audio signal and
The amplitude of the second audio signal, obtains the first amplitude and the second amplitude, next, it is determined that whether this second amplitude is more than the first width
Value, the most then calculate the difference between this first amplitude and second amplitude, and when this difference is more than preset difference value, terminal will
The yield value of this second audio collection unit is adjusted to pre-set threshold value, for prior art, by adopting at the first audio frequency
In the case of collection unit occurs extremely, change the property parameters of the second audio collection unit, reach to utilize this second audio collection
Unit gathers the purpose of call voice, thus ensures the normal acquisition of call voice, simple to operate, and motility is high.
3rd embodiment
On the basis of method described in embodiment one and embodiment two, the present embodiment is by from the angle of voice signal acquisition device
Degree is further described below, and refers to Fig. 3, Fig. 3 and specifically describes the speech signal collection dress that third embodiment of the invention provides
Putting, it may include that first audio collection unit the 10, 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, this first audio signal is adopted for call voice
Collection obtains.
(2) second audio collection unit 20
Second audio collection unit 20, for obtaining the second audio signal, this second audio signal is adopted for environmental noise
Collection obtains.
In the present embodiment, this first audio signal mainly includes voice, and this second audio signal mainly includes environmental noise,
By gathering the second audio signal, the environmental noise in this first audio signal can be filtered, obtain the most clearly
Call voice.This first audio collection unit 10 and the second audio collection unit 20 can include mike, and particular number is permissible
Depending on according to the actual requirements, such as, this first audio collection unit 10 can include 2 or 3 mikes, forms microphone array
Row.
Generally, collection environmental noise preferably or call voice, this first audio collection unit 10 and the second audio frequency are adopted
In collection unit 20, the setting of property parameters is different, and the such as gain for the first audio collection unit 10 of main pickup (is put
Big multiple) it is significantly greater than the gain of the second audio collection unit 20 for noise reference, etc., in addition, this first sound
Frequently the installation site of collecting unit 10 and the second audio collection unit 20 is also different, such as grasps in view of during user's communication
The custom of terminal, this first audio collection unit 10 is typically mounted at the bottom of terminal, and this second audio collection unit 20 is general
It is arranged on the top of terminal.
(3) judging unit 30
Judging unit 30, for sentencing according to the first amplitude of this first audio signal and the second amplitude of the second audio signal
The most satisfied disconnected default regularization condition.
In the present embodiment, this default regularization condition can according to the actual requirements depending on, this first amplitude and the second amplitude master
It is used for reflecting signal intensity.Under normal circumstances, the signal intensity of the call voice of this first audio collection unit collection is more than
The signal intensity of the environmental noise that the second audio collection unit gathers.
Such as, referring to Fig. 4, this judging unit 30 specifically can include computation subunit 31 and judgment sub-unit 32, its
In:
Computation subunit 31, for calculating the second amplitude of this second audio signal and the first amplitude of the first audio signal
Between difference;
Judgment sub-unit 32, if for this difference more than preset difference value, then judges to meet to preset regularization condition;If this difference
It is not more than preset difference value, then judges to be unsatisfactory for presetting regularization condition.
In the present embodiment, this preset difference value can according to the actual requirements depending on, it can be a discreet value, it is also possible to be
One empirical value.When the second amplitude is more than preset difference value more than the difference between the first amplitude, and the second amplitude and the first amplitude,
Illustrate that the first audio collection unit 10 is blocked or exception occurs, thus utilize the call language that this first audio collection unit 10 gathers
Tone signal can be the most weak, it is difficult to meets call demand, presets regularization condition at this point it is possible to judge to meet.
It should be noted that if these abnormal conditions are to occur the short time, the finger imprudence of such as user has blocked this
Remove again after first audio collection unit, this first audio collection unit 10 can be continued with in this case and gather logical
Language sound, it is not necessary to be adjusted operation, therefore, for understanding that these abnormal conditions are long-time generations or of short duration, this is the years old
One audio signal and the second audio signal can be the signal segments collected in certain time length, now, only when this signal
When difference between second amplitude and first amplitude in section interior each moment is satisfied by presetting regularization condition, just show this exception feelings
Condition is long-time generation, it is judged that subelement 32 just may determine that to meet presets regularization condition.
(4) adjustment unit 40
Adjustment unit 40, for the most then the property parameters of this second audio collection unit being adjusted so that this
Call voice signal is acquired by two audio collection unit.
Such as, this adjustment unit 40 specifically can include obtaining subelement 41 and adjusting subelement 42, wherein:
Obtain subelement 41, be used for obtaining pre-set threshold value;
Adjust subelement 42, for utilizing this pre-set threshold value that the property parameters of this second audio collection unit is adjusted
Whole.
In the present embodiment, this pre-set threshold value can according to the actual requirements depending on.The method of adjustment of this property parameters can have
Multiple, the value of this property parameters directly can be adjusted to this pre-set threshold value by such as adjustment unit 40, it is also possible to joined by this attribute
The value of number is adjusted to N times of this pre-set threshold value, etc..Adjustment unit 40 is by utilizing this pre-set threshold value to the second audio collection list
The property parameters of unit 20 is adjusted, it is possible to use the second audio collection unit 20 in noise reference possesses main pickup function.
Such as, this property parameters can include yield value, and now, this adjustment subelement 42 specifically may be used for:
The yield value of this second audio collection unit is adjusted to pre-set threshold value.
In the present embodiment, by adjusting yield value to pre-set threshold value, thus it is possible to vary this second audio collection unit obtains
Relation between audio signal and noise, obtains suitable frequency response curve, reduces the distortion factor of sound.
When being embodied as, above unit can realize as independent entity, it is also possible to carries out combination in any, makees
Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above unit, at this not
Repeat again.
From the foregoing, the voice signal acquisition device that the present embodiment provides, by being utilized respectively the first audio collection list
Unit 10 and the second audio collection unit 20 obtain the first audio signal and the second audio signal, and this first audio signal is for call
Voice collecting obtains, and this second audio signal collects for environmental noise, afterwards, by judging unit 30 according to this first
First amplitude of audio signal and the second amplitude of the second audio signal judge whether to meet presets regularization condition, if meeting, then
The property parameters of this second audio collection unit 20 is adjusted by adjustment unit 40, so that this second audio collection unit 20 is right
Call voice signal is acquired, thus in the case of the main mike gathering call voice occurs extremely, can be by gathering
The secondary mike of environmental noise gathers call voice, it is ensured that being normally carried out of call, simple to operate, and motility is high.
4th embodiment
Accordingly, the embodiment of the present invention also provides for a kind of terminal, as it is shown in figure 5, this terminal can include radio frequency (RF,
Radio Frequency) circuit 501, include the memorizer 502 of one or more computer-readable recording mediums, defeated
Enter unit 503, display unit 504, sensor 505, voicefrequency circuit 505, Wireless Fidelity (WiFi, Wireless Fidelity)
Module 507, include one or more than one processes the parts such as the processor 508 of core and power supply 509.This area skill
Art personnel are appreciated that the terminal structure shown in Fig. 5 is not intended that the restriction to terminal, can include more more or more than diagram
Few parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 501 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station
After downlink information receives, transfer to one or more than one processor 508 processes;It addition, be sent to relating to up data
Base station.Generally, RF circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, use
Family identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..Additionally, RF circuit 501 can also by radio communication and network and its
He communicates by equipment.Described radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile telecommunications system
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 502 can be used for storing software program and module, and processor 508 is stored in memorizer 502 by operation
Software program and module, thus perform various function application and data process.Memorizer 502 can mainly include storing journey
Sequence district and storage data field, wherein, storage program area can store the application program (ratio needed for operating system, at least one function
Such as sound-playing function, image player function etc.) etc.;Storage data field can store the data that the use according to terminal is created
(such as voice data, phone directory etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, it is also possible to include
Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memorizer 502 can also include Memory Controller, to provide processor 508 and input block 503 to memorizer 502
Access.
Input block 503 can be used for receiving numeral or the character information of input, and produces and user setup and function
Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, a specific embodiment
In, input block 503 can include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touches display screen or touches
Control plate, can collect user thereon or neighbouring touch operation (such as user use any applicable object such as finger, stylus or
Adnexa operation on Touch sensitive surface or near Touch sensitive surface), and connect dress accordingly according to formula set in advance driving
Put.Optionally, Touch sensitive surface can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection
Survey the touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller from
Receive touch information on touch detecting apparatus, and be converted into contact coordinate, then give processor 508, and can reception process
Order that device 508 is sent also is performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface acoustic wave etc. multiple
Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 503 can also include other input equipments.Specifically, other are defeated
Enter equipment and can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus
One or more in mark, action bars etc..
Display unit 504 can be used for the various of the information that inputted by user of display or the information being supplied to user and terminal
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display
Unit 504 can include display floater, optionally, can use liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display floater.Further
, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to
Device 508, to determine the type of touch event, provides corresponding with preprocessor 508 according to the type of touch event on a display panel
Visual output.Although in Figure 5, Touch sensitive surface and display floater are to realize input and input as two independent parts
Function, but in some embodiments it is possible to by integrated to Touch sensitive surface and display floater 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 can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light
Light and shade regulate the brightness of display floater, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear
Light.As the one of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions
Size, can detect that size and the direction of gravity time static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Can also configure as terminal
Gyroscope, barometer, drimeter, thermometer, other sensors such as infrared ray sensor, do not repeat them here.
Voicefrequency circuit 506, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 506 can
The signal of telecommunication after the voice data conversion that will receive, is transferred to speaker, speaker be converted to acoustical signal output;Another
Aspect, the acoustical signal of collection is converted to the signal of telecommunication by microphone, voicefrequency circuit 506 be converted to voice data after receiving, then
After voice data output processor 508 is processed, through RF circuit 501 to be sent to such as another terminal, or by voice data
Output is to memorizer 502 to process further.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 electronics postal by WiFi module 507
Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows
WiFi module 507, but it is understood that, it is also not belonging to must be configured into of terminal, can not change as required completely
Omit in the scope of the essence becoming invention.
Processor 508 is the control centre of terminal, utilizes various interface and the various piece of the whole mobile phone of connection, logical
Cross operation or perform to be stored in the software program in memorizer 502 and/or module, and calling and be stored in memorizer 502
Data, perform the various functions of terminal and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 508 can wrap
Include one or more process core;Preferably, processor 508 can integrated application processor and modem processor, wherein, should
Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in 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 is logically contiguous with processor 508, thus realizes 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 alternating current power supply, recharging system, power failure inspection
Slowdown monitoring circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal can also include main mike and secondary mike, and this main mike is for for call language
Sound is acquired, and obtains the first audio signal, and this pair mike, for being acquired for environmental noise, obtains the second audio frequency letter
Number.When the first amplitude of this first audio signal and the second amplitude of the second audio signal meet and preset regularization condition, this pair
Mike is replaced this main mike and is carried out the collection of call voice signal.
Additionally, terminal can also include photographic head, bluetooth module etc., do not repeat them here.The most in the present embodiment, the most eventually
Processor 508 in end can be according to following instruction, by corresponding the performing of process of one or more application program
File is loaded in memorizer 502, and is run the application program being stored in memorizer 502 by processor 508, thus realizes
Various functions:
Control this main mike to be acquired for call voice, obtain the first audio signal, and control this secondary Mike
Wind is acquired for environmental noise, obtains the second audio signal;
When the first amplitude of this first audio signal and the second amplitude of the second audio signal meet and preset regularization condition,
Control this pair mike to replace this main mike and carry out the collection of call voice signal.
Preferably, processor control this pair mike replace this main mike carry out call voice signal collection it
Before, it is also possible to including:
Calculate the difference between the second amplitude of this second audio signal and the first amplitude of the first audio signal;
If this difference is more than preset difference value, then judge to meet to preset regularization condition;
If this difference is not more than preset difference value, then judge to be unsatisfactory for presetting regularization condition.
Preferably, this property parameters includes that yield value, processor control this pair mike and replace this main mike and lead to
The collection of language tone signal, including:
Obtain pre-set threshold value;
Utilize this pre-set threshold value that the property parameters of this pair mike is adjusted.
Preferably, processor utilizes this pre-set threshold value to be adjusted the property parameters of this pair mike, including:
The yield value of this pair mike is adjusted to pre-set threshold value.
The implementation method of each operation specifically can be found in above-described embodiment above, and here is omitted.
This terminal can realize having achieved by any one voice signal acquisition device that the embodiment of the present invention is provided
Effect effect, refers to embodiment above, does not repeats them 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
Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that read only memory (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 that are thered is provided the embodiment of the present invention above have carried out detailed Jie
Continuing, principle and the embodiment of the present invention are set forth by specific case used herein, and the explanation of above example is only
It is the method and core concept thereof being adapted to assist in and understanding the present invention;Simultaneously for those skilled in the art, according to the present invention's
Thought, the most all will change, and in sum, this specification content should not be construed as
Limitation of the present invention.
Claims (10)
1. a speech signal collection method, it is characterised in that including:
Obtain the first audio signal and the second audio signal, described first audio signal by the first audio collection unit for call
Voice collecting obtains, and described second audio signal is collected for environmental noise by the second audio collection unit;
The first amplitude and the second amplitude of the second audio signal according to described first audio signal judge whether to meet default tune
Shelf-regulating Conditions;
The most then the property parameters of described second audio collection unit is adjusted, so that described second audio collection unit
Call voice signal is acquired.
Speech signal collection method the most according to claim 1, it is characterised in that described according to described first amplitude and
Two amplitudes judge whether to meet presets regularization condition, including:
Calculate the difference between the second amplitude and first amplitude of the first audio signal of described second audio signal;
If described difference is more than preset difference value, then judge to meet to preset regularization condition;
If described difference is not more than preset difference value, then judge to be unsatisfactory for presetting regularization condition.
Speech signal collection method the most according to claim 1, it is characterised in that described to described second audio collection list
The property parameters of unit is adjusted, including:
Obtain pre-set threshold value;
Utilize described pre-set threshold value that the property parameters of described second audio collection unit is adjusted.
Speech signal collection method the most according to claim 3, it is characterised in that described property parameters includes yield value,
Described described pre-set threshold value is utilized to be adjusted including to the property parameters of described second audio collection unit:
The yield value of described second audio collection unit is adjusted to pre-set threshold value.
5. a voice signal acquisition device, it is characterised in that including:
First audio collection unit, for obtaining the first audio signal, described first audio signal gathers for call voice
Arrive;
Second audio collection unit, for obtaining the second audio signal, described second audio signal gathers for environmental noise
Arrive;
Judging unit, the second amplitude judgement for the first amplitude according to described first audio signal and the second audio signal is
No satisfied default regularization condition;
Adjustment unit, for the most then the property parameters of described second audio collection unit being adjusted, so that described second
Call voice signal is acquired by audio collection unit.
Voice signal acquisition device the most according to claim 5, it is characterised in that described judging unit specifically includes:
Computation subunit, between the second amplitude and the first amplitude of the first audio signal calculating described second audio signal
Difference;
Judgment sub-unit, if for described difference more than preset difference value, then judges to meet to preset regularization condition;If described difference is not
More than preset difference value, then judge to be unsatisfactory for presetting regularization condition.
Voice signal acquisition device the most according to claim 5, it is characterised in that described adjustment unit specifically includes:
Obtain subelement, be used for obtaining pre-set threshold value;
Adjust subelement, for utilizing described pre-set threshold value that the property parameters of described second audio collection unit is adjusted.
Voice signal acquisition device the most according to claim 7, it is characterised in that described property parameters includes yield value,
Described adjustment subelement specifically for:
The yield value of described second audio collection unit is adjusted to pre-set threshold value.
9. a terminal, it is characterised in that including main mike and secondary mike, described main mike is for for call voice
Being acquired, obtain the first audio signal, described secondary mike, for being acquired for environmental noise, obtains the second audio frequency letter
Number;
When the first amplitude of described first audio signal and the second amplitude of the second audio signal meet and preset regularization condition, institute
State the secondary mike described main mike of replacement and carry out the collection of call voice signal.
Terminal the most according to claim 9, it is characterised in that also include that processor, described processor are used for:
Control described main mike to be acquired for call voice, obtain the first audio signal, and control described secondary Mike
Wind is acquired for environmental noise, obtains the second audio signal;
When the first amplitude of described first audio signal and the second amplitude of the second audio signal meet and preset regularization condition, control
Make the described secondary mike described main mike of replacement and carry out the collection of call voice signal.
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 true CN106331359A (en) | 2017-01-11 |
CN106331359B CN106331359B (en) | 2017-09-12 |
Family
ID=57789108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610790742.8A Expired - Fee Related 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) |
Cited By (8)
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 |
CN110166615A (en) * | 2019-05-28 | 2019-08-23 | 努比亚技术有限公司 | Automatically switch method, apparatus, terminal and the storage medium in call uplink signal source |
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 |
CN112449040A (en) * | 2020-11-17 | 2021-03-05 | 珠海格力电器股份有限公司 | Microphone control method of mobile terminal and mobile terminal |
CN112492498A (en) * | 2021-02-05 | 2021-03-12 | 杭州兆华电子有限公司 | Testing method of call noise reduction earphone |
Citations (5)
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 |
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 |
-
2016
- 2016-08-31 CN CN201610790742.8A patent/CN106331359B/en not_active Expired - Fee Related
Patent Citations (5)
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 |
Cited By (11)
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 |
CN110166615A (en) * | 2019-05-28 | 2019-08-23 | 努比亚技术有限公司 | Automatically switch method, apparatus, terminal and the storage medium in call uplink signal source |
CN110166879A (en) * | 2019-06-28 | 2019-08-23 | 歌尔科技有限公司 | Voice collecting control method, device and TWS earphone |
CN110166879B (en) * | 2019-06-28 | 2020-11-13 | 歌尔科技有限公司 | Voice acquisition control method and device and TWS earphone |
US11937055B2 (en) | 2019-06-28 | 2024-03-19 | Goertek Inc. | Voice acquisition control method and device, and TWS earphones |
CN110536193A (en) * | 2019-07-24 | 2019-12-03 | 华为技术有限公司 | A kind of processing method and processing device of audio signal |
CN110536193B (en) * | 2019-07-24 | 2020-12-22 | 华为技术有限公司 | Audio signal processing method and device |
CN112449040A (en) * | 2020-11-17 | 2021-03-05 | 珠海格力电器股份有限公司 | Microphone control method of mobile terminal and mobile terminal |
CN112492498A (en) * | 2021-02-05 | 2021-03-12 | 杭州兆华电子有限公司 | Testing method of call noise reduction earphone |
Also Published As
Publication number | Publication date |
---|---|
CN106331359B (en) | 2017-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331359B (en) | A kind of speech signal collection method, device and terminal | |
CN103645837B (en) | The method and apparatus amplifying display font | |
CN106055364A (en) | Application starting method and terminal equipment | |
CN103227855B (en) | The vibration control method of mobile terminal and mobile terminal | |
CN104427083A (en) | Volume adjusting method and device | |
CN106357897A (en) | Fall information acquiring method and device | |
CN102833419B (en) | Method and terminal for controlling screen state | |
CN105788612A (en) | Method and device for testing tone quality | |
CN104135728B (en) | Method for connecting network and device | |
CN106340925A (en) | Charging control method, apparatus and terminal | |
CN106603740B (en) | It is connected to the network abnormal processing method and terminal device | |
CN106507482A (en) | A kind of network locating method and terminal device | |
CN106714103A (en) | Network location method and terminal equipment | |
CN104360307A (en) | Positioning method and positioning device | |
CN106248542A (en) | A kind of detect the method for air quality, device and terminal | |
CN109005574A (en) | Cell selecting method, mobile terminal and computer readable storage medium | |
CN106506437A (en) | A kind of audio data processing method, and equipment | |
CN109151942A (en) | A kind of network insertion switching method, device and mobile terminal | |
CN105808043A (en) | Setting method of terminal application and mobile terminal | |
CN105611446A (en) | Self-stick, self-stick identification method and apparatus, and mobile terminal | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN104869550A (en) | Communication event processing method and device | |
CN203554786U (en) | PCB unit and terminal device | |
CN106454953A (en) | Flow control method and apparatus, and terminal | |
CN106227337A (en) | A kind of screen luminance adjustment method, device and terminal |
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 |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170912 |
|
CF01 | Termination of patent right due to non-payment of annual fee |