Method, device, equipment, and storage medium for determining cause of OTN equipment failure
By matching the alarm information of the network device to the OTN device level information, the cause of the fault is determined, which solves the high development cost and long cycle problems of connecting OTN device alarms to the general alarm system, reduces development costs and improves analysis efficiency.
Patent Information
- Application Number
- CN202011631074.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The alarm access of OTN equipment to the general alarm system requires high development costs and a long development cycle, and the privatized protocol needs to be re-adapted after update, resulting in high software development costs and a long cycle.
By obtaining alarm information from network equipment, extract key equipment parameters, and match these parameters with the hierarchical information of OTN equipment to determine the cause of OTN equipment failure, avoid directly collecting alarm information from OTN equipment, and reduce the need for software development.
It reduces software development costs and cycles, improves fault analysis efficiency, and reduces the complexity of OTN equipment alarm information collection and development complexity.
Smart Images

Figure CN112770197B
Abstract
Description
Technical Field
[0001] The present application relates to computer technology, and relates to but is not limited to a method, apparatus, device, and storage medium for determining the cause of an OTN device failure. Background Art
[0002] In the related art, the alarm information monitoring platform generally collects all the alarm information of the OTN equipment and the alarm information of the network equipment, and converges the alarm information of the OTN equipment and the alarm information of the network equipment respectively, completing the entire alarm convergence process.
[0003] The problem in the related technology is that the alarm of OTN equipment needs to be connected to the general alarm system, which requires a certain development cost. Since OTN equipment is relatively closed, the interface for reporting data to the network management is usually privatized and customized. The corresponding development cost of connecting to the general network management system is very high, and the development cycle is also relatively long. Moreover, after the development of this privatized protocol is completed, the new rules may need to be re-adapted after the network management version is updated. In summary, the software development cost is high and the cycle is long. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method, apparatus, device, and storage medium for determining the cause of an OTN device failure, so as to solve the problems of high cost and long cycle of software development for converging alarms of OTN devices in related technologies.
[0005] In a first aspect, an embodiment of the present application provides a method for determining the cause of an OTN device failure, the method comprising: obtaining alarm information to be processed; the alarm information to be processed is alarm information of a network device connected to the OTN device; extracting key device parameters from the alarm information to be processed, the key device parameters being used to indicate an identifier of the network device and an identifier of a corresponding physical port; based on the key device parameters, determining a matching result with hierarchical information of the OTN device in a mapping table; and determining the cause of the failure of the OTN device based on the matching result.
[0006] In a second aspect, an embodiment of the present application provides an apparatus for determining the cause of an OTN device failure, comprising: an acquisition module, used to acquire alarm information to be processed; the alarm information to be processed is alarm information of a network device connected to the OTN device; an extraction module, used to extract key device parameters from the alarm information to be processed, the key device parameters being used to indicate an identifier of the network device and an identifier of a corresponding physical port; a matching module, used to determine a matching result between the key device parameters and the hierarchical information of the OTN device in a mapping table; and a determination module, used to determine the cause of the failure of the OTN device based on the matching result.
[0007] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the method for determining the cause of an OTN device failure described in any embodiment of the present application are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method for determining the cause of an OTN device failure described in any one of the embodiments of the present application are implemented.
[0009] In the embodiment of the present application, by extracting key device parameters from the alarm information of the network device to be processed, and according to the matching result between the key device parameters and the hierarchical information of the OTN device in the mapping table, the cause of the failure of the OTN device is determined. It can be seen that the technical solution provided by the embodiment of the present application does not need to collect the alarm information of the OTN device first, and then extract the key device parameters of the network device from the alarm information of the network device, and match the key device parameters with the hierarchical information of the OTN device, so that the cause of the failure of the OTN device can be inferred according to the alarm information of the network device. Since the alarm information of the OTN device is not collected, there is no need for software for processing the alarm information of the OTN device, thereby solving the problems of high software development cost and long development cycle from the source. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A flowchart of a method for determining the cause of an OTN device failure according to an embodiment of the present application;
[0011] Figure 2 A schematic diagram of a logarithmic function relationship between an initial value of an abnormal probability of an object in an OPU layer and a first ratio according to an embodiment of the present application;
[0012] Figure 3 A schematic diagram of a method for determining the cause of an OTN device failure in the related art;
[0013] Figure 4 A schematic diagram of a method for determining the cause of an OTN device failure in the related art;
[0014] Figure 5 A schematic diagram of a method for determining the cause of an OTN device failure in an embodiment of the present application;
[0015] Figure 6 A flowchart of an alarm formatting process in an embodiment of the present application;
[0016] Figure 7 A schematic diagram of a process for calculating a probability convergence alarm in an embodiment of the present application;
[0017] Figure 8 A schematic diagram of the structure of a device for determining the cause of an OTN device failure according to an embodiment of the present application;
[0018] Fig. 9 A hardware entity schematic diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0019] The technical solution of the present application is further described in detail below with reference to the accompanying drawings and embodiments.
[0020] Figure 1 The implementation flow diagram of the method for determining the cause of an OTN device failure provided in the embodiment of the present application is applied to a monitoring platform, such as Figure 1 As shown, the method includes:
[0021] Step 102: Acquire alarm information to be processed; the alarm information to be processed is alarm information of a network device connected to the OTN device;
[0022] Among them, OTN (optical transport network) refers to a transmission network system that realizes the transmission, multiplexing, routing, and monitoring of service signals in the optical domain, and ensures its performance indicators and survivability. OTN equipment can be equipment on the OTN system, and the OTN equipment can be optical terminal equipment, optical line equipment, optical relay equipment, and optical add-drop multiplexing equipment, etc.; the OTN system includes OTN equipment and a network management server, and the OTN equipment is connected to the network equipment to realize the transmission of signals between different network equipment through the OTN equipment; the network equipment can be a computer, a gateway, a router, a bridge, etc.
[0023] When a network device fails, the monitoring unit of the network device can give an alarm signal depending on the fault situation, and send an alarm message to the monitoring platform through SNMP (Simple Network Management Protocol); the alarm message to be processed can be the original alarm message of the network device, or it can be the alarm message obtained after filtering the original alarm message.
[0024] The monitoring platform is also called the general alarm system. It is a monitoring platform built to monitor the abnormalities of all operating equipment in the production network. This monitoring platform can collect logs of all abnormal alarm-related equipment, match keywords to generate alarm information, and also has interface capabilities to receive alarm information provided by other systems.
[0025] During the implementation process, the alarm information to be processed can be at least one original alarm information sent by the network device and received by the monitoring platform, or it can be the alarm information after the original alarm information is formatted. For example, at least one original alarm information sent by the network device and received by the monitoring platform within a preset period of time can be used as the alarm information to be processed; for another example, at least one original alarm information within a preset period of time can be formatted according to the timestamp generated by the original alarm information, and the formatted original alarm information can be used as the alarm information to be processed.
[0026] Step 104: extracting key device parameters from the alarm information to be processed, where the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0027] The identifier of the network device may be an IP (Internet Protocol) address of the network device, a network device name of the network device, etc., and the identifier of the physical port may be a physical port name of the physical port.
[0028] Step 106: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0029] The mapping table can be understood as a resource table between the network device and the OTN device. When implemented, the identifier of the network device, the identifier of the physical port and the hierarchical information of the OTN device can be stored in advance. The matching result includes the matching and mismatching of the key device parameters and the hierarchical information of the OTN device. The hierarchical information of the OTN device represents the relationship between the layers of the OTN device, see the relationship between the OTS layer, OCH layer and OPU layer in the OTN device in Table 1.
[0030] Assuming that the identifier of the network device extracted from the alarm information to be processed is the target network device name, and the identifier of the physical port extracted is the target physical port name, then when the network device name and the physical port name that are the same as the target network device name and the target physical port name are found in the mapping table, it can be considered that the target network device name and the target physical port name match the hierarchical information of the OTN device.
[0031] When no network device name and physical port name identical to the target network device name and the target physical port name are found in the mapping table, it is considered that the target network device name and the target physical port name do not match the hierarchical information of the OTN device.
[0032] Step 108: Determine the fault cause of the OTN device based on the matching result.
[0033] Among them, it is possible that an object of a certain layer of the OTN device fails. According to the matching result, the OTN layer where the failure may occur can be determined, and the cause of the failure of the OTN device can be determined according to the layer information of the OTN layer.
[0034] In some embodiments, the hierarchical information in the mapping table may have an abnormal probability of an object. The hierarchical information matching the mapping table can be obtained from the matching result. Referring to the embodiment of Table 3, the number of alarm messages received is 8, and 6 are matched in the mapping table. From the 6 matched hierarchical information, the target object with the highest abnormal probability or the target object whose abnormal probability meets the preset conditions is taken as the fault cause of the OTN device. Referring to the embodiment of Table 3 again, the probability of the second alarm information and the eighth alarm information is the highest, and the output can be: "The abnormal probability of Fiber-AA-BB-01 in the OTS layer is the highest" and "The abnormal probability of 192.4THz in the OCH layer is the second highest", then the fault cause can be the abnormality of Fiber-AA-BB-01 in the OTS layer and the abnormality of 192.4THz in the OCH layer.
[0035] In other embodiments, the hierarchical information in the mapping table may not have an abnormal probability of an object, and the hierarchical information matching the mapping table can still be obtained from the matching result. Based on the matched hierarchical information, a matching target object can be obtained, such as the target object in the OTS information, the target object in the OCH information, and the target object in the OPU information; and then determine whether the two target objects with a physical connection relationship are in the target hierarchical record table. For example, first, according to the target object in the OTS information, obtain the target hierarchical record table between the OTS layer and the OCH layer; here, the target hierarchical record table records the object set of the OCH layer associated with the target object in the OTS information; in the target hierarchical record table, determine whether the target object in the OCH information is in the target hierarchical record table, that is, determine whether the target object is in the object set of the OCH layer. If so, the target object in the OTS information is used as the cause of the fault. If not, continue to obtain the target hierarchy record table between the OCH layer and the OPU layer according to the target object in the OCH information; in the target hierarchy record table, determine whether the target object in the OPU information is in the target hierarchy record table. If so, then the target object in the OCH information is used as the cause of the fault; otherwise, the target object in the OPU information is used as the cause of the fault.
[0036] In the embodiment of the present application, by extracting key device parameters from the alarm information of the network device to be processed, and according to the matching result between the key device parameters and the hierarchical information of the OTN device in the mapping table, the cause of the failure of the OTN device is determined. It can be seen that the technical solution provided by the embodiment of the present application does not need to collect the alarm information of the OTN device first, and then extract the key device parameters of the network device from the alarm information of the network device, and match the key device parameters with the hierarchical information of the OTN device, so that the cause of the failure of the OTN device can be inferred according to the alarm information of the network device. Since the alarm information of the OTN device is not collected, there is no need for software for processing the alarm information of the OTN device, thereby solving the problems of high software development cost and long development cycle from the source.
[0037] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, which is applied to a monitoring platform. The method includes:
[0038] Step S202: Obtain at least one original alarm information from at least one network device;
[0039] The original alarm information may be the unpre-processed alarm information sent by the monitoring unit of the network device to the monitoring platform through the SNMP protocol.
[0040] In one embodiment, obtaining at least one original alarm message from at least one network device includes: a monitoring platform receives at least one original alarm message sent by at least one network device within a preset time period; in another embodiment, obtaining at least one original alarm message from at least one network device includes: obtaining at least one original alarm message within a preset time period based on a timestamp generated by the original alarm message.
[0041] Step S204: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0042] Here, since at least one piece of original alarm information may come from multiple network devices, and the formats of alarm SNMP logs of manufacturers to which various network devices belong are different, the at least one piece of original alarm information may be pre-processed for formatting.
[0043] Step S206: extracting key device parameters from the at least one piece of alarm information, wherein the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0044] Among them, key equipment parameters can be extracted from each of the alarm information respectively, and based on each of the key parameters, a matching result corresponding to the hierarchical information of the OTN equipment in the mapping table is determined.
[0045] Step S208: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0046] Step S210: Determine the fault cause of the OTN device based on the matching result of the at least one piece of alarm information.
[0047] The cause of the failure of the OTN device may be determined by performing a comprehensive analysis on the matching results of multiple alarm information.
[0048] In the embodiment of the present application, by acquiring at least one original alarm information and performing formatting preprocessing on at least one original alarm information, the alarm information to be processed is obtained, thereby improving the standardization of the alarm information.
[0049] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, which is applied to a monitoring platform. The method includes:
[0050] Step S302: Obtain at least one original alarm information from at least one network device;
[0051] Step S304: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0052] Step S306: extracting key device parameters from the at least one piece of alarm information, wherein the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0053] Step S308: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0054] The matching result includes a match or mismatch between the key device parameter and the hierarchical information of the OTN device, and an abnormality probability of an abnormality occurring in an object in each hierarchical information of the OTN device in the case of a match;
[0055] Step S310: Determine the weight of each level of information in the OTN device;
[0056] The OTN device may include an OPU (Optical Payload Unit) layer, an OCH (Optical Channel) layer and an OTS (Optical Transmission Section) layer;
[0057] Table 1 is a mapping table provided in an embodiment of the present application, wherein the mapping table includes the network device name and the physical port name, and the hierarchical information of the OPU layer, OCH layer, and OTS layer of the OTN device:
[0058] Table 1
[0059]
[0060] The hierarchical information of the OPU layer is OPU information, and the OPU information includes the name information of the optical transmission equipment, the port information, the port rate of the OPU layer and the abnormal probability of the object in the OPU layer; the abnormal probability of the object in the OPU layer can be pre-set; the name information of the optical transmission equipment can be the client-side equipment in Table 1, for example, it can be "SZ-DW DW-AA"; the port information can be the client-side port in Table 1, for example, it can be "C-1 / 3"; the port rate of the OPU layer can be the port rate in Table 1, for example, it can be "10Gb / s"; the abnormal probability of the object in the OPU layer can be the first probability in Table 1, for example, it can be "30%".
[0061] The OCH information is information of the OCH layer associated with the OPU layer, and the OCH information includes the channel frequency, the starting site and the ending site, the channel rate and the abnormal probability of the object in the OCH layer; the abnormal probability of the object in the OCH layer can be pre-set; the channel frequency can be "192.1THz"; the starting site can be "AA"; the ending site can be "BB"; the channel rate can be "10Gb / s"; the abnormal probability of the object in the OCH layer can be the second probability in Table 1, for example, it can be "40%".
[0062] The hierarchical information of the OTS layer is the OTS information, and the OTS information includes the operator fiber information, the total bandwidth information of the services currently carried by the OTS layer, and the abnormal probability of objects in the OTS layer; the abnormal probability of objects in the OTS layer can be set in advance; the operator fiber information can be "Fiber-AA-BB-01", the total bandwidth information of the services currently carried by the OTS layer can be the carried rate in Table 1, and the abnormal probability of objects in the OTS layer can be the third probability in Table 1, for example, it can be "30%".
[0063] The OPU layer is an information structure used to adapt the client information transmitted through the optical channel; the optical channel payload unit is used to combine the client information, the overhead required to adapt the client signal rate and the OPUK payload rate, and other OPUK overheads supporting the client signal transmission. These overheads are specific adaptation overheads, and the capacity of OPUK is divided by k, k = 0, 1, 2, 2e, 3, 4.
[0064] The OCH layer is the core of the entire OTN and the main functional carrier of OTN. The OCH layer is mainly responsible for selecting routes and allocating wavelengths for client signals of various formats, and providing networking functions for end-to-end optical channels that transparently transmit user signals of various formats.
[0065] The OTS layer is responsible for processing the optical transmission segment overhead to ensure the integrity of the optical transmission segment adaptation information and realize the detection and control of the optical amplifier or repeater.
[0066] The weights may be preset or obtained by calculation; each of the OTN devices includes hierarchical information of three layers: OPU, OCH, and OTS, and the weights of the hierarchical information of different OTN devices at the same OTN layer may be the same or different.
[0067] Step S312: determining the cause of the failure of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of an abnormal object in each level of information of the OTN device.
[0068] Each layer information of each OTN device may include at least one object, and each object corresponds to an abnormal probability that may occur abnormally; the initial value of the abnormal probability of the object in the layer information of each OTN device, that is, the initial abnormal probability, can be determined according to the first ratio between the channel rate of the OCH channel in the OTN device and the OPU port rate. When the first ratio is equal to 1, the initial abnormal probability of the OCH layer can be required to be the largest, for example, 40%; the initial abnormal probability of the OPU layer is smaller, for example, 30%; the initial abnormal probability of the OTS layer is the smallest, for example, 30%; when the first ratio is greater than 1, the initial abnormal probability of the OPU layer can be required to be the largest, for example, 80% or 60%, the initial abnormal probability of the OCH layer is smaller, for example, 15% or 30%, and the initial abnormal probability of the OTS layer is the smallest, for example, 5% or 10%. By judging whether the first ratio is greater than 1, the size relationship between the initial abnormal probabilities of the OTS layer, the OCH layer and the OPU layer is determined, so that the determination of the initial abnormal probability of each OTN layer can be more flexible and more accurate.
[0069] Further, an initial value y of the abnormal probability of the object in the OPU layer and a first ratio x between the channel rate of the OCH and the port rate of the OPU in the OTN device may have a logarithmic function relationship, wherein y is a dependent variable and x is an independent variable.
[0070] In some embodiments, the logarithmic function relationship may be a natural logarithmic function relationship. For example, for a certain network, the expression of y and x may be expressed by formula (1):
[0071] y=0.20ln(x)+0.31 (1);
[0072] The above 0.20 and 0.31 are the preferred constant values obtained through multiple tests in this embodiment. In other embodiments, they can be set to other values according to actual needs, without limitation. Figure 2 , when the first ratio is 10, the initial abnormal probability of the OPU layer is about 77%, then the initial abnormal probability of the OCH layer can be 20%, and the initial abnormal probability of the OTS layer can be 7%; when the first ratio is 1, the initial abnormal probability of the OPU layer is about 31%, then the initial abnormal probability of the OCH layer can be 40%, and the initial abnormal probability of the OTS layer can be 30%. By determining the initial value of the abnormal probability of the object in the OPU layer according to the logarithmic function relationship, and then determining the initial values of the abnormal probabilities of the OCH layer and the OTS layer according to the initial value of the abnormal probability of the OPU layer, the accuracy of the abnormal probability determination can be further improved.
[0073] In an embodiment of the present application, the cause of the failure of the OTN device is determined according to the weight of each level of information in the OTN device and the abnormal probability of an abnormal object in each level of information of the OTN device, so that the determination of the cause of the failure can be made more accurate; in addition, the initial value of the abnormal probability of an abnormal object in each level of information of the OTN device is determined according to the first ratio between the channel rate of the OCH and the port rate of the OPU, so that the determination of the initial value of the abnormal probability can be made more accurate.
[0074] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, which is applied to a monitoring platform. The method includes:
[0075] Step S402: Obtain at least one original alarm information from at least one network device;
[0076] Step S404: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0077] Step S406: extracting key device parameters from the at least one piece of alarm information, wherein the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0078] Step S408: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0079] The matching result includes a match or mismatch between the key device parameter and the hierarchical information of the OTN device, and an abnormality probability of an abnormality occurring in an object in each hierarchical information of the OTN device in the case of a match;
[0080] Step S410: based on the matching result of each of the alarm information, determining the number of matches between the key device parameter of each of the alarm information and the hierarchical information of the OTN device in the mapping table;
[0081] Among them, assuming that the number of alarm messages to be processed is 8, among the 8 alarm messages, the key equipment parameters of 6 alarm messages match the hierarchical information of the OTN device in the mapping table, then it can be determined that the number of matches between the key equipment parameters of the alarm information and the hierarchical information of the OTN device in the mapping table is 6.
[0082] Step S412: determining a first ratio between the rate of the OCH and the rate of the OPU in the OTN device;
[0083] Among them, the OCH rate may be the channel rate of the OCH layer, and the OPU rate may be the port rate of the OPU layer; referring to Table 1, the first ratios corresponding to different physical port names are different. When the physical port name is "Eth1 / 1", the ratio of the OCH rate to the OPU rate is 10Gb / s to 10Gb / s, that is, 1; when the physical port name is "T1 / 3", the ratio of the OCH rate to the OPU rate is 100Gb / s to 10Gb / s, that is, 10; When the physical port name is "T2 / 3", the ratio of the OCH rate to the OPU rate is 100Gb / s to 100Gb / s, that is, 1; when the physical port name is "F2 / 4", the ratio of the OCH rate to the OPU rate is 40Gb / s to 10Gb / s, that is, 4; in one embodiment, the maximum ratio of the OCH rate to the OPU rate, 10, can be selected as the first ratio; in another embodiment, any ratio of the OCH rate to the OPU rate can also be selected as the first ratio.
[0084] Step S414: determining a second ratio between the number of matches and the first ratio;
[0085] Step S416: Based on the second ratio, determine the weight of each level of information in the OTN device.
[0086] Table 2 provides a method for determining the weight of each level of information in the OTN device:
[0087] Table 2
[0088]
[0089] Referring to Table 2, when the second ratio is less than or equal to 1, that is, the number of matches is less than the first ratio, it can be determined that the weights of the OPU layer, OCH layer and OTS layer of the OTN device are 1.2, 0.8 and 0.4 respectively; when the second ratio is greater than 1 and less than or equal to 2, that is, the number of matches is greater than the first ratio and less than twice the first ratio, it can be determined that the weights of the OPU layer, OCH layer and OTS layer of the OTN device are 0.4, 1.2 and 0.8 respectively; when the second ratio is greater than 2, that is, the number of matches is greater than twice the first ratio, it can be determined that the weights of the OPU layer, OCH layer and OTS layer of the OTN device are 0.4, 0.8 and 1.2 respectively.
[0090] Step S418: determining the cause of the failure of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of an abnormal object in each level of information of the OTN device.
[0091] In the embodiment of the present application, the weight of each level of information in the OTN device is determined according to the number of matches and the first ratio between the OCH rate and the OPU rate, so that the weight can be determined more accurately.
[0092] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, which is applied to a monitoring platform. The method includes:
[0093] Step S502: Obtain at least one original alarm information from at least one network device;
[0094] Step S504: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0095] Step S506: extracting key device parameters from the at least one piece of alarm information, wherein the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0096] Step S508: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0097] The matching result includes a match or mismatch between the key device parameter and the hierarchical information of the OTN device, and an abnormality probability of an abnormality occurring in an object in each hierarchical information of the OTN device in the case of a match;
[0098] Step S510: based on the matching result of each of the alarm information, determining the number of matches between the key device parameter of each of the alarm information and the hierarchical information of the OTN device in the mapping table;
[0099] Step S512: determining a first ratio between the rate of the OCH and the rate of the OPU in the OTN device;
[0100] Step S514: determining a second ratio between the number of matches and the first ratio;
[0101] Assuming that the number of matches is 6 and the first ratio is 4, the second ratio is 1.5.
[0102] Step S516: Based on the second ratio, determine the weight of each level of information in the OTN device.
[0103] Since 1<second ratio≤2, it can be determined that the weights of the OPU layer, the OCH layer, and the OTS layer are 0.4, 1.2, and 0.8, respectively.
[0104] Step S518: for each object in the hierarchical information, based on the number of matches of the object, the weight of the hierarchical information of the object and the abnormal probability of the object being abnormal, the final probability of the object is determined by accumulation;
[0105] Among them, Table 3 is another mapping table provided in an embodiment of the present application, wherein the mapping table includes the network device name and the physical port name, and the hierarchical information of the OPU layer, OCH layer, and OTS layer of the OTN device:
[0106] Table 3
[0107]
[0108]
[0109] Referring to Table 3, assuming that the weight of the hierarchical information of the OTS layer is 0.8, the final probability of the object "Fiber-AA-BB-01" of the OTS layer can be: 30%*0.8+30%*0.8+30%*0.8+10%*0.8+10%*0.8+30%*0.8=1.12.
[0110] Assuming that the weight of the hierarchical information of the OCH layer is 1.2, the final probability of the objects "192.1THz", "192.2THz", "192.3THz" and "192.5THz" of the OCH layer can all be: 40%*1.2=0.48; the final probability of the object "192.4THz" of the OCH layer can be: 30%*1.2+30%*1.2=0.72.
[0111] Assuming that the weight of the hierarchical information of the OPU layer is 0.4, since the object of the OPU layer will only appear once and there is no accumulation, the maximum value of the final probability of the object of the OPU layer can be 60%*0.4=0.24.
[0112] Step S520: sorting the final probabilities of all objects to obtain a sorting result;
[0113] Among them, by sorting the final probabilities of the objects, the sorting result can be obtained: 1.12>0.72>0.48>0.24.
[0114] Step S522: Based on the sorting result, determine the fault cause of the OTN device.
[0115] Among them, since the final probability of the object "Fiber-AA-BB-01" of the OTS layer is the largest, it can be inferred that the cause of the failure of the OTN device may be related to the optical fiber with the operator's optical fiber number "Fiber-AA-BB-01".
[0116] In the embodiment of the present application, the final probability of the object is determined by accumulation based on the number of object matches, the weight of the hierarchical information of the object and the abnormal probability of the object being abnormal, and the cause of the failure of the OTN device is determined according to the sorting result of the final probability, so that the determination of the final probability can be more accurate.
[0117] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, which is applied to a monitoring platform. The method includes:
[0118] Step S602: Obtain at least one original alarm information from at least one network device;
[0119] Step S604: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0120] Step S606: extracting key device parameters from the at least one piece of alarm information, where the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0121] Step S608: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0122] The matching result includes a match or mismatch between the key device parameter and the hierarchical information of the OTN device, and an abnormality probability of an abnormality occurring in an object in each hierarchical information of the OTN device in the case of a match;
[0123] Step S610: based on the matching result of each of the alarm information, determining the number of matches between the key device parameter of each of the alarm information and the hierarchical information of the OTN device in the mapping table;
[0124] Step S612: determining a first ratio between the rate of the OCH and the rate of the OPU in the OTN device;
[0125] Step S614: determining a second ratio between the number of matches and the first ratio;
[0126] Step S616: Based on the second ratio, determine the weight of each level of information in the OTN device.
[0127] Step S618: for each object in the hierarchical information, based on the number of matches of the object, the weight of the hierarchical information of the object and the abnormal probability of the object being abnormal, the final probability of the object is determined by accumulation;
[0128] Step S620: sorting the final probabilities of all objects to obtain a sorting result;
[0129] Step S622: based on the sorting results, filter out target objects that meet preset conditions;
[0130] Step S624: Determine the fault cause of the OTN device based on the target object and the hierarchical information of the layer where the target object is located.
[0131] Among them, the preset condition can be the largest and second largest final probabilities in the sorting results; then the "Fiber-AA-BB-01" of the OTS layer with a final probability of 1.12 and the "192.4THz" of the OCH layer with a final probability of 0.72 can be determined as target objects; then it can be determined that the cause of the failure of the OTN device may be the interruption of the operator's main light, that is, the interruption of the optical fiber with the operator's optical fiber number "Fiber-AA-BB-01".
[0132] In the embodiment of the present application, the target object is screened out according to the sorting result of the final probability of the object, and the fault cause of the OTN device is determined according to the hierarchical information of the target object and its layer, so that the fault cause of the OTN device can be determined more accurately.
[0133] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, which is applied to a monitoring platform. The method includes:
[0134] Step S702: Obtain at least one original alarm information from at least one network device;
[0135] Step S704: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0136] Step S706: extracting key device parameters from the at least one piece of alarm information, where the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0137] Step S708: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0138] The matching result includes a match or mismatch between the key device parameter and the hierarchical information of the OTN device, and an abnormality probability of an abnormality occurring in an object in each hierarchical information of the OTN device in the case of a match;
[0139] Step S710: based on the matching result of each of the alarm information, determining the number of matches between the key device parameter of each of the alarm information and the hierarchical information of the OTN device in the mapping table;
[0140] Step S712: determining a first ratio between the rate of the OCH and the rate of the OPU in the OTN device;
[0141] Step S714: determining a second ratio between the number of matches and the first ratio;
[0142] Step S716: Based on the second ratio, determine the weight of each level of information in the OTN device.
[0143] Step S718: for each object in the hierarchical information, based on the number of matches of the object, the weight of the hierarchical information of the object and the abnormal probability of the object being abnormal, the final probability of the object is determined by accumulation;
[0144] Step S720: sorting the final probabilities of all objects to obtain a sorting result;
[0145] Step S722: based on the sorting results, filter out target objects that meet preset conditions;
[0146] Step S724: determining the fault cause of the OTN device based on the target object and the hierarchical information of the layer where the target object is located;
[0147] Step S726: outputting the fault cause to prompt the network manager of the OTN device;
[0148] Step S728: Obtaining feedback from the network management of the OTN device on the cause of the fault;
[0149] Step S730: Based on the feedback result, maintain or update the abnormal probability of the object in each level of information in the mapping table.
[0150] The general alarm system may output the cause of the fault to prompt the network manager of the OTN device. The network manager may check the actual fault scenario to obtain a feedback result of the cause of the fault, that is, the actual fault may be obtained. If the OTN layer where the actual fault is located matches the OTN layer where the object with the maximum value of the final probability is located, the abnormal probability of the object in each layer information of the mapping table is maintained; if the OTN layer where the actual fault is located matches the OTN layer where the object with the second largest value of the final probability is located, the probability of the OTN layer where the object with the second largest value is located may be increased by 10%, and the probability of other OTN layers may be reduced by 10%; if the OTN layer where the actual fault is located does not match the OTN layer where the object with the maximum value of the final probability is located or the OTN layer where the object with the second largest value is located, the probability of the actually correct OTN layer may be increased by 20%, and the probability of other OTN layers may be reduced by 20%.
[0151] In the embodiment of the present application, the abnormal probability of the object in each level of information in the mapping table is dynamically maintained or updated according to the actual fault, so that the fault cause of the OTN device can be determined more accurately.
[0152] In the related art, there are mainly two methods for alarm convergence of optical transport network OTN equipment (also known as methods for determining the cause of failure of OTN equipment):
[0153] The first alarm convergence method is as follows Figure 3 As shown, the general alarm system collects all the alarm information of the OTN devices and the network devices on the OTN system, and uniformly converges the collected alarm information of the OTN devices and the network devices; when the OTN device fails, the alarm information of the OTN device is pushed to the OTN network management system of the manufacturer to which the OTN device belongs through the private protocol of the manufacturer to which the OTN device belongs; then, the OTN network management system of each manufacturer pushes the alarm information of the corresponding OTN device to the general alarm system through telemetry technology or Common Object Request Broker Architecture (CORBA); at the same time, the alarm information of the network device is pushed to the general alarm system through Simple Network Management Protocol (SNMP).
[0154] The general alarm system compares the alarm information of the OTN equipment and the alarm information of the network equipment in a specific period of time, and converges the alarm information of the network equipment according to the connection relationship between the network equipment and the OTN equipment; finally, the alarm information of the OTN equipment is converged according to the hierarchical relationship of OPU, OCH, and OTS. Finally, the fundamental cause of the failure of the OTN equipment is obtained by convergence, completing the entire alarm convergence process.
[0155] Telemetry is a remote data collection technology that monitors device performance and faults. Telemetry technology uses the "push mode" to obtain rich monitoring data in a timely manner, which can quickly locate network faults and thus solve the above network operation and maintenance problems. The push mode is a technology based on the client / server mechanism, where the server actively sends information to the client.
[0156] CORBA is a standard object-oriented application system specification developed by the Object Management Group (OMG). CORBA is an object management group to solve the problem of distributed computing environment (Distributed Computing Environment , The OMG organization's responsibility is to provide a common framework for application development, formulate industrial guidelines and object management specifications, and accelerate the development of object technology.
[0157] The second alarm convergence method is as follows Figure 4 As shown in the figure, the alarm information of the OTN equipment is first converged through the OTN network management system of the manufacturer to which the OTN equipment belongs, and then the converged alarm information of the OTN equipment is pushed to the general alarm system; when an OTN equipment fails, the specific alarm information of the OTN equipment is pushed to the OTN network management system of the manufacturer to which it belongs through the private protocol of the manufacturer to which it belongs, and the OTN network management system then converges according to the hierarchical relationship of OPU, OCH, and OTS according to the preset alarm convergence rules; the OTN network management systems of different manufacturers push the converged alarm information of the OTN equipment to the general alarm system through telemetry or CORBA, and at the same time, the alarm information of the network equipment is pushed to the general alarm system through SNMP.
[0158] The general alarm system compares the alarm information of the converged OTN equipment and the alarm information of the network equipment that occurred within a specific period of time, and converges the alarm information of the network equipment according to the pre-entered correspondence between the network equipment and the OTN equipment, and finally completes the entire alarm convergence process.
[0159] However, in the above two alarm convergence methods, the alarm information on the OTN system is connected to the general alarm system, which requires a certain development cost. Since the OTN system is relatively closed, the interface for reporting data to the OTN network management system of the OTN system is usually privatized and customized. The corresponding development cost of connecting to the general alarm system is very high, and the development cycle is relatively long. Moreover, this privatized protocol may need to be re-adapted to new rules after the development is completed and the network management version is updated later.
[0160] In addition, when an OTN system fails, there is a high probability that a large number of alarm information from OTN devices and network devices will appear at the same time. The alarm formats of each OTN manufacturer and the alarm formats of network equipment manufacturers are inconsistent, and the methods of alarm convergence in OTN equipment scenarios are also inconsistent. If they are directly used for analysis, the calculation complexity is relatively high, which leads to a long time for fault analysis and processing.
[0161] Furthermore, if a large number of network device alarms and OTN device alarms occur simultaneously in a short period of time, the total alarm system may occasionally lose alarms. Once the alarm information of the OTN system or the network device is lost, it will affect the calculation convergence, and even according to the previously established algorithm, there will be a convergence failure.
[0162] The embodiments of the present application can reduce the complexity of alarm convergence in optical transmission scenarios and accelerate the time of alarm convergence by analyzing the characteristics of the optical transport network and using a probabilistic iterative learning method.
[0163] The embodiment of the present application can pre-process the alarm information of the network device using a formatting method, and match the abnormal probability of the object in the hierarchical information of the pre-recorded network device corresponding to the OTN device based on the correspondence between the network device and the OTN device pre-recorded in the mapping table.
[0164] The embodiment of the present application can use the method of probability iteration and specified weights to calculate the result of alarm convergence, and can reconfirm the convergence result and train the corresponding probability to increase the accuracy of subsequent convergence calculations.
[0165] See also Figure 5 The embodiment of the present application can provide a method for alarm convergence based on optical transport network characteristics and probability iteration. In the scenario where the OTN system is abnormal and affects the network equipment, the method is targeted at different OTN equipment manufacturers and network equipment manufacturers. When there are many types of alarm information, the number of alarm information is large, and the alarm may be lost, only the alarm information of the network equipment is selected for formatting preprocessing, and the alarm information caused by the abnormality of the OTN system is converged through a specific probability method; after the alarm convergence is completed, the calculated probability can be iteratively optimized according to the actual cause of the fault, and the probability value of the next fault corresponding to the scene is updated. As the number of convergences of this method increases, the corresponding convergence judgment will be trained to be more accurate.
[0166] The alarm convergence method provided in the embodiment of the present application does not collect or directly blocks the alarm information on the OTN system. At the beginning of the process, the alarm information of the full amount of the OTN system is not calculated directly. The network device alarms collected by the total alarm system are formatted and pre-processed, and then the alarms of the network devices can be quickly converged by calculating the probability, and the convergence conclusion is given at the same time. After the convergence is completed, the difference between the actual fault and the probability convergence result can be compared, and the corresponding probability situation can be updated to be used as a new basis for the next convergence.
[0167] See also Figure 6 and Figure 7 , the embodiment of the present application can provide an alarm convergence method:
[0168] Step 602: Obtain network device alarms;
[0169] The general alarm system obtains the alarm information of network devices through SNMP;
[0170] Among them, it can be considered that the alarm information of the physical port down type is valuable alarm information for inferring the fault cause of the OTN device; the embodiment of the present application does not involve the alarm information of the OTN system, and only the alarm information of the network device is analyzed. Therefore, the alarm information of all OTN systems can be converged first (that is, the alarm information of all OTN systems does not participate in subsequent calculations), leaving only the alarm information of the network device.
[0171] Step 604: Filter the alarm physical down type;
[0172] The general alarm system filters the alarm information of the physical port down type;
[0173] Among them, the general alarm system can make a preliminary screening of the alarm information of the network equipment, and can filter by keywords such as "down", "DOWN", "Down" in the network alarm log, leaving only the alarm information of the physical port down type in the alarm information of the network equipment; if the network equipment alarm does not meet this type, the next step of processing will not be carried out.
[0174] Step 606: Format the alarm extraction device and port;
[0175] The general alarm system formats the alarm information of the physical port down type to extract the network device name and the physical port name;
[0176] Among them, the network device name and the physical port name can be extracted from the alarm information of the physical port down type; since the formats of the alarm SNMP logs of various manufacturers are different, the alarm information of the physical port down type will contain the alarm network device name and the specific physical port information of the down, therefore, the network device name and the physical port name can be extracted by combining regular expressions and keywords, and since the network device name can be user-defined, the user can extract the network device name according to the rules through regular expressions; although the physical ports in the network alarm information are named differently by different manufacturers, the physical ports can be matched by requiring the inclusion of keywords such as "Ethernet", "Gigabit Ethernet", and Fast Ethernet, and not including keywords such as "port-channel" and "vlan".
[0177] In the embodiment of the present application, the following three specific alarm information of network devices can be used as examples for explanation:
[0178] The first alarm information may be: Oct 29 20:12:50 10.126.231.78 2020SZ-NET-B%%10IFNET / 5 / LINK_UPDOWN: Line protocol state on the interface Forty-GigabitEthernet2 / 0 / 1 changed to down.
[0179] The second alarm information can be: SZ-NET-D:2020Oct 29 12:17:53.90CST:%ETHPORT-5-IF_DOWN_LINK_FAILURE:Interface Ethernet1 / 17is down (Link failure)Timestamp:2020-10-29 12:17:53.
[0180] The third alarm information may be: SZ-NET-D:2020Oct 29 12:17:59.902CST:%ETH_PORT_CHANNEL-5-PORT_UP:port-channel1301:Ethernet1 / 18is up.
[0181] Since the network device name is user-defined, the network device name "SZ-NET-B" can be obtained through a specific regular expression, and the corresponding physical port can be matched as "Forty-Gigabit Ethernet2 / 0 / 1" according to the keyword. Therefore, the first alarm information meets the requirements. Similarly, the network device name "SZ-NET-D" and the physical port name "Ethernet1 / 17" can be extracted from the second alarm information; the third alarm information, although it contains "Ethernet", also contains "port-channel", and does not contain keywords such as "down", "DOWN", and "Down", does not meet the requirements, and the third alarm information can be discarded.
[0182] Step 608: Match the pre-entered information to obtain its latest probability;
[0183] Step 610: Whether the probability information can be matched; if so, execute step 612; if not, execute step 614;
[0184] Step 612: Put the alarm into the buffer pool;
[0185] Step 614: discard the alarm;
[0186] The general alarm system matches the network device name and the physical port name with the pre-entered hierarchical information of the OTN device, and obtains the latest probability of abnormality of the object of the hierarchical information of the OTN device corresponding to the network device name and the physical port name;
[0187] Among them, if the network device name and the physical port name can match the hierarchical information of a specific OTN device, the OTN device information of the three layers of OPU, OCH, and OTS of this hierarchical information and the probability information corresponding to the hierarchy are obtained, and the alarm information corresponding to the network device name and the physical port name is put into the cache pool; if the network device name and the physical port name do not match the hierarchical information of any OTN device, the alarm information corresponding to the network device name and the physical port name is discarded, and the keyword "not involving OTN system" is carried in the alarm information.
[0188] Step 616: Is there any new addition within 15 seconds? If yes, execute step 608; if no, execute step 618;
[0189] Step 618: Count the number of alarms;
[0190] The general alarm system determines whether there is any new alarm information of a network device that matches the hierarchical information of the OTN device generated within a specific period of time;
[0191] The specific time length may be 15 seconds. If no new alarm information of a network device that can match the hierarchical information of the OTN device is generated within this time length, the number of alarm information of all matching network devices obtained within this time length is counted, and the alarm formatting process ends.
[0192] The format of the pre-recorded level information of the OTN device is shown in Table 1.
[0193] Referring to Table 1, each network device name and physical port name can form a key index of a pre-entered hierarchical information of an OTN device. According to this key index, the OPU layer of the OTN that carries the transmission of this network device will be associated. The OPU layer contains the optical transmission device name information and specific port information, the port rate of the OPU layer, and the probability of possible abnormality. The optical transmission device name information can be the client-side device in Table 1, and the port information can be the client-side port in Table 1; then the information of the OCH layer corresponding to the OPU is associated, including the channel frequency of the channel, the starting site and the ending site, the channel rate corresponding to this channel, and the probability of possible abnormality; finally, the operator fiber information of the OTS layer corresponding to this OCH is associated, including the operator's fiber number, the total bandwidth information of the service currently carried by the OTS, that is, the carried rate, and the corresponding probability of possible abnormality.
[0194] In one embodiment, the general alarm system may determine the initial abnormal probability of the hierarchical information of each of the OTN devices according to the ratio of the channel rate of the OCH to the OPU port rate in the hierarchical information of each of the OTN devices;
[0195] The level information of the OTN device is pre-entered into the general alarm system according to the OTN system actually used by the network device, and is used to query the level information of the corresponding OTN device according to the network device name and the physical port name. The abnormal probability corresponding to the level of each OTN device has an initial value, that is, the initial abnormal probability of the level information of the OTN device; the determination of this value needs to refer to the ratio of the channel rate of OCH to the port rate of OPU. When the ratio is 1:1, the initial abnormal probability of the OCH layer can be required to be the largest, for example, 40%; the initial abnormal probability of the OPU layer is smaller, for example, 30%; the initial abnormal probability of the OTS layer is the smallest, for example, 30%; when the ratio is greater than 1:1, the initial abnormal probability of the OPU layer can be required to be the largest, for example, 80% or 60%, the initial abnormal probability of the OCH layer is smaller, for example, 15% or 30%, and the initial abnormal probability of the OTS layer is the smallest, for example, 5% or 10%. In this case, the initial abnormal probability of the OPU layer and the ratio of "the channel rate of OCH to the port rate of OPU" form a "logarithmic curve change"; assuming that the ratio is x and the initial abnormal probability of the OPU layer is y, the initial abnormal probability of the OPU layer can be determined according to formula (1):
[0196] y=0.20ln(x)+0.31 (1);
[0197] See also Figure 2, when the ratio is 10, the initial abnormality probability of the OPU layer can be 80%; when the ratio is 20, the initial abnormality probability of the OPU layer can be 90%.
[0198] After the alarm formatting from step 602 to step 618, the specific alarm information of the network device carried by the OTN system can be obtained, and the level information and number of the OTN devices on the OTN system associated with the alarm information can be determined, as well as the probability of abnormal level information of the OTN device corresponding to the alarm information of each network device.
[0199] After determining the initial abnormal probability of the hierarchical information of each of the OTN devices, see Figure 7 The alarm convergence method further includes the following steps 620 to 632 of calculating the probability convergence alarm:
[0200] Step 620: Count the number of alarms;
[0201] Step 622: Match the alarm coefficients of each layer;
[0202] The total alarm system obtains the quantity, and the total alarm system can determine the weight of each level of information in each OTN device according to the maximum value of the quantity and the ratio;
[0203] Among them, the number can also be understood as the number of alarm information of network devices that match the hierarchical information of the OTN device. The total alarm system can find the weights of each layer of each OTN device corresponding to the number of alarm information with abnormal probability that meets the requirements and is counted within a specific time.
[0204] In one embodiment, the weights of different rules can be selected according to the maximum value of the ratio of the channel rate of OCH to the OPU port rate in the OTN system; in the same OTN system, if there are different ratios, such as 4:1 and 10:1, the maximum 10:1 can be selected as the "ratio of the channel rate of OCH to the OPU port rate", that is, 10 is used as the basis for judging the weight.
[0205] It should be understood that OPU, OCH, and OTS are three hierarchical relationships, among which the OPU layer is at the bottom of the three layers, and the corresponding hierarchical information has the largest amount; the OCH layer is in the middle of the three layers, and the corresponding hierarchical information has a medium amount; the OTS layer is in the upper layer of the three layers, and the corresponding hierarchical information has a small amount. Therefore, when judging the weight, the weight can be confirmed by comparing the total number of alarms of network devices that meet the requirements and match the hierarchical information of OTN devices with the "ratio of OCH channel rate to OPU port rate" to improve the accuracy of judgment. Please refer to Table 2 for details. When the number is less than or equal to the ratio, the weights of the OPU layer, the OCH layer and the OTS layer can be determined to be 1.2, 0.8 and 0.4 respectively; when the number is greater than the ratio and less than or equal to twice the ratio, the weights of the OPU layer, the OCH layer and the OTS layer can be determined to be 0.4, 1.2 and 0.8 respectively; when the number is greater than twice the ratio, the weights of the OPU layer, the OCH layer and the OTS layer can be determined to be 0.4, 0.8 and 1.2 respectively.
[0206] Step 624: Calculate probability and alarm convergence;
[0207] Step 626: Output the fault cause;
[0208] The general alarm system calculates the probability of the OTN system and determines the cause of the failure of the OTN device according to the probability; the general alarm system can output the cause of the failure to prompt the network manager of the OTN device to check the actual failure.
[0209] Among them, the alarm information of all collected network devices is weightedly calculated using the abnormal probability of the object in the hierarchical information of each OTN device and the weight of the OPU layer, OCH layer and OTS layer where the object is located; the final probability of the object is determined by accumulation. The final probabilities of the objects can be sorted to obtain the sorting results, and the target layer of the OTN device corresponding to the two largest final probabilities and the specific object information in the hierarchical information of the target layer can be output, and the fault cause of the OTN device can be determined based on the hierarchy and the object information; finally, the alarm information of the network device is deleted to complete the entire alarm convergence.
[0210] Step 628: Check whether the result is consistent with the actual situation; if so, execute step 632; if not, execute step 630.
[0211] Among them, the verification result can be considered as an actual fault.
[0212] Step 630: Update the abnormal probability of each matched layer;
[0213] Step 632: The process ends.
[0214] The general alarm system compares the actual fault with the predicted fault cause; based on the comparison result, the abnormal probability of the object in the hierarchical information of each OTN device is adjusted.
[0215] In one embodiment, after the entire alarm convergence is completed, the OTN network management system of the OTN system can be used to verify the actual fault scenario; if the OTN layer where the actual fault is located and the object in the corresponding layer information and the layer of the OTN device corresponding to the object with the highest final probability match, the abnormal probability of the object being abnormal in the layer information of each OTN device remains unchanged, and the process ends; if the OTN layer where the actual fault is located and the object in the corresponding layer information and the layer of the OTN device corresponding to the object with the second highest final probability match, the abnormal probability of the object being abnormal in the layer information of the target layer of the OTN device corresponding to the second highest object can be increased by 10%, and the abnormal probability of the object being abnormal in the layer information of other layers can be reduced by 10% in total, for example, the abnormal probability of the object being abnormal in the layer information of each layer in other layers can be reduced by 5% respectively. If the OTN layer where the actual fault is located and the object in the corresponding layer information do not match the layer of the OTN device corresponding to the objects with the first and second largest final probabilities, the probability of the abnormality of the object in the layer information of the actual correct layer can be increased by 20%, and the probability of other layers can be reduced by 20%. For example, the probability of the abnormality of the object in the layer information of each layer in other layers can be reduced by 10% respectively. The actual correct layer is the layer of the OTN device corresponding to the object with the smallest final probability, and the process ends.
[0216] The probability iteration method used in the embodiment of the present application is mainly to deal with the loss of some alarm information when a large number of alarm information of network devices and alarm information of OTN devices in the network environment are concurrent. Therefore, it is necessary to use the probability iteration method and train it to make the method more suitable for the network alarm environment off-site.
[0217] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, the method comprising:
[0218] Step S802: In the case of a certain OTN system failure, the general alarm system receives the push of alarm information from the network device;
[0219] The alarm information of the network device may be the following 8 alarm information:
[0220] The first alarm information: SZ-NET-A:2020Oct 29 20:12:48CST:%ETHPORT-5-IF_DOWN_INITIALIZING:Interface Ethernet1 / 1is down(Initializing).
[0221] The second alarm information: SZ-NET-A:2020Oct 29 20:12:49CST:%ETHPORT-5-IF_DOWN_INITIALIZING:Interface Ethernet1 / 2is down (Link failure).
[0222] The third alarm information: SZ-NET-A:2020Oct 29 20:12:49CST:%ETHPORT-5-IF_DOWN_INITIALIZING:Interface Port-channel1 is down (Link failure).
[0223] The fourth alarm information: SZ-NET-A:2020Oct 29 20:12:49CST:%ETHPORT-5-IF_DOWN_INITIALIZING:Interface Ethernet1 / 3is down (Link failure).
[0224] The fifth alarm information: Oct 29 20:12:50 10.126.231.78 2020SZ-NET-B%%10IFNET / 5 / LINK_UPDOWN:Line protocol state on the interface Forty-Gigabit Ethernet2 / 0 / 1 changed to down.
[0225] The sixth alarm information: Oct 29 20:12:50 10.126.231.78 2020SZ-NET-B%%10IFNET / 5 / LINK_UPDOWN:Line protocol state on the interface Forty-Gigabit Ethernet2 / 0 / 2 changed to down.
[0226] The seventh alarm information: SZ-NET-C:2020Oct 29 20:12:51CST:%ETHPORT-5-IF_DOWN_INITIALIZING:Interface Ethernet3 / 1is down(Initializing).
[0227] The eighth alarm information: SZ-NET-C:2020Oct 29 20:12:59CST:%ETHPORT-5-IF_DOWN_INITIALIZING:Interface Ethernet6 / 2is down(Initializing).
[0228] Step S804: formatting and preprocessing the alarm information of the network device to obtain the network device name and physical port name corresponding to the alarm information;
[0229] Among them, the alarm information of the network device can be screened. Since the third alarm information is not a specific physical port, it is screened out; since the eighth alarm information cannot find a corresponding probability in the general alarm system, it is also screened out; the combination of keywords of the network device name and the physical port name in a single alarm information can be extracted through regular expressions and keywords to obtain the formatted data in the following Table 4, that is, the network device name and the physical port name corresponding to the alarm information:
[0230] Table 4
[0231]
[0232] Step S806: in the general alarm system, determining the hierarchical information of the OTN device that matches the network device name and the physical port name, and determining the abnormal probability that an object in the hierarchical information of the OTN device is abnormal;
[0233] Among them, the hierarchical information of the specific OTN device corresponding to the network device name and the physical port name, and the current abnormal probability of the object in the hierarchical information can be queried in the general alarm system. Table 3 is a mapping table, which includes the network device name and the physical port name, and the hierarchical information of the OTN device; for the convenience of presentation, Table 3 hides part of the information in the mapping table and highlights the abnormal probability of the object in the hierarchical information being abnormal.
[0234] Table 3
[0235]
[0236]
[0237] Step S808: the general alarm system determines the weight of each level of information in each OTN device according to the amount of level information in the OTN device that matches the network device name and the physical port name, and the ratio of the channel rate of the OCH to the OPU port rate;
[0238] Among them, it is calculated that the number of hierarchical information in the OTN device that matches the network device name and the physical port name is 6. In this OTN system with the same OTS, the maximum ratio of the OCH channel rate to the OPU port rate is 4; the number of alarm information of the network equipment that meets the requirements is 6, and since 6 is between the ratio of 4 and the ratio of 8, the weight combination selected as required can be 0.4 for the OPU layer, 1.2 for the OCH layer, and 0.8 for the OTS layer.
[0239] Step S810: The general alarm system calculates the probability of the OTN system;
[0240] The abnormal probability of "Fiber-AA-BB-01" of the OTS layer being abnormal may be: 30%*0.8+30%*0.8+30%*0.8+10%*0.8+10%*0.8+30%*0.8=1.12.
[0241] The abnormal probability of "192.1THz", "192.2THz", "192.3THz" and "192.5THz" of the OCH layer being abnormal can be: 40%*1.2=0.48; the abnormal probability of "192.4THz" being abnormal can be: 30%*1.2+30%*1.2=0.72
[0242] Since the object in the hierarchical information of the OPU layer only appears once and there is no accumulation, the maximum value can be: 60%*0.4=0.24.
[0243] Step S812: the general alarm system determines the fault cause of the OTN device according to the probability;
[0244] Among them, since the probability of the second and eighth alarm information is the highest, the first, third, fourth, fifth and seventh alarm information can be deleted, and the output is "The probability of Fiber-AA-BB-01 abnormality in the OTS layer is the highest", and the output is "The probability of 192.4THz abnormality in the OCH layer is the second highest".
[0245] Step S814: the general alarm system compares the actual fault with the determined fault cause of the OTN device, and adjusts the abnormal probability of the object in the hierarchical information of each OTN device being abnormal according to the comparison result;
[0246] Among them, the general alarm system can use the OTN network management system of the OTN system to verify the actual fault situation of the OTN system, and confirm that it is indeed the operator's main optical fiber interruption, that is, the optical fiber interruption of the operator's optical fiber numbered "Fiber-AA-BB-01". This means that the alarm convergence is accurate and consistent with the actual situation, and there is no need to update the probability of the object in the hierarchical information of the OTN device in the mapping table of the network device; if the actual fault is inconsistent with the cause of the fault, it is necessary to update the probability of the object in the hierarchical information of the OTN device in the mapping table of the network device accordingly.
[0247] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, the method comprising:
[0248] Step S902: Obtain at least one original alarm information from at least one network device;
[0249] Step S904: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0250] Step S906: extracting key device parameters from the at least one piece of alarm information, where the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0251] Step S908: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0252] The matching result includes the match and mismatch between the key equipment parameters and the hierarchical information of the OTN equipment; the OTN equipment includes an OPU layer, an OCH layer and an OTS layer; the information of each layer in the OTN equipment may include: OPU information, including the name information of the optical transmission equipment, the port information and the port rate of the OPU layer; OCH information, including the channel frequency, channel rate, starting site and ending site of the channel; OTS information, including the operator optical fiber information and the total bandwidth information of the services carried by the OTS layer.
[0253] Step S910: when the matching result indicates that the key device parameter matches the hierarchical information of the OTN device, acquiring the hierarchical information of the matched OTN device;
[0254] Table 5 is a part of the mapping table, and Table 5 contains the hierarchical information of the OTN equipment matching the key equipment parameters.
[0255] Table 5
[0256]
[0257]
[0258] Step S912: determining the adaptation result between the hierarchical information of the matched OTN device and a preset record table of the OTN device, wherein the record table is used to record the connection relationship between objects in each hierarchy in the OTN device;
[0259] Among them, the record table may include a first-level record table (a hierarchical record table of the OTS layer and the OCH layer) and a second-level record table (a hierarchical record table of the OCH layer and the OPU layer), wherein the first-level record table can record the connection relationship between the objects in the OTS layer and the objects in the OCH layer, and the second-level record table can record the connection relationship between the objects in the OCH layer and the objects in the OPU layer.
[0260] Table 6 is a hierarchical record table of the OTS layer and the OCH layer provided in an embodiment of the present application, and Table 7 is a hierarchical record table of the OCH layer and the OPU layer provided in an embodiment of the present application; it should be noted that only part of the information in the hierarchical record table is listed in Table 6 and Table 7.
[0261] Table 6
[0262] Channel name AA-BB-192.1 XX-YY-196.0 CC-DD-192.2 Bandwidth (Gb / s) 10 10 100 Endpoint A - Device SZ-DWDW-AA SZ-DWDW-XX SZ-DWDW-CC Endpoint A - Device Port L-1 / 1 L-1 / 2 L-2 / 1 Endpoint Z-Device SZ-DWDW-BB SZ-DWDW-YY SZ-DWDW-DD Endpoint Z - Device Port L-1 / 1 L-1 / 2 L-2 / 1 Channel frequency 192.1 196.0 192.2 Operator fiber number Fiber-AA-BB-01 Fiber-XX-YY-01 Fiber-CC-DD-01
[0263] Table 7
[0264]
[0265]
[0266] Step S914: Determine the fault cause of the OTN device based on the adaptation result.
[0267] In the embodiment of the present application, the cause of the failure of the OTN device is determined based on the adaptation result between the hierarchical information of the OTN device matching the key device parameters in the mapping table and the preset record table of the OTN device, so that the cause of the failure of the OTN device can be determined more conveniently.
[0268] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, the method comprising:
[0269] Step S1002: Obtain at least one original alarm information from at least one network device;
[0270] Step S1004: performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; the at least one alarm information is alarm information of a network device connected to the OTN device;
[0271] Step S1006: extracting key device parameters from the at least one piece of alarm information, wherein the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port;
[0272] Step S1008: Based on the key device parameters, determine a matching result with the hierarchical information of the OTN device in the mapping table;
[0273] The matching result includes a match or mismatch between the key device parameters and the layer information of the OTN device;
[0274] The OTN device includes an OPU layer, an OCH layer and an OTS layer; the information of each layer in the OTN device includes: OPU information, including the name information of the optical transmission equipment, port information and the port rate of the OPU layer; OCH information, including the channel frequency, channel rate, starting site and ending site of the channel; OTS information, including the operator optical fiber information and the total bandwidth information of the service carried by the OTS layer.
[0275] Step S1010: when the matching result indicates that the key device parameter matches the hierarchical information of the OTN device, acquiring the hierarchical information of the matched OTN device;
[0276] Step S1012: Acquire the target object in the OTS information from the hierarchical information of the matching OTN device;
[0277] Referring to Table 5, the target object in the OTS information may be the operator optical fiber number "Fiber-AA-BB-01".
[0278] Step S1014: determining a first adaptation result between the target object of the OTS information and the object of the OCH layer in the record table of the OTN device;
[0279] The first adaptation result includes the adaptation and mismatch between the target object of the OTS information and the object of the OCH layer in the first hierarchical record table (the hierarchical record table of the OTS layer and the OCH layer). The first number of hierarchical information of the OCH layer corresponding to the target object of the OTS information and the content of each hierarchical information can be determined in the mapping table, and then the second number of hierarchical information of the OCH layer corresponding to the target object of the OTS information and the content of each hierarchical information can be determined in the first hierarchical record table.
[0280] If the first number and the content of each hierarchical information are completely consistent with the second number and the content of each hierarchical information, it is considered that the target object of the OTS information is adapted to the object of the OCH layer in the first-level record table; if the first number and the second number are not equal, or although the first number and the second number are equal but the content of each hierarchical information is not completely consistent, it is considered that the target object of the OTS information is not adapted to the object of the OCH layer in the first-level record table; it should be noted that since the content in Table 5 is a subset of the content in Table 6, for any hierarchical information of the OCH layer in Table 5, the same hierarchical information of the OCH layer can always be found in Table 6, and then it is possible to determine whether the first number and the second number are equal to determine whether the target object of the OTS information is adapted to the object of the OCH layer in the first-level record table.
[0281] Referring to Table 5, there are a total of 6 pieces of OCH layer hierarchical information corresponding to the operator fiber number "Fiber-AA-BB-01", two of which are exactly the same, that is, the channel frequency in the two OCH layer hierarchical information is "192.4THz", the starting site is "AA", the ending site is "BB", and the channel rate is "40Gb / s". Therefore, it can be determined that there are a total of 5 different pieces of OCH layer hierarchical information corresponding to the object operator fiber number "Fiber-AA-BB-01" in the OTS layer hierarchical information in Table 5.
[0282] Referring to Table 6, the objects of OCH in the first-level record table (the level record table of the OTS layer and the OCH layer) may include "channel name", "bandwidth", "endpoint A-device", "endpoint A-device port", "endpoint Z-device", "endpoint Z-device port" and "channel frequency", then it can be determined that the objects of the OCH layer corresponding to the operator's optical fiber number "Fiber-AA-BB-01" are the channel name "AA-BB-192.1", bandwidth "10Gb / s", endpoint A-device "SZ-DWDW-AA", endpoint A-device port "L-1 / 1", endpoint Z-device "SZ-DWDW-BB", endpoint Z-device port "L-1 / 1" and channel frequency "192.1".
[0283] In Table 6, if the information of different levels of the OCH layer corresponding to the operator fiber number "Fiber-AA-BB-01" is equal to 5, it can be considered that the first adaptation result is the adaptation of the target object of the OTS layer and the object of the OCH layer; if the information of different levels of the OCH layer corresponding to the operator fiber number "Fiber-AA-BB-01" is greater than 5, it can be considered that the first adaptation result is that the target object of the OTS layer and the object of the OCH layer are not compatible; it should be noted that since the content in Table 5 is a subset of the content in Table 6, the information of different levels of the OCH layer corresponding to the operator fiber number "Fiber-AA-BB-01" in Table 6 is at least 5, and Table 6 does not fully list the information in the hierarchy record table of the OTS layer and the OCH layer.
[0284] Step S1016: when the first adaptation result indicates that the target object of the OTS layer is adapted to the object of the OCH layer, determining the fault cause of the OTN device based on the target object of the OTS information;
[0285] When the target object of the OTS layer is adapted to the object of the OCH layer, it indicates that there is a high possibility that a fault has occurred in the OTS layer of the OTN device. The cause of the fault of the OTN device can be determined based on the target object of the OTS information.
[0286] Step S1018: when the first adaptation result indicates that the target object of the OTS layer is incompatible with the object of the OCH layer, acquiring the target object in the OCH information from the hierarchical information of the matching OTN device;
[0287] Among them, when the target object of the OTS layer is incompatible with the object of the OCH layer, it means that it is very likely that the OTS layer of the OTN device is not at fault, but the OCH layer or OPU layer of the OTN device is at fault. Therefore, the target object in the OCH information can be further obtained from the hierarchical information of the matching OTN device.
[0288] Step S1020: determining a second adaptation result between the target object in the OCH information and the object of the OPU layer in the record table of the OTN device;
[0289] Among them, the second adaptation result includes the adaptation and incompatibility between the target object of the OCH information and the object of the OPU layer in the second hierarchical record table. The third number of hierarchical information of the OPU layer corresponding to the target object of the OCH information in the mapping table and the content of each hierarchical information can be determined first, and then the fourth number of hierarchical information of the OPU layer corresponding to the target object of the OCH information in the second hierarchical record table and the content of each hierarchical information can be determined.
[0290] If the third number and the content of each hierarchical information are completely consistent with the fourth number and the content of each hierarchical information, it is considered that the target object of the OCH information is adapted to the object of the OPU layer in the second-level record table; if the third number and the fourth number are not equal, it is considered that the target object of the OCH information is not adapted to the object of the OPU layer in the second-level record table; it should be noted that since the content in Table 5 is a subset of the content in Table 7, for any hierarchical information of the OPU layer in Table 5, the same hierarchical information of the OPU layer can always be found in Table 7, and then it is only necessary to determine whether the third number and the fourth number are equal to determine whether the target object of the OCH information is adapted to the object of the OPU layer in the second-level record table.
[0291] Step S1022: when the second adaptation result indicates that the target object in the OCH information is adapted to the object of the OPU layer, determining the fault cause of the OTN device based on the target object in the OCH information;
[0292] Among them, when the target object of the OCH layer is adapted to the object of the OPU layer, it means that there is a high possibility that the OCH layer of the OTN device has a fault, and the cause of the fault of the OTN device can be determined according to the target object of the OCH information.
[0293] Step S1024: When the second adaptation result indicates that the target object in the OCH information is incompatible with the object of the OPU layer, obtain the target object in the OPU information from the hierarchical information of the matching OTN device; and determine the cause of the failure of the OTN device based on the target object in the OPU information.
[0294] When the target object of the OCH layer is incompatible with the object of the OPU layer, it is likely that the OPU layer of the OTN device has failed. The cause of the failure of the OTN device can be determined based on the target object of the OPU information.
[0295] In the embodiment of the present application, by determining the OTN layer at which the cause of the failure of the OTN device may occur based on the adaptation result between the layer information of the OTN device that matches the key device parameters in the mapping table and the record table of the preset OTN device, and determining the cause of the failure of the OTN device based on the target object of the OTN layer, the cause of the failure of the OTN device can be determined, thereby making it possible to more conveniently and accurately determine the cause of the failure of the OTN device.
[0296] The embodiment of the present application also provides a method for determining the cause of an OTN device failure, the method comprising:
[0297] Step S1102: the general alarm system obtains the alarm information of the network device;
[0298] Step S1104: the general alarm system filters the alarm information of the physical port down type;
[0299] Step S1106: the general alarm system formats the alarm information of the physical port down type to extract the network device name and the physical port name;
[0300] Step S1108: the general alarm system matches the network device name and the physical port name with the pre-entered hierarchical information of the OTN device, and obtains an object of the hierarchical information of the OTN device corresponding to the network device name and the physical port name;
[0301] Among them, when the performance of the general alarm system is strong enough, and the communication path directly connecting the network equipment and the general alarm system is stable enough, and the alarm information of all network devices is not lost, the corresponding probability options in the hierarchical information of the OTN device corresponding to the network device name and physical port name can be deleted.
[0302] Step S1110: Obtain the hierarchical record table of the OTS layer and the OCH layer;
[0303] Step S1112: Obtaining the layer record table of the OCH layer and the OPU layer;
[0304] Among them, in the process of alarm convergence, the process of formatting the alarm information remains unchanged. The process of alarm convergence is to match the hierarchical information of the OTN device with the alarm information, and then traverse the hierarchical information of the OCH layer according to the target object in the OTS information of the OTS layer. If it is completely matched with the "hierarchical record table of the OTS layer and the OCH layer", the alarm information of all network devices is included, and then the information of the object in the hierarchical information of the OTS layer can be output to converge all alarm information.
[0305] If the OTS layer does not completely contain the hierarchical information of all OCH layers in the "hierarchical record table of OTS layer and OCH layer", it is considered that the object corresponding to the OTS layer has no abnormality. Then, for each object in the hierarchical information of the OCH layer, traverse according to the "hierarchical record table of OCH layer and OPU layer" until all network equipment alarm information is included; output the hierarchical information and objects of the abnormal OTN equipment, and converge the alarm information of all network equipment from the general alarm system.
[0306] Based on the foregoing embodiments, the embodiments of the present application provide a device for determining the cause of an OTN device failure, the device including the units included, and the modules included in the units, which can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0307] Figure 8 The schematic diagram of the structure of the apparatus for determining the cause of an OTN device failure according to an embodiment of the present application is as follows: Figure 8 As shown, the device 800 includes an acquisition module 801, an extraction module 802, a matching module 803 and a determination module 804, wherein:
[0308] An acquisition module 801 is used to acquire the alarm information to be processed; the alarm information to be processed is the alarm information of the network device connected to the OTN device; an extraction module 802 is used to extract key device parameters from the alarm information to be processed, and the key device parameters are used to indicate the identifier of the network device and the identifier of the corresponding physical port; a matching module 803 is used to determine the matching result between the hierarchical information of the OTN device in the mapping table based on the key device parameters; and a determination module 804 is used to determine the fault cause of the OTN device based on the matching result.
[0309] In one embodiment, the acquisition module 801 includes: an acquisition submodule, used to acquire at least one original alarm information from at least one network device; a preprocessing submodule, used to format and preprocess each of the at least one original alarm information to obtain the at least one alarm information;
[0310] Correspondingly, the determining module 804 is used to determine the fault cause of the OTN device based on the matching result of the at least one piece of alarm information.
[0311] In one embodiment, the matching result includes the match and mismatch between the key device parameters and the hierarchical information of the OTN device; the OTN device includes an OPU layer, an OCH layer and an OTS layer; the information of each layer in the OTN device includes: OPU information, including the name information of the optical transmission equipment, port information and the port rate of the OPU layer; OCH information, including the channel frequency, channel rate, starting site and ending site of the channel; OTS information, including the operator optical fiber information and the total bandwidth information of the service carried by the OTS layer.
[0312] In one embodiment, the matching result further includes an abnormal probability that an object in each level of information of the OTN device is abnormal in the case of matching;
[0313] The determination module includes: a first determination unit, which is used to determine the weight of each level of information in the OTN device; and a second determination unit, which determines the cause of the failure of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of an abnormal object in each level of information of the OTN device.
[0314] In one embodiment, the first determination unit includes: a first determination subunit, used to determine the number of matches between the key device parameters of each alarm information and the hierarchical information of the OTN device in the mapping table based on the matching results of each alarm information; a second determination subunit, used to determine a first ratio between the rate of OCH and the OPU rate in the OTN device; a third determination subunit, used to determine a second ratio between the number of matches and the first ratio; and a fourth determination subunit, used to determine the weight of each hierarchical information in the OTN device based on the second ratio.
[0315] In one embodiment, the second determination unit includes: a fourth determination subunit, which is used to determine the final probability of the object in each level of information by accumulation based on the number of matches of the object, the weight of the level information of the object and the abnormal probability of the object being abnormal; a sorting subunit, which is used to sort the final probabilities of all objects to obtain a sorting result; and a fifth determination subunit, which is used to determine the cause of the failure of the OTN device based on the sorting result.
[0316] In one embodiment, the fifth determining subunit is used to screen out target objects that meet preset conditions based on the sorting result; and determine the cause of the failure of the OTN device based on the target objects and the hierarchical information of the layer where the target objects are located.
[0317] In one embodiment, the OTN device includes an OPU layer, an OCH layer and an OTS layer; the information of each layer in the OTN device includes: OPU information, including name information of the optical transmission device, port information, port rate of the OPU layer and abnormal probability of objects in the OPU layer; OCH information, including channel frequency, starting site and ending site of the channel and abnormal probability of objects in the OPU layer; OTS information, including operator optical fiber information, total bandwidth information of services currently carried by the OTS layer and abnormal probability of objects in the OTS layer.
[0318] In one embodiment, the OPU information also includes the abnormal probability of objects in the OPU layer; the OCH information also includes the abnormal probability of objects in the OPU layer; the OTS information also includes the abnormal probability of objects in the OTS layer; an initial value y of the abnormal probability of objects in the OPU layer and a first ratio x between the OCH rate and the OPU rate in the OTN device have a logarithmic function relationship, wherein y is a dependent variable and x is an independent variable.
[0319] In one embodiment, the device further includes: an output module for outputting the cause of the fault to prompt the network manager of the OTN device; a re-acquisition module for acquiring the feedback result of the network manager of the OTN device on the cause of the fault; and an update module for maintaining or updating the abnormal probability of objects in each level of information in the mapping table based on the feedback result.
[0320] In some embodiments, the determining module 804 includes:
[0321] An acquiring unit, configured to acquire the hierarchical information of the matched OTN device if the matching result indicates that the key device parameter matches the hierarchical information of the OTN device;
[0322] The third determination unit is used to determine the adaptation result between the layer information of the matched OTN device and the preset record table of the OTN device, where the record table is used to record the connection relationship between each layer in the OTN device; and determine the fault cause of the OTN device based on the adaptation result.
[0323] In some embodiments, the third determination unit is used to obtain the target object in the OTS information from the hierarchical information of the matching OTN device; based on the target object of the OTS information, determine a first adaptation result between the object of the OCH layer in the record table of the OTN device; when the first adaptation result indicates that the target object of the OTS layer is adapted to the object of the OCH layer, determine the cause of the failure of the OTN device based on the target object of the OTS information.
[0324] In some embodiments, the third determination unit is used to obtain the target object in the OCH information from the hierarchical information of the matching OTN device when the first adaptation result shows that the target object of the OTS layer is incompatible with the object of the OCH layer; determine the second adaptation result between the target object in the OCH information and the object of the OPU layer in the record table of the OTN device based on the target object in the OCH information; determine the cause of the failure of the OTN device based on the target object in the OCH information when the second adaptation result shows that the target object in the OCH information is adapted to the object of the OPU layer; obtain the target object in the OPU information from the hierarchical information of the matching OTN device when the second adaptation result shows that the target object in the OCH information is incompatible with the object of the OPU layer; and determine the cause of the failure of the OTN device based on the target object in the OPU information.
[0325] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0326] It should be noted that in the embodiments of the present application, if the above-mentioned method for determining the cause of the OTN device failure is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), disk or optical disk, etc., various media that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0327] Correspondingly, an embodiment of the present application provides a computer device, Fig. 9 A schematic diagram of a hardware entity of a computer device according to an embodiment of the present application is shown in FIG. Fig. 9 As shown, the hardware entity of the computer device 900 includes: a memory 901 and a processor 902, wherein the memory 901 stores a computer program that can be run on the processor 902, and when the processor 902 executes the program, the steps in the method for determining the cause of the OTN device failure in the above embodiment are implemented.
[0328] The memory 901 is configured to store instructions and applications executable by the processor 902, and can also cache data to be processed or processed by the processor 902 and various modules in the computer device 900 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0329] Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.
[0330] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0331] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0332] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0333] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0334] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the embodiments of the present application may be all integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0335] It can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), magnetic disks or optical disks. Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. And the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, magnetic disks or optical disks.
[0336] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain a new product embodiment. The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment or device embodiment.
[0337] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for determining the cause of an OTN device failure. It is characterized in that Applied to a monitoring platform, the method comprises: Acquire alarm information to be processed; the alarm information to be processed is alarm information of a network device connected to the OTN device; Extracting key device parameters from the alarm information to be processed, wherein the key device parameters are used to indicate an identifier of the network device and an identifier of a corresponding physical port; Based on the key device parameters, determining a matching result with the hierarchical information of the OTN device in the mapping table; the matching result includes a match and a mismatch between the key device parameters and the hierarchical information of the OTN device; the matching result also includes an abnormal probability that an object in each hierarchical information of the OTN device is abnormal when a match occurs; Based on the matching result, determining the cause of the failure of the OTN device; wherein, based on the matching result, determining the cause of the failure of the OTN device includes: determining the weight of each level of information in the OTN device; determining the cause of the failure of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of an abnormal object in each level of information of the OTN device; Wherein, the determining the weight of each level of information in the OTN device includes: determining the number of matches between the key device parameters of each alarm information and the level information of the OTN device in the mapping table based on the matching result of each alarm information; determining a first ratio between the rate of the OCH and the OPU rate in the OTN device; determining a second ratio between the number of matches and the first ratio; and determining the weight of each level of information in the OTN device based on the second ratio; The determining of the fault cause of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of an object in each level of information of the OTN device being abnormal includes: for an object in each level of information, based on the number of matches of the object, the weight of the level information of the object and the abnormal probability of an object being abnormal, determining the final probability of the object by accumulation; sorting the final probabilities of all objects to obtain a sorting result; and determining the fault cause of the OTN device based on the sorting result.
2. The method according to claim 1, It is characterized in that The obtaining of the warning information to be processed includes: Obtain at least one original alarm information from at least one network device; Performing formatting preprocessing on each of the at least one original alarm information to obtain at least one alarm information; Correspondingly, the determining the cause of the failure of the OTN device based on the matching result includes: determining the cause of the failure of the OTN device based on the matching result of the at least one piece of alarm information.
3. The method according to claim 1, It is characterized in that The determining the fault cause of the OTN device based on the sorting result includes: Based on the sorting results, target objects that meet preset conditions are screened out; Based on the target object and the hierarchical information of the layer where the target object is located, a fault cause of the OTN device is determined.
4. The method according to any one of claims 1 to 3, It is characterized in that The OTN equipment includes an OPU layer, an OCH layer and an OTS layer; The information of each layer in the OTN equipment includes: OPU information, including the name information of the optical transmission equipment, port information and port rate of the OPU layer; OCH information, including the channel frequency, channel rate, start station and end station of the channel; OTS information, including operator fiber information and total bandwidth information of services carried by the OTS layer.
5. The method according to claim 4, It is characterized in that The OPU information also includes abnormal probability of objects in the OPU layer; The OCH information also includes the abnormal probability of objects in the OPU layer; The OTS information also includes the abnormal probability of objects in the OTS layer; An initial value y of the abnormal probability of the object in the OPU layer has a logarithmic functional relationship with a first ratio x between the rate of the OCH and the OPU rate in the OTN device, wherein y is a dependent variable and x is an independent variable.
6. The method according to claim 4, It is characterized in that The method further comprises: Outputting the fault cause to prompt the network management of the OTN device; Obtaining feedback from the network management of the OTN device on the cause of the fault; Based on the feedback result, the abnormal probability of the object in each level of information in the mapping table is maintained or updated.
7. The method according to claim 4, It is characterized in that The determining the fault cause of the OTN device based on the matching result of each of the alarm information includes: If the matching result indicates that the key device parameter matches the hierarchical information of the OTN device, acquiring the hierarchical information of the matched OTN device; Determine an adaptation result between the hierarchical information of the matched OTN device and a preset record table of the OTN device, wherein the record table is used to record connection relationships between objects in each hierarchy in the OTN device; A fault cause of the OTN device is determined based on the adaptation result.
8. The method according to claim 7, It is characterized in that The determining the adaptation result between the hierarchical information of the matched OTN device and the record table of the preset OTN device, and determining the fault cause of the OTN device based on the adaptation result, includes: Acquire the target object in the OTS information from the hierarchical information of the matched OTN device; Determine, based on the target object of the OTS information, a first adaptation result between the object of the OCH layer in the record table of the OTN device; If the first adaptation result indicates that the target object of the OTS layer is adapted to the object of the OCH layer, determining the cause of the failure of the OTN device based on the target object of the OTS information; When the first adaptation result indicates that the target object of the OTS layer is incompatible with the object of the OCH layer, acquiring the target object in the OCH information from the hierarchical information of the matching OTN device; Determine, based on the target object in the OCH information, a second adaptation result between the object of the OPU layer in the record table of the OTN device; If the second adaptation result indicates that the target object in the OCH information is adapted to the object of the OPU layer, determining the cause of the failure of the OTN device based on the target object in the OCH information; When the second adaptation result indicates that the target object in the OCH information is incompatible with the object of the OPU layer, the target object in the OPU information is obtained from the hierarchical information of the matching OTN device; and the cause of the failure of the OTN device is determined based on the target object in the OPU information.
9. A device for determining the cause of an OTN device failure, It is characterized in that The device comprises: An acquisition module, used for acquiring alarm information to be processed; the alarm information to be processed is alarm information of a network device connected to the OTN device; An extraction module, used for extracting key device parameters from the alarm information to be processed, wherein the key device parameters are used for indicating the identifier of the network device and the identifier of the corresponding physical port; A matching module, configured to determine, based on the key device parameters, a matching result with the hierarchical information of the OTN device in the mapping table; the matching result includes a match and a mismatch between the key device parameters and the hierarchical information of the OTN device; the matching result also includes an abnormal probability that an object in each hierarchical information of the OTN device is abnormal in the case of a match; A determination module, configured to determine the cause of the failure of the OTN device based on the matching result; wherein the determination module is configured to determine the weight of each level of information in the OTN device when determining the cause of the failure of the OTN device based on the matching result; and determine the cause of the failure of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of an abnormal object in each level of information of the OTN device; The determination module is used to determine the number of matches between the key device parameters of each alarm information and the hierarchical information of the OTN device in the mapping table based on the matching result of each alarm information when determining the weight of each hierarchical information in the OTN device; determine a first ratio between the rate of the OCH and the OPU rate in the OTN device; determine a second ratio between the number of matches and the first ratio; and determine the weight of each hierarchical information in the OTN device based on the second ratio; The determination module is used to determine the cause of the failure of the OTN device based on the weight of each level of information in the OTN device and the abnormal probability of the object in each level of information of the OTN device. For the object in each level of information, based on the number of matches of the object, the weight of the level information of the object and the abnormal probability of the object, by accumulating the final probability of the object; sorting the final probabilities of all objects to obtain a sorting result; and determining the cause of the failure of the OTN device based on the sorting result.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, It is characterized in that When the processor executes the program, the steps in the method for determining the cause of an OTN device failure according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps in the method for determining the cause of an OTN device failure as claimed in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Fault processing method, network device and system
CN106685682A
White list rule-based alarm information classification processing method and apparatus
CN106778873A
Centralized alarm monitoring system and method of power system terminal communication access network
CN107196804A
Network alarm method and device
CN110149227A
Line fault troubleshooting method and device for OTN network and terminal equipment
CN110247725A
