CN110770726A - Method and device for controlling application program use time - Google Patents

Method and device for controlling application program use time Download PDF

Info

Publication number
CN110770726A
CN110770726A CN201780092282.4A CN201780092282A CN110770726A CN 110770726 A CN110770726 A CN 110770726A CN 201780092282 A CN201780092282 A CN 201780092282A CN 110770726 A CN110770726 A CN 110770726A
Authority
CN
China
Prior art keywords
application program
user
application
time period
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.)
Pending
Application number
CN201780092282.4A
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.)
Shenzhen Huantai Technology Co Ltd
Original Assignee
Shenzhen Huantai 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 Shenzhen Huantai Technology Co Ltd filed Critical Shenzhen Huantai Technology Co Ltd
Publication of CN110770726A publication Critical patent/CN110770726A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals

Abstract

A method and apparatus for controlling the usage time of an application program, the method comprising: detecting a starting operation (102) of an application program by a user; receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode (104); when the user selects the restricted mode, the application is locked for a preset time period, and the application is unlocked at any time except for the preset time period (106).

Description

Method and device for controlling application program use time Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a use time of an application program, a computer device, and a computer-readable storage medium.
Background
The continuous development of internet technology and the popularization of mobile terminals provide great convenience for users, and more users spend a great deal of time using mobile terminals every day.
Generally, the accumulated time of using the mobile terminal is controlled online, once the anti-addiction time is reached, the limited application program arranged in the terminal is forcibly closed, and the user can not normally start again until the time of the next day.
However, many users need to work and study in the daytime, and generally use game applications, entertainment applications and the like in the mobile terminal at night by sacrificing sleep time, which seriously affects the sleep time and quality of the users and physical and psychological health.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling the use time of an application program, computer equipment and a computer readable storage medium, which can limit a user from using the application program in a morning time period, thereby preventing the influence on the normal rest time of the user and reasonably managing the behavior of the user in using a mobile terminal.
A method of controlling application age, comprising:
detecting the starting operation of a user on an application program;
receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
An apparatus for controlling application usage time, comprising:
the detection module is used for detecting the starting operation of the user on the application program;
the selection module is used for receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and the control module locks the application program in a preset time period when the user selects the limit mode, and releases the locking of the application program at any time except the preset time period.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting the starting operation of a user on an application program;
receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
A computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of:
detecting the starting operation of a user on an application program;
receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
According to the method and the device for controlling the service time of the application program, the computer readable storage medium and the computer device, after the user selects the restriction mode, the application program is locked within the preset time period, namely, the application program cannot run within the preset time period. For example, if the predetermined time period is 00 a.m.: 00: 00 to 7 in the morning: 00: 00, then the application is locked and cannot run for that period of time (00: 00: 00-7: 00: 00, seven hours). However, in 7: 00: 01, the application program is unlocked at the moment, and is recovered to the normal mode, and the user can operate the application program to operate the application program, so that the application program can be limited to be used by the user in the early morning time period, and the situation that the user is addicted to the mobile terminal to influence the normal rest time of the user is prevented, and the behavior of the user in using the mobile terminal is reasonably managed.
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 of the embodiments can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram of a method for controlling application age in one embodiment;
FIG. 2 is a flow diagram of an embodiment of receiving a user selection of an operating mode for an application;
FIG. 3 is a flow diagram illustrating locking the application for the predetermined period of time according to an embodiment;
FIG. 4 is a flowchart illustrating locking the application for the predetermined period of time according to another embodiment;
FIG. 5 is a flowchart of a method for controlling application lifetime in another embodiment;
FIG. 6 is a flowchart of a method for controlling application lifetime in yet another embodiment;
FIG. 7 is a block diagram illustrating an internal structure of an apparatus for controlling the application lifetime in one embodiment;
FIG. 8 is a block diagram of the internal structure of a control module in one embodiment;
FIG. 9 is a block diagram showing an internal structure of a control module in another embodiment;
FIG. 10 is a block diagram showing an internal structure of a control module in still another embodiment;
FIG. 11 is a block diagram showing an internal configuration of an apparatus for controlling the use timing of an application program according to another embodiment;
fig. 12 is a block diagram of a partial structure of a mobile phone related to a computer device provided in an embodiment of the present application.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As shown in fig. 1, the present application provides a method of controlling the usage time of an application. The method for controlling the use time of the application program is applied to the mobile terminal.
The mobile terminal refers to an intelligent mobile terminal capable of installing an application program, for example, a smart phone, a tablet computer, and the like. The Application program (App) refers to an Application or software installed in the mobile terminal for improving the defects of the original system of the mobile terminal and providing personalized functions, and the Application program may be a game Application, a video Application, a chat tool, a browser Application, office software, a system tool, and the like.
In one embodiment, a method of controlling application age, comprising:
step 102: and detecting the starting operation of the application program by the user.
The mobile terminal generally installs one, two or more applications, and when a certain application needs to be run, the user needs to receive a starting operation of the application.
The starting operation includes a user's touch operation such as clicking, long-pressing, sliding, double-clicking, zooming, etc., and may also include an operation via a mouse, a keyboard, etc., or a gesture operation or a voice control operation, etc.
Step 104: receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode.
Specifically, the operation mode of the application includes a restricted mode and a normal mode. The restricted mode is to restrict the running time period of the application program in the mobile terminal, that is, the application program cannot run in a specific time period. The normal mode may also be understood as a default mode of the mobile terminal, that is, there is no limitation on the running time of the application program, and the application program can be run at any time of 24 hours a day under the condition of normal power supply.
And when the starting operation of the application program by the user is detected, displaying the running mode of the application program for the user to select. When the user selects the operation mode of the application program, the mobile terminal can receive the operation of selecting the operation mode of the application program by the user.
The selection operation may include a touch operation such as clicking, long-pressing, sliding, double-clicking, zooming, and the like, and may also include an operation such as a mouse, a keyboard, and the like, or a gesture operation or a voice control operation, and the like.
Step 106: and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
When the user selects the restricted mode, the application program is locked within a preset time period, that is, the application program cannot run within the preset time period. For example, if the predetermined time period is 00 a.m.: 00: 00 to 7 in the morning: 00: 00, then the application is locked and cannot run for that period of time (00: 00: 00-7: 00: 00, seven hours). However, in 7: 00: 01 this moment, the application program is unlocked and restored to the normal mode, and the user can operate the application program to run, that is, the application program is in the morning of 00: 00: starting at time 00, the switch cannot be opened until 7: 00: 01 can be used continuously.
Therefore, the application program can be limited to be used by the user in the early morning time period, so that the user is prevented from being addicted to the mobile terminal and influencing the normal rest time of the user, and the behavior of the user in using the mobile terminal is reasonably managed. If the application program is game application, the user can be limited from playing games in the early morning, the purpose of reasonably managing the time of playing games by using the mobile phone by the user is achieved, the sleeping time of the user is further ensured, and physical and psychological health is protected.
In one embodiment, the receiving a selection operation of the application program running mode by the user includes:
step 202: and when the starting operation of the application program by the user is detected, displaying the option of the running mode.
Specifically, when the application program is a game application "royal glory", when the user's activation operation of "royal glory" is detected, a small window of "whether to enable restricted mode" is popped up in a pop-up form, and two options of "yes" and "no" are displayed at the same time, or two options of "restricted mode" and "normal mode" are popped up in a pop-up form.
Alternatively, when the user's start operation of "royal glory" is detected, a small window of whether the restriction mode is enabled or not "enable restriction mode" is displayed in the form of bubbling, and two options of "yes" and "no" are displayed at the same time, or two options of "restriction mode" and "normal mode" are displayed in the form of bubbling. Of course, the options of the operation modes may be displayed in other manners, and are not further limited herein.
Step 204: and receiving the selection operation of the user on the running mode of the application program.
When the user needs to select the operation mode of the application program, the selection of the option displayed by the mobile terminal can be made. If a small window of "whether the restriction mode is enabled" is popped up in a pop-up form, and two options of "yes" and "no" are displayed at the same time, the user can select "yes" or "no" by clicking or sliding. When the user selects "yes", the application is set to the restricted mode, and when the user selects "no", the application is set to the normal mode.
Specifically, the selection operation may be a touch operation such as clicking, long-pressing, sliding, double-clicking, zooming, and the like, may further include an operation via a mouse, a keyboard, and the like, and may also be a gesture operation or a voice control operation, and a specific form of the selection operation is not further limited herein.
In one embodiment, locking the application program for the preset time period includes:
step 302: and acquiring the functional attribute of the application program.
It should be noted that the function attribute of each application program is acquired based on the function provided by the application program. For example, applications may be classified by their functional attributes into a game category, a tool category, a security category, a browser category, a social category, a shopping category, and so forth.
Step 304: and setting the preset time period according to the function attribute.
The preset time period of the restricted mode is set according to the functional attributes of the application program. For example, the preset time period of the restricted mode of the application program of the game category, browser category, shopping category is set to 00 in the morning: 00: 00-morning 7: 00: 00. since the social category application relates to the user a and the user B during the use process, considering the experience degrees of the users of the two users, the preset time period may be set as 01: 00: 00-morning 6: 00: 00. of course, the preset time period of the restriction mode of each application program can be set in a user-defined manner according to the requirements of the user.
Step 306: and hiding the application program within the preset time period so as to limit the operation of the application program.
In the preset time period of the limited mode, the application program is hidden, so that the user cannot perform any operation on the application program to limit the running of the application program, the situation that the user indulging in the mobile terminal manually unlocks the network, the ID or other modes of the application program can be avoided, and the time for the user to use the mobile terminal can be better limited.
In one embodiment, locking the application program for the preset time period includes:
step 402: and acquiring the historical running time of the application program.
Specifically, when the user's start operation of an application (game application — online game 1) is detected and a user selects a restricted mode to be used for the application, the historical running time of the game application, "royal glory" before the current time is acquired. For example, the current time is 10 months and 23 days in 2017, the Beijing time 21: 00: 00, the historical running time of the application program is 10, 23 and 2017 earlier, and the time of Beijing is 21: 00: 00 whole, any time before.
Specifically, 2-3 days earlier than the current day, 20 days per Beijing day: 00: 00-24: 00: 00 and the next day 00: 00: 00-2: 00: 00 this time period game application-running time of the online game 1. That is, 20 for 2017 and 22 for 2017 and 10 for 2017, 20 for Beijing every night: 00: 00-next morning 2: 00: 00 this time period, the running time of the game application, online game 1.
Step 404: and setting the preset time period according to the historical running time.
And setting a preset time period of the limiting mode according to the acquired historical running time. If 2017, 20 months and 20 days in 2017, 10 months and 22 days in 2017, 20 days in Beijing every night: 00: 00-next morning 2: 00: 00, the average time period of the running time of the game application-online game 1 is 23: 00: 00-to next morning 00: 30: 00, the preset time period may be set to 00 in the morning: 00: 00-7: 00: 00, namely, the time for the user to run the game application, namely, the online game 1 can be limited and shortened, and the sleep time of the user can be further ensured. If the average time period of the running time of the game application-online game 1 is 22: 00: 00-23: 00: 00, the user has stronger self-control force, the work and rest time of the user can be reasonably managed, and in order to avoid disturbing the biological clock time of the user, the preset time period can be set to be 23: 00: 00-the next morning 7: 00: 00.
accordingly, the preset rule for setting the preset time period of the restriction mode according to the historical operation time may be set according to the user's requirement, and is not limited to the above description.
Step 406: and hiding the application program within the preset time period so as to limit the operation of the application program.
In the preset time period of the limited mode, the application program is hidden, so that the user cannot perform any operation on the application program to limit the running of the application program, the situation that the user indulging in the mobile terminal manually unlocks the network, the ID or other modes of the application program can be avoided, and the time for the user to use the mobile terminal can be better limited.
In one embodiment, after hiding the application program within the preset time period to limit the running of the application program, the method further includes:
step 502: and acquiring the name and the function attribute of the application program.
The name of the hidden application and the functional attributes of the hidden application are obtained. If the hidden application is "the royal glory", the name of the application is "the royal glory", and the functional attribute is the game.
Step 504: detecting whether the user downloads the application program with the same name and function attribute again.
In a preset time period, the application program can be hidden, some users are limited as well, and the hidden application program can be downloaded again.
Whether the mobile terminal downloads the application program with the same name and function attributes as the hidden application program within a preset time period through a webpage or the application program with the software management function is detected.
If yes, go to step 506: and limiting the application programs with the same name and function attributes to run. That is, when it is detected that the user downloads the application having the same name and function attribute as the hidden application again within the preset time period, the application downloaded again is locked and cannot be run, so as to ensure whether the application cannot be used within the preset time period in the user restriction mode, and to reasonably manage the time for the user to use the mobile terminal.
In one embodiment, the method for controlling the use time of an application program further comprises:
step 602: and acquiring a list needing to set the restricted mode according to the functional attribute of the application program.
In order to improve the experience of the user, the running mode of part of the application program can be set to be a limited mode and a normal mode. However, the operation mode of the vital application programs, such as the application program having the call function and the application program having the security antivirus class, is not limited at all, that is, the restriction mode is not set.
According to the function attributes of the application programs, the operation modes of the application programs of the game type, the browser type and the shopping type can be set to be a limiting mode and a normal mode for the user to select. Meanwhile, the application programs which can be set to the restricted mode are integrated into a list for centralized management.
Step 604: and when the starting operation of the application program in the list by the user is detected, displaying the option of the running mode.
When the starting operation of the application program in the list by the user is detected, a small window of 'whether the restriction mode is enabled' is popped up in a popup window mode, and two options of 'yes' and 'no' are displayed, so that the user can select 'yes' or 'no' in a clicking or sliding mode. When the user selects "yes", the application is set to the restricted mode, and when the user selects "no", the application is set to the normal mode.
In one embodiment, the method for controlling the use time of an application program further comprises: and reminding the user of the preset time period of the current application program restriction mode.
When the user selects the limiting mode and the running time of the application program does not reach the preset time period, the user can be reminded of the preset time period of the current application program limiting mode at regular time, so that the user can know the limited time period conveniently, the user can arrange corresponding matters in advance, and the experience degree of the user is improved.
As shown in fig. 7, the present application also provides an apparatus for controlling the usage time of an application, including:
a detection module 710, configured to detect a start operation of an application by a user;
a selecting module 720, configured to receive a selection operation of the application program running mode by a user; the operation modes include: a restricted mode and a normal mode;
the control module 730 locks the application program within a preset time period and unlocks the application program at any time except for the preset time period when the user selects the restricted mode.
According to the device for controlling the use time of the application program, after the user selects the limiting mode, the application program is locked within the preset time period, namely, the application program cannot run within the preset time period. For example, if the predetermined time period is 00 a.m.: 00: 00 to 7 in the morning: 00: 00, then the application is locked and cannot run for that period of time (00: 00: 00-7: 00: 00, seven hours). However, in 7: 00: 01 this moment, the application program is unlocked and restored to the normal mode, and the user can operate the application program to run, that is, the application program is in the morning of 00: 00: starting at time 00, the switch cannot be opened until 7: 00: 01 can be used continuously.
Therefore, the application program can be limited to be used by the user in the early morning time period, so that the user is prevented from being addicted to the mobile terminal and influencing the normal rest time of the user, and the behavior of the user in using the mobile terminal is reasonably managed. If the application program is game application, the user can be limited from playing games in the early morning, the purpose of reasonably managing the time of playing games by using the mobile phone by the user is achieved, the sleeping time of the user is further ensured, and physical and psychological health is protected.
In one embodiment, the selecting module 720 includes:
a display unit 721 configured to display an option of the operation mode when a user's start operation on the application program is detected;
a receiving unit 723, configured to receive a selection operation of the application program running mode by a user.
As shown in fig. 8, in one embodiment, the control module 830 includes:
a first acquisition unit 831 for acquiring a function attribute of the application program;
a first preset unit 833, configured to set the preset time period according to the function attribute;
a first hiding unit 835, configured to hide the application program within the preset time period to limit operation of the application program.
As shown in fig. 9, in one embodiment, the control module 930 includes:
a second obtaining unit 931 configured to obtain a historical operating time of the application program;
a second preset unit 933, configured to set the preset time period according to the historical operating time;
the second hiding unit 935 is configured to hide the application program within the preset time period to limit the operation of the application program.
As shown in fig. 10, in one embodiment, the control module 1030 further includes:
a third obtaining unit 1031, configured to obtain a name of the application program and the function attribute;
a detection unit 1033 that detects whether the user downloads the application program having the same name and function attribute again;
a limiting unit 1035, configured to limit running of the application program with the same name and function attribute when the user downloads the application program with the same name and function attribute again.
In one embodiment, an apparatus for controlling application usage time, comprising: the detecting module 1110, the selecting module 1120, and the controlling module 1130 further include:
a list setting module 1140, configured to obtain a list for which the restricted mode needs to be set according to the functional attribute of the application.
In order to improve the experience of the user, the running mode of part of the application program can be set to be a limited mode and a normal mode. However, the operation mode of the vital application programs, such as the application program having the call function and the application program having the security antivirus class, is not limited at all, that is, the restriction mode is not set. According to the function attributes of the application programs, the operation modes of the application programs of the game type, the browser type and the shopping type can be set to be a limiting mode and a normal mode for the user to select. Meanwhile, the application programs which can be set to the restricted mode are integrated into a list for centralized management.
When the starting operation of the application program in the list by the user is detected, a small window of 'whether the restriction mode is enabled' is popped up in a popup window mode, and two options of 'yes' and 'no' are displayed, so that the user can select 'yes' or 'no' in a clicking or sliding mode. When the user selects "yes", the application is set to the restricted mode, and when the user selects "no", the application is set to the normal mode.
In one embodiment, the apparatus for controlling the usage time of an application further comprises:
and the reminding module is used for reminding the user of the preset time period of the current application program restriction mode.
When the user selects the limiting mode and the running time of the application program does not reach the preset time period, the user can be reminded of the preset time period of the current application program limiting mode at regular time, so that the user can know the limited time period conveniently, the user can arrange corresponding matters in advance, and the experience degree of the user is improved.
The division of each module in the apparatus for controlling the application use time is only used for illustration, and in other embodiments, the apparatus for controlling the application use time may be divided into different modules as needed to complete all or part of the functions of the apparatus for controlling the application use time.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media embodying computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of:
detecting the starting operation of a user on an application program;
receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
When the computer-executable instructions are executed by one or more processors, the application is locked for a predetermined period of time after the user selects the restricted mode, i.e., the application is not operational for the predetermined period of time. For example, if the predetermined time period is 00 a.m.: 00: 00 to 7 in the morning: 00: 00, then the application is locked and cannot run for that period of time (00: 00: 00-7: 00: 00, seven hours). However, in 7: 00: 01, the application program is unlocked at the moment, and is recovered to the normal mode, and the user can operate the application program to operate the application program, so that the application program can be limited to be used by the user in the early morning time period, and the situation that the user is addicted to the mobile terminal to influence the normal rest time of the user is prevented, and the behavior of the user in using the mobile terminal is reasonably managed.
The embodiment of the application also provides computer equipment. As shown in fig. 12, for convenience of explanation, only the portions related to the embodiments of the present application are shown, and details of the specific techniques are not disclosed, please refer to the method portion of the embodiments of the present application. The computer device may be any mobile terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, mobile terminal), a vehicle-mounted computer, a wearable device, and the like, taking the computer device as the mobile phone as an example:
fig. 12 is a block diagram of a partial structure of a mobile phone related to a computer device provided in an embodiment of the present application. Referring to fig. 12, the cellular phone includes: radio Frequency (RF) circuit 1210, memory 1220, input unit 1230, display unit 1240, sensor 1250, audio circuit 1260, wireless fidelity (WiFi) module 1270, processor 1280, and power supply 1290. Those skilled in the art will appreciate that the handset configuration shown in fig. 12 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1210 may be configured to receive and transmit signals during information transmission or communication, and may receive downlink information of a base station and then process the downlink information to the processor 1280; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1210 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1220 may be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1220. The memory 1220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1220 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 input unit 1230 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1200. Specifically, the input unit 1230 may include a touch panel 1231 and other input devices 1232. The touch panel 1231, which may also be referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 1231 (e.g., operations performed by the user on or near the touch panel 1231 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1231 can include two portions, 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, and sends the touch point coordinates to the processor 1280, and can receive and execute commands sent by the processor 1280. In addition, the touch panel 1231 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1230 may include other input devices 1232 in addition to the touch panel 1231. In particular, other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. Display unit 1240 may include a display panel 1241. In one embodiment, the Display panel 1241 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1231 can overlay display panel 1241, and when touch panel 1231 detects a touch operation thereon or nearby, the touch panel 1231 can transmit the touch operation to processor 1280 to determine the type of touch event, and then processor 1280 can provide corresponding visual output on display panel 1241 according to the type of touch event. Although in fig. 12, the touch panel 1231 and the display panel 1241 are implemented as two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1200 may also include at least one sensor 1250, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1241 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1241 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuit 1260, speaker 1261, and microphone 1262 can provide an audio interface between a user and a cell phone. The audio circuit 1260 can transmit the received electrical signal converted from the audio data to the speaker 1261, and the audio signal is converted into a sound signal by the speaker 1261 and output; on the other hand, the microphone 1262 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1260 and converted into audio data, and then the audio data is processed by the audio data output processor 1280, and then the processed audio data is transmitted to another mobile phone through the RF circuit 1210, or the audio data is output to the memory 1220 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1270, and provides wireless broadband internet access for the user. Although fig. 12 shows WiFi module 1270, it is understood that it is not an essential component of cell phone 1200 and may be omitted as desired.
The processor 1280 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1220 and calling data stored in the memory 1220, thereby performing overall monitoring of the mobile phone. In one embodiment, the processor 1280 may include one or more processing units. In one embodiment, the processor 1280 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 1280.
The mobile phone 1200 further includes a power supply 1290 (e.g., a battery) for supplying power to various components, and preferably, the power supply may be logically connected to the processor 1280 through a power management system, so that the power management system may manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1200 may also include a camera, a bluetooth module, and the like.
In an embodiment of the application, the processor 1280 included in the computer device, when executing the computer program stored on the memory, performs the following steps:
detecting the starting operation of a user on an application program;
receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
When the processor executes the above steps, after the user selects the restricted mode, the application program is locked within the preset time period, that is, the application program cannot run within the preset time period. For example, if the predetermined time period is 00 a.m.: 00: 00 to 7 in the morning: 00: 00, then the application is locked and cannot run for that period of time (00: 00: 00-7: 00: 00, seven hours). However, in 7: 00: 01, the application program is unlocked at the moment, and is recovered to the normal mode, and the user can operate the application program to operate the application program, so that the application program can be limited to be used by the user in the early morning time period, and the situation that the user is addicted to the mobile terminal to influence the normal rest time of the user is prevented, and the behavior of the user in using the mobile terminal is reasonably managed.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of:
detecting the starting operation of a user on an application program;
receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
When the computer executes the steps, after the user selects the restriction mode, the application program is locked within the preset time period, that is, the application program cannot run within the preset time period. For example, if the predetermined time period is 00 a.m.: 00: 00 to 7 in the morning: 00: 00, then the application is locked and cannot run for that period of time (00: 00: 00-7: 00: 00, seven hours). However, in 7: 00: 01, the application program is unlocked at the moment, and is recovered to the normal mode, and the user can operate the application program to operate the application program, so that the application program can be limited to be used by the user in the early morning time period, and the situation that the user is addicted to the mobile terminal to influence the normal rest time of the user is prevented, and the behavior of the user in using the mobile terminal is reasonably managed.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

  1. A method of controlling application age, comprising:
    detecting the starting operation of a user on an application program;
    receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
    and when the user selects the limiting mode, locking the application program in a preset time period, and unlocking the application program at any time except the preset time period.
  2. The method according to claim 1, wherein the receiving of the operation of the user selecting the application program running mode comprises:
    when the starting operation of the application program by a user is detected, displaying options of the running mode;
    and receiving the selection operation of the user on the running mode of the application program.
  3. The method of claim 1, wherein locking the application for the preset period of time comprises:
    acquiring the functional attribute of the application program;
    setting the preset time period according to the function attribute;
    and hiding the application program within the preset time period so as to limit the operation of the application program.
  4. The method of claim 1, wherein locking the application for the preset period of time comprises:
    acquiring historical running time of the application program;
    setting the preset time period according to the historical running time;
    and hiding the application program within the preset time period so as to limit the operation of the application program.
  5. The method according to claim 3 or 4, wherein after hiding the application program for the preset time period to limit the running of the application program, the method further comprises:
    acquiring the name and the function attribute of the application program;
    detecting whether the user downloads the application program with the same name and function attribute again;
    and if so, limiting the application programs with the same names and function attributes to be operated.
  6. The method of claim 1, further comprising:
    acquiring a list needing to set the restriction mode according to the functional attribute of the application program;
    and when the starting operation of the application program in the list by the user is detected, displaying the option of the running mode.
  7. The method of claim 1, wherein the predetermined period of time is from zero to seven hours a.m.
  8. An apparatus for controlling application usage time, comprising:
    the detection module is used for detecting the starting operation of the user on the application program;
    the selection module is used for receiving the selection operation of the user on the running mode of the application program; the operation modes include: a restricted mode and a normal mode;
    and the control module locks the application program in a preset time period when the user selects the limit mode, and releases the locking of the application program at any time except the preset time period.
  9. The apparatus of claim 8, wherein the selection module comprises:
    the display unit is used for displaying the options of the running mode when the starting operation of the application program by the user is detected;
    and the receiving unit is used for receiving the selection operation of the user on the running mode of the application program.
  10. The apparatus of claim 8, wherein the control module comprises:
    a first acquisition unit configured to acquire a function attribute of the application program;
    the first preset unit is used for setting the preset time period according to the function attribute;
    and the first hiding unit is used for hiding the application program in the preset time period so as to limit the operation of the application program.
  11. The apparatus of claim 8, wherein the control module comprises:
    a second acquisition unit configured to acquire a historical operating time of the application program;
    the second preset unit is used for setting the preset time period according to the historical running time;
    and the second hiding unit is used for hiding the application program in the preset time period so as to limit the operation of the application program.
  12. The apparatus of claim 10 or 11, wherein the control module further comprises:
    a third obtaining unit, configured to obtain a name and the function attribute of the application program;
    the detection unit is used for detecting whether the user downloads the application program with the same name and function attribute again;
    and the limiting unit is used for limiting the application programs with the same name and function attributes to run when the user downloads the application programs with the same name and function attributes again.
  13. The apparatus of claim 8, further comprising:
    and the list setting module is used for acquiring a list needing to set the restriction mode according to the functional attribute of the application program.
  14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of controlling the usage time of an application according to any one of claims 1 to 7.
  15. A computer device comprising a memory and a processor, the memory having stored therein computer 5-readable instructions that, when executed by the processor, cause the processor to perform a method of controlling application age according to any one of claims 1 to 7.
CN201780092282.4A 2017-10-31 2017-10-31 Method and device for controlling application program use time Pending CN110770726A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/108530 WO2019084757A1 (en) 2017-10-31 2017-10-31 Method and apparatus for controlling usage time of application program

Publications (1)

Publication Number Publication Date
CN110770726A true CN110770726A (en) 2020-02-07

Family

ID=66331125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780092282.4A Pending CN110770726A (en) 2017-10-31 2017-10-31 Method and device for controlling application program use time

Country Status (2)

Country Link
CN (1) CN110770726A (en)
WO (1) WO2019084757A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460481A (en) * 2020-04-14 2020-07-28 Oppo广东移动通信有限公司 Privacy protection method, device and equipment based on terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015058554A1 (en) * 2013-10-22 2015-04-30 深圳Tcl新技术有限公司 Control method for intelligent display device
CN106446670A (en) * 2016-10-26 2017-02-22 珠海格力电器股份有限公司 Application management method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446695A (en) * 2015-08-04 2017-02-22 中兴通讯股份有限公司 Application management method and device
CN105243322A (en) * 2015-10-10 2016-01-13 深圳市金立通信设备有限公司 Application program control method and terminal
CN105302598B (en) * 2015-10-15 2018-09-04 广东欧珀移动通信有限公司 A kind of time control method and device of application operation
CN105808983B (en) * 2016-03-10 2019-12-13 Tcl集团股份有限公司 Method and device for limiting application service time
CN106503543A (en) * 2016-10-27 2017-03-15 乐视控股(北京)有限公司 A kind of method and apparatus of management application program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015058554A1 (en) * 2013-10-22 2015-04-30 深圳Tcl新技术有限公司 Control method for intelligent display device
CN106446670A (en) * 2016-10-26 2017-02-22 珠海格力电器股份有限公司 Application management method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460481A (en) * 2020-04-14 2020-07-28 Oppo广东移动通信有限公司 Privacy protection method, device and equipment based on terminal equipment

Also Published As

Publication number Publication date
WO2019084757A1 (en) 2019-05-09

Similar Documents

Publication Publication Date Title
CN108521494B (en) Terminal control method and device, readable storage medium and terminal
US20150269164A1 (en) Electronic device and contact display method therefor
CN112799750A (en) Terminal equipment information display method and terminal equipment
CN111343677B (en) Terminal behavior triggering method and terminal
CN107977248B (en) Display method of desktop pendant and mobile terminal
CN109246291B (en) Mobile terminal and sleep reminding method and device
CN111161515A (en) Reminding information pushing method, terminal equipment and computer readable storage medium
CN109445917B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN112703714A (en) Application program processing method and device, computer equipment and computer readable storage medium
JP2018504708A (en) Method, device, and system for managing information recommendations
CN106326489B (en) Method and device for updating network resources
CN108509788B (en) Information sharing method and device, computer readable storage medium and terminal
CN107257408B (en) Main screen page display method, terminal and computer readable storage medium
CN112805988B (en) Call control method and device, computer readable storage medium and electronic equipment
CN113422869A (en) Information processing method and device, computer readable storage medium and terminal
CN106327342B (en) Processing method of emoticon and terminal
WO2019196704A1 (en) Inter-multi-character message notification method and device within terminal, and terminal
CN106850957B (en) Application notification management method and device and mobile terminal
CN113515219A (en) Setting method, setting device, electronic equipment and storage medium
CN106713627B (en) Method and device for pushing message in notification bar and mobile terminal
CN110753914A (en) Information processing method, storage medium and mobile terminal
CN108537025B (en) Privacy protection method and device, computer readable storage medium and terminal
KR20150111834A (en) Mobile terminal and method for controlling the same
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN109660657B (en) Application program control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication