CN103684648A - Ring network node clock effectiveness judgment method and device - Google Patents

Ring network node clock effectiveness judgment method and device Download PDF

Info

Publication number
CN103684648A
CN103684648A CN201210353572.9A CN201210353572A CN103684648A CN 103684648 A CN103684648 A CN 103684648A CN 201210353572 A CN201210353572 A CN 201210353572A CN 103684648 A CN103684648 A CN 103684648A
Authority
CN
China
Prior art keywords
node
port
detection
clock
time
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
CN201210353572.9A
Other languages
Chinese (zh)
Other versions
CN103684648B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210353572.9A priority Critical patent/CN103684648B/en
Publication of CN103684648A publication Critical patent/CN103684648A/en
Application granted granted Critical
Publication of CN103684648B publication Critical patent/CN103684648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a ring network node clock effectiveness judgment method and device. In the method, when network links and configuration are normal and each node has the clock/time synchronization function, a detection slave port having a normal time synchronization PTP port is selected from ring network nodes, at least one additional detection slave port is configured for the detection slave node, and an alarm is selected whether to be reported according to at least two sets of time deviation values calculated through the interaction between the detection slave port and the upstream equipment and between a BMC slave port comprised in the time synchronization PTP port and the upstream equipment separately, and if the difference value between the two sets of time deviation values exceeds a preset alarm threshold value, then the alarm is reported. According to the invention, through the selection of the detection port, the PTP message interaction between the ports and the calculation and comparison of the time deviation values, the ring network node clock effectiveness can be judged, and the alarm is reported.

Description

A kind of looped network node clock availability deciding method and device
Technical field
The present invention relates to the clock synchronization of ad field in network communications technology field, in particular to a kind of looped network node clock availability deciding method and device.
Background technology
PTN(Packet Transport Network, Packet Transport Network) refer to a kind of like this optical transport network framework and concrete technology: between IP operation and bottom light-transmitting medium, be provided with an aspect, the requirement that it transmits for the sudden and statistic multiplexing of Packet Service flow and designing, take Packet Service as core and support multi-service to provide, there is lower overall use cost (Total cost of ownership, be called for short TCO), act on the advantage of light transmission simultaneously, comprise high availability and reliability, efficient bandwidth management mechanism and traffic engineering, OAM(Operation Administration and Maintenance easily, operation, management, safeguard) and webmaster, can expand, higher fail safe etc.
At present, PTN realizes the transmission to frequency and time synchronizing signal, has two class possible technique: the simultaneous techniques of the first based on physical layer, the synchronous ethernet technology of G.8261 stipulating as the method for salary distribution of reference clock signal; The 2nd, as IEEE1588 V2(also claims accurate time synchronization protocol, Precision Time Protocol, is called for short PTP) simultaneous techniques based on grouping bag of agreement regulation.
Synchronous ethernet is a kind of physical layer Clock Synchronization Technology based on traditional, this technology is extracted the high precision clock of network delivery from physical layer data code stream, follow the tracks of again and process, form system clock, at transmitter side, adopt system clock to carry out data transmission, thereby realize different internodal Frequency Synchronization, be not subject to business load flow effect, for system provides the function of the clock synchronous based on frequency, wherein, the credit rating information of clock can be passed through special SSM(Synchronization Status Message, Synchronization Status Message) frame transmits.
And IEEE1588v2 agreement, it is applied to a kind of like this master-slave synchronisation system, this synchro system is comprised of ordinary clock and boundary clock, ordinary clock only possesses the ability of the time of acceptance, and boundary clock has the ability of passing time, the port of ordinary clock and boundary clock a kind of under following three kinds of states conventionally when normal work:
Master state (master), shows that the port is the source in path sometime;
Slave mode (slave), shows that the port is synchronized with a master (master) clock;
Passive state (passive), shows that the port do not participate in synchronization message alternately to prevent time Cheng Huan.
In system synchronization process, master clock cycle ground issue PTP time synchronization protocol and temporal information, from the port of clock, receive the timestamp information that master clock port is sent, system calculates time delay and the principal and subordinate's time difference on principal and subordinate's circuit accordingly, and utilize this time difference to adjust local zone time, make frequency and phase place with main equipment time consistency from the maintenance of equipment time.
Under the scene of ring network and network support synchronous ethernet and IEEE1588V2 time synchronized, the general scheme that adopts full BC node hop-by-hop time transmission, yet, there is a risk in the mode of this hop-by-hop BC passing time: once clock failure appears in intermediate node, will cause IEEE1588V2 time synchronized to occur abnormal, involve downstream node, and this fault down stream node cannot be found out simultaneously.
Referring to Fig. 1, node A is GM(Grandmaster Clock, best master clock) clock, Node B-F is BC(ordinary clock) node.According to BMC(best master clock algorithm) algorithm, B locks A, and C locks B, and D locks C, once the clock of Node B occurs extremely, now, in the normal situation of link, can causing the time of node C and D also to be broken down.
For the above-mentioned fault that may occur, a kind of detection means need to be proposed, judge in looped network node, whether node clock source occurs extremely.
Summary of the invention
Given this, the object of the present invention is to provide a kind of looped network node clock availability deciding method and device.
In order to realize above-mentioned purpose of the present invention, its by the following technical solutions:
A kind of looped network node clock availability deciding method, wherein, when network link and configuration normal, and when each node possesses clock/time synchronized function, in looped network node, choose a detection with synchronous PTP port normal time from node, for configuring extra at least one from node, this detection detects from port, and whether the BMC comprising from port and time synchronized PTP port according to described detection selects report and alarm with at least two group time deviation values mutual and that calculate of upstream equipment respectively from port, if the difference between described at least two group time deviation values exceeds default alarm threshold, report and alarm.
Under preferred implementation, described looped network node clock availability deciding method comprises the steps:
Selected reference source node and detection are from node, and open looped network defencive function, wherein, described detection from node can according to and the time synchronized PTP port of upstream equipment carry out PTP message interaction and calculate and upstream equipment between time deviation value △ T, described time deviation value △ T is used for revising the node system time;
Reference source node specify is detected to master port, to detecting from node, specify and detect from port, and configuration detection master port carries out the mutual of PTP message with detecting from port, wherein, described detection master port and detect and do not participate in BMC computing from port;
Detection is calculated deviate △ Tref detection time from port according to the message timestamp of the PTP message receiving from detection master port;
Calculate the difference of △ T and △ Tref, the absolute value of described difference and default alarm threshold Threshold are compared, if the absolute value of described difference is over alarm threshold, report time anomaly alarm; If the absolute value of described difference does not surpass alarm threshold, do not report time anomaly alarm.
Under preferred implementation, described detection is from node when the time synchronized PTP port with upstream equipment carries out PTP message interaction, and described PTP message encapsulation format can be L2 multicast, L3 multicast or L3 clean culture.
Under preferred implementation, reference source node is being specified and detected master port, and specify and detect from the step of port detecting from node, under the pattern of boundary clock BC and transmission clock TC function, when reference source node and detection are carried out synchronizeing with upper hop node from the node network element between node normal time, must possess the PTP message that recognition detection port sends the function of transmitting downstream, different type of messages, can adopt at middle each TC node and configure with reference source node and detect from the identical vlan territory of node, or configuration and reference source node and detection are from node IP address separately, the PTP message that its recognition detection port is sent with this.
Under preferred implementation, reference source node is being specified and detected master port, and specify and detect from port detecting from node, and configuration detection master port carries out the mutual step of detection messages from port with detection, at reference source node and detection, the clock ID of opposite end is set respectively from node, and accordingly the PTP message that detection port receives is separately done to validity checking.
Under preferred implementation, when the absolute value of the difference of described △ T and △ Tref does not surpass alarm threshold, choose described detection from the previous upstream node of node as new detection from node, and re-execute described looped network node clock availability deciding method.
A looped network node clock availability deciding device, comprising:
Judging unit, for working as network link and configuration normally, and when each node possesses clock/time synchronized function, in looped network node, choose a detection with synchronous PTP port normal time from node, for this detection configures extra at least one from node, detect from port, and whether the BMC comprising from port and time synchronized PTP port according to described detection selects report and alarm with at least two group time deviation values mutual and that calculate of upstream equipment respectively from port;
Alarm Unit, while exceeding default alarm threshold for the difference when between described at least two group time deviation values, report and alarm.
Under preferred implementation, the method that described judging unit carries out looped network node clock availability deciding comprises the steps:
Selected reference source node and detection are from node, and open looped network defencive function, wherein, described detection from node can according to and the time synchronized PTP port of upstream equipment carry out PTP message interaction and calculate and upstream equipment between time deviation value △ T, described time deviation value △ T is used for revising the node system time;
Reference source node specify is detected to master port, to detecting from node, specify and detect from port, and configuration detection master port carries out the mutual of PTP message with detecting from port, wherein, described detection master port and detect and do not participate in BMC computing from port;
Detection is calculated deviate △ Tref detection time from port according to the message timestamp of the PTP message receiving from detection master port;
Calculate the difference of △ T and △ Tref, the absolute value of described difference and default alarm threshold Threshold are compared, if the absolute value of described difference is over alarm threshold, rise time abnormality alarming order; If the absolute value of described difference does not surpass alarm threshold, not rise time abnormality alarming order.
Under preferred implementation, described detection is from node when the time synchronized PTP port with upstream equipment carries out PTP message interaction, and described PTP message encapsulation format can be L2 multicast, L3 multicast or L3 clean culture.
Under preferred implementation, reference source node is being specified and detected master port, and specify and detect from the step of port detecting from node, under the pattern of boundary clock BC and transmission clock TC function, when reference source node and detection are carried out synchronizeing with upper hop node from the node network element between node normal time, must possess the PTP message that recognition detection port sends the function of transmitting downstream, different type of messages, can adopt at middle each TC node and configure with reference source node and detect from the identical vlan territory of node, or configuration and reference source node and detection are from node IP address separately, the PTP message that its recognition detection port is sent with this.
Under preferred implementation, reference source node is being specified and detected master port, and specify and detect from port detecting from node, and configuration detection master port carries out the mutual step of detection messages from port with detection, at reference source node and detection, the clock ID of opposite end is set respectively from node, and accordingly the PTP message that detection port receives is separately done to validity checking.
Under preferred implementation, when the absolute value of the difference of described △ T and △ Tref does not surpass alarm threshold, judging unit choose described detection from the previous upstream node of node as new detection from node, and re-execute described looped network node clock availability deciding method.
Technical scheme by the invention described above can find out, the present invention compared with prior art, has following beneficial effect:
1) by calculating and comparison to mutual, the time deviation of PTP message between the selection of detection port, port, can realize looped network node clock validity is carried out to preliminary judgement, under more preferred situation, by repeatedly comparing, thereby can further determine abnormal nodes.
2) in time deviation, occur abnormal in the situation that, in the mode of alarm, notify manually and intervening, thereby prevent the whole network time anomaly, strengthen the maintainability of synchronizing network.
Accompanying drawing explanation
Fig. 1 is IEEE1588V2 time synchronized loop network schematic diagram;
Fig. 2 utilizes BC+TC clock module abnormal schematic diagram detection time;
Fig. 3 is that the looped network node clock availability deciding device that the embodiment of the present invention provides detects principle schematic.
The realization of the object of the invention, functional characteristics and excellent effect, be described further below in conjunction with specific embodiment and accompanying drawing.
Embodiment
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is described in further detail, so that those skilled in the art can better understand the present invention also, can be implemented, but illustrated embodiment is not as a limitation of the invention.
The object of the embodiment of the present invention is to provide a kind of looped network node clock availability deciding method, and it is abnormal for preventing that the whole network time from occurring, and occurs abnormal in the situation that in the time, report and alarm, and notice is manually intervened.
Given this, a kind of looped network node clock availability deciding method that the embodiment of the present invention provides comprises the steps:
Referring to Fig. 3, suppose that network link and configuration do not exist abnormal, each node possesses clock/time synchronized function, and can carry out synchronous.
Node C is upper except there being (BMC master port (MasterPort), BMC are from port (Slave Port)) normal time synchronized PTP port, can configure at least 1 (for example in the present embodiment can option and installment 2) detection from port (Reference Slave Port1,2).In implementation process, these 3 groups can be calculated respectively three groups of time deviation values (offset) from (slave) port.The time of giving tacit consent to selected source device is to stablize, reliably, so between three groups of time deviation values (offset) that node C calculates, should difference very little, if widely different between three groups of time deviation values (offset), for example exceeded default alarm threshold, now illustrated that in link, the clock of some node has occurred extremely, thereby had influence on time synchronized performance, report and alarm, notifies human intervention.
In actual implementation process, the looped network node clock availability deciding method specific implementation step that the embodiment of the present invention provides is as follows:
Step 1, selected reference source node and detection, from node, are opened looped network defencive function.
For reference source node, can select other trusted node outside non-detection node in looped network, generally select best master clock (Grandmaster clock).
For detecting, from node, say, it should be to have calculated time synchronized PTP from port, with upstream equipment time synchronized PTP master port message interaction normal (detection messages encapsulation format can be L2 multicast, L3 multicast, L3 clean culture), can calculate simultaneously and upstream equipment between time deviation value, be designated as △ T, described time deviation value is used for revising the node system time.
Step 2, specifies and detects master port at reference source node, is detecting from node appointment detection from port, and described detection port is artificial appointment, does not participate in BMC and calculates.
May be simultaneously for normal time synchronized as the master and slave physical port detecting, in this case, need preferential assurance nodal clock type to possess the function of boundary clock and transmission clock (BC+TC pattern) simultaneously, be BC pattern for IEEE1588V2 time synchronized, TC pattern is as detecting IEEE1588V2(referring to Fig. 2).Under BC+TC pattern, detect host node and detect when carrying out synchronizeing normal time with upper hop node from the node network element between node, must possess the PTP message that recognition detection port sends the function of transmitting downstream, different type of messages, can adopt in middle each TC node configuration vlan territory identical with detecting master and slave node, or the IP address of the master and slave node of configuration detection, the PTP message sending with this recognition detection port.
In addition, detecting master port and detect can be also PTP port newly-built on equipment from port, in this case, need set up new physical connection, is applicable to the mininet of the close together between node.
In addition, detect master port and detect from the mutual needs between port corresponding one by one.Be configured to detect master port and send sync(follow_up), deslay_resp message, receive dealy_req message; Be configured to detect from port transmission delay_req, and receive the message that detection master port is sent.
In order to guarantee the correctness of timestamp, can and detect from the clock ID of opposite end is set respectively on node at reference source node, the PTP message thus detection port being received is done validity checking.
Step 3, detects from port and calculates deviation detection time according to message timestamp, is designated as △ Tref, and described deviation is not used in the correction of node system time.
Thereby extremely cause △ Tref itself to have abnormal situation alternately for fear of detecting link packet, conventionally can select two to detect link, select 2 reference source nodes, it respectively configures 1 and detects master port, in detection, from node, configure 2 detections from port simultaneously, carry out PTP message interaction, calculate respectively deviation detection time simultaneously.So,, in the time of can avoiding to a great extent wherein a link packet can not be normally mutual, cause deviation detection time calculating to occur abnormal.
Step 4, calculates the difference of △ T and △ Tref, and the absolute value of described difference and default alarm threshold are compared, and described alarm threshold is designated as Threshold.
In preferred implementation, for the identical node of type, have identical acquiescence alarm threshold, user can modify to described alarm threshold by configuration simultaneously, to better safeguard.
If the absolute value of described difference surpasses alarm threshold, report time anomaly alarm, can infer that thus this link has node to have clock failure from reference source node to detection node, to facilitate user further to judge;
If the absolute value of described difference does not surpass alarm threshold, do not report time anomaly alarm.
For not surpassing the situation of alarm threshold, can not illustrate that described link does not exist nodal clock fault completely.Suppose that described tested node exists clock abnormal, just may exist | the situation of T-△ Tref| < Threshold.So, in a preferred embodiment of this invention, in order to guarantee the objectivity of testing result, can repeatedly detect several nodes more, choose described detection from the previous upstream node of node as new detection from node, and re-execute described looped network node clock availability deciding method, thereby progressively dwindle the scope of determining malfunctioning node.
Below in conjunction with accompanying drawing, the present invention is described in further detail:
Embodiment 1: in network, have the abnormal node of clock, but selected detection node clock is without extremely.
With reference to figure 1, suppose node A, the clock time of best master clock (Grandmaster clock) is all believable, the B nodal clock in this network occurs abnormal, but is not realized, take D node as example herein, progressively determines B node existing problems.
D node has 2 the time synchronized PTP ports in left and right, and participate in BMC and calculate, according to BMC result of calculation, the synchronous C of D node select time or E node (supposing that D node time is synchronized with C node).
The first step, confirms that nodes clock type is BC+TC, and selected reference source node and detection, from node, are opened looped network defencive function.
Selected A node is reference source node, and D node is detection node, opens looped network defencive function on A, D two nodes simultaneously.The time deviation that time synchronized at node D is calculated for system time correction from (Slave) port is designated as △ TD.
Second step, specifies and detects master port at reference source node, is detecting from node appointment detection from port, and described detection port is artificial appointment.
Detection messages encapsulation format is defaulted as L3 clean culture, on node A, configure one and detect master port PortM, on node D, configure a detection from port PortS, and under all node TC patterns between these two detection node configuration detection host node and detect the IP from node, in order to guarantee normal IEEE1588V2 time synchronized message interaction between two-port, also can on two nodes, configure respectively the other side's clock ID.
The 3rd step, detects from port and calculates deviation detection time according to message timestamp.
Whether the detection of D node is calculated deviation detection time from port PortS port, is designated as △ Tdref, and this deviation is not used in system time correction, be only used for the sign time to exist extremely.
The 4th step, configuration alarm threshold size, is designated as ThresholdD, will | △ TD-△ TDref| and alarm threshold ThresholdD compare.
Because B nodal clock is abnormal, so there will be | the situation of △ TD-△ TDref| > ThresholdD, report time anomaly alarm notification manual intervention, at link, do not break, configure in normal situation, now can tentatively judge, the clock of middle certain node has occurred extremely.In order to determine specifically which node goes wrong, and continues next step processing.
The 5th step, selecting C node is detection node, A node is still reference source node, continue to carry out above-mentioned steps one to step 4, if still had | △ TC-△ TCref| > ThresholdC, so far can tentatively infer, Node B exists clock abnormal.
Embodiment 2: in network, have the abnormal node of clock, and selected detection node is exactly, and abnormal node appears in clock.
Continuation, with reference to figure 1, is supposed node A, and the clock time of best master clock (Grandmaster clock) is all believable, and the B nodal clock in this network occurs abnormal, but is not realized, take B node as example herein, determines B node existing problems.
The first step, confirms that nodes clock type is BC+TC, and selected reference source node and detection, from node, are opened looped network defencive function.
Selected A node is reference source node, and B node is detection node, opens looped network defencive function on A, B two nodes simultaneously.The time deviation that time synchronized at B node is calculated for system time correction from (Slave) port is designated as △ TB.
Second step, specifies and detects master port at reference source node, is detecting from node appointment detection from port, and described detection port is artificial appointment.
Detection messages encapsulation format is defaulted as L3 clean culture, on A node, configure one and detect master port PortM, on B node, configure a detection from port PortS, and under all node TC patterns between these two detection node configuration detection host node and detect the IP from node, in order to guarantee normal IEEE1588V2 time synchronized message interaction between two-port, can on two nodes, configure respectively the other side's clock ID.
The 3rd step, detects from port and calculates deviation detection time according to message timestamp.
Whether the PortS port of B node calculates deviation detection time, is designated as △ TBref, and this deviation is not used in system time correction, be only used for the sign time to exist extremely.
The 4th step, configuration alarm threshold size, is designated as ThresholdB, will | △ TB-△ TBref| and alarm threshold ThresholdB compare.
The clock of B node own is abnormal, so there will be | and the situation of △ TB-△ TBref| < ThresholdC, thereby report and alarm not.For fear of missing the abnormal judgement of B node, be for further processing.
The 5th step, increase a node adjacent with B node and continue judgement, such as C node, still selecting A node is reference source node, copies step 1 to the process of step 4, has | △ TC-△ TCref| > ThresholdC, so far, can tentatively infer that B node exists clock abnormal, now, report and alarm.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. a looped network node clock availability deciding method, it is characterized in that, when network link and configuration normal, and when each node possesses clock/time synchronized function, in looped network node, choose a detection with synchronous PTP port normal time from node, for configuring extra at least one from node, this detection detects from port, and whether the BMC comprising from port and time synchronized PTP port according to described detection selects report and alarm with at least two group time deviation values mutual and that calculate of upstream equipment respectively from port, if the difference between described at least two group time deviation values exceeds default alarm threshold, report and alarm.
2. looped network node clock availability deciding method as claimed in claim 1, is characterized in that, comprises the steps:
Selected reference source node and detection are from node, and open looped network defencive function, wherein, described detection from node can according to and the time synchronized PTP port of upstream equipment carry out PTP message interaction and calculate and upstream equipment between time deviation value △ T, described time deviation value △ T is used for revising the node system time;
Reference source node specify is detected to master port, to detecting from node, specify and detect from port, and configuration detection master port carries out the mutual of PTP message with detecting from port, wherein, described detection master port and detect and do not participate in BMC computing from port;
Detection is calculated deviate △ Tref detection time from port according to the message timestamp of the PTP message receiving from detection master port;
Calculate the difference of △ T and △ Tref, the absolute value of described difference and default alarm threshold Threshold are compared, if the absolute value of described difference is over alarm threshold, report time anomaly alarm; If the absolute value of described difference does not surpass alarm threshold, do not report time anomaly alarm.
3. looped network node clock availability deciding method as claimed in claim 2, it is characterized in that, described detection is from node when the time synchronized PTP port with upstream equipment carries out PTP message interaction, and described PTP message encapsulation format can be L2 multicast, L3 multicast or L3 clean culture.
4. looped network node clock availability deciding method as claimed in claim 2, it is characterized in that, reference source node is being specified and detected master port, and specify and detect from the step of port detecting from node, under the pattern of boundary clock BC and transmission clock TC function, when reference source node and detection are carried out synchronizeing with upper hop node from the node network element between node normal time, must possess the PTP message that recognition detection port sends the function of transmitting downstream, different type of messages, can adopt at middle each TC node and configure with reference source node and detect from the identical vlan territory of node, or configuration and reference source node and detection are from node IP address separately, the PTP message that its recognition detection port is sent with this.
5. looped network node clock availability deciding method as claimed in claim 4, it is characterized in that, reference source node is being specified and detected master port, and specify and detect from port detecting from node, and configuration detection master port carries out the mutual step of detection messages from port with detection, at reference source node and detection, the clock ID of opposite end is set respectively from node, and accordingly the PTP message that detection port receives is separately done to validity checking.
6. looped network node clock availability deciding method as claimed in claim 2, it is characterized in that, when the absolute value of the difference of described △ T and △ Tref does not surpass alarm threshold, choose described detection from the previous upstream node of node as new detection from node, and re-execute described looped network node clock availability deciding method.
7. a looped network node clock availability deciding device, is characterized in that, comprising:
Judging unit, for working as network link and configuration normally, and when each node possesses clock/time synchronized function, in looped network node, choose a detection with synchronous PTP port normal time from node, for this detection configures extra at least one from node, detect from port, and whether the BMC comprising from port and time synchronized PTP port according to described detection selects report and alarm with at least two group time deviation values mutual and that calculate of upstream equipment respectively from port;
Alarm Unit, while exceeding default alarm threshold for the difference when between described at least two group time deviation values, report and alarm.
8. looped network node clock availability deciding device as claimed in claim 7, is characterized in that, the method that described judging unit carries out looped network node clock availability deciding comprises the steps:
Selected reference source node and detection are from node, and open looped network defencive function, wherein, described detection from node can according to and the time synchronized PTP port of upstream equipment carry out PTP message interaction and calculate and upstream equipment between time deviation value △ T, described time deviation value △ T is used for revising the node system time;
Reference source node specify is detected to master port, to detecting from node, specify and detect from port, and configuration detection master port carries out the mutual of PTP message with detecting from port, wherein, described detection master port and detect and do not participate in BMC computing from port;
Detection is calculated deviate △ Tref detection time from port according to the message timestamp of the PTP message receiving from detection master port;
Calculate the difference of △ T and △ Tref, the absolute value of described difference and default alarm threshold Threshold are compared, if the absolute value of described difference is over alarm threshold, rise time abnormality alarming order; If the absolute value of described difference does not surpass alarm threshold, not rise time abnormality alarming order.
9. looped network node clock availability deciding device as claimed in claim 8, it is characterized in that, described detection is from node when the time synchronized PTP port with upstream equipment carries out PTP message interaction, and described PTP message encapsulation format can be L2 multicast, L3 multicast or L3 clean culture.
10. looped network node clock availability deciding device as claimed in claim 8, it is characterized in that, reference source node is being specified and detected master port, and specify and detect from the step of port detecting from node, under the pattern of boundary clock BC and transmission clock TC function, when reference source node and detection are carried out synchronizeing with upper hop node from the node network element between node normal time, must possess the PTP message that recognition detection port sends the function of transmitting downstream, different type of messages, can adopt at middle each TC node and configure with reference source node and detect from the identical vlan territory of node, or configuration and reference source node and detection are from node IP address separately, the PTP message that its recognition detection port is sent with this.
11. looped network node clock availability deciding devices as claimed in claim 8, it is characterized in that, reference source node is being specified and detected master port, and specify and detect from port detecting from node, and configuration detection master port carries out the mutual step of detection messages from port with detection, at reference source node and detection, the clock ID of opposite end is set respectively from node, and accordingly the PTP message that detection port receives is separately done to validity checking.
12. looped network node clock availability deciding devices as claimed in claim 8, it is characterized in that, when the absolute value of the difference of described △ T and △ Tref does not surpass alarm threshold, judging unit choose described detection from the previous upstream node of node as new detection from node, and re-execute described looped network node clock availability deciding method.
CN201210353572.9A 2012-09-21 2012-09-21 A kind of ring network node clock effectiveness judgment method and device Active CN103684648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210353572.9A CN103684648B (en) 2012-09-21 2012-09-21 A kind of ring network node clock effectiveness judgment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210353572.9A CN103684648B (en) 2012-09-21 2012-09-21 A kind of ring network node clock effectiveness judgment method and device

Publications (2)

Publication Number Publication Date
CN103684648A true CN103684648A (en) 2014-03-26
CN103684648B CN103684648B (en) 2018-02-16

Family

ID=50321067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210353572.9A Active CN103684648B (en) 2012-09-21 2012-09-21 A kind of ring network node clock effectiveness judgment method and device

Country Status (1)

Country Link
CN (1) CN103684648B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856360A (en) * 2012-11-28 2014-06-11 中兴通讯股份有限公司 Method and device for synchronization link fault detection
WO2016095099A1 (en) * 2014-12-16 2016-06-23 华为技术有限公司 Time synchronization method and apparatus
CN106533648A (en) * 2016-12-06 2017-03-22 南京南瑞继保电气有限公司 IEEE 1588 clock synchronizing and monitoring method based on HSR (High-availability Seamless Redundancy) network
CN107395307A (en) * 2017-07-12 2017-11-24 瑞斯康达科技发展股份有限公司 A kind of clock synchronizing method and equipment
CN110167060A (en) * 2019-06-19 2019-08-23 深圳市英特瑞半导体科技有限公司 A kind of management method of time network node, device and time network node
CN111867042A (en) * 2020-04-15 2020-10-30 北京云联慧通科技有限公司 MESH network synchronization method with time difference detection function
CN113114450A (en) * 2021-03-09 2021-07-13 泰斗微电子科技有限公司 Whole network clock feedback method and system
WO2022134742A1 (en) * 2020-12-24 2022-06-30 中兴通讯股份有限公司 Network failure diagnosis method and apparatus, device and storage medium
WO2022151993A1 (en) * 2021-01-13 2022-07-21 华为技术有限公司 Method, device and system for detecting time synchronization performance

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030901A (en) * 2007-04-27 2007-09-05 中控科技集团有限公司 Distributed Ethernet system and method for inspecting fault based thereon
CN101141364A (en) * 2006-09-07 2008-03-12 华为技术有限公司 Method and device for implementing protection rearrangement in ring ethernet
CN101227205A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Clock detection method for wireless communication system
CN102386973A (en) * 2011-11-10 2012-03-21 浙江工业大学 Out-of-band signaling-based failure detection and positioning method for light-trail network
CN102611602A (en) * 2011-01-21 2012-07-25 中兴通讯股份有限公司 Looped network system and method for networking looped networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141364A (en) * 2006-09-07 2008-03-12 华为技术有限公司 Method and device for implementing protection rearrangement in ring ethernet
CN101030901A (en) * 2007-04-27 2007-09-05 中控科技集团有限公司 Distributed Ethernet system and method for inspecting fault based thereon
CN101227205A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Clock detection method for wireless communication system
CN102611602A (en) * 2011-01-21 2012-07-25 中兴通讯股份有限公司 Looped network system and method for networking looped networks
CN102386973A (en) * 2011-11-10 2012-03-21 浙江工业大学 Out-of-band signaling-based failure detection and positioning method for light-trail network

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856360A (en) * 2012-11-28 2014-06-11 中兴通讯股份有限公司 Method and device for synchronization link fault detection
WO2016095099A1 (en) * 2014-12-16 2016-06-23 华为技术有限公司 Time synchronization method and apparatus
US10673551B2 (en) 2014-12-16 2020-06-02 Huawei Technologies Co., Ltd. Time synchronization method and apparatus
CN106533648A (en) * 2016-12-06 2017-03-22 南京南瑞继保电气有限公司 IEEE 1588 clock synchronizing and monitoring method based on HSR (High-availability Seamless Redundancy) network
CN107395307A (en) * 2017-07-12 2017-11-24 瑞斯康达科技发展股份有限公司 A kind of clock synchronizing method and equipment
CN107395307B (en) * 2017-07-12 2019-04-19 瑞斯康达科技发展股份有限公司 A kind of clock synchronizing method and equipment
CN110167060A (en) * 2019-06-19 2019-08-23 深圳市英特瑞半导体科技有限公司 A kind of management method of time network node, device and time network node
CN111867042A (en) * 2020-04-15 2020-10-30 北京云联慧通科技有限公司 MESH network synchronization method with time difference detection function
WO2022134742A1 (en) * 2020-12-24 2022-06-30 中兴通讯股份有限公司 Network failure diagnosis method and apparatus, device and storage medium
WO2022151993A1 (en) * 2021-01-13 2022-07-21 华为技术有限公司 Method, device and system for detecting time synchronization performance
CN113114450A (en) * 2021-03-09 2021-07-13 泰斗微电子科技有限公司 Whole network clock feedback method and system

Also Published As

Publication number Publication date
CN103684648B (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN103684648A (en) Ring network node clock effectiveness judgment method and device
CN102263630B (en) A kind of system of selection of clock source
CN101262401B (en) A method for realizing network recovery in loop network
KR101517746B1 (en) Method for detecting a synchronization failure of a transparent clock and related protection schemes
CN100389578C (en) Resource distributing method while traditional optical transfer net and intelligent optical network grouping
CN100450036C (en) Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
US8203969B2 (en) Network timing topology via network manager
CN103166750B (en) Synchronizing clock time source collocation method and device
CN101904129A (en) The estimation of timing errors in packet data networks and method for supervising
CN102904706B (en) Device and method for synchronizing system frequency in packet transport network
US8565270B2 (en) Phase and frequency re-lock in synchronous ethernet devices
CN103916950A (en) Time synchronization method and system
CN102843205A (en) Method and device for time synchronization convergence based on precision time protocol
Kasztenny et al. Communications and data synchronization for line current differential schemes
CN103856360A (en) Method and device for synchronization link fault detection
CN105024841A (en) Clock and time synchronization network synchronization fault processing method and system
CN103428081A (en) Packet network synchronization method, device and system
CN102158335B (en) Method and device for processing time synchronization port
US9528907B2 (en) Method and device for detecting symmetry of optical fiber
CN102957545B (en) The maintaining method and device of synchronous network clock
WO2012079313A1 (en) Link protection method and system thereof
CN101848035B (en) The method of share protect, system and node device in a kind of OTN network
CN103428009A (en) Method and device for achieving OAM of grouped synchronous networks
CN205610654U (en) Clock Device Based on SDH Network E1 Channel Fault Monitoring
CN102118266A (en) Industrial Ethernet dual-link redundancy technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant