WO2012155772A1 - Time failure monitoring method and system - Google Patents

Time failure monitoring method and system Download PDF

Info

Publication number
WO2012155772A1
WO2012155772A1 PCT/CN2012/074617 CN2012074617W WO2012155772A1 WO 2012155772 A1 WO2012155772 A1 WO 2012155772A1 CN 2012074617 W CN2012074617 W CN 2012074617W WO 2012155772 A1 WO2012155772 A1 WO 2012155772A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
clockwise
error
reference point
counterclockwise
Prior art date
Application number
PCT/CN2012/074617
Other languages
French (fr)
Chinese (zh)
Inventor
夏靓
何力
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155772A1 publication Critical patent/WO2012155772A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps

Definitions

  • the present invention relates to the field of communications, and in particular to a time fault monitoring method and system.
  • Precise Time Protocol specifies a method of network synchronization, which ensures time synchronization of a slaver and a master by measuring delay.
  • PTP Precision Time Protocol
  • there are other interference factors such as equipment failure, defects, and line asymmetry
  • the faulty device can only be monitored one by one using a Global Position System (GPS) receiver.
  • GPS Global Position System
  • Embodiments of the present invention provide a time fault monitoring method and system, so as to at least solve the problem of low frequency maintenance and high application cost by using a GPS receiver to monitor faulty devices one by one in the related art.
  • an embodiment of the present invention provides a time fault monitoring method.
  • a time fault monitoring method includes: measuring a clockwise time error and/or inverse of a monitored node in a ring network along a clockwise and/or counterclockwise direction of the ring network relative to a time reference point Hour hand time error; monitors time failure based on clockwise time error and/or counterclockwise time error.
  • Measuring the clockwise time error of itself relative to the time reference point includes: measuring its own line delay time to the time reference point; measuring the transmission time of its own clockwise transmission of the message to the time reference point; calculating the time error equal to the transmission time minus the line delay Time.
  • the sending time for measuring the clockwise transmission of the message to the time reference point includes: recording the transmission timestamp of sending the message clockwise by itself; determining the timestamp of receiving the message by the time reference point; calculating the sending time equal to the receiving timestamp indication Time minus the time indicated by the timestamp.
  • Determining the timestamp of receiving the message by the time reference point comprises: receiving a response message from the time reference point, wherein the response message includes a receiving timestamp; and from the response message, extracting the receiving timestamp.
  • the method further includes: extracting a correction time from the response message; calculating a time equal to the time of receiving the timestamp indication minus the time of the transmission timestamp indication, and further reducing the correction time .
  • the monitoring time fault includes: determining whether the clockwise time error is greater than a unilateral alarm threshold of a predetermined clockwise time error, and/or determining whether the counterclockwise time error is A unilateral alarm threshold greater than a preset counterclockwise time error; if the determination is yes, it is determined that there is a time failure in the clockwise direction and/or the counterclockwise direction. If the judgment result is no, it is determined whether the difference between the clockwise time error and the counterclockwise time error is greater than a bilateral alarm threshold value of a preset time error, and if the difference is greater than the bilateral alarm threshold value, There is a time failure in the clockwise direction and/or counterclockwise direction.
  • the method further includes: determining a node time reference point among the plurality of nodes in the ring network; determining the plurality of junctions The other nodes in the point other than the time reference point are used as the monitored nodes; setting each of the monitored nodes to perform the clockwise time error and/or counterclockwise time of the measurement itself relative to the time reference point The operation of the error.
  • the method further includes: determining the time of each monitored node according to the monitoring result of the monitoring time fault of each monitored node Degree; Determine the time synchronization reliability of the ring network based on the confidence of the time of each monitored node.
  • a time fault monitoring system includes a monitored node and a time reference point, wherein the monitored node includes: a measuring module configured to be clockwise and/or counterclockwise along the ring network, measuring itself relative to Clockwise time error and/or counterclockwise time error of the time reference point; the monitoring module is configured to monitor the time fault based on a clockwise time error and/or a counterclockwise time error.
  • the time error obtained from the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same according to the embodiment of the present invention. Therefore, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost.
  • FIG. 1 is a schematic diagram of a ring network according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a time failure monitoring method according to an embodiment of the present invention
  • FIG. 3 is a time failure monitoring system according to an embodiment of the present invention. Structure diagram.
  • FIG. 1 is a schematic diagram of a ring network according to an embodiment of the present invention.
  • node 1 is a time reference point, and other nodes (2, 3, 4, 5, 6) are monitored nodes.
  • FIG. 2 is a flowchart of a time failure monitoring method according to an embodiment of the present invention. As shown in FIG. 2, the following steps S202 to S204 are included.
  • Step S202 the monitored node in the ring network measures its clockwise time error and/or counterclockwise time error with respect to the time reference point along the clockwise and/or counterclockwise direction of the ring network.
  • Step S204 monitoring the time fault according to the clockwise time error and/or the counterclockwise time error.
  • a GPS receiver is used to monitor a faulty device one by one, thereby providing low maintenance efficiency and high application cost.
  • the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost.
  • measuring the clockwise time error of the self relative to the time reference point comprises: measuring the line delay time of the self to the time reference point; measuring the sending time of sending the message clockwise to the time reference point; calculating the time error equal to the sending time Reduce the line delay time.
  • the preferred embodiment describes in detail how the monitored node measures its clockwise time error relative to the time reference point.
  • the clockwise time error of the monitored node measurement itself relative to the time reference point may be the same or In a similar manner, to avoid the introduction of non-essential in clockwise and counterclockwise measurements
  • the preferred embodiment can measure the delay time of the line to the time reference point in a peer-to-peer manner, and the message sent by the monitored node can be a unicast P2P delay test message.
  • the non-monitoring node in the ring network can transparently process the unicast P2P delay test packet.
  • the measurement time of sending the message clockwise to the time reference point is: recording the transmission time stamp of the message sent by the clock itself; determining the time stamp of receiving the message by the time reference point; calculating the sending time is equal to the receiving time The time indicated by the stamp minus the time indicated by the time stamp.
  • the receiving the timestamp of receiving the message by the time reference point comprises: receiving a response message from the time reference point, where the response message includes a receiving timestamp; and from the response message, extracting the receiving timestamp.
  • the clockwise and counterclockwise transmission timestamps of the monitored node records are t3_left and Pt3_right
  • the received time stamps included in the response message are t4_left and t4_right
  • the monitored nodes are monitored.
  • the transmission time of the clockwise transmission message obtained by the point measurement is t4_left - t3_left
  • the transmission time of the counterclockwise transmission message measured by the monitored node is t4_right - t3_right.
  • the method further includes: extracting a correction time from the response message; calculating a time equal to the time of receiving the timestamp indication minus the time of the transmission timestamp indication, and then Reduce the correction time.
  • the response message further includes clockwise direction and counterclockwise correction time is correct_left and correct_right
  • the clockwise transmission packet sent by the monitored node is sent.
  • the time is t4_left - t3_left - correctjeft
  • the transmission time of the counterclockwise transmission message measured by the monitored node is t4_right - t3_right - correct_right.
  • the clockwise time error and the counterclockwise time error in the present invention can pass the following formula (1) and formula (2) are calculated.
  • Diff—left t4_left - t3_left - correct—left - line—delay—left ( 1 )
  • the monitoring time fault includes: determining whether the clockwise time error is greater than a preset a unilateral alarm threshold for a clockwise time error, and/or a unilateral alarm threshold for determining whether the counterclockwise time error is greater than a predetermined counterclockwise time error; if the determination is yes, then determining a clockwise There is a time failure in the direction and/or counterclockwise direction.
  • the time failure is usually a run-down fault, a time-calculated fault, and these faults will cause a one-sided alarm in either a clockwise direction or a counterclockwise direction. Therefore, in the preferred embodiment, it is first determined whether the monitored node has a clockwise direction. Or one-sided time failure in a counterclockwise direction to ensure the efficiency and accuracy of time fault monitoring. Preferably, if the determination result is no, it is determined whether the difference between the clockwise time error and the counterclockwise time error is greater than a bilateral alarm threshold value of the preset time error, and the difference is greater than the bilateral alarm threshold value. Next, determine that there is a time failure in the clockwise direction and/or counterclockwise direction.
  • the time failure may also be an asymmetrical fault, and these faults may cause a bilateral alarm in the clockwise direction and the counterclockwise direction. Therefore, the preferred embodiment determines that there is no clockwise or counterclockwise direction of the monitored node. The side time fault, and then determine whether there is a bilateral time fault in the clockwise direction and the counterclockwise direction of the monitored node, thereby ensuring the accuracy of the time fault monitoring.
  • the method before measuring a clockwise time error and/or a counterclockwise time error of the self relative to the time reference point, the method further comprises: determining a node time reference point among the plurality of nodes in the ring network; determining a node other than the time reference point among the plurality of nodes as the monitored node; setting each of the monitored nodes to perform a clockwise time error of the measurement itself relative to the time reference point and/or Counterclockwise time error operation.
  • the same monitoring mechanism can be established for all monitored nodes except the time reference point in the ring network to ensure uniformity of time fault monitoring, thereby ensuring efficiency and accuracy.
  • the method further comprises: determining, according to the monitoring result of the monitoring time fault of each monitored node, determining the monitored node Confidence of time; Determine the time synchronization reliability of the ring network based on the confidence of the time of each monitored node.
  • the monitored node is a platform 1588 node, and for a unicast P2P delay test message that is not the target of the monitored node, it can be forwarded according to the TC transparent transmission mode.
  • the implementation process of the embodiment of the present invention is described in detail below by taking the monitored node 4 as an example.
  • the monitored node 4 initiates a Pdelay line delay measurement mechanism from the left and right rings to the time reference point 1, respectively, and obtains the line delay times line_delay_left and line_delay_right respectively.
  • the monitored node 4 sends a unicast delay_req message from the left and right rings to the time reference point 1, and records the transmission time stamps of the left and right rings delay_req, t3_left and t3_right.
  • the monitored node 2, the monitored node 3, the monitored node 5, and the monitored node 6 perform TC processing on the delay_req message.
  • the time reference point 1 receives the delay_req message from the left and right rings, records the respective reception time stamps t4_left and t4_right, and generates corresponding delay_resp messages.
  • the monitored node 4 receives the delay_resp message from the left and right rings, and extracts t4_left and t4_right and correct-left and right-right. Calculate diffjeft and diff_right according to the following formula (1) and formula (2), and determine whether there is an alarm according to the unilateral alarm threshold.
  • Diff—left t4_left-t3_left-correct_left-line_delay_left ( 1 )
  • DifF right t4_right-t3_right-correct_right-line_delay_right (2) If neither Diffjeft nor Diff_right exceeds the one-sided alarm threshold, then Diffjeft -
  • the device is running dead on the monitored node 3, the network management of the ring network is known. If the monitored node 3 has a time calculation abnormality, the monitored node 3 and the monitored node 4 may report
  • the embodiment of the invention provides a time fault monitoring system, which can be applied to a ring network and used to implement the time fault monitoring method described above.
  • 3 is a structural block diagram of a time fault monitoring system according to an embodiment of the present invention. As shown in FIG.
  • the monitored node 32 and the time reference point 34 are included, wherein the monitored node 32 includes a measurement module 322 and a time fault monitoring module. 324.
  • the structure is described in detail below.
  • the measurement module 322 is configured to measure a clockwise time error and/or a counterclockwise time error with respect to the time reference point along the clockwise and/or counterclockwise direction of the ring network;
  • the monitoring module 324 is connected to the measurement module 322,
  • the time fault is monitored to be based on a clockwise time error and/or a counterclockwise time error measured by the measurement module 322.
  • a time failure monitoring method and system are provided.
  • the time error obtained from the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same according to the embodiment of the present invention. Therefore, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost.
  • Industrial Applicability The technical solution of the present invention has industrial applicability.
  • the time error obtained from the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same according to the embodiment of the present invention. Therefore, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are a time failure monitoring method and system. The method comprises: a monitored node in a ring network measuring a clockwise time error and/or anticlockwise time error of the node with respect to a time reference point in a clockwise direction and/or anticlockwise direction of the ring network; and monitoring a time failure according to the clockwise time error and/or anticlockwise time error. According to that time errors obtained by a random node in the ring network in the clockwise direction and the anticlockwise direction are approximately the same, so the present invention monitors the time failure through monitoring the time error, thereby improving maintenance efficiency and reducing application cost.

Description

时间故障监测方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种时间故障监测方法及系统。 背景技术 精确时间协议 (Precise Time Protocol, 简称为 PTP) 规定了网络同步的方法, 其 通过测量延时来确保 slaver和 master的时间同步。 但是, 在实际工程中, 还存在其它 干扰因素 (例如设备故障、 缺陷、 线路的非对称性) 会导致 slaver与 master的时间不 同步。 相关技术中,当出现时间故障时,只能使用全球定位系统(Global Position System, 简称为 GPS) 接收机逐个监测故障设备。 但是, 该方法维护效率低、 应用成本高。 发明内容 本发明实施例提供了一种时间故障监测方法及系统, 以至少解决相关技术中使用 GPS接收机逐个监测故障设备从而维护效率低、 应用成本高的问题。 为了实现上述目的, 本发明实施例提供了一种时间故障监测方法。 根据本发明实施例的时间故障监测方法包括: 环形网络中的被监测结点沿环形网 络的顺时针方向和 /或逆时针方向, 测量自身相对于时间参考点的顺时针时间误差和 / 或逆时针时间误差; 根据顺时针时间误差和 /或逆时针时间误差, 监测时间故障。 测量自身相对于时间参考点的顺时针时间误差包括: 测量自身到时间参考点的线 路延时时间; 测量自身顺时针发送报文到时间参考点的发送时间; 计算时间误差等于 发送时间减线路延时时间。 测量自身顺时针发送报文到时间参考点的发送时间包括: 记录自身顺时针发送报 文的发送时戳; 确定时间参考点接收到报文的接收时戳; 计算发送时间等于接收时戳 指示的时间减发送时戳指示的时间。 确定时间参考点接收到报文的接收时戳包括:接收到来自时间参考点的响应报文, 其中响应报文中包含接收时戳; 从响应报文中, 提取接收时戳。 在接收到来自时间参考点的响应报文之后, 上述方法还包括: 从响应报文中, 提 取校正时间; 计算发送时间等于接收时戳指示的时间减发送时戳指示的时间、 再减校 正时间。 根据顺时针时间误差和 /或逆时针时间误差, 监测时间故障包括: 判断顺时针时间 误差是否大于预先设定的顺时针时间误差的单边告警门限值,和 /或判断逆时针时间误 差是否大于预先设定的逆时针时间误差的单边告警门限值; 如果判断结果为是, 则确 定顺时针方向和 /或逆时针方向存在时间故障。 如果判断结果为否, 则判断顺时针时间误差与逆时针时间误差的差值是否大于预 先设定的时间误差的双边告警门限值, 并在差值大于双边告警门限值的情况下, 确定 顺时针方向和 /或逆时针方向存在时间故障。 在测量自身相对于时间参考点的顺时针时间误差和 /或逆时针时间误差之前, 上述 方法还包括: 在环形网络中的多个结点中, 确定一个结点时间参考点; 确定多个结点 中除时间参考点之外的其它结点作为被监测结点; 设置被监测结点中的每一个被监测 结点执行测量自身相对于时间参考点的顺时针时间误差和 /或逆时针时间误差的操作。 在根据顺时针时间误差和 /或逆时针时间误差, 监测时间故障之后, 上述方法还包 括: 根据每一个被监测结点的监测时间故障的监测结果, 确定每一个被监测结点的时 间的置信度; 根据每一个被监测结点的时间的置信度, 确定环形网络的时间同步可靠 性。 为了实现上述目的, 本发明实施例提供了一种时间故障监测系统。 根据本发明实施例的时间故障监测系统包括被监测结点和时间参考点, 其中被监 测结点包括: 测量模块, 设置为沿环形网络的顺时针方向和 /或逆时针方向, 测量自身 相对于时间参考点的顺时针时间误差和 /或逆时针时间误差; 监测模块, 设置为根据顺 时针时间误差和 /或逆时针时间误差, 监测时间故障。 本发明实施例根据环形网络中的任意结点从顺时针方向和逆时针方向获取的时间 误差近似相同, 因此通过监测时间误差而监测时间故障, 从而可以提高维护效率、 降 低应用成本。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的环形网络的示意图; 图 2是根据本发明实施例的时间故障监测方法的流程图; 图 3是根据本发明实施例的时间故障监测系统的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 图 1是根据本发明实施例的环形网络的示意图, 如图 1所示, 结点 1是时间参考 点, 其它结点 (2、 3、 4、 5、 6) 是被监测结点。 基于图 1的环形网络, 本发明提供了一种时间故障监测方法。 图 2是根据本发明 实施例的时间故障监测方法的流程图,如图 2所示,包括如下的步骤 S202至步骤 S204。 步骤 S202, 环形网络中的被监测结点沿环形网络的顺时针方向和 /或逆时针方向, 测量自身相对于时间参考点的顺时针时间误差和 /或逆时针时间误差。 步骤 S204, 根据顺时针时间误差和 /或逆时针时间误差, 监测时间故障。 相关技术中,使用 GPS接收机逐个监测故障设备,从而维护效率低、应用成本高。 本发明实施例中, 考虑到环形网络中的任意结点从顺时针方向和逆时针方向获取的时 间误差近似相同, 因此通过监测时间误差而监测时间故障, 从而可以提高维护效率、 降低应用成本。 由于本实施例中特别利用了环形网络中的任意结点从顺时针方向和逆时针方向获 取的时间误差近似相同的特性, 因此, 本发明在该环型网络是对称性网络的情况下, 可以更好地提高维护效率。 优选地, 测量自身相对于时间参考点的顺时针时间误差包括: 测量自身到时间参 考点的线路延时时间; 测量自身顺时针发送报文到时间参考点的发送时间; 计算时间 误差等于发送时间减线路延时时间。 本优选实施例中具体描述了被监测结点如何测量自身相对于时间参考点的顺时针 时间误差, 同时, 对于被监测结点测量自身相对于时间参考点的顺时针时间误差, 可 以采用相同或相类似的方式, 以尽量避免在顺时针测量与逆时针测量中引入非必要的 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a time fault monitoring method and system. BACKGROUND OF THE INVENTION Precise Time Protocol (PTP) specifies a method of network synchronization, which ensures time synchronization of a slaver and a master by measuring delay. However, in actual engineering, there are other interference factors (such as equipment failure, defects, and line asymmetry) that cause the slave to be out of sync with the master. In the related art, when a time failure occurs, the faulty device can only be monitored one by one using a Global Position System (GPS) receiver. However, this method has low maintenance efficiency and high application cost. SUMMARY OF THE INVENTION Embodiments of the present invention provide a time fault monitoring method and system, so as to at least solve the problem of low frequency maintenance and high application cost by using a GPS receiver to monitor faulty devices one by one in the related art. In order to achieve the above object, an embodiment of the present invention provides a time fault monitoring method. A time fault monitoring method according to an embodiment of the invention includes: measuring a clockwise time error and/or inverse of a monitored node in a ring network along a clockwise and/or counterclockwise direction of the ring network relative to a time reference point Hour hand time error; monitors time failure based on clockwise time error and/or counterclockwise time error. Measuring the clockwise time error of itself relative to the time reference point includes: measuring its own line delay time to the time reference point; measuring the transmission time of its own clockwise transmission of the message to the time reference point; calculating the time error equal to the transmission time minus the line delay Time. The sending time for measuring the clockwise transmission of the message to the time reference point includes: recording the transmission timestamp of sending the message clockwise by itself; determining the timestamp of receiving the message by the time reference point; calculating the sending time equal to the receiving timestamp indication Time minus the time indicated by the timestamp. Determining the timestamp of receiving the message by the time reference point comprises: receiving a response message from the time reference point, wherein the response message includes a receiving timestamp; and from the response message, extracting the receiving timestamp. After receiving the response message from the time reference point, the method further includes: extracting a correction time from the response message; calculating a time equal to the time of receiving the timestamp indication minus the time of the transmission timestamp indication, and further reducing the correction time . Based on the clockwise time error and/or the counterclockwise time error, the monitoring time fault includes: determining whether the clockwise time error is greater than a unilateral alarm threshold of a predetermined clockwise time error, and/or determining whether the counterclockwise time error is A unilateral alarm threshold greater than a preset counterclockwise time error; if the determination is yes, it is determined that there is a time failure in the clockwise direction and/or the counterclockwise direction. If the judgment result is no, it is determined whether the difference between the clockwise time error and the counterclockwise time error is greater than a bilateral alarm threshold value of a preset time error, and if the difference is greater than the bilateral alarm threshold value, There is a time failure in the clockwise direction and/or counterclockwise direction. Before measuring a clockwise time error and/or a counterclockwise time error of the self relative to the time reference point, the method further includes: determining a node time reference point among the plurality of nodes in the ring network; determining the plurality of junctions The other nodes in the point other than the time reference point are used as the monitored nodes; setting each of the monitored nodes to perform the clockwise time error and/or counterclockwise time of the measurement itself relative to the time reference point The operation of the error. After monitoring the time fault according to the clockwise time error and/or the counterclockwise time error, the method further includes: determining the time of each monitored node according to the monitoring result of the monitoring time fault of each monitored node Degree; Determine the time synchronization reliability of the ring network based on the confidence of the time of each monitored node. In order to achieve the above object, an embodiment of the present invention provides a time fault monitoring system. A time fault monitoring system according to an embodiment of the present invention includes a monitored node and a time reference point, wherein the monitored node includes: a measuring module configured to be clockwise and/or counterclockwise along the ring network, measuring itself relative to Clockwise time error and/or counterclockwise time error of the time reference point; the monitoring module is configured to monitor the time fault based on a clockwise time error and/or a counterclockwise time error. The time error obtained from the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same according to the embodiment of the present invention. Therefore, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of a ring network according to an embodiment of the present invention; FIG. 2 is a flowchart of a time failure monitoring method according to an embodiment of the present invention; FIG. 3 is a time failure monitoring system according to an embodiment of the present invention. Structure diagram. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. 1 is a schematic diagram of a ring network according to an embodiment of the present invention. As shown in FIG. 1, node 1 is a time reference point, and other nodes (2, 3, 4, 5, 6) are monitored nodes. Based on the ring network of Figure 1, the present invention provides a time failure monitoring method. FIG. 2 is a flowchart of a time failure monitoring method according to an embodiment of the present invention. As shown in FIG. 2, the following steps S202 to S204 are included. Step S202, the monitored node in the ring network measures its clockwise time error and/or counterclockwise time error with respect to the time reference point along the clockwise and/or counterclockwise direction of the ring network. Step S204, monitoring the time fault according to the clockwise time error and/or the counterclockwise time error. In the related art, a GPS receiver is used to monitor a faulty device one by one, thereby providing low maintenance efficiency and high application cost. In the embodiment of the present invention, considering that the time error of any node in the ring network obtained from the clockwise direction and the counterclockwise direction is approximately the same, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost. Since the time error obtained by the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same in the embodiment, the present invention can be used in the case where the ring network is a symmetric network. Better improve maintenance efficiency. Preferably, measuring the clockwise time error of the self relative to the time reference point comprises: measuring the line delay time of the self to the time reference point; measuring the sending time of sending the message clockwise to the time reference point; calculating the time error equal to the sending time Reduce the line delay time. The preferred embodiment describes in detail how the monitored node measures its clockwise time error relative to the time reference point. At the same time, the clockwise time error of the monitored node measurement itself relative to the time reference point may be the same or In a similar manner, to avoid the introduction of non-essential in clockwise and counterclockwise measurements
另外, 本优选实施例可以通过点对点方式测量自身到时间参考点的线路延时时间 的, 同时, 被监测结点发送的报文可以是单播 P2P延时测试报文。 并且, 该环型网络 中的非监测结点可以对该单播 P2P延时测试报文进行透传处理。 优选地, 测量自身顺时针发送报文到时间参考点的发送时间包括: 记录自身顺时 针发送报文的发送时戳; 确定时间参考点接收到报文的接收时戳; 计算发送时间等于 接收时戳指示的时间减发送时戳指示的时间。 优选地, 确定时间参考点接收到报文的接收时戳包括: 接收到来自时间参考点的 响应报文, 其中响应报文中包含接收时戳; 从响应报文中, 提取接收时戳。 本优选实施例中, 假设被监测结点记录的顺时针方向和逆时针方向的发送时戳是 t3_left禾 P t3_right, 同时, 响应报文中包含的接收时戳是 t4_left和 t4_right, 则被监测 结点测量得到的顺时针发送报文的发送时间是 t4_left - t3_left,被监测结点测量得到的 逆时针发送报文的发送时间是 t4_right - t3_right。 优选地, 在接收到来自时间参考点的响应报文之后, 上述方法还包括: 从响应报 文中,提取校正时间; 计算发送时间等于接收时戳指示的时间减发送时戳指示的时间、 再减校正时间。 本优选实施例中, 在上述假设的技术上, 假设响应报文中还包含顺时针方向和逆 时针方向的校正时间是 correct_left和 correct_right,则被监测结点测量得到的顺时针发 送报文的发送时间是 t4_left - t3_left - correctjeft, 被监测结点测量得到的逆时针发送 报文的发送时间是 t4_right - t3_right - correct_right。 进一步地, 假设被监测结点从顺时针方向和逆时针方向到时间参考点的线路延时 时间分别为 line_delay_left和 line_delay_right,则本发明中的顺时针时间误差和逆时针 时间误差可以通过如下的公式 (1 ) 和公式 (2) 计算得到。 Diff—left = t4_left - t3_left - correct—left - line—delay—left ( 1 ) In addition, the preferred embodiment can measure the delay time of the line to the time reference point in a peer-to-peer manner, and the message sent by the monitored node can be a unicast P2P delay test message. Moreover, the non-monitoring node in the ring network can transparently process the unicast P2P delay test packet. Preferably, the measurement time of sending the message clockwise to the time reference point is: recording the transmission time stamp of the message sent by the clock itself; determining the time stamp of receiving the message by the time reference point; calculating the sending time is equal to the receiving time The time indicated by the stamp minus the time indicated by the time stamp. Preferably, the receiving the timestamp of receiving the message by the time reference point comprises: receiving a response message from the time reference point, where the response message includes a receiving timestamp; and from the response message, extracting the receiving timestamp. In the preferred embodiment, it is assumed that the clockwise and counterclockwise transmission timestamps of the monitored node records are t3_left and Pt3_right, and the received time stamps included in the response message are t4_left and t4_right, and the monitored nodes are monitored. The transmission time of the clockwise transmission message obtained by the point measurement is t4_left - t3_left, and the transmission time of the counterclockwise transmission message measured by the monitored node is t4_right - t3_right. Preferably, after receiving the response message from the time reference point, the method further includes: extracting a correction time from the response message; calculating a time equal to the time of receiving the timestamp indication minus the time of the transmission timestamp indication, and then Reduce the correction time. In the preferred embodiment, in the above-mentioned hypothetical technique, if the response message further includes clockwise direction and counterclockwise correction time is correct_left and correct_right, the clockwise transmission packet sent by the monitored node is sent. The time is t4_left - t3_left - correctjeft, and the transmission time of the counterclockwise transmission message measured by the monitored node is t4_right - t3_right - correct_right. Further, assuming that the line delay times of the monitored node from the clockwise direction and the counterclockwise direction to the time reference point are line_delay_left and line_delay_right, respectively, the clockwise time error and the counterclockwise time error in the present invention can pass the following formula (1) and formula (2) are calculated. Diff—left = t4_left - t3_left - correct—left - line—delay—left ( 1 )
Diff—right = t4_right - t3_right - correct—right - line—delay—right (2) 优选地, 根据顺时针时间误差和 /或逆时针时间误差, 监测时间故障包括: 判断顺 时针时间误差是否大于预先设定的顺时针时间误差的单边告警门限值,和 /或判断逆时 针时间误差是否大于预先设定的逆时针时间误差的单边告警门限值; 如果判断结果为 是, 则确定顺时针方向和 /或逆时针方向存在时间故障。 考虑到时间故障通常是跑死故障、 时间计算故障, 而这些故障都会引起或顺时针 方向或逆时针方向的单边告警, 因此, 本优选实施例中首先判断被监测结点是否存在 顺时针方向或逆时针方向的单边时间故障, 以保证时间故障监测的效率和准确性。 优选地, 如果判断结果为否, 则判断顺时针时间误差与逆时针时间误差的差值是 否大于预先设定的时间误差的双边告警门限值, 并在差值大于双边告警门限值的情况 下, 确定顺时针方向和 /或逆时针方向存在时间故障。 考虑到时间故障还可能是非对称性故障, 而这些故障会引起顺时针方向与逆时针 方向的双边告警, 因此, 本优选实施例在判断被监测结点不存在顺时针方向或逆时针 方向的单边时间故障, 进而判断被监测结点是否存在顺时针方向与逆时针方向的双边 时间故障, 从而保证时间故障监测的准确性。 优选地,在测量自身相对于时间参考点的顺时针时间误差和 /或逆时针时间误差之 前, 上述方法还包括: 在环形网络中的多个结点中, 确定一个结点时间参考点; 确定 多个结点中除时间参考点之外的其它结点作为被监测结点; 设置被监测结点中的每一 个被监测结点执行测量自身相对于时间参考点的顺时针时间误差和 /或逆时针时间误 差的操作。 本优选实施例中, 对环形网络内除时间参考点之外的所有被监测结点都可以建立 相同的监测机制, 以保证时间故障监测的统一, 进而保证其效率和准确性。 优选地, 在根据顺时针时间误差和 /或逆时针时间误差, 监测时间故障之后, 上述 方法还包括: 根据每一个被监测结点的监测时间故障的监测结果, 确定每一个被监测 结点的时间的置信度; 根据每一个被监测结点的时间的置信度, 确定环形网络的时间 同步可靠性。 优选地, 被监测结点为平台 1588 结点, 对于非本被监测结点为目标的单播 P2P 延时测试报文, 它可以按照 TC透传方式转发。 下面以被监测结点 4为例, 对本发明实施例的实现过程进行详细描述。 被监测结点 4分别从左右两环向时间参考点 1发起 Pdelay线路延时测量机制, 分 别左右获取线路延时时间 line_delay_left和 line_delay_right。 被监测结点 4分别从左右两环向时间参考点 1发送单播的 delay_req报文,并记录 左右两环 delay_req的发送时戳, t3_left和 t3_right。 被监测结点 2、 被监测结点 3、 被监测结点 5、 被监测结点 6对 delay_req报文作 TC处理。 时间参考点 1分别从左右两环接收到 delay_req报文,记录各自的接收时戳 t4_left 和 t4_right, 并产生对应的 delay_resp报文。 被监测结点 4分别从左右两环接收到 delay_resp报文, 提取 t4_left和 t4_right以 及 correct—left禾口 correct—right。 根据以下公式 (1 ) 和公式 (2) 计算分别计算 diffjeft和 diff_right, 并根据单边 告警门限确定是否有告警。 Diff—right = t4_right - t3_right - correct—right - line—delay—right (2) Preferably, according to the clockwise time error and/or the counterclockwise time error, the monitoring time fault includes: determining whether the clockwise time error is greater than a preset a unilateral alarm threshold for a clockwise time error, and/or a unilateral alarm threshold for determining whether the counterclockwise time error is greater than a predetermined counterclockwise time error; if the determination is yes, then determining a clockwise There is a time failure in the direction and/or counterclockwise direction. Considering that the time failure is usually a run-down fault, a time-calculated fault, and these faults will cause a one-sided alarm in either a clockwise direction or a counterclockwise direction. Therefore, in the preferred embodiment, it is first determined whether the monitored node has a clockwise direction. Or one-sided time failure in a counterclockwise direction to ensure the efficiency and accuracy of time fault monitoring. Preferably, if the determination result is no, it is determined whether the difference between the clockwise time error and the counterclockwise time error is greater than a bilateral alarm threshold value of the preset time error, and the difference is greater than the bilateral alarm threshold value. Next, determine that there is a time failure in the clockwise direction and/or counterclockwise direction. Considering that the time failure may also be an asymmetrical fault, and these faults may cause a bilateral alarm in the clockwise direction and the counterclockwise direction. Therefore, the preferred embodiment determines that there is no clockwise or counterclockwise direction of the monitored node. The side time fault, and then determine whether there is a bilateral time fault in the clockwise direction and the counterclockwise direction of the monitored node, thereby ensuring the accuracy of the time fault monitoring. Preferably, before measuring a clockwise time error and/or a counterclockwise time error of the self relative to the time reference point, the method further comprises: determining a node time reference point among the plurality of nodes in the ring network; determining a node other than the time reference point among the plurality of nodes as the monitored node; setting each of the monitored nodes to perform a clockwise time error of the measurement itself relative to the time reference point and/or Counterclockwise time error operation. In the preferred embodiment, the same monitoring mechanism can be established for all monitored nodes except the time reference point in the ring network to ensure uniformity of time fault monitoring, thereby ensuring efficiency and accuracy. Preferably, after monitoring the time fault according to the clockwise time error and/or the counterclockwise time error, the method further comprises: determining, according to the monitoring result of the monitoring time fault of each monitored node, determining the monitored node Confidence of time; Determine the time synchronization reliability of the ring network based on the confidence of the time of each monitored node. Preferably, the monitored node is a platform 1588 node, and for a unicast P2P delay test message that is not the target of the monitored node, it can be forwarded according to the TC transparent transmission mode. The implementation process of the embodiment of the present invention is described in detail below by taking the monitored node 4 as an example. The monitored node 4 initiates a Pdelay line delay measurement mechanism from the left and right rings to the time reference point 1, respectively, and obtains the line delay times line_delay_left and line_delay_right respectively. The monitored node 4 sends a unicast delay_req message from the left and right rings to the time reference point 1, and records the transmission time stamps of the left and right rings delay_req, t3_left and t3_right. The monitored node 2, the monitored node 3, the monitored node 5, and the monitored node 6 perform TC processing on the delay_req message. The time reference point 1 receives the delay_req message from the left and right rings, records the respective reception time stamps t4_left and t4_right, and generates corresponding delay_resp messages. The monitored node 4 receives the delay_resp message from the left and right rings, and extracts t4_left and t4_right and correct-left and right-right. Calculate diffjeft and diff_right according to the following formula (1) and formula (2), and determine whether there is an alarm according to the unilateral alarm threshold.
Diff—left =t4_left-t3_left-correct_left-line_delay_left ( 1 ) DifF right =t4_right-t3_right-correct_right-line_delay_right (2) 如果上述 Diffjeft和 Diff_right都没有超过单边告警门限值, 再判断 Diffjeft -Diff—left =t4_left-t3_left-correct_left-line_delay_left ( 1 ) DifF right =t4_right-t3_right-correct_right-line_delay_right (2) If neither Diffjeft nor Diff_right exceeds the one-sided alarm threshold, then Diffjeft -
Diff_right是否超过双边告警门限值, 确定是否需要告警。 同理, 在被监测结点 2、 被监测结点 3、 被监测结点 5、 被监测结点 6建立相同监 Whether Diff_right exceeds the bilateral alarm threshold to determine whether an alarm is required. In the same way, at the monitored node 2, the monitored node 3, the monitored node 5, the monitored node 6 establish the same supervision
如果被监测结点 3出现设备跑死故障, 环形网络的网管可知。 如果被监测结点 3存在时间计算异常, 被监测结点 3和被监测结点 4可能出现告 If the device is running dead on the monitored node 3, the network management of the ring network is known. If the monitored node 3 has a time calculation abnormality, the monitored node 3 and the monitored node 4 may report
如果被监测结点 2、被监测结点 3之间存在非对称性故障, 则被监测结点 2、被监 结点 3和被监测结点 4可能出现告警。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的 计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可 以以不同于此处的顺序执行所示出或描述的步骤。 本发明实施例提供了一种时间故障监测系统, 该时间故障监测系统可以应用于环 形网络中, 并用于实现上述时间故障监测方法。 图 3是根据本发明实施例的时间故障 监测系统的结构框图, 如图 3所示, 包括被监测结点 32和时间参考点 34, 其中被监 测结点 32包括测量模块 322, 时间故障监测模块 324。 下面对其结构进行详细描述。 测量模块 322, 设置为沿环形网络的顺时针方向和 /或逆时针方向, 测量自身相对 于时间参考点的顺时针时间误差和 /或逆时针时间误差; 监测模块 324, 连接至测量模 块 322, 设置为根据测量模块 322测量的顺时针时间误差和 /或逆时针时间误差, 监测 时间故障。 需要说明的是,装置实施例中描述的时间故障监测系统对应于上述的方法实施例, 其具体的实现过程在方法实施例中已经进行过详细说明, 在此不再赘述。 综上所述, 根据本发明的上述实施例, 提供了一种时间故障监测方法及系统。 本 发明实施例根据环形网络中的任意结点从顺时针方向和逆时针方向获取的时间误差近 似相同, 因此通过监测时间误差而监测时间故障, 从而可以提高维护效率、 降低应用 成本。 工业实用性 本发明技术方案具备工业实用性。 本发明实施例根据环形网络中的任意结点从顺 时针方向和逆时针方向获取的时间误差近似相同, 因此通过监测时间误差而监测时间 故障, 从而可以提高维护效率、 降低应用成本。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 If there is an asymmetry fault between the monitored node 2 and the monitored node 3, an alarm may occur on the monitored node 2, the monitored node 3, and the monitored node 4. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. The embodiment of the invention provides a time fault monitoring system, which can be applied to a ring network and used to implement the time fault monitoring method described above. 3 is a structural block diagram of a time fault monitoring system according to an embodiment of the present invention. As shown in FIG. 3, the monitored node 32 and the time reference point 34 are included, wherein the monitored node 32 includes a measurement module 322 and a time fault monitoring module. 324. The structure is described in detail below. The measurement module 322 is configured to measure a clockwise time error and/or a counterclockwise time error with respect to the time reference point along the clockwise and/or counterclockwise direction of the ring network; the monitoring module 324 is connected to the measurement module 322, The time fault is monitored to be based on a clockwise time error and/or a counterclockwise time error measured by the measurement module 322. It should be noted that the time fault monitoring system described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again. In summary, according to the above embodiments of the present invention, a time failure monitoring method and system are provided. The time error obtained from the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same according to the embodiment of the present invention. Therefore, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost. Industrial Applicability The technical solution of the present invention has industrial applicability. The time error obtained from the clockwise direction and the counterclockwise direction of any node in the ring network is approximately the same according to the embodiment of the present invention. Therefore, the time fault is monitored by monitoring the time error, thereby improving maintenance efficiency and reducing application cost. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种时间故障监测方法, 包括: 1. A time failure monitoring method, comprising:
环形网络中的被监测结点沿所述环形网络的顺时针方向和 /或逆时针方向, 测量自身相对于时间参考点的顺时针时间误差和 /或逆时针时间误差;  The monitored node in the ring network measures its clockwise time error and/or counterclockwise time error with respect to the time reference point in a clockwise and/or counterclockwise direction of the ring network;
根据所述顺时针时间误差和 /或逆时针时间误差, 监测时间故障。  Time faults are monitored based on the clockwise time error and/or the counterclockwise time error.
2. 根据权利要求 1所述的方法, 其中, 测量自身相对于时间参考点的顺时针时间 误差包括: 2. The method of claim 1 wherein measuring a clockwise time error of itself relative to a time reference point comprises:
测量自身到所述时间参考点的线路延时时间;  Measuring its own line delay time to the time reference point;
测量自身顺时针发送报文到所述时间参考点的发送时间;  Measuring the time at which the clock is sent clockwise to the time reference point;
计算所述时间误差等于所述发送时间减所述线路延时时间。  Calculating the time error is equal to the transmission time minus the line delay time.
3. 根据权利要求 2所述的方法, 其中, 测量自身顺时针发送报文到所述时间参考 点的发送时间包括: 3. The method according to claim 2, wherein measuring the transmission time of transmitting the message clockwise to the time reference point by itself comprises:
记录自身顺时针发送所述报文的发送时戳;  Recording the time stamp of sending the message by itself clockwise;
确定所述时间参考点接收到所述报文的接收时戳;  Determining that the time reference point receives the reception time stamp of the message;
计算所述发送时间等于所述接收时戳指示的时间减所述发送时戳指示的时 间。  The time at which the transmission time is equal to the time indicated by the reception time stamp minus the time indication of the transmission time stamp is calculated.
4. 根据权利要求 3所述的方法, 其中, 确定所述时间参考点接收到所述报文的接 收时戳包括: The method according to claim 3, wherein determining that the time reference point receives the received time stamp of the message comprises:
接收到来自所述时间参考点的响应报文, 其中所述响应报文中包含所述接 收时戳;  Receiving a response message from the time reference point, where the response message includes the receiving time stamp;
从所述响应报文中, 提取所述接收时戳。  Extracting the reception time stamp from the response message.
5. 根据权利要求 4所述的方法, 其中, 在接收到来自所述时间参考点的响应报文 之后, 所述方法还包括: The method according to claim 4, wherein, after receiving the response message from the time reference point, the method further includes:
从所述响应报文中, 提取校正时间;  Extracting a correction time from the response message;
计算所述发送时间等于所述接收时戳指示的时间减所述发送时戳指示的时 间、 再减所述校正时间。 根据权利要求 1至 5中任一项所述的方法, 其中, 根据所述顺时针时间误差和 / 或逆时针时间误差, 监测时间故障包括: Calculating the time when the sending time is equal to the time indicated by the receiving time stamp minus the time indicated by the sending time stamp, and further reducing the correcting time. The method according to any one of claims 1 to 5, wherein monitoring the time failure according to the clockwise time error and/or the counterclockwise time error comprises:
判断所述顺时针时间误差是否大于预先设定的顺时针时间误差的单边告警 门限值,和 /或判断所述逆时针时间误差是否大于预先设定的逆时针时间误差的 单边告警门限值;  Determining whether the clockwise time error is greater than a unilateral alarm threshold of a preset clockwise time error, and/or determining whether the counterclockwise time error is greater than a pre-set counterclockwise time error unilateral alarm gate Limit value
如果判断结果为是,则确定所述顺时针方向和 /或所述逆时针方向存在时间 故障。 根据权利要求 6所述的方法, 其中, 如果判断结果为否, 则判断所述顺时针时 间误差与所述逆时针时间误差的差值是否大于预先设定的时间误差的双边告警 门限值, 并在所述差值大于所述双边告警门限值的情况下, 确定所述顺时针方 向和 /或所述逆时针方向存在时间故障。 根据权利要求 1至 5中任一项所述的方法, 其中, 在测量自身相对于时间参考 点的顺时针时间误差和 /或逆时针时间误差之前, 所述方法还包括:  If the result of the determination is YES, it is determined that there is a time failure in the clockwise direction and/or the counterclockwise direction. The method according to claim 6, wherein if the determination result is no, determining whether a difference between the clockwise time error and the counterclockwise time error is greater than a bilateral alarm threshold value of a preset time error, And if the difference is greater than the bilateral alarm threshold, determining that there is a time failure in the clockwise direction and/or the counterclockwise direction. The method according to any one of claims 1 to 5, wherein, before measuring a clockwise time error and/or a counterclockwise time error of the self relative to the time reference point, the method further comprises:
在所述环形网络中的多个结点中, 确定一个结点所述时间参考点; 确定所述多个结点中除所述时间参考点之外的其它结点作为被监测结点; 设置所述被监测结点中的每一个被监测结点执行测量自身相对于时间参考 点的顺时针时间误差和 /或逆时针时间误差的操作。 根据权利要求 8所述的方法, 其中, 在根据所述顺时针时间误差和 /或逆时针时 间误差, 监测时间故障之后, 所述方法还包括:  Determining, by a node, the time reference point in a plurality of nodes in the ring network; determining, among the plurality of nodes, other nodes than the time reference point as the monitored node; Each of the monitored nodes is operated by the monitoring node to measure a clockwise time error and/or a counterclockwise time error of itself relative to the time reference point. The method of claim 8, wherein after monitoring the time fault based on the clockwise time error and/or the counterclockwise time error, the method further comprises:
根据所述每一个被监测结点的监测时间故障的监测结果, 确定所述每一个 被监测结点的时间的置信度;  Determining the confidence of the time of each of the monitored nodes according to the monitoring result of the monitoring time failure of each of the monitored nodes;
根据所述每一个被监测结点的时间的置信度, 确定所述环形网络的时间同 步可靠性。 一种时间故障监测系统, 包括被监测结点和时间参考点, 其中所述被监测结点 包括:  The time synchronization reliability of the ring network is determined based on the confidence of the time of each of the monitored nodes. A time fault monitoring system includes a monitored node and a time reference point, wherein the monitored node includes:
测量模块, 设置为沿环形网络的顺时针方向和 /或逆时针方向, 测量自身相 对于所述时间参考点的顺时针时间误差和 /或逆时针时间误差;  a measurement module configured to measure a clockwise time error and/or a counterclockwise time error of the time reference point relative to the time reference point along a clockwise and/or counterclockwise direction of the ring network;
监测模块, 设置为根据所述顺时针时间误差和 /或逆时针时间误差, 监测时 间故障。  A monitoring module is arranged to monitor the time fault based on the clockwise time error and/or the counterclockwise time error.
PCT/CN2012/074617 2011-05-19 2012-04-24 Time failure monitoring method and system WO2012155772A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110131600.8 2011-05-19
CN201110131600.8A CN102790703B (en) 2011-05-19 2011-05-19 Method and system for monitoring time faults

Publications (1)

Publication Number Publication Date
WO2012155772A1 true WO2012155772A1 (en) 2012-11-22

Family

ID=47156010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074617 WO2012155772A1 (en) 2011-05-19 2012-04-24 Time failure monitoring method and system

Country Status (2)

Country Link
CN (1) CN102790703B (en)
WO (1) WO2012155772A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111130673B (en) * 2018-11-01 2021-03-09 广州汽车集团股份有限公司 Vehicle-mounted terminal time synchronization method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1675864A (en) * 2002-06-24 2005-09-28 霍尼韦尔国际公司 Clock synchronizing method over fault-tolerant Ethernet
CN1759553A (en) * 2003-01-14 2006-04-12 霍尼韦尔国际公司 Method and apparatus for the synchronization of a system time of a communications network with a clock reference
CN101741647A (en) * 2009-12-31 2010-06-16 中兴通讯股份有限公司 Method and device for measuring switching time of Ethernet ring network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060203851A1 (en) * 2005-03-14 2006-09-14 Eidson John C Applications of multiple time synchronization domains
CN102684933B (en) * 2011-03-11 2018-01-02 中兴通讯股份有限公司 Time failure monitoring method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1675864A (en) * 2002-06-24 2005-09-28 霍尼韦尔国际公司 Clock synchronizing method over fault-tolerant Ethernet
CN1759553A (en) * 2003-01-14 2006-04-12 霍尼韦尔国际公司 Method and apparatus for the synchronization of a system time of a communications network with a clock reference
CN101741647A (en) * 2009-12-31 2010-06-16 中兴通讯股份有限公司 Method and device for measuring switching time of Ethernet ring network

Also Published As

Publication number Publication date
CN102790703A (en) 2012-11-21
CN102790703B (en) 2017-03-22

Similar Documents

Publication Publication Date Title
KR101557185B1 (en) Method for detecting a synchronization failure of a transparent clock and related protection schemes
KR101641848B1 (en) Time synchronization method and device
US9876596B2 (en) Method and device for detecting fault in synchronization link
WO2013020499A1 (en) Method and device for implementing automatic compensation for asymmetric delay of 1588 link
JP5878641B2 (en) Method and apparatus for detecting error of 1588 hours between network elements
WO2017101528A1 (en) Method and device for clock link switching and base station
JP5636093B2 (en) Method and apparatus for performing clock synchronization between devices
US20180351676A1 (en) Securing time between nodes
WO2013156904A1 (en) Ring based precise time data network clock phase adjustments
WO2014187310A1 (en) Method and apparatus for ptp synchronous network
WO2013023530A1 (en) Implementation method and device for automatically detecting asymmetry time delay of 1588 link
CN108599888A (en) A kind of distributed network clock synchronizing system
WO2014032350A1 (en) Method and node based on seamless redundant ring network for increasing precision of clock
WO2016106908A1 (en) Method and system for synchronizing clocks in sdh network
US10320507B2 (en) Method for determining a propagation time of a telegram in a communication network, and corresponding network components
WO2016054884A1 (en) Frequency deviation monitoring method, device and computer storage medium
WO2015165192A1 (en) Time synchronization method and device
WO2016177065A1 (en) Delay measurement method and device
WO2013107174A1 (en) Method and device for detecting symmetry of optical fiber
CN111342926A (en) Method for optimizing time synchronization of PTP (precision time protocol) in asymmetric network
WO2022151993A1 (en) Method, device and system for detecting time synchronization performance
WO2012155772A1 (en) Time failure monitoring method and system
CN114258126A (en) Data processing method and device
CN116865898A (en) Clock redundancy system based on multiple clock domains and method for realizing clock redundancy
EP3812716B1 (en) Dynamic weighing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785093

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12785093

Country of ref document: EP

Kind code of ref document: A1