CN112199128A - Anti-addiction method and system for mobile terminal - Google Patents
Anti-addiction method and system for mobile terminal Download PDFInfo
- Publication number
- CN112199128A CN112199128A CN202011112637.1A CN202011112637A CN112199128A CN 112199128 A CN112199128 A CN 112199128A CN 202011112637 A CN202011112637 A CN 202011112637A CN 112199128 A CN112199128 A CN 112199128A
- Authority
- CN
- China
- Prior art keywords
- application program
- addiction
- mobile terminal
- current application
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- 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/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Abstract
An anti-addiction method of a mobile terminal includes the following steps: when the application program in the mobile terminal is monitored to be started, judging whether the current application program is a set anti-addiction application or not, if so, turning to the next step, and if not, monitoring again; starting timing by starting a current application program, and if the running time of the current application program exceeds a set first time threshold, starting a camera to acquire a face image of a user; comparing the acquired face image of the user with a pre-stored standard image, if the acquired face image of the user is not in accordance with the standard image, starting an anti-addiction control, forcibly closing a current application program, and simultaneously converting a screen of the mobile terminal into a black screen; if the acquired face image is in accordance with the standard image, continuing to run the current application program; if the running time of the application program reaches the second time threshold value, the current application program is forcibly closed, and meanwhile, the screen of the mobile terminal is changed into a black screen. The invention can play an effective anti-addiction control role.
Description
Technical Field
The invention relates to the field of intelligent electronic terminals, in particular to an anti-addiction method and an anti-addiction system for mobile terminals such as smart phones and tablet computers.
Background
With social development and technological progress, more and more intelligent electronic products enter the lives of people. People are working, entertaining, and consuming more and more through devices such as smart phones, tablets, and even smart televisions. However, although the intelligent electronic product is good, if the intelligent electronic product is not throttled, the normal life of the user is easily affected, for example, the user delays work and study due to indulgence of games.
In view of this, anti-addiction software or products have been produced. The existing anti-addiction products mainly comprise three types: 1. the method comprises the steps that monitoring software is installed on a PC or a terminal, and the network of the PC or the terminal is limited; 2. the method comprises the steps that peripheral hardware such as a timer is added to a PC or a terminal, so that the service time of the PC or the terminal is limited; 3. and controlling the networking time of the PC or the terminal through the router.
However, the existing anti-addiction products generally have the following problems: for 1, the PC or end user can delete the monitoring software very easily by uninstalling or reinstalling the system; for 2, the peripheral hardware can increase the cost of the PC or the terminal, is not easy to be widely applied, and is also easy to be removed by the PC or the terminal user; for 3, after the time is up, the control route is directly disconnected, the control route is not flexible enough, and the normal Internet access of the user is easily delayed.
Disclosure of Invention
The invention aims to provide an anti-addiction method and an anti-addiction system for a mobile terminal.
In order to solve the technical problems, the invention adopts the following technical scheme:
an anti-addiction method of a mobile terminal includes the following steps:
s1, when the application program in the mobile terminal is monitored to be started, judging whether the current application program is a set anti-addiction application or not, if so, turning to the step S2, and if not, monitoring again;
s2, starting timing by starting the current application program, and if the running time of the current application program exceeds a set first time threshold, starting a camera to acquire a face image of a user;
s3, comparing the acquired face image with a pre-stored standard image, if the acquired face image is not in accordance with the standard image, starting anti-addiction control, forcibly closing the current application program, and simultaneously converting the screen of the mobile terminal into a black screen; if the acquired face image is in accordance with the standard image, continuing to run the current application program;
and S4, if the running time of the application program reaches a second time threshold value, forcibly closing the current application program, and simultaneously turning the screen of the mobile terminal into a black screen.
After the current application program is forcibly closed, the current application program can be restarted after a set time T.
The data of the standard image includes eyes, mouth, facial expressions.
And after the current application program is forcibly closed, unlocking the screen to light the screen when the screen of the mobile terminal needs to be opened again after the screen of the mobile terminal turns to be a black screen, and when the forcibly closed application program is clicked within the set time T, the application program cannot be started, and meanwhile, the mark that the current application program is in the anti-addiction control can be displayed.
In step S2, when the operation time of the application program is calculated, the continuous operation time of the application program is used as a reference.
And after the running time of the application program reaches a first time threshold value and in a time period before the second time president is not reached, acquiring the face image of the user every 3-5 seconds, and performing processing in step 3 until the camera is closed when the application program is judged to be closed.
An anti-addiction system for a mobile terminal, comprising:
the monitoring unit is used for monitoring the starting condition of the application program of the mobile terminal;
the judging unit is used for judging whether the started application program is a set anti-addiction application or not;
the timing unit is used for calculating the continuous running time of the application program;
the image acquisition unit is used for starting the camera and shooting a face image of a user;
the comparison unit is used for comparing the acquired face image with the standard image;
and the control unit is used for forcibly closing the application program and switching the screen of the mobile terminal into a black screen state.
The system further comprises a mark display unit for displaying a mark that the current application program is in anti-addiction control.
According to the invention, through the double combination of the running time of the application program and the face image of the user, whether the user is in an anti-addiction state can be more effectively judged, and effective anti-addiction control can be achieved.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
For further understanding of the features and technical means of the present invention, as well as the specific objects and functions attained by the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
As shown in fig. 1, an anti-addiction method for a mobile terminal includes the following steps:
and S1, when the application program in the mobile terminal is monitored to be started, judging whether the current application program is a set anti-addiction application or not, if so, turning to the step S2, and if not, monitoring again. At the beginning, the corresponding setting program of the mobile terminal can be entered, and the required application program is set as the anti-addiction control program.
And S2, starting timing by starting the current application program, and if the running time of the current application program exceeds a set first time threshold, starting a camera to acquire the face image of the user. The runtime refers to the connection runtime of the current application. If the application runtime is closed when it does not reach the first time threshold and then started again, it needs to be re-timed.
S3, comparing the acquired face image with a pre-stored standard image, if the acquired face image is not in accordance with the standard image, starting anti-addiction control, forcibly closing the current application program, and simultaneously converting the screen of the mobile terminal into a black screen; and if the acquired face image is in accordance with the standard image, continuing to run the current application program. The data of the standard image includes eyes, mouth, facial expression. For example, if the eyes are more narrow than in the normal state, it is determined that the eyes are in a fatigue state, and the application is forcibly closed. Or just catch the yawning state, the application is forced to be closed.
And S4, if the running time of the application program reaches a second time threshold value, forcibly closing the current application program, and simultaneously turning the screen of the mobile terminal into a black screen. The second time threshold is the total continuous running time of the application program, and the time is considered to be too long after the time is reached, so that the application program is forcibly closed.
After the current application program is forcibly closed, the current application program can be restarted after a set time T.
And after the current application program is forcibly closed, unlocking the screen to light the screen when the screen of the mobile terminal needs to be opened again after the screen of the mobile terminal turns to be a black screen, and when the forcibly closed application program is clicked within the set time T, the application program cannot be started, and meanwhile, the mark that the current application program is in the anti-addiction control can be displayed.
And after the running time of the application program reaches a first time threshold value and in a time period before the second time president is not reached, acquiring the face image of the user every 3-5 seconds, and performing processing in step 3 until the camera is closed when the application program is judged to be closed.
An anti-addiction system for a mobile terminal, comprising:
the monitoring unit is used for monitoring the starting condition of the application program of the mobile terminal;
the judging unit is used for judging whether the started application program is a set anti-addiction application or not;
the timing unit is used for calculating the continuous running time of the application program;
the image acquisition unit is used for starting the camera and shooting a face image of a user;
the comparison unit is used for comparing the acquired face image with the standard image;
and the control unit is used for forcibly closing the application program and switching the screen of the mobile terminal into a black screen state.
The system further comprises a mark display unit for displaying a mark that the current application program is in anti-addiction control.
Although the present invention has been described in detail with reference to the embodiments, it will be apparent to those skilled in the art that modifications, equivalents, improvements, and the like can be made in the technical solutions of the foregoing embodiments or in some of the technical features of the foregoing embodiments, but those modifications, equivalents, improvements, and the like are all within the spirit and principle of the present invention.
Claims (8)
1. An anti-addiction method of a mobile terminal includes the following steps:
s1, when the application program in the mobile terminal is monitored to be started, judging whether the current application program is a set anti-addiction application or not, if so, turning to the step S2, and if not, monitoring again;
s2, starting timing by starting the current application program, and if the running time of the current application program exceeds a set first time threshold, starting a camera to acquire a face image of a user;
s3, comparing the acquired face image with a pre-stored standard image, if the acquired face image is not in accordance with the standard image, starting anti-addiction control, forcibly closing the current application program, and simultaneously converting the screen of the mobile terminal into a black screen; if the acquired face image is in accordance with the standard image, continuing to run the current application program, and turning to the step S4;
and S4, if the running time of the application program reaches a second time threshold value, forcibly closing the current application program, and simultaneously turning the screen of the mobile terminal into a black screen.
2. The anti-addiction method for mobile terminals according to claim 1, wherein the current application program is forcibly closed and then needs to be restarted after a set time T.
3. The anti-addiction method for mobile terminals according to claim 2, wherein the data of the standard images include eyes, mouth, facial expressions.
4. The method as claimed in claim 3, wherein the forced closing of the current application program is performed, the screen of the mobile terminal is turned to a black screen, and then the screen is unlocked and lighted up when the screen of the mobile terminal needs to be opened again, and when the forced closing of the application program is clicked within the set time T, the application program cannot be started, and at the same time, an indication that the current application program is in the anti-addiction control is displayed.
5. The method for preventing addiction of a mobile terminal according to claim 4, wherein in step S2, the running time of the application is calculated based on the continuous running time of the application.
6. The anti-addiction method for mobile terminals according to claim 5, wherein the facial image of the user is obtained every 3-5 seconds after the running time of the application program reaches the first time threshold and in the time period before the second time president is not reached, and the processing is performed in step S3 until the camera is turned off when the application program is determined to be turned off.
7. An anti-addiction system for a mobile terminal, the system comprising:
the monitoring unit is used for monitoring the starting condition of the application program of the mobile terminal;
the judging unit is used for judging whether the started application program is a set anti-addiction application or not;
the timing unit is used for calculating the continuous running time of the application program;
the image acquisition unit is used for starting the camera and shooting a face image of a user;
the comparison unit is used for comparing the acquired face image with the standard image;
and the control unit is used for forcibly closing the application program and switching the screen of the mobile terminal into a black screen state.
8. The anti-addiction system for mobile terminals according to claim 7, wherein the system further comprises an indication display unit for displaying an indication that the current application is in anti-addiction control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112637.1A CN112199128A (en) | 2020-10-16 | 2020-10-16 | Anti-addiction method and system for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112637.1A CN112199128A (en) | 2020-10-16 | 2020-10-16 | Anti-addiction method and system for mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112199128A true CN112199128A (en) | 2021-01-08 |
Family
ID=74009288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011112637.1A Pending CN112199128A (en) | 2020-10-16 | 2020-10-16 | Anti-addiction method and system for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112199128A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113946810A (en) * | 2021-12-07 | 2022-01-18 | 荣耀终端有限公司 | Application program running method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104888453A (en) * | 2015-05-15 | 2015-09-09 | 广东小天才科技有限公司 | Method and device for preventing game addiction |
CN105938543A (en) * | 2016-03-30 | 2016-09-14 | 乐视控股(北京)有限公司 | Addiction-prevention-based terminal operation control method, device, and system |
CN106055460A (en) * | 2016-05-26 | 2016-10-26 | 广东欧珀移动通信有限公司 | Anti-addiction prompt method, and device of mobile terminal and mobile terminal |
US20170075419A1 (en) * | 2015-09-16 | 2017-03-16 | Hcl Technologies Limited | System and method for reducing eye strain of a user operating a display device |
CN108021794A (en) * | 2017-11-29 | 2018-05-11 | 佛山市因诺威特科技有限公司 | One kind game control method for preventing indulging, terminal installation and readable storage medium storing program for executing |
-
2020
- 2020-10-16 CN CN202011112637.1A patent/CN112199128A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104888453A (en) * | 2015-05-15 | 2015-09-09 | 广东小天才科技有限公司 | Method and device for preventing game addiction |
US20170075419A1 (en) * | 2015-09-16 | 2017-03-16 | Hcl Technologies Limited | System and method for reducing eye strain of a user operating a display device |
CN105938543A (en) * | 2016-03-30 | 2016-09-14 | 乐视控股(北京)有限公司 | Addiction-prevention-based terminal operation control method, device, and system |
CN106055460A (en) * | 2016-05-26 | 2016-10-26 | 广东欧珀移动通信有限公司 | Anti-addiction prompt method, and device of mobile terminal and mobile terminal |
CN108021794A (en) * | 2017-11-29 | 2018-05-11 | 佛山市因诺威特科技有限公司 | One kind game control method for preventing indulging, terminal installation and readable storage medium storing program for executing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113946810A (en) * | 2021-12-07 | 2022-01-18 | 荣耀终端有限公司 | Application program running method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105550554B (en) | A kind of glance prevention method and mobile terminal | |
CN109558008B (en) | Control method, control device, computer equipment and storage medium | |
CN104869242B (en) | Adjust the method and system of screen intensity | |
CN105759935A (en) | Terminal control method and terminal | |
CN104699502B (en) | A kind of method and terminal that application is recommended | |
WO2015131679A1 (en) | Task process processing method and device | |
US20150332085A1 (en) | Method and system for adaptive adjustment of terminal | |
CN104660777B (en) | The function setting method of touch-screen mobile phone and its physical button | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN110554762A (en) | Method and terminal for controlling application program | |
CN103105922A (en) | Method and device for mobile terminal backlight control | |
CN106020415A (en) | Application control method and apparatus for intelligent device in standby state | |
CN104850211A (en) | Power-saving method for smart device during shooting | |
WO2016045525A1 (en) | Method and apparatus for processing state of terminal | |
CN106814838A (en) | The method and apparatus of terminal auto sleep | |
CN112199128A (en) | Anti-addiction method and system for mobile terminal | |
CN104102326A (en) | Power-saving control method and system of mobile terminal | |
CN109618056A (en) | Mobile terminal and its control method of screen light on and off, computer storage medium | |
CN108008804A (en) | The screen control method and device of smart machine | |
US20160266726A1 (en) | Display Control Method And Device | |
CN103561177A (en) | Method and device for setting alarm clock in mobile terminal | |
CN113542256A (en) | Method, device, equipment and storage medium for updating login credentials in client | |
CN107402626A (en) | Using cycle synchronisation management method, device, storage medium and electronic equipment | |
CN113660455B (en) | Method, system and terminal for fall detection based on DVS data | |
CN116132740A (en) | Energy saving method and device for video watching equipment, video watching equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210108 |