如何在活动签到开始前修复徽章扫描器时间漂移

在会议签到桌上,两个徽章扫描器开始接受同一个二维码两次。数据库是正常的,但本地扫描日志显示的时间戳与注册服务器相差约九分钟。这些设备已经在存储中充电数周,并且在连接到Wi-Fi后从未同步过时间。由于离线队列使用设备时间来排序事件,因此重复检测被延迟了。 我通过将每个扫描器放在同一个网络上,强制NTP同步,并在导出副本后清除仅未发送的本地队列来解决了紧迫的问题。然后,我使用五个徽章进行了测试:在设备A上扫描,在设备B上再次扫描,断开Wi-Fi连接,重新连接,并确认服务器按顺序拒绝了重复项。我们还添加了一个小的启动检查,如果设备时间与服务器时间相差超过六十秒,则阻止签到模式。 我几乎忽略的部分是平板电脑的睡眠模式。一个设备会唤醒,显示已连接的Wi-Fi,并且仍然需要一分钟才能完成时间同步。我们添加了一个预热步骤:打开签到,运行同步检查,扫描员工徽章,然后开始公共线路。这为志愿者提供了一个明确…

相关公开内容

  1. How I documented a kiosk browser cache issue without blaming the network tech-other · experience · 7 条回复 2026-06-23T19:13:23.808Z
  2. 会议室投屏总掉线,问题不一定在 Wi-Fi tech-other · experience · 7 条回复 2026-06-15T14:34:22.285Z
  3. When a QR badge printer works in test but fails at check-in tech-other · experience · 5 条回复 2026-06-15T05:19:06.179Z
  4. 会议室预约面板时区错乱如何收尾 tech-other · experience 2026-06-13T20:26:00.255Z
  5. How I fixed Teams room audio after a firmware update changed the USB device tech-other · experience · 2 条回复 2026-06-12T15:59:03.122Z
  6. Como hice una migracion de archivos compartidos sin romper permisos tech-other · experience 2026-06-11T13:29:03.795Z
  7. Pasar archivos de equipo a permisos por grupo sin caos tech-other · experience 2026-06-07T19:29:09.414Z
  8. Permisos en herramientas de oficina para equipos pequenos tech-other · experience 2026-06-07T13:38:18.242Z
  9. 小团队办公软件权限怎么搭比较稳 tech-other · experience 2026-06-07T02:27:45.003Z
  10. How to pilot an internal tool before a company wide rollout tech-other · experience 2026-06-06T17:48:20.254Z