摘要 |
Embodiments of the present invention relate to communications field, and provide a method and an apparatus for a Precision Time Protocol (PTP) synchronous network, which can reduce the cost of obtaining the performance of the PTP synchronous network. The method comprises: a slave clock apparatus executing, according to the PTP through a first port, a time synchronization operation with a first apparatus; setting the state of a second port of the slave clock apparatus to slave; the slave clock apparatus acquiring, according to the PTP through the second port, information required for determining the time deviation between the slave clock apparatus and a second apparatus; the slave clock apparatus determining the deviation according to the information, wherein the deviation is equal to a value obtained by multiplying M by the time deviation between the slave clock apparatus and the second apparatus, and M is not equal to 0; and if the absolute value of the deviation is greater than a threshold, the slave clock apparatus determining that the time synchronization performance of a first link is faulty or the time synchronization performance of a second link is faulty; and the slave clock apparatus sending a message to a third apparatus. The embodiments of the present invention are applied to a PTP synchronous network. |