CN115278404A - Signal loss alarm message processing method and device, electronic equipment and readable medium - Google Patents

Signal loss alarm message processing method and device, electronic equipment and readable medium Download PDF

Info

Publication number
CN115278404A
CN115278404A CN202110475948.2A CN202110475948A CN115278404A CN 115278404 A CN115278404 A CN 115278404A CN 202110475948 A CN202110475948 A CN 202110475948A CN 115278404 A CN115278404 A CN 115278404A
Authority
CN
China
Prior art keywords
dgi
alarm
alarm message
message
time window
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
Application number
CN202110475948.2A
Other languages
Chinese (zh)
Inventor
王娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202110475948.2A priority Critical patent/CN115278404A/en
Priority to PCT/CN2021/130444 priority patent/WO2022227496A1/en
Publication of CN115278404A publication Critical patent/CN115278404A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Abstract

The utility model provides a signal loss warning message processing method, after generating the signal loss LOSi warning message of ONU corresponding to PON interface, record the generating time of LOSi warning message; and under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window, escaping the LOSi alarm message into a first DGi alarm message, and reporting the first DGi alarm message, wherein the escape time window is opened when the number m of second DGi alarm messages in DGi alarm records of the PON interface reaches a preset second threshold N within the duration of a preset first threshold X. Under the condition of centralized power failure in the area, the misassignment fault work order caused by reporting the LOSi alarm message when the defective ONU is powered off is avoided, and the accuracy of judging the power failure of the ONU is improved. The disclosure also provides a signal loss warning message processing device, an electronic device and a readable medium.

Description

Signal loss alarm message processing method and device, electronic equipment and readable medium
Technical Field
The present disclosure relates to the field of optical communication technologies, and in particular, to a method and an apparatus for processing a signal loss warning message, an electronic device, and a readable medium.
Background
The most popular Optical access Network technology at home and abroad at present is PON (Passive Optical Network), in the whole PON system, an OLT (Optical Line Terminal) is provided with a plurality of PON ports, each ONU (Optical Network Unit) accesses to the PON access system through the PON port of the OLT, and since each PON port can access a large number of ONUs, the workload of manually managing fault work orders is huge, so most of the existing NetWorks adopt a work order system to dispatch orders.
When LOSi (Loss Of Signal) alarm information Of more than two ONUs is detected under a certain PON interface, the LOSi alarm information is reported to a work order system, and the work order system can automatically dispatch a fault work order. The OLT reports DG alarm messages only when it detects that ONU signals are lost and receives a dyenggasp message from the ONU, but the current network has a certain number of defective ONUs and cannot report the dyenggasp message when power is off due to various reasons (for example, the ONU power adapters are not matched, or the commercial power is in an undervoltage state before power is off). If the ONU cannot report the DyingGasp message, when the ONU is powered off, the OLT can only detect the loss of the ONU signal but does not know the power failure of the ONU, and then an LOSi alarm message is reported to the work order system. Therefore, when a power failure occurs in a certain area, which causes a large number of ONUs to intensively power down but no PON interface signal is lost, if a plurality of defective ONUs exist in the power failure area, an OLT generates a lot alarm message of the plurality of ONUs, and a work order system may mistakenly dispatch a faulty work order, which causes a lot of waste of human resources when the situation is frequent.
Disclosure of Invention
The disclosure provides a signal loss alarm message processing method and device, electronic equipment and a readable medium.
In a first aspect, an embodiment of the present disclosure provides a method for processing a signal loss alarm message, including:
after generating a signal loss LOSi alarm message of an ONU corresponding to a PON interface, recording the generation time of the LOSi alarm message, wherein i is the identifier of the ONU corresponding to the PON interface;
under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window, escaping the LOSi alarm message into a first DGi alarm message; when the number m of second DGi alarm messages in DGi alarm records of the PON interface reaches a preset second threshold N within the duration of a preset first threshold X, the escape time window is opened, the starting time of the escape time window is before the generation time of the first second DGi alarm message in the DGi alarm records of the PON interface, the ending time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm records of the PON interface, the second DGi alarm message is the DGi alarm message generated after the PON interface receives the power-down message sent by the ith ONU, and the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages;
and reporting the first DGi alarm message.
In another aspect, an embodiment of the present disclosure further provides a device for processing a signal loss alarm message, including an alarm generating module, a storage module, a processing module, and a reporting module,
the alarm generating module is used for generating a loss of signal LOSi alarm message of an ONU corresponding to a PON interface, wherein i is an identifier of the ONU corresponding to the PON interface;
the storage module is used for recording the generation time of the LOSi alarm message;
the processing module is used for escaping the LOSi alarm message into a first DGi alarm message under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window; when the number m of second DGi alarm messages in DGi alarm records of the PON interface reaches a preset second threshold N within the duration of a preset first threshold X, the escape time window is opened, the starting time of the escape time window is before the generation time of the first second DGi alarm message in the DGi alarm records of the PON interface, the ending time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm records of the PON interface, the second DGi alarm message is the DGi alarm message generated after the PON interface receives the power-down message sent by the ith ONU, and the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages;
the reporting module is configured to report the first DGi warning message.
In another aspect, an embodiment of the present disclosure further provides an electronic device, including:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the loss of signal alert message processing method as previously described.
In yet another aspect, the disclosed embodiments also provide a computer readable medium, on which a computer program is stored, wherein the program, when executed, implements the signal loss alarm message processing method as described above.
The embodiment of the disclosure provides a method for processing a signal loss alarm message, which includes recording the generation time of an LOSi alarm message after the signal loss LOSi alarm message of an ONU corresponding to a PON interface is generated; and under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window, escaping the LOSi alarm message into a first DGi alarm message, and reporting the first DGi alarm message, wherein when the number m of second DGi alarm messages in a DGi alarm record of the PON interface reaches a preset second threshold value N within the duration of a preset first threshold value X, the escape time window is opened, the starting time of the escape time window is before the generation time of a first second DGi alarm message in the DGi alarm record of the PON interface, and the ending time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface. Under the condition of centralized power failure in the area, the condition of misassignment fault work orders caused by reporting LOSi alarm messages when the defective ONU has power failure can be avoided, and the accuracy of ONU power failure judgment is improved.
Drawings
Fig. 1 is a schematic flow chart of a method for processing a signal loss alarm message according to an embodiment of the present disclosure;
fig. 2 is a first schematic flow chart illustrating an update process of a fixed escape time window according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a fixed escape time window updating process according to an embodiment of the disclosure;
FIG. 4 is a schematic diagram of a time axis of a fixed escape time window provided by an embodiment of the present disclosure;
fig. 5 is a first schematic flow chart illustrating an update process of a sliding escape time window according to an embodiment of the present disclosure;
fig. 6a is a schematic diagram of a second process of updating a sliding escape time window according to an embodiment of the present disclosure;
fig. 6b is a schematic diagram illustrating a sliding escape time window opening process according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a time axis of a sliding escape time window provided by an embodiment of the present disclosure;
FIG. 8 is an example diagram of a fixed escape time window provided by embodiments of the present disclosure;
FIG. 9 is an example diagram of a sliding escape time window provided by embodiments of the present disclosure;
fig. 10 is a first schematic structural diagram of a signal loss alarm message processing apparatus according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a signal loss alarm message processing apparatus according to the embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a signal loss alarm message processing apparatus according to a third embodiment of the present disclosure.
Detailed Description
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," 8230; \8230 "; when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Embodiments described herein may be described with reference to plan and/or cross-sectional views in light of idealized schematic illustrations of the disclosure. Accordingly, the example illustrations may be modified in accordance with manufacturing techniques and/or tolerances. Accordingly, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on a manufacturing process. Thus, the regions illustrated in the figures have schematic properties, and the shapes of the regions shown in the figures illustrate specific shapes of regions of elements, but are not intended to be limiting.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the present disclosure provides a method for processing a signal loss warning message, as shown in fig. 1, the method for processing a signal loss warning message includes the following steps:
and 11, recording the generation time of the LOSi alarm message after the signal loss LOSi alarm message of the ONU corresponding to the PON interface is generated.
If the OLT detects that a signal of a certain ONU (e.g., the ith ONU) corresponding to a certain PON interface is lost, it generates an loi alarm message for the PON interface. In this embodiment of the present disclosure, i represents an identifier of an ONU corresponding to the PON interface. In this step, after the lois alarm message of the PON interface is generated, when the LOS escape function of the PON interface is turned on, the generation time of the lois alarm message is recorded. It should be noted that the LOS escape function is set for each PON interface of the OLT, and the escape function of each PON interface may be manually turned on or off.
And step 12, under the condition that the generation time of the LOSi alarm message falls into the currently opened escape time window, escaping the LOSi alarm message into a first DGi alarm message.
The escape described in the embodiment of the present disclosure means that the first DGi warning message is generated according to the LOSi warning message. It should be noted that the LOSi alarm message is still retained, but the LOSi alarm message is not reported, but the generated first DGi alarm message is reported.
The escape time window is a time period in which escape operation can be performed, and is defined by a start time and an end time, and the escape time window is a time period between the start time and the end time. And within the duration of the preset first threshold value X, when the number m of second DGi alarm messages in the DGi alarm record of the PON interface reaches a preset second threshold value N, opening an escape time window. The first threshold value X is smaller than the opening duration of the escape time window, that is, the start time of the escape time window is before the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface, and the end time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface. When the end time is reached, the escape time window is closed. It should be noted that, the time for determining that the escape time window is opened is usually after the start time of the escape time window, and when it is determined that the escape time window is opened, the start time of the escape time window is traced back to the beginning, and the escape time window is opened.
The first second DGi warning message is the first second DGi warning message of the m second DGi warning messages in the DGi warning record. The second DGi warning message is a DGi warning message generated after the PON interface receives the power-down message sent by the ith ONU. That is, when the OLT detects that a signal of a certain ONU (e.g., the ith ONU) corresponding to a certain PON interface is lost and the PON interface receives a dyenggasp message sent by the ith ONU, the OLT generates a second DGi alarm message for the PON interface.
In this step, once the generation time of the LOSi alarm message is found to fall within the currently opened escape time window, the LOSi alarm message is escaped to the first DGi alarm message. The first DGi warning message and the second DGi warning message are both DGi warning messages, except that the first DGi warning message is an escape-generated DGi warning message, and the second DGi warning message is a DGi warning message generated based on a dyenggasp message sent by the ONU.
And step 13, reporting the first DGi alarm message.
In this step, the first DGi warning message is reported to the work order system, and the work order system is a functional module of the network management equipment. It should be noted that, the second DGi warning message is also reported to the work order system after being generated.
If the OLT generates a second DGi warning message for multiple times within the duration of the first threshold value X, which indicates that the ONU in a certain area may be powered down, in the escape time window, if other ONUs (failed ONUs) in the area are powered down and cannot send DyingGasp messages to the OLT, the OLT only detects that the ONU signals are lost, and the generated LOSi warning message (actually, the failed ONU is powered down at the moment) is possibly misinformed, so that the part of the LOSi warning message is escaped to the first DGi warning message and reported to a work order system, the condition of misassigning a fault work order can be avoided, and the accuracy of ONU power down judgment is improved.
According to the method for processing the signal loss alarm message, after the signal loss LOSi alarm message of the ONU corresponding to the PON interface is generated, the generation time of the LOSi alarm message is recorded; and under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window, escaping the LOSi alarm message into a first DGi alarm message, and reporting the first DGi alarm message, wherein when the number m of second DGi alarm messages in a DGi alarm record of the PON interface reaches a preset second threshold value N within the duration of a preset first threshold value X, the escape time window is opened, the starting time of the escape time window is before the generation time of a first second DGi alarm message in the DGi alarm record of the PON interface, and the ending time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface. Under the condition of centralized power failure in the area, the condition of misassignment fault work orders caused by reporting LOSi alarm messages when the defective ONU has power failure can be avoided, and the accuracy of ONU power failure judgment is improved.
In some embodiments, after recording the generation time of the LOSi alarm message, the loss of signal alarm message processing method further comprises the steps of: caching LOSi alarm information in a buffer area; and scanning the LOSi alarm message in the buffer area when the escape time window changes or a preset scanning period arrives.
The escape time window is changed by one or any combination of the following: the end time of the escape time window varies, and the start time and the end time of the escape time window vary.
In some embodiments, after recording the generation time of the LOSi alarm message (i.e., step 11), the loss of signal alarm message processing method may further include the steps of: and reporting the LOSi alarm message under the condition that the generation time of the LOSi alarm message does not fall into the currently opened escape time window and the generation time of the LOSi alarm message is longer than p times of a first threshold value X, wherein p is an integer larger than 1. That is to say, the lois alarm message that is not in the escape time window and whose generation duration is longer than pX is an overtime lois alarm message, and these overtime lois alarm messages are reported to the worksheet system, it should be noted that when reporting the overtime lois alarm message, the current time needs to be reported, instead of the generation time of the lois alarm message. In some embodiments, p may be 2.
In order to prevent the alarm after escape from remaining, the embodiment of the present disclosure further performs alarm recovery. Accordingly, in some embodiments, after the escaping of the LOSi alert message to the first DGi alert message (i.e., step 12), the method further comprises the steps of: and in response to receiving the LOSi recovery message, clearing the LOSi alarm message and the first DGi alarm message, and reporting the LOSi alarm recovery message and the first DGi alarm recovery message.
In the embodiment of the present disclosure, a DGi alarm record is maintained for each PON interface, and the DGi alarm record is used to record second DGi alarm messages and information thereof (including generation time), and in the DGi alarm record, the second DGi alarm messages are arranged in a positive order according to the generation time.
In some embodiments, the escape time window has a start time TN-X', the end time of the escape time window being Tstar+ X ', wherein X' = X + (T)N+Tstar)/X,TNFor the generation time, T, of the last second DGi alarm message in the DGi alarm record of the PON interfacestarAnd generating the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface.
In the disclosed embodiment, the escape time window includes two types: the first type is a fixed escape time window, the second type is a sliding escape time window, the fixed escape time window means that the starting time and the ending time of the escape time window are not changed, and once the ending time is reached, the fixed escape time window is closed. Sliding the escape time window means that the end time of the escape time window can be varied, e.g. the end time can be adjusted backwards, i.e. the duration of the sliding escape time window is increased.
For different types of escape time windows, the opening conditions and the update process of the DGi alarm records are different, and the processing flows under the fixed escape time window and the sliding escape time window are described below.
When the type of the escape time window is pre-configured, and when the type of the escape time window is the first type (i.e. the fixed escape time window), in some embodiments, as shown in fig. 2, the method for processing a signal loss alarm message may further include the following steps:
step 21, after generating the second DGi alarm message of the ONU corresponding to the PON interface, responding to the escape time window that is not currently opened, and the generation time Tn of the second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarAnd if the difference is less than or equal to a first threshold value X, adding 1 to the number m of second DGi alarm messages in the DGi alarm records of the PON interface, and writing the second DGi alarm messages and the generation time Tn thereof into the DGi alarm records of the PON interface.
n is the number of the second DGi alarm message. In this step, once the second DGi notification is generatedThe alert message triggers a decision whether to update the escape time window and whether to update the DGi alert record. Under the condition that the escape time window is not opened currently, if the generation time Tn of the current second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record are the same, the generation time of the current second DGi alarm message is not started, and the generation time T of the first second DGi alarm message in the DGi alarm record is not startedstarThe difference is smaller than or equal to the first threshold value X, which indicates that the interval between the current second DGi alarm message and the first second DGi alarm message in the DGi alarm record is small, and that more frequent power failure alarms occur within a current period of time, so that the second DGi alarm message and the number (i.e., m) of the frequently occurring power failure alarms need to be recorded, the number m of the second DGi alarm messages in the DGi alarm record of the PON interface is added by 1, and the second DGi alarm message and the generation time Tn thereof are written into the DGi alarm record of the PON interface.
Step 22, in response to m being equal to the second threshold N, generating a time T according to the first second DGi warning messagestarAnd the generation time Tn of the second DGi alarm message, calculating the starting time and the ending time of an escape time window, and opening the escape time window.
In this step, if m = N, it indicates that at least N second DGi alarms are generated within the duration X, and it may be considered that an ONU in an area corresponding to the PON interface has a power failure condition, for example, the ONU power adapter is not matched or the commercial power is in an under-voltage state before power failure, and in this case, an escape time window is determined and opened, so as to escape the LOSi alarm message falling into the escape time window, and avoid false alarm to the work order system.
In some embodiments, after generating the second DGi alarm message of the ONU corresponding to the PON interface, the method for processing a signal loss alarm message may further include the steps of: responding to the current escape time window without opening, and the generation time Tn of the second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarAnd if the difference is larger than the first threshold value X, clearing the DGi alarm record of the PON interface. That is, under the condition that no escape time window is opened currently, if the generation time Tn of the current second DGi alarm message and the first second DG in the DGi alarm record are the same, the first second DG in the DGi alarm record is updatedi generation time T of alarm messagestarIf the difference is greater than the first threshold value X, it means that the interval between the second DGi alarm message and the first second DGi alarm message in the DGi alarm record is large, and no more frequent power-down alarm occurs in the current period of time, so that the DGi alarm record of the PON interface is cleared without recording the second DGi alarm message and the number of power-down alarms that frequently occur, so as to make a new determination when generating the next second DGi alarm message.
In some embodiments, the method for processing a signal loss warning message may further include the steps of: after the second DGi alarm message of the ONU corresponding to the PON interface is generated, in response to the currently opened escape time window, the DGi alarm record of the PON interface is no longer updated, that is, the current second DGi alarm message and the generation time Tn are no longer written into the DGi alarm record of the PON interface. That is to say, when the second DGi alarm message is generated, once the escape time window is opened, the loi alarm message may be monitored according to the escape time window, and it is meaningless to record the current second DGi alarm message, so that the DGi alarm record of the PON interface is not updated any more, thereby saving storage resources and reducing data processing.
In some embodiments, the method for processing a signal loss warning message may further include the steps of: and responding to the arrival of the end time of the escape time window, closing the escape time window, and emptying the DGi alarm record of the PON interface.
For clarity of explaining the solution of the embodiment of the present invention, the following describes in detail the updating process of the fixed escape time window by a specific example with reference to fig. 3 and fig. 4. It should be noted that fig. 3 is a flow of updating the fixed escape time window when the escape time window is not opened. As shown in fig. 3, the update process of the fixed escape time window includes the following steps:
and 301, generating a second DGi alarm message of the ONU corresponding to the PON interface.
Step 302, judging whether a DGi alarm record of the PON interface has a second DGi alarm message, if so, executing step 304, otherwise, executing step 303.
In this step, if there is a second DGi alarm message in the DGi alarm record of the PON interface, further determining whether an escape time window is currently open (i.e., step 304 is executed); if there is no second DGi alarm message in the DGi alarm record of the PON interface, the second DGi alarm message generated in step 301 (i.e., the current second DGi alarm message) and the generation time of the second DGi alarm message are written into the DGi alarm record of the PON interface (i.e., step 303 is executed).
Step 303, writing the current second DGi alarm message and the generation time Tn into the DGi alarm record of the PON interface.
Because there is no second DGi alarm message in the DGi alarm record of the current PON interface, after the second DGi alarm message and the generation time Tn generated in step 301 are written into the DGi alarm record of the PON interface, tn is the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface, so T is the generation time of the first second DGi alarm message in the DGi alarm record of the PON interfacestar=Tn。
Step 304, determining whether there is an escape time window opened currently, if so, executing step 305, otherwise, executing step 306.
Step 305, the DGi alarm record of the PON interface is not updated any more.
And the second DGi alarm message generated in the process of opening the escape time window is not written into the DGi alarm record any more.
Step 306, determining the generation time Tn of the current second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarIf the difference is less than or equal to the first threshold value X, if yes, go to step 308, otherwise, go to step 307.
And 307, clearing the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface.
In this step, if Tn-Tstar>And X, if the explanation does not meet the opening condition of the escape time window, clearing the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface.
Step 308, adding 1 to the number m of the second DGi alarm messages in the DGi alarm record of the PON interface, and writing the second DGi alarm messages and the generation time Tn thereof into the DGi alarm record of the PON interface.
In this step, if Tn-TstarX, which indicates that the first opening condition of the escape time window is met, the DGi alarm record (including the number m of the second DGi alarm messages and the second DGi alarm messages) of the PON interface is updated, and it is further determined whether the second opening condition of the escape time window is met (i.e., step 309 is executed).
Step 309, determining whether the number m of the second DGi alarm messages in the DGi alarm record of the PON interface is equal to the second threshold N, if so, executing step 310, otherwise, ending the process.
In this step, if m = N, it indicates that the second opening condition of the escape time window is satisfied, and at this time, 2 conditions for opening the escape time window are satisfied, the escape time window is opened (i.e., step 310 is executed); if m is not equal to N, that is, m is less than N, it indicates that the second opening condition of the escape time window is not satisfied, the escape time window is not opened, and the updating process of the current fixed escape time window triggered by the second DGi alarm message generated this time is ended (the escape time window is not opened).
Step 310, generating time T according to the first second DGi alarm messagestarAnd the generation time Tn of the current second DGi alarm message, calculating the starting time and the ending time of the escape time window, and opening the escape time window.
And 311, when the end time of the escape time window is reached, closing the escape time window and clearing the DGi alarm record of the PON interface.
Referring to fig. 4, if the generation time of the current second DGi alarm message is Tn, the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interface is TstarThe current second DGi alarm message is the last second DGi alarm message in the DGi alarm record of the PON interface, and the starting time of the escape time window is calculated to be T1 under the condition that two conditions of opening the escape time window are metN-X', the end time of the escape time window being Tstar+ X ', wherein X' = X + (T)N+Tstar)/X。
When the type of the escape time window is the second type (i.e. sliding escape time window), in some embodiments, as shown in fig. 5, the method for processing a loss of signal warning message may further include the following steps:
step 51, after generating the second DGi warning message of the ONU corresponding to the PON interface, responding to the currently opened escape time window, and the generation time Tn of the second DGi warning message and the generation time T of the (N-N + 1) th second DGi warning message in the DGi warning record of the PON interface(n-N+1)And writing the second DGi alarm message and the generation time Tn thereof into a DGi alarm record of the PON interface, and determining the (N-N + 1) th second DGi alarm message as a first second DGi alarm message.
In this step, once the second DGi alarm message is generated, the determination of whether to update the escape time window and whether to update the DGi alarm record is triggered. Under the condition that an escape time window is opened currently, if the generation time Tn of the current second DGi alarm message and the generation time T of the (N-N + 1) th second DGi alarm message in the DGi alarm record are the same, the generation time of the current second DGi alarm message is equal to the generation time Tn of the (N-N + 1) th second DGi alarm message in the DGi alarm record(n-N+1)The difference is smaller than or equal to the first threshold value X, which indicates that the interval between the second DGi alarm message and the (N-N + 1) th second DGi alarm message in the DGi alarm record is smaller, so that the current second DGi alarm message and the generation time Tn thereof are written into the DGi alarm record of the PON interface. Deleting the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface to use the TstarIs adjusted to T(n-N+1)
And step 52, adjusting the end time of the escape time window according to the updated generation time of the first second DGi alarm message and the generation time Tn of the second DGi alarm message.
In this step, since T is already set in step 51starIs adjusted to T(n-N+1)And the generation time Tn of the second DGi alarm message has been written into the DGi alarm record, so in this step, according to the updated TstarAnd the current generation time Tn of the second DGi alarm message, and the end time of the escape time window is adjusted to be T(n-N+1)+ X', i.e. adjusting the end time of the escape time window backwards, thereby enabling a sliding adjustment of the escape time window.
In some embodiments, the method for processing a signal loss alarm message further comprises the following steps: and closing the escape time window in response to the arrival of the end time of the escape time window, and deleting the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface so as to reserve the latest (N-1) second DGi alarm messages in the DGi alarm record of the PON interface, so that whether the power failure phenomenon occurs or not can be judged for each subsequently generated second DGi alarm message, and the escape time window determined by the method is more accurate.
In some embodiments, the method for processing a signal loss warning message may further include the steps of: after generating the DGi alarm message of the ONU corresponding to the PON interface, responding to the condition that no escape time window is opened currently and the DGi alarm record of the PON interface is empty, writing the current second DGi alarm message and the generation time Tn thereof into the DGi alarm record of the PON interface, namely using the generation time Tn of the current second DGi alarm message as the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestar
In some embodiments, the method for processing a signal loss warning message may further include the steps of: step 61, after generating the second DGi alarm message of the ONU corresponding to the PON interface, responding to the escape time window that is not currently opened, and the generation time Tn of the second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarThe difference is less than or equal to a first threshold value X, adding 1 to the number m of second DGi alarm messages in the DGi alarm records of the PON interface, and writing the second DGi alarm messages and the generation time Tn thereof into the DGi alarm records of the PON interface; step 62, in response to m being equal to the second threshold N, generating a time T according to the first second DGi warning messagestarAnd the generation time Tn of the current second DGi alarm message, calculating the starting time and the ending time of the escape time window, and opening the escape time window. That is, when the type of escape time window is the secondWhen the second DGi warning message is generated, the update process of the escape time window (i.e. steps 61-62) is the same as the update process of the escape time window of the first type (i.e. steps 21-22) in the case that there is no open escape time window, and is not described herein again.
For clarity of explaining the solution of the embodiment of the present invention, the following describes in detail the update process of the sliding escape time window by a specific example with reference to fig. 6a, fig. 6b and fig. 7. As shown in fig. 6a, the updating process of the sliding escape time window includes the following steps:
step 601, generating a second DGi warning message of the ONU corresponding to the PON interface.
Step 602, determining whether there is an escape time window opened currently, if yes, executing step 603, otherwise, executing step 606.
Step 603, determining the generation time Tn of the second DGi alarm message and the generation time T of the (N-N + 1) th second DGi alarm message in the DGi alarm record of the PON interface(n-N+1)If the difference is smaller than or equal to the first threshold value X, if yes, go to step 604, otherwise, end the process.
Step 604, writing the second DGi alarm message and the generation time Tn into the DGi alarm record of the PON interface, and writing the T into the alarm record of the PON interfacestarAdjusted to T(n-N+1)And adjusting the end time of the escape time window according to the updated generation time of the first second DGi alarm message and the generation time Tn of the second DGi alarm message.
n is the number of the second DGi warning message. In this step, the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface are deleted to use TstarIs adjusted to T(n-N+1)And, adjusting the end time of the escape time window to T(n-N+1)+X’。
As shown in fig. 7, the generation time of the current second DGi alarm message is Tn, and after the second DGi alarm message is generated, it is determined that the escape time window a is opened, where Tn = TNThe escape time window A has a starting time TN-X', the end time of escape time window A being T1+ X', wherein,X’=X+(TN+T1) and/X. If Tn-T(n-N+1)Less than or equal to X, writing the current second DGi alarm message and the generation time Tn thereof into the DGi alarm record of the PON interface, and deleting the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface so as to facilitate the TstarIs adjusted from T1 to T(n-N+1)Correspondingly, the end time of the escape time window A is adjusted to Tstar+ X' (i.e. T)(n-N+1)+ X ') to obtain an escape time window A ', i.e. the opening escape time window A ', the start time of which is unchanged and remains TN-X ', i.e. the escape time window a' is extended backwards with respect to the escape time window a.
Step 605, when the ending time of the escape time window is reached, closing the escape time window, and deleting the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface, so as to keep the latest (N-1) second DGi alarm messages in the DGi alarm record of the PON interface.
Steps 601-605 are the update procedure of the sliding escape time window when the current escape time window is opened. The following describes the process of opening the sliding escape time window when the current escape time window is not opened with reference to fig. 6 b. As shown in fig. 6b, the process includes the following steps:
step 606, determine whether the DGi alarm record of the PON interface is empty, if yes, execute step 608, otherwise, execute step 607.
Step 607, writing the current second DGi alarm message and the generation time Tn into the DGi alarm record of the PON interface.
Because there is no second DGi alarm message in the DGi alarm record of the current PON interface, after the second DGi alarm message generated in step 601 and the generation time Tn thereof are written into the DGi alarm record of the PON interface, tn is the first second DGi alarm message in the DGi alarm record of the PON interface, at this time, T is the first second DGi alarm message in the DGi alarm record of the PON interfacestar=Tn。
Step 608, determining the generation time Tn of the current second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarWhether the difference isIf the value is less than or equal to the first threshold value X, step 610 is performed, otherwise, step 609 is performed.
Step 609, clear the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface.
In this step, if Tn-Tstar>And X, if the explanation does not meet the opening condition of the escape time window, clearing the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface.
Step 610, adding 1 to the number m of the second DGi alarm messages in the DGi alarm record of the PON interface, and writing the current second DGi alarm message and the generation time Tn thereof into the DGi alarm record of the PON interface.
In this step, if Tn-TstarX, which indicates that the first opening condition of the escape time window is met, the DGi alarm record of the PON interface is updated (including updating the number m of the second DGi alarm messages and the second DGi alarm messages), and it is further determined whether the second opening condition of the escape time window is met (i.e., step 611 is performed).
Step 611, whether the number m of the second DGi alarm messages in the DGi alarm record of the pon interface is equal to the second threshold N, if yes, step 612 is executed, otherwise, the process is ended.
In this step, if m = N, it indicates that the second opening condition of the escape time window is satisfied, and at this time, 2 conditions for opening the escape time window are all satisfied, the escape time window is opened (i.e., step 612 is executed); if m is not equal to N, namely m is less than N, the second opening condition of the escape time window is not met, the escape time window is not opened, and the updating process of the sliding escape time window triggered by the current second DGi alarm message is finished.
Step 612, generating time T according to the first second DGi alarm messagestarAnd the generation time Tn of the current second DGi alarm message, calculating the starting time and the ending time of the escape time window, opening the escape time window, and executing the step 605.
It should be noted that after the escape time window is opened, the opening time of the escape time window is monitored, and when the escape time window is openedEnd time T(n-N+1)And when + X' arrives, closing the escape time window, and deleting the first second DGi alarm message in the DGi alarm record of the PON interface and the generation time thereof so as to reserve the latest (N-1) second DGi alarm messages in the DGi alarm record of the PON interface.
For clearly explaining the scheme of the embodiment of the present disclosure, the following describes in detail the process of processing the loss of signal warning message according to the embodiment of the present disclosure by taking an example of a fixed escape time window and an example of a sliding escape time window as examples, respectively, with reference to fig. 8 and fig. 9.
FIG. 8 is an example of a fixed escape time window, as shown in FIG. 8, configured by the user: x is 3 seconds, N is 5, p =2. The OLT generates second DGi alarm messages each for 3 seconds, 3.2 seconds, 4.2 seconds, 4.5 seconds, 5.3 seconds, 5.6 seconds, and 7.2 seconds, and the DGi numbers n of the second DGi alarm messages are 1 to 7, respectively. If there is no escape time window initially, generate the first and the second DGi alarm information in 3 seconds, record T in the DGi alarm recordstarI.e. T1=3, subsequently when generating the 2 nd to 5 th second DGi warning messages, respectively, T2=3.2, T3=4.2, T4=4.5, and T5=5.3 are recorded. The generation time and T of the several second DGi alarm messagesstarThe difference is less than the first user-defined threshold X =3 seconds, and when the 5 th second DGi warning message DGi5 is generated, the number N of second DGi warning messages has reached the second user-defined threshold N =5, which satisfies the condition of opening the escape time window. The start time of the escape time window is calculated as T5-X ', the end time of the escape time window is calculated as T1+ X ', X ' =3+ (T5-T1)/3 =3.76, and thus the escape time window is 1.54 seconds to 6.76 seconds. At this time, the escape time window is opened, all the LOSi alarm messages stored in the buffer are scanned, and LOSi1 and LOSi2 with the generation time of the LOSi alarm message falling between 1.54 seconds and 6.76 seconds are escaped to be the first DGi alarm message. DGi6 is not recorded in the DGi alarm record because it is ignored within the escape time window. DGi7 is generated after the escape time window is closed and is therefore recorded in the DGi alarm record. LOSi3 generated outside the escape time window can not be escaped to be the first DGi alarm message, if the storage time of the LOSi3 in the buffer area reaches 6 seconds, the LOSi alarm is given according to the LOSiAnd reporting the disappearance timeout.
FIG. 9 is an example of a sliding escape time window, as shown in FIG. 9, user configured: x is 3 seconds, and N is 5. The OLT generates second DGi alarms for 3 seconds, 3.2 seconds, 4.2 seconds, 4.5 seconds, 5.3 seconds, 5.6 seconds, and 7.2 seconds, respectively, and the DGi numbers n of the second DGi alarm messages are 1 to 7, respectively. If there is no escape time window initially, generate the first and the second DGi alarm information in 3 seconds, record T in the DGi alarm recordstarI.e. T1=3, subsequently when generating the 2 nd-5 th second DGi warning message, T2=3.2, T3=4.2, T4=4.5, T5=5.3 are recorded, respectively. And starting an escape time window 1, scanning all the LOSi alarm messages stored in the buffer area, and escaping the LOSi1 and the LOSi2 into a first DGi alarm message in the same way as the starting judgment processing of the fixed escape window. When the 6 th second DGi warning message DGi6 is generated, because it is detected that the escape time window 1 is opened at this time, it is determined whether the difference between T6 and T2 is less than or equal to the first threshold X (X = 3) configured by the user, and it is found that T6 (5.6 s) -T2 (3.2 s) =2.4s is less than 3 seconds, therefore, the 6 th second DGi warning message and the generation time T6 thereof are written into the DGi warning record, and T6 is written into the DGi warning recordstartAdjusted to T2. The end time of the currently opened escape time window 1 is adjusted to T2+ (3 + (T6-T2)/3) =7 seconds, and at this time, the escape time window 1 becomes an escape time window 1', and the escape time window 1' is still in an open state. All the stored LOSi alarm messages in the buffer are scanned, and no new allowable LOSi alarm exists in the escape time window 1'. When the end time (7 s) of the escape time window 1 'is reached, the escape time window 1' is closed, then the DGi alarm records are updated again, the latest 4 times of second DGi alarm messages are reserved, namely the DGi2 corresponding to the T2 is deleted, DGi3, DGi4, DGi5 and DGi6 are reserved in the DGi alarm records, and at the moment, T is startedstartT3. When the 7 th second DGi alarm message DGi7 is generated, since the escape time window 1' is closed at this time, DGi3, DGi4, DGi5, DGi6, T are reserved in the DGi alarm recordsstartAt this time, T3 is present, and then T3 and T7 are compared, and T7 (7.2 s) -T3 (4.2 s) =3, which is not greater than the first threshold value of 3 seconds, so that a new escape time window 2 is opened, the start time of escape time window 2 is T7- (3 + (T7-T3)/3) =3.2 seconds, and the end time is T3 (4.2 s) + (3 + (T7 (7.2 s))-T3 (4.2 s))/3) =8.2 seconds. And scanning all the stored LOSi alarm messages in the buffer area, and transferring LOSi3 and LOSi4 into a first DGi alarm message.
In the embodiment of the disclosure, a DGi alarm record is maintained for each PON interface, where the DGi alarm record is used to record the latest m times (m is less than or equal to N) of second DGi alarm messages generated by the PON interface and the generation time of the second DGi alarm messages, and a time window (i.e., escape time window) is determined according to the generation time of the m times of second DGi alarm messages, and is used as a standard for intelligently determining whether an ONU has a power failure. And generating a second DGi alarm message and triggering the update of the DGi alarm record according to the opening state of the current escape time window, wherein the DGi alarm record can be maintained by adopting two strategies of a fixed time window and a sliding time window.
In the implementation of the disclosure, the LOS escape function can be set to be turned on or turned off, and a time period parameter (namely, a first threshold value X) before and after the LOSs of the LOSi and a standard (namely, a second threshold value N) for judging the frequent DGi alarm in the time period can be adjusted according to the actual situation, so that the accuracy of the OMU power-down judgment is improved. The scheme of the embodiment of the disclosure is flexible, the LOS escape function switch and related parameters can be configured according to the requirements of different users, whether the defective ONU has power failure or not can be accurately judged when the LOS escape function is started, the condition that a fault work order is wrongly dispatched is avoided, the requirements of different users are met, and the product competitiveness is improved.
Based on the same technical concept, an embodiment of the present disclosure further provides a device for processing a signal loss alarm message, as shown in fig. 10, where the device for processing a signal loss alarm message includes an alarm generating module 101, a storage module 102, a processing module 103, and a reporting module 104, where the alarm generating module 101 is configured to generate a signal loss lois alarm message of an ONU corresponding to a PON interface, and i is an identifier of an ONU corresponding to the PON interface.
The storage module 102 is configured to record the generation time of the LOSi alarm message.
The processing module 103 is configured to, under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window, escape the LOSi alarm message into a first DGi alarm message; when the number m of second DGi alarm messages in the DGi alarm records of the PON interface reaches a preset second threshold N within a duration of a preset first threshold X, the escape time window is opened, the start time of the escape time window is before the generation time of a first second DGi alarm message in the DGi alarm records of the PON interface, the end time of the escape time window is after the generation time of a current second DGi alarm message in the DGi alarm records of the PON interface, the second DGi alarm message is a DGi alarm message generated after the PON interface receives a power-down message sent by an ith ONU, and the first second DGi alarm message is a first second DGi alarm message in the m second DGi alarm messages.
The reporting module 104 is configured to report the first DGi warning message.
In some embodiments, the storage module 102 is further configured to buffer the loi alarm message in a buffer after recording the generation time of the loi alarm message.
The processing module 103 is configured to scan the LOSi alarm message in the buffer when the escape time window changes or a preset scanning period arrives.
In some embodiments, the reporting module 104 is further configured to, after the storage module 102 records the generation time of the LOSi alarm message, report the LOSi alarm message when the processing module 103 determines that the generation time of the LOSi alarm message does not fall into the currently opened escape time window and the generation duration of the LOSi alarm message is greater than p times the first threshold X, where p is an integer greater than 1.
In some embodiments, the processing module 103 is further configured to, in response to receiving the LOSi recovery message, clear the LOSi alarm message and the first DGi alarm message, and instruct the reporting module 104 to report the LOSi alarm recovery message and the first DGi alarm recovery message.
In some embodiments, the escape time window has a start time TN-X', the end time of said escape time window being Tstar+ X ', wherein X' = X + (T)N+Tstar)/X,TNFor the last in DGi alarm records of the PON interfaceTime of generation of second DGi alarm message, TstarAnd the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface is obtained.
In some embodiments, when the type of the escape time window is the first type, as shown in fig. 11, the device for processing a signal loss alarm message further includes a first DGi alarm record maintenance module 105, where the first DGi alarm record maintenance module 105 is configured to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, no longer update the DGi alarm record of the PON interface in response to the currently opened escape time window.
In some embodiments, the DGi alarm record first maintenance module 105 is further configured to close the escape time window and clear the DGi alarm record of the PON interface in response to the end time of the escape time window arriving.
In some embodiments, the loss of signal alarm message processing apparatus further comprises a escape time window first maintenance module 106, the first maintenance module 105 is further configured to respond to no currently open escape time window after generating a second DGi alarm message of an ONU corresponding to the PON interface, and the generation time Tn of the second DGi alarm message is equal to the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarAnd the difference is less than or equal to the first threshold value X, adding 1 to the number m of second DGi alarm messages in the DGi alarm records of the PON interface, and writing the second DGi alarm messages and the generation time Tn thereof into the DGi alarm records of the PON interface.
The escape time window first maintenance module 106 is configured to, in response to m being equal to the second threshold N, generate a time T according to the first second DGi alert messagestarAnd the generation time Tn of the second DGi alarm message, calculating the starting time and the ending time of an escape time window, and opening the escape time window.
In some embodiments, the DGi alarm record first maintenance module 105 is further configured to respond to the second DGi alarm message of the ONU corresponding to the PON interface after the alarm generation module 101 generates the second DGi alarm messageThere is no escape time window opened currently, and the generation time Tn of the second DGi alarm message and the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarAnd if the difference is larger than the first threshold value X, clearing the first second DGi alarm message in the DGi alarm record of the PON interface and the generation time of the first second DGi alarm message.
In some embodiments, when the type of the escape time window is the second type, as shown in fig. 12, the device for processing a signal loss alarm message further includes a DGi alarm record second maintenance module 105' and an escape time window second maintenance module 106', where the DGi alarm record second maintenance module 105' is configured to respond to the currently opened escape time window after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, and the generation time Tn of the second DGi alarm message is equal to the generation time T of the (N-N + 1) th second DGi alarm message in the DGi alarm record of the PON interface(n-N+1)And writing the second DGi alarm message and the generation time Tn thereof into a DGi alarm record of the PON interface, and determining that the (N-N + 1) th second DGi alarm message is the first second DGi alarm message, wherein N is the number of the second DGi alarm message.
The escape time window second maintenance module 106' is configured to adjust the end time of the escape time window according to the updated generation time of the first second DGi alarm message and the generation time Tn of the second DGi alarm message.
In some embodiments, the DGi alarm record second maintenance module 105' is further configured to close the escape time window and delete the first second DGi alarm message and the generation time thereof in the DGi alarm records of the PON interface in response to the end time of the escape time window arriving.
In some embodiments, the DGi alarm record second maintenance module 105' is further configured to, in response to there being no escape time window currently open and the DGi alarm record of the PON interface being empty, write the second DGi alarm message and its generation time Tn to the DGi alarm record of the PON interface.
In a 1In some embodiments, the DGi alarm record second maintenance module 105' is further configured to respond to no currently open escape time window after generating the second DGi alarm message of the ONU corresponding to the PON interface, where the generation time Tn of the second DGi alarm message is equal to the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarAnd the difference is less than or equal to the first threshold value X, adding 1 to the number m of second DGi alarm messages in the DGi alarm records of the PON interface, and writing the second DGi alarm messages and the generation time Tn thereof into the DGi alarm records of the PON interface.
The escape time window second maintenance module 106' is configured to, in response to m being equal to said second threshold N, generate a time T according to the first second DGi warning messagestarAnd the generation time Tn of the second DGi alarm message, calculating the starting time and the ending time of an escape time window, and opening the escape time window.
In some embodiments, the DGi alarm record second maintenance module 105' is further configured to respond to no currently open escape time window after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, and the generation time Tn of the second DGi alarm message is equal to the generation time T of the first second DGi alarm message in the DGi alarm record of the PON interfacestarAnd if the difference is larger than the first threshold value X, clearing the first second DGi alarm message in the DGi alarm record of the PON interface and the generation time of the first second DGi alarm message.
An embodiment of the present disclosure further provides an electronic device, including: one or more processors and storage; the storage device stores one or more programs thereon, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing the signal loss alarm message according to the embodiments.
The disclosed embodiments also provide a computer readable medium, on which a computer program is stored, wherein the computer program, when executed, implements the signal loss alarm message processing method provided by the foregoing embodiments.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, functional modules/units in the apparatus, disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. It will, therefore, be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.

Claims (15)

1. A method for processing a loss of signal alert message, the method comprising:
after generating a signal loss LOSi alarm message of an ONU corresponding to a PON interface, recording the generation time of the LOSi alarm message, wherein i is the identifier of the ONU corresponding to the PON interface;
under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window, escaping the LOSi alarm message into a first DGi alarm message; when the number m of second DGi alarm messages in DGi alarm records of the PON interface reaches a preset second threshold N within the duration of a preset first threshold X, the escape time window is opened, the starting time of the escape time window is before the generation time of the first second DGi alarm message in the DGi alarm records of the PON interface, the ending time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm records of the PON interface, the second DGi alarm message is the DGi alarm message generated after the PON interface receives the power-down message sent by the ith ONU, and the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages;
and reporting the first DGi alarm message.
2. The method of claim 1, wherein after recording the time of generation of the LOSi alarm message, the method further comprises: caching the LOSi alarm message in a buffer area;
and scanning the LOSi alarm message in the buffer area when the escape time window changes or a preset scanning period is reached.
3. The method of claim 1, wherein after recording the time of generation of the LOSi alarm message, the method further comprises:
and reporting the LOSi alarm message under the condition that the generation time of the LOSi alarm message does not fall into the currently opened escape time window and the generation time of the LOSi alarm message is longer than p times of the first threshold value X, wherein p is an integer larger than 1.
4. The method of claim 1, wherein after the escaping the LOSi alarm message as a first DGi alarm message, the method further comprises:
and in response to receiving the LOSi recovery message, clearing the LOSi alarm message and the first DGi alarm message, and reporting the LOSi alarm recovery message and the first DGi alarm recovery message.
5. The method of claim 1, wherein the escape time window has a start time of TN-X', the end time of said escape time window being Tstar+ X ', wherein X' = X + (T)N+Tstar)/X,TNGenerating time, T, of last second DGi alarm message in DGi alarm record of the PON interfacestarAnd the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface is obtained.
6. The method of claim 1, wherein the type of the escape time window is a first type, the method further comprising:
and after generating a second DGi alarm message of the ONU corresponding to the PON interface, responding to the current open escape time window, and not updating the DGi alarm record of the PON interface any more.
7. The method of claim 6, wherein the method further comprises:
and in response to the end time of the escape time window reaching, closing the escape time window and clearing the DGi alarm record of the PON interface.
8. The method of claim 1, wherein the type of the escape time window is a second type, the method further comprising:
after generating a second DGi alarm message of an ONU (optical network Unit) corresponding to the PON interface, responding to the current open escape time window, and generating the time Tn of the second DGi alarm message and the time T of the (N-N + 1) th second DGi alarm message in the DGi alarm record of the PON interface(n-N+1)The difference is less than or equal to the first threshold value X, writing the second DGi alarm message and the generation time Tn thereof into a DGi alarm record of the PON interface, and determining that the (N-N + 1) th second DGi alarm message is the first second DGi alarm message, wherein N is the number of the second DGi alarm message;
and adjusting the end time of the escape time window according to the updated generation time of the first second DGi alarm message and the generation time Tn of the second DGi alarm message.
9. The method of claim 8, wherein the method further comprises:
and in response to the end time of the escape time window reaching, closing the escape time window, and deleting the first second DGi alarm message and the generation time thereof in the DGi alarm record of the PON interface.
10. The method of claim 8, wherein the method further comprises:
and after generating a second DGi alarm message of the ONU corresponding to the PON interface, responding to the situation that no escape time window is opened currently and the DGi alarm record of the PON interface is empty, and writing the second DGi alarm message and the generation time Tn thereof into the DGi alarm record of the PON interface.
11. The method of claim 6 or 8, wherein the method further comprises:
after generating a second DGi alarm message of an ONU corresponding to the PON interface, responding to the current escape time window without opening, and generating time Tn of the second DGi alarm message and generating time T of a first second DGi alarm message in DGi alarm records of the PON interfacestarThe difference is less than or equal to the first threshold value X, adding 1 to the number m of second DGi alarm messages in the DGi alarm records of the PON interface, and writing the second DGi alarm messages and the generation time Tn thereof into the DGi alarm records of the PON interface;
in response to m being equal to the second threshold N, generating a time T according to the first second DGi alarm messagestarAnd the generation time Tn of the second DGi alarm message, calculating the starting time and the ending time of an escape time window, and opening the escape time window.
12. The method of claim 6 or 8, further comprising:
after generating a second DGi alarm message of an ONU corresponding to the PON interface, responding to the current escape time window without opening, and generating time Tn of the second DGi alarm message and generating time T of a first second DGi alarm message in DGi alarm records of the PON interfacestarAnd if the difference is larger than the first threshold value X, clearing the first second DGi alarm message in the DGi alarm record of the PON interface and the generation time thereof.
13. A signal loss alarm message processing device is characterized by comprising an alarm generating module, a storage module, a processing module and a reporting module,
the alarm generating module is used for generating a loss of signal LOSi alarm message of an ONU corresponding to a PON interface, wherein i is an identifier of the ONU corresponding to the PON interface;
the storage module is used for recording the generation time of the LOSi alarm message;
the processing module is used for escaping the LOSi alarm message into a first DGi alarm message under the condition that the generation time of the LOSi alarm message falls into a currently opened escape time window; when the number m of second DGi alarm messages in DGi alarm records of the PON interface reaches a preset second threshold N within the duration of a preset first threshold X, the escape time window is opened, the starting time of the escape time window is before the generation time of the first second DGi alarm message in the DGi alarm records of the PON interface, the ending time of the escape time window is after the generation time of the current second DGi alarm message in the DGi alarm records of the PON interface, the second DGi alarm message is the DGi alarm message generated after the PON interface receives the power-down message sent by the ith ONU, and the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages;
the reporting module is configured to report the first DGi warning message.
14. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the loss of signal alert message processing method of any of claims 1-12.
15. A computer-readable medium, on which a computer program is stored, wherein the program, when executed, implements a loss of signal warning message processing method according to any one of claims 1-12.
CN202110475948.2A 2021-04-29 2021-04-29 Signal loss alarm message processing method and device, electronic equipment and readable medium Pending CN115278404A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110475948.2A CN115278404A (en) 2021-04-29 2021-04-29 Signal loss alarm message processing method and device, electronic equipment and readable medium
PCT/CN2021/130444 WO2022227496A1 (en) 2021-04-29 2021-11-12 Loss of signal alarm message processing method and apparatus, and electronic device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110475948.2A CN115278404A (en) 2021-04-29 2021-04-29 Signal loss alarm message processing method and device, electronic equipment and readable medium

Publications (1)

Publication Number Publication Date
CN115278404A true CN115278404A (en) 2022-11-01

Family

ID=83745610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110475948.2A Pending CN115278404A (en) 2021-04-29 2021-04-29 Signal loss alarm message processing method and device, electronic equipment and readable medium

Country Status (2)

Country Link
CN (1) CN115278404A (en)
WO (1) WO2022227496A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324968B (en) * 2011-06-30 2016-09-07 中兴通讯股份有限公司 A kind of method and apparatus of passive optical network terminal alarm management
CN112218180B (en) * 2019-07-12 2021-09-07 华为技术有限公司 Method, apparatus, storage medium, and program product for detecting status of optical fiber
CN110460372B (en) * 2019-08-19 2020-11-27 深圳市双翼科技股份有限公司 Passive optical network alarm management method and device
CN111064600B (en) * 2019-11-29 2023-02-21 中盈优创资讯科技有限公司 ONU area power-off and offline monitoring method and device

Also Published As

Publication number Publication date
WO2022227496A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
US20080086561A1 (en) Method for obtaining log information from network element device by network management server, a network element device and a network management server
US8526299B2 (en) Method and device for processing cell out-of-service failures
CN103370904B (en) Method, network entity for the seriousness that determines network accident
CN106301837B (en) Passive optical network alarm detection method and device
JPH08506946A (en) Event correlation in communication networks
CN110650060A (en) Processing method, equipment and storage medium for flow alarm
US20090138578A1 (en) Method, system and apparatus for managing terminal devices
JPH07183948A (en) Processing method for data that generates rule that predicts phenomenon that arises in communication system
US7293082B1 (en) Method and system for modeling behavior of elements in a telecommunications system
EP3479525A1 (en) Predicting problem events from machine data
KR20040085148A (en) Remote sensing of power supply states
CN111130821B (en) Power failure alarm method, processing method and device
KR101402532B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN105790972A (en) Controller and alarm correlation processing method
US8521869B2 (en) Method and system for reporting defects within a network
CN102195791A (en) Alarm analysis method, device and system
CN111262624B (en) Optical cable fault monitoring method and device
US7120633B1 (en) Method and system for automated handling of alarms from a fault management system for a telecommunications network
CN101854263B (en) Method, system and management server for analysis processing of network topology
CN115278404A (en) Signal loss alarm message processing method and device, electronic equipment and readable medium
EP1622310A2 (en) Administration system for network management systems
US8566634B2 (en) Method and system for masking defects within a network
CN111131066A (en) Traffic shaping method and device
CN107835097A (en) Warning information synchronous method and device, network element
CN101360313B (en) Method for uploading alarm quantity information to network management system by network element management system

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