[ summary of the invention ]
The invention aims to provide an application program management method and an intelligent terminal, and solves the technical problem that a user cannot conveniently manage application programs running on the intelligent terminal.
One aspect of the embodiments of the present invention provides an application management method, which is applied to an intelligent terminal, and the method includes:
if the number of the application programs of the background of the intelligent terminal exceeds a preset threshold value or the battery electric quantity of the intelligent terminal is lower than a preset electric quantity value, detecting the blowing operation of a user on the intelligent terminal;
and if the blowing operation is detected, managing the application program according to the blowing operation.
Optionally, the detecting a blowing operation of the user on the intelligent terminal includes:
acquiring a sound signal obtained by a microphone;
and if the sound signal comprises the air flow sound generated by the air blowing operation, confirming that the air blowing operation of the user on the intelligent terminal is detected.
Optionally, the detecting a blowing operation of the user on the intelligent terminal includes:
acquiring a sound signal obtained by a microphone, and confirming whether the sound signal comprises airflow sound generated by the blowing operation;
acquiring an image shot by a camera, and carrying out image recognition on the image to confirm whether the image comprises a face and whether the face performs blowing action, wherein the time for acquiring the sound signal and the time for acquiring the image are positioned at the same moment or the same time period;
and if the sound signal comprises the airflow sound generated by the blowing operation and the image comprises the face doing the blowing action, confirming that the blowing operation of the user on the intelligent terminal is detected.
Optionally, if the air blowing operation is detected, managing the application program according to the air blowing operation includes:
and if the blowing operation is detected and is the continuous blowing operation for the first preset times, displaying the application program on a display interface of the intelligent terminal.
Optionally, the displaying the application on the display interface of the intelligent terminal includes:
and dynamically displaying the application programs on the display interface according to the running time sequence of the application programs in the foreground.
Optionally, after the application program is displayed on the display interface of the intelligent terminal, the method further includes:
and if the blowing operation is detected and the blowing operation is continuous blowing operation for a second preset number of times, closing the application program currently displayed on the display interface.
Optionally, the method further comprises:
and if the blowing operation is detected and is a third preset number of continuous blowing operations, closing all application programs of the background of the intelligent terminal.
Optionally, the method further comprises:
and if the blowing operation is detected and the duration of the blowing operation meets the preset condition, continuously closing the dynamically displayed application program.
In another aspect of the embodiments of the present invention, an intelligent terminal is provided, where the intelligent terminal includes: at least one processor, and a memory communicatively coupled to the at least one processor, the memory storing instructions executable by the at least one processor to enable the at least one processor to perform the application management method as described above.
In yet another aspect of embodiments of the present invention, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a smart terminal, cause the smart terminal to perform an application management method as described above.
The embodiment of the invention provides an application program management method and an intelligent terminal, wherein the method is applied to the intelligent terminal, and the method comprises the steps of detecting the blowing operation of a user on the intelligent terminal by judging whether the number of application programs in a background of the intelligent terminal exceeds a preset threshold value or the battery electric quantity of the intelligent terminal is lower than a preset electric quantity value; and if the blowing operation is detected, managing the application program according to the blowing operation. This embodiment manages background application through the mode of blowing to make the user conveniently manage intelligent terminal's occupation resource, user operation is simple and convenient, has promoted user experience.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in the device diagrams, with logical sequences shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than the block divisions in the device diagrams, or the flowcharts.
Referring to fig. 1, fig. 1 is a flowchart of an application management method according to an embodiment of the present invention, where the method is applied to an intelligent terminal, and the intelligent terminal may be used to load various applications and display an application through a display interface. The intelligent terminal can be a mobile phone, a tablet computer, an intelligent bracelet and other terminal equipment. As shown in fig. 1, the method includes:
step 101, if the number of applications in the background of the intelligent terminal exceeds a preset threshold value, or the battery power of the intelligent terminal is lower than a preset power value, detecting the blowing operation of a user on the intelligent terminal.
The background application program refers to that after a user uses various application programs, if the user does not completely close the application programs, the application programs are converted into the background application program. The preset threshold value can be set by an intelligent terminal system, and is set when the intelligent terminal leaves a factory, or can be set by a user according to personal preferences in a self-defined manner, and the size of the preset threshold value can be adjusted by the user.
The preset electric quantity value can also be set by the intelligent terminal system or can be set by a user according to personal preference.
For example, when the number of applications in the background of the intelligent terminal exceeds 5, or the battery power of the intelligent terminal is lower than 50%, the blowing operation of the user on the intelligent terminal is detected.
In some embodiments, the two conditions may also be a logical and relationship, that is, if the number of applications in the background of the intelligent terminal exceeds a preset threshold and the battery power of the intelligent terminal is lower than a preset power value, the blowing operation of the user on the intelligent terminal is detected.
In this embodiment, the blowing operation of the user on the intelligent terminal may be detected in the following two ways.
The first method is as follows:
acquiring a sound signal of a microphone; and if the sound signal comprises the air flow sound generated by the air blowing operation, confirming that the air blowing operation of the user on the intelligent terminal is detected.
The intelligent terminal collects sound signals of the microphone and analyzes the sound signals to judge whether the sound signals include airflow sound generated by blowing operation. If the airflow sound generated by the blowing operation is detected, it is determined that the blowing operation is detected. The specific process of detecting whether the sound signal comprises airflow sound generated by the blowing operation according to the sound signal comprises the following steps: extracting a frequency and an amplitude in the sound signal, detecting whether the frequency is within a frequency range of the blowing sound signal, and detecting whether the amplitude is within an amplitude range of the blowing sound signal, and if both are within their respective ranges, determining that the sound signal includes airflow sound generated by the blowing operation. It is also possible to detect whether the sound signal includes the airflow sound generated by the blowing operation by other methods.
The second method comprises the following steps:
acquiring a sound signal obtained by a microphone, and confirming whether the sound signal comprises airflow sound generated by the blowing operation; acquiring an image shot by a camera, and carrying out image recognition on the image to confirm whether the image comprises a face and whether the face performs blowing action, wherein the time for acquiring the sound signal and the time for acquiring the image are positioned at the same moment or the same time period; and if the sound signal comprises the airflow sound generated by the blowing operation and the image comprises the face doing the blowing action, confirming that the blowing operation of the user on the intelligent terminal is detected.
In the second mode, when the blowing operation of the user on the intelligent terminal is detected, whether the sound signal collected by the microphone includes the airflow sound generated by the blowing operation is detected, meanwhile, the face of the user is identified through the camera, the mouth image of the user is extracted, whether the user has the blowing action is judged, and if the two are met, the blowing operation of the user on the intelligent terminal is confirmed and detected. Thus, errors caused by other air flows can be distinguished, and the blowing action is ensured to be an operation used by a user for viewing the message notification.
Wherein the blowing action includes blowing and sucking, which is not limited herein.
Whether the image includes the air blowing action or not can be judged based on a machine learning method, for example, whether the mouth image is the air blowing action or not is judged by adopting a neural network module. The prior art can be referred to for a specific judgment process.
It should be noted that, the two manners for detecting the air blowing operation of the intelligent terminal do not limit the air blowing operation of the user on the intelligent terminal, and other manners may also be used to detect the air blowing operation of the user on the intelligent terminal.
And 102, if the blowing operation is detected, managing the application program according to the blowing operation.
In this embodiment, as shown in fig. 2, if the air blowing operation is detected, managing the application program according to the air blowing operation includes:
step 1021, if the blowing operation is detected and the blowing operation is continuous blowing operation for a first preset number of times, displaying the application program on a display interface of the intelligent terminal.
The first preset times can be freely set according to personal preferences of users, and can also be set by an intelligent terminal system. For example, if a blowing operation of the user is detected and one exhalation is performed, the application program is displayed on the display interface.
The displaying the application program on the display interface of the intelligent terminal comprises the following steps: and dynamically displaying the application programs on the display interface according to the running time sequence of the application programs in the foreground.
The runtime order of the applications in the foreground refers to the chronological order in which the applications were used by the user. Generally, the application program used by the user first enters the background first. The method comprises the following steps in the running time sequence of the application program in the foreground: and sequencing the application programs from first to last according to the running time of the application programs in the foreground, or sequencing the application programs from last to first according to the running time of the application programs in the foreground.
Dynamically displaying the sequenced application programs on the display interface comprises the following steps: and displaying the application programs one screen by one screen in a rolling mode, namely only one application program is displayed on the display interface at a time. The applications may also be presented on the display interface in a list and the applications in the list periodically change in a scrolling manner.
When the applications are dynamically displayed on the display interface in the running time sequence of the applications in the foreground on one screen, the picture of the application displayed on the display interface may be the interface through which the user last browses the applications, for example, the user last uses a music APP and exits from a song "sunny day", and when the music APP is redisplayed, the display interface is the application interface corresponding to the song "sunny day". The screen of the application program displayed on the display interface may also be a main interface of the application program, and the like.
After the application program is displayed on the display interface of the intelligent terminal, the method further comprises the following steps.
And step 1022, if the air blowing operation is detected and the air blowing operation is continuous air blowing operation for a second preset number of times, closing the application program currently displayed on the display interface.
The specific manner of detecting the air blowing operation may refer to the above embodiments, and is not described herein again. The second preset times can be set by the intelligent terminal system or set by the intelligent terminal user according to personal preferences. For example, the second preset number of times is two, that is, when the user views the message notification dynamically displayed on the display interface, the user may perform the air blowing action and perform two consecutive air blowing operations, at which time the application currently displayed on the display interface is closed. Therefore, the user can manage the application programs displayed on the display interface through blowing operation, and the method is more convenient compared with manual operation.
And 1023, if the blowing operation is detected and is a third preset number of continuous blowing operations, closing all application programs of the intelligent terminal background.
The third preset times can be set by the intelligent terminal system or set by the intelligent terminal user according to personal preferences. For example, the third preset number of times is three times, that is, when the user views the message notification dynamically displayed on the display interface, the user may perform the air blowing action, perform three consecutive air blowing operations, and at this time, close all the application programs in the background of the intelligent terminal.
And step 1024, if the blowing operation is detected and the duration of the blowing operation meets a preset condition, continuously closing the dynamically displayed application program.
The duration of the air blowing operation meets a preset condition, for example, the duration of continuous air blowing of the user is more than 30 seconds, and the like. The preset conditions can be set by the intelligent terminal system or set by the intelligent terminal user according to personal preferences. The user continuously closes the dynamically displayed application program by continuously blowing, so that the operation is convenient, and the method for managing the application program running in the background by the user is enriched.
It should be noted that, besides the background application program of the intelligent terminal controlled by the method of the air blowing operation, other methods may be adopted, and the method is not limited to the above method.
For example, in some embodiments, the method further comprises: and acquiring the flow speed of the air flow when a user blows and the length of the air flow during one-time blowing, and managing the application programs dynamically displayed on the display interface according to the flow speed of the air flow and/or the length of the air flow. For example, if the user blows a breath suddenly, the application program on the current display interface is immediately closed; for another example, if the user blows slowly, the display speed of the application program dynamically displayed on the display interface may be adjusted, and the slower the blowing speed of the user is, the slower the dynamic change time of the application program on the display interface is, and vice versa, the quicker the dynamic change time of the application program is. Therefore, the user can manage the application program through blowing control, the interactive pleasure of the user and the intelligent terminal is enhanced, and the user is full of interestingness when the application program is controlled and controlled.
The embodiment of the invention provides an application program management method, which is applied to an intelligent terminal, and the method comprises the steps of detecting the blowing operation of a user on the intelligent terminal by judging whether the number of application programs in a background of the intelligent terminal exceeds a preset threshold value or the battery electric quantity of the intelligent terminal is lower than a preset electric quantity value; and if the blowing operation is detected, managing the application program according to the blowing operation. This embodiment manages background application through the mode of blowing to make the user conveniently manage intelligent terminal's occupation resource, user operation is simple and convenient, has promoted user experience.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an application management apparatus according to an embodiment of the present invention, where theapparatus 20 is applied to an intelligent terminal, and the intelligent terminal may be used to load various applications and display applications through a display interface. The intelligent terminal can be a mobile phone, a tablet computer, an intelligent bracelet and other terminal equipment. As shown in fig. 3, theapparatus 20 includes: a blow detection module 21 and an application management module 22.
The air blowing detection module 21 is configured to detect an air blowing operation of a user on the intelligent terminal if the number of applications in the background of the intelligent terminal exceeds a preset threshold value or the battery power of the intelligent terminal is lower than a preset power value. The application management module 22 is configured to, if the air blowing operation is detected, manage the application according to the air blowing operation.
Wherein, the blowing detection module 21 is specifically configured to: if the number of the application programs in the background of the intelligent terminal exceeds a preset threshold value or the battery electric quantity of the intelligent terminal is lower than a preset electric quantity value, acquiring a sound signal obtained by a microphone; and if the sound signal comprises the air flow sound generated by the air blowing operation, confirming that the air blowing operation of the user on the intelligent terminal is detected.
Wherein, the blowing detection module 21 is specifically further configured to: if the number of the application programs in the background of the intelligent terminal exceeds a preset threshold value or the battery power of the intelligent terminal is lower than a preset power value, acquiring a sound signal obtained by a microphone, and determining whether the sound signal comprises airflow sound generated by the blowing operation; acquiring an image shot by a camera, and carrying out image recognition on the image to confirm whether the image comprises a face and whether the face performs blowing action, wherein the time for acquiring the sound signal and the time for acquiring the image are positioned at the same moment or the same time period; and if the sound signal comprises the airflow sound generated by the blowing operation and the image comprises the face doing the blowing action, confirming that the blowing operation of the user on the intelligent terminal is detected.
The application management module 22 is specifically configured to: and if the blowing operation is detected and is the continuous blowing operation for the first preset times, displaying the application program on a display interface of the intelligent terminal. The displaying the application program on the display interface of the intelligent terminal comprises the following steps: and dynamically displaying the application programs on the display interface according to the running time sequence of the application programs in the foreground.
Referring also to fig. 3, the application management module 22 includes: a first application managing unit 221, a second application managing unit 222, and a third application managing unit 223. The first application management unit 221 is configured to close the application currently displayed on the display interface if the air blowing operation is detected and the air blowing operation is a second preset number of continuous air blowing operations. The second application management unit 222 is configured to close all applications in the background of the smart terminal if the air blowing operation is detected and the air blowing operation is a third preset number of continuous air blowing operations. The third application management unit 223 is configured to continuously close the dynamically displayed application if the air blowing operation is detected and the duration of the air blowing operation satisfies a preset condition.
It should be noted that the application management apparatus can execute the application management method provided by the embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the embodiment of the application management apparatus, reference may be made to the application management method provided in the embodiment of the present invention.
The embodiment of the invention provides an application program management device, which is applied to an intelligent terminal, and detects the air blowing operation of a user on the intelligent terminal by judging whether the number of application programs in a background of the intelligent terminal exceeds a preset threshold value or the battery electric quantity of the intelligent terminal is lower than a preset electric quantity value; and if the blowing operation is detected, managing the application program according to the blowing operation. This embodiment manages background application through the mode of blowing to make the user conveniently manage intelligent terminal's occupation resource, user operation is simple and convenient, has promoted user experience.
Referring to fig. 4, fig. 4 is a schematic diagram of a hardware structure of an intelligent terminal for executing an application management method according to an embodiment of the present invention, and as shown in fig. 4, theintelligent terminal 30 includes:
one ormore processors 31 and amemory 32, oneprocessor 31 being exemplified in fig. 4.
Theprocessor 31 and thememory 32 may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
Thememory 32 is a non-volatile computer-readable storage medium and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the application management method in the embodiment of the present invention (for example, the air blowing detection module 21 and the application management module 22 shown in fig. 4). Theprocessor 31 executes various functional applications and data processing of the application management apparatus by running the nonvolatile software programs, instructions, and modules stored in thememory 32, that is, the application management method of the above-described method embodiment.
Thememory 32 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the application management device, and the like. Further, thememory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, thememory 32 may optionally include memory located remotely from theprocessor 31, and these remote memories may be connected to the application management device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in thememory 32, and when executed by the one ormore processors 31, perform the application management method in any of the above-described method embodiments, for example, perform the above-described method steps 101 to 102 in fig. 1, and method steps 1021 to 1024 in fig. 2, so as to implement the functions of the modules 21 to 22 and the unit 221 and 223 in fig. 3.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The intelligent terminal of the embodiment of the invention exists in various forms, including but not limited to mobile phones, tablet computers and other electronic devices with data interaction functions.
An embodiment of the present invention provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-executable instructions, which are used by an intelligent terminal to execute an application management method in any method embodiment described above, for example, to execute the above-described method steps 101 to 102 in fig. 1 and method steps 1021 to 1024 in fig. 2, so as to implement the functions of the modules 21 to 22 and the units 221 and 223 in fig. 3.
Embodiments of the present invention provide a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform an application management method in any of the above-described method embodiments, for example, perform the above-described method steps 101 to 102 in fig. 1, and method steps 1021 to 1024 in fig. 2, to implement the functions of the modules 21-22 and the unit 221-.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.