Optical module fault early warning method and network equipment

By comparing the difference between the state parameters of the initial and operation of the optical module and the preset threshold, the early warning status of the optical module is judged, and the problem of fixed early warning threshold in the existing technology is solved, and flexible fault warning and customization are achieved. Required, improving response speed and accuracy.

CN119070901APending Publication Date: 2024-12-03NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411038718.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the existing optical module fault warning scheme, the early warning and alarm thresholds are fixed, lack flexibility and customization, cannot meet the needs of users in specific scenarios, and cannot monitor the change trend of module status, resulting in too short reaction time before the optical module fails.

Method used

By obtaining the difference between the initial and operational state parameters of the optical module, comparing it with the preset threshold, we can determine whether the optical module is in the preset early warning state, providing flexible multi-level custom setting alarm threshold, with a higher priority than the module early warning state and Alarm status.

Benefits of technology

It realizes setting preset thresholds according to actual needs, identifying the precursors of optical module failure in advance, and handling them in a timely manner to avoid business interruptions, which improves the flexibility and accuracy of optical module failure warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070901A_ABST
    Figure CN119070901A_ABST
Patent Text Reader

Abstract

The invention provides an optical module fault early warning method and network equipment, and the method comprises the steps: obtaining a first state parameter when an optical module initially works, obtaining a second state parameter of the optical module after the optical module operates for T time, obtaining a difference value between the second state parameter and the first state parameter, and carrying out the fault early warning of the optical module. And judging whether the optical module works in a preset early warning state or not according to a comparison result of the difference value and a preset threshold value. Through the method, a user can flexibly set the preset threshold value according to the use scene of the optical module, and the capability of monitoring the state change trend of the optical module according to the customization requirement of the characteristic scene is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and network device for early warning of optical module failure. Background Art

[0002] DDM: Digital Diagnostic Monitoring, digital diagnostic monitoring function. It can monitor optical module parameters (such as operating temperature, transmitted optical power, and received optical power, etc.) in real time to help predict and locate faults.

[0003] DSP: Digital signal processing chip, the internal processor of some high-speed optical modules.

[0004] I2C: Inter-Integrated Circuit, which is an integrated circuit bus. It is a serial communication bus through which the host communicates with the optical module.

[0005] In current communication equipment, optical modules undertake the most basic physical layer communication tasks. Once an optical module fails, it will cause user service interruption, which is unacceptable in some application scenarios. Due to the characteristics of the optical components inside the optical module, its failure is difficult to avoid. Therefore, it is necessary to consider how to avoid or reduce losses from the perspective of the equipment when the optical module fails.

[0006] The working status of the optical module can be characterized by relevant digital diagnostic parameters, such as temperature, voltage, current, and transmit / receive optical power. When the module is operating normally, these parameters will be in the normal range. When the optical module is about to fail or has failed, its diagnostic parameter value will often exceed the threshold of the normal operating range, and the alarm flag will be set. For the device software, it is possible to determine whether the optical module has failed by periodically querying the real-time diagnostic parameter value or alarm flag of the optical module. However, the built-in diagnostic parameter threshold of the optical module has a wide range and few levels, and has approached or exceeded the limit of the working range of the optical module. The optical module may be on the verge of failure or has already failed, leaving very little time for the user to react. Summary of the invention

[0007] In order to overcome the problems existing in the related art, this specification provides a method and network device for early warning of optical module failure.

[0008] According to a first aspect of an embodiment of this specification, a method for early warning of an optical module failure is provided, the method comprising:

[0009] Acquire a first state parameter of the optical module when it is initially working;

[0010] After the optical module runs for T time, obtaining a second state parameter of the optical module;

[0011] Obtaining a difference between the second state parameter and the first state parameter;

[0012] According to the comparison result between the difference and the preset threshold, it is judged whether the optical module is working in the preset warning state.

[0013] Wherein, the optical module is also provided with a module warning state and a module alarm state;

[0014] The preset warning state has a higher priority than the module warning state;

[0015] The module warning state has a higher priority than the module alarm state.

[0016] The module warning state and the module alarm state are factory settings of the optical module.

[0017] Wherein, the method further comprises:

[0018] A preset threshold is configured, where the preset threshold is a range allowing normal fluctuation of the optical module.

[0019] Wherein, obtaining the difference between the second state parameter and the first state parameter includes:

[0020] The absolute value of the difference between the second state parameter and the first state parameter is obtained.

[0021] Wherein, judging whether the optical module is working in a preset warning state according to a comparison result between the difference and a preset threshold value includes:

[0022] When the difference is greater than a preset threshold, it is determined that the optical module is working in a preset warning state, and a first warning message is output to the user;

[0023] When the difference is less than or equal to a preset threshold, it is determined that the optical module is operating in a normal working state.

[0024] It can be seen from the above embodiments that the user can set a preset threshold value according to actual needs, obtain the first state parameter of the optical module when it initially works, and obtain the second state parameter of the optical module after running for T time, and compare the difference between the first state parameter and the second state parameter with the preset threshold value. It can be known in advance whether the optical module has a precursor of failure, so that the optical module can be processed in time to avoid business interruption.

[0025] According to a second aspect of an embodiment of this specification, a network device is provided, in which an optical module is installed, and the network device includes:

[0026] An acquisition module, used for acquiring a first state parameter of the optical module when it is initially working;

[0027] The acquisition module is further used to acquire a second state parameter of the optical module after the optical module runs for T time;

[0028] The acquisition module is further used to obtain the difference between the second state parameter and the first state parameter;

[0029] The judgment module is used to judge whether the optical module is working in a preset warning state according to the comparison result between the difference and the preset threshold.

[0030] Wherein, the optical module is configured with a module warning state and a module alarm state.

[0031] Wherein, the network device further includes: a configuration module;

[0032] The configuration module is used to configure a preset threshold, where the preset threshold is a range allowing the optical module to fluctuate normally.

[0033] Wherein, the judging module is used to determine that the optical module is working in a preset warning state when it is judged that the difference is greater than a preset threshold, and then output a first warning message to the user;

[0034] Or when it is determined that the difference is less than or equal to a preset threshold, it is determined that the optical module is operating in a normal working state.

[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.

[0037] Figure 1 This is a schematic diagram of a distribution interval of real-time diagnostic parameters of an optical module according to an exemplary embodiment of the present specification.

[0038] Figure 2 The present specification is a flowchart of a method for early warning of an optical module failure according to an exemplary embodiment.

[0039] Figure 3 This is a schematic diagram of a distribution interval of real-time diagnostic parameters of an optical module according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION

[0040] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.

[0041] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0042] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0043] The current mainstream optical module alarm solution is that the network device software directly reads the internal warning and alarm status flag bits of the optical module, or reads the real-time diagnostic parameters of the optical module and compares them with the alarm threshold to report the warning and alarm status of the optical module to the user. When producing optical modules, optical module manufacturers write the warning threshold and alarm threshold of each real-time diagnostic parameter into their internal registers, and the range of the alarm threshold is greater than the warning threshold. For an optical module in operation, the real-time diagnostic parameters may be in three ranges, such as Figure 1 shown.

[0044] 1) Normal working range of the module.

[0045] If the real-time diagnostic parameters are in this range, it means that various indicators of the optical module are in normal state and the module is working normally.

[0046] 2) Module warning interval.

[0047] If the real-time diagnostic parameters are in this range, it means that various indicators of the optical module are slightly abnormal. The module may be abnormal and needs attention.

[0048] 3) Module alarm interval.

[0049] If the real-time diagnostic parameters are in this range, it means that various indicators of the optical module are abnormal and the module is in an abnormal state. If it is not handled, it may cause communication interruption.

[0050] On the network equipment, the management software is used to periodically poll the I2C bus to read the real-time diagnostic parameters of the optical module, and compare them with the above thresholds to determine whether the optical module has a risk of failure or has failed, and then inform the user by sending different levels of alarm information. The early warning and alarm processing logic for faults is as follows:

[0051] 1. When the real-time diagnostic parameters are within the normal working range:

[0052] It indicates that the module is working normally and does not output any warning or alarm information. No intervention is required.

[0053] 2. When the real-time diagnostic parameters are not within the normal working range:

[0054] 1) If the real-time diagnostic parameter is within the warning range, that is, exceeds the warning threshold:

[0055] Indicates that the module may fail, and sends warning information to the user in time to remind the user to pay attention.

[0056] 2) If the real-time diagnostic parameter is within the warning range, that is, exceeds the warning threshold:

[0057] Indicates that the module has failed and sends an alarm message to the user in time to remind the user to intervene in time.

[0058] At the same time, users can also use the command line to check whether a fault occurs at any time.

[0059] However, in the above solution, since the warning threshold and alarm threshold are determined when the optical module leaves the factory, the module's own warning standard is fixed, with few levels of classification and coarse risk management granularity (when producing modules, optical module manufacturers generally only set two levels of thresholds, alarm and warning, inside the optical module in accordance with the MSA protocol requirements, and since the internal register storage space of the module is limited, there is no storage space even if you want to increase it.), lack of customization, inflexibility, cannot meet the customization needs of users in specific scenarios, and cannot monitor the trend of module status changes.

[0060] In order to solve the above technical problems, the present disclosure provides a method for early warning of optical module failure, such as Figure 2 As shown, the method includes:

[0061] S201 obtains a first state parameter of the optical module when it is initially working;

[0062] S202, after the optical module runs for T time, obtaining a second state parameter of the optical module;

[0063] S203: obtaining a difference between the second state parameter and the first state parameter;

[0064] S204: judging whether the optical module is operating in a preset warning state according to a comparison result between the difference and a preset threshold.

[0065] In this embodiment, the administrator can set a preset threshold for the optical module through the management software to achieve multiple levels of customized alarm thresholds.

[0066] For example, when the optical module operates in a key position, in order to ensure the stability of transmission, a smaller preset threshold can be set, for example, 3db. For another example, if the module operates in a non-key position, it can be known that the preset threshold is set to 5db.

[0067] In step S201, when the optical module is enabled in the network device for the first time, the network device reads the diagnostic parameters of the optical module as the first state parameters, and the state parameters may include: operating temperature, transmitted optical power, received optical power, etc.

[0068] Typically, an optical module is subjected to factory testing to ensure that the optical module is in an optimal working state when it leaves the factory. When the optical module is first enabled in a network device, the first state parameter obtained can be used as a benchmark reference value.

[0069] In step S202, the network device can periodically obtain the status parameters of the optical module. The period can be set by the administrator according to the application scenario. In this embodiment, T can be a period. After the optical module runs for T time, the network device obtains the status parameters of the optical module as the second status parameters.

[0070] In step S203, when the difference between the second state parameter and the first state parameter is less than a preset threshold value (in this embodiment, in order to prevent a negative number, the difference may be the absolute value of the difference between the second state parameter and the first state parameter), it can be considered that the optical module is within a normal operating fluctuation range, such as Figure 3 shown.

[0071] In this embodiment, when the difference between the second state parameter and the first state parameter is greater than or equal to the preset threshold, it can be considered that the optical module is in a preset warning state. Figure 3It can be seen that when the optical module is in the preset warning state, the operating state of the optical module is between the fluctuation range and the module warning range. In this state, the optical module is still in a workable state, but when the optical module is in the preset warning state, it can be considered that the optical module may enter the module warning state at any time, that is, the optical module may fail at any time. In order to avoid the situation where the optical module affects the business due to the instability of the optical module, when the optical module enters the preset warning state, the user can be notified that the optical module state is abnormal, and the relevant optical module parameters are provided to the user, so that the user can handle the optical module in time.

[0072] In this embodiment, the priority of the preset warning state is higher than that of the module warning state, and the priority of the module warning state is higher than that of the module alarm state.

[0073] It can be seen from the above embodiments that by setting a preset threshold and a first state parameter and a second state parameter, and comparing the difference between the first state parameter and the second state parameter with the preset threshold, it is determined by comparison whether there is an abnormality in the operating state of the optical module. Through this method, the user can flexibly set the preset threshold according to the usage scenario of the optical module. For example, when a transmission scenario with high precision and high reliability is required, the preset threshold can be set to a smaller value, such as 3db. When a transmission scenario does not require high precision, the preset threshold can be set to a larger value, such as 5db. This achieves high flexibility and can be customized according to the characteristic scenarios and can monitor the trend of changes in the state of the optical module.

[0074] Based on the above method embodiments, the present disclosure further provides a network device, in which an optical module is installed, and the network device includes:

[0075] An acquisition module, used for acquiring a first state parameter of the optical module when it is initially working;

[0076] The acquisition module is further used to acquire a second state parameter of the optical module after the optical module runs for T time;

[0077] The acquisition module is further used to obtain the difference between the second state parameter and the first state parameter;

[0078] The judgment module is used to judge whether the optical module is working in a preset warning state according to the comparison result between the difference and the preset threshold.

[0079] Wherein, the optical module is configured with a module warning state and a module alarm state.

[0080] Wherein, the network device further includes: a configuration module;

[0081] The configuration module is used to configure a preset threshold, where the preset threshold is a range allowing the optical module to fluctuate normally.

[0082] Wherein, the judging module is used to determine that the optical module is working in a preset warning state when it is judged that the difference is greater than a preset threshold, and then output a first warning message to the user;

[0083] Or when it is determined that the difference is less than or equal to a preset threshold, it is determined that the optical module is operating in a normal working state.

[0084] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0085] The above is a description of a specific embodiment of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0086] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.

[0087] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.

[0088] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A method for early warning of optical module failure, characterized in that: The method comprises: Acquire a first state parameter of the optical module when it is initially working; After the optical module runs for T time, obtaining a second state parameter of the optical module; Obtaining a difference between the second state parameter and the first state parameter; According to the comparison result between the difference and the preset threshold, it is judged whether the optical module is working in the preset warning state.

2. The method according to claim 1, characterized in that The optical module is also provided with a module early warning state and a module alarm state; The preset warning state has a higher priority than the module warning state; The module warning state has a higher priority than the module alarm state.

3. The method according to claim 2, characterized in that The module warning state and the module alarm state are factory settings of the optical module.

4. The method according to claim 1, characterized in that: The method further comprises: A preset threshold is configured, where the preset threshold is a range allowing normal fluctuation of the optical module.

5. The method according to claim 1, characterized in that The obtaining the difference between the second state parameter and the first state parameter includes: The absolute value of the difference between the second state parameter and the first state parameter is obtained.

6. The method according to claim 1, characterized in that The step of judging whether the optical module is operating in a preset warning state according to a comparison result between the difference and a preset threshold value includes: When the difference is greater than a preset threshold, it is determined that the optical module is working in a preset warning state, and a first warning message is output to the user; When the difference is less than or equal to a preset threshold, it is determined that the optical module is operating in a normal working state.

7. A network device, characterized in that: The network device is equipped with an optical module, and the network device includes: An acquisition module, used for acquiring a first state parameter of the optical module when it is initially working; The acquisition module is further used to acquire a second state parameter of the optical module after the optical module runs for T time; The acquisition module is further used to obtain the difference between the second state parameter and the first state parameter; The judgment module is used to judge whether the optical module is working in a preset warning state according to the comparison result between the difference and the preset threshold.

8. The network device according to claim 7, characterized in that: The optical module is configured with a module early warning state and a module alarm state.

9. The network device according to claim 7, characterized in that: The network device also includes: a configuration module; The configuration module is used to configure a preset threshold, where the preset threshold is a range allowing the optical module to fluctuate normally.

10. The network device according to claim 7, characterized in that: The judging module is configured to, when judging that the difference is greater than a preset threshold, determine that the optical module is operating in a preset warning state, and output a first warning message to the user; Or when it is determined that the difference is less than or equal to a preset threshold, it is determined that the optical module is operating in a normal working state.