WO2015184763A1 - Method, apparatus and system for instructing to select synchronization time source - Google Patents

Method, apparatus and system for instructing to select synchronization time source Download PDF

Info

Publication number
WO2015184763A1
WO2015184763A1 PCT/CN2014/094420 CN2014094420W WO2015184763A1 WO 2015184763 A1 WO2015184763 A1 WO 2015184763A1 CN 2014094420 W CN2014094420 W CN 2014094420W WO 2015184763 A1 WO2015184763 A1 WO 2015184763A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
time
synchronization
clock
output
Prior art date
Application number
PCT/CN2014/094420
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 WO2015184763A1 publication Critical patent/WO2015184763A1/en

Links

Images

Classifications

    • 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/0641Change of the master or reference, e.g. take-over or failure of the master
    • 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 method, device and system for indicating synchronization time source selection.
  • the clock source of the node is determined by combining the physical quality of the clock judged by the clock chip and the SSM byte information that identifies the clock quality level received regularly on the line, and finally completes the clock of the node by configuring the clock chip Switch.
  • node 3 is set to import the clocks of node 1 and node 2.
  • the clock chip on node 3 judges whether the physical quality of the clocks from node 1 and node 2 is good enough. First, the clock that does not meet the clock lock threshold on node 3 is excluded.
  • node 3 judges the level of each clock according to the definition in the G.781 standard for the clock that meets the lock threshold (as shown in Table 1), and judges and compares the quality of the clocks uploaded by the node 1 and node 2 lines to identify the respective line clocks. Therefore, a clock that satisfies the clock lock threshold and has a high SSM quality level is preferred. After node 3 selects the clock with the highest quality level, it will configure the clock chip to lock the clock to complete the clock synchronization between the current node and the upstream clock node.
  • the time synchronization 1588 algorithm is based on the announcement (Announce) message received by the node regularly, and compares the grandmaster priority (grandmasterPriority) 1 and other fields in the Announce message according to the 1588 protocol to complete the time source selection, and finally passes the 1588 protocol.
  • the interaction with the time message described in the Precision Time Protocol (PTP, abbreviation of 1588) with the time source completes the time synchronization with the time source.
  • PTP Precision Time Protocol
  • node 3 runs the best master clock (Best master clock, BMC) algorithm comparison according to the received Announce messages from node 1 and node 2 (as shown in Table 2) according to the description of the 1588 protocol
  • the time of the better one of node 1 and node 2 is output, so as to determine which time the node needs to synchronize with.
  • the time that the node 3 selects for a certain path is completed according to the time synchronization method specified in the 1588 protocol through the interaction of the PTP time message to complete the time synchronization between the current node and the upstream time node.
  • the clock time network can be separated.
  • the time network will be abnormal.
  • the SSM algorithm is synchronized with the time To With the 1588 algorithm, when a node on the clock network fails to switch, the node on the time network will not switch. As a result, the nodes on the time network select the wrong synchronization time source for time synchronization.
  • the embodiment of the present invention provides a method, device and system for indicating the selection of a synchronization time source, so as to at least solve the problem that in the related art, when a node on the clock network fails to switch, the node on the time network will not switch, thereby causing the time network The node chooses the wrong synchronization time source for time synchronization.
  • a method for indicating the selection of a synchronization time source including: a first node determines that the clock synchronization of the current node is abnormal; the first node outputs time status information of the first node, wherein, The time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select the output time of the second node other than the first node as the synchronization time source.
  • the output of the first node's time status information by the first node includes: the first node outputting a notification message, wherein the notification message is carried by other nodes for time source selection.
  • the value of is the lowest priority value in the WDM system of the bearer network where the first node is located.
  • the method before the first node outputs the time state information of the first node, the method further includes: the first node determines to enable a clock time correlation function.
  • the method further includes: the other node receives the time state information, and restarts the time source according to the time state information
  • the source selection algorithm selects the output time of the second node other than the first node as the synchronization time source.
  • a device for instructing the selection of a synchronization time source comprising: a first determining module configured to determine that the clock synchronization of a first node is abnormal; and an output module configured to output the synchronization time source of the first node Time status information, wherein the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select the output time of the second node other than the first node as the synchronization time source.
  • the output module outputs the time status information in the following manner: output a notification message, wherein the value of the priority for other nodes to select the time source carried in the notification message is the value The value of the lowest priority in the WDM system of the bearer network where the first node is located.
  • it further includes: a second determining module configured to determine that the first node starts the clock time correlation function.
  • a system for instructing synchronization time source selection including: a first node and a bearer network wavelength division system where the first node is located, other than the first node Node; wherein, the first node includes the above-mentioned device, configured to output time status information when the clock synchronization of the first node is abnormal, wherein the time status information includes indicating that the first node clock is synchronized
  • the abnormal indication information instructs other nodes to select the output time of a second node other than the first node as the synchronization time source; the other nodes are set to be based on the time status information output by the first node, Re-run the time source selection algorithm to select the output time of the second node other than the first node as the synchronization time source.
  • the node in the wavelength division system of the bearer network when the node in the wavelength division system of the bearer network outputs the time status information indicating the abnormal clock synchronization when the clock synchronization is abnormal, when the node on the clock network fails to switch, the nodes on the time network will be based on the time status information Switching the synchronization time source establishes the association between clock synchronization and time synchronization, and avoids the error time synchronization that may be caused when the clock node is abnormal.
  • Figure 1 is a schematic diagram of multi-node clock time synchronization networking according to related technologies
  • FIG. 2 is a flowchart of a method for indicating synchronization time source selection according to an embodiment of the present invention
  • Fig. 3 is a schematic structural diagram of a system for indicating synchronization time source selection according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for indicating synchronization time source selection according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a node in an optional embodiment of the present invention to correlate and output time state information according to a clock synchronization state;
  • FIG. 6 is a schematic diagram of selecting a clock time source of a downstream node when the clock synchronization is normal in an optional embodiment of the present invention
  • FIG. 7 is a schematic diagram of the selection of the time source of the downstream node when the switch of the clock time association algorithm is not turned on and the clock synchronization is abnormal in an optional embodiment of the present invention
  • FIG. 8 is a schematic diagram of the selection of the time source of the downstream node when the clock synchronization algorithm switch is turned on and the clock synchronization is abnormal in an optional embodiment of the present invention.
  • the embodiment of the present invention provides a method for indicating synchronization time source selection in a bearer network wavelength division system.
  • the method combines a clock synchronization algorithm (e.g., SSM algorithm) with a time synchronization algorithm (e.g., 1588 algorithm).
  • a clock synchronization algorithm e.g., SSM algorithm
  • a time synchronization algorithm e.g., 1588 algorithm
  • the "clock synchronization abnormality" of the node means that the node clock chip determines that the clock on the upstream line cannot be locked.
  • the switching of the time source means that the downstream node no longer completes time synchronization with the local node through the PTP time synchronization message, and the downstream node decides a new time source and then performs PTP with the new time source. Interact with time messages to complete time synchronization.
  • Fig. 2 is a flowchart of a method for indicating synchronization time source selection according to an embodiment of the present invention. As shown in Fig. 2, the method mainly includes the following steps:
  • step S202 the first node determines that the clock synchronization of the current node is abnormal.
  • the first node in the wavelength division system of the bearer network can determine whether its clock synchronization is abnormal according to the existing method.
  • the specific embodiments of the present invention are not limited.
  • Step S204 The first node outputs the time status information of the first node, where the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to choose to remove the first node.
  • the output time of the second node other than the node is the synchronization time source.
  • the first node may output the time status information through an Announce message, where the Announce message carries a priority for other nodes to perform time source selection (for example, the Announce message).
  • the value of the grandmasterPriority1 field in the text) is the lowest priority value in the WDM system of the bearer network where the first node is located.
  • the method further includes: the first node determines to enable a clock time correlation function.
  • a clock time correlation switch can be set in the node, and the clock time correlation function can be turned on or off through the switch.
  • the clock time correlation function can be turned on or off, so that various requirements can be met.
  • the method further includes: the other nodes receive the time state information, and re-start according to the time state information.
  • the running time source selection algorithm selects the output time of the second node other than the first node as the synchronization time source.
  • the clock synchronization of the local node in the bearer network's wavelength division system when the clock synchronization of the local node in the bearer network's wavelength division system is abnormal, it is necessary to determine whether the clock time correlation algorithm switch is turned on. If the clock time correlation algorithm switch is not turned on, then the time synchronization algorithm It still runs independently, and the time synchronization path remains unchanged.
  • the clock time correlation algorithm switch if the clock time correlation algorithm switch is turned on, the time status information output of the local node needs to reflect the clock abnormality.
  • the specific corresponding time synchronization port is as follows: the PTP port of this node The grandmasterPriority1 output of the Announce message sends the lowest priority value in the system.
  • the Announce message of this node received by other nodes in the WDM system of the bearer network changes and contains grandmasterPriority1 as the lowest priority.
  • Other nodes re-run the time source selection algorithm according to the 1588 protocol, due to the source selection algorithm described in the 1588 protocol It will first compare the priority of grandmasterPriority1 to determine the final synchronization time source, so that grandmasterPriority1 is set to the lowest priority, which will cause other nodes to switch to other time sources and no longer synchronize to the output time of this node.
  • the independent source selection algorithm for clock synchronization and time synchronization can be used more reasonably in the wavelength division system of the bearer network, the association between clock synchronization and time synchronization is established, and the abnormality of the clock node is avoided. It may lead to the wrong time synchronization.
  • a system for indicating the selection of a synchronization time source is also provided.
  • Fig. 3 is a schematic structural diagram of a system for indicating synchronization time source selection according to an embodiment of the present invention. As shown in Fig. 3, the system includes: a first node 30 and a carrier network wavelength division system where the first node is located.
  • Nodes 32 other than the first node wherein, the first node 32 is set to output time status information when the clock synchronization of the first node is abnormal, wherein the time status information includes an indication of the The indication information that the clock synchronization of the first node is abnormal, instructs other nodes to select the output time of the second node other than the first node as To Synchronize the time source; the other nodes 32 are set to re-run the time source selection algorithm based on the time status information output by the first node 30 to select the second node except the first node 30 The output time is the synchronization time source.
  • the first node 30 may include the device for indicating synchronization time source selection as shown in FIG. 4.
  • the apparatus mainly includes: a first determining module 40 configured to determine that the clock synchronization of the first node is abnormal; and an output module 42 , Set to output the time status information of the first node, where the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select the first node other than the first node
  • the output time of the two nodes is the synchronization time source.
  • the output module 42 may output the time status information in the following manner: output a notification message, where the value of the priority for other nodes to select the time source carried in the notification message is The value of the lowest priority in the wavelength division system of the bearer network where the first node is located.
  • the device may further include: a second determining module configured to determine that the first node starts the clock time correlation function.
  • an optional embodiment is used to describe the flow of nodes outputting time state information according to the clock synchronization state in the embodiment of the present invention.
  • Fig. 5 is a flowchart of an optional embodiment of the present invention for nodes to correlate and output time state information according to the clock synchronization state. As shown in Fig. 5, the main steps include the following steps:
  • Step 501 The first node first determines whether the clock synchronization of the current node is normal according to the clock synchronization SSM algorithm.
  • Step 502 If the clock synchronization of the current node is normal, the time synchronization 1588 algorithm runs independently and outputs the corresponding Announce message, and the downstream time node source selection algorithm does not switch. As shown in Fig. 6, the clock time of the downstream node 3 is preferably to the node 1 with a higher priority.
  • Step 503 If the clock synchronization of the current node is abnormal, it is determined whether the clock time correlation algorithm switch is turned on. This correlation algorithm switch is used as an optional judgment. If the clock time correlation algorithm switch is not turned on, the time synchronization 1588 algorithm is the same as step 502. As shown in Figure 7, the time synchronization 1588 algorithm of downstream node 3 is not affected by the clock selection and still selects the time of node 1. At this time, because the clock on node 1 is no longer synchronized, its time is no longer credible, which will cause downstream node 3 to synchronize To the wrong time source. To
  • Step 504 If the clock synchronization of the current node is abnormal and the clock time correlation algorithm switch is turned on, the priority of grandmasterPriority1 in the Announce message output by the node is set to the lowest priority of the system, so that the downstream node can switch the time source. As shown in Figure 8, the priority of grandmasterPriority1 contained in the Announce message output by node 1 is set to the lowest priority of the system.
  • Step 505 The downstream node time synchronization 1588 algorithm determines that the received Announce message has changed, and reselects the time source. Since the grandmasterPriority1 priority in the received Announce message is set to the lowest priority of the system, the result of re-running the time source algorithm will cause the time synchronization source of the downstream node to switch to the upstream node with a normal clock. As shown in Fig. 8, the time synchronization 1588 algorithm of the downstream node 3 will be affected by the clock selection, so that the time of the downstream node 3 can be switched to the correct time path. Finally, the node 3 will select the node 2 with a normal clock as the upstream time synchronization source.
  • step 504 it is also possible to output other methods that can cause the downstream node time synchronization 1588 algorithm to switch the time source, so that the downstream node can switch to the time source with the normal clock, so that the entire bearer network system can complete the correct Clock time synchronization.
  • a node in the bearer network's wavelength division system when a node in the bearer network's wavelength division system is abnormal in clock synchronization, it outputs time status information indicating that the clock synchronization is abnormal, and when a node on the clock network fails to switch, The nodes on the time network will switch the synchronization time source according to the time status information, establish the association between clock synchronization and time synchronization, and avoid the error time synchronization that may be caused when the clock node is abnormal.
  • modules or steps of the present invention can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
  • they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, and in some cases, they can be executed in a different order than here.
  • the method, device, and system for indicating the selection of a synchronization time source provided by the embodiments of the present invention
  • the system has the following beneficial effects: when the nodes in the wavelength division system of the bearer network output the time status information indicating the abnormal clock synchronization, when the nodes on the clock network fail to switch, the nodes on the time network will be based on the time status The information is switched to the synchronization time source, which establishes the association between clock synchronization and time synchronization, and avoids the error time synchronization that may be caused when the clock node is abnormal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Disclosed are a method, apparatus and system for instructing to select a synchronization time source. The method comprises: a first node determines that clock synchronization of the first node is abnormal; and the first node outputs time state information of the first node, the time state information comprising indication information for indicating the clock synchronization anomaly of the first node, and instructing other nodes to select output time of a second node other than the first node as a synchronization time source.

Description

指示同步时间源选择的方法、装置及系统Method, device and system for indicating synchronization time source selection 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种指示同步时间源选择的方法、装置及系统。The present invention relates to the field of communications, and in particular to a method, device and system for indicating synchronization time source selection.
背景技术Background technique
在承载网波分系统中实现时钟时间同步,首先实现时钟同步,只有时钟同步了,才有可能实现时间同步。波分系统中业界通常的做法是时钟同步采用同步状态消息(Synchronization Status Message,SSM)算法,时间同步采用1588算法。To achieve clock time synchronization in the WDM system of the bearer network, first achieve clock synchronization. Only when the clock is synchronized, can time synchronization be achieved. The common practice in the industry in the WDM system is to use the Synchronization Status Message (SSM) algorithm for clock synchronization, and the 1588 algorithm for time synchronization.
时钟同步SSM算法中,结合时钟芯片判断出的时钟物理质量以及线路上定时接收到的标识时钟质量等级高低的SSM字节信息来决策出本节点的时钟源,最终通过配置时钟芯片完成本节点时钟的切换。如图1所示,时钟同步SSM算法中,假如节点3上设置了导入节点1和节点2的时钟。节点3上的时钟芯片判断出来自节点1和节点2的时钟物理质量是否足够好,首先排除不满足节点3上时钟锁定门限的时钟。然后节点3对满足锁定门限的时钟依据G.781标准中的定义判断各路时钟的等级高低(如表1所示),判断比较节点1和节点2线路上传过来的分别标识各自线路时钟质量高低的SSM线路等级,从而优选出满足时钟锁定门限且SSM质量等级高的时钟。节点3优选出质量等级最高的时钟后,会配置时钟芯片锁定该路时钟,完成本节点同上游时钟节点的时钟同步。In the clock synchronization SSM algorithm, the clock source of the node is determined by combining the physical quality of the clock judged by the clock chip and the SSM byte information that identifies the clock quality level received regularly on the line, and finally completes the clock of the node by configuring the clock chip Switch. As shown in Figure 1, in the clock synchronization SSM algorithm, if node 3 is set to import the clocks of node 1 and node 2. The clock chip on node 3 judges whether the physical quality of the clocks from node 1 and node 2 is good enough. First, the clock that does not meet the clock lock threshold on node 3 is excluded. Then node 3 judges the level of each clock according to the definition in the G.781 standard for the clock that meets the lock threshold (as shown in Table 1), and judges and compares the quality of the clocks uploaded by the node 1 and node 2 lines to identify the respective line clocks. Therefore, a clock that satisfies the clock lock threshold and has a high SSM quality level is preferred. After node 3 selects the clock with the highest quality level, it will configure the clock chip to lock the clock to complete the clock synchronization between the current node and the upstream clock node.
时间同步1588算法是根据本节点定时接收到的通告(Announce)报文,依照1588协议来比较Announce报文中的大师级优先级(grandmasterPriority)1等字段,完成时间选源,最终通过1588协议所描述的与时间源精确时间协议(Precision Time Protocol,PTP,1588的简称)对时报文的交互来完成同时间源的时间同步。如图1所示,节点3根据接收到的节点1和节点2发过来的Announce报文(如表2所示),按照1588协议的描述运行最优主时钟(Best master clock,BMC)算法比较出节点1和节点2中更优一路的时间,从而决定本节点需要与哪一路的时间做同步。节点3向优选出的某一路时间依据1588协议中规定的时间同步方法通过PTP对时报文的交互完成本节点同上游时间节点的时间同步。The time synchronization 1588 algorithm is based on the announcement (Announce) message received by the node regularly, and compares the grandmaster priority (grandmasterPriority) 1 and other fields in the Announce message according to the 1588 protocol to complete the time source selection, and finally passes the 1588 protocol. The interaction with the time message described in the Precision Time Protocol (PTP, abbreviation of 1588) with the time source completes the time synchronization with the time source. As shown in Figure 1, node 3 runs the best master clock (Best master clock, BMC) algorithm comparison according to the received Announce messages from node 1 and node 2 (as shown in Table 2) according to the description of the 1588 protocol The time of the better one of node 1 and node 2 is output, so as to determine which time the node needs to synchronize with. The time that the node 3 selects for a certain path is completed according to the time synchronization method specified in the 1588 protocol through the interaction of the PTP time message to complete the time synchronization between the current node and the upstream time node.
通常时钟时间网可分离,当时钟网的时钟注入源头或其上的某一时钟节点发生故障时,将导致时间网异常。在这种情况下,如果不关联时钟同步SSM算法与时间同步 1588算法,则使得时钟网上节点发生故障进行切换时,时间网上的节点不会进行切换。从而导致时间网上的节点选择错误的同步时间源进行时间同步。Usually the clock time network can be separated. When the clock of the clock network is injected into the source or a clock node on it fails, the time network will be abnormal. In this case, if the clock is not associated, the SSM algorithm is synchronized with the time To With the 1588 algorithm, when a node on the clock network fails to switch, the node on the time network will not switch. As a result, the nodes on the time network select the wrong synchronization time source for time synchronization.
表1.SSM信息的定义Table 1. Definition of SSM information
Figure PCTCN2014094420-appb-000001
Figure PCTCN2014094420-appb-000001
表2.Announce报文的定义Table 2. Announce message definition
Figure PCTCN2014094420-appb-000002
Figure PCTCN2014094420-appb-000002
发明内容Summary of the invention
本发明实施例提供了一种指示同步时间源选择的方法、装置及系统,以至少解决相关技术中,在时钟网上节点发生故障进行切换时,时间网上的节点不会进行切换,从而导致时间网上的节点选择错误的同步时间源进行时间同步的问题。The embodiment of the present invention provides a method, device and system for indicating the selection of a synchronization time source, so as to at least solve the problem that in the related art, when a node on the clock network fails to switch, the node on the time network will not switch, thereby causing the time network The node chooses the wrong synchronization time source for time synchronization.
根据本发明的一个实施例,提供了一种指示同步时间源选择的方法,包括:第一节点确定本节点时钟同步异常;所述第一节点输出所述第一节点的时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源。According to an embodiment of the present invention, there is provided a method for indicating the selection of a synchronization time source, including: a first node determines that the clock synchronization of the current node is abnormal; the first node outputs time status information of the first node, wherein, The time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select the output time of the second node other than the first node as the synchronization time source.
可选地,所述第一节点输出所述第一节点的时间状态信息,包括:所述第一节点输出通告报文,其中,所述通告报文中携带的用于其它节点进行时间选源的优先级的取值为所述第一节点所在的承载网波分系统中的最低优先级的值。Optionally, the output of the first node's time status information by the first node includes: the first node outputting a notification message, wherein the notification message is carried by other nodes for time source selection. The value of is the lowest priority value in the WDM system of the bearer network where the first node is located.
可选地,所述第一节点输出所述第一节点的时间状态信息之前,所述方法还包括:所述第一节点确定开启时钟时间关联功能。Optionally, before the first node outputs the time state information of the first node, the method further includes: the first node determines to enable a clock time correlation function.
可选地,在所述第一节点输出所述第一节点的时间状态信息之后,所述方法还包括:所述其它节点接收到所述时间状态信息,根据所述时间状态信息重新运行时间源选源算法,选择除所述第一节点之外的第二节点的输出时间为同步时间源。Optionally, after the first node outputs the time state information of the first node, the method further includes: the other node receives the time state information, and restarts the time source according to the time state information The source selection algorithm selects the output time of the second node other than the first node as the synchronization time source.
根据本发明的另一个实施例,提供了一种指示同步时间源选择的装置,包括:第一确定模块,设置为确定第一节点时钟同步异常;输出模块,设置为输出所述第一节点的时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源。 According to another embodiment of the present invention, there is provided a device for instructing the selection of a synchronization time source, comprising: a first determining module configured to determine that the clock synchronization of a first node is abnormal; and an output module configured to output the synchronization time source of the first node Time status information, wherein the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select the output time of the second node other than the first node as the synchronization time source. To
可选地,所述输出模块通过以下方式输出所述时间状态信息:输出通告报文,其中,所述通告报文中携带的用于其它节点进行时间选源的优先级的取值为所述第一节点所在的承载网波分系统中的最低优先级的值。Optionally, the output module outputs the time status information in the following manner: output a notification message, wherein the value of the priority for other nodes to select the time source carried in the notification message is the value The value of the lowest priority in the WDM system of the bearer network where the first node is located.
可选地,还包括:第二确定模块,设置为确定所述第一节点开启时钟时间关联功能。Optionally, it further includes: a second determining module configured to determine that the first node starts the clock time correlation function.
根据本发明的又一个实施例,提供了一种指示同步时间源选择的系统,包括:第一节点和所述第一节点所在的承载网波分系统中除所述第一节点之外的其他节点;其中,所述第一节点包括上述的装置,设置为在所述第一节点的时钟同步异常时,输出时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源;所述其他节点,设置为根据所述第一节点输出的所述时间状态信息,重新运行时间源选源算法,选择除所述第一节点之外的第二节点的输出时间为同步时间源。According to another embodiment of the present invention, there is provided a system for instructing synchronization time source selection, including: a first node and a bearer network wavelength division system where the first node is located, other than the first node Node; wherein, the first node includes the above-mentioned device, configured to output time status information when the clock synchronization of the first node is abnormal, wherein the time status information includes indicating that the first node clock is synchronized The abnormal indication information instructs other nodes to select the output time of a second node other than the first node as the synchronization time source; the other nodes are set to be based on the time status information output by the first node, Re-run the time source selection algorithm to select the output time of the second node other than the first node as the synchronization time source.
通过本发明实施例,承载网波分系统中的节点在时钟同步异常时,输出指示时钟同步异常的时间状态信息,在时钟网上节点发生故障进行切换时,时间网上的节点会根据该时间状态信息进行同步时间源的切换,建立了时钟同步与时间同步之间的关联,避免了时钟节点出现异常的时候有可能引出的错误时间同步。Through the embodiment of the present invention, when the node in the wavelength division system of the bearer network outputs the time status information indicating the abnormal clock synchronization when the clock synchronization is abnormal, when the node on the clock network fails to switch, the nodes on the time network will be based on the time status information Switching the synchronization time source establishes the association between clock synchronization and time synchronization, and avoids the error time synchronization that may be caused when the clock node is abnormal.
附图说明Description of the drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments and descriptions of the present invention are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1是根据相关技术的多节点时钟时间同步组网示意图;Figure 1 is a schematic diagram of multi-node clock time synchronization networking according to related technologies;
图2是根据本发明实施例的指示同步时间源选择的方法的流程图;2 is a flowchart of a method for indicating synchronization time source selection according to an embodiment of the present invention;
图3是根据本发明实施例的指示同步时间源选择的系统的结构示意图;Fig. 3 is a schematic structural diagram of a system for indicating synchronization time source selection according to an embodiment of the present invention;
图4是根据本发明实施例的指示同步时间源选择的装置的结构示意图;4 is a schematic structural diagram of an apparatus for indicating synchronization time source selection according to an embodiment of the present invention;
图5是本发明可选实施例的节点根据时钟同步状态关联输出时间状态信息的流程图; FIG. 5 is a flowchart of a node in an optional embodiment of the present invention to correlate and output time state information according to a clock synchronization state; To
图6是本发明可选实施例中时钟同步正常时下游节点的时钟时间源的选择示意图;6 is a schematic diagram of selecting a clock time source of a downstream node when the clock synchronization is normal in an optional embodiment of the present invention;
图7是本发明可选实施例中时钟时间关联算法开关没打开且时钟同步异常时下游节点的时间源的选择示意图;7 is a schematic diagram of the selection of the time source of the downstream node when the switch of the clock time association algorithm is not turned on and the clock synchronization is abnormal in an optional embodiment of the present invention;
图8是本发明可选实施例中时钟时间关联算法开关打开时钟同步且异常时下游节点的时间源的选择示意图。FIG. 8 is a schematic diagram of the selection of the time source of the downstream node when the clock synchronization algorithm switch is turned on and the clock synchronization is abnormal in an optional embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments. It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other if there is no conflict.
针对相关技术中存在的上述问题,本发明实施例提供了一种承载网波分系统中指示同步时间源选择的方法,该方法将时钟同步算法(例如,SSM算法)与时间同步算法(例如,1588算法)相关联。通过该方法在时钟时间网分离的情况下,时钟网节点异常发生切换时,时间网节点可根据需要进行相应切换。In view of the above-mentioned problems in related technologies, the embodiment of the present invention provides a method for indicating synchronization time source selection in a bearer network wavelength division system. The method combines a clock synchronization algorithm (e.g., SSM algorithm) with a time synchronization algorithm (e.g., 1588 algorithm). With this method, when the clock time network is separated, when the clock network node is abnormally switched, the time network node can switch accordingly as needed.
需要说明的是,本发明实施例中,“节点时钟同步正常”是指节点时钟芯片锁定到了上游线路过来的时钟。节点“时钟同步异常”是指节点时钟芯片判断出上游线路上的时钟没有可以锁定的。另外,在本发明实施例中,时间源的切换是指下游节点不再与本节点通过PTP对时报文完成时间的同步,下游节点决策出新的时间源后就会与新的时间源进行PTP对时报文交互来完成时间同步。It should be noted that, in the embodiment of the present invention, "the node clock is synchronized normally" means that the node clock chip is locked to the clock from the upstream line. The "clock synchronization abnormality" of the node means that the node clock chip determines that the clock on the upstream line cannot be locked. In addition, in the embodiment of the present invention, the switching of the time source means that the downstream node no longer completes time synchronization with the local node through the PTP time synchronization message, and the downstream node decides a new time source and then performs PTP with the new time source. Interact with time messages to complete time synchronization.
图2是根据本发明实施例的指示同步时间源选择的方法的流程图,如图2所示,该方法主要包括以下步骤:Fig. 2 is a flowchart of a method for indicating synchronization time source selection according to an embodiment of the present invention. As shown in Fig. 2, the method mainly includes the following steps:
步骤S202,第一节点确定本节点时钟同步异常。In step S202, the first node determines that the clock synchronization of the current node is abnormal.
在具体实施过程中,承载网波分系统中的第一节点可以按照现有方式确定其时钟同步是否异常。具体本发明实施例不作限定。In the specific implementation process, the first node in the wavelength division system of the bearer network can determine whether its clock synchronization is abnormal according to the existing method. The specific embodiments of the present invention are not limited.
步骤S204,所述第一节点输出所述第一节点的时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源。 Step S204: The first node outputs the time status information of the first node, where the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to choose to remove the first node. The output time of the second node other than the node is the synchronization time source. To
可选地,所述第一节点可以通过通告(Announce)报文输出所述时间状态信息,其中,所述通告报文中携带的用于其它节点进行时间选源的优先级(例如,Announce报文中的grandmasterPriority1字段)的取值为所述第一节点所在的承载网波分系统中的最低优先级的值。Optionally, the first node may output the time status information through an Announce message, where the Announce message carries a priority for other nodes to perform time source selection (for example, the Announce message). The value of the grandmasterPriority1 field in the text) is the lowest priority value in the WDM system of the bearer network where the first node is located.
可选地,所述第一节点输出所述第一节点的时间状态信息之前,所述方法还包括:所述第一节点确定开启时钟时间关联功能。在具体实施过程中,可以在节点中设置一个时钟时间关联开关,通过该开关来开启或关闭时钟时间关联功能。通过该可选实施方式,可以开启或关闭时钟时间关联功能,从而可以满足多种需求。Optionally, before the first node outputs the time state information of the first node, the method further includes: the first node determines to enable a clock time correlation function. In the specific implementation process, a clock time correlation switch can be set in the node, and the clock time correlation function can be turned on or off through the switch. Through this optional implementation manner, the clock time correlation function can be turned on or off, so that various requirements can be met.
在本发明实施例中,在所述第一节点输出所述第一节点的时间状态信息之后,所述方法还包括:所述其它节点接收到所述时间状态信息,根据所述时间状态信息重新运行时间源选源算法,选择除所述第一节点之外的第二节点的输出时间为同步时间源。In the embodiment of the present invention, after the first node outputs the time state information of the first node, the method further includes: the other nodes receive the time state information, and re-start according to the time state information. The running time source selection algorithm selects the output time of the second node other than the first node as the synchronization time source.
在本发明实施例的一个优选实施方式中,当承载网波分系统中本节点时钟同步异常的时候,需要判断时钟时间关联算法开关是否打开,如果时钟时间关联算法开关不打开,则时间同步算法仍然独立运行,时间同步路径保持不变。当承载网波分系统中本节点时钟同步异常的时候,如果时钟时间关联算法开关打开,则本节点的时间状态信息输出需要反应出时钟异常,具体对应于时间同步端口体现如下:本节点PTP端口Announce报文输出的grandmasterPriority1发送系统中最低优先级的值。承载网波分系统中的其他节点接收到的本节点Announce报文发生变化且包含的grandmasterPriority1为最低优先级,其他节点依照1588协议重新运行时间源选源算法,由于1588协议中描述的选源算法会首先比较grandmasterPriority1优先级的高低来决策出最终同步的时间源,这样grandmasterPriority1设置为最低优先级,会导致其他节点切换到其他时间源,不再同步到本节点的输出时间。In a preferred implementation of the embodiment of the present invention, when the clock synchronization of the local node in the bearer network's wavelength division system is abnormal, it is necessary to determine whether the clock time correlation algorithm switch is turned on. If the clock time correlation algorithm switch is not turned on, then the time synchronization algorithm It still runs independently, and the time synchronization path remains unchanged. When the clock synchronization of the local node in the WDM system of the bearer network is abnormal, if the clock time correlation algorithm switch is turned on, the time status information output of the local node needs to reflect the clock abnormality. The specific corresponding time synchronization port is as follows: the PTP port of this node The grandmasterPriority1 output of the Announce message sends the lowest priority value in the system. The Announce message of this node received by other nodes in the WDM system of the bearer network changes and contains grandmasterPriority1 as the lowest priority. Other nodes re-run the time source selection algorithm according to the 1588 protocol, due to the source selection algorithm described in the 1588 protocol It will first compare the priority of grandmasterPriority1 to determine the final synchronization time source, so that grandmasterPriority1 is set to the lowest priority, which will cause other nodes to switch to other time sources and no longer synchronize to the output time of this node.
通过本发明实施例提供的上述方法,在承载网波分系统中可以更合理的运用时钟同步与时间同步独立选源算法,建立了时钟同步与时间同步之间的关联,避免了时钟节点出现异常的时候有可能引出的错误时间同步。Through the above-mentioned method provided by the embodiments of the present invention, the independent source selection algorithm for clock synchronization and time synchronization can be used more reasonably in the wavelength division system of the bearer network, the association between clock synchronization and time synchronization is established, and the abnormality of the clock node is avoided. It may lead to the wrong time synchronization.
根据本发明实施例,还提供了一种指示同步时间源选择的系统。According to an embodiment of the present invention, a system for indicating the selection of a synchronization time source is also provided.
图3为根据本发明实施例的指示同步时间源选择的系统的结构示意图,如图3所示,该系统包括:第一节点30和所述第一节点所在的承载网波分系统中除所述第一节点之外的其他节点32;其中,所述第一节点32设置为在所述第一节点的时钟同步异常时,输出时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为 同步时间源;所述其他节点32,设置为根据所述第一节点30输出的所述时间状态信息,重新运行时间源选源算法,选择除所述第一节点30之外的第二节点的输出时间为同步时间源。Fig. 3 is a schematic structural diagram of a system for indicating synchronization time source selection according to an embodiment of the present invention. As shown in Fig. 3, the system includes: a first node 30 and a carrier network wavelength division system where the first node is located. Nodes 32 other than the first node; wherein, the first node 32 is set to output time status information when the clock synchronization of the first node is abnormal, wherein the time status information includes an indication of the The indication information that the clock synchronization of the first node is abnormal, instructs other nodes to select the output time of the second node other than the first node as To Synchronize the time source; the other nodes 32 are set to re-run the time source selection algorithm based on the time status information output by the first node 30 to select the second node except the first node 30 The output time is the synchronization time source.
可选地,第一节点30可以包括图4所示的指示同步时间源选择的装置。Optionally, the first node 30 may include the device for indicating synchronization time source selection as shown in FIG. 4.
图4是根据本发明实施例的指示同步时间源选择的装置的结构示意图,如图4所示,该装置主要包括:第一确定模块40,设置为确定第一节点时钟同步异常;输出模块42,设置为输出所述第一节点的时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源。4 is a schematic structural diagram of an apparatus for indicating synchronization time source selection according to an embodiment of the present invention. As shown in FIG. 4, the apparatus mainly includes: a first determining module 40 configured to determine that the clock synchronization of the first node is abnormal; and an output module 42 , Set to output the time status information of the first node, where the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select the first node other than the first node The output time of the two nodes is the synchronization time source.
可选地,所述输出模块42可以通过以下方式输出所述时间状态信息:输出通告报文,其中,所述通告报文中携带的用于其它节点进行时间选源的优先级的取值为所述第一节点所在的承载网波分系统中的最低优先级的值。Optionally, the output module 42 may output the time status information in the following manner: output a notification message, where the value of the priority for other nodes to select the time source carried in the notification message is The value of the lowest priority in the wavelength division system of the bearer network where the first node is located.
可选地,该装置还可以包括:第二确定模块,设置为确定所述第一节点开启时钟时间关联功能。Optionally, the device may further include: a second determining module configured to determine that the first node starts the clock time correlation function.
下面通过一个可选实施例,对本发明实施例中节点根据时钟同步状态关联输出时间状态信息的流程进行描述。In the following, an optional embodiment is used to describe the flow of nodes outputting time state information according to the clock synchronization state in the embodiment of the present invention.
图5为本发明可选实施例的节点根据时钟同步状态关联输出时间状态信息的流程图,如图5所示,主要包括以下步骤:Fig. 5 is a flowchart of an optional embodiment of the present invention for nodes to correlate and output time state information according to the clock synchronization state. As shown in Fig. 5, the main steps include the following steps:
步骤501:第一节点首先依据时钟同步SSM算法判断出本节点时钟同步是否正常。Step 501: The first node first determines whether the clock synchronization of the current node is normal according to the clock synchronization SSM algorithm.
步骤502:如果本节点时钟同步正常,则时间同步1588算法独立运行输出相应的Announce报文,下游时间节点选源算法不发生切换。如图6所示,下游节点3时钟时间优选到优先级高的节点1。Step 502: If the clock synchronization of the current node is normal, the time synchronization 1588 algorithm runs independently and outputs the corresponding Announce message, and the downstream time node source selection algorithm does not switch. As shown in Fig. 6, the clock time of the downstream node 3 is preferably to the node 1 with a higher priority.
步骤503:如果本节点时钟同步异常,则判断时钟时间关联算法开关是否打开,此关联算法开关作为可选判断,如果时钟时间关联算法开关没有打开则时间同步1588算法同步骤502。如图7所示,下游节点3时间同步1588算法不受时钟选择影响仍然选择到节点1的时间,这个时候节点1上由于时钟不再同步,其时间不再可信,会导致下游节点3同步到错误的时间源上。 Step 503: If the clock synchronization of the current node is abnormal, it is determined whether the clock time correlation algorithm switch is turned on. This correlation algorithm switch is used as an optional judgment. If the clock time correlation algorithm switch is not turned on, the time synchronization 1588 algorithm is the same as step 502. As shown in Figure 7, the time synchronization 1588 algorithm of downstream node 3 is not affected by the clock selection and still selects the time of node 1. At this time, because the clock on node 1 is no longer synchronized, its time is no longer credible, which will cause downstream node 3 to synchronize To the wrong time source. To
步骤504:如果本节点时钟同步异常,时钟时间关联算法开关打开,则本节点输出的Announce报文中的grandmasterPriority1优先级设置为系统最低优先级,以便下游节点可以切换时间源。如图8所示,节点1输出的Announce报文包含的grandmasterPriority1优先级被设置为了系统最低优先级。Step 504: If the clock synchronization of the current node is abnormal and the clock time correlation algorithm switch is turned on, the priority of grandmasterPriority1 in the Announce message output by the node is set to the lowest priority of the system, so that the downstream node can switch the time source. As shown in Figure 8, the priority of grandmasterPriority1 contained in the Announce message output by node 1 is set to the lowest priority of the system.
步骤505:下游节点时间同步1588算法判断出接收到的Announce报文发生变化,重新选择时间源。由于接收到的Announce报文中的grandmasterPriority1优先级被设置为了系统最低优先级,重新运行时间选源算法的结果会导致下游节点的时间同步源切换到时钟正常的上游节点上来。如图8所示,下游节点3时间同步1588算法会受时钟选择影响,使得下游节点3的时间能够倒换到正确的时间路径上来,最终节点3会选择时钟正常的节点2作为上游时间同步源。Step 505: The downstream node time synchronization 1588 algorithm determines that the received Announce message has changed, and reselects the time source. Since the grandmasterPriority1 priority in the received Announce message is set to the lowest priority of the system, the result of re-running the time source algorithm will cause the time synchronization source of the downstream node to switch to the upstream node with a normal clock. As shown in Fig. 8, the time synchronization 1588 algorithm of the downstream node 3 will be affected by the clock selection, so that the time of the downstream node 3 can be switched to the correct time path. Finally, the node 3 will select the node 2 with a normal clock as the upstream time synchronization source.
可选地,在上述步骤504中,也可以通过输出其他能够导致下游节点时间同步1588算法切换时间源的方法,使得下游节点能够切换到时钟正常的时间源上,使得整个承载网系统完成正确的时钟时间同步。Optionally, in the above step 504, it is also possible to output other methods that can cause the downstream node time synchronization 1588 algorithm to switch the time source, so that the downstream node can switch to the time source with the normal clock, so that the entire bearer network system can complete the correct Clock time synchronization.
从以上的描述中,可以看出,本发明实施例中,承载网波分系统中的节点在时钟同步异常时,输出指示时钟同步异常的时间状态信息,在时钟网上节点发生故障进行切换时,时间网上的节点会根据该时间状态信息进行同步时间源的切换,建立了时钟同步与时间同步之间的关联,避免了时钟节点出现异常的时候有可能引出的错误时间同步。From the above description, it can be seen that in the embodiment of the present invention, when a node in the bearer network's wavelength division system is abnormal in clock synchronization, it outputs time status information indicating that the clock synchronization is abnormal, and when a node on the clock network fails to switch, The nodes on the time network will switch the synchronization time source according to the time status information, establish the association between clock synchronization and time synchronization, and avoid the error time synchronization that may be caused when the clock node is abnormal.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Above, alternatively, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, and in some cases, they can be executed in a different order than here. Perform the steps shown or described, or fabricate them into individual integrated circuit modules respectively, or fabricate multiple modules or steps of them into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种指示同步时间源选择的方法、装置及系 统,具有以下有益效果:承载网波分系统中的节点在时钟同步异常时,输出指示时钟同步异常的时间状态信息,在时钟网上节点发生故障进行切换时,时间网上的节点会根据该时间状态信息进行同步时间源的切换,建立了时钟同步与时间同步之间的关联,避免了时钟节点出现异常的时候有可能引出的错误时间同步。 As described above, the method, device, and system for indicating the selection of a synchronization time source provided by the embodiments of the present invention To The system has the following beneficial effects: when the nodes in the wavelength division system of the bearer network output the time status information indicating the abnormal clock synchronization, when the nodes on the clock network fail to switch, the nodes on the time network will be based on the time status The information is switched to the synchronization time source, which establishes the association between clock synchronization and time synchronization, and avoids the error time synchronization that may be caused when the clock node is abnormal. To

Claims (8)

  1. 一种指示同步时间源选择的方法,包括:A method for indicating synchronization time source selection, including:
    第一节点确定本节点时钟同步异常;The first node determines that the clock synchronization of this node is abnormal;
    所述第一节点输出所述第一节点的时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源。The first node outputs the time status information of the first node, where the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select other than the first node The output time of the second node is the synchronization time source.
  2. 根据权利要求1所述的方法,其中,所述第一节点输出所述第一节点的时间状态信息,包括:所述第一节点输出通告报文,其中,所述通告报文中携带的用于其它节点进行时间选源的优先级的取值为所述第一节点所在的承载网波分系统中的最低优先级的值。The method according to claim 1, wherein the output of the first node's time status information by the first node comprises: the first node outputting a notification message, wherein the user information carried in the notification message The value of the priority of time source selection at other nodes is the lowest priority value in the wavelength division system of the bearer network where the first node is located.
  3. 根据权利要求1所述的方法,其中,所述第一节点输出所述第一节点的时间状态信息之前,所述方法还包括:所述第一节点确定开启时钟时间关联功能。The method according to claim 1, wherein before the first node outputs the time state information of the first node, the method further comprises: the first node determines to enable a clock time correlation function.
  4. 根据权利要求1至3中任一项所述的方法,其中,在所述第一节点输出所述第一节点的时间状态信息之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein, after the first node outputs the time state information of the first node, the method further comprises:
    所述其它节点接收到所述时间状态信息,根据所述时间状态信息重新运行时间源选源算法,选择除所述第一节点之外的第二节点的输出时间为同步时间源。The other node receives the time status information, re-runs the time source selection algorithm according to the time status information, and selects the output time of the second node other than the first node as the synchronization time source.
  5. 一种指示同步时间源选择的装置,包括:A device for indicating the selection of a synchronization time source, including:
    第一确定模块,设置为确定第一节点时钟同步异常;The first determining module is configured to determine that the clock synchronization of the first node is abnormal;
    输出模块,设置为输出所述第一节点的时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源。The output module is configured to output the time status information of the first node, wherein the time status information includes indication information indicating that the clock synchronization of the first node is abnormal, and instructs other nodes to select other than the first node The output time of the second node is the synchronization time source.
  6. 根据权利要求5所述的装置,其中,所述输出模块通过以下方式输出所述时间状态信息:输出通告报文,其中,所述通告报文中携带的用于其它节点进行时间选源的优先级的取值为所述第一节点所在的承载网波分系统中的最低优先级的值。 The device according to claim 5, wherein the output module outputs the time status information in the following manner: outputting a notification message, wherein the notification message carries a priority for other nodes to select a time source The value of the level is the lowest priority value in the wavelength division system of the bearer network where the first node is located. To
  7. 根据权利要求5所述的装置,其中,还包括:第二确定模块,设置为确定所述第一节点开启时钟时间关联功能。5. The device according to claim 5, further comprising: a second determining module configured to determine that the first node starts the clock time correlation function.
  8. 一种指示同步时间源选择的系统,包括:第一节点和所述第一节点所在的承载网波分系统中除所述第一节点之外的其他节点;其中,A system for indicating synchronization time source selection, comprising: a first node and other nodes in a wavelength division system of a bearer network where the first node is located except for the first node; wherein,
    所述第一节点包括权利要求5至7中任一项所述装置,设置为在所述第一节点的时钟同步异常时,输出时间状态信息,其中,所述时间状态信息中包含指示所述第一节点时钟同步异常的指示信息,指示其它节点选择除所述第一节点之外的第二节点的输出时间为同步时间源;The first node includes the device according to any one of claims 5 to 7, and is configured to output time status information when the clock synchronization of the first node is abnormal, wherein the time status information includes an indication of the The indication information that the clock synchronization of the first node is abnormal, instructs other nodes to select the output time of the second node other than the first node as the synchronization time source;
    所述其他节点,设置为根据所述第一节点输出的所述时间状态信息,重新运行时间源选源算法,选择除所述第一节点之外的第二节点的输出时间为同步时间源。 The other nodes are configured to re-run the time source selection algorithm according to the time status information output by the first node, and select the output time of a second node other than the first node as the synchronization time source. To
PCT/CN2014/094420 2014-07-11 2014-12-19 Method, apparatus and system for instructing to select synchronization time source WO2015184763A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410330416.X 2014-07-11
CN201410330416.XA CN105323086B (en) 2014-07-11 2014-07-11 Method, device and system for indicating synchronous time source selection

Publications (1)

Publication Number Publication Date
WO2015184763A1 true WO2015184763A1 (en) 2015-12-10

Family

ID=54766023

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094420 WO2015184763A1 (en) 2014-07-11 2014-12-19 Method, apparatus and system for instructing to select synchronization time source

Country Status (2)

Country Link
CN (1) CN105323086B (en)
WO (1) WO2015184763A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448548A (en) * 2019-09-06 2022-05-06 华为技术有限公司 Method, device, system and storage medium for realizing clock source selection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117062207A (en) * 2022-05-06 2023-11-14 华为技术有限公司 Communication method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110236031A1 (en) * 2010-03-29 2011-09-29 Fujitsu Limited Optical interface device, and abnormality monitoring method for input frequency deviation
CN102457346A (en) * 2010-10-29 2012-05-16 中兴通讯股份有限公司 Time synchronization realizing method and clock node
CN102957488A (en) * 2011-08-18 2013-03-06 中兴通讯股份有限公司 Method and device for selecting time synchronization sources
CN103686982A (en) * 2012-09-17 2014-03-26 中国移动通信集团公司 Method for time synchronization based on clock information and node equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138863A (en) * 2011-12-01 2013-06-05 中兴通讯股份有限公司 Time synchronization method and device
CN103166750B (en) * 2011-12-14 2018-03-09 中兴通讯股份有限公司 Synchronizing clock time source collocation method and device
CN102710358A (en) * 2012-06-13 2012-10-03 中兴通讯股份有限公司 Method, device and system for transmitting GM (Grandmaster Clock) state
CN103001720B (en) * 2012-11-12 2017-05-10 中兴通讯股份有限公司 Time synchronization method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110236031A1 (en) * 2010-03-29 2011-09-29 Fujitsu Limited Optical interface device, and abnormality monitoring method for input frequency deviation
CN102457346A (en) * 2010-10-29 2012-05-16 中兴通讯股份有限公司 Time synchronization realizing method and clock node
CN102957488A (en) * 2011-08-18 2013-03-06 中兴通讯股份有限公司 Method and device for selecting time synchronization sources
CN103686982A (en) * 2012-09-17 2014-03-26 中国移动通信集团公司 Method for time synchronization based on clock information and node equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448548A (en) * 2019-09-06 2022-05-06 华为技术有限公司 Method, device, system and storage medium for realizing clock source selection
EP4027585A4 (en) * 2019-09-06 2022-10-26 Huawei Technologies Co., Ltd. Method for achieving clock source selection, device, system and storage medium

Also Published As

Publication number Publication date
CN105323086B (en) 2020-03-10
CN105323086A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
US9270395B2 (en) Method for robust PTP synchronization with default 1588V2 profile
US9577774B2 (en) Time synchronization method and system
US10892884B2 (en) Method for updating clock synchronization topology, method for determining clock synchronization path, and device
CN103188110B (en) Based on the heat backup method that the cloud platform of zookeeper is served
CN102263630B (en) A kind of system of selection of clock source
US9654242B2 (en) Node and method for selecting synchronization source
EP2738971B1 (en) Method and device for clock synchronization
US20130227172A1 (en) Frequency distribution using precision time protocol
US10484163B2 (en) Measure and improve clock synchronization using combination of transparent and boundary clocks
US20160156427A1 (en) Clock recovery in a packet based network
WO2015165192A1 (en) Time synchronization method and device
US9363206B2 (en) Method and apparatus for selecting passive port of transparent clock node based on PTP
US20180262287A1 (en) Time synchronization packet processing method and device
WO2017152540A1 (en) Time source selection method and device
US8255732B2 (en) Self-stabilizing byzantine-fault-tolerant clock synchronization system and method
CN104092528A (en) Clock synchronization method and device
US11664914B2 (en) Clock synchronization method, system and device, and storage medium
WO2015184763A1 (en) Method, apparatus and system for instructing to select synchronization time source
US20190296845A1 (en) Simplified synchronized ethernet implementation
WO2016119362A1 (en) Clock synchronization method, router and cluster routing system
EP3306852A1 (en) Method and apparatus for implementing alternate bmc
WO2009000211A1 (en) Method, network device and network system for network clock tracing
CN113346974B (en) Method, apparatus, communication system and storage medium for clock synchronization
WO2016091050A1 (en) Time synchronization method and device
EP3016325B1 (en) Method and device for processing data forwarding

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

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

Country of ref document: EP

Kind code of ref document: A1