CN103607489A - Method, device and terminal device for eliminating current sound - Google Patents

Method, device and terminal device for eliminating current sound Download PDF

Info

Publication number
CN103607489A
CN103607489A CN201310626075.6A CN201310626075A CN103607489A CN 103607489 A CN103607489 A CN 103607489A CN 201310626075 A CN201310626075 A CN 201310626075A CN 103607489 A CN103607489 A CN 103607489A
Authority
CN
China
Prior art keywords
audio signal
current sound
electric current
amplitude
preset value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310626075.6A
Other languages
Chinese (zh)
Other versions
CN103607489B (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310626075.6A priority Critical patent/CN103607489B/en
Publication of CN103607489A publication Critical patent/CN103607489A/en
Application granted granted Critical
Publication of CN103607489B publication Critical patent/CN103607489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method, device and terminal device for eliminating current sound. The method comprises the steps that when a call is answered, whether the waveform variation amplitude of received audio signals is beyond a first preset value is detected; when the waveform variation amplitude of the audio signals is beyond the first preset value, the audio signal section which is beyond the first preset value in the waveform variation amplitude is recorded; current sound in the audio signal section is determined according to the audio signal section; current sound in audio signals received after the audio signal section is eliminated according to the current sound. The current sound is monitored and captured in real time, and spectral analysis is carried out on the captured audio signals containing the audio sound, so that the current sound is determined, the current sound in the audio signals received afterwards is eliminated, so that a user can not hear current sound noise and can clearly answer calls, and user experiment is improved.

Description

A kind of method, device and terminal equipment of eliminating electric current sound
Technical field
The disclosure is directed to electronic device field, especially relate to a kind of method, device and terminal equipment of eliminating electric current sound.
Background technology
Along with the develop rapidly of consumer electronics product, especially intelligent terminal product explosive growth, end product can meet the most function of people's daily life, and in the situation that function is all greatly satisfied, to terminal capabilities, the pursuit of effect starts more and more obvious.For example, along with the development of technology, people utilize terminal to carry out voice call frequently, and at mobile phone communication etc., and the electric current sound in mobile phone (TDD noise) is stubborn problem relatively in handset audio always, is having a strong impact on users' voice-frequency telephony instruction.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method of eliminating electric current sound, is having a strong impact on the problem of audio speech quality for overcoming electric current sound.
On the one hand, the disclosure provides a kind of method of eliminating electric current sound, comprising:
While receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
When the wave form varies amplitude of described audio signal surpasses described the first preset value, record the audio signal segment that described wave form varies amplitude surpasses described the first preset value;
According to described audio signal segment, determine the electric current sound in described audio signal segment;
According to described electric current sound, eliminate the electric current sound in the audio signal receiving after described audio signal segment.
No longer there is electric current sound noise, user can clearly be received calls, improved user's experience.
Disclosure embodiment has realized the Real-Time Monitoring of electric current sound and has caught, by the audio signal that comprises electric current sound of catching is carried out to spectrum analysis, determine electric current sound, and the electric current sound in the audio signal receiving after eliminating, in the sound that user is heard, no longer there is electric current sound noise, user can clearly be received calls, improved user's experience.
Described wave form varies amplitude comprises: change in voltage amplitude or power amplitude of variation.
In disclosure embodiment, to the voltage of audio signal or power, can realize Real-Time Monitoring, wherein, while detecting the change in voltage amplitude of audio signal, without audio signal is processed, can directly to the audio signal receiving, detect, thereby realized the speed that detects audio signal, variation that can Real-Time Monitoring audio signal is conducive to catch in real time electric current sound.
When described wave form varies amplitude is described change in voltage amplitude, whether the wave form varies amplitude of the audio signal that described detection receives surpasses the first preset value, comprising:
Whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses described the first preset value.
Disclosure embodiment only detects audio signal voltage amplitude of variation from low to high, does not detect this voltage amplitude of variation from high to low, has improved detection efficiency.
Described according to described audio signal segment, determine the electric current sound in described audio signal segment, comprising:
Described audio signal segment is carried out to spectrum analysis, and whether the amplitude that detects predeterminated frequency audio signal in described audio signal segment surpasses the second preset value;
When the amplitude of predeterminated frequency audio signal surpasses described the second preset value in described audio signal segment, determine that described amplitude is electric current sound over the predeterminated frequency audio signal of described the second preset value.
Disclosure embodiment only detects predeterminated frequency audio signal, has improved the efficiency that detects audio signal, is conducive to determine more quickly and accurately electric current sound.
The frequency range of described predeterminated frequency audio signal comprises 210Hz~225Hz or N*210Hz~N*225Hz, and wherein, N is positive integer.
Disclosure embodiment, according to the feature of electric current sound, detects predeterminated frequency audio signal, improves the accuracy and efficiency that detects electric current sound.
According to described electric current sound, eliminate the electric current sound in the audio signal receiving after described audio signal segment, comprising:
According to the amplitude of described electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after described audio signal segment.
Disclosure embodiment, according to the amplitude of electric current sound and frequency, adopts inverse filtering to eliminate electric current sound and is conducive to effectively eliminate electric current sound.
Described according to described electric current sound, eliminate the electric current sound in the audio signal receiving after described audio signal segment after, described method also comprises:
The audio signal after electric current sound is eliminated in output.
Disclosure embodiment eliminates electric current sound audio signal afterwards by output, no longer has electric current sound noise in the sound that user is heard, user can clearly be received calls, and has improved user's experience.
On the other hand, disclosure embodiment also provides a kind of device of eliminating electric current sound, and described device comprises:
Detection module, when receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
Logging modle, while surpassing described the first preset value for the wave form varies amplitude when described audio signal, records the audio signal segment that described wave form varies amplitude surpasses described the first preset value;
Determination module, for according to described audio signal segment, determines the electric current sound in described audio signal segment;
Cancellation module, for according to described electric current sound, eliminates the electric current sound in the audio signal receiving after described audio signal segment.
Described detection module comprises:
Detecting unit, for when described wave form varies amplitude is described change in voltage amplitude, whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses described the first preset value.
Described determination module comprises:
Analytic unit, for described audio signal segment is carried out to spectrum analysis, whether the amplitude that detects predeterminated frequency audio signal in described audio signal segment surpasses the second preset value;
Determining unit, while surpassing described the second preset value for the amplitude when described audio signal segment predeterminated frequency audio signal, determines that described amplitude is electric current sound over the predeterminated frequency audio signal of described the second preset value.
Described cancellation module comprises:
Eliminate unit, for according to the amplitude of described electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after described audio signal segment.
The device of described elimination electric current sound also comprises:
Output module, eliminates electric current sound audio signal afterwards for exporting.
On the other hand, the disclosure also provides a kind of terminal equipment, described terminal equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
While receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
When the wave form varies amplitude of described audio signal surpasses described the first preset value, record the audio signal segment that described wave form varies amplitude surpasses described the first preset value;
According to described audio signal segment, determine the electric current sound in described audio signal segment;
According to described electric current sound, eliminate the electric current sound in the audio signal receiving after described audio signal segment.
Beneficial effects more of the present disclosure can comprise: by the Real-Time Monitoring of electric current sound and catching, by the audio signal that comprises electric current sound of catching is carried out to spectrum analysis, determine electric current sound, and the electric current sound in the audio signal receiving after eliminating, in the sound that user is heard, no longer there is electric current sound noise, user can clearly be received calls, improved user's experience.
Further feature of the present disclosure and advantage will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the disclosure.Object of the present disclosure and other advantages can be realized and be obtained by specifically noted structure in the specification write, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present disclosure is described in further detail.Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is used to provide further understanding of the disclosure, and forms a part for specification, is used from the explanation disclosure with embodiment mono-of the present disclosure, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 eliminates the exemplary process diagram of the method for electric current sound in disclosure embodiment;
Fig. 2 is the exemplary process diagram that in disclosure embodiment, mobile phone is eliminated the method for electric current sound;
Fig. 3 is the first example arrangement schematic diagram of eliminating the device of electric current sound in disclosure embodiment;
Fig. 4 is the example arrangement schematic diagram of detection module in disclosure embodiment;
Fig. 5 is the example arrangement schematic diagram of determination module in disclosure embodiment;
Fig. 6 is the example arrangement schematic diagram of cancellation module in disclosure embodiment;
Fig. 7 is the second example arrangement schematic diagram of eliminating the device of electric current sound in disclosure embodiment;
Fig. 8 is the example arrangement schematic diagram of the terminal equipment that provides in disclosure embodiment.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present disclosure is described, should be appreciated that preferred embodiment described herein is only for the description and interpretation disclosure, and be not used in the restriction disclosure.
Disclosure embodiment provides a kind of method of eliminating electric current sound, and the method can realize in terminal equipment, as mobile phone, panel computer, computer etc.Below in conjunction with accompanying drawing, the disclosure is elaborated.
In one embodiment, as shown in Figure 1, the method for eliminating electric current sound in disclosure embodiment comprises:
In step S101, while receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value.
Wherein, wave form varies amplitude can comprise: change in voltage amplitude or power amplitude of variation.To the voltage of audio signal or power, can realize Real-Time Monitoring, wherein, while detecting the change in voltage amplitude of audio signal, without audio signal is processed, can directly to the audio signal receiving, detect, thereby realized the speed that detects audio signal, variation that can Real-Time Monitoring audio signal is conducive to catch in real time electric current sound.
In one embodiment, when wave form varies amplitude is change in voltage amplitude, whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses the first preset value.While being superimposed with electric current sound (TDD noise) in audio signal, make audio signal grow, the voltage of audio signal should be variation from low to high.Therefore, detect audio signal voltage amplitude of variation from low to high, realized the audio signal of the electric current sound that superposeed is detected, improved the accuracy of detected object; Meanwhile, detect audio signal voltage amplitude of variation from low to high, do not detect this voltage amplitude of variation from high to low, improved detection efficiency.
In step S102, when the wave form varies amplitude of audio signal surpasses the first preset value, wave recording amplitude of variation surpasses the audio signal segment of the first preset value.
Wherein, can use the sound-recording function recorde audio signal section carrying in terminal.
In step S103, according to audio signal segment, determine the electric current sound in audio signal segment.
Step S103 can comprise the following steps A1-A2:
Steps A 1: audio signal segment is carried out to spectrum analysis, and whether the amplitude that detects predeterminated frequency audio signal in audio signal segment surpasses the second preset value.
Steps A 2: when the amplitude of predeterminated frequency audio signal surpasses the second preset value in audio signal segment, determine that the predeterminated frequency audio signal that amplitude surpasses the second preset value is electric current sound.
Disclosure embodiment detects predeterminated frequency audio signal, has improved the efficiency that detects audio signal, is conducive to determine more quickly and accurately electric current sound.
In one embodiment, the frequency range of predeterminated frequency audio signal comprises 210Hz~225Hz or N*210Hz~N*225Hz, and wherein, N is positive integer.
Wherein, electric current sound is the noise of a fixed frequency, and frequency is the integral multiple of 217Hz or 217Hz.The form of expression of electric current sound in audio frequency, peaks when 217Hz from producing a crest between 210Hz~225Hz for approximately; Or between N*210Hz~N*225Hz, produce a crest.Therefore, according to the feature of electric current sound, detect predeterminated frequency audio signal, improve the accuracy and efficiency that detects electric current sound.
In step S104, according to electric current sound, eliminate the electric current sound in the audio signal receiving after audio signal segment.
Wherein, step S104 may be embodied as following mode one or mode two:
Mode one: according to the amplitude of electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after audio signal segment.
Mode two: according to the frequency of electric current sound, filtering audio signal medium frequency is the audio signal that amplitude surpasses the predeterminated frequency of the second preset value.
Above two kinds of modes all can effectively be eliminated electric current sound.
In one embodiment, after step 104, can also export and eliminate electric current sound audio signal afterwards, for user, listen to.By output, eliminate electric current sound audio signal afterwards, in the sound that user is heard, no longer have electric current sound noise, user can clearly be received calls, improved user's experience.
Disclosure embodiment has realized the Real-Time Monitoring of electric current sound and has caught, by the audio signal that comprises electric current sound of catching is carried out to spectrum analysis, determine electric current sound, and the electric current sound in the audio signal receiving after eliminating, in the sound that user is heard, no longer there is electric current sound noise, user can clearly be received calls, improved user's experience.
Take mobile phone below as example, the method for the elimination electric current sound that disclosure embodiment provides is described.
In the process that mobile phone A is made a phone call to mobile phone B, may comprise electric current sound noise in the call sound that the user of mobile phone B hears, this electric current sound may be that mobile phone A produces, and may be also that mobile phone B produces.This specific embodiment adopts the method that electric current sound that disclosure embodiment provides is eliminated to eliminate the electric current sound in this communication process, its flow process as shown in Figure 2:
In step S201, while starting to receive calls, whether the wave form varies amplitude that mobile phone B detects the audio signal of the mobile phone A transmission receiving surpasses the first preset value.
In step S202, when the wave form varies amplitude that the audio signal receiving detected when mobile phone B surpasses the first preset value, wave recording amplitude of variation surpasses the audio signal segment of the first preset value.
In step S203, mobile phone B is carried out spectrum analysis to audio signal segment, determines amplitude and the frequency of the electric current sound in audio signal segment.
In step S204, mobile phone B, according to the amplitude of electric current sound and frequency, adopts inverse filtering method to eliminate the electric current sound in the audio signal receiving after audio signal segment.
In step S205, mobile phone B output is eliminated the audio signal after electric current sound and is played to the user of mobile phone B.
In one embodiment, the direction wave in employing inverse filtering method elimination electric current sound is not limited to and is applied in once call.For example, end of conversation postscript is employed in the backward-wave of eliminating electric current sound for the first time, after call for the second time in can continue in application the once backward-wave of record and eliminate the electric current sound in conversing for the second time.
In one embodiment, whether the wave form varies amplitude that can always detect each time audio signal in the process of call surpasses the first preset value, so that catch in real time and definite electric current sound, then eliminates this electric current sound.So that the electric current sound of the audio signal receiving according to the characteristic elimination terminal of terminal in real time can also make the more thorough of electric current sound elimination.
Disclosure embodiment has realized the wave form varies amplitude to the audio signal receiving when starting to receive calls and has detected, so that the electric current sound in the audio signal receiving after eliminating improves user and experiences.
On the other hand, also propose a kind of device of eliminating electric current sound in disclosure embodiment, as shown in Figure 3, this device comprises:
Detection module 301, when receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
Logging modle 302, while surpassing the first preset value for the wave form varies amplitude when audio signal, wave recording amplitude of variation surpasses the audio signal segment of the first preset value;
Determination module 303, for according to audio signal segment, determines the electric current sound in audio signal segment;
Cancellation module 304, for according to electric current sound, eliminates the electric current sound in the audio signal receiving after audio signal segment.
In one embodiment, as shown in Figure 4, detection module 301 comprises:
Detecting unit 305, for when wave form varies amplitude is change in voltage amplitude, whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses the first preset value.
In one embodiment, as shown in Figure 5, determination module 303 comprises:
Analytic unit 306, for audio signal segment is carried out to spectrum analysis, whether the amplitude that detects predeterminated frequency audio signal in audio signal segment surpasses the second preset value;
Determining unit 307, while surpassing the second preset value for the amplitude when audio signal segment predeterminated frequency audio signal, determines that the predeterminated frequency audio signal that amplitude surpasses the second preset value is electric current sound.
In one embodiment, as shown in Figure 6, cancellation module 304 comprises:
Eliminate unit 308, for according to the amplitude of electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after audio signal segment.
In one embodiment, as shown in Figure 7, this device also comprises:
Output module 309, eliminates electric current sound audio signal afterwards for exporting.
On the other hand, in another embodiment of the disclosure, also provide a kind of terminal equipment, referring to Fig. 8 structural representation, this terminal equipment can be for implementing the method for the elimination electric current sound in above-described embodiment.Wherein, this terminal can be mobile phone, panel computer pad, Wearable mobile device (as intelligent watch) etc.
Fig. 8 is terminal equipment in disclosure embodiment (can be requesting party's terminal or associated terminal) structural representation.Referring to Fig. 8, this terminal can be for the method for implementing to provide in above-described embodiment.Preferred:
Terminal equipment 800 can comprise communication unit 110, includes the memory 120 of one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, wireless communication unit 170, include the parts such as or above processor 180 of processing core and power supply 190.It will be understood by those skilled in the art that the terminal equipment structure shown in figure does not form the restriction to terminal equipment, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 110 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, code division multiple access), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of terminal equipment 800 etc. can be stored in storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 131 or touch-sensitive surperficial 131 such as finger, stylus such as user) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
Display unit 140 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and terminal equipment 800, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, can adopt LCD(Liquid Crystal Display, liquid crystal display), OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display floater 141.Further, touch-sensitive surperficial 131 can cover display floater 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, send processor 180 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 180 on display floater 141.Although in Fig. 8, touch-sensitive surperficial 131 with display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 131 and display floater 141 integrated and realize input and output function.
Terminal equipment 800 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display floater 141, and proximity transducer can, when terminal equipment 800 moves in one's ear, cut out display floater 141 and/or backlight.A kind of as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, knock) of mobile phone attitude etc.; As for terminal equipment 800 other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal equipment 800.Voicefrequency circuit 160 can be transferred to loud speaker 161 by the signal of telecommunication after the voice data conversion receiving, and is converted to voice signal exports by loud speaker 161; On the other hand, microphone 162 is converted to the signal of telecommunication by the voice signal of collection, after being received by voicefrequency circuit 160, be converted to voice data, after again voice data output processor 180 being processed, through RF circuit 110, to send to such as another terminal equipment, or export voice data to memory 120 to further process.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and terminal equipment 800 to be provided.
In order to realize radio communication, on this terminal equipment, can dispose wireless communication unit 170, this wireless communication unit 170 can be WIFI(Wireless Fidelity, Wireless Fidelity) module.WIFI belongs to short range wireless transmission technology, terminal equipment 800 by wireless communication unit 170 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 170, be understandable that, it does not belong to must forming of terminal equipment 800, completely can be as required in not changing the essential scope of invention and omit.
Processor 180 is control centres of terminal equipment 800, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in memory 120, and call the data that are stored in memory 120, carry out various functions and the deal with data of terminal equipment 800, thereby mobile phone is carried out to integral monitoring.Optionally, processor 180 can comprise one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal equipment 800 also comprises that the power supply 190(powering to all parts is such as battery), preferably, power supply can be connected with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.Although not shown, terminal equipment 800 can also comprise camera, bluetooth module etc., does not repeat them here.
In disclosure embodiment, terminal equipment also includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
While receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
When the wave form varies amplitude of audio signal surpasses the first preset value, wave recording amplitude of variation surpasses the audio signal segment of the first preset value;
According to audio signal segment, determine the electric current sound in audio signal segment;
According to electric current sound, eliminate the electric current sound in the audio signal receiving after audio signal segment.
Memory also gives an order for carrying out take: when wave form varies amplitude is during as change in voltage amplitude, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value, comprising:
Whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses the first preset value.
Memory is also for carrying out to give an order:
Audio signal segment is carried out to spectrum analysis, and whether the amplitude that detects predeterminated frequency audio signal in audio signal segment surpasses the second preset value;
When the amplitude of predeterminated frequency audio signal surpasses the second preset value in audio signal segment, determine that the predeterminated frequency audio signal that amplitude surpasses the second preset value is electric current sound.
Memory is also for carrying out to give an order: according to the amplitude of electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after audio signal segment.
Memory is also for carrying out to give an order: the audio signal after electric current sound is eliminated in output.
Disclosure embodiment has realized the Real-Time Monitoring of electric current sound and has caught, by the audio signal that comprises electric current sound of catching is carried out to spectrum analysis, determine electric current sound, and the electric current sound in the audio signal receiving after eliminating, in the sound that user is heard, no longer there is electric current sound noise, user can clearly be received calls, improved user's experience.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection range of the present disclosure should not be defined as the mobile terminal of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, memory) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache memory.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the memory of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present disclosure above, it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Above-described embodiment; object of the present disclosure, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only embodiment of the present disclosure; and be not used in and limit protection range of the present disclosure; all within spirit of the present disclosure and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in protection range of the present disclosure.

Claims (13)

1. a method of eliminating electric current sound, is characterized in that, described method comprises:
While receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
When the wave form varies amplitude of described audio signal surpasses described the first preset value, record the audio signal segment that described wave form varies amplitude surpasses described the first preset value;
According to described audio signal segment, determine the electric current sound in described audio signal segment;
According to described electric current sound, eliminate the electric current sound in the audio signal receiving after described audio signal segment.
2. method according to claim 1, is characterized in that,
Described wave form varies amplitude comprises: change in voltage amplitude or power amplitude of variation.
3. method according to claim 2, is characterized in that,
When described wave form varies amplitude is described change in voltage amplitude, whether the wave form varies amplitude of the audio signal that described detection receives surpasses the first preset value, comprising:
Whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses described the first preset value.
4. method according to claim 1, is characterized in that, described according to described audio signal segment, determines the electric current sound in described audio signal segment, comprising:
Described audio signal segment is carried out to spectrum analysis, and whether the amplitude that detects predeterminated frequency audio signal in described audio signal segment surpasses the second preset value;
When the amplitude of predeterminated frequency audio signal surpasses described the second preset value in described audio signal segment, determine that described amplitude is electric current sound over the predeterminated frequency audio signal of described the second preset value.
5. method according to claim 4, is characterized in that,
The frequency range of described predeterminated frequency audio signal comprises 210Hz~225Hz or N*210Hz~N*225Hz, and wherein, N is positive integer.
6. method according to claim 1, is characterized in that, according to described electric current sound, eliminates the electric current sound in the audio signal receiving after described audio signal segment, comprising:
According to the amplitude of described electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after described audio signal segment.
7. method according to claim 1, is characterized in that, described according to described electric current sound, and eliminate the electric current sound in the audio signal receiving after described audio signal segment after, described method also comprises:
The audio signal after electric current sound is eliminated in output.
8. a device of eliminating electric current sound, is characterized in that, described device comprises:
Detection module, when receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
Logging modle, while surpassing described the first preset value for the wave form varies amplitude when described audio signal, records the audio signal segment that described wave form varies amplitude surpasses described the first preset value;
Determination module, for according to described audio signal segment, determines the electric current sound in described audio signal segment;
Cancellation module, for according to described electric current sound, eliminates the electric current sound in the audio signal receiving after described audio signal segment.
9. device according to claim 8, is characterized in that, described detection module comprises:
Detecting unit, for when described wave form varies amplitude is described change in voltage amplitude, whether the voltage of the audio signal that detection receives amplitude of variation from low to high surpasses described the first preset value.
10. device according to claim 8, is characterized in that, described determination module comprises:
Analytic unit, for described audio signal segment is carried out to spectrum analysis, whether the amplitude that detects predeterminated frequency audio signal in described audio signal segment surpasses the second preset value;
Determining unit, while surpassing described the second preset value for the amplitude when described audio signal segment predeterminated frequency audio signal, determines that described amplitude is electric current sound over the predeterminated frequency audio signal of described the second preset value.
11. devices according to claim 8, is characterized in that, described cancellation module comprises:
Eliminate unit, for according to the amplitude of described electric current sound and frequency, adopt inverse filtering method to eliminate the electric current sound in the audio signal receiving after described audio signal segment.
12. devices according to claim 8, is characterized in that, described device also comprises:
Output module, eliminates electric current sound audio signal afterwards for exporting.
13. 1 kinds of terminal equipments, it is characterized in that, described terminal equipment includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
While receiving calls, whether the wave form varies amplitude that detects the audio signal receiving surpasses the first preset value;
When the wave form varies amplitude of described audio signal surpasses described the first preset value, record the audio signal segment that described wave form varies amplitude surpasses described the first preset value;
According to described audio signal segment, determine the electric current sound in described audio signal segment;
According to described electric current sound, eliminate the electric current sound in the audio signal receiving after described audio signal segment.
CN201310626075.6A 2013-11-28 2013-11-28 A kind of method, device and terminating unit eliminating current sound Active CN103607489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310626075.6A CN103607489B (en) 2013-11-28 2013-11-28 A kind of method, device and terminating unit eliminating current sound

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310626075.6A CN103607489B (en) 2013-11-28 2013-11-28 A kind of method, device and terminating unit eliminating current sound

Publications (2)

Publication Number Publication Date
CN103607489A true CN103607489A (en) 2014-02-26
CN103607489B CN103607489B (en) 2016-06-08

Family

ID=50125689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310626075.6A Active CN103607489B (en) 2013-11-28 2013-11-28 A kind of method, device and terminating unit eliminating current sound

Country Status (1)

Country Link
CN (1) CN103607489B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095683A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Method and device for eliminating tdd noise
CN107040637A (en) * 2017-06-06 2017-08-11 深圳天珑无线科技有限公司 Eliminate method, mobile terminal and the computer-readable recording medium of current sound
CN108737932A (en) * 2018-05-23 2018-11-02 努比亚技术有限公司 Terminal anti-utter long and high-pitched sounds method, terminal and computer readable storage medium
CN114286258A (en) * 2021-12-23 2022-04-05 歌尔科技有限公司 Current sound eliminating method and device, earphone and computer readable storage medium
CN114640926A (en) * 2022-03-31 2022-06-17 歌尔股份有限公司 Current sound detection method, device, equipment and computer readable storage medium
CN114286258B (en) * 2021-12-23 2024-07-02 歌尔科技有限公司 Current sound cancellation method, device, earphone and computer readable storage medium

Citations (2)

* 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

Patent Citations (2)

* 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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095683A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Method and device for eliminating tdd noise
CN105761726A (en) * 2014-12-15 2016-07-13 华为终端(东莞)有限公司 Method and device for eliminating TDD noise
CN105761726B (en) * 2014-12-15 2018-01-09 华为终端(东莞)有限公司 A kind of method and apparatus of elimination TDD noises
CN107040637A (en) * 2017-06-06 2017-08-11 深圳天珑无线科技有限公司 Eliminate method, mobile terminal and the computer-readable recording medium of current sound
CN108737932A (en) * 2018-05-23 2018-11-02 努比亚技术有限公司 Terminal anti-utter long and high-pitched sounds method, terminal and computer readable storage medium
CN114286258A (en) * 2021-12-23 2022-04-05 歌尔科技有限公司 Current sound eliminating method and device, earphone and computer readable storage medium
CN114286258B (en) * 2021-12-23 2024-07-02 歌尔科技有限公司 Current sound cancellation method, device, earphone and computer readable storage medium
CN114640926A (en) * 2022-03-31 2022-06-17 歌尔股份有限公司 Current sound detection method, device, equipment and computer readable storage medium
CN114640926B (en) * 2022-03-31 2023-11-17 歌尔股份有限公司 Current sound detection method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN103607489B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN103513769B (en) Method, device and mobile terminal for setting key function
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN103281687A (en) Network flow management method and device of double-card terminal
CN103701988A (en) Message prompt method and device and electronic equipment
CN103618514A (en) Volume adjustment method, device and electronic equipment
CN105788612A (en) Method and device for testing tone quality
CN104427083A (en) Volume adjusting method and device
CN104427074A (en) Method, device and system for displaying incoming information
CN103746975A (en) Method of data transmission, device and mobile terminal
CN102833419B (en) Method and terminal for controlling screen state
CN103475972A (en) Connecting part for headset plug, headset plug and terminal
CN103702028A (en) Method and device for controlling shooting and terminal equipment
CN103747130B (en) A kind of control method of terminal equipment and device
CN104853081A (en) Breakpoint filming method, device and mobile terminal
CN103678259B (en) The adaptation method of a kind of page, device and terminal unit
CN103596017A (en) Video downloading method and system
CN103701182A (en) Charger, electronic equipment and charging system
CN103546570A (en) Method, device and terminal for achieving network client-side cross-domain data request
CN103684807A (en) Method, device, terminal device and server for identifying group member information
CN103593049A (en) Method, device and terminal device for processing reminding message
CN103699309A (en) Method and device for recording synchronous video, and mobile terminal
CN104135502A (en) Method of implementing application notification as well as associated equipment and system
CN103458114B (en) A kind of method of switching multi-media stream, equipment and terminal
CN103533127A (en) Call control method of terminal and terminal
CN103607489A (en) Method, device and terminal device for eliminating current sound

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant