CN102035638A - Clock source selection processing method, device and system - Google Patents

Clock source selection processing method, device and system Download PDF

Info

Publication number
CN102035638A
CN102035638A CN2009100931888A CN200910093188A CN102035638A CN 102035638 A CN102035638 A CN 102035638A CN 2009100931888 A CN2009100931888 A CN 2009100931888A CN 200910093188 A CN200910093188 A CN 200910093188A CN 102035638 A CN102035638 A CN 102035638A
Authority
CN
China
Prior art keywords
clock
source
node
transmission link
selected source
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
CN2009100931888A
Other languages
Chinese (zh)
Other versions
CN102035638B (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
Priority to CN200910093188.8A priority Critical patent/CN102035638B/en
Publication of CN102035638A publication Critical patent/CN102035638A/en
Application granted granted Critical
Publication of CN102035638B publication Critical patent/CN102035638B/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

Landscapes

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

Abstract

The embodiment of the invention provides a clock source selection processing method, a clock source selection processing device and a clock source selection processing system. The method comprises the following steps that: a slave clock node acquires link state information of a transmission link between the slave clock node and each clock source to be selected; and the slave clock node selects a clock reference source serving for clock synchronization operation from one or more clock sources to be selected, wherein the one or more clock sources to be selected are determined according to link state information for identifying that the link state of the transmission link is in the normal state. In the embodiment of the invention, selectable clock sources are firstly determined according to the link state of a network before a master clock serving for the clock synchronization operation is selected during the best master clock (BMC) source selection of the slave clock node, so the BMC source selection process is performed in an available clock source range of the transmission link to improve the success rate of clock synchronization.

Description

Clock selects source processing method, device and system
Technical field
The embodiment of the invention relates to wireless communication technology field, relates in particular to a kind of clock and selects source processing method, device and system.
Background technology
At present, the mobile network accelerates to the paces of all-IP evolution, and International Standards Organization such as 3GPP, 3GPP2, IEEE have proposed the network architecture based on all-IP in succession.Mobile network's all-IPization is a whole network IPization process end to end, comprises aspects such as terminal applies, access network, bearer network, core network, maintenance management.The target of terminal IPization is that individualized experience is being provided, and advances multimedia service, embodies the intelligentized while, can realize the support of multiple business by software loading.Mobile network's all-IP framework can be divided into core net, transmit net, data network and Access Network etc., and data network itself is exactly an IP-based network, and other networks will realize that IPization then needs a process.In the Access Network aspect, most of technology comprise 3G or back 3G technology, all with the IP technology inseparable relation are arranged.At present, Long Term Evolution (LongTerm Evolution; Hereinafter to be referred as: LTE) architecture is tending towards flattening, and the change of this architecture makes the LTE interface reduce, and cost reduces, and it is more convenient that equipment is carried out maintenance management; Simultaneously, on performance, help reducing data transfer delay.Current along with progressively the finishing of IP core network transformation, the IPization of wireless access network will become the key of whole mobile network to all-IP evolution.
In the process that realizes wireless access network IPization, clock synchronization issue is the problem that need pay close attention to.For conformance with standard and guarantee network performance, different mobile communication networks all has base station clock, is used to solve stationary problem.Because clock synchronization relates to the clock of eating dishes without rice or wine of base station, and is very big to the influence of performance of handoffs and covering performance, be that 2G, 3G or the base station of super 3G are all very strict to the required precision of clock frequency therefore; In addition because the characteristics of same frequency are adopted in time division multiplexing (TDD) base station up-downgoing, for fear of interference, to the also strictness of ten minutes of required precision of clock phase.The clock synchronization distribution mainly contains three kinds of attainable approach in the conventional synchronization net of non-IP: terrestrial transmission is mainly utilized PDH (Pseudo-synchronous Digital Hierarchy) (Plesiochronous Digital Hierarchy, hereinafter to be referred as: PDH) net or net or SDH (Synchronous Digital Hierarchy) (Synchronous Digital Hierarchy, hereinafter to be referred as: N level synchronous transfer module (STM-N) SDH), aerial distribution mainly utilizes global positioning system (GPS).But when adopting IP mode transmission group net, because the IP data network can't support the clock of physical layer to transmit at present, the website clock can not obtain from physical layer, and the PDH mode in the packet network will be eliminated, and it is also infeasible that the mode that therefore T1/E1 is passed clock is introduced the design of IPization base station.In addition, therefore with high costs though GPS can satisfy mobile network's clock synchronization demand because the installation and maintenance gps antenna needs more operation expenditure, be difficult to use and management.
Defined Precision Time Protocol (Precision Time Protocol; Hereinafter to be referred as: basic function PTP) is to make the precision clock in the distributed network keep synchronous with other clocks.The clock synchronization principle of PTP agreement is based on synchronization packets the most accurate match time when being propagated and receiving, each from clock by reaching synchronous with master clock with master clock switching clock message (Sync).In the 1588V2 agreement, defined the best master clock algorithm, obtain the clock quality information of master clock by the clock quality request message from clock, when selecting the clock source, needs select some master clock nodes as timing reference input by regulation optimal clock algorithm, this process is referred to as BMC and selects the source, promptly select a clock source by the optimal clock algorithm, the selection of best master clock is relevant with the master clock priority that the grade of clock, precision, stability and client are preset.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: on Packet Based Network, clock message transmits with other business datums, if exceed certain scope because of certain reason causes the clock message packet loss, will cause to carry out tracking lock to the master clock node that BMC selects the source algorithm to select, thereby make and to reach synchronous with the master clock node that the BMC algorithm is selected from clock node from clock node.
Summary of the invention
The embodiment of the invention provides a kind of clock to select source processing method, device and system, wherein:
A kind of clock that the embodiment of the invention provides selects the source processing method, comprising:
Obtain the linking status information of described transmission link between clock node and each clock to be selected source from clock node;
Describedly select one or more clocks to be selected source as the timing reference input that carries out clock synchronization operation from clock node, described one or more clocks to be selected source is determined according to the linking status information that the linking status of sign transmission link is in normal condition.
A kind of clock that the embodiment of the invention provides selects the source processing unit, comprising:
Acquisition module is used to obtain the linking status information that described clock selects the transmission link between source processing unit and each the clock to be selected source;
Select module, be used for selecting as the timing reference input that carries out the clock synchronization operation in one or more clocks to be selected source, described one or more clocks to be selected source is determined according to the linking status information that the linking status that identifies transmission link is in normal condition.
A kind of clock that the embodiment of the invention provides selects the source treatment system, comprise that clock selects the source processing unit, provide the clock a plurality of to be selected source of reference clock for described clock selects the source processing unit, and select the source processing unit that the communication network of transmission channel is provided for described host node and clock.
The clock that the embodiment of the invention provides selects source processing method, device and system, carrying out BMC from clock node selects the process in source, before selecting as the master clock that carries out the clock synchronization operation, at first determine optional clock source according to the linking status of network, make BMC select source procedure transmission link can with the clock source range in carry out, improve the success rate of clock synchronization.
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 one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 selects source processing method embodiment flow chart for clock of the present invention;
Fig. 2 selects source side method embodiment flow chart for clock of the present invention;
Fig. 3 selects example structure figure of source processing unit for embodiment of the invention clock;
Fig. 4 selects another example structure of source processing unit figure for embodiment of the invention clock;
Fig. 5 selects source treatment system example structure figure for embodiment of the invention clock.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention adopts IEEE 1588 defined PTP, the basic function of PTP is that the precision clock in the distributed network is kept synchronously with other clocks, and it is synchronous to be used for that the clock in transducer, actuator and the other-end equipment of the distributed bus system of standard ethernet or other employing multicasting technologies is carried out the submicrosecond level.In order to improve synchronization accuracy, the PTP agreement requires each network node that a network interface unit that comprises real-time clock must be arranged on hardware, can realize the related service based on the PTP protocol stack.The most accurate match time when the clock synchronization principle of PTP agreement is propagated and received based on synchronization packets, each from clock node by reaching synchronous with the master clock node with master clock node switching clock message.By the clock synchronization compliant with precision time protocol synchronization principles as can be seen the accuracy of clock synchronization be closely related with time tag and temporal information, the master clock node arrives from clock node in Time delay measurement simultaneously, and whether the network delay from clock node to the master clock node is symmetrical right, and the precision of clock phase synchronization also has very big influence.IEEE1588 also strengthens Time delay measurement in addition, has considered the timestamp of intermediate node when corrective networks are delayed time.Utilizing PTP to carry out clock frequency synchronous the time, do not need to consider the symmetry of network delay, the accuracy of time has determined the precision of clock frequency in the master clock clock message.
In the IEEE1588 agreement, obtain the clock quality information of master clock from clock by the request message of clock quality message (announce), when selecting the clock source, needs select a master clock node as timing reference input by algorithm.The territory of concrete expression master clock quality is " grandmasterClockQuality " territory in " announce " message, should form by " clockclass ", " clockaccuracy " and " offsetScaledLogVariance " these three components in " grandmasterClockQuality " territory, wherein " clockclass " represents clock grade, define the trackability of clock, can represent master clock node residing grade on network; " accuracy " represents clock accuracy, defined the levels of precision of master clock; " offsetScaledLogVariance " represents clock stability, defined the degree of stability of master clock.Because existing clock message transmits with other business datums,, link congested when transmission link dodges and breaks when causing the clock message packet loss and exceeding certain limit, may the tracking lock master clock from clock.Suppose that clock source A and clock source B are optional clock sources, select source A as master clock source from clock according to the BMC algorithm, when taking place when clock can't lock the situation of source A, the master clock node that can't select with the BMC algorithm from clock node is that clock source A reaches synchronous.Reselect the clock source even trigger the BMC algorithm, choose clock source A probably once more according to existing BMC algorithm, and cause synchronization failure once more by initialization by force.
The embodiment of the invention is when selecting the source once more from clock, owing to only consider the grade of clock, precision, the master clock priority that stability and client are default, do not consider the transmission quality of other factors such as clock chain circuit etc., cause the BMC algorithm to choose previous master clock once more, cause defectives such as synchronization failure once more, provide a solution promptly to replenish the method that the linking status according to clock chain circuit that does not have standard in 1588 agreements is selected best master clock, to guarantee to choose current link transmission more excellent clock source relatively from clock, improve the accuracy rate of clock source selection, guarantee the clock synchronization success rate.
Fig. 1 selects source processing method embodiment flow chart for clock of the present invention, and as shown in Figure 1, this method comprises:
Step 100 is obtained the linking status information of described transmission link between clock node and each clock to be selected source from clock node;
In distributed network, the system clock of each node is in synchronous regime in the network in order to make, for example to the clock a plurality of to be selected source that reference clock can be provided (being the master clock node), select clock source as the timing reference input that carries out the clock synchronization operation in the base station from clock node, below among each embodiment to exist two master clock nodes to describe for being chosen as example in the network from clock node as clock to be selected source.From clock node for fear of the master clock reuse adoption process since do not consider linking status for example link stop up, dodge situations such as disconnected, be on the master clock node that serious packet loss appears in abnormal condition because of linking status and cause choosing once more one, to carry out before BMC selects the source, get access to this from clock node and be available for providing the linking status information of the transmission link between the clock a plurality of to be selected source of reference clock to it, at first to obtain in the present embodiment respectively and the linking status information of the transmission link between two master clock node A and the B from clock node, suppose when transmission link wherein when for example this transmission link of linking status message identification of the transmission link between clock node and master clock node A is in abnormal condition at present and promptly causes serious packet loss easily, in this BMC selects the scope in source, master clock node A is got rid of.
Step 101, describedly select one or more clocks to be selected source as the timing reference input that carries out clock synchronization operation from clock node, described one or more clocks to be selected source is determined according to the linking status information that the linking status of sign transmission link is in normal condition.
Linking status information from clock node transmission link between the clock to be selected source during getting access to network, and after in this BMC selects the scope in source, will being in the pairing master clock node of transmission link under the abnormal condition and getting rid of, just determined this time to carry out range of choice that BMC selects the source and promptly in the linking status of sign (or expression) transmission link is in the pairing part of the linking status information clock to be selected source of normal condition, selected.For example, if only exist two master clock node A and B for providing reference clock in the network from clock node, and master clock node A because of and transmission link between clock node be in abnormal condition and be excluded after BMC selects outside the source range herein, just can directly select the normal master clock Node B of linking status as the timing reference input that carries out the clock synchronization operation.Certainly, in the present embodiment BMC select in the source range get rid of a part of master clock node according to the linking status of transmission link after, if exist a plurality of be in the situation of the master clock node under the normal condition from the transmission link between the clock node, then can in this optional scope, select conduct to carry out the timing reference input that clock synchronization is operated according to existing optimal clock algorithm.Specifically select source procedure referring to shown in Figure 2.
Fig. 2 selects source side method embodiment flow chart for clock of the present invention, as shown in Figure 2, this selects in the source and course journey in basis " priority ", " clockclass ", factor such as " clockaccuracy " and " offsetScaledLogVariance " is in master clock node A and B, select as before should carrying out the timing reference input of clock synchronization operation from clock node according to the optimal clock algorithm, carry out from the judgement of the linking status information of transmission link between clock node and master clock node A and the B, that is to say at clock and select the step that adding is judged according to linking status (Link status) in the source and course journey, timing reference input for carrying out the clock synchronization operation in the master clock node that satisfies condition from clock node selection conduct.
The clock that present embodiment provides selects the source processing method, carrying out BMC from clock node selects the process in source, before selecting as the master clock that carries out the clock synchronization operation, determine optional clock source according to the linking status of network, make BMC select source procedure transmission link can with the clock source range in carry out, improve the success rate of clock synchronization.
On the basis of the foregoing description, obtain this from clock node and carry out the implementation that linking status judges from the linking status information of the transmission link between clock node and each the clock to be selected source and can comprise following three kinds at least:
First kind of mode is, from clock node according to the pairing packet loss of clock quality message (announce), obtain and each clock to be selected source between the linking status information of transmission link, described " announce " for each clock to be selected source by separately and send to from clock node from the transmission link between the clock node.Judge the linking status of transmission link in the present embodiment according to the accepting state of " announce " message itself, because it is relatively low that the master clock node sends the frequency of giving out a contract for a project of " announce " message, if a large amount of packet loss problems all occurred, illustrate that then the network linking state can not finish clock synchronization in the lower frequency lower network of giving out a contract for a project.Particularly, send " announce " request message from clock node clean culture is consulted and give master clock node A and B, master clock node A and B agree that this request and transmission " announce_grant " message gives from clock node; Master clock node A and B periodically send " announce " message and give from clock node, receive " announce " message from clock node, and calculate the packet loss information of " announce " message.When the packet loss of " announce " message the transmission link (being master clock node and the transmission link between clock node) surpasses prescribed limit for example 1% the time, can think that this transmission link is in abnormal condition, then the optional state of the pairing master clock node of transmission link is set to not optional.
The second way is, from obtain from third party's application server, the described pairing packet loss of business packet of clock node basis from transmitting between clock node and each the clock to be selected source, obtain the linking status information of described transmission link between clock node and each clock to be selected source, business packet for each clock to be selected source by separately and send to from clock node from the transmission link between the clock node.Obtain the linking status of synchronizing network in the present embodiment by third party's application server from clock node, third party's application server can be BTS management entity or NE management entity, it is pointed out that so long as can obtain the network entity of linking status in the network and can become the third party of Synchronization Status Message is provided application server.Particularly, obtain the linking status of network of relation from third party's application server from clock node, third party's application server can be OAM (operator and management) management entity in the present embodiment, and linking status comprises that the packet loss of business packet in the network and the changing value of delay inequality are wobble information.Less to the influence of end-to-end Frequency Synchronization in the present embodiment owing to time delay, therefore in synchronous the selecting in the source side case of the whole network, linking status is mainly considered packet loss whole in the network, when the packet loss on a transmission link surpasses certain limit, can think that this transmission link is in abnormal condition.And the selecting in the source side case of end-to-end Frequency Synchronization, linking status also needs to consider the information such as shake except that packet loss, when the shake on a transmission link surpasses certain limit, can think that also this transmission link is in abnormal condition.That is to say from clock node can according to obtain from third party's application server, and each clock to be selected source between the pairing packet loss of business packet that transmits and the changing value of the pairing delay inequality of this business packet be wobble information, obtain and each clock to be selected source between the linking status information of transmission link.
Under unicast case,, except can adopting above-mentioned dual mode, can also adopt the third mode as described below to the clock source of current selected; Under the multicast mode, also can use this third mode to each clock to be selected source, promptly from clock node according to the pairing packet loss of clock message (sync), obtain and current selection as the linking status information of the transmission link between the clock to be selected source of timing reference input, clock message be current selection as the clock to be selected source of timing reference input by and send from the transmission link between the clock node.Judge the clock source from clock node according to " sync " message packet loss in the present embodiment, packet loss is big more, show that Link State is bad more, synchronous effect is poor more, when the packet loss of " sync " message in the transmission link surpasses certain limit, can think that this transmission link is in abnormal condition.Present embodiment can be used to judge that this BMC selects the Link State of the master clock node that is connected before the source, can judge the master clock node that connected last time according to " sync " message packet loss and whether can join current selecting in the source.Particularly, the accepting state of " Sync " message from the clock node recording clock is synchronous, and the packet loss of calculating " Sync " message, and the changing value of delay inequality is a wobble information.
In the present embodiment, carry out clock again when being triggered when selecting the source, can also judge whether original link can join current selecting in the source according to the packet loss and the wobble information of " Sync " message that calculated in the clock synchronization last time from clock node.In synchronous the selecting in the source side case of the whole network, only the packet loss parameter of consideration " Sync " message is judged the network linking state.And under the situation of end-to-end Frequency Synchronization, linking status also needs to consider the wobble information except that packet loss, that is to say can be according to pairing packet loss of " Sync " message and wobble information that should " Sync " message from clock node, obtain and current selection as the linking status information of the transmission link between the clock to be selected source of timing reference input.
The clock that present embodiment provides selects the source processing method, carrying out BMC from clock node selects the process in source, can be at first by the packet loss of clock quality message or the packet loss and the wobble information of clock message, or from third party's application server obtain and each clock to be selected source between the linking status information of transmission link, determine to select source range, make BMC select source procedure transmission link can with the clock source range in carry out, improve the success rate of clock synchronization.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 selects example structure figure of source processing unit for embodiment of the invention clock, as shown in Figure 3, this clock selects the source processing unit promptly to comprise acquisition module 11 and select module 12 from clock node, wherein, acquisition module 11 is used to obtain the linking status information that clock selects the transmission link between source processing unit and each the clock to be selected source; Select module 12 to be used for selecting as the timing reference input that carries out the clock synchronization operation in one or more clocks to be selected source, described one or more clocks to be selected source is determined according to the linking status information that the linking status that identifies transmission link is in normal condition.
Particularly, from clock node for fear of the master clock reuse adoption process since do not consider linking status for example link stop up, dodge situations such as disconnected, be on the master clock node that serious packet loss appears in abnormal condition because of linking status and cause choosing once more one, to carry out before BMC selects the source, get access to this from clock node and the linking status information that is available for providing the transmission link between the clock a plurality of to be selected source of reference clock by acquisition module 11, select the scope in source with definite this BMC to it.After acquisition module 11 has determined that according to linking status information BMC selects source range, in one or more clocks to be selected source, select as the timing reference input that carries out the clock synchronization operation by selecting module 12, described one or more clocks to be selected source can determine in the following manner, and promptly the linking status information that is in normal condition based on the linking status of sign transmission link is determined pairing part clock to be selected source.
Specifically, if only exist two master clock node A and B for providing reference clock in the network from clock node, and master clock node A because of and transmission link between clock node be in abnormal condition and be excluded after BMC selects outside the source range herein, select module 12 just can directly select the normal master clock Node B of linking status as the timing reference input that carries out the clock synchronization operation.Certainly, in the present embodiment BMC select in the source range get rid of a part of master clock node after, if exist a plurality of be in the situation of the master clock node under the normal condition from the transmission link between the clock node, select 12 of modules in this optional scope, to select conduct to carry out the timing reference input that clock synchronization is operated according to existing optimal clock algorithm.
The embodiment of the invention provides carries out BMC from clock node and selects the process in source, before selecting as the master clock that carries out the clock synchronization operation, determine optional clock source according to the linking status of network, make BMC select source procedure transmission link can with the clock source range in carry out, improve the success rate of clock synchronization.
Fig. 4 selects another example structure of source processing unit figure for embodiment of the invention clock, as shown in Figure 4, this clock selects the source processing unit promptly to comprise acquisition module 11 and select module 12 that from clock node wherein acquisition module 11 comprises following arbitrary submodule or its combination: first obtains submodule 111, second obtains submodule 112 and the 3rd and obtains submodule 113.Wherein first obtain submodule 111 and be used for according to the pairing packet loss of clock quality message, obtain from the linking status information of the transmission link between clock node and each the clock to be selected source, wherein clock quality message is that each clock to be selected source sends by transmission link; Second obtains submodule 112 is used for basis is obtained from third party's application server, the pairing packet loss of business packet from transmitting between clock node and each the clock to be selected source, obtain from the linking status information of the transmission link between clock node and each the clock to be selected source, the delay inequality business packet is that each clock to be selected source sends by transmission link; The 3rd obtains submodule 113 is used for according to the pairing packet loss of clock message, obtain from clock node and the current selection linking status information as the transmission link between the clock to be selected source of timing reference input, to be current selection send by transmission link as the clock to be selected source of timing reference input clock message.
Provide in the present embodiment first obtain submodule 111, second obtain submodule 112 and the 3rd obtain the concrete function of submodule 113 can referring among the preceding method embodiment from clock node obtain and each clock to be selected source between the description of three modes of linking status information of transmission link, repeat no more herein.
What deserves to be explained is that in synchronous the selecting in the source side case of the whole network, linking status can mainly be considered packet loss whole in the network.And selecting in the source side case in end-to-end Frequency Synchronization, linking status also needs to consider the information such as shake except that packet loss, therefore second obtain submodule 112 can also be used for according to obtain from third party's application server, from the pairing packet loss of business packet that transmits between clock node and each the clock to be selected source and the changing value of the pairing delay inequality of delay inequality business packet, obtain from the linking status information of the transmission link between clock node and each the clock to be selected source; The 3rd obtains submodule 113 can also be used for changing value according to pairing packet loss of clock message and the pairing delay inequality of delay inequality clock message, obtains from clock node and the current selection linking status information as the transmission link between the clock to be selected source of timing reference input.
The clock that present embodiment provides selects the source processing unit, carrying out BMC from clock node selects the process in source, can be at first by the packet loss of clock quality message or the packet loss and the wobble information of clock message, or from third party's application server obtain and each clock to be selected source between the linking status information of transmission link, determine to select source range, make BMC select source procedure transmission link can with the clock source range in carry out, improve the success rate of clock synchronization.
Fig. 5 selects source treatment system example structure figure for embodiment of the invention clock, as shown in Figure 5, this clock selects the source treatment system to comprise for example distributed network 2 of communication network, from clock node 1 (or clock selects the source processing unit) and a plurality of clocks to be selected source is master clock node 3, wherein master clock node 3 is used to from clock node 1 reference clock is provided, and communication network for example distributed network 2 provides transmission channel for each from clock node 1 and master clock node 3.
Relate in the present embodiment from clock node can adopt that above-mentioned clock selects that source processing unit embodiment provides respectively from clock node, its concrete 26S Proteasome Structure and Function repeats no more herein.Can be at least 2 for the master clock node that reference clock is provided from clock node in the distributed network.In addition, what deserves to be explained is, from clock node can be by clock quality message or clock message packet loss and wobble information is obtained and each clock to be selected source between the linking status information of transmission link select the scope in source to determine BMC.As an optional scheme, the embodiment of the invention also can from third party's application server obtain and each clock to be selected source between the linking status information of transmission link select the scope in source to determine BMC.That is to say that the clock that present embodiment provides selects and can also comprise in the treatment system of source that third party's application server 4 is used to from clock node 1 and provide from the linking status information of the transmission link between clock node 1 and a plurality of master clock node 3.
The clock that present embodiment provides selects in the treatment system of source, carrying out BMC from clock node selects the process in source, can be at first by the packet loss of clock quality message or the packet loss and the wobble information of clock message, or from third party's application server obtain and each clock to be selected source between the linking status information of transmission link, determine to select source range, make BMC select source procedure transmission link can with the clock source range in carry out, improve the success rate of clock synchronization.
The embodiment of the invention also provides a kind of clock to select the source processing method, current for the first master clock node that timing reference input is provided from clock node and should transmission link is in abnormal condition between clock node the time, again carry out the selection in clock source from clock node at least one second master clock node, the described second master clock node is the master clock node that is different from the first master clock node in a plurality of master clock nodes.That is to say that the embodiment of the invention provides a plurality of master clock nodes, in these master clock nodes, got rid of the disabled first master clock node after, in remaining one or more second master clock nodes, carry out the gravity treatment of timing reference input.
Wherein when getting rid of the first master clock node, can adopt above-mentioned linking status to carry out according to transmission link from clock node; Perhaps also can safeguard the address list information or sign (ID) information in candidate's clock source, get rid of the disabled first clock source according to address list information or ID identification information from clock node.
It is a kind of from clock node that the embodiment of the invention also further provides, and comprising: determination module, and being used to be defined as this provides the first master clock node of timing reference input and should be in abnormal condition from transmission link between the clock node from clock node; The gravity treatment module, be used for the first master clock node and should transmission link is in abnormal condition between clock node the time, again carry out the selection in clock source at least one second master clock node, the described second master clock node is the master clock node that is different from the first master clock node in a plurality of master clock nodes.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (11)

1. a clock selects the source processing method, it is characterized in that, comprising:
Obtain the linking status information of described transmission link between clock node and each clock to be selected source from clock node;
Describedly select one or more clocks to be selected source as the timing reference input that carries out clock synchronization operation from clock node, described one or more clocks to be selected source is determined according to the linking status information that the linking status of sign transmission link is in normal condition.
2. clock according to claim 1 selects the source processing method, it is characterized in that, the described timing reference input of selecting conduct to carry out the clock synchronization operation one or more clocks to be selected source from clock node comprises:
According to the optimal clock algorithm, describedly one or more clocks to be selected source, select as the timing reference input that carries out clock synchronization operation from clock node.
3. clock according to claim 1 and 2 selects the source processing method, it is characterized in that, the described linking status information of obtaining described transmission link between clock node and each clock to be selected source from clock node comprises:
Described from clock node according to the pairing packet loss of clock quality message, obtain the linking status information of described transmission link between clock node and each clock to be selected source, described clock quality message is that described each clock to be selected source sends by described transmission link; Or
Described from obtain from third party's application server, the described pairing packet loss of business packet of clock node basis from transmitting between clock node and each the clock to be selected source, obtain the linking status information of described transmission link between clock node and each clock to be selected source, described business packet is that described each clock to be selected source sends by described transmission link; Or
Described from clock node according to the pairing packet loss of clock message, obtain describedly from clock node and the current selection linking status information as the transmission link between the clock to be selected source of timing reference input, to be described current selection send by described transmission link as the clock to be selected source of timing reference input described clock message.
4. clock according to claim 3 selects the source processing method, it is characterized in that, described from obtain from third party's application server, the described pairing packet loss of business packet of clock node basis from transmitting between clock node and each the clock to be selected source, obtain the linking status information of described transmission link between clock node and each clock to be selected source, comprising:
Described from clock node according to that obtain from third party's application server, described from the pairing packet loss of business packet that transmits between clock node and each the clock to be selected source and the changing value of the pairing delay inequality of described business packet, obtain the linking status information of described transmission link between clock node and each clock to be selected source.
5. clock according to claim 3 selects the source processing method, it is characterized in that, described from clock node according to the pairing packet loss of clock message, obtain and describedly comprise from clock node and current selection linking status information as the transmission link between the clock to be selected source of timing reference input:
Described from the changing value of clock node according to pairing packet loss of clock message and the pairing delay inequality of described clock message, obtain described from clock node and current selection linking status information as the transmission link between the clock to be selected source of timing reference input.
6. a clock selects the source processing unit, it is characterized in that, comprising:
Acquisition module is used to obtain the linking status information that described clock selects the transmission link between source processing unit and each the clock to be selected source;
Select module, be used for selecting as the timing reference input that carries out the clock synchronization operation in one or more clocks to be selected source, described one or more clocks to be selected source is determined according to the linking status information that the linking status that identifies transmission link is in normal condition.
7. clock according to claim 6 selects the source processing unit, it is characterized in that, described selection module also is used for selecting as the timing reference input that carries out the clock synchronization operation according to the optimal clock algorithm in described one or more clocks to be selected source.
8. select the source processing unit according to claim 6 or 7 described clocks, it is characterized in that, described acquisition module comprises following arbitrary at least submodule:
First obtains submodule, be used for according to the pairing packet loss of clock quality message, obtain the linking status information that described clock selects the transmission link between source processing unit and each the clock to be selected source, described clock quality message is that described each clock to be selected source sends by described transmission link;
Second obtains submodule, be used for according to obtain from third party's application server, described clock selects the pairing packet loss of business packet that transmits between source processing unit and each the clock to be selected source, obtain the linking status information that described clock selects the transmission link between source processing unit and each the clock to be selected source, described business packet is that described each clock to be selected source sends by described transmission link;
The 3rd obtains submodule, be used for according to the pairing packet loss of clock message, obtain described clock and select source processing unit and the current selection linking status information as the transmission link between the clock to be selected source of timing reference input, to be described current selection send by described transmission link as the clock to be selected source of timing reference input described clock message.
9. clock according to claim 8 selects the source processing unit, it is characterized in that:
Described second obtains submodule also is used for, select the pairing packet loss of business packet that transmits between source processing unit and each the clock to be selected source and the changing value of the pairing delay inequality of described business packet according to clock that obtain from third party's application server, described, obtain the linking status information that described clock selects the transmission link between source processing unit and each the clock to be selected source;
The described the 3rd obtains submodule also is used for, according to the changing value of pairing packet loss of clock message and the pairing delay inequality of described clock message, obtain described clock and select source processing unit and current selection linking status information as the transmission link between the clock to be selected source of timing reference input.
10. a clock selects the source treatment system, comprise as the arbitrary described clock of claim 6 to 9 and select the source processing unit, and provide the clock a plurality of to be selected source of reference clock, and select the source processing unit that the communication network of transmission channel is provided for described host node and clock for described clock selects the source processing unit.
11. the clock of stating according to claim 10 selects the source treatment system, it is characterized in that, also comprises:
Third party's application server is used to described clock to select the source processing unit to provide described clock to select the linking status information of the transmission link between source processing unit and the described a plurality of clocks to be selected source.
CN200910093188.8A 2009-09-25 2009-09-25 Clock source selection processing method, device and system Active CN102035638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910093188.8A CN102035638B (en) 2009-09-25 2009-09-25 Clock source selection processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910093188.8A CN102035638B (en) 2009-09-25 2009-09-25 Clock source selection processing method, device and system

Publications (2)

Publication Number Publication Date
CN102035638A true CN102035638A (en) 2011-04-27
CN102035638B CN102035638B (en) 2014-09-03

Family

ID=43888019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910093188.8A Active CN102035638B (en) 2009-09-25 2009-09-25 Clock source selection processing method, device and system

Country Status (1)

Country Link
CN (1) CN102035638B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223197A (en) * 2011-06-14 2011-10-19 中兴通讯股份有限公司 Clock synchronizing method and equipment
WO2013152569A1 (en) * 2012-04-13 2013-10-17 烽火通信科技股份有限公司 Planning method for node clock synchronization in mesh network
CN103686982A (en) * 2012-09-17 2014-03-26 中国移动通信集团公司 Method for time synchronization based on clock information and node equipment
CN104145435A (en) * 2012-02-27 2014-11-12 瑞典爱立信有限公司 Frequency distribution using precision time protocol
WO2015078167A1 (en) * 2013-11-29 2015-06-04 中兴通讯股份有限公司 Method and device for determining backup clock source, and computer storage medium
CN105024798A (en) * 2014-04-28 2015-11-04 中兴通讯股份有限公司 Method and device for time synchronization
CN107342831A (en) * 2017-06-07 2017-11-10 北京东土军悦科技有限公司 A kind of main timing source determines method and device
CN107872870A (en) * 2016-09-28 2018-04-03 中国移动通信有限公司研究院 The synchronous method and sychronisation in a kind of small station
CN110071977A (en) * 2019-04-25 2019-07-30 北京风行极客科技有限公司 A kind of data transmission method and device
CN111061338A (en) * 2019-11-30 2020-04-24 苏州浪潮智能科技有限公司 Method, system and equipment for updating time sequence of baseboard management controller
CN111182612A (en) * 2018-11-12 2020-05-19 大唐移动通信设备有限公司 Network access synchronization method and device for nodes in ad hoc network
WO2020135198A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 Clock synchronization method and device, and storage medium
CN111385050A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Clock synchronization method, device and storage medium
CN112040472A (en) * 2020-08-10 2020-12-04 烽火通信科技股份有限公司 Clock synchronization method, system and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995024801A2 (en) * 1994-03-01 1995-09-14 Nokia Telecommunications Oy Hierarchical synchronization method
CN1867151A (en) * 2006-01-20 2006-11-22 华为技术有限公司 Realization method and device for improving clock source stability
CN101090341A (en) * 2007-08-10 2007-12-19 中控科技集团有限公司 Method and system for network clock synchronous
CN101192913A (en) * 2007-08-08 2008-06-04 中兴通讯股份有限公司 A system and method for clock synchronization and clock switch over optical transmission network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995024801A2 (en) * 1994-03-01 1995-09-14 Nokia Telecommunications Oy Hierarchical synchronization method
CN1867151A (en) * 2006-01-20 2006-11-22 华为技术有限公司 Realization method and device for improving clock source stability
CN101192913A (en) * 2007-08-08 2008-06-04 中兴通讯股份有限公司 A system and method for clock synchronization and clock switch over optical transmission network
CN101090341A (en) * 2007-08-10 2007-12-19 中控科技集团有限公司 Method and system for network clock synchronous

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223197A (en) * 2011-06-14 2011-10-19 中兴通讯股份有限公司 Clock synchronizing method and equipment
WO2012171417A1 (en) * 2011-06-14 2012-12-20 中兴通讯股份有限公司 Method and device for clock synchronization
CN104145435A (en) * 2012-02-27 2014-11-12 瑞典爱立信有限公司 Frequency distribution using precision time protocol
CN104145435B (en) * 2012-02-27 2017-11-14 瑞典爱立信有限公司 Distributed using the frequency of Precision Time Protocol
WO2013152569A1 (en) * 2012-04-13 2013-10-17 烽火通信科技股份有限公司 Planning method for node clock synchronization in mesh network
CN103686982B (en) * 2012-09-17 2017-03-29 中国移动通信集团公司 A kind of method for synchronizing time and node device based on clock information
CN103686982A (en) * 2012-09-17 2014-03-26 中国移动通信集团公司 Method for time synchronization based on clock information and node equipment
WO2015078167A1 (en) * 2013-11-29 2015-06-04 中兴通讯股份有限公司 Method and device for determining backup clock source, and computer storage medium
CN105024798A (en) * 2014-04-28 2015-11-04 中兴通讯股份有限公司 Method and device for time synchronization
WO2015165192A1 (en) * 2014-04-28 2015-11-05 中兴通讯股份有限公司 Time synchronization method and device
CN107872870A (en) * 2016-09-28 2018-04-03 中国移动通信有限公司研究院 The synchronous method and sychronisation in a kind of small station
CN107872870B (en) * 2016-09-28 2020-08-04 中国移动通信有限公司研究院 Synchronization method and synchronization device for small stations
CN107342831A (en) * 2017-06-07 2017-11-10 北京东土军悦科技有限公司 A kind of main timing source determines method and device
CN111182612B (en) * 2018-11-12 2021-08-27 大唐移动通信设备有限公司 Network access synchronization method and device for nodes in ad hoc network
CN111182612A (en) * 2018-11-12 2020-05-19 大唐移动通信设备有限公司 Network access synchronization method and device for nodes in ad hoc network
US11811501B2 (en) 2018-12-29 2023-11-07 Huawei Technologies Co., Ltd. Clock synchronization method and apparatus, and storage medium
WO2020135198A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 Clock synchronization method and device, and storage medium
CN111385050A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Clock synchronization method, device and storage medium
CN111385050B (en) * 2018-12-29 2022-11-08 华为技术有限公司 Clock synchronization method, device and storage medium
CN110071977A (en) * 2019-04-25 2019-07-30 北京风行极客科技有限公司 A kind of data transmission method and device
CN110071977B (en) * 2019-04-25 2022-04-01 北京风行极客科技有限公司 Data transmission method and device
CN111061338B (en) * 2019-11-30 2021-06-01 苏州浪潮智能科技有限公司 Method, system and equipment for updating time sequence of baseboard management controller
CN111061338A (en) * 2019-11-30 2020-04-24 苏州浪潮智能科技有限公司 Method, system and equipment for updating time sequence of baseboard management controller
CN112040472B (en) * 2020-08-10 2022-10-18 烽火通信科技股份有限公司 Clock synchronization method, system and readable storage medium
CN112040472A (en) * 2020-08-10 2020-12-04 烽火通信科技股份有限公司 Clock synchronization method, system and readable storage medium

Also Published As

Publication number Publication date
CN102035638B (en) 2014-09-03

Similar Documents

Publication Publication Date Title
CN102035638B (en) Clock source selection processing method, device and system
CN102036361B (en) Processing method, device and system for clock source selection
CN111585683B (en) High-reliability clock synchronization system and method for time-sensitive network
EP3140932B1 (en) A method for robust ptp synchronization with default 1588v2 profile
JP5911601B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND TIME SYNCHRONIZATION METHOD
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
US9900120B2 (en) Clock synchronization method and apparatus
CN102026364B (en) Precise time protocol message processing method and clock equipment
RU2489801C2 (en) System for synchronising clock pulses
CN101741853B (en) Method for synchronizing clock time, line card veneer and network equipment
WO2017133478A1 (en) Method and clock for time synchronization
CN108650050A (en) A kind of distributed network clock synchronous method
CN103188064A (en) Clock synchronization method and clock synchronization device
US20220038252A1 (en) Methods, Apparatus and Computer-Readable Media for Synchronization Over an Optical Network
CN107852682B (en) Method and apparatus for determining synchronization reference
CN103259640A (en) Method and device for synchronizing time
CN102469377A (en) Ethernet passive optical network (EPON) system and method for realizing end-to-end transparent clock in system
CN113424466B (en) Method and device for clock synchronization
CN107959537B (en) State synchronization method and device
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
JP7283069B2 (en) Time-synchronized path selection device and time-synchronized path selection method
CN108183762A (en) The method for synchronizing time of RapidIO network systems and RapidIO network systems
EP2774291B1 (en) Services, systems and methods for precisely estimating a delay within a network
CN111934804A (en) Method, device and system for synchronizing communication equipment
WO2023115403A1 (en) Methods and network devices for ptp clock synchronization

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