Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and system for realizing countdown by wireless low-power device

A timing system and countdown technology, applied in the direction of generating/distributing signals, etc., can solve the problems of increased execution time error of countdown task A, time error, and longer period of countdown task A, etc.

Active Publication Date: 2021-08-20
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] But task B itself also has execution time and there is no task preemption mechanism
For example, if the countdown task B is executed for 300ms, it will cause the countdown task A to be executed after 1100ms, which will cause a time error of 100ms.
[0008] Subsequent tasks blocked before the countdown task A will also cause the execution time error of the countdown task A to increase, making the cycle of the countdown task A longer
The above-mentioned problems in the countdown function will lead to continuous time error accumulation. Assuming that there will be an error of 100ms each time, after running ten times, there will be a countdown error of 1 second.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for realizing countdown by wireless low-power device
  • A method and system for realizing countdown by wireless low-power device
  • A method and system for realizing countdown by wireless low-power device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0051]It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances for ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a countdown method for a wireless low-power device, including: setting the initial timing time of the first timing system; setting the timing cycle; obtaining the n-1th timing cycle in the first timing system The remaining time of the countdown at the end; the time difference between the two timings at the end of the n-1th cycle and the end of the nth cycle in the second timing system; when n=0, the countdown of the first timing system The remaining time is the initial time of the countdown; when n>0, the remaining time of the countdown of the first timing system is obtained according to the following formula: Tn=T n‑1 ‑(t1‑t2), compared with the prior art, this application has the following beneficial effects: the low power consumption device realizes the local countdown function, and the cumulative countdown error caused by task blocking can be corrected by the system clock calibration method to achieve low The countdown error of the power consumption device is within the acceptable range.

Description

technical field [0001] The present application relates to the field of smart home, and in particular, to a method for counting down a wireless low-power device. Background technique [0002] In the prior art, low-power devices need to enter a sleep mode due to battery power supply for power saving requirements, but in the sleep mode, some basic functions need to be maintained to be able to respond quickly. Therefore, it is necessary to set the wake-up source. Before the task-driven device enters the sleep state, it will judge how long the next task needs to be performed. After entering the sleep mode, it relies on the sleep RTC to calculate when to wake up to execute the latest task. However, when the two tasks are close in time and there is no preemption mechanism, the task that should be running will be blocked by the executing task. Therefore, if the periodically running task requires high time accuracy, there will be errors over time. ever-expanding problem. [0003] S...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F1/04
CPCG06F1/04
Inventor 黄欢
Owner HANGZHOU TUYA INFORMATION TECH CO LTD