CN108305638A - A kind of signal processing method, signal processing apparatus and terminal device - Google Patents
A kind of signal processing method, signal processing apparatus and terminal device Download PDFInfo
- Publication number
- CN108305638A CN108305638A CN201810022097.4A CN201810022097A CN108305638A CN 108305638 A CN108305638 A CN 108305638A CN 201810022097 A CN201810022097 A CN 201810022097A CN 108305638 A CN108305638 A CN 108305638A
- Authority
- CN
- China
- Prior art keywords
- signal
- audio signal
- acoustic signals
- amplitude
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0272—Voice signal separating
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
- G10L2025/783—Detection of presence or absence of voice signals based on threshold decision
Abstract
The embodiment of the invention discloses a kind of signal processing method, signal processing apparatus and terminal devices, it is related to field of communication technology, terminal device to solve the problem of to carry voice assistant in the prior art, which exists, to be demodulated the loophole of the voice signal come control from modulated ultrasonic signal and then the personal information of user may be caused to leak.This method includes:Obtain acoustic signals;If including ultrasonic signal in the acoustic signals, audio signal and the ultrasonic signal are isolated from the acoustic signals;If the amplitude of the audio signal is less than the amplitude of the ultrasonic signal, the audio signal is filtered out.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of signal processing method, signal processing apparatus and
Terminal device.
Background technology
The voice assistant that terminal device carries, can allow user in the case where not contacting terminal device, pass through voice control
Terminal device processed performs various functions.And the microphone used in terminal device, the frequency of sound wave that can be received far are wider than people
The audible frequency of ear (20Hz~20kHz), such as ultrasonic wave (frequency > 20kHz) that human ear can't hear, microphone remains to connect
It receives and is converted to electric signal output.
By taking terminal device is mobile phone as an example, user can be executed by controlling mobile phone through speech and make a phone call, photos and sending messages, take pictures
Function.But if criminal will be modulated to ultrasonic signal for controlling the voice signal of user mobile phone, and be sent to
The mobile phone of user, then being non-linear demodulation when due to microphone demodulated signal in mobile phone, microphone can be from this
The voice signal is demodulated in ultrasonic signal, and the voice signal is sent to the voice assistant in mobile phone, so that should
Voice assistant can by identify the voice signal control mobile phone execution make a phone call, photos and sending messages, the functions such as take pictures.In this way, existing
The terminal device of carrying voice assistant exists in technology is demodulated the voice signal control come from modulated ultrasonic signal
The loophole of system, and then the personal information of user may be caused to leak.
Invention content
A kind of signal processing method of offer of the embodiment of the present invention, signal processing apparatus and terminal device, to solve existing skill
The terminal device that voice assistant is carried in art is controlled in the presence of the voice signal demodulated from modulated ultrasonic signal
Loophole, and then may cause user personal information leak the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of signal processing method, the method includes:
Obtain acoustic signals;
If including ultrasonic signal in acoustic signals, audio signal and ultrasonic signal are isolated from acoustic signals;
If the amplitude of audio signal is less than the amplitude of ultrasonic signal, audio signal is filtered out.
Second aspect, an embodiment of the present invention provides a kind of signal processing apparatus, including acquisition module and filtering module;
Acquisition module, for obtaining acoustic signals;
Separation module is isolated if including ultrasonic signal in acoustic signals for getting from acoustic signals
Audio signal and ultrasonic signal;
Filtering module, if the amplitude for the audio signal isolated for separation module is less than the amplitude of ultrasonic signal,
Filter out audio signal.
The third aspect includes the signal processing as described in second aspect an embodiment of the present invention provides a kind of terminal device
Device.
In the embodiment of the present invention, acoustic signals can be obtained;If including ultrasonic signal in acoustic signals, believe from sound wave
Audio signal and ultrasonic signal are isolated in number;And if the amplitude of audio signal is less than the amplitude of ultrasonic signal, mistake
Filter the audio signal.Usual microphone can receive the ultrasonic signal being modulated by voice signal, and from wherein demodulating
Audio signal and ultrasonic signal, and the amplitude of audio signal is less than the amplitude of ultrasonic signal, with this solution, when audio is believed
Number amplitude be less than ultrasonic signal amplitude when, it can be determined that the audio signal is not the voice signal that user sends out, may
Meeting control terminal equipment executes certain illegal act, then filtering out the audio signal, terminal device would not be made to be controlled, into
And avoid the leakage of userspersonal information.
Description of the drawings
Fig. 1 is signal processing method flow chart provided in an embodiment of the present invention;
Fig. 2 is one of signal processing apparatus block diagram provided in an embodiment of the present invention;
Fig. 3 is the two of signal processing apparatus block diagram provided in an embodiment of the present invention;
Fig. 4 is the three of signal processing apparatus block diagram provided in an embodiment of the present invention;
Fig. 5 is one of the schematic diagram of signal processing apparatus provided in an embodiment of the present invention;
Fig. 6 is the two of the schematic diagram of signal processing apparatus provided in an embodiment of the present invention;
Fig. 7 is the block diagram of terminal device provided in an embodiment of the present invention;
Fig. 8 is the hardware schematic of terminal device provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This
Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing
Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport
Related notion is being presented in specific ways.
An embodiment of the present invention provides a kind of signal processing method, signal processing apparatus and terminal devices, can obtain sound
Wave signal;If including ultrasonic signal in acoustic signals, audio signal and ultrasonic signal are isolated from acoustic signals;With
And if the amplitude of audio signal is less than the amplitude of ultrasonic signal, filters out the audio signal.Usual microphone can receive
The ultrasonic signal being modulated by voice signal, and from wherein demodulating audio signal and ultrasonic signal, and audio signal
Amplitude is less than the amplitude of ultrasonic signal, with this solution, can when the amplitude of audio signal is less than the amplitude of ultrasonic signal
The voice signal that user sends out to judge the audio signal not, may control terminal equipment execute certain illegal act, that
The audio signal is filtered out, terminal device would not be made to be controlled, and then avoids the leakage of userspersonal information.
Terminal device in the embodiment of the present invention can be the terminal device for carrying voice assistant, as carried voice assistant
Other mobile terminal devices such as mobile phone, intelligent sound box, smartwatch, car-mounted terminal or immobile terminal equipment.The present invention is implemented
Example is not especially limited.
The executive agent of the control method of application program provided in an embodiment of the present invention can be signal processing apparatus, below
Signal processing method provided in an embodiment of the present invention is illustratively illustrated.As shown in Figure 1, the embodiment of the present invention provides one
Kind of signal processing method, this method may include following step 101- steps 107.
Step 101 obtains acoustic signals.
In embodiments of the present invention, it is illustrated so that terminal device is mobile phone as an example, the microphone of mobile phone receives sound wave letter
Number, the acoustic signals that microphone receives may be audio signal, such as the voice signal etc. of user;It is also likely to be ultrasonic wave letter
Number, for example, audio signal it is modulated after ultrasonic signal etc..Microphone handles the acoustic signals that it is received, such as solves
Mediate reason.In general, ideal linear circuit, the sinusoidal signal that input frequency is f, output are similarly the sinusoidal letters that frequency is f
Number, i.e. fout=Afin, wherein A is gain, finFor the sinusoidal signal of input, foutFor the sinusoidal signal of output, finAnd foutFrequency
Rate is identical.And in practice, microphone is nonlinear to the demodulation of acoustic signals, i.e. output can have high-order term.Assuming that output
First order and quadratic term are contained only, i.e.,Wherein A and B is gain, finFor the sinusoidal signal of input, foutFor
The sinusoidal signal of output, finAnd foutFrequency it is different.So, if the acoustic signals that microphone receives are audio signals, through wheat
Treated that acoustic signals may include only audio signal for gram wind, it is also possible to include audio signal and ultrasonic signal (this feelings
Under condition, the amplitude of audio signal is greater than or equal to the amplitude of ultrasonic signal);If the acoustic signals that microphone receives are natures
Ultrasonic signal, then include only ultrasonic signal through microphone treated acoustic signals;If the sound wave letter that microphone receives
Number be modulates audio signals at ultrasonic signal, then through microphone treated acoustic signals may include audio signal and super
Acoustic signals (in this case, amplitude of the amplitude of audio signal less than ultrasonic signal).
The acoustic signals received below with microphone be modulates audio signals at ultrasonic signal, and handled through microphone
Acoustic signals afterwards include illustratively to be illustrated for audio signal and ultrasonic signal.
It is fm (fm by frequency<Audio signal 20kHz) is modulated in supersonic band fc (fc > 20kHz), is formed new
Am signals fin=cos2 π fmt·cos2πfct+cos2πfcT is substituted intoAfter can must demodulating
Signal is:
fout=Acos2 π fmt·cos2πfct+Acos2πfct+Bcos22πfmt·cos22πfct+Bcos22πfct
+2Bcos2πfmt·cos22πfct
Formula is unfolded as follows to above formula according to trigonometric function formula:
From expansion it can be seen that in signal after demodulation the frequency that contains be followed successively by from left to right fc+fm, fc-fm, fc,
2 (fc+fm), 2 (fc-fm), 2fm, 2fc, 2fc+fm, 2fc-fm, fm etc..It is fc-fm, 2fm, fm that can obtain frequency simultaneously
The amplitude of audio signal is respectively A/2, B/4, B in above formula, frequency fc+fm, fc, 2 (fc+fm), 2 (fc-fm), 2fc,
The amplitude of the audio signal of 2fc+fm, 2fc-fm is respectively A/2, A, B/8, B/8,3B/4, B/2, B/2 in above formula, it is known that super
The amplitude of acoustic signals is obviously greater than the amplitude of audio signal.To sum up, be to the demodulation of signal due to microphone it is nonlinear,
The audio signal being modulated in ultrasonic signal is demodulated to come.That is, being listened not by sending out human ear to user mobile phone
See by modulates audio signals at ultrasonic signal, may can control user mobile phone perform various functions and be difficult to by
It was found that.And in the embodiment of the present invention, due to can be by judging between the amplitude of audio signal and the amplitude of ultrasonic signal
Relationship determines that the acoustic signals received are to demodulate to come from the ultrasonic signal being modulated into, will be in the acoustic signals
Audio signal filters out, so that it may to prevent the audio signal that control mobile phone is gone to execute certain function, to avoid individual subscriber from believing
The leakage of breath.
By treated, acoustic signals are sent to signal processing apparatus to microphone, and signal processing apparatus receives microphone and sends
Acoustic signals.
Whether include ultrasonic signal in step 102 (optional), detection acoustic signals.
If by step 101 it is found that the acoustic signals that microphone receives be modulates audio signals at ultrasonic signal, pass through
Microphone treated acoustic signals include audio signal and ultrasonic signal.Therefore, it first to detect in acoustic signals and whether wrap
Containing ultrasonic signal.Whether the method comprising ultrasonic signal can refer to existing related skill in specific detection acoustic signals
Art, it will not be described here.
If including ultrasonic signal in acoustic signals, 103- steps 107 are thened follow the steps;If not including in acoustic signals super
Acoustic signals then directly execute step 107 (optional).It should be noted that:Include ultrasonic signal in acoustic signals, it is a kind of
Situation is executed according to step 103-106 provided in an embodiment of the present invention comprising audio signal and ultrasonic signal;Another feelings
Condition be only include ultrasonic signal, at this moment can be with since output ultrasonic wave signal will not impact the terminal device of user
Acoustic signals processing is not exported directly, can also execute according to step 103-106 provided in an embodiment of the present invention, only wrap
Containing ultrasonic signal, then audio signal is exactly 0, the amplitude of audio signal is also 0.
Step 103 isolates audio signal and ultrasonic signal from acoustic signals.
Include ultrasonic signal in acoustic signals, then needs to detach the acoustic signals, sound is isolated from the acoustic signals
Frequency signal and ultrasonic signal.The method for specifically detaching the acoustic signals can refer to existing the relevant technologies, not superfluous herein
It states.
The amplitude of the amplitude and ultrasonic signal of step 104 (optional), acquisition audio signal.
In embodiments of the present invention, the amplitude of the amplitude and ultrasonic signal that obtain audio signal refers to obtaining acoustic signals
In all audio signals amplitude and obtain the amplitudes of all ultrasonic signals in acoustic signals, it is specific to obtain shaking for audio signal
The method of the amplitude of width and ultrasonic signal can refer to existing the relevant technologies, and it will not be described here.
Step 105 (optional), the amplitude of comparing audio signal and the amplitude of ultrasonic signal.
In embodiments of the present invention, acoustic signals compared with the amplitude of comparing audio signal refers to the amplitude of ultrasonic signal
In the sum of all ultrasonic signal amplitudes of the sum of all audio signal amplitudes.For example, all audios in acoustic signals can be believed
Number amplitude it is cumulative, be denoted as S1, and the amplitude of all ultrasonic signals in acoustic signals is added up, be denoted as S2, then compare again
The two accumulated result.Specifically, can be the difference for calculating the two, i.e. S1-S2, if result is less than 0, audio signal is shaken
Width is less than the amplitude of ultrasonic signal, if result is greater than or equal to 0, the amplitude of audio signal is greater than or equal to ultrasonic signal
Amplitude.Can also be the quotient for calculating the two, i.e. S1/S2, if result is less than 1, the amplitude of audio signal is believed less than ultrasonic wave
Number amplitude, if result is greater than or equal to 1, the amplitude of audio signal is greater than or equal to the amplitude of ultrasonic signal.
If the amplitude of audio signal is less than the amplitude of ultrasonic signal, 106 are thened follow the steps;If the amplitude of audio signal is big
In or equal to ultrasonic signal amplitude, then follow the steps 107 (optional).
Step 106 filters out audio signal.
If can determine signal processing it is found that the amplitude of audio signal is less than the amplitude of ultrasonic signal by step 101
The acoustic signals that device receives may be from modulates audio signals at ultrasonic signal in the audio signal that demodulates, be not to use
The audio signal that family is sent out, if the signal exported, the mobile phone of user may be executed by control makes a phone call, transmits
It ceases, various functions of taking pictures, and then the leakage of userspersonal information may be caused.Therefore, userspersonal information reveals in order to prevent,
The audio signal can be filtered out, not controlled thereby using the mobile phone at family.
Optionally, in the embodiment of the present invention, above-mentioned steps 106 can specifically pass through following step 106a or step 106b
It realizes.
Step 106a, acoustic signals are abandoned, to filter out audio signal.
If acoustic signals abandoned, the audio signal in sound wave is also just dropped, so that the mobile phone of user is not
It can be controlled, and then ensure that userspersonal information will not reveal.
Step 106b, audio signal is fallen by filters filter.
(it can be higher than the signal of some frequency values by frequency, preventing frequency from being less than should by high-pass filter
The signal of frequency values) filter out audio signal, and will filter out the acoustic signals output of audio signal.Due in acoustic signals
Ultrasonic signal the terminal device of user will not be impacted, therefore by ultrasonic signal output will not cause individual subscriber
Information leakage.
Step 107 (optional), output acoustic signals.
It is then said in conjunction with step 101 not comprising ultrasonic signal if being detected in step 102 (optional) in acoustic signals
The bright acoustic signals are the audio signal that sends out of the user audio signals that either user can hear, rather than from audio
Signal modulation at ultrasonic signal in the acoustic signals that demodulate, i.e. the acoustic signals will not cause the terminal device of user
It influences, so as to export the acoustic signals.
If the amplitude for relatively obtaining audio signal in step 105 (optional) is greater than or equal to the amplitude of ultrasonic signal,
In conjunction with step 101, then illustrate that the acoustic signals are the audio signal audios that either user can hear that user sends out
Signal, rather than from modulates audio signals at ultrasonic signal in the audio signal that demodulates, i.e. the acoustic signals will not be right
The terminal device of user impacts, so as to export the acoustic signals.
An embodiment of the present invention provides a kind of signal processing methods, can obtain acoustic signals;If including in acoustic signals
Ultrasonic signal then isolates audio signal and ultrasonic signal from acoustic signals;And if the amplitude of audio signal is less than
The amplitude of ultrasonic signal then filters out the audio signal.Usual microphone can receive the ultrasound being modulated by voice signal
Wave signal, and from wherein demodulating audio signal and ultrasonic signal, and the amplitude of audio signal is less than shaking for ultrasonic signal
Width, with this solution, when the amplitude of audio signal is less than the amplitude of ultrasonic signal, it can be determined that the audio signal is not to use
The voice signal that family is sent out, may control terminal equipment execute certain illegal act, then filtering out the audio signal, just not
Terminal device can be made to be controlled, and then avoid the leakage of userspersonal information.
As shown in Fig. 2, the embodiment of the present invention provides a kind of signal processing apparatus 120, including acquisition module 121, splitting die
Block 122 and filtering module 123;Acquisition module 121, for obtaining acoustic signals;Separation module 122, if the sound for getting
Include ultrasonic signal in wave signal, then isolates audio signal and ultrasonic signal from acoustic signals;Filtering module 123,
If the amplitude for the audio signal isolated for separation module 122 is less than the amplitude of ultrasonic signal, audio signal is filtered out.
Optionally, filtering module 123, the acoustic signals got specifically for abandoning acquisition module 121, to filter out sound
Frequency signal.
Optionally, audio signal is fallen in filtering module 123 specifically for passing through filters filter.
Optionally, in conjunction with Fig. 2, as shown in figure 3, the signal processing apparatus 120 further includes:Output module 124;Output module
124, if not including ultrasonic signal in the acoustic signals got for acquisition module 121, export the acquisition of acquisition module 121
The acoustic signals arrived.
Optionally, in conjunction with Fig. 2, as shown in figure 3, the signal processing apparatus 120 further includes:Output module 124;Output module
124, if the amplitude for the audio signal isolated for separation module 122 is greater than or equal to the amplitude of ultrasonic signal, export
The acoustic signals that acquisition module 121 is got.
Optionally, in conjunction with Fig. 3, as shown in figure 4, the signal processing apparatus 120 further includes:Comparison module 125;Comparison module
125, for before filtering module 123 filters out audio signal, obtaining the amplitude for the audio signal that separation module 122 is isolated
With the amplitude of ultrasonic signal;And compare the amplitude for the audio signal that acquisition module 121 is got and the amplitude of ultrasonic signal.
Signal processing apparatus provided in an embodiment of the present invention can realize each mistake shown in FIG. 1 in above method embodiment
Journey, to avoid repeating, details are not described herein again.
Signal processing apparatus 120 provided in an embodiment of the present invention is illustratively said with two kinds of realization methods again below
It is bright.
Illustratively, said signal processing device 120 can be realized by schematic diagram shown in fig. 5.At specific signal
It includes detection module 201, separation module 202, comparison module 203 and control output module 204 to manage device 120.It needs to illustrate
It is:Detection module 201 and separation module 202 are accomplished that the function of the acquisition module 121 of said signal processing device 120, than
Compared with the function for the comparison module 125 that module 203 is accomplished that said signal processing device 120, control output module 204 is realized
It is the function of the filtering module 123 and output module 124 of said signal processing device 120.
Specifically, whether detection module 201 is for detecting in acoustic signals comprising ultrasonic signal.Detection module 201 wraps
Input terminal 2010, the first output end 2011 and second output terminal 2012 are included, for input terminal 2010 for inputting acoustic signals, first is defeated
If outlet 2011 detects in acoustic signals to include ultrasonic signal for detection module 201, the acoustic signals are exported, second
If output end 2012 is detected for detection module 201 does not include ultrasonic signal in acoustic signals, the acoustic signals are exported.
Separation module 202 is used to detach the ultrasonic signal and audio signal in acoustic signals, and obtains audio signal
Amplitude and ultrasonic signal amplitude.Separation module 202 includes input terminal 2020, the first output end 2021 and second output terminal
2022, the input terminal 2020 of separation module 202 is connect with the first output end 2011 of detection module 201.Separation module 202 it is defeated
Enter end 2020 and is used for the amplitude of exports audio signal, second output terminal 2022 for inputting acoustic signals, the first output end 2021
Amplitude for output ultrasonic wave signal.
Amplitude of the comparison module 203 for the amplitude and ultrasonic signal of comparing audio signal.Comparison module 203 includes the
One input terminal 2030, the second input terminal 2031 and output end 2032, the first input end 2030 and separation module of comparison module 203
202 the first output end 2021 connection, the second input terminal 2031 are connect with the second output terminal 2022 of separation module 202.Compare
The first input end 2030 of module 203 is used for the amplitude of input audio signal, and the second input terminal 2031 is for inputting ultrasonic wave letter
Number amplitude, output end 2032 be used for when its first input end 2030 input value be less than its second input terminal 2031 input value
When, namely when the amplitude of audio signal is less than the amplitude of ultrasonic signal, first control signal is exported, when its first input end
When 2030 input value is greater than or equal to the input value of its second input terminal 2031, namely when the amplitude of audio signal is more than or waits
When the amplitude of ultrasonic signal, second control signal is exported.
Control output module 204 is for exporting acoustic signals.It includes control terminal 2040, input terminal to control output module 204
2041 and output end 2042, the control terminal 2040 of control output module 204 is connect with the output end 2032 of comparison module 203, defeated
Enter end 2041 to connect with the first output end 2011 of detection module 201.The control terminal 2040 of control output module 204 is for inputting
First control signal or second control signal.Input terminal 2041 is for inputting acoustic signals, and output end 2042 is for working as control terminal
When 2040 input first control signal, acoustic signals (abandoning acoustic signals to filter out audio signal) are not exported, work as control
When 2040 input second control signal of end, acoustic signals are exported.
Above-mentioned detection module 201 can be digital frequency meter, and separation module 202 can be filter, comparison module 203
Can be comparator, control output module 204 can be transistor switch or switch with field-effect transistors.
Illustratively, said signal processing device 120 can also be realized by schematic diagram shown in fig. 6.Specific signal
Processing unit 120 includes detection module 201, separation module 202, comparison module 203, filtering module 205 and selection output module
206.It should be noted that:Detection module 201 and separation module 202 are accomplished that the acquisition mould of said signal processing device 120
The function of block 121, comparison module 203 are accomplished that the function of the comparison module 125 of said signal processing device 120, filter module
Block 205 is accomplished that the function of the filtering module 123 of said signal processing device 120, and output module 206 is selected to be accomplished that
State the function of the output module 124 of signal processing apparatus 120.
Specifically, detection module 201, separation module 202 and comparison module 203 refer to foregoing description, details are not described herein again.
Filtering module 205 is used to filter out the audio signal in acoustic signals.Filtering module 205 includes 2050 He of input terminal
Output end 2051, the input terminal 2050 of filtering module 205 are connect with the first output end 2011 of detection module 201.Filtering module
205 input terminal 2050 falls the acoustic signals of audio signal for output filtering for inputting acoustic signals, output end 2051.
Selection output module 206 is for exporting acoustic signals.It includes control terminal 2060 to select output module 206, and first is defeated
Enter end 2061, the second input terminal 2062 and output end 2063, selects the control terminal 2060 and comparison module 203 of output module 206
Output end 2032 connect, first input end 2061 connect with the output end 2051 of filtering module 205, the second input terminal 2062 and
First output end 2011 of detection module 201 connects.Select the control terminal 2060 of output module 206 for inputting the first control letter
Number or second control signal, first input end 2061 is for inputting the acoustic signals for filtering out audio signal, the second input terminal
2062 for inputting acoustic signals, and output end 2063 is used for when control terminal 2060 inputs first control signal, and output first is defeated
The acoustic signals for filtering out audio signal for entering 2061 input of end, when control terminal 2060 inputs second control signal, output the
The acoustic signals of two input terminals 2062 input.
Above-mentioned detection module 201 can be digital frequency meter, and separation module 202 can be filter, comparison module 203
Can be comparator, filtering module 205 can be high-pass filter, and it can be alternative selector to select output module 206.
An embodiment of the present invention provides a kind of signal processing apparatus, can obtain acoustic signals;If including in acoustic signals
Ultrasonic signal then isolates audio signal and ultrasonic signal from acoustic signals;And if the amplitude of audio signal is less than
The amplitude of ultrasonic signal then filters out the audio signal.Usual microphone can receive the ultrasound being modulated by voice signal
Wave signal, and from wherein demodulating audio signal and ultrasonic signal, and the amplitude of audio signal is less than shaking for ultrasonic signal
Width, with this solution, when the amplitude of audio signal is less than the amplitude of ultrasonic signal, it can be determined that the audio signal is not to use
The voice signal that family is sent out, may control terminal equipment execute certain illegal act, then filtering out the audio signal, just not
Terminal device can be made to be controlled, and then avoid the leakage of userspersonal information.
Optionally, the embodiment of the present invention also provides a kind of terminal device, including the signal processing device described in above-described embodiment
Set 120.The signal processing apparatus 120 can realize each process of Fig. 1 in above method embodiment, and can reach identical technology
Effect, to avoid repeating, which is not described herein again.
Optionally, refering to what is shown in Fig. 7, the terminal device can also include Acoustic Signal Acquisition module 130, amplification module
140, filter module 150, coding/decoding module 160 and speech engine module 170.
Acoustic Signal Acquisition module 130 is used for amplified signal processing unit for acquiring acoustic signals, amplification module 140
120 treated acoustic signals, filter module 150 are used to filter out the ultrasound in 140 amplified acoustic signals of amplification module
Wave signal, the acoustic signals that coding/decoding module 160 is used to export filter module 150 encode, and speech engine module 170 is used
In the acoustic signals that identification coding/decoding module 160 exports.
Terminal device provided in an embodiment of the present invention can obtain acoustic signals;If believing comprising ultrasonic wave in acoustic signals
Number, then audio signal and ultrasonic signal are isolated from acoustic signals;And if the amplitude of audio signal is believed less than ultrasonic wave
Number amplitude, then filter out the audio signal.Usual microphone can receive the ultrasonic signal being modulated by voice signal, and
From wherein demodulating audio signal and ultrasonic signal, and the amplitude of audio signal is less than the amplitude of ultrasonic signal, by this
Scheme, when the amplitude of audio signal is less than the amplitude of ultrasonic signal, it can be determined that the audio signal is not that user sends out
Voice signal, may control terminal equipment execute certain illegal act, then filtering out the audio signal, terminal would not be made
Equipment is controlled, and then avoids the leakage of userspersonal information.
A kind of hardware architecture diagram of Fig. 8 terminal devices of each embodiment to realize the present invention.As shown in figure 8, should
Terminal device 100 includes but not limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104,
Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity
The components such as source 111.It will be understood by those skilled in the art that terminal device structure shown in Fig. 8 is not constituted to terminal device
Restriction, terminal device may include either combining certain components or different components than illustrating more or fewer components
Arrangement.In embodiments of the present invention, terminal device include but not limited to mobile phone, tablet computer, laptop, palm PC,
Car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 110, for obtaining acoustic signals;If including ultrasonic signal in the acoustic signals, from institute
It states and isolates audio signal and the ultrasonic signal in acoustic signals;If the amplitude of the audio signal is less than the ultrasonic wave
The amplitude of signal then filters out the audio signal.
Terminal device provided in an embodiment of the present invention can obtain acoustic signals;If believing comprising ultrasonic wave in acoustic signals
Number, then audio signal and ultrasonic signal are isolated from acoustic signals;And if the amplitude of audio signal is believed less than ultrasonic wave
Number amplitude, then filter out the audio signal.Usual microphone can receive the ultrasonic signal being modulated by voice signal, and
From wherein demodulating audio signal and ultrasonic signal, and the amplitude of audio signal is less than the amplitude of ultrasonic signal, by this
Scheme, when the amplitude of audio signal is less than the amplitude of ultrasonic signal, it can be determined that the audio signal is not that user sends out
Voice signal, may control terminal equipment execute certain illegal act, then filtering out the audio signal, terminal would not be made
Equipment is controlled, and then avoids the leakage of userspersonal information.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set
Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end
The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike
Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device
Family is arranged and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and
Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area
It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments
1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it
On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch
The type for touching event provides corresponding visual output on display panel 1061.Although in fig. 8, touch panel 1071 and display
Panel 1061 is to realize the function that outputs and inputs of terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this
Place does not limit.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device
Transmission data between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Reason device 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 100 includes some unshowned function modules, details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
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.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (14)
1. a kind of signal processing method, which is characterized in that the method includes:
Obtain acoustic signals;
If including ultrasonic signal in the acoustic signals, audio signal and the ultrasound are isolated from the acoustic signals
Wave signal;
If the amplitude of the audio signal is less than the amplitude of the ultrasonic signal, the audio signal is filtered out.
2. according to the method described in claim 1, it is characterized in that, described filter out the audio signal, including:
The acoustic signals are abandoned, to filter out the audio signal.
3. according to the method described in claim 1, it is characterized in that, described filter out the audio signal, including:
Fall the audio signal by filters filter.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
If not including the ultrasonic signal in the acoustic signals, the acoustic signals are exported.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
If the amplitude of the audio signal is greater than or equal to the amplitude of the ultrasonic signal, the acoustic signals are exported.
6. the method according to any one of claims 1 to 5, it is characterized in that, described detach from the acoustic signals
Go out after audio signal and the ultrasonic signal, the method further includes:
Obtain the amplitude of the amplitude and the ultrasonic signal of the audio signal;
Compare the amplitude of the amplitude and the ultrasonic signal of the audio signal.
7. a kind of signal processing apparatus, which is characterized in that including acquisition module, separation module and filtering module;
The acquisition module, for obtaining acoustic signals;
The separation module is isolated if for including ultrasonic signal in the acoustic signals from the acoustic signals
Audio signal and the ultrasonic signal;
The filtering module, if the amplitude for the audio signal isolated for the separation module is believed less than the ultrasonic wave
Number amplitude, then filter out the audio signal.
8. device according to claim 7, which is characterized in that the filtering module is specifically used for abandoning the acquisition mould
The acoustic signals that block is got, to filter out the audio signal.
9. device according to claim 7, which is characterized in that the filtering module, specifically for passing through filters filter
Fall the audio signal that the acquisition module is got.
10. device according to claim 7, which is characterized in that described device further includes:Output module;
The output module is believed if not including the ultrasonic wave in the acoustic signals got for the acquisition module
Number, then export the acoustic signals that the acquisition module is got.
11. device according to claim 7, which is characterized in that described device further includes:Output module;
The output module, if the amplitude for the audio signal isolated for the separation module be greater than or equal to it is described super
The amplitude of acoustic signals then exports the acoustic signals that the acquisition module is got.
12. the device according to any one of claim 7 to 11, which is characterized in that described device further includes:Compare mould
Block;
The comparison module, for before the filtering module filters out the audio signal, obtaining the separation module point
The amplitude of the amplitude and the ultrasonic signal of the audio signal separated out;And the amplitude of the audio signal with it is described
The amplitude of ultrasonic signal.
13. a kind of terminal device, which is characterized in that include the signal processing apparatus as described in any one of claim 7 to 12.
14. terminal device according to claim 13, which is characterized in that the terminal device further includes:Acoustic signals are adopted
Collect module, amplification module, filter module, coding/decoding module and speech engine module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022097.4A CN108305638B (en) | 2018-01-10 | 2018-01-10 | Signal processing method, signal processing device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022097.4A CN108305638B (en) | 2018-01-10 | 2018-01-10 | Signal processing method, signal processing device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108305638A true CN108305638A (en) | 2018-07-20 |
CN108305638B CN108305638B (en) | 2020-07-28 |
Family
ID=62868898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022097.4A Active CN108305638B (en) | 2018-01-10 | 2018-01-10 | Signal processing method, signal processing device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108305638B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831583A (en) * | 2019-01-28 | 2019-05-31 | 维沃移动通信有限公司 | A kind of audio play control method and terminal device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1378764A (en) * | 1999-08-26 | 2002-11-06 | 美国技术公司 | Modulator processing for parametric speaker system |
CN104850278A (en) * | 2015-05-28 | 2015-08-19 | 北京京东方多媒体科技有限公司 | Non-contact control integrated machine and control method implemented by same |
US20170018282A1 (en) * | 2015-07-16 | 2017-01-19 | Chunghwa Picture Tubes, Ltd. | Audio processing system and audio processing method thereof |
CN206117976U (en) * | 2016-08-30 | 2017-04-19 | 江西联创宏声电子股份有限公司 | Intelligent sound box |
CN106686188A (en) * | 2016-12-29 | 2017-05-17 | 广东小天才科技有限公司 | Play control method of wearable device and wearable device |
CN107171738A (en) * | 2017-06-29 | 2017-09-15 | 深圳传音控股有限公司 | The apparatus and method that ultrasonic propagation is carried out to audio |
-
2018
- 2018-01-10 CN CN201810022097.4A patent/CN108305638B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1378764A (en) * | 1999-08-26 | 2002-11-06 | 美国技术公司 | Modulator processing for parametric speaker system |
CN104850278A (en) * | 2015-05-28 | 2015-08-19 | 北京京东方多媒体科技有限公司 | Non-contact control integrated machine and control method implemented by same |
US20170018282A1 (en) * | 2015-07-16 | 2017-01-19 | Chunghwa Picture Tubes, Ltd. | Audio processing system and audio processing method thereof |
CN206117976U (en) * | 2016-08-30 | 2017-04-19 | 江西联创宏声电子股份有限公司 | Intelligent sound box |
CN106686188A (en) * | 2016-12-29 | 2017-05-17 | 广东小天才科技有限公司 | Play control method of wearable device and wearable device |
CN107171738A (en) * | 2017-06-29 | 2017-09-15 | 深圳传音控股有限公司 | The apparatus and method that ultrasonic propagation is carried out to audio |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831583A (en) * | 2019-01-28 | 2019-05-31 | 维沃移动通信有限公司 | A kind of audio play control method and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN108305638B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108227897A (en) | Control method for screen display, flexible screen terminal and computer readable storage medium | |
CN107608514A (en) | Information processing method and mobile terminal | |
CN107799125A (en) | A kind of audio recognition method, mobile terminal and computer-readable recording medium | |
CN107302624A (en) | A kind of screen prjection method, terminal and computer-readable recording medium | |
CN108803963A (en) | A kind of screenshotss method and mobile terminal | |
CN109547054A (en) | Signal control circuit, terminal device and signal control method | |
CN108540655A (en) | A kind of caller identification processing method and mobile terminal | |
CN107911445A (en) | A kind of information push method, mobile terminal and storage medium | |
CN108366220A (en) | A kind of video calling processing method and mobile terminal | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN108111678A (en) | A kind of information cuing method and mobile terminal | |
CN108762869A (en) | A kind of information processing method and mobile terminal | |
CN109343788A (en) | A kind of method of controlling operation thereof and mobile terminal of mobile terminal | |
CN107835495A (en) | A kind of message prompt method, device and mobile terminal | |
CN107785027A (en) | A kind of audio-frequency processing method and electronic equipment | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN108683980A (en) | A kind of transmission method and mobile terminal of audio signal | |
CN108664818A (en) | A kind of unlock control method and device | |
CN109348035A (en) | A kind of recognition methods of telephone number and terminal device | |
CN110457716A (en) | A kind of speech output method and mobile terminal | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN108632535A (en) | A kind of image processing method and mobile terminal | |
CN109068084A (en) | Video calling picture display process, mobile terminal and computer readable storage medium | |
CN108632718A (en) | A kind of method and system that audio is shared |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |