CN107613131B - Application program disturbance-free method, mobile terminal and computer-readable storage medium - Google Patents

Application program disturbance-free method, mobile terminal and computer-readable storage medium Download PDF

Info

Publication number
CN107613131B
CN107613131B CN201710898577.2A CN201710898577A CN107613131B CN 107613131 B CN107613131 B CN 107613131B CN 201710898577 A CN201710898577 A CN 201710898577A CN 107613131 B CN107613131 B CN 107613131B
Authority
CN
China
Prior art keywords
application program
mobile terminal
preset
disturbance
user
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
Application number
CN201710898577.2A
Other languages
Chinese (zh)
Other versions
CN107613131A (en
Inventor
杨章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710898577.2A priority Critical patent/CN107613131B/en
Publication of CN107613131A publication Critical patent/CN107613131A/en
Application granted granted Critical
Publication of CN107613131B publication Critical patent/CN107613131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an application program disturbance-free method and a mobile terminal, wherein the method comprises the following steps: when an application program is in a foreground running state, acquiring operation behavior information of a user on an interface of the application program; judging whether the application program is in a preset operation state or not according to the operation behavior information; and if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode, wherein the disturbance-free mode is used for shielding message reminders of other application programs except the application program in the mobile terminal. The application program disturbance-free method can improve the use fluency of the application program.

Description

Application program disturbance-free method, mobile terminal and computer-readable storage medium
Technical Field
The invention relates to the technical field of communication, in particular to an application program disturbance-free method and a mobile terminal.
Background
With the continuous development of communication technology, the functions of the mobile terminal are more and more abundant, and accordingly, the mobile terminal installs more and more application programs, such as: reading applications, video applications, gaming applications, etc. to meet the different needs of the user.
Currently, when a user is using a certain application program, if a mobile terminal receives an incoming call, a short message or a push message of another application program, the content will be directly pushed to a screen of the mobile terminal, which may interfere with the use of the application program.
Disclosure of Invention
The embodiment of the invention provides an application program disturbance-free method and a mobile terminal, and aims to solve the problem that the use of an application program is disturbed by a call, a short message or a push message of other application programs in the prior art.
In a first aspect, an embodiment of the present invention provides an application program do-not-disturb method, where the method includes:
when an application program is in a foreground running state, acquiring operation behavior information of a user on an interface of the application program;
judging whether the application program is in a preset operation state or not according to the operation behavior information;
and if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode, wherein the disturbance-free mode is used for shielding message reminders of other application programs except the application program in the mobile terminal.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the acquisition module is used for acquiring the operation behavior information of a user on the interface of the application program when the application program is in a foreground running state;
the judging module is used for judging whether the application program is in a preset operation state or not according to the operation behavior information;
the mobile terminal comprises a first control module and a second control module, wherein the first control module is used for controlling the application program to be in a disturbance-free mode when the application program is in the preset operation state, and the disturbance-free mode is used for shielding message reminding of other application programs except the application program in the mobile terminal.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a processor, a memory, and a computer program stored on the memory and being executable on the processor, and when the computer program is executed by the processor, the steps of the application program do not disturb method described above are implemented.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the application program disturbance avoiding method described above.
In the embodiment of the invention, when the application program is in a foreground running state, the operation behavior information of a user on the interface of the application program is acquired; judging whether the application program is in a preset operation state or not according to the operation behavior information; and if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode, wherein the disturbance-free mode is used for shielding message reminders of other application programs except the application program in the mobile terminal. According to the application program disturbance-free method, when the mobile terminal judges that the application program is in the preset operation state according to the operation behavior information of the user on the interface of the application program, the application program is controlled to be in the disturbance-free mode, so that the message reminding of other application programs except the application program in the mobile terminal is prevented from interfering the use of the application program, and the use smoothness of the application program is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flowchart of an application do-not-disturb method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an application do-not-disturb method according to yet another embodiment of the invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to still another embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an application program disturbance avoiding method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, when an application program is in a foreground running state, acquiring operation behavior information of a user on an interface of the application program.
In the embodiment of the invention, when the application program is in a foreground running state, namely, the interface of the application program is displayed on the touch screen of the mobile terminal, the mobile terminal acquires the operation behavior information of the user on the interface of the application program, so as to determine whether to control the application program to be in a disturbance-free mode or not according to the operation behavior information.
The operation behavior of the user on the interface of the application program may include, but is not limited to, a touch operation of the user on the interface of the application program, and a gazing operation of the user on the interface of the user program, that is, the user views the interface of the application program. Correspondingly, for touch operation, the operation behavior information may be the number of times of touch operation detected within a certain period of time, or may be a time interval between two adjacent touch operations; for the annotation operation, the operation behavior information may be, but is not limited to, an image captured by a camera during a certain period of time for detecting whether a human eye gazes at a screen during the certain period of time. Further, the touch operation may include, but is not limited to, a click operation and a slide operation.
And 102, judging whether the application program is in a preset operation state or not according to the operation behavior information.
In the embodiment of the invention, the mobile terminal can judge whether the operation behavior information meets the preset condition in advance, and judge whether the application program is in the preset operation state according to the judgment result. Specifically, if the determination result is that the operation behavior information satisfies a preset condition, it may be determined that the application program is in a preset operation state; if the operation behavior information does not satisfy the preset condition, it may be determined that the application program is not in a preset operation state.
The preset operation state is used for representing that the interface of the application program is in a state frequently operated by a user. Therefore, if the mobile terminal determines that the application program is in the preset operation state, which indicates that the user is in a state of frequently operating the interface of the application program, step 103 may be executed; if the mobile terminal determines that the application program is not in the preset operation state, which indicates that the user may be far away from the mobile terminal, the application program may be controlled to exit the do-not-disturb mode when the application program is detected to be in the do-not-disturb mode, and step 101 is executed again; or when detecting that the application program is not in the disturbance-free mode, controlling the application program to keep the current state and executing the step 101 again.
It can be understood that, for different applications, the content of the operation behavior information may be different, and accordingly, the preset condition may also be different, and the expression form for determining whether the operation behavior information satisfies the preset condition may also be different.
For example: for gaming applications and communication applications, it is considered that a user needs to frequently touch the interface of the application while playing a game and chatting with other users. Therefore, in the application scenario, the operation behavior information may be the number of times of the touch operation performed by the user on the interface of the application program, which is detected within a certain period of time, and accordingly, the preset condition may be a first preset threshold, and determining whether the operation behavior information satisfies the preset condition may be represented by determining whether the number of times of the touch operation performed by the user on the interface of the application program, which is detected within a certain period of time, reaches the first preset threshold, where the first preset threshold may be preset according to actual needs, which is not limited in the embodiment of the present invention.
For the reading application program, it is considered that the user needs to continuously page when reading the book, and the page-turning speed of the user is relatively stable under general conditions. Therefore, in the application scenario, the operation behavior information may be an interval time between two adjacent touch operations of the user on the interface of the application program, and correspondingly, the preset condition may be a second preset threshold, and determining whether the operation behavior information satisfies the preset condition may be represented by determining whether the interval time between two adjacent touch operations of the user on the interface of the application program is less than the second preset threshold, where the second preset threshold may be preset according to an actual need, which is not limited in the embodiment of the present invention.
For video applications, it is considered that the user needs to keep his eyes on the screen while watching the video. Therefore, in the application scenario, the operation behavior information may be an image acquired by using a camera of the mobile terminal within a certain period of time, and accordingly, the preset condition is that human eyes are included in the image, and determining whether the operation behavior information satisfies the preset condition may be represented as determining whether the image acquired by using the camera of the mobile terminal within a certain period of time includes human eyes. Of course, in other application scenarios, the operation behavior information may also be other information corresponding to the application scenario, which is not limited in this embodiment of the present invention.
And 103, if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode.
In this step, if the mobile terminal determines that the application program is in the preset operation state, the mobile terminal may further detect whether the application program is in a do-not-disturb mode. If the application program is in the disturbance-free mode, the application program can be controlled to keep a state and continue to be in the disturbance-free mode; and if the application program is not in the disturbance-free mode, controlling the application program to enter the disturbance-free mode.
In this embodiment of the present invention, the do-not-disturb mode is used to shield message alerts of other applications except the application in the mobile terminal, that is, when the application is in the do-not-disturb mode, the mobile terminal may perform special processing on a received incoming call, a received short message, or a received push message, for example: and receiving but not carrying out notification reminding on the interface of the application program, thereby avoiding the message from interfering the use of the application program by the user and improving the fluency of the user in using the application program.
In the embodiment of the present invention, the Mobile terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The application program disturbance avoiding method of the embodiment acquires operation behavior information of a user on an interface of an application program when the application program is in a foreground running state; judging whether the application program is in a preset operation state or not according to the operation behavior information; and if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode. According to the application program disturbance-free method, when the mobile terminal judges that the application program is in the preset operation state according to the operation behavior information of the user on the interface of the application program, the application program is controlled to be in the disturbance-free mode, so that the message reminding of other application programs except the application program in the mobile terminal is prevented from interfering the use of the application program, and the use smoothness of the application program is improved.
Referring to fig. 2, fig. 2 is a flowchart of an application-disturbance-free method according to another embodiment of the present invention, and the main difference between this embodiment and the above-mentioned embodiment is that after the step of controlling the application program to be in the disturbance-free mode, the application-disturbance-free method is further defined, specifically: and if the time that the application program is in the disturbance-free mode is detected to reach a third preset threshold value, controlling the application program to exit the disturbance-free mode.
As shown in fig. 2, the application program disturbance avoiding method of the present embodiment includes the following steps:
step 201, when the application program is in a foreground running state, acquiring operation behavior information of a user on an interface of the application program.
Step 202, judging whether the application program is in a preset operation state according to the operation behavior information.
And 203, if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode.
The non-disturbing mode is used for shielding message reminding of other application programs except the application program in the mobile terminal.
It should be noted that step 201, step 202, and step 203 are respectively the same as step 101, step 102, and step 103 in the above method embodiment, and specific reference may be made to the description in the above method embodiment, so that no repeated description is given here to avoid repetition.
And 204, if the time that the application program is in the disturbance-free mode is detected to reach a third preset threshold, controlling the application program to exit the disturbance-free mode.
In some specific embodiments, if it is detected that the time when the application program is in the do-not-disturb mode reaches a third preset threshold, the mobile terminal may directly control the application program to exit the do-not-disturb mode. In this way, the mobile terminal may protect the application program from messages of other application programs than the application program in the mobile terminal before the time when the application program is in the do-not-disturb mode reaches the third preset threshold, for example: and the interference of incoming calls, short messages or push message prompts improves the smoothness of the application program before the time when the application program is in the disturbance-free mode reaches a third preset threshold. Meanwhile, the problem that important calls are missed due to the fact that the user forgets that the application program is in the non-disturbing mode can be avoided.
In other specific embodiments, when detecting that the time when the application program is in the disturbance-free mode reaches a third preset threshold, the mobile terminal may further determine that the application program is in the disturbance-free mode, determine whether the application program satisfies the preset operation state according to operation behavior information of a user on an interface of the application program, and control the application program to exit the disturbance-free mode when determining that the application program does not satisfy the preset operation state; and controlling the application program to be still in a non-disturbing mode when the application program is judged to meet the preset operation state. In this way, compared with the case that the mobile terminal directly controls the application program to exit the disturbance-free mode when the time when the application program is detected to be in the disturbance-free mode reaches the third preset threshold, the implementation method further prolongs the time when the user smoothly uses the application program.
According to the application program disturbance-free method, when the mobile terminal judges that the application program is in the preset operation state according to the operation behavior information of the user on the interface of the application program, the application program is controlled to be in a disturbance-free mode, so that the message reminding of other application programs except the application program in the mobile terminal is prevented from interfering with the use of the application program, and the use smoothness of the application program is improved. In addition, when the time that the application program is in the disturbance-free mode reaches a third preset threshold value, the application program is controlled to exit the disturbance-free mode, and therefore the problems that important calls are missed and the like due to the fact that a user forgets that the application program is in the disturbance-free mode can be avoided.
Optionally, the step of obtaining the operation behavior information of the user on the interface of the application program includes:
counting the times of touch operation of a user on an interface of the application program within first preset time;
the step of judging whether the application program is in a preset operation state according to the operation behavior information includes:
judging whether the number of times of the touch operation reaches a first preset threshold value or not; and if the number of times of the touch operation reaches the first preset threshold, determining that the application program is in the preset operation state.
In this embodiment, the application may be an application that requires a user to frequently touch an application interface, for example: a game application or a communication application. The operation behavior information may be the number of times of touch operations of the user on the interface of the application program within a first preset time. The touch operation may, but not limited to, include a click operation and a slide operation, and the first preset time may be preset according to actual needs, which is not limited in the embodiment of the present invention.
And judging whether the application program meets the preset operation state or not by counting the times of touch operation of a user on the interface of the application program within a first preset time and judging whether the times of the touch operation reach a first preset threshold value or not. If the number of times of the touch operation reaches the first preset threshold value, which indicates that the user is frequently operating the application program, it may be determined that the application program is in the preset operation state, so that the mobile terminal controls the application program to be in the non-disturbance mode, thereby avoiding disturbance of message reminding of other application programs except the application program in the mobile terminal to the use of the application program.
Optionally, the step of obtaining the operation behavior information of the user on the interface of the application program includes:
acquiring at least two time intervals, wherein the time intervals are the time intervals of two adjacent touch operations of a user on an interface of the application program;
the step of judging whether the application program is in a preset operation state according to the operation behavior information includes:
judging whether the at least two time intervals are smaller than a second preset threshold value or not; and if the at least two intervals are smaller than the second preset threshold, determining that the application program is in the preset operation state.
In this embodiment, the application may be an application that requires a user to touch an application interface according to a certain rule, for example: and the user touches the interface of the reading application program at a certain page turning speed to turn pages for reading. The operation behavior information may be at least two time intervals, where the time intervals are time intervals of two adjacent touch operations of the user on the interface of the application program, for example: the user sequentially performs three touch operations, namely a first touch operation, a second touch operation and a third touch operation, on the interface of the application program according to a time sequence, and the operation behavior information may include a time interval between a time when the first touch operation is detected and a time when the second touch operation is detected and a time interval between a time when the second touch operation is detected and a time when the third touch operation is detected. The preset condition may be a second preset threshold. The touch operation may be a sliding operation, and the second preset threshold may be preset according to actual needs, which is not limited in the embodiment of the present invention.
And judging whether the application program meets the preset operation state or not by judging whether the at least two time intervals are smaller than a second preset threshold or not. If the at least two intervals are smaller than the second preset threshold, it is indicated that the user is regularly operating the application program, and it may be determined that the application program is in the preset operation state, so that the mobile terminal controls the application program to be in the non-disturbing mode, thereby avoiding interference of message reminding of other application programs except the application program in the mobile terminal on use of the application program.
Optionally, the step of obtaining the operation behavior information of the user on the interface of the application program includes:
if the touch screen of the mobile terminal is detected to be in a lighting state, starting a camera of the mobile terminal to acquire an image acquired by the camera within a second preset time;
the step of judging whether the application program is in a preset operation state according to the operation behavior information includes:
judging whether the image contains human eyes; and if the image contains human eyes, judging that the application program is in the preset operation state.
In this embodiment, the application may be an application that requires the user to stare at an interface with the user's eyes, for example: and a video application program through which the user views the video. The operation behavior information may be an image acquired by a camera of the mobile terminal within a second preset time. The second preset time may be preset according to actual needs, which is not limited in the embodiment of the present invention.
When the touch screen of the mobile terminal is detected to be in a lighting state, the camera of the mobile terminal is started, an image collected by the camera within a second preset time is obtained, and whether the image contains human eyes or not is judged so as to judge whether the application program meets the preset operation state or not. If the image contains human eyes, which indicates that the eyes of the user stare at the touch screen, it can be determined that the application program is in the preset operation state, so that the mobile terminal controls the application program to be in the disturbance-free mode, and thus, the interference of message reminding of other application programs except the application program in the mobile terminal on the use of the application program is avoided.
The lighting state refers to a state that the mobile terminal is in a state of supplying power to the touch screen; the camera can be a front camera of the mobile terminal or a rear camera; the scheme for detecting whether the image contains human eyes may use a contour detection method or a third-party human eye detection algorithm, but is not limited thereto.
In addition, for other application programs, the mobile terminal can judge whether the application program meets the preset operation state in a plurality of ways. Taking a text editing application program as an example for explanation, when a user uses the text editing application program for creation, frequent touch operation may be performed on an interface of the application program within a certain period of time to edit characters; it is also possible that the interface is not basically touched within a certain period of time, but stares at the touch screen for the arrangement of ideas. Therefore, the mobile terminal may count the number of times of touch operations performed by the user on the interface of the application program within a first preset time, and determine whether the number of times of touch operations reaches a first preset threshold. If the number of times of the touch operation reaches the first preset threshold, determining that the application program is in the preset operation state; if the number of times of the touch operation does not reach the first preset threshold value, the mobile terminal can further detect whether a touch screen of the mobile terminal is in a lighting state, and when the touch screen of the mobile terminal is detected to be in the lighting state, a camera of the mobile terminal is started, an image collected by the camera within a second preset time is obtained, and whether the image contains human eyes is judged; and if the image contains human eyes, judging that the application program is in the preset operation state. Therefore, the use of the application program can be protected from being interfered by message reminding of other application programs except the application program in the mobile terminal, and the use fluency of the application program is improved.
Referring to fig. 3, fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the mobile terminal 300 includes: an obtaining module 301, a judging module 302 and a first control module 303.
The obtaining module 301 is configured to obtain operation behavior information of an interface of an application program, where the operation behavior information is obtained by a user when the application program is in a foreground running state;
a determining module 302, configured to determine whether the application program is in a preset operation state according to the operation behavior information;
a first control module 303, configured to control the application program to be in a do-not-disturb mode when the application program is in the preset operation state, where the do-not-disturb mode is used to shield a message alert of other application programs except the application program in the mobile terminal.
Optionally, the obtaining module 301 is specifically configured to count the number of times of touch operations performed on the interface of the application program by the user within a first preset time;
a determining module 302, configured to determine whether the number of times of the touch operations reaches a first preset threshold; and if the number of times of the touch operation reaches the first preset threshold, determining that the application program is in the preset operation state.
Optionally, the obtaining module 301 is specifically configured to obtain at least two time intervals, where the time intervals are time intervals between two adjacent touch operations of the user on the interface of the application program;
a determining module 302, configured to determine whether the at least two time intervals are smaller than a second preset threshold; and if the at least two intervals are smaller than the second preset threshold, determining that the application program is in the preset operation state.
Optionally, the obtaining module 301 is specifically configured to start the camera of the mobile terminal when detecting that the touch screen of the mobile terminal is in a lighting state, and obtain an image acquired by the camera within a second preset time;
a determining module 302, configured to determine whether the image includes a human eye; and if the image contains human eyes, judging that the application program is in the preset operation state.
Optionally, as shown in fig. 4, the mobile terminal 300 further includes:
a second control module 304, configured to, after controlling the application program to be in the do-not-disturb mode, if it is detected that the time that the application program is in the do-not-disturb mode reaches a third preset threshold, control the application program to exit the do-not-disturb mode.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The mobile terminal of the embodiment of the invention obtains the operation behavior information of the user on the interface of the application program when the application program is in the foreground operation state; judging whether the application program is in a preset operation state or not according to the operation behavior information; and if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode. According to the mobile terminal, when the mobile terminal judges that the application program is in the preset operation state according to the operation behavior information of the user on the interface of the application program, the application program is controlled to be in the disturbance-free mode, so that the message reminding of other application programs except the application program in the mobile terminal can be prevented from interfering the use of the application program, and the use fluency of the application program is improved.
Referring to fig. 5, fig. 5 is a block diagram of a mobile terminal according to another embodiment of the present invention, where the mobile terminal may be a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention. As shown in fig. 5, the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to, when an application is in a foreground running state, obtain operation behavior information of a user on an interface of the application; judging whether the application program is in a preset operation state or not according to the operation behavior information; and if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode, wherein the disturbance-free mode is used for shielding message reminders of other application programs except the application program in the mobile terminal.
Optionally, the processor 510 is further configured to: counting the times of touch operation of a user on an interface of the application program within first preset time; judging whether the number of times of the touch operation reaches a first preset threshold value or not; and if the number of times of the touch operation reaches the first preset threshold, determining that the application program is in the preset operation state.
Optionally, the processor 510 is further configured to: acquiring at least two time intervals, wherein the time intervals are the time intervals of two adjacent touch operations of a user on an interface of the application program; judging whether the at least two time intervals are smaller than a second preset threshold value or not; and if the at least two intervals are smaller than the second preset threshold, determining that the application program is in the preset operation state.
Optionally, the processor 510 is further configured to: if the touch screen of the mobile terminal is detected to be in a lighting state, starting a camera of the mobile terminal to acquire an image acquired by the camera within a second preset time; judging whether the image contains human eyes; and if the image contains human eyes, judging that the application program is in the preset operation state.
Optionally, the processor 510 is further configured to: and if the time that the application program is in the disturbance-free mode is detected to reach a third preset threshold value, controlling the application program to exit the disturbance-free mode.
It should be noted that, in this embodiment, the mobile terminal 500 may be a mobile terminal in any implementation manner in the method embodiment of the present invention, that is, any implementation manner of the mobile terminal in the method embodiment of the present invention may be implemented by the mobile terminal 500 in this embodiment, and the same beneficial effects are achieved, and in order to avoid repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 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 volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program, when executed by the processor 510, implements each process of the above-mentioned image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned application program disturbance-free method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (4)

1. An application program disturbance-free method is applied to a mobile terminal and is characterized by comprising the following steps:
when an application program is in a foreground running state, acquiring operation behavior information of a user on an interface of the application program;
judging whether the application program is in a preset operation state or not according to the operation behavior information;
if the application program is in the preset operation state, controlling the application program to be in a disturbance-free mode, wherein the disturbance-free mode is used for shielding message reminders of other application programs except the application program in the mobile terminal;
the step of obtaining the operation behavior information of the user on the interface of the application program comprises the following steps:
counting the times of touch operation of a user on an interface of the application program within first preset time;
the step of judging whether the application program is in a preset operation state according to the operation behavior information includes:
judging whether the number of times of the touch operation reaches a first preset threshold value or not; if the number of times of the touch operation reaches the first preset threshold, determining that the application program is in the preset operation state; if the number of times of the touch operation does not reach the first preset threshold value, determining that the touch operation is not performed in the first preset threshold value
The step of obtaining the operation behavior information of the user on the interface of the application program further includes:
if the touch screen of the mobile terminal is detected to be in a lighting state, starting a camera of the mobile terminal to acquire an image acquired by the camera within a second preset time;
the step of judging whether the application program is in a preset operation state according to the operation behavior information further includes:
judging whether the image contains human eyes; if the image contains human eyes, judging that the application program is in the preset operation state;
after the step of controlling the application program to be in the do-not-disturb mode, the method further includes:
and if the time that the application program is in the disturbance-free mode is detected to reach a third preset threshold value, controlling the application program to exit the disturbance-free mode.
2. A mobile terminal, comprising:
the acquisition module is used for acquiring the operation behavior information of a user on the interface of the application program when the application program is in a foreground running state;
the judging module is used for judging whether the application program is in a preset operation state or not according to the operation behavior information;
the first control module is used for controlling the application program to be in a disturbance-free mode when the application program is in the preset operation state, wherein the disturbance-free mode is used for shielding message reminding of other application programs except the application program in the mobile terminal;
the acquisition module is specifically used for counting the times of touch operation of a user on the interface of the application program within a first preset time;
the judging module is specifically configured to judge whether the number of times of the touch operation reaches a first preset threshold; if the number of times of the touch operation reaches the first preset threshold, determining that the application program is in the preset operation state; if the number of times of the touch operation does not reach the first preset threshold value, determining that the touch operation is not performed in the first preset threshold value
The obtaining module is further specifically configured to start a camera of the mobile terminal when it is detected that the touch screen of the mobile terminal is in a lighting state, and obtain an image acquired by the camera within a second preset time;
the judging module is further specifically configured to judge whether the image includes human eyes; if the image contains human eyes, judging that the application program is in the preset operation state;
further comprising:
and the second control module is used for controlling the application program to exit the disturbance-free mode if the time for detecting that the application program is in the disturbance-free mode reaches a third preset threshold value after controlling the application program to be in the disturbance-free mode.
3. A mobile terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the application do not disturb method as claimed in claim 1.
4. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the application-disturbance-free method as claimed in claim 1.
CN201710898577.2A 2017-09-28 2017-09-28 Application program disturbance-free method, mobile terminal and computer-readable storage medium Active CN107613131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710898577.2A CN107613131B (en) 2017-09-28 2017-09-28 Application program disturbance-free method, mobile terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710898577.2A CN107613131B (en) 2017-09-28 2017-09-28 Application program disturbance-free method, mobile terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107613131A CN107613131A (en) 2018-01-19
CN107613131B true CN107613131B (en) 2020-08-18

Family

ID=61059398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710898577.2A Active CN107613131B (en) 2017-09-28 2017-09-28 Application program disturbance-free method, mobile terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107613131B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363591A (en) * 2018-01-25 2018-08-03 维沃移动通信有限公司 A kind of method and device of PUSH message control
CN108540657A (en) * 2018-03-23 2018-09-14 努比亚技术有限公司 A kind of interference processing method, mobile terminal and storage medium
CN108540662A (en) * 2018-03-30 2018-09-14 努比亚技术有限公司 Message screening method, mobile terminal and computer readable storage medium
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108712558A (en) * 2018-03-30 2018-10-26 努比亚技术有限公司 Incoming call reminding method, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN108664338A (en) * 2018-03-30 2018-10-16 努比亚技术有限公司 Scene of game message treatment method, mobile terminal and readable storage medium storing program for executing
CN108712559B (en) * 2018-04-08 2021-07-02 深圳先搜科技有限公司 Disturbance-free method, system, terminal equipment and computer readable storage medium
CN108810275A (en) * 2018-06-08 2018-11-13 麒麟合盛网络技术股份有限公司 A kind of information displaying method and device
CN109151164B (en) * 2018-06-27 2021-01-22 努比亚技术有限公司 Message shielding method, terminal and computer readable storage medium
CN109151200A (en) * 2018-08-27 2019-01-04 维沃移动通信有限公司 A kind of means of communication and mobile terminal
CN111182127B (en) * 2018-11-13 2021-07-20 深圳市知赢科技有限公司 Answering interface control method, mobile terminal and device with storage function
CN109660657B (en) * 2018-11-26 2021-03-23 维沃移动通信有限公司 Application program control method and device
CN110213439B (en) * 2019-05-27 2022-03-04 维沃移动通信有限公司 Message processing method and terminal
CN111526245A (en) * 2020-04-03 2020-08-11 维沃移动通信有限公司 Information display method, electronic equipment and storage medium
CN115314593A (en) * 2021-05-08 2022-11-08 深圳市万普拉斯科技有限公司 Mobile terminal control method, device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376141A (en) * 2015-11-24 2016-03-02 阿里巴巴集团控股有限公司 Instant communication message processing method and device
CN105635449A (en) * 2015-12-25 2016-06-01 青岛海信移动通信技术股份有限公司 Alarm clock control method and mobile terminal
CN106293834A (en) * 2016-08-09 2017-01-04 广东小天才科技有限公司 The application program progress control method of a kind of mobile terminal and device
CN106302970A (en) * 2015-06-03 2017-01-04 北京壹人壹本信息科技有限公司 A kind of automatic mode switching method, system and communication terminal
CN106651296A (en) * 2016-10-25 2017-05-10 珠海市魅族科技有限公司 Message prompting method and terminal
CN106888329A (en) * 2017-03-03 2017-06-23 昆山小丫信息科技有限公司 A kind of method and apparatus of interruption-free call prompt

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8385884B1 (en) * 2007-10-12 2013-02-26 Google Inc. Disruption blocking in mobile devices
CN103596252B (en) * 2013-11-28 2017-05-24 贝壳网际(北京)安全技术有限公司 Method and device for controlling mobile terminal and mobile terminal
CN105117211B (en) * 2015-07-28 2018-09-04 小米科技有限责任公司 The method and device of prompting message
CN105892833A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Popup message processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302970A (en) * 2015-06-03 2017-01-04 北京壹人壹本信息科技有限公司 A kind of automatic mode switching method, system and communication terminal
CN105376141A (en) * 2015-11-24 2016-03-02 阿里巴巴集团控股有限公司 Instant communication message processing method and device
CN105635449A (en) * 2015-12-25 2016-06-01 青岛海信移动通信技术股份有限公司 Alarm clock control method and mobile terminal
CN106293834A (en) * 2016-08-09 2017-01-04 广东小天才科技有限公司 The application program progress control method of a kind of mobile terminal and device
CN106651296A (en) * 2016-10-25 2017-05-10 珠海市魅族科技有限公司 Message prompting method and terminal
CN106888329A (en) * 2017-03-03 2017-06-23 昆山小丫信息科技有限公司 A kind of method and apparatus of interruption-free call prompt

Also Published As

Publication number Publication date
CN107613131A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN109271121B (en) Application display method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN109343759B (en) Screen-turning display control method and terminal
CN107977132B (en) Information display method and mobile terminal
US11258893B2 (en) Method for prompting notification message and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN109379484B (en) Information processing method and terminal
CN109032447B (en) Icon processing method and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN107656793B (en) Application program interface switching method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107613095B (en) Incoming call processing method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN108600089B (en) Expression image display method and terminal equipment
CN110908513B (en) Data processing method and electronic equipment
CN109189303B (en) Text editing method and mobile terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN108196781B (en) Interface display method and mobile terminal
CN110191426B (en) Information sharing method and terminal
CN109164908B (en) Interface control method and mobile terminal
CN108600498B (en) Information prompting method and device
CN108388459B (en) Message display processing method and mobile terminal
CN110213439B (en) Message processing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant