CN105812586B - Quickly mute method and mobile terminal - Google Patents
Quickly mute method and mobile terminal Download PDFInfo
- Publication number
- CN105812586B CN105812586B CN201610383508.3A CN201610383508A CN105812586B CN 105812586 B CN105812586 B CN 105812586B CN 201610383508 A CN201610383508 A CN 201610383508A CN 105812586 B CN105812586 B CN 105812586B
- Authority
- CN
- China
- Prior art keywords
- difference
- audio signal
- frequency
- mobile terminal
- amplitude
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The present invention relates to the communications fields of terminal, disclose a kind of quick mute method, comprising: obtain the mobile terminal and be converted to the former audio signal put outside;The mobile terminal, which is received, by audio receiver outer puts audio signal by what loudspeaker exported;When detecting that the variable for putting audio signal and the former audio signal outside meets preset require, judges whether there is and put volume adjustment event outside;If so, the mobile terminal is adjusted to mute state.The invention also discloses a kind of mobile terminals, for realizing the above method.The embodiment of the present invention, which is able to achieve, enables the quick mute purpose of mobile terminal.
Description
Technical field
The present invention relates to the terminal communications field more particularly to a kind of quick mute methods and mobile terminal.
Background technique
With the development of science and technology, requirement of the user to the music playback function of mobile terminal is higher and higher.At the same time, exist
Under certain scenes, user needs to be rapidly closed the sound of mobile terminal again, to avoid there is awkward situation.Such as in meeting room
In, incoming ring tone that user needs quick closedown mobile terminal to sound suddenly.Certainly, the sound that this loudspeaker is played is unlimited
In incoming ring tone, it is also possible to other sound that mobile terminal is put outside.
In order to realize the mute of mobile terminal, following two method is generally used.One is passing through the certain journeys of touch operation
Sequence or closing software switch make mobile terminal mute, but its operating process slightly shows cumbersome, is not able to satisfy quickly mute demand,
Especially when user thinks that comparison is urgent, there is the suspicion for reducing user experience.The second is passing through the side for increasing hardware switch
Case realization is mute, relatively more convenient, but may will affect the good appearance degree of mobile terminal, moreover, because every shifting
The mute shortcut key of dynamic terminal is all different, and can also lead to the problem of user can not once find these shortcut keys in the moment of desperation.
Therefore, mobile terminal muting schemes in the prior art are all difficult to meet the quick mute hope of user.
Summary of the invention
The embodiment of the present invention provides a kind of quick mute method and mobile terminal, to solve in the prior art, Bu Nengling
Mobile terminal rapidly mute problem.
In a first aspect, the embodiment of the invention provides a kind of quick mute methods, comprising:
It obtains the mobile terminal and is converted to the former audio signal put outside;
The mobile terminal, which is received, by audio receiver outer puts audio signal by what loudspeaker exported;
When detecting that the outer variable for putting audio signal and the former audio signal meets preset require, judge whether
Volume adjustment event is put outside having;
If so, the mobile terminal is adjusted to mute state.
On the other hand, the embodiment of the invention also provides a kind of mobile terminals, comprising:
Module is obtained, is converted to the former audio signal put outside for obtaining the mobile terminal;
Receiving module is believed for receiving the outer playback frequency that the mobile terminal is exported by loudspeaker by audio receiver
Number;
Judgment module detects that the outer variable for putting audio signal and the former audio signal meets preset want for working as
When asking, judges whether there is and put volume adjustment event outside;
Module is adjusted, for the mobile terminal to be adjusted to mute state.
The embodiment of the present invention is converted to the former audio signal put outside by obtaining the mobile terminal;Pass through audio receiver
It receives the mobile terminal and outer puts audio signal by what loudspeaker exported;Audio signal and the original are put outside described when detecting
When the variable of audio signal meets preset require, judges whether there is and put volume adjustment event outside;If so, by the mobile terminal tune
Whole is mute state.The embodiment of the present invention can cover the mobile terminal when wishing that mobile terminal is mute by detecting user
The instinct of loudspeaker acts, and realizes and enables mobile terminal rapidly mute purpose, the user experience is improved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, the attached drawing that drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow diagram of quick mute method first embodiment of the invention;
Fig. 2 is the flow diagram of quick mute method second embodiment of the invention;
Fig. 3 is the flow diagram of quick mute method 3rd embodiment of the invention;
Fig. 4 is the structural schematic diagram of the first embodiment of mobile terminal of the invention;
Fig. 5 is the structural schematic diagram of the second embodiment of mobile terminal of the invention;
Fig. 6 is the structural schematic diagram of the judgment module of the second embodiment of mobile terminal of the invention;
Fig. 7 is another structural schematic diagram of the second embodiment of mobile terminal of the invention;
Fig. 8 is the block diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
In order to which the technical problems, technical solutions and beneficial effects solved by the present invention is more clearly understood, below in conjunction with
Accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used
To explain the present invention, it is not intended to limit the present invention.
As shown in Figure 1, being the flow diagram of quick mute method first embodiment of the invention.This method is applied to move
Dynamic terminal, this method includes S101-S104:
S101 obtains mobile terminal and is converted to the former audio signal put outside.
In this step, it is assumed that volume has 10 lattice, currently plays an audio file with the volume of 5 lattice.Former audio signal is 5
The audio signal of lattice volume is that mobile terminal intends the audio signal played out with the volume.
S102 receives mobile terminal by audio receiver and outer puts audio signal by what loudspeaker exported.
In the present embodiment, when loudspeaker play it is outer sound reproduction sound movement when, it is outer this can be acquired by microphone
What is put outer puts audio signal.Putting audio signal outside is the practical audio signal by putting broadcasting outside.Audio signal and former sound are put outside
Frequency signal is influenced by various factors might not be identical.
S103 is judged whether there is when detecting that the variable for putting audio signal and former audio signal outside meets preset require
Volume adjustment event is put outside.
It in this step, the former audio signal that will acquire and puts audio signal outside and is analyzed, based on analysis result judgement
Whether the loudspeaker is covered when playing outer sound reproduction sound.Such as based on former audio signal comparison, which increases suddenly
By force, judge whether outer playback amount adjusts because of artificial or other factors at this time.
S104, if so, mobile terminal is adjusted to mute state.
In the present embodiment, it is not adjusted volume when judging loudspeaker sound reproduction sound outside playing, and includes
The case where volume reduces or increases can then know that user wants to stop the demand of the outer sound reproduction sound and mute speaker, at this point,
Mobile terminal is adjusted to mute state.
The embodiment of the present invention is converted to the former audio signal put outside by obtaining mobile terminal;It is received by audio receiver
Mobile terminal outer puts audio signal by what loudspeaker exported;When detecting the variable symbol for putting audio signal and former audio signal outside
When closing preset require, judges whether there is and put volume adjustment event outside;If so, mobile terminal is adjusted to mute state.The present invention
Embodiment, the instinct by detecting the loudspeaker that user can cover the mobile terminal when wishing that mobile terminal is mute acts, real
Mobile terminal rapidly mute purpose is now enabled, the user experience is improved.
As shown in Fig. 2, being the flow diagram of the second embodiment of quick mute method of the invention.This method is applied to
Mobile terminal, this method include S201-S205:
S201 obtains mobile terminal and is converted to the former audio signal put outside.
S202 receives mobile terminal by audio receiver and outer puts audio signal by what loudspeaker exported.
S201-S202 is identical as the corresponding steps of first embodiment of quick mute method of the embodiment of the present invention, herein
It repeats no more.
S203 obtains outer the first difference and the second difference for putting audio signal and former audio signal, when the second difference obtains
Between after the first difference.
In the present embodiment, should based on former audio signal and its it is corresponding it is outer put audio signal and analyzed, the original of sampling
Audio signal and outer audio signal of putting are with identical audio content.Due to consideration that mobile terminal may natively be placed on user
Bag or pocket in or its loudspeaker place facing downward on the table, being not at this time loudspeaker is playing outer sound reproduction
It is artificially blocked when sound.To exclude above situation, can be realized by the state that is successively blocked of detection loudspeaker.Wherein,
Both the first difference occurred in different time points and second difference itself be can analyze, also can analyze and be developed to from the first difference
The process of second difference.
In the present embodiment, S203 further include:
The outer amplitude for putting audio signal and former audio signal is obtained, the first amplitude difference and the second difference of vibration are respectively obtained
Value.
In the present embodiment, audio receiver is set to beside loudspeaker, and in sound outlet hole, the first difference includes the first difference of vibration
Value, the second difference include the second amplitude difference.Wherein, former audio signal or outside put audio signal amplitude that is, the sound or return
The volume of sound, amplitude is bigger to illustrate that energy is bigger, then corresponding volume is also bigger.Due to different time points outer playback collected
The sample of frequency signal may be different, and corresponding original audio signal is also different, and analysis is needed to obtain the former audio at a time point
Signal and the first amplitude difference for putting audio signal outside, and put in another time point original audio signal and outside the second of audio signal
Amplitude difference.
S204, judges whether the variable of the first difference and the second difference meets preset requirement.
The present embodiment, by judging whether the variable of the first difference and the second difference meets preset require it is known that volume
Front and back variable condition.
In the present embodiment, S204 further include:
When the second amplitude difference is greater than the first amplitude difference, the variable of the second amplitude difference and the first amplitude difference is judged
Whether preset amplitude difference is greater than.
Accordingly, when audio receiver is set to loudspeaker side and in sound outlet hole, such as the second amplitude difference is greater than
First amplitude difference, it is known that it is bigger that latter time point gets outer audio signal volume after reverberation of putting, herein can be one first
Preset amplitude difference is set, it, can if the variable of the second amplitude difference and the first amplitude difference is greater than preset amplitude difference at this time
Distance change to know loudspeaker at this time and shelter (such as palm) is sufficiently large, and then judges that the loudspeaker is playing outer put
It is possible to artificially be blocked when sound.
S205, if so, putting volume adjustment event outside judging whether there is.
In the present embodiment, if the second amplitude difference is greater than the first amplitude difference, and the second amplitude difference and the first difference of vibration
The variable of value is greater than preset amplitude difference, illustrates that put audio signal outside increases suddenly, has further determined whether outer playback at this time
Measure adjustment event.
As the another embodiment of the present embodiment, S203 includes following two step:
The frequency for obtaining the outer frequency for putting audio signal and former audio signal respectively obtains first frequency difference and the second frequency
Rate difference.
In the present embodiment, audio receiver is set to by loudspeaker, and the first difference includes first frequency difference, the second difference
Including second frequency difference.Former audio signal puts the frequency of audio signal that is, the tone of the original audio or outer playback frequency outside,
Frequency is higher to reflect that tone is bigger.According to Doppler effect, the frequency of sound itself is constant, but due to sound source and is connect
Relative motion is produced between receiving end, so frequency shift received by receiving end.This is also frequency offset phenomena.Because when
When sound source is from receiving end, the wavelength of sound wave increases, and tone becomes droning, when sound source is close to receiving end, the wavelength of sound wave
Reduce, tone is just got higher.The variation of tone is related with the ratio of relative velocity and the velocity of sound between sound source and receiving end.This ratio
It is bigger, change more significant.It is that Doppler effect is utilized herein.
And S204 then includes:
When second frequency difference is greater than first frequency difference, the variable of second frequency difference Yu first frequency difference is judged
Whether predetermined frequency difference is greater than.
In the present embodiment, when shelter (such as palm) can produce opposite relative motion, the second frequency between loudspeaker
Rate difference be it is acquired when shelter is close to loudspeaker, then the second frequency difference got is more compared to first frequency difference
Greatly, by judging whether second frequency difference and the variable of first frequency difference are greater than predetermined frequency difference, it is known that shelter with
The successive distance change situation of loudspeaker.
S206, if so, mobile terminal is adjusted to mute state.
S206 is identical as the corresponding steps of first embodiment of quick mute method of the embodiment of the present invention, no longer superfluous herein
It states.
Quick mute method provided in an embodiment of the present invention, by the original for analyzing the first occlusion state and the second occlusion state
Audio signal and put the amplitude of audio signal or the variation of frequency outside, judge loudspeaker whether when playing outer sound reproduction sound by people
To block, realizes accurately to analyze with accurately judging and execute the mute movement of mobile terminal, improve user experience.
As shown in figure 3, being the flow diagram of the 3rd embodiment of quick mute method of the invention.This method is applied to
Mobile terminal, this method include S301-S305:
S301 obtains mobile terminal and is converted to the former audio signal put outside.
S302 receives mobile terminal by audio receiver and outer puts audio signal by what loudspeaker exported.
S301-S302 is identical as the corresponding steps of first embodiment of quick mute method of the embodiment of the present invention, herein
It repeats no more.
S303 obtains the outer variable for putting audio signal and former audio signal, obtains shelter at a distance from loudspeaker and screening
The quality of block material.
In the present embodiment, the method for echolocation can be used to know shelter at a distance from loudspeaker and the screening
The quality of block material.For example, bat can issue sharp cry, then the echo that surrounding transmits is collected with sensitive ear.Echo meeting
Tell that whether the position of object and size and object are in movement near bat.It wherein, is guarantee analysis as a result, can pass through
Loudspeaker plays the high-frequency sound that the mankind can not hear simultaneously when playing audio, can be more accurate by analyzing the high-frequency sound
Ground obtains the information such as the quality of shelter.Sound ranging is the prior art, is not repeated herein.By being prestored not in mobile terminal
Same quality blocks the signal of return, to parse influence of the corresponding quality to the audio of sending, then can be inferred that the screening
The quality of block material.For example, having hand and no hand by acquisition when audio collection device is arranged by loudspeaker and in sound outlet hole
The audio signal for blocking sound outlet hole can detecte out the difference of the two, and then obtain the signal intensity in one's hands for blocking sound outlet hole.Again
Sound outlet hole is blocked using handbag, and acquires audio signal at this time, which is matched with handbag.So analogize,
Acquisition many kinds of substance blocks the audio signal of sound outlet hole return and establishes corresponding relationship, then can be believed according to the audio acquired in real time
Number it is inferred to the quality of shelter.
S304 is judged whether there is when distance and quality meet preset require and outer is put volume adjustment event.
In the present embodiment, when analyzing when being closer and being the palm of people of shelter, then the loudspeaking may determine that
Device is artificially blocked.
S305, if so, mobile terminal is adjusted to mute state.
S305 is identical as the corresponding steps of first embodiment of quick mute method of the embodiment of the present invention, no longer superfluous herein
It states.
Quick mute method provided in an embodiment of the present invention, through analysis shelter at a distance from loudspeaker and shelter
Quality, judge whether loudspeaker is artificially blocked when playing outer sound reproduction sound, realize accurately to analyze and accurately
Judge to improve user experience to execute the mute movement of mobile terminal.
The embodiment of the quick mute method of mobile terminal of the present invention is discussed in detail above.It will correspond to below
The device (i.e. mobile terminal) for stating method is further elaborated.Wherein, mobile terminal can be mobile phone with Android system, flat
Plate computer, wearable device, MP3 or MP4 etc..
As shown in figure 4, being the structural schematic diagram of the first embodiment of mobile terminal of the invention.For realizing the above method
First embodiment in quick mute method.Mobile terminal 100 includes obtaining module 101, receiving module 102, judgment module
103 and adjustment module 104.
Module 101 is obtained, is connected with receiving module 102, is converted to the former audio put outside letter for obtaining mobile terminal
Number.
In the present embodiment, module 101 is obtained to detect by the internal component of mobile terminal and get loudspeaker just
In the former audio signal of the outer sound reproduction sound of broadcasting.
Receiving module 102 is connected with judgment module 103, for receiving mobile terminal by raising by audio receiver
The outer of sound device output puts audio signal.
In the present embodiment, raise one's voice to its utmost outside left broadcasting when loudspeaker sound movement when, it is outer this can be acquired by microphone
Sound reproduction the outer of sound puts audio signal.
Judgment module 103 is connected with adjustment module 104, for outer putting audio signal and former audio signal when detecting
Variable when meeting preset require, judge whether there is and outer put volume adjustment event;
It the former audio signal that will acquire and puts audio signal outside and is analyzed, judge that the loudspeaker is based on analysis result
It is no to be covered when playing outer sound reproduction sound.Such as based on former audio signal comparison, which enhances suddenly, judges at this time
Whether outer playback amount adjusts because of artificial or other factors.
Module 104 is adjusted, for mobile terminal to be adjusted to mute state.
S104, if so, mobile terminal is adjusted to mute state.
In the present embodiment, it is not adjusted volume when judging loudspeaker sound reproduction sound outside playing, then can known
User wants to stop the demand of the outer sound reproduction sound and mute speaker, at this point, mobile terminal is adjusted to mute state.
Mobile terminal provided in an embodiment of the present invention is converted to the former audio signal put outside by obtaining mobile terminal;It is logical
It crosses audio receiver and receives mobile terminal and outer put audio signal by what loudspeaker exported;Audio signal and original are put outside when detecting
When the variable of audio signal meets preset require, judges whether there is and put volume adjustment event outside;If so, mobile terminal is adjusted to
Mute state.The embodiment of the present invention can cover the loudspeaking of the mobile terminal when wishing that mobile terminal is mute by detecting user
The instinct of device acts, and realizes and enables mobile terminal rapidly mute purpose, the user experience is improved.
As shown in figure 5, being the structural schematic diagram of the second embodiment of mobile terminal of the invention.For realizing the above method
Second embodiment in quick mute method.Mobile terminal 200 includes obtaining module 201, receiving module 202, judgment module
203 and adjustment module 204.
Module 201 is obtained, is connected with receiving module 202, is converted to the former audio put outside letter for obtaining mobile terminal
Number.
Receiving module 202 is connected with judgment module 203, for receiving mobile terminal by raising by audio receiver
The outer of sound device output puts audio signal.
Obtain the respective mode of the first embodiment of the mobile terminal of module 201 and receiving module 202 and the embodiment of the present invention
Block is identical, and details are not described herein again.
Judgment module 203 is connected with adjustment module 204, for outer putting audio signal and former audio signal when detecting
Variable when meeting preset require, judge whether there is and outer put volume adjustment event.
Judgment module 203 further includes the first acquisition submodule 231 and first judgment module 232, in which:
First acquisition submodule 231 is connected with the first judging submodule 232, for putting audio signal and original outside obtaining
The first difference and the second difference of audio signal, the second difference acquisition time is after the first difference.
In the present embodiment, should based on former audio signal and its it is corresponding it is outer put audio signal and analyzed, the original of sampling
Audio signal and outer audio signal of putting are with identical audio content.Due to consideration that mobile terminal may natively be placed on user
Bag or pocket in or its loudspeaker place facing downward on the table, being not at this time loudspeaker is playing outer sound reproduction
It is artificially blocked when sound.To exclude above situation, can be realized by the state that is successively blocked of detection loudspeaker.Wherein,
Both the first difference occurred in different time points and second difference itself be can analyze, also can analyze and be developed to from the first difference
The process of second difference.
Wherein, the first acquisition submodule 231 further includes amplitude acquiring unit 2311:
Amplitude acquiring unit 2311 respectively obtains first for obtaining the amplitude for putting audio signal and former audio signal outside
Amplitude difference and the second amplitude difference.
In the present embodiment, audio receiver is set in loudspeaker, and the first difference includes the first amplitude difference, the second difference packet
Include the second amplitude difference.Wherein, former audio signal or the outer amplitude that is, the volume of the sound or echo for putting audio signal, amplitude
Bigger to illustrate that energy is bigger, then corresponding volume is also bigger.Due to the different time points outer sample for putting audio signal collected
May be different, corresponding original audio signal is also different, and analysis is needed to obtain former audio signal and outer playback at a time point
First amplitude difference of frequency signal, and in another time point original audio signal and the second amplitude difference for putting audio signal outside.
First judging submodule 232, is connected with third judging submodule 233, for judging the first difference and second poor
Whether the variable of value meets preset requirement.
The present embodiment, by judging whether the variable of the first difference and the second difference meets preset require it is known that volume
Front and back variable condition.
First judging submodule 232 further include:
Amplitude judging unit 2321, for judging the second difference of vibration when the second amplitude difference is greater than the first amplitude difference
Whether the variable of value and the first amplitude difference is greater than preset amplitude difference.
Correspondingly, when audio receiver is set in loudspeaker, such as the second amplitude difference is greater than the first amplitude difference, it is known that
It is bigger that latter time point gets outer audio signal volume after reverberation of putting, herein can the preset amplitude difference of a first setting,
If at this time the variable of the second amplitude difference and the first amplitude difference be greater than preset amplitude difference, it is known that at this time loudspeaker and
The distance change of shelter (such as palm) is sufficiently large, and then judges that the loudspeaker is possible to artificial when playing outer sound reproduction sound
It blocks.
Third judges word modules 233, for putting volume adjustment event outside judging whether there is.
In the present embodiment, if the second amplitude difference is greater than the first amplitude difference, and the second amplitude difference and the first difference of vibration
The variable of value is greater than preset amplitude difference, illustrates that put audio signal outside increases suddenly, has further determined whether outer playback at this time
Measure adjustment event.
As shown in fig. 6, the structural schematic diagram of the judgment module 203 for the second embodiment of mobile terminal of the invention.Make
For the another embodiment of the present embodiment, the first acquisition submodule 231 further includes that frequency acquisition unit 2312 and frequency calculate
Unit 2313.
Frequency acquisition unit 2312 is connected with frequency acquisition unit 2312, for obtaining the frequency for putting audio signal outside
With the frequency of former audio signal, first frequency difference and second frequency difference are respectively obtained.
In the present embodiment, audio receiver is set in loudspeaker, and the first difference includes first frequency difference, the second difference
Including second frequency difference.Former audio signal puts the frequency of audio signal that is, the tone of the original audio or outer playback frequency outside,
Frequency is higher to reflect that tone is bigger.According to Doppler effect, the frequency of sound itself is constant, but due to sound source and is connect
Relative motion is produced between receiving end, so frequency shift received by receiving end.This is also frequency offset phenomena.Because when
When sound source is from receiving end, the wavelength of sound wave increases, and tone becomes droning, when sound source is close to receiving end, the wavelength of sound wave
Reduce, tone is just got higher.The variation of tone is related with the ratio of relative velocity and the velocity of sound between sound source and receiving end.This ratio
It is bigger, change more significant.It is that Doppler effect is utilized herein.
First judging submodule 232 then includes:
Frequency judging unit 2322, for judging that second frequency is poor when second frequency difference is greater than first frequency difference
Whether the variable of value and first frequency difference is greater than predetermined frequency difference.
In the present embodiment, when shelter (such as palm) can produce opposite relative motion, the second frequency between loudspeaker
Rate difference be it is acquired when shelter is close to loudspeaker, then the second frequency difference got is more compared to first frequency difference
Greatly, by judging whether second frequency difference and the variable of first frequency difference are greater than predetermined frequency difference, it is known that shelter with
The successive distance change situation of loudspeaker.
Module 204 is adjusted, for mobile terminal to be adjusted to mute state.
It is identical as the corresponding module of the first embodiment of the mobile terminal of the embodiment of the present invention to adjust module 204, herein not
It repeats again.
Mobile terminal provided in an embodiment of the present invention, by the former audio for analyzing the first occlusion state and the second occlusion state
Signal and the amplitude of audio signal or the variation of frequency are put outside, judge whether loudspeaker is artificially hidden when playing outer sound reproduction sound
Gear realizes accurately to analyze with accurately judging and execute the mute movement of mobile terminal, improves user experience.
As shown in fig. 7, being another structural schematic diagram of the second embodiment of mobile terminal of the invention.For realizing above-mentioned
Quick mute method in the 3rd embodiment of method.Mobile terminal 300 includes obtaining module 301, receiving module 302, judgement
Module 303 and adjustment module 304.
Module 301 is obtained, is connected with receiving module 302, is converted to the former audio put outside letter for obtaining mobile terminal
Number.
Receiving module 302 is connected with judgment module 303, for receiving mobile terminal by raising by audio receiver
The outer of sound device output puts audio signal.
Obtain the respective mode of the first embodiment of the mobile terminal of module 301 and receiving module 302 and the embodiment of the present invention
Block is identical, and details are not described herein again.
Judgment module 303 is connected with adjustment module 304, for outer putting audio signal and former audio signal when detecting
Variable when meeting preset require, judge whether there is and outer put volume adjustment event.
Wherein, judgment module 303 further includes the second acquisition submodule 331 and second judgment submodule 332.
Second acquisition submodule 331, is connected with second judgment submodule 332, for putting audio signal and original outside obtaining
The variable of audio signal obtains shelter at a distance from loudspeaker and the quality of shelter.
In the present embodiment, the method for echolocation can be used to know shelter at a distance from loudspeaker and the screening
The quality of block material.For example, bat can issue sharp cry, then the echo that surrounding transmits is collected with sensitive ear.Echo meeting
Tell that whether the position of object and size and object are in movement near bat.It wherein, is guarantee analysis as a result, can pass through
Loudspeaker plays the high-frequency sound that the mankind can not hear simultaneously when playing audio, can be more accurate by analyzing the high-frequency sound
Ground obtains the information such as the quality of shelter.
Second judgment submodule 332, for judging whether there is outer playback amount tune when distance and quality meet preset require
Section event.
In the present embodiment, when analyzing when being closer and being the palm of people of shelter, then the loudspeaking may determine that
Device is artificially blocked.
Module 304 is adjusted, for mobile terminal to be adjusted to mute state.
It is identical as the corresponding module of the first embodiment of the mobile terminal of the embodiment of the present invention to adjust module 304, herein not
It repeats again.
Mobile terminal provided in an embodiment of the present invention, through analysis shelter at a distance from loudspeaker and the matter of shelter
Ground, judges whether loudspeaker is artificially blocked when playing outer sound reproduction sound, realizes accurately to analyze and accurately judge
It executes the mute movement of mobile terminal, improves user experience.
Fig. 8 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in Fig. 8 includes: at least
One processor 701, memory 702, at least one network interface 704 and user interface 703.It is each in mobile terminal 700
Component is coupled by bus system 705.It is understood that bus system 705 is logical for realizing the connection between these components
Letter.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in fig. 8 various buses are all designated as bus system 705.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application
The program or instruction stored in program 7022, processor 701 are used to obtain the mobile terminal and are converted to the former audio letter put outside
Number;The mobile terminal, which is received, by audio receiver outer puts audio signal by what loudspeaker exported;It is described outer when detecting
When putting the variable of audio signal and the former audio signal and meeting preset require, judges whether there is and outer put volume adjustment event;If
It is that the mobile terminal is adjusted to mute state.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701.
Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing
Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App
LicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronic units for executing the application function or
In a combination thereof.
For software implementations, module (such as process, function etc.) Lai Shixian of execution function of the embodiment of the present invention can be passed through
The technology of the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can handled
Portion realizes in device or outside the processor.
Optionally, processor 701 is also used to: obtaining outer first difference for putting audio signal and the former audio signal
With the second difference, the second difference acquisition time is after first difference;Judge first difference and described second
Whether the variable of difference meets preset requirement.
Optionally, the outer amplitude for putting audio signal and the former audio signal is obtained, the first difference of vibration is respectively obtained
Value and the second amplitude difference;When second amplitude difference is greater than first amplitude difference, second difference of vibration is judged
Whether the variable of value and first amplitude difference is greater than preset amplitude difference.
Optionally, processor 701 is also used to: obtaining the frequency of the outer frequency for putting audio signal and the former audio signal
Rate respectively obtains the first frequency difference and the second frequency difference;When the second frequency difference is greater than described first
When frequency difference, judge whether the second frequency difference and the variable of the first frequency difference are greater than predetermined frequency difference.
Optionally, processor 701 is also used to: obtaining the comparison outer change for putting audio signal and the former audio signal
Amount obtains shelter at a distance from the loudspeaker and the quality of the shelter;When the distance and the quality meet it is pre-
It sets when requiring, judges whether there is and outer put volume adjustment event.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.Mobile terminal 700 is by analysis the first occlusion state and the second occlusion state, or analysis shelter and loudspeaker
The quality of distance and shelter, judges whether loudspeaker is artificially blocked when playing outer sound reproduction sound, realizes with accurate
Analysis and accurately judgement execute the mute movement of mobile terminal, improve user experience.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of quick mute method, is applied to mobile terminal characterized by comprising
It obtains the mobile terminal and is converted to the former audio signal put outside;
The mobile terminal, which is received, by audio receiver outer puts audio signal by what loudspeaker exported;
When detecting that the outer variable for putting audio signal and the former audio signal meets preset require, judge whether there is outer
Put volume adjustment event;
If so, the mobile terminal is adjusted to mute state.
2. the method as described in claim 1, which is characterized in that described ought detect puts audio signal and the former sound outside described
When the variable of frequency signal meets preset require, outer the step of putting volume adjustment event is judged whether there is, comprising:
Outer first difference and the second difference for putting audio signal and the former audio signal is obtained, second difference obtains
Time is after first difference;
Judge whether first difference and the variable of second difference meet preset requirement;
If so, putting volume adjustment event outside judging whether there is.
3. method according to claim 2, which is characterized in that the audio receiver is set in the loudspeaker, and described the
One difference includes the first amplitude difference, and second difference includes the second amplitude difference, and described obtain puts audio signal outside described
With the first difference and the second difference of the former audio signal, the second difference acquisition time is after first difference
Step, comprising:
The outer amplitude for putting audio signal and the former audio signal is obtained, the first amplitude difference and the second amplitude are respectively obtained
Difference;
It is described to judge whether first difference and the variable of second difference meet preset the step of requiring, comprising:
When second amplitude difference is greater than first amplitude difference, second amplitude difference and first vibration are judged
Whether the variable of width difference is greater than preset amplitude difference.
4. method according to claim 2, which is characterized in that the audio receiver is set in the loudspeaker, and described the
One difference includes first frequency difference, and second difference includes second frequency difference, and described obtain puts audio signal outside described
With the first difference and the second difference of the former audio signal, the second difference acquisition time is after first difference
Step, comprising:
The frequency for obtaining the outer frequency for putting audio signal and the former audio signal, respectively obtains the first frequency difference
With the second frequency difference;
It is described to judge whether first difference and the variable of second difference meet preset the step of requiring, comprising:
When the second frequency difference is greater than the first frequency difference, the second frequency difference and first frequency are judged
Whether the variable of rate difference is greater than predetermined frequency difference.
5. the method as described in claim 1, which is characterized in that described ought detect puts audio signal and the former sound outside described
When the variable of frequency signal meets preset require, outer the step of putting volume adjustment event is judged whether there is, comprising:
Obtain the outer variable for putting audio signal and the former audio signal, obtain shelter at a distance from the loudspeaker and
The quality of the shelter;
When the distance and the quality meet preset require, judges whether there is and put volume adjustment event outside.
6. a kind of mobile terminal characterized by comprising
Module is obtained, is converted to the former audio signal put outside for obtaining the mobile terminal;
Receiving module outer puts audio signal by what loudspeaker exported for receiving the mobile terminal by audio receiver;
Judgment module detects that the outer variable for putting audio signal and the former audio signal meets preset requirement for working as
When, it judges whether there is and puts volume adjustment event outside;
Module is adjusted, for the mobile terminal to be adjusted to mute state.
7. mobile terminal as claimed in claim 6, which is characterized in that the judgment module includes:
First acquisition submodule, for obtaining outer first difference for putting audio signal and the former audio signal and second poor
Value, the second difference acquisition time is after first difference;
First judging submodule, for judging whether first difference and the variable of second difference meet preset requirement;
Third judging submodule, for putting volume adjustment event outside judging whether there is.
8. mobile terminal as claimed in claim 7, which is characterized in that the audio receiver is set in the loudspeaker, institute
Stating the first difference includes the first amplitude difference, and second difference includes the second amplitude difference, the first acquisition submodule packet
It includes:
Amplitude acquiring unit respectively obtains first for obtaining the outer amplitude for putting audio signal and the former audio signal
Amplitude difference and the second amplitude difference;
First judging submodule includes:
Amplitude judging unit, for when second amplitude difference is greater than first amplitude difference, judging second vibration
Whether the variable of width difference and first amplitude difference is greater than preset amplitude difference.
9. mobile terminal as claimed in claim 7, which is characterized in that the audio receiver is set in the loudspeaker, institute
Stating the first difference includes first frequency difference, and second difference includes second frequency difference, described to obtain the outer playback frequency
The first difference and the second difference of signal and the former audio signal, first acquisition submodule include:
Frequency acquisition unit, for obtaining the frequency of the outer frequency for putting audio signal and the former audio signal, respectively
To the first frequency difference and the second frequency difference;
First judging submodule includes:
Frequency judging unit, for when the second frequency difference is greater than the first frequency difference, judging second frequency
Whether the variable of rate difference and the first frequency difference is greater than predetermined frequency difference.
10. mobile terminal as claimed in claim 6, which is characterized in that the judgment module includes:
Second acquisition submodule obtains shelter for obtaining the outer variable for putting audio signal and the former audio signal
With at a distance from the loudspeaker and the quality of the shelter;
Second judgment submodule, for judging whether there is outer playback amount when the distance and the quality meet preset require
Adjusting event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610383508.3A CN105812586B (en) | 2016-06-01 | 2016-06-01 | Quickly mute method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610383508.3A CN105812586B (en) | 2016-06-01 | 2016-06-01 | Quickly mute method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105812586A CN105812586A (en) | 2016-07-27 |
CN105812586B true CN105812586B (en) | 2019-05-17 |
Family
ID=56427848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610383508.3A Active CN105812586B (en) | 2016-06-01 | 2016-06-01 | Quickly mute method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105812586B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108432216B (en) * | 2016-11-01 | 2020-07-24 | 华为技术有限公司 | Volume adjustment method and device and electronic equipment |
CN106534578A (en) * | 2016-12-09 | 2017-03-22 | 联想(北京)有限公司 | Electronic equipment and sound control method thereof |
CN106933530A (en) * | 2017-02-28 | 2017-07-07 | 珠海市魅族科技有限公司 | Method for controlling volume and device |
CN107506168B (en) * | 2017-08-18 | 2022-06-14 | Oppo广东移动通信有限公司 | Volume adjusting method and device, terminal equipment and storage medium |
CN109495635A (en) * | 2018-12-04 | 2019-03-19 | 闻泰通讯股份有限公司 | Volume adjusting method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501375B (en) * | 2013-09-16 | 2017-04-19 | 华为终端有限公司 | Method and device for controlling sound effect |
CN103677714A (en) * | 2013-12-09 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104954555B (en) * | 2015-05-18 | 2018-10-16 | 百度在线网络技术(北京)有限公司 | A kind of volume adjusting method and system |
CN105260161A (en) * | 2015-10-29 | 2016-01-20 | 维沃移动通信有限公司 | Method for application software volume control and mobile terminal |
-
2016
- 2016-06-01 CN CN201610383508.3A patent/CN105812586B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105812586A (en) | 2016-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105812586B (en) | Quickly mute method and mobile terminal | |
CN106027809B (en) | A kind of adjusting method and mobile terminal of volume | |
CN106331371A (en) | Volume adjustment method and mobile terminal | |
CN108346433A (en) | A kind of audio-frequency processing method, device, equipment and readable storage medium storing program for executing | |
CN108430003A (en) | Audio compensation method and device, readable storage medium storing program for executing, terminal | |
CN104980820B (en) | Method for broadcasting multimedia file and device | |
CN106101909B (en) | A kind of method and mobile terminal of earphone noise reduction | |
CN107450883B (en) | A kind of audio data processing method, device and mobile terminal | |
CN107071119B (en) | A kind of sound removing method and mobile terminal | |
CN110265057A (en) | Generate multimedia method and device, electronic equipment, storage medium | |
CN109960616A (en) | The adjustment method and system of processor-based memory parameters | |
AU2013211541B2 (en) | Mobile apparatus and control method thereof | |
CN106454588A (en) | Earphone and earphone channel switching method | |
CN110809214B (en) | Audio playing method, audio playing device and terminal equipment | |
US20070297292A1 (en) | Method, computer program product and device providing variable alarm noises | |
CN105979052B (en) | Wind measurement method and mobile terminal | |
CN106817656B (en) | A kind of outer method and mobile terminal for putting sound system audio calibration | |
CN109218957A (en) | It utters long and high-pitched sounds detection method, device, electronic equipment and storage medium | |
CN113170268B (en) | Method and device for detecting probability silent fault | |
CN105611014A (en) | Method and device for mobile terminal call voice noise reduction | |
WO2012092731A1 (en) | Electronic terminal and ring prompt method of the electronic terminal | |
CN107403627A (en) | Sound source calibration system and method | |
CN106714038B (en) | A kind of control method and mobile terminal of sound intensity | |
CN107506167A (en) | Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal | |
CN110223677A (en) | Spatial audio signal filtering |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211210 Address after: 518048 room 901, building 1, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province Patentee after: SHENZHEN IOCO COMMUNICATION SOFTWARE Co.,Ltd. Address before: 523000 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. |