CN107040637A - Eliminate method, mobile terminal and the computer-readable recording medium of current sound - Google Patents

Eliminate method, mobile terminal and the computer-readable recording medium of current sound Download PDF

Info

Publication number
CN107040637A
CN107040637A CN201710422811.4A CN201710422811A CN107040637A CN 107040637 A CN107040637 A CN 107040637A CN 201710422811 A CN201710422811 A CN 201710422811A CN 107040637 A CN107040637 A CN 107040637A
Authority
CN
China
Prior art keywords
mobile terminal
audio signal
current sound
signal segment
bandpass filter
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.)
Withdrawn
Application number
CN201710422811.4A
Other languages
Chinese (zh)
Inventor
王渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710422811.4A priority Critical patent/CN107040637A/en
Publication of CN107040637A publication Critical patent/CN107040637A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • G10L21/0232Processing in the frequency domain

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method for eliminating current sound, this method includes:Interception mobile terminal is without the audio signal segment spoken under talking state;Spectrum analysis is carried out to the audio signal segment, detects whether the amplitude of the audio signal of predeterminated frequency section in the audio signal segment exceedes predetermined threshold value;If so, then setting the filtering parameter of the mobile terminal bandpass filter according to predeterminated frequency section, the amplitude and the predetermined threshold value;In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and inverse filtering processing is carried out to the audio signal of the mobile terminal according to the filtering parameter of setting.The invention also discloses a kind of mobile terminal and a kind of computer-readable recording medium.The present invention can solve the problem that the current sound that mobile terminal is produced in communication process influences the technical problem of user's communication quality.

Description

Eliminate method, mobile terminal and the computer-readable recording medium of current sound
Technical field
The present invention relates to technical field of mobile terminals, more particularly to eliminate method, mobile terminal and the computer of current sound Readable storage medium storing program for executing.
Background technology
With the popularization of the mobile terminals such as mobile phone, people are frequently conversed using mobile phone, in communication process, due to GSM (Global System for Mobile Communication, global system for mobile communications) mobile phone radio frequency transmitter module Power amplifier have within every 1/216.8 second one transmitting signal produce, power amplifier to transmitting signal amplification process mistake Cheng Zhonghui produces envelope noise, and 216.8Hz is strictly to fall in the audible scope of human ear, in the wink made a phone call or sent a telegram here Between, user hear sometimes buzz or fizz, here it is current sound.The presence of current sound has had a strong impact on the call of user Quality, although at present can by the bread of handset audio cabling four by way of reduce Radio frequency interference, but this mode is still Current sound can not be completely eliminated.
The content of the invention
It is a primary object of the present invention to propose a kind of method, mobile terminal and computer-readable storage for eliminating current sound Medium, it is intended to solve the technical problem for the current sound influence user's communication quality that mobile terminal is produced in communication process.
To achieve the above object, the present invention provides a kind of method for eliminating current sound, the method bag of the elimination current sound Include following steps:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the audio signal of predeterminated frequency section in the audio signal segment is detected Amplitude whether exceed predetermined threshold value;
If so, then setting the mobile terminal band according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of bandpass filter;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering of setting Parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
Alternatively, the interception mobile terminal is also wrapped before the step of without the audio signal segment spoken under talking state Include:
The nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
Alternatively, the interception mobile terminal includes the step of without the audio signal segment spoken under talking state:
When mobile terminal speaks talking state in nothing, the mobile terminal is adjusted to maximum In Call;
Intercept audio signal segment of the mobile terminal under the maximum In Call state.
Alternatively, it is described to set described mobile whole according to predeterminated frequency section, the amplitude and the predetermined threshold value The step of filtering parameter for holding bandpass filter, includes:
Using the predeterminated frequency section as the bandpass filter frequency filtering section;
Calculate the difference of the amplitude and the predetermined threshold value, using the difference as the bandpass filter in the filter Reverse attenuation value in wave frequency rate section;
The filtering parameter according to setting carries out inverse filtering processing to the audio signal of the mobile terminal Step includes:
The audio signal of the mobile terminal is reversely filtered according to frequency filtering section and the reverse attenuation value Ripple processing.
Alternatively, the frequency range of the predeterminated frequency section is 210Hz~225Hz or N*210Hz~N*225Hz, wherein N For positive integer.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and the program for being stored in the elimination current sound that can be run on the memory and on the processor, the elimination electricity Following steps are realized when the program of fluid sound is by the computing device:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the audio signal of predeterminated frequency section in the audio signal segment is detected Amplitude whether exceed predetermined threshold value;
If so, then setting the mobile terminal band according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of bandpass filter;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering of setting Parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
Alternatively, it is described eliminate current sound program by the computing device when also realize following steps:
The nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
Alternatively, it is described eliminate current sound program by the computing device when also realize following steps:
When mobile terminal speaks talking state in nothing, the mobile terminal is adjusted to maximum In Call;
Intercept audio signal segment of the mobile terminal under the maximum In Call state.
Alternatively, it is described eliminate current sound program by the computing device when also realize following steps:
Using the predeterminated frequency section as the bandpass filter frequency filtering section;
Calculate the difference of the amplitude and the predetermined threshold value, using the difference as the bandpass filter in the filter Reverse attenuation value in wave frequency rate section;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to frequency filtering section Inverse filtering processing is carried out to the audio signal of the mobile terminal with the reverse attenuation value.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable It is stored with storage medium and eliminates the program of current sound, following step is realized when the program of the elimination current sound is executed by processor Suddenly:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the audio signal of predeterminated frequency section in the audio signal segment is detected Amplitude whether exceed predetermined threshold value;
If so, then setting the mobile terminal band according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of bandpass filter;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering of setting Parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
Present invention interception mobile terminal is without the audio signal segment spoken under talking state;The audio signal segment is carried out Spectrum analysis, detects whether the amplitude of the audio signal of predeterminated frequency section in the audio signal segment exceedes predetermined threshold value;If so, The filtering of the mobile terminal bandpass filter is then set according to predeterminated frequency section, the amplitude and the predetermined threshold value Parameter;In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering parameter of setting Audio signal to the mobile terminal carries out inverse filtering processing.The present invention by mobile terminal without speaking talking state Under audio signal carry out spectrum analysis, according to analysis result set bandpass filter filtering parameter, so as to subsequently converse During, need to only enable bandpass filter can just eliminate current sound to the audio signal progress bandpass filtering of mobile terminal, carry The speech quality of high user.
Brief description of the drawings
Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 eliminates the schematic flow sheet of the method first embodiment of current sound for the present invention;
Fig. 3 eliminates the schematic flow sheet of the method second embodiment of current sound for the present invention;
Fig. 4 eliminates the schematic flow sheet of the method 3rd embodiment of current sound for the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:Interception mobile terminal is without the audio signal spoken under talking state Section;Spectrum analysis is carried out to the audio signal segment, the width of the audio signal of predeterminated frequency section in the audio signal segment is detected Whether value exceedes predetermined threshold value;If so, then according to being set predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of mobile terminal bandpass filter;In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, And inverse filtering processing is carried out to the audio signal of the mobile terminal according to the filtering parameter of setting.
In the prior art, the presence of current sound has had a strong impact on the speech quality of user, although at present can be by by hand The mode on the bread ground of machine audio cabling four reduces Radio frequency interference, but current sound can not be still completely eliminated in this mode.
The present invention without the audio signal spoken under talking state to mobile terminal by carrying out spectrum analysis, according to analysis As a result the filtering parameter of bandpass filter is set, so as in follow-up communication process, need to only enable bandpass filter to mobile whole The audio signal at end, which carries out bandpass filtering, can just eliminate current sound, improve the speech quality of user.
The present invention provides a kind of method for eliminating current sound.
As shown in figure 1, Fig. 1 is the device structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Mobile terminal of the embodiment of the present invention can be that smart mobile phone, tablet personal computer, pocket computer etc. have call function Packaged type terminal device.
As shown in figure 1, the mobile terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
In addition, the mobile terminal also includes RF (Radio Frequency, radio frequency) circuits and voicefrequency circuit, alternatively, should Mobile terminal can also include sensor, camera, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion-sensing Device and other sensors.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light is passed Sensor can adjust the brightness of display screen according to the light and shade of ambient light, and proximity transducer can be moved in one's ear in mobile terminal When, close display screen and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions The size of (generally three axles) acceleration, can detect that size and the direction of gravity, available for identification mobile terminal appearance when static The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of state, Vibration identification correlation function (such as pedometer, Tap) etc.;Certainly, mobile terminal can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray sensor etc. other biography Sensor, will not be repeated here.
It will be understood by those skilled in the art that the restriction of the device structure shown in Fig. 1 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, leading to as operating system, network can be included in a kind of memory 1005 of computer-readable storage medium Believe module, Subscriber Interface Module SIM and the program for eliminating current sound.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server Data communication;User interface 1003 is mainly used in connection client (user terminal), and row data communication is entered with client;And processor 1001 can be used for the program that enables the elimination current sound stored in memory 1005, and perform following operate:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the audio signal of predeterminated frequency section in the audio signal segment is detected Amplitude whether exceed predetermined threshold value;
If so, then setting the mobile terminal band according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of bandpass filter;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering of setting Parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
Further, processor 1001 can enable the program of the elimination current sound stored in memory 1005, also perform Operate below:
The nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
Further, processor 1001 can enable the program of the elimination current sound stored in memory 1005, also perform Operate below:
When mobile terminal speaks talking state in nothing, the mobile terminal is adjusted to maximum In Call;
Intercept audio signal segment of the mobile terminal under the maximum In Call state.
Further, processor 1001 can enable the program of the elimination current sound stored in memory 1005, also perform Operate below:
Using the predeterminated frequency section as the bandpass filter frequency filtering section;
Calculate the difference of the amplitude and the predetermined threshold value, using the difference as the bandpass filter in the filter Reverse attenuation value in wave frequency rate section;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to frequency filtering section Inverse filtering processing is carried out to the audio signal of the mobile terminal with the reverse attenuation value.
Further, the frequency range of the predeterminated frequency section is 210Hz~225Hz or N*210Hz~N*225Hz, its Middle N is positive integer.
Based on above-mentioned hardware configuration, propose that the present invention eliminates the embodiment of the method for current sound.
Reference picture 2, Fig. 2 eliminates the schematic flow sheet of the method first embodiment of current sound, methods described bag for the present invention Include:
Step S10, interception mobile terminal is without the audio signal segment spoken under talking state;
In the present embodiment, mobile terminal can be that smart mobile phone, tablet personal computer, pocket computer etc. have call function Packaged type terminal device.Illustrated by taking smart mobile phone as an example, the application scenarios of this implementation can be:Mobile phone is dispatching from the factory Before, tester chooses a model machine and the current sound that it is produced in communication process is detected, specifically, tester can Mobile phone is set to enter without speaking talking state to put through any phone number, now mobile phone will be sent out radio frequency with a fixed frequency Signal, and radio circuit will produce envelope noise, i.e. current sound.
Mobile terminal can pass through DSP (Digital Signal Processing, Digital Signal Processing) module intercepts sheet Machine is without the audio signal segment spoken under talking state, and the audio signal segment is mobile phone in the preset duration after connecting phone Audio signal segment, the length of the audio signal segment of interception can flexibly be set according to actual needs.
Step S20, spectrum analysis is carried out to the audio signal segment, detects predeterminated frequency section in the audio signal segment Whether the amplitude of audio signal exceedes predetermined threshold value;
After being truncated to without the audio signal segment spoken under talking state, mobile terminal enters to the audio signal segment of interception Whether the amplitude of the audio signal of predeterminated frequency section exceedes predetermined threshold value in line frequency analysis of spectrum, detection audio signal segment.
Wherein, mobile terminal in the frequency band that predeterminated frequency section is launched for radiofrequency signal of mobile terminal, tranmitting frequency section Very likely produce current sound.Predeterminated frequency section speech path network can flexibly be set according to used in mobile terminal, than Such as current mobile phone communication generally uses GSM network, according to GSM network agreement, the power amplifier at mobile phone radio frequency transmitter module end Produced every about a transmitting signal is had within 1/216.8 second, then predeterminated frequency section can be arranged near 216.8Hz and including 216.8Hz。
In one embodiment, the frequency range of predeterminated frequency section is 210Hz~225Hz or N*210Hz~N*225Hz, its Middle N is positive integer.
Under GSM network, current sound is the noise of a fixed frequency, and frequency is 216.8Hz or 216.8Hz integer Times.The form of expression of the current sound in audio signal is one crest of generation about between 210Hz~225Hz, in 216.8Hz When peak, or between N*210Hz~N*225Hz produce a crest.Therefore, detected according to the characteristics of the current sound The audio signal segment being truncated to, improves the accuracy and efficiency of detection current sound.
In predeterminated frequency section, due to the presence of current sound, the audio signal segment of mobile terminal will be a crest, mobile whole End detects whether the amplitude of the crest exceedes predetermined threshold value, wherein, what amplitude thresholds can be required tonequality according to different vendor Difference is flexibly set, such as when tonequality requires higher, amplitude thresholds can be configured into smaller, tonequality is required into relatively low When, amplitude thresholds can be configured larger.
If the amplitude of the audio signal of predeterminated frequency section is not less than predetermined threshold value in audio signal segment, judge mobile whole The current sound at end is in tonequality allowed band.
Step S30, if the amplitude of the audio signal of predeterminated frequency section exceedes predetermined threshold value, root in the audio signal segment The filtering ginseng of the mobile terminal bandpass filter is set according to predeterminated frequency section, the amplitude and the predetermined threshold value Number;
If the amplitude of the audio signal of predeterminated frequency section exceedes predetermined threshold value in audio signal segment, illustrate mobile terminal Current sound exceed allowed band, now, mobile terminal according to predeterminated frequency section, predeterminated frequency section in audio signal amplitude and Default amplitude thresholds set the filtering parameter of bandpass filter.
Bandpass filter is that the ripple of a permission special frequency channel passes through while the device of other frequency ranges is shielded, for mobile phone Speech, bandpass filter is typically integrated on cell phone mainboard.In the present embodiment, the filtering parameter of bandpass filter at least includes filtering Reverse attenuation value on frequency band and frequency filtering section, as a kind of embodiment, can regard above-mentioned predeterminated frequency section as band logical The frequency filtering section of wave filter, and it regard the amplitude of audio signal in predeterminated frequency section and the difference of default amplitude thresholds as the filter Wave frequency rate section on reverse attenuation value, it is of course also possible to not using above-mentioned predeterminated frequency section as bandpass filter frequency filtering Section, such as, the first band boundary value and the second frequency in predeterminated frequency section corresponding to the crest of audio signal can be obtained respectively Band boundary value, wherein, first band boundary value is less than second band boundary value, then by first band boundary value and second band Frequency band between boundary value can flexibly be set as the frequency filtering section of bandpass filter during specific implementation.
Step S40, in the follow-up communication process of the mobile terminal, enables the bandpass filter, and according to setting The filtering parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
The filtering parameter of the bandpass filter of setting is stored in DSP module by mobile terminal, is subsequently led in mobile terminal During words, DSP module will enable bandpass filter according to the filtering parameter of preservation, to be carried out to the audio signal of mobile terminal Inverse filtering is handled.Specifically, bandpass filter can be made reversely to decline according to filtering parameter to the audio signal in frequency filtering section Subtract processing, thus eliminate current sound.
In the present embodiment, mobile terminal intercepts it without the audio signal segment spoken under talking state;To the audio Signal segment carries out spectrum analysis, detects whether the amplitude of the audio signal of predeterminated frequency section in the audio signal segment exceedes and presets Threshold value;If so, then setting the mobile terminal band logical to filter according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of ripple device;In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the institute of setting State filtering parameter and inverse filtering processing is carried out to the audio signal of the mobile terminal.The present embodiment by mobile terminal in nothing Audio signal under talking state of speaking carries out spectrum analysis, and the filtering parameter of bandpass filter is set according to analysis result, from And in follow-up communication process, need to only enable bandpass filter can just disappear to the audio signal progress bandpass filtering of mobile terminal Except current sound, the speech quality of user is improved.
Further, reference picture 3, Fig. 3 eliminates the schematic flow sheet of the method second embodiment of current sound for the present invention.Base In the embodiment shown in above-mentioned Fig. 2, before step S10, it can also include:
Step S50, the nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
In the present embodiment, for the current sound of detection mobile terminal, the nothing that can be set up between mobile terminal and GSM comprehensive test instruments Call of speaking is linked, wherein, GSM comprehensive test instruments are used for anolog base station and mobile terminal sets up communication connection, common GSM comprehensive test instruments Model includes Amway 8820, Agilent 8960, R&SCMW500 etc..Comprehensive test instrument has emission of radio frequency signals/receiving port, is moving When dynamic terminal is in talking state, comprehensive test instrument receives the transmission signal of mobile terminal radio frequency transmitter module, and transmitting action can be by Mobile terminal self is triggered, and can also be sent trigger signal by outside control computer or comprehensive test instrument and be given the mobile terminal, should Mobile terminal, which is received, to be kept talking state and launches radiofrequency signal after trigger signal.
Because current most mobile terminals are all conversed using gsm protocol, therefore, mobile terminal and GSM are set up Nothing between comprehensive test instrument is spoken call link, is capable of the speech path network and talking state of true simulating mobile terminal, so that after being It is continuous that premise is provided in the detection without the audio signal segment spoken under talking state to mobile terminal.
Further, reference picture 4, Fig. 4 eliminates the schematic flow sheet of the method 3rd embodiment of current sound for the present invention.Base In the embodiment shown in above-mentioned Fig. 2, step S10 can include:
Step S11, when mobile terminal speaks talking state in nothing, maximum conversation voice is adjusted to by the mobile terminal Amount;
Step S12, intercepts audio signal segment of the mobile terminal under the maximum In Call state.
For mobile terminal, general In Call is bigger, and current sound is bigger, in the present embodiment, can be mobile whole End be in without speak talking state when, the mobile terminal is adjusted to maximum In Call, and then the movement is intercepted by DSP module Audio signal segment of the terminal under maximum In Call state, in this way, the audio signal segment will represent that mobile terminal may be produced Raw maximum current sound, so as to the talking state of more true reflection mobile terminal, improves the accuracy of current sound detection.
Further, the method 3rd embodiment of current sound is eliminated based on the present invention, proposes that the present invention eliminates current sound Method fourth embodiment.In the present embodiment, step S30 can include:
Step S31, using the predeterminated frequency section as the bandpass filter frequency filtering section;
Step S32, calculates the difference of the amplitude and the predetermined threshold value, regard the difference as the bandpass filter Reverse attenuation value in frequency filtering section;
The now described filtering parameter according to setting is carried out at inverse filtering to the audio signal of the mobile terminal The step of reason, can include:The audio signal of the mobile terminal is entered according to frequency filtering section and the reverse attenuation value Row inverse filtering is handled.
In the present embodiment, the filtering parameter of bandpass filter includes reversely declining in frequency filtering section and frequency filtering section Depreciation.Specifically, then mobile terminal can calculate the default frequency using predeterminated frequency section as the frequency filtering section of bandpass filter Rate section in audio signal amplitude and the difference of default amplitude thresholds, using the difference as bandpass filter frequency filtering section on Reverse attenuation value.
Such as, in predeterminated frequency section 210Hz~225Hz, the amplitude of audio signal is B, and default amplitude thresholds are C, And B > C, now using B-C as bandpass filter frequency filtering section 210Hz~225Hz on reverse attenuation value.
Reverse attenuation value in above-mentioned frequency filtering section and frequency filtering section is stored in DSP module by mobile terminal, In follow-up communication process, DSP module calls bandpass filter and keeps bandpass filter in running order, so that bandpass filtering Device carries out reverse attenuation processing according to the frequency filtering section and reverse attenuation value of setting to the audio signal of mobile terminal, thus disappears Except the current sound of frequency filtering section.
The present invention also provides a kind of mobile terminal.
Mobile terminal of the present invention includes:Memory, processor and it is stored on the memory and can be in the processor The program of the elimination current sound of upper operation, the program of the elimination current sound is realized lower step during the computing device:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the audio signal of predeterminated frequency section in the audio signal segment is detected Amplitude whether exceed predetermined threshold value;
If so, then setting the mobile terminal band according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of bandpass filter;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering of setting Parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
Further, the program for eliminating current sound is also realized lower step during the computing device:
The nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
Further, the program for eliminating current sound is also realized lower step during the computing device:
When mobile terminal speaks talking state in nothing, the mobile terminal is adjusted to maximum In Call;
Intercept audio signal segment of the mobile terminal under the maximum In Call state.
Further, the program for eliminating current sound is also realized lower step during the computing device:
Using the predeterminated frequency section as the bandpass filter frequency filtering section;
Calculate the difference of the amplitude and the predetermined threshold value, using the difference as the bandpass filter in the filter Reverse attenuation value in wave frequency rate section;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to frequency filtering section Inverse filtering processing is carried out to the audio signal of the mobile terminal with the reverse attenuation value.
Wherein, the method that the program for the elimination current sound run on the processor is realized when being performed can refer to this Invention eliminates the embodiment of the method for current sound, and here is omitted.
The present invention also provides a kind of computer-readable recording medium.
It is stored with computer-readable recording medium of the present invention and eliminates the program of current sound, the program of the elimination current sound Following steps are realized when being executed by processor:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the audio signal of predeterminated frequency section in the audio signal segment is detected Amplitude whether exceed predetermined threshold value;
If so, then setting the mobile terminal band according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of bandpass filter;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering of setting Parameter carries out inverse filtering processing to the audio signal of the mobile terminal.
Wherein, the method that the program for the elimination current sound run on the processor is realized when being performed can refer to this Invention eliminates the embodiment of the method for current sound, and here is omitted.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method for eliminating current sound, it is characterised in that the method for the elimination current sound comprises the following steps:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the width of the audio signal of predeterminated frequency section in the audio signal segment is detected Whether value exceedes predetermined threshold value;
If so, then setting the mobile terminal band logical to filter according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of ripple device;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering parameter of setting Audio signal to the mobile terminal carries out inverse filtering processing.
2. the method for current sound is eliminated as claimed in claim 1, it is characterised in that the interception mobile terminal is without call of speaking Before the step of audio signal segment under state, in addition to:
The nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
3. current sound method is eliminated as claimed in claim 1, it is characterised in that the interception mobile terminal is without call of speaking The step of audio signal segment under state, includes:
When mobile terminal speaks talking state in nothing, the mobile terminal is adjusted to maximum In Call;
Intercept audio signal segment of the mobile terminal under the maximum In Call state.
4. as claimed in claim 3 eliminate current sound method, it is characterised in that it is described according to the predeterminated frequency section, it is described The step of amplitude and the predetermined threshold value set the filtering parameter of the mobile terminal bandpass filter includes:
Using the predeterminated frequency section as the bandpass filter frequency filtering section;
The difference of the amplitude and the predetermined threshold value is calculated, the difference is filtered into frequency as the bandpass filter described Reverse attenuation value in rate section;
The step of filtering parameter according to setting carries out inverse filtering processing to the audio signal of the mobile terminal Including:
The audio signal of the mobile terminal is carried out at inverse filtering according to frequency filtering section and the reverse attenuation value Reason.
5. the elimination current sound method as any one of Claims 1-4, it is characterised in that the predeterminated frequency section Frequency range is 210Hz~225Hz or N*210Hz~N*225Hz, and wherein N is positive integer.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the program of elimination current sound that can run on the processor, the program of the elimination current sound is by the processor Following steps are realized during execution:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the width of the audio signal of predeterminated frequency section in the audio signal segment is detected Whether value exceedes predetermined threshold value;
If so, then setting the mobile terminal band logical to filter according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of ripple device;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering parameter of setting Audio signal to the mobile terminal carries out inverse filtering processing.
7. mobile terminal as claimed in claim 6, it is characterised in that the program of the elimination current sound is held by the processor Following steps are also realized during row:
The nothing set up between mobile terminal and GSM comprehensive test instruments is spoken to converse and linked.
8. mobile terminal as claimed in claim 6, it is characterised in that the program of the elimination current sound is held by the processor Following steps are also realized during row:
When mobile terminal speaks talking state in nothing, the mobile terminal is adjusted to maximum In Call;
Intercept audio signal segment of the mobile terminal under the maximum In Call state.
9. mobile terminal as claimed in claim 8, it is characterised in that the program of the elimination current sound is held by the processor Following steps are also realized during row:
Using the predeterminated frequency section as the bandpass filter frequency filtering section;
The difference of the amplitude and the predetermined threshold value is calculated, the difference is filtered into frequency as the bandpass filter described Reverse attenuation value in rate section;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to frequency filtering section and institute State reverse attenuation value and inverse filtering processing is carried out to the audio signal of the mobile terminal.
10. a kind of computer-readable recording medium, it is characterised in that be stored with elimination electricity on the computer-readable recording medium The program of fluid sound, the program of the elimination current sound realizes following steps when being executed by processor:
Interception mobile terminal is without the audio signal segment spoken under talking state;
Spectrum analysis is carried out to the audio signal segment, the width of the audio signal of predeterminated frequency section in the audio signal segment is detected Whether value exceedes predetermined threshold value;
If so, then setting the mobile terminal band logical to filter according to predeterminated frequency section, the amplitude and the predetermined threshold value The filtering parameter of ripple device;
In the follow-up communication process of the mobile terminal, the bandpass filter is enabled, and according to the filtering parameter of setting Audio signal to the mobile terminal carries out inverse filtering processing.
CN201710422811.4A 2017-06-06 2017-06-06 Eliminate method, mobile terminal and the computer-readable recording medium of current sound Withdrawn CN107040637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710422811.4A CN107040637A (en) 2017-06-06 2017-06-06 Eliminate method, mobile terminal and the computer-readable recording medium of current sound

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710422811.4A CN107040637A (en) 2017-06-06 2017-06-06 Eliminate method, mobile terminal and the computer-readable recording medium of current sound

Publications (1)

Publication Number Publication Date
CN107040637A true CN107040637A (en) 2017-08-11

Family

ID=59541498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710422811.4A Withdrawn CN107040637A (en) 2017-06-06 2017-06-06 Eliminate method, mobile terminal and the computer-readable recording medium of current sound

Country Status (1)

Country Link
CN (1) CN107040637A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660903A (en) * 2019-01-14 2019-04-19 安凯(广州)微电子技术有限公司 A kind of earphone pop sound removing method, system and device
CN110120226A (en) * 2018-02-06 2019-08-13 成都鼎桥通信技术有限公司 A kind of private network colony terminal voice tail is made an uproar removing method and equipment
CN110896420A (en) * 2018-09-12 2020-03-20 中兴通讯股份有限公司 Current sound eliminating method and device and storage medium
CN114286258A (en) * 2021-12-23 2022-04-05 歌尔科技有限公司 Current sound eliminating method and device, earphone and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090225999A1 (en) * 2008-03-05 2009-09-10 Neofidelity, Inc. Method for cancelling TDD noise and stereo headphone employing the same
CN103077727A (en) * 2013-01-04 2013-05-01 华为技术有限公司 Method and device used for speech quality monitoring and prompting
CN103607489A (en) * 2013-11-28 2014-02-26 小米科技有限责任公司 Method, device and terminal device for eliminating current sound

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090225999A1 (en) * 2008-03-05 2009-09-10 Neofidelity, Inc. Method for cancelling TDD noise and stereo headphone employing the same
CN103077727A (en) * 2013-01-04 2013-05-01 华为技术有限公司 Method and device used for speech quality monitoring and prompting
CN103607489A (en) * 2013-11-28 2014-02-26 小米科技有限责任公司 Method, device and terminal device for eliminating current sound

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120226A (en) * 2018-02-06 2019-08-13 成都鼎桥通信技术有限公司 A kind of private network colony terminal voice tail is made an uproar removing method and equipment
CN110896420A (en) * 2018-09-12 2020-03-20 中兴通讯股份有限公司 Current sound eliminating method and device and storage medium
CN110896420B (en) * 2018-09-12 2022-06-21 中兴通讯股份有限公司 Current sound eliminating method and device and storage medium
CN109660903A (en) * 2019-01-14 2019-04-19 安凯(广州)微电子技术有限公司 A kind of earphone pop sound removing method, system and device
CN109660903B (en) * 2019-01-14 2020-06-30 安凯(广州)微电子技术有限公司 Earphone pop sound elimination method, system and device
CN114286258A (en) * 2021-12-23 2022-04-05 歌尔科技有限公司 Current sound eliminating method and device, earphone and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10924614B2 (en) Speech signal processing method and apparatus
CN107040637A (en) Eliminate method, mobile terminal and the computer-readable recording medium of current sound
CN108551411A (en) Collecting method, mobile terminal and computer readable storage medium
CN108391190B (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN108234766A (en) Microphone switching method, mobile terminal and computer readable storage medium
CN108512625A (en) Anti-interference method, mobile terminal and the storage medium of camera
CN108200267A (en) A kind of terminal control method, terminal and computer readable storage medium
CN109842725A (en) A kind of method for controlling volume of mobile terminal, mobile terminal and storage medium
CN108879842A (en) Charge control method, mobile terminal and computer readable storage medium
CN108958695A (en) Audio-frequency inputting method, device and computer readable storage medium
CN108492837B (en) Method, device and storage medium for detecting audio burst white noise
CN108600680A (en) Method for processing video frequency, terminal and computer readable storage medium
CN107016990B (en) Audio signal generation method and device
CN111182118B (en) Volume adjusting method and electronic equipment
CN108600489A (en) Receiver, the calibration method of loud speaker, mobile terminal and readable storage medium storing program for executing
CN108600513A (en) A kind of record screen control method, equipment and computer readable storage medium
CN108259233A (en) Graphics processor GPU method for parameter configuration and mobile terminal in a kind of mobile terminal
CN107659864A (en) A kind of noise-reduction method and terminal
CN110636530B (en) Method for processing adjacent channel interference and terminal equipment
CN108063863A (en) A kind of information browsing method, terminal, server and computer readable storage medium
CN107491709A (en) A kind of recognition methods of code figure, terminal and computer-readable recording medium
CN107728990B (en) Audio playing method, mobile terminal and computer readable storage medium
CN110166615A (en) Automatically switch method, apparatus, terminal and the storage medium in call uplink signal source
CN106776083B (en) Test control method and device and terminal equipment
CN109561221A (en) A kind of call control method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170811

WW01 Invention patent application withdrawn after publication