Intelligent early warning method and device based on power data link
By setting up nodes on the power data link and tracking traffic data, generating monitoring reports and activating early warning modes, the problem of difficulty in discovering and locating problems in the power data link is solved, and real-time monitoring and rapid processing are achieved.
Patent Information
- Application Number
- CN202411025465.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing technologies, power data links are difficult to discover and locate due to their long length, complex logic, and dispersed deployment, making it difficult to achieve a comprehensive description and intuitive display of the data links.
Set up a first node and a second node on the data link to track traffic data. Compare the node data through the monitoring and comparison module, generate monitoring reports and analyze them. Start the early warning mode based on the analysis results.
It enables real-time monitoring of the power data link, allowing for timely detection and location of anomalies, thus improving the efficiency and accuracy of problem handling.
Smart Images

Figure CN118916235A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and a device for intelligent early warning based on a power data link. Background Art
[0002] With the advent of the big data era, the information world has spawned data that is difficult to measure. How to fully explore the value of this data has always been a hot topic in academic research. In addition to using machines to analyze and process this data, the role of people in data analysis cannot be ignored. In order to make full use of people's exploratory cognitive abilities to mine the information contained in the data, it is necessary to find a suitable way to present the data to people. Users should be able to participate in the data processing process through human-computer interaction, rather than just observing the results. When problems arise in the data processing process, algorithm engineers need to observe and analyze the data link, locate the problem, find out why the problem occurs, and even find the key to solving the problem.
[0003] Because the data passes through a long link, the processing logic of each link is complex, the implementation forms of each link are diverse, and the deployment is scattered. Therefore, on the one hand, when a problem occurs in a data processing link, it is difficult to discover and deal with it in time. On the other hand, when a problem is found in the data, it is difficult to locate the root cause of the data problem. It is necessary to solve the problem that due to the lack of comprehensive description and intuitive display of data links, problems are not easy to be discovered or located when data passes through multiple links, and it is difficult to analyze the scope of impact.
[0004] Therefore, it is necessary to design an intelligent early warning method and device based on power data link that can solve the above problems. Summary of the invention
[0005] Purpose of the invention: A method and device for intelligent early warning based on power data link to solve the above-mentioned problems existing in the prior art.
[0006] In order to solve the above technical problems, the present invention provides an intelligent early warning method based on a power data link, comprising:
[0007] A first node and a second node are arranged on a data link, and data transmitted on the data link passes through the first node and the second node in sequence;
[0008] By tracking the traffic data of the first node and the second node, the total input data quantity of the first node and the total output data quantity of the second node are obtained, and the total input data quantity of the first node and the total output data quantity of the second node are sent to the monitoring comparison module;
[0009] The monitoring comparison module compares the data output by the first node with the input data of the second node to obtain the unprocessed data and abnormal data of the second node, and generates a monitoring report;
[0010] Collecting and analyzing the monitoring reports;
[0011] A judgment is made based on the analyzed data of the monitoring report, and if the analyzed data of the monitoring report does not meet the standard, an early warning mode is activated.
[0012] As a preferred solution, if the monitoring comparison module compares the data output by the first node with the input data of the second node and the total output data quantity of the second node is obtained to be the same as the total input data quantity of the first node, no monitoring report is generated.
[0013] As a preferred solution, the flow data of the first node and the second node are tracked in an interval tracking manner.
[0014] As a preferred solution, the time interval for tracking the flow data of the first node and the second node is controlled by an independent time timer.
[0015] As a preferred solution, the monitoring report is stored in a local disk in the form of a log file.
[0016] As a preferred scheme, when analyzing the first node and the second node, the unprocessed data and abnormal data of the second node are compared with the set values of the unprocessed data and abnormal data. If any of the unprocessed data and abnormal data of the second node exceeds the set value, the early warning mode is activated.
[0017] As a preferred solution, the warning method is specifically a pop-up window method.
[0018] To achieve the above-mentioned purpose and other related purposes, the present invention also provides an intelligent early warning device based on power data link, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the above-mentioned method when executing the computer program.
[0019] Beneficial effects: The present invention relates to a method and device for intelligent early warning based on an electric power data link, which obtains the total input data quantity of the first node and the total output data quantity of the second node by tracking the flow data of the first node and the second node, and sends the total input data quantity of the first node and the total output data quantity of the second node to a monitoring comparison module; the monitoring comparison module compares the data output by the first node with the input data of the second node to obtain the unprocessed data and abnormal data of the second node, and generates a monitoring report; the monitoring report is collected and parsed; a judgment is made based on the data of the parsed monitoring report, and if the data of the parsed monitoring report does not meet the standard, the early warning mode is activated; the present intelligent early warning method can realize the monitoring of part of the data link, and can know the operating status of the first node and the second node in real time, and can timely and effectively locate the abnormality in the data link and quickly process it. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The present invention is a flowchart of a method for intelligent early warning based on power data link.
[0021] Figure 2 The present invention is a schematic structural diagram of an electronic device of an intelligent early warning device based on a power data link. DETAILED DESCRIPTION
[0022] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features well known in the art are not described.
[0023] The applicant has found that due to the long link that the data passes through, the processing logic of each link is complex, the implementation forms of each link are diverse, and the deployment is scattered. Therefore, on the one hand, when a problem occurs in a data processing link, it is difficult to discover and deal with it in time. On the other hand, when a problem is found in the data, it is difficult to locate the root cause of the data problem. It is necessary to solve the problem that due to the lack of a comprehensive description and intuitive display of the data link, problems are not easy to be discovered or located when the data passes through multiple links, and it is difficult to analyze the scope of impact.
[0024] To this end, the present invention provides an intelligent early warning method based on power data link, please refer to Figure 1 , the method includes:
[0025] A first node and a second node are arranged on a data link, and data transmitted on the data link passes through the first node and the second node in sequence;
[0026] By tracking the traffic data of the first node and the second node, the total input data quantity of the first node and the total output data quantity of the second node are obtained, and the total input data quantity of the first node and the total output data quantity of the second node are sent to the monitoring comparison module;
[0027] The monitoring comparison module compares the data output by the first node with the input data of the second node to obtain the unprocessed data and abnormal data of the second node, and generates a monitoring report;
[0028] Collecting and analyzing the monitoring reports;
[0029] A judgment is made based on the analyzed data of the monitoring report, and if the analyzed data of the monitoring report does not meet the standard, an early warning mode is activated.
[0030] Preferably, to avoid occupying too much storage space, if the monitoring comparison module compares the data output by the first node with the input data of the second node and the total output data quantity of the second node is obtained to be the same as the total input data quantity of the first node, no monitoring report is generated.
[0031] Preferably, in order to avoid frequent collection to occupy too much storage space, the flow data of the first node and the second node are tracked in an interval tracking manner.
[0032] Preferably, in order to avoid data tracking confusion caused by the user setting the time of the computer host, the interval time of tracking the flow data of the first node and the second node is controlled by an independent time timer, and the independent time timer control is not affected by the host time.
[0033] Furthermore, the monitoring report is stored in the local disk in the form of a log file, and the monitoring report can be found by searching the log file in the local disk, which is convenient for subsequent inspection. The advantage of this method is good compatibility and no code changes are required, only the log file needs to be monitored.
[0034] Furthermore, when analyzing the first node and the second node, the unprocessed data and abnormal data of the second node are compared with the set values of the unprocessed data and abnormal data. If any of the unprocessed data and abnormal data of the second node exceeds the set value, the early warning mode is activated; as an example, if the unprocessed data and abnormal data of the second node are 5 and 6 respectively, and the set values of the unprocessed data and abnormal data are 5 and 5 respectively, the early warning mode is activated.
[0035] Furthermore, the warning method is specifically a pop-up window. At the same time, there are many ways to warn, such as warning by SMS or email, WeChat message, QQ message, etc. The warning mode is usually completed by professional warning components, such as Prometheus AlertManager. The component provides rich functions such as warning deduplication and grouping. For example, for large-scale component warnings caused by network reasons, warning aggregation can be performed to prevent the warning recipients from being overwhelmed by a large amount of alarm information in a short period of time. At the same time, the server can also store the warning information and display it according to needs.
[0036] Preferably, in order to achieve the above-mentioned purpose and other related purposes, the present invention also provides an intelligent early warning device based on power data link, please refer to Figure 2 , including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the above method when executing the computer program. Exemplarily, the computer program can be divided into one or more modules, and the one or more modules are stored in the memory and executed by the processor to complete the present invention. The one or more modules can be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device. The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the physical examination item recommendation method described in each embodiment of the present invention.
[0037] It should also be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0038] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0039] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for intelligent early warning based on power data link, characterized in that: include: A first node and a second node are arranged on a data link, and data transmitted on the data link passes through the first node and the second node in sequence; By tracking the traffic data of the first node and the second node, the total input data quantity of the first node and the total output data quantity of the second node are obtained, and the total input data quantity of the first node and the total output data quantity of the second node are sent to the monitoring comparison module; The monitoring comparison module compares the data output by the first node with the input data of the second node to obtain the unprocessed data and abnormal data of the second node, and generates a monitoring report; Collecting and analyzing the monitoring reports; A judgment is made based on the data of the analyzed monitoring report, and if the data of the analyzed monitoring report does not meet the standard, an early warning mode is activated.
2. The method of intelligent early warning based on power data link according to claim 1 is characterized in that: If the monitoring comparison module compares the data output by the first node with the input data of the second node and obtains that the total output data quantity of the second node is the same as the total input data quantity of the first node, no monitoring report is generated.
3. The method of intelligent early warning based on power data link according to claim 1 is characterized in that: The flow data of the first node and the second node are tracked in an interval tracking manner.
4. The method of intelligent early warning based on power data link according to claim 3 is characterized in that: The time intervals for tracking the flow data of the first node and the second node are controlled by independent time timers.
5. The method of intelligent early warning based on power data link according to claim 1 is characterized in that: The monitoring report is stored in the local disk in the form of a log file.
6. The method of intelligent early warning based on power data link according to claim 1 is characterized in that: When analyzing the first node and the second node, the unprocessed data and abnormal data of the second node are compared with the set values of the unprocessed data and abnormal data. If any of the unprocessed data and abnormal data of the second node exceeds the set value, the early warning mode is activated.
7. The method of intelligent early warning based on power data link according to claim 1 is characterized in that: The specific method of early warning is a pop-up window.
8. An intelligent early warning device based on a power data link, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
