WO2018058830A1 - Timing method and device for timer - Google Patents

Timing method and device for timer Download PDF

Info

Publication number
WO2018058830A1
WO2018058830A1 PCT/CN2016/112687 CN2016112687W WO2018058830A1 WO 2018058830 A1 WO2018058830 A1 WO 2018058830A1 CN 2016112687 W CN2016112687 W CN 2016112687W WO 2018058830 A1 WO2018058830 A1 WO 2018058830A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
timing
timer
task
sleep
Prior art date
Application number
PCT/CN2016/112687
Other languages
French (fr)
Chinese (zh)
Inventor
金明水
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2018058830A1 publication Critical patent/WO2018058830A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4825Interrupt from clock, e.g. time of day

Definitions

  • the present invention relates to the field of timer technologies, and in particular, to a timing method and apparatus for a timer.
  • timers With the rapid development of science and technology, more and more intelligent systems, the use of timers can be seen everywhere.
  • the timer makes a lot of work that requires control time much simpler. People also use the timer in various fields, such as software systems, which can send signaling at regular intervals. Therefore, the reliability of the timer is an important factor. If the reliability of the timing is not guaranteed, the expected task will not be executed, causing serious consequences.
  • the Timer timer is used in the logic processing, and the reference time is the current system time, that is, System.currentTimeMillis(). If this system time is subsequently modified by some processes to other values, it will result in periodic The device fails, the expected target is not achieved, and the timer reliability is poor.
  • the main purpose of the present invention is to effectively improve the reliability of the timer by modifying the processing logic of the timer.
  • the present invention provides a timing method for a timer, including:
  • the timing mode includes a sleep time and a timing mode that does not include a sleep time.
  • the method further comprises:
  • the sleep time includes the Sleep time, and the control timer keeps timing while the system is in standby;
  • the sleep time is not included in the chronograph time.
  • the control timer pauses and continues to time after the system wakes up.
  • the starting time is determined by using the boot time as a reference time, and after determining whether the set time is reached, the method further includes:
  • the waiting time is the difference between the set time and the current system boot time.
  • the method further includes:
  • the determining whether the set time arrives comprises:
  • the timer starts timing according to the timing task, and calculates a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, it determines that the set time arrives.
  • the method further includes:
  • the timing starts with the current boot time, and after the timer counts the task time, it is judged that the set time has arrived.
  • the method further includes:
  • the difference between the current boot time and the task start time is calculated. If the difference corresponds to the scheduled task time, it is determined that the set time arrives.
  • the present invention further provides a timer timing device, including:
  • the obtaining module is configured to obtain a current boot time of the system when receiving the scheduled task
  • a judging module configured to start timing with the boot time as a reference time, and determine whether the set time arrives;
  • an execution module configured to perform a task corresponding to the timed task if the set time arrives.
  • the timing mode includes a sleep time and a timing mode that does not include a sleep time.
  • the method further comprises:
  • the setting module is configured to include a Sleep time at the time of the control, and the control timer keeps the time while the system is in the standby state; and is also used to not include the Sleep time at the time of the time, and the control timer is suspended when the system is in the standby state, and the system is suspended in the system. After waking up, continue to time.
  • the determining module is further configured to continue to follow the set time when the set task time has not arrived, and the waiting time is a difference between the set time and the current system boot time.
  • the setting module is further configured to receive a timing setting instruction, and set whether the timing time includes a sleep time according to the setting instruction.
  • the determining module is further configured to: when the timer starts timing according to the timing task, calculate a difference between the current boot time and the task start time, and if the difference corresponds to the scheduled task time, determine that the set time arrives.
  • the determining module is further configured to start timing with a current boot time, and determine that the set time has arrived after the timer counts the task time.
  • the determining module is further configured to calculate a difference between the current boot time and the task start time according to the timing of the scheduled task, and if the difference corresponds to the scheduled task time, determine that the set time arrives.
  • the present invention When receiving the timed task, acquires the current boot time of the system; starts timing with the boot time as a reference time, and determines whether the set time arrives; if the set time arrives, performs corresponding to the timed task task.
  • the timing processing logic of the timer By modifying the timing processing logic of the timer, the reliability of the timer is effectively improved.
  • FIG. 1 is a schematic flow chart of a first embodiment of a timer counting method according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a timer counting method according to the present invention.
  • FIG. 3 is a schematic flow chart of a third embodiment of a timer counting method according to the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a timer device of the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a second embodiment of a timer device of the present invention.
  • the main solution of the embodiment of the present invention is: when the timed task is received, the current boot time of the system is obtained; the boot time is used as the reference time to start timing, and it is determined whether the set time arrives; if the set time arrives, Performing tasks corresponding to the scheduled tasks. Effectively avoiding the reliability of existing timers is not guaranteed, resulting in expected task execution errors, which will have serious consequences. By modifying the timing processing logic of the timer, the reliability of the timer is effectively improved.
  • the present invention provides a timing method for a timer.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a timer counting method according to the present invention.
  • the method comprises:
  • step S1 when the timed task is received, the current boot time of the system is obtained
  • the boot time of the current system is obtained, and the receiving timing task is input by a user from the current timer on a timer, or input by a hardware device associated with the timer.
  • the boot time of the current system is the system boot time of the software system built in the timer, or the system boot time of the external hardware device associated with the timer, and the system boot time is used as the timer timing reference to avoid the occurrence of the timer. Timing deviation.
  • Step S2 starting with the boot time as a reference time, and determining whether the set time has arrived;
  • the boot time is used as the reference time to start the timer task, and it is determined whether the set timer task time has arrived. Whether the task time of the judgment timer arrives, the time starts with the current boot time, and after the timer time meets the task time, it is determined that the set time has arrived.
  • the determining whether the set time reaches or not includes:
  • the timer starts timing according to the timing task, and calculates a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, it determines that the set time arrives.
  • the timer is started.
  • the timer is started based on the current boot time.
  • the timer determines whether the timer task is completed according to the current boot time.
  • the current boot time and the boot time of the timer timer are started. If the difference is equal to the task time, it is judged that the set timer task time has arrived.
  • step S3 if the set time arrives, the task corresponding to the timed task is executed.
  • the task time set by the timer arrives, and the task content corresponding to the timed task is executed, and the task content corresponding to the timed task is user-defined content.
  • the timer is used to determine whether the set time is reached by using the boot time of the system.
  • the reliability of the timer is effectively improved.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a timer counting method according to the present invention.
  • the method further includes:
  • step S4 if the set task time has not arrived, the time is continued according to the set time, and the waiting time is the difference between the set time and the current system boot time.
  • the time operation of the task time is continued, and the difference between the length of the task time and the boot time of the current system is left in the timer task time. The timing of the time.
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for timing a timer according to the present invention. The method further includes:
  • step S5 the sleep time is included in the time, and the control timer is kept in time while the system is in standby;
  • the timer starts to enter the standby state of the task timing. In order to receive the timer task, you can enter the timing state at any time. Before the timer starts counting, check whether the thread sleep time (ie sleep time) is included. If the timer time setting includes the sleep time, the timer is still in the working state when the current system is in standby. System, the system used by the hardware where the timer is located, or the system of hardware devices associated with the timer.
  • step S6 the sleep time is not included in the timeout period, and when the system is in standby, the control timer is paused, and after the system wakes up, the timer is continued;
  • the timer Before the timer starts to time the task, check whether the thread sleep time (ie sleep time) is included. If the timer time setting does not include the sleep time, the timer is also paused when the current system is in standby, waiting for the current system. After stopping sleep and being woken up, the timer continues to perform timing operations.
  • the thread sleep time ie sleep time
  • Step S7 after the timer receives the time task, if the timer mode is to be set, the timer setting instruction is sent to the timer, and after the timer receives the timing setting instruction, the timer is set according to the content of the timing setting instruction.
  • the timing mode is divided into two types, that is, including sleep time and not including sleep time.
  • the execution body of the timer counting method of the above first to third embodiments may be a timer device or other electronic device connected to the timer device. Further, the timing method of the timer may be implemented by a system installed on a hardware device with a built-in timer function or other electronic device associated with a timer, including but not limited to a mobile phone, a pad, a notebook computer, or the like.
  • the invention further provides a timer device for a timer.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a timer device of the present invention.
  • the device includes: an obtaining module 10, a determining module 20, and an executing module 30.
  • the obtaining module 10 is configured to obtain a current boot time of the system when receiving the scheduled task;
  • the boot time of the current system is obtained, and the receiving timing task is input by a user from the current timer on a timer, or input by a hardware device associated with the timer.
  • the boot time of the current system is the system boot time of the software system built in the timer, or the system boot time of the external hardware device associated with the timer, and the system boot time is used as the timer timing reference to avoid the occurrence of the timer. Timing deviation.
  • the determining module 20 is configured to start timing with the boot time as a reference time, and determine whether the set time arrives;
  • the boot time is used as the reference time to start the timer task, and it is determined whether the set timer task time has arrived. Whether the task time of the judgment timer arrives, the time starts with the current boot time, and after the timer time meets the task time, it is determined that the set time has arrived.
  • the determining whether the set time reaches or not includes:
  • the determining module 20 is further configured to start a timer according to the timing task, and calculate a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, determine that the set time arrives.
  • the timer is started.
  • the timer is started based on the current boot time.
  • the timer determines whether the timer task is completed according to the current boot time.
  • the current boot time and the boot time of the timer timer are started. If the difference is equal to the task time, it is judged that the set timer task time has arrived.
  • the executing module 30 is configured to execute a task corresponding to the timing task if the set time arrives.
  • the task time set by the timer arrives, and the task content corresponding to the timed task is executed, and the task content corresponding to the timed task is user-defined content.
  • the timer is used to determine whether the set time is reached by using the boot time of the system.
  • the reliability of the timer is effectively improved.
  • the method further includes:
  • the determining module 20 is further configured to continue to follow the set time when the set task time has not arrived, and the waiting time is the difference between the set time and the current system boot time.
  • the time operation of the task time is continued, and the difference between the length of the task time and the boot time of the current system is left in the timer task time. The timing of the time.
  • FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of a timer device of the present invention.
  • the method further includes: setting the module 40.
  • the setting module 40 is configured to include a Sleep time in the timing time, and the control timer keeps timing when the system is in the standby state;
  • the timer starts to enter the standby state of the task timing. In order to receive the timer task, you can enter the timing state at any time. Before the timer starts counting, check whether the thread sleep time (ie sleep time) is included. If the timer time setting includes the sleep time, the timer is still in the working state when the current system is in standby. System, the system used by the hardware where the timer is located, or the system of hardware devices associated with the timer.
  • the setting module 40 is further configured to not include the Sleep time in the timing time, control the timer to pause the timing when the system is in the standby state, and continue timing after the system wakes up.
  • the timer Before the timer starts to time the task, check whether the thread sleep time (ie sleep time) is included. If the timer time setting does not include the sleep time, the timer is also paused when the current system is in standby, waiting for the current system. After stopping sleep and being woken up, the timer continues to perform timing operations.
  • the thread sleep time ie sleep time
  • the method further includes:
  • the setting module 40 is further configured to receive a timing setting instruction, and set whether the timing time includes a sleep time according to the setting instruction.
  • the timer After the timer receives the time task, if the timer is set to the timer, the timer setting command is sent to the timer. After the timer receives the timing setting command, the timer is set according to the content of the timing setting command.
  • timing methods including sleep time and sleep time.

Abstract

Provided are a timing method and device for a timer. The timing method comprises: upon receiving a scheduled task, acquiring a current boot time of a system (S1); taking the boot time as a reference time to start timing, and determining whether a set time is reached (S2); and if so, executing a task corresponding to the scheduled task (S3). In the above timing method and device, a timing processing logic is modified to effectively improve reliability of a timer.

Description

定时器的计时方法和装置  Timing method and device for timer
技术领域Technical field
本发明涉及定时器技术领域,尤其涉及一种定时器的计时方法和装置。The present invention relates to the field of timer technologies, and in particular, to a timing method and apparatus for a timer.
背景技术Background technique
伴随着科学技术的快速发展,智能系统越来越多,对定时器的使用也随处可见。定时器使相当多需要控制时间的工作变得简单了许多,人们也将定时器用在了各个领域,如软件系统里,可定时发送信令等。所以,定时器的可靠性是重要之重,如果定时的可靠性得不到保障,会导致预期任务得不到执行,造成严重的后果。With the rapid development of science and technology, more and more intelligent systems, the use of timers can be seen everywhere. The timer makes a lot of work that requires control time much simpler. People also use the timer in various fields, such as software systems, which can send signaling at regular intervals. Therefore, the reliability of the timer is an important factor. If the reliability of the timing is not guaranteed, the expected task will not be executed, causing serious consequences.
当前的Android系统以及Java系统,Timer定时器在逻辑处理中,采用的基准时间为当前系统时间,即System.currentTimeMillis(),如果此系统时间随后被某些进程修改为其他值,则会导致定期器失效,达不到预期目标,定时器可靠性差。In the current Android system and the Java system, the Timer timer is used in the logic processing, and the reference time is the current system time, that is, System.currentTimeMillis(). If this system time is subsequently modified by some processes to other values, it will result in periodic The device fails, the expected target is not achieved, and the timer reliability is poor.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明的主要目的在于通过修改定时器的处理逻辑,有效的提高定时器的可靠性。The main purpose of the present invention is to effectively improve the reliability of the timer by modifying the processing logic of the timer.
为实现上述目的,本发明提供的一种定时器的计时方法,包括:To achieve the above objective, the present invention provides a timing method for a timer, including:
接收到定时任务时,获取系统当前的boot时间;Get the current boot time of the system when receiving the scheduled task;
以所述boot时间为基准时间开始计时,判断设定的时间是否到达;Starting with the boot time as a reference time, determining whether the set time has arrived;
若设定的时间到达,则执行与所述定时任务相应的任务。If the set time arrives, a task corresponding to the timed task is executed.
优选地,计时方式包括sleep时间和不包括sleep时间的计时方式。Preferably, the timing mode includes a sleep time and a timing mode that does not include a sleep time.
优选地,还包括:Preferably, the method further comprises:
在计时时间包括Sleep时间,在系统处于待机时,控制计时器保持计时;The sleep time includes the Sleep time, and the control timer keeps timing while the system is in standby;
在计时时间不包括Sleep时间,在系统处于待机时,控制计时器暂停计时,并在系统唤醒后,继续计时。The sleep time is not included in the chronograph time. When the system is in standby, the control timer pauses and continues to time after the system wakes up.
优选地,所述以所述boot时间为基准时间开始计时,判断设定的时间是否到达之后,还包括:Preferably, the starting time is determined by using the boot time as a reference time, and after determining whether the set time is reached, the method further includes:
若设定的任务时间未到达,则继续按照设定时间计时,所需等待的时间为设定时间距离当前系统boot时间的差值。If the set task time has not arrived, it will continue to count according to the set time. The waiting time is the difference between the set time and the current system boot time.
优选地,所述方法还包括:Preferably, the method further includes:
接收计时设置指令,根据设置指令设置计时时间是否包括Sleep时间。Receive timing setting command, and set whether the timing time includes Sleep time according to the setting instruction.
优选地,所述判断设定的时间是否到达包括:Preferably, the determining whether the set time arrives comprises:
定时器根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。The timer starts timing according to the timing task, and calculates a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, it determines that the set time arrives.
优选地,所述若设定的时间到达,则执行与所述定时任务相应的任务之前,还包括:Preferably, if the set time arrives, before performing the task corresponding to the timed task, the method further includes:
以当前boot时间开始计时,并在定时器计时满足任务时间后,判断设定的时间已经到达。The timing starts with the current boot time, and after the timer counts the task time, it is judged that the set time has arrived.
优选地,所述若设定的时间到达,则执行与所述定时任务相应的任务之前,还包括:Preferably, if the set time arrives, before performing the task corresponding to the timed task, the method further includes:
根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。According to the timing of the timing task, the difference between the current boot time and the task start time is calculated. If the difference corresponds to the scheduled task time, it is determined that the set time arrives.
此外,为实现上述目的,本发明还提供一种定时器的计时装置,包括:In addition, in order to achieve the above object, the present invention further provides a timer timing device, including:
获取模块,用于接收到定时任务时,获取系统当前的boot时间;The obtaining module is configured to obtain a current boot time of the system when receiving the scheduled task;
判断模块,用于以所述boot时间为基准时间开始计时,判断设定的时间是否到达;a judging module, configured to start timing with the boot time as a reference time, and determine whether the set time arrives;
执行模块,用于若设定的时间到达,则执行与所述定时任务相应的任务。And an execution module, configured to perform a task corresponding to the timed task if the set time arrives.
优选地,计时方式包括sleep时间和不包括sleep时间的计时方式。Preferably, the timing mode includes a sleep time and a timing mode that does not include a sleep time.
优选地,还包括:Preferably, the method further comprises:
设置模块,用于在计时时间包括Sleep时间,在系统处于待机时,控制计时器保持计时;还用于在计时时间不包括Sleep时间,在系统处于待机时,控制计时器暂停计时,并在系统唤醒后,继续计时。The setting module is configured to include a Sleep time at the time of the control, and the control timer keeps the time while the system is in the standby state; and is also used to not include the Sleep time at the time of the time, and the control timer is suspended when the system is in the standby state, and the system is suspended in the system. After waking up, continue to time.
优选地,所述判断模块,还用于若设定的任务时间未到达,则继续按照设定时间计时,所需等待的时间为设定时间距离当前系统boot时间的差值。Preferably, the determining module is further configured to continue to follow the set time when the set task time has not arrived, and the waiting time is a difference between the set time and the current system boot time.
优选地,所述设置模块,还用于接收计时设置指令,根据设置指令设置计时时间是否包括sleep时间。Preferably, the setting module is further configured to receive a timing setting instruction, and set whether the timing time includes a sleep time according to the setting instruction.
优选地,所述判断模块,还用于定时器根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。Preferably, the determining module is further configured to: when the timer starts timing according to the timing task, calculate a difference between the current boot time and the task start time, and if the difference corresponds to the scheduled task time, determine that the set time arrives.
优选地,所述判断模块,还用于以当前boot时间开始计时,并在定时器计时满足任务时间后,判断设定的时间已经到达。Preferably, the determining module is further configured to start timing with a current boot time, and determine that the set time has arrived after the timer counts the task time.
优选地,所述判断模块,还用于根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。Preferably, the determining module is further configured to calculate a difference between the current boot time and the task start time according to the timing of the scheduled task, and if the difference corresponds to the scheduled task time, determine that the set time arrives.
本发明接收到定时任务时,获取系统当前的boot时间;以所述boot时间为基准时间开始计时,判断设定的时间是否到达;若设定的时间到达,则执行与所述定时任务相应的任务。通过修改定时器的计时处理逻辑,有效的提高定时器的可靠性。When receiving the timed task, the present invention acquires the current boot time of the system; starts timing with the boot time as a reference time, and determines whether the set time arrives; if the set time arrives, performs corresponding to the timed task task. By modifying the timing processing logic of the timer, the reliability of the timer is effectively improved.
附图说明DRAWINGS
图1为本发明定时器的计时方法的第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a timer counting method according to the present invention;
图2为本发明定时器的计时方法的第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a timer counting method according to the present invention;
图3为本发明定时器的计时方法的第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of a timer counting method according to the present invention;
图4为本发明定时器的计时装置的第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of a timer device of the present invention;
图5为本发明定时器的计时装置的第二实施例的功能模块示意图。FIG. 5 is a schematic diagram of functional modules of a second embodiment of a timer device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:接收到定时任务时,获取系统当前的boot时间;以所述boot时间为基准时间开始计时,判断设定的时间是否到达;若设定的时间到达,则执行与所述定时任务相应的任务。有效避免现有定时器可靠性得不到保障,导致的预期任务执行出错,会造成严重的后果。通过修改定时器的计时处理逻辑,有效的提高定时器的可靠性。The main solution of the embodiment of the present invention is: when the timed task is received, the current boot time of the system is obtained; the boot time is used as the reference time to start timing, and it is determined whether the set time arrives; if the set time arrives, Performing tasks corresponding to the scheduled tasks. Effectively avoiding the reliability of existing timers is not guaranteed, resulting in expected task execution errors, which will have serious consequences. By modifying the timing processing logic of the timer, the reliability of the timer is effectively improved.
由于现有定时器可靠性得不到保障,导致的预期任务执行出错,会造成严重的后果。Due to the unreliable reliability of the existing timers, the expected task execution is wrong, which will have serious consequences.
基于上述问题,本发明提供一种定时器的计时方法。Based on the above problems, the present invention provides a timing method for a timer.
参照图1,图1为本发明定时器的计时方法的第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a timer counting method according to the present invention.
在一实施例中,所述方法包括:In an embodiment, the method comprises:
步骤S1,接收到定时任务时,获取系统当前的boot时间;In step S1, when the timed task is received, the current boot time of the system is obtained;
在定时器接收到定时任务时,获取当前系统的boot时间,所述接收定时任务,来自当前定时器的用户在定时器上的任务输入,或由定时器关联的硬件设备进行输入。所述当前系统的boot时间,为将定时器内置的软件系统的系统开机时间,或者与定时器关联的外接硬件设备的系统开机时间,以系统开机时间作为定时器定时基准,避免定时器出现的计时偏差。When the timer receives the timing task, the boot time of the current system is obtained, and the receiving timing task is input by a user from the current timer on a timer, or input by a hardware device associated with the timer. The boot time of the current system is the system boot time of the software system built in the timer, or the system boot time of the external hardware device associated with the timer, and the system boot time is used as the timer timing reference to avoid the occurrence of the timer. Timing deviation.
步骤S2,以所述boot时间为基准时间开始计时,判断设定的时间是否到达;Step S2, starting with the boot time as a reference time, and determining whether the set time has arrived;
根据获取到的boot时间,以boot时间为基准时间使定时器开始计时任务,判断设定的定时器任务的时间是否已到达。所述判断定时器的任务时间是否到达,以当前boot时间开始计时,并在定时器计时满足任务时间后,判断设定的时间已经到达。According to the obtained boot time, the boot time is used as the reference time to start the timer task, and it is determined whether the set timer task time has arrived. Whether the task time of the judgment timer arrives, the time starts with the current boot time, and after the timer time meets the task time, it is determined that the set time has arrived.
具体的,所述判断设定的时间是否到达包括:Specifically, the determining whether the set time reaches or not includes:
定时器根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。The timer starts timing according to the timing task, and calculates a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, it determines that the set time arrives.
定时器的定时任务开启,以当前的boot时间为基准开始计时,定时器在计时任务中,根据当前boot时间确定定时器的计时任务是否完成,计算当前boot时间与定时器计时任务开启的boot时间的差值,若该差值与任务时间相等,则判断设定的定时器任务时间已经到达。The timer is started. The timer is started based on the current boot time. The timer determines whether the timer task is completed according to the current boot time. The current boot time and the boot time of the timer timer are started. If the difference is equal to the task time, it is judged that the set timer task time has arrived.
步骤S3,若设定的时间到达,则执行与所述定时任务相应的任务。In step S3, if the set time arrives, the task corresponding to the timed task is executed.
定时器设置的任务时间到达,执行与所述定时任务相应的任务内容,所述的定时任务相应的任务内容,为用户自定义的内容。The task time set by the timer arrives, and the task content corresponding to the timed task is executed, and the task content corresponding to the timed task is user-defined content.
本实施例通过定时器使用系统的boot时间判断设定时间是否到达,通过修改定时器的处理逻辑,有效的提高了定时器的可靠性。In this embodiment, the timer is used to determine whether the set time is reached by using the boot time of the system. By modifying the processing logic of the timer, the reliability of the timer is effectively improved.
参照图2,图2为本发明定时器的计时方法的第二实施例的流程示意图。基于上述方法的第一实施例,所述以所述boot时间为基准时间开始计时,判断设定的时间是否到达之后,还包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a second embodiment of a timer counting method according to the present invention. According to the first embodiment of the foregoing method, after the boot time is used as the reference time, and the determined time is reached, the method further includes:
步骤S4,若设定的任务时间未到达,则继续按照设定时间计时,所需等待的时间为设定时间距离当前系统boot时间的差值。In step S4, if the set task time has not arrived, the time is continued according to the set time, and the waiting time is the difference between the set time and the current system boot time.
在定时器时间任务的计时过程中,若设定的任务时间未到达,则继续任务时间的计时操作,按照任务时间的长短,与当前系统的boot时间的差值,为定时器任务时间所剩下的计时时间。During the timing of the timer time task, if the set task time has not arrived, the time operation of the task time is continued, and the difference between the length of the task time and the boot time of the current system is left in the timer task time. The timing of the time.
参照图3,图3为本发明定时器的计时方法的第三实施例的流程示意图,基于上述方法的第一、二实施例,所述方法还包括:Referring to FIG. 3, FIG. 3 is a schematic flowchart of a third embodiment of a method for timing a timer according to the present invention. The method further includes:
步骤S5,在计时时间包括Sleep时间,在系统处于待机时,控制计时器保持计时;In step S5, the sleep time is included in the time, and the control timer is kept in time while the system is in standby;
定时器开始进入任务计时的待机状态, 以便接收到定时器任务后,随时进入计时状态中。在计时器开始计时之前,检查是否包含了线程休眠时间(即sleep时间),若计时器的计时工作中设置包含了sleep时间,则当前系统处于待机时,定时器依旧还处于工作状态,所述系统,为定时器所在的硬件所使用的系统,或者为定时器所关联的硬件设备的系统。The timer starts to enter the standby state of the task timing. In order to receive the timer task, you can enter the timing state at any time. Before the timer starts counting, check whether the thread sleep time (ie sleep time) is included. If the timer time setting includes the sleep time, the timer is still in the working state when the current system is in standby. System, the system used by the hardware where the timer is located, or the system of hardware devices associated with the timer.
步骤S6,在计时时间不包括Sleep时间,在系统处于待机时,控制计时器暂停计时,并在系统唤醒后,继续计时;In step S6, the sleep time is not included in the timeout period, and when the system is in standby, the control timer is paused, and after the system wakes up, the timer is continued;
在计时器开始计时任务之前,检查是否包含了线程休眠时间(即sleep时间),若计时器的计时工作中设置不包含sleep时间,则当前系统处于待机时,定时器也暂停计时,待当前系统停止休眠被唤醒后,定时器继续执行计时操作。Before the timer starts to time the task, check whether the thread sleep time (ie sleep time) is included. If the timer time setting does not include the sleep time, the timer is also paused when the current system is in standby, waiting for the current system. After stopping sleep and being woken up, the timer continues to perform timing operations.
进一步的,还包括:Further, it also includes:
接收计时设置指令,根据设置指令设置计时时间是否包括Sleep时间。Receive timing setting command, and set whether the timing time includes Sleep time according to the setting instruction.
步骤S7,在定时器接收到时间任务后,若要对定时器设置计时方式,则向定时器发送计时设置指令,定时器接收到计时设置指令后,根据计时设置指令的内容设置定时器的计时方式,所述的计时方式分为两种,即包括sleep时间和不包括sleep时间。Step S7, after the timer receives the time task, if the timer mode is to be set, the timer setting instruction is sent to the timer, and after the timer receives the timing setting instruction, the timer is set according to the content of the timing setting instruction. In the manner, the timing mode is divided into two types, that is, including sleep time and not including sleep time.
上述第一至第三实施例的定时器计时方法的执行主体可以为定时器设备或与定时器设备连接的其他电子设备。更进一步地,该定时器的计时方法可以由安装在内置定时器功能的硬件设备或其他定时器关联的电子设备上的系统实现,所述硬件设备包括但不限于手机、pad、笔记本电脑等。The execution body of the timer counting method of the above first to third embodiments may be a timer device or other electronic device connected to the timer device. Further, the timing method of the timer may be implemented by a system installed on a hardware device with a built-in timer function or other electronic device associated with a timer, including but not limited to a mobile phone, a pad, a notebook computer, or the like.
本发明进一步提供一种定时器的计时装置。The invention further provides a timer device for a timer.
参照图4,图4为本发明定时器的计时装置的第一实施例的功能模块示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of a first embodiment of a timer device of the present invention.
在一实施例中,所述装置包括:获取模块10、判断模块20及执行模块30。In an embodiment, the device includes: an obtaining module 10, a determining module 20, and an executing module 30.
获取模块10,用于接收到定时任务时,获取系统当前的boot时间;The obtaining module 10 is configured to obtain a current boot time of the system when receiving the scheduled task;
在定时器接收到定时任务时,获取当前系统的boot时间,所述接收定时任务,来自当前定时器的用户在定时器上的任务输入,或由定时器关联的硬件设备进行输入。所述当前系统的boot时间,为将定时器内置的软件系统的系统开机时间,或者与定时器关联的外接硬件设备的系统开机时间,以系统开机时间作为定时器定时基准,避免定时器出现的计时偏差。When the timer receives the timing task, the boot time of the current system is obtained, and the receiving timing task is input by a user from the current timer on a timer, or input by a hardware device associated with the timer. The boot time of the current system is the system boot time of the software system built in the timer, or the system boot time of the external hardware device associated with the timer, and the system boot time is used as the timer timing reference to avoid the occurrence of the timer. Timing deviation.
判断模块20,用于以所述boot时间为基准时间开始计时,判断设定的时间是否到达;The determining module 20 is configured to start timing with the boot time as a reference time, and determine whether the set time arrives;
根据获取到的boot时间,以boot时间为基准时间使定时器开始计时任务,判断设定的定时器任务的时间是否已到达。所述判断定时器的任务时间是否到达,以当前boot时间开始计时,并在定时器计时满足任务时间后,判断设定的时间已经到达。According to the obtained boot time, the boot time is used as the reference time to start the timer task, and it is determined whether the set timer task time has arrived. Whether the task time of the judgment timer arrives, the time starts with the current boot time, and after the timer time meets the task time, it is determined that the set time has arrived.
具体的,所述判断设定的时间是否到达包括:Specifically, the determining whether the set time reaches or not includes:
所述判断模块20,还用于定时器根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。The determining module 20 is further configured to start a timer according to the timing task, and calculate a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, determine that the set time arrives.
定时器的定时任务开启,以当前的boot时间为基准开始计时,定时器在计时任务中,根据当前boot时间确定定时器的计时任务是否完成,计算当前boot时间与定时器计时任务开启的boot时间的差值,若该差值与任务时间相等,则判断设定的定时器任务时间已经到达。The timer is started. The timer is started based on the current boot time. The timer determines whether the timer task is completed according to the current boot time. The current boot time and the boot time of the timer timer are started. If the difference is equal to the task time, it is judged that the set timer task time has arrived.
执行模块30,用于若设定的时间到达,则执行与所述定时任务相应的任务。The executing module 30 is configured to execute a task corresponding to the timing task if the set time arrives.
定时器设置的任务时间到达,执行与所述定时任务相应的任务内容,所述的定时任务相应的任务内容,为用户自定义的内容。The task time set by the timer arrives, and the task content corresponding to the timed task is executed, and the task content corresponding to the timed task is user-defined content.
本实施例通过定时器使用系统的boot时间判断设定时间是否到达,通过修改定时器的处理逻辑,有效的提高了定时器的可靠性。In this embodiment, the timer is used to determine whether the set time is reached by using the boot time of the system. By modifying the processing logic of the timer, the reliability of the timer is effectively improved.
进一步的,所述以所述boot时间为基准时间开始计时,判断设定的时间是否到达之后,还包括:Further, after the boot time is used as the reference time, and the determined time is reached, the method further includes:
所述判断模块20,还用于若设定的任务时间未到达,则继续按照设定时间计时,所需等待的时间为设定时间距离当前系统boot时间的差值。The determining module 20 is further configured to continue to follow the set time when the set task time has not arrived, and the waiting time is the difference between the set time and the current system boot time.
在定时器时间任务的计时过程中,若设定的任务时间未到达,则继续任务时间的计时操作,按照任务时间的长短,与当前系统的boot时间的差值,为定时器任务时间所剩下的计时时间。During the timing of the timer time task, if the set task time has not arrived, the time operation of the task time is continued, and the difference between the length of the task time and the boot time of the current system is left in the timer task time. The timing of the time.
参照图5,图5为本发明定时器的计时装置的较佳实施例的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of a timer device of the present invention.
在本实施例中,还包括:设置模块40。In this embodiment, the method further includes: setting the module 40.
设置模块40,用于在计时时间包括Sleep时间,在系统处于待机时,控制计时器保持计时;The setting module 40 is configured to include a Sleep time in the timing time, and the control timer keeps timing when the system is in the standby state;
定时器开始进入任务计时的待机状态, 以便接收到定时器任务后,随时进入计时状态中。在计时器开始计时之前,检查是否包含了线程休眠时间(即sleep时间),若计时器的计时工作中设置包含了sleep时间,则当前系统处于待机时,定时器依旧还处于工作状态,所述系统,为定时器所在的硬件所使用的系统,或者为定时器所关联的硬件设备的系统。The timer starts to enter the standby state of the task timing. In order to receive the timer task, you can enter the timing state at any time. Before the timer starts counting, check whether the thread sleep time (ie sleep time) is included. If the timer time setting includes the sleep time, the timer is still in the working state when the current system is in standby. System, the system used by the hardware where the timer is located, or the system of hardware devices associated with the timer.
所述设置模块40,还用于在计时时间不包括Sleep时间,在系统处于待机时,控制计时器暂停计时,并在系统唤醒后,继续计时。The setting module 40 is further configured to not include the Sleep time in the timing time, control the timer to pause the timing when the system is in the standby state, and continue timing after the system wakes up.
在计时器开始计时任务之前,检查是否包含了线程休眠时间(即sleep时间),若计时器的计时工作中设置不包含sleep时间,则当前系统处于待机时,定时器也暂停计时,待当前系统停止休眠被唤醒后,定时器继续执行计时操作。Before the timer starts to time the task, check whether the thread sleep time (ie sleep time) is included. If the timer time setting does not include the sleep time, the timer is also paused when the current system is in standby, waiting for the current system. After stopping sleep and being woken up, the timer continues to perform timing operations.
进一步的,所述方法还包括:Further, the method further includes:
所述设置模块40,还用于接收计时设置指令,根据设置指令设置计时时间是否包括sleep时间。The setting module 40 is further configured to receive a timing setting instruction, and set whether the timing time includes a sleep time according to the setting instruction.
在定时器接收到时间任务后,若要对定时器设置计时方式,则向定时器发送计时设置指令,定时器接收到计时设置指令后,根据计时设置指令的内容设置定时器的计时方式,所述的计时方式分为两种,即包括sleep时间和不包括sleep时间。After the timer receives the time task, if the timer is set to the timer, the timer setting command is sent to the timer. After the timer receives the timing setting command, the timer is set according to the content of the timing setting command. There are two types of timing methods, including sleep time and sleep time.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种定时器的计时方法,其特征在于,所述方法包括以下步骤: A timing method for a timer, characterized in that the method comprises the following steps:
    接收到定时任务时,获取系统当前的boot时间;Get the current boot time of the system when receiving the scheduled task;
    以所述boot时间为基准时间开始计时,判断设定的时间是否到达;Starting with the boot time as a reference time, determining whether the set time has arrived;
    若设定的时间到达,则执行与所述定时任务相应的任务。If the set time arrives, a task corresponding to the timed task is executed.
  2. 如权利要求1所述的定时器的计时方法,其特征在于,计时方式包括sleep时间和不包括sleep时间的计时方式。The method for timing a timer according to claim 1, wherein the timing mode comprises a sleep time and a timing mode not including a sleep time.
  3. 如权利要求2所述的定时器的计时方法,其特征在于,所述方法还包括:The method for timing a timer according to claim 2, wherein the method further comprises:
    在计时时间包括Sleep时间,在系统处于待机时,控制计时器保持计时;The sleep time includes the Sleep time, and the control timer keeps timing while the system is in standby;
    在计时时间不包括Sleep时间,在系统处于待机时,控制计时器暂停计时,并在系统唤醒后,继续计时。The sleep time is not included in the chronograph time. When the system is in standby, the control timer pauses and continues to time after the system wakes up.
  4. 如权利要求3所述的定时器的计时方法,其特征在于,所述以所述boot时间为基准时间开始计时,判断设定的时间是否到达之后,还包括:The method for timing a timer according to claim 3, wherein the step of starting with the boot time as a reference time and determining whether the set time has arrived includes:
    若设定的任务时间未到达,则继续按照设定时间计时,所需等待的时间为设定时间距离当前系统boot时间的差值。If the set task time has not arrived, it will continue to count according to the set time. The waiting time is the difference between the set time and the current system boot time.
  5. 如权利要求3所述的定时器的计时方法,其特征在于,所述方法还包括:The method for timing a timer according to claim 3, wherein the method further comprises:
    接收计时设置指令,根据设置指令设置计时时间是否包括Sleep时间。Receive timing setting command, and set whether the timing time includes Sleep time according to the setting instruction.
  6. 如权利要求1所述的定时器的计时方法,其特征在于,所述判断设定的时间是否到达包括:The method for timing a timer according to claim 1, wherein the determining whether the set time has arrived includes:
    定时器根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。The timer starts timing according to the timing task, and calculates a difference between the current boot time and the task start time. If the difference corresponds to the scheduled task time, it determines that the set time arrives.
  7. 如权利要求1所述的定时器的计时方法,其特征在于,所述若设定的时间到达,则执行与所述定时任务相应的任务之前,还包括:The method for timing a timer according to claim 1, wherein, if the set time arrives, before performing the task corresponding to the timed task, the method further includes:
    以当前boot时间开始计时,并在定时器计时满足任务时间后,判断设定的时间已经到达。The timing starts with the current boot time, and after the timer counts the task time, it is judged that the set time has arrived.
  8. 如权利要求1所述的定时器的计时方法,其特征在于,所述若设定的时间到达,则执行与所述定时任务相应的任务之前,还包括:The method for timing a timer according to claim 1, wherein, if the set time arrives, before performing the task corresponding to the timed task, the method further includes:
    根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。According to the timing of the timing task, the difference between the current boot time and the task start time is calculated. If the difference corresponds to the scheduled task time, it is determined that the set time arrives.
  9. 一种定时器的计时装置,其特征在于,包括:A timing device for a timer, comprising:
    获取模块,用于接收到定时任务时,获取系统当前的boot时间;The obtaining module is configured to obtain a current boot time of the system when receiving the scheduled task;
    判断模块,用于以所述boot时间为基准时间开始计时,判断设定的时间是否到达;a judging module, configured to start timing with the boot time as a reference time, and determine whether the set time arrives;
    执行模块,用于若设定的时间到达,则执行与所述定时任务相应的任务。And an execution module, configured to perform a task corresponding to the timed task if the set time arrives.
  10. 如权利要求9所述的定时器的计时装置,其特征在于,计时方式包括sleep时间和不包括sleep时间的计时方式。The timer device of claim 9, wherein the timing mode comprises a sleep time and a timing mode that does not include a sleep time.
  11. 如权利要求10所述的定时器的计时装置,其特征在于,还包括:The timing device of the timer of claim 10, further comprising:
    设置模块,用于在计时时间包括Sleep时间,在系统处于待机时,控制计时器保持计时;还用于在计时时间不包括Sleep时间,在系统处于待机时,控制计时器暂停计时,并在系统唤醒后,继续计时。The setting module is configured to include a Sleep time at the time of the control, and the control timer keeps the time while the system is in the standby state; and is also used to not include the Sleep time at the time of the time, and the control timer is suspended when the system is in the standby state, and the system is suspended in the system. After waking up, continue to time.
  12. 如权利要求书11所述的定时器的计时装置,其特征在于,所述判断模块,还用于若设定的任务时间未到达,则继续按照设定时间计时,所需等待的时间为设定时间距离当前系统boot时间的差值。The timer timing device according to claim 11, wherein the determining module is further configured to: if the set task time has not arrived, continue to count according to the set time, and the waiting time is set. The difference between the fixed time and the current system boot time.
  13. 如权利要求11所述的定时器的计时装置,其特征在于,所述设置模块,还用于接收计时设置指令,根据设置指令设置计时时间是否包括sleep时间。The timing device of the timer according to claim 11, wherein the setting module is further configured to receive a timing setting instruction, and set whether the timing time includes a sleep time according to the setting instruction.
  14. 如权利要求9所述的定时器的计时装置,其特征在于,所述判断模块,还用于定时器根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。The timing device of the timer according to claim 9, wherein the determining module is further configured to: when the timer starts timing according to the timing task, calculate a difference between the current boot time and the task start time, if the difference is Corresponding to the scheduled task time, it is determined that the set time arrives.
  15. 如权利要求9所述的定时器的计时装置,其特征在于,所述判断模块,还用于以当前boot时间开始计时,并在定时器计时满足任务时间后,判断设定的时间已经到达。The timing device of the timer according to claim 9, wherein the determining module is further configured to start timing with a current boot time, and determine that the set time has arrived after the timer counts the task time.
  16. 如权利要求9所述的定时器的计时装置,其特征在于,所述判断模块,还用于根据定时任务开始计时,计算当前boot时间与任务开始时间的差值,若所述差值与定时任务时间对应,则判定设定的时间到达。The timing device of the timer according to claim 9, wherein the determining module is further configured to calculate a difference between a current boot time and a task start time according to a timing task, if the difference and timing are If the task time corresponds, it is determined that the set time has arrived.
PCT/CN2016/112687 2016-09-28 2016-12-28 Timing method and device for timer WO2018058830A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610860452.6A CN106445668B (en) 2016-09-28 2016-09-28 Timing method and device of timer
CN201610860452.6 2016-09-28

Publications (1)

Publication Number Publication Date
WO2018058830A1 true WO2018058830A1 (en) 2018-04-05

Family

ID=58170744

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112687 WO2018058830A1 (en) 2016-09-28 2016-12-28 Timing method and device for timer

Country Status (2)

Country Link
CN (1) CN106445668B (en)
WO (1) WO2018058830A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933687B (en) * 2017-03-13 2020-05-12 武汉斗鱼网络科技有限公司 Timing method and device and electronic equipment
CN107066327B (en) * 2017-04-24 2021-07-23 努比亚技术有限公司 Timing task processing method, mobile terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755614A (en) * 2004-09-29 2006-04-05 华为技术有限公司 Timer realizing method
CN101320337A (en) * 2008-07-16 2008-12-10 北京中星微电子有限公司 Timer and its implementing method
CN102937893A (en) * 2012-10-11 2013-02-20 科立讯通信股份有限公司 Software timing method of dynamic overload timing length
CN105808301A (en) * 2016-03-09 2016-07-27 上海斐讯数据通信技术有限公司 System and method for mobile terminal to start application on fixed time

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064883A (en) * 2006-04-27 2007-10-31 英业达股份有限公司 Time setting system and method
CN100541438C (en) * 2007-12-29 2009-09-16 上海华为技术有限公司 A kind ofly control the method and apparatus that watchdog circuit resets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755614A (en) * 2004-09-29 2006-04-05 华为技术有限公司 Timer realizing method
CN101320337A (en) * 2008-07-16 2008-12-10 北京中星微电子有限公司 Timer and its implementing method
CN102937893A (en) * 2012-10-11 2013-02-20 科立讯通信股份有限公司 Software timing method of dynamic overload timing length
CN105808301A (en) * 2016-03-09 2016-07-27 上海斐讯数据通信技术有限公司 System and method for mobile terminal to start application on fixed time

Also Published As

Publication number Publication date
CN106445668B (en) 2020-04-10
CN106445668A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2017049956A1 (en) Standby and wake up method and apparatus for android device
WO2015135443A1 (en) Method and apparatus for simulating sound in virtual scenario, and terminal
WO2017201913A1 (en) Precise voice control method and device
WO2013143334A1 (en) Method for updating nfc firmware of mobile terminal and mobile terminal
WO2017215233A1 (en) Terminal power button control method and system
WO2018032681A1 (en) Bluetooth pairing method and bluetooth device
WO2019051898A1 (en) Device control method and apparatus, and computer readable storage medium
WO2018058830A1 (en) Timing method and device for timer
WO2018094950A1 (en) Unmanned aerial vehicle, and unmanned aerial vehicle-based communication method
WO2017084301A1 (en) Audio data playing method and apparatus, and smart television
WO2017084303A1 (en) Switching method for launcher and switching control system
WO2017092267A1 (en) Channel processing method and device
WO2017036209A1 (en) Audio data play method based on smart television, and smart television and system
WO2019051897A1 (en) Terminal operating parameter adjustment method and device, and computer readable storage medium
WO2018068413A1 (en) Method and apparatus for controlling remote controller based on android system
WO2017113590A1 (en) Method and system for controlling sleep of mobile terminal
WO2019080401A1 (en) Method and apparatus for converting script statement, and computer-readable storage medium
WO2017016262A1 (en) Method for controlling smart watch, and smart watch
WO2017032060A1 (en) Interface operation method and apparatus, and smart watch
WO2019114255A1 (en) Voice acquisition method, remote control and computer readable storage medium
WO2017206873A1 (en) Application program shutdown method and apparatus, storage medium, and electronic device
WO2017024870A1 (en) Method and apparatus for waking up standby tv
WO2017206874A1 (en) Application program shutdown method and apparatus, storage medium, and electronic device
WO2016155026A1 (en) Gravity center adjusting device and method for adjusting gravity center thereof
WO2019061042A1 (en) Exposure compensation method, device and computer readable storage medium

Legal Events

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

Ref document number: 16917574

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 150719)

122 Ep: pct application non-entry in european phase

Ref document number: 16917574

Country of ref document: EP

Kind code of ref document: A1