CN107659864A - A kind of noise-reduction method and terminal - Google Patents
A kind of noise-reduction method and terminal Download PDFInfo
- Publication number
- CN107659864A CN107659864A CN201610589385.9A CN201610589385A CN107659864A CN 107659864 A CN107659864 A CN 107659864A CN 201610589385 A CN201610589385 A CN 201610589385A CN 107659864 A CN107659864 A CN 107659864A
- Authority
- CN
- China
- Prior art keywords
- terminal
- mic
- earphone
- signal
- noise
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M9/00—Arrangements for interconnection not involving centralised switching
- H04M9/08—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
- H04M9/082—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using echo cancellers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1083—Reduction of ambient noise
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/19—Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/02—Circuits for transducers, loudspeakers or microphones for preventing acoustic reaction, i.e. acoustic oscillatory feedback
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of noise-reduction method and terminal, including:Whether test earphone is connected with terminal, and whether detection terminal is in talking state;When detecting that earphone is connected with terminal, and when the terminal is in talking state, in running order earphone MIC is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;Using the main MIC collections voice signal, and utilize the auxiliary MIC collections ambient noise signal;Audio frequency process is carried out to the voice signal and the ambient noise signal, obtains noise-reduced speech signal.
Description
Technical field
The present invention relates to noise reduction technology, more particularly to a kind of noise-reduction method and terminal.
Background technology
Intelligent terminal, such as mobile phone, tablet personal computer etc. typically all have microphone (MIC), and sound can be believed using MIC
Breath is acquired, such as the sound of user is acquired using MIC in communication process.
At present, the MIC of intelligent terminal noise reduction mainly carries out noise reduction with the MIC of terminal in itself.Have two in the terminal
Individual MIC, one is main MIC, for gathering voice;MIC supplemented by another, for gathering ambient noise, by being adopted to two MIC
The data collected are handled, so as to realize noise reduction.
Such scheme carries out noise reduction just for the MIC of terminal body, for the MIC two on earphone MIC and terminal body
The mode for coordinating progress noise reduction between person is blank, be result in when being conversed with earphone, only earphone MIC work, in terminal
MIC do not work and the caused wasting of resources.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of noise-reduction method and terminal.
Noise-reduction method provided in an embodiment of the present invention, including:
Whether test earphone is connected with terminal, and whether detection terminal is in talking state;
When detecting that earphone is connected with terminal, and when the terminal is in talking state, by running order ear
Machine MIC is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;
Using the main MIC collections voice signal, and utilize the auxiliary MIC collections ambient noise signal;
Audio frequency process is carried out to the voice signal and the ambient noise signal, obtains noise-reduced speech signal.
In the embodiment of the present invention, whether the test earphone is connected with terminal, including:
Whether test earphone is inserted into terminal;Or
Whether it is connected using bluetooth test earphone with terminal.
In the embodiment of the present invention, whether the test earphone is connected with terminal, and whether detection terminal is in call
State, including:
The detection pin of test earphone socket whether by low level become turns to high level, when earphone socket detection pin by
When low level change turns to high level, determine that earphone is inserted into terminal;
Whether the MIC pins of test earphone socket are become by low level turns to high level, when the MIC pins of earphone socket are by low
When level change is high level, determine that terminal is in talking state.
It is described that audio frequency process, bag are carried out to the voice signal and the ambient noise signal in the embodiment of the present invention
Include:
Signal enhanced processing is carried out to the voice signal and the ambient noise signal;
According to the ambient noise signal, the noise signal in the voice signal is eliminated, obtains simulating reducing noise of voice letter
Number;
Analog-to-digital conversion is carried out to the simulation noise-reduced speech signal, obtains digital noise reduction voice signal.
In the embodiment of the present invention, methods described also includes:
At the end of terminal call, the main MIC and auxiliary MIC is closed.
Terminal provided in an embodiment of the present invention, including:
Detection module, whether it is connected for test earphone with terminal, and whether detection terminal is in talking state;
Setup module, for when detecting that earphone is connected with terminal, and when the terminal is in talking state, it will be in
The earphone MIC of working condition is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;
Acquisition module, for gathering ambient noise using the main MIC collections voice signal, and using the auxiliary MIC
Signal;
Audio-frequency module, for carrying out audio frequency process to the voice signal and the ambient noise signal, obtain noise reduction
Voice signal.
In the embodiment of the present invention, the detection module is additionally operable to whether test earphone is inserted into terminal;Or utilize indigo plant
Whether tooth test earphone is connected with terminal.
In the embodiment of the present invention, the detection module includes:
First detection sub-module, whether the detection pin for test earphone socket is become by low level turns to high level, when
When the detection pin of earphone socket turns to high level by low level change, determine that earphone is inserted into terminal;
Second detection sub-module, whether the MIC pins for test earphone socket are become by low level turns to high level, works as ear
When the MIC pins of machine transplanting of rice seat turn to high level by low level change, determine that terminal is in talking state.
In the embodiment of the present invention, the audio-frequency module includes:
Signal amplifies submodule, for being carried out to the voice signal and the ambient noise signal at signal amplification
Reason;
Noise reduction submodule, for according to the ambient noise signal, eliminating the noise signal in the voice signal, obtaining
Simulate noise-reduced speech signal;
Analog-to-digital conversion submodule, for carrying out analog-to-digital conversion to the simulation noise-reduced speech signal, obtain digital noise reduction language
Sound signal.
In the embodiment of the present invention, the terminal also includes:
Closedown module, at the end of terminal call, closing the main MIC and auxiliary MIC.
In the technical scheme of the embodiment of the present invention, whether test earphone is connected with terminal, and whether detection terminal is located
In talking state;, will be in running order when detecting that earphone is connected with terminal, and when the terminal is in talking state
Earphone MIC is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;Utilize the main MIC collections language
Sound signal, and utilize the auxiliary MIC collections ambient noise signal;The voice signal and the ambient noise signal are entered
Row audio frequency process, obtains noise-reduced speech signal.In this way, after with reference to earphone MIC and terminal MIC, user is made a phone call using earphone
Noise reduction has obtained very big lifting;The hardware resource (i.e. terminal MIC) of terminal in itself is taken full advantage of, and is increased without new
Hardware cost.
Brief description of the drawings
Accompanying drawing generally shows each embodiment discussed herein by way of example and not limitation.
Fig. 1 is the hardware architecture diagram for an optional mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of the noise-reduction method of the embodiment of the present invention one;
Fig. 4 is the schematic flow sheet of the noise-reduction method of the embodiment of the present invention two;
Fig. 5 is the structure composition schematic diagram of the terminal of the embodiment of the present invention three;
Fig. 6 is the structure composition schematic diagram of the terminal of the embodiment of the present invention four.
Embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair
The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the embodiment of the present invention.
Describe to realize the mobile terminal of each embodiment of the present invention referring now to accompanying drawing.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for being advantageous to the explanation of the embodiment of the present invention,
Itself do not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the embodiment of the present invention can include it is all
Such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA, Personal
Digital Assistant), tablet personal computer (PAD), portable media player (PMP, Portable Media
Player), the fixed terminal of the mobile terminal of guider etc. and such as digital TV, desktop computer etc..Below, it is false
If terminal is mobile terminal.However, it will be understood by those skilled in the art that except be used in particular for moving purpose element it
Outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for an optional mobile terminal for realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, audio/video (A/V) input block 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or less components can alternatively be implemented.
Wireless communication unit 110 specifically includes:Broadcasting reception module 111, mobile communication module 112, wireless Internet mould
Block 113, short range communication module 114, location information module 115.
A/V input blocks 120 specifically include:Camera 121, microphone 122.
Sensing unit 140 specifically includes:Proximity transducer 141.
Output unit 150 specifically includes:Display unit 151, dio Output Modules 152, alarm unit 153.
Controller 180 specifically includes:Multi-media module 181.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system operate.
The communication system that can be operated referring now to Fig. 2 descriptions mobile terminal wherein according to embodiments of the present invention.
Such communication system can use different air interface and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA, Frequency Division Multiple Access), time division multiple acess
(TDMA, Time Division Multiple Access), CDMA (CDMA, Code Division Multiple
Access) and UMTS (UMTS, Universal Mobile Telecommunications System) is (special
Not, Long Term Evolution (LTE, Long Term Evolution)), global system for mobile communications (GSM) etc..As unrestricted
Property example, following description is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to figure 2, cdma wireless communication system can include multiple mobile terminals 100, multiple base station (BS, Base
Station) 270, base station controller (BSC, Base Station Controller) 275 and mobile switching centre (MSC,
Mobile Switching Center)280.MSC280 is configured to and Public Switched Telephony Network (PSTN, Public
Switched Telephone Network) 290 formation interfaces.MSC280 is also structured to can be coupled via back haul link
BSC275 to base station 270 forms interface.If back haul link can construct according to any of interface that Ganji knows, described
Interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that as shown in Figure 2
System can include multiple BSC275.
Based on the above-mentioned hardware configuration of mobile terminal 100 and communication system, each embodiment of the inventive method is proposed.
Terminal, such as mobile phone, tablet personal computer etc. mostly have earphone jack, when the earphone jack insertion earphone of terminal is carried out
During call, there was only a main microphon (MIC) on earphone, there is no noise reduction MIC, so, communication process easily causes noise and right
The collection deficiency of ambient sound field environmental information.However, terminal also has main MIC in itself, there are two MIC of major-minor in some terminals;
When being conversed with earphone, the main MIC on earphone is only used, it is all on the shelf for the MIC in terminal, cause very big wave
Take.Based on this, when being conversed with earphone, the MIC of earphone in itself automatically switches to noise reduction as main MIC, the MIC of terminal in itself
MIC, so, existing main MIC, also there is noise reduction MIC when being conversed with earphone, the suppression to noise and the collection effect to environmental sound field
Can be more preferable.
In the embodiment of the present invention, combine earphone MIC and terminal MIC while work, so as to the suppression to noise and to ring
The collection effect of border sound field is improved, and takes full advantage of resource.
Fig. 3 is the schematic flow sheet of the noise-reduction method of the embodiment of the present invention one, and the noise-reduction method in this example is applied to eventually
End, as shown in figure 3, the noise-reduction method comprises the following steps:
Step 301:Whether test earphone is connected with terminal, and whether detection terminal is in talking state.
In the embodiment of the present invention, user is before using earphone, it is necessary to perform following operation:Starting up of terminal;Insert an earphone into
Terminal, and keep talking state.Specifically, user calls so that terminal is in talking state;Or user answers electricity
Words so that terminal is in talking state.
In one embodiment, earphone can be four-part form MIC earphones.In four-part form MIC earphones, there is horn component
Also there is microphone assembly.Wherein, horn component is used for playing audio signal, and microphone assembly is used to gather audio signal.
Here, four-part form MIC earphones have following feature:
1st, headset plug is four section forms;
2nd, earphone cord inner lead quantity at least 4;
3rd, earphone is stereo headset.
Based on above-mentioned earphone, whether test earphone is connected with terminal, is specially:Whether test earphone is inserted into terminal.
In another embodiment, earphone can be bluetooth earphone.In bluetooth earphone, there is horn component also to have Mike
Wind part.Wherein, horn component is used for playing audio signal, and microphone assembly is used to gather audio signal.
Based on above-mentioned earphone, whether test earphone is connected with terminal, is specially:Using bluetooth test earphone whether with end
End is connected.
Step 302:When detecting that earphone is connected with terminal, and when the terminal is in talking state, work will be in
The earphone MIC of state is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC.
In the embodiment of the present invention, when detecting that earphone is connected with terminal, and when the terminal is in talking state, earphone
MIC is in running order.In running order earphone MIC is set as main MIC.
At the same time, and activated terminals MIC, by the terminal MIC set supplemented by MIC, here, auxiliary MIC is used for being dropped
Make an uproar, therefore, auxiliary MIC is also referred to as noise reduction MIC.
Step 303:Using the main MIC collections voice signal, and utilize the auxiliary MIC collections ambient noise signal.
In the embodiment of the present invention, earphone MIC and terminal MIC work simultaneously, earphone MIC (main MIC) collection voice signals, eventually
Hold MIC (auxiliary MIC) collection ambient noise signals.
Step 304:Audio frequency process is carried out to the voice signal and the ambient noise signal, obtains reducing noise of voice letter
Number.
In the embodiment of the present invention, main MIC and auxiliary MIC signal are sent to audio-frequency module simultaneously and carry out audio frequency process, from
And noise reduction is carried out to voice signal, obtain noise-reduced speech signal.
Here, main MIC and auxiliary MIC signal are sent to audio-frequency module progress audio frequency process simultaneously to specifically include:
Signal enhanced processing is carried out to the voice signal and the ambient noise signal;
According to the ambient noise signal, the noise signal in the voice signal is eliminated, obtains simulating reducing noise of voice letter
Number;
Analog-to-digital conversion is carried out to the simulation noise-reduced speech signal, obtains digital noise reduction voice signal.
In the embodiment of the present invention, at the end of terminal call, the main MIC and auxiliary MIC is closed, so that
Terminal MIC (auxiliary MIC) realizes normal work.
Fig. 4 is the schematic flow sheet of the noise-reduction method of the embodiment of the present invention two, and the noise-reduction method in this example is applied to eventually
End, as shown in figure 4, the noise-reduction method comprises the following steps:
Step 401:Whether the detection pin of test earphone socket is become by low level turns to high level, when the inspection of earphone socket
When test tube pin turns to high level by low level change, determine that earphone is inserted into terminal.
In the embodiment of the present invention, user is before using earphone, it is necessary to perform following operation:Starting up of terminal;Insert an earphone into
Terminal, and keep talking state.Specifically, user calls so that terminal is in talking state;Or user answers electricity
Words so that terminal is in talking state.
In one embodiment, earphone can be four-part form MIC earphones.In four-part form MIC earphones, there is horn component
Also there is microphone assembly.Wherein, horn component is used for playing audio signal, and microphone assembly is used to gather audio signal.
Here, four-part form MIC earphones have following feature:
1st, headset plug is four section forms;
2nd, earphone cord inner lead quantity at least 4;
3rd, earphone is stereo headset.
After starting up of terminal, now the detection pin of earphone socket is low level, and after plugging four-part form MIC earphones, earphone is left
Or R channel is connected thereto pin is detected, now, the detection pin of earphone socket is high level, and detection module detects detection
Pin from low level become turn to high level when, then detected that earphone is inserted to terminal.
Step 402:Whether the MIC pins of test earphone socket are become by low level turns to high level, as the MIC of earphone socket
When pin turns to high level by low level change, determine that terminal is in talking state.
Before phone is put through, the MIC pins on earphone socket are low level, after phone is put through, terminal is kept logical
Speech phase, now the MIC pins of earphone socket have 1V or so direct current biasing, detection module is detected on earphone socket
MIC pins level signal from low level change to high level when, then detect that terminal is in talking state.
Step 403:When detecting that earphone is inserted into terminal, and when the terminal is in talking state, work shape will be in
The earphone MIC of state is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC.
In the embodiment of the present invention, when detecting that earphone is connected with terminal, and when the terminal is in talking state, earphone
MIC is in running order.In running order earphone MIC is set as main MIC.
At the same time, and activated terminals MIC, by the terminal MIC set supplemented by MIC, here, auxiliary MIC is used for being dropped
Make an uproar, therefore, auxiliary MIC is also referred to as noise reduction MIC.
In the embodiment of the present invention, activated terminals MIC active mode is according to the different and different of terminal MIC types, one
In embodiment, MIC types are Micro Electro Mechanical System (MEMS) MIC, and active mode can be:Draw high MEMS MIC in terminal
Microphone DC offset voltage (micbias), 1V direct current biasings are provided to terminal MIC.
Step 404:Using the main MIC collections voice signal, and utilize the auxiliary MIC collections ambient noise signal.
In the embodiment of the present invention, earphone MIC and terminal MIC work simultaneously, earphone MIC (main MIC) collection voice signals, eventually
Hold MIC (auxiliary MIC) collection ambient noise signals.
Step 405:Audio frequency process is carried out to the voice signal and the ambient noise signal, obtains reducing noise of voice letter
Number.
In the embodiment of the present invention, main MIC and auxiliary MIC signal are sent to audio-frequency module simultaneously and carry out audio frequency process, from
And noise reduction is carried out to voice signal, obtain noise-reduced speech signal.
Here, main MIC and auxiliary MIC signal are sent to audio-frequency module progress audio frequency process simultaneously to specifically include:
Signal enhanced processing is carried out to the voice signal and the ambient noise signal;
According to the ambient noise signal, the noise signal in the voice signal is eliminated, obtains simulating reducing noise of voice letter
Number;
Analog-to-digital conversion is carried out to the simulation noise-reduced speech signal, obtains digital noise reduction voice signal.
In the embodiment of the present invention, at the end of terminal call, the main MIC and auxiliary MIC is closed, so that
Terminal MIC (auxiliary MIC) realizes normal work.
Fig. 5 is the structure composition schematic diagram of the terminal of the embodiment of the present invention three, as shown in figure 5, the terminal includes:
Detection module 51, whether it is connected for test earphone with terminal, and whether detection terminal is in talking state;
Setup module 52, for when detecting that earphone is connected with terminal, and when the terminal is in talking state, it will locate
Set in the earphone MIC of working condition as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;
Acquisition module 53, for being made an uproar using the main MIC collections voice signal, and using the auxiliary MIC collections environment
Acoustical signal;
Audio-frequency module 54, for carrying out audio frequency process to the voice signal and the ambient noise signal, dropped
Noisy speech signal.
It will be appreciated by those skilled in the art that each module in terminal shown in Fig. 5 realizes that function can refer to foregoing drop
The associated description of method for de-noising and understand.
Fig. 6 is the structure composition schematic diagram of the terminal of the embodiment of the present invention four, as shown in fig. 6, the terminal includes:
Detection module 61, whether it is connected for test earphone with terminal, and whether detection terminal is in talking state;
Setup module 62, for when detecting that earphone is connected with terminal, and when the terminal is in talking state, it will locate
Set in the earphone MIC of working condition as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;
Acquisition module 63, for being made an uproar using the main MIC collections voice signal, and using the auxiliary MIC collections environment
Acoustical signal;
Audio-frequency module 64, for carrying out audio frequency process to the voice signal and the ambient noise signal, dropped
Noisy speech signal.
The detection module 61, is additionally operable to whether test earphone is inserted into terminal;Or using bluetooth test earphone whether
It is connected with terminal.
The detection module 61 includes:
First detection sub-module 611, whether the detection pin for test earphone socket is become by low level turns to high level,
When the detection pin of earphone socket is become by low level turns to high level, determine that earphone is inserted into terminal;
Second detection sub-module 612, whether the MIC pins for test earphone socket are become by low level turns to high level,
When the MIC pins of earphone socket are become by low level turns to high level, determine that terminal is in talking state.
The audio-frequency module 64 includes:
Signal amplifies submodule 641, for carrying out signal amplification to the voice signal and the ambient noise signal
Processing;
Noise reduction submodule 642, for according to the ambient noise signal, eliminating the noise signal in the voice signal,
Obtain simulating noise-reduced speech signal;
Analog-to-digital conversion submodule 643, for carrying out analog-to-digital conversion to the simulation noise-reduced speech signal, obtain digital noise reduction
Voice signal.
The terminal also includes:
Closedown module (not shown), at the end of terminal call, closing the main MIC and auxiliary MIC.
It will be appreciated by those skilled in the art that each module in terminal shown in Fig. 6 realizes that function can refer to foregoing drop
The associated description of method for de-noising and understand.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware
Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage
The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of noise-reduction method, it is characterised in that methods described includes:
Whether test earphone is connected with terminal, and whether detection terminal is in talking state;
When detecting that earphone is connected with terminal, and when the terminal is in talking state, by running order earphone wheat
Gram wind MIC is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;
Using the main MIC collections voice signal, and utilize the auxiliary MIC collections ambient noise signal;
Audio frequency process is carried out to the voice signal and the ambient noise signal, obtains noise-reduced speech signal.
2. noise-reduction method according to claim 1, it is characterised in that whether the test earphone is connected with terminal, bag
Include:
Whether test earphone is inserted into terminal;Or
Whether it is connected using bluetooth test earphone with terminal.
3. noise-reduction method according to claim 2, it is characterised in that whether the test earphone is connected with terminal, with
And whether detection terminal is in talking state, including:
Whether the detection pin of test earphone socket is become by low level turns to high level, when the detection pin of earphone socket is by low electricity
When flat change turns to high level, determine that earphone is inserted into terminal;
Whether the MIC pins of test earphone socket are become by low level turns to high level, when the MIC pins of earphone socket are by low level
When change turns to high level, determine that terminal is in talking state.
4. noise-reduction method according to claim 1, it is characterised in that described to be made an uproar to the voice signal and the environment
Acoustical signal carries out audio frequency process, including:
Signal enhanced processing is carried out to the voice signal and the ambient noise signal;
According to the ambient noise signal, the noise signal in the voice signal is eliminated, obtains simulating noise-reduced speech signal;
Analog-to-digital conversion is carried out to the simulation noise-reduced speech signal, obtains digital noise reduction voice signal.
5. according to the noise-reduction method described in any one of Claims 1-4, it is characterised in that methods described also includes:
At the end of terminal call, the main MIC and auxiliary MIC is closed.
6. a kind of terminal, it is characterised in that the terminal includes:
Detection module, whether it is connected for test earphone with terminal, and whether detection terminal is in talking state;
Setup module, for when detecting that earphone is connected with terminal, and when the terminal is in talking state, work will be in
The earphone MIC of state is set as main MIC;And activated terminals MIC, by the terminal MIC set supplemented by MIC;
Acquisition module, for gathering ambient noise signal using the main MIC collections voice signal, and using the auxiliary MIC;
Audio-frequency module, for carrying out audio frequency process to the voice signal and the ambient noise signal, obtain reducing noise of voice
Signal.
7. terminal according to claim 6, it is characterised in that the detection module, be additionally operable to whether test earphone inserts
To terminal;Or whether it is connected using bluetooth test earphone with terminal.
8. terminal according to claim 7, it is characterised in that the detection module includes:
First detection sub-module, whether the detection pin for test earphone socket is become by low level turns to high level, works as earphone
When the detection pin of socket turns to high level by low level change, determine that earphone is inserted into terminal;
Second detection sub-module, whether the MIC pins for test earphone socket are become by low level turns to high level, when earphone is inserted
When the MIC pins of seat turn to high level by low level change, determine that terminal is in talking state.
9. terminal according to claim 6, it is characterised in that the audio-frequency module includes:
Signal amplifies submodule, for carrying out signal enhanced processing to the voice signal and the ambient noise signal;
Noise reduction submodule, for according to the ambient noise signal, eliminating the noise signal in the voice signal, being simulated
Noise-reduced speech signal;
Analog-to-digital conversion submodule, for carrying out analog-to-digital conversion to the simulation noise-reduced speech signal, obtain digital noise reduction voice letter
Number.
10. according to the terminal described in any one of claim 6 to 9, it is characterised in that the terminal also includes:
Closedown module, at the end of terminal call, closing the main MIC and auxiliary MIC.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610589385.9A CN107659864A (en) | 2016-07-25 | 2016-07-25 | A kind of noise-reduction method and terminal |
PCT/CN2016/105309 WO2018018782A1 (en) | 2016-07-25 | 2016-11-10 | Noise reduction method, terminal, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610589385.9A CN107659864A (en) | 2016-07-25 | 2016-07-25 | A kind of noise-reduction method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107659864A true CN107659864A (en) | 2018-02-02 |
Family
ID=61015411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610589385.9A Pending CN107659864A (en) | 2016-07-25 | 2016-07-25 | A kind of noise-reduction method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107659864A (en) |
WO (1) | WO2018018782A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924352A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | Sound quality method for improving, terminal and computer readable storage medium |
CN109327592A (en) * | 2018-11-07 | 2019-02-12 | Oppo广东移动通信有限公司 | A kind of call control method, device and computer storage medium |
CN113542960A (en) * | 2021-07-13 | 2021-10-22 | RealMe重庆移动通信有限公司 | Audio signal processing method, system, device, electronic equipment and storage medium |
CN114268820A (en) * | 2021-12-20 | 2022-04-01 | 歌尔科技有限公司 | Barrage sending method based on Bluetooth headset, equipment and medium |
CN114268820B (en) * | 2021-12-20 | 2024-04-30 | 歌尔科技有限公司 | Barrage sending method based on Bluetooth headset, equipment and medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9717816D0 (en) * | 1997-08-21 | 1997-10-29 | Sec Dep For Transport The | Telephone handset noise supression |
CN101420491A (en) * | 2008-11-24 | 2009-04-29 | 深圳华为通信技术有限公司 | Method, apparatus and controller for ear microphone denoising |
CN102368793B (en) * | 2011-10-12 | 2014-03-19 | 惠州Tcl移动通信有限公司 | Cell phone and conversation signal processing method thereof |
CN104333630A (en) * | 2013-12-31 | 2015-02-04 | 广州三星通信技术研究有限公司 | Mobile phone having wireless earphone embedded therein |
CN105530587A (en) * | 2016-01-26 | 2016-04-27 | 上海斐讯数据通信技术有限公司 | Test system and method for earphone insertion detection of mobile terminal |
-
2016
- 2016-07-25 CN CN201610589385.9A patent/CN107659864A/en active Pending
- 2016-11-10 WO PCT/CN2016/105309 patent/WO2018018782A1/en active Application Filing
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924352A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | Sound quality method for improving, terminal and computer readable storage medium |
CN109327592A (en) * | 2018-11-07 | 2019-02-12 | Oppo广东移动通信有限公司 | A kind of call control method, device and computer storage medium |
CN113542960A (en) * | 2021-07-13 | 2021-10-22 | RealMe重庆移动通信有限公司 | Audio signal processing method, system, device, electronic equipment and storage medium |
WO2023284402A1 (en) * | 2021-07-13 | 2023-01-19 | RealMe重庆移动通信有限公司 | Audio signal processing method, system, and apparatus, electronic device, and storage medium |
CN113542960B (en) * | 2021-07-13 | 2023-07-14 | RealMe重庆移动通信有限公司 | Audio signal processing method, system, device, electronic equipment and storage medium |
CN114268820A (en) * | 2021-12-20 | 2022-04-01 | 歌尔科技有限公司 | Barrage sending method based on Bluetooth headset, equipment and medium |
CN114268820B (en) * | 2021-12-20 | 2024-04-30 | 歌尔科技有限公司 | Barrage sending method based on Bluetooth headset, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018018782A1 (en) | 2018-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103491251A (en) | Method and terminal for monitoring user calls | |
US20140330562A1 (en) | Method and Apparatus for Obtaining Information from the Web | |
CN105049977A (en) | Automatic earphone volume adjusting method and device | |
CN106664471A (en) | Ear pressure sensors integrated with speakers for smart sound level exposure | |
CN103260124B (en) | The audio testing method of mobile terminal and test macro thereof | |
CN107454248A (en) | A kind of acoustic signal processing method, device and mobile terminal | |
CN106448665A (en) | Voice processing device and method | |
CN107360332A (en) | Talking state display methods, device, mobile terminal and storage medium | |
CN107659864A (en) | A kind of noise-reduction method and terminal | |
CN108282575A (en) | Method for controlling volume, mobile terminal and computer readable storage medium | |
CN109901980A (en) | Serial ports log grabs circuit, method, terminal and computer readable storage medium | |
CN109729475A (en) | Charging bluetooth earphone method, circuit, terminal and computer readable storage medium | |
CN108200267A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN107295140A (en) | A kind of detection method of earphone, device and terminal | |
CN110012172A (en) | A kind of processing incoming call and terminal equipment | |
CN108462763A (en) | Noise reduction terminal and noise-reduction method | |
CN108337353A (en) | The audio signal processing method and equipment of communication equipment | |
CN102638756A (en) | Mobile terminal voice frequency test method, test device and mobile terminal | |
CN105308939B (en) | Reduced acoustics coupling | |
CN107613446A (en) | A kind of detection method for preventing microphone whistle, mobile terminal and storage medium | |
CN106126166B (en) | A kind of method and terminal of audio effect processing | |
CN108154886A (en) | Noise suppressing method and device, electronic device and computer readable storage medium | |
CN107728990A (en) | A kind of audio frequency playing method, mobile terminal and computer-readable recording medium | |
CN107580102A (en) | Earphone and the method for earphone recording | |
CN107454265A (en) | Change the method and device of record call-information based on call mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180202 |
|
WD01 | Invention patent application deemed withdrawn after publication |