Search

EP-4220452-B1 - METHOD FOR MANAGING APPLICATION PROGRAM USE TIME OFFLINE, AND TERMINAL DEVICE

EP4220452B1EP 4220452 B1EP4220452 B1EP 4220452B1EP-4220452-B1

Inventors

  • YU, Shuangxin

Dates

Publication Date
20260506
Application Date
20160924

Claims (13)

  1. An electronic device comprising: • a display; • at least one processor; and • a memory comprising instructions that when executed by the at least one processor, cause the electronic device to perform, at least, the following: ∘ displaying a setting interface of the electronic device, wherein the setting interface comprises an application time management option, wherein the application time management option corresponds to an application time management function of the electronic device; ∘ receiving a first input for selecting the application time management option; ∘ displaying an application time management interface in response to the first input, wherein the application time management interface comprises a rights setting option and an application management option; ∘ receiving a second input for selecting the rights setting option; ∘ setting a password for the application time management function; ∘ receiving a third input for selecting the application management option; ∘ displaying a plurality of applications, wherein each of the plurality of applications is installed in the electronic device; ∘ receiving a fourth input for selecting an application from the plurality of applications; ∘ receiving a time limit for the application; ∘ launching the application in response to a fifth input on an application icon corresponding to the application; ∘ calculating an amount of usage time for the application; ∘ displaying a first prompt indicating that the amount of usage time for the application reaches the time limit; ∘ receiving an instruction requesting time extension; ∘ detecting an input on the electronic device for password authentication; and ∘ extending a time period for the application in response to a determination that the input corresponds to the password set for the application time management function.
  2. The electronic device according to claim 1, wherein the instructions, when executed by the at least one processor, further cause the electronic device to perform displaying a second prompt when a difference between the time limit and the amount of usage time for the application is less than or equal to a preset threshold.
  3. The electronic device according to any one of claims 1 - 2, wherein the extending the time period for the application comprises extending the time period for the application by a predetermined time.
  4. The electronic device according to claim 1, wherein the extending the time period for the application comprises resetting the use duration of the application.
  5. The electronic device according to claim 1, wherein an interval is preset for the application, and wherein the instructions, when executed by the at least one processor, further cause the electronic device to perform determining that a duration between a current moment of launching the application and a previous moment of closing the application complies with the interval before launching the application.
  6. The electronic device according to any one of claims 1 - 2, wherein the instructions, when executed by the at least one processor, further cause the electronic device to perform displaying an identifier on the application icon corresponding to the application to indicate that the time limit is set for the application.
  7. The electronic device according to claim 6, wherein the instructions, when executed by the at least one processor, further cause the electronic device to perform displaying the time limit when receiving a sixth input on the identifier.
  8. A method performed by an electronic device, the method comprising the steps of: ∘ displaying a setting interface of the electronic device, wherein the setting interface comprises an application time management option, wherein the application time management option corresponds to an application time management function of the electronic device; ∘ receiving a first input for selecting the application time management option; ∘ displaying an application time management interface in response to the first input, wherein the application time management interface comprises a rights setting option and an application management option; ∘ receiving a second input for selecting the rights setting option; ∘ setting a password for the application time management function; ∘ receiving a third input for selecting the application management option; ∘ displaying a plurality of applications, wherein each of the plurality of applications is installed in the electronic device; ∘ receiving a fourth input for selecting an application from the plurality of applications; ∘ receiving a time limit for the application; ∘ launching the application in response to a fifth input on an application icon corresponding to the application; ∘ calculating an amount of usage time for the application; ∘ displaying a first prompt indicating that the amount of usage time for the application reaches the time limit; ∘ receiving an instruction requesting time extension; ∘ detecting an input on the electronic device for password authentication; and ∘ extending a time period for the application in response to a determination that the input corresponds to the password set for the application time management function.
  9. The method according to claim 8, further comprising: ∘ displaying a second prompt when a difference between the time limit and the amount of usage time for the application is less than or equal to a preset threshold.
  10. The method according to any one of claims 8 - 9, wherein the extending the time period for the application comprises extending the time period for the application by a predetermined time.
  11. The method according to claim 8, wherein the extending the time period for the application comprises resetting the use duration of the application.
  12. The method according to claim 8, further comprising: ∘ displaying an identifier on the application icon corresponding to the application to indicate that the time limit is set for the application.
  13. The method according to any one of claims 8- 9, wherein the first prompt is displayed in a form of a pop-up window.

Description

TECHNICAL FIELD The present invention relates to the field of communications technologies, and in particular, to a method for managing an application program use time offline, and a terminal device. BACKGROUND People spend increasingly longer time on mobile phones. Among these users, a group of people do not pay attention to or do not effectively control application (Application, App) use times, and they have strong requirements for App time management. For example, when watching videos on a mobile phone, a user plans to browse videos for 10 minutes but actually concentrates his or her attention completely for half an hour. In addition, a holder of parental responsibility has a requirement for performing parental control or "content lock" on App use of a child. If the holder of parental responsibility takes along a "key" for unlocking, the "content lock" is more effective. Currently, a method for managing an APP use time offline is mainly a time control function that a child App has. A specific implementation process is as follows: an App has a built-in module for controlling time ranges, within which usually system rights of a mobile phone or a tablet computer cannot be obtained. In other words, logic determining cannot be performed by reading system time. In the foregoing technical solution, a time control setting of the App can be bypassed by modifying the system time. Consequently, effectiveness is relatively low; and in addition, use time control is inflexible. International patent application WO2014/052934 is further prior art. SUMMARY In view of this, embodiments of the present invention provide a method for managing an application program use time offline, and a terminal device, to flexibly and effectively manage an App use time in an offline scenario. This problem is solved by the subject matter of the independent claims. Further implementation forms are provided in the dependent claims. The invention is defined by the appended claims. An embodiment of the present invention provides a method for managing an application program use time offline, including: displaying a desktop after a terminal device is started, and displaying an application icon on the desktop;starting, after the application icon is clicked, a target application program corresponding to the application icon; if the target application program corresponding to the application icon is an application program in which a time control rule is set, performing cumulative timing on actual use duration of the target application program, where the time control rule includes: a duration setting and an extension setting;if a difference between the duration setting and the actual use duration is less than a preset threshold, prompting that a time limit is insufficient; and if the extension setting is set to yes, further displaying a message to indicate whether time extension is needed; andif identity authentication is performed after an instruction indicating that the time extension is needed, extending a use time if the identity authentication succeeds; otherwise, quitting and locking the target application program after the actual use duration reaches the duration setting. In the foregoing embodiment, use time management is not all necessary when the application icon is displayed on the desktop; time control rules are set for those applications that need the use time management, and the applications are referred to as target application programs. In this embodiment, the cumulative timing should be understood as a cumulative time for which the target application program is used. In other words, if the target application program is closed and used again, a total time of previous-time use and this-time use is accumulated. How to implement the accumulation is not uniquely limited. The identity authentication is preferentially implemented by using a fingerprint authentication method, to prevent a time control solution from failing due to password leakage. The extension setting is a setting for extending the use time, and may usually include: resetting the use time, or increasing the duration setting. Any manner can be used, provided that the manner can enable the use time of the target application program to be longer This is not uniquely limited in this embodiment of the present invention. In an optional implementation, the extension setting includes: a resetting setting or a delay setting; and the extending a use time if the identity authentication succeeds includes: if the extension setting is the resetting setting, resetting the cumulative timing after determining that the identity authentication succeeds; or if the extension setting is the delay setting, extending a time specified by the duration setting after determining that the identity authentication succeeds. In this embodiment, the resetting setting refers to a manner of setting an accumulated time to zero and performing timing again, and the delay setting means increasing duration for wh