Network anomaly detection method and device, computer equipment and storage medium
By receiving abnormal user signals and determining the number of abnormal users in the network branch, network faults in the low-voltage distribution station area are quickly identified, which solves the problem of difficulty in troubleshooting in the low-voltage distribution station area, improves troubleshooting efficiency and reduces costs.
Patent Information
- Application Number
- CN202410760537.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-01
AI Technical Summary
It is difficult to troubleshoot faults in low-voltage distribution stations, resulting in power outages that cannot be solved in time, and it is difficult to quickly determine the cause and location of the fault with existing technology.
By receiving user abnormal signals, the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected is determined, and network anomaly detection is performed based on the number of abnormal users to quickly identify faulty branches and fault locations.
It realizes rapid abnormality inspection of low-voltage distribution station network, reduces manpower and time costs, and improves troubleshooting efficiency.
Smart Images

Figure CN118740689A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of signal analysis, and in particular to a network anomaly detection method, apparatus, computer equipment and storage medium. Background Art
[0002] With the development of society and the continuous improvement of living standards, people have put forward higher requirements for power supply reliability and power supply service level, and the intelligence level of distribution network needs to be further improved.
[0003] Especially for low-voltage distribution substations, which are at the end of the entire distribution network, they are characterized by being numerous and widespread, with a complex power supply and use environment, and difficult operation and maintenance. Once a power outage occurs in the low-voltage distribution substation, repair personnel will not be able to effectively investigate the cause and location of the fault in a timely and effective manner. Summary of the invention
[0004] Based on this, it is necessary to provide a network anomaly detection method, device, computer equipment and storage medium that can timely determine the cause and location of the failure of the network topology structure to be detected in order to address the above technical problems.
[0005] In a first aspect, the present application provides a network anomaly detection method. The method comprises:
[0006] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0007] According to the abnormal user signal, determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected;
[0008] According to the number of abnormal users included in each of the network branches to be detected, network anomaly detection is performed on the network topology structure to be detected to obtain a network anomaly detection result.
[0009] In one embodiment, the network anomaly detection is performed on the network topology structure to be detected according to the number of abnormal users included in each of the network branches to be detected to obtain a network anomaly detection result, including:
[0010] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as the network anomaly detection result.
[0011] In one embodiment, the network anomaly detection is performed on the network topology structure to be detected according to the number of abnormal users included in each of the network branches to be detected to obtain a network anomaly detection result, including:
[0012] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
[0013] In one embodiment, the method further comprises:
[0014] Receiving a network branch line abnormality signal corresponding to the network topology structure to be detected;
[0015] Determine the abnormal network branch corresponding to the abnormal network branch signal from each of the network branches to be detected;
[0016] The abnormal network branch is added to the network anomaly detection result.
[0017] In one embodiment, the process of determining the network topology to be detected includes:
[0018] Sending characteristic current signals to at least one network line to be detected in sequence;
[0019] Receiving a target current signal obtained after each characteristic current signal flows through the corresponding network line to be detected;
[0020] A network structure analysis is performed on each of the network lines to be detected according to the target current signal to obtain a topological structure of the network to be detected.
[0021] In one embodiment, performing network structure analysis on each of the to-be-detected network lines according to the target current signal to obtain the to-be-detected network topology structure includes:
[0022] Performing topological relationship analysis on each of the network lines to be detected according to the signal parameters of the target current signal to obtain a network topological relationship corresponding to each of the network lines to be detected;
[0023] The network topology structure to be detected is generated according to the network topology relationship corresponding to each of the network lines to be detected.
[0024] In a second aspect, the present application also provides a network anomaly detection device. The device comprises:
[0025] A receiving module, used for receiving a user abnormal signal corresponding to the network topology structure to be detected;
[0026] A determination module, configured to determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected according to the user abnormal signal;
[0027] The detection module is used to perform network anomaly detection on the network topology structure to be detected according to the number of abnormal users included in each of the network branches to be detected, and obtain a network anomaly detection result.
[0028] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0029] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0030] According to the abnormal user signal, determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected;
[0031] According to the number of abnormal users included in each of the network branches to be detected, network anomaly detection is performed on the network topology structure to be detected to obtain a network anomaly detection result.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0033] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0034] According to the abnormal user signal, determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected;
[0035] According to the number of abnormal users included in each of the network branches to be detected, network anomaly detection is performed on the network topology structure to be detected to obtain a network anomaly detection result.
[0036] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0037] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0038] According to the abnormal user signal, determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected;
[0039] According to the number of abnormal users included in each of the network branches to be detected, network anomaly detection is performed on the network topology structure to be detected to obtain a network anomaly detection result.
[0040] The above-mentioned network anomaly detection method, device, computer equipment and storage medium receive user anomaly signals corresponding to the network topology structure to be detected; and, according to the user anomaly signals, determine the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected; and then, according to the number of abnormal users contained in each network branch to be detected, perform network anomaly detection on the network topology structure to be detected to obtain a network anomaly detection result. According to the above content, when the present application performs anomaly detection on the network topology structure to be detected, there is no need for power grid repair personnel to investigate the abnormal causes of the network topology structure to be detected based on their own repair experience and on-site conditions. Instead, according to the pre-received user anomaly signals, determine the number of abnormal users contained in each network branch to be detected, and perform network anomaly detection on the network topology structure to be detected based on the number of abnormal users contained in each network branch to be detected, thereby realizing rapid anomaly inspection for the network topology structure to be detected, ensuring the efficiency of anomaly detection of the network topology structure to be detected, and reducing the manpower cost and time cost required for anomaly detection of the network topology structure to be detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 An application environment diagram of a network anomaly detection method provided in an embodiment of the present application;
[0042] Figure 2 A flowchart of a first network anomaly detection method provided in an embodiment of the present application;
[0043] Figure 3 A flowchart of a second network anomaly detection method provided in an embodiment of the present application;
[0044] Figure 4 A flowchart of a third network anomaly detection method provided in an embodiment of the present application;
[0045] Figure 5 A flowchart of a fourth network anomaly detection method provided in an embodiment of the present application;
[0046] Figure 6 A schematic diagram of a terminal for executing a network anomaly detection method is provided for an embodiment of the present application;
[0047] Figure 7 A schematic diagram of an electric energy meter provided in an embodiment of the present application;
[0048] Figure 8 A schematic diagram of a monitoring terminal provided in an embodiment of the present application;
[0049] Fig. 9 A structural block diagram of a first network anomaly detection device provided in an embodiment of the present application;
[0050] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the description of the present application, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms is not necessarily for the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.
[0053] The network anomaly detection method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By receiving the user abnormal signal corresponding to the network topology to be detected; and according to the user abnormal signal, the number of abnormal users contained in each network branch to be detected in the network topology to be detected is determined; then, according to the number of abnormal users contained in each network branch to be detected, the network topology to be detected is subjected to network abnormality detection to obtain the network abnormality detection result. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0054] In one embodiment, Figure 2 As shown, a network anomaly detection method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0055] S201, receiving a user abnormality signal corresponding to a network topology structure to be detected.
[0056] The user abnormal signal refers to a signal used to characterize an abnormal situation that occurs during the user's electricity use process. The abnormal situation may include but is not limited to: power outage, voltage instability, etc.
[0057] It should be noted that in order to ensure that user abnormality signals can be received, it is necessary to set up a user detection device for each user included in the network topology structure to be detected. The user detection device can send a user abnormality signal to the terminal executing the network abnormality detection method when an abnormal situation occurs in the user's electricity usage process.
[0058] As an example, the user detection device can be an electric energy meter. Specifically, an electric energy meter can be pre-set at the user at the end of the line of the network topology structure to be detected. The electric energy meter can send a user abnormality signal to the terminal executing the network anomaly detection method when it detects that an abnormality occurs in the user's electricity usage process.
[0059] S202: Determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected according to the abnormal user signal.
[0060] It should be noted that when it is necessary to determine the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected, the user where the abnormal situation occurs can be determined based on the user identifier carried in the user abnormal signal, and then, based on the position corresponding to the user where the abnormal situation occurs in the network topology structure to be detected, the network branch to be detected to which the user where the abnormal situation occurs belongs can be determined, and then, based on the situation that each network branch to be detected contains users with abnormal situations, the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected is determined.
[0061] The network topology structure to be detected includes at least one network branch to be detected, and each network branch to be detected includes at least one candidate user.
[0062] To further explain, if the user abnormality signal carries not only the user identifier, but also the branch identifier of the network branch to be detected to which the user where the abnormal situation occurs belongs, then after receiving the user abnormality signal corresponding to the network topology structure to be detected, the branch identifiers carried in the user abnormality signal are counted, and then the number of times each branch identifier appears is used as the number of abnormal users contained in each network branch to be detected corresponding to the branch identifier.
[0063] S203, performing network anomaly detection on the network topology to be detected according to the number of abnormal users included in each network branch to be detected, and obtaining a network anomaly detection result.
[0064] In one embodiment of the present application, in order to ensure that network anomaly detection can be performed more accurately on the network topology to be detected, it is necessary to evaluate the anomaly of each network branch to be detected in the network topology to be detected, and the anomaly of the network branch to be detected can be reflected by the number of users with abnormal conditions included in the network branch to be detected. However, there may be two situations that lead to abnormal conditions in the candidate users included in the network branch to be detected. One is that an abnormality occurs in the network branch to be detected, resulting in a large number of power outages and other abnormal conditions for the candidate users included in the network branch to be detected. The other is that no abnormality occurs in the network branch to be detected, but individual candidate users in the network branch to be detected experience power outages and other abnormal conditions. Therefore, when evaluating the anomaly of each network branch to be detected in the network topology to be detected, the anomaly of the network branch to be detected can be judged first, and then the network anomaly detection result can be determined according to different abnormal conditions.
[0065] The above-mentioned network anomaly detection method receives the user abnormality signal corresponding to the network topology structure to be detected; and, according to the user abnormality signal, determines the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected; and then, according to the number of abnormal users contained in each network branch to be detected, performs network anomaly detection on the network topology structure to be detected, and obtains the network anomaly detection result. According to the above content, when the present application performs anomaly detection on the network topology structure to be detected, there is no need for the power grid repair personnel to investigate the abnormal causes of the network topology structure to be detected based on their own repair experience and on-site conditions. Instead, according to the pre-received user abnormality signal, the number of abnormal users contained in each network branch to be detected is determined, and the network anomaly detection is performed on the network topology structure to be detected based on the number of abnormal users contained in each network branch to be detected, thereby realizing rapid anomaly inspection for the network topology structure to be detected, ensuring the efficiency of anomaly detection of the network topology structure to be detected, and reducing the manpower cost and time cost required for anomaly detection of the network topology structure to be detected.
[0066] In one embodiment, when it is necessary to perform network anomaly detection on the network topology to be detected based on the number of abnormal users contained in each network branch to be detected and obtain a network anomaly detection result, a quantity threshold can be determined in advance, and then based on the relationship between the number of abnormal users contained in each network branch to be detected and the quantity threshold, network anomaly detection can be performed on the network topology to be detected and the network anomaly detection result can be obtained.
[0067] Specifically, for each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as a network anomaly detection result.
[0068] Furthermore, for each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
[0069] For example, if there are two network branches to be detected, the two network branches to be detected are network branch A to be detected and network branch B to be detected, wherein the number of abnormal users contained in network branch A to be detected is 5; the number of abnormal users contained in network branch B to be detected is 20; however, the pre-set number threshold is 15, then it is determined that the number of abnormal users contained in network branch A to be detected is not greater than the number threshold, therefore, the abnormal user corresponding to the abnormal user signal in the detection network branch A is used as the network anomaly detection result. Further, it can be determined that the number of abnormal users contained in network branch B to be detected is greater than the pre-set number threshold, and network branch B to be detected is used as an abnormal network branch, and the abnormal network branch is used as the network anomaly detection result.
[0070] The value range of the quantity threshold may be set or adjusted according to actual conditions, and the value range of the quantity threshold is not limited here.
[0071] The above-mentioned network anomaly detection method reflects the abnormal situation of the network branch to be detected by the number of users who have abnormal situations in the network branch to be detected, realizes network anomaly detection on the network topology to be detected, obtains network anomaly detection results, realizes rapid anomaly inspection of the network topology to be detected, ensures the anomaly detection efficiency of the network topology to be detected, and reduces the manpower cost and time cost required for anomaly detection of the network topology to be detected.
[0072] In one embodiment, if Figure 3 As shown, when it is necessary to determine the network anomaly detection result, the following contents may also be included:
[0073] S301, receiving a network branch line abnormality signal corresponding to a network topology structure to be detected.
[0074] The network branch abnormality signal refers to a signal used to indicate whether an abnormality occurs in the network branch to be detected;
[0075] It should be noted that in order to ensure that the network branch abnormality signal can be received, it is necessary to set up a network detection device at each network branch to be detected in the network topology structure to be detected. The user detection device can be set on the outlet side of the network branch switch to be detected, so that when an abnormal situation occurs in the power consumption process of the network branch to be detected, the network branch abnormality signal is sent to the terminal executing the network abnormality detection method.
[0076] As an example, the user detection device can be a monitoring terminal. Specifically, a monitoring terminal can be pre-set at each network branch to be detected in the network topology structure to be detected. The monitoring terminal can send a network branch abnormality signal to a terminal that executes a network abnormality detection method when an abnormal situation occurs in the power consumption process of the network branch to be detected.
[0077] S302, determining the abnormal network branch corresponding to the network branch abnormal signal from each network branch to be detected.
[0078] It should be noted that after receiving the network branch abnormality signal, the branch identifier contained in the network branch abnormality signal can be extracted. The branch identifier is used to characterize the network branch to be detected where the abnormal situation occurs. Then, based on the branch identifier, the abnormal network branch corresponding to the network branch abnormality signal is determined from each network branch to be detected.
[0079] In one embodiment of the present application, after determining the branch identifier contained in the network branch abnormal signal, the branch representation can be matched and verified with each network branch to be detected. If a network branch to be detected matches the branch identifier contained in the network branch abnormal signal, the network branch to be detected is treated as an abnormal network branch.
[0080] S303, adding the abnormal network branch to the network anomaly detection result.
[0081] The above-mentioned network anomaly detection method, by receiving the network branch abnormality signal corresponding to the network topology structure to be detected, can realize the rapid determination of the abnormal network branch corresponding to the network branch abnormality signal from each network branch to be detected, thereby realizing the rapid anomaly inspection of the network topology structure to be detected, ensuring the anomaly detection efficiency of the network topology structure to be detected, and reducing the manpower cost and time cost required for anomaly detection of the network topology structure to be detected.
[0082] In one embodiment, if Figure 4 As shown, the process of determining the network topology to be detected may specifically include the following contents:
[0083] S401, sending characteristic current signals to at least one network line to be detected in sequence.
[0084] In one embodiment of the present application, an electric energy meter can be pre-installed at a user at the end of the line of the network topology structure to be detected, and a signal sending command can be sent to each electric energy meter so that each electric energy meter sends a characteristic current signal to at least one network line to be detected in turn.
[0085] S402, receiving a target current signal obtained after each characteristic current signal flows through a corresponding network line to be detected.
[0086] In one embodiment of the present application, a monitoring terminal may be pre-installed at each network branch to be detected in the network topology structure to be detected, and a target current signal obtained by receiving each characteristic current signal flowing through the corresponding network line to be detected is received by the monitoring terminal.
[0087] S403, performing network structure analysis on each network line to be detected according to the target current signal to obtain a topological structure of the network to be detected.
[0088] It should be noted that in order to ensure that the network topology structure to be detected can be smoothly constructed in the subsequent process, it is necessary to determine the direct network topology relationship of each network line to be detected, and then construct the network topology structure to be detected based on the network topology relationship; specifically, when it is necessary to perform network structure analysis on each network line to be detected based on the target current signal, the topological relationship of each network line to be detected can be analyzed based on the signal parameters of the target current signal to obtain the network topology relationship corresponding to each network line to be detected; based on the network topology relationship corresponding to each network line to be detected, the network topology structure to be detected is generated.
[0089] In one embodiment of the present application, when it is necessary to obtain the network topology structure to be detected, the monitoring terminal that receives the target current signal can send the signal parameters of the target current signal to the terminal that executes the network anomaly detection method, so that the terminal that executes the network anomaly detection method performs topological relationship analysis on each network line to be detected according to the signal parameters of the target current signal, and obtains the network topology relationship corresponding to each network line to be detected, and then, based on the network topology relationship corresponding to each network line to be detected, generates the network topology structure to be detected.
[0090] The network topology relationship refers to the sequential relationship from the transformer to the network branch to be detected and then to the electric energy meter.
[0091] The above-mentioned network anomaly detection method receives the target current signal obtained after each characteristic current signal flows through the corresponding network line to be detected, so as to perform network structure analysis on each network line to be detected according to the target current signal, and obtain the topological structure of the network to be detected, thereby providing a data basis for subsequent network anomaly detection of the network topological structure to be detected.
[0092] In one embodiment, Figure 5 As shown, when it is necessary to perform network anomaly detection on the network topology to be detected, the following contents may be specifically included:
[0093] S501, sending characteristic current signals to at least one network line to be detected in sequence.
[0094] S502, receiving a target current signal obtained after each characteristic current signal flows through a corresponding network line to be detected.
[0095] S503 , performing topological relationship analysis on each to-be-detected network line according to the signal parameters of the target current signal, and obtaining the network topological relationship corresponding to each to-be-detected network line.
[0096] S504: Generate a network topology structure to be detected according to the network topology relationship corresponding to each network line to be detected.
[0097] S505: Receive a user abnormality signal corresponding to the network topology structure to be detected.
[0098] S506: Determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected according to the abnormal user signal.
[0099] S507, performing network anomaly detection on the network topology to be detected according to the number of abnormal users included in each network branch to be detected, and obtaining a network anomaly detection result.
[0100] S508, receiving a network branch line abnormality signal corresponding to the network topology structure to be detected.
[0101] S509, determining the abnormal network branch corresponding to the network branch abnormal signal from the network branches to be detected.
[0102] S510, adding the abnormal network branch to the network anomaly detection result.
[0103] In one embodiment, a terminal executing the network anomaly detection method may be as follows: Figure 6 As shown, the terminal includes a main control unit, a routing module, a power outage identification module and a backup power supply module. The main control unit receives data from the power outage identification module and the routing module, analyzes the data, obtains the network topology to be detected, performs network anomaly detection on the network topology to be detected, obtains the network anomaly detection result, and reports the network anomaly detection result to the main station system. The power outage identification module mainly monitors the power supply status of the power line. In addition to realizing data collection of the monitoring terminal (including the signal parameters of the target current signal) and the electric energy meter, the routing module also receives the user abnormality signal and the network branch abnormality signal actively reported by the monitoring terminal and the electric energy meter. After the main power supply (power supply line) is out of power, the backup power supply module provides working power to the main control unit, the routing module, and the power outage identification module.
[0104] The energy meter installed at the end of the line of the network topology to be tested, such as Figure 7 As shown, it includes a main control unit and an HPLC module. The main control unit mainly realizes the power metering and external data exchange for users. The HPLC module sends a command to inject a characteristic current signal into the network line to be detected according to the signal sent by the terminal executing the network anomaly detection method, and has a super capacitor as a backup power supply, and actively reports a power outage signal when a power outage occurs.
[0105] The monitoring terminal installed at each branch of the network to be detected in the network topology structure to be detected is as follows: Figure 8 As shown, it includes a topology identification module, a main control unit and an HPLC module. The topology identification module monitors and collects the target current signal on the branch outgoing line. The main control unit obtains the signal parameters of the target current signal in the topology identification module and exchanges them with the terminal that executes the network anomaly detection method. The HPLC module sends a command to inject a characteristic current signal into the network line to be detected according to the signal sent by the terminal that executes the network anomaly detection method, and has a super capacitor as a backup power supply, which actively reports a power outage signal when a power outage occurs.
[0106] The above-mentioned network anomaly detection method receives the user abnormality signal corresponding to the network topology structure to be detected; and, according to the user abnormality signal, determines the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected; and then, according to the number of abnormal users contained in each network branch to be detected, performs network anomaly detection on the network topology structure to be detected, and obtains the network anomaly detection result. According to the above content, when the present application performs anomaly detection on the network topology structure to be detected, there is no need for the power grid repair personnel to investigate the abnormal causes of the network topology structure to be detected based on their own repair experience and on-site conditions. Instead, according to the pre-received user abnormality signal, the number of abnormal users contained in each network branch to be detected is determined, and the network anomaly detection is performed on the network topology structure to be detected based on the number of abnormal users contained in each network branch to be detected, thereby realizing rapid anomaly inspection for the network topology structure to be detected, ensuring the efficiency of anomaly detection of the network topology structure to be detected, and reducing the manpower cost and time cost required for anomaly detection of the network topology structure to be detected.
[0107] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0108] Based on the same inventive concept, the embodiment of the present application also provides a network anomaly detection device for implementing the network anomaly detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more network anomaly detection device embodiments provided below can refer to the limitations of the network anomaly detection method above, and will not be repeated here.
[0109] In one embodiment, Fig. 9 As shown, a network anomaly detection device is provided, comprising: a receiving module 10, a determining module 20 and a detecting module 30, wherein:
[0110] The receiving module 10 is used to receive a user abnormality signal corresponding to the network topology structure to be detected.
[0111] The determination module 20 is used to determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected according to the user abnormality signal.
[0112] The detection module 30 is used to perform network anomaly detection on the network topology to be detected according to the number of abnormal users included in each network branch to be detected, and obtain a network anomaly detection result.
[0113] In one embodiment, for each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as a network anomaly detection result.
[0114] In one embodiment, for each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
[0115] In one embodiment, a network branch abnormality signal corresponding to a network topology structure to be detected is received; an abnormal network branch corresponding to the network branch abnormality signal is determined from each network branch to be detected; and the abnormal network branch is added to a network abnormality detection result.
[0116] In one embodiment, characteristic current signals are sent to at least one network line to be detected in sequence; target current signals are received after each characteristic current signal flows through the corresponding network line to be detected; and network structure analysis is performed on each network line to be detected based on the target current signal to obtain a topological structure of the network to be detected.
[0117] In one embodiment, the topological relationship of each network line to be detected is analyzed according to the signal parameters of the target current signal to obtain the network topological relationship corresponding to each network line to be detected; and the network topological structure to be detected is generated according to the network topological relationship corresponding to each network line to be detected.
[0118] The above-mentioned network anomaly detection device receives user anomaly signals corresponding to the network topology structure to be detected; and, based on the user anomaly signals, determines the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected; and then, based on the number of abnormal users contained in each network branch to be detected, performs network anomaly detection on the network topology structure to be detected to obtain a network anomaly detection result. According to the above content, when the present application performs anomaly detection on the network topology structure to be detected, there is no need for power grid repair personnel to investigate the abnormal causes of the network topology structure to be detected based on their own repair experience and on-site conditions. Instead, the application determines the number of abnormal users contained in each network branch to be detected based on the pre-received user anomaly signals, and performs network anomaly detection on the network topology structure to be detected based on the number of abnormal users contained in each network branch to be detected, thereby realizing rapid anomaly inspection of the network topology structure to be detected, ensuring the efficiency of anomaly detection of the network topology structure to be detected, and reducing the manpower cost and time cost required for anomaly detection of the network topology structure to be detected.
[0119] Each module in the above network anomaly detection device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0120] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a network anomaly detection method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0121] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0122] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0123] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0124] According to the abnormal user signal, determine the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected;
[0125] According to the number of abnormal users included in each network branch to be detected, network anomaly detection is performed on the network topology to be detected to obtain a network anomaly detection result.
[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0127] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as a network anomaly detection result.
[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0129] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0131] Receive a network branch line abnormality signal corresponding to the network topology structure to be detected;
[0132] Determine the abnormal network branch corresponding to the abnormal network branch signal from each network branch to be detected;
[0133] Add abnormal network branches to the network anomaly detection results.
[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0135] Sending characteristic current signals to at least one network line to be detected in sequence;
[0136] Receive a target current signal obtained after each characteristic current signal flows through a corresponding network line to be detected;
[0137] The network structure of each network line to be detected is analyzed according to the target current signal to obtain the topological structure of the network to be detected.
[0138] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0139] Perform topological relationship analysis on each network line to be detected according to the signal parameters of the target current signal to obtain the network topological relationship corresponding to each network line to be detected;
[0140] According to the network topology relationship corresponding to each network line to be detected, a network topology structure to be detected is generated.
[0141] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0142] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0143] According to the abnormal user signal, determine the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected;
[0144] According to the number of abnormal users included in each network branch to be detected, network anomaly detection is performed on the network topology to be detected to obtain a network anomaly detection result.
[0145] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0146] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as a network anomaly detection result.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0148] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
[0149] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0150] Receive a network branch line abnormality signal corresponding to the network topology structure to be detected;
[0151] Determine the abnormal network branch corresponding to the abnormal network branch signal from each network branch to be detected;
[0152] Add abnormal network branches to the network anomaly detection results.
[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0154] Sending characteristic current signals to at least one network line to be detected in sequence;
[0155] Receive a target current signal obtained after each characteristic current signal flows through a corresponding network line to be detected;
[0156] The network structure of each network line to be detected is analyzed according to the target current signal to obtain the topological structure of the network to be detected.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0158] Perform topological relationship analysis on each network line to be detected according to the signal parameters of the target current signal to obtain the network topological relationship corresponding to each network line to be detected;
[0159] According to the network topology relationship corresponding to each network line to be detected, a network topology structure to be detected is generated.
[0160] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0161] Receiving a user abnormal signal corresponding to the network topology to be detected;
[0162] According to the abnormal user signal, determine the number of abnormal users contained in each network branch to be detected in the network topology structure to be detected;
[0163] According to the number of abnormal users included in each network branch to be detected, network anomaly detection is performed on the network topology to be detected to obtain a network anomaly detection result.
[0164] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0165] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as a network anomaly detection result.
[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0167] For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] Receive a network branch line abnormality signal corresponding to the network topology structure to be detected;
[0170] Determine the abnormal network branch corresponding to the abnormal network branch signal from each network branch to be detected;
[0171] Add abnormal network branches to the network anomaly detection results.
[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0173] Sending characteristic current signals to at least one network line to be detected in sequence;
[0174] Receive a target current signal obtained after each characteristic current signal flows through a corresponding network line to be detected;
[0175] The network structure of each network line to be detected is analyzed according to the target current signal to obtain the topological structure of the network to be detected.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] Perform topological relationship analysis on each network line to be detected according to the signal parameters of the target current signal to obtain the network topological relationship corresponding to each network line to be detected;
[0178] According to the network topology relationship corresponding to each network line to be detected, a network topology structure to be detected is generated.
[0179] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0180] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0181] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0182] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A network anomaly detection method, It is characterized in that The method comprises: Receiving a user abnormal signal corresponding to the network topology to be detected; According to the abnormal user signal, determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected; According to the number of abnormal users included in each of the network branches to be detected, network anomaly detection is performed on the network topology structure to be detected to obtain a network anomaly detection result.
2. The method according to claim 1, It is characterized in that The performing network anomaly detection on the network topology structure to be detected according to the number of abnormal users included in each of the network branches to be detected to obtain a network anomaly detection result includes: For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is greater than a preset number threshold, the network branch to be detected is regarded as an abnormal network branch, and the abnormal network branch is used as the network anomaly detection result.
3. The method according to claim 1, It is characterized in that The performing network anomaly detection on the network topology structure to be detected according to the number of abnormal users included in each of the network branches to be detected to obtain a network anomaly detection result includes: For each network branch to be detected, if the number of abnormal users included in the network branch to be detected is not greater than the number threshold, the abnormal user corresponding to the user abnormal signal is determined from at least one candidate user included in the network topology structure to be detected, and the abnormal user is used as the network anomaly detection result.
4. The method according to claim 1, It is characterized in that The method further comprises: Receiving a network branch line abnormality signal corresponding to the network topology structure to be detected; Determine the abnormal network branch corresponding to the abnormal network branch signal from each of the network branches to be detected; The abnormal network branch is added to the network anomaly detection result.
5. The method according to any one of claims 1 to 4, It is characterized in that The process of determining the network topology to be detected includes: Sending characteristic current signals to at least one network line to be detected in sequence; Receiving a target current signal obtained after each characteristic current signal flows through the corresponding network line to be detected; A network structure analysis is performed on each of the network lines to be detected according to the target current signal to obtain a topological structure of the network to be detected.
6. The method according to claim 5, It is characterized in that The performing of network structure analysis on each of the network lines to be detected according to the target current signal to obtain the topological structure of the network to be detected includes: Performing topological relationship analysis on each of the network lines to be detected according to the signal parameters of the target current signal to obtain a network topological relationship corresponding to each of the network lines to be detected; The network topology structure to be detected is generated according to the network topology relationship corresponding to each of the network lines to be detected.
7. A network anomaly detection device, It is characterized in that The device comprises: A receiving module, used for receiving a user abnormal signal corresponding to the network topology structure to be detected; A determination module, configured to determine the number of abnormal users included in each network branch to be detected in the network topology structure to be detected according to the user abnormal signal; The detection module is used to perform network anomaly detection on the network topology structure to be detected according to the number of abnormal users included in each of the network branches to be detected, and obtain a network anomaly detection result.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
