CN102036361A - Processing method, device and system for clock source selection - Google Patents

Processing method, device and system for clock source selection Download PDF

Info

Publication number
CN102036361A
CN102036361A CN 200910178237 CN200910178237A CN102036361A CN 102036361 A CN102036361 A CN 102036361A CN 200910178237 CN200910178237 CN 200910178237 CN 200910178237 A CN200910178237 A CN 200910178237A CN 102036361 A CN102036361 A CN 102036361A
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.)
Granted
Application number
CN 200910178237
Other languages
Chinese (zh)
Other versions
CN102036361B (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 CN 200910178237 priority Critical patent/CN102036361B/en
Publication of CN102036361A publication Critical patent/CN102036361A/en
Application granted granted Critical
Publication of CN102036361B publication Critical patent/CN102036361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

The processing method of clock source selection, device and system
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.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 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.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 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 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.(Precision Time 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 principle 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 the master clock node with master clock node switching clock message (Sync).In the PTP agreement, defined best master clock (Best Master 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, thereby make and to reach synchronous with the master clock node that the BMC algorithm is selected from clock node 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 once more 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 once more according to existing BMC algorithm, and cause synchronization failure once more.
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 synchronization from least two candidate's clock sources according to the clock source selection algorithm handles, 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 that 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 synchronization from least two candidate's clock sources according to the clock source selection algorithm and handles, obtain processing result information;
Select module, be used for during for information that can't be synchronous, using described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except that the described first clock source in described two candidate's clock sources selection in described processing result information.
The embodiment of the invention provides a kind of treatment 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 synchronization according to the clock source selection algorithm from described at least two candidate's clock sources handles, 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 that 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 synchronization handles 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, promptly 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 of treatment system of clock source selection of the present invention;
Fig. 6 is the structural representation of another embodiment of treatment 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 is obtained 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 synchronization according to the clock source selection algorithm to handle, 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 the clock synchronization 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 " offsetScaledLog Variance ", can in the master clock node, select as carry out the clock source that clock synchronization is handled 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 the clock synchronization processing, 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 synchronization is handled 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 that 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 the clock synchronization processing, can obtain processing result information, promptly 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 promptly 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 promptly 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 promptly 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 when clock node can't reach synchronous with the first clock source of the current selection of BMC algorithm.For from clock node, it can receive the clock source information of a plurality of (promptly 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 carry out Synchronous Processing 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 carrying out obtaining after the Synchronous Processing according to the final clock source of selecting to obtain of BMC algorithm is synchronous information, promptly when clock node can lock this clock source, 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 the 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, promptly 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 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.Can carry out the BMC algorithm process by the information of carrying in the ANNOUNCE message.
In above-mentioned steps 102,, then use the described first clock source and carry out work if when clock node judges that this processing result information is synchronous information.
When this processing result information is synchronous information, promptly represent to lock with the first clock source of the current selection of BMC algorithm from clock node, and then reach clock synchronization, 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 the foregoing description provides, carry out after clock synchronization handles 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, promptly 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:
Step 301, the ANNOUNCE message that sends from clock node receive clock source A, clock source B and clock source C, and carry out the BMC algorithm process according to the information of carrying in the ANNOUNCE message, choose clock source A.
In this ANNOUNCE message, the territory of concrete expression master clock quality is " grandmasterClockQuality " territory, 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.
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.
Step 302, carry out clock synchronization from clock node according to clock source A and handle, obtain processing result information.
In this clock synchronization processing procedure, Frequency Synchronization is handled the sync message that can send according to the master clock node, follow_up message etc. and is carried out Synchronous Processing, 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.
Step 303, judging whether according to this processing result information can be synchronous with clock source A, if execution in step 305 then, otherwise execution in step 304.
If when clock node judges that this processing result information is synchronous information, the clock source A that promptly 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, promptly can't reach synchronous with clock source A 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 promptly 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.
Step 304, use clock source A to carry out work, finish from clock node.
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.
Step 305, use the BMC algorithm from clock node and from clock source B and clock source C, select again.
Present embodiment can be when clock node can't reach synchronous with the clock source A of the current selection of BMC algorithm, 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 carrying out obtaining after the Synchronous Processing according to the final clock source of selecting of BMC algorithm is synchronous information, promptly when clock node can lock this clock source, just with this clock source as final work clock.
Need to prove that the foregoing description 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 synchronization handles 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, promptly 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 the clock synchronization processing according to the first clock source that the clock source selection algorithm is selected from least two candidate's clock sources, obtains processing result information; Select module 12 to be used for during for information that can't be synchronous, using described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except that the described first clock source in described two candidate's clock sources selection in described processing result information.
Further, in the present embodiment, before the clock synchronization processing is 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 to 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, 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 carry out the clock synchronization processing in this clock source, obtains processing result information; When selecting processing result information that module 12 can obtain at acquisition module 11, adopt the BMC algorithm to reselect the clock source for information that can't be synchronous.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 carrying out obtaining after the Synchronous Processing according to the final clock source of selecting of BMC algorithm is synchronous information, promptly when clock node can lock this clock source, just with this clock source as final work clock.
In the processing unit of the clock source selection that present embodiment provides, after the clock synchronization processing is 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 of treatment 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 used for carrying out the clock synchronization processing according to the first clock source that the clock source selection algorithm is selected from described two candidate's clock sources 3 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 that 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 a plurality of 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 of treatment 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 that are connected with communication network 2 from clock node 5; 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 to provide 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 synchronization according to the first clock source that the clock source selection algorithm is selected from least two candidate's clock sources and handles, and obtains processing result information; Select module, be used for during for information that can't be synchronous, using described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except that the described first clock source in described two candidate's clock sources selection in described processing result information.Before the clock synchronization processing is 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 to receive 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 the foregoing description provides, after the clock synchronization processing is 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 the present invention is had been described in detail with reference to preferred embodiment, 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 synchronization from least two candidate's clock sources according to the clock source selection algorithm handles, 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 that the described first clock source in described two candidate's clock sources selection.
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 synchronization handles 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 synchronization from least two candidate's clock sources according to the clock source selection algorithm and handles, obtain processing result information;
Select module, be used for during for information that can't be synchronous, using described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except that the described first clock source in described two candidate's clock sources selection in described processing result information.
6. the processing unit of clock source selection according to claim 5, it is characterized in that, carry out before clock synchronization handles 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 to receive 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 synchronization according to the clock source selection algorithm from described at least two candidate's clock sources handles, 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 that 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 synchronization from least two candidate's clock sources according to the clock source selection algorithm and handles, obtain processing result information;
Select module, be used for during for information that can't be synchronous, using described clock source selection algorithm carries out the clock source at least again in the one or more second clocks source except that the described first clock source in described two candidate's clock sources selection in described processing result information.
10. the treatment system of clock source selection according to claim 9, it is characterized in that, carry out before clock synchronization handles 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 to receive 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.
CN 200910178237 2009-09-25 2009-09-25 Processing method, device and system for clock source selection Active CN102036361B (en)

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 true CN102036361A (en) 2011-04-27
CN102036361B 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)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263631A (en) * 2011-08-10 2011-11-30 瑞斯康达科技发展股份有限公司 Method and clock node for determining master clock within 1588 clock domain
CN102388556A (en) * 2011-09-20 2012-03-21 华为技术有限公司 Method for clockclass grading and relative deivce
CN102983960A (en) * 2012-12-06 2013-03-20 盛科网络(苏州)有限公司 Method and device for implementing rapid synchronous switching in PTP (precision time protocol)
WO2013082812A1 (en) * 2011-12-09 2013-06-13 华为技术有限公司 Method and device for determining master clock device, and other method, device, and system
WO2013097199A1 (en) * 2011-12-30 2013-07-04 京信通信***(中国)有限公司 Method and device for switching clocks, and distributed indoor system using repeater as relay
CN104683055A (en) * 2014-12-03 2015-06-03 国家电网公司 Time synchronization method and time synchronization device
CN105024798A (en) * 2014-04-28 2015-11-04 中兴通讯股份有限公司 Method and device for time synchronization
CN103250371B (en) * 2011-12-09 2016-11-30 华为技术有限公司 Determine the method for clock equipment, equipment, additive method, equipment and system
WO2017152540A1 (en) * 2016-03-10 2017-09-14 中兴通讯股份有限公司 Time source selection method and device
WO2018153192A1 (en) * 2017-02-22 2018-08-30 中兴通讯股份有限公司 Time synchronization method and apparatus
CN111148211A (en) * 2019-12-31 2020-05-12 京信通信***(中国)有限公司 Clock synchronization method and device, computer equipment and storage medium
WO2020252797A1 (en) * 2019-06-21 2020-12-24 Telefonaktiebolaget Lm Ericsson (Publ) Clock distribution method and apparatus in network
WO2021023063A1 (en) * 2019-08-07 2021-02-11 中兴通讯股份有限公司 Time synchronization method, time synchronization sending end and receiving end, and system
WO2021037049A1 (en) * 2019-08-30 2021-03-04 湖南中车时代通信信号有限公司 Method for interconnecting and intercommunicating chinese train operation monitoring system with europe train control system
CN115250159A (en) * 2022-07-18 2022-10-28 重庆长安汽车股份有限公司 Time synchronization method, device, electronic equipment, storage medium and program product

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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
CN101192913B (en) * 2007-08-08 2010-12-08 中兴通讯股份有限公司 A system and method for clock synchronization and clock switch over optical transmission network

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263631A (en) * 2011-08-10 2011-11-30 瑞斯康达科技发展股份有限公司 Method and clock node for determining master clock within 1588 clock domain
CN102263631B (en) * 2011-08-10 2013-09-25 瑞斯康达科技发展股份有限公司 Method and clock node for determining master clock within 1588 clock domain
CN102388556A (en) * 2011-09-20 2012-03-21 华为技术有限公司 Method for clockclass grading and relative deivce
CN102388556B (en) * 2011-09-20 2014-02-26 华为技术有限公司 Method for clockclass grading and relative device
WO2013082812A1 (en) * 2011-12-09 2013-06-13 华为技术有限公司 Method and device for determining master clock device, and other method, device, and system
CN103250371A (en) * 2011-12-09 2013-08-14 华为技术有限公司 Method and device for determining master clock device, and other method, device, and system
CN103250371B (en) * 2011-12-09 2016-11-30 华为技术有限公司 Determine the method for clock equipment, equipment, additive method, equipment and system
WO2013097199A1 (en) * 2011-12-30 2013-07-04 京信通信***(中国)有限公司 Method and device for switching clocks, and distributed indoor system using repeater as relay
CN102983960A (en) * 2012-12-06 2013-03-20 盛科网络(苏州)有限公司 Method and device for implementing rapid synchronous switching in PTP (precision time protocol)
WO2015165192A1 (en) * 2014-04-28 2015-11-05 中兴通讯股份有限公司 Time synchronization method and device
CN105024798A (en) * 2014-04-28 2015-11-04 中兴通讯股份有限公司 Method and device for time synchronization
CN104683055A (en) * 2014-12-03 2015-06-03 国家电网公司 Time synchronization method and time synchronization device
CN104683055B (en) * 2014-12-03 2017-01-25 国家电网公司 Time synchronization method and time synchronization device
WO2017152540A1 (en) * 2016-03-10 2017-09-14 中兴通讯股份有限公司 Time source selection method and device
WO2018153192A1 (en) * 2017-02-22 2018-08-30 中兴通讯股份有限公司 Time synchronization method and apparatus
WO2020252797A1 (en) * 2019-06-21 2020-12-24 Telefonaktiebolaget Lm Ericsson (Publ) Clock distribution method and apparatus in network
WO2021023063A1 (en) * 2019-08-07 2021-02-11 中兴通讯股份有限公司 Time synchronization method, time synchronization sending end and receiving end, and system
US12028156B2 (en) 2019-08-07 2024-07-02 Zte Corporation Time synchronization method, time synchronization sending end and receiving end, and system
WO2021037049A1 (en) * 2019-08-30 2021-03-04 湖南中车时代通信信号有限公司 Method for interconnecting and intercommunicating chinese train operation monitoring system with europe train control system
CN111148211A (en) * 2019-12-31 2020-05-12 京信通信***(中国)有限公司 Clock synchronization method and device, computer equipment and storage medium
CN115250159A (en) * 2022-07-18 2022-10-28 重庆长安汽车股份有限公司 Time synchronization method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN102036361B (en) 2013-08-28

Similar Documents

Publication Publication Date Title
CN102036361B (en) Processing method, device and system for clock source selection
CN102035638A (en) Clock source selection processing method, device and system
US9900120B2 (en) Clock synchronization method and apparatus
CN102457371B (en) Time synchronization method and related equipment and system
CN102026364B (en) Precise time protocol message processing method and clock equipment
CN118019066A (en) Positioning resource coordination method and device, network node, terminal and base station
US10444788B2 (en) Device, system, and method for synchronizing time partition windows
CN103905135A (en) Method, device and system for realizing time synchronization
CN103188064A (en) Clock synchronization method and clock synchronization device
EP3104556B1 (en) Clock synchronization method and device, and communication system
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
US20230217382A1 (en) Method for Synchronizing Network Device, and Network Device
CN107959537B (en) State synchronization method and device
US9179429B2 (en) Synchronization method, device, and system
CN104780602A (en) Clock self-synchronizing method in wireless communication network
CN102440040B (en) Method and system for implementing time synchronization
CN102170398B (en) The reverse method of external time port and device
CN107888315B (en) A kind of method for synchronizing time
CN115733573A (en) System and method for configuring multiple PTP ports of a network device
KR20150134847A (en) Reference node multiplexing method for closed loop-back satellite Time Division Multiple Access communication network
EP4325949A1 (en) A method for synchronizing nodes of a cellular network
KR20230138738A (en) sync system of multiple small cell using multiple sync source and the control method thereof
JP2024001873A (en) Method and device for time synchronization of time synchronization domains

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