CN102036361B - Processing method, device and system for clock source selection - Google Patents
Processing method, device and system for clock source selection Download PDFInfo
- Publication number
- CN102036361B CN102036361B CN 200910178237 CN200910178237A CN102036361B CN 102036361 B CN102036361 B CN 102036361B CN 200910178237 CN200910178237 CN 200910178237 CN 200910178237 A CN200910178237 A CN 200910178237A CN 102036361 B CN102036361 B CN 102036361B
- Authority
- CN
- China
- Prior art keywords
- clock
- clock source
- candidate
- source selection
- selection
- 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.)
- Active
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The embodiment of the invention provides processing method, device and system for clock source selection. The method comprises the following steps of: selecting a first clock source from at least two candidate clock sources according to a clock source selection algorithm and carrying out for synchronous processing on the clock to acquire processing result information; and if the processing result information is asynchronous information, reselecting the clock source from one or more second clock sources of the at least two candidate clock sources except the first clock source by utilizing the clock source selection algorithm. The device comprises an acquiring module and a selection module. In the embodiment of the invention, when a clock node can be asynchronous with a selected master clock node, the practical available clock source is reselected for synchronous processing.
Description
Technical field
The embodiment of the invention relates to the communications field, relates in particular to a kind of processing method, device and system of clock source selection.
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-IP framework can be divided into core net, transmit net, data network and Access Network etc.In the Access Network aspect, most of technology comprise 3G or back 3G technology, all with the IP technology inseparable relation are arranged.
In the process that realizes wireless access network IPization, clock synchronization issue is the problem that need pay close attention to.In order to meet standard and to guarantee network performance, different mobile communication networks have base station clock, are used for solving stationary problem.Because clock relates to the clock of eating dishes without rice or wine of base station synchronously, 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 time division duplex (Time Division Duplexing, hereinafter to be referred as: TDD) characteristics of same frequency are adopted in the base station up-downgoing, for fear of interference, to the required precision of clock phase also very strictness.Clock distribution synchronously 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 SDH (Synchronous Digital Hierarchy) (Synchronous Digital Hierarchy, hereinafter to be referred as: (the Synchronous Transmission Module level n of n level synchronous transfer module SDH), hereinafter to be referred as: STM-N), aerial distribution mainly utilize global positioning system (Global Positioning System, hereinafter to be referred as: 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 because the installation and maintenance gps antenna needs more operation expenditure though GPS can satisfy mobile network's clock synchronisation requirement, be difficult to use and management.(PrecisionTime Protocol is to make the precision clock in the distributed network keep synchronous with other clock hereinafter to be referred as: basic function PTP) to Precision Time Protocol in the prior art.The clock synchronization principles of PTP agreement is based on synchronization packets the most accurate match time when being propagated and receiving, each from clock node by reaching synchronous with master clock node switching clock message (Sync) with the master clock node.In the PTP agreement, defined best master clock (BestMaster Clock, hereinafter to be referred as: BMC) algorithm, obtain the clock quality information of master clock node by clock quality notification message (ANNOUNCE) from clock node, when selecting the clock source, needs select some master clock nodes as timing reference input by the BMC algorithm, this process is referred to as BMC and selects source procedure, and the selection of best master clock is relevant with the priority of the master clock node 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: clock message transmits with other business datum, congested, the link of transmission link dodges situation such as disconnected and all may cause clock message serious shake to occur, make and to carry out tracking lock to the master clock node that the BMC algorithm is selected from clock node, thereby make and to reach synchronous with the master clock node that the BMC algorithm is selected from clock node.For example suppose that clock source A and clock source B are optional clock sources, select clock source A as master clock source from clock node according to the BMC algorithm, when take place from clock node can't locked clock source A situation the time, can not trigger the BMC algorithm again from clock node and reselect the clock source, thereby make and to reach synchronous with the master clock node that the BMC algorithm is chosen from clock node, reselect the clock source even trigger the BMC algorithm by initialization by force, choose clock source A probably again according to existing BMC algorithm, and cause synchronization failure again.
Summary of the invention
The embodiment of the invention provides a kind of processing method, device and system of clock source selection.
The embodiment of the invention provides a kind of processing method of clock source selection, comprising:
Selecting the first clock source to carry out clock from least two candidate's clock sources according to the clock source selection algorithm handles synchronously, obtains processing result information;
If described processing result information be can't be synchronous information, then use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.
The embodiment of the invention provides a kind of processing unit of clock source selection, comprising:
Acquisition module is used for selecting the first clock source to carry out clock according to the clock source selection algorithm from least two candidate's clock sources and handles synchronously, obtain processing result information;
Select module, be used for described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.
The embodiment of the invention provides a kind for the treatment of system of clock source selection, comprise: the processing unit of clock source selection, at least two candidate's clock sources and the communication network that the message transfer passage is provided for the processing unit of described clock source selection and two candidate's clock sources at least
The processing unit of described clock source selection, being used for selecting the first clock source to carry out clock according to the clock source selection algorithm from described at least two candidate's clock sources handles synchronously, obtain processing result information, and described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection;
Described candidate's clock source is used to the processing unit of described clock source selection that reference clock is provided.
The processing method of the clock source selection that present embodiment provides, in device and the system, carry out after clock handles synchronously in the clock source that obtains according to the clock source selection algorithm from clock node, can whether be that synchronous information determines whether current clock source is actual available clock source according to processing result information, and this processing result information be can't be synchronous information, namely can't reach synchronous with the current clock source of choosing of clock source algorithm from clock node, when the current clock source of choosing is in fact unavailable, trigger the clock source selection algorithm and from other candidate's clock source, select again, thus can be by reselecting the actual available clock source that gets access to.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of an embodiment of processing method of clock source selection of the present invention;
Fig. 2 selects the flow chart in clock source for adopting the BMC algorithm among embodiment of processing method of clock source selection of the present invention;
Fig. 3 is the flow chart of another embodiment of processing method of clock source selection of the present invention;
Fig. 4 is the structural representation of the processing unit embodiment of clock source selection of the present invention;
Fig. 5 is the structural representation of an embodiment for the treatment of system of clock source selection of the present invention;
Fig. 6 is the structural representation of another embodiment for the treatment of system of clock source selection of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only 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 obtains under the creative work prerequisite.
Fig. 1 is the flow chart of an embodiment of processing method of clock source selection of the present invention, and as shown in Figure 1, the method for present embodiment can comprise:
Step 101, from least two candidate's clock sources, select the first clock source to carry out clock according to the clock source selection algorithm to handle synchronously, obtain processing result information;
For instance, in distributed network, the system clock of each node is in synchronous regime in the network in order to make, and for example will select a clock source as the timing reference input that carries out clock simultaneous operation at least a plurality of (two) candidate clock source of reference clock can be provided in the base station from clock node.Wherein provide the node in candidate's clock source can think the master clock node, this master clock node can provide the network element in clock source for base station or relaying etc.
In the present embodiment, this clock source selection algorithm can be the BMC algorithm, it will be appreciated by persons skilled in the art that the clock source selection algorithm can also be other algorithm, mainly can select a clock source from a plurality of candidate's clocks source and get final product.
Can adopt existing BMC algorithm from clock node, from a plurality of candidate's clocks source, select a clock source as timing reference input.Fig. 2 selects the flow chart in clock source for adopting the BMC algorithm among embodiment of processing method of clock source selection of the present invention, as shown in Figure 2, in the present embodiment, candidate's clock source can be clock source A and clock source B, can certainly comprise more clock source, present embodiment is that example is illustrated with two clock sources only.The parameter that the BMC algorithm relates to when carrying out clock source selection mainly contains priority, class, accuracy, Variance, according to " priority ", " clockclass ", " clockaccuracy " and factors such as " offsetScaledLogVariance ", can in the master clock node, select as carry out the clock source that clock is handled synchronously from clock node.
After adopting BMC algorithm shown in Figure 2 to select to obtain the first clock source, can use this clock source from clock node and carry out clock and handle synchronously, thereby can obtain processing result information.In the present embodiment, this processing result information can be the work state information from clock node, for example lock-out state, hold mode, tracking mode, desynchronizing state etc., wherein, the information that lock-out state representative is synchronous, hold mode, desynchronizing state all can represent can't be synchronous information, tracking mode is the pilot process state, if can't move to lock-out state from clock node, then be can't be synchronous information.
In the present embodiment, the method that clock is handled synchronously can adopt any implementation method in the prior art, for example can repeat no more with reference to the 1588V2 agreement herein.
Step 102, if described processing result information be can't be synchronous information, then use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.
For instance, from clock node in the first clock source of selecting according to current BMC algorithm, after carrying out clock processing synchronously, can obtain processing result information, namely from the work state information of clock node, at this moment, can judge that from clock node this processing result information is synchronous information or information that can't be synchronous, wherein information that can't be synchronous can be hold mode, desynchronizing state etc.Wherein, synchronous information is namely represented can reach synchronous with the current first clock source of selecting of BMC algorithm from clock node, for example, differ fixing phase place etc. with the first clock source, information that can't be synchronous is namely represented can not reach synchronously with the current first clock source of selecting of BMC algorithm from clock node, that is to say that the current first clock source of choosing of BMC algorithm is actually disabled.
On Packet Based Network, clock message transmits with other business datum, congested, the link of transmission link dodges situation such as disconnected and all may cause clock message serious shake to occur, will make and can't carry out tracking lock to the master clock node that the BMC algorithm is selected from clock node.At this moment, the processing result information of obtaining from clock node just may be information that can't be synchronous, also namely can't lock the clock source of selecting by the BMC algorithm from clock node, causes the clock source of current selection to be actually disabled.
Present embodiment can adopt the BMC algorithm to reselect the clock source in the time can't reaching synchronous with the first clock source of the current selection of BMC algorithm from clock node.For from clock node, it can receive the clock source information of a plurality of (namely at least two) master clock node, thereby in the time of can mistake occurring at the clock of certain master clock node, obtain clock source information from other master clock node, these a plurality of master clock nodes are candidate's clock source, can select a clock source to handle synchronously these candidate's clock sources from clock node.When selecting the source operation again, the first clock source that can get rid of current selection, and select again in the one or more second clocks source from candidate's clock source, when the processing result information of obtaining after handle synchronously in the final clock source of selecting to obtain according to the BMC algorithm is synchronous information, in the time of namely can locking this clock source from clock node, just with this clock source as final work clock.In the present embodiment, the second clock source can be for removing one or more clocks source in addition, the first clock source at least two candidate's clock sources, in addition, in the present embodiment, can safeguard address list information or sign (ID) information in candidate's clock source from clock node, when from candidate's clock source, getting rid of the first clock source, can get rid of the disabled first clock source according to this address list information or ID identification information from clock node, select again in other clock source from candidate's clock source.
In another embodiment of processing method of clock source selection of the present invention, before the step 101 shown in Figure 1, can further include: receive the clock quality notification message that at least two candidate's clock sources send, and carry out the optimal clock algorithm process according to described clock quality notification message, namely select a clock source by the optimal clock algorithm.
For example present embodiment can be in the 1588V2 agreement, obtain the clock quality information of master clock node from clock node by clock quality notification message (ANNOUNCE), when needs are selected the clock source, select the source algorithm to select a master clock node as the clock source by BMC.The territory of concrete expression master clock quality is " grandmasterClockQuality " territory in " ANNOUNCE " message, should be formed 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.Can carry out the BMC algorithm process by the information of carrying in the ANNOUNCE message.
In above-mentioned steps 102, if when judging that from clock node this processing result information is synchronous information, then use the described first clock source and carry out work.
When this processing result information is synchronous information, namely represent to lock with the first clock source of the current selection of BMC algorithm from clock node, and then it is synchronous to reach clock, the first clock source that is current selection is actually available, at this moment, can utilize this clock source to carry out work from clock node.
In the processing method of the clock source selection that above-described embodiment provides, carry out after clock handles synchronously in the clock source that obtains according to the clock source selection algorithm from clock node, can whether be that synchronous information determines whether current clock source is actual available clock source according to processing result information, and this processing result information be can't be synchronous information, namely can't reach synchronous with the current clock source of choosing of clock source selection algorithm from clock node, when the current clock source of choosing is in fact unavailable, trigger the clock source selection algorithm and from other candidate's clock source, select again, thus can be by reselecting the actual available clock source that gets access to.
Fig. 3 is the flow chart of another embodiment of processing method of clock source selection of the present invention, as shown in Figure 3, in the present embodiment, candidate's clock source is clock source A, clock source B and clock source C, and can suppose to select clock source A as the reference clock from clock node according to the BMC algorithm, this method specifically can comprise:
In this ANNOUNCE message, the territory of concrete expression master clock quality is " grandmasterClockQuality " territory, should be formed 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.
Can carry out the BMC algorithm process according to the above-mentioned information of carrying the ANNOUNCE message from clock node, thereby can from three clock sources, select clock source A as timing reference input.
In the synchronous processing procedure of this clock, Frequency Synchronization is handled the sync message that can send according to the master clock node, follow_up message etc. and is handled synchronously, the delay message that time synchronized can send according to the master clock node and above-mentioned sync message, follow_up message are handled, the method that concrete processing procedure can adopt prior art to provide repeats no more herein.
In the present embodiment, this processing result information can be the work state information from clock node, for example synchronous information, i.e. lock-out state; And information that can't be synchronous, i.e. hold mode and desynchronizing state etc.
If when judging that from clock node this processing result information is synchronous information, the clock source A that namely represents the current selection of BMC algorithm is available, can reach synchronous with this clock source A from clock node, at this moment, can utilize this clock source to carry out work from clock node, the process of utilizing this clock source to carry out work can adopt any-mode in the prior art, repeats no more.
If can't carry out tracking lock to the master clock node that the BMC algorithm is selected from clock node, namely can't reach synchronous with clock source A.At this moment, the processing result information of obtaining from clock node just may be information that can't be synchronous, also namely can't lock the clock source A that selects by the BMC algorithm from clock node, shows that then the clock source A of current selection is actually disabled.
Using clock source A to carry out the process of work from clock node, the BMC algorithm can work on, and continues to select more optimal clock source.
Present embodiment can be in the time can't reaching synchronous with the clock source A of the current selection of BMC algorithm from clock node, adopt the BMC algorithm to reselect the clock source, when selecting the source operation again, the clock source A that can get rid of current selection, and from candidate's clock source B and clock source C, select again, when the processing result information of obtaining after handle synchronously in the final clock source of selecting according to the BMC algorithm is synchronous information, in the time of namely can locking this clock source from clock node, just with this clock source as final work clock.
Need to prove that above-described embodiment is that example is illustrated with three candidate's clock sources only, it will be appreciated by persons skilled in the art that the situation for two candidate's clock sources or three above candidate's clock sources also is similar, repeat no more.
In the processing method of the clock source selection that present embodiment provides, carry out after clock handles synchronously in the clock source that obtains according to the BMC algorithm from clock node, can whether be that synchronous information determines whether current clock source is actual available clock source according to processing result information, and this processing result information be can't be synchronous information, namely can't reach synchronous with the current clock source of choosing of BMC algorithm from clock node, when the current clock source of choosing is in fact unavailable, trigger the BMC algorithm and from other candidate's clock source, select again, thus can be by reselecting the actual available clock source that gets access to.
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. 4 is the structural representation of the processing unit embodiment of clock source selection of the present invention, as shown in Figure 4, the device of present embodiment can comprise: acquisition module 11 and selection module 12, wherein acquisition module 11 is used for carrying out clock according to the first clock source that the clock source selection algorithm is selected from least two candidate's clock sources and handles synchronously, obtains processing result information; Select module 12 be used for described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.
Further, in the present embodiment, before clock processing is synchronously carried out in the first clock source of selecting from least two candidate's clock sources according to the clock source selection algorithm, acquisition module 11 also is used for receiving the clock quality notification message that described at least two candidate's clock sources send, and carry out the clock source selection algorithm process according to described clock quality notification message, obtain the described first clock source.
For instance, acquisition module 11 can receive the ANNOUNCE message that a plurality of master clock nodes send, and carries out the BMC algorithm process according to the information of carrying in the ANNOUNCE message, chooses a clock source as timing reference input from candidate's clock source.Then, acquisition module 11 can this clock source carries out clock to be handled synchronously, obtains processing result information; When selecting processing result information that module 12 can obtain at acquisition module 11 for information that can't be synchronous, adopt the BMC algorithm to reselect the clock source.Select module 12 when reselecting the clock source, the first clock source that can get rid of current selection, and from other candidate's clock source, select again, when the processing result information of obtaining after handle synchronously in the final clock source of selecting according to the BMC algorithm is synchronous information, in the time of namely can locking this clock source from clock node, just with this clock source as final work clock.
In the processing unit of the clock source selection that present embodiment provides, after clock processing is synchronously carried out in the clock source that acquisition module obtains according to the clock source selection algorithm, select whether module can be that synchronous information determines whether current clock source is actual available clock source according to processing result information, and this processing result information be can't be synchronous information, be that the current clock source that obtains is when in fact unavailable, trigger the clock source selection algorithm and from other candidate's clock source, select again, thus can be by reselecting the actual available clock source that gets access to.
Fig. 5 is the structural representation of an embodiment for the treatment of system of clock source selection of the present invention, as shown in Figure 5, the treatment system of this clock source selection can comprise the processing unit 1 of clock source selection, at least two candidate's clock sources 3 and the communication network 2 that the message transfer passage is provided for the processing unit 1 of described clock source selection and two candidate's clock sources 3 at least, wherein the processing unit 1 of clock source selection is handled synchronously for carrying out clock according to the clock source selection algorithm from the first clock source of described two candidate's clock sources 3 selections at least, obtain processing result information, and described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources 3 selection; Candidate's clock source 3 is used to the processing unit 1 of described clock source selection that reference clock is provided.In the present embodiment, the number in candidate's clock source 3 can be 2.More candidate's clocks source can certainly be arranged.The communication network 2 of present embodiment can be for transmitting net, data network etc.
The processing unit 1 of the clock source selection in the present embodiment can adopt the processing unit of clock source selection shown in Figure 4 to realize, repeats no more.
Fig. 6 is the structural representation of another embodiment for the treatment of system of clock source selection of the present invention; as shown in Figure 6; the system of present embodiment can comprise communication network 2; and at least two master clock nodes 4 and one or more from clock node 5 that are connected with communication network 2; for convenience of description; present embodiment is that example describes with two master clock nodes and two from clock node only, protection range of the present invention is not caused restriction.Wherein, master clock node 4 is used for providing candidate's clock source, is used for selecting a clock source from the clock source that the master clock node provides from clock node.
In the present embodiment, master clock node 4 can be not limited to two, for each from clock node 5, both can be with all master clock nodes 4 as candidate's clock source, also can be with part master clock node 4 as candidate's clock source.Wherein master clock node 4 is used to from clock node 5 reference clock is provided, and communication network 2 is for providing transmission channel from clock node 5 and master clock node 4.
In the present embodiment, can comprise from clock node 5: acquisition module and selection module, acquisition module is used for carrying out clock according to the first clock source that the clock source selection algorithm is selected from least two candidate's clock sources and handles synchronously, obtains processing result information; Select module, be used for described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.Before clock processing is synchronously carried out in the first clock source of selecting from least two candidate's clock sources according to the clock source selection algorithm, described acquisition module also is used for receiving the clock quality notification message that described at least two candidate's clock sources send, and carries out the clock source selection algorithm process according to described clock quality notification message.Described selection module is also used when being synchronous information in described processing result information, uses the described first clock source and carries out work.
From clock node 5, it all can adopt the processing method of the clock source selection shown in Fig. 1~3 to carry out the selection in clock source in the present embodiment each, and it selects the process in clock source to repeat no more.
In the treatment system of the clock source selection that above-described embodiment provides, after clock processing is synchronously carried out in the clock source that obtains according to the clock source selection algorithm from clock node, can whether be that synchronous information determines whether current clock source is actual available clock source according to processing result information, and this processing result information be can't be synchronous information, be that the current clock source that obtains is when in fact unavailable, trigger the clock source selection algorithm and from other candidate's clock source, select again, thus can be by reselecting the actual available clock source that gets access to.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although with reference to preferred 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 make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.
Claims (11)
1. the processing method of a clock source selection is characterized in that, comprising:
Selecting the first clock source to carry out clock from clock from least two candidate's clock sources according to the clock source selection algorithm handles synchronously, obtains processing result information;
If described processing result information be can't be synchronous information, then use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source described two candidate's clock sources selection from clock.
2. the processing method of clock source selection according to claim 1 is characterized in that, describedly selects the first clock source to carry out also comprising before clock handles synchronously from least two candidate's clock sources according to the clock source selection algorithm:
Receive the clock quality notification message that described at least two candidate's clock sources send, and carry out the clock source selection algorithm process according to described clock quality notification message.
3. the processing method of clock source selection according to claim 1 is characterized in that, also comprises:
If described processing result information is synchronous information, then uses the described first clock source and carry out work.
4. according to the processing method of the described clock source selection of arbitrary claim in the claim 1~3, it is characterized in that described clock source selection algorithm comprises best master clock BMC algorithm.
5. the processing unit of a clock source selection is characterized in that, comprising:
Acquisition module is used for selecting the first clock source to carry out clock according to the clock source selection algorithm from least two candidate's clock sources and handles synchronously, obtain processing result information;
Select module, be used for described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.
6. the processing unit of clock source selection according to claim 5, it is characterized in that, carry out before clock handles synchronously from least two candidate's clock sources, selecting the first clock source according to the clock source selection algorithm, described acquisition module also is used for receiving the clock quality notification message that described at least two candidate's clock sources send, and carries out the clock source selection algorithm process according to described clock quality notification message.
7. according to the processing unit of claim 5 or 6 described clock source selection, it is characterized in that described selection module also is used for using the described first clock source and carrying out work when described processing result information is synchronous information.
8. the treatment system of a clock source selection, it is characterized in that, comprise: the processing unit of clock source selection, at least two candidate's clock sources and the communication network that the message transfer passage is provided for the processing unit of described clock source selection and two candidate's clock sources at least
The processing unit of described clock source selection, being used for selecting the first clock source to carry out clock according to the clock source selection algorithm from described at least two candidate's clock sources handles synchronously, obtain processing result information, and described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection;
Described candidate's clock source is used to the processing unit of described clock source selection that reference clock is provided.
9. the treatment system of clock source selection according to claim 8 is characterized in that, the processing unit of described clock source selection comprises:
Acquisition module is used for selecting the first clock source to carry out clock according to the clock source selection algorithm from least two candidate's clock sources and handles synchronously, obtain processing result information;
Select module, be used for described processing result information be can't be synchronous information the time, use described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except the described first clock source in described two candidate's clock sources selection.
10. the treatment system of clock source selection according to claim 9, it is characterized in that, carry out before clock handles synchronously from least two candidate's clock sources, selecting the first clock source according to the clock source selection algorithm, described acquisition module also is used for receiving the clock quality notification message that described at least two candidate's clock sources send, and carries out the clock source selection algorithm process according to described clock quality notification message.
11. the treatment system according to claim 9 or 10 described clock source selection is characterized in that, described selection module also is used for using the described first clock source and carrying out work when described processing result information is synchronous information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910178237 CN102036361B (en) | 2009-09-25 | 2009-09-25 | Processing method, device and system for clock source selection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910178237 CN102036361B (en) | 2009-09-25 | 2009-09-25 | Processing method, device and system for clock source selection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102036361A CN102036361A (en) | 2011-04-27 |
CN102036361B true CN102036361B (en) | 2013-08-28 |
Family
ID=43888490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910178237 Active CN102036361B (en) | 2009-09-25 | 2009-09-25 | Processing method, device and system for clock source selection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102036361B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263631B (en) * | 2011-08-10 | 2013-09-25 | 瑞斯康达科技发展股份有限公司 | Method and clock node for determining master clock within 1588 clock domain |
WO2012149751A1 (en) * | 2011-09-20 | 2012-11-08 | 华为技术有限公司 | Method and related device for grading clock classes |
WO2013082812A1 (en) * | 2011-12-09 | 2013-06-13 | 华为技术有限公司 | Method and device for determining master clock device, and other method, device, and system |
CN104025701B (en) * | 2011-12-30 | 2018-06-01 | 京信通信***(中国)有限公司 | The indoor distributed system of clock-switching method, device and repeater as relaying |
CN102983960A (en) * | 2012-12-06 | 2013-03-20 | 盛科网络(苏州)有限公司 | Method and device for implementing rapid synchronous switching in PTP (precision time protocol) |
CN105024798A (en) * | 2014-04-28 | 2015-11-04 | 中兴通讯股份有限公司 | Method and device for time synchronization |
CN104683055B (en) * | 2014-12-03 | 2017-01-25 | 国家电网公司 | Time synchronization method and time synchronization device |
CN107181551A (en) * | 2016-03-10 | 2017-09-19 | 中兴通讯股份有限公司 | A kind of time source system of selection and device |
CN108462548B (en) * | 2017-02-22 | 2021-09-03 | 深圳市中兴软件有限责任公司 | Time synchronization method and device |
US20220326728A1 (en) * | 2019-06-21 | 2022-10-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Clock distribution method and apparatus in network |
CN112152745B (en) * | 2019-08-07 | 2021-09-28 | 中兴通讯股份有限公司 | Time synchronization method, time synchronization sending end, time synchronization receiving end and time synchronization system |
CN110435724B (en) * | 2019-08-30 | 2022-01-21 | 湖南中车时代通信信号有限公司 | Method for interconnecting Chinese train operation monitoring system and European train control system |
CN111148211A (en) * | 2019-12-31 | 2020-05-12 | 京信通信***(中国)有限公司 | Clock synchronization method and device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192913A (en) * | 2007-08-08 | 2008-06-04 | 中兴通讯股份有限公司 | A system and method for clock synchronization and clock switch over optical transmission network |
JP4788876B2 (en) * | 2005-06-07 | 2011-10-05 | 日本電気株式会社 | Distributed processing synchronization system using asynchronous clock, master system, and clock synchronization control method |
-
2009
- 2009-09-25 CN CN 200910178237 patent/CN102036361B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4788876B2 (en) * | 2005-06-07 | 2011-10-05 | 日本電気株式会社 | Distributed processing synchronization system using asynchronous clock, master system, and clock synchronization control method |
CN101192913A (en) * | 2007-08-08 | 2008-06-04 | 中兴通讯股份有限公司 | A system and method for clock synchronization and clock switch over optical transmission network |
Also Published As
Publication number | Publication date |
---|---|
CN102036361A (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102036361B (en) | Processing method, device and system for clock source selection | |
CN102035638B (en) | Clock source selection processing method, device and system | |
EP3140932B1 (en) | A method for robust ptp synchronization with default 1588v2 profile | |
US9577774B2 (en) | Time synchronization method and system | |
US20190289565A1 (en) | Clock Synchronisation Between Devices Using Third Device | |
CN105323054B (en) | Clock synchronizing method and device | |
US10444788B2 (en) | Device, system, and method for synchronizing time partition windows | |
CN118019066A (en) | Positioning resource coordination method and device, network node, terminal and base station | |
CN103905135A (en) | Method, device and system for realizing time synchronization | |
CN103188064A (en) | Clock synchronization method and clock synchronization device | |
US20230217382A1 (en) | Method for Synchronizing Network Device, and Network Device | |
EP3104556B1 (en) | Clock synchronization method and device, and communication system | |
IL164037A (en) | Synchronization system for all optical slotted ring dynamic networks | |
CN102208958A (en) | Clock synchronization method for synchronous Ethernets, as well as synchronous information sending/receiving method, device and apparatus | |
CN102026364A (en) | Precise time protocol message processing method and clock equipment | |
US11750698B2 (en) | Network device synchronization method and network device | |
JP6555445B1 (en) | Time synchronization system, time master, management master, and time synchronization method | |
CN110875818A (en) | Clock synchronization method, device, system, storage medium and electronic device | |
CN107959537B (en) | State synchronization method and device | |
US9179429B2 (en) | Synchronization method, device, and system | |
CN102342051A (en) | Method for synchronizing clocks by separated transmissions of first and second data via at least one timing distribution protocol, and associated system and module | |
CN104780602A (en) | Clock self-synchronizing method in wireless communication network | |
CN102170398B (en) | The reverse method of external time port and device | |
CN102440040B (en) | Method and system for implementing time synchronization | |
CN105763278B (en) | A kind of method and apparatus of time backtracking |
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 |