WO2022227496A1 - Loss of signal alarm message processing method and apparatus, and electronic device and readable medium - Google Patents

Loss of signal alarm message processing method and apparatus, and electronic device and readable medium Download PDF

Info

Publication number
WO2022227496A1
WO2022227496A1 PCT/CN2021/130444 CN2021130444W WO2022227496A1 WO 2022227496 A1 WO2022227496 A1 WO 2022227496A1 CN 2021130444 W CN2021130444 W CN 2021130444W WO 2022227496 A1 WO2022227496 A1 WO 2022227496A1
Authority
WO
WIPO (PCT)
Prior art keywords
dgi
alarm
alarm message
message
time window
Prior art date
Application number
PCT/CN2021/130444
Other languages
French (fr)
Chinese (zh)
Inventor
王娟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022227496A1 publication Critical patent/WO2022227496A1/en

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

Definitions

  • the present application relates to the technical field of optical communication, and in particular, to a method, apparatus, electronic device and readable medium for processing a signal loss alarm message.
  • PON Passive Optical NetWorks, passive optical network
  • OLT Optical Line Terminal, optical line terminal
  • ONU Optical Network Unit
  • PON port the workload of manual management of fault work orders is huge, so most of the existing networks use the work order system for dispatching one.
  • the LOSi alarm message When a LOSi (Loss Of Signal) alarm message is detected on two or more ONUs under a certain PON interface, the LOSi alarm message is reported to the work order system, and the work order system will automatically dispatch a fault work order.
  • the OLT will report the DG alarm message only when it detects that the ONU signal is lost and receives the ONU's DyingGasp (power failure) message.
  • DyingGasp power failure
  • the OLT can only detect the loss of the ONU signal but does not know that the ONU is powered off. At this time, it will report the LOSi alarm message to the work order system. Therefore, when a power outage in a certain area causes a large number of ONUs to lose power in a centralized manner but no PON interface signal is lost, if there are multiple such defective ONUs in the power outage area, the OLT will display LOSi alarm messages of multiple ONUs, and the work order system will misassign the faulty worker. In a single situation, when this situation is more frequent, it will cause more waste of human resources.
  • the present application provides a method, apparatus, electronic device and readable medium for processing a signal loss alarm message.
  • an embodiment of the present application 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, where i is the PON The identifier of the ONU corresponding to the interface; when the generation time of the LOSi alarm message falls within the currently opened escape time window, the LOSi alarm message is escaped as the first DGi alarm message; wherein, in the preset No.
  • the escape time window is opened, and 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, the end time of the escape time window is the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface
  • the second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i th ONU
  • the first second DGi alarm message is the m second DGi alarm messages The first second DGi alarm message in the message; the first DGi alarm message is reported.
  • an embodiment of the present application also provides a signal loss alarm message processing device, including an alarm generation module, a storage module, a processing module and a reporting module, wherein the alarm generation module is configured to generate a signal of an ONU corresponding to a PON interface Lost LOSi alarm message, i is the identifier of the ONU corresponding to the PON interface; the storage module is set to record the generation time of the LOSi alarm message; the processing module is set to, in the LOSi alarm message When the generation time falls within the currently opened escape time window, the LOSi alarm message is escaped as the first DGi alarm message; wherein, the DGi alarm record of the PON interface within the preset first threshold X duration When the number m of second DGi alarm messages reaches the preset second threshold N, the escape time window is opened, and the start time of the escape time window is the first second DGi alarm record in the DGi alarm record of the PON interface.
  • the alarm generation module is configured to generate a signal of an ONU corresponding to
  • 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, and the second DGi alarm message is the PON interface.
  • the DGi alarm message generated after receiving the power-down message sent by the i-th ONU, the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages; the reporting The module is configured to report the first DGi alarm message.
  • an embodiment of the present application further provides an electronic device, including: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are stored by the one or more programs When executed by multiple processors, the one or more processors implement the aforementioned method for processing a signal loss alarm message.
  • an embodiment of the present application further provides a computer-readable medium on which a computer program is stored, wherein when the program is executed, the foregoing method for processing a signal loss alarm message is implemented.
  • FIG. 1 is a schematic flowchart of a method for processing a signal loss alarm message according to an embodiment of the present application
  • FIG. 2 is a schematic diagram 1 of an update process of a fixed escape time window provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram 2 of a fixed escape time window update process provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a time axis of a fixed escape time window provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram 1 of an update process of a sliding escape time window provided by an embodiment of the present application.
  • 6a is a second schematic diagram of a sliding escape time window update process provided by an embodiment of the present application.
  • 6b is a schematic flowchart of a sliding escape time window opening process provided by an embodiment of the present application.
  • FIG. 7 is a schematic time axis diagram of a sliding escape time window provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an example of a fixed escape time window provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an example of a sliding escape time window provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram 1 of an apparatus for processing a signal loss alarm message provided by an embodiment of the present application;
  • FIG. 11 is a second schematic structural diagram of an apparatus for processing a signal loss alarm message according to an embodiment of the present application.
  • FIG. 12 is a third schematic structural diagram of an apparatus for processing a signal loss alarm message according to an embodiment of the present application.
  • An embodiment of the present application provides a method for processing a signal loss alarm message. As shown in FIG. 1 , the method for processing a signal loss alarm message includes the following steps:
  • Step 11 After the signal loss LOSi alarm message of the ONU corresponding to the PON interface is generated, record the generation time of the LOSi alarm message.
  • the OLT detects that a certain ONU (for example, the i-th ONU) corresponding to a certain PON interface has lost a signal, it generates a LOSi alarm message of the PON interface.
  • i represents the identifier of the ONU corresponding to the PON interface.
  • the generation time of the LOSi 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 can be manually enabled or disabled.
  • Step 12 in the case that the generation time of the LOSi alarm message falls within the currently opened escape time window, escape the LOSi alarm message as the first DGi alarm message.
  • the escaping described in the embodiment of the present application refers to generating the first DGi alarm message according to the LOSi alarm message. It should be noted that the LOSi alarm message is still retained, but the LOSi alarm message is no longer reported, but the generated first DGi alarm message is reported.
  • the escape time window refers to the time period in which the escape operation can be performed, and is limited by the start time and the end time.
  • the escape time window is the time period between the start time and the end time.
  • the first threshold X is less 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 between After the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface.
  • the escape time window closes. It should be noted that the time when the escape time window is judged to be opened is usually after the start time of the escape time window. When it is determined that the escape time window is open, it is traced back to the start time of the escape time window, and the escape time window is turned on. defined time window.
  • the first second DGi alarm message is the first second DGi alarm message among the m second DGi alarm messages in the DGi alarm record.
  • the second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i-th ONU. That is to say, when the OLT detects that a certain ONU (for example, the i-th ONU) corresponding to a certain PON interface is lost, and the PON interface receives the DyingGasp message sent by the i-th ONU, it generates the first signal of the PON interface. Two DGi alarm messages.
  • the LOSi alarm message is escaped into the first DGi alarm message.
  • the first DGi alarm message and the second DGi alarm message are both DGi alarm messages, but the first DGi alarm message is a DGi alarm message generated by escaping, and the second DGi alarm message is a DGi alarm generated based on the DyingGasp message sent by the ONU information.
  • Step 13 reporting the first DGi alarm message.
  • the first DGi alarm message is reported to the work order system, and the work order system is a functional module of the work order system and the network management device. It should be noted that, after the second DGi alarm message is generated, it is also reported to the work order system.
  • the OLT If the OLT generates the second DGi alarm message multiple times within the duration of the first threshold X, indicating that the ONUs in a certain area may be powered off, then, within the escape time window, if other ONUs ( The faulty ONU) has been powered off and cannot send the DyingGasp message to the OLT.
  • the OLT only detects that the ONU signal is lost, and the resulting LOSi alarm message (but in fact the faulty ONU has been powered off at this time) may be a false alarm.
  • This part of the LOSi alarm message is escaped into the first DGi alarm message and reported to the work order system, so as to avoid the mis-assignment of a faulty work order and improve the accuracy of ONU power failure judgment.
  • the generation time of the LOSi alarm message is recorded; when the generation time of the LOSi alarm message falls within the currently enabled escape In the case of a time window, the LOSi alarm message is escaped as the first DGi alarm message, and the first DGi alarm message is reported, wherein the second DGi alarm record in the DGi alarm record of the PON interface within the preset first threshold X duration.
  • the escape time window is opened, and 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.
  • the end time of the time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface.
  • the method for processing a signal loss alarm message further includes the following steps: buffering the LOSi alarm message in a buffer; when the escape time window changes, or a preset When the scan period arrives, scan the buffer for LOSi alarm messages.
  • the change of the escape time window includes one or any combination of the following: the end time of the escape time window changes, and both the start time and the end time of the escape time window change.
  • the method for processing a loss of signal alarm message may further include the following step: when the generation time of the LOSi alarm message does not fall within the currently enabled escape time window, and when the generation duration of the LOSi alarm message is greater than p times the first threshold X, the LOSi alarm message is reported, where p is an integer greater than 1. That is to say, the LOSi alarm messages that are not within the escape time window and the generated duration is longer than pX are time-out LOSi alarm messages, and report these time-out LOSi alarm messages to the work order system. Report the current time, not the generation time of the LOSi alarm message. In some embodiments, p may be 2.
  • the embodiment of the present application also needs to perform alarm recovery.
  • the method further includes the following steps: in response to receiving the LOSi recovery message, clearing the LOSi alarm message and the first DGi alarm message. A DGi alarm message, and the LOSi alarm recovery message and the first DGi alarm recovery message are reported.
  • a DGi alarm record is maintained for each PON interface, and the DGi alarm record is used to record the second DGi alarm message and its information (including the generation time).
  • each second DGi alarm message Arranged in positive order by generation time.
  • the start time of the escape time window is T N -X'
  • the end time of the escape time window is T star +X'
  • X' X+(T N +T star )/X
  • TN is the generation time of the last second DGi alarm message in the DGi alarm record of the PON interface
  • T star is the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface.
  • 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, and the fixed escape time window refers to the start of the escape time window. Neither the time nor the end time changes, and the fixed escape time window closes once the end time is reached.
  • the sliding escape time window means that the end time of the escape time window can be changed, for example, the end time can be adjusted backward, that is, the duration of the sliding escape time window is increased.
  • the type of the escape time window is pre-configured.
  • the type of the escape time window is the first type (that is, the fixed escape time window)
  • the method for processing a signal loss alarm message The following steps can also be included:
  • Step 21 after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the current escape time window not being opened, and the generation time Tn of the second DGi alarm message is the first in the DGi alarm record of the PON interface.
  • the difference between the generation times T star of the second DGi alarm message is less than or equal to the first threshold X, the number m of the second DGi alarm messages in the DGi alarm record of the PON interface is increased by 1, and the second DGi alarm message and its generation
  • the time Tn is written into the DGi alarm record of the PON interface.
  • n is the number of the second DGi alarm message.
  • the judgment of whether to update the escape time window and whether to update the DGi alarm record is triggered.
  • the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record is less than or equal to the first threshold X , indicating 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 frequent power failure alarms have occurred in the current period of time, so it is necessary to record the second DGi alarm message and the frequent The number of power failure alarms that occur (ie m), then add 1 to the number m of the second DGi alarm message in the DGi alarm record of the PON interface, and write the second DGi alarm message and its generation time Tn into the PON DGi alarm record of the interface.
  • Step 22 in response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message, calculate the start time and end time of the escape time window, And open the escape time window.
  • determine and open the escape time window so as to escape the LOSi alarm messages that fall within the escape time window, so as to avoid false alarms to the work order system .
  • the method for processing the signal loss alarm message may further include the following steps: If the difference between the generation time Tn of the alarm message and the generation time T star of the first and second DGi alarm messages in the DGi alarm record of the PON interface is greater than the first threshold X, the DGi alarm record of the PON interface is cleared.
  • the method for processing a signal loss alarm message may further include the following steps: after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the currently opened escape time window, no longer update the The DGi alarm record of the PON interface, that is, the current second DGi alarm message and its 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 LOSi alarm message can be monitored according to the escape time window, and it is meaningless to record the current second DGi alarm message, so it is no longer updated. DGi alarm records of the PON interface, thereby saving storage resources and reducing data processing.
  • the method for processing a signal loss alarm message may further include the following steps: in response to the arrival of the end time of the escape time window, closing the escape time window, and clearing the DGi alarm record of the PON interface.
  • FIG. 3 is an update flow of a fixed escape time window when the escape time window is not opened.
  • the update process of the fixed escape time window includes the following steps:
  • Step 301 Generate a second DGi alarm message of the ONU corresponding to the PON interface.
  • Step 302 it is judged whether there is a second DGi alarm message in the DGi alarm record of the PON interface, if so, step 304 is performed; otherwise, step 303 is performed.
  • step 304 if there is a second DGi alarm message in the DGi alarm record of the PON interface, it is further judged whether there is currently an escape time window open (ie, step 304 is executed); if there is no second DGi alarm message in the DGi alarm record of the PON interface If there is a second DGi alarm message, the second DGi alarm message generated in step 301 (that is, 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 (that is, step 303 is executed. ).
  • Step 303 Write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
  • step 304 it is determined whether there is currently an open escape time window, and if so, step 305 is performed; otherwise, step 306 is performed.
  • Step 305 the DGi alarm record of the PON interface is no longer updated.
  • the second DGi alarm message generated during the opening of the escape time window is no longer written into the DGi alarm record.
  • Step 306 Determine whether the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and if so, execute the step 308, otherwise, step 307 is executed.
  • Step 307 Clear the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface.
  • Step 308 Add 1 to the number m of the second DGi alarm message in the DGi alarm record of the PON interface, and write the second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
  • step 309 if Tn-T star ⁇ X, it means that the first opening condition of the escape time window is satisfied, then update the DGi alarm record of the PON interface (including the number m of second DGi alarm messages and the second DGi alarm message ), and further determine whether the second opening condition of the escape time window is satisfied (ie, step 309 is executed).
  • Step 309 determine whether the number m of second DGi alarm messages in the DGi alarm record of the PON interface is equal to the second threshold N, and if it is equal, perform step 310 , otherwise, end the process.
  • step 310 is executed
  • m ⁇ N that is, m ⁇ N
  • the escape time window is not opened.
  • the second DGi alarm message generated this time triggers this fixed escape time window.
  • the update process is over (without opening the escape time window).
  • Step 310 Calculate the start time and end time of the escape time window according to the generation time T star of the first second DGi alarm message and the generation time Tn of the current second DGi alarm message, and open the escape time window.
  • Step 311 when the end time of the escape time window arrives, close the escape time window, and clear the DGi alarm record of the PON interface.
  • the current generation time of the second DGi alarm message is Tn
  • the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is T1
  • the current second DGi alarm message is The last second DGi alarm message in the DGi alarm record of the PON interface
  • the start time of the escape time window is calculated as T N -X'
  • the method for processing a signal loss alarm message may further include the following steps:
  • Step 51 after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the currently opened escape time window, and the generation time Tn of the second DGi alarm message and the DGi alarm record of the PON interface No.
  • the difference between the generation times T (n-N+1) of n-N+1) second DGi alarm messages is less than or equal to the first threshold X, and the second DGi alarm message and its generation time Tn are written into the PON
  • the DGi alarm of the interface is recorded, and the (n-N+1)th second DGi alarm message is determined to be the first second DGi alarm message.
  • the judgment of whether to update the escape time window and whether to update the DGi alarm record is triggered.
  • the generation time Tn of the current second DGi alarm message is the same as the generation time T ( n-N+1)th second DGi alarm message in the DGi alarm record.
  • the difference between N+1) is less than or equal to the first threshold X, indicating 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 small, so the current The second DGi alarm message and its generation time Tn are written into the DGi alarm record of the PON interface. Delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface, so as to adjust T star to T (n-N+1) .
  • Step 52 Adjust the end time of the escape time window according to the generation time of the updated first second DGi alarm message and the generation time Tn of the second DGi alarm message.
  • the method for processing a signal loss alarm message further includes the following steps: in response to the arrival of the end time of the escape time window, closing the escape time window, and deleting the first second in the DGi alarm record of the PON interface DGi alarm messages and their generation time, so as to keep the latest (N-1) second DGi alarm messages in the DGi alarm record of the PON interface, so that it can be judged whether the occurrence of each second DGi alarm message generated subsequently can be determined Power down phenomenon, the escape time window determined by this is more accurate.
  • the method for processing a signal loss alarm message may further include the following steps: after generating the DGi alarm message of the ONU corresponding to the PON interface, in response to the currently open escape time window, and the DGi alarm of the PON interface If the record is empty, write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, taking the generation time Tn of the current second DGi alarm message as the first second DGi alarm record in the DGi alarm record of the PON interface. The generation time T star of the DGi alarm message.
  • the method for processing a signal loss alarm message may further include the following steps: Step 61, after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the current no-open escape time window, and The difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and the second DGi alarm record of the PON interface is set as the second DGi alarm message.
  • the number m of DGi alarm messages is increased by 1, and the second DGi alarm message and its generation time Tn are written into the DGi alarm record of the PON interface; step 62, in response to m being equal to the second threshold N, according to the first second DGi alarm message
  • the generation time T star of the alarm message and the generation time Tn of the current second DGi alarm message are calculated, the start time and end time of the escape time window are calculated, and the escape time window is opened.
  • the update process of the escape time window ie, steps 61-62
  • the process of updating the escape time window of the first type ie, steps 21-22) is the same, and details are not described here.
  • the update process of the sliding escape time window includes the following steps:
  • Step 601 Generate a second DGi alarm message of the ONU corresponding to the PON interface.
  • Step 602 it is judged whether there is currently an open escape time window, if so, step 603 is performed; otherwise, step 606 is performed.
  • Step 603 Determine whether the difference between the generation time Tn of the second DGi alarm message and the generation time T (n-N+1) of the (n-N+1)th second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, if yes, go to step 604, otherwise, end the process.
  • Step 604 write the second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, adjust T star to T (n-N+1) , and according to the updated first second DGi alarm message
  • the generation time and the generation time Tn of the second DGi alarm message are used to adjust the end time of the escape time window.
  • n is the number of the second DGi alarm message.
  • delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface so as to adjust T star to T (n-N+1) , and to escape the end of the time window
  • the time is adjusted to T (n-N+1) +X'.
  • the generation time of the current second DGi alarm message is Tn, and it is determined that the escape time window A is opened after the second DGi alarm message is generated.
  • Tn T N
  • the escape time window A The start time of is T N -X'
  • the second DGi alarm message and its generation time so that T star is adjusted from T1 to T (n-N+1) , and correspondingly, the end time of the escape time window A is adjusted to T star +X' (that is, T ( n-N+1) +X'), so as to obtain the escape time window A', that is, the escape time window A' is opened, and the start time of the escape time window A' remains unchanged, which is still T N -X', that is The escape time window A' is extended backward relative to the escape time window A.
  • Step 605 when the end time of the escape time window arrives, close the escape time window, and delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface, so that it can be recorded in the DGi alarm record of the PON interface.
  • the most recent (N-1) second DGi alarm messages are retained.
  • Steps 601-605 are the update process 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. 6b. As shown in Figure 6b, the process includes the following steps:
  • Step 606 it is judged whether the DGi alarm record of the PON interface is empty, if so, go to step 608, otherwise, go to step 607.
  • Step 607 Write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
  • Step 608 Determine whether the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and if so, execute Step 610, otherwise, go to step 609.
  • Step 609 Clear the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface.
  • Step 610 Add 1 to the number m of second DGi alarm messages in the DGi alarm record of the PON interface, and write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
  • step 611 determines whether the second opening condition of the escape time window is satisfied.
  • 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 it is equal, go to step 612, otherwise, end the process.
  • step 612 if both conditions for opening the escape time window are satisfied, then the escape time window is opened (ie, step 612 is executed) ; If m ⁇ N, that is, m ⁇ N, it means that the second opening condition of the escape time window is not met, the escape time window is not opened, and the current second DGi alarm message triggers the update of the sliding escape time window. Process ends.
  • Step 612 according to the generation time T star of the first second DGi alarm message and the generation time Tn of the current second DGi alarm message, calculate the start time and end time of the escape time window, open the escape time window, and execute step 605 .
  • FIG. 8 is an example of a fixed escape time window.
  • the OLT generates second DGi alarm messages at 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-7 respectively.
  • the escape time window is opened, and all LOSi alarm messages stored in the buffer are scanned.
  • LOSi 1 and LOSi2 whose LOSi alarm message generation time is between 1.54 seconds and 6.76 seconds are escaped as 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 has closed and, therefore, is recorded in the DGi alert log.
  • the LOSi3 generated outside the escape time window cannot be escaped as the first DGi alarm message. If the LOSi3 is stored in the buffer for 6 seconds, it will be reported according to the LOSi alarm disappearance timeout.
  • Fig. 9 is an example of sliding escape time window, as shown in Fig. 9, user configuration: X is 3 seconds, N is 5.
  • open escape time window 1 scan all LOSi alarm messages stored in the buffer, and escape LOSi1 and LOSi2 as the first DGi alarm message.
  • Adjust the end time of the currently opened escape time window 1 to T2+(3+(T6-T2)/3) 7 seconds.
  • the escape time window 1 becomes the escape time window 1', and the escape time window 1' is still on. All LOSi alarm messages stored in the scanning buffer are scanned, and there is no new escapeable LOSi alarm within the escape time window 1'.
  • a DGi alarm record is maintained for each PON interface, and the DGi alarm record is used to record the most recent m times (m is less than or equal to N) second DGi alarm messages generated by the PON interface and their generation times.
  • the generation time of m second DGi alarm messages determines a time window (ie, escape time window), which is used as a criterion for intelligently determining whether the ONU is powered off.
  • the generation of the second DGi alarm message and the open state of the current escape time window trigger the update of the DGi alarm record.
  • the maintenance of the DGi alarm record can adopt two strategies of fixed time window and sliding time window.
  • the LOS escape function can be set to be turned on or off, and the time period parameters before and after LOSi escape (ie the first threshold X) and the criterion for judging the frequency of DGi alarms in this time period (ie the second threshold N) can also be Adjust according to the actual situation to improve the accuracy of OMU power failure judgment.
  • the solution of the embodiment of the present application is flexible, and the LOS escape function switch and related parameters can be configured according to the needs of different users. When the LOS escape function is enabled, it can be accurately judged whether the defective ONU is powered off, so as to avoid the situation of misassigning the fault work order. Meet the needs of different users and enhance product competitiveness.
  • the signal loss alarm message processing apparatus includes an alarm generation module 101 , a storage module 102 , a processing module 103 , and a reporting module 101 .
  • the alarm generating module 101 is configured to generate a signal loss LOSi alarm message of the ONU corresponding to the PON interface, where i is the identifier of the 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 escape the LOSi alarm message as a first DGi alarm message when the generation time of the LOSi alarm message falls within the currently opened escape time window;
  • the escape time window is opened, and 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, the end time of the escape time window is the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface
  • the second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i th ONU, and the first second DGi alarm message is the m second DGi alarm messages The first second DGi alert message in the message.
  • the reporting module 104 is configured to report the first DGi alarm message.
  • the storage module 102 is further configured to buffer the LOSi alarm message in a buffer after recording the generation time of the LOSi alarm message.
  • the processing module 103 is configured to scan the LOSi alarm message in the buffer when the escape time window changes, or when a preset scan period arrives.
  • the reporting module 104 is further configured to, after the storage module 102 records the generation time of the LOSi alarm message, the processing module 103 determines that the generation time of the LOSi alarm message does not fall within the currently enabled transition.
  • the processing module 103 determines that the generation time of the LOSi alarm message does not fall within the currently enabled transition.
  • the defined time window is defined, and the generation duration of the LOSi alarm message is greater than p times the first threshold X, the LOSi alarm message is reported, where p is an integer greater than 1.
  • the processing module 103 is further configured to, in response to receiving the LOSi alert message, clear the LOSi alert message and the first DGi alert message, and instruct the reporting module 104 to report the LOSi alert recovery message and the first DGi alert message DGi alarm recovery message.
  • the start time of the escape time window is T N -X'
  • the end time of the escape time window is T star +X'
  • X' X+(T N +T star )/X
  • TN is the generation time of the last second DGi alarm message in the DGi alarm record of the PON interface
  • T star is the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface.
  • the apparatus for processing a signal loss alarm message further includes a DGi alarm record first maintenance module 105 , and the DGi alarm record is the first maintenance module 105 .
  • a 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, in response to the currently opened escape time window, no longer update the DGi alarm of the PON interface Record.
  • the DGi alarm record first maintenance module 105 is further configured to, in response to the arrival of the end time of the escape time window, close the escape time window, and clear the DGi alarm record of the PON interface .
  • the signal loss alarm message processing apparatus further includes an escape time window first maintenance module 106, and the DGi alarm record first maintenance module 105 is further configured to generate the first ONU corresponding to the PON interface.
  • the escape time window first maintenance module 106 is set to, in response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message, Calculate the start time and end time of the escape time window, and open the escape time window.
  • the DGi alarm record first maintenance module 105 is further configured to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, in response to an escape time window that is not currently enabled , and the difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is greater than the first threshold X, clear the PON interface The first and second DGi alarm messages in the DGi alarm record and their generation time.
  • the apparatus for processing a signal loss alarm message further includes a DGi alarm record second maintenance module 105 ′ and an escape time
  • the window second maintenance module 106' and the DGi alarm record second maintenance module 105' are set to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, in response to the currently enabled escape time window, and the generation time Tn of the second DGi alarm message and the generation time T (n-N+1) of the (n-N+1)th second DGi alarm message in the DGi alarm record of the PON interface
  • the difference is less than or equal to the first threshold X, write the second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, and determine the (n-N+1)th
  • the second DGi alarm message is the first second DGi alarm message, and n is the number of the second DGi alarm message.
  • the escape time window second maintenance module 106' is configured to adjust the end of the escape time window according to the generation time of the updated first second DGi alarm message and the generation time Tn of the second DGi alarm message time.
  • the DGi alarm record second maintenance module 105' is further configured to, in response to the arrival of the end time of the escape time window, close the escape time window, and delete the DGi alarm of the PON interface The first second DGi alarm message in the record and its generation time.
  • the DGi alarm record second maintenance module 105' is further configured to, in response to the current escape time window not being opened, and the DGi alarm record of the PON interface being empty, the second DGi alarm record The message and its generation time Tn are written into the DGi alarm record of the PON interface.
  • the DGi alarm record second maintenance module 105' is further configured to, after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the current escape time window not being opened, and all The difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and the The number m of the second DGi alarm message in the DGi alarm record is incremented by 1, and the second DGi alarm message and its generation time Tn are written into the DGi alarm record of the PON interface.
  • the escape time window second maintenance module 106' is set to, in response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message , Calculate the start time and end time of the escape time window, and open the escape time window.
  • the DGi alarm record second maintenance module 105' is further configured to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, in response to the escape that is not currently enabled time window, and the difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is greater than the first threshold X, clear the The first and second DGi alarm messages in the DGi alarm record of the PON interface and their generation time.
  • An embodiment of the present application also provides an electronic device, the electronic device includes: one or more processors and a storage device; wherein, one or more programs are stored on the storage device, when the one or more programs are stored by the one or more programs described above When executed by one or more processors, the above-mentioned one or more processors implement the method for processing a signal loss alarm message as provided in the foregoing embodiments.
  • Embodiments of the present application further provide a computer-readable medium on which a computer program is stored, wherein, when the computer program is executed, the method for processing a signal loss alarm message provided by the foregoing embodiments is implemented.
  • An embodiment of the present application provides a method for processing a signal loss alarm message. After a signal loss LOSi alarm message of an ONU corresponding to a PON interface is generated, the generation time of the LOSi alarm message is recorded; In the case of a defined time window, the LOSi alarm message is escaped as the first DGi alarm message, and the first DGi alarm message is reported, wherein the second DGi alarm record in the DGi alarm record of the PON interface within the preset first threshold X When the number m of DGi alarm messages reaches the preset second threshold N, the escape time window is opened, and 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.
  • the end time of the defined time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface.
  • Computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • 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 can include any information delivery media, as is well known to those of ordinary skill in the art .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A loss of signal alarm message processing method and apparatus, and an electronic device and a readable medium. The method comprises: after a loss of signal (LOSi) alarm message of an ONU corresponding to a PON interface is generated, recording the generation time of the LOSi alarm message (S11); if the generation time of the LOSi alarm message falls within the currently opened escape time window, escaping the LOSi alarm message to a first DGi alarm message (S12); and reporting the first DGi alarm message (S13), 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.

Description

信号丢失告警消息处理方法、装置、电子设备和可读介质Signal loss alarm message processing method, apparatus, electronic device and readable medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110475948.2、申请日为2021年4月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110475948.2 and the filing date of April 29, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及光通信技术领域,具体涉及一种信号丢失告警消息处理方法、装置、电子设备和可读介质。The present application relates to the technical field of optical communication, and in particular, to a method, apparatus, electronic device and readable medium for processing a signal loss alarm message.
背景技术Background technique
目前国内国外最流行的光接入网技术是PON(Passive Optical NetWorks,无源光网络),在整个PON系统中,OLT(Optical Line Terminal,光线路终端)上有多个PON口,各个ONU(Optical Network Unit,光网络单元)通过OLT的PON口接入PON接入系统,由于各个PON接口会接入大量ONU,人工管理故障工单的工作量巨大,所以现网大多采用工单系统进行派单。At present, the most popular optical access network technology at home and abroad is PON (Passive Optical NetWorks, passive optical network). In the entire PON system, there are multiple PON ports on the OLT (Optical Line Terminal, optical line terminal), and each ONU ( Optical Network Unit (optical network unit) is connected to the PON access system through the PON port of the OLT. Since each PON port will be connected to a large number of ONUs, the workload of manual management of fault work orders is huge, so most of the existing networks use the work order system for dispatching one.
在某个PON接口下检测到两个以上ONU出现LOSi(Loss Of Signal,信号丢失)告警消息时,向工单系统上报LOSi告警消息,工单系统会自动派发故障工单。OLT只有在检测到ONU信号丢失并收到ONU的DyingGasp(掉电)消息时才会上报DG告警消息,但是,但是现网存在一定数量的缺陷ONU,由于各种原因(比如,ONU电源适配器不匹配,或者停电前市电处于欠压状态等)在停电时无法上报DyingGasp消息。如果ONU无法上报DyingGasp消息,在ONU掉电时,OLT只能检测到ONU信号丢失但是并不知道ONU掉电,这时就会向工单系统上报LOSi告警消息。于是,当某区域停电造成ONU大量集中掉电但是没有PON接口信号丢失时,如果停电区域存在多个这样的缺陷ONU,OLT出现多个ONU的LOSi告警消息,工单系统会出现误派故障工单的情况,当这种情况比较频繁时,造成较多的人力资源浪费。When a LOSi (Loss Of Signal) alarm message is detected on two or more ONUs under a certain PON interface, the LOSi alarm message is reported to the work order system, and the work order system will automatically dispatch a fault work order. The OLT will report the DG alarm message only when it detects that the ONU signal is lost and receives the ONU's DyingGasp (power failure) message. However, there are a certain number of defective ONUs in the existing network. Due to various reasons (for example, the ONU power adapter is not Matching, or the mains is in an undervoltage state before the power outage, etc.) The DyingGasp message cannot be reported during a power outage. 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 that the ONU is powered off. At this time, it will report the LOSi alarm message to the work order system. Therefore, when a power outage in a certain area causes a large number of ONUs to lose power in a centralized manner but no PON interface signal is lost, if there are multiple such defective ONUs in the power outage area, the OLT will display LOSi alarm messages of multiple ONUs, and the work order system will misassign the faulty worker. In a single situation, when this situation is more frequent, it will cause more waste of human resources.
发明内容SUMMARY OF THE INVENTION
本申请提供一种信号丢失告警消息处理方法、装置、电子设备和可读介质。The present application provides a method, apparatus, electronic device and readable medium for processing a signal loss alarm message.
第一方面,本申请实施例提供一种信号丢失告警消息处理方法,包括:在生成PON接口对应的ONU的信号丢失LOSi告警消息之后,记录所述LOSi告警消息的生成时间,i为所述PON接口对应的ONU的标识;在所述LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将所述LOSi告警消息转义为第一DGi告警消息;其中,在预设第一阈值X的时长内所述PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,所述转义时间窗口开启,所述转义时间窗口的开始时间在所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,所述转义时间窗口的结束时间在所述PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后,所述第二DGi告警消息为所述PON接口接收到第i个ONU发送的掉电消息后生成的DGi告警消息,所述首个第二DGi告警消息是所述 m个第二DGi告警消息中的首个第二DGi告警消息;上报所述第一DGi告警消息。In a first aspect, an embodiment of the present application 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, where i is the PON The identifier of the ONU corresponding to the interface; when the generation time of the LOSi alarm message falls within the currently opened escape time window, the LOSi alarm message is escaped as the first DGi alarm message; wherein, in the preset No. When the number m of second DGi alarm messages in the DGi alarm record of the PON interface reaches a preset second threshold N within the duration of a threshold X, the escape time window is opened, and 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, the end time of the escape time window is the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface After that, the second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i th ONU, and the first second DGi alarm message is the m second DGi alarm messages The first second DGi alarm message in the message; the first DGi alarm message is reported.
又一方面,本申请实施例还提供一种信号丢失告警消息处理装置,包括告警生成模块、存储模块、处理模块和上报模块,所述告警生成模块被设置成,生成PON接口对应的ONU的信号丢失LOSi告警消息,i为所述PON接口对应的ONU的标识;所述存储模块被设置成,记录所述LOSi告警消息的生成时间;所述处理模块被设置成,在所述LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将所述LOSi告警消息转义为第一DGi告警消息;其中,在预设第一阈值X的时长内所述PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,所述转义时间窗口开启,所述转义时间窗口的开始时间在所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,所述转义时间窗口的结束时间在所述PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后,所述第二DGi告警消息为所述PON接口接收到第i个ONU发送的掉电消息后生成的DGi告警消息,所述首个第二DGi告警消息是所述m个第二DGi告警消息中的首个第二DGi告警消息;所述上报模块被设置成,上报所述第一DGi告警消息。On the other hand, an embodiment of the present application also provides a signal loss alarm message processing device, including an alarm generation module, a storage module, a processing module and a reporting module, wherein the alarm generation module is configured to generate a signal of an ONU corresponding to a PON interface Lost LOSi alarm message, i is the identifier of the ONU corresponding to the PON interface; the storage module is set to record the generation time of the LOSi alarm message; the processing module is set to, in the LOSi alarm message When the generation time falls within the currently opened escape time window, the LOSi alarm message is escaped as the first DGi alarm message; wherein, the DGi alarm record of the PON interface within the preset first threshold X duration When the number m of second DGi alarm messages reaches the preset second threshold N, the escape time window is opened, and the start time of the escape time window is the first second DGi alarm record in the DGi alarm record of the PON interface. Before the generation time of the alarm message, 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, and the second DGi alarm message is the PON interface. The DGi alarm message generated after receiving the power-down message sent by the i-th ONU, the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages; the reporting The module is configured to report the first DGi alarm message.
又一方面,本申请实施例还提供一种电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前所述的信号丢失告警消息处理方法。In another aspect, an embodiment of the present application further provides an electronic device, including: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are stored by the one or more programs When executed by multiple processors, the one or more processors implement the aforementioned method for processing a signal loss alarm message.
又一方面,本申请实施例还提供一种计算机可读介质,其上存储有计算机程序,其中,所述程序被执行时实现如前所述的信号丢失告警消息处理方法。In another aspect, an embodiment of the present application further provides a computer-readable medium on which a computer program is stored, wherein when the program is executed, the foregoing method for processing a signal loss alarm message is implemented.
附图说明Description of drawings
图1为本申请实施例提供的信号丢失告警消息处理方法的流程示意图;1 is a schematic flowchart of a method for processing a signal loss alarm message according to an embodiment of the present application;
图2为本申请实施例提供的固定转义时间窗口的更新流程示意图一;2 is a schematic diagram 1 of an update process of a fixed escape time window provided by an embodiment of the present application;
图3为本申请实施例提供的固定转义时间窗口更新流程示意图二;3 is a schematic diagram 2 of a fixed escape time window update process provided by an embodiment of the present application;
图4为本申请实施例提供的固定转义时间窗口的时间轴示意图;4 is a schematic diagram of a time axis of a fixed escape time window provided by an embodiment of the present application;
图5为本申请实施例提供的滑动转义时间窗口的更新流程示意图一;5 is a schematic diagram 1 of an update process of a sliding escape time window provided by an embodiment of the present application;
图6a为本申请实施例提供的滑动转义时间窗口更新流程示意图二;6a is a second schematic diagram of a sliding escape time window update process provided by an embodiment of the present application;
图6b为本申请实施例提供的滑动转义时间窗口开启流程示意图;6b is a schematic flowchart of a sliding escape time window opening process provided by an embodiment of the present application;
图7为本申请实施例提供的滑动转义时间窗口的时间轴示意图;7 is a schematic time axis diagram of a sliding escape time window provided by an embodiment of the present application;
图8为本申请实施例提供的固定转义时间窗口的实例示意图;8 is a schematic diagram of an example of a fixed escape time window provided by an embodiment of the present application;
图9为本申请实施例提供的滑动转义时间窗口的实例示意图;9 is a schematic diagram of an example of a sliding escape time window provided by an embodiment of the present application;
图10为本申请实施例提供的信号丢失告警消息处理装置的结构示意图一;10 is a schematic structural diagram 1 of an apparatus for processing a signal loss alarm message provided by an embodiment of the present application;
图11为本申请实施例提供的信号丢失告警消息处理装置的结构示意图二;FIG. 11 is a second schematic structural diagram of an apparatus for processing a signal loss alarm message according to an embodiment of the present application;
图12为本申请实施例提供的信号丢失告警消息处理装置的结构示意图三。FIG. 12 is a third schematic structural diagram of an apparatus for processing a signal loss alarm message according to an embodiment of the present application.
具体实施方式Detailed ways
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本申请透彻和完整,并将使本领域技术人员充分理解本申请的范围。Example embodiments are 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 application will be thorough and complete, and will fully convey the scope of the application 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 used to describe particular embodiments only and is not intended to limit the application. As used herein, the singular forms "a" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, the stated features, integers, steps, operations, elements and/or components are specified to be present, but not precluded or Add one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
本文所述实施例可借助本申请的理想示意图而参考平面图和/或截面图进行描述。因此,可根据制造技术和/或容限来修改示例图示。因此,实施例不限于附图中所示的实施例,而是包括基于制造工艺而形成的配置的修改。因此,附图中例示的区具有示意性属性,并且图中所示区的形状例示了元件的区的具体形状,但并不旨在是限制性的。The embodiments described herein may be described with reference to plan views and/or cross-sectional views with the aid of idealized schematic representations of the present application. Accordingly, example illustrations may be modified according to manufacturing techniques and/or tolerances. Therefore, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on manufacturing processes. Thus, the regions illustrated in the figures have schematic properties and the shapes of regions illustrated in the figures are illustrative of the specific shapes of regions of elements and 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 also be understood that terms such as those defined in commonly used dictionaries should be construed as having meanings consistent with their meanings in the context of the related art and this application, and will not be construed as having idealized or over-formal meanings, unless expressly so limited herein.
本申请实施例提供一种信号丢失告警消息处理方法,如图1所示,所述信号丢失告警消息处理方法包括以下步骤:An embodiment of the present application provides a method for processing a signal loss alarm message. As shown in FIG. 1 , the method for processing a signal loss alarm message includes the following steps:
步骤11,在生成PON接口对应的ONU的信号丢失LOSi告警消息之后,记录LOSi告警消息的生成时间。Step 11: After the signal loss LOSi alarm message of the ONU corresponding to the PON interface is generated, record the generation time of the LOSi alarm message.
若OLT检测到某个PON接口对应的某个ONU(例如第i个ONU)信号丢失,则生成该PON接口的LOSi告警消息。在本申请实施例中,i表示PON接口对应的ONU的标识。在本步骤中,在生成该PON接口的LOSi告警消息之后,在该PON接口的LOS转义功能开启的情况下,记录该LOSi告警消息的生成时间。需要说明的是,LOS转义功能是针对OLT的每个PON接口设置的,各个PON接口的转义功能可以人为开启或关闭。If the OLT detects that a certain ONU (for example, the i-th ONU) corresponding to a certain PON interface has lost a signal, it generates a LOSi alarm message of the PON interface. In the embodiment of the present application, i represents the identifier of the ONU corresponding to the PON interface. In this step, after the LOSi alarm message of the PON interface is generated, and the LOS escape function of the PON interface is enabled, the generation time of the LOSi 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 can be manually enabled or disabled.
步骤12,在LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将LOSi告警消息转义为第一DGi告警消息。Step 12, in the case that the generation time of the LOSi alarm message falls within the currently opened escape time window, escape the LOSi alarm message as the first DGi alarm message.
本申请实施例所述的转义是指,根据LOSi告警消息生成第一DGi告警消息。需要说明的是,该LOSi告警消息仍然保留,只不过不再上报该LOSi告警消息,而是上报生成的第一DGi告警消息。The escaping described in the embodiment of the present application refers to generating the first DGi alarm message according to the LOSi alarm message. It should be noted that the LOSi alarm message is still retained, but the LOSi alarm message is no longer reported, but the generated first DGi alarm message is reported.
转义时间窗口是指能够进行转义操作的时间段,由开始时间和结束时间限定,转义时间窗口即为开始时间与结束时间之间的时间段。在预设第一阈值X的时长内,该PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,转义时间窗口开启。第一阈值X小于转义时间窗口的开启时长,即转义时间窗口的开始时间在该PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,转义时间窗口的结束时间在该PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后。在结束时间到达时,转义时间窗口关闭。需要说明的是,判断转义时间窗口开启的时间通常是在转义时间窗口的开始时间之后,当判断出转义时间窗口开启时,向前回溯到转义时间窗口的开始时间,开启该转义时间窗口。The escape time window refers to the time period in which the escape operation can be performed, and is limited by the start time and the end time. The escape time window is the time period between the start time and the end time. Within the duration of the preset first threshold X, when the number m of second DGi alarm messages in the DGi alarm record of the PON interface reaches the preset second threshold N, the escape time window is opened. The first threshold X is less 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 between 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 closes. It should be noted that the time when the escape time window is judged to be opened is usually after the start time of the escape time window. When it is determined that the escape time window is open, it is traced back to the start time of the escape time window, and the escape time window is turned on. defined time window.
首个第二DGi告警消息是DGi告警记录中m个第二DGi告警消息中的首个第二DGi告警消息。第二DGi告警消息为该PON接口接收到第i个ONU发送的掉电消息后生成的DGi告警消息。也就是说,OLT在检测到某个PON接口对应的某个ONU(例如第i个ONU)信号丢失,且该PON接口接收到该第i个ONU发送的DyingGasp消息时,生成该PON接口的第二DGi告 警消息。The first second DGi alarm message is the first second DGi alarm message among the m second DGi alarm messages in the DGi alarm record. The second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i-th ONU. That is to say, when the OLT detects that a certain ONU (for example, the i-th ONU) corresponding to a certain PON interface is lost, and the PON interface receives the DyingGasp message sent by the i-th ONU, it generates the first signal of the PON interface. Two DGi alarm messages.
在本步骤中,一旦发现LOSi告警消息的生成时间落入当前开启的转义时间窗口内,就将该LOSi告警消息转义为第一DGi告警消息。第一DGi告警消息和第二DGi告警消息均是DGi告警消息,只不过第一DGi告警消息是转义生成的DGi告警消息,而第二DGi告警消息是基于ONU发送的DyingGasp消息生成的DGi告警消息。In this step, once it is found that the generation time of the LOSi alarm message falls within the currently opened escape time window, the LOSi alarm message is escaped into the first DGi alarm message. The first DGi alarm message and the second DGi alarm message are both DGi alarm messages, but the first DGi alarm message is a DGi alarm message generated by escaping, and the second DGi alarm message is a DGi alarm generated based on the DyingGasp message sent by the ONU information.
步骤13,上报第一DGi告警消息。Step 13, reporting the first DGi alarm message.
在本步骤中,向工单系统上报第一DGi告警消息,工单系统是工单系统是网管设备的功能模块。需要说明的是,第二DGi告警消息生成后也向工单系统上报。In this step, the first DGi alarm message is reported to the work order system, and the work order system is a functional module of the work order system and the network management device. It should be noted that, after the second DGi alarm message is generated, it is also reported to the work order system.
如果OLT在第一阈值X的时长内多次生成第二DGi告警消息,说明某一区域内的ONU可能出现掉电的情况,那么,在转义时间窗口内,若该区域内的其他ONU(故障ONU)已掉电无法向OLT发送DyingGasp消息,OLT只检测到ONU信号丢失,由此生成的LOSi告警消息(但实际上此时该故障ONU已经掉电)就可能是误报,因此,将这部分LOSi告警消息转义为第一DGi告警消息并上报工单系统,即可避免误派故障工单的情况,提高ONU掉电判断的准确性。If the OLT generates the second DGi alarm message multiple times within the duration of the first threshold X, indicating that the ONUs in a certain area may be powered off, then, within the escape time window, if other ONUs ( The faulty ONU) has been powered off and cannot send the DyingGasp message to the OLT. The OLT only detects that the ONU signal is lost, and the resulting LOSi alarm message (but in fact the faulty ONU has been powered off at this time) may be a false alarm. This part of the LOSi alarm message is escaped into the first DGi alarm message and reported to the work order system, so as to avoid the mis-assignment of a faulty work order and improve the accuracy of ONU power failure judgment.
本申请实施例提供的信号丢失告警消息处理方法,在生成PON接口对应的ONU的信号丢失LOSi告警消息之后,记录LOSi告警消息的生成时间;在LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将LOSi告警消息转义为第一DGi告警消息,并上报第一DGi告警消息,其中,在预设第一阈值X的时长内该PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,转义时间窗口开启,转义时间窗口的开始时间在该PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,转义时间窗口的结束时间在该PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后。在区域集中掉电的情况下,可以避免缺陷ONU掉电时上报LOSi告警消息导致的误派故障工单情况,提高ONU掉电判断的准确性。In the method for processing a signal loss alarm message provided by the embodiment of the present application, 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; when the generation time of the LOSi alarm message falls within the currently enabled escape In the case of a time window, the LOSi alarm message is escaped as the first DGi alarm message, and the first DGi alarm message is reported, wherein the second DGi alarm record in the DGi alarm record of the PON interface within the preset first threshold X duration. When the number m of alarm messages reaches the preset second threshold N, the escape time window is opened, and 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. The end time of the time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface. In the case of centralized power failure in an area, it can avoid the mis-assignment of fault work orders caused by reporting LOSi alarm messages when a defective ONU is powered down, and improve the accuracy of ONU power failure judgment.
在一些实施例中,在记录LOSi告警消息的生成时间之后,所述信号丢失告警消息处理方法还包括以下步骤:在缓冲区缓存LOSi告警消息;当转义时间窗口发生变化,或者,预设的扫描周期到达时,扫描缓冲区中的LOSi告警消息。In some embodiments, after recording the generation time of the LOSi alarm message, the method for processing a signal loss alarm message further includes the following steps: buffering the LOSi alarm message in a buffer; when the escape time window changes, or a preset When the scan period arrives, scan the buffer for LOSi alarm messages.
转义时间窗口发生变化包括以下之一或任意组合:转义时间窗口的结束时间变化、转义时间窗口的开始时间和结束时间均变化。The change of the escape time window includes one or any combination of the following: the end time of the escape time window changes, and both the start time and the end time of the escape time window change.
在一些实施例中,在记录LOSi告警消息的生成时间(即步骤11)之后,所述信号丢失告警消息处理方法还可以包括以下步骤:在LOSi告警消息的生成时间未落入当前开启的转义时间窗口,且LOSi告警消息的生成时长大于p倍第一阈值X的情况下,上报LOSi告警消息,p为大于1的整数。也就是说,不在转义时间窗口内且生成时长大于pX的LOSi告警消息为超时LOSi告警消息,将这些超时LOSi告警消息上报给工单系统,需要说明的是,上报超时LOSi告警消息时,需要上报当前的时间,而不是该LOSi告警消息的生成时间。在一些实施例中,p可以为2。In some embodiments, after recording the generation time of the LOSi alarm message (ie step 11), the method for processing a loss of signal alarm message may further include the following step: when the generation time of the LOSi alarm message does not fall within the currently enabled escape time window, and when the generation duration of the LOSi alarm message is greater than p times the first threshold X, the LOSi alarm message is reported, where p is an integer greater than 1. That is to say, the LOSi alarm messages that are not within the escape time window and the generated duration is longer than pX are time-out LOSi alarm messages, and report these time-out LOSi alarm messages to the work order system. Report the current time, not the generation time of the LOSi alarm message. In some embodiments, p may be 2.
为了防止转义后的告警残留,本申请实施例还要进行告警恢复。相应的,在一些实施例中,将LOSi告警消息转义为第一DGi告警消息(即步骤12)之后,所述方法还包括以下步骤:响应于接收到LOSi恢复消息,清除LOSi告警消息和第一DGi告警消息,并上报LOSi告警恢复消息和第一DGi告警恢复消息。In order to prevent the escaped alarm from remaining, the embodiment of the present application also needs to perform alarm recovery. Correspondingly, in some embodiments, after escaping the LOSi alarm message into the first DGi alarm message (ie, step 12), the method further includes the following steps: in response to receiving the LOSi recovery message, clearing the LOSi alarm message and the first DGi alarm message. A DGi alarm message, and the LOSi alarm recovery message and the first DGi alarm recovery message are reported.
在本申请实施例中,针对每个PON接口维护一个DGi告警记录,DGi告警记录用于记录 第二DGi告警消息及其信息(包括生成时间),在DGi告警记录中,各第二DGi告警消息按照生成时间正序排列。In the embodiment of the present application, a DGi alarm record is maintained for each PON interface, and the DGi alarm record is used to record the second DGi alarm message and its information (including the generation time). In the DGi alarm record, each second DGi alarm message Arranged in positive order by generation time.
在一些实施例中,转义时间窗口的开始时间为T N-X’,转义时间窗口的结束时间为T star+X’,其中,X’=X+(T N+T star)/X,T N为该PON接口的DGi告警记录中最后一个第二DGi告警消息的生成时间,T star为该PON接口的DGi告警记录中首个第二DGi告警消息的生成时间。 In some embodiments, the start time of the escape time window is T N -X', and the end time of the escape time window is T star +X', where X'=X+(T N +T star )/X, TN is the generation time of the last second DGi alarm message in the DGi alarm record of the PON interface, and T star is the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface.
在本申请实施例中,转义时间窗口包括两种类型:第一类型为固定转义时间窗口,第二类型为滑动转义时间窗口,固定转义时间窗口是指,转义时间窗口的开始时间和结束时间均不会发生变化,一旦结束时间到达,该固定转义时间窗口就关闭。滑动转义时间窗口是指,转义时间窗口的结束时间可以变化,例如,结束时间可以向后调整,即滑动转义时间窗口的时长增加。In the embodiment of the present application, 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, and the fixed escape time window refers to the start of the escape time window. Neither the time nor the end time changes, and the fixed escape time window closes once the end time is reached. The sliding escape time window means that the end time of the escape time window can be changed, for example, the end time can be adjusted backward, that is, the duration of the sliding escape time window is increased.
针对不同类型的转义时间窗口,其开启条件以及DGi告警记录的更新流程均不同,以下分别对固定转义时间窗口和滑动转义时间窗口下的处理流程进行说明。For different types of escape time windows, the opening conditions and the update process of DGi alarm records are different. The following describes the processing processes under the fixed escape time window and the sliding escape time window respectively.
转义时间窗口的类型预先配置,当转义时间窗口的类型为第一类型(即固定转义时间窗口)时,在一些实施例中,如图2所示,所述信号丢失告警消息处理方法还可以包括以下步骤:The type of the escape time window is pre-configured. When the type of the escape time window is the first type (that is, the fixed escape time window), in some embodiments, as shown in FIG. 2 , the method for processing a signal loss alarm message The following steps can also be included:
步骤21,在生成PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且该第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差小于或等于第一阈值X,将PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将该第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录。 Step 21, after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the current escape time window not being opened, and the generation time Tn of the second DGi alarm message is the first in the DGi alarm record of the PON interface. The difference between the generation times T star of the second DGi alarm message is less than or equal to the first threshold X, the number m of the second DGi alarm messages in the DGi alarm record of the PON interface is increased by 1, and the second DGi alarm message and its generation The time Tn is written into the DGi alarm record of the PON interface.
n为第二DGi告警消息的编号。在本步骤中,一旦生成第二DGi告警消息,就触发是否更新转义时间窗口以及是否更新DGi告警记录的判断。在当前没有转义时间窗口开启的情况下,若当前的第二DGi告警消息的生成时间Tn与DGi告警记录中首个第二DGi告警消息的生成时间T star之差小于或等于第一阈值X,说明当前的第二DGi告警消息与DGi告警记录中首个第二DGi告警消息之间间隔较小,当前一段时间内出现较为频繁的掉电告警,因此需要记录该第二DGi告警消息以及频繁出现的掉电告警的数量(即m),则将该PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将该第二DGi告警消息及其生成时间Tn写入该PON接口的DGi告警记录。 n is the number of the second DGi alarm message. In this step, once the second DGi alarm message is generated, the judgment of whether to update the escape time window and whether to update the DGi alarm record is triggered. When no escape time window is currently enabled, if the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record is less than or equal to the first threshold X , indicating 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 frequent power failure alarms have occurred in the current period of time, so it is necessary to record the second DGi alarm message and the frequent The number of power failure alarms that occur (ie m), then add 1 to the number m of the second DGi alarm message in the DGi alarm record of the PON interface, and write the second DGi alarm message and its generation time Tn into the PON DGi alarm record of the interface.
步骤22,响应于m等于第二阈值N,根据首个第二DGi告警消息的生成时间T star及所述第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,并开启转义时间窗口。 Step 22, in response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message, calculate the start time and end time of the escape time window, And open the escape time window.
在本步骤中,若m=N,说明在时长X内,至少生成了N个第二DGi告警,可以认为该PON接口对应的区域内的ONU出现掉电情况,例如,ONU电源适配器不匹配或者停电前市电处于欠压状态等,在这种情况下,确定并开启转义时间窗口,以便对落入该转义时间窗口内的LOSi告警消息进行转义,避免向工单系统误报告警。In this step, if m=N, it means that within the duration X, at least N second DGi alarms are generated, and it can be considered that the ONU in the area corresponding to the PON interface is powered off, for example, the power adapter of the ONU does not match or Before the power failure, the utility power is in an undervoltage state, etc. In this case, determine and open the escape time window, so as to escape the LOSi alarm messages that fall within the escape time window, so as to avoid false alarms to the work order system .
在一些实施例中,在生成PON接口对应的ONU的第二DGi告警消息之后,所述信号丢失告警消息处理方法还可以包括以下步骤:响应于当前无开启的转义时间窗口,且第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差大于第一阈值X,清除PON接口的DGi告警记录。也就是说,在当前没有转义时间窗口 开启的情况下,若当前的第二DGi告警消息的生成时间Tn与DGi告警记录中首个第二DGi告警消息的生成时间T star之差大于第一阈值X,说明该第二DGi告警消息与DGi告警记录中首个第二DGi告警消息之间间隔较大,当前一段时间内并未出现较为频繁的掉电告警,因此不需要记录该第二DGi告警消息以及频繁出现的掉电告警的数量,则将该PON接口的DGi告警记录清空,以便在生成下一个第二DGi告警消息时,重新判断。 In some embodiments, after generating the second DGi alarm message of the ONU corresponding to the PON interface, the method for processing the signal loss alarm message may further include the following steps: If the difference between the generation time Tn of the alarm message and the generation time T star of the first and second DGi alarm messages in the DGi alarm record of the PON interface is greater than the first threshold X, the DGi alarm record of the PON interface is cleared. That is to say, when no escape time window is currently enabled, if the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record is greater than the first Threshold X, indicating that the interval between the second DGi alarm message and the first second DGi alarm message in the DGi alarm record is relatively large, and no frequent power failure alarms have occurred in the current period of time, so it is not necessary to record the second DGi alarm message The alarm message and the number of frequently occurring power failure alarms, the DGi alarm record of the PON interface is cleared, so as to re-judge when the next second DGi alarm message is generated.
在一些实施例中,所述信号丢失告警消息处理方法还可以包括以下步骤:在生成PON接口对应的ONU的第二DGi告警消息之后,响应于当前有开启的转义时间窗口,不再更新该PON接口的DGi告警记录,即不再将当前的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录。也就是说,在生成第二DGi告警消息时,一旦转义时间窗口开启,就可以根据转义时间窗口监控LOSi告警消息,再记录当前的第二DGi告警消息就没有意义,因此,不再更新该PON接口的DGi告警记录,从而节省存储资源,减少数据处理。In some embodiments, the method for processing a signal loss alarm message may further include the following steps: after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the currently opened escape time window, no longer update the The DGi alarm record of the PON interface, that is, the current second DGi alarm message and its 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 LOSi alarm message can be monitored according to the escape time window, and it is meaningless to record the current second DGi alarm message, so it is no longer updated. DGi alarm records of the PON interface, thereby saving storage resources and reducing data processing.
在一些实施例中,所述信号丢失告警消息处理方法还可以包括以下步骤:响应于转义时间窗口的结束时间到达,关闭转义时间窗口,清空所述PON接口的DGi告警记录。In some embodiments, the method for processing a signal loss alarm message may further include the following steps: in response to the arrival of the end time of the escape time window, closing the escape time window, and clearing the DGi alarm record of the PON interface.
为了清楚说明本申请实施例的方案,以下结合图3和图4,通过一具体实例,对固定转义时间窗口的更新流程进行详细说明。需要说明的是,图3为转义时间窗口未开启情况下的固定转义时间窗口的更新流程。如图3所示,固定转义时间窗口的更新流程包括以下步骤:In order to clearly illustrate the solution of the embodiment of the present application, the following describes the update process of the fixed escape time window in detail by using a specific example with reference to FIG. 3 and FIG. 4 . It should be noted that FIG. 3 is an update flow of a fixed escape time window when the escape time window is not opened. As shown in Figure 3, the update process of the fixed escape time window includes the following steps:
步骤301,生成PON接口对应的ONU的第二DGi告警消息。Step 301: Generate a second DGi alarm message of the ONU corresponding to the PON interface.
步骤302,判断PON接口的DGi告警记录中是否有第二DGi告警消息,若有,则执行步骤304,否则,执行步骤303。Step 302, it is judged whether there is a second DGi alarm message in the DGi alarm record of the PON interface, if so, step 304 is performed; otherwise, step 303 is performed.
在本步骤中,若该PON接口的DGi告警记录中有第二DGi告警消息,则进一步判断当前是否有转义时间窗口开启(即执行步骤304);若该PON接口的DGi告警记录中没有第二DGi告警消息,则将步骤301生成的第二DGi告警消息(即当前的第二DGi告警消息)以及该第二DGi告警消息的生成时间写入该PON接口的DGi告警记录(即执行步骤303)。In this step, if there is a second DGi alarm message in the DGi alarm record of the PON interface, it is further judged whether there is currently an escape time window open (ie, step 304 is executed); if there is no second DGi alarm message in the DGi alarm record of the PON interface If there is a second DGi alarm message, the second DGi alarm message generated in step 301 (that is, 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 (that is, step 303 is executed. ).
步骤303,将当前的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录。Step 303: Write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
由于当前PON接口的DGi告警记录中没有任何第二DGi告警消息,因此,将步骤301生成的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录后,Tn即为PON接口的DGi告警记录中首个第二DGi告警消息的生成时间,因此T star=Tn。 Since 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 301 and its generation time Tn are written into the DGi alarm record of the PON interface, Tn is the The generation time of the first and second DGi alarm messages in the DGi alarm record, so T star =Tn.
步骤304,判断当前有无开启的转义时间窗口,若有,则执行步骤305,否则,执行步骤306。In step 304, it is determined whether there is currently an open escape time window, and if so, step 305 is performed; otherwise, step 306 is performed.
步骤305,不再更新PON接口的DGi告警记录。Step 305, the DGi alarm record of the PON interface is no longer updated.
转义时间窗口开启过程中生成的第二DGi告警消息不再写入DGi告警记录。The second DGi alarm message generated during the opening of the escape time window is no longer written into the DGi alarm record.
步骤306,判断当前第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差是否小于或等于第一阈值X,若是,则执行步骤308,否则,执行步骤307。 Step 306: Determine whether the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and if so, execute the step 308, otherwise, step 307 is executed.
步骤307,清除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。Step 307: Clear the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface.
在本步骤中,若Tn-T star>X,说明不满足转义时间窗口的开启条件,则清除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。 In this step, if Tn-T star >X, it means that the opening condition of the escape time window is not satisfied, then clear the first and second DGi alarm messages and their generation time in the DGi alarm record of the PON interface.
步骤308,将PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将该第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录。Step 308: Add 1 to the number m of the second DGi alarm message in the DGi alarm record of the PON interface, and write the second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
在本步骤中,若Tn-T star≤X,说明满足转义时间窗口的第一个开启条件,则更新PON接口的DGi告警记录(包括第二DGi告警消息的数量m和第二DGi告警消息),并进一步判断是否满足转义时间窗口的第二个开启条件(即执行步骤309)。 In this step, if Tn-T star ≤ X, it means that the first opening condition of the escape time window is satisfied, then update the DGi alarm record of the PON interface (including the number m of second DGi alarm messages and the second DGi alarm message ), and further determine whether the second opening condition of the escape time window is satisfied (ie, step 309 is executed).
步骤309,判断PON接口的DGi告警记录中第二DGi告警消息的数量m是否等于第二阈值N,若等于,则执行步骤310,否则,结束流程。 Step 309 , determine whether the number m of second DGi alarm messages in the DGi alarm record of the PON interface is equal to the second threshold N, and if it is equal, perform step 310 , otherwise, end the process.
在本步骤中,若m=N,说明满足转义时间窗口的第二个开启条件,此时,转义时间窗口开启的2个条件均满足,则开启转义时间窗口(即执行步骤310);若m≠N,即m<N,说明不满足转义时间窗口的第二个开启条件,不开启转义时间窗口,本次生成的第二DGi告警消息触发的本次固定转义时间窗口的更新流程结束(不开启转义时间窗口)。In this step, if m=N, it means that the second opening condition of the escape time window is satisfied. At this time, if both conditions for opening the escape time window are satisfied, then the escape time window is opened (ie, step 310 is executed) ;If m≠N, that is, m<N, it means that the second opening condition of the escape time window is not met, and the escape time window is not opened. The second DGi alarm message generated this time triggers this fixed escape time window. The update process is over (without opening the escape time window).
步骤310,根据首个第二DGi告警消息的生成时间T star及当前第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,并开启转义时间窗口。 Step 310: Calculate the start time and end time of the escape time window according to the generation time T star of the first second DGi alarm message and the generation time Tn of the current second DGi alarm message, and open the escape time window.
步骤311,当转义时间窗口的结束时间到达时,关闭转义时间窗口,并清空PON接口的DGi告警记录。Step 311, when the end time of the escape time window arrives, close the escape time window, and clear the DGi alarm record of the PON interface.
结合图4所示,若当前的第二DGi告警消息的生成时间为Tn,PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star为T1,当前的第二DGi告警消息为PON接口的DGi告警记录中最后一个第二DGi告警消息,则在满足转义时间窗口开启的两个条件的情况下,计算得到转义时间窗口的开始时间为T N-X’,转义时间窗口的结束时间为T star+X’,其中,X’=X+(T N+T star)/X。 With reference to Figure 4, if the current generation time of the second DGi alarm message is Tn, the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is T1, and the current second DGi alarm message is The last second DGi alarm message in the DGi alarm record of the PON interface, when the two conditions for opening the escape time window are met, the start time of the escape time window is calculated as T N -X', and the escape time The end time of the window is T star +X', where X'=X+(T N +T star )/X.
当转义时间窗口的类型为第二类型(即滑动转义时间窗口)时,在一些实施例中,如图5所示,所述信号丢失告警消息处理方法还可以包括以下步骤:When the type of the escape time window is the second type (that is, the sliding escape time window), in some embodiments, as shown in FIG. 5 , the method for processing a signal loss alarm message may further include the following steps:
步骤51,在生成PON接口对应的ONU的第二DGi告警消息之后,响应于当前有开启的转义时间窗口,且该第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中第(n-N+1)个第二DGi告警消息的生成时间T (n-N+1)之差小于或等于第一阈值X,将该第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录,并确定所述第(n-N+1)个第二DGi告警消息为首个第二DGi告警消息。 Step 51, after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the currently opened escape time window, and the generation time Tn of the second DGi alarm message and the DGi alarm record of the PON interface No. ( The difference between the generation times T (n-N+1) of n-N+1) second DGi alarm messages is less than or equal to the first threshold X, and the second DGi alarm message and its generation time Tn are written into the PON The DGi alarm of the interface is recorded, and the (n-N+1)th second DGi alarm message is determined to be the first second DGi alarm message.
在本步骤中,一旦生成第二DGi告警消息,就触发是否更新转义时间窗口和是否更新DGi告警记录的判断。在当前已开启转义时间窗口的情况下,若当前的第二DGi告警消息的生成时间Tn与DGi告警记录中第(n-N+1)个第二DGi告警消息的生成时间T (n-N+1)之差小于或等于第一阈值X,说明该第二DGi告警消息与DGi告警记录中第(n-N+1)个第二DGi告警消息之间间隔较小,因此将当前的第二DGi告警消息及其生成时间Tn写入该PON接口的DGi告警记录。删除该PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间,用以将T star调整为T (n-N+1)In this step, once the second DGi alarm message is generated, the judgment of whether to update the escape time window and whether to update the DGi alarm record is triggered. Under the circumstance that the escape time window is currently enabled, if the generation time Tn of the current second DGi alarm message is the same as the generation time T ( n-N+1)th second DGi alarm message in the DGi alarm record The difference between N+1) is less than or equal to the first threshold X, indicating 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 small, so the current The second DGi alarm message and its generation time Tn are written into the DGi alarm record of the PON interface. Delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface, so as to adjust T star to T (n-N+1) .
步骤52,根据更新后的首个第二DGi告警消息的生成时间及该第二DGi告警消息的生成时间Tn,调整转义时间窗口的结束时间。Step 52: Adjust the end time of the escape time window according to the generation time of the updated first second DGi alarm message and the generation time Tn of the second DGi alarm message.
在本步骤中,由于在步骤51中已经将T star调整为T (n-N+1),且已将该第二DGi告警消息的生成时间Tn写入DGi告警记录,因此在本步骤中,根据更新后的T star,和当前的第二DGi告警消息的生成时间Tn,将转义时间窗口的结束时间调整为T (n-N+1)+X’,即将转义时间窗口的结束时间向后调整,从而实现转义时间窗口的滑动调整。 In this step, since T star has been adjusted to T (n-N+1) in step 51, and the generation time Tn of the second DGi alarm message has been written into the DGi alarm record, in this step, According to the updated T star and the current generation time Tn of the second DGi alarm message, adjust the end time of the escape time window to T (n-N+1) +X', which is the end time of the escape time window Adjust backward to realize sliding adjustment of escape time window.
在一些实施例中,所述信号丢失告警消息处理方法还包括以下步骤:响应于转义时间窗 口的结束时间到达,关闭转义时间窗口,并删除该PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间,以便在该PON接口的DGi告警记录中保留最近的(N-1)个第二DGi告警消息,这样,可以针对后续生成的每个第二DGi告警消息判断是否发生掉电现象,由此确定出的转义时间窗口更为准确。In some embodiments, the method for processing a signal loss alarm message further includes the following steps: in response to the arrival of the end time of the escape time window, closing the escape time window, and deleting the first second in the DGi alarm record of the PON interface DGi alarm messages and their generation time, so as to keep the latest (N-1) second DGi alarm messages in the DGi alarm record of the PON interface, so that it can be judged whether the occurrence of each second DGi alarm message generated subsequently can be determined Power down phenomenon, the escape time window determined by this is more accurate.
在一些实施例中,所述信号丢失告警消息处理方法还可以包括以下步骤:在生成PON接口对应的ONU的DGi告警消息之后,响应于当前无开启的转义时间窗口,且PON接口的DGi告警记录为空,将当前的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录,即将当前的第二DGi告警消息的生成时间Tn作为PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T starIn some embodiments, the method for processing a signal loss alarm message may further include the following steps: after generating the DGi alarm message of the ONU corresponding to the PON interface, in response to the currently open escape time window, and the DGi alarm of the PON interface If the record is empty, write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, taking the generation time Tn of the current second DGi alarm message as the first second DGi alarm record in the DGi alarm record of the PON interface. The generation time T star of the DGi alarm message.
在一些实施例中,所述信号丢失告警消息处理方法还可以包括以下步骤:步骤61,在生成PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且该第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差小于或等于第一阈值X,将PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录;步骤62,响应于m等于第二阈值N,根据首个第二DGi告警消息的生成时间T star及当前第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,并开启转义时间窗口。也就是说,当转义时间窗口的类型为第二类型时,在生成第二DGi告警消息时无开启的转义时间窗口的情况下,转义时间窗口的更新流程(即步骤61-62)与第一类型的转义时间窗口的更新流程(即步骤21-22)相同,在此不再赘述。 In some embodiments, the method for processing a signal loss alarm message may further include the following steps: Step 61, after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the current no-open escape time window, and The difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and the second DGi alarm record of the PON interface is set as the second DGi alarm message. The number m of DGi alarm messages is increased by 1, and the second DGi alarm message and its generation time Tn are written into the DGi alarm record of the PON interface; step 62, in response to m being equal to the second threshold N, according to the first second DGi alarm message The generation time T star of the alarm message and the generation time Tn of the current second DGi alarm message are calculated, the start time and end time of the escape time window are calculated, and the escape time window is opened. That is to say, when the type of the escape time window is the second type, and the escape time window is not enabled when the second DGi alarm message is generated, the update process of the escape time window (ie, steps 61-62) The process of updating the escape time window of the first type (ie, steps 21-22) is the same, and details are not described here.
为了清楚说明本申请实施例的方案,以下结合图6a、图6b和图7,通过一具体实例,对滑动转义时间窗口的更新流程进行详细说明。如图6a所示,滑动转义时间窗口的更新流程包括以下步骤:In order to clearly illustrate the solution of the embodiment of the present application, the update process of the sliding escape time window will be described in detail below with reference to FIG. 6 a , FIG. 6 b and FIG. 7 , through a specific example. As shown in Figure 6a, the update process of the sliding escape time window includes the following steps:
步骤601,生成PON接口对应的ONU的第二DGi告警消息。Step 601: Generate a second DGi alarm message of the ONU corresponding to the PON interface.
步骤602,判断当前是否有开启的转义时间窗口,若有,则执行步骤603,否则,执行步骤606。Step 602, it is judged whether there is currently an open escape time window, if so, step 603 is performed; otherwise, step 606 is performed.
步骤603,判断第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中第(n-N+1)个第二DGi告警消息的生成时间T (n-N+1)之差是否小于或等于第一阈值X,若是,则执行步骤604,否则,结束本流程。 Step 603: Determine whether the difference between the generation time Tn of the second DGi alarm message and the generation time T (n-N+1) of the (n-N+1)th second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, if yes, go to step 604, otherwise, end the process.
步骤604,将第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录,将T star调整为T (n-N+1),并根据更新后的首个第二DGi告警消息的生成时间及该第二DGi告警消息的生成时间Tn,调整转义时间窗口的结束时间。 Step 604, write the second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, adjust T star to T (n-N+1) , and according to the updated first second DGi alarm message The generation time and the generation time Tn of the second DGi alarm message are used to adjust the end time of the escape time window.
n为第二DGi告警消息的编号。在本步骤中,删除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间,用以将T star调整为T (n-N+1),以及,将转义时间窗口的结束时间调整为T (n-N+1)+X’。 n is the number of the second DGi alarm message. In this step, delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface, so as to adjust T star to T (n-N+1) , and to escape the end of the time window The time is adjusted to T (n-N+1) +X'.
结合图7所示,当前的第二DGi告警消息的生成时间为Tn,且在生成该第二DGi告警消息之后确定转义时间窗口A开启,此时,Tn=T N,转义时间窗口A的开始时间为T N-X’,转义时间窗口A的结束时间为T 1+X’,其中,X’=X+(T N+T 1)/X。若Tn-T (n-N+1)≤X,则将当前的第二DGi告警消息及其生成时间Tn写入该PON接口的DGi告警记录,并删除该PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间,以便将T star由T1调整为T (n-N+1),相应的, 将转义时间窗口A的结束时间调整为T star+X’(即T (n-N+1)+X’),从而得到转义时间窗口A’,即开启转义时间窗口A’,转义时间窗口A’的开始时间不变,仍然为T N-X’,即转义时间窗口A’相对于转义时间窗口A向后延长。 With reference to FIG. 7 , the generation time of the current second DGi alarm message is Tn, and it is determined that the escape time window A is opened after the second DGi alarm message is generated. At this time, Tn=T N , the escape time window A The start time of is T N -X', and the end time of the escape time window A is T 1 +X', where X'=X+(T N +T 1 )/X. If Tn-T (n-N+1) ≤ X, write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, and delete the first DGi alarm record of the PON interface. The second DGi alarm message and its generation time, so that T star is adjusted from T1 to T (n-N+1) , and correspondingly, the end time of the escape time window A is adjusted to T star +X' (that is, T ( n-N+1) +X'), so as to obtain the escape time window A', that is, the escape time window A' is opened, and the start time of the escape time window A' remains unchanged, which is still T N -X', that is The escape time window A' is extended backward relative to the escape time window A.
步骤605,当转义时间窗口的结束时间到达时,关闭转义时间窗口,并删除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间,以便在PON接口的DGi告警记录中保留最近的(N-1)个第二DGi告警消息。Step 605, when the end time of the escape time window arrives, close the escape time window, and delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface, so that it can be recorded in the DGi alarm record of the PON interface. The most recent (N-1) second DGi alarm messages are retained.
步骤601-605为当前转义时间窗开启情况下的滑动转义时间窗口的更新流程。以下结合图6b说明当前转义时间窗未开启情况下开启滑动转义时间窗口的流程。如图6b所示,所述流程包括以下步骤:Steps 601-605 are the update process 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. 6b. As shown in Figure 6b, the process includes the following steps:
步骤606,判断PON接口的DGi告警记录是否为空,若是,则执行步骤608,否则,执行步骤607。 Step 606, it is judged whether the DGi alarm record of the PON interface is empty, if so, go to step 608, otherwise, go to step 607.
步骤607,将当前的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录。Step 607: Write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
由于当前PON接口的DGi告警记录中没有任何第二DGi告警消息,因此,将步骤601生成的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录后,Tn即为PON接口的DGi告警记录中首个第二DGi告警消息,此时,T star=Tn。 Since 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 its generation time Tn are written into the DGi alarm record of the PON interface, Tn is the The first and second DGi alarm messages in the DGi alarm record, at this time, T star =Tn.
步骤608,判断当前的第二DGi告警消息的生成时间Tn与PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差是否小于或等于第一阈值X,若是,则执行步骤610,否则,执行步骤609。 Step 608: Determine whether the difference between the generation time Tn of the current second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and if so, execute Step 610, otherwise, go to step 609.
步骤609,清除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。Step 609: Clear the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface.
在本步骤中,若Tn-T star>X,说明不满足转义时间窗口的开启条件,则清除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。 In this step, if Tn-T star >X, it means that the opening condition of the escape time window is not satisfied, then clear the first and second DGi alarm messages and their generation time in the DGi alarm record of the PON interface.
步骤610,将PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将当前的第二DGi告警消息及其生成时间Tn写入PON接口的DGi告警记录。Step 610: Add 1 to the number m of second DGi alarm messages in the DGi alarm record of the PON interface, and write the current second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface.
在本步骤中,若Tn-T star≤X,说明满足转义时间窗口的第一个开启条件,则更新PON接口的DGi告警记录(包括更新第二DGi告警消息的数量m和第二DGi告警消息),并进一步判断是否满足转义时间窗口的第二个开启条件(即执行步骤611)。 In this step, if Tn-T star ≤ X, it means that the first opening condition of the escape time window is satisfied, then update the DGi alarm record of the PON interface (including updating the number m of second DGi alarm messages and the second DGi alarm message), and further determine whether the second opening condition of the escape time window is satisfied (ie, step 611 is executed).
步骤611,PON接口的DGi告警记录中第二DGi告警消息的数量m是否等于第二阈值N,若等于,则执行步骤612,否则,结束流程。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 it is equal, go to step 612, otherwise, end the process.
在本步骤中,若m=N,说明满足转义时间窗口的第二个开启条件,此时,转义时间窗口开启的2个条件均满足,则开启转义时间窗口(即执行步骤612);若m≠N,即m<N,说明不满足转义时间窗口的第二个开启条件,不开启转义时间窗口,当前的第二DGi告警消息触发的本次滑动转义时间窗口的更新流程结束。In this step, if m=N, it means that the second opening condition of the escape time window is satisfied. At this time, if both conditions for opening the escape time window are satisfied, then the escape time window is opened (ie, step 612 is executed) ;If m≠N, that is, m<N, it means that the second opening condition of the escape time window is not met, the escape time window is not opened, and the current second DGi alarm message triggers the update of the sliding escape time window. Process ends.
步骤612,根据首个第二DGi告警消息的生成时间T star及当前第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,开启转义时间窗口,并执行步骤605。 Step 612, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the current second DGi alarm message, calculate the start time and end time of the escape time window, open the escape time window, and execute step 605 .
需要说明的是,在开启转义时间窗口后,还需监控转义时间窗口的开启时间,当转义时间窗口的结束时间T (n-N+1)+X’到达时,关闭转义时间窗口,并删除PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间,以便在PON接口的DGi告警记录中保留最近的(N-1)个第二DGi告警消息。 It should be noted that after opening the escape time window, it is necessary to monitor the opening time of the escape time window. When the end time T (n-N+1) +X' of the escape time window arrives, close the escape time window, and delete the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface, so as to retain the latest (N-1) second DGi alarm messages in the DGi alarm record of the PON interface.
为清楚说明本申请实施例的方案,以下结合图8和图9,分别以一个固定转义时间窗口 的实例和一个滑动转义时间窗口的实例为例,对本申请实施例的信号丢失告警消息处理过程进行详细说明。In order to clearly illustrate the solution of the embodiment of the present application, in the following with reference to FIG. 8 and FIG. 9 , an example of a fixed escape time window and an instance of a sliding escape time window are taken as examples to process the signal loss alarm message in the embodiment of the present application. The process is explained in detail.
图8为固定转义时间窗口的实例,如图8所示,用户配置:X为3秒,N为5个,p=2。OLT在3秒、3.2秒、4.2秒、4.5秒、5.3秒、5.6秒和7.2秒各生成了第二DGi告警消息,上述各第二DGi告警消息的DGi编号n分别为1-7。若初始无转义时间窗口,3秒时生成第一个第二DGi告警消息,在DGi告警记录中记录T star即为T1=3,后续在生成第2-5个第二DGi告警消息时,分别记录T2=3.2、T3=4.2、T4=4.5、T5=5.3。这几个第二DGi告警消息的生成时间与T star之差都小于用户定义的第一阈值X=3秒,且生成第5个第二DGi告警消息DGi5时,第二DGi告警消息的数量n已经到达用户定义第二阈值N=5,满足开启转义时间窗口的条件。计算转义时间窗口的开始时间为T5-X’,转义时间窗口的结束时间为T1+X’,X’=3+(T5-T1)/3=3.76,因此,转义时间窗为1.54秒到6.76秒。此时开启该转义时间窗,扫描缓冲区内存储的所有LOSi告警消息,LOSi告警消息产生时间落在1.54秒之后至6.76秒之间的LOSi 1和LOSi2被转义为第一DGi告警消息。DGi6因为在转义时间窗口内被忽略,不记录在DGi告警记录中。DGi7是在转义时间窗口关闭之后生成的,因此,被记录在DGi告警记录中。产生于转义时间窗口外的LOSi3不能被转义为第一DGi告警消息,若LOSi3在缓冲区内存储时长达到6秒,则按LOSi告警消失超时上报。 FIG. 8 is an example of a fixed escape time window. As shown in FIG. 8 , user configuration: X is 3 seconds, N is 5, and p=2. The OLT generates second DGi alarm messages at 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-7 respectively. If there is no initial escape time window, the first second DGi alarm message is generated in 3 seconds, and T star is recorded in the DGi alarm record as T1=3. When the second to fifth second DGi alarm messages are generated subsequently, Record T2=3.2, T3=4.2, T4=4.5, T5=5.3 respectively. The difference between the generation time of these several second DGi alarm messages and T star is less than the user-defined first threshold X = 3 seconds, and when the fifth second DGi alarm message DGi5 is generated, the number n of second DGi alarm messages The user-defined second threshold N=5 has been reached, and the condition for opening the escape time window is satisfied. The start time of the calculated escape time window is T5-X', the end time of the escape time window is T1+X', X'=3+(T5-T1)/3=3.76, therefore, the escape time window is 1.54 seconds to 6.76 seconds. At this time, the escape time window is opened, and all LOSi alarm messages stored in the buffer are scanned. LOSi 1 and LOSi2 whose LOSi alarm message generation time is between 1.54 seconds and 6.76 seconds are escaped as 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 has closed and, therefore, is recorded in the DGi alert log. The LOSi3 generated outside the escape time window cannot be escaped as the first DGi alarm message. If the LOSi3 is stored in the buffer for 6 seconds, it will be reported according to the LOSi alarm disappearance timeout.
图9为滑动转义时间窗口的实例,如图9所示,用户配置:X为3秒,N为5个。OLT在3秒、3.2秒、4.2秒、4.5秒、5.3秒、5.6秒和7.2秒各生成了第二DGi告警,上述各第二DGi告警消息的DGi编号n分别为1-7。若初始无转义时间窗口,3秒时生成第一个第二DGi告警消息,在DGi告警记录中记录T star即为T1=3,后续在生成第2-5个第二DGi告警消息时,分别记录T2=3.2、T3=4.2、T4=4.5、T5=5.3。与固定转义窗口开启判断处理相同,开启转义时间窗口1,扫描缓冲区内存储的所有LOSi告警消息,将LOSi1和LOSi2转义为第一DGi告警消息。当生成第6个第二DGi告警消息DGi6时,由于此时已检测到转义时间窗口1已开启,于是判断T6和T2之差是否≤用户配置的第一阈值X(X=3),发现T6(5.6s)-T2(3.2s)=2.4s小于3秒,因此,将第6个第二DGi告警消息及其生成时间T6写入DGi告警记录,将T start调整为T2。将当前开启的转义时间窗口1的结束时间调整为T2+(3+(T6-T2)/3)=7秒,此时转义时间窗口1变为转义时间窗口1’,转义时间窗口1’仍处于开启状态。扫描缓冲区内存储的所有LOSi告警消息,在转义时间窗口1’内,无新的可转义的LOSi告警。当转义时间窗口1’的结束时间(7s)到达时,关闭转义时间窗口1’,此时再次更新DGi告警记录,保留最近的4次第二DGi告警消息,即删除T2对应的DGi2,在DGi告警记录中保留DGi3、DGi4、DGi5、DGi6,此时T start=T3。当生成第7个第二DGi告警消息DGi7时,由于此时转义时间窗口1’已关闭,但是DGi告警记录中保留了DGi3、DGi4、DGi5、DGi6,T start此时是T3,于是对比T3和T7,发现T7(7.2s)-T3(4.2s)=3,不大于第一阈值3秒,于是开启新的转义时间窗口2,转义时间窗口2的开始时间为T7-(3+(T7-T3)/3)=3.2秒,结束时间为T3(4.2s)+(3+(T7(7.2s)-T3(4.2s))/3)=8.2秒。扫描缓冲区内存储的所有LOSi告警消息,将LOSi3和LOSi4转义为第一DGi告警消息。 Fig. 9 is an example of sliding escape time window, as shown in Fig. 9, user configuration: X is 3 seconds, N is 5. The OLT generates a second DGi alarm at 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-7 respectively. If there is no initial escape time window, the first second DGi alarm message is generated in 3 seconds, and T star is recorded in the DGi alarm record as T1=3. When the second to fifth second DGi alarm messages are generated subsequently, Record T2=3.2, T3=4.2, T4=4.5, T5=5.3 respectively. Same as the fixed escape window open judgment process, open escape time window 1, scan all LOSi alarm messages stored in the buffer, and escape LOSi1 and LOSi2 as the first DGi alarm message. When the sixth second DGi alarm message DGi6 is generated, since it is detected that the escape time window 1 has been opened, it is judged whether the difference between T6 and T2 is ≤ the first threshold X (X=3) configured by the user, and it is found that T6(5.6s)-T2(3.2s)=2.4s is less than 3 seconds, therefore, write the sixth second DGi alarm message and its generation time T6 into the DGi alarm record, and adjust T start to T2. Adjust the end time of the currently opened escape time window 1 to T2+(3+(T6-T2)/3)=7 seconds. At this time, the escape time window 1 becomes the escape time window 1', and the escape time window 1' is still on. All LOSi alarm messages stored in the scanning buffer are scanned, and there is no new escapeable LOSi alarm within the escape time window 1'. When the end time (7s) of the escape time window 1' arrives, close the escape time window 1', update the DGi alarm record again at this time, and keep the latest 4 second DGi alarm messages, that is, delete the DGi2 corresponding to T2, DGi3, DGi4, DGi5, and DGi6 are retained in the DGi alarm record, and T start = T3 at this time. When the seventh second DGi alarm message DGi7 is generated, since the escape time window 1' is closed at this time, DGi3, DGi4, DGi5, and DGi6 are retained in the DGi alarm record, and T start is T3 at this time, so compare T3 and T7, it is found that T7(7.2s)-T3(4.2s)=3, which is not greater than the first threshold of 3 seconds, so a new escape time window 2 is opened, and the start time of escape time window 2 is T7-(3+ (T7-T3)/3)=3.2 seconds, and the end time is T3(4.2s)+(3+(T7(7.2s)-T3(4.2s))/3)=8.2 seconds. All LOSi alarm messages stored in the buffer are scanned, and LOSi3 and LOSi4 are escaped as the first DGi alarm message.
在本申请实施例中,针对每个PON接口维护一个DGi告警记录,该DGi告警记录用于记录PON接口生成的最近m次(m小于等于N)第二DGi告警消息及其生成时间,根据这m次第二DGi告警消息的生成时间确定一个时间窗口(即转义时间窗口),作为智能判定ONU是否掉电 的标准。生成第二DGi告警消息和当前的转义时间窗口的开启状态触发DGi告警记录的更新,DGi告警记录的维护可以采用固定时间窗口和滑动时间窗口两种策略。In the embodiment of the present application, a DGi alarm record is maintained for each PON interface, and the DGi alarm record is used to record the most recent m times (m is less than or equal to N) second DGi alarm messages generated by the PON interface and their generation times. The generation time of m second DGi alarm messages determines a time window (ie, escape time window), which is used as a criterion for intelligently determining whether the ONU is powered off. The generation of the second DGi alarm message and the open state of the current escape time window trigger the update of the DGi alarm record. The maintenance of the DGi alarm record can adopt two strategies of fixed time window and sliding time window.
本申请实施中,LOS转义功能可以设置开启或关闭,LOSi转义前后的时间段参数(即第一阈值X)和判断该时间段内DGi告警频繁的标准(即第二阈值N)也可以根据实际情况作调整,提高OMU掉电判断的精确度。本申请实施例方案灵活,可以根据不同用户的需求,配置LOS转义功能开关及相关参数,当LOS转义功能开启时可以准确判断出缺陷ONU是否掉电,避免误派故障工单的情况,满足不同用户需求,提升产品竞争力。In the implementation of this application, the LOS escape function can be set to be turned on or off, and the time period parameters before and after LOSi escape (ie the first threshold X) and the criterion for judging the frequency of DGi alarms in this time period (ie the second threshold N) can also be Adjust according to the actual situation to improve the accuracy of OMU power failure judgment. The solution of the embodiment of the present application is flexible, and the LOS escape function switch and related parameters can be configured according to the needs of different users. When the LOS escape function is enabled, it can be accurately judged whether the defective ONU is powered off, so as to avoid the situation of misassigning the fault work order. Meet the needs of different users and enhance product competitiveness.
基于相同的技术构思,本申请实施例还提供一种信号丢失告警消息处理装置,如图10所示,所述信号丢失告警消息处理装置包括告警生成模块101、存储模块102、处理模块103和上报模块104,告警生成模块101被设置成,生成PON接口对应的ONU的信号丢失LOSi告警消息,i为所述PON接口对应的ONU的标识。Based on the same technical concept, an embodiment of the present application further provides a signal loss alarm message processing apparatus. As shown in FIG. 10 , the signal loss alarm message processing apparatus includes an alarm generation module 101 , a storage module 102 , a processing module 103 , and a reporting module 101 . Module 104, the alarm generating module 101 is configured to generate a signal loss LOSi alarm message of the ONU corresponding to the PON interface, where i is the identifier of the ONU corresponding to the PON interface.
存储模块102被设置成,记录所述LOSi告警消息的生成时间。The storage module 102 is configured to record the generation time of the LOSi alarm message.
处理模块103被设置成,在所述LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将所述LOSi告警消息转义为第一DGi告警消息;其中,在预设第一阈值X的时长内所述PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,所述转义时间窗口开启,所述转义时间窗口的开始时间在所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,所述转义时间窗口的结束时间在所述PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后,所述第二DGi告警消息为所述PON接口接收到第i个ONU发送的掉电消息后生成的DGi告警消息,所述首个第二DGi告警消息是所述m个第二DGi告警消息中的首个第二DGi告警消息。The processing module 103 is configured to escape the LOSi alarm message as a first DGi alarm message when the generation time of the LOSi alarm message falls within the currently opened escape time window; When the number m of second DGi alarm messages in the DGi alarm record of the PON interface reaches a preset second threshold N within the duration of a threshold X, the escape time window is opened, and 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, the end time of the escape time window is the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface After that, the second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i th ONU, and the first second DGi alarm message is the m second DGi alarm messages The first second DGi alert message in the message.
上报模块104被设置成,上报所述第一DGi告警消息。The reporting module 104 is configured to report the first DGi alarm message.
在一些实施例中,存储模块102还被设置成,在记录所述LOSi告警消息的生成时间之后,在缓冲区缓存所述LOSi告警消息。In some embodiments, the storage module 102 is further configured to buffer the LOSi alarm message in a buffer after recording the generation time of the LOSi alarm message.
处理模块103被设置成,当所述转义时间窗口发生变化,或者,预设的扫描周期到达时,扫描所述缓冲区中的LOSi告警消息。The processing module 103 is configured to scan the LOSi alarm message in the buffer when the escape time window changes, or when a preset scan period arrives.
在一些实施例中,上报模块104还被设置成,在存储模块102记录所述LOSi告警消息的生成时间之后,在处理模块103判断出所述LOSi告警消息的生成时间未落入当前开启的转义时间窗口,且所述LOSi告警消息的生成时长大于p倍所述第一阈值X的情况下,上报所述LOSi告警消息,p为大于1的整数。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, the processing module 103 determines that the generation time of the LOSi alarm message does not fall within the currently enabled transition. When the defined time window is defined, and the generation duration of the LOSi alarm message is greater than p times the first threshold X, the LOSi alarm message is reported, where p is an integer greater than 1.
在一些实施例中,处理模块103还被设置成,响应于接收到LOSi恢复消息,清除所述LOSi告警消息和所述第一DGi告警消息,并指示上报模块104上报LOSi告警恢复消息和第一DGi告警恢复消息。In some embodiments, the processing module 103 is further configured to, in response to receiving the LOSi alert message, clear the LOSi alert message and the first DGi alert message, and instruct the reporting module 104 to report the LOSi alert recovery message and the first DGi alert message DGi alarm recovery message.
在一些实施例中,所述转义时间窗口的开始时间为T N-X’,所述转义时间窗口的结束时间为T star+X’,其中,X’=X+(T N+T star)/X,T N为所述PON接口的DGi告警记录中最后一个第二DGi告警消息的生成时间,T star为所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间。 In some embodiments, the start time of the escape time window is T N -X', and the end time of the escape time window is T star +X', where X'=X+(T N +T star )/X, TN is the generation time of the last second DGi alarm message in the DGi alarm record of the PON interface, and T star is the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface.
在一些实施例中,当所述转义时间窗口的类型为第一类型时,如图11所示,所述信号丢失告警消息处理装置还包括DGi告警记录第一维护模块105,DGi告警记录第一维护模块105 被设置成,在告警生成模块101生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前有开启的转义时间窗口,不再更新所述PON接口的DGi告警记录。In some embodiments, when the type of the escape time window is the first type, as shown in FIG. 11 , the apparatus for processing a signal loss alarm message further includes a DGi alarm record first maintenance module 105 , and the DGi alarm record is the first maintenance module 105 . A 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, in response to the currently opened escape time window, no longer update the DGi alarm of the PON interface Record.
在一些实施例中,DGi告警记录第一维护模块105还被设置成,响应于所述转义时间窗口的结束时间到达,关闭所述转义时间窗口,并清空所述PON接口的DGi告警记录。In some embodiments, the DGi alarm record first maintenance module 105 is further configured to, in response to the arrival of the end time of the escape time window, close the escape time window, and clear the DGi alarm record of the PON interface .
在一些实施例中,所述信号丢失告警消息处理装置还包括转义时间窗口第一维护模块106,DGi告警记录第一维护模块105还被设置成,在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差小于或等于所述第一阈值X,将所述PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录。 In some embodiments, the signal loss alarm message processing apparatus further includes an escape time window first maintenance module 106, and the DGi alarm record first maintenance module 105 is further configured to generate the first ONU corresponding to the PON interface. After two DGi alarm messages, in response to the current escape time window not being 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 interface The difference between stars is less than or equal to the first threshold X, add 1 to the number m of second DGi alarm messages in the DGi alarm record of the PON interface, and write the second DGi alarm message and its generation time Tn into DGi alarm record of the PON interface.
转义时间窗口第一维护模块106被设置成,响应于m等于所述第二阈值N,根据首个第二DGi告警消息的生成时间T star及所述第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,并开启所述转义时间窗口。 The escape time window first maintenance module 106 is set to, in response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message, Calculate the start time and end time of the escape time window, and open the escape time window.
在一些实施例中,DGi告警记录第一维护模块105还被设置成,在告警生成模块101生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差大于所述第一阈值X,清除所述PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。 In some embodiments, the DGi alarm record first maintenance module 105 is further configured to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, in response to an escape time window that is not currently enabled , and the difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is greater than the first threshold X, clear the PON interface The first and second DGi alarm messages in the DGi alarm record and their generation time.
在一些实施例中,当所述转义时间窗口的类型为第二类型时,如图12所示,所述信号丢失告警消息处理装置还包括DGi告警记录第二维护模块105’和转义时间窗口第二维护模块106’,DGi告警记录第二维护模块105’被设置成,在告警生成模块101生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前有开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中第(n-N+1)个第二DGi告警消息的生成时间T (n-N+1)之差小于或等于所述第一阈值X,将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录,并确定所述第(n-N+1)个第二DGi告警消息为首个第二DGi告警消息,n为第二DGi告警消息的编号。 In some embodiments, when the type of the escape time window is the second type, as shown in FIG. 12 , the apparatus for processing a signal loss alarm message further includes a DGi alarm record second maintenance module 105 ′ and an escape time The window second maintenance module 106' and the DGi alarm record second maintenance module 105' are set to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, in response to the currently enabled escape time window, and the generation time Tn of the second DGi alarm message and the generation time T (n-N+1) of the (n-N+1)th second DGi alarm message in the DGi alarm record of the PON interface The difference is less than or equal to the first threshold X, write the second DGi alarm message and its generation time Tn into the DGi alarm record of the PON interface, and determine the (n-N+1)th The second DGi alarm message is the first second DGi alarm message, and n is the number of the second DGi alarm message.
转义时间窗口第二维护模块106’被设置成,根据更新后的首个第二DGi告警消息的生成时间及所述第二DGi告警消息的生成时间Tn,调整所述转义时间窗口的结束时间。The escape time window second maintenance module 106' is configured to adjust the end of the escape time window according to the generation time of the updated first second DGi alarm message and the generation time Tn of the second DGi alarm message time.
在一些实施例中,DGi告警记录第二维护模块105’还被设置成,响应于所述转义时间窗口的结束时间到达,关闭所述转义时间窗口,并删除所述PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。In some embodiments, the DGi alarm record second maintenance module 105' is further configured to, in response to the arrival of the end time of the escape time window, close the escape time window, and delete the DGi alarm of the PON interface The first second DGi alarm message in the record and its generation time.
在一些实施例中,DGi告警记录第二维护模块105’还被设置成,响应于当前无开启的转义时间窗口,且所述PON接口的DGi告警记录为空,将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录。In some embodiments, the DGi alarm record second maintenance module 105' is further configured to, in response to the current escape time window not being opened, and the DGi alarm record of the PON interface being empty, the second DGi alarm record The message and its generation time Tn are written into the DGi alarm record of the PON interface.
在一些实施例中,DGi告警记录第二维护模块105’还被设置成,在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差小于或等于所述第一阈值X,将所述PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录。 In some embodiments, the DGi alarm record second maintenance module 105' is further configured to, after generating the second DGi alarm message of the ONU corresponding to the PON interface, in response to the current escape time window not being opened, and all The difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is less than or equal to the first threshold X, and the The number m of the second DGi alarm message in the DGi alarm record is incremented by 1, and the second DGi alarm message and its generation time Tn are written into the DGi alarm record of the PON interface.
转义时间窗口第二维护模块106’被设置成,响应于m等于所述第二阈值N,根据首个第二DGi告警消息的生成时间T star及所述第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,并开启所述转义时间窗口。 The escape time window second maintenance module 106' is set to, in response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message , Calculate the start time and end time of the escape time window, and open the escape time window.
在一些实施例中,,DGi告警记录第二维护模块105’还被设置成,在告警生成模块101生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差大于所述第一阈值X,清除所述PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。 In some embodiments, the DGi alarm record second maintenance module 105' is further configured to, after the alarm generation module 101 generates the second DGi alarm message of the ONU corresponding to the PON interface, in response to the escape that is not currently enabled time window, and the difference between the generation time Tn of the second DGi alarm message and the generation time T star of the first second DGi alarm message in the DGi alarm record of the PON interface is greater than the first threshold X, clear the The first and second DGi alarm messages in the DGi alarm record of the PON interface and their generation time.
本申请实施例还提供了一种电子设备,该电子设备包括:一个或多个处理器以及存储装置;其中,存储装置上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如前述各实施例所提供的信号丢失告警消息处理方法。An embodiment of the present application also provides an electronic device, the electronic device includes: one or more processors and a storage device; wherein, one or more programs are stored on the storage device, when the one or more programs are stored by the one or more programs described above When executed by one or more processors, the above-mentioned one or more processors implement the method for processing a signal loss alarm message as provided in the foregoing embodiments.
本申请实施例还提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被执行时实现如前述各实施例所提供的信号丢失告警消息处理方法。Embodiments of the present application further provide a computer-readable medium on which a computer program is stored, wherein, when the computer program is executed, the method for processing a signal loss alarm message provided by the foregoing embodiments is implemented.
本申请实施例提供一种信号丢失告警消息处理方法,在生成PON接口对应的ONU的信号丢失LOSi告警消息之后,记录LOSi告警消息的生成时间;在LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将LOSi告警消息转义为第一DGi告警消息,并上报第一DGi告警消息,其中,在预设第一阈值X的时长内该PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,转义时间窗口开启,转义时间窗口的开始时间在该PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,转义时间窗口的结束时间在该PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后。在区域集中掉电的情况下,可以避免缺陷ONU掉电时上报LOSi告警消息导致的误派故障工单情况,提高ONU掉电判断的准确性。An embodiment of the present application provides a method for processing a signal loss alarm message. After a signal loss LOSi alarm message of an ONU corresponding to a PON interface is generated, the generation time of the LOSi alarm message is recorded; In the case of a defined time window, the LOSi alarm message is escaped as the first DGi alarm message, and the first DGi alarm message is reported, wherein the second DGi alarm record in the DGi alarm record of the PON interface within the preset first threshold X When the number m of DGi alarm messages reaches the preset second threshold N, the escape time window is opened, and 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. The end time of the defined time window is after the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface. In the case of centralized power failure in an area, it can avoid the mis-assignment of fault work orders caused by the reporting of LOSi alarm messages when a defective ONU is powered down, and improve the accuracy of ONU power failure judgment.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps in the methods disclosed above, and functional modules/units in an apparatus can be implemented as software, firmware, hardware, and appropriate 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 composed of several physical components Components execute cooperatively. Some or all 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). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be 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 can include any information delivery media, as is well known to those of ordinary skill in the art .
本文已经公开了一些实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其他实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本申请的范围的情况下,可进行各种形式和细节上的改变。Some embodiments have been disclosed herein, and although specific terms are employed, they are used and should only be construed in a general descriptive sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with other embodiments, unless expressly stated otherwise. Features and/or elements are used in combination. Accordingly, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the scope of the application as set forth in the appended claims.

Claims (15)

  1. 一种信号丢失告警消息处理方法,包括:A method for processing a signal loss alarm message, comprising:
    在生成PON接口对应的ONU的信号丢失LOSi告警消息之后,记录所述LOSi告警消息的生成时间,i为所述PON接口对应的ONU的标识;After generating the signal loss LOSi alarm message of the ONU corresponding to the PON interface, record the generation time of the LOSi alarm message, where i is the identifier of the ONU corresponding to the PON interface;
    在所述LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将所述LOSi告警消息转义为第一DGi告警消息;其中,在预设第一阈值X的时长内所述PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,所述转义时间窗口开启,所述转义时间窗口的开始时间在所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,所述转义时间窗口的结束时间在所述PON接口的DGi告警记录中当前的第二DGi告警消息的生成时间之后,所述第二DGi告警消息为所述PON接口接收到第i个ONU发送的掉电消息后生成的DGi告警消息,所述首个第二DGi告警消息是所述m个第二DGi告警消息中的首个第二DGi告警消息;In the case that the generation time of the LOSi alarm message falls within the currently opened escape time window, the LOSi alarm message is escaped as the first DGi alarm message; When the number m of second DGi alarm messages in the DGi alarm record of the PON interface reaches a preset second threshold N, the escape time window is opened, and the start time of the escape time window is at the DGi alarm of the PON interface. Before the generation time of the first second DGi alarm message in the record, 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. The alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i-th ONU, and the first second DGi alarm message is the first second DGi alarm message in the m second DGi alarm messages. DGi alarm message;
    上报所述第一DGi告警消息。The first DGi alarm message is reported.
  2. 如权利要求1所述的方法,其中,在记录所述LOSi告警消息的生成时间之后,所述方法还包括:在缓冲区缓存所述LOSi告警消息;The method according to claim 1, wherein after recording the generation time of the LOSi alarm message, the method further comprises: buffering the LOSi alarm message in a buffer;
    当所述转义时间窗口发生变化,或者,预设的扫描周期到达时,扫描所述缓冲区中的LOSi告警消息。When the escape time window changes, or when a preset scan period arrives, scan the LOSi alarm message in the buffer.
  3. 如权利要求1所述的方法,其中,在记录所述LOSi告警消息的生成时间之后,所述方法还包括:The method of claim 1, wherein after recording the generation time of the LOSi alarm message, the method further comprises:
    在所述LOSi告警消息的生成时间未落入当前开启的转义时间窗口,且所述LOSi告警消息的生成时长大于p倍所述第一阈值X的情况下,上报所述LOSi告警消息,p为大于1的整数。In the case that the generation time of the LOSi alarm message does not fall within the currently opened escape time window, and the generation time of the LOSi alarm message is greater than p times the first threshold X, the LOSi alarm message is reported, p is an integer greater than 1.
  4. 如权利要求1所述的方法,其中,将所述LOSi告警消息转义为第一DGi告警消息之后,所述方法还包括:The method of claim 1, wherein after escaping the LOSi alarm message into the first DGi alarm message, the method further comprises:
    响应于接收到LOSi恢复消息,清除所述LOSi告警消息和所述第一DGi告警消息,并上报LOSi告警恢复消息和第一DGi告警恢复消息。In response to receiving the LOSi recovery message, the LOSi alert message and the first DGi alert message are cleared, and the LOSi alert recovery message and the first DGi alert recovery message are reported.
  5. 如权利要求1所述的方法,其中,所述转义时间窗口的开始时间为T N-X’,所述转义时间窗口的结束时间为T star+X’,其中,X’=X+(T N+T star)/X,T N为所述PON接口的DGi告警记录中最后一个第二DGi告警消息的生成时间,T star为所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间。 The method of claim 1, wherein the start time of the escape time window is T N -X', and the end time of the escape time window is T star +X', wherein X'=X+( T N +T star )/X, T N is the generation time of the last second DGi alarm message in the DGi alarm record of the PON interface, and T star is the first second DGi alarm in the DGi alarm record of the PON interface The generation time of the message.
  6. 如权利要求1所述的方法,其中,所述转义时间窗口的类型为第一类型,所述方法还包括:The method of claim 1, wherein the type of the escape time window is the first type, and the method further comprises:
    在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前有开启的转义时间窗口,不再更新所述PON接口的DGi告警记录。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.
  7. 如权利要求6所述的方法,其中,所述方法还包括:The method of claim 6, wherein the method further comprises:
    响应于所述转义时间窗口的结束时间到达,关闭所述转义时间窗口,并清空所述PON接口的DGi告警记录。In response to the arrival of the end time of the escape time window, the escape time window is closed, and the DGi alarm record of the PON interface is cleared.
  8. 如权利要求1所述的方法,其中,所述转义时间窗口的类型为第二类型,所述方法还 包括:The method of claim 1, wherein the type of the escape time window is the second type, and the method further comprises:
    在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前有开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中第(n-N+1)个第二DGi告警消息的生成时间T (n-N+1)之差小于或等于所述第一阈值X,将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录,并确定所述第(n-N+1)个第二DGi告警消息为首个第二DGi告警消息,n为第二DGi告警消息的编号; 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, and the generation time Tn of the second DGi alarm message is in the DGi alarm record of the PON interface The difference between the generation time T (n-N+1) of the (n-N+1)th second DGi alarm message is less than or equal to the first threshold X, the second DGi alarm message and its generation time Tn Write the DGi alarm record of the PON interface, and determine that the (n-N+1)th second DGi alarm message is the first second DGi alarm message, and n is the number of the second DGi alarm message;
    根据更新后的首个第二DGi告警消息的生成时间及所述第二DGi告警消息的生成时间Tn,调整所述转义时间窗口的结束时间。The end time of the escape time window is adjusted according to the generation time of the updated first second DGi alarm message and the generation time Tn of the second DGi alarm message.
  9. 如权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, wherein the method further comprises:
    响应于所述转义时间窗口的结束时间到达,关闭所述转义时间窗口,并删除所述PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。In response to the arrival of the end time of the escape time window, the escape time window is closed, and the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface are deleted.
  10. 如权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, wherein the method further comprises:
    在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述PON接口的DGi告警记录为空,将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录。After the second DGi alarm message of the ONU corresponding to the PON interface is generated, in response to the currently open escape time window and the DGi alarm record of the PON interface is empty, the second DGi alarm message and its The generation time Tn is written into the DGi alarm record of the PON interface.
  11. 如权利要求6或8所述的方法,其中,所述方法还包括:The method of claim 6 or 8, wherein the method further comprises:
    在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差小于或等于所述第一阈值X,将所述PON接口的DGi告警记录中第二DGi告警消息的数量m加1,并将所述第二DGi告警消息及其生成时间Tn写入所述PON接口的DGi告警记录; After the second DGi alarm message of the ONU corresponding to the PON interface is generated, in response to the currently open escape time window, and the generation time Tn of the second DGi alarm message is in the DGi alarm record of the PON interface The difference between the generation time T star of the first second DGi alarm message is less than or equal to the first threshold X, add 1 to the number m of second DGi alarm messages in the DGi alarm record of the PON interface, and add the first threshold X. Two DGi alarm messages and their generation time Tn are written into the DGi alarm record of the PON interface;
    响应于m等于所述第二阈值N,根据首个第二DGi告警消息的生成时间T star及所述第二DGi告警消息的生成时间Tn,计算转义时间窗口的开始时间和结束时间,并开启所述转义时间窗口。 In response to m being equal to the second threshold N, according to the generation time T star of the first second DGi alarm message and the generation time Tn of the second DGi alarm message, calculate the start time and end time of the escape time window, and The escape time window is opened.
  12. 如权利要求6或8所述的方法,其中,所述方法还包括:The method of claim 6 or 8, wherein the method further comprises:
    在生成所述PON接口对应的ONU的第二DGi告警消息之后,响应于当前无开启的转义时间窗口,且所述第二DGi告警消息的生成时间Tn与所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间T star之差大于所述第一阈值X,清除所述PON接口的DGi告警记录中首个第二DGi告警消息及其生成时间。 After the second DGi alarm message of the ONU corresponding to the PON interface is generated, in response to the currently open escape time window, and the generation time Tn of the second DGi alarm message is in the DGi alarm record of the PON interface If the difference between the generation times T star of the first second DGi alarm message is greater than the first threshold X, the first second DGi alarm message and its generation time in the DGi alarm record of the PON interface are cleared.
  13. 一种信号丢失告警消息处理装置,包括告警生成模块、存储模块、处理模块和上报模块,其中,A signal loss alarm message processing device, comprising an alarm generating module, a storage module, a processing module and a reporting module, wherein,
    所述告警生成模块被设置成,生成PON接口对应的ONU的信号丢失LOSi告警消息,i为所述PON接口对应的ONU的标识;The alarm generating module is configured to generate a signal loss LOSi alarm message of the ONU corresponding to the PON interface, where i is the identifier of the ONU corresponding to the PON interface;
    所述存储模块被设置成,记录所述LOSi告警消息的生成时间;The storage module is configured to record the generation time of the LOSi alarm message;
    所述处理模块被设置成,在所述LOSi告警消息的生成时间落入当前开启的转义时间窗口的情况下,将所述LOSi告警消息转义为第一DGi告警消息;其中,在预设第一阈值X的时长内所述PON接口的DGi告警记录中第二DGi告警消息的数量m达到预设第二阈值N时,所述转义时间窗口开启,所述转义时间窗口的开始时间在所述PON接口的DGi告警记录中首个第二DGi告警消息的生成时间之前,所述转义时间窗口的结束时间在所述PON接口的DGi告警 记录中当前的第二DGi告警消息的生成时间之后,所述第二DGi告警消息为所述PON接口接收到第i个ONU发送的掉电消息后生成的DGi告警消息,所述首个第二DGi告警消息是所述m个第二DGi告警消息中的首个第二DGi告警消息;The processing module is configured to escape the LOSi alarm message as a first DGi alarm message when the generation time of the LOSi alarm message falls within the currently opened escape time window; wherein, in the preset When the number m of second DGi alarm messages in the DGi alarm record of the PON interface reaches a preset second threshold N within the duration of the first threshold X, the escape time window is opened, and the start time of the escape time window Before the generation time of the first second DGi alarm message in the DGi alarm record of the PON interface, the end time of the escape time window is in the generation time of the current second DGi alarm message in the DGi alarm record of the PON interface After the time, the second DGi alarm message is a DGi alarm message generated after the PON interface receives the power-down message sent by the i-th ONU, and the first second DGi alarm message is the m second DGi alarm messages The first and second DGi alarm messages in the alarm messages;
    所述上报模块被设置成,上报所述第一DGi告警消息。The reporting module is configured to report the first DGi alarm message.
  14. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;one or more processors;
    存储装置,其上存储有一个或多个程序;其中,A storage device having one or more programs stored thereon; wherein,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-12任一项所述的信号丢失告警消息处理方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the signal loss alarm message processing method according to any one of claims 1-12.
  15. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被执行时实现如权利要求1-12任一项所述的信号丢失告警消息处理方法。A computer-readable medium on which a computer program is stored, wherein when the program is executed, the method for processing a signal loss alarm message according to any one of claims 1-12 is implemented.
PCT/CN2021/130444 2021-04-29 2021-11-12 Loss of signal alarm message processing method and apparatus, and electronic device and readable medium WO2022227496A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110475948.2 2021-04-29
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
WO2022227496A1 true WO2022227496A1 (en) 2022-11-03

Family

ID=83745610

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324968A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Alarm management method and device of passive optical network terminal equipment
CN110460372A (en) * 2019-08-19 2019-11-15 深圳市双翼科技股份有限公司 A kind of passive optical network alarm management method and device
CN111064600A (en) * 2019-11-29 2020-04-24 中盈优创资讯科技有限公司 ONU area power-off and off-line monitoring method and device
CN112218180A (en) * 2019-07-12 2021-01-12 华为技术有限公司 Method, apparatus, storage medium, and program product for detecting status of optical fiber

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324968A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Alarm management method and device of passive optical network terminal equipment
CN112218180A (en) * 2019-07-12 2021-01-12 华为技术有限公司 Method, apparatus, storage medium, and program product for detecting status of optical fiber
CN110460372A (en) * 2019-08-19 2019-11-15 深圳市双翼科技股份有限公司 A kind of passive optical network alarm management method and device
CN111064600A (en) * 2019-11-29 2020-04-24 中盈优创资讯科技有限公司 ONU area power-off and off-line monitoring method and device

Also Published As

Publication number Publication date
CN115278404A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
US20220345218A1 (en) Method and apparatus for obtaining odn logical topology information, device, and storage medium
CN110224858B (en) Log-based alarm method and related device
US7050931B2 (en) Computing performance thresholds based on variations in network traffic patterns
US9413902B2 (en) Method and device for supplying power to access device
CN101312405B (en) Alarm processing method and network management system
US6633834B2 (en) Baselining of data collector data
WO2014127621A1 (en) Alarm processing method and device, alarm associated information setting method
CN106301837B (en) Passive optical network alarm detection method and device
WO2015090098A1 (en) Method and apparatus for realizing fault location
WO2012155682A1 (en) Alarm management method and device of terminal apparatus of passive optical network
CN101192970A (en) Method for automatic synchronization of user device version in Ethernet passive optical network system
US20090138578A1 (en) Method, system and apparatus for managing terminal devices
WO2016095710A1 (en) Method and device for adjusting srlg
US8196151B1 (en) Detecting queue problems using messages entering and leaving a queue during a time period
WO2022227496A1 (en) Loss of signal alarm message processing method and apparatus, and electronic device and readable medium
CN111130821A (en) Power failure alarm method, processing method and device
US20110153804A1 (en) Method and system for reporting defects within a network
US8509093B2 (en) Outage analysis system
CN109474473A (en) A kind of general alarm system and method towards perception data monitoring and warning
CN105429823B (en) Flux of multicast detection method and device in distributed communication equipment
US6009079A (en) Method for measuring HDT-NIU availability
US8566634B2 (en) Method and system for masking defects within a network
CN109635560A (en) Offshore platform generalized information management system
CN115168139A (en) Early warning method and system based on monitoring prediction
CN107835097A (en) Warning information synchronous method and device, network element

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21938956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE