WO2016082369A1 - Procédé, appareil et système pour synchroniser des attributs de source d'horloge - Google Patents

Procédé, appareil et système pour synchroniser des attributs de source d'horloge Download PDF

Info

Publication number
WO2016082369A1
WO2016082369A1 PCT/CN2015/074037 CN2015074037W WO2016082369A1 WO 2016082369 A1 WO2016082369 A1 WO 2016082369A1 CN 2015074037 W CN2015074037 W CN 2015074037W WO 2016082369 A1 WO2016082369 A1 WO 2016082369A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock source
source attribute
attribute
level
type
Prior art date
Application number
PCT/CN2015/074037
Other languages
English (en)
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 WO2016082369A1 publication Critical patent/WO2016082369A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for synchronizing clock source attributes.
  • a passive optical network is mainly composed of an OLT (Optical Line Terminal), an ONU (Optical Network Unit), and an Optical Distribution Network (ODN).
  • OLT Optical Line Terminal
  • ONU Optical Network Unit
  • ODN Optical Distribution Network
  • FIG. 1 the OLT is connected to the ODN, and multiple ONUs are connected to the ODN.
  • the downlink data between the OLT and the ONU is broadcasted, and the uplink data is used in a time division multiplexing manner.
  • the uplink network consists of an IP network and a Synchronous Optical Network (SONET) network, and the ONU can connect to the base station.
  • SONET Synchronous Optical Network
  • a passive optical network is mainly composed of an OLT (Optical Line Terminal), an ONU (Optical Network Unit), and an Optical Distribution Network (ODN).
  • OLT Optical Line Terminal
  • ODN Optical Distribution Network
  • FIG. 1 the OLT is connected to the ODN, and multiple ONUs are connected to the ODN.
  • the downlink data between the OLT and the ONU is broadcasted, and the uplink data is used in a time division multiplexing manner.
  • the uplink network consists of an IP network and a Synchronous Optical Network (SONET) network, and the ONU can connect to the base station.
  • SONET Synchronous Optical Network
  • the base station requires time synchronization.
  • the base station should preferentially select the satellite receiver for airtime, but for the base station that cannot achieve airtime, the ground timing method can be adopted, and the ground timing requires at least one clock source device GrandMaster.
  • the time synchronization information is transmitted to the base station step by step through the core network.
  • the high-precision time synchronization interface mainly includes a PTP time synchronization interface (Precision Time Protocol) and a 1PPS (second pulse, 1Pulse per Second) + TOD (current time, time of day) time synchronization interface.
  • PTP time synchronization interface Precision Time Protocol
  • 1PPS second pulse, 1Pulse per Second
  • TOD current time, time of day
  • IEEE1588 describes the principle of implementing time synchronization, and has established a PTP protocol to implement time synchronization by transmitting timestamps through PTP messages. IEEE 1588 supports three clock models: normal clock (OC), boundary clock (BC), and transparent clock (TC). In the prior art, a boundary clock model is usually used to implement time synchronization.
  • OC normal clock
  • BC boundary clock
  • TC transparent clock
  • 1PPS+TOD time synchronization interface 1PPS second pulse, using rising edge as the on-time edge, the rise time is less than 50ns;
  • 1PPS+TOD information transmission adopts 422 level mode, when TOD time information message includes GPS Time information such as GPS week, GPS Second time of Week, Leap Seconds (GPS-UTC, offset between GPS and UTC).
  • GPS Time information such as GPS week, GPS Second time of Week, Leap Seconds (GPS-UTC, offset between GPS and UTC).
  • the OLT can be used as the 1588 slave clock slave to synchronize time with the upper-level clock source device.
  • the OLT will use the PON time synchronization protocol (ITU-T G.984 or IEEE802.1AS) to obtain the precise time through the fiber line.
  • the ONU is used as the 1588 master clock master to provide time synchronization information to the next-level device.
  • the OLT and the ONU are equivalent to serve as a boundary clock.
  • the OLT can also implement time synchronization with the upper-level clock source device by using the 1PPS+TOD time synchronization interface.
  • the slave clock synchronizes with the upper-level clock source device to implement time synchronization
  • the ONU uses ITU-T G.984 or IEEE802.1AS to implement time synchronization with the OLT.
  • the ONU is the primary clock master and then performs PTP packet exchange with the next-level clock source device to implement time synchronization.
  • the OLT obtains some clocks from the PTP packet of the upper-level clock source synchronization device.
  • the source attribute was not passed to the ONU.
  • all the clock source parameters required by each ONU can be configured through the ONU's network management or command line. However, some clock source parameters are dynamically changed (for example, timesource, grandmasterClockQuality, grandmasterIdentity, grandmasterpriority1, grandmasterpriority2, etc.). The user maintains a lot of work and is prone to errors.
  • the OLT when the OLT adopts the 1PPS+TOD time synchronization interface, since the time source message of the 1PPS+TOD does not have all the clock source attributes required for the PTP message, the OLT cannot obtain the complete clock source attribute, and thus cannot Pass to the ONU. In this case, you can also configure all the clock source attributes required by the ONU through the NMS or the command line.
  • the disadvantages are as described above.
  • the user also needs to know whether the OLT is currently using the PTP time synchronization interface or the 1PPS+TOD time synchronization interface. If the OLT has the function of dynamically selecting the time synchronization interface (dynamically selecting the clock source by algorithm), the maintenance work of the user will become frequent.
  • the embodiment of the invention provides a method, a device and a system for synchronizing clock source attributes, so as to at least solve the problem that the maintenance work efficiency is reduced due to excessive clock source attribute parameters in the synchronization process of the clock source attribute in the prior art.
  • a method for synchronizing clock source attributes including:
  • the optical line terminal OLT monitors the specified event; when the specified event is detected, the OLT adjusts the received clock source attribute from the upper-level clock source device; and sends the adjusted upper-level clock source attribute to the optical network unit ONU. .
  • the specified event includes at least one of the following:
  • the upper-level clock source attribute changes; the specified type of event occurs locally.
  • the method further includes: the OLT periodically sends the first type of packet to the ONU, where the first type of packet carries the attribute of the upper-level clock source; and the attribute of the adjusted upper-level clock source is sent to the light.
  • the network unit ONU includes: carrying the adjusted upper-level clock source attribute in the second type of packet and sending the message to the ONU, where the priority of the second type of packet is higher than the priority of the first type of packet.
  • the upper-level clock source attribute is received through the time synchronization interface, and the time synchronization interface includes at least one of the following: a time synchronization protocol PTP time synchronization interface, a second pulse 1PPS, and a current time TOD time synchronization interface.
  • the optical line terminal OLT monitors the specified event by monitoring the first specified field in the PTP Announce message in the time synchronization protocol of the upper-level clock source attribute.
  • the change occurs, wherein when the first specified field changes, it is determined that the leap second attribute in the upper-level clock source attribute changes; monitoring the second designation in the PTP Announce message of the time synchronization protocol in the upper-level clock source attribute Whether the field changes, wherein when the second specified field changes, it is determined that the frequency time tracking state attribute in the upper-level clock source attribute changes; monitoring the skip time in the current time TOD message in the upper-level clock source attribute Whether the Leap Seconds field has changed, and when the Leap Seconds field changes, it is determined that the leap second property in the upper clock source attribute changes.
  • the first specified field includes at least one of: current world standard time compensation current Utc Offset, current valid world standard time compensation current Utc Offset Valid, 59 second jump leap 59, 61 second jump leak 61; And/or, the second specified field includes at least one of the following: a traceable time traceable, a traceable frequency frequency traceable, a clock level clockclass, and a time source.
  • the optical line terminal OLT monitors the specified event by one of the following methods, including: monitoring whether the trackable frequency in the specified type of event occurs locally is lost, wherein the traceable frequency is When the lock is lost, it is determined that the specified event is detected; whether the traceable time in the specified type of event occurs locally is lost, and when the traceable time is lost, it is determined that the specified event is detected.
  • the OLT adjusts the received clock source attribute from the upper-level clock source device, including: when the traceable frequency is lost, the clock class clock class in the clock source attribute is adjusted to a preset value, and the clock source attribute is The traceable time traceable and traceable frequency frequency Traceable are adjusted to false; when the traceable time is out of lock, the clock class in the clock source attribute is reduced.
  • a method for synchronizing clock source attributes including:
  • the method further includes:
  • the second type of packet carries the attribute of the upper-level clock source adjusted by the OLT, and the priority of the second type of packet is higher than the priority of the first type of packet.
  • Adjusting the current clock source attribute according to the adjusted upper-level clock source attribute including: when determining the trackable frequency loss in the current clock attribute according to the adjusted upper-level clock source attribute, the clock is The clock class clock class in the source attribute is adjusted to a preset value, and the traceable time traceable and the traceable frequency frequency Traceable in the clock source attribute are adjusted to false; when the current clock is determined according to the adjusted upper-level clock source attribute When the traceable time in the source attribute is out of lock, reduce the clock level in the clock source attribute.
  • the method further includes: sending the adjusted clock source attribute to the base station, where the clock source attribute is sent by using the time synchronization interface, where the time synchronization interface includes at least the following One: time synchronization PTP interface and second pulse 1PPS and current time TOD interface.
  • a synchronization device for clock source attributes including:
  • the monitoring module is configured to monitor the specified event; the adjusting module is configured to adjust the received clock source attribute from the upper-level clock source device when the specified event is detected; the first sending module is set to be adjusted The upper-level clock source attribute is sent to the optical network unit ONU.
  • the device also includes:
  • the second sending module is configured to periodically send the first type of packet to the ONU before the specified event is detected.
  • the first type of packet carries the upper-level clock source attribute, wherein the upper-level clock source attribute passes the time synchronization.
  • Interface receiving, the time synchronization interface includes at least one of the following: a time synchronization protocol PTP time synchronization interface, a second pulse 1PPS, and a current time TOD time synchronization interface; the first sending module is configured to carry the adjusted upper-level clock source attribute
  • the second type of packet is sent to the ONU.
  • the priority of the second type of packet is higher than the priority of the first type of packet.
  • the second sending module includes:
  • the packet construction unit is configured to construct a first type of packet according to a preset architecture, and the preset architecture is a type, length, and value TLV architecture; and the sending unit is configured to send the first type of packet to the ONU according to a period.
  • the monitoring module is configured to monitor specified events in one of the following ways, including:
  • the first monitoring unit is configured to monitor whether a first specified field in the PTP Announce message is changed in the time synchronization protocol of the upper-level clock source attribute, where the first-level clock source is determined when the first specified field changes The leap second attribute in the attribute changes; the second monitoring unit is configured to monitor whether the second specified field in the PTP Announce message is changed in the time synchronization protocol declaration in the upper clock source attribute, wherein the second specified field occurs When the change occurs, it is determined that the frequency time tracking state attribute in the upper-level clock source attribute changes; the third monitoring unit is set to monitor the specified event as the upper-level clock source attribute changes, according to the upper-level clock source attribute. Whether the Leap Seconds in the TOD message changes at the current time and determines whether the specified event has changed.
  • the monitoring module is configured to monitor specified events in one of the following ways, including:
  • a fourth monitoring unit configured to monitor whether a traceable frequency in a specified type of event occurs locally is lost, wherein, when the trackable frequency is out of lock, it is determined that the specified event is monitored; and the fifth monitoring unit is configured to monitor the local occurrence of the specified type Whether the traceable time in the event is out of lock, wherein when the traceable time is lost, it is determined that the specified event is monitored.
  • the adjustment module is configured to adjust the received clock source attribute from the upper-level clock source device when the specified event is detected, including:
  • the first adjusting unit is configured to adjust the clock class clock class in the clock source attribute to a preset value when the trackable frequency is lost, and adjust the traceable time time Traceable and the traceable frequency frequency Traceable in the clock source attribute False; the second adjustment unit is set to reduce the clock class clock class in the clock source attribute when the traceable time is out of lock.
  • a synchronization device for clock source attributes including:
  • the first receiving module is configured to receive the adjusted upper-level clock source attribute sent by the optical line terminal OLT; and the adjusting module is configured to adjust the current clock source attribute according to the adjusted upper-level clock source attribute.
  • the device further includes: a second receiving module, configured to receive the first type of packet periodically sent by the OLT before receiving the adjusted upper-level clock source attribute sent by the optical line terminal OLT, where the first type of packet carries
  • the first receiving module is configured to receive the second type of packet sent by the OLT, and the second type of packet carries the attribute of the upper-level clock source adjusted by the OLT, wherein the priority of the second type of packet Higher than the priority of the first type of message.
  • the adjusting module is configured to adjust the current clock source attribute according to the adjusted upper-level clock source attribute, including: the first adjusting unit, configured to be based on the adjusted upper-level clock source When the attribute determines that the traceable frequency in the current clock attribute is out of lock, the clock class clock class in the clock source attribute is adjusted to a preset value, and the traceable time traceable and the traceable frequency frequency Traceable in the clock source attribute are adjusted to
  • the second adjustment unit is configured to reduce the clock level in the clock source attribute when determining the trackable time loss in the current clock source attribute according to the adjusted previous clock source attribute.
  • the device further includes: a sending module, configured to: after adjusting the current clock source attribute according to the adjusted upper-level clock source attribute, send the adjusted clock source attribute to the base station, where the clock is sent through the time synchronization interface.
  • the source attribute, the time synchronization interface includes at least one of the following: a time synchronization PTP interface and a second pulse 1PPS and a current time TOD interface.
  • a synchronization system for a clock source attribute comprising: an optical line terminal OLT, an optical network unit ONU, and a base station, where
  • the OLT establishes a communication connection with the ONU, and the ONU establishes a communication connection with the base station, wherein the OLT is a synchronization device of the above clock source attribute; and the ONU is a synchronization device of the above clock source attribute.
  • the optical line terminal OLT is used to monitor the specified event; when the specified event is detected, the OLT adjusts the received clock source attribute from the upper-level clock source device; the adjusted upper-level clock source is adjusted.
  • the attribute is sent to the optical network unit ONU.
  • FIG. 1 is a schematic diagram of a synchronization system of clock source attributes proposed by the related art
  • FIG. 2 is a schematic diagram of synchronous communication between an OLT and an ONU clock source attribute according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for synchronizing clock source attributes according to an embodiment of the present invention
  • FIG. 4 is a flowchart of another method for synchronizing clock source attributes according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a synchronization device for clock source attributes according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a synchronization device for clock source attributes in accordance with a preferred embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a synchronization device for clock source attributes in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a synchronization device for clock source attributes in accordance with a preferred embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a synchronization device for clock source attributes in accordance with a preferred embodiment of the present invention.
  • FIG. 10 is a structural block diagram of another apparatus for synchronizing clock source attributes according to an embodiment of the present invention.
  • FIG. 11 is a block diagram showing the structure of a synchronization device for another clock source attribute according to a preferred embodiment of the present invention.
  • FIG. 12 is a structural block diagram of another synchronization device for clock source attributes in accordance with a preferred embodiment of the present invention.
  • FIG. 13 is a structural block diagram of another apparatus for synchronizing clock source attributes according to a preferred embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an information class message of a clock source attribute according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of an event class message of a clock source attribute according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for synchronizing clock source attributes according to an embodiment of the present invention, which is applied to an optical line terminal OLT, as shown in FIG. Including the following steps:
  • Step S302 the optical line terminal OLT monitors the specified event
  • Step S304 when the specified event is detected, the OLT adjusts the received clock source attribute from the upper-level clock source device;
  • Step S306 the adjusted upper-level clock source attribute is sent to the optical network unit ONU.
  • the optical line terminal OLT is used to monitor the specified event; when the specified event is detected, the OLT adjusts the received clock source attribute from the upper-level clock source device; and sends the adjusted upper-level clock source attribute to the attribute.
  • the optical network unit ONU To the optical network unit ONU.
  • the problem that the maintenance efficiency of the clock source attribute is reduced due to too many clock source attribute parameters during the synchronization process is solved, thereby achieving the effect of synchronizing the clock source attributes.
  • the specified event includes at least one of the following:
  • the upper-level clock source attribute changes; the specified type of event occurs locally.
  • the method further includes:
  • Step S298 the OLT periodically sends a first type of packet to the ONU, where the first type of packet carries the upper-level clock source attribute;
  • the upper-level clock source attribute is received through the time synchronization interface, and the time synchronization interface includes at least one of the following: a time synchronization protocol PTP time synchronization interface, a second pulse 1PPS, and a current time TOD time synchronization interface.
  • the adjusted upper-level clock source attribute is sent to the ONU of the optical network unit, where the attribute of the adjusted upper-level clock source is carried in the second type of message and sent to the ONU, where The priority of the second type of packet is higher than the priority of the first type of packet.
  • the second type of packet is called an event class message.
  • the upper-level clock source attribute is received through a time synchronization interface
  • the time synchronization interface includes at least one of the following: a time synchronization protocol PTP time synchronization interface, a second pulse 1PPS, and a current time TOD time synchronization interface.
  • step S298 the OLT periodically sends the first type of packet to the ONU, including:
  • the first type of packet is constructed according to the preset architecture, and the preset architecture is a type, length, and value TLV architecture;
  • the first type of packet is sent to the ONU through the time synchronization interface according to the period.
  • the OLT When the OLT periodically sends the first type of packet to the ONU, the OLT periodically sends the first type of packet including the clock source attribute by using the private protocol packet.
  • the private protocol packet may be an extension of the existing protocol, and may be an Ethernet protocol, a G.984OMCI protocol, or an extended OAM protocol.
  • the interval for periodic transmission is usually about 5 seconds, and the interval can be set;
  • a periodically sent packet has a first priority and is called an information packet.
  • the method of the present invention is based on the method of synchronizing the clock source attribute provided by the embodiment, and the interval of the periodic transmission and the private protocol message are only used as an example, and are not limited.
  • the clock source attribute includes the main information of the PTP packet header and the PTP Announce packet.
  • the clock source attributes can be classified into a leap second attribute (LEAPS_SECOND), a frequency and time tracking status attribute (FREQ_TIME_STATUS), and a time domain (DOMAIN) attribute.
  • the superior clock (PARENT_DATA) attribute is included in the main information of the PTP packet header and the PTP Announce packet.
  • the clock source attribute is derived from the PTP reference source currently selected by the OLT, and the TLV format is generated according to the information in the PTP header and the PTP Announce message in the currently selected PTP reference source.
  • the LeapSeconds field in the TOD time information message is converted into the currentUtcOffset field in the LEAPS_SECOND attribute, and the second pulse status field in the TOD time information message is converted into the clockClass in the PARENT_DATA clock source attribute.
  • Fields, except for the currentUtcOffset field and the clockClass field, other fields in the above clock source attributes are constructed by default values of the OLT clock source;
  • the OLT's clock source default attribute is used.
  • the packet is encapsulated in the TLV mode, so that the clock source attributes of both the PTP packet and the TOD information can be sent to the ONU in the same form, which improves the compatibility of the information architecture itself and improves the packet parsing efficiency.
  • the optical line terminal OLT monitors the specified event by using one of the following manners, including:
  • the time synchronization protocol in the upper-level clock source attribute is used to determine whether the first specified field in the PTP Announce message changes.
  • the ⁇ in the upper-level clock source attribute is determined.
  • the second attribute changes;
  • the time synchronization protocol in the upper-level clock source attribute is used to determine whether the second specified field in the PTP Announce message changes.
  • the frequency in the upper-level clock source attribute is determined.
  • the time tracking status attribute changes;
  • the third method is to monitor whether the Leap Seconds field in the TOD packet of the current time clock source attribute changes, and when the Leap Seconds field changes, determine that the leap second attribute in the upper clock source attribute occurs. Variety;
  • the first specified field includes at least one of the following: a current world standard time compensation current Utc Offset, a current effective world standard time compensation current Utc Offset Valid, a 59 second jump leap 59, a 61 second jump leap 61; and/or,
  • the second specified field includes at least one of the following: a traceable time traceable, a traceable frequency frequency traceable, a clock level clockclass, and a time source.
  • Manner 4 monitoring whether the trackable frequency in the specified type of event occurs locally is unlocked, wherein when the trackable frequency is lost, it is determined that the specified event is detected;
  • the OLT adjusts the received clock source attribute from the upper-level clock source device, including:
  • the clock class clock class in the clock source attribute is adjusted to a preset value, and the traceable time traceable and the traceable frequency frequency Traceable in the clock source attribute are adjusted to false;
  • the OLT detects the currentUtcOffset, currentUtcOffsetValid, leap59, and leap61 fields in the PTP Announce message in the currently selected PTP reference source.
  • the OLT attribute is considered to have changed. ;
  • the OLT When the OLT tracks the PTP time synchronization interface input reference source, the OLT detects that the timeTraceable, frequencyTraceable, clockclass, and timesource of the PTP Announce message in the currently selected PTP reference source are changed, that is, the frequency time tracking state attribute changes.
  • the OLT When the OLT tracks the reference source of the 1PPS+TOD time synchronization interface, the OLT detects the Leap Seconds field in the TOD time information message, and when there is a change in the field, the leap second attribute is considered to have changed;
  • the clockclass is adjusted to the default value of the clockclass, the frequencyTraceable and the timeTraceable are both adjusted to false, and the specified type event occurs locally;
  • the local occurrence of the specified type of event also includes, but is not limited to, an ONU online event.
  • FIG. 4 is a flowchart of a method for synchronizing clock source attributes according to an embodiment of the present invention, which is applied to an optical network unit ONU, as shown in FIG. Including the following steps:
  • Step S402 receiving an adjusted upper-level clock source attribute sent by the optical line terminal OLT;
  • Step S404 adjusting the current clock source attribute according to the adjusted upper-level clock source attribute.
  • the adjusted upper-level clock source attribute sent by the optical line terminal OLT is received, and the current clock source attribute is adjusted according to the adjusted upper-level clock source attribute.
  • the problem that the maintenance efficiency of the clock source attribute is reduced due to too many clock source attribute parameters during the synchronization process is solved, thereby achieving the effect of synchronizing the clock source attributes.
  • the method before receiving the adjusted upper-level clock source attribute sent by the optical line terminal OLT, the method further includes:
  • the adjusted upper-level clock source attribute sent by the optical line terminal OLT is specifically: receiving the second type of packet sent by the OLT, and the second type of packet carrying the adjusted upper-level clock of the OLT Source attribute, where the priority of the second type of packet is higher than the priority of the first type of packet.
  • the current clock source attribute is adjusted according to the adjusted upper-level clock source attribute, including:
  • the clock class clock class in the clock source attribute is adjusted to a preset value, and the clock source attribute is Traceable time traceable and traceable frequency frequency Traceable adjusted to false;
  • the clock level in the clock source attribute is lowered.
  • the optical line unit ONU parses the received clock source attribute message, detects its own important event, and then performs necessary adjustment on the clock source attribute, and finally outputs the clock source attribute information through the time synchronization interface, where:
  • the ONU When the ONU detects that its own frequency tracking is out of lock, adjust the clock class clock class to the default value of the clock class, adjust the traceable frequency frequency Traceable and the traceable time time Traceable to false, and consider that the specified type of the OLT occurs locally. The event occurred;
  • the default value of the clock class can be the standard value in the IEEE1588 protocol.
  • the ONU When the ONU detects that its own time tracking is out of lock, only the clock class clockclass is degraded, the other clock source attributes remain unchanged, and it is considered that the specified type of event occurs locally on the OLT.
  • the method further includes:
  • Step S406 Send the adjusted clock source attribute to the base station, where the clock source attribute is sent through the time synchronization interface, and the time synchronization interface includes at least one of the following: a time synchronization PTP interface, a second pulse 1PPS, and a current time TOD interface.
  • the ONU outputs the adjusted clock source attribute through the PTP time synchronization interface or the 1PPS+TOD time synchronization interface.
  • a synchronization device for the clock source attribute is also provided.
  • the device is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 5 is a structural block diagram of a synchronization device for a clock source attribute according to an embodiment of the present invention. As shown in FIG. 5, the device is applied to an optical line terminal OLT.
  • the device includes: a monitoring module 52, an adjustment module 54 and a first sending module 56. ,among them,
  • Monitoring module 52 configured to monitor a specified event
  • the adjusting module 54 is connected to the monitoring module 52, and is configured to adjust the received clock source attribute from the upper-level clock source device when the specified event is detected;
  • the first sending module 56 is connected to the adjusting module 54 and configured to send the adjusted upper-level clock source attribute to the optical network unit ONU.
  • FIG. 6 is a structural block diagram of a synchronization device for a clock source attribute according to a preferred embodiment of the present invention.
  • the synchronization device for the clock source attribute further includes: a second sending module 51, wherein
  • the second sending module 51 is configured to periodically send a first type of packet to the ONU before the specified event is detected, where the first type of packet carries a previous clock source attribute, wherein the upper level clock source attribute passes
  • the time synchronization interface receives, and the time synchronization interface includes at least one of the following: a time synchronization protocol PTP time synchronization interface, a second pulse 1PPS, and a current time TOD time synchronization interface;
  • the first sending module 56 is configured to carry the adjusted upper-level clock source attribute in the second type of packet and send the message to the ONU, where the priority of the second type of packet is higher than the priority of the first type of packet. .
  • FIG. 7 is a structural block diagram of a synchronization device for clock source attributes according to a preferred embodiment of the present invention.
  • the second sending module 51 includes: a message construction unit 511 and a transmission unit 512, where
  • the message construction unit 511 is configured to construct a first type of packet according to a preset architecture, and the preset architecture is a type, length, and value TLV architecture;
  • the sending unit 512 is connected to the message construction unit 511, and is configured to send the first type of message to the ONU according to the period.
  • FIG. 8 is a structural block diagram of a synchronization device for clock source attributes according to a preferred embodiment of the present invention.
  • the monitoring module 52 is configured to monitor a specified event by one of the following methods, including:
  • the first monitoring unit 521 is configured to monitor whether a first specified field in the PTP Announce message is changed in the time synchronization protocol of the upper-level clock source attribute, where the first-level clock is determined when the first specified field changes.
  • the leap second property in the source property changes;
  • the second monitoring unit 522 is configured to monitor whether a second specified field in the PTP Announce message is changed in the time synchronization protocol of the upper-level clock source attribute, where the second-level clock is determined when the second specified field changes.
  • the frequency time tracking status attribute in the source attribute changes;
  • the third monitoring unit 523 is configured to determine whether the specified event is changed when the last clock source attribute changes, according to whether the Leap Seconds in the TOD message at the current time in the previous clock source attribute changes, and the specified event is determined. Whether it has changed;
  • the fourth monitoring unit 524 is configured to monitor whether the trackable frequency in the specified type of event occurs locally is unlocked, wherein when the trackable frequency is lost, it is determined that the specified event is detected;
  • the fifth monitoring unit 525 is configured to monitor whether the traceable time in the specified type of event occurs locally is unlocked, wherein when the traceable time is lost, it is determined that the specified event is detected.
  • FIG. 9 is a structural block diagram of a synchronization device for clock source attributes according to a preferred embodiment of the present invention.
  • the adjustment module 54 is configured to monitor the specified event by one of the following methods.
  • the received clock source attributes from the upper-level clock source device are adjusted, including:
  • the first adjusting unit 541 is configured to adjust the clock level clock class in the clock source attribute to a preset value when the trackable frequency is lost, and to track the time traceable and the traceable frequency in the clock source attribute. Adjusted to false;
  • the second adjusting unit 542 is configured to reduce the clock level clock class in the clock source attribute when the trackable time is out of lock.
  • the above modules can be implemented by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) located at the OLT.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • FIG. 10 is a structural block diagram of a synchronization device for a clock source attribute according to an embodiment of the present invention. As shown in FIG. 10, the device is applied to an optical network unit ONU, where the device includes: a first receiving module 62 and an adjustment module 64, where
  • the first receiving module 62 is configured to receive the adjusted upper-level clock source attribute sent by the optical line terminal OLT;
  • the adjustment module 64 is configured to adjust the current clock source attribute according to the adjusted upper-level clock source attribute.
  • FIG. 11 is a structural block diagram of a synchronization device for clock source attributes according to a preferred embodiment of the present invention, the device further comprising:
  • the second receiving module 66 is configured to receive, according to the adjusted upper-level clock source attribute sent by the optical line terminal OLT, the first type of packet periodically sent by the OLT, where the first type of packet carries the upper-level clock.
  • Source attribute sent by the optical line terminal OLT, the first type of packet periodically sent by the OLT, where the first type of packet carries the upper-level clock.
  • the first receiving module 62 is configured to receive the second type of packet sent by the OLT, and the second type of packet carries the attribute of the upper-level clock source adjusted by the OLT, where the priority of the second type of packet is higher than that of the first type of report. Priority of the text.
  • FIG. 12 is a structural block diagram of a synchronization device for clock source attributes according to a preferred embodiment of the present invention.
  • the adjustment module 64 is configured to adjust the previous clock according to one of the following manners.
  • the source attribute adjusts the current clock source properties, including:
  • the first adjusting unit 641 is configured to: when determining the trackable frequency loss in the current clock attribute according to the adjusted upper-level clock source attribute, adjusting the clock level clock class in the clock source attribute to a preset value, and The traceable time traceable and the traceable frequency frequency Traceable in the clock source attribute are adjusted to false;
  • the second adjusting unit 642 is configured to reduce the clock level in the clock source attribute when determining the trackable time loss in the current clock source attribute according to the adjusted upper-level clock source attribute.
  • FIG. 13 is a structural block diagram of a synchronization device for clock source attributes according to a preferred embodiment of the present invention, the device further includes:
  • the sending module 68 is configured to send the adjusted clock source attribute to the base station after adjusting the current clock source attribute according to the adjusted upper-level clock source attribute, where the clock source attribute is sent through the time synchronization interface, and the time synchronization interface includes the following At least one of: time synchronization PTP interface and second pulse 1PPS and current time TOD interface.
  • the above modules can be implemented by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), a field programmable gate array (FPGA) or a physical layer PHY chip located in the ONU.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • the embodiment of the present invention provides a method and a device for synchronizing clock source attributes, as shown in FIG. 3 to FIG. 13 , and further provides a system for synchronizing clock source attributes, such that passive light is provided.
  • the clock source attributes of the OLT and the ONU are synchronized in the network, so that the ONU does not need to know the difference between the OLT's different input time synchronization interfaces (such as the PTP interface and the 1PPS+TOD interface), so that the ONU can know and transmit the clock source attribute of the upper-level clock as soon as possible.
  • the embodiment of the present invention provides a clock source attribute synchronization system, where the system includes: an OLT, an ONU, and a base station;
  • the OLT is configured to obtain the clock source attribute information of the upper-level clock through the PTP time synchronization interface or the 1PPS+TOD interface, construct the clock source attribute of the TLV format, and periodically send the common priority including the clock source attribute by using the private protocol packet. Packets; when it is detected that the attributes of the upper-level clock source are changed or the detection of important events occurs, the clock source attributes are adjusted as necessary, and the high-priority packets containing the attributes of the clock source are immediately sent;
  • the ONU is configured to receive the clock source attribute packet sent by the OLT, parse the received clock source attribute file, detect its own important event, degrade the clock source attribute or restore the default value, and then output or pass the PTP time synchronization interface.
  • 1PPS+TOD interface time synchronization interface output clock source attribute information;
  • the base station is configured to receive the PTP time synchronization interface output or the clock source attribute information output by the 1PPS+TOD interface time synchronization interface.
  • the embodiment of the invention solves the problem of how the clock source attribute closely related to the time synchronization is transmitted in addition to the time synchronization in the time synchronization system applied in the passive optical network, and solves the problem if the attribute of the upper-level clock source changes as soon as possible.
  • the problem of inconsistent clock source attribute information obtained by different upper-level time synchronization interfaces is solved for the problem of the next-level device such as the ONU, which effectively reduces the workload of the user to maintain the clock source information and avoids human maintenance errors.
  • the time synchronization system applied in the passive optical network mainly includes, as shown in FIG. 2: an OLT, an ONU, and a base station.
  • the OLT can be used as the slave clock slave to perform PTP packet exchange with the upper-level clock source device.
  • the timestamp is used to synchronize the time between the OLT and the upper-level clock source device, and the adjusted local time is sent to the ONU to enable the ONU.
  • the time synchronization with the OLT is implemented.
  • the ONU interacts with the base station to perform PTP packet exchange, and the base station implements time synchronization with the ONU by transmitting a timestamp.
  • the OLT obtains the clock source attribute of the upper-level device from the upper-level clock source device through the Announce message in the PTP time synchronization interface, or obtains the clock source of the upper-level device through the OLT through the 1PPS+TOD interface. Attributes. Both the current GPON time synchronization standard ITU-T G.984.3 (defining the specific implementation mechanism) and ITU-T G.984.4 (defining the OMCI time message), or the current EPON time synchronization standard IEEE 802.1AS, are only defined.
  • the method of how the OLT obtains the precise time from the outside world through the optical fiber line to the ONU (generally the frame number and its corresponding time stamp) and how the ONU recovers the precise time does not mention or solve the time and time other than time synchronization.
  • the problem of how to synchronize the closely related clock source attributes is not mentioned or solved. If the upper-level clock source attribute changes, it is transmitted to the next-level device such as ONU as soon as possible. The problem does not mention or solve the inconsistency of clock source attribute information obtained through different upper-level time synchronization interfaces.
  • FIG. 14 is a schematic structural diagram of an information packet of a clock source attribute according to an embodiment of the present invention:
  • the first field is frameType and its value is information
  • PARENT_DATA clock source attributes which are tlvType (value PARENT_DATA), Length (the value is 2+N(34)), dataField (data field field, length is 34, and the content is mainly PTP Announce message).
  • tlvType value PARENT_DATA
  • Length the value is 2+N(34)
  • dataField data field field, length is 34, and the content is mainly PTP Announce message.
  • the next three fields are the DOMAIN clock source attributes, which are tlvType (value is DOMAIN), Length (value is 2+N(4)), dataField (data field field, length is 4, and the content is mainly PTP message). Fields such as domainNumber in the header);
  • LEAPS_SECOND clock source attributes which are tlvType (value is LEAPS_SECOND), Length (value is 2+N(6)), dataField (data field field, length is 6, content is mainly PTP Announce message) CurrentUtcOffsetValid, currentUtcOffset, leap59, leap61, etc.)
  • the sequential positions of the clock source attributes PARENT_DATA, DOMAIN, and LEAPS_SECOND in the above information type messages are not limited to the above order.
  • FIG. 15 is a schematic structural diagram of an event class packet of a clock source attribute according to an embodiment of the present invention:
  • the first field is frameType and its value is event
  • the next three fields are the LEAPS_SECOND clock source attribute (as shown in Figure 5a), which are tlvType (values LEAPS_SECOND), Length (its values are 2+N(6)), dataField (data field fields, length 6).
  • the content is mainly the currentUtcOffsetValid, currentUtcOffset, leap59, leap61 and other fields in the PTP Announce message);
  • the next three fields are the FREQ_TIME_STATUS clock source attributes, which are tlvType (value is FREQ_TIME_STATUS), Length (its value is 2+N(4)), dataField (data field field, length is 4, and the content is mainly PTP Announce
  • tlvType value is FREQ_TIME_STATUS
  • Length its value is 2+N(4)
  • dataField data field field, length is 4, and the content is mainly PTP Announce
  • the fields such as frequencyTraceable and timeTraceable in the PTP header of the text);
  • the sequential positions of the clock source attributes LEAPS_SECOND and FREQ_TIME_STATUS in the above event class messages are not limited to the above order.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the method, device, and system for synchronizing clock source attributes provided by the embodiments of the present invention have the following beneficial effects: solving the maintenance work efficiency due to excessive clock source attribute parameters in the synchronization process of the clock source attribute during the synchronization process The problem is reduced, and the effect of synchronizing the clock source attributes is achieved.

Landscapes

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

Abstract

L'invention concerne un procédé, un appareil et un système pour synchroniser des attributs de source d'horloge. Le procédé comporte les étapes suivantes : un terminal de ligne optique (OLT) détecte un événement spécifié; lorsque l'événement spécifié est détecté, l'OLT règle des attributs de source d'horloge reçus en provenance d'un dispositif de source d'horloge de niveau supérieur; et envoie les attributs de source d'horloge réglés de niveau supérieur à une unité de réseau optique (ONU). La solution technique fournie par la présente invention permet de résoudre le problème, dans l'état de la technique, d'une baisse de l'efficacité du travail de maintenance due au nombre trop élevé de paramètres d'attributs de source d'horloge pendant le processus de synchronisation des attributs de source d'horloge.
PCT/CN2015/074037 2014-11-25 2015-03-11 Procédé, appareil et système pour synchroniser des attributs de source d'horloge WO2016082369A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410692729.X 2014-11-25
CN201410692729.XA CN105703893A (zh) 2014-11-25 2014-11-25 时钟源属性的同步方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2016082369A1 true WO2016082369A1 (fr) 2016-06-02

Family

ID=56073448

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074037 WO2016082369A1 (fr) 2014-11-25 2015-03-11 Procédé, appareil et système pour synchroniser des attributs de source d'horloge

Country Status (2)

Country Link
CN (1) CN105703893A (fr)
WO (1) WO2016082369A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990083A (zh) * 2017-05-31 2018-12-11 中国移动通信有限公司研究院 一种进行同步告警的方法及设备
CN112653533A (zh) * 2020-12-17 2021-04-13 中国航空工业集团公司西安航空计算技术研究所 一种复杂系统智能授时管理方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746586B (zh) * 2020-05-28 2022-12-06 华为技术有限公司 时钟源管理的方法和装置
CN115278856A (zh) * 2022-07-25 2022-11-01 中国电信股份有限公司 时间同步方法、时间同步装置、介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120758A1 (en) * 2001-02-23 2002-08-29 Glory Telecommunications C0., Ltd. IP packetized frame format in a passive optical network
CN101841736A (zh) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 一种无源光网络时间传递的方法及系统
CN101895361A (zh) * 2010-07-12 2010-11-24 中兴通讯股份有限公司 传输同步状态信息的方法、系统和时钟板
CN102130764A (zh) * 2010-12-01 2011-07-20 华为技术有限公司 时间同步信息传送方法、系统和装置
CN102237940A (zh) * 2010-05-04 2011-11-09 华为技术有限公司 在无源光网络中传递同步状态信息的方法、系统和设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052589B (zh) * 2013-03-15 2018-06-22 安华高科技通用Ip(新加坡)公司 容错时钟网络
CN106160909A (zh) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 闰秒跳变的处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120758A1 (en) * 2001-02-23 2002-08-29 Glory Telecommunications C0., Ltd. IP packetized frame format in a passive optical network
CN101841736A (zh) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 一种无源光网络时间传递的方法及系统
CN102237940A (zh) * 2010-05-04 2011-11-09 华为技术有限公司 在无源光网络中传递同步状态信息的方法、系统和设备
CN101895361A (zh) * 2010-07-12 2010-11-24 中兴通讯股份有限公司 传输同步状态信息的方法、系统和时钟板
CN102130764A (zh) * 2010-12-01 2011-07-20 华为技术有限公司 时间同步信息传送方法、系统和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990083A (zh) * 2017-05-31 2018-12-11 中国移动通信有限公司研究院 一种进行同步告警的方法及设备
CN112653533A (zh) * 2020-12-17 2021-04-13 中国航空工业集团公司西安航空计算技术研究所 一种复杂系统智能授时管理方法
CN112653533B (zh) * 2020-12-17 2022-09-20 中国航空工业集团公司西安航空计算技术研究所 一种复杂系统智能授时管理方法

Also Published As

Publication number Publication date
CN105703893A (zh) 2016-06-22

Similar Documents

Publication Publication Date Title
JP5314768B2 (ja) パッシブ光ネットワークシステムの時間同期化方法及びその同期化システム
US9252902B2 (en) Precision timing in a data over cable service interface specification (DOCSIS) system
US9871648B2 (en) Distributing clock synchronization information within an optical communications network
WO2017012486A1 (fr) Élément de réseau otn et procédé et système de synchronisation temporelle et d'horloge otn
CN101707505B (zh) 一种在无源光网络中时间同步的方法、装置及无源光网络
EP2518951B1 (fr) Procédé, équipement et système pour la synchronisation temporelle d'un réseau optique passif
EP2675102B1 (fr) Procédé de synchronisation temporelle de système de communication, appareil de station esclave, appareil de station maître, appareil de commande et programme
CN102237941B (zh) 时间同步系统及方法
US20150358700A1 (en) Apparatus and method for enabling a passive optical network on supporting time synchronization
Garner et al. Synchronization of audio/video bridging networks using IEEE 802.1 AS
CN103259640B (zh) 一种同步时间的方法和设备
CN102938676A (zh) 时间同步处理方法、装置及系统
WO2016082369A1 (fr) Procédé, appareil et système pour synchroniser des attributs de source d'horloge
US20220038252A1 (en) Methods, Apparatus and Computer-Readable Media for Synchronization Over an Optical Network
WO2018219276A1 (fr) Procédé et dispositif d'exécution d'alarme synchronisée, et support de stockage informatique
US8842994B2 (en) Distributing clock synchronization information within an optical communications network
KR101285277B1 (ko) 수동 광 네트워크 중의 시간 동기화 방법 및 시스템
WO2015117319A1 (fr) Procédé, dispositif et système de synchronisation temporelle
US8649400B2 (en) Communication clock transport method and device
KR20160024782A (ko) 수동 광 가입자망에서의 망동기 전달 장치 및 방법
KR20100048124A (ko) 근거리 통신망에서의 시간 동기화 방법
WO2016184225A1 (fr) Procédé et dispositif d'envoi de message de synchronisation temporelle

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

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

Country of ref document: EP

Kind code of ref document: A1