增加safetime处理逻辑