CN108710786A - A kind of method of Anti-addiction, equipment and computer readable storage medium - Google Patents

A kind of method of Anti-addiction, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108710786A
CN108710786A CN201810291343.6A CN201810291343A CN108710786A CN 108710786 A CN108710786 A CN 108710786A CN 201810291343 A CN201810291343 A CN 201810291343A CN 108710786 A CN108710786 A CN 108710786A
Authority
CN
China
Prior art keywords
addiction
program
application program
program listing
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.)
Pending
Application number
CN201810291343.6A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810291343.6A priority Critical patent/CN108710786A/en
Publication of CN108710786A publication Critical patent/CN108710786A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method of Anti-addiction, equipment and computer readable storage mediums, belong to communication technique field.The method includes:Judge whether that the trigger event for opening Anti-addiction pattern has occurred;If the trigger event has occurred, Anti-addiction program listing is obtained;The application program easily indulged is obtained according to the Anti-addiction program listing;The operation of the application program is limited.Using the present invention, after the trigger event that Anti-addiction pattern has occurred, by limiting the operation of the application program in Anti-addiction program listing, rather than the consciousness for relying solely on user actively breaks away from addiction state, and user can preferably be helped to avoid excessively using intelligent terminal.

Description

A kind of method of Anti-addiction, equipment and computer readable storage medium
Technical field
The present invention relates to a kind of communication technique field more particularly to method of Anti-addiction, equipment and computer-readable storages Medium.
Background technology
With the rapid development of science and technology, intelligent terminal (such as mobile phone) popularized, and with including in intelligent terminal Function is more and more so that intelligent terminal becomes an essential part in people's daily life, the work of people, life, Amusement all be unable to do without intelligent terminal, also gradually elongated in the time spent on intelligent terminal, and more and more people indulge It can not extricate oneself in using intelligent terminal.By taking mobile phone as an example, somebody indulges in mobile phone using game, and somebody, which indulges in, sees electricity Shadow, also somebody, which indulges in, sees various news, brush circle of friends, shopping etc., indulges mobile phone for a long time, not only wastes time, but also Influence health.
Therefore, it is necessary to provide a kind of method of Anti-addiction, equipment and computer readable storage medium, user is helped to avoid Excessively use intelligent terminal.
Invention content
In view of this, the purpose of the present invention is to provide a kind of method of Anti-addiction, equipment and computer-readable storage mediums Matter, to help user to avoid excessively using intelligent terminal.
Technical solution is as follows used by the present invention solves above-mentioned technical problem:
According to the first aspect of the invention, a kind of method of Anti-addiction is provided, the communication means includes the following steps:
Judge whether that the trigger event for opening Anti-addiction pattern has occurred;
If so, obtaining Anti-addiction program listing;
The application program easily indulged is obtained according to the Anti-addiction program listing;
The operation of application program in the Anti-addiction program listing is limited.
Optionally, the operation of the application program is limited, including:
Judge whether the application program being currently running is included in the Anti-addiction program listing;
If so, closing the application program being currently running.
Optionally, described to close after the application program being currently running, the method further includes:
Hide the icon of application program on the table in the Anti-addiction program listing.
Optionally, the icon of the application program hidden in the Anti-addiction program listing on the table, including:
Obtain indispensable program listing;
Desktop is switched into Anti-addiction pattern, at this point, desktop only shows the icon of the application program in indispensable program listing.
Optionally, the method further includes:
Pre-set the Anti-addiction program listing and the indispensable program listing.
Optionally, the method further includes:
Record use habit of the user to each application program of system;
The Anti-addiction program listing and the indispensable program listing are updated according to the use habit.
Optionally, described to judge whether that the trigger event for opening Anti-addiction pattern has occurred, including:
Judge whether to receive into whether the instruction of Anti-addiction pattern or the usage time of intelligent terminal reach first Whether preset duration or active user are limited users;
The trigger event has occurred if so, confirming.
Optionally, after the acquisition Anti-addiction program listing, the method further includes:
Receive the mount request of application program;
Judge whether the application program is included in the Anti-addiction program listing;
If so, refusing the mount request.
According to the second aspect of the invention, a kind of device of Anti-addiction is provided, the device of the Anti-addiction includes:Storage Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the computer journey The step of method as described in relation to the first aspect is realized when sequence is executed by the processor.
According to the third aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage are provided It is stored with computer program on medium, Anti-addiction as described in relation to the first aspect is realized when the computer program is executed by processor Method the step of.
Method, equipment and the computer readable storage medium of the Anti-addiction of the embodiment of the present invention, open anti-settling in user When fan's pattern, opens timer and user is judged to use using the time progress timing of intelligent terminal according to the time value of timer The Anti-addiction stage that family is presently in reminds user using different Anti-addiction alerting patterns, helps user to only The addiction state of energy terminal is broken away from, and avoids excessively using intelligent terminal.
Description of the drawings
A kind of hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of flow chart of the method for Anti-addiction that the embodiment of the present invention one provides;
Fig. 3 is a kind of modular structure schematic diagram of the device of Anti-addiction provided by Embodiment 2 of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
The embodiment of the present invention one provides a kind of method of Anti-addiction, and a kind of method of Anti-addiction of the present embodiment is applicable in In the intelligent terminal including mobile terminal.Referring to Fig. 2, method flow includes:
S201, judge whether that the trigger event for opening Anti-addiction pattern has occurred;
If the trigger event S202, has occurred, Anti-addiction program listing is obtained;
S203, the application program easily indulged is obtained according to the Anti-addiction program listing;
S204, the operation of the application program is limited.
In a feasible scheme, step S201, judge whether that the trigger event for opening Anti-addiction pattern, packet has occurred It includes:
Judge whether to receive into whether the instruction of Anti-addiction pattern or the usage time of intelligent terminal reach first Whether preset duration or active user are limited users;
The trigger event has occurred if so, confirming.
It, can be in control menu, notice if trigger event is the instruction received into Anti-addiction pattern in practical application The drop-down menu on column or set centers an Anti-addiction switch (or option), user can by click the Anti-addiction switch it is defeated Enter to enter the instruction of Anti-addiction.One shortcut key (for example long-press volume increases button) can also be set, and user can pass through Instruction of the shortcut key input into Anti-addiction.
In practical application, if whether the usage time that trigger event is intelligent terminal reaches the first preset duration, it can incite somebody to action The mode that Anti-addiction pattern is opened automatically turns on when being set as reaching preset duration, at this point, beginning to use intelligent end in user When end, timer is opened, when the timing of timer reaches preset duration, automatically turns on Anti-addiction pattern.
In practical application, if trigger event is to judge whether active user is limited users, it can sentence by the following method Whether disconnected active user is limited users.
Method one includes the following steps:
When receiving the instruction for lighting screen, user is prompted to input finger print information;
Finger print information is verified;
If being verified, continue to judge whether the finger print information is consistent with the finger print information of the limited users to prestore, if so, Confirm that the user is limited users.
Method two includes the following steps:
When showing that screen is lit, opens camera and shoot the photo of currently used person;
Extract the face characteristic in the photo;
The face characteristic of extraction is matched with the face characteristic of the limited users to prestore;
If successful match, this confirms that the user is limited users.
Method three includes the following steps:
When showing that screen is lit, prompts user to input and release Anti-addiction password;
Judge whether Anti-addiction password input by user is correct;
If correct, judge the user for untethered user;
Otherwise, judge the user for limited users.
It, can be direct if carrying out identification failure to active user by the way of recognition of face in practical application Think that the user is limited users, and open Anti-addiction state, to achieve the purpose that Anti-addiction.
In a feasible scheme, step S204, the operation of the application program is limited, including:
Judge whether the application program being currently running is included in the Anti-addiction program listing;
If so, closing the application program being currently running.
Specifically, the packet name of the corresponding service acquisition application program for the application program being currently running, root can be passed through The position that the application program is navigated to according to the packet name, is then shut off the application program.
It in practical application, closes after the application program being currently running, this method further includes:
Hide the icon of application program on the table in the Anti-addiction program listing.
In practical application, the icon of application program on the table in the Anti-addiction program listing is hidden, including:
Obtain indispensable program listing;
Desktop is switched into Anti-addiction pattern, at this point, desktop only shows the icon of the application program in indispensable program listing.
In a feasible scheme, this method further includes:
Pre-set the Anti-addiction program listing and the indispensability program listing.
In practical application, the application program in Anti-addiction program listing can carry out the intended application of addiction limitation Program, i.e., the application program easily indulged.For example, it may be game class application program (such as Tencent plays), video class application program (such as youku.com's video), wechat, QQ, the application program of the easy transition addiction such as trill.The application of the Anti-addiction program listing program Can be automatically made the application program for carrying out addiction limitation by system according to programs categories when mounted, can also be User sets new or existing application program to the application for needing to carry out Anti-addiction by way of adding, being arranged manually The program.
The application program of indispensable program listing can be call, and short message is navigated, and the users such as chauffeur commonly live, communicate The application program of class.The application of the indispensable program listing program can be set automatically by system according to programs categories when mounted For indispensable application program, can also be user by way of adding, being arranged manually by new or existing application program It is set as indispensable application program.
In practical application, indispensable program listing and Anti-addiction program listing can directly store corresponding application program List can also store the applicating category of corresponding application program.The applicating category of application program generally can be according to application program Function divided, such as according to the function of application program, application program can be divided into system tool class method, game class Sequence, office class method, service for life class method etc..
When stored in Anti-addiction program listing be application program classification (such as game class, chat tool class), then Step S203, the application program easily indulged is obtained according to Anti-addiction program listing, can be obtained in the following manner:
Mounted the application list in acquisition system;
Judge whether the classification of mounted application program is included in the Anti-addiction program listing;
If so, judging the application program for the application program easily indulged.
In a feasible scheme, this method further includes:
Record use habit of the user to each application program of system;
The Anti-addiction program listing and the indispensability program listing are updated according to the use habit.
In practical application, user is more conventional in addition to using phone, short message, taking pictures etc. during using terminal equipment Build-in function outside, types of applications of most times in using terminal equipment.It can be in user's using terminal equipment The use habit of user is recorded and analyzed in the process and is classified to each application program, such as records each application program Using duration and frequency and be ranked up, the application that duration will be used to come first 5 and/or use duration more than predetermined threshold value Program is classified as the application program for needing to carry out Anti-addiction, and frequency of use, which is come preceding 5 application programs, is classified as indispensability Application program.
In a feasible scheme, after step S202, obtaining Anti-addiction program listing, this method further includes:
Receive the mount request of application program;
Judge whether the application program is included in the Anti-addiction program listing;
If so, refusing the mount request.
In a feasible scheme, after step S204, limiting the operation of the application program, this method is also wrapped It includes:
Open eyeshield pattern.
In practical application, eyeshield pattern can be realized the adjusting of screen by terminal device.The adjusting to screen can To be the adjusting to reducing user experience, i.e. the effect experience of user's using terminal equipment under eyeshield pattern reduces, into And user is made no longer to indulge in terminal device, for example, being controlled by screen display, change the color of R, G, B with filter blue light.Wherein, The blue light is the high-energy light that wavelength is 400-500 nanometers.Studies have shown that shortwave blue light in visible light to the injuries of eyes compared with Greatly, it is controlled by screen display, changes the color of R, G, B with filter blue light, exist since the change of R, G, B color influences user accordingly Experience when using default application program, if video, game effect reduce, to avoid user from continuing while protecting eyesight Indulge in the application program.
In a feasible scheme, after step S204, limiting the operation of the application program, this method is also wrapped It includes:
Judge whether that the trigger event for exiting Anti-addiction pattern has occurred;
If so, releasing to the limitation using the program in Anti-addiction program listing.
Trigger event includes:The display screen shut-in time for receiving the instruction or intelligent terminal of exiting Anti-addiction pattern reaches It is lighted again after to preset duration or active user becomes untethered user.
In practical application, may be used with open Anti-addiction pattern trigger event receive it is input by user exit it is anti-settling The trigger event for exiting Anti-addiction pattern is arranged (for example, if opening Anti-addiction pattern in the corresponding mode of instruction of fan's pattern Trigger event be receive it is input by user open Anti-addiction pattern instruction, then exiting the trigger event of Anti-addiction pattern then It is corresponding to be set as receiving the instruction input by user for exiting Anti-addiction pattern), certainly, it can also be configured as needed.
In practical application, release in Anti-addiction program listing including reverting to desktop using the limitation of the program General mode shows the application program in all application programs, including Anti-addiction program listing, at this point, user can be normal Using terminal equipment.
The method of the Anti-addiction of the present embodiment, after the trigger event that Anti-addiction pattern has occurred, by Anti-addiction journey The operation of application program in sequence inventory is limited, rather than the consciousness for relying solely on user actively breaks away from addiction state, User can be preferably helped to avoid excessively using intelligent terminal.
On the basis of previous embodiment, second embodiment of the invention provides a kind of device of Anti-addiction, please refers to figure 3, the device of the Anti-addiction includes:It memory 301, processor 302 and is stored on the memory and can transport on the processor Capable computer program, the step of method as described in preceding embodiment one is realized when which is executed by the processor, It specifically includes:
S201, judge whether that the trigger event for opening Anti-addiction pattern has occurred;
If the trigger event S202, has occurred, Anti-addiction program listing is obtained;
S203, the application program easily indulged is obtained according to the Anti-addiction program listing;
S204, the operation of the application program is limited.
It, should when executing the trigger event for judging whether to have occurred unlatching Anti-addiction pattern in a feasible scheme Processor 302 is additionally operable to execute the computer program, to realize following steps:
Judge whether to receive into whether the instruction of Anti-addiction pattern or the usage time of intelligent terminal reach first Whether preset duration or active user are limited users;
The trigger event has occurred if so, confirming.
In practical application, an Anti-addiction switch can be centered controlling the drop-down menu of menu, notification bar or setting (or option), user can be by clicking instruction of the Anti-addiction switch input into Anti-addiction.One can also be arranged fast Button (for example long-press volume increases button), user can input the instruction into Anti-addiction by the shortcut key.
In practical application, the mode that can also open Anti-addiction pattern is opened automatically when being set as reaching preset duration It opens, at this point, when user begins to use intelligent terminal, opens timer, when the timing of timer reaches preset duration, from It is dynamic to open Anti-addiction pattern.
In practical application, it can judge whether active user is limited users by the following method.
Method one includes the following steps:
When receiving the instruction for lighting screen, user is prompted to input finger print information;
Finger print information is verified;
If being verified, continue to judge whether the finger print information is consistent with the finger print information of the limited users to prestore, if so, Confirm that the user is otherwise limited users directly light display screen.
Method two includes the following steps:
When showing that screen is lit, opens camera and shoot the photo of currently used person;
Extract the face characteristic in the photo;
The face characteristic of extraction is matched with the face characteristic of the limited users to prestore;
If successful match, this confirms that the user is limited users.
Method three includes the following steps:
When showing that screen is lit, prompts user to input and release Anti-addiction password;
Judge whether Anti-addiction password input by user is correct;
If correct, judge the user for untethered user;
Otherwise, judge the user for limited users.
It, can be direct if carrying out identification failure to active user by the way of recognition of face in practical application Think that the user is limited users, Anti-addiction state is opened, to achieve the purpose that Anti-addiction.
In a feasible scheme, when execution limits the operation of the application program, which also uses In executing the computer program, to realize following steps:
Judge whether the application program being currently running is included in the Anti-addiction program listing;
If so, closing the application program being currently running.
Specifically, the packet name of the corresponding service acquisition application program for the application program being currently running, root can be passed through The position that the application program is navigated to according to the packet name, is then shut off the application program.
It in practical application, closes after the application program being currently running, this method further includes:
Hide the icon of application program on the table in the Anti-addiction program listing.
In practical application, the icon of application program on the table in the Anti-addiction program listing is hidden, including:
Obtain indispensable program listing;
Desktop is switched into Anti-addiction pattern, at this point, desktop only shows the icon of the application program in indispensable program listing.
In a feasible scheme, which is additionally operable to execute the computer program, to realize following steps:
Pre-set the Anti-addiction program listing and the indispensability program listing.
In practical application, the application program in Anti-addiction program listing can carry out the intended application of addiction limitation Program, i.e., the application program easily indulged.For example, it may be game class application program (such as Tencent plays), video class application program (such as youku.com's video), wechat, QQ, the application program of the easy transition addiction such as trill.The application of the Anti-addiction program listing program Can be automatically made the application program for carrying out addiction limitation by system according to programs categories when mounted, can also be User sets new or existing application program to the application for needing to carry out Anti-addiction by way of adding, being arranged manually The program.
The application program of indispensable program listing can be call, and short message is navigated, and the users such as chauffeur commonly live, communicate The application program of class.The application of the indispensable program listing program can be set automatically by system according to programs categories when mounted For indispensable application program, can also be user by way of adding, being arranged manually by new or existing application program It is set as indispensable application program.
In practical application, indispensable program listing and Anti-addiction program listing can directly store corresponding application program List can also store the applicating category of corresponding application program.The applicating category of application program generally can be according to application program Function divided, such as according to the function of application program, application program can be divided into system tool class method, game class Sequence, office class method, service for life class method etc..
When stored in Anti-addiction program listing be application program classification (such as game class, chat tool class), then Step S203, the application program easily indulged is obtained according to Anti-addiction program listing, can be obtained in the following manner:
Mounted the application list in acquisition system;
Judge whether the classification of mounted application program is included in the Anti-addiction program listing;
If so, judging the application program for the application program easily indulged.
In a feasible scheme, which is additionally operable to execute the computer program, to realize following steps:
Record use habit of the user to each application program of system;
The Anti-addiction program listing and the indispensability program listing are updated according to the use habit.
In practical application, user is more conventional in addition to using phone, short message, taking pictures etc. during using terminal equipment Build-in function outside, types of applications of most times in using terminal equipment.It can be in user's using terminal equipment The use habit of user is recorded and analyzed in the process and is classified to each application program, for example, recording each using journey Sequence uses duration and frequency and is ranked up, and it is more than answering for predetermined threshold value that duration will be used, which to come first 5 and/or use duration, It is classified as the application program for needing to carry out Anti-addiction with program, frequency of use, which is come preceding 5 application programs, is classified as indispensability Application program.
In a feasible scheme, after executing step S202, obtaining Anti-addiction program listing, the processor 302 It is additionally operable to execute the computer program, to realize following steps:
Receive the mount request of application program;
Judge whether the application program is included in the Anti-addiction program listing;
If so, refusing the mount request.
In a feasible scheme, after executing step S204, limiting the operation of the application program, at this Reason device 302 is additionally operable to execute the computer program, to realize following steps:
Open eyeshield pattern.
In practical application, eyeshield pattern can be realized the adjusting of screen by terminal device.The adjusting to screen can To be the adjusting to reducing user experience, i.e. the effect experience of user's using terminal equipment under eyeshield pattern reduces, into And user is made no longer to indulge in terminal device, for example, being controlled by screen display, change the color of R, G, B with filter blue light.Wherein, The blue light is the high-energy light that wavelength is 400-500 nanometers.Studies have shown that shortwave blue light in visible light to the injuries of eyes compared with Greatly, it is controlled by screen display, changes the color of R, G, B with filter blue light, exist since the change of R, G, B color influences user accordingly Experience when using default application program, if video, game effect reduce, to avoid user from continuing while protecting eyesight Indulge in the application program.
In a feasible scheme, after executing step S204, limiting the operation of the application program, the processing Device 302 is additionally operable to execute the computer program, to realize following steps:
Judge whether that the trigger event for exiting Anti-addiction pattern has occurred;
If so, releasing to the limitation using the program in Anti-addiction program listing.
Trigger event includes:The display screen shut-in time for receiving the instruction or intelligent terminal of exiting Anti-addiction pattern reaches It is lighted again after to preset duration or active user becomes untethered user.
In practical application, may be used with open Anti-addiction pattern trigger event receive it is input by user exit it is anti-settling The trigger event for exiting Anti-addiction pattern is arranged (for example, if opening Anti-addiction pattern in the corresponding mode of instruction of fan's pattern Trigger event be receive it is input by user open Anti-addiction pattern instruction, then exiting the trigger event of Anti-addiction pattern then It is corresponding to be set as receiving the instruction input by user for exiting Anti-addiction pattern), certainly, it can also be configured as needed.
In practical application, release in Anti-addiction program listing including reverting to desktop using the limitation of the program General mode shows the application program in all application programs, including Anti-addiction program listing, at this point, user can be normal Using terminal equipment.
The device of the Anti-addiction of the present embodiment, after the trigger event that Anti-addiction pattern has occurred, by Anti-addiction journey The operation of application program in sequence inventory is limited, rather than the consciousness for relying solely on user actively breaks away from addiction state, User can be preferably helped to avoid excessively using intelligent terminal.
On the basis of previous embodiment, the embodiment of the present invention three provides a kind of computer readable storage medium, special Sign is, computer program is stored on the computer readable storage medium, when the computer program is executed by processor The step of realizing the method for the Anti-addiction as described in embodiment one.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of method of Anti-addiction, which is characterized in that the communication means includes the following steps:
Judge whether that the trigger event for opening Anti-addiction pattern has occurred;
If so, obtaining Anti-addiction program listing;
The application program easily indulged is obtained according to the Anti-addiction program listing;
The operation of the application program is limited.
2. the method for Anti-addiction as described in claim 1, which is characterized in that the operation of the application program is limited, Including:
Judge whether the application program being currently running is included in the Anti-addiction program listing;
If so, closing the application program being currently running.
3. the method for Anti-addiction as claimed in claim 2, which is characterized in that it is described close the application program that is currently running it Afterwards, the method further includes:
Hide the icon of application program on the table in the Anti-addiction program listing.
4. the method for Anti-addiction as claimed in claim 3, which is characterized in that described to hide in the Anti-addiction program listing The icon of application program on the table, including:
Obtain indispensable program listing;
Desktop is switched into Anti-addiction pattern, at this point, desktop only shows the icon of the application program in indispensable program listing.
5. the method for Anti-addiction as claimed in claim 4, which is characterized in that the method further includes:
Pre-set the Anti-addiction program listing and the indispensable program listing.
6. the method for Anti-addiction as claimed in claim 4, which is characterized in that the method further includes:
Record use habit of the user to each application program of system;
The Anti-addiction program listing and the indispensable program listing are updated according to the use habit.
7. such as the method for Claims 1-4 any one of them Anti-addiction, which is characterized in that described to judge whether out The trigger event of Anti-addiction pattern is opened, including:
Judge whether to receive into whether the instruction of Anti-addiction pattern or the usage time of intelligent terminal reach first and preset Whether duration or active user are limited users;
The trigger event has occurred if so, confirming.
8. the method for Anti-addiction as described in claim 1, which is characterized in that after the acquisition Anti-addiction program listing, institute The method of stating further includes:
Receive the mount request of application program;
Judge whether the application program is included in the Anti-addiction program listing;
If so, refusing the mount request.
9. a kind of device of Anti-addiction, which is characterized in that the device of the Anti-addiction includes:It memory, processor and is stored in On the memory and the computer program that can run on the processor, the computer program are executed by the processor The step of Shi Shixian such as methods described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the method such as Anti-addiction described in any item of the claim 1 to 8 when the computer program is executed by processor The step of.
CN201810291343.6A 2018-03-30 2018-03-30 A kind of method of Anti-addiction, equipment and computer readable storage medium Pending CN108710786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810291343.6A CN108710786A (en) 2018-03-30 2018-03-30 A kind of method of Anti-addiction, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810291343.6A CN108710786A (en) 2018-03-30 2018-03-30 A kind of method of Anti-addiction, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108710786A true CN108710786A (en) 2018-10-26

Family

ID=63866977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810291343.6A Pending CN108710786A (en) 2018-03-30 2018-03-30 A kind of method of Anti-addiction, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108710786A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587325A (en) * 2018-11-01 2019-04-05 Oppo(重庆)智能科技有限公司 Using the management-control method of operation, device, storage medium and electronic equipment
CN111905374A (en) * 2020-08-07 2020-11-10 闻泰通讯股份有限公司 Game time length management method, device, equipment and storage medium
CN113225767A (en) * 2021-04-19 2021-08-06 深圳市安全守护科技有限公司 Monitoring management method, device, equipment and computer readable storage medium
CN114691276A (en) * 2022-06-01 2022-07-01 深圳传音控股股份有限公司 Application program processing method, intelligent terminal and storage medium
CN115934975A (en) * 2023-03-01 2023-04-07 南方科技大学 Multimedia content display method and device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024168A (en) * 2012-12-07 2013-04-03 广东欧珀移动通信有限公司 Mobile phone monitoring and control method
CN103092605A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for controlling usage of mobile terminal
CN103399768A (en) * 2013-07-31 2013-11-20 深圳市金立通信设备有限公司 Method for managing terminal application resources and terminal
CN104331355A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Anti-addiction method and device of mobile terminal
CN104765993A (en) * 2015-03-25 2015-07-08 广东欧珀移动通信有限公司 Anti-addiction method and device
CN105808983A (en) * 2016-03-10 2016-07-27 Tcl集团股份有限公司 Method and device for limiting usage time of applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024168A (en) * 2012-12-07 2013-04-03 广东欧珀移动通信有限公司 Mobile phone monitoring and control method
CN103092605A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for controlling usage of mobile terminal
CN103399768A (en) * 2013-07-31 2013-11-20 深圳市金立通信设备有限公司 Method for managing terminal application resources and terminal
CN104331355A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Anti-addiction method and device of mobile terminal
CN104765993A (en) * 2015-03-25 2015-07-08 广东欧珀移动通信有限公司 Anti-addiction method and device
CN105808983A (en) * 2016-03-10 2016-07-27 Tcl集团股份有限公司 Method and device for limiting usage time of applications

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587325A (en) * 2018-11-01 2019-04-05 Oppo(重庆)智能科技有限公司 Using the management-control method of operation, device, storage medium and electronic equipment
CN111905374A (en) * 2020-08-07 2020-11-10 闻泰通讯股份有限公司 Game time length management method, device, equipment and storage medium
CN113225767A (en) * 2021-04-19 2021-08-06 深圳市安全守护科技有限公司 Monitoring management method, device, equipment and computer readable storage medium
CN114691276A (en) * 2022-06-01 2022-07-01 深圳传音控股股份有限公司 Application program processing method, intelligent terminal and storage medium
CN114691276B (en) * 2022-06-01 2023-07-21 深圳传音控股股份有限公司 Application processing method, intelligent terminal and storage medium
CN115934975A (en) * 2023-03-01 2023-04-07 南方科技大学 Multimedia content display method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108710786A (en) A kind of method of Anti-addiction, equipment and computer readable storage medium
CN107147928A (en) Play method, terminal and the computer-readable recording medium of video
CN108650402A (en) A kind of method of Anti-addiction, equipment and computer readable storage medium
CN108391190B (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN109656371A (en) Mobile terminal eye care method, device, mobile terminal and storage medium
CN107577394A (en) A kind of message treatment method, equipment and computer-readable storage medium
CN107392013A (en) A kind of terminal safety protection method, terminal and computer-readable recording medium
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN108307043A (en) Speech message conversion method, mobile terminal and computer readable storage medium
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN107844230A (en) A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN107992455A (en) A kind of text handling method, terminal and computer-readable recording medium
CN108541116A (en) Lamp light control method, terminal and computer readable storage medium
CN108769783A (en) Video ads playback method, mobile terminal and computer readable storage medium
CN109151174A (en) Message display method, wearable device and computer readable storage medium
CN108650399A (en) A kind of volume adjusting method, mobile terminal and computer readable storage medium
CN108597512A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110045830A (en) Application operating method, apparatus and computer readable storage medium
CN110138963A (en) A kind of message treatment method and mobile terminal
CN109126127A (en) Game control method, dual-screen mobile terminal and computer readable storage medium
CN107885423A (en) The processing method and mobile terminal of a kind of picture
CN107911778A (en) A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing
CN109862190A (en) Control method, device, mobile terminal and the storage medium of terminal message memorandum
CN110069200A (en) Wearable device input control method, wearable device and 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

Application publication date: 20181026

RJ01 Rejection of invention patent application after publication