CN115589551A - Fault monitoring method and device and electronic equipment - Google Patents
Fault monitoring method and device and electronic equipment Download PDFInfo
- Publication number
- CN115589551A CN115589551A CN202110764384.4A CN202110764384A CN115589551A CN 115589551 A CN115589551 A CN 115589551A CN 202110764384 A CN202110764384 A CN 202110764384A CN 115589551 A CN115589551 A CN 115589551A
- Authority
- CN
- China
- Prior art keywords
- optical splitter
- target
- under
- same
- onus
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
- H04Q2011/0083—Testing; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Optical Communication System (AREA)
Abstract
The embodiment of the application provides a fault monitoring method, a fault monitoring device and electronic equipment, wherein a first target ONU with a fiber breakage alarm is determined, a second-level optical splitter to which the first target ONU belongs is determined under the condition that the number of the first target ONU is not less than a threshold value, and the state of a second target ONU under the same second-level optical splitter is inquired under the condition that the first target ONU belongs to the same second-level optical splitter. And if the states of the second target ONU are all off-line states, determining that the branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted, and performing optical cable interruption fault alarm. Therefore, only when the number of the first target ONUs for performing fiber breakage warning is not smaller than a threshold value and the states of the second target ONUs under the same optical splitter are all in an off-line state, the optical cable interruption fault warning is performed, the misjudgment rate is low, the reliability of the monitoring result is high, the workload of maintenance personnel is reduced, and manpower and material resources are saved.
Description
Technical Field
The present application relates to the field of information communication technologies, and in particular, to a fault monitoring method and apparatus, and an electronic device.
Background
A Passive Optical Network (PON) refers to an active electronic device that does not include any electronic device and electronic power supply, and an Optical Distribution Network (ODN) is composed of Passive devices such as Optical splitters. The PON includes an Optical Line Terminal (OLT) installed at a central control station, a Network Terminal (ONU) installed at a subscriber site, and an ODN.
In some scenes, the ODN consists of a first-stage optical splitter and a second-stage optical splitter, and when a branch optical cable between the first-stage optical splitter and the second-stage optical splitter is interrupted, the interruption condition of the branch optical cable between the first-stage optical splitter and the second-stage optical splitter is judged through the Optical Network Unit (ONU) fiber breakage alarm condition. If the branch optical fibers of part of the ONUs under the second-level optical splitter are interrupted in a short time in batches, an alarm of interruption of the branch optical cable between the first-level optical splitter and the second-level optical splitter can be derived, and maintenance personnel rush to the site to inspect. However, by adopting the single monitoring mode, when the branch optical fibers of part of the ONUs under the second-stage optical splitter are interrupted in a short time batch, the branch optical cables between the first-stage optical splitter and the second-stage optical splitter are not interrupted, the misjudgment rate is high, the reliability of the monitoring result is low, the workload of maintenance personnel is increased, and manpower and material resources are wasted.
Disclosure of Invention
The embodiment of the application aims to provide a fault monitoring method, a fault monitoring device and electronic equipment, and aims to solve the problems that the misjudgment rate of interruption faults of a branch optical cable between a primary optical splitter and a secondary optical splitter is high, the reliability of a monitoring result is low, and manpower and material resources are wasted.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a fault monitoring method, including:
determining the number of first target ONUs with fiber breakage alarm;
determining a second-level optical splitter to which the first target ONU belongs under the condition that the number of the first target ONU is not less than a threshold value;
under the condition that the first target ONU belongs to the same two-stage optical splitter, inquiring the state of a second target ONU under the same two-stage optical splitter;
if the states of the second target ONU are all off-line states, determining that a branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted;
and carrying out optical cable interruption fault alarm.
In a second aspect, an embodiment of the present application provides a fault monitoring apparatus, including:
the first determining module is used for determining the number of the first target ONUs with the fiber breakage alarm;
a second determining module, configured to determine, when the number of the first target ONUs is not less than a threshold value, a second-level optical splitter to which the first target ONU belongs;
the query module is used for querying the state of a second target ONU under the same two-stage optical splitter under the condition that the first target ONU belongs to the same two-stage optical splitter;
a third determining module, configured to determine that a branch optical cable between the secondary optical splitter and the primary optical splitter is interrupted if the states of the second target ONU are all offline states;
and the alarm module is used for carrying out optical cable interruption fault alarm.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory to implement the steps of the fault monitoring method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the fault monitoring method according to the first aspect are implemented.
According to the technical scheme provided by the embodiment of the application, the first target ONU with the fiber breakage alarm is determined, the second-level optical splitter to which the first target ONU belongs is determined under the condition that the number of the first target ONU is not less than the threshold value, and the state of the second target ONU under the same second-level optical splitter is inquired under the condition that the first target ONU belongs to the same second-level optical splitter. And if the states of the second target ONU are all off-line states, determining that the branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted, and performing optical cable interruption fault alarm. Therefore, only when the number of the first target ONUs for fiber breakage warning is not less than the threshold value and the states of the second target ONUs under the same optical splitter are all in the off-line states, the optical cable interruption fault warning is performed, the branch optical cable interruption condition is judged through multiple monitoring modes provided by the embodiment of the application, the misjudgment rate is low, the reliability of the monitoring result is high, the workload of maintenance personnel is reduced, and manpower and material resources are saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a network topology structure diagram of a PON provided in an embodiment of the present application;
fig. 2 is a first flowchart of a fault monitoring method according to an embodiment of the present disclosure;
fig. 3 is a second flowchart of a fault monitoring method according to an embodiment of the present application;
fig. 4 is a third flowchart illustrating a fault monitoring method according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a fault monitoring apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a fault monitoring method and device and electronic equipment, and solves the problems that the misjudgment rate of interruption faults of a branch optical cable between a primary optical splitter and a secondary optical splitter is high, the reliability of a monitoring result is low, and manpower and material resources are wasted.
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In an embodiment, as shown in fig. 1, a network topology structure diagram of a PON provided in an embodiment of the present application is provided. The PON comprises an OLT installed in a machine room, a network terminal ONU installed in a user site, and an ODN, where the ODN comprises at least one primary optical splitter and at least one secondary optical splitter (in the figure, one primary optical splitter and two secondary optical splitters are taken as an example). The first-level optical splitter is positioned in the optical cross-connecting box, the optical cross-connecting box divides the main optical cable into a plurality of branch optical cables, and the first-level optical splitter broadcasts light beams in the main optical cable to the plurality of branch optical cables through physical channels. The second-level optical splitter is positioned in the optical fiber splitting box, and the optical fiber splitting box divides the branch optical cable under the second-level optical splitter into a plurality of branch optical fibers which are accessed into the ONU. Each group of ONUs belongs to a secondary splitter. The primary optical splitter and the secondary optical splitter in the ODN cannot automatically report network resources of their own information, which may be referred to as dummy resources. Therefore, when a branch optical cable is interrupted between the first-stage optical splitter and the second-stage optical splitter, the first-stage optical splitter and the second-stage optical splitter cannot generate an alarm, and how to monitor the fault of the dummy resource is particularly important.
In a possible implementation manner, in the same PON interface, if the number of ONUs that have a fiber break alarm is not less than a threshold value within a specified time window, an interruption fault occurs in a branch optical cable between a first-stage optical splitter and a second-stage optical splitter, and an alarm is issued.
In another possible implementation manner, when all ONUs have a fiber-breaking alarm within a specified time window under the same secondary optical splitter, a fault that a branch optical cable between the primary optical splitter and the secondary optical splitter breaks down may be derived indirectly, and an alarm is given.
In the two implementation manners, the fault that the Optical Network Unit (ONU) has the branch optical fiber interruption can be directly judged by deriving the fault that the branch optical cable between the primary optical splitter and the secondary optical splitter has the interruption fault, but when the Optical Network Unit (ONU) has the branch optical fiber interruption, the branch optical cable between the primary optical splitter and the secondary optical splitter may not be interrupted. In addition, if some ONUs under the same secondary optical splitter fail to derive a fault that a branch optical cable between the primary optical splitter and the secondary optical splitter is interrupted, an alarm cannot be completed, and a maintenance person cannot check the branch optical cable between the primary optical splitter and the secondary optical splitter in time. Therefore, the single monitoring mode has high misjudgment rate and low reliability of the monitoring result, thereby increasing the workload of maintenance personnel and wasting manpower and material resources.
Therefore, the embodiments of the present application provide a technical solution to solve the above problems, and refer to the following specifically.
For example, as shown in fig. 2, an execution main body of the method may be a server, where the server may be an independent server or a server cluster composed of multiple servers, and the server may be a fault monitoring server that is capable of performing whether an interruption fault occurs in a branch optical cable between a primary optical splitter and a secondary optical splitter of a PON.
The fault monitoring method specifically comprises the following steps:
in S201, the number of first target ONUs with a fiber break alarm is determined.
Specifically, when a branch optical fiber between any ONU and the second-stage optical splitter is broken at the user side, the ONU sends a fiber breakage alarm, and the first target ONUs may all belong to the same second-stage optical splitter or may belong to different second-stage optical splitters. The number of the first target ONUs may be determined by counting the number of the fiber breakage alarms, for example, if the number of the fiber breakage alarms is 7, the number of the first target ONUs in which the optical fiber breakage from the branch of the second-stage optical splitter occurs may be determined to be 7.
In S202, when the number of first target ONUs is not less than the threshold, the second-stage optical splitter to which the first target ONU belongs is determined.
Specifically, the threshold may be set to any value (for example, to 6) according to practical situations, and the embodiment of the present application is not limited herein.
In one possible implementation, S202 may include the following steps:
and determining the network element name in the fiber breakage alarm. And searching a second-level optical splitter corresponding to the first target ONU according to the network element name. For the fiber breakage alarm, information of the ONU and information of the secondary optical splitter to which the ONU belongs are included. The second-level optical splitter and the ONU both have network element names uniquely corresponding to the second-level optical splitter and the first target ONU and the second-level optical splitter corresponding to the first target ONU can be found through the network element names.
In S203, when the first target ONUs all belong to the same second-stage optical splitter, the state of the second target ONU under the same second-stage optical splitter is queried.
Specifically, the state of the ONU may be divided into an online state and an offline state, the state of the ONU is the online state when the branch optical fiber between the ONU and the secondary optical splitter is not interrupted and both the ONU and the secondary optical splitter operate normally, and the state of the ONU is the offline state when the branch optical fiber between the ONU and the secondary optical splitter is interrupted or either one of the ONU and the secondary optical splitter is abnormal.
In one possible implementation manner, S203 may include the following steps:
and associating all the ONUs under the same two-stage optical splitter as a second target ONU. And querying the state of the second target ONU through the target interface.
Specifically, after all ONUs under the secondary optical splitter are determined, the PON interface is called and status information of all ONUs under the PON interface is queried, using the PON interface as a target interface. The second target ONU may include the first target ONU, and the second target ONU may be all ONUs under the same second-level optical splitter, or a predetermined number of ONUs under the same optical splitter. The predetermined number may be 80% of the total number of ONUs in the same optical splitter, and of course, the predetermined number may also be any number according to practical situations, and the embodiment of the present application is not limited herein.
Further, in a possible implementation manner, in order to further invoke all ONUs under the second-stage optical splitter in a later stage, after all ONUs under the same optical splitter are associated, information of all ONUs under the same second-stage optical splitter may also be stored.
Further, in a possible implementation manner, after querying the state of a second target ONU under the same two-stage optical splitter, the state of the second target ONU may also be stored.
In S204, if the states of the second target ONU are all offline states, it is determined that the branch optical cable between the second optical splitter and the first optical splitter is interrupted.
In S205, an optical cable interruption fault alarm is performed.
Specifically, the optical cable interruption fault alarm is only carried out when the number of the first target ONUs for carrying out the fiber breakage alarm is not less than a threshold value and the second target ONUs under the unified splitter are all in an offline state.
According to the technical scheme provided by the embodiment of the application, the first target ONU with the fiber breakage alarm is determined, the second-level optical splitter to which the first target ONU belongs is determined under the condition that the number of the first target ONU is not less than the threshold value, and the state of the second target ONU under the same second-level optical splitter is inquired under the condition that the first target ONU belongs to the same second-level optical splitter. And if the states of the second target ONU are all off-line states, determining that the branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted, and performing optical cable interruption fault alarm. Therefore, only when the number of the first target ONUs for fiber breakage warning is not less than the threshold value and the states of the second target ONUs under the same optical splitter are all in the off-line states, the optical cable interruption fault warning is performed, the branch optical cable interruption condition is judged through multiple monitoring modes provided by the embodiment of the application, the misjudgment rate is low, the reliability of the monitoring result is high, the workload of maintenance personnel is reduced, and manpower and material resources are saved.
For example, as shown in fig. 3, an execution main body of the method may be a server, where the server may be an independent server or a server cluster composed of multiple servers, and the server may be a fault monitoring server that is capable of performing whether an interruption fault occurs in a branch optical cable between a primary optical splitter and a secondary optical splitter of a PON.
The fault monitoring method specifically comprises the following steps:
in S301, the number of first target ONUs with a fiber breakage alarm is determined.
In S302, when the number of first target ONUs is not less than the threshold value, the second-stage optical splitter to which the first target ONU belongs is determined.
In S303, when the first target ONUs all belong to the same second-stage optical splitter, the state of the second target ONU under the same second-stage optical splitter is queried.
In S304, if the states of the second target ONU are all offline states, it is determined that the branch optical cable between the second optical splitter and the first optical splitter is interrupted.
In S305, when the first target ONU belongs to the same second-stage optical splitter, all ONUs in the same second-stage optical splitter are determined.
In S306, it is determined that the branch optical cable between the secondary optical splitter and the primary optical splitter is interrupted when all ONUs in the same secondary optical splitter perform a fiber breakage alarm.
Specifically, when a branch optical fiber between any ONU and a secondary optical splitter (secondary optical splitter) is broken on the subscriber side, the ONU sends a fiber breakage alarm. And counting the alarm quantity of the fiber breakage alarm, and when the alarm quantity of the fiber breakage alarm is the same as the quantity of the ONUs under the same two-stage optical splitter, all the ONUs under the same two-stage optical splitter can be considered to be subjected to the fiber breakage alarm.
In S307, an optical cable interruption fault alarm is performed.
It is to be noted that S301 to S304 and S307 have the same or similar implementations as those of S201 to S205 in the above embodiments, which may be referred to each other, and the embodiments of the present application are not described herein again. In addition, step S305 and step S303 may be partially performed in sequence, may be performed synchronously, or may be performed in sequence, and the embodiment of the present application is not limited herein.
According to the technical scheme provided by the embodiment of the application, the first target ONU with the fiber breakage alarm is determined, the second-level optical splitter to which the first target ONU belongs is determined under the condition that the number of the first target ONU is not less than the threshold value, and the state of the second target ONU under the same second-level optical splitter is inquired under the condition that the first target ONU belongs to the same second-level optical splitter. And if the states of the second target ONU are all off-line states, determining that the branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted, and performing optical cable interruption fault alarm. Therefore, only when the number of the first target ONUs for fiber breakage warning is not less than the threshold value and the states of the second target ONUs under the same optical splitter are all in the off-line states, the optical cable interruption fault warning is performed, the branch optical cable interruption condition is judged through multiple monitoring modes provided by the embodiment of the application, the misjudgment rate is low, the reliability of the monitoring result is high, the workload of maintenance personnel is reduced, and manpower and material resources are saved.
In addition, when all the ONUs under the same two-stage optical splitter send fiber breakage alarms, the optical cable interruption fault alarm can be carried out, the misjudgment rate of the optical cable interruption fault is further reduced, the reliability of a monitoring result is improved, the workload of maintenance personnel is further reduced, and manpower and material resources are saved. In addition, after the mode of determining whether the optical cable interruption fault occurs is failed by inquiring the state of the second target ONU, whether the optical cable interruption fault occurs can be determined by a mode of sending a fiber interruption alarm by all the ONUs under the same two-stage optical splitter, and the monitoring reliability is high.
For example, as shown in fig. 4, an execution main body of the method may be a server, where the server may be an independent server or a server cluster composed of a plurality of servers, and the server may be a fault monitoring server capable of performing whether an interruption fault occurs in a branch optical cable between a primary optical splitter and a secondary optical splitter of a PON.
In S401, the number of first target ONUs with the fiber breakage alarm is determined.
In S402, it is determined whether the number of first target ONUs is greater than a threshold value, and if so, the process proceeds to S403, and if not, the process proceeds to S404.
In S403, the optical fiber cable drop alarm is issued, and the second-level optical splitter to which the first target ONU belongs is determined.
In S404, a cable break alarm is issued without deriving the primary and secondary optical splitters.
In S405, it is determined whether the first target ONUs belong to the same secondary optical splitter, if yes, the process proceeds to S406, and if not, the process proceeds to S407.
In S406, all ONUs under the same secondary splitter are associated.
In S407, the cable break alarm is cancelled.
In S408, the target interface is called.
In S409, it is determined whether the target interface is successfully called, if so, the process proceeds to S410, and if not, the process proceeds to S411.
In S410, the status of the second target ONU is queried and stored through the target interface.
In S411, all ONUs under the same two-stage optical splitter are determined.
In S412, it is determined whether all ONUs in the same secondary optical splitter perform a fiber breakage alarm, if so, the process proceeds to S413, and if not, the process proceeds to S414.
In S413, a drop cable break between the secondary splitter and the primary splitter is determined, and S416 is entered.
In S414, the cable break alarm is cancelled.
In S415, it is determined whether the states of the second target ONU are all offline states, and if so, the process proceeds to S416, and if not, the process proceeds to S417.
In S416, a cable break fault alarm is performed.
In S417, the cable break alarm is cancelled.
It should be noted that, the same points of the fault monitoring method provided in the embodiment of the present application and the fault monitoring method provided in the foregoing embodiment may be referred to each other, and details of the embodiment of the present application are not described herein again.
According to the technical scheme provided by the embodiment of the application, the optical cable interruption fault alarm is only carried out when the number of the first target ONUs for carrying out the fiber breakage alarm is not smaller than the threshold value and the states of the second target ONUs under the same optical splitter are all in the off-line state, the branch optical cable interruption condition is judged through multiple monitoring modes provided by the embodiment of the application, the misjudgment rate is low, the reliability of the monitoring result is high, the workload of maintainers is reduced, and manpower and material resources are saved.
In addition, when all the ONUs under the same two-stage optical splitter send out fiber breakage alarms, the optical cable interruption fault alarms can be carried out, the misjudgment rate of the optical cable interruption faults is further reduced, the reliability of monitoring results is improved, the workload of maintenance personnel is further reduced, and manpower and material resources are saved. In addition, after the mode of determining whether the optical cable interruption fault occurs is failed by inquiring the state of the second target ONU, whether the optical cable interruption fault occurs can be determined by a mode of sending a fiber interruption alarm by all the ONUs under the same two-stage optical splitter, and the monitoring reliability is high.
Corresponding to the fault monitoring method provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present application further provides a fault monitoring apparatus, and fig. 5 is a schematic diagram of a module composition of the fault monitoring apparatus provided in the embodiment of the present application, where the fault monitoring apparatus is configured to execute the fault monitoring method described in fig. 2 to 4, and as shown in fig. 5, the fault monitoring apparatus includes: a first determination module 501, a second determination module 502, a query module 503, a third determination module 504, and an alarm module 505.
A first determining module 501, configured to determine the number of first target ONUs with a fiber breakage alarm;
a second determining module 502, configured to determine, when the number of the first target ONUs is not less than the threshold, a second-level optical splitter to which the first target ONUs belong;
the querying module 503 is configured to query a state of a second target ONU under the same two-stage optical splitter when the first target ONU belongs to the same two-stage optical splitter;
a third determining module 504, configured to determine that a branch optical cable between the secondary optical splitter and the primary optical splitter is interrupted if the states of the second target ONU are all offline states;
and an alarm module 505 for performing an optical cable interruption fault alarm.
According to the technical scheme provided by the embodiment of the application, the first target ONU with the fiber breakage alarm is determined, the second-level optical splitter to which the first target ONU belongs is determined under the condition that the number of the first target ONU is not less than the threshold value, and the state of the second target ONU under the same second-level optical splitter is inquired under the condition that the first target ONU belongs to the same second-level optical splitter. And if the states of the second target ONU are all off-line states, determining that the branch optical cable between the second optical splitter and the first optical splitter is interrupted, and performing optical cable interruption fault alarm. Therefore, only when the number of the first target ONUs for fiber breakage warning is not less than the threshold value and the states of the second target ONUs under the same optical splitter are all in the off-line states, the optical cable interruption fault warning is performed, the branch optical cable interruption condition is judged through multiple monitoring modes provided by the embodiment of the application, the misjudgment rate is low, the reliability of the monitoring result is high, the workload of maintenance personnel is reduced, and manpower and material resources are saved.
Optionally, the query module 503 includes: an association unit and a query unit.
The association unit is used for associating all the ONUs under the same two-stage optical splitter as a second target ONU;
and the inquiry unit is used for inquiring the state of the second target ONU through the target interface.
Optionally, the fault monitoring apparatus further comprises: a first memory module (not shown).
And the first storage module is used for storing the information of all the ONUs under the same two-stage optical splitter.
Optionally, the fault monitoring apparatus further comprises: a fourth determination module (not shown) and a fifth determination module (not shown).
The fourth determining module is used for determining all the ONUs under the same two-stage optical splitter;
and the fifth determining module is used for determining the interruption of the branch optical cable between the second-stage optical splitter and the first-stage optical splitter under the condition that all the ONUs perform fiber breakage warning under the same second-stage optical splitter.
Optionally, the second determining module includes: a determination unit and a search unit.
The determining unit is used for determining the network element name in the fiber breakage alarm;
and the searching unit is used for searching the second-level optical splitter corresponding to the first target ONU according to the network element name.
Optionally, the fault monitoring apparatus further comprises: a second memory module (not shown).
And the second storage module is used for storing the state of the second target ONU.
The fault monitoring device provided in the embodiment of the present application can implement each process in the embodiment corresponding to the above fault monitoring method, and is not described here again to avoid repetition.
It should be noted that the fault monitoring apparatus provided in the embodiment of the present application and the fault monitoring method provided in the embodiment of the present application are based on the same application concept, and therefore specific implementation of the embodiment may refer to implementation of the foregoing fault monitoring method, and repeated details are not described herein.
Based on the same technical concept, the embodiment of the present application further provides an electronic device, where the electronic device is configured to execute the fault monitoring method, and fig. 6 is a schematic structural diagram of an electronic device implementing the embodiments of the present application, as shown in fig. 6. Electronic devices may vary widely in configuration or performance and may include one or more processors 601 and memory 602, where one or more stored applications or data may be stored in memory 602. Wherein the memory 602 may be transient or persistent storage. The application program stored in memory 602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device.
Still further, the processor 601 may be configured to communicate with the memory 602 to execute a series of computer-executable instructions in the memory 602 on the electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input-output interfaces 605, one or more keyboards 606.
Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; a memory for storing a computer program; a processor for executing the program stored in the memory, implementing the following method steps:
determining the number of first target ONUs with fiber breakage alarm;
under the condition that the number of the first target ONUs is not less than the threshold value, determining a second-level optical splitter to which the first target ONUs belong;
inquiring the state of a second target ONU under the same two-stage optical splitter under the condition that the first target ONU belongs to the same two-stage optical splitter;
if the states of the second target ONU are all off-line states, determining that a branch optical cable between the second optical splitter and the first optical splitter is interrupted;
and carrying out optical cable interruption fault alarm.
According to the technical scheme provided by the embodiment of the application, only when the number of the first target ONUs performing the fiber breakage alarm is not less than the threshold value and the states of the second target ONUs under the same optical splitter are all in the off-line state, the optical cable interruption fault alarm is performed, and compared with a method for performing branch optical cable fault early warning in a single mode in the prior art, the method and the device for performing the branch optical cable fault early warning in the optical fiber branching alarm are low in misjudgment rate and high in reliability of monitoring results, workload of maintenance personnel is reduced, and manpower and material resources are saved.
The embodiment further provides 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 the following steps:
determining the number of first target ONUs with fiber breakage alarm;
determining a second-level optical splitter to which the first target ONU belongs under the condition that the number of the first target ONU is not less than a threshold value;
inquiring the state of a second target ONU under the same two-stage optical splitter under the condition that the first target ONU belongs to the same two-stage optical splitter;
if the states of the second target ONU are all off-line states, determining that the branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted;
and carrying out optical cable interruption fault alarm.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
In a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, a network interface, and a memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims (10)
1. A method of fault monitoring, the method comprising:
determining the number of first target ONUs with fiber breakage alarms;
determining a second-level optical splitter to which the first target ONU belongs under the condition that the number of the first target ONU is not less than a threshold value;
under the condition that the first target ONU belongs to the same two-stage optical splitter, inquiring the state of a second target ONU under the same two-stage optical splitter;
if the states of the second target ONU are all off-line states, determining that a branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted;
and carrying out optical cable interruption fault alarm.
2. The method according to claim 1, wherein said querying the status of a second target ONU under the same two-stage splitter comprises:
associating all ONUs under the same secondary optical splitter as the second target ONU;
and inquiring the state of the second target ONU through a target interface.
3. The method of claim 2, wherein after said associating out all ONUs under the same secondary optical splitter, the method further comprises:
and storing the information of all the ONUs under the same two-stage optical splitter.
4. The method according to claim 1, wherein in case that the first target ONUs all belong to the same two-level splitter, before the performing the outage alarm, the method further comprises:
determining all ONU under the same two-stage optical splitter;
and determining that the branch optical cable between the second-stage optical splitter and the first-stage optical splitter is interrupted under the condition that all the ONUs under the same second-stage optical splitter perform fiber breakage alarm.
5. The method of claim 1, wherein the determining the second-level splitter to which the first target ONU belongs comprises:
determining the network element name in the fiber breakage alarm;
and searching a second-level optical splitter corresponding to the first target ONU according to the network element name.
6. The method according to claim 5, wherein after said querying a status of a second target ONU in the same two-stage splitter, the method further comprises:
storing the status of the second target ONU.
7. A fault monitoring device, characterized in that the device comprises:
the first determining module is used for determining the number of the first target ONUs with the fiber breakage alarm;
a second determining module, configured to determine, when the number of the first target ONUs is not less than a threshold value, a second-level optical splitter to which the first target ONU belongs;
the query module is used for querying the state of a second target ONU under the same second-level optical splitter under the condition that the first target ONU belongs to the same second-level optical splitter;
a third determining module, configured to determine that a branch optical cable between the secondary optical splitter and the primary optical splitter is interrupted if the states of the second target ONU are all offline states;
and the alarm module is used for carrying out optical cable interruption fault alarm.
8. The apparatus of claim 7, further comprising:
the fourth determining module is used for determining all the ONUs under the same two-stage optical splitter;
and the fifth determining module is used for determining the interruption of the branch optical cable between the second-stage optical splitter and the first-stage optical splitter under the condition that all the ONUs perform fiber breakage alarm under the same second-stage optical splitter.
9. An electronic device comprising a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory are communicated with each other through a bus; the memory is used for storing a computer program; the processor, executing a program stored on the memory, implementing the fault monitoring method steps of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the fault monitoring method steps of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110764384.4A CN115589551A (en) | 2021-07-06 | 2021-07-06 | Fault monitoring method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110764384.4A CN115589551A (en) | 2021-07-06 | 2021-07-06 | Fault monitoring method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115589551A true CN115589551A (en) | 2023-01-10 |
Family
ID=84771701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110764384.4A Pending CN115589551A (en) | 2021-07-06 | 2021-07-06 | Fault monitoring method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115589551A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116488724A (en) * | 2023-06-25 | 2023-07-25 | 成都实时技术股份有限公司 | Optical fiber communication test method, medium and system using same |
-
2021
- 2021-07-06 CN CN202110764384.4A patent/CN115589551A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116488724A (en) * | 2023-06-25 | 2023-07-25 | 成都实时技术股份有限公司 | Optical fiber communication test method, medium and system using same |
CN116488724B (en) * | 2023-06-25 | 2023-09-15 | 成都实时技术股份有限公司 | Optical fiber communication test method, medium and system using same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11586673B2 (en) | Data writing and reading method and apparatus, and cloud storage system | |
CA3074136C (en) | Topology processing method, apparatus, and system | |
CN110493670B (en) | Optical cable interruption judgment method and device | |
CN109450527B (en) | Fault determination method and device, computer equipment and storage medium | |
CN103383689A (en) | Service process fault detection method, device and service node | |
CN106301837A (en) | EPON alarm detection method and device | |
CN105956481A (en) | Data processing method and device | |
CN102355368A (en) | Fault processing method of network equipment and system | |
CN115589551A (en) | Fault monitoring method and device and electronic equipment | |
CN108959025A (en) | A kind of server alarm method, device and server | |
CN101931463A (en) | Monitoring method and device in EPON network based on multistage POS | |
CN113806155B (en) | Industrial equipment management method and system based on Internet of things | |
CN106685521B (en) | Method and device for resource allowance early warning of optical communication network | |
CN109583726B (en) | Method and system for detecting process state | |
CN115981261A (en) | Production line control method and device, computer equipment and computer readable storage medium | |
CN106357704A (en) | Method and device for invoking service on basis of development environments | |
CN114584475A (en) | Communication test method and device | |
CN113986677A (en) | Method and device for monitoring service resources | |
CN113051143A (en) | Detection method, device, equipment and storage medium for service load balancing server | |
CN112260398A (en) | Power grid monitoring system supporting dynamic expansion | |
CN105207718A (en) | FTTH network management server and dynamic fiber jumping method | |
CN113300948B (en) | Method, device, system and storage medium for service survivability analysis | |
CN116910313A (en) | Database establishment method and device and electronic equipment | |
CN112866834B (en) | Optical network unit and processing method and system for long light-emitting fault thereof | |
CN109408325B (en) | Method and device for performing alarm operation |
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 |