摘要
Linux操作系统由于其运行速度、可高度定制和安全性,成为工业系统服务器应用的广泛解决方案。对时系统为工业控制系统的正常运行以及数据分析提供了统一的时钟源,是保证系统协调控制与稳定运行的重要前提。为应对Linux时间服务器可能出现的时钟跳变对系统造成的风险,文章对时钟跳变故障进行事件模拟,发现时钟跳变故障能够由时间同步命令的漏洞产生。通过模拟故障出现条件,分析了发生时钟跳变故障的必要条件,通过实验得出2种方案来解决该问题,可以确保服务器系统时钟源的统一与稳定。方案1保证对时服务器的唯一和准确,确保系统中只有一个对时服务器,或者必须保证不同的对时服务器之间不存在时间差;方案2用柔性时间调整策略,可以让时间的变化和调整尽量减少对业务的影响。
Linux operating system is a popular solution for the application of industrial system servers due to its speed,high customization and security.The time synchronization system provides a unified clock source for the normal operation and data analysis of the industrial control system,which is an important prerequisite for the coordinated control and stable operation of the system.In this paper,event simulation of clock hopping fault is carried out,and it is found that clock hopping fault can be generated by time synchronization command vulnerability.In this paper,the necessary conditions for the occurrence of clock hopping fault are analyzed by simulating the fault occurrence conditions,and two schemes are obtained to solve the problem through experiments,which can ensure the unification and stability of the clock source of the server system.Scheme 1 guarantees the uniqueness and accuracy of the time server through ensuring that there is only one timing server in the system or there is no lag between different timing servers.In scheme 2,the flexible time adjustment strategy can minimize the impact of time changes and adjustments on the business.
作者
汪伟
黄少雄
黄太贵
马金辉
WANG Wei;HUANG Shaoxiong;HUANG Taigui;MA Jinhui(State Grid Anhui Electric Power Co.,Ltd.,Hefei 230022,China)
出处
《电力信息与通信技术》
2020年第12期66-70,共5页
Electric Power Information and Communication Technology
关键词
时间服务器
时间同步
时钟源
时钟跳变
time server
time synchronization
clock source
clock hopping