CN105703893A - Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system - Google Patents

Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system Download PDF

Info

Publication number
CN105703893A
CN105703893A CN201410692729.XA CN201410692729A CN105703893A CN 105703893 A CN105703893 A CN 105703893A CN 201410692729 A CN201410692729 A CN 201410692729A CN 105703893 A CN105703893 A CN 105703893A
Authority
CN
China
Prior art keywords
clock source
source attribute
upper level
time
attribute
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.)
Pending
Application number
CN201410692729.XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410692729.XA priority Critical patent/CN105703893A/en
Priority to PCT/CN2015/074037 priority patent/WO2016082369A1/en
Publication of CN105703893A publication Critical patent/CN105703893A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The invention discloses a clock source attribute synchronization method, a clock source attribute synchronization device and a clock source attribute synchronization system. The method comprises the following steps: an optical line terminal OLT monitors a specified event; the OLT adjusts a received clock source attribute from higher-level clock source equipment when monitoring the specified event; and the OLT sends the adjusted higher-level clock source attribute to an optical network unit ONU. By adopting the technical scheme provided by the invention, the problem that the efficiency of maintenance work is lowered due to too many clock source attribute parameters in the process of clock source attribute synchronization in the related technologies is solved.

Description

The synchronous method of clock source attribute, Apparatus and system
Technical field
The present invention relates to the communications field, in particular to the synchronous method of a kind of clock source attribute, Apparatus and system。
Background technology
EPON (PassiveOpticalNetwork, PON) main by OLT (OpticalLineTerminal, optical line terminal), ONU (OpticalNetworkUnit, optical network unit) and ODN (OpticalDistributionNetwork, Optical Distribution Network) composition。PON is generally adopted Tree topology structure, as shown in Figure 1, OLT and ODN connects, multiple ONU is hung under ODN, between OLT and ONU, downlink data passes through broadcast mode, and upstream data uses channel by time division multiplexing mode, OLT connects by IP network and Synchronous Optical Network (SynchronousOpticalNetwork, SONET) core net of the composition such as net, ONU can following even base station。
EPON (PassiveOpticalNetwork, PON) main by OLT (OpticalLineTerminal, optical line terminal), ONU (OpticalNetworkUnit, optical network unit) and ODN (OpticalDistributionNetwork, Optical Distribution Network) composition。PON is generally adopted Tree topology structure, as shown in Figure 1, OLT and ODN connects, multiple ONU is hung under ODN, between OLT and ONU, downlink data passes through broadcast mode, and upstream data uses channel by time division multiplexing mode, OLT connects by IP network and Synchronous Optical Network (SynchronousOpticalNetwork, SONET) core net of the composition such as net, ONU can following even base station。In time synchronized application scenarios, base station requires to realize time synchronized, generally, base station answers prioritizing selection DVB to carry out aerial time service, but the base station for realizing aerial time service can adopt ground time service mode, ground time service requires have at least a clock source GrandMaster, step by step time synchronization information is delivered to base station by core net。
Current precise synchronization interface mainly includes PTP time synchronized interface (PrecisionTimeProtocol) and 1PPS (pulse per second (PPS), 1PulseperSecond)+TOD (current time, TimeofDay) time synchronized interface。
IEEE1588 elaborates to realize the principle of time synchronized, has formulated PTP protocol, transmits time stamp by PTP message interaction and realizes time synchronized。IEEE1588 supports ordinary clock (OC), boundary clock (BC), three kinds of clock models of transparent clock (TC)。In prior art, boundary clock model is generally adopted to realize time synchronized。
In 1PPS+TOD time synchronized interface, 1PPS pulse per second (PPS), adopt rising edge as punctual edge, the rise time is less than 50ns;1PPS+TOD information transmits the 422 level modes of employing, TOD temporal information message includes gps time week number (GPSweek), the temporal information such as second (GPSSecondtimeofWeek), LeapSeconds (side-play amount time when GPS-UTC, GPS with UTC) in gps time week。
As shown in Figure 2, OLT can realize time synchronized from clock Slave with upper level clock source as 1588, the precise time obtained is adopted PON time synchronization protocol (ITU-TG.984 or IEEE802.1AS) to pass to ONU, ONU by fibre circuit and provides time synchronization information as 1588 master clock Master first device still further below by OLT;Wherein, OLT and ONU is equivalent to collectively act as boundary clock。
OLT can also by adopting 1PPS+TOD time synchronized interface and upper level clock source to realize time synchronized。
Inventor is in the process realizing the present invention, it has been found that existing realize the scheme of time synchronized based on EPON and at least there is following defect:
In correlation technique, when OLT adopts PTP time synchronized interface, realizing time synchronized as carrying out PTP message interaction from clock Slave with upper level clock source, ONU adopts ITU-TG.984 or IEEE802.1AS to realize the time synchronized with OLT;ONU carries out PTP message interaction with next stage clock source again as master clock Master and realizes time synchronized, and owing to having blocked PTP message on PON, some clock source attributes that OLT obtains from upper level clock source synchronizer PTP message are not transferred to ONU。In this case, every ONU whole clock source parameters needed can be configured by the webmaster of ONU or order line, but some clock source parameter is dynamically to change (such as, timesource, grandmasterClockQuality, grandmasterIdentity, grandmasterpriority1, grandmasterpriority2 etc.), it is a lot of that actual user uses maintenance workload, it is easy to makes mistakes。
In correlation technique, when OLT adopts 1PPS+TOD time synchronized interface, owing to the time message packet of 1PPS+TOD not having the whole clock source attributes needed for PTP message so that OLT also cannot obtain complete clock source attribute, also just cannot be delivered to ONU。In this case, it is also possible to configuring the ONU whole clock source attributes needed by webmaster or order line, shortcoming is as described above。Simultaneously user also need to know OLT currently used be PTP time synchronized interface or 1PPS+TOD time synchronized interface。If OLT has the function (dynamically being selected clock source by algorithm) dynamically selecting time synchronized interface, then the maintenance work of user is frequent by what become。
In correlation technique, it does not have mention that, if clock source attribute changes, which kind of mechanism method OLT uses pass to ONU as early as possible by PON。Such as OLT passes through time synchronized interface (PTP or 1PPS+TOD), and the leap second information in clock source attribute that identifies does not mention in prior art how OLT should pass to ONU as early as possible after sending change。
For in prior art due to clock source attribute in synchronizing process due to the problem that clock source property parameters too much causes maintenance work efficiency to reduce, effective solution is not yet proposed at present。
Summary of the invention
The invention provides the synchronous method of a kind of clock source attribute, Apparatus and system, with at least solve prior art due to clock source attribute in synchronizing process due to problem that clock source property parameters too much causes maintenance work efficiency to reduce。
According to an aspect of the invention, it is provided the synchronous method of a kind of clock source attribute, including:
Optical line terminal OLT monitoring appointment event;When monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted by OLT;Upper level clock source attribute after adjusting is sent to optical network unit ONU。
Preferably, it is intended that event includes at least one of:
Upper level clock source attribute changes;Local generation specified type event。
Preferably, before monitoring appointment event, method also includes: OLT periodically sends first kind message to ONU, and first kind message carries upper level clock source attribute;Upper level clock source attribute after adjusting is sent to optical network unit ONU, including: being carried in Equations of The Second Kind message by the upper level clock source attribute after adjustment and be sent to ONU, wherein, the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Preferably, upper level clock source attribute passes through time synchronized interface, and time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface。
Preferably, when appointment event be upper level clock source attribute change time, optical line terminal OLT monitors appointment event by one below mode: in monitoring upper level clock source attribute, whether the first specific field in time synchronization protocol statement PTPAnnounce message changes, wherein, when the first specific field changes, it is determined that the leap second attribute in upper level clock source attribute changes;In monitoring upper level clock source attribute, whether the second specific field in time synchronization protocol statement PTPAnnounce message changes, wherein, when the second specific field changes, it is determined that the frequency time tracking mode attribute in upper level clock source attribute changes;In monitoring upper level clock source attribute, whether the jump second LeapSeconds field in current time TOD message changes, wherein, when LeapSeconds field changes, it is determined that the leap second attribute in upper level clock source attribute changes。
Preferably, the first specific field includes at least one of: the our times standard time compensates currentUtcOffset, the currently active universal time compensates currentUtcOffsetValid, 59 seconds jump leap59,61 seconds jump leap61;And/or, the second specific field includes at least one of: traceable time timeTraceable, traceable frequency frequencyTraceable, clock grade clockclass, time source timesource。
Preferably, when appointment event be upper level clock source attribute change time, optical line terminal OLT monitors appointment event by one below mode, including: monitoring this locality occur in specified type event can tracking frequency whether losing lock, wherein, can tracking frequency losing lock time, it is determined that monitor appointment event;Monitoring this locality occur in specified type event can tracking time whether losing lock, wherein, can tracking time losing lock time, it is determined that monitor appointment event。
Preferably, the clock source attribute from upper level clock source received is adjusted by OLT, including: when can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;When can tracking time losing lock time, reduce the clock grade clockclass in clock source attribute。
According to another aspect of the present invention, it is provided that the synchronous method of a kind of clock source attribute, including:
Receive the upper level clock source attribute after the adjustment that optical line terminal OLT sends;According to the upper level clock source Attribute tuning present clock source attribute after adjusting。
Preferably, before the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends, also include:
Receiving the OLT first kind message periodically sent, first kind message carries upper level clock source attribute;Receive the upper level clock source attribute after the OLT adjustment sent, including: receiving the OLT Equations of The Second Kind message sent, Equations of The Second Kind message carries the upper level clock source attribute after OLT adjusts, and wherein the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Preferably, one of in the following manner, according to the upper level clock source Attribute tuning present clock source attribute after adjusting, including: when according to adjust after upper level clock source attributive judgment present clock attribute in can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;When according in the upper level clock source attributive judgment present clock source attribute after adjusting can tracking time losing lock time, reduce the clock grade in clock source attribute。
Preferably, after according to the upper level clock source Attribute tuning present clock source attribute after adjusting, also include: send the clock source attribute after adjusting to base station, wherein, by time synchronized interface tranmitting data register source attribute, this time synchronized interface includes at least one of: time synchronized PTP interface and pulse per second (PPS) 1PPS and current time TOD interface。
According to another aspect of the present invention, it is provided that the synchronizer of a kind of clock source attribute, including:
Monitoring modular, is used for monitoring appointment event;Adjusting module, for when monitoring this appointment event, being adjusted the clock source attribute from upper level clock source received;First sending module, for sending the upper level clock source attribute after adjustment to optical network unit ONU。
Preferably, device also includes:
Second sending module, for before monitoring appointment event, first kind message is periodically sent to ONU, first kind message carries upper level clock source attribute, wherein, upper level clock source attribute passes through time synchronized interface, and time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface;First sending module, is sent to ONU for being carried in Equations of The Second Kind message by the upper level clock source attribute after adjustment, and wherein, the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Preferably, the second sending module, including:
Message construction unit, for building first kind message according to pre-set configuration, pre-set configuration is type, length, value TLV framework;Transmitting element, for sending first kind message to ONU according to the cycle。
Preferably, monitoring modular, for one of in the following manner, monitoring appointment event, including:
First monitoring means, whether the first specific field for monitoring in upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the first specific field changes, it is determined that the leap second attribute in upper level clock source attribute changes;Second monitoring means, whether the second specific field for monitoring in upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the second specific field changes, it is determined that the frequency time tracking mode attribute in upper level clock source attribute changes;3rd monitoring means, for the appointment event that monitors be upper level clock source attribute change time, according to whether the jump second LeapSeconds in current time TOD message in upper level clock source attribute changes, it is judged that whether appointment event changes。
Preferably, monitoring modular, for one of in the following manner, monitoring appointment event, including:
4th monitoring means, for monitor local occur in specified type event can tracking frequency whether losing lock, wherein, can tracking frequency losing lock time, it is determined that monitor appointment event;5th monitoring means, for monitor local occur in specified type event can tracking time whether losing lock, wherein, can tracking time losing lock time, it is determined that monitor appointment event。
Preferably, adjusting module, for one of in the following manner, when monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted, including:
First adjustment unit, for when can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;Second adjustment unit, for when can tracking time losing lock time, reduce the clock grade clockclass in clock source attribute。
According to another aspect of the present invention, it is provided that the synchronizer of a kind of clock source attribute, including:
First receiver module, is used for the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends;Adjusting module, for according to the upper level clock source Attribute tuning present clock source attribute after adjusting。
Preferably, this device also includes: the second receiver module, before the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends, receives the OLT first kind message periodically sent, and first kind message carries upper level clock source attribute;First receiver module, for receiving the OLT Equations of The Second Kind message sent, Equations of The Second Kind message carries the upper level clock source attribute after OLT adjusts, and wherein the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Optionally, adjusting module, for one of in the following manner, according to the upper level clock source Attribute tuning present clock source attribute after adjusting, including: the first adjustment unit, for when according to adjust after upper level clock source attributive judgment present clock attribute in can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;Second adjustment unit, for when according in the upper level clock source attributive judgment present clock source attribute after adjusting can tracking time losing lock time, reduce the clock grade in clock source attribute。
Optionally, this device also includes: sending module, after the upper level clock source Attribute tuning present clock source attribute after foundation adjusts, the clock source attribute after adjusting is sent to base station, wherein, by time synchronized interface tranmitting data register source attribute, time synchronized interface includes at least one of: time synchronized PTP interface and pulse per second (PPS) 1PPS and current time TOD interface。
According to another aspect of the present invention, it is provided that the synchro system of a kind of clock source attribute, this system includes: optical line terminal OLT, optical network unit ONU and base station, wherein,
OLT and ONU sets up communication connection, and ONU sets up communication connection with base station, and wherein, OLT is the synchronizer of above-mentioned clock source attribute;ONU is the synchronizer of above-mentioned clock source attribute。
By the present invention, adopt optical line terminal OLT monitoring appointment event;When monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted by OLT;Upper level clock source attribute after adjusting is sent to optical network unit ONU。Solve due to clock source attribute in synchronizing process due to the problem that clock source property parameters too much causes maintenance work efficiency to reduce, and then reached the effect of clock source property synchronization。
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention。In the accompanying drawings:
Fig. 1 is the schematic diagram of the synchro system of a kind of clock source attribute that correlation technique proposes;
Fig. 2 is the schematic diagram of the synchronous communication of a kind of OLT and ONU clock source attribute according to embodiments of the present invention;
Fig. 3 is the flow chart of the synchronous method of a kind of clock source attribute according to embodiments of the present invention;
Fig. 4 is the flow chart of the synchronous method of another kind of clock source attribute according to embodiments of the present invention
Fig. 5 is the structured flowchart of the synchronizer of clock source attribute according to embodiments of the present invention;
Fig. 6 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention;
Fig. 7 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention;
Fig. 8 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention;
Fig. 9 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention;
Figure 10 is the structured flowchart of the synchronizer of another kind of clock source attribute according to embodiments of the present invention;
Figure 11 is the structured flowchart of the synchronizer of another kind of according to the preferred embodiment of the invention clock source attribute;
Figure 12 is the structured flowchart of the synchronizer of another kind of according to the preferred embodiment of the invention clock source attribute;
Figure 13 is the structured flowchart of the synchronizer of another kind of according to the preferred embodiment of the invention clock source attribute;
Figure 14 is the info class message structure schematic diagram of embodiment of the present invention clock source attribute;
Figure 15 is the event class message structure schematic diagram of embodiment of the present invention clock source attribute。
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments。It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined。
Providing the synchronous method of a kind of clock source attribute in the present embodiment, Fig. 3 is the flow chart of the synchronous method of clock source attribute according to embodiments of the present invention, is applied to optical line terminal OLT, as it is shown on figure 3, this flow process comprises the steps:
Step S302, optical line terminal OLT monitoring appointment event;
Step S304, when monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted by OLT;
Step S306, sends the upper level clock source attribute after adjusting to optical network unit ONU。
By above-mentioned steps, adopt optical line terminal OLT monitoring appointment event;When monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted by OLT;Upper level clock source attribute after adjusting is sent to optical network unit ONU。Solve due to clock source attribute in synchronizing process due to the problem that clock source property parameters too much causes maintenance work efficiency to reduce, and then reached the effect of clock source property synchronization。
Preferably, it is intended that event includes at least one of:
Upper level clock source attribute changes;Local generation specified type event。
Preferably, before step S302 monitors appointment event, the method also includes:
Step S298, OLT periodically send first kind message to ONU, and first kind message carries upper level clock source attribute;
Wherein, upper level clock source attribute passes through time synchronized interface, and time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface。
Preferably, step S306, sends the upper level clock source attribute after adjusting to optical network unit ONU, is sent to ONU particularly as follows: be carried in Equations of The Second Kind message by the upper level clock source attribute after adjustment, wherein, the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Wherein, Equations of The Second Kind message is called event class message。
Preferably, upper level clock source attribute passes through time synchronized interface, and described time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface。
Preferably, from the foregoing, it will be observed that step S298, OLT periodically send first kind message to ONU, including:
Building first kind message according to pre-set configuration, pre-set configuration is type, length, value TLV framework;
First kind message was sent to ONU by time synchronized interface according to the cycle。
Wherein, when OLT periodically sends first kind message to ONU, OLT uses proprietary protocol message periodically to send the first kind message comprising clock source attribute;
Proprietary protocol message can be extend on existing protocol basis, it is possible to is Ethernet protocol, it is also possible to be G.984OMCI agreement, it is also possible to is extension OAM agreement;
The interval periodically sent is generally about 5 seconds, and interval can set that;
The message periodically sent has the first priority, is referred to as info class message。
The present invention is as the criterion with the synchronous method realizing a kind of clock source attribute that embodiment provides, and the interval periodically sent and proprietary protocol message, only for above-mentioned, specifically do not limit。
TLV mode (Type type, Lenght length, Value value) is adopted to construct the clock source attribute of consistent form;
Wherein, clock source attribute includes PTP heading and the main information of PTPAnnounce message, and clock source attribute can be divided into leap second attribute (LEAPS_SECOND), frequency and time tracking mode attribute (FREQ_TIME_STATUS), time domain (DOMAIN) attribute, upper level clock (PARENT_DATA) attribute。
When OLT follows the tracks of PTP time synchronized interface input reference source, clock source attribute, from the OLT PTP reference source currently selected, generates the clock source attribute of above-mentioned TLV form according to the PTP heading in the current PTP reference source selected and the information in PTPAnnounce message;
When OLT follows the tracks of 1PPS+TOD time synchronized interface reference source, LeapSeconds field in TOD temporal information message is converted to the currentUtcOffset field in LEAPS_SECOND attribute, convert the pulse per second (PPS) mode field in TOD temporal information message in PARENT_DATA clock source attribute clockClass field, except currentUtcOffset field and clockClass field, other fields in above-mentioned clock source attribute are all constructed by the clock source default value of OLT;
When OLT both also inputs without 1PPS+TOD without PTP input, use the clock source default property of OLT。
Message adopts TLV mode be packaged here so that PTP message and in TOD information two types clock source attribute can both with same form send to ONU, improve the compatibility of information architecture itself, improve packet parsing efficiency。
One of preferably, in step 302, in the following manner, optical line terminal OLT monitoring appointment event, including:
Mode one, in monitoring upper level clock source attribute, whether the first specific field in time synchronization protocol statement PTPAnnounce message changes, wherein, when the first specific field changes, it is determined that the leap second attribute in upper level clock source attribute changes;
Mode two, in monitoring upper level clock source attribute, whether the second specific field in time synchronization protocol statement PTPAnnounce message changes, wherein, when the second specific field changes, it is determined that the frequency time tracking mode attribute in upper level clock source attribute changes;
Mode three, in monitoring upper level clock source attribute, whether the jump second LeapSeconds field in current time TOD message changes, wherein, when LeapSeconds field changes, it is determined that the leap second attribute in upper level clock source attribute changes;
Wherein, the first specific field includes at least one of: the our times standard time compensates currentUtcOffset, the currently active universal time compensates currentUtcOffsetValid, 59 seconds jump leap59,61 seconds jump leap61;And/or,
Second specific field includes at least one of: traceable time timeTraceable, traceable frequency frequencyTraceable, clock grade clockclass, time source timesource。
Mode four, monitoring this locality occur in specified type event can tracking frequency whether losing lock, wherein, can tracking frequency losing lock time, it is determined that monitor appointment event;
Mode five, monitoring this locality occur in specified type event can tracking time whether losing lock, wherein, can tracking time losing lock time, it is determined that monitor appointment event。
One of preferably, in step 304, in the following manner, when monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted by OLT, including:
Mode one, when can tracking frequency losing lock time, the clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
Mode two, when can tracking time losing lock time, reduce the clock grade clockclass in clock source attribute。
Concrete, in conjunction with above-mentioned steps S302 and step S304:
When OLT follows the tracks of PTP time synchronized interface input reference source, currentUtcOffset, currentUtcOffsetValid, leap59, leap61 field in PTPAnnounce message in the current PTP reference source selected of OLT detection, when above-mentioned field changes, namely think that leap second attribute changes;
When OLT follows the tracks of PTP time synchronized interface input reference source, OLT detects when in the PTPAnnounce message in the PTP reference source of current selection, timeTraceable, frequencyTraceable, clockclass, timesource change, and namely thinks that frequency time tracking mode attribute changes;
When OLT follows the tracks of 1PPS+TOD time synchronized interface reference source, OLT detects LeapSeconds field in TOD temporal information message, when this field changes, namely thinks that leap second attribute changes;
When OLT detects that own frequency follows the tracks of losing lock, clockclass is adjusted to the default value of clockclass, frequencyTraceable and timeTraceable is adjusted to false, think local simultaneously and occur specified type event to occur;
When OLT detects that its temporal follows the tracks of losing lock, only demote clockclass, and other clock source attributes remain unchanged, and thinks local simultaneously and occurs specified type event to occur;
This this locality occurs specified type event also to include but not limited to, and ONU reaches the standard grade event。
Providing the synchronous method of a kind of clock source attribute in the present embodiment, Fig. 4 is the flow chart of the synchronous method of clock source attribute according to embodiments of the present invention, is applied to optical network unit ONU, and as shown in Figure 4, this flow process comprises the steps:
Step S402, receives the upper level clock source attribute after the adjustment that optical line terminal OLT sends;
Step S404, according to the upper level clock source Attribute tuning present clock source attribute after adjusting。
By above-mentioned steps, receive the upper level clock source attribute after the adjustment that optical line terminal OLT sends, according to the upper level clock source Attribute tuning present clock source attribute after adjusting。Solve due to clock source attribute in synchronizing process due to the problem that clock source property parameters too much causes maintenance work efficiency to reduce, and then reached the effect of clock source property synchronization。
Preferably, in step S402, before receiving the upper level clock source attribute after the adjustment that optical line terminal OLT sends, also include:
Step S398, receives the OLT first kind message periodically sent, and first kind message carries upper level clock source attribute;
Preferably, step S406, receive the upper level clock source attribute after the adjustment that optical line terminal OLT sends, particularly as follows: receive the OLT Equations of The Second Kind message sent, Equations of The Second Kind message carries the upper level clock source attribute after OLT adjusts, and wherein the priority of Equations of The Second Kind message is higher than the priority of first kind message。
One of preferably, step S404, in the following manner, according to the upper level clock source Attribute tuning present clock source attribute after adjusting, including:
Mode one, when according to adjust after upper level clock source attributive judgment present clock attribute in can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
Mode two, when according in the upper level clock source attributive judgment present clock source attribute after adjusting can tracking time losing lock time, reduce the clock grade in clock source attribute。
From the foregoing, it will be observed that optical line unit ONU resolves the clock source attribute message received, detect self critical event, then clock source attribute is carried out necessary adjustment, export clock source attribute information finally by time synchronized interface, wherein:
When ONU detects that own frequency follows the tracks of losing lock, clock grade clockclass is adjusted to clockclass default value, can tracking frequency frequencyTraceable and false false can be adjusted to by tracking time timeTraceable, think that this locality of OLT occurs specified type event to occur simultaneously;
Wherein, the default value of clockclass can be the standard value in IEEE1588 agreement。
When ONU detects that its temporal follows the tracks of losing lock, a degraded clock grade clockclass, other clock source attributes remain unchanged, and think that this locality of OLT occurs specified type event to occur simultaneously。
Preferably, after step S404 is according to the upper level clock source Attribute tuning present clock source attribute after adjusting, also include:
Step S406, sends the clock source attribute after adjusting to base station, and wherein, by time synchronized interface tranmitting data register source attribute, this time synchronized interface includes at least one of: time synchronized PTP interface and pulse per second (PPS) 1PPS and current time TOD interface。
Wherein, ONU is by the clock source attribute after PTP time synchronized interface or the output adjustment of 1PPS+TOD time synchronized interface。
Additionally providing the synchronizer of a kind of clock source attribute in the present embodiment, this device is used for realizing above-described embodiment and preferred implementation, has be carried out repeating no more of explanation。As used below, term " module " can realize the software of predetermined function and/or the combination of hardware。Although the device described by following example preferably realizes with software, but hardware, or the realization of the combination of software and hardware is also likely to and is contemplated。
Fig. 5 is the structured flowchart of the synchronizer of clock source attribute according to embodiments of the present invention, as it is shown in figure 5, be applied in optical line terminal OLT, this device includes: monitoring modular 52, adjusting module 54 and the first sending module 56, wherein,
Monitoring modular 52, is used for monitoring appointment event;
Adjusting module 54, is connected with monitoring modular 52, for when monitoring this appointment event, the clock source attribute from upper level clock source received being adjusted;
First sending module 56, is connected with adjusting module 54, for sending the upper level clock source attribute after adjustment to optical network unit ONU。
Preferably, as shown in Figure 6, Fig. 6 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, and the synchronizer of clock source attribute also includes: the second sending module 51, wherein,
Second sending module 51, for before monitoring appointment event, first kind message is periodically sent to ONU, this first kind message carries upper level clock source attribute, wherein, upper level clock source attribute passes through time synchronized interface, and time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface;
First sending module 56, is sent to ONU for being carried in Equations of The Second Kind message by the upper level clock source attribute after adjustment, and wherein, the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Preferably, as it is shown in fig. 7, Fig. 7 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, the second sending module 51, including: message construction unit 511 and transmitting element 512, wherein,
Message construction unit 511, for building first kind message according to pre-set configuration, pre-set configuration is type, length, value TLV framework;
Transmitting element 512, is connected with message construction unit 511, for being sent to ONU according to the cycle by first kind message。
Preferably, as shown in Figure 8, Fig. 8 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, monitoring modular 52, for one of in the following manner, monitoring appointment event, including:
First monitoring means 521, whether the first specific field for monitoring in upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the first specific field changes, it is determined that the leap second attribute in upper level clock source attribute changes;
Second monitoring means 522, whether the second specific field for monitoring in upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the second specific field changes, it is determined that the frequency time tracking mode attribute in upper level clock source attribute changes;
3rd monitoring means 523, for the appointment event that monitors be upper level clock source attribute change time, according to whether the jump second LeapSeconds in current time TOD message in upper level clock source attribute changes, it is judged that whether appointment event changes;
4th monitoring means 524, for monitor local occur in specified type event can tracking frequency whether losing lock, wherein, can tracking frequency losing lock time, it is determined that monitor appointment event;
5th monitoring means 525, for monitor local occur in specified type event can tracking time whether losing lock, wherein, can tracking time losing lock time, it is determined that monitor appointment event。
Preferably, as shown in Figure 9, Fig. 9 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, adjusting module 54, for one of in the following manner, when monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted, including:
First adjustment unit 541, for when can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
Second adjustment unit 542, for when can tracking time losing lock time, reduce the clock grade clockclass in clock source attribute。
In actual applications, above-mentioned module all can be realized by being positioned at the central processing unit (CPU) of OLT, microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA)。
Figure 10 is the structured flowchart of the synchronizer of clock source attribute according to embodiments of the present invention, as shown in Figure 10, is applied in optical network unit ONU, and this device includes: the first receiver module 62 and adjusting module 64, wherein,
First receiver module 62, is used for the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends;
Adjusting module 64, for according to the upper level clock source Attribute tuning present clock source attribute after adjusting。
Preferably, as shown in figure 11, Figure 11 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, and this device also includes:
Second receiver module 66, before the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends, receives the OLT first kind message periodically sent, and first kind message carries upper level clock source attribute;
First receiver module 62, for receiving the OLT Equations of The Second Kind message sent, Equations of The Second Kind message carries the upper level clock source attribute after OLT adjusts, and wherein the priority of Equations of The Second Kind message is higher than the priority of first kind message。
Optionally, as shown in figure 12, Figure 12 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, adjusting module 64, for one of in the following manner, according to the upper level clock source Attribute tuning present clock source attribute after adjusting, including:
First adjustment unit 641, for when according to adjust after upper level clock source attributive judgment present clock attribute in can tracking frequency losing lock time, clock grade clockclass in clock source attribute is adjusted to preset value, and by clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
Second adjustment unit 642, for when according in the upper level clock source attributive judgment present clock source attribute after adjusting can tracking time losing lock time, reduce the clock grade in clock source attribute。
Optionally, as shown in figure 13, Figure 13 is the structured flowchart of the synchronizer of clock source attribute according to the preferred embodiment of the invention, and this device also includes:
Sending module 68, after the upper level clock source Attribute tuning present clock source attribute after foundation adjusts, the clock source attribute after adjusting is sent to base station, wherein, by time synchronized interface tranmitting data register source attribute, time synchronized interface includes at least one of: time synchronized PTP interface and pulse per second (PPS) 1PPS and current time TOD interface。
In actual applications, above-mentioned module all can be realized by being positioned at the central processing unit (CPU) of ONU, microprocessor (MPU), digital signal processor (DSP), field programmable gate array (FPGA) or PHY chip。
Concrete, the embodiment of the present invention provides the method and apparatus of the synchronization of a kind of clock source attribute such as shown in Fig. 3 to Figure 13, in addition the embodiment of the present invention provides the system of the synchronization also providing for a kind of clock source attribute, make the clock source property synchronization of OLT and ONU in EPON, make ONU without knowing the difference of OLT difference sync cap input time (such as PTP interface and 1PPS+TOD interface) so that ONU can know and transmit the clock source attribute of upper level clock as early as possible。
Wherein, embodiments providing a kind of clock source property synchronization system, this system includes: OLT, ONU, base station;Wherein,
OLT, for by PTP time synchronized interface or 1PPS+TOD interface, obtaining the clock source attribute information of upper level clock, the clock source attribute of structure TLV form, use proprietary protocol message periodically to send the normal priority message comprising clock source attribute;When detect upper level clock source attribute change or detect self have critical event to occur time, clock source attribute is carried out necessary adjustment, and sends the high priority message including this clock source attribute immediately;
ONU, for receiving the OLT clock source attribute message sent, resolve the clock source attribute literary composition received, detect self critical event, clock source attribute demoted or recovers the adjustment of default value, then passing through the output of PTP time synchronized interface or by 1PPS+TOD interface time sync cap output clock source attribute information;
Base station, for receiving the output of PTP time synchronized interface or the clock source attribute information of 1PPS+TOD interface time sync cap output。
The embodiment of the present invention solves the clock synchronization system of the application problem how transmitted with the closely-related clock source attribute of time synchronized except time synchronized in EPON, if solving upper level clock source attribute to change the problem passing to the next stage equipment such as ONU how as early as possible, solve the problem that the clock source attribute information by different upper level time synchronized interface acquisitions is inconsistent, effectively reduce user and safeguard the workload of clock source information, it is to avoid artificial maintenance mistake。
In EPON, the clock synchronization system of application mainly includes, as shown in Figure 2: OLT, ONU, base station。OLT can carry out PTP message interaction as from clock Slave with upper level clock source, stabbed by passing time and realize the OLT time synchronized with upper level clock source, and the local zone time after adjusting is sent to ONU, make ONU realize the time synchronized with OLT;ONU and base station carry out PTP message interaction, make base station realize the time synchronized with ONU by passing time stamp。
In said system, OLT obtains the clock source attribute of upper level equipment by the Announce message in PTP time synchronized interface from upper level clock source, or is obtained the clock source attribute of upper level equipment by 1PPS+TOD interface by OLT。No matter it is current GPON time synchronizing standard ITU-TG.984.3 (definition concrete implementation mechanism) and ITU-TG.984.4 (definition OMCI time message), or EPON time synchronizing standard IEEE802.1AS at present, all define only the OLT precise time how obtained from the external world and pass to the method (being substantially the time stamp transmitting frame number and correspondence thereof) of ONU by fibre circuit and how ONU recovers precise time, all without mentioning or solving the problem how transmitted with the closely-related clock source attribute of time synchronized except time synchronized, change the problem passing to the next stage equipment such as ONU how as early as possible if not mentioning or solving upper level clock source attribute, do not mention or solve the clock source attribute information inconsistence problems obtained by different upper level time synchronized interfaces。
As shown in figure 14, Figure 14 is the info class message structure schematic diagram of embodiment of the present invention clock source attribute:
First character section is frameType, and its value is information;
Three follow-up fields are PARENT_DATA clock source attribute, respectively tlvType (value is PARENT_DATA), Length (its value is 2+N (34)), dataField (data field field, length is 34, and content is mainly the fields such as grandmasterpriority1, grandmasterpriority2, grandmasterIdentity, clockClass, the clockAccuracy in PTPAnnounce message);
Ensuing three fields are DOMAIN clock source attribute, respectively tlvType (value is DOMAIN), Length (its value is 2+N (4)), dataField (data field field, length is 4, and content is mainly the fields such as the domainNumber in PTP heading);
Three last fields are LEAPS_SECOND clock source attribute, respectively tlvType (value is LEAPS_SECOND), Length (its value is 2+N (6)), dataField (data field field, length is 6, and content is mainly the fields such as currentUtcOffsetValid, currentUtcOffset, leap59, the leap61 in PTPAnnounce message);
Clock source attribute PARENT_DATA, DOMAIN, LEAPS_SECOND priority position in above-mentioned info class message is not limited to said sequence。
As shown in figure 15, Figure 15 is the event class message structure schematic diagram of embodiment of the present invention clock source attribute:
First character section is frameType, and its value is event;
Three follow-up fields are LEAPS_SECOND clock source attribute (as shown in Fig. 5 a), respectively tlvType (value is LEAPS_SECOND), Length (its value is 2+N (6)), dataField (data field field, length is 6, and content is mainly the fields such as currentUtcOffsetValid, currentUtcOffset, leap59, the leap61 in PTPAnnounce message);
Ensuing three fields are FREQ_TIME_STATUS clock source attribute, respectively tlvType (value is FREQ_TIME_STATUS), Length (its value is 2+N (4)), dataField (data field field, length is 4, and content is mainly the fields such as frequencyTraceable, the timeTraceable in the PTP heading in PTPAnnounce message);
Clock source attribute LEAPS_SECOND, FREQ_TIME_STATUS priority position in above-mentioned event class message is not limited to said sequence。
Obviously, those skilled in the art should be understood that, each module of the above-mentioned present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or it is distributed on the network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, can be stored in storage device is performed by calculation element, and in some cases, shown or described step can be performed with the order being different from herein, or they are fabricated to respectively each integrated circuit modules, or the multiple modules in them or step are fabricated to single integrated circuit module realize。So, the present invention is not restricted to the combination of any specific hardware and software。
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations。All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention。

Claims (24)

1. the synchronous method of a clock source attribute, it is characterised in that including:
Optical line terminal OLT monitoring appointment event;
Described when monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted by described OLT;
Described upper level clock source attribute after adjusting is sent to optical network unit ONU。
2. method according to claim 1, it is characterised in that described appointment event includes at least one of:
Described upper level clock source attribute changes;Local generation specified type event。
3. method according to claim 1, it is characterised in that
Before monitoring described appointment event, described method also includes: described OLT periodically sends first kind message to described ONU, and described first kind message carries described upper level clock source attribute;
Described upper level clock source attribute after adjusting is sent to optical network unit ONU, including: the described upper level clock source attribute after adjusting is carried in Equations of The Second Kind message and is sent to described ONU, wherein, the priority of described Equations of The Second Kind message is higher than the priority of described first kind message。
4. method according to claim 3, it is characterized in that, described upper level clock source attribute passes through time synchronized interface, and described time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface。
5. method according to claim 3, it is characterised in that described OLT periodically sends first kind message to described ONU, including:
Building described first kind message according to pre-set configuration, described pre-set configuration is type, length, value TLV framework;
It is sent periodically to described ONU by building the described first kind message obtained。
6. method according to claim 2, it is characterised in that when described appointment event be described upper level clock source attribute change time, optical line terminal OLT monitors appointment event by one below mode:
Whether the first specific field monitored in described upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the first specific field changes, it is determined that the leap second attribute in described upper level clock source attribute changes;
Whether the second specific field monitored in described upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the second specific field changes, it is determined that the frequency time tracking mode attribute in described upper level clock source attribute changes;
Whether the jump second LeapSeconds field monitored in described upper level clock source attribute in current time TOD message changes, wherein, when LeapSeconds field changes, it is determined that the leap second attribute in described upper level clock source attribute changes。
7. method according to claim 6, it is characterised in that
Described first specific field includes at least one of: the our times standard time compensates currentUtcOffset, the currently active universal time compensates currentUtcOffsetValid, 59 seconds jump leap59,61 seconds jump leap61;And/or,
Described second specific field includes at least one of: traceable time timeTraceable, traceable frequency frequencyTraceable, clock grade clockclass, time source timesource。
8. method according to claim 6, it is characterised in that when described appointment event be described upper level clock source attribute change time, optical line terminal OLT monitors appointment event by one below mode, including:
Monitor described local occur in specified type event can tracking frequency whether losing lock, wherein, described can tracking frequency losing lock time, it is determined that monitor described appointment event;
Monitor described local occur in specified type event can tracking time whether losing lock, wherein, described can tracking time losing lock time, it is determined that monitor described appointment event。
9. method according to claim 8, it is characterised in that the clock source attribute from upper level clock source received is adjusted by described OLT, including:
When described can tracking frequency losing lock time, the clock grade clockclass in described clock source attribute is adjusted to preset value, and by described clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
When described can tracking time losing lock time, reduce the clock grade clockclass in the attribute of described clock source。
10. the synchronous method of a clock source attribute, it is characterised in that including:
Receive the upper level clock source attribute after the adjustment that optical line terminal OLT sends;
According to the upper level clock source Attribute tuning present clock source attribute after described adjustment。
11. method according to claim 10, it is characterised in that before the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends, also include:
Receiving the described OLT first kind message periodically sent, described first kind message carries described upper level clock source attribute;
Receive the upper level clock source attribute after the described OLT adjustment sent, including: receive the described OLT Equations of The Second Kind message sent, described Equations of The Second Kind message carries the described upper level clock source attribute after described OLT adjusts, and the priority of wherein said Equations of The Second Kind message is higher than the priority of described first kind message。
One of 12. method according to claim 10, it is characterised in that in the following manner, according to the upper level clock source Attribute tuning present clock source attribute after described adjustment, including:
When according in present clock attribute described in the upper level clock source attributive judgment after described adjustment can tracking frequency losing lock time, clock grade clockclass in described clock source attribute is adjusted to preset value, and by described clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
When according in present clock source attribute described in the upper level clock source attributive judgment after described adjustment can tracking time losing lock time, reduce the clock grade in the attribute of described clock source。
13. method according to claim 10, it is characterised in that after according to the upper level clock source Attribute tuning present clock source attribute after described adjustment, also include:
Sending the clock source attribute after adjusting to base station, wherein, send described clock source attribute by time synchronized interface, described time synchronized interface includes at least one of: time synchronized PTP interface and pulse per second (PPS) 1PPS and current time TOD interface。
14. the synchronizer of a clock source attribute, it is characterised in that including:
Monitoring modular, is used for monitoring appointment event;
Adjusting module, for described when monitoring this appointment event, is adjusted the clock source attribute from upper level clock source received;
First sending module, for sending the described upper level clock source attribute after adjustment to optical network unit ONU。
15. device according to claim 14, it is characterised in that described device also includes:
Second sending module, for before monitoring described appointment event, first kind message is periodically sent to described ONU, described first kind message carries described upper level clock source attribute, wherein, described upper level clock source attribute passes through time synchronized interface, and described time synchronized interface includes at least one of: time synchronization protocol PTP time synchronized interface, pulse per second (PPS) 1PPS and current time TOD time synchronized interface;
Described first sending module, for being carried in Equations of The Second Kind message and be sent to described ONU by the described upper level clock source attribute after adjustment, wherein, the priority of described Equations of The Second Kind message is higher than the priority of described first kind message。
16. device according to claim 15, it is characterised in that described second sending module, including:
Message construction unit, for building described first kind message according to pre-set configuration, described pre-set configuration is type, length, value TLV framework;
Transmitting element, for sending described first kind message to described ONU according to the described cycle。
17. device according to claim 15, it is characterised in that described monitoring modular, for one of in the following manner, monitoring appointment event, including:
First monitoring means, whether the first specific field for monitoring in described upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the first specific field changes, it is determined that the leap second attribute in described upper level clock source attribute changes;
Second monitoring means, whether the second specific field for monitoring in described upper level clock source attribute in time synchronization protocol statement PTPAnnounce message changes, wherein, when the second specific field changes, it is determined that the frequency time tracking mode attribute in described upper level clock source attribute changes;
3rd monitoring means, described appointment event for monitoring is that described upper level clock source attribute is when changing, according to whether the jump second LeapSeconds in current time TOD message in described upper level clock source attribute changes, it is judged that whether described appointment event changes。
18. device according to claim 15, it is characterised in that described monitoring modular, for one of in the following manner, monitoring appointment event, including:
4th monitoring means, for monitor described local occur in specified type event can tracking frequency whether losing lock, wherein, described can tracking frequency losing lock time, it is determined that monitor described appointment event;
5th monitoring means, for monitor described local occur in specified type event can tracking time whether losing lock, wherein, described can tracking time losing lock time, it is determined that monitor described appointment event。
19. device according to claim 18, it is characterised in that described adjusting module, for one of in the following manner, described when monitoring this appointment event, the clock source attribute from upper level clock source received is adjusted, including:
First adjustment unit, for when described can tracking frequency losing lock time, clock grade clockclass in described clock source attribute is adjusted to preset value, and by described clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
Second adjustment unit, for when described can tracking time losing lock time, reduce the clock grade clockclass in the attribute of described clock source。
20. the synchronizer of a clock source attribute, it is characterised in that including:
First receiver module, is used for the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends;
Adjusting module, for according to the upper level clock source Attribute tuning present clock source attribute after described adjustment。
21. device according to claim 20, it is characterised in that described device also includes:
Second receiver module, before the upper level clock source attribute after receiving the adjustment that optical line terminal OLT sends, receives the described OLT first kind message periodically sent, and described first kind message carries described upper level clock source attribute;
Described first receiver module, for receiving the described OLT Equations of The Second Kind message sent, described Equations of The Second Kind message carries the described upper level clock source attribute after described OLT adjusts, and the priority of wherein said Equations of The Second Kind message is higher than the priority of described first kind message。
22. device according to claim 20, it is characterised in that described adjusting module, for one of in the following manner, according to the upper level clock source Attribute tuning present clock source attribute after described adjustment, including:
First adjustment unit, for when according in present clock attribute described in the upper level clock source attributive judgment after described adjustment can tracking frequency losing lock time, clock grade clockclass in described clock source attribute is adjusted to preset value, and by described clock source attribute can tracking time timeTraceable and can be adjusted to false by tracking frequency frequencyTraceable;
Second adjustment unit, for when according in present clock source attribute described in the upper level clock source attributive judgment after described adjustment can tracking time losing lock time, reduce the clock grade in the attribute of described clock source。
23. device according to claim 20, it is characterised in that described device also includes:
Sending module, for after according to the upper level clock source Attribute tuning present clock source attribute after described adjustment, the clock source attribute after adjusting is sent to base station, wherein, sending described clock source attribute by time synchronized interface, described time synchronized interface includes at least one of: time synchronized PTP interface and pulse per second (PPS) 1PPS and current time TOD interface。
24. the synchro system of a clock source attribute, it is characterised in that described system includes: optical line terminal OLT, optical network unit ONU and base station, wherein,
Described OLT and described ONU sets up communication connection, and described ONU sets up communication connection with described base station, and wherein, described OLT is claim 14 synchronizer of arbitrary described clock source attribute to claim 19;Described ONU is claim 20 synchronizer of arbitrary described clock source attribute to claim 23。
CN201410692729.XA 2014-11-25 2014-11-25 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system Pending CN105703893A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410692729.XA CN105703893A (en) 2014-11-25 2014-11-25 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system
PCT/CN2015/074037 WO2016082369A1 (en) 2014-11-25 2015-03-11 Method, apparatus and system for synchronizing clock source attributes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410692729.XA CN105703893A (en) 2014-11-25 2014-11-25 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system

Publications (1)

Publication Number Publication Date
CN105703893A true CN105703893A (en) 2016-06-22

Family

ID=56073448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410692729.XA Pending CN105703893A (en) 2014-11-25 2014-11-25 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219276A1 (en) * 2017-05-31 2018-12-06 中国移动通信有限公司研究院 Method and device for carrying out synchronized alarming, and computer storage medium
WO2021238377A1 (en) * 2020-05-28 2021-12-02 华为技术有限公司 Method and apparatus for clock source management

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653533B (en) * 2020-12-17 2022-09-20 中国航空工业集团公司西安航空计算技术研究所 Intelligent time service management method for complex system

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
CN101895361A (en) * 2010-07-12 2010-11-24 中兴通讯股份有限公司 Method, system and clock board for transmitting synchronous status message
CN102237940A (en) * 2010-05-04 2011-11-09 华为技术有限公司 Method, system and device for transferring sync-status message (SSM) in passive optical network
CN104052589A (en) * 2013-03-15 2014-09-17 美国博通公司 Fault Tolerant Clock Network
CN106160909A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 The processing method and processing device of leap second saltus step

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841736B (en) * 2009-03-20 2014-03-12 中兴通讯股份有限公司 Method and system for transferring time in passive optical network (PON)
CN102130764A (en) * 2010-12-01 2011-07-20 华为技术有限公司 Method, system and device for sending time synchronization information

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
CN102237940A (en) * 2010-05-04 2011-11-09 华为技术有限公司 Method, system and device for transferring sync-status message (SSM) in passive optical network
CN101895361A (en) * 2010-07-12 2010-11-24 中兴通讯股份有限公司 Method, system and clock board for transmitting synchronous status message
CN104052589A (en) * 2013-03-15 2014-09-17 美国博通公司 Fault Tolerant Clock Network
CN106160909A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 The processing method and processing device of leap second saltus step

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
WO2018219276A1 (en) * 2017-05-31 2018-12-06 中国移动通信有限公司研究院 Method and device for carrying out synchronized alarming, and computer storage medium
WO2021238377A1 (en) * 2020-05-28 2021-12-02 华为技术有限公司 Method and apparatus for clock source management

Also Published As

Publication number Publication date
WO2016082369A1 (en) 2016-06-02

Similar Documents

Publication Publication Date Title
CN101299749B (en) Method and apparatus for transferring clock between networks
CN103916950A (en) Time synchronization method and system
JP5314768B2 (en) Passive optical network system time synchronization method and synchronization system thereof
KR101426325B1 (en) Network element for a packet-switched network
US8995837B2 (en) Subscriber-side optical communication device, communication system, control device, and power-saving control method
RU2638645C2 (en) Method for identification of reference clock signals subjected to asymmetry changes to delay propagation path between nodes in communication network
CN104145435A (en) Frequency distribution using precision time protocol
WO2017012486A1 (en) Otn network element and otn clock and time synchronization method and system
CN101882990B (en) Method for selecting master clock based on PTP (Picture Transfer Protocol) and link quality, slave clock and system
CN102843620B (en) A kind of OTN Apparatus and method for realizing time synchronized and transmit
Garner et al. Synchronization of audio/video bridging networks using IEEE 802.1 AS
CN103259640B (en) A kind of method and apparatus of lock in time
US9363206B2 (en) Method and apparatus for selecting passive port of transparent clock node based on PTP
CN110798276B (en) Time synchronization method and system for SDN (software defined network) of intelligent substation
CN102938676A (en) Method, device and system for processing time synchronization
CN102843205A (en) Method and device for time synchronization convergence based on precision time protocol
US8149881B2 (en) Centralized node clock auto reconfiguration
CN107959537B (en) State synchronization method and device
CN105703893A (en) Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system
Mahmood et al. Clock synchronization for IEEE 802.11 based wired-wireless hybrid networks using PTP
CN106656385A (en) Air interface time synchronization method and device for relay system
KR101492747B1 (en) Method for time distribution in synchronous ethernet and sonet/sdh domains
CN103441833A (en) Method and system for synchronizing frequency of master unit and frequency of slave unit
CN105681105B (en) Network element configuration information synchronization method and device
CN105323028B (en) A kind of method for synchronizing time, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160622

WD01 Invention patent application deemed withdrawn after publication