CN108011682A - Determine the method and the network equipment of time source - Google Patents

Determine the method and the network equipment of time source Download PDF

Info

Publication number
CN108011682A
CN108011682A CN201610960943.8A CN201610960943A CN108011682A CN 108011682 A CN108011682 A CN 108011682A CN 201610960943 A CN201610960943 A CN 201610960943A CN 108011682 A CN108011682 A CN 108011682A
Authority
CN
China
Prior art keywords
time source
network equipment
time
source
information
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
CN201610960943.8A
Other languages
Chinese (zh)
Other versions
CN108011682B (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
XFusion Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201610960943.8A priority Critical patent/CN108011682B/en
Publication of CN108011682A publication Critical patent/CN108011682A/en
Application granted granted Critical
Publication of CN108011682B publication Critical patent/CN108011682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0685Clock or time synchronisation in a node; Intranode synchronisation
    • H04J3/0688Change of the master or reference, e.g. take-over or failure of the master

Abstract

The invention discloses a kind of method and the network equipment of definite time source.This method includes:The time source information for the second time source that second network equipment uses is obtained using the first network equipment in first time source;If the time source information of second time source is identical with the time source information in the first time source, the first network equipment forbids the time source of the first network equipment being switched to second time source by the first time source.Therefore, it by the current time source of comparing cell equipment and the time source obtained from other network equipments, can switch when the information of two time sources is identical without time source, avoid the overhead that unnecessary time source switching is brought.

Description

Determine the method and the network equipment of time source
Technical field
The present invention relates to the method and the network equipment in source of fixing time really in the communications field, more particularly to the communications field.
Background technology
In a communication network, permitted multiple services normal operation require network clocking synchronization, i.e., each equipment of whole network it Between time or frequency error be maintained in rational error level.With the development of the communication technology, now net is for time synchronization Requirement it is higher and higher (such as base station in 3G/4G/5G communication networks), the commercial deployment of time synchronization function is very wide It is general.
General in now netting at least to dispose two time source devices, one is used as primary timing source equipment, another is as backup Time source device, in this scenario, if primary timing source equipment such as atom global positioning system (ATOM Global Positioning System, referred to as " ATOM GPS ") optical module failure, the equipment such as boundary clock in network (Boundary Clock, referred to as " BC ") equipment can report during source tracking BACKUP TIME source device is selected again selects source to cut Change event and the alarm of time losing lock.Afterwards if former main ATOM GSP optical module fault recoveries, or new height is reinserted The ATOM GPS optical modules of priority, then BC equipment will select again again source tracking high priority ATOM GPS optical modules, It can be reported during this and select source handover event and time losing lock to alert, since the Clock ID of each equipment are different, select source algorithm Again in decision process equipment can temporary transient drop-out time source cause of short duration losing lock, then can just relock new clock source.Should The key parameters such as if each ATOM GPS are provided under scene time source precision, stability and phase are of equal value (such as to be From gps satellite signal), then time source switching does not have actual gain, also has dependent event and alarm report on the contrary, increases Unnecessary explanation and maintenance cost, and cut in source procedure may can also be with the saltus step and deterioration of time performance.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of method and the network equipment of definite time source, can avoid not Necessary time source switching.
First aspect, there is provided a kind of method of definite time source, this method include:Use first net in first time source Network equipment obtains the time source information for the second time source that second network equipment uses;If the time source letter of second time source Breath is identical with the time source information in the first time source, then the first network equipment is forbidden the first network equipment Time source is switched to second time source by the first time source.
That is, the network equipment of current tracking lock time source A gets another available time source B again, The network equipment is it needs to be determined that whether the new time source B and current time source A tracked is homologous (such as derive from same at this time One GPS satellite system);If time source B and time source A are homologous, then the network equipment need not just cut source to during tracking Between on the B of source, even if the priority of time source B is higher than time source A.
Therefore, the network equipment by compare oneself current time source with from other network equipments obtain time source, and Switch when the information of two time sources is identical without time source, so as to reduce the time source switching action of no income, keep away Exempted from it is unnecessary cut source event and alarm report, reduce existing net maintenance cost.
Alternatively, the time source packet of the first network equipment include the first time source time source mark ID and The hop count in the first time source, the time source ID in the first time source are used to identify the first time source;Described second The time source packet of the network equipment includes the time source ID of second time source and the hop count of second time source, and described The time source ID of two time sources is used to identify second time source.
That is, if the time source ID in first time source and the time source ID of the second time source are identical, and first network equipment The hop count of the time source of the hop count of time source and second network equipment is identical, then first network equipment switches without time source, Oneself currently used time source the time source from second network equipment is not switched to.
Wherein, the time source ID in first time source is used to identify first time source, and the time source ID of the second time source is used for The second time source is identified, each time source ID is used to identify unique time source.
Wherein, the hop count of the time source of first network equipment represents that the time source of first network equipment is delivered in a network The number for the network that the first network equipment is passed through, the hop count of the time source of second network equipment represent first network equipment Time source is delivered to the number for the network that second network equipment is passed through in a network.
Alternatively, the time source information of second network equipment further includes the first configured information, the first instruction letter Breath is used to indicate the first network equipment in the time source information of second time source and the time in the first time source When source information is identical, forbid the time source of the first network equipment being switched to second time by the first time source Source;
Wherein, if the time source information phase of the time source information of second network equipment and the first network equipment Together, the first network equipment forbids the time source of the first network equipment being switched to described by the first time source Two time sources, including:The first network equipment is according to first configured information, in the time source of second network equipment When information is identical with the time source information of the first network equipment, forbid the time source by the first network equipment by described First time, source was switched to second time source.
Do not returned it is to be understood that particular value can be set in first configured information that first network equipment obtains with representing enabled Pattern is cut, that is, indicates that first network equipment is identical in the time source information of the second time source and the time source information in first time source When switch without time source;Other different particular values can also be set to represent to be not enabled on not switchback mould in the configured information Formula, that is, indicate first network equipment according to select source algorithm first time source and the second time source in determine optimal time source, and The time source of first network equipment is switched to the optimal time source by first time source.
For example, first network equipment can obtain the time source information of second network equipment, and from the second equipment Following information is obtained in time source information:(1) first configured information, and revertive mode does not make in the first configured information instruction time source Energy;The time source ID for the second time source that (2) second network equipments use, and the time source ID of the second time source and first time The time source ID in source is identical and value is not 0, show two interfaces of first network equipment to real time source be Identical, i.e., time source is consistent;The hop count of the time source of (3) second time sources, and the hop count of the time source of the second time source with First time source time source hop count value it is identical.At this moment, first network equipment is believed according to the time source of second time source Breath, determine whether the time source ID of the second time source identical with the time source ID of oneself and the time source hop count of the second time source with Whether the time source hop count of oneself is identical, and first network equipment is according to the instruction of first configured information, if both time sources ID and time source hop count all same, then need not carry out selecting source to operate, even if the second time source comes from primary timing source equipment (second Time source priority is higher than first time source), oneself current time source will not be had first time source by first network equipment It is switched to the second time source.That is, meet three conditions in the above (1) to (3) at the same time, then without cutting source action.
Here it can represent that upstream equipment does not transmit the parameter to the network equipment with time source ID for 0, if for example, the For one network equipment from the time source information that second network equipment obtains, time source ID is 0, then represents that second network equipment does not have Oriented first network equipment transmits the time source ID of the second time source.At this moment, first network equipment at this moment can be according to selecting source to calculate Method first time source and the second time source in determine optimal time source, and by the time source of first network equipment by the first time Source is switched to the optimal time source.
Alternatively, the first network equipment using first time source obtains the second time that second network equipment uses The time source information in source, including:Second network equipment is received using the first network equipment in first time source to send Precision Time Protocol PTP messages, the reserved field of the PTP messages includes the time source information of second time source.
As can be seen that there is a reserved field (Reserved) in the PTP message contents, bag can be transmitted using this field The time source information including the parameter value including time source ID is included, for example, the setting of the value of the reserved field and implication for example may be used With as follows:(1) default value is full 0, and expression is not enabled on not revertive mode, at this moment can be according to selecting source algorithms selection high priority Time source simultaneously switches current time source to the time source of high priority, so as to keep the compatibility to upstream device.(2) highest Bit (bit) value on bit is set to 1, represents to enable not revertive mode, i.e., if time source ID and time source hop count It is identical, can be without selecting source to switch;(3) numerical value on remaining 7 bit position can represent time source ID, such as can specify Time source ID values from GPS satellite system are, for example, 1, and the value of the time source ID from Beidou satellite system is, for example, 2, value 3- 31 can retain follow-up use, must not take;Remaining 7 bit all can represent the information of non-passing time source ID (i.e. for 0 Upstream equipment does not transmit the parameter), even if the network equipment has enabled not revertive mode at this time, the network equipment also carries out normally Select source or switching.(4) value 32-127 can be used by pressing actual conditions planning during deployment time synchronizing network;(5) time synchronization The network equipment need support can know the reserved field information ability;(6) network equipment and time source of time synchronization Equipment needs to have the ability for the information that downstream equipment is transmitted in the reserved field, can be downward by Announce messages The time source information in the reserved field is transmitted in trip.
Alternatively, the second time source used using first network equipment second network equipment of acquisition in first time source Time source information, including:The logical of second network equipment transmission is received using the first network equipment in first time source Know Announce messages, the TLV fields that the Announce messages carry include the time source information of second time source.
That is, second network equipment can pass by way of Announce messages attach TLV come downstream equipment Pass the time source information including the parameter value of time source ID.The TLV fields can be attached to the afterbody of Announce messages, use To transmit some extra information, therefore it can encapsulate and transmit the newly-increased time by increasing such TLV field newly Source id information.
Alternatively, the first network equipment includes boundary clock BC equipment, and second network equipment includes BC equipment Or time source device.
Alternatively, time source device includes global position system GPS satellite, big-dipper satellite, GLONASS satellite, Galileo Satellite or independent atomic clock.
Alternatively, the method further includes:If the time source information of second time source and the first time source Time source information differs, then the first network equipment determines optimal in the first time source and second time source Time source, and the time source of the first network equipment is switched to the optimal time source by the first time source.
Second aspect, there is provided a kind of network equipment, the network equipment can be used for performing aforementioned first aspect and various The each process performed in the method in source of fixing time really in implementation by first network equipment.The first network equipment bag Include acquiring unit and processing unit.Wherein, the acquiring unit, the time of the second time source used for obtaining the second equipment Source information;The processing unit, for what is used in the time source information of second time source with the first network equipment First time source time source information it is identical when, forbid cutting the time source of the first network equipment by the first time source It is changed to second time source.
The third aspect, there is provided a kind of System on Chip/SoC, the System on Chip/SoC include input interface, output interface, processor and Memory, the processor are used to perform the code in the memory, and when the code is performed, which can realize foregoing The each process performed in the method in source of fixing time really in first aspect and various implementations by first network equipment.Its In, which is used for:Obtain the time source information for the second time source that second network equipment uses;In second time source Time source information it is identical with the time source information in the first network equipment uses first time source when, forbid described The time source of one network equipment is switched to second time source by the first time source.
Fourth aspect, there is provided a kind of method of definite time source, this method include:Second network equipment is to using first The first network equipment of time source sends the time source information for the second time source that second network equipment uses, so that institute State time source information of the first network equipment in second time source it is identical with the time source information in the first time source when Forbid the time source of the first network equipment being switched to second time source by the first time source.
Therefore, the network equipment is by sending the time source information of oneself to other network equipments, so that other networks are set It is standby to switch in the time source information of the time source and the identical time source information in the other times source without time source, So as to reduce the time source switching action of no income, avoid it is unnecessary cut source event and alarm report, reduce existing net Maintenance cost.
Alternatively, the time source packet in the first time source includes time source mark ID and the institute in the first time source State the hop count in first time source, the time source ID in the first time source is used to identifying the first time source, when described second Between the time source packet in source include the time source ID of second time source and the hop count of second time source, when described second Between source time source ID be used for identify second time source.
Alternatively, the time source information of second time source further includes the first configured information, first configured information For indicating the first network equipment in the time source information of second time source and the time source in the first time source When information is identical, forbid the time source of the first network equipment being switched to second time by the first time source Source.
Alternatively, second network equipment sends second network equipment to using the first network equipment in first time source The time source information of the second time source used, including:First network equipment of second network equipment to use first time source Precision Time Protocol PTP messages are sent, the reserved field of the PTP messages includes the time source letter of second time source Breath.
Alternatively, second network equipment sends second network equipment to using the first network equipment in first time source The time source information of the second time source used, including:First network equipment of second network equipment to use first time source Notice Announce messages are sent, the TLV fields that the Announce messages carry include the time of second time source Source information.
Alternatively, the first network equipment includes boundary clock BC equipment, and second network equipment includes BC equipment Or time source device.
Alternatively, time source device includes global position system GPS satellite, big-dipper satellite, GLONASS satellite, Galileo Satellite or independent atomic clock.
5th aspect, there is provided a kind of network equipment, the network equipment can be used for performing foregoing fourth aspect and various The each process performed in the method in source of fixing time really in implementation by second network equipment.Second network equipment bag Include transmitting element, for send that second network equipment uses to the first network equipment using first time source second when Between source time source information so that time source information and described first of the first network equipment in second time source The time source information of time source forbids the time source of the first network equipment being switched to by the first time source when identical Second time source.
6th aspect, there is provided a kind of System on Chip/SoC, the System on Chip/SoC include input interface, output interface, processor and Memory, the processor are used to perform the code in the memory, and when the code is performed, which can realize foregoing The each process performed in the method in source of fixing time really in fourth aspect and various implementations by the network equipment.Wherein, institute Transmitter is stated, for the second time used to first network equipment transmission second network equipment using first time source The time source information in source, so that the first network equipment is when the time source information of second time source is with described first Between source time source information it is identical when forbid the time source of the first network equipment being switched to institute by the first time source State the second time source.
7th aspect, there is provided a kind of computer-readable recording medium, the computer-readable recording medium storage have journey Sequence, described program cause the network equipment perform it is above-mentioned in a first aspect, and its any of various implementations determine time source Method.
Eighth aspect, there is provided a kind of computer-readable recording medium, the computer-readable recording medium storage have journey Sequence, described program cause the network equipment to perform above-mentioned fourth aspect, and its any of various implementations determine time source Method.
Technical solution based on the embodiment of the present invention, the network equipment by compare oneself current time source with from other nets The time source that network equipment obtains, and switch when the information of two time sources is identical without time source, so as to reduce no receipts Benefit time source switching action, avoid it is unnecessary cut source event and alarm report, reduce existing net maintenance cost.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the schematic diagram of the application scenarios of the embodiment of the present invention.
Fig. 2 be the embodiment of the present invention fix time really source method indicative flowchart.
Fig. 3 is the schematic diagram of Announce messages.
Fig. 4 is the structure diagram of the network equipment of the embodiment of the present invention.
Fig. 5 is the structure diagram of the network equipment of the embodiment of the present invention.
The schematic diagram of the System on Chip/SoC of Fig. 6 embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is the part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained on the premise of creative work is not made Example is applied, should all belong to the scope of protection of the invention.
The term " component " that uses in the present specification, " module ", " system " etc. be used to representing computer-related entity, Hardware, firmware, the combination of hardware and software, software or executory software.For example, component can be but not limited to, handling Process, processor, object, executable file, execution thread, program and/or the computer run on device.By diagram, counting It can be component to calculate the application run in equipment and computing device.One or more components can reside in process and/or execution In thread, component can be located on a computer and/or be distributed between 2 or more computers.In addition, these components can Performed from the various computer-readable mediums that various data structures are stored with above.Component can be for example according to one or more A packet (such as from two components interacted with local system, distributed system and/or internetwork another component Data, such as the internet by signal with other system interactions) signal communicated by locally and/or remotely process.
It is to be understood that the technical solution of the embodiment of the present invention can be applied to various communication systems, such as:Global system for mobile telecommunications (Global System of Mobile Communication, referred to as " GSM ") system, CDMA (Code Division Multiple Access, referred to as " CDMA ") system, wideband code division multiple access (Wideband Code Division Multiple Access, referred to as " WCDMA ") system, Long Term Evolution (Long Term Evolution, referred to as " LTE ") system, LTE frequency divisions are double Work (Frequency Division Duplex, referred to as " FDD ") system, LTE time division duplexs (Time Division Duplex, Referred to as " TDD "), Universal Mobile Communication System (Universal Mobile Telecommunication System, referred to as " UMTS ") and following 5G communication systems etc..
The network equipment in the embodiment of the present invention can be the equipment for communicating with terminal device, for example, can be with It is base station (Base Transceiver Station, referred to as " BTS ") or the WCDMA system in gsm system or CDMA In base station (NodeB, referred to as " NB "), can also be evolved base station (Evolutional Node B, the letter in LTE system Claim " eNB " or " eNodeB "), or the network equipment can be relay station, access point, mobile unit, wearable device and Network side equipment in following 5G networks or the network equipment in the PLMN networks of following evolution etc..
In a communication network, permitted multiple services normal operation require network clocking synchronization, i.e., each equipment of whole network it Between time or difference on the frequency be maintained in rational error level.Time synchronization (Phase Synchronization) is to signal Between frequency and phase be all consistent, i.e., the phase difference perseverance between signal is zero.
Fig. 1 is the schematic diagram of the application scenarios of the embodiment of the present invention.Fig. 1 shows that at least one network equipment (or is Time device, equipment), including positioned at convergence layer BC equipment 11 to BC equipment 16, BC equipment 17, BC equipment positioned at access layer 18th, ordinary clock (Ordinary Clock, referred to as " OC ") equipment 19, base station NodeB 20 and NodeB 21, and atom are complete Ball alignment system (ATOM GPS) 22 and ATOM GPS 23, wherein ATOM GPS 22 are primary timing source equipment, ATOM GPS 23 For BACKUP TIME source device.Fig. 1 is the rough schematic view illustrated, and can also include the other kinds of network equipment in network, Do not drawn in Fig. 1.
If after the optical module failure of ATOM GPS 22, the network equipment such as BC equipment is selecting the standby ATOM of source tracking again It can be reported during port where the optical module of GPS 21 and select source handover event and time losing lock to alert.Afterwards if original ATOM The optical module fault recovery of GPS 22, or reinserted the ATOM GPS optical modules of new high priority, then BC equipment is just The ATOM GPS optical modules of source tracking high priority can be selected again again.If under the scene ATOM GPS 22 provide and ATOM It is of equal value that the time source that GPS 23 is provided, which both is from the key parameter such as gps satellite signal, time source precision, stability and phase, , then the process of time source switching does not have actual gain, also has dependent event and alarm report on the contrary, adding need not The explanation wanted and maintenance cost, and cut in source procedure may can also be with the saltus step and deterioration of time performance.
The embodiment of the present invention by the current time source of comparing cell equipment with from other network equipments obtain time source, And switch when the information of two time sources is identical without time source, avoid the switching of unnecessary time source bring it is extra Expense.
Fig. 2 shows the indicative flowchart of the method in source of fixing time really according to embodiments of the present invention, in this method with Illustrated exemplified by the time source switching of first equipment, such as first equipment can be any one network shown in Fig. 1 Equipment.This determines that the method for time source includes:
S210, using the first network equipment in first time source obtain the second time source for using of second network equipment when Between source information.
S220, if the time source information of the second time source is identical with the time source information in first time source, first network Equipment forbids the time source of first network equipment being switched to second time source by first time source.
Specifically, the currently used time source of first network equipment is first time source, when the second time source example of appearance During functional rehabilitation as being inserted into new time source device or original primary timing source equipment in network, the first net in the prior art Network equipment needs to carry out selecting source stream journey to reselect more preferably time source and carry out time source switching, such as first network equipment Such as source stream journey can be selected according to best master clock (Best Master Clock, referred to as " BMC "), carry out the selection of time source And switching.But if the time source information of the second time source and the time source information in first time source are identical, then First network equipment can be without the selection and switching of time source in the embodiment of the present invention.
Second network equipment to the first network equipment using first time source by sending what second network equipment used The time source information of second time source, so that time source information and first time source of the first network equipment in the second time source Time source information it is identical when the time source of first network equipment is not switched to the second time source by the first time source.
Such as currently the network equipment of tracking lock time source A gets another available time source B again, this When the network equipment it needs to be determined that whether the new time source B and current time source A tracked is that homologous (such as two time sources are equal From GPS satellite system);If time source B and time source A are homologous, then the network equipment need not just cut source to tracking On time source B, even if the priority of time source B is higher than time source A.
Alternatively, this method can also include:If the time source information of second network equipment and the time in first time source Source information differs, then first network equipment first time source and the second time source in determine optimal time source, and by first The time source of the network equipment is switched to the optimal time source by first time source.
Specifically, if the time source information of the second time source and the time source information in first time source differ, Do not perform S220, but first time source and the second time source in determine that optimal time source for example selects source algorithm real by BMC Existing optimal time source determines, and the time source of first network equipment is switched to the optimal time source by first time source.
Alternatively, first time source information includes the time source mark ID in first time source and the hop count in first time source; Second time source packet includes the time source ID of the second time source and the hop count of the second time source.
Wherein, the time source ID in first time source is used to identify first time source, the time source ID of second time source For identifying the second time source.
Wherein, the hop count of the time source of first network equipment represents that the time source of first network equipment is delivered in a network The number for the network element that the first network equipment is passed through, the hop count of the time source of second network equipment represent first network equipment Time source is delivered to the number for the network element that second network equipment is passed through in a network.
Specifically, first network equipment can according to first network equipment it is currently used first time source time source The time source information for the second time source that information and second network equipment use, to determine whether to carry out time source switching, is The no time source by first network equipment is switched to the second time source by first time source.When first network equipment obtains second After the time source information of time source, if it is determined that the time source information of the second time source and the time source information phase in first time source Together, then it is considered that first time source comes from source device such as GPS satellite system at the same time with the second time source, that It is identical for should also be as their synchronization time, therefore can not have to the switching for carrying out time source, i.e., need not be by first network The currently used time source of equipment is switched to the second time source by first time source.
It should be noted that it is mentioned here without time source switching a condition be, first time source time source ID and The time source ID of second time source is identical.First time, the time source ID and the time source ID of the second time source in source were identical Show that first time source is consistent with the second time source, i.e., first time source and the second time source both are from when same Between source device both for example be from gps satellite or both be from big-dipper satellite or come from same independent atomic clock.This When, first time source with the second time source not only should ensure that time source precision is consistent, stability is consistent, and the crucial ginseng such as phase Number is also consistent.If the currently used first time source of first network equipment, with the second time from second network equipment Source, come from two different time source devices (such as first time source comes from gps satellite, and the second time source comes from In big-dipper satellite), then even if the time source precision and stability of the two different time source devices is consistent, when being also unsatisfactory for Between the consistent requirement in source because can not ensure that first time source and the phase of the second time source are consistent, even if at this very moment Phase is identical, is still able to keep phase identical after cannot guarantee that.
It should also be understood that different time source ID is used to identify different time sources, source ID represents unique at the same time Time source, that is to say, that a time source ID is used to identify time source independent all the way.
For example, under normal circumstances, corresponding to an independent time source of a time source ID, and except this is independent Other times source outside time source, is respectively derived from different time source devices and the parameter such as precision, stability, phase is endless It is exactly the same.For example first time source is from the first atomic clock, the second time source is from the second atomic clock, then is come from First atomic clock first time source and the parameter such as precision, stability or the phase of the second time source from the second atomic clock not Identical, first time, the time source ID and the time source ID of the second time source in source were exactly different, such as from the first atomic clock First time source time source ID be 1, the time source ID of the second time source from the second atomic clock is 2.But there are one Kind of situation, if from the first atomic clock first time source and the second atomic clock the second time source all parameters all phases Together, then first time source and the second time source be exactly identical time source, first time source time source ID and second The time source ID of time source is source ID at the same time.For example, the parameter such as the frequency in first time source, phase is all conditioned respectively To a fixed value, and the parameter such as the frequency of the second time source, phase is also adjusted to the identical parameter value respectively, then first Time source and the second time source are exactly identical time source, i.e. the frequency of first time source and the second time source, precision, steady Qualitative or phase etc. is all consistent, therefore first time source and the time source ID of the second time source are also identical.
Due to time source precision and stability can downstream equipment transmission, but even precision and stability is all It is identical, it cannot guarantee that homologous, therefore a new parameter, i.e. time source ID proposed in the embodiment of the present invention, for characterizing The uniqueness of each time source, and upstream device can be delivered to.
The difference of existing with network equipment clockwork mark (Clock Identity, referred to as " Clock ID ") exists In:The each network equipment in Time Synchronization Network has a Clock ID of oneself, in uniquely tagged networking The each network equipment, such as optical module, comprehensive timing feed system (Building Integrated for ATOM GPS Timing Supply System, referred to as " BITS ") equipment etc., they have the Clock ID of oneself, but themselves is not Split-second precision source can be provided, be all the time source of the time source or individual atoms clock etc. that receive gps satellite, then downstream set Standby passing time source.Here newly-increased time source ID is used for the real source for characterizing their time source.
That is, here can be in the time source ID phases of the time source ID and second network equipment of first network equipment Together, and the time source of the hop count of the time source of first network equipment and second network equipment hop count it is identical when, first network is set It is standby to switch without time source, i.e., oneself currently used time source is not switched to by first time source and is set from the second network The second standby time source.
It is to be understood that the network element passed through when time source transmits in a network is more, the error of introducing is bigger, therefore equal feelings Need to select the less time source of hop count (Steps Removed) value under condition.If the time source ID of the second time source and first The time source ID of time source is identical, but hop count is different, then at this moment first network equipment can be in first time source and second In time source, the less time source of time source hop count is selected, and there is first time source to be switched to the hop count time source of oneself Minimum time source.
It should also be understood that second network equipment is properly termed as the upstream equipment of first network equipment, first network equipment can be with The referred to as upstream device of second network equipment, upstream equipment can be that upstream device transmits the time source of oneself, and upstream device can To receive the time source that upstream equipment passes over.First network equipment and second network equipment may each comprise two ports, One of port is used for downstream equipment and transmits the time source of oneself, and to issue synchronization time, another port can be used for The time source of upstream equipment or time source device is received, to receive synchronization time.
Alternatively, the first configured information can also be included in the time source information of second network equipment, the first instruction letter Breath is used to indicate that first network equipment is identical in the time source information of second time source and the time source information in first time source When, forbid the time source of first network equipment being switched to the second time source by first time source;
Wherein, in S220, if the time source information of the second time source is identical with the time source information in first time source, the One network equipment is forbidden the time source of first network equipment being switched to the second time source by first time source, including:First net Network equipment is identical in the time source information of the second time source and the time source information in first time source according to first configured information When, the time source of first network equipment is switched to the second time source by first time source.
Specifically, second network equipment can send the first configured information to first network equipment, the first instruction letter Breath is used to indicate that first network equipment is identical in the time source information of second time source and the time source information in first time source When the time source of first network equipment is not switched to the second time source by first time source, i.e., first configured information represent when Between revertive mode does not enable in source.Further, which can be carried on the time source of the second above-mentioned time source In information, after first network equipment obtains the time source information of the second time source, it can believe from the time source of second time source First configured information is obtained in breath, and according to first configured information, the time source information and second in progress first time source The comparison of the time source information of time source, and in the time source information and the time source information phase of the second time source in first time source Meanwhile without the switching of time source, i.e., the currently used time source of first network equipment is not switched to by first time source Second time source, even if the priority of the second time source is higher.
Do not returned it is to be understood that particular value can be set in first configured information that first network equipment obtains with representing enabled Pattern is cut, that is, is used to indicate time source information and the time source information in first time source of the first network equipment in the second time source Switch when identical without time source;Other different particular values can also be set to represent to be not enabled in first configured information Not revertive mode, that is, be used for indicate first network equipment according to select source algorithm first time source and the second time source in determine most Excellent time source, and the time source of first network equipment is switched to the optimal time source by first time source.
As an example it is assumed that the time source of current second network equipment comes from primary timing source equipment or newly adds network Equipment, the time source of first network equipment comes from BACKUP TIME source device.At this moment, since primary timing source equipment is by failure shape State is recovered to the reason such as working status or the addition of the new network equipment, may be that first network equipment brings the new time into Source, at this moment, first network equipment need to redefine the time source of oneself.First network equipment can obtain second network equipment The time source information of the second time source used, and obtain following information from the time source information of second time source:(1) One configured information, and revertive mode does not enable in the first configured information instruction time source;(2) second network equipments use second when Between source time source ID, and the time source ID of the second time source it is identical with the time source ID in first time source and value not be 0, show Two interfaces of first network equipment to real time source be identical, i.e., time source is consistent;(3) second times The hop count of the time source in source, and the value phase of the hop count of the time source of the second time source and the hop count of the time source in first time source Together.At this moment, first network equipment is according to the time source information of second time source, determine the time source ID of the second time source with from Whether oneself time source ID is identical and whether the time source hop count of the second time source is identical with the time source hop count of oneself, the first net Network equipment, if both time source ID and time source hop count all sames, need not be carried out according to the instruction of first configured information Source is selected to operate, even if the second time source comes from primary timing source equipment (the second time source priority is higher than first time source), the Oneself current time source will not be had first time source to be switched to the second time source by one network equipment.That is, at the same time Three conditions more than meeting in (1) to (3), then without cutting source action.
Here it can represent that upstream equipment does not transmit the parameter to the network equipment with time source ID for 0, if for example, the For one network equipment from the time source information that second network equipment obtains, time source ID is 0, then represents that second network equipment does not have Oriented first network equipment transmits the time source ID of the second time source.At this moment, first network equipment can be according to selecting source algorithm to exist First time source and the second time source in determine optimal time source, and the first time source of first network equipment is switched to this most Excellent time source.
Alternatively, above-mentioned first network equipment can include boundary clock BC equipment, and the second above-mentioned network equipment can With including BC equipment or time source device.
Wherein, the time source device for example can be gps satellite, big-dipper satellite, GLONASS satellite, Galilean satellite or Independent atomic clock.
In S210, first network equipment obtains the time source information for the second time source that second network equipment uses, tool Body can be retouched in detail by two ways with reference to Fig. 4 and Fig. 5 two ways proposed respectively to the embodiment of the present invention State.
Mode 1
It is a kind of obtain the second time source the mode of time source information be:First network equipment receives second network equipment hair Precision Time Protocol (Precision Time Protocol, referred to as " PTP ") message sent, in the reserved field of the PTP messages Time source information including the second time source.
Such as the schematic diagram of notice (Announce) message shown in Fig. 3, the message include PTP headings and PTP messages Content field, dash area is heading in Fig. 3, is message content field below heading.In the Announce messages Included at least in message content field:
The value of origination timestamp (OriginTime Stamp) field is the estimation of 0 or Announce message sending times Value;
Current UTC deviant (Current UTC Offset) field carries current International Atomic Time (International Atomic Time, referred to as " TAI ") and Universal Time Coordinated (Universal Time Coordinated, abbreviation " UTC ") it Between deviation, unit is the second (s);
Primary timing source priority 1 (Grandmaster Priority 1) field is primary timing source (Grandmaster) 1 attribute of priority, for comparing priority in BMC algorithms, its intermediate value is smaller to represent that priority is higher, when primary timing source refers to upstream Between source device transmission time source signal;
Clock quality (Grandmaster Clock Quality) field of primary timing source is the clock quality of primary timing source (Clock Quality) attribute, includes the rank and precision of primary timing source;
Primary timing source priority 2 (Grandmaster Priority 2) field is 2 attribute of priority of primary timing source, is used Compare priority in BMC algorithms, its intermediate value is smaller to represent that priority is higher;
Primary timing source mark (Grandmaster Identity) field identifies (Clock ID) for the clock of primary timing source Attribute;
The expression of hop count (Steps Removed) field sends and is passed through between the local clock and high-level clock of Anounce message Cross the hop count of link;
Primary timing source source (Time Source) field represent primary timing source source, such as from atomic clock, GPS, PTP, Network Time Protocol (Network Time Protocol, referred to as " NTP ") etc.;
Reserved fields are reserved field.
As can be seen that there is a reserved field in the PTP message contents, the present invention can using this field come transmit including when Between source ID parameter value including time source information, for example, the setting of the value of the reserved field and implication can be as follows:
(1) default value is full 0, and expression is not enabled on not revertive mode, at this moment can be according to selecting source algorithms selection high priority Time source and switch current time source to the time source of high priority, so as to keep the compatibility to upstream device.
(2) bit on the highest-order bit (bit) value is set to 1, represents to enable not revertive mode, represents if the time Source ID is identical with time source hop count, can be without selecting source to switch;
(3) numerical value on remaining 7 bit position can represent time source ID, the unique temporal source of Global Access (such as from The time source of gps satellite, time source from big-dipper satellite etc.) need to distribute regular time source value to ensure intercommunication, such as The time source ID values that GPS can be specified are, for example, 1, and the value of the time source ID of big-dipper satellite is, for example, 2, after value 3-31 can retain It is continuous to use, it must not take;
Remaining 7 bit all can represent that (i.e. upstream equipment does not transmit the ginseng for the information of non-passing time source ID for 0 Number), even if the network equipment has enabled not revertive mode at this time, the network equipment is also normally selected source or switching.
(4) value 32-127 can be used by pressing actual conditions planning during deployment time synchronizing network, can be with manual configuration, net Network planning will avoid the scene that having time source ID values are identical in the whole network, may be referred to the use limitation of Clock ID;
(5) network equipment of time synchronization needs to support to know the ability of the information of the reserved field;
(6) network equipment of time synchronization and time source device need to have downstream equipment and transmit in the reserved field The ability of information, can downstream transmit the time source information in the reserved field by Announce messages.
Mode 2
The mode of time source information that another kind obtains the second time source is:First network equipment receives second network equipment The TLV fields that the Announce messages of transmission carry, the TLV fields include the time source information of the second time source.That is, Second network equipment can include the ginseng of time source ID by way of Announce messages attach TLV come downstream equipment transmission Time source information including numerical value.
Type-length-value (Type-Length-Value, referred to as " TLV ") is a kind of data format, the length of TLV fields Require it is even bytes, its structure is as follows:
Wherein, tlvType represents the type of TLV, specifies the implication of current data packet, such as indicate the type of single bag Or the type of nested bag;LengthField represent TLV fields byte length, this size include tlvType, Tri- parts of lengthField and valueField;ValueField represents the content body of data in TLV fields, includes The actual content of the data packet.
The TLV fields can be attached to the afterbody of Announce messages, to transmit some extra information.Therefore can lead to Cross and increase such TLV field newly to encapsulate and transmit newly-increased time source id information.Second network equipment passes through the TLV words Section, can send the time source information of second time source to first network equipment.
Therefore, in embodiments of the present invention, the network equipment is by comparing oneself current time source with being set from other networks The standby time source obtained, and switch when the information of two time sources is identical without time source, so as to reduce no income Time source switching action, avoid it is unnecessary cut source event and alarm report, reduce existing net maintenance cost.
It is to be understood that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to perform suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention Process forms any restriction.
Below in conjunction with Fig. 4 to Fig. 6, the network equipment according to embodiments of the present invention is described, above method embodiment is retouched The technical characteristic stated can be adapted for following device embodiment.
Fig. 4 shows the network equipment 400 according to embodiments of the present invention.As shown in figure 4, the network equipment 400 is first The network equipment, the network equipment 400 include:
Acquiring unit 410, the time source information of the second time source used for obtaining the second equipment;
Processing unit 420, for the time source information of second time source obtained in the acquiring unit 420 and institute State that first network equipment uses first time source time source information it is identical when, forbid the time of the first network equipment Source is switched to second time source by first time source by the first time source.
Therefore, the network equipment is by the time source that compares current time source with obtained from other network equipments, and at two Switch when the information of time source is identical without time source, avoid overhead caused by unnecessary time source switching.
Alternatively, the time source packet in the first time source includes time source mark ID and the institute in the first time source The hop count in first time source is stated, the time source ID in the first time source is used to identify the first time source;When described second Between the time source packet in source include the time source ID of second time source and the hop count of second time source, when described second Between source time source ID be used for identify second time source.
Alternatively, the time source information of second time source further includes the first configured information, first configured information For indicating the first network equipment in the time source information of second time source and the time source in the first time source When information is identical, forbid the time source of the first network equipment being switched to second time source by first time source;
Wherein, the processing unit 420 is specifically used for:According to first configured information, in second time source When time source information is identical with the time source information in the first time source, forbid by the time source of the first network equipment by First time, source was switched to second time source.
Alternatively, the acquiring unit 410 is specifically used for:Receive the Precision Time Protocol that second network equipment is sent PTP messages, the reserved field of the PTP messages include the time source information of second time source.
Alternatively, the acquiring unit 420 is specifically used for:Receive the notice Announce that second network equipment is sent Message, the type-length-value TLV fields that the Announce messages carry include the time source letter of second time source Breath.
Alternatively, the first network equipment includes boundary clock BC equipment, and second network equipment includes BC equipment Or time source device.
Alternatively, time source device includes global position system GPS satellite, big-dipper satellite, GLONASS satellite, Galileo Satellite or independent atomic clock.
Alternatively, the processing unit 420 is additionally operable to:In the second time source information and the first time source information When differing, optimal time source is determined in the first time source and second time source, and the first network is set Standby time source is switched to the optimal time source by the first time source.
It should be noted that in the embodiment of the present invention, acquiring unit 410 and processing unit 420 can be realized by processor.Such as Fig. 5 Shown, the network equipment 500 can include processor 510, transceiver 520 and memory 530.Wherein, transceiver 520 can be with Including receiver 521 and transmitter 522, memory 530 can be used for the time source letter for the time source that storage networking device uses Code that breath or processor 510 perform etc..Various components in the network equipment 500 can be coupling in one by bus system 540 Rise, wherein bus system 540 further includes power bus, controlling bus and status signal bus in addition etc. in addition to including data/address bus. Wherein, the network equipment 500 is first network equipment, and processor 510 is used for:
Obtain the time source information for the second time source that the second equipment uses;
Use in time source information and the first network equipment of second time source first time source time When source information is identical, forbid the time source of the first network equipment being switched to second time by the first time source Source.
Therefore, the network equipment is by the time source that compares current time source with obtained from other network equipments, and at two Switch when the information of time source is identical without time source, avoid overhead caused by unnecessary time source switching.
Alternatively, the time source packet in the first time source includes time source mark ID and the institute in the first time source The hop count in first time source is stated, the time source ID in the first time source is used to identify the first time source;When described second Between the time source packet in source include the time source ID of second time source and the hop count of second time source, when described second Between source time source ID be used for identify second time source.
Alternatively, the time source information of second time source further includes the first configured information, first configured information For indicating the first network equipment in the time source information of second time source and the time source in the first time source When information is identical, forbid the time source of the first network equipment being switched to second time by the first time source Source;
Wherein, the processor 510 is specifically used for:According to first configured information, second time source when Between source information it is identical with the time source information in the first time source when, forbid the time source by the first network equipment by institute State first time source and be switched to second time source.
Alternatively, the receiver 521 is specifically used for:Receive the Precision Time Protocol that second network equipment is sent PTP messages, the reserved field of the PTP messages include the time source information of second time source.
Alternatively, the receiver 521 is specifically used for:Receive the notice Announce reports that second network equipment is sent Text, the type-length-value TLV fields that the Announce messages carry include the time source information of second time source.
Alternatively, the first network equipment includes boundary clock BC equipment, and second network equipment includes BC equipment Or time source device.
Alternatively, time source device includes global position system GPS satellite, big-dipper satellite, GLONASS satellite, Galileo Satellite or independent atomic clock.
Alternatively, the processor 510 is additionally operable to:In the second time source information and the first time source information not When identical, optimal time source is determined in the first time source and second time source, and by the first network equipment Time source the optimal time source is switched to by the first time source.
Fig. 6 is a schematic diagram of the System on Chip/SoC of the embodiment of the present invention.The System on Chip/SoC 600 of Fig. 6 includes defeated Incoming interface 601, output interface 602, at least one processor 603, memory 604, the input interface 601, output interface 602nd, it is connected between the processor 603 and memory 604 by bus 605, the processor 603 is used to perform described deposit Code in reservoir 604, when the code is performed, the processor 603 realizes that the network equipment in Fig. 2 and Fig. 3 performs Method.The bus 605 is only an example of connection mode, in the embodiment of the present invention, the input interface 601, output It can also by other means be attached between interface 602, the processor 603 and memory 604, not limit here It is fixed.
The System on Chip/SoC 600 shown in the network equipment 500 or Fig. 6 shown in the network equipment 400 or Fig. 5 shown in Fig. 4 can Realize each process realized in earlier figures 2 and Fig. 3 embodiments of the method by the network equipment, it is no longer superfluous here to avoid repeating State.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is The specific work process of system, device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art, or all or part of the technical solution can be in the form of software product Embody, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (16)

  1. A kind of 1. method of definite time source, it is characterised in that the described method includes:
    The time source information for the second time source that second network equipment uses is obtained using the first network equipment in first time source;
    If the time source information of second time source is identical with the time source information in the first time source, first net Network equipment forbids the time source of the first network equipment being switched to second time source by the first time source.
  2. 2. according to the method described in claim 1, it is characterized in that, the time source packet in the first time source includes described The time source mark ID of one time source and the hop count in the first time source, the time source ID in the first time source are used to identify The first time source,
    The time source packet of second time source includes the time source ID of second time source and second time source Hop count, the time source ID of second time source are used to identify second time source.
  3. 3. according to the method described in claim 2, it is characterized in that, the time source information of second time source further includes first Configured information, first configured information are used to indicate time source information of the first network equipment in second time source When identical with the time source information in the first time source, when forbidding the time source of the first network equipment by described first Between source be switched to second time source;
    Wherein, if the time source information of second time source is identical with the time source information in the first time source, described One network equipment is forbidden the time source of the first network equipment being switched to second time source by the first time source, Including:
    The first network equipment is according to first configured information, in the time source information and described the of second time source When the time source information of one time source is identical, forbid switching the time source of the first network equipment by the first time source For second time source.
  4. 4. according to the method in any one of claims 1 to 3, it is characterised in that described to use the first of first time source The network equipment obtains the time source information for the second time source that second network equipment uses, including:
    The Precision Time Protocol PTP of second network equipment transmission is received using the first network equipment in first time source Message, the reserved field of the PTP messages include the time source information of second time source.
  5. 5. according to the method in any one of claims 1 to 3, it is characterised in that described to use the first of first time source The network equipment obtains the time source information for the second time source that second network equipment uses, including:
    The notice Announce that second network equipment transmission is received using the first network equipment in first time source is reported Text, the type-length-value TLV fields that the Announce messages carry include the time source information of second time source.
  6. 6. method according to any one of claim 1 to 5, it is characterised in that the first network equipment includes border Clock BC equipment, second network equipment include BC equipment or time source device.
  7. 7. according to the method described in claim 6, it is characterized in that, the time source device is defended including global position system GPS Star, big-dipper satellite, GLONASS satellite, Galilean satellite or independent atomic clock.
  8. 8. method according to any one of claim 1 to 7, it is characterised in that the method further includes:
    If the time source information of second time source and the time source information in the first time source differ, described first The network equipment determines optimal time source in the first time source and second time source, and by the first network equipment Time source the optimal time source is switched to by the first time source.
  9. A kind of 9. network equipment of definite time source, it is characterised in that the network equipment is first network equipment, described first The network equipment includes:
    Acquiring unit, the time source information of the second time source used for obtaining the second equipment;
    Processing unit, for the time source information of second time source and the first network obtained in the acquiring unit Equipment use first time source time source information it is identical when, forbid the time source of the first network equipment by described One time source is switched to second time source.
  10. 10. the network equipment according to claim 9, it is characterised in that the time source packet in the first time source includes The time source mark ID in the first time source and the hop count in the first time source, the time source ID in the first time source are used In identifying the first time source,
    The time source packet of second time source includes the time source ID of second time source and second time source Hop count, the time source ID of second time source are used to identify second time source.
  11. 11. the network equipment according to claim 10, it is characterised in that the time source information of second network equipment is also Including the first configured information, first configured information be used for indicate the first network equipment second time source when Between source information it is identical with the time source information in the first time source when, forbid the time source by the first network equipment by institute State first time source and be switched to second time source;
    Wherein, the processing unit is specifically used for:
    According to first configured information, in the time source information and the time source in the first time source of second time source When information is identical, forbid the time source of the first network equipment being switched to second time by the first time source Source.
  12. 12. the network equipment according to any one of claim 9 to 11, it is characterised in that the acquiring unit is specifically used In:
    The Precision Time Protocol PTP messages that second network equipment is sent are received, the reserved field of the PTP messages includes The time source information of second time source.
  13. 13. the network equipment according to any one of claim 9 to 11, it is characterised in that the acquiring unit is specifically used In:
    Receive the notice Announce messages that second network equipment is sent, type-length that the Announce messages carry Degree-value TLV fields include the time source information of second time source.
  14. 14. the network equipment according to any one of claim 9 to 13, it is characterised in that the first network equipment bag Boundary clock BC equipment is included, second network equipment includes BC equipment or time source device.
  15. 15. the network equipment according to claim 14, it is characterised in that the time source device includes global positioning system Gps satellite, big-dipper satellite, GLONASS satellite, Galilean satellite or independent atomic clock.
  16. 16. the network equipment according to any one of claim 9 to 15, it is characterised in that the processing unit is additionally operable to:
    When the second time source information and the first time source information differ, in the first time source and described the Optimal time source is determined in two time sources, and the time source of the first network equipment is switched to institute by the first time source State optimal time source.
CN201610960943.8A 2016-10-27 2016-10-27 Method for determining time source and network equipment Active CN108011682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610960943.8A CN108011682B (en) 2016-10-27 2016-10-27 Method for determining time source and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610960943.8A CN108011682B (en) 2016-10-27 2016-10-27 Method for determining time source and network equipment

Publications (2)

Publication Number Publication Date
CN108011682A true CN108011682A (en) 2018-05-08
CN108011682B CN108011682B (en) 2020-09-08

Family

ID=62047412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610960943.8A Active CN108011682B (en) 2016-10-27 2016-10-27 Method for determining time source and network equipment

Country Status (1)

Country Link
CN (1) CN108011682B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958070A (en) * 2018-09-27 2020-04-03 华为技术有限公司 Reference time determination method and device
WO2022206614A1 (en) * 2021-04-02 2022-10-06 烽火通信科技股份有限公司 Packet synchronization channel failure handling method and device
CN115499082A (en) * 2022-11-08 2022-12-20 电信科学技术第五研究所有限公司 Comprehensive source selection method based on multi-time source fusion
JP7324128B2 (en) 2019-11-25 2023-08-09 日本放送協会 Communication device and program
JP7453394B2 (en) 2020-02-14 2024-03-19 華為技術有限公司 Communication methods, devices and systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368696A (en) * 2011-09-14 2012-03-07 杭州华三通信技术有限公司 Method for selecting synchronous clock source and apparatus thereof
CN102957488A (en) * 2011-08-18 2013-03-06 中兴通讯股份有限公司 Method and device for selecting time synchronization sources
CN103051404A (en) * 2011-10-12 2013-04-17 中兴通讯股份有限公司 Method of preventing synchronizing network topology from generating shaking, and clock synchronizer
CN105610724A (en) * 2016-01-08 2016-05-25 烽火通信科技股份有限公司 Method and device for realizing load balancing in time wavelength division multiplexing passive optical network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957488A (en) * 2011-08-18 2013-03-06 中兴通讯股份有限公司 Method and device for selecting time synchronization sources
CN102368696A (en) * 2011-09-14 2012-03-07 杭州华三通信技术有限公司 Method for selecting synchronous clock source and apparatus thereof
CN103051404A (en) * 2011-10-12 2013-04-17 中兴通讯股份有限公司 Method of preventing synchronizing network topology from generating shaking, and clock synchronizer
CN105610724A (en) * 2016-01-08 2016-05-25 烽火通信科技股份有限公司 Method and device for realizing load balancing in time wavelength division multiplexing passive optical network system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958070A (en) * 2018-09-27 2020-04-03 华为技术有限公司 Reference time determination method and device
US11777629B2 (en) 2018-09-27 2023-10-03 Huawei Technologies Co., Ltd. Reference time determining method and apparatus
JP7324128B2 (en) 2019-11-25 2023-08-09 日本放送協会 Communication device and program
JP7453394B2 (en) 2020-02-14 2024-03-19 華為技術有限公司 Communication methods, devices and systems
WO2022206614A1 (en) * 2021-04-02 2022-10-06 烽火通信科技股份有限公司 Packet synchronization channel failure handling method and device
CN115499082A (en) * 2022-11-08 2022-12-20 电信科学技术第五研究所有限公司 Comprehensive source selection method based on multi-time source fusion
CN115499082B (en) * 2022-11-08 2023-03-10 电信科学技术第五研究所有限公司 Comprehensive source selection method based on multi-time source fusion

Also Published As

Publication number Publication date
CN108011682B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN108011682A (en) Determine the method and the network equipment of time source
CN101904129B (en) Method for estimating and monitoring timing errors in packet data networks
US8983015B2 (en) Synchronization distribution in microwave backhaul networks
EP3334068B1 (en) Method, node and system for detecting clock synchronization path
EP2352250A1 (en) Time synchronization method and apparatus
EP3404866B1 (en) Device and method for supporting clock transfer in multiple clock domains
CN103563287B (en) Synchronization device and synchronization method
EP3104556B1 (en) Clock synchronization method and device, and communication system
CN103916950A (en) Time synchronization method and system
EP3419230A1 (en) Method of updating clock synchronization topology, method of determining clock synchronization path, and apparatus
CN109218007A (en) Routing resource, equipment and storage medium
CN102957488A (en) Method and device for selecting time synchronization sources
US11750698B2 (en) Network device synchronization method and network device
US11963120B2 (en) Method for synchronizing network device, and network device
CN102546073B (en) Multi-clock-ring based method for avoiding clock jitter in switching process
CN107251457B (en) The method and apparatus for transmitting clock message
CN102130736A (en) Method, device and system for processing clock information
CN102342051B (en) For coming the method for synchronised clock and relevant system and module by separating transmission first and second data via at least one time distribution protocol
CN103428009A (en) Method and device for achieving OAM of grouped synchronous networks
CN102244573B (en) clock reporting method and device
US9210674B2 (en) Base station timing control using synchronous transport signals
US20230050042A1 (en) Clock determining method and related apparatus
Garner et al. New simulation and test results for IEEE 802.1 AS timing performance
CN116599616A (en) Base station clock switching method, device, base station and medium
EP4068659A1 (en) Clock port attribute recovery method, device, and system

Legal Events

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

Effective date of registration: 20211228

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration: 20211228

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 100085, No. 3, information road, Haidian District, Beijing

Patentee before: Beijing Huawei Digital Technology Co.,Ltd.