CN108650402A - 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
CN108650402A
CN108650402A CN201810289193.5A CN201810289193A CN108650402A CN 108650402 A CN108650402 A CN 108650402A CN 201810289193 A CN201810289193 A CN 201810289193A CN 108650402 A CN108650402 A CN 108650402A
Authority
CN
China
Prior art keywords
addiction
stage
value
time value
timer
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
CN201810289193.5A
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 CN201810289193.5A priority Critical patent/CN108650402A/en
Publication of CN108650402A publication Critical patent/CN108650402A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (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:Until user stops using intelligent terminal when opening timer;The time value of the timer is monitored in real time, and judges the Anti-addiction stage that the time value is presently in;Obtain the Anti-addiction stage corresponding Anti-addiction alerting pattern, wherein the different Anti-addiction stages, corresponding Anti-addiction alerting pattern was different;Prompting message is exported according to institute's Anti-addiction alerting pattern.Using the present invention, user is reminded using different Anti-addiction alerting patterns, help user to can only the addiction state of terminal break away from, 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:
Until user stops using intelligent terminal when opening timer;
The time value of the timer is monitored in real time, and judges the Anti-addiction stage that the time value is presently in;
Obtain the Anti-addiction stage corresponding Anti-addiction alerting pattern, wherein the different Anti-addiction stages is corresponding anti- It is different to indulge alerting pattern;
Prompting message is exported according to institute's Anti-addiction alerting pattern.
Optionally, described to monitor the time value of the timer in real time, and judge that the time value is presently in anti-settling Fan's stage, including:
A, timing, the current time value of the timer is obtained since the timer;
B, the current time value is compared with preset first Anti-addiction Stage Value;
If C, the current time value is consistent with the first Anti-addiction Stage Value, determine that the current time value is in the One Anti-addiction stage;
D, continue to obtain the future time value of the timer;
E, the future time value is compared with preset next Anti-addiction Stage Value;
If F, the current time value is consistent with next Anti-addiction Stage Value, determine that the current time value is in down One Anti-addiction stage;
G, repeating said steps D to step F, until user stops using intelligent terminal;
Wherein, each Anti-addiction Stage Value is time range value and the time range value in adjacent Anti-addiction stage is even used 's.
Optionally, described that prompting message is exported according to institute's Anti-addiction alerting pattern, including:
The color change of the interface for the application being currently running, word/or button is corresponded to for the current Anti-addiction stage Color, wherein the color that adjacent Anti-addiction stage uses is deepened successively;Or
Send out and the corresponding voice prompt in current Anti-addiction stage, wherein the volume that adjacent Anti-addiction stage uses according to Secondary increasing;Or
Mobile phone is shaken according to vibration mode corresponding with the current Anti-addiction stage, wherein the vibration mode includes vibrations Frequency, shockproofness and/or vibrations time, the vibration mode in adjacent Anti-addiction stage are reinforced successively.
Optionally, the method further includes:
The alerting pattern and/or Anti-addiction Stage Value in each Anti-addiction stage are set depending on the user's operation.
Optionally, after the Anti-addiction alerting pattern output prompting message according to institute, the method further includes:
When institute's time value reaches the first predetermined threshold value, judge whether the intelligent terminal is still using;
If so, closing the display screen of the intelligent terminal.
Optionally, described to close after the display screen of the mobile terminal, the method further includes:
If receiving the instruction for opening the display screen, judge whether the shut-in time of the display screen reaches second Predetermined threshold value;
If so, lighting the display screen;
Otherwise, the closed state of the display screen is kept.
Optionally, when the unlatching timer before user stops using intelligent terminal, the method further includes:
Receive the instruction for opening Anti-addiction pattern.
Optionally, when the unlatching timer before user stops using intelligent terminal, the method further includes:
When the display screen of the intelligent terminal is lighted, identification is carried out to user;
Judge whether the user is Anti-addiction object;
If so, the step of executing method as described above.
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 the flow chart of the method for another Anti-addiction provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of modular structure schematic diagram of the device for Anti-addiction that the embodiment of the present invention three provides.
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, when Anti-addiction pattern is opened, open timer when until user stop using intelligent terminal;
S202, the time value for monitoring the timer in real time, and judge the Anti-addiction stage that the time value is presently in;
S203, Anti-addiction stage corresponding Anti-addiction alerting pattern is obtained, wherein the different Anti-addiction stages is corresponding Anti-addiction alerting pattern is different;
S204, prompting message is exported according to institute's Anti-addiction alerting pattern.
In a feasible scheme, the time value of the timer step S202, is monitored in real time, and judges that the time value is worked as The preceding residing Anti-addiction stage, including:
A, timing, the current time value of the timer is obtained since the timer;
B, the current time value is compared with preset first Anti-addiction Stage Value;
If C, the current time value is consistent with the first Anti-addiction Stage Value, it is anti-settling to determine that the current time value is in first Fan's stage;
D, continue to obtain the future time value of the timer;
E, the future time value is compared with preset next Anti-addiction Stage Value;
If F, the current time value is consistent with next Anti-addiction Stage Value, determine that the current time value is in next anti-settling Fan's stage;
G, step D to step F is repeated, until user stops using intelligent terminal.
In practical application, each Anti-addiction Stage Value is time range value and the time range value in adjacent Anti-addiction stage is Even it is used to, for example, the time range value in the first Anti-addiction stage is (60min, 159min), the time model in the second Anti-addiction stage It can be (120min, 149min) to enclose, and the time range in third Anti-addiction stage can be (150min, 179min), successively class It pushes away.
In a feasible scheme, prompting message step S204, is exported according to institute's Anti-addiction alerting pattern, including:
The color change of the interface for the application being currently running, word/or button is corresponded to for the current Anti-addiction stage Color, wherein the color that adjacent Anti-addiction stage uses is deepened successively;Or
Send out and the corresponding voice prompt in current Anti-addiction stage, wherein the volume that adjacent Anti-addiction stage uses according to Secondary increasing;Or
Mobile phone is shaken according to vibration mode corresponding with the current Anti-addiction stage, wherein the vibration mode includes vibrations frequency Rate, shockproofness and/or vibrations time, the vibration mode in adjacent Anti-addiction stage are reinforced successively.
Specifically, time value with timer increase (i.e. user using the time of intelligent terminal increase), it is each anti- The alerting pattern in addiction stage is gradually reinforced, and causes user to pay attention to reach, it is appreciated that oneself has been in addiction state, has put Abandon the purpose using mobile phone.
In practical application, above-mentioned Anti-addiction alerting pattern can also be combined with each other, for example change background color It shakes mobile terminal simultaneously or sends out voice prompt.
In a feasible scheme, this method further includes:
The alerting pattern and/or Anti-addiction Stage Value in each Anti-addiction stage are set depending on the user's operation.
Specifically, can increase an Anti-addiction function choosing-item in the setting menu of system, entering when the user clicks should When option, a dialog box is provided to the user, carry out the setting of alerting pattern and Anti-addiction Stage Value.
In a feasible scheme, after institute's Anti-addiction alerting pattern output prompting message, this method further includes:
When institute's time value reaches the first predetermined threshold value, judge whether the intelligent terminal is still using;
If so, closing the display screen of the mobile terminal.
In practical application, it is also possible to excessively indulge mobile terminal there are user and have ignored prompting message, at this time if with Family is provided with the first predetermined threshold value for forcing blank screen, and the time value of timer has reached the first predetermined threshold value, then positive closing It shows screen, user is helped to be detached from current addiction state.
In a feasible scheme, close after the display screen of the mobile terminal, this method further includes:
If receiving the instruction for opening the display screen, it is default to judge whether the shut-in time of the display screen reaches second Threshold value;
If so, lighting the display screen;
Otherwise, the closed state of the display screen is kept.
In practical application, the shut-in time of display screen can also be set, at this point, after showing that screen is closed by force, Timer is restarted until screen is lit again, only reaches the second predetermined threshold value in the time value of timer, and receive use When the instruction for lighting display screen of family input, display screen is just lighted, user can preferably be helped to break away from addiction in this way After state, adequately rest is obtained.
In a feasible scheme, step S201, open timer when until user stop using intelligent terminal it Before, this method further includes:
Receive the instruction for opening Anti-addiction pattern.
In practical application, user can be when being switched on every time or lighting screen, and Anti-addiction pattern is opened in setting, can also be straight It is to be always on to connect Anti-addiction mode setting.
In a feasible scheme, step S201, open timer when until user stop using intelligent terminal it Before, this method further includes:
When the display screen of the intelligent terminal is lighted, identification is carried out to user;
Judge whether the user is Anti-addiction object;
If so, executing step S201 to step S204.
In practical application, authentication can be realized by the following method:
Method one
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 Anti-addiction object to prestore, if It is to confirm that the user is otherwise Anti-addiction object directly lights display screen.
Method two
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 Anti-addiction object to prestore;
If successful match, this confirms that the user is Anti-addiction object.
Method three
When showing that screen is lit, prompts user to input and release Anti-addiction password;
Judge whether releasing Anti-addiction password input by user is correct;
If correct, judge the user for non-Anti-addiction object;
Otherwise, judge the user for Anti-addiction object.
The method of the Anti-addiction of the present embodiment is opened timer and is used user when user opens Anti-addiction pattern The time of intelligent terminal carries out timing and the Anti-addiction stage that user is presently in is judged, using not according to the time value of timer With Anti-addiction alerting pattern user is reminded, help user to can only the addiction state of terminal break away from, avoid Excessively use intelligent terminal.
On the basis of previous embodiment, second embodiment of the present invention provides the methods of another Anti-addiction.The present embodiment It illustrates so that prompt message is the background color for changing application program as an example, is carried present embodiment assumes that user has pre-set Color of waking up is red gradual change, referring to Fig. 3, method flow includes:
S301, the instruction input by user for opening Anti-addiction is received.
S302, timer is opened, records the usage time of mobile terminal.
S303, when the time value of timer reaches first stage value, the background of current application program is changed to light red.
S304, judge whether mobile terminal is still using, if so, step S305 is executed, it is no to then follow the steps S306.
It, can be by showing that the illuminating state of screen judges whether user continues using mobile terminal in practical application.
S305, when the time value of timer reaches next stage value, deepen the background color of current application program, and after It is continuous to execute step S304.
S306, timer is closed.
It, can also be to reminding number (i.e. face if user is unaware that the addiction state of oneself for a long time in practical application The change frequency of color) radix, when reminding number to reach preset value, closing by force shows screen.
In the present embodiment, by the variation of color, gradually prompt user use mobile phone duration.When user enters addiction When state, with the growth of addiction time, the background color of current application program the more becomes the more heavy, and prompt is more serious, until user Recognize and abandon using mobile phone, terminates addiction state.
On the basis of previous embodiment, third embodiment of the invention provides a kind of device of Anti-addiction, please refers to figure 4, the device of the Anti-addiction includes:It memory 401, processor 402 and is stored on the memory and can transport on the processor The step of capable computer program, which realizes the method for embodiment as previously described when being executed by the processor, tool Body includes:
S201, when Anti-addiction pattern is opened, open timer when until user stop using intelligent terminal;
S202, the time value for monitoring the timer in real time, and judge the Anti-addiction stage that the time value is presently in;
S203, Anti-addiction stage corresponding Anti-addiction alerting pattern is obtained, wherein the different Anti-addiction stages is corresponding Anti-addiction alerting pattern is different;
S204, prompting message is exported according to institute's Anti-addiction alerting pattern.
In a feasible scheme, the time value of the timer is monitored in real time executing step, and judge the time value When the Anti-addiction stage being presently in, which is additionally operable to execute the computer program, to realize following steps:
A, timing, the current time value of the timer is obtained since the timer;
B, the current time value is compared with preset first Anti-addiction Stage Value;
If C, the current time value is consistent with the first Anti-addiction Stage Value, it is anti-settling to determine that the current time value is in first Fan's stage;
D, continue to obtain the future time value of the timer;
E, the future time value is compared with preset next Anti-addiction Stage Value;
If F, the current time value is consistent with next Anti-addiction Stage Value, determine that the current time value is in next anti-settling Fan's stage;
G, step D to step F is repeated, until user stops using intelligent terminal.
In practical application, each Anti-addiction Stage Value is time range value and the time range value in adjacent Anti-addiction stage is Even it is used to, for example, the time range value in the first Anti-addiction stage is (60min, 159min), the time model in the second Anti-addiction stage It can be (120min, 149min) to enclose, and the time range in third Anti-addiction stage can be (150min, 179min), successively class It pushes away.
In a feasible scheme, when executing step S204, exporting prompting message according to institute's Anti-addiction alerting pattern, The processor 402 is additionally operable to execute the computer program, to realize following steps:
The color change of the interface for the application being currently running, word/or button is corresponded to for the current Anti-addiction stage Color, wherein the color that adjacent Anti-addiction stage uses is deepened successively;Or
Send out and the corresponding voice prompt in current Anti-addiction stage, wherein the volume that adjacent Anti-addiction stage uses according to Secondary increasing;Or
Mobile phone is shaken according to vibration mode corresponding with the current Anti-addiction stage, wherein the vibration mode includes vibrations frequency Rate, shockproofness and/or vibrations time, the vibration mode in adjacent Anti-addiction stage are reinforced successively.
Specifically, time value with timer increase (i.e. user using the time of intelligent terminal increase), it is each anti- The alerting pattern in addiction stage is gradually reinforced, and causes user to pay attention to reach, it is appreciated that oneself has been in addiction state, has put Abandon the purpose using mobile phone.
In practical application, above-mentioned Anti-addiction alerting pattern can also be combined with each other, for example change background color It shakes mobile terminal simultaneously or sends out voice prompt.
In a feasible scheme, which is additionally operable to execute the computer program, to realize following steps:
The alerting pattern and/or Anti-addiction Stage Value in each Anti-addiction stage are set depending on the user's operation.
Specifically, can increase an Anti-addiction function choosing-item in the setting menu of system, entering when the user clicks should When option, a dialog box is provided to the user, carry out the setting of alerting pattern and Anti-addiction Stage Value.
In a feasible scheme, after institute's Anti-addiction alerting pattern output prompting message, the processor 402 is also For executing the computer program, to realize following steps:
When institute's time value reaches the first predetermined threshold value, judge whether the intelligent terminal is still using;
If so, closing the display screen of the mobile terminal.
In practical application, it is also possible to excessively indulge mobile terminal there are user and have ignored prompting message, at this time if with Family is provided with the first predetermined threshold value for forcing blank screen, and the time value of timer has reached the first predetermined threshold value, then positive closing It shows screen, user is helped to be detached from current addiction state.
It in a feasible scheme, closes after the display screen of the mobile terminal, which is additionally operable to execute The computer program, to realize following steps:
If receiving the instruction for opening the display screen, it is default to judge whether the shut-in time of the display screen reaches second Threshold value;
If so, lighting the display screen;
Otherwise, the closed state of the display screen is kept.
In practical application, the shut-in time of display screen can also be set, at this point, after showing that screen is closed by force, Timer is restarted until screen is lit again, only reaches the second predetermined threshold value in the time value of timer, and receive use When the instruction for lighting display screen of family input, display screen is just lighted, user can preferably be helped to break away from addiction in this way After state, adequately rest is obtained.
In a feasible scheme, when executing step S201, opening timer until user stops using intelligence Before terminal, which is additionally operable to execute the computer program, to realize following steps:
Receive the instruction for opening Anti-addiction pattern.
In practical application, user can be when being switched on every time or lighting screen, and Anti-addiction pattern is opened in setting, can also be straight It is to be always on to connect Anti-addiction mode setting.
In a feasible scheme, step S201, open timer when until user stop using intelligent terminal it Before, this method further includes:
When the display screen of the intelligent terminal is lighted, identification is carried out to user;
Judge whether the user is Anti-addiction object;
If so, executing step S201 to step S204.
In practical application, authentication can be realized by the following method:
Method one
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 Anti-addiction object to prestore, if It is to confirm that the user is otherwise Anti-addiction object directly lights display screen.
Method two
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 Anti-addiction object to prestore;
If successful match, this confirms that the user is Anti-addiction object.
Method three
When real screen is lit, prompts user to input and release Anti-addiction password;
Judge whether releasing Anti-addiction password input by user is correct;
If correct, judge the user for non-Anti-addiction object;
Otherwise, judge the user for Anti-addiction object.
The device of the Anti-addiction of the present embodiment is opened timer and is used user when user opens Anti-addiction pattern The time of intelligent terminal carries out timing and the Anti-addiction stage that user is presently in is judged, using not according to the time value of timer With Anti-addiction alerting pattern user is reminded, help user to can only the addiction state of terminal break away from, avoid Excessively use intelligent terminal.
On the basis of previous embodiment, the embodiment of the present invention four 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 or embodiment two.
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:
When Anti-addiction pattern is opened, until user stops using intelligent terminal when opening timer;
The time value of the timer is monitored in real time, and judges the Anti-addiction stage that the time value is presently in;
Obtain the Anti-addiction stage corresponding Anti-addiction alerting pattern, wherein different Anti-addiction stage corresponding Anti-addictions Alerting pattern is different;
Prompting message is exported according to institute's Anti-addiction alerting pattern.
2. the method for Anti-addiction as described in claim 1, which is characterized in that the time for monitoring the timer in real time Value, and judge the Anti-addiction stage that the time value is presently in, including:
A, timing, the current time value of the timer is obtained since the timer;
B, the current time value is compared with preset first Anti-addiction Stage Value;
If C, the current time value is consistent with the first Anti-addiction Stage Value, it is anti-to determine that the current time value is in first The addiction stage;
D, continue to obtain the future time value of the timer;
E, the future time value is compared with preset next Anti-addiction Stage Value;
If F, the current time value is consistent with next Anti-addiction Stage Value, determine that the current time value is in next anti- The addiction stage;
G, repeating said steps D to step F, until user stops using intelligent terminal;
Wherein, each Anti-addiction Stage Value is time range value and the time range value in adjacent Anti-addiction stage is even used.
3. the method for Anti-addiction as described in claim 1, which is characterized in that described to be carried according to institute's Anti-addiction alerting pattern output Awake information, including:
It is corresponding face of current Anti-addiction stage by the color change of the interface for the application being currently running, word/or button Color, wherein the color that the adjacent Anti-addiction stage uses is deepened successively;Or
It sends out and the corresponding voice prompt in current Anti-addiction stage, wherein the volume that the adjacent Anti-addiction stage uses adds successively Greatly;Or
According to vibration mode corresponding with the current Anti-addiction stage shake mobile phone, wherein the vibration mode include vibration frequency, Shockproofness and/or vibrations time, the vibration mode in adjacent Anti-addiction stage are reinforced successively.
4. the method for Anti-addiction as described in any one of claims 1 to 3, which is characterized in that the method further includes:
The alerting pattern and/or Anti-addiction Stage Value in each Anti-addiction stage are set depending on the user's operation.
5. the method for Anti-addiction as claimed in claim 4, which is characterized in that described to be carried according to institute's Anti-addiction alerting pattern output After information of waking up, the method further includes:
When institute's time value reaches the first predetermined threshold value, judge whether the intelligent terminal is still using;
If so, closing the display screen of the intelligent terminal.
6. the method for Anti-addiction as claimed in claim 5, which is characterized in that the display screen for closing the mobile terminal Later, the method further includes:
If receiving the instruction for opening the display screen, it is default to judge whether the shut-in time of the display screen reaches second Threshold value;
If so, lighting the display screen;
Otherwise, the closed state of the display screen is kept.
7. the method for Anti-addiction as described in claim 1, which is characterized in that until user stops when the unlatching timer Before intelligent terminal, the method further includes:
Receive the instruction for opening Anti-addiction pattern.
8. the method for Anti-addiction as described in claim 1, which is characterized in that until user stops when the unlatching timer Before intelligent terminal, the method further includes:
When the display screen of the intelligent terminal is lighted, identification is carried out to user;
Judge whether the user is Anti-addiction object;
If so, the step of executing the method as described in claim 1.
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.
CN201810289193.5A 2018-03-30 2018-03-30 A kind of method of Anti-addiction, equipment and computer readable storage medium Pending CN108650402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810289193.5A CN108650402A (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
CN201810289193.5A CN108650402A (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
CN108650402A true CN108650402A (en) 2018-10-12

Family

ID=63745508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810289193.5A Pending CN108650402A (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) CN108650402A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408332A (en) * 2018-10-17 2019-03-01 五八有限公司 Application software control, use, management method, device, storage medium and terminal
CN111221604A (en) * 2019-11-05 2020-06-02 珠海格力电器股份有限公司 Method and device for displaying prompt information, mobile terminal and storage medium
CN111526568A (en) * 2020-04-14 2020-08-11 维沃移动通信有限公司 Electronic equipment and operation method thereof
CN111783640A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Detection method, device, equipment and storage medium
CN113009963A (en) * 2021-04-13 2021-06-22 海信电子科技(深圳)有限公司 Voice reminding method for browser and display device
CN113901239A (en) * 2021-09-30 2022-01-07 北京字跳网络技术有限公司 Information display method, device, equipment and storage medium
CN116347164A (en) * 2023-01-12 2023-06-27 深圳阜时科技有限公司 Anti-addiction method for display equipment, D-TOF module and display equipment
CN113009963B (en) * 2021-04-13 2024-06-21 Vidaa(荷兰)国际控股有限公司 Voice reminding method for browser and display device

Citations (5)

* Cited by examiner, † Cited by third party
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
KR20090075217A (en) * 2008-01-03 2009-07-08 주식회사 대우일렉트로닉스 Display method for watching time of television
CN105120080A (en) * 2015-07-23 2015-12-02 Tcl移动通信科技(宁波)有限公司 Anti-addiction control method and system of mobile terminal, and mobile terminal
CN105827832A (en) * 2016-03-21 2016-08-03 乐视移动智能信息技术(北京)有限公司 User management method, user management system and user terminal
CN106055100A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Anti-addiction method, device and mobile device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090075217A (en) * 2008-01-03 2009-07-08 주식회사 대우일렉트로닉스 Display method for watching time of television
CN101399880A (en) * 2008-10-24 2009-04-01 深圳华为通信技术有限公司 Method for controlling used of mobile terminal and mobile terminal thereof
CN105120080A (en) * 2015-07-23 2015-12-02 Tcl移动通信科技(宁波)有限公司 Anti-addiction control method and system of mobile terminal, and mobile terminal
CN105827832A (en) * 2016-03-21 2016-08-03 乐视移动智能信息技术(北京)有限公司 User management method, user management system and user terminal
CN106055100A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Anti-addiction method, device and mobile device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408332A (en) * 2018-10-17 2019-03-01 五八有限公司 Application software control, use, management method, device, storage medium and terminal
CN111221604A (en) * 2019-11-05 2020-06-02 珠海格力电器股份有限公司 Method and device for displaying prompt information, mobile terminal and storage medium
CN111221604B (en) * 2019-11-05 2021-02-26 珠海格力电器股份有限公司 Method and device for displaying prompt information, mobile terminal and storage medium
CN111526568A (en) * 2020-04-14 2020-08-11 维沃移动通信有限公司 Electronic equipment and operation method thereof
CN111526568B (en) * 2020-04-14 2023-08-18 维沃移动通信有限公司 Electronic equipment and operation method thereof
CN111783640A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Detection method, device, equipment and storage medium
CN113009963A (en) * 2021-04-13 2021-06-22 海信电子科技(深圳)有限公司 Voice reminding method for browser and display device
CN113009963B (en) * 2021-04-13 2024-06-21 Vidaa(荷兰)国际控股有限公司 Voice reminding method for browser and display device
CN113901239A (en) * 2021-09-30 2022-01-07 北京字跳网络技术有限公司 Information display method, device, equipment and storage medium
WO2023051334A1 (en) * 2021-09-30 2023-04-06 北京字跳网络技术有限公司 Information presentation method and apparatus, and device and storage medium
CN116347164A (en) * 2023-01-12 2023-06-27 深圳阜时科技有限公司 Anti-addiction method for display equipment, D-TOF module and display equipment

Similar Documents

Publication Publication Date Title
CN108650402A (en) A kind of method of Anti-addiction, equipment and computer readable storage medium
CN108594991A (en) A kind of method, apparatus and computer storage media that help user to adjust mood
CN108710786A (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
CN108712566A (en) A kind of voice assistant awakening method and mobile terminal
CN108135033A (en) A kind of Bluetooth connecting method and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107392013A (en) A kind of terminal safety protection method, terminal and computer-readable recording medium
CN107229389A (en) A kind of method of shared file, equipment and computer-readable recording medium
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN108307043A (en) Speech message conversion method, mobile terminal and computer readable storage medium
CN108597512A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN108319833A (en) A kind of control method and mobile terminal of application program
CN109151174A (en) Message display method, wearable device and computer readable storage medium
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN109949809A (en) A kind of sound control method and terminal device
CN109126127A (en) Game control method, dual-screen mobile terminal and computer readable storage medium
CN108108092A (en) The method, apparatus and computer readable storage medium that message is checked under screen mode toggle
CN108196663A (en) A kind of face identification method, mobile terminal
CN107835363A (en) A kind of filming control method, terminal device and storage medium
CN107172276A (en) A kind of terminal method for retrieving, terminal and computer-readable recording medium
CN107809692B (en) A kind of headset control method, equipment and computer readable storage medium
CN110086926A (en) Starting method, apparatus, mobile terminal and the storage medium of terminal applies

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: 20181012

RJ01 Rejection of invention patent application after publication