WO2017166613A1 - 一种控制终端使用时间的方法、装置和电子设备 - Google Patents

一种控制终端使用时间的方法、装置和电子设备 Download PDF

Info

Publication number
WO2017166613A1
WO2017166613A1 PCT/CN2016/096530 CN2016096530W WO2017166613A1 WO 2017166613 A1 WO2017166613 A1 WO 2017166613A1 CN 2016096530 W CN2016096530 W CN 2016096530W WO 2017166613 A1 WO2017166613 A1 WO 2017166613A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
screen state
time
screen
bright
Prior art date
Application number
PCT/CN2016/096530
Other languages
English (en)
French (fr)
Inventor
龙长林
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017166613A1 publication Critical patent/WO2017166613A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Definitions

  • the present application relates to the field of smart terminal technologies, and in particular, to a method, device, and electronic device for controlling terminal usage time.
  • the technical problem to be solved by the present application is to overcome the defect that the user in the prior art is indulged in the smart device and is difficult to control automatically, thereby providing a control terminal usage time.
  • a method for controlling a usage time of a terminal includes: detecting a time when the terminal continues to be in a bright screen state; determining whether the time is greater than a predetermined threshold, and initiating an alarm if the determination result is yes. operating.
  • the alarm operation comprises at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, and issuing an alarm prompt sound through the terminal.
  • the alarm operation is to switch the terminal from a bright screen state to a dark screen state
  • the screen brightness of the terminal is gradually decreased until switching To the dark screen state.
  • the terminal maintains a bright screen state in a case where a user touch operation on the screen of the terminal is received.
  • an apparatus for controlling a terminal usage time including: a detecting module, configured to detect a time when the terminal continues to be in a bright screen state; and a startup module, configured to determine whether the time is greater than a predetermined threshold When the judgment result is YES, the alarm operation is started.
  • the alarm operation includes at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, and reporting by the terminal.
  • police alert tone is at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, and reporting by the terminal.
  • the initiating device is further configured to: when the alarm operation is to switch the terminal from a bright screen state to a dark screen state, when determining that the time is greater than the predetermined threshold, the terminal is The brightness of the screen gradually decreases until it switches to the dark state.
  • the device further includes: a receiving module, configured to keep the terminal bright when receiving a touch operation of the screen of the terminal by the user during a process in which the brightness of the screen of the terminal is gradually decreasing Screen status.
  • a receiving module configured to keep the terminal bright when receiving a touch operation of the screen of the terminal by the user during a process in which the brightness of the screen of the terminal is gradually decreasing Screen status.
  • the detecting module is further configured to re-detect a time when the terminal continues to be in a bright screen state after receiving the touch operation.
  • An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: detect a time when the terminal continues to be in a bright screen state; determine whether the time is greater than a predetermined threshold, and if the determination result is yes, Start the alarm operation.
  • the alarm operation comprises at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, and issuing an alarm sound through the terminal .
  • the alarm operation is to switch the terminal from a bright screen state to a dark screen state
  • the screen brightness of the terminal is gradually Decrease until you switch to the dark screen state.
  • the terminal in a process in which the screen brightness of the terminal is gradually decremented, the terminal maintains a bright screen state in a case where a user touches the screen of the terminal.
  • the time when the terminal continues to be in a bright screen state is re-detected.
  • the embodiment of the present application further provides a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: detect that the terminal is continuously The time of the bright screen state; determining whether the time is greater than a predetermined threshold, and if the determination result is YES, starting the alarm operation.
  • the above non-volatile computer storage medium wherein the alarm operation comprises at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, The terminal emits an alarm tone.
  • the above non-volatile computer storage medium wherein, in the case where the alarm operation is to switch the terminal from a bright screen state to a dark screen state, when it is determined that the time is greater than the predetermined threshold, The screen brightness of the terminal gradually decreases until it switches to the dark screen state.
  • the terminal in the case where the user's touch operation on the screen of the terminal is received in the process of gradually decreasing the screen brightness of the terminal, the terminal maintains a bright screen state.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method of any of the preceding claims.
  • the time when the terminal is continuously in the bright screen state is detected; whether the time is greater than the predetermined threshold is determined, and if the determination result is yes, the alarm operation is started.
  • the invention solves the problem that the user is unconsciously indulged in the smart device and is difficult to control automatically in the prior art.
  • the application can control the accumulated time of the mobile game every day, and once the anti-addiction time is reached, an alarm message will be issued to prevent indulging the mobile game.
  • FIG. 1 is a flowchart of a method of controlling a terminal usage time according to an embodiment of the present application
  • FIG. 2 is a structural block diagram of an apparatus for controlling a terminal usage time according to an embodiment of the present application
  • FIG. 3 is another structural block diagram of an apparatus for controlling a terminal usage time according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present application.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • FIG. 1 is a flowchart of a method for controlling the usage time of the terminal according to the embodiment of the present application. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 detecting a time when the terminal continues to be in a bright screen state
  • step S104 it is determined whether the time is greater than a predetermined threshold, and if the determination result is YES, the alarm operation is started.
  • the alarm operation may be to switch the terminal from the bright screen state to the dark screen state, or to display the prompt information in the screen of the terminal, or to issue an alarm prompt sound through the terminal.
  • the alarm operation is to display the prompt information on the screen of the terminal, information indicating whether to maintain the working state of the terminal is displayed.
  • the screen brightness of the terminal when it is determined that the time is greater than the predetermined threshold, the screen brightness of the terminal is gradually decreased until the screen is switched to the dark screen state. .
  • the screen brightness of the terminal when it is determined that the time is greater than a predetermined threshold, the screen brightness of the terminal is instantaneously switched to a dark screen state. The display brightness of the terminal screen reminds the user that the terminal is in a working state for a long time, and does not indulge in the terminal.
  • the terminal in the case of receiving a touch operation of the user's screen on the terminal, the terminal remains in a bright screen state. In this case, it is possible that the user has an important thing that the terminal needs to continue to work, so when receiving the touch operation, the terminal remains in a bright screen state.
  • a device for controlling the usage time of the terminal is provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: a detecting module 22, configured to detect a time when the terminal continues to be in a bright state; and a starting module 24, configured to determine whether the time is greater than a predetermined threshold, and if the determination result is yes, start Alarm operation.
  • the alarm operation comprises at least one of: switching the terminal from the bright screen state to the dark screen state, displaying the prompt information in the screen of the terminal, and issuing an alarm prompt sound through the terminal.
  • the activation device 24 is further configured to: when the alarm operation is to switch the terminal from the bright screen state to the dark screen state, when the time is greater than the predetermined threshold, the screen brightness of the terminal is gradually decreased until the alarm is switched. To the dark screen state.
  • the device further includes: a receiving module 32, configured to screen brightness of the terminal In the process of gradual decrement, when the user receives a touch operation on the screen of the terminal, the terminal is kept in a bright screen state.
  • a receiving module 32 configured to screen brightness of the terminal In the process of gradual decrement, when the user receives a touch operation on the screen of the terminal, the terminal is kept in a bright screen state.
  • the detecting module 22 is further configured to re-detect the time when the terminal continues to be in a bright screen state after receiving the touch operation.
  • an embodiment of the present application further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored
  • An instruction executed by the at least one processor 810 the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to: detect when the terminal continues to be in a bright state; determine the time Whether it is greater than a predetermined threshold, if the judgment result is YES, the alarm operation is started.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
  • the alarm operation includes at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, and transmitting through the terminal Alarm tone.
  • the terminal when it is determined that the time is greater than the predetermined threshold, the terminal is The screen brightness gradually decreases until it switches to the dark screen state.
  • the brightness of the screen of the terminal is gradually decreased.
  • the terminal maintains a bright screen state.
  • the electronic device of this embodiment preferably re-detects the time when the terminal continues to be in a bright screen state after receiving the touch operation.
  • the embodiment of the present application further discloses a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions, when executed by an electronic device, enabling the electronic device to: detect that the terminal continues The time in the bright screen state; determining whether the time is greater than a predetermined threshold, and in the case of the determination result being YES, initiating an alarm operation.
  • the alarm operation includes at least one of: switching the terminal from a bright screen state to a dark screen state, displaying prompt information in a screen of the terminal, An alarm tone is sounded through the terminal.
  • the alarm operation is to switch the terminal from a bright screen state to a dark screen state
  • the time is greater than the predetermined threshold
  • the screen brightness of the terminal is gradually decreased until it is switched to the dark screen state.
  • the terminal keeps a bright screen in the case of receiving a touch operation of the screen of the terminal by the user. status.
  • the non-volatile computer storage medium of the embodiment preferably re-detects the time when the terminal continues to be in a bright screen state after receiving the touch operation.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method described in the above embodiments.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the computer is readable and stored
  • the instructions in the reservoir produce an article of manufacture comprising an instruction device that implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Alarm Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

在智能终端技术领域,提供一种控制终端使用时间的方法、装置和电子设备,其中,该方法包括:检测终端持续处于亮屏状态的时间(S102);判断该时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作(S104)。该方法解决了现有技术中用户无节制的沉迷于智能设备,而难以自控的问题,能够控制每天手机游戏的累积时间,一旦达到防沉迷时间便会发出报警信息,防止沉迷手机游戏。

Description

一种控制终端使用时间的方法、装置和电子设备
交叉引用
本申请要求在2016年03月29日提交中国专利局、申请号为201610187592.1、发明名称为“一种控制终端使用时间的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能终端技术领域,具体涉及一种控制终端使用时间的方法、装置和电子设备。
背景技术
随着移动互联网的发展,通过智能手机/手持数字助理、笔记本电脑和Pad等移动终端接入互联网业务日益普及,给人们提供便利的同时,也霸占了人们的时间。很多人不知不觉地沉迷于手机上的各个应用软件,长时间沉迷于手机不仅浪费了人们宝贵的时间,还会损坏身体健康,导致生理上和心理上的不平衡,严重影响了学习成绩、工作效率与身心的健康成长,视力下降也成为重点关注问题之一。
针对现有技术中,用户无节制的沉迷于智能设备,而难以自控的问题,还未提出有效的解决方案。
发明内容
因此,本申请要解决的技术问题在于克服现有技术中的用户无节制的沉迷于智能设备,而难以自控的缺陷,从而提供了一种控制终端使用时间 的方法、装置和电子设备。
根据本申请的一个方面,提供了一种控制终端使用时间的方法,包括:检测终端持续处于亮屏状态的时间;判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
可选地,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
可选地,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
可选地,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
可选地,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
根据本申请的另一个方面,还提供了一种控制终端使用时间的装置,包括:检测模块,用于检测终端持续处于亮屏状态的时间;启动模块,用于判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
可选地,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报 警提示音。
可选地,所述启动装置还用于在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
可选地,所述装置还包括:接收模块,用于在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,将所述终端保持亮屏状态。
可选地,所述检测模块还用于接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
本申请实施例还提供一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:检测终端持续处于亮屏状态的时间;判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
上述的电子设备,其中,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
上述的电子设备,其中,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
上述的电子设备,其中,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
上述的电子设备,其中,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
本申请实施例还提供一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:检测终端持续处于亮屏状态的时间;判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
上述的非易失性计算机存储介质,其中,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
上述的非易失性计算机存储介质,其中,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
上述的非易失性计算机存储介质,其中,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
上述的非易失性计算机存储介质,其中,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
通过本申请,采用检测终端持续处于亮屏状态的时间;判断该时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。解决了现有技术中用户无节制的沉迷于智能设备,而难以自控的问题,本申请能够控制每天手机游戏的累积时间,一旦达到防沉迷时间便会发出报警信息,防止沉迷手机游戏。
附图说明
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本申请实施例的控制终端使用时间的方法的流程图;
图2是根据本申请实施例的控制终端使用时间的装置的一个结构框图;
图3是根据本申请实施例的控制终端使用时间的装置的另一个结构框图;
图4是本申请实施例的电子设备的硬件结构示意图。
具体实施方式
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
在本实施例中提供了一种控制终端使用时间的方法,图1是根据本申请实施例的控制终端使用时间的方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,检测终端持续处于亮屏状态的时间;
步骤S104,判断该时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
通过上述步骤,在终端持续处于亮屏状态的时间过长的情况下,启动报警操作对用户进行提醒,相比于现有技术中,没有提醒功能,上述步骤解决了现有技术中用户无节制的沉迷于智能设备,而难以自控的问题,能够控制每天手机游戏的累积时间,一旦达到防沉迷时间便会发出报警信息,防止沉迷手机游戏。
上述报警操作可以包括多种方式,下面对此进行举例说明。在一个可选实施例中,报警操作可以是将终端由亮屏状态切换至暗屏状态,也可以是在终端的屏幕中显示提示信息,还可以是通过终端发出报警提示音。例如在该报警操作为在终端的屏幕中显示提示信息的情况下,显示是否保持终端工作状态的信息。
在上述报警操作为将终端由亮屏状态切换至暗屏状态的情况下,在一个可选实施例中,在确定该时间大于预定阈值时,将终端的屏幕亮度逐渐递减直至切换至暗屏状态。在另一个可选实施例中,在确定该时间大于预定阈值时,将终端的屏幕亮度瞬间切换至暗屏状态。通过终端屏幕的显示亮度提醒用户终端持续处于工作状态的时间过长,不要沉迷于终端。
在终端的屏幕亮度逐渐递减的过程中,在一个可选实施例中,接收到用户对终端的屏幕的触摸操作的情况下,终端保持亮屏状态。在这种情况下,可能用户有重要的事情需要终端持续工作,因此在接收到该触摸操作时,终端保持亮屏状态。
在一个可选实施例中,接收到上述触摸操作之后,重新检测终端持续处于亮屏状态的时间,以便于进入下一个周期的判断。
实施例2
在本实施例中还提供了一种控制终端使用时间的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
如图2所示,该装置包括:检测模块22,用于检测终端持续处于亮屏状态的时间;启动模块24,用于判断该时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
可选地,报警操作包括以下至少之一:将终端由亮屏状态切换至暗屏状态、在终端的屏幕中显示提示信息、通过终端发出报警提示音。
可选地,启动装置24还用于在该报警操作为将该终端由亮屏状态切换至暗屏状态的情况下,在确定该时间大于该预定阈值时,将终端的屏幕亮度逐渐递减直至切换至暗屏状态。
如图3所示,该装置还包括:接收模块32,用于在终端的屏幕亮度逐 渐递减的过程中,接收到用户对该终端的屏幕的触摸操作的情况下,将该终端保持亮屏状态。
可选地,检测模块22还用于接收到该触摸操作之后,重新检测终端持续处于亮屏状态的时间。
实施例3
如图4所示,本申请实施例又公开了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:检测终端持续处于亮屏状态的时间;判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的电子设备,优选地,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
本实施例的电子设备,优选地,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
本实施例的电子设备,优选地,在所述终端的屏幕亮度逐渐递减的过 程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
本实施例的电子设备,优选地,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
实施例4
本申请实施例还公开了一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:检测终端持续处于亮屏状态的时间;判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
本实施例的非易失性计算机存储介质,优选地,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
本实施例的非易失性计算机存储介质,优选地,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
本实施例的非易失性计算机存储介质,优选地,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
本实施例的非易失性计算机存储介质,优选地,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
实施例5
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本申请创造的保护范围之中。

Claims (21)

  1. 一种控制终端使用时间的方法,其特征在于,包括:
    检测终端持续处于亮屏状态的时间;
    判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
  2. 根据权利要求1所述的方法,其特征在于,所述报警操作包括以下至少之一:
    将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
  3. 根据权利要求2所述的方法,其特征在于,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
  4. 根据权利要求3所述的方法,其特征在于,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
  5. 根据权利要求4所述的方法,其特征在于,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
  6. 一种控制终端使用时间的装置,其特征在于,包括:
    检测模块,用于检测终端持续处于亮屏状态的时间;
    启动模块,用于判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
  7. 根据权利要求6所述的装置,其特征在于,所述报警操作包括以下至少之一:
    将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
  8. 根据权利要求7所述的装置,其特征在于,所述启动装置还用于在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:
    接收模块,用于在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,将所述终端保持亮屏状态。
  10. 根据权利要求9所述的装置,其特征在于,所述检测模块还用于接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
  11. 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    检测终端持续处于亮屏状态的时间;
    判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报警操作。
  12. 根据权利要求11所述的电子设备,其特征在于,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
  13. 根据权利要求12所述的电子设备,其特征在于,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
  14. 根据权利要求13所述的电子设备,其特征在于,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
  15. 根据权利要求14所述的电子设备,其特征在于,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
  16. 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:
    检测终端持续处于亮屏状态的时间;
    判断所述时间是否大于预定阈值,在判断结果为是的情况下,启动报 警操作。
  17. 根据权利要求16所述的非易失性计算机存储介质,其特征在于,所述报警操作包括以下至少之一:将所述终端由亮屏状态切换至暗屏状态、在所述终端的屏幕中显示提示信息、通过所述终端发出报警提示音。
  18. 根据权利要求17所述的非易失性计算机存储介质,其特征在于,在所述报警操作为将所述终端由亮屏状态切换至暗屏状态的情况下,在确定所述时间大于所述预定阈值时,将所述终端的屏幕亮度逐渐递减直至切换至暗屏状态。
  19. 根据权利要求18所述的非易失性计算机存储介质,其特征在于,在所述终端的屏幕亮度逐渐递减的过程中,接收到用户对所述终端的屏幕的触摸操作的情况下,所述终端保持亮屏状态。
  20. 根据权利要求19所述的非易失性计算机存储介质,其特征在于,接收到所述触摸操作之后,重新检测所述终端持续处于亮屏状态的时间。
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
PCT/CN2016/096530 2016-03-29 2016-08-24 一种控制终端使用时间的方法、装置和电子设备 WO2017166613A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610187592.1A CN105868074A (zh) 2016-03-29 2016-03-29 一种控制终端使用时间的方法及装置
CN201610187592.1 2016-03-29

Publications (1)

Publication Number Publication Date
WO2017166613A1 true WO2017166613A1 (zh) 2017-10-05

Family

ID=56625256

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096530 WO2017166613A1 (zh) 2016-03-29 2016-08-24 一种控制终端使用时间的方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN105868074A (zh)
WO (1) WO2017166613A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111905374A (zh) * 2020-08-07 2020-11-10 闻泰通讯股份有限公司 游戏时长管理方法、装置、设备和存储介质
CN112370792A (zh) * 2020-11-13 2021-02-19 腾讯科技(深圳)有限公司 防沉迷方法、装置、服务器和存储介质
CN114020341A (zh) * 2021-11-04 2022-02-08 艾体威尔电子技术(北京)有限公司 一种基于安卓操作系统的暗屏待机方法
CN114167164A (zh) * 2021-11-11 2022-03-11 潍柴动力股份有限公司 高边供电检测方法、装置、电子设备和存储介质
CN114330769A (zh) * 2021-12-24 2022-04-12 深圳优地科技有限公司 一种机器人故障预警方法、装置、机器人以及服务器

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868074A (zh) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 一种控制终端使用时间的方法及装置
CN106844174B (zh) * 2017-01-17 2020-09-29 河南工业大学 限制连续使用单个电子设备时间的方法及系统
CN107481694A (zh) * 2017-09-29 2017-12-15 上海展扬通信技术有限公司 一种用于智能设备的显示屏幕的调节方法及调节装置
CN107622747B (zh) * 2017-09-29 2022-11-04 上海展扬通信技术有限公司 一种用于智能设备的显示屏幕的调节方法及调节装置
CN109614827B (zh) * 2018-11-27 2020-06-02 维沃移动通信有限公司 移动终端的控制方法和移动终端
CN110830660A (zh) * 2019-12-05 2020-02-21 四川长虹网络科技有限责任公司 基于手机息屏状态的手机过度使用提醒方法
CN111290926A (zh) * 2020-03-09 2020-06-16 Oppo广东移动通信有限公司 终端的提示方法、装置、存储介质以及终端

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442127A (zh) * 2013-08-05 2013-12-11 广东欧珀移动通信有限公司 一种主动保护视力的方法及移动终端
US20140022223A1 (en) * 2012-07-20 2014-01-23 Euijung JUNG Mobile terminal and method of controlling a mobile terminal
CN104333658A (zh) * 2014-10-24 2015-02-04 安易讯科技(大连)有限公司 智能手机视力保护系统
CN104503683A (zh) * 2014-12-01 2015-04-08 小米科技有限责任公司 保护视力的方法及装置
CN104915278A (zh) * 2014-03-14 2015-09-16 小米科技有限责任公司 应用的控制方法及装置
CN105100418A (zh) * 2015-05-28 2015-11-25 努比亚技术有限公司 一种实现提醒的方法和装置
CN105868074A (zh) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 一种控制终端使用时间的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140022223A1 (en) * 2012-07-20 2014-01-23 Euijung JUNG Mobile terminal and method of controlling a mobile terminal
CN103442127A (zh) * 2013-08-05 2013-12-11 广东欧珀移动通信有限公司 一种主动保护视力的方法及移动终端
CN104915278A (zh) * 2014-03-14 2015-09-16 小米科技有限责任公司 应用的控制方法及装置
CN104333658A (zh) * 2014-10-24 2015-02-04 安易讯科技(大连)有限公司 智能手机视力保护系统
CN104503683A (zh) * 2014-12-01 2015-04-08 小米科技有限责任公司 保护视力的方法及装置
CN105100418A (zh) * 2015-05-28 2015-11-25 努比亚技术有限公司 一种实现提醒的方法和装置
CN105868074A (zh) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 一种控制终端使用时间的方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111905374A (zh) * 2020-08-07 2020-11-10 闻泰通讯股份有限公司 游戏时长管理方法、装置、设备和存储介质
CN112370792A (zh) * 2020-11-13 2021-02-19 腾讯科技(深圳)有限公司 防沉迷方法、装置、服务器和存储介质
CN114020341A (zh) * 2021-11-04 2022-02-08 艾体威尔电子技术(北京)有限公司 一种基于安卓操作系统的暗屏待机方法
CN114167164A (zh) * 2021-11-11 2022-03-11 潍柴动力股份有限公司 高边供电检测方法、装置、电子设备和存储介质
CN114330769A (zh) * 2021-12-24 2022-04-12 深圳优地科技有限公司 一种机器人故障预警方法、装置、机器人以及服务器

Also Published As

Publication number Publication date
CN105868074A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017166613A1 (zh) 一种控制终端使用时间的方法、装置和电子设备
US10261475B1 (en) Smart watch extended system
US9196139B2 (en) Proximity tag for object tracking
JP6014248B2 (ja) 電源オフ状態におけるアラーム実現方法、モバイル端末、プログラム及び記録媒体
US20150126234A1 (en) User interface for object tracking
JP2017517708A (ja) エアコン起動方法、エアコン起動装置、コンピュータプログラム及びコンピュータ読み取り可能な記憶媒体
WO2017166617A1 (zh) 一种终端控制方法、装置和电子设备
WO2015089982A1 (zh) 消息提醒方法、装置和电子设备
US20160007290A1 (en) Method and apparatus for notifying missed events
CN107343096B (zh) 信息提醒方法、装置、存储介质及电子设备
WO2022068332A1 (zh) 睡眠监测方法、装置、电子设备及计算机可读介质
JP2014508434A (ja) 携帯用電子機器のバッテリー寿命延長
WO2017045533A1 (zh) 在应用程序的预设界面显示用户设备状态的方法和装置
CN104978025B (zh) 一种信息提示的方法及终端
WO2017161836A1 (zh) 一种利用闹钟进行音量提示的方法、装置、手机和电子设备
CN104469659A (zh) 一种基于蓝牙外设的终端提醒方法和系统
CN103685763A (zh) 一种消息处理方法及终端
KR102130615B1 (ko) 알람 설정 방법 및 장치
WO2017028450A1 (zh) 关机提醒方法及装置
CN103491249A (zh) 一种移动终端闹钟提醒取消方法及移动终端
CN106540367B (zh) 睡眠管理方法和智能手环
CN105516488A (zh) 信息提醒方法、信息提醒装置和终端
CN111290926A (zh) 终端的提示方法、装置、存储介质以及终端
TWI719026B (zh) 使用控制方法、系統及電子設備
WO2017166749A1 (zh) 一种屏幕转动方法、装置和电子设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896385

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896385

Country of ref document: EP

Kind code of ref document: A1