Power terminal data monitoring method and device, terminal equipment and storage medium
By calculating the terminal data monitoring index and the monitoring gap index of the power terminal device, quickly identify and mark the abnormal terminal equipment in the grid, solve the problem that it is difficult to locate abnormal devices in massive data in the existing technology, and improve management efficiency.
Patent Information
- Application Number
- CN202411476548.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-28
AI Technical Summary
With the expansion of power grid scale and increasing complexity, it is difficult for the prior art to quickly locate and mark abnormal terminal equipment in massive data.
By obtaining the terminal data monitoring log of each power terminal device, calculate the terminal data monitoring index, and determine whether the device is a first -class terminal device based on the preset threshold. Then, the equipment with the power connection relationship with the first -level abnormal terminal equipment is a direct connection terminal device, and the monitoring gap index is calculated to identify the secondary abnormal terminal equipment.
Achieving the abnormal terminal equipment in the rapid identification and marking power grids in massive data, and improved the lock efficiency of the managers to the abnormal range.
Smart Images

Figure CN119379254A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data monitoring technology, and in particular to a power terminal data monitoring method, device, terminal equipment and storage medium. Background Art
[0002] With the rapid development of smart grids, the number of power terminal devices has increased dramatically. These devices, including smart meters, transformers, circuit breakers, and cable lines, are spread all over the grid and are key links in realizing power transmission, distribution, monitoring, and management. At present, after the construction and development of the global Internet of Things, the Internet of Things platform can collect and analyze a large amount of data from various terminal devices in the power grid in real time, and monitor the data of various power terminal devices in the power grid.
[0003] However, although the Internet of Things technology has shown great potential in data monitoring of power terminal equipment, it still faces many challenges in practical application. With the expansion of the scale and complexity of the power grid, how to quickly locate and mark abnormal terminal equipment in massive data so that managers can take timely measures is also an important challenge in the current monitoring of power terminal equipment. Summary of the invention
[0004] The embodiments of the present invention provide a power terminal data monitoring method, apparatus, terminal equipment and storage medium, which can effectively solve the problem that the prior art cannot quickly locate and mark abnormal terminal equipment in massive data when the scale and complexity of the power grid expand.
[0005] An embodiment of the present invention provides a method for monitoring power terminal data, comprising:
[0006] Obtain terminal data monitoring logs of each power terminal device according to preset time intervals;
[0007] Determining the terminal data monitoring index of each power terminal device according to the terminal data monitoring log;
[0008] Compare the terminal data monitoring index with a preset first monitoring threshold for indicating a terminal data monitoring index threshold, and determine whether the power terminal device is a first-level abnormal terminal device;
[0009] If yes, then according to the first-level abnormal terminal device and the preset power terminal device map, the power terminal device that has a power connection relationship with the first-level abnormal terminal device is marked as a directly connected terminal device;
[0010] According to the terminal data monitoring index, calculating the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device, and obtaining the monitoring gap index of the directly connected terminal device;
[0011] According to the terminal data monitoring log, the monitoring gap index and the preset monitoring gap range, a judgment is made to identify the secondary abnormal terminal device in the directly connected terminal device;
[0012] The first-level abnormal terminal equipment and the second-level abnormal terminal equipment are marked on the power terminal equipment map.
[0013] Furthermore, it also includes:
[0014] Determining the terminal standard monitoring value corresponding to each power terminal device according to the terminal data monitoring log;
[0015] According to the terminal standard monitoring value and the preset second monitoring threshold used to represent the terminal standard monitoring limit value, the terminal type corresponding to the power terminal equipment whose terminal standard monitoring value is greater than the second monitoring threshold is marked as a special monitoring type;
[0016] Calculate a special monitoring value according to a terminal standard monitoring value of a power terminal device of a special monitoring type and a ratio of the second monitoring threshold;
[0017] A new time interval is calculated according to the special monitoring value and the current time interval, and the current time interval is updated according to the new time interval; wherein the current time interval for first obtaining the terminal data monitoring log is a preset initial time interval.
[0018] Further, comparing the terminal data monitoring index with a preset first monitoring threshold for indicating a terminal data monitoring index threshold, and determining whether the power terminal device is a first-level abnormal terminal device, includes:
[0019] Treat power terminal equipment with a terminal type of special monitoring type as special power terminal equipment;
[0020] The terminal data monitoring index of power terminal equipment other than special power terminal equipment is used as the target terminal data monitoring index;
[0021] Based on the comparison between the target terminal data monitoring index and the preset first monitoring threshold used to represent the terminal data monitoring index threshold, it is determined whether the power terminal equipment other than the special power terminal equipment is a first-level abnormal terminal equipment.
[0022] Further, according to the terminal data monitoring log, the terminal data monitoring index of each power terminal device is determined, including:
[0023] Determine the terminal type and terminal data of each power terminal device according to the terminal monitoring log;
[0024] Determining a preset data monitoring model corresponding to the terminal type according to the terminal type;
[0025] The terminal data is input into a preset data monitoring model for calculation to obtain the terminal data monitoring index of each power terminal device.
[0026] Further, judging according to the monitoring gap index and the preset monitoring gap range, identifying the secondary abnormal terminal device in the directly connected terminal device includes:
[0027] According to a preset monitoring gap range, determining a third monitoring threshold for indicating a high monitoring gap index and a fourth monitoring threshold for indicating a low monitoring gap index; wherein the third monitoring threshold is greater than the fourth monitoring threshold;
[0028] Compare the monitoring gap index with a third monitoring threshold and a fourth monitoring threshold respectively, and when the monitoring index is less than the third monitoring threshold and greater than the fourth monitoring threshold, mark the corresponding directly connected terminal device as a fuzzy terminal device;
[0029] According to the terminal data monitoring log, the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference are calculated;
[0030] According to the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference, the abnormal correlation value between the first-level abnormal terminal device and the fuzzy terminal device is calculated;
[0031] The abnormal correlation value is compared with a preset abnormal correlation threshold to identify the secondary abnormal terminal device in the fuzzy terminal device.
[0032] Furthermore, according to the terminal data monitoring log, the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference are calculated, including:
[0033] According to the terminal data monitoring indexes in the terminal data monitoring log, the monitoring time is arranged in descending order, and the difference between every two terminal data monitoring indexes is calculated to obtain the monitoring turbulence index;
[0034] According to the terminal data monitoring index, the monitoring time is arranged from the earliest to the latest, and the sum of every two terminal data monitoring indexes is calculated to obtain the continuous monitoring index;
[0035] According to the terminal data monitoring indexes in the terminal data monitoring log, the monitoring times are arranged in descending order, and the difference between the monitoring times corresponding to every two terminal data monitoring indexes is calculated to obtain the standard monitoring time difference;
[0036] All monitored turbulence indices are summed up and averaged to obtain the average monitored turbulence index;
[0037] All continuous monitoring indices are summed up and averaged to obtain the average continuous monitoring index;
[0038] All standard monitoring time differences are summed up and the average is calculated to obtain the average standard monitoring time difference.
[0039] Furthermore, it also includes:
[0040] When the monitoring gap index is greater than or equal to the third monitoring threshold, marking the corresponding directly connected terminal device as a normal terminal device;
[0041] When the monitoring gap index is less than or equal to the fourth monitoring threshold, the corresponding directly connected terminal device is marked as a first-level abnormal terminal device.
[0042] As an improvement of the above solution, another embodiment of the present invention provides a power terminal data monitoring device, including:
[0043] A monitoring log acquisition module is used to obtain the terminal data monitoring log of each power terminal device according to a preset time interval;
[0044] A monitoring index determination module, used to determine the terminal data monitoring index of each power terminal device according to the terminal data monitoring log;
[0045] A first judgment module, used to compare the terminal data monitoring index with a preset first monitoring threshold used to represent the terminal data monitoring index threshold, to judge whether the power terminal device is a first-level abnormal terminal device;
[0046] A direct-connection terminal marking module is used to mark, when the power terminal device is a first-level abnormal terminal device, the power terminal device that has a power connection relationship with the first-level abnormal terminal device as a direct-connection terminal device according to the first-level abnormal terminal device and a preset power terminal device map;
[0047] A monitoring gap index calculation module, used to calculate the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device according to the terminal data monitoring index, and obtain the monitoring gap index of the directly connected terminal device;
[0048] A second judgment module is used to judge according to the terminal data monitoring log, the monitoring gap index and a preset monitoring gap range, and identify the secondary abnormal terminal device in the directly connected terminal device;
[0049] The abnormal terminal marking module is used to mark the first-level abnormal terminal equipment and the second-level abnormal terminal equipment on the power terminal equipment map.
[0050] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, a power terminal data monitoring method as described in the above embodiment is implemented.
[0051] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a power terminal data monitoring method described in the above embodiment.
[0052] By implementing the present invention, at least the following beneficial effects are achieved:
[0053] The present invention provides a method, device, terminal equipment and storage medium for monitoring power terminal data, wherein the method can obtain a terminal data monitoring log of each power terminal equipment according to a preset time interval; determine a terminal data monitoring index of each power terminal equipment according to the terminal data monitoring log; compare the terminal data monitoring index with a preset first monitoring threshold used to represent the terminal data monitoring index threshold to determine whether the power terminal equipment is a first-level abnormal terminal equipment; if so, mark the power terminal equipment that has an electrical connection relationship with the first-level abnormal terminal equipment as a directly connected terminal equipment according to the first-level abnormal terminal equipment and a preset power terminal equipment map; calculate the terminal data monitoring index difference between the first-level abnormal terminal equipment and the directly connected terminal equipment according to the terminal data monitoring index to obtain a monitoring gap index of the directly connected terminal equipment; make a judgment according to the terminal data monitoring log, the monitoring gap index and a preset monitoring gap range to identify the second-level abnormal terminal equipment in the directly connected terminal equipment; mark the first-level abnormal terminal equipment and the second-level abnormal terminal equipment on the power terminal equipment map. The terminal data monitoring index is determined through the terminal data monitoring log. The first-level abnormal terminal equipment is first identified, and then the directly connected terminal equipment directly connected to the first-level abnormal terminal equipment is analyzed. The second-level abnormal terminal equipment is identified according to the monitoring gap index. The first-level abnormal terminal equipment and the second-level abnormal terminal equipment in the power grid can be quickly and accurately determined, and the first-level abnormal terminal equipment and the second-level abnormal terminal equipment are specially marked in the preset power terminal equipment map, which is convenient for management personnel to lock the abnormal range. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a flow chart of a method for monitoring power terminal data provided by an embodiment of the present invention;
[0055] Figure 2 is an analysis flow chart of a fuzzy terminal device provided by an embodiment of the present invention;
[0056] Figure 3 It is a structural schematic diagram of a power terminal data monitoring device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0058] See also Figure 1 , is a flow chart of a method for monitoring power terminal data provided by an embodiment of the present invention, comprising:
[0059] S1. Obtain terminal data monitoring logs of each power terminal device according to a preset time interval;
[0060] S2. Determine the terminal data monitoring index of each power terminal device according to the terminal data monitoring log;
[0061] S3, comparing the terminal data monitoring index with a preset first monitoring threshold used to represent the terminal data monitoring index threshold, and determining whether the power terminal device is a first-level abnormal terminal device;
[0062] S4. If yes, then according to the first-level abnormal terminal device and the preset power terminal device map, the power terminal device that has a power connection relationship with the first-level abnormal terminal device is marked as a directly connected terminal device;
[0063] S5. Calculate the difference in terminal data monitoring index between the first-level abnormal terminal device and the directly connected terminal device according to the terminal data monitoring index to obtain a monitoring gap index of the directly connected terminal device;
[0064] S6. According to the terminal data monitoring log, the monitoring gap index and the preset monitoring gap range, a judgment is made to identify the secondary abnormal terminal device in the directly connected terminal device;
[0065] S7. Mark the first-level abnormal terminal equipment and the second-level abnormal terminal equipment on the power terminal equipment map.
[0066] Specifically, an initial time interval m is set (m is the length of the time interval), and at each time node of the time interval m, the terminal data monitoring log of each power terminal device is obtained. The terminal data monitoring log includes: the power terminal device number (to distinguish each power terminal device, each power terminal device has an independent and unique number), the terminal data monitoring index (except for power terminal devices of special monitoring types), and the monitoring time. Then, according to the terminal data monitoring log, the terminal data monitoring index of each power terminal device is determined, and the terminal data monitoring index and the preset first monitoring threshold used to represent the terminal data monitoring index threshold are compared to determine whether the power terminal device is a first-level abnormal terminal device. If the terminal data monitoring index is greater than the first monitoring threshold, the corresponding power terminal device is a first-level abnormal terminal device; if the terminal data monitoring index is less than or equal to the first monitoring threshold, the corresponding power terminal device is a normal terminal device. In the case where the power terminal device is a first-level abnormal terminal device, the power terminal device that has an electrical connection relationship with the first-level abnormal terminal device is marked as a directly connected terminal device according to the first-level abnormal terminal device and the preset power terminal device map; and the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device is calculated according to the terminal data monitoring index to obtain the monitoring gap index of the directly connected terminal device. According to the terminal data monitoring log, the monitoring gap index and the preset monitoring gap range, the second-level abnormal terminal device in the directly connected terminal device is identified; the first-level abnormal terminal device and the second-level abnormal terminal device are marked on the power terminal device map.
[0067] Preferably, it also includes:
[0068] Determining the terminal standard monitoring value corresponding to each power terminal device according to the terminal data monitoring log;
[0069] According to the terminal standard monitoring value and the preset second monitoring threshold used to represent the terminal standard monitoring limit value, the terminal type corresponding to the power terminal equipment whose terminal standard monitoring value is greater than the second monitoring threshold is marked as a special monitoring type;
[0070] Calculate a special monitoring value according to a terminal standard monitoring value of a power terminal device of a special monitoring type and a ratio of the second monitoring threshold;
[0071] A new time interval is calculated according to the special monitoring value and the current time interval, and the current time interval is updated according to the new time interval; wherein the current time interval for first obtaining the terminal data monitoring log is a preset initial time interval.
[0072] In a preferred embodiment of the present invention, the terminal standard monitoring value of each terminal type is determined based on the terminal data monitoring log of each power terminal device, and a second monitoring threshold value is set to represent the terminal standard monitoring limit value. When the terminal standard monitoring value is greater than the second monitoring threshold value, the terminal type is marked as a special monitoring type. When the terminal standard monitoring value is less than or equal to the second monitoring threshold value, no corresponding processing is performed. When the terminal type is marked as a special monitoring type, the second monitoring threshold value is calculated to be a ratio with the terminal standard monitoring value of the special monitoring type to obtain a special monitoring value gt. According to the special monitoring value and the current time interval, a new time interval m is calculated. gt , update the current time interval according to the new time interval.
[0073] In another preferred embodiment of the present invention, the terminal standard monitoring value of the terminal type is obtained by the following method: marking the power terminal devices of the same terminal type in the system as the same type of terminal devices, marking the total number of the same type of terminal devices as PAde, obtaining the terminal data monitoring index of the terminal data monitoring log of each same type of terminal device, grouping all the same type of terminal devices into a group, summing the terminal data monitoring indexes of two same type of terminal devices in the same group to obtain the same group monitoring index, setting the same group monitoring threshold index, the same group monitoring threshold index is the threshold set by the system, and when the same group monitoring index is greater than the same group monitoring index When the monitoring index of the same group is less than or equal to the monitoring threshold index of the same group, no corresponding processing is performed, and the number of hidden dangers in the same group is marked as KJds. The terminal data monitoring indexes of two terminal devices of the same type in the same group are subjected to difference processing and the absolute value is taken to obtain the gap index of the same group, and the gap threshold index of the same group is set. The gap threshold index of the same group is the threshold set by the system. When the gap index of the same group is greater than the gap threshold index of the same group, the number of gaps in the same group is increased by one. When the gap index of the same group is less than or equal to the gap threshold index of the same group, no corresponding processing is performed, and the number of gaps in the same group is marked as TSyp. The formula is used. The terminal standard monitoring value Ted of the terminal type is obtained, where f1 is the coefficient of the number of terminal devices of the same type, f2 is the coefficient of the number of hidden dangers in the same group, and f3 is the coefficient of the number of gaps in the same group. The value of f1 is 0.66, the value of f2 is 0.49, and the value of f3 is 0.58.
[0074] Preferably, comparing the terminal data monitoring index with a preset first monitoring threshold for indicating a terminal data monitoring index threshold to determine whether the power terminal device is a first-level abnormal terminal device includes:
[0075] Treat power terminal equipment with a terminal type of special monitoring type as special power terminal equipment;
[0076] The terminal data monitoring index of power terminal equipment other than special power terminal equipment is used as the target terminal data monitoring index;
[0077] Based on the comparison between the target terminal data monitoring index and the preset first monitoring threshold used to represent the terminal data monitoring index threshold, it is determined whether the power terminal equipment other than the special power terminal equipment is a first-level abnormal terminal equipment.
[0078] Specifically, according to the terminal data monitoring log, determining the terminal data monitoring index of each power terminal device includes:
[0079] Determine the terminal type and terminal data of each power terminal device according to the terminal monitoring log;
[0080] Determining a preset data monitoring model corresponding to the terminal type according to the terminal type;
[0081] The terminal data is input into a preset data monitoring model for calculation to obtain the terminal data monitoring index of each power terminal device.
[0082] In a preferred embodiment of the present invention, various terminal data generated by the power terminal device between the current time node and the previous time node are collected, the terminal type of the power terminal device is obtained (the terminal type of the power terminal device includes but is not limited to transformers, distribution boxes, and ring network cabinets), and a data monitoring model of the terminal type is obtained (each terminal type needs to monitor different terminal data, and the monitoring standards are also different. For example, the terminal data that needs to be monitored for transformers include but are not limited to current data, oil temperature data, and winding temperature data, and the terminal data that needs to be monitored for distribution boxes include but are not limited to current data, power data, ambient temperature data, and ambient humidity data, so a special data monitoring model needs to be designed for each terminal type), and the various terminal data of the power terminal device are preprocessed. The preprocessing method includes but is not limited to data cleaning and data format conversion. The various terminal data after preprocessing are packaged into terminal data sets, and the terminal data sets are input into the data monitoring model (such as the terminal data set of the transformer is input into the data monitoring model of the transformer, and the terminal data set of the distribution box is input into the data monitoring model of the distribution box), and the data monitoring model outputs the terminal data monitoring index of the power terminal device.
[0083] Each terminal type of power terminal equipment corresponds to a specially constructed data monitoring model, and the construction method of each specially constructed data monitoring model is the same. This embodiment takes the transformer as an example to disclose the construction method of the data monitoring model: collect terminal data sets of d groups of transformers (each group of terminal data sets contains pre-processed current data, oil temperature data, winding temperature data, etc. of the transformer. If it is a data monitoring model of a distribution box, collect terminal data sets of d groups of distribution boxes), build a deep learning model, use the terminal data sets of d groups of transformers as training data for the deep learning model, assign a terminal data monitoring index to each group of training data, and the value range of the terminal data monitoring index is (2-10). Divide the training data into a training set and a validation set, train the training set and the validation set, and then obtain the data monitoring model of the transformer.
[0084] The larger the value of the terminal data monitoring index, the more abnormal the terminal data of the transformer is (the more abnormal the terminal data is, the more abnormal the transformer is. If it is a data monitoring model of a distribution box, the more abnormal the distribution box is). The smaller the value of the terminal data monitoring index, the more normal the terminal data of the transformer is.
[0085] Specifically, judging according to the monitoring gap index and the preset monitoring gap range, identifying the secondary abnormal terminal device in the directly connected terminal device includes:
[0086] According to a preset monitoring gap range, determining a third monitoring threshold for indicating a high monitoring gap index and a fourth monitoring threshold for indicating a low monitoring gap index; wherein the third monitoring threshold is greater than the fourth monitoring threshold;
[0087] Compare the monitoring gap index with a third monitoring threshold and a fourth monitoring threshold respectively, and when the monitoring index is less than the third monitoring threshold and greater than the fourth monitoring threshold, mark the corresponding directly connected terminal device as a fuzzy terminal device;
[0088] According to the terminal data monitoring log, the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference are calculated;
[0089] According to the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference, the abnormal correlation value between the first-level abnormal terminal device and the fuzzy terminal device is calculated;
[0090] The abnormal correlation value is compared with a preset abnormal correlation threshold to identify the secondary abnormal terminal device in the fuzzy terminal device.
[0091] In a preferred embodiment of the present invention, when the power terminal device is marked as a first-level abnormal terminal device, the power terminal devices that have a power connection relationship with the first-level abnormal terminal device in the preset power terminal device map are marked as direct-connected terminal devices, such as Figure 2 As shown in the process; according to the monitoring gap index of the direct-connected terminal device, a third monitoring threshold and a fourth monitoring threshold are set, and the third monitoring threshold is greater than the fourth monitoring threshold; when the monitoring gap index is greater than or equal to the third monitoring threshold, the direct-connected terminal device is marked as a normal terminal device; when the monitoring gap index is less than or equal to the fourth monitoring threshold, the direct-connected terminal device is marked as a first-level abnormal terminal device, and then the power terminal devices that have an electric power relationship with the first-level abnormal terminal device are analyzed; when the monitoring gap index is between the third monitoring threshold and the fourth monitoring threshold, that is, less than the third monitoring threshold and greater than the fourth monitoring threshold, the direct-connected terminal device is marked as a fuzzy terminal device.
[0092] Indicatively, the abnormal correlation values of the first-level abnormal terminal devices and the fuzzy terminal devices are obtained using the cosine similarity calculation formula. For example, the average monitoring turbulence index of the first-level abnormal terminal devices is 2.8, the average continuous monitoring index is 3.7, and the average standard monitoring time difference is 5.5. The average monitoring turbulence index of the fuzzy terminal devices is 3.1, the average continuous monitoring index is 4.2, and the average standard monitoring time difference is 5.3.
[0093] In another preferred embodiment of the present invention, the power terminal equipment map includes each power terminal equipment in the power grid system, and the power terminal equipment map can depict the power connection relationship between each power terminal equipment, such as generator a is directly connected to transformer b through a transmission line, and there is a power connection relationship between generator a and transformer b; the power terminal equipment map is displayed on the terminal display screen of the monitoring system in the form of electronic display technology. Through the Internet of Things platform, comprehensive data monitoring and analysis of each power terminal equipment is carried out, the monitoring strategy of different types of power terminal equipment is dynamically adjusted, the monitoring resources of the monitoring system are reasonably allocated, and the abnormal status of the power terminal equipment is accurately identified and marked.
[0094] In schematic form, based on the terminal data monitoring log, the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference are calculated, including:
[0095] According to the terminal data monitoring indexes in the terminal data monitoring log, the monitoring time is arranged in descending order, and the difference between every two terminal data monitoring indexes is calculated to obtain the monitoring turbulence index;
[0096] According to the terminal data monitoring index, the monitoring time is arranged from the earliest to the latest, and the sum of every two terminal data monitoring indexes is calculated to obtain the continuous monitoring index;
[0097] According to the terminal data monitoring indexes in the terminal data monitoring log, the monitoring times are arranged in descending order, and the difference between the monitoring times corresponding to every two terminal data monitoring indexes is calculated to obtain the standard monitoring time difference;
[0098] All monitored turbulence indices are summed up and averaged to obtain the average monitored turbulence index;
[0099] All continuous monitoring indices are summed up and averaged to obtain the average continuous monitoring index;
[0100] All standard monitoring time differences are summed up and the average is calculated to obtain the average standard monitoring time difference.
[0101] In a preferred embodiment of the present invention, the average monitoring turbulence index is obtained in the following manner: obtain all terminal data monitoring logs of the power terminal equipment within the time length e, obtain the monitoring time of the terminal data monitoring log, sort all the terminal data monitoring logs in sequence according to the chronological order of the monitoring time, calculate the difference between the terminal data monitoring indexes of two adjacent terminal data monitoring logs after sorting and take the absolute value to obtain the data monitoring turbulence index, sum up all the data monitoring turbulence indices and take the average to obtain the average monitoring turbulence index.
[0102] The average continuous monitoring index is obtained in the following way: obtain all terminal data monitoring logs of the power terminal equipment within the time length e, obtain the monitoring time of the terminal data monitoring log, sort all the terminal data monitoring logs in the order of the monitoring time, sum the terminal data monitoring indexes of the two adjacent terminal data monitoring logs after sorting to obtain the continuous monitoring index, sum all the continuous monitoring indices and take the average to obtain the average continuous monitoring index.
[0103] The average standard monitoring time difference is obtained in the following manner: obtain all terminal data monitoring logs of the power terminal equipment within the time length e, obtain the terminal data monitoring index of the terminal data monitoring log, set the terminal data monitoring standard index, the terminal data monitoring standard index (which is different from the second monitoring threshold used to represent the terminal standard monitoring limit value) is the threshold set by the system, when the terminal data monitoring standard index is greater than the terminal data monitoring standard index, the corresponding terminal data monitoring log is marked as a standard monitoring log, when the terminal data monitoring standard index is less than or equal to the terminal data monitoring standard index, no corresponding processing is performed, all standard monitoring logs are sorted in sequence according to the order of monitoring time, the time difference between the monitoring times of two adjacent standard monitoring logs after sorting is calculated (the latter monitoring time minus the previous monitoring time), and the standard monitoring time difference is obtained, all standard monitoring time differences are summed and averaged to obtain the average standard monitoring time difference.
[0104] Preferably, it also includes:
[0105] When the monitoring gap index is greater than or equal to the third monitoring threshold, marking the corresponding directly connected terminal device as a normal terminal device;
[0106] When the monitoring gap index is less than or equal to the fourth monitoring threshold, the corresponding directly connected terminal device is marked as a first-level abnormal terminal device.
[0107] In a preferred embodiment of the present invention, the average monitoring turbulence index, average continuous monitoring index and average standard monitoring time difference of the first-level abnormal terminal equipment are marked as [S1, S2, S3], S1 is the average monitoring turbulence index of the first-level abnormal terminal equipment, S2 is the average continuous monitoring index of the first-level abnormal terminal equipment, and S3 is the average standard monitoring time difference of the first-level abnormal terminal equipment. The average monitoring turbulence index, average continuous monitoring index and average standard monitoring time difference of the fuzzy terminal equipment are marked as [Z1, Z2, Z3], Z1 is the average monitoring turbulence index of the fuzzy terminal equipment, Z2 is the average continuous monitoring index of the fuzzy terminal equipment, and Z3 is the average standard monitoring time difference of the fuzzy terminal equipment, and then the abnormal correlation value of the first-level abnormal terminal equipment and the fuzzy terminal equipment is obtained, and the abnormal correlation threshold is set. The abnormal correlation threshold is a threshold set by the system. When the abnormal correlation value is greater than the abnormal correlation threshold, the fuzzy terminal equipment is marked as a second-level abnormal terminal equipment (without analyzing the power terminal equipment that has an electric power relationship with the second-level abnormal terminal equipment). When the abnormal correlation value is less than or equal to the abnormal correlation threshold, the fuzzy terminal equipment is marked as a normal terminal equipment.
[0108] When a first-level abnormal terminal device appears, the remaining power terminal devices are analyzed and marked in detail according to the correlation and traceability of the power terminal equipment map, and the directly connected terminal devices are divided into three categories: normal terminal devices, first-level abnormal terminal devices and fuzzy terminal devices. The fuzzy terminal devices are evaluated in multiple dimensions and multiple indicators, and the first-level abnormal terminal devices and second-level abnormal terminal devices in the power grid are quickly and accurately determined. The first-level abnormal terminal devices and second-level abnormal terminal devices are specially marked in the power terminal equipment map to facilitate management personnel to lock the abnormal scope.
[0109] By implementing this embodiment, the terminal data monitoring log of each power terminal device is obtained according to a preset time interval; the terminal data monitoring index of each power terminal device is determined according to the terminal data monitoring log; the terminal data monitoring index and the preset first monitoring threshold used to represent the terminal data monitoring index threshold are compared to determine whether the power terminal device is a first-level abnormal terminal device; if so, the power terminal device that has an electrical connection relationship with the first-level abnormal terminal device is marked as a directly connected terminal device according to the first-level abnormal terminal device and the preset power terminal device map; the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device is calculated according to the terminal data monitoring index to obtain the monitoring gap index of the directly connected terminal device; the second-level abnormal terminal device in the directly connected terminal device is identified according to the terminal data monitoring log, the monitoring gap index and the preset monitoring gap range; the first-level abnormal terminal device and the second-level abnormal terminal device are marked on the power terminal device map. The terminal data monitoring index is determined through the terminal data monitoring log. The first-level abnormal terminal equipment is first identified, and then the directly connected terminal equipment directly connected to the first-level abnormal terminal equipment is analyzed. The second-level abnormal terminal equipment is identified according to the monitoring gap index. The first-level abnormal terminal equipment and the second-level abnormal terminal equipment in the power grid can be quickly and accurately determined, and the first-level abnormal terminal equipment and the second-level abnormal terminal equipment are specially marked in the preset power terminal equipment map, which is convenient for management personnel to lock the abnormal range.
[0110] See also Figure 3 , is a schematic diagram of the structure of a power terminal data monitoring device provided by an embodiment of the present invention, comprising:
[0111] A monitoring log acquisition module is used to obtain the terminal data monitoring log of each power terminal device according to a preset time interval;
[0112] A monitoring index determination module, used to determine the terminal data monitoring index of each power terminal device according to the terminal data monitoring log;
[0113] A first judgment module, used to compare the terminal data monitoring index with a preset first monitoring threshold used to represent the terminal data monitoring index threshold, to judge whether the power terminal device is a first-level abnormal terminal device;
[0114] A direct-connection terminal marking module is used to mark, when the power terminal device is a first-level abnormal terminal device, the power terminal device that has a power connection relationship with the first-level abnormal terminal device as a direct-connection terminal device according to the first-level abnormal terminal device and a preset power terminal device map;
[0115] A monitoring gap index calculation module, used to calculate the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device according to the terminal data monitoring index, and obtain the monitoring gap index of the directly connected terminal device;
[0116] A second judgment module is used to judge according to the terminal data monitoring log, the monitoring gap index and a preset monitoring gap range, and identify the secondary abnormal terminal device in the directly connected terminal device;
[0117] The abnormal terminal marking module is used to mark the first-level abnormal terminal equipment and the second-level abnormal terminal equipment on the power terminal equipment map.
[0118] The present invention provides a power terminal data monitoring device, in which a monitoring log acquisition module acquires a terminal data monitoring log of each power terminal device according to a preset time interval; a monitoring index determination module determines a terminal data monitoring index of each power terminal device according to the terminal data monitoring log; according to a first judgment module, the terminal data monitoring index and a preset first monitoring threshold used to represent the terminal data monitoring index threshold are compared to judge whether the power terminal device is a first-level abnormal terminal device; according to a direct terminal marking module, if the power terminal device is a first-level abnormal terminal device, a first-level abnormal terminal device and a preset power terminal device map are identified. , the power terminal equipment that has an electric connection relationship with the first-level abnormal terminal equipment is marked as a directly connected terminal equipment; in the monitoring gap index calculation module, the terminal data monitoring index difference between the first-level abnormal terminal equipment and the directly connected terminal equipment is calculated according to the terminal data monitoring index, and the monitoring gap index of the directly connected terminal equipment is obtained; in the second judgment module, the second-level abnormal terminal equipment in the directly connected terminal equipment is judged according to the terminal data monitoring log, the monitoring gap index and the preset monitoring gap range, and the first-level abnormal terminal equipment and the second-level abnormal terminal equipment are marked on the power terminal equipment map through the abnormal terminal marking module. Determine the terminal data monitoring index through the terminal data monitoring log, first identify the first-level abnormal terminal equipment, then analyze the directly connected terminal equipment directly connected to the first-level abnormal terminal equipment, and identify the second-level abnormal terminal equipment according to the monitoring gap index, so that the first-level abnormal terminal equipment and the second-level abnormal terminal equipment in the power grid can be quickly and accurately determined, and the first-level abnormal terminal equipment and the second-level abnormal terminal equipment are specially marked in the preset power terminal equipment map, so that the management personnel can lock the abnormal range.
[0119] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0120] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0121] Another embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a power terminal data monitoring method as described in the above embodiment when executing the computer program. The terminal device may be a computing device such as a desktop computer, a notebook, a handheld computer, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory.
[0122] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0123] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med i aCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (F l ash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.
[0124] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a power terminal data monitoring method described in the above embodiment.
[0125] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.
[0126] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for monitoring power terminal data, characterized in that: include: Obtain terminal data monitoring logs of each power terminal device according to preset time intervals; Determining the terminal data monitoring index of each power terminal device according to the terminal data monitoring log; Compare the terminal data monitoring index with a preset first monitoring threshold for indicating a terminal data monitoring index threshold, and determine whether the power terminal device is a first-level abnormal terminal device; If yes, then according to the first-level abnormal terminal device and the preset power terminal device map, the power terminal device that has a power connection relationship with the first-level abnormal terminal device is marked as a directly connected terminal device; According to the terminal data monitoring index, calculating the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device, and obtaining the monitoring gap index of the directly connected terminal device; According to the terminal data monitoring log, the monitoring gap index and the preset monitoring gap range, a judgment is made to identify the secondary abnormal terminal device in the directly connected terminal device; The first-level abnormal terminal equipment and the second-level abnormal terminal equipment are marked on the power terminal equipment map.
2. A method for monitoring power terminal data according to claim 1, characterized in that: Also includes: Determining the terminal standard monitoring value corresponding to each power terminal device according to the terminal data monitoring log; According to the terminal standard monitoring value and the preset second monitoring threshold used to represent the terminal standard monitoring limit value, the terminal type corresponding to the power terminal equipment whose terminal standard monitoring value is greater than the second monitoring threshold is marked as a special monitoring type; Calculate a special monitoring value according to a ratio of a terminal standard monitoring value of a power terminal device of a special monitoring type and the second monitoring threshold; A new time interval is calculated according to the special monitoring value and the current time interval, and the current time interval is updated according to the new time interval; wherein the current time interval for first obtaining the terminal data monitoring log is a preset initial time interval.
3. A method for monitoring power terminal data according to claim 2, characterized in that: Comparing the terminal data monitoring index with a preset first monitoring threshold for indicating a terminal data monitoring index threshold, and determining whether the power terminal device is a first-level abnormal terminal device, includes: Treat power terminal equipment with a terminal type of special monitoring type as special power terminal equipment; The terminal data monitoring index of power terminal equipment other than special power terminal equipment is used as the target terminal data monitoring index; Based on the comparison between the target terminal data monitoring index and the preset first monitoring threshold used to represent the terminal data monitoring index threshold, it is determined whether the power terminal equipment other than the special power terminal equipment is a first-level abnormal terminal equipment.
4. A method for monitoring power terminal data according to claim 1, characterized in that: Determine the terminal data monitoring index of each power terminal device according to the terminal data monitoring log, including: Determine the terminal type and terminal data of each power terminal device according to the terminal monitoring log; Determining a preset data monitoring model corresponding to the terminal type according to the terminal type; The terminal data is input into a preset data monitoring model for calculation to obtain the terminal data monitoring index of each power terminal device.
5. A method for monitoring power terminal data according to claim 1, characterized in that: According to the monitoring gap index and the preset monitoring gap range, a judgment is made to identify the secondary abnormal terminal device in the directly connected terminal device, including: According to a preset monitoring gap range, determining a third monitoring threshold for indicating a high monitoring gap index and a fourth monitoring threshold for indicating a low monitoring gap index; wherein the third monitoring threshold is greater than the fourth monitoring threshold; Compare the monitoring gap index with a third monitoring threshold and a fourth monitoring threshold respectively, and when the monitoring index is less than the third monitoring threshold and greater than the fourth monitoring threshold, mark the corresponding directly connected terminal device as a fuzzy terminal device; According to the terminal data monitoring log, the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference are calculated; According to the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference, the abnormal correlation value between the first-level abnormal terminal device and the fuzzy terminal device is calculated; The abnormal correlation value is compared with a preset abnormal correlation threshold to identify the secondary abnormal terminal device in the fuzzy terminal device.
6. A method for monitoring power terminal data according to claim 5, characterized in that: According to the terminal data monitoring log, the average monitoring turbulence index, the average continuous monitoring index and the average standard monitoring time difference are calculated, including: According to the terminal data monitoring indexes in the terminal data monitoring log, the monitoring time is arranged in descending order, and the difference between every two terminal data monitoring indexes is calculated to obtain the monitoring turbulence index; According to the terminal data monitoring index, the monitoring time is arranged from the earliest to the latest, and the sum of every two terminal data monitoring indexes is calculated to obtain the continuous monitoring index; According to the terminal data monitoring indexes in the terminal data monitoring log, the monitoring times are arranged in descending order, and the difference between the monitoring times corresponding to every two terminal data monitoring indexes is calculated to obtain the standard monitoring time difference; All monitored turbulence indices are summed up and averaged to obtain the average monitored turbulence index; All continuous monitoring indices are summed up and averaged to obtain the average continuous monitoring index; All standard monitoring time differences are summed up and the average is calculated to obtain the average standard monitoring time difference.
7. A method for monitoring power terminal data according to claim 5, characterized in that: Also includes: When the monitoring gap index is greater than or equal to the third monitoring threshold, marking the corresponding directly connected terminal device as a normal terminal device; When the monitoring gap index is less than or equal to the fourth monitoring threshold, the corresponding directly connected terminal device is marked as a first-level abnormal terminal device.
8. A power terminal data monitoring device, characterized in that: include: A monitoring log acquisition module is used to obtain the terminal data monitoring log of each power terminal device according to a preset time interval; A monitoring index determination module, used to determine the terminal data monitoring index of each power terminal device according to the terminal data monitoring log; A first judgment module, used to compare the terminal data monitoring index with a preset first monitoring threshold used to represent the terminal data monitoring index threshold, to judge whether the power terminal device is a first-level abnormal terminal device; A direct-connection terminal marking module is used to mark, when the power terminal device is a first-level abnormal terminal device, the power terminal device that has a power connection relationship with the first-level abnormal terminal device as a direct-connection terminal device according to the first-level abnormal terminal device and a preset power terminal device map; A monitoring gap index calculation module, used to calculate the terminal data monitoring index difference between the first-level abnormal terminal device and the directly connected terminal device according to the terminal data monitoring index, and obtain the monitoring gap index of the directly connected terminal device; A second judgment module is used to judge according to the terminal data monitoring log, the monitoring gap index and a preset monitoring gap range, and identify the secondary abnormal terminal device in the directly connected terminal device; The abnormal terminal marking module is used to mark the first-level abnormal terminal equipment and the second-level abnormal terminal equipment on the power terminal equipment map.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for monitoring power terminal data as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a power terminal data monitoring method as described in any one of claims 1 to 7.