CN106874742B - Mobile terminal and application program control method thereof - Google Patents
Mobile terminal and application program control method thereof Download PDFInfo
- Publication number
- CN106874742B CN106874742B CN201510924855.8A CN201510924855A CN106874742B CN 106874742 B CN106874742 B CN 106874742B CN 201510924855 A CN201510924855 A CN 201510924855A CN 106874742 B CN106874742 B CN 106874742B
- Authority
- CN
- China
- Prior art keywords
- monitored
- time
- application program
- foreground running
- preset time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2149—Restricted operating environment
Abstract
The invention relates to the technical field of electronics, and discloses a mobile terminal and an application program control method thereof. In the invention, the application program control method of the mobile terminal comprises the following steps: and monitoring the foreground running time of the application program to be monitored, and executing the control rule if the foreground running time of the application program to be monitored exceeds a first preset time. By the application program control method of the mobile terminal in the embodiment of the invention, the use time of the application program can be effectively controlled in real time, so that a user can obtain good use habits.
Description
Technical Field
The invention relates to the technical field of electronics, in particular to a mobile terminal and an application program control method thereof.
Background
With the development of science and technology, mobile terminals represented by smart phones have become an indispensable part of people's daily life. From "lower head group" to "mobile phone syndrome" with anxiety without mobile phone, people have increasingly serious dependence on mobile phones.
Various application programs are installed on the existing smart phones, only the selection of opening or closing is needed, although some smart phones have a 'child lock' function and control some software to be incapable of running, for adults, no limiting means can control the time and frequency of using the software, so that people are very easy to indulge in the smart phones, a large amount of time is wasted on the smart phones, and in the past, not only the natural communication between people is gradually lost, but also the learning or working efficiency of people is seriously influenced.
Disclosure of Invention
The invention aims to provide a mobile terminal and an application program control method thereof, so that the use time of an application program can be effectively controlled in real time through the method, and a user can obtain good use habits.
In order to solve the above technical problem, an embodiment of the present invention provides an application control method for a mobile terminal, including: A. monitoring the foreground running time of an application program to be monitored; B. and if the foreground running time of the application program to be monitored exceeds a first preset time, executing a control rule.
An embodiment of the present invention further provides a mobile terminal, including: the monitoring module is used for monitoring the foreground running time of the application program to be monitored; and the control module is used for executing a control rule when the monitoring module monitors that the foreground running time of the application program to be monitored exceeds a first preset time.
Compared with the prior art, the embodiment of the invention can obtain the time of the application program used by the user in real time because the mobile terminal can monitor the foreground running time of the application program to be monitored; and when the mobile terminal monitors that the foreground running time of the application program to be monitored exceeds the first preset time, the mobile terminal executes the control rule, namely, after the mobile terminal monitors that the time for the user to use the application program exceeds the preset time, the mobile terminal limits the user to continue to use the application program, so that the use time of the application program can be effectively controlled in real time, and the user can obtain good use habits.
In addition, the number of the application programs to be monitored is more than 1; in the step A, the foreground running time of each application program to be monitored is respectively monitored; after the step A, the following steps are also included: if the foreground running time of an application program to be monitored exceeds second preset time, executing a control rule; and each application program to be monitored corresponds to a second preset time. The foreground running time of each application program to be monitored is monitored respectively, whether the foreground running time of each application program to be monitored exceeds the corresponding second preset time or not is judged, whether the application program to be monitored exceeds the preset time or not can be judged more accurately, the misjudgment rate is reduced, and the use experience of a user is improved.
In addition, the foreground run time is the duration of a single foreground run. The duration time of single foreground operation is set, thus avoiding loopholes and more effectively controlling the service time of the application program.
In addition, counting the execution times of the control rules in N continuous unit time lengths, and if the execution times of the control rules in the unit time lengths are in a descending trend, reducing the first preset time by a preset step length. In the step, the execution times of the control rules in the unit time length are judged to be in a descending trend, and the first preset time is reduced by the preset step length, so that the use time of the application program can be further controlled, the dependence on the smart phone is further reduced for a user, and a better use habit is obtained.
In addition, the control rule includes one or any combination of the following: popping up a reminding frame; stopping running the current application program to be monitored; and closing the screen for a third preset time. The selection of the implementation mode of the invention is flexible and changeable, which is beneficial to the popularization of the invention in practical application.
Drawings
FIG. 1 is a schematic flow chart of an application control method according to a first embodiment of the present invention;
FIG. 2 is a flow chart illustrating an application control method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solutions claimed in the claims of the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to an application control method of a mobile terminal. The flow is shown in fig. 1, and specifically comprises the following steps:
Specifically, when a user uses the mobile terminal, the mobile terminal monitors the foreground running time of each application program to be monitored in real time and respectively, wherein the foreground running time refers to the duration of single foreground running; the application program to be monitored is an application program with a program name containing preset keywords, and the number of the application programs is more than 1; the preset keywords are set by the associated terminal of the mobile terminal. For example, the mobile terminal is a mobile phone, and the user accesses the mobile phone to a computer, where the computer is the associated terminal of the mobile phone. The user sets up preset keywords (panning, QQ, WeChat, UC) on the computer, so the application program (cell-phone panning, QQ, WeChat, UC browser) that the program name contains "panning", "QQ", "UC" and "WeChat" can be identified as the application program to be monitored, when the user uses the cell-phone, the cell-phone can monitor the operation of cell-phone panning, QQ, UC browser and WeChat in real time, obtain the duration of corresponding single foreground operation respectively.
Specifically, after acquiring the foreground running time of each application program to be monitored, the mobile terminal calculates the sum of the foreground running times of all the application programs to be monitored, judges whether the sum of the foreground running times of all the application programs to be monitored exceeds a first preset time, and if the sum of the foreground running times of all the application programs to be monitored exceeds the first preset time, the step 104 is carried out; if the determination result is that the first preset time is not exceeded, the process proceeds to step 103.
For example: the first preset time is 120 minutes, and when the mobile phone monitors the operation of the mobile phone panning, the QQ, the UC browser and the WeChat in real time and the duration of the single foreground operation is respectively obtained to be 40 minutes, 0 minute, 40 minutes and 20 minutes. The sum of the foreground run times of the four applications is 100 minutes. Since the 100 minutes is less than 120 minutes, the mobile phone determines that the foreground running time of the application to be monitored does not exceed the first preset time, and then the process proceeds to step 103.
And 103, judging whether the foreground running time of an application program to be monitored exceeds a second preset time. If yes, the process proceeds to step 104, and if no, the process returns to step 103.
Specifically, after the foreground running time sum of all the applications to be monitored is judged not to exceed the first preset time, whether the foreground running time of one of the applications to be monitored exceeds the second preset time is continuously judged, if the foreground running time of one of the applications to be monitored exceeds the second preset time, the step 104 is entered, and if the foreground running time of one of the applications to be monitored does not exceed the second preset time, the step 103 is returned. And each application program to be monitored corresponds to a second preset time.
For example, the mobile phone monitors the operations of the mobile phone panning, the QQ, the UC browser and the WeChat in real time, and the duration of the single foreground operation is 40 minutes, 0 minute, 40 minutes and 20 minutes respectively; the second preset time of the mobile phone panning, the QQ browser, the UC browser and the WeChat is 30 minutes, 10 minutes, 30 minutes and 30 minutes respectively. If the mobile phone first determines whether the foreground operating time of the mobile phone panning exceeds the corresponding second preset time, since 40 minutes is greater than 30 minutes, the mobile phone will determine that the foreground operating time of the mobile phone panning exceeds the corresponding second preset time, and then the process goes to step 104.
Therefore, whether the application program to be monitored exceeds the preset time or not can be judged more accurately through the step, the misjudgment rate is reduced, and the use experience of a user is improved.
Specifically, the mobile terminal executes the control rule after judging that the foreground running time of a certain application program to be monitored exceeds a second preset time. The control rule may be a pop-up reminding frame, may be to stop running the current application to be monitored, or may be to close the screen and continue for a third preset time. Of course, any combination of the three above cases is also possible. For example, the mobile terminal may pop up a reminding frame to remind the user to close the current application program to be monitored, and if the current application program to be monitored is still in the running state after 1 minute, the mobile terminal forcibly stops running the current application program to be monitored.
By the embodiment, the mobile terminal can obtain the time of the user using the application program in real time by monitoring the foreground running time of the application program to be monitored; and when the mobile terminal monitors that the foreground running time of the application program to be monitored exceeds the first preset time, the mobile terminal executes the control rule and limits the user to continue using the application program, so that the use time of the application program can be effectively controlled in real time, and the user can obtain good use habits.
A second embodiment of the present invention relates to an application control method of a mobile terminal. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: as shown in fig. 2, in the second embodiment of the present invention, the step of statistically continuing the number of times of execution of the control rule in N unit time periods is added, and if the number of times of execution of the control rule in the unit time period is in a downward trend, decreasing the first preset time by a predetermined step size.
In this embodiment, steps 201 to 204 are the same as steps 101 to 104 in the first embodiment, and are not described herein again.
Specifically, after the user uses the mobile terminal for a period of time, the mobile terminal counts the execution times of the control rule in continuous N unit time lengths. Wherein N is a natural number greater than 1, the unit duration is a fixed time period set by the mobile terminal itself, for example, the unit duration may be 1 day, and N is 5, so that the mobile terminal counts the execution times of the control rule within 5 consecutive days.
Specifically, after counting the execution times of the control rules in N consecutive unit durations, the mobile terminal determines whether the execution times of the control rules in the unit duration is in a downward trend, and if so, the mobile terminal enters step 207; if not, ending. For example, the mobile terminal counts the execution times of the control rule within 5 consecutive days, where the execution times in 5 days are 7 times, 6 times, 5 times, and 5 times, respectively. Since the number of times > 7 > 6 > 5 is in a downward trend with 5 times, the mobile terminal may determine that the number of times of executing the control rule is in a downward trend within 1 day, and then proceed to step 207.
Specifically, when the mobile terminal determines that the execution number of the control rule in the unit time length is in a descending trend, the mobile terminal decreases the first preset time by a preset step length. The predetermined step length is a time length which should be decreased each time the trend of decrease is presented. For example, if the initial first preset time is 120 minutes, the mobile terminal may decrease the number of times of executing the control rule in the unit time length by 10 minutes after determining that the number of times of executing the control rule in the unit time length is in a downward trend, and the updated first preset time is 110 minutes, where the predetermined step length is decreased by 10 minutes each time.
Through the implementation mode, the first preset time can be shortened through user progress every time, so that the use time of the application program is further controlled, the user is further helped to reduce dependence on the smart phone, and a better use habit is obtained.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to a mobile terminal, as shown in fig. 3, including: the device comprises a monitoring module, a control module and a preset module.
The monitoring module is used for monitoring the foreground running time of the application program to be monitored.
The control module is used for executing the control rule when the monitoring module monitors that the foreground running time of the application program to be monitored exceeds a first preset time; the monitoring module is also used for executing the control rule when the monitoring module monitors that the running time of the foreground of the application program to be monitored exceeds second preset time; and each application program to be monitored corresponds to a second preset time.
And the presetting module is used for presetting the application program with the program name containing the preset keywords as the application program to be monitored.
Through the implementation mode, the structure of the invention is perfected, thereby being beneficial to the popularization of the invention in practical application.
It should be noted that this embodiment is a system example corresponding to the first embodiment or the second embodiment, and may be implemented in cooperation with the first embodiment or the second embodiment. The related technical details mentioned in the first embodiment or the second embodiment are still valid in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment or the second embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.
Claims (4)
1. A method for controlling an application program of a mobile terminal is characterized by comprising the following steps:
A. respectively monitoring the foreground running time of each application program to be monitored, wherein the application program to be monitored is an application program with a program name containing preset keywords, and the foreground running time is the duration of single foreground running;
B. calculating the sum of the foreground running time of all the application programs to be monitored, judging whether the sum of the foreground running time of all the application programs to be monitored exceeds a first preset time, and executing a control rule if the foreground running time of all the application programs to be monitored exceeds the first preset time;
wherein the number of the applications to be monitored is greater than 1;
in the step B, the method further includes the steps of:
if the sum of the foreground running times of all the applications to be monitored does not exceed the first preset time, judging whether the foreground running time of the applications to be monitored exceeds a second preset time;
if the foreground running time of an application program to be monitored exceeds second preset time, executing a control rule; each application program to be monitored corresponds to a second preset time respectively;
counting the execution times of the control rules in N continuous unit time lengths, and if the execution times of the control rules in the unit time lengths are in a descending trend, reducing the first preset time by a preset step length; wherein N is a natural number greater than 1.
2. The method according to claim 1, wherein the preset keyword is set by an associated terminal of the mobile terminal.
3. The method according to any of claims 1 to 2, wherein the control rule comprises one or any combination of the following:
popping up a reminding frame;
stopping running the current application program to be monitored;
and closing the screen for a third preset time.
4. A mobile terminal, comprising:
the system comprises a presetting module, a monitoring module and a monitoring module, wherein the presetting module is used for presetting an application program with a program name containing preset keywords as an application program to be monitored;
the monitoring module is used for respectively monitoring the foreground running time of each application program to be monitored, wherein the foreground running time is the duration time of single foreground running;
the control module is used for calculating the sum of the foreground running times of all the application programs to be monitored, judging whether the sum of the foreground running times of all the application programs to be monitored exceeds a first preset time or not, and executing a control rule when the monitoring module monitors that the foreground running times of all the application programs to be monitored exceed the first preset time;
wherein the number of the applications to be monitored is greater than 1;
the control module is further used for monitoring whether the foreground running time of the application program to be monitored exceeds a second preset time or not when the monitoring module monitors that the sum of the foreground running times of all the application programs to be monitored does not exceed the first preset time; executing a control rule when the foreground running time of an application program to be monitored exceeds a second preset time; each application program to be monitored corresponds to a second preset time respectively;
the control module is also used for counting the execution times of the control rules in continuous N unit time lengths, and if the execution times of the control rules in the unit time lengths are in a descending trend, the first preset time is reduced by a preset step length; wherein N is a natural number greater than 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510924855.8A CN106874742B (en) | 2015-12-12 | 2015-12-12 | Mobile terminal and application program control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510924855.8A CN106874742B (en) | 2015-12-12 | 2015-12-12 | Mobile terminal and application program control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106874742A CN106874742A (en) | 2017-06-20 |
CN106874742B true CN106874742B (en) | 2020-09-01 |
Family
ID=59177604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510924855.8A Active CN106874742B (en) | 2015-12-12 | 2015-12-12 | Mobile terminal and application program control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106874742B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107437024A (en) * | 2017-08-02 | 2017-12-05 | 深圳天珑无线科技有限公司 | Application processing method, using processing unit and terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399880A (en) * | 2008-10-24 | 2009-04-01 | 深圳华为通信技术有限公司 | Method for controlling used of mobile terminal and mobile terminal thereof |
CN103607513A (en) * | 2013-11-26 | 2014-02-26 | 广东欧珀移动通信有限公司 | Method for controlling application to be used and intelligent terminal |
CN103631821A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Application program search method and electronic terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6105343B2 (en) * | 2013-03-19 | 2017-03-29 | 有限会社ユタカ産業 | Beverage cup body |
-
2015
- 2015-12-12 CN CN201510924855.8A patent/CN106874742B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399880A (en) * | 2008-10-24 | 2009-04-01 | 深圳华为通信技术有限公司 | Method for controlling used of mobile terminal and mobile terminal thereof |
CN103631821A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Application program search method and electronic terminal |
CN103607513A (en) * | 2013-11-26 | 2014-02-26 | 广东欧珀移动通信有限公司 | Method for controlling application to be used and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106874742A (en) | 2017-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108564951B (en) | Method for intelligently reducing false awakening probability of voice control equipment | |
US9704503B2 (en) | Command handling method, apparatus, and system | |
US9690685B2 (en) | Performance management based on resource consumption | |
US20180014252A1 (en) | Wake-Up Control Method and Apparatus, and Terminal Device | |
WO2015131679A1 (en) | Task process processing method and device | |
KR101516859B1 (en) | System and method for controlling central processing unit power with guaranteed steady state deadlines | |
CN104216753A (en) | Method for rapidly starting application program for terminal, and terminal | |
Han et al. | E3: Energy-efficient engine for frame rate adaptation on smartphones | |
CN109299088A (en) | Mass data storage means, device, storage medium and electronic equipment | |
KR20130022488A (en) | Apparatus and method for controlling polling | |
CN106055404B (en) | Method and device for cleaning background application program | |
CN112367269A (en) | Double-pointer-based sliding window current limiting method, device, equipment and storage medium | |
CN112463367A (en) | Method and system for optimizing performance of storage system, electronic equipment and storage medium | |
CN107704317B (en) | Intelligent device and application management method thereof and device with storage function | |
CN104346563B (en) | The method and electronic equipment of a kind of information processing | |
CN104317611B (en) | Application rousing setting device and method and mobile terminal | |
CN109992314B (en) | Data reporting method, device, terminal and storage medium | |
CN106874742B (en) | Mobile terminal and application program control method thereof | |
CN107861855A (en) | A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption | |
CN103761096B (en) | The automated input methodology realized based on IBinder mechanism and device | |
CN106648916B (en) | Method and device for reporting pedometer message | |
CN106873749B (en) | Operation optimization method, operation optimization system and terminal | |
CN109068355B (en) | Method for saving data traffic, telephone watch, server and mobile terminal | |
CN108632069B (en) | Client configuration method, system and related equipment | |
KR20200091917A (en) | Resource processing method and system, storage medium, electronic device |
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 |