IEEE1588 protocol negative testing method
The present invention relates to an IEEE1588 protocol negative testing method, comprises steps of: connecting a IEEE1588 tester and a slave clock DUT to establish a real-time closed-loop feedback mechanism; taking the IEEE1588 tester as a master clock, and establishing a stable time synchronization with the slave clock DUT; obtaining the timing offset or path delay of the slave clock DUT before disturbance; assembling an abnormal message in a frame and sending it to the slave clock DUT; calculating the timing offset or path delay increment after disturbance of the abnormal message; determining whether there is a sudden change in the timing offset or path delay of the slave clock DUT, wherein if there is no sudden change, the test passes; otherwise the test fails. This testing method uses the field of correction field (correction Field) in the IEEE1588 message to “magnify” the response of the slave clock DUT to the abnormal message stimulus, and realizes a real-time closed-loop detection to efficiently verify whether the message processing logic of the slave clock DUT follows the IEEE1588 protocol.
Xu Ji Group Corporation State Grid Corporation of China
G H H G H
G06F H04L H04J G01R H04J
inventional inventional inventional inventional additional
Quan-sheng Fu-sheng Yun-zhao Tuo-fu Bao-shan Hong-guang Jun-feng Yong Jun-gang Xiao-hui Yi-ding
Cui Li Zheng Zheng Zhang Shi Di Wei Li Song Song