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

Clock source selection processing method, device and system Download PDF

Info

Publication number
CN102035638B
CN102035638B CN200910093188.8A CN200910093188A CN102035638B CN 102035638 B CN102035638 B CN 102035638B CN 200910093188 A CN200910093188 A CN 200910093188A CN 102035638 B CN102035638 B CN 102035638B
Authority
CN
China
Prior art keywords
clock
clock source
node
transmission link
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910093188.8A
Other languages
Chinese (zh)
Other versions
CN102035638A (en
Inventor
董永强
杨辉明
谢雷
徐骁
储育红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200910093188.8A priority Critical patent/CN102035638B/en
Publication of CN102035638A publication Critical patent/CN102035638A/en
Application granted granted Critical
Publication of CN102035638B publication Critical patent/CN102035638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

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

Description

Clock source selection processing method, device and system
Technical field
The embodiment of the present invention relates to wireless communication technology field, relates in particular to a kind of clock source selection processing method, device and system.
Background technology
At present, mobile network accelerates to the paces of all-IP evolution, and the International Standards Organization such as 3GPP, 3GPP2, IEEE have proposed the network architecture based on all-IP in succession.Mobile network's all-IP is whole network IPization process end to end, comprises the aspects such as terminal applies, access network, bearer network, core network, maintenance management.The target of terminal IPization is that individualized experience is being provided, and advances multimedia service, embodies the intelligentized while, can realize by software loading the support of multiple business.Mobile network's all-IP framework can be divided into core net, transport network, data network and Access Network etc., and data network itself is exactly IP-based network, and other networks will be realized IPization needs a process.In Access Network aspect, most of technology comprise 3G or rear 3G technology, all have inseparable relation with IP technology.At present, Long Term Evolution (LongTerm Evolution; Hereinafter to be referred as: LTE) architecture is tending towards flattening, and the change of this architecture reduces LTE interface, and cost, carries out maintenance management to equipment more convenient; Meanwhile, performance, be conducive to reduce data transfer delay.Current along with progressively completing that IP core networkization is transformed, the IPization of wireless access network will become the key of whole mobile network to all-IP evolution.
Realizing in the process of wireless access network IPization, clock synchronization issue is the problem that need to pay close attention to.In order to meet standard and to ensure network performance, different mobile communication networks have base station clock, for solving stationary problem.Because clock synchronous relates to the clock of eating dishes without rice or wine of base station, very large on the impact of performance of handoffs and covering performance, be therefore that 2G, 3G or the base station of super 3G are all very strict to the required precision of clock frequency; In addition adopt the feature of same frequency due to time division multiplexing (TDD) base station up-downgoing, for fear of interference, to the required precision of clock phase also very strict.In the conventional synchronization net of non-IP, clock synchronous distribution mainly contains three kinds of attainable approach: terrestrial transmission is mainly utilized PDH (Pseudo-synchronous Digital Hierarchy) (Plesiochronous Digital Hierarchy, hereinafter to be referred as: PDH) net or net or SDH (Synchronous Digital Hierarchy) (Synchronous Digital Hierarchy, hereinafter to be referred as: N level synchronous transfer module (STM-N) SDH), aerial distribution mainly utilizes global positioning system (GPS).But in the time adopting IP mode transmission group net, because IP data network cannot be supported the clock transmission of physical layer at present, website clock can not obtain from physical layer, and the PDH mode in packet network will be eliminated, and the mode that therefore T1/E1 is passed to clock is introduced the design of IPization base station infeasible.In addition, although GPS can meet mobile network's clock synchronous demand, because installation and maintenance gps antenna needs more operation expenditure, therefore with high costs, be difficult to application and management.
Defined Precision Time Protocol (Precision Time Protocol; To make the precision clock in distributed network keep synchronizeing with other clocks hereinafter to be referred as: basic function PTP).The clock synchronous principle of PTP agreement is the most accurate match time when propagating and receive based on synchrodata being coated, each from clock by reaching and synchronize with master clock with master clock switching clock message (Sync).In 1588V2 agreement, define best master clock algorithm, obtain the clock quality information of master clock by clock quality request message from clock, when selecting clock source, needs select some master clock nodes as timing reference input by regulation optimal clock algorithm, this process is referred to as BMC and selects source, select a clock source by optimal clock algorithm, the selection of the best master clock master clock priority default to the grade of clock, precision, stability and client is relevant.
Realizing in process of the present invention, inventor finds that in prior art, at least there are the following problems: in Packet Based Network, clock message transmits together with other business datums, if exceed certain scope because certain reason causes clock message packet loss, will cause cannot selecting the master clock node that source algorithm is selected to carry out tracking lock to BMC from clock node, synchronize thereby the master clock node that makes cannot to select with BMC algorithm from clock node reaches.
Summary of the invention
The embodiment of the present invention provides a kind of clock source selection processing method, device and system, wherein:
A kind of clock source selection processing method that the embodiment of the present invention provides, comprising:
Obtain the described linking status information from the transmission link between clock node and each clock source to be selected from clock node;
Described selection one or more clock sources to be selected from clock node as the timing reference input that carries out clock synchronous operation, described one or more clock sources to be selected according to the linking status of mark transmission link the linking status information in normal condition determine.
A kind of clock source selection processing unit that the embodiment of the present invention provides, comprising:
Acquisition module, for obtaining the linking status information of the transmission link between described clock source selection processing unit and each clock source to be selected;
Select module, for selecting as the timing reference input that carries out clock synchronous operation at one or more clock sources to be selected, described one or more clock sources to be selected according to the linking status of mark transmission link the linking status information in normal condition determine.
A kind of clock source selection treatment system that the embodiment of the present invention provides, comprise clock source selection processing unit, for described clock source selection processing unit provides the clock source multiple to be selected of reference clock, and provide the communication network of transmission channel for described host node and clock source selection processing unit.
Clock source selection processing method, device and system that the embodiment of the present invention provides, carrying out BMC from clock node selects the process in source, selecting as before carrying out the master clock of clock synchronous operation, first determine optional clock source according to the linking status of network, make BMC select source procedure transmission link can with clock source within the scope of carry out, improve the success rate of clock synchronous.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is clock source selection processing method embodiment flow chart of the present invention;
Fig. 2 is clock source selection embodiment of the method flow chart of the present invention;
Fig. 3 is example structure figure of embodiment of the present invention clock source selection processing unit;
Fig. 4 is another example structure of embodiment of the present invention clock source selection processing unit figure;
Fig. 5 is embodiment of the present invention clock source selection treatment system example structure figure.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention adopts the defined PTP of IEEE 1588, the basic function of PTP is to make the precision clock in distributed network keep synchronize with other clocks, carries out submicrosecond level synchronous for the clock in transducer, actuator and the other-end equipment of the distributed bus system to standard ethernet or other employing multicasting technologies.In order to improve synchronization accuracy, PTP agreement requires each network node must have a network interface unit that comprises real-time clock on hardware, can realize the related service based on PTP protocol stack.The most accurate match time when the clock synchronous principle of PTP agreement is propagated and received based on synchrodata is coated, each from clock node by reaching and synchronize with master clock node with master clock node switching clock message.The accuracy that can find out clock synchronous by clock synchronization compliant with precision time protocol synchronization principles is closely related with time tag and temporal information, in Time delay measurement, master clock node arrives from clock node simultaneously, and whether network delay from clock node to master clock node is symmetrical right, the precision of clock phase synchronization also has a great impact.In addition IEEE1588 also strengthens Time delay measurement, has considered the timestamp of intermediate node in the time of corrective networks time delay.Utilizing PTP to carry out clock frequency synchronous time, do not need to consider the symmetry of network delay, in master clock clock message, the accuracy of time has determined the precision of clock frequency.
In IEEE1588 agreement, obtain the clock quality information of master clock from clock by the request message of clock quality message (announce), when needs are selected clock source, select a master clock node as timing reference input by algorithm.In " announce " message, the concrete territory that represents 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.Because existing clock message transmits together with other business datums, in the time that transmission link is congested, link flash causes clock message packet loss and exceed certain limit, may tracking lock master clock from clock.Suppose that clock source A and clock source B are optional clock sources, select source A as master clock source from clock according to BMC algorithm, when occurring cannot lock the situation of source A from clock time, the master clock node that cannot select with BMC algorithm from clock node is that clock source A reaches and synchronizes.Reselect clock source even trigger BMC algorithm by initialization by force, probably again choose clock source A according to existing BMC algorithm, and again cause synchronization failure.
The embodiment of the present invention is for again selecting source from clock when, owing to only considering the grade of clock, precision, the master clock priority that stability and client are default, do not consider that other factors is as transmission quality of clock chain circuit etc., cause BMC algorithm again to choose previous master clock, again cause the defects such as synchronization failure, provide a solution to supplement in 1588 agreements and do not have the linking status according to clock chain circuit of specification to select the method for best master clock, to ensure can to choose relatively preferably clock source of current link transmission from clock, improve the accuracy rate of clock source selection, ensure clock synchronous success rate.
Fig. 1 is clock source selection processing method embodiment flow chart of the present invention, and as shown in Figure 1, the method comprises:
Step 100, obtains the described linking status information from the transmission link between clock node and each clock source to be selected from clock node;
In distributed network, in order to make the system clock of each node in network in synchronous regime, to select a clock source as the timing reference input that carries out clock synchronous operation can provide the clock source multiple to be selected of reference clock (being master clock node) from for example base station of clock node, in following embodiment, in network, exist two master clock nodes to describe for being chosen as example from clock node as clock source to be selected.From clock node for fear of master clock reuse adoption process due to do not consider linking status for example link stop up, the situations such as flash, occur in abnormal condition on the master clock node of serious packet loss because of linking status and cause again choosing one, to carry out before BMC selects source, get this from clock node and be available for providing to it linking status information of the transmission link between the clock source multiple to be selected of reference clock, in the present embodiment, first to obtain the linking status information of the transmission link respectively and between two master clock node A and B from clock node, suppose when transmission link wherein for example from this transmission link of linking status message identification of the transmission link between clock node and master clock node A at present in the time that abnormal condition easily causes serious packet loss, in this BMC selects the scope in source, master clock node A is got rid of.
Step 101, described selection one or more clock sources to be selected from clock node as the timing reference input that carries out clock synchronous operation, described one or more clock sources to be selected according to the linking status of mark transmission link the linking status information in normal condition determine.
From clock node getting the linking status information of the transmission link between clock source to be selected network, and after corresponding the transmission link under abnormal condition master clock node being got rid of in this BMC selects the scope in source, just determine that this time carrying out range of choice that BMC selects source selects in the corresponding part of the linking status information clock source to be selected in normal condition at the linking status of mark (or expression) transmission link.For example, if only exist two master clock node A and B for providing reference clock from clock node in network, and master clock node A because of and transmission link between clock node be excluded after BMC selects source range herein in abnormal condition, just can directly select the normal master clock Node B of linking status as the timing reference input that carries out clock synchronous operation.Certainly, in the present embodiment, select the linking status according to transmission link in source range to get rid of after a part of master clock node at BMC, if there is situation multiple and transmission link between the clock node master clock node in normal condition, can select in this optional scope according to existing optimal clock algorithm as the timing reference input that carries out clock synchronous operation.Specifically select source procedure shown in Figure 2.
Fig. 2 is clock source selection embodiment of the method flow chart of the present invention, as shown in Figure 2, this selects in source and course journey in basis " priority ", " clockclass ", the factor such as " clockaccuracy " and " offsetScaledLogVariance " is in master clock node A and B, select as before should carrying out the timing reference input of clock synchronous operation from clock node according to optimal clock algorithm, carry out from the judgement of the linking status information of transmission link between clock node and master clock node A and B, that is to say and in clock source selection flow process, add the step judging according to linking status (Link status), timing reference input for selecting conduct to carry out clock synchronous operation from clock node in the master clock node satisfying condition.
The clock source selection processing method that the present embodiment provides, carrying out BMC from clock node selects the process in source, selecting as before carrying out the master clock of clock synchronous operation, determine optional clock source according to the linking status of network, make BMC select source procedure transmission link can with clock source within the scope of carry out, improve the success rate of clock synchronous.
On the basis of above-described embodiment, obtain this implementation of carrying out linking status judgement from the linking status information of the transmission link between clock node and each clock source to be selected from clock node and at least can comprise following three kinds:
First kind of way is, from clock node according to the corresponding packet loss of clock quality message (announce), obtain the linking status information of the transmission link between each clock source to be selected, described " announce " is for each clock source to be selected is by separately and send to from clock node from the transmission link between clock node.In the present embodiment, judge the linking status of transmission link according to the accepting state of " announce " message itself, the frequency of giving out a contract for a project that sends " announce " message due to master clock node is relatively low, if all there are a large amount of packet loss problems in the lower frequency lower network of giving out a contract for a project, illustrate that network linking state can not complete clock synchronous.Particularly, from clock node clean culture consult send " announce " request message to master clock node A and B, master clock node A and B agree to this request Concurrency send " announce grant " message give from clock node; Master clock node A and B periodically send " announce " message to from clock node, receive " announce " message from clock node, and calculate the packet loss information of " announce " message.When the packet loss of " announce " message a transmission link (being master clock node and the transmission link between clock node) exceedes prescribed limit for example 1% time, can think that this transmission link is in abnormal condition, the optional state of the corresponding master clock node of transmission link is set to not optional.
The second way is, from obtain from third party's application server, the described corresponding packet loss of business packet from transmitting between clock node and each clock source to be selected of clock node basis, obtain the described linking status information from the transmission link between clock node and each clock source to be selected, business packet is each clock source to be selected by separately and send to from clock node from the transmission link between clock node.In the present embodiment, obtain the linking status of synchronizing network by third party's application server from clock node, third party's application server can be BTS management entity or NE management entity, it is pointed out that network entity as long as obtaining linking status in network can become provides the third party of Synchronization Status Message application server.Particularly, obtain the linking status of network of relation from clock node from third party's application server, in the present embodiment, third party's application server can be OAM (operator and management) management entity, and linking status comprises in network that the packet loss of business packet and the changing value of delay inequality are wobble information.In the present embodiment because time delay is less on the impact of end-to-end Frequency Synchronization, therefore in synchronous the selecting in source side case of the whole network, linking status is mainly considered the packet loss of entirety in network, when packet loss on a transmission link exceedes certain limit, can think that this transmission link is in abnormal condition.And the selecting in source side case of end-to-end Frequency Synchronization, linking status also needs to consider the information such as the shake except packet loss, when the shake on a transmission link exceedes certain limit, also can think that this transmission link is in abnormal condition.That is to say from clock node can according to obtain from third party's application server, and each clock source to be selected between the corresponding packet loss of business packet that transmits and the changing value of the corresponding delay inequality of this business packet be wobble information, obtain the linking status information of the transmission link between each clock source to be selected.
Under unicast case, to the clock source of current selected, except adopting above-mentioned two kinds of modes, can also adopt the third mode as described below; Under multicast mode, also can apply this third mode to each clock source to be selected, from clock node according to the corresponding packet loss of clock message (sync), obtain and current selection as the linking status information of the transmission link between the clock source to be selected of timing reference input, clock message be current selection as the clock source to be selected of timing reference input by and send from the transmission link between clock node.In the present embodiment, judge clock source from clock node according to " sync " message packet loss, packet loss is larger, show that Link State is more bad, synchronous effect is poorer, in the time that the packet loss of " sync " message in a transmission link exceedes certain limit, can think that this transmission link is in abnormal condition.The present embodiment can, for judging that this BMC selects the Link State of the master clock node connecting before source, can be judged according to " sync " message packet loss the master clock node connecting last time and whether can join current selecting in source.Particularly, the accepting state of " Sync " message from clock node recording clock is synchronous, and the packet loss of calculating " Sync " message, and the changing value of delay inequality is wobble information.
In the present embodiment, while re-starting clock source selection when being triggered from clock node, can also judge whether original link can join current selecting in source according to the packet loss of " Sync " message calculating in clock synchronous last time and wobble information.In synchronous the selecting in source side case of the whole network, can only consider that the packet loss parameter of " Sync " message judges network linking state.And the in the situation that of end-to-end Frequency Synchronization, linking status also needs to consider the wobble information except packet loss, that is to say can be according to the corresponding packet loss of " Sync " message and wobble information that should " Sync " message from clock node, obtain and current selection as the linking status information of the transmission link between the clock source to be selected of timing reference input.
The clock source selection processing method that the present embodiment provides, carrying out BMC from clock node selects the process in source, can first pass through the packet loss of clock quality message or the packet loss of clock message and wobble information, or obtain the linking status information of the transmission link between each clock source to be selected from third party's application server, determine and select source range, make BMC select source procedure transmission link can with clock source within the scope of carry out, improve the success rate of clock synchronous.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Fig. 3 is example structure figure of embodiment of the present invention clock source selection processing unit, as shown in Figure 3, this clock source selection processing unit comprises acquisition module 11 and selects module 12 from clock node, wherein, acquisition module 11 is for obtaining the linking status information of the transmission link between clock source selection processing unit and each clock source to be selected; Select module 12 for selecting as the timing reference input that carries out clock synchronous operation at one or more clock sources to be selected, described one or more clock sources to be selected according to the linking status of mark transmission link the linking status information in normal condition determine.
Particularly, from clock node for fear of master clock reuse adoption process owing to not considering the situations such as such as link obstruction of linking status, flash, occur in abnormal condition on the master clock node of serious packet loss because of linking status and cause again choosing one, to carry out before BMC selects source, get this from clock node and be available for providing to it linking status information of the transmission link between the clock source multiple to be selected of reference clock by acquisition module 11, to determine that this BMC selects the scope in source.Determine that according to linking status information BMC selects after source range at acquisition module 11, in one or more clock sources to be selected, select as the timing reference input that carries out clock synchronous operation by selecting module 12, described clock source one or more to be selected can determine in the following manner, and the linking status based on mark transmission link is determined corresponding part clock source to be selected in the linking status information of normal condition.
Specifically, if only exist two master clock node A and B for providing reference clock from clock node in network, and master clock node A because of and transmission link between clock node be excluded after BMC selects source range herein in abnormal condition, select module 12 just can directly select the normal master clock Node B of linking status as the timing reference input that carries out clock synchronous operation.Certainly, in the present embodiment, select in source range and get rid of after a part of master clock node at BMC, if there is situation multiple and transmission link between the clock node master clock node in normal condition, the timing reference input of selecting 12 of modules can select according to existing optimal clock algorithm conduct to carry out clock synchronous operation in this optional scope.
What the embodiment of the present invention provided carry out BMC from clock node selects the process in source, selecting as before carrying out the master clock of clock synchronous operation, determine optional clock source according to the linking status of network, make BMC select source procedure transmission link can with clock source within the scope of carry out, improve the success rate of clock synchronous.
Fig. 4 is another example structure of embodiment of the present invention clock source selection processing unit figure, as shown in Figure 4, this clock source selection processing unit comprise acquisition module 11 and select module 12 from clock node, and wherein acquisition module 11 comprises following arbitrary submodule or its combination: first obtains submodule 111, second obtains submodule 112 and the 3rd and obtain submodule 113.Wherein first obtain submodule 111 for according to the corresponding packet loss of clock quality message, obtain from the linking status information of the transmission link between clock node and each clock source to be selected, wherein clock quality message is that each clock source to be selected sends by transmission link; Second obtains submodule 112 for the basis corresponding packet loss of business packet that obtain from third party's application server, from transmitting between clock node and each clock source to be selected, obtain from the linking status information of the transmission link between clock node and each clock source to be selected, delay inequality business packet is that each clock source to be selected sends by transmission link; The 3rd obtains submodule 113 for according to the corresponding packet loss of clock message, obtain the linking status information as the transmission link between the clock source to be selected of timing reference input from clock node and current selection, clock message is that current selection sends by transmission link as the clock source to be selected of timing reference input.
What in the present embodiment, provide first obtains submodule 111, second and obtains submodule 112 and the 3rd and obtain the concrete function of submodule 113 and can, referring to the description of obtaining three modes of the linking status information of the transmission link between each clock source to be selected in preceding method embodiment from clock node, repeat no more herein.
What deserves to be explained is, in synchronous the selecting in source side case of the whole network, linking status can mainly be considered the packet loss of entirety in network.And selecting in source side case in end-to-end Frequency Synchronization, linking status also needs the information such as the shake of consideration except packet loss, therefore second obtain submodule 112 can also be used for according to obtain from third party's application server, from the corresponding packet loss of business packet that transmits between clock node and each clock source to be selected and the changing value of the corresponding delay inequality of delay inequality business packet, obtain from the linking status information of the transmission link between clock node and each clock source to be selected; The 3rd obtains submodule 113 can also be used for according to the changing value of the corresponding packet loss of clock message and the corresponding delay inequality of delay inequality clock message, obtains the linking status information as the transmission link between the clock source to be selected of timing reference input from clock node and current selection.
The clock source selection processing unit that the present embodiment provides, carrying out BMC from clock node selects the process in source, can first pass through the packet loss of clock quality message or the packet loss of clock message and wobble information, or obtain the linking status information of the transmission link between each clock source to be selected from third party's application server, determine and select source range, make BMC select source procedure transmission link can with clock source within the scope of carry out, improve the success rate of clock synchronous.
Fig. 5 is embodiment of the present invention clock source selection treatment system example structure figure, as shown in Figure 5, this clock source selection treatment system comprises for example distributed network 2 of communication network, be master clock node 3 from clock node 1 (or clock source selection processing unit) and multiple clock source to be selected, wherein master clock node 3 is used to from clock node 1 reference clock is provided, and for example distributed network 2 of communication network provides transmission channel for each from clock node 1 and master clock node 3.
In the present embodiment, relate to can adopt from clock node that above-mentioned clock source selection processing unit embodiment provides respectively from clock node, its concrete 26S Proteasome Structure and Function repeats no more herein.Can be for provide the master clock node of reference clock to be at least 2 from clock node in distributed network.In addition, what deserves to be explained is, the linking status information that can obtain the transmission link between each clock source to be selected by the packet loss of clock quality message or clock message and wobble information from clock node is selected the scope in source to determine BMC.As an optional scheme, the linking status information that the embodiment of the present invention also can be obtained the transmission link between each clock source to be selected from third party's application server is selected the scope in source to determine BMC.That is to say, in the clock source selection treatment system that the present embodiment provides, can also comprise that third party's application server 4 is used to from clock node 1 provides from the linking status information of the transmission link between clock node 1 and multiple master clock node 3.
In the clock source selection treatment system that the present embodiment provides, carrying out BMC from clock node selects the process in source, can first pass through the packet loss of clock quality message or the packet loss of clock message and wobble information, or obtain the linking status information of the transmission link between each clock source to be selected from third party's application server, determine and select source range, make BMC select source procedure transmission link can with clock source within the scope of carry out, improve the success rate of clock synchronous.
The embodiment of the present invention also provides a kind of clock source selection processing method, current for provide from clock node timing reference input the first master clock node and should be from transmission link between clock node during in abnormal condition, at least one second master clock node, re-start the selection of clock source from clock node, described the second master clock node is the master clock node that is different from the first master clock node in multiple master clock nodes.That is to say, the embodiment of the present invention provides multiple master clock nodes, has got rid of after disabled the first master clock node in these master clock nodes, carries out the gravity treatment of timing reference input in remaining one or more the second master clock nodes.
Wherein, in the time getting rid of the first master clock node, can adopt the above-mentioned linking status according to transmission link to carry out from clock node; Or also can safeguard address list information or mark (ID) information of candidate's clock source from clock node, get rid of disabled the first clock source according to address list information or ID identification information.
It is a kind of from clock node that the embodiment of the present invention also further provides, and comprising: determination module, provides the first master clock node of timing reference input and be somebody's turn to do from transmission link between clock node in abnormal condition from clock node for being defined as this; Gravity treatment module, for the first master clock node with this from transmission link between clock node when the abnormal condition, in at least one second master clock node, re-start the selection of clock source, described the second master clock node is the master clock node that is different from the first master clock node in multiple master clock nodes.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (11)

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

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

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

Family

ID=43888019

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN102035638B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012171417A1 (en) * 2011-06-14 2012-12-20 中兴通讯股份有限公司 Method and device for clock synchronization
US9106352B2 (en) * 2012-02-27 2015-08-11 Telefonaktiebolaget L M Ericsson (Publ) Frequency distribution using precision time protocol
CN102664700B (en) * 2012-04-13 2015-08-19 烽火通信科技股份有限公司 Nodal clock synchronous planning method in mesh network
CN103686982B (en) * 2012-09-17 2017-03-29 中国移动通信集团公司 A kind of method for synchronizing time and node device based on clock information
CN104683132A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Method and device for determining backup clock source
CN105024798A (en) * 2014-04-28 2015-11-04 中兴通讯股份有限公司 Method and device for time synchronization
CN107872870B (en) * 2016-09-28 2020-08-04 中国移动通信有限公司研究院 Synchronization method and synchronization device for small stations
CN107342831B (en) * 2017-06-07 2019-02-26 北京东土军悦科技有限公司 A kind of main timing source determines method and device
CN111182612B (en) * 2018-11-12 2021-08-27 大唐移动通信设备有限公司 Network access synchronization method and device for nodes in ad hoc network
CN111385051B (en) * 2018-12-29 2022-11-08 华为技术有限公司 Clock synchronization method, device and storage medium
CN111385050B (en) 2018-12-29 2022-11-08 华为技术有限公司 Clock synchronization method, device and storage medium
CN110071977B (en) * 2019-04-25 2022-04-01 北京风行极客科技有限公司 Data transmission method and device
CN111061338B (en) * 2019-11-30 2021-06-01 苏州浪潮智能科技有限公司 Method, system and equipment for updating time sequence of baseboard management controller
CN112040472B (en) * 2020-08-10 2022-10-18 烽火通信科技股份有限公司 Clock synchronization method, system and readable storage medium

Citations (4)

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

Patent Citations (4)

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

Also Published As

Publication number Publication date
CN102035638A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
CN102035638B (en) Clock source selection processing method, device and system
CN102036361B (en) Processing method, device and system for clock source selection
US10298344B1 (en) Systems and methods for indicating when frames egress a PHY module of a network device
CN111585683B (en) High-reliability clock synchronization system and method for time-sensitive network
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
CN102457371B (en) Time synchronization method and related equipment and system
CN102013931B (en) Time synchronization method and system, salve timing device and main timing device
CN111385048B (en) Time synchronization method and system
WO2014083640A1 (en) Communication apparatus, communication system and time synchronization method
CN102026364B (en) Precise time protocol message processing method and clock equipment
KR20150143801A (en) Timestamp generating method, device and system
EP3163786B1 (en) Clock synchronization method and apparatus
CN108650050A (en) A kind of distributed network clock synchronous method
WO2017101528A1 (en) Method and device for clock link switching and base station
CN101741853B (en) Method for synchronizing clock time, line card veneer and network equipment
CN103188064A (en) Clock synchronization method and clock synchronization device
CN103905135A (en) Method, device and system for realizing time synchronization
WO2021042789A1 (en) Method for achieving clock source selection, device, system and storage medium
CN102469377A (en) Ethernet passive optical network (EPON) system and method for realizing end-to-end transparent clock in system
CN101765198A (en) Clock synchronization method, clock synchronization device and clock synchronization system
CN103580768B (en) A kind of method for synchronizing time and device
CN113424466B (en) Method and device for clock synchronization
JP7283069B2 (en) Time-synchronized path selection device and time-synchronized path selection method
CN107959537B (en) State synchronization method and device
CN108183762B (en) The method for synchronizing time of RapidIO network system and RapidIO network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant