CN108270500A - A kind of method for synchronizing time and device - Google Patents

A kind of method for synchronizing time and device Download PDF

Info

Publication number
CN108270500A
CN108270500A CN201611254744.1A CN201611254744A CN108270500A CN 108270500 A CN108270500 A CN 108270500A CN 201611254744 A CN201611254744 A CN 201611254744A CN 108270500 A CN108270500 A CN 108270500A
Authority
CN
China
Prior art keywords
network node
optical wavelength
transmission path
wavelength signal
device network
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201611254744.1A
Other languages
Chinese (zh)
Other versions
CN108270500B (en
Inventor
韩柳燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communication Co Ltd
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 China Mobile Communications Group Co Ltd, China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611254744.1A priority Critical patent/CN108270500B/en
Publication of CN108270500A publication Critical patent/CN108270500A/en
Application granted granted Critical
Publication of CN108270500B publication Critical patent/CN108270500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0201Add-and-drop multiplexing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0261Optical medium access at the optical multiplex section layer
    • H04J14/0263Multiplex section layer wavelength assignment algorithms
    • 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

Landscapes

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

Abstract

The present invention provides a kind of method for synchronizing time and device, this method include:Each slave device network node is established to the transmission path of master network node so that the corresponding a length of mutually different optical wavelength of light wave of each transmission path;The synchronizing information of each slave device network node is controlled to load on the optical wavelength signal of corresponding optical wavelength, and be transmitted on the transmit path;Wherein, when the network node that transmission path is passed through includes master network node, slave device network node and an at least middleware network node, during optical wavelength signal transmits, middleware network node forwards the optical wavelength signal received in photosphere.Since the middleware network node of transmission path is when receiving the optical wavelength signal for carrying synchronizing information, it need not carry out photoelectric conversion processing, the optical wavelength signal directly is forwarded in photosphere, so as to which middleware network node is avoided to carry out the time error that photoelectric conversion processing introduces to optical wavelength signal.

Description

一种时间同步方法及装置A time synchronization method and device

技术领域technical field

本发明涉及互联网技术领域,尤其涉及一种时间同步方法及装置。The invention relates to the technical field of the Internet, in particular to a time synchronization method and device.

背景技术Background technique

TD-SCDMA、CDMA2000、TD-LTE等移动通信系统具有时间同步需求,基站之间需要满足微秒级的时间同步,否则会造成基站干扰,通话连接无法建立等。为了解决时间同步问题,高精度时间同步网络在上游设置时间服务器,经由中间节点进行逐级传递,将时间信息分发提供给末端基站。时间传送协议通常采用IEEE PTP(精确时间同步)协议。TD-SCDMA, CDMA2000, TD-LTE and other mobile communication systems have time synchronization requirements, and the base stations need to meet microsecond-level time synchronization, otherwise, it will cause base station interference and call connections cannot be established. In order to solve the problem of time synchronization, the high-precision time synchronization network sets up a time server upstream, and transmits time information step by step through intermediate nodes, and distributes time information to end base stations. The time transfer protocol usually adopts the IEEE PTP (Precise Time Synchronization) protocol.

现有技术中,同步网络在经过每级中间节点处理时,中间节点提取时间同步报文,处理计算得到时间偏差,用于调整本节点时间,并生成新的时间同步报文向下游发送,每个节点处理过程中均会引入时间误差,因此,经过多跳网络传输后时间误差累积较大。按照现有ITU-T G.8273.2标准,每跳中间节点引入的时间误差在几十纳秒量级,那么在经过网络传输之后很难满足百纳秒级的精度要求。因此现有时间同步方法中存在时间同步精度较差的技术问题。In the prior art, when the synchronization network is processed by intermediate nodes at each level, the intermediate nodes extract the time synchronization message, process and calculate the time deviation, which is used to adjust the time of the node, and generate a new time synchronization message to be sent downstream. Time errors will be introduced during the processing of each node, so the time errors accumulate after multi-hop network transmission. According to the existing ITU-T G.8273.2 standard, the time error introduced by each hop intermediate node is on the order of tens of nanoseconds, so it is difficult to meet the accuracy requirements of hundreds of nanoseconds after network transmission. Therefore, there is a technical problem of poor time synchronization accuracy in the existing time synchronization method.

发明内容Contents of the invention

本发明实施例提供一种时间同步方法及装置,以解决时间同步精度较差的技术问题。Embodiments of the present invention provide a time synchronization method and device to solve the technical problem of poor time synchronization accuracy.

第一方面,本发明实施例提供了一种时间同步方法,应用在同步传输网络中,包括:In the first aspect, the embodiment of the present invention provides a time synchronization method applied in a synchronous transmission network, including:

建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;Establishing transmission paths from each slave device network node to the master device network node, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths;

控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;Controlling the synchronization information of each slave device network node to be loaded on the optical wavelength signal corresponding to the optical wavelength, and transmitted on the transmission path, so that the slave device network node can perform time synchronization adjustment according to the synchronization information;

其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,在所述光波长信号传输的过程中,所述中间设备网络节点对接收到的所述光波长信号在光层转发。Wherein, when the network nodes passed by the transmission path include the master device network node, the slave device network node and at least one intermediate device network node, during the transmission of the optical wavelength signal, the intermediate device network node Forwarding the received optical wavelength signal at the optical layer.

第二方面,本发明实施例还提供一种时间同步方法,应用在同步传输网络的第二设备网络节点中,包括:In the second aspect, the embodiment of the present invention also provides a time synchronization method, which is applied to the second device network node of the synchronous transmission network, including:

接收主设备网络节点发送携带有同步信息的光波长信号,所述光波长信号为主设备网络节点到第二设备网络节点的传输路径所传输的信号,且所述传输路径具有独立的光波长;Receiving an optical wavelength signal carrying synchronization information sent by the master network node, the optical wavelength signal is a signal transmitted by a transmission path from the master network node to the second device network node, and the transmission path has an independent optical wavelength;

当所述第二设备网络节点为所述传输路径的末端节点时,根据所述同步信息进行时间同步调整;When the second device network node is an end node of the transmission path, perform time synchronization adjustment according to the synchronization information;

当所述第二设备网络节点为所述传输路径的中间设备网络节点时,根据所述传输路径控制所述光波长信号在光层转发。When the second device network node is an intermediate device network node of the transmission path, the forwarding of the optical wavelength signal at the optical layer is controlled according to the transmission path.

第三方面,本发明实施例还提供一种时间同步装置,应用在同步传输网络中,包括:In the third aspect, the embodiment of the present invention also provides a time synchronization device, which is applied in a synchronous transmission network, including:

路径建立模块,用于建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;A path establishment module, configured to establish transmission paths from each slave device network node to the master device network node, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths;

控制模块,用于控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;The control module is used to control the synchronization information of each slave device network node to be loaded on the optical wavelength signal corresponding to the optical wavelength, and to transmit on the transmission path, so that the slave device network node can perform the synchronization according to the synchronization information. Time synchronization adjustment;

其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,在所述光波长信号传输的过程中,所述中间设备网络节点对接收到的所述光波长信号在光层转发。Wherein, when the network nodes passed by the transmission path include the master device network node, the slave device network node and at least one intermediate device network node, during the transmission of the optical wavelength signal, the intermediate device network node Forwarding the received optical wavelength signal at the optical layer.

第四方面,本发明实施例还提供一种时间同步装置,应用在同步传输网络的第二设备网络节点中,包括:In the fourth aspect, the embodiment of the present invention also provides a time synchronization device, which is applied in the second equipment network node of the synchronization transmission network, including:

接收模块,用于接收主设备网络节点发送携带有同步信息的光波长信号,所述光波长信号为主设备网络节点到第二设备网络节点的传输路径所传输的信号,且所述传输路径具有独立的光波长;The receiving module is configured to receive an optical wavelength signal carrying synchronization information sent by the main equipment network node, the optical wavelength signal is a signal transmitted by a transmission path from the main equipment network node to the second equipment network node, and the transmission path has Independent light wavelength;

调整模块,用于当所述第二设备网络节点为所述传输路径的末端节点时,根据所述同步信息进行时间同步调整;An adjustment module, configured to perform time synchronization adjustment according to the synchronization information when the second device network node is an end node of the transmission path;

转发模块,用于当所述第二设备网络节点为所述传输路径的中间设备网络节点时,根据所述传输路径控制所述光波长信号在光层转发。A forwarding module, configured to control the forwarding of the optical wavelength signal at the optical layer according to the transmission path when the second device network node is an intermediate device network node of the transmission path.

这样,本发明实施例中,建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,在所述光波长信号传输的过程中,中间设备网络节点对接收到的所述光波长信号在光层转发。由于同步信息的传输过程中,对同步信息设置了独立的光波长,因此从设备网络节点可以直接提取携带有同步信息的光波长信号,并获得同步信息,从而可以缩短同步信息获取的时间,降低获取同步信息的难度,减小时间计算误差。与此同时,对于传输路径的中间设备网络节点在接收到携带同步信息的光波长信号时,无需进行光电转化处理,直接在光层转发该光波长信号,从而可以避免中间设备网络节点对光波长信号进行光电转化处理引入的时间误差。因此本发明提高了时间同步的精度,由于仅在传输路径的主设备网络节点和从设备网络节点引入误差,因此可以满足百纳秒级的精度要求。In this way, in the embodiment of the present invention, the transmission paths from each slave device network node to the master device network node are established, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths; The synchronization information is loaded on the optical wavelength signal corresponding to the optical wavelength, and transmitted on the transmission path, so that the slave device network node can perform time synchronization adjustment according to the synchronization information; wherein, when the transmission path passes When the network node includes the master device network node, the slave device network node, and at least one intermediate device network node, during the transmission of the optical wavelength signal, the intermediate device network node layer forwarding. Since an independent optical wavelength is set for the synchronization information during the transmission of the synchronization information, the optical wavelength signal carrying the synchronization information can be directly extracted from the device network node, and the synchronization information can be obtained, thereby shortening the time for obtaining the synchronization information and reducing the Difficulty in obtaining synchronization information and reducing time calculation errors. At the same time, when the intermediate device network node of the transmission path receives the optical wavelength signal carrying synchronization information, it does not need to perform photoelectric conversion processing, and directly forwards the optical wavelength signal at the optical layer, thereby avoiding the intermediate device network node from adjusting the optical wavelength signal. The time error introduced by the photoelectric conversion processing of the signal. Therefore, the present invention improves the accuracy of time synchronization, and since errors are only introduced in the master network node and the slave device network node of the transmission path, it can meet the precision requirement of hundreds of nanoseconds.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明第一实施例提供的时间同步方法的流程图;Fig. 1 is a flow chart of the time synchronization method provided by the first embodiment of the present invention;

图2是本发明提供的时间同步方法应用的网络架构示意图;Fig. 2 is a schematic diagram of the network architecture of the application of the time synchronization method provided by the present invention;

图3是本发明提供的时间同步方法的中间设备网络节点的信号传输示意图之一;Fig. 3 is one of the signal transmission schematic diagrams of the intermediate device network node of the time synchronization method provided by the present invention;

图4是本发明提供的时间同步方法的中间设备网络节点的信号传输示意图之二;Fig. 4 is the second schematic diagram of signal transmission of the intermediate device network node of the time synchronization method provided by the present invention;

图5是本发明提供的时间同步方法的时间同步方式示意图之一;Fig. 5 is one of schematic diagrams of the time synchronization mode of the time synchronization method provided by the present invention;

图6是本发明提供的时间同步方法的时间同步方式示意图之二;Fig. 6 is the second schematic diagram of the time synchronization mode of the time synchronization method provided by the present invention;

图7是本发明第二实施例提供的时间同步方法的流程图;FIG. 7 is a flow chart of the time synchronization method provided by the second embodiment of the present invention;

图8是本发明第三实施例提供的时间同步装置的结构图;FIG. 8 is a structural diagram of a time synchronization device provided by a third embodiment of the present invention;

图9是本发明第四实施例提供的时间同步装置的结构图。FIG. 9 is a structural diagram of a time synchronization device provided by a fourth embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

第一实施例first embodiment

参见图1,图1是本发明实施例提供的时间同步方法的流程图,该时间同步方法应用在同步传输网络中,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a time synchronization method provided by an embodiment of the present invention. The time synchronization method is applied in a synchronous transmission network, as shown in FIG. 1, and includes the following steps:

步骤101,建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;Step 101, establishing transmission paths from each slave device network node to the master device network node, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths;

本实施例提供的时间同步方法主要应用在同步传输网络中,用于对同步传输网络中各网络节点进行时间同步。The time synchronization method provided in this embodiment is mainly applied in a synchronous transmission network, and is used to perform time synchronization for each network node in the synchronous transmission network.

具体的,上述主设备网络节点可以为同步传输网络中间的一个节点,也可以是时间基准源设备;上述从设备网络节点为同步传输网络中的任意一个节点。由于在进行时间同步时,通常需要每个从设备网络节点均与主设备网络节点进行时间同步,因此在本实施例中,需要建立各从设备网络节点到主设备网络节点的传输路径。Specifically, the above-mentioned master device network node may be a node in the middle of the synchronous transmission network, or may be a time reference source device; the above-mentioned slave device network node may be any node in the synchronous transmission network. Since time synchronization usually requires each slave network node to perform time synchronization with the master network node, so in this embodiment, a transmission path from each slave network node to the master network node needs to be established.

应当说明的是,同步传输网络包括主设备网络节点和第二设备网络节点,所述第二设备网络节点包括从设备网络节点和中间设备网络节点,其中从设备网络节点为用于根据光波长信号中的同步信息进行时间同步的节点,也即传输路径上的末端节点;中间设备网络节点为用于对光波长信号进行转发的节点,也即上述传输路径上的中间节点。在一个传输路径中,可以仅包括主设备网络节点和从设备网络节点,也可以包括主设备网络节点、从设备网络节点和至少一个中间设备网络节点。It should be noted that the synchronous transmission network includes a master device network node and a second device network node, and the second device network node includes a slave device network node and an intermediate device network node, wherein the slave device network node is used for The node that performs time synchronization with the synchronization information in the transmission path, that is, the end node on the transmission path; the intermediate device network node is a node for forwarding the optical wavelength signal, that is, the intermediate node on the above transmission path. In one transmission path, it may include only the master network node and the slave device network node, or may include the master device network node, the slave device network node and at least one intermediate device network node.

如图2所示,在同步传输网络中,包括主设备网络节点N1、第二设备网络节点N2、第二设备网络节点N3、第二设备网络节点N4和第二设备网络节点N5。对此同步传输网络可以建立4条传输路径,分别是:N2到N1,N3到N1,N4到N1,以及N5到N1。As shown in FIG. 2 , the synchronous transmission network includes a master network node N1 , a second network node N2 , a second network node N3 , a second network node N4 and a second network node N5 . For this purpose, four transmission paths can be established in the synchronous transmission network, namely: N2 to N1, N3 to N1, N4 to N1, and N5 to N1.

该步骤中,在建立上述传输路径后,每一传输路径对应有独立的光波长。例如,路径N2到N1的光波长为λ1,路径N3到N1的光波长为λ2,路径N5到N1的光波长为λ4,路径N4到N1的光波长为λ4。其中λ1、λ2、λ3和λ4的值均不相等。In this step, after the above transmission paths are established, each transmission path corresponds to an independent optical wavelength. For example, the optical wavelength of the path N2 to N1 is λ1, the optical wavelength of the path N3 to N1 is λ2, the optical wavelength of the path N5 to N1 is λ4, and the optical wavelength of the path N4 to N1 is λ4. Among them, the values of λ1, λ2, λ3 and λ4 are not equal.

步骤102,控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;Step 102, control the synchronization information of each slave device network node to be loaded on the optical wavelength signal corresponding to the optical wavelength, and transmit on the transmission path, so that the slave device network node can perform time synchronization according to the synchronization information Adjustment;

其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,在所述光波长信号传输的过程中,中间设备网络节点对接收到的所述光波长信号在光层转发。Wherein, when the network nodes passed by the transmission path include the master device network node, the slave device network node and at least one intermediate device network node, during the transmission of the optical wavelength signal, the intermediate device network node The received optical wavelength signal is forwarded at the optical layer.

上述同步信息包括主设备网络节点向从设备网络节点发送的同步信息,以及从设备网络节点向主设备网络节点发送的同步消息。The above synchronization information includes the synchronization information sent by the master network node to the slave network node, and the synchronization message sent by the slave network node to the master network node.

本实施例中可以发送控制信令或者通过配置文件配置主设备和各个从设备对同步信息的传输方式,从而使得每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输。In this embodiment, control signaling can be sent or the transmission mode of synchronization information between the master device and each slave device can be configured through a configuration file, so that the synchronization information of each slave device network node is loaded on the optical wavelength signal corresponding to the optical wavelength, and transmission over the transmission path.

例如,上述路径N2到N1中仅包含主设备网络节点N1和从设备网络节点N2,上述路径N3到N1中包含主设备网络节点N1、中间设备网络节点N2和从设备网络节点N3。For example, the paths N2 to N1 include only the master network node N1 and the slave network node N2, and the paths N3 to N1 include the master network node N1, the intermediate device network node N2 and the slave network node N3.

主设备网络节点在向各第二设备网络节点发送同步信息时,第二设备网络节点N2的同步信息可以加载在光波长为λ1的光波长信号中进行传输,第二设备网络节点N3的同步信息可以加载在光波长为λ2的光波长信号中进行传输。此时,第二设备网络节点N2接收到光波长为λ1的光波长信号时,将对光波长信号转化为电信号处理,从而获取光波长信号携带的同步信息,并根据该同步信息进行时间同步处理;第二设备网络节点N2接收到光波长为λ2的光波长信号时,将会把该光波长信号直接在光层转发到第二设备网络节点N3,第二设备网络节点N3接收到光波长为λ2的光波长信号时,将对光波长信号转化为电信号处理,从而获取光波长信号携带的同步信息,并根据该同步信息进行时间同步处理。When the main device network node sends synchronization information to each second device network node, the synchronization information of the second device network node N2 can be loaded in an optical wavelength signal with an optical wavelength of λ1 for transmission, and the synchronization information of the second device network node N3 It can be loaded in an optical wavelength signal with an optical wavelength of λ2 for transmission. At this time, when the second device network node N2 receives the optical wavelength signal with an optical wavelength of λ1, it will convert the optical wavelength signal into an electrical signal for processing, thereby obtaining the synchronization information carried by the optical wavelength signal, and performing time synchronization according to the synchronization information Processing; when the second equipment network node N2 receives an optical wavelength signal with an optical wavelength of λ2, it will directly forward the optical wavelength signal to the second equipment network node N3 at the optical layer, and the second equipment network node N3 receives the optical wavelength signal When it is an optical wavelength signal of λ2, the optical wavelength signal is converted into an electrical signal for processing, so as to obtain the synchronization information carried by the optical wavelength signal, and perform time synchronization processing according to the synchronization information.

这样,本发明实施例中,建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,在所述光波长信号传输的过程中,所述中间设备网络节点对接收到的所述光波长信号在光层转发。由于同步信息的传输过程中,对同步信息设置了独立的光波长,因此从设备网络节点可以直接提取携带有同步信息的光波长信号,并获得同步信息,从而可以缩短同步信息获取的时间,降低获取同步信息的难度,减小时间计算误差。与此同时,对于传输路径的中间设备网络节点在接收到携带同步信息的光波长信号时,无需进行光电转化处理,直接在光层转发该光波长信号,从而可以避免中间设备网络节点对光波长信号进行光电转化处理引入的时间误差。因此本发明提高了时间同步的精度,由于仅在传输路径的主设备网络节点和从设备网络节点引入误差,因此可以满足百纳秒级的精度要求。In this way, in the embodiment of the present invention, the transmission paths from each slave device network node to the master device network node are established, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths; The synchronization information is loaded on the optical wavelength signal corresponding to the optical wavelength, and transmitted on the transmission path, so that the slave device network node can perform time synchronization adjustment according to the synchronization information; wherein, when the transmission path passes When the network node includes the master device network node, the slave device network node, and at least one intermediate device network node, during the transmission of the optical wavelength signal, the intermediate device network node is responsible for the received optical wavelength signal forwarded at the optical layer. Since an independent optical wavelength is set for the synchronization information during the transmission of the synchronization information, the optical wavelength signal carrying the synchronization information can be directly extracted from the device network node, and the synchronization information can be obtained, thereby shortening the time for obtaining the synchronization information and reducing the Difficulty in obtaining synchronization information and reducing time calculation errors. At the same time, when the intermediate device network node of the transmission path receives the optical wavelength signal carrying synchronization information, it does not need to perform photoelectric conversion processing, and directly forwards the optical wavelength signal at the optical layer, thereby avoiding the intermediate device network node from adjusting the optical wavelength signal. The time error introduced by the photoelectric conversion processing of the signal. Therefore, the present invention improves the accuracy of time synchronization, and since errors are only introduced in the master network node and the slave device network node of the transmission path, it can meet the precision requirement of hundreds of nanoseconds.

进一步的,对于控制中间设备网络节点进行光波长信号转发的控制方式可以根据实际需要进行设置,以下将以两个不同的实现方案进行详细说明。Further, the control mode for controlling the intermediate equipment network nodes to forward the optical wavelength signal can be set according to actual needs, and two different implementation schemes will be described in detail below.

例如,参照图3,上述中间设备网络节点对接收到的所述光波长信号在光层转发包括:For example, referring to FIG. 3, forwarding the received optical wavelength signal at the optical layer by the above-mentioned intermediate device network node includes:

基于所述中间设备网络节点中光合分波器,使得所述光波长信号在所述中间设备网络节点内直通。Based on the optical combiner and demultiplexer in the intermediate device network node, the optical wavelength signal is directly passed through the intermediate device network node.

如图3所示,在本实施方案中,中间设备网络节点中设有光合分波器和电处理单元,其中一光合分波器用于接收上游网络节点发送的光波长信号或向上游网络节点发送光波长信号,另一光合分波器用于接收下游网络节点发送的光波长信号或向下游网络节点发送光波长信号。As shown in Figure 3, in this embodiment, an optical multiplexer and demultiplexer and an electrical processing unit are arranged in the network node of the intermediate device, and one of the optical multiplexer and demultiplexer is used to receive the optical wavelength signal sent by the upstream network node or send it to the upstream network node For the optical wavelength signal, another optical multiplexer and demultiplexer is used to receive the optical wavelength signal sent by the downstream network node or send the optical wavelength signal to the downstream network node.

本实施例中可以对光合分波器进行设置,当接收到特定光波长的光波长信号时,对该光波长信号在中间设备网络节点中实现直通。即在接收到上游网络节点发送的光波长信号时,可以将该光波长信号直接发送给另一光合分波器,又另一光合分波器直接转发到下游网络节点。此外对于下游网络节点向上游网络节点发送的光波长信号的转发过程是一致的,在此不再赘述。In this embodiment, the optical combiner and demultiplexer can be set, and when an optical wavelength signal of a specific optical wavelength is received, the optical wavelength signal can be directly passed through the intermediate device network node. That is, when an optical wavelength signal sent by an upstream network node is received, the optical wavelength signal can be directly sent to another optical multiplexer/demultiplexer, and another optical multiplexer/demultiplexer directly forwards it to a downstream network node. In addition, the forwarding process of the optical wavelength signal sent by the downstream network node to the upstream network node is the same, and will not be repeated here.

参照图4,上述中间设备网络节点对接收到的所述光波长信号在光层转发包括:Referring to FIG. 4, forwarding of the received optical wavelength signal at the optical layer by the above-mentioned intermediate device network node includes:

基于所述中间设备网络节点中分叉复用(OADM Optical Add-Drop Multiplexer)器件进行波长的动态调度,使得光波长信号在所述中间设备网络节点内直通。Dynamic wavelength scheduling is performed based on an OADM Optical Add-Drop Multiplexer (OADM Optical Add-Drop Multiplexer) device in the intermediate device network node, so that optical wavelength signals are passed through in the intermediate device network node.

如图4所示,采用在中间设备网络节点中设有ROADM(Reconfigurable OpticalAdd-Drop Multiplexer,可重构光分插复用器),通过配置ROADM进行配置,控制ROADM进行波长的动态调度,使得光波长信号在所述中间设备网络节点内直通。应理解,本实施例对光波长信号的处理是指对携带有上述同步信息的光波长信号的处理,对于其他的光波长处理的方式可以根据现有的方式进行处理。As shown in Figure 4, a ROADM (Reconfigurable Optical Add-Drop Multiplexer) is installed in the network node of the intermediate equipment, and the configuration is performed by configuring the ROADM, and the ROADM is controlled to perform dynamic wavelength scheduling, so that the optical Wavelength signals pass through within the intermediate device network node. It should be understood that the processing of the optical wavelength signal in this embodiment refers to the processing of the optical wavelength signal carrying the synchronization information, and other optical wavelength processing methods can be processed according to existing methods.

应当说明的是,在本实施例中,在上述传输路径中传输的光波长信号除了携带有同步信息的光波长信号也可以包括其他业务的光波长信号。即,在本实施例中,用于同步传送的波长在不影响同步业务的情况下,可以在该波长上同时承载其他业务。例如,同步信息通过PTP以太报文承载,在该波长上可以同时承载其他业务的以太报文。It should be noted that, in this embodiment, the optical wavelength signals transmitted in the above transmission path may also include optical wavelength signals of other services in addition to the optical wavelength signals carrying synchronization information. That is, in this embodiment, the wavelength used for synchronous transmission can carry other services simultaneously on the wavelength without affecting the synchronous service. For example, synchronization information is carried by PTP Ethernet packets, and Ethernet packets of other services can be carried on this wavelength at the same time.

进一步的,为了降低上下行链路延时不对称性引入的误差,上述光波长用于传输所述光波长信号的波道的传输模式包括单纤双向模式。Further, in order to reduce the error introduced by the asymmetry of uplink and downlink delays, the transmission mode of the channel used to transmit the optical wavelength signal includes a single-fiber bidirectional mode.

即在本实施例中,对上述传输路径单独分配一个正向传递光波长和反向传递光波长,其中正向传递光波长用于正向同步信息的传送,反向传递光波长用于反向同步信息的传递,且正向同步信息和反向同步信息在同一光纤中进行传送,从而可以避免进行同步时,上下行链路延时不对称性引入的误差。可以理解的是,除了同步信息所在的波长外,其他业务所在波长仍然可以采用双纤双向模式进行传输。That is, in this embodiment, a forward transmission optical wavelength and a reverse transmission optical wavelength are separately assigned to the above-mentioned transmission path, wherein the forward transmission optical wavelength is used for forward synchronization information transmission, and the reverse transmission optical wavelength is used for reverse transmission. The synchronization information is transmitted, and the forward synchronization information and the reverse synchronization information are transmitted in the same optical fiber, so that the error caused by the asymmetry of the uplink and downlink delays during synchronization can be avoided. It can be understood that, except for the wavelength where the synchronization information is located, the wavelengths where other services are located can still be transmitted in the dual-fiber bidirectional mode.

进一步的,对于同步传输网络中进行同步传输的方式可以根据实际需要进行设置。例如在第一方案中,可以采用双向同步报文的方式进行从设备网络节点与主设备网络节点的时间同步,在第二方案中,还可以采用记录链路延时信息,通过主设备网络节点传输时间信息的方式进行时间同步,以下对此进行详细说明。Further, the manner of synchronous transmission in the synchronous transmission network can be set according to actual needs. For example, in the first solution, the time synchronization between the slave device network node and the master device network node can be performed by means of two-way synchronization messages. In the second solution, the link delay information can also be recorded, and the master device network node Time synchronization is performed by means of transmitting time information, which will be described in detail below.

在第一方案中,上述同步信息包括双向同步报文,所述双向同步报文用于供所述从设备网络节点根据所述双向同步报文计算与主设备网络节点的时间偏差值,并进行时间同步调整。In the first scheme, the above-mentioned synchronization information includes a two-way synchronization message, and the two-way synchronization message is used for the slave device network node to calculate the time offset value with the master device network node according to the two-way synchronization message, and perform Time synchronization adjustment.

如图5所示,在主设备网络节点与从设备网络节点之间可以周期性的进行双向同步报文交互,从而由从设备网络节点根据所述双向同步报文计算与主设备网络节点的时间偏差值,并周期性的进行时间同步调整,从而达到从设备网络节点与主设备网络节点之间的时间同步。As shown in Figure 5, two-way synchronization message interaction can be periodically performed between the master device network node and the slave device network node, so that the slave device network node calculates the time with the master device network node according to the two-way synchronization message Deviation value, and periodically adjust the time synchronization, so as to achieve time synchronization between the slave device network node and the master device network node.

在第二方案中,上述同步信息包括主设备网络节点向从设备网络节点发送的同步时间信息,所述同步时间信息用于供所述从设备网络节点按照所述同步时间信息和所述传输路径的链路延时信息进行时间同步调整。In the second solution, the synchronization information includes synchronization time information sent by the master network node to the slave network node, and the synchronization time information is used for the slave network node to follow the synchronization time information and the transmission path time synchronization adjustment based on the link delay information.

如图6所示,由于中间设备网络节点不作电处理,链路延迟基本恒定,因此首先获取该链路延时信息。具体的,可以通过双向报文交互方式获取链路延时信息,也可以通过其他方式(例如通过OTDR测算链路长度)获取链路延时信息,在此不做进一步的限定。在获取到链路延时信息后,从设备网络节点将会储存该链路延时信息,并在接收到主设备网络节点周期性发送的同步时间信息时,根据该同步时间信息和链路延时信息调整从设备网络节点自身的时间,从而达到从设备网络节点与主设备网络节点之间的时间同步。As shown in FIG. 6 , since the intermediate device network node does not perform electrical processing, the link delay is basically constant, so the link delay information is obtained first. Specifically, the link delay information may be obtained through two-way packet interaction, or may be obtained through other methods (such as calculating the link length by OTDR), which will not be further limited here. After obtaining the link delay information, the slave device network node will store the link delay information, and when receiving the synchronization time information periodically sent by the master device network node, according to the synchronization time information and link delay information The time information adjusts the time of the slave device network node itself, so as to achieve time synchronization between the slave device network node and the master device network node.

应理解,对于同步时间信息的发送方式可以根据实际需要进行设置,例如可以通过报文携带同步时间信息发送,或者可以通过脉冲信号携带时间信息进行发送,利用脉冲信号的上升沿或者下降沿指示时刻信息,从而进一步避免报文处理带来的时间误差。It should be understood that the transmission method of the synchronization time information can be set according to actual needs, for example, the synchronization time information can be transmitted through a message, or the time information can be transmitted through a pulse signal, and the rising edge or falling edge of the pulse signal is used to indicate the time information, thereby further avoiding time errors caused by message processing.

第二实施例second embodiment

参见图7,图7是本发明实施例提供的时间同步方法的流程图,该时间同步方法应用在同步传输网络的第二设备网络节点中,如图7所示,包括以下步骤:Referring to FIG. 7, FIG. 7 is a flowchart of a time synchronization method provided by an embodiment of the present invention. The time synchronization method is applied to a second device network node of a synchronous transmission network, as shown in FIG. 7, and includes the following steps:

步骤701,接收主设备网络节点发送携带有同步信息的光波长信号,所述光波长信号为主设备网络节点到第二设备网络节点的传输路径所传输的信号,且所述传输路径具有独立的光波长;Step 701: Receive an optical wavelength signal carrying synchronization information sent by the master network node, the optical wavelength signal is a signal transmitted by the transmission path from the master network node to the second device network node, and the transmission path has an independent light wavelength;

步骤702,当所述第二设备网络节点为所述传输路径的末端节点时,根据所述同步信息进行时间同步调整;Step 702, when the second device network node is an end node of the transmission path, perform time synchronization adjustment according to the synchronization information;

步骤703,当所述第二设备网络节点为所述传输路径的中间设备网络节点时,根据所述传输路径控制所述光波长信号在光层转发。Step 703: When the second device network node is an intermediate device network node of the transmission path, control the forwarding of the optical wavelength signal at the optical layer according to the transmission path.

本实施例中,同步传输网络包括主设备网络节点和第二设备网络节点,所述第二设备网络节点包括从设备网络节点和中间设备网络节点,其中从设备网络节点为用于根据光波长信号中的同步信息进行时间同步的节点,也即传输路径上的末端节点;中间设备网络节点为用于对光波长信号进行转发的节点,也即上述传输路径上的中间节点。在一个传输路径中,可以仅包括主设备网络节点和从设备网络节点,也可以包括主设备网络节点、从设备网络节点和至少一个中间设备网络节点。上述光波长信号传输到中间设备网络节点时,中间网络节点将会对光波长信号进行转发,光波长信号传输到从设备网络节点时,从设备网络节点将会根据光波长信号中的同步信息进行时间同步。具体的时间同步的方式可以参照上述实施例,在此不再赘述。In this embodiment, the synchronous transmission network includes a master device network node and a second device network node, and the second device network node includes a slave device network node and an intermediate device network node, wherein the slave device network node is used for The node that performs time synchronization with the synchronization information in the transmission path, that is, the end node on the transmission path; the intermediate device network node is a node for forwarding the optical wavelength signal, that is, the intermediate node on the above transmission path. In one transmission path, it may include only the master network node and the slave device network node, or may include the master device network node, the slave device network node and at least one intermediate device network node. When the above-mentioned optical wavelength signal is transmitted to the intermediate device network node, the intermediate network node will forward the optical wavelength signal, and when the optical wavelength signal is transmitted to the slave device network node, the slave device network node will perform synchronization according to the synchronization information in the optical wavelength signal. Time synchronization. For a specific manner of time synchronization, reference may be made to the foregoing embodiments, and details are not repeated here.

进一步的,对于光波长信号转发的控制方式可以根据实际需要进行设置,以下将以两个不同的实现方案进行详细说明。Further, the control mode for optical wavelength signal forwarding can be set according to actual needs, and two different implementation solutions will be described in detail below.

例如,参照图3,上述根据所述传输路径控制所述光波长信号在光层转发包括:For example, referring to FIG. 3, the above-mentioned control of the forwarding of the optical wavelength signal at the optical layer according to the transmission path includes:

基于第二设备网络节点中光合分波器使得所述光波长信号在所述第二设备网络节点内直通,以将所述光波长信号转发至传输路径的下一网络节点。Based on the optical combiner and demultiplexer in the second device network node, the optical wavelength signal is passed through in the second device network node, so as to forward the optical wavelength signal to the next network node of the transmission path.

如图3所示,在本实施方案中,第二设备网络节点中设有光合分波器和电处理单元,其中一光合分波器用于接收上游网络节点发送的光波长信号或向上游网络节点发送光波长信号,另一光合分波器用于接收下游网络节点发送的光波长信号或向下游网络节点发送光波长信号。As shown in Figure 3, in this embodiment, an optical multiplexer and demultiplexer and an electrical processing unit are arranged in the second equipment network node, wherein an optical multiplexer and demultiplexer is used to receive the optical wavelength signal sent by the upstream network node or to transmit the optical wavelength signal to the upstream network node The optical wavelength signal is sent, and the other optical multiplexer/demultiplexer is used to receive the optical wavelength signal sent by the downstream network node or send the optical wavelength signal to the downstream network node.

本实施例中,可以对光合分波器进行设置,当接收到特定光波长的光波长信号时,对该光波长信号在第二设备网络节点中实现直通。即在接收到上游网络节点发送的光波长信号时,可以将该光波长信号直接发送给另一光合分波器,又另一光合分波器直接转发到下游网络节点。此外对于下游网络节点向上游网络节点发送的光波长信号的转发过程是一致的,在此不再赘述。In this embodiment, the optical multiplexer/demultiplexer may be set so that when an optical wavelength signal of a specific optical wavelength is received, the optical wavelength signal is passed through in the second device network node. That is, when an optical wavelength signal sent by an upstream network node is received, the optical wavelength signal can be directly sent to another optical multiplexer/demultiplexer, and another optical multiplexer/demultiplexer directly forwards it to a downstream network node. In addition, the forwarding process of the optical wavelength signal sent by the downstream network node to the upstream network node is the same, and will not be repeated here.

参照图4,上述根据所述传输路径控制所述光波长信号在光层转发包括:Referring to FIG. 4, the above-mentioned control of the optical wavelength signal forwarding at the optical layer according to the transmission path includes:

基于所述第二设备网络节点中分叉复用(OADM Optical Add-Drop Multiplexer)器件进行波长的动态调度,使得光波长信号在所述第二设备网络节点内直通。Dynamic wavelength scheduling is performed based on an OADM Optical Add-Drop Multiplexer (OADM Optical Add-Drop Multiplexer) device in the second device network node, so that optical wavelength signals are passed through in the second device network node.

如图4所示,采用在第二设备网络节点中设有ROADM(Reconfigurable OpticalAdd-Drop Multiplexer,可重构光分插复用器),通过配置ROADM进行配置,控制ROADM进行波长的动态调度,使得光波长信号在所述中间设备网络节点内直通。应理解,本实施例对光波长信号的处理是指对携带有上述同步信息的光波长信号的处理,对于其他的光波长处理的方式可以根据现有的方式进行处理。As shown in Figure 4, adopt ROADM (Reconfigurable Optical Add-Drop Multiplexer, reconfigurable optical add-drop multiplexer) in the second equipment network node, configure by configuring ROADM, control ROADM to carry out dynamic scheduling of wavelength, make Optical wavelength signals are passed through within the intermediate device network node. It should be understood that the processing of the optical wavelength signal in this embodiment refers to the processing of the optical wavelength signal carrying the synchronization information, and other optical wavelength processing methods can be processed according to existing methods.

本发明实施例中,接收主设备网络节点发送携带有同步信息的光波长信号,所述光波长信号为主设备网络节点到所述第二设备网络节点的传输路径所传输的信号,且所述传输路径具有独立的光波长;当所述第二设备网络节点为所述传输路径的末端节点时,根据所述同步信息进行时间同步调整;当所述第二设备网络节点为所述传输路径的中间设备网络节点时,根据所述传输路径控制所述光波长信号在光层转发。由于同步信息的传输过程中,对同步信息设置了独立的光波长,因此第二设备网络节点可以直接提取携带有同步信息的光波长信号,并获得同步信息,从而可以缩短同步信息获取的时间,降低获取同步信息的难度,减小时间计算误差。In the embodiment of the present invention, receiving the optical wavelength signal carrying the synchronization information sent by the main equipment network node, the optical wavelength signal is a signal transmitted by the transmission path from the main equipment network node to the second equipment network node, and the The transmission path has an independent optical wavelength; when the second device network node is an end node of the transmission path, time synchronization adjustment is performed according to the synchronization information; when the second device network node is an end node of the transmission path When the intermediate device is a network node, the forwarding of the optical wavelength signal at the optical layer is controlled according to the transmission path. Since an independent optical wavelength is set for the synchronization information during the transmission of the synchronization information, the second device network node can directly extract the optical wavelength signal carrying the synchronization information and obtain the synchronization information, thereby shortening the time for obtaining the synchronization information. Reduce the difficulty of obtaining synchronization information and reduce time calculation errors.

第三实施例third embodiment

参见图8,图8是本发明实施提供的时间同步装置的结构图,该时间同步装置应用在同步传输网络中,能够实现第一实施例中时间同步方法的细节,并达到相同的效果。如图8所示,时间同步装置800包括路径建立模块801和控制模块802,其中:Referring to FIG. 8, FIG. 8 is a structural diagram of a time synchronization device provided by the implementation of the present invention. The time synchronization device is applied in a synchronous transmission network and can realize the details of the time synchronization method in the first embodiment and achieve the same effect. As shown in FIG. 8, the time synchronization device 800 includes a path establishment module 801 and a control module 802, wherein:

路径建立模块801,用于建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;Path establishment module 801, configured to establish transmission paths from each slave device network node to the master device network node, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths;

控制模块802,用于控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;The control module 802 is configured to control the synchronization information of each slave device network node to be loaded on the optical wavelength signal corresponding to the optical wavelength, and to transmit on the transmission path, so that the slave device network node can Perform time synchronization adjustments;

其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,所述控制模块802还用于在所述光波长信号传输的过程中,中间设备网络节点对接收到的所述光波长信号在光层转发。Wherein, when the network nodes passed by the transmission path include the master device network node, the slave device network node and at least one intermediate device network node, the control module 802 is also used in the process of transmitting the optical wavelength signal wherein, the intermediate device network node forwards the received optical wavelength signal at the optical layer.

可选的,所述中间设备网络节点具体用于:基于所述中间设备网络节点中光合分波器,使得所述光波长信号在所述中间设备网络节点内直通。Optionally, the intermediate device network node is specifically configured to: make the optical wavelength signal pass through in the intermediate device network node based on the optical multiplexer/demultiplexer in the intermediate device network node.

可选的,所述中间设备网络节点具体用于,基于所述中间设备网络节点中分叉复用器件进行波长的动态调度,使得光波长信号在所述中间设备网络节点内直通。Optionally, the intermediate device network node is specifically configured to perform dynamic wavelength scheduling based on the fork multiplexing device in the intermediate device network node, so that optical wavelength signals are directly passed through in the intermediate device network node.

可选的,所述光波长用于传输所述光波长信号的波道的传输模式包括单纤双向模式。Optionally, the transmission mode of the optical wavelength channel used to transmit the optical wavelength signal includes a single-fiber bidirectional mode.

可选的,所述同步信息包括双向同步报文,所述双向同步报文用于供所述从设备网络节点根据所述双向同步报文计算与主设备网络节点的时间偏差值,并进行时间同步调整。Optionally, the synchronization information includes a two-way synchronization message, and the two-way synchronization message is used for the slave device network node to calculate the time offset value with the master device network node according to the two-way synchronization message, and perform time Synchronized adjustments.

可选的,所述同步信息包括主设备网络节点向从设备网络节点发送的同步时间信息,所述同步时间信息用于供所述从设备网络节点按照所述同步时间信息和所述传输路径的链路延时信息进行时间同步调整。Optionally, the synchronization information includes synchronization time information sent by the master network node to the slave network node, and the synchronization time information is used for the slave network node to follow the synchronization time information and the transmission path Link delay information for time synchronization adjustment.

这样,本发明实施例中,建立各从设备网络节点到主设备网络节点的传输路径,使得每一所述传输路径对应的光波长为互不相同的光波长;控制每一从设备网络节点的同步信息加载在对应光波长的光波长信号上,并在所述传输路径上进行传输,使得所述从设备网络节点能够根据所述同步信息进行时间同步调整;其中,当所述传输路径所经过的网络节点包括所述主设备网络节点、从设备网络节点和至少一中间设备网络节点时,在所述光波长信号传输的过程中,控制中间设备网络节点对接收到的所述光波长信号在光层转发。由于同步信息的传输过程中,对同步信息设置了独立的光波长,因此从设备网络节点可以直接提取携带有同步信息的光波长信号,并获得同步信息,从而可以缩短同步信息获取的时间,降低获取同步信息的难度,减小时间计算误差。与此同时,对于传输路径的中间设备网络节点在接收到携带同步信息的光波长信号时,无需进行光电转化处理,直接在光层转发该光波长信号,从而可以避免中间设备网络节点对光波长信号进行光电转化处理引入的时间误差。因此本发明提高了时间同步的精度,由于仅在传输路径的主设备网络节点和从设备网络节点引入误差,因此可以满足百纳秒级的精度要求。In this way, in the embodiment of the present invention, the transmission paths from each slave device network node to the master device network node are established, so that the optical wavelengths corresponding to each of the transmission paths are different optical wavelengths; The synchronization information is loaded on the optical wavelength signal corresponding to the optical wavelength, and transmitted on the transmission path, so that the slave device network node can perform time synchronization adjustment according to the synchronization information; wherein, when the transmission path passes When the network node includes the master device network node, the slave device network node and at least one intermediate device network node, during the transmission of the optical wavelength signal, the intermediate device network node controls the received optical wavelength signal at Optical layer forwarding. Since an independent optical wavelength is set for the synchronization information during the transmission of the synchronization information, the optical wavelength signal carrying the synchronization information can be directly extracted from the device network node, and the synchronization information can be obtained, thereby shortening the time for obtaining the synchronization information and reducing the Difficulty in obtaining synchronization information and reducing time calculation errors. At the same time, when the intermediate device network node of the transmission path receives the optical wavelength signal carrying synchronization information, it does not need to perform photoelectric conversion processing, and directly forwards the optical wavelength signal at the optical layer, thereby avoiding the intermediate device network node from adjusting the optical wavelength signal. The time error introduced by the photoelectric conversion processing of the signal. Therefore, the present invention improves the accuracy of time synchronization, and since errors are only introduced in the master network node and the slave device network node of the transmission path, it can meet the precision requirement of hundreds of nanoseconds.

第四实施例Fourth embodiment

参见图9,图9是本发明实施提供的时间同步装置的结构图,该时间同步装置应用在同步传输网络的第二设备网络节点中,能够实现第二实施例中时间同步方法的细节,并达到相同的效果。如图9所示,时间同步装置900包括接收模块901、调整模块902和转发模块903,其中:Referring to FIG. 9, FIG. 9 is a structural diagram of a time synchronization device provided by the implementation of the present invention. The time synchronization device is applied in the second device network node of the synchronous transmission network, and can realize the details of the time synchronization method in the second embodiment, and achieve the same effect. As shown in Figure 9, the time synchronization device 900 includes a receiving module 901, an adjusting module 902 and a forwarding module 903, wherein:

接收模块901,用于接收主设备网络节点发送携带有同步信息的光波长信号,所述光波长信号为主设备网络节点到第二设备网络节点的传输路径所传输的信号,且所述传输路径具有独立的光波长;The receiving module 901 is configured to receive an optical wavelength signal carrying synchronization information sent by the master device network node, the optical wavelength signal is a signal transmitted by a transmission path from the master device network node to the second device network node, and the transmission path have independent light wavelengths;

调整模块902,用于所述第二设备网络节点为所述传输路径的末端节点时,根据所述同步信息进行时间同步调整;An adjustment module 902, configured to perform time synchronization adjustment according to the synchronization information when the second device network node is an end node of the transmission path;

转发模块903,用于所述第二设备网络节点为所述传输路径的中间设备网络节点时,根据所述传输路径控制所述光波长信号在光层转发。The forwarding module 903 is configured to control the forwarding of the optical wavelength signal at the optical layer according to the transmission path when the second device network node is an intermediate device network node of the transmission path.

可选的,所述转发模块903具体用于:基于第二设备网络节点中光合分波器使得所述光波长信号在所述第二设备网络节点内直通,以将所述光波长信号转发至传输路径的下一网络节点。Optionally, the forwarding module 903 is specifically configured to: make the optical wavelength signal pass through in the second equipment network node based on the optical multiplexer and demultiplexer in the second equipment network node, so as to forward the optical wavelength signal to The next network node on the transmission path.

转发模块903,所述转发模块903具体用于:控制所述第二设备网络节点中分叉复用器件进行波长的动态调度,使得光波长信号在所述第二设备网络节点内直通,以将所述光波长信号转发至传输路径的下一网络节点。A forwarding module 903, the forwarding module 903 is specifically configured to: control the fork multiplexing device in the second equipment network node to perform wavelength dynamic scheduling, so that the optical wavelength signal is directly passed in the second equipment network node, so that the The optical wavelength signal is forwarded to the next network node on the transmission path.

本发明实施例中,接收主设备网络节点发送携带有同步信息的光波长信号,所述光波长信号为主设备网络节点到所述第二设备网络节点的传输路径所传输的信号,且所述传输路径具有独立的光波长;当所述第二设备网络节点为所述传输路径的末端节点时,根据所述同步信息进行时间同步调整;当所述第二设备网络节点为所述传输路径的中间设备网络节点时,根据所述传输路径控制所述光波长信号在光层转发。由于同步信息的传输过程中,对同步信息设置了独立的光波长,因此第二设备网络节点可以直接提取携带有同步信息的光波长信号,并获得同步信息,从而可以缩短同步信息获取的时间,降低获取同步信息的难度,减小时间计算误差。In the embodiment of the present invention, receiving the optical wavelength signal carrying the synchronization information sent by the main equipment network node, the optical wavelength signal is a signal transmitted by the transmission path from the main equipment network node to the second equipment network node, and the The transmission path has an independent optical wavelength; when the second device network node is an end node of the transmission path, time synchronization adjustment is performed according to the synchronization information; when the second device network node is an end node of the transmission path When the intermediate device is a network node, the forwarding of the optical wavelength signal at the optical layer is controlled according to the transmission path. Since an independent optical wavelength is set for the synchronization information during the transmission of the synchronization information, the second device network node can directly extract the optical wavelength signal carrying the synchronization information and obtain the synchronization information, thereby shortening the time for obtaining the synchronization information. Reduce the difficulty of obtaining synchronization information and reduce time calculation errors.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (18)

1. a kind of method for synchronizing time, is applied in synchronous transmission network, which is characterized in that including:
Each slave device network node is established to the transmission path of master network node so that each transmission path is corresponding The a length of mutually different optical wavelength of light wave;
The synchronizing information of each slave device network node is controlled to load on the optical wavelength signal of corresponding optical wavelength, and in the biography It is transmitted on defeated path so that the slave device network node can carry out time synchronization adjustment according to the synchronizing information;
Wherein, when the network node that the transmission path is passed through includes the master network node, slave device network node During an at least middleware network node, during the optical wavelength signal transmits, the middleware network node The optical wavelength signal received is forwarded in photosphere.
2. according to the method described in claim 1, it is characterized in that, the middleware network node is to the light that receives Wavelength signals include in photosphere forwarding:
Based on optical multiplexer/demultiplexer in the middleware network node so that the optical wavelength signal is in the middleware network It is led directly in node.
3. according to the method described in claim 1, it is characterized in that, the middleware network node is to the light that receives Wavelength signals include in photosphere forwarding:
The dynamic dispatching of wavelength is carried out based on forking multiple device in the middleware network node so that optical wavelength signal exists It is led directly in the middleware network node.
4. according to the method described in claim 1, it is characterized in that, the optical wavelength is used for transmission the wave of the optical wavelength signal The transmission mode in road includes single fiber bi-directional pattern.
5. method according to any one of claims 1 to 4, which is characterized in that the synchronizing information includes bi-directional synchronization report Text, the bi-directional synchronization message are used to be calculated and main equipment net according to the bi-directional synchronization message for the slave device network node The reporting of network node, and carry out time synchronization adjustment.
6. method according to any one of claims 1 to 4, which is characterized in that the synchronizing information includes master network Information synchronization time that node is sent to slave device network node, information synchronization time are used to supply the slave device network section Point carries out time synchronization adjustment according to the link delay information of information synchronization time and the transmission path.
7. a kind of method for synchronizing time is applied in the second device network node of synchronous transmission network, which is characterized in that packet It includes:
The optical wavelength signal that the transmission of master network node carries synchronizing information is received, the optical wavelength signal is main facility network The signal that the transmission path of network node to the second device network node is transmitted, and the transmission path has independent light Wavelength;
When the second device network node is the endpoint node of the transmission path, the time is carried out according to the synchronizing information Synchronous adjustment;
When the second device network node is the middleware network node of the transmission path, according to the transmission path The optical wavelength signal is controlled to be forwarded in photosphere.
8. the method according to the description of claim 7 is characterized in that described control the light wave long letter according to the transmission path Number include the step of photosphere forwards:
Cause the optical wavelength signal in the second device network node based on optical multiplexer/demultiplexer in the second device network node It is interior straight-through, the optical wavelength signal is forwarded to next network node of transmission path.
9. the method according to the description of claim 7 is characterized in that described control the light wave long letter according to the transmission path Number include the step of photosphere forwards:
Control the dynamic dispatching of forking multiple device progress wavelength in the second device network node so that optical wavelength signal exists It is led directly in the second device network node, the optical wavelength signal is forwarded to next network node of transmission path.
10. a kind of time synchronism apparatus, is applied in synchronous transmission network, which is characterized in that including:
Module is established in path, for establishing each slave device network node to the transmission path of master network node so that each The corresponding a length of mutually different optical wavelength of light wave of the transmission path;
Control module, for controlling the loading of the synchronizing information of each slave device network node in the optical wavelength signal of corresponding optical wavelength On, and be transmitted on the transmit path so that the slave device network node can be carried out according to the synchronizing information Time synchronization adjusts;
Wherein, when the network node that the transmission path is passed through includes the master network node, slave device network node During an at least middleware network node, during the optical wavelength signal transmits, the middleware network node The optical wavelength signal received is forwarded in photosphere.
11. device according to claim 10, which is characterized in that the middleware network node is specifically used for:It is based on Optical multiplexer/demultiplexer in the middleware network node so that the optical wavelength signal is straight in the middleware network node It is logical.
12. device according to claim 10, which is characterized in that the middleware network node is specifically used for, and is based on Forking multiple device carries out the dynamic dispatching of wavelength in the middleware network node so that optical wavelength signal is in the centre It is led directly in device network node.
13. device according to claim 10, which is characterized in that the optical wavelength is used for transmission the optical wavelength signal The transmission mode of radio frequency channel includes single fiber bi-directional pattern.
14. according to claim 10 to 13 any one of them device, which is characterized in that the synchronizing information includes bi-directional synchronization Message, the bi-directional synchronization message is used to be calculated according to the bi-directional synchronization message for the slave device network node and main equipment The reporting of network node, and carry out time synchronization adjustment.
15. according to claim 10 to 13 any one of them device, which is characterized in that the synchronizing information includes main equipment net Information synchronization time that network node is sent to slave device network node, information synchronization time are used to supply the slave device network Node carries out time synchronization adjustment according to the link delay information of information synchronization time and the transmission path.
16. a kind of time synchronism apparatus is applied in the second device network node of synchronous transmission network, which is characterized in that packet It includes:
Receiving module, for receiving the optical wavelength signal that the transmission of master network node carries synchronizing information, the optical wavelength The signal that signal is transmitted by the transmission path of master network node to the second device network node, and the transmission path has There is independent optical wavelength;
Module is adjusted, for when the second device network node is the endpoint node of the transmission path, according to described same It walks information and carries out time synchronization adjustment;
Forwarding module, for when the second device network node be the transmission path middleware network node when, root The optical wavelength signal is controlled to be forwarded in photosphere according to the transmission path.
17. device according to claim 16, which is characterized in that the forwarding module is specifically used for:Based on the second equipment Optical multiplexer/demultiplexer causes the optical wavelength signal to be led directly in the second device network node in network node, by the light Wavelength signals are forwarded to next network node of transmission path.
18. device according to claim 16, which is characterized in that the forwarding module is specifically used for:Control described second Forking multiple device carries out the dynamic dispatching of wavelength in device network node so that optical wavelength signal is in second device network It is led directly in node, the optical wavelength signal is forwarded to next network node of transmission path.
CN201611254744.1A 2016-12-30 2016-12-30 A time synchronization method and device Active CN108270500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611254744.1A CN108270500B (en) 2016-12-30 2016-12-30 A time synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611254744.1A CN108270500B (en) 2016-12-30 2016-12-30 A time synchronization method and device

Publications (2)

Publication Number Publication Date
CN108270500A true CN108270500A (en) 2018-07-10
CN108270500B CN108270500B (en) 2019-11-08

Family

ID=62754507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611254744.1A Active CN108270500B (en) 2016-12-30 2016-12-30 A time synchronization method and device

Country Status (1)

Country Link
CN (1) CN108270500B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471356A (en) * 2018-09-27 2019-03-15 中国移动通信集团江苏有限公司 Timing signal processing method, device, equipment, medium and system
CN114630402A (en) * 2021-11-23 2022-06-14 杭州安脉盛智能技术有限公司 Wireless sensor data synchronous acquisition system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350662A (en) * 2008-09-01 2009-01-21 成都优博创技术有限公司 Cascade connection networking method based on xWDM wavelength-division multiplex RF far-drawing unit
WO2012149736A1 (en) * 2011-09-09 2012-11-08 华为技术有限公司 Time synchronization method and system, and node device
JP2014106188A (en) * 2012-11-29 2014-06-09 Hitachi Ltd Time synchronization system, method of correcting delay time of transmission line, and time synchronization device
CN104429002A (en) * 2012-05-16 2015-03-18 瑞典爱立信有限公司 Determining properties of optical communications path in optical communications network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350662A (en) * 2008-09-01 2009-01-21 成都优博创技术有限公司 Cascade connection networking method based on xWDM wavelength-division multiplex RF far-drawing unit
WO2012149736A1 (en) * 2011-09-09 2012-11-08 华为技术有限公司 Time synchronization method and system, and node device
CN104429002A (en) * 2012-05-16 2015-03-18 瑞典爱立信有限公司 Determining properties of optical communications path in optical communications network
JP2014106188A (en) * 2012-11-29 2014-06-09 Hitachi Ltd Time synchronization system, method of correcting delay time of transmission line, and time synchronization device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩柳燕等: "智能时钟的研究及应用", 《电信技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471356A (en) * 2018-09-27 2019-03-15 中国移动通信集团江苏有限公司 Timing signal processing method, device, equipment, medium and system
CN114630402A (en) * 2021-11-23 2022-06-14 杭州安脉盛智能技术有限公司 Wireless sensor data synchronous acquisition system and method

Also Published As

Publication number Publication date
CN108270500B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN101123465B (en) Method and device for synchronization of network devices in wireless communication system
JP5314768B2 (en) Passive optical network system time synchronization method and synchronization system thereof
US10257799B2 (en) Synchronization of wireless base stations
EP2599240B1 (en) Distributed digital reference clock
US8462683B2 (en) Distinct transport path for MIMO transmissions in distributed antenna systems
US10404392B2 (en) Method and apparatus for determining propagation delay in a communications network
CN101741853B (en) Method for synchronizing clock time, line card veneer and network equipment
JPWO2008072347A1 (en) PON system and PON connection method
US9432751B2 (en) PTP transparent clock system upgrade solution
WO2015125439A1 (en) Communication system, wireless communication apparatus, and wireless communication method
CN108270500B (en) A time synchronization method and device
JP6381392B2 (en) PON system, OLT, ONU, and transmission method
JP6381384B2 (en) PON system, ONU, OLT, and transmission method
JP5913067B2 (en) Time synchronization system, transmission path delay time correction method, time synchronization device
JP2006109357A (en) Synchronous clock information transfer method, transmission apparatus and communication system
WO2019010649A1 (en) Method, device, and system for channel configuration
KR20120051632A (en) Method for clock synchronization in distributed system having ring topology and apparatus for the same
JP2007053627A (en) Radio communication system
JP2018098556A (en) Optical ring network system and path control method therefor
JP6684031B2 (en) Optical transmission system and optical transmission method
JP6506209B2 (en) Optical concentrator network system, optical transmission apparatus and optical transmission method
CN106162382A (en) The method that bi-directional optical time channel is provided on OTN
JP6022975B2 (en) Optical network control device, communication device, and control method
JP5429344B1 (en) Network, communication apparatus, and network ranging method
JP2018050155A (en) Optical transmission device and setting method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant