CN109151201B - Anti-addiction method, mobile terminal and computer storage medium - Google Patents

Anti-addiction method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN109151201B
CN109151201B CN201811004255.XA CN201811004255A CN109151201B CN 109151201 B CN109151201 B CN 109151201B CN 201811004255 A CN201811004255 A CN 201811004255A CN 109151201 B CN109151201 B CN 109151201B
Authority
CN
China
Prior art keywords
mobile terminal
application program
mode
time
operation mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811004255.XA
Other languages
Chinese (zh)
Other versions
CN109151201A (en
Inventor
单志亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201811004255.XA priority Critical patent/CN109151201B/en
Publication of CN109151201A publication Critical patent/CN109151201A/en
Application granted granted Critical
Publication of CN109151201B publication Critical patent/CN109151201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses an anti-addiction method, a mobile terminal and a computer storage medium, wherein the application program installation method comprises the following steps: counting the use time of a preset application program in a first operation mode within preset time; switching the application program to enter a second operation mode when the use time exceeds a threshold value; counting the running time of the application program entering a second running mode; and switching the application program to enter a first operation mode when the operation time meets a preset condition. The application program installation method, the mobile terminal and the computer storage medium in the embodiment of the invention can also play the effects of saving electricity and prolonging the endurance of the mobile terminal when the anti-addiction function is started.

Description

Anti-addiction method, mobile terminal and computer storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an anti-addiction method, a mobile terminal, and a computer storage medium.
Background
With the continuous development of computer technology, especially mobile terminal technology, a terminal can realize various functions by installing various application programs.
However, users are easily addicted to the functions provided by some terminal applications, such as computer games and mobile phone games, and the games occupy a lot of time and energy of the users. In the existing game anti-addiction methods, most of the existing game anti-addiction methods judge whether the service time of a single account exceeds a certain time, and if the service time of the account is found to be too long, an anti-addiction function is started to limit the use of the account.
But the user can easily avoid the anti-addiction setting by changing the account, and the anti-addiction function cannot be really realized.
Disclosure of Invention
Embodiments of the present invention provide an anti-addiction method, a mobile terminal, and a computer storage medium, which can play an anti-addiction role while not turning off an addiction function of the mobile terminal, thereby providing a more flexible anti-addiction function.
The first aspect of the embodiments of the present invention provides an anti-addiction method, which is applied to a mobile terminal, and is characterized by including:
counting the use time of a preset application program in a first operation mode within preset time;
switching the application program to enter a second operation mode when the use time exceeds a threshold value;
counting the running time of the application program entering a second running mode;
and switching the application program to enter a first operation mode when the operation time meets a preset condition.
Optionally, the mobile terminal includes a main screen and an auxiliary screen, and the counting of the use time of the preset application program in the first operation mode within the preset time includes:
when a preset application program runs in a main screen, starting timing;
counting the running time of the application program in the main screen within a preset time;
the switching the application program into the second operation mode comprises:
closing the main screen and starting the auxiliary screen;
the counting the running time of the application program entering the second running mode comprises the following steps:
and counting the running time of the application program in the auxiliary screen.
Optionally, the switching the application program into the second operation mode includes:
reducing the resolution of the secondary screen;
and reducing the brightness of the auxiliary screen.
Optionally, the switching the application program into the second operation mode further includes:
reducing the number of processors in operation;
closing the wireless local area network function of the mobile terminal;
reducing the network data connection speed of the mobile terminal;
and stopping loading the picture and video resources in the network data.
Optionally, the method further includes:
and switching the application program to enter a third operation mode when the operation time does not meet the preset condition.
Optionally, the switching the application program into the third operation mode further includes:
reducing the number of processors in operation;
the network data connection speed of the mobile terminal is reduced.
Optionally, the method further includes:
counting the running time of the application program entering a third running mode;
and switching the application program from the third operation mode to the second operation mode when the operation time meets the preset condition.
Optionally, the entering the second operation mode from the third operation mode includes:
increasing the number of processors in operation;
the network data connection speed of the mobile terminal is improved;
the switching the application program into the first operation mode comprises:
starting a main screen;
restoring the processor which stops the operation of the mobile terminal;
recovering the function of the wireless local area network of the mobile terminal;
recovering the limited network data connection speed of the mobile terminal;
and recovering and loading the picture and video resources in the network data.
A second aspect of an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a processor and a memory;
the memory is used for storing an executable program;
the processor is configured to execute the executable program to implement the application installation method of any one of claims 1-8.
A third aspect of embodiments of the present invention provides a computer storage medium having stored thereon an executable program that, when executed, implements an application installation method as claimed in any one of claims 1 to 8.
The embodiment of the invention has the following beneficial effects:
according to the application program installation method, the mobile terminal and the computer storage medium in the embodiment of the invention, when the application program installation method, the mobile terminal and the computer storage medium are used, and when the user is judged to be addicted to the mobile terminal and the anti-addiction function needs to be started, the experience of the user is reduced by switching the operation mode of the mobile terminal, the anti-addiction function can be played while the anti-addiction function of the mobile terminal is not closed, and therefore, the more flexible anti-addiction function is provided. In addition, the application program installation method, the mobile terminal and the computer storage medium in the embodiment of the invention can also play the effects of saving electricity and prolonging the endurance of the mobile terminal when the anti-addiction function is started.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a wireless communication system of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a method according to a first embodiment of an anti-addiction method according to an embodiment of the present invention.
Fig. 4 is a flowchart of a method of a second embodiment of an anti-addiction method according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like. The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (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, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch panel transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. The storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units. Preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Fig. 3 is a flowchart of a method according to a first embodiment of an anti-addiction method according to an embodiment of the present invention. The application installation method is applied to the mobile terminal shown in fig. 1 or 2. It is understood that the mobile terminal may also be other devices, such as an electronic book, a tablet computer, etc. In this embodiment, the application installation method includes the following steps S301 to S304.
In step S301, the usage time of the application program in the first operation mode within the preset time is counted.
Specifically, the use time of the application program preset in the first operation mode within the preset time is counted. In this embodiment, the first operation mode is a normal mode of the mobile terminal, in this mode, the mobile terminal operates using the main screen, and compared with the secondary screen, the main screen has a larger size, a higher resolution, no limitation on brightness, clearer and better user experience, and the network connection of the processor of the mobile terminal has no limitation, for example, a wireless local area network, a bluetooth, a 4G network, and the like are all in a standby state.
In the first operation mode, the service time of the preset application program in the first operation mode within the preset time is counted, the preset time and the preset application program are both preset in the mobile terminal, and a user can also define the preset time and the preset application program by self. For example, the time may be set to 2 hours, and an application program that is easy to be addicted, such as a game application program, a social application program, or the like, may be a preset application program that requires statistical time.
When a preset application program runs in a first running mode, for example, runs in a main screen, a timer is started, and the use time is counted.
In step S302, the application program is switched to enter the second operation mode when the usage time exceeds the threshold.
Specifically, the application program is switched to enter the second operation mode when the use time exceeds a threshold value.
The second operation mode is different from the first operation mode, the experience of the user in the second operation mode is reduced, the will of the user for continuous use can be reduced, for example, the main screen is closed, the auxiliary screen is started, which is equivalent to the main screen, the size of the auxiliary screen is smaller, certain functions of the main screen are not provided, for example, a touch function is provided, the resolution and the brightness of the auxiliary screen are reduced, the application program used by the user can only run on the auxiliary screen, and at the moment, the experience of the user is reduced.
In order to further prevent addiction, besides reducing the experience effect of the user, some functions of the mobile terminal in the second operation mode may be closed and limited, so as to affect the use of some application programs, thereby giving up the use of the application programs, for example, reducing the number of processors in operation, closing the wireless local area network function of the mobile terminal, reducing the network data connection speed of the mobile terminal, and stopping loading the picture and video resources in the network data.
In step S303, the running time of the application program entering the second running mode is counted.
Specifically, in the second operation mode, the operation time of the application program is counted. For example, when the user exceeds 2h while using a game application, it is determined that anti-addiction needs to be performed, the game application is switched from the main screen to the sub-screen, and the operation time of the game application in the second operation mode of the sub-screen is counted.
In step S304, the application is switched to enter the first operation mode when the operation time satisfies the preset condition.
Specifically, the application program is switched to enter the first operation mode when the operation time meets the preset condition.
The predetermined condition may be any determination method that can determine that the user performs a better quit enthusiasm, for example, when the running time of the game application switched to the secondary screen is less than a predetermined time, for example, less than 10 minutes, indicating that the user has closed, exited or suspended the application within ten minutes, the game is switched to the first running mode, i.e., the normal running mode, in other embodiments, the accumulated running time of the game within a predetermined time, for example, whether the application exceeds half an hour within an hour, or the application does not exceed the half hour, the game is switched to the first running mode.
In this embodiment, when using, when judging that the user is indulged in the mobile terminal, need start the anti-indulgence function, through switching mobile terminal's operational mode, reduce user's experience, can play the anti-indulgence effect when not closing mobile terminal indulgence function to a more flexible anti-indulgence function has been provided. In addition, the application program installation method, the mobile terminal and the computer storage medium in the embodiment of the invention can also play the effects of saving electricity and prolonging the endurance of the mobile terminal when the anti-addiction function is started.
Fig. 4 is a flowchart of a part of a method of a second embodiment of an anti-addiction method according to an embodiment of the present invention. In a second embodiment of the invention, the method further comprises the following steps S401-S403:
in step S401, the application is switched to enter the third operation mode when the operation time does not satisfy the preset condition.
In this embodiment, when the operation time is determined not to satisfy the preset condition in step S304, the application is switched to enter the third operation mode. The third operation mode is equivalent to the second operation mode, the user experience is worse, and the number of processors and the network connection speed of the mobile terminal are continuously reduced, for example, when the mobile terminal is a 4-core processor, in the first operation mode, the 4-core processor and the wireless local area network or the 4g network are used for running the application program, in the second operation mode, the number of processors and the network connection data are reduced, only the 2-core processor and the 3g network are used for running the application program, in the third operation mode, the number of processors and the network connection data are continuously reduced, and only the 1-core processor and the 2g network are used for running the application program. In the third operation mode, the network speed and the response speed of the mobile terminal are reduced, and the user experience of some application programs is reduced to the minimum or even the mobile terminal cannot operate normally.
In step S402, the running time of the application program entering the third running mode is counted.
In step S403, the application program is switched from the third operation mode to the second operation mode when the operation time satisfies the preset condition.
In the third operation mode, the operation time of the application program is continuously counted, and as with the method for counting the operation time of the application program in the second operation mode in the first embodiment, when the operation time of the user in the third operation mode meets the condition, the mobile terminal is switched back to the second operation mode, even under the condition that a specific condition is met, for example, under the normal environment that the mobile terminal is directly switched to the first operation mode after the system authority account number is input.
When the mobile terminal enters the second operation mode from the third operation mode, the function of being limited to be closed when entering the third operation mode is recovered, for example, the number of processors in operation is increased, the mobile terminal returns to the 2-core processor mode, the network data connection speed of the mobile terminal is improved, and the mobile terminal returns to the 3g network mode.
When the first operation mode is switched and answered, all the limited and closed functions of the mobile terminal are completely recovered, for example, a main screen is started, a secondary screen is closed, a processor which stops the operation of the mobile terminal is recovered, the wireless local area network function of the mobile terminal is recovered, the limited network data connection speed of the mobile terminal is recovered, and the picture and video resources in the loaded network data are recovered.
In this embodiment, when using, when judging that the user is indulged in the mobile terminal, need start the anti-indulgence function, through switching mobile terminal's operational mode, reduce user's experience, can play the anti-indulgence effect when not closing mobile terminal indulgence function to a more flexible anti-indulgence function has been provided. In addition, the application program installation method, the mobile terminal and the computer storage medium in the embodiment of the invention can also play the effects of saving electricity and prolonging the endurance of the mobile terminal when the anti-addiction function is started.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 5, the mobile terminal includes a processor 701 (the number of processors 701 in the terminal may be one or more, and fig. 5 takes one processor as an example) and a memory 702. In the embodiment of the present invention, the processor 701 and the memory 702 may be connected by a bus or other means, wherein fig. 5 illustrates the connection by the bus. It is understood that the mobile terminal in the present embodiment may also be applied to the embodiments shown in fig. 1 or fig. 2.
The memory 702 stores therein an executable program, and the processor 701 executes the executable program to implement the following steps:
counting the use time of a preset application program in a first operation mode within preset time;
switching the application program to enter a second operation mode when the use time exceeds a threshold value;
counting the running time of the application program entering a second running mode;
and switching the application program to enter a first operation mode when the operation time meets a preset condition.
Optionally, the mobile terminal includes a main screen and an auxiliary screen, and the counting, performed by the processor 701, the usage time of the preset application program in the first operation mode within the preset time includes:
when a preset application program runs in a main screen, starting timing;
counting the running time of the application program in the main screen within a preset time;
the switching the application program into the second operation mode comprises:
closing the main screen and starting the auxiliary screen;
the counting the running time of the application program entering the second running mode comprises the following steps:
and counting the running time of the application program in the auxiliary screen.
The processor 701 performs the switching of the application program into the second operation mode, including:
reducing the resolution of the secondary screen;
and reducing the brightness of the auxiliary screen.
The processor 701 executing the switching of the application program into the second operation mode further includes:
reducing the number of processors in operation;
closing the wireless local area network function of the mobile terminal;
reducing the network data connection speed of the mobile terminal;
and stopping loading the picture and video resources in the network data.
The processor 701 is further configured to perform:
and switching the application program to enter a third operation mode when the operation time does not meet the preset condition.
Optionally, the switching the application program into the third operation mode further includes:
reducing the number of processors in operation;
the network data connection speed of the mobile terminal is reduced.
The processor 701 is further configured to perform:
counting the running time of the application program entering a third running mode;
and switching the application program from the third operation mode to the second operation mode when the operation time meets the preset condition.
The processor 701 performs the entering from the third operation mode into the second operation mode including:
increasing the number of processors in operation;
the network data connection speed of the mobile terminal is improved;
the switching the application program into the first operation mode comprises:
starting a main screen;
restoring the processor which stops the operation of the mobile terminal;
recovering the function of the wireless local area network of the mobile terminal;
recovering the limited network data connection speed of the mobile terminal;
and recovering and loading the picture and video resources in the network data.
Therefore, when the mobile terminal in the embodiment of the invention is used, when the situation that the user is indulged in the mobile terminal and the anti-addiction function needs to be started is judged, the user experience is reduced by switching the operation mode of the mobile terminal, the anti-addiction function can be played while the anti-addiction function of the mobile terminal is not closed, and the more flexible anti-addiction function is provided. In addition, the application program installation method, the mobile terminal and the computer storage medium in the embodiment of the invention can also play the effects of saving electricity and prolonging the endurance of the mobile terminal when the anti-addiction function is started.
An embodiment of the present invention further provides a computer storage medium, where an executable program is stored in the computer storage medium, and when the executable program is executed, the following steps are implemented:
counting the use time of a preset application program in a first operation mode within preset time;
switching the application program to enter a second operation mode when the use time exceeds a threshold value;
counting the running time of the application program entering a second running mode;
and switching the application program to enter a first operation mode when the operation time meets a preset condition.
Optionally, the executable program may also be used for executing to implement the application program installation method shown in fig. 3 to fig. 4, which is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An anti-addiction method applied to a mobile terminal is characterized by comprising the following steps:
counting the use time of a preset application program in a first operation mode within preset time;
switching the application program to enter a second operation mode when the use time exceeds a threshold value;
counting the running time of the application program entering a second running mode;
switching the application program to enter a first operation mode when the operation time meets a preset condition;
the mobile terminal comprises a main screen and an auxiliary screen, and the counting of the service time of the preset application program in the first running mode within the preset time comprises the following steps:
when a preset application program runs in a main screen, starting timing;
counting the running time of the application program in the main screen within a preset time;
the switching the application program into the second operation mode comprises:
closing the main screen and starting the auxiliary screen;
the counting the running time of the application program entering the second running mode comprises the following steps:
and counting the running time of the application program in the auxiliary screen.
2. The anti-addiction method of claim 1, wherein the switching the application into the second mode of operation comprises:
reducing the resolution of the secondary screen;
and reducing the brightness of the auxiliary screen.
3. The anti-addiction method of claim 2, wherein said switching the application into the second mode of operation further comprises:
reducing the number of processors in operation;
closing the wireless local area network function of the mobile terminal;
reducing the network data connection speed of the mobile terminal;
and stopping loading the picture and video resources in the network data.
4. An anti-addiction method according to any one of claims 1-3, further comprising:
and switching the application program to enter a third operation mode when the operation time does not meet the preset condition.
5. The anti-addiction method of claim 4, wherein the switching the application into a third mode of operation further comprises:
reducing the number of processors in operation;
the network data connection speed of the mobile terminal is reduced.
6. The anti-addiction method according to claim 5, wherein said method further comprises:
counting the running time of the application program entering a third running mode;
and switching the application program from the third operation mode to the second operation mode when the operation time meets the preset condition.
7. The anti-addiction method of claim 6, wherein said entering from the third mode of operation into the second mode of operation comprises:
increasing the number of processors in operation;
the network data connection speed of the mobile terminal is improved;
the switching the application program into the first operation mode comprises:
starting a main screen;
restoring the processor which stops the operation of the mobile terminal;
recovering the function of the wireless local area network of the mobile terminal;
recovering the limited network data connection speed of the mobile terminal;
and recovering and loading the picture and video resources in the network data.
8. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory;
the memory is used for storing an executable program;
the processor is configured to execute the executable program to implement the anti-addiction method as claimed in any one of claims 1-7.
9. A computer storage medium having stored thereon an executable program that when executed performs an anti-addiction method as claimed in any one of claims 1-7.
CN201811004255.XA 2018-08-30 2018-08-30 Anti-addiction method, mobile terminal and computer storage medium Active CN109151201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811004255.XA CN109151201B (en) 2018-08-30 2018-08-30 Anti-addiction method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811004255.XA CN109151201B (en) 2018-08-30 2018-08-30 Anti-addiction method, mobile terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN109151201A CN109151201A (en) 2019-01-04
CN109151201B true CN109151201B (en) 2021-04-09

Family

ID=64829452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811004255.XA Active CN109151201B (en) 2018-08-30 2018-08-30 Anti-addiction method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN109151201B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205351A (en) * 2021-11-01 2022-03-18 北京中合谷投资有限公司 Cloud game service system and method for family customers
CN115934975B (en) * 2023-03-01 2023-06-23 南方科技大学 Multimedia content display method, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055234A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Control method for anti-addiction mode, device and intelligent terminal
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106681814A (en) * 2016-12-15 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Anti-addiction method and terminal
CN107948411A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal installation and computer-readable recording medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4765452B2 (en) * 2005-07-19 2011-09-07 ソニー株式会社 Image processing apparatus and method, and program
TWI619067B (en) * 2012-08-31 2018-03-21 財團法人資訊工業策進會 Screen unlocking method with time information, unlocking system and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055234A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Control method for anti-addiction mode, device and intelligent terminal
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106681814A (en) * 2016-12-15 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Anti-addiction method and terminal
CN107948411A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal installation and computer-readable recording medium

Also Published As

Publication number Publication date
CN109151201A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109587747B (en) SIM card switching control method, terminal and computer storage medium
CN112004173B (en) Bluetooth headset switching method, mobile terminal and computer readable storage medium
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN112346685B (en) Screen-off and screen-projection control method and device and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN107861663B (en) Method and device for displaying dockbar under comprehensive screen
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN112637410B (en) Method, terminal and storage medium for displaying message notification
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN110677897B (en) Network search control method, terminal and computer readable storage medium
CN109889651B (en) Notification message processing method, terminal and computer readable storage medium
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium
CN112712815A (en) Software-based pop sound suppression method, terminal and computer readable medium
CN112494932A (en) Game frame supplementing method and device, terminal and computer readable storage medium
CN110191477B (en) Network search control method, terminal and computer readable storage medium
CN112437472A (en) Network switching method, equipment and computer readable storage medium
CN112689191A (en) Screen projection control method, terminal and computer readable storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN108897451B (en) Main and auxiliary display screen identification method, mobile terminal and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal 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
GR01 Patent grant
GR01 Patent grant