Displacement-free alarm system and method
The invention relates to a displacement-free alarm system and method. The method includes the following steps: S1, determining whether one second timing interruption of a timer is detected, and performing a step S3 if the one second timing interruption is detected, otherwise performing a step S2; S2...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a displacement-free alarm system and method. The method includes the following steps: S1, determining whether one second timing interruption of a timer is detected, and performing a step S3 if the one second timing interruption is detected, otherwise performing a step S2; S2, determining whether a program needs to be ended, and ending the program if needed, otherwise returning to the step S1; S3, reading the time of an RTC clock, determining whether a wearer stays in a sleeping state according to the time of the RTC clock as well as set sleep time, and performing the step S2 if the wearer stays in a sleeping state, otherwise performing a step S4; S4, determining whether the wearer stays in a stationary state, and performing a step S5 if the wearer stays in a stationary state, otherwise performing the step S2; S5, creating a timing variable when the wearer stays in a stationary state, and making the timing variable plus 1; and S6, determining whether the timing variable exceeds a set a |
---|