Search

EP-4443857-B1 - DEVICE CONTROL METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM

EP4443857B1EP 4443857 B1EP4443857 B1EP 4443857B1EP-4443857-B1

Inventors

  • WAN, Shiqi
  • YUE, ZHENYU

Dates

Publication Date
20260513
Application Date
20230314

Claims (15)

  1. A device control method, comprising: during a target application runs, in response to it is determined that device usage time information of a current user meets a preset blocking trigger condition, displaying (S101) a preset blocking page on a current operation interface of the target application; wherein the preset blocking page is used to block a trigger operation on the current operation interface, and an authentication control is disposed on the preset blocking page; in response to a trigger operation on the authentication control, authenticating (S102) the current user; in response to it is determined that the authentication of the current user is successful, closing (S103) the preset blocking page, wherein the method further comprises: in response to it is determined that blocking cut-off time information related to the current user meets a preset blocking cut-off condition, closing the preset blocking page.
  2. The method of claim 1, wherein the method further comprises: in response to it is determined that the authentication of the current user fails, displaying authentication failure notification information on the preset blocking page.
  3. The method of claim 1, wherein the preset blocking page displays the blocking cut-off time information thereon.
  4. The method of claim 3, wherein the blocking cut-off time information thereon comprises at least one of a preset first duration threshold or a preset blocking cut-off time, and wherein the preset blocking cut-off condition includes at least one of a blocking duration reaching the preset first duration threshold or a current time reaching the preset blocking cut-off time.
  5. The method of any one of claims 1 to 4, wherein, the device usage time information includes at least one of a cumulative device usage duration, a single continuous device usage duration, and a device usage time; the preset blocking trigger condition includes at least one of the cumulative device usage duration reaching a preset second duration threshold, the single continuous device usage duration reaching a preset third duration threshold, and the device usage time falling within a preset usage time range.
  6. The method of claim 1, wherein the method further comprises: in response to it is determined that the current user is an application APP uninstall-reinstall login user or a change-device login user, then judging whether the current user is in a blocked state; wherein the blocked state is used to represent a state entered in response to the device usage time information of the current user meets the preset blocking trigger condition; in response to it is determined that the current user is in the blocked state, displaying the preset blocking page, and hiding the authentication control disposed on the preset blocking page.
  7. The method of claim 1, wherein, in response to it is determined that the device usage time information of the current user meets the preset blocking trigger condition, or in response to it is determined that the current user has a blocking label, it is determined that the current user is in a blocked state, wherein the blocking label is labelled for the current user in response to the device usage time information of the current user meets the preset blocking trigger condition.
  8. A device control apparatus, comprising: a first display module (601) configured to, during a target application runs, in response to it is determined that device usage time information of a current user meets a preset blocking trigger condition, display a preset blocking page on a current operation interface of the target application; wherein the preset blocking page is used to block a trigger operation on the current operation interface, and an authentication control is disposed on the preset blocking page; an authentication module (602) configured to, in response to a trigger operation on the authentication control, authenticate the current user; a first closing module (603) configured to, in response to it is determined that the authentication of the current user is successful, close the preset blocking page; and a second closing module configured to, in response to it is determined that blocking cut-off time information related to the current user meets a preset blocking cut-off condition, close the preset blocking page.
  9. The device control apparatus of claim 8, wherein the apparatus further comprises: a second display module configured to, in response to it is determined that the authentication of the current user fails, display authentication failure notification information on the preset blocking page.
  10. The device control apparatus of claim 8, wherein the preset blocking page displays the blocking cut-off time information thereon, and wherein the blocking cut-off time information thereon comprises at least one of a preset first duration threshold or a preset blocking cut-off time, and wherein the preset blocking cut-off condition includes at least one of a blocking duration reaching the preset first duration threshold or a current time reaching the preset blocking cut-off time.
  11. The device control apparatus of any one of claims 8 to 10, wherein, the device usage time information includes at least one of a cumulative device usage duration, a single continuous device usage duration, and a device usage time; the preset blocking trigger condition includes at least one of the cumulative device usage duration reaching a preset second duration threshold, the single continuous device usage duration reaching a preset third duration threshold, and the device usage time falling within a preset usage time range.
  12. The device control apparatus of any one of claims 8-11, wherein the apparatus further comprises: a judgement module configured to, in response to it is determined that the current user is an application APP uninstall-reinstall login user or a change-device login user, then judge whether the current user is in a blocked state; wherein the blocked state is used to represent a state entered in response to the device usage time information of the current user meets the preset blocking trigger condition; a third display module configured to, in response to it is determined that the current user is in the blocked state, display the preset blocking page, and hiding the authentication control disposed on the preset blocking page.
  13. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when running on a terminal device, causes the terminal device to implement the method of any one of claims 1 to 7.
  14. A device control device, comprising: a memory, a processor, wherein the memory stores computer programs thereon; wherein the computer programs, when executed by the processor, cause the device control device to implement the method of any one of claims 1 to 7.
  15. A computer program product having computer programs/instructions, wherein the computer programs/instructions, when executed by a processor, causes implementation of the method of any one of claims 1 to 7.

Description

FIELD OF THE INVENTION The present disclosure relates to the field of data processing, and in particular to a device control method, apparatus, device and storage medium. BACKGROUND With the rapid development of information technology, the emergence of smart terminals such as mobile phones, computers, and tablets has enriched people's lives and brought many conveniences to people's lives. However, if without restraint, usage of such smart terminals would easily affect people's work and life adversely. Therefore, anti-addiction reminder software came into being. Relevant prior art is disclosed by documents JP6736766B2, JP2011035499A, and EP1845692B1. DISCLOSURE OF THE INVENTION In order to solve the above technical problems, embodiments of the present disclosure provide an improved device control method, apparatuses and device. In a first aspect, the present disclosure provides a device control method, the method including: during a target application runs, in response to it is determined that device usage time information of a current user meets a preset blocking trigger condition, displaying a preset blocking page on a current operation interface of the target application; wherein the preset blocking page is used to block a trigger operation on the current operation interface, and an authentication control is disposed on the preset blocking page;in response to a trigger operation on the authentication control, authenticating the current user;in response to it is determined that the authentication of the current user is successful, closing the preset blocking page. According to embodiments of the present disclosure, the method may further include: in response to it is determined that the authentication of the current user fails, displaying authentication failure notification information on the preset blocking page. According to embodiments of the present disclosure, wherein the preset blocking page displays blocking cut-off time information thereon, and the method further comprises: in response to it is determined that the current user meets a preset blocking cut-off condition, closing the preset blocking page; wherein there is a corresponding relationship between the preset blocking cut-off condition and the blocking cut-off time information. According to embodiments of the present disclosure, wherein the preset blocking cut-off condition includes that a blocking duration reaches a preset first duration threshold and/or a current time reaches a preset blocking cut-off time. According to embodiments of the present disclosure, the device usage time information includes at least one of a cumulative device usage duration, a single continuous device usage duration, and a device usage time; the preset blocking trigger condition includes at least one of the cumulative device usage duration reaching a preset second duration threshold, the single continuous device usage duration reaching a preset third duration threshold, and the device usage time falling within a preset usage time range. According to embodiments of the present disclosure, the method may further include: in response to it is determined that the current user is an application APP uninstall-reinstall login user or a change-device login user, then judging whether the current user is in a blocked state; wherein the blocked state is used to represent a state entered in response to the device usage time information of the current user meets the preset blocking trigger condition;in response to it is determined that the current user is in the blocked state, displaying the preset blocking page, and hiding the authentication control disposed on the preset blocking page. In a second aspect, the present disclosure provides a device control apparatus, the apparatus includes: a first display module configured to, during a target application runs, in response to it is determined that device usage time information of a current user meets a preset blocking trigger condition, display a preset blocking page on a current operation interface of the target application; wherein the preset blocking page is used to block a trigger operation on the current operation interface, and an authentication control is disposed on the preset blocking page;an authentication module configured to, in response to a trigger operation on the authentication control, authenticate the current user; anda first closing module configured to, in response to it is determined that the authentication of the current user is successful, close the preset blocking page. In a third aspect, the present disclosure provides a computer-readable storage medium having instructions stored thereon, wherein the instructions, when running on a terminal device, causes the terminal device to implement the method described above. In a fourth aspect, the present disclosure provides a device control device, comprising: a memory, a processor, wherein the memory stores computer programs thereon; wherein the computer prog