Time synchronization method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorXiaolin Jia
Life of this patent
Estimating the term…
Abstract
A time synchronization method and apparatus includes determining a time difference between reference time and system time of an artificial intelligence device, where the reference time is timed by an internal clock of the artificial intelligence device and is aligned based on a satellite timing signal, or the reference time is timed by an internal clock of the artificial intelligence device; and adjusting the system time based on a preset step value if the time difference is greater than a preset value.
Claims20
A time synchronization method, applied to a time synchronization apparatus in an artificial intelligence device, wherein the time synchronization method comprises:
- determining whether the artificial intelligence device enters an intelligent control mode;
- obtaining a time difference between reference time and system time of the artificial intelligence device responsive to determining whether the artificial intelligence device enters the intelligent control mode;
- and
- adjusting the system time based on a preset step value when the time difference is greater than a preset value.
A time synchronization apparatus, deployed in an artificial intelligence device, comprising:
- a non-transitory computer-readable storage medium configured to store programming instructions;
- and
- a processor coupled to the computer-readable storage medium that when executed by the processor cause the processor to:
- determine whether the artificial intelligence device enters an intelligent control mode;
- obtain a time difference between reference time and system time of the artificial intelligence device responsive to determining whether the artificial intelligence device enters the intelligent control mode;
- and
- adjust the system time based on a preset step value when the time difference is greater than a preset value.
A non-transitory computer-readable storage medium comprising computer-executable instructions, when executed by a processor of a computing device, cause an apparatus to:
- determine whether the artificial intelligence device enters an intelligent control mode;
- obtain a time difference between reference time and system time of an artificial intelligence device responsive to determining whether the artificial intelligence device enters the intelligent control mode;
- adjust the system time based on a preset step value when the time difference is greater than a preset value.
Dependencies are inferred from the claim text.