CN108540672A - Air blowing triggering method and terminal device - Google Patents
Air blowing triggering method and terminal device Download PDFInfo
- Publication number
- CN108540672A CN108540672A CN201810652916.3A CN201810652916A CN108540672A CN 108540672 A CN108540672 A CN 108540672A CN 201810652916 A CN201810652916 A CN 201810652916A CN 108540672 A CN108540672 A CN 108540672A
- Authority
- CN
- China
- Prior art keywords
- sound wave
- preset
- wave signal
- parameter information
- triggering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007664 blowing Methods 0.000 title claims abstract description 95
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000004140 cleaning Methods 0.000 claims description 25
- 239000010813 municipal solid waste Substances 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 9
- 230000002045 lasting effect Effects 0.000 claims description 2
- 230000009471 action Effects 0.000 abstract description 12
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000010295 mobile communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000003491 array Methods 0.000 description 3
- 101000893549 Homo sapiens Growth/differentiation factor 15 Proteins 0.000 description 2
- 101000692878 Homo sapiens Regulator of MON1-CCZ1 complex Proteins 0.000 description 2
- 102100026436 Regulator of MON1-CCZ1 complex Human genes 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present embodiments relate to mobile communication technology field, a kind of air blowing triggering method and terminal device are disclosed.The air blowing triggering method includes:Obtain the characteristic parameter information of acoustic signals;Judge whether acoustic signals meet default air blowing trigger condition according to characteristic parameter information, when acoustic signals meet and preset air blowing trigger condition, executes and preset trigger event.Embodiment of the present invention can improve the convenience of operation and intelligent, to promote user experience by identifying blowing action triggering application.
Description
Technical Field
The embodiment of the invention relates to the technical field of mobile communication, in particular to a blowing triggering method and terminal equipment.
Background
With the rapid development of science and technology, terminal devices such as smart phones play more and more important roles in the work and life of people. The traditional intelligent terminal application opening mode generally comprises the steps of firstly unlocking a screen, then entering a desktop menu to find an application to be unlocked, and finally clicking an icon of the application to open the application.
The inventor finds that at least the following problems exist in the prior art: as more and more applications are installed on the smart terminal, the application opening method becomes complicated and time-consuming, and user experience is seriously affected. Nowadays, manufacturers are increasingly focusing on the use experience of the product. Under the condition that hardware configuration is largely the same as or different from each other, better use experience becomes an important aspect for improving product value, and therefore, the method is favorable for improving the competitiveness of products by improving the existing click triggering and application opening mode.
Disclosure of Invention
The embodiment of the invention aims to provide a blowing triggering method and terminal equipment, which can improve the convenience and intelligence of operation by identifying blowing action triggering application, so that the use experience of a user is improved.
In order to solve the technical problem, an embodiment of the present invention provides a blowing triggering method, including: acquiring characteristic parameter information of the acoustic wave signal; and judging whether the sound wave signal meets a preset air blowing triggering condition or not according to the characteristic parameter information, and executing a preset triggering event when the sound wave signal meets the preset air blowing triggering condition.
An embodiment of the present invention further provides a terminal device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the insufflation triggering method as previously described.
Compared with the prior art, the method and the device have the advantages that the characteristic parameter information of the sound wave signal is obtained, whether the sound wave signal meets the preset air blowing triggering condition or not is judged according to the characteristic parameter information, and the preset triggering event is executed when the sound wave signal meets the preset air blowing triggering condition. That is to say, as long as the user blows towards the MIC pickup area of the electronic device, the method of the present invention can use the identified user blowing event as the trigger instruction of the preset trigger event, so as to trigger the execution of the preset trigger event, and the user does not need to perform the tedious search click operation, so that the convenience and intelligence of the operation can be improved, and the user experience can be improved.
In addition, the characteristic parameter information includes at least: amplitude parameter information; the acquiring of the characteristic parameter information of the acoustic wave signal specifically includes: acquiring recording data of the sound wave signal; extracting N sound wave amplitudes of the sound wave signals from the recorded sound data, wherein N is a natural number greater than or equal to 2; calculating to obtain the sum of M powers of absolute values of the N sound wave amplitudes, wherein M is a natural number greater than or equal to 2; calculating to obtain M-th square root of the sum; the M power of the sum is eradicated by the N to obtain the amplitude parameter information; the judging whether the sound wave signal meets a preset blowing triggering condition or not according to the characteristic parameter information specifically comprises the following steps: and judging whether the sound wave signal meets a preset blowing triggering condition or not at least according to the amplitude parameter information. Therefore, the characteristics of dense waveform and large amplitude of sound wave signals of the air blowing action can be highlighted, and the air blowing event of the user can be accurately identified.
In addition, the judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information specifically comprises: and if the amplitude parameter information is greater than a preset amplitude threshold value, the sound wave signal meets the preset blowing triggering condition.
In addition, the characteristic parameter information further includes: a sample variance of absolute values of the N sound wave amplitudes; after extracting N sound wave amplitudes of the sound wave signals from the recording data, the method further comprises the following steps: calculating to obtain a sample variance of absolute values of the N sound wave amplitudes; the judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information specifically comprises the following steps: if the amplitude parameter information is larger than a preset amplitude threshold value and the sample variance is smaller than a preset variance, the sound wave signal meets the preset blowing triggering condition. Therefore, the blowing event of the user can be more accurately identified through the characteristics of dense waveform and large amplitude of the sound wave signal of the blowing action and the characteristics of small deviation of the volume signal.
In addition, the characteristic parameter information also comprises an air pressure parameter of the sound wave signal and sample variances of absolute values of N sound wave amplitudes; before judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information, the method further comprises the following steps: acquiring air pressure change parameters of the sound wave signals; calculating to obtain a sample variance of absolute values of the N sound wave amplitudes; the judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information specifically comprises the following steps: if the amplitude parameter information is greater than a preset amplitude threshold, the sample variance is less than a preset variance, and the air pressure variation parameter is greater than a preset air pressure variation threshold, the sound wave signal meets the preset air blowing triggering condition. Therefore, the blowing event of the user can be more accurately identified through the characteristics of the sound wave signal of the blowing action and the air pressure change parameters.
In addition, the preset trigger event is system cleaning and/or desktop arrangement; the acquiring of the recording data of the sound wave signal specifically includes: when the sound wave signal enters a preset interface, controlling a microphone to collect the sound wave signal at a preset interval, and obtaining recording data of the sound wave signal; or when detecting that the microphone enters a preset interface and a close trigger event of a sound pickup area of the microphone, starting the microphone to acquire sound wave signals and obtaining recording data of the sound wave signals.
In addition, the preset trigger event is desktop arrangement; the executing the preset trigger event specifically includes: sequentially acquiring the desktop icons from left to right and from top to bottom, and aligning and displaying the acquired desktop icons on the desktop from bottom to top and from right to left.
In addition, the preset trigger event is system cleaning; the executing the preset trigger event specifically includes: when the system is cleaned, a garbage can pattern is displayed in the center of a screen; displaying circular ring patterns surrounding the periphery of the garbage can patterns in a fluctuating mode to prompt a system to clean a progress state; and synchronously reducing the number of the dot garbage patterns displayed on the periphery of the garbage can pattern with the fluctuation mode so as to prompt the system cleaning progress. Therefore, the interestingness of system cleaning can be increased while the user can know the system cleaning progress conveniently.
In addition, the extracting N sound wave amplitudes of the sound wave signal from the recorded sound data specifically includes: and acquiring the N sound wave amplitudes according to an average interval in a time period lasting by the sound wave signal.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flow chart of a method of insufflation trigger of an embodiment of the present invention;
FIG. 2 is a flow chart of a insufflation triggering method in accordance with a first embodiment of the present invention;
FIG. 3 is a schematic audio frequency distribution of three sound wave signals;
fig. 4 is a partial configuration diagram of a terminal device of the air blowing triggering method according to the first embodiment of the present invention;
FIG. 5 is a flow chart of a insufflation triggering method in accordance with a second embodiment of the present invention;
FIG. 6 is a flow chart of a insufflation triggering method in accordance with a third embodiment of the present invention;
FIG. 7 is a flow chart of a insufflation triggering method in accordance with a fourth embodiment of the present invention;
FIG. 8 is a schematic diagram of a desktop layout according to a blowing triggering method of the fourth embodiment of the present invention;
FIG. 9 is a flow chart of a insufflation triggering method in accordance with a fifth embodiment of the present invention;
FIG. 10 is a schematic diagram of a system cleaning animation effect of a blowing triggering method according to a fifth embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
Referring to fig. 1, the present invention provides a blowing triggering method applied to an electronic device such as a smart phone and a tablet computer. Which includes steps 101 to 103.
Step 101: and acquiring characteristic parameter information of the acoustic wave signal.
Electronic equipment such as a mobile phone can receive acoustic wave signals through an MIC, the acoustic wave signals can be used for blowing air for a user, normal speaking for the user, wind sound, environmental noise and the like, and characteristic parameter information can be extracted from the acoustic wave signals so as to judge whether the received acoustic wave signals are acoustic wave signals caused by blowing air. Wherein, the acoustic wave signal of the blowing can be identified by detecting the characteristic parameter information of the frequency, the amplitude and the like of the acoustic wave signal. However, the present embodiment is not particularly limited to the characteristic parameter information of the acoustic wave signal.
Step 102: and judging whether the sound wave signal meets a preset air blowing triggering condition or not according to the characteristic parameter information, if so, executing the step 103, otherwise, returning to the step 101.
When the characteristic parameter information of the acoustic wave signal is frequency, whether the frequency of the acoustic wave signal is within a frequency range of air blowing can be judged, if so, a preset air blowing trigger condition is judged to be met, if not, the preset air blowing trigger condition is judged not to be met, the step 101 is returned to continue the detection until the detection is finished, and the time upper limit of each detection can be within a range of 10 seconds to 30 seconds. It should be noted that, when the characteristic parameter information of the sound wave signal is the sound wave amplitude, whether the sound wave amplitude is matched with the sound wave amplitude of the air blowing of the user can be judged according to the square sum of the sound wave amplitude and the mean value and/or the sample variance of the sound wave amplitude, so as to judge whether the sound wave amplitude meets the preset air blowing triggering condition.
Step 103: and executing a preset trigger event.
The preset trigger event is an event automatically executed by the electronic equipment when the preset blowing trigger condition is met, and the event can be preset and can be suitable for various functional applications in the electronic equipment.
Compared with the prior art, the method and the device have the advantages that the characteristic parameter information of the sound wave signal is obtained, whether the sound wave signal meets the preset air blowing triggering condition or not is judged according to the characteristic parameter information, and the preset triggering event is executed when the sound wave signal meets the preset air blowing triggering condition. That is to say, as long as the user blows towards the MIC pickup area of the electronic device, the method of the present invention can use the identified user blowing event as the trigger instruction of the preset trigger event, so as to trigger the execution of the preset trigger event, and the user does not need to perform the tedious search click operation, so that the convenience and intelligence of the operation can be improved, and the user experience can be improved.
Fig. 1 shows the general technical concept of the present invention, and the following describes a specific implementation of the air-blowing triggering method of the present embodiment by way of example, and the following is only a preferred implementation of the present invention and is not necessary to the present invention.
Referring to fig. 2, the method for triggering blowing according to the first embodiment of the present invention includes steps 201 to 207.
First, please refer to fig. 3, which shows 3 audio frequency distributions generated by normal speaking of the user, MIC blowing of the user, and ambient noise. After the inventor carefully studies the 3 audio distribution conditions, based on the fact that the waveform of the blowing sound is dense and the amplitude is large, a method for judging whether the preset blowing triggering condition is met or not by using the amplitude parameter information obtained by calculation in a specific calculation mode in the steps 201 to 207 is provided, so that the user blowing can be accurately distinguished from the normal speaking of the user and the environmental noise.
Step 201: and acquiring recording data of the sound wave signal.
The recorded data is, for example, data of a sound wave signal generated by the air blowing recorded when the user blows air against the sound pickup area of the MIC of the electronic apparatus.
Step 202: n sound wave amplitudes of the sound wave signal are extracted from the recorded sound data. Wherein N is a natural number greater than or equal to 2.
In one example, N sound wave amplitudes may be obtained at average intervals over a period of time during which the sound wave signal is sustained, so that the sound wave signal of the user's air blow may be more accurately distinguished. In practical application, the record data of several milliseconds is, for example, 10000 arrays, and the N sound wave amplitudes are, for example, 2000 arrays, that is, 2000 sound wave amplitudes, which are N of the 10000 arrays obtained according to the average interval.
Step 203: and calculating to obtain the sum of M powers of absolute values of N sound wave amplitudes.
Step 204: and calculating the M-th square root of the sum.
Step 205: and dividing the power M of the sum by N to obtain amplitude parameter information.
Step 206: and judging whether the amplitude parameter information is greater than a preset amplitude threshold value, if so, executing a step 206, otherwise, returning to the step 201.
Step 207: and executing a preset trigger event.
When M is equal to 2, the amplitude parameter information of steps 203 to 205 may be calculated by using the following calculation formula:
wherein V represents a sound wave amplitude, N is the number of sound wave amplitudes of a sound wave signal extracted from the recording data, N is any one of 1 st to N th,is the square of the amplitude of any one of the sound waves from 1 st to nth.
In the above formula, the power of the amplitude of each acoustic wave is the same as M. According to the embodiment, the absolute value of the original sound wave amplitude is squared, then the sum is squared, and finally the sum is averaged, so that the sound wave amplitude can be amplified to a certain degree, and the sound wave signal generated by blowing of a user can be accurately identified. Similarly, the amplitude parameter information can be calculated by calculating the higher power of the sound wave amplitude, and the details are not repeated here.
In step 206, when V > MIN _ VALUE, where MIN _ VALUE is a preset amplitude threshold, step 207 is executed, otherwise, step 201 is returned to.
Since the waveform of the blowing sound is dense and the amplitude is large, the amplitude parameter information is obtained through the calculation from the step 203 to the step 205, so that the blowing action of the user and other interference audio conditions can be obviously distinguished. Meanwhile, the inventor also verifies the conclusion through the debugging and verifying results shown in the table I.
Watch 1
It should be noted that, in the embodiment, the preset trigger event is, for example, system cleaning and/or desktop configuration, and the embodiment does not specifically limit the preset trigger event. System cleaning and desktop arrangement are common applications of smart phones and the like, and user experience can be obviously improved by optimizing a trigger mode of the smart phones.
In step 201, when it is detected that the sound wave enters the preset interface, the microphone is controlled to collect the sound wave signals at preset intervals, and the recording data of the sound wave signals are obtained. Specifically, when it is detected that the smartphone enters the Launcher interface, an individual thread may be started to use a system interface call mode at preset time intervals (i.e., preset intervals, which may be modified by a user), and the MIC is controlled by a processor, such as an ARM (Advanced RISC Machines, reduced instruction set processor, ARM for short), to record audio data of a fixed size, where the audio data is stored in an array mode, and then stored in a process running stack as a temporary variable, and waits for further processing in subsequent steps. The embodiment does not specifically limit the preset interface, and when the preset interface is a Laucher interface and the preset trigger event is desktop arrangement or system cleaning, normal use of a user is not affected. The microphone collects sound wave signals according to preset intervals, and power consumption is reduced.
In some examples, the microphone may be further activated to collect the sound wave signal when a proximity trigger event entering the preset interface and the sound pickup area of the microphone is detected, and record data of the sound wave signal is obtained. Referring to fig. 4, the proximity sensor 2 may be installed at any position around the pickup area of the MIC1, for example, on the left side, so that when desktop arrangement or system cleaning is required, a user only needs to enter a launcher interface and blow air to the MIC, when a proximity trigger event is detected by the proximity sensor, an acoustic signal may be picked up by the MIC, and whether the acoustic signal blows air to the user is automatically determined, thereby automatically triggering system cleaning or desktop arrangement, in this way, the microphone may be restarted when the blowing air of the user is accurately sensed, and power consumption is lower. In some examples, the proximity trigger event may be combined with other preset information to activate the microphone, which is not illustrated here.
According to the embodiment, the sound wave amplitude is extracted from the sound wave data by acquiring the sound wave signal recording data at average intervals, and then the sound wave amplitude is specifically processed according to the characteristics that the audio waveform is dense and the amplitude is large when the user blows, so that the user blowing operation can be more accurately identified, and when the user blowing operation is identified, the preset trigger events of system cleaning, desktop arrangement and the like can be automatically executed. Therefore, according to the embodiment, the preset trigger event can be started without complex icon searching and clicking operation of the user, so that the method is more convenient and intelligent, and meanwhile, the phenomena of excessive icons and redundant display on the desktop can be avoided, so that the physical examination of the user can be improved.
A second embodiment of the present invention relates to a method of insufflation trigger. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the first embodiment, whether the preset air blowing triggering condition is detected or not is judged through the amplitude parameter information. In the second embodiment of the present invention, the amplitude parameter information and the sample variance of the absolute value of the sound wave amplitude are used to determine whether the preset air-blowing triggering condition is detected, so that the accuracy of the air-blowing triggering condition can be further improved.
Referring to fig. 5, the method for triggering air blowing according to the present embodiment includes steps 501 to 508. Wherein steps 501 to 505 are the same as steps 201 to 205 of the first embodiment, respectively, and step 508 is the same as step 206, and are not repeated herein.
Referring to fig. 3, since the blowing sound has a dense waveform, a large amplitude, and a small deviation of the volume level in a period of time, the blowing action of the user and other disturbing audio conditions can be clearly distinguished by calculating the square and mean of the collected data (i.e., the sound wave amplitude) and the sample variance of the absolute value of the sound wave amplitude. The sample variance can reflect the deviation degree of each sound wave amplitude from the sound wave amplitude mean value, and the smaller the deviation degree is, the more stable the sound volume deviation is.
Step 506: and calculating to obtain the sample variance of the absolute values of the N sound wave amplitudes.
Wherein, the sample variance can be calculated by adopting the following formula:
wherein N is the number of sound wave amplitudes of a sound wave signal extracted from the recording data, N is any one of 1 st to Nth, and X isnIs the square of the amplitude of any one of the sound waves from 1 st to nth,is the N sound wave amplitude of the sound wave signal extracted from the recorded data.
Step 507: and judging whether the amplitude parameter information is greater than a preset amplitude threshold value and the sample variance is less than a preset variance, if so, executing the step 508, and if not, returning to the step 501.
Specifically, V is judged>MIN _ VALUE and
where MIN _ VALUE represents a predetermined amplitude threshold, such as the mean minimum and the square of the acoustic amplitude calculated using a plurality of samples, and MAX _ variance represents a predetermined variance, such as the minimum of the sample variance.
Because the waveform of the blowing sound is dense, the amplitude is large, and the deviation of the volume in a period of time is small, the amplitude parameter information and the sample variance obtained by the calculation in the steps 503 to 506 can more accurately distinguish the audio conditions of the blowing action and other interferences of the user. Meanwhile, the inventor also verifies the conclusion through the debugging and verifying results shown in the second table.
Watch two
Compared with the first embodiment, the embodiment of the invention simultaneously utilizes the amplitude parameter information and the sample variance to judge whether the sound wave signal is the audio signal generated by the user blowing action, namely, the sound wave signal is judged from the information of multiple dimensions, so that the user blowing event can be more accurately identified, and the accuracy of the user blowing detection is further improved.
A third embodiment of the present invention relates to an insufflation triggering method. The third embodiment is substantially the same as the second embodiment, and mainly differs in that: in the second embodiment, the amplitude parameter information and the sample variance of the absolute value of the sound wave amplitude are used simultaneously to determine whether the preset blowing trigger condition is detected. In the third embodiment of the present invention, the amplitude parameter information, the sample variance of the absolute value of the sound wave amplitude, and the air pressure parameter of the sound wave signal are used to determine whether the preset air blowing triggering condition is detected, so that the accuracy of the air blowing triggering condition can be further improved.
Referring to fig. 6, the method for triggering air blowing according to the present embodiment includes steps 601 to 609. Steps 601 to 606 are the same as steps 501 to 506 of the second embodiment, and step 609 is the same as step 508, which is not repeated herein.
Step 607: and acquiring the air pressure change parameters of the sound wave signals.
Here, similar to the proximity sensor in the first embodiment, the gas pressure sensor may be provided at any position around the sound pickup area of the MIC1, for example, at the right side, so that when the user blows air to the MIC, not only audio data (i.e., recorded data) may be acquired, but also a change in gas pressure before and after the blowing may be detected by the gas pressure sensor.
Step 608: judging whether the amplitude parameter information is greater than a preset amplitude threshold, whether the sample variance is less than a preset variance and whether the air pressure variation parameter is greater than a preset air pressure variation threshold, if the amplitude parameter information is greater than the preset amplitude threshold, the sample variance is less than the preset variance and the air pressure variation parameter is greater than the preset air pressure variation threshold, executing step 609, and if the amplitude parameter information is less than or equal to the preset amplitude threshold, the sample variance is greater than or equal to the preset variance or the air pressure variation parameter is less than or equal to the preset air pressure variation threshold, returning to step 601.
The preset air pressure change threshold value can be obtained through statistics in an actual test, and is not described herein again. It should be noted that the preset air pressure change threshold may be changed by a user, so that the sensitivity of the recognition of the air pressure change in the air blowing may be adjusted.
Compared with the embodiment, the embodiment has the advantages that the gas pressure sensor is preset near the MIC of the mobile phone, when a user blows, not only can amplitude parameter information and sample variance be utilized, but also whether the sound wave signal meets the preset blowing triggering condition can be judged by utilizing the air pressure change parameter, so that the blowing action of the user can be identified in more dimensions, and the identification accuracy can be further improved.
A fourth embodiment of the present invention relates to a blow trigger method. The fourth embodiment is an improvement on the first, second or third embodiment, and the main improvement is that: in the fourth embodiment, a desktop arrangement implementation manner is provided, so that the implementation manners of the present invention can be further enriched.
Referring to fig. 7, the present embodiment includes steps 701 to 703. Step 701 and step 702 are the same as step 101 and step 102, respectively, and are not described herein again.
After the user's air blowing action is recognized through steps 701 and 702, desktop configuration is automatically performed in step 703. The basic process of desktop arrangement is to load the layout of the current desktop into a list, reset the icon position in each page according to the page number, and complete the positions of blank icons so as to realize the automatic alignment and arrangement of desktop icons.
Step 703 specifically includes sub-step 7031 and sub-step 7032.
Sub-step 7031: and sequentially acquiring the desktop icons from left to right and from top to bottom.
Sub-step 7032: and aligning and displaying the acquired desktop icons on the desktop according to the sequence from bottom to top and from right to left.
In one example, please refer to fig. 8, which illustrates a schematic diagram of before and after desktop arrangement (i.e., before and after desktop icon automatic alignment) according to sub-step 7031 and sub-step 7032, where the left diagram shows desktop icon distribution before arrangement and the right diagram shows desktop icon arrangement after automatic alignment.
Compared with the previous embodiment, the method and the device have the advantages that the icons are automatically aligned from bottom to top and from right to left under the condition that the icon sequence is not changed, and a user can conveniently find the icons.
A fifth embodiment of the present invention relates to a blowing trigger method. The fifth embodiment is an improvement on the first, second, third or fourth embodiment, and the main improvement is that: in the fifth embodiment, an animation special effect is provided for the system cleaning function, so that a user can intuitively know the system cleaning progress, and the user experience is improved.
Referring to fig. 9, the present embodiment includes steps 901 to 903. Step 901 and step 902 are the same as step 101 and step 102, respectively, and are not described herein again.
After the user's blowing action is recognized through steps 901 and 902, system cleaning is automatically performed in step 903. The basic flow of system cleaning is to send Intent of current system cleaning, and the system calls a system interface to perform cleaning operation after receiving the Intent. Specifically, step 903 includes sub-steps 9031 through 9034.
Substep 9031: and judging whether system cleaning is performed or not, and if the system cleaning is performed, executing substeps 9031 to 9034 until the system cleaning is completed.
Substep 9032: a trash can pattern is displayed in the center of the screen.
Substep 9033: the wave pattern displays a circular pattern surrounding the perimeter of the trash can pattern.
Substep 9034: the number of dot-like trash patterns displayed around the trash can pattern is reduced in synchronization with the wave pattern.
Referring to FIG. 10, an animation effect is shown that is displayed in sub-steps 9032 and 9034, and in some examples, other animation effects may be displayed, such as wavy lines. Wherein the animation effect can be displayed on the Launcher interface. After the system is cleaned, the animation disappears, and the user enters the latest task list to check that the application list is cleaned.
Compared with the foregoing embodiment, the embodiment can effectively help the user to know the current system cleaning progress and increase the interestingness of the system cleaning function by displaying the animation to prompt the system cleaning progress.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A sixth embodiment of the present invention is directed to a terminal device, including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the insufflation triggering method of the first, second, third, fourth or fifth embodiments.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.
Claims (10)
1. A method of insufflation triggering, comprising:
acquiring characteristic parameter information of the acoustic wave signal;
and judging whether the sound wave signal meets a preset air blowing triggering condition or not according to the characteristic parameter information, and executing a preset triggering event when the sound wave signal meets the preset air blowing triggering condition.
2. The insufflation triggering method according to claim 1, wherein the characteristic parameter information includes at least: amplitude parameter information;
the acquiring of the characteristic parameter information of the acoustic wave signal specifically includes:
acquiring recording data of the sound wave signal;
extracting N sound wave amplitudes of the sound wave signals from the recorded sound data, wherein N is a natural number greater than or equal to 2;
calculating to obtain the sum of M powers of absolute values of the N sound wave amplitudes, wherein M is a natural number greater than or equal to 2;
calculating to obtain M-th square root of the sum;
the M power of the sum is eradicated by the N to obtain the amplitude parameter information;
the judging whether the sound wave signal meets a preset blowing triggering condition or not according to the characteristic parameter information specifically comprises the following steps:
and judging whether the sound wave signal meets a preset blowing triggering condition or not at least according to the amplitude parameter information.
3. The method for triggering blowing according to claim 2, wherein the determining whether the sound wave signal satisfies a preset blowing triggering condition at least according to the amplitude parameter information specifically includes:
and if the amplitude parameter information is greater than a preset amplitude threshold value, the sound wave signal meets the preset blowing triggering condition.
4. The insufflation triggering method according to claim 2, wherein the characteristic parameter information further includes: a sample variance of absolute values of the N sound wave amplitudes;
after extracting N sound wave amplitudes of the sound wave signals from the recording data, the method further comprises the following steps:
calculating to obtain a sample variance of absolute values of the N sound wave amplitudes;
the judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information specifically comprises the following steps:
if the amplitude parameter information is larger than a preset amplitude threshold value and the sample variance is smaller than a preset variance, the sound wave signal meets the preset blowing triggering condition.
5. The insufflation triggering method of claim 2 wherein the characteristic parameter information further includes an air pressure parameter of the acoustic signal, and
a sample variance of absolute values of the N sound wave amplitudes;
before judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information, the method further comprises the following steps:
acquiring air pressure change parameters of the sound wave signals;
calculating to obtain a sample variance of absolute values of the N sound wave amplitudes;
the judging whether the sound wave signal meets a preset blowing triggering condition at least according to the amplitude parameter information specifically comprises the following steps:
if the amplitude parameter information is greater than a preset amplitude threshold, the sample variance is less than a preset variance, and the air pressure variation parameter is greater than a preset air pressure variation threshold, the sound wave signal meets the preset air blowing triggering condition.
6. An insufflation triggering method in accordance with claim 2 wherein the preset triggering event is a system clean up and/or a desktop assignment;
the acquiring of the recording data of the sound wave signal specifically includes:
when the sound wave signal enters a preset interface, controlling a microphone to collect the sound wave signal at a preset interval, and obtaining recording data of the sound wave signal; or
When an approaching trigger event entering a preset interface and a sound pickup area of a microphone is detected, the microphone is started to collect sound wave signals, and recording data of the sound wave signals are obtained.
7. The insufflation triggering method of claim 1 wherein the preset triggering event is a desktop arrangement;
the executing the preset trigger event specifically includes:
sequentially acquiring the desktop icons from left to right and from top to bottom, and aligning and displaying the acquired desktop icons on the desktop from bottom to top and from right to left.
8. The insufflation triggering method of claim 1 wherein the preset triggering event is a system clean up;
the executing the preset trigger event specifically includes:
when the system is cleaned, a garbage can pattern is displayed in the center of a screen;
displaying circular ring patterns surrounding the periphery of the garbage can patterns in a fluctuating mode to prompt a system to clean a progress state;
and synchronously reducing the number of the dot garbage patterns displayed on the periphery of the garbage can pattern with the fluctuation mode so as to prompt the system cleaning progress.
9. The method according to any one of claims 2 to 5, wherein the extracting N sound wave amplitudes of the sound wave signal from the recorded data specifically includes:
and acquiring the N sound wave amplitudes according to an average interval in a time period lasting by the sound wave signal.
10. A terminal device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the insufflation triggering method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810652916.3A CN108540672A (en) | 2018-06-22 | 2018-06-22 | Air blowing triggering method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810652916.3A CN108540672A (en) | 2018-06-22 | 2018-06-22 | Air blowing triggering method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108540672A true CN108540672A (en) | 2018-09-14 |
Family
ID=63486824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810652916.3A Pending CN108540672A (en) | 2018-06-22 | 2018-06-22 | Air blowing triggering method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540672A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602557A (en) * | 2019-09-16 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method for presenting virtual gift, electronic device and computer-readable storage medium |
CN110716799A (en) * | 2019-09-30 | 2020-01-21 | 深圳市九洲电器有限公司 | Application program management method and intelligent terminal |
CN111866264A (en) * | 2019-04-28 | 2020-10-30 | 重庆赫皇科技咨询有限公司 | Mobile terminal with auxiliary blowing operation device and control method thereof |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546244A (en) * | 2008-03-27 | 2009-09-30 | 明基电通(上海)有限公司 | Hand-held electronic device and operation method thereof |
KR101012016B1 (en) * | 2008-04-30 | 2011-01-31 | 팬터로그인터액티브 주식회사 | Emotion services in mobile device using breath blowing interface |
CN102707805A (en) * | 2012-05-17 | 2012-10-03 | 华为终端有限公司 | Terminal input method and device as well as terminal |
CN103139395A (en) * | 2013-03-20 | 2013-06-05 | 上海鼎为软件技术有限公司 | Mobile terminal and control method thereof |
CN104199708A (en) * | 2014-09-09 | 2014-12-10 | 厦门美图移动科技有限公司 | System cleaning method and equipment and mobile terminal |
CN104238755A (en) * | 2014-09-22 | 2014-12-24 | 广东小天才科技有限公司 | Method and device for adjusting common parameters of intelligent wearable equipment |
CN104715757A (en) * | 2013-12-13 | 2015-06-17 | 华为技术有限公司 | Terminal voice control operation method and device |
CN105975074A (en) * | 2016-05-04 | 2016-09-28 | 竒葩网络(深圳)有限公司 | Blow triggering method and device |
CN107545010A (en) * | 2016-06-29 | 2018-01-05 | 阿里巴巴集团控股有限公司 | Display methods, file clean-up method, apparatus, display device and electronic equipment |
CN107643921A (en) * | 2016-07-22 | 2018-01-30 | 联想(新加坡)私人有限公司 | For activating the equipment, method and computer-readable recording medium of voice assistant |
CN108156326A (en) * | 2018-01-02 | 2018-06-12 | 京东方科技集团股份有限公司 | A kind of method, system and device of automatic startup recording |
-
2018
- 2018-06-22 CN CN201810652916.3A patent/CN108540672A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546244A (en) * | 2008-03-27 | 2009-09-30 | 明基电通(上海)有限公司 | Hand-held electronic device and operation method thereof |
KR101012016B1 (en) * | 2008-04-30 | 2011-01-31 | 팬터로그인터액티브 주식회사 | Emotion services in mobile device using breath blowing interface |
CN102707805A (en) * | 2012-05-17 | 2012-10-03 | 华为终端有限公司 | Terminal input method and device as well as terminal |
CN103139395A (en) * | 2013-03-20 | 2013-06-05 | 上海鼎为软件技术有限公司 | Mobile terminal and control method thereof |
CN104715757A (en) * | 2013-12-13 | 2015-06-17 | 华为技术有限公司 | Terminal voice control operation method and device |
CN104199708A (en) * | 2014-09-09 | 2014-12-10 | 厦门美图移动科技有限公司 | System cleaning method and equipment and mobile terminal |
CN104238755A (en) * | 2014-09-22 | 2014-12-24 | 广东小天才科技有限公司 | Method and device for adjusting common parameters of intelligent wearable equipment |
CN105975074A (en) * | 2016-05-04 | 2016-09-28 | 竒葩网络(深圳)有限公司 | Blow triggering method and device |
CN107545010A (en) * | 2016-06-29 | 2018-01-05 | 阿里巴巴集团控股有限公司 | Display methods, file clean-up method, apparatus, display device and electronic equipment |
CN107643921A (en) * | 2016-07-22 | 2018-01-30 | 联想(新加坡)私人有限公司 | For activating the equipment, method and computer-readable recording medium of voice assistant |
CN108156326A (en) * | 2018-01-02 | 2018-06-12 | 京东方科技集团股份有限公司 | A kind of method, system and device of automatic startup recording |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866264A (en) * | 2019-04-28 | 2020-10-30 | 重庆赫皇科技咨询有限公司 | Mobile terminal with auxiliary blowing operation device and control method thereof |
CN110602557A (en) * | 2019-09-16 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method for presenting virtual gift, electronic device and computer-readable storage medium |
CN110602557B (en) * | 2019-09-16 | 2022-05-17 | 腾讯科技(深圳)有限公司 | Method for presenting virtual gift, electronic device and computer-readable storage medium |
CN110716799A (en) * | 2019-09-30 | 2020-01-21 | 深圳市九洲电器有限公司 | Application program management method and intelligent terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109346061B (en) | Audio detection method, device and storage medium | |
CN111158540B (en) | Position adjusting method of application icon and electronic equipment | |
EP3001414A1 (en) | Method and apparatus for executing voice command in electronic device | |
CN108540672A (en) | Air blowing triggering method and terminal device | |
CN110364156A (en) | Voice interactive method, system, terminal and readable storage medium storing program for executing | |
CN105259459A (en) | Automatic quality inspection method, apparatus and device for electronic equipment | |
CN107870674B (en) | Program starting method and mobile terminal | |
CN106960146A (en) | Control method and device for the electronic equipment with full frame fingerprint recognition | |
CN109754823A (en) | A kind of voice activity detection method, mobile terminal | |
CN110096203B (en) | Screenshot method and mobile terminal | |
CN106776301B (en) | Subelement testing method and device | |
CN109088973B (en) | Antenna control method and device and mobile terminal | |
CN109726121B (en) | Verification code obtaining method and terminal equipment | |
CN109753425A (en) | Pop-up processing method and processing device | |
CN115774655A (en) | Data processing method and device, electronic equipment and computer readable medium | |
CN110069407B (en) | Function test method and device for application program | |
CN109857659B (en) | Control operation method and device | |
CN109857673B (en) | Control identification method and device | |
CN106066764B (en) | A kind of unlocked by fingerprint method and terminal | |
CN109871324B (en) | Control operation method and device | |
CN109657562B (en) | Fingerprint input method and related equipment | |
CN109040457B (en) | Screen brightness adjusting method and mobile terminal | |
CN109684006B (en) | Terminal control method and device | |
CN111427644A (en) | Target behavior identification method and electronic equipment | |
CN108491074B (en) | Electronic device, exercise assisting method and related product |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180914 |