Power relay protection operation parameter determination method and device, electronic equipment and storage medium
The method and device enhance power relay monitoring by segmenting and analyzing image frames to refine demarcation domains, improving the accuracy of abnormal node data extraction in power systems.
Patent Information
- Application Number
- CN202411040981.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional power relay monitoring methods fail to accurately monitor changes in operating parameters due to fluctuations in the status of distribution equipment, leading to inaccurate evaluations.
A method and device for determining power relay operation parameters by segmenting and analyzing image frames to identify abnormal nodes, using score maps and weight values to refine demarcation domains, and extracting abnormal node data, which adapts to fluctuations in the power system's operating status.
Improves the accuracy of abnormal node data determination by processing power relay operation parameter image data from different equipment, avoiding inaccuracies caused by single evaluation indices and system fluctuations.
Smart Images

Figure CN119068466A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data monitoring technology, and in particular to a method, device, electronic equipment and storage medium for determining power relay operation parameters. Background Art
[0002] The distribution equipment in the power system will suffer periodic losses during use. The traditional monitoring method uses the same evaluation criteria for different distribution equipment, which makes it impossible to accurately monitor the changes in the power relay operating parameters of some equipment in the power system. Even if the prediction and evaluation are based on historical data, it is impossible to avoid the impact of fluctuations in the operating status of the distribution equipment. Summary of the invention
[0003] The present invention provides a method, device, electronic device and storage medium for determining power relay operating parameters to solve the problem that changes in power relay operating parameters cannot be accurately monitored due to fluctuations in the operating status of distribution network equipment.
[0004] According to one aspect of the present invention, a method for determining an electric power relay protection operation parameter is provided, comprising:
[0005] Determine a first delimited region of a target image frame, wherein the first delimited region is a region in the target image frame where a target power relay protection operation parameter abnormal node is located, and the target image frame is an image of a target power relay protection operation parameter generated at the current moment when a target power system is operating;
[0006] Determine a target delimited domain based on the first delimited domain, the target delimited domain includes: a first target delimited domain, a second target delimited domain and a third target delimited domain, the first target delimited domain is determined by a score map value corresponding to the first delimited domain and a first preset weight value, the score map value is used to represent the scores corresponding to different regions in the target image frame, the second target delimited domain is determined by a first difference degree and a second preset weight value, the first difference degree represents the difference between the first delimited domain and the preset delimited domain, and the third target delimited domain is obtained by correcting the first delimited domain;
[0007] Abnormal node data of target power relay protection operation parameters are extracted from the target demarcated domain.
[0008] According to another aspect of the present invention, there is provided a device for determining an operation parameter of a power relay protection, comprising:
[0009] A first delimited domain determination module is used to determine a first delimited domain of a target image frame, wherein the first delimited domain is an area where a target power relay protection operation parameter abnormal node in the target image frame is located in the target image frame, and the target image frame is an image of a target power relay protection operation parameter generated at the current moment when a target power system is running;
[0010] a target demarcation domain determination module, configured to determine a target demarcation domain based on the first demarcation domain, wherein the target demarcation domain includes: a first target demarcation domain, a second target demarcation domain, and a third target demarcation domain, wherein the first target demarcation domain is determined by a score map value corresponding to the first demarcation domain and a first preset weight value, wherein the score map value is used to represent the scores corresponding to different regions in the target image frame, wherein the second target demarcation domain is determined by a first difference degree and a second preset weight value, wherein the first difference degree represents the difference between the first demarcation domain and the preset demarcation domain, and wherein the third target demarcation domain is obtained by correcting the first demarcation domain;
[0011] The abnormal node data extraction module is used to extract the abnormal node data of the target power relay protection operation parameters from the target demarcation area.
[0012] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the power relay operation parameters described in any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the operating parameters of the power relay protection described in any embodiment of the present invention when executed.
[0017] The technical solution of the embodiment of the present invention determines the first demarcation domain of the target image frame, which can retain the details in the target image frame and provide a basis for subsequent abnormal node data; determines the target demarcation domain based on the first demarcation domain, and adopts different processing methods to determine the target demarcation domain, which can improve the accuracy of the target demarcation domain; extracts the abnormal node data of the target power relay operation parameters from the target demarcation domain, which can improve the accuracy of abnormal data determination. This method can process the power relay operation parameter image data generated by different power system distribution equipment, avoiding the problem of inaccurate abnormal node data caused by a single evaluation index. At the same time, directly processing according to the image data can avoid the impact of fluctuations in the operating state of the power system distribution equipment.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A flow chart of a method for determining power relay protection operation parameters provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of the structure of a device for determining an operating parameter of a power relay provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of the structure of an electronic device for implementing the method for determining the operating parameters of a power relay protection according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Figure 1 The present invention provides a flowchart of a method for determining a power relay operation parameter. This embodiment is applicable to extracting abnormal node data from power relay operation parameter video data. The method can be executed by a power relay operation parameter determination device. The power relay operation parameter determination device can be implemented in the form of hardware and / or software. The power relay operation parameter determination device can be configured in any electronic device with network communication function. Figure 1 As shown, the method includes:
[0026] S110 , determining a first delimited region of a target image frame.
[0027] Among them, the first delimited area is the area where the target power relay protection operation parameter abnormal node in the target image frame is located in the target image frame, and the target image frame is an image of the target power relay protection operation parameter generated at the current moment when the target power system is running.
[0028] Among them, the power relay operation parameters include: AC voltage, DC current, DC voltage, etc.
[0029] Specifically, the target image frame is input into the first model, a target score map is calculated, a score map value of each region is extracted from the target score map, and the region corresponding to the score map value is used as the first delimited region.
[0030] Among them, the first model is used to track the target power relay protection operation parameter curve in the target image frame, determine the abnormal node vector according to the tracked curve, and generate a target score map according to the abnormal node vector on the curve.
[0031] Furthermore, the target frame image is segmented according to the segmentation algorithm provided in the first model, the segmented image is used as the first reference image, the first reference image is classified according to the classification algorithm, the image containing the target power relay operation parameter curve segment in the first reference image is retained, the image not containing the target power relay operation parameter curve segment is removed, and the classified image is used as the second reference image. The target power relay operation parameter curve segment in the second reference image is tracked by the image recognition tracking algorithm, the abnormal node vector is determined according to the curve segment in the second reference image obtained by tracking, and the target score map is generated according to the abnormal node vector.
[0032] Furthermore, the image recognition and tracking algorithm consists of decomposed convolution and loss function.
[0033] Among them, the decomposed convolution can be expressed by the following formula:
[0034] H PK {Z}=EK×O{Z}=∑ c,d E d,c K c ×O d {Z d}=K×E T O{Z},
[0035] In the formula, H PK {Z} is the decomposition convolution function, E is the decomposition factor, K is the filter set factor, O{Z} is the score map sequence, c is a certain number of filter subsets, d is the total number of filter subsets, E d,c K is the reverse decomposition value from the total number of filter subsets d to a certain number of filter subsets c, c is the number of filtered values c, O d {Z d} is the total number of filter subsets under the convolution layer Z decomposition score map sequence, E T is a set of filters that are circulated T times.
[0036] The loss function can be expressed as follows:
[0037]
[0038] Where Y(K,E) is the loss function, MEK is the image frame sequence value in the score map under decomposition convolution, is the deviation of image recognition tracking, l 2 is the image frame sequence, C is the current filter subset value, is the filter coefficient corresponding to image recognition and tracking, is the filter value of number c in image recognition tracking, λ is the decomposition convolution coefficient, E is the decomposition factor, and F is the convolution kernel.
[0039] Furthermore, determining the abnormal node vector based on the curve segment in the second reference image obtained by tracking can be achieved in the following manner: segmenting the tracked curve segment according to a preset line segment length, determining the abnormal node vector with the starting point and end point of the segmented line segment, and determining the score of the curve segment according to the direction of the obtained abnormal node vector and the endpoint of the curve segment, and generating a score map according to the scores of all curve segments.
[0040] For example, assuming that the power relay protection parameter is current, if the directions of the abnormal node vectors in the curve segment are consistent, the score can be considered to be 2; if the directions of the abnormal node vectors are inconsistent and there are multiple endpoints, the score is determined according to the size of the endpoint where the direction changes, such as if the current corresponding to the endpoint where the direction changes is 300A, the score is 5; if the current corresponding to the endpoint where the direction changes is 550A, the score is 10; if there are multiple endpoints where the direction changes, the score is determined according to the endpoint with the largest or smallest current.
[0041] Furthermore, according to the position of the second reference image in the target frame image, the score corresponding to the curve segment is marked at the position, and after the scores corresponding to all the curve segments are marked, the scores of the remaining positions are marked as 0, thereby obtaining a target score map.
[0042] In the above steps, the first demarcation region is determined from the target image frame using the score image value, so that the obtained first demarcation region can adapt to different power relay operation parameter image data, avoiding the problem of inaccurate determination of the first demarcation region due to selecting the first demarcation region by a single indicator.
[0043] S120: Determine a target delimited region based on the first delimited region.
[0044] Among them, the target demarcation domain includes: a first target demarcation domain, a second target demarcation domain and a third target demarcation domain. The first target demarcation domain is determined by a score map value corresponding to the first demarcation domain and a first preset weight value. The score map value is used to characterize the scores corresponding to different areas in the target image frame. The second target demarcation domain is determined by a first difference degree and a second preset weight value. The first difference degree characterizes the difference between the first demarcation domain and the preset demarcation domain. The third target demarcation domain is obtained by correcting the first demarcation domain.
[0045] Specifically, according to the comparison between the score map value corresponding to the first delimited domain and the first preset weight value, the first delimited domain that meets the requirements is used as the first target delimited domain, the first delimited domain that does not meet the requirements is verified, the first delimited domain that passes the verification is used as the second target delimited domain, the first delimited domain that fails the verification is corrected, and the corrected first delimited domain is used as the third target delimited domain.
[0046] In the above steps, multiple verification and correction are performed on the first delimited domain, which can accurately and efficiently distinguish simple and complex first delimited domains. Different processing methods are used according to first delimited domains of different complexities to obtain the target delimited domain, which can improve the accuracy of the target delimited domain.
[0047] S130. Extract abnormal node data of target power relay protection operation parameters from the target demarcated domain.
[0048] Specifically, the target power relay protection operation parameters are extracted from the target demarcation domain, and the obtained target power relay protection operation parameters are judged, and the target power relay protection operation parameters greater than a preset threshold are used as abnormal node data of the target power relay protection operation parameters.
[0049] Further, an early warning is issued based on abnormal node data. For example, if the current target power relay protection operation parameter is current, the early warning information is that the power system current is abnormal, and the location information of the target power relay protection operation parameter collection device is given.
[0050] Optionally, determining a first delimited region of a target image frame includes steps A1-A4:
[0051] Step A1: Determine the target power relay protection operation parameter video data generated when the target power system is running.
[0052] Specifically, original power relay protection operation parameter video data generated when the target power system is running is obtained, and the original power relay protection operation parameter video data is preprocessed to obtain target power relay protection operation parameter video data.
[0053] Among them, preprocessing includes: denoising and interception.
[0054] Furthermore, the original power relay protection operation parameter video data is acquired by testing with a power relay protection tester.
[0055] The above steps of preprocessing the video data are because the power relay operation parameters detected by the power relay tester can be the changing parameters of signals such as voltage and current. However, due to the different values of voltage or current, there will be blank spaces in the original power relay operation parameter video obtained. A large amount of blank spaces will increase the amount of calculated data. Therefore, intercepting the original power relay operation parameter video data can effectively reduce the amount of calculation.
[0056] Step A2: determining a target image frame according to target power relay protection operation parameter video data.
[0057] Specifically, an image frame at the current moment is acquired from the target power relay protection operation parameter video data, and the acquired image frame is used as the target image frame.
[0058] Step A3: Generate a target score map according to the target image frame, and obtain the score map value in the target score map.
[0059] Among them, the target score map is used to characterize the changes in the target power relay protection operation parameter information contained in different areas in the target image frame.
[0060] The target image frame is input into the first model, and the first model first segments the target frame image, and uses the segmented image as the first reference image. The first reference image is classified according to the classification algorithm, and the image containing the target power relay operation parameter curve segment in the first reference image is retained, and the image not containing the target power relay operation parameter curve segment is removed, and the classified image is used as the second reference image. The target power relay operation parameter curve segment in the second reference image is tracked by the image recognition tracking algorithm, and the abnormal node vector is determined according to the tracked curve segment, and the target score map is generated according to the direction of the abnormal node vector and the endpoints in the curve segment, and the score map value in the target score map is exported.
[0061] Furthermore, the target score graph is updated every 3 seconds.
[0062] Step A4: taking the area in the target image frame corresponding to the score map value as the first demarcated region.
[0063] Specifically, the area of the target image frame corresponding to the score image value, that is, the area represented by the second reference image, is used as the first delimited region.
[0064] Optionally, determining the target delimited domain based on the first delimited domain includes steps B1-B3:
[0065] Step B1: Compare the score map value corresponding to the first delimited region with the first preset weight value.
[0066] The first preset weight value may be set based on experience or obtained through multiple experiments.
[0067] Step B2: If the score map value corresponding to the first delimited region is greater than a first preset weight value, the first delimited region is used as a first target delimited region.
[0068] Specifically, if the score map value corresponding to the first delimited region is greater than the first preset weight value, it indicates that the first delimited region meets the requirement, and the first delimited region is used as the first target delimited region.
[0069] Step B3: If the score map value corresponding to the first delimited region is less than the first preset weight value, verify the first delimited region.
[0070] Specifically, if the score map value corresponding to the first delimited region is less than the first preset weight value, it indicates that the first delimited region does not meet the requirement, and the first delimited region is verified.
[0071] Optionally, verifying the first delimited domain includes steps C1-C3:
[0072] Step C1: determining a first difference degree according to the first delimited region and the preset delimited region.
[0073] The first difference degree is used to characterize the difference between the first delimited domain and the preset delimited domain.
[0074] The preset demarcation region is the first demarcation region in the initial frame of the target power relay protection operation parameter video data.
[0075] Specifically, the first delimited region and the preset delimited region are input into a first verification model, and the first difference degree is obtained through model calculation.
[0076] Furthermore, the first verification model can be pre-trained based on the historical first demarcation domain, the historical preset demarcation domain, and the reference first difference. Specifically, the historical first demarcation domain, the historical preset demarcation domain, and the reference first difference are input into the first verification model, and the accuracy of the first verification model is determined based on the first difference output by the first verification model and the reference first difference. The first verification model is iteratively trained until the accuracy of the first verification model is greater than or equal to the preset accuracy threshold, and the training of the first verification model is stopped. The trained first verification model is used to determine the first difference based on the input first demarcation domain and the preset demarcation domain.
[0077] Among them, the historical first demarcation domain is determined according to the historical power relay operation parameter video data; and the reference first difference degree is determined according to the difference between the historical first demarcation domain and the historical preset demarcation domain; the historical demarcation domain is the first demarcation domain in the initial frame in the historical power relay operation parameter video data.
[0078] Furthermore, the difference between the historical first demarcation domain and the preset demarcation domain can be determined by the repetition of data in the historical first demarcation domain and data in the preset demarcation domain, that is, the repetition can be determined by the proportion of the same data in the total data; it can also be determined by the proportion of different data in the total data.
[0079] Furthermore, a corresponding score is determined according to the degree of repetition, and the score is used as a reference difference.
[0080] Furthermore, the first verification model may adopt an ant optimization algorithm.
[0081] Step C2: If the first difference is greater than a second preset weight value, the first delimited region is used as a second target delimited region.
[0082] The second preset weight value may be set based on experience or obtained through multiple experiments.
[0083] Specifically, the calculated first difference is compared with a preset weight value, and if the first difference is greater than a second preset weight value, the first delimited region is used as the second target delimited region.
[0084] Step C3: If the first difference is less than the second preset weight value, correct the first delimited region.
[0085] Specifically, the calculated first difference is compared with a preset weight value, and if the first difference is smaller than a second preset weight value, the first delimited region is corrected.
[0086] Optionally, the first delimited region is corrected, including steps D1-D3:
[0087] Step D1, obtaining a second delimited domain.
[0088] The second delimited region is a region representing the first delimited region in the image frame at a moment before the target image frame.
[0089] An area representing the first delimited region in the image frame corresponding to the target image frame at a previous moment is selected as the second delimited region.
[0090] Step D2: determining a first reference delimited domain according to the first delimited domain and the second delimited domain.
[0091] The first reference delimited domain is a region redefined based on the first delimited domain and the second delimited domain.
[0092] Specifically, the coordinates of the center points of the first delimited region and the second delimited region are selected, and the first reference delimited region is delimited according to the coordinates of the center points of the first delimited region and the second delimited region.
[0093] Step D3: determining a third target delimited region according to the first reference delimited region.
[0094] Specifically, a horizontal straight line is drawn on the plane where the first reference delimitation is located, feature points on the first reference delimitation domain that make an angle of a preset angle with the horizontal straight line are selected, a second reference delimitation domain is determined according to the feature points, and a delimitation domain in the second reference delimitation domain that has the largest difference from the preset delimitation domain is taken as the third target delimitation domain.
[0095] Optionally, determining the first reference delimited domain according to the first delimited domain and the second delimited domain comprises steps E1-E3:
[0096] Step E1, determining the coordinates of the center point of the first delimited area and the coordinates of the center point of the second delimited area.
[0097] Specifically, the coordinates of the center point of the first delimited area are determined according to the regional characteristics of the first delimited area; and the coordinates of the center point of the second delimited area are determined according to the regional characteristics of the second delimited area.
[0098] For example, if the first delimited area is a square area, the coordinates of the center point are the intersection of the diagonal lines, and if the first delimited area is a circle, the coordinates of the center point are the center of the circle. The coordinates of the center point of the second delimited area are determined in the same way.
[0099] Step E2: Connect the center point coordinates of the first delimited region and the center point coordinates of the second delimited region to obtain a target line segment.
[0100] Specifically, the center point coordinates of the two areas are connected, and the connected line segment is used as the target line segment.
[0101] Step E3: taking the center of the target line segment as the center of the circle and the preset distance as the radius as the first reference delimited area.
[0102] The preset distance is half of the length of the target line segment.
[0103] Specifically, the length of the target line segment is obtained, half of the length of the target line segment is used as the radius, the center of the target line segment is used as the center of the circle, and the obtained circle is used as the first reference delimiting domain.
[0104] Optionally, determining the third target delimited region according to the first reference delimited region includes steps F1-F3:
[0105] Step F1: determining a feature point according to a first reference delimited region and a preset angle, and determining a second reference delimited region according to the feature point.
[0106] The preset angle is the angle between the first target area and the preset straight line, the preset straight line is any directional straight line in the coordinate system, and the coordinate system is established according to the first reference delimiting domain.
[0107] Exemplarily, the preset angle may be 0°, 90°, 180°, or 270°.
[0108] Specifically, a coordinate system is drawn with the center of the first reference delimited domain as the origin, a preset straight line is determined in the obtained coordinate system, the preset straight line is any straight line with a direction in the coordinate system, and a point on the first reference delimited domain that is at a preset angle to the preset straight line is taken as a feature point, and the second reference delimited domain is determined according to the preset delimited range and the feature point.
[0109] Exemplarily, a coordinate system is drawn with the center of the circle of the first reference delimited domain as the origin, a straight line parallel to the x-axis and in the same direction as the x-axis is selected from the coordinate system as the preset straight line, rays are drawn with the center of the circle as the starting point and the points on the circle as the end points, the obtained rays are extended until they intersect with the preset straight line, the angle between the two lines is obtained, the angle is compared with the preset angle, the end point of the ray corresponding to the same angle as the preset angle is taken as the feature point, and the second reference delimited domain is delineated with the feature point as the center of the circle and the preset delimited range as the radius.
[0110] Step F2: Determine a second difference according to a second reference delimited region.
[0111] The second difference degree is used to characterize the difference between the second reference delimited domain and the preset delimited domain.
[0112] Specifically, the second reference delimited domain and the preset delimited domain are input into the second verification model, and the second difference degree is obtained through calculation.
[0113] Furthermore, the second verification model can be pre-trained based on the historical second reference demarcation domain, the historical preset demarcation domain, and the reference second difference. Specifically, the historical second reference demarcation domain, the historical preset demarcation domain, and the reference second difference are input into the second verification model, and the accuracy of the second verification model is determined based on the first difference output by the second verification model and the reference second difference. The second verification model is iteratively trained until the accuracy of the second verification model is greater than or equal to the preset accuracy threshold, and the training of the second verification model is stopped. The trained second verification model is used to determine the second difference based on the input second reference demarcation domain and the preset demarcation domain.
[0114] Step F3: Determine a third target delimited region according to the second difference.
[0115] Specifically, the second reference delimited region corresponding to the maximum value in the acquired second difference degree is used as the third target delimited region.
[0116] The technical solution of this embodiment determines the first demarcation domain of the target image frame, which can retain the details in the target image frame and provide a basis for subsequent abnormal node data; determines the target demarcation domain based on the first demarcation domain, and adopts different processing methods to determine the target demarcation domain, which can improve the accuracy of the target demarcation domain; extracts the abnormal node data of the target power relay operation parameters from the target demarcation domain, which can improve the accuracy of abnormal data determination. This method can process the power relay operation parameter image data generated by different power system distribution equipment, avoiding the problem of inaccurate abnormal node data caused by a single evaluation index. At the same time, processing directly based on the image data can avoid the impact of fluctuations in the operating status of the power system distribution equipment.
[0117] Figure 2The present invention provides a schematic diagram of the structure of a power relay operation parameter determination device. This embodiment can be applied to the case of extracting abnormal node data from power relay operation parameter video data. The power relay operation parameter determination device can be implemented in the form of hardware and / or software. The power relay operation parameter determination device can be configured in any electronic device with network communication function. Figure 2 As shown, the device includes: a first demarcation domain determination module 210, a target demarcation domain determination module 220 and an abnormal node data extraction module 230, wherein:
[0118] The first delimited domain determining module 210 is used to determine the first delimited domain of the target image frame, the first delimited domain is the area where the target power relay protection operation parameter abnormal node in the target image frame is located in the target image frame, and the target image frame is an image of the target power relay protection operation parameter generated at the current moment when the target power system is running;
[0119] The target demarcation domain determination module 220 is used to determine the target demarcation domain based on the first demarcation domain, and the target demarcation domain includes: a first target demarcation domain, a second target demarcation domain and a third target demarcation domain. The first target demarcation domain is determined by a score map value corresponding to the first demarcation domain and a first preset weight value. The score map value is used to represent the scores corresponding to different regions in the target image frame. The second target demarcation domain is determined by a first difference degree and a second preset weight value. The first difference degree represents the difference between the first demarcation domain and the preset demarcation domain. The third target demarcation domain is obtained by correcting the first demarcation domain.
[0120] The abnormal node data extraction module 230 is used to extract the abnormal node data of the target power relay protection operation parameters from the target demarcated domain.
[0121] Optionally, the first delimited domain determining module 210 includes:
[0122] Data determination submodule: used to determine the target power relay protection operation parameter video data generated when the target power system is running;
[0123] Target image frame determination submodule: used to determine the target image frame according to the target power relay protection operation parameter video data;
[0124] Score map value determination submodule: used to generate a target score map according to the target image frame and obtain the score map value in the target score map, the target score map is used to characterize the changes in the target power relay protection operation parameter information contained in different areas in the target image frame;
[0125] The first delimited region determining submodule is configured to use the region in the target image frame corresponding to the score map value as the first delimited region.
[0126] Optionally, the target delimited domain determination module 220 includes:
[0127] Comparison submodule: used to compare the score map value corresponding to the first delimited region with the first preset weight value;
[0128] A first target delimited domain determination submodule is used to use the first delimited domain as the first target delimited domain if the score map value corresponding to the first delimited domain is greater than a first preset weight value;
[0129] Verification submodule: used for verifying the first delimited domain if the score map value corresponding to the first delimited domain is less than the first preset weight value.
[0130] Optional, verification submodule, including:
[0131] A first difference determination unit: configured to determine a first difference according to the first delimited domain and the preset delimited domain, wherein the first difference is used to characterize the difference between the first delimited domain and the preset delimited domain;
[0132] A second target delimited region determining unit: configured to use the first delimited region as the second target delimited region if the first difference is greater than a second preset weight value;
[0133] A correction unit is configured to correct the first delimited region if the first difference is smaller than a second preset weight value.
[0134] Optionally, a calibration unit comprising:
[0135] A second delimited region acquisition subunit: used to acquire a second delimited region, where the second delimited region is a region representing the first delimited region in an image frame at a moment before the target image frame;
[0136] A first reference delimited domain determining subunit: configured to determine a first reference delimited domain according to the first delimited domain and the second delimited domain, wherein the first reference delimited domain is a region redefined according to the first delimited domain and the second delimited domain;
[0137] The target delimited region determining subunit is configured to determine a third target delimited region according to the first reference delimited region.
[0138] Optionally, the first reference delimited domain determining subunit is specifically configured to:
[0139] Determine the coordinates of the center point of the first delimited domain and the coordinates of the center point of the second delimited domain;
[0140] Connect the coordinates of the center point of the first delimited domain and the coordinates of the center point of the second delimited domain to obtain a target line segment;
[0141] An area demarcated with the center of the target line segment as the center and a preset distance as the radius is used as the first reference demarcation area, and the preset distance is half the length of the target line segment.
[0142] Optionally, the target delimiting domain determining subunit is specifically used for:
[0143] Determine a feature point according to the first reference delimiting domain and a preset angle, and determine a second reference delimiting domain according to the feature point, the preset angle is an angle between the first target area and a preset straight line, the preset straight line is any straight line with a direction in a coordinate system, and the coordinate system is established according to the first reference delimiting domain;
[0144] Determine a second difference degree according to the second reference delimited domain, the second difference degree is used to characterize the difference between the second reference delimited domain and the preset delimited domain;
[0145] A third target delimited region is determined according to the second difference.
[0146] The electric power relay protection operation parameter determination device provided in the embodiment of the present invention can execute the electric power relay protection operation parameter determination method provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the electric power relay protection operation parameter determination method. For the detailed process, please refer to the relevant operations of the electric power relay protection operation parameter determination method in the aforementioned embodiment.
[0147] Figure 3 A schematic diagram of the structure of an electronic device for implementing a method for determining the operating parameters of power relay protection according to an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0148] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0149] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0150] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining power relay operation parameters.
[0151] In some embodiments, the method for determining the power relay operation parameters may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the power relay operation parameters described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for determining the power relay operation parameters in any other appropriate manner (e.g., by means of firmware).
[0152] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0153] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0154] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0155] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0156] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0157] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0158] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0159] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining power relay operation parameters, characterized in that: include: Determine a first delimited region of a target image frame, wherein the first delimited region is a region in the target image frame where a target power relay protection operation parameter abnormal node is located, and the target image frame is an image of a target power relay protection operation parameter generated at the current moment when a target power system is operating; Determine a target delimited domain based on the first delimited domain, the target delimited domain includes: a first target delimited domain, a second target delimited domain and a third target delimited domain, the first target delimited domain is determined by a score map value corresponding to the first delimited domain and a first preset weight value, the score map value is used to represent the scores corresponding to different regions in the target image frame, the second target delimited domain is determined by a first difference degree and a second preset weight value, the first difference degree represents the difference between the first delimited domain and the preset delimited domain, and the third target delimited domain is obtained by correcting the first delimited domain; Abnormal node data of target power relay protection operation parameters are extracted from the target demarcated domain.
2. The method according to claim 1, characterized in that The step of determining a first delimited region of the target image frame includes: Determine the target power relay protection operation parameter video data generated when the target power system is running; Determining the target image frame according to the target power relay protection operation parameter video data; Generating a target score map according to the target image frame, and obtaining a score map value in the target score map, wherein the target score map is used to characterize changes in target power relay protection operation parameter information contained in different areas in the target image frame; An area in the target image frame corresponding to the score map value is used as a first delimited region.
3. The method according to claim 1, characterized in that The determining a target delimited region based on the first delimited region includes: Comparing the score map value corresponding to the first delimited region with a first preset weight value; If the score map value corresponding to the first delimited region is greater than a first preset weight value, taking the first delimited region as a first target delimited region; If the score map value corresponding to the first delimited region is less than a first preset weight value, the first delimited region is verified.
4. The method according to claim 3, characterized in that The verifying the first delimited domain includes: Determining a first difference degree according to the first delimited domain and the preset delimited domain, wherein the first difference degree is used to characterize the difference between the first delimited domain and the preset delimited domain; If the first difference is greater than a second preset weight value, taking the first delimited region as a second target delimited region; If the first difference is smaller than a second preset weight value, the first delimited region is corrected.
5. The method according to claim 4, characterized in that The correcting the first delimited domain includes: Acquire a second delimited region, where the second delimited region is a region representing the first delimited region in an image frame at a moment before the target image frame; Determine a first reference delimited area according to the first delimited area and the second delimited area, wherein the first reference delimited area is an area redefined according to the first delimited area and the second delimited area; A third target delimited domain is determined according to the first reference delimited domain.
6. The method according to claim 5, characterized in that Determining a first reference delimited domain according to the first delimited domain and the second delimited domain includes: Determine the coordinates of the center point of the first delimited domain and the coordinates of the center point of the second delimited domain; Connecting the coordinates of the center point of the first delimited region and the coordinates of the center point of the second delimited region to obtain a target line segment; An area demarcated with the center of the target line segment as the center of the circle and a preset distance as the radius is used as the first reference demarcation area, where the preset distance is half the length of the target line segment.
7. The method according to claim 5, characterized in that The determining a third target delimited region according to the first reference delimited region comprises: Determine a feature point according to a first reference delimiting domain and a preset angle, and determine a second reference delimiting domain according to the feature point, wherein the preset angle is an angle between the first target area and a preset straight line, and the preset straight line is any straight line with a direction in a coordinate system, and the coordinate system is established according to the first reference delimiting domain; Determining a second difference degree according to the second reference delimited domain, where the second difference degree is used to characterize the difference between the second reference delimited domain and the preset delimited domain; A third target delimited region is determined according to the second difference.
8. A device for determining power relay operation parameters, characterized in that: include: A first delimited domain determination module is used to determine a first delimited domain of a target image frame, wherein the first delimited domain is an area where a target power relay protection operation parameter abnormal node in the target image frame is located in the target image frame, and the target image frame is an image of a target power relay protection operation parameter generated at the current moment when a target power system is running; a target demarcation domain determination module, configured to determine a target demarcation domain based on the first demarcation domain, wherein the target demarcation domain includes: a first target demarcation domain, a second target demarcation domain, and a third target demarcation domain, wherein the first target demarcation domain is determined by a score map value corresponding to the first demarcation domain and a first preset weight value, wherein the score map value is used to represent the scores corresponding to different regions in the target image frame, wherein the second target demarcation domain is determined by a first difference degree and a second preset weight value, wherein the first difference degree represents the difference between the first demarcation domain and the preset demarcation domain, and wherein the third target demarcation domain is obtained by correcting the first demarcation domain; The abnormal node data extraction module is used to extract the abnormal node data of the target power relay protection operation parameters from the target demarcated domain.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the electric power relay operation parameters according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the operating parameters of electric power relays according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Relay protection device image identification method and system based on artificial intelligence
CN111428987A
Relay protection device panel and screen content automatic recognition method
CN111738254A
Visual perception protection function and loop pressing plate state distinguishing method
CN112381804A
