Method, device and equipment for evaluating health state of optical module and medium

By collecting historical operating status information of the optical module, determining the normal optical power interval and detecting whether the current optical power exceeds this interval, the problem of difficulty in evaluating the healthy state before the optical module failure is solved, and timely abnormal detection and fault prevention of the optical module are realized.

CN119995706AActive Publication Date: 2025-05-13STRONTIUM SILICON (SHANGHAI) NETWORK TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411995175.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-13
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

The prior art is difficult to effectively evaluate the optical module's health status before it fails, resulting in the inability to prevent and repair the optical module in time when it fails.

Method used

By collecting the operating status information of multiple historical moments in the target port of the optical module, including transmission rate, packet loss rate and optical power, the normal optical power interval of the target terminal is determined, and the target terminal is abnormal when the current optical power exceeds this interval.

Benefits of technology

It realizes the evaluation of the optical module's health status before the failure of the optical module, and promptly detects the target terminal abnormality to prevent the occurrence of optical module failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995706A_ABST
    Figure CN119995706A_ABST
Patent Text Reader

Abstract

The invention provides a health state assessment method, device and equipment of an optical module and a medium, and relates to the technical field of communication. The method comprises the following steps: for a target terminal in a running state in a target port of an optical module, acquiring historical running state information of the target terminal at a plurality of historical moments; the historical operation state information acquired at each historical moment comprises the historical transmission rate, the historical packet loss rate and the historical optical power of the target terminal; determining a normal optical power interval of the target terminal according to historical operation state information acquired at a plurality of historical moments; obtaining the current optical power of the target terminal at the current moment; and under the condition that the current optical power is out of the normal optical power interval range, determining that the target terminal is abnormal. According to the method, whether the target terminal in the running state is abnormal or not can be detected before the optical module breaks down, so that the health state of the optical module is evaluated, and the optical module is prevented from breaking down.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and more specifically, to a method, device, equipment and medium for evaluating the health status of an optical module. Background Art

[0002] The optical module is the core device in the optical fiber communication system and is the carrier of signal transmission between the switch and the device. The optical module includes a transmitting end and a receiving end. The transmitting end is used to convert the electrical signal sent by the device where the optical module is located into an optical signal output, and the receiving end is used to convert the optical signal sent by the external device into an electrical signal and provide it to the device where it is located.

[0003] Currently, users can only realize that an optical module has failed when the optical module fails to work properly. However, at this time, the optical module is already in a faulty state and cannot perform its functions normally. Therefore, in order to reduce the problems caused by optical module failures, how to effectively evaluate the health status of the optical module before it fails to prevent the occurrence of optical module failures has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] An object of the present disclosure is to provide a new technical solution for health status assessment of optical modules.

[0005] According to a first aspect of the present disclosure, a method for evaluating the health status of an optical module is provided, comprising:

[0006] For a target terminal in a target port of the optical module that is in operation, historical operation status information of the target terminal is collected at multiple historical moments; wherein the historical operation status information collected at each historical moment includes a historical transmission rate, a historical packet loss rate, and a historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port;

[0007] Determining a normal optical power range of the target terminal according to the historical operating status information collected at the multiple historical moments;

[0008] Obtaining the current optical power of the target terminal at the current moment;

[0009] When the current optical power is outside the normal optical power interval, it is determined that the target terminal is abnormal.

[0010] Optionally, determining the normal optical power range of the target terminal according to the historical operating status information collected at the multiple historical moments includes:

[0011] Inputting the historical operation status information collected at the multiple historical moments into a preset machine learning model to obtain a first optical power interval output by the preset machine learning model;

[0012] The normal optical power interval is determined according to the first optical power interval.

[0013] Optionally, determining the normal optical power interval according to the first optical power interval includes:

[0014] Obtaining a second optical power interval preset by a user;

[0015] The intersection of the first optical power interval and the second optical power interval is used as the normal optical power interval.

[0016] Optionally, the method further comprises:

[0017] Acquire a training sample set, the training sample set comprising a plurality of training samples, one of the training samples comprising a plurality of groups of training data for a training terminal in operation, a normal sample optical power interval corresponding to the plurality of groups of training data, a set of the training data comprising a sample transmission rate, a sample packet loss rate and a sample optical power, the target terminal and the training terminal being both a transmitting end or a receiving end;

[0018] The preset machine learning model is trained according to the training sample set.

[0019] Optionally, training the preset machine learning model according to the training sample set includes:

[0020] Obtaining the maximum allowable packet loss rate and the minimum transmission rate of the training terminal;

[0021] The maximum allowed packet loss rate and the minimum transmission rate are used as constraints of the preset machine learning model, and the preset machine learning model is trained based on the training sample set.

[0022] Optionally, the method further comprises:

[0023] The steps of collecting and obtaining the historical operation status information of the target terminal at multiple historical moments; and determining the normal optical power interval of the target terminal according to the historical operation status information are periodically performed to update the normal optical power interval.

[0024] Optionally, the method further comprises:

[0025] In the case where the target terminal is abnormal, obtaining a static state parameter of the target terminal in a standby state, wherein the static state parameter includes at least one of actual optical eye diagram information, actual bit error rate, and actual static optical power;

[0026] According to the static state parameter, abnormal information of the target terminal is determined.

[0027] According to a second aspect of the present disclosure, a device for evaluating the health status of an optical module is provided, comprising:

[0028] A collection module, for collecting historical operation status information of a target terminal in a target port of the optical module that is in operation at multiple historical moments; wherein the historical operation status information collected at each historical moment includes a historical transmission rate, a historical packet loss rate, and a historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port;

[0029] A first determination module, configured to determine a normal optical power range of the target terminal according to the historical operation status information collected at the multiple historical moments;

[0030] An acquisition module, used to acquire the current optical power of the target terminal at the current moment;

[0031] The second determination module is used to determine that the target terminal is abnormal when the current optical power is outside the normal optical power interval.

[0032] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising the health status assessment device of the optical module according to the second aspect;

[0033] Alternatively, the electronic device includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the first aspects.

[0034] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the first aspects is implemented.

[0035] The present disclosure provides a method for evaluating the health status of an optical module, including: for a target terminal in a running state in a target port of the optical module, collecting historical operating status information of the target terminal at multiple historical moments; wherein the historical operating status information collected at each historical moment includes the historical transmission rate, historical packet loss rate, and historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port; determining the normal optical power range of the target terminal according to the historical operating status information collected at multiple historical moments; obtaining the current optical power of the target terminal at the current moment; and determining that the target terminal is abnormal when the current optical power is outside the normal optical power range. Based on this method, it is possible to detect whether the target terminal in a running state is abnormal before the optical module fails, thereby realizing the evaluation of the health status of the optical module, and then preventing the optical module from failing.

[0036] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 It is a flowchart of a method for evaluating the health status of an optical module provided by the present disclosure;

[0039] Figure 2 It is a structural schematic diagram of a health status assessment device for an optical module provided by the present disclosure;

[0040] Figure 3 It is a structural schematic diagram of an electronic device provided by the present disclosure. DETAILED DESCRIPTION

[0041] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0042] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0043] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0044] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0045] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0046] Storage Area Network (SAN) is a network architecture that provides high-speed data storage services. SAN can include multiple network element devices, for example, a large number of fiber optic switches. However, a fiber optic switch usually includes multiple ports, each of which is plugged with an optical module. Each optical module includes a transmitting end and a receiving end, wherein the transmitting end is used to convert the electrical signal emitted by the device where the optical module is located into an optical signal output, and the receiving end is used to receive the optical signal sent by the external device and convert the optical signal into an electrical signal and provide it to the device where it is located. In the case of a failure of a certain transmitting end and receiving end of the optical module, the optical module fails. Based on the above content, it can be seen that there are a large number of optical modules in the SAN. In the case where the transmitting end or receiving end of one of the optical modules fails, causing the optical module to fail, the maintenance personnel need to perform a lot of troubleshooting work to find the transmitting end or receiving end that failed, and at the same time, the optical module cannot perform its function normally. Therefore, how to effectively evaluate the health status of the optical module before it fails to prevent the occurrence of failures has become a technical problem that needs to be solved urgently.

[0047] Based on the above problems, the present disclosure provides a method for evaluating the health status of an optical module. Figure 1 As shown, the following steps S110 to S140 are included.

[0048] Step S110 , for a target terminal in a target port of the optical module that is in an operating state, historical operating state information of the target terminal is collected at multiple historical moments.

[0049] The historical operation status information collected at each historical moment includes the historical transmission rate, historical packet loss rate and historical optical power of the target terminal, and the target terminal is the transmitting end or the receiving end in the target port.

[0050] In this embodiment, the optical module includes two terminals, namely a receiving terminal and a transmitting terminal. The terminal used for health assessment of the optical module and in operation is recorded as a target terminal, and the port corresponding to the target terminal is recorded as a target port.

[0051] In some embodiments, the operating status information of the target terminal in the operating state can be collected within a set time period to serve as the historical operating status information at the moment after the set time period. In one example, the operating status information of the target terminal is collected once an hour on Mondays to serve as the historical operating status information corresponding to the moment from Tuesday to the next Monday.

[0052] In some embodiments, for any historical moment, the transmission rate and packet loss rate of the target terminal at the historical moment can be determined by reading the message statistics of the optical fiber switch where the optical module at the historical moment is located. The transmission rate of the target terminal at the historical moment is recorded as the historical transmission rate, and the packet loss rate of the target terminal at the historical moment is recorded as the packet loss rate.

[0053] In an example, the packet statistics provided by the fiber optic switch can be as follows:

[0054] fc1 / 1is up

[0055] Port description is CH242_010100139056

[0056] Hardware is Fiber Channel,SFP is short wave laser w / o OFC(SN)

[0057] Port WWN is 20:01:8c:60:4f:10:11:60

[0058] Peer port WWN is 50:06:01:62:4a:20:0c:11

[0059] Admin port mode is auto,trunk mode is on

[0060] snmp link state traps are enabled

[0061] Port mode is F,FCID is 0x0b0200

[0062] Port vsan is 1

[0063] Admin Speed ​​is auto

[0064] Operating Speed ​​is 16Gbps

[0065] Rate mode is dedicated

[0066] Port flow-control is R_RDY

[0067] Transmit B2B Credit is 6

[0068] Receive B2B Credit is 64

[0069] B2B State Change:Adnin(on),Oper(down)

[0070] Receive data field Size is 2112

[0071] Beacon is turned off

[0072] Logical type is edge

[0073] 5minutes input rate 32bits / sec,4bytes / sec,0frames / sec

[0074] 5minutes output rate 0bits / sec,0bytes / sec,0franes / sec

[0075] 120464frames input,9151676bytes

[0076] 0discards,0errors

[0077] 0invalid CRC / FCS,0unknown class

[0078] 0too long,0too short

[0079] 77957frames output,4677852bytes

[0080] 0discards,0errors

[0081] 1input OLS,1LRR,O NOS,0loop inits

[0082] 1output OLS,O LRR,1NOS,0loop inits

[0083] 64receive B2B credit remaining

[0084] 6transmit B2B credit remaining

[0085] 6low priority transmit B2Bcredit remaining

[0086] Interface last changed at Fri Nov 1 09:55:02 2024

[0087] Last clearing of"show interface*counters:never

[0088] Furthermore, for any historical moment, the optical power of the target terminal at the historical moment can be determined by reading the digital diagnostic monitoring (DDM) information of the optical fiber switch where the optical module at the historical moment is located, and the optical power of the target terminal at the historical moment is recorded as the historical optical power.

[0089] In one example, the digital diagnostic function information described above may be as follows:

[0090] fc1 / 1sfp is present

[0091] Nane is CISCO-AVAGO

[0092] Manufacturer's part number is AFBR-57F5PZ-CS1

[0093] Revision is B2

[0094] Serial number is AVJ1907JNNH

[0095] Noninal bit rate is 14000Mb / s

[0096] Link length supported for 50 / 125um 0M2 fiber is 35m

[0097] Link length supported for 62.5 / 125un fiber is 15m

[0098] Link length supported for 50 / 125um 0M3 fiber is 100m

[0099] FC Transnitter type is short wave laser w / o OFC(SN)

[0100] FC Transnitter supports short distance link length

[0101] Transnission mediun is multimode laser with 62.5un aperture(M6)

[0102] Supported speeds are-Min speed:4000Mb / s,Max speed:16000Mb / s

[0103] Cisco extended id is unknovn(0x0)

[0104] Cisco part number is 10-2666-01

[0105] Cisco pid is DS-SFP-FC16G-SW

[0106] No tx fault,no rx loss,in sync state,diagnostic monitoring type is0x68

[0107] SFP Diagnostics Information:

[0108]

[0109] Note:++high-alarn:+high-warning.-low-alarm;-low-varning

[0110] Of course, the historical operation status information of the target terminal may also be collected at multiple historical moments by other means, which is not limited in the present disclosure.

[0111] It should be noted that the number of historical moments in the above step S110 can be determined based on experience, and the present disclosure does not limit this.

[0112] Step S120, determining a normal optical power range of the target terminal according to historical operation status information collected at multiple historical moments.

[0113] Among them, the normal optical power interval can be the interval where the optical power of the target terminal is in a normal state without faults. That is to say, the normal optical power interval can be used to characterize the optical power interval of the target terminal that meets the preset transmission rate requirements and packet loss rate requirements. For example, if the optical power of the target terminal exceeds the normal optical power interval, the transmission rate of the target terminal decreases and the packet loss rate increases, resulting in a decrease in the data transmission quality of the storage area network.

[0114] The historical operation status information can reflect the normal optical power range of the target terminal. Therefore, the normal optical power range of the target terminal can be determined based on the historical operation status information collected at multiple historical moments.

[0115] It is understandable that due to the different usage situations of different target terminals, the historical operating status information collected at multiple historical moments of different target terminals usually differs. Therefore, the normal optical power ranges of different target terminals also differ. That is, the normal optical power ranges of different target terminals determined according to the historical operating status information in this step may be different, which is different from the traditional technology of setting the same normal optical power range for different terminals.

[0116] In one embodiment of the present disclosure, the above step S120 can be implemented by machine learning. In this regard, the above step S120 is specifically implemented by the following steps S1201 and S1202.

[0117] Step S1201, inputting historical operating status information collected at multiple historical moments into a preset machine learning model to obtain a first optical power interval output by the preset machine learning model.

[0118] The preset machine learning model is pre-trained and can predict the corresponding predicted normal optical power interval according to the historical operating status information collected at multiple historical moments. In the disclosed embodiment, the predicted normal optical power interval output by the preset machine learning model is recorded as the first optical power interval.

[0119] In some embodiments, the preset machine learning model disclosed herein may be exemplified as a machine learning model based on a gradient boosting decision tree (GBDT).

[0120] In some embodiments, the preset machine learning model can be trained through the following steps S1201-1 and S1201-2.

[0121] Step S1201 - 1 , obtaining a training sample set.

[0122] Among them, the training sample set includes multiple training samples, one training sample includes multiple groups of training data for training terminals in operation and normal sample optical power ranges corresponding to the multiple groups of training data, one group of training data includes sample transmission rate, sample packet loss rate and sample optical power, and the target terminal and the training terminal are both transmitting terminals or receiving terminals.

[0123] In the embodiment of the present disclosure, when the target terminal is a transmitting terminal, the training terminal is also a transmitting terminal. When the target terminal is a receiving terminal, the training terminal is a receiving terminal.

[0124] Taking the target terminal as a transmitting terminal as an example, for a training sample, in some embodiments, a transmitting terminal of an optical module of a fiber optic switch is randomly selected as a training terminal, and the training terminal is controlled to be in operation. On this basis, an acquisition step is performed, and the acquisition step includes: for the same moment, collecting the transmission rate at the moment as a sample transmission rate, collecting the packet loss rate at the moment as a sample packet loss rate, and collecting the optical power at the moment as a sample optical power. Repeat the aforementioned acquisition steps to obtain multiple groups of training data corresponding to a training sample. For multiple groups of training data of a training sample, the normal optical power range can be determined, for example, by an expert. Furthermore, the normal optical power range corresponding to the multiple groups of training data of a training sample is determined as the normal sample optical power range of the training sample.

[0125] Step S1201-2, training a preset machine learning model according to the training sample set.

[0126] The training sample set obtained based on the above step S1201-1 is input into the preset machine learning model with default parameters to train the preset machine learning model with default parameters, thereby obtaining a trained machine learning model.

[0127] In some embodiments, in order to better train the preset machine learning module, the above step S1201-2 is specifically implemented through the following steps S1201-21 and S1201-22.

[0128] Step S1201-21, obtaining the maximum allowable packet loss rate and minimum transmission rate of the training terminal.

[0129] In some embodiments, configuration information corresponding to the training terminal may be read to determine the maximum allowable packet loss rate and the minimum transmission rate of the training terminal.

[0130] Step S1201-22, the maximum allowable packet loss rate and the minimum transmission rate are used as constraints of the preset machine learning model, and the preset machine learning model is trained according to the training sample set.

[0131] In this embodiment, a more accurate preset machine learning model can be trained through the above steps S1201-22.

[0132] Step S1202: determine a normal optical power interval according to the first optical power interval.

[0133] In some embodiments, the first optical power interval is directly used as the normal optical power interval.

[0134] In some other embodiments, it can be achieved through the following steps S1202-1 and S1202-2.

[0135] Step S1202-1, obtaining a second optical power interval preset by a user.

[0136] In some embodiments, the second optical power range is pre-set according to the product manual of the optical module where the target terminal is located, for example, it can be the optical power range specified in the product manual by the optical module manufacturer. In other embodiments, the second optical power range is pre-set according to expert experience.

[0137] Step S1202-2: taking the intersection of the first optical power interval and the second optical power interval as a normal optical power interval.

[0138] In an example, if the first optical power interval obtained based on the above step S1201 is [a, b], and the second optical power interval obtained based on the above step S1202-1 is [c, d], where c<a<d<b, then the normal optical power interval is determined to be [a, d].

[0139] Based on the above steps S1202-1 and S1202-2, a more accurate normal optical power range can be obtained by combining the first optical power range obtained based on the preset machine learning model with the second optical power range obtained based on expert experience or the product manual of the optical module where the target terminal is located.

[0140] Step S130, obtaining the current optical power of the target terminal at the current moment.

[0141] The current optical power of the target terminal at the current moment is obtained in the same manner as the historical optical power of the target terminal, which will not be described in detail here.

[0142] The current optical power of the target terminal at the current moment is a fluctuating value, which is related to the optical fiber switch, optical fiber and peer device where the target terminal is located.

[0143] For optical fiber switches, the applicant has conducted a lot of observations and studies on failed terminals (including the transmitting end and the receiving end) and found that the optical power of the terminal is a leading indicator of whether the terminal is abnormal. Once the optical power of the terminal deviates from the corresponding normal optical power range, indicators such as the transmission rate and packet loss rate of the terminal will begin to deteriorate, and eventually the terminal will be unavailable due to a fault. Therefore, based on the above steps S120 and S130, the health status assessment method of the optical module provided in the present disclosure determines whether the target terminal is abnormal through the following step S140.

[0144] Step S140: When the current optical power is outside the normal optical power interval, it is determined that the target terminal is abnormal.

[0145] In the case where the target terminal is determined to be abnormal based on the above step S140, in some embodiments, an alarm message may be output to prompt maintenance personnel to repair the target terminal. For example, the packaging mode, adaptation rate and corresponding optical fiber interface of the target terminal are tested to verify whether the three major parameters such as the central wavelength, transmission distance and transmission rate meet the requirements. Based on this, the failure of the optical module can be prevented.

[0146] Corresponding to the above step S140, when the current optical power is within the normal optical power interval, it is determined that the target terminal is normal.

[0147] In the present disclosure, whether the target terminal is abnormal based on the above content is used as the evaluation result of the health status of the optical module. The maintenance personnel can make a decision such as continuing to observe the target terminal or repairing the target terminal based on the evaluation result of the health status of the optical module.

[0148] Based on the above content, it can be known that the health status assessment method of the optical module provided in the present disclosure can detect whether the target terminal in the running state is abnormal before the optical module fails, thereby realizing the assessment of the health status of the optical module and preventing the optical module from failing.

[0149] The present disclosure provides a method for evaluating the health status of an optical module, including: for a target terminal in a running state in a target port of the optical module, collecting historical operating status information of the target terminal at multiple historical moments; wherein the historical operating status information collected at each historical moment includes the historical transmission rate, historical packet loss rate, and historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port; determining the normal optical power range of the target terminal according to the historical operating status information collected at multiple historical moments; obtaining the current optical power of the target terminal at the current moment; and determining that the target terminal is abnormal when the current optical power is outside the normal optical power range. Based on this method, it is possible to detect whether the target terminal in a running state is abnormal before the optical module fails, thereby realizing the evaluation of the health status of the optical module, and then preventing the optical module from failing.

[0150] In some embodiments, the method for evaluating the health status of an optical module provided by the present disclosure further includes the following step S150.

[0151] Step S150, periodically executing the historical operation status information of the target terminal collected at multiple historical moments; and determining the normal optical power interval of the target terminal according to the historical operation status information, so as to update the normal optical power interval.

[0152] In the disclosed embodiment, the duration of the cycle corresponding to the above step S150 is the duration that causes a significant change in the normal optical power interval. In one example, the duration of the cycle corresponding to the above step S150 can be exemplarily 24 hours, that is, the above steps S110 and S120 are performed once every other day to obtain a new normal optical power interval. Based on this, when the above steps S110 and S120 are not repeated for the next time, the latest normal optical power interval is used to determine whether the target terminal is abnormal.

[0153] It should be noted that the present disclosure does not limit the duration of the cycle corresponding to the above step S150.

[0154] In the embodiment of the present disclosure, as the target terminal is used, the normal optical power interval of the target terminal will also change. In order to adapt to the change of the normal optical power interval of the target terminal, the above steps S110 and S120 are repeated to obtain a new and more accurate normal optical power interval.

[0155] In some embodiments, when it is determined that the target terminal is abnormal based on the above step S140, the health status assessment method of the optical module provided by the present disclosure further includes the following steps S160 and S170.

[0156] Step S160, when the target terminal is abnormal, obtaining static state parameters of the target terminal in the standby state.

[0157] The static state parameter includes at least one of optical eye diagram information, bit error rate and static optical power.

[0158] In some embodiments, the static optical power of the target terminal can be tested by an optical power meter when the target terminal is in a standby state. The static optical power of the target terminal obtained by the optical power meter test is recorded as the actual power and input into the execution body of the health status assessment method of the optical module provided by the present disclosure.

[0159] In some embodiments, the optical eye diagram information of the target terminal can be tested by a spectrometer when the target terminal is in a standby state. The optical eye diagram information of the target terminal obtained by the spectrometer test is recorded as the actual optical eye diagram information and input into the execution body of the health status assessment method of the optical module provided by the present disclosure.

[0160] In some embodiments, when the target terminal is in a standby state, the bit error rate of the target terminal can be calculated by applying a bit error signal to the target terminal through a bit error meter, and the bit error rate is synchronously detected. The bit error rate obtained above is recorded as the actual bit error rate and input into the execution body of the health status assessment method of the optical module provided by the present disclosure.

[0161] Step S170, determining abnormal information of the target terminal according to the static state parameters.

[0162] In some embodiments, when the static state parameters include actual optical eye diagram information, the specific implementation of the above step S1700 may include: determining parameters such as the actual extinction ratio, actual jitter, actual cross point and actual Mask of the target terminal according to the actual optical eye diagram information, and comparing the determined actual extinction ratio with the reference extinction ratio of the target terminal. If the deviation between the two is greater than the allowable extinction ratio deviation, then the abnormal information of the target terminal is determined to be an extinction ratio abnormality. Similarly, the same is true for parameters such as the actual jitter, actual cross point and actual Mask.

[0163] In other embodiments, when the static state parameters include an actual bit error rate, the actual bit error rate obtained based on the above step S160 is compared with the reference bit error rate of the target terminal. If the deviation between the two is greater than the allowable bit error rate ratio deviation, the abnormal information of the target terminal is determined to be a bit error rate abnormality. Similarly, the same is true for the actual static optical power.

[0164] The present disclosure also provides a device 200 for evaluating the health status of an optical module. Figure 2 As shown, including:

[0165] The acquisition module 210 is used for acquiring historical operation status information of a target terminal in the target port of the optical module that is in operation at multiple historical moments; wherein the historical operation status information acquired at each historical moment includes a historical transmission rate, a historical packet loss rate, and a historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port;

[0166] A first determination module 220, configured to determine a normal optical power range of the target terminal according to the historical operation status information collected at the multiple historical moments;

[0167] An acquisition module 230, configured to acquire the current optical power of the target terminal at the current moment;

[0168] The second determination module 240 is configured to determine that the target terminal is abnormal when the current optical power is outside the normal optical power interval.

[0169] In one embodiment of the present disclosure, the first determining module 220 is specifically configured to:

[0170] Inputting the historical operation status information collected at the multiple historical moments into a preset machine learning model to obtain a first optical power interval output by the preset machine learning model;

[0171] The normal optical power interval is determined according to the first optical power interval.

[0172] In one embodiment of the present disclosure, the first determining module 220 is specifically configured to:

[0173] Obtaining a second optical power interval preset by a user;

[0174] The intersection of the first optical power interval and the second optical power interval is used as the normal optical power interval.

[0175] In one embodiment of the present disclosure, a device 200 for assessing the health status of an optical module provided by the present disclosure further includes:

[0176] A training module, used to obtain a training sample set, wherein the training sample set includes multiple training samples, one of the training samples includes multiple groups of training data for training terminals in operation, and normal sample optical power intervals corresponding to the multiple groups of training data, one group of the training data includes a sample transmission rate, a sample packet loss rate, and a sample optical power, and the target terminal and the training terminal are both transmitting terminals or receiving terminals;

[0177] The preset machine learning model is trained according to the training sample set.

[0178] In one embodiment of the present disclosure, the training module is specifically used to:

[0179] Obtaining the maximum allowable packet loss rate and the minimum transmission rate of the training terminal;

[0180] The maximum allowed packet loss rate and the minimum transmission rate are used as constraints of the preset machine learning model, and the preset machine learning model is trained based on the training sample set.

[0181] In one embodiment of the present disclosure, a device 200 for assessing the health status of an optical module provided by the present disclosure further includes:

[0182] An updating module is used to periodically execute the steps of collecting and obtaining the historical operation status information of the target terminal at multiple historical moments; and determining the normal optical power interval of the target terminal according to the historical operation status information, so as to update the normal optical power interval.

[0183] In one embodiment of the present disclosure, the acquisition module 230 is further configured to:

[0184] In the case where the target terminal is abnormal, obtaining a static state parameter of the target terminal in a standby state, wherein the static state parameter includes at least one of actual optical eye diagram information, actual bit error rate, and actual static optical power;

[0185] In an embodiment of the present disclosure, a device 200 for assessing the health status of an optical module provided by the present disclosure further includes:

[0186] The third determination module is used to determine the abnormal information of the target terminal according to the static state parameter.

[0187] The present disclosure further provides an electronic device, the electronic device comprising the health status assessment device 200 of an optical module as provided in any one of the above device embodiments;

[0188] Or, if Figure 3 As shown, the electronic device 300 includes a memory 310 and a processor 320, wherein the memory 310 is used to store computer instructions, and the processor 320 is used to call the computer instructions from the memory 310 to execute a method as described in any one of the above method embodiments.

[0189] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of the above method embodiments when executed by a processor.

[0190] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0191] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0192] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0193] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0194] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0195] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0196] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0197] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0198] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims

1. A method for evaluating the health status of an optical module, characterized in that: include: For a target terminal in a target port of the optical module that is in operation, historical operation status information of the target terminal is collected at multiple historical moments; wherein the historical operation status information collected at each historical moment includes a historical transmission rate, a historical packet loss rate, and a historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port; Determining a normal optical power range of the target terminal according to the historical operating status information collected at the multiple historical moments; Obtaining the current optical power of the target terminal at the current moment; When the current optical power is outside the normal optical power interval, it is determined that the target terminal is abnormal.

2. The method according to claim 1, characterized in that The determining, according to the historical operation status information collected at the multiple historical moments, a normal optical power range of the target terminal includes: Inputting the historical operation status information collected at the multiple historical moments into a preset machine learning model to obtain a first optical power interval output by the preset machine learning model; The normal optical power interval is determined according to the first optical power interval.

3. The method according to claim 2, characterized in that The determining the normal optical power interval according to the first optical power interval includes: Obtaining a second optical power interval preset by a user; The intersection of the first optical power interval and the second optical power interval is used as the normal optical power interval.

4. The method according to claim 2, characterized in that: The method further comprises: Acquire a training sample set, the training sample set comprising a plurality of training samples, one of the training samples comprising a plurality of groups of training data for a training terminal in operation, a normal sample optical power interval corresponding to the plurality of groups of training data, a set of the training data comprising a sample transmission rate, a sample packet loss rate and a sample optical power, the target terminal and the training terminal being both a transmitting end or a receiving end; The preset machine learning model is trained according to the training sample set.

5. The method according to claim 4, characterized in that The step of training the preset machine learning model according to the training sample set includes: Obtaining the maximum allowable packet loss rate and the minimum transmission rate of the training terminal; The maximum allowed packet loss rate and the minimum transmission rate are used as constraints of the preset machine learning model, and the preset machine learning model is trained based on the training sample set.

6. The method according to claim 1, characterized in that The method further comprises: The steps of collecting and obtaining the historical operation status information of the target terminal at multiple historical moments; and determining the normal optical power interval of the target terminal according to the historical operation status information are periodically performed to update the normal optical power interval.

7. The method according to claim 1, characterized in that The method further comprises: In the case where the target terminal is abnormal, obtaining a static state parameter of the target terminal in a standby state, wherein the static state parameter includes at least one of actual optical eye diagram information, actual bit error rate, and actual static optical power; According to the static state parameter, abnormal information of the target terminal is determined.

8. A device for evaluating the health status of an optical module, characterized in that: include: A collection module, for collecting historical operation status information of a target terminal in a target port of the optical module that is in operation at multiple historical moments; wherein the historical operation status information collected at each historical moment includes a historical transmission rate, a historical packet loss rate, and a historical optical power of the target terminal, and the target terminal is a transmitting end or a receiving end in the target port; A first determination module, configured to determine a normal optical power range of the target terminal according to the historical operation status information collected at the multiple historical moments; An acquisition module, used to acquire the current optical power of the target terminal at the current moment; The second determination module is used to determine that the target terminal is abnormal when the current optical power is outside the normal optical power interval.

9. An electronic device, characterized in that: The electronic device comprises the health status assessment device of the optical module according to claim 8; Alternatively, the electronic device includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, which implements the method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • Optical port state judgment method, device and optical communication system

    CN106330299A

  • Optical module fault processing method, electronic equipment and computer readable storage medium

    CN114448504A

  • Fault diagnosis method and system for optical fiber communication equipment

    CN118474582A

  • ONU optical power quality detection method and system

    CN118869068A

  • Obtaining optical signal health data in a storage area network

    US20180011808A1