CN102388556A - Method for clockclass grading and relative deivce - Google Patents

Method for clockclass grading and relative deivce Download PDF

Info

Publication number
CN102388556A
CN102388556A CN201180001783XA CN201180001783A CN102388556A CN 102388556 A CN102388556 A CN 102388556A CN 201180001783X A CN201180001783X A CN 201180001783XA CN 201180001783 A CN201180001783 A CN 201180001783A CN 102388556 A CN102388556 A CN 102388556A
Authority
CN
China
Prior art keywords
time
time synchronism
clockclass
synchronism equipment
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201180001783XA
Other languages
Chinese (zh)
Other versions
CN102388556B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102388556A publication Critical patent/CN102388556A/en
Application granted granted Critical
Publication of CN102388556B publication Critical patent/CN102388556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The embodiments of the invention disclose a method for clockclass grading and a relative deivce.The method includes the steps of a time synchronous device determing whether a tracing main reference time source is lost, wherein the clockclass B is used for indicating clockcloss entering into a retaining mode after the time synchronous device loses the tracing main reference time source, and B is determined by accuracy of the local clock entering into a retaining mode. The higher the accuracy of the local clock, the smaller the value of B. When the loss of the tracing main reference time source is determined, clockclass B is sent to a downstream device of the time synchronous device. The solution of the invention is used for solving the problem that a downstream of a time synchronous device under some scences can not be shifted to the time synchronous device with high clock accuracy.

Description

A kind of clock grade stage division and relevant device
Technical field
The present invention relates to the communications field, relate in particular to a kind of clock grade stage division and relevant device.
Background technology
(the IEEE of IEEE-USA; Institute of Electrical and Electronics Engineers) 1588v2 precision interval clock synchronous protocol (PTP; Precision Time Protocol) can get up the clock synchronization of dispersion, independent operating in the measurement and control system, synchronization accuracy can reach the submicrosecond level.Fig. 1 is the time synchronized scheme in the telecommunication applications scene; As shown in Figure 1; After PTP is launched in time synchronism equipment 11, load bearing equipment 12 and base station 13; The time in main reference time source 10 can be transferred to base station 13 through time synchronism equipment 11 and load bearing equipment 12, so just need not dispose main reference time source separately in each base station, thereby can reduce the programmed cost of network.
In the PTP agreement; Each clockwork all defines (comprising time synchronism equipment, load bearing equipment and base station) the clock attribute of self; According to these clock attributes; (BMC, Best Master Clock) can calculate the master slave relation of clockwork in the network based on the best master clock algorithm, thereby realizes principal and subordinate's time synchronized from clockwork through the adjustment local zone time.In the clock attribute, define the clock quality rank of clockwork by clock grade clockclass parameter, be main the clockclass parameter value and the implication of 1588v2 protocol definition like table 1:
Table 1
Figure BDA0000099736160000011
Wherein, the outer value of bracket is the undefined clockclass parameter value of target scene when using PTP, and the value in the bracket is for using independent (ARB, the undefined clockclass parameter value of target scene in the time of arbitrary).
In the 1588v2 of reality used, the variation of the ClockClass parameter value through time synchronism equipment reflected that the clock quality of time synchronism equipment changes.Suppose table 2 for the current clock attribute of each clockwork among Fig. 1 (for ease of two time synchronism equipments 11 in the component-bar chart 1; The time synchronism equipment 11 that will be in Fig. 1 left side below is described as BITS-A, and the time synchronism equipment 11 that will be in Fig. 1 the right is described as BITS-B).
Table 2
Figure BDA0000099736160000021
Wherein, and the clock mark in the table (clockID, clockIdentity) parameter value is the numeral of 8 byte-sized, supposes the clockID of the clockID of BITS-A less than BITS-B, i.e. a<b, the markers type that BITS-A and BITS-B use is the PTP markers.Based on existing 1588v2 agreement; When BITS-A and BITS-B all can normally follow the tracks of the main reference time during source 10; BITS-A and BITS-B are 6 to the Clockclass parameter value of load bearing equipment 12 outputs, and load bearing equipment is according to the BMC algorithm, and the clock source that calculates current network is BITS-A.
If lose in the main reference time source 10 that this moment, BITS-B followed the tracks of; Suppose that BITS-B gets into the maintenance pattern and satisfies the maintenance requirement; At this moment, BITS-A still is 6 to the Clockclass parameter value of load bearing equipment 12 outputs, and BITS-B reduces to 7 to the Clockclass parameter value of load bearing equipment 12 outputs; Load bearing equipment is according to the BMC algorithm, and the clock source that calculates current network is BITS-A.
If the main reference time that this moment, BITS-A and BITS-B followed the tracks of loses in a steady stream simultaneously; Suppose that BITS-A and BITS-B get into the maintenance pattern and satisfy the satisfied maintenance of maintenance requirement requirement, then, BITS-A reduces to 7 to the Clockclass parameter value of load bearing equipment 12 outputs; BITS-B reduces to 7 to the Clockclass parameter value of load bearing equipment 12 outputs; Because the clockID value of BITS-A is littler than the clockID value of BITS-B, load bearing equipment is according to the BMC algorithm, and the clock source that calculates current network is BITS-A.
It is thus clear that; In above-mentioned application scenarios, if the clock accuracy of BITS-B is higher than the clock accuracy of BITS-A, then load bearing equipment is appointed the clock source as current network with BITS-A; And can't trace into the higher BITS-B of clock accuracy; It is thus clear that there is following drawback at least in the ClockClass ranking score level method of existing 1588v2 protocol definition, promptly under all identical scene of the priority P riority of all time synchronism equipments; When the main reference time of all time synchronism equipments all loses in a steady stream, can't guarantee that the upstream device of time synchronism equipment can switch on the higher time synchronism equipment of clock accuracy.
Summary of the invention
The embodiment of the invention provides a kind of clock grade stage division and relevant device, and the upstream device that is used for solving part scene time synchronism equipment can't switch to the problem on the higher time synchronism equipment of clock accuracy.
The technical scheme that provides for the embodiment of the invention below:
A kind of clock grade stage division comprises:
Time synchronism equipment judges whether the main reference time source of following the tracks of loses; Preserve clock grade clockclass B on the above-mentioned time synchronism equipment; Clock grade when getting into the maintenance pattern behind the main reference time source that above-mentioned clockclass B is used to indicate above-mentioned time synchronism equipment to lose tracking; Wherein, Local clock precision decision when above-mentioned B keeps pattern by above-mentioned entering, above-mentioned local clock precision is high more, and B is more little;
Follow the tracks of when judging the main reference time, lost in the source time, export above-mentioned clockclass B to the upstream device of above-mentioned time synchronism equipment.
A kind of time synchronism equipment comprises:
Memory cell; Be used for store clock grade clockclass B; Clock grade when getting into the maintenance pattern behind the main reference time source that above-mentioned clockclass B is used to indicate above-mentioned time synchronism equipment to lose tracking; Local clock precision decision when above-mentioned B keeps pattern by above-mentioned entering, above-mentioned local clock precision is high more, and B is more little;
Judging unit is used to judge whether the main reference time source of tracking loses;
Output unit, be used for when above-mentioned judgment unit judges go out above-mentioned tracking the main reference time, lost in the source time, export above-mentioned clockclass B to the upstream device of above-mentioned time synchronism equipment.
A kind of clock synchronization system comprises:
Time synchronism equipment and load bearing equipment;
Preserve clock grade clockclass B on the above-mentioned time synchronism equipment; Clock grade when getting into the maintenance pattern behind the main reference time source that above-mentioned clockclass B is used to indicate above-mentioned time synchronism equipment to lose tracking; Wherein, Local clock precision decision when above-mentioned B keeps pattern by above-mentioned entering, above-mentioned local clock precision is high more, and B is more little;
Above-mentioned time synchronism equipment is used to judge whether the main reference time source of tracking loses; Follow the tracks of when judging the main reference time, lost in the source time, export above-mentioned clockclass B to above-mentioned load bearing equipment.
Therefore; In the technical scheme that the embodiment of the invention provides, the main reference time that time synchronism equipment is followed the tracks of losing is kept at the clockclass B on this time synchronism equipment to its upstream device output during the source; And when time synchronism equipment gets into the maintenance pattern the local clock precision high more; The clockclass parameter value of this time synchronism equipment output is more little, and promptly B is more little, on the one hand; Upstream device can be known the current clock accuracy rank of time synchronism equipment in the main reference time source of losing tracking according to the clockclass parameter value that receives; On the other hand, when the priority of all time synchronism equipments of following the tracks of when above-mentioned upstream device all equates, because the clock accuracy of time synchronism equipment is high more; The clockclass parameter value of exporting to its upstream device behind its main reference time source of following the tracks of losing is more little; Therefore, guaranteed that above-mentioned upstream device switches to the higher time synchronism equipment of clock accuracy after calculating through the BMC algorithm, can't guarantee under this scene that above-mentioned upstream device switches to the problem on the higher time synchronism equipment of clock accuracy thereby solved.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic network structure of the time synchronized scheme in the telecommunication applications scene;
Fig. 2 is embodiment schematic flow sheet of a kind of clock grade stage division provided by the invention;
Fig. 3 is another embodiment schematic flow sheet of a kind of clock grade stage division provided by the invention;
Fig. 4 is the schematic network structure under the application scenarios embodiment provided by the invention;
Fig. 5 is example structure sketch map of a kind of time synchronism equipment provided by the invention;
Fig. 6 is example structure sketch map of a kind of clock synchronization system provided by the invention.
Embodiment
The embodiment of the invention provides a kind of clock grade stage division and relevant device.
For make goal of the invention of the present invention, characteristic, advantage can be more obvious and understandable; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment only is the present invention's part embodiment, but not whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
A kind of clock grade stage division that provides in the face of the embodiment of the invention is down described, and sees also Fig. 2, and the clock grade stage division in the embodiment of the invention comprises:
201, time synchronism equipment judges whether the main reference time source of following the tracks of loses;
Preserve clockclass B on the above-mentioned time synchronism equipment; Clock grade when getting into the maintenance pattern behind the main reference time source that clockclass B is used to indicate above-mentioned time synchronism equipment to lose tracking; Wherein, the local clock precision decision the when value of B gets into the maintenance pattern by above-mentioned time synchronism equipment, and; Above-mentioned local clock precision is high more, and B is more little.
202, follow the tracks of when judging the main reference time, lost in the source time, to the upstream device of this time synchronism equipment output clockclass B;
When the time synchronizer can't receive the signal in main reference time source, lost in the current main reference time source of following the tracks of of decidable.
In one embodiment of the invention; Time synchronism equipment docks through 1588 interfaces with its upstream device; Time synchronism equipment follow the tracks of judging the main reference time, lost in the source time, carry the notification packet (being the announce message) of clockclass B to the output of its upstream device, wherein; The 1588v2 agreement defines the form of notification packet, and is as shown in table 3:
Table 3
Figure BDA0000099736160000061
Wherein, GrandmasterClockQuality parameter telltable clock quality in the table, visible by table 4, the grandmasterClockQuality parameter comprises 4 bytes; By the clockclass parameter; Clockaccuracy (clock accuracy) parameter and offsetscaledlogvariance (side-play amount estimation) parameter is formed, in embodiments of the present invention, and with the value output of above-mentioned B as clockclass parameter in the notification packet.
In another embodiment of the invention; Time synchronism equipment is through pulse per second (PPS) (1PPS, one pulse per second)+temporal information (TOD, Time of day) interface butt joint; Time synchronism equipment is exported clockclass B through the pulse per second (PPS) index signal in the TOD information to its upstream device; Wherein, the clockclass parameter value is corresponding one by one with the pulse per second (PPS) index signal, and promptly different clockclass parameter values is by different pulse per second (PPS) index signal indications.
In the present invention implemented, above-mentioned main reference time source can be the big-dipper satellite navigation system, also can be global positioning system (GPS, Global Positioning System), or other navigation system, does not limit here.
Therefore; In the technical scheme that the embodiment of the invention provides, the main reference time that time synchronism equipment is followed the tracks of losing is kept at the clockclass B on this time synchronism equipment to its upstream device output during the source; And when time synchronism equipment gets into the maintenance pattern the local clock precision high more; The clockclass parameter value of this time synchronism equipment output is more little, and promptly B is more little, on the one hand; Upstream device can be known the current clock accuracy rank of time synchronism equipment in the main reference time source of losing tracking according to the clockclass parameter value that receives; On the other hand, when the priority of all time synchronism equipments of following the tracks of when above-mentioned upstream device all equates, because the clock accuracy of time synchronism equipment is high more; The clockclass parameter value of exporting to its upstream device behind its main reference time source of following the tracks of losing is more little; Therefore, guaranteed that above-mentioned upstream device switches to the higher time synchronism equipment of clock accuracy after calculating through the BMC algorithm, can't guarantee under this scene that above-mentioned upstream device switches to the problem on the higher time synchronism equipment of clock accuracy thereby solved.
A kind of clock grade stage division that provides in the face of the embodiment of the invention is down further described.
In embodiments of the present invention, according to the hardware configuration and the characteristic of time synchronism equipment itself, time synchronism equipment is divided into one-level time synchronism equipment, secondary time synchronism equipment and three grades of time synchronism equipments successively according to the rank height.
Wherein, the one-level time synchronism equipment is the time synchronism equipment that satisfies following standard: comprise a caesium clock and a satellite Timing Receiver at least, can be traceable to punctual benchmark (like national time service center) of more high-grade time of this country through special-purpose comparison means;
Wherein, The secondary time synchronism equipment is the time synchronism equipment that satisfies following standard: comprise a rubidium clock and a satellite Timing Receiver at least; Support will be traced to the source to the one-level time synchronism equipment through the ground means time; Support the punctual function of ground frequency signal, and can be traceable to the Frequency Synchronization net of this country reliably;
Wherein, Three grades of time synchronism equipments are the time synchronism equipment that satisfies following standard: comprise a high stability crystal oscillator and a satellite Timing Receiver at least; Support will be traced to the source to secondary time synchronism equipment or one-level time synchronism equipment through the ground means time; Support the punctual function of ground frequency signal, and can be traceable to the Frequency Synchronization net of this country reliably.
To three kinds of other time synchronism equipments of level, the embodiment of the invention is carried out the definition like table 4 to main clockclass parameter value and implication:
Table 4
Figure BDA0000099736160000081
Wherein, the maintenance of one-level time synchronism equipment requires to be meant and utilizes cesium-beam atomic clock to keep that it is punctual to the frequency synchronization signal of national reference clock (PRC, Primary Reference Clock) perhaps to trace to the source; The maintenance of secondary time synchronism equipment requires to be meant and utilizes rubidium atomic clock to keep; Three grades of time synchronism equipments maintenances require to be meant and utilize high stability crystal oscillator to keep.
Wherein, the A in the table, B 1, B 2And B 3Be natural number, and meet the following conditions:
A<B 1<B 2<B 3
In one embodiment of the invention, the markers type of using when time synchronizer timestamp during as PTP can make A, B 1, B 2And B 3Value be respectively 6,7,8 and 52.
In another embodiment of the invention, the markers type of using when time synchronizer timestamp during as ARB can make A, B 1, B 2And B 3Value be respectively 13,14,15 and 53.
Certainly, A, B 1, B 2And B 3Also can be to satisfy A<B 1<B 2<B 3Other value, do not limit here.
Consult Fig. 3, another embodiment of a kind of clock grade stage division of the present invention comprises:
301, time synchronism equipment judges whether the main reference time source of following the tracks of loses;
Preserve clockclass B on the above-mentioned time synchronism equipment; Clock grade when getting into the maintenance pattern behind the main reference time source that clockclass B is used to indicate above-mentioned time synchronism equipment to lose tracking; Wherein, Local clock precision decision when the value of B gets into the maintenance pattern by above-mentioned time synchronism equipment keeps requirement if above-mentioned local clock precision satisfies the one-level time synchronism equipment, and then B equals B 1If above-mentioned local clock precision meeting tier 2 time synchronism equipment keeps requirement, then B equals B 2Keep requirement if above-mentioned local clock precision satisfies three grades of time synchronism equipments, then B equals B 3
When the time synchronizer can normally receive the signal in main reference time source, execution in step 302 is not lost in the current main reference time source of following the tracks of of decidable.When the time synchronizer can't receive the signal in main reference time source, execution in step 303 had been lost in the current main reference time source of following the tracks of of decidable.
302, the clockclass of equipment output downstream A;
Time synchronism equipment is exported clockclass A to its upstream device.
Wherein, the implementation of the clockclass of equipment output downstream A can repeat no more like the description in Fig. 2 step 202 here.
303, the clockclass of equipment output downstream B;
Wherein, the implementation of the clockclass of equipment output downstream B can repeat no more with reference to the description in Fig. 2 step 202 here.
Therefore; In the technical scheme that the embodiment of the invention provides, the main reference time that time synchronism equipment is followed the tracks of losing is kept at the clockclass B on this time synchronism equipment to its upstream device output during the source; And when time synchronism equipment gets into the maintenance pattern the local clock precision high more; The clockclass parameter value of this time synchronism equipment output is more little, and promptly B is more little, on the one hand; Upstream device can be known the current clock accuracy rank of time synchronism equipment in the main reference time source of losing tracking according to the clockclass parameter value that receives; On the other hand, when the priority of all time synchronism equipments of following the tracks of when above-mentioned upstream device all equates, because the clock accuracy of time synchronism equipment is high more; The clockclass parameter value of exporting to its upstream device behind its main reference time source of following the tracks of losing is more little; Therefore, guaranteed that above-mentioned upstream device switches to the higher time synchronism equipment of clock accuracy after calculating through the BMC algorithm, can't guarantee under this scene that above-mentioned upstream device switches to the problem on the higher time synchronism equipment of clock accuracy thereby solved.
With a concrete application scenarios example, a kind of clock grade stage division of the embodiment of the invention is described below, being illustrated in figure 4 as should be with the clock synchronization system Organization Chart under the scene; Comprise time synchronism equipment 43 and time synchronism equipment 44, wherein, time synchronism equipment 43 is the one-level time synchronism equipment; When getting into the maintenance pattern, utilize cesium-beam atomic clock to keep; It follows the tracks of main reference time source 41, and time synchronism equipment 44 is the secondary time synchronism equipment, when getting into the maintenance pattern, utilizes rubidium atomic clock to keep; It follows the tracks of main reference time source 42, and load bearing equipment 45 is the upstream device of time synchronism equipment 43 and time synchronism equipment 44.
Should use in the scene the main clockclass parameter value and the definition such as the table 5 of implication:
Table 5
Figure BDA0000099736160000101
Wherein, the outer value of bracket is the undefined clockclass parameter value of target scene when using PTP, and the value in the bracket is the undefined clockclass parameter value of target scene when using ARB.
Should use in the scene, suppose that time synchronism equipment 43 and time synchronism equipment 44 all use the PTP markers, and the clock attribute be as shown in table 6:
Table 6
Figure BDA0000099736160000102
Wherein, a and b are the numeral of 8 byte-sized, and a>b.Can normally follow the tracks of main reference time source 41 at time synchronism equipment 43; Time synchronism equipment 44 can normally be followed the tracks of the main reference time during source 42; Time synchronism equipment 43 equals 6 to the Clockclass parameter value m of load bearing equipment 45 outputs, and time synchronism equipment 44 equals 6 to the Clockclass parameter value n of load bearing equipment 45 outputs, and load bearing equipment 45 is according to the BMC algorithm; The clock source that can calculate current network is a time synchronism equipment 44; All lose main reference time of being followed the tracks of during the source when time synchronizer 43 and time synchronism equipment 44, time synchronism equipment 43 utilizes cesium-beam atomic clock to keep when getting into the maintenance patterns, and the local clock precision of time synchronism equipment 43 satisfied the one-level time synchronism equipment and kept requirement this moment; Its Clockclass parameter value m to load bearing equipment 45 outputs equals 7; And time synchronism equipment 44 utilizes rubidium atomic clock to keep when getting into the maintenance patterns, and this moment, the local clock precision meeting tier 2 time synchronism equipment of time synchronism equipment 44 kept requirement, and its Clockclass parameter value n to load bearing equipment 45 outputs equals 7; Load bearing equipment 45 is according to the BMC algorithm; The clock source that can calculate current network is a time synchronism equipment 43, and load bearing equipment 45 is according to the Clockclass parameter value that receives; The Clockclass parameter value that can know transmission is that 7 time synchronism equipment 43 current clock accuracies satisfy the one-level time synchronism equipment and keep requirement, and the Clockclass parameter value of transmission is that 8 time synchronism equipment 44 current clock accuracy meeting tier 2 time synchronism equipments keep requirement.
Therefore; In the technical scheme that the embodiment of the invention provides, the main reference time that time synchronism equipment is followed the tracks of losing gets into the clock accuracy of maintenance pattern during the source according to this time synchronism equipment; Equipment is exported corresponding clockclass parameter value downstream; And the clock accuracy that gets into the maintenance pattern is high more, and B is more little, on the one hand; Upstream device can be known the current clock accuracy rank of time synchronism equipment in the main reference time source of losing tracking according to the clockclass parameter value that receives; On the other hand, when the priority of all time synchronism equipments of following the tracks of when above-mentioned upstream device all equates, because the clock accuracy of time synchronism equipment is high more; The clockclass parameter value of exporting to its upstream device behind its main reference time source of following the tracks of losing is more little; Therefore, guaranteed that above-mentioned upstream device switches to the higher time synchronism equipment of clock accuracy after calculating through the BMC algorithm, can't guarantee under this scene that above-mentioned upstream device switches to the problem on the higher time synchronism equipment of clock accuracy thereby solved.
Describe in the face of a kind of time synchronism equipment of the embodiment of the invention down, see also Fig. 5, the time synchronism equipment 500 of the embodiment of the invention comprises:
Memory cell 501; Be used for store clock grade clockclass B; Wherein, the local clock precision decision the when clock grade when getting into the maintenance pattern behind the main reference time source that clockclass B is used to indicate time synchronism equipment 500 to lose tracking, B keep pattern by above-mentioned entering; Above-mentioned local clock precision is high more, and B is more little.
Judging unit 502 is used to judge whether the main reference time source of tracking loses.
Output unit 503, be used for when the judged result of judging unit 502 for not the time, the clockclass B in the upstream device output memory cell 501 of time synchronism equipment.
In one embodiment of the invention, time synchronism equipment 500 docks through 1588 interfaces with its upstream device, and output unit 503 is exported clockclass B through notification packet (being the announce message) to its upstream device.
In the another embodiment of the invention; Time synchronism equipment 500 is through the butt joint of 1PPS+TOD interface; Output unit 503 is exported clockclass B through the pulse per second (PPS) index signal in the TOD information to its upstream device; Wherein, the clockclass parameter value is corresponding one by one with the pulse per second (PPS) index signal, and promptly different clockclass parameter values is by different pulse per second (PPS) index signal indications.
Further, memory cell 501 also is used to store clockclass A, and wherein, clockclass A is used to indicate time synchronism equipment 500 not lose the clock grade of main reference time during the source of tracking, wherein A<B; Output unit 503 also is used for when judging unit 502 is judged the main reference time source of being followed the tracks of and do not lost, to its upstream device output clockclass A.
Need to prove; The time synchronism equipment 500 of present embodiment can be like the time synchronism equipment among the above-mentioned method embodiment; Can be used for realizing whole technical schemes of said method embodiment; The function of its each functional module can specifically realize that its concrete implementation procedure can repeat no more with reference to the associated description in the foregoing description according to the method among the said method embodiment here.
Therefore; In the technical scheme that the embodiment of the invention provides, the main reference time that time synchronism equipment is followed the tracks of losing is kept at the clockclass B on this time synchronism equipment to its upstream device output during the source; And when time synchronism equipment gets into the maintenance pattern the local clock precision high more; The clockclass parameter value of this time synchronism equipment output is more little, and promptly B is more little, on the one hand; Upstream device can be known the current clock accuracy rank of time synchronism equipment in the main reference time source of losing tracking according to the clockclass parameter value that receives; On the other hand, when the priority of all time synchronism equipments of following the tracks of when above-mentioned upstream device all equates, because the clock accuracy of time synchronism equipment is high more; The clockclass parameter value of exporting to its upstream device behind its main reference time source of following the tracks of losing is more little; Therefore, guaranteed that above-mentioned upstream device switches to the higher time synchronism equipment of clock accuracy after calculating through the BMC algorithm, can't guarantee under this scene that above-mentioned upstream device switches to the problem on the higher time synchronism equipment of clock accuracy thereby solved.
Describe in the face of a kind of clock synchronization system in the present invention's enforcement down, see also Fig. 6, the clock synchronization system 600 in the embodiment of the invention comprises:
Time synchronism equipment 601 and load bearing equipment 602;
Preserve clock grade clockclass B on the time synchronism equipment 601; Wherein, Clock grade when getting into the maintenance pattern behind the main reference time source that clockclass B is used to indicate time synchronism equipment 601 to lose tracking; Local clock precision decision when B keeps pattern by above-mentioned entering, above-mentioned local clock precision is high more, and B is more little.
Time synchronism equipment 601 is used to judge whether the main reference time source of tracking loses; Follow the tracks of when judging the main reference time, lost in the source time, to the above-mentioned clockclass B of load bearing equipment 602 output.
Further, also preserve clockclass A on the time synchronism equipment 601, wherein, clockclass A is used to indicate time synchronism equipment 601 not lose the clock grade of main reference time during the source of tracking, wherein A<B; When does not lose in the main reference time source that time synchronism equipment 601 also is used for following the tracks of when judging, export above-mentioned clockclass A to its upstream device.
In embodiments of the present invention; When load bearing equipment 602 can be normal during tracking time synchronizer 601; The clockclass parameter value of load bearing equipment 602 outputs is consistent with the clockclass parameter value of the time synchronism equipment that receives 601; When load bearing equipment 602 normally during tracking time synchronizer 601, the clockclass parameter value of load bearing equipment 602 output acquiescences.
Need to prove; The time synchronism equipment 601 of present embodiment can be like the time synchronism equipment among the above-mentioned method embodiment; Can be used for realizing whole technical schemes of said method embodiment; The function of its each functional module can specifically realize that its concrete implementation procedure can repeat no more with reference to the associated description in the foregoing description according to the method among the said method embodiment here.
Therefore; The main reference time that time synchronism equipment in the clock synchronization system 600 that the embodiment of the invention provides is followed the tracks of losing is during the source; Be kept at the clockclass B on this time synchronism equipment to the output of its upstream device, and time synchronism equipment when getting into the maintenance pattern the local clock precision high more, the clockclass parameter value of this time synchronism equipment output is more little; Be that B is more little; On the one hand, upstream device can be known the current clock accuracy rank of time synchronism equipment in the main reference time source of losing tracking according to the clockclass parameter value that receives, on the other hand; When the priority of all time synchronism equipments of following the tracks of when above-mentioned upstream device all equates; Because the clock accuracy of time synchronism equipment is high more, the clockclass parameter value of exporting to its upstream device behind its main reference time source of following the tracks of losing is more little, therefore; Guaranteed that above-mentioned upstream device switches to the higher time synchronism equipment of clock accuracy after calculating through the BMC algorithm, can't guarantee under this scene that above-mentioned upstream device switches to the problem on the higher time synchronism equipment of clock accuracy thereby solved.
The those skilled in the art can be well understood to, for the convenience described with succinct, the system of foregoing description, the concrete course of work of device and unit can repeat no more at this with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that, the system that is disclosed, apparatus and method can realize through other mode.For example, device embodiment described above only is schematically, for example; The division of said unit; Only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can combine or can be integrated into another system; Or some characteristics can ignore, or do not carry out.Another point, the coupling each other that shows or discuss or directly coupling or communication to connect can be through some interfaces, the INDIRECT COUPLING of device or unit or communication connect, and can be electrically, machinery or other form.
Said unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of unit wherein of reality.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If said integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding; Part or all or part of of this technical scheme that technical scheme of the present invention contributes to prior art in essence in other words can come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the said method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
More than a kind of clock grade stage division provided by the present invention and relevant device have been carried out detailed introduction; For one of ordinary skill in the art; Thought according to the embodiment of the invention; The part that on embodiment and range of application, all can change, to sum up, this description should not be construed as limitation of the present invention.

Claims (12)

1. a clock grade stage division is characterized in that, comprising:
Time synchronism equipment judges whether the main reference time source of following the tracks of loses; Preserve clock grade clockclass B on the said time synchronism equipment; Clock grade when getting into the maintenance pattern behind the main reference time source that said clockclass B is used to indicate said time synchronism equipment to lose tracking; Wherein, Local clock precision decision when said B keeps pattern by said entering, said local clock precision is high more, and B is more little;
Follow the tracks of when judging the main reference time, lost in the source time, export said clockclass B to the upstream device of said time synchronism equipment.
2. method according to claim 1; It is characterized in that; Also preserve clockclass A on the said time synchronism equipment; Said clockclass A is used to indicate said time synchronism equipment not lose the clock grade of main reference time during the source of tracking, wherein said A<B, and whether the main reference time source that said judgement is followed the tracks of comprises after losing:
When does not lose in the main reference time source of following the tracks of when judging, export said clockclass A to the upstream device of said time synchronism equipment.
3. method according to claim 2 is characterized in that, the markers type that said time synchronism equipment uses is precision clock agreement PTP markers, and said A equals 6;
Keep requirement if said local clock precision satisfies the one-level time synchronism equipment, said B equals 7;
If said local clock precision meeting tier 2 time synchronism equipment keeps requirement, said B equals 8;
Keep requirement if said local clock precision satisfies three grades of time synchronism equipments, said B equals 52.
4. method according to claim 2 is characterized in that, the markers type that said time synchronism equipment uses is independent ARB markers, and said A equals 13;
Keep requirement if said local clock precision satisfies the one-level time synchronism equipment, said B equals 14;
If said local clock precision meeting tier 2 time synchronism equipment keeps requirement, said B equals 15;
Keep requirement if said local clock precision satisfies three grades of time synchronism equipments, said B equals 53.
5. according to each described method in the claim 1 to 4, it is characterized in that said time synchronism equipment is exported said clockclass B through the pulse per second (PPS) index signal of temporal information TOD to said upstream device.
6. a time synchronism equipment is characterized in that, comprising:
Memory cell; Be used for store clock grade clockclass B; Clock grade when getting into the maintenance pattern behind the main reference time source that said clockclass B is used to indicate said time synchronism equipment to lose tracking; Local clock precision decision when said B keeps pattern by said entering, said local clock precision is high more, and B is more little;
Judging unit is used to judge whether the main reference time source of tracking loses;
Output unit, be used for when said judgment unit judges go out said tracking the main reference time, lost in the source time, export said clockclass B to the upstream device of said time synchronism equipment.
7. time synchronism equipment according to claim 6 is characterized in that,
Said memory cell also is used to store clockclass A, and said clockclass A is used to indicate said time synchronism equipment not lose the clock grade of main reference time during the source of tracking, wherein said A<B;
Said output unit also is used for when does not lose in the main reference time source that said judgment unit judges goes out said tracking, exporting said clockclass A to the upstream device of said time synchronism equipment.
8. time synchronism equipment according to claim 7 is characterized in that, the markers type that said time synchronism equipment uses is precision clock agreement PTP markers, and said A equals 6;
Keep requirement if said local clock precision satisfies the one-level time synchronism equipment, said B equals 7;
If said local clock precision meeting tier 2 time synchronism equipment keeps requirement, said B equals 8;
Keep requirement if said local clock precision satisfies three grades of time synchronism equipments, said B equals 52.
9. time synchronism equipment according to claim 7 is characterized in that, the markers type that said time synchronism equipment uses is independent ARB markers, and said A equals 13;
Keep requirement if said local clock precision satisfies the one-level time synchronism equipment, said B equals 14;
If said local clock precision meeting tier 2 time synchronism equipment keeps requirement, said B equals 15;
Keep requirement if said local clock precision satisfies three grades of time synchronism equipments, said B equals 53.
10. according to each described time synchronism equipment of claim 6 to 9, it is characterized in that,
Said output unit is exported said clockclass B through the pulse per second (PPS) index signal of temporal information TOD to said upstream device.
11. a clock synchronization system is characterized in that, comprising:
Time synchronism equipment and load bearing equipment;
Preserve clock grade clockclass B on the said time synchronism equipment; Clock grade when getting into the maintenance pattern behind the main reference time source that said clockclass B is used to indicate said time synchronism equipment to lose tracking; Wherein, Local clock precision decision when said B keeps pattern by said entering, said local clock precision is high more, and B is more little;
Said time synchronism equipment is used to judge whether the main reference time source of tracking loses; Follow the tracks of when judging the main reference time, lost in the source time, export said clockclass B to said load bearing equipment.
12. system according to claim 11 is characterized in that,
Also preserve clockclass A on the said time synchronism equipment, said clockclass A is used to indicate said time synchronism equipment not lose the clock grade of main reference time during the source of tracking, wherein said A<B;
When does not lose in the main reference time source that said time synchronism equipment also is used for following the tracks of when judging, export said clockclass A to said load bearing equipment.
CN201180001783.XA 2011-09-20 2011-09-20 Method for clockclass grading and relative device Active CN102388556B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079861 WO2012149751A1 (en) 2011-09-20 2011-09-20 Method and related device for grading clock classes

Publications (2)

Publication Number Publication Date
CN102388556A true CN102388556A (en) 2012-03-21
CN102388556B CN102388556B (en) 2014-02-26

Family

ID=45826501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180001783.XA Active CN102388556B (en) 2011-09-20 2011-09-20 Method for clockclass grading and relative device

Country Status (2)

Country Link
CN (1) CN102388556B (en)
WO (1) WO2012149751A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904662A (en) * 2012-09-29 2013-01-30 北京东土科技股份有限公司 Cross-domain clock synchronization method and system based on PTP (Precision Time Protocol)
CN103686982A (en) * 2012-09-17 2014-03-26 ***通信集团公司 Method for time synchronization based on clock information and node equipment
CN104079365A (en) * 2014-07-21 2014-10-01 昆明联诚科技股份有限公司 Control system and method for railway clock synchronization network
CN112152745A (en) * 2019-08-07 2020-12-29 中兴通讯股份有限公司 Time synchronization method, time synchronization sending end, time synchronization receiving end and time synchronization system
CN112394634A (en) * 2021-01-21 2021-02-23 国汽智控(北京)科技有限公司 Time service method, device, equipment and storage medium for vehicle-mounted computing platform
WO2021223102A1 (en) * 2020-05-06 2021-11-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and time synchronization (ts) node for enabling extended holdover time
CN114465690A (en) * 2021-12-30 2022-05-10 华为技术有限公司 Method, device and system for sending precision information
WO2022166473A1 (en) * 2021-02-05 2022-08-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for clock distribution in network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207606A (en) * 2006-12-18 2008-06-25 华为技术有限公司 Method and apparatus for main clock selecting
CN101299749A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Method and apparatus for transferring clock between networks
CN101399655A (en) * 2007-09-27 2009-04-01 华为技术有限公司 Determining method and apparatus for synchronization port of transparent clock device
CN101867469A (en) * 2010-06-10 2010-10-20 北京东土科技股份有限公司 Realization method of precision synchronous clock
CN102036361A (en) * 2009-09-25 2011-04-27 华为技术有限公司 Processing method, device and system for clock source selection
US20110158120A1 (en) * 2009-12-28 2011-06-30 Fujitsu Limited Node device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465707B (en) * 2008-12-15 2013-03-27 中兴通讯股份有限公司 Method and system for transferring protection time in synchronous network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207606A (en) * 2006-12-18 2008-06-25 华为技术有限公司 Method and apparatus for main clock selecting
CN101299749A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Method and apparatus for transferring clock between networks
CN101399655A (en) * 2007-09-27 2009-04-01 华为技术有限公司 Determining method and apparatus for synchronization port of transparent clock device
CN102036361A (en) * 2009-09-25 2011-04-27 华为技术有限公司 Processing method, device and system for clock source selection
US20110158120A1 (en) * 2009-12-28 2011-06-30 Fujitsu Limited Node device
CN101867469A (en) * 2010-06-10 2010-10-20 北京东土科技股份有限公司 Realization method of precision synchronous clock

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686982A (en) * 2012-09-17 2014-03-26 ***通信集团公司 Method for time synchronization based on clock information and node equipment
CN103686982B (en) * 2012-09-17 2017-03-29 ***通信集团公司 A kind of method for synchronizing time and node device based on clock information
CN102904662B (en) * 2012-09-29 2015-06-24 北京东土科技股份有限公司 Cross-domain clock synchronization method and system based on PTP (Precision Time Protocol)
CN102904662A (en) * 2012-09-29 2013-01-30 北京东土科技股份有限公司 Cross-domain clock synchronization method and system based on PTP (Precision Time Protocol)
CN104079365A (en) * 2014-07-21 2014-10-01 昆明联诚科技股份有限公司 Control system and method for railway clock synchronization network
US12028156B2 (en) 2019-08-07 2024-07-02 Zte Corporation Time synchronization method, time synchronization sending end and receiving end, and system
CN112152745A (en) * 2019-08-07 2020-12-29 中兴通讯股份有限公司 Time synchronization method, time synchronization sending end, time synchronization receiving end and time synchronization system
CN112152745B (en) * 2019-08-07 2021-09-28 中兴通讯股份有限公司 Time synchronization method, time synchronization sending end, time synchronization receiving end and time synchronization system
WO2021223102A1 (en) * 2020-05-06 2021-11-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and time synchronization (ts) node for enabling extended holdover time
CN112394634A (en) * 2021-01-21 2021-02-23 国汽智控(北京)科技有限公司 Time service method, device, equipment and storage medium for vehicle-mounted computing platform
WO2022166473A1 (en) * 2021-02-05 2022-08-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for clock distribution in network
WO2023124404A1 (en) * 2021-12-30 2023-07-06 华为技术有限公司 Precision information sending method, device, and system
CN114465690A (en) * 2021-12-30 2022-05-10 华为技术有限公司 Method, device and system for sending precision information

Also Published As

Publication number Publication date
WO2012149751A1 (en) 2012-11-08
CN102388556B (en) 2014-02-26

Similar Documents

Publication Publication Date Title
CN102388556B (en) Method for clockclass grading and relative device
CN106685566B (en) A kind of selection method and clock server of clock source
CN110492965A (en) The method and apparatus of serial message clock synchronization in a kind of master-slave system
CN109683130A (en) Positioning method, positioning device, storage medium and processor
CN103916950A (en) Time synchronization method and system
CN111385051B (en) Clock synchronization method, device and storage medium
WO2014171999A3 (en) Method and system for high-accuracy differential tracking of global positioning system (gps) receivers
CN103634092A (en) High precision timer in CPU cluster
JP2017513285A (en) Clock drift compensation in time-synchronized channel hopping networks
CN103248445A (en) Clock synchronization method and device
CN103546268B (en) The compensation method of a kind of system time and equipment
CN103916204A (en) Cloud synchronization method of high-precision timing system of optical network
CN112367137B (en) Method, device, system, equipment and storage medium for realizing clock source selection
CN105991205A (en) Verifiable and adjustable full synchronous communication network, and implementation method thereof
CN103563287A (en) Synchronization device and synchronization method
CN105610534A (en) Multi-station time synchronization method and equipment
CN110417503A (en) A kind of method and digital communication equipment for test clock network delay
CN111385050A (en) Clock synchronization method, device and storage medium
CN109644120B (en) Method and apparatus for time synchronization
CN102546009A (en) Optical fiber symmetry detecting method and device
CN109343332A (en) Time dissemination system based on Big Dipper satellite signal
CN108134644A (en) Synchronous method, device, synchronizer and system
CN110730498B (en) Navigation positioning time service synchronization system and synchronization method thereof
CN105187150A (en) SDH network-based clock synchronizing system
CN207601533U (en) Timing system

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