Device early warning method, device, device and readable storage medium
By using probability analysis algorithms in network equipment to identify alarm categories and send early warning information in advance, the problem of lag in fault alarms in the existing technology is solved, the equipment operation efficiency and maintenance difficulty are improved, and the equipment operation is ensured to the normal operation of the equipment.
Patent Information
- Application Number
- CN202210608882.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-05-31
AI Technical Summary
The fault alarm in the prior art is relatively lagging, which causes network equipment to fail to operate normally after the failure occurs, reducing work efficiency and increasing maintenance difficulty.
Based on the correspondence between the historical event information combination and the alarm information of the network device, the preset probability analysis algorithm is used to determine the target alarm category with the probability of alarm occurrence corresponding to the current event information combination being higher than the probability of alarm not occurring, and send an early alarm before the alarm occurs. Information, allowing staff to perform maintenance.
Identifying potential alarms in advance will improve the working efficiency of network equipment, reduce the difficulty of maintenance, and ensure the continuous and normal operation of the equipment.
Smart Images

Figure CN115001989B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network equipment management, and in particular to an equipment early warning method. The present invention also relates to an equipment early warning device, equipment and a computer-readable storage medium. Background Art
[0002] In today's Internet age, concepts such as big data and cloud computing emerge in an endless stream, and the high-speed dissemination and development of information have created brilliant results. In this process, servers, switches and other network devices, as carriers of information, also play an important role. When a fault occurs that may affect the normal operation of the system, the network equipment can generate alarm information according to the faults of different types and modules. The management system will issue an alarm after receiving the alarm signal so that the staff can handle the fault. However, the fault alarms in the existing technology are relatively delayed. When the alarm is issued after the fault occurs, the network equipment is usually unable to operate normally, which reduces the working efficiency of the network equipment and may increase the difficulty of maintenance.
[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0004] The purpose of the present invention is to provide an equipment early warning method. The present application can determine, based on the correspondence between each historical event information combination and the alarm information of the network device, through a preset probability analysis algorithm, a target alarm category in which the probability of alarm occurrence corresponding to the current event information combination is higher than the probability of alarm non-occurrence, indicating that the probability of alarm occurrence of this category is high, and the staff can perform maintenance according to the target alarm category before the alarm occurs, thereby improving the working efficiency of the network device and reducing the difficulty of maintenance; another purpose of the present invention is to provide an equipment early warning device, device and computer-readable storage medium. The present application can determine, based on the correspondence between each historical event information combination and the alarm information of the network device, through a preset probability analysis algorithm, a target alarm category in which the probability of alarm occurrence corresponding to the current event information combination is higher than the probability of alarm non-occurrence, indicating that the probability of alarm occurrence of this category is high, and the staff can perform maintenance according to the target alarm category before the alarm occurs, thereby improving the working efficiency of the network device and reducing the difficulty of maintenance.
[0005] In order to solve the above technical problems, the present invention provides a device early warning method, comprising:
[0006] Determine the combination of event information currently sent by the target network device;
[0007] Based on the preset correspondence between each historical event information combination and the alarm information of the target network device, determine the target alarm category for which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability through a preset probability analysis algorithm;
[0008] The warning information of the target warning category is sent in a preset form.
[0009] Preferably, the event information combination currently sent by the target network device is determined to be:
[0010] Receive basic alarm information currently sent by each network device;
[0011] Based on the basic alarm information, respectively parse the alarm information and event information of each of the network devices;
[0012] Send the warning information in a preset form;
[0013] A combination of event information of each of the network devices is determined based on the event information.
[0014] Preferably, after determining the event information combination currently sent by the target network device, and before determining the target alarm category whose alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability based on the preset correspondence between each historical event information combination and the alarm information of the target network device through a preset probability analysis algorithm, the device early warning method further includes:
[0015] Adding the event information combination to a message queue;
[0016] Then, based on the preset correspondence between each combination of historical event information of the target network device and the alarm information, the target alarm category for which the alarm occurrence probability corresponding to the current combination of event information is higher than the alarm non-occurrence probability is determined by a preset probability analysis algorithm is specifically:
[0017] At every preset period, obtaining the event information combination of each of the network devices in the message queue;
[0018] Based on the preset correspondence between each historical event information combination and the alarm information of the target network device, a target alarm category is determined by a preset probability analysis algorithm, in which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability.
[0019] Preferably, after respectively parsing the alarm information and event information of each of the network devices based on the basic alarm information, the device early warning method further comprises:
[0020] The control memory stores the alarm information and event information of each of the network devices for subsequent calling.
[0021] Preferably, based on the preset correspondence between each historical event information combination and the alarm information of the target network device, after determining through a preset probability analysis algorithm that the alarm occurrence probability corresponding to the current event information combination is higher than the target alarm category of the alarm non-occurrence probability, the device early warning method further includes:
[0022] The control memory stores the warning information of the target warning category for subsequent calling.
[0023] Preferably, the preset format is an email format.
[0024] Preferably, the preset probability analysis algorithm is a Naive Bayes algorithm.
[0025] In order to solve the above technical problems, the present invention also provides an equipment early warning device, comprising:
[0026] A determination module, used to determine the event information combination currently sent by the target network device;
[0027] A calculation module, for determining, based on a preset correspondence between each combination of historical event information of the target network device and the alarm information, a target alarm category for which the probability of alarm occurrence corresponding to the current combination of event information is higher than the probability of alarm non-occurrence through a preset probability analysis algorithm;
[0028] The warning module is used to send warning information of the target warning category in a preset form.
[0029] In order to solve the above technical problems, the present invention also provides an equipment early warning device, comprising:
[0030] Memory for storing computer programs;
[0031] A processor is used to implement the steps of the above-mentioned device early warning method when executing the computer program.
[0032] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned device early warning method are implemented.
[0033] The present invention provides an equipment early warning method, which takes into account the correlation between the event information combination of a network device and the alarm it generates, that is, the probability of a certain type of alarm occurring can be inferred through the event information. Therefore, in this application, after determining the event information combination currently sent by the network device, it is possible to determine, based on the correspondence between the historical event information combinations of the network device and the alarm information, through a preset probability analysis algorithm, the target alarm category in which the probability of the alarm occurring corresponding to the current event information combination is higher than the probability of the alarm not occurring, indicating that the probability of the occurrence of this category of alarm is high. Then, the early warning information can be sent, which is convenient for the staff to perform maintenance before the alarm occurs, thereby improving the working efficiency of the network equipment and reducing the difficulty of maintenance.
[0034] The present invention also provides an equipment early warning device, equipment and computer-readable storage medium, which have the same beneficial effects as the above equipment early warning method. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 A schematic diagram of a flow chart of a device early warning method provided by the present invention;
[0037] Figure 2 A schematic diagram of a flow chart of another device early warning method provided by the present invention;
[0038] Figure 3 A schematic diagram of the structure of an equipment early warning device provided by the present invention;
[0039] Figure 4 A structural schematic diagram of an equipment early warning device provided by the present invention. DETAILED DESCRIPTION
[0040] The core of the present invention is to provide an equipment early warning method. The present application can determine, based on the correspondence between each historical event information combination and the alarm information of the network device, through a preset probability analysis algorithm, the target alarm category in which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability, indicating that the probability of occurrence of this category of alarm is high, and the staff can perform maintenance according to the target alarm category before the alarm occurs, thereby improving the working efficiency of the network device and reducing the difficulty of maintenance; another core of the present invention is to provide an equipment early warning device, device and computer-readable storage medium. The present application can determine, based on the correspondence between each historical event information combination and the alarm information of the network device, through a preset probability analysis algorithm, the target alarm category in which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability, indicating that the probability of occurrence of this category of alarm is high, and the staff can perform maintenance according to the target alarm category before the alarm occurs, thereby improving the working efficiency of the network device and reducing the difficulty of maintenance.
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of a device early warning method provided by the present invention, the device early warning method comprising:
[0043] S101: Determine the event information combination currently sent by the target network device;
[0044] Specifically, taking into account the technical problems in the above background technology, and combining with the consideration that there is a correlation between the event information combination of a network device and the alarm it generates, by analyzing the event information combination that has occurred in the history of the network device and its corresponding alarm conditions, it is possible to find the connection between the event information of the network device and the alarm it may generate, which is beneficial for inferring the type of alarm that may occur currently based on the combination of event information currently sent by the target network device, and can issue an early warning for the inferred alarm type. Therefore, in an embodiment of the present invention, it is intended to predict the type of alarm that may occur through the current event information combination of the target network device. Therefore, in an embodiment of the present invention, the event information combination currently sent by the target network device can first be determined, so that it can be used as the data basis for early warning in subsequent steps.
[0045] It is worth mentioning that the embodiment of the present invention can be applied to the management system of network equipment, which can manage multiple network equipment at the same time. The number of network equipment here can be set independently according to the demand. The embodiment of the present invention is not limited here. Network equipment, as the node of the network, stores and processes 80% of the data and information on the network, and is also called the soul of the network. To make a vivid metaphor: these network equipment are like the switches of the post office, and the fixed or mobile network terminals such as microcomputers, notebooks, PDAs (Personal Digital Assistants, handheld computers), mobile phones, etc. are like telephones scattered in homes, various offices, public places, etc. Our daily life and work telephone exchanges and communications with the outside world must go through the switches to reach the target phone; similarly, network terminal equipment such as microcomputers in homes and enterprises to access the Internet, obtain information, communicate with the outside world, and entertain, etc., must also go through these network equipment. Therefore, it can also be said that network equipment "organizes" and "leads" these devices, and can also provide network users with centralized computing, information publishing and data management services. The high performance of network equipment such as servers and switches is mainly reflected in high-speed computing capabilities, long-term reliable operation, and strong external data throughput capabilities. The development of the times is inseparable from the Internet and the support of network equipment. Therefore, it is very important to ensure the normal operation of network equipment.
[0046] Among them, when a network device fails or some reasons cause the system to be in an abnormal working state, the system of the network device can generate alarm information according to the faults of different types and modules, and generate log information at the same time. These alarm information can be divided into: events and alarms according to their impact on the system. Events refer to key events recorded when the system is running normally, which generally have no effect on the system. Alarms refer to failures that may affect the normal operation of the system. Generally, the management platform will focus on processing the alarm information of the equipment. In fact, event-type alarms are also very important. In the existing technology, only when the alarm is generated will the relevant operation and maintenance personnel be notified for management. At that time, the network equipment is likely to be unable to operate normally, affecting the work efficiency of the network equipment and user experience.
[0047] Specifically, conventional means of monitoring network devices are divided into two types: active and passive:
[0048] Among them, active monitoring methods such as obtaining device data through protocols such as IPMI (Intelligent Platform Management Interface), REDFISH (a management standard based on HTTPs (Hyper Text Transfer Protocol over Secure Socket Layer) service, using RESTful interface to implement device management) or SNMP (Simple Network Management Protocol) and judging whether the device is currently in a healthy state through set thresholds. For example, the motherboard temperature of the device is obtained through IPMI commands. If it exceeds the set threshold, such as 30 degrees Celsius, an alarm message is sent to the monitoring personnel.
[0049] Among them, passive monitoring means generally use SNMP Trap (SNMP trap is a communication method specified by SNMP, which is used by managed devices to actively report their abnormal information to managers) to receive alarm information actively sent by the device side, thereby sending an alarm to the monitoring personnel. This method requires pre-configuration of the Trap trap host on the device side to specify the host that receives the alarm, which is generally set to the host where the monitoring platform is located. When an alarm message is generated on the device side, the BMC (Baseboard Management Controller) will actively push the Trap alarm to the monitoring platform.
[0050] S102: Based on the preset correspondence between each historical event information combination and the alarm information of the target network device, determine the target alarm category for which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability through a preset probability analysis algorithm;
[0051] Specifically, in the embodiment of the present invention, a correspondence between each combination of historical event information and alarm information of each network device is pre-set, that is, the status of each type of alarm under various combinations of event information of the network device. After the correspondence is established, the probability of occurrence of the alarm and the probability of non-occurrence of the alarm corresponding to the current event information combination can be determined through a preset probability analysis algorithm. Only when the probability of occurrence of the alarm is greater than the probability of non-occurrence of the alarm, is it considered that the corresponding type of alarm may occur. In this case, it is necessary to issue an early warning for this type of alarm so that the operation and maintenance personnel can inspect and repair this type of alarm in advance, thereby ensuring the continuous and normal operation of the network equipment and improving the user experience.
[0052] S103: Sending warning information of the target warning category in a preset form.
[0053] Specifically, after the target alarm categories are determined, it means that there is a possibility that these target alarm categories will occur. At this time, it is necessary to warn these target alarm categories. Therefore, in an embodiment of the present invention, warning information of the target alarm categories can be sent in a preset form so that operation and maintenance personnel can receive these warning information and take action as soon as possible.
[0054] The preset form can be flexibly set independently, and the embodiment of the present invention does not limit it here.
[0055] Specifically, the content included in the warning information may be "there is a risk of occurrence of the target alarm category", and on this basis, the probability of occurrence and the probability of non-occurrence of the target alarm category may also be included, which is not limited in the embodiment of the present invention.
[0056] The present invention provides an equipment early warning method, which takes into account the correlation between the event information combination of a network device and the alarm it generates, that is, the probability of a certain type of alarm occurring can be inferred through the event information. Therefore, in this application, after determining the event information combination currently sent by the network device, it is possible to determine, based on the correspondence between the historical event information combinations of the network device and the alarm information, through a preset probability analysis algorithm, the target alarm category in which the probability of the alarm occurring corresponding to the current event information combination is higher than the probability of the alarm not occurring, indicating that the probability of the occurrence of this category of alarm is high. Then, the early warning information can be sent, which is convenient for the staff to perform maintenance before the alarm occurs, thereby improving the working efficiency of the network equipment and reducing the difficulty of maintenance.
[0057] To better illustrate the embodiments of the present invention, please refer to Figure 2 , Figure 2 A flow chart of another device early warning method provided by the present invention is based on the above embodiment:
[0058] As a preferred embodiment, determining the event information combination currently sent by the target network device is specifically:
[0059] Receive basic alarm information currently sent by each network device;
[0060] Based on the basic alarm information, the alarm information and event information of each network device are analyzed respectively;
[0061] Send warning information in a preset form;
[0062] Based on the event information, a combination of event information of each network device is determined.
[0063] Specifically, Figure 2The alarm collection module is used to receive the basic alarm information currently sent by each network device, while the alarm analysis module is used to analyze the alarm information and event information of each network device based on the basic alarm information, and send the alarm information to the early warning module, and send the event information to the message queue. The early warning module is used to send the warning information received from the alarm analysis module and the calculation module to the target personnel in a preset form. The calculation module is used to determine the target alarm category whose alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability based on the correspondence between the preset historical event information combination and the alarm information of the target network device through a preset probability analysis algorithm. The database is used to store various types of data to facilitate data query by the staff.
[0064] Specifically, considering that when a network device fails or some reasons cause the system to be in an abnormal working state, the system can generate basic alarm information according to the failures of different types and modules. The event information and alarm information contained in these basic alarm information are mixed together, and the formats of the basic alarm information generated by network devices of different manufacturers are not uniform. Therefore, in order to uniformly identify the information sent by different network devices and to improve data processing efficiency, the embodiments of the present invention can parse out the alarm information and event information of each network device based on the basic alarm information. Considering here that the alarm information belongs to the alarm information that has occurred in the network device, there is no need to analyze this type of information, and the alarm information can be sent directly in a preset form so that operation and maintenance personnel can repair the equipment corresponding to the alarm information, thereby improving work efficiency. For the event information, the event information combination of each network device can be determined based on it, so that it can be used as the data basis for subsequent steps.
[0065] As a preferred embodiment, after determining the event information combination currently sent by the target network device, based on the preset correspondence between each historical event information combination and the alarm information of the target network device, before determining through a preset probability analysis algorithm that the alarm occurrence probability corresponding to the current event information combination is higher than the target alarm category of the alarm non-occurrence probability, the device early warning method further includes:
[0066] Add the event information combination to the message queue;
[0067] Based on the preset correspondence between each historical event information combination and the alarm information of the target network device, the target alarm category whose alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability is determined by a preset probability analysis algorithm:
[0068] At every preset period, obtain the event information combination of each network device in the message queue;
[0069] Based on the preset correspondence between historical event information combinations and alarm information of target network devices, a preset probability analysis algorithm is used to determine a target alarm category in which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability.
[0070] Specifically, considering the possibility that the event information sent by the network device may experience explosive growth, in this case it may cause the crash of the "related program for processing the current event information combination". In order to prevent this from happening, a message queue can be set in the embodiment of the present invention to perform peak shaving processing on the event information, that is, the message queue plays the role of a buffer pool here, and the event information combination can be temporarily stored in the message queue in turn, and the "related program for processing the current event information combination" can periodically call the event information combination in the message queue for use, thereby eliminating the harm caused by the explosive growth of event information.
[0071] The preset period may be set independently, for example, it may be set to 10 seconds, etc., and the embodiment of the present invention does not limit this.
[0072] As a preferred embodiment, after respectively parsing the alarm information and event information of each network device based on the basic alarm information, the device early warning method further includes:
[0073] The control memory stores the alarm information and event information of each network device for subsequent calling.
[0074] Specifically, considering that staff may need to call up historical alarm information and event information of network devices in the future, in an embodiment of the present invention, after parsing the alarm information and event information of each network device, the memory can be controlled to store the alarm information and event information of each network device so that they can be called up later, which is conducive to improving work efficiency.
[0075] The memory may be of various types, such as a solid state drive, etc., which is not limited in the embodiment of the present invention.
[0076] As a preferred embodiment, based on the correspondence between each historical event information combination and the alarm information of the preset target network device, after determining through a preset probability analysis algorithm that the alarm occurrence probability corresponding to the current event information combination is higher than the target alarm category of the alarm non-occurrence probability, the device early warning method further includes:
[0077] The control memory stores the warning information of the target alarm category for subsequent calling.
[0078] Specifically, considering that the staff may need to call and query the warning information at a later stage, in an embodiment of the present invention, after determining the target warning category, the memory may be controlled to store the warning information of the target warning category for subsequent calling.
[0079] The memory in the embodiment of the present invention may be of various types and may be independently set, and the embodiment of the present invention does not limit this.
[0080] As a preferred embodiment, the preset format is an email format.
[0081] Specifically, email is a function that is usually included in the system. Selecting this form to send warning information does not require system modification, thereby reducing costs.
[0082] Of course, in addition to the email format, the preset format may also be other types, such as a text message format, etc., which is not limited in the embodiment of the present invention.
[0083] As a preferred embodiment, the preset probability analysis algorithm is a Naive Bayes algorithm.
[0084] Specifically, the Naive Bayes model is a classification method based on the Bayesian theorem and the feature conditional independence hypothesis, and has the advantages of high computational efficiency and reliable calculation results.
[0085] Of course, in addition to the Naive Bayes algorithm, the preset probability analysis algorithm may also be of other types, which is not limited in the embodiment of the present invention.
[0086] Specifically, the Naive Bayes algorithm is as follows:
[0087] 1) Naive Bayes is a classification method based on Bayes’ theorem and the hypothesis of conditional independence of features. For a given training set, first, the joint probability distribution of input and output is learned based on the hypothesis of conditional independence of features (the mechanism of naive Bayes, which obtains the model through learning, obviously belongs to the generative model); then, based on this model, for a given input x, the output y with the maximum posterior probability is obtained using Bayes’ theorem.
[0088] There are the following concepts:
[0089] P(A) = probability of the event, event / all events of the device.
[0090] P(B) = probability of occurrence of a certain characteristic alarm, probability of occurrence of a certain alarm / all events.
[0091] P(B|A) = probability of a specific alarm appearing after an event occurs, number of specific alarms appearing after an event occurs / all events.
[0092] The independent variable C has several categories and the conditions depend on several feature variables. However, the problem is that if the dimension of the number of features n is large or each feature can take a large number of values, it becomes unrealistic to list the probability table based on the probability model. So we modify this model to make it feasible. According to the Bayesian formula, there is the following formula:
[0093] P(category|feature)=p(category|feature)*P(category) / P(feature);
[0094] 2) Count the events sent and alarms generated by the same device over a period of time in history to predict the alarm.
[0095] For example, the relationship between the port disconnection alarm and entity information change, neighbor state machine change, BGP (Border Gateway Protocol, Border Gateway Protocol) connection unchanged, and aggregation member selection state events within a period of time is shown in Table 1:
[0096] Table 1
[0097]
[0098]
[0099] According to the Naive Bayes algorithm, when the entity information changes, the neighbor status changes, the BGP connection does not change, and the aggregation status is selected, the probability of the port alarm is:
[0100] P(warning)=4 / 6;
[0101] P(entity change|alarm)=2 / 4;
[0102] P(neighbor change|alarm)=3 / 4;
[0103] P(BGP connection unchanged|alarm)=2 / 4;
[0104] P(aggregation selected|alarm)=3 / 4;
[0105] Then, according to P(alarm|entity changed, neighbor changed, BGP connection unchanged, aggregation selected)=P(entity changed, neighbor changed, BGP connection unchanged, aggregation selected|alarm)*P(alarm) / P(entity changed, neighbor changed, BGP connection unchanged, aggregation selected), the port disconnection alarm probability corresponding to the event combination is calculated, P(alarm|entity changed, neighbor changed, BGP connection unchanged, aggregation selected)=3 / 32;
[0106] Then, calculate the probability that the port does not generate an alarm when the entity information changes, the neighbor status changes, the BGP connection does not change, and the aggregation status is selected:
[0107] P(no alarm)=2 / 6;
[0108] P(entity changed|no alarm)=1 / 2;
[0109] P(neighbor changed|no alarm)=1 / 2;
[0110] P(BGP connection unchanged|no alarm)=1 / 2;
[0111] P(aggregation selected|no alarm)=1 / 2;
[0112] Then, according to P(no alarm|entity changed, neighbor changed, BGP connection unchanged, aggregation selected)=P(entity changed, neighbor changed, BGP connection unchanged, aggregation selected|no alarm)*P(no alarm) / P(entity changed, neighbor changed, BGP connection unchanged, aggregation selected), the probability of no port disconnection alarm corresponding to the event combination is calculated, P(no alarm|entity changed, neighbor changed, BGP connection unchanged, aggregation selected)=1 / 48;
[0113] It can be seen that the probability of an alarm occurring in this state is greater than the probability of no alarm, and a warning message should appear at this time.
[0114] Of course, whether other types of alarms of network devices should be warned can be calculated by referring to the above method, and the embodiments of the present invention will not be described in detail here.
[0115] In summary, the device early warning method provided by the present invention can warn the alarm message in advance and send it to the operation and maintenance personnel in time, so as to predict and solve the alarm that is about to occur in the equipment in advance and ensure the safety of the equipment. At the same time, when the equipment generates massive data, the device separates the alarm and the event in an analytical way to ensure that the alarm is sent to the operation and maintenance personnel in time, so that the operation and maintenance personnel can locate and analyze the root cause of the problem, speed up the fault resolution speed, and reduce the loss caused by equipment failure.
[0116] Please refer to Figure 3 , Figure 3 A schematic diagram of the structure of an equipment early warning device provided by the present invention, the equipment early warning device comprises:
[0117] A determination module 31, used to determine the event information combination currently sent by the target network device;
[0118] A calculation module 32, for determining a target alarm category for which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability, based on a preset correspondence relationship between each historical event information combination and the alarm information of the target network device, by a preset probability analysis algorithm;
[0119] The warning module 33 is used to send warning information of the target warning category in a preset form.
[0120] For an introduction to the equipment warning device provided in the embodiment of the present invention, please refer to the embodiment of the equipment warning method described above, and the embodiment of the present invention will not be described in detail here.
[0121] Please refer to Figure 4 , Figure 4 A schematic diagram of the structure of an equipment early warning device provided by the present invention, the equipment early warning device comprises:
[0122] A memory 41, used for storing computer programs;
[0123] The processor 42 is used to implement the steps of the device early warning method in the above-mentioned embodiment when executing the computer program.
[0124] For an introduction to the equipment warning device provided in the embodiment of the present invention, please refer to the embodiment of the aforementioned equipment warning method, and the embodiment of the present invention will not be described in detail here.
[0125] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the device early warning method in the aforementioned embodiment are implemented.
[0126] For an introduction to the computer-readable storage medium provided in an embodiment of the present invention, please refer to the aforementioned embodiment of the device early warning method, and the embodiment of the present invention will not be described in detail here.
[0127] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts refer to the method part description. It should also be noted that in this specification, the term "includes", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the element.
[0128] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A device early warning method, characterized in that: include: Determine the combination of event information currently sent by the target network device; Based on the preset correspondence between each historical event information combination and the alarm information of the target network device, determine the target alarm category for which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability through a preset probability analysis algorithm; Sending warning information of the target warning category in a preset form; The event information combination currently sent by the target network device is specifically determined as follows: Receive basic alarm information currently sent by each network device; Based on the basic alarm information, respectively parse the alarm information and event information of each of the network devices; Send the warning information in a preset form; A combination of event information of each of the network devices is determined based on the event information.
2. The equipment early warning method according to claim 1, characterized in that: After determining the event information combination currently sent by the target network device, and before determining the target alarm category for which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability based on the preset correspondence between each historical event information combination and the alarm information of the target network device through a preset probability analysis algorithm, the device early warning method further includes: Adding the event information combination to a message queue; Then, based on the preset correspondence between each combination of historical event information of the target network device and the alarm information, the target alarm category for which the alarm occurrence probability corresponding to the current combination of event information is higher than the alarm non-occurrence probability is determined by a preset probability analysis algorithm is specifically: At every preset period, obtaining the event information combination of each of the network devices in the message queue; Based on the preset correspondence between each historical event information combination and the alarm information of the target network device, a target alarm category is determined by a preset probability analysis algorithm, in which the alarm occurrence probability corresponding to the current event information combination is higher than the alarm non-occurrence probability.
3. The equipment early warning method according to claim 1, characterized in that: After respectively parsing the alarm information and event information of each of the network devices based on the basic alarm information, the device early warning method further includes: The control memory stores the alarm information and event information of each of the network devices for subsequent calling.
4. The equipment early warning method according to claim 1, characterized in that: After determining, based on the preset correspondence between each combination of historical event information of the target network device and the alarm information, through a preset probability analysis algorithm, that the alarm occurrence probability corresponding to the current combination of event information is higher than the alarm non-occurrence probability of the target alarm category, the device early warning method further includes: The control memory stores the warning information of the target warning category for subsequent calling.
5. The equipment early warning method according to claim 1, characterized in that: The preset format is an email format.
6. The equipment early warning method according to any one of claims 1 to 5, characterized in that: The preset probability analysis algorithm is the Naive Bayes algorithm.
7. An equipment early warning device, characterized in that: include: A determination module, used to determine the event information combination currently sent by the target network device; A calculation module, for determining, based on a preset correspondence between each combination of historical event information of the target network device and the alarm information, a target alarm category for which the probability of alarm occurrence corresponding to the current combination of event information is higher than the probability of alarm non-occurrence through a preset probability analysis algorithm; An early warning module, used for sending early warning information of the target alarm category in a preset form; The event information combination currently sent by the target network device is specifically determined as follows: Receive basic alarm information currently sent by each network device; Based on the basic alarm information, respectively parse the alarm information and event information of each of the network devices; Sending the warning information in a preset form; A combination of event information of each of the network devices is determined based on the event information.
8. An equipment early warning device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the device early warning method as described in any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the device early warning method according to any one of claims 1 to 6 are implemented.
