CN112311575B - Clock ring forming detection method and system in optical transmission network management - Google Patents
Clock ring forming detection method and system in optical transmission network management Download PDFInfo
- Publication number
- CN112311575B CN112311575B CN201910701391.2A CN201910701391A CN112311575B CN 112311575 B CN112311575 B CN 112311575B CN 201910701391 A CN201910701391 A CN 201910701391A CN 112311575 B CN112311575 B CN 112311575B
- Authority
- CN
- China
- Prior art keywords
- network element
- clock
- ring
- list
- clock 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method and a system for detecting clock ring formation in an optical transmission network management, which relate to the technical field of network management clock configuration. The invention can detect the clock configuration which is configured in engineering, can also detect the clock configuration which is newly configured by a user and is not downloaded to the equipment, and only needs to read the clock configuration from the equipment once and then perform ring detection aiming at the clock configuration. The method of the invention is also suitable for the clock subnet, and only the obtained network element list is the network element list of the subnet.
Description
Technical Field
The invention relates to the technical field of network management clock configuration, in particular to a clock ring forming detection method and a clock ring forming detection system in an optical transmission network management.
Background
Currently, communication networks are rapidly developing, more than 1 ten thousand optical communication devices in a large grade city, and the complexity of the networks causes the configuration of clocks to be more complicated. Each network element node in the optical transmission network must activate a clock synchronization function, and a master clock source and a standby clock source need to be configured for each device, so that the layer-by-layer transmission of clock synchronization information can be realized. With the gradual expansion of 5G business, on the one hand, optical transmission networks become more complex, and on the other hand, there are higher requirements for clock synchronization. In an unusually complicated clock configuration, the occurrence of clock timing rings is an inevitable problem, and in the PTN existing network clock ring formation investigation of a grade city in 2017, more than 100 clock rings are detected. Fig. 1 is a simple example of clock looping, wherein the arrows indicate the direction of clock signal transmission, and wherein NE1, NE3, NE4, NE1 are clock loops. Clock loops are not only present in telecommunications networks but also in industrial networks, such as national electrical networks (SDH devices). Clock looping causes clock signal degradation, which results in error code during information transmission and network failure.
The clock looping is difficult to manually check for abnormalities, and the checking and the confirmation are generally carried out after the clock fails. No matter the users of the transmission network management such as telecom operators, industry networks and the like, the network management urgently hopes to have the function of clock ringing detection so as to kill the clock ringing risk in the cradle.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a clock ring forming detection method and a clock ring forming detection system in an optical transmission network management system, which can identify a clock ring under the condition that equipment has no clock fault and avoid the clock ring forming fault on the equipment.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a clock ring forming detection method in an optical transmission network management comprises the following steps:
acquiring a whole network element list, detecting whether the network element is in a certain clock ring or not by adopting a preset detection mode aiming at each network element, and outputting a ring formation detection result;
the preset detection mode comprises the steps of obtaining a clock source of the network element, and judging whether the clock source of the network element forms a ring or not according to whether a clock source tracing list of the network element contains the network element.
On the basis of the scheme, a whole network element list is obtained, whether the network element is in a certain clock ring or not is detected by adopting a preset detection mode aiming at each network element, and a ring forming detection result is output, wherein the method specifically comprises the following steps:
acquiring a network element list in a current transmission network management;
taking out a first network element in a network element list of the whole network, checking a ring formation detection identifier of the network element, and judging whether the network element performs ring formation detection or not; if not, performing ring formation detection on the network element by adopting a preset detection mode, updating the detection identifier of the network element after the ring formation detection is completed, recording the detection result, and taking out the next network element in the list to continue the ring formation detection; if yes, skipping the network element, and taking out the next network element in the list to continue the ring formation detection; and outputting the detection result after completing the ring formation detection of all the network elements.
On the basis of the above scheme, obtaining a clock source of a network element, and determining whether the clock source of the network element forms a ring according to whether a clock source tracing list of the network element contains the network element itself, specifically including the following steps:
acquiring a clock source of the network element according to data in the network element clock configuration;
if the network element clock source is an external clock or the network element has no clock source, judging that no ring is formed, and updating the detection identifier of the network element as detected;
if the network element clock source is not an external clock and the network element is not a network element without a clock source, traversing the clock source of the network element, updating the detection identifier of the network element as detected, and updating the clock source tracing list of the network element; judging whether the clock source tracing list of the network element contains the network element, if so, judging that the network element forms a ring, performing ring-breaking operation on the clock ring of the network element, updating the detection marks of all the network elements on the clock ring as undetected, and moving all the network elements on the clock ring to the end of the network element list; recording all network elements on a clock ring and a ring-forming clock path; otherwise, the ring is judged not to be formed.
On the basis of the above scheme, the method for performing the ring-breaking operation on the clock ring of the network element specifically includes the following steps: and acquiring a clock source tracing list of the network element, and breaking the clock source relationship between the first network element and the second network element in the clock source tracing list.
On the basis of the above scheme, the method further includes the following step of adding the detected clock source traceable list of the network element into the clock source traceable list of the network element if the clock source of the network element is the detected network element when the clock source traceable list of the network element is updated.
The invention also provides a clock ring detection system in the optical transmission network management, which comprises:
a looping detection module to: acquiring a whole network element list, detecting whether the network element is in a certain clock ring or not by adopting a preset detection mode aiming at each network element, and outputting a ring forming detection result; the preset detection mode comprises the steps of obtaining a clock source of the network element, and judging whether the clock source of the network element forms a ring or not according to whether a clock source tracing list of the network element contains the network element.
On the basis of the above scheme, the ring formation detection module obtains a network element list of the whole network, detects whether a network element is in a certain clock ring by adopting a preset detection mode for each network element, and outputs a ring formation detection result, and specifically includes the following steps:
acquiring a network element list in a current transmission network management;
taking out a first network element in a network element list of the whole network, checking a ring formation detection identifier of the network element, and judging whether the network element performs ring formation detection or not; if not, performing ring formation detection on the network element by adopting a preset detection mode, updating the detection identifier of the network element after the ring formation detection is completed, recording the detection result, and taking out the next network element in the list to continue the ring formation detection; if yes, skipping the network element, and taking out the next network element in the list to continue the ring formation detection; and outputting the detection result after completing the ring formation detection of all the network elements.
On the basis of the above scheme, the looping detection module includes:
a clock tracing unit for: acquiring a clock source of the network element according to data in the network element clock configuration, and updating a clock source tracing list of the network element;
a detection unit for: if the network element clock source is an external clock or the network element has no clock source, judging that no ring is formed, and updating the detection identifier of the network element as detected; if the network element clock source is not an external clock and the network element is not a network element without a clock source, traversing the clock source of the network element and updating the detection identifier of the network element as detected; judging whether a clock source tracing list of the network element contains the network element, if so, judging to form a ring; otherwise, judging that no ring is formed;
a clock ring processing unit to: when the ring is judged to be formed, performing ring-breaking operation on the clock ring of the network element, updating the detection marks of all the network elements on the clock ring to be undetected, and moving all the network elements on the clock ring to the last of the network element list; all network elements on the clock ring and the clock paths of the ring are recorded.
On the basis of the above scheme, the clock ring processing unit performs a ring-breaking operation on the clock ring of the network element, and specifically includes the following steps: and acquiring a clock source tracing list of the network element, and breaking the clock source relationship between the first network element and the second network element in the clock source tracing list.
On the basis of the above scheme, the clock tracing unit is further configured to: and when the clock source tracing list of the network element is updated, if the clock source of the network element is the detected network element, adding the detected clock source tracing list of the network element into the clock source tracing list of the network element.
Compared with the prior art, the invention has the advantages that:
the invention adopts a preset detection mode to detect whether the network element is in a certain clock ring, outputs a ring forming detection result, can identify the clock ring under the condition that the equipment has no clock fault, and can manually modify and break the clock ring by a user after identifying the clock ring, thereby avoiding the clock ring forming fault on the equipment. The invention can detect the clock configuration which is configured in engineering, can also detect the clock configuration which is newly configured by a user and is not downloaded to the equipment, and only needs to read the clock configuration from the equipment once and then perform ring detection aiming at the clock configuration. The method of the invention is also suitable for the clock subnet, and only the acquired network element list is the network element list of the subnet.
Drawings
FIG. 1 is a diagram of clock looping in the prior art;
fig. 2 is a schematic flow chart of a clock looping detection method in an optical transmission network management according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a preset detection method according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a clock ring forming detection method in an optical transmission network management, which comprises the following steps:
acquiring a whole network element list, detecting whether a network element is in a certain clock ring or not by adopting a preset detection mode aiming at each network element, and outputting a ring forming detection result;
the preset detection mode comprises the steps of obtaining a clock source of the network element, and judging whether the clock source of the network element forms a ring or not according to whether a clock source tracing list of the network element contains the network element.
Preferably, the method includes the steps of obtaining a network element list of the whole network, detecting whether a network element is in a certain clock ring or not by adopting a preset detection mode for each network element, and outputting a ring formation detection result, and specifically includes the following steps:
acquiring a network element list in the current transmission network management;
taking out the first network element in the network element list of the whole network, checking the ring formation detection identification of the network element, and judging whether the network element carries out ring formation detection or not; if not, performing ring formation detection on the network element by adopting a preset detection mode, updating the detection identifier of the network element after the detection is finished, recording the detection result, and taking out the next network element in the list to continue the ring formation detection; if yes, skipping the network element, and taking out the next network element in the list to continue the ring formation detection; and outputting the detection result after completing the ring formation detection of all the network elements.
Referring to fig. 2, specifically, acquiring a network element list of a whole network, detecting whether a network element is in a certain clock ring by using a preset detection method for each network element, and outputting a ring formation detection result, specifically includes the following steps:
s11, obtaining the network element list in the current transmission network management, taking out the first network element in the list, and entering the step S12;
s12, checking the detection identification of the network element, judging whether the network element performs ring formation detection, if so, entering the step S14, and if not, entering the step S13;
s13, detecting the network element by using a preset looping detection method, updating the detection identification of the network element after the detection is finished, recording the detection result, and entering the step S14;
s14, whether the next network element exists in the network element list in the current transmission network management or not, if yes, the step S15 is executed, and if not, the step S16 is executed;
s15, taking out the next network element in the list, and returning to S12;
and S16, outputting a ring forming detection result and ending.
Preferably, the method for determining whether the clock source of the network element forms a ring includes the steps of obtaining the clock source of the network element, and determining whether the clock source of the network element forms a ring according to whether the clock source tracing list of the network element includes the network element itself:
acquiring a clock source of the network element according to data in the network element clock configuration;
if the network element clock source is an external clock or the network element has no clock source, judging that no ring is formed, and updating the detection identifier of the network element as detected;
if the network element clock source is not an external clock and the network element is not a network element without a clock source, traversing the clock source of the network element, updating the detection identifier of the network element as detected, updating the clock source tracing list of the network element, judging whether the clock source tracing list of the network element contains the network element, if so, judging to be ring formation, performing ring-breaking operation on the clock ring, updating the detection identifiers of all the network elements on the clock ring as undetected, and moving all the network elements on the clock ring to the last of the network element list; recording all network elements on a clock ring and a ring-forming clock path; otherwise, judging that no ring is formed.
Referring to fig. 3, specifically, acquiring a network element list of a whole network, detecting whether a network element is in a certain clock ring by using a preset detection method for each network element, and outputting a ring formation detection result, specifically includes the following steps:
s21, obtaining the clock source of the network element according to the data in the network element clock configuration, and entering the step S22;
s22, judging whether the network element clock source is an external clock or a network element without a clock source, if so, entering the step S28; if no, go to step S23;
s23, traversing the clock source of the network element, and updating the detection identifier of the network element as detected; a main clock source and a standby clock source generally exist, and the step S24 is entered;
s24, updating the clock source tracing list of the network element, and entering the step S25;
s25, judging whether the clock source tracing list of the network element contains the network element, if so, entering the step S26; if not, go to step S28;
s26, performing ring-breaking operation to the clock ring, updating the detection identification of the network element, updating the detection identifications of all network elements on the clock ring as undetected, moving all network elements on the clock ring to the end of the network element list, and entering step S27;
s27, recording all network elements on the clock ring and the clock path of the ring, and ending;
and S28, judging that no ring is formed, and ending.
If the network element does not exist on any clock ring, the last of the final clock tracing result list may be an external clock or a network element without a clock source, for example, in fig. 1, the clock tracing is performed on NE7, and the tracing result list is { NE6, clock source }; if the network element exists on a certain clock ring, the clock tracing result list must include the network element itself, for example, in fig. 1, the clock tracing is performed for N3, and the tracing result list is { NE1, NE4, NE3 }.
When the clock traces the source, the detection mark of the network element updated by the traced network element is detected, and the repeated tracing is avoided. As in fig. 1, when NE7 is traced, in fact, the NE6 network element is also traced, and therefore NE7 and NE6 both need to be updated to be detected.
For the ring-forming network element, a ring-breaking operation is required to break the clock ring, and the ring-breaking method comprises the following steps: the clock source relationship between the first network element and the second network element in the tracing result list is broken, for example, in fig. 1, the clock tracing is performed for N3, the tracing result list is { NE1, NE4, NE3}, and the clock source relationship between the first network element NE1 and the second network element NE4 is broken, that is, the connection fiber between the first network element NE1 and the second network element NE4 is marked as unavailable.
After the damage operation is performed, clock tracing is performed on the N3, the source tracing result list is { NE4} and { NE1, clock source }, and the NE4 has no clock source. The ring-breaking operation is only to avoid the efficiency problem of the ring detection and does not represent the result of correcting the wrong clock configuration, and actually for { NE1, NE4, NE3}, it is correct to modify the clock source of NE4 to be NE 1.
For the looped network elements, after the loop is broken, the source tracing needs to be performed again. As shown in fig. 1, { NE1, NE4, NE3} has to mark 3 network element detection identifiers, NE1, NE4, and NE3, as undetected, and perform traceablility again.
For example, after { NE1, NE4, NE3} in fig. 1 is broken, the N3 tracing result list is { NE4} and { NE1, clock source }, and in the tracing result of NE5, the tracing result list in the direction of the NE3 is { NE3, NE4} and { NE3, NE1, clock source }.
The embodiment of the invention also provides a clock looping detection system in the optical transmission network management, which comprises:
a looping detection module to: acquiring a whole network element list, detecting whether the network element is in a certain clock ring or not by adopting a preset detection mode aiming at each network element, and outputting a ring forming detection result; the preset detection mode comprises the steps of obtaining a clock source of the network element, and judging whether the clock source of the network element forms a ring or not according to whether a clock source tracing list of the network element contains the network element.
Preferably, the looping detection module obtains a network element list of the whole network, detects whether a network element is in a certain clock loop by adopting a preset detection mode for each network element, and outputs a looping detection result, and specifically includes the following steps:
acquiring a network element list in a current transmission network management;
taking out the first network element in the network element list of the whole network, checking the ring formation detection identification of the network element, and judging whether the network element carries out ring formation detection or not; if not, performing ring formation detection on the network element by adopting a preset detection mode, updating the detection identifier of the network element after the detection is finished, recording the detection result, and taking out the next network element in the list to continue the ring formation detection; if yes, skipping the network element, and taking out the next network element in the list to continue the ring formation detection; and outputting the detection result after completing the ring formation detection of all the network elements.
Preferably, the looping detection module includes:
a clock tracing unit for: acquiring a clock source of the network element according to data in the network element clock configuration, and updating a clock source tracing list of the network element;
a detection unit for: if the network element clock source is an external clock or the network element has no clock source, judging that no ring is formed, and updating the detection identifier of the network element as detected; if the network element clock source is not an external clock and the network element is not a network element without a clock source, traversing the clock source of the network element, updating the detection identifier of the network element to be detected, judging whether the clock source tracing list of the network element contains the network element per se or not, and if so, judging to form a ring; otherwise, judging that no ring is formed;
a clock ring processing unit to: when the ring is judged to be formed, performing ring-breaking operation on the clock ring of the network element, updating the detection marks of all the network elements on the clock ring to be undetected, and moving all the network elements on the clock ring to the last of the network element list; all network elements on the clock ring and the clock paths of the ring are recorded.
Preferably, the clock ring processing unit performs ring-breaking operation on the clock ring, and specifically includes the following steps: and acquiring a clock source tracing list of the network element, and breaking the clock source relationship between the first network element and the second network element in the clock source tracing list.
Preferably, the clock tracing unit is further configured to: and when the clock source tracing list of the network element is updated, if the clock source of the network element is the detected network element, adding the detected clock source tracing list of the network element into the clock source tracing list of the network element.
Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements all or part of method steps of a clock looping detection method in an optical transmission network management.
The invention realizes all or part of the flow in the clock looping detection method in the optical transmission network management, and can also be completed by instructing related hardware through a computer program, the computer program can be stored in a computer readable storage medium, and the steps of the method embodiments can be realized when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of method steps in a clock looping detection method in an optical transmission network management.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (8)
1. A clock ring forming detection method in an optical transmission network management is characterized by comprising the following steps:
acquiring a whole network element list, detecting whether the network element is in a certain clock ring or not by adopting a preset detection mode aiming at each network element, and outputting a ring forming detection result;
the preset detection mode comprises the steps of obtaining a clock source of the network element, and judging whether the clock source of the network element forms a ring or not according to whether a clock source tracing list of the network element contains the network element;
the obtaining of the clock source of the network element, according to whether the clock source tracing list of the network element includes the network element itself, determining whether the clock source of the network element forms a ring, specifically includes the following steps:
acquiring a clock source of the network element according to data in the network element clock configuration;
if the network element clock source is an external clock or the network element is a network element without a clock source, judging that no ring is formed, and updating the detection identifier of the network element as detected;
if the network element clock source is not an external clock and the network element is not a network element without a clock source, traversing the clock source of the network element, updating the detection identifier of the network element as detected, and updating the clock source tracing list of the network element; judging whether the clock source tracing list of the network element contains the network element, if so, judging that the network element forms a ring, performing a ring-breaking operation on a clock ring of the network element, updating detection marks of all network elements on the clock ring to be undetected, and moving all network elements on the clock ring to the end of the network element list; recording all network elements on a clock ring and a ring-forming clock path; otherwise, judging that no ring is formed.
2. The method of claim 1, wherein the step of obtaining a network element list of the whole network, detecting whether a network element is in a certain clock ring by adopting a preset detection mode for each network element, and outputting a ring formation detection result comprises the following steps:
acquiring a network element list in a current transmission network management;
taking out a first network element in a whole network element list, checking a ring formation detection identifier of the network element, and judging whether the ring formation detection is carried out on the network element; if not, performing ring formation detection on the network element by adopting a preset detection mode, updating the detection identifier of the network element after the ring formation detection is completed, recording the detection result, and taking out the next network element in the list to continue the ring formation detection; if yes, skipping the network element, and taking out the next network element in the list to continue the ring formation detection; and outputting the detection result after completing the ring formation detection of all the network elements.
3. The method of claim 1, wherein performing a ring-breaking operation on the clock ring of the network element specifically comprises: and acquiring a clock source tracing list of the network element, and breaking the clock source relationship between the first network element and the second network element in the clock source tracing list.
4. The method as claimed in claim 1, wherein the method further comprises the step of adding the detected clock source trace list of the network element to the clock source trace list of the network element if the clock source of the network element is the detected network element when updating the clock source trace list of the network element.
5. A clock ring formation detection system in optical transmission network management is characterized by comprising:
a looping detection module to: acquiring a whole network element list, detecting whether the network element is in a certain clock ring or not by adopting a preset detection mode aiming at each network element, and outputting a ring forming detection result; the preset detection mode comprises the steps of obtaining a clock source of the network element, and judging whether the clock source of the network element forms a ring or not according to whether a clock source tracing list of the network element contains the network element;
the looping detection module comprises:
a clock tracing unit for: acquiring a clock source of the network element according to data in the network element clock configuration, and updating a clock source tracing list of the network element;
a detection unit for: if the network element clock source is an external clock or the network element has no clock source, judging that no ring is formed, and updating the detection identifier of the network element as detected; if the network element clock source is not an external clock and the network element is not a network element without a clock source, traversing the clock source of the network element and updating the detection identifier of the network element as detected; judging whether a clock source tracing list of the network element contains the network element, if so, judging to form a ring; otherwise, judging that no ring is formed;
a clock ring processing unit to: when the ring is judged to be formed, performing ring-breaking operation on the clock ring of the network element, updating the detection marks of all the network elements on the clock ring to be undetected, and moving all the network elements on the clock ring to the last of the network element list; all network elements on the clock ring and the clock paths of the ring are recorded.
6. The system of claim 5, wherein the looping detection module obtains a list of network elements in the whole network, and for each network element, detects whether the network element is in a certain clock loop by using a preset detection method, and outputs a looping detection result, specifically comprising the following steps:
acquiring a network element list in the current transmission network management;
taking out a first network element in a whole network element list, checking a ring formation detection identifier of the network element, and judging whether the ring formation detection is carried out on the network element; if not, performing ring formation detection on the network element by adopting a preset detection mode, updating the detection identifier of the network element after the ring formation detection is completed, recording the detection result, and taking out the next network element in the list to continue the ring formation detection; if yes, skipping the network element, and taking out the next network element in the list to continue the ring formation detection; and outputting a detection result after completing the ring formation detection of all network elements.
7. The system of claim 5, wherein the clock ring processing unit performs a ring-breaking operation on the clock ring of the network element, and specifically comprises the following steps: and acquiring a clock source tracing list of the network element, and breaking the clock source relationship between the first network element and the second network element in the clock source tracing list.
8. The system of claim 5, wherein the clock tracing unit is further to: and when the clock source tracing list of the network element is updated, if the clock source of the network element is the detected network element, adding the detected clock source tracing list of the network element into the clock source tracing list of the network element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910701391.2A CN112311575B (en) | 2019-07-31 | 2019-07-31 | Clock ring forming detection method and system in optical transmission network management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910701391.2A CN112311575B (en) | 2019-07-31 | 2019-07-31 | Clock ring forming detection method and system in optical transmission network management |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112311575A CN112311575A (en) | 2021-02-02 |
CN112311575B true CN112311575B (en) | 2022-06-03 |
Family
ID=74486315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910701391.2A Active CN112311575B (en) | 2019-07-31 | 2019-07-31 | Clock ring forming detection method and system in optical transmission network management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112311575B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113507723B (en) * | 2021-06-04 | 2022-04-29 | 烽火通信科技股份有限公司 | Detection method, device and equipment for 5G intelligent clock ring formation and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6081550A (en) * | 1997-02-26 | 2000-06-27 | Alcatel | Method of testing clock paths and network elements for carrying out the method |
CN1503515A (en) * | 2002-11-22 | 2004-06-09 | 深圳市中兴通讯股份有限公司上海第二 | Method for judging clock source ring in sychronous digital transmission network |
CN104796272A (en) * | 2014-01-16 | 2015-07-22 | 中国移动通信集团广东有限公司 | Network clock monitoring method and network clock monitoring device |
CN106789240A (en) * | 2016-12-20 | 2017-05-31 | 广东电网有限责任公司电力调度控制中心 | A kind of method and system by software approach artificial transmission SDH communication networks |
CN106788837A (en) * | 2016-11-11 | 2017-05-31 | 国家电网公司 | A kind of SDH network clock analysis method, analyzer and analysis system |
CN108988976A (en) * | 2017-05-31 | 2018-12-11 | 中兴通讯股份有限公司 | A kind of synchronous network automatic protection method and apparatus |
-
2019
- 2019-07-31 CN CN201910701391.2A patent/CN112311575B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6081550A (en) * | 1997-02-26 | 2000-06-27 | Alcatel | Method of testing clock paths and network elements for carrying out the method |
CN1503515A (en) * | 2002-11-22 | 2004-06-09 | 深圳市中兴通讯股份有限公司上海第二 | Method for judging clock source ring in sychronous digital transmission network |
CN104796272A (en) * | 2014-01-16 | 2015-07-22 | 中国移动通信集团广东有限公司 | Network clock monitoring method and network clock monitoring device |
CN106788837A (en) * | 2016-11-11 | 2017-05-31 | 国家电网公司 | A kind of SDH network clock analysis method, analyzer and analysis system |
CN106789240A (en) * | 2016-12-20 | 2017-05-31 | 广东电网有限责任公司电力调度控制中心 | A kind of method and system by software approach artificial transmission SDH communication networks |
CN108988976A (en) * | 2017-05-31 | 2018-12-11 | 中兴通讯股份有限公司 | A kind of synchronous network automatic protection method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN112311575A (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112311575B (en) | Clock ring forming detection method and system in optical transmission network management | |
CN109861843B (en) | Method, device and equipment for completely collecting and confirming log files | |
CN104331494A (en) | Method and system for updating data | |
CN112788551B (en) | Message processing method and device, terminal equipment and storage medium | |
CN111736893B (en) | Software package version verification method and related device | |
CN112256658B (en) | Log record distribution method and device, storage medium and electronic device | |
CN113794997B (en) | Interface document management method and device based on block chain and 5G message | |
CN115237656A (en) | Error reporting processing method, device, equipment and storage medium of server | |
CN112995254B (en) | Method, equipment, system, device and component for transmitting heartbeat information | |
CN108988976A (en) | A kind of synchronous network automatic protection method and apparatus | |
CN110866225A (en) | Risk control method and device, electronic equipment and storage medium | |
CN115460094B (en) | Determination method and device for physical looping point | |
CN112187493A (en) | Network management service data issuing method and system | |
US20220360335A1 (en) | End-to-end circuit stitching | |
CN115396299B (en) | Inter-domain plug providing and acquiring method and device, network management equipment and cross-domain management equipment | |
CN112150091A (en) | Method and device for processing business rules | |
CN105760389A (en) | Equipment upgrading method and transport network equipment | |
CN111338634B (en) | Parallel construction method, device and equipment | |
CN116483678B (en) | Information processing method and related device | |
CN112019261B (en) | Method and system for returning distributed control plane electrical layer 1+1 service | |
US11575604B2 (en) | Server apparatus, edge equipment, process pattern specifying method, and control program | |
CN116346589A (en) | Network detection method, system, equipment and storage medium | |
CN116880297A (en) | Control method, control device, electronic equipment and storage medium | |
CN116684257A (en) | Communication restoration method, device, medium and terminal for automatic networking of station area communication | |
CN107092545A (en) | The method and system of client test earphone plug state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |