CN102957488B - A kind of time synchronized selects source method and device - Google Patents

A kind of time synchronized selects source method and device Download PDF

Info

Publication number
CN102957488B
CN102957488B CN201110237394.9A CN201110237394A CN102957488B CN 102957488 B CN102957488 B CN 102957488B CN 201110237394 A CN201110237394 A CN 201110237394A CN 102957488 B CN102957488 B CN 102957488B
Authority
CN
China
Prior art keywords
source
clock
clock source
equipment
time
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.)
Expired - Fee Related
Application number
CN201110237394.9A
Other languages
Chinese (zh)
Other versions
CN102957488A (en
Inventor
夏靓
赵洪广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201110237394.9A priority Critical patent/CN102957488B/en
Priority to PCT/CN2012/078400 priority patent/WO2013023505A1/en
Publication of CN102957488A publication Critical patent/CN102957488A/en
Application granted granted Critical
Publication of CN102957488B publication Critical patent/CN102957488B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of time synchronized and select source method and device, the method includes: boundary clock equipment or carry out clock source selection according to one or more the following parameter of clock source from clockwork: whether reference clock source credit rating, reference time source credit rating, reference clock source and reference time source are positioned at same equipment, this device port clock priority parameter, message delay change indicator, time synchronized link symmetric index.This programme selects source policy for realize time synchronized, multiple relevant parameter can be utilized comprehensively to carry out selecting source, thus improve the reasonability selecting source.This programme realizes the protection mechanism of time synchronization network simultaneously; carry out protection switching; some failure and special that can sense clock synchronous network in time process in time; support the interaction between clock synchronous network and this two-tier network of time synchronization network; improve the motility of time synchronization network protection switching, it is ensured that time synchronized performance is unaffected.

Description

A kind of time synchronized selects source method and device
Technical field
The present invention relates to the communications field, select source method and device in particular to a kind of time synchronized.
Background technology
Along with developing rapidly of mobile communication network technology (including 3G and 4G technology), for based on Packet Transport Network The time synchronized of the mobile retransmission net of (Packet Transport Network, be called for short PTN) technology proposes clear and definite, high-precision The requirement of degree.
Current time synchronized is mainly by IEEE1588v2 protocol realization, also known as PTP protocol.PTP protocol select source It is to be realized by best master clock (Best Master Clock is called for short BMC) algorithm with protection mechanism.
Communication network there has been and utilize IEEE 1588v2 to realize the standard criterion of Frequency Synchronization-G.8265.1, it Source and protection mechanism (the BMC algorithm of extension) is selected still to continue to use conventional synchronous digital system (Synchronous Digital Hierarchy, is called for short SDH) Synchronication status message (Synchronization Status Message, be called for short SSM) of network Protocol, during by carrying in clock stratum (ClockClass) field of the notice of PTP protocol (announce) message Credit rating (Quality Level the is called for short QL) attribute of Zhong Yuan, shows the credit rating of clock source, adds equipment local The clock source priority of configuration, the SSM algorithm inheriting SDH system carries out the selection of clock source.
The time synchronizing standard specification of telecommunications network is the most formulated at present, not yet standardization.But the wherein time Being achieved in that of synchronizing has determined that, mainly includes two big classes:
The first kind, individually completes Frequency Synchronization and time synchronized by PTP protocol simultaneously;
Equations of The Second Kind, utilizes the physical layer networks such as SDH or SyncE to complete Frequency Synchronization, at equipment and reference clock source (PRC) Frequency Synchronization on the basis of, the system clock of set device, recycling PTP protocol carry out the mutual of time message, utilize PTP System clock is modified by the time acquired in protocol interaction, thus realizes time synchronized.
Wherein, latter approach is because its stability and high accuracy, and on factors such as the impact of bandwidth are less, has certain Technical advantage.But from the point of view of logically, either which kind of implementation, time synchronized is all by double-layer network group from framework Become, including the Frequency Synchronization net on basis, and based on time synchronization network thereon.This two-tier network in logic can be the most only Vertical, select source and protection mechanism each independent operating.But in some cases, the interaction of some necessity is for the synchronization of time synchronized layer Precision and stability is the most meaningful.Such as: boundary clock (Boundary Clock is called for short BC) equipment is at Frequency Synchronization net In there is no a locked clock source, or locked clock source failure, now the time synchronized of this BC equipment must be inaccurate, needs to be advertised to Time synchronized layer is to walk around this BC equipment.
G.8275.1 select source and the protection mechanism (the BMC algorithm i.e. extended) of carrier class time synchronized the most under study for action, are One of key issue, but concrete select source mechanism the clearest and the most definite.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of time synchronized and selects source method and device, improves clock synchronous network Select rationality and the effective degree in source.
In order to solve above-mentioned technical problem, the invention provides a kind of time synchronized and select source method, wherein, boundary clock sets Standby or carry out clock source selection from clockwork according to one or more the following parameter of clock source: reference clock source quality Whether grade, reference time source credit rating, reference clock source and reference time source are positioned at same equipment, this device port clock Priority parameters, message delay change indicator, time synchronized link symmetric index.
Further, said method can also have the following characteristics that
Clock source selection is carried out, parameter priority being ordered as from high to low: time synchronized link according to parameter priority Symmetric index, reference clock source credit rating, reference time source credit rating, reference clock source and reference time source whether position In same equipment, the port clock priority parameters of this equipment self configuration, message delay change indicator.
Further, said method can also have the following characteristics that
Each parameter is arranged weight, calculates the weight total value of each clock source, select the clock source that weight total value is the highest.
Further, said method can also have the following characteristics that
Reference clock source credit rating is carried in the clock stratum son field of the master clock Quality field of notification packet, The clock accuracy son field of master clock Quality field is carried the credit rating of reference time source.
Further, said method can also have the following characteristics that
When carrying reference clock source and benchmark in the default son field of notification packet or the field of other non-working conditions Whether Zhong Yuan is positioned at the instruction of same equipment.
Further, said method can also have the following characteristics that
When boundary clock equipment or the reference clock source from the different path of clockwork selection and reference time source, it is being used for The notification packet that first device sends downwards indicates reference clock source and reference time source to be positioned at distinct device, selects to go the same way mutually When the reference clock source in footpath and reference time source, in the notification packet that downward first device sends, indicating reference clock source The information whether being positioned at same equipment with reference time source keeps constant.
Further, said method can also have the following characteristics that
Boundary clock equipment or when clockwork non-locking clock source or the failure of locked clock source, by the notice of extension Message informs that next stage boundary clock equipment choice walks around the time synchronized path of this boundary clock equipment.
In order to solve above-mentioned technical problem, present invention also offers a kind of time synchronized and select source apparatus, be positioned at boundary clock Equipment or from clockwork, wherein, described time synchronized selects source apparatus to include clock source selection unit;Described clock source selection list Unit, for carrying out clock source selection according to one or more in the following parameter of clock source: reference clock source credit rating, base Between Zhun Shi, whether source quality grade, reference clock source and reference time source are positioned at same equipment, this device port clock priority Parameter, message delay change indicator, time synchronized link symmetric index.
Further, said apparatus can also have the following characteristics that
Described clock source selection unit, for carrying out clock source selection according to parameter priority;
Described parameter priority being ordered as from high to low: time synchronized link symmetric index, reference clock source quality Whether grade, reference time source credit rating, reference clock source and reference time source are positioned at same equipment, this equipment self configuration Port clock priority parameters, message delay change indicator.
Further, said apparatus can also have the following characteristics that
Described clock source selection unit, is additionally operable to each parameter is arranged weight, calculates the weight total value of each clock source, choosing Select the clock source that weight total value is the highest.
This programme proposes the solution of complete set, selects source policy for realize time synchronized, can utilize many comprehensively Individual relevant parameter carries out selecting source, thus improves the reasonability selecting source.This programme realizes the protection mechanism of time synchronization network simultaneously, Carrying out protection switching, some failure and special that can sense clock synchronous network in time process in time, support clock synchronous network and time Interaction between this two-tier network of Synchronization Network, improves the motility of time synchronization network protection switching, it is ensured that time synchronized performance Unaffected.This programme can meet the networking requirement to the time synchronization network that time precision and stability have high requirements.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that time synchronized selects source method;
Fig. 2 is the method flow diagram of specific embodiment one;
Fig. 3 is equipment connecting relation figure in specific embodiment two.
Detailed description of the invention
As it is shown in figure 1, time synchronized selects source method to include:
Boundary clock (BC) equipment or from clock (Slave Clock, be called for short SC) equipment according to the following parameter of clock source In one or more carry out clock source selection: reference clock source (PRC) credit rating, reference time source (PRTC) quality etc. Whether level, reference clock source and reference time source are positioned at same equipment, this device port clock priority parameter, message delay change Change index (PDV), time synchronized link symmetric index.
Boundary clock equipment or the time synchronized from clockwork select source apparatus to include clock source selection unit, now Zhong Yuan selects unit to be used for the execution of clock source selection.
Clock source selection unit can select one or more from above-mentioned six parameters, enters according to selected parameter Clock source is selected after row synthetic determination.
Wherein, reference clock source (PRC) credit rating, reference time source (PRTC) credit rating, reference clock source and base Whether quasi-time source is positioned at these three parameters of same equipment can be carried with noticing (announce) message.
The quality information that the BMC algorithm of existing 1588v2 agreement carries out time source mainly by notification packet is noticed, Again by mass ratio relatively, carry out selecting source and protection to switch.Its notification packet form is as shown in table 1:
Table 1
Utilize the clock stratum of master clock quality (grandmasterClockQuality) field in notification packet (clockClass) son field carries reference clock source credit rating.
G.781 credit rating SSM QL to the clockClass field mapping relations of the PRC of standard definition can be with G.8265.1 as defined in, as shown in table 2:
Table 2
Other mapping modes in addition to table 2 can also be used.
Wherein, clockClass field value is the least, represents that PRC credit rating is the highest.
Utilize master clock quality (grandmasterClockQuality) the field clock accuracy in notification packet (clockAccuracy) son field carries the credit rating of reference time source.
The corresponding relation of clock accuracy field value and time precision is with reference to the definition of 1588v2 agreement, and concrete condition is such as Shown in table 3:
Table 3
Value(hex) Specification
00-1F Reserved
20 The time is accurate to within 25ns
21 The time is accurate to within 100ns
22 The time is accurate to within 250ns
23 The time is accurate to within 1us
24 The time is accurate to within 2.5us
25 The time is accurate to within 10us
26 The time is accurate to within 25us
27 The time is accurate to within 100us
28 The time is accurate to within 250us
29 The time is accurate to within 1ms
2A The time is accurate to within 2.5ms
2B The time is accurate to within 10ms
2C The time is accurate to within 25ms
2D The time is accurate to within 100ms
2E The time is accurate to within 250ms
2F The time is accurate to within 1s
30 The time is accurate to within 10s
31 The time is accurate to > 10s
32-7F Reserved
80-FD For use by alternate PTP profiles
FE Unknown
FF Reserved
Clock accuracy field value is the least, and the credit rating representing PRTC is the highest.
In default (reserved) son field of notification packet, carry reference clock source and whether reference clock source is positioned at The instruction of same equipment.Such as, utilize any one bit therein, this bit be value be that 2 sources of 1 expression are positioned at same On platform GM equipment, value is that 2 sources of 0 expression are positioned on different GM equipment.The field that can also utilize other non-working conditions (is removed Other fields in announce message beyond clockClass and clockAccuracy) identify this information.
Wherein, whether reference clock source and reference time source are positioned at same equipment is important source foundation of selecting, the most permissible The time being understood as in network and frequency synchronization signal are all to be sent out by same master clock (Grandmaster is called for short GM) equipment Go out, i.e. PRC and PRTC is directly connected on GM.
Wherein, BC or SC equipment can configure port clock priority, in the case of selected other parameter is the most identical, The clock priority that can utilize different port carries out selecting source, selects clock and time source that priority is high.
Wherein, PDV index is to describe the key index of PTP Frequency Synchronization quality, can be all right on BC or SC equipment The PDV index situation of detection PTP Frequency Synchronization, such as: MATIE, MAFE, TDEV etc., using this index as selecting synchronous path A parameter.It is particularly suited for individually completing the scene of Frequency Synchronization and time synchronized by PTP protocol simultaneously.
Wherein, the symmetry of time synchronized link also has the biggest impact for the accuracy of time synchronized, and this is asked Inscribe and solve asymmetry generally by manual compensation during networking, but be newly introduced in view of the dynamically change of network the most right Title property, and the accuracy problem of manual compensation, asymmetry problem it is also possible that be present in time synchronization network, so If this index can detect on BC or SC equipment and show, also it is can be as the ginseng selecting synchronous path Number.Here can be sentenced by the most two-way physical link this index the most consistent of detection carrying time synchronized message Disconnected, if same physical link, then symmetric index is more preferable, it should preferably.
It is illustrated below:
Such as, PRC credit rating, PRTC credit rating, reference clock source and reference time source is selected to be in same setting These three parameters standby, when the PRC credit rating of multiple clock sources and PRTC credit rating are homogeneous while, prioritizing selection reference clock Source and reference time source are in the clock source in the synchronizing signal on same equipment.
Embodiment one
Clock source selection is carried out, parameter priority being ordered as from high to low: time synchronized link according to parameter priority Whether symmetric index, PRC credit rating, PRTC credit rating, PRC and PRTC are positioned at same equipment, this device port clock Priority parameters, message delay change indicator.
I.e. think that synchronization link symmetric index is most important, the symmetric index of the most all synchronization links, preferentially selects The most two-way physical link selecting carrying time synchronized message is consistent synchronization link.If there being multiple synchronization link symmetrical Property index all as, then compare the PRC credit rating in this Multi-path synchronous path, and select PRC credit rating the highest Na mono-tunnel As synchronous path.If also the PRC credit rating of multichannel is the same, just compares their PRTC credit rating, select PRTC Credit rating the highest Na mono-tunnel is as synchronous path.If the credit rating of PRC with PRTC is the most the same, then prioritizing selection 2 Source synchronous path on an equipment.If combination of the above also has multiple selection, followed by with on each port configuration time Clock priority and PDV index carry out selecting source.If above 6 parameters of the most multiple synchronous paths are just the same, permissible An optional road, or keep an existing road.It should be noted that relative ranks can be arbitrarily designated, it is not limited to above this order, But all BC with SC equipment of the whole network to be ensured want consistent.
Embodiment two
Each parameter is arranged weight, calculates the weight total value of each clock source, select the clock source that weight total value is the highest.
Such as, same equipment, this device port whether it are positioned at PRC credit rating, PRTC credit rating, PRC and PRTC These 4 parameters of clock priority parameter are illustrated: can be that the credit rating of PRC is distributed different weights and divided, credit rating be more High weight is divided the highest, such as: the weight of QL-PRC is divided into 4, and the weight of QL-SSU-A is divided into 3, and the weight of QL-SSU-B is divided into The weight of 2, QL-SEC/QL-EEC1 is divided into 1, and the weight of QL-DNU is divided into 0.It is the credit rating different power of distribution of PRTC again Heavily dividing, the weight that credit rating is the highest is divided the highest, such as: precision be the PRTC of 25ns weight be divided into 5, precision is 100ns PRTC weight be divided into 4, precision be the PRTC of 250ns weight be divided into 3, precision be the PRTC of 1us weight divide Being 2, the weight of the PRTC of other precision is divided and wouldn't be illustrated.The weight that 2 sources are positioned at same equipment is divided into 1, and 2 sources are positioned at difference It is 0 during one equipment.Device port clock priority can be divided into 1 with respective weights, 2, the value such as 3....Finally, equipment according to this 4 The respective weight of individual parameter is divided, and takes the highest source of total score and synchronous path.Other 2 parameters (synchronization link symmetric index and PDV index) suitable weight can also be set, participate in overall calculating and routing.
In sum, in this programme, comprehensive multiple parameters comprehensively select source to judge, and ensure all BC of the whole network simultaneously Want consistent with the source judgment rule that selects of SC equipment, it is to avoid situation about being selected because of the inconsistent multiple sources caused of rule.According to The regulation of 1588v2 agreement, front 3 parameters all dynamically write notification packet, middle other types equipment on GM equipment (such as BC, TC etc.) can not change, and can only go down by transparent transmission.Rear 3 parameters are all directly to configure on BC or SC equipment or detect Come.
Boundary clock equipment or when have selected reference clock source and the reference time source in different path from clockwork, with Indicate reference clock source and reference time source to be positioned at distinct device in the notification packet that downward first device sends, have selected phase During with reference clock source and the reference time source in path, when indicating benchmark in the notification packet that downward first device sends Whether Zhong Yuan and reference time source are positioned at the information of same equipment keeps constant.Such as, certain BC equipment receives a synchronous path Indicating PRC and PRTC to be positioned at same equipment in signal, BC have selected the PRTC on this path, and have selected on another path PRC, then this BC equipment needs indicating PRC and PRTC to be positioned at distinct device in transmission to the notification packet of upstream device.
BC equipment or SC equipment non-locking clock source in Frequency Synchronization net, or the failure of locked clock source, cause it to synchronize Time be inaccurate, it is necessary to this BC equipment is walked around in the time synchronized path of notification time Synchronization Network, with avoid by it introduce Time error.In this programme, BC equipment or SC equipment in Frequency Synchronization net when non-locking clock source or the failure of locked clock source, Inform that next stage boundary clock equipment choice walks around the time synchronized path of this boundary clock equipment by the notification packet of extension. One of them bit can be utilized to represent this fault by reserved field in extension notification packet, fault BC gives This bit position 1, is advertised to downstream BC equipment, can not select this BC equipment place when downstream BC sets alternate source and synchronous path Synchronous path, to walk around this BC equipment.If upstream device does not has other optional synchronous paths, it is not necessary to switching.Certainly remove Outside extension reserved field, it is also possible to extend other no fields (in addition to clockClass and clockAccuracy Announce message in other fields) identify this information.
It addition, error handling mechanism---the PTSF (Packet that this set mechanism can also have been formulated in inheriting G.8265.1 Timing Signal Fail), following several error situation can be processed, including: PTSF-lossSync----sync message is lost Mistake, PTSF-lossAnnounce---Announce message dropping, PTSF-unusable---synchronizing function are unavailable.As BC or When SC equipment Inspection is to above mistake, can the protection switching of triggered time synchronous path.
Specific embodiment one
A kind of specific implementation method of this programme is described according to Fig. 2.
Step 201, GM equipment obtains respective credit rating and the position relationship of its PRC and PRTC connected, write In announce message and send.
Step 202, BC or SC equipment judges that whether identifying BC equipment locked clock source, upstream in announce message loses The information lost, if it is, this BC or SC equipment do not select GM and the time synchronous path that this announce message is corresponding, otherwise holds Row step 203.
Step 203, BC or SC equipment, according to 3 parameter informations of the GM write carried in announce message, is added The port clock precedence information of self configuration, and the synchronization link symmetric index that self detects and PDV index, profit The select source rule (relative ranks method or the method for weighting) consistent with the whole network carries out selecting source or protection switching.
Step 204, when whether BC equipment have selected PRC and PRTC of same synchronous path, is arranged in announce message PRC with PRTC relative to tick lables information for being positioned at same equipment, BC equipment whether have selected different synchronous path PRC and During PRTC, PRC with PRTC in announce message is set relative to tick lables information for being positioned at distinct device.
Step 205, during the whether locked clock source success of BC equipment, 3 parameter informations in the limit priority source to select, Reconfigure announce message, continue downstream BC and SC equipment and send;During the whether locked clock source failure of BC equipment, with choosing 3 parameter informations in the limit priority source gone out, reconfigure announce message, and newly written locking failure information, continue Downstream BC and SC equipment sends.
Specific embodiment two
As it is shown on figure 3, there are 2 GM the upstream of BC1, wherein on GM1, there is PRC and PRTC directly to be connect by external interface simultaneously Enter, it is possible to think that PRC and PRTC is on GM1.GM2 then only has PRTC to access, and PRC is the most thereon.
GM1 and GM2 timing can downstream send announce message, wherein carries PRC, PRTC mass etc. of each of which Level, the position relationship of PRC and PRTC, after BC1 equipment receives these announce messages, can be according to the unified choosing formulated before Source rule processes.
If selecting source according to relative ranks method, the positional information > selecting source rule to be 2 sources of PRC > PRTC > of formulation Port clock priority.If PRC credit rating corresponding for GM1 is higher than the credit rating on that road of GM2, then select GM1.If The PRC credit rating on all roads all as, just compare their PRTC credit rating, select the highest that of PRTC credit rating Road is as synchronous path.If the credit rating of PRC with PRTC is the most the same, then 2 sources of prioritizing selection are on an equipment GM1.If combination of the above also has multiple selection, finally carry out selecting source with the clock priority of configuration on each port.If The priority of the port that GM1 is corresponding is high, just selects GM1.If above 4 parameters of this 2 road synchronous path are just the same, permissible An optional road, or keep an existing road.
If selecting source according to the method for weighting, can be that the different weight of credit rating distribution of PRC is divided, credit rating be the highest Weight divide the highest.Wherein:
GM1:PRC is QL-PRC, and its weight is divided into 4;The precision of PRTC is 25ns, and its weight is divided into 5;2 sources of GM1 exist Weight together is divided into 1;The port clock priority of GM1 corresponding ports configuration can be divided into 2 with respective weights.
GM2:PRC is QL-SSU-A, and its weight is divided into 3;The precision of PRTC is 100ns, and its weight is divided into 4;2 of GM1 The weight being not together in source is divided into 0;The port clock priority of GM1 corresponding ports configuration can be divided into 3 with respective weights;
Finally, the weight total score being computed GM1 is 4+5+1+2=12;The weight total score of GM2 is 3+4+0+3=10.Select The GM1 that weight total score is high is source.
If the failure of BC1 clock lock, or lose locking, then need to write this information in announce message, and It is sent to BC2 downstream, after BC2 knows this situation, this synchronous path not selecting BC1 to be upstream, select other can use Synchronous path, to walk around the BC1 that the time forbidden.If upstream device does not has other optional synchronous paths, then need not cut Change.
In sum, this programme proposes the BMC protocol algorithm of a set of extension so that BC and SC equipment can comprehensively be analyzed PRC, PRTC and other information carry out selecting source and protection, and can support the interaction between clock synchronous network and time synchronization network, Make a whole set of mechanism more reasonable, more flexibly, the time synchronization network that time precision and stability are had high requirements can be met Networking requirement, compensate for the disappearance of this part of existing Time synchronization technique.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination in any mutually.
Certainly, the present invention also can have other various embodiments, in the case of without departing substantially from present invention spirit and essence thereof, ripe Know those skilled in the art and can make various corresponding change and deformation according to the present invention, but these change and deformation accordingly All should belong to the protection domain of appended claims of the invention.
One of ordinary skill in the art will appreciate that all or part of step in said method can be instructed by program Related hardware completes, and described program can be stored in computer-readable recording medium, such as read only memory, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuit to realize.Accordingly Ground, each module/unit in above-described embodiment can realize to use the form of hardware, it would however also be possible to employ the shape of software function module Formula realizes.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (12)

1. time synchronized selects a source method, wherein,
Boundary clock equipment or from clockwork according to the multiple clock source selection that carries out the following parameter of clock source:
Whether reference clock source credit rating, reference time source credit rating, reference clock source and reference time source are positioned at same Equipment, this device port clock priority parameter, message delay change indicator, time synchronized link symmetric index;
Clock source selection is carried out, parameter priority being ordered as from high to low: time synchronized link is symmetrical according to parameter priority Property index, reference clock source credit rating, reference time source credit rating, reference clock source and reference time source whether be positioned at The port clock priority parameters of one equipment, this equipment self configuration, message delay change indicator.
2. the method for claim 1, it is characterised in that
Reference clock source credit rating is carried, when main in the clock stratum son field of the master clock Quality field of notification packet The clock accuracy son field of clock Quality field is carried the credit rating of reference time source.
3. the method for claim 1, it is characterised in that
Reference clock source and reference clock source is carried in the default son field of notification packet or the field of other non-working conditions Whether it is positioned at the instruction of same equipment.
4. the method for claim 1, it is characterised in that
When boundary clock equipment or the reference clock source from the different path of clockwork selection and reference time source, for downwards The notification packet that first device sends indicates reference clock source and reference time source are positioned at distinct device, select same paths When reference clock source and reference time source, in the notification packet that downward first device sends, indicating reference clock source and base Whether quasi-time source is positioned at the information of same equipment keeps constant.
5. the method for claim 1, it is characterised in that
Boundary clock equipment or when clockwork non-locking clock source or the failure of locked clock source, by the notification packet of extension Inform that next stage boundary clock equipment choice walks around the time synchronized path of this boundary clock equipment.
6. a time synchronized selects source method, it is characterised in that
Boundary clock equipment or from clockwork according to the multiple clock source selection that carries out the following parameter of clock source:
Whether reference clock source credit rating, reference time source credit rating, reference clock source and reference time source are positioned at same Equipment, this device port clock priority parameter, message delay change indicator, time synchronized link symmetric index;
Each parameter is arranged weight, calculates the weight total value of each clock source, select the clock source that weight total value is the highest.
7. method as claimed in claim 6, it is characterised in that
Reference clock source credit rating is carried, when main in the clock stratum son field of the master clock Quality field of notification packet The clock accuracy son field of clock Quality field is carried the credit rating of reference time source.
8. method as claimed in claim 6, it is characterised in that
Reference clock source and reference clock source is carried in the default son field of notification packet or the field of other non-working conditions Whether it is positioned at the instruction of same equipment.
9. method as claimed in claim 6, it is characterised in that
When boundary clock equipment or the reference clock source from the different path of clockwork selection and reference time source, for downwards The notification packet that first device sends indicates reference clock source and reference time source are positioned at distinct device, select same paths When reference clock source and reference time source, in the notification packet that downward first device sends, indicating reference clock source and base Whether quasi-time source is positioned at the information of same equipment keeps constant.
10. method as claimed in claim 6, it is characterised in that
Boundary clock equipment or when clockwork non-locking clock source or the failure of locked clock source, by the notification packet of extension Inform that next stage boundary clock equipment choice walks around the time synchronized path of this boundary clock equipment.
11. 1 kinds of time synchronized select source apparatus, are positioned at boundary clock equipment or from clockwork, wherein,
Described time synchronized selects source apparatus to include clock source selection unit;
Described clock source selection unit, for carrying out clock source selection according to multiple in the following parameter of clock source: during benchmark Whether clock source quality grade, reference time source credit rating, reference clock source and reference time source are positioned at same equipment, this equipment Port clock priority parameters, message delay change indicator, time synchronized link symmetric index;
Described clock source selection unit, is additionally operable to carry out clock source selection according to parameter priority;Described parameter priority is from height It is ordered as to low: time synchronized link symmetric index, reference clock source credit rating, reference time source credit rating, base Whether quasi-clock source and reference time source are positioned at same equipment, the port clock priority parameters of this equipment self configuration, message Delay variation index.
12. 1 kinds of time synchronized select source apparatus, it is characterised in that be positioned at boundary clock equipment or from clockwork, wherein,
Described time synchronized selects source apparatus to include clock source selection unit;
Described clock source selection unit, for carrying out clock source selection according to multiple in the following parameter of clock source: during benchmark Whether clock source quality grade, reference time source credit rating, reference clock source and reference time source are positioned at same equipment, this equipment Port clock priority parameters, message delay change indicator, time synchronized link symmetric index;
Described clock source selection unit, is additionally operable to each parameter is arranged weight, calculates the weight total value of each clock source, right to choose The clock source that weight total value is the highest.
CN201110237394.9A 2011-08-18 2011-08-18 A kind of time synchronized selects source method and device Expired - Fee Related CN102957488B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110237394.9A CN102957488B (en) 2011-08-18 2011-08-18 A kind of time synchronized selects source method and device
PCT/CN2012/078400 WO2013023505A1 (en) 2011-08-18 2012-07-10 Source selection method and device for time synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110237394.9A CN102957488B (en) 2011-08-18 2011-08-18 A kind of time synchronized selects source method and device

Publications (2)

Publication Number Publication Date
CN102957488A CN102957488A (en) 2013-03-06
CN102957488B true CN102957488B (en) 2016-09-28

Family

ID=47714738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110237394.9A Expired - Fee Related CN102957488B (en) 2011-08-18 2011-08-18 A kind of time synchronized selects source method and device

Country Status (2)

Country Link
CN (1) CN102957488B (en)
WO (1) WO2013023505A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717030B (en) * 2013-12-17 2017-11-03 中国移动通信集团公司 Method for synchronizing time and relevant device, system
DE102014203059A1 (en) 2014-02-20 2015-08-20 Bayerische Motoren Werke Aktiengesellschaft Method for determining a master time signal, vehicle and system
CN105099646A (en) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 Synchronization link determination method and apparatus
CN105323086B (en) * 2014-07-11 2020-03-10 中兴通讯股份有限公司 Method, device and system for indicating synchronous time source selection
CN108011682B (en) * 2016-10-27 2020-09-08 北京华为数字技术有限公司 Method for determining time source and network equipment
CN107231208A (en) * 2017-07-19 2017-10-03 京信通信系统(中国)有限公司 A kind of clock synchronizing method and system
EP3461038B1 (en) * 2017-09-26 2020-04-15 ABB Schweiz AG Clock synchronization in a device
CN108064080A (en) * 2018-01-02 2018-05-22 京信通信系统(中国)有限公司 The clock synchronizing method and device of base station equipment
CN113711511B (en) * 2019-07-08 2024-05-17 Abb瑞士股份有限公司 Industrial equipment supporting multi-time synchronization protocol
CN114448548A (en) * 2019-09-06 2022-05-06 华为技术有限公司 Method, device, system and storage medium for realizing clock source selection
CN112804652B (en) * 2021-01-29 2022-04-05 北京邮电大学 Clock source cluster cooperation-based time service method, device, equipment and readable medium
CN113613097B (en) * 2021-07-23 2024-08-30 四川腾盾科技有限公司 Unmanned aerial vehicle multilink telemetry data optimization method and storage medium
CN113939008B (en) * 2021-10-12 2023-09-05 中国联合网络通信集团有限公司 Base station time synchronization method and system
CN114173367B (en) * 2021-12-23 2023-11-03 烽火通信科技股份有限公司 Time synchronization path protection method, device and readable storage medium
CN115499082B (en) * 2022-11-08 2023-03-10 电信科学技术第五研究所有限公司 Comprehensive source selection method based on multi-time source fusion
CN118118935A (en) * 2022-11-30 2024-05-31 华为技术有限公司 Clock quality grade setting method, device and system
CN115664627B (en) * 2022-12-14 2023-03-10 四川创智联恒科技有限公司 1588 protocol-based frequency synchronization precision detection method and adaptive system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651535A (en) * 2009-09-01 2010-02-17 中兴通讯股份有限公司 Method and system for recovering self-adapted service clock based on PTN
CN101882990A (en) * 2010-06-24 2010-11-10 中兴通讯股份有限公司 Method for selecting master clock based on PTP (Picture Transfer Protocol) and link quality, slave clock and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025480A (en) * 2009-09-14 2011-04-20 中兴通讯股份有限公司 Method and device for realizing boundary clock in cascade base station
JP5560706B2 (en) * 2009-12-28 2014-07-30 富士通株式会社 Node equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651535A (en) * 2009-09-01 2010-02-17 中兴通讯股份有限公司 Method and system for recovering self-adapted service clock based on PTN
CN101882990A (en) * 2010-06-24 2010-11-10 中兴通讯股份有限公司 Method for selecting master clock based on PTP (Picture Transfer Protocol) and link quality, slave clock and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1588v2在电信网应用的标准化进程;宿飞等;《中兴通讯技术》;20110810;第17卷(第4期);第55-57页 *

Also Published As

Publication number Publication date
WO2013023505A1 (en) 2013-02-21
CN102957488A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
CN102957488B (en) A kind of time synchronized selects source method and device
CN102237941B (en) Time synchronization system and method
EP2333993B1 (en) Automatic management of timestamp-based synchronisation protocols
CN111585683A (en) High-reliability clock synchronization system and method for time-sensitive network
CN103248445B (en) A kind of clock synchronizing method and device
CN100571115C (en) A kind of method for synchronous and system
US8446896B2 (en) Time synchronization using packet-layer and physical-layer protocols
Ouellette et al. Using IEEE 1588 and boundary clocks for clock synchronization in telecom networks
US11503560B2 (en) Time synchronization offset adjustment method and apparatus, terminal, and access layer device
CN103107876B (en) A kind of method and system and device of multi-clock simultaneous techniques mixed networking
EP2941065A1 (en) Time synchronization method and system
KR101807745B1 (en) A method for detecting timing references affected by a change in path delay asymmetry between nodes in a communications network
CN106209289A (en) A kind of moonlet self-organizing network method for synchronizing time
CA2707642A1 (en) Method for estimating and monitoring timing errors in packet data networks
CN103873224B (en) Construction method for high-precision time synchronization system based on IP (internet protocol) network
CN103490840B (en) A kind of apparatus and method for carrying out Precision Time Protocol Message processing
CN110225544A (en) A kind of mobile communication base station high-precision time synchronization method based on fiber optic network
CN107181551A (en) A kind of time source system of selection and device
CN108011682A (en) Determine the method and the network equipment of time source
EP2779489B1 (en) Method for selecting a network clock of a local synchronization domain of a mobile network as a frequency synchronization gateway
CN103428009B (en) Realize Operation, Administration and Maintenance (OAM) method and device of packet synchronization net
Shrestha et al. Understanding the impacts of time synchronization and network issues on protection in digital secondary systems
CN105356990A (en) Time synchronization method
CN107888315B (en) A kind of method for synchronizing time
WO2022247478A1 (en) Time synchronization method and apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160928