WO2013078820A1 - 网元间的1588时间误差检测方法及装置 - Google Patents

网元间的1588时间误差检测方法及装置 Download PDF

Info

Publication number
WO2013078820A1
WO2013078820A1 PCT/CN2012/074297 CN2012074297W WO2013078820A1 WO 2013078820 A1 WO2013078820 A1 WO 2013078820A1 CN 2012074297 W CN2012074297 W CN 2012074297W WO 2013078820 A1 WO2013078820 A1 WO 2013078820A1
Authority
WO
WIPO (PCT)
Prior art keywords
time difference
network element
time
detection
network
Prior art date
Application number
PCT/CN2012/074297
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to US14/356,205 priority Critical patent/US9331837B2/en
Priority to JP2014543750A priority patent/JP5878641B2/ja
Priority to IN1271KON2014 priority patent/IN2014KN01271A/en
Priority to EP12854150.5A priority patent/EP2787686A4/en
Publication of WO2013078820A1 publication Critical patent/WO2013078820A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/14Monitoring arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/064Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving time analysis
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Definitions

  • the present invention relates to the field of communications, and in particular, to a 1588 time error detection method and apparatus between network elements. Background technique
  • the PTN Packet Transport Network
  • the 1588 time transfer process can be corrected and compensated, but the passive state (passive) port of the network element and the master port are synchronized between 1588 times. , can't know.
  • time error is very important. It can prompt the network operator to have time error on the link. If the error value cannot be detected in time, it may cause the 1588 time error on the link to increase, and the final time cannot be synchronized.
  • the current standard does not yet specify the corresponding test method. Especially for the 1588 time synchronization between end-to-end network elements, there is no corresponding test method. In the actual network operation, there is no specific detection method for the 1588 time error of the end-to-end link, and it is impossible to accurately determine whether there is a 1588 time error on the link. Summary of the invention
  • the main object of the present invention is to provide a 1588 time error detection method and apparatus between network elements to solve the problem that the prior art does not have a 1588 time error detection method.
  • the invention provides a 1588 time error detection method between network elements, and the foregoing method is: establishing a 1588 time network on the entire network;
  • the probe packets carrying the local timestamp are sent to the peer network element.
  • the network element that receives the probe packet calculates the time difference between the local timestamp and the timestamp in the probe packet according to the preset time difference algorithm, and determines whether the detection path is faulty according to the time difference, and reports that the path is faulty. police.
  • the present invention further provides a 1588 time error detecting device, where the device includes: a network configuration module, a probe packet transceiver module, a time difference calculation module, and a fault determination module; wherein the network configuration module is configured to establish a 1588 time network;
  • the detecting packet sending and receiving module is configured to send a probe packet carrying a local timestamp to the peer network element, and receive the probe packet sent by the peer network element, when the time difference detection is performed between the network elements.
  • the time difference calculation module is configured to calculate, according to a preset time difference algorithm, a time difference between a local timestamp and a timestamp in the detection packet received by the detecting packet receiving and receiving module;
  • the fault determining module is configured to determine whether the detecting path is faulty according to the time difference, and report an alarm when the detecting path fails.
  • the 1588 time error between any two network elements can be detected by detecting the packet. If the error exceeds the preset threshold, the detection path between the network elements can be determined to be faulty.
  • the 1588 time transmission accuracy in the network can be known, and when the time path is found to be faulty, the alarm is reported in time, and the network management platform is notified to perform 1588 time error maintenance, effectively It prevents the transmission of time due to time error and ensures the stability of the network.
  • FIG. 1 is a flow chart showing a preferred embodiment 1 of a 1588 time error detecting method between network elements of the present invention
  • FIG. 2 is a flow chart showing a preferred embodiment 2 of the 1588 time error detecting method between network elements of the present invention
  • FIG. 3 is a block diagram showing a preferred embodiment of the 1588 time error detecting apparatus of the present invention. detailed description
  • the basic idea of the present invention is: a 1588 time network is established on the entire network; when the 1588 time error detection is required between the network elements, the detection packets carrying the local timestamp are sent to the opposite network element; the network element receiving the detection message And calculating, according to the preset time difference algorithm, a time difference between the local timestamp and the timestamp in the detection packet, and determining, according to the time difference, whether the detection path is faulty, and when the detection path is faulty, reporting an alarm.
  • the 1588 time error detection method between the network elements of the present invention includes two methods of detecting 1588 time error between adjacent network elements and 1588 time error detection method between adjacent network elements, and the two methods can be defined as the present invention.
  • the two modes namely, the pre-activation mode and the on-demand mode, allow the user to configure the detection mode of the NE as required. By default, it is pre-activated.
  • FIG. 1 it is a flowchart of a preferred embodiment 1 of a 1588 time error detection method between network elements in the present invention.
  • This embodiment is a 1588 time error detection method between adjacent network elements, that is, a pre-activation mode.
  • the method specifically includes the following steps:
  • Step S01 Establishing a 1588 time network on the entire network
  • This step includes configuring the time node type and time algorithm of each network element in the network.
  • the synchronization network is established with the Sync E clock at 1588. All network elements in the network support 1588 time. It supports BC (Boundary Clock), OC (Ordinary Clock), and TC (Transparent). Clock, transparent transmission clock), OC+TC and other modes. In this embodiment, all network elements in the network support the BC+TC mode.
  • Step S02 1588 time error detection is required between adjacent network elements.
  • Step S03 The network element sends Hello (hello) information to the peer network element Master port through the Passive port.
  • the NE sends and receives the detection packet through the Passive port or the master port.
  • the topology between the NEs is determined after the network is established in 1588.
  • the port connection relationship between the NEs is also determined. Therefore, the neighboring NEs perform 1588 times.
  • the port is selected based on the port through which the NE is connected. For example, the Passive port of NE A is connected to the Master port of NE B.
  • the master port of the device A is connected to the passive port of the network element E. If the network element that needs to detect the 1588 time error is the network element A and the network element B, the network element A sends and receives the detection packet through the passive port.
  • the network element A transmits and receives the detection packet through the master port.
  • Step S04 Receive the Resp information returned by the peer network element Master port.
  • Steps S03-S04 are optional steps.
  • the probe message may be directly sent without being executed.
  • Step S05 Send a probe packet carrying a local timestamp to the peer network element master port through the passive port according to the preset rate.
  • the probe packets are transmitted between NEs in TC mode.
  • the probe packet can be selected according to a specific application scenario.
  • Step S06 Receive a probe message.
  • Step S07 Calculate the local timestamp and the foregoing detection packet according to a preset time difference algorithm. Time difference of the time stamp;
  • the time difference algorithm is: a local timestamp minus a timestamp in the probe message.
  • Step S08 determining whether the detection path is faulty according to the time difference, if yes, executing step S09; otherwise, executing step S05;
  • This step determines whether the detection path is faulty by determining whether the time difference is greater than a preset time difference threshold. When the time difference is greater than a preset time difference threshold, the detection link fails.
  • Step S09 Report the police.
  • the network element 6 is adjacent to the network element 3.
  • the passive port of the network element 6 is connected to the master port of the network element 3, and the 1588 time error between the two is required to be detected, that is, the network element 6 and the network element 3 need to be detected.
  • the 1588 time error between specifically:
  • NE 6 sends the hello information of the probe packet through the Passive port. After the packet is exchanged with the master port of the NE 3, the NE 6 sends its own timestamp T2-T1 through the Passive port. After the probe packet is received by the master port, the network element 3 determines whether the timestamp in the probe packet is balanced and symmetric, and considers whether to compensate for the asymmetry according to the result, and then The timestamp in the probe packet is calculated along with the timestamp of the self-timestamp, and if the time difference is greater than the preset time difference threshold, it is determined that the time link is faulty;
  • NE 3 sends the hello information of the probe packet through the master port. After the packet is exchanged with the passive port of NE 6, the NE 3 sends its own timestamp T2-T1 through the master port. After receiving the probe packet through the Passive port, the network element 6 determines whether the timestamp in the probe packet is balanced and symmetric, and considers whether to compensate for the asymmetry according to the result, and then The timestamp in the probe packet is calculated along with the timestamp of the self-timestamp, and if the time difference is greater than the preset time difference threshold, it is determined that the time link is faulty. As shown in FIG.
  • FIG. 2 it is a flowchart of a preferred embodiment 2 of the 1588 time error detection method between the network elements of the present invention.
  • This embodiment is a 1588 time error detection method between non-adjacent network elements, that is, an on-demand mode.
  • the method specifically includes the following steps:
  • Step S11 The 1588 time network is established on the entire network.
  • Step S12 1588 time error detection is required between non-adjacent network elements.
  • Step S13 Configure a detection path for the current detection according to the time path elapsed between the network elements. If the time 1588 is ETH1588, the method configures a VLAN between all the network elements in the time path by using the Layer 2 unicast mode. Local Area Network (Virtual Local Area Network) switching domain to implement detection path configuration;
  • the above method implements the detection path configuration by configuring an IP route on all the NEs in the time path through the Layer 3 unicast mode.
  • the network element sends and receives detection packets through the Passive port or the master port.
  • the topology between the NEs is determined after the network is established in 1588.
  • the port connection relationship between the NEs is also determined. Therefore, the network is not adjacent.
  • the port corresponding to the port in this embodiment is a passive port to the master port.
  • the passive port of the network element A is connected to the network element B.
  • the network element D is connected to each other.
  • the passive port of the network element E is connected to the network element C.
  • the master port is connected to the network element F.
  • the time path between the network element A and the network element E is two, namely: ABCE and ADHFE. In this embodiment, the time path ADHFE needs to be selected as the detection path. In other embodiments, the port correspondence relationship may be selected according to specific needs.
  • Step S14 The network element sends a probe packet carrying a local timestamp to the peer network element master port through the passive port according to the preset signaling rate.
  • Step S15 Receive a probe message.
  • Step S16 Calculate a time difference between the local timestamp and the timestamp in the foregoing detection packet according to a preset time difference algorithm.
  • Step S17 judging whether the detection path is faulty according to the time difference, if yes, executing step S18; otherwise, executing step S14.
  • Step S18 Report the police.
  • network element 1 there are 10 network elements in the network, which are network element 1 and network element 10, and need to detect the 1588 time error between network element 6 and network element 8;
  • NE 6 - NE 8 NE 6 and NE 8 are non-adjacent NEs. Therefore, you need to configure the detection path. Assume that the time path between NE 6 and NE 8 is: NE 6---- NE 3 - NE - 5 - NE 10 - NE 8. After the path is configured successfully, a 1588 time error detection path is established between NE 6 and NE 8. NE 6 is sent through the Passive port.
  • the probe packet carrying the timestamps T2-T1 and T4-T3 passes through the detection path network element 6 - the network element 3 - the network element 5 - the network element 10 - the network element 8 reaches the master port of the network element 8
  • the network element 8 first determines whether the timestamp in the probe packet is balanced and symmetric, and considers whether to compensate for the asymmetry according to the result, and then calculates the time difference together with the self-timestamp, if the time difference is greater than the pre- If the time difference threshold is set, it is judged that the time link is faulty;
  • Network element 8 - network element 6 and network element 6 - network element 8 are the same.
  • FIG. 3 it is a schematic block diagram of a preferred embodiment of the 1588 time error detecting apparatus of the present invention.
  • the embodiment includes a network configuration module 10, a probe packet transceiver module 20, a time difference calculation module 30, and a fault determination module 40.
  • the network configuration module 10 is configured to establish a 1588 time network, and provide an interface for setting a reporting rate for the user and save the user setting.
  • the time path is configured to configure a detection path for the current detection.
  • the detection packet transceiver module 20 is configured to send the hello information to the peer network element when the time difference detection is performed between the network elements, and return the received network element. After sending Resp information, send The probe packet carrying the local timestamp is sent to the peer network element, and the probe packet sent by the peer network element is received;
  • the time difference calculation module 30 is configured to determine whether the timestamp in the detection packet is balanced and symmetric, and perform asymmetric compensation on the timestamp when the timestamp is unbalanced or asymmetric; and according to a preset time difference algorithm Calculating a time difference between a local timestamp and a timestamp in the probe packet received by the detecting packet receiving and receiving module;
  • the fault judging module 40 is configured to determine whether the time difference is greater than a preset time difference threshold, and determine whether the detection path is faulty according to the time difference, and report an alarm when the detection path fails.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种网元间的1588时间误差检测方法及装置,上述方法包括:全网建立1588时间网络,网元间需要进行1588时间误差检测时,互相发送携带有本地时间戳的探测报文给对端网元;收到探测报文的网元根据预设的时间差算法,计算本地时间戳与上述探测报文中的时间戳的时间差,并根据上述时间差判断检测路径是否发生故障,检测路径发生故障时,上报告警。本发明防止了因时间误差导致时间的错误传递,确保了网络的稳定性。

Description

网元间的 1588时间误差检测方法及装置 技术领域
本发明涉及通信领域, 尤其涉及一种网元间的 1588时间误差检测方法 及装置。 背景技术
随着网络信息化的高速发展, 大量网络设备组成的 PTN ( Packet Transport Network, 分组传送网) 网络规模越来越大, 也越来越复杂, 1588 时间在网络传递过程中,会产生时间误差。对于网元之间的主状态( Master ) 端口、 从状态 (Slave )端口, 1588时间传递过程可以得到纠正、 补偿, 但 是网元的被动状态( Passive )端口、 Master端口之间, 1588时间是否同步, 无法得知。
时间误差的检测非常重要, 能够及时提醒网络运营商此段链路上时间 存在误差, 误差值若不能及时检测, 有可能导致链路上 1588时间误差越来 越大, 最终时间无法同步。
目前标准还没有规定相应测试方法。 特别对于端到端网元之间的 1588 时间同步, 也没有出台相应的测试方法。 在实际网络运营中, 对端到端链 路上的 1588时间误差, 也没有具体的检测方法, 还无法准确判断链路上是 否存在 1588时间误差。 发明内容
有鉴于此, 本发明的主要目的是提供一种网元间的 1588时间误差检测 方法及装置, 以解决现有技术没有 1588时间误差检测方法的问题。 本发明提供了一种网元间的 1588时间误差检测方法, 上述方法为: 全网建立 1588时间网络;
网元间需要进行 1588时间误差检测时, 互相发送携带有本地时间戳的 探测报文给对端网元;
收到探测报文的网元根据预设的时间差算法, 计算本地时间戳与上述 探测报文中的时间戳的时间差, 并根据上述时间差判断检测路径是否发生 故障, 检测路径发生故障时, 上报告警。
本发明进一步提供了一种 1588时间误差检测装置, 上述装置包括: 网 络配置模块、 探测报文收发模块、 时间差计算模块、 故障判断模块; 其中, 上述网络配置模块, 用于建立 1588时间网络;
上述探测报文收发模块,用于在网元间需要进行 1588时间误差检测时, 发送携带有本地时间戳的探测报文给对端网元, 并接收对端网元发送来的 探测报文;
上述时间差计算模块, 用于根据预设的时间差算法, 计算本地时间戳 与上述探测报文收发模块收到的探测报文中的时间戳的时间差;
上述故障判断模块, 用于根据上述时间差判断检测路径是否发生故障, 并在检测路径发生故障时, 上报告警。
本发明在全网中建立 1588时间网络后, 通过探测报文, 即可检测任意 两网元间的 1588时间误差, 误差超过预设的门限时, 即可判断网元间的检 测路径发生故障; 通过对任意两点网元之间 1588时间误差的检测, 可以获 知网络中 1588时间传递精度,并在发现时间路径的故障时,及时上报告警, 通知网络管理平台进行 1588时间误差维护, 有效地防止了因时间误差导致 时间的错误传递, 确保了网络的稳定性。 附图说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本发明的一 部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发 明的不当限定。 在附图中:
图 1是本发明网元间的 1588时间误差检测方法的优选实施例一的流程 图;
图 2是本发明网元间的 1588时间误差检测方法的优选实施例二的流程 图;
图 3是本发明 1588时间误差检测装置的优选实施例原理框图。 具体实施方式
本发明的基本思想是: 全网建立 1588时间网络; 网元间需要进行 1588 时间误差检测时, 互相发送携带有本地时间戳的探测报文给对端网元; 收 到探测报文的网元根据预设的时间差算法, 计算本地时间戳与所述探测报 文中的时间戳的时间差, 并根据所述时间差判断检测路径是否发生故障, 检测路径发生故障时, 上报告警。
为了使本发明所要解决的技术问题、 技术方案及有益效果更加清楚、 明白, 以下结合附图和实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅用以解释本发明, 并不用于限定本发明。
本发明网元间的 1588时间误差检测方法包括相邻网元间的 1588时间 误差检测方法和不相邻网元间的 1588时间误差检测方法两种, 可以将这两 种方法定义为是本发明的二种方式, 即预激活方式和按需方式, 用户可根 据需要, 对网元的检测方式进行配置, 缺省情况下为预激活方式。
如图 1所示, 是本发明网元间的 1588时间误差检测方法的优选实施例 一的流程图, 本实施例为相邻网元间的 1588时间误差检测方法, 即为预激 活方式, 该方法具体包括以下步驟:
步驟 S01 : 全网建立 1588时间网络;
本步驟包括配置网络内各个网元的时间节点类型, 时间算法等。 1588时间网络建立后, 1588时间即与 Sync E时钟建立同步网, 网络中 的所有网元都支持 1588时间, 支持 BC ( Boundary Clock, 边界时钟)、 OC ( Ordinary Clock,普通时钟)、 TC ( Transparent Clock,透传时钟)、 OC+TC 等模式。 本实施例中, 网络中的所有网元均支持 BC+TC模式。
步驟 S02: 相邻网元间需要进行 1588时间误差检测。
步驟 S03 : 网元通过 Passive 端口发送你好(hello )信息给对端网元 Master端口;
网元通过 Passive端口或 Master端口收发检测报文,由于网元间的拓朴 图在 1588时间网络建立后即确定, 各网元间的端口连接关系也已确定, 故 相邻网元进行 1588 时间误差检测时, 具体是通过 Passive 端口还是通过 Master端口收发检测报文, 则需要根据网元间是通过哪个端口相连来选择, 比如:网元 A的 Passive端口与网元 B的 Master端口相连,网元 A的 Master 端口与网元 E的 Passive端口相连, 则: 若需要检测 1588时间误差的网元 为网元 A和网元 B,则网元 A通过 Passive端口收发检测报文; 若需要检测 1588时间误差的网元为网元 A和网元 E,则网元 A通过 Master端口收发检 测报文。
步驟 S04: 收到上述对端网元 Master端口返回的 Resp信息。
步驟 S03-S04 为可选步驟, 在其他实施例中, 可以不执行而直接发送 探测报文。
步驟 S05: 根据预设的发报速率, 通过 Passive端口向对端网元 Master 端口发送携带有本地时间戳的探测报文。
探测报文以 TC方式在网元间传输。
本发明中, 探测报文可以根据具体的应用场景, 选择相应的格式。 步驟 S06: 收到探测报文。
步驟 S07: 根据预设的时间差算法,计算本地时间戳与上述探测报文中 的时间戳的时间差;
本实施例中, 时间差算法为: 本地时间戳减去探测报文中的时间戳。 步驟 S08: 根据上述时间差判断检测路径是否发生故障, 若是, 执行步 驟 S09; 否则, 执行步驟 S05;
本步驟通过判断上述时间差是否大于预设的时间差门限, 来判断检测 路径是否发生故障, 时间差大于预设的时间差门限时, 上述检测链路发生 故障。
步驟 S09: 上报告警。
例如网络中, 网元 6与网元 3相邻, 网元 6的 Passive端口与网元 3的 Master端口相连, 需要检测相互之间的 1588时间误差, 即需要检测网元 6 一网元 3之间的 1588时间误差, 具体为:
网元 6—网元 3: 网元 6通过 Passive端口发送探测报文 hello信息, 在 与网元 3的 Master端口进行报文正常交互后,网元 6通过 Passive端口发送 携带自身时间戳 T2-T1 , T4-T3的探测报文; 网元 3通过 Master端口收到探 测报文后, 首先判断探测报文中的时间戳是否平衡且对称, 并根据结果考 虑是否对其进行非对称性补偿, 然后将探测报文中的时间戳, 与自身时间 戳一起, 计算时间差, 若上述时间差大于预设的时间差门限, 则判断时间 链路出现故障;
网元 3—网元 6: 网元 3通过 Master端口发送探测报文 hello信息, 在 与网元 6的 Passive端口进行报文正常交互后,网元 3通过 Master端口发送 携带自身时间戳 T2-T1 , T4-T3的探测报文; 网元 6通过 Passive端口收到 探测报文后, 首先判断探测报文中的时间戳是否平衡且对称, 并根据结果 考虑是否对其进行非对称性补偿, 然后将探测报文中的时间戳, 与自身时 间戳一起, 计算时间差, 若上述时间差大于预设的时间差门限, 则判断时 间链路出现故障。 如图 2所示, 是本发明网元间的 1588时间误差检测方法的优选实施例 二的流程图, 本实施例为不相邻网元间的 1588时间误差检测方法, 即为按 需方式, 该方法具体包括以下步驟:
步驟 S11 : 全网建立 1588时间网络。
步驟 S12: 不相邻网元间需要进行 1588时间误差检测。
步驟 S13 :根据上述网元间经过的时间路径,为当前检测配置检测路径; 若上述 1588时间为 ETH1588,则上述方法通过二层单播方式在上述时 间路径上的所有网元间配置 VLAN ( Virtual Local Area Network, 虚拟局域 网) 交换域来实现检测路径配置;
若上述 1588时间为 IP15888 , 则上述方法通过三层单播方式在上述时 间路径上的所有网元上配置 IP路由来实现检测路径配置。
网元通过 Passive端口或 Master端口收发检测报文,由于网元间的拓朴 图在 1588时间网络建立后即确定, 各网元间的端口连接关系也已确定, 故 在为不相邻的网元配置检测路径时, 需要根据确定的端口对应关系选择检 测路径;
本实施例的端口对应关系为 Passive端口对 Master端口, 比如, 需要检 测不相邻网元 A与网元 E之间的 1588时间网络, 网元 A的 Passive端口与 网元 B相连, Master端口与网元 D相连, 网元 E的 Passive端口与网元 C 相连, Master端口与网元 F相连, 而网元 A与网元 E之间经过的时间路径 有两条, 分别为: A-B-C-E 和 A-D-H-F-E, 则本实施例需要选择时间路径 A-D-H-F-E 为检测路径; 在其他实施例中, 可根据具体需要, 选择端口对 应关系。
步驟 S14: 网元根据预设的发报速率, 通过 Passive 端口向对端网元 Master端口发送携带有本地时间戳的探测报文。
步驟 S15: 收到探测报文。 步驟 S16: 根据预设的时间差算法,计算本地时间戳与上述探测报文中 的时间戳的时间差。
步驟 S17: 根据上述时间差判断检测路径是否发生故障, 若是, 执行步 驟 S18; 否则, 执行步驟 S14。
步驟 S18: 上报告警。
例如网络中有 10个网元, 分别为网元 1一网元 10, 需要检测网元 6— 网元 8之间的 1588时间误差; 具体为:
网元 6—网元 8: 网元 6、 网元 8为不相邻网元 , 故需要配置检测路径 , 假设网元 6—网元 8之间的时间路径为: 网元 6----网元 3----网元 5----网元 10- 网元 8, 路径配置成功后, 网元 6- 网元 8之间建立 1588时间误差 检测路径, 网元 6通过 Passive端口发送携带时间戳 T2-T1 , T4-T3的探测 报文, 经过检测路径网元 6 -—网元 3—-网元 5—-网元 10-—―网元 8, 到达 网元 8的 Master端口, 网元 8收到后, 首先判断探测报文中的时间戳是否 平衡且对称, 并根据结果考虑是否对其进行非对称性补偿, 然后与自身时 间戳一起, 计算时间差, 若上述时间差大于预设的时间差门限, 则判断时 间链路出现故障;
网元 8—网元 6与网元 6—网元 8同理。
如图 3所示,是本发明 1588时间误差检测装置的优选实施例原理框图, 本实施例包括网络配置模块 10,探测报文收发模块 20, 时间差计算模块 30 及故障判断模块 40,
网络配置模块 10, 用于建立 1588时间网络; 以及用于为用户提供设置 发报速率的接口并保存用户设置; 在需要进行 1588时间误差检测的网元不 相邻时, 根据上述网元间经过的时间路径, 为当前检测配置检测路径; 探测报文收发模块 20, 用于在网元间需要进行 1588时间误差检测时, 发送 hello信息给对端网元, 并在收到对端网元返回的 Resp信息后, 发送 携带有本地时间戳的探测报文给对端网元, 以及接收对端网元发送来的探 测报文;
时间差计算模块 30, 用于判断上述探测报文中的时间戳是否平衡且对 称, 并在上述时间戳不平衡或非对称时, 对上述时间戳进行非对称性补偿; 以及根据预设的时间差算法, 计算本地时间戳与上述探测报文收发模块收 到的探测报文中的时间戳的时间差;
故障判断模块 40, 用于判断上述时间差是否大于预设的时间差门限, 以及根据上述时间差判断检测路径是否发生故障, 并在检测路径发生故障 时, 上报告警。
上述说明示出并描述了本发明的优选实施例, 但如前所述, 应当理解 本发明并非局限于本文所披露的形式, 不应看作是对其他实施例的排除, 而可用于各种其他组合、 修改和环境, 并能够在本文所述发明构想范围内, 通过上述教导或相关领域的技术或知识进行改动。 而本领域人员所进行的 改动和变化不脱离本发明的精神和范围, 则都应在本发明所附权利要求的 保护范围内。

Claims

权利要求书
1、 一种网元间的 1588时间误差检测方法, 其特征在于, 该方法包括: 全网建立 1588时间网络;
网元间需要进行 1588时间误差检测时, 互相发送携带有本地时间戳的 探测报文给对端网元;
收到探测报文的网元根据预设的时间差算法, 计算本地时间戳与所述 探测报文中的时间戳的时间差, 并根据所述时间差判断检测路径是否发生 故障, 检测路径发生故障时, 上报告警。
2、 根据权利要求 1所述的方法, 其特征在于, 需要进行 1588时间误 差检测的网元不相邻时,该方法还包括: 根据所述网元间经过的时间路径, 为当前检测配置检测路径。
3、 根据权利要求 1或 2所述的方法, 其特征在于,
所述网元间通过 Passive端口或 Master端口收发探测报文;
所述探测报文以透传时钟 TC方式在所述网元间传输。
4、 根据权利要求 1所述的方法, 其特征在于, 所述时间差算法为: 本 地时间戳减去探测报文中的时间戳。
5、 根据权利要求 1或 4所述的方法, 其特征在于, 所述网元判断检测 路径是否发生故障为:
判断所述时间差是否大于预设的时间差门限, 如果所述时间差大于预 设的时间差门限, 则所述检测链路发生故障。
6、 根据权利要求 2所述的方法, 其特征在于,
所述 1588时间为 ETH1588时, 通过二层单播方式在所述时间路径上 的所有网元间配置虚拟局域网 VLAN交换域来实现检测路径配置;
所述 1588时间为 IP15888时, 通过三层单播方式在所述时间路径上的 所有网元上配置 IP路由来实现检测路径配置。
7、 根据权利要求 1或 6所述的方法, 其特征在于, 所述网元在计算时 间差之前, 该方法还包括:
判断所述探测报文中的时间戳是否平衡且对称, 如果不平衡或非对称, 则对所述时间戳进行非对称性补偿。
8、 根据权利要求 7所述的方法, 其特征在于, 所述网元在向对端网元 发送探测报文前, 该方法还包括:
发送 hello信息给对端网元;
收到所述对端网元返回的 Resp信息后, 根据预设的发报速率, 向对端 网元发送探测报文。
9、 一种 1588 时间误差检测装置, 其特征在于, 该装置包括: 网络配 置模块、 探测报文收发模块、 时间差计算模块、 故障判断模块; 其中, 所述网络配置模块, 用于建立 1588时间网络;
所述探测报文收发模块,用于在网元间需要进行 1588时间误差检测时, 发送携带有本地时间戳的探测报文给对端网元, 并接收对端网元发送来的 探测报文;
所述时间差计算模块, 用于根据预设的时间差算法, 计算本地时间戳 与所述探测报文收发模块收到的探测报文中的时间戳的时间差;
所述故障判断模块, 用于根据所述时间差判断检测路径是否发生故障, 并在检测路径发生故障时, 上报告警。
10、 根据权利要求 9所述的装置, 其特征在于,
所述网络配置模块, 还用于为用户提供设置发报速率的接口并保存用 户设置; 在需要进行 1588时间误差检测的网元不相邻时, 根据所述网元间 经过的时间路径, 为当前检测配置检测路径;
所述探测报文收发模块, 还用于在向对端网元发送探测报文前, 发送 hello信息给对端网元; 所述时间差计算模块, 还用于在计算时间差前, 判断所述探测报文中 的时间戳是否平衡且对称, 并在所述时间戳不平衡或非对称时, 对所述时 间戳进行非对称性补偿;
所述故障判断模块, 还用于判断所述时间差是否大于预设的时间差门 限。
PCT/CN2012/074297 2011-11-30 2012-04-18 网元间的1588时间误差检测方法及装置 WO2013078820A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US14/356,205 US9331837B2 (en) 2011-11-30 2012-04-18 Method and device for detecting 1588 time error between network elements
JP2014543750A JP5878641B2 (ja) 2011-11-30 2012-04-18 ネットワーク要素間における1588時間誤差の検出方法及び検出装置
IN1271KON2014 IN2014KN01271A (zh) 2011-11-30 2012-04-18
EP12854150.5A EP2787686A4 (en) 2011-11-30 2012-04-18 METHOD AND DEVICE FOR DETECTING SYNCHRONIZATION ERROR 1588 BETWEEN NETWORK ELEMENTS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110390599.0 2011-11-30
CN201110390599.0A CN103139002B (zh) 2011-11-30 2011-11-30 网元间的1588时间误差检测方法及装置

Publications (1)

Publication Number Publication Date
WO2013078820A1 true WO2013078820A1 (zh) 2013-06-06

Family

ID=48498341

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074297 WO2013078820A1 (zh) 2011-11-30 2012-04-18 网元间的1588时间误差检测方法及装置

Country Status (6)

Country Link
US (1) US9331837B2 (zh)
EP (1) EP2787686A4 (zh)
JP (1) JP5878641B2 (zh)
CN (1) CN103139002B (zh)
IN (1) IN2014KN01271A (zh)
WO (1) WO2013078820A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2527654A (en) * 2014-06-11 2015-12-30 Hitachi Ltd Spot transmission communication device and time correction method thereof

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139002B (zh) * 2011-11-30 2017-12-29 中兴通讯股份有限公司 网元间的1588时间误差检测方法及装置
CN103312428B (zh) * 2013-05-23 2016-01-27 华为技术有限公司 用于精确时钟协议同步网络的方法和装置
CN104168140B (zh) * 2014-08-14 2017-11-14 新华三技术有限公司 Vtep异常情况处理方法及装置
CN104184534B (zh) * 2014-09-09 2017-02-15 桂林电子科技大学 精确ieee1588协议的透明时钟路径延迟的方法
CN106464656B (zh) 2014-12-16 2020-02-21 华为技术有限公司 一种时间同步方法及装置
CN106211306B (zh) * 2015-04-30 2020-04-03 华为技术有限公司 一种通信网络延时抖动平滑方法、装置及系统
US9608752B2 (en) * 2015-05-15 2017-03-28 Telefonaktiebolaget Lm Ericsson (Publ) Systems and methods of transporting internal radio base station (RBS) interface information over a packet switched network
CN106487467B (zh) * 2015-08-26 2020-10-13 深圳市中兴通讯技术服务有限责任公司 一种时间同步偏差检测方法和装置
WO2017033416A1 (ja) * 2015-08-27 2017-03-02 日本電気株式会社 中継装置、通信システム、及び障害検出方法
CN107317691B (zh) * 2016-04-26 2020-02-14 华为技术有限公司 一种故障定位方法及设备
CN105938176A (zh) * 2016-06-07 2016-09-14 国网浙江兰溪市供电公司 基于智能电表的大数据分析系统
CN110167060B (zh) * 2019-06-19 2022-07-05 深圳市英特瑞半导体科技有限公司 一种时间网络节点的管理方法、装置及时间网络节点

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147562A1 (en) * 2005-12-23 2007-06-28 Eidson John C Corrrecting time synchronization inaccuracy caused by asymmetric delay on a communication link
CN101141327A (zh) * 2007-10-11 2008-03-12 中兴通讯股份有限公司 一种网络节点异常的检测方法
CN101904129A (zh) * 2007-12-21 2010-12-01 贝拉尔网络公司 分组数据网定时误差的估计和监控方法
CN102232278A (zh) * 2011-06-23 2011-11-02 华为技术有限公司 检测1588设备性能的方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080232269A1 (en) * 2007-03-23 2008-09-25 Tatman Lance A Data collection system and method for ip networks
JP4827866B2 (ja) 2008-02-19 2011-11-30 セイコープレシジョン株式会社 パケット監視装置
US8930484B2 (en) * 2009-06-30 2015-01-06 Tymphany Hong Kong Limited Systems and methods for providing synchronization in a networked environment
US8107502B2 (en) * 2009-09-11 2012-01-31 Symmetricom, Inc. Method and apparatus for monitoring packet networks
EP2367309B1 (en) 2010-02-10 2016-07-13 Alcatel Lucent Method for detecting a synchronization failure of a transparent clock and related protection schemes
US8634297B2 (en) * 2010-11-01 2014-01-21 Cisco Technology, Inc. Probing specific customer flow in layer-2 multipath networks
EP2683110B1 (en) * 2011-03-03 2020-09-23 Nec Corporation Synchronization system, synchronization method, first synchronization device, second synchronization device, and computer program
CN103139002B (zh) * 2011-11-30 2017-12-29 中兴通讯股份有限公司 网元间的1588时间误差检测方法及装置
US8958327B2 (en) * 2012-08-10 2015-02-17 Cisco Technology, Inc. Passive network latency monitoring
US9628209B2 (en) * 2013-01-17 2017-04-18 Viavi Solutions Inc. Time synchronization in distributed network testing equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147562A1 (en) * 2005-12-23 2007-06-28 Eidson John C Corrrecting time synchronization inaccuracy caused by asymmetric delay on a communication link
CN101141327A (zh) * 2007-10-11 2008-03-12 中兴通讯股份有限公司 一种网络节点异常的检测方法
CN101904129A (zh) * 2007-12-21 2010-12-01 贝拉尔网络公司 分组数据网定时误差的估计和监控方法
CN102232278A (zh) * 2011-06-23 2011-11-02 华为技术有限公司 检测1588设备性能的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2787686A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2527654A (en) * 2014-06-11 2015-12-30 Hitachi Ltd Spot transmission communication device and time correction method thereof
GB2527654B (en) * 2014-06-11 2016-09-14 Hitachi Ltd Spot transmission communication device and time correction method thereof

Also Published As

Publication number Publication date
JP2014533918A (ja) 2014-12-15
EP2787686A4 (en) 2015-04-22
EP2787686A1 (en) 2014-10-08
JP5878641B2 (ja) 2016-03-08
CN103139002A (zh) 2013-06-05
IN2014KN01271A (zh) 2015-10-16
US9331837B2 (en) 2016-05-03
CN103139002B (zh) 2017-12-29
US20150215108A1 (en) 2015-07-30

Similar Documents

Publication Publication Date Title
WO2013078820A1 (zh) 网元间的1588时间误差检测方法及装置
WO2014082547A1 (zh) 一种同步链路故障检测方法及装置
US9917745B2 (en) Validation of chained network services
JP5525068B2 (ja) トランスペアレントクロックの同期障害を検出するための方法および関連する保護方式
EP3419230B1 (en) Method of determining clock synchronization path, and apparatus
EP1931084B1 (en) A method for getting the link estimating parameters
US20050099955A1 (en) Ethernet OAM fault isolation
KR102055201B1 (ko) 클록 동기화 경로를 검출하는 방법, 노드, 및 시스템
WO2008131624A1 (fr) Système ethernet réparti et son utilisation pour détection de dysfonctionnement
WO2007006194A1 (fr) Procédé et dispositif de détection de la qualité de service dans un réseau de communication
WO2015161621A1 (zh) 一种时钟和时间同步网络的同步故障处理方法和系统
TW201524155A (zh) 軟體定義網路中用於延遲量測之網路控制器、延遲量測系統及延遲量測方法
WO2006099784A1 (fr) Procédé de détection d’un défaut de liaison entre des noeuds d’une extrémité à l’autre dans un réseau hybride
US9288002B2 (en) Method for monitoring and managing data networks
WO2016150105A1 (zh) 一种以太网链路故障定位的方法、装置及系统
WO2007073649A1 (fr) Procede et systeme pour obtenir une unite de transfert maximale de voie dans un reseau
US10355800B2 (en) Multi-path time synchronization
JP2012501573A (ja) 転送ネットワークの障害検出
US10447589B2 (en) Transport segment OAM routing mechanisms
CN109873719B (zh) 一种故障检测方法及装置
WO2011137766A2 (zh) 确定网元运行状态的方法以及相关设备和系统
WO2010130102A1 (zh) 网络性能测量的方法、装置和系统
WO2011144111A2 (zh) 链路状态数据库同步检测方法及路由设备
WO2014008809A1 (zh) 一种丢失帧测定方法及系统
WO2012003745A1 (zh) 一种丢包率测量中启动计数器的方法及系统

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: 12854150

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14356205

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2014543750

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE