Method and device for calculating power-off time of equipment, and equipment
The invention discloses a method and a device for calculating power-off time of equipment, and the equipment. The method for calculating the power-off time of the equipment comprises the following steps: when the equipment is powered on, recording the current time, and meanwhile, starting a timer to...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
18.03.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a method and a device for calculating power-off time of equipment, and the equipment. The method for calculating the power-off time of the equipment comprises the following steps: when the equipment is powered on, recording the current time, and meanwhile, starting a timer to start timing; recording the current time and restarting timing when the timing reaches the preset time; and after the equipment is powered off, obtaining the power-off time of the equipment according to the current time recorded last time. According to the method, the power-off time and the power-off duration of the equipment can be conveniently obtained, and a data basis is provided for fault analysis.
本发明公开了一种设备的断电时间计算方法及装置、设备。其中设备的断电时间计算方法,包括:设备上电时,记录当前的时间,同时启动计时器开始计时;每计时到预设时间,则记录当前的时间并重新开始计时;当设备断电后,根据最近一次记录的当前的时间得到设备的断电时间。本发明可以便捷地得到设备的断电时间以及断电时长,为故障分析提供数据依据。 |
---|---|
Bibliography: | Application Number: CN202111533695 |