Fault location method, electronic device and storage medium
By real-time monitoring and filtering of printed information of OTN devices and comparing it with preset standard information, the problems of numerous and redundant log information in OTN devices are solved, achieving rapid and accurate fault location and equipment security improvement.
Patent Information
- Application Number
- CN202311288718.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-30
- Publication Date
- 2025-04-01
AI Technical Summary
In the OTN equipment of the optical transmission network, log information is numerous and redundant, which causes operation and maintenance personnel to handle long processing times during positioning failures, and log information is lost when the equipment is reset or powered down, making it impossible to locate the faults quickly and accurately, reducing equipment security.
By monitoring the target process in the OTN device in real time, obtaining the printing information under the target process, and filtering it to reduce redundant information. Use preset standard information to compare it with the target printing information to determine whether there is a fault in the OTN device.
Real-time operation monitoring of OTN equipment is realized, redundant information is reduced, and the accuracy and efficiency of fault positioning is improved, ensuring the rapid and accurate fault positioning and safety of the equipment.
Smart Images

Figure CN119743379A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a fault location method, electronic equipment and storage medium. Background Art
[0002] When locating a fault in an optical transport network (OTN), an operation and maintenance personnel can locate the fault occurring in the OTN device based on the log information stored in the memory.
[0003] However, since OTN equipment generates a large amount of log information during operation, the data content is complex and there is a lot of redundant information, which increases the time it takes for operation and maintenance personnel to process the above log information; and in the event of equipment reset or power failure, the log information saved in the memory will be lost, making it impossible to quickly and accurately locate faults in OTN equipment, reducing equipment safety. Summary of the invention
[0004] The present application provides a fault location method, an electronic device and a storage medium.
[0005] An embodiment of the present application provides a fault locating method, the method comprising: real-time monitoring of a target process in an optical transmission network (OTN) device, and obtaining print information under the target process; filtering the print information under the target process to obtain target print information; and determining that a fault exists in the OTN device when the target print information is inconsistent with preset standard information.
[0006] An embodiment of the present application provides an electronic device, comprising: one or more processors; a memory on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the fault location methods in the embodiments of the present application.
[0007] An embodiment of the present application provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, any one of the fault location methods in the embodiments of the present application is implemented.
[0008] According to the fault location method, electronic device and storage medium of the embodiment of the present application, by real-time monitoring of the target process in the optical transmission network OTN device and obtaining the printing information under the target process, the printing information of the OTN device during business processing can be monitored in time to clarify the real-time operation status of the OTN device; further, the printing information under the target process is filtered and processed to obtain the target printing information, thereby reducing redundant information; when the target printing information is inconsistent with the preset standard information, it is determined that the OTN device has a fault, thereby improving the accuracy of fault location.
[0009] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A flow chart of a fault location method provided in an embodiment of the present application is shown.
[0011] Figure 2 A block diagram showing the components of a fault location device provided in an embodiment of the present application is shown.
[0012] Figure 3 A block diagram showing the components of a fault location system provided in an embodiment of the present application is shown.
[0013] Figure 4 A schematic diagram of the interface of the fault reporting module provided in an embodiment of the present application is shown.
[0014] Figure 5 A schematic diagram of the interface of the fault management display page provided in an embodiment of the present application is shown.
[0015] Figure 6 A schematic diagram of the interface of the process detection module provided in an embodiment of the present application is shown.
[0016] Figure 7 A schematic diagram of process abnormality error distribution provided by an embodiment of the present application is shown.
[0017] Figure 8 A schematic flow chart of a method for fault location using a fault location system provided in an embodiment of the present application is shown.
[0018] Fig. 9 A block diagram showing the composition of a computing device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0020] During the operation of OTN equipment, operation and maintenance personnel are required to monitor its operation to determine whether the OTN equipment is operating normally. For example, operation and maintenance personnel determine whether the OTN equipment is operating normally by checking the alarm information. However, some alarm information is vague, and operation and maintenance personnel need to spend a lot of manpower analysis costs to analyze different dimensions based on the obtained alarm information in order to clarify the cause of the fault.
[0021] In a related implementation manner, the operation and maintenance personnel locate the faults occurring in the OTN device by obtaining the log information stored in the memory. Since the OTN device generates a large amount of log information during operation, the data content is complex and there is a lot of redundant information, which increases the processing time of the operation and maintenance personnel for the above log information. Moreover, in the event of device reset or power failure, the log information stored in the memory will be lost, making it impossible to quickly and accurately locate the faults in the OTN device, thereby reducing the safety of the device.
[0022] In other related implementations, operation and maintenance personnel can also locate faults in the OTN network by reproducing the faults. However, reproducing the faults requires establishing a mirror environment, which is cumbersome and requires additional time and labor costs. How to accurately locate faults in the OTN network has become a problem that needs to be solved urgently.
[0023] The present application provides a fault location method, electronic device and storage medium, which can facilitate operation and maintenance personnel to quickly sort out and locate faults based on the displayed fault information, promptly troubleshoot faults occurring in the equipment, shorten the location time, and improve the efficiency of fault location.
[0024] Figure 1 FIG. 1 is a flow chart of a fault location method provided in an embodiment of the present application. The method can be applied to a fault location device. Figure 1 As shown, the fault location method in the embodiment of the present application includes but is not limited to the following steps.
[0025] Step S101 , monitoring a target process in an optical transmission network OTN device in real time, and obtaining printing information of the target process.
[0026] Step S102, filtering the printing information under the target process to obtain target printing information.
[0027] Step S103: When the target printing information is inconsistent with the preset standard information, it is determined that the OTN device has a fault.
[0028] In this embodiment, by real-time monitoring of the target process in the optical transmission network OTN device and obtaining the printing information under the target process, the printing information of the OTN device during business processing can be monitored in time to clarify the real-time operation status of the OTN device; further, the printing information under the target process is filtered to obtain the target printing information, thereby reducing redundant information; when the target printing information is inconsistent with the preset standard information, it is determined that the OTN device has a fault, thereby improving the accuracy of fault location.
[0029] In some exemplary embodiments, real-time monitoring of the target process in the optical transmission network OTN device and obtaining the printing information under the target process in step S101 can be implemented in the following manner: based on a preset interface, a target detection instruction is sent to the OTN device in real time; feedback information fed back by the OTN device is received, and the printing information under the target process is obtained according to the feedback information.
[0030] The target detection instruction is used to instruct the OTN device to extract the print information under the target process. The feedback information is the information returned by the OTN device in response to the target detection instruction.
[0031] The target detection instruction is sent to the OTN device in real time through a preset interface (for example, a preset reporting interface between the network management device (or, a fault locating device, etc.) and the OTN device, etc.).
[0032] When the OTN device receives a target detection instruction, the OTN device monitors the print information of the target process that is currently processing business according to the target detection instruction, and extracts multiple print information under the target process, and then sends the multiple print information as feedback information to the network management device (or, fault locating device, etc.), so that the network management device can analyze based on the multiple print information, quickly determine whether there is a fault in the OTN device, and improve the efficiency of fault locating.
[0033] In some exemplary embodiments, filtering the print information under the target process to obtain the target print information in step S102 may be implemented in the following manner: filtering the print information under the target process based on a preset retrieval model to obtain the target print information.
[0034] Among them, the printing information under the target process includes at least one of device attribute information, business operation environment information, device operation information, business processing information, network topology information, and business performance information; the target printing information includes at least one of the exception occurrence time, the error code corresponding to the exception, and exception explanation information and exception status data.
[0035] The above target printing information can obtain the most accurate error code and exception explanation information corresponding to the exception. According to the time when the exception occurred, the exception that occurred can be recorded in a timely and accurate manner, which is convenient for operation and maintenance personnel to locate the fault and improve the accuracy of fault location.
[0036] The target process includes a target process that is a process that is run when the target service is run. For example, the target process includes at least one of a MIM process, a SHMC process, a YCONVERTOR process, a UEM process, and an EM process.
[0037] The MIM process is used to accept object operations issued by the management interface, complete object dependency, mutual exclusion verification, full configuration, incremental configuration, rollback, configuration storage, loading and other functions; issue object operations to the application business system; receive object execution results or management information reported by the master control from the business application system, and pass them to the adaptation layer in the form of objects.
[0038] The SHMC process is a process in the electromechanical management subsystem, where the electromechanical management subsystem includes: the Shelf Management Controller (ShMC) unit on the main control board, the Intelligent Platform Management Controller (IPMC) on the single board and other replaceable units (such as fan boards, power boards, etc.), and the communication between the Inter-Integrated Circuit (IIC) controller and the IPMC is realized by logic.
[0039] The YCONVERTOR process is used to convert data packets based on the network configuration protocol (NETCONF), for example, converting standard yang packets (a data modeling language) into device internal commands, or converting device internal commands into standard yang packets.
[0040] The UEM process is a component process on the main control board, responsible for managing boards or subracks, and has functions such as command conversion adaptation. All card business processes need to be converted by the UEM process, and then the UEM process sends the converted information to the corresponding board.
[0041] The EM process is used to convert the Type-Length-Value (TLV) message sent by the network management into a MIM message and send it to each service component, or to construct the information responded by the service component into a TLV message, report it to the network management, and display the relevant information on the network management interface.
[0042] By using a preset retrieval model to filter multiple print information under the target process, removing redundant information, and obtaining multiple target print information, the data processing volume can be reduced and the processing efficiency of the print information can be improved.
[0043] In some exemplary embodiments, the printing information under the target process is filtered based on a preset retrieval model, and before the target printing information is obtained, the method also includes: determining a preset retrieval rule based on preset indicator parameter information; constructing a vector space model based on the occurrence time information of the printing information and the preset indicator parameter information; assigning weights of preset retrieval items based on the vector space model to obtain the weight values of the preset retrieval items; and constructing a preset retrieval model based on the preset retrieval rules and the weight value of at least one preset retrieval item.
[0044] Among them, the preset search item is a search item determined based on preset index parameters, and the weight value of the preset search item represents the importance of the preset search item.
[0045] For example, each preset indicator parameter information corresponds to a preset search item. If the preset search item corresponds to a severe alarm, its corresponding weight value can be set to 0.8-1; if the preset search item corresponds to an important alarm, its corresponding weight value can be set to 0.6-0.79; if the preset search item corresponds to a general alarm, its corresponding weight value can be set to 0.4-0.59, etc.
[0046] In some embodiments, the importance of the print information can be determined by comparing the weight value of the preset search item corresponding to the print information with the preset weight threshold. For example, if the preset weight threshold is set to 0.7, when the weight value of the preset search item corresponding to a certain print information is greater than 0.7, the print information can be determined to be information corresponding to an important alarm, indicating that an abnormality above an important alarm exists in the OTN device. At this time, the print information is determined to be abnormal print information, and the abnormal print information is further processed, so that troubleshooting can be performed quickly and timely based on the important alarm that occurs, so that the abnormality that occurs in the OTN device is discovered in time, so that the operation and maintenance personnel can locate the fault based on the abnormality that occurs, and improve the efficiency of troubleshooting.
[0047] Among them, the preset indicator parameters include at least one of the following: the type of device that generates the print information, the location where the print information is generated (for example, the print information comes from a specific business board of the device), the time range corresponding to the print information, the frequency of occurrence of the print information, the inverse document frequency, the distribution variance, and the number of processes in which the print information appears in the target process.
[0048] It should be noted that the preset indicator parameters include a type of data, and the preset search rules can be iteratively updated according to different preset indicator parameters, so as to improve the search efficiency and the search accuracy.
[0049] In some embodiments, a vector space model is constructed with the appearance time information of the printing information and the preset index parameter information, and the weight of the preset search item is assigned based on the vector space model to obtain the weight value of the preset search item, so that the vector space model can reflect the importance of the corresponding preset index parameter information at different times. For example, in the stage of initializing the OTN device when it is turned on, the synchronization operation parameter for synchronizing the OTN device with the time in the global positioning system can be determined as the preset index parameter information, and the weight value corresponding to the synchronization operation parameter is set to the highest; when the OTN device needs to upgrade the version of the device, the version upgrade parameter related to the device version upgrade in the OTN device can be determined as the preset index parameter information, and the weight value corresponding to the version upgrade parameter is set to the highest. In this way, preset search items with different weight values are used to search for printing information at different times to obtain search results with different weight values.
[0050] Furthermore, a preset retrieval model is constructed based on preset retrieval rules and a weight value of at least one preset retrieval item, which enables the preset retrieval model to retrieve different information in the printed information based on the preset retrieval rules, and to classify and retrieve the printed information based on the weight values of the preset retrieval items at different times, thereby improving the retrieval efficiency of the printed information.
[0051] In some exemplary embodiments, the target printing information includes a characteristic value to be confirmed; the method further includes: determining a preset standard characteristic value based on preset standard information; when the characteristic value to be confirmed is different from the corresponding preset standard characteristic value, determining that the target printing information is inconsistent with the preset standard information.
[0052] The preset standard characteristic value may be a preset feedback threshold when the device runs certain services. For example, the preset standard characteristic value is set to "A", which means "laser is on". However, the to-be-confirmed characteristic value fed back by the OTN device when completing the service is "B", indicating that the to-be-confirmed characteristic value is different from the corresponding preset standard characteristic value, which means that the OTN device has not completed the "laser is on" operation, further indicating that there is a fault in the OTN device and a more detailed inspection is required. When it is determined that the to-be-confirmed characteristic value is the same as the preset standard characteristic value, it is determined that there is no fault in the OTN device.
[0053] By comparing the characteristic value to be confirmed with the preset standard characteristic value to determine whether the characteristic value to be confirmed is the same as the preset standard characteristic value, it is possible to quickly determine whether the OTN device has completed the preset business operation and whether the feedback result after running the preset business meets expectations, thereby determining whether there is a fault in the OTN device, locating the fault simply and directly, and improving the efficiency of fault location.
[0054] In some exemplary embodiments, determining a preset standard feature value according to preset standard information includes: extracting features from the preset standard information by a feature extraction model to determine the preset standard feature value.
[0055] Using a feature extraction model to extract features from preset standard information can speed up the analysis of the preset standard information, make the extracted preset standard feature values more accurate, and facilitate subsequent analysis of the feature values to be confirmed.
[0056] In some exemplary embodiments, before extracting features from preset standard information through a feature extraction model and determining preset standard feature values, the method further includes: training a convolutional neural network based on at least one preset business standard parameter to construct a feature extraction model.
[0057] The preset service standard parameters are parameters determined based on the preset service type.
[0058] For example, the preset service type includes at least one of the following: device version upgrade service, device power detection service, pulse-per-second detection service, synchronization time confirmation service, laser state detection service, and device reset detection service. The preset fault type corresponding to the preset service type includes at least one of the following: device version upgrade fault, device power failure fault, pulse-per-second loss fault, synchronization time loss fault, laser state fault, and device reset fault.
[0059] The above preset service types and preset fault types are only examples and can be specifically set according to actual needs. Other preset service types and preset fault types not described are also within the protection scope of this application and will not be described in detail here.
[0060] It should be noted that by iteratively training the convolutional neural network with different preset business standard parameters, the obtained feature extraction model can quickly and accurately extract the preset standard feature values corresponding to the preset business type, so that the preset standard feature values can be used to judge the feature values to be confirmed, thereby speeding up the analysis speed of the feature values to be confirmed and improving the accuracy of anomaly analysis.
[0061] In some exemplary embodiments, after determining that the OTN device has a fault, the method further includes: displaying target printing information based on a graphical display mode and / or a list display mode.
[0062] Among them, the graphic display method can be to display different data using bar charts, hollow arcs, etc., which can intuitively display the relevant data in the target printed information, so that operation and maintenance personnel can quickly and accurately obtain fault information through the data proportion displayed in bar charts, hollow arcs and other graphics, thereby improving fault location efficiency.
[0063] The list display mode is more suitable for displaying target print information including multiple different types of faults. For example, if there are 5 or 6 different types of faults in a certain OTN device, the list display mode can be used to display the fault information of the above 5 or 6 different types of faults at the same time. This can not only reduce the display interface, but also enable the operation and maintenance personnel to obtain the fault information of the above multiple different types of faults at the same time, thereby speeding up the troubleshooting and processing of the faults.
[0064] The following is a detailed description of the device according to the embodiment of the present application in conjunction with the accompanying drawings. Figure 2 FIG. 1 is a block diagram showing the components of the fault location device provided in the embodiment of the present application. Figure 2 As shown, the fault location device 200 includes but is not limited to the following modules.
[0065] The monitoring module 201 is configured to monitor the target process in the optical transmission network OTN device in real time and obtain the printing information of the target process.
[0066] The filtering module 202 is configured to filter the printing information under the target process to obtain the target printing information.
[0067] The determination module 203 is configured to determine that a fault exists in the OTN device when the target printing information is inconsistent with the preset standard information.
[0068] It should be noted that the fault locating device 200 in this embodiment can implement any fault locating method in the embodiments of the present application.
[0069] According to the fault locating device of the embodiment of the present application, the target process in the optical transmission network OTN device is monitored in real time by the monitoring module, and the printing information under the target process is obtained. Therefore, the printing information of the OTN device during business processing can be monitored in time to clarify the real-time operation status of the OTN device; further, the printing information under the target process is filtered by the filtering module to obtain the target printing information, thereby reducing redundant information; and the determination module is used to determine that the OTN device has a fault when the target printing information is inconsistent with the preset standard information, thereby improving the accuracy of fault locating.
[0070] Figure 3 FIG. 1 is a block diagram showing the components of the fault location system provided in the embodiment of the present application. Figure 3 As shown, the network management server 310 is connected to the fault location device 320 and the optical transmission network equipment 330 respectively.
[0071] The fault location device 320 can be set inside the network management server 310 (not shown in the figure), or can be set outside the network management server 310 independently of the network management server 310. The fault location device 320 includes: a fault reporting module 321, an analysis and processing module 322, a data storage module 323, and a process monitoring module 324.
[0072] In the process of processing services, the optical transmission network device 330 needs to start multiple processes (for example, Figure 3 As shown, the first process 331, the second process 332, ..., the Nth process 33N, where N represents the number of processes and N is an integer greater than or equal to 1).
[0073] The fault reporting module 321 is used to report the printing information of the target process to the network management server 310, so that the network management server 310 filters the printing information of the target process, obtains the target printing information, and displays the target printing information based on a graphical display mode and / or a list display mode.
[0074] The analysis and processing module 322 is used to train the convolutional neural network based on at least one preset business standard parameter to construct a feature extraction model; then, extract features from the preset standard information based on the feature extraction model to determine the preset standard feature value.
[0075] The analysis and processing module 322 is further used to compare the characteristic value to be confirmed with the preset standard characteristic value, and determine whether the OTN device has a fault based on the comparison result.
[0076] When it is determined that the characteristic value to be confirmed is different from the preset standard characteristic value, it is determined that the target printing information is inconsistent with the preset standard information, which indicates that the optical transmission network device 330 has a fault.
[0077] For example, if the optical transmission network device 330 performs feature extraction on the preset standard information through the feature extraction model when executing the "device soft reset operation", and determines that the preset standard feature value is "0x1", but the feature value to be confirmed obtained at this time is "0x2" (indicating that the device is performing a hard reset), then the feature value to be confirmed is different from the preset standard feature value, which indicates that the optical transmission network device 330 has a fault and has not completed the expected "device soft reset operation".
[0078] For another example, if "A" is set to represent "laser on", but the acquired characteristic value to be confirmed is "B", it means that the optical transmission network device 330 has not completed the "laser on" operation, which further indicates that there is a fault in the optical transmission network device 330 and a more detailed inspection is required.
[0079] When it is determined that the characteristic value to be confirmed is the same as the preset standard characteristic value, it is determined that the optical transmission network device 330 has no fault.
[0080] The data storage module 323 is used to store preset indicator parameter information, at least one preset business standard parameter, and print information under the target process. The print information under the target process includes at least one of device attribute information, business operation environment information, device operation information, business processing information, network topology information, and business performance information.
[0081] The process monitoring module 324 is used to monitor in real time the printing information of the target process (for example, the first process 331, the second process 332, ..., the Nth process 33N, etc.) of the optical transmission network device 330 during operation, and obtain multiple printing information under the target process; then, based on the preset retrieval model, the printing information under the target process is filtered to obtain the target printing information.
[0082] Among them, the preset retrieval model is a model constructed in the following manner: determining the preset retrieval rules based on the preset indicator parameter information; constructing a vector space model based on the appearance time information of the printing information and the preset indicator parameter information; assigning the weights of the preset retrieval items based on the vector space model to obtain the weight values of the preset retrieval items; constructing a preset retrieval model based on the preset retrieval rules and the weight value of at least one preset retrieval item.
[0083] It should be noted that the weight value of the preset search item represents the importance of the preset search item. For example, if the preset search item corresponds to a serious alarm, its corresponding weight value can be set to 0.8-1; if the preset search item corresponds to an important alarm, its corresponding weight value can be set to 0.6-0.79; if the preset search item corresponds to a general alarm, its corresponding weight value can be set to 0.4-0.59, etc.
[0084] Figure 4 FIG. 1 is a schematic diagram showing an interface of a fault reporting module provided in an embodiment of the present application. Figure 4 As shown, in the "Fault Reporting" interface, three different fault types can be displayed, namely "Equipment Fault", "Network Management Fault", and "Network Fault".
[0085] Among them, the number of "equipment failure" is 1, indicating that a network element device is in a faulty state; the number of "network management failure" is 3, indicating that there are 3 different types of failures in the network management device; the number of "network failure" is 0, which means that no link in the network has a fault.
[0086] Through the interface of the fault reporting module, different types of faults and the corresponding number of faults can be clearly and accurately displayed, which can facilitate operation and maintenance personnel to perform specific maintenance on faulty equipment in a timely manner based on the above displayed information, thereby speeding up the troubleshooting of faults.
[0087] In some embodiments, the operation and maintenance personnel can jump to the corresponding fault management display page by clicking on different fault types. Figure 5 FIG. 1 is a schematic diagram showing an interface of a fault management display page provided in an embodiment of the present application. Figure 5 As shown, in the fault management display interface, it can be displayed that the optical transmission network device 330 currently has 6 different fault information:
[0088] 1) A minor fault (the alarm code name is "board version is being upgraded", and the corresponding position is "[0-1-1]" in the network element "NCPLE-132.1.4.210").
[0089] 2) 4 major faults (the alarm code names are "GPS port 1PPS second pulse loss and unavailable alarm", and "GPS port TOD loss", and their corresponding positions are "absolute time port" on "[0-1-1]" in network element "NCPLE-132.1.4.210").
[0090] Among them, GPS stands for Global Positioning System, and TOD stands for Time Of Day.
[0091] 3) A serious fault (the alarm code name is "Single board voltage power failure", and its corresponding position is "[0-1-29]" in the DC power supply (DC) of the contact absolute angle sensor (PWG) in the network element "NCPLE-132.1.4.210")
[0092] pass Figure 5 The different levels of fault information shown can enable the operation and maintenance personnel to accurately locate the fault, and to inspect and handle the located fault, thereby improving the maintenance efficiency of the fault existing in the optical transmission network device 330.
[0093] Figure 6 FIG. 1 is a schematic diagram showing an interface of a process detection module provided in an embodiment of the present application. Figure 6 As shown in the figure, the process monitoring module shows that the "total number of processes in the system" is "18", of which the number of "normal" processes is 13 and the number of "faulty" processes is 5. This allows operation and maintenance personnel to quickly understand the number of faulty processes through this interface.
[0094] Furthermore, when the operation and maintenance personnel clicks "Fault", they can connect to the process abnormality error distribution interface through a hyperlink. For example, Figure 7 FIG. 2 shows a schematic diagram of the process abnormality error distribution provided by the embodiment of the present application. Figure 7 As shown, in the process exception error distribution interface, see the "Process exception error distribution diagram", which is a coordinate system constructed with the number of errors reported by the process as the vertical axis and the name of the process as the horizontal axis.
[0095] Among them, the number of errors reported by the "MIM" process is 30, the number of errors reported by the "SHMC" process is 18, the number of errors reported by the "EM" process is 15, the number of errors reported by the "UEM" process is 12, and the number of errors reported by the "YCONVERTOR" process is 5.
[0096] It should be noted that the above error numbers can represent the number of business errors corresponding to different processes. Through this interface, the abnormal information occurring in each process in the optical transmission network device 330 can be intuitively observed, which can save the time of operation and maintenance personnel to look through the logs. At the same time, it can also play a role in backing up the log information, reduce the proportion of abnormalities that cannot be located due to the damage of the log file, and improve the efficiency of fault location.
[0097] Figure 8 The following is a schematic diagram showing a method flow of using a fault location system to locate a fault provided by an embodiment of the present application. Figure 8 As shown, the method includes but is not limited to the following steps.
[0098] Step S801 : the network management server 310 performs configuration operations on the optical transmission network device 330 .
[0099] For example, the network management server 310 may directly send a target detection instruction to the optical transmission network device 330, so that the optical transmission network device 330 can monitor and extract the printing information under its target process based on the requirements in the target detection instruction.
[0100] For another example, the network management server 310 sends a target detection instruction to the process monitoring module 324; the process monitoring module 324 sends the target detection instruction to the optical transmission network device 330 in real time based on a preset interface.
[0101] The target detection instruction is used to instruct the optical transmission network device 330 to extract the printing information under its target process.
[0102] In step S802, the process monitoring module 324 extracts the printing information of multiple processes running in the optical transmission network device 330 in real time, and filters out the printing information of the target process to obtain the printing information of the target process.
[0103] The printing information under the target process includes at least one of device attribute information, business operation environment information, device operation information, business processing information, network topology information, and business performance information.
[0104] Step S803 , the process monitoring module 324 sends the obtained multiple print information of the target process to the analysis and processing module 322 , and the analysis and processing module 322 filters the print information of the target process based on a preset retrieval model to obtain the target print information.
[0105] The target printing information includes at least one of the abnormality occurrence time, the error code corresponding to the abnormality, the abnormality explanation information and the abnormality status data.
[0106] In some embodiments, the analysis and processing module 322 may store the abnormal printing information in the data storage module 323 to facilitate quick use of the data.
[0107] In step S804 , the analysis and processing module 322 compares the feature value to be confirmed in the target printing information with the preset standard feature value to obtain a comparison result.
[0108] The feature value to be confirmed in the target printing information is a value obtained by analyzing the error code and the exception explanation information corresponding to the exception and performing feature extraction.
[0109] The comparison result includes: the feature value to be confirmed is different from the corresponding preset standard feature value, or the feature value to be confirmed is the same as the corresponding preset standard feature value. The preset standard feature value is a value obtained by extracting features from the preset standard information through the feature extraction model.
[0110] The feature extraction model is constructed by training a convolutional neural network based on at least one preset business standard parameter, wherein the preset business standard parameter is a parameter determined based on a preset business type.
[0111] For example, the preset service type includes at least one of the following: device version upgrade service, device power detection service, pulse-per-second detection service, synchronization time confirmation service, laser state detection service, and device reset detection service. The preset fault type corresponding to the preset service type includes at least one of the following: device version upgrade fault, device power failure fault, pulse-per-second loss fault, synchronization time loss fault, laser state fault, and device reset fault.
[0112] Iterative training of the convolutional neural network using different preset business standard parameters can enable the obtained feature extraction model to quickly and accurately extract the preset standard feature values corresponding to the preset business type, so that the preset standard feature values can be used to judge the feature values to be confirmed, thereby speeding up the analysis speed of the feature values to be confirmed and improving the accuracy of anomaly analysis.
[0113] Step S805 : the analysis and processing module 322 determines whether the optical transmission network device 330 has a fault based on the comparison result.
[0114] When it is determined that the comparison result is that the characteristic value to be confirmed is different from the preset standard characteristic value, it is determined that there is a fault in the optical transmission network device 330, and step S806 is executed; when it is determined that the comparison result is that the characteristic value to be confirmed is the same as the preset standard characteristic value, it is determined that there is no fault in the optical transmission network device 330, and step S802 is returned to execute.
[0115] In some embodiments, the data storage module 323 may also be used to store the analysis results determined by the analysis processing module 322 through analysis (ie, whether the optical transmission network device 330 has a fault, etc.).
[0116] Step S806 : the analysis and processing module 322 reports the target printing information to the fault reporting module 321 .
[0117] Step S807 : the fault reporting module 321 sends the obtained target printing information to the network management server 310 , so that the network management server 310 displays the target printing information based on a graphical display mode and / or a list display mode.
[0118] In some embodiments, the network management server 310 can also analyze the above-mentioned target printing information, determine preliminary fault location conclusions and fault handling opinions and other information, and display the above information to the operation and maintenance personnel at the same time, so that the operation and maintenance personnel can perform fault troubleshooting and processing based on the fault information, preliminary fault location conclusions and fault handling opinions and other information to improve the safety of the equipment.
[0119] The fault in the optical transmission network device 330 is located through the various modules in the above-mentioned fault location system, and the target print information is intuitively displayed based on the corresponding module display interface, which can facilitate operation and maintenance personnel to quickly sort out and locate the fault based on the displayed target print information, and promptly troubleshoot the faults in the equipment, shorten the positioning time, and improve the fault positioning efficiency.
[0120] It should be clear that the present invention is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.
[0121] Fig. 9 A block diagram showing the composition of a computing device provided in an embodiment of the present application is shown.
[0122] like Fig. 9 As shown, the computing device 900 includes an input device 901, an input interface 902, a central processing unit 903, a memory 904, an output interface 905, and an output device 906. The input interface 902, the central processing unit 903, the memory 904, and the output interface 905 are connected to each other via a bus 907, and the input device 901 and the output device 906 are connected to the bus 907 via the input interface 902 and the output interface 905, respectively, and then connected to other components of the computing device 900.
[0123] Specifically, the input device 901 receives input information from the outside and transmits the input information to the central processing unit 903 through the input interface 902; the central processing unit 903 processes the input information based on the computer executable instructions stored in the memory 904 to generate output information, temporarily or permanently stores the output information in the memory 904, and then transmits the output information to the output device 906 through the output interface 905; the output device 906 outputs the output information to the outside of the computing device 900 for user use.
[0124] In one embodiment, Fig. 9 The computing device shown may be implemented as an electronic device, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the fault location method described in the above embodiment.
[0125] In one embodiment, Fig. 9 The computing device shown may be implemented as a fault location system, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the fault location method described in the above embodiment.
[0126] The above is only an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application. In general, various embodiments of the present application can be implemented in hardware or special circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, a microprocessor or other computing device, although the present application is not limited thereto.
[0127] Embodiments of the present application may be implemented by a processor executing computer program instructions, such as in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0128] The block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions. The computer program can be stored on a memory. The memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc. Computer-readable media may include non-transient storage media. The processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
[0129] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present invention. Therefore, the proper scope of the present invention will be determined according to the claims.
Claims
1. A fault location method, characterized in that: The method comprises: Monitor the target process in the optical transmission network OTN equipment in real time and obtain the print information under the target process; Filtering the print information under the target process to obtain target print information; When the target printing information is inconsistent with the preset standard information, it is determined that a fault exists in the OTN device.
2. The method according to claim 1, characterized in that The filtering process of the print information under the target process to obtain the target print information includes: The printing information under the target process is filtered based on a preset retrieval model to obtain the target printing information.
3. The method according to claim 2, characterized in that Before filtering the print information under the target process based on the preset retrieval model and obtaining the target print information, the method further includes: Determine preset search rules based on preset indicator parameter information; Constructing a vector space model based on the appearance time information of the printing information and the preset indicator parameter information; Assigning a weight to a preset search item based on the vector space model to obtain a weight value of the preset search item, wherein the preset search item is a search item determined based on the preset index parameter, and the weight value of the preset search item represents the importance of the preset search item; The preset search model is constructed according to the preset search rule and the weight value of at least one of the preset search items.
4. The method according to claim 2, characterized in that: The real-time monitoring of the target process in the optical transmission network OTN device and obtaining the printing information of the target process include: Based on a preset interface, a target detection instruction is sent to the OTN device in real time, wherein the target detection instruction is used to instruct the OTN device to extract the printing information under the target process; Receive feedback information fed back by the OTN device, and acquire printing information under the target process according to the feedback information; wherein the feedback information is information returned by the OTN device in response to the target detection instruction.
5. The method according to any one of claims 1 to 4, characterized in that The printing information under the target process includes device attribute information, business operation environment information, device operation information, and at least one of business processing information, network topology information, and business performance information; the target printing information includes at least one of the exception occurrence time, the error code corresponding to the exception, and exception explanation information and exception status data.
6. The method according to claim 1, characterized in that The target printing information includes a feature value to be confirmed; the method further includes: Determining a preset standard characteristic value according to the preset standard information; When the to-be-confirmed characteristic value is different from the corresponding preset standard characteristic value, it is determined that the target printing information is inconsistent with the preset standard information.
7. The method according to claim 6, characterized in that The step of determining a preset standard characteristic value according to the preset standard information includes: The preset standard information is subjected to feature extraction through a feature extraction model to determine the preset standard feature value.
8. The method according to claim 7, characterized in that Before extracting features from the preset standard information using a feature extraction model and determining the preset standard feature value, the method further includes: Training a convolutional neural network based on at least one preset business standard parameter to construct the feature extraction model; The preset service standard parameters are parameters determined based on the preset service type.
9. The method according to any one of claims 1 to 4, characterized in that After determining that the OTN device has a fault, the method further includes: The target printing information is displayed based on a graphic display mode and / or a list display mode.
10. An electronic device, characterized in that: include: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the fault location method as claimed in any one of claims 1 to 9.
11. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the fault location method according to any one of claims 1 to 9 is implemented.