首页> 外文会议>IEEE International Conference on Emerging Technologies and Factory Automation >Avoiding Year 2038 Problem on 32-bit Linux by Rewinding Time on Clock Synchronization
【24h】

Avoiding Year 2038 Problem on 32-bit Linux by Rewinding Time on Clock Synchronization

机译:通过倒带时钟同步时间避免在32位Linux上出现2038年问题

获取原文

摘要

Embedded systems with 32-bit Linux can encounter the year 2038 problem, which is caused by an overflow of the system clock. To prevent this overflow, we propose a scheme that rewinds time in time-synchronization software such that the system clock is delayed from the actual time by a certain number of years. Our method rewinds time received by time-synchronization software immediately after it becomes available as a UTC-based timestamp. We confirmed that our method enabled a 32-bit Linux system to operate correctly based on its delayed system clock while it was synchronizing with a Network Time Protocol server and a Precision Time Protocol master. This was achieved with only 3 lines of modification for ntpd and 2 lines for linuxptp. By adopting our scheme and modifying applications to exchange correct time values with external nodes, a system can avoid the year 2038 problem. This approach saves development costs as it requires no modification to the operating system.
机译:使用32位Linux的嵌入式系统可能会遇到2038年问题,这是由于系统时钟溢出引起的。为了防止这种溢出,我们提出了一种在时间同步软件中倒回时间的方案,以使系统时钟比实际时间延迟一定的年数。在基于UTC的时间戳记可用之后,我们的方法会立即倒带时间同步软件收到的时间。我们确认了我们的方法使32位Linux系统能够在与网络时间协议服务器和Precision Time Protocol主服务器同步时根据其延迟的系统时钟正常运行。只需对ntpd进行3行修改,对linuxptp进行2行修改就可以实现。通过采用我们的方案并修改应用程序以与外部节点交换正确的时间值,系统可以避免2038年问题。这种方法节省了开发成本,因为它不需要修改操作系统。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号